:root{--navy:#16273e;--navy-2:#213851;--orange:#e99852;--orange-soft:#fff1e3;--bg:#f5f6f8;--ink:#203047;--muted:#738094;--line:#e7ebf0;--green:#247f66;--red:#c55252;--shadow:0 6px 30px #142b4510;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #e9985277;outline-offset:3px}button svg,.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;line-height:1.2}h2{font-size:19px;letter-spacing:-.3px}h3{font-size:15px}small{font-size:11px}p{line-height:1.6}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase;margin-bottom:10px}.initial-loading{height:100vh;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:15px;color:var(--muted)}
.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#a6b5c6;position:fixed;inset:0 auto 0 0;width:232px;display:flex;flex-direction:column;padding:30px 18px 18px;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:white;padding:0 14px 30px}.brand img{width:38px;height:38px}.brand strong{font-size:24px;font-style:italic;letter-spacing:1px}.brand small{display:block;font-size:8px;letter-spacing:3px;font-style:normal;color:#b6c2d0;margin-top:1px}.nav-group{font-size:9px;letter-spacing:1.4px;padding:18px 16px 9px;color:#73879f}.nav-link{display:flex;align-items:center;gap:12px;padding:11px 14px;border-radius:8px;margin-bottom:3px;font-size:12px;transition:.15s}.nav-link:hover{background:#ffffff09;color:white}.nav-link.active{background:#e9985218;color:#ffc088}.nav-link.active:before{content:"";position:absolute;left:0;width:3px;height:22px;border-radius:0 3px 3px 0;background:var(--orange)}.nav-link .icon{width:18px;height:18px}.nav-link .count{margin-left:auto;background:#ffffff10;padding:2px 6px;border-radius:5px;font-size:10px}.side-bottom{margin-top:auto;padding:18px 12px 0}.side-status{display:flex;gap:7px;align-items:center;font-size:10px;margin-bottom:12px}.dot{width:6px;height:6px;background:#63b99d;display:inline-block;border-radius:50%}.side-bottom a{display:block;font-size:11px;color:#d8e1eb;line-height:2}.sidebar nav{overflow-y:auto;scrollbar-width:thin}.main-shell{grid-column:2;min-width:0}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:20px;position:sticky;top:0;z-index:15}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500}.breadcrumb span{padding:0 12px;color:#c6cdd8}.top-actions{display:flex;align-items:center;gap:16px}.company-select{border:0;color:var(--ink);font-size:12px;background:transparent;max-width:210px}.icon-button{border:1px solid var(--line);background:white;border-radius:8px;padding:8px;display:inline-flex;align-items:center;justify-content:center;color:#6c7d90;position:relative;min-height:36px;min-width:36px}.icon-button .count-dot{position:absolute;right:4px;top:3px;width:6px;height:6px;background:var(--orange);border-radius:50%}.avatar{height:34px;width:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--orange-soft);color:#bd763e;font-weight:700;font-size:12px;border:0}.main{padding:34px 38px 50px;max-width:1750px;margin:auto}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.page-heading p{color:var(--muted);font-size:12px;margin-top:9px}.heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{border:0;border-radius:7px;padding:11px 16px;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.4;min-height:40px;white-space:nowrap;background:var(--navy);color:white}.btn:hover{background:var(--navy-2)}.btn.orange{background:var(--orange);color:#352718}.btn.orange:hover{background:#f2a869}.btn.secondary{background:white;border:1px solid #dfe5ed;color:var(--ink)}.btn.secondary:hover{background:#fafbfc}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--ink)}.btn.small{padding:7px 11px;font-size:11px;min-height:32px}.btn.danger{color:var(--red);background:#fff2f1}.btn.success{color:var(--green);background:#e9f6ef}.btn.wide{width:100%}.link{background:none;border:0;color:#bc763e;padding:0;font-size:12px;font-weight:600;cursor:pointer;text-align:left}.link:hover{text-decoration:underline}.button-row{display:flex;gap:8px;flex-wrap:wrap}.card{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 3px #142b4502;min-width:0}.card-pad{padding:23px}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:21px 23px;border-bottom:1px solid var(--line)}.card-heading small{display:block;color:var(--muted);font-weight:400;margin-top:6px}.card-footer{padding:14px 23px;border-top:1px solid var(--line);color:var(--muted);font-size:11px;display:flex;align-items:center;justify-content:space-between}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat{padding:22px;position:relative;min-height:126px}.stat-label{font-size:11px;color:var(--muted);margin-bottom:13px}.stat strong{font-size:28px;font-weight:650;letter-spacing:-.8px}.stat small{display:block;color:var(--muted);font-size:10px;margin-top:10px}.stat-icon{position:absolute;right:20px;top:20px;width:32px;height:32px;border-radius:9px;background:#eff3f7;display:flex;align-items:center;justify-content:center;color:#5b7493}.stat:first-child .stat-icon{background:var(--orange-soft);color:#cf8649}.stat.warning strong{color:#be7a43}.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.operations-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:20px}.operation-stat{padding:16px;border:1px solid var(--line);border-radius:9px;display:flex;gap:12px;align-items:center;text-align:left;background:white;color:var(--ink)}.operation-stat strong{display:block;font-size:22px;margin-bottom:4px}.operation-stat small{color:var(--muted)}.operation-stat .icon{color:#9caabe;width:24px;height:24px}.progress-row{display:flex;align-items:center;gap:12px;margin-bottom:16px}.progress-row span{width:94px;font-size:11px;color:var(--muted)}.progress-track{height:6px;background:#edf1f5;flex:1;border-radius:9px;overflow:hidden}.progress-fill{height:100%;background:#6f8da5;border-radius:9px}.progress-row b{font-size:11px;width:24px;text-align:right}.chart{height:170px;display:flex;align-items:end;justify-content:space-around;gap:18px;padding:16px 0 25px}.bar-group{height:100%;flex:1;display:flex;align-items:end;gap:4px;justify-content:center;position:relative}.bar{width:17px;border-radius:4px 4px 0 0;min-height:3px}.bar.in{background:#749790}.bar.out{background:#ecc5a8}.bar-label{position:absolute;bottom:-22px;font-size:9px;color:var(--muted)}.legend{display:flex;gap:16px;font-size:10px;color:var(--muted)}.legend i{display:inline-block;width:7px;height:7px;margin-right:4px;border-radius:2px}.quick-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.quick-link{display:flex;align-items:center;gap:12px;padding:18px;background:white;border:1px solid var(--line);border-radius:10px;text-align:left;color:var(--ink)}.quick-link .icon{color:#bd8256}.quick-link strong{display:block;font-size:12px}.quick-link small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.onboarding{padding:23px;background:linear-gradient(110deg,#fff8f1,#fff);border:1px solid #f3dfcd;border-radius:12px;margin-bottom:24px;display:flex;gap:22px;align-items:center;justify-content:space-between}.onboarding h3{margin-bottom:7px}.onboarding p{font-size:12px;color:#8c7968;max-width:620px}.banner{padding:14px 17px;border:1px solid #f2dfc9;background:#fff8ee;border-radius:9px;font-size:12px;color:#957041;margin-bottom:20px;line-height:1.6}.banner.error{background:#fff2f1;border-color:#f0d3d3;color:#af5252}.banner.success{background:#eef8f2;border-color:#d6eadd;color:var(--green)}.banner strong{display:block}.tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);overflow-x:auto;white-space:nowrap;margin-bottom:22px;scrollbar-width:none}.tab{border:0;background:none;color:var(--muted);font-size:11px;padding:14px 17px;border-bottom:2px solid transparent;display:flex;align-items:center;gap:7px}.tab.active{color:#b97640;border-bottom-color:var(--orange);font-weight:650}.tab .icon{width:15px;height:15px}.toolbar{display:flex;gap:10px;align-items:center;margin-bottom:17px;flex-wrap:wrap}.search{position:relative;flex:1;min-width:160px}.search .icon{position:absolute;left:13px;top:12px;color:#a1aebe;width:16px;height:16px}.search input{padding-left:39px;width:100%}.toolbar input,.toolbar select{min-height:40px;max-width:210px;font-size:12px}.toolbar .search input{max-width:none}.filter-label{font-size:10px;color:var(--muted)}input,select,textarea{border:1px solid #dfe5ed;border-radius:7px;padding:10px 12px;background:#fff;color:var(--ink);width:100%;min-width:0}input::placeholder,textarea::placeholder{color:#a1a9b6}select{padding-right:25px}textarea{resize:vertical;min-height:83px;line-height:1.5}input[type=checkbox]{width:16px;height:16px;accent-color:#c68754;margin:0;flex-shrink:0;min-height:0}input[type=file]{font-size:11px}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{color:#8a96a7;background:#fafbfc;font-weight:500;font-size:10px;padding:13px 17px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:15px 17px;border-bottom:1px solid #f0f2f5;line-height:1.6;vertical-align:middle}tbody tr:last-child td{border:0}tbody tr:hover{background:#fcfcfd}td strong{font-size:11px;font-weight:600;display:block}td small{color:var(--muted);display:block;font-size:10px}td.num{white-space:nowrap;font-variant-numeric:tabular-nums}.table-wrap{overflow:auto}.row-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end}.row-actions .icon-button{border:0;min-width:30px;min-height:30px;padding:4px}.tag{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;border-radius:5px;padding:4px 7px;font-size:9px;line-height:1.2;background:#eef1f5;color:#758399;font-weight:500}.tag.green{background:#eaf5ef;color:#3d8b69}.tag.orange{background:#fff2e4;color:#be854a}.tag.red{background:#fbeded;color:#bf6666}.tag.blue{background:#ebf1f8;color:#5d7a9e}.tag.dark{background:var(--navy);color:white}.tag .dot{width:4px;height:4px}.empty{padding:65px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.empty .empty-icon{width:55px;height:55px;background:#f0f3f7;display:flex;align-items:center;justify-content:center;border-radius:15px;color:#98a8b9;margin-bottom:5px}.empty .empty-icon .icon{width:28px;height:28px}.empty p{font-size:12px;color:var(--muted);max-width:380px}.selection-bar{display:flex;align-items:center;justify-content:space-between;background:var(--navy);color:white;padding:15px 20px;border-radius:9px;gap:12px;position:sticky;bottom:16px;margin-top:16px;box-shadow:var(--shadow);z-index:4}.selection-bar p{font-size:11px;color:#a9bacd}.selection-bar strong{font-size:19px}.selection-bar .btn.secondary{border:0}.section-space{margin-top:23px}.list-item{display:flex;gap:13px;padding:18px 22px;border-bottom:1px solid var(--line);align-items:center}.list-item:last-child{border:0}.list-item .list-icon{background:#f1f4f8;border-radius:8px;padding:10px;color:#6d829d;display:flex}.list-content{flex:1;min-width:0}.list-content strong{display:block;font-size:12px}.list-content p,.list-content small{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.6}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.info-grid dt{font-size:10px;color:var(--muted);margin-bottom:5px}.info-grid dd{margin:0;font-size:12px;line-height:1.6}.detail-intro{padding:20px;background:#f6f8fa;border-radius:10px;margin:0 0 20px}.detail-intro .customer-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.detail-intro p{font-size:11px;color:var(--muted)}.detail-products{display:grid;gap:13px}.product-card{padding:18px;border:1px solid var(--line);border-radius:10px}.product-card-top{display:flex;gap:14px;align-items:flex-start;justify-content:space-between}.product-card h3{font-size:13px;margin-bottom:6px}.product-card p{font-size:11px;color:var(--muted);margin:5px 0}.product-card .button-row{margin-top:15px}.detail-summary{display:flex;gap:30px;padding:18px 0}.detail-summary small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.detail-summary strong{font-size:22px}.month-heading{font-size:11px;font-weight:650;color:#7e8c9e;padding:19px 4px 10px;text-transform:uppercase;letter-spacing:1px}.inspection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:15px 0}.inspection-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:7px}.inspection-grid .photo-placeholder{aspect-ratio:4/3;border:1px dashed #ccd6e0;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:9px;color:var(--muted)}.gps{padding:15px;background:#f5f8fa;border-radius:8px;font-size:11px;line-height:1.6}.gps strong{display:block;color:var(--green)}.map{height:560px;border-radius:0 0 12px 12px;z-index:1}.map-marker{background:var(--navy);border:3px solid white;width:18px!important;height:18px!important;border-radius:50%;box-shadow:0 2px 9px #0003}.leaflet-popup-content{font-family:inherit;font-size:11px;line-height:1.6}.leaflet-popup-content strong{display:block}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.report-card{padding:24px}.report-card>.icon{color:#c18b5a;background:#fff3e8;width:39px;height:39px;padding:9px;border-radius:10px;margin-bottom:20px}.report-card p{font-size:11px;color:var(--muted);margin:9px 0 20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-grid .full{grid-column:1/-1}.form-field{font-size:11px;font-weight:500;display:flex;flex-direction:column;gap:7px;min-width:0}.form-field small{font-weight:400;color:var(--muted);font-size:10px;line-height:1.5}.form-section{padding:20px 0;border-bottom:1px solid var(--line)}.form-section:first-child{padding-top:0}.form-section:last-child{border:0}.form-section h3{margin-bottom:16px;font-size:13px}.form-section>p{font-size:11px;color:var(--muted);margin:-5px 0 17px}.check{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:400;line-height:1.6;padding:5px 0}.item-form{padding:16px;background:#f8fafb;border:1px solid var(--line);border-radius:9px;margin-bottom:12px}.item-form .item-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.item-form details{margin-top:13px;font-size:11px}.item-form details summary{color:#8995a6;cursor:pointer}.item-form details .form-grid{margin-top:15px}.postcode{display:flex;gap:6px}.postcode .btn{padding:8px;min-width:37px}.form-error{color:var(--red);background:#fff3f2;border:1px solid #f2d9d7;border-radius:7px;font-size:12px;padding:12px;margin-bottom:18px;line-height:1.5}.help{font-size:11px;color:var(--muted);line-height:1.7}.help a{color:#b77541;text-decoration:underline}.settings-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:22px}.settings-menu{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.amount-total{border-radius:9px;background:#f4f7fa;padding:18px;display:flex;justify-content:space-between;align-items:center;margin:16px 0}.amount-total span{font-size:11px;color:var(--muted)}.amount-total strong{font-size:24px}.code{word-break:break-all;font-family:monospace;font-size:10px;background:#f2f5f8;border-radius:7px;padding:12px;line-height:1.7;white-space:pre-wrap;margin:12px 0}.review-data{display:grid;grid-template-columns:120px 1fr;font-size:12px;gap:10px}.review-data dt{color:var(--muted)}.review-data dd{margin:0}.review-description{font-size:11px;line-height:1.7;white-space:pre-wrap;background:#f6f8fa;padding:15px;border-radius:8px}.qr{width:210px;height:210px;margin:auto;display:block}.bottom-nav{display:none}#toast{position:fixed;right:28px;bottom:28px;z-index:150;padding:15px 20px;color:white;background:var(--navy);box-shadow:0 6px 25px #15283c33;border-radius:9px;font-size:12px;max-width:420px;line-height:1.5}#toast.error{background:#a55151}dialog{border:0;padding:0;border-radius:14px;box-shadow:0 25px 100px #091c3a33;max-height:92vh;width:min(760px,94vw);color:var(--ink)}dialog::backdrop{background:#0c1c3455;backdrop-filter:blur(2px)}dialog.drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(900px,88vw);border-radius:14px 0 0 14px}dialog .modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 27px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;background:white}dialog .modal-heading small{color:var(--muted);display:block;margin-top:7px;font-size:10px}dialog .modal-body{padding:24px 27px 30px}dialog .modal-footer{display:flex;gap:9px;justify-content:flex-end;padding-top:22px;margin-top:10px;border-top:1px solid var(--line)}dialog h2{font-size:21px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:white}.login-story{background:var(--navy);color:white;padding:50px 60px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}.login-story .brand{padding:0}.login-story h1{font-size:44px;line-height:1.18;letter-spacing:-1.5px;max-width:470px;margin-top:40px}.login-story h1 span{color:#f4b17c}.login-story p{font-size:14px;color:#91a6bc;max-width:370px;margin-top:20px}.login-story .story-footer{font-size:10px;color:#8b9bb0;line-height:1.9}.container-art{width:100%;max-width:460px;margin:38px 0 18px;opacity:.9}.login-main{display:flex;align-items:center;justify-content:center;padding:55px}.login-form{width:100%;max-width:350px}.login-form h2{font-size:26px;margin-bottom:10px}.login-form>p{font-size:12px;color:var(--muted);margin-bottom:32px}.login-form label{margin-bottom:18px}.login-form .btn{margin-top:8px}.login-footer{font-size:10px;color:#9ca7b4;margin-top:30px;line-height:1.8}.login-footer a{color:#b47849}.setup-details{font-size:11px;line-height:1.7;margin-top:20px}.setup-details summary{cursor:pointer;color:#b27a4d;margin-bottom:14px}.setup-details code{font-size:10px;word-break:break-all}.mobile-menu{display:none}.offline-line{color:#b07d44;font-size:10px}.global-banner{margin:-10px 0 22px}.install-instructions{margin-top:15px}
@media(min-width:1600px){.main{padding-top:42px}.stat{min-height:138px}.dashboard-columns{grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr)}}
@media(max-width:1150px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px;padding-left:10px;padding-right:10px}.main{padding:28px 25px}.topbar{padding:0 25px}.brand{padding-left:10px;gap:8px}.brand strong{font-size:20px}.nav-link{font-size:11px}.stats{gap:12px}.stat{padding:18px}.stat strong{font-size:24px}.stat-icon{right:13px;top:17px;width:28px;height:28px}.stat-label{max-width:100px}.dashboard-columns{grid-template-columns:1.3fr 1fr;gap:16px}.operations-summary{gap:10px;padding:14px}.operation-stat{padding:11px}.quick-grid,.report-grid{grid-template-columns:repeat(2,1fr)}.settings-columns{grid-template-columns:1fr}.login-story{padding:40px}.login-story h1{font-size:35px}.login-main{padding:35px}td,th{padding-left:13px;padding-right:13px}}
@media(max-width:800px){.sidebar{width:76px;padding:23px 10px}.shell{grid-template-columns:76px minmax(0,1fr)}.brand{padding:0 8px 25px}.brand span,.nav-group,.nav-link .nav-name,.nav-link .count,.side-bottom{display:none}.nav-link{justify-content:center;padding:13px 6px}.nav-link .icon{width:20px;height:20px}.main{padding:26px 22px}.topbar{height:65px;padding:0 22px}.top-actions{gap:10px}.company-select{max-width:150px}.breadcrumb{font-size:10px}.stats{grid-template-columns:repeat(2,1fr)}.stat{min-height:124px}.dashboard-columns{grid-template-columns:1fr}.onboarding{align-items:flex-start;flex-direction:column;gap:15px}.onboarding .button-row{width:100%}.page-heading{align-items:flex-start}h1{font-size:26px}.heading-actions .btn{font-size:11px;padding:10px}.login-page{grid-template-columns:1fr}.login-story{padding:30px;min-height:280px;display:none}.login-main{padding:40px 28px;min-height:100vh}.login-main:before{content:"";position:absolute;inset:0 0 auto;height:7px;background:var(--navy)}.login-form:before{content:"";display:block;width:50px;height:50px;background:url('/gestao/icon.svg') center/contain;margin-bottom:35px}dialog.drawer{width:92vw}.form-grid.three{grid-template-columns:1fr 1fr}.detail-summary{gap:25px}.report-grid{gap:12px}}
@media(max-width:560px){body{font-size:13px}.shell{display:block}.sidebar{display:none}.main-shell{padding-bottom:76px}.topbar{height:62px;padding:0 18px;position:sticky}.breadcrumb{display:none}.company-select{font-weight:600;font-size:12px;max-width:205px;padding-left:0}.top-actions{margin-left:auto;gap:10px}.top-actions .avatar{width:30px;height:30px}.main{padding:23px 16px 30px}.page-heading{margin-bottom:23px;gap:12px}.page-heading h1{font-size:25px;letter-spacing:-.8px}.page-heading p{font-size:11px;margin-top:7px}.eyebrow{font-size:8px;margin-bottom:8px}.heading-actions .btn{min-height:36px;padding:9px 11px;gap:5px}.heading-actions .btn svg{width:15px;height:15px}.heading-actions .hide-mobile,.hide-mobile{display:none!important}.stats{gap:10px;margin-bottom:17px}.stat{padding:17px 14px;min-height:119px;border-radius:10px}.stat strong{font-size:24px}.stat-label{font-size:10px;margin-bottom:11px}.stat small{font-size:9px;margin-top:9px}.stat-icon{right:13px;top:15px;width:25px;height:25px}.stat-icon .icon{width:14px;height:14px}.onboarding{padding:18px;margin-bottom:18px}.onboarding h3{font-size:13px}.onboarding p{font-size:11px}.dashboard-columns{gap:16px;margin-bottom:16px}.card-heading{padding:18px 17px}.card-heading h3{font-size:13px}.card-pad{padding:18px}.card-footer{padding:13px 17px}.operations-summary{padding:14px;gap:10px}.operation-stat{padding:12px;gap:9px}.operation-stat strong{font-size:20px}.operation-stat small{font-size:9px}.operation-stat .icon{width:21px;height:21px}.quick-grid{grid-template-columns:1fr 1fr;gap:9px}.quick-link{padding:15px 11px;gap:8px}.quick-link strong{font-size:10px}.quick-link small{font-size:9px}.quick-link .icon{width:18px;height:18px}.tabs{margin-bottom:15px}.tab{padding:12px;font-size:10px}.toolbar{gap:8px;margin-bottom:13px}.toolbar input,.toolbar select{max-width:none;min-width:0;font-size:11px;min-height:39px}.toolbar .search{flex-basis:100%}.toolbar .filter-select{flex:1;width:0}.toolbar input[type=month]{width:145px;flex:none}.table-wrap.responsive table,.table-wrap.responsive tbody,.table-wrap.responsive tr,.table-wrap.responsive td{display:block}.table-wrap.responsive thead{display:none}.table-wrap.responsive tr{padding:15px 16px;border-bottom:1px solid var(--line);position:relative}.table-wrap.responsive tr:last-child{border:0}.table-wrap.responsive td{padding:3px 0;border:0;line-height:1.6}.table-wrap.responsive td:before{content:attr(data-label);font-size:9px;color:#9ca7b5;display:inline-block;min-width:88px;margin-right:6px}.table-wrap.responsive td:first-child:before,.table-wrap.responsive td.actions:before{display:none}.table-wrap.responsive td strong{display:inline;font-size:12px}.table-wrap.responsive td small{display:inline;margin-left:8px;font-size:10px}.table-wrap.responsive td:first-child{margin-bottom:5px}.table-wrap.responsive td.actions{position:absolute;top:10px;right:10px}.table-wrap.responsive td.check-cell{float:left;width:27px}.table-wrap.responsive td.check-cell:before{display:none}.table-wrap.responsive td .tag{margin-top:3px}.selection-bar{padding:14px;gap:10px;bottom:80px;flex-wrap:wrap}.selection-bar>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:18px;width:100%}.selection-bar p{font-size:10px}.selection-bar strong{font-size:19px}.selection-bar .button-row{width:100%;justify-content:space-between}.selection-bar .btn{flex:1;font-size:10px;padding:9px}.bottom-nav{display:flex;justify-content:space-around;align-items:center;background:white;border-top:1px solid var(--line);position:fixed;bottom:0;left:0;right:0;height:calc(65px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);z-index:25}.bottom-nav a{display:flex;align-items:center;flex-direction:column;gap:5px;font-size:9px;color:#8d9bad;padding:9px 12px;min-width:60px}.bottom-nav a.active{color:#c0804b}.bottom-nav .icon{width:20px;height:20px}.report-grid{grid-template-columns:1fr 1fr;gap:10px}.report-card{padding:17px 14px}.report-card h3{font-size:12px}.report-card>.icon{width:33px;height:33px;margin-bottom:13px}.report-card p{font-size:10px;min-height:48px;margin-bottom:15px}.report-card .btn{font-size:10px;padding:7px 8px;min-height:30px}.empty{padding:45px 20px}.empty p{font-size:11px}.banner{font-size:11px;padding:12px 14px}.detail-intro{padding:15px}.detail-intro .customer-line{gap:8px}.detail-intro h3{font-size:13px}.product-card{padding:15px}.product-card-top{gap:10px}.product-card h3{font-size:12px}.product-card .btn{font-size:10px;padding:8px 10px}.info-grid{gap:12px}.info-grid dd{font-size:11px}.info-grid dt{font-size:9px}.map{height:480px}.list-item{padding:15px;gap:10px}.list-content strong{font-size:11px}.list-item .btn{padding:7px 10px;font-size:10px}.list-item .list-icon{padding:8px}dialog,dialog.drawer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0;margin:0;max-height:100dvh}dialog .modal-heading{padding:18px;gap:10px}dialog h2{font-size:19px}dialog .modal-body{padding:21px 18px 35px}dialog .modal-footer{position:sticky;bottom:-35px;padding:14px 0;background:white;margin-top:20px}.form-grid,.form-grid.three{grid-template-columns:1fr 1fr;gap:14px}.form-field{font-size:10px;gap:6px}.form-field input,.form-field select,.form-field textarea{font-size:12px;padding:10px;min-height:41px}.form-grid .mobile-full{grid-column:1/-1}.form-section{padding:19px 0}.form-section h3{font-size:12px}.check{font-size:10px}.item-form{padding:14px}.review-data{grid-template-columns:90px 1fr;font-size:11px}.review-description{font-size:10px}#toast{bottom:85px;left:16px;right:16px;max-width:none;font-size:11px;padding:13px 16px}.login-main{padding:35px 27px}.login-form{max-width:360px}.mobile-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-menu .quick-link{padding:18px 12px}.mobile-menu .quick-link strong{font-size:12px}.detail-summary strong{font-size:19px}.settings-menu .btn{font-size:10px}.code{font-size:9px}.chart{gap:10px}.photo-placeholder .icon{width:21px;height:21px}}

/* Customer search and address groups share the desktop and mobile forms. */
.customer-combobox{position:relative;min-width:0}
.customer-combobox>input[type=text]{width:100%;padding-right:30px}
.customer-combobox:after{content:'⌄';position:absolute;right:12px;top:10px;pointer-events:none;color:var(--muted)}
.customer-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:30;max-height:250px;overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 8px 24px #142b451a}
.customer-options [role=option]{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;border:0;border-radius:0;background:white;padding:10px 12px;color:var(--ink);font-size:12px;text-align:left;white-space:normal;cursor:pointer}
.customer-options [role=option]:hover,.customer-options [role=option].highlighted{background:var(--orange-soft)}
.customer-options [role=option][aria-selected=true]{font-weight:600}
.customer-options [role=option] small{font-size:10px;color:var(--muted);font-weight:400}
.customer-no-results{padding:13px;color:var(--muted);font-size:12px}
.customer-options[hidden],.customer-options [role=option][hidden],.customer-options .customer-no-results[hidden]{display:none}
.address-city-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.55fr) 70px;gap:17px;grid-column:1/-1;align-items:start}
.address-coordinates-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:17px;grid-column:1/-1}

