@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  
  --bg: #09090B;            
  --bg-sidebar: #0C0C0E;
  --surface: #101012;       
  --surface-2: #161618;     
  --surface-3: #1D1D20;     
  --bg-soft: var(--surface-2); 

  
  --border: #212125;
  --border-strong: #2D2D32;
  --border-input: #3B3B42;

  
  --ink: #EDEDEF;
  --ink-dim: #A3A3AB;
  --ink-faint: #85858E;
  --on-ink: #09090B;        

  
  --focus: #EDEDEF;

  
  --ink-hover: #FFFFFF;                                           
  --border-hover: #4A4A52;
  --glass: color-mix(in srgb, var(--bg) 92%, transparent);        
  --scrim-solid: color-mix(in srgb, var(--bg) 97%, transparent);  
  --focus-ring: color-mix(in srgb, var(--ink) 12%, transparent);  
  --shimmer: color-mix(in srgb, var(--ink) 5%, transparent);      
  --spinner: color-mix(in srgb, var(--on-ink) 70%, transparent);  
  --overlay: rgba(0, 0, 0, 0.62);                                 
  --logo-bg: #07070B;                                             
  --img-ink: #EDEDEF;                                             
  --shadow-board: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --swatch-dark-bg: #09090B; --swatch-dark-ink: #EDEDEF; --swatch-light-bg: #FAFAFA; --swatch-light-ink: #09090B; --swatch-mid: #808088;      

  
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-full: 999px;

  
  --shadow-pop: 0 0 0 1px var(--border-strong), 0 16px 40px -8px rgba(0, 0, 0, 0.7);

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --t-fast: 120ms;

  --sidebar-w: 236px;
  --topbar-h: 52px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #FAFAFA; --bg-sidebar: #F4F4F5; --surface: #FFFFFF; --surface-2: #F4F4F5; --surface-3: #E9E9EC;
  --border: #E4E4E7; --border-strong: #D4D4D8; --border-input: #8E8E96;
  
  --ink: #09090B; --ink-dim: #52525B; --ink-faint: #686872; --on-ink: #FAFAFA; --focus: #09090B;
  --ink-hover: #27272A; --border-hover: #71717A;
  --overlay: rgba(9, 9, 11, 0.45);
  --shadow-pop: 0 0 0 1px var(--border-strong), 0 16px 40px -8px rgba(9, 9, 11, 0.18);
  --shadow-board: 0 30px 80px -30px rgba(9, 9, 11, 0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.012em; line-height: 1.25; color: var(--ink); }
h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 15px; }
h4 { font-size: 13.5px; }
p { color: var(--ink-dim); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
code, kbd { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 1px 5px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
svg.lucide { width: 16px; height: 16px; flex-shrink: 0; }
::selection { background: var(--ink); color: var(--on-ink); }
.num, .tnum { font-variant-numeric: tabular-nums; }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: var(--on-ink); padding: 8px 14px; border-radius: var(--r-md); }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; border: 2px solid var(--bg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500; line-height: 1; white-space: nowrap; user-select: none;
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn svg.lucide { width: 15px; height: 15px; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; gap: 6px; }
.btn-lg { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover:not(:disabled) { background: var(--ink-hover); }
.btn-secondary { background: var(--surface-2); border-color: var(--border-strong); color: var(--ink); }
.btn-secondary:hover:not(:disabled) { background: var(--surface-3); border-color: var(--border-input); }
.btn-ghost { background: transparent; color: var(--ink-dim); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.btn-danger { background: transparent; border-color: var(--border-input); color: var(--ink); }
.btn-danger:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn-discord { background: var(--ink); color: var(--on-ink); }
.btn-discord:hover:not(:disabled) { background: var(--ink-hover); }
.btn-roblox { background: var(--surface-2); border-color: var(--border-strong); color: var(--ink); }
.btn-roblox:hover:not(:disabled) { background: var(--surface-3); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading > * { opacity: 0; }
.btn-loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--ink-dim) var(--ink-dim) transparent transparent;
  animation: spin 0.7s linear infinite;
}
.btn-primary.btn-loading::after, .btn-discord.btn-loading::after { border-color: var(--spinner) var(--spinner) transparent transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: var(--ink-dim);
  transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.icon-btn svg.lucide { width: 16px; height: 16px; }
.notif-dot { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); border: 2px solid var(--bg); }

.field { margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.field-hint { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }
.field-error { font-size: 12.5px; color: var(--ink); margin-top: 6px; display: flex; align-items: center; gap: 6px; }
.field-error svg.lucide { width: 14px; height: 14px; }
.field-input, .form-textarea, select.field-input {
  width: 100%; height: 36px; padding: 0 12px; border-radius: var(--r-md);
  background: var(--surface-2); border: 1px solid var(--border-input); color: var(--ink); font-size: 14px;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field-input::placeholder, .form-textarea::placeholder { color: var(--ink-faint); }
.field-input:hover, .form-textarea:hover { border-color: var(--border-hover); }
.field-input:focus, .form-textarea:focus { border-color: var(--ink-dim); box-shadow: 0 0 0 3px var(--focus-ring); }
.field-input.error { border-color: var(--ink); }
.field-input:disabled { opacity: 0.5; cursor: not-allowed; }
.form-textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
select.field-input { appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2385858E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center; }
select.field-input option { background: var(--surface-2); color: var(--ink); }
.field-input-wrap { position: relative; }
.password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: transparent; color: var(--ink-faint); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; }
.password-toggle:hover { color: var(--ink); }

.switch { position: relative; display: inline-block; width: 34px; height: 20px; flex-shrink: 0; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch .track { position: absolute; inset: 0; background: var(--surface-3); border: 1px solid var(--border-input); border-radius: var(--r-full); transition: background var(--t-fast); }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink-dim); transition: transform var(--t-fast), background var(--t-fast); }
.switch input:checked + .track { background: var(--ink); border-color: var(--ink); }
.switch input:checked + .track::after { transform: translateX(14px); background: var(--on-ink); }
.switch input:disabled + .track { opacity: 0.5; }
.switch input:focus-visible + .track { outline: 2px solid var(--focus); outline-offset: 2px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.panel-head h3 { font-size: 13px; font-weight: 600; }
.panel-head a { font-size: 12.5px; color: var(--ink-dim); }
.panel-head a:hover { color: var(--ink); }
.panel-body { padding: 16px; }
.eyebrow { font-size: 12px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 6px; }
.dot-live { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.table-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.table-search { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.table-search input { width: 100%; height: 32px; padding: 0 12px 0 34px; background: var(--surface-2); border: 1px solid var(--border-input); border-radius: var(--r-md); font-size: 13px; color: var(--ink); }
.table-search input::placeholder { color: var(--ink-faint); }
.table-search input:focus { outline: none; border-color: var(--ink-dim); box-shadow: 0 0 0 3px var(--focus-ring); }
.table-search .search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; color: var(--ink-faint); pointer-events: none; }
.table-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-chip { height: 26px; padding: 0 10px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: transparent; color: var(--ink-dim); font-size: 12.5px; transition: background var(--t-fast), color var(--t-fast); }
.filter-chip:hover { color: var(--ink); background: var(--surface-2); }
.filter-chip.active { background: var(--surface-3); border-color: var(--border-input); color: var(--ink); }

.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { text-align: left; padding: 9px 16px; font-size: 12px; font-weight: 500; color: var(--ink-faint); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--ink-dim); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--surface-2); }
.data-table td.strong, .data-table .strong { color: var(--ink); font-weight: 500; }
.table-pagination { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-faint); }
.pagination-btns { display: flex; gap: 4px; }
.pagination-btns button { min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: var(--ink-dim); font-size: 12.5px; }
.pagination-btns button:hover:not(:disabled) { background: var(--surface-2); color: var(--ink); }
.pagination-btns button.active { background: var(--surface-3); border-color: var(--border-strong); color: var(--ink); }
.pagination-btns button:disabled { opacity: 0.35; cursor: default; }

.status-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-sm); border: 1px solid transparent; font-size: 11.5px; font-weight: 500; line-height: 1; text-transform: capitalize; white-space: nowrap; margin-left: 4px; }
.status-chip:first-child { margin-left: 0; }
.status-chip.open, .status-chip.urgent { background: var(--ink); color: var(--on-ink); }
.status-chip.pending, .status-chip.high { background: var(--surface-3); border-color: var(--border-input); color: var(--ink); }
.status-chip.resolved, .status-chip.normal, .status-chip.low { background: transparent; border-color: var(--border-strong); color: var(--ink-dim); }
.status-chip.closed { background: transparent; border-color: var(--border); color: var(--ink-faint); }
.status-chip.verified { background: transparent; border-color: var(--ink-dim); color: var(--ink); }

.badge-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink); }
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.badge-status.off { color: var(--ink-faint); }
.badge-status.off::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-faint); }

.feed-tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--r-sm); border: 1px solid var(--border-strong); font-size: 11.5px; font-weight: 500; color: var(--ink-dim); white-space: nowrap; flex-shrink: 0; }
.feed-tag.tag-warn { background: var(--surface-3); border-color: var(--border-input); color: var(--ink); }
.feed-tag.tag-ban { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.feed-tag.tag-promo { border-color: var(--ink-dim); color: var(--ink); }
.feed-tag.tag-app, .feed-tag.tag-shift { color: var(--ink-dim); }

.avatar { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; background: var(--surface-3); border: 1px solid var(--border-strong); }
.roster-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.roster-row:last-child { border-bottom: 0; }
.roster-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.roster-who > div { min-width: 0; }
.roster-role { font-size: 12px; color: var(--ink-faint); }
.logo-badge, .ws-icon { display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--ink); font-weight: 600; flex-shrink: 0; }
.logo-badge img, .ws-icon img { width: 100%; height: 100%; object-fit: cover; }
.ws-icon { width: 28px; height: 28px; border-radius: var(--r-md); font-size: 11px; letter-spacing: 0.02em; }
.logo-badge { width: 28px; height: 28px; border-radius: var(--r-md); background: var(--logo-bg); }

.empty-state { text-align: center; padding: 44px 20px; color: var(--ink-faint); }
.empty-state .icon { width: 22px; height: 22px; margin: 0 auto 12px; color: var(--ink-faint); }
.empty-state .title { font-size: 14px; font-weight: 600; color: var(--ink); }
.empty-state .sub { font-size: 13px; margin-top: 4px; max-width: 380px; margin-left: auto; margin-right: auto; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-md); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, var(--shimmer), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

