/* Estelle Cabin: dark slate + brass, Cormorant Garamond display, Inter text. Mobile-first. */
:root {
  --bg: #0d1012; --bg2: #111518; --card: #161a1e; --card2: #1c2126; --line: #262c31; --line2: #323a41;
  --ink: #f3efe8; --ink2: #d8d2c6; --mute: #9ba3a9; --gold: #c9a66b; --gold2: #e2c48f;
  --in: #3fb67a; --out: #f0a030; --turn: #e5484d; --stay: #34495e; --block: #3d4349;
  --blue: #6b9cf0; --teal: #36b9a8; --focus: #ffd58a;
  --r: 14px; --tap: 52px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; min-height: 100vh; }
a { color: var(--gold2); }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.serif, h1, h2.sect, .bigdate, .month h3 { font-family: "Cormorant Garamond", Georgia, serif; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mute { color: var(--mute); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: .12em; }
.sub { color: var(--mute); font-size: 14px; margin: 4px 0 14px; }
.kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }

/* ---------- navigation ---------- */
.topnav { position: sticky; top: 0; z-index: 20; background: rgba(13, 16, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.navin { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 10px; padding: 8px 16px; }
.brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navlinks { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; -webkit-overflow-scrolling: touch; }
.navlinks::-webkit-scrollbar { display: none; }
.navlinks a { color: var(--mute); text-decoration: none; padding: 12px 10px; font-size: 14px; font-weight: 600; white-space: nowrap; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.navlinks a.on { color: var(--ink); background: var(--card2); }
.nbadge { background: var(--turn); color: #fff; border-radius: 999px; font-size: 11px; padding: 1px 7px; font-weight: 700; }
.signout { margin: 0; }
.linkbtn { background: none; border: 0; color: var(--mute); font: inherit; font-size: 14px; cursor: pointer; padding: 12px 6px; min-height: 44px; }
.linkbtn:hover { color: var(--ink); }

/* ---------- layout ---------- */
.wrap { max-width: 680px; margin: 0 auto; padding: 18px 16px 120px; }
.wrap.wide { max-width: 1160px; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 6px 0 18px; }
.pagehead h1, .greet h1 { font-weight: 500; font-size: clamp(32px, 7vw, 46px); margin: 2px 0 4px; letter-spacing: .04em; line-height: 1.1; }
.greet { margin: 8px 0 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 0 0 16px; }
.card.narrow { max-width: 640px; }
h2.sect { font-weight: 600; font-size: 26px; margin: 0 0 10px; letter-spacing: .03em; display: flex; align-items: center; gap: 10px; }
.count { font-family: Inter, sans-serif; font-size: 13px; background: var(--card2); border: 1px solid var(--line2); color: var(--ink2); padding: 2px 9px; border-radius: 999px; }
.cols { display: grid; gap: 0 16px; }
.dash { display: grid; gap: 0 16px; }
@media (min-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; align-items: start; }
  .dash { grid-template-columns: 1fr 1.15fr; align-items: start; }
}
.back { display: inline-block; color: var(--mute); text-decoration: none; padding: 10px 0; font-size: 15px; min-height: 44px; }
.empty { color: var(--mute); padding: 18px; text-align: center; border: 1px dashed var(--line2); border-radius: 12px; }
.empty.ok { color: var(--in); border-color: rgba(63, 182, 122, .35); }

/* ---------- banners & flash ---------- */
.flash, .banner { border-radius: 12px; padding: 13px 15px; margin: 0 0 14px; font-size: 15px; border: 1px solid; }
.flash-ok { background: rgba(63, 182, 122, .12); border-color: rgba(63, 182, 122, .45); color: #bff0d4; }
.flash-error, .banner.bad { background: rgba(229, 72, 77, .12); border-color: rgba(229, 72, 77, .5); color: #ffd1d2; }
.banner.warn { background: rgba(240, 160, 48, .1); border-color: rgba(240, 160, 48, .45); color: #ffe2b8; }
.banner.info { background: rgba(107, 156, 240, .1); border-color: rgba(107, 156, 240, .45); color: #d7e4ff; }
.banner form.inline { display: inline; margin-left: 8px; }
.toast { opacity: 0; visibility: hidden; pointer-events: none; position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%) translateY(140%); background: var(--card2); border: 1px solid var(--line2); color: var(--ink); padding: 12px 18px; border-radius: 12px; transition: transform .25s, opacity .25s; z-index: 50; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.err { border-color: var(--turn); }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap); padding: 12px 20px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card2); color: var(--ink); font: 600 16px/1.2 Inter, sans-serif; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--gold); color: var(--ink); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.btn-primary:hover { background: var(--gold2); color: #1a1408; }
.btn-ok { background: var(--in); border-color: var(--in); color: #04170b; }
.btn-ok:hover { background: #52c98c; color: #04170b; }
.btn-danger { background: transparent; border-color: rgba(229, 72, 77, .7); color: #ff9da0; }
.btn-ghost { background: transparent; }
.btn-block { display: flex; width: 100%; }
.btn-xl { min-height: 62px; font-size: 18px; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btnrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.btnrow form { margin: 0; }
.stack { display: grid; gap: 12px; margin: 0; }
.row-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin: 6px 0; }
.row-form > *:first-child { flex: 1 1 200px; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; align-items: end; }
.field { display: grid; gap: 6px; margin: 0; }
.field > span, legend { font-size: 13px; font-weight: 600; color: var(--ink2); letter-spacing: .02em; }
input, select, textarea { width: 100%; min-height: 48px; background: var(--bg2); border: 1px solid var(--line2); color: var(--ink); border-radius: 10px; padding: 11px 12px; font: 16px/1.4 Inter, sans-serif; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgba(201, 166, 107, .25); }
input[type="checkbox"], input[type="radio"] { width: 24px; height: 24px; min-height: 0; accent-color: var(--gold); flex: none; margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0; display: grid; gap: 4px; }
.switch, .radio { display: flex; gap: 12px; align-items: center; padding: 10px 2px; cursor: pointer; min-height: 48px; }
.copyrow { display: flex; gap: 8px; margin: 8px 0; }
.copyrow input { font-family: ui-monospace, Menlo, monospace; font-size: 13px; }
.linkbox small { display: block; color: var(--ink2); }

/* ---------- status chips ---------- */
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 9px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.s-unassigned { color: #ffcf8a; border-color: rgba(240, 160, 48, .55); background: rgba(240, 160, 48, .1); }
.s-assigned { color: #c8daff; border-color: rgba(107, 156, 240, .55); background: rgba(107, 156, 240, .12); }
.s-accepted { color: #a9eee5; border-color: rgba(54, 185, 168, .55); background: rgba(54, 185, 168, .12); }
.s-in_progress { color: #ffd9a0; border-color: rgba(240, 160, 48, .7); background: rgba(240, 160, 48, .18); }
.s-completed { color: #b9f0cf; border-color: rgba(63, 182, 122, .6); background: rgba(63, 182, 122, .14); }
.s-declined, .s-attention { color: #ffc2c4; border-color: rgba(229, 72, 77, .65); background: rgba(229, 72, 77, .15); }
.s-cancelled { color: var(--mute); border-color: var(--line2); background: transparent; }
.s-sameday { color: #fff; border-color: var(--turn); background: var(--turn); }
.s-open { color: #ffcf8a; border-color: rgba(240, 160, 48, .55); }

/* ---------- landing / auth ---------- */
body.landing .wrap, body.landing main { max-width: none; padding: 0; }
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 12, .15) 0%, rgba(8, 10, 12, .35) 45%, rgba(8, 10, 12, .9) 100%); }
.hero-in { position: relative; padding: 40px 20px calc(48px + env(safe-area-inset-bottom)); max-width: 760px; }
.hero h1 { font-weight: 500; font-size: clamp(44px, 12vw, 92px); letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 0; line-height: 1.02; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.tag-line { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(20px, 5vw, 28px); color: #ece6da; margin: 10px 0 26px; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.pill { display: inline-flex; align-items: center; min-height: var(--tap); border: 1px solid var(--gold); color: var(--ink); padding: 12px 26px; border-radius: 999px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; background: rgba(13, 16, 18, .55); backdrop-filter: blur(4px); }
.pill:hover { background: var(--gold); color: #1a1408; }
.hero-note { color: #d6d0c4; font-size: 14px; margin: 18px 0 0; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
body.auth .wrap { display: grid; place-items: start center; padding-top: 8vh; }
.authcard { width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; }
.authcard h1 { font-weight: 500; font-size: 38px; margin: 6px 0 12px; }

/* ---------- cleaner job cards ---------- */
.jobcard { display: block; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--r); padding: 16px 16px 14px; margin: 0 0 14px; color: var(--ink); text-decoration: none; }
.jobcard:hover { border-color: var(--gold); color: var(--ink); }
.jobcard.s-accepted { border-left-color: var(--teal); }
.jobcard.s-in_progress { border-left-color: var(--out); }
.jobcard.rush { border-left-color: var(--turn); }
.jc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jc-rel { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.jc-date { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; line-height: 1.15; margin: 6px 0 2px; }
.jc-prop { font-weight: 600; color: var(--ink2); }
.jc-meta { color: var(--mute); font-size: 15px; margin-top: 2px; }
.jc-cta { margin-top: 10px; font-weight: 600; color: var(--gold2); }
.rushbar { background: var(--turn); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .05em; padding: 10px 12px; border-radius: 10px; margin-top: 12px; }
.row-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; min-height: var(--tap); }
h2.sect + .row-link, .greet + .row-link { border-top: 1px solid var(--line); }

/* ---------- cleaner job page ---------- */
.jobhead.rush { border-color: var(--turn); }
.jh-top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.bigdate { font-size: clamp(34px, 9vw, 44px); line-height: 1.1; margin: 2px 0 12px; }
.rows .row { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; font-size: 16px; }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-top: 5px; flex: none; }
.dot.in { background: var(--in); } .dot.out { background: var(--out); } .dot.clean { background: var(--gold); }
.note { background: var(--bg2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 14px; margin-top: 14px; color: var(--ink2); }
.actions { display: grid; gap: 10px; margin-top: 18px; }
.actions form { margin: 0; }
.done-note { background: rgba(63, 182, 122, .12); border: 1px solid rgba(63, 182, 122, .45); color: #bff0d4; padding: 14px; border-radius: 12px; font-weight: 600; }
.done-note.bad { background: rgba(229, 72, 77, .12); border-color: rgba(229, 72, 77, .5); color: #ffd1d2; }
details.decline > summary, details.codebox > summary { list-style: none; }
details.decline > summary::-webkit-details-marker, details.codebox > summary::-webkit-details-marker { display: none; }
details.decline[open] > summary { margin-bottom: 10px; }
.codebox { border: 1px dashed var(--gold); border-radius: 12px; padding: 0; margin: 4px 0 12px; }
.codebox > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; min-height: var(--tap); }
.codebox > summary span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.codebox > summary b { color: var(--gold2); font-weight: 600; }
.codebox[open] > summary b { display: none; }
.codebox .code { font-size: 38px; color: var(--gold); text-align: center; padding: 0 16px 16px; }

.checklist { display: grid; gap: 0; }
.ck { margin: 0; }
.ckrow { width: 100%; display: flex; gap: 14px; align-items: flex-start; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); font: 16px/1.4 Inter, sans-serif; padding: 15px 4px; cursor: pointer; min-height: 56px; }
.ckrow:disabled { cursor: default; opacity: .75; }
.ckrow .box { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--line2); flex: none; margin-top: -1px; position: relative; }
.ckrow.done .box { background: var(--in); border-color: var(--in); }
.ckrow.done .box::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #04170b; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ckrow.done .lbl { color: var(--mute); text-decoration: line-through; }
.ckrow em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--mute); }
.ckrow.busy { opacity: .6; }

.supply { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.si { display: grid; flex: 1 1 160px; }
.si small { color: var(--mute); }
.seg { display: inline-flex; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; margin: 0; }
.seg button { min-width: 62px; min-height: 48px; background: transparent; color: var(--ink2); border: 0; border-left: 1px solid var(--line2); font: 600 15px Inter, sans-serif; cursor: pointer; }
.seg button:first-of-type { border-left: 0; }
.seg button[aria-pressed="true"].seg-ok { background: var(--in); color: #04170b; }
.seg button[aria-pressed="true"].seg-low { background: var(--out); color: #2b1900; }
.seg button[aria-pressed="true"].seg-out { background: var(--turn); color: #fff; }
.seg button:disabled { opacity: .5; cursor: default; }

.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin: 8px 0 12px; }
.ph { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph form { position: absolute; top: 4px; right: 4px; margin: 0; }
.ph-del { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .7); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.upload { position: relative; }
.upstatus { color: var(--mute); font-size: 14px; margin-top: 8px; min-height: 1em; }

.cats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.cats legend { margin-bottom: 4px; }
.cat { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line2); border-radius: 12px; padding: 12px; min-height: var(--tap); cursor: pointer; }
.cat:has(input:checked) { border-color: var(--gold); background: rgba(201, 166, 107, .1); }

.issue { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: var(--bg2); }
.issue.urgent { border-color: rgba(229, 72, 77, .6); }
.issue-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.issue p { margin: 8px 0; }
.issue-wrap { margin-bottom: 4px; }

.finishbar { position: sticky; bottom: 0; background: linear-gradient(180deg, rgba(13, 16, 18, 0), var(--bg) 30%); padding: 22px 0 calc(14px + env(safe-area-inset-bottom)); margin: 0 -2px; z-index: 5; }
.finishbar form { margin: 0; }
.blockers { margin: 0 0 8px; padding: 0 0 0 18px; color: #ffcf8a; font-size: 14px; }
.blockers:empty { display: none; }

/* ---------- owner lists ---------- */
.jrow { display: grid; grid-template-columns: 92px 1fr; gap: 4px 12px; padding: 13px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; align-items: center; }
.jrow:hover { background: var(--card2); color: var(--ink); }
.jrow.rush { box-shadow: inset 4px 0 0 var(--turn); }
.jrow.attn { background: rgba(229, 72, 77, .06); }
.jr-date { display: grid; }
.jr-date small { color: var(--gold); font-size: 12px; }
.jr-main { display: grid; min-width: 0; }
.jr-main small { color: var(--mute); font-size: 14px; }
.attn-reason { color: #ffb3b5 !important; }
.jr-tags { grid-column: 2; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.jr-tags small { color: var(--mute); font-size: 13px; }
@media (min-width: 700px) { .jrow { grid-template-columns: 110px 1fr; } }
.att { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 6px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.att:hover { background: var(--card2); color: var(--ink); }
.att span:last-child { display: grid; }
.att small { color: var(--mute); }
.att-k { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 7px; white-space: nowrap; }
.att-k.bad { background: var(--turn); color: #fff; }
.att-k.warn { background: var(--out); color: #2b1900; }
.tabs { display: flex; gap: 6px; margin: 0 0 12px; overflow-x: auto; }
.tab { padding: 10px 14px; border-radius: 10px; color: var(--mute); text-decoration: none; font-weight: 600; white-space: nowrap; border: 1px solid transparent; min-height: 44px; }
.tab.on { color: var(--ink); background: var(--card); border-color: var(--line); }

.health { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; }
.health.bad { border-color: rgba(229, 72, 77, .6); }
.health.warn { border-color: rgba(240, 160, 48, .55); }
.h-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hbadge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.hbadge.good { background: rgba(63, 182, 122, .18); color: #b9f0cf; }
.hbadge.warn { background: rgba(240, 160, 48, .2); color: #ffd9a0; }
.hbadge.bad { background: rgba(229, 72, 77, .2); color: #ffc2c4; }
.warnline { color: #ffd9a0; font-size: 14px; }
.kv { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 6px 14px; margin: 10px 0; font-size: 15px; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.kv dd.err { color: #ffb3b5; }
.cklist { list-style: none; padding: 0; margin: 0; }
.cklist li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cklist .box { width: 20px; height: 20px; border-radius: 5px; border: 2px solid var(--line2); flex: none; margin-top: 2px; }
.cklist li.done .box { background: var(--in); border-color: var(--in); }
.cklist li small { margin-left: auto; color: var(--mute); white-space: nowrap; }
.plain { padding-left: 18px; margin: 6px 0; }
.sup-low { color: var(--out); } .sup-out { color: var(--turn); } .sup-ok { color: var(--in); }
.timeline { list-style: none; padding: 0; margin: 0; font-size: 14px; max-height: 520px; overflow: auto; }
.timeline li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.timeline time { display: block; color: var(--gold); font-size: 12px; }
.nlog .nrow { border-bottom: 1px solid var(--line); padding: 12px 4px; }
.nlog .nrow.attn { background: rgba(229, 72, 77, .06); }
.nr-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nr-top small { color: var(--mute); margin-left: auto; }
.nbody { font-size: 14px; color: var(--ink2); margin: 6px 0; overflow-wrap: anywhere; }

/* ---------- calendar ---------- */
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 0 12px; }
@media (min-width: 700px) { .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lg { display: flex; align-items: center; gap: 10px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 13px; line-height: 1.25; }
.sw { width: 24px; height: 24px; border-radius: 6px; flex: none; }
.sw.in { background: var(--in); } .sw.out { background: var(--out); } .sw.turn { background: var(--turn); } .sw.stay { background: var(--stay); }
.sw.block { background: repeating-linear-gradient(45deg, var(--block), var(--block) 4px, #2a2f34 4px, #2a2f34 8px); }
.sw.jobsw { background: var(--bg); border: 1px solid var(--line2); position: relative; }
.sw.jobsw::after { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); right: 3px; bottom: 3px; }
.caveat { border-left: 3px solid var(--out); padding-left: 10px; }
.month { margin: 18px 0 8px; }
.month h3 { font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.dow { text-align: center; font-size: 11px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; padding-bottom: 2px; }
.cell { aspect-ratio: 1; border-radius: 8px; background: #14181b; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; position: relative; color: inherit; text-decoration: none; min-width: 0; }
.cell.blank { background: none; }
.cell .n { font-size: 15px; font-weight: 600; color: #cfd4d8; }
.cell .tag { font-size: 9px; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.cell.in { background: var(--in); color: #06210f; } .cell.out { background: var(--out); color: #2b1900; }
.cell.turn { background: var(--turn); color: #fff; } .cell.stay { background: var(--stay); color: #fff; }
.cell.block { background: repeating-linear-gradient(45deg, var(--block), var(--block) 5px, #2a2f34 5px, #2a2f34 10px); color: #c5cacf; }
.cell.in .n, .cell.out .n, .cell.turn .n, .cell.stay .n { color: inherit; }
.cell.past { opacity: .42; }
.cell.today { box-shadow: 0 0 0 2px #fff inset; }
.jdot { position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px rgba(0, 0, 0, .45); }
.jdot.s-completed { background: #b9f0cf; } .jdot.s-unassigned, .jdot.s-declined { background: #fff; }
@media (max-width: 380px) { .cell .tag { font-size: 8px; } .cell .n { font-size: 14px; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* phone navigation: every link visible, nothing scrolls sideways */
@media (max-width: 760px) {
  .topnav { position: static; }
  .navin { flex-wrap: wrap; padding: 6px 12px; gap: 0 8px; }
  .brand { font-size: 19px; flex: 1; }
  .navlinks { order: 3; flex: 1 0 100%; flex-wrap: wrap; overflow: visible; gap: 4px; padding-bottom: 6px; }
  .navlinks a { padding: 10px 12px; background: var(--card); border: 1px solid var(--line); }
  .navlinks a.on { border-color: var(--gold); }
}

/* booking dropped from the Airbnb feed, cancellation not yet confirmed */
.cell.unconfirmed { outline: 2px dashed var(--out); outline-offset: -3px; }
.jobcard.pending { border-left-color: var(--out); opacity: .92; }
.attn-banner { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.decision { border: 1px solid rgba(229, 72, 77, .55); border-radius: 12px; padding: 12px 14px; margin: 0 0 10px; background: rgba(229, 72, 77, .06); }
.decision .btnrow { margin-top: 8px; }
.sw.unconf { background: #14181b; outline: 2px dashed var(--out); outline-offset: -3px; }
