:root {
  --brand: #1B03A3;
  --brand-dark: #12026e;
  --brand-ink: #0b0146;
  --brand-600: #3320c4;
  --brand-100: #dcd8fa;
  --brand-50: #f1effd;
  --bg: #f5f5fa;
  --card: #ffffff;
  --ink: #16152b;
  --muted: #5f5d78;
  --line: #dfdeef;
  --ok: #1d7a46; --ok-bg: #e5f4ec;
  --warn: #9a6200; --warn-bg: #fdf1d9;
  --bad: #b3261e; --bad-bg: #fbe7e5;
  --info-bg: var(--brand-50);
  --accent: #e3a02f; --accent-bg: #fdf3e1;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(18, 2, 110, .06), 0 4px 16px rgba(18, 2, 110, .06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 'Segoe UI', system-ui, -apple-system, Tahoma, Arial, sans-serif; color: var(--ink); background: var(--bg); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
a { color: var(--brand); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.hidden { display: none !important; }
.row { display: flex; gap: 12px; align-items: center; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.mono { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }

/* buttons and fields */
.btn { border: 1px solid var(--brand); background: var(--brand); color: #fff; border-radius: 8px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.btn:hover { background: var(--brand-600); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: #fff; color: var(--brand); }
.btn.ghost:hover { background: var(--brand-50); }
.btn.danger { background: #fff; color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.small { padding: 4px 10px; font-size: 12px; }
input[type=text], input[type=email], input[type=search], input[type=number], select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: #fff; line-height: 1.7; min-height: 42px; }
/* Arabic glyphs sit higher and lower than Latin ones: give placeholders the same room so they are never clipped. */
input::placeholder, textarea::placeholder { line-height: 1.7; color: #9290aa; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .tab:focus-visible, .persona:focus-visible, .role:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.field { min-width: 0; }

/* chips */
.chip { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); white-space: nowrap; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cf; }
.chip.warn { background: var(--warn-bg); color: var(--warn); border-color: #f1d9a3; }
.chip.bad { background: var(--bad-bg); color: var(--bad); border-color: #f2c4c0; }
.chip.neutral { background: #eeedf6; color: var(--muted); border-color: var(--line); }

/* cards and tables */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.card h2 { font-size: 16px; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: #fafafd; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--brand-50); }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.banner { border-radius: 8px; padding: 10px 14px; background: var(--warn-bg); color: var(--warn); border: 1px solid #f1d9a3; }
.banner.bad { background: var(--bad-bg); color: var(--bad); border-color: #f2c4c0; }
.banner.ok { background: var(--ok-bg); color: var(--ok); border-color: #bfe3cf; }

/* top bar and layout */
.topbar { background: linear-gradient(90deg, var(--brand-ink), var(--brand) 60%, var(--brand-600)); color: #fff; display: flex; align-items: center; gap: 16px; padding: 12px 24px; box-shadow: 0 2px 12px rgba(11, 1, 70, .25); }
.topbar .brand { font-weight: 700; letter-spacing: .02em; display: flex; align-items: center; gap: 12px; }
.topbar .logo { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 6px 14px rgba(0, 0, 0, .35); }
.wm { display: flex; flex-direction: column; line-height: 1.1; }
.wm b { font-size: 22px; letter-spacing: .01em; }
.wm span { font-size: 12px; font-weight: 500; opacity: .8; letter-spacing: .06em; }
.topbar .who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: none; }
.topbar .avatar { background: #fff; color: var(--brand); }
.topbar .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.topbar .btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.logo { width: 28px; height: 28px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lang button { border: 0; background: #fff; padding: 4px 10px; cursor: pointer; font-size: 12px; color: var(--ink); }
.lang button.on { background: var(--brand-dark); color: #fff; font-weight: 700; }
.topbar .lang { border-color: rgba(255, 255, 255, .5); }
.page { max-width: 1180px; margin: 0 auto; padding: 24px; }
.layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; max-width: 1320px; margin: 0 auto; padding: 24px; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav button { text-align: start; border: 0; background: transparent; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.nav button:hover { background: var(--brand-50); }
.nav button.on { background: var(--brand); color: #fff; }
.nav .count { margin-inline-start: auto; background: var(--brand-100); color: var(--brand); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.nav button.on .count { background: #fff; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tab { border: 0; background: transparent; padding: 10px 16px; cursor: pointer; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.tab.on { color: var(--brand); border-bottom-color: var(--brand); }
.main-tabs { margin-bottom: 12px; }
.main-tabs .tab { font-size: 15px; padding: 12px 20px; display: inline-flex; align-items: center; gap: 8px; }
.main-tabs .count { background: var(--accent); color: #fff; border-radius: 999px; padding: 0 8px; font-size: 12px; font-weight: 700; line-height: 20px; }
.empty-state { background: radial-gradient(ellipse at 50% 0%, var(--brand-50), #fff 65%); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 56px 24px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
/* the brand tone: a purple tile with a white line icon and a gold spark, like the logo */
.es-icon.brand { position: relative; border-radius: 26px; width: 84px; height: 84px; color: #fff; background: linear-gradient(135deg, #3a26c9, #12026e);
  box-shadow: 0 14px 30px rgba(27, 3, 163, .28), 0 0 0 10px rgba(27, 3, 163, .05); transform: rotate(-4deg); }
.es-icon.brand svg { width: 40px; height: 40px; transform: rotate(4deg); }
.es-icon.brand::after { content: ''; position: absolute; top: -6px; inset-inline-end: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; }
.empty-state .row .btn { min-width: 132px; padding: 10px 18px; }
.es-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; box-shadow: 0 0 0 10px rgba(29, 122, 70, .06); }
.es-icon.neutral { background: var(--brand-50); color: var(--brand); box-shadow: 0 0 0 10px rgba(27, 3, 163, .05); }
.es-icon svg { width: 38px; height: 38px; }
.empty-state h3 { font-size: 21px; color: var(--brand-ink); }
.empty-state p { margin: 0; color: var(--muted); max-width: 460px; font-size: 15px; }
/* the candidate's status: one tile per stage, its name small above the result, coloured by outcome */
.stage-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stage-tile { background: #fff; border: 1px solid var(--line); border-inline-start: 5px solid var(--muted); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.stage-tile .lab { font-size: 12px; color: var(--muted); font-weight: 600; }
.stage-tile b { font-size: 16px; }
.stage-tile.ok { border-inline-start-color: var(--ok); } .stage-tile.ok b { color: var(--ok); }
.stage-tile.warn { border-inline-start-color: var(--accent); } .stage-tile.warn b { color: var(--warn); }
.stage-tile.bad { border-inline-start-color: var(--bad); } .stage-tile.bad b { color: var(--bad); }
/* "Show candidate" */
.cand-btn { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 12px; }
.cand-btn svg { width: 16px; height: 16px; }
.cand-btn .mono { opacity: .7; font-size: 11px; }
/* evidence timeline */
.ev-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 12px; }
.ev-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; }
.ev-stage { font-size: 17px; font-weight: 700; color: var(--brand-ink); }
.ev-ver { font-size: 12px; color: var(--muted); font-family: ui-monospace, Consolas, monospace; }
.ev-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 12px; color: var(--muted); text-align: end; }
.rule-id { display: inline-block; min-width: 30px; font: 700 12px ui-monospace, Consolas, monospace; color: var(--brand); background: var(--brand-50); border-radius: 6px; padding: 1px 6px; text-align: center; }
details.more { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 10px; padding: 10px 14px; }
details.more > summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 13px; border-radius: 6px; outline: none; }
details.more > summary:focus-visible { box-shadow: 0 0 0 2px var(--brand); }
details.more[open] > summary { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--brand-100); border-radius: 0; }
/* Evidence lines are often English inside an Arabic page: indent both sides so the bullets stay inside the box either way. */
details.more .evlist, .appr .evlist { padding-inline: 22px; }
details.more .evlist li { line-height: 1.5; }
/* approval history */
.hist { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; display: flex; gap: 14px; align-items: flex-start; }
.hist-title { font-size: 16px; font-weight: 700; color: var(--brand-ink); }
.hist-comment { margin-top: 6px; color: var(--muted); font-style: italic; }
/* careers: the job card beside the application form */
.apply-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
.job { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.job-hero { color: #fff; padding: 26px 26px 22px; background: radial-gradient(circle at 90% 0%, rgba(61, 219, 176, .16), transparent 42%), linear-gradient(135deg, #2a14c0, #12026e); }
.job-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.job-eyebrow .mono { font-size: 12px; }
.job-hero h1 { font-size: 28px; margin-top: 6px; }
.job-unit { opacity: .85; margin-top: 2px; font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.fact { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 10px 12px; }
.fact-ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: #3DDBB0; background: rgba(61, 219, 176, .16); box-shadow: inset 0 0 0 1px rgba(61, 219, 176, .35); }
.fact:nth-child(2) .fact-ic { color: #F5B950; background: rgba(245, 185, 80, .16); box-shadow: inset 0 0 0 1px rgba(245, 185, 80, .35); }
.fact:nth-child(3) .fact-ic { color: #a9b8ff; background: rgba(169, 184, 255, .16); box-shadow: inset 0 0 0 1px rgba(169, 184, 255, .35); }
.fact-ic svg { width: 20px; height: 20px; }
.fact b { display: block; font-size: 15px; }
.fact span { font-size: 12px; opacity: .8; }
.job-body { padding: 22px 26px 26px; display: grid; gap: 20px; }
.job-body h3 { font-size: 15px; color: var(--brand-ink); margin-bottom: 8px; }
.job-body p { margin: 0; color: var(--muted); line-height: 1.6; }
.checks, .docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checks li, .docs li { display: flex; align-items: center; gap: 10px; }
.ck, .dk { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.ck { color: var(--ok); background: var(--ok-bg); } .ck svg, .dk svg { width: 18px; height: 18px; }
.dk { color: var(--brand); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-100); }
.docs li .chip { margin-inline-start: auto; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li { display: flex; align-items: center; gap: 12px; position: relative; padding: 6px 0; }
.steps li + li::before { content: ''; position: absolute; inset-inline-start: 13px; top: -10px; height: 14px; border-inline-start: 2px dashed var(--brand-100); }
.step-n { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-50); color: var(--brand); border: 1px solid var(--brand-100); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.test { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #f8f8fc; }
.test b { display: block; font-size: 13px; } .test span { font-size: 12px; color: var(--muted); }
.apply-form { border-radius: 18px; padding: 22px; gap: 16px; }
.apply-form .kvgrid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.form-sec { font-size: 14px; color: var(--brand-ink); margin-top: 4px; }
.channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.channels .persona { padding: 14px; }
.channels .persona:has(input:checked) { border-color: var(--brand); background: var(--brand-50); box-shadow: 0 0 0 1px var(--brand); }
.submit-big { width: 100%; padding: 14px; font-size: 16px; border-radius: 12px; }
@media (max-width: 960px) { .apply-grid { grid-template-columns: 1fr; } .channels { grid-template-columns: 1fr; } }
/* filter bar: segmented buttons with counts, and a search box */
.filterbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.segs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; box-shadow: var(--shadow); }
.seg { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.seg:hover { background: var(--brand-50); color: var(--brand); }
.seg.on { background: var(--brand); color: #fff; }
.seg .n { font-size: 12px; background: var(--brand-50); color: var(--brand); border-radius: 999px; padding: 0 8px; line-height: 20px; }
.seg.on .n { background: rgba(255, 255, 255, .2); color: #fff; }
/* first-load splash */
.splash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff;
  background: radial-gradient(circle at 50% 40%, var(--brand-600), var(--brand-ink) 70%); transition: opacity .35s ease, visibility .35s; }
.splash.gone { opacity: 0; visibility: hidden; }
.splash img { width: 108px; height: 108px; padding: 10px; border-radius: 30px; background: rgba(255, 255, 255, .14); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); animation: splash-pop .6s ease-out both, splash-float 2.4s ease-in-out .6s infinite; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.splash-name { font-size: 30px; font-weight: 700; letter-spacing: .02em; }
.splash-msg { font-size: 14px; opacity: .8; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splash-pop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes splash-float { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .splash img, .spinner { animation: none; } }
.empty-state.compact { padding: 32px 20px; }
.empty-state.compact .es-icon { width: 60px; height: 60px; box-shadow: none; }
.empty-state.compact .es-icon svg { width: 30px; height: 30px; }
.es-icon.warn { background: var(--warn-bg); color: var(--warn); box-shadow: 0 0 0 10px rgba(154, 98, 0, .05); }

/* sign-in */
body.login { min-height: 100vh; background: var(--brand-dark); display: flex; align-items: center; justify-content: center; padding: 24px; }
.login-card { width: 100%; max-width: 440px; background: #fff; border-radius: 12px; border-top: 5px solid var(--brand); padding: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.login-card .head { text-align: center; margin: 4px 0 20px; }
.login-card .head .logo { width: 56px; height: 56px; }
.login-card h1 { font-size: 22px; color: var(--brand-ink); margin-top: 8px; }
.login-card .sub { letter-spacing: .12em; font-size: 12px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.role { border: 1px solid var(--line); background: #f8f8fc; border-radius: 10px; padding: 18px 14px; cursor: pointer; text-align: center; }
.role:hover { border-color: var(--brand); background: var(--brand-50); }
.role .avatar { margin: 0 auto 8px; width: 44px; height: 44px; }
.role b { display: block; }
.persona-list { display: flex; flex-direction: column; gap: 8px; max-height: 56vh; overflow: auto; padding: 2px; }
.persona { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); background: #f8f8fc; border-radius: 10px; padding: 10px 12px; cursor: pointer; text-align: start; width: 100%; }
.persona:hover { border-color: var(--brand); background: var(--brand-50); }
.persona .t { font-weight: 600; }
.persona .s { font-size: 12px; color: var(--muted); }
.foot { text-align: center; font-size: 12px; color: var(--muted); margin-top: 18px; }
.back { background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0; margin-bottom: 12px; font-weight: 600; }

/* inbox, drawer, timeline */
.item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 14px; display: grid; gap: 10px; }
.item.sel { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.item .title { font-weight: 700; }
.bulkbar { position: sticky; bottom: 12px; background: var(--brand-dark); color: #fff; border-radius: 10px; padding: 10px 14px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.drawer-bg { position: fixed; inset: 0; background: rgba(11, 1, 70, .35); z-index: 40; }
.drawer { position: fixed; inset-block: 0; inset-inline-end: 0; width: min(760px, 100%); background: var(--bg); z-index: 41; overflow: auto; padding: 20px; box-shadow: -8px 0 30px rgba(0, 0, 0, .2); }
[dir=rtl] .drawer { box-shadow: 8px 0 30px rgba(0, 0, 0, .2); }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.tl { border-inline-start: 2px solid var(--brand-100); padding-inline-start: 16px; display: flex; flex-direction: column; gap: 14px; margin-inline-start: 6px; }
.tl .ev { position: relative; }
.tl .ev::before { content: ''; position: absolute; inset-inline-start: -23px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
pre.doc { white-space: pre-wrap; background: #fff; border: 1px dashed var(--line); border-radius: 8px; padding: 12px; font: 12px/1.6 ui-monospace, Consolas, monospace; direction: ltr; text-align: start; margin: 8px 0 0; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.test-note { border: 1px dashed var(--brand); background: var(--brand-50); border-radius: 8px; padding: 8px 12px; font-size: 12px; color: var(--brand); }
.bar { height: 8px; border-radius: 999px; background: var(--brand-100); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--brand); }
/* approvals: one card per decision, written for the person deciding */
.inbox-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.inbox-head h2 { font-size: 22px; color: var(--brand-ink); }
.inbox-head .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-bg); }
.appr { background: #fff; border: 1px solid var(--line); border-inline-start: 6px solid var(--accent); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.appr.sel { box-shadow: 0 0 0 2px var(--brand); }
.appr-head { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px 10px; }
.appr-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.appr-icon svg { width: 26px; height: 26px; }
.appr-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.appr-title { font-size: 19px; font-weight: 700; color: var(--brand-ink); margin-top: 2px; }
.appr-who { margin-top: 4px; font-size: 15px; }
.appr-who b { color: var(--ink); }
.appr-meta { margin-inline-start: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: end; font-size: 12px; color: var(--muted); white-space: nowrap; }
.appr-body { padding: 4px 20px 16px; display: grid; gap: 14px; }
.appr-sec { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.kvgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 20px; background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 10px; padding: 12px 14px; }
.kvgrid .k { font-size: 12px; color: var(--muted); }
.kvgrid .v { font-weight: 600; overflow-wrap: anywhere; }
.evlist { margin: 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.appr-why { color: var(--muted); font-size: 13px; }
.appr-foot { background: #f8f8fc; border-top: 1px solid var(--line); padding: 12px 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.appr-foot input { flex: 1; min-width: 220px; }
.btn.go { background: var(--ok); border-color: var(--ok); padding: 10px 24px; font-size: 15px; }
.btn.go:hover { background: #17633a; }
.btn.stop { background: #fff; color: var(--bad); border-color: var(--bad); padding: 10px 20px; font-size: 15px; }
.btn.stop:hover { background: var(--bad-bg); }
.appr-note { font-size: 13px; color: var(--warn); background: var(--warn-bg); border: 1px solid #f1d9a3; border-radius: 8px; padding: 8px 12px; flex-basis: 100%; }
.appr details { padding: 0 20px 12px; }
@media (max-width: 860px) { .layout { grid-template-columns: 1fr; } .nav { flex-direction: row; overflow: auto; } .kv { grid-template-columns: 1fr; } }
