/* FMRP Edits — one stylesheet, no build step. Dark by design. */

:root {
  --bg: #0b0d12;
  --bg-1: #12151d;
  --bg-2: #181c27;
  --bg-3: #212636;
  --line: #262c3c;
  --line-2: #323a4f;
  --text: #e9ecf3;
  --text-2: #b6bdcc;
  --muted: #8189a0;
  --accent: #ff7a1a;
  --accent-2: #ff9a4d;
  --accent-ink: #1a0d02;
  --teal: #22c3a6;
  --ok: #34d399;
  --warn: #f5b33d;
  --err: #f16161;
  --info: #5b9dff;
  --violet: #a78bfa;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.25);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 14.5px/1.5 var(--font); min-height: 100vh;
  background-image: radial-gradient(1200px 500px at 80% -200px, rgba(255,122,26,.07), transparent 60%);
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 24px; font-weight: 700; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
p { margin: 0 0 .75em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }
.ic { flex: none; vertical-align: -3px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.hidden { display: none !important; }
.pre { white-space: pre-wrap; word-break: break-word; }
.num { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- layout */
.wrap { max-width: 1320px; margin: 0 auto; padding: 22px 20px 64px; }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.row.tight { gap: 6px; }
.row.between { justify-content: space-between; }
.stack > * + * { margin-top: 14px; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .wrap { padding: 16px 16px 48px; } }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------- top bar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,13,18,.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { max-width: 1320px; margin: 0 auto; padding: 0 20px; height: 58px; display: flex; align-items: center; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: block; flex: none; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--text-2); padding: 7px 11px; border-radius: 8px; white-space: nowrap; font-weight: 550; }
.nav a:hover { background: var(--bg-2); color: var(--text); text-decoration: none; }
.nav a.on { background: var(--bg-3); color: var(--text); }
.topbar .spacer { flex: 1; }
.me { position: relative; }
.me > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 999px; }
.me > summary::-webkit-details-marker { display: none; }
.me > summary:hover { background: var(--bg-2); }
.me-menu { position: absolute; right: 0; top: 44px; min-width: 210px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 6px; box-shadow: var(--shadow); }
.me-menu a, .me-menu button { display: flex; width: 100%; gap: 8px; align-items: center; padding: 8px 10px; color: var(--text); border-radius: 7px; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.me-menu a:hover, .me-menu button:hover { background: var(--bg-3); text-decoration: none; }
.me-menu .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

.navclock { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; white-space: nowrap; }
.navclock:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }
.navclock.working { border-color: rgba(52,211,153,.5); color: var(--text); }
.navclock.break { border-color: rgba(245,179,61,.55); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.live { background: var(--ok); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 1.8s infinite; }
.dot.warn { background: var(--warn); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
@media (max-width: 760px) { .navclock .nc-proj { display: none; } .brand-name { display: none; } }

/* ---------------------------------------------------------------- cards */
.card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.card-h h2 { display: flex; align-items: center; gap: 8px; }
.card-b { padding: 16px; }
.card-b.flush { padding: 0; }
.card + .card { margin-top: 16px; }
.card.accent { border-color: rgba(255,122,26,.45); background: linear-gradient(180deg, rgba(255,122,26,.07), transparent 70%), var(--bg-1); }
.card.good { border-color: rgba(52,211,153,.4); background: linear-gradient(180deg, rgba(52,211,153,.07), transparent 70%), var(--bg-1); }
.card.warn { border-color: rgba(245,179,61,.45); }

.stat { padding: 16px; }
.stat .k { color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stat .v { font-size: 26px; font-weight: 750; margin-top: 4px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat .s { color: var(--muted); font-size: 12.5px; margin-top: 2px; }

.empty { text-align: center; padding: 36px 20px; color: var(--muted); }
.empty .ic { color: var(--line-2); margin-bottom: 8px; }
.empty h3 { color: var(--text); margin-bottom: 4px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--line-2);
  background: var(--bg-2); color: var(--text); font: 600 13.5px/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .12s, border-color .12s, transform .06s;
}
.btn:hover { background: var(--bg-3); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-2); }
.btn.go { background: var(--ok); border-color: var(--ok); color: #03170e; }
.btn.go:hover { filter: brightness(1.08); }
.btn.danger { color: #ffd4d4; border-color: rgba(241,97,97,.45); background: rgba(241,97,97,.1); }
.btn.danger:hover { background: rgba(241,97,97,.2); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--bg-2); color: var(--text); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 11px; }
.btn.block { width: 100%; }
.btn.icon { width: 32px; padding: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-2); font: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
form.inline { display: inline; }

/* ---------------------------------------------------------------- forms */
label.f { display: block; margin-bottom: 14px; }
label.f > span, .f-label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text-2); }
.f-help { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input[type=search], select, textarea {
  width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line-2); border-radius: 9px;
  padding: 9px 11px; font: 14px/1.4 var(--font); outline: none; transition: border-color .12s, box-shadow .12s;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,122,26,.18); }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; vertical-align: -3px; }