.modal-overlay { position: fixed; inset: 0; z-index: 300; background: var(--overlay); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; animation: fade 0.15s var(--ease); }
.modal-card { background: var(--surface); border-radius: var(--r-xl); width: 100%; max-width: 440px; padding: 24px; box-shadow: var(--shadow-pop); max-height: calc(100vh - 40px); overflow-y: auto; animation: pop 0.18s var(--ease); }
.modal-card h3 { font-size: 16px; margin-bottom: 6px; }
.modal-card .sub { color: var(--ink-dim); font-size: 13.5px; margin-bottom: 18px; }
.modal-actions { display: flex; gap: 10px; margin-top: 18px; }
.modal-actions .btn { flex: 1; }
.modal-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(0.985); } }

.profile-menu { position: relative; }
.profile-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 4px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; color: var(--ink); font-size: 13px; font-weight: 500; }
.profile-btn:hover { background: var(--surface-2); }
.profile-btn svg.lucide { width: 14px; height: 14px; color: var(--ink-faint); }
.profile-dropdown { position: absolute; right: 0; top: calc(100% + 6px); min-width: 210px; padding: 4px; background: var(--surface-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); display: none; z-index: 60; }
.profile-dropdown.open { display: block; animation: pop 0.14s var(--ease); }
.profile-dropdown a, .profile-dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; height: 32px; padding: 0 10px; border: 0; background: transparent; border-radius: var(--r-md); font-size: 13px; color: var(--ink-dim); text-align: left; }
.profile-dropdown a:hover, .profile-dropdown button:hover { background: var(--surface-3); color: var(--ink); }
.profile-dropdown hr { margin: 4px 0; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(12px); opacity: 0; z-index: 500; background: var(--surface-3); color: var(--ink); padding: 10px 16px; border-radius: var(--r-md); font-size: 13px; box-shadow: var(--shadow-pop); transition: opacity 0.18s, transform 0.18s var(--ease); pointer-events: none; max-width: 90vw; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; z-index: 250; background: var(--surface-2); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); padding: 16px; display: none; font-size: 13px; }
.cookie-bar.show { display: block; animation: pop 0.2s var(--ease); }
.cookie-bar p { color: var(--ink-dim); }
.cookie-bar p strong { color: var(--ink); }
.cookie-bar p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.pref-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.pref-row:last-of-type { border-bottom: 0; }
.pref-row .t { font-weight: 600; font-size: 13.5px; color: var(--ink); }
.pref-row .d { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }

.reveal { opacity: 1; }

.consent-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; background: var(--surface); border-top: 1px solid var(--border-strong); box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.35); }
.consent-text { max-width: 80ch; font-size: 13.5px; line-height: 1.5; }
.consent-text strong { display: block; font-size: 14.5px; margin-bottom: 2px; }
.consent-text p { margin: 0; color: var(--ink-dim); }
.consent-text a { color: var(--ink); text-decoration: underline; margin-left: 8px; }
.consent-note { margin-top: 6px !important; color: var(--ink) !important; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
body.consent-open { padding-bottom: var(--consent-h, 0px); }
@media (max-width: 760px) { .consent-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px; } .consent-actions { flex-direction: column; } .consent-actions .btn { width: 100%; } }
.consent-actions .btn { min-height: 44px; padding-left: 18px; padding-right: 18px; }     

@view-transition { navigation: auto; }
.dash-side { view-transition-name: side; }
.app-topbar { view-transition-name: top; }
.nav { view-transition-name: nav; }
::view-transition-group(side), ::view-transition-group(top), ::view-transition-group(nav) { animation: none; }
::view-transition-old(side), ::view-transition-old(top), ::view-transition-old(nav) { display: none; }
::view-transition-new(side), ::view-transition-new(top), ::view-transition-new(nav) { animation: none; }
::view-transition-old(root) { animation: vt-out 100ms ease-in both; }
::view-transition-new(root) { animation: vt-in 220ms var(--ease) 30ms both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.theme-toggle { color: var(--ink-dim); }
.theme-toggle:hover { color: var(--ink); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: inline-flex; }
.theme-toggle svg { width: 18px; height: 18px; }
.mobile-theme { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 4px; background: none; border: 0; border-top: 1px solid var(--border); color: var(--ink-dim); font: inherit; cursor: pointer; text-align: left; }
.mobile-theme svg { width: 18px; height: 18px; }
.theme-row { display: flex; gap: 4px; padding: 6px 10px 8px; align-items: center; }
.theme-row .theme-row-label { flex: 1; font-size: 13px; color: var(--ink-dim); }
.theme-row button { width: 32px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: var(--r-md); background: transparent; color: var(--ink-dim); cursor: pointer; padding: 0; }
.theme-row button svg { width: 15px; height: 15px; }
.theme-row button:hover { color: var(--ink); background: var(--surface-2); }
.theme-row button.on { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.dash-shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; }
.dash-side {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; overflow-y: auto;
  background: var(--bg-sidebar); border-right: 1px solid var(--border); padding: 10px;
}
.ws-header { display: flex; align-items: center; gap: 10px; padding: 8px; margin: 0 0 6px; border-radius: var(--r-md); color: inherit; }
a.ws-header:hover { background: var(--surface-2); }
.ws-header-text { min-width: 0; flex: 1; }
.ws-name-row { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
#wsName { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
#wsVerifiedBadge { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; }
.ws-name-row .verified { width: 14px; height: 14px; color: var(--ink); }
.ws-verified-label { display: none; }
.ws-header .sub { font-size: 11.5px; color: var(--ink-faint); line-height: 1.3; }
.ws-header .swap { width: 14px; height: 14px; color: var(--ink-faint); flex-shrink: 0; }

.dash-nav-group { margin-top: 14px; }
.dash-nav-group:first-of-type { margin-top: 6px; }
.dash-nav-group-label { padding: 0 10px 6px; font-size: 11.5px; font-weight: 500; color: var(--ink-faint); }
.dash-nav { display: flex; flex-direction: column; gap: 1px; }
.dash-nav a { display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: var(--r-md); font-size: 13px; color: var(--ink-dim); transition: background var(--t-fast), color var(--t-fast); }
.dash-nav a svg.lucide { width: 15px; height: 15px; color: var(--ink-faint); transition: color var(--t-fast); }
.dash-nav a:hover { background: var(--surface-2); color: var(--ink); }
.dash-nav a:hover svg.lucide { color: var(--ink-dim); }
.dash-nav a.active { background: var(--surface-3); color: var(--ink); }
.dash-nav a.active svg.lucide { color: var(--ink); }
.dash-side-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); }
.dash-side-foot .btn { justify-content: flex-start; width: 100%; }

.dash-main { min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; background: var(--glass); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px);
}
.app-topbar .crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); min-width: 0; }
.app-topbar .crumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-topbar .crumb .dim, .app-topbar .crumb .sep { color: var(--ink-faint); flex-shrink: 0; }
.app-topbar .crumb .dim { max-width: 220px; }
.app-topbar .crumb #crumbTitle { font-weight: 500; }
.app-topbar .menu-btn { display: none; }
.dash-topbar-right { display: flex; align-items: center; gap: 6px; }
.dash-content { width: 100%; max-width: 1120px; margin: 0 auto; padding: 28px 32px 56px; }
.dash-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.dash-page-head h1 { font-size: 22px; }
.dash-page-head p { margin-top: 4px; font-size: 13.5px; color: var(--ink-dim); }
.nav-scrim { display: none; }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 16px; overflow: hidden; }
.stat-card { padding: 16px 18px; border-right: 1px solid var(--border); min-width: 0; }
.stat-card:last-child { border-right: 0; }
.stat-card .label { font-size: 12.5px; color: var(--ink-dim); }
.stat-card .num { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat-card .hint { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.heatmap-wrap { display: flex; flex-direction: column; gap: 14px; }
.heat-layout { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.heatmap-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(7, 15px); grid-auto-columns: 15px; gap: 3px; flex-shrink: 0; }
.heatmap-cell { width: 15px; height: 15px; border-radius: 3px; background: var(--surface-3); }
.heat-stats { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 8px 32px; align-content: start; }
.heat-stats .k { font-size: 12px; color: var(--ink-faint); }
.heat-stats .v { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 2px; font-variant-numeric: tabular-nums; }
.heat-stats .s { font-size: 12px; color: var(--ink-faint); }
.heatmap-legend { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 12px; color: var(--ink-faint); }
.heatmap-legend .scale { display: flex; align-items: center; gap: 4px; }
.heatmap-legend .sq { width: 10px; height: 10px; border-radius: 2px; }

.feed-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.feed-row:last-child { border-bottom: 0; }
.feed-text { flex: 1; color: var(--ink-dim); min-width: 0; word-break: break-word; }
.feed-ts { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); flex-shrink: 0; }

.new-member-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13.5px; }
.new-member-row .when { margin-left: auto; font-size: 12px; color: var(--ink-faint); }

.sticky-note-card { padding: 14px 16px; }
.sticky-note-card textarea { width: 100%; min-height: 76px; background: transparent; border: 0; resize: vertical; color: var(--ink); font-size: 13.5px; line-height: 1.55; }
.sticky-note-card textarea:focus { outline: none; }
.sticky-note-card textarea::placeholder { color: var(--ink-faint); }
.sticky-note-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.sticky-note-foot .by { font-size: 12px; color: var(--ink-faint); }

.home-banner, .platform-banner, .connect-prompt {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 16px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); font-size: 13.5px;
}
.home-banner-body { flex: 1; min-width: 0; color: var(--ink); line-height: 1.5; word-break: break-word; }
.home-banner-meta { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }
.home-banner-close { background: none; border: 0; color: var(--ink-faint); padding: 2px; border-radius: var(--r-sm); display: inline-flex; flex-shrink: 0; }
.home-banner-close:hover { color: var(--ink); }
.platform-banner.warning { border-color: var(--ink-faint); }
.platform-banner.critical { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.platform-banner.critical .pb-body, .platform-banner.critical strong { color: var(--on-ink); }
.platform-banner.critical .home-banner-close { color: var(--on-ink); }
.pb-body { font-size: 13px; color: var(--ink-dim); margin-top: 2px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.connect-prompt { align-items: center; }
.home-hero, .home-hero-badge, .home-hero-text, .home-hero-watermark { display: none; }

.quota-bar-track { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.quota-bar-fill { height: 100%; background: var(--ink); border-radius: 3px; }
.board-composer { border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-lg); padding: 16px; margin-bottom: 16px; }
.board-composer textarea { width: 100%; min-height: 76px; background: var(--surface-2); border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 10px 12px; font-size: 14px; color: var(--ink); resize: vertical; margin-bottom: 10px; }
.board-composer textarea:focus { outline: none; border-color: var(--ink-dim); box-shadow: 0 0 0 3px var(--focus-ring); }
.board-post { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 10px; }
.board-post-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.board-post-title { font-weight: 600; margin-bottom: 2px; }
.board-post-meta { font-size: 12.5px; color: var(--ink-faint); }
.board-post-body { font-size: 14px; color: var(--ink-dim); line-height: 1.6; white-space: pre-wrap; word-break: break-word; }

.profile-modal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.profile-modal-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-3); border: 1px solid var(--border-strong); flex-shrink: 0; }
.profile-modal-head .name { font-size: 16px; font-weight: 600; }
.profile-modal-head .role { color: var(--ink-faint); font-size: 12.5px; }
.profile-modal-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.profile-modal-stats .box { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px; text-align: center; }
.profile-modal-stats .box .n { font-size: 15px; font-weight: 600; }
.profile-modal-stats .box .l { font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }

