/* OPGuru back office, PMS Light look. Tokens and shared classes are lifted from design/mock-v2.html; keep them in step with it. Light theme only: the PMS runs white. */
:root{
  color-scheme:light;
  --surface:#fff; --paper:#f7f8fa; --recessed:#f1f2f5; --field:#fff;
  --line:#e2e4e8; --line-2:#cdd0d6; --muted:#70747c; --muted-2:#52565e;
  --ink:#17171b; --ink-2:#3c3e46;
  --accent:#2563eb; --accent-deep:#1d4ed8; --accent-tint:#e8f0fe;
  --pine:#2f6b4f; --pine-tint:#e0ebe2; --amber:#c8801f; --amber-tint:#f6e8ce; --danger:#ae3a30; --danger-tint:#f7e3e1;
  --st-dirty:234 88 12; --st-progress:37 99 235; --st-clean:202 138 4; --st-ready:15 118 110; --st-cleaned:21 128 61; --st-dueout:253 233 221; --st-dueout-ink:#9a3a08; --st-occupied:55 65 108; --st-ooo:100 116 139; --st-none:203 213 225;
  --display:"Bricolage Grotesque",system-ui,sans-serif; --body:"Hanken Grotesk",system-ui,sans-serif;
  --r:14px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:15px;line-height:22px;font-weight:500;font-feature-settings:"tnum" 1;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:var(--display);letter-spacing:-.01em;margin:0}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
.t-display{font-family:var(--display);font-size:28px;line-height:34px;font-weight:800}
.t-title{font-family:var(--display);font-size:20px;line-height:26px;font-weight:700}
.t-subtitle{font-size:16px;line-height:22px;font-weight:650}
.t-strong{font-weight:700}
.t-label{font-size:12.5px;line-height:16px;font-weight:600;color:var(--muted)}
.t-caption{font-size:12px;line-height:16px;font-weight:500;color:var(--muted)}


