:root {
  --blue: #3964D4;
  --blue-h: #2c51b5;
  --dark: #232325;
  --light: #F2F7FC;
  --muted: #C7D2E9;
  --gray: #676C79;
  --footer: #222325;
  --footer-text: #9DA8C8;
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17181b; --card: #1f2024; --dark: #EEF1F6; --light: #1b1e25;
    --muted: #343a48; --gray: #A3ABB8; --blue: #6d8ff0; --blue-h: #89a5f5; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #17181b; --card: #1f2024; --dark: #EEF1F6; --light: #1b1e25;
    --muted: #343a48; --gray: #A3ABB8; --blue: #6d8ff0; --blue-h: #89a5f5; color-scheme: dark; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--dark); font-family: Raleway, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.proto { background: #FFF4D6; color: #6b5200; font-size: 13px; text-align: center; padding: 6px 16px; }

body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.logo svg { height: 22px; width: auto; display: block; }
.nav-links { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--gray); }
.nav-links a:hover { color: var(--blue); }
@media (min-width: 900px) { .nav-links { display: flex; } }
/* 7 items in the Russian menu: tighter between 900 and 1100 px so the header fits */
@media (min-width: 900px) and (max-width: 1099px) { .nav-links { gap: 14px; font-size: 14px; } }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; color: var(--gray); }
.lang b { color: var(--dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 8px; text-decoration: none; border: 2px solid var(--blue); transition: background .15s, color .15s; white-space: nowrap; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-h); border-color: var(--blue-h); }
.btn-ghost { color: var(--blue); background: transparent; }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* hero */
.hero { padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 900px) { .hero { padding-top: 88px; padding-bottom: 56px; } }
.eyebrow { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; max-width: 14ch; }
h1 em { font-style: normal; color: var(--blue); }
.lead { margin-top: 20px; font-size: clamp(17px, 2vw, 20px); color: var(--gray); max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* reasons */
.reasons { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 820px) { .reasons { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.reason { background: var(--light); border-radius: 14px; padding: 24px; }
.reason .num { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--blue); }
.reason h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; line-height: 1.3; }
.reason p { color: var(--gray); font-size: 15px; }

section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 72px 0; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.sec-head a { color: var(--blue); font-weight: 600; text-decoration: none; font-size: 15px; }
.sec-head a:hover { text-decoration: underline; }
.alt { background: var(--light); }

/* roles */
.roles { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .roles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .roles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .roles { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .role.other { grid-column: span 3; } }
.role { display: block; text-decoration: none; background: var(--card); border: 1px solid color-mix(in srgb, var(--muted) 60%, transparent); border-radius: 12px; padding: 18px 20px; transition: border-color .15s, transform .15s; }
.role:hover { border-color: var(--blue); transform: translateY(-2px); }
.role .name { font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; gap: 8px; }
.role .name::after { content: "→"; color: var(--blue); opacity: 0; transition: opacity .15s; }
.role:hover .name::after { opacity: 1; }
.role p { color: var(--gray); font-size: 14px; margin-top: 4px; }
.role.other { background: transparent; border-style: dashed; border-color: var(--blue); }
.role.other .name { color: var(--blue); }

/* fork */
.fork { display: grid; gap: 16px; }
@media (min-width: 820px) { .fork { grid-template-columns: 1fr 1fr; gap: 24px; } }
.fork-card { border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.fork-card h3 { font-size: 22px; font-weight: 700; }
.fork-card p { font-size: 15px; flex: 1; }
.fork-company { background: #232325; color: #fff; }
.fork-company p { color: #9DA8C8; }
.fork-candidate { background: var(--card); border: 1px solid var(--muted); }
.fork-candidate p { color: var(--gray); }

/* logos */
.logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; padding-top: 8px; }
.logos .label { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin-right: 8px; }
.logos .logo-word { font-weight: 800; font-size: 20px; color: color-mix(in srgb, var(--dark) 55%, transparent); letter-spacing: -.01em; }
.logos .logo-slot { width: 96px; height: 28px; border-radius: 6px; background: color-mix(in srgb, var(--muted) 45%, transparent); }

/* cases */
.cases { display: grid; gap: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.case { background: var(--card); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); text-decoration: none; }
.case:hover { border-color: var(--blue); }
.case .client { font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--blue); }
.case h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.case .metric { font-size: 28px; font-weight: 800; letter-spacing: -.01em; margin-top: auto; padding-top: 8px; }
.case p { color: var(--gray); font-size: 14px; }
.quote { margin: 28px 0 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 600; max-width: 46ch; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 14px; font-weight: 500; color: var(--gray); }

/* insights */
.insights { display: grid; gap: 0; border-top: 1px solid var(--muted); }
.insights a { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--muted); text-decoration: none; font-weight: 600; font-size: 17px; }
.insights a span { color: var(--gray); font-weight: 500; font-size: 13px; white-space: nowrap; }
.insights a:hover { color: var(--blue); }

/* final cta */
.final { background: var(--blue); color: #fff; border-radius: 18px; padding: 40px 28px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.final h2 { color: #fff; max-width: 22ch; }
.final .btn { background: #fff; color: #3964D4; border-color: #fff; }
.final .btn:hover { background: transparent; color: #fff; }
.final[data-form] { cursor: pointer; }

footer { background: var(--footer); color: var(--footer-text); padding: 40px 0; font-size: 14px; margin-top: 56px; }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* inner pages */
.page-head { padding-top: 48px; padding-bottom: 32px; }
@media (min-width: 900px) { .page-head { padding-top: 72px; padding-bottom: 40px; } }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); max-width: 22ch; text-wrap: balance; }
.page-head .lead { margin-top: 16px; }
.crumbs { font-size: 14px; color: var(--gray); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.group-title { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray); margin: 40px 0 16px; }
.group-title:first-child { margin-top: 0; }
.case .tag { font-size: 13px; color: var(--gray); margin-top: auto; padding-top: 8px; }

.article { padding-bottom: 24px; }
.prose { max-width: 720px; font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin-top: 48px; text-wrap: balance; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 32px; line-height: 1.35; text-wrap: balance; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); }
.prose blockquote { margin: 0; margin-top: 24px; padding: 20px 24px; background: var(--light); border-radius: 14px; font-size: 17px; }
.prose blockquote p + p { margin-top: 10px; }
.prose blockquote .who { color: var(--gray); font-size: 14px; font-weight: 600; }
.prose figure { margin: 0; margin-top: 24px; }
.prose figure img { border-radius: 12px; border: 1px solid color-mix(in srgb, var(--muted) 60%, transparent); }
.prose figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--muted); border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--muted); vertical-align: top; }
.prose th { background: var(--light); font-weight: 700; }
.prose tr:last-child td { border-bottom: 0; }
.source-note { margin-top: 40px; font-size: 14px; color: var(--gray); max-width: 720px; }
.source-note a { color: var(--blue); }