.linked-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.linked-row:last-child { border-bottom: 0; }
.linked-yes { color: var(--ink); }
.linked-no { color: var(--ink-faint); }

.ws-tabs, .admin-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.admin-tab { position: relative; padding: 10px 12px; font-size: 13px; color: var(--ink-dim); white-space: nowrap; cursor: pointer; border-radius: var(--r-md) var(--r-md) 0 0; transition: color var(--t-fast); }
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--ink); }
.admin-tab.active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; background: var(--ink); }
.ws-tabs { margin-bottom: 20px; }
button.admin-tab { background: transparent; border: 0; font: inherit; }
.tab-badge { display: inline-block; margin-left: 6px; min-width: 18px; padding: 1px 6px; border-radius: var(--r-full); background: var(--ink); color: var(--on-ink); font-size: 11px; font-weight: 600; text-align: center; }

.conn-row { display: flex; align-items: center; gap: 12px; }
.conn-row.pick { padding: 10px 0; border-bottom: 1px solid var(--border); }
.conn-row.pick:last-child { border-bottom: 0; }
.conn-name { font-weight: 600; font-size: 14px; }
.conn-sub { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.conn-empty, .conn-note { font-size: 13.5px; color: var(--ink-dim); padding: 4px 0; }
.conn-list { margin-top: 14px; border-top: 1px solid var(--border); }

.ticket-row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--t-fast); }
.ticket-row:hover { background: var(--surface-2); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row .subject { font-weight: 500; font-size: 14px; color: var(--ink); }
.ticket-row .meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.ticket-row .main { flex: 1; min-width: 0; }
.ticket-row .main .subject { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.msg.mine { align-self: flex-end; background: var(--surface-3); border-color: var(--border-strong); }
.msg.staff { border-color: var(--border-input); background: var(--surface-2); }
.msg.internal { align-self: stretch; max-width: 100%; background: transparent; border-style: dashed; border-color: var(--ink-faint); }
.msg .who { font-size: 12px; font-weight: 600; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.msg .who .when { font-weight: 400; color: var(--ink-faint); font-size: 11.5px; }
.msg .who .tag { font-size: 10.5px; font-weight: 600; background: var(--ink); color: var(--on-ink); padding: 1px 6px; border-radius: var(--r-sm); }
.msg .text { font-size: 14px; color: var(--ink); white-space: pre-wrap; word-break: break-word; line-height: 1.55; }
.reply-box { border-top: 1px solid var(--border); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }

.suspended-notice { position: fixed; inset: 0; z-index: 400; background: var(--scrim-solid); display: flex; align-items: center; justify-content: center; padding: 24px; }
.suspended-card { max-width: 440px; text-align: center; }
.suspended-card h2 { font-size: 20px; margin-bottom: 10px; }
.suspended-card p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.6; }
.suspended-actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

.admin-shell { min-height: 100vh; background: var(--bg); }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); padding: 0 24px; background: var(--glass); border-bottom: 1px solid var(--border); backdrop-filter: blur(8px); }
.admin-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.admin-tabs { padding: 0 20px; background: var(--bg); position: sticky; top: var(--topbar-h); z-index: 30; }
.admin-main { padding: 24px; max-width: 1280px; margin: 0 auto; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.admin-stat-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 14px 16px; }
.admin-stat-card .top { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--ink-dim); }
.admin-stat-card .top svg.lucide { width: 14px; height: 14px; color: var(--ink-faint); }
.admin-stat-card .num { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; font-variant-numeric: tabular-nums; }
.admin-stat-card .sub { font-size: 12px; color: var(--ink-faint); margin-top: 3px; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bar-chart .bar { flex: 1; display: flex; align-items: flex-end; background: var(--surface-2); border-radius: 3px; position: relative; overflow: hidden; }
.bar-chart .fill { width: 100%; background: var(--ink); border-radius: 3px 3px 0 0; min-height: 0; }
.bar-chart-labels { display: flex; gap: 6px; margin-top: 8px; font-size: 11px; color: var(--ink-faint); }
.bar-chart-labels span { flex: 1; text-align: left; white-space: nowrap; }

.insp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.insp-warn { background: var(--surface-3); border: 1px solid var(--border-input); border-radius: var(--r-md); padding: 10px 14px; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.insp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.insp-card { border: 1px solid var(--border); background: var(--surface-2); border-radius: var(--r-lg); padding: 14px 16px; }
.insp-card-title { font-size: 12px; color: var(--ink-faint); margin-bottom: 10px; }
.insp-counts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 18px; }
.insp-count { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 8px; text-align: center; }
.insp-count .n { font-size: 18px; font-weight: 600; }
.insp-count .l { font-size: 11px; color: var(--ink-faint); margin-top: 2px; }
.insp-h { font-size: 13px; margin: 22px 0 8px; display: flex; align-items: baseline; gap: 10px; }
.insp-sub { font-weight: 400; font-size: 12px; color: var(--ink-faint); }
.insp-foot { font-size: 12px; color: var(--ink-faint); margin-top: 12px; }
.note { border-left: 2px solid var(--ink-dim); background: var(--surface-2); padding: 9px 12px; border-radius: 0 var(--r-md) var(--r-md) 0; margin-bottom: 8px; }
.note-meta { font-size: 11.5px; color: var(--ink-faint); }
.note-text { font-size: 13.5px; margin-top: 3px; white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.note-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; align-items: flex-start; }
.note-form textarea { min-height: 64px; }
.mini-label { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--ink-faint); }
.avatar-pair { position: relative; display: inline-flex; height: 32px; }
.avatar-pair .second { position: absolute; right: 0; bottom: -4px; border: 2px solid var(--surface); border-radius: 50%; display: inline-flex; }
.attn-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--ink-dim); }
.attn-row:last-child { border-bottom: 0; }
.attn-row svg.lucide { color: var(--ink-faint); }
.attn-row b { color: var(--ink); font-weight: 600; }
a.attn-row:hover { color: var(--ink); }
.staff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.staff-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.staff-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.staff-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 12px; }
.staff-meta span { display: block; color: var(--ink-faint); font-size: 11.5px; }
.staff-meta b { font-weight: 500; font-size: 12.5px; color: var(--ink); }
.staff-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.an-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-bottom: 1px solid var(--border); }
.an-row:last-child { border-bottom: 0; }
.env-group { padding: 10px 0; }
.env-title { font-size: 12px; color: var(--ink-faint); margin-bottom: 4px; }
.env-row { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); }
.env-row:last-child { border-bottom: 0; }
.env-row code { font-size: 12.5px; background: transparent; border: 0; padding: 0; }
.admin-main .data-table { min-width: 0; }

@media (max-width: 1100px) { .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .dash-shell { display: block; }
  .dash-side { position: fixed; z-index: 200; left: 0; top: 0; width: min(300px, 86vw); transform: translateX(-102%); transition: transform 0.22s var(--ease); box-shadow: var(--shadow-pop); }
  body.nav-open .dash-side { transform: none; }
  body.nav-open .nav-scrim { display: block; position: fixed; inset: 0; z-index: 150; background: var(--overlay); }
  .app-topbar { padding: 0 14px; }
  .app-topbar .menu-btn { display: inline-flex; margin-right: 4px; }
  .app-topbar .crumb .dim, .app-topbar .crumb .sep { display: none; }
  .dash-content { padding: 20px 16px 48px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-card:nth-child(2) { border-right: 0; }
  .stat-card:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .grid-2, .insp-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: 1fr; }
  .insp-counts { grid-template-columns: repeat(2, 1fr); }
  .admin-main { padding: 16px 12px; }
  .admin-topbar { flex-wrap: wrap; height: auto; padding: 10px 14px; gap: 8px; }
  .admin-tabs { top: 0; position: static; }
  .admin-stat-grid, .admin-stat-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .admin-stat-grid, .admin-stat-grid.cols-4 { grid-template-columns: 1fr; } }

.link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
.link:hover { text-decoration-color: var(--ink); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; text-decoration: underline; text-decoration-color: var(--ink-faint); text-underline-offset: 3px; }
.link-btn:hover { text-decoration-color: var(--ink); }
.code-chip { font-family: var(--font-mono); font-size: 14px; font-weight: 600; padding: 7px 12px; background: var(--surface-2); border-radius: var(--r-md); border: 1px solid var(--border-strong); }
.msg .who .tag.internal { background: transparent; border: 1px dashed var(--ink-faint); color: var(--ink-dim); }
.panel.danger { border-color: var(--border-input); }
.rank { display: inline-block; width: 22px; text-align: right; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.sched-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.week-nav { display: flex; align-items: center; gap: 4px; }
.week-label { min-width: 132px; text-align: center; font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.sched-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.inline-switch { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-dim); cursor: pointer; user-select: none; }

.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 22px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 0 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); color: var(--ink-dim); transition: border-color var(--t-fast), background var(--t-fast); }
.day:hover { border-color: var(--border-input); background: var(--surface-2); }
.day .dow { font-size: 11.5px; }
.day .dnum { font-size: 17px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.25; }
.day .dots { display: flex; gap: 3px; height: 4px; margin-top: 4px; }
.day .dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
.day.today .dow { color: var(--ink); font-weight: 600; }
.day.selected { background: var(--ink); border-color: var(--ink); }
.day.selected .dow, .day.selected .dnum { color: var(--on-ink); }
.day.selected .dots i { background: var(--on-ink); opacity: 0.55; }

.day-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.day-head h2 { font-size: 18px; }
.day-head span { font-size: 13px; color: var(--ink-faint); }