/* Readable type and touch targets across the office and field interfaces. */
body{font-size:16px;line-height:1.5}
h1{font-size:32px}h2{font-size:23px}h3{font-size:18px}
small,.help,.banner,.empty p,.card-footer,.list-content p,.product-card p,.detail-intro p,.login-footer,.story-footer,.postcode-status{font-size:14px;line-height:1.6}
.eyebrow,.nav-group{font-size:12px;letter-spacing:1px}
.btn,.btn.small,.list-item .btn,.report-card .btn,.product-card .btn,.selection-bar .btn{font-size:15px;min-height:44px;padding:10px 14px;white-space:normal;line-height:1.35}
.icon-button{min-width:44px;min-height:44px}.avatar{width:42px;height:42px;font-size:15px}
.link{font-size:15px;line-height:1.5}.button-row,.row-actions,.heading-actions{flex-wrap:wrap;gap:10px}
input,select,textarea,.toolbar input,.toolbar select,.form-field input,.form-field select,.form-field textarea,input[type=file]{font-size:16px;min-height:46px;max-width:100%}
input[type=checkbox]{width:20px;height:20px;min-height:20px}.check{font-size:15px;line-height:1.55;align-items:flex-start}
.form-field{font-size:15px;min-width:0}.form-field small,.form-section p{font-size:14px}.form-section h3{font-size:18px}
.form-grid,.form-grid.three,.settings-columns,.dashboard-grid,.stats,.quick-grid,.report-grid{min-width:0}
.form-grid>*{min-width:0}.info-grid dt,.detail-summary small{font-size:14px}.info-grid dd{font-size:16px;overflow-wrap:anywhere}
.review-data{font-size:16px;grid-template-columns:130px minmax(0,1fr)}.review-data dd,.review-description,.code{overflow-wrap:anywhere}.review-description{font-size:15px}.code{font-size:14px}
.customer-options [role=option]{font-size:16px;min-height:48px}.customer-options [role=option] small{font-size:14px}
table{font-size:15px}table th{font-size:13px}table td,table td strong{font-size:15px}table td small{font-size:14px;line-height:1.5}
.list-content{min-width:0}.list-content strong,.product-card h3,.report-card h3,.quick-link strong,.mobile-menu .quick-link strong{font-size:17px;overflow-wrap:anywhere}
.quick-link small,.report-card p{font-size:14px}.list-item{flex-wrap:wrap}.list-item .row-actions{margin-left:auto}.detail-intro h3{font-size:20px}.detail-summary{flex-wrap:wrap}
.shell{grid-template-columns:248px minmax(0,1fr)}.sidebar{width:248px;padding:24px 15px 18px}.sidebar nav{min-height:0;flex:1;overflow-y:auto}.nav-link{font-size:14px;min-height:46px;padding:10px 12px;gap:10px}.nav-link .nav-name{line-height:1.3}.nav-link .count{font-size:13px}.side-status,.side-bottom a{font-size:13px}
.brand.company-brand{padding:0 7px 22px;gap:10px;min-width:0}.company-brand img{width:66px;height:50px;object-fit:contain;background:white;border-radius:5px;padding:3px;flex-shrink:0}.company-brand>span{min-width:0}.company-brand strong{display:block;font-size:19px;font-style:normal;letter-spacing:0;line-height:1.2;overflow-wrap:anywhere}.company-brand small{font-size:10px;letter-spacing:.7px;margin-top:5px}.brand-symbol{display:flex;align-items:center;justify-content:center;min-width:45px;height:45px;background:#ffffff12;border-radius:9px}
.breadcrumb{font-size:14px}.topbar{height:auto;min-height:78px;padding:15px 28px;gap:12px}.top-actions{gap:10px;min-width:0}.company-select{font-size:16px;max-width:270px;min-width:0}.main{padding:30px 28px}.page-heading p{font-size:16px}.page-heading{gap:20px}.heading-actions{display:flex}
.logo-preview{display:flex;align-items:center;justify-content:center;min-height:110px;padding:16px;border:1px dashed var(--line);border-radius:9px;background:#f9fafb}.logo-preview img{max-width:260px;max-height:110px;object-fit:contain}.login-story .brand img.login-logo{width:100px;height:65px;object-fit:contain;background:white;border-radius:6px;padding:5px}.login-form>p{font-size:16px}.login-main{min-width:0}.login-form{width:100%;max-width:430px}.login-form .form-field{font-size:16px}
dialog .modal-heading h2{font-size:23px}dialog .modal-heading small{font-size:14px}dialog .modal-heading>div{min-width:0;overflow-wrap:anywhere}dialog .modal-heading .icon-button{flex-shrink:0}dialog .modal-body{padding:24px 27px 32px;overflow-wrap:anywhere}dialog .modal-footer{gap:12px;flex-wrap:wrap}dialog{overscroll-behavior:contain}
.subscription-summary{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:24px}.subscription-summary small{display:block;color:var(--muted)}.subscription-summary strong{display:block;font-size:25px;margin-top:5px}.subscription-heading{padding:0 0 20px}.subscription-pix{display:grid;grid-template-columns:240px minmax(0,1fr);gap:28px;align-items:start}.pix-qr{width:240px;max-width:100%;height:auto;background:white;border:1px solid var(--line);padding:10px;border-radius:10px}.pix-instructions{min-width:0}.pix-payload{min-height:105px;font-size:14px;overflow-wrap:anywhere;word-break:break-all}.danger-banner{background:#fff0ef;border-color:#efbcb9;color:#a33131}.subscription-block{min-height:100dvh;background:var(--bg)}.subscription-block-header{background:var(--navy);color:white;padding:20px max(20px,calc((100vw - 1100px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.subscription-block-header .company-brand{padding:0}.subscription-block-header .company-select{background:white;width:auto}.subscription-block-body{max-width:1050px;margin:auto;padding:32px 24px 60px}.subscription-block-body .page-heading{margin-bottom:24px}
@media(max-width:1200px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar .breadcrumb{display:none}.page-heading{flex-wrap:wrap}.main{padding:26px 22px}.subscription-pix{grid-template-columns:210px minmax(0,1fr)}.pix-qr{width:210px}}
@media(max-width:900px){.shell{display:block}.sidebar{display:none}.main-shell{grid-column:auto}.topbar{min-height:72px;padding:12px 18px}.top-actions{width:100%;justify-content:flex-end}.company-select{margin-right:auto;max-width:calc(100% - 110px)}.main{padding:24px 18px calc(100px + env(safe-area-inset-bottom))}.bottom-nav{position:fixed;display:flex;bottom:0;left:0;right:0;z-index:20;justify-content:space-around;background:white;border-top:1px solid var(--line);padding:5px 5px calc(5px + env(safe-area-inset-bottom))}.bottom-nav a{font-size:12px;min-width:0;flex:1;min-height:60px;padding:7px 3px;gap:5px}.bottom-nav .icon{width:23px;height:23px}.selection-bar{bottom:calc(80px + env(safe-area-inset-bottom));flex-wrap:wrap}.mobile-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mobile-menu .quick-link{min-width:0}.settings-columns{grid-template-columns:1fr}dialog.drawer{width:min(900px,96vw)}#toast{bottom:calc(88px + env(safe-area-inset-bottom));font-size:15px}}
@media(max-width:600px){
 body{font-size:16px}h1{font-size:28px}.page-heading p{font-size:16px}.main{padding:20px 14px calc(100px + env(safe-area-inset-bottom))}.topbar{padding:10px 14px}.page-heading{gap:16px}.heading-actions{width:100%;gap:8px}.heading-actions .btn{flex:1}.stats{gap:12px}.stat strong{font-size:25px}.stat small,.stat .stat-label{font-size:14px}.quick-grid,.report-grid{grid-template-columns:1fr}.quick-link{padding:18px}.toolbar{gap:10px}.toolbar .search{flex-basis:100%}.toolbar .filter-select{flex:1;min-width:135px;width:auto}.toolbar input[type=month]{width:160px}.toolbar input,.toolbar select{font-size:16px}
 .form-grid,.form-grid.three{grid-template-columns:minmax(0,1fr);gap:17px}.form-grid .full{grid-column:1}.address-city-row{grid-template-columns:minmax(0,1fr) 115px;gap:14px}.address-coordinates-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.form-field input,.form-field select,.form-field textarea{font-size:16px;padding:11px;min-height:46px}.form-field{font-size:15px}.check{font-size:15px}.info-grid{grid-template-columns:1fr;gap:15px}.info-grid dt{font-size:14px}.info-grid dd{font-size:16px}.review-data{grid-template-columns:100px minmax(0,1fr);font-size:15px}
 .table-wrap.responsive td,.table-wrap.responsive td strong{font-size:16px}.table-wrap.responsive td:before{font-size:14px;min-width:100px;color:var(--muted)}.table-wrap.responsive td small{display:block;margin:3px 0;font-size:14px}.table-wrap.responsive td.actions{position:static;margin-top:12px;text-align:left}.table-wrap.responsive td.actions .row-actions{justify-content:flex-start}.table-wrap.responsive td{overflow-wrap:anywhere}.list-item{padding:17px 14px;gap:12px}.list-item>.btn{margin-left:auto}.list-item .list-content{flex:1;min-width:140px}.list-content strong{font-size:16px}.list-content p{font-size:14px}.detail-intro h3{font-size:19px}.product-card h3{font-size:17px}.product-card{padding:18px 15px}.product-card-top{flex-wrap:wrap}.tabs{gap:5px}.tab{font-size:15px;min-height:46px;padding:10px 13px}.button-row .btn{max-width:100%}.report-card p{min-height:0}
 dialog,dialog.drawer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border-radius:0}dialog .modal-heading{padding:16px;gap:12px}dialog .modal-heading h2{font-size:21px}dialog .modal-body{padding:20px 16px calc(30px + env(safe-area-inset-bottom))}dialog .modal-footer{position:sticky;bottom:calc(-30px - env(safe-area-inset-bottom));padding:16px 0 calc(16px + env(safe-area-inset-bottom));background:white;z-index:4;flex-wrap:wrap}dialog .modal-footer>.btn{flex:1;min-width:110px}.inspection-grid{gap:10px}.photo-placeholder{font-size:14px;min-width:0}.login-main{padding:36px 22px}.login-form h2{font-size:28px}.login-footer{font-size:14px}.mobile-menu .quick-link strong{font-size:15px}
 .subscription-summary{padding:20px;gap:20px}.subscription-summary strong{font-size:24px}.subscription-pix{grid-template-columns:1fr;gap:22px}.pix-qr{width:min(270px,100%);justify-self:center}.subscription-block-header{padding:16px;gap:18px}.subscription-block-header .company-brand{width:100%}.subscription-block-header>.button-row{width:100%}.subscription-block-header .company-select{max-width:calc(100% - 105px);flex:1}.subscription-block-body{padding:24px 14px 45px}.subscription-heading{gap:15px;align-items:flex-start;flex-wrap:wrap}.subscription-summary p{font-size:15px}
}
.postcode input{min-width:0;flex:1;width:100%}
.postcode-status:empty{display:none}
.postcode-status.error{color:var(--red)}
@media(max-width:600px){.address-city-row{grid-template-columns:minmax(0,1fr) minmax(100px,.65fr);gap:14px}.address-city-row>.form-field:last-child{max-width:90px}.address-coordinates-row{gap:14px}.customer-options{max-height:220px}}

.payment-description{white-space:pre-line;overflow-wrap:anywhere}

/* Keep labels legible even where older, more specific compact rules apply. */
.heading-actions .btn,.settings-menu .btn{font-size:15px;min-height:44px}
.tag{font-size:13px;line-height:1.4;padding:4px 8px}
.tab{font-size:15px;min-height:46px;padding:11px 14px}
.stat-label,.stat small,.operation-stat small,.progress-row span,.progress-row b,.legend,.filter-label,.month-heading,.list-content small,.onboarding p,.amount-total span,.form-error,.setup-details,.offline-line,.customer-no-results,.selection-bar p{font-size:14px;line-height:1.5}
.bar-label{font-size:12px}.inspection-grid .photo-placeholder,.gps,.leaflet-popup-content{font-size:14px}.setup-details code{font-size:14px}.card-heading h3{font-size:18px}
.company-brand>span{display:block}.company-brand>span.brand-symbol{display:flex}
.mobile-company-logo{display:none}
.selection-bar .btn.ghost{color:#fff;background:#ffffff12;border:1px solid #ffffff70}
.selection-bar .btn.ghost:hover,.selection-bar .btn.ghost:focus-visible{color:#fff;background:#ffffff25;border-color:#fff}
@media(max-width:900px){.mobile-company-logo{display:block;width:50px;height:42px;object-fit:contain;flex-shrink:0}.top-actions .company-select{flex:1;width:0;max-width:none}.top-actions>.icon-button,.top-actions>.avatar{flex-shrink:0}}
@media(max-width:600px){
 .heading-actions .btn{font-size:15px;min-height:46px}.subscription-block-header{flex-wrap:nowrap;gap:12px}.subscription-block-header .company-brand{width:auto;flex:1;min-width:0}.subscription-block-header>.button-row{width:auto;flex-shrink:0}.subscription-block-header .company-brand img{width:50px;height:42px}.subscription-block-header .company-brand strong{font-size:16px}.subscription-block-header .company-brand small{font-size:9px}.subscription-block-header:has(#companySelect){flex-wrap:wrap}.subscription-block-header:has(#companySelect)>.button-row{width:100%}.subscription-block .subscription-summary{padding:17px;gap:15px}.subscription-block .subscription-summary strong{font-size:22px}.subscription-block .page-heading{margin-bottom:18px}
 dialog,dialog.drawer{inset:0;position:fixed}
}

.quote-item-price+.quote-item-price{margin-top:12px}.quote-item-price strong{white-space:nowrap}.quote-section h3{margin-bottom:14px}.quote-section p,.quote-conditions p{line-height:1.6;white-space:pre-line;overflow-wrap:anywhere}.quote-conditions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;background:var(--bg);padding:18px;border:1px solid var(--line);border-radius:10px}.quote-conditions h4{font-size:15px;margin-bottom:7px;color:var(--muted)}@media(max-width:560px){.quote-conditions{grid-template-columns:minmax(0,1fr);gap:20px}}

.accountant-page{max-width:1000px;margin:0 auto;padding:40px 24px 64px}.accountant-page h1{font-size:30px;line-height:1.25;overflow-wrap:anywhere}.accountant-page .form-group,dialog .form-group{border:0;padding:24px 0;margin:0;min-width:0;border-bottom:1px solid var(--line)}.accountant-page legend,dialog .form-group legend{font-size:18px;font-weight:650;padding:12px 0}.accountant-page .form-field input[readonly],dialog .form-group input[readonly]{background:#f0f3f7}.check-field{display:flex;gap:12px;align-items:flex-start;line-height:1.6}.check-field input{width:20px;height:20px;flex:0 0 20px;margin-top:3px}.billing-total{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;border-top:1px solid var(--line);font-size:18px}.billing-total strong{font-size:23px}#fiscalInviteLink{font-size:15px;overflow-wrap:anywhere}
@media(max-width:600px){.accountant-page{padding:20px 12px 40px}.accountant-page>.card{padding:20px 16px}.accountant-page h1{font-size:24px}.accountant-page .form-grid{grid-template-columns:1fr}.accountant-page .btn{width:100%;white-space:normal}.billing-total{font-size:16px}.billing-total strong{font-size:20px}}

.fiscal-disabled,.tab:disabled{cursor:not-allowed}.btn.fiscal-disabled,.tab:disabled,.form-field input:disabled,.form-field select:disabled{background:#edf1f6;color:#596779;border-color:#d7dfe9;opacity:1}.nav-link.fiscal-disabled{color:#9cacc0;opacity:1;pointer-events:none}.nav-link.fiscal-disabled small{display:block;font-size:12px;margin-top:4px}.quick-link.fiscal-disabled{background:#f0f3f7;color:#596779;pointer-events:none}.quick-link.fiscal-disabled small{font-size:12px}
.withdrawal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.withdrawal-stats .withdrawal-bank-name{font-size:clamp(20px,2vw,28px);overflow-wrap:anywhere}.withdrawal-rules{margin-top:20px;background:#f7fafc;border-color:#d6e2eb}.withdrawal-rules h3{font-size:18px;line-height:1.4}.withdrawal-rules p{font-size:16px;line-height:1.6;margin:10px 0}.withdrawal-rules small{display:block;font-size:14px;line-height:1.6;color:var(--muted)}.withdrawal-rules>.link{display:inline-flex;align-items:center;gap:7px;margin-top:12px;font-size:14px;white-space:normal}.withdrawal-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.withdrawal-field{min-width:0;overflow-wrap:anywhere}.withdrawal-field small{display:block;color:var(--muted);font-size:14px;margin-bottom:6px}.withdrawal-field strong{font-size:16px;line-height:1.5}.withdrawal-reference{overflow-wrap:anywhere}
@media(max-width:600px){.withdrawal-stats,.withdrawal-details{grid-template-columns:1fr}.withdrawal-rules{padding:18px}.withdrawal-rules h3{font-size:18px}.withdrawal-rules p{font-size:16px}}

/* Administration workspace and company switcher share the upper-left context. */
.topbar-context{display:flex;align-items:flex-start;flex-direction:column;gap:5px;min-width:0;flex:1}.topbar-context .workspace-select{max-width:min(480px,100%);font-size:17px;font-weight:650;padding:7px 26px 7px 0;color:var(--ink);white-space:nowrap;text-overflow:ellipsis}.topbar-context .breadcrumb{font-size:12px;line-height:1.4}.admin-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-stats .stat-label{max-width:calc(100% - 32px)}.admin-company-field{max-width:560px}.admin-company-field select{width:100%}.sidebar>.btn{margin:0 8px 16px;white-space:normal;text-align:left}

/* Field layout: compact summaries, quiet colors and separate information blocks. */
.icon-button .action-label{display:none}
.workspace-shortcuts{display:flex;gap:14px;align-items:start;margin:0 0 26px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:16px;overflow-x:auto;scrollbar-width:thin}
.workspace-shortcuts a{display:flex;flex:1 0 88px;flex-direction:column;align-items:center;gap:8px;text-align:center;color:#52647b;min-width:0}
.workspace-shortcuts a>span{display:grid;place-items:center;width:48px;height:48px;background:#f2f5f9;border:1px solid #dfe6ef;border-radius:50%;transition:.15s}
.workspace-shortcuts a strong{font-size:13px;font-weight:600;line-height:1.35}
.workspace-shortcuts a.active>span,.workspace-shortcuts a:hover>span{background:#eef3fb;border-color:#9eb1cc;color:var(--navy)}
.workspace-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;background:linear-gradient(110deg,#192e49,#294460);color:#fff;border-radius:18px;margin-bottom:22px}
.workspace-hero p{font-size:15px;color:#dbe4ef;margin-bottom:7px}.workspace-hero h2{font-size:26px;margin-bottom:7px}.workspace-hero span{font-size:14px;color:#dbe4ef}
.hero-indicator{min-width:130px;text-align:center;border-left:1px solid #ffffff30;padding-left:28px}.hero-indicator strong{display:block;font-size:44px;line-height:1.1;font-weight:650}.hero-indicator span{display:block;margin-top:7px}
.section-heading{display:flex;align-items:center;gap:10px;margin:26px 0 16px}.section-heading>span{display:grid;place-items:center;width:36px;height:36px;background:#eaf0f7;color:#536d8c;border-radius:10px}.section-heading h2{font-size:19px}.section-heading:after{content:'';flex:1;height:1px;background:var(--line);margin-left:8px}
.attention-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.attention-row:last-child{border-bottom:0}.attention-row>span{flex:1;font-size:15px}.attention-row b{min-width:28px;text-align:center;font-size:17px}.attention-row .link{display:inline-flex;align-items:center;gap:5px}
.operation-stat{background:#f7f9fc;border-color:#e2e8ef;min-height:98px}.operation-stat strong{color:var(--ink)}
.operation-card{background:#fff;border:1px solid #dfe6ed;border-left:3px solid #7e99b6;border-radius:13px;margin:16px;padding:17px;min-width:0}
.operation-card.pickup{border-left-color:#b49b78}.operation-card header{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.operation-card header>div{flex:1;min-width:80px}.operation-card header small{display:block;font-size:12px;color:var(--muted)}.operation-card header strong{font-size:16px}.operation-icon{display:grid;place-items:center;width:40px;height:40px;background:#edf2f8;color:#5f7b9c;border-radius:11px}.pickup .operation-icon{background:#f6f0e9;color:#967b56}
.operation-customer{padding:15px 0 12px}.operation-customer>strong{display:block;font-size:17px;line-height:1.4;overflow-wrap:anywhere}.operation-customer>span{display:block;margin-top:4px;font-size:14px;color:var(--muted)}
.operation-reference{display:flex;gap:12px;align-items:center;padding:12px;background:#f7f9fb;border:1px solid #e7ecf1;border-radius:10px}.operation-reference>.icon{color:#6c85a0;flex-shrink:0}.operation-reference div{min-width:0}.operation-reference small{display:block;font-size:12px;color:var(--muted)}.operation-reference strong{display:block;font-size:14px;overflow-wrap:anywhere}
.operation-schedule{display:flex;align-items:start;justify-content:space-between;gap:12px;margin:13px 0;color:#66768b;font-size:13px}.operation-schedule>span:first-child{display:flex;align-items:center;gap:6px;white-space:nowrap}.operation-schedule .icon{width:16px;height:16px}.operation-schedule>span:last-child{text-align:right;overflow-wrap:anywhere}
.operation-card footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;border-top:1px solid var(--line);padding-top:13px}.operation-card footer .btn{flex:1}.operation-card footer .icon-button{gap:6px}.operation-card footer .action-label{display:inline;font-size:13px}
.phone-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:6px 10px;border:1px solid #dfe6ee;background:#f3f6fa;color:#405978;border-radius:18px;font-size:13px;line-height:1.4;white-space:nowrap;max-width:100%}.phone-link .icon{width:15px;height:15px}.operation-card header .phone-link{margin-left:auto}.record-list .phone-link{margin-top:8px}
.menu-profile{display:flex;align-items:center;gap:18px;padding:24px}.menu-profile-icon{display:grid;place-items:center;width:66px;height:66px;border:1px solid var(--line);background:#f5f8fc;border-radius:15px;color:#5f7898;flex-shrink:0}.menu-profile-icon .icon{width:32px;height:32px}.menu-profile h2{font-size:20px;line-height:1.35}.menu-profile p{font-size:15px;color:var(--muted);margin:5px 0 9px}.menu-profile .tag{white-space:normal}.menu-entries{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.menu-entry{display:flex;align-items:center;gap:14px;padding:19px;border:1px solid #dfe6ed;border-radius:13px;background:#fff;text-align:left;min-height:95px;color:var(--ink);width:100%;font:inherit}.menu-entry>span:nth-child(2){flex:1;min-width:0}.menu-entry strong{display:block;font-size:16px;line-height:1.4}.menu-entry small{display:block;margin-top:5px;font-size:14px;color:var(--muted);line-height:1.5}.menu-entry>.icon{width:17px;height:17px;color:#8a99ab}.menu-entry-icon{display:grid;place-items:center;flex:0 0 43px;height:43px;border-radius:11px;background:#edf2f8;color:#5b7595}.menu-entry:hover{border-color:#b0c1d4;background:#fafcfe}
.information-block{border:1px solid #dfe6ed;background:#fff;border-radius:13px;margin-bottom:17px;overflow:hidden}.information-heading{display:flex;align-items:center;gap:12px;padding:17px 18px;border-bottom:1px solid #edf0f4}.information-heading>span{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:10px;background:#edf2f8;color:#607e9e}.information-heading h3{font-size:17px;line-height:1.4}.information-heading p{font-size:13px;color:var(--muted);margin-top:2px}.information-body{padding:18px}.information-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0}.information-fields>div{min-width:0}.information-fields .full{grid-column:1/-1}.information-fields dt{font-size:13px;color:var(--muted);margin-bottom:4px}.information-fields dd{margin:0;font-size:16px;line-height:1.5;overflow-wrap:anywhere}.detail-client{display:flex;align-items:start;justify-content:space-between;gap:12px;flex-wrap:wrap}.detail-client h3{font-size:19px;line-height:1.4;overflow-wrap:anywhere}.detail-client p{color:var(--muted);font-size:14px;margin-top:5px}.detail-client+.phone-link{margin-top:12px}
.view-rental .modal-body,.view-operation .modal-body{background:#f5f7fa}.view-rental .tabs{background:#fff;border:1px solid var(--line);border-radius:12px;margin:18px 0;padding:0 6px;position:sticky;top:0;z-index:2}.view-rental .product-card{background:#fff;border-color:#dfe6ed;border-radius:13px}.view-operation .form-section{background:#fff;border:1px solid #dfe6ed;border-radius:13px;padding:18px;margin:0 0 17px}.view-operation .form-section h3{font-size:17px;margin-bottom:13px}.view-operation .form-section>p{font-size:14px}.view-operation .form-section .btn{margin-top:12px;max-width:100%}.view-operation .form-section textarea{margin-top:6px}.view-operation .inspection-grid{margin:16px 0}.view-operation .modal-footer{background:#f5f7fa}.view-operation .info-grid{padding:18px;background:#fff;border:1px solid var(--line);border-radius:13px}
@media(max-width:900px){
 .topbar{gap:10px}.top-actions{width:auto;flex:0 0 auto}.main{padding-bottom:calc(125px + env(safe-area-inset-bottom))}
 .workspace-shortcuts{padding:13px 10px;gap:9px;border-radius:13px;margin-bottom:21px}.workspace-shortcuts a{flex:1 0 74px}.workspace-shortcuts a>span{width:44px;height:44px}.workspace-shortcuts a strong{font-size:12px}.workspace-hero{padding:23px 20px;gap:18px}.workspace-hero h2{font-size:23px}.hero-indicator{min-width:96px;padding-left:18px}.hero-indicator strong{font-size:37px}
 .bottom-nav{left:12px;right:12px;bottom:calc(9px + env(safe-area-inset-bottom));border:1px solid #ffffff16;border-radius:22px;background:#192e49;color:#b7c6d8;padding:6px;box-shadow:0 8px 26px #16273e35;min-height:70px;align-items:stretch}.bottom-nav a{border-radius:15px;min-height:58px;padding:6px 2px;line-height:1.2;font-size:12px;justify-content:center}.bottom-nav a.active{color:#fff;background:#ffffff10}.bottom-nav a.active .icon{color:#f1b780}.bottom-nav .icon{width:23px;height:23px}.selection-bar{bottom:calc(98px + env(safe-area-inset-bottom))}#toast{bottom:calc(100px + env(safe-area-inset-bottom))}
 .menu-entries{grid-template-columns:1fr}.menu-profile{padding:20px;gap:14px}.menu-profile-icon{width:56px;height:56px}.menu-entry{min-height:92px;padding:17px 15px}.operation-card{margin:13px;padding:15px}.operation-card header .phone-link{font-size:12px}.operation-schedule{flex-wrap:wrap}.operation-schedule>span:last-child{text-align:left}
 .table-wrap.record-list{overflow:visible;background:transparent}.table-wrap.record-list table{display:block;min-width:0}.table-wrap.record-list thead{display:none}.table-wrap.record-list tbody{display:grid;gap:16px}.table-wrap.record-list tbody tr{display:grid;position:relative;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;background:#fff;border:1px solid #dce4ed!important;border-radius:13px;margin:0;padding:18px;box-shadow:0 2px 5px #16273e04;min-width:0}.table-wrap.record-list td{display:block;border:0!important;padding:0;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.5}.table-wrap.record-list td:before{content:attr(data-label);display:block;min-width:0;font-size:12px;line-height:1.4;color:var(--muted);font-weight:400;text-transform:none;margin-bottom:4px}.table-wrap.record-list td strong{font-size:17px;line-height:1.4}.table-wrap.record-list td small{font-size:14px;line-height:1.5;margin:4px 0 0}.table-wrap.record-list .actions{position:static;grid-area:actions;display:flex;align-items:center;justify-content:flex-end;border-top:1px solid var(--line)!important;padding-top:12px;margin:0;text-align:right}.table-wrap.record-list .actions:before{display:none}.table-wrap.record-list .actions .row-actions{width:100%;justify-content:flex-end}.table-wrap.record-list .actions .icon-button{min-height:43px;border:1px solid #dfe6ed;border-radius:9px;padding:8px 11px;gap:7px;min-width:43px;font-size:13px;color:#405978;background:#f5f8fc}.table-wrap.record-list .actions .action-label{display:inline}.table-wrap.record-list .actions button[data-action^=cancel]{background:#fbf1ef;color:#9d554a;border-color:#edd9d3}
 .table-wrap.record-list td:nth-child(1){grid-area:code}.table-wrap.record-list td:nth-child(2){grid-area:title}.table-wrap.record-list td:nth-child(2):before{display:none}.table-wrap.record-list td:nth-child(2)>strong{font-size:18px}.table-wrap.record-list td:nth-child(1) .link{font-size:16px;font-weight:700}.table-wrap.record-list td:nth-child(1):before{font-size:11px;text-transform:uppercase;letter-spacing:.5px}
 .record-rental tr{grid-template-areas:'code status' 'title title' 'location location' 'reference reference' 'start end' 'actions actions'}.record-rental td:nth-child(3){grid-area:location}.record-rental td:nth-child(4){grid-area:reference;padding:10px 12px;background:#f4f7fa;border:1px solid #e7edf3!important;border-radius:10px}.record-rental td:nth-child(5){grid-area:status;justify-self:end}.record-rental td:nth-child(5):before{display:none}.record-rental td:nth-child(6){grid-area:start;background:#f6f8fa;padding:10px 12px;border-radius:9px}.record-rental td:nth-child(7){grid-area:end;background:#f6f8fa;padding:10px 12px;border-radius:9px}
 .record-charge tr{grid-template-areas:'title title' 'status status' 'reference reference' 'period period' 'due amount' 'actions actions'}.table-wrap.record-charge td:nth-child(1){position:absolute;top:19px;left:18px;grid-area:auto}.record-charge td:nth-child(1):before{display:none}.table-wrap.record-charge td:nth-child(2){padding-left:32px}.record-charge td:nth-child(3){grid-area:reference;background:#f4f7fa;padding:11px 12px;border-radius:10px}.record-charge td:nth-child(4){grid-area:period}.record-charge td:nth-child(5){grid-area:due;background:#f6f8fa;padding:10px 12px;border-radius:9px}.record-charge td:nth-child(6){grid-area:status}.record-charge td:nth-child(6):before{display:none}.record-charge td:nth-child(7){grid-area:amount;background:#f6f8fa;padding:10px 12px;border-radius:9px;font-size:21px;font-weight:650;color:var(--navy)}
 .record-payment tr{grid-template-areas:'code status' 'title title' 'meta meta' 'due amount' 'actions actions'}.record-payment td:nth-child(3){grid-area:meta}.record-payment td:nth-child(3):before{display:none}.record-payment td:nth-child(4){grid-area:due;background:#f6f8fa;padding:10px 12px;border-radius:9px}.record-payment td:nth-child(5){grid-area:status;justify-self:end}.record-payment td:nth-child(5):before{display:none}.record-payment td:nth-child(6){grid-area:amount;background:#f6f8fa;padding:10px 12px;border-radius:9px;font-size:21px;font-weight:650}
 .record-invoice tr{grid-template-areas:'code status' 'title title' 'meta meta' 'due amount' 'actions actions'}.record-invoice td:nth-child(3){grid-area:meta}.record-invoice td:nth-child(3):before{display:none}.record-invoice td:nth-child(4){grid-area:status;justify-self:end}.record-invoice td:nth-child(4):before{display:none}.record-invoice td:nth-child(5){grid-area:due;background:#f6f8fa;padding:10px 12px;border-radius:9px}.record-invoice td:nth-child(6){grid-area:amount;background:#f6f8fa;padding:10px 12px;border-radius:9px;font-size:21px;font-weight:650}
 .record-customer tr{grid-template-areas:'code metric' 'title title' 'reference reference' 'contact contact' 'location location' 'actions actions'}.record-customer td:nth-child(3){grid-area:reference}.record-customer td:nth-child(4){grid-area:contact;background:#f6f8fa;padding:11px 12px;border-radius:10px}.record-customer td:nth-child(5){grid-area:location}.record-customer td:nth-child(6){grid-area:metric;justify-self:end;text-align:right}
 .record-asset tr{grid-template-areas:'code status' 'title title' 'location location' 'amount actions'}.record-asset td:nth-child(3){grid-area:status;justify-self:end}.record-asset td:nth-child(3):before{display:none}.record-asset td:nth-child(4){grid-area:location;background:#f6f8fa;padding:10px 12px;border-radius:10px}.record-asset td:nth-child(5){grid-area:amount}.table-wrap.record-list.record-asset .actions{border-top:0!important;padding-top:0}
 section.card:has(>.record-list){border:0;box-shadow:none;background:transparent}section.card:has(>.record-list)>.card-heading{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}section.card:has(>.record-list)>.card-footer{background:#fff;border:1px solid var(--line);border-radius:12px;margin-top:14px;padding:14px}
}
@media(max-width:600px){.workspace-hero{padding:20px 17px}.workspace-hero>div:first-child{min-width:0}.workspace-hero h2{font-size:21px;line-height:1.35}.workspace-hero>div:first-child>span{display:none}.hero-indicator{min-width:88px;padding-left:16px}.hero-indicator strong{font-size:33px}.hero-indicator span{font-size:12px}.workspace-shortcuts{margin-left:-1px;margin-right:-1px}.information-fields{gap:15px 12px}.information-fields dd{font-size:15px}.information-heading{padding:15px}.information-body{padding:15px}.view-rental .modal-body,.view-operation .modal-body{padding:16px 12px calc(32px + env(safe-area-inset-bottom))}.view-operation .form-section{padding:16px}.view-operation .inspection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.table-wrap.record-list .tag{font-size:12px;white-space:normal}.table-wrap.record-list .actions .icon-button{font-size:12px;padding:8px}.table-wrap.record-charge td:nth-child(7),.table-wrap.record-payment td:nth-child(6),.table-wrap.record-invoice td:nth-child(6){font-size:19px}.operation-card .phone-link{width:auto}.menu-profile h2{font-size:18px}.menu-profile p{font-size:14px}}
@media(max-width:1050px){.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.sidebar>.btn{padding:9px 4px;font-size:0;justify-content:center}.sidebar>.btn .icon{width:21px;height:21px}.topbar-context .workspace-select{font-size:16px;max-width:100%}}
@media(max-width:600px){.topbar{gap:10px}.topbar-context{min-width:0}.topbar-context .workspace-select{font-size:16px;width:100%;max-width:100%;min-height:42px}.topbar-context .breadcrumb{display:none}.top-actions{flex:0 0 auto;margin-left:0}.admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stats .stat{padding:16px 12px}.admin-stats .stat strong{font-size:clamp(22px,6vw,30px)}.admin-stats .stat-label{font-size:14px;max-width:100%;padding-right:20px}.admin-stats .stat small{font-size:13px;line-height:1.5}.admin-stats .stat-icon{width:22px;height:22px;right:9px;top:14px}}
