@font-face{font-family:"Fraunces";font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/fraunces-latin-600-normal.woff2) format("woff2")}
:root{--serif:"Fraunces",Georgia,"Iowan Old Style","Palatino Linotype",Palatino,"Noto Serif Thai",serif}
:root{--navy:#1B2A41;--bg:#F6F5F2;--card:#fff;--ink:#16181D;--muted:#6B7280;--line:#E4E2DC;--accent:#1B2A41;--danger:#B42318;--radius:14px;
--dirty-bg:#FFE9C7;--dirty-fg:#7A3E00;--dirty-bd:#E8A94B;--progress-bg:#D6E6FF;--progress-fg:#0B3680;--progress-bd:#7FA8EE;
--clean-bg:#fff;--clean-fg:#16181D;--clean-bd:#16181D;--ready-bg:#1B2A41;--ready-fg:#fff;--ready-bd:#1B2A41;
--dnd-bg:#E7E5E4;--dnd-fg:#44403C;--dnd-bd:#BDB7B1;--ooo-bg:#F9DCDC;--ooo-fg:#7F1D1D;--ooo-bd:#DE8F8F}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.4 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans","Noto Sans Thai",sans-serif}
h1,h2,h3,p{margin:0}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button:disabled{opacity:.5;cursor:default}
:focus-visible{outline:3px solid #2F6FEB;outline-offset:2px}
.h1{font-size:24px;font-weight:700;letter-spacing:-.01em}.h2{font-size:20px;font-weight:700}.h3{font-size:15px;font-weight:700;margin-bottom:8px}
.muted{color:var(--muted)}.small{font-size:13px}.big{font-size:18px}
.stack{display:grid;gap:12px}.row2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.row-between{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.btns{display:flex;gap:8px;flex-wrap:wrap}
.sr-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.link{background:none;border:0;text-decoration:underline;padding:4px}
.count{background:var(--line);border-radius:99px;padding:1px 8px;font-size:12px;font-weight:600}
.empty{padding:28px 16px;text-align:center;color:var(--muted);background:var(--card);border:1px dashed var(--line);border-radius:var(--radius)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.card.warn{border-color:var(--dirty-bd);background:#FFF8EB}
.tag{display:inline-block;background:var(--line);border-radius:6px;padding:2px 8px;font-size:12px;font-weight:600}
.callout{background:#FFF8EB;border:1px solid var(--dirty-bd);color:var(--dirty-fg);border-radius:12px;padding:10px 14px;font-weight:600}
.callout.note{background:#fff;border-color:var(--line);color:var(--ink);font-weight:400}.callout small{color:var(--muted)}
.alert{padding:10px 12px;border-radius:10px}.alert.error{background:#FDECEA;color:var(--danger)}
.badge{background:#D92D20;color:#fff;border-radius:99px;font-size:11px;font-weight:700;min-width:18px;height:18px;padding:0 5px;display:inline-grid;place-items:center}
/* controls */
.field{display:grid;gap:4px}.label{font-size:13px;font-weight:600;color:var(--muted);margin-bottom:2px}
input:not([type=checkbox]):not([type=file]),select,textarea{width:100%;min-height:44px;padding:10px 12px;border:1px solid #C9C6BE;border-radius:10px;background:#fff}
textarea{resize:vertical}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:12px;border:1px solid #C9C6BE;background:#fff;font-weight:600;text-decoration:none}
.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn.danger{color:var(--danger)}
.btn.sm{min-height:34px;padding:0 12px;font-size:14px}.btn.xl{min-height:60px;font-size:20px;border-radius:16px}.btn.block{display:flex;width:100%}.btn.icon{padding:0;width:44px}
.icon-btn{display:inline-grid;place-items:center;width:44px;height:44px;border:0;background:none;border-radius:12px;position:relative}
.switch{display:flex;gap:10px;align-items:flex-start}.switch input{width:22px;height:22px;margin-top:2px;flex:none}.switch small{display:block;color:var(--muted)}
.tabs{display:flex;gap:4px;background:#ECEAE4;border-radius:12px;padding:4px;margin-bottom:14px}
.tab{flex:1;min-height:38px;border:0;background:none;border-radius:9px;font-weight:600;color:var(--muted)}
.tab[aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 1px 2px #0002}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{min-height:36px;padding:0 14px;border-radius:99px;border:1px solid #C9C6BE;background:#fff;font-weight:600;font-size:14px}
.chip[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}.chip.warn{border-color:var(--dirty-bd);background:var(--dirty-bg);color:var(--dirty-fg)}.chip.warn[aria-pressed=true]{background:var(--dirty-fg);color:#fff}
.seg{display:flex;gap:6px}.seg.wrap{flex-wrap:wrap}.seg-btn{flex:1;min-height:42px;border-radius:10px;border:2px solid transparent;font-weight:600;padding:0 10px;background:var(--bg)}
.seg-btn[aria-pressed=true]{border-color:var(--ink)}
.seg-btn.st-dirty{background:var(--dirty-bg);color:var(--dirty-fg)}.seg-btn.st-progress{background:var(--progress-bg);color:var(--progress-fg)}.seg-btn.st-clean{background:#fff;border-color:#C9C6BE}.seg-btn.st-clean[aria-pressed=true]{border-color:var(--ink)}
.seg-btn.st-ready{background:var(--ready-bg);color:#fff}.seg-btn.st-dnd{background:var(--dnd-bg);color:var(--dnd-fg)}.seg-btn.st-ooo{background:var(--ooo-bg);color:var(--ooo-fg)}
.avatar{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--navy);color:#fff;font-weight:700;flex:none}.avatar.sm{width:22px;height:22px;font-size:11px}
.bar{height:8px;border-radius:99px;background:#E4E2DC;overflow:hidden}.bar span{display:block;height:100%;background:var(--navy);border-radius:99px}.bar.over span{background:#D92D20}
.pill{display:inline-block;padding:3px 10px;border-radius:99px;font-size:12px;font-weight:700;border:1.5px solid}
.st-dirty.pill,.room.st-dirty,.hk-room.st-dirty,.stat.st-dirty,.room-chip.st-dirty{background:var(--dirty-bg);color:var(--dirty-fg);border-color:var(--dirty-bd)}
.st-progress.pill,.room.st-progress,.hk-room.st-progress,.stat.st-progress,.room-chip.st-progress{background:var(--progress-bg);color:var(--progress-fg);border-color:var(--progress-bd)}
.st-clean.pill,.room.st-clean,.hk-room.st-clean,.stat.st-clean,.room-chip.st-clean{background:var(--clean-bg);color:var(--clean-fg);border-color:var(--clean-bd)}
.st-ready.pill,.room.st-ready,.hk-room.st-ready,.stat.st-ready,.room-chip.st-ready{background:var(--ready-bg);color:var(--ready-fg);border-color:var(--ready-bd)}
.st-dnd.pill,.room.st-dnd,.hk-room.st-dnd,.stat.st-dnd,.room-chip.st-dnd{background:var(--dnd-bg);color:var(--dnd-fg);border-color:var(--dnd-bd)}
.st-ooo.pill,.room.st-ooo,.hk-room.st-ooo,.stat.st-ooo,.room-chip.st-ooo{background:var(--ooo-bg);color:var(--ooo-fg);border-color:var(--ooo-bd)}
/* auth */
.splash{min-height:100vh;display:grid;place-items:center}
.logo{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--navy);color:#fff}.logo.big{width:60px;height:60px;border-radius:18px}
.brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:18px}
.auth{min-height:100vh;display:grid;place-items:start center;padding:24px 16px}
.auth-card{width:100%;max-width:420px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}
.auth-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.langs{display:flex;gap:4px}.lang{min-width:40px;min-height:34px;padding:0 8px;border-radius:8px;border:1px solid #C9C6BE;background:#fff;font-weight:600;font-size:13px}.lang[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}
.center-block{text-align:center;display:grid;gap:12px;padding:16px 0}.big-icon{color:var(--navy);display:grid;place-items:center}
/* shell */
.shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}
.nav{background:var(--navy);color:#fff;padding:18px 12px;display:flex;flex-direction:column;gap:4px;position:sticky;top:0;height:100vh}
.brand.side{padding:4px 10px 16px;font-size:16px}.nav .logo{background:#fff;color:var(--navy)}
.nav-item{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:10px;text-decoration:none;font-weight:600;color:#C9D3E3}
.nav-item[aria-current=page]{background:#ffffff1f;color:#fff}.nav-item .badge{margin-left:auto}
.main{padding:24px;max-width:1200px;width:100%}
.banner{display:flex;gap:8px;align-items:center;background:#FFF1D6;color:var(--dirty-fg);border-radius:10px;padding:8px 12px;margin-bottom:12px;font-size:14px}
.page-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.page{display:block}.page>section,.page .stack>*{margin-bottom:0}.page>.card,.page>section.card{margin-bottom:14px}
.two-col{display:grid;grid-template-columns:minmax(220px,1fr) 2fr;gap:14px;align-items:start}
/* board */
.board{display:grid;grid-template-columns:1fr;gap:16px}.board.has-panel{grid-template-columns:1fr 340px}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-bottom:12px}
.stat{display:grid;text-align:left;padding:10px 12px;border-radius:12px;border:1.5px solid;min-height:60px}
.stat[aria-pressed=true]{outline:3px solid #2F6FEB;outline-offset:1px}.stat-n{font-size:24px;font-weight:800;line-height:1}.stat-l{font-size:12px;font-weight:600}
.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}
.room{display:grid;gap:2px;text-align:left;padding:10px;border-radius:14px;border:2px solid;min-height:92px;align-content:start}
.room.sel{outline:3px solid #2F6FEB;outline-offset:2px}.room-num{font-size:22px;font-weight:800}.room-meta{font-size:12px;font-weight:600;opacity:.85}
.room-flag{font-size:11px;font-weight:700;background:#0002;border-radius:6px;padding:0 6px;justify-self:start}
.room-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;font-size:12px}.unassigned{font-weight:700}
.room.st-ready .avatar{background:#fff;color:var(--navy)}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:grid;gap:12px;align-content:start;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.panel-head{display:flex;justify-content:space-between;gap:8px}
.invite{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
/* assign etc */
.room-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:10px;border:2px solid;font-weight:700}.room-chip small{font-weight:600;font-size:11px;opacity:.8}
button.room-chip[aria-pressed=true]{outline:3px solid #2F6FEB}.chip-x{border:0;background:none;padding:0;display:inline-grid;color:inherit}
.hk-head{display:grid;gap:10px;margin-bottom:4px}.hk-progress{display:grid;gap:6px}.hk-card-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.hk-card-head .btn{margin-left:auto}.hk{display:grid;gap:10px}
.list{display:grid}.person{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid var(--line);flex-wrap:wrap}.person:first-child{border-top:0}.person.off{opacity:.5}.person select{width:auto;min-height:36px}
.type-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}.type-row input:not([type=checkbox]),.type-row select{width:auto;flex:1;min-width:90px}.type-row label input{width:70px;flex:none}
.inline-form{display:flex;gap:8px;width:100%}details{margin:10px 0}summary{cursor:pointer;font-weight:600}
.code{font-size:34px;font-weight:800;letter-spacing:.08em;margin:4px 0}.invite-card{margin-bottom:14px}
.issue p{margin:8px 0}
.photos{display:flex;gap:8px;flex-wrap:wrap}
.thumb{width:72px;height:72px;border-radius:10px;border:1px solid var(--line);overflow:hidden;background:#fff;padding:0;position:relative;display:inline-grid;place-items:center}
.thumb img{width:100%;height:100%;object-fit:cover}.thumb.big{width:200px;height:auto;aspect-ratio:4/3}
.thumb.add{border:2px dashed #C9C6BE;color:var(--muted);font-size:11px;font-weight:600;gap:0;align-content:center;cursor:pointer}
.thumb-x{position:absolute;top:2px;right:2px;width:24px;height:24px;border-radius:50%;border:0;background:#000a;color:#fff;display:grid;place-items:center;padding:0}
/* messages */
.msgpage{display:grid;grid-template-columns:280px 1fr;gap:14px;height:calc(100vh - 48px)}
.channels{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:auto;padding:6px}
.channel{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;background:none;padding:10px;border-radius:10px}.channel[aria-current=true]{background:var(--bg)}
.ch-body{display:grid;min-width:0;flex:1}.ch-body small{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.thread{background:#fff;border:1px solid var(--line);border-radius:var(--radius);display:grid;grid-template-rows:auto 1fr auto;min-height:0;overflow:hidden}.thread.none{place-items:center}
.thread-head{display:flex;align-items:center;gap:6px;padding:10px 14px;border-bottom:1px solid var(--line)}
.msgs{overflow:auto;padding:14px;display:flex;flex-direction:column;gap:6px}.day{align-self:center;color:var(--muted);font-size:12px;margin:8px 0}
.msg{max-width:78%;background:var(--bg);padding:8px 12px;border-radius:14px;border-bottom-left-radius:4px;align-self:flex-start;overflow-wrap:anywhere}
.msg.mine{align-self:flex-end;background:var(--navy);color:#fff;border-radius:14px;border-bottom-right-radius:4px}
.msg .who{font-size:12px;font-weight:700;color:var(--muted)}.msg time{display:block;font-size:11px;opacity:.65;text-align:right}.msg p{white-space:pre-wrap}
.composer{border-top:1px solid var(--line);padding:10px;display:grid;gap:8px}.composer-row{display:flex;gap:8px;align-items:center}.quick{margin-bottom:2px}
.only-narrow{display:none}
/* housekeeper */
.hk-page{max-width:560px;margin:0 auto;display:grid;gap:14px;align-content:start}
.hk-page section{display:grid;gap:8px}
.hk-page .h3{margin:6px 0 0;color:var(--muted);text-transform:uppercase;font-size:12px;letter-spacing:.05em}
.hk-room{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;border:2px solid;text-decoration:none}.hk-room.big{padding:18px}
.hk-num{font-size:30px;font-weight:800;min-width:72px}.hk-info{display:grid;flex:1;min-width:0}.hk-info small{opacity:.85}.hk-note{display:flex;gap:4px;align-items:center;font-weight:600}
.hk-links{display:grid;gap:8px;margin-top:8px}
.back{display:inline-flex;gap:4px;align-items:center;text-decoration:none;font-weight:600;color:var(--muted)}
.room-hero{display:flex;justify-content:space-between;align-items:flex-end;padding:18px;border-radius:18px;border:2px solid}
.room-detail.st-dirty .room-hero{background:var(--dirty-bg);color:var(--dirty-fg);border-color:var(--dirty-bd)}.room-detail.st-progress .room-hero{background:var(--progress-bg);color:var(--progress-fg);border-color:var(--progress-bd)}
.room-detail.st-clean .room-hero{border-color:var(--clean-bd)}.room-detail.st-ready .room-hero{background:var(--ready-bg);color:#fff}.room-detail.st-dnd .room-hero{background:var(--dnd-bg);color:var(--dnd-fg)}.room-detail.st-ooo .room-hero{background:var(--ooo-bg);color:var(--ooo-fg)}
.room-detail.st-ready .pill{background:#fff2;color:#fff;border-color:#fff8}
.hero-num{font-size:56px;font-weight:800;line-height:1}.hero-right{display:grid;gap:4px;justify-items:end}
.done-banner{display:grid;gap:4px;justify-items:center;text-align:center;padding:20px;background:#fff;border:1px solid var(--line);border-radius:16px}
/* toast + lightbox */
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:var(--ink);color:#fff;padding:10px 16px;border-radius:12px;z-index:30;max-width:90vw;box-shadow:0 6px 20px #0004}.toast.error{background:var(--danger)}
.lightbox{position:fixed;inset:0;background:#000d;display:grid;place-items:center;z-index:40;padding:16px}.lightbox img{max-width:100%;max-height:100%;border-radius:8px}.lightbox .icon-btn{position:absolute;top:12px;right:12px;color:#fff}
@media (max-width:860px){
 .shell{grid-template-columns:1fr}
 .nav{position:fixed;bottom:0;left:0;right:0;top:auto;height:auto;flex-direction:row;padding:6px 6px calc(6px + env(safe-area-inset-bottom));justify-content:space-around;z-index:20;overflow-x:auto}
 .brand.side{display:none}.nav-item{flex-direction:column;gap:2px;font-size:11px;padding:6px 10px;min-width:56px;position:relative;text-align:center}
 .nav-item .badge{position:absolute;top:0;right:6px;margin:0}
 .main{padding:16px 14px 90px}
 .board.has-panel{grid-template-columns:1fr}.panel{position:fixed;left:0;right:0;bottom:0;top:auto;max-height:80vh;border-radius:20px 20px 0 0;z-index:25;box-shadow:0 -8px 30px #0003}
 .two-col{grid-template-columns:1fr}
 .msgpage{grid-template-columns:1fr;height:calc(100vh - 110px)}.msgpage.in-thread .channels{display:none}.msgpage:not(.in-thread) .thread{display:none}.only-narrow{display:inline-grid}
 .toast{bottom:100px}
}
@media (prefers-reduced-motion:no-preference){.btn,.chip,.room,.hk-room{transition:transform .08s}.btn:active,.room:active,.hk-room:active{transform:scale(.98)}}
.invite-card>*+*{margin-top:10px}.invite-card .btns{margin-top:12px}.invite-card .switch{margin-top:14px}

.legal{margin-top:16px;text-align:center;font-size:13px;color:var(--muted)}
.doc{max-width:720px;margin:0 auto;padding:24px 16px 60px;line-height:1.6}.doc h1{font-size:28px;margin-bottom:6px}.doc h2{font-size:18px;margin:26px 0 6px}.doc ul{padding-left:20px}
.doc .draft{background:#FFF1D6;border:1px solid var(--dirty-bd);color:var(--dirty-fg);padding:12px 14px;border-radius:12px;margin:16px 0}
.card>p+.btn,.card>p+a.btn{margin-top:10px}

/* Serif for titles, the brand and big numbers; plain sans for everything you read in sentences. */
.h1,.h2,.brand,.room-num,.hk-num,.hero-num,.stat-n,.code,.day-title{font-family:var(--serif);font-weight:600;letter-spacing:0}
.h1{font-size:28px}.h2{font-size:22px}
.room-num{font-size:24px}.hk-num{font-size:32px}.hero-num{font-size:60px}.stat-n{font-size:26px}
/* checklist (housekeeper) */
.tasks-box{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.tasks-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:0 16px;border:0;background:none;text-align:left;font-weight:700;font-size:17px}
.tasks-toggle small{color:var(--muted);font-weight:500;margin-left:auto}.tasks-toggle .chev{display:inline-grid;transition:transform .15s}
.tasks-toggle[aria-expanded=true] .chev{transform:rotate(90deg)}
.tasks{margin:0;padding:4px 16px 16px 38px;display:grid;gap:10px;font-size:17px;line-height:1.35}.tasks li::marker{color:var(--muted)}
.tasks-box>p{padding:0 16px 14px}
/* checklist editor (manager) */
.items{display:grid;gap:8px;margin:12px 0}.item-row{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.item-row input:not([type=checkbox]){flex:1;min-width:200px;width:auto}.item-row select{width:auto;min-height:44px}.item-row.add{margin-top:12px}
.icon-btn.sm{width:34px;height:34px;font-size:12px;border:1px solid #C9C6BE;background:#fff}
/* past days */
.datebar{display:flex;gap:6px;overflow-x:auto;padding:2px 0 10px;margin-bottom:6px}
.daychip{display:grid;justify-items:center;gap:1px;min-width:58px;padding:8px 6px;border-radius:14px;border:1px solid #C9C6BE;background:#fff}
.daychip small{font-size:11px;color:var(--muted);font-weight:600}.daychip strong{font-family:var(--serif);font-size:20px}
.daychip[aria-pressed=true]{background:var(--navy);color:#fff;border-color:var(--navy)}.daychip[aria-pressed=true] small{color:#C9D3E3}
.dot{font-size:11px;min-height:16px;min-width:16px;padding:0 5px;border-radius:99px;display:inline-grid;place-items:center;color:var(--muted)}.dot.on{background:#0001;font-weight:700;color:inherit}
.day-title{margin:6px 0 12px}
.stats.four{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.stat.plain{background:#fff;border-color:var(--line);color:var(--ink)}
.hist-list{display:grid;margin-top:10px}.hist-row{display:grid;grid-template-columns:64px 1fr auto;gap:12px;align-items:start;padding:10px 0;border-top:1px solid var(--line)}.hist-row:first-child{border-top:0}
.hist-room{font-family:var(--serif);font-weight:600;font-size:22px}.hist-main{display:grid;gap:2px}.hist-note{display:flex;gap:4px;align-items:center;color:var(--dirty-fg);font-size:14px}
.hist-side{display:grid;justify-items:end;gap:2px;text-align:right}.slow{color:var(--danger);font-weight:700}
.tag.ok{background:#DCFCE7;color:#14532D}.tag.bad{background:var(--ooo-bg);color:var(--ooo-fg)}.grow{flex:1}
@media (max-width:860px){.hist-row{grid-template-columns:52px 1fr}.hist-side{grid-column:2;justify-items:start;text-align:left;display:flex;gap:8px;flex-wrap:wrap;align-items:center}}
.tasks-toggle>span:first-child{flex:1;min-width:0}.tasks-toggle small{white-space:nowrap;margin-left:0}.tasks-toggle .chev{flex:none;width:22px;height:22px;place-items:center}
/* people who are off today */
.hk-actions{display:flex;gap:8px;flex-wrap:wrap}
.hk.off{background:#EFEEEA;border-style:dashed}
.hk.off .avatar{background:#9A9890}.hk.off .hk-card-head strong,.hk.off .hk-card-head .muted,.hk.off .bar,.hk.off .chips{opacity:.55}
.tag.off{background:#DAD8D2;color:#4B4943}
.week{display:flex;gap:6px;flex-wrap:wrap;align-items:center;width:100%;padding:2px 0 6px}.week .label{margin:0 4px 0 0}
.chip.sm{min-height:30px;padding:0 11px;font-size:13px}

/* date on the rooms screen */
.datebox{display:grid;justify-items:end;line-height:1.15}.dow{font-family:var(--serif);font-weight:600;font-size:24px}.dnum{color:var(--muted);font-size:14px}
/* sidebar */
.nav-item{position:relative;gap:12px;padding:6px 12px 6px 8px}
.nav-ico{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px;flex:none;transition:background .15s}
.nav-item:hover .nav-ico{background:#ffffff14}
.nav-item[aria-current=page]{background:none;color:#fff}
.nav-item[aria-current=page] .nav-ico{background:#ffffff2b}
.nav-item[aria-current=page]::after{content:"";position:absolute;right:-12px;top:9px;bottom:9px;width:4px;border-radius:4px 0 0 4px;background:#fff}
.nav-foot{margin-top:auto;display:grid;gap:10px}
.side-card{background:#ffffff14;border-radius:14px;padding:12px 14px;display:grid;gap:8px;color:#fff}
.side-card-top{display:flex;justify-content:space-between;align-items:baseline}.side-card-top strong{font-family:var(--serif);font-weight:600;font-size:16px}.side-card-top span{font-size:13px;color:#C9D3E3}
.side-bar{height:6px;border-radius:99px;background:#ffffff2e;overflow:hidden}.side-bar span{display:block;height:100%;background:#fff;border-radius:99px}
.side-card small{color:#C9D3E3;font-size:12px}
.usercard{display:flex;align-items:center;gap:10px;padding:8px;border-radius:12px;text-decoration:none;color:#fff}
.usercard:hover,.usercard[aria-current=page]{background:#ffffff14}
.usercard .avatar{background:#fff;color:var(--navy)}.uc-text{display:grid;min-width:0}.uc-text strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.uc-text small{color:#C9D3E3}
.nav-me{display:none}
@media (max-width:860px){
 .nav-foot{display:none}.nav-me{display:flex}
 .nav-item{padding:4px 8px;gap:2px;min-width:60px;justify-content:center;align-items:center}
 .nav-ico{width:52px;height:30px;border-radius:15px}
 .nav-item[aria-current=page]::after{display:none}
 .nav-item .badge{right:6px;top:0}
}
@media (max-width:860px){
 .nav{justify-content:stretch;gap:0;padding-left:4px;padding-right:4px}
 .nav-item{flex:1 1 0;min-width:0;padding:4px 0;font-size:10px}
 .nav-label{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .nav-ico{width:44px;height:28px;border-radius:14px}
 .nav-item .badge{right:50%;margin-right:-26px}
}
@media (max-width:860px){.nav-label{font-size:9.5px;letter-spacing:-.01em}.nav-item{padding-left:0;padding-right:0}}
/* hotel name: bigger than the menu items */
.brand.side{padding:6px 10px 22px;font-size:23px;line-height:1.15;gap:12px;align-items:center}
.brand.side .logo{width:36px;height:36px;flex:none;border-radius:10px}
.brand.side span:last-child{overflow-wrap:anywhere}
/* quiet background texture: faint dot grid + a soft warm glow in the corner */
body{background-color:var(--bg);
 background-image:radial-gradient(900px 500px at 100% 0,#ece6d9aa,transparent 70%),radial-gradient(#1b2a4114 1px,transparent 1.3px);
 background-size:auto,22px 22px;background-attachment:fixed,scroll}
@media (max-width:860px){.brand.side{display:none}}
/* faint diamond lattice (pure CSS, so it works under the strict CSP) */
body{background-image:radial-gradient(900px 500px at 100% 0,#ece6d9aa,transparent 70%),
 repeating-linear-gradient(45deg,#1b2a410b 0 1px,transparent 1px 26px),
 repeating-linear-gradient(-45deg,#1b2a410b 0 1px,transparent 1px 26px);
 background-size:auto;background-attachment:fixed,scroll,scroll}
/* gentle depth on boxes */
.card,.stat,.room,.seg-btn.on,.chip{box-shadow:0 1px 2px #1b2a410f,0 4px 10px -4px #1b2a4126}
.room,.stat{transition:box-shadow .15s,transform .15s}
.room:hover{box-shadow:0 2px 4px #1b2a4114,0 8px 16px -6px #1b2a4133;transform:translateY(-1px)}
/* stronger texture + depth */
body{background-image:radial-gradient(900px 500px at 100% 0,#e6dcc6cc,transparent 70%),
 repeating-linear-gradient(45deg,#1b2a4122 0 1px,transparent 1px 24px),
 repeating-linear-gradient(-45deg,#1b2a4122 0 1px,transparent 1px 24px)}
.card,.stat,.room,.seg-btn.on,.chip{box-shadow:0 1px 3px #1b2a4126,0 6px 14px -4px #1b2a4147}
.room:hover{box-shadow:0 3px 6px #1b2a4126,0 12px 22px -6px #1b2a4159;transform:translateY(-2px)}
/* crosshatch: softened */
body{background-image:radial-gradient(900px 500px at 100% 0,#e6dcc6cc,transparent 70%),
 repeating-linear-gradient(45deg,#1b2a410d 0 1px,transparent 1px 24px),
 repeating-linear-gradient(-45deg,#1b2a410d 0 1px,transparent 1px 24px)}
/* collapsible Setup tile */
.card.collapsible{padding:0}
.card-toggle{display:flex;align-items:center;gap:10px;width:100%;min-height:60px;padding:0 16px;border:0;background:none;text-align:left;border-radius:var(--radius)}
.card-toggle .ct-text{display:flex;align-items:baseline;gap:10px;flex:1;min-width:0}.card-toggle .h3{margin:0}
.card-toggle .chev{display:inline-grid;flex:none;width:22px;height:22px;place-items:center;transition:transform .15s}
.card-toggle[aria-expanded=true] .chev{transform:rotate(90deg)}
.card-body{padding:0 16px 16px;display:grid;gap:12px}
/* lost & found note */
.lf-note{display:grid;gap:8px;background:#F6F5F2;border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.lf-note.has{background:#EEF5EC;border-color:#BFD8B8}
.lf-chips{display:flex;flex-wrap:wrap;gap:6px}.lf-chips .chip{border:1px solid var(--line);background:#fff;border-radius:99px;padding:4px 12px;font-size:13px;font-weight:600}
.lf-row{display:flex;gap:8px}.lf-row input{flex:1;min-width:0}
.lf-saved{margin:0;padding:8px 12px;background:#EEF5EC;border-radius:10px}
/* profile pictures */
.avatar{background:var(--av,var(--navy))}
.avatar.xl{width:72px;height:72px;font-size:34px}
.avatar.sm{font-size:12px}
.avatar[data-c]{color:#fff}
.room.st-ready .avatar:not([data-c]){background:#fff;color:var(--navy)}
.room .avatar[data-c]{box-shadow:0 0 0 2px #ffffffd9}
.usercard .avatar:not([data-c]){background:#fff;color:var(--navy)}
.usercard .avatar[data-c]{box-shadow:0 0 0 2px #ffffff55}
.hk.off .avatar{background:#9A9890}
.avatar-card{display:grid;gap:10px}
.av-preview{display:flex;align-items:center;gap:14px}.av-preview p{margin:0}
.swatches{display:flex;flex-wrap:wrap;gap:10px}
.swatch{width:36px;height:36px;border-radius:50%;border:2px solid #fff;background:var(--sw);box-shadow:0 0 0 1px var(--line)}
.swatch.def{background:var(--navy);--sw:var(--navy)}
.swatch[aria-pressed=true]{box-shadow:0 0 0 3px #2F6FEB}
.emoji-grid{display:flex;flex-wrap:wrap;gap:8px}
.emoji-btn{min-width:44px;height:44px;padding:0 10px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1}
.emoji-btn.txt{font-size:14px;font-weight:600}
.emoji-btn[aria-pressed=true]{border-color:#2F6FEB;box-shadow:0 0 0 2px #2F6FEB;background:#EEF4FF}

/* Smoor wordmark: "Rooms" backwards. Gold oo, mirrored R. */
.wm{font-family:var(--serif);font-weight:600;letter-spacing:0;line-height:1;white-space:nowrap;display:inline-block;color:inherit}
.wm b{color:#E9A23B;font-weight:inherit}
.wm i{display:inline-block;font-style:normal;transform:scaleX(-1)}
.wm.lg{font-size:34px;color:var(--navy)}
.auth-brand{font-size:34px}
.powered{padding:6px 10px 0;font-size:20px;opacity:.9}
@media (max-width:860px){.powered{display:none}}

/* a chosen colour always wins over the default white/grey circles (sidebar, room cards, off-duty) */
.avatar[data-c],.usercard .avatar[data-c],.room.st-ready .avatar[data-c],.hk.off .avatar[data-c]{background:var(--av);color:#fff}
.hk.off .avatar[data-c]{opacity:.6}

/* top of the sidebar: towel stack + smooR wordmark (the hotel name now sits after each page title) */
.brand.side{font-size:30px;gap:12px;padding:6px 6px 22px}
.brand.side .wm{color:#fff}
.logo.towel{padding:3px}
.auth-brand .logo.towel{width:40px;height:40px;border-radius:12px;background:#fff;border:1px solid var(--line);padding:4px}
.shell .h1::after{content:" \00B7  " var(--hotel);font-weight:600;font-size:.62em;color:var(--muted);white-space:nowrap;margin-left:.15em}
@media (max-width:420px){.auth-brand{gap:8px}.wm.lg{font-size:27px}.auth-brand .logo.towel{width:34px;height:34px}}

/* staff: sort bar, role groups, and room between people waiting to be accepted */
.sortbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sortbar .label{margin-right:2px}
.group-h{margin:16px 0 2px;font-size:13px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-family:inherit}
.group-h:first-of-type{margin-top:8px}
.card.warn .row-between{padding:14px 0;gap:14px}
.card.warn .row-between+.row-between{border-top:1px solid var(--dirty-bd)}
.card.warn .btns{gap:12px}
