/* Current Portal: normal device-scale layouts, loaded after the legacy theme. */
body.portal-responsive { -webkit-text-size-adjust:100%; }
.portal-responsive .compass-content > .grid-frame { height:100vh; height:100dvh; }
.portal-responsive .compass-content > .grid-frame > .cell.auto { min-height:0; min-width:0; }
.portal-responsive ng-view { display:block; height:100%; min-width:0; }
.portal-responsive a:focus-visible, .portal-responsive button:focus-visible, .portal-responsive input:focus-visible { outline:3px solid #3f708c; outline-offset:3px; }
.portal-responsive .portal-header { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:10px 20px; background:#fff; border-bottom:1px solid #dce2e8; }
.portal-responsive .portal-home-link { display:flex; align-items:center; gap:10px; min-height:44px; color:#253548; font-size:17px; font-weight:600; }
.portal-responsive .portal-home-link img { width:36px; height:36px; }
.portal-responsive .portal-logout { margin:0; min-height:44px; padding:10px 16px; border:1px solid #cad6df; border-radius:7px; background:#fff; color:#253548; font-size:15px; }
.portal-responsive .home-container { overflow:auto; }
.portal-responsive .home-container .home { height:auto; min-height:100%; padding:24px 16px; }
.portal-responsive .home-container .home > .compass-block { height:auto; justify-content:center; }
.portal-responsive .home-container .home > .compass-block > .cell { width:100%; max-width:480px; height:auto; }
.portal-responsive .home-container .home .home-login-container { height:auto; }
.portal-responsive .home-container .home .home-login-container .home-login { height:auto; overflow:visible; padding:28px; border:1px solid #dce2e8; border-radius:12px; background:#fff; }
.portal-responsive .home-container .home .home-login .logo-container { margin:0 0 24px; }
.portal-responsive .home-container .home .home-login .logo-container img { width:100%; max-width:270px; }
.portal-responsive .home-container .home .home-login .home-login-form-container { padding:0; }
.portal-responsive .home-container .home-login-form-container .input-container { padding:12px; min-width:0; border-radius:6px; }
.portal-responsive .home-container .home-login-form-container label { font-size:15px; padding:0; margin:0; text-align:left; }
.portal-responsive .home-container .home-login-form-container input.form-input { height:44px; min-height:44px; text-indent:0; width:100%; font-size:16px !important; padding:8px 0 !important; }
.portal-responsive .home-container .home-login-form-container .submit-button { min-height:48px; margin:12px 0 0; padding:12px 20px !important; font-size:16px !important; border-radius:6px; }
.portal-responsive .home-container .home-login-form-container .company-remember-me-select-button { width:28px; height:28px; margin:12px 8px 0 0; }
.portal-responsive .home-container .home-login-form-container .company-remember-me-label { font-size:14px; padding-top:12px; }
.portal-responsive .terms-and-conditions-qr-code-container { padding:24px 0 !important; max-width:480px; margin:0 auto; }
.portal-responsive .terms-and-conditions-qr-code-container h4 { font-size:18px; }
.portal-responsive .terms-and-conditions-qr-code-container h6, .portal-responsive .terms-and-conditions-qr-code-container p { font-size:14px; line-height:1.5; overflow-wrap:anywhere; }
.portal-responsive .terms-and-conditions-qr-code-container img { width:104px; max-width:100%; padding:0; margin:8px; }
.portal-responsive .two-step-container { overflow:auto; padding:24px 16px; }
.portal-responsive .two-step-container .two-step { position:static; transform:none; height:auto; max-width:560px; padding:28px; border-radius:12px; }
.portal-responsive .two-step-container .two-step .logo-container img { max-width:240px; width:100%; }
.portal-responsive .two-step-container .two-step h1 { font-size:24px; padding:0; }
.portal-responsive .two-step-container .two-step h4, .portal-responsive .two-step-container .two-step h6 { font-size:16px; line-height:1.5; }
.portal-responsive .two-step-container .two-step h4 br { display:none; }
.portal-responsive .two-step-container .two-step-verification-form { padding:16px 0 0; }
.portal-responsive .two-step-container .two-step-verification-code { display:flex; gap:6px; padding:0 0 16px; }
.portal-responsive .two-step-container .two-step-verification-code .input-container { width:0; min-width:0; flex:1; padding:0; }
.portal-responsive .two-step-container .two-step-verification-code .verification-input { height:54px; padding:8px 0 !important; font-size:24px !important; border-radius:6px; }
.portal-responsive .two-step-container .two-step-verification-form .text-right { display:flex; flex-wrap:wrap; gap:8px; padding:12px 0; }
.portal-responsive .two-step-container .two-step-verification-form .text-right .button { flex:1 1 auto; width:auto; min-height:44px; font-size:16px; padding:12px !important; margin:0; border-radius:6px; }
.portal-responsive .two-step-container .two-step-verification-send-phone-form { padding:20px 0; }
.portal-responsive .dashboard-container .dashboard { max-width:1000px; margin:auto; padding:28px 20px; }
.portal-responsive .dashboard-container .dashboard .dashboard-title-container { padding:0; }
.portal-responsive .dashboard-container .dashboard .dashboard-title-container h1 { padding:0; font-size:26px; line-height:1.3; overflow-wrap:anywhere; }
.portal-responsive .dashboard-container .dashboard .dashboard-title-container h4 { margin-top:8px; font-size:16px; line-height:1.5; }
.portal-responsive .dashboard-container .dashboard .dashboard-title-container h6 { margin:12px 0 0; font-size:16px; line-height:1.5; text-transform:none; letter-spacing:normal; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container { padding:24px 0 0; }
.portal-responsive .dashboard-container .dashboard .dashboard-list { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-item { width:auto; min-width:0; margin:0; padding:0; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content { height:100%; border-radius:10px; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content .dashboard-list-item-content-link { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; height:100%; min-height:150px; padding:24px 12px !important; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content .dashboard-list-item-content-link br { display:none; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content .dashboard-list-item-content-link span { display:block; padding:0 !important; font-size:38px !important; line-height:1; }
.portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content .dashboard-list-item-content-link h6 { padding:0; margin:0; font-size:16px !important; white-space:normal; text-transform:none; letter-spacing:normal; line-height:1.3; color:#253548; }
.portal-responsive .estimates-container .estimates .portal-estimate-approval-status { margin:12px 0 0; padding:12px; background:#eef5e9; color:#2e5428; border-radius:6px; font-size:15px; line-height:1.45; }
.portal-responsive .estimates-container .estimates .estimates-search-form-container > .grid-x { display:grid; grid-template-columns:auto minmax(0,1fr) minmax(0,1fr); gap:10px; margin:0; }
.portal-responsive .estimates-container .estimates .estimates-search-form-container .cell { width:auto; min-width:0; margin:0; }
.portal-responsive .estimates-container .estimates .estimates-search-form-container .button { min-height:44px; padding:12px; margin:0; border-radius:6px; font-size:15px; }
.portal-responsive .estimates-container .estimates .sort-input { display:block; min-width:0; border-radius:6px; }
.portal-responsive .estimates-container .estimates .sort-input .selectize-input { min-height:44px; padding:12px 22px 10px 10px !important; font-size:14px; }
.portal-responsive .estimates-container .estimates .sort-input .selectize-input:after { right:8px; top:50% !important; }
.portal-responsive .estimates-container .estimates .sort-input .selectize-input input { width:1px !important; min-width:0 !important; }
.portal-responsive .estimates-container .estimates .estimates-search-input-container { padding:12px 20px; }
.portal-responsive .estimates-container .estimates .estimates-search-input { font-size:16px; min-height:44px; }
.portal-responsive #estimatePaymentPageReveal { overflow:auto; top:12px !important; transform:none; height:calc(100vh - 24px); height:calc(100dvh - 24px); min-height:0; margin-bottom:12px; }
.portal-responsive #estimatePaymentPageReveal .estimate-payment-page-reveal-iframe { height:calc(100vh - 180px); height:calc(100dvh - 180px); min-height:280px; }
@media(max-width:700px) {
 .portal-responsive .portal-header { padding:8px 16px; }
 .portal-responsive .home-container .home { padding:16px 12px; }
 .portal-responsive .home-container .home .home-login-container .home-login { padding:24px 18px; }
 .portal-responsive .home-container .home-login-form-container #rememberCompanyForm > .grid-container > .grid-x:last-child { gap:8px; }
 .portal-responsive .home-container .home-login-form-container #rememberCompanyForm > .grid-container > .grid-x:last-child > .cell.shrink { width:100%; }
 .portal-responsive .home-container .home-login-form-container .submit-button { width:100%; }
 .portal-responsive .two-step-container .two-step { padding:24px 16px; }
 .portal-responsive .dashboard-container .dashboard { padding:24px 16px; }
 .portal-responsive .dashboard-container .dashboard .dashboard-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
 .portal-responsive .dashboard-container .dashboard .dashboard-list-container .dashboard-list .dashboard-list-item .dashboard-list-item-content .dashboard-list-item-content-link { min-height:132px; padding:20px 8px !important; }
 .portal-responsive .dashboard-container .dashboard .dashboard-title-container h1 { font-size:24px; }
 .portal-responsive .estimates-container .estimates .estimates-search-form-container { padding:12px 16px !important; }
 .portal-responsive .estimates-container .estimates .estimates-search-input-container { padding:8px 16px; }
}