.check { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; color: var(--text-2); }
.f-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.f-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 6px; }

details.drop > summary { list-style: none; cursor: pointer; }
details.drop > summary::-webkit-details-marker { display: none; }
details.drop[open] > summary { margin-bottom: 12px; }
details.box { border: 1px dashed var(--line-2); border-radius: 10px; padding: 10px 12px; }
details.box > summary { cursor: pointer; color: var(--text-2); font-weight: 600; font-size: 13px; }
details.box[open] > summary { margin-bottom: 10px; }

/* ---------------------------------------------------------------- flash */
.flashes { margin-bottom: 16px; display: grid; gap: 8px; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 10px; border: 1px solid; font-weight: 500; }
.flash.ok { background: rgba(52,211,153,.08); border-color: rgba(52,211,153,.35); color: #c9f5e2; }
.flash.error { background: rgba(241,97,97,.08); border-color: rgba(241,97,97,.4); color: #ffd6d6; }
.flash.info { background: rgba(91,157,255,.08); border-color: rgba(91,157,255,.35); color: #d6e6ff; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text-2); }
.notice.warn { border-color: rgba(245,179,61,.45); background: rgba(245,179,61,.07); color: #fbe3b5; }
.notice.err { border-color: rgba(241,97,97,.45); background: rgba(241,97,97,.07); color: #ffd6d6; }

/* ---------------------------------------------------------------- pills + badges */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 650; border: 1px solid; white-space: nowrap; }
.st-draft    { color: #c4cad8; border-color: #3a4256; background: #1c2130; }
.st-queue    { color: #bcd6ff; border-color: rgba(91,157,255,.45); background: rgba(91,157,255,.1); }
.st-work     { color: #ffd1ad; border-color: rgba(255,122,26,.5); background: rgba(255,122,26,.12); }
.st-review   { color: #ddd1ff; border-color: rgba(167,139,250,.5); background: rgba(167,139,250,.12); }
.st-changes  { color: #fbe3b5; border-color: rgba(245,179,61,.5); background: rgba(245,179,61,.1); }
.st-pay      { color: #b7f2e7; border-color: rgba(34,195,166,.5); background: rgba(34,195,166,.1); }
.st-paid     { color: #c9f5e2; border-color: rgba(52,211,153,.5); background: rgba(52,211,153,.12); }
.st-done     { color: #c9f5e2; border-color: rgba(52,211,153,.35); background: transparent; }
.st-archived { color: var(--muted); border-color: var(--line-2); background: transparent; }
.st-frozen   { color: #ffd6d6; border-color: rgba(241,97,97,.5); background: rgba(241,97,97,.1); }
.badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 650; background: var(--bg-3); color: var(--text-2); }
.badge.admin { background: rgba(241,97,97,.15); color: #ffc2c2; }
.badge.editor { background: rgba(167,139,250,.16); color: #ddd1ff; }
.badge.creator { background: rgba(255,122,26,.15); color: #ffd1ad; }
.badge.ok { background: rgba(52,211,153,.15); color: #c9f5e2; }
.badge.warn { background: rgba(245,179,61,.16); color: #fbe3b5; }
.badge.err { background: rgba(241,97,97,.16); color: #ffc2c2; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 750; }

.av { border-radius: 50%; object-fit: cover; background: var(--bg-3); flex: none; }
.uchip { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }

.meter { height: 8px; border-radius: 999px; background: var(--bg-3); overflow: hidden; }
.meter > span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--ok)); border-radius: 999px; transition: width .3s; }
.meter.warn > span { background: var(--warn); }
.meter.danger > span { background: var(--err); }

/* ---------------------------------------------------------------- tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.dim td { color: var(--muted); }
.tbl tr.flag td { background: rgba(245,179,61,.05); }
.tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line-2); }
.tbl .r { text-align: right; }

/* ---------------------------------------------------------------- landing */
.hero { max-width: 760px; margin: 60px auto 40px; text-align: center; }
.hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -.03em; line-height: 1.08; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), #ff4d6d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 17px; color: var(--text-2); margin: 16px auto 26px; max-width: 560px; }
.btn.discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.btn.discord:hover { background: #6a75f5; }
.how { max-width: 1000px; margin: 0 auto; }
.how .card { padding: 18px; }
.how .n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-3); color: var(--accent-2); font-weight: 750; margin-bottom: 10px; }
.how p { color: var(--muted); margin: 6px 0 0; }

/* ---------------------------------------------------------------- dashboard */
.pcard { display: block; color: inherit; padding: 18px; }
.pcard:hover { text-decoration: none; border-color: var(--line-2); }
.pcard h2 { font-size: 18px; }
.pcard .next { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: var(--bg-2); color: var(--text-2); font-size: 13.5px; }

/* ---------------------------------------------------------------- project page */
.phead { padding: 18px 18px 14px; }
.phead-top { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.phead h1 { font-size: 22px; }
.phead .meta { color: var(--muted); font-size: 13px; margin-top: 6px; display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.phead .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.steps { display: flex; gap: 4px; list-style: none; padding: 0; margin: 16px 0 0; counter-reset: s; }
.steps li { flex: 1; min-width: 0; font-size: 11.5px; font-weight: 650; color: var(--muted); }
.steps li::before { content: ""; display: block; height: 4px; border-radius: 99px; background: var(--bg-3); margin-bottom: 6px; }
.steps li.done { color: var(--text-2); }
.steps li.done::before { background: var(--teal); }
.steps li.now { color: var(--text); }
.steps li.now::before { background: var(--accent); }
@media (max-width: 640px) { .steps li span { display: none; } .steps li.now span { display: inline; } }

.pgrid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; margin-top: 16px; align-items: start; }
.pgrid .side { position: sticky; top: 74px; }
@media (max-width: 1100px) { .pgrid { grid-template-columns: minmax(0, 1fr); } .pgrid .side { position: static; } }

.player { position: relative; background: #000; border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 9; overflow: hidden; }
.player.idle { aspect-ratio: auto; height: 150px; background: var(--bg-2); }
.player video, .player img { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.player .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; }
.player-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.player-bar .t { font-weight: 650; }

.files { list-style: none; margin: 0; padding: 0; }
.files li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.files li:last-child { border-bottom: 0; }
.files li.playing { background: rgba(255,122,26,.06); }
.thumb { width: 88px; height: 50px; border-radius: 7px; background: var(--bg-3) center/cover no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); position: relative; overflow: hidden; border: 1px solid var(--line); }
.thumb .dur { position: absolute; right: 4px; bottom: 3px; font-size: 10.5px; font-weight: 700; background: rgba(0,0,0,.75); color: #fff; padding: 1px 5px; border-radius: 4px; }
.fname { font-weight: 600; word-break: break-all; }
.fmeta { color: var(--muted); font-size: 12.5px; }
.export { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.export:last-child { border-bottom: 0; }
.export .vtag { font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 6px; background: var(--bg-3); }
.export.gone { opacity: .62; }
.export.gone .vtag { background: transparent; border: 1px dashed var(--line-2); }
.review-box { padding: 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(167,139,250,.08), transparent); }

.dz { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 22px 16px; text-align: center; color: var(--text-2); cursor: pointer; transition: border-color .12s, background .12s; }
.dz:hover, .dz.over { border-color: var(--accent); background: rgba(255,122,26,.05); }
.dz .ic { color: var(--accent); }
.dz b { color: var(--text); }
.upq { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.upq li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.upq .bar { height: 6px; border-radius: 99px; background: var(--bg-3); overflow: hidden; margin-top: 8px; }
.upq .bar > span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .2s; }
.upq li.done .bar > span { background: var(--ok); }
.upq li.err { border-color: rgba(241,97,97,.45); }
.upq li.err .bar > span { background: var(--err); }

.bill-big { font-size: 34px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bill-line { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.worklog { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.worklog li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.worklog li:last-child { border-bottom: 0; }

/* chat */
.chat { display: flex; flex-direction: column; height: min(640px, calc(100vh - 140px)); min-height: 420px; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { display: flex; gap: 9px; max-width: 92%; }
.msg .body { background: var(--bg-2); border: 1px solid var(--line); padding: 8px 11px; border-radius: 4px 12px 12px 12px; min-width: 0; }
.msg .who { font-size: 12px; font-weight: 700; color: var(--text-2); display: flex; gap: 6px; align-items: center; margin-bottom: 2px; }
.msg .who time { color: var(--muted); font-weight: 500; }
.msg .txt { white-space: pre-wrap; word-break: break-word; }
.msg.mine { align-self: flex-end; flex-direction: row-reverse; }
.msg.mine .body { background: rgba(255,122,26,.12); border-color: rgba(255,122,26,.3); border-radius: 12px 4px 12px 12px; }
.msg.mine .who { justify-content: flex-end; }
.msg.sys { align-self: center; max-width: 100%; }
.msg.sys .body { background: transparent; border: 0; padding: 2px 8px; color: var(--muted); font-size: 12.5px; text-align: center; }
.msg .att { margin-top: 6px; }
.msg .att img { max-width: 220px; max-height: 180px; border-radius: 8px; display: block; border: 1px solid var(--line); }
.tschip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(167,139,250,.16); color: #ddd1ff; border: 0; cursor: pointer; margin-bottom: 4px; font-family: var(--mono); }
.tschip:hover { background: rgba(167,139,250,.3); }
.chat-form { border-top: 1px solid var(--line); padding: 10px; }
.chat-form textarea { min-height: 44px; max-height: 160px; padding: 10px 11px; }
.chat-form .tsbar { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12.5px; color: var(--text-2); }
.chat-new { position: sticky; bottom: 0; align-self: center; }

/* clock */
.clock { padding: 18px; }
.clock .timer { font: 800 38px/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.clock .sub { color: var(--muted); margin-top: 6px; }
.clock.working { border-color: rgba(52,211,153,.45); background: linear-gradient(180deg, rgba(52,211,153,.07), transparent 70%), var(--bg-1); }
.clock.break { border-color: rgba(245,179,61,.5); background: linear-gradient(180deg, rgba(245,179,61,.07), transparent 70%), var(--bg-1); }

/* queue */
.lane h2 { display: flex; align-items: center; gap: 8px; margin: 22px 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-2); }
.qcard { display: flex; gap: 14px; align-items: center; padding: 14px 16px; color: inherit; }
.qcard:hover { text-decoration: none; border-color: var(--line-2); background: var(--bg-2); }
.qcard + .qcard { margin-top: 8px; }
.qcard .t { font-weight: 700; font-size: 15px; }

/* timesheet */
.day { margin-bottom: 14px; }
.day-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-weight: 650; }
.day-h.empty-day { color: var(--muted); font-weight: 500; }

/* admin sub-nav */
.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.subnav a { padding: 7px 12px; border-radius: 8px; color: var(--text-2); font-weight: 600; }
.subnav a:hover { background: var(--bg-2); text-decoration: none; color: var(--text); }
.subnav a.on { background: var(--bg-3); color: var(--text); }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 600; font-size: 13px; }
.tabs a.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.tabs a:hover { text-decoration: none; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.checklist li:last-child { border-bottom: 0; }
.checklist .yes { color: var(--ok); }
.checklist .no { color: var(--warn); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

.foot { color: var(--muted); font-size: 12px; text-align: center; padding: 30px 0 10px; }

/* ---------------------------------------------------------------- pricing & policies */
.policy { max-width: 820px; margin: 0 auto; }
.policy .card + .card { margin-top: 14px; }
.policy section { scroll-margin-top: 76px; }
.policy h2 { font-size: 18px; margin-bottom: 10px; }
.policy ul, .policy ol { margin: 0; padding-left: 20px; }
.policy li + li { margin-top: 6px; }
.policy p { color: var(--text-2); }
.policy li { color: var(--text-2); }
.policy-toc { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 12px 16px; margin-bottom: 14px; font-size: 13px; font-weight: 600; }
.policy-price { font-size: 17px; color: var(--text) !important; }
.policy-price b { font-size: 26px; color: var(--accent-2); }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text-2); }
