/* Trace4Net — public site, login and portal. Colours and type follow the Website page of the design canvas. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/inter-tight-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0A1630;
  --navy-2: #0F1D3B;
  --line-dark: #22314F;
  --border-dark: #2E4068;
  --ink: #0A1630;
  --ink-2: #13213F;
  --muted: #5B6B7D;
  --quiet: #8593A3;
  --on-dark: #F5F8FB;
  --on-dark-muted: #C5D2E3;
  --on-dark-quiet: #9FB0C6;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-sky: #60A5FA;
  --cyan: #22D3EE;
  --bg: #F5F8FB;
  --line: #E6ECF2;
  --field: #C5CFDA;
  --red: #DC2626;
  --red-text: #B91C1C;
  --red-deep: #8F1717;
  --red-bg: #FDECEC;
  --green: #0E9F6E;
  --green-text: #0B7A55;
  --green-deep: #0B5E43;
  --green-bg: #E7F6EF;
  --blue-bg: #E8F0FE;
  --amber-bg: #FEF3E2;
  --amber-text: #92400E;
  --neutral-bg: #EEF2F6;

  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", Inter, Arial, sans-serif;
  --mono: "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font: 400 16px/1.5 var(--sans); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue-sky); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 10; padding: 10px 14px; border-radius: 8px; background: #FFFFFF; color: var(--ink); }
.skip:focus { top: 16px; }

.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.icon { width: 16px; height: 16px; flex: none; }
.icon-20 { width: 20px; height: 20px; }
.text-red { color: var(--red-text); font-weight: 600; }
.align-start { align-self: flex-start; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 600px) { .wrap { padding-left: 16px; padding-right: 16px; } }

/* Type */
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-sky); }
.eyebrow-sm { font-size: 12px; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-sky { color: var(--blue-sky); }
.eyebrow-cyan { color: var(--cyan); }
.display { max-width: 840px; font-family: var(--display); font-weight: 600; font-size: clamp(40px, 6vw, 72px); line-height: 1.04; letter-spacing: -0.035em; text-wrap: balance; }
.h1 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.h2 { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.h2-sm { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.h3 { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.body-lg { font-size: 18px; line-height: 1.65; color: var(--muted); }
.statement { font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.4; letter-spacing: -0.01em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 8px; border: 1px solid transparent; font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-sm { height: 42px; padding: 0 16px; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-xs { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; height: 48px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #FFFFFF; }
.btn-primary:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn-primary:disabled { background: var(--line); color: var(--muted); cursor: default; }
.btn-primary.is-sending, .btn-primary.is-sending:disabled { background: var(--blue-dark); color: #FFFFFF; cursor: progress; }
.btn-outline-dark { border-color: var(--border-dark); color: var(--on-dark); background: transparent; }
.btn-outline-dark:hover { border-color: var(--on-dark-quiet); color: #FFFFFF; }
.btn-secondary { border-color: var(--field); background: #FFFFFF; color: var(--ink); }
.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }
.btn-chip { height: 40px; padding: 0 12px; border-radius: 6px; border-color: var(--field); background: var(--bg); color: var(--ink); font-size: 14px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.3); border-top-color: #FFFFFF; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } }

/* Shared header pieces */
.dark { background: var(--navy); color: var(--on-dark); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: #FFFFFF; }
.brand .mark { width: 32px; height: 32px; }
.brand-sm { font-size: 20px; }
.brand-sm .mark { width: 28px; height: 28px; }
.brand-light { color: var(--ink); }
.lang-switch { display: flex; border: 1px solid var(--border-dark); border-radius: 8px; overflow: hidden; font: 500 13px/1 var(--mono); }
.lang-switch a { padding: 13px 14px; color: var(--on-dark-muted); text-decoration: none; }
.lang-switch a:hover { color: #FFFFFF; }
.lang-switch a[aria-current="true"] { background: var(--on-dark); color: var(--navy); }

.watermark { position: absolute; pointer-events: none; }

/* Home */
.hero { position: relative; overflow: hidden; }
.hero-graph { position: absolute; right: -60px; top: 60px; width: 760px; max-width: 70%; height: auto; }
.topbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 24px; padding-bottom: 24px; }
.topnav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-left: auto; font-size: 15px; }
.topnav a { color: var(--on-dark-muted); text-decoration: none; padding: 10px 0; }
.topnav a:hover { color: #FFFFFF; }
.hero-body { position: relative; display: flex; flex-direction: column; gap: 28px; padding-top: 96px; padding-bottom: 128px; }
.hero-lede { max-width: 640px; display: flex; flex-direction: column; gap: 16px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--on-dark-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) {
  .topnav { order: 3; width: 100%; margin-left: 0; gap: 4px 20px; }
  .topbar > .btn { margin-left: auto; }
  .hero-body { padding-top: 48px; padding-bottom: 80px; }
}

.section { padding-top: 120px; padding-bottom: 120px; }
@media (max-width: 760px) { .section { padding-top: 72px; padding-bottom: 72px; } }
.stack-48 { display: flex; flex-direction: column; gap: 48px; }
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.split-body { flex: 2 1 480px; display: flex; flex-direction: column; gap: 20px; }
.split-body.on-dark-muted { gap: 16px; color: var(--on-dark-muted); }
.section-head { display: flex; flex-direction: column; gap: 14px; }

.band-light { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 20px; }
.card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, #1E3A8A, #0EA5E9); display: flex; align-items: center; justify-content: center; }
.card-icon svg { width: 24px; height: 24px; }
.card-num { font: 400 13px var(--mono); color: var(--quiet); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; }
.card p { font-size: 16px; line-height: 1.65; color: var(--muted); }
@media (max-width: 600px) { .card { padding: 24px; } }

.approach { position: relative; overflow: hidden; }
.approach .wrap { position: relative; }
.watermark-approach { right: -140px; bottom: -160px; width: 560px; height: 560px; opacity: 0.3; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.tile { border: 1px solid var(--line-dark); background: var(--navy-2); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.tile span { font: 400 12px var(--mono); color: var(--blue-sky); }
.tile p { font-weight: 500; font-size: 16px; line-height: 1.4; }
.principle { padding-top: 40px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 24px 64px; }
.principle figcaption { flex: 1 1 320px; }
.principle-body { flex: 2 1 480px; display: flex; flex-direction: column; gap: 20px; }
.principle blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -0.015em; }
.principle p { font-size: 17px; line-height: 1.65; color: var(--on-dark-muted); }

.site-footer .footer-inner { display: flex; flex-direction: column; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.footer-brand p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; align-self: flex-start; }
.footer-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.footer-nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.req { color: var(--red-text); }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.hint-icon { display: flex; gap: 6px; }
.hint-icon .icon { width: 15px; height: 15px; margin-top: 2px; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.counter { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--red-text); font-weight: 600; }
.input, .input-wrap { width: 100%; border-radius: 8px; border: 1px solid var(--field); background: #FFFFFF; color: var(--ink); }
.input { height: 48px; padding: 0 14px; font: 400 16px var(--sans); }
.input.mono { font-family: var(--mono); font-size: 15px; }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input-wrap { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 4px 0 14px; }
.input-wrap-lg { height: 52px; padding-right: 6px; }
.input-wrap input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font: 400 16px var(--sans); }
.input-wrap input.mono { font-family: var(--mono); }
.input:focus, .input-wrap:focus-within { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.input.is-invalid, .input-wrap.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.input[readonly], .input-wrap input[readonly] { color: var(--muted); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--red-text); }
.field-error .icon { margin-top: 2px; }
.icon-btn { width: 44px; height: 44px; flex: none; border: 0; background: transparent; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--ink); }
.icon-btn[aria-pressed="true"] { color: var(--blue); }

.alert { border-radius: 10px; padding: 14px 16px; font-size: 14px; line-height: 1.5; }
.alert strong { font-weight: 600; }
.alert-warn { background: var(--amber-bg); color: var(--amber-text); }
.alert-info { background: var(--blue-bg); color: var(--blue-dark); }

.notice { border-radius: 12px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; }
.notice > div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; }
.notice strong { font-weight: 600; font-size: 16px; }
.notice-icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #FFFFFF; }
.notice-icon .icon { width: 18px; height: 18px; }
.notice-success { background: var(--green-bg); color: var(--green-deep); }
.notice-success .notice-icon { background: var(--green); }
.notice-error { background: var(--red-bg); color: var(--red-deep); }
.notice-error .notice-icon { background: var(--red); }

/* Login */
.auth { position: relative; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
.watermark-auth { right: -200px; top: -120px; width: 820px; height: 820px; opacity: 0.2; }
.auth-top { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.auth-top-end { display: flex; align-items: center; gap: 20px; }
.back-link { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; padding: 10px 0; }
.back-link:hover { color: #FFFFFF; }
.auth-main { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; padding: 32px 16px 64px; }
.auth-card { width: 100%; max-width: 440px; background: #FFFFFF; color: var(--ink); border-radius: 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35); padding: clamp(24px, 5vw, 40px); display: flex; flex-direction: column; gap: 24px; }
.auth-card .h1 { font-size: 32px; }
.auth-intro { display: flex; flex-direction: column; gap: 10px; }
.auth-intro p { font-size: 15px; line-height: 1.55; }
.auth-card .field label { font-weight: 500; }
.auth-note { padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }
.auth-foot { position: relative; padding: 0 24px 24px; text-align: center; font-size: 13px; color: var(--quiet); }

/* Portal */
.portal { background: var(--bg); min-height: 100vh; }
.portal-bar { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.portal-badge { font: 400 12px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-quiet); padding: 4px 8px; border: 1px solid var(--border-dark); border-radius: 6px; }
.portal-nav { display: flex; gap: 20px; font-size: 15px; }
.portal-nav a { color: var(--on-dark-muted); text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.portal-nav a[aria-current="page"] { color: #FFFFFF; font-weight: 500; border-bottom-color: var(--cyan); }
.portal-bar-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.portal-bar-end form { display: contents; }
.portal-bar-end .btn { height: 40px; padding: 0 14px; font-size: 14px; }
.portal-bar-end .lang-switch a { padding: 12px 12px; }
.session-until { font-size: 13px; color: var(--on-dark-quiet); }
@media (max-width: 700px) {
  .portal-nav { display: none; }
  .session-until { width: 100%; order: 3; }
}

.portal-main { max-width: 1200px; margin: 0 auto; padding: 40px 20px 72px; display: flex; flex-direction: column; gap: 40px; }
@media (max-width: 600px) { .portal-main { padding: 20px 12px 48px; gap: 24px; } }
.portal-top { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.panel { min-width: 0; background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; }
.form-card { flex: 3 1 560px; padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 24px; }
.form-intro { display: flex; flex-direction: column; gap: 10px; }
.form-intro p { font-size: 15px; line-height: 1.6; }
.field-row { display: flex; flex-wrap: wrap; gap: 20px; }
.field-row > .field { flex: 1 1 220px; }
.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 4px; }
.submit-row .hint { max-width: 340px; }
.inline-form { display: flex; }
.just-added { margin-top: auto; border: 1px solid #BFE6D5; background: #F4FBF8; border-radius: 12px; padding: 14px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.just-added .url { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.just-added-tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green-text); }

.steps { flex: 1 1 300px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.steps ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 14px; line-height: 1.5; }
.steps li { display: flex; gap: 12px; }
.steps li strong { font-weight: 600; }
.step-num { flex: none; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.step-neutral { background: var(--neutral-bg); color: var(--muted); }
.step-blue { background: var(--blue-bg); color: var(--blue-dark); }
.step-green { background: var(--green-bg); color: var(--green-text); }
.steps-note { padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; color: var(--muted); }

.list-panel { overflow: hidden; }
.list-head { padding: 24px 20px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.list-title { display: flex; flex-direction: column; gap: 6px; margin-right: auto; }
.live { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(14, 159, 110, 0.18); }
.seg { display: flex; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; }
.seg button { height: 40px; padding: 0 14px; border: 0; background: #FFFFFF; color: var(--ink); font: 500 14px var(--sans); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--navy); color: #FFFFFF; }
.search { display: flex; align-items: center; gap: 8px; height: 40px; width: 260px; max-width: 100%; border-radius: 8px; border: 1px solid var(--field); padding: 0 12px; color: var(--muted); }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 400 14px var(--sans); color: var(--ink); }
@media (max-width: 600px) { .search { width: 100%; } }

.rows { margin: 0; padding: 0; list-style: none; }
.row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 20px; padding: 18px 20px; border-top: 1px solid var(--line); }
.row-alert { background: #FFFBFB; }
.row-empty { color: var(--muted); font-size: 15px; }
.row-status { flex: 0 0 132px; }
.row-main { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-main .url { font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.row-meta { font-size: 13px; color: var(--muted); }
.row-note { font-size: 14px; line-height: 1.5; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.row-detail { flex: 0 1 240px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); }
.row-detail form { display: flex; }
.row-error { font-size: 12px; overflow-wrap: anywhere; }
.list-foot { padding: 16px 20px; border-top: 1px solid var(--line); background: var(--bg); font-size: 13px; line-height: 1.5; color: var(--muted); }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-neutral { background: var(--neutral-bg); color: var(--muted); }
.chip-blue { background: var(--blue-bg); color: var(--blue-dark); }
.chip-blue .dot { background: var(--blue); }
.chip-green { background: var(--green-bg); color: var(--green-text); }
.chip-green .dot { background: var(--green); }
.chip-red { background: var(--red-bg); color: var(--red-text); }
.chip-red .dot { background: var(--red); }