.sess-wrap { border-bottom: 1px solid var(--border); }
.sess-wrap:last-child { border-bottom: 0; }
.sess { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 11px 16px; cursor: pointer; transition: background var(--t-fast); }
.sess:hover { background: var(--surface-2); }
.sess.past { opacity: 0.55; }
.sess-time .t1 { font-weight: 600; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.sess-time .t2 { font-size: 12px; color: var(--ink-faint); }
.sess-title { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 14px; min-width: 0; }
.sess-title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sess-meta { margin-top: 2px; font-size: 12.5px; color: var(--ink-faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sess-people { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.avatar-stack { display: flex; }
.avatar-stack .avatar { width: 20px; height: 20px; margin-left: -6px; border: 2px solid var(--surface); }
.avatar-stack .avatar:first-child { margin-left: 0; }
.sess:hover .avatar-stack .avatar { border-color: var(--surface-2); }
.sess-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 128px; }
.sess-actions .state { font-size: 12.5px; color: var(--ink-faint); padding-right: 6px; }
.sess-detail { display: none; padding: 0 16px 14px 120px; font-size: 13px; color: var(--ink-dim); line-height: 1.55; }
.sess-wrap.open .sess-detail { display: block; }
.sess-detail .notes { white-space: pre-wrap; word-break: break-word; color: var(--ink); }
.sess-detail .names { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.name-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); font-size: 12px; color: var(--ink); }
.mini-chip { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--r-sm); font-size: 11px; font-weight: 500; background: var(--ink); color: var(--on-ink); flex-shrink: 0; }
.mini-chip.quiet { background: transparent; border: 1px solid var(--border-strong); color: var(--ink-dim); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { min-height: 18px; font-size: 13px; color: var(--ink); margin-top: 4px; }
.modal-card.wide { max-width: 520px; }
.field-inline-hint { font-size: 12px; color: var(--ink-faint); margin-top: 6px; }

.stat-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hist-bars { padding: 16px; }
.hist-bars .bar-chart { height: 96px; justify-content: space-around; gap: 0; }
.hist-bars .bar-chart .bar { flex: 0 0 52px; }
.hist-bars .bar-chart-labels { justify-content: space-around; gap: 0; }
.hist-bars .bar-chart-labels span { flex: 0 0 52px; }
.hist-bars .bar-chart .bar { position: relative; height: 100%; }
.hist-bars .bar-chart-labels span { text-align: center; }

.to-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.to-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.to-row:last-child { border-bottom: 0; }
.to-row .who { flex: 1; min-width: 0; }
.to-row .name { font-weight: 500; }
.to-row .dates { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.to-row .reason { font-size: 12.5px; color: var(--ink-dim); margin-top: 2px; word-break: break-word; }
.to-row .acts { display: flex; gap: 6px; }

@media (max-width: 900px) {
  .sess { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 12px; }
  .sess-people, .sess-actions { grid-column: 2; justify-content: flex-start; min-width: 0; }
  .sess-detail { padding-left: 16px; }
  .week-label { min-width: 0; }
  .to-grid, .form-row { grid-template-columns: 1fr; }
  .day .dow { font-size: 10.5px; } .day .dnum { font-size: 15px; }
  .week-strip { gap: 4px; }
}

.verify-box { margin: 0 0 4px; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-md); }
.verify-box p { font-size: 13px; line-height: 1.55; color: var(--ink-dim); }
.verify-box p strong { color: var(--ink); }
.verify-code { display: flex; align-items: center; gap: 10px; margin: 12px 0; flex-wrap: wrap; }
.verify-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hist-bars { padding: 14px 12px; }
  .hist-bars .bar-chart { gap: 6px; justify-content: stretch; }
  .hist-bars .bar-chart .bar, .hist-bars .bar-chart-labels span { flex: 1 1 0; min-width: 0; }
  .hist-bars .bar-chart-labels { gap: 6px; }
  .hist-bars .bar-chart-labels span { font-size: 10px; overflow: hidden; }
}
@media (max-width: 480px) { .hist-bars .bar-chart-labels span:nth-child(even) { visibility: hidden; } }

.perm-table th:nth-child(n+2), .perm-table td:nth-child(n+2) { text-align: center; width: 112px; }
.perm-table td:nth-child(n+2) .switch { margin: 0 auto; }
.perm-check { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; cursor: pointer; }
.perm-check:last-child { border-bottom: 0; }
.perm-check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }
.perm-check input:disabled { opacity: 0.55; }

.profile-modal-stats.stats-4 { grid-template-columns: repeat(4, 1fr); }
.pm-section { border-top: 1px solid var(--border); margin: 4px 0 14px; padding-top: 14px; }
.pm-title { font-weight: 600; font-size: 13.5px; margin-bottom: 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pm-role-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 8px; }
@media (max-width: 600px) { .profile-modal-stats.stats-4 { grid-template-columns: repeat(2, 1fr); } .pm-role-row { grid-template-columns: 1fr; } }

.name-chip.absent { color: var(--ink-faint); text-decoration: line-through; border-style: dashed; }

.q-row { padding: 10px 0; border-bottom: 1px solid var(--border); }
.q-row:last-child { border-bottom: 0; }
.q-main { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto auto; gap: 8px; align-items: center; }
.q-row > .field-input { margin-top: 8px; }
@media (max-width: 700px) { .q-main { grid-template-columns: 1fr 1fr; } .q-main > .field-input:first-child { grid-column: 1 / -1; } }

.perm-table tr.perm-group td { font-size: 11.5px; font-weight: 500; color: var(--ink-faint); background: var(--surface-2); padding: 6px 16px; text-align: left; width: auto; letter-spacing: 0.02em; }

.dash-nav-group-label { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: 0; padding: 0 10px 6px; font: inherit; font-size: 11.5px; font-weight: 500; color: var(--ink-faint); cursor: pointer; text-align: left; }
.dash-nav-group-label:hover { color: var(--ink-dim); }
.dash-nav-group-label svg.lucide { width: 12px; height: 12px; transition: transform var(--t-fast); }
.dash-nav-group.closed .dash-nav-group-label svg.lucide { transform: rotate(-90deg); }
.dash-nav-group.closed .dash-nav { display: none; }
.nav-jump { display: flex; align-items: center; gap: 8px; width: 100%; height: 30px; padding: 0 10px; margin: 0 0 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--ink-faint); font-size: 12.5px; text-align: left; }
.nav-jump:hover { color: var(--ink-dim); border-color: var(--border-strong); }
.nav-jump svg.lucide { width: 14px; height: 14px; }
.nav-jump span { flex: 1; }
.nav-jump kbd { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-faint); border: 1px solid var(--border-strong); border-radius: var(--r-sm); padding: 1px 5px; }
.jump-overlay { align-items: flex-start; padding-top: 14vh; }
.jump-card { width: 100%; max-width: 480px; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow-pop); overflow: hidden; }
.jump-input { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--border); }
.jump-input svg.lucide { color: var(--ink-faint); }
.jump-input input { flex: 1; height: 48px; background: transparent; border: 0; font-size: 15px; color: var(--ink); }
.jump-input input:focus { outline: none; }
.jump-list { max-height: 340px; overflow-y: auto; padding: 6px; }
.jump-item { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-dim); }
.jump-item svg.lucide { color: var(--ink-faint); }
.jump-item span { flex: 1; }
.jump-item em { font-style: normal; font-size: 11.5px; color: var(--ink-faint); }
.jump-item.sel, .jump-item:hover { background: var(--surface-3); color: var(--ink); }
.jump-empty { padding: 22px; text-align: center; font-size: 13px; color: var(--ink-faint); }

.prose { font-size: 14.5px; line-height: 1.7; color: var(--ink-dim); word-break: break-word; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 22px 0 8px; letter-spacing: -0.012em; }
.prose h2 { font-size: 19px; } .prose h3 { font-size: 16px; } .prose h4 { font-size: 14.5px; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 4px; }
.prose blockquote { margin: 0 0 12px; padding: 4px 14px; border-left: 2px solid var(--ink-faint); color: var(--ink-dim); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }
.prose > :first-child { margin-top: 0; }

.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.board-col { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); min-height: 120px; }
.board-col-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.board-col-head .count { font-weight: 400; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.board-col-body { padding: 8px; display: flex; flex-direction: column; gap: 8px; }
.task-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px 12px; }
.task-card:hover { border-color: var(--border-strong); }
.task-card.done .task-title { color: var(--ink-faint); text-decoration: line-through; }
.task-title { font-size: 13.5px; font-weight: 500; line-height: 1.4; word-break: break-word; cursor: pointer; }
.task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; color: var(--ink-faint); }
.task-meta .who { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-dim); }
.task-meta .avatar { width: 16px; height: 16px; }
.task-actions { display: flex; gap: 4px; margin-top: 10px; }
.task-desc { margin-top: 6px; font-size: 12.5px; color: var(--ink-dim); white-space: pre-wrap; word-break: break-word; }

.hb-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: start; }
.hb-nav { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 8px; position: sticky; top: calc(var(--topbar-h) + 16px); max-height: calc(100vh - 140px); overflow-y: auto; }
.hb-section { font-size: 11.5px; font-weight: 500; color: var(--ink-faint); padding: 10px 10px 4px; }
.hb-link { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; text-align: left; padding: 7px 10px; border-radius: var(--r-md); font-size: 13px; color: var(--ink-dim); }
.hb-link:hover { background: var(--surface-2); color: var(--ink); }
.hb-link.active { background: var(--surface-3); color: var(--ink); }
.hb-link .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); flex-shrink: 0; margin-left: auto; }
.hb-link .tick { margin-left: auto; color: var(--ink-faint); width: 14px; height: 14px; }
.hb-page { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.hb-page-head { padding: 18px 22px 14px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hb-page-head h2 { font-size: 20px; }
.hb-page-head .meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.hb-page-body { padding: 18px 22px 22px; }
.ack-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface-2); font-size: 13.5px; }

