
:root{font-family:'Segoe UI',Arial,sans-serif;color:#172b3a;background:#f2f5f7;font-synthesis:none;text-rendering:optimizeLegibility;--navy:#102a43;--blue:#176b87;--blue2:#dcedf2;--ink:#172b3a;--muted:#637887;--line:#dce5e9;--paper:#fff;--green:#2c745e;--shadow:0 18px 55px #16364b12}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,5vw,72px)}.brand{display:flex;align-items:center;gap:13px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:.01em;font-size:18px}.brandmark{height:39px;width:39px;border:1px solid #ffffff58;border-radius:11px;display:grid;place-items:center;background:#ffffff12}.brandmark svg{width:24px;height:24px}.topmeta{font-size:14px;color:#c4d5df;display:flex;align-items:center;gap:10px}.topmeta span{display:block}.topmeta .dot{width:7px;height:7px;border-radius:50%;background:#7ad2ac}.main{width:min(1100px,calc(100% - 40px));margin:auto;flex:1;display:grid;place-items:center;padding:42px 0}.checkin{width:min(100%,760px);background:var(--paper);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:clamp(27px,5vw,54px)}.eyebrow{text-transform:uppercase;letter-spacing:.13em;color:var(--blue);font-size:12px;font-weight:700;margin:0 0 13px}.checkin h1,.admin h1{font-family:Manrope,sans-serif;letter-spacing:-.045em;color:var(--navy);font-size:clamp(30px,4vw,42px);line-height:1.12;margin:0 0 10px}.lede{margin:0;color:var(--muted);font-size:17px;line-height:1.55}.progress{display:flex;align-items:center;margin:34px 0 33px;gap:9px}.step{display:flex;align-items:center;gap:9px;color:#92a1ab;font-size:14px;font-weight:600;white-space:nowrap}.step b{border:1px solid #c6d1d7;border-radius:50%;height:26px;width:26px;display:grid;place-items:center;font-size:12px}.step.active{color:var(--navy)}.step.active b{border-color:var(--blue);background:var(--blue);color:white}.step.done b{background:#e2f2eb;color:var(--green);border-color:#b3ddca}.connector{height:1px;background:var(--line);flex:1;min-width:15px}.field{margin:0 0 22px}.field label{display:block;color:var(--ink);font-weight:700;font-size:15px;margin:0 0 8px}.field input,.field select,.field textarea{width:100%;border:1px solid #cbd8df;background:#fff;border-radius:10px;padding:15px 16px;color:var(--ink);outline:none;min-height:54px;font-size:17px;transition:border .18s,box-shadow .18s}.field input:focus,.field select:focus,.field textarea:focus{border-color:#29809a;box-shadow:0 0 0 4px #29809a1c}.field small{display:block;color:var(--muted);font-size:13px;margin-top:8px}.searchbox{position:relative}.searchbox input{padding-left:48px}.searchicon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#7a8f9c;font-size:20px}.host-list{display:grid;gap:9px;margin-top:10px;max-height:290px;overflow:auto}.host-option{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 14px;display:flex;align-items:center;text-align:left;gap:13px;min-height:72px;color:var(--ink);transition:.16s}.host-option:hover{border-color:#84b3c1;background:#f7fbfc}.host-option.selected{border-color:var(--blue);box-shadow:0 0 0 3px #176b871a;background:#f4fafb}.avatar{height:46px;width:46px;border-radius:50%;display:grid;place-items:center;flex:none;color:white;font-weight:700;font-size:14px;letter-spacing:.03em;background:linear-gradient(145deg,#2c7386,#17445c);border:2px solid #e1edf0}.host-option:nth-child(3n) .avatar{background:linear-gradient(145deg,#8e765d,#554536)}.host-option:nth-child(3n + 1) .avatar{background:linear-gradient(145deg,#718c79,#3b5e4b)}.host-info{flex:1;min-width:0}.host-name{font-weight:700;font-size:16px}.host-role{color:var(--muted);font-size:14px;margin-top:3px}.radio{border:1.5px solid #a9bac4;width:20px;height:20px;border-radius:50%;flex:none}.selected .radio{border:6px solid var(--blue)}.empty-result{padding:18px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:15px;text-align:center}.actions{display:flex;gap:12px;margin-top:29px}.btn{border:0;border-radius:10px;padding:15px 22px;font-weight:700;font-size:16px;min-height:54px;transition:transform .12s,background .12s}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--navy);color:#fff;flex:1}.btn-primary:hover{background:#194362}.btn-primary:disabled{background:#aab8c0;cursor:not-allowed}.btn-secondary{background:#eef3f5;color:var(--navy);padding-inline:22px}.btn-secondary:hover{background:#e1eaee}.evac{padding:23px;border:1px solid #ead9b3;background:#fffaf0;border-radius:13px;margin:25px 0}.evac-label{display:flex;align-items:center;gap:10px;font-weight:700;color:#715522;margin-bottom:13px}.evac-icon{width:34px;height:34px;border-radius:9px;background:#f3e6c7;display:grid;place-items:center}.evac h2{font:700 20px Manrope,sans-serif;color:#332b1e;margin:0 0 8px}.evac p{color:#675f50;line-height:1.55;margin:0}.evac ul{color:#514c42;line-height:1.7;padding-left:22px;margin:13px 0 0}.notice{font-size:13px;color:#687782;line-height:1.5;margin:17px 0 0}.successmark{height:68px;width:68px;border-radius:50%;background:#e3f4eb;color:#277450;display:grid;place-items:center;font-size:34px;font-weight:700;margin-bottom:22px}.summary{background:#f5f8f9;border:1px solid var(--line);padding:17px 19px;border-radius:12px;margin-top:23px}.summary-row{display:flex;justify-content:space-between;gap:20px;padding:9px 0;font-size:15px}.summary-row+.summary-row{border-top:1px solid #e1e9ec}.summary-row span{color:var(--muted)}.footer{padding:17px 30px;text-align:center;color:#7f909a;font-size:13px}.footer a{color:#567484;text-decoration:none}.admin-page{min-height:100vh;background:#f3f6f8}.admin-top{height:74px;background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 30px}.admin-top .brand{font-size:16px}.admin-top-right{display:flex;align-items:center;gap:14px}.mode-label{font-size:13px;color:#c5d4dc}.role-switch{border:1px solid #ffffff44;background:#ffffff12;color:white;padding:9px 12px;border-radius:8px}.admin-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 74px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:26px 16px}.side-caption{font-size:11px;color:#8a9aa4;text-transform:uppercase;letter-spacing:.12em;font-weight:700;padding:0 12px;margin:3px 0 12px}.side-link{border:0;background:transparent;display:flex;align-items:center;gap:12px;width:100%;padding:12px;border-radius:9px;color:#526773;text-align:left;font-weight:600;font-size:14px;margin-bottom:4px}.side-link:hover{background:#f2f6f8}.side-link.active{background:#e9f2f5;color:#155c74}.side-icon{width:20px;text-align:center;font-size:17px}.admin-content{padding:32px clamp(22px,4vw,50px);max-width:1250px;width:100%;margin:0 auto}.admin-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:26px;gap:20px}.admin h1{font-size:32px}.admin-sub{color:var(--muted);font-size:15px;margin:7px 0 0}.building-chip{background:#e6f0f3;border:1px solid #d2e2e7;padding:9px 13px;border-radius:9px;color:#31586a;font-weight:700;font-size:13px;white-space:nowrap}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.stat-label{color:var(--muted);font-size:13px;font-weight:600}.stat-value{font:800 29px Manrope,sans-serif;color:var(--navy);margin-top:9px}.stat-note{font-size:12px;color:#84939c;margin-top:3px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--line);gap:15px}.panel-head h2{font:700 17px Manrope,sans-serif;margin:0;color:var(--navy)}.panel-body{padding:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:610px}th{padding:12px 16px;font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#778b97;background:#f7f9fa;font-weight:700}td{padding:14px 16px;border-top:1px solid #e8edef;font-size:14px;color:#314754}td strong{color:var(--navy)}.muted{color:var(--muted);font-size:13px}.status-pill{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:20px;background:#edf6f1;color:#347255;font-size:12px;font-weight:700}.status-pill:before{content:'';width:6px;height:6px;border-radius:50%;background:#45a674}.table-action{background:transparent;border:0;color:#176b87;font-weight:700;padding:5px}.small-btn{border:1px solid var(--line);border-radius:8px;background:#fff;color:#2b5262;padding:9px 12px;font-weight:700;font-size:13px}.small-btn:hover{background:#f4f8f9}.primary-small{background:var(--blue);border-color:var(--blue);color:white}.primary-small:hover{background:#11576f}.admin .field{margin-bottom:18px}.admin .field input,.admin .field select,.admin .field textarea{min-height:45px;font-size:15px;padding:11px 13px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.toggle-row{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--line);padding:15px;border-radius:10px;margin:12px 0}.toggle-copy{font-weight:700;color:var(--ink);font-size:14px}.toggle-copy small{display:block;color:var(--muted);font-weight:400;margin-top:4px}.toggle{appearance:none;width:43px;height:25px;border-radius:99px;background:#cad5da;position:relative;transition:.18s;flex:none}.toggle:after{content:'';width:19px;height:19px;background:white;border-radius:50%;position:absolute;top:3px;left:3px;transition:.18s;box-shadow:0 1px 2px #0002}.toggle:checked{background:var(--blue)}.toggle:checked:after{left:21px}.alert{border:1px solid #cfe4dc;background:#f0f8f4;color:#376c57;border-radius:9px;padding:13px 15px;font-size:14px;margin:15px 0;line-height:1.5}.banner{border:1px solid #ead9b3;background:#fffaf0;color:#715522;padding:13px 15px;border-radius:9px;font-size:13px;line-height:1.5;margin-bottom:19px}.form-actions{display:flex;gap:10px;align-items:center}.profile-cell{display:flex;align-items:center;gap:10px}.profile-cell .avatar{height:36px;width:36px;font-size:11px}.empty-table{text-align:center;padding:36px;color:var(--muted)}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#173849;color:white;padding:13px 18px;border-radius:10px;box-shadow:var(--shadow);z-index:5;animation:toast .2s ease}@keyframes toast{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}.return-link{color:#d2e0e7;font-size:13px;text-decoration:none}.return-link:hover{color:white}.small-note{font-size:13px;color:var(--muted);line-height:1.5}.danger{color:#9e493c}.button-row{display:flex;gap:9px;flex-wrap:wrap}.search-input{max-width:280px;padding:9px 12px;border:1px solid var(--line);border-radius:8px;font-size:14px}.modal-backdrop{position:fixed;inset:0;background:#0e263566;display:grid;place-items:center;padding:20px;z-index:10}.modal{background:white;border-radius:15px;padding:25px;width:min(480px,100%);box-shadow:var(--shadow)}.modal h2{font:700 22px Manrope,sans-serif;color:var(--navy);margin:0 0 8px}.modal p{color:var(--muted);line-height:1.55}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}
@media(max-width:760px){.topbar{height:68px;padding:0 18px}.brand{font-size:16px}.topmeta{font-size:12px}.main{width:calc(100% - 24px);padding:24px 0}.checkin{padding:25px 20px;border-radius:15px}.progress{gap:5px;margin:26px 0}.step{font-size:12px;gap:5px}.step b{height:23px;width:23px}.cards{grid-template-columns:repeat(2,1fr)}.admin-layout{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:8px;display:flex;overflow:auto;gap:3px}.side-caption{display:none}.side-link{width:auto;white-space:nowrap;padding:10px;font-size:13px}.admin-content{padding:25px 16px}.admin-top{padding:0 16px}.admin-top .brand{font-size:14px}.mode-label{display:none}.admin-header{align-items:flex-start;flex-direction:column}.settings-grid{grid-template-columns:1fr}.panel-head{align-items:flex-start;flex-direction:column}.search-input{max-width:100%;width:100%}.table-wrap{margin:0 -4px}.actions{position:sticky;bottom:8px;background:#ffffffed;padding-top:10px}.footer{padding:14px}.summary-row{font-size:14px}}@media(max-width:430px){.topmeta span{display:none}.progress .step{font-size:11px}.connector{min-width:8px}.cards{gap:9px}.stat{padding:14px}.stat-value{font-size:25px}.actions .btn{padding-inline:14px}}

.avatar img{height:100%;width:100%;object-fit:cover;border-radius:50%}

.host-name,.host-role{display:block}

.host-name,.host-role{display:inline}.host-role{margin-left:6px;margin-top:0}

.acknowledgement{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);background:#f8fafb;border-radius:10px;padding:15px 16px;margin-top:22px;color:var(--ink);font-size:16px;font-weight:600;line-height:1.45;cursor:pointer}.acknowledgement input{appearance:none;width:22px;height:22px;border:1.5px solid #8ba0ab;border-radius:5px;background:white;flex:none;margin:0;cursor:pointer}.acknowledgement input:checked{background:var(--blue);border-color:var(--blue);box-shadow:inset 0 0 0 4px white}.acknowledgement input:focus-visible{outline:3px solid #29809a44;outline-offset:2px}.btn-primary:disabled{background:#aab8c0;cursor:not-allowed}

.visit-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 0}.visit-person{border:1px solid var(--line);border-radius:11px;background:#f8fafb;padding:13px 14px;min-width:0}.visit-label{display:block;color:#718591;font-size:11px;font-weight:700;letter-spacing:.1em;margin-bottom:9px}.visit-main{display:flex;align-items:center;gap:11px;min-width:0}.visit-main .avatar{width:42px;height:42px;font-size:12px}.visit-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.visit-copy strong{font-size:15px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.visit-copy small{font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(max-width:500px){.visit-summary{grid-template-columns:1fr;gap:9px}.visit-person{padding:12px 13px}}

.host-list[hidden]{display:none!important}

.return-countdown{text-align:center;margin:12px 0 0;color:var(--muted);font-size:14px;font-weight:600}

.client-building-tag{display:inline-flex;margin:2px 4px 2px 0;padding:5px 8px;border:1px solid #dce5e9;border-radius:7px;background:#f7fafb;color:#425e6e;font-size:12px;font-weight:600}.building-cards{display:grid;gap:12px;padding:16px}.building-card{display:flex;align-items:center;gap:15px;padding:16px;border:1px solid var(--line);border-radius:11px;background:#fff}.building-card-icon{height:44px;width:44px;flex:none;border-radius:11px;background:#eaf2f5;color:#22647c;display:grid;place-items:center;font-size:22px}.building-card>div:nth-child(2){flex:1;min-width:0}.building-card h2{font:700 16px Manrope,sans-serif;color:var(--navy);margin:0}.building-card p{margin:5px 0 0;color:var(--muted);font-size:13px}.client-modal{max-height:calc(100vh - 40px);overflow:auto}.client-exit{color:white;border-color:#ffffff44;background:#ffffff14}.client-exit:hover{color:#fff;background:#ffffff22}@media(max-width:760px){.building-card{align-items:flex-start;flex-wrap:wrap}.building-card>div:nth-child(2){min-width:calc(100% - 62px)}.building-card .small-btn{margin-left:59px}.client-exit{font-size:12px;padding:8px}}

.side-link[hidden]{display:none!important}

select option{color:#172b3a;background:#fff}

.brandmark.has-logo{width:auto;min-width:48px;max-width:180px;padding:4px 8px;background:#fff}.brandmark img{display:block;max-width:160px;max-height:34px;object-fit:contain}.welcome-logo{display:block;max-width:min(260px,100%);max-height:96px;object-fit:contain;object-position:left center;margin:0 0 22px}.logo-preview{display:block;max-width:min(280px,100%);max-height:110px;object-fit:contain;object-position:left center;border:1px solid var(--line);border-radius:9px;background:#fff;padding:8px;margin:8px 0 16px}.admin .field input[type=file]{padding:8px 10px}

.client-accounts-table{min-width:1120px}.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:164px}.contract-dates{min-width:164px;white-space:nowrap}.contract-dates>div{display:grid;grid-template-columns:36px minmax(90px,1fr);gap:5px;align-items:baseline;line-height:1.5}.contract-dates span{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700}.contract-dates strong{font-weight:600}

.clients-add-action{margin-bottom:14px}

.client-actions{display:flex;flex-direction:column;gap:7px;min-width:142px}.client-actions .small-btn{width:100%;white-space:nowrap;text-align:center;padding:8px 7px;font-size:12px}

.modal{max-height:calc(100vh - 40px);max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y}.modal-backdrop{overflow-y:auto}

.staff-modal{width:min(760px,100%)}.staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.staff-form-grid .field{min-width:0}.staff-form-grid .field input,.staff-form-grid .field select{width:100%}.photo-upload-row{display:flex;align-items:center;gap:12px}.staff-photo-preview{width:58px;height:58px;object-fit:cover;border-radius:50%;border:1px solid var(--line)}.photo-upload-row input{min-width:0}.crop-modal{width:min(520px,100%)}.crop-canvas{display:block;width:min(100%,300px);aspect-ratio:1;object-fit:contain;margin:0 auto 18px;border-radius:12px;border:1px solid var(--line);background:#edf2f4}.crop-control{margin-bottom:12px}.crop-control input[type=range]{padding:0;min-height:28px}
@media(max-width:620px){.staff-form-grid{grid-template-columns:1fr}}
.staff-building-field,.staff-client-field{grid-column:1/-1}.staff-building-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.staff-building-choice{display:flex!important;align-items:center;gap:10px;border:1px solid var(--line);border-radius:9px;padding:11px 13px;margin:0!important;font-weight:600!important;background:#fff}.staff-building-choice input{width:20px!important;height:20px;min-height:20px!important;padding:0!important;accent-color:var(--blue)}.staff-sort{border:0;background:none;color:inherit;font:inherit;font-weight:700;padding:2px 0;text-align:left;white-space:nowrap}.staff-sort:hover{color:var(--blue)}.staff-search{width:min(440px,100%)}.status-toggle{border:0;border-radius:999px;padding:7px 12px;font:700 12px 'DM Sans',sans-serif;cursor:pointer}.status-toggle.is-active{color:#226348;background:#e2f2eb}.status-toggle.is-inactive{color:#a02e33;background:#fde8e8}.status-toggle:hover{filter:brightness(.96)}
@media(max-width:620px){.staff-building-list{grid-template-columns:1fr}.staff-search{width:100%}}
.crop-canvas{touch-action:none;cursor:grab;user-select:none}.crop-canvas:active{cursor:grabbing}.crop-zoom-row{display:grid;grid-template-columns:44px minmax(100px,1fr) 44px 48px;align-items:center;gap:10px;max-width:390px;margin:0 auto 18px}.crop-zoom-row .small-btn{min-width:44px;padding:8px 0;font-size:20px;line-height:1}.crop-zoom-row input[type=range]{width:100%;accent-color:var(--blue)}.crop-zoom-row span{text-align:right;color:var(--muted);font-size:13px;font-weight:700}
.image-upload-row{display:flex;align-items:center;gap:14px;min-width:0}.image-upload-row>div:last-child{min-width:0;flex:1}.image-upload-preview,.image-upload-placeholder{display:grid;width:76px;height:76px;flex:none;place-items:center;border:1px solid var(--line);border-radius:12px;background:#f4f8f9;color:var(--muted);object-fit:cover;font-size:12px}.image-upload-preview{padding:3px}.image-upload-row input[type=file]{max-width:100%;min-width:0}.image-upload-row .small-note{margin:7px 0 0}.record-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:10px;background:#e8f1f4;color:#265f76;font-size:11px;font-weight:800;overflow:hidden}.record-avatar img{display:block;width:100%;height:100%;object-fit:cover}.profile-cell{min-width:0}.profile-cell strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crop-backdrop{z-index:20}.crop-modal{max-width:520px}
@media(max-width:520px){.image-upload-row{align-items:flex-start}.image-upload-preview,.image-upload-placeholder{width:62px;height:62px}.crop-zoom-row{grid-template-columns:42px minmax(80px,1fr) 42px 42px;gap:7px}}
.activity-building{display:inline-flex;align-items:center;gap:9px;min-height:32px;white-space:nowrap}.activity-building img,.activity-building svg{width:30px;height:30px;flex:none;border-radius:8px;object-fit:cover}.activity-building img{border:1px solid var(--line);background:#fff}.activity-building svg{padding:5px;color:var(--blue);background:#e8f1f4;border:1px solid #d8e6ea}
.long-visit-age{background:#fff1d6;color:#785518}
.visitor-log-head{display:block}.visitor-log-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:12px}.visitor-log-tools .search-input{flex:1 1 230px;width:auto;max-width:380px;min-height:40px;padding:9px 12px;border:1px solid #cbd8df;border-radius:8px;font-size:14px}.visitor-log-tools select,.log-date-field input{min-height:40px;padding:8px 10px;border:1px solid #cbd8df;border-radius:8px;background:#fff;color:var(--ink);font-size:14px}.log-date-field,.log-page-size{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:13px;font-weight:600;white-space:nowrap}.visitor-pagination{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 20px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.visitor-pagination>div{display:flex;align-items:center;gap:10px}.visitor-pagination button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:760px){.visitor-log-tools{width:100%}.visitor-log-tools .search-input{flex-basis:100%;max-width:100%}.visitor-pagination{padding:12px 14px}.log-date-field{flex:1}.log-date-field input{width:100%;min-width:0}}
.brandmark:not(.has-logo){width:30px;height:34px;border:0;border-radius:0;background:transparent}.brandmark:not(.has-logo) svg{width:27px;height:27px}.brandmark.has-logo{height:40px;width:40px;min-width:40px;max-width:40px;padding:0;border:0;border-radius:12px;background:transparent;overflow:hidden}.brandmark.has-logo img{width:40px;height:40px;max-width:40px;max-height:40px;object-fit:cover;border-radius:12px}.welcome-logo{width:96px;height:96px;max-width:min(96px,100%);max-height:96px;object-fit:cover;border-radius:18px;background:#fff;margin:0 0 22px}

/* Visitor status pills share one shape; open visits remain clickable for manual sign-out. */
.status-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:30px;padding:6px 10px;border:0;border-radius:999px;font:700 12px/1.15 'DM Sans',sans-serif;white-space:nowrap;vertical-align:middle}
.status-toggle.is-active{color:#226348;background:#e2f2eb}
.status-toggle.is-inactive{color:#a02e33;background:#fde8e8}
button.status-toggle{cursor:pointer;transition:background .16s,box-shadow .16s,transform .12s}
button.status-toggle:hover{background:#d1eadc;box-shadow:0 0 0 2px #22634818}
button.status-toggle:active{transform:translateY(1px)}
.status-age{font-weight:600;color:#4f7864;border-left:1px solid #b8d7c6;padding-left:7px}

.access-panel-head{align-items:center}.access-panel-head>div{display:grid;gap:4px}.access-groups{display:grid;gap:10px;padding:14px 16px 16px}.access-group{overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff}.access-group>summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:12px 16px;cursor:pointer;list-style:none;background:#f9fbfc}.access-group>summary::-webkit-details-marker{display:none}.access-group[open]>summary{border-bottom:1px solid var(--line);background:#f5f9fa}.access-group-title{display:grid;gap:4px;flex:1;min-width:0}.access-group-title strong{font:700 15px Manrope,sans-serif;color:var(--navy)}.access-group-title small{color:var(--muted);font-size:12px}.access-group-count{padding:5px 9px;border-radius:999px;background:#e8f1f4;color:#385d6d;font-size:12px;font-weight:700;white-space:nowrap}.access-group-chevron{color:#637887;font-size:18px;transition:transform .18s}.access-group[open] .access-group-chevron{transform:rotate(180deg)}.access-table-wrap{overflow:auto}.access-table{min-width:700px}.access-table th{white-space:nowrap}.access-table td{vertical-align:middle}.access-name-cell strong{color:var(--navy)}.access-name-cell small{display:block;margin-top:4px;color:var(--muted);font-size:12px}.access-role{font-weight:600;color:#365466}.admin-user-actions{display:flex;justify-content:flex-end;gap:7px;white-space:nowrap}.admin-user-actions .small-btn{padding:8px 10px}.access-empty{padding:28px;text-align:center;color:var(--muted)}
@media(max-width:760px){.access-groups{padding:10px}.access-group>summary{gap:9px;padding:11px}.access-group-title small{max-width:200px}.access-panel-head{align-items:flex-start}}
.log-timestamp{display:grid;gap:2px;line-height:1.25;white-space:nowrap}.log-timestamp span:first-child{font-weight:600;color:#314754}.log-timestamp span:last-child{font-size:12px;color:var(--muted)}.safety-tick{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e2f2eb;color:#226348;font-size:16px;font-weight:800;line-height:1}

/* Client list and editor: aligned columns with clear tenant logo treatment. */
.client-accounts-table{min-width:1305px;table-layout:fixed}.client-accounts-table th{white-space:nowrap}.client-accounts-table th:nth-child(1),.client-accounts-table td:nth-child(1){width:205px}.client-accounts-table th:nth-child(2),.client-accounts-table td:nth-child(2){width:150px}.client-accounts-table th:nth-child(3),.client-accounts-table td:nth-child(3){width:205px}.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:175px}.client-accounts-table th:nth-child(5),.client-accounts-table td:nth-child(5){width:135px}.client-accounts-table th:nth-child(6),.client-accounts-table td:nth-child(6){width:180px}.client-accounts-table th:nth-child(7),.client-accounts-table td:nth-child(7){width:100px}.client-accounts-table th:nth-child(8),.client-accounts-table td:nth-child(8){width:160px}
.client-name-cell{display:flex;align-items:center;gap:11px;min-width:0}.client-name-cell strong{line-height:1.3}.client-list-logo{width:38px;height:38px;flex:none;object-fit:cover;border:1px solid #dce5e9;border-radius:11px;background:#fff}.client-list-logo-placeholder{display:grid;place-items:center;color:#176b87;background:#e9f2f5;font-size:20px;font-weight:700}
.client-modal{width:min(820px,100%);padding:24px 28px}.client-modal>p{margin:0 0 18px}.client-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.client-form-grid>.field{min-width:0;margin-bottom:13px}.client-form-grid .field input,.client-form-grid .field select,.client-form-grid .field textarea{width:100%}.client-form-wide{grid-column:1/-1}.client-logo-editor{display:flex;align-items:center;gap:15px}.client-logo-editor-preview{width:70px;height:70px;flex:none;margin:0;object-fit:cover;border-radius:12px}.client-logo-editor>div{flex:1;min-width:0}.client-logo-editor input[type=file]{padding:8px}
/* A shared tactile treatment for light action buttons across admin and visitor flows. */
.small-btn:not(.primary-small):not(.client-exit){background:#edf3f5;border-color:#cbd8de;color:#294c5b;box-shadow:0 1px 2px #17384912;transition:background .16s,border-color .16s,box-shadow .16s,transform .12s}.small-btn:not(.primary-small):not(.client-exit):hover{background:#e1edf1;border-color:#aebfc8;box-shadow:0 2px 5px #17384918}.small-btn:not(.primary-small):not(.client-exit):active{transform:translateY(1px)}.small-btn.primary-small{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 1px 2px #103b4b24}.small-btn.primary-small:hover{background:#11576f;border-color:#11576f}.small-btn.client-exit{background:#ffffff14;color:#fff;border-color:#ffffff44}.small-btn.client-exit:hover{background:#ffffff25;color:#fff}.small-btn:focus-visible,.table-action:focus-visible,.btn:focus-visible{outline:3px solid #59a9c0;outline-offset:2px}.table-action{border:1px solid #cbd8de;border-radius:7px;background:#edf3f5;color:#294c5b;padding:7px 11px;box-shadow:0 1px 2px #17384912}.table-action:hover{background:#e1edf1;border-color:#aebfc8}.btn-secondary{background:#edf3f5;color:var(--navy);border:1px solid #cbd8de;box-shadow:0 1px 2px #17384912}.btn-secondary:hover{background:#e1edf1}
.host-option{background:#f9fbfc;border-color:#cbd8de}.host-option:hover{border-color:#84b3c1;background:#f0f7f9}
@media(max-width:620px){.client-form-grid{grid-template-columns:1fr}.client-form-wide{grid-column:auto}.client-modal{padding:22px 18px}.client-logo-editor{align-items:flex-start;flex-direction:column}}
.client-accounts-table{min-width:1135px}.client-accounts-table th:nth-child(1),.client-accounts-table td:nth-child(1){width:190px}.client-accounts-table th:nth-child(2),.client-accounts-table td:nth-child(2){width:130px}.client-accounts-table th:nth-child(3),.client-accounts-table td:nth-child(3){width:170px}.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:150px}.client-accounts-table th:nth-child(5),.client-accounts-table td:nth-child(5){width:110px}.client-accounts-table th:nth-child(6),.client-accounts-table td:nth-child(6){width:140px}.client-accounts-table th:nth-child(7),.client-accounts-table td:nth-child(7){width:85px}.client-accounts-table th:nth-child(8),.client-accounts-table td:nth-child(8){width:160px}.client-accounts-table td:nth-child(3){overflow-wrap:anywhere}
.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:#11576f}

/* Compact entity thumbnails, stable staff rows, copyable contact details and access role key. */
.entity-thumb{width:30px;height:30px;flex:none;display:inline-grid;place-items:center;object-fit:cover;border:1px solid #d8e3e7;border-radius:8px;background:#fff;color:#176b87}.entity-thumb-placeholder{background:#eaf2f5;color:#22647c;font-weight:700;font-size:15px}.client-thumb{border-radius:8px}.building-thumb{border-radius:7px}.entity-badge{display:inline-flex;align-items:center;gap:8px;min-width:0;white-space:nowrap}.entity-badge>span:last-child{overflow:hidden;text-overflow:ellipsis}.building-chip{display:inline-flex;align-items:center;gap:8px}.building-chip .entity-thumb{width:28px;height:28px}.activity-building .entity-thumb{width:30px;height:30px}.client-name-cell .entity-thumb{width:38px;height:38px;border-radius:10px}.client-building-tag{align-items:center;gap:6px;white-space:nowrap}.client-building-tag .entity-thumb{width:21px;height:21px;border-radius:5px;font-size:11px}.building-card>.entity-thumb{width:44px;height:44px;border-radius:11px;font-size:20px}
.copy-text{max-width:100%;display:inline-flex;align-items:center;gap:7px;border:0;padding:0;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere}.copy-text>span{flex:none;color:#708894;font-size:13px;opacity:.38;transition:opacity .15s}.copy-text:hover,.copy-text:focus-visible{color:#145e77;text-decoration:underline;text-underline-offset:2px}.copy-text:hover>span,.copy-text:focus-visible>span{opacity:1}.copy-text:focus-visible{outline:2px solid #59a9c0;outline-offset:3px;border-radius:3px}.access-name-cell .copy-text{font-weight:700;color:var(--navy)}.access-name-cell small .copy-text{font-size:12px;font-weight:400;color:var(--muted)}
.staff-table{table-layout:fixed;min-width:1080px}.staff-table th,.staff-table td{padding-left:11px;padding-right:11px;vertical-align:middle}.staff-table th{white-space:nowrap}.staff-table th:nth-child(1){width:170px}.staff-table th:nth-child(2){width:120px}.staff-table th:nth-child(3){width:190px}.staff-table th:nth-child(4){width:125px}.staff-table th:nth-child(5){width:135px}.staff-table th:nth-child(6){width:175px}.staff-table th:nth-child(7){width:95px}.staff-table th:nth-child(8){width:70px}.staff-table-building{min-width:900px}.staff-table-building th:nth-child(1){width:170px}.staff-table-building th:nth-child(2){width:145px}.staff-table-building th:nth-child(3){width:205px}.staff-table-building th:nth-child(4){width:140px}.staff-table-building th:nth-child(5){width:175px}.staff-table-building th:nth-child(6){width:95px}.staff-table-building th:nth-child(7){width:70px}.staff-table .profile-cell{min-width:0;gap:8px}.staff-table .profile-cell .avatar{width:34px;height:34px}.staff-name-lines{min-width:0;display:grid;grid-template-rows:1fr 1fr;align-content:center;line-height:1.2;font-weight:700;color:var(--navy);overflow-wrap:anywhere}.staff-name-lines>span{display:block}.staff-name-lines .status-pill{justify-self:start;margin-top:4px}.staff-table .status-toggle{width:82px;min-width:82px;padding:6px 8px;white-space:nowrap;flex:none}.staff-table .client-building-tag{display:inline-flex;max-width:100%;white-space:normal;overflow-wrap:anywhere}.staff-table .entity-thumb{width:20px;height:20px;font-size:10px;flex:none}.staff-table .copy-text{max-width:100%;font-size:13px}
.access-role-key{display:flex;align-items:center;gap:9px 10px;flex-wrap:wrap;padding:13px 18px;border-bottom:1px solid var(--line);background:#fcfdfd;color:#526773;font-size:12px}.access-role-chip{display:inline-flex;align-items:center;justify-content:center;min-width:70px;padding:6px 10px;border:1px solid;border-radius:7px;font-size:12px;font-weight:800;line-height:1}.role-full{background:#e9efff;border-color:#c8d5ff;color:#334f9b}.role-client{background:#e8f5ef;border-color:#bee2ce;color:#286b4c}.role-building{background:#fff2df;border-color:#efd3a5;color:#835819}.role-other{background:#f0f2f4;border-color:#d8dee2;color:#53636c}.access-role-key .access-role-chip:not(:first-child){margin-left:12px}.access-group-title{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;column-gap:10px}.access-group-title .entity-thumb{grid-row:1 / span 2}.access-group-title strong,.access-group-title small{grid-column:2}.access-scope{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.access-scope .entity-thumb{width:25px;height:25px;border-radius:6px;font-size:12px}.access-table .access-role-chip{min-width:76px}.who-in-table{min-width:900px}.who-in-table td{vertical-align:middle}
@media(max-width:760px){.access-role-key{gap:8px}.access-role-key .access-role-chip:not(:first-child){margin-left:0}.staff-table{min-width:1060px}.building-chip{max-width:45vw;white-space:normal}.access-group-title{grid-template-columns:28px minmax(0,1fr)}}

.staff-name-lines{position:relative;display:grid;grid-template-rows:auto auto;justify-items:start;flex:1;min-height:36px;padding:2px 0;border:0;background:transparent;text-align:left;color:var(--navy);font-weight:700;line-height:1.15;overflow:hidden}.staff-name-lines .copy-glyph{position:absolute;right:0;bottom:1px;background:#fff;padding-left:2px;font-weight:400}.staff-name-lines:hover .copy-glyph,.staff-name-lines:focus-visible .copy-glyph{opacity:1}.staff-table .profile-cell{gap:8px}

.access-user-profile{display:flex;align-items:center;gap:9px;min-width:0}.access-user-profile>img,.access-user-initials{width:34px;height:34px;flex:none;border:1px solid #d8e3e7;border-radius:50%;object-fit:cover}.access-user-initials{display:grid;place-items:center;background:#e8f1f4;color:#245d73;font-size:11px;font-weight:800}.access-user-profile .copy-text{min-width:0}.admin-profile-upload{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.admin-profile-preview{width:64px;height:64px;object-fit:cover;border:1px solid var(--line);border-radius:50%;background:#f3f6f8}.admin-profile-upload input[type=file]{flex:1;min-width:180px}.admin-profile-field[hidden]{display:none}

/* Contact copy controls stay quiet; email uses its native title tooltip and ellipsis. */
.copy-text>span{display:none}.copy-email{display:block;width:100%;max-width:100%;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}.staff-name-lines,.staff-name-lines:hover,.staff-name-lines:focus-visible{color:#102a43!important;text-decoration:none}.staff-name-lines .copy-glyph{display:none}

.staff-table .staff-name-lines{display:grid;grid-template-rows:auto auto;justify-items:start;align-content:center;flex:1;min-width:0;min-height:36px;margin:0;padding:0;border:0;background:none;color:#102a43!important;opacity:1;visibility:visible;font:700 14px/1.2 Manrope,sans-serif;white-space:normal;overflow-wrap:anywhere;overflow:visible}.staff-table .staff-name-lines>span{display:block;color:#102a43!important}

.host-details-link{border:0;background:transparent;padding:0;color:#176b87;font:inherit;font-weight:600;font-size:14px;text-align:left;text-decoration:underline;text-decoration-color:#b6cdd6;text-underline-offset:3px;cursor:pointer}.host-details-link:hover,.host-details-link:focus-visible{color:#102a43;text-decoration-color:currentColor}.host-details-link:focus-visible{outline:2px solid #59a9c0;outline-offset:3px;border-radius:2px}.host-details-modal{position:relative;width:min(560px,100%);padding:28px}.host-details-close{position:absolute;right:16px;top:13px;border:0;background:transparent;color:#637887;font-size:28px;line-height:1}.host-details-heading{display:flex;align-items:center;gap:15px;padding:2px 28px 20px 0;border-bottom:1px solid var(--line)}.host-details-heading .avatar{width:56px;height:56px;font-size:17px}.host-details-heading h2{margin:0;color:var(--navy);font:700 21px Manrope,sans-serif}.host-details-heading p{margin:5px 0 0;color:var(--muted);font-size:14px}.host-details-heading .eyebrow{margin:0 0 5px;font-size:10px}.host-details-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;padding:21px 0}.host-details-grid>div{min-width:0;display:grid;gap:6px;align-content:start}.host-details-grid>div>span{color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.host-details-grid strong,.host-details-grid a{color:var(--navy);font-size:14px;overflow-wrap:anywhere}.host-details-grid a{text-decoration-color:#b6cdd6;text-underline-offset:3px}.host-details-note{color:var(--muted);font-size:12px}.host-details-modal .modal-actions{margin-top:0}
@media(max-width:520px){.host-details-grid{grid-template-columns:1fr}.host-details-modal{padding:24px 20px}}

.host-details-footer{justify-content:space-between;align-items:center;gap:14px}.host-details-footer .host-details-note{margin:0;text-align:left}

.access-platform-icon{width:30px;height:30px;grid-row:1/span 2;display:grid;place-items:center;border:1px solid #cbd9fa;border-radius:8px;background:#e9efff;color:#334f9b}.access-platform-icon svg{width:18px;height:18px}

.admin-header+.small-btn+.banner{margin-top:14px}

.access-panel-tools{display:flex;align-items:center;gap:9px;flex:none}.access-panel-tools #access-search{width:min(270px,28vw);max-width:270px}.access-panel-tools .small-btn{white-space:nowrap}
@media(max-width:760px){.access-panel-tools{width:100%;flex-wrap:wrap}.access-panel-tools #access-search{width:100%;max-width:none;flex:1 1 190px}}

#access-scroll-buffer{height:0;pointer-events:none}

.report-delivery-notice{margin-bottom:18px}.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:0 16px}.report-filter-grid .field{min-width:0}.report-filter-grid input,.report-filter-grid select{width:100%}.report-columns{border:1px solid var(--line);border-radius:9px;margin:2px 0 18px;background:#fbfcfd}.report-columns summary{display:flex;justify-content:space-between;padding:12px 14px;cursor:pointer;color:#365466;font-size:13px;font-weight:700;list-style:none}.report-columns summary::-webkit-details-marker{display:none}.report-columns summary span{color:var(--muted);font-weight:500}.report-column-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 14px 14px}.report-column-choice{display:flex;gap:9px;align-items:center;padding:8px 10px;border-radius:7px;background:#f1f5f7;color:#344e5d;font-size:13px}.report-column-choice input{accent-color:var(--blue);width:16px;height:16px}.report-action-row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.report-name-field{flex:1;min-width:210px;margin:0!important}.report-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.report-paper{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin:18px 0;box-shadow:0 8px 25px #15364a08}.report-document-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:17px}.report-document-head .eyebrow{margin-bottom:6px}.report-document-head h2{font:800 24px Manrope,sans-serif;color:var(--navy);margin:0}.report-document-head p:last-child{color:var(--muted);font-size:13px;margin:6px 0 0}.report-document-brand{display:flex;align-items:center;gap:9px;color:#587180;font:700 13px Manrope,sans-serif;white-space:nowrap}.report-document-brand .entity-thumb{width:35px;height:35px}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 17px}.report-metrics .stat{padding:12px 14px}.report-metrics .stat-value{font-size:23px;margin-top:5px}.report-results{margin:0}.report-table{min-width:800px}.report-table th,.report-table td{font-size:12px;padding:10px 11px}.report-table td{vertical-align:top}.saved-report-list,.schedule-list{padding:12px 16px;display:grid;gap:9px}.saved-report-item,.schedule-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border:1px solid var(--line);border-radius:9px;background:#fff}.saved-report-item>div:first-child,.schedule-title{display:grid;gap:4px;min-width:0}.saved-report-item strong,.schedule-title strong{font-size:14px;color:var(--navy)}.saved-report-item small,.schedule-title small{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.saved-report-item>div:last-child,.schedule-item>div:last-child{display:flex;gap:7px;flex:none}.report-schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.report-schedule-grid .field{min-width:0}.schedule-recipients{grid-column:span 2}.schedule-save{display:flex;align-items:center;padding-bottom:18px}.schedule-paused{background:#f5f1e8;color:#80672d}.sendgrid-notice{line-height:1.7}.sendgrid-notice code,.sendgrid-steps code{font-family:ui-monospace,Consolas,monospace;background:#ffffffa8;border:1px solid #e8e1d0;padding:2px 5px;border-radius:4px}.sendgrid-status{background:#f5f1e8;color:#80672d}.sendgrid-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:23px}.sendgrid-steps>div{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:9px;color:#405e6e;font-size:13px}.sendgrid-steps b{width:25px;height:25px;flex:none;display:grid;place-items:center;border-radius:50%;background:#e8f1f4;color:#245d73}.sendgrid-form{margin-bottom:8px}
@media(max-width:900px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-action-row{align-items:stretch;flex-direction:column}.report-buttons{justify-content:flex-start}}
@media(max-width:620px){.report-column-grid,.sendgrid-steps{grid-template-columns:1fr 1fr}.report-schedule-grid{grid-template-columns:1fr}.schedule-recipients{grid-column:auto}.schedule-save{padding:0 0 14px}.saved-report-item,.schedule-item{align-items:flex-start;flex-direction:column}.saved-report-item>div:last-child,.schedule-item>div:last-child{flex-wrap:wrap}.report-paper{padding:15px}.report-document-head{align-items:flex-start}.report-document-brand{font-size:0}.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{@page{size:landscape;margin:12mm}body.printing-report{background:#fff!important}body.printing-report *{visibility:hidden!important}body.printing-report #report-paper,body.printing-report #report-paper *{visibility:visible!important}body.printing-report #report-paper{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important}body.printing-report #report-paper .report-document-head{margin-bottom:12px}body.printing-report #report-paper .report-results{border:0!important;overflow:visible!important}body.printing-report #report-paper .report-table-wrap{overflow:visible!important}body.printing-report #report-paper .report-table{min-width:0!important;width:100%!important;table-layout:auto}body.printing-report #report-paper .report-table th,body.printing-report #report-paper .report-table td{font-size:9pt;padding:6px 5px}body.printing-report #report-paper .report-metrics{display:grid!important;grid-template-columns:repeat(4,1fr)!important}}

.billing-header-actions{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 16px}.billing-prototype-banner{margin-bottom:16px}.billing-kpis .billing-overdue-stat .stat-value{color:#aa463e}.billing-dashboard-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;margin-bottom:16px}.billing-dashboard-grid>.panel{margin:0;min-width:0}.billing-reminders{display:grid;gap:8px}.billing-reminder,.billing-note{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#fff}.billing-reminder.is-due{border-color:#e8c5be;background:#fff9f8}.billing-reminder>div,.billing-note>div{display:grid;gap:4px;min-width:0}.billing-reminder strong,.billing-note strong{color:var(--navy);font-size:13px}.billing-reminder small,.billing-note small{color:var(--muted);font-size:11px}.billing-note p{margin:4px 0 0;color:#405968;font-size:13px;line-height:1.45;white-space:pre-wrap}.billing-followup-form,.billing-note-form{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;padding-top:9px}.billing-followup-form .field,.billing-note-form .field{min-width:0}.followup-note,.note-text{grid-column:1/-1}.quick-reminders{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding:0 0 8px}.quick-reminders .primary-small{margin-left:auto}.billing-note-form>.small-btn{justify-self:end;align-self:center;margin-bottom:17px}.billing-note-list{display:grid;gap:8px;margin-top:12px}.billing-table-tools{display:flex;gap:8px;align-items:center}.billing-table-tools .search-input{width:220px}.billing-table-tools select{width:auto;min-width:135px}.billing-table,.billing-client-table{min-width:1100px}.billing-table td,.billing-client-table td{vertical-align:middle}.billing-table td small,.billing-client-table td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.billing-actions{display:flex;gap:8px;align-items:center;white-space:nowrap}.billing-status{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.status-draft{color:#586b75;background:#f2f5f6;border-color:#d9e2e6}.status-sent{color:#26627a;background:#e9f4f8;border-color:#c6e0e9}.status-overdue{color:#a34238;background:#fff0ed;border-color:#f0c6bf}.status-paid{color:#28734f;background:#eaf6ef;border-color:#c6e5d1}.billing-toggle{min-width:86px;padding:6px 10px;border:1px solid;border-radius:999px;font-size:12px;font-weight:750;cursor:pointer}.billing-toggle.enabled{color:#28734f;background:#eaf6ef;border-color:#c6e5d1}.billing-toggle.paused{color:#a34238;background:#fff0ed;border-color:#f0c6bf}.billing-sender-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.billing-sender-grid .field{min-width:0}.billing-modal{width:min(720px,100%)}.billing-modal>p{display:flex;align-items:center;gap:8px}.billing-modal .toggle-row{margin-top:7px}.email-preview-copy{margin-top:16px;padding:16px;border:1px solid var(--line);border-radius:10px;background:#f7fafb;color:#405968;line-height:1.55}.email-preview-copy p{margin-bottom:0}.invoice-preview-modal{width:min(940px,100%);padding:18px}.invoice-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.invoice-preview-toolbar>div{display:flex;gap:8px}.invoice-document{max-width:850px;margin:0 auto;padding:42px;background:white;border:1px solid #dfe7eb;color:#253d4c;font-family:Arial,sans-serif}.invoice-document-head{display:flex;justify-content:space-between;gap:22px;padding-bottom:24px;border-bottom:2px solid #1c5268}.invoice-document-head h1{margin:0 0 9px;color:#123247;font-size:23px}.invoice-document-head>div:first-child>div{margin:4px 0;color:#5c707b;font-size:12px}.invoice-document .eyebrow{margin:0 0 6px;color:#27748b;font-size:11px;font-weight:800;letter-spacing:.13em}.invoice-number-block{display:grid;gap:7px;align-content:start;text-align:right;color:#5b707b;font-size:12px}.invoice-number-block strong{color:#123247;font-size:18px}.invoice-bill-to{padding:26px 0}.invoice-bill-to>span{color:#6a7f89;font-size:10px;font-weight:800;letter-spacing:.12em}.invoice-bill-to h2{margin:7px 0;color:#123247;font-size:19px}.invoice-bill-to div{margin:4px 0;color:#536a77;font-size:13px}.invoice-lines{width:100%;border-collapse:collapse}.invoice-lines th,.invoice-lines td{padding:12px 10px;border-bottom:1px solid #dfe7eb;text-align:left;font-size:13px}.invoice-lines thead th{background:#f1f6f8;color:#3f5968;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.invoice-lines th:last-child,.invoice-lines td:last-child{text-align:right}.invoice-lines tfoot th{color:#123247;text-align:right;font-size:14px}.invoice-lines tfoot td{color:#123247;font-size:18px;font-weight:800}.invoice-footer{display:flex;justify-content:space-between;gap:14px;margin-top:30px;padding-top:14px;border-top:1px solid #dfe7eb;color:#617681;font-size:11px}.invoice-footer strong{color:#28495b}.billing-preview-actions{display:flex;gap:8px}
@media(max-width:900px){.billing-dashboard-grid{grid-template-columns:1fr}.billing-header-actions{margin-top:14px}.billing-table-tools{width:100%;flex-wrap:wrap}.billing-table-tools .search-input{flex:1;min-width:180px}.billing-sender-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.billing-followup-form,.billing-note-form,.billing-sender-grid{grid-template-columns:1fr}.followup-note,.note-text,.quick-reminders{grid-column:auto}.quick-reminders .primary-small{margin-left:0}.billing-note-form>.small-btn{justify-self:start}.invoice-document{padding:22px}.invoice-document-head{flex-direction:column}.invoice-number-block{text-align:left}.invoice-footer{flex-direction:column}.billing-header-actions .small-btn{flex:1}.billing-modal{padding:20px}}
@media print{@page{size:A4;margin:18mm}body.printing-invoice *{visibility:hidden!important}body.printing-invoice .invoice-document,body.printing-invoice .invoice-document *{visibility:visible!important}body.printing-invoice .invoice-document{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}.invoice-document{break-inside:avoid}.invoice-lines tr{break-inside:avoid}}
/* Invoice brand, account status controls, and isolated A4 printing. */
.invoice-brandline{display:flex;align-items:center;gap:9px;margin:0 0 14px;color:#31596b;font:800 10px/1 Arial,sans-serif;letter-spacing:.12em}
.invoice-brandmark{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#123247;color:#fff}
.invoice-brandmark svg{width:21px;height:21px}
.user-status-toggle{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:82px;min-height:30px;padding:6px 10px;border:0;border-radius:999px;font:700 12px/1.15 'DM Sans',sans-serif;cursor:pointer;white-space:nowrap;vertical-align:middle;transition:background .16s,box-shadow .16s,transform .12s}
.user-status-toggle.is-active{color:#226348;background:#e2f2eb}
.user-status-toggle.is-inactive{color:#a02e33;background:#fde8e8}
.status-pill.status-inactive{color:#a02e33;background:#fde8e8}
.status-pill.status-inactive:before{background:#a02e33}
.user-status-toggle.is-active:hover{background:#d1eadc;box-shadow:0 0 0 2px #22634818}
.user-status-toggle.is-inactive:hover{background:#f8dada;box-shadow:0 0 0 2px #a02e3318}
.staff-form-grid>.staff-buildings-field{grid-column:1/-1;width:100%;min-width:0}
.staff-buildings-field>.staff-building-list{width:100%;grid-template-columns:1fr}
.staff-buildings-field .staff-building-assignment{grid-template-columns:minmax(180px,.5fr) minmax(0,1fr);align-items:stretch;padding:10px 14px}
.staff-buildings-field .staff-company-field{min-width:0}
.staff-directory-table .profile-cell>.record-avatar{display:grid;place-items:center;align-content:center;text-align:center;line-height:1}
.staff-directory-table .profile-cell>span:not(.record-avatar){display:block;min-width:0;overflow:hidden}
.staff-directory-table .profile-cell strong{white-space:normal;overflow-wrap:anywhere;line-height:1.25}
@media(max-width:640px){.staff-buildings-field .staff-building-assignment{grid-template-columns:1fr;gap:8px}}
.kiosk-mode-card{max-width:620px;margin-top:clamp(32px,10vh,100px)}
.kiosk-mode-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.kiosk-mode-actions .btn{min-height:72px;font-size:20px}
.kiosk-signout-results{display:grid;gap:8px;margin:8px 0 16px;max-height:38vh;overflow:auto}
.kiosk-signout-result{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);text-align:left;cursor:pointer}
.kiosk-signout-result>span:first-child{display:grid;gap:4px}.kiosk-signout-result small{color:var(--muted)}
.kiosk-signout-result:hover,.kiosk-signout-result.is-selected{border-color:var(--blue);background:color-mix(in srgb,var(--blue) 9%,var(--paper))}
.kiosk-visit-status{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}
.kiosk-visit-status.is-on-site{color:#176c4a;background:#e3f4eb}.kiosk-visit-status.is-signed-out{color:#526473;background:#e8edf0}
.kiosk-signout-selection:empty{display:none}.kiosk-signout-selected{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 16px;padding:12px 14px;border-radius:10px;background:#f4f7f9}
@media(max-width:520px){.kiosk-mode-actions{grid-template-columns:1fr}.kiosk-mode-actions .btn{min-height:62px}.kiosk-signout-result{padding:12px}.kiosk-signout-selected{align-items:flex-start;flex-direction:column}}
.user-status-toggle:active{transform:translateY(1px)}
.user-status-toggle::after{content:'⌄';font-size:10px;margin-left:4px;line-height:1}
.user-status-toggle:focus-visible{outline:3px solid #176b8740;outline-offset:2px}
@media print{
  @page{size:A4 portrait;margin:12mm}
  html,body{width:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;background:#fff!important}
  body.printing-invoice>*:not(.invoice-preview-backdrop){display:none!important}
  body.printing-invoice .invoice-preview-backdrop{display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;overflow:visible!important;background:#fff!important;visibility:visible!important}
  body.printing-invoice .invoice-preview-toolbar{display:none!important}
  body.printing-invoice .invoice-preview-modal{display:block!important;position:static!important;inset:auto!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important;visibility:visible!important}
  body.printing-invoice .invoice-document{display:block!important;position:static!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;color:#253d4c!important;font-size:11pt!important;break-inside:auto!important;page-break-after:auto!important;visibility:visible!important}
  body.printing-invoice .invoice-document *{visibility:visible!important}
  body.printing-invoice .invoice-document-head{padding-bottom:6mm;gap:8mm;border-bottom-width:1.5pt}
  body.printing-invoice .invoice-document-head h1{font-size:18pt;margin-bottom:2mm}
  body.printing-invoice .invoice-document-head>div:first-child>div{font-size:9pt;margin:1mm 0}
  body.printing-invoice .invoice-bill-to{padding:8mm 0}
  body.printing-invoice .invoice-bill-to h2{font-size:15pt;margin:2mm 0}
  body.printing-invoice .invoice-bill-to div{font-size:10pt;margin:1mm 0}
  body.printing-invoice .invoice-lines{width:100%!important;break-inside:auto!important}
  body.printing-invoice .invoice-lines th,body.printing-invoice .invoice-lines td{padding:3mm 2.5mm;font-size:10pt}
  body.printing-invoice .invoice-lines tr{break-inside:avoid!important;page-break-inside:avoid!important}
  body.printing-invoice .invoice-footer{margin-top:10mm;padding-top:4mm;font-size:9pt;break-inside:avoid!important;page-break-inside:avoid!important}
}

/* Let each admin view use the full workspace width so wide data tables have room. */
.admin-content{max-width:none;margin:0}
.admin-content .panel,.admin-content .table-wrap{width:100%;max-width:none}
.admin-content table th{white-space:nowrap}
.building-chip{max-width:min(42vw,340px);min-width:0;overflow:hidden}
.building-chip>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.entity-badge{max-width:240px;min-width:0}
.entity-badge>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.activity-building{max-width:230px;min-width:0;overflow:hidden}
.activity-building>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-building-tag{max-width:220px;min-width:0;overflow:hidden;vertical-align:middle}
.client-building-tag>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Keep long client and building labels inside their own table columns. */
.client-accounts-table{width:100%;min-width:1360px;table-layout:fixed}
.client-accounts-table th:nth-child(1),.client-accounts-table td:nth-child(1){width:200px}
.client-accounts-table th:nth-child(2),.client-accounts-table td:nth-child(2){width:140px}
.client-accounts-table th:nth-child(3),.client-accounts-table td:nth-child(3){width:190px}
.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:165px}
.client-accounts-table th:nth-child(5),.client-accounts-table td:nth-child(5){width:125px}
.client-accounts-table th:nth-child(6),.client-accounts-table td:nth-child(6){width:230px}
.client-accounts-table th:nth-child(7),.client-accounts-table td:nth-child(7){width:110px}
.client-accounts-table th:nth-child(8),.client-accounts-table td:nth-child(8){width:200px}
.client-accounts-table td{min-width:0;overflow:hidden}
.client-accounts-table .client-building-tag{display:inline-flex;max-width:100%;min-width:0;box-sizing:border-box;vertical-align:middle}
.client-accounts-table .client-building-tag>span:last-child{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-accounts-table .client-name-cell{min-width:0}
.client-accounts-table .client-name-cell strong{min-width:0;overflow-wrap:anywhere}
.staff-table{width:100%;min-width:1260px;table-layout:fixed}
.staff-table:not(.staff-table-building) th:nth-child(1){width:180px}
.staff-table:not(.staff-table-building) th:nth-child(2){width:130px}
.staff-table:not(.staff-table-building) th:nth-child(3){width:220px}
.staff-table:not(.staff-table-building) th:nth-child(4){width:145px}
.staff-table:not(.staff-table-building) th:nth-child(5){width:190px}
.staff-table:not(.staff-table-building) th:nth-child(6){width:220px}
.staff-table:not(.staff-table-building) th:nth-child(7){width:100px}
.staff-table:not(.staff-table-building) th:nth-child(8){width:75px}
.staff-table-building{min-width:1080px}
.staff-table-building th:nth-child(1){width:180px}
.staff-table-building th:nth-child(2){width:150px}
.staff-table-building th:nth-child(3){width:220px}
.staff-table-building th:nth-child(4){width:150px}
.staff-table-building th:nth-child(5){width:250px}
.staff-table-building th:nth-child(6){width:105px}
.staff-table-building th:nth-child(7){width:75px}
.staff-table td{min-width:0;overflow:hidden}
.staff-table .entity-badge,.staff-table .client-building-tag{display:inline-flex;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;vertical-align:middle}
.staff-table .entity-badge>span:last-child,.staff-table .client-building-tag>span:last-child{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* These directory tables should fit their cards; long values are ellipsised in-cell. */
.client-accounts-table,.staff-table,.staff-table-building{width:100%;min-width:0;table-layout:fixed}
.client-accounts-table th:nth-child(1),.client-accounts-table td:nth-child(1){width:15%}
.client-accounts-table th:nth-child(2),.client-accounts-table td:nth-child(2){width:11%}
.client-accounts-table th:nth-child(3),.client-accounts-table td:nth-child(3){width:16%}
.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:14%}
.client-accounts-table th:nth-child(5),.client-accounts-table td:nth-child(5){width:10%}
.client-accounts-table th:nth-child(6),.client-accounts-table td:nth-child(6){width:16%}
.client-accounts-table th:nth-child(7),.client-accounts-table td:nth-child(7){width:9%}
.client-accounts-table th:nth-child(8),.client-accounts-table td:nth-child(8){width:9%}
.client-accounts-table td,.staff-table td{min-width:0;overflow:hidden}
.client-accounts-table .client-name-cell{min-width:0;overflow:hidden}
.client-accounts-table .client-name-cell strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.client-accounts-table .client-building-tag,.staff-table .entity-badge,.staff-table .client-building-tag{display:inline-flex;width:100%;max-width:100%;min-width:0;box-sizing:border-box;overflow:hidden;vertical-align:middle}
.client-accounts-table .client-building-tag>span:last-child,.staff-table .entity-badge>span:last-child,.staff-table .client-building-tag>span:last-child{display:block;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-table:not(.staff-table-building) th:nth-child(1){width:13%}
.staff-table:not(.staff-table-building) th:nth-child(2){width:11%}
.staff-table:not(.staff-table-building) th:nth-child(3){width:17%}
.staff-table:not(.staff-table-building) th:nth-child(4){width:12%}
.staff-table:not(.staff-table-building) th:nth-child(5){width:15%}
.staff-table:not(.staff-table-building) th:nth-child(6){width:17%}
.staff-table:not(.staff-table-building) th:nth-child(7){width:9%}
.staff-table:not(.staff-table-building) th:nth-child(8){width:6%}
.staff-table-building th:nth-child(1){width:17%}
.staff-table-building th:nth-child(2){width:14%}
.staff-table-building th:nth-child(3){width:22%}
.staff-table-building th:nth-child(4){width:14%}
.staff-table-building th:nth-child(5){width:17%}
.staff-table-building th:nth-child(6){width:10%}
.staff-table-building th:nth-child(7){width:6%}

/* Final client account table sizing: use the card width and keep every action visible. */
.client-accounts-table-wrap{overflow-x:hidden}
.client-accounts-table th:nth-child(1),.client-accounts-table td:nth-child(1){width:20%}
.client-accounts-table th:nth-child(2),.client-accounts-table td:nth-child(2){width:10%}
.client-accounts-table th:nth-child(3),.client-accounts-table td:nth-child(3){width:15%}
.client-accounts-table th:nth-child(4),.client-accounts-table td:nth-child(4){width:13%}
.client-accounts-table th:nth-child(5),.client-accounts-table td:nth-child(5){width:9%}
.client-accounts-table th:nth-child(6),.client-accounts-table td:nth-child(6){width:14%}
.client-accounts-table th:nth-child(7),.client-accounts-table td:nth-child(7){width:8%}
.client-accounts-table th:nth-child(8),.client-accounts-table td:nth-child(8){width:11%}
.client-accounts-table th{padding:12px 10px;font-size:10px;letter-spacing:.07em}
.client-accounts-table td{padding:14px 10px;font-size:14px}
.client-accounts-table .client-name-cell{gap:10px}
.client-accounts-table .client-name-cell .entity-thumb{width:38px;height:38px;flex:none}
.client-accounts-table .client-name-cell strong{flex:1;min-width:0;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-accounts-table .client-actions{width:100%;min-width:0;gap:6px}
.client-accounts-table .client-actions .small-btn{min-width:0;min-height:32px;padding:7px 4px;font-size:11px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}

/* Invoice register actions stay inside the card, including on wide desktop layouts. */
.billing-panel-invoices .table-wrap{overflow-x:hidden}
.billing-table{width:100%;min-width:0;table-layout:fixed}
.billing-table th:nth-child(1),.billing-table td:nth-child(1){width:16%}
.billing-table th:nth-child(2),.billing-table td:nth-child(2){width:17%}
.billing-table th:nth-child(3),.billing-table td:nth-child(3){width:8%}
.billing-table th:nth-child(4),.billing-table td:nth-child(4){width:8%}
.billing-table th:nth-child(5),.billing-table td:nth-child(5){width:8%}
.billing-table th:nth-child(6),.billing-table td:nth-child(6){width:8%}
.billing-table th:nth-child(7),.billing-table td:nth-child(7){width:9%}
.billing-table th:nth-child(8),.billing-table td:nth-child(8){width:10%}
.billing-table th:nth-child(9),.billing-table td:nth-child(9){width:16%}
.billing-table th,.billing-table td{min-width:0;padding-left:8px;padding-right:8px}
.billing-table th{font-size:10px;letter-spacing:.06em;white-space:nowrap}
.billing-table td{font-size:13px;overflow:hidden}
.billing-table .entity-badge{display:inline-flex;max-width:100%;min-width:0;overflow:hidden}
.billing-table .entity-badge>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.billing-actions{width:100%;min-width:0;display:flex;flex-wrap:wrap;gap:4px;white-space:normal}
.billing-actions .table-action{min-width:0;padding:5px 4px;font-size:12px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.sendgrid-test-history{display:grid;gap:7px}
.sendgrid-test-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfd}
.sendgrid-test-entry>span:first-child{display:grid;gap:3px;min-width:0}
.sendgrid-test-entry strong{color:var(--navy);font-size:13px;overflow-wrap:anywhere}
.sendgrid-test-entry small{color:var(--muted);font-size:11px}
.sendgrid-result-sent,.sendgrid-result-failed{font-size:12px;font-weight:700;flex:none}
.sendgrid-result-sent{color:#28734f}.sendgrid-result-failed{color:#a34238}
.sendgrid-status.is-ready{background:#eaf6ef;color:#28734f}
.legacy-building-list{display:grid;gap:8px;padding:14px}
.legacy-building-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(220px,1.2fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fbfcfd}
.legacy-building-row>div{display:grid;gap:3px;min-width:0}
.legacy-building-row strong{color:var(--navy);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.legacy-building-row small{color:var(--muted);font-size:11px}
.legacy-building-row select{width:100%;min-width:0;border:1px solid #cbd8df;border-radius:7px;background:#fff;color:var(--ink);padding:8px;font:inherit;font-size:12px}
@media(max-width:760px){.legacy-building-row{grid-template-columns:1fr}.billing-table .billing-actions{gap:2px}.billing-table .billing-actions .table-action{padding:4px 3px;font-size:11px}}
.client-name-cell strong{min-width:0;overflow-wrap:anywhere}
.billing-audit-table{min-width:1180px}
.billing-audit-table td{vertical-align:top}
.billing-audit-table td:last-child{min-width:300px;max-width:480px;white-space:normal;line-height:1.4}
.billing-prototype-banner{background:#f8fafb;border-color:#e8edef;color:#5b707a}
.billing-panel-followups{background:#fbfcfd;border-color:#e7edef}
.billing-panel-followups .panel-head{background:#f6f9fa}
.billing-panel-followups .panel-body{background:#fbfcfd}
.billing-panel-notes{background:#fcfbf9;border-color:#eeeae3}
.billing-panel-notes .panel-head{background:#f8f7f4}
.billing-panel-notes .panel-body{background:#fcfbf9}
.billing-panel-invoices{background:#fbfcfd;border-color:#e6ecef}
.billing-panel-invoices .panel-head{background:#f5f8fa}
.billing-panel-clients{background:#fbfcfa;border-color:#e7ede7}
.billing-panel-clients .panel-head{background:#f6f9f6}
.billing-panel-sender{background:#fbfcfd;border-color:#e7ebee}
.billing-panel-sender .panel-head{background:#f6f8fa}
.billing-audit-panel{background:#fbfbfc;border-color:#e9e9ed}
.billing-audit-panel .panel-head{background:#f7f8fa}
.billing-audit-actor strong,.billing-audit-actor small{display:block}
.billing-audit-actor small{max-width:200px;margin-top:3px;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.visitor-log-name-cell{min-width:170px}
.visitor-badge-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:6px}
.visitor-badge-actions .badge-print-button{padding:5px 9px;font-size:11px;min-height:28px}
.badge-print-state{color:#526273;font-size:10px;white-space:nowrap}
.badge-print-state.is-printed{color:#245c43;font-weight:700}
.badge-print-check{display:inline-grid;width:14px;height:14px;place-items:center;border:1px solid currentColor;border-radius:50%;font-size:9px;font-weight:800;line-height:1;vertical-align:middle;cursor:help}
.badge-confirm-printed{border:1px solid #bfd9ca;border-radius:6px;background:#edf7f1;color:#245c43;padding:4px 7px;font-family:inherit;font-size:10px;font-weight:600;cursor:pointer}
.badge-confirm-printed:hover{background:#e1f0e7}
[hidden].badge-print-state,[hidden].badge-confirm-printed{display:none}
@media(max-width:760px){.visitor-badge-actions{align-items:flex-start;flex-direction:column;gap:4px}}

/* Role-based help centre and explicitly rebuilt guide snapshots. */
.admin-help-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;border-color:#ffffff;color:var(--navy);background:#fff;font-size:12px;white-space:nowrap}
.admin-help-button:hover{background:#eaf2f5;border-color:#eaf2f5}
.admin-help-button>span{display:grid;width:19px;height:19px;place-items:center;border-radius:50%;background:#e7f0f3;color:#155d75;font-size:13px;font-weight:800}
.help-rebuild-button{white-space:nowrap}
.help-status-banner{display:flex;align-items:flex-start;gap:13px;margin:0 0 16px;padding:14px 17px;border:1px solid #d9e7ec;border-radius:11px;background:#f1f7f9;color:#315366}
.help-status-banner.is-stale{border-color:#ecd9b8;background:#fff9ed;color:#6e5526}
.help-status-icon{display:grid;width:25px;height:25px;flex:none;place-items:center;border-radius:50%;background:#dfeef2;color:#17627b;font-weight:800}
.help-status-banner.is-stale .help-status-icon{background:#f4e7c9;color:#795c22}
.help-status-banner strong{display:block;margin:1px 0 3px;font-size:13px}
.help-status-banner p{margin:0;font-size:12px;line-height:1.5}
.help-status-banner small{display:block;margin-top:5px;color:#72818a;font-size:11px}
.help-intro{display:flex;align-items:flex-start;gap:14px;padding:17px 20px;background:#fbfdfe}
.help-intro-mark{display:grid;width:36px;height:36px;flex:none;place-items:center;border-radius:11px;background:#e6f1f4;color:#176b87;font-size:20px;font-weight:800}
.help-intro strong{color:var(--navy);font-size:15px}
.help-intro p{margin:5px 0;color:#536b79;font-size:13px;line-height:1.55}
.help-intro small{color:#72818a;font-size:11px;line-height:1.45}
.help-library{overflow:visible}
.help-library-head{align-items:center;flex-wrap:wrap}
.help-tools{display:flex;align-items:center;gap:8px}
.help-tools .search-input{width:min(330px,36vw)}
.help-library-body{padding:18px 20px 20px}
.help-topic-group+.help-topic-group{margin-top:22px}
.help-topic-group>h2{margin:0 0 9px;color:#6f8390;font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.help-topic{overflow:hidden;border:1px solid #e0e8ec;border-radius:10px;background:#fff}
.help-topic+.help-topic{margin-top:8px}
.help-topic[hidden],.help-topic-group[hidden]{display:none!important}
.help-topic>summary{display:flex;align-items:center;gap:12px;padding:13px 15px;cursor:pointer;list-style:none}
.help-topic>summary::-webkit-details-marker{display:none}
.help-topic>summary:hover{background:#f8fbfc}
.help-topic-icon{display:grid;width:29px;height:29px;flex:none;place-items:center;border-radius:9px;background:#eaf3f6;color:#17627b;font-size:15px;font-weight:800}
.help-topic-summary{display:grid;gap:3px;min-width:0;flex:1}
.help-topic-summary strong{color:var(--navy);font-size:14px}
.help-topic-summary small{color:#71828d;font-size:12px;line-height:1.45}
.help-topic-chevron{color:#71828d;font-size:17px;transition:transform .16s}
.help-topic[open]>.help-topic-chevron,.help-topic[open]>summary .help-topic-chevron{transform:rotate(180deg)}
.help-topic-content{padding:0 16px 16px;border-top:1px solid #edf1f3}
.help-screenshot{overflow:hidden;margin:15px 0 17px;border:1px solid #dbe5e9;border-radius:10px;background:#f4f7f8;box-shadow:0 5px 16px #16364b0b}
.help-shot-top{height:39px;display:flex;align-items:center;gap:10px;padding:0 12px;background:#12324a;color:#fff}
.help-shot-dots{display:flex;gap:4px}
.help-shot-dots i{width:6px;height:6px;border-radius:50%;background:#99afba}
.help-shot-top strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.help-shot-sample{margin-left:auto;color:#cfe0e6;font-size:9px;font-weight:700;letter-spacing:.08em;white-space:nowrap}
.help-shot-body{padding:12px;background:#f7f9fa}
.help-shot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:9px}
.help-shot-stats>div{min-width:0;padding:8px;border:1px solid #e1e8eb;border-radius:7px;background:#fff}
.help-shot-stats small{display:block;overflow:hidden;color:#82929a;font-size:8px;font-weight:700;letter-spacing:.06em;text-overflow:ellipsis;white-space:nowrap}
.help-shot-stats strong{display:block;margin-top:4px;color:#173950;font-size:14px}
.help-shot-filters{display:flex;gap:6px;overflow:hidden;margin-bottom:8px;white-space:nowrap}
.help-shot-filters span{max-width:45%;overflow:hidden;padding:5px 8px;border:1px solid #dfe7ea;border-radius:6px;background:#fff;color:#506672;font-size:9px;text-overflow:ellipsis}
.help-shot-table{overflow:auto;border:1px solid #e0e7ea;border-radius:7px;background:#fff}
.help-shot-table-title{display:flex;align-items:center;justify-content:space-between;padding:8px 9px;border-bottom:1px solid #e7edef}
.help-shot-table-title strong{color:#19394d;font-size:10px}
.help-shot-table-title small{color:#7c8d96;font-size:9px}
.help-shot-head,.help-shot-row{display:grid;grid-template-columns:repeat(7,minmax(75px,1fr));min-width:525px}
.help-shot-head span{padding:7px 8px;background:#f2f6f7;color:#778b95;font-size:8px;font-weight:800;letter-spacing:.05em}
.help-shot-row span{overflow:hidden;padding:8px;border-top:1px solid #edf1f2;color:#5b707b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.help-shot-row .help-shot-primary{color:#153a52;font-weight:700}
.help-screenshot figcaption{padding:0 12px 11px;color:#7a8b94;font-size:10px;line-height:1.4}
.help-instructions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.help-instructions>section{min-width:0;padding:13px 14px;border:1px solid #e6ecef;border-radius:9px;background:#fcfdfd}
.help-instructions h3{margin:0 0 6px;color:#18394e;font-size:13px}
.help-instructions p{margin:0 0 8px;color:#536b79;font-size:12px;line-height:1.55}
.help-instructions ol{margin:0;padding-left:18px;color:#536b79;font-size:12px;line-height:1.6}
.help-instructions li+li{margin-top:3px}
.help-topic-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;padding-top:11px;border-top:1px solid #edf1f3}
.help-topic-actions>span{color:#82919a;font-size:10px}
.help-topic-actions .small-btn{white-space:nowrap}
.help-footer-note{margin:2px 3px 18px;color:#7b8b93;font-size:11px;line-height:1.5}
@media(max-width:900px){.admin-top{padding:0 18px}.admin-top-right{gap:8px}.help-instructions{grid-template-columns:1fr}.help-tools .search-input{width:min(300px,45vw)}}
@media(max-width:620px){.admin-top{height:auto;min-height:68px;padding:10px 14px;gap:10px}.admin-top .brand{font-size:13px}.admin-top-right{gap:6px;flex-wrap:wrap;justify-content:flex-end}.admin-top-right .role-switch{max-width:135px}.admin-top-right .mode-label{display:none}.admin-help-button{min-height:34px;padding:6px 8px}.help-rebuild-button{margin-top:8px}.help-intro{padding:14px}.help-library-head{align-items:flex-start;flex-direction:column}.help-tools{width:100%}.help-tools .search-input{width:auto;min-width:0;flex:1}.help-library-body{padding:14px}.help-shot-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.help-shot-sample{font-size:8px}.help-topic-actions{align-items:flex-start;flex-direction:column}}
.login-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;background:#f3f6f8}
.login-page .login-nav{flex:0 0 auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px clamp(16px,3vw,36px)}
.login-page .login-nav>div{display:flex;align-items:center;gap:10px}
.server-gate-message{flex:1 0 auto;min-height:0;display:grid;place-items:start center;padding:clamp(42px,7vh,76px) 24px 36px;background:#f3f6f8}
.server-gate-card{width:min(100%,560px);padding:40px;border:1px solid #dce5eb;border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(16,42,67,.1)}.server-gate-card h1{margin:10px 0 12px;color:#102a43;font-size:clamp(28px,4vw,38px);letter-spacing:-.035em}.server-gate-card p{color:#526a7f;line-height:1.6}.server-gate-card .btn{margin-top:12px}

/* Rebuilt admin workspace */
.admin-content{max-width:none;padding:32px clamp(22px,3vw,52px)}
.admin-content .panel{overflow:hidden}
.admin-content .table-wrap{overflow-x:auto}
.admin-content table{min-width:720px}
.admin-content td,.admin-content th{white-space:nowrap}
.admin-content td:first-child{white-space:normal;min-width:150px}
.record-actions{display:flex;gap:7px;align-items:center;white-space:nowrap}
.danger-small{color:#9e3035;border-color:#edd0d1;background:#fff8f8}
.danger-small:hover{background:#fff0f0}
.client-form-grid,.staff-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.admin-modal{width:min(760px,100%);max-height:calc(100dvh - 40px);overflow:auto}
.admin-modal .modal-actions{position:sticky;bottom:-25px;padding:14px 0 0;background:#fff}
.admin-modal .staff-building-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-modal .staff-building-list .check-option{display:flex;align-items:center;gap:10px;min-width:0;border:1px solid var(--line);border-radius:9px;padding:10px 12px;margin:0;background:#fff;font-weight:600}
.admin-modal .staff-building-list input[type="checkbox"]{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;padding:0!important;margin:0!important;flex:0 0 18px;accent-color:var(--blue)}
.status-pill.is-onsite{color:#17684e;background:#e4f3ed;border:1px solid #c9e8dc}
.integration-toggle{display:flex;align-items:center;gap:9px;margin:12px 0;color:var(--navy);font-size:14px;font-weight:700}.integration-toggle input{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important;accent-color:var(--blue)}.integration-test{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:18px;padding:16px;background:#f5f8fa;border:1px solid var(--line);border-radius:10px}.integration-test .field{margin:0}.secret-list{padding-left:20px;line-height:1.8}.secret-list li{margin:4px 0}
.kiosk-page{min-height:100vh;background:#f2f5f7;color:var(--navy);display:flex;flex-direction:column;align-items:center;padding:0 18px 24px}.kiosk-top{width:min(900px,100%);min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--navy);font-weight:700}.kiosk-brand{font-size:16px}.kiosk-top>span:last-child{color:var(--muted);font-size:14px;text-align:right}.kiosk-card{width:min(720px,100%);margin:36px auto 20px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:34px;box-shadow:0 12px 36px #19334a0b}.kiosk-card h1{font-size:clamp(28px,5vw,38px);line-height:1.12;margin:8px 0 10px}.kiosk-card .lede{font-size:16px;line-height:1.5;color:var(--muted);margin:0 0 24px}.kiosk-card .field{margin:0 0 18px}.kiosk-card .field input,.kiosk-card .field select{font-size:17px;min-height:54px}.kiosk-card .btn{min-height:54px;width:100%;font-size:16px}.kiosk-progress{display:flex;align-items:center;gap:14px;margin:0 0 26px;color:var(--muted);font-size:13px;font-weight:700}.kiosk-progress span.current{color:var(--blue)}.kiosk-progress i{height:1px;background:var(--line);flex:1}.kiosk-host-results{display:grid;gap:6px;margin-top:7px}.kiosk-host-option{display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--navy);cursor:pointer}.kiosk-host-option:hover{background:#eef6f8;border-color:#a9cbd6}.kiosk-host-option span{color:var(--muted);font-size:13px}.kiosk-safety{background:#f7f9fa;border:1px solid var(--line);border-radius:12px;padding:18px 20px;margin:20px 0;line-height:1.6}.kiosk-safety p{margin:0 0 10px}.kiosk-safety ol{padding-left:22px;margin-bottom:0}.kiosk-ack{display:flex;align-items:flex-start;gap:12px;font-weight:700;line-height:1.45;margin:18px 0 22px}.kiosk-ack input{appearance:auto!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;margin:1px 0 0!important;accent-color:var(--blue);flex:0 0 22px}.kiosk-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}.kiosk-actions .btn{width:auto;min-width:220px}.kiosk-success{width:64px;height:64px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:#e2f3ea;color:#16724e;font-size:34px;font-weight:800}.kiosk-complete{text-align:center;max-width:620px;margin-top:70px}.kiosk-complete .btn{margin:10px auto;max-width:300px}.kiosk-countdown{min-height:22px;color:var(--muted);font-size:14px}.kiosk-foot{margin-top:auto;padding:12px;color:var(--muted);font-size:12px;text-align:center}.admin-content .visitor-table{min-width:850px}
@media(max-width:620px){.kiosk-page{padding:0 12px 18px}.kiosk-top{min-height:58px}.kiosk-card{margin:16px auto;padding:22px 18px;border-radius:14px}.kiosk-card .lede{font-size:15px}.kiosk-progress{gap:8px;font-size:11px}.kiosk-ack{font-size:14px}.kiosk-actions .btn{min-width:0;flex:1}.kiosk-complete{margin-top:35px}.kiosk-top>span:last-child{max-width:50%;font-size:12px}.integration-test{grid-template-columns:1fr}.integration-test button{width:100%}.admin-content .visitor-table{min-width:0}}
.admin-help-button{color:#f7fbfd;border-color:#ffffff45;background:#ffffff12}
.empty-table{line-height:1.55}
@media(max-width:900px){.admin-content{padding:24px 20px}.admin-layout{grid-template-columns:200px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.admin-top{height:auto;min-height:64px;padding:12px 16px;gap:12px}.admin-top .brand{font-size:14px}.admin-top-right{gap:8px}.admin-top-right .mode-label:first-child{display:none}.mobile-admin-nav{display:block;background:#fff;border-bottom:1px solid var(--line);padding:8px 14px}.mobile-admin-nav summary{display:flex;justify-content:space-between;align-items:center;min-height:40px;color:var(--navy);font-weight:700}.mobile-admin-nav summary span{color:var(--muted);font-weight:600}.mobile-admin-nav .sidebar{padding:10px 0 4px;border:0}.admin-layout{display:block;min-height:0}.admin-layout>.sidebar{display:none}.admin-content{padding:22px 14px}.admin-header{gap:12px;align-items:center}.admin h1{font-size:28px}.admin-sub{font-size:14px}.building-chip{max-width:45%;white-space:normal}.cards{gap:10px}.stat{padding:14px}.stat-value{font-size:25px}.client-form-grid,.staff-form-grid{grid-template-columns:1fr;gap:0}.admin-content .table-wrap{overflow:visible}.admin-content table{display:block;min-width:0}.admin-content thead{display:none}.admin-content tbody,.admin-content tr,.admin-content td{display:block;width:100%}.admin-content tr{border-top:1px solid var(--line);padding:8px 14px}.admin-content td{display:grid;grid-template-columns:minmax(95px,35%) minmax(0,1fr);gap:10px;padding:7px 0;border:0;white-space:normal;overflow-wrap:anywhere}.admin-content td:before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.admin-content td:first-child{min-width:0}.record-actions{flex-wrap:wrap}.panel-head{padding:14px}.panel-body{padding:15px}.admin-modal{padding:20px}.admin-modal .staff-building-list{grid-template-columns:1fr}.server-gate-card{padding:26px}}
.billing-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;background:#f7f9fa}.billing-client{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff}.billing-client>div:first-child{min-width:0}.billing-client strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-client .muted{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.billing-client>div:last-child{display:flex;align-items:center;gap:8px;flex:none}.billing-client .status-pill{white-space:nowrap}.billing-filters{display:flex;gap:8px;align-items:center}.billing-filters input{width:min(250px,30vw)}.invoice-register{table-layout:fixed;width:100%;font-size:12px}.invoice-register th,.invoice-register td{padding:10px 8px;vertical-align:middle}.invoice-register th:nth-child(1){width:15%}.invoice-register th:nth-child(2){width:13%}.invoice-register th:nth-child(3){width:8%}.invoice-register th:nth-child(4),.invoice-register th:nth-child(5){width:8%}.invoice-register th:nth-child(6){width:8%}.invoice-register th:nth-child(7){width:9%}.invoice-register th:nth-child(8){width:12%}.invoice-register th:nth-child(9){width:19%}.invoice-register td{overflow-wrap:anywhere}.invoice-register .record-actions{gap:5px;flex-wrap:wrap}.invoice-register .small-btn{padding:6px 8px;min-height:30px;font-size:11px}.billing-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.billing-inline-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px;padding:16px;background:#f7f9fa;border:1px solid var(--line);border-radius:12px}.billing-inline-form .field{margin:0;min-width:0}.billing-inline-form>.button-row,.billing-inline-form>.small-note{grid-column:1/-1}.billing-reminder,.billing-note{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--line)}.billing-reminder>div,.billing-note>div{min-width:0}.billing-reminder small,.billing-note small{display:block;color:var(--muted);margin-top:4px}.billing-note{display:block}.billing-note p{margin:5px 0;font-size:13px;overflow-wrap:anywhere}.billing-reminder.is-due{border-left:3px solid #b54449;padding-left:10px}.saved-report-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.saved-report-list .billing-note{padding:12px;border:1px solid var(--line);border-radius:10px;background:#f9fbfc}.admin-content .invoice-register tr[hidden]{display:none}
.report-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px;color:var(--muted);font-size:13px}.report-pagination button:disabled{opacity:.45;cursor:default}
@media(max-width:900px){.billing-client-grid{grid-template-columns:1fr}.invoice-register{table-layout:auto}.billing-filters{max-width:100%}.billing-dashboard-grid{grid-template-columns:1fr}}
@media(max-width:640px){.billing-client{align-items:flex-start;flex-direction:column}.billing-client>div:last-child{flex-wrap:wrap}.billing-filters{width:100%;flex-direction:column;align-items:stretch}.billing-filters input{width:100%}.billing-inline-form,.saved-report-list{grid-template-columns:1fr}.billing-inline-form>.button-row,.billing-inline-form>.small-note{grid-column:auto}.invoice-register .record-actions{justify-content:flex-start}}
 .location-address{display:block;margin-top:3px;max-width:250px;overflow:hidden;color:var(--muted);font-size:11px;font-weight:400;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
 .brand-logo{width:40px;height:40px;object-fit:cover;border-radius:10px;background:#fff;border:1px solid #ffffff60}.profile-cell:has(.location-address){display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px}.profile-cell:has(.location-address) .record-avatar{grid-row:1 / span 2}.location-address{grid-column:2;display:block;margin-top:0;max-width:250px;overflow:hidden;color:var(--muted);font-size:11px;font-weight:400;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
.access-preview-banner{display:flex;align-items:center;gap:13px;padding:12px clamp(16px,3vw,36px);background:#fff3d8;border-bottom:1px solid #efd39a;color:#654710}.access-preview-icon{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#e4a12a;color:#fff;font-weight:800}.access-preview-banner>div{display:grid;gap:2px;min-width:0;flex:1}.access-preview-banner strong{font-size:14px;color:#533a0c}.access-preview-banner span:not(.access-preview-icon){font-size:12px;color:#725c32}.access-preview-banner .small-btn{flex:none;background:#fffaf0;color:#5a4319;border-color:#dfbd76}.access-preview .admin-content #save-report,.access-preview .admin-content #save-report-schedule,.access-preview .admin-content .saved-report-list,.access-preview .admin-content .billing-inline-form{display:none!important}

.login-admin-entry{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:24px;padding-top:18px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}.login-admin-entry .small-btn{text-align:center}
.staff-channel-controls{display:flex;align-items:center;gap:6px}.staff-channel-toggle{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);cursor:pointer;transition:background .15s,border-color .15s,color .15s}.staff-channel-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.staff-channel-toggle.is-enabled{color:#16804f;background:#e7f5ed;border-color:#a7d7bb}.staff-channel-toggle.is-disabled{color:#bd3d43;background:#fff0ef;border-color:#e7b4b5}.staff-channel-toggle:disabled{opacity:.55;cursor:wait}.staff-building-abbrs{display:flex;flex-wrap:wrap;gap:5px;min-width:45px}.staff-building-abbr{position:relative;display:inline-grid;place-items:center;min-width:30px;height:25px;padding:0 6px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);font-size:11px;font-weight:800;letter-spacing:.035em;text-decoration:none;cursor:help}.staff-building-abbr::after{content:attr(title);position:absolute;z-index:30;left:50%;bottom:calc(100% + 7px);width:max-content;max-width:260px;padding:7px 9px;border-radius:6px;background:#102a43;color:#fff;font-size:12px;font-weight:600;letter-spacing:0;line-height:1.3;white-space:normal;box-shadow:0 5px 16px #0003;opacity:0;pointer-events:none;transform:translate(-50%,3px);transition:opacity .12s,transform .12s}.staff-building-abbr:hover::after,.staff-building-abbr:focus-visible::after{opacity:1;transform:translate(-50%,0)}.kiosk-brand{display:flex;align-items:center;gap:10px;min-width:0}.kiosk-brand img{display:block;width:auto;height:auto;max-width:150px;max-height:42px;object-fit:contain}.kiosk-brand>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.staff-building-abbr::after{display:none}
.admin-content .billing-reminders>.billing-reminder{align-items:center;min-height:66px;margin:0 0 10px;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.admin-content .billing-reminders>.billing-reminder:last-of-type{margin-bottom:14px}.admin-content .billing-reminders>.billing-reminder.is-due{padding:14px 16px;border-left:3px solid #b54449}
.billing-inline-form:has(#note-text) .field:has(#note-text){grid-column:1/-1}.billing-inline-form:has(#note-text)>#save-billing-note{grid-column:1/-1;justify-self:end;min-width:130px}.overview-followup-list{display:grid;gap:8px}.overview-followup{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}.overview-followup.is-due{border-left:3px solid #b54449}.overview-followup-label{font-size:12px;font-weight:800;color:#b54449}.overview-followup:not(.is-due) .overview-followup-label{color:var(--blue)}.overview-followup strong{display:block}.overview-followup small{display:block;margin-top:3px;color:var(--muted)}
.staff-directory-table{width:100%;min-width:0;table-layout:fixed}.staff-directory-table th,.staff-directory-table td{min-width:0;padding:10px 8px}.staff-directory-table th:nth-child(1){width:15%}.staff-directory-table th:nth-child(2){width:14%}.staff-directory-table th:nth-child(3){width:19%}.staff-directory-table th:nth-child(4){width:9%}.staff-directory-table th:nth-child(5){width:8%}.staff-directory-table th:nth-child(6){width:11%}.staff-directory-table th:nth-child(7){width:7%}.staff-directory-table th:nth-child(8){width:7%}.staff-directory-table th:nth-child(9){width:10%}.staff-directory-table td{overflow:hidden;overflow-wrap:anywhere}.staff-directory-table .profile-cell{gap:7px;min-width:0}.staff-directory-table .profile-cell>span{display:block;min-width:0;overflow:hidden}.staff-job-title{display:block;color:var(--muted);font-size:11px;font-weight:500;line-height:1.25}.staff-company-site{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.5}.staff-company-site b{color:var(--blue);font-size:10px}.staff-directory-table .record-actions{gap:5px;flex-wrap:nowrap}.staff-directory-table .record-actions .small-btn{padding:6px 8px;min-height:30px;font-size:11px}.staff-building-assignment{display:grid;grid-template-columns:minmax(130px,.75fr) minmax(0,1.25fr);align-items:start;gap:10px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink)}.staff-building-assignment .check-option{display:flex;align-items:center;gap:8px;margin:0;min-width:0;font-weight:650}.staff-building-assignment .check-option input{flex:none}.staff-company-field{display:block;color:var(--ink);font-size:12px;font-weight:700;line-height:1.35}.staff-company-field[hidden]{display:none}.staff-company-field input{width:100%;min-height:38px;margin-top:6px;padding:7px 9px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);font-size:13px}.admin-modal .staff-building-list{grid-template-columns:1fr}.admin-modal .staff-building-list .staff-building-assignment .check-option{background:var(--paper);color:var(--ink)}@media(max-width:640px){.staff-directory-table{table-layout:auto}.staff-directory-table .record-actions{flex-wrap:wrap}.staff-building-assignment{grid-template-columns:1fr;gap:8px}.staff-company-field input{min-height:40px}}

.kiosk-privacy-notice{margin:14px 0;color:#637887;font-size:13px;line-height:1.45}.kiosk-privacy-notice a{color:#176b87;font-weight:700;text-underline-offset:3px}:root[data-theme="dark"] .kiosk-privacy-notice{color:#a8bbc5}:root[data-theme="dark"] .kiosk-privacy-notice a{color:#80cddd}
