/* COL-Apps Fundraiser — mobile-first styles */
:root {
  --brand: #0f4c5c; --brand-2: #e36414; --brand-soft: #e3eef0;
  --bg: #f4f7f6; --card: #fff; --ink: #1d2b33; --muted: #5f6f78; --line: #dfe6e8;
  --ok: #2d6a4f; --err: #b42318; --warn: #9a6700;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,40,50,.06), 0 4px 14px rgba(16,40,50,.05);
  --tab-h: 62px; --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #5fb3c4; --brand-2: #f08a4b; --brand-soft: #18343b;
    --bg: #0f1719; --card: #172226; --ink: #e6eef0; --muted: #94a6ad; --line: #2a3a3f;
    --ok: #74c69d; --err: #ff8a80; --warn: #f2c94c;
    --shadow: none; color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; background: var(--bg); color: var(--ink); }
body.authed { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 12px); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.45rem; margin: .4rem 0 .8rem; line-height: 1.2; }
h2 { font-size: 1.08rem; margin: 0 0 .7rem; display: flex; align-items: center; gap: .4rem; }
h3 { font-size: 1rem; margin: 0 0 .5rem; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; background: var(--brand-soft); padding: 2px 6px; border-radius: 6px; word-break: break-all; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.4rem 0; }
.ic { width: 20px; height: 20px; flex: none; vertical-align: -4px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 14px 16px 24px; }
.wrap.narrow { max-width: 460px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .right { text-align: right; }
.row { display: flex; align-items: center; } .between { justify-content: space-between; } .gap { gap: 8px; } .wrap-gap { flex-wrap: wrap; gap: 8px; }
.grid2, .grid3 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.grid3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 520px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 > :first-child { grid-column: 1 / -1; } }
[hidden] { display: none !important; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px 16px; padding-top: calc(8px + env(safe-area-inset-top, 0px)); background: var(--brand); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; flex: 1; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; background: #fff; }
.brand span { display: flex; flex-direction: column; min-width: 0; }
.brand strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand small { opacity: .8; font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topnav { display: none; gap: 2px; }
.topnav a { color: #fff; opacity: .85; padding: 7px 11px; border-radius: 8px; font-size: .93rem; }
.topnav a.on, .topnav a:hover { background: rgba(255,255,255,.16); opacity: 1; text-decoration: none; }
.me { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-2); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.me:hover { text-decoration: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topbar { background: #12333b; } }

/* bottom tabs (phone) */
.tabbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + var(--safe-b)); padding-bottom: var(--safe-b); display: flex; background: var(--card); border-top: 1px solid var(--line); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: .72rem; font-weight: 600; }
.tabbar a .ic { width: 24px; height: 24px; }
.tabbar a.on { color: var(--brand); }
.tabbar a:hover { text-decoration: none; }
@media (min-width: 900px) {
  .topnav { display: flex; } .tabbar { display: none; } body.authed { padding-bottom: 24px; }
}

/* cards & lists */
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 16px; margin: 0 0 14px; }
details.card > summary { cursor: pointer; list-style: none; padding: 2px 0; }
details.card > summary::-webkit-details-marker { display: none; }
details.card > summary::after { content: '▾'; float: right; color: var(--muted); }
details.card[open] > summary { margin-bottom: 12px; }
.card.empty { text-align: center; padding: 28px 16px; }
.hello { margin-top: .2rem; }
.big { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.big-inline { font-size: 1.35rem; font-weight: 800; }
.muted-2 { color: var(--brand); }
.bar { height: 12px; border-radius: 99px; background: var(--brand-soft); overflow: hidden; margin: 12px 0 4px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 99px; }
.stat { display: block; color: var(--ink); } .stat:hover { text-decoration: none; border-color: var(--brand); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.list > li > a { color: var(--ink); flex: 1; min-width: 0; }
.list > li > a:hover { text-decoration: none; }
.list.compact > li { padding: 8px 0; }
ul.list.donlist, ul.list.users { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2px 14px; }
.sub { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.list li.overdue .sub, .overdue { color: var(--err) !important; font-weight: 600; }
.list li.today .sub { color: var(--warn); font-weight: 600; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); flex: none; }
.icon-btn:hover { text-decoration: none; filter: brightness(.96); }
.tbl { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tbl th, .tbl td { padding: 7px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; }
.script { white-space: normal; background: var(--brand-soft); border-radius: 10px; padding: 12px; margin-top: 8px; }
.script-box { margin-top: 12px; } .script-box summary { cursor: pointer; color: var(--brand); font-weight: 600; }

/* badges & chips */
.badge, .chip, .pill { display: inline-flex; align-items: center; gap: 4px; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; vertical-align: 1px; }
.pill { background: var(--brand-soft); color: var(--ink); font-size: .82rem; } .pill .ic { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { font-size: .85rem; padding: 6px 11px; } .chip b { margin-left: 3px; } .chip:hover { text-decoration: none; filter: brightness(.95); }
.b-gray   { background: #e8ecee; color: #44525a; }
.b-amber  { background: #fff1d6; color: #8a5300; }
.b-blue   { background: #dfeefe; color: #154c8a; }
.b-purple { background: #ece6fb; color: #5530a8; }
.b-teal   { background: #d8f3ef; color: #0d6157; }
.b-green  { background: #dcf3e3; color: #1f6b3a; }
.b-red    { background: #fde3e1; color: #a1271c; }
.b-dark   { background: #39444a; color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .b-gray { background: #2c383d; color: #c5d0d4; }
  :root:not([data-theme="light"]) .b-amber { background: #3d2f12; color: #f6cf7c; }
  :root:not([data-theme="light"]) .b-blue { background: #16304b; color: #9cc7f5; }
  :root:not([data-theme="light"]) .b-purple { background: #2c2346; color: #c5b4f3; }
  :root:not([data-theme="light"]) .b-teal { background: #123a35; color: #8ce0d3; }
  :root:not([data-theme="light"]) .b-green { background: #15351f; color: #8fd8a6; }
  :root:not([data-theme="light"]) .b-red { background: #43201d; color: #ffa49b; }
  :root:not([data-theme="light"]) .b-dark { background: #51606a; color: #fff; }
}

/* forms */
.form { display: flex; flex-direction: column; gap: 12px; }
.form.compact { gap: 8px; margin: 8px 0; }
label { display: flex; flex-direction: column; gap: 5px; font-size: .86rem; font-weight: 600; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-height: 44px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: transparent; }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); flex: none; }
label.check { flex-direction: row; align-items: center; gap: 9px; font-weight: 500; color: var(--ink); font-size: .93rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; background: var(--brand); color: #fff; border: 0; border-radius: 11px; padding: 12px 18px; min-height: 46px; cursor: pointer; text-decoration: none !important; }
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.sm { padding: 7px 13px; min-height: 38px; font-size: .9rem; border-radius: 9px; }
.btn.sm .ic { width: 17px; height: 17px; }
.btn.block { width: 100%; }
.btn.secondary { background: var(--brand-soft); color: var(--brand); }
.btn.danger { background: var(--err); color: #fff; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: inherit; color: var(--brand); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.linkbtn.danger { color: var(--err); } .linkbtn.ok { color: var(--ok); font-weight: 700; }
form.inline { display: inline; }
.flash { padding: 11px 14px; border-radius: 11px; margin: 0 0 12px; font-size: .94rem; border: 1px solid transparent; }
.flash.ok { background: #dcf3e3; color: #1b5e33; border-color: #b7e3c5; }
.flash.err { background: #fde3e1; color: #8f1d14; border-color: #f6c2bd; }
.flash.warn { background: #fff4d6; color: #7a4f00; border-color: #f3dc9e; }
.wrapcode { display: block; margin: 6px 0; }

/* auth */
.auth-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 20px; margin-top: 4vh; box-shadow: var(--shadow); }
.auth-card h1 { text-align: center; margin-bottom: .2rem; }
.auth-card > .muted { text-align: center; margin-top: 0; }
.auth-card .btn.block { margin: 8px 0; }
.auth-logo { text-align: center; } .auth-logo img { width: 72px; height: 72px; border-radius: 18px; }

/* business list */
.seg { display: flex; background: var(--brand-soft); border-radius: 11px; padding: 3px; margin-bottom: 10px; }
.seg a { flex: 1; text-align: center; padding: 8px; border-radius: 9px; font-weight: 600; font-size: .92rem; color: var(--muted); }
.seg a.on { background: var(--card); color: var(--brand); box-shadow: var(--shadow); }
.seg a:hover { text-decoration: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters input[type=search] { flex: 1 1 100%; }
.filters select { flex: 1 1 140px; width: auto; }
@media (min-width: 700px) { .filters input[type=search] { flex: 2 1 220px; } }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: var(--brand-soft); padding: 10px; border-radius: 11px; margin-bottom: 10px; }
.bulkbar select { width: auto; flex: 1 1 140px; min-height: 38px; padding: 6px 8px; }
.bulkbar.sticky { position: sticky; top: 58px; z-index: 5; }
.selall { margin: 0 0 8px 4px; }
.bizlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.biz { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid #c4ced2; border-radius: 12px; padding: 11px 12px; box-shadow: var(--shadow); }
.biz.s-callback, .biz.s-decision_maker_out { border-left-color: #f0a202; }
.biz.s-left_info, .biz.s-considering { border-left-color: #3b82f6; }
.biz.s-apply_online { border-left-color: #7c5cd6; }
.biz.s-pledged { border-left-color: #14a38b; }
.biz.s-donated, .biz.s-in_kind { border-left-color: #2f9e57; }
.biz.s-declined, .biz.s-no_listen { border-left-color: #d64545; }
.biz.s-no_solicit, .biz.s-closed { border-left-color: #39444a; opacity: .8; }
.biz-main { flex: 1; min-width: 0; color: var(--ink); }
.biz-main:hover { text-decoration: none; }
.biz-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.biz-top strong { font-size: 1.02rem; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 5px; }
.meta span { display: inline-flex; align-items: center; gap: 4px; } .meta .ic { width: 15px; height: 15px; }
.who { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink); }
.who.none { color: var(--muted); font-weight: 500; font-style: italic; }
.amt { color: var(--ok); font-weight: 700; } .amt.pl { color: #0d6157; }
.biz-act { display: flex; flex-direction: column; gap: 6px; }
.dot { margin: 0 5px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 16px 0; }

/* single business */
.back { display: inline-block; margin-bottom: 4px; font-weight: 600; }
.biz-head { margin-bottom: 14px; }
.biz-head h1 { margin-bottom: .45rem; }
.biz-head .sub { font-size: .95rem; margin-top: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.assign .who { margin-right: auto; }
.assign select { width: auto; flex: 1 1 160px; min-height: 38px; padding: 6px 8px; }
.status-pick { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.status-pick legend { font-size: .86rem; font-weight: 600; color: var(--muted); margin-bottom: 7px; padding: 0; }
.sp { flex-direction: row; cursor: pointer; padding: 0; }
.sp input { position: absolute; opacity: 0; pointer-events: none; }
.sp span { display: inline-block; padding: 9px 13px; border-radius: 99px; font-size: .9rem; font-weight: 700; border: 2px solid transparent; }
.sp input:checked + span { border-color: currentColor; box-shadow: 0 0 0 2px var(--card) inset; }
.sp input:focus-visible + span { outline: 2px solid var(--brand); }
.follow-fields, .pledge-fields, .gave-fields { background: var(--brand-soft); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 10px 0 10px 14px; border-left: 3px solid var(--line); margin-left: 4px; }
.timeline li p { margin: 6px 0 0; }

/* import */
.cands { list-style: none; margin: 0; padding: 0; }
.cands li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cands li.have { opacity: .6; }
.cand-main { flex: 1; min-width: 0; }
.tick { width: 20px; text-align: center; color: var(--ok); font-weight: 800; }
.loading { position: fixed; inset: 0; z-index: 100; background: rgba(10,25,30,.72); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.spinner { width: 46px; height: 46px; border: 4px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* team / settings / menu */
.quicklink code { display: inline-block; margin-top: 4px; }
.ql-box { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
#qr { background: #fff; padding: 8px; border-radius: 10px; line-height: 0; }
#qr:empty { display: none; }
.users details summary { cursor: pointer; list-style: none; }
.users details summary::-webkit-details-marker { display: none; }
.users > li { display: block; }
.user.st-disabled { opacity: .55; }
.user-actions { padding: 10px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.user-actions select { width: auto; min-height: 38px; padding: 6px 8px; }
.menu { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.menu li a, .menu li .linkbtn { display: flex; align-items: center; gap: 12px; padding: 15px 16px; color: var(--ink); width: 100%; font-size: 1rem; }
.menu li + li { border-top: 1px solid var(--line); }
.menu li a:hover { background: var(--brand-soft); text-decoration: none; }
.menu li.sep { padding: 14px 16px 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; background: var(--bg); }

/* install prompts */
.install-bar { display: flex; align-items: center; gap: 10px; background: var(--brand-2); color: #fff; padding: 9px 16px; font-weight: 600; font-size: .92rem; }
.install-bar span { flex: 1; }
.install-bar .btn { background: #fff; color: var(--brand-2); }
.x { background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.ios-tip { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); background: var(--ink); color: var(--bg); padding: 14px 40px 14px 16px; border-radius: 14px; font-size: .93rem; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.ios-tip .x { position: absolute; right: 10px; top: 8px; }
body.guest .ios-tip { bottom: calc(14px + var(--safe-b)); }

/* ---------- reports & platform admin ---------- */
.grid4 { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-bottom: 4px; }
@media (min-width: 760px) { .grid4 { grid-template-columns: repeat(4, 1fr); } }
.grid4 .card, .stats3 .card { margin-bottom: 10px; }
.grid4 .big, .stats3 .big { font-size: 1.5rem; }
.tbl-wrap { overflow-x: auto; margin: 0 -4px; }
.tbl tfoot th { border-bottom: 0; border-top: 2px solid var(--line); color: var(--ink); font-size: .9rem; text-transform: none; letter-spacing: 0; }
.tbl td .sub { margin-top: 0; font-size: .76rem; }
.tbl tr.off { opacity: .55; }
.nowrap { white-space: nowrap; }
.mini { margin-top: 14px; gap: 12px; }
.mini > div { background: var(--brand-soft); border-radius: 10px; padding: 9px 11px; }
.mini > div:first-child { grid-column: auto; }
@media (max-width: 520px) { .mini { grid-template-columns: 1fr; } }
.toplist { margin: 0; padding-left: 22px; }
.toplist li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.toplist li span { float: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.mrow { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 10px; padding: 5px 0; font-size: .9rem; }
.mbar { height: 10px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; }
.mbar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
.top-grid { align-items: start; }
@media (max-width: 700px) { .top-grid { grid-template-columns: 1fr; } }
.grok-card.on { border-color: #b9a6ee; }
.ok-text { color: var(--ok); } .warn-text { color: var(--warn); }
.sub-details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.sub-details summary { cursor: pointer; color: var(--brand); }
.danger-zone { border-color: #f1c4bf; }
.print-only { display: none; }
@media print {
  .topbar, .tabbar, .install-bar, .ios-tip, .noprint, .back, .flash { display: none !important; }
  .print-only { display: block; }
  body, body.authed { background: #fff; padding: 0; color: #000; }
  .card { box-shadow: none; break-inside: avoid; border-color: #ccc; }
  .wrap { max-width: none; padding: 0; }
  a { color: #000; }
}

/* ---------- system check ---------- */
.kv { border-collapse: collapse; font-size: .92rem; margin-top: 4px; }
.kv th { text-align: left; color: var(--muted); font-weight: 600; padding: 4px 16px 4px 0; vertical-align: top; white-space: nowrap; }
.kv td { padding: 4px 0; word-break: break-word; }
.smtp-log { background: #0f1b1f; color: #cfe3e8; border-radius: 10px; padding: 12px; font-size: .8rem; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-word; margin: 10px 0 0; }
.smtp-log .c { color: #8fd3ff; } .smtp-log .s { color: #a6e3b4; } .smtp-log .e { color: #ff9b91; font-weight: 700; } .smtp-log .n { color: #f2d48a; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.checks li:last-child { border-bottom: 0; }
.checks .mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.checks .pass .mark { background: #dcf3e3; color: #1f6b3a; }
.checks .fail .mark { background: #fde3e1; color: #a1271c; }

/* ---------- account recovery ---------- */
.steps { padding-left: 20px; margin: 0 0 14px; }
.steps li { margin-bottom: 12px; }
.steps code { word-break: break-all; }
.bigcode { font: 700 1.7rem/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; text-align: center; background: var(--brand-soft); color: var(--brand); border-radius: 12px; padding: 16px 8px; margin: 8px 0 0; user-select: all; }
.recover h2 { margin-top: 18px; }

/* ---------- v3: simpler layout ---------- */
.switch { color: #fff; opacity: .85; font-size: .8rem; font-weight: 700; border: 1px solid rgba(255,255,255,.4); border-radius: 99px; padding: 4px 10px; white-space: nowrap; }
.switch:hover { opacity: 1; text-decoration: none; background: rgba(255,255,255,.12); }
.mode-platform .topbar { background: #2a2140; }
.choose-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0; }
.choose-item { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font: inherit; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }
.choose-item:hover { border-color: var(--brand); }
.choose-item.current { border: 2px solid var(--brand); }
.choose-item img { width: 44px; height: 44px; border-radius: 11px; }
.choose-item span:not(.chev) { flex: 1; display: flex; flex-direction: column; }
.choose-item small { color: var(--muted); font-size: .85rem; }
.choose-item .chev { font-size: 1.6rem; color: var(--muted); }
.choose-item.platform { border-style: dashed; }
.attention { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 14px; }
.att { background: #fff1d6; color: #7a4f00; border-radius: 99px; padding: 8px 14px; font-weight: 600; font-size: .9rem; }
.att.warn { background: #fde3e1; color: #8f1d14; }
.att:hover { text-decoration: none; filter: brightness(.97); }
.attention-card { border-color: #f3dc9e; }
.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.big-actions .btn { min-height: 56px; font-size: 1rem; }
@media (max-width: 420px) { .big-actions { grid-template-columns: 1fr; } }
.seg a small { font-weight: 500; opacity: .7; margin-left: 3px; }
.btn.claim { min-height: 38px; padding: 6px 14px; }
.more-status { margin-top: 2px; }
.more-status > summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: .9rem; padding: 4px 0 8px; }
.assign.is-mine { border-color: var(--brand); background: var(--brand-soft); }
.assign .who { margin-right: auto; }
.admin-assign { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.admin-assign select { flex: 1; min-height: 38px; padding: 6px 8px; }
.bulk-more { display: contents; }
.bulk-more > summary { cursor: pointer; color: var(--brand); list-style: none; }
.bulk-more[open] > summary { display: none; }
.stats3 .card { padding: 12px 14px; }
@media (max-width: 520px) { .stats3 { grid-template-columns: 1fr 1fr; } .stats3 > :first-child { grid-column: 1 / -1; } }
.list > li > a.icon-btn { flex: none; }
.grid2 > *, .grid3 > *, .grid4 > * { min-width: 0; }
.chooser-foot { display: flex; justify-content: center; align-items: center; gap: 14px; }
@media (max-width: 600px) { .hide-sm { display: none; } }
.tpl-preview { font-size: .78rem; white-space: nowrap; }
.tpl-preview th { text-transform: none; letter-spacing: 0; font-size: .78rem; color: var(--ink); background: var(--brand-soft); }
.gone-card { border-color: #f1c4bf; background: #fff6f5; }
.gone-box > summary { color: var(--muted); }
.biz-act .unclaim { font-size: .8rem; padding: 2px 0; }
.now-status form { display: inline; }
