:root {
  --navy: #0c457f;
  --navy-deep: #062e59;
  --blue: #116dff;
  --cyan: #00e6e6;
  --magenta: #dc3d8d;
  --ink: #17243a;
  --muted: #667085;
  --line: #dce5ef;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --shadow: 0 18px 55px rgba(12, 69, 127, .13);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--surface-soft);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: linear-gradient(180deg, #eef5fb 0, #fff 420px); }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(0, 230, 230, .7); outline-offset: 3px; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(20px, 5vw, 78px); color: white; background: linear-gradient(110deg, var(--navy-deep), var(--navy)); box-shadow: 0 6px 22px rgba(6, 46, 89, .16); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: -.5px; }
.brand img { width: 126px; height: auto; }
.brand small { border-left: 1px solid rgba(255,255,255,.3); padding-left: 12px; color: rgba(255,255,255,.78); font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions button { color: white; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 9px 15px; }
.header-actions button:hover { border-color: var(--cyan); color: var(--cyan); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 48px; min-height: 610px; padding: 70px 0; }
.eyebrow { margin: 0 0 14px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.04em; }
h1 { max-width: 680px; font-size: clamp(42px, 6vw, 74px); color: var(--navy-deep); }
h1 span { color: var(--magenta); }
h2 { font-size: clamp(28px, 4vw, 42px); color: var(--navy-deep); }
h3 { font-size: 20px; }
.hero-copy p:not(.eyebrow) { max-width: 640px; color: #4b5b72; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { border: 0; border-radius: 999px; padding: 14px 21px; color: white; background: var(--navy); font-weight: 700; box-shadow: 0 8px 18px rgba(12,69,127,.16); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(12,69,127,.23); }
.btn.secondary { color: var(--navy); background: white; border: 1px solid var(--line); box-shadow: none; }
.btn.accent { background: linear-gradient(135deg, var(--blue), var(--magenta)); }
.btn.small { padding: 10px 15px; font-size: 13px; }
.btn:disabled { cursor: not-allowed; opacity: .48; transform: none; box-shadow: none; }
.hero-card { position: relative; min-height: 390px; padding: 34px; overflow: hidden; color: white; border-radius: 30px; background: linear-gradient(145deg, var(--navy) 0%, #1674ca 56%, var(--magenta) 160%); box-shadow: var(--shadow); }
.hero-card::after { content: ''; position: absolute; width: 250px; height: 250px; right: -100px; bottom: -100px; border: 40px solid rgba(0,230,230,.28); border-radius: 50%; }
.hero-card .orb { position: absolute; width: 90px; height: 90px; right: 46px; top: 36px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--cyan), var(--blue)); }
.hero-card h2 { position: relative; z-index: 1; max-width: 290px; margin-top: 112px; color: white; font-size: 30px; }
.hero-card p { position: relative; z-index: 1; max-width: 300px; color: rgba(255,255,255,.8); line-height: 1.55; }
.hero-card .stat { position: relative; z-index: 1; display: inline-flex; flex-direction: column; margin-top: 24px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; background: rgba(255,255,255,.12); }
.stat strong { font-size: 32px; }
.stat span { font-size: 12px; color: rgba(255,255,255,.76); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 12px 0 84px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 20px rgba(12,69,127,.05); }
.feature .icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 20px; color: var(--navy); border-radius: 12px; background: #e8f3ff; font-size: 20px; }
.feature p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.form-wrap { width: min(740px, 100%); margin: 58px auto 90px; }
.form-card, .question-card, .panel { padding: clamp(24px, 5vw, 44px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.form-card h1 { font-size: clamp(32px, 4vw, 48px); }
.form-card > p, .panel > p { color: var(--muted); line-height: 1.6; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: 13px; font-weight: 700; }
.field input { min-height: 48px; padding: 12px 14px; border: 1px solid #cdd9e6; border-radius: 12px; color: var(--ink); background: #fbfdff; }
.field input:focus { border-color: var(--blue); }
.checks { display: grid; gap: 12px; margin: 20px 0; }
.check { display: flex; align-items: flex-start; gap: 10px; color: #516076; font-size: 13px; line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.error { margin: 14px 0; padding: 12px 14px; border-left: 4px solid #c62853; border-radius: 10px; color: #851638; background: #fff0f4; }
.muted { color: var(--muted); }
.link-button { padding: 0; color: var(--blue); border: 0; background: transparent; text-decoration: underline; }
.intro { width: min(860px, 100%); margin: 64px auto 90px; }
.intro .panel { padding: clamp(28px, 6vw, 58px); }
.intro-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.intro-list div { padding: 17px; border-radius: 14px; background: #f4f8fc; }
.intro-list strong { display: block; color: var(--navy); font-size: 22px; }
.intro-list span { color: var(--muted); font-size: 12px; }
.assessment { width: min(1080px, 100%); margin: 26px auto 70px; }
.progress-meta { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 18px 0 10px; color: var(--muted); font-size: 13px; }
.progress { height: 9px; overflow: hidden; border-radius: 99px; background: #e5edf5; }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .3s ease; }
.assessment-layout { display: grid; grid-template-columns: 190px 1fr; gap: 22px; margin-top: 24px; }
.side-areas { display: grid; align-content: start; gap: 8px; }
.area-tab { padding: 12px; text-align: left; border: 1px solid transparent; border-radius: 12px; color: var(--muted); background: transparent; font-size: 12px; }
.area-tab.active { border-color: #bed5ee; color: var(--navy); background: #eaf4ff; font-weight: 700; }
.area-tab.done::after { content: '✓'; float: right; color: #118a68; }
.question-card { min-height: 540px; }
.question-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.area-pill, .code-pill, .status-pill, .band { display: inline-flex; align-items: center; width: fit-content; padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.area-pill { color: var(--blue); background: #edf5ff; }
.code-pill { color: var(--magenta); background: #fff1f7; }
.question-card h2 { max-width: 850px; font-size: clamp(24px, 3.1vw, 39px); line-height: 1.18; }
.definition { margin: 22px 0; padding: 15px 17px; border-left: 4px solid var(--cyan); border-radius: 10px; color: #516076; background: #f0fbfb; line-height: 1.6; }
.conditional { margin: 18px 0; padding: 16px; border: 1px solid #f4cf7b; border-radius: 12px; background: #fffaf0; }
.options { display: grid; gap: 10px; margin-top: 26px; }
.option { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; width: 100%; padding: 16px; text-align: left; border: 1px solid #d6e2ef; border-radius: 14px; color: var(--ink); background: white; transition: border .15s, background .15s, transform .15s; }
.option:hover { border-color: #9dc0e4; transform: translateY(-1px); }
.option.selected { border: 2px solid var(--blue); padding: 15px; background: #eff6ff; }
.option-letter { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--navy); background: #e7f0f9; font-weight: 700; }
.option.selected .option-letter { color: white; background: var(--blue); }
.option-text { line-height: 1.5; }
.question-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.save-state { color: #168a68; font-size: 12px; }
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; }
.review-stat { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfdff; }
.review-stat strong { display:block; color: var(--navy); font-size: 26px; }
.review-stat span { color: var(--muted); font-size: 12px; }
.review-areas { display: grid; gap: 10px; }
.review-area { display:flex; justify-content: space-between; gap:12px; padding: 14px 16px; border:1px solid var(--line); border-radius: 12px; }
.report { width: min(1180px, 100%); margin: 44px auto 90px; }
.report-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom: 24px; }
.report-head h1 { font-size: clamp(34px, 5vw, 58px); }
.score-overview { display:flex; align-items:center; gap:14px; text-align:right; }
.score-number { color: var(--blue); font-size: 46px; font-weight: 700; }
.score-overview small { display:block; color: var(--muted); }
.report-grid { display:grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.report-section { padding: 28px; border:1px solid var(--line); border-radius: 20px; background:white; box-shadow:0 8px 22px rgba(12,69,127,.05); }
.report-section h2 { font-size: 26px; margin-bottom: 15px; }
.report-section p { color:#506078; line-height:1.65; }
.band { color: #17415c; background: #edf2f7; }
.band.high { color:#9b1b35; background:#ffe9ee; }.band.medium { color:#95610a; background:#fff2cc; }.band.low { color:#346047; background:#e9f7ee; }.band.adjust { color:#135da1; background:#e5f2ff; }.band.keep { color:#0d6f62; background:#e5fbf5; }
.area-results { display:grid; gap: 12px; }
.area-result { display:grid; grid-template-columns: 1fr auto; gap: 8px; align-items:center; padding: 14px 0; border-bottom:1px solid #edf1f6; }.area-result:last-child { border-bottom:0; }
.area-result-name { font-weight:700; }.area-result-meta { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:12px; }.mini-bar { height:6px; margin-top:8px; overflow:hidden; border-radius:99px; background:#edf1f6; }.mini-bar span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,var(--blue),var(--cyan)); }
.priority-list { display:grid; gap:12px; padding:0; margin:0; list-style:none; }.priority-list li { padding:15px; border-left:4px solid var(--magenta); border-radius:10px; background:#fff6fa; }.priority-list strong { display:block; color:var(--navy); }.priority-list p { margin:6px 0 0; font-size:13px; }
.radar-wrap { display:flex; justify-content:center; }.radar-wrap svg { width:min(100%, 410px); height:auto; }.radar-grid { fill:none; stroke:#dce5ef; stroke-width:1; }.radar-axis { stroke:#dce5ef; stroke-width:1; }.radar-shape { fill:rgba(17,109,255,.22); stroke:var(--blue); stroke-width:3; }.radar-label { fill:var(--navy); font-size:10px; font-weight:700; }
.question-table { width:100%; border-collapse:collapse; font-size:12px; }.question-table th, .question-table td { padding:10px; text-align:left; border-bottom:1px solid #edf1f6; }.question-table th { color:var(--navy); background:#f3f7fb; }.question-table td:nth-child(2) { font-weight:700; }
.admin { width:min(1240px,100%); margin:44px auto 90px; }.metric-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin:24px 0; }.metric { padding:20px; border-radius:18px; color:white; background:linear-gradient(135deg,var(--navy),#1674ca); }.metric strong { display:block; font-size:32px; }.metric span { color:rgba(255,255,255,.75); font-size:12px; }.admin-table-wrap { overflow:auto; border:1px solid var(--line); border-radius:16px; background:#fff; }.admin-table { width:100%; min-width:830px; border-collapse:collapse; font-size:12px; }.admin-table th,.admin-table td { padding:14px; text-align:left; border-bottom:1px solid #edf1f6; }.admin-table th { color:var(--navy); background:#f3f7fb; }
.empty { padding:50px 20px; text-align:center; color:var(--muted); }.footer { padding:30px 20px 50px; color:#75839a; text-align:center; font-size:12px; }.toast { position:fixed; right:20px; bottom:20px; z-index:20; max-width:320px; padding:13px 16px; border-radius:12px; color:white; background:var(--navy-deep); box-shadow:var(--shadow); }
@media (max-width: 820px) { .hero, .report-grid, .assessment-layout { grid-template-columns:1fr; }.hero { padding-top:40px; }.hero-card { min-height:300px; }.hero-card h2 { margin-top:82px; }.feature-grid { grid-template-columns:1fr; }.form-grid, .intro-list, .review-grid, .metric-grid { grid-template-columns:1fr; }.side-areas { display:flex; overflow:auto; }.area-tab { min-width:120px; }.question-card { padding:22px; }.report-head { align-items:flex-start; flex-direction:column; }.score-overview { text-align:left; }.brand small { display:none; } }
@media (max-width: 520px) { .shell { width:min(100% - 28px, 1180px); }.site-header { padding:13px 14px; }.header-actions button { padding:8px 10px; font-size:12px; }.hero { min-height:auto; padding:42px 0 58px; }.hero-copy p:not(.eyebrow) { font-size:16px; }.hero-card { padding:24px; }.form-wrap, .intro, .assessment, .report, .admin { margin-top:28px; }.form-card, .panel, .report-section { padding:22px; }.question-actions { align-items:stretch; flex-direction:column-reverse; }.question-actions .btn { width:100%; }.question-top { align-items:flex-start; flex-direction:column; }.option { grid-template-columns:34px 1fr; padding:13px; }.option.selected { padding:12px; } }
@media print { .site-header, .footer, .hero-actions, .toast { display:none !important; } body { background:#fff; }.report { width:100%; margin:0; }.report-grid { grid-template-columns:1fr 1fr; }.report-section { box-shadow:none; break-inside:avoid; }.report-section[style] { grid-column:1/-1; }.score-number { font-size:36px; } }

/* Reference skin: Diagnóstico Empresarial de Creación / EBT preview */
:root {
  --navy: #0a1929;
  --navy-deep: #06111f;
  --blue: #4f8ef7;
  --cyan: #00e6e6;
  --magenta: #7c3aed;
  --ink: #f0f4ff;
  --muted: #94a3b8;
  --line: #2a3548;
  --surface: #0a0e1a;
  --surface-soft: #0a0e1a;
  --card: #151f32;
  --shadow: 0 18px 55px rgba(0, 0, 0, .34);
}
html, body { background: var(--surface); color: var(--ink); }
body { position: relative; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .42; background-image: radial-gradient(circle, rgba(148,163,184,.72) 0 1px, transparent 1.2px), radial-gradient(circle, rgba(79,142,247,.5) 0 1px, transparent 1.2px); background-position: 18px 32px, 62px 84px; background-size: 97px 97px, 137px 137px; }
.site-header { min-height: 84px; padding: 18px clamp(20px, 5vw, 62px); background: rgba(6, 17, 31, .86); border-bottom: 1px solid rgba(42, 53, 72, .45); box-shadow: none; backdrop-filter: blur(16px); }
.brand { color: #fff; }
.brand img { width: 172px; }
.brand small { color: var(--muted); border-color: var(--line); }
.header-actions button { border-color: #2a405d; color: #cbd5e1; background: transparent; }
.header-actions button:hover, .admin-access:hover { border-color: var(--cyan) !important; color: var(--cyan) !important; background: rgba(0, 230, 230, .04) !important; }
.admin-access { border-radius: 999px !important; padding: 8px 15px !important; font-size: 12px; }
.shell { width: min(1180px, calc(100% - 28px)); }
.footer { color: #64748b; background: rgba(6, 17, 31, .72); }
.footer a { color: var(--cyan); }
.landing-hero { width: min(1040px, 100%); min-height: calc(100vh - 84px); margin: 0 auto; padding: 42px 0 38px; text-align: center; }
.landing-copy .eyebrow { margin-bottom: 12px; color: var(--cyan); font-size: 11px; letter-spacing: .21em; }
.landing-copy h1 { max-width: 960px; margin: 0 auto; color: #f8fbff; font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.landing-copy h1 span { color: #f8fbff; }
.landing-copy > p:not(.eyebrow) { max-width: 670px; margin: 14px auto 0; color: #cbd5e1; font-size: 15px; line-height: 1.55; }
.landing-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 20px 0 32px; }
.landing-tags span { padding: 4px 12px; border: 1px solid #2a3548; border-radius: 999px; color: #cbd5e1; background: #111827; font-size: 11px; }
.landing-area-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; width: min(790px, 100%); margin: 0 auto; text-align: left; }
.landing-area-card { min-height: 160px; padding: 15px; overflow: hidden; border: 1px solid rgba(79, 142, 247, .28); border-radius: 14px; background: linear-gradient(145deg, rgba(21, 31, 50, .98), rgba(15, 25, 40, .94)); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.landing-area-card:hover { border-color: rgba(0, 230, 230, .78); transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0, 230, 230, .09); }
.landing-area-card.area-1, .landing-area-card.area-3 { border-color: rgba(124, 58, 237, .38); }
.landing-area-card.area-2 { border-color: rgba(16, 185, 129, .42); }
.landing-area-icon { display: grid; place-items: center; width: 31px; height: 31px; margin-bottom: 13px; border-radius: 8px; color: var(--cyan); background: rgba(0, 230, 230, .1); font-size: 17px; font-weight: 700; }
.area-1 .landing-area-icon, .area-3 .landing-area-icon { color: var(--blue); background: rgba(79, 142, 247, .1); }
.area-2 .landing-area-icon { color: #10b981; background: rgba(16, 185, 129, .1); }
.landing-area-card h3 { margin-bottom: 5px; color: #f8fbff; font-size: 12px; letter-spacing: 0; }
.landing-area-card p { margin: 0; color: #94a3b8; font-size: 11px; line-height: 1.55; }
.landing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 35px; }
.landing-primary, .landing-secondary { min-width: 158px; border-radius: 8px; padding: 13px 20px; font-size: 13px; }
.landing-primary { color: #06111f; background: #11c6df; box-shadow: 0 7px 20px rgba(0, 230, 230, .16); }
.landing-primary:hover { background: #2bd9ed; }
.landing-secondary { color: #f0f4ff; border: 1px solid #2a3548; background: rgba(10, 14, 26, .55); box-shadow: none; }
.landing-secondary:hover { border-color: #4f8ef7; background: rgba(79, 142, 247, .09); }
.landing-privacy { margin: 26px 0 0; color: #64748b; font-size: 10px; }
.landing-privacy a { color: #7dd3fc; }
.form-card, .question-card, .panel, .report-section, .feature { color: var(--ink); border-color: var(--line); background: rgba(21, 31, 50, .96); box-shadow: var(--shadow); }
.form-card > p, .panel > p, .report-section p, .feature p { color: var(--muted); }
.field input { color: var(--ink); border-color: var(--line); background: var(--bg3); }
.field label, .check { color: var(--muted); }
.btn.secondary { color: var(--ink); border-color: var(--line); background: var(--bg2); }
.btn.secondary:hover { background: var(--bg3); }
.intro-list div, .review-stat, .review-area { color: var(--ink); border-color: var(--line); background: var(--bg3); }
.review-area { color: var(--ink); }
.review-area .muted, .question-card .muted { color: var(--muted); }
.area-tab { color: var(--muted); }
.area-tab.active { border-color: rgba(79,142,247,.55); color: var(--ink); background: rgba(79,142,247,.12); }
.option { color: var(--ink); border-color: var(--line); background: var(--bg2); }
.option:hover { border-color: var(--blue); background: var(--bg3); }
.option.selected { border-color: var(--blue); background: rgba(79,142,247,.12); }
.option-letter { color: var(--blue); background: var(--bg3); }
.definition { color: var(--muted); border-color: var(--cyan); background: rgba(0,230,230,.06); }
.conditional { border-color: rgba(245,158,11,.45); background: rgba(245,158,11,.06); }
.report-section h2, .report-section h3 { color: var(--ink); }
.admin .panel { background: rgba(21,31,50,.96); }
.metric { background: linear-gradient(135deg, #111827, #1a2f4a); border: 1px solid rgba(79,142,247,.25); }
.admin-table-wrap, .admin-table th { background: var(--card); border-color: var(--line); }
.admin-table td { color: var(--muted); border-color: var(--line); }
@media (max-width: 820px) { .landing-area-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(610px, 100%); } .landing-hero { padding-top: 34px; } }
@media (max-width: 520px) { .site-header { min-height: 72px; padding: 14px 15px; } .brand img { width: 126px; } .brand small { display: none; } .admin-access { width: 38px; height: 34px; padding: 7px !important; overflow: hidden; font-size: 0 !important; } .admin-access::before { content: '↗'; color: var(--cyan); font-size: 15px; } .landing-hero { min-height: auto; padding: 32px 0 42px; } .landing-copy h1 { font-size: 34px; } .landing-copy > p:not(.eyebrow) { font-size: 14px; } .landing-area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .landing-area-card { min-height: 148px; padding: 13px; } .landing-area-card p { font-size: 10px; } .landing-actions { flex-direction: column; align-items: stretch; } .landing-primary, .landing-secondary { width: 100%; } }

/* Auth screen follows the centered card composition from the reference. */
.auth-shell { width: 100%; max-width: none; min-height: 100vh; padding: 0 20px; }
.auth-wrap { width: min(390px, 100%); margin: 68px auto 42px; text-align: center; }
.auth-heading .eyebrow { margin-bottom: 11px; color: var(--cyan); font-size: 10px; letter-spacing: .2em; }
.auth-heading h1 { color: #f8fbff; font-size: 22px; letter-spacing: -.02em; }
.auth-heading > p:not(.eyebrow) { margin: 8px auto 25px; color: #9fb2c8; font-size: 12px; line-height: 1.55; }
.auth-card { padding: 27px 28px 26px; border: 1px solid #2f4967; border-radius: 15px; background: rgba(18, 40, 66, .92); box-shadow: 0 18px 45px rgba(0,0,0,.22); text-align: left; }
.auth-form { display: grid; gap: 11px; }
.auth-form .field { gap: 6px; }
.auth-form .field label { margin: 0; color: #edf4ff; font-size: 12px; font-weight: 400; }
.auth-form .field input { min-height: 38px; padding: 9px 12px; border-color: #3d5875; border-radius: 7px; color: #f8fbff; background: #203853; font-size: 13px; }
.auth-form .field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,230,230,.1); }
.auth-consents { display: grid; gap: 8px; margin-top: 1px; }
.auth-consents .check { gap: 9px; color: #d3dfed; font-size: 11px; line-height: 1.4; }
.auth-consents .check input { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; accent-color: var(--cyan); }
.auth-consents .check a { color: var(--cyan); }
.auth-submit { width: 100%; margin-top: 1px; padding: 12px 16px; border-radius: 7px; color: #062036; background: #12c4db; box-shadow: none; font-size: 13px; }
.auth-submit:hover { background: #27d5e9; transform: none; box-shadow: 0 8px 20px rgba(0,230,230,.16); }
.auth-switch { margin: 21px 0 0; color: #9fb2c8; font-size: 11px; }
.auth-switch .link-button { color: var(--cyan); font-size: 11px; }
.auth-card .error { margin: 0 0 16px; font-size: 11px; }
@media (max-width: 520px) { .auth-shell { padding: 0 16px; } .auth-wrap { margin-top: 46px; } .auth-card { padding: 25px 22px 23px; } }

/* Question screen follows the dark, progress-led reference composition. */
.assessment { width: min(1180px, 100%); margin: 0 auto 60px; padding: 30px 0 0; }
.assessment-progress { margin-left: 254px; }
.assessment-progress .progress { height: 8px; background: #1a2f4a; }
.assessment-progress .progress > span { background: linear-gradient(90deg, #11c6df, #2468ed); }
.assessment-progress .progress-meta { justify-content: flex-start; margin: 17px 0 28px; color: #9fb2c8; font-size: 16px; }
.assessment-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 34px; margin-top: 0; }
.side-areas { gap: 4px; padding-top: 1px; }
.area-tab { padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; color: #94a3b8; font-size: 16px; line-height: 1.25; }
.area-tab:hover { color: #f0f4ff; background: rgba(42, 65, 94, .38); }
.area-tab.active { border-color: transparent; color: #062036; background: #11c6df; font-weight: 700; }
.area-tab.done::after { content: none; }
.question-card { min-height: 0; padding: 43px; border: 1px solid #2f4967; border-radius: 18px; background: rgba(18, 40, 66, .86); box-shadow: none; }
.question-top { justify-content: flex-end; margin-bottom: 19px; }
.question-top .code-pill { padding: 0; color: #6f8cae; background: transparent; font-size: 11px; font-weight: 500; }
.question-card h2 { max-width: none; margin-bottom: 26px; color: #f8fbff; font-size: clamp(21px, 2vw, 25px); line-height: 1.35; }
.options { gap: 12px; margin-top: 0; }
.option, .option.selected { grid-template-columns: 34px 1fr; gap: 13px; padding: 17px 18px; border: 1px solid #38516e; border-radius: 12px; color: #f0f4ff; background: #172b45; font-size: 16px; line-height: 1.55; }
.option:hover { border-color: #11c6df; background: #1b3855; transform: none; }
.option.selected { border-color: #11c6df; background: rgba(0, 198, 219, .12); }
.option-letter { width: 31px; height: 31px; border: 1px solid #3d5875; border-radius: 7px; color: #09d5eb; background: transparent; }
.option.selected .option-letter { border-color: #11c6df; color: #062036; background: #11c6df; }
.option-text { line-height: 1.55; }
.question-actions { margin-top: 20px; }
.save-state { color: #64748b; font-size: 11px; }
.assessment-actions { display: flex; gap: 20px; }
.question-actions .btn { min-width: 153px; padding: 13px 28px; border-radius: 8px; font-size: 16px; }
.question-actions .btn.secondary { color: #f0f4ff; border: 1px solid #2f4967; background: transparent; }
.question-actions .btn.secondary:hover { border-color: #6a86a5; background: rgba(42, 65, 94, .35); }
.question-actions .btn:not(.secondary) { color: #062036; background: #11c6df; }
.question-actions .btn:not(.secondary):hover { background: #27d5e9; }
.question-card .definition, .question-card .conditional { color: #b5c6d9; }
@media (max-width: 820px) {
  .assessment { padding-top: 18px; }
  .assessment-progress { margin-left: 0; }
  .assessment-layout { gap: 16px; }
  .side-areas { padding-top: 0; }
  .area-tab { min-width: max-content; padding: 9px 13px; font-size: 13px; }
  .question-card { padding: 28px; }
}
@media (max-width: 520px) {
  .assessment-progress .progress-meta { margin-bottom: 20px; font-size: 14px; }
  .question-card { padding: 22px; }
  .question-card h2 { font-size: 22px; }
  .option, .option.selected { padding: 14px; font-size: 14px; }
  .question-actions { gap: 18px; }
  .assessment-actions { width: 100%; gap: 10px; }
}

/* Business context screen follows the reference summary form. */
.business-context { width: min(850px, 100%); margin: 0 auto 58px; padding: 26px 0 0; }
.context-intro { padding: 25px 29px 22px; border: 1px solid rgba(0, 230, 230, .42); border-radius: 13px; color: var(--ink); background: rgba(18, 40, 66, .92); }
.context-intro .eyebrow { margin: 0 0 10px; color: var(--cyan); font-size: 10px; letter-spacing: .08em; }
.context-intro h1 { margin: 0; color: #f8fbff; font-size: clamp(25px, 3vw, 32px); line-height: 1.15; }
.context-intro p:not(.eyebrow) { max-width: 720px; margin: 10px 0 0; color: #d3dfed; font-size: 12px; line-height: 1.55; }
.context-card { margin-top: 22px; padding: 24px 29px 18px; border: 1px solid #2f4967; border-radius: 13px; background: rgba(18, 40, 66, .86); }
.context-field { display: grid; gap: 6px; margin-bottom: 18px; }
.context-field label { color: #edf4ff; font-size: 12px; font-weight: 700; }
.context-field textarea, .context-field select { width: 100%; box-sizing: border-box; border: 1px solid #3d5875; border-radius: 7px; color: #f8fbff; background: #203853; font: inherit; font-size: 12px; line-height: 1.45; }
.context-field textarea { min-height: 76px; padding: 10px 12px; resize: vertical; }
.context-field select { min-height: 39px; padding: 8px 10px; }
.context-field textarea:focus, .context-field select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(0,230,230,.1); }
.context-field small { color: #7892ad; font-size: 10px; }
.context-actions { display: flex; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(61,88,117,.55); }
.context-actions .btn { min-width: 138px; padding: 11px 16px; border-radius: 7px; font-size: 12px; }
.context-actions .btn:not(.secondary) { color: #062036; background: #11c6df; }
@media (max-width: 520px) {
  .business-context { padding-top: 0; }
  .context-intro, .context-card { padding-left: 20px; padding-right: 20px; }
  .context-intro h1 { font-size: 24px; }
  .context-actions { align-items: stretch; flex-direction: column-reverse; }
  .context-actions .btn { width: 100%; }
}

/* Report contrast fixes: keep the title readable on the dark reference skin. */
.report-head h1 { max-width: 680px; color: #f8fbff; font-size: clamp(32px, 4vw, 50px); line-height: 1.12; }
.report-head .muted { color: #b8c7d9; }
.report-head .eyebrow { color: var(--blue); }
.radar-grid { stroke: #aebed2; stroke-width: 1.1; }
.radar-axis { stroke: #aebed2; stroke-width: 1.1; }
.radar-label { fill: #e5efff; font-size: 11px; font-weight: 800; paint-order: stroke; stroke: #151f32; stroke-width: 3px; stroke-linejoin: round; }

/* Report header follows the reference layout: title left, Créame logo right. */
.report { width: min(1280px, 100%); }
.report-head { position: relative; display: block; min-height: 164px; padding: 10px 205px 48px 0; }
.report-head::before { content: ''; position: absolute; top: 0; right: 0; width: 172px; height: 82px; background: url('/logo_creame.png') center right / contain no-repeat; }
.report-head > div:first-child { min-width: 0; }
.report-head h1 { max-width: none; color: #f8fbff; font-size: clamp(23px, 2.35vw, 32px); line-height: 1.12; letter-spacing: -.045em; white-space: nowrap; }
.report-head .score-overview { position: absolute; right: 0; bottom: 0; }
@media (max-width: 820px) {
  .report-head { min-height: 0; padding: 92px 0 0; }
  .report-head::before { top: 0; right: 0; }
  .report-head h1 { white-space: normal; }
  .report-head .score-overview { position: static; margin-top: 20px; }
}

/* Administrative dashboard. */
.admin { width: min(1280px, 100%); margin: 44px auto 90px; }
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.admin-head h1 { max-width: none; color: #f8fbff; font-size: clamp(30px, 4vw, 48px); }
.admin-head > div:first-child { min-width: 0; }
.admin-head .muted { max-width: 700px; margin-top: 10px; color: #9fb2c8; line-height: 1.55; }
.admin-head-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.admin-head-actions .btn { white-space: nowrap; }
.admin-metrics { margin: 0 0 22px; }
.admin-panel { overflow: hidden; border: 1px solid #2f4967; border-radius: 16px; background: rgba(18, 40, 66, .86); box-shadow: var(--shadow); }
.admin-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px 19px; border-bottom: 1px solid rgba(61,88,117,.55); }
.admin-panel-head h2 { color: #f8fbff; font-size: 24px; }
.admin-panel-head p { margin: 7px 0 0; color: #9fb2c8; font-size: 12px; }
.admin-count { padding: 6px 10px; border: 1px solid #38516e; border-radius: 999px; color: #cfe0f5; font-size: 11px; white-space: nowrap; }
.admin-panel .admin-table-wrap { border: 0; border-radius: 0; background: transparent; }
.admin-panel .admin-table { min-width: 1000px; background: transparent; }
.admin-panel .admin-table th { color: #cfe0f5; background: #111f34; border-color: #2f4967; }
.admin-panel .admin-table td { color: #b8c7d9; border-color: rgba(61,88,117,.55); }
.admin-panel .admin-table td strong { color: #f0f4ff; }
.security-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1.2fr); gap: 24px; align-items: center; margin: 0 0 22px; padding: 22px 26px; border: 1px solid rgba(245,158,11,.5); border-radius: 16px; background: rgba(245,158,11,.08); }
.security-panel .eyebrow { margin-bottom: 8px; color: #f6cc72; }
.security-panel h2 { color: #f8fbff; font-size: 22px; }
.security-panel p:not(.eyebrow) { margin: 8px 0 0; color: #d3dfed; font-size: 12px; line-height: 1.5; }
.password-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 9px; }
.password-form input { min-width: 0; padding: 11px 12px; border: 1px solid #6c5831; border-radius: 7px; color: #f8fbff; background: rgba(18,40,66,.82); font: inherit; font-size: 11px; }
.password-form input:focus { border-color: #f6cc72; outline: none; box-shadow: 0 0 0 3px rgba(245,158,11,.12); }
.password-form .btn { white-space: nowrap; }
.admin-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.admin-status.success { color: #7ee2bd; background: rgba(16,185,129,.14); }
.admin-status.pending { color: #f6cc72; background: rgba(245,158,11,.14); }
.admin-status.neutral { color: #aebed2; background: rgba(148,163,184,.14); }
.admin-view-shell { padding-top: 12px; }
.admin-tabs { display: flex; gap: 8px; width: min(1280px, 100%); margin: 18px auto 0; border-bottom: 1px solid #2f4967; }
.admin-tabs button { padding: 11px 16px; border: 0; border-bottom: 2px solid transparent; color: #9fb2c8; background: transparent; font-size: 12px; font-weight: 700; }
.admin-tabs button:hover, .admin-tabs button.active { color: #f8fbff; border-bottom-color: var(--cyan); }
.admin-pdf-link { color: var(--cyan); font-size: 11px; font-weight: 700; white-space: nowrap; }
.admin-user-form-card { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: 24px; align-items: start; margin: 0 0 22px; padding: 24px 26px; border: 1px solid #2f4967; border-radius: 16px; background: rgba(18, 40, 66, .86); }
.admin-user-form-card h2 { color: #f8fbff; font-size: 23px; }
.admin-user-form-card p:not(.eyebrow) { margin: 8px 0 0; color: #9fb2c8; font-size: 12px; line-height: 1.5; }
.admin-user-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.admin-user-form label { display: grid; gap: 6px; color: #d3dfed; font-size: 11px; font-weight: 700; }
.admin-user-form input, .admin-user-form select { width: 100%; min-height: 38px; padding: 9px 11px; border: 1px solid #3d5875; border-radius: 7px; color: #f8fbff; background: #203853; font: inherit; font-size: 12px; }
.admin-user-form input:focus, .admin-user-form select:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(0,230,230,.1); }
.admin-user-form label small { color: #7892ad; font-weight: 400; }
.admin-user-form-actions { display: flex; justify-content: flex-end; grid-column: 1/-1; gap: 10px; padding-top: 4px; }
.admin-role { display: inline-flex; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.admin-role-admin { color: #b9caff; background: rgba(79,142,247,.16); }
.admin-role-gestor { color: #8be4dd; background: rgba(0,230,230,.12); }
.admin-role-user { color: #c8d1dd; background: rgba(148,163,184,.14); }
.admin-row-actions { display: flex; gap: 10px; white-space: nowrap; }
.admin-row-actions .link-button { color: var(--cyan); font-size: 11px; text-decoration: none; }
.admin-row-actions .link-button.danger { color: #f58ba5; }
.admin-row-actions .link-button:disabled { cursor: not-allowed; opacity: .35; }
@media (max-width: 820px) {
  .admin { margin-top: 28px; }
  .admin-head { align-items: stretch; flex-direction: column; }
  .admin-head-actions { justify-content: flex-start; }
  .admin-panel-head { align-items: flex-start; flex-direction: column; }
  .security-panel { grid-template-columns: 1fr; }
  .password-form { grid-template-columns: 1fr; }
  .admin-user-form-card { grid-template-columns: 1fr; }
  .admin-user-form { grid-template-columns: 1fr; }
}