.rec-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.spotlight { text-align: center; padding: 22px 16px; }
.spotlight .who { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.spotlight .note { color: var(--ink-dim); font-size: 13.5px; margin-top: 8px; }
.kudos { padding: 14px 16px; border-bottom: 1px solid var(--border); }
.kudos:last-child { border-bottom: 0; }
.kudos .head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.kudos .kmsg { margin-top: 6px; font-size: 14px; color: var(--ink-dim); white-space: pre-wrap; word-break: break-word; }
.kudos .when { font-size: 12px; color: var(--ink-faint); margin-left: auto; }

.poll-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background var(--t-fast); }
.poll-row:hover { background: var(--surface-2); }
.poll-row:last-child { border-bottom: 0; }
.poll-row .main { flex: 1; min-width: 0; }
.poll-row .title { font-weight: 500; font-size: 14px; }
.poll-row .meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; font-size: 13.5px; }
.opt:hover { background: var(--surface-2); }
.opt input { accent-color: var(--ink); }
.result { margin-bottom: 10px; font-size: 13.5px; }
.result .line { display: flex; justify-content: space-between; margin-bottom: 4px; }
.q-block { padding: 14px 0; border-bottom: 1px solid var(--border); }
.q-block:last-child { border-bottom: 0; }
.q-block h4 { font-size: 14px; margin-bottom: 10px; }
.rating-row { display: flex; gap: 8px; }
.rating-row label { flex: 1; text-align: center; padding: 9px 0; border: 1px solid var(--border-strong); border-radius: var(--r-md); cursor: pointer; font-size: 14px; }
.rating-row input { display: none; }
.rating-row input:checked + span { color: var(--on-ink); }
.rating-row label:has(input:checked) { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.text-answer { padding: 8px 12px; margin-bottom: 6px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-dim); white-space: pre-wrap; word-break: break-word; }
.text-answer .by { display: block; font-size: 11.5px; color: var(--ink-faint); margin-bottom: 2px; }

.prog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 14px; }
.prog-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 16px 18px 12px; flex-wrap: wrap; }
.prog-head h3 { font-size: 15px; }
.prog-head p { font-size: 13px; margin-top: 4px; max-width: 60ch; }
.prog-bar { margin: 0 18px 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 11px 18px; border-top: 1px solid var(--border); font-size: 13.5px; }
.step input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex-shrink: 0; }
.step.done .t { color: var(--ink-faint); text-decoration: line-through; }
.step .hint, .step .by { font-size: 12px; color: var(--ink-faint); display: block; margin-top: 2px; }

.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.person .top { display: flex; align-items: center; gap: 12px; }
.person .avatar { width: 38px; height: 38px; }
.person .name { font-weight: 600; font-size: 14.5px; }
.person .sub { font-size: 12.5px; color: var(--ink-faint); }
.person .bio { margin-top: 10px; font-size: 13.5px; color: var(--ink-dim); white-space: pre-wrap; word-break: break-word; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.org-tier { margin-bottom: 22px; }
.org-tier h3 { font-size: 12px; font-weight: 500; color: var(--ink-faint); margin-bottom: 10px; }
.team-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; }
.team-card h3 { font-size: 15px; }
.team-card .lead { font-size: 12.5px; color: var(--ink-faint); margin: 2px 0 10px; }

@media (max-width: 1000px) { .board, .rec-grid, .hb-layout { grid-template-columns: 1fr; } .hb-nav { position: static; max-height: none; } }

.cal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { font-size: 11.5px; color: var(--ink-faint); text-align: center; padding: 4px 0 6px; }
.cal-cell { min-height: 92px; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 6px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); color: var(--ink-dim); overflow: hidden; }
.cal-cell.empty { background: transparent; border-color: transparent; }
button.cal-cell:hover { border-color: var(--border-input); background: var(--surface-2); }
.cal-cell .n { font-size: 12.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.cal-cell.today .n { background: var(--ink); color: var(--on-ink); border-radius: 4px; padding: 0 5px; }
.cal-cell.sel { border-color: var(--ink-dim); background: var(--surface-3); }
.cal-item { width: 100%; font-size: 11px; line-height: 1.35; padding: 1px 5px; border-radius: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-item.event { background: var(--ink); color: var(--on-ink); font-weight: 500; }
.cal-item.session { border: 1px solid var(--border-input); color: var(--ink); }
.cal-item.away, .cal-item.anniv { color: var(--ink-faint); }
.cal-more { font-size: 11px; color: var(--ink-faint); }
.day-item { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.day-item:last-child { border-bottom: 0; }
.di-head { display: flex; align-items: center; gap: 8px; }
.di-meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.di-text { font-size: 13px; color: var(--ink-dim); margin-top: 6px; white-space: pre-wrap; word-break: break-word; }
.di-actions { display: flex; gap: 6px; margin-top: 10px; }
@media (max-width: 1000px) { .cal-layout { grid-template-columns: 1fr; } .cal-cell { min-height: 64px; } .cal-item { display: none; } }

.badge-card .badge-icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--ink-faint); flex-shrink: 0; }
.badge-card.earned .badge-icon { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.badge-card.locked { opacity: 0.8; }

.chart { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.chart-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; background: var(--surface-2); border-radius: 3px; overflow: hidden; }
.chart-stack { width: 100%; display: flex; flex-direction: column; border-radius: 3px 3px 0 0; overflow: hidden; }
.chart-labels { display: flex; gap: 4px; margin-top: 8px; font-size: 10.5px; color: var(--ink-faint); }
.chart-labels span { flex: 1 1 0; min-width: 0; overflow: visible; white-space: nowrap; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } }

.panel-head { flex-wrap: wrap; row-gap: 4px; }
.panel-head h3 { min-width: 0; }

.av-wrap { overflow-x: auto; padding-bottom: 4px; }
.av-grid { display: grid; grid-template-columns: 34px repeat(24, minmax(22px, 1fr)); gap: 2px; min-width: 700px; user-select: none; touch-action: none; }
.av-h { font-size: 10px; color: var(--ink-faint); text-align: left; padding-bottom: 2px; white-space: nowrap; }
.av-d { font-size: 11.5px; color: var(--ink-faint); display: flex; align-items: center; }
.av-c { height: 26px; border-radius: 4px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; padding: 0; font-size: 10.5px; color: var(--on-ink); }
.av-c.on { background: var(--ink); border-color: var(--ink); }
.av-c.team { background: color-mix(in srgb, var(--ink) calc(var(--lvl) * 100%), var(--surface-2)); border-color: var(--border); }
.av-c.team:hover { outline: 1px solid var(--ink-dim); }

.strike-old { color: var(--ink-faint); text-decoration: line-through; }

@media (max-width: 720px) { .hide-narrow { display: none; } }

.grid-2 > *, .dash-grid > * { min-width: 0; }

.notif-wrap { position: relative; }
.notif-badge { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--ink); color: var(--on-ink); font-size: 10.5px; font-weight: 700; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 8px); width: 360px; max-width: 92vw; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); z-index: 120; overflow: hidden; }
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.notif-head span { display: flex; gap: 12px; }
.notif-list { max-height: 420px; overflow-y: auto; }
.notif-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); color: var(--ink-dim); font-size: 13.5px; }
.notif-item:last-child { border-bottom: 0; }
a.notif-item:hover { background: var(--surface-2); }
.notif-item.unread { color: var(--ink); }
.nt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-top: 6px; flex-shrink: 0; }
.nt-dot.read { background: transparent; border: 1px solid var(--border-input); }
.nt-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-title { font-weight: 500; word-break: break-word; }
.nt-body { font-size: 12.5px; color: var(--ink-faint); word-break: break-word; }
.nt-when { font-size: 11.5px; color: var(--ink-faint); }
.notif-empty { padding: 26px 16px; text-align: center; font-size: 13px; color: var(--ink-faint); }
@media (max-width: 720px) { .notif-panel { position: fixed; left: 8px; right: 8px; top: 56px; width: auto; max-width: none; } }

body.has-community-bg::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(color-mix(in srgb, var(--bg) calc(var(--community-bg-dim, 0.6) * 100%), transparent), color-mix(in srgb, var(--bg) calc(var(--community-bg-dim, 0.6) * 100%), transparent)), var(--community-bg-url);
  background-size: cover; background-position: center; background-repeat: no-repeat; }

.look-preview { position: relative; width: 100%; max-width: 520px; aspect-ratio: 16 / 9; border: 1px solid var(--border-strong); border-radius: var(--r-lg); background-color: var(--bg); background-size: cover; background-position: center; overflow: hidden; }
.look-preview.empty::after { content: "No picture yet"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-faint); }
.look-mock { position: absolute; left: 7%; right: 7%; top: 12%; display: flex; flex-direction: column; gap: 8px; }
.look-mock-bar { height: 12px; width: 38%; border-radius: 6px; background: var(--ink); opacity: 0.9; }
.look-mock-row { height: 34px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); }
.look-mock-row.short { width: 68%; }
.look-preview.empty .look-mock { display: none; }

.insp-bg { display: block; width: 100%; max-height: 140px; object-fit: cover; border-radius: var(--r-md); border: 1px solid var(--border); margin-top: 8px; }

.ws-tabs { flex-wrap: wrap; overflow-x: visible; row-gap: 0; }
.ws-tabs .admin-tab { white-space: nowrap; }

input[type="range"] { accent-color: var(--ink); }

.news-card { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); margin-bottom: 14px; }
.news-card.unread { border-color: var(--border-strong); }
.news-card.unread h3::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: middle; }
.news-pic, .news-panel-pic { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: var(--surface-2); color: var(--ink-faint); align-self: start; }
.news-pic img, .news-panel-pic img, .news-art, .news-art-svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 12.5px; color: var(--ink-faint); }
.news-label { font-weight: 600; color: var(--ink); border: 1px solid var(--border-strong); border-radius: 999px; padding: 1px 9px; }
.news-flag { font-weight: 600; color: var(--on-ink); background: var(--ink); border-radius: 999px; padding: 1px 9px; }
.news-card h3 { font-size: 17px; margin: 8px 0 6px; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.news-body p, .news-body ul { margin: 0 0 8px; font-size: 14px; color: var(--ink-dim); line-height: 1.55; overflow-wrap: anywhere; }
.news-body ul { padding-left: 18px; }
.news-body.clamped { max-height: 4.7em; overflow: hidden; }
.news-body.clamped.open { max-height: none; }
.news-actions { display: flex; gap: 16px; margin-top: 6px; font-size: 13px; }
.news-done { color: var(--ink-faint); }
@media (max-width: 640px) { .news-card { grid-template-columns: minmax(0, 1fr); } }

.news-panel-wrap { position: fixed; inset: 0; z-index: 850; }
.news-panel-scrim { position: absolute; inset: 0; background: var(--overlay); }
.news-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: var(--surface); border-left: 1px solid var(--border-strong); display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4); animation: news-in 0.22s ease-out; }
@keyframes news-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.news-panel header { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14.5px; }
.news-panel header em { font-style: normal; font-weight: 400; color: var(--ink-faint); margin-left: 10px; font-size: 13px; }
.news-panel-nav { display: flex; gap: 4px; }
.news-panel-scroll { flex: 1; overflow-y: auto; padding: 20px; }
.news-panel-pic { margin-bottom: 16px; }
.news-panel h2 { font-size: 22px; letter-spacing: -0.02em; margin: 10px 0 12px; overflow-wrap: anywhere; }
.news-panel footer { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--border); }
@media (max-width: 640px) { .news-panel { top: auto; height: 88vh; width: 100%; border-left: 0; border-top: 1px solid var(--border-strong); border-radius: 18px 18px 0 0; animation-name: news-up; } @keyframes news-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } } .news-panel footer .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .news-panel { animation: none; } }

