@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.00az9qtie3ho1.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.3j-a226dh71aj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.2gwoz23eiro2t.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0i3h3th1vs4m7.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.0zr6hhvz-h9nw.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_2ae47f08-module__h69qWW__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_2ae47f08-module__h69qWW__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.27spqqad3wyeo.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.3f4zuumv8svu0.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.34r5yzckw0h2s.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.2jyz_zw3a8jit.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.30bdpjkrtcces.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.1v5bejj26fx9h.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_eb58308d-module__w_p2Lq__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_eb58308d-module__w_p2Lq__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
*{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}body{color:#171717;background:#f5f5f5;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;display:flex}.sidebar{color:#fff;background:#111;flex-direction:column;width:240px;min-height:100vh;display:flex;position:fixed;top:0;bottom:0;left:0}.sidebar-logo{border-bottom:1px solid #292929;padding:28px 24px 30px}.brand-name{letter-spacing:2px;font-size:25px;font-weight:800}.brand-subtitle{letter-spacing:4px;opacity:.65;margin-top:3px;font-size:11px;font-weight:600}.sidebar-nav{flex-direction:column;gap:4px;padding:20px 12px;display:flex}.nav-item{color:#bcbcbc;border-radius:7px;padding:13px 14px;font-size:14px;font-weight:600;transition:all .15s}.nav-item:hover{color:#fff;background:#202020}.nav-item.active{color:#111;background:#fff}.sidebar-footer{border-top:1px solid #292929;margin-top:auto;padding:20px 24px}.admin-label{letter-spacing:2px;color:#888;margin-bottom:9px;font-size:10px;font-weight:700}.system-status{color:#aaa;align-items:center;gap:7px;font-size:12px;display:flex}.status-dot{background:#62c370;border-radius:50%;width:7px;height:7px}.main-content{width:calc(100% - 240px);min-height:100vh;margin-left:240px}.topbar{background:#fff;border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;height:88px;padding:0 36px;display:flex}.page-kicker,.card-kicker{letter-spacing:2px;color:#888;font-size:10px;font-weight:800}.topbar h1{margin:5px 0 0;font-size:25px;line-height:1}.admin-badge{letter-spacing:1px;border:1px solid #ddd;border-radius:5px;padding:7px 10px;font-size:10px;font-weight:800}.dashboard-content{max-width:1500px;padding:34px 36px 50px}.welcome-section{margin-bottom:25px}.welcome-section h2{margin:0 0 7px;font-size:20px}.welcome-section p{color:#777;margin:0;font-size:13px}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:20px;display:grid}.stat-card{background:#fff;border:1px solid #e4e4e4;border-radius:9px;padding:20px}.stat-label{letter-spacing:1.4px;color:#777;font-size:10px;font-weight:800}.stat-value{margin:10px 0 5px;font-size:30px;font-weight:700}.stat-description{color:#999;font-size:11px}.dashboard-grid{grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px;display:grid}.dashboard-card{background:#fff;border:1px solid #e4e4e4;border-radius:9px;padding:24px}.card-header{margin-bottom:20px}.card-header h3,.dashboard-card h3{margin:5px 0 0;font-size:17px}.sales-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.sales-grid div{border-top:1px solid #eee;padding-top:12px}.sales-grid span,.action-list span{color:#777;margin-bottom:5px;font-size:12px;display:block}.sales-grid strong{font-size:18px}.action-list{flex-direction:column;display:flex}.action-list div{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:12px 0;display:flex}.action-list div:last-child{border-bottom:none}.action-list strong{font-size:16px}.empty-card{min-height:150px}.empty-card p{color:#888;font-size:13px}@media (max-width:900px){.sidebar{width:200px}.main-content{width:calc(100% - 200px);margin-left:200px}.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}}.products-page{max-width:1500px;padding:34px 36px 50px}.products-header{justify-content:space-between;align-items:flex-start;margin-bottom:25px;display:flex}.products-header h1{margin:6px 0 8px;font-size:25px}.products-header p{color:#777;margin:0;font-size:13px}.primary-button,.secondary-button{cursor:pointer;border:none;border-radius:6px;padding:11px 16px;font-size:12px;font-weight:700}.primary-button{color:#fff;background:#111}.primary-button:hover{background:#2a2a2a}.primary-button:disabled{opacity:.55;cursor:not-allowed}.secondary-button{color:#222;background:#eee}.form-card,.table-card{background:#fff;border:1px solid #e4e4e4;border-radius:9px;margin-bottom:20px;padding:24px}.form-card h2,.table-card h2{margin:5px 0 20px;font-size:17px}.form-field{flex-direction:column;gap:7px;display:flex}.form-field label{color:#555;font-size:11px;font-weight:700}.form-field input{border:1px solid #d8d8d8;border-radius:5px;outline:none;height:40px;padding:0 11px;font-size:13px}.form-field input:focus{border-color:#777}.checkbox-field{color:#555;align-items:center;gap:9px;margin-top:17px;font-size:12px;display:flex}.checkbox-field input{width:15px;height:15px}.form-actions{justify-content:flex-end;gap:9px;margin-top:22px;display:flex}.table-header{justify-content:space-between;align-items:center;margin-bottom:15px;display:flex}.record-count{color:#888;font-size:11px}.table-wrapper{overflow-x:auto}table{border-collapse:collapse;width:100%}th{text-align:left;letter-spacing:1px;color:#777;background:#f7f7f7;border-bottom:1px solid #ddd;padding:11px 12px;font-size:9px}td{border-bottom:1px solid #eee;padding:14px 12px;font-size:13px}tbody tr:last-child td{border-bottom:none}.badge{color:#666;background:#eee;border-radius:4px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-block}.badge-cabinet{color:#222;background:#e7e7e7}.status-active{font-size:11px;font-weight:700}.status-inactive{color:#999;font-size:11px}.table-message{text-align:center;color:#888;padding:45px 20px;font-size:13px;line-height:1.7}@media (max-width:700px){.products-header{flex-direction:column;gap:18px}.form-grid{grid-template-columns:1fr}}.filter-card{background:#fff;border:1px solid #e4e4e4;border-radius:9px;grid-template-columns:2fr 1fr 1fr;gap:14px;margin-bottom:20px;padding:18px;display:grid}.filter-field{flex-direction:column;gap:7px;display:flex}.filter-field label,.form-field label{letter-spacing:.5px;color:#666;font-size:10px;font-weight:700}.filter-field input,.filter-field select,.form-field input,.form-field select,.form-field textarea{box-sizing:border-box;color:#222;background:#fff;border:1px solid #d8d8d8;border-radius:5px;outline:none;width:100%;font-size:13px}.filter-field input,.filter-field select,.form-field input,.form-field select{height:40px;padding:0 11px}.form-field textarea{resize:vertical;padding:11px;font-family:inherit}.filter-field input:focus,.filter-field select:focus,.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#777}.full-field{margin-top:16px}.form-section-title{letter-spacing:1px;color:#555;border-bottom:1px solid #eee;margin-top:25px;margin-bottom:13px;padding-bottom:8px;font-size:10px;font-weight:800}.cabinet-image-box{background:#f8f8f8;border:1px dashed #ccc;border-radius:6px;align-items:center;gap:20px;padding:16px;display:flex}.cabinet-image-box strong{font-size:12px}.cabinet-image-box p{color:#888;margin:5px 0 0;font-size:11px}.cabinet-image-box input[type=file]{font-size:11px}.existing-image-note{color:#666;font-size:10px}.status-selector{gap:25px;font-size:12px;display:flex}.status-selector label{align-items:center;gap:7px;display:flex}.table-actions{gap:6px;display:flex}.table-button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:4px;padding:6px 9px;font-size:10px}.table-button:hover{background:#f3f3f3}@media (max-width:900px){.filter-card{grid-template-columns:1fr}.cabinet-image-box{flex-direction:column;align-items:flex-start}.table-actions{flex-direction:column}}.settings-card{background:#fff;border:1px solid #e4e4e4;border-radius:9px;margin-bottom:18px;padding:22px}.settings-card h2{margin:5px 0 8px;font-size:17px}.settings-help{color:#777;margin:0 0 18px;font-size:11px;line-height:1.6}.settings-single-field{max-width:280px}.input-with-suffix,.input-with-prefix{background:#fff;border:1px solid #d8d8d8;border-radius:5px;align-items:center;display:flex;overflow:hidden}.input-with-suffix input,.input-with-prefix input{outline:none;border:0!important;border-radius:0!important}.input-with-suffix span{color:#777;padding-right:12px;font-size:12px}.input-with-prefix span{color:#777;padding-left:12px;font-size:12px}.input-with-prefix input{padding-left:8px!important}.margin-options{flex-wrap:wrap;gap:8px;margin:15px 0;display:flex}.margin-chip{border:1px solid #ddd;border-radius:20px;align-items:center;gap:8px;padding:7px 10px 7px 13px;font-size:12px;font-weight:600;display:flex}.margin-chip button{cursor:pointer;background:#eee;border:0;border-radius:50%;width:18px;height:18px;padding:0;line-height:18px}.add-margin-row{gap:8px;max-width:420px;display:flex}.add-margin-row input{border:1px solid #d8d8d8;border-radius:5px;flex:1;height:38px;padding:0 10px;font-size:12px}.settings-actions{justify-content:flex-end;padding:5px 0 30px;display:flex}@media (max-width:700px){.add-margin-row{flex-direction:column}.settings-actions{justify-content:stretch}.settings-actions button{width:100%}}.selected-client-badge{color:#555;text-transform:uppercase;letter-spacing:.04em;background:#f3f3f3;border-radius:4px;margin-top:14px;padding:6px 10px;font-size:11px;font-weight:600;display:inline-block}.toolbar{gap:10px;margin-bottom:18px;display:flex}.toolbar input{border:1px solid #d8d8d8;border-radius:5px;width:320px;height:38px;padding:0 12px;font-size:12px}.table-card{background:#fff;border:1px solid #e4e4e4;border-radius:8px;overflow:hidden}.table-card table{border-collapse:collapse;width:100%}.table-card th{text-align:left;letter-spacing:.06em;color:#777;background:#f7f7f7;padding:11px 14px;font-size:10px}.table-card td{border-top:1px solid #eee;padding:13px 14px;font-size:12px}.table-subtext{color:#888;margin-top:3px;font-size:10px}.status-badge{text-transform:uppercase;background:#f1f1f1;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:600;display:inline-block}.empty-state{text-align:center;background:#fff;border:1px dashed #d8d8d8;border-radius:8px;padding:55px 20px}.empty-state h3{margin:0 0 7px}.empty-state p{color:#777;margin-bottom:18px;font-size:12px}.modal-backdrop{z-index:1000;background:#00000059;justify-content:center;align-items:center;padding:25px;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:9px;width:min(760px,100%);max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000002e}.modal-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:flex-start;padding:22px;display:flex}.modal-header h2{margin:4px 0 0}.modal-close{cursor:pointer;color:#777;background:0 0;border:0;font-size:25px}.form-section{border-bottom:1px solid #eee;padding:20px 22px}.form-section h3{margin:0 0 15px;font-size:13px}.type-selector{gap:8px;display:flex}.type-option{cursor:pointer;background:#fff;border:1px solid #d8d8d8;border-radius:5px;padding:9px 18px;font-size:11px}.type-option.active{color:#fff;background:#222;border-color:#222}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;display:grid}.form-field.full-width{grid-column:1/-1}.form-field label{color:#666;letter-spacing:.04em;margin-bottom:6px;font-size:10px;font-weight:600;display:block}.form-field input,.form-field textarea,.form-field select{box-sizing:border-box;border:1px solid #d8d8d8;border-radius:5px;outline:none;width:100%;padding:9px 10px;font-family:inherit;font-size:12px}.form-field textarea{resize:vertical}.checkbox-label{align-items:center;gap:8px;font-size:12px;display:flex}.checkbox-label input{width:auto}.modal-actions{justify-content:flex-end;gap:8px;padding:18px 22px;display:flex}@media (max-width:650px){.form-grid{grid-template-columns:1fr}.form-field.full-width{grid-column:auto}.toolbar input{width:100%}.products-header{flex-direction:column}}.product-selector-list{flex-direction:column;gap:6px;margin-top:16px;display:flex}.product-selector-item{cursor:pointer;border:1px solid #e5e5e5;border-radius:6px;justify-content:space-between;align-items:center;gap:20px;padding:14px 16px;transition:border-color .15s,background .15s;display:flex}.product-selector-item:hover{background:#fafafa;border-color:#999}.product-selector-selected{background:#f7f7f7;border-color:#222}.product-selector-name{font-size:13px;font-weight:600}.product-selector-price{white-space:nowrap;font-weight:600}.selected-product-panel{background:#fafafa;border:1px solid #ddd;border-radius:6px;margin-top:18px;padding:20px}.selected-product-panel h3{margin:5px 0 10px}.selected-product-meta{color:#777;flex-wrap:wrap;gap:18px;margin-bottom:20px;font-size:11px;display:flex}.product-calculation{max-width:600px;margin:20px 0;padding-top:5px}.danger-button{color:#b42318;cursor:pointer;background:#fff;border:1px solid #d5d5d5;border-radius:4px;padding:7px 10px;font-size:11px}.danger-button:hover{background:#fff5f5}.pricing-control-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}@media (max-width:900px){.pricing-control-grid{grid-template-columns:1fr}}html,body{margin:0;padding:0}body{font-family:var(--font-geist-sans), Arial, Helvetica, sans-serif;color:#171717;background:#f5f5f5}.portal-shell{background:#f5f5f5;grid-template-columns:220px minmax(0,1fr);min-height:100vh;display:grid}.portal-sidebar{background:#fff;border-right:1px solid #e3e3e3;flex-direction:column;height:100vh;padding:22px 14px 18px;display:flex;position:sticky;top:0}.portal-brand{border-bottom:1px solid #eee;align-items:center;gap:11px;padding:0 8px 21px;display:flex}.portal-logo{object-fit:contain;width:41px;height:41px}.portal-brand>div{gap:2px;display:grid}.portal-brand strong{color:#171717;letter-spacing:.3px;font-size:12px;font-weight:800}.portal-navigation{gap:4px;margin-top:19px;display:grid}.portal-nav-item{color:#666;border-radius:6px;align-items:center;gap:10px;min-height:42px;padding:0 12px;font-size:13px;font-weight:650;text-decoration:none;transition:background .15s,color .15s;display:flex;position:relative}.portal-nav-item:hover{color:#171717;background:#f5f5f5}.portal-nav-indicator{background:0 0;border-radius:3px;width:3px;height:18px}.portal-nav-item-active{color:#171717;background:#f2f2f2;font-weight:800}.portal-sidebar-footer{border-top:1px solid #eee;gap:4px;margin-top:auto;padding:16px 8px 2px;display:grid}.portal-sidebar-footer strong{letter-spacing:.7px;font-size:9px}.portal-sidebar-footer span{color:#999;font-size:9px;line-height:1.4}.portal-main{min-width:0;min-height:100vh}.portal-topbar{z-index:20;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#fffffff5;border-bottom:1px solid #e3e3e3;justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex;position:sticky;top:0}.portal-topbar>div:first-child{gap:2px;display:grid}.portal-topbar-kicker{color:#999;letter-spacing:1.1px;font-size:8px;font-weight:800}.portal-topbar>div:first-child>strong{font-size:13px;font-weight:750}.portal-admin{align-items:center;gap:9px;display:flex}.portal-admin-dot{background:#d71920;border-radius:50%;width:8px;height:8px}.portal-admin>div{gap:1px;display:grid}.portal-admin span{color:#999;font-size:8px}.portal-content{min-width:0;padding:26px 28px 45px}.portal-content .products-page,.portal-content .settings-page{max-width:1500px;margin:0 auto}@media (max-width:900px){.portal-shell{grid-template-columns:180px minmax(0,1fr)}.portal-content{padding:20px}}@media (max-width:700px){.portal-shell{display:block}.portal-sidebar{width:100%;height:auto;position:relative}.portal-navigation{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-sidebar-footer{display:none}}.dashboard-recent-card{margin-top:22px}.dashboard-activity-list{border-top:1px solid #eee;margin-top:16px;display:grid}.dashboard-activity-row{color:#171717;text-align:left;cursor:pointer;background:0 0;border:0;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:20px;width:100%;padding:14px 0;display:flex}.dashboard-activity-row:hover{background:#fafafa}.dashboard-activity-row>div{gap:3px;display:grid}.dashboard-activity-row>div>strong{font-size:13px}.dashboard-activity-row span{color:#888;font-size:11px}.dashboard-activity-row>strong{font-size:13px}.dashboard-page-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.dashboard-page-header h1{margin:5px 0 7px;font-size:30px}.dashboard-page-header p{color:#777;margin:0}.dashboard-filter-bar{background:#fff;border:1px solid #e1e1e1;border-radius:8px;align-items:flex-end;gap:12px;min-height:72px;margin-bottom:22px;padding:14px 16px;display:flex}.dashboard-filter-field{gap:5px;display:grid}.dashboard-filter-field label{color:#888;letter-spacing:.8px;font-size:9px;font-weight:800}.dashboard-filter-field select,.dashboard-filter-field input{color:#171717;background:#fff;border:1px solid #d6d6d6;border-radius:5px;min-width:150px;height:38px;padding:0 11px}.dashboard-period-text{color:#777;margin-left:auto;padding-bottom:10px;font-size:11px;font-weight:650}.dashboard-wide-card{margin-top:22px;margin-bottom:22px}.dashboard-metric-grid{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:18px;display:grid}.dashboard-metric-grid>div{border-bottom:1px solid #eee;border-right:1px solid #eee;flex-direction:column;justify-content:center;gap:7px;min-height:88px;padding:15px;display:flex}.dashboard-metric-grid span{color:#777;font-size:11px}.dashboard-metric-grid strong{color:#171717;font-size:20px;font-weight:800}.pipeline-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;display:grid}.pipeline-grid>div{background:#fafafa;border:1px solid #eee;border-radius:6px;gap:5px;min-height:67px;padding:12px;display:grid}.pipeline-grid span{color:#777;font-size:10px}.pipeline-grid strong{font-size:20px}.pipeline-summary{border-top:1px solid #eee;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding-top:14px;display:grid}.pipeline-summary>div{justify-content:space-between;align-items:center;gap:15px;display:flex}.pipeline-summary span{color:#777;font-size:11px}.pipeline-summary strong{font-size:15px}.dashboard-empty-row{color:#888;padding:18px 0;font-size:12px}@media (max-width:1200px){.dashboard-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:750px){.dashboard-filter-bar{flex-direction:column;align-items:stretch}.dashboard-period-text{margin-left:0;padding-bottom:0}.dashboard-filter-field select,.dashboard-filter-field input{width:100%}.dashboard-metric-grid{grid-template-columns:1fr}.pipeline-grid{grid-template-columns:repeat(2,1fr)}}.payment-overview-grid{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px;display:grid}.payment-overview-grid>div{border-bottom:1px solid #eee;border-right:1px solid #eee;flex-direction:column;justify-content:center;gap:8px;min-height:92px;padding:16px;display:flex}.payment-overview-grid span{color:#777;font-size:11px}.payment-overview-grid strong{color:#171717;font-size:21px;font-weight:800}.payment-overview-grid .payment-balance-due{color:#d71920}@media (max-width:900px){.payment-overview-grid{grid-template-columns:repeat(2,1fr)}}.client-breakdown-layout{grid-template-columns:.85fr 1.15fr;gap:28px;margin-top:18px;display:grid}.client-summary-grid{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.client-summary-grid>div{border-bottom:1px solid #eee;border-right:1px solid #eee;flex-direction:column;justify-content:center;gap:7px;min-height:126px;padding:16px;display:flex}.client-summary-grid span{color:#777;font-size:11px}.client-summary-grid strong{color:#171717;font-size:26px;font-weight:800}.client-summary-grid small{color:#999;font-size:9px;line-height:1.4}.dashboard-subheading{color:#888;letter-spacing:.9px;margin-bottom:10px;font-size:9px;font-weight:800}.top-client-list{border-top:1px solid #eee}.top-client-row{border-bottom:1px solid #eee;grid-template-columns:28px 1fr auto;align-items:center;gap:10px;min-height:54px;display:grid}.top-client-rank{color:#999;font-size:11px;font-weight:800}.top-client-name{gap:3px;display:grid}.top-client-name strong{font-size:12px}.top-client-name span{color:#888;font-size:10px}.top-client-value{font-size:13px}@media (max-width:1000px){.client-breakdown-layout{grid-template-columns:1fr}}@media (max-width:700px){.client-summary-grid{grid-template-columns:1fr}}.component-analytics-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:18px;display:grid}.component-ranking-list{border-top:1px solid #eee}.component-ranking-row{border-bottom:1px solid #eee;grid-template-columns:28px 1fr auto;align-items:center;gap:12px;min-height:67px;display:grid}.component-ranking-number{color:#999;font-size:11px;font-weight:800}.component-ranking-name{gap:4px;display:grid}.component-ranking-name strong{color:#171717;font-size:12px;font-weight:750}.component-ranking-name span{color:#888;font-size:9px}.component-ranking-result{justify-items:end;gap:1px;min-width:65px;display:grid}.component-ranking-result strong{color:#171717;font-size:18px;font-weight:800}.component-ranking-result span{color:#777;font-size:9px}.component-ranking-result small{color:#aaa;font-size:8px}@media (max-width:900px){.component-analytics-grid{grid-template-columns:1fr}}.systems-page{max-width:1500px;margin:0 auto}.systems-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.systems-header h1{margin:5px 0 7px;font-size:30px}.systems-header p{color:#777;max-width:620px;margin:0;font-size:13px}.system-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px;display:grid}.system-summary-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;flex-direction:column;justify-content:center;gap:7px;min-height:112px;padding:18px;display:flex}.system-summary-card span{color:#888;letter-spacing:.8px;font-size:9px;font-weight:800}.system-summary-card strong{color:#171717;font-size:28px;font-weight:800}.system-summary-card small{color:#999;font-size:10px}.systems-filter-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;grid-template-columns:minmax(300px,1fr) 190px 190px;gap:12px;margin-bottom:18px;padding:15px;display:grid}.systems-search-field,.systems-filter-field{gap:5px;display:grid}.systems-search-field label,.systems-filter-field label{color:#888;letter-spacing:.8px;font-size:9px;font-weight:800}.systems-search-field input,.systems-filter-field select{color:#171717;background:#fff;border:1px solid #d9d9d9;border-radius:5px;width:100%;height:40px;padding:0 11px;font-family:inherit}.systems-register-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;overflow:hidden}.systems-register-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:20px;padding:18px 20px;display:flex}.systems-register-header h2{margin:4px 0 0;font-size:17px}.systems-register-header>span{color:#888;font-size:10px}.systems-table-wrap{width:100%;overflow-x:auto}.systems-table{border-collapse:collapse;width:100%;min-width:1200px}.systems-table th{color:#777;letter-spacing:.65px;text-align:left;white-space:nowrap;background:#fafafa;border-bottom:1px solid #e8e8e8;padding:11px 13px;font-size:8px;font-weight:800}.systems-table td{color:#333;vertical-align:middle;border-bottom:1px solid #eee;padding:14px 13px;font-size:11px}.systems-table tbody tr:last-child td{border-bottom:0}.systems-table tbody tr:hover{background:#fcfcfc}.system-id-text{color:#171717;white-space:nowrap;font-size:12px}.system-client-cell{gap:3px;display:grid}.system-client-cell strong{color:#171717;font-size:11px}.system-client-cell span{color:#999;font-size:9px}.system-text-link{color:#444;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-family:inherit;font-size:10px;text-decoration:underline}.system-date{color:#777;white-space:nowrap}.system-stage{color:#555;white-space:nowrap;background:#f2f2f2;border-radius:20px;align-items:center;min-height:24px;padding:0 8px;font-size:8px;font-weight:800;display:inline-flex}.system-stage-ready_for_dispatch{color:#c51c23;background:#fff2f2}.system-stage-delivered{color:#171717;background:#eee}.serial-status{white-space:nowrap;border-radius:20px;align-items:center;min-height:23px;padding:0 8px;font-size:8px;font-weight:800;display:inline-flex}.serial-complete{color:#333;background:#f1f1f1}.serial-missing{color:#c51c23;background:#fff1f1}.system-balance-due{color:#d71920}.system-open-button{min-height:30px;padding:0 10px;font-size:9px}.systems-empty-cell{text-align:center;color:#999!important;padding:35px!important}@media (max-width:1050px){.system-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.systems-filter-card{grid-template-columns:1fr 1fr}.systems-search-field{grid-column:1/-1}}@media (max-width:700px){.system-summary-grid,.systems-filter-card{grid-template-columns:1fr}.systems-search-field{grid-column:auto}}.system-record-page{max-width:1500px;margin:0 auto}.system-record-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.system-record-title-row{align-items:center;gap:12px;display:flex}.system-record-title-row h1{margin:5px 0 7px;font-size:30px}.system-record-header p{color:#777;margin:0;font-size:12px}.system-record-actions{gap:8px;display:flex}.system-record-stage{color:#555;white-space:nowrap;background:#f2f2f2;border-radius:20px;align-items:center;min-height:25px;padding:0 9px;font-size:8px;font-weight:800;display:inline-flex}.system-record-stage-ready_for_dispatch{color:#c91e25;background:#fff1f1}.system-record-stage-delivered{color:#171717;background:#ededed}.system-record-summary{background:#fff;border-top:1px solid #e3e3e3;border-left:1px solid #e3e3e3;border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px;display:grid;overflow:hidden}.system-record-summary>div{border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;flex-direction:column;justify-content:center;gap:6px;min-height:104px;padding:16px;display:flex}.system-record-summary span{color:#888;letter-spacing:.7px;font-size:8px;font-weight:800}.system-record-summary strong{color:#171717;font-size:20px;font-weight:800}.system-record-summary small{color:#999;font-size:9px}.system-record-balance-due{color:#d71920!important}.system-record-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px;display:grid}.system-record-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;padding:20px}.system-record-card h2{margin:4px 0 18px;font-size:16px}.system-record-wide-card{margin-bottom:18px}.system-record-card-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.system-record-card-header>span{color:#999;font-size:9px}.system-record-details{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.system-record-details>div{border-bottom:1px solid #eee;border-right:1px solid #eee;align-content:center;gap:5px;min-height:67px;padding:12px;display:grid}.system-record-details span{color:#888;font-size:9px}.system-record-details strong{color:#222;font-size:11px;font-weight:650;line-height:1.4}.system-record-detail-wide{grid-column:1/-1}.system-record-link{color:#171717;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;width:fit-content;padding:0;font-family:inherit;font-size:11px;font-weight:700;text-decoration:underline}.system-record-table-wrap{width:100%;overflow-x:auto}.system-record-table{border-collapse:collapse;width:100%;min-width:950px}.system-record-table th{color:#777;letter-spacing:.6px;text-align:left;background:#fafafa;border-bottom:1px solid #ddd;padding:10px 11px;font-size:8px;font-weight:800}.system-record-table td{color:#444;vertical-align:middle;border-bottom:1px solid #eee;padding:12px 11px;font-size:10px}.system-record-table tbody tr:last-child td{border-bottom:0}.system-record-product{gap:3px;display:grid}.system-record-product strong{color:#171717;font-size:11px}.system-record-product span{color:#999;font-size:8px}.system-payment-list{border-top:1px solid #eee}.system-payment-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:15px;min-height:56px;display:flex}.system-payment-row>div{gap:3px;display:grid}.system-payment-row strong{font-size:11px}.system-payment-row span{color:#888;font-size:9px}.system-payment-right{text-align:right}.system-payment-summary{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:14px;display:grid}.system-payment-summary>div{border-bottom:1px solid #eee;border-right:1px solid #eee;gap:5px;padding:11px;display:grid}.system-payment-summary span{color:#888;font-size:8px}.system-payment-summary strong{font-size:12px}.system-document-list{border-top:1px solid #eee;display:grid}.system-document-list>button,.system-document-disabled{color:#171717;text-align:left;background:0 0;border:0;border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:20px;min-height:62px;padding:0;display:flex}.system-document-list>button{cursor:pointer}.system-document-list>button:hover{background:#fafafa}.system-document-list>button>div,.system-document-disabled>div{gap:4px;display:grid}.system-document-list strong,.system-document-disabled strong{font-size:11px}.system-document-list span,.system-document-disabled span{color:#888;font-size:9px}.system-document-disabled{opacity:.55}.system-timeline{margin-top:4px}.system-timeline-row{grid-template-columns:22px 1fr;gap:10px;min-height:65px;display:grid}.system-timeline-marker{justify-content:center;display:flex;position:relative}.system-timeline-marker span{z-index:2;background:#fff;border:2px solid #171717;border-radius:50%;width:9px;height:9px;margin-top:4px;position:relative}.system-timeline-marker i{background:#ddd;width:1px;position:absolute;top:13px;bottom:-4px}.system-timeline-content{align-content:start;gap:4px;padding-bottom:15px;display:grid}.system-timeline-content strong{color:#171717;font-size:11px}.system-timeline-content span{color:#888;font-size:9px}.system-timeline-content small{color:#777;font-size:9px}.system-record-empty{color:#999;padding:18px 0;font-size:10px}@media (max-width:1100px){.system-record-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.system-record-grid{grid-template-columns:1fr}.system-record-header{flex-direction:column}}@media (max-width:600px){.system-record-summary,.system-record-details{grid-template-columns:1fr}.system-record-detail-wide{grid-column:auto}.system-payment-summary{grid-template-columns:1fr}}.test-report-page{max-width:1500px;margin:0 auto}.test-report-header{justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:20px;display:flex}.test-report-title-row{align-items:center;gap:12px;display:flex}.test-report-title-row h1{margin:5px 0 7px;font-size:30px}.test-report-header p{color:#777;margin:0;font-size:12px}.test-report-header p strong{color:#171717}.test-report-actions{gap:8px;display:flex}.test-overall-badge{letter-spacing:.7px;border-radius:20px;justify-content:center;align-items:center;min-width:58px;min-height:25px;padding:0 10px;font-size:8px;font-weight:900;display:inline-flex}.test-overall-draft{color:#555;background:#eee}.test-overall-pass{color:#27753a;background:#edf7ef}.test-overall-fail{color:#c91d24;background:#fff0f0}.test-report-summary-grid{background:#fff;border-top:1px solid #e3e3e3;border-left:1px solid #e3e3e3;border-radius:8px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px;display:grid;overflow:hidden}.test-report-summary-grid>div{border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;flex-direction:column;justify-content:center;gap:6px;min-height:103px;padding:16px;display:flex}.test-report-summary-grid span{color:#888;letter-spacing:.7px;font-size:8px;font-weight:800}.test-report-summary-grid strong{color:#171717;font-size:19px;font-weight:800}.test-report-summary-grid small{color:#999;font-size:9px}.test-report-danger{color:#d71920!important}.test-report-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;margin-bottom:18px;padding:20px}.test-report-card h2{margin:4px 0 0;font-size:16px}.test-report-card-header,.test-report-category-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:17px;display:flex}.test-report-card-header>span,.test-report-category-header>span{color:#999;font-size:9px}.test-report-info-grid{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.test-report-info-grid>div{border-bottom:1px solid #eee;border-right:1px solid #eee;align-content:center;gap:6px;min-height:72px;padding:11px;display:grid}.test-report-info-grid label,.test-report-remarks label{color:#888;letter-spacing:.6px;font-size:8px;font-weight:800}.test-report-info-grid strong{color:#171717;font-size:11px}.test-report-info-grid input{color:#171717;background:#fff;border:1px solid #ddd;border-radius:4px;width:100%;height:35px;padding:0 9px;font-family:inherit;font-size:10px}.test-hardware-list{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.test-hardware-row{border-bottom:1px solid #eee;border-right:1px solid #eee;justify-content:space-between;align-items:center;gap:15px;min-height:60px;padding:10px 12px;display:flex}.test-hardware-row>div{gap:3px;display:grid}.test-hardware-row>div>span{color:#999;font-size:8px}.test-hardware-row strong{color:#171717;font-size:10px}.test-hardware-row>span{color:#777;text-align:right;font-size:8px}.test-check-table-wrap{width:100%;overflow-x:auto}.test-check-table{border-collapse:collapse;width:100%;min-width:1100px}.test-check-table th{color:#777;letter-spacing:.6px;text-align:left;background:#fafafa;border-bottom:1px solid #ddd;padding:9px 10px;font-size:8px;font-weight:800}.test-check-table td{vertical-align:middle;border-bottom:1px solid #eee;padding:10px}.test-check-table tbody tr:last-child td{border-bottom:0}.test-check-table td:first-child{width:25%}.test-check-table td:nth-child(2){width:105px}.test-check-table td:nth-child(3){width:180px}.test-check-table td:nth-child(4){width:27%}.test-check-table strong{color:#171717;font-size:10px}.test-check-table input{color:#171717;background:#fff;border:1px solid #ddd;border-radius:4px;width:100%;height:34px;padding:0 8px;font-family:inherit;font-size:9px}.test-result-select{background:#fff;border:1px solid #d8d8d8;border-radius:4px;width:95px;height:34px;padding:0 7px;font-family:inherit;font-size:9px;font-weight:700}.test-result-pass{color:#28763b;background:#f1f8f2;border-color:#b9d8c0}.test-result-fail{color:#c51e25;background:#fff3f3;border-color:#efbcbc}.test-result-na{color:#666;background:#f4f4f4}.test-result-pending{color:#777}.test-reference-text{color:#777;font-size:9px;line-height:1.45}.test-report-final-card{margin-bottom:30px}.test-final-status{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:25px;padding-bottom:18px;display:flex}.test-final-status p{color:#888;max-width:600px;margin:7px 0 0;font-size:10px}.test-final-result{text-align:center;letter-spacing:1px;border-radius:6px;min-width:105px;padding:13px 18px;font-size:18px;font-weight:900}.test-final-draft{color:#555;background:#eee}.test-final-pass{color:#28763b;background:#eef7ef}.test-final-fail{color:#c91e25;background:#fff0f0}.test-final-stats{border-top:1px solid #eee;border-left:1px solid #eee;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:18px;display:grid}.test-final-stats>div{border-bottom:1px solid #eee;border-right:1px solid #eee;gap:5px;padding:12px;display:grid}.test-final-stats span{color:#888;font-size:8px}.test-final-stats strong{color:#171717;font-size:16px}.test-report-remarks{gap:6px;margin-top:18px;display:grid}.test-report-remarks textarea{resize:vertical;color:#171717;background:#fff;border:1px solid #ddd;border-radius:4px;width:100%;padding:10px;font-family:inherit;font-size:10px;line-height:1.5}.test-report-save-bar{border-top:1px solid #eee;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding-top:17px;display:flex}.test-report-save-bar>div{gap:4px;display:grid}.test-report-save-bar span{color:#888;font-size:8px}.test-report-save-bar strong{font-size:12px}.test-report-blocked{background:#fff;border:1px solid #e2e2e2;border-radius:8px;max-width:620px;padding:25px}.test-report-blocked strong{color:#171717;font-size:16px}.test-report-blocked p{color:#777;margin:8px 0 18px;font-size:11px}@media (max-width:1100px){.test-report-summary-grid,.test-report-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.test-report-header{flex-direction:column}.test-hardware-list{grid-template-columns:1fr}}@media (max-width:600px){.test-report-summary-grid,.test-report-info-grid,.test-final-stats{grid-template-columns:1fr}.test-final-status{flex-direction:column;align-items:flex-start}}.test-reports-register-page{max-width:1500px;margin:0 auto}.test-reports-register-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:22px;display:flex}.test-reports-register-header h1{margin:5px 0 7px;font-size:30px}.test-reports-register-header p{color:#777;margin:0;font-size:12px}.test-register-summary{background:#fff;border-top:1px solid #e3e3e3;border-left:1px solid #e3e3e3;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;display:grid;overflow:hidden}.test-register-summary>div{border-bottom:1px solid #e3e3e3;border-right:1px solid #e3e3e3;flex-direction:column;justify-content:center;gap:6px;min-height:105px;padding:16px;display:flex}.test-register-summary span{color:#888;letter-spacing:.7px;font-size:8px;font-weight:800}.test-register-summary strong{color:#171717;font-size:26px;font-weight:800}.test-register-summary small{color:#999;font-size:9px}.test-register-danger{color:#d71920!important}.test-register-filters{background:#fff;border:1px solid #e2e2e2;border-radius:8px;grid-template-columns:minmax(350px,1fr) 200px;gap:12px;margin-bottom:18px;padding:15px;display:grid}.test-register-search,.test-register-filter{gap:5px;display:grid}.test-register-search label,.test-register-filter label{color:#888;letter-spacing:.7px;font-size:8px;font-weight:800}.test-register-search input,.test-register-filter select{color:#171717;background:#fff;border:1px solid #dcdcdc;border-radius:5px;width:100%;height:40px;padding:0 10px;font-family:inherit}.test-register-card{background:#fff;border:1px solid #e2e2e2;border-radius:8px;overflow:hidden}.test-register-card-header{border-bottom:1px solid #eee;justify-content:space-between;align-items:flex-start;gap:20px;padding:18px 20px;display:flex}.test-register-card-header h2{margin:4px 0 0;font-size:16px}.test-register-card-header>span{color:#999;font-size:9px}.test-register-table-wrap{width:100%;overflow-x:auto}.test-register-table{border-collapse:collapse;width:100%;min-width:1100px}.test-register-table th{color:#777;letter-spacing:.6px;text-align:left;white-space:nowrap;background:#fafafa;border-bottom:1px solid #ddd;padding:10px 12px;font-size:8px;font-weight:800}.test-register-table td{color:#444;vertical-align:middle;border-bottom:1px solid #eee;padding:13px 12px;font-size:10px}.test-register-table tbody tr:last-child td{border-bottom:0}.test-register-table tbody tr:hover{background:#fcfcfc}.test-register-report-no{color:#171717;white-space:nowrap;font-size:11px}.test-register-client{gap:3px;display:grid}.test-register-client strong{color:#171717;font-size:10px}.test-register-client span{color:#999;font-size:8px}.test-register-link{color:#171717;cursor:pointer;text-underline-offset:2px;background:0 0;border:0;padding:0;font-family:inherit;font-size:10px;font-weight:700;text-decoration:underline}.test-register-stage{color:#555;white-space:nowrap;background:#f2f2f2;border-radius:20px;padding:5px 8px;font-size:8px;font-weight:700;display:inline-flex}.test-register-status{border-radius:20px;justify-content:center;min-width:52px;padding:5px 9px;font-size:8px;font-weight:800;display:inline-flex}.test-register-status-draft{color:#555;background:#eee}.test-register-status-pass{color:#28763b;background:#edf7ef}.test-register-status-fail{color:#c91e25;background:#fff0f0}.test-register-open{min-height:30px;padding:0 10px;font-size:8px}.test-register-empty{text-align:center;color:#999!important;padding:35px!important}@media (max-width:900px){.test-register-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:650px){.test-register-summary,.test-register-filters{grid-template-columns:1fr}}.tr-preview-page{background:#e9e9e9;min-height:100vh;padding:28px 0 50px}.tr-preview-loading{color:#555;text-align:center;padding:50px}.tr-preview-controls{justify-content:flex-end;gap:8px;width:210mm;margin:0 auto 14px;display:flex}.tr-preview-controls button{color:#171717;cursor:pointer;background:#fff;border:1px solid #d4d4d4;border-radius:5px;min-height:36px;padding:0 13px;font-family:inherit;font-size:10px;font-weight:700}.tr-preview-controls .tr-preview-print-button{color:#fff;background:#171717;border-color:#171717}.tr-document{box-sizing:border-box;color:#171717;background:#fff;width:210mm;height:297mm;min-height:297mm;margin:0 auto;padding:10mm 11mm 18mm;font-family:Arial,Helvetica,sans-serif;position:relative;overflow:hidden}.tr-document-header{border-top:1mm solid #d71920;border-bottom:1.4px solid #171717;justify-content:space-between;align-items:center;gap:7mm;padding:2.5mm 0 3.5mm;display:flex}.tr-brand-block{align-items:center;gap:4mm;max-width:128mm;display:flex}.tr-logo{object-fit:contain;object-position:left center;width:55mm;height:15.5mm}.tr-company-name{letter-spacing:.6px;margin-bottom:1.2mm;font-size:7pt;font-weight:800}.tr-company-address{color:#555;max-width:62mm;font-size:6.2pt;line-height:1.25}.tr-company-contact{color:#555;margin-top:.9mm;font-size:6.2pt}.tr-document-title{text-align:right;justify-items:end;gap:1mm;display:grid}.tr-document-title>span{color:#d71920;letter-spacing:1px;font-size:5.7pt;font-weight:800}.tr-document-title h1{margin:0;font-size:14pt;line-height:1}.tr-document-title strong{font-size:7.5pt}.tr-info-grid{border-top:.3mm solid #dedede;border-left:.3mm solid #dedede;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:3mm;display:grid}.tr-info-grid>div{border-bottom:.3mm solid #dedede;border-right:.3mm solid #dedede;align-content:center;gap:1mm;min-height:14mm;padding:2mm;display:grid}.tr-info-grid span{color:#777;letter-spacing:.4px;font-size:5pt;font-weight:700}.tr-info-grid strong{font-size:6.7pt}.tr-info-status-pass{color:#237438}.tr-info-status-fail{color:#d71920}.tr-section{margin-top:3mm}.tr-section-title{align-items:baseline;gap:2mm;margin-bottom:1.5mm;display:flex}.tr-section-title span{color:#d71920;letter-spacing:.8px;font-size:5pt;font-weight:800}.tr-section-title strong{font-size:7.5pt}.tr-component-grid{border-top:.3mm solid #dedede;border-left:.3mm solid #dedede;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.tr-component-item{border-bottom:.3mm solid #dedede;border-right:.3mm solid #dedede;grid-template-columns:1fr auto;align-items:center;gap:2mm;min-height:10mm;padding:1.5mm 2mm;display:grid}.tr-component-item>div:first-child,.tr-component-serial{gap:.6mm;display:grid}.tr-component-item span{color:#777;font-size:4.6pt}.tr-component-item strong{font-size:6pt;line-height:1.15}.tr-component-serial{text-align:right;max-width:34mm}.tr-component-serial strong{overflow-wrap:anywhere;font-size:5pt}.tr-tests-section{margin-top:3mm}.tr-test-table{border-collapse:collapse;table-layout:fixed;width:100%}.tr-test-table th{color:#666;letter-spacing:.4px;text-align:left;background:#f5f5f5;border:.25mm solid #ddd;padding:1.3mm 1.4mm;font-size:4.7pt;font-weight:800}.tr-test-table td{vertical-align:middle;border:.25mm solid #e1e1e1;padding:1.2mm 1.4mm;font-size:5.3pt;line-height:1.15}.tr-test-table th:first-child,.tr-test-table td:first-child{width:15%}.tr-test-table th:nth-child(2),.tr-test-table td:nth-child(2){width:28%}.tr-test-table th:nth-child(3),.tr-test-table td:nth-child(3){width:9%}.tr-test-table th:nth-child(4),.tr-test-table td:nth-child(4){width:16%}.tr-test-table th:nth-child(5),.tr-test-table td:nth-child(5){width:32%}.tr-result{font-size:5.3pt;font-weight:900}.tr-result-pass{color:#237438}.tr-result-fail{color:#d71920}.tr-result-na{color:#666}.tr-result-pending{color:#888}.tr-final-section{border-top:1px solid #171717;grid-template-columns:1fr 35mm;gap:4mm;margin-top:3mm;padding-top:2.5mm;display:grid}.tr-result-summary{border-top:.25mm solid #ddd;border-left:.25mm solid #ddd;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.tr-result-summary>div{border-bottom:.25mm solid #ddd;border-right:.25mm solid #ddd;gap:.5mm;padding:1.5mm 2mm;display:grid}.tr-result-summary span{color:#777;font-size:4.7pt}.tr-result-summary strong{font-size:7pt}.tr-remarks{margin-top:2mm}.tr-remarks span{color:#777;letter-spacing:.5px;font-size:4.7pt;font-weight:800}.tr-remarks p{color:#444;margin:1mm 0 0;font-size:5.5pt;line-height:1.35}.tr-final-badge{text-align:center;border:.4mm solid #ddd;place-content:center;gap:1mm;min-height:28mm;display:grid}.tr-final-badge span{color:#777;letter-spacing:.6px;font-size:5pt;font-weight:800}.tr-final-badge strong{letter-spacing:1px;font-size:15pt}.tr-final-badge-pass{color:#237438;background:#f2f8f3;border-color:#bddfc4}.tr-final-badge-fail{color:#d71920;background:#fff4f4;border-color:#efbfc1}.tr-final-badge-draft{color:#555;background:#f4f4f4}.tr-declaration{background:#f7f7f7;border-left:.8mm solid #d71920;margin-top:2.5mm;padding:2mm 2.5mm}.tr-declaration strong{margin-bottom:.8mm;font-size:5.5pt;display:block}.tr-declaration p{color:#666;margin:0;font-size:5pt;line-height:1.3}.tr-document-footer{color:#fff;background:#171717;justify-content:space-between;align-items:center;gap:5mm;min-height:10mm;padding:2mm 3mm;display:flex;position:absolute;bottom:8mm;left:11mm;right:11mm}.tr-document-footer>div{align-items:center;gap:2.5mm;display:flex}.tr-document-footer strong{font-size:5.6pt}.tr-document-footer span{color:#ddd;font-size:4.8pt}@page{size:A4;margin:0}@media print{html,body{width:210mm;height:297mm;background:#fff!important;margin:0!important;padding:0!important}.tr-preview-page{background:#fff;min-height:auto;padding:0}.tr-preview-controls{display:none!important}.tr-document{width:210mm;height:297mm;min-height:297mm;box-shadow:none;margin:0}.tr-document,.tr-document *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}}.cabinet-upload-box{background:#fafafa;border:1px dashed #ccc;border-radius:7px;padding:14px}.cabinet-upload-box input[type=file]{cursor:pointer;width:100%;display:block}.cabinet-upload-help{color:#888;margin-top:6px;font-size:10px}.cabinet-selected-file{align-items:center;gap:8px;margin-top:10px;font-size:11px;display:flex}.cabinet-upload-preview{background:#fff;border:1px solid #ddd;border-radius:6px;width:160px;height:160px;margin-top:12px;padding:8px}.cabinet-upload-preview img{object-fit:contain;width:100%;height:100%}.product-search-hint{color:#777;background:#fafafa;border:1px dashed #d8d8d8;border-radius:6px;margin-top:14px;padding:14px 16px;font-size:12px}.product-results-meta{color:#777;justify-content:space-between;gap:16px;margin-top:14px;font-size:10px;display:flex}.quotation-product-results{max-height:300px;padding-right:4px;overflow-y:auto}.quotation-product-results.has-selection{max-height:150px}.product-selector-price.cost-missing{color:#b42318;font-size:10px}.selected-product-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.selected-product-code{color:#666;background:#fff;border:1px solid #dedede;border-radius:4px;padding:5px 8px;font-size:10px;font-weight:700}.quotation-product-input-grid,.quotation-item-edit-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.purchase-cost-warning{color:#9d1c17;background:#fff7f7;border:1px solid #f2c6c4;border-radius:5px;margin-top:10px;padding:9px 10px;font-size:10px;font-weight:650}.quotation-product-calculation{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;max-width:none;display:grid}.quotation-product-calculation .summary-divider{grid-column:1/-1}.quotation-items-table-wrap{width:100%;overflow-x:auto}.quotation-items-table{min-width:980px}.quotation-items-table th,.quotation-items-table td{white-space:nowrap}.quotation-items-table td:nth-child(2){white-space:normal;min-width:145px}.quotation-items-table td:nth-child(3){white-space:normal;min-width:220px}.quotation-not-requested-row td{color:#777;background:#fafafa}.quotation-not-requested-row td:nth-child(2){color:#222}.quotation-item-edit-row>td{background:#fafafa;padding:0!important}.quotation-item-editor{background:#fafafa;border-top:2px solid #222;border-bottom:1px solid #e4e4e4;gap:14px;padding:18px;display:grid}.quotation-item-editor p{color:#777;margin:4px 0 0;font-size:10px}.quotation-item-edit-preview{flex-wrap:wrap;gap:12px;display:flex}.quotation-item-edit-preview>span{color:#777;background:#fff;border:1px solid #e1e1e1;border-radius:5px;gap:3px;min-width:160px;padding:9px 11px;font-size:9px;display:grid}.quotation-item-edit-preview strong{color:#171717;font-size:12px}.quotation-item-edit-actions{justify-content:flex-end;gap:8px;display:flex}.corporate-credit-note{background:#fafafa;border-left:3px solid #d71920;gap:3px;margin:-8px 0 18px;padding:11px 13px;display:grid}.corporate-credit-note strong{font-size:11px}.corporate-credit-note span{color:#666;font-size:10px}.corporate-gst-workspace{background:#fafafa;border:1px solid #dedede;border-radius:6px;margin-top:18px;padding:16px}.commercial-block-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.gst-type-pill{color:#fff;letter-spacing:.5px;background:#222;border-radius:999px;padding:5px 8px;font-size:8px;font-weight:800}.compact-summary{margin-top:0}.internal-profit-card{border-top:3px solid #222}.internal-profit-note{color:#777;margin:-4px 0 16px;font-size:10px}.profitability-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.profitability-grid>div{background:#fafafa;border:1px solid #e2e2e2;border-radius:5px;gap:6px;min-height:62px;padding:12px;display:grid}.profitability-grid span,.retail-margin-after-upi span{color:#777;font-size:9px}.profitability-grid strong{align-self:end;font-size:14px}.profitability-grid .profit-highlight{background:#fff;border-color:#cfcfcf}.margin-health{border-radius:999px;justify-content:center;align-items:center;width:fit-content;padding:6px 9px;font-size:9px;font-weight:800;display:inline-flex}.margin-health-healthy{color:#216e39;background:#edf7ed}.margin-health-acceptable{color:#333;background:#f3f4f6}.margin-health-low{color:#8a5a00;background:#fff7e6}.margin-health-review{color:#a61b16;background:#fff1f0}.retail-margin-after-upi{border-top:1px solid #e2e2e2;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;padding-top:14px;display:flex}.retail-margin-after-upi>div{gap:3px;min-width:190px;display:grid}.retail-margin-after-upi strong{font-size:12px}@media (max-width:1050px){.profitability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:800px){.quotation-product-input-grid,.quotation-item-edit-grid,.quotation-product-calculation,.profitability-grid{grid-template-columns:1fr}.quotation-product-calculation .summary-divider{grid-column:auto}.selected-product-heading,.commercial-block-heading,.product-results-meta{flex-direction:column;align-items:flex-start}}.settings-grid-four,.settings-grid-two{gap:14px;display:grid}.settings-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-subsection{border-top:1px solid #ececec;margin-top:22px;padding-top:18px}.settings-subsection h3{margin:0 0 5px;font-size:13px}.service-editor-list,.quote-service-editor-list{gap:9px;margin:14px 0;display:grid}.service-editor-row,.quote-service-editor-row{background:#fafafa;border:1px solid #e3e3e3;border-radius:7px;grid-template-columns:88px minmax(220px,1.5fr) minmax(160px,.8fr) auto;align-items:end;gap:10px;padding:10px;display:grid}.service-active-control{color:#555;text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:7px;min-height:38px;font-size:10px;font-weight:700;display:flex}.service-active-control input{width:15px;height:15px}.service-remove-button,.quote-service-editor-row>.table-button{min-height:38px}.sticky-settings-actions{z-index:5;background:linear-gradient(#f5f5f500,#f5f5f5 28%);margin-top:8px;padding:12px 0;position:sticky;bottom:0}@media (max-width:1100px){.settings-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.service-editor-row,.quote-service-editor-row{grid-template-columns:100px 1fr 1fr}.service-editor-row>.table-button,.quote-service-editor-row>.table-button{grid-column:3}}@media (max-width:760px){.settings-grid-four,.settings-grid-two,.service-editor-row,.quote-service-editor-row{grid-template-columns:1fr}.service-editor-row>.table-button,.quote-service-editor-row>.table-button{grid-column:auto}}.page2-template-card{background:#fafafa;border:1px solid #dedede;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;margin-top:18px;padding:16px;display:flex}.page2-template-info{gap:5px;min-width:0;display:grid}.page2-template-label{color:#777;letter-spacing:.1em;font-size:10px;font-weight:800}.page2-template-info strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.page2-template-info>span:last-child{color:#666;font-size:12px}.page2-template-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.page2-upload-button{cursor:pointer;justify-content:center;align-items:center;margin:0;display:inline-flex}.page2-upload-button input{display:none}.page2-upload-button.is-disabled{opacity:.6;cursor:not-allowed;pointer-events:none}.page2-template-note{color:#555;background:#fff7f7;border-left:3px solid #bd111b;margin-top:12px;padding:12px 14px;font-size:12px;line-height:1.55}@media (max-width:900px){.page2-template-card{flex-direction:column;align-items:stretch}.page2-template-actions{justify-content:flex-start}}:root{--ui-bg:#f4f5f7;--ui-surface:#fff;--ui-surface-soft:#f8f9fa;--ui-surface-muted:#f1f2f4;--ui-border:#e1e4e8;--ui-border-strong:#d2d6dc;--ui-text:#15171a;--ui-text-soft:#4f5660;--ui-muted:#7b828c;--ui-red:#c9141e;--ui-red-soft:#fff2f3;--ui-green:#16794b;--ui-green-soft:#edf8f2;--ui-amber:#946200;--ui-amber-soft:#fff8e7;--ui-shadow-sm:0 1px 2px #14181e0a;--ui-shadow-md:0 8px 24px #14181e0f;--ui-radius:10px;--ui-radius-sm:7px}.portal-shell{background:var(--ui-bg);color:var(--ui-text);grid-template-columns:214px minmax(0,1fr)}.portal-sidebar{border-right:1px solid var(--ui-border);background:#fff;padding:18px 12px 16px;box-shadow:1px 0 #ffffffb3}.portal-brand{border-bottom:1px solid #eceef1;gap:10px;min-height:58px;padding:0 8px 17px}.portal-logo-wrap{background:#fafafa;border:1px solid #eceef1;border-radius:9px;flex:none;place-items:center;width:38px;height:38px;display:grid}.portal-logo{width:30px;height:30px}.portal-brand strong{letter-spacing:.025em;font-size:11.5px}.portal-brand span{color:var(--ui-muted);font-size:9px}.portal-nav-label{color:#a0a5ad;letter-spacing:.14em;margin:19px 11px 8px;font-size:8px;font-weight:800}.portal-navigation{gap:3px;margin-top:0}.portal-nav-item{color:#626973;border:1px solid #0000;border-radius:8px;gap:10px;min-height:42px;padding:0 10px;font-size:12px;font-weight:620}.portal-nav-icon{color:#858c95;border-radius:7px;flex:none;place-items:center;width:28px;height:28px;transition:background .15s,color .15s;display:grid}.portal-nav-text{flex:1;min-width:0}.portal-nav-indicator{border-radius:999px;flex:none;width:4px;height:18px}.portal-nav-item:hover{color:var(--ui-text);background:#fafafa;border-color:#eceef1}.portal-nav-item:hover .portal-nav-icon{color:var(--ui-text);background:#f0f1f3}.portal-nav-item-active{background:var(--ui-red-soft);color:#18191c;border-color:#f0d9dc;font-weight:730}.portal-nav-item-active .portal-nav-icon{color:var(--ui-red);background:#ffe5e8}.portal-nav-item-active .portal-nav-indicator{background:var(--ui-red)}.portal-sidebar-footer{border-top:1px solid #eceef1;gap:3px;padding:14px 9px 0}.portal-sidebar-footer-kicker{letter-spacing:.1em;font-weight:800;color:var(--ui-red)!important;font-size:8px!important}.portal-sidebar-footer strong{font-size:9.5px;line-height:1.35}.portal-sidebar-footer>span:last-child{color:#9da2aa;font-size:8.5px}.portal-topbar{border-bottom:1px solid var(--ui-border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;height:62px;padding:0 30px}.portal-topbar-title{gap:2px;display:grid}.portal-topbar-kicker{color:#9a9fa7;letter-spacing:.14em;font-size:7.5px}.portal-topbar-title>strong{font-size:13px;font-weight:720}.portal-admin{background:#fff;border:1px solid #e7e9ec;border-radius:9px;gap:8px;padding:4px 7px 4px 5px}.portal-admin-avatar{background:#1d1f22;border-radius:7px;place-items:center;width:28px;height:28px;font-weight:800;display:grid;color:#fff!important;font-size:10px!important}.portal-admin>div{min-width:52px}.portal-admin strong{font-size:9.5px}.portal-admin>div span{font-size:7.5px}.portal-content{padding:25px 30px 48px}.portal-content>:is(.dashboard-content,.products-page,.settings-page,.quotations-page,.orders-page,.systems-page,.test-reports-register-page,.system-record-page,.test-report-page){width:100%;max-width:1520px;margin:0 auto;padding:0!important}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header){margin-bottom:20px!important}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header) h1{color:var(--ui-text);letter-spacing:-.025em;line-height:1.15;margin:4px 0 5px!important;font-size:25px!important}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header) p{line-height:1.55;color:var(--ui-muted)!important;font-size:11.5px!important}.portal-shell .page-kicker,.portal-shell .card-kicker,.portal-shell .section-kicker,.portal-shell .quotations-kicker,.portal-shell .orders-kicker{color:#90969f;letter-spacing:.14em;font-size:8.5px;font-weight:800}.portal-shell :is(.dashboard-card,.dashboard-wide-card,.stat-card,.filter-card,.form-card,.table-card,.settings-card,.quotations-filter-card,.quotations-list-card,.orders-filter-card,.orders-list-card,.orders-summary-card,.systems-filter-card,.systems-register-card,.system-summary-card,.system-record-card,.system-record-wide-card,.test-register-card,.test-report-card,.selected-product-panel,.corporate-gst-workspace){box-shadow:var(--ui-shadow-sm);border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:var(--ui-surface)!important}.portal-shell :is(.form-card,.table-card,.settings-card,.dashboard-card,.dashboard-wide-card,.system-record-card,.system-record-wide-card,.test-report-card){padding:20px!important}.portal-shell .settings-card{margin-bottom:14px}.portal-shell .settings-card h2,.portal-shell .form-card h2,.portal-shell .table-card h2,.portal-shell .dashboard-card h3,.portal-shell .system-record-card h2,.portal-shell .test-report-card h2{color:var(--ui-text);letter-spacing:-.01em;font-size:15px!important}.portal-shell .settings-help{color:var(--ui-muted);font-size:10.5px;line-height:1.55}.portal-shell :is(.primary-button,.secondary-button,.table-button,.danger-button,.orders-primary-button,.orders-secondary-button,.quotation-open-button,.quotation-preview-button,.quotation-order-button,.system-open-button,.preview-button){justify-content:center;align-items:center;gap:7px;min-height:36px;padding:0 13px;line-height:1;transition:transform .12s,border-color .15s,background .15s,color .15s,box-shadow .15s;display:inline-flex;border-radius:7px!important;font-size:10.5px!important;font-weight:720!important}.portal-shell .primary-button,.portal-shell .orders-primary-button,.portal-shell .quotation-order-button{box-shadow:0 1px 1px #0000000f;color:#fff!important;background:#1b1d20!important;border:1px solid #1b1d20!important}.portal-shell .primary-button:hover,.portal-shell .orders-primary-button:hover,.portal-shell .quotation-order-button:hover{border-color:var(--ui-red)!important;background:var(--ui-red)!important}.portal-shell .secondary-button,.portal-shell .orders-secondary-button,.portal-shell .table-button,.portal-shell .quotation-open-button,.portal-shell .quotation-preview-button,.portal-shell .system-open-button,.portal-shell .preview-button{border:1px solid var(--ui-border-strong)!important;color:#333840!important;background:#fff!important}.portal-shell .secondary-button:hover,.portal-shell .orders-secondary-button:hover,.portal-shell .table-button:hover,.portal-shell .quotation-open-button:hover,.portal-shell .quotation-preview-button:hover,.portal-shell .system-open-button:hover,.portal-shell .preview-button:hover{color:#111!important;background:#f7f8f9!important;border-color:#aeb4bc!important}.portal-shell :is(.primary-button,.secondary-button,.table-button,.danger-button):active{transform:translateY(1px)}.portal-shell .danger-button{color:#b3151e!important;background:#fff!important;border:1px solid #f0c9cc!important}.portal-shell .danger-button:hover{background:#fff5f5!important;border-color:#e8aeb3!important}.portal-shell button:focus-visible,.portal-shell a:focus-visible,.portal-shell input:focus-visible,.portal-shell select:focus-visible,.portal-shell textarea:focus-visible{outline-offset:2px;outline:2px solid #c9141e38}.portal-shell :is(.filter-field,.form-field,.dashboard-filter-field,.quotation-filter-field,.orders-filter-field,.systems-filter-field,.test-register-filter,.test-register-search) label{color:#707781!important;letter-spacing:.08em!important;font-size:8.5px!important;font-weight:800!important}.portal-shell :is(input[type=text],input[type=number],input[type=date],input[type=email],input[type=tel],input[type=search],select,textarea){font-family:inherit;transition:border-color .15s,box-shadow .15s,background .15s;border:1px solid var(--ui-border-strong)!important;color:var(--ui-text)!important;background:#fff!important;border-radius:7px!important;font-size:11.5px!important}.portal-shell :is(input,select,textarea):focus{outline:none;box-shadow:0 0 0 3px #1f23280e;border-color:#9ea4ad!important}.portal-shell :is(input,select,textarea):disabled{cursor:not-allowed;color:#8b9199!important;background:#f4f5f6!important}.portal-shell .input-with-suffix,.portal-shell .input-with-prefix{background:#fff;min-height:40px;border:1px solid var(--ui-border-strong)!important;border-radius:7px!important}.portal-shell .input-with-suffix:focus-within,.portal-shell .input-with-prefix:focus-within{box-shadow:0 0 0 3px #1f23280e;border-color:#9ea4ad!important}.portal-shell :is(.filter-card,.dashboard-filter-bar,.quotations-filter-card,.orders-filter-card,.systems-filter-card,.test-register-filters){box-shadow:var(--ui-shadow-sm);border:1px solid var(--ui-border)!important;border-radius:var(--ui-radius)!important;background:#fff!important;margin-bottom:16px!important;padding:14px!important}.portal-shell :is(.table-wrapper,.quotations-table-wrap,.orders-table-wrap,.systems-table-wrap,.test-register-table-wrap,.system-record-table-wrap,.quotation-items-table-wrap,.test-check-table-wrap){border:1px solid #e7e9ec;border-radius:8px;overflow-x:auto}.portal-shell table{border-collapse:separate;border-spacing:0;width:100%}.portal-shell table th{white-space:nowrap;height:38px;border:0!important;border-bottom:1px solid var(--ui-border)!important;color:#747b84!important;letter-spacing:.075em!important;background:#f6f7f8!important;padding:0 11px!important;font-size:8.5px!important;font-weight:800!important}.portal-shell table td{color:#353a42;vertical-align:middle;background:#fff;border:0!important;border-bottom:1px solid #eceef0!important;padding:11px!important;font-size:11px!important}.portal-shell table tbody tr:last-child td{border-bottom:0!important}.portal-shell table tbody tr:hover td{background:#fafbfc}.portal-shell .table-subtext,.portal-shell .orders-subtext,.portal-shell .quotation-table-subtext{margin-top:3px;color:#8d939b!important;font-size:9px!important}.portal-shell :is(.quotation-number-link,.system-id-link,.quotation-link,.system-text-link,.test-register-link,.system-record-link){color:#1f2328;font-weight:740;text-decoration:none}.portal-shell :is(.quotation-number-link,.system-id-link,.quotation-link,.system-text-link,.test-register-link,.system-record-link):hover{color:var(--ui-red)}.portal-shell :is(.status-badge,.status-active,.status-inactive,.serial-status,.gst-type-pill){letter-spacing:.03em;justify-content:center;align-items:center;min-height:24px;padding:0 8px;line-height:1;display:inline-flex;border-radius:999px!important;font-size:8.5px!important;font-weight:800!important}.portal-shell .status-active,.portal-shell .serial-complete{background:var(--ui-green-soft);color:var(--ui-green)}.portal-shell .status-inactive,.portal-shell .serial-missing{color:#777e87;background:#f3f4f5}.portal-shell .dashboard-page-header{align-items:center}.portal-shell .dashboard-header-actions{align-items:center;gap:8px;display:flex}.portal-shell .stats-grid{gap:12px;margin-bottom:14px}.portal-shell .stat-card{min-height:116px;position:relative;overflow:hidden;padding:16px!important}.portal-shell .stat-card:before{content:"";background:#e6e8eb;width:3px;position:absolute;inset:0 auto 0 0}.portal-shell .stat-card:first-child:before{background:var(--ui-red)}.portal-shell .stat-label{color:#7a818a;letter-spacing:.09em;font-size:8.5px}.portal-shell .stat-value{color:#16181b;letter-spacing:-.035em;margin:11px 0 4px;font-size:27px}.portal-shell .stat-description{color:#999fa7;font-size:9px}.portal-shell .dashboard-grid{gap:14px;margin-bottom:14px}.portal-shell .dashboard-card{padding:18px!important}.portal-shell .dashboard-metric-grid>div,.portal-shell .payment-overview-grid>div,.portal-shell .client-summary-grid>div,.portal-shell .pipeline-grid>div{background:#fafbfc!important;border-color:#e8eaed!important;border-radius:8px!important}.portal-shell .dashboard-activity-row{border-radius:6px;padding:11px 8px}.portal-shell .dashboard-activity-row:hover{background:#f7f8f9}.portal-shell :is(.quotation-status-grid,.orders-summary-grid,.system-summary-grid,.test-register-summary){gap:10px!important;margin-bottom:15px!important}.portal-shell :is(.quotation-status-grid,.orders-summary-grid,.system-summary-grid,.test-register-summary)>*{box-shadow:var(--ui-shadow-sm);border:1px solid var(--ui-border)!important;background:#fff!important;border-radius:9px!important}.portal-shell .cabinet-image-box{background:#fafbfc;border-radius:8px;border:1px dashed #cfd3d9!important}.portal-shell .product-selector-list,.portal-shell .quotation-product-results{gap:5px}.portal-shell .product-selector-item{background:#fff;border:1px solid #e5e7ea;border-radius:8px;min-height:52px;padding:10px 12px}.portal-shell .product-selector-item:hover{background:#fafafa;border-color:#bbc0c7}.portal-shell .product-selector-selected{box-shadow:inset 3px 0 0 var(--ui-red);border-color:#25282d!important}.portal-shell .selected-product-panel{background:#fafbfc!important;padding:16px!important}.portal-shell .selected-product-code{background:#fff;border-color:#dfe2e6;border-radius:999px}.portal-shell .purchase-cost-warning{background:#fff5f6;border:1px solid #f0c9cc;border-radius:7px}.portal-shell .quotation-client-header,.portal-shell .quotation-title-row,.portal-shell .section-header-row,.portal-shell .commercial-block-heading{gap:12px}.portal-shell .quotation-item-editor{background:#f7f8f9;border-top:2px solid #282b30;padding:14px}.portal-shell .quotation-item-edit-preview>span{background:#fff;border-color:#e0e3e7;border-radius:7px}.portal-shell .corporate-credit-note{border-left:3px solid var(--ui-red);background:#fafafa;border-radius:0 7px 7px 0}.portal-shell .corporate-gst-workspace{background:#fafbfc!important}.portal-shell .gst-type-pill{color:#fff;background:#202226}.portal-shell .internal-profit-card{border-top:3px solid #202226!important}.portal-shell .profitability-grid{gap:8px}.portal-shell .profitability-grid>div{background:#fafbfc;border-color:#e4e6e9;border-radius:8px;min-height:66px;padding:11px}.portal-shell .profitability-grid strong{font-size:13px}.portal-shell .margin-health{border-radius:999px}.portal-shell .service-editor-list,.portal-shell .quote-service-editor-list{gap:7px}.portal-shell .service-editor-list:before{content:"STATUS     SERVICE NAME                                  DISPLAY VALUE";color:#9298a1;font-family:var(--font-geist-mono), monospace;letter-spacing:.04em;white-space:pre;padding:0 11px 2px;font-size:8px;font-weight:700;display:block}.portal-shell .service-editor-row,.portal-shell .quote-service-editor-row{background:#fafbfc;border:1px solid #e4e6e9;border-radius:8px;grid-template-columns:84px minmax(230px,1.6fr) minmax(150px,.7fr) auto;align-items:center;gap:9px;padding:9px 10px}.portal-shell .service-editor-row:hover,.portal-shell .quote-service-editor-row:hover{background:#f7f8f9;border-color:#d3d7dc}.portal-shell .service-active-control{color:#5f6670;min-height:40px;margin:0;font-size:8.5px;font-weight:780}.portal-shell .service-active-control input{accent-color:#1d1f22}.portal-shell .service-remove-button{color:#b3151e!important}.portal-shell .page2-template-card{background:#fafbfc;border-color:#e0e3e6;border-radius:9px}.portal-shell .page2-template-note{border-left-color:var(--ui-red);background:#fff6f6;border-radius:0 7px 7px 0}.portal-shell .sticky-settings-actions{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#f4f5f7f0;border-top:1px solid #dcdfe3e6;margin:0 -30px -48px;padding:12px 30px 16px;bottom:0}.portal-shell .order-two-column{gap:14px!important}.portal-shell .order-metric-grid{gap:8px}.portal-shell .order-metric{background:#fafbfc!important;border:1px solid #e5e7ea!important;border-radius:8px!important}.portal-shell .order-metric-highlight{background:#fff7f7!important;border-color:#f0cfd2!important}.portal-shell .order-stage-grid{gap:8px!important}.portal-shell .order-stage-grid>button,.portal-shell .order-stage-grid>div{border-radius:8px!important}.portal-shell .stage-number{border-radius:7px;width:23px;height:23px}.portal-shell .order-table-card{border-radius:var(--ui-radius)!important}.portal-shell .serial-input{min-width:145px}.portal-shell .stage-history-item,.portal-shell .system-timeline-row{border-color:#e6e8eb!important}.portal-shell .system-record-summary,.portal-shell .test-report-summary-grid,.portal-shell .test-report-info-grid{gap:10px!important}.portal-shell .system-summary-card,.portal-shell .test-report-summary-grid>div,.portal-shell .test-report-info-grid>div{border-color:#e4e6e9!important;border-radius:8px!important}.portal-shell .test-hardware-row,.portal-shell .system-payment-row,.portal-shell .system-document-list>*{border-color:#e7e9ec!important}.portal-shell .test-report-save-bar{box-shadow:var(--ui-shadow-md);border-radius:9px}.portal-shell :is(.empty-state,.table-message,.quotations-empty,.orders-empty,.test-register-empty,.system-record-empty,.quotation-empty-items,.dashboard-empty-row){color:#858c95!important;font-size:11px!important}.portal-shell .empty-state{background:#fafbfc;border:1px dashed #cfd4da;border-radius:10px}.portal-shell .modal-backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1214176b}.portal-shell .modal-card,.portal-shell .quick-create-panel,.portal-shell .bulk-import-panel{border:1px solid #ffffff59;border-radius:12px!important;box-shadow:0 24px 70px #0c0f1238!important}.portal-shell .modal-header,.portal-shell .quick-create-header,.portal-shell .bulk-import-header{border-bottom-color:#e7e9ec!important}.portal-shell .modal-actions,.portal-shell .quick-create-footer,.portal-shell .bulk-import-footer{background:#fafbfc!important;border-top-color:#e7e9ec!important}@media (max-width:1180px){.portal-shell{grid-template-columns:190px minmax(0,1fr)}.portal-content{padding:22px 22px 42px}.portal-shell .sticky-settings-actions{margin-bottom:-42px;margin-left:-22px;margin-right:-22px;padding-left:22px;padding-right:22px}}@media (max-width:900px){.portal-shell{grid-template-columns:74px minmax(0,1fr)}.portal-sidebar{padding-left:9px;padding-right:9px}.portal-brand{justify-content:center;padding-left:0;padding-right:0}.portal-brand>div:last-child,.portal-nav-label,.portal-nav-text,.portal-nav-indicator,.portal-sidebar-footer{display:none}.portal-navigation{margin-top:16px}.portal-nav-item{justify-content:center;padding:0}.portal-nav-icon{width:34px;height:34px}.portal-shell .service-editor-row,.portal-shell .quote-service-editor-row{grid-template-columns:80px 1fr 1fr}.portal-shell .service-editor-row>.table-button,.portal-shell .quote-service-editor-row>.table-button{grid-column:3}}@media (max-width:700px){.portal-shell{display:block}.portal-sidebar{z-index:40;border-right:0;border-bottom:1px solid var(--ui-border);width:100%;height:auto;padding:8px 10px;position:sticky;top:0}.portal-brand,.portal-topbar{display:none}.portal-navigation{grid-template-columns:repeat(8,minmax(42px,1fr));gap:4px;margin:0;overflow-x:auto}.portal-nav-item{min-height:40px}.portal-nav-icon{width:32px;height:32px}.portal-content{padding:18px 14px 34px}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header){flex-direction:column!important;align-items:flex-start!important}.portal-shell .stats-grid,.portal-shell .dashboard-grid{grid-template-columns:1fr!important}.portal-shell .service-editor-list:before{display:none}.portal-shell .service-editor-row,.portal-shell .quote-service-editor-row{grid-template-columns:1fr}.portal-shell .service-editor-row>.table-button,.portal-shell .quote-service-editor-row>.table-button{grid-column:auto}.portal-shell .sticky-settings-actions{margin:0 -14px -34px;padding:10px 14px 14px}}.portal-shell .service-editor-section-head{border-bottom:1px solid #eceef0;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:20px;padding-bottom:9px;display:flex}.portal-shell .service-editor-section-head>div{gap:3px;display:grid}.portal-shell .service-editor-section-head strong{font-size:11.5px;font-weight:760}.portal-shell .service-editor-section-head>div span,.portal-shell .service-editor-section-head>span{color:#8a919a;font-size:9px}.portal-shell .service-editor-section-head>span{white-space:nowrap;background:#f1f2f4;border-radius:999px;padding:5px 8px;font-weight:700}.portal-shell .service-editor-columns{color:#969ca5;letter-spacing:.09em;grid-template-columns:84px minmax(230px,1.6fr) minmax(150px,.7fr) auto;gap:9px;padding:10px 11px 2px;font-size:7.5px;font-weight:800;display:grid}.portal-shell .service-editor-columns span:last-child{text-align:center;min-width:62px}.portal-shell .service-editor-list:before{display:none!important}.portal-shell .service-editor-row .form-field>label,.portal-shell .quote-service-editor-row .form-field>label{display:none}.portal-shell .service-editor-row .form-field,.portal-shell .quote-service-editor-row .form-field{gap:0}@media (max-width:900px){.portal-shell .service-editor-columns{grid-template-columns:80px 1fr 1fr}.portal-shell .service-editor-columns span:last-child{display:none}}@media (max-width:700px){.portal-shell .service-editor-columns{display:none}.portal-shell .service-editor-section-head{flex-direction:column;align-items:flex-start}.portal-shell .service-editor-row .form-field>label,.portal-shell .quote-service-editor-row .form-field>label{display:block}}.portal-shell{font-size:14px;line-height:1.45}.portal-shell .portal-brand strong{font-size:13px!important}.portal-shell .portal-brand span{font-size:11px!important}.portal-shell .portal-nav-label{font-size:10px!important}.portal-shell .portal-nav-item,.portal-shell .portal-nav-text{font-size:14px!important}.portal-shell .portal-sidebar-footer-kicker{font-size:10px!important}.portal-shell .portal-sidebar-footer strong{font-size:11.5px!important}.portal-shell .portal-sidebar-footer>span:last-child{font-size:10.5px!important}.portal-shell .portal-topbar-kicker{font-size:9.5px!important}.portal-shell .portal-topbar-title>strong{font-size:15px!important}.portal-shell .portal-admin-avatar,.portal-shell .portal-admin strong{font-size:11px!important}.portal-shell .portal-admin>div span{font-size:9.5px!important}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header) h1{font-size:28px!important}.portal-shell :is(.dashboard-page-header,.products-header,.quotations-header,.orders-header,.systems-header,.test-reports-register-header,.system-record-header,.test-report-header) p{font-size:13.5px!important;line-height:1.6!important}.portal-shell :is(.page-kicker,.card-kicker,.section-kicker,.quotations-kicker,.orders-kicker){font-size:10.5px!important}.portal-shell :is(.settings-card h2,.form-card h2,.table-card h2,.dashboard-card h3,.system-record-card h2,.test-report-card h2){font-size:17px!important}.portal-shell .settings-help,.portal-shell :is(p,li){font-size:13px;line-height:1.55}.portal-shell :is(.filter-field,.form-field,.dashboard-filter-field,.quotation-filter-field,.orders-filter-field,.systems-filter-field,.test-register-filter,.test-register-search) label,.portal-shell label{line-height:1.3;font-size:10.5px!important}.portal-shell :is(input[type=text],input[type=number],input[type=date],input[type=email],input[type=tel],input[type=search],select,textarea){font-size:13.5px!important}.portal-shell :is(input[type=text],input[type=number],input[type=date],input[type=email],input[type=tel],input[type=search],select){min-height:42px}.portal-shell textarea{line-height:1.5}.portal-shell .input-with-suffix,.portal-shell .input-with-prefix{min-height:42px}.portal-shell :is(.primary-button,.secondary-button,.table-button,.danger-button,.orders-primary-button,.orders-secondary-button,.quotation-open-button,.quotation-preview-button,.quotation-order-button,.system-open-button,.preview-button){min-height:38px;font-size:12.5px!important}.portal-shell table th{height:40px;font-size:10.5px!important}.portal-shell table td{line-height:1.45;padding-top:12px!important;padding-bottom:12px!important;font-size:13px!important}.portal-shell :is(.table-subtext,.orders-subtext,.quotation-table-subtext){line-height:1.4;font-size:11px!important}.portal-shell :is(.status-badge,.status-active,.status-inactive,.serial-status,.gst-type-pill){min-height:26px;font-size:10.5px!important}.portal-shell .stat-label,.portal-shell .dashboard-filter-field label{font-size:10.5px!important}.portal-shell .stat-value{font-size:29px!important}.portal-shell .stat-description{font-size:11.5px!important}.portal-shell .dashboard-period-text,.portal-shell .dashboard-metric-grid span,.portal-shell .payment-overview-grid span,.portal-shell .pipeline-grid span,.portal-shell .pipeline-summary span,.portal-shell .client-summary-grid span,.portal-shell .dashboard-activity-row span{font-size:12.5px!important}.portal-shell .dashboard-activity-row>div>strong,.portal-shell .dashboard-activity-row>strong,.portal-shell .top-client-name strong,.portal-shell .component-ranking-name strong{font-size:13.5px!important}.portal-shell .client-summary-grid small,.portal-shell .dashboard-subheading,.portal-shell .top-client-name span,.portal-shell .component-ranking-name span,.portal-shell .component-ranking-result span,.portal-shell .component-ranking-result small{font-size:11px!important}.portal-shell .top-client-rank,.portal-shell .component-ranking-number{font-size:12px!important}.portal-shell .quotation-summary,.portal-shell .summary-row{font-size:13px!important}.portal-shell .selected-product-panel,.portal-shell .quotation-item-editor,.portal-shell .corporate-gst-workspace,.portal-shell .internal-profit-card,.portal-shell .profitability-grid>div{font-size:13px}.portal-shell .product-selector-item{min-height:56px;font-size:13px}.portal-shell .service-editor-section-head strong{font-size:13.5px!important}.portal-shell .service-editor-section-head>div span,.portal-shell .service-editor-section-head>span{font-size:11px!important}.portal-shell .service-editor-columns{font-size:9.5px!important}.portal-shell .service-active-control{font-size:10.5px!important}.portal-shell .service-editor-row .form-field input,.portal-shell .quote-service-editor-row .form-field input{min-height:42px}.portal-shell :is(.empty-state,.table-message,.quotations-empty,.orders-empty,.test-register-empty,.system-record-empty,.quotation-empty-items,.dashboard-empty-row){line-height:1.55;font-size:13px!important}.portal-shell small{font-size:11px}.portal-shell :is(.modal-card,.quick-create-panel,.bulk-import-panel){font-size:13px}.portal-shell :is(.modal-card,.quick-create-panel,.bulk-import-panel) h2,.portal-shell :is(.modal-card,.quick-create-panel,.bulk-import-panel) h3{font-size:18px!important}.portal-login-page,.portal-auth-loading{color:#111;background:radial-gradient(circle at 100% 0,#d3181f14,#0000 34%),#f4f5f7;justify-content:center;align-items:center;min-height:100vh;padding:28px;display:flex}.portal-login-card{background:#fff;border:1px solid #e1e3e7;border-radius:16px;width:min(440px,100%);padding:30px;box-shadow:0 18px 50px #00000014}.portal-login-brand{border-bottom:1px solid #eceef1;align-items:center;gap:14px;padding-bottom:22px;display:flex}.portal-login-brand img{object-fit:contain;width:82px;height:44px}.portal-login-brand div{flex-direction:column;gap:2px;display:flex}.portal-login-brand span,.portal-login-heading>span{color:#d3181f;letter-spacing:.1em;font-size:11px;font-weight:800}.portal-login-brand strong{font-size:16px}.portal-login-heading{padding:26px 0 20px}.portal-login-heading h1{margin:6px 0 7px;font-size:30px;line-height:1.1}.portal-login-heading p{color:#666b73;margin:0;font-size:13.5px;line-height:1.55}.portal-login-form{gap:16px;display:grid}.portal-login-form label{letter-spacing:.06em;color:#4a4f57;gap:7px;font-size:11px;font-weight:800;display:grid}.portal-login-form input{color:#111;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #d7d9de;border-radius:9px;outline:none;padding:0 13px;font-size:14px}.portal-login-form input:focus{border-color:#d3181f;box-shadow:0 0 0 3px #d3181f14}.portal-login-submit{width:100%;min-height:46px;margin-top:4px}.portal-login-error{color:#a90f15;background:#fff5f5;border:1px solid #f0c7c9;border-radius:8px;padding:10px 12px;font-size:12.5px;line-height:1.45}.portal-login-footer{color:#777c84;text-align:center;border-top:1px solid #eceef1;margin-top:22px;padding-top:18px;font-size:11.5px}.portal-login-loading{color:#4d5259;text-align:center;font-size:13px}.portal-auth-loading-card{background:#fff;border:1px solid #e2e4e8;border-radius:10px;align-items:center;gap:11px;padding:17px 20px;font-size:13px;display:flex;box-shadow:0 10px 35px #0000000f}.portal-auth-loading-dot{background:#d3181f;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 5px #d3181f1a}.portal-admin-authenticated{gap:10px}.portal-admin-copy{min-width:0}.portal-admin-copy span{text-overflow:ellipsis;white-space:nowrap;max-width:210px;overflow:hidden}.portal-logout-button{color:#24272c;cursor:pointer;background:#fff;border:1px solid #d7d9de;border-radius:7px;min-height:34px;padding:0 11px;font-size:11.5px;font-weight:750}.portal-logout-button:hover{color:#d3181f;border-color:#d3181f}@media (max-width:760px){.portal-login-page,.portal-auth-loading{padding:16px}.portal-login-card{padding:22px}.portal-admin-copy{display:none}}.portal-shell .quotation-terms-editor{gap:10px;margin:18px 0 14px;display:grid}.portal-shell .quotation-term-row{background:#fafbfc;border:1px solid #e1e5eb;border-radius:8px;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px;display:grid}.portal-shell .quotation-term-number{color:#fff;background:#171717;border-radius:7px;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:800;display:inline-flex}.portal-shell .quotation-term-row textarea{resize:vertical;width:100%;min-height:58px}.portal-shell .quotation-term-actions{align-items:center;gap:6px;display:flex}.portal-shell .quotation-term-actions .table-button:disabled{opacity:.38;cursor:not-allowed}.portal-shell .quotation-terms-field-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px;display:flex}.portal-shell .quotation-terms-field-head label{margin:0}.portal-shell .quotation-terms-field-head span,.portal-shell .quotation-terms-helper{color:#6b7280;font-size:12px;line-height:1.4}.portal-shell .quotation-terms-helper{margin:-2px 0 8px}@media (max-width:760px){.portal-shell .quotation-term-row{grid-template-columns:32px minmax(0,1fr)}.portal-shell .quotation-term-actions{grid-column:2;justify-content:flex-start}.portal-shell .quotation-terms-field-head{flex-direction:column;align-items:flex-start}}.portal-content>.client-detail-page{width:100%;max-width:1520px;margin:0 auto;padding:0!important}.client-row-clickable{cursor:pointer}.client-row-clickable:focus-visible{outline:2px solid var(--ui-red);outline-offset:-2px}.client-detail-header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px;display:flex}.client-detail-header h1{color:var(--ui-text);letter-spacing:-.025em;margin:4px 0 5px;font-size:25px;line-height:1.15}.client-detail-header p{color:var(--ui-muted);text-transform:capitalize;margin:0;font-size:11.5px;line-height:1.55}.client-detail-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.client-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.client-summary-card,.client-detail-card,.client-history-card{border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-surface);box-shadow:var(--ui-shadow-sm)}.client-summary-card{flex-direction:column;justify-content:center;min-height:105px;padding:16px;display:flex}.client-summary-card span{color:#7b828b;letter-spacing:.06em;text-transform:uppercase;font-size:9px;font-weight:800}.client-summary-card strong{color:#20242a;letter-spacing:-.02em;margin-top:7px;font-size:20px;line-height:1.1}.client-summary-card small{color:#9298a0;margin-top:6px;font-size:9px}.client-summary-card-alert strong,.client-balance-due{font-weight:800;color:var(--ui-red)!important}.client-account-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.75fr);gap:14px;margin-bottom:14px;display:grid}.client-detail-card,.client-history-card{padding:20px}.client-history-card{margin-bottom:14px}.client-section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.client-section-heading h2{color:var(--ui-text);letter-spacing:-.01em;margin:3px 0 0;font-size:15px}.client-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;display:grid}.client-detail-field{min-width:0}.client-detail-field-wide{grid-column:1/-1}.client-detail-field span{color:#8a9199;letter-spacing:.06em;text-transform:uppercase;margin-bottom:4px;font-size:8.5px;font-weight:800;display:block}.client-detail-field strong{color:#2c3137;overflow-wrap:anywhere;white-space:pre-line;font-size:11px;font-weight:650;line-height:1.5;display:block}.client-commercial-lines{gap:0;display:grid}.client-commercial-lines>div{color:#565d66;border-bottom:1px solid #eceef0;justify-content:space-between;align-items:center;gap:15px;min-height:39px;font-size:10.5px;display:flex}.client-commercial-lines>div:last-child{border-bottom:0}.client-commercial-lines strong{color:#24292f;font-size:11px}.client-commercial-balance strong{color:var(--ui-red);font-size:14px}.client-table-wrap{width:100%;overflow-x:auto}.client-history-card table{border-collapse:collapse;width:100%}.client-history-card th{color:#7b828a;letter-spacing:.06em;text-align:left;white-space:nowrap;background:#fafbfc;border-bottom:1px solid #e1e4e8;padding:9px 10px;font-size:8.5px;font-weight:800}.client-history-card td{color:#383e45;vertical-align:middle;border-bottom:1px solid #eef0f2;padding:11px 10px;font-size:10.5px}.client-history-card tbody tr:last-child td{border-bottom:0}.client-history-card tbody tr:hover td{background:#fafbfc}.client-record-link{color:#20252b;font-weight:800;text-decoration:none}.client-record-link:hover{color:var(--ui-red)}.client-history-note{color:#9a5a00;margin-left:7px;font-size:8.5px;font-weight:700;display:inline-block}.client-history-empty{color:#858c95;padding:18px 0 4px;font-size:10.5px}@media (max-width:1120px){.client-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.client-account-grid{grid-template-columns:1fr}}@media (max-width:760px){.client-detail-header{flex-direction:column}.client-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-detail-fields{grid-template-columns:1fr}.client-detail-field-wide{grid-column:auto}}.client-view-link{color:#20252b;white-space:nowrap;font-size:9.5px;font-weight:800}.client-row-clickable:hover .client-view-link{color:var(--ui-red)}.historical-page{gap:18px;display:grid}.historical-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.historical-header h1{margin:3px 0 6px;font-size:30px}.historical-header p,.historical-help,.historical-save-card p,.historical-success p{color:#667085;margin:0}.historical-warning{background:#fff7f7;border:1px solid #f5c2c7;border-left:4px solid #d71920;border-radius:10px;align-items:flex-start;gap:16px;padding:14px 16px;display:flex}.historical-warning strong{color:#b42318;white-space:nowrap}.historical-warning span{color:#475467}.historical-card,.historical-success{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:18px;box-shadow:0 1px 2px #10182808}.historical-section-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.historical-section-head span,.historical-success>div>span{letter-spacing:.08em;color:#d71920;font-size:11px;font-weight:800}.historical-section-head h2,.historical-save-card h2,.historical-success h2{margin:3px 0 0;font-size:19px}.historical-mode-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.historical-mode{text-align:left;cursor:pointer;background:#fff;border:1px solid #d0d5dd;border-radius:10px;gap:5px;padding:15px;display:grid}.historical-mode strong{color:#101828;font-size:15px}.historical-mode span{color:#667085;font-size:13px}.historical-mode-active{background:#fff8f8;border:2px solid #d71920;padding:14px}.historical-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.historical-field-wide{grid-column:span 2}.historical-page textarea{resize:vertical}.historical-components,.historical-payment-list{gap:10px;margin-top:14px;display:grid}.historical-component-row{background:#fcfcfd;border:1px solid #e4e7ec;border-radius:10px;grid-template-columns:34px 1.1fr 1fr 2fr .65fr 1.2fr 1fr 1.2fr 1.1fr 1.8fr auto;align-items:end;gap:10px;padding:12px;display:grid}.historical-component-number{color:#fff;background:#111827;border-radius:50%;place-self:center;place-items:center;width:26px;height:26px;font-size:12px;font-weight:800;display:grid}.historical-small-field{min-width:70px}.historical-component-product{min-width:150px}.historical-remove{align-self:end;height:38px}.historical-summary-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-top:16px;display:grid}.historical-summary-grid-three{grid-template-columns:repeat(3,1fr)}.historical-summary-box{background:#fafafa;border:1px solid #e4e7ec;border-radius:9px;gap:4px;padding:12px;display:grid}.historical-summary-box span{text-transform:uppercase;letter-spacing:.05em;color:#667085;font-size:11px;font-weight:700}.historical-summary-box strong{color:#101828;font-size:17px}.historical-summary-alert{background:#fff7f7;border-color:#f6b8bb}.historical-summary-alert strong{color:#b42318}.historical-payment-row{border-bottom:1px solid #eaecf0;grid-template-columns:1fr 1fr 1.2fr 1.4fr 2fr auto;align-items:end;gap:10px;padding-bottom:10px;display:grid}.historical-stage-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px;display:grid}.historical-save-card{border-top:3px solid #111;justify-content:space-between;align-items:center;gap:20px;display:flex}.historical-success{background:#f6fef9;border:2px solid #12b76a;justify-content:space-between;align-items:center;gap:18px;display:flex}.historical-success-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}@media (max-width:1350px){.historical-component-row{grid-template-columns:34px repeat(4,1fr)}.historical-component-row .historical-remove{grid-column:-2/-1}.historical-form-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:850px){.historical-mode-grid,.historical-summary-grid,.historical-summary-grid-three,.historical-stage-grid,.historical-form-grid{grid-template-columns:1fr}.historical-field-wide{grid-column:span 1}.historical-component-row,.historical-payment-row{grid-template-columns:1fr}.historical-component-number{justify-self:start}.historical-save-card,.historical-success,.historical-warning{flex-direction:column}.historical-success-actions{justify-content:flex-start}}.portal-login-success{color:#245f32;background:#f3fbf5;border:1px solid #c8dfce;border-radius:8px;padding:10px 12px;font-size:12.5px;line-height:1.45}.portal-login-forgot{color:#5c6169;font:inherit;cursor:pointer;text-underline-offset:3px;background:0 0;border:0;justify-self:center;padding:4px 8px;font-size:12.5px;font-weight:700;text-decoration:underline}.portal-login-forgot:hover{color:#d3181f}.portal-login-forgot:disabled{cursor:default;opacity:.6}