/* ---------- app top bar (PMS AppTopBar) ---------- */
.top{height:64px;display:flex;align-items:center;gap:10px;padding:0 20px;background:rgba(255,255,255,.72);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}
.pill{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:10px;background:var(--paper);border:1px solid var(--line);max-width:260px}
.pill:hover{border-color:var(--accent)}
.pill .name{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pill svg{color:var(--muted);flex:none}
.tabs{display:flex;gap:4px;align-items:center;margin-left:4px}
.tab{display:flex;align-items:center;gap:8px;height:40px;padding:0 14px;border-radius:12px;font-size:14px;font-weight:600;color:var(--ink-2);white-space:nowrap}
.tab:hover{background:var(--paper)}
.tab[aria-current=page]{background:rgba(37,99,235,.12);color:var(--accent)}
.tab svg{width:18px;height:18px}
.top .right{margin-left:auto;display:flex;align-items:center;gap:10px}
.icobtn{width:44px;height:44px;display:grid;place-items:center;border-radius:var(--r);color:var(--ink-2)}
.icobtn:hover{background:var(--paper)}
.who{font-size:12px;color:var(--muted-2)}
.signout,.acct summary.who{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;font-size:13px;color:var(--ink);list-style:none;cursor:pointer}
.acct summary::-webkit-details-marker{display:none}.acct .initials{display:none}.acct .caret{font-size:11px;color:var(--muted-2)}
.menu.acctmenu{left:auto;right:0;width:220px}.acctname{display:flex;flex-direction:column;gap:2px;padding:8px 12px 10px;border-bottom:1px solid var(--line);margin-bottom:4px}
.acctmenu a{display:block;padding:10px 12px;border-radius:8px;color:var(--ink);font-weight:600;font-size:14px}.acctmenu a:hover{background:var(--recessed)}
.signout:hover,.acctlink:hover{color:var(--ink);border-color:var(--accent)}
.top .pmsbtn{min-height:40px;padding:0 14px;font-size:14px}
.menu{position:absolute;top:calc(100% + 6px);left:0;width:240px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:6px;box-shadow:0 10px 30px rgba(0,0,0,.12);z-index:50}
.menu a{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 10px;border-radius:9px;font-size:14px;font-weight:600;color:var(--ink-2)}
.menu a:hover{background:var(--paper)}
.menu a[aria-current=page]{background:rgba(37,99,235,.12);color:var(--accent)}
.launcher{width:400px;left:auto;right:0}
.launcher h4{margin:6px 10px 2px;font-size:12.5px;color:var(--muted);font-weight:600}
.launcher .grid2{display:grid;grid-template-columns:1fr 1fr;gap:4px}
.launcher .grid2 a{min-height:52px;align-items:flex-start;flex-direction:column;justify-content:center;gap:0;line-height:16px}
.launcher .grid2 a small{font-weight:500;color:var(--muted);font-size:12px}
.hasmenu{position:relative}
.tag{font-size:12px;font-weight:600;background:var(--line);color:var(--ink-2);border-radius:999px;padding:1px 7px}
.tab[aria-disabled=true],.menu .soon{color:var(--muted);cursor:default}
.tab[aria-disabled=true]:hover{background:transparent}
.menu form{margin:0}
.menu button,.menu .cur{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 10px;border-radius:9px;font:inherit;font-size:14px;font-weight:600;color:var(--ink-2);text-align:left}
.menu button:hover{background:var(--paper)}
.menu .cur[aria-current=true]{background:rgba(37,99,235,.12);color:var(--accent)}
.menu small{font-weight:500;color:var(--muted);font-size:12px}
.menu .soon{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;font-size:14px;font-weight:600}
.launcher .grid2 .soon{min-height:52px;align-items:flex-start;flex-direction:column;justify-content:center;gap:0;line-height:16px}
.launcher .grid2 .soon small{display:block}

/* ---------- page shell ---------- */
.shell{max-width:2400px;margin:0 auto;padding:20px 24px 40px}
.ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px;flex-wrap:wrap}
.ph p{margin:8px 0 0;color:var(--muted-2);max-width:62ch}
.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
/* The day picker in a page header: a native date input and "Today" beside it, each 44 px tall */
.daypick{display:flex;gap:8px;align-items:center}
.daypick input[type=date]{height:44px;min-height:44px;padding:0 10px;border:1.5px solid var(--line-2);border-radius:10px;font:inherit;font-size:14px;font-weight:600;background:var(--field);color:var(--ink)}
.daypick input[type=date]:hover{border-color:var(--ink-2)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:var(--r);font-size:14px;font-weight:700;background:var(--ink);color:#fff}
.btn:hover:not(:disabled){background:var(--ink-2)}
.btn.ghost{background:var(--surface);color:var(--ink);border:1.5px solid var(--muted-2)}
.btn.ghost:hover:not(:disabled){background:var(--recessed);border-color:var(--ink)}
.newstep td{vertical-align:bottom}.newstep .t-caption{display:block;margin-bottom:4px}
tr.dim td{opacity:.55}tr.dim td:last-child{opacity:1}th .t-caption{display:block;font-weight:400}
.preset.custom{border-style:dashed}.preset.custom span{white-space:normal}
.fullrule{display:flex;flex-direction:column;gap:10px}.seg{display:inline-flex;border:1.5px solid var(--muted-2);border-radius:var(--r);overflow:hidden;align-self:flex-start}
.seg button{min-height:40px;padding:0 14px;font-weight:700;background:var(--surface);color:var(--ink)}.seg button.on{background:var(--ink);color:#fff}.seg button+button{border-left:1.5px solid var(--muted-2)}
.weekdays{display:flex;gap:6px;flex-wrap:wrap}.weekdays .wd{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border:1.5px solid var(--muted-2);border-radius:var(--r);font-weight:700;cursor:pointer;background:var(--surface)}
.weekdays .wd.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.firstfull{width:100%;min-width:0;border-collapse:collapse;font-size:14px}
.firstfull th,.firstfull td{background:none;color:var(--ink);font-size:14px;text-align:left;padding:6px 12px 6px 0;border:0;border-top:1px solid var(--line);white-space:nowrap}
.firstfull thead th{border-top:0;font-size:12.5px;font-weight:600;color:var(--muted)}.firstfull tbody th{font-weight:600;width:1%}
.btn.accent{background:var(--accent)}.btn.accent:hover:not(:disabled){background:var(--accent-deep)}
.btn:disabled{opacity:.45;cursor:not-allowed}

/* ---------- filter pills (PMS FilterPills) ---------- */
.filters{display:inline-flex;gap:4px;background:var(--recessed);border:1px solid var(--line);border-radius:var(--r);padding:4px;flex-wrap:wrap;margin-bottom:20px}
.filters button{min-height:36px;padding:0 14px;border-radius:9px;font-size:14px;font-weight:600;color:var(--muted-2);display:inline-flex;align-items:center;gap:8px}
.filters button:hover{color:var(--ink)}
.filters button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.filters .n{font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted)}
.filters button[aria-pressed=true] .n{color:var(--ink)}
.dot{width:10px;height:10px;border-radius:999px;flex:none}

/* ---------- board ---------- */
.floor{margin-top:22px}
.floorhead{display:flex;align-items:center;gap:10px;border-bottom:2px solid var(--line);padding-bottom:6px;margin-bottom:14px}
.floorhead .sq{width:28px;height:28px;border-radius:9px;background:var(--ink);color:#fff;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:14px}
.floorhead .cnt{margin-left:auto}
.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(176px,1fr))}
.tile{height:138px;display:flex;flex-direction:column;text-align:left;border-radius:var(--r);border:1px solid var(--line);background:var(--surface);overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);transition:transform .12s,border-color .12s,box-shadow .12s;width:100%}
.tile:hover{transform:translateY(-2px);border-color:#3b82f6;box-shadow:0 8px 20px rgba(0,0,0,.1)}
/* The Board's tile is a box: the link (band and body) opens the room, and the desk's button sits under it, outside the link, on a row of its
   own at the right, so it covers none of the tile's text; a tile with a button grows to hold it. The tile hides what overflows, so the
   link's keyboard ring is drawn inside it. */
.tile.acts{height:auto;min-height:138px}
.tile .tilelink{display:flex;flex-direction:column;flex:1;min-width:0;color:inherit;text-decoration:none}
.tile .tilelink:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
.tile .tileact{flex:none;align-self:flex-end;min-height:44px;margin:0 8px 8px;padding:0 14px}
.band{height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;flex:none}
.band svg{width:14px;height:14px;stroke-width:2.2}
.band .lab{display:flex;align-items:center;gap:6px;white-space:nowrap}
.band .at{font-weight:600;opacity:.9;letter-spacing:0;text-transform:none;display:inline-flex;align-items:center;gap:4px;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
.band .ic-star{color:var(--amber);fill:currentColor;stroke:#fff;stroke-width:1.5}
/* A safety issue: the tile's ring, its tinted body and the tag beside the number in the brick red token, and the chart's chip; the band keeps the
   room's status (a red V/Dirty band is a status, never the safety issue); never checked again, so no check times */
.tile.hk-tile--safety{border-color:var(--danger);box-shadow:0 0 0 2px var(--danger)}
.tile.hk-tile--safety .body{background:var(--danger-tint)}
.mk-safety{--mk:#fff;--mk-tint:var(--danger);gap:4px}.mk-safety svg{stroke-width:2.6}
.rchip.p-safety{border-color:var(--danger);color:var(--danger)}
/* A DND, deadbolt or could-not-enter room due to be checked again: its check times in the warning look (amber tint, ink), on any band colour */
.band .at.late{background:var(--amber-tint);color:var(--ink);opacity:1;border-radius:999px;padding:1px 7px}
.tile .body{padding:10px 12px 10px;display:flex;flex-direction:column;flex:1;min-width:0}
.tile .num{font-family:var(--display);font-size:24px;line-height:28px;font-weight:800}
/* What is happening in the room, beside its number (BoardFilter.Mark): In progress, On hold, PMS to update, Not serviced, Do not disturb; a tint and its ink, on any band colour */
.tile .numrow{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;position:relative}
.mark{flex:none;display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:11.5px;line-height:16px;font-weight:700;white-space:nowrap;background:var(--mk-tint);color:var(--mk)}
.mk-progress{--mk:var(--accent-deep);--mk-tint:var(--accent-tint)}.mk-hold{--mk:#9a5a0c;--mk-tint:var(--amber-tint)}.mk-pms{--mk:var(--pine);--mk-tint:var(--pine-tint)}.mk-notserviced{--mk:rgb(var(--st-occupied));--mk-tint:#e3e5f1}.mk-dnd{--mk:var(--ink-2);--mk-tint:var(--line)}
.tile .loc{color:var(--muted);font-size:12.5px;line-height:16px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
/* The Board's tile line is the day's services alone, on up to two lines before they are cut; its body gives up 2 px top and bottom so the
   two lines and the foot still fit the 138 px tile */
.tile .loc.two{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;margin-top:0;overflow-wrap:anywhere}
.tilelink .body{padding-top:8px;padding-bottom:8px}
/* The room's type, a small dark tip over its number while the mouse is on the number (with a mouse only, below); the tile's own text, so a
   screen reader hears it with the room */
.ntip{position:absolute;left:0;bottom:calc(100% + 4px);width:max-content;max-width:100%;padding:4px 8px;border-radius:7px;background:var(--ink);color:#fff;font-size:12.5px;line-height:16px;font-weight:600;pointer-events:none;opacity:0;transition:opacity .12s}
.ntip::after{content:"";position:absolute;left:12px;top:100%;border:5px solid transparent;border-bottom:0;border-top-color:var(--ink)}
/* The tile's hover card (TileCard): in the Board's cell under the tile, so it never covers the tile, and never in the way of a click (the
   tiles under it stay clickable); the room panel's grey box of what is set, inside a white card with the menus' soft shadow. A tile near the
   right of the window opens it from its right edge (data-flip, the Board's module). Shown with a mouse only, below. */
.tilecell{position:relative;min-width:0}
.tilecard{display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:300px;max-width:calc(100vw - 32px);padding:12px 14px 10px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(0,0,0,.12);pointer-events:none;text-align:left}
.tilecell[data-flip] .tilecard{left:auto;right:0}
.tilecard .tchead{font-family:var(--display);font-size:16px;line-height:22px;font-weight:800;margin-bottom:8px}
.tilecard .tchead span{font-family:var(--body);font-size:13px;font-weight:600;color:var(--muted)}
.tilecard ul{list-style:none;margin:0;padding:10px 14px;border-radius:12px;background:var(--recessed);display:grid;gap:4px;font-size:14px;line-height:20px}
.tilecard li:first-child,.tilecard li b{font-weight:700}
.tilecard .tcfoot{margin:8px 2px 0;font-size:12.5px;line-height:16px;color:var(--muted)}
@keyframes tilecard{from{opacity:0}}
/* With a mouse: the type's tip at once; the card after a short pause, and on keyboard focus too, but never while the mouse is on the number
   (its tip says the type). A tap on a tablet opens the room as before, with neither. */
@media (hover:hover){
  .tile .num:hover~.ntip{opacity:1}
  .tilecell:has(.tilelink:hover):not(:has(.num:hover)) .tilecard,.tilecell:has(.tilelink:focus-visible) .tilecard{display:block;animation:tilecard .12s ease-out .35s backwards}
}
.tile .foot{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.ava{width:22px;height:22px;border-radius:999px;background:var(--accent-tint);color:var(--accent);display:grid;place-items:center;font-size:10px;font-weight:700;flex:none}
.chip{display:inline-flex;align-items:center;gap:6px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:600}
.chip.dash{border:1px dashed var(--line-2);color:var(--muted)}
.chip.warn{background:var(--amber-tint);color:var(--amber)}
.b-progress{background:rgb(var(--st-progress))}.b-clean,.b-hold{background:rgb(var(--st-clean))}.b-ready{background:rgb(var(--st-ready))}.b-cleaned{background:rgb(var(--st-cleaned))}.b-dueout{background:rgb(var(--st-dueout));color:var(--st-dueout-ink)}.b-ooo{background:rgb(var(--st-ooo))}.b-notserviced{background:rgb(var(--st-occupied))}
.b-none{background:var(--line-2);color:var(--ink-2)}
/* The master statuses in each hotel's colours (Setup › Room statuses): the band, a dot and a pill read --pal and --pal-ink from StatusPalette */
.band.st{background:var(--pal);color:var(--pal-ink)}
.dot.st{background:var(--pal);box-shadow:inset 0 0 0 1px rgba(23,23,27,.2)}
/* Setup › Room statuses: each status's band as a tile 176 px wide shows it */
.rstatus .rsband{width:176px;border-radius:10px}.rstatus input{width:100%;max-width:180px}.rstatus td{vertical-align:middle}
.d-dirty{background:rgb(var(--st-dirty))}.d-progress{background:rgb(var(--st-progress))}.d-clean,.d-hold{background:rgb(var(--st-clean))}.d-ready{background:rgb(var(--st-ready))}.d-cleaned{background:rgb(var(--st-cleaned))}.d-dueout{background:rgb(var(--st-dueout));border:1px solid var(--st-dueout-ink)}.d-occupied{background:rgb(var(--st-occupied))}
.pmsbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:0 0 14px}.d-ooo{background:rgb(var(--st-ooo))}.d-none{background:rgb(var(--st-none))}
/* The row of status tiles (StatusRow): each a small room tile, the band in the status's colour with the hotel's label and the number of rooms big under it */
.srow{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;margin:0 0 12px}
.sgrp{display:flex;flex-direction:column;gap:6px}
.sgrp .cap{font-size:11px;line-height:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-left:2px}
.sgrp.lone{justify-content:flex-end}
.sgrp .tiles{display:flex;gap:10px}
.ssep{width:1px;background:var(--line-2);margin:20px 4px 0}
.stile{flex:none;width:auto;min-width:104px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:14px;background:var(--surface);overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.08);cursor:pointer;text-align:left;font:inherit;color:var(--ink);display:flex;flex-direction:column}
.stile .band{height:30px;padding:0 10px;font-weight:800;border-radius:0}
.stile .band:not(.st){background:var(--surface);color:var(--ink-2);border-bottom:1px solid var(--line)}
.stile b{font-family:var(--display);font-size:28px;line-height:32px;font-weight:800;padding:8px 12px 10px}
.stile.zero b{color:var(--muted)}
.stile[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:1px}
.stile:hover{border-color:var(--line-2)}
.spills{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 14px}
.spill{min-height:44px;gap:8px;padding:8px 14px;border:0;font:inherit;font-size:14px;line-height:20px;font-weight:700;cursor:pointer}
.spill b{font-size:16px}
.spill[aria-pressed=true]{outline:3px solid var(--accent);outline-offset:1px}
/* Keyboard focus on a tile or pill is its own ring, dark and further out, so it never reads as the pressed blue outline; a pressed tile in focus
   keeps its blue as a ring inside it */
.stile:focus-visible,.spill:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
.stile[aria-pressed=true]:focus-visible,.spill[aria-pressed=true]:focus-visible{box-shadow:0 0 0 3px var(--accent)}

/* ---------- setup: rail + section page (PMS LeftRail / SectionPage) ---------- */
.setup{display:flex;min-height:calc(100vh - 64px)}
.rail{width:264px;flex:none;background:var(--recessed);border-right:1px solid var(--line);padding:12px;display:flex;flex-direction:column;gap:4px}
.rail .back{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;background:var(--pine);color:#fff;font-size:14px;font-weight:600;margin-bottom:8px}
.rail .home{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 10px;border-radius:10px;font-size:14px;font-weight:600;color:var(--ink-2)}
.rail .home[aria-current=page]{background:var(--accent-tint);color:var(--accent-deep)}
.group{margin-top:12px}
.group>button{width:100%;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 10px;border-radius:10px;background:var(--accent-tint);border:1px solid rgba(37,99,235,.25);color:var(--accent-deep);font-size:12.5px;font-weight:700;text-align:left}
.group>button .n{margin-left:auto;opacity:.7;font-variant-numeric:tabular-nums}
.group ul{list-style:none;margin:4px 0 0 12px;padding:0 0 0 8px;border-left:2px solid rgba(205,208,214,.8)}
.group li a{display:flex;align-items:center;min-height:40px;padding:0 10px 0 12px;border-radius:10px;font-size:14px;color:var(--ink-2)}
.group li a:hover{background:rgba(37,99,235,.05)}
.group li a[aria-current=page]{background:var(--accent);color:#fff;font-weight:600}
.section{flex:1;min-width:0;padding:28px 24px 48px;max-width:1760px}
.section.narrow{max-width:1120px;padding:28px 40px 48px}
/* The fieldset a Setup page's body always sits in (SectionPage: it disables the page for a role at View): no box of its own, so the page is
   laid out as without it (an error line's margin meets the header's as before); the zeros are for a browser that draws it anyway. */
.section>fieldset{display:contents;margin:0;padding:0;border:0;min-width:0}
.backlink{display:inline-flex;align-items:center;gap:6px;color:var(--muted-2);font-weight:700;padding:6px 10px;margin-left:-10px;border-radius:10px;border:1px solid transparent;margin-bottom:14px;min-height:40px}
.backlink:hover{color:var(--ink);border-color:var(--line);background:var(--surface)}

/* ---------- data table (Syncfusion grid re-skin look) ---------- */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden}
.tblwrap{overflow-x:auto}
table{width:100%;border-collapse:collapse;min-width:640px}
th{background:var(--recessed);color:var(--muted-2);font-size:12.5px;font-weight:600;text-align:left;padding:12px 14px;border-bottom:1px solid var(--line)}
td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
tr:last-child td{border-bottom:0}
tfoot td{border-top:1px solid var(--line)}
tr:hover td{background:var(--accent-tint)}
td.num,th.num{text-align:right;font-variant-numeric:tabular-nums}
.active{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--pine)}
.active::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--pine)}
.inactive{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:var(--muted-2)}
.inactive::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--muted)}
.rowact{display:flex;gap:4px}
.toolbar{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.search{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--muted);font-size:14px;min-width:220px}
.search:hover{border-color:var(--accent)}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font:inherit}
/* The search box over a long pick list (PickSearch, PickSelect): "Nothing matches" under it, then the select or the tiles. */
.picksel{display:flex;flex-direction:column;gap:6px}
.picksearch{display:flex;flex-direction:column;gap:4px;margin-bottom:6px}
.picksel .picksearch,.toolbar .picksearch{margin-bottom:0}
.toolbar .picksearch{flex:0 1 300px}
.picksearch .search{min-width:0;min-height:44px}
.f .picksearch .search input,.picksearch .search input{min-height:0;padding:0;border:0;border-radius:0;background:transparent}
.rowact button{display:inline-flex;align-items:center;min-height:36px;padding:0 10px;border-radius:9px;font-size:14px;font-weight:600;color:var(--accent);background:transparent}
.rowact button:hover:not(:disabled){background:rgba(37,99,235,.1)}
.rowact button.danger{color:var(--danger)}
.rowact button:disabled{color:var(--muted);cursor:not-allowed}
.card td input,.card td select{min-height:44px;width:100%;border:1.5px solid var(--line-2);border-radius:10px;padding:0 10px;font:inherit;background:var(--field);color:var(--ink)}
tr.retired{opacity:.6}
.card td input[type=checkbox]{width:22px;height:22px;min-height:0;padding:0;accent-color:var(--accent)}
.card td .rowact input{width:104px}
.chkcell{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px}
.card td input::placeholder{color:var(--muted)}
th.credit,td.credit{width:112px;min-width:96px}
.toolbar input.field{flex:1;min-width:200px;max-width:420px;min-height:44px;border:1.5px solid var(--line-2);border-radius:10px;padding:0 10px;font:inherit;background:var(--field);color:var(--ink)}
.confirm{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-top:1px solid var(--line);background:var(--amber-tint);font-weight:600}

/* ---------- setup home (PMS SetupHome) ---------- */
.hero{padding:36px 24px 28px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#edf2fb,#fff)}
.hero p{color:var(--muted-2);margin:8px 0 0;max-width:62ch}
.hub{padding:32px 24px 64px;max-width:1760px}
.hub h2{margin:28px 0 12px}
.hub h2:first-child{margin-top:0}
.cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.scard{display:flex;gap:14px;align-items:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:18px;min-height:96px}
.scard:hover{border-color:#3b82f6;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.scard .ic{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--accent-tint);color:var(--accent);flex:none}
.scard .ic svg{width:21px;height:21px}
.scard .d{color:var(--muted);font-size:13.5px;line-height:18px;margin-top:3px}
.scard .att{display:inline-flex;align-items:center;gap:6px;margin-top:8px;color:var(--amber);font-size:12.5px;font-weight:600}
.scard .att::before{content:"";width:6px;height:6px;border-radius:999px;background:var(--amber)}

/* ---------- form (property / housekeeping rules) ---------- */
.form{display:grid;gap:18px;padding:22px 24px}
.form .row{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.f label{display:block;margin-bottom:6px}
.toggle{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-top:1px solid var(--line)}
.sw{width:44px;height:26px;border-radius:999px;background:var(--line-2);position:relative;flex:none;margin-top:2px}
.sw.on{background:var(--accent)}
.sw::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2)}
.sw.on::after{left:21px}
.toggle .d{color:var(--muted);font-size:13.5px;margin-top:2px}
/* the kinds of room the inspection gate holds: under the gate's switch, lined up with its words, one 44 px box a row */
.kinds{border:0;margin:-12px 0 0 58px;padding:0 0 4px;min-width:0;display:grid;justify-items:start}
.kinds legend{padding:0}
.kinds .d{color:var(--muted);font-size:13.5px;margin:2px 0 2px}
.formfoot{display:flex;justify-content:flex-end;gap:8px;padding:14px 24px;border-top:1px solid var(--line);background:var(--recessed)}

/* ---------- service program (presets and the six rules) ---------- */
.card>.hd{padding:16px 22px 0}
.presets{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;padding:16px 22px}
.preset{display:block;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;border:1px solid var(--line-2);border-radius:12px;padding:12px 14px;min-height:96px;background:var(--surface)}
.preset:hover{border-color:var(--accent)}
.preset.on{border-color:var(--accent);background:var(--accent-tint)}
.preset b{display:block;margin-bottom:4px}
.preset span{font-size:12.5px;color:var(--muted-2)}
.rules{padding:6px 22px 18px;display:grid;gap:0}
.rule{display:grid;grid-template-columns:1fr minmax(180px,280px);gap:16px;align-items:center;padding:14px 0;border-top:1px solid var(--line)}
.rule .d{font-size:13px;color:var(--muted)}
.rule select{font:inherit;font-weight:600;width:100%;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.rule select:focus-visible{border-color:var(--accent)}
@media (max-width:640px){.rule{grid-template-columns:1fr}}
td.credit input.ov{font-weight:700}
.svc-name{font-weight:700}
td .chip.plain{margin-left:4px}

/* ---------- day pages: tap tiles, summary chips, assignment columns, timeline ---------- */
button.tile{cursor:pointer;font:inherit;color:inherit}
.ibtn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 10px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.ibtn:hover{border-color:var(--line-2);background:var(--paper)}
.tile .nm{font-family:var(--display);font-size:18px;line-height:24px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chip.plain{background:var(--recessed);color:var(--ink-2)}
.sub.hint{margin-top:12px}
.tline{list-style:none;margin:0;padding:4px 0}
.tline li{display:grid;grid-template-columns:72px 1fr;gap:14px;padding:12px 18px;border-bottom:1px solid var(--line)}
.tline li:last-child{border-bottom:0}
.tline.vlist li{grid-template-columns:112px 1fr}
/* The room page in sections (the room page sections spec, layout B): the status pill under the room's number, the Room panel's grey "What
   is set" box, a tile for each section in three groups (the panel's .ptile, three or four to a row, each a link), then the sections: each
   group one tinted band (.rpgrp: Today blue, Maintenance amber, Records grey, the same tint as a dot before its tiles' heading) with its
   name on it, and each section a white card on the tint with a header row (picture in a small tinted square, name, small line, its one
   button, Top). A job opened in a section keeps the panel's width. */
.rptop{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.rpsum{margin:0 0 8px}
.rpgroup{margin:16px 0 8px}
.rptiles .rpgroup{display:flex;align-items:center;gap:8px}
.rptiles .rpgroup::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--grp-dot)}
.rptiles .ptiles{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.rpgrp{--grp-dot:var(--accent-deep);background:var(--grp-tint);border-radius:18px;padding:16px 16px 4px;margin:22px 0 0}
.rpgrp.today,.rpgroup.today{--grp-tint:#e9f0fd;--grp-dot:var(--accent-deep)}
.rpgrp.maintenance,.rpgroup.maintenance{--grp-tint:#f8ecd6;--grp-dot:var(--amber)}
.rpgrp.records,.rpgroup.records{--grp-tint:#e9ebef;--grp-dot:var(--muted-2)}
h2.rpgroup{font-size:20px;line-height:26px;font-weight:800;margin:0 0 12px;color:var(--ink)}
.rsec{overflow:visible;margin-bottom:12px;box-shadow:0 1px 3px rgba(0,0,0,.08)} /* Room status's Can't clean dropdown hangs below the card */
.rsec:target>.rsech{box-shadow:inset 0 0 0 2px var(--accent)} /* the section a tile or the Room panel landed on */
/* A tile's link, the Room panel's /rooms/214#notes and Room status's way back to the tiles (scrollIntoView) land a section's header, or the
   tiles, just under the sticky top bar (64 px), not beneath it. On a phone the bar wraps to two rows (the phone width rules below give
   those their room). The support view's strip needs no room of its own: it is not sticky, so it has scrolled away by the time a section is reached. */
.rsec,.rptiles{scroll-margin-top:76px}
.rsech{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 14px;border-bottom:1px solid var(--line);min-height:60px}
.rsech .rsecicon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:10px;background:var(--grp-tint,var(--accent-tint));color:var(--grp-dot,var(--accent-deep))}
.rsech h3{margin:0;font-size:18px;line-height:24px;font-weight:700}
.rsech .rsecsmall{margin-left:auto;text-align:right}
.rsech .rsectop{display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:0 6px;font-size:13px;font-weight:700;color:var(--muted-2);border-radius:8px}
.rsech .rsectop:hover,.rsech .rsectop:focus-visible{color:var(--ink);background:var(--recessed)}
.rsecbody{display:grid;gap:12px;padding:12px 14px 14px}
.rsecbody>p{margin:0}
.rsecbody>.tline{margin:0 -14px -14px}
.rsecbody>.wohistory{margin:0}
.rpjobs{display:grid;gap:4px}.rpjobs .wohistory{margin:0} /* Work orders: the ones the recurring jobs made, under their small heading */
.xtstay{display:grid;gap:4px}.xtstay h4{margin:0}.xtstay .wohistory{margin:0}.xtstay .wohistory li{min-height:0} /* Extras: the record, a block per stay */
.rsec .ptiles{max-width:560px}
.rsec .jobhost,.rsec .job{max-width:560px}
.rsec .rsmoves .job-go{justify-self:start;min-width:220px}
.rspast{display:flex;flex-wrap:wrap;align-items:center;gap:8px}

/* ---------- assignments (mock v3 #s-assign): stats, the fixed-height filter panel, the Unassigned pool in a column of its own and one card per attendant beside it, chips
   with a state strip, and the action bar stuck to the bottom of the screen. The bar is the last thing in the page's flow (sticky, not fixed), so it
   takes its own room under the last row of chips however many rows it wraps to. Sized to fit 60 rooms and 4 attendants in 1920x1080 without a
   page scroll: 56 px stat tiles and card headers, 24 px block headings, 44 px chip rows 6 px apart, and the filter panel at the mock's density
   (36 px rows; each box's whole label, at least 44 px wide, is its target). ---------- */
/* The page is at least one screen tall, so a short day still has its bar on the bottom edge. */
.shell:has(.actbar){padding-bottom:0;display:flex;flex-direction:column;min-height:calc(100vh - 64px)}
.shell:has(.actbar) .assign{flex:1 0 auto;display:flex;flex-direction:column}
.assign>.lanes{margin-bottom:12px}
.assign .stats{margin-bottom:12px}
.assign .stat{min-height:56px;padding:6px 14px}.assign .stat b{line-height:24px}.assign .stat span{display:block;line-height:16px}
.stat.warn{border-color:var(--amber);background:var(--amber-tint)}
.assign .stale:empty{margin:0}
.fpanel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:2px 12px 6px;margin-bottom:12px}
.fcol{position:relative;min-width:0}
.fcol h4{margin:0 6px;min-height:32px;font-size:12.5px;color:var(--muted);font-weight:600;display:flex;align-items:center;justify-content:space-between}
.fcol h4 .all{min-height:44px;min-width:44px;margin:-6px -8px;padding:0 8px;color:var(--accent);font-size:12.5px;font-weight:600}
.fcol .opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--rows,4),36px);gap:2px 8px;height:calc(var(--rows,4) * 36px + (var(--rows,4) - 1) * 2px);overflow:hidden}
.fcol label{display:flex;align-items:center;gap:8px;min-height:36px;min-width:44px;padding:0 8px;border-radius:9px;font-size:14px;font-weight:600;color:var(--ink-2);cursor:pointer}
.fcol label:hover{background:var(--paper)}.fcol label.on{background:var(--accent-tint);color:var(--accent-deep)}
.fcol input{width:18px;height:18px;margin:0;flex:none;accent-color:var(--accent)}
.fcol .lb{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fcol .n{margin-left:auto;font-variant-numeric:tabular-nums;color:var(--muted)}
.fcol .more{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;font-size:13px;font-weight:600;color:var(--accent);border-top:1px solid var(--line);margin-top:2px}
.fcol details.more{display:block;padding:0}
.fcol details.more>summary{display:flex;align-items:center;gap:6px;min-height:36px;padding:0 8px;list-style:none;cursor:pointer}
.fcol details.more>summary::-webkit-details-marker{display:none}
.fcol .more .dd{margin-left:auto;background:var(--surface);border:1px solid var(--line-2);border-radius:8px;padding:2px 10px;color:var(--ink-2)}
.fcol .ddlist{position:absolute;left:0;right:0;top:100%;z-index:30;display:grid;gap:2px;max-height:320px;overflow:auto;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(0,0,0,.12)}
/* The pool keeps the left column to itself (about a card's width) and the people's cards fill rows beside it, so a second row starts under the
   first person. Scrolling down the cards, the pool follows under the top bar, so a room goes back to it from any row; a pool taller than the
   screen scrolls inside itself and ends above the action bar (--barh, the bar's height, kept by AssignColumn.razor.js). */
.lanes{display:flex;gap:12px;align-items:flex-start}
.lanes>.acol.pool{flex:0 0 clamp(280px,24%,400px);position:sticky;top:76px;max-height:calc(100vh - 88px - var(--barh,72px))}
.lanes>.acol.pool>.block{flex:1 1 auto;min-height:0;overflow-y:auto}
.lanes>.cols{flex:1 1 0;min-width:0}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;align-items:start}
.acol{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;min-height:240px;min-width:0;display:flex;flex-direction:column}
.acol.pool{border:2px dashed var(--line-2);background:var(--recessed)}
.ahead{min-height:56px;padding:8px 14px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px}
.ahead .ava{width:34px;height:34px;font-size:12px}
.aname{min-width:0}
.ahead .nm{font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ahead .sub{font-size:12px;line-height:16px;color:var(--muted);margin:0}
.ahead .cr{margin-left:auto;text-align:right;white-space:nowrap}.ahead .cr b{display:block;font-family:var(--display);font-size:20px;line-height:22px;font-variant-numeric:tabular-nums}
.cbar{height:6px;background:var(--recessed)}.cbar i{display:block;height:100%;background:var(--accent);border-radius:0 3px 3px 0}.cbar i.over{background:var(--amber)}
.block{padding:4px 10px 8px}.block h5{margin:0 2px;min-height:24px;font-size:12.5px;color:var(--muted);font-weight:600;display:flex;align-items:center;justify-content:space-between}
/* Select all on a group's heading (a floor of the pool, a block of a person's card): small words with a 44 px target reaching over the heading's edges. */
.block h5>span:first-child{margin-right:auto}.block .chips+h5{margin-top:4px}
.block h5 .all{min-height:44px;min-width:44px;margin:-10px -8px -10px 6px;padding:0 8px;color:var(--accent);font-size:12.5px;font-weight:600}
.chips{display:flex;flex-wrap:wrap;gap:6px;min-height:52px;border-radius:10px;padding:4px}
.block.drop .chips{outline:2px dashed var(--accent);background:var(--accent-tint)}
.chips .empty{align-self:center;padding:0 4px}
.rchip{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;padding:0 12px 0 10px;border-radius:10px;background:var(--surface);border:1px solid var(--line-2);font-family:var(--display);font-weight:800;font-size:16px;color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.05);cursor:pointer;-webkit-user-select:none;user-select:none}
.rchip::before{content:"";flex:none;width:5px;height:60%;border-radius:3px}
.rchip.st::before{background:var(--pal)}
.rchip small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--body);font-weight:600;font-size:11px;color:var(--muted)}.rchip .pin{color:var(--accent)}.rchip .star{color:var(--amber);fill:currentColor}.rchip svg{width:14px;height:14px;stroke-width:2.2;flex:none}
.rchip .ndot{width:6px;height:6px;border-radius:999px;background:var(--accent);flex:none}
.rchip:hover{border-color:#3b82f6}
.rchip.sel{outline:2px solid var(--accent)}
.rchip.dragging{opacity:.4}
/* The box drawn with the mouse over the rooms (AssignColumn.razor.js): the rooms it touches marked as it goes; and the badge a selection's
   drag carries in place of the one chip ("18 rooms"), drawn off screen for the browser's picture. */
.assign.boxing,.assign.boxing *{cursor:crosshair;-webkit-user-select:none;user-select:none}
.boxsel{position:fixed;z-index:60;pointer-events:none;border:1px solid var(--accent);background:rgba(37,99,235,.08);border-radius:3px}
.rchip.boxed{outline:2px dashed var(--accent);outline-offset:1px;background:var(--accent-tint)}
.dragbadge{position:fixed;top:-200px;left:0;padding:10px 16px;border-radius:999px;background:var(--accent);color:#fff;font:700 15px/1 var(--body);white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.acol.pool .rchip{min-width:120px;justify-content:flex-start}
.btn.danger{background:var(--surface);color:var(--danger);border:1px solid var(--line-2)}
.btn.danger:hover:not(:disabled){background:var(--surface);border-color:var(--danger)}
.actbar{position:sticky;bottom:0;z-index:50;margin:auto -24px 0;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-top:1px solid var(--line);padding:12px 24px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.actbar .grow{flex:1 1 320px;min-width:0;color:var(--muted-2);font-size:14px}.actbar .grow b{color:var(--ink)}
.actbar .moves,.actbar .acts{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
.actbar .confirm{border:0;border-radius:10px;padding:0 12px;min-height:44px;color:var(--ink)}
/* Send home's "Her rooms go to": Unassigned, or one person on duty. */
.actbar .confirm .sendto{display:inline-flex;align-items:center;gap:8px;font-weight:600}
.actbar .confirm .sendto select{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink);max-width:100%}
.actbar .confirm .sendto select:focus-visible{border-color:var(--accent)}
.actbar .hint{display:inline-flex;align-items:center;min-height:44px}
.actbar .selmode[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent-deep)}
/* The toast rises above the bar instead of covering Publish. */
.assign ~ .toast{bottom:auto;top:80px}
/* Tablet: one column of boxes per group and narrower cards at 1280; the panel stacks and cards go two across at 1024; one card per row at 900. */
@media (max-width:1280px){.cols{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.fcol .opts{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:36px;height:auto}}
@media (max-width:1024px){.fpanel{grid-template-columns:minmax(0,1fr)}.fcol .opts{grid-template-columns:repeat(2,minmax(0,1fr))}.cols{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ---------- chart wizard: step rail with Back and the blue Next beside it, published note; the Chart tab's unpublished dot ---------- */
.steprow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}
.steprow .steps{flex:1;margin:0}
.steps{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.steps a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 16px 0 8px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-size:14px;font-weight:650;color:var(--ink-2)}
.steps a:hover{border-color:var(--line-2)}
.steps .n{display:grid;place-items:center;width:28px;height:28px;border-radius:999px;background:var(--recessed);font-size:13px;font-weight:700}
.steps a[aria-current=step]{border-color:var(--accent);background:var(--accent-tint);color:var(--accent)}
.steps a[aria-current=step] .n{background:var(--accent);color:#fff}
.steps .step.done .n{background:var(--pine-tint);color:var(--pine)}
.steps .step small{font-weight:600}
.note{display:flex;align-items:center;gap:4px 12px;flex-wrap:wrap;padding:6px 16px;margin:0 0 16px;border-radius:var(--r);background:var(--pine-tint);color:var(--pine);font-weight:650}
.note a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline}
.note.info{background:var(--accent-tint);border:1px solid #c7d7fb;color:var(--ink-2)}
.note.warn{background:var(--amber-tint);border:1px solid var(--amber);color:var(--ink);padding:10px 16px}
.importbar{justify-content:space-between;margin-bottom:8px}
.importact{margin:0 0 16px}
.importnext{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap;margin:0 0 16px}
.importnext a:not(.btn){display:inline-flex;align-items:center;min-height:44px;font-weight:650}
.importcard{padding:16px 16px 0}
.card>.hd + .importcard{padding-bottom:16px}
.filebtn{cursor:pointer;background:var(--surface)}
.filebtn:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.steplead{margin:0 0 16px}
/* Assignments step: the eyebrow and title on one row, the step rail beside them. */
.charthead.compact{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;margin-bottom:12px}
.charthead.compact .ph{margin:0;flex-wrap:nowrap}
.charthead.compact .ph>div{display:flex;align-items:baseline;gap:4px 12px;flex-wrap:wrap}
.charthead.compact .ph .actions:empty{display:none}
.charthead.compact .steprow{flex:1 1 560px;margin:0}

/* ---------- chart: stats and service chips ---------- */
.stats{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.stat{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 14px;min-width:150px}
.stat b{font-family:var(--display);font-size:22px;line-height:26px;display:block}
.stat span{color:var(--muted);font-size:12.5px}
.svcs{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.svc{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 8px 0 10px;border-radius:999px;background:var(--accent-tint);color:var(--accent-deep);font-size:12.5px;font-weight:600;border:0;font-family:inherit}
.svc.sys{background:var(--recessed);color:var(--ink-2)}
.svc .x{width:44px;height:44px;margin:-6px -10px -6px -8px;display:grid;place-items:center;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.svc .x span{width:20px;height:20px;border-radius:999px;display:grid;place-items:center;background:rgba(0,0,0,.08)}
.svc.add{min-height:44px;background:transparent;border:1px dashed var(--line-2);color:var(--muted-2);cursor:pointer}
/* A room's day set by hand (RoomDayControls): on the room page's Today card and the Board's room panel */
.roomday{display:grid;gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}
.roomday .svcs>.t-label{min-width:110px;margin-right:4px}
.roomday .seg button{min-height:44px}
.roomday select.svc.add{min-height:44px;padding:0 10px;font:inherit;font-size:12.5px;font-weight:600}
.roomday .total{font-size:12.5px;color:var(--ink-2)}
/* "Needs you" (NeedsYou) at the top of today's Board, above the count tiles: a line per thing waiting, each a link or a button; one quiet line when none */
.needs{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.needline{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--amber);background:var(--amber-tint);color:var(--ink);font-size:14px;font-weight:650;text-align:left}
.needline:hover{border-color:var(--accent);color:var(--accent-deep)}
/* A PIN lock line (PinLockLine) is no link: it keeps its colours on hover, and its buttons are 44 px tall on every screen; with Reset PIN open
   (about 400 px of buttons) the line and its buttons wrap rather than run off a phone */
.needlock{flex-wrap:wrap;row-gap:4px}
.needlock:hover{border-color:var(--amber);color:var(--ink)}
.needlock .rowact{flex-wrap:wrap}
.needlock .rowact button{min-height:44px}
.needs.none{align-items:center;min-height:44px;color:var(--muted);font-size:13.5px;font-weight:600}
.tab .dot{width:8px;height:8px}
.tab .count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;line-height:20px;font-weight:700}
.vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ---------- the same habit on every room screen: count tiles that filter, one count line, the rooms with nothing to do folded at the bottom ---------- */
button.stat{min-height:44px;text-align:left;cursor:pointer}
button.stat:hover{border-color:var(--line-2)}
.stat[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint);box-shadow:inset 0 0 0 1px var(--accent)}
.stat[aria-pressed=true] span{color:var(--accent-deep)}
.foldgroup{margin-top:28px}
.fold{width:100%;min-height:44px;display:flex;align-items:center;gap:12px;padding:6px 16px;border-radius:var(--r);background:var(--recessed);border:1px solid var(--line);color:var(--muted-2);text-align:left}
.fold:hover{border-color:var(--line-2);color:var(--ink)}
.fold .ft{display:flex;flex-direction:column;flex:1;min-width:0}
.fold .fl{font-weight:650}
.fold .chev{flex:none;transition:transform .12s}
.fold[aria-expanded=true] .chev{transform:rotate(180deg)}
.folded .tile{opacity:.85}
.folded .tile:focus-within{opacity:1}
/* Assignments: the filter boxes fold behind one 44 px "Filters" row; the unassigned tile rings the pool. Add someone, last in the row, looks the same. */
.fpanel-wrap,.folds>.add{margin-bottom:12px}
.fpanel-wrap>summary,.folds>.add>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface);font-weight:650;cursor:pointer;list-style:none}
.fpanel-wrap>summary::-webkit-details-marker,.folds>.add>summary::-webkit-details-marker{display:none}
.fpanel-wrap>summary::after,.folds>.add>summary::after{content:"";width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.fpanel-wrap[open]>summary{margin-bottom:8px}
.fpanel-wrap[open]>summary::after,.folds>.add[open]>summary::after{transform:translateY(2px) rotate(225deg)}
/* The Chart's three folds and Add someone sit side by side; an open fold takes the whole row, so its panel is as wide as the page and no wider
   (min-width:0: on a phone a wide table scrolls inside its fold, not the page). Add someone's list floats over the cards instead. */
.folds{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 8px;min-width:0}
.folds>.fpanel-wrap{min-width:0}
.folds>.fpanel-wrap[open]{flex-basis:100%}
/* Who takes each floor: a floor per row (its name, then its rooms, checkouts and credits in small type), a person per column, each tick's whole
   cell a 44 px target; the last row is each person's share, and Give out by floor sits under the table, which scrolls sideways when narrow. */
.ftable{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:6px 12px 12px}
.ftable table{width:auto;min-width:0}
.ftable th,.ftable td{padding:0 4px;border:0;background:none;vertical-align:middle}
.ftable tbody tr+tr>*{border-top:1px solid var(--line)}
.ftable thead th{min-width:60px;padding:6px 4px;text-align:center;font-size:12.5px;font-weight:650;color:var(--muted-2);white-space:nowrap}
.ftable tbody th{padding:4px 16px 4px 4px;text-align:left;font-size:14px;color:var(--ink);white-space:nowrap}
.ftable tbody th small{display:block;font-size:12px;font-weight:600;color:var(--muted)}
.ftable label.tick{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border-radius:9px;cursor:pointer}
.ftable label.tick:hover{background:var(--paper)}.ftable label.tick.on{background:var(--accent-tint)}
.ftable input{width:18px;height:18px;margin:0;accent-color:var(--accent)}
.ftable .stays{padding-left:12px;font-size:13px;color:var(--muted);white-space:nowrap}
.ftable tfoot td{border-top:1px solid var(--line);padding:8px 4px 4px;text-align:center;font-size:12.5px;font-weight:600;color:var(--muted-2);white-space:nowrap}
.ftable tr:hover td{background:none}
.ftable>.btn{margin-top:8px}
/* Give a range of rooms: From room, to, Give to and the button on one row (wrapping when narrow), and under it the line saying what goes and,
   in small type, what stays. */
.rgpanel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:12px}
.rgform{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px}
.rgform label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;font-weight:600;color:var(--muted)}
.rgform input,.rgform select{font:inherit;font-size:15px;color:var(--ink);min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field)}
.rgform input{width:7.5em;font-family:var(--display);font-weight:700}
.rgform select{min-width:12em;max-width:100%}
.rgform input:focus-visible,.rgform select:focus-visible{border-color:var(--accent)}
.rgline{margin:10px 0 0;font-size:14px}
.rgline small{display:block;margin-top:2px;color:var(--muted);font-size:12.5px}
.acol.pool.focus{border:2px solid var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}

/* ---------- tablet width: the top bar fits from 1100 px down to the phone layout (the property pill gives way first, tabs pack tighter) ---------- */
@media (max-width:1100px){.top .pill,.top>.hasmenu{min-width:0;flex-shrink:1}.tabs{min-width:0}.tab{padding:0 10px}}
/* Below 1100 px the tabs have a row of their own under the bar's first row, as on a phone (the owner, 2026-11-11); nothing else of the phone's
   bar comes with them. The first row stands where it did, and what sits under the bar starts under its height, --toph: 10 px, the 44 px logo,
   10 px, the 40 px tabs, 10 px and the 1 px border (a mouse user's narrow window may add the tab row's scroll bar). */
@media (min-width:720.02px) and (max-width:1099.98px){
  :root{--toph:115px}
  .top{height:auto;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}
  .tabs{order:3;width:100%;overflow-x:auto}
  .setup,.shell:has(.actbar){min-height:calc(100vh - var(--toph))}
  .rsec,.rptiles{scroll-margin-top:calc(var(--toph) + 12px)}
  .lanes>.acol.pool{top:calc(var(--toph) + 12px);max-height:calc(100vh - var(--toph) - 24px - var(--barh,72px))}
}
/* On a touch screen, at any width, these controls that a mouse has at 36 to 40 px are 44 px (the owner, 2026-11-11); with a mouse they stay
   as they are. Below 1100 px the bar is then 4 px taller (its 44 px tabs). */
@media (pointer:coarse){.tab,.pill,.signout,.acct summary.who,.top .pmsbtn,.menu a,.seg button,.filters button,.rowact button{min-height:44px}}
@media (pointer:coarse) and (min-width:720.02px) and (max-width:1099.98px){:root{--toph:119px}}

/* ---------- phone width ---------- */
@media (max-width:900px){.rail{display:none}.section,.section.narrow{padding:20px 16px 40px}.cols{grid-template-columns:minmax(0,1fr)}
  .lanes{flex-direction:column;align-items:stretch}.lanes>.acol.pool{flex:none;position:static;max-height:none}.lanes>.acol.pool>.block{overflow:visible}
  .tasks{grid-template-columns:minmax(0,1fr)}.tasks.one .tasks-rail{display:none}.tasks:not(.one) .tasks-pane{display:none}.tasks.empty .tasks-pane{display:block}.tasks-back{display:flex}}
@media (max-width:720px){
  .top{height:auto;flex-wrap:wrap;padding:8px 16px;gap:8px}
  .tabs{order:3;width:100%;overflow-x:auto}
  .tabs .hasmenu{position:static}
  .tabs .menu{top:calc(100% + 6px);left:16px;right:16px;width:auto}
  .top .right .hasmenu{position:static}
  .launcher{left:16px;right:16px;width:auto}
  .top>.hasmenu{position:static}
  .top .hasmenu .menu{left:16px;right:16px;width:auto}
  .top .right{margin-left:auto}
  .top .pmsbtn{min-height:44px}
  .acct .name{display:none}.acct .initials{display:inline}
  .top .right .menu.acctmenu{left:auto;right:16px;width:220px}
  .rsec,.rptiles{scroll-margin-top:128px} /* the bar's two rows of 44 px, its padding and gap: about 113 px */
  .rpgrp{padding:10px 10px 0;border-radius:14px}
  .shell{padding:16px 16px 40px}
  .actbar{margin-left:-16px;margin-right:-16px;padding:10px 16px}
  .grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
  .hero,.hub{padding-left:16px;padding-right:16px}
  .sgrp .tiles{flex-wrap:wrap}
  .tab,.pill,.menu a,.menu button,.menu .cur,.filters button,.signout,.acctlink,.rowact button,.rail .home,.group>button,.group li a,.backlink,.search,.icobtn{min-height:44px}
}

/* ---------- keyboard focus ---------- */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:2px}
h1:focus{outline:none}

/* ---------- details menus (More, property picker): a native <details> stands in for the mock's script-driven popover ---------- */
details.hasmenu>summary{list-style:none;cursor:pointer}
details.hasmenu>summary::-webkit-details-marker{display:none}
details.hasmenu>summary.tab{display:flex}
details.hasmenu>summary.pill{display:flex}
.menu{display:none}
details[open]>.menu{display:block}

/* ---------- form fields on real inputs (the mock draws .in as a div) ---------- */
.f input:not([type=checkbox]),.f select,.f textarea{font:inherit;width:100%;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.f textarea{padding:10px 12px}
.f input:focus-visible,.f select:focus-visible,.f textarea:focus-visible{border-color:var(--accent)}
.f input:disabled,.f select:disabled{background:var(--recessed);border-color:var(--line);color:var(--ink-2);-webkit-text-fill-color:var(--ink-2);opacity:1;cursor:not-allowed} /* shown, not changed here (General's INNGuru settings) */

/* ---------- carried over from the old sheet ---------- */
.sub{color:var(--muted-2);margin:4px 0 0}
.error{color:var(--danger);font-weight:700;margin:4px 0}
.ok{color:var(--pine);font-weight:700;margin:4px 0}
.validation-message{color:var(--danger);font-size:13px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:12px 18px;border-radius:var(--r);font-weight:700;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:90}
.blazor-error-boundary{background:var(--danger);color:#fff;padding:1rem}
.blazor-error-boundary::after{content:"Something went wrong."}
#blazor-error-ui{display:none;position:fixed;left:0;bottom:0;width:100%;z-index:1000;padding:.6rem 1.25rem .7rem;background:var(--amber-tint);color:var(--ink);box-shadow:0 -1px 2px rgba(0,0,0,.2)}
#blazor-error-ui .dismiss{cursor:pointer;position:absolute;right:.75rem;top:.5rem}

/* ---------- sign in and choose a property ---------- */
.login{max-width:420px;margin:12vh auto 48px;padding:24px 20px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.08);display:grid;gap:10px}
.login h1{font-size:26px;line-height:32px;font-weight:800}
.login .sub{margin:0 0 6px}
.login form{display:grid;gap:8px}
.login label{font-weight:700;font-size:14px}
.login input{font:inherit;min-height:44px;padding:0 12px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--field);color:var(--ink);width:100%}
.login input:focus-visible{border-color:var(--accent)}
.login .btn{width:100%;margin-top:6px}
.choose form{display:block}
.pwcard{max-width:520px}
/* About: the build and support, then the terms, each a link that opens in a new tab. */
.about{max-width:620px;margin-bottom:16px}
.about .facts{display:grid;gap:14px;margin:0;padding:22px 24px}.about .facts>div{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:baseline}
.about dd{margin:0}.about h2,.about p{margin:0}
.about .terms{list-style:none;margin:0;padding:0;display:grid;gap:4px}.about .terms li{display:flex;flex-direction:column}
.about .terms a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
/* About (the phone's pattern): one centred column, the top card, support rows, then the terms. */
.aboutpage{max-width:640px;margin:0 auto;display:grid;gap:16px;padding-bottom:24px}
.aboutcard{padding:20px 24px;display:grid;gap:8px}.aboutcard h2,.aboutcard p{margin:0}
.about-top{justify-items:center;text-align:center;gap:6px}
.about-top .wordmark{font-family:var(--display);font-size:28px;line-height:32px;font-weight:800}.about-top .wordmark .guru{color:#c77a08}
.about-top .suite{color:var(--muted)}
.about-top .vpill{margin-top:6px;padding:6px 14px;border-radius:999px;background:var(--accent-tint);color:var(--accent-deep);font-weight:700}
.about-top .commit{color:var(--muted);font-size:12px}
.about-top .devtag{padding:2px 10px;border-radius:999px;background:var(--amber-tint);color:#9a5a0c;font-weight:700;font-size:13px}
.aboutpage .arow{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-weight:600}
.aboutpage .terms{list-style:none;margin:0;padding:0;display:grid;gap:10px}.aboutpage .terms li{display:flex;flex-direction:column}
.aboutpage .terms a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.aboutpage .terms .hint{color:var(--muted);font-size:13px}.aboutpage .terms .accepted{font-size:13px;margin-top:2px}
.aboutpage .aboutfoot{text-align:center;color:var(--muted);font-size:13px;margin:0}
@media (max-width:440px){.login{margin-top:24px}}

@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- setup pages: flush rail, hints, real switch buttons ---------- */
main.shell:has(.setup-shell){padding:0;max-width:none}
.f .hint{display:block;margin-top:6px;color:var(--muted);font-size:13px}
button.sw{border:0;padding:0;cursor:pointer}
button.sw::before{content:"";position:absolute;inset:-9px 0}
button.sw:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sw[aria-disabled=true]{opacity:.45;cursor:not-allowed}
/* Staff and PINs: a switch shown greyed on a row nobody here changes, the PIN's state above its controls, and the email and first password a
   row's web access switch asks for */
span.sw{display:inline-block;vertical-align:middle}
.pinstate{display:block;margin-bottom:6px}
.webask{display:grid;gap:6px;margin-top:8px;min-width:220px}
.nameask{display:grid;gap:6px;min-width:200px}

/* ---------- today's chart (the Chart after publish): Add someone's list, progress on chips and cards, Send home, the away card ---------- */
.folds>.add{position:relative}
.folds>.add>.ddlist{position:absolute;left:0;top:calc(100% + 4px);z-index:30;min-width:240px;display:grid;gap:2px;max-height:320px;overflow:auto;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.folds>.add>.ddlist button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 12px;border-radius:8px;text-align:left;font-weight:700;color:var(--ink)}
.folds>.add>.ddlist button:hover{background:var(--recessed)}
.folds>.add>.ddlist button small{font-weight:600;color:var(--muted)}
.folds>.add>.ddlist a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-top:1px solid var(--line);color:var(--accent-deep);font-weight:600}
.btn.sm{padding:0 10px;font-size:13px}
.ahead .btn.sm{flex:none;margin-left:4px}
.rchip.p-prog{border-color:rgb(var(--st-progress));box-shadow:inset 0 0 0 1px rgb(var(--st-progress))}
.rchip.p-insp{border-color:rgb(var(--st-clean));box-shadow:inset 0 0 0 1px rgb(var(--st-clean))}
.rchip.p-done{background:var(--recessed);color:var(--muted-2);border-color:var(--line)}
.rchip.p-done::before{opacity:.35}
/* not serviced today (her finish closed a stayover she could not clean): her part is over but it is not done, the Board's slate, dashed */
.rchip.p-notserv{background:var(--recessed);border-style:dashed;border-color:rgb(var(--st-occupied))}
.rchip .tick{color:rgb(var(--st-ready))}
.acol.away{opacity:.75;background:var(--recessed)}
/* ---------- the room page's Room status: the state line and one row of visit buttons; Can't clean is a dropdown of four reasons ---------- */
.visitrow,.probrow{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:4px 0 2px}
.visitrow .vstate,.probrow .vstate{flex:1 1 220px;min-width:0;font-size:16px}
.visitrow details.cant{position:relative}
.visitrow details.cant>summary{list-style:none;padding:0 12px}
.visitrow details.cant>summary::-webkit-details-marker{display:none}
.visitrow .ddlist{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:220px;display:grid;gap:2px;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 10px 30px rgba(0,0,0,.12)}
.visitrow .ddlist>button{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;text-align:left;font-weight:700;color:var(--ink)}
.visitrow .ddlist>button:hover{background:var(--recessed)}
/* Safety issue asks what is unsafe in the dropdown's place: the kind, what was found, then Cancel and Report safety issue. */
.visitrow .ddlist.cantsafety{min-width:300px;gap:12px;padding:14px}
.cantsafety .cantgo{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
/* ---------- work orders: the list rows, the open row's actions and timeline, the report form, the room page's problems card ---------- */
.wofilters{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 14px}
.wofilters .search{flex:1 1 260px;max-width:420px}
.wolist{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.worow{background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.worow.sel{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-tint)}
.worow.hot{border-color:var(--danger)}
.wohead{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;width:100%;min-height:52px;padding:8px 14px;text-align:left;font:inherit;color:var(--ink);cursor:pointer;border-radius:var(--r)}
.wohead:hover{background:var(--recessed)}
.wohead .num{font-family:var(--display);font-weight:800;color:var(--muted-2)}
.wohead .where{font-family:var(--display);font-weight:800;font-size:16px}
.wohead .cat{font-weight:700}
/* A work order's note is a plain muted line cut with an ellipsis, not the Chart's green .note banner whose class it shares */
.wohead .note{display:block;flex:1 1 200px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;padding:0;border-radius:0;background:none;color:var(--muted-2);font-weight:inherit}
.wohead .who{font-weight:600;white-space:nowrap}
.wohead .state{color:var(--muted-2);white-space:nowrap}
.wohead .age{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.chip.hot{background:var(--danger);color:#fff;border-color:var(--danger)}
.wobody{border-top:1px solid var(--line);padding:12px 14px 14px}
.woacts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-bottom:12px}
.woacts select,.woacts input{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.woacts input{flex:1 1 260px;min-width:0}
.wotl{margin:0 0 12px}
.wocomment{display:flex;gap:8px;align-items:center}
.wocomment input{flex:1 1 auto;min-width:0;font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.woform{margin:0 0 16px}
.woform .checks{display:flex;gap:18px;flex-wrap:wrap}
.chk{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:600;cursor:pointer}
.chk input{width:20px;height:20px;accent-color:var(--accent)}
.warnline{padding:8px 12px;border-radius:10px;background:var(--amber-tint);color:var(--ink)}
.downform{margin:12px 0 0}
.wohistory{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.wohistory li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-height:44px}
.wohistory a{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.chartlinks{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;margin:0 0 12px;font-size:14px;color:var(--muted-2)}
.chartlinks a{color:var(--accent);font-weight:700}
/* ---------- recurring jobs: the list (off rows quiet), the form's "every N units" pair, the rooms grid ---------- */
table.jobs tr.off td{color:var(--muted-2)}
table.jobs a.jobdue{color:var(--danger)}
table.jobs tr.jobedit>td{background:var(--recessed);padding:12px}
.dows{display:flex;flex-wrap:wrap;gap:6px}
.dow{min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-weight:700;cursor:pointer}
.dow.on{background:var(--accent);border-color:var(--accent);color:#fff}
.dow:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.jobform{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.f .pair{display:flex;align-items:center;gap:8px}
.f .pair input{width:84px;flex:none}
.f .pair select{flex:1 1 auto;min-width:0}
.f.wide{grid-column:1/-1}
.jgrid{list-style:none;margin:0 0 8px;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}
.jgrid li{display:flex;flex-direction:column;gap:2px;padding:6px 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);font-variant-numeric:tabular-nums}
.jgrid li b{font-family:var(--display);font-weight:800}
.jgrid li span{font-size:12.5px;color:var(--muted-2)}
.jgrid li.on{border-color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}
.jgrid li.wait{background:var(--amber-tint);border-color:var(--amber)}
/* ---------- photos: the room page's strip (an empty frame for a missing step), the earlier days, the full view, the Board's camera chip ---------- */
.pstrip{list-style:none;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.pstrip.small{grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px}
.pthumb{display:flex;flex-direction:column;gap:4px;width:100%;padding:0;border:0;background:none;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.pthumb img{display:block;width:100%;max-width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;background:var(--recessed);border:1px solid var(--line)}
.pthumb:hover img{border-color:var(--accent)}
.pthumb:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:10px}
.pstrip .cap{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;font-size:13px;color:var(--muted-2)}
.pstrip .cap .t-strong{color:var(--ink)}
.pmissing{display:flex;flex-direction:column;gap:4px}
.pmissing .frame{display:grid;place-items:center;aspect-ratio:4/3;max-width:100%;border:1.5px dashed var(--amber);border-radius:10px;background:var(--amber-tint);color:var(--amber)}
.pby{margin:8px 0 0}
.pday{display:grid;gap:6px;padding:8px 0}
.devup{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}
.devup select{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.pview{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:rgba(15,16,20,.92);padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 12px)}
.pview:focus{outline:none}
.pviewbar,.pviewnav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;background:var(--surface);border-radius:var(--r);padding:8px 12px}
.pviewbar .ptitle{display:flex;flex-direction:column;flex:1 1 200px;min-width:0}
.pview img{flex:1 1 auto;min-height:0;width:100%;max-width:100%;object-fit:contain;margin:12px 0}
.pviewnav{justify-content:space-between}
.wophotos{display:grid;gap:10px;margin:0 0 12px}
.wophotos .pick{justify-self:start;position:relative;cursor:pointer}
.chip.camera{background:var(--recessed);color:var(--muted-2)}
.chip.skipped{background:var(--amber-tint);color:var(--amber)}
.chip.sentback{background:var(--danger-tint);color:var(--danger)}
.chip.fromyesterday{background:var(--amber-tint);color:var(--amber)}
.chip.notes{background:var(--accent-tint);color:var(--accent-deep)}

/* ---------- INNGuru admin: brand chip, hotel page cards, model options, change list ---------- */
.brand{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 12px;border-radius:10px;background:var(--ink);color:#fff;font-weight:700;white-space:nowrap}
.brand small{font-weight:600;opacity:.75}
/* The OPGuru logo (design/make_logos.py): the top bar's way home, the admin's chip, and with its name on the sign-in pages (BrandLockup). On a phone the top bar keeps its room for the hotel and the menus. */
.top .logo{flex:none;display:flex;align-items:center;gap:8px;height:44px;padding:0 14px 0 6px;margin-left:-6px;border-radius:10px;color:var(--ink);position:relative}
.top .logo::after{content:"";position:absolute;right:0;top:10px;bottom:10px;width:1px;background:var(--line)}
.top .logo:hover{background:var(--paper)}
.top .logo img{width:34px;height:34px;display:block;flex:none}
.top .logo-name{font-family:var(--display);font-size:22px;line-height:26px;font-weight:800;white-space:nowrap}
.top .logo-name .guru{color:#c77a08}
.brand img{width:26px;height:26px;display:block;margin-left:-6px}
.lockup{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.lockup img{width:64px;height:64px;flex:none;display:block}
.lockup-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.lockup-name{font-family:var(--display);font-size:30px;line-height:34px;font-weight:800;color:var(--ink)}
.lockup-name .guru{color:#c77a08}
.lockup-suite{font-size:15px;line-height:20px;font-weight:700;color:var(--ink-2);letter-spacing:.02em}
/* The name gives way first where the bar is full (a laptop with the PMS import button), then the logo on a phone. */
@media (max-width:1240px){.top .logo-name{display:none}.top .logo{padding-right:10px}}
@media (max-width:720px){.top .logo{display:none}}
.two{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:18px;align-items:start}
@media (max-width:1100px){.two{grid-template-columns:1fr}}
.stack{display:grid;gap:18px}
.card.adm .hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px;border-bottom:1px solid var(--line)}
.card.adm .hd p{margin:2px 0 0;color:var(--muted);font-size:13px}
.card.adm .note,.card.adm .cardmsg{margin:0;padding:12px 22px;color:var(--muted-2);font-size:13.5px}
/* A plain note in an admin card is a muted line, not the green banner, and lines up with the fields in a form; the blue .note.info box keeps its look */
.card.adm .note:not(.info):not(.warn){border-radius:0;background:none;font-weight:inherit}
.card.adm .form .note:not(.info):not(.warn){padding:0}
.card.adm .error.cardmsg{color:var(--danger)}
.card.adm .ok.cardmsg{color:var(--pine)}
.model{display:grid;gap:8px;padding:16px 22px}
.opt{display:flex;gap:12px;align-items:flex-start;width:100%;text-align:left;border:1px solid var(--line-2);border-radius:12px;padding:12px 14px;min-height:64px;background:var(--surface);cursor:pointer}
.opt:hover{border-color:var(--accent)}
.opt.on{border-color:var(--accent);background:var(--accent-tint)}
.opt .rd{width:20px;height:20px;border-radius:999px;border:2px solid var(--line-2);flex:none;margin-top:2px;background:#fff}
.opt.on .rd{border:6px solid var(--accent)}
.opt .optbody{display:block}
.opt .d{display:block;color:var(--muted-2);font-size:13px}
.flexopt{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:0 22px 16px}
.flexopt .check{display:flex;gap:12px;align-items:flex-start;min-height:44px;cursor:pointer}
.flexopt .check input{width:20px;height:20px;margin-top:2px;flex:none;accent-color:var(--accent)}
.flexopt .check .d{display:block;color:var(--muted-2);font-size:13px}
.pill-ok,.pill-off,.pill-paid{font-size:12px;font-weight:600;border-radius:999px;padding:1px 8px;margin-left:6px}
.pill-ok{color:var(--pine);background:var(--pine-tint)}
.pill-off{color:var(--muted-2);background:var(--recessed)}
.pill-paid{color:var(--amber);background:var(--amber-tint)}
.loglist{list-style:none;margin:0;padding:0}
.loglist li{display:grid;grid-template-columns:128px 1fr;gap:12px;padding:11px 22px;border-bottom:1px solid var(--line);font-size:14px}
.loglist li:last-child{border-bottom:0}
.loglist .t-caption{display:block}
.dangerbtn{color:var(--danger)!important}
.rowact a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;border-radius:9px;font-size:14px;font-weight:600;color:var(--accent)}
.rowact a:hover{background:rgba(37,99,235,.1)}
.nowrap{white-space:nowrap}
.filterform{margin:0}
.toolbar .btn{min-height:44px}
.offconfirm{border:1px solid var(--line);border-radius:var(--r);margin-bottom:18px}
.top form{margin:0}

/* ---------- INNGuru admin: new hotel lookup, ClientHub marks, refresh card ---------- */
.lookup{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}
.lookup .found{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--pine);font-weight:650}
.src{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:99px;background:var(--accent-tint);color:var(--ink-2);font-size:11px;font-weight:650;text-transform:none;letter-spacing:0}
.chk{display:inline-flex;align-items:center;gap:8px;min-height:44px}

/* ---------- the support view: INNGuru support in a hotel's own back office gets this amber strip above the top bar ---------- */
.strip{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;padding:4px 20px;background:var(--amber-tint);border-bottom:1px solid var(--amber);color:var(--ink);font-size:13.5px;font-weight:600}
.strip.closed{background:var(--line-2);border-bottom:1px solid var(--line)}
.strip .what{flex:1;min-width:0}
.strip b{font-weight:700}
.strip .back{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;border:1px solid var(--amber);background:var(--surface);font-size:14px;font-weight:700;white-space:nowrap}
.strip .back:hover{border-color:var(--accent);color:var(--accent)}
@media (max-width:720px){.strip{padding:4px 16px}}

/* ---------- damage: the Damage page's sections, the damage card (the room page's Damage card shows the same), its folds ---------- */
.dmgsec{margin:0 0 28px}
.dmgsec>h2{margin:0 0 12px}
.dmgsec h3.t-subtitle{margin:16px 0 8px}
.dmglist{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;align-items:start}
.dmghist>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 16px;border-radius:var(--r);background:var(--recessed);border:1px solid var(--line);cursor:pointer;list-style:none}
.dmghist>summary::-webkit-details-marker{display:none}
.dmghist>summary:hover{border-color:var(--line-2)}
.dmghist>summary .chev{margin-left:auto;flex:none;transition:transform .12s}
.dmghist[open]>summary{margin-bottom:12px}
.dmghist[open]>summary .chev{transform:rotate(180deg)}
.dmgcard{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px}
.dmgcard .pstrip{margin:0}
.dmgcard p{margin:0}
.dmgnophoto{display:flex;align-items:center;justify-content:center;gap:8px;min-height:88px;border:1.5px dashed var(--line-2);border-radius:10px;background:var(--recessed);color:var(--muted-2);font-weight:600}
.dmghead{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.dmghead .room{font-family:var(--display);font-weight:800;font-size:16px}
.dmghead .spot{font-weight:700}
.dmghead .num,.dmghead .sep{color:var(--muted-2)}
.dmgclosed{color:var(--ink-2)}
.dmgknown{display:grid;gap:6px;padding-top:8px;border-top:1px solid var(--line)}
.dmgknown ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.dmgknown li{display:flex;align-items:center;gap:10px;font-size:14px}
.kthumb{flex:none;width:48px;height:48px;padding:0;border:0;background:none;cursor:pointer}
.kthumb img{display:block;width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:var(--recessed)}
.kthumb:hover img{border-color:var(--accent)}
.dmgacts{display:flex;flex-wrap:wrap;gap:8px}
.dmgfold{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px;border-radius:10px;background:var(--recessed)}
.dmgfold select,.dmgfold input[type=text]{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.dmgfold input[type=text]{flex:1 1 220px;min-width:0}
.dmgfold input:disabled{opacity:.55}
.dmgchoice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;flex:1 1 100%}
.dmgfold .pick{position:relative;cursor:pointer}
/* ---------- damage on the room page (the Damage card, Add damage) and on the Work orders page (the damage an order came from, the room's known damage) ---------- */
.dmgaddrow{display:flex;flex-wrap:wrap;gap:8px}
.dmgadd{margin:0}
.dmgpick{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.dmgpick .pick{position:relative;cursor:pointer}
.wohead .fromdmg{white-space:nowrap}
.wodmg{display:grid;gap:4px;margin:0 0 12px}
.wodmg a{display:inline-flex;align-items:center;justify-self:start;min-height:44px;color:var(--accent);font-weight:700}
.knowndmg{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0}
.knowndmg span{display:inline-flex;align-items:center;gap:8px}
.knowndmg img{flex:none;width:48px;height:48px;object-fit:cover;border-radius:8px;border:1px solid var(--line);background:var(--recessed)}

/* ---------- lost and found: the Lost and found page's toolbar and sections, the item card, its folds and timeline (as the damage rules) ---------- */
.lfpills{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:0 0 14px}
.lfpills .search{flex:1 1 260px;max-width:420px;min-height:44px}
.lfpills .filters{margin:0}
.lfpills .filters button{min-height:44px}
.lfsec{margin:0 0 28px}
.lfsec>h2{margin:0 0 12px}
.lflist{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;align-items:start}
.lflist+.lflist{margin-top:12px}
.lfhist>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 16px;border-radius:var(--r);background:var(--recessed);border:1px solid var(--line);cursor:pointer;list-style:none}
.lfhist>summary::-webkit-details-marker{display:none}
.lfhist>summary:hover{border-color:var(--line-2)}
.lfhist>summary .chev{margin-left:auto;flex:none;transition:transform .12s}
.lfhist[open]>summary{margin-bottom:12px}
.lfhist[open]>summary .chev{transform:rotate(180deg)}
.lfmore{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px}
.lfcard{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px}
.lfcard .pstrip{margin:0}
.lfcard p{margin:0}
.lfnophoto{display:flex;align-items:center;justify-content:center;gap:8px;min-height:88px;border:1.5px dashed var(--line-2);border-radius:10px;background:var(--recessed);color:var(--muted-2);font-weight:600}
.lfhead{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.lfhead .num{font-family:var(--display);font-weight:800;font-size:16px}
.lfhead .kind{font-weight:700}
.lfhead .room,.lfhead .sep{color:var(--muted-2)}
.lfdue{color:var(--danger)}
.lfsoon,.lfamber{color:var(--amber);font-weight:600}
.lfclosed{color:var(--ink-2)}
.lfasks{list-style:none;margin:0;padding:8px 0 0;border-top:1px solid var(--line);display:grid;gap:6px}
.lfasks li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;font-size:14px}
.lfacts{display:flex;flex-wrap:wrap;gap:8px}
.lffold{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:12px;border-radius:10px;background:var(--recessed)}
.lffold select,.lffold input[type=text],.lffold input[type=date],.lfcomment input{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.f .lfplace-other{margin-top:8px}
.lffold input[type=text],.lfcomment input{flex:1 1 220px;min-width:0}
.lffold .warnline{flex:1 1 100%}
.lfchoice{display:flex;flex-wrap:wrap;align-items:center;gap:0 14px;flex:1 1 100%}
.lfcomment{display:flex;flex-wrap:wrap;gap:8px}
.lftimeline>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none}
.lftimeline>summary::-webkit-details-marker{display:none}
.lftimeline>summary .chev{margin-left:auto;flex:none;transition:transform .12s}
.lftimeline[open]>summary .chev{transform:rotate(180deg)}
.lftimeline ol{list-style:none;margin:0;padding:0;display:grid;gap:4px;font-size:13px;color:var(--ink-2)}
/* ---------- lost and found: guest requests, the office's Add, the room page's card ---------- */
.lfreq{display:flex;flex-direction:column;gap:8px;padding:12px 14px 14px}
.lfreq p{margin:0}
.lfreach{font-weight:600}
.lfsec h3.t-subtitle{margin:16px 0 8px}
.lfadd,.lfreqform{margin:0 0 16px}
.lfroomlist{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.lfroomlist a{display:inline-flex;align-items:center;min-height:44px;color:var(--accent);font-weight:700}
.lfroomasks{display:grid;gap:4px}
.lfroomasks li{padding:4px 0;font-size:14px}
.lfroompast>summary{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 16px;border-radius:var(--r);background:var(--recessed);border:1px solid var(--line);cursor:pointer;list-style:none}
.lfroompast>summary::-webkit-details-marker{display:none}
.lfroompast>summary:hover{border-color:var(--line-2)}
.lfroompast>summary .chev{margin-left:auto;flex:none;transition:transform .12s}
.lfroompast[open]>summary{margin-bottom:8px}
.lfroompast[open]>summary .chev{transform:rotate(180deg)}
/* ---------- Setup › Lost and found: the hold periods and the kinds ---------- */
.lfhold .formfoot{align-items:center}
.lfliable,.lfsentence{margin:0}
.lfsentence{padding:10px 12px;border-radius:10px;background:var(--recessed)}
table.lfkinds tr.off td{color:var(--muted-2)}
table.lfkinds .inactive{margin-left:10px}
table.lfkinds .lfkept{display:block;margin-top:4px}
table.lfkinds .kname-es.same{color:var(--muted)}
table.lfkinds .rowact{flex-wrap:wrap}
table.lfkinds .rowact button{min-height:44px}
/* ---------- Setup › Housekeeping rules: the extras, the ready-made notes and the safety issues, each card with its own Save ---------- */
form.rlextras,form.rlnotes,form.rlsafety{margin-top:16px}
.rlcarderror{margin:12px 14px 0}
table.rlextras tr.off td,table.rlsafety tr.off td{color:var(--muted-2)}
table.rlextras select{min-width:140px}
table.rlextras .rowact,table.rlsafety .rowact{flex-wrap:wrap}
.rlextras .rowact button,.rlnotes .rowact button,.rlsafety .rowact button,.rlextras .formfoot button,.rlnotes .formfoot button,.rlsafety .formfoot button{min-height:44px}
table.rlsafety .kname{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font-weight:600}
#rl-extra-add,#rl-note-add,#rl-safety-add{margin-right:auto}
.rlnotelist{list-style:none;margin:0;padding:14px;display:grid;gap:10px}
.rlnotelist li{display:flex;gap:10px;align-items:center}
.rlnotelist input{flex:1;min-width:0;min-height:44px;border:1.5px solid var(--line-2);border-radius:10px;padding:0 10px;font:inherit;background:var(--field);color:var(--ink)}
/* The Board's room panel (RoomPanel): beside the Board, over its right side, full height; the whole width on a narrow screen */
.roompanel{position:fixed;top:64px;right:0;bottom:0;width:min(460px,100vw);z-index:39;overflow-y:auto;display:grid;align-content:start;gap:14px;padding:20px;background:var(--surface);border-left:1px solid var(--line);box-shadow:-8px 0 24px rgba(0,0,0,.12)}
.roompanel .rphead{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.roompanel .rpstatus{display:flex;margin-top:6px;width:fit-content}
.roompanel h2{margin:0;font-size:28px}
.roompanel h2:focus{outline:none}
.rpwho{margin:0;display:flex;flex-wrap:wrap;gap:4px 10px;align-items:baseline}
.rpwho a{color:var(--accent-deep);font-weight:700;text-decoration:underline;text-underline-offset:2px}
.roompanel .visitrow{flex-wrap:wrap}
@media (max-width:900px){.roompanel{width:100vw;border-left:0}}
/* Below 1100 px the top bar has the tabs' row too (--toph): the panel starts under it. */
@media (min-width:720.02px) and (max-width:1099.98px){.roompanel{top:var(--toph)}}
/* On a phone the top bar wraps to two rows of its own height: the panel is a full-screen sheet over it, with Close at its top. */
@media (max-width:720px){.roompanel{top:0;z-index:45}}
/* The support view's amber strip sits above the top bar, so 64 px would leave the panel's heading and Close under the bar: there the panel
   is a sheet over both, with Close at its top. */
html:has(.strip[role=note]) .roompanel{top:0;z-index:45}
/* Where the row is narrow (the panel, a phone) Can't clean has a row of its own, so opening it moves nothing, and its reasons open in
   the row under it: a menu hung from the button would open past the edge and be cut off. */
.roompanel .visitrow details.cant{flex-basis:100%}
.roompanel .visitrow .ddlist{position:static;margin-top:6px;box-shadow:none}
@media (max-width:720px){.visitrow details.cant{flex-basis:100%}.visitrow .ddlist{position:static;margin-top:6px;box-shadow:none}}
.roompanel .rpnotes{display:flex;flex-direction:column;gap:8px}
.rpnotes .rpmore{display:inline-flex;align-items:center;min-height:44px;color:var(--accent-deep);font-weight:700;text-decoration:underline;text-underline-offset:2px}
/* The panel, one job at a time (the room panel spec): what is set in a light grey box, the blue tile, the guest's tiles two to a row and
   Work order apart under a thin line, then the small links. Tiles are tall buttons with a picture, a name and a small line. */
.rpset{background:var(--recessed);border-radius:12px;padding:10px 14px}
.rpset ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.rpset li:first-child{font-weight:700}
.rpset .rpline{display:inline-flex;align-items:center;gap:4px;min-height:44px;color:var(--accent-deep);font-weight:700;text-align:left;text-decoration:underline;text-underline-offset:2px}
.roompanel .rpask{margin:4px 0 -4px}
.ptiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ptiles.apart{grid-template-columns:1fr;border-top:1px solid var(--line);padding-top:12px}
.ptile{display:flex;align-items:flex-start;gap:10px;width:100%;min-height:68px;padding:12px;border:1.5px solid var(--line-2);border-radius:var(--r);background:var(--surface);color:var(--ink);text-align:left;line-height:20px}
.ptile:hover{border-color:var(--ink-2)}
.ptile:focus-visible,.jobback:focus-visible,.job-pick button:focus-visible,.job-go:focus-visible,.job-no:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ptile svg{flex:none;color:var(--accent-deep)}
.ptile b{display:block;font-weight:700}
.ptile small{display:block;margin-top:2px;font-size:12.5px;line-height:16px;font-weight:500;color:var(--muted-2);overflow-wrap:anywhere}
.ptile.on{border-color:var(--amber);background:var(--amber-tint)}
/* Touch-up given: a green check before "Touch-up today". */
.ptile small .tick{display:inline-block;margin-right:4px;vertical-align:-2px;color:var(--pine);stroke-width:3}
.ptile.blue{align-items:center;background:var(--accent);border-color:var(--accent);color:#fff}
.ptile.blue:hover{background:var(--accent-deep);border-color:var(--accent-deep)}
.ptile.blue svg{color:#fff}
.ptile.amber{background:var(--amber-tint);border-color:var(--amber)}
.ptile.amber svg{color:var(--ink-2)}
.rpfoot{display:flex;flex-wrap:wrap;gap:0 20px}
.rpfoot a,.rpfoot button{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:14px;font-weight:700;color:var(--accent-deep)}
/* A job's screen slides in over the panel: the way back, the job's name, one question, big picture buttons (.job-pick, pressed shows
   blue), the green box that says what will happen (.job-say), one green button (.job-go) and the grey way back (.job-no). */
.jobhost{display:grid;gap:12px;animation:jobin .16s ease-out}
@keyframes jobin{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.jobhost{animation:none}}
.jobback{justify-self:start;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 4px;font-weight:700;color:var(--accent-deep)}
.jobback span{font-size:22px;line-height:1}
.jobtitle{font-size:24px;line-height:30px}
.job{display:grid;gap:12px}
.job-q{margin:4px 0 0;font-size:17px;line-height:24px;font-weight:700}
.job-pick{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.job-pick.one{grid-template-columns:1fr}
.job-pick button{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface);font-weight:700;text-align:left}
.job-pick button:hover{border-color:var(--ink-2)}
.job-pick button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint)}
.job-pick button small{display:block;font-weight:500;font-size:12.5px;color:var(--muted-2)}
.job-say{margin:0;padding:10px 12px;border:1px solid var(--pine);border-radius:12px;background:var(--pine-tint);color:var(--ink)}
.job-go{min-height:52px;padding:0 16px;border-radius:12px;background:var(--pine);color:#fff;font-size:16px;font-weight:800}
.job-go:hover:not(:disabled){background:#24563f}
.job-go:disabled{opacity:.45;cursor:not-allowed}
.job-no{min-height:44px;color:var(--muted-2);font-weight:700}
.job-no:hover{color:var(--ink)}
.rnotes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.rnotes li{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}
.rnotes .rntext{flex-basis:100%;overflow-wrap:anywhere}
.card.notes .more{min-height:44px;margin-top:10px}
/* Extras: the picture tiles with their count (.job-item), what the room was given today (.job-today); the note's chips (.job-chips). */
.job-items{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.job-item{display:grid;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface)}
.job-item.on{border-color:var(--accent);background:var(--accent-tint)}
.job-item-pick{display:flex;align-items:center;gap:10px;min-height:56px;padding:10px 12px;font-weight:700;text-align:left}
.job-item-pick:focus-visible,.job-qty button:focus-visible,.job-chips button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.job-qty{display:flex;align-items:center;justify-content:center;gap:12px;padding:0 8px 8px}
.job-qty button{min-width:44px;min-height:44px;border:1.5px solid var(--line-2);border-radius:10px;background:var(--surface);font-size:20px;font-weight:800}
.job-qty button:disabled{opacity:.4}
.job-qty b{min-width:20px;text-align:center;font-size:18px}
.job-has{margin:0;font-weight:700}
.job-item-name{padding:10px 12px 0;font-weight:700}
.job-today ul{margin:4px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.job-today li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}
.job-chips{display:flex;flex-wrap:wrap;gap:8px}
.job-chips button{min-height:44px;padding:0 14px;border:1.5px solid var(--line-2);border-radius:999px;background:var(--surface);font-weight:600}
.job-chips button:hover{border-color:var(--ink-2)}
.job-chips button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint)}
.job-yours{margin:0;padding:10px 12px;border:1px solid var(--line-2);border-radius:12px}
.job-yours small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted-2)}
.job-row{display:flex;gap:8px}
/* Stay service's days of the week (.job-days) and its amber line; Work order's tiles (b the name, small what is open) and its
   few words. A category already open on the room is amber until it is picked. */
.job-days{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.job-days button{min-height:52px;border:1.5px solid var(--line-2);border-radius:12px;background:var(--surface);font-weight:700}
.job-days button:hover{border-color:var(--ink-2)}
.job-days button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-tint)}
.job-days button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.job .note.warn{margin:0}
.job-pick button b{display:block;font-weight:700}
.job-pick button.amber:not([aria-pressed=true]){border-color:var(--amber);background:var(--amber-tint)}
.job-pick button.amber small{color:var(--ink)}
.job label.job-q{display:block}
.job input[type=text],.job select,.job textarea{font:inherit;width:100%;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.job textarea{padding:10px 12px;resize:vertical}
.job input[type=text]:focus-visible,.job select:focus-visible,.job textarea:focus-visible{border-color:var(--accent)}
/* Room status (the room status moves spec), on the panel's last tile and the room page's Today card: the room now as its tile's band,
   big, with what it means and where it stands; each choice the band of the status it goes to, with its line under it. */
.rsnow{display:grid;gap:4px;justify-items:start}
.rsnow .band,.rschoices .band{border-radius:8px}
.rsnow .band{height:40px;padding:0 14px;font-size:15px}
.rsnow .band svg{width:18px;height:18px}
.rsnow .rsmean{color:var(--ink-2)}
.rsnow .vstate{font-size:16px}
.rschoices button>span{display:grid;gap:6px;justify-items:start;min-width:0}
.rschoices .band{height:28px;padding:0 10px}
/* Tell the office (the guest stays tell office spec): the head housekeeper's last tile, where a stay change was, a chat picture for a band. */
.rschoices .rstell svg{flex:none;width:28px;height:28px;color:var(--accent-deep)}

/* Messages (the Messages spec, 7.1): the list on the left, 320 px, and the open thread; under 720 px one or the other, with Back. Bubbles as
   the phone draws them: mine on the right in the accent tint, theirs on the left in grey, the corner nearest the sender 4 px. */
.msgs{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:start}
.msglist{display:flex;flex-direction:column;gap:4px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:8px}
.msgnewbtn{margin:4px 4px 8px}
.msgnew{display:flex;flex-direction:column;gap:4px;padding:0 4px 8px}
.msgrow{display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 10px;border-radius:12px;text-align:left;width:100%;background:transparent}
.msgrow:hover{background:var(--paper)}
.msgrow.on{background:var(--accent-tint)}
.msgrowmain{display:flex;flex-direction:column;min-width:0;flex:1}
.msgrowline{color:var(--muted-2);font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.msgrowside{display:flex;flex-direction:column;align-items:flex-end;gap:4px}
.msgdot{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:700}
.ava.big{width:40px;height:40px;font-size:14px}
.ava.hotelava{background:var(--recessed);color:var(--muted-2)}
.msgthread{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);min-height:420px}
.msgthreadhead{display:flex;align-items:baseline;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line)}
.msgthreadhead h2{margin:0}
.msgback{display:none}
.msgbody{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}
.msgday{align-self:center;font-size:12px;font-weight:700;color:var(--muted);padding:2px 10px;border-radius:999px;background:var(--recessed)}
.bwrap{display:flex;flex-direction:column;max-width:80%}
.bwrap.mine{align-self:flex-end;align-items:flex-end}
.bwrap.theirs{align-self:flex-start;align-items:flex-start}
.bname{font-size:13px;font-weight:700;color:var(--ink-2);margin:0 4px 2px}
.bub{padding:12px 14px;border-radius:16px;font-size:17px;line-height:1.3}
.bub.mine{background:var(--accent-tint);color:var(--accent-deep);border-bottom-right-radius:4px}
.bub.theirs{background:var(--recessed);color:var(--ink);border-bottom-left-radius:4px}
.btext{white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.btag{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:999px;background:var(--surface);color:var(--muted-2);font-size:12px;font-weight:700}
.btime{font-size:12px;color:var(--muted);margin-top:4px}
.bphoto img{display:block;height:160px;width:auto;border-radius:10px;margin-bottom:6px}
.bphotobox{padding:12px;border-radius:10px;background:var(--line);color:var(--muted-2);font-size:14px;margin-bottom:6px}
.bquote{padding:8px 10px;border-radius:10px;background:var(--line);color:var(--muted-2);font-size:14px;margin-bottom:6px}
.bquotetext{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bquoteline{font-size:12px;font-weight:700;margin-top:2px}
.bacts{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin-top:4px}
.bacts .lnk{min-height:44px}
.bacts .take{color:var(--pine);font-weight:800}
.bon{font-size:14px;font-weight:700;color:var(--pine)}
.bseen,.bseenby{font-size:12px;color:var(--muted)}
.lnk{background:transparent;color:var(--accent);font-weight:700;padding:0 2px} .msgbody>.lnk,.mpicked .lnk{min-height:44px}
.lnk.danger{color:var(--danger)}
.msgfoot{padding:12px 16px;border-top:1px solid var(--line);margin:0}
.msgreplying{margin:0 16px}
.mcompose{display:flex;flex-direction:column;gap:8px;padding:12px 16px;border-top:1px solid var(--line)}
.mcomposeto{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* The page's two selects (Write to, a poster's To) are fields like every other: outside a styled box a select draws as the browser's own. */
.msgnew select,.mcomposeto select{font:inherit;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.msgnew select{width:100%}
.mcomposeto select{min-width:180px}
.msgnew select:focus-visible,.mcomposeto select:focus-visible{border-color:var(--accent)}
.mcomposerow{display:flex;gap:10px;align-items:flex-end}
.mcomposerow textarea{flex:1;min-height:44px;border:1px solid var(--line-2);border-radius:24px;padding:10px 16px;font:inherit;font-size:17px;resize:vertical}
.mcomposebtns{display:flex;gap:8px}
.btn.send{background:var(--pine)}
.btn.send:hover:not(:disabled){background:#255a42}
.mphoto{cursor:pointer}
.mpicked{display:flex;align-items:center;gap:12px;font-size:14px;color:var(--muted-2)}
.mcount{align-self:flex-end;font-size:12px;color:var(--muted)}
.msgsheet{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);z-index:50;width:min(440px,calc(100vw - 32px));max-height:80vh;overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 12px 40px rgba(0,0,0,.18);padding:16px 20px}
.msgsheet ul{list-style:none;margin:6px 0 14px;padding:0;display:flex;flex-direction:column;gap:6px}
.msgsheet li{display:flex;align-items:center;gap:10px;min-height:44px}
.msgsheet li > span:nth-child(2){display:flex;flex-direction:column;flex:1}
.msgsheet li.gone{opacity:.6}
@media (max-width:719px){
  .msgs{grid-template-columns:1fr}
  .msgs .msgthread{display:none}
  .msgs.chosen .msgthread{display:flex}
  .msgs.chosen .msglist{display:none}
  .msgback{display:inline-flex;align-items:center;gap:6px;min-height:44px}
}
/* Deep clean on the Board (the deep clean control spec): the status row's Deep clean tile in the accent blue, the group of deep clean rooms at
   the top, and the panel under the row: today's rooms and the rooms that could be added as chips (.job-chips), a green box and one green
   button each, and the day's changes. */
.stile.dc .band{display:flex;align-items:center;gap:6px;background:var(--accent);color:#fff;border-bottom:0}
/* Housekeeping tasks (the housekeeping tasks spec, 7.1): the Service group's second tile, in the same accent blue; once the day's push went, or
   on a past day, its number is what was not done, in red with the small words; 0 in the usual grey. Its filter's tiles say, under the
   services, where each add-on stands. The panel's own styles are HousekeepingTasksPanel.razor.css. */
.stile.hk .band{display:flex;align-items:center;gap:6px;background:var(--accent);color:#fff;border-bottom:0}
.stile.hk b small{font-family:inherit;font-size:13px;font-weight:700}
.stile.hk.bad b{color:var(--danger)}
.tile .loc.addons{color:var(--ink-2);margin-top:0}
.dcfloor .floorhead .sq{background:var(--accent)}
.dcpanel{display:grid;gap:12px;padding:16px;margin:0 0 16px}
.dchead{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
.dchead h2{margin:0}
.dcnote{margin:4px 0 0}
.dccols{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px}
.dccol{display:grid;gap:10px;align-content:start}
.dcchips button,.dcfixed{display:inline-flex;align-items:center;gap:6px}
.dcchips button small,.dcfixed small{font-size:12.5px;font-weight:500;color:var(--muted-2)}
.dcfixed{min-height:44px;padding:0 14px;border:1.5px dashed var(--line-2);border-radius:999px;color:var(--muted-2)}
.dcchips .dcall{font-weight:800}
.dccol .job-go,.dccol .job-no{justify-self:start}
.dcchanges{list-style:none;margin:0;padding:0;display:grid;gap:4px}
@media (max-width:900px){.dccols{grid-template-columns:1fr}}

/* Before you continue / paused (terms acceptance): the sign-in card, wider, with a card per part to accept. */
.login.accept{max-width:640px;margin-top:6vh}
.accept .acard{border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:12px 0;display:grid;gap:8px}
.accept .acard h2{margin:0}
.accept .acard p{margin:0}
.accept .deadline{font-weight:700;color:var(--danger)}
.accept .docs{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.accept .docs li{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px}
.accept .docs .what{display:flex;flex-direction:column}.accept .docs .line{color:var(--muted);font-size:13px}
.accept .docs .tag{align-self:flex-start;margin:2px 0;padding:1px 8px;border-radius:999px;background:var(--accent);color:#fff;font-size:12px;font-weight:700}
.accept .docs .read{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.accept .tick{display:flex;align-items:flex-start;gap:10px;min-height:44px;cursor:pointer}
/* The box sits on the first line of its words: .login input (the sign-in fields, 44 px tall and padded) must not reach it. */
.accept .tick input{width:22px;height:22px;min-height:0;padding:0;margin:0;flex:none;accent-color:var(--accent)}
.accept .tick span{line-height:22px}
.accept .deadline .left{font-weight:800}
.accept .out{margin:12px 0 0;text-align:center}
.accept .out a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--muted);font-weight:600}
.accept .termsbox{max-height:260px;overflow:auto;white-space:pre-wrap;border:1px solid var(--line-2);border-radius:10px;padding:10px 12px;background:var(--field)}
.accept .acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.card.about .termsbox,.hterms .termsbox{max-height:60vh;overflow:auto;white-space:pre-wrap;border:1px solid var(--line-2);border-radius:10px;padding:10px 12px;background:var(--field)}
.accept .btn.agree{background:var(--pine)}.accept .btn.agree:hover:not(:disabled){background:#265a42}
.accept .acts .btn{flex:1 1 180px}

/* ---------- Tasks (docs/superpowers/specs/2026-11-09-tasks-and-routines-design.md, section 4): the rail of crews, the pane for one task, its
   tiles (the Board's tile as a button), the mouse box and the bar at the pane's foot ---------- */
.tasks{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
.tasks-rail{display:flex;flex-direction:column;gap:4px;background:var(--recessed);border:1px solid var(--line);border-radius:14px;padding:10px;position:sticky;top:76px;max-height:calc(100vh - 76px - 16px);overflow:auto}
@media (min-width:720.02px) and (max-width:1099.98px){.tasks-rail{top:calc(var(--toph) + 12px);max-height:calc(100vh - var(--toph) - 28px)}} /* under the tabs' row */
.tasks-crew{display:flex;align-items:center;gap:8px;min-height:44px;width:100%;padding:4px 8px;border:0;border-radius:10px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.tasks-crew:hover:not(:disabled){background:var(--surface)}
.tasks-crew svg{flex:none;transition:transform .12s}
.tasks-crew.closed svg{transform:rotate(-90deg)}
.tasks-crew:disabled{cursor:default;color:var(--muted)}
.tasks-crew-name,.tasks-row-name{display:flex;flex-direction:column;flex:1;min-width:0;font-weight:800}
.tasks-crew-name small,.tasks-row-name small{font-size:12px;line-height:16px;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tasks-row{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 10px 4px 32px;border:1px solid transparent;border-radius:10px;color:var(--ink);text-decoration:none}
.tasks-row .tasks-row-name{font-weight:700}
.tasks-row:hover{background:var(--surface)}
.tasks-row.on{background:var(--surface);border-color:var(--accent)}
.tasks-row.off{color:var(--muted)}
.tasks-due{flex:none;min-width:26px;padding:0 7px;border-radius:999px;background:var(--danger);color:#fff;font-size:12px;line-height:22px;font-weight:800;text-align:center}
.tasks-due.zero{background:var(--line);color:var(--muted)}
.tasks-pane{min-width:0;display:flex;flex-direction:column;gap:14px}
.tasks-pane>.card{padding:16px} /* a .card has none of its own: the Board's Deep clean and Routines today panels' 16 px */
.tasks-pane>.card>h2{margin-bottom:8px} /* Due's status row and today's pills sat on the heading; Done and Changes today had their 8 px */
.tasks-back{display:none;align-items:center;min-height:44px;font-weight:700}
.tasks-head-top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.tasks-head-top h1{margin:0}
.tasks-tag{padding:2px 10px;border-radius:999px;font-size:12px;line-height:20px;font-weight:800}
.tasks-tag.hk{background:var(--accent-tint);color:var(--accent-deep)}
.tasks-tag.mt{background:var(--amber-tint);color:var(--ink)}
.tasks-head-line{margin:6px 0 12px;color:var(--muted)}
.tasks-head-line a{font-weight:700}
.tasks-head-note{margin:6px 0 0;font-size:15px;line-height:22px}
.tasks-row-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:18px;color:var(--ink)}
.tasks-stats{margin-bottom:0}
.tasks-stats .stat.due b{color:var(--danger)}
.tasks-stats .stat.today b{color:var(--accent)}
.tasks-stats .stat.later b{color:var(--muted)}
.tasks-off{margin:0}
.tasks-noreport{margin:0 0 6px;padding:10px 12px;border-radius:12px;background:var(--amber-tint);color:var(--ink)}
.tasks-tiles{padding:6px 10px 14px;margin:0 -10px}
.tasks-tiles .grid{padding-bottom:4px}
.tasks-tiles .floor:first-child{margin-top:8px}
button.tilecell{display:block;width:100%;padding:0;border:0;background:none;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--r)}
button.tilecell:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.tilecell.picked .tile{outline:3px solid var(--accent);outline-offset:1px;border-color:var(--accent)}
.tilecell.dim{opacity:.45;cursor:default}
.stile.dim{opacity:.45;cursor:default}
.tasks-pane.tboxing,.tasks-pane.tboxing *{cursor:crosshair;-webkit-user-select:none;user-select:none}
.tilecell.tboxed .tile{outline:2px dashed var(--accent);outline-offset:1px;background:var(--accent-tint)}
.tasks-bar{position:sticky;bottom:0;z-index:50;display:flex;flex-direction:column;gap:8px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:14px 14px 0 0;box-shadow:0 -6px 20px rgba(0,0,0,.08);padding:12px 16px}
.tasks-bar-line{color:var(--muted-2);font-size:14px}.tasks-bar-line b{color:var(--ink)}
.tasks-bar .job-say{margin:0}
.tasks-bar-acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.tasks-giveto{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-weight:700}
/* The bars' select and inputs (Give to…, Reason, What happened?, Done on) are fields like every other: outside a styled box they draw as the browser's own. */
.tasks-giveto select,.tasks-giveto input{font:inherit;font-weight:600;min-height:44px;padding:0 12px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--field);color:var(--ink)}
.tasks-giveto select:focus-visible,.tasks-giveto input:focus-visible{border-color:var(--accent)}
.tasks-giveto select{max-width:320px}
.tasks .toast{bottom:auto;top:80px}
/* Task 11: the rail's closing rows, On today's list and its Take off today, Open work orders as links, Not due yet's fold, Done, Changes today */
.tasks-links{display:flex;flex-direction:column;gap:4px;margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}
.tasks-link{display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 10px;border:1px solid transparent;border-radius:10px;color:var(--ink);text-decoration:none}
.tasks-link .tasks-row-name{font-weight:700}
.tasks-link:hover{background:var(--surface)}
.tasks-count{flex:none;min-width:26px;padding:0 7px;border-radius:999px;background:var(--accent-tint);color:var(--accent-deep);font-size:12px;line-height:22px;font-weight:800;text-align:center}
.tasks-count.bad{background:var(--danger-tint);color:var(--danger)}
.tasks-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tasks-card-head .btn{min-height:44px}
.tasks-rollover{margin:0 0 8px}
.tasks-today-card .job-say{margin-bottom:10px}
a.tilecell{display:block;color:inherit;text-decoration:none;border-radius:var(--r)}
a.tilecell:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.tasks-done{overflow-x:auto;margin-top:8px}
.tasks-done table{min-width:0}
/* Mark done (the Mark done spec, B7; the one pick spec, W3): the second step's fields, the Done table's mark cell */
.tasks-markwords input{width:260px;max-width:100%}
.tasks-markbar .error{margin:0}
.tasks-done .tasks-done-due{color:var(--danger);font-weight:700}
.tasks-markwhy{display:block;font-size:12px;color:var(--muted)}
.tasks-changes{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
/* Below 1100 px the Chart's and the Tasks page's toast drops under the bar's tab row (--toph): here, after both pages' own toast rules, so it wins. */
@media (min-width:720.02px) and (max-width:1099.98px){.assign ~ .toast,.tasks .toast{top:calc(var(--toph) + 16px)}}