/* team */
.team-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .team-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.person { background: var(--card); border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.person img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; margin-bottom: 8px; }
.person h3 { font-size: 18px; font-weight: 700; }
.person .role-line { color: var(--blue); font-size: 14px; font-weight: 600; }
.person p:last-child { color: var(--gray); font-size: 14px; line-height: 1.6; }

/* faq */
.faq { border-top: 1px solid var(--muted); }
.faq details { border-bottom: 1px solid var(--muted); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; font-weight: 400; color: var(--blue); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--gray); max-width: 70ch; }
.faq summary:hover { color: var(--blue); }

/* client logos: one monochrome look, light in dark mode */
.logos .logo-img { height: 26px; width: auto; max-width: 140px; object-fit: contain; filter: grayscale(1) brightness(0); opacity: .55; transition: opacity .15s; }
.logos .logo-img:hover { opacity: .85; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logos .logo-img { filter: grayscale(1) brightness(0) invert(1); opacity: .7; } }
:root[data-theme="dark"] .logos .logo-img { filter: grayscale(1) brightness(0) invert(1); opacity: .7; }
.logos .logo-with-icon { display: inline-flex; align-items: center; gap: 8px; }
.logos .logo-icon { height: 22px; }

/* hero: two-line headline and a note under the main button */
h1.h1-two { max-width: 22ch; }
h1.h1-two em { white-space: nowrap; }
.cta-row { align-items: flex-start; }
.cta-main { display: flex; flex-direction: column; gap: 8px; }
.cta-note { font-size: 13px; color: var(--gray); padding-left: 4px; }

