/* STORIQ Intelligence  brand palette: navy #061B2C, deep blue #173B56, lime #9DDE35, green #20A66A, soft grey #F5F7F8 */
:root {
  --navy: #061B2C;
  --deep: #173B56;
  --lime: #9DDE35;
  --green: #20A66A;
  --green-text: #157A4C;
  --grey: #F5F7F8;
  --line: #DCE3E8;
  --text: #0B2236;
  --muted: #5A6B7B;
  --white: #FFFFFF;
  --red: #B42318;
  --red-bg: #FDECEA;
  --info-bg: #E8F0F6;
  --good-bg: #E6F6EE;
  --attn-bg: #EEF3E0;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(6, 27, 44, .06), 0 4px 16px rgba(6, 27, 44, .05);
  --font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--grey); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--deep); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5rem; }
h1 { font-size: 1.6rem; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
code, .mono { font-family: Consolas, "Courier New", monospace; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: bold; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* Shell */
.shell { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { background: var(--navy); color: #C9D6E1; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.sidebar .brand { display: block; padding: 22px 22px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar .brand img { width: 190px; display: block; }
.sidebar .brand .sub { display: block; margin-top: 10px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--lime); }
.nav { padding: 12px 10px 24px; flex: 1; }
.nav h2 { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #7F95A8; margin: 18px 12px 6px; font-weight: normal; }
.nav a { display: flex; align-items: center; gap: 10px; color: #DCE6EE; text-decoration: none; padding: 9px 12px; border-radius: 8px; font-size: .95rem; border-left: 3px solid transparent; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a[aria-current="page"] { background: var(--deep); color: #fff; border-left-color: var(--lime); }
.nav .count { margin-left: auto; background: var(--lime); color: var(--navy); font-size: .72rem; font-weight: bold; padding: 1px 7px; border-radius: 999px; }
.sidebar .foot { padding: 14px 22px; font-size: .75rem; color: #7F95A8; border-top: 1px solid rgba(255,255,255,.08); }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.topbar .page-title { font-size: 1.05rem; font-weight: bold; color: var(--navy); margin: 0; }
.topbar .spacer { flex: 1; }
.menu-btn { display: none; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; color: var(--navy); cursor: pointer; text-decoration: none; font: inherit; font-size: .9rem; }
.icon-btn:hover { background: var(--grey); }
.bell .dot { background: var(--lime); color: var(--navy); border-radius: 999px; font-size: .72rem; font-weight: bold; padding: 0 6px; }
.user-chip { display: flex; align-items: center; gap: 8px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: bold; font-size: .85rem; }
.content { padding: 26px 28px 48px; max-width: 1280px; width: 100%; }

/* Page header */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.page-head p { color: var(--muted); margin: 0; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.help { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: var(--radius); margin-bottom: 18px; }
.help summary { cursor: pointer; padding: 10px 14px; font-weight: bold; color: var(--deep); font-size: .9rem; }
.help div { padding: 0 16px 12px; font-size: .92rem; color: var(--muted); }

/* Cards and grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(12, 1fr); }
.span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; } .span-12 { grid-column: span 12; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; min-width: 0; }
.card > h2 { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card > h2 a { font-size: .8rem; font-weight: normal; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat .value { font-size: 2rem; font-weight: bold; color: var(--navy); line-height: 1.1; }
.stat .label { color: var(--muted); font-size: .85rem; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin-top: 8px; }
.accent-top { border-top: 3px solid var(--lime); }

/* Lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--grey); }
.checks li:last-child { border-bottom: 0; }
.checks .detail { margin-left: auto; color: var(--muted); font-size: .85rem; text-align: right; }
.mark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: bold; flex: none; }
.mark.ok { background: var(--good-bg); color: var(--green-text); }
.mark.no { background: var(--red-bg); color: var(--red); }
.priorities { list-style: none; padding: 0; margin: 0; }
.priorities li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; margin-bottom: 8px; background: var(--grey); }
.priorities li.error { background: var(--red-bg); }
.priorities li.attention { background: var(--attn-bg); }
.priorities li a { margin-left: auto; font-size: .85rem; white-space: nowrap; }
.roadmap { list-style: none; padding: 0; margin: 0; }
.roadmap li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--grey); align-items: baseline; }
.roadmap li:last-child { border-bottom: 0; }
.stage-pill { flex: none; font-size: .72rem; font-weight: bold; letter-spacing: .06em; background: var(--deep); color: #fff; padding: 2px 8px; border-radius: 999px; }
.stage-pill.done { background: var(--green); }

/* Badges */
.badge { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: bold; white-space: nowrap; }
.badge-good { background: var(--good-bg); color: var(--green-text); }
.badge-bad { background: var(--red-bg); color: var(--red); }
.badge-attention { background: var(--attn-bg); color: #3F5A12; }
.badge-info { background: var(--info-bg); color: var(--deep); }
.badge-muted { background: #EDF0F2; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--grey); vertical-align: top; }
th { background: #FAFBFC; color: var(--muted); font-weight: bold; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.details-cell { max-width: 420px; word-break: break-word; font-size: .82rem; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; max-width: 720px; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
label { display: block; font-weight: bold; font-size: .88rem; margin-bottom: 5px; color: var(--navy); }
.hint { display: block; font-weight: normal; color: var(--muted); font-size: .82rem; margin-top: 4px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], input[type=url], input[type=tel], input[type=month], input[type=file], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #B9C6D1; border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--deep); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: normal; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--green); }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0; }
legend { font-weight: bold; color: var(--navy); padding: 0 6px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.filters > div { min-width: 150px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-size: .92rem; font-weight: bold; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--deep); color: #fff; }
.btn.secondary { background: #fff; color: var(--navy); border-color: #B9C6D1; }
.btn.secondary:hover { background: var(--grey); }
.btn.danger { background: #fff; color: var(--red); border-color: #E7B4AF; }
.btn.danger:hover { background: var(--red-bg); }
.btn.small { padding: 6px 10px; font-size: .82rem; }
.btn.block { width: 100%; }
.btn .arrow { color: var(--lime); }
form.inline { display: inline; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; display: flex; gap: 10px; }
.flash.success { background: var(--good-bg); border-color: #A9DCC2; color: #0F5132; }
.flash.error { background: var(--red-bg); border-color: #F1B8B2; color: #7A1A12; }
.flash.info { background: var(--info-bg); border-color: #BCD0E0; color: var(--deep); }
.flash.attention { background: var(--attn-bg); border-color: #C9DD9A; color: #2F4410; }

/* Secret reveal */
.secret-box { background: var(--navy); color: var(--lime); padding: 12px 14px; border-radius: 8px; font-family: Consolas, monospace; word-break: break-all; }

/* Auth pages */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-brand { background: var(--navy); color: #C9D6E1; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-brand::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(157, 222, 53, .07); }
.auth-brand img { width: min(420px, 90%); }
.auth-brand .tag { font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; color: var(--lime); margin-top: 22px; }
.auth-brand .rule { height: 2px; width: 120px; background: linear-gradient(90deg, var(--deep), var(--lime)); margin: 26px 0; }
.auth-brand p { max-width: 420px; color: #AFC0CF; }
.auth-panel { display: grid; place-items: center; padding: 40px 24px; background: var(--white); }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { margin-bottom: 4px; }
.auth-card .lead { color: var(--muted); margin-bottom: 22px; }
.auth-card .form { max-width: none; }
.auth-foot { margin-top: 18px; font-size: .88rem; }
.mobile-logo { display: none; }

/* Error page */
.error-box { max-width: 560px; margin: 8vh auto; text-align: center; }
.error-box .code { font-size: 4rem; font-weight: bold; color: var(--deep); line-height: 1; }

/* Customise list */
.widget-list { list-style: none; padding: 0; margin: 0; }
.widget-list li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 8px; background: #fff; }
.widget-list input[type=number] { width: 80px; }

.pager { display: flex; gap: 8px; align-items: center; margin-top: 14px; }

@media (max-width: 1100px) {
  .span-3 { grid-column: span 6; } .span-4 { grid-column: span 6; } .span-8 { grid-column: span 12; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; transform: translateX(-100%); transition: transform .2s ease; z-index: 50; }
  .sidebar.open { transform: none; box-shadow: 0 0 0 100vmax rgba(6,27,44,.45); }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 12px 16px; }
  .content { padding: 18px 16px 40px; }
  .grid { grid-template-columns: 1fr; }
  .grid > * { grid-column: 1 / -1; }
  .form-row { grid-template-columns: 1fr; }
  .user-chip .name { display: none; }
  .auth { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .mobile-logo { display: block; width: 220px; margin-bottom: 26px; }
  th, td { padding: 9px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.error-logo { margin-bottom: 28px; }
.widget-list .spacer { flex: 1; }

/* Layout refinements */
.icon-btn { white-space: nowrap; }
.icon-btn.menu-btn { display: none; }
@media (min-width: 861px) {
  .shell { background: linear-gradient(to right, var(--navy) 260px, var(--grey) 260px); }
}
@media (max-width: 860px) {
  .icon-btn.menu-btn { display: inline-flex; }
  .topbar { gap: 8px; }
  .topbar .page-title { display: none; }
  .topbar .icon-btn { padding: 6px 9px; }
  .user-chip { padding: 2px !important; border: 0 !important; }
}

/* Stage 2: business development */
.pre { white-space: pre-wrap; font-family: inherit; margin: 0; }
.meter { display: flex; align-items: center; gap: 10px; }
.meter .track { flex: 1; height: 8px; background: #E4EAEE; border-radius: 99px; overflow: hidden; min-width: 60px; }
.meter .fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); border-radius: 99px; }
.meter .num { font-weight: bold; color: var(--navy); min-width: 2.5em; text-align: right; }
.score-big { font-size: 2.6rem; font-weight: bold; color: var(--navy); line-height: 1; }
.score-big small { font-size: 1rem; color: var(--muted); font-weight: normal; }
.w0 { width: 0; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; }
.component { padding: 12px 0; border-bottom: 1px solid var(--grey); }
.component:last-child { border-bottom: 0; }
.component ul { margin: 6px 0 0; padding-left: 18px; font-size: .88rem; }
.component .missing { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.stage-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-bottom: 16px; }
.stage-strip a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; text-decoration: none; color: var(--navy); }
.stage-strip a strong { display: block; font-size: 1.4rem; }
.stage-strip a span { font-size: .78rem; color: var(--muted); }
.stage-strip a[aria-current="true"] { border-color: var(--deep); box-shadow: inset 0 -3px 0 var(--lime); }
.section-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.section-nav a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-size: .86rem; color: var(--deep); }
.section-nav a:hover { background: var(--grey); }
.section { scroll-margin-top: 80px; margin-bottom: 26px; }
.section > h2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: .93rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
details.inline-form { margin-top: 12px; }
details.inline-form > summary { cursor: pointer; font-weight: bold; color: var(--deep); padding: 6px 0; }
details.inline-form[open] > summary { margin-bottom: 10px; }
.item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; }
.item h3 { margin-bottom: 4px; }
.item .meta { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.item form.accept { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; margin-top: 10px; }
.draft { border-left: 4px solid var(--line); }
.draft.approved { border-left-color: var(--green); }
.draft.sent { border-left-color: var(--deep); }
.blockers { margin: 8px 0; padding-left: 18px; color: var(--red); font-size: .86rem; }
.tag { display: inline-block; background: var(--grey); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: .76rem; margin: 2px 2px 0 0; color: var(--deep); }
tr.overdue td { background: #FDF3F2; }
.textarea-tall { min-height: 220px; }
textarea { width: 100%; padding: 10px 12px; border: 1px solid #B9C6D1; border-radius: 8px; font: inherit; font-size: .95rem; min-height: 90px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } .facts dt { margin-top: 6px; } }

/* Printable proposal */
.print-page { max-width: 820px; margin: 0 auto; background: #fff; padding: 48px 56px; }
.print-page .letterhead { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 2px solid var(--navy); padding-bottom: 16px; margin-bottom: 28px; }
.print-page .letterhead img { width: 220px; }
.print-page h1 { font-size: 1.5rem; }
.print-page table td, .print-page table th { border-bottom: 1px solid var(--line); }
.print-controls { max-width: 820px; margin: 20px auto; padding: 0 16px; }
.draft-banner { background: var(--attn-bg); border: 1px solid #C9DD9A; padding: 8px 12px; border-radius: 6px; font-size: .85rem; margin-bottom: 18px; }
@media print {
  body { background: #fff; }
  .print-controls, .skip-link { display: none !important; }
  .print-page { padding: 0; max-width: none; }
  .draft-banner { display: none; }
}
.rule { border: 0; border-top: 1px solid var(--line); margin: 22px 0 14px; }
.spaced { margin-top: 16px; }
.section-nav a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.meter .fill { display: block; } .meter .track { display: block; }

/* Stage 3 */
.qr { width: 220px; max-width: 100%; margin: 10px 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.qr svg { display: block; width: 100%; height: auto; }
.codes { columns: 2; font-size: 1.05rem; line-height: 2; }

/* Stage 3: candidates and assignments */
.span-5 { grid-column: span 5; } .span-7 { grid-column: span 7; } .span-9 { grid-column: span 9; }
.filters > div.wide { flex: 1 1 360px; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px 16px; margin: 8px 0 12px; }
.cv-text { max-height: 640px; overflow: auto; background: var(--grey); border: 1px solid var(--line); border-radius: 8px; padding: 12px; }
input.narrow { width: 90px; }
.inline-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.inline-row > div { min-width: 160px; }
.inline-row > div.wide { flex: 1 1 300px; }
.concerns { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--attn-bg); border: 1px solid #C9DD9A; font-size: .9rem; }
.concerns ul { margin: 6px 0 0; padding-left: 18px; }
.longlist-item { margin-bottom: 12px; }
.longlist-item h3 { margin: 0; }
.longlist-item details { margin-top: 8px; }
.longlist-item details > summary { cursor: pointer; font-weight: bold; color: var(--deep); }
.longlist-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-start; }
.longlist-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; border-top: 1px solid var(--grey); margin-top: 10px; padding-top: 4px; }
.longlist-actions form.inline-row { flex: 1 1 520px; }
@media (max-width: 1100px) { .span-5, .span-7, .span-9 { grid-column: span 12; } }
.card .facts + h3, .card p + h3 { margin-top: 18px; }
.card h3 { font-size: 1rem; margin-bottom: 4px; }
.form-row > .wide-field { grid-column: 1 / -1; }

/* Stage 4: assignment tabs and workflow */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin: 4px 0 18px; }
.tabs a { padding: 9px 14px; border-radius: 8px 8px 0 0; color: var(--deep); text-decoration: none; font-weight: bold; border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; }
.tabs a:hover { background: var(--grey); }
.tabs a[aria-current="page"] { background: #fff; border-color: var(--line); color: var(--navy); box-shadow: inset 0 3px 0 var(--green); }
.workflow { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; counter-reset: wf; }
.workflow li { counter-increment: wf; font-size: .82rem; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.workflow li::before { content: counter(wf); display: inline-block; min-width: 1.6em; font-weight: bold; }
.workflow li.done { background: var(--good-bg); border-color: #A9DCC2; color: #0F5132; }
.workflow li.now { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: bold; }
.flash.attention a, .flash.info a { color: inherit; }
td .inline-row { margin-top: 0; }
details.row-actions > summary { cursor: pointer; font-weight: bold; color: var(--deep); font-size: .85rem; }
details.row-actions[open] { min-width: 180px; }
details.row-actions form { margin-top: 8px; }
.actions .inline-row { margin-top: 0; flex-wrap: nowrap; }
.actions .inline-row select { width: auto; }
.stats + .section, .stats + section { margin-top: 26px; }
.card > form.inline { display: inline-block; margin: 8px 0 12px; }
