:root {
  --navy: #0F1E36; --navy-2: #1A2D4D; --navy-3: #2B4064;
  --fox: #E8641B; --fox-ink: #B4430B; --fox-btn: #C2410C; --fox-tint: #FFF1E8;
  --ink: #142033; --muted: #556073; --line: #E1E5EC; --bg: #F5F6F8; --card: #FFFFFF;
  --ok: #166534; --ok-tint: #DCFCE7; --warn: #92400E; --warn-tint: #FEF3C7; --bad: #B91C1C; --bad-tint: #FEE2E2;
  --s-enquiry: #374151; --s-enquiry-bg: #EEF0F3; --s-enquiry-bar: #6B7280;
  --s-quoted: #5B21B6; --s-quoted-bg: #EDE9FE; --s-quoted-bar: #7C3AED;
  --s-booked: #1D4ED8; --s-booked-bg: #DBEAFE; --s-booked-bar: #2563EB;
  --s-done: #92400E; --s-done-bg: #FEF3C7; --s-done-bar: #D97706;
  --s-paid: #166534; --s-paid-bg: #DCFCE7; --s-paid-bar: #16A34A;
  --r: 14px; --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-size: 16px; line-height: 1.4; min-height: 100vh; }
a { color: var(--fox-ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
h1 { font-size: 26px; letter-spacing: -0.02em; }
h2 { font-size: 18px; letter-spacing: -0.01em; }
h3 { font-size: 15px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--fox); outline-offset: 2px; }

/* ---------- shell ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--navy); color: #fff; padding: calc(var(--safe-t) + 8px) 16px 8px; display: flex; align-items: center; gap: 10px; min-height: 56px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: #fff; text-decoration: none; }
.wordmark svg { width: 30px; height: 30px; flex: none; }
.wordmark b { color: #FFB27F; font-weight: 800; }
.top .grow { flex: 1; }
.iconbtn { width: 48px; height: 48px; border-radius: 12px; border: 0; background: transparent; color: inherit; display: inline-grid; place-items: center; cursor: pointer; }
.iconbtn svg { width: 24px; height: 24px; }
.top .iconbtn:hover { background: var(--navy-2); }
main { padding: 16px 16px calc(var(--tab-h) + var(--safe-b) + 28px); max-width: 1180px; margin: 0 auto; }
.side { display: none; }
.tabs { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(6, 1fr); padding-bottom: var(--safe-b); }
.tabs a { min-height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: var(--muted); text-decoration: none; position: relative; }
.tabs a svg { width: 24px; height: 24px; }
.tabs a[aria-current="page"] { color: var(--fox-ink); }
.tabs a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 24%; right: 24%; height: 3px; border-radius: 0 0 3px 3px; background: var(--fox); }
.tabs .dot { position: absolute; top: 7px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.fab { height: 48px; padding: 0 18px 0 14px; border-radius: 24px; border: 0; background: var(--fox-btn); color: #fff; font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; margin-left: 4px; box-shadow: 0 2px 10px rgba(194, 65, 12, .45); }
.fab svg { width: 24px; height: 24px; }
.fab:active { transform: scale(.97); }

@media (min-width: 960px) {
  .top { display: none; }
  .tabs, .fab { display: none; }
  .side { display: flex; flex-direction: column; position: fixed; inset: 0 auto 0 0; width: 248px; background: var(--navy); color: #fff; padding: 22px 16px; gap: 4px; z-index: 20; }
  .side .wordmark { margin: 0 8px 18px; font-size: 24px; }
  .side .wordmark svg { width: 34px; height: 34px; }
  .side nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border-radius: 12px; color: #DCE3EE; text-decoration: none; font-weight: 600; }
  .side nav a svg { width: 22px; height: 22px; }
  .side nav a:hover { background: var(--navy-2); color: #fff; }
  .side nav a[aria-current="page"] { background: var(--navy-3); color: #fff; box-shadow: inset 3px 0 0 var(--fox); }
  .side nav .dot { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--fox); color: var(--navy); font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
  .side .quick { display: grid; gap: 8px; margin: 4px 0 16px; }
  .side .quick .btn { width: 100%; justify-content: center; }
  .side .search { margin: 0 0 14px; }
  .side .search input { width: 100%; height: 44px; border-radius: 10px; border: 1px solid var(--navy-3); background: var(--navy-2); color: #fff; padding: 0 12px; }
  .side .search input::placeholder { color: #AEBBD0; }
  .side .foot { margin-top: auto; font-size: 12px; color: #AEBBD0; padding: 0 8px; }
  main { margin-left: 248px; padding: 32px 40px 60px; max-width: none; }
  .wrap { max-width: 1100px; margin: 0 auto; }
}

/* ---------- building blocks ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 4px 0 16px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fox-ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.card + .card, .stack > * + * { margin-top: 12px; }
.section { margin-top: 26px; }
.section > h2 { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.section > h2 a { font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 700px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }

.btn { min-height: 48px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 650; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { border-color: #C7CED9; }
.btn.primary { background: var(--fox-btn); border-color: var(--fox-btn); color: #fff; }
.btn.primary:hover { background: #A8380A; }
.btn.navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--fox-ink); padding: 0 10px; }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.block { width: 100%; justify-content: center; }
.btn.sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.side .btn { border-color: transparent; }
.side .btn.navy { background: var(--navy-3); }

.pill { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.st-Enquiry { color: var(--s-enquiry); background: var(--s-enquiry-bg); }
.st-Quoted { color: var(--s-quoted); background: var(--s-quoted-bg); }
.st-Booked { color: var(--s-booked); background: var(--s-booked-bg); }
.st-Done { color: var(--s-done); background: var(--s-done-bg); }
.st-Paid { color: var(--s-paid); background: var(--s-paid-bg); }
.pill.bad { color: var(--bad); background: var(--bad-tint); }
.pill.sim { color: #5B21B6; background: #EDE9FE; }

/* Money strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; text-decoration: none; color: inherit; display: block; min-height: 48px; }
.tile .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.tile .v { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.tile.hero { background: var(--navy); border-color: var(--navy); color: #fff; }
.tile.hero .k { color: #C9D3E3; }
@media (min-width: 960px) { .tile { padding: 16px 18px; } .tile .v { font-size: 28px; } .tile .k { font-size: 14px; } }

.banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--fox-tint); border: 1px solid #F8C9A9; color: var(--ink); text-decoration: none; font-weight: 650; min-height: 56px; margin-bottom: 14px; }
.banner .ic { width: 38px; height: 38px; border-radius: 19px; background: var(--fox-btn); color: #fff; display: grid; place-items: center; flex: none; }
.banner .ic svg { width: 20px; height: 20px; }
.banner .go { margin-left: auto; color: var(--fox-ink); }
.banner small { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

/* Job cards */
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; grid-template-columns: 84px 1fr; overflow: hidden; }
.job + .job { margin-top: 10px; }
.job .when { padding: 14px 0 14px 14px; font-weight: 800; font-size: 16px; white-space: nowrap; font-variant-numeric: tabular-nums; border-right: 0; }
.job .when small { display: block; font-weight: 600; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.job .body { padding: 12px 14px 12px 6px; min-width: 0; }
.job .title { font-weight: 700; font-size: 16.5px; color: inherit; text-decoration: none; display: block; }
.job .title:hover { text-decoration: underline; }
.job .meta { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 15px; }
.job .price { font-weight: 800; font-variant-numeric: tabular-nums; }
.job .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.job.Done { border-left: 4px solid var(--s-done-bar); }
.job.Booked { border-left: 4px solid var(--s-booked-bar); }
.job.Paid { border-left: 4px solid var(--s-paid-bar); }
.job.Quoted { border-left: 4px solid var(--s-quoted-bar); }
.job.Enquiry { border-left: 4px solid var(--s-enquiry-bar); }
.addr { color: var(--fox-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; min-height: 32px; }
.addr:hover { text-decoration: underline; }
.addr svg { width: 16px; height: 16px; flex: none; }
.who { font-weight: 650; }

/* Lists */
.list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
.li:first-child { border-top: 0; }
a.li:hover { background: #FAFBFC; }
.li .main { flex: 1; min-width: 0; }
.li .main .t { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .main .s { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .end { text-align: right; flex: none; font-variant-numeric: tabular-nums; }
.li .end .v { font-weight: 800; }
.avatar { width: 42px; height: 42px; border-radius: 21px; background: var(--navy); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 15px; flex: none; }
.chev { color: #9AA3B2; flex: none; }

/* Calls */
.call { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.call + .call { margin-top: 10px; }
.call.late { border: 2px solid var(--bad); background: #FFFBFB; }
.call .head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.call .num { font-weight: 800; font-size: 18px; }
.call .ago { font-size: 14px; color: var(--muted); text-align: right; white-space: nowrap; }
.call.late .ago { color: var(--bad); font-weight: 700; }
.call blockquote { margin: 10px 0 0; padding: 10px 12px; background: var(--bg); border-radius: 10px; font-size: 15px; }
.call .auto { margin-top: 10px; padding: 10px 12px; border-radius: 10px; border: 1px dashed #A78BFA; background: #FAF8FF; font-size: 14px; }
.call .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.tick { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 650; }
.tick input { width: 24px; height: 24px; accent-color: var(--ok); margin: 0; }
.call.returned { opacity: .85; }

/* Forms */
.form { display: grid; gap: 18px; }
.field label, .lbl { display: block; font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.req::after { content: " *"; color: var(--fox-ink); }
input.in, textarea.in, select.in { width: 100%; min-height: 52px; border: 1.5px solid #C9D0DB; border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 17px; }
textarea.in { min-height: 96px; resize: vertical; }
input.in:focus, textarea.in:focus, select.in:focus { border-color: var(--fox); outline: none; box-shadow: 0 0 0 3px rgba(232, 100, 27, .2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 48px; padding: 0 16px; border-radius: 24px; border: 1.5px solid #C9D0DB; background: #fff; font-weight: 650; font-size: 15.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.chip small { font-weight: 600; color: var(--muted); font-size: 13.5px; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"] small { color: #C9D3E3; }
.chip:hover { border-color: var(--navy-3); }
.withmic { position: relative; }
.withmic textarea { padding-right: 64px; }
.mic { position: absolute; right: 6px; top: 6px; width: 48px; height: 48px; border-radius: 24px; border: 0; background: var(--fox-tint); color: var(--fox-ink); display: grid; place-items: center; cursor: pointer; }
.mic svg { width: 22px; height: 22px; }
.mic.on { background: var(--bad); color: #fff; animation: pulse 1.2s infinite; }
.mic[disabled] { background: #EEF0F3; color: #8A93A3; cursor: help; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(185, 28, 28, .15); } }
@media (prefers-reduced-motion: reduce) { .mic.on { animation: none; } }
.suggest { margin-top: 8px; display: grid; gap: 6px; }
.suggest button { text-align: left; min-height: 48px; border-radius: 10px; border: 1px solid var(--line); background: #fff; padding: 8px 12px; cursor: pointer; }
.suggest button[aria-pressed="true"] { border-color: var(--ok); background: var(--ok-tint); }
.paste { border: 1.5px dashed #C9D0DB; border-radius: 12px; padding: 12px; background: #FBFCFD; }
.picked { margin-top: 8px; font-size: 14px; color: var(--ok); font-weight: 600; }
details.more { border-top: 1px solid var(--line); padding-top: 12px; }
details.more summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; color: var(--fox-ink); cursor: pointer; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary { margin-bottom: 12px; }
.savebar { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); z-index: 5; margin-top: 8px; display: flex; gap: 10px; background: linear-gradient(transparent, var(--bg) 30%); padding-top: 14px; }
.savebar .btn { flex: 1; justify-content: center; min-height: 56px; font-size: 18px; }
@media (min-width: 960px) { .savebar { bottom: 12px; } }
.formcard { max-width: 640px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; font-weight: 650; cursor: pointer; }
.switch input { width: 52px; height: 30px; appearance: none; -webkit-appearance: none; background: #C9D0DB; border-radius: 15px; position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; transition: left .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { left: 25px; }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.seg button { min-height: 48px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; cursor: pointer; padding: 0 2px; }
.seg button[aria-pressed="true"].st-Enquiry { background: var(--s-enquiry-bar); border-color: var(--s-enquiry-bar); color: #fff; }
.seg button[aria-pressed="true"].st-Quoted { background: var(--s-quoted-bar); border-color: var(--s-quoted-bar); color: #fff; }
.seg button[aria-pressed="true"].st-Booked { background: var(--s-booked); border-color: var(--s-booked); color: #fff; }
.seg button[aria-pressed="true"].st-Done { background: #B45309; border-color: #B45309; color: #fff; }
.seg button[aria-pressed="true"].st-Paid { background: var(--ok); border-color: var(--ok); color: #fff; }
.seg button:not([aria-pressed="true"]) { background: #fff; color: var(--ink); }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.photo { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; aspect-ratio: 1; display: block; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(15, 30, 54, .82); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 6px; }
.addphoto { border: 1.5px dashed #C9D0DB; border-radius: 12px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; color: var(--fox-ink); font-weight: 700; font-size: 13.5px; cursor: pointer; background: #fff; padding: 6px; }
.addphoto svg { width: 26px; height: 26px; display: block; margin: 0 auto 4px; }
.addphoto input { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* Calendar */
.daylist .day { margin-top: 18px; }
.daylist .day h3 { font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; }
.daylist .day h3 .muted { font-weight: 500; }
.free { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.free a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; border: 1.5px dashed #C9D0DB; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 14px; }
.free a:hover { border-color: var(--fox); color: var(--fox-ink); }
.week { display: grid; grid-template-columns: 60px repeat(7, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.week .dh { padding: 10px 8px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; text-align: center; background: #FAFBFC; }
.week .dh.today { color: var(--fox-ink); box-shadow: inset 0 -3px 0 var(--fox); }
.week .dh small { display: block; color: var(--muted); font-weight: 600; }
.week .hr { font-size: 12px; color: var(--muted); text-align: right; padding: 4px 8px 0 0; border-bottom: 1px solid var(--line); height: 56px; }
.week .cell { border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); height: 56px; position: relative; cursor: pointer; }
.week .cell:hover { background: #FFF8F3; }
.week .cell.over { background: var(--fox-tint); box-shadow: inset 0 0 0 2px var(--fox); }
.week .cell .plus { opacity: 0; position: absolute; right: 6px; top: 4px; color: var(--fox-ink); font-weight: 800; }
.week .cell:hover .plus { opacity: 1; }
.blk { position: absolute; left: 3px; right: 3px; z-index: 2; border-radius: 8px; padding: 4px 6px; font-size: 12.5px; line-height: 1.25; overflow: hidden; cursor: grab; text-decoration: none; color: var(--ink); border-left: 4px solid; box-shadow: 0 1px 2px rgba(15,30,54,.08); }
.blk b { display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk.Enquiry { background: var(--s-enquiry-bg); border-color: var(--s-enquiry-bar); }
.blk.Quoted { background: var(--s-quoted-bg); border-color: var(--s-quoted-bar); }
.blk.Booked { background: var(--s-booked-bg); border-color: var(--s-booked-bar); }
.blk.Done { background: var(--s-done-bg); border-color: var(--s-done-bar); }
.blk.Paid { background: var(--s-paid-bg); border-color: var(--s-paid-bar); }
.blk.dragging { opacity: .5; }
.legend { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-week { display: none; }
@media (min-width: 960px) { .cal-week { display: block; } .cal-days { display: none; } }

/* Sheet + toast */
.scrim { position: fixed; inset: 0; background: rgba(15, 30, 54, .45); z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: #fff; width: 100%; max-width: 520px; border-radius: 20px 20px 0 0; padding: 10px 18px calc(18px + var(--safe-b)); box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: #D1D6DE; margin: 0 auto 14px; }
.sheet h2 { margin-bottom: 12px; }
.sheet .stack .btn { width: 100%; justify-content: flex-start; min-height: 60px; font-size: 18px; }
@media (min-width: 960px) { .scrim { align-items: center; } .sheet { border-radius: 20px; } }
#toast { position: fixed; z-index: 60; left: 50%; transform: translateX(-50%); top: calc(var(--safe-t) + 66px); width: min(94vw, 460px); display: grid; gap: 8px; pointer-events: none; }
.toast { pointer-events: auto; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 12px 30px rgba(15, 30, 54, .35); display: flex; gap: 12px; align-items: center; animation: drop .25s ease-out; border-left: 5px solid var(--fox); }
.toast .t { flex: 1; font-weight: 600; font-size: 15px; }
.toast .t small { display: block; font-weight: 500; color: #C9D3E3; }
.toast a, .toast button { color: #FFB27F; font-weight: 700; background: none; border: 0; min-height: 44px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
@keyframes drop { from { transform: translateY(-12px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* Details */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 15.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.hero-client { background: var(--navy); color: #fff; border-radius: var(--r); padding: 18px; }
.hero-client .muted { color: #C9D3E3; }
.hero-client .acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.hero-client .btn { background: var(--navy-3); border-color: var(--navy-3); color: #fff; }
.hero-client .btn.primary { background: var(--fox-btn); border-color: var(--fox-btn); }
.big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.searchbox { position: relative; }
.searchbox input { padding-left: 46px; }
.searchbox svg { position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; color: var(--muted); }
.demo-note { font-size: 13px; color: var(--muted); }
.pin { max-width: 360px; margin: 12vh auto; text-align: center; }
.pin input { text-align: center; font-size: 28px; letter-spacing: .3em; }
.fab[hidden] { display: none; }
a, button, label { -webkit-tap-highlight-color: rgba(232, 100, 27, .12); }
.toast a, .toast button { background: none; padding: 0 6px; }
.toast button svg { display: block; }
.call.flash { box-shadow: 0 0 0 4px rgba(232, 100, 27, .45); }
.card .field + .field, .card .field + .grid2, .card .grid2 + .field { margin-top: 14px; }
@media (min-width: 1200px) { .daycols { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: start; } .daycols .job { grid-template-columns: 92px 1fr; } }
.paste { padding: 2px 12px; }
.paste[open] { padding-bottom: 12px; }
@media (max-width: 959px) { .form { gap: 14px; } .page-head { margin-bottom: 10px; } }
