/* PrintDoctor · Midnight Gold (always dark) */
:root {
  color-scheme: dark;
  --bg: #0B0F19;
  --surface: #121826;
  --surface-2: #1A2133;
  --input-bg: #0E1320;
  --border: #232B3D;
  --input-border: #5B6577;
  --text: #F3F4F6;
  --muted: #A3ACBD;
  --gold: #D4AF37;
  --gold-2: #E2C463;
  --on-gold: #111111;
  --wa: #0F7A40;
  --wa-hover: #0B6534;
  --ok: #4ADE80;
  --err: #F87171;
  --tint: #2A2414;
  --chip: #1E2536;
  --chip-text: #E8D9A8;
  --radius: 14px;
  --shadow: 0 16px 40px rgb(0 0 0 / .55);
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); background: var(--bg); color: var(--text);
  font-size: 16px; line-height: 1.55; overflow-x: hidden; min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--gold-2); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 4vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 .8em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.gold { color: var(--gold-2); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; border-radius: 6px; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 28px; height: 28px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 20; background: rgb(11 15 25 / .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgb(212 175 55 / .25); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.brand img { width: 22px; height: 35px; object-fit: contain; }
.word { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--text); }
.word b { color: var(--gold); font-weight: 800; }
.brand__tag { display: block; font-size: .7rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: -2px; }
.hdr__acts { display: flex; gap: 8px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px;
  border-radius: 12px; border: 1px solid transparent; font: inherit; font-weight: 700; font-size: .97rem; cursor: pointer;
  text-decoration: none; color: var(--text); background: var(--surface-2); transition: transform .16s var(--ease), background .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: var(--on-gold); box-shadow: 0 6px 20px rgb(212 175 55 / .22); }
.btn-gold:hover { box-shadow: 0 8px 26px rgb(212 175 55 / .35); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { background: transparent; border-color: var(--input-border); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-danger { background: transparent; border-color: rgb(248 113 113 / .5); color: var(--err); }
.btn-sm { min-height: 38px; padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: inset 0 1px 0 rgb(255 255 255 / .06); min-width: 0; }
.card + .card { margin-top: 14px; }
.grid > .card + .card, .grid > * + .card { margin-top: 0; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin-bottom: 14px; }
.field label, .legend { font-weight: 600; font-size: .9rem; color: var(--text); }
.field small { color: var(--muted); font-weight: 400; }
input, select, textarea { font: inherit; color: var(--text); background: var(--input-bg); border: 1px solid var(--input-border);
  border-radius: 10px; padding: 11px 12px; min-height: 46px; width: 100%; max-width: 100%; transition: border-color .2s, box-shadow .2s; }
textarea { min-height: 90px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(212 175 55 / .2); }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23E2C463' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.form-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--chip); color: var(--chip-text); font-size: .88rem; font-weight: 600; cursor: pointer; transition: background .18s, border-color .18s, transform .16s var(--ease); user-select: none; }
.chip input:checked + span { background: var(--tint); border-color: var(--gold); color: var(--gold-2); }
.chip input:checked + span::before { content: "✓"; font-weight: 800; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.chip span:active { transform: scale(.96); }
.err { color: var(--err); font-size: .9rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }

/* tags + status */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--chip); color: #CBD2DE; border: 1px solid var(--border); white-space: nowrap; }
.tag-sample { background: #262b36; color: #B8C0CC; }
.tag-gold { background: var(--tint); color: var(--gold-2); border-color: rgb(212 175 55 / .4); }
.tag-ok { background: rgb(15 122 64 / .18); color: var(--ok); border-color: rgb(74 222 128 / .3); }
.tag-err { background: rgb(248 113 113 / .12); color: var(--err); border-color: rgb(248 113 113 / .35); }
.st { font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; }
.st-New { background: #1d2b4a; color: #93C5FD; }
.st-Assigned { background: #2c2142; color: #C4B5FD; }
.st-Accepted { background: var(--tint); color: var(--gold-2); }
.st-On { background: #3a2a12; color: #FBBF24; }
.st-Done { background: rgb(15 122 64 / .22); color: var(--ok); }
.st-Cancelled { background: #2a1618; color: var(--err); }

/* banners */
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid; font-size: .93rem; }
.banner-dev { background: #2b2210; border-color: rgb(251 191 36 / .5); color: #FCD34D; }
.banner-info { background: var(--tint); border-color: rgb(212 175 55 / .4); color: var(--gold-2); }
.banner-warn { background: #2a1618; border-color: rgb(248 113 113 / .4); color: #FCA5A5; }
.otp-big { font-size: 1.6rem; font-weight: 800; letter-spacing: .3em; color: #FDE68A; display: block; margin-top: 4px; }

/* landing */
.hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--border); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(5 7 12 / .92) 0%, rgb(5 7 12 / .78) 55%, rgb(5 7 12 / .45) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%); }
.hero__copy { padding: 56px 0 64px; max-width: 640px; }
.urgent { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; background: rgb(248 113 113 / .14);
  color: #FCA5A5; border: 1px solid rgb(248 113 113 / .35); font-weight: 700; font-size: .85rem; margin-bottom: 16px; }
.urgent i { width: 8px; height: 8px; border-radius: 50%; background: var(--err); display: inline-block; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(248 113 113 / .6); } 70% { box-shadow: 0 0 0 8px rgb(248 113 113 / 0); } 100% { box-shadow: 0 0 0 0 rgb(248 113 113 / 0); } }
.hero h1 span { color: var(--gold-2); }
.hero__sub { color: #D5DAE3; font-size: 1.08rem; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 18px; color: #D5DAE3; font-size: .9rem; font-weight: 600; }
.trust li { display: inline-flex; gap: 6px; align-items: center; }
.trust .ico { color: var(--gold); }
.section { padding: 56px 0; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 8px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.step { position: relative; }
.step__num { position: absolute; top: 14px; right: 16px; font-size: 2.6rem; font-weight: 800; color: rgb(212 175 55 / .16); line-height: 1; }
.step .ico-lg { color: var(--gold); margin-bottom: 10px; }
.finder { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .finder { grid-template-columns: 1fr 1fr; } }
.count { color: var(--muted); margin: 14px 0; font-weight: 600; }
.tcard { display: flex; flex-direction: column; gap: 10px; transition: transform .25s var(--ease), border-color .25s; }
@media (hover: hover) { .tcard:hover { transform: translateY(-3px); border-color: rgb(212 175 55 / .45); } }
.tcard__top { display: flex; gap: 12px; align-items: center; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--gold-2); display: grid; place-items: center;
  font-weight: 800; border: 1px solid rgb(212 175 55 / .4); flex: none; }
.tcard__name { font-weight: 800; font-size: 1.05rem; margin: 0; overflow-wrap: anywhere; }
.tcard__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard__line { font-size: .9rem; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.tcard__line b { color: var(--text); font-weight: 600; }
.tcard .btn-row { margin-top: auto; }
.tcard .btn-row .btn { flex: 1 1 140px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--ok); }
.dot-busy { background: #F59E0B; }
.band { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--radius);
  background: linear-gradient(135deg, #1b1a12 0%, var(--surface) 60%); border: 1px solid rgb(212 175 55 / .35); }
.band .ico-lg { color: var(--gold); }
@media (min-width: 820px) { .band { flex-direction: row; align-items: center; justify-content: space-between; } }
.empty { text-align: center; padding: 28px 18px; }
.foot { border-top: 1px solid var(--border); padding: 28px 0 90px; color: var(--muted); font-size: .9rem; }
.foot .brand img { width: 18px; height: 29px; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgb(11 15 25 / .94);
  border-top: 1px solid var(--border); z-index: 15; transition: transform .3s var(--ease); }
.mbar.hide { transform: translateY(110%); }
@media (min-width: 820px) { .mbar { display: none; } .foot { padding-bottom: 28px; } }

/* app */
.app-main { padding: 22px 0 60px; }
.auth { max-width: 440px; margin: 28px auto; }
.auth .logo { width: 44px; height: 70px; object-fit: contain; display: block; margin: 0 auto 10px; }
.role-pick { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .role-pick { grid-template-columns: 1fr 1fr; } }
.role-btn { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s, transform .2s var(--ease); }
.role-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.role-btn .ico-lg { color: var(--gold); }
.role-btn strong { font-size: 1.1rem; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 0 16px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; min-height: 40px; }
.tab[aria-selected="true"] { background: var(--tint); color: var(--gold-2); border-color: rgb(212 175 55 / .5); }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash-head h1 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin: 0; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.stat b { display: block; font-size: 1.6rem; color: var(--gold-2); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .82rem; font-weight: 600; }
.req { display: flex; flex-direction: column; gap: 8px; }
.req__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.req__title { font-weight: 800; margin: 0; overflow-wrap: anywhere; }
.req__line { margin: 0; font-size: .92rem; color: var(--muted); overflow-wrap: anywhere; }
.req__line b { color: var(--text); font-weight: 600; }
.list-empty { color: var(--muted); text-align: center; padding: 22px; border: 1px dashed var(--border); border-radius: 12px; }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); }
.mrow:first-child { border-top: 0; }
.stars { display: inline-flex; gap: 4px; }
.stars button { background: none; border: 0; padding: 4px; cursor: pointer; color: #4B5468; font-size: 1.7rem; line-height: 1; min-width: 40px; min-height: 40px; }
.stars button.on { color: var(--gold); }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.switch .track { width: 50px; height: 28px; border-radius: 999px; background: #3a2a12; border: 1px solid #F59E0B; position: relative; transition: background .2s; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #F59E0B; transition: transform .25s var(--ease), background .2s; }
.switch input:checked + .track { background: rgb(15 122 64 / .3); border-color: var(--ok); }
.switch input:checked + .track::after { transform: translateX(22px); background: var(--ok); }
.switch input:focus-visible + .track { outline: 2px solid var(--gold-2); outline-offset: 2px; }
details.edit { margin-top: 8px; }
details.edit summary { cursor: pointer; color: var(--gold-2); font-weight: 700; font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 20px); opacity: 0; background: var(--surface-2); color: var(--text);
  border: 1px solid rgb(212 175 55 / .5); padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); z-index: 50; transition: opacity .25s, transform .3s var(--ease);
  max-width: calc(100vw - 28px); font-weight: 600; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: rgb(248 113 113 / .6); color: #FCA5A5; }
.loading { color: var(--muted); padding: 30px; text-align: center; }
.spin { width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: sp .8s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes sp { to { transform: rotate(360deg); } }

/* motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.enter { animation: rise .45s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: rise .7s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .06s; } .hero__copy > *:nth-child(3) { animation-delay: .12s; }
.hero__copy > *:nth-child(4) { animation-delay: .18s; } .hero__copy > *:nth-child(5) { animation-delay: .24s; }
.hero__img { animation: zoom 14s ease-out both; }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* owner <-> technician matching */
.check { display: flex; align-items: center; gap: 10px; margin: -6px 0 14px; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--gold); flex: none; }
.matches { border-top: 1px solid var(--border); padding-top: 12px; margin-top: 4px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.matches[hidden] { display: none; }
.matches__head { margin: 0; font-size: .92rem; overflow-wrap: anywhere; }
.matches__group { margin: 4px 0 0; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.mcard { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mcard[data-in-area="1"] { border-color: rgb(212 175 55 / .4); }
.mcard__top { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
.mcard .btn-row .btn { flex: 1 1 auto; }
.mcard .m-assign { flex-basis: 100%; white-space: normal; }
.req__tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.oblock { background: var(--surface-2); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.oblock__biz { margin: 0 0 2px; font-weight: 800; font-size: 1.05rem; color: var(--gold-2); overflow-wrap: anywhere; }
.oblock__line { margin: 0; font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.oblock__line b { color: var(--text); font-weight: 600; }
.no-phone { color: #FCA5A5; font-weight: 600; }

/* v2.2: full lists (owner "Technicians", technician "Sab problems") */
.ctx-card { margin-bottom: 4px; }
.ctx-title { font-size: 1.2rem; margin-bottom: 10px; }
.ctx-line { margin: -4px 0 12px; overflow-wrap: anywhere; }
.ctx-line b { color: var(--gold-2); font-weight: 600; }
.filters { display: grid; gap: 0 10px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.filters .field { margin-bottom: 10px; }
.filters .f-wide { grid-column: 1 / -1; }
@media (min-width: 960px) { .filters { grid-template-columns: 1fr 1fr 1.2fr auto; } .filters-3 { grid-template-columns: 1fr 1fr 1.4fr; } .filters .f-wide { grid-column: auto; } }
.filter-check { margin: 0 0 6px; min-height: 40px; padding: 0 4px; color: var(--text); font-weight: 600; }
.ctx-card .field label { font-size: .85rem; }
input[type="search"]::-webkit-search-cancel-button { filter: invert(.7); }
.glist { display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: opacity .2s var(--ease); }
.glist.dim { opacity: .45; pointer-events: none; }
.grp { margin: 10px 0 0; display: flex; align-items: center; gap: 10px; }
.grp::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(212 175 55 / .35), transparent); }
.grp[data-group="other"] { color: var(--muted); }
.grp-grid { align-items: start; }
.atcard[data-group="best"] { border-color: rgb(212 175 55 / .55); box-shadow: 0 0 0 1px rgb(212 175 55 / .12), 0 10px 24px rgb(0 0 0 / .25); }
.atcard { transition: transform .25s var(--ease), border-color .25s; }
@media (hover: hover) { .atcard:hover { transform: translateY(-2px); border-color: rgb(212 175 55 / .5); } }
.pop { animation: pop .42s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
#tech-all .req[data-group="best"] { border-color: rgb(212 175 55 / .5); }

/* v3: Admin Panel */
[hidden] { display: none !important; }
@media (max-width: 479px) {
  .hide-xs { display: none; }
  .app-hdr .brand__tag { display: none; }
  .hdr__acts .btn-sm { padding: 6px 10px; }
}
#admin-link { box-shadow: 0 4px 14px rgb(212 175 55 / .28); }
.stats-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .stats-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-btn { font: inherit; text-align: left; cursor: pointer; color: var(--text); min-width: 0; transition: border-color .2s, transform .2s var(--ease); }
.stat-btn:hover { border-color: rgb(212 175 55 / .5); transform: translateY(-2px); }
.stat-btn span { display: block; overflow-wrap: anywhere; }
.stat-hot { border-color: rgb(212 175 55 / .55); background: linear-gradient(160deg, var(--tint), var(--surface) 70%); }
.st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -4px 0 16px; }
.st-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px 3px 4px;
  color: var(--text); font: inherit; font-size: .85rem; cursor: pointer; min-height: 32px; }
.st-pill:hover { border-color: rgb(212 175 55 / .5); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.sec-head h3 { margin: 0; }
.ov-grid { align-items: start; }
.mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 10px 0; border-top: 1px solid var(--border); min-width: 0; }
.sec-head + .mini, .jobs > .mini:first-child { border-top: 0; }
.mini__main { display: flex; flex-direction: column; min-width: 0; flex: 1 1 200px; }
.mini__main b { overflow-wrap: anywhere; font-size: .95rem; }
.mini__main span { overflow-wrap: anywhere; }
.mini .btn-row { flex: none; }
.audit { list-style: none; margin: 0; padding: 0; }
.audit__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding: 8px 0; border-top: 1px solid var(--border); font-size: .9rem; }
.audit__row:first-child { border-top: 0; }
.audit__what { min-width: 0; overflow-wrap: anywhere; color: var(--muted); }
.audit__what b { color: var(--gold-2); font-weight: 700; }
.audit__who { overflow-wrap: anywhere; }
.afilters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (min-width: 960px) {
  .afilters { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
  .afilters .f-wide { grid-column: auto; }
}
.tag-block { background: #2a1618; color: #FCA5A5; border-color: rgb(248 113 113 / .5); }
.admin-tech[data-status="blocked"], .admin-owner[data-blocked="1"], .urow[data-blocked="1"] { border-color: rgb(248 113 113 / .35); }
.admin-tech[data-status="pending"] { border-color: rgb(212 175 55 / .45); }
.switch-sm { font-size: .88rem; color: var(--muted); gap: 8px; }
.switch-sm .track { width: 40px; height: 22px; background: var(--chip); border-color: var(--input-border); }
.switch-sm .track::after { width: 14px; height: 14px; background: var(--muted); }
.switch-sm input:checked + .track { background: var(--tint); border-color: var(--gold); }
.switch-sm input:checked + .track::after { transform: translateX(18px); background: var(--gold); }
.jobs { padding-top: 8px; min-width: 0; }
.ulist { display: flex; flex-direction: column; gap: 10px; }
.urow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px; }
.card.urow + .card.urow { margin-top: 0; }
.urow__main { min-width: 0; flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.urow__email { font-size: 1rem; }
.urow__acts { align-items: center; }
.role-pickrow { display: flex; gap: 6px; min-width: 0; }
.role-pickrow select { min-height: 38px; padding-top: 6px; padding-bottom: 6px; width: auto; min-width: 0; max-width: 170px; }
