/* Koffei: KDE Plasma Breeze palette with the Plasma purple accent, Inter (self-hosted), dark and light. */
@font-face { font-family: Inter; src: url("/assets/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root, :root[data-theme=light] {
  --win: #EFF0F1; --view: #FFFFFF; --header: #DEE0E2; --btn: #FCFCFC; --line: #C4C9CD; --soft: #F5F6F7;
  --text: #232629; --muted: #5D646B; --hl: #8E44AD; --hl-ink: #FFFFFF; --link: #7D3C98; --sel: #EFE3F5;
  --hi-bg: #FBE3E5; --hi-fg: #A3202D; --hi-line: #F0B8BE; --me-bg: #FDEBD8; --me-fg: #9A4A00; --me-line: #F2C79A;
  --lo-bg: #FBF3CC; --lo-fg: #6E5A00; --lo-line: #E8D98A; color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) {
  --win: #202326; --view: #141618; --header: #2A2E32; --btn: #292C30; --line: #3B4045; --soft: #1E2124;
  --text: #FCFCFC; --muted: #A1A9B1; --hl: #A24CC4; --hl-ink: #FFFFFF; --link: #C38BE0; --sel: #3A2546;
  --hi-bg: #3B1E22; --hi-fg: #FF8A93; --hi-line: #6B2B33; --me-bg: #3B2A14; --me-fg: #FFB066; --me-line: #6A4520;
  --lo-bg: #33301A; --lo-fg: #EBD67F; --lo-line: #5A5224; color-scheme: dark;
} }
:root[data-theme=dark] {
  --win: #202326; --view: #141618; --header: #2A2E32; --btn: #292C30; --line: #3B4045; --soft: #1E2124;
  --text: #FCFCFC; --muted: #A1A9B1; --hl: #A24CC4; --hl-ink: #FFFFFF; --link: #C38BE0; --sel: #3A2546;
  --hi-bg: #3B1E22; --hi-fg: #FF8A93; --hi-line: #6B2B33; --me-bg: #3B2A14; --me-fg: #FFB066; --me-line: #6A4520;
  --lo-bg: #33301A; --lo-fg: #EBD67F; --lo-line: #5A5224; color-scheme: dark;
}

* { box-sizing: border-box; }
/* Baselines: W3C Web Platform Design Principles (user needs first, privacy, works on any device and at any font size)
   and the Web Design & UX Standards (WCAG 2.1 AA, 16px base, 8px spacing scale, 44px touch targets, mobile-first). */
