* { box-sizing: border-box; }
:root { --ink: #17202b; --muted: #6f7884; --blue: #126cf4; --red: #e42f36; --line: #dce2e8; --paper: #fff; }
body { margin: 0; color: var(--ink); background: #edf1f5; font-family: 'DM Sans', sans-serif; }
body:before { content: ''; position: fixed; inset: 0 0 auto; height: 7px; background: var(--blue); }
.shell { width: min(1120px, calc(100% - 36px)); margin: 42px auto; }
.topbar { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 12px; color: white; background: var(--blue); font: 700 24px 'Space Grotesk'; }
.eyebrow { margin: 0 0 5px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
h1 { font-size: clamp(24px, 4vw, 36px); } h1 span { color: var(--red); }
.live-pill { margin-left: auto; padding: 9px 13px; border: 1px solid #cbd5df; border-radius: 100px; color: #54606d; background: #f7f9fb; font-size: 12px; font-weight: 700; }
.live-pill i { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #1bb269; }
.workspace { display: grid; grid-template-columns: 1fr 280px; gap: 18px; align-items: stretch; }
.form-panel, .side-note, .result { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 10px 30px #24354b0b; }
.form-panel { padding: clamp(22px, 4vw, 38px); }
.panel-heading { display: flex; justify-content: space-between; align-items: start; margin-bottom: 27px; } h2 { font-size: 27px; }.step { color: var(--muted); font-size: 12px; font-weight: 700; }
label { display: block; margin-bottom: 14px; color: #303945; font-size: 15px; font-weight: 600; } label b { color: var(--red); font-weight: 600; } label em { color: #8d969f; font-style: normal; font-weight: 400; }
input, select { width: 100%; height: 48px; margin-top: 7px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; color: #26313d; background: #fbfcfd; font: inherit; outline: none; } input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px #126cf41a; }
.url-control { display: flex; margin-bottom: 20px; } .url-control input { margin: 0; border-radius: 8px 0 0 8px; } .url-control button { width: 54px; border: 1px solid var(--line); border-left: 0; border-radius: 0 8px 8px 0; color: #66717d; background: #f4f6f8; font-size: 19px; cursor: pointer; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.field-grid select { display: block; }
.consent { display: flex; align-items: center; gap: 10px; margin: 13px 0 18px; font-size: 13px; font-weight: 500; } .consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.calculate { display: flex; justify-content: space-between; width: 100%; padding: 14px 18px; border: 0; border-radius: 8px; color: white; background: var(--blue); font: 700 16px 'Space Grotesk'; cursor: pointer; } .calculate:hover { background: #075bd7; }.calculate:disabled { opacity: .65; cursor: wait; }
.side-note { padding: 27px; background: #17202b; color: white; } .side-note .eyebrow { color: #7eb1ff; }.side-note strong { display: block; margin: 28px 0 10px; font: 600 21px 'Space Grotesk'; }.side-note p:not(.eyebrow) { color: #b5c0cd; font-size: 14px; line-height: 1.65; }.secure { margin-top: 35px; padding-top: 16px; border-top: 1px solid #ffffff20; color: #d4dce5; font-size: 12px; }.secure span { margin-right: 6px; color: #4fd08d; }
.result { margin-top: 18px; padding: 28px; animation: rise .4s ease both; }.hidden { display: none; }.result-head { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 22px; }.result h2 { font-size: 24px; }.candidate { color: var(--muted); font-size: 13px; }.score { color: var(--blue); font: 700 34px 'Space Grotesk'; text-align: right; }.score small { display: block; color: var(--muted); font: 600 11px 'DM Sans'; letter-spacing: .1em; text-transform: uppercase; }.meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }.meta { padding: 13px; border-right: 1px solid var(--line); }.meta:last-child { border: 0; }.meta small { display: block; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }.meta strong { display: block; margin-top: 5px; font-size: 14px; }.score-table { width: 100%; margin-top: 18px; border-collapse: collapse; font-size: 14px; }.score-table th, .score-table td { padding: 9px 8px; border: 1px solid #d34a4d; text-align: center; }.score-table th:first-child, .score-table td:first-child { width: 46%; text-align: left; }.score-table thead { color: white; background: #dc292d; }.score-table tfoot { color: #111; background: #fff500; font-weight: 700; }.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }.result-actions button { padding: 13px 20px; border: 0; border-radius: 8px; color: white; font: 600 15px 'DM Sans'; cursor: pointer; }.download-action { background: #168c58; }.rank-action { background: #df3348; }.previous-action { color: #161616 !important; background: #ffbf00; }
.status { min-height: 18px; margin: 12px 0 0; color: var(--muted); font-size: 12px; }.status.error { color: var(--red); }
.table-scroll { overflow-x: auto; }.rank-table { min-width: 700px; }.rank-table th:first-child, .rank-table td:first-child { width: auto; text-align: center; }
footer { padding: 28px 0; color: #7d8792; font-size: 12px; } footer span { padding: 0 6px; color: var(--red); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .shell { width: min(100% - 24px, 600px); margin-top: 30px; }.workspace { grid-template-columns: 1fr; }.side-note { display: none; }.field-grid, .meta-grid { grid-template-columns: 1fr 1fr; }.meta:nth-child(2) { border-right: 0; }.meta:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.result-head { align-items: start; }.score { font-size: 27px; }.url-control input { font-size: 12px; }.score-table { font-size: 12px; }.score-table th, .score-table td { padding: 7px 4px; }.score-table th:first-child, .score-table td:first-child { width: auto; }.result-actions { gap: 8px; }.result-actions button { width: 100%; } }
