/* ============================================================
   SocialHatch design system
   Warm paper, ink, burnt orange. No external fonts or assets.
   ============================================================ */

:root {
  --bg: #f6f3ed;
  --bg-soft: #efeae1;
  --surface: #fffdf9;
  --surface-2: #faf7f1;
  --ink: #1a1714;
  --ink-2: #3b3630;
  --muted: #736c62;
  --muted-2: #9a9389;
  --line: #e4ded3;
  --line-strong: #d3cabc;
  --accent: #e4572e;
  --accent-hover: #cf4721;
  --accent-soft: #fdeee8;
  --green: #2f6f5e;
  --green-soft: #e6f1ed;
  --blue: #355070;
  --blue-soft: #e9edf4;
  --gold: #c98a12;
  --gold-soft: #fbf2dc;
  --danger: #b4372b;
  --danger-soft: #fbe9e6;
  --side-bg: #191714;
  --side-ink: #f2ede4;
  --side-muted: #9c958a;
  --side-line: #2d2924;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 7px;
  --shadow-sm: 0 1px 2px rgba(26, 23, 20, .05);
  --shadow: 0 8px 30px -12px rgba(26, 23, 20, .22);
  --shadow-lg: 0 30px 70px -30px rgba(26, 23, 20, .45);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar-w: 244px;
}

[data-theme="dark"] {
  --bg: #121110;
  --bg-soft: #191816;
  --surface: #1d1b18;
  --surface-2: #232019;
  --ink: #f4efe6;
  --ink-2: #ded7cb;
  --muted: #a49c8f;
  --muted-2: #7e776c;
  --line: #302c26;
  --line-strong: #423d35;
  --accent: #f06a42;
  --accent-hover: #ff7d55;
  --accent-soft: #35211a;
  --green: #6fbfa6;
  --green-soft: #1b2e28;
  --blue: #8fa8cc;
  --blue-soft: #1e2733;
  --gold: #e3b25a;
  --gold-soft: #332a17;
  --danger: #ef7b6c;
  --danger-soft: #3a201d;
  --side-bg: #0d0c0b;
  --side-line: #26231f;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 10px 40px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 20px; border: 3px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- boot ---------- */
.boot { min-height: 100vh; display: grid; place-content: center; gap: 16px; text-align: center; color: var(--muted); }
.boot-mark { width: 44px; height: 44px; border-radius: 14px; margin: 0 auto; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.86); opacity: .55 } }

