.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 .topbar{height:auto;min-height:52px;box-sizing:border-box;padding:6px 12px;gap:8px;flex-wrap:wrap}html.phoneDevice .topbar button{font-size:12px;padding:7px 9px;height:32px;min-height:32px;line-height:16px;box-sizing:border-box}html.phoneDevice .wordmark{font-size:17px;white-space:nowrap}html.phoneDevice .top-user{font-size:12px;white-space:nowrap}html.phoneDevice .main-content,html.phoneDevice .client-main{padding:16px}html.phoneDevice .page-heading h1,html.phoneDevice .client-section-heading h2{font-size:22px}html.phoneDevice .page-heading{gap:12px;flex-wrap:wrap}html.phoneDevice .primary-action{font-size:12px}html.phoneDevice .stats-grid,html.phoneDevice .module-grid,html.phoneDevice .client-module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html.phoneDevice .stat-card,html.phoneDevice .module-card,html.phoneDevice .client-module-card{padding:16px;min-width:0;overflow-wrap:anywhere}html.phoneDevice .client-module-card{min-height:190px}html.phoneDevice .client-module-card h3{font-size:17px}html.phoneDevice .client-module-card p{font-size:12px}html.phoneDevice .project-hero{min-height:190px;padding:20px}html.phoneDevice .project-hero h1{font-size:26px}html.phoneDevice .project-nav button{font-size:12px;white-space:nowrap}html.phoneDevice .client-sidebar{padding:10px 14px}html.phoneDevice .modal{padding:8px}html.phoneDevice .modal-card>header,html.phoneDevice #modalBody{padding:14px}html.phoneDevice .modal-card h2{font-size:18px}html.phoneDevice .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}html.phoneDevice .table-wrap{overflow:auto}html.phoneDevice .authorization-table,html.phoneDevice .quote-table{min-width:1050px}html.phoneDevice .authorization-table th,html.phoneDevice .authorization-table td,html.phoneDevice .quote-table th,html.phoneDevice .quote-table td{font-size:12px;overflow-wrap:normal}html.phoneDevice .login-view{grid-template-columns:1fr;height:auto;min-height:100dvh}html.phoneDevice .brand-panel{display:none}html.phoneDevice .login-panel{padding:12px}html.phoneDevice .login-card{padding:18px 24px}html.phoneDevice .login-card h1{font-size:24px}}

@media screen{html.phoneDevice .wordmark small{display:none}html.phoneDevice .top-actions{gap:7px;flex-wrap:wrap}html.phoneDevice .client-main,html.phoneDevice .main-content{min-width:0}}