/* roles by client situation */
.needs { display: grid; gap: 16px; }
@media (min-width: 900px) { .needs { grid-template-columns: repeat(3, 1fr); gap: 20px; } .need-main { grid-column: 1 / -1; } }
.need { background: var(--card); border: 1px solid color-mix(in srgb, var(--muted) 60%, transparent); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.need-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.need h3 { font-size: 20px; font-weight: 700; line-height: 1.3; text-wrap: balance; }
.need p:not(.need-label) { color: var(--gray); font-size: 15px; }
.need .tags { padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--blue) 45%, transparent); color: var(--blue); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.tag:hover { background: var(--blue); color: #fff; }
.need-main { background: #3964D4; border-color: #3964D4; padding: 32px; }
.need-main .need-label { color: rgba(255,255,255,.9); }
.need-main h3 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); max-width: 30ch; }
.need-main p:not(.need-label) { color: #fff; font-size: 16px; max-width: 70ch; }
.need-main .tag { color: #fff; border-color: rgba(255,255,255,.6); }
.need-main .tag:hover { background: #fff; color: #3964D4; }
.also { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 15px; color: var(--gray); }
.also .sep { color: var(--muted); }
.also-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.also-link:hover { text-decoration: underline; }

.faq mark.todo { background: #FFF4D6; color: #6b5200; padding: 0 3px; border-radius: 3px; }
.faq details p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.prose mark.todo { background: #FFF4D6; color: #6b5200; padding: 0 3px; border-radius: 3px; }
.need p.need-more { font-size: 14px; color: color-mix(in srgb, var(--dark) 72%, transparent); margin-top: 6px; }
.need-more a { color: var(--blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.need-main p.need-more { color: rgba(255,255,255,.85); }
.need-main .need-more a { color: #fff; }
.tag-pair span { font-weight: 500; color: var(--gray); }
.tag-pair:hover span { color: inherit; }
.need-main .btn-white { align-self: flex-start; margin-top: 12px; background: #fff; color: #3964D4; border-color: #fff; }
.need-main .btn-white:hover { background: transparent; color: #fff; }
.tags-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tags-pairs .tag-pair { white-space: normal; border-radius: 12px; padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.tags-pairs .tag-pair span { font-size: 12px; }
@media (max-width: 380px) { .tags-pairs { grid-template-columns: 1fr; } }
.need-more a.inline { font-weight: 500; }

/* ---------- article covers: magazine posters, rules in «06 Обложки статей — правила.md» ---------- */
.cover { --k: 1; container-type: inline-size; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cover p { margin: 0; }
.cover.bg-blue  { background: #3964D4; color: #fff; --title: #fff; }
.cover.bg-dark  { background: #232325; color: #fff; --title: #F95D51; }
.cover.bg-cream { background: #FAF9F5; color: #232325; --title: #3964D4; --logo: #3964D4; }
.cover.bg-light { background: #F2F7FC; color: #232325; --title: #232325; --logo: #3964D4; }
/* headline colour, chosen per article from the pairs allowed for its background */
.cover.tc-white { --title: #fff; }
.cover.tc-coral { --title: #F95D51; }
.cover.tc-blue  { --title: #3964D4; }
.cover.tc-dark  { --title: #232325; }
.cv-mast { position: absolute; z-index: 5; left: 6%; right: 6%; top: 5.5%; display: flex; justify-content: space-between; align-items: flex-start;
  font-family: "IBM Plex Mono", monospace; font-size: calc(3.1cqi * var(--k)); letter-spacing: .1em; text-transform: uppercase; }
.cv-logo svg { display: block; height: calc(4.4cqi * var(--k)); width: auto; }
.cover .cv-logo .st0 { fill: var(--logo, currentColor); }
/* rubric on top, the article date under it */
.cv-rubric { text-align: right; white-space: nowrap; }
.cv-rubric small { display: block; font-size: 1em; margin-top: .35em; opacity: .75; }
.cover .cv-kicker { color: inherit; position: absolute; z-index: 5; left: 6%; top: 22%; max-width: 72%; font-family: "IBM Plex Mono", monospace; font-size: calc(3cqi * var(--k));
  letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; opacity: .92; }
.cover .cv-kicker b { display: block; font-family: Raleway, sans-serif; font-size: calc(4.6cqi * var(--k)); font-weight: 700; letter-spacing: -.01em; text-transform: none; line-height: 1.15; margin-bottom: .2em; opacity: 1; }
.cover .cv-title { position: absolute; z-index: 4; left: 5%; bottom: 5%; color: var(--title); font-size: calc(var(--fs) * 1cqi * var(--k)); font-weight: 900; line-height: .86;
  letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }

/* guest's photo behind the headline: black-and-white, tinted by the background colour, fading out to the left */
.cv-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 38%); mask-image: linear-gradient(to right, transparent, #000 38%); }
.cv-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.08); }
.cover.bg-dark .cv-photo { mix-blend-mode: screen; }
.cover.bg-dark .cv-photo img { filter: grayscale(1) contrast(1.2) brightness(.62); }
.cv-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(35,35,37,.55), transparent 55%); }
.cover.bg-dark .cv-shade { background: linear-gradient(to top, rgba(35,35,37,.7), transparent 55%); }

/* in the list: the cover sits on top of the card */
.case.has-cover { overflow: hidden; }
.case.has-cover .cover { margin: -24px -24px 8px; }
/* in the article head: wider 16:9 version of the same composition */
.cover-hero { margin-top: 32px; max-width: 960px; }
.cover-hero .cover { --k: .75; aspect-ratio: 16 / 9; border-radius: 16px; }
.cover-hero .cv-photo { width: 54%; }
.cover-hero .cover .cv-kicker { top: 20%; max-width: 60%; }
.cover--hero .cv-kicker { max-width: 46%; }
.cover-hero .cover--hero .cv-kicker { max-width: 40%; }
@media (max-width: 600px) { .cover-hero .cover { --k: 1; aspect-ratio: 4 / 3; } .cover-hero .cv-photo { width: 64%; } .cover-hero .cover .cv-kicker { top: 22%; } }

/* theme switch in the header: moon in light mode, sun in dark mode */
:root[data-theme="light"] { color-scheme: light; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--muted) 70%, transparent); background: transparent; color: var(--gray); cursor: pointer; transition: color .15s, border-color .15s; }
.theme-toggle:hover { color: var(--blue); border-color: var(--blue); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-links a[aria-current="page"] { color: var(--dark); }
.lang { white-space: nowrap; }
@media (max-width: 420px) {
  .nav-right { gap: 10px; }
  .theme-toggle { width: 32px; height: 32px; }
  .nav-right .btn-sm { padding: 8px 12px; }
}
@media (max-width: 400px) {
  .nav { gap: 8px; }
  .logo svg { height: 15px; }
  .nav-right { gap: 6px; }
  .theme-toggle { width: 30px; height: 30px; }
  .lang { font-size: 12px; }
  .nav-right .btn-sm { padding: 6px 8px; font-size: 12.5px; }
}
/* narrow screens: role cards must not grow wider than the screen */
.needs > * { min-width: 0; }
.need .btn { white-space: normal; text-align: center; }
.tag { max-width: 100%; }

/* ---------- magazine articles (format: magazine), rules in «08 Формат статей.md» ---------- */
/* the reading sheet is always light, also in the dark theme */
.mag-sheet { --bg: #FFFFFF; --card: #FFFFFF; --dark: #232325; --light: #F2F7FC; --muted: #C7D2E9; --gray: #5d6370; --blue: #3964D4; --blue-h: #2c51b5;
  --coral: #F95D51; --green: #1f9d6b; color-scheme: light;
  background: var(--bg); color: var(--dark); padding: 56px 0 40px; margin-top: 40px; }
:root[data-theme="dark"] .mag-sheet { border-radius: 24px 24px 0 0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mag-sheet { border-radius: 24px 24px 0 0; } }
.mag-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.toc a { color: var(--gray); text-decoration: none; padding: 7px 0 7px 12px; border-left: 2px solid var(--muted); transition: color .15s, border-color .15s; }
.toc a:hover { color: var(--dark); }
.toc a.on { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.blk-label { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.toc .blk-label { margin-bottom: 8px; color: var(--gray); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; }

.prose.mag { max-width: 820px; font-size: 19px; line-height: 1.65; font-variant-numeric: lining-nums; }
.prose.mag > p, .prose.mag > ul, .prose.mag > h2, .prose.mag > h3, .prose.mag > blockquote { max-width: 680px; }
.prose.mag > * + * { margin-top: 22px; }
.prose.mag h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; margin-top: 80px; padding-top: 24px; border-top: 2px solid var(--dark); scroll-margin-top: 90px; }
.prose.mag h3 { font-size: 23px; font-weight: 700; margin-top: 44px; }
.prose.mag h2 + *, .prose.mag h3 + * { margin-top: 16px; }
.prose.mag a { color: var(--blue); text-underline-offset: 3px; }
.prose.mag em { font-style: normal; }

/* lead paragraph with a drop cap */
.lede p { font-size: 23px; line-height: 1.5; font-weight: 500; }
.lede.cap p:first-child::first-letter { float: left; font-size: 4.1em; line-height: .82; font-weight: 800; color: var(--blue); margin: .06em .1em 0 0; }

/* «Коротко»: what to take away */
.brief { background: var(--light); border-radius: 18px; padding: 28px 32px; }
.brief ol { margin: 0; padding: 0; list-style: none; counter-reset: b; display: grid; gap: 14px; }
.brief li { counter-increment: b; display: grid; grid-template-columns: 36px 1fr; font-size: 18px; line-height: 1.45; font-weight: 600; }
.brief li::before { content: counter(b, decimal-leading-zero); font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--blue); padding-top: 3px; }
.brief a { color: inherit; text-decoration-color: var(--muted); }

/* dossier card with the hero's photo */
.dossier { display: grid; grid-template-columns: 180px 1fr; gap: 28px; border: 1px solid var(--muted); border-radius: 18px; padding: 24px; align-items: start; }
.dossier img { width: 180px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.dossier dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: 16px; line-height: 1.5; }
.dossier dt { font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gray); padding-top: 4px; }
.dossier dd { margin: 0; }
.dossier.facts { grid-template-columns: 1fr; padding: 24px 28px; }
.dossier.facts dl { grid-template-columns: 160px 1fr; }

/* the hero's words: big pull quotes and short quotes in the text */
.prose.mag blockquote { background: none; border-radius: 0; padding: 8px 0 8px 32px; border-left: 4px solid var(--blue); margin-top: 40px; margin-bottom: 18px; position: relative; }
.prose.mag blockquote p { font-size: 23px; line-height: 1.45; font-weight: 600; }
.prose.mag blockquote p + p { margin-top: 14px; }
.prose.mag blockquote .who { font-size: 14px; font-weight: 500; color: var(--gray); margin-top: 18px; font-family: "IBM Plex Mono", monospace; letter-spacing: .02em; }
.prose.mag .say { padding-left: 20px; border-left: 2px solid var(--muted); color: #3a3d45; }

/* 🔥 hot take */
.hot-take { background: #232325; color: #fff; border-radius: 20px; padding: 36px 40px; }
.hot-take .blk-label { color: var(--coral); }
.prose.mag .hot-take h3 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.15; font-weight: 800; margin: 0 0 20px !important; color: #fff; }
.prose.mag .hot-take p { font-size: 18px; line-height: 1.6; color: #E4E7EE; max-width: 680px; }
.hot-take p + p { margin-top: 14px; }
.hot-take strong { color: #fff; }

/* cards: risks, red and green flags */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.cards-risk { grid-template-columns: 1fr; }
.cards-risk .card-item { display: grid; grid-template-columns: 220px 1fr; column-gap: 28px; border-top-width: 1px; border-left: 5px solid var(--blue); }
.cards-risk .card-item h4 { grid-row: span 9; }
.cards-risk .card-item p + p { margin-top: 10px; }
.card-item { border: 1px solid var(--muted); border-radius: 16px; padding: 22px 22px 24px; border-top: 5px solid var(--blue); font-size: 16px; line-height: 1.55; }
.cards-red .card-item { border-top-color: var(--coral); }
.cards-green .card-item { border-top-color: var(--green); }
.card-item h4 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; font-weight: 700; }
.card-item p + p { margin-top: 10px; }
.card-item .say { padding-left: 14px; border-left: 2px solid var(--muted); color: #3a3d45; font-weight: 500; }
.cards-red .card-item .say { border-left-color: color-mix(in srgb, var(--coral) 45%, transparent); }
.cards-green .card-item .say { border-left-color: color-mix(in srgb, var(--green) 45%, transparent); }

/* hiring steps and evaluation criteria */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; counter-reset: s; }
.steps li { position: relative; border: 2px solid var(--blue); border-radius: 14px; padding: 18px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.steps li span { display: block; font-family: "IBM Plex Mono", monospace; font-weight: 400; font-size: 12px; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.steps li span::before { content: "Шаг "; }
.steps li + li::before { content: "→"; position: absolute; left: -12px; top: 50%; transform: translate(-50%, -50%); color: var(--blue); font-weight: 400; }
.criteria { margin: 0; display: grid; grid-template-columns: minmax(180px, 260px) 1fr; border-top: 1px solid var(--muted); font-size: 16px; line-height: 1.5; }
.criteria dt, .criteria dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--muted); }
.criteria dt { font-weight: 700; padding-right: 20px; }
.criteria dd { color: #3a3d45; }

/* cases: the task, and the hiring manager's view hidden until clicked */
.case-task { background: var(--light); border-radius: 18px 18px 0 0; padding: 28px 32px; }
.case-task .blk-label { font-size: 13px; }
.prose.mag .case-task p { font-size: 19px; }
.case-task p + p { margin-top: 12px; }
.prose.mag .case-answer { margin-top: 0; border: 2px solid var(--light); border-top: 0; border-radius: 0 0 18px 18px; padding: 0 32px; }
.case-answer summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; color: var(--blue); font-size: 17px; }
.case-answer summary::-webkit-details-marker { display: none; }
.case-answer summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; margin-right: 12px; font-weight: 600; transition: transform .2s; }
.case-answer[open] summary::before { transform: rotate(45deg); }
.case-answer > p { padding-bottom: 24px; }

/* comment from NEWHR, promos and the reading list */
.comment { border-radius: 18px; padding: 28px 32px; background: color-mix(in srgb, var(--coral) 9%, #fff); }
.comment .blk-label { color: #c8473d; }
.prose.mag .comment blockquote { border: 0; padding: 0; margin: 0; }
.prose.mag .comment blockquote p { font-size: 18px; font-weight: 500; line-height: 1.6; }
.prose.mag .comment blockquote .who { margin-top: 14px; }
.promo, .more { border: 1px dashed var(--muted); border-radius: 16px; padding: 22px 26px; font-size: 16px; line-height: 1.55; }
.promo p + p, .more p + p, .more h3 + p { margin-top: 12px; }
.prose.mag .more h3 { margin: 0; font-size: 20px; }
.prose.mag .promo .btn, .prose.mag .more .btn { color: #fff; text-decoration: none; }

@media (max-width: 960px) {
  .mag-grid { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
}
@media (max-width: 600px) {
  .mag-sheet { padding-top: 36px; }
  .prose.mag { font-size: 18px; }
  .lede p { font-size: 20px; }
  .prose.mag blockquote { padding-left: 20px; }
  .prose.mag blockquote p { font-size: 20px; }
  .dossier { grid-template-columns: 1fr; }
  .dossier img { width: 120px; }
  .dossier dl, .dossier.facts dl { grid-template-columns: 1fr; gap: 2px; }
  .dossier dd { margin-bottom: 10px; }
  .hot-take, .brief, .case-task, .comment { padding: 24px 22px; }
  .prose.mag .case-answer { padding: 0 22px; }
  .steps li + li::before { content: none; }
  .criteria { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .cards-risk .card-item { grid-template-columns: 1fr; }
  .criteria dt { border-bottom: 0; padding-bottom: 2px; }
  .criteria dd { padding-top: 0; }
}

/* magazine: key figures, two columns, notes, checklists, author line */
.figures { border-top: 2px solid var(--dark); border-bottom: 1px solid var(--muted); padding: 18px 0 22px; }
.fig-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.fig-num { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05; font-weight: 800; letter-spacing: -.015em; color: var(--blue); margin-bottom: 8px !important; }
.fig-row p:not(.fig-num) { font-size: 15px; line-height: 1.45; color: var(--gray); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.split > div { border: 1px solid var(--muted); border-radius: 16px; padding: 22px 24px; font-size: 16px; line-height: 1.55; }
.split > div:first-child { border-top: 5px solid var(--green); }
.split > div:nth-child(2) { border-top: 5px solid var(--coral); }
.split > div > * + * { margin-top: 12px; }
.prose.mag .split h3 { margin: 0; font-size: 19px; }
.split ul { padding-left: 20px; display: grid; gap: 6px; }
.note { background: var(--light); border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; padding: 20px 26px; font-size: 17px; line-height: 1.6; }
.note > * + * { margin-top: 12px; }
.note ul { padding-left: 20px; display: grid; gap: 8px; }
.checklist ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-size: 14px; font-weight: 700; line-height: 1; }
.checklist > * + * { margin-top: 14px; }
.author { font-size: 15px; line-height: 1.55; color: var(--gray); border-top: 1px solid var(--muted); border-bottom: 1px solid var(--muted); padding: 14px 0; }
.author > * + * { margin-top: 8px; }
.author strong { color: var(--dark); }

/* editor's note at the top of статья.html in an article folder (never on the site) */
.editor-note { position: relative; z-index: 70; background: #FFF4D6; color: #3b3000; border-bottom: 1px solid #e6d29a; padding: 12px 20px 16px; font-size: 14px; line-height: 1.5; }
.editor-note summary { cursor: pointer; font-weight: 700; }
.editor-note p { margin: 8px 0 0; max-width: 900px; }
.editor-note table { margin-top: 8px; border-collapse: collapse; font-size: 13px; }
.editor-note td { padding: 3px 14px 3px 0; vertical-align: top; }
.editor-note td:first-child { font-weight: 600; }
.editor-note code { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: #6b5200; }

/* lead form: «Обсудить задачу» / «Discuss a hire» pop-up (assets/lead-form.js) */
.lead-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--card); color: var(--dark); box-shadow: 0 24px 64px rgba(0,0,0,.25); }
.lead-dialog::backdrop { background: rgba(20,22,28,.55); }
.lead-dialog [hidden] { display: none !important; }
.lead-form { position: relative; display: grid; gap: 16px; padding: 28px 24px 24px; }
@media (min-width: 600px) { .lead-form { padding: 36px 36px 32px; } }
.lead-form h2 { font-size: 26px; font-weight: 800; letter-spacing: -.01em; padding-right: 32px; }
.lead-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--light); color: var(--dark); font-size: 22px; line-height: 1; cursor: pointer; }
.lead-close:hover { color: var(--blue); }
.lead-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lead-field > span, .lead-field legend { font-size: 14px; font-weight: 600; color: var(--dark); padding: 0; margin-bottom: 6px; }
.lead-field > span { margin-bottom: 0; }
.lead-field b { color: var(--blue); margin-left: 2px; font-weight: 700; }
.lead-field input[type="text"], .lead-field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--dark); background: var(--bg); border: 1px solid var(--muted); border-radius: 10px; padding: 11px 14px; }
.lead-field textarea { resize: vertical; min-height: 92px; }
.lead-field input:focus, .lead-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.lead-field textarea::placeholder { color: var(--gray); opacity: .85; }
.lead-choice > div { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-chip { position: relative; cursor: pointer; }
.lead-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.lead-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--muted); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--dark); background: var(--bg); }
.lead-chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.lead-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.lead-send { justify-self: start; margin-top: 4px; }
.lead-status { font-size: 16px; font-weight: 600; }

/* magazine: hiring funnel in cases */
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.funnel li { width: var(--w); min-width: min(100%, 260px); display: flex; align-items: baseline; gap: 14px; background: color-mix(in srgb, var(--blue) 10%, #fff); border-left: 4px solid var(--blue); border-radius: 0 12px 12px 0; padding: 14px 20px; font-size: 16px; line-height: 1.4; }
.funnel li:last-child { background: var(--blue); color: #fff; }
.funnel b { font-size: 28px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.funnel li:last-child b { color: #fff; }
@media (max-width: 600px) { .funnel li { width: 100%; } }
:lang(en) .steps li span::before { content: "Step "; }

/* continuity with the old newhr.org: role tag band, star markers, round plus */
.tagband { display: grid; gap: 12px; padding: 8px 0 72px; overflow: hidden; }
.tagrow { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tagtrack { display: flex; width: max-content; animation: tagmove 70s linear infinite; }
.tagrow.rev .tagtrack { animation-direction: reverse; }
.tagband:hover .tagtrack { animation-play-state: paused; }
.tagdup { display: flex; }
.ttag { flex: none; margin-right: 12px; padding: 9px 16px; border: 1px solid var(--muted); border-radius: 6px; font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--dark); text-decoration: none; background: var(--bg); white-space: nowrap; transition: border-color .15s, color .15s; }
.ttag:hover, .ttag:focus-visible { border-color: var(--blue); color: var(--blue); }
@keyframes tagmove { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tagtrack { animation: none; }
  .tagrow { overflow-x: auto; }
}

.reason .num .star { display: block; width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.reason .num.s1 { color: #6F8FE6; }
.reason .num.s2 { color: #9479E6; }
.reason .num.s3 { color: #4FC9CE; }

.faq summary { padding-right: 56px; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 22px; line-height: 1; font-weight: 400; top: 50%; right: 0; margin-top: -16px; transition: transform .2s, background .15s; }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq summary:hover::after { background: var(--blue-h); }
/* «Клиенты и отзывы» on the home pages, built by clients.py from Obsidian folder 20 */
#clients .logos { padding-top: 0; }
.logos-top { gap: 28px 52px; padding-bottom: 36px; border-bottom: 1px solid var(--muted); }
.logos-top .logo-img { height: 34px; max-width: 160px; opacity: .6; }
.logos-top .logo-word { font-size: 26px; }
.logos-top .logo-icon { height: 32px; }
.logos-rest { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 24px 28px; align-items: center; justify-items: center; margin-top: 32px; }
.logos-rest .logo-img { height: 22px; max-width: 118px; opacity: .45; }
.logos-rest .logo-word { font-size: 17px; }
.logos-rest .logo-icon { height: 18px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-rows: 1fr; gap: 20px; align-items: stretch; margin-top: 48px; }
.review { margin: 0; background: var(--card); border: 1px solid color-mix(in srgb, var(--muted) 50%, transparent); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review-logo { height: 22px; width: auto; max-width: 130px; object-fit: contain; object-position: left; filter: grayscale(1) brightness(0); opacity: .55; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .review-logo { filter: grayscale(1) brightness(0) invert(1); opacity: .7; } }
:root[data-theme="dark"] .review-logo { filter: grayscale(1) brightness(0) invert(1); opacity: .7; }
.review-head { margin: 0; font-weight: 700; font-size: 18px; line-height: 1.35; }
.review blockquote { margin: 0; font-size: 15px; }
.review blockquote p { margin: 0 0 10px; }
.review blockquote p:last-child { margin-bottom: 0; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--muted) 70%, transparent); font-size: 14px; color: var(--gray); }
.review figcaption b { color: var(--dark); font-weight: 700; }
@media (max-width: 600px) { .logos-top { gap: 22px 32px; } .logos-top .logo-img { height: 28px; max-width: 132px; } .logos-top .logo-word { font-size: 22px; } .logos-rest { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; } .logos-rest .logo-img { height: 20px; max-width: 96px; } }

/* Rubric and series buttons above the article list (rubrics: «10 Рубрики статей.md») */
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tag.on { background: var(--blue); color: #fff; }
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.eyebrow a:hover { border-bottom-color: currentColor; }

/* the client form right inside the blue banner at the end of each page (assets/lead-form.js) */
.final-inline { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; cursor: auto; }
@media (min-width: 900px) { .final-inline { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; padding: 48px; } }
.final-text { display: grid; gap: 20px; justify-items: start; }
.final-inline .final-text .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.final-inline .final-text .btn:hover { background: #fff; color: #3964D4; }
.final-form { background: var(--card); color: var(--dark); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.final-form [hidden] { display: none !important; }
.final-form .lead-form { padding: 24px; gap: 14px; }
@media (min-width: 600px) { .final-form .lead-form { padding: 28px; grid-template-columns: 1fr 1fr; } .final-form .lead-field:has(textarea), .final-form .lead-send, .final-form .lead-status, .final-form .lead-captcha { grid-column: 1 / -1; } }
.final-form .lead-send { background: var(--blue); color: #fff; border-color: var(--blue); }
.final-form .lead-send:hover { background: var(--blue-h); border-color: var(--blue-h); color: #fff; }
@media (min-width: 600px) { .final-form .lead-field:has(textarea) { order: 1; } .final-form .lead-captcha, .final-form .lead-send, .final-form .lead-status { order: 2; } }
.lead-consent { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.lead-consent input { margin-top: 3px; accent-color: var(--blue); }
.lead-consent > span { font-size: 13px; font-weight: 400; color: var(--gray); line-height: 1.45; }
.lead-consent a { color: inherit; text-decoration: underline; }
@media (min-width: 600px) { .final-form .lead-consent { grid-column: 1 / -1; order: 2; } }

.upload-page { padding-top: 64px; padding-bottom: 80px; }
.upload-hint { margin-top: 12px; font-size: 14px; color: var(--gray); }
.upload-form { margin-top: 32px; display: grid; gap: 16px; justify-items: start; max-width: 640px; }
.upload-form input[type=file] { width: 100%; padding: 40px 24px; border: 2px dashed var(--muted); border-radius: 14px; background: var(--light); font: inherit; color: var(--dark); cursor: pointer; }
.upload-status { font-size: 14px; color: var(--gray); }
.upload-result { margin-top: 24px; max-width: 640px; }
.upload-result ul { margin-top: 10px; padding-left: 20px; font-family: "IBM Plex Mono", monospace; font-size: 15px; }
.upload-result .upload-error { color: #C0392B; }
