/* AIGSB.org - Member Portal styles. Loaded only on portal pages and sign-in. ASCII only. */
:root {
  --p-side: 258px;
  --c-approve: #008300; --c-approve-c: #2a78d6; --c-disapprove: #e34948; --c-abstain: #4a3aa7;
  --st-good: #1F7A4D; --st-good-bg: #E6F2EC; --st-warn-bg: #FFF4E5; --st-crit-bg: #FDECEA;
  --chart-surface: #fcfcfb; --grid: #e1e0d9;
}
body.portal { background: var(--bg-alt); }
body.portal .site-footer { margin-top: 0; }

/* ---------- shell ---------- */
.p-shell { display: grid; grid-template-columns: var(--p-side) 1fr; min-height: calc(100vh - 77px); }
.p-side { background: #fff; border-right: 1px solid var(--line); padding: 22px 16px 32px; position: sticky; top: 77px; align-self: start; height: calc(100vh - 77px); overflow-y: auto; }
.p-me { display: flex; gap: 12px; align-items: center; padding: 6px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.p-me .avatar { width: 44px; height: 44px; font-size: .95rem; }
.p-me b { display: block; color: var(--navy); line-height: 1.25; font-size: .98rem; }
.p-me .tier { font: 600 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7A5714; }
.p-nav h6 { font: 600 .68rem var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 10px 6px; }
.p-nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; position: relative; }
.p-nav a svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; opacity: .8; }
.p-nav a:hover { background: var(--bg-alt); color: var(--navy); }
.p-nav a.active { background: #EAF1FA; color: var(--navy); font-weight: 600; }
.p-nav a.active::before { content: ""; position: absolute; left: -16px; top: 6px; bottom: 6px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.p-nav .count { margin-left: auto; background: var(--navy); color: #fff; font: 600 .7rem var(--sans); border-radius: 999px; padding: 2px 7px; }
.p-nav .count.gold { background: var(--gold); color: var(--navy); }
.p-main { padding: 30px 36px 60px; min-width: 0; }
.p-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.p-head h1 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 0; }
.p-head .sub { color: var(--muted); margin: 6px 0 0; }
.p-head .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.p-mobile-nav { display: none; }
@media (max-width: 980px) {
  .p-shell { grid-template-columns: 1fr; }
  .p-side { display: none; }
  .p-mobile-nav { display: block; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; position: sticky; top: 77px; z-index: 20; }
  .p-mobile-nav select { width: 100%; }
  .p-main { padding: 22px 16px 48px; }
}

/* ---------- surfaces ---------- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.panel + .panel { margin-top: 18px; }
.panel h2, .panel h3 { margin-top: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1.15rem; }
.panel-head a { font-size: .9rem; font-weight: 600; }
.p-grid { display: grid; gap: 18px; }
.p-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.p-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.p-grid.main-side { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 1100px) { .p-grid.cols-3 { grid-template-columns: 1fr 1fr; } .p-grid.main-side { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .p-grid.cols-2, .p-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
@media (max-width: 1100px) { .kpis { grid-template-columns: 1fr 1fr; } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; text-decoration: none; color: inherit; display: block; transition: border-color .15s, box-shadow .15s; }
a.kpi:hover { border-color: var(--navy-3); box-shadow: 0 6px 20px rgba(10,37,87,.08); color: inherit; }
.kpi .lbl { font: 600 .72rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi .num { font-family: var(--serif); font-size: 2.4rem; color: var(--navy); line-height: 1.05; margin: 8px 0 4px; font-variant-numeric: tabular-nums; }
.kpi .hint { font-size: .86rem; color: var(--muted); }
.kpi .hint b { color: var(--navy); }

/* ---------- welcome band ---------- */
.welcome { background: linear-gradient(120deg, var(--navy) 50%, var(--navy-2)); color: #DCE6F2; border-radius: 14px; padding: 26px 28px; margin-bottom: 18px; position: relative; overflow: hidden; }
.welcome::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(30,167,232,.28), transparent 65%); }
.welcome h1 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.welcome p { margin: 0; max-width: 60ch; }
.welcome .btn-row { margin-top: 18px; position: relative; z-index: 1; }

/* ---------- chips, badges ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem var(--sans); padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--navy); border: 1px solid var(--line); white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.s-draft { color: #55606E; }
.chip.s-submitted, .chip.s-under_review { color: #0B5FB0; background: #EAF1FA; border-color: #C9D9EE; }
.chip.s-agenda_consideration, .chip.s-on_agenda, .chip.s-in_drafting { color: #7A5714; background: #F6EEDC; border-color: #E5D3AE; }
.chip.s-exposure_draft, .chip.s-redeliberation { color: #4a3aa7; background: #EFEDFA; border-color: #D6D1F2; }
.chip.s-issued { color: var(--st-good); background: var(--st-good-bg); border-color: #B9DCC9; }
.chip.s-declined, .chip.s-withdrawn, .chip.s-merged { color: #55606E; background: #F3F5F8; }
.chip.open { color: var(--st-good); background: var(--st-good-bg); border-color: #B9DCC9; }
.chip.closed { color: #55606E; }
.chip.warn { color: #9A5B00; background: var(--st-warn-bg); border-color: #F3D2A2; }
.chip.tag { font-weight: 500; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.refno { font: 500 .8rem var(--mono); color: var(--muted); }

/* ---------- tabs & toolbar ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button, .tabs a { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; font: 600 .92rem var(--sans); color: var(--muted); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tabs button[aria-selected="true"], .tabs a.active { color: var(--navy); border-bottom-color: var(--gold); }
.tabs .count { background: var(--bg-alt); border-radius: 999px; padding: 1px 7px; margin-left: 6px; font-size: .75rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.filters input[type=search], .filters select { width: auto; min-width: 160px; padding: 9px 12px; }
.filters input[type=search] { flex: 1; min-width: 220px; }

/* ---------- lists ---------- */
.rows { display: grid; gap: 10px; }
.row-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; align-items: center; text-decoration: none; color: inherit; }
a.row-card:hover { border-color: var(--navy-3); color: inherit; }
.row-card h3 { font-size: 1.05rem; margin: 2px 0; }
.row-card .meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.row-card .side { text-align: right; display: grid; gap: 6px; justify-items: end; }
@media (max-width: 700px) { .row-card { grid-template-columns: 1fr; } .row-card .side { justify-items: start; text-align: left; } }
.empty { text-align: center; padding: 34px 18px; color: var(--muted); border: 1px dashed #C5CDD8; border-radius: 12px; background: #fff; }
.empty b { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; font-family: var(--serif); }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.list-plain li:first-child { border-top: 0; }
.list-plain .muted { font-size: .85rem; white-space: nowrap; }

/* ---------- stepper (lifecycle) ---------- */
.stepper { display: flex; gap: 0; margin: 6px 0 4px; overflow-x: auto; padding-bottom: 4px; }
.stepper .st { flex: 1 1 0; min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; font-size: .72rem; padding-left: 2px; padding-right: 2px; position: relative; text-align: center; font-size: .76rem; color: var(--muted); padding-top: 26px; }
.stepper .st::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.stepper .st:first-child::before { left: 50%; } .stepper .st:last-child::before { right: 50%; }
.stepper .st .bullet { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #C5CDD8; z-index: 1; }
.stepper .st.done { color: var(--navy); } .stepper .st.done::before { background: var(--navy-3); }
.stepper .st.done .bullet { background: var(--navy-3); border-color: var(--navy-3); }
.stepper .st.current { color: var(--navy); font-weight: 700; }
.stepper .st.current .bullet { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,150,46,.22); }
.stepper.compact .st { min-width: 0; font-size: 0; padding-top: 18px; }
.stepper.compact .st .bullet { width: 12px; height: 12px; }
.stepper.compact .st::before { top: 7px; }

/* ---------- ballot charts ---------- */
.tally { margin: 6px 0 0; }
.stack { display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: #EEF0F3; gap: 2px; }
.stack span { display: block; height: 100%; min-width: 0; position: relative; cursor: default; }
.stack span:first-child { border-radius: 4px 0 0 4px; } .stack span:last-child { border-radius: 0 4px 4px 0; }
.stack .a { background: var(--c-approve); } .stack .ac { background: var(--c-approve-c); } .stack .d { background: var(--c-disapprove); } .stack .ab { background: var(--c-abstain); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: .86rem; color: var(--ink); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend b { font-variant-numeric: tabular-nums; }
.meter { margin-top: 14px; padding-bottom: 16px; }
.meter .m-top { display: flex; justify-content: space-between; font-size: .86rem; margin-bottom: 6px; }
.meter .m-top b { font-variant-numeric: tabular-nums; color: var(--navy); }
.meter .bar { position: relative; height: 10px; background: #EEF0F3; border-radius: 5px; }
.meter .fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0 4px 4px 0; background: var(--navy-3); }
.meter .fill.ok { background: var(--c-approve); }
.meter .thr { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.meter .thr::after { content: attr(data-label); position: absolute; top: 18px; transform: translateX(-50%); font: 600 .68rem var(--mono); color: var(--muted); white-space: nowrap; }
.verdict { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; padding: 6px 12px; border-radius: 8px; }
.verdict.ok { background: var(--st-good-bg); color: var(--st-good); }
.verdict.no { background: var(--st-crit-bg); color: var(--err); }
.verdict.pending { background: var(--bg-alt); color: var(--navy); }
.verdict svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.tip { position: fixed; z-index: 100; background: var(--navy); color: #fff; font-size: .82rem; padding: 6px 10px; border-radius: 6px; pointer-events: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
table.compact th, table.compact td { padding: 8px 12px; font-size: .9rem; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- vote form ---------- */
.choices { display: grid; gap: 10px; margin-bottom: 16px; }
.choice { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; cursor: pointer; background: #fff; font-weight: 400; color: var(--ink); margin: 0; }
.choice:hover { border-color: var(--navy-3); }
.choice input { margin-top: 4px; accent-color: var(--navy); }
.choice b { color: var(--navy); display: block; }
.choice span { font-size: .88rem; color: var(--muted); }
.choice:has(input:checked) { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(10,37,87,.12); background: #F7FAFD; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* ---------- timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 6px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--navy-3); }
.timeline li.status::before { background: var(--gold); border-color: var(--gold); }
.timeline .when { font-size: .8rem; color: var(--muted); }
.timeline .what { font-size: .95rem; }
.timeline .body { margin-top: 6px; white-space: pre-wrap; background: var(--bg-alt); border-radius: 8px; padding: 10px 12px; font-size: .93rem; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.person .top { display: flex; gap: 12px; align-items: center; }
.person .avatar { width: 52px; height: 52px; }
.person img.avatar { object-fit: cover; }
.person h3 { margin: 0; font-size: 1.05rem; }
.person .role { font-size: .86rem; color: var(--muted); margin: 0; }
.person .bio { font-size: .9rem; margin: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.person .acts { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 7px 12px; font-size: .86rem; }
.contact { background: var(--st-good-bg); border-radius: 8px; padding: 8px 10px; font-size: .88rem; }

/* ---------- forms in portal ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; font-size: .88rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 0; cursor: pointer; background: #fff; color: var(--ink); }
.checks label:has(input:checked) { background: #EAF1FA; border-color: #9DB9DD; color: var(--navy); }
.checks input { accent-color: var(--navy); }
dialog.p-dialog { border: 0; border-radius: 14px; padding: 0; width: min(720px, 94vw); box-shadow: 0 24px 60px rgba(10,37,87,.28); }
dialog.p-dialog::backdrop { background: rgba(10,37,87,.45); }
.p-dialog .d-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.p-dialog .d-head h2 { margin: 0; font-size: 1.25rem; }
.p-dialog .d-body { padding: 20px 24px; max-height: 70vh; overflow: auto; }
.p-dialog .d-foot { padding: 14px 24px; border-top: 1px solid var(--line); display: flex; gap: 10px; justify-content: flex-end; background: var(--bg-alt); }
.icon-btn { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* ---------- application progress (pending) ---------- */
.app-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 4px; }
.app-steps .s { border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fff; }
.app-steps .s b { display: block; color: var(--navy); }
.app-steps .s small { color: var(--muted); }
.app-steps .s.done { border-color: #B9DCC9; background: var(--st-good-bg); }
.app-steps .s.now { border-color: var(--gold); background: var(--gold-soft); }
@media (max-width: 800px) { .app-steps { grid-template-columns: 1fr 1fr; } }

/* ---------- admin ---------- */
.adm-table td { vertical-align: top; }
.adm-table .who b { color: var(--navy); }
.adm-table .reason { max-width: 380px; font-size: .86rem; color: var(--ink); white-space: pre-wrap; }
.adm-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.adm-actions select { width: auto; padding: 6px 8px; font-size: .86rem; }
.badge-ok { color: var(--st-good); font-weight: 600; font-size: .82rem; }
.badge-wait { color: #9A5B00; font-weight: 600; font-size: .82rem; }

/* ---------- sign-in page ---------- */
.auth { display: grid; grid-template-columns: 1.05fr 1fr; min-height: calc(100vh - 77px); }
.auth-brand { background: linear-gradient(140deg, var(--navy) 45%, var(--navy-2)); color: #CFDBEA; padding: 56px 56px 48px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.auth-brand::after { content: ""; position: absolute; right: -120px; bottom: -140px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(30,167,232,.25), transparent 62%); }
.auth-brand img { width: 150px; height: auto; margin-bottom: 26px; position: relative; z-index: 1; }
.auth-brand h1 { color: #fff; font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin: 0 0 10px; position: relative; z-index: 1; }
.auth-brand p.lead { color: #B9C9DC; position: relative; z-index: 1; }
.auth-benefits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.auth-benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.auth-benefits .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; }
.auth-benefits .ic svg { width: 20px; height: 20px; stroke: #E2BC6A; fill: none; stroke-width: 1.8; }
.auth-benefits b { color: #fff; display: block; }
.auth-benefits span { font-size: .92rem; }
.auth-foot { margin-top: auto; padding-top: 30px; font-size: .82rem; color: #93A6BE; position: relative; z-index: 1; }
.auth-form { display: grid; place-items: center; padding: 48px 24px; background: var(--bg-alt); }
.auth-card { width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 34px 32px; box-shadow: 0 10px 40px rgba(10,37,87,.06); }
.auth-card h2 { margin: 0 0 4px; font-size: 1.6rem; }
.auth-card .sub { color: var(--muted); margin: 0 0 22px; }
.btn-linkedin { width: 100%; justify-content: center; display: inline-flex; gap: 10px; align-items: center; background: #0A66C2; color: #fff; border: 0; }
.btn-linkedin:hover { background: #004182; color: #fff; }
.btn-linkedin svg { width: 18px; height: 18px; fill: #fff; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-block { width: 100%; justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; margin-top: 14px; flex-wrap: wrap; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-brand { padding: 34px 20px; } .auth-benefits { display: none; } .auth-brand img { width: 96px; margin-bottom: 14px; } }

.btn-block { display: flex; width: 100%; justify-content: center; }
.p-main input[type=search], .p-main input[type=number], .p-main input[type=date], .p-main input[type=datetime-local], .p-main input[type=text], .p-main input[type=email], .p-main input[type=url], .p-main input[type=password] {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #C5CDD8; border-radius: 8px; background: #fff; color: var(--ink);
}
.filters input[type=search] { width: auto; }
.filters select, .adm-table select, .adm-actions select { font-size: .92rem; padding: 9px 12px; }
td input[type=date], td input[type=text], td select { min-width: 120px; padding: 7px 9px !important; font-size: .88rem !important; }

.p-grid > *, .kpis > *, .rows > * { min-width: 0; }
@media (max-width: 1100px) { .p-grid.main-side { grid-template-columns: minmax(0, 1fr); } }
.pipe-row { display: grid; grid-template-columns: minmax(160px, 1fr) 2fr; gap: 14px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); }
@media (max-width: 700px) { .pipe-row { grid-template-columns: 1fr; gap: 4px; } .welcome { padding: 22px 18px; } .kpi .num { font-size: 2rem; } .list-plain li { flex-wrap: wrap; } .list-plain .muted { white-space: normal; } }
.table-wrap { max-width: 100%; overflow-x: auto; }

.join-steps { padding-left: 20px; margin: 14px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.join-steps b { color: var(--navy); }
.btn-linkedin[disabled] { opacity: .5; cursor: not-allowed; }

/* bell + attention pop-up */
.bell { position: relative; background: none; border: 1px solid var(--line); border-radius: 10px; width: 36px; height: 36px; display: grid; place-items: center; cursor: pointer; color: var(--navy); flex: none; }
.bell:hover { border-color: var(--navy); }
.bell svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.bell-count { position: absolute; top: -6px; right: -6px; background: var(--gold); color: var(--navy); font: 700 .68rem var(--sans); border-radius: 999px; padding: 2px 6px; }
ul.attn { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
ul.attn li .btn { white-space: nowrap; flex: none; }
ul.attn li { display: flex; gap: 14px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-left: 4px solid var(--navy-3); border-radius: 10px; padding: 12px 14px; background: #fff; }
ul.attn li b { color: var(--navy); display: block; }
@media (max-width: 600px) { ul.attn li { flex-direction: column; align-items: flex-start; } }

/* data tables */
.dt-tools { margin-bottom: 12px; }
.dt-spacer { flex: 1; }
.dt-count { font-size: .85rem; color: var(--muted); white-space: nowrap; }
table.dt thead th { position: sticky; top: 0; z-index: 1; }
.th-sort { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: inherit; white-space: nowrap; }
.th-sort .arr { color: #A3ADBB; font-size: .78em; }
.th-sort.on .arr, .th-sort:hover .arr { color: var(--navy); }
th.num .th-sort { width: 100%; text-align: right; }
td.pre { white-space: pre-wrap; max-width: 360px; }
.dt-pager { display: flex; gap: 12px; align-items: center; justify-content: flex-end; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.dt-letter summary { font-weight: 500; color: var(--ink); font-size: .9rem; }
.dt-letter { border: 0; padding: 0; background: none; margin: 0; max-width: 520px; }

.sealed { display: flex; gap: 12px; align-items: flex-start; background: #F3F5F8; border: 1px dashed #A9B6C8; border-radius: 10px; padding: 14px; font-size: .9rem; color: var(--ink); }
.sealed b { color: var(--navy); }
.sealed svg, .sealed-mini svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; flex: none; }
.sealed-mini { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: var(--muted); }
.sealed-mini svg { width: 16px; height: 16px; }
.sealed-mini b { color: var(--navy); }
table.dt .adm-actions { flex-direction: column; align-items: stretch; min-width: 150px; }
table.dt .adm-actions .btn { justify-content: center; }
table.dt td { vertical-align: top; }