/* ---------- shell ---------- */
.app-root { min-height: 100vh; }
.shell { display: flex; min-height: 100vh; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); background: var(--side-bg); color: var(--side-ink);
  display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; z-index: 40;
}
.side-top { padding: 20px 18px 10px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--side-muted); font-weight: 600; margin-top: 1px; }
.workspace {
  margin: 12px 14px 6px; padding: 10px 11px; border: 1px solid var(--side-line); border-radius: 12px;
  display: flex; align-items: center; gap: 9px; background: #211e1a;
}
.workspace .avatar { width: 28px; height: 28px; font-size: 11px; }
.workspace .ws-name { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.workspace .ws-plan { font-size: 10.5px; color: var(--side-muted); }
.workspace .chev { margin-left: auto; color: var(--side-muted); }
.nav { padding: 8px 10px; overflow-y: auto; flex: 1; }
.nav-label { padding: 14px 10px 6px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--side-muted); font-weight: 700; }
.nav a, .nav button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 9px;
  color: #c9c2b6; font-size: 13.5px; font-weight: 500; margin-bottom: 1px; position: relative;
}
.nav a:hover, .nav button:hover { background: #221f1b; color: #fff; }
.nav a.active { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 18px -8px rgba(228, 87, 46, .8); }
.nav a.active svg { opacity: 1; }
.nav svg { width: 18px; height: 18px; opacity: .8; }
.nav .count { margin-left: auto; font-size: 10.5px; background: #2c2823; color: var(--side-muted); padding: 1px 7px; border-radius: 20px; font-variant-numeric: tabular-nums; }
.nav a.active .count { background: rgba(255,255,255,.22); color: #fff; }
.side-foot { padding: 12px 14px 18px; border-top: 1px solid var(--side-line); }
.side-user { display: flex; align-items: center; gap: 9px; padding: 6px; border-radius: 10px; width: 100%; text-align: left; }
.side-user:hover { background: #221f1b; }
.side-user .avatar { width: 30px; height: 30px; font-size: 11px; }
.side-user .su-name { font-size: 12.5px; font-weight: 600; }
.side-user .su-mail { font-size: 10.5px; color: var(--side-muted); }
.side-actions { display: flex; gap: 6px; margin-top: 8px; }
.side-actions button { flex: 1; padding: 7px; border-radius: 8px; border: 1px solid var(--side-line); color: var(--side-muted); font-size: 11px; }
.side-actions button:hover { color: #fff; border-color: #3b352e; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  height: 60px; flex: 0 0 60px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px); display: flex; align-items: center; gap: 14px; padding: 0 26px; position: sticky; top: 0; z-index: 30;
}
.crumb { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.crumb strong { color: var(--ink); font-weight: 600; }
.topbar .spacer { flex: 1; }
.searchbtn {
  display: flex; align-items: center; gap: 8px; min-width: 210px; padding: 8px 11px; border: 1px solid var(--line);
  border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 12.5px;
}
.searchbtn:hover { border-color: var(--line-strong); }
.searchbtn kbd { margin-left: auto; font-family: var(--sans); font-size: 10px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; color: var(--muted-2); }
.iconbtn {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid transparent; color: var(--muted);
}
.iconbtn:hover { background: var(--surface); border-color: var(--line); color: var(--ink); }
.iconbtn svg { width: 18px; height: 18px; }
.mobile-menu { display: none; }
.page { padding: 28px 30px 60px; max-width: 1420px; width: 100%; margin: 0 auto; }
.page.narrow { max-width: 1080px; }
.page-head { display: flex; align-items: flex-start; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .ph-text { flex: 1; min-width: 240px; }
.page-eyebrow { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 5px; }
h1.title { font-size: 30px; line-height: 1.12; letter-spacing: -.035em; font-weight: 800; }
.page-sub { color: var(--muted); margin-top: 7px; font-size: 13.5px; max-width: 620px; }
.page-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---------- primitives ---------- */
.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-strong); background: var(--surface); font-size: 12.5px;
  font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: .12s ease;
}
.btn:hover { border-color: var(--muted-2); background: var(--surface-2); }
.btn svg { width: 15px; height: 15px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px -6px rgba(228, 87, 46, .7); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--surface-2); border-color: var(--line); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 11.5px; border-radius: 7px; }
.btn.lg { height: 42px; padding: 0 18px; font-size: 13.5px; border-radius: 10px; }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.btn.danger:hover { background: var(--danger-soft); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.block { width: 100%; }
.btn-group { display: inline-flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--surface); }
.btn-group button { padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); }
.btn-group button:last-child { border-right: 0; }
.btn-group button.on { background: var(--ink); color: var(--bg); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.card-head h3 { font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.card-head .sub { font-size: 11.5px; color: var(--muted); }
.card-head .spacer { flex: 1; }
.card-body { padding: 20px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.divider { height: 1px; background: var(--line); margin: 14px 0; }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.split { grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr); }
.grid.compose { grid-template-columns: minmax(0, 1.55fr) minmax(320px, .85fr); align-items: start; }

.pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 20px; font-size: 10.5px;
  font-weight: 700; letter-spacing: .01em; background: var(--bg-soft); color: var(--muted); border: 1px solid transparent; white-space: nowrap;
}
.pill.orange { background: var(--accent-soft); color: var(--accent); }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.blue { background: var(--blue-soft); color: var(--blue); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.pill.grey { background: var(--bg-soft); color: var(--muted); }
.pill.red { background: var(--danger-soft); color: var(--danger); }
.pill svg { width: 11px; height: 11px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 6px; background: var(--bg-soft); color: var(--muted); font-size: 10.5px; font-weight: 600; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: inline-block; }

.avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  font-weight: 700; font-size: 12px; flex: 0 0 auto; letter-spacing: .02em;
}
.avatar.lg { width: 46px; height: 46px; font-size: 14px; }
.avatar.sm { width: 26px; height: 26px; font-size: 9.5px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 11.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .01em; }
.field .hint { font-size: 11px; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 9px;
  padding: 9px 11px; font-size: 13px; color: var(--ink); transition: border-color .12s, box-shadow .12s;
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.textarea { resize: vertical; min-height: 90px; line-height: 1.55; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--muted) 50%), linear-gradient(-45deg, transparent 49%, var(--muted) 50%); background-position: calc(100% - 16px) 51%, calc(100% - 11px) 51%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.input.sm, .select.sm { padding: 6px 9px; font-size: 12px; border-radius: 7px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.check input { accent-color: var(--accent); width: 15px; height: 15px; }
.switch { position: relative; width: 38px; height: 22px; border-radius: 20px; background: var(--line-strong); transition: .15s; flex: 0 0 auto; border: 0; }
.switch::after { content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #fff; top: 3px; left: 3px; transition: .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch.on { background: var(--green); }
.switch.on::after { left: 19px; }
.seg { display: flex; gap: 2px; background: var(--bg-soft); border-radius: 9px; padding: 3px; }
.seg button { flex: 1; padding: 6px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- stats ---------- */
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.stat { padding: 16px 17px; }
.stat .label { font-size: 11px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 6px; }
.stat .value { font-size: 25px; font-weight: 800; letter-spacing: -.035em; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat .foot { font-size: 11px; color: var(--muted); margin-top: 4px; display: flex; align-items: center; gap: 5px; }
.delta { font-weight: 700; font-size: 11px; }
.delta.up { color: var(--green); }
.delta.down { color: var(--danger); }

/* ---------- charts ---------- */
.chart { width: 100%; overflow: visible; }
.chart text { font-family: var(--sans); fill: var(--muted-2); font-size: 9px; }
.chart .gridline { stroke: var(--line); stroke-width: 1; }
.chart .area { fill: url(#areaFill); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; }
.sparkbars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.sparkbars i { flex: 1; background: color-mix(in srgb, var(--accent) 28%, transparent); border-radius: 2px 2px 0 0; min-height: 3px; }
.sparkbars i.hot { background: var(--accent); }

/* ---------- posts ---------- */
.postlist { display: flex; flex-direction: column; }
.postrow { display: flex; gap: 13px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: flex-start; position: relative; }
.postrow:last-child { border-bottom: 0; }
.postrow:hover { background: var(--surface-2); }
.postrow.selected { background: var(--accent-soft); }
.postrow .check { padding-top: 3px; }
.post-main { flex: 1; min-width: 0; }
.post-text { font-size: 13px; line-height: 1.5; color: var(--ink-2); white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 9px; margin-top: 7px; flex-wrap: wrap; font-size: 10.5px; color: var(--muted); }
.post-actions { display: flex; gap: 2px; opacity: .15; transition: .12s; }
.postrow:hover .post-actions { opacity: 1; }
.post-actions button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; color: var(--muted); }
.post-actions button:hover { background: var(--bg-soft); color: var(--ink); }
.post-actions svg { width: 14px; height: 14px; }
.postrow .metrics { display: flex; gap: 10px; font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tick { display: inline-flex; align-items: center; gap: 4px; }
.tick svg { width: 12px; height: 12px; }

.tweet-preview {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.tp-head { display: flex; gap: 10px; align-items: center; }
.tp-name { font-weight: 700; font-size: 13px; }
.tp-handle { color: var(--muted); font-size: 12px; }
.tp-body { margin-top: 10px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.tp-body .link { color: var(--blue); }
.tp-media { margin-top: 10px; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 22px; text-align: center; color: var(--muted); font-size: 11.5px; background: var(--surface-2); }
.tp-foot { display: flex; gap: 26px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.tp-foot span { display: inline-flex; align-items: center; gap: 5px; }
.tp-foot svg { width: 13px; height: 13px; }
.tp-thread { border-left: 2px solid var(--line); margin-left: 8px; padding-left: 14px; display: flex; flex-direction: column; gap: 14px; }

/* ---------- sidebar lists / bits ---------- */
.list { display: flex; flex-direction: column; }
.list-item { display: flex; align-items: center; gap: 11px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .li-main { flex: 1; min-width: 0; }
.list-item .li-title { font-size: 12.5px; font-weight: 600; }
.list-item .li-sub { font-size: 11px; color: var(--muted); }
.emptystate { padding: 40px 20px; text-align: center; color: var(--muted); }
.emptystate .es-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--bg-soft); display: grid; place-items: center; margin: 0 auto 12px; color: var(--muted); }
.emptystate h4 { color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.emptystate p { font-size: 12.5px; max-width: 320px; margin: 0 auto 14px; }

/* ---------- calendar ---------- */
.cal-wrap { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 16px; align-items: start; }
.cal-head { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.cal-head div { padding: 9px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-day { min-height: 116px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 7px; position: relative; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.out { background: var(--surface-2); opacity: .55; }
.cal-day.today { background: color-mix(in srgb, var(--accent) 4%, var(--surface)); }
.cal-day .dnum { font-size: 11px; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cal-day.today .dnum span:first-child { background: var(--accent); color: #fff; border-radius: 20px; padding: 1px 6px; }
.cal-add { opacity: 0; color: var(--muted); width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; }
.cal-day:hover .cal-add { opacity: 1; }
.cal-chip {
  display: block; width: 100%; text-align: left; font-size: 10.5px; line-height: 1.25; padding: 4px 6px; border-radius: 6px;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 3px; border-left: 2px solid currentColor;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cal-chip.posted { background: var(--green-soft); color: var(--green); }
.cal-chip.draft { background: var(--bg-soft); color: var(--muted); }
.cal-chip.dragging { opacity: .4; }
.cal-day.dragover { background: var(--accent-soft); outline: 2px dashed var(--accent); outline-offset: -3px; }
.slotrow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.slotrow .time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink-2); width: 48px; flex: 0 0 auto; }
.slotrow .free { color: var(--muted-2); font-style: italic; }

/* ---------- queue ---------- */
.queue-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.qstat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; box-shadow: var(--shadow-sm); min-width: 0; }
.qstat .l { font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.qstat .v { font-size: 20px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qstat .s { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.queue-layout { display: grid; grid-template-columns: minmax(0, 1fr) 344px; gap: 16px; align-items: start; }
.queue-main { min-width: 0; display: flex; flex-direction: column; gap: 11px; }

.queue-day { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.qd-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-bottom: 1px solid var(--line); }
.qd-head > div { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.qd-head strong { font-size: 13.5px; font-weight: 800; letter-spacing: -.02em; }
.qd-head span { font-size: 11px; color: var(--muted); }
.qd-head .pill { margin-left: auto; }

.qslot { display: grid; grid-template-columns: 70px minmax(0, 1fr) 52px; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px dashed var(--line); }
.qslot:last-child { border-bottom: 0; }
.qslot:hover { background: var(--surface-2); }
.qs-time { font-size: 12px; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; line-height: 1.3; }
.qs-time small { display: block; font-size: 8.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-top: 1px; }
.qs-fill { display: flex; align-items: center; gap: 7px; min-width: 0; }
.qs-input { flex: 1; min-width: 0; border: 1px dashed var(--line-strong); background: var(--surface-2); border-radius: 8px; padding: 8px 10px; font-size: 12px; }
.qs-input::placeholder { color: var(--muted-2); }
.qs-input:focus { outline: 0; border-style: solid; border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent); }
.qs-post { text-align: left; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 2px 4px; border-radius: 6px; }
.qs-post:hover { background: var(--bg-soft); }
.qs-text { font-size: 12.3px; line-height: 1.45; color: var(--ink-2); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qs-meta { font-size: 10px; color: var(--muted); }
.qs-acts { display: flex; justify-content: flex-end; gap: 2px; opacity: 0; transition: opacity .12s; }
.qslot:hover .qs-acts, .qslot:focus-within .qs-acts { opacity: 1; }
.qs-acts button { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; color: var(--muted); }
.qs-acts button:hover { background: var(--bg-soft); color: var(--accent); }
.qs-acts svg { width: 13px; height: 13px; }

.queue-rail { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.qrail-top { padding: 13px 16px; }
.qrail-title { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: -.01em; }
.qrail-title svg { width: 15px; height: 15px; color: var(--accent); }
.qrail-account { width: auto; min-width: 0; max-width: 62%; text-overflow: ellipsis; }
.qrail-body { padding: 14px 16px 16px; }
.qrail-textarea { width: 100%; min-height: 118px; resize: vertical; border: 0; background: transparent; font-size: 14px; line-height: 1.55; padding: 0; }
.qrail-textarea:focus { outline: 0; }
.qrail-textarea::placeholder { color: var(--muted-2); }
.qrail-meta { margin-top: 8px; }
.q-count-warn { color: var(--gold) !important; }
.qrail-actions { margin-top: 10px; }
.qrail-target { display: flex; align-items: center; gap: 7px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 8px; padding: 7px 9px; font-size: 10.5px; color: var(--ink-2); margin-bottom: 10px; flex-wrap: wrap; }
.qrail-target > span { min-width: 0; }
.qrail-target strong { color: var(--accent); }
.qrail-target > svg { width: 13px; height: 13px; color: var(--accent); flex: 0 0 auto; }
.qrail-target > button { margin-left: auto; color: var(--muted); width: 20px; height: 20px; display: grid; place-items: center; }
.qrail-target > button svg { width: 12px; height: 12px; }
.qrail-target .input { flex: 1; min-width: 150px; background: var(--surface); }
.qrail-next .qnext { width: 100%; display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; text-align: left; }
.qrail-next .qnext:last-of-type { border-bottom: 0; }
.qrail-next .qnext:hover { color: var(--accent); }
.qnext-date { flex: 1; color: var(--muted); font-size: 11px; }
.qnext strong { font-variant-numeric: tabular-nums; font-size: 11.5px; }
.qnext .pill { font-size: 9px; padding: 2px 7px; }
.qrail-tip p { margin-top: 2px; }
.qmodal-facts { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- inspiration ---------- */
.insp-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.insp-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.insp-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.insp-top { display: flex; align-items: center; gap: 9px; }
.insp-author { font-size: 12px; font-weight: 700; }
.insp-handle { font-size: 11px; color: var(--muted); }
.insp-text { font-size: 12.8px; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.insp-foot { display: flex; align-items: center; gap: 12px; font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 9px; }
.insp-foot .acts { margin-left: auto; display: flex; gap: 5px; }
.insp-foot .acts button { width: 27px; height: 27px; border-radius: 7px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--muted); background: var(--surface); }
.insp-foot .acts button:hover { color: var(--accent); border-color: var(--accent); }
.insp-foot .acts svg { width: 13px; height: 13px; }
.filterbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.searchbig { position: relative; flex: 1; min-width: 220px; }
.searchbig svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.searchbig input { padding-left: 36px; height: 40px; font-size: 13px; }
.chips { display: flex; gap: 5px; flex-wrap: wrap; }
.chip { padding: 4px 10px; border-radius: 20px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--muted); background: var(--surface); }
.chip:hover { border-color: var(--muted-2); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- automations ---------- */
.auto-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.auto-card { padding: 17px; display: flex; flex-direction: column; gap: 12px; }
.auto-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; }
.auto-icon svg { width: 19px; height: 19px; }
.auto-card h3 { font-size: 14px; font-weight: 700; }
.auto-card p { font-size: 12px; color: var(--muted); line-height: 1.5; }
.auto-foot { display: flex; align-items: center; gap: 10px; font-size: 10.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 11px; }
.meter { height: 6px; border-radius: 20px; background: var(--bg-soft); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--accent); border-radius: 20px; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: 12.5px; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--surface-2); }
.table .num { font-variant-numeric: tabular-nums; text-align: right; }
.table-wrap { overflow-x: auto; }
.lead-cell { display: flex; align-items: center; gap: 9px; min-width: 190px; }
.lead-cell .name { font-weight: 600; font-size: 12.5px; }
.lead-cell .handle { font-size: 10.5px; color: var(--muted); }
.status-select { border: 0; background: transparent; font-size: 11px; font-weight: 700; padding: 3px 6px; border-radius: 6px; }
.status-select.s-new { background: var(--bg-soft); color: var(--muted); }
.status-select.s-contacted { background: var(--blue-soft); color: var(--blue); }
.status-select.s-replied { background: var(--gold-soft); color: var(--gold); }
.status-select.s-qualified { background: var(--accent-soft); color: var(--accent); }
.status-select.s-won { background: var(--green-soft); color: var(--green); }
.status-select.s-lost { background: var(--danger-soft); color: var(--danger); }

/* ---------- modal / drawer / toast ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(18,16,14,.55); backdrop-filter: blur(3px); z-index: 100; display: grid; place-items: center; padding: 20px; animation: fade .14s ease; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); width: min(560px, 100%); max-height: min(86vh, 820px); overflow: auto; animation: pop .16s ease; }
@keyframes pop { from { transform: translateY(8px) scale(.99); opacity: .6 } to { transform: none; opacity: 1 } }
.modal.wide { width: min(820px, 100%); }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h3 { font-size: 15px; font-weight: 700; flex: 1; }
.modal-body { padding: 20px; }
.modal-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--surface); }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(18,16,14,.4); z-index: 90; animation: fade .14s; }
.drawer { position: fixed; right: 0; top: 0; bottom: 0; width: min(460px, 96vw); background: var(--surface); border-left: 1px solid var(--line); z-index: 95; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .18s ease; }
@keyframes slide { from { transform: translateX(30px); opacity: .6 } to { transform: none; opacity: 1 } }
.drawer-head { padding: 18px 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.drawer-body { padding: 20px; overflow: auto; flex: 1; }
.toast-root { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; animation: toastin .2s ease; max-width: 90vw;
}
.toast.error { background: var(--danger); color: #fff; }
.toast.success { background: var(--green); color: #fff; }
@keyframes toastin { from { transform: translateY(8px); opacity: 0 } to { transform: none; opacity: 1 } }

/* command palette */
.cmdk { width: min(600px, 100%); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; }
.cmdk input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 15px 18px; font-size: 15px; background: transparent; }
.cmdk input:focus { outline: 0; }
.cmdk-results { max-height: 420px; overflow: auto; padding: 6px; }
.cmdk-group { font-size: 9.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); font-weight: 700; padding: 9px 12px 4px; }
.cmdk-item { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; color: var(--ink-2); }
.cmdk-item:hover, .cmdk-item.on { background: var(--bg-soft); }
.cmdk-item svg { width: 15px; height: 15px; color: var(--muted); }
.cmdk-item .hint { margin-left: auto; font-size: 10px; color: var(--muted-2); }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.auth-brand { background: var(--side-bg); color: var(--side-ink); padding: 42px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; border: 1px solid #332e27; right: -220px; bottom: -240px; box-shadow: 0 0 0 70px rgba(228,87,46,.045), 0 0 0 150px rgba(228,87,46,.03); }
.auth-brand .brand { font-size: 22px; }
.auth-copy { margin-top: auto; margin-bottom: auto; max-width: 440px; position: relative; z-index: 1; }
.auth-copy h1 { font-size: 42px; line-height: 1.05; letter-spacing: -.045em; font-weight: 800; }
.auth-copy h1 em { color: var(--accent); font-style: normal; }
.auth-copy p { color: #b3aca0; margin-top: 18px; font-size: 14px; line-height: 1.65; max-width: 380px; }
.auth-points { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.auth-points div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #d3ccc0; }
.auth-points i { width: 18px; height: 18px; border-radius: 50%; background: rgba(228,87,46,.18); color: var(--accent); display: grid; place-items: center; font-size: 10px; font-style: normal; }
.auth-bottom { font-size: 10.5px; color: #787167; position: relative; z-index: 1; }
.auth-panel { display: grid; place-items: center; padding: 40px 24px; background: var(--bg); }
.auth-form { width: min(370px, 100%); }
.auth-form h2 { font-size: 24px; letter-spacing: -.03em; font-weight: 800; }
.auth-form .sub { color: var(--muted); font-size: 12.5px; margin: 6px 0 22px; }
.auth-form .field { margin-bottom: 13px; }
.auth-switch { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.auth-switch button { color: var(--accent); font-weight: 700; }
.demo-note { margin-top: 20px; border: 1px dashed var(--line-strong); border-radius: 10px; padding: 11px 13px; font-size: 11.5px; color: var(--muted); background: var(--surface-2); }
.demo-note strong { color: var(--ink-2); display: block; margin-bottom: 3px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }
.auth-close { position: absolute; top: 22px; right: 24px; }

/* ---------- compose ---------- */
.composer { padding: 0; overflow: hidden; }
.composer-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.composer-main { padding: 18px; }
.thread-part { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface-2); margin-bottom: 10px; }
.thread-part .tp-headrow { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--muted); font-size: 10.5px; font-weight: 700; }
.thread-part textarea { border: 0; background: transparent; padding: 0; font-size: 14px; line-height: 1.55; resize: none; width: 100%; min-height: 64px; }
.thread-part textarea:focus { outline: 0; box-shadow: none; }
.counter { font-size: 10.5px; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.counter.warn { color: var(--gold); }
.counter.over { color: var(--danger); font-weight: 700; }
.composer-tools { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 12px; flex-wrap: wrap; }
.toolbtn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.toolbtn:hover { background: var(--bg-soft); color: var(--ink); }
.toolbtn svg { width: 14px; height: 14px; }
.toolbtn.ai { color: var(--accent); background: var(--accent-soft); }
.toolbtn.ai:hover { background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.ai-panel { border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--line)); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 80%); border-radius: 14px; padding: 15px; }
.ai-panel h4 { font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.ai-panel h4 svg { width: 14px; height: 14px; color: var(--accent); }
.ai-row { display: flex; gap: 7px; margin-top: 9px; }
.ai-row .input { background: var(--surface); }
.variants { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.variant { border: 1px solid var(--line); background: var(--surface); border-radius: 9px; padding: 10px 11px; font-size: 12px; line-height: 1.5; white-space: pre-wrap; position: relative; }
.variant .v-acts { display: flex; gap: 4px; margin-top: 7px; }
.variant .v-acts button { font-size: 10.5px; font-weight: 700; color: var(--accent); padding: 2px 6px; border-radius: 5px; }
.variant .v-acts button:hover { background: var(--accent-soft); }
.schedule-box { padding: 15px; }
.optrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: 12px; }
.optrow label { color: var(--muted); }
.charring { --p: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; font-weight: 700; color: var(--muted); background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--bg-soft) 0); position: relative; }
.charring::after { content: ""; position: absolute; inset: 3px; background: var(--surface); border-radius: 50%; }
.charring span { position: relative; z-index: 1; }

/* ---------- misc ---------- */
.heatmap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.heatcell { aspect-ratio: 1.35; border-radius: 4px; background: var(--bg-soft); display: grid; place-items: center; font-size: 8px; color: var(--muted); }
.besttime { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 12px; }
.besttime:last-child { border: 0; }
.public-note { display: flex; gap: 9px; align-items: flex-start; font-size: 11.5px; color: var(--muted); background: var(--bg-soft); border-radius: 9px; padding: 10px 12px; }
.public-note svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.kbd { font-family: var(--sans); font-size: 10px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 5px; color: var(--muted); background: var(--surface); }
.statusbar { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.loadscreen { padding: 70px 20px; text-align: center; color: var(--muted); font-size: 12.5px; }
.skeleton { background: linear-gradient(90deg, var(--bg-soft), var(--surface-2), var(--bg-soft)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

/* ---------- public pages ---------- */
.public-wrap { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }
.public-nav { display: flex; align-items: center; gap: 10px; padding: 18px 26px; border-bottom: 1px solid var(--line); background: var(--surface); }
.public-nav .brand { color: var(--ink); font-size: 17px; }
.public-body { flex: 1; width: 100%; max-width: 880px; margin: 0 auto; padding: 40px 22px 60px; }
.public-foot { text-align: center; padding: 24px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.share-tweet { max-width: 560px; margin: 0 auto; }
.share-cta { display: flex; gap: 10px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }

/* ---------- icon safety ---------- */
.stat .label svg { width: 13px; height: 13px; flex: 0 0 auto; }
.chip svg { width: 13px; height: 13px; flex: 0 0 auto; }
.list-item > svg { width: 15px; height: 15px; flex: 0 0 auto; color: var(--muted-2); }
.workspace .chev svg { width: 14px; height: 14px; }
.emptystate .es-icon svg { width: 20px; height: 20px; }
.cal-add svg { width: 12px; height: 12px; }
.searchbtn svg { width: 15px; height: 15px; flex: 0 0 auto; }
.statusbar svg { width: 14px; height: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .statgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cal-wrap { grid-template-columns: 1fr; }
  .grid.split { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .queue-layout { grid-template-columns: 1fr; }
  .queue-rail { position: static; order: -1; }
  .qrail-textarea { min-height: 84px; }
}
@media (max-width: 1000px) {
  .grid.compose { grid-template-columns: 1fr; }
  .insp-grid, .auto-grid { grid-template-columns: 1fr; }
  .grid.c3, .grid.c4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .mobile-menu { display: grid; }
  .searchbtn { min-width: 0; width: 34px; height: 34px; padding: 0; justify-content: center; }
  .searchbtn span, .searchbtn kbd { display: none; }
  .page { padding: 20px 16px 50px; }
  .topbar { padding: 0 14px; height: 54px; flex-basis: 54px; }
  .crumb .cr-leaf { display: none; }
  .grid.c2 { grid-template-columns: 1fr; }
  .cal-day { min-height: 82px; padding: 4px; }
  .cal-chip { font-size: 9px; padding: 3px 4px; }
  .queue-stats { grid-template-columns: 1fr 1fr; }
  .qstat .v { font-size: 18px; }
  .qslot { grid-template-columns: 62px minmax(0, 1fr) 44px; padding: 9px 11px; }
  .modal-backdrop { padding: 10px; align-items: end; }
  .modal { max-height: 92vh; }
  .table-wrap { margin: 0 -16px; }
}
@media (max-width: 560px) {
  h1.title { font-size: 24px; }
  .statgrid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stat { padding: 12px; }
  .stat .value { font-size: 21px; }
  .grid.c3, .grid.c4 { grid-template-columns: 1fr; }
  .page-actions { width: 100%; }
  .queue-stats { gap: 8px; }
  .qstat { padding: 10px 11px; }
  .qstat .s { display: none; }
  .qslot { grid-template-columns: 54px minmax(0, 1fr); }
  .qslot .qs-acts { display: none; }
  .qd-head { padding: 10px 12px; }
  .cal-day { min-height: 62px; }
  .cal-chip { display: none; }
  .cal-day .dnum { font-size: 10px; }
  .tp-foot { gap: 14px; }
}