.news-composer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px; align-items: start; }
@media (max-width: 980px) { .news-composer { grid-template-columns: minmax(0, 1fr); } }
.news-pic-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.news-pic-opt { aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink-faint); cursor: pointer; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12.5px; padding: 0; position: relative; font: inherit; }
.news-pic-opt .news-art { width: 100%; height: 100%; }
.news-pic-opt.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.news-pic-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.news-preview .news-card { grid-template-columns: minmax(0, 1fr); }

.acct-shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 24px 96px; }
.acct-head { display: flex; gap: 20px; align-items: center; margin: 4px 0 34px; flex-wrap: wrap; }
.acct-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--surface-2); color: var(--ink-dim); display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; overflow: hidden; flex-shrink: 0; }
.acct-avatar img { width: 100%; height: 100%; object-fit: cover; }
.acct-head h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; overflow-wrap: anywhere; }
.acct-sub { color: var(--ink-dim); font-size: 14.5px; margin-top: 6px; }
.acct-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 44px; align-items: start; }
.acct-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; }
.acct-nav a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: var(--r-md); color: var(--ink-dim); font-size: 14px; }
.acct-nav a:hover { background: var(--surface); color: var(--ink); }
.acct-nav a.active { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.acct-nav .count { color: var(--ink-faint); font-size: 12.5px; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .acct-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; } .acct-nav { position: static; flex-direction: row; overflow-x: auto; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--border); } .acct-nav a { white-space: nowrap; } }
.acct-section { display: none; min-width: 0; }
.acct-section.active { display: block; }
.acct-h { font-size: 20px; letter-spacing: -0.02em; font-weight: 600; margin: 0 0 4px; }
.acct-lead { color: var(--ink-dim); font-size: 14px; margin: 0 0 20px; max-width: 64ch; line-height: 1.55; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 26px; }
@media (max-width: 560px) { .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-stat { padding: 16px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.acct-stat b { display: block; font-size: 28px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.acct-stat span { font-size: 13px; color: var(--ink-faint); }
.acct-card { border: 1px solid var(--border); border-radius: var(--r-lg); margin-bottom: 20px; overflow: hidden; }
.acct-card.danger { border-color: var(--border-strong); }
.acct-card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14.5px; }
.acct-row { display: flex; align-items: center; gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.acct-row:last-child { border-bottom: 0; }
.acct-row .grow { flex: 1; min-width: 160px; overflow-wrap: anywhere; }
.acct-sub2 { font-size: 13px; color: var(--ink-faint); }
.acct-empty { padding: 26px 18px; color: var(--ink-faint); font-size: 14px; text-align: center; }
.acct-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.acct-body { padding: 16px 18px; font-size: 14px; color: var(--ink-dim); line-height: 1.55; }
.acct-body p { margin: 0 0 10px; max-width: 66ch; }
.acct-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); color: var(--ink-dim); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; overflow: hidden; flex-shrink: 0; }
.acct-logo img { width: 100%; height: 100%; object-fit: cover; }
.acct-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.acct-filters .grow { flex: 1; }
.acct-confirm { padding: 16px 18px; border-top: 1px solid var(--border); background: var(--surface); }
.acct-card .status-chip, .acct-chips .status-chip, .news-card .status-chip { text-transform: none; letter-spacing: normal; }
.news-pic, .news-panel-pic, .news-pic-opt { color: var(--ink-dim); }
.acct-stats.four { margin: 0; padding: 14px 18px 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 560px) { .acct-stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.news-panel footer .btn { min-height: 44px; }     

.attn { margin-bottom: 20px; }
.attn-body { padding: 0; }
.attn-wait { padding: 18px 20px; color: var(--ink-faint); font-size: 14px; margin: 0; }
.attn-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-top: 1px solid var(--border); color: inherit; text-decoration: none; }
.attn-body > .attn-row:first-child { border-top: 0; }
.attn-row:hover { background: var(--surface-2); }
.attn-row > svg:first-child { width: 18px; height: 18px; color: var(--ink-dim); flex-shrink: 0; }
.attn-row > svg:last-child { width: 16px; height: 16px; color: var(--ink-faint); flex-shrink: 0; }
.attn-row.urgent > svg:first-child { color: var(--ink); }
.attn-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.attn-text strong { font-weight: 500; font-size: 14.5px; }
.attn-text em { font-style: normal; color: var(--ink-dim); font-size: 13px; margin-left: 10px; }
.attn-flag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ink); color: var(--on-ink); border-radius: var(--r-full); padding: 2px 9px; flex-shrink: 0; }
.attn-clear { display: flex; align-items: center; gap: 14px; padding: 20px; }
.attn-clear > svg { width: 20px; height: 20px; flex-shrink: 0; }
.attn-clear strong { display: block; font-weight: 500; }
.attn-clear span { color: var(--ink-dim); font-size: 13.5px; }
.attn-soon { border-top: 1px solid var(--border); }
.attn-soon-head { padding: 12px 20px 4px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
.attn-soon .attn-row { border-top: 0; }
.attn-when { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); white-space: nowrap; }
@media (max-width: 560px) { .attn-text em { display: block; margin: 2px 0 0; } .attn-row { padding: 13px 16px; } }

.theme-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 720px; }
.theme-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); color: var(--ink); font: inherit; cursor: pointer; }
.theme-card:hover { border-color: var(--border-strong); }
.theme-card[aria-checked="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.theme-card strong { font-weight: 600; font-size: 14.5px; }
.theme-card-d { color: var(--ink-dim); font-size: 13px; line-height: 1.45; }
.theme-prev { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-md); border: 1px solid var(--border-strong); display: flex; flex-direction: column; gap: 6px; padding: 12px; justify-content: center; margin-bottom: 6px; }
.theme-prev i { display: block; height: 6px; border-radius: 3px; width: 70%; }
.theme-prev i:nth-child(2) { width: 90%; } .theme-prev i:nth-child(3) { width: 50%; }
.theme-prev-dark { background: var(--swatch-dark-bg); } .theme-prev-dark i { background: var(--swatch-dark-ink); opacity: 0.8; }
.theme-prev-light { background: var(--swatch-light-bg); } .theme-prev-light i { background: var(--swatch-light-ink); opacity: 0.8; }
.theme-prev-system { background: linear-gradient(115deg, var(--swatch-dark-bg) 50%, var(--swatch-light-bg) 50%); } .theme-prev-system i { background: var(--swatch-mid); }
@media (max-width: 640px) { .theme-cards { grid-template-columns: minmax(0, 1fr); } .theme-card { flex-direction: row; flex-wrap: wrap; align-items: center; } .theme-prev { width: 96px; margin: 0 10px 0 0; } }

@media (max-width: 600px) {
  .admin-topbar #whoAmI { display: none !important; }      
  .admin-topbar .theme-toggle, .pick-who .theme-toggle { min-width: 40px; min-height: 40px; }
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }

.nav { position: sticky; top: 0; z-index: 60; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color var(--t-fast); }
.nav.is-scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 60px; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--ink); }
.brand .logo-badge { width: 26px; height: 26px; border-radius: 7px; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 6px 10px; border-radius: var(--r-md); font-size: 13.5px; color: var(--ink-dim); transition: color var(--t-fast), background var(--t-fast); }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { display: flex; gap: 8px; margin-left: auto; }
.nav-links + .nav-cta { margin-left: 0; }
.nav-toggle { display: none; margin-left: auto; }
.mobile-menu { display: none; position: fixed; inset: 0; z-index: 100; background: var(--bg); padding: 16px 24px; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 20px; }
.mobile-menu a:not(.btn):not(.brand) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; color: var(--ink); }
.mobile-menu .btn { margin-top: 12px; }

.hero { padding: 76px 0 0; text-align: left; }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; max-width: 760px; }
.hero-sub { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--ink-dim); }
.hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-cta .text-link { font-size: 14px; color: var(--ink-dim); padding: 0 6px; }
.hero-cta .text-link:hover { color: var(--ink); }

.shot { border: 1px solid var(--border-strong); border-radius: var(--r-xl); overflow: hidden; background: var(--bg-sidebar); }
.shot img { width: 100%; height: auto; display: block; }
.shot-hero { margin-top: 56px; max-height: 600px; border-bottom: 0; border-radius: var(--r-xl) var(--r-xl) 0 0; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.shot-hero img { object-fit: cover; object-position: top left; }

.section { padding: 104px 0; border-top: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -0.025em; line-height: 1.15; }
.section-head p { margin-top: 14px; font-size: 16.5px; line-height: 1.6; }
.section.flush-top { border-top: 0; }

.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--border); }
.feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature.flip .feature-copy { order: 2; }
.feature-copy .kicker { font-size: 13px; font-weight: 500; color: var(--ink-faint); margin-bottom: 12px; }
.feature-copy h3 { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.022em; line-height: 1.2; }
.feature-copy p { margin-top: 14px; font-size: 16px; line-height: 1.65; }
.feature-copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.feature-copy li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-dim); }
.feature-copy li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 1.5px; background: var(--ink-faint); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.fact { padding: 22px 0; border-top: 1px solid var(--border); }
.fact h3 { font-size: 15px; }
.fact p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; counter-reset: step; }
.step { padding-top: 20px; border-top: 1px solid var(--border-strong); counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-bottom: 14px; }
.step h3 { font-size: 16px; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; }

.faq-list { max-width: 720px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 0; background: none; border: 0; text-align: left; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.faq-q svg.lucide { color: var(--ink-faint); transition: transform 0.18s var(--ease); }
.faq-item.open .faq-q svg.lucide { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.22s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--ink-dim); }
.faq-item.open .faq-a-inner { padding-bottom: 18px; }
.faq-a-inner a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }

.closing { padding: 96px 0; border-top: 1px solid var(--border); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing h2 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.025em; max-width: 520px; }

.footer { border-top: 1px solid var(--border); padding: 36px 0 44px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; font-size: 13px; color: var(--ink-faint); }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a:hover { color: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 12px; }