[hidden] { display: none !important; }
body { margin: 0; background: var(--win); color: var(--text); font: 1rem/1.6 Inter, system-ui, sans-serif; }
a { color: var(--link); text-decoration: none; } a:hover { text-decoration: underline; }
/* links inside running text are underlined, not told apart by colour alone (WCAG 1.4.1) */
main a:not(.chip):not(.btn):not(.row):not(.hm):not(.m-spoke):not(.g-node):not(.g-dot) { text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 1px; }
h1 { font-size: 2rem; line-height: 1.2; letter-spacing: -0.5px; margin: 0; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; } h3 { font-size: 1.0625rem; line-height: 1.375; margin: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 1600; padding: 8px 16px; background: var(--hl); color: var(--hl-ink); border-radius: 5px; }
.skip:focus { top: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
main { overflow-wrap: break-word; }  /* long CVSS vectors and URLs wrap instead of widening the page */
main.wrap > [data-pagefind-body] { display: flex; flex-direction: column; gap: 24px; }
main.wrap > [data-pagefind-body] > span:empty { display: none; }  /* search filter markers */
main.wrap { padding-top: 24px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 24px; }
.muted { color: var(--muted); } .small { font-size: 0.8125rem; }
.tnum { font-variant-numeric: tabular-nums; font-weight: 500; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* header and footer */
.top { background: var(--header); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 6px; }
/* phones first: brand, search and theme on one line, the menu below it on one line that scrolls sideways */
.nav { display: flex; gap: 2px; order: 3; flex: 1 0 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav a { display: flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 5px; color: var(--text); font-size: 0.875rem; white-space: nowrap; }
/* search and theme switch stay together as one group */
.tools { display: flex; gap: 8px; align-items: center; flex: 1 1 0; min-width: 0; }
.top form { display: flex; flex: 1 1 0; min-width: 0; } #hq { width: 100%; min-height: 40px; } .top .icon { width: 40px; min-height: 40px; }
@media (min-width: 768px) {
  .top .wrap { gap: 8px 16px; }
  .nav { order: 0; flex: 1 1 auto; flex-wrap: wrap; }
  .tools { flex: 0 0 auto; margin-left: auto; } .top form { flex: 0 1 auto; } #hq { width: 200px; }
}
/* touch screens keep 44 px targets */
@media (pointer: coarse) { .nav a, #hq, .top .icon, .field, .filters select { min-height: 44px; } .top .icon { width: 44px; } }
.nav a:hover { background: var(--btn); text-decoration: none; }
.nav a[aria-current] { background: var(--sel); box-shadow: inset 0 -2px 0 var(--hl); }
.foot { background: var(--header); border-top: 1px solid var(--line); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; font-size: 13px; color: var(--muted); }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 5px; border: 1px solid var(--line); background: var(--btn); color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.btn-pri { background: var(--hl); border-color: var(--hl); color: var(--hl-ink); font-weight: 600; }
.icon { width: 44px; padding: 0; }
.field { min-height: 44px; padding: 0 12px; border-radius: 5px; border: 1px solid var(--line); background: var(--view); color: var(--text); font: inherit; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 4px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--line); color: var(--text); background: var(--btn); white-space: nowrap; }
.chip.tag { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }  /* long actor tags wrap on phones */
a.chip:hover { text-decoration: none; border-color: var(--hl); }
.sev-red, .sev-high { background: var(--hi-bg); color: var(--hi-fg); border-color: var(--hi-line); }
.sev-orange, .sev-medium { background: var(--me-bg); color: var(--me-fg); border-color: var(--me-line); }
.sev-yellow, .sev-low { background: var(--lo-bg); color: var(--lo-fg); border-color: var(--lo-line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

/* blocks */
.card { background: var(--view); border: 1px solid var(--line); border-radius: 6px; padding: 16px; min-width: 0; }
@media (min-width: 768px) { .card { padding: 24px; } }
.cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.cols > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.cols > .side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat .tnum { font-size: 26px; font-weight: 700; display: block; }
/* key figures: always side by side, shrinking with the page */
.stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(6px, 1.4vw, 12px); }
.stats .card { padding: clamp(8px, 1.8vw, 16px); }
.stats .tnum { font-size: clamp(16px, 4vw, 24px); line-height: 1.2; overflow-wrap: anywhere; }
.stats .small { font-size: clamp(10.5px, 2.5vw, 13px); line-height: 1.3; display: block; }
.box { padding: 12px 14px; border-radius: 5px; border: 1px solid var(--hl); background: var(--sel); }
.box ul { margin: 6px 0 0; padding-left: 18px; }
.row { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 5px; background: var(--soft); border: 1px solid var(--line); color: var(--text); }
a.row:hover { text-decoration: none; border-color: var(--hl); }
.list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.alert { padding: 10px 12px; border-radius: 5px; background: var(--hi-bg); color: var(--hi-fg); border: 1px solid var(--hi-line); font-weight: 500; }
.mono { font-family: ui-monospace, monospace; font-size: 13px; overflow-wrap: anywhere; }

/* news items */
.item { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.item:first-of-type { border-top: 0; padding-top: 4px; }
.item .head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.item details summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.item details > div { padding-top: 6px; font-size: 14px; overflow-wrap: anywhere; }
audio { width: 100%; }

/* tables */
.scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.875rem; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom-width: 2px; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
/* CVE list: compact rows, no sideways scroll from 768 px up */
.cves th, .cves td { padding: 5px 8px; }
/* columns by position (the rows carry no classes or labels): 1 CVE, 2 Vendor, 3 App / OS, 4 Relevance, 5 Exploited, 6 CVSS, 7 EPSS, 8 KEV, 9 Scores */
.cves td:first-child { white-space: nowrap; } .cves td:first-child a { font-variant-numeric: tabular-nums; font-weight: 500; }
.cves .clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.cves .when { display: block; white-space: nowrap; color: var(--muted); font-size: 0.8125rem; font-variant-numeric: tabular-nums; font-weight: 500; }
.cves :is(th, td):is(:nth-child(6), :nth-child(7), :nth-child(9)) { text-align: right; font-variant-numeric: tabular-nums; }
.cves :is(th, td):nth-child(9) { display: none; white-space: nowrap; }
@media (min-width: 768px) and (max-width: 1099px) { .cves :is(th, td):is(:nth-child(6), :nth-child(7), :nth-child(8)) { display: none; } .cves :is(th, td):nth-child(9) { display: table-cell; } }
@media (max-width: 767px) {
  .cves td:nth-child(2)::before { content: "Vendor"; } .cves td:nth-child(3)::before { content: "App / OS"; } .cves td:nth-child(4)::before { content: "Relevance"; }
  .cves td:nth-child(5)::before { content: "Exploited"; } .cves td:nth-child(6)::before { content: "CVSS"; } .cves td:nth-child(7)::before { content: "EPSS"; }
  .cves td:nth-child(8)::before { content: "KEV"; }
  .cves td:nth-child(5) { justify-content: flex-end; gap: 8px; } .cves td:nth-child(5)::before { margin-right: auto; }  /* status and its date side by side, on the right */
}
/* phones: list tables become one card per row, each cell labelled (data-label) */
@media (max-width: 767px) {
  table.stack thead { display: none; }
  table.stack tr { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }
  table.stack td { display: flex; justify-content: space-between; gap: 16px; padding: 2px 4px; border: 0; text-align: right; }
  table.stack td::before { content: attr(data-label); flex: none; color: var(--muted); font-size: 0.75rem; text-align: left; }
  table.stack td:first-child { font-weight: 600; } table.stack td:first-child::before { content: none; }
  table.stack td:empty { display: none; }
}

/* search (Pagefind UI) */
.pagefind-ui { --pagefind-ui-scale: 0.9; --pagefind-ui-primary: var(--hl); --pagefind-ui-text: var(--text);
  --pagefind-ui-background: var(--view); --pagefind-ui-border: var(--line); --pagefind-ui-tag: var(--btn); --pagefind-ui-font: Inter, system-ui, sans-serif; }

/* list filters (filter.js) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px; }
.filters [data-q] { flex: 1 1 240px; min-width: 0; }
.filters select { flex: 1 1 140px; max-width: 100%; min-height: 40px; }
details.group { padding: 0; } details.group > summary { padding: 14px 18px; cursor: pointer; }
details.group > summary h2 { display: inline; margin: 0; font-size: 17px; }
details.group[open] > summary { border-bottom: 1px solid var(--line); }
details.group .scroll { padding: 0 8px 8px; }
/* phones: the map is a full-screen app, so it opens on its own page instead of a small frame that traps scrolling */
.map-phone { margin: 8px 0 0; } @media (max-width: 767px) { .map { display: none !important; } } @media (min-width: 768px) { .map-phone { display: none; } }
.map { display: block; width: 100%; height: 60vh; margin-top: 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--view); }

@media (min-width: 768px) { .map { height: min(720px, 78vh); } }

/* about page (the vault README) */
.prose { max-width: 900px; } .prose p, .prose li { max-width: 65ch; } .prose h1 { margin-bottom: 12px; } .prose h2 { margin-top: 22px; }
.prose .box { margin: 12px 0; } .prose hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.prose blockquote { margin: 12px 0; }

/* print: the content only */
@media print {
  .top, .foot, .filters, audio, .map, .skip, #theme { display: none !important; }
  body, .card { background: #fff; color: #000; border-color: #ccc; } a { color: #000; text-decoration: underline; }
  details { display: block; } details > * { display: block; }
}

/* news calendar: one square per day, darker for more items (GitHub-style) */
/* 18 px squares 6 px apart: each keeps the 24 px touch space WCAG 2.2 asks for */
.heatmap { overflow-wrap: normal; display: grid; grid-auto-columns: 18px; grid-template-rows: auto repeat(7, 18px); gap: 6px; width: max-content; font-size: 0.6875rem; color: var(--muted); }
.heatmap .wd { padding-right: 4px; line-height: 18px; }
.hm { display: block; width: 18px; height: 18px; border-radius: 2px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.hm.l1 { background: color-mix(in srgb, var(--hl) 30%, var(--view)); } .hm.l2 { background: color-mix(in srgb, var(--hl) 55%, var(--view)); }
.hm.l3 { background: color-mix(in srgb, var(--hl) 80%, var(--view)); } .hm.l4 { background: var(--hl); }
a.hm:hover, a.hm:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.legend { display: flex; align-items: center; gap: 3px 8px; margin-top: 8px; flex-wrap: wrap; } .legend .legend { gap: 3px; margin: 0; flex-wrap: nowrap; }

.day > .main { max-width: 860px; }
.daysec { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; }
.daysec h2 { margin: 16px 0 0; }
.item { background: var(--view); border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 6px; }
.item.lvl-red { border-left-color: var(--hi-fg); } .item.lvl-orange { border-left-color: var(--me-fg); } .item.lvl-yellow { border-left-color: var(--lo-fg); }
.item > summary { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; cursor: pointer; list-style: none; }
.item > summary::-webkit-details-marker { display: none; }
.item > summary .ttl { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.item > summary h3 { font-size: 1.0625rem; line-height: 1.35; }
.item[open] > summary { padding-bottom: 8px; }
.item .mark { flex: none; line-height: 1.5; }
.item .body { display: flex; flex-direction: column; gap: 8px; padding: 0 16px 14px 42px; }
.item .body p { margin: 0; max-width: 70ch; }
.item .lbl { display: inline-block; min-width: 44px; margin-right: 8px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.item .do { padding: 8px 12px; border-radius: 5px; background: var(--sel); }
.item .do .lbl { color: var(--link); }
.item .chip.added { border-color: var(--hl); color: var(--link); }
.item .earlier { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.item .src > summary { cursor: pointer; color: var(--muted); font-size: 0.8125rem; }
.item .src > div { padding-top: 6px; font-size: 0.875rem; overflow-wrap: anywhere; max-width: 75ch; }
.glance { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.day .filters { padding: 0; border: 0; }
.row.toc { flex-direction: row; justify-content: space-between; }
/* the side panel stays in view; when it is taller than the window it scrolls on its own, so its last card stays reachable */
@media (min-width: 992px) { .side.sticky { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }
/* phones: the side panel becomes a compact strip above the stories */
@media (max-width: 767px) {
  .item .body { padding-left: 16px; }
  .day .side { order: -1; gap: 8px; }
  .day .side .card { padding: 12px; } .day .side h2 { display: none; }
  .glance { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 8px; }
  .toc-card .list { flex-direction: row; overflow-x: auto; gap: 6px; scrollbar-width: none; }
  .toc-card .row.toc { white-space: nowrap; gap: 8px; padding: 8px 10px; }
  .named { display: none; }
}

/* actor initials, technique list, CVE timeline and vector */
.row.tech { flex-direction: row; gap: 10px; align-items: baseline; padding: 6px 10px; } .row.tech .tnum { flex: none; min-width: 72px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); } .timeline li:last-child { border-bottom: 0; }
.timeline li > .tnum { flex: none; min-width: 88px; } .timeline li > :not(.tnum) { min-width: 0; overflow-wrap: anywhere; }
.vector { padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--soft); margin: 12px 0 0; }
.sev-text-high { color: var(--hi-fg); } .sev-text-medium { color: var(--me-fg); }

/* touch screens: 44 px targets for controls, rows and fold-outs; chips get 32 px with 8 px spacing (WCAG 2.2 target spacing) */
@media (pointer: coarse) {
  .filters select, .field, .row.tech, .row.toc, .item .src > summary, details > summary { min-height: 44px; }
  .item .src > summary, .actor-more > summary { display: flex; align-items: center; }
  a.chip { min-height: 32px; } .chips, .earlier { gap: 8px; }
}

/* relationship graphs (static SVG) */
.graph { margin: 8px 0 0; } .graph svg { display: block; width: 100%; height: auto; font: 13px Inter, system-ui, sans-serif; }
.graph { overflow-x: auto; } .graph svg { margin: 0 auto; }
/* graph page: the picture fills a fixed frame; zoom and pan move inside it (graph.js) */
.graph.overview { height: min(78vh, 900px); border: 1px solid var(--line); border-radius: 6px; background: var(--soft); overflow: hidden; }
.graph.overview svg { width: 100%; height: 100%; cursor: grab; touch-action: none; user-select: none; } .graph.overview svg.dragging { cursor: grabbing; } .graph.overview svg a { cursor: pointer; }
.g-tools { margin-bottom: 8px; }
.g-edge { stroke: var(--muted); stroke-width: 1.5; } .g-edge.g-exploits { stroke: var(--hi-fg); stroke-width: 2; }
.g-edge.g-suspected { stroke: var(--hi-fg); stroke-dasharray: 6 5; } .g-edge.g-related { stroke: var(--hl); stroke-width: 2; }
.g-node rect { fill: var(--view); stroke: var(--line); stroke-width: 1.5; } .g-node text { fill: var(--text); }
.g-node.g-cve rect { stroke: var(--hi-line); } .g-node.g-actor rect { stroke: var(--hl); } .g-node.g-vendor rect { fill: var(--soft); }
.g-node.g-center rect { fill: var(--sel); stroke: var(--hl); stroke-width: 2.5; } .g-node.g-center text { font-weight: 700; }
a.g-node:hover rect, a.g-node:focus rect, a.g-dot:hover circle, a.g-dot:focus circle { stroke: var(--text); stroke-width: 2.5; }
.g-dot circle { fill: var(--hl); stroke: var(--view); stroke-width: 1.5; } .g-dot.g-cve circle { fill: var(--hi-fg); }
.g-dot text { fill: var(--text); font-size: 12px; paint-order: stroke; stroke: var(--view); stroke-width: 3px; }
.g-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 12px 0 0; }
.g-key { display: inline-block; width: 22px; height: 0; border-top: 2px solid var(--muted); margin-right: -4px; }
.g-key.g-exploits { border-color: var(--hi-fg); } .g-key.g-suspected { border-top-style: dashed; border-color: var(--hi-fg); } .g-key.g-related { border-color: var(--hl); }

/* actor header: small graph (country, CVEs, similar actors) left of the name; hover or focus a spoke to light it up */
.actor-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.actor-id { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mini { flex: 0 1 380px; width: 100%; max-width: 380px; height: auto; font: 11px Inter, system-ui, sans-serif; }
.mini .m-spoke { transition: opacity 0.2s; }
.mini:hover .m-spoke, .mini:focus-within .m-spoke { opacity: 0.35; }
.mini .m-spoke:hover, .mini .m-spoke:focus { opacity: 1; }
.mini .m-spoke rect { fill: var(--view); stroke: var(--line); stroke-width: 1.5; } .mini .m-spoke text { fill: var(--text); }
.mini .g-actor rect { stroke: var(--hl); } .mini .g-cve rect { stroke: var(--hi-line); } .mini .g-vendor rect { fill: var(--soft); stroke: var(--muted); }
.mini .m-spoke:hover rect, .mini .m-spoke:focus rect { stroke: var(--text); stroke-width: 2.5; } .mini .m-spoke:hover line { stroke-width: 3; }
.m-center { fill: var(--sel); stroke: var(--hl); stroke-width: 2; } .m-initials { fill: var(--link); font-size: 20px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .mini .m-spoke { transition: none; } }

/* feed request form (About) */
.request { display: flex; flex-direction: column; gap: 16px; }
.request label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; }
.request .two { display: grid; gap: 16px; } @media (min-width: 768px) { .request .two { grid-template-columns: 1fr 1fr; } }
.request fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 8px 16px 12px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.request legend { font-weight: 500; padding: 0 4px; }
.request label.check { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; min-height: 44px; }
.request input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--hl); flex: none; }
.request textarea { padding: 10px 12px; resize: vertical; }
.request input:focus-visible, .request textarea:focus-visible { outline: 3px solid var(--hl); outline-offset: 0; }
.item .chips.links { margin-top: -2px; }
