:root{--ink:#23332f;--muted:#82908b;--line:#e4eae7;--green:#28674e;--pale:#edf5ef;--bg:#f5f7f6;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:13px Manrope,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select,textarea{font:inherit}button,a{cursor:pointer}button{border:1px solid var(--line);background:white;color:inherit;border-radius:7px;padding:10px 14px;font-weight:600}button:hover{background:#f1f5f2;border-color:#baccc1}button:focus-visible,a:focus-visible{outline:3px solid #9dc8ad;outline-offset:2px}a{color:inherit;text-decoration:none}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dce4df;border-radius:6px;background:#fff;color:var(--ink);outline:none}input:focus,select:focus,textarea:focus{border-color:var(--green);box-shadow:0 0 0 3px #28674e10}textarea{resize:vertical;min-height:100px}input[type=checkbox]{width:auto;accent-color:var(--green)}label{display:block;font-size:12px;color:#64746c;margin-bottom:7px}.field{margin:0 0 17px}.required{color:#b54e42}.topbar{height:80px;display:flex;align-items:center;padding:0 28px;gap:30px;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:11px;min-width:215px}.brandmark{display:grid;place-items:center;background:var(--green);color:white;width:38px;height:40px;border-radius:10px;font-size:22px;font-weight:800}.brand strong{font-size:14px;font-weight:800;letter-spacing:.02em}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:.12em;margin-top:3px}.mainnav{height:100%;display:flex;gap:26px;align-items:center}.mainnav a{height:100%;display:flex;align-items:center;gap:7px;font-weight:600;position:relative;white-space:nowrap;color:#7a8780}.mainnav a.active{color:var(--green)}.mainnav a.active:after{content:'';height:3px;background:var(--green);position:absolute;bottom:0;left:0;right:0}.tools{margin-left:auto;display:flex;align-items:center;gap:5px}.iconbtn{padding:9px;border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;color:#74867a;position:relative}.iconbtn.active{background:var(--pale);color:var(--green)}.dot{position:absolute;width:5px;height:5px;background:#dc8c61;border-radius:100%;top:6px;right:8px}.avatar{border:0;border-left:1px solid var(--line);border-radius:0;margin-left:10px;padding-left:20px;background:#fff;display:flex;gap:10px;align-items:center;font-size:11px}.avatar span{display:grid;place-items:center;border-radius:50%;background:#e7eee8;color:#3c6950;width:34px;height:34px;font-weight:700}.shell{display:flex;min-height:calc(100vh - 80px)}.sidebar{width:242px;flex-shrink:0;background:#fff;border-right:1px solid var(--line);padding:27px 20px;display:flex;flex-direction:column}.side-title{font-size:10px;letter-spacing:.13em;color:#93a098;font-weight:800;margin:0 0 24px 10px}.sideitem{display:flex;gap:12px;align-items:center;padding:12px 13px;border-radius:7px;color:#708077;margin:2px 0;font-size:12px}.sideitem.active{color:var(--green);background:#eaf3ed;font-weight:800}.side-footer{margin-top:auto;padding:35px 10px 0;color:#89978e;font-size:10px;line-height:1.9}.mode{display:flex;align-items:center;gap:7px;color:#647b6b}.mode i{width:6px;height:6px;border-radius:50%;background:#69a67b}.filter-title{display:flex;justify-content:space-between;font-size:12px;font-weight:800;margin-bottom:24px}.filter-title span{color:#a0aba4}.filter .field{margin-bottom:18px}.filter label{font-size:10px}.filter input,.filter select{font-size:11px;padding:10px}.filter .row{gap:6px}.filter .btn{width:100%}.linkbtn{border:0;background:transparent;color:#7d8e83;text-align:center;font-weight:500;padding:12px;width:100%;font-size:11px}.filterdivider{border:0;border-top:1px solid var(--line);margin:24px 0}.main{padding:29px 34px 26px;flex:1;min-width:0;max-width:2100px}.breadcrumb{font-size:10px;letter-spacing:.02em;color:#95a298;margin-bottom:11px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:25px}.pagehead h1{font-size:25px;letter-spacing:-.8px;line-height:1.35;margin:0;font-weight:800}.pagehead p{font-size:11px;color:#91a095;margin:7px 0 0}.head-actions{display:flex;align-items:center;gap:9px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);border:1px solid var(--green);color:white;padding:11px 16px;font-size:11px;border-radius:6px}.btn:hover{background:#20573f;border-color:#20573f}.btn.secondary{background:#fff;color:#61766a;border-color:var(--line)}.btn.secondary:hover{background:var(--pale)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:18px 20px;display:flex;align-items:center;gap:15px}.stat-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#edf4ed;color:#668f6c}.stat:nth-child(2) .stat-icon{background:#edf2fa;color:#6385af}.stat:nth-child(3) .stat-icon{background:#fdf2e8;color:#bf966c}.stat:nth-child(4) .stat-icon{background:#f9edeb;color:#bc8174}.stat b{font-size:25px;line-height:1.1;font-weight:700}.stat small{display:block;color:#95a095;font-size:10px;margin-top:6px}.panel{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.tabs{display:flex;gap:25px;padding:0 23px;min-height:56px;align-items:center;border-bottom:1px solid var(--line);overflow:auto}.tabs button{border:0;border-radius:0;background:none;padding:19px 0 16px;font-size:10px;color:#849387;white-space:nowrap;position:relative}.tabs button.active{color:var(--green);font-weight:800}.tabs button.active:after{position:absolute;content:'';bottom:0;height:2px;background:var(--green);left:0;right:0}.count{padding:2px 6px;background:#edf2ed;border-radius:4px;font-size:9px;margin-left:4px}.tablebar{display:flex;align-items:center;padding:19px 23px;gap:10px}.tablebar input{max-width:295px;font-size:11px;padding:9px 12px;background:#fafcfa}.tablebar .right{margin-left:auto;display:flex;gap:7px;align-items:center}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}th{color:#96a297;background:#fafbf9;font-size:9px;font-weight:600;white-space:nowrap;border-bottom:1px solid var(--line);padding:13px 18px}td{border-bottom:1px solid #edf1ed;padding:20px 18px;vertical-align:middle;line-height:1.7}td:first-child,th:first-child{padding-left:24px}tr[data-click]{cursor:pointer}tr[data-click]:hover td{background:#f8fbf8}.num{color:var(--green);font-weight:800}.muted{color:#95a297}.sub{display:block;color:#95a297;font-size:9px;margin-top:3px}.address{font-weight:700;white-space:nowrap}.badge{border-radius:5px;padding:4px 8px;display:inline-block;font-size:9px;font-weight:700;white-space:nowrap;background:#eef2ee;color:#728476}.badge.new{color:#6484ae;background:#edf3fa}.badge.work{color:#b19150;background:#faf4e6}.badge.done{color:#51805e;background:#eaf4eb}.badge.cancel{color:#a58281;background:#f7eeee}.priority{font-size:9px;color:#c48663}.tinyavatar{display:inline-grid;place-items:center;border-radius:50%;width:26px;height:26px;background:#edf1e8;color:#7b9475;font-size:9px;margin-right:7px}.person{display:flex;align-items:center;white-space:nowrap}.tablefoot{padding:16px 23px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#8d9b91}.tablefoot button{padding:6px 10px;font-size:10px}.empty{text-align:center;padding:55px;color:#8c9b91}.empty svg{width:35px;height:35px;margin-bottom:10px}.row{display:flex;gap:15px}.row>*{flex:1;min-width:0}.content-pad{padding:26px}.infobox{padding:16px 20px;background:#f0f5ef;color:#6d8371;border:1px solid #e3ebe1;border-radius:7px;font-size:11px;line-height:1.9;margin-bottom:22px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:23px}.card h3{font-size:14px;margin:0 0 9px}.card p{font-size:11px;color:#85978b;line-height:1.8}.card .btn{margin-top:12px}.houses{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.house-icon{background:#f0f4ed;color:#698565;border-radius:8px;width:48px;height:48px;display:grid;place-items:center;margin-bottom:25px}.house-top{display:flex;justify-content:space-between;align-items:flex-start}.house-info{display:flex;gap:22px;border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.house-info b{display:block;font-size:16px}.house-info small{font-size:9px;color:#97a296}.house-actions{display:flex;gap:9px;margin-top:20px}.house-actions button{font-size:10px;flex:1}.board-scroll{overflow:auto;padding:24px;display:flex;gap:24px;align-items:flex-start}.entrance{background:#f7f9f6;padding:14px;border:1px solid var(--line);border-radius:8px;min-width:260px}.entrance h3{font-size:12px;font-weight:700;margin:0 0 15px}.floor{display:flex;align-items:center;gap:6px;margin:6px 0}.floor small{width:22px;color:#a0aba2;font-size:10px}.flat{width:44px;height:34px;padding:0;border:1px solid #dbe5d9;border-radius:4px;background:white;font-size:10px;color:#73896b}.flat.has{background:#eaf3e7;border-color:#9abc94;color:#3f713e}.legend{font-size:10px;color:#8d9d91;padding:16px 24px;border-top:1px solid var(--line)}.modalback{position:fixed;inset:0;background:#17271d55;backdrop-filter:blur(2px);z-index:50;display:flex;justify-content:flex-end}.modal{width:560px;max-width:100%;height:100%;background:white;overflow:auto;box-shadow:-10px 0 70px #0d231522}.modal.large{width:760px}.modalhead{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:25px 29px;position:sticky;top:0;background:#fff;z-index:1}.modalhead h2{font-size:19px;margin:0}.modalbody{padding:27px 29px}.modalfoot{display:flex;gap:10px;justify-content:flex-end;padding:20px 29px;border-top:1px solid var(--line);background:#fafcf9;position:sticky;bottom:0}.detail{padding:16px 0;border-bottom:1px solid var(--line)}.detail label{font-size:10px;color:#9aa59c}.detail p{margin:4px 0;line-height:1.8}.timeline{border-left:1px solid #dbe5d9;margin:20px 0 20px 7px;padding-left:20px}.timeline p{font-size:11px;line-height:1.8;position:relative}.timeline p:before{content:'';width:7px;height:7px;background:#a6bba1;border:3px solid white;position:absolute;left:-27px;top:4px;border-radius:50%}.timeline small{display:block;color:#96a496;font-size:9px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#244b37;color:white;border-radius:8px;box-shadow:0 6px 25px #183d2920;padding:14px 23px;z-index:100;display:none;font-size:12px}.notice{background:#fff8ec;color:#a58a58;padding:12px 15px;border-radius:6px;font-size:11px;line-height:1.8;margin-bottom:20px}.calendar{display:grid;grid-template-columns:repeat(7,1fr)}.day{min-height:108px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px;color:#849480;font-size:11px}.day.today{background:#f0f6ed}.day button{background:#e6f0e2;font-size:9px;padding:4px 5px;margin-top:7px;width:100%;text-align:left;color:#477442}.week{padding:13px;text-align:center;border-bottom:1px solid var(--line);font-size:10px;color:#95a58e}.profile-name{max-width:200px}.menu-panel{position:absolute;right:20px;top:72px;width:260px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 50px #15392120;z-index:30;padding:15px}.menu-panel a{display:block;padding:13px;border-radius:6px;font-size:12px}.menu-panel a:hover{background:var(--pale)}.help-list{line-height:2;color:#768b7a;font-size:12px}.barrow{display:flex;align-items:center;gap:18px;margin:22px 0;font-size:12px}.barrow span{width:110px}.bar{height:12px;background:#eaf0e5;border-radius:10px;flex:1}.bar i{display:block;height:100%;background:#789b6d;border-radius:10px}.mobile-nav{display:none}svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.6;fill:none;vertical-align:middle;flex-shrink:0}.filters-note{font-size:10px;color:#829783;margin-top:15px;line-height:1.8}.sectionlabel{font-size:10px;font-weight:700;letter-spacing:.1em;color:#91a18e;margin:22px 0 17px}.storage-tag{display:inline-flex;gap:6px;align-items:center;background:#f1f5ef;color:#8a9b83;border-radius:4px;font-size:9px;padding:5px 8px}.footer-note{margin-top:20px;color:#99a595;font-size:10px;display:flex;justify-content:space-between}.searchresult{font-size:10px;color:#879b83}.danger{color:#af6a63}.checkrow{display:flex;align-items:center;gap:9px;font-size:11px;color:#6b806c}.checkrow input{width:auto}.attach{padding:11px;background:#f2f5ef;border-radius:7px;margin:10px 0;font-size:11px}.smalltitle{font-size:14px;font-weight:700;margin:0 0 20px}
@media(min-width:1500px){.main{padding:36px 45px}.topbar{gap:50px}.mainnav{gap:35px}td{padding-top:24px;padding-bottom:24px}}@media(max-width:1200px){.topbar{gap:20px;padding:0 20px}.brand{min-width:180px}.mainnav{gap:16px}.profile-name{display:none}.tools{gap:0}.sidebar{width:215px;padding:25px 16px}.main{padding:25px 22px}.stats{gap:10px}.stat{padding:15px;gap:10px}.houses{grid-template-columns:repeat(2,1fr)}}@media(max-width:950px){.tools .optional{display:none}.mainnav{gap:14px;font-size:11px}.brand{min-width:160px}.brand strong{font-size:11px}.sidebar{width:190px}.stats{grid-template-columns:repeat(2,1fr)}.pagehead h1{font-size:22px}.head-actions .secondary{font-size:0}.head-actions .secondary svg{width:18px}.tabs{gap:18px}}@media(max-width:720px){.topbar{height:auto;min-height:68px;flex-wrap:wrap;padding:15px;gap:10px}.brand{flex:1}.mainnav{order:3;width:100%;height:38px;overflow:auto;gap:25px}.mainnav a{font-size:12px}.tools .optional,.avatar{display:none}.sidebar{display:none}.main{padding:22px 15px}.pagehead{align-items:flex-start}.pagehead h1{font-size:21px}.pagehead p{font-size:10px}.head-actions .btn{padding:10px;font-size:10px}.stats{gap:10px}.stat{padding:14px;gap:12px}.stat b{font-size:23px}.grid2,.houses{grid-template-columns:1fr}.row{flex-direction:column;gap:0}.tablebar{padding:14px;flex-wrap:wrap}.tablebar input{max-width:100%}.tabs{padding:0 16px}.tablefoot{padding:15px}.breadcrumb{margin-bottom:12px}.footer-note{gap:15px;font-size:9px}.modalbody{padding:24px}.modalhead{padding:22px}.modalfoot{padding:18px 24px}.calendar .day{min-height:80px;padding:5px}.day button{font-size:8px}.storage-tag{display:none}}
/* Full-page dispatch registration */
.creator-wrap{max-width:1480px;margin:0 auto}.backlink{display:inline-flex;align-items:center;gap:8px;color:#7c9081;font-size:10px;margin:0 0 20px}.backlink svg{transform:rotate(180deg);width:15px}.creator-wrap .breadcrumb{display:none}.creator-wrap .pagehead{margin-bottom:25px}.intake-meta{display:grid;grid-template-columns:170px 1fr 1fr 1fr;gap:24px;padding:23px 26px;margin-bottom:24px;align-items:start}.intake-meta .field{margin:0}.intake-meta label{font-size:10px}.number-field small{display:block;color:#a0ada1;font-size:9px;margin-top:8px}.number-field button{min-height:40px;width:100%}.creator-columns{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:23px;align-items:start}.create-section{margin-bottom:23px}.create-section-head{padding:21px 24px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line)}.step-number{height:30px;width:30px;border:1px solid #dde8dc;border-radius:8px;display:grid;place-items:center;color:#8ba181;background:#f5f8f2;font-size:10px;font-weight:700}.create-section-head h2{font-size:13px;margin:0;font-weight:800}.create-section-head p{font-size:10px;color:#97a391;margin:4px 0 0}.create-section-head>.btn{margin-left:auto;font-size:9px;padding:8px 11px}.create-section-head>.btn svg{width:14px;height:14px}.create-section-body{padding:24px}.create-section-body .field:last-child{margin-bottom:0}.kind-tabs{display:flex;gap:10px;margin-bottom:24px}.kind-tabs button{padding:11px 17px;display:flex;gap:10px;align-items:center;font-size:11px;font-weight:600}.kind-tabs button.selected{border-color:#6f9877;background:#eef5ec;color:#356949}.kind-tabs button svg:last-child:not(:first-child){width:14px}.address-fields{display:grid;grid-template-columns:1.6fr .8fr .8fr 1fr;gap:12px}.address-fields label{font-size:10px}.address-fields select{font-size:11px;padding-left:9px}.selected-address{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e5eddf;background:#f6f9f3;border-radius:6px;font-size:10px;color:#70876a;margin:2px 0 20px}.selected-address svg{width:16px}.address-placeholder{padding:14px;background:#fafbf8;color:#a3afa0;border-radius:6px;font-size:10px;display:flex;gap:9px;align-items:center;margin-bottom:20px}.house-context{display:grid;grid-template-columns:1fr;gap:16px;margin:20px 0}.house-context label{font-size:9px;color:#96a390}.house-context p{font-size:10px;color:#8b9984;line-height:1.7;min-height:38px;padding:10px 12px;border:1px solid #e8eee4;border-radius:5px;background:#fafcf8;margin:0}.context-actions{display:flex;gap:8px;flex-wrap:wrap}.context-actions button{display:inline-flex;gap:6px;align-items:center;padding:8px 10px;font-size:9px;color:#839679}.context-actions button svg{width:13px}.context-actions button span{background:#f0f4ec;padding:1px 5px;border-radius:3px;font-size:9px}.creator-secondary .create-section-head{padding:20px}.creator-secondary .create-section-body{padding:21px}.form-subhead{margin:0 0 17px;font-weight:700;font-size:11px}.time-presets{display:flex;flex-wrap:wrap;gap:6px}.time-presets button{font-size:9px;padding:6px 8px;color:#8a9c80;background:#f7f9f4;border-color:#e5ecdf}.creator-secondary .row{gap:10px}.creator-secondary .row .field{margin-bottom:18px}.creator-secondary .row input{font-size:11px}.new-state{border-top:1px solid var(--line);padding-top:15px;font-size:10px;color:#95a48b;display:flex;justify-content:space-between;align-items:center}.appeal-flags{display:flex;gap:24px;margin:4px 0 23px}.appeal-flags label{display:flex;gap:7px;align-items:center;font-size:11px;margin:0;color:#7d9273}.appeal-flags label:first-child{color:#bb8166}.creator-primary textarea{min-height:135px;font-size:12px;line-height:1.9}.file-box{display:flex;align-items:center;gap:15px;margin-top:22px;flex-wrap:wrap}.file-box label{cursor:pointer;margin:0;padding:9px 12px;border:1px dashed #cbdac4;border-radius:6px;display:flex;gap:7px;align-items:center;font-size:10px;color:#819575}.file-box label:hover{background:#f4f8f0}.file-box label svg{width:14px}.file-box input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0}.file-box span{font-size:9px;color:#9eac94}.attachment-row{border:1px solid #e4ecdd;border-radius:6px;padding:6px 10px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#74896a;margin-top:10px}.attachment-row small{font-size:9px;color:#a0ae95;margin-left:10px}.attachment-row svg{width:14px}.creator-hint{display:flex;gap:10px;font-size:10px;line-height:1.8;color:#8ea180;padding:0 8px}.creator-hint svg{color:#8aa478;width:16px;flex-shrink:0;margin-top:3px}.creator-savebar{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:19px 23px;position:sticky;bottom:10px;z-index:9;box-shadow:0 5px 35px #1d38280a;margin:0 0 25px}.savebar-info{font-size:10px;color:#9ba990;margin-right:auto}.cancel-link{font-size:11px;color:#8a9b7e;margin-right:15px}.creator-savebar .btn{font-size:10px}.resident-option{display:block;width:100%;text-align:left;margin:10px 0;padding:14px;border:1px solid var(--line);border-radius:7px;background:#fff;font-size:11px}.resident-option small{display:block;color:#92a286;margin-top:6px}.creator-wrap select:disabled,.creator-wrap input:disabled{background:#f7f9f5;color:#a6b39d;cursor:not-allowed}.creator-wrap button:disabled{opacity:.45;cursor:not-allowed}
@media(min-width:1600px){.creator-columns{grid-template-columns:minmax(0,1fr) 380px}.creator-wrap .pagehead h1{font-size:28px}.create-section-body{padding:28px}.address-fields{gap:16px}}
@media(max-width:1100px){.creator-columns{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.create-section-head{padding:17px}.create-section-head>.btn{font-size:0}.create-section-head>.btn svg{width:16px}.create-section-body{padding:19px}.address-fields{grid-template-columns:1fr 1fr}.intake-meta{grid-template-columns:140px 1fr 1fr 1fr;gap:15px;padding:20px}.intake-meta input,.intake-meta select{font-size:11px}}
@media(max-width:850px){.creator-columns{grid-template-columns:1fr}.creator-secondary{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.creator-hint{grid-column:1/-1;margin-bottom:18px}.intake-meta{grid-template-columns:1fr 1fr;gap:20px}.creator-savebar{flex-wrap:wrap;bottom:0}.creator-savebar .btn{flex:1}.creator-secondary .create-section-body{padding:17px}.creator-wrap .row{flex-direction:row}.creator-savebar .savebar-info{margin-right:0;flex:1}}
@media(max-width:550px){.creator-secondary{grid-template-columns:1fr;gap:0}.intake-meta{padding:18px;gap:16px}.number-field small{font-size:8px}.creator-wrap .pagehead h1{font-size:23px}.creator-wrap .row{flex-direction:column;gap:0}.creator-secondary .row{flex-direction:row}.creator-savebar{padding:15px;gap:12px}.creator-savebar .btn{flex:1 1 100%;padding:12px}.savebar-info{text-align:right}.create-section-head h2{font-size:12px}.create-section-head{gap:10px}.house-context{grid-template-columns:1fr}.context-actions{gap:6px}.context-actions button{padding:7px;font-size:8px}.kind-tabs{gap:8px}.kind-tabs button{flex:1;padding:10px;font-size:10px;gap:6px}.appeal-flags{gap:17px}.appeal-flags label{font-size:10px}.creator-wrap label{font-size:10px}.address-fields{gap:10px}.creator-wrap .field{margin-bottom:16px}.creator-wrap select,.creator-wrap input{font-size:11px}.file-box{gap:10px}.intake-meta .field{margin:0}}
/* Work types and company structure */
.directory-search{display:flex;align-items:center;gap:20px;padding:17px 20px;margin-bottom:23px}.directory-search input{max-width:390px;background:#fafcf9;font-size:11px}.directory-search>span{margin-left:auto;color:#91a18c;font-size:10px;white-space:nowrap}.workgroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px;align-items:start}.directory-heading{display:flex;align-items:center;gap:13px;padding:20px;border-bottom:1px solid var(--line)}.directory-icon{display:grid;place-items:center;background:#eff5ea;color:#7c9b6d;width:38px;height:38px;border-radius:9px;flex-shrink:0}.directory-heading h2{font-size:13px;margin:4px 0 0}.directory-heading small{font-size:8px;letter-spacing:.11em;color:#a0ad96;font-weight:700}.directory-heading>.count{margin-left:auto}.work-items{padding:4px 20px}.work-item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 0;text-align:left;border:0;border-bottom:1px solid #edf2e8;border-radius:0;font-size:11px;background:white}.work-item:last-child{border-bottom:0}.work-item b{font-weight:600}.work-item small{display:block;color:#a0ad96;font-size:9px;margin-top:6px}.work-item svg{width:14px;color:#a4b29b}.work-item:hover{background:#fafcf7}.directory-empty{padding:25px 20px;text-align:center;color:#a0ad97;font-size:10px;line-height:1.9}.directory-empty>.linkbtn{font-size:10px;color:#7c966c;padding-bottom:0}.user-block{margin-bottom:30px}.user-block-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;gap:12px}.user-block-title h2{font-size:16px;margin:0;letter-spacing:-.3px}.user-block-title p{font-size:10px;color:#98a58f;margin:6px 0 0}.user-team-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.user-team-grid.single{grid-template-columns:1fr}.team-heading{display:flex;align-items:center;gap:11px;padding:17px 18px;border-bottom:1px solid var(--line)}.team-heading .directory-icon{width:31px;height:31px;border-radius:7px}.team-heading svg{width:16px}.team-heading h3{font-size:11px;font-weight:700;margin:0;line-height:1.7}.team-heading>.iconbtn{margin-left:auto}.team-heading>.iconbtn+.iconbtn{margin-left:0}.employee-row{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:16px 19px;border:0;border-radius:0;border-bottom:1px solid #eff3eb;font-size:11px}.employee-row>.tinyavatar{flex-shrink:0;margin-right:0}.employee-row b{font-weight:600}.employee-row small{display:block;font-size:9px;color:#9ba98f;margin-top:5px}.employee-row>svg{margin-left:auto;width:14px;color:#a7b49c;flex-shrink:0}.team-add{display:flex;gap:7px;align-items:center;justify-content:center;width:100%;padding:13px;border:0;border-top:1px solid #eff3eb;border-radius:0;background:#fafcf8;font-size:10px;color:#849c74}.team-add svg{width:13px}.assignment-empty{display:block;font-size:9px;line-height:1.7;color:#9da98e;margin-top:8px}@media(max-width:1000px){.workgroups{grid-template-columns:1fr}.directory-heading{padding:16px}.user-team-grid{grid-template-columns:1fr}.directory-search{gap:10px}.directory-search>span{font-size:9px}}@media(max-width:550px){.directory-search{flex-direction:column;align-items:stretch}.directory-search>span{margin-left:0}.user-block-title h2{font-size:15px}.user-block-title>.badge{font-size:8px;flex-shrink:0}.directory-heading h2{font-size:12px}.employee-row{padding:15px}.user-block-title p{font-size:9px}.workgroups{gap:15px}}
/* Journal record details */
.appeals-journal th{white-space:normal;line-height:1.6}.appeals-journal th:first-child{min-width:135px}.appeals-journal td{vertical-align:top;padding-top:18px;padding-bottom:18px}.appeals-journal th:nth-child(4){min-width:205px;max-width:250px}.journal-date{font-size:10px;color:#82977e;white-space:nowrap;margin-top:6px}.journal-time{font-size:10px;color:#9ca995;white-space:nowrap;margin-top:1px}.journal-location{font-size:10px;color:#879b80;margin-top:4px;white-space:nowrap}.journal-applicant{font-size:10px;margin-top:5px}.journal-person+.journal-person{margin-top:13px}.journal-role{display:block;font-size:8px;letter-spacing:.035em;color:#a0ae96;margin-bottom:5px}.journal-person .person{font-size:10px}.journal-person .person .sub{font-size:8px;margin-top:0}.journal-person .tinyavatar{width:23px;height:23px;font-size:8px}.journal-person>.muted{font-size:10px}.appeals-journal .address{font-size:11px}.appeals-journal td:nth-child(2){min-width:200px}.appeals-journal td:nth-child(5){min-width:220px}@media(max-width:720px){.appeals-journal th:first-child{min-width:120px}.appeals-journal th:nth-child(4){min-width:190px}}
/* Multiple executors per appeal */
.executor-picker{border:1px solid #dfe8d9;border-radius:7px;padding:12px;margin:0 0 15px;min-width:0}.executor-picker legend{font-size:11px;color:#6b8062;padding:0 5px}.executor-picker-hint{font-size:9px;color:#9eac92;margin-bottom:10px}.executor-options{max-height:265px;overflow-y:auto}.executor-team-name{font-size:9px;font-weight:700;color:#90a27f;margin:12px 4px 7px}.executor-team-name:first-child{margin-top:3px}.executor-choice{display:flex;align-items:flex-start;gap:9px;margin:0 0 4px;padding:9px 7px;border-radius:5px;cursor:pointer}.executor-choice:hover{background:#f3f7ed}.executor-choice:has(input:checked){background:#eff5e9}.executor-choice input{margin:2px 0 0;flex-shrink:0;width:auto}.executor-choice b{font-size:11px;color:#5b7750;font-weight:600;display:block;line-height:1.5}.executor-choice small{display:block;font-size:9px;color:#a0ad95;margin-top:2px;line-height:1.5}.executor-picker-count{font-size:9px;color:#839b73;border-top:1px solid #e7eedf;margin-top:10px;padding-top:10px}.executor-people{display:flex;flex-direction:column;gap:10px}.executor-people .person{align-items:flex-start}.executor-people .tinyavatar{flex-shrink:0}.executor-people .person>span:last-child{white-space:normal;min-width:90px;max-width:220px}
/* Compact company signature aligned with the filter sidebar */
:root{--sidebar-width:242px;--header-inset:28px}.topbar{padding-left:var(--header-inset)}.brand{display:flex;align-items:center;gap:0;flex:0 0 calc(var(--sidebar-width) - var(--header-inset));width:calc(var(--sidebar-width) - var(--header-inset));min-width:0;max-width:calc(var(--sidebar-width) - var(--header-inset))}.brand .brand-signature{display:block;width:calc(var(--sidebar-width) - var(--header-inset) - 16px);height:auto;flex-shrink:0;stroke:none;fill:none;overflow:visible}@media(max-width:1200px){:root{--sidebar-width:215px;--header-inset:20px}}@media(max-width:950px){:root{--sidebar-width:190px}}@media(max-width:720px){:root{--header-inset:15px}.brand{flex:1;width:auto;max-width:none;min-width:0}.brand .brand-signature{width:198px;height:auto}}@media(max-width:390px){.brand .brand-signature{width:180px}}
/* Keep the filter heading centered while its icon stays on the left. */
.filter-title{position:relative;justify-content:center;align-items:center;min-height:18px}.filter-title>svg{position:absolute;left:0;top:50%;transform:translateY(-50%)}
/* Individual entrance, floor and room-count editor */
.layout-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.layout-toolbar label{font-size:10px;line-height:1.6;min-height:31px}.layout-editor-entrances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}.layout-editor-entrance{border:1px solid #e1e9db;border-radius:8px;overflow:hidden}.layout-entrance-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;background:#f4f8ef;border-bottom:1px solid #e1e9db}.layout-entrance-heading h3{font-size:12px;margin:0}.layout-entrance-heading label{display:flex;gap:7px;align-items:center;font-size:10px;margin:0}.layout-entrance-heading input{width:62px;padding:7px;font-size:11px}.layout-floor-list{max-height:360px;overflow-y:auto}.layout-floor-edit{display:grid;grid-template-columns:60px 1fr;gap:8px;align-items:center;padding:11px 15px;border-bottom:1px solid #eef2e8;font-size:11px}.layout-floor-edit:last-child{border-bottom:0}.layout-floor-edit label{display:flex;align-items:center;gap:7px;margin:0;justify-content:flex-end;font-size:10px}.layout-floor-edit input{width:60px;padding:7px;font-size:11px}.layout-floor-edit small{grid-column:1/-1;line-height:1.6;font-size:9px;color:#98a78d;overflow-wrap:anywhere}@media(max-width:650px){.layout-editor-entrances{grid-template-columns:1fr}.layout-toolbar{grid-template-columns:1fr;gap:0}.layout-toolbar label{min-height:0}.layout-floor-list{max-height:320px}}
/* Sequential house creation with a mandatory chessboard */
.wizard-steps{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:#a0ad96;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:23px;line-height:1.8}.wizard-steps b{color:#4d7b40;font-weight:700}.wizard-grid-preview{display:flex;gap:18px;overflow:auto;padding:3px 0 20px;align-items:flex-start}.wizard-entrance-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.wizard-entrance-title h3{margin:0}.wizard-flat{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:30px;padding:0 5px;background:#edf5e8;border:1px solid #d1e0c7;border-radius:4px;color:#648153;font-size:10px;flex-shrink:0}.wizard-flat.nonres,.flat.nonres{background:#f8f1e4;border-color:#e6d6b5;color:#9b8559}.flat.nonres.has{border-color:#7d9d6a;box-shadow:inset 0 0 0 1px #7d9d6a}.wizard-actions{display:flex;align-items:center;gap:15px;margin-top:20px;flex-wrap:wrap}.wizard-actions .linkbtn{width:auto}.wizard-actions .btn{white-space:normal;text-align:left}@media(max-width:550px){.wizard-steps{gap:8px;font-size:9px}.wizard-grid-preview .entrance{min-width:235px}.wizard-actions{gap:8px}}
/* Per-floor room counts during house creation */
.wizard-floor-row{border-top:1px solid #e2eada;padding:11px 0}.wizard-floor-heading{display:flex;align-items:center;justify-content:space-between;gap:13px;font-size:11px;margin-bottom:9px;color:#718864}.wizard-floor-heading label{display:flex;align-items:center;gap:7px;font-size:9px;margin:0;color:#8a9c7c;white-space:nowrap}.wizard-floor-heading input{width:58px;padding:6px 7px;font-size:11px}.wizard-floor-row .floor{margin:0}.wizard-grid-preview .entrance{min-width:285px}.wizard-floor-row .floor{flex-wrap:wrap}
/* Editable room numbers in both chessboard editors */
.layout-room-numbers{grid-column:1/-1;display:flex;gap:6px;flex-wrap:wrap}.room-number-input{width:51px;min-width:42px;height:32px;padding:5px 4px;text-align:center;font-size:10px;border:1px solid #cfdcc5;background:#f6faf1;border-radius:5px;color:#5f7f4e;flex:0 0 auto}.room-number-input.manual-number{border-color:#7d9b6a;background:#e8f2de;font-weight:700}.room-number-input.nonres{border-color:#dfd0ae;color:#927c50;background:#faf4e9}.room-number-input:focus{outline:2px solid #a8c392;outline-offset:1px;box-shadow:none}.wizard-floor-row .floor{gap:6px;flex-wrap:wrap}.layout-floor-edit{grid-template-columns:60px 1fr}
/* Server accounts and shared workspace */
.account-panel{margin:30px 0}.account-panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px;border-bottom:1px solid var(--line)}.account-panel-head h2{font-size:16px;margin:0}.account-panel-head p{font-size:10px;color:#92a086;margin:7px 0 0}.employee-access{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 18px 12px;font-size:9px;color:#98a78e}.employee-access .linkbtn{width:auto;font-size:9px;color:#6c8b58;padding:5px}.sync-error{color:#b36b5f;background:#faeee9}.auth-wait{max-width:600px;margin:100px auto;padding:40px;background:white;border:1px solid var(--line);border-radius:12px}.auth-wait h1{font-size:23px}.auth-wait p{line-height:1.9;color:#83967b}button:disabled{cursor:default;opacity:.5}
/* Director house deletion and filtered journal indicators */
.house-list-tabs{display:flex;gap:8px;margin:0 0 21px}.house-list-tabs button{border-color:transparent;background:transparent;color:#92a086;font-size:11px;padding:10px 13px}.house-list-tabs button.active{background:#eaf2e3;border-color:#d8e5cf;color:#5e7d4d}.house-list-tabs button span{font-size:9px;margin-left:7px}.house-actions .house-delete{flex:0 0 38px;color:#ba7a6b;border-color:#eadbd4}.house-actions .house-delete:hover{background:#fbf2ed}.house-actions .house-delete svg{width:15px}.stats-caption{display:flex;justify-content:space-between;gap:12px;margin:0 1px 12px;color:#94a38a;font-size:10px;line-height:1.8}.stats-caption>span:last-child{color:#79906c}
/* Period and staff reports */
.analytics-section{margin-top:23px}.analytics-section-heading{padding:22px 24px;border-bottom:1px solid var(--line)}.analytics-section-heading h2{font-size:15px;margin:0}.analytics-section-heading p{font-size:10px;color:#93a18a;margin:7px 0 0;line-height:1.8}.analytics-report-table th{white-space:normal;line-height:1.7}.analytics-report-table td{font-size:11px;padding:17px 19px}.analytics-report-table td:first-child{min-width:175px}.analytics-report-table td:not(:first-child){white-space:nowrap}.analytics-rate{font-weight:700;color:#668a51}.analytics-explanation{padding:16px 24px;font-size:10px;line-height:1.9;color:#9aa88f;background:#fafcf8}.analytics-sidebar input[type=month]{font-size:11px}.analytics-section+.analytics-section{margin-top:23px}
@media(max-width:720px){.shell:has(.analytics-sidebar){flex-direction:column}.sidebar.analytics-sidebar{display:block;width:100%;padding:20px 15px;border-right:0;border-bottom:1px solid var(--line)}.analytics-sidebar form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}.analytics-sidebar form>label,.analytics-sidebar form>.row{grid-column:1/-1}.analytics-sidebar .side-footer,.analytics-sidebar .filterdivider,.analytics-sidebar .filters-note{display:none}.analytics-sidebar form>.btn,.analytics-sidebar form>.linkbtn{align-self:start}.analytics-section-heading{padding:18px}.analytics-explanation{padding:14px 18px}}

.journal-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.journal-stats .stat{padding:16px 14px;gap:10px}.journal-stats .stat-icon{width:34px;height:34px;flex-shrink:0}.journal-stats .stat:nth-child(5) .stat-icon{background:#f4eff9;color:#9779ad}.appeal-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
@media(max-width:1200px){.journal-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:950px){.journal-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.cleaning-team-note{padding:0 18px 15px;color:var(--muted);font-size:10px;line-height:1.7}
.appeal-menu-trigger{border:1px solid transparent}.appeal-menu-trigger:hover,.appeal-menu-trigger[aria-expanded=true]{background:var(--pale);border-color:var(--line)}.appeal-row-menu{position:fixed;z-index:45;width:230px;background:white;border:1px solid var(--line);border-radius:8px;padding:5px;box-shadow:0 8px 30px #18382b26}.appeal-row-menu button{display:flex;align-items:center;gap:9px;width:100%;border:0;text-align:left;font-size:11px}.head-actions{flex-wrap:wrap;justify-content:flex-end}
body.order-print-open{overflow:hidden}#order-print-root{position:fixed;inset:0;z-index:80;overflow:auto;background:#e9edea;color:#1a2420}.order-print-toolbar{position:sticky;top:0;z-index:1;background:white;border-bottom:1px solid var(--line);padding:16px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 3px 15px #20392b10}.order-print-toolbar strong{display:block;font-size:15px}.order-print-toolbar small{display:block;font-size:11px;color:#6f7e75;margin-top:5px}.order-print-toolbar>div:last-child{display:flex;gap:8px}.order-print-pages{padding:24px 12px}.order-sheet{width:210mm;max-width:100%;padding:15mm;margin:0 auto 24px;background:white;box-shadow:0 3px 18px #1b302323;font:12px/1.45 Arial,sans-serif;overflow-wrap:anywhere}.order-company{display:flex;justify-content:space-between;gap:20px;position:relative;border-bottom:0;padding-bottom:0;align-items:flex-start}.order-company strong{font-size:16px}.order-company span{font-size:10px;text-align:right;white-space:pre-wrap}.order-sheet h1{font-size:21px;text-align:center;margin:19px 0 4px;letter-spacing:.04em}.order-subtitle{text-align:center;font-size:11px;margin:0 0 18px;color:#4e5a54}.order-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.order-field{padding:7px 0;border-bottom:1px solid #d5dbd7;break-inside:avoid}.order-field>span{display:block;font-size:10px;color:#5c6961;margin-bottom:3px}.order-field>div{white-space:pre-wrap}.order-sheet h2{font-size:12px;margin:13px 0 5px}.order-task>div{white-space:pre-wrap;line-height:1.55}.order-write-lines{height:60px;display:grid;grid-template-rows:repeat(3,1fr)}.order-write-lines>div{border-bottom:1px solid #bcc6bf}.order-fill,.order-blank,.order-signatures{break-inside:avoid}.order-blank{margin-top:18px;font-size:11px}.order-signatures{display:flex;justify-content:space-between;gap:20px;margin-top:26px;font-size:11px}.order-signatures small{display:block;text-align:center;color:#657169;margin-top:5px;font-size:9px}
@media(max-width:720px){.order-print-toolbar{align-items:flex-start;padding:12px;flex-direction:column}.order-print-toolbar>div:last-child{flex-wrap:wrap}.order-sheet{padding:20px}.order-company{flex-direction:column;gap:5px}.order-company span{text-align:left}.order-signatures{flex-direction:column}.head-actions{max-width:52%}}
@page{size:A4 portrait;margin:12mm}
@media print{html,body{background:white!important;margin:0!important;padding:0!important;height:auto!important;overflow:visible!important}body.order-print-open>*{display:none!important}body.order-print-open>#order-print-root{display:block!important;position:static!important;inset:auto;overflow:visible!important;background:white}#order-print-root .order-print-toolbar{display:none!important}.order-print-pages{padding:0!important}.order-sheet{width:auto;max-width:none;padding:0;margin:0;box-shadow:none;break-after:page;page-break-after:always;font-size:10pt;line-height:1.4;color:#000}.order-sheet:last-child{break-after:auto;page-break-after:auto}.order-company{flex-direction:row;gap:20px}.order-company span{text-align:right}.order-sheet h1{font-size:17pt}.order-sheet h2{font-size:10pt}.order-field>span{font-size:8pt;color:#333}.order-field>div{font-size:10pt}.order-signatures{flex-direction:row}.order-subtitle{font-size:9pt;color:#222}.order-write-lines>div{border-bottom-color:#888}.order-company strong{font-size:13pt}.order-company span{font-size:8pt}}

.order-company .order-logo{width:62mm;height:auto;max-width:100%;display:block;flex-shrink:0;fill:none}.order-company{break-inside:avoid}@media print{.order-company .order-logo{width:62mm;height:auto;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.order-company:after{content:"";position:absolute;left:0;right:0;bottom:.68mm;border-top:.45mm solid #009b45;print-color-adjust:exact;-webkit-print-color-adjust:exact}

.responsible-executor-groups{border:1px solid var(--line);border-radius:8px;padding:16px;margin:0 0 20px}.responsible-executor-groups[hidden]{display:none}.responsible-executor-groups legend{font-size:12px;font-weight:700}.responsible-executor-groups p,.responsible-executor-groups small{font-size:11px;color:var(--muted);line-height:1.7}.responsible-executor-groups .checkrow{padding:5px 0}

.employee-delete-section{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.employee-delete-section .btn.danger{color:#af6a63;border-color:#ead5d1}

.analytics-month-buttons{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.analytics-month-buttons button{flex:1;padding:8px 5px;font-size:10px;white-space:nowrap}

/* House-linked utility outage notices */
.shutdown-warning{background:#fff8e9;border:1px solid #ead7a8;border-left:4px solid #d49a2c;border-radius:9px;padding:18px 20px;margin:0 0 20px;color:#66512c;overflow-wrap:anywhere}.shutdown-warning h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:15px;color:#775719}.shutdown-warning h3 svg{width:18px;height:18px}.shutdown-item{padding:12px 0;border-top:1px solid #ddcda9}.shutdown-item p{margin:8px 0;white-space:pre-wrap;line-height:1.5}.shutdown-heading{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.shutdown-heading span{font-size:12px}.shutdown-help{font-size:12px;margin:10px 0 0}.shutdown-catalog-note{padding:16px 22px;line-height:1.6;color:#697b70;border-bottom:1px solid #e4ebe5}.create-section-body>.shutdown-warning{margin-top:18px} @media(max-width:600px){.shutdown-warning{padding:14px}.shutdown-heading{display:block}.shutdown-heading span{display:block;margin-top:6px}}

.house-import-control{padding:16px;border:1px dashed #bad0c1;border-radius:8px;margin:15px 0;background:#f8fbf9}.house-import-control .btn{width:auto;display:inline-flex;cursor:pointer;margin:0 0 7px}.house-import-control small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.house-import-preview{display:flex;gap:16px;overflow:auto;max-height:55vh;margin:15px 0}.house-import-preview section{min-width:270px;border:1px solid var(--line);border-radius:7px;padding:14px}.house-import-preview h3{font-size:12px;margin:0 0 10px}.house-import-preview section>div{display:flex;gap:12px;padding:7px 0;border-top:1px solid var(--line);font-size:11px}.house-import-preview b{min-width:46px}.house-import-preview span{line-height:1.7}

.floor-spacer{display:block;flex-shrink:0;height:1px;pointer-events:none}.board-scroll>.entrance{flex:0 0 auto}.board-scroll .floor small{flex:0 0 22px}.board-scroll .flat{flex:0 0 44px}.floor-alignment-controls{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1;margin:8px 0}.floor-alignment-controls label{display:flex;gap:7px;align-items:center;font-size:10px;margin:0}.floor-alignment-controls input{width:86px;font-size:11px;padding:6px}.floor-alignment-controls input[type=number]{width:58px}.layout-editor-entrance{overflow-x:auto}.layout-room-numbers{flex-wrap:nowrap;width:max-content;min-width:100%}.wizard-floor-row .floor{flex-wrap:nowrap;width:max-content;min-width:100%}.wizard-grid-preview .entrance{flex:0 0 auto}
/* Keep every entrance reachable by vertical scrolling. Wide floors scroll within their own entrance. */
.board-scroll,.wizard-grid-preview{flex-wrap:wrap;align-items:flex-start;overflow:visible}
.board-scroll>.entrance,.wizard-grid-preview>.entrance{width:max-content;min-width:0;max-width:100%;flex:0 1 auto;overflow-x:auto;box-sizing:border-box}
.house-import-preview{flex-wrap:wrap;align-items:flex-start;overflow-x:hidden;overflow-y:auto}
.house-import-preview>section{min-width:0;max-width:100%;flex:1 1 270px;box-sizing:border-box}

.house-import-errors{max-height:360px;overflow:auto;padding-left:28px;line-height:1.5}.house-import-errors li{margin:0 0 12px;padding-left:4px;overflow-wrap:anywhere}.house-import-errors li:last-child{margin-bottom:0}

/* Shared phone workspace for director, responsible employees and executors. */
.director-mobile-nav,.mobile-top-menu,.mobile-page-tools,.mobile-drawer-layer,.mobile-filter-backdrop,.mobile-drawer-heading{display:none}
@media(max-width:720px){
 body:has(.director-workspace.mobile-panel-open){overflow:hidden}
 .director-workspace{padding-bottom:calc(76px + env(safe-area-inset-bottom));min-height:100dvh}
 .director-workspace .topbar{height:70px;min-height:70px;padding:10px 14px;gap:8px;flex-wrap:nowrap}
 .director-workspace .brand{width:auto;min-width:0;flex:1}
 .director-workspace .brand .brand-signature{width:min(204px,100%);max-height:49px}
 .director-workspace .mainnav,.director-workspace .tools>a,.director-workspace .avatar{display:none}
 .director-workspace .tools{margin-left:0}
 .director-workspace .mobile-top-menu{display:inline-flex;width:44px;height:44px}
 .director-workspace .shell{display:block;min-height:calc(100dvh - 146px)}
 .director-workspace .main{padding:16px 12px 24px;width:100%;max-width:100%;min-width:0}
 .director-workspace .sidebar{display:none}
 .director-mobile-nav{display:grid;grid-template-columns:repeat(var(--mobile-nav-items,5),minmax(0,1fr));position:fixed;z-index:35;bottom:0;left:0;right:0;padding:6px 5px calc(6px + env(safe-area-inset-bottom));background:#fffffffa;border-top:1px solid var(--line);box-shadow:0 -3px 20px #23332f08;backdrop-filter:blur(12px)}
 .director-mobile-nav a,.director-mobile-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:54px;min-width:0;padding:6px 1px;font-size:9px;font-weight:600;color:#77877e;border:0;border-radius:9px;background:none}
 .director-mobile-nav svg{width:21px;height:21px}
 .director-mobile-nav .active,.director-mobile-nav button[aria-expanded=true]{background:var(--pale);color:var(--green)}
 .mobile-page-tools{display:flex;gap:9px;align-items:center;margin-bottom:18px}
 .mobile-page-tools .btn{min-height:44px;flex:1;font-size:12px;padding:10px}
 .mobile-drawer-layer{display:block;position:fixed;z-index:70;inset:0}
 .mobile-drawer-backdrop,.mobile-filter-backdrop{position:fixed;inset:0;width:100%;height:100%;border:0;border-radius:0;background:#17271d66;padding:0}
 .mobile-menu-panel{position:absolute;right:0;top:0;bottom:0;width:min(360px,92vw);background:white;display:flex;flex-direction:column;box-shadow:-10px 0 40px #17271d20;padding-bottom:env(safe-area-inset-bottom)}
 .mobile-drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);background:white;flex-shrink:0}
 .mobile-drawer-heading b{font-size:17px}
 .mobile-drawer-heading small{display:block;color:var(--muted);font-size:12px;margin-top:5px}
 .mobile-drawer-heading .iconbtn{height:44px;width:44px}
 .mobile-menu-links{padding:8px 12px 24px;overflow:auto;overscroll-behavior:contain}
 .mobile-menu-links a{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px;border-radius:8px;font-size:14px}
 .mobile-menu-links a:hover{background:var(--pale)}
 .mobile-menu-links .sectionlabel{margin-left:12px}
 .director-workspace.mobile-filters-open .sidebar.filter{display:block;position:fixed;z-index:72;inset:0 0 0 auto;width:min(390px,94vw);height:100dvh;overflow:auto;padding:0 18px calc(24px + env(safe-area-inset-bottom));border:0;overscroll-behavior:contain;background:white}
 .mobile-filters-open .sidebar.filter .mobile-drawer-heading{position:sticky;top:0;margin:0 -18px 20px;z-index:2}
 .mobile-filters-open .sidebar .filter-title,.mobile-filters-open .sidebar .side-footer{display:none}
 .mobile-filters-open .sidebar.filter form{display:block}
 .mobile-filters-open .sidebar.filter .row{display:flex;flex-direction:row;gap:10px}
 .mobile-filters-open .sidebar.filter .row>.field{flex:1;min-width:0}
 .mobile-filter-backdrop{display:block;z-index:71}
 .director-workspace .pagehead{display:block;margin-bottom:18px}
 .director-workspace .pagehead h1{font-size:23px;line-height:1.3}
 .director-workspace .pagehead p{font-size:12px;line-height:1.6}
 .director-workspace .head-actions{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
 .director-workspace .head-actions .btn,.director-workspace .head-actions .secondary{font-size:12px;min-height:44px;flex:1;padding:10px;white-space:normal}
 .director-workspace:has(.appeals-journal) .pagehead [data-action=newappeal]{display:none}
 .director-workspace .breadcrumb{font-size:10px;line-height:1.6}
 .director-workspace .stats,.director-workspace .journal-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:18px}
 .director-workspace .stat,.director-workspace .journal-stats .stat{padding:13px 11px;gap:9px;min-width:0}
 .director-workspace .stat-icon{width:30px;height:30px;flex-shrink:0}
 .director-workspace .stat b{font-size:23px}
 .director-workspace .stat small{font-size:11px;line-height:1.4}

 .director-workspace .tablebar{gap:10px;padding:14px}
 .director-workspace .tablebar input{max-width:none;min-height:44px}
 .director-workspace .tablebar .right{margin-left:0}
 .director-workspace .tabs{gap:22px;scrollbar-width:thin}
 .director-workspace .tabs button{min-height:48px;font-size:12px}
 .director-workspace .tablefoot{gap:12px;flex-wrap:wrap;font-size:11px}
 .director-workspace .tablefoot button{min-width:44px;min-height:44px}
 .director-workspace .appeals-journal,.director-workspace .appeals-journal tbody{display:block;width:100%}
 .director-workspace .appeals-journal thead{display:none}
 .director-workspace .appeals-journal tr{display:grid;grid-template-columns:1fr;position:relative;padding:15px 14px;gap:12px;border-bottom:1px solid var(--line)}
 .director-workspace .appeals-journal td{display:block;border:0;padding:0!important;min-width:0!important;max-width:none!important;font-size:13px;line-height:1.6}
 .director-workspace .appeals-journal td[data-label]::before{content:attr(data-label);display:block;font-size:10px;letter-spacing:.03em;color:var(--muted);font-weight:600;margin-bottom:3px}
 .director-workspace .appeals-journal td:first-child{padding-right:44px!important}
 .director-workspace .appeals-journal td:first-child::before{display:none}
 .director-workspace .appeals-journal td:last-child{position:absolute;top:10px;right:8px}
 .director-workspace .appeals-journal .address{white-space:normal}
 .director-workspace .appeals-journal .num{font-size:16px}
 .director-workspace .appeals-journal td[data-label="Работа по заявке"]>b{color:var(--green)}
 .director-workspace .appeals-journal .sub{font-size:11px!important;overflow-wrap:anywhere}
 .director-workspace .appeals-journal .appeal-summary{margin-top:8px;font-size:15px!important;line-height:1.55;font-weight:600;color:var(--ink);white-space:pre-line}
 .director-workspace .badge{font-size:11px;padding:5px 9px}
 .director-workspace .appeal-menu-trigger{width:44px;height:44px}
 .director-workspace .executor-people .person>span:last-child{max-width:none;min-width:0}
 .director-workspace .analytics-report-table,.director-workspace .analytics-report-table tbody{display:block;width:100%;min-width:0}
 .director-workspace .analytics-report-table thead{display:none}
 .director-workspace .analytics-report-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;border-bottom:1px solid var(--line)}
 .director-workspace .analytics-report-table td{display:block;min-width:0!important;border:0;padding:0!important;font-size:14px}
 .director-workspace .analytics-report-table td:first-child{grid-column:1/-1}
 .director-workspace .analytics-report-table td::before{content:attr(data-label);display:block;color:var(--muted);font-size:11px;margin-bottom:5px}
 .director-workspace .barrow{gap:10px;font-size:12px}
 .director-workspace .barrow>span{width:110px;flex-shrink:0;overflow-wrap:anywhere}
 .director-workspace .card{padding:18px}
 .director-workspace .user-team-grid{grid-template-columns:1fr}
 .director-workspace .team-heading h3{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}
 .director-workspace .team-heading .iconbtn{width:44px;height:44px;flex-shrink:0;margin-left:0}
 .director-workspace .employee-row{min-height:64px;font-size:13px}
 .director-workspace .employee-row small{font-size:11px}
 .director-workspace .team-add{min-height:48px;font-size:12px}
 .director-workspace .directory-search{align-items:stretch}
 .director-workspace .house-info{gap:20px}
 .director-workspace .house-actions{flex-wrap:wrap}
 .director-workspace .house-actions button{min-height:44px}
 .director-workspace .board-scroll{padding:12px;gap:14px}
 .director-workspace .board-scroll>.entrance{max-width:100%;min-width:0;overflow-x:auto}
 .director-workspace .board-scroll .floor{width:max-content;min-width:100%}
 .director-workspace .flat{flex-shrink:0;min-height:40px}
 .director-workspace .creator-columns{display:block}
 .director-workspace .intake-meta{grid-template-columns:1fr;padding:16px;gap:16px}
 .director-workspace .address-fields{grid-template-columns:1fr}
 .director-workspace .create-section-head,.director-workspace .create-section-body{padding:16px}
 .director-workspace .create-section-head{flex-wrap:wrap}
 .director-workspace .kind-tabs{flex-wrap:wrap;gap:8px}
 .director-workspace .kind-tabs button{min-height:44px}
 .director-workspace .creator-summary{position:static}
 .director-workspace .creator-footer{position:static}
 .director-workspace .footer-note{font-size:10px;line-height:1.6}
 input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px!important;min-height:44px}
 input[type=checkbox],input[type=radio]{min-width:20px;min-height:20px}
 .modalback{align-items:stretch}
 .modal,.modal.large{width:100%;height:100dvh;max-width:100%;overscroll-behavior:contain}
 .modalhead{padding:14px 16px}
 .modalhead h2{font-size:18px}
 .modalbody{padding:18px 16px}
 .modalfoot{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap}
 .modalfoot button{min-height:46px;flex:1;font-size:14px}
 .modal .row{flex-direction:column}
 .modal .checkrow,.modal .executor-choice{min-height:44px;font-size:13px}
 .modal .detail p{overflow-wrap:anywhere}
 #toast{bottom:calc(84px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);width:max-content;font-size:13px}
}
@media print{.director-mobile-nav,.mobile-page-tools,.mobile-drawer-layer,.mobile-filter-backdrop,.mobile-drawer-heading,.mobile-top-menu{display:none!important}.director-workspace{padding-bottom:0}}
@media(max-width:720px){
 input,select,textarea{min-width:0;max-width:100%}
 .director-workspace:has(.mobile-page-tools [data-action=newappeal]) .pagehead [data-action=newappeal]{display:none}
 .director-workspace .creator-savebar{bottom:calc(70px + env(safe-area-inset-bottom));z-index:20}
 .director-workspace .employee-row>span:not(.tinyavatar){min-width:0;overflow-wrap:anywhere}
 .director-workspace .creator-secondary{display:block}
}
@media(max-width:720px){
 .director-workspace .head-actions{max-width:none;width:100%}
 .director-workspace .head-actions .btn{min-width:0}
}
@media(max-width:720px){
 .director-workspace .creator-savebar{padding:10px 12px;gap:8px}
 .director-workspace .creator-savebar .savebar-info{display:none}
 .director-workspace .creator-savebar .linkbtn{flex:0 0 100%;width:auto;min-height:30px;padding:4px}
 .director-workspace .creator-savebar .btn{flex:1 1 0;min-width:0;min-height:46px;padding:9px;font-size:11px;white-space:normal}
}
/* Keep the request number and status in one compact phone-card heading. */
@media(max-width:720px){
 .director-workspace .appeals-journal tr{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px}
 .director-workspace .appeals-journal td:first-child{grid-column:1;grid-row:1;padding-right:0!important}
 .director-workspace .appeals-journal td:nth-child(3){grid-column:2;grid-row:1;padding-right:52px!important;text-align:right;align-self:start}
 .director-workspace .appeals-journal td:nth-child(3)::before{display:none}
 .director-workspace .appeals-journal td:nth-child(2){grid-column:1/-1;grid-row:2}
 .director-workspace .appeals-journal td:nth-child(4){grid-column:1/-1;grid-row:3}
 .director-workspace .appeals-journal td:nth-child(5){grid-column:1/-1;grid-row:4}
 .director-workspace .appeals-journal .num{display:block}
 .director-workspace .appeals-journal .journal-date,.director-workspace .appeals-journal .journal-time{display:inline-block;margin-top:3px;font-size:10px!important}
 .director-workspace .appeals-journal .journal-time{margin-left:6px}
 .director-workspace .appeals-journal td:nth-child(4)::before{display:none}
}
/* Phone journal cards use the same 9px spacing as the KPI tiles. */
@media(max-width:720px){
 .director-workspace .appeals-journal tbody{display:grid;gap:9px;background:var(--bg)}
 .director-workspace .appeals-journal tr{background:white;border:1px solid var(--line);border-radius:9px}
 .director-workspace .appeals-journal tr[data-click]:hover{background:#f8fbf8}
 .director-workspace .appeals-journal tr[data-click]:hover td{background:transparent}
 .director-workspace .appeals-journal td:nth-child(2) .address,.director-workspace .appeals-journal .journal-location{display:inline;font-size:11px!important;font-weight:600;color:var(--ink);white-space:normal;margin:0}
 .director-workspace .appeals-journal .journal-location::before{content:", "}
 .director-workspace .appeals-journal .journal-applicant{display:block;margin-top:5px}
}

.group-policy-panel{margin-bottom:24px}.group-policy-intro{padding:24px}.group-policy-intro h2{margin:0 0 8px}.group-policy-intro p{color:#68767a;line-height:1.6;max-width:960px}.group-policy-table{min-width:740px}.group-policy-table th,.group-policy-table td{padding:16px 20px}.group-policy-table th{min-width:175px}.group-policy-table select{width:100%;min-width:150px;border:1px solid #d9e2df;background:#fff;border-radius:8px;padding:10px;font:inherit;color:#263f37}.group-policy-table select:focus{outline:2px solid #22876b;outline-offset:2px}#groups-save-status{display:inline-block;margin:12px;color:#366b59}@media(max-width:600px){.group-policy-intro{padding:16px}.group-policy-table th,.group-policy-table td{padding:12px}}

@media(max-width:900px){.group-policy-table{display:block;min-width:0;width:100%}.group-policy-table thead{display:none}.group-policy-table tbody{display:block}.group-policy-table tr{display:block;border-top:1px solid #e3eae5;padding:12px 0}.group-policy-table td{display:block;border:0;padding:8px 16px;white-space:normal}.group-policy-table td[data-group]{display:grid;grid-template-columns:minmax(80px,1fr) minmax(135px,1.2fr);align-items:center;gap:12px}.group-policy-table td[data-group]::before{content:attr(data-group);color:#68767a}.group-policy-table select{min-width:0}.group-policy-table td:first-child{padding-bottom:12px}}

@media(max-width:900px){.group-policy-table select{font-size:12px;padding:10px 7px}}

/* Photos attached to appeal comments. */
.appeal-comment{display:block}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:5px}
.comment-photos,.pending-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin-top:10px}
.comment-photos a{display:block;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.comment-photos img,.pending-photo img{display:block;width:100%;height:140px;object-fit:cover}
.appeal-photo-upload{margin:12px 0}.appeal-photo-upload>small{display:block;color:var(--muted);margin-top:8px;line-height:1.5}
.pending-photo{position:relative;overflow:hidden;border-radius:8px;border:1px solid var(--line)}
.pending-photo .iconbtn{position:absolute;right:4px;top:4px;background:white;box-shadow:0 1px 5px #0002}
@media(max-width:720px){.comment-photos,.pending-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.appeal-photo-upload>.btn{min-height:44px}}
/* Personal assignment notifications and mobile inbox. */
.notification-dot{background:#dc3545!important;width:8px!important;height:8px!important;box-shadow:0 0 0 2px white}
.director-mobile-nav a{position:relative}.director-mobile-nav .notification-dot{top:7px;right:calc(50% - 18px)}
.assignment-notice{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:20px;border:0;border-bottom:1px solid var(--line);background:white;color:var(--ink);cursor:pointer;min-height:88px}
.assignment-notice.unread{background:#f0f7f3;border-left:3px solid #dc3545}.assignment-notice b{font-size:14px}.assignment-notice small{color:var(--green)}
.assignment-popup{position:fixed;z-index:1000;top:86px;right:20px;width:min(400px,calc(100vw - 24px));display:flex;align-items:center;gap:12px;padding:16px;background:white;border:1px solid var(--line);border-left:4px solid #dc3545;border-radius:12px;box-shadow:0 8px 30px #142c2526}
.assignment-popup>span{color:var(--green)}.assignment-popup-open{border:0;background:transparent;text-align:left;flex:1;cursor:pointer;color:var(--ink)}.assignment-popup-open b,.assignment-popup-open small{display:block}.assignment-popup-open small{margin-top:5px;line-height:1.5}.push-help{line-height:1.6;margin-bottom:16px}
@media(max-width:720px){.assignment-popup{top:76px;right:12px}.assignment-notice{padding:16px}}
@media(max-width:720px){.director-workspace .head-actions [data-action="clearnotifications"]{flex-basis:100%}}

/* Pull down at the start of a mobile page to refresh shared data. */
.mobile-pull-indicator{display:none}
@media(max-width:720px){
 html.has-mobile-pull-refresh{overscroll-behavior-y:contain}
 .mobile-pull-indicator{position:fixed;z-index:65;top:calc(78px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:9px;max-width:calc(100vw - 24px);padding:10px 16px;border:1px solid var(--line);border-radius:24px;background:white;color:var(--green);box-shadow:0 4px 18px #183b2422;pointer-events:none;font-size:12px;white-space:nowrap}
 .mobile-pull-indicator[hidden]{display:none}.mobile-pull-icon{font-size:24px;line-height:24px;transform:rotate(calc(var(--pull-progress,0)*180deg))}.mobile-pull-indicator.is-loading .mobile-pull-icon{animation:mobile-pull-spin .8s linear infinite}.mobile-pull-indicator.is-error{color:#b4423f}
}
@keyframes mobile-pull-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.mobile-pull-indicator.is-loading .mobile-pull-icon{animation:none}}

/* Searchable address fields in request creation/editing. */
.address-search{position:relative;min-width:0}.address-search>input{padding-right:42px}.address-search-toggle{position:absolute;right:1px;top:1px;bottom:1px;display:grid;place-items:center;width:40px;padding:0;border:0;background:transparent;border-radius:0 6px 6px 0;color:var(--green)}.address-search-toggle svg{width:15px;height:15px;transform:rotate(90deg)}.address-search-options{position:absolute;z-index:35;top:calc(100% + 5px);left:0;right:0;max-height:250px;overflow:auto;overscroll-behavior:contain;background:#fff;border:1px solid #baccc1;border-radius:8px;box-shadow:0 8px 24px #18382b20;padding:4px}.address-search-options[hidden]{display:none}.address-search-options button{display:block;width:100%;text-align:left;border:0;border-radius:4px;padding:10px 12px;min-height:40px;font-size:12px;font-weight:500;white-space:normal;overflow-wrap:anywhere}.address-search-options button:hover,.address-search-options button[aria-selected=true]{background:var(--pale);color:var(--green)}.address-search-empty{padding:12px;font-size:12px;line-height:1.6;color:var(--muted)}.address-search>input[aria-invalid=true]{border-color:#b54e42}.address-search-toggle:disabled{opacity:.4;cursor:not-allowed}@media(max-width:720px){.address-search-options button{font-size:14px;min-height:44px}.address-search-options{max-height:220px}}
/* Director-only room access audit. */
.audit-options{display:grid;grid-template-columns:1fr 1.3fr;gap:18px;margin-bottom:22px;align-items:start}.audit-option{padding:22px}.audit-option h2{font-size:14px;margin:0 0 13px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.audit-option h2>svg{width:17px;height:17px}.audit-option p{font-size:11px;line-height:1.8;color:#829287;margin:9px 0 15px}.audit-option .btn{display:inline-flex;align-items:center;gap:8px}.audit-option .btn svg{width:15px;height:15px}.audit-switch{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6}.audit-switch input{width:17px;height:17px;margin:0;accent-color:#63866a}.audit-option [role=status]{font-size:10px;margin-left:10px}.audit-filters{padding:18px;display:flex;align-items:flex-end;gap:14px;margin-bottom:20px;flex-wrap:wrap}.audit-filters label{margin:0;flex:1;min-width:135px;font-size:10px}.audit-filters label:first-child{flex:2;min-width:200px}.audit-filters input{margin-top:7px}.audit-filters .btn{min-height:38px}.audit-table{width:100%;min-width:690px}.audit-table th{font-size:9px}.audit-table td{padding-top:13px;padding-bottom:13px;font-size:11px;vertical-align:top}.audit-table td:first-child{width:150px;white-space:nowrap;font-variant-numeric:tabular-nums}.audit-table td:last-child{width:175px}.audit-table .sub{font-size:10px;margin-top:5px}.audit-table tr.audit-focused{background:#edf5e9}.audit-explanation{margin-top:20px}.audit-inbox{margin-bottom:20px}.audit-inbox-heading{padding:18px 22px;border-bottom:1px solid var(--line);font-size:12px;font-weight:600}.audit-inbox .assignment-notice>span:not(.sub){display:block;font-size:11px;color:#76917c;margin-top:6px}.audit-table-wrap{overflow-x:auto}@media(max-width:720px){.audit-options{grid-template-columns:1fr;gap:13px}.audit-option{padding:18px}.audit-filters{padding:15px;gap:12px}.audit-filters label:first-child{flex-basis:100%}.audit-filters label{min-width:110px}.audit-filters .btn{width:100%}.audit-table-wrap .audit-table{display:table!important}.audit-table thead{display:table-header-group!important}.audit-table tbody{display:table-row-group!important}.audit-table tr{display:table-row!important}.audit-table th,.audit-table td{display:table-cell!important;padding:12px 15px}.audit-option h2{font-size:13px}.audit-option .badge{font-size:9px}}
#audit-total{white-space:nowrap;flex-shrink:0}.tablebar>[data-action=resetaudit]{width:auto;margin-left:auto}
.audit-scroll-hint{display:none}@media(max-width:720px){.audit-journal .pagehead{flex-direction:row;align-items:flex-start;gap:8px}.audit-journal .pagehead .head-actions{width:auto;flex-shrink:0}.audit-journal .head-actions .btn{width:38px;height:38px;font-size:0;padding:10px;min-width:0}.audit-journal .head-actions .btn svg{width:16px;height:16px}.audit-filters label:first-child{flex:1;flex-basis:auto;min-width:190px;order:0}.audit-filters>.btn{order:1;width:auto;flex:0 0 auto}.audit-filters label:nth-child(2){order:2;flex-basis:44%}.audit-filters label:nth-child(3){order:3;flex-basis:44%}.audit-scroll-hint{display:block;padding:0 15px 12px;font-size:10px;color:#829287}}
@media(max-width:720px){.audit-journal .pagehead{display:flex}.audit-journal .pagehead .head-actions{margin-top:0;max-width:40px}.audit-journal .head-actions .btn{flex:none;min-height:38px}.audit-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters label{min-width:0}.audit-filters label:first-child{grid-column:1/-1;min-width:0;order:0}.audit-filters label:nth-child(2){grid-column:1;order:1}.audit-filters label:nth-child(3){grid-column:2;order:2}.audit-filters>.btn{grid-column:1/-1;order:3;width:100%}}
/* Shared employee contact directory; management remains in director settings. */
.employees-directory .tablebar{gap:20px;padding:20px 24px}.employees-directory .tablebar input{width:420px;max-width:70%;font-size:11px;padding:12px 14px}.employee-directory-count{margin-left:auto;white-space:nowrap;color:#8a9c8d;font-size:10px}.employees-info-table{width:100%}.employees-info-table th{padding:17px 25px;font-size:9px;letter-spacing:.7px}.employees-info-table td{padding:16px 25px;font-size:12px;vertical-align:middle}.employee-directory-person{display:flex;align-items:center;gap:12px}.employee-directory-person .tinyavatar{width:32px;height:32px;flex-shrink:0;font-size:10px}.employee-directory-phone{white-space:nowrap;color:#5a7e64;font-variant-numeric:tabular-nums}.employees-directory .tablefoot{padding:17px 25px;font-size:10px}.employee-directory-info{display:flex;align-items:center;gap:7px;color:#8a9c8d}.employee-directory-info svg{width:13px;height:13px}@media(max-width:720px){.employees-directory .tablebar{padding:15px;flex-wrap:wrap;gap:10px}.employees-directory .tablebar input{width:100%;max-width:none;font-size:16px}.employees-info-table{display:table!important;table-layout:fixed;width:100%;min-width:0}.employees-info-table thead{display:table-header-group!important}.employees-info-table tbody{display:table-row-group!important}.employees-info-table tr{display:table-row!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}.employees-info-table th,.employees-info-table td{display:table-cell!important;padding:13px 10px;font-size:11px;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}.employees-info-table th:first-child{width:38%}.employees-info-table th:nth-child(2){width:29%}.employees-info-table th:nth-child(3){width:33%}.employee-directory-person{display:block}.employee-directory-person .tinyavatar{display:none}.employee-directory-phone{white-space:normal}.employees-directory .tablefoot{gap:12px;flex-wrap:wrap;padding:14px 15px;font-size:9px}.employees-directory .tablewrap{overflow-x:visible}}
/* Grouped contact list: responsible staff, dispatchers, then executors. */
.employees-info-table .employee-directory-category th{width:auto;padding:13px 25px;background:#eaf2ec;border-top:1px solid #d9e6db;border-bottom:1px solid #d9e6db;letter-spacing:0;text-transform:none}.employee-directory-category th>span{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:650;color:#4f755b}.employee-directory-category svg{width:16px;height:16px}.employee-directory-category small{float:right;font-size:10px;font-weight:400;color:#7d9883;padding-top:3px}.employees-info-table .employee-directory-team th{width:auto;background:#f7faf7;padding:10px 25px 7px;font-size:10px;font-weight:600;color:#7d9481;border-bottom:0;letter-spacing:0;text-transform:none}.employees-info-table .employee-directory-contact td{padding-top:14px;padding-bottom:14px}@media(max-width:720px){.employees-info-table .employee-directory-category th{padding:12px 10px}.employee-directory-category th>span{font-size:12px}.employee-directory-category small{font-size:9px}.employees-info-table .employee-directory-team th{padding:9px 10px 6px;font-size:10px}.employees-info-table .employee-directory-contact td{padding-top:13px;padding-bottom:13px}}

.analytics-chief-toggle{display:block;position:relative;border:0;background:none;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer;width:100%}.analytics-chief-toggle>span:first-child{position:absolute;left:-15px;top:2px;font-size:16px;line-height:1;color:inherit}.analytics-chief-toggle:hover{background:transparent}.analytics-chief-toggle:focus-visible{outline:2px solid #638257;outline-offset:5px;border-radius:3px}.analytics-detail-person{color:var(--muted);font-size:10px}.analytics-detail-row td:nth-child(2){padding-left:30px}.analytics-summary-row td:nth-child(2),.analytics-summary-row td:nth-child(3){font-weight:700}

/* Keep the original work-order layout; enlarge only the key request details. */
.order-service>div,.order-source>div,.order-address>div,.order-task>div{font-size:14pt}
.order-source>div{font-weight:600}

.premises-usage{font-size:12px;color:var(--muted,#68778d);max-width:320px;line-height:1.5}.premises-usage[hidden]{display:none}#premises-limits-form{margin-top:20px}#premises-limits-form input[type=number]{max-width:150px}