.split-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split-auth-showcase { position: relative; background: var(--bg-sidebar); border-right: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 48px; }
.split-auth-showcase .shot { position: absolute; top: 56px; left: 48px; right: -160px; border-radius: var(--r-xl) 0 0 var(--r-xl); border-right: 0; }
.split-auth-showcase .shot img { width: 1180px; max-width: none; }
.split-auth-copy { position: relative; z-index: 1; background: linear-gradient(to top, var(--bg-sidebar) 72%, transparent); margin: 0 -48px -48px; padding: 140px 48px 48px; }
.split-auth-copy > * { max-width: 400px; }
.split-auth-copy h2 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.25; }
.split-auth-copy p { margin-top: 10px; font-size: 14.5px; max-width: 380px; }
.split-auth-panel { display: flex; align-items: center; justify-content: center; padding: 40px 28px; }
.split-auth-panel-inner { width: 100%; max-width: 360px; }
.split-auth-panel-inner h1 { font-size: 24px; letter-spacing: -0.025em; }
.auth-lede { margin: 6px 0 26px; font-size: 14px; }
.split-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--ink-faint); font-size: 12.5px; }
.split-divider::before, .split-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-status { min-height: 18px; margin-top: 14px; font-size: 13px; color: var(--ink); }
.auth-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-dim); text-align: center; }
.auth-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }
.split-auth-legal { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; font-size: 12px; color: var(--ink-faint); }
.split-auth-legal .links { display: flex; gap: 16px; }
.split-auth-legal a:hover { color: var(--ink); }
.auth-enter { animation: pop 0.3s var(--ease) both; }

.onboard-shell { width: 100%; max-width: 560px; margin: 0 auto; padding: 28px 20px 72px; }
.onboard-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.onboard-head h1 { font-size: 26px; letter-spacing: -0.025em; }
.onboard-head p { margin-top: 6px; font-size: 14.5px; }
.onboard-head { margin-bottom: 24px; }
.workspace-grid-rich { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.workspace-card-rich { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; background: transparent; border: 0; border-bottom: 1px solid var(--border); text-align: left; transition: background var(--t-fast); }
.workspace-card-rich:last-child { border-bottom: 0; }
.workspace-card-rich:hover { background: var(--surface-2); }
.workspace-card-icon { width: 38px; height: 38px; border-radius: var(--r-md); font-size: 13px; background: var(--surface-3); border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-weight: 600; overflow: hidden; flex-shrink: 0; }
.workspace-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.workspace-card-body { flex: 1; min-width: 0; }
.workspace-card-name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; }
.workspace-card-name .verified { width: 14px; height: 14px; }
.workspace-card-meta { font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
.workspace-card-meta .role { color: var(--ink-dim); }
.workspace-card-arrow { width: 16px; height: 16px; color: var(--ink-faint); transition: transform var(--t-fast), color var(--t-fast); }
.workspace-card-rich:hover .workspace-card-arrow { transform: translateX(2px); color: var(--ink); }
.onboard-divider { display: flex; align-items: center; gap: 14px; margin: 28px 0 16px; color: var(--ink-faint); font-size: 12.5px; }
.onboard-divider::before, .onboard-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.onboard-options { display: flex; flex-direction: column; gap: 12px; }
.onboard-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; }
.onboard-card h3 { font-size: 14.5px; margin-bottom: 4px; }
.onboard-card p { font-size: 13px; margin-bottom: 14px; }
.onboard-card .row { display: flex; gap: 8px; }
.onboard-card .row .field-input { flex: 1; }
.onboard-card-icon { display: none; }

.legal-shell { width: 100%; max-width: 720px; margin: 0 auto; padding: 56px 28px 88px; }
.legal-shell h1 { font-size: 34px; letter-spacing: -0.03em; }
.legal-shell h2 { font-size: 18px; margin: 44px 0 10px; letter-spacing: -0.015em; scroll-margin-top: 80px; }
.legal-shell p, .legal-shell li { font-size: 15px; line-height: 1.72; color: var(--ink-dim); }
.legal-shell p { margin-top: 12px; }
.legal-shell ul { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; }
.legal-shell strong { color: var(--ink); font-weight: 600; }
.legal-shell a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink-faint); }
.legal-updated { margin-top: 8px !important; font-size: 13px !important; color: var(--ink-faint) !important; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 24px 0 8px; }
.legal-toc a { padding: 5px 10px; border: 1px solid var(--border-strong); border-radius: var(--r-md); font-size: 12.5px; text-decoration: none !important; color: var(--ink-dim); }
.legal-toc a:hover { color: var(--ink); background: var(--surface-2); }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero { padding-top: 48px; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .feature.flip .feature-copy { order: 0; }
  .section { padding: 72px 0; }
  .facts, .steps { grid-template-columns: 1fr; }
  .step { margin-bottom: 8px; }
  .split-auth { grid-template-columns: 1fr; }
  .split-auth-showcase { display: none; }
  .container, .nav-inner { padding: 0 20px; }
}

.onboard-card .row .btn { height: 36px; }

@media (max-width: 640px) {
  .shot-hero { max-height: 340px; margin-top: 36px; }
  .shot-hero img { width: 210%; max-width: none; }
}

.pick-shell { width: 100%; max-width: 1040px; margin: 0 auto; padding: 24px 24px 96px; }
.pick-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: clamp(28px, 7vh, 64px); }
.pick-who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-dim); min-width: 0; }
.pick-who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 22ch; }

.pick-head { margin-bottom: clamp(22px, 4vh, 36px); }
.pick-head h1 { font-size: clamp(30px, 5.2vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; overflow-wrap: anywhere; max-width: 22ch; }
.pick-head p { margin-top: 10px; font-size: 15.5px; color: var(--ink-dim); max-width: 52ch; min-height: 1.4em; }

.pick-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; align-items: start; }
.pick-main { min-width: 0; }

.pick-slab { display: flex; align-items: center; gap: 18px; width: 100%; padding: 22px 24px; background: var(--ink); color: var(--on-ink); border: 0; border-radius: var(--r-lg); text-align: left; cursor: pointer; font: inherit; }
.pick-slab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--r-lg); }
.pick-slab .pick-logo { width: 60px; height: 60px; border-radius: 14px; background: color-mix(in srgb, var(--on-ink) 9%, transparent); color: var(--on-ink); font-size: 18px; }
.pick-slab-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pick-slab-name { font-size: clamp(22px, 3.4vw, 30px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-wrap: anywhere; }
.pick-slab-detail { font-size: 14px; color: color-mix(in srgb, var(--on-ink) 62%, transparent); }
.pick-slab-go { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.pick-slab-go svg { width: 18px; height: 18px; transition: transform 0.15s ease; }
.pick-slab:hover .pick-slab-go svg { transform: translateX(4px); }
.pick-slab .verified { width: 20px; height: 20px; }

.pick-logo { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 11px; background: var(--surface-2); color: var(--ink-dim); font-size: 14px; font-weight: 600; flex-shrink: 0; overflow: hidden; }
.pick-logo img { width: 100%; height: 100%; object-fit: cover; }
.pick-chip { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 8px; border: 1px solid currentColor; border-radius: 999px; letter-spacing: 0; opacity: 0.85; }

.pick-others-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 34px 0 6px; }
.pick-others-head h2 { font-size: 15px; font-weight: 600; color: var(--ink-dim); }
.pick-search { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border: 1px solid var(--border-input); border-radius: var(--r-md); background: var(--surface); color: var(--ink-faint); min-width: 0; }
.pick-search:focus-within { border-color: var(--ink-dim); }
.pick-search svg { width: 15px; height: 15px; flex-shrink: 0; }
.pick-search input { background: none; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 13.5px; width: 150px; min-width: 0; }

.pick-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.pick-list li { border-bottom: 1px solid var(--border); }
.pick-list li[hidden] { display: none; }
.pick-row { display: flex; align-items: center; gap: 14px; width: calc(100% + 24px); margin: 0 -12px; padding: 14px 12px; background: none; border: 0; border-radius: var(--r-md); color: var(--ink); text-align: left; cursor: pointer; font: inherit; }
.pick-row:hover { background: var(--surface); }
.pick-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pick-row-name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; display: flex; align-items: center; gap: 6px; overflow-wrap: anywhere; flex-wrap: wrap; }
.pick-row-name .verified { width: 15px; height: 15px; }
.pick-row-detail { font-size: 13px; color: var(--ink-faint); }
.pick-row-role { font-size: 13.5px; color: var(--ink-dim); flex-shrink: 0; }
.pick-key { font-family: var(--font-mono); font-size: 11px; line-height: 1; padding: 4px 6px; border: 1px solid var(--border-strong); border-radius: 5px; color: var(--ink-faint); background: transparent; flex-shrink: 0; }
.pick-empty { padding: 22px 0; color: var(--ink-faint); font-size: 14px; }
.pick-hint { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }
@media (hover: none) { .pick-key, .pick-hint { display: none; } }

.pick-side { display: flex; flex-direction: column; gap: 28px; padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg); position: sticky; top: 24px; }
.pick-form h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.pick-form p { font-size: 13.5px; color: var(--ink-dim); margin-bottom: 14px; max-width: 46ch; }
.pick-form .row { display: flex; gap: 8px; }
.pick-form .row .field-input { flex: 1; min-width: 0; }
.pick-form .row .btn { height: 38px; }
.pick-status { font-size: 14px; color: var(--ink); margin-top: 16px; min-height: 22px; }

.pick-start { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; }
.pick-panel { padding: 28px; border: 1px solid var(--border-strong); border-radius: var(--r-lg); display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; }
.pick-panel .pick-form h3 { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 8px; }
.pick-panel .pick-form p { font-size: 14.5px; margin-bottom: 22px; }
.pick-panel-lead { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.pick-panel-lead .pick-form h3 { color: var(--on-ink); }
.pick-panel-lead .pick-form p { color: color-mix(in srgb, var(--on-ink) 66%, transparent); }
.pick-panel-lead .field-input { background: color-mix(in srgb, var(--on-ink) 7%, transparent); border-color: color-mix(in srgb, var(--on-ink) 28%, transparent); color: var(--on-ink); }
.pick-panel-lead .field-input::placeholder { color: color-mix(in srgb, var(--on-ink) 50%, transparent); }
.pick-panel-lead .field-input:focus { border-color: var(--on-ink); }
.pick-panel-lead .btn-primary { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

.pick-deleted { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); max-width: 880px; }
.pick-main .pick-deleted { max-width: none; }
.pick-deleted h2 { font-size: 15px; font-weight: 600; color: var(--ink-dim); }
.pick-deleted > p { font-size: 13.5px; color: var(--ink-faint); margin: 4px 0 8px; }
.pick-del-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); }
.pick-del-name { display: flex; flex-direction: column; gap: 2px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.pick-del-name span { font-weight: 400; font-size: 13px; color: var(--ink-faint); }

.pick-skel { background: var(--surface); border-radius: var(--r-lg); }
.pick-skel-slab { height: 104px; } .pick-skel-row { height: 40px; margin-top: 18px; border-radius: var(--r-md); } .pick-skel-form { height: 260px; }
.pick-error { padding: 24px 0; } .pick-error p { margin-bottom: 14px; color: var(--ink-dim); }

@media (max-width: 900px) {
  .pick-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pick-side { position: static; }
  .pick-start { grid-template-columns: minmax(0, 1fr); }
  .pick-panel { min-height: 0; }
}
@media (max-width: 560px) {
  .pick-shell { padding: 18px 16px 72px; }
  .pick-slab { flex-wrap: wrap; padding: 18px; gap: 14px; }
  .pick-slab-go { width: 100%; justify-content: space-between; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--on-ink) 16%, transparent); }
  .pick-row-role { display: none; }
  .pick-others-head { flex-wrap: wrap; }
  .pick-search { flex: 1; } .pick-search input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .pick-slab-go svg { transition: none; } }

