:root{color-scheme:light;--ink:#173c3c;--muted:#627878;--bg:#f4f6f2;--line:#dce4df;--accent:#17715d;--soft:#e5f0e8;--danger:#a33b2a}*{box-sizing:border-box}body{margin:0;font:15px/1.5 "Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;color:var(--ink);border-radius:8px;padding:10px 14px;min-height:44px;font-weight:600}button:hover{background:#edf3ed}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--accent);border-color:var(--accent);color:#fff}.primary:hover{background:#125b4b}a{color:var(--accent)}:focus-visible{outline:3px solid #c18628;outline-offset:3px}.skip{position:fixed;top:-70px;left:15px;background:white;padding:15px;z-index:10}.skip:focus{top:15px}#shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}aside{background:#143e3b;color:#e6f1e8;padding:30px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:white;font-size:26px;font-weight:650;padding:0 12px}.brand small{display:block;letter-spacing:1.9px;font-size:8px;font-weight:500}.mark{border:1px solid #75948a;border-radius:12px;width:42px;height:44px;display:grid;place-content:center;font-family:Georgia,serif}.hotel{font-size:13px;color:#b5cfc5;padding:30px 14px 20px;border-bottom:1px solid #3c5b52;margin-bottom:20px}.hotel strong{display:block;color:white;font-size:14px;margin-bottom:5px}nav{display:grid;gap:7px}nav button{display:flex;gap:13px;align-items:center;background:none;color:#c5d9cf;border:0;text-align:left;font-weight:500}nav button:hover{background:#244f48}nav button.active{background:#e1ebd5;color:#143e3b}.sidebar-note{margin-top:auto;padding:22px 12px 0;color:#b8d0c4;font-size:12px}.pilot{font-size:9px;letter-spacing:1.3px;font-weight:700;color:#d9e8bb}.workspace{min-width:0}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 40px;background:#fbfcf8;border-bottom:1px solid var(--line)}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:7px 0 0}h2{font-size:20px;line-height:1.3;margin:0}h3{font-size:16px;margin:0}.eyebrow{font-size:10px;font-weight:750;letter-spacing:2px;color:var(--muted)}.header-actions{display:flex;gap:10px;align-items:center}.identity{display:block;font-size:10px;color:var(--muted)}.identity select{display:block;padding:7px;margin-top:2px}.icon-button{font-size:20px;width:44px;padding:3px}.demo-strip{font-size:11px;color:#50635e;background:#e9eee3;padding:9px 40px}main{padding:32px 40px;max-width:1600px;margin:auto;outline:none}footer{font-size:11px;color:var(--muted);padding:12px 40px}.intro{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.intro p,.sub{color:var(--muted);font-size:13px;margin:6px 0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:left}.stat span{display:block;font-size:12px;font-weight:500;color:var(--muted)}.stat strong{display:block;font-size:36px;font-weight:550;line-height:1.4}.stat small{color:var(--accent);font-weight:500}.stat.warn strong{color:var(--danger)}.panels{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(250px,1fr);gap:22px}.panel{border:1px solid var(--line);background:white;border-radius:12px;overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px;border-bottom:1px solid var(--line)}.panel-body{padding:20px}.work-row{display:grid;grid-template-columns:1fr auto;gap:14px;text-align:left;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 20px;font-weight:500}.work-row:last-child{border-bottom:0}.work-row strong{display:block;font-size:14px}.work-row .sub{margin-top:5px;font-size:12px}.row-side{display:flex;align-items:flex-end;flex-direction:column;justify-content:center;gap:8px;font-size:12px;color:var(--muted)}.badge{font-size:10px;border-radius:5px;padding:4px 7px;display:inline-block;background:#eef2ed;white-space:nowrap;font-weight:650;letter-spacing:.25px}.badge.URGENT,.badge.late{background:#f9e4dd;color:#9c3825}.badge.HIGH{background:#fff0d3;color:#895d12}.badge.NORMAL,.badge.OPEN{background:#e7efed;color:#315f54}.badge.LOW,.badge.DONE{background:#eaf0dd;color:#557035}.badge.IN_PROGRESS{background:#e5edf8;color:#38587f}.badge.ON_HOLD{background:#f0e7f5;color:#78568b}.badge.PREVENTIVE{background:#e8ede2;color:#627246}.badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.overdue{color:var(--danger);font-weight:650}.load-row{padding:18px 20px;border-bottom:1px solid var(--line)}.load-row>div:first-child{display:flex;justify-content:space-between;font-size:13px}.bar{height:6px;background:#edf1e9;border-radius:8px;margin:10px 0 5px;overflow:hidden}.bar i{display:block;background:#478970;height:100%;border-radius:8px}.tiny{font-size:11px;color:var(--muted)}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:2;min-width:200px}.toolbar select{flex:1;min-width:135px}input,select,textarea{border:1px solid #cbd8d0;background:#fff;color:var(--ink);border-radius:7px;padding:10px;min-height:44px;max-width:100%}textarea{resize:vertical;min-height:95px;width:100%}select[multiple]{min-height:140px}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:650;min-width:0}.field small{font-weight:400;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.asset-card{padding:20px;display:block;text-align:left;width:100%;border-radius:12px;font-weight:400;min-height:175px}.asset-card h3{margin:12px 0 4px;font-size:20px}.asset-card .bottom{display:flex;justify-content:space-between;margin-top:20px;font-size:11px;color:var(--muted)}.board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.column{background:#e9eee6;border-radius:12px;padding:12px;min-width:0}.column h3{padding:6px 4px 14px;display:flex;justify-content:space-between;font-size:12px}.board-card{display:block;background:white;width:100%;padding:16px;text-align:left;margin-bottom:12px;font-weight:400;min-height:160px}.board-card strong{display:block;line-height:1.5}.empty{padding:45px 22px;text-align:center;color:var(--muted);background:white;border:1px dashed var(--line);border-radius:10px}.empty strong{display:block;color:var(--ink);margin-bottom:8px}.template{margin-bottom:18px}.template .panel-body{display:grid;grid-template-columns:1fr 1fr;gap:20px}.schedule{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.schedule button{font-size:12px;min-height:36px;padding:5px 8px}.check-summary{padding-left:20px;color:var(--muted);font-size:12px}.notice{background:#ecf1e7;border-radius:8px;padding:15px 18px;color:#42634d;font-size:12px;margin:16px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stack{display:grid;gap:13px}.button-row{display:flex;gap:10px;flex-wrap:wrap}.danger{color:#9b3a27}.file-input{display:block;border:1px solid var(--line);padding:12px;border-radius:8px}dialog{border:1px solid var(--line);border-radius:14px;box-shadow:0 28px 90px #173c3c55;width:min(720px,calc(100% - 30px));max-height:90vh;padding:0;color:var(--ink);background:#fafbf7}dialog::backdrop{background:#173a3a77}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fafbf7;z-index:1}.modal-head button{padding:2px 10px;font-size:24px;background:none;border:0}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:18px 26px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fafbf7}#fields{padding:24px 26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.wide{grid-column:1/-1}.check{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:10px 0}.check input{min-height:24px;width:21px;height:21px;margin:0;flex-shrink:0;accent-color:var(--accent)}.history{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.history p{font-size:11px;color:var(--muted);border-left:2px solid var(--line);padding-left:12px}.history b{display:block;color:var(--ink)}#form-error{margin:0 26px 18px;color:var(--danger);font-size:13px}#form-error:empty{display:none}#toast{position:fixed;bottom:24px;right:25px;max-width:calc(100% - 40px);padding:14px 20px;border-radius:9px;background:#173c3c;color:white;box-shadow:0 8px 25px #0002;display:none;font-size:13px;z-index:20}#toast.show{display:block}.muted{color:var(--muted)}.pill{font-size:11px;padding:4px 8px;background:var(--soft);border-radius:20px}.inline-staff{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
@media(min-width:1600px){main{padding-top:40px}}@media(max-width:1100px){header,main{padding-left:24px;padding-right:24px}.demo-strip{padding-left:24px;padding-right:24px}.board{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.identity{max-width:140px}#shell{grid-template-columns:200px minmax(0,1fr)}.stat-grid{gap:10px}.stat{padding:15px}.panels{grid-template-columns:1fr}}
@media(max-width:760px){#shell{display:block}aside{position:static;height:auto;padding:14px 14px 10px}.brand{font-size:21px;padding:0 5px}.mark{height:34px;width:34px}.brand small{font-size:7px}.hotel,.sidebar-note{display:none}nav{display:flex;overflow:auto;gap:7px;padding-top:12px}nav button{white-space:nowrap;font-size:12px;min-height:44px;padding:8px 12px}nav button span{display:inline}header{padding:19px 18px;align-items:flex-start;gap:10px;flex-wrap:wrap}h1{font-size:26px}.header-actions{width:100%;justify-content:flex-end}.identity{margin-right:auto;max-width:none}.identity select{width:155px}.demo-strip{padding:9px 18px;font-size:10px}main{padding:22px 18px}.intro{align-items:flex-start;flex-wrap:wrap}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat strong{font-size:30px}.grid,.board,.settings-grid{grid-template-columns:1fr}.panels{gap:18px}.template .panel-body{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.toolbar{gap:8px}.toolbar select{min-width:120px}.toolbar input{flex-basis:100%}.work-row{padding:16px;gap:8px}.row-side{max-width:100px}.panel-header{padding:16px;flex-wrap:wrap}#fields{padding:20px}.modal-head{padding:18px 20px}.modal-actions{padding:15px 20px}.board-card{min-height:130px}.schedule{gap:6px}.schedule span{max-width:66%}footer{padding:10px 18px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.workspace-bar{display:flex;gap:12px;align-items:center;padding:16px 40px;border-bottom:1px solid var(--line);background:#fbfcf8}.workspace-bar label{font-size:10px;color:var(--muted);display:flex;flex-direction:column;gap:3px}.workspace-bar select{min-width:230px;max-width:400px}.workspace-bar span{font-size:9px;letter-spacing:1px;color:var(--muted);margin-left:auto}.workspace-bar button{align-self:flex-end}@media(max-width:760px){.workspace-bar{padding:12px 18px;flex-wrap:wrap;gap:10px}.workspace-bar label{flex:1}.workspace-bar select{min-width:160px;width:100%}.workspace-bar span{margin:0;width:100%;font-size:8px}}

/* Familiar request list/detail presentation uses Harbor's original typography and palette. */
.request-layout{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:18px;align-items:start}.request-row{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:18px 20px;font-weight:400}.request-row strong{display:block}.request-row.selected{background:#e8f1ec;border-left:3px solid var(--accent)}.request-detail{padding:24px}.request-meta{display:grid;grid-template-columns:1fr 1fr;gap:14px;border-block:1px solid var(--line);padding:18px 0;margin:18px 0}.request-meta span{display:block;font-size:10px;color:var(--muted)}.request-meta strong{font-size:12px}.description,.public-reply p,.private-note p{white-space:pre-wrap;font-size:13px}.public-reply,.private-note{padding:15px;border-radius:8px;margin:15px 0;font-size:12px}.public-reply{background:#e7eff8;color:#37567a}.private-note{background:#eee9e1;color:#6d5b43}.review-buttons{margin:18px 0}.badge.NEW{background:#e7eff8;color:#37567a}.badge.NEEDS_INFORMATION{background:#fff0d3;color:#895d12}.badge.APPROVED{background:#e5f0e8;color:#315f54}.badge.DECLINED{background:#f7e7e2;color:#9c3825}#requester-detail{margin-top:18px}@media(max-width:900px){.request-layout{grid-template-columns:1fr}.request-detail{padding:18px}.request-meta{grid-template-columns:1fr 1fr}.workspace-bar select{min-width:140px}}

.request-detail,.request-row strong{overflow-wrap:anywhere}

/* Observed navigation/list-detail conventions; all assets and branding remain original Harbor. */
:root{--selected:#246dc1}#shell{grid-template-columns:250px minmax(0,1fr)}aside{width:250px;overflow-y:auto;padding:24px 16px}.nav-group{font-size:10px;letter-spacing:1.5px;font-weight:700;color:#98bab0;padding:16px 14px 5px}nav{gap:3px}nav button{padding:8px 14px;min-height:40px;font-size:13px}header{padding:20px 28px}h1{font-size:27px}main{padding:22px 28px;max-width:none}.demo-strip{padding-inline:28px}.workspace-bar{padding:12px 28px;gap:10px}.workspace-bar span{max-width:280px;line-height:1.4}.compact-intro{margin-bottom:14px}.compact-intro h2{font-size:18px}.toolbar{gap:8px}.toolbar select{font-size:12px;min-width:115px}.request-toolbar input{min-width:220px;flex-basis:100%}.filter-chip{border-radius:20px;flex:0 1 auto!important;min-width:110px;max-width:220px;padding:8px 13px}.request-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 14px;border-bottom:1px solid var(--line);padding-bottom:8px}.request-tabs button{font-size:12px;border:0;background:transparent;min-height:38px}.request-tabs button.active{color:var(--selected);background:#e6eff9}.request-layout,.work-layout{display:grid;grid-template-columns:350px minmax(0,1fr);gap:0;align-items:start;border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.request-layout>.panel,.work-layout>.panel{border:0;border-radius:0}.compact-list{max-height:calc(100vh - 310px);overflow-y:auto;border-right:1px solid var(--line)!important}.detail-pane{max-height:calc(100vh - 310px);overflow-y:auto}.request-row,.compact-work{display:flex;gap:12px;align-items:flex-start;width:100%;padding:15px 14px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;font-weight:400;min-height:125px;border-left:3px solid transparent}.request-row.selected,.compact-work.selected{border-left-color:var(--selected);background:#edf4fc}.record-icon{display:grid;place-content:center;flex-shrink:0;width:34px;height:36px;background:#e9efee;color:#436862;border-radius:7px;font-size:20px}.compact-content{min-width:0;flex:1}.compact-content strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere}.compact-content .sub{font-size:11px;line-height:1.4;margin:5px 0}.compact-line{display:flex;gap:6px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:4px 0}.compact-line .badge{font-size:9px}.request-detail,.work-detail{padding:23px;overflow-wrap:anywhere}.detail-top{display:flex;gap:12px;align-items:center;justify-content:space-between}.detail-top button{font-size:12px;min-height:38px;padding:7px 11px}.work-detail h2{font-size:23px;margin:13px 0 17px}.status-actions{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.status-actions button{font-size:12px;padding:8px 11px;min-height:40px}.status-actions button.selected-status{background:#e7f0fb;color:#205d9e;border-color:#246dc1}.linked-record{border:1px solid #c9dbef;background:#eff5fc;border-radius:7px;padding:14px;font-size:12px;margin:18px 0}.linked-record p{margin:6px 0 10px;color:var(--muted)}.linked-record button{font-size:12px;min-height:36px;padding:6px 10px}.check-read{font-size:12px;color:var(--muted);display:flex;gap:10px;margin:12px 0}.work-detail .history{margin-top:20px;padding-top:17px}.badge.PENDING{background:#e7eff8;color:#37567a}.badge.REJECTED{background:#f7e7e2;color:#9c3825}.request-meta strong{overflow-wrap:anywhere}.request-layout .description,.work-layout .description{overflow-wrap:anywhere}
@media(max-width:1100px){.request-layout,.work-layout{grid-template-columns:315px minmax(0,1fr)}header,main,.workspace-bar{padding-inline:20px}.workspace-bar span{max-width:200px}.detail-top{flex-wrap:wrap}.status-actions{gap:5px}}
@media(max-width:900px){#shell{display:block}aside{width:auto;height:auto;position:static;padding:13px 16px}.hotel,.sidebar-note{display:none}nav{display:flex;overflow-x:auto;padding-top:10px}.nav-group{display:none}nav button{white-space:nowrap;min-height:42px}.request-layout,.work-layout{grid-template-columns:1fr}.compact-list{max-height:42vh;border-right:0!important;border-bottom:1px solid var(--line)!important}.detail-pane{max-height:none;overflow:visible}.record-icon{width:30px;height:32px}.request-row,.compact-work{min-height:115px}.workspace-bar{flex-wrap:wrap}.workspace-bar span{max-width:none;width:100%}.request-detail,.work-detail{padding:18px}.workspace-bar label{flex:1}.filter-chip{max-width:none}.request-meta{grid-template-columns:1fr 1fr}}
@media(max-width:760px){header{padding:17px 18px}main{padding:18px}.workspace-bar{padding:12px 18px}.demo-strip{padding-inline:18px}.status-actions button{flex:1 1 42%}.toolbar select{min-width:115px}.request-tabs button{padding:7px 10px}.request-detail h2{font-size:20px}}

/* Three read-only presentations share filters and the same editable detail component. */
.work-mode-bar{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 0 15px}.work-mode-bar button{min-height:42px;padding:8px 15px}.work-mode-bar button[aria-pressed=true],.calendar-controls button[aria-pressed=true]{background:var(--accent);color:white;border-color:var(--accent)}.work-mode-bar .tiny{margin-left:8px}.table-panel,.calendar-panel{padding:0;min-width:0}.table-scroll,.calendar-scroll{max-width:100%;overflow:auto}.table-scroll:focus-visible,.calendar-scroll:focus-visible{outline:3px solid var(--selected);outline-offset:-3px}.work-table{border-collapse:collapse;width:100%;min-width:1030px;text-align:left;font-size:12px}.work-table caption{text-align:left;padding:15px 18px;color:var(--muted);font-size:12px}.work-table th,.work-table td{border-bottom:1px solid var(--line);padding:12px 15px;vertical-align:middle}.work-table th{background:#f1f5f2;white-space:nowrap}.work-table th button{padding:5px 0;border:0;background:transparent;min-height:36px;font-size:12px;text-align:left}.work-table th:nth-child(2){width:260px}.work-table .table-work{border:0;background:transparent;text-align:left;color:var(--ink);padding:5px 0;min-height:38px;font-weight:650;min-width:190px;max-width:300px;overflow-wrap:anywhere}.work-table tr.selected{background:#edf4fc}.work-table tr.selected td:first-child{box-shadow:inset 3px 0 var(--selected)}.work-table .badge{white-space:nowrap}.standalone-detail{margin-top:18px}.calendar-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;flex-wrap:wrap}.calendar-controls h3{font-size:18px;margin:0}.calendar-controls button{min-height:40px;padding:8px 12px;font-size:12px}.calendar-note{margin:0 18px 16px}.calendar-panel>.notice{margin:0 18px 15px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:770px}.calendar-grid.week{min-width:910px}.calendar-weekday{text-align:center;font-size:11px;font-weight:650;padding:10px;border-block:1px solid var(--line);background:#f2f5f2}.calendar-day{padding:8px;min-height:150px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}.calendar-grid.week .calendar-day{min-height:330px}.calendar-day-title{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:7px}.calendar-day time{font-size:12px;min-width:28px;height:28px;display:grid;place-items:center;border-radius:50%}.calendar-day .tiny{font-size:9px}.calendar-day.today{background:#f1f7ef}.calendar-day.today time{background:var(--accent);color:white;font-weight:700}.calendar-day.outside-month{background:#f7f8f7}.calendar-day.outside-month time{color:var(--muted)}.calendar-event{display:block;width:100%;text-align:left;border:1px solid #d5e2de;border-left:3px solid #8faea2;background:#f7faf8;border-radius:5px;padding:8px 7px;margin:5px 0;min-height:54px}.calendar-event strong{display:block;font-size:11px;line-height:1.4;overflow-wrap:anywhere}.calendar-event span,.calendar-event small{display:block;font-size:9px;color:var(--muted);line-height:1.4;margin:2px 0}.calendar-event.selected{border-left-color:var(--selected);background:#edf4fc}.calendar-more{min-height:38px;font-size:11px;padding:5px 8px;width:100%;text-align:left;color:var(--selected);border:0;background:transparent}.undated-work{padding:16px 18px}.undated-work h3{font-size:14px}.undated-work .calendar-event{max-width:420px}.work-detail,.calendar-panel{overflow-wrap:anywhere}
@media(max-width:760px){.work-mode-bar .tiny{display:block;width:100%;margin:5px 0 0}.work-mode-bar button{flex:1}.calendar-controls{gap:12px;padding:14px}.calendar-controls h3{order:-1;width:100%;font-size:16px}.calendar-note{margin-inline:14px}.work-table caption{padding:14px}.standalone-detail{margin-top:14px}}

/* Column preferences and directory presentation do not alter hotel records. */
#choose-work-columns{margin-left:auto;font-size:12px;background:white;color:var(--accent)}.column-options{margin-top:16px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.column-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 13px;border-bottom:1px solid var(--line)}.column-option:last-child{border-bottom:0}.column-option label{display:flex;align-items:center;gap:10px;font-size:13px}.column-option input{width:18px;height:18px;accent-color:var(--accent)}.column-option .button-row{gap:5px}.column-option button{min-width:40px;min-height:38px;padding:5px 10px}.work-table.column-count-1{min-width:350px}.work-table.column-count-2{min-width:440px}.work-table.column-count-3{min-width:560px}.work-table.column-count-4{min-width:680px}.work-table.column-count-5{min-width:800px}.work-table.column-count-6{min-width:900px}.work-table.column-count-7{min-width:1000px}.work-table td[data-column=createdAt],.work-table td[data-column=updatedAt],.work-table td[data-column=dueDate]{white-space:nowrap}.asset-toolbar input{flex-basis:100%;min-width:200px}.asset-toolbar select{flex:1 1 160px;min-width:145px}.asset-sort-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 15px;flex-wrap:wrap}.asset-sort-bar label{display:flex;gap:8px;align-items:center}.asset-sort-bar select{font-size:12px;min-height:38px;max-width:230px}.asset-table{min-width:1270px}.asset-table td:nth-child(2){font-size:10px;overflow-wrap:anywhere;min-width:110px;max-width:190px}.asset-table th:first-child{width:230px}.asset-table th:nth-child(2){width:150px}.asset-table td:nth-child(7),.asset-table td:nth-child(8),.asset-table td:nth-child(9){white-space:nowrap}.asset-layout{display:grid;grid-template-columns:315px minmax(0,1fr);border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}.asset-layout>.panel{border:0;border-radius:0}.asset-layout .compact-list,.asset-layout .detail-pane{max-height:calc(100vh - 400px);min-height:280px}.compact-asset{display:flex;gap:12px;align-items:flex-start;width:100%;padding:16px 14px;text-align:left;border:0;border-bottom:1px solid var(--line);border-left:3px solid transparent;border-radius:0;font-weight:400;min-height:110px}.compact-asset.selected{border-left-color:var(--selected);background:#edf4fc}.asset-detail .work-row{font-size:12px;padding-inline:0}.asset-detail .work-row strong{font-size:12px}.asset-mode-bar button{min-height:40px}.asset-detail .request-meta strong{overflow-wrap:anywhere}
@media(max-width:900px){.asset-layout{grid-template-columns:1fr}.asset-layout .compact-list{max-height:35vh;min-height:170px}.asset-layout .detail-pane{max-height:none;min-height:0}.asset-toolbar select{min-width:140px}.asset-detail .work-row{gap:8px;flex-wrap:wrap}.asset-detail .row-side{min-width:0}.asset-sort-bar{gap:8px}.asset-sort-bar label{max-width:100%}.asset-sort-bar select{max-width:230px}}
@media(max-width:760px){#choose-work-columns{margin:5px 0 0;flex-basis:100%}.asset-mode-bar #asset-presentation-reset{flex-basis:100%;background:transparent}.asset-toolbar button{width:100%}.column-option{padding:9px}.column-option label{font-size:12px}.column-option button{min-width:35px;padding:4px}.asset-detail .request-meta{grid-template-columns:1fr 1fr}}

/* Ordinary phone navigation stays visible. Gestures add no tabs, transforms or animations. */
.mobile-bottom-nav,.phone-back{display:none}.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.mobile-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;z-index:40;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line);gap:4px;overflow:visible}.mobile-bottom-nav button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:54px;white-space:normal;font-size:11px;font-weight:650;padding:5px 3px;border:0;border-radius:7px;color:var(--ink);background:transparent}.mobile-bottom-nav button span{font-size:18px}.mobile-bottom-nav button.active{background:var(--accent);color:white}.phone-back{display:block;min-height:44px;font-size:12px;padding:7px 9px;margin-bottom:8px;background:transparent;color:var(--accent)}.asset-detail .detail-top{align-items:start}.asset-detail .detail-top>.button-row{flex-wrap:wrap;justify-content:flex-end}.asset-detail .detail-top>.button-row button{min-height:44px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid>.stat:last-child{grid-column:1/-1}#toast{bottom:calc(82px + env(safe-area-inset-bottom))}button,input,select{min-height:44px}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.workspace-bar select,.identity select{font-size:16px}.column-option label{min-height:44px}.check{min-height:44px}.check input{min-height:20px}.modal-actions button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav button,.phone-back{transition:none}html{scroll-behavior:auto}}

.phone-filter-toggle{display:none}.phone-filter-group{display:contents}#choose-work-columns[hidden]{display:none!important}
@media(max-width:900px){.phone-filter-toggle{display:block;min-height:44px;flex:0 0 auto}.phone-filter-group{display:none;flex-basis:100%}.phone-filter-group.filters-open{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:#eef3ef;border-radius:8px}.phone-filter-group select{flex:1 1 145px}.phone-filter-group #asset-clear-filters{flex:1 1 100%}.asset-toolbar input,.request-toolbar input{flex:1 1 190px;min-width:0}.toolbar>input#search{flex:1 1 180px;min-width:0}.phone-filter-group .filter-chip{max-width:none}.asset-sort-bar label{font-size:11px}.asset-sort-bar select{max-width:195px}.asset-mode-bar #asset-presentation-reset{flex-basis:auto}.work-mode-bar .tiny{font-size:9px}}
/* Private attachment UI: decoded/recompressed previews, native capture/library pickers and explicit retry status. */
.photos-section{border-top:1px solid var(--line);margin-top:20px;padding-top:18px}.photo-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.photo-heading h3{margin:0 0 12px}.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-card{border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#f6f8f6}.photo-card>[data-photo-action=view]{display:block;padding:0;width:100%;border:0;min-height:110px;background:transparent}.photo-card img{width:100%;height:130px;object-fit:cover;display:block}.photo-caption{padding:8px;font-size:10px;display:flex;flex-wrap:wrap;gap:5px;justify-content:space-between;align-items:center}.photo-caption small{display:block;width:100%;color:var(--muted)}.photo-caption button{padding:5px 8px;font-size:11px;min-height:36px}.photo-picker{display:flex;gap:8px;margin-top:12px}.photo-picker[hidden],.photo-support[hidden]{display:none}.photo-picker button{min-height:44px;font-size:13px}.photo-support{line-height:1.5}.photo-upload{display:flex;gap:12px;margin:12px 0;padding:12px;background:#edf3ef;border-radius:8px}.photo-upload>img{width:84px;height:84px;object-fit:cover;border-radius:6px}.photo-upload>div{min-width:0;flex:1}.photo-upload strong{font-size:12px}.photo-upload progress{width:100%;display:block;margin:8px 0;accent-color:var(--accent)}.photo-error{font-size:12px;color:#9c3825;overflow-wrap:anywhere}.photo-upload button{font-size:12px;min-height:40px;padding:6px 9px}.photo-viewer{max-width:100%;max-height:60vh;object-fit:contain;display:block;margin:auto}
@media(max-width:900px){.photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-card img{height:120px}.photo-caption button{min-height:44px}.photo-picker button{flex:1}.photo-upload{padding:10px;gap:8px}.photo-upload>img{width:64px;height:64px}.photo-upload .button-row{flex-wrap:wrap}.photo-upload button{min-height:44px}.photo-support{font-size:11px}}

/* Property contacts remain readable on phones and expose native keyboard controls. */
.contact-card{padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.contact-card:first-child{padding-top:0}.contact-card:last-child{border-bottom:0}.contact-card h3{margin:0 0 8px}.contact-card .button-row{flex-wrap:wrap}#invitation-draft{min-height:230px}fieldset.wide{border:1px solid var(--line);border-radius:10px;padding:14px}fieldset.wide legend{padding:0 6px;font-weight:600}
