.phone-rotate-gate{display:none}
@media screen{html.phoneDevice{-webkit-text-size-adjust:100%;text-size-adjust:100%;font-size:14px}html.phoneDevice body{font-size:13px}html.phoneDevice button{white-space:nowrap}html.phoneDevice.phonePortrait body{overflow:hidden!important;height:100dvh}html.phoneDevice.phonePortrait body>:not(.phone-rotate-gate){display:none!important}html.phoneDevice.phonePortrait .phone-rotate-gate{display:grid;position:fixed;inset:0;z-index:2147483647;place-content:center;justify-items:center;box-sizing:border-box;padding:28px;background:#f5f2ea;color:#183e34;text-align:center;font-family:Arial,'Microsoft JhengHei',sans-serif}html.phoneDevice .phone-rotate-gate span{font-size:64px;line-height:1.2}html.phoneDevice .phone-rotate-gate strong{font-size:22px}html.phoneDevice .phone-rotate-gate p{font-size:14px;line-height:1.7;max-width:300px}html.phoneDevice .top{position:static;height:auto;min-height:52px;box-sizing:border-box;padding:6px 12px;gap:8px}html.phoneDevice .header-row{gap:8px;flex-wrap:wrap;min-width:0}html.phoneDevice .top-logo{height:36px;max-width:110px;flex-shrink:0}html.phoneDevice .top b{font-size:17px;white-space:nowrap;flex-shrink:0}html.phoneDevice .user-box{width:auto;gap:7px;margin-left:auto;font-size:12px;flex-wrap:wrap}html.phoneDevice .user,html.phoneDevice .user strong{font-size:12px;white-space:nowrap}html.phoneDevice .sync-status{padding:5px 7px;white-space:nowrap;font-size:11px;flex-shrink:0}html.phoneDevice .top-action{font-size:12px;padding:7px 9px;flex-shrink:0}html.phoneDevice .gear-action{width:32px;height:32px}html.phoneDevice .app-layout{grid-template-columns:1fr}html.phoneDevice .side-nav{display:flex;overflow-x:auto;gap:6px;padding:7px 12px;border:0}html.phoneDevice .nav-button{width:auto;min-width:max-content;min-height:34px;padding:7px 10px;margin:0;font-size:13px}html.phoneDevice .nav-count{font-size:11px}html.phoneDevice .shell{padding:12px}html.phoneDevice .panel{padding:12px}html.phoneDevice .overview h2,html.phoneDevice .sales-summary h2,html.phoneDevice #masterHeading{font-size:20px;margin:0 0 10px}html.phoneDevice .dashboard-section h2{font-size:18px}html.phoneDevice .cards,html.phoneDevice .sales-summary .cards{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}html.phoneDevice .overview>.cards{grid-template-columns:repeat(4,minmax(0,1fr))}html.phoneDevice .summary-card{padding:12px;border-radius:12px;min-width:0}html.phoneDevice .summary-card span{font-size:13px;white-space:normal;line-height:1.5}html.phoneDevice .summary-card strong{font-size:27px;margin-top:7px}html.phoneDevice .toolbar{flex-wrap:wrap;gap:7px}html.phoneDevice .toolbar .search{min-width:190px;flex:1}html.phoneDevice .tool-btn,html.phoneDevice .crm-tab{font-size:12px;padding:7px 9px}html.phoneDevice .source-grid,html.phoneDevice .personnel-grid,html.phoneDevice .analytics-grid{grid-template-columns:1fr}html.phoneDevice .table-wrap,html.phoneDevice .sales-mode #masterView .table-wrap,html.phoneDevice #masterView.blacklist-view .table-wrap,html.phoneDevice #masterView.abandoned-view .table-wrap{overflow:auto;-webkit-overflow-scrolling:touch}html.phoneDevice .sales-mode #masterView table,html.phoneDevice #masterView.blacklist-view table,html.phoneDevice #masterView.abandoned-view table{min-width:1100px;table-layout:auto;width:100%}html.phoneDevice .sales-mode #masterView th,html.phoneDevice .sales-mode #masterView td,html.phoneDevice #masterView.blacklist-view th,html.phoneDevice #masterView.blacklist-view td,html.phoneDevice #masterView.abandoned-view th,html.phoneDevice #masterView.abandoned-view td{font-size:12px;padding:7px 8px;white-space:nowrap;overflow:visible;text-overflow:clip;width:auto;max-width:none}html.phoneDevice .sales-mode #masterView .date-col,html.phoneDevice .sales-mode #masterView .phone-col{min-width:105px}html.phoneDevice .sales-mode #masterView .lead-area-col{min-width:75px}html.phoneDevice .sales-mode #masterView .lead-age-col,html.phoneDevice .sales-mode #masterView .status-col{min-width:90px}html.phoneDevice .sales-mode #masterView .category-col{min-width:140px}html.phoneDevice .sales-mode #masterView .last-contact-col{min-width:145px}html.phoneDevice .sales-mode #masterView .lead-contact-col{min-width:180px;max-width:300px;white-space:normal}html.phoneDevice .contact-cell,html.phoneDevice .ad-source-col,html.phoneDevice .vendor-col{white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}html.phoneDevice .sales-mode #masterView select{width:100%;font-size:12px;padding:5px;min-height:34px;height:34px}html.phoneDevice .dashboard-table th,html.phoneDevice .dashboard-table td{font-size:12px;white-space:nowrap}html.phoneDevice .dashboard-table{min-width:700px}html.phoneDevice input,html.phoneDevice select,html.phoneDevice textarea{font-size:13px}html.phoneDevice .login-card input,html.phoneDevice .login-card select{font-size:16px;min-height:40px}html.phoneDevice .login{padding:16px}html.phoneDevice .login-card{padding:18px 22px;max-width:460px}html.phoneDevice .detail-overlay,html.phoneDevice .settings-modal-overlay{padding:8px}html.phoneDevice .detail-card,html.phoneDevice .settings-modal-card{max-height:92dvh;overflow:auto;padding:16px}html.phoneDevice .detail-grid,html.phoneDevice .detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media screen{html.phoneDevice .table-wrap{max-width:100%;min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}html.phoneDevice .layout,html.phoneDevice .shell,html.phoneDevice .view,html.phoneDevice .panel,html.phoneDevice .dashboard-section{min-width:0;max-width:100%;box-sizing:border-box}html.phoneDevice .user{font-size:12px;white-space:normal;overflow-wrap:anywhere}}