.pick-slab.has-bg { background-image: linear-gradient(90deg, rgba(9, 9, 11, 0.86) 0%, rgba(9, 9, 11, 0.6) 100%), var(--pick-bg); background-size: cover; background-position: center; color: var(--img-ink); }
.pick-slab.has-bg .pick-slab-detail { color: color-mix(in srgb, var(--img-ink) 78%, transparent); }
.pick-slab.has-bg .pick-logo { background: color-mix(in srgb, var(--img-ink) 14%, transparent); color: var(--img-ink); }
.pick-slab.has-bg .pick-slab-go { border-color: color-mix(in srgb, var(--img-ink) 20%, transparent); }
.pick-row.has-bg { background-image: linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, color-mix(in srgb, var(--bg) 72%, transparent) 100%), var(--pick-bg); background-size: cover; background-position: right center; }
.pick-row.has-bg:hover { background-image: linear-gradient(90deg, var(--surface) 0%, var(--surface) 38%, color-mix(in srgb, var(--surface) 60%, transparent) 100%), var(--pick-bg); }

.pick-starter { margin-bottom: 12px; }
.pick-starter .field-label { font-size: 13px; }
.pick-starter .field-inline-hint { margin-top: 6px; line-height: 1.45; }
.pick-panel-lead .pick-starter .field-label { color: var(--on-ink); }
.pick-panel-lead .pick-starter .field-inline-hint { color: color-mix(in srgb, var(--on-ink) 66%, transparent); }
.pick-panel-lead select.field-input option { color: var(--on-ink); background: var(--ink); }

.lp-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, transparent 72%); opacity: 0.55; pointer-events: none; }
.lp-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.lp-kicker { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); margin: 0 0 18px; }
.lp-hero h1 { font-size: clamp(40px, 6.2vw, 70px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; margin: 0 0 20px; overflow-wrap: anywhere; }
.lp-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-dim); max-width: 46ch; margin: 0 0 28px; }
.lp-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.lp-assure { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13.5px; color: var(--ink-dim); }
.lp-assure li { display: inline-flex; align-items: center; gap: 6px; }
.lp-assure svg { width: 14px; height: 14px; color: var(--ink); }

.lp-board { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-xl); padding: 18px 20px 14px; font-size: 13.5px; box-shadow: var(--shadow-board); min-width: 0; }
.lp-board-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.lp-board-head em, .lp-board-sec em { font-style: normal; font-weight: 400; color: var(--ink-faint); }
.lp-pill { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; font-size: 12.5px; border: 1px solid var(--border-strong); border-radius: var(--r-full); padding: 3px 10px; white-space: nowrap; }
.lp-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: lp-pulse 2.4s ease-in-out infinite; }
@keyframes lp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.lp-board-sec { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin: 16px 0 6px; }
.lp-who { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); min-width: 0; }
.lp-who:first-of-type { border-top: 0; }
.lp-av { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 600; flex-shrink: 0; }
.lp-name { font-weight: 500; }
.lp-rank { color: var(--ink-faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lp-time { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); white-space: nowrap; }
.lp-bar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 54px; gap: 10px; align-items: center; padding: 5px 0; }
.lp-bar-l { color: var(--ink-dim); }
.lp-bar-v { font-family: var(--font-mono); font-size: 12px; color: var(--ink-dim); text-align: right; }
.lp-track { height: 6px; border-radius: var(--r-full); background: var(--surface-3); overflow: hidden; display: block; }
.lp-track i { display: block; height: 100%; width: var(--w); background: var(--ink); border-radius: var(--r-full); animation: lp-grow 1.1s var(--ease) both; }
@keyframes lp-grow { from { width: 0; } }
.lp-log { list-style: none; padding: 0; margin: 0; min-height: 3 * 36px; }
.lp-log li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--border); }
.lp-log li:first-child { border-top: 0; }
.lp-log b { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-align: center; border: 1px solid var(--border-strong); border-radius: var(--r-full); padding: 1px 0; }
.lp-log b.t-kick { background: var(--surface-3); }
.lp-log b.t-ban { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.lp-log span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-log em { font-style: normal; color: var(--ink-faint); white-space: nowrap; }
.lp-log li.fresh { animation: lp-in 0.5s var(--ease); }
@keyframes lp-in { from { opacity: 0; transform: translateY(-8px); } }
.lp-board-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); color: var(--ink-dim); font-size: 12.5px; }
.lp-sample { margin-left: auto; color: var(--ink-faint); font-style: italic; }
@media (max-width: 900px) { .lp-hero-grid { grid-template-columns: minmax(0, 1fr); } }

.lp-vs { border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.lp-vs-head, .lp-vs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.lp-vs-head { background: var(--surface); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-faint); }
.lp-vs-head span { padding: 12px 22px; }
.lp-vs-head span:last-child { color: var(--ink); }
.lp-vs-row { border-top: 1px solid var(--border); }
.lp-vs-row p { margin: 0; padding: 20px 22px; font-size: 15.5px; line-height: 1.5; }
.lp-was { color: var(--ink-faint); text-decoration: line-through; text-decoration-color: var(--border-strong); text-decoration-thickness: 1.5px; }
.lp-now { display: flex; gap: 12px; align-items: flex-start; border-left: 1px solid var(--border); background: var(--surface); }
.lp-now svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
@media (max-width: 700px) { .lp-vs-head { display: none; } .lp-vs-row { grid-template-columns: minmax(0, 1fr); } .lp-now { border-left: 0; border-top: 1px solid var(--border); } .lp-vs-row p { padding: 16px 18px; } }

.lp-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.lp-card { grid-column: span 4; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; min-width: 0; }
.lp-card > svg, .lp-card > i { width: 20px; height: 20px; color: var(--ink-dim); margin-bottom: 14px; display: block; }
.lp-card h3 { font-size: 17px; letter-spacing: -0.01em; margin: 0 0 6px; }
.lp-card p { color: var(--ink-dim); font-size: 14.5px; line-height: 1.55; margin: 0; }
.lp-card .kicker { margin: 0 0 8px; }
.lp-c-wide { grid-column: span 6; display: flex; flex-direction: column; gap: 18px; }
.lp-c-wide h3 { font-size: 21px; margin-bottom: 8px; }
.lp-c-full { grid-column: span 12; display: flex; gap: 16px; align-items: flex-start; }
.lp-c-full > svg { margin: 2px 0 0; flex-shrink: 0; }
.lp-shot { margin: auto 0 0; border: 1px solid var(--border-strong); border-radius: var(--r-lg); overflow: hidden; background: var(--bg); }
.lp-shot img { display: block; width: 100%; height: auto; }
@media (max-width: 960px) { .lp-card { grid-column: span 6; } .lp-c-wide { grid-column: span 12; } }
@media (max-width: 600px) { .lp-card { grid-column: span 12; } }

.lp-game-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.lp-game h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; margin: 0 0 14px; }
.lp-lead { color: var(--ink-dim); font-size: 16.5px; line-height: 1.6; margin: 0 0 22px; max-width: 54ch; }
.lp-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.lp-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
.lp-points svg { width: 17px; height: 17px; margin-top: 2px; color: var(--ink); flex-shrink: 0; }
.lp-points strong { color: var(--ink); font-weight: 500; }
.lp-code { margin: 0; background: var(--bg-sidebar); border: 1px solid var(--border-strong); border-radius: var(--r-xl); overflow: hidden; min-width: 0; }
.lp-code-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.lp-code-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.lp-code-bar span { margin-left: 8px; }
.lp-code pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--ink-dim); tab-size: 2; }
.lp-code code { font-family: inherit; }
.c-k { color: var(--ink); font-weight: 500; } .c-s { color: var(--ink-dim); } .c-c { color: var(--ink-faint); font-style: italic; }
@media (max-width: 900px) { .lp-game-grid { grid-template-columns: minmax(0, 1fr); } }

.lp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lp-role { border: 1px solid var(--border); border-radius: var(--r-xl); padding: 22px; background: var(--surface); }
.lp-role-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.lp-role ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.lp-role li { position: relative; padding-left: 22px; color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
.lp-role li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 900px) { .lp-roles { grid-template-columns: minmax(0, 1fr); } }

.lp-privacy { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.lp-facts svg { width: 20px; height: 20px; margin-bottom: 12px; display: block; }
.lp-facts h3 { font-size: 16px; margin: 0 0 6px; }
.lp-facts p { color: var(--ink-dim); font-size: 14px; line-height: 1.55; margin: 0; }
.lp-links { display: flex; gap: 22px; flex-wrap: wrap; margin: 30px 0 0; }
@media (max-width: 900px) { .lp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lp-facts { grid-template-columns: minmax(0, 1fr); } }

.lp-start { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lp-start-head h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; margin: 0 0 14px; }
.lp-start-head p { color: var(--ink-dim); font-size: 16px; line-height: 1.6; margin: 0; max-width: 44ch; }
.lp-list { list-style: none; padding: 0; margin: 0; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.lp-list li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-top: 1px solid var(--border); }
.lp-list li:first-child { border-top: 0; }
.lp-tick { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lp-tick svg { width: 13px; height: 13px; }
.lp-list div { flex: 1; min-width: 0; }
.lp-list h3 { font-size: 16px; margin: 0 0 2px; }
.lp-list p { color: var(--ink-dim); font-size: 14px; margin: 0; line-height: 1.5; }
.lp-min { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 900px) { .lp-start { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { .lp-pill i, .lp-track i, .lp-log li.fresh { animation: none !important; } }
