/* TC brand: TC Green #a6ce3a, Gray #939598, Black, on white. */
:root {
  --green: #a6ce3a;
  --green-ink: #4d6a0a;      /* readable green for text on white */
  --green-wash: #f2f8e3;
  --gray: #939598;
  --charcoal: #2d2a2d;
  --ink: #111;
  --ink-2: #555759;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-2: #f6f6f5;
  --danger: #b42318;
  --radius: 12px;
  --tabbar: 64px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
  min-height: 100dvh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }

/* ---------- top bar and tab bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  background: #fff; color: var(--ink); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-icon { width: 28px; height: 22px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.brand-word { height: 18px; width: auto; }
.brand-word-fallback { font: 300 20px/1 var(--font); letter-spacing: .3px; }
.brand-sub {
  font: 600 11px/1 var(--font); text-transform: uppercase; letter-spacing: 1.6px; color: var(--green-ink);
}
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--charcoal); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px;
}

/* Desktop: the website's charcoal bar with green links. */
.deskbar { display: none; }
@media (min-width: 900px) {
  .deskbar:not([hidden]) {
    display: flex; gap: 28px; position: sticky; top: 61px; z-index: 9;
    padding: 0 32px; background: var(--charcoal);
  }
  .deskbar a {
    color: var(--green); text-decoration: none; font-weight: 700; font-size: 15px; padding: 13px 0;
    border-bottom: 3px solid transparent;
  }
  .deskbar a:hover { color: #c8e77a; }
  .deskbar a.active { color: #fff; border-bottom-color: var(--green); }
  .topbar { padding: 12px 32px; }
  .brand-sub { display: inline; }
  .brand-text { flex-direction: row; align-items: center; gap: 14px; }
  .brand-sub { padding-left: 14px; border-left: 1px solid var(--line); font-size: 12px; }
  .tabbar { display: none !important; }
}

.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-around;
  height: calc(var(--tabbar) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff; border-top: 1px solid var(--line);
}
.tabbar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; font-size: 12px; font-weight: 500; color: var(--ink-2);
}
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a.active { color: #000; }
.tabbar a.active svg { stroke: #000; }
.tabbar a.active::after { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--green); margin-top: 1px; }

/* ---------- layout ---------- */
.app { max-width: 720px; margin: 0 auto; padding: 16px 16px calc(var(--tabbar) + 32px + env(safe-area-inset-bottom)); }
.app.bare { max-width: none !important; padding: 0 !important; }
h1, h2, h3 { font-family: var(--font-head); letter-spacing: .3px; line-height: 1.1; margin: 0; }
h1 { font-size: 30px; }
h2 { font-size: 22px; margin: 28px 0 10px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.stack > * + * { margin-top: 12px; }

.greeting { padding: 4px 0 12px; }
.greeting p { margin: 4px 0 0; }

/* ---------- search ---------- */
.searchbox { position: relative; }
.searchbox input {
  width: 100%; height: 50px; padding: 0 16px 0 46px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--bg-2);
  font: inherit; font-size: 17px; color: var(--ink);
}
.searchbox input:focus { outline: none; border-color: #000; background: #fff; }
.searchbox svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--ink-2); stroke-width: 2; }

/* ---------- cards ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.card {
  display: flex; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; background: #fff;
}
.card:active { background: var(--bg-2); }
.thumb {
  flex: none; width: 112px; aspect-ratio: 16/9; border-radius: 8px; background: #000 center/cover no-repeat;
  position: relative; overflow: hidden;
}
.thumb.empty { background: var(--green-wash); display: grid; place-items: center; color: var(--green-ink); font: 700 13px var(--font-head); }
.thumb .play {
  position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0,0,0,.65); display: grid; place-items: center;
}
.thumb .play::before { content: ""; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.card-body { min-width: 0; }
.card-title { font-weight: 600; line-height: 1.25; }
.card-meta { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.pill {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--bg-2); color: var(--ink-2); margin: 0 4px 4px 0;
}
.pill.green { background: var(--green-wash); color: var(--green-ink); }
.new-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: middle; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 92px;
  padding: 14px; border-radius: var(--radius); background: var(--bg-2); text-decoration: none;
}
.tile strong { font: 700 20px/1.1 var(--font-head); }
.tile span { font-size: 13px; color: var(--ink-2); }
.tile.dark { background: #000; color: #fff; }
.tile.dark span { color: #bbb; }
.tile.green { background: var(--green); }
.tile.green span { color: #2b3a05; }

/* ---------- article ---------- */
.back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; margin: 14px 0; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.body-text { white-space: pre-wrap; font-size: 17px; line-height: 1.6; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.file { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; font-size: 13px; }
.file img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--bg-2); }
.file .name { padding: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .doc { aspect-ratio: 4/3; display: grid; place-items: center; background: var(--bg-2); font-weight: 700; color: var(--ink-2); }

/* ---------- forms ---------- */
.auth { min-height: 100dvh; display: flex; flex-direction: column; background: var(--charcoal); color: #fff; }
.auth-head { padding: calc(env(safe-area-inset-top) + 48px) 24px 28px; }
.auth-logo { display: flex; align-items: center; gap: 12px; }
.auth-logo .brand-icon { width: 34px; height: 27px; filter: invert(1); }
.auth-word { height: 22px; width: auto; }
.auth-head h1 { font-size: 40px; margin-top: 18px; }
.auth-head p { color: #c9c9c9; margin: 8px 0 0; }
.auth-card {
  flex: 1; background: #fff; color: var(--ink); border-radius: 22px 22px 0 0; padding: 26px 24px calc(32px + env(safe-area-inset-bottom));
}
.auth-card .inner { max-width: 440px; margin: 0 auto; }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hint { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
input[type=text], input[type=email], input[type=url], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 17px; background: #fff; color: var(--ink);
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #000; }
.code-input { letter-spacing: 6px; text-align: center; font-size: 26px !important; font-weight: 600; }
.field + .field { margin-top: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px;
  padding: 0 18px; border: 0; border-radius: 12px; background: var(--green); color: #000;
  font: 700 18px var(--font-head); letter-spacing: .5px; text-decoration: none; cursor: pointer; margin-top: 20px;
}
.btn:disabled { opacity: .55; }
.btn.secondary { background: var(--bg-2); color: var(--ink); }
.btn.dark { background: #000; color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; cursor: pointer; }
.switch { text-align: center; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.error { color: var(--danger); font-size: 14px; margin-top: 10px; font-weight: 500; }
.notice { background: var(--green-wash); border-radius: 10px; padding: 12px 14px; font-size: 15px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--line);
  border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer;
}
.checks input { width: 18px; height: 18px; accent-color: #000; }
.checks label:has(input:checked) { border-color: #000; background: var(--green-wash); }

.empty { text-align: center; padding: 40px 12px; color: var(--ink-2); }
.spinner { width: 28px; height: 28px; border: 3px solid var(--line); border-top-color: #000; border-radius: 50%; margin: 60px auto; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.profile-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.profile-row span:first-child { color: var(--ink-2); }

/* ---------- products ---------- */
.page-head { display: grid; gap: 14px; margin-bottom: 18px; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.pcard, .cat {
  display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.pimg { aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.pimg span { color: var(--gray); font: 600 14px var(--font-head); }
.pname { font-weight: 600; line-height: 1.25; padding: 8px 10px 0; font-size: 15px; }
.pmeta { font-size: 13px; color: var(--ink-2); padding: 2px 10px 10px; }
.pcard .pname:last-child { padding-bottom: 10px; }

.cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat .pimg { aspect-ratio: 4/3; }
.cat-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  padding: 10px 12px; background: var(--charcoal); color: #fff;
}
.cat-label strong { font: 700 20px/1.1 var(--font-head); letter-spacing: .3px; }
.cat-label span { color: var(--green); font-weight: 700; font-size: 14px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 4px -2px 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; background: #fff;
}
.chip span { color: var(--ink-2); font-weight: 500; font-size: 13px; }
.chip.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip.on span { color: var(--green); }

.product { display: grid; gap: 18px; }
.gallery { position: relative; min-width: 0; }
.strip {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; scrollbar-width: none; aspect-ratio: 4/3;
}
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: none; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; padding: 12px; }
.strip.empty-photo { display: grid; place-items: center; color: var(--gray); }
.count {
  position: absolute; top: 10px; right: 10px; background: rgba(45,42,45,.85); color: #fff;
  font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: none; width: 60px; height: 60px; padding: 0; border: 2px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer; overflow: hidden;
}
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.thumbs button.on { border-color: var(--green); }
.pinfo h1 { margin-top: 6px; }
.tagline { font-size: 18px; color: var(--ink-2); margin: 6px 0 0; }
.crew {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--green-wash);
  border-left: 5px solid var(--green);
}
.crew-label { font: 700 14px var(--font-head); text-transform: uppercase; letter-spacing: 1.2px; color: var(--green-ink); margin-bottom: 4px; }
.crew .body-text { font-size: 16px; }
.specs { margin: 0; }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink-2); font-size: 14px; font-weight: 600; }
.specs dd { margin: 0; white-space: pre-wrap; }
.small-text { font-size: 15px; color: var(--ink-2); }
a.pill { text-decoration: none; }

/* ---------- guide feedback ---------- */
.feedback { margin-top: 32px; padding: 18px; border-radius: var(--radius); background: var(--bg-2); }
.fb-q { font: 700 20px var(--font-head); }
.fb-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fb-btn { min-height: 44px; min-width: 80px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 16px var(--font); cursor: pointer; }
.fb-btn.on { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.fb-report { margin-left: auto; font-size: 15px; }
#fb-form { margin-top: 14px; }
#fb-form textarea { min-height: 100px; }

/* ---------- review queue ---------- */
.review { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; flex-wrap: wrap; }
.review-thumb { flex: none; align-self: flex-start; width: 200px; max-width: 100%; aspect-ratio: 16/9; border-radius: 8px; background: #000 center/cover no-repeat; position: relative; }
.review-thumb .play { position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.65); }
.review-thumb .play::before { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.review-body { flex: 1; min-width: 240px; }
.review-notes { margin: 6px 0; }
.review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.review-fields label { margin: 0; font-size: 13px; }
.review-fields select { min-height: 42px; font-size: 15px; margin-top: 4px; }
.review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.review-actions .btn { width: auto; min-height: 44px; margin-top: 12px; padding: 0 20px; font-size: 16px; }
@media (min-width: 900px) { .review-list { grid-template-columns: 1fr !important; } }
.help h2 { margin-top: 26px; }
.help .body-text { font-size: 16px; }
@media (min-width: 900px) { .deskbar .desk-right { margin-left: auto; } }

/* ---------- admin activity ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 8px; }
.stat { background: var(--bg-2); border-radius: var(--radius); padding: 14px; }
.stat strong { display: block; font: 700 26px/1 var(--font-head); }
@media (min-width: 900px) { .stat strong { font-size: 30px; } }
.stat span { font-size: 13px; color: var(--ink-2); }
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-weight: 600; color: var(--ink-2); background: var(--bg-2); padding: 9px 12px; white-space: nowrap; }
table.data td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: top; }
table.data td:not(:first-child) { white-space: nowrap; }
table.data td:first-child { min-width: 180px; }
table.data a { color: var(--ink); font-weight: 600; text-decoration-color: var(--green); text-underline-offset: 3px; }
@media (hover: hover) { table.data tbody tr:hover { background: var(--green-wash); } }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(6, 1fr); } }

/* ---------- hover, tap and keyboard feedback ---------- */
.card, .tile, .pcard, .cat, .chip, .btn, .file, a.pill, .thumbs button {
  transition: border-color .15s, box-shadow .15s, transform .15s, background-color .15s, color .15s, filter .15s;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.searchbox input:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(166,206,58,.35); }
@media (hover: hover) {
  .card:hover, .pcard:hover, .cat:hover, .file:hover {
    border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px);
  }
  .cat:hover .cat-label strong { color: var(--green); }
  .tile:hover { box-shadow: 0 0 0 2px var(--green), 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); }
  .tile.green:hover { box-shadow: 0 0 0 2px var(--charcoal), 0 8px 20px rgba(0,0,0,.12); }
  .chip:hover { border-color: var(--green); }
  .chip.on:hover { border-color: var(--green); }
  a.pill:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
  .pill.green:hover { background: var(--green); color: #000; }
  .btn:hover { filter: brightness(.93); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
  .btn.dark:hover { background: var(--charcoal); filter: none; }
  .btn.secondary:hover { background: #ebebea; filter: none; box-shadow: inset 0 0 0 1.5px var(--green); }
  .btn:disabled:hover { filter: none; box-shadow: none; }
  .back:hover, .linkbtn:hover { color: var(--green-ink); }
  .tabbar a:hover { color: #000; }
  .avatar:hover { box-shadow: 0 0 0 3px var(--green); }
  .thumbs button:hover { border-color: var(--green); }
}
.card:active, .pcard:active, .cat:active, .tile:active, .chip:active, .file:active, .btn:active { transform: scale(.98); }
.btn:active { filter: brightness(.88); }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .card:active, .pcard:active, .cat:active, .tile:active, .chip:active, .file:active, .btn:active { transform: none; }
}

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .thumb { width: 150px; }
}
@media (min-width: 900px) {
  .app { max-width: 1120px; padding: 32px 32px 64px; }
  h1 { font-size: 38px; }
  .list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .tile { min-height: 120px; padding: 18px; }
  .readable { max-width: 820px; }
  .home-top { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: end; }
  .page-head { grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: end; margin-bottom: 24px; }
  .pgrid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cats .pimg { aspect-ratio: 16/10; }
  .strip { aspect-ratio: 1; }
  .product { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
  .gallery { position: sticky; top: 120px; }
  .thumbs { flex-wrap: wrap; }
  .pinfo .list { grid-template-columns: 1fr; }
  .thumbs button { width: 72px; height: 72px; }
  .auth { flex-direction: row; }
  .auth-head { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 64px; }
  .auth-head h1 { font-size: 56px; }
  .auth-card { flex: 1; border-radius: 0; display: flex; align-items: center; padding: 64px; }
  .auth-card .inner { width: 100%; }
}

/* ---------- offline notice and language ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 20;
  background: var(--charcoal); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; max-width: calc(100% - 32px); text-align: center;
}
@media (min-width: 900px) { .toast { bottom: 24px; } }
.lang-switch { display: flex; gap: 6px; }
.lang-switch .chip { min-height: 34px; padding: 0 12px; font-size: 14px; cursor: pointer; }
.lang-row { align-items: center; }
.lang-auth { margin-top: 14px; }
h3.sub { font-size: 18px; margin: 18px 0 8px; }

/* ---------- admin: users ---------- */
.admin-tiles { margin-top: 18px; }
.user-list { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.user { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.user[open] { border-color: var(--green); }
.user summary { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; list-style: none; }
.user summary::-webkit-details-marker { display: none; }
.small-av { width: 36px; height: 36px; font-size: 13px; }
.user-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.user-main .small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-tags { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.user.pending .pill.status { background: #fff4d6; color: #7a5200; }
.user.disabled .pill.status { background: #fde8e6; color: var(--danger); }
.user.active .pill.status { background: var(--green-wash); color: var(--green-ink); }
.user-edit { padding: 0 14px 14px; border-top: 1px solid var(--line); }
.user-edit .btn[data-quick] { margin-top: 12px; }
.user-edit input, .user-edit select, .user-edit textarea { min-height: 42px; font-size: 15px; margin-top: 4px; }
.user-edit textarea { min-height: 60px; }
.user-edit > label { margin-top: 10px; font-size: 13px; }
@media (hover: hover) { .user summary:hover { background: var(--bg-2); border-radius: var(--radius); } }
@media (max-width: 520px) { .review-fields { grid-template-columns: 1fr; } }
