:root {
  color-scheme: light;
  --ink-950: #0b1220;
  --ink-900: #111a2c;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50: #f8fafc;
  --white: #ffffff;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --green-700: #15803d;
  --green-100: #dcfce7;
  --amber-700: #a16207;
  --amber-100: #fef3c7;
  --red-700: #b91c1c;
  --red-100: #fee2e2;
  --violet-700: #6d28d9;
  --violet-100: #ede9fe;
  --sidebar-width: 288px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 5%);
  --shadow-md: 0 14px 36px rgb(15 23 42 / 9%);
  font-family: Inter, Pretendard, "Noto Sans KR", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--ink-50); }
body { margin: 0; color: var(--ink-900); background: var(--ink-50); font-size: 16px; line-height: 1.65; font-weight: 400; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: var(--blue-700); }
svg { display: block; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; border-radius: var(--radius-sm); background: var(--ink-950); color: white; text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.frontend-boot-warning { position: fixed; z-index: 998; right: 20px; bottom: 20px; max-width: min(430px, calc(100% - 40px)); padding: 14px 17px; border: 1px solid #f59e0b; border-radius: 12px; background: #fffbeb; color: #78350f; box-shadow: 0 16px 38px rgb(15 23 42 / 18%); opacity: 0; visibility: hidden; animation: frontend-boot-warning-reveal .01s 5s forwards; font-size: 13px; line-height: 1.6; }
.frontend-boot-warning.hidden { display: none; animation: none; }
@keyframes frontend-boot-warning-reveal { to { opacity: 1; visibility: visible; } }

/* Public landing — crawlable product story; authenticated onboarding stays in app shell. */
.public-entry { min-height: 100vh; overflow: hidden; background: #f8fafc; }
.landing-header { position: absolute; z-index: 5; top: 0; left: 50%; width: min(1420px, calc(100% - 64px)); height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transform: translateX(-50%); border-bottom: 1px solid rgb(148 163 184 / 18%); }
.landing-brand { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.landing-brand > span:last-child { display: grid; line-height: 1.2; }
.landing-brand strong { color: inherit; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.landing-brand small { margin-top: 4px; color: #9fb0c7; font-size: 11px; letter-spacing: .04em; }
.landing-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.landing-nav a { color: #b9c6d8; font-size: 13px; font-weight: 550; text-decoration: none; }
.landing-nav a:hover { color: #fff; }
.landing-login-trigger { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid rgb(147 197 253 / 34%); border-radius: 10px; background: rgb(37 99 235 / 14%); color: #dbeafe; font-size: 13px; font-weight: 600; cursor: pointer; }
.landing-login-trigger:hover { border-color: #60a5fa; background: rgb(37 99 235 / 28%); color: #fff; }

.landing-hero { position: relative; min-height: 820px; display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); align-items: center; gap: clamp(30px, 5vw, 90px); padding: 148px max(32px, calc((100vw - 1420px) / 2)) 96px; overflow: hidden; background: radial-gradient(circle at 78% 18%, rgb(37 99 235 / 24%), transparent 28%), radial-gradient(circle at 7% 84%, rgb(14 165 233 / 10%), transparent 25%), #0b1220; color: #fff; }
.landing-hero::after { position: absolute; right: -210px; bottom: -350px; width: 760px; height: 760px; border: 1px solid rgb(96 165 250 / 10%); border-radius: 50%; box-shadow: 0 0 0 100px rgb(37 99 235 / 3%), 0 0 0 200px rgb(37 99 235 / 2%); content: ""; pointer-events: none; }
.landing-hero-copy { position: relative; z-index: 2; min-width: 0; max-width: 720px; word-break: keep-all; }
.landing-kicker, .landing-section-label { margin: 0; color: #38bdf8; font-size: 12px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.landing-kicker { display: flex; align-items: center; gap: 9px; }
.landing-kicker > span { width: 24px; height: 1px; background: #38bdf8; }
.landing-hero h1 { margin: 18px 0 24px; font-size: clamp(46px, 4.7vw, 76px); font-weight: 650; line-height: 1.12; letter-spacing: -.055em; text-wrap: balance; }
.landing-hero h1 span { color: #60a5fa; }
.landing-lead { max-width: 680px; margin: 0; color: #becbdd; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.82; }
.landing-lead strong { color: #fff; font-weight: 600; }
.landing-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 32px; }
.landing-primary-cta, .landing-final-cta button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 20px; border: 1px solid #3b82f6; border-radius: 11px; background: #2563eb; color: #fff; font-size: 14px; font-weight: 650; cursor: pointer; box-shadow: 0 12px 30px rgb(37 99 235 / 28%); }
.landing-primary-cta:hover, .landing-final-cta button:hover { background: #1d4ed8; transform: translateY(-1px); }
.landing-secondary-cta { min-height: 52px; display: inline-flex; align-items: center; padding: 11px 18px; border: 1px solid rgb(148 163 184 / 26%); border-radius: 11px; color: #dbe5f1; font-size: 14px; font-weight: 600; text-decoration: none; }
.landing-secondary-cta:hover { border-color: #64748b; background: rgb(255 255 255 / 5%); color: #fff; }
.landing-source-note { max-width: 660px; display: flex; align-items: flex-start; gap: 9px; margin-top: 24px; color: #8fa1b9; font-size: 12px; line-height: 1.65; }
.landing-source-note svg { flex: 0 0 auto; margin-top: 2px; color: #60a5fa; }
.landing-hero-visual { position: relative; z-index: 2; min-width: 0; }
.landing-hero-visual > img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 30px 45px rgb(2 6 23 / 38%)); }
.landing-visual-glow { position: absolute; inset: 16% 12%; border-radius: 50%; background: #2563eb; opacity: .24; filter: blur(80px); }
.landing-float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgb(148 163 184 / 28%); border-radius: 13px; background: rgb(15 23 42 / 88%); box-shadow: 0 14px 34px rgb(2 6 23 / 32%); backdrop-filter: blur(12px); }
.landing-float-card small, .landing-float-card strong { display: block; }
.landing-float-card small { color: #94a3b8; font-size: 11px; }
.landing-float-card strong { color: #fff; font-size: 13px; font-weight: 600; }
.landing-float-top { top: 14%; left: -2%; }
.landing-float-bottom { right: 0; bottom: 11%; }
.landing-float-bottom > svg { color: #4ade80; font-size: 22px; }
.float-dot { width: 11px; height: 11px; border-radius: 50%; }
.float-dot.danger { background: #ef4444; box-shadow: 0 0 0 6px rgb(239 68 68 / 12%); }

.landing-proof { position: relative; z-index: 3; width: min(1260px, calc(100% - 64px)); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: -42px auto 0; overflow: hidden; border: 1px solid #dbe3ef; border-radius: 18px; background: #fff; box-shadow: 0 20px 50px rgb(15 23 42 / 10%); }
.landing-proof article { min-width: 0; padding: 23px 26px; }
.landing-proof article + article { border-left: 1px solid #e2e8f0; }
.landing-proof strong, .landing-proof span { display: block; }
.landing-proof strong { color: #2563eb; font-size: 13px; font-weight: 650; }
.landing-proof span { margin-top: 5px; color: #475569; font-size: 13px; line-height: 1.55; word-break: keep-all; }

.landing-section { width: min(1260px, calc(100% - 64px)); margin: 0 auto; padding: clamp(92px, 9vw, 132px) 0; }
.landing-section-heading { max-width: 780px; margin-bottom: 42px; word-break: keep-all; }
.landing-section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.landing-section-heading h2 { margin: 9px 0 14px; color: #0f172a; font-size: clamp(32px, 3.2vw, 48px); font-weight: 650; line-height: 1.24; letter-spacing: -.04em; text-wrap: balance; }
.landing-section-heading > p:last-child { max-width: 690px; margin: 0; color: #64748b; font-size: 16px; line-height: 1.75; }
.landing-section-heading.centered > p:last-child { margin-right: auto; margin-left: auto; }
.landing-section-label { color: #2563eb; }

.landing-capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.landing-capability-grid article { position: relative; min-width: 0; min-height: 330px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; box-shadow: 0 8px 24px rgb(15 23 42 / 4%); }
.landing-capability-grid article:hover { border-color: #bfdbfe; box-shadow: 0 18px 42px rgb(37 99 235 / 9%); transform: translateY(-3px); }
.capability-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #eff6ff; color: #2563eb; font-size: 21px; }
.capability-icon svg { width: 24px; height: 24px; stroke-width: 2.15; }
.capability-number { position: absolute; top: 27px; right: 27px; color: #cbd5e1; font-size: 14px; font-weight: 650; letter-spacing: .08em; }
.landing-capability-grid h3 { margin: 25px 0 10px; color: #0f172a; font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.landing-capability-grid p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.72; word-break: keep-all; }
.capability-result { margin-top: auto; padding-top: 20px; color: #15803d; font-size: 12px; font-weight: 600; }

.landing-workflow { width: 100%; max-width: none; padding-right: max(32px, calc((100vw - 1260px) / 2)); padding-left: max(32px, calc((100vw - 1260px) / 2)); background: #eef4fc; }
.landing-workflow-list { width: min(1260px, 100%); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 auto; padding: 0; list-style: none; counter-reset: step; }
.landing-workflow-list li { position: relative; min-width: 0; padding: 26px 23px 28px; border: 1px solid #d9e3f0; border-radius: 18px; background: rgb(255 255 255 / 78%); }
.landing-workflow-list li::after { position: absolute; top: 42px; right: -12px; z-index: 2; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid #bfdbfe; border-radius: 50%; background: #fff; color: #2563eb; content: "→"; font-size: 12px; }
.landing-workflow-list li:last-child::after { display: none; }
.landing-workflow-list li > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #2563eb; color: #fff; font-size: 13px; font-weight: 650; }
.landing-workflow-list small { display: block; margin-top: 25px; color: #2563eb; font-size: 11px; font-weight: 650; letter-spacing: .08em; }
.landing-workflow-list h3 { margin: 7px 0 9px; color: #0f172a; font-size: 18px; font-weight: 600; line-height: 1.42; word-break: keep-all; }
.landing-workflow-list p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.7; word-break: keep-all; }

.landing-value-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr); gap: 18px; align-items: stretch; }
.landing-value-cards { display: grid; gap: 12px; }
.landing-value-cards article { padding: 24px 26px; border: 1px solid #e2e8f0; border-radius: 17px; background: #fff; }
.landing-value-cards article > span { color: #2563eb; font-size: 11px; font-weight: 650; letter-spacing: .07em; }
.landing-value-cards h3 { margin: 5px 0 7px; color: #0f172a; font-size: 19px; font-weight: 600; }
.landing-value-cards p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.68; }
.landing-outcome-panel { display: flex; flex-direction: column; padding: 30px; border-radius: 20px; background: #0f1b30; color: #fff; }
.landing-outcome-panel > p { margin: 0; color: #7dd3fc; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.landing-outcome-panel ul { display: grid; gap: 15px; margin: 28px 0; padding: 0; list-style: none; color: #d2ddea; font-size: 14px; }
.landing-outcome-panel li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; }
.landing-outcome-panel li svg { color: #4ade80; }
.landing-outcome-panel > div { margin-top: auto; padding-top: 22px; border-top: 1px solid #2b3b54; }
.landing-outcome-panel strong, .landing-outcome-panel span { display: block; }
.landing-outcome-panel strong { color: #93c5fd; font-size: 12px; font-weight: 600; }
.landing-outcome-panel span { margin-top: 6px; color: #fff; font-size: 14px; line-height: 1.6; }

.landing-trust { display: grid; grid-template-columns: minmax(0, .8fr) minmax(560px, 1.2fr); gap: clamp(40px, 7vw, 94px); align-items: center; }
.landing-trust-copy { word-break: keep-all; }
.landing-trust-copy h2 { margin: 9px 0 17px; color: #0f172a; font-size: clamp(32px, 3.2vw, 48px); font-weight: 650; line-height: 1.25; letter-spacing: -.04em; }
.landing-trust-copy > p:not(.landing-section-label) { margin: 0; color: #64748b; font-size: 15px; line-height: 1.8; }
.landing-text-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 25px; padding: 0; border: 0; background: transparent; color: #1d4ed8; font-size: 14px; font-weight: 650; cursor: pointer; }
.landing-text-cta:hover { text-decoration: underline; }
.landing-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.landing-trust-grid article { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 21px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.landing-trust-grid article > svg { width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: #eff6ff; color: #2563eb; }
.landing-trust-grid article.trust-do > svg { background: #dcfce7; color: #15803d; }
.landing-trust-grid article.trust-dont > svg { background: #fee2e2; color: #b91c1c; }
.landing-trust-grid strong { color: #0f172a; font-size: 14px; font-weight: 600; }
.landing-trust-grid p { margin: 5px 0 0; color: #64748b; font-size: 12px; line-height: 1.65; word-break: keep-all; }

.landing-faq { width: 100%; max-width: none; padding-right: max(32px, calc((100vw - 1260px) / 2)); padding-left: max(32px, calc((100vw - 1260px) / 2)); background: linear-gradient(180deg, #f8fbff 0%, #fff 52%); }
.landing-faq-shell { width: min(1100px, 100%); display: grid; gap: 16px; margin: 0 auto; }
.landing-faq-helper { min-width: 0; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 15px; align-items: center; padding: 18px 20px; border: 1px solid #d9e5f4; border-radius: 16px; background: #f3f7fd; }
.landing-faq-helper > div { min-width: 0; }
.landing-faq-helper strong, .landing-faq-helper span { display: block; }
.landing-faq-helper strong { color: #17233a; font-size: 14px; font-weight: 650; }
.landing-faq-helper > div > span { margin-top: 3px; color: #64748b; font-size: 12px; line-height: 1.55; word-break: keep-all; }
.landing-faq-helper .landing-text-cta { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.faq-guide-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #dbeafe; color: #1d4ed8; }
.faq-guide-icon svg { width: 24px; height: 24px; stroke-width: 2.1; }
.landing-faq-groups { display: grid; grid-template-columns: 1fr; gap: 12px; }
.onboarding-faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq-topic { min-width: 0; display: grid; grid-template-columns: minmax(210px, 245px) minmax(0, 1fr); overflow: hidden; border: 1px solid #dbe4ef; border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgb(15 23 42 / 5%); }
.faq-topic > header { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-content: start; align-items: center; padding: 21px; border-right: 1px solid #e8edf4; background: #f8fafc; }
.faq-topic-questions { min-width: 0; }
.faq-topic-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #e8f1ff; color: #2563eb; }
.faq-topic-icon svg { width: 21px; height: 21px; stroke-width: 2.1; }
.faq-topic header small, .faq-topic header h3 { display: block; }
.faq-topic header small { color: #2563eb; font-size: 11px; font-weight: 700; letter-spacing: .07em; }
.faq-topic header h3 { margin: 3px 0 0; color: #0f172a; font-size: 15px; font-weight: 650; line-height: 1.4; word-break: keep-all; }
.faq-item { border-bottom: 1px solid #e8edf4; background: #fff; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 10px; align-items: center; padding: 15px 16px; color: #24344d; cursor: pointer; font-size: 13px; font-weight: 620; line-height: 1.55; list-style: none; word-break: keep-all; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { background: #f8fbff; color: #1d4ed8; }
.faq-item summary:focus-visible { outline: 3px solid #bfdbfe; outline-offset: -3px; }
.faq-toggle { position: relative; width: 24px; height: 24px; border-radius: 8px; background: #eef4fc; }
.faq-toggle::before, .faq-toggle::after { position: absolute; inset: 50% auto auto 50%; width: 10px; height: 1.5px; border-radius: 2px; background: #3569ad; content: ""; transform: translate(-50%, -50%); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .18s ease, opacity .18s ease; }
.faq-item[open] { background: #fbfdff; }
.faq-item[open] summary { color: #1d4ed8; }
.faq-item[open] .faq-toggle { background: #dbeafe; }
.faq-item[open] .faq-toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 16px 16px; }
.faq-answer p { margin: 0; color: #5b6b82; font-size: 12.5px; line-height: 1.75; word-break: keep-all; }
.faq-answer strong { color: #334155; font-weight: 650; }
.faq-answer button { display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; padding: 0; border: 0; background: transparent; color: #1d4ed8; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer; }
.faq-answer button:hover { text-decoration: underline; }
.faq-answer button svg { width: 14px; height: 14px; }
.onboarding-faq-section { overflow: hidden; }
.onboarding-faq-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.onboarding-faq-nav button { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 11px; align-items: center; padding: 14px 15px; border: 1px solid var(--ink-200); border-radius: 14px; background: #fff; color: var(--ink-800); font: inherit; text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); }
.onboarding-faq-nav button:hover { border-color: #93b4e8; background: var(--blue-50); transform: translateY(-1px); }
.onboarding-faq-nav button > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-100); color: var(--blue-700); }
.onboarding-faq-nav button > span svg { width: 19px; height: 19px; }
.onboarding-faq-nav button > svg { width: 17px; height: 17px; color: var(--ink-400); }
.onboarding-faq-nav small, .onboarding-faq-nav strong { display: block; }
.onboarding-faq-nav small { color: var(--ink-500); font-size: 11px; }
.onboarding-faq-nav strong { margin-top: 2px; color: var(--ink-900); font-size: 13px; font-weight: 650; }

.landing-final-cta { width: min(1260px, calc(100% - 64px)); display: flex; align-items: center; justify-content: space-between; gap: 34px; margin: 0 auto 84px; padding: clamp(34px, 5vw, 58px); overflow: hidden; border-radius: 24px; background: radial-gradient(circle at 90% 20%, rgb(59 130 246 / 27%), transparent 30%), #0d1729; color: #fff; }
.landing-final-cta p { margin: 0; color: #7dd3fc; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.landing-final-cta h2 { margin: 6px 0 8px; font-size: clamp(28px, 3vw, 42px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.landing-final-cta div > span { color: #aebdd1; font-size: 14px; }
.landing-final-cta button { flex: 0 0 auto; min-width: 150px; }
.landing-footer { width: min(1260px, calc(100% - 64px)); display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 auto; padding: 30px 0 42px; border-top: 1px solid #e2e8f0; color: #64748b; }
.landing-footer .landing-brand { color: #0f172a; }
.landing-footer .landing-brand small { color: #64748b; }
.landing-footer .brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
.landing-footer > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; font-size: 11px; }

.landing-login-dialog { width: min(510px, calc(100% - 32px)); max-height: min(840px, calc(100vh - 32px)); padding: 0; overflow: auto; border: 1px solid #dbe3ef; border-radius: 22px; background: #fff; color: #0f172a; box-shadow: 0 30px 90px rgb(2 6 23 / 34%); }
.landing-login-dialog::backdrop { background: rgb(2 6 23 / 68%); backdrop-filter: blur(7px); }
.landing-login-inner { padding: 30px; }
.landing-login-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.landing-login-status { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid #e2e8f0; border-radius: 999px; background: #f8fafc; color: #475569; font-size: 12px; }
.landing-dialog-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #475569; font-size: 22px; cursor: pointer; }
.landing-dialog-close:hover { background: #f1f5f9; color: #0f172a; }
.landing-login-heading { margin: 30px 0 25px; word-break: keep-all; }
.landing-login-heading > span { color: #2563eb; font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.landing-login-heading h2 { margin: 7px 0 8px; font-size: clamp(29px, 4vw, 38px); font-weight: 650; line-height: 1.25; letter-spacing: -.035em; }
.landing-login-heading p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.7; }
.landing-auth-form { display: grid; gap: 17px; }
.landing-auth-form .field { min-width: 0; }
.landing-auth-form .field label { font-size: 14px; }
.landing-auth-form .input { min-height: 50px; border-radius: 10px; }
.landing-login-button { width: 100%; min-height: 52px; margin-top: 3px; border-radius: 10px; font-size: 15px; }
.landing-auth-message { margin: -4px 0 0; padding: 10px 12px; border-radius: 9px; background: #fee2e2; color: #b91c1c; font-size: 13px; line-height: 1.5; }
.landing-login-help { margin-top: 26px; padding: 18px; border: 1px solid #e2e8f0; border-radius: 14px; background: #f8fafc; }
.landing-login-help > strong { font-size: 13px; font-weight: 650; }
.landing-login-help ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; color: #64748b; font-size: 12px; line-height: 1.55; }
.landing-login-help li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 7px; }
.landing-login-help li span { color: #0f172a; font-weight: 650; }
.landing-security-note { display: flex; align-items: flex-start; gap: 8px; margin: 16px 3px 0; color: #64748b; font-size: 11px; line-height: 1.6; word-break: keep-all; }
.landing-security-note svg { flex: 0 0 auto; margin-top: 2px; color: #15803d; }

@media (max-width: 1100px) {
  .landing-nav { display: none; }
  .landing-hero { min-height: 760px; grid-template-columns: minmax(0, 1fr) minmax(430px, .9fr); }
  .landing-capability-grid { grid-template-columns: 1fr 1fr; }
  .landing-workflow-list { grid-template-columns: 1fr 1fr; }
  .landing-workflow-list li:nth-child(2)::after { display: none; }
  .landing-trust { grid-template-columns: 1fr; }
  .landing-value-layout { grid-template-columns: 1fr; }
}

@media (max-width: 1180px) {
  .onboarding-faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .landing-header { width: calc(100% - 40px); height: 78px; }
  .landing-brand small { display: none; }
  .landing-hero { min-height: auto; grid-template-columns: 1fr; padding: 122px 20px 86px; }
  .landing-hero-copy { max-width: 720px; }
  .landing-hero h1 { font-size: clamp(40px, 9.5vw, 62px); }
  .landing-hero-visual { max-width: 680px; margin: 6px auto 0; }
  .landing-float-top { left: 1%; }
  .landing-proof { width: calc(100% - 40px); grid-template-columns: 1fr 1fr; }
  .landing-proof article:nth-child(3) { border-left: 0; }
  .landing-proof article:nth-child(n+3) { border-top: 1px solid #e2e8f0; }
  .landing-section, .landing-final-cta, .landing-footer { width: calc(100% - 40px); }
  .landing-capability-grid { grid-template-columns: 1fr; }
  .faq-topic { grid-template-columns: 1fr; }
  .faq-topic > header { border-right: 0; border-bottom: 1px solid #e8edf4; }
  .landing-trust-grid { grid-template-columns: 1fr; }
  .landing-final-cta { align-items: flex-start; flex-direction: column; }
  .landing-final-cta button { width: 100%; }
  .onboarding-faq-nav { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .landing-header { width: calc(100% - 32px); }
  .landing-header .brand-mark { width: 36px; height: 36px; font-size: 17px; }
  .landing-login-trigger { min-height: 38px; padding: 7px 12px; }
  .landing-hero { padding-right: 16px; padding-left: 16px; }
  .landing-hero h1 br { display: none; }
  .landing-hero-actions { align-items: stretch; flex-direction: column; }
  .landing-primary-cta, .landing-secondary-cta { width: 100%; justify-content: center; }
  .landing-float-card { display: none; }
  .landing-proof, .landing-section, .landing-final-cta, .landing-footer { width: calc(100% - 32px); }
  .landing-proof { grid-template-columns: 1fr; margin-top: -30px; }
  .landing-proof article + article { border-top: 1px solid #e2e8f0; border-left: 0; }
  .landing-section { padding-top: 78px; padding-bottom: 78px; }
  .landing-workflow, .landing-faq { width: 100%; padding-right: 16px; padding-left: 16px; }
  .landing-faq-helper { grid-template-columns: 42px minmax(0, 1fr); padding: 16px; }
  .landing-faq-helper .landing-text-cta { grid-column: 1 / -1; justify-self: start; }
  .landing-capability-grid, .landing-workflow-list { grid-template-columns: 1fr; }
  .landing-workflow-list li::after { display: none; }
  .landing-capability-grid article { min-height: 0; }
  .capability-result { margin-top: 20px; }
  .landing-trust { grid-template-columns: 1fr; }
  .landing-footer { align-items: flex-start; flex-direction: column; }
  .landing-footer > div { justify-content: flex-start; }
  .landing-login-inner { padding: 24px 20px; }
}

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: var(--sidebar-width); flex-direction: column; border-right: 1px solid #1d293d; background: var(--ink-950); color: var(--ink-300); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 20px 22px; border-bottom: 1px solid #1c2738; }
.brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #3b82f6, #1d4ed8); color: white; font-size: 20px; font-weight: 650; box-shadow: 0 8px 22px rgb(37 99 235 / 30%); }
.brand strong { display: block; color: white; font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
.brand span { display: block; margin-top: 2px; color: var(--ink-300); font-size: 12px; }
.navigation { flex: 1; overflow-y: auto; padding: 18px 14px; }
.nav-label { display: block; margin: 20px 10px 8px; color: #8fa1ba; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.nav-label:first-child { margin-top: 0; }
.nav-item { display: flex; width: 100%; align-items: center; gap: 12px; margin: 3px 0; padding: 10px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-300); text-align: left; cursor: pointer; transition: background .16s ease, color .16s ease, transform .16s ease; }
.nav-item:hover { background: #172235; color: white; }
.nav-item:active { transform: translateY(1px); }
.nav-item.active { background: linear-gradient(90deg, #173a77, #132d5c); color: white; box-shadow: inset 3px 0 #60a5fa; }
.nav-icon { display: grid; width: 22px; place-items: center; color: #8fa4c3; }
.nav-item.active .nav-icon { color: #93c5fd; }
.nav-copy { display: grid; min-width: 0; gap: 1px; }
.nav-copy strong { color: inherit; font-size: 14px; font-weight: 600; }
.nav-copy small { overflow: hidden; color: #8b9cb4; font-size: 11px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.nav-item.active .nav-copy small, .nav-item:hover .nav-copy small { color: #a9bbd4; }
.sidebar-context { margin: 0 14px 14px; padding: 14px; border: 1px solid #263449; border-radius: var(--radius-md); background: #111c2d; }
.context-label { margin-bottom: 8px; color: #91a3bc; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.selected-drive { min-height: 24px; color: white; font-weight: 600; word-break: break-all; }
.selected-drive .muted { color: #aab8ca; font-size: 13px; font-weight: 400; }
.sidebar-footer { display: flex; justify-content: space-between; padding: 13px 18px; border-top: 1px solid #1c2738; color: #8fa1ba; font-size: 11px; }
.workspace { min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 104px; align-items: center; justify-content: space-between; gap: 24px; padding: 18px clamp(24px, 4vw, 64px); border-bottom: 1px solid var(--ink-200); background: rgb(248 250 252 / 92%); backdrop-filter: blur(14px); }
.page-heading { min-width: 0; }
.eyebrow { color: var(--blue-600); font-size: 11px; font-weight: 650; letter-spacing: .1em; }
.page-heading h1 { margin: 3px 0 0; font-size: clamp(24px, 2.2vw, 30px); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; text-wrap: balance; }
.page-heading p { margin: 6px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.5; }
.topbar-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.system-status { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--ink-200); border-radius: 999px; background: white; color: var(--ink-600); font-size: 13px; font-weight: 550; box-shadow: var(--shadow-sm); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-400); }
.status-dot.healthy { background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / 12%); }
.status-dot.degraded { background: #f59e0b; box-shadow: 0 0 0 4px rgb(245 158 11 / 12%); }
.status-dot.offline { background: #ef4444; box-shadow: 0 0 0 4px rgb(239 68 68 / 12%); }
.content { width: min(1480px, 100%); margin: 0 auto; padding: 34px clamp(24px, 4vw, 64px) 64px; outline: none; }

.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 54px); border: 1px solid #c8d7ef; border-radius: 24px; background: linear-gradient(135deg, #f7fbff 0%, #eef5ff 52%, #f9fbff 100%); box-shadow: var(--shadow-sm); }
.hero::after { position: absolute; right: -120px; bottom: -150px; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle, rgb(37 99 235 / 16%), transparent 68%); content: ""; pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero h2 { max-width: 780px; margin: 14px 0 14px; font-size: clamp(34px, 4vw, 52px); font-weight: 650; line-height: 1.18; letter-spacing: -.04em; text-wrap: balance; }
.hero p { max-width: 720px; margin: 0; color: var(--ink-600); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button.large { min-height: 48px; padding: 12px 18px; border-radius: 11px; font-size: 15px; }

.product-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(28px, 4vw, 64px); min-height: 570px; background: radial-gradient(circle at 85% 20%, rgb(96 165 250 / 16%), transparent 32%), linear-gradient(135deg, #f9fcff, #edf5ff 58%, #f7faff); }
.product-hero .hero-content { max-width: 650px; }
.hero-kicker { margin-top: 24px !important; color: var(--blue-700) !important; font-size: 14px !important; font-weight: 600; }
.product-hero h2 { margin-top: 8px; max-width: 650px; font-size: clamp(38px, 4.2vw, 56px); word-break: keep-all; }
.product-hero .hero-title-line { display: block; color: inherit; }
.product-hero .hero-title-line.accent { color: var(--blue-600); }
.product-hero .hero-lead { max-width: 630px; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.product-hero .hero-lead strong { color: var(--ink-900); }
.safety-note { display: flex; align-items: center; gap: 7px; margin-top: 18px !important; color: var(--ink-600) !important; font-size: 13px !important; }
.safety-note svg { color: var(--green-700); }
.product-visual { position: relative; z-index: 1; min-width: 0; }
.product-visual > svg { width: 100%; height: auto; filter: none; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / 11%); }

.input-output-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 18px; padding: 20px 24px; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.input-output-strip > div { min-width: 0; }
.input-output-strip strong { display: block; margin-top: 4px; color: var(--ink-900); font-size: 17px; font-weight: 600; }
.input-output-strip p { margin: 4px 0 0; color: var(--ink-600); font-size: 13px; line-height: 1.5; }
.io-label { color: var(--blue-600); font-size: 11px; font-weight: 650; letter-spacing: .05em; }
.io-arrow { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-weight: 600; }

.section-header.spacious { margin-bottom: 20px; }
.section-header.spacious h2 { margin-top: 5px; font-size: clamp(26px, 2.5vw, 33px); font-weight: 650; line-height: 1.3; text-wrap: balance; }
.section-header.spacious p { max-width: 680px; font-size: 14px; }
.section-kicker { color: var(--blue-600); font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.journey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.journey-card { position: relative; padding: 24px; overflow: hidden; border: 1px solid var(--ink-200); border-radius: 20px; background: white; box-shadow: var(--shadow-sm); }
.journey-card::after { position: absolute; top: 0; right: 0; width: 80px; height: 80px; border-radius: 0 0 0 100%; background: var(--blue-50); content: ""; }
.journey-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.journey-number { color: var(--blue-600); font-size: 13px; font-weight: 650; letter-spacing: .06em; }
.journey-time { color: var(--ink-600); font-size: 12px; font-weight: 500; }
.journey-icon { display: grid; width: 46px; height: 46px; place-items: center; margin-top: 24px; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); font-size: 21px; }
.journey-card h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.journey-card p { margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }
.journey-result { margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--ink-100); color: var(--green-700); font-size: 13px; font-weight: 550; }
.center-action { display: flex; justify-content: center; margin-top: 20px; }

.feature-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.feature-card { display: flex; min-width: 0; min-height: 275px; flex-direction: column; padding: 22px; border: 1px solid var(--ink-200); border-radius: 18px; background: white; box-shadow: var(--shadow-sm); }
.feature-card:nth-child(1), .feature-card:nth-child(2) { grid-column: span 3; }
.feature-card:nth-child(n+3) { grid-column: span 3; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--blue-50); color: var(--blue-700); font-size: 19px; }
.feature-copy { flex: 1; }
.feature-eyebrow { display: block; margin-top: 16px; color: var(--blue-600); font-size: 12px; font-weight: 600; }
.feature-card h3 { margin: 4px 0 8px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.feature-card p { margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }
.feature-outcome { display: flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--green-700); font-size: 13px; font-weight: 550; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 7px; margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--blue-700); font-size: 14px; font-weight: 600; cursor: pointer; }
.text-link:hover { text-decoration: underline; }

.clarity-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.clarity-card { padding: 26px; border: 1px solid; border-radius: 20px; }
.clarity-card h2 { max-width: 520px; margin: 7px 0 17px; font-size: 22px; font-weight: 600; line-height: 1.4; text-wrap: balance; }
.do-card { border-color: #bbf7d0; background: #f4fcf6; }
.dont-card { border-color: #fecdd3; background: #fff8f8; }
.plain-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; color: var(--ink-700); font-size: 14px; }
.plain-list li { display: flex; align-items: center; gap: 9px; }
.do-card .plain-list svg { color: var(--green-700); }
.dont-card .plain-list svg { color: var(--red-700); }

.glossary-section { padding: 26px; border: 1px solid var(--ink-200); border-radius: 20px; background: white; }
.glossary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.glossary-grid article { padding: 16px; border-radius: 13px; background: var(--ink-50); }
.glossary-grid strong { color: var(--blue-700); font-size: 15px; font-weight: 600; }
.glossary-grid p { margin: 6px 0 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; }

.page-guide { display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); align-items: stretch; overflow: hidden; margin-bottom: 22px; border: 1px solid #c9d8ed; border-radius: 16px; background: white; box-shadow: var(--shadow-sm); }
.page-guide-title, .page-guide-item { min-width: 0; padding: 16px 18px; }
.page-guide-title { display: flex; align-items: center; gap: 11px; background: #eff6ff; }
.guide-icon { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--blue-600); color: white; font-size: 15px; font-weight: 650; }
.page-guide-title strong, .page-guide-title span:not(.guide-icon) { display: block; }
.page-guide-title strong { color: var(--ink-900); font-size: 15px; font-weight: 600; }
.page-guide-title span:not(.guide-icon) { color: var(--ink-600); font-size: 12px; }
.page-guide-item { border-left: 1px solid var(--ink-200); }
.page-guide-item span, .page-guide-item strong { display: block; }
.page-guide-item span { color: var(--blue-600); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.page-guide-item strong { margin-top: 5px; color: var(--ink-700); font-size: 13px; font-weight: 500; line-height: 1.55; }
.section-compact { margin-top: 0; }
.glossary-box { padding: 0 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: white; }
.glossary-box .details-content p { margin: 7px 0; color: var(--ink-600); }

.data-source-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(480px, 1.2fr); align-items: center; gap: 30px; padding: 28px; border: 1px solid #c9d8ed; border-radius: 20px; background: linear-gradient(135deg, #f8fbff, #edf5ff); }
.data-source-hero h2 { margin: 5px 0 8px; font-size: clamp(24px, 2.8vw, 34px); }
.data-source-hero p { max-width: 620px; margin: 0; color: var(--ink-600); }
.source-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid #cfddf1; border-radius: 14px; background: rgb(255 255 255 / 82%); }
.source-stats > div { min-width: 0; padding: 17px; border-left: 1px solid var(--ink-200); }
.source-stats > div:first-child { border-left: 0; }
.source-stats span, .source-stats strong { display: block; }
.source-stats span { color: var(--ink-600); font-size: 11px; font-weight: 550; }
.source-stats strong { margin-top: 6px; color: var(--ink-900); font-size: 15px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.pipeline-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr) auto) minmax(0, 1fr); align-items: center; gap: 10px; }
.pipeline-steps.data-pipeline { grid-template-columns: repeat(7, minmax(0, 1fr) auto) minmax(0, 1fr); gap: 8px; }
.pipeline-step { display: flex; min-width: 0; min-height: 112px; flex-direction: column; align-items: flex-start; gap: 9px; padding: 14px 16px; border: 1px solid var(--ink-200); border-radius: 14px; background: white; }
.pipeline-step > span { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--ink-100); color: var(--ink-500); font-size: 12px; font-weight: 600; }
.pipeline-step > div { width: 100%; min-width: 0; }
.pipeline-step.active { border-color: #bfdbfe; background: var(--blue-50); }
.pipeline-step.active > span { background: var(--blue-600); color: white; }
.pipeline-step.future { border-style: dashed; background: var(--ink-50); }
.pipeline-step strong, .pipeline-step p { display: block; margin: 0; }
.pipeline-step strong { color: var(--ink-900); font-size: 14px; font-weight: 600; line-height: 1.4; overflow-wrap: normal; text-wrap: balance; word-break: keep-all; }
.pipeline-step p { margin-top: 3px; color: var(--ink-600); font-size: 11px; line-height: 1.45; overflow-wrap: normal; text-wrap: balance; word-break: keep-all; }
.pipeline-connector { color: var(--blue-600); font-weight: 600; }

.method-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(270px, .55fr); align-items: center; gap: 28px; padding: clamp(26px, 4vw, 42px); border: 1px solid #c9d8ed; border-radius: 22px; background: linear-gradient(135deg, #f8fbff, #edf5ff); box-shadow: var(--shadow-sm); }
.method-hero h2 { max-width: 690px; margin: 7px 0 12px; color: var(--ink-950); font-size: clamp(28px, 2.8vw, 38px); font-weight: 650; line-height: 1.24; letter-spacing: -.035em; text-wrap: balance; word-break: keep-all; }
.method-hero p { max-width: 720px; margin: 0; color: var(--ink-600); font-size: 16px; }
.method-example { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; padding: 20px; border: 1px solid #bdd2ef; border-radius: 17px; background: rgb(255 255 255 / 88%); box-shadow: var(--shadow-md); }
.method-example > span, .method-example > strong, .method-example > p { grid-column: 1 / -1; }
.method-example > span { color: var(--blue-600); font-size: 12px; font-weight: 600; }
.method-example > strong { overflow-wrap: anywhere; color: var(--ink-950); font-size: 20px; font-weight: 650; }
.method-example > div { padding: 13px; border-radius: 12px; background: var(--ink-50); }
.method-example small, .method-example b { display: block; }
.method-example small { color: var(--ink-600); font-size: 12px; }
.method-example b { margin-top: 4px; color: var(--ink-950); font-size: 22px; font-weight: 650; }
.method-example p { color: var(--ink-600); font-size: 12px; line-height: 1.5; }

.concept-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.concept-card { position: relative; overflow: hidden; min-height: 230px; padding: 22px; border: 1px solid var(--ink-200); border-radius: 17px; background: white; box-shadow: var(--shadow-sm); }
.concept-card::after { position: absolute; right: -42px; bottom: -52px; width: 130px; height: 130px; border-radius: 50%; background: currentColor; content: ""; opacity: .06; }
.concept-card.blue { color: var(--blue-700); }
.concept-card.violet { color: var(--violet-700); }
.concept-card.amber { color: var(--amber-700); }
.concept-number { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: currentColor; color: white; font-size: 12px; font-weight: 650; }
.concept-card h3 { margin: 18px 0 2px; color: var(--ink-950); font-size: 20px; font-weight: 650; }
.concept-card > strong { display: block; color: currentColor; font-size: 14px; font-weight: 600; }
.concept-card p { margin: 12px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.65; }

.method-pipeline { margin-bottom: 14px; }
.formula-card { padding: 22px; border: 1px solid #c4d7f0; border-radius: 17px; background: linear-gradient(135deg, #f8fbff, #eef5ff); }
.formula-label { color: var(--blue-600); font-size: 12px; font-weight: 650; letter-spacing: .04em; }
.formula-equation { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 9px; color: var(--ink-700); }
.formula-equation strong { color: var(--ink-950); font-size: 21px; font-weight: 650; }
.formula-equation em { padding: 7px 10px; border: 1px solid #cbdaf0; border-radius: 9px; background: white; color: var(--blue-700); font-size: 14px; font-style: normal; font-weight: 550; }
.formula-card p { margin: 12px 0 0; color: var(--ink-600); font-size: 13px; }

.feature-list { display: grid; gap: 11px; margin: 0 0 16px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-700); font-size: 14px; }
.feature-list svg { flex: 0 0 auto; margin-top: 4px; color: var(--green-700); }
.weight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.weight-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 11px; border-radius: 9px; background: var(--ink-50); }
.weight-grid span { color: var(--ink-600); font-size: 12px; }
.weight-grid strong { color: var(--ink-900); font-size: 13px; font-weight: 600; }
.timeline-list { position: relative; display: grid; gap: 0; margin: 2px 0 0; padding: 0; list-style: none; }
.timeline-list li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 14px 0 14px 22px; border-left: 2px solid #c9d9ef; }
.timeline-list li::before { position: absolute; top: 20px; left: -6px; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 1px #8fb1e2; content: ""; }
.timeline-list span { color: var(--blue-700); font-size: 12px; font-weight: 600; }
.timeline-list strong { color: var(--ink-700); font-size: 13px; font-weight: 550; }

.runtime-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.runtime-card { min-width: 0; padding: 19px; border: 1px solid var(--ink-200); border-radius: 15px; background: white; box-shadow: var(--shadow-sm); }
.runtime-card > span:first-child { display: block; color: var(--blue-600); font-size: 12px; font-weight: 600; }
.runtime-card > strong { display: block; margin-top: 7px; overflow-wrap: anywhere; color: var(--ink-950); font-size: 17px; font-weight: 650; line-height: 1.45; }
.runtime-card p { min-height: 68px; margin: 7px 0 12px; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
.model-update-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
.model-update-summary > article { min-width: 0; padding: 18px; border: 1px solid var(--ink-200); border-radius: 15px; background: white; box-shadow: var(--shadow-sm); }
.model-update-summary span, .model-update-summary strong, .model-update-summary p { display: block; }
.model-update-summary span { color: var(--blue-600); font-size: 12px; font-weight: 600; }
.model-update-summary strong { margin-top: 7px; overflow-wrap: anywhere; color: var(--ink-950); font-size: 18px; font-weight: 650; line-height: 1.4; }
.model-update-summary p { margin: 7px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.model-update-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.model-update-flow li { display: flex; min-width: 0; gap: 12px; padding: 18px; border: 1px solid #cbdaf0; border-radius: 15px; background: #f8fbff; }
.model-update-flow li > span { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--blue-600); color: white; font-size: 12px; font-weight: 650; }
.model-update-flow li > div { min-width: 0; }
.model-update-flow strong, .model-update-flow p, .model-update-flow small { display: block; }
.model-update-flow strong { color: var(--ink-950); font-size: 15px; font-weight: 650; line-height: 1.4; word-break: keep-all; }
.model-update-flow p { margin: 7px 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; word-break: keep-all; }
.model-update-flow small { color: var(--blue-700); font-size: 11px; font-weight: 600; }
.model-update-flow li.live-change { border-color: #a7d8bd; background: #f0fdf4; }
.model-update-flow li.live-change > span { background: var(--green-700); }
.model-update-flow li.live-change small { color: var(--green-700); }
.model-update-details { margin-top: 14px; }
.model-update-details .card > p { color: var(--ink-600); font-size: 13px; line-height: 1.65; }
.limitation-panel { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); gap: 24px; padding: 24px; border: 1px solid #fde68a; border-radius: 17px; background: #fffbeb; }
.limitation-panel h2 { margin: 5px 0 0; color: #713f12; font-size: 23px; font-weight: 650; }
.limitation-panel ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.limitation-panel li { display: flex; align-items: flex-start; gap: 9px; color: #854d0e; font-size: 13px; }
.limitation-panel svg { flex: 0 0 auto; margin-top: 3px; }
.data-intake-layout { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr) !important; align-items: start; }
.upload-zone { display: grid; min-height: 245px; place-items: center; align-content: center; padding: 28px; border: 2px dashed #a9bfdf; border-radius: 16px; background: #f8fbff; text-align: center; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--blue-600); background: var(--blue-50); transform: translateY(-1px); }
.upload-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 13px; border-radius: 16px; background: var(--blue-100); color: var(--blue-700); font-size: 24px; }
.upload-zone strong { font-size: 17px; font-weight: 600; }
.upload-zone p { margin: 6px 0 0; color: var(--ink-600); font-size: 13px; }
.selected-file { display: flex; align-items: center; gap: 11px; margin-top: 12px; padding: 12px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.selected-file > svg { flex: 0 0 auto; color: var(--blue-600); font-size: 20px; }
.selected-file > div { flex: 1; min-width: 0; }
.selected-file strong, .selected-file span { display: block; }
.selected-file strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-file span { color: var(--ink-600); font-size: 12px; }
.selected-file > .badge { display: inline-flex; color: var(--blue-700); }
.upload-queue-actions { display: flex; gap: 10px; align-items: center; }
.upload-queue-actions .data-submit { flex: 1; }
.upload-queue-status { display: grid; gap: 9px; margin-top: 12px; padding: 13px 14px; border: 1px solid var(--blue-200); border-radius: 12px; background: var(--blue-50); }
.upload-queue-status > div:first-child { display: flex; justify-content: space-between; gap: 12px; min-width: 0; }
.upload-queue-status strong, .upload-queue-status span { overflow-wrap: anywhere; }
.upload-queue-status span { color: var(--ink-600); font-size: 13px; }
.upload-queue-status details { font-size: 13px; }
.upload-queue-status ul { margin: 8px 0 0; padding-left: 20px; }
.data-submit { width: 100%; margin-top: 12px; }
.upload-help { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.upload-help svg { flex: 0 0 auto; color: var(--amber-700); }

/* Data intake methods: one task at a time, with readable examples. */
.data-intake-methods { min-width: 0; }
.data-workflow-tabs { position: sticky; top: 72px; z-index: 8; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 22px 0; padding: 7px; border: 1px solid #cbdaf0; border-radius: 18px; background: rgba(248, 251, 255, .96); box-shadow: 0 8px 22px rgba(15, 23, 42, .07); backdrop-filter: blur(12px); }
.data-workflow-tabs button { min-width: 0; min-height: 70px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; align-items: center; padding: 10px 14px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--ink-600); font: inherit; text-align: left; cursor: pointer; }
.data-workflow-tabs button:hover { border-color: #c7d8ef; background: #fff; color: var(--ink-900); }
.data-workflow-tabs button.selected { border-color: #93c5fd; background: #fff; color: var(--blue-700); box-shadow: 0 3px 10px rgba(37, 99, 235, .1); }
.data-workflow-tabs button:focus-visible { outline: 3px solid var(--blue-100); outline-offset: 2px; }
.data-workflow-tabs button > span:last-child { min-width: 0; }
.data-workflow-tabs strong, .data-workflow-tabs small { display: block; overflow-wrap: anywhere; }
.data-workflow-tabs strong { font-size: 15px; font-weight: 700; }
.data-workflow-tabs small { margin-top: 3px; color: var(--ink-500); font-size: 12px; line-height: 1.4; }
.data-workflow-number { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--ink-100); color: var(--ink-600); font-size: 13px; font-weight: 700; }
.data-workflow-tabs button.selected .data-workflow-number { background: var(--blue-600); color: #fff; }
.data-workflow-panel { min-width: 0; animation: data-panel-in .18s ease-out; }
@keyframes data-panel-in { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.data-task-intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr); gap: 24px; align-items: center; padding: 24px; border: 1px solid #c7d8ef; border-radius: 18px; background: linear-gradient(135deg, #f8fbff, #eef6ff); }
.data-task-intro h2 { margin: 5px 0 8px; color: var(--ink-950); font-size: clamp(23px, 2.5vw, 32px); font-weight: 700; line-height: 1.25; text-wrap: balance; word-break: keep-all; }
.data-task-intro p { max-width: 760px; margin: 0; color: var(--ink-600); font-size: 15px; line-height: 1.7; word-break: keep-all; }
.data-task-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #d7e2f2; border-radius: 13px; background: rgba(255,255,255,.82); }
.data-task-facts > div { min-width: 0; padding: 13px 11px; border-left: 1px solid #d7e2f2; }
.data-task-facts > div:first-child { border-left: 0; }
.data-task-facts span, .data-task-facts strong { display: block; word-break: keep-all; }
.data-task-facts span { color: var(--ink-500); font-size: 11px; }
.data-task-facts strong { margin-top: 5px; color: var(--ink-900); font-size: 13px; font-weight: 650; line-height: 1.45; }
.data-context-details { overflow: hidden; margin-top: 16px; border: 1px solid var(--ink-200); border-radius: 15px; background: #fff; }
.data-context-details > summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 15px 18px; color: var(--ink-800); cursor: pointer; list-style: none; }
.data-context-details > summary::-webkit-details-marker { display: none; }
.data-context-details > summary::after { content: "+"; flex: 0 0 auto; color: var(--blue-700); font-size: 21px; line-height: 1; }
.data-context-details[open] > summary::after { content: "−"; }
.data-context-details > summary span { font-weight: 700; }
.data-context-details > summary small { margin-left: auto; color: var(--ink-500); font-size: 12px; text-align: right; }
.data-context-body { display: grid; gap: 14px; padding: 0 18px 18px; border-top: 1px solid var(--ink-100); }
.data-context-body > :first-child { margin-top: 18px; }
.data-workflow-content { margin-top: 18px; }
.data-next-tab { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-top: 22px; padding: 17px 18px; border: 1px solid #bfdbfe; border-radius: 14px; background: var(--blue-50); }
.data-next-tab strong, .data-next-tab span { display: block; }
.data-next-tab strong { color: var(--ink-900); font-size: 15px; }
.data-next-tab span { margin-top: 4px; color: var(--ink-600); font-size: 13px; line-height: 1.5; }
.data-next-tab .button { flex: 0 0 auto; }
.data-next-tab .button svg { width: 17px; height: 17px; }
.data-method-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 6px; margin-bottom: 14px; border: 1px solid var(--ink-200); border-radius: 16px; background: var(--ink-50); }
.data-method-tabs button { min-width: 0; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border: 0; border-radius: 11px; background: transparent; color: var(--ink-600); font: inherit; font-weight: 700; cursor: pointer; }
.data-method-tabs button:hover { color: var(--ink-900); background: rgba(255,255,255,.75); }
.data-method-tabs button.selected { color: var(--blue-700); background: #fff; box-shadow: 0 1px 4px rgba(15,23,42,.1); }
.data-method-panel { min-width: 0; }
.path-help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.path-help-card { min-width: 0; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--ink-200); border-radius: 14px; background: var(--ink-50); }
.path-help-card > span { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--blue-700); background: var(--blue-50); }
.path-help-card > div { min-width: 0; display: grid; gap: 6px; }
.path-help-card strong { font-size: 14px; }
.path-help-card p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.path-example { display: block; max-width: 100%; padding: 9px 10px; border: 1px solid var(--ink-200); border-radius: 9px; background: #fff; color: var(--ink-700); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; word-break: break-word; }
.path-help-card .text-link { width: max-content; padding: 3px 0; }
.remote-download-form { margin-top: 18px; }
.remote-download-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.remote-download-row .button { white-space: nowrap; }
.source-link-card { display: flex; gap: 18px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 16px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; }
.source-link-card div { min-width: 0; }
.source-link-card p { margin: 4px 0 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; }
.source-link-card .button { flex: 0 0 auto; }
#download-jobs { margin-top: 18px; }
.download-empty { display: grid; gap: 5px; padding: 18px; border: 1px dashed var(--ink-200); border-radius: 14px; color: var(--ink-600); }
.download-empty strong { color: var(--ink-900); }
.download-job-list { display: grid; gap: 10px; }
.download-job { min-width: 0; padding: 14px; border: 1px solid var(--ink-200); border-radius: 13px; background: #fff; }
.download-job-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.download-job-head > div { min-width: 0; display: grid; gap: 4px; }
.download-job-head strong { overflow-wrap: anywhere; }
.download-job-head span { color: var(--ink-600); font-size: 12px; }
.download-job .job-progress { margin-top: 10px; }
.download-error { margin: 10px 0 0; color: var(--red-700); font-size: 13px; line-height: 1.5; }
.download-path { margin: 10px 0 0; }
.download-path code { overflow-wrap: anywhere; }

@media (max-width: 760px) {
  .data-method-tabs { grid-template-columns: 1fr; }
  .data-method-tabs button { justify-content: flex-start; }
  .path-help-grid { grid-template-columns: 1fr; }
  .remote-download-row { grid-template-columns: 1fr; }
  .source-link-card { align-items: stretch; flex-direction: column; }
  .source-link-card .button { width: 100%; }
}

/* Admin account and session policy */
.account-policy-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 16px; }
.session-policy-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.number-with-unit { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.number-with-unit .input { border-radius: 10px 0 0 10px; }
.number-with-unit span { height: 100%; display: grid; place-items: center; padding: 0 14px; border: 1px solid var(--ink-200); border-left: 0; border-radius: 0 10px 10px 0; background: var(--ink-50); color: var(--ink-600); }
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.account-form-grid > .button { align-self: end; width: max-content; }
.account-list { display: grid; gap: 12px; }
.account-row { min-width: 0; display: grid; grid-template-columns: minmax(180px, .62fr) minmax(0, 1.7fr) auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--ink-200); border-radius: 14px; background: var(--white); }
.account-identity { min-width: 0; display: flex; gap: 10px; align-items: center; }
.account-identity > div { min-width: 0; display: grid; }
.account-identity strong, .account-identity code { overflow-wrap: anywhere; }
.account-avatar { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); font-weight: 750; }
.account-edit-grid { min-width: 0; display: grid; grid-template-columns: minmax(130px, 1fr) minmax(130px, .7fr) minmax(170px, 1fr) auto; gap: 10px; align-items: end; }
.account-edit-grid .field label { font-size: 12px; }
.account-enabled { display: flex; align-items: center; gap: 7px; min-height: 44px; white-space: nowrap; font-size: 13px; }
.account-row-actions { display: grid; gap: 7px; min-width: 118px; }
.account-row-actions > span { text-align: right; color: var(--ink-500); font-size: 11px; }

@media (max-width: 1180px) {
  .account-policy-grid { grid-template-columns: 1fr; }
  .account-row { grid-template-columns: 1fr; }
  .account-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-row-actions { grid-template-columns: 1fr 1fr; }
  .account-row-actions > span { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 680px) {
  .session-policy-form, .account-form-grid, .account-edit-grid { grid-template-columns: 1fr; }
  .account-form-grid > .button { width: 100%; }
}

/* Session countdown and always-available assistant */
.account-button-copy { min-width: 0; display: grid; text-align: left; line-height: 1.2; }
.account-button-copy small { margin-top: 3px; color: var(--ink-500); font-size: 11px; font-variant-numeric: tabular-nums; }
.route-render-host { min-width: 0; }
.session-dialog-time { margin-top: 6px !important; color: var(--blue-700) !important; font-variant-numeric: tabular-nums; }
.assistant-launcher { position: fixed; right: 24px; bottom: 22px; z-index: 42; display: inline-flex; align-items: center; gap: 9px; min-height: 50px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--blue-600); color: #fff; box-shadow: 0 14px 32px rgb(37 99 235 / 32%); font-weight: 750; cursor: pointer; }
.assistant-launcher:hover { background: var(--blue-700); transform: translateY(-1px); }
.assistant-panel { position: fixed; right: 24px; bottom: 84px; z-index: 41; width: min(390px, calc(100vw - 32px)); height: min(650px, calc(100vh - 120px)); display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 1px solid var(--ink-200); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgb(15 23 42 / 24%); }
.assistant-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--ink-200); background: var(--ink-950); color: #fff; }
.assistant-panel-head > div { display: grid; }
.assistant-panel-head span { color: #93c5fd; font-size: 11px; font-weight: 750; letter-spacing: .12em; }
.assistant-panel-head strong { font-size: 14px; }
.assistant-panel-head .icon-button { color: #fff; }
.assistant-panel-body { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; }
.assistant-login-state, .assistant-welcome { align-self: center; display: grid; gap: 10px; justify-items: center; padding: 30px 22px; text-align: center; }
.assistant-login-state h3, .assistant-welcome h3 { margin: 4px 0 0; }
.assistant-login-state p, .assistant-welcome p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; }
.assistant-orb { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: linear-gradient(145deg, #dbeafe, #bfdbfe); color: var(--blue-700); font-weight: 750; }
.assistant-prompt { width: 100%; padding: 10px 12px; border: 1px solid var(--ink-200); border-radius: 11px; background: #fff; color: var(--ink-700); cursor: pointer; }
.assistant-prompt:hover { border-color: #93c5fd; background: var(--blue-50); }
.mini-chat-history { min-height: 0; overflow-y: auto; padding: 16px; }
.mini-message { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 8px; align-items: start; margin-bottom: 14px; }
.mini-message > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: var(--ink-100); color: var(--ink-700); font-size: 11px; font-weight: 750; }
.mini-message.assistant > span { background: var(--blue-100); color: var(--blue-700); }
.mini-message p { margin: 0; white-space: pre-wrap; font-size: 13px; line-height: 1.65; }
.mini-message details { margin-top: 8px; color: var(--ink-600); font-size: 12px; }
.mini-message ul { margin: 6px 0 0; padding-left: 18px; }
.mini-chat-form { display: grid; gap: 9px; padding: 12px; border-top: 1px solid var(--ink-200); background: var(--ink-50); }
.mini-model-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: center; color: var(--ink-600); font-size: 11px; }
.mini-model-picker .select { min-height: 34px; padding-top: 4px; padding-bottom: 4px; font-size: 12px; }
.mini-composer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.mini-composer textarea { resize: none; font-size: 13px; }
.mini-open-full { justify-self: end; border: 0; background: transparent; color: var(--blue-700); font-size: 11px; cursor: pointer; }
.seo-fallback { max-width: 820px; margin: 60px auto; padding: 28px; border: 1px solid var(--ink-200); border-radius: 18px; background: #fff; }
.seo-fallback > p:first-child { color: var(--blue-700); font-weight: 750; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--ink-200); border-radius: 14px; background: #fff; }
.faq-list summary { padding: 16px 18px; cursor: pointer; font-weight: 700; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--ink-600); line-height: 1.7; }

@media (max-width: 620px) {
  .assistant-launcher { right: 14px; bottom: 14px; min-width: 50px; padding: 0 14px; }
  .assistant-launcher span:last-child { display: none; }
  .assistant-panel { right: 10px; bottom: 74px; width: calc(100vw - 20px); height: min(650px, calc(100vh - 90px)); }
}
.method-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.method-heading h2 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; }
.method-heading p { margin: 5px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.55; }
.method-number { flex: 0 0 auto; padding: 6px 9px; border-radius: 8px; background: var(--blue-100); color: var(--blue-700); font-size: 13px; font-weight: 600; }
.field-label { display: block; margin: 4px 0 8px; color: var(--ink-800); font-size: 14px; font-weight: 600; }
.path-input { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid var(--ink-300); border-radius: 10px; background: white; color: var(--ink-900); font: inherit; }
.path-input:focus { border-color: var(--blue-600); outline: 3px solid var(--blue-100); }
.allowed-roots { margin-top: 16px; padding: 14px; border-radius: 12px; background: var(--ink-50); }
.allowed-roots strong, .allowed-roots code { display: block; }
.allowed-roots p { margin: 4px 0 10px; color: var(--ink-600); font-size: 13px; }
.allowed-roots code { margin-top: 6px; overflow-wrap: anywhere; color: var(--ink-700); font-size: 13px; }
.plain-steps p { margin: 0; padding: 9px 0; border-bottom: 1px solid var(--ink-100); color: var(--ink-700); font-size: 14px; line-height: 1.6; }
.plain-steps p:last-child { border-bottom: 0; }
.intake-file-title { margin: 10px 0 0 !important; overflow-wrap: anywhere; }
.intake-next { display: grid; gap: 12px; margin-top: 14px; }
.prepare-button { width: fit-content; }
.prepared-summary { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #bbf7d0; border-radius: 12px; background: #f0fdf4; color: var(--green-700); }
.prepared-summary > svg { flex: 0 0 auto; }
.prepared-summary strong, .prepared-summary span { display: block; }
.prepared-summary span { margin-top: 3px; font-size: 13px; }
.preparation-layout { align-items: start; }
.preparation-selection { display: grid; max-height: 300px; overflow: auto; border: 1px solid var(--ink-200); border-radius: 12px; }
.preparation-file-item { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px; cursor: pointer; }
.preparation-file-item + .preparation-file-item { border-top: 1px solid var(--ink-100); }
.preparation-file-item:hover { background: var(--blue-50); }
.preparation-file-item > input { position: absolute; opacity: 0; pointer-events: none; }
.preparation-file-item > span:last-child { min-width: 0; }
.preparation-file-item strong, .preparation-file-item small { display: block; overflow-wrap: anywhere; }
.preparation-file-item small { margin-top: 3px; color: var(--ink-600); }
.preparation-file-item input:checked + .bundle-check { border-color: var(--blue-600); background: var(--blue-600); color: white; }
.preparation-actions { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 14px; }
.preparation-actions > span { color: var(--ink-600); font-size: 13px; }
.preparation-job-list { display: grid; gap: 12px; max-height: 440px; overflow: auto; }
.preparation-job-card { display: grid; gap: 10px; padding: 13px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.preparation-job-head, .preparation-job-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.preparation-job-head > div { min-width: 0; }
.preparation-job-head strong, .preparation-job-head span { display: block; overflow-wrap: anywhere; }
.preparation-job-head strong { font-family: "Cascadia Code", Consolas, monospace; font-size: 13px; }
.preparation-job-head span, .preparation-job-foot p { margin: 3px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.job-progress { width: 100%; height: 8px; overflow: hidden; border-radius: 999px; background: var(--ink-200); }
.job-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); transition: width .2s ease; }
.preparation-job-counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.preparation-job-counts span { padding: 7px; border-radius: 8px; background: white; color: var(--ink-600); text-align: center; font-size: 11px; }
.preparation-job-counts b { display: block; margin-top: 2px; color: var(--ink-900); font-size: 14px; }
.preparation-job-card details { font-size: 12px; }
.preparation-job-card details ul { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 18px; }
.preparation-job-card details li span { display: block; color: var(--red-700); overflow-wrap: anywhere; }
.preparation-job-foot p { flex: 1; }
.audit-button { width: fit-content; }
.dataset-audit { display: grid; gap: 14px; padding: 18px; border: 1px solid #c7d8ef; border-radius: 15px; background: #f8fbff; }
.dataset-audit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.dataset-audit-head h3 { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink-950); font-family: "Cascadia Code", Consolas, monospace; font-size: 16px; font-weight: 600; }
.dataset-audit-head p { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--ink-500); font-size: 12px; }
.dataset-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--ink-200); border-radius: 12px; background: white; }
.dataset-stats > div { padding: 12px; border-left: 1px solid var(--ink-200); }
.dataset-stats > div:first-child { border-left: 0; }
.dataset-stats span, .dataset-stats strong { display: block; }
.dataset-stats span { color: var(--ink-500); font-size: 11px; }
.dataset-stats strong { margin-top: 3px; color: var(--ink-900); font-size: 14px; font-weight: 600; line-height: 1.45; }
.audit-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.audit-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid; border-radius: 10px; background: white; }
.audit-check > svg { flex: 0 0 auto; margin-top: 2px; }
.audit-check.passed { border-color: #bbf7d0; color: var(--green-700); }
.audit-check.attention { border-color: #fde68a; color: var(--amber-700); }
.audit-check strong, .audit-check span { display: block; }
.audit-check strong { color: var(--ink-800); font-size: 12px; font-weight: 600; }
.audit-check span { margin-top: 2px; color: var(--ink-600); font-size: 11px; line-height: 1.45; }
.dataset-decision { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(280px, 1fr); gap: 12px; padding-top: 4px; border-top: 1px solid var(--ink-200); }
.dataset-decision .text-input { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--ink-300); border-radius: 9px; background: white; color: var(--ink-900); resize: vertical; }
.dataset-decision .text-input:focus { border-color: var(--blue-600); outline: 3px solid var(--blue-100); }
.decision-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }
.data-bundle-layout { grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr) !important; align-items: start; }
.bundle-selection-head, .bundle-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bundle-selection-head h3 { margin: 0; color: var(--ink-950); font-size: 19px; font-weight: 650; }
.bundle-selection-head p { margin: 5px 0 0; color: var(--ink-600); font-size: 13px; }
.bundle-dataset-list { display: grid; gap: 8px; max-height: 360px; margin-top: 14px; overflow-y: auto; }
.bundle-dataset-item { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--ink-200); border-radius: 11px; background: white; cursor: pointer; }
.bundle-dataset-item:hover { border-color: #93b4e4; background: #f8fbff; }
.bundle-dataset-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bundle-check { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--ink-300); border-radius: 8px; color: transparent; }
.bundle-dataset-item:has(input:checked) { border-color: var(--blue-600); background: var(--blue-50); }
.bundle-dataset-item input:focus-visible + .bundle-check { outline: 3px solid var(--blue-100); }
.bundle-dataset-item input:checked + .bundle-check { border-color: var(--blue-600); background: var(--blue-600); color: white; }
.bundle-dataset-copy { min-width: 0; }
.bundle-dataset-copy strong, .bundle-dataset-copy small, .bundle-dataset-copy code { display: block; overflow-wrap: anywhere; }
.bundle-dataset-copy strong { color: var(--ink-900); font-size: 14px; font-weight: 600; }
.bundle-dataset-copy small { margin-top: 3px; color: var(--ink-600); font-size: 12px; }
.bundle-dataset-copy code { margin-top: 4px; color: var(--blue-700); font-size: 11px; }
.bundle-form { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ink-200); }
.bundle-form .text-input { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--ink-300); border-radius: 9px; color: var(--ink-900); font: inherit; resize: vertical; }
.bundle-form .text-input:focus { border-color: var(--blue-600); outline: 3px solid var(--blue-100); }
.bundle-history-list { display: grid; gap: 10px; }
.bundle-history-item { padding: 13px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.bundle-history-head strong, .bundle-history-head span { display: block; overflow-wrap: anywhere; }
.bundle-history-head strong { color: var(--ink-900); font-family: "Cascadia Code", Consolas, monospace; font-size: 13px; font-weight: 600; }
.bundle-history-head span { margin-top: 4px; color: var(--ink-600); font-size: 12px; }
.bundle-history-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 11px; }
.bundle-history-stats span { padding: 7px; border-radius: 8px; background: white; color: var(--ink-600); font-size: 11px; text-align: center; }
.bundle-history-stats b { display: block; color: var(--ink-900); font-size: 14px; font-weight: 650; }
.bundle-history-item p { margin: 10px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
.bundle-next-actions { margin-top: 12px; overflow: hidden; border: 1px solid #c7d8ef; border-radius: 10px; background: #fff; }
.bundle-next-actions > summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 12px; color: var(--blue-700); cursor: pointer; list-style: none; }
.bundle-next-actions > summary::-webkit-details-marker { display: none; }
.bundle-next-actions > summary span { font-size: 13px; font-weight: 700; }
.bundle-next-actions > summary small { color: var(--ink-500); font-size: 11px; }
.bundle-next-actions > summary::after { content: "+"; font-size: 18px; line-height: 1; }
.bundle-next-actions[open] > summary::after { content: "−"; }
.bundle-next-actions-body { padding: 0 11px 11px; border-top: 1px solid var(--ink-100); }
.feature-build-form, .label-build-form, .training-build-form { display: grid; gap: 8px; margin-top: 12px; padding: 11px; border: 1px solid #bfdbfe; border-radius: 10px; background: white; }
.label-build-form { border-color: #c4b5fd; background: #faf5ff; }
.label-build-form > p { margin: 0 0 2px; }
.feature-build-form .field-label, .label-build-form .field-label, .training-build-form .field-label { margin: 0; font-size: 12px; }
.feature-build-form .text-input, .label-build-form .text-input, .training-build-form .text-input { display: block; width: 100%; min-height: 40px; margin-top: 5px; padding: 8px 10px; border: 1px solid var(--ink-300); border-radius: 8px; color: var(--ink-900); font: inherit; resize: vertical; }
.feature-build-form .text-input:focus, .label-build-form .text-input:focus, .training-build-form .text-input:focus { border-color: var(--blue-600); outline: 3px solid var(--blue-100); }
.feature-ready-summary { display: grid; gap: 4px; margin-top: 12px; padding: 11px; border: 1px solid #bbf7d0; border-radius: 10px; background: #f0fdf4; }
.feature-ready-summary strong { overflow-wrap: anywhere; color: var(--green-700); font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; font-weight: 600; }
.feature-ready-summary span { color: var(--ink-700); font-size: 12px; }
.label-ready-summary { display: grid; gap: 7px; margin-top: 9px; padding: 11px; border: 1px solid #c4b5fd; border-radius: 10px; background: #faf5ff; }
.label-ready-summary > strong { overflow-wrap: anywhere; color: var(--violet-700); font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; font-weight: 600; }
.label-ready-summary > span, .label-ready-summary > small { color: var(--ink-700); font-size: 12px; line-height: 1.5; }
.label-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.label-result-grid span { padding: 7px 5px; border-radius: 7px; background: white; color: var(--ink-600); font-size: 11px; text-align: center; }
.label-result-grid b { display: block; color: var(--ink-900); font-size: 14px; font-weight: 650; }
.training-ready-summary { display: grid; gap: 7px; margin-top: 9px; padding: 11px; border: 1px solid #86efac; border-radius: 10px; background: #f0fdf4; }
.training-ready-summary > strong { overflow-wrap: anywhere; color: #166534; font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; font-weight: 600; }
.training-ready-summary > span, .training-ready-summary > small { color: var(--ink-700); font-size: 12px; line-height: 1.5; }
.training-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.training-metric-grid span { padding: 7px 5px; border-radius: 7px; background: white; color: var(--ink-600); font-size: 11px; text-align: center; }
.training-metric-grid b { display: block; color: var(--ink-900); font-size: 14px; font-weight: 650; }
.table-button { min-height: 34px; padding: 6px 10px; font-size: 13px; }
.required-columns { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.required-columns span { padding: 7px 9px; border: 1px solid #bfdbfe; border-radius: 7px; background: var(--blue-50); color: var(--blue-700); font-size: 12px; }
.check-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.check-item { display: flex; align-items: flex-start; gap: 10px; padding: 13px; border: 1px solid; border-radius: 12px; }
.check-item > span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; }
.check-item.passed { border-color: #bbf7d0; background: #f0fdf4; }
.check-item.passed > span { background: var(--green-100); color: var(--green-700); }
.check-item.attention { border-color: #fde68a; background: #fffbeb; }
.check-item.attention > span { background: var(--amber-100); color: var(--amber-700); }
.check-item strong { display: block; font-size: 13px; font-weight: 600; }
.check-item p { margin: 4px 0 0; color: var(--ink-600); font-size: 11px; line-height: 1.5; }
.message-list { margin-top: 12px; padding: 14px 16px; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.message-list ul { margin: 7px 0 0; padding-left: 18px; }
.error-list { background: #fff1f2; color: #9f1239; }
.warning-list { background: #fffbeb; color: #854d0e; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .badge { display: inline-flex; align-items: center; gap: 6px; width: fit-content; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.chip { padding: 7px 11px; border: 1px solid #bfd1ee; background: rgb(255 255 255 / 72%); color: #274a80; }
.badge { padding: 5px 9px; }
.badge.blue { background: var(--blue-100); color: var(--blue-700); }
.badge.green { background: var(--green-100); color: var(--green-700); }
.badge.amber { background: var(--amber-100); color: var(--amber-700); }
.badge.red { background: var(--red-100); color: var(--red-700); }
.badge.violet { background: var(--violet-100); color: var(--violet-700); }
.section { margin-top: 30px; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.section-header h2, .section-header h3 { margin: 0; letter-spacing: -.025em; }
.section-header h2 { font-size: 23px; font-weight: 650; line-height: 1.35; text-wrap: balance; }
.section-header h3 { font-size: 19px; font-weight: 600; line-height: 1.4; }
.section-header p { margin: 5px 0 0; color: var(--ink-600); font-size: 14px; line-height: 1.55; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.dashboard-layout { grid-template-columns: minmax(0, 2.15fr) minmax(280px, .85fr); align-items: start; }
.visual-overview-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; }
.risk-distribution { display: grid; grid-template-columns: 176px minmax(0, 1fr); align-items: center; gap: 28px; }
.risk-donut { width: 168px; height: 168px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(15 23 42 / 5%); }
.risk-donut > div { width: 108px; height: 108px; display: grid; place-content: center; border-radius: 50%; background: #fff; text-align: center; box-shadow: 0 2px 12px rgb(15 23 42 / 8%); }
.risk-donut strong, .risk-donut span { display: block; }
.risk-donut strong { color: var(--ink-950); font-size: 27px; line-height: 1.2; }
.risk-donut span { margin-top: 4px; color: var(--ink-500); font-size: 12px; }
.risk-legend { display: grid; gap: 11px; }
.risk-legend > div { min-width: 0; display: grid; grid-template-columns: 10px minmax(70px, 1fr) auto 48px; align-items: center; gap: 8px; }
.risk-legend span, .risk-legend strong, .risk-legend small { font-size: 13px; }
.risk-legend strong { text-align: right; }
.risk-legend small { color: var(--ink-500); text-align: right; }
.legend-dot { width: 9px; height: 9px; border-radius: 50%; }
.today-decision { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 15px; align-items: start; }
.decision-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: var(--blue-100); color: var(--blue-700); font-size: 25px; }
.today-decision h3 { margin: 5px 0 8px; font-size: 22px; line-height: 1.38; letter-spacing: -.025em; word-break: keep-all; }
.today-decision p { margin: 0; color: var(--ink-600); font-size: 14px; line-height: 1.7; }
.quick-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 24px; }
.selected-drive-followup { margin-top: 16px; align-items: start; }
.trend-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 15px; }
.trend-summary { min-width: 0; padding: 12px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); cursor: pointer; }
.trend-summary:hover, .trend-summary:focus { border-color: #93c5fd; outline: none; box-shadow: 0 0 0 3px rgb(37 99 235 / 10%); }
.trend-summary span, .trend-summary strong, .trend-summary small, .trend-summary em { display: block; }
.trend-summary span { color: var(--ink-500); font-size: 11px; }
.trend-summary strong { margin-top: 3px; font-size: 17px; }
.trend-summary.red strong { color: var(--red-700); }
.trend-summary.green strong { color: var(--green-700); }
.trend-summary.blue strong { color: var(--blue-700); }
.trend-summary small { margin-top: 4px; color: var(--ink-700); font-size: 11px; }
.trend-summary em { margin-top: 2px; color: var(--ink-500); font-size: 11px; font-style: normal; }
.trend-window-tabs { display: inline-flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--ink-100); }
.trend-window-tabs button { min-width: 54px; padding: 6px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-600); font-size: 12px; cursor: pointer; }
.trend-window-tabs button.active { background: #fff; color: var(--blue-700); font-weight: 700; box-shadow: var(--shadow-sm); }
.trend-chart-wrap { width: 100%; margin-top: 9px; overflow: hidden; }
.risk-trend-chart { width: 100%; height: auto; min-height: 210px; }
.risk-trend-chart text { fill: var(--ink-500); font-size: 11px; }
.chart-axis { stroke: var(--ink-300); stroke-width: 1; }
.trend-line { fill: none; stroke: var(--blue-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.trend-point { fill: #fff; stroke: var(--blue-600); stroke-width: 3; }
.trend-method { margin: 0; color: var(--ink-500); font-size: 11px; line-height: 1.55; }
.inspection-inline { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 8px; }
.inspection-inline h3 { margin: 5px 0 7px; font-size: 21px; line-height: 1.4; }
.inspection-inline p { margin: 0; color: var(--ink-600); font-size: 13px; }
.inspection-inline.active { justify-content: space-between; }
.inspection-create-form .section-header h3 { margin-top: 5px; }
.inspection-create-form .form-actions { justify-content: flex-start; }
.inspection-boundary { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 22px; align-items: center; margin: 18px 0 20px; padding: 24px; overflow: hidden; border: 1px solid #cfe0f5; border-radius: 20px; background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); }
.inspection-boundary-heading h2 { margin: 5px 0 8px; color: var(--ink-950); font-size: 23px; line-height: 1.4; word-break: keep-all; }
.inspection-boundary-heading p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.7; word-break: keep-all; }
.inspection-boundary-flow { display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.inspection-boundary-flow article { min-width: 0; padding: 18px; border: 1px solid var(--ink-200); border-radius: 15px; background: #fff; }
.inspection-boundary-flow article.current { border-color: #93c5fd; box-shadow: 0 7px 20px rgb(37 99 235 / 9%); }
.boundary-step { color: var(--blue-700); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.boundary-icon { width: 36px; height: 36px; display: grid; place-items: center; margin: 12px 0 9px; border-radius: 11px; background: var(--blue-100); color: var(--blue-700); }
.boundary-icon svg { width: 19px; height: 19px; }
.inspection-boundary-flow h3 { margin: 0; color: var(--ink-950); font-size: 17px; }
.inspection-boundary-flow p { margin: 6px 0 11px; color: var(--ink-600); font-size: 12px; line-height: 1.6; word-break: keep-all; }
.inspection-boundary-flow ul { display: grid; gap: 5px; margin: 0 0 14px; padding-left: 18px; color: var(--ink-700); font-size: 11px; line-height: 1.5; }
.inspection-boundary-flow .button { width: 100%; min-height: 38px; font-size: 12px; }
.boundary-arrow { align-self: center; color: var(--blue-600); font-size: 22px; text-align: center; }
.boundary-current { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 8px 12px; border-radius: 9px; background: var(--blue-600); color: #fff; font-size: 12px; font-weight: 650; }
.inspection-boundary-note { grid-column: 1 / -1; margin: -5px 0 0; padding-top: 15px; border-top: 1px solid #d6e3f3; color: var(--ink-600); font-size: 12px; line-height: 1.6; }
.inspection-summary-grid .visual-metric { min-height: 142px; padding: 20px; border-top: 4px solid var(--blue-600); }
.visual-metric span, .visual-metric strong, .visual-metric small { display: block; }
.visual-metric span { color: var(--ink-600); font-size: 13px; font-weight: 600; }
.visual-metric strong { margin: 7px 0 3px; color: var(--ink-950); font-size: 34px; line-height: 1.2; }
.visual-metric small { color: var(--ink-500); font-size: 12px; }
.visual-metric.red { border-color: #dc2626; }
.visual-metric.green { border-color: #16a34a; }
.visual-metric.violet { border-color: #7c3aed; }
.inspection-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.inspection-flow.usage { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inspection-flow article { position: relative; min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 11px; padding: 17px; border: 1px solid var(--ink-200); border-radius: 14px; background: var(--ink-50); }
.inspection-flow article:not(:last-child)::after { position: absolute; z-index: 2; top: 50%; right: -18px; width: 24px; height: 24px; display: grid; place-items: center; transform: translateY(-50%); border: 1px solid #bfdbfe; border-radius: 50%; background: #fff; color: var(--blue-700); content: "→"; font-size: 11px; }
.inspection-step { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--blue-600); color: #fff; font-size: 13px; font-weight: 700; }
.inspection-flow small, .inspection-flow strong { display: block; }
.inspection-flow small { color: var(--ink-600); font-size: 11px; font-weight: 650; }
.inspection-flow strong { margin-top: 2px; font-size: 23px; }
.inspection-flow p { margin: 5px 0 0; color: var(--ink-500); font-size: 11px; line-height: 1.5; word-break: keep-all; }
.inspection-today-action { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 16px; align-items: center; margin: 18px 0; padding: 20px 22px; border: 1px solid #bfdbfe; border-radius: 17px; background: #f3f8ff; }
.inspection-today-action.urgent { border-color: #fecaca; background: #fff7f7; }
.inspection-today-action.complete { border-color: #bbf7d0; background: #f4fdf7; }
.today-action-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); }
.inspection-today-action.urgent .today-action-icon { background: #fee2e2; color: #b91c1c; }
.inspection-today-action.complete .today-action-icon { background: #dcfce7; color: #15803d; }
.today-action-icon svg { width: 23px; height: 23px; }
.inspection-today-action span { color: var(--blue-700); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.inspection-today-action.urgent span { color: #b91c1c; }
.inspection-today-action h2 { margin: 3px 0 4px; color: var(--ink-950); font-size: 19px; line-height: 1.4; word-break: keep-all; }
.inspection-today-action p { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.6; }
.inspection-workspace { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 16px; align-items: start; }
.inspection-queue { min-width: 0; }
.inspection-queue-tabs { display: flex; gap: 7px; margin: 4px 0 14px; padding: 5px; overflow-x: auto; border: 1px solid var(--ink-200); border-radius: 13px; background: var(--ink-50); scrollbar-width: thin; }
.inspection-queue-tabs button { flex: 1 0 88px; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 7px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-600); font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap; }
.inspection-queue-tabs button:hover { background: #fff; color: var(--ink-900); }
.inspection-queue-tabs button[aria-pressed="true"] { background: var(--blue-600); color: #fff; box-shadow: 0 3px 10px rgb(37 99 235 / 20%); }
.inspection-queue-tabs strong { min-width: 22px; padding: 2px 6px; border-radius: 999px; background: rgb(148 163 184 / 18%); font-size: 11px; font-weight: 700; }
.inspection-queue-tabs button[aria-pressed="true"] strong { background: rgb(255 255 255 / 20%); }
.inspection-filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(150px, 190px); gap: 10px; align-items: end; margin-bottom: 14px; }
.inspection-table tr { cursor: pointer; }
.inspection-table td:nth-child(2) strong, .inspection-table td:nth-child(2) small { display: block; }
.inspection-table td:nth-child(2) small { max-width: 180px; overflow: hidden; color: var(--ink-500); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.inspection-table td:nth-child(4) strong, .inspection-due { display: block; }
.inspection-table td:nth-child(4) strong { color: var(--ink-800); font-size: 12px; font-weight: 600; }
.inspection-due { margin-top: 3px; color: var(--ink-500); font-size: 11px; white-space: nowrap; }
.inspection-due.today { color: #b45309; font-weight: 650; }
.inspection-due.overdue { color: #b91c1c; font-weight: 700; }
.inspection-next-label { display: inline-flex; padding: 5px 8px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font-size: 11px; font-weight: 650; white-space: nowrap; }
.inspection-detail { position: sticky; top: 132px; }
.inspection-detail h2 { margin: 8px 0 2px; font-size: 25px; }
.inspection-next-action { margin: 16px 0 12px; padding: 15px 16px; border-left: 4px solid var(--blue-600); border-radius: 4px 12px 12px 4px; background: var(--blue-50); }
.inspection-next-action.final { border-left-color: var(--green-600); background: #f0fdf4; }
.inspection-next-action span, .inspection-next-action strong { display: block; }
.inspection-next-action span { color: var(--blue-700); font-size: 11px; font-weight: 700; }
.inspection-next-action strong { margin-top: 3px; color: var(--ink-950); font-size: 16px; }
.inspection-next-action p { margin: 4px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
.inspection-snapshot-details { margin: 12px 0; border: 1px solid var(--ink-200); border-radius: 12px; background: #fff; }
.inspection-snapshot-details > summary { padding: 12px 14px; color: var(--ink-700); cursor: pointer; font-size: 12px; font-weight: 650; }
.inspection-snapshot-details[open] > summary { border-bottom: 1px solid var(--ink-200); color: var(--blue-700); }
.inspection-snapshot-details > p { margin: 0; padding: 0 14px 13px; color: var(--ink-500); font-size: 11px; line-height: 1.55; }
.inspection-risk-snapshot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.inspection-risk-snapshot > div { min-width: 0; padding: 11px; border-radius: 10px; background: var(--ink-50); }
.inspection-risk-snapshot span, .inspection-risk-snapshot strong { display: block; }
.inspection-risk-snapshot span { color: var(--ink-500); font-size: 11px; }
.inspection-risk-snapshot strong { margin-top: 3px; font-size: 15px; }
.inspection-update-form { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ink-200); }
.inspection-form-group { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.inspection-form-group legend { padding: 0 6px; color: var(--ink-800); font-size: 12px; font-weight: 700; }
.inspection-form-group .field-help { min-height: 34px; }
.inspection-status-shortcuts { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin: 0 0 11px; }
.inspection-status-shortcuts > span { color: var(--ink-500); font-size: 11px; }
.inspection-status-shortcuts button { padding: 6px 9px; border: 1px solid #bfdbfe; border-radius: 8px; background: #fff; color: var(--blue-700); font: inherit; font-size: 11px; font-weight: 650; cursor: pointer; }
.inspection-status-shortcuts button:hover { background: var(--blue-50); }
.completion-requirement { margin: 8px 0 0; padding: 9px 10px; border-radius: 8px; background: #fff7ed; color: #9a3412; font-size: 11px; font-weight: 650; }
.inspection-history-details { margin-top: 14px; }
.inspection-final-result { margin: 16px 0; padding: 18px; border: 1px solid #bbf7d0; border-radius: 14px; background: #f0fdf4; }
.inspection-final-result span, .inspection-final-result strong { display: block; }
.inspection-final-result span { color: var(--green-700); font-size: 11px; font-weight: 700; }
.inspection-final-result strong { margin-top: 4px; font-size: 21px; }
.inspection-final-result p { margin: 6px 0 0; color: var(--ink-600); }
.inspection-history { display: grid; gap: 10px; margin: 0; padding-left: 20px; }
.inspection-history li { padding-left: 4px; }
.inspection-history strong, .inspection-history span { display: block; }
.inspection-history span { color: var(--ink-500); font-size: 11px; }
.inspection-history p { margin: 3px 0 0; font-size: 12px; }
.card { min-width: 0; border: 1px solid var(--ink-200); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.card-body { padding: 20px; }
.card-title { margin: 0 0 7px; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.012em; }
.card-copy { margin: 0; color: var(--ink-600); }
.definition-list { display: grid; gap: 10px; margin: 14px 0 0; }
.definition-list > div { display: grid; grid-template-columns: minmax(82px, .32fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.definition-list dt { color: var(--ink-600); font-weight: 600; }
.definition-list dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.metric-card { padding: 18px 20px; }
.metric-label { color: var(--ink-600); font-size: 13px; font-weight: 550; }
.metric-value { margin-top: 6px; color: var(--ink-950); font-size: clamp(24px, 2.3vw, 32px); font-weight: 650; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.risk-registry-metric { display: flex; min-width: 0; min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; }
.risk-registry-metric .metric-label, .risk-registry-metric .metric-note { display: block; width: 100%; }
.risk-registry-metric .metric-value { display: block; width: 100%; margin: 0; text-wrap: balance; word-break: keep-all; }
.account-button { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--ink-200); border-radius: 10px; background: white; color: var(--ink-700); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.account-button.authenticated { border-color: #9ec5a8; background: #f0fdf4; color: #166534; }
.account-button svg { width: 16px; height: 16px; }
.auth-dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; box-shadow: 0 24px 70px rgb(15 23 42 / 28%); }
.auth-dialog::backdrop { background: rgb(15 23 42 / 42%); backdrop-filter: blur(2px); }
.auth-dialog > div { padding: 24px; }
.auth-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.auth-dialog-head span { color: var(--blue-700); font-size: 12px; font-weight: 650; }
.auth-dialog-head h2 { margin: 5px 0; font-size: 22px; }
.auth-dialog-head p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.5; }
.auth-login-form { display: grid; gap: 14px; }
.auth-permission-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.auth-permission-list span { padding: 10px 12px; border-radius: 9px; background: var(--ink-50); color: var(--ink-700); font-size: 13px; }
.readonly-identity { display: flex; align-items: center; background: var(--ink-50); color: var(--ink-700); font-weight: 600; }
.metric-note { margin-top: 5px; color: var(--ink-600); font-size: 12px; line-height: 1.5; }
.step-number { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 16px; border-radius: 10px; background: var(--blue-100); color: var(--blue-700); font-weight: 600; }

.button, .text-button, .icon-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm); text-decoration: none; cursor: pointer; transition: transform .14s ease, background .14s ease, border-color .14s ease, box-shadow .14s ease; }
.button { min-height: 42px; padding: 9px 14px; border: 1px solid var(--ink-300); background: white; color: var(--ink-800); font-weight: 600; }
.button:hover { border-color: var(--ink-400); background: var(--ink-50); box-shadow: var(--shadow-sm); }
.button.primary { border-color: var(--blue-600); background: var(--blue-600); color: white; }
.button.primary:hover { background: var(--blue-700); }
.button.danger { border-color: #fecaca; color: var(--red-700); }
.button:active, .icon-button:active { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: .52; }
.text-button { padding: 8px 10px; border: 0; background: transparent; color: var(--ink-600); font-size: 13px; font-weight: 550; }
.text-button:hover { background: var(--ink-100); color: var(--ink-900); }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--ink-200); background: white; }
.mobile-menu, .sidebar-backdrop { display: none; }

.toolbar { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.toolbar-group { display: flex; flex: 1; flex-wrap: wrap; align-items: end; gap: 10px; }
.field { display: grid; gap: 6px; min-width: 160px; }
.field.grow { flex: 1; min-width: 240px; }
.field label, .field-label { color: var(--ink-700); font-size: 13px; font-weight: 600; }
.input, .select, .textarea { width: 100%; border: 1px solid var(--ink-300); border-radius: var(--radius-sm); background: white; color: var(--ink-900); outline: none; transition: border-color .14s ease, box-shadow .14s ease; }
.input, .select { min-height: 42px; padding: 9px 11px; }
.textarea { min-height: 96px; padding: 11px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgb(37 99 235 / 12%); }
.password-input-wrap { position: relative; width: 100%; }
.password-input-wrap .input { padding-right: 92px; }
.password-toggle { position: absolute; top: 50%; right: 6px; display: inline-flex; min-width: 76px; min-height: 32px; align-items: center; justify-content: center; gap: 6px; padding: 5px 9px; transform: translateY(-50%); border: 1px solid var(--ink-200); border-radius: 7px; background: var(--ink-100); color: var(--ink-700); font-size: 12px; font-weight: 650; cursor: pointer; }
.password-toggle:hover { border-color: var(--blue-300); background: var(--blue-50); color: var(--blue-700); }
.password-toggle:focus-visible { outline: 3px solid rgb(37 99 235 / 20%); outline-offset: 1px; }
.password-toggle-icon { display: inline-flex; }
.password-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.checkbox { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; color: var(--ink-700); font-size: 14px; font-weight: 500; }
.checkbox input { width: 17px; height: 17px; accent-color: var(--blue-600); }
.segmented { display: inline-flex; padding: 4px; border: 1px solid var(--ink-200); border-radius: 10px; background: var(--ink-100); }
.segment { padding: 8px 13px; border: 0; border-radius: 7px; background: transparent; color: var(--ink-600); font-size: 13px; font-weight: 550; cursor: pointer; }
.segment.active { background: white; color: var(--ink-900); box-shadow: 0 1px 3px rgb(15 23 42 / 10%); }

.table-shell { max-width: 100%; min-width: 0; overflow: hidden; border: 1px solid var(--ink-200); border-radius: var(--radius-md); }
.table-scroll { max-width: 100%; max-height: 560px; overflow: auto; }
.pagination-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ink-200); color: var(--ink-600); font-size: 13px; }
.pagination-controls > div { display: flex; gap: 8px; }
.pagination-controls .button { min-height: 38px; padding: 8px 12px; }
.pagination-controls .button:disabled { cursor: not-allowed; opacity: .45; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; white-space: nowrap; }
.data-table th { position: sticky; z-index: 2; top: 0; padding: 12px; border-bottom: 1px solid var(--ink-200); background: #f3f6fa; color: var(--ink-600); text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.data-table td { padding: 11px 12px; border-bottom: 1px solid var(--ink-100); color: var(--ink-700); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr[tabindex] { cursor: pointer; transition: background .12s ease; }
.data-table tbody tr[tabindex]:hover { background: var(--blue-50); }
.data-table tbody tr.selected { background: #e8f1ff; box-shadow: inset 3px 0 var(--blue-600); }
.data-table .strong { color: var(--ink-950); font-weight: 600; }
.progress { width: 88px; height: 7px; overflow: hidden; border-radius: 999px; background: var(--ink-100); }
.progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); }
.bar-list { display: grid; gap: 11px; }
.bar-row { display: grid; grid-template-columns: minmax(80px, 1.4fr) 2fr 30px; align-items: center; gap: 8px; font-size: 11px; }
.bar-label { overflow: hidden; color: var(--ink-600); text-overflow: ellipsis; white-space: nowrap; }
.bar-track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--ink-100); }
.bar-track span { display: block; height: 100%; border-radius: inherit; background: var(--blue-600); }
.bar-value { color: var(--ink-500); text-align: right; }

.callout { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid; border-radius: var(--radius-md); font-size: 14px; line-height: 1.6; }
.callout.info { border-color: #bfdbfe; background: var(--blue-50); color: #1e4c8f; }
.callout.warning { border-color: #fde68a; background: #fffbeb; color: #854d0e; }
.callout.error { border-color: #fecaca; background: #fff7f7; color: #991b1b; }
.callout.success { border-color: #bbf7d0; background: #f0fdf4; color: #166534; }
.empty-state { display: grid; min-height: 220px; place-items: center; padding: 32px; text-align: center; }
.empty-state h2, .empty-state h3 { margin: 10px 0 4px; }
.empty-state p { max-width: 440px; margin: 0; color: var(--ink-500); }
.empty-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: var(--ink-100); color: var(--ink-500); font-size: 21px; }

.details { border-top: 1px solid var(--ink-100); }
.details summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; color: var(--ink-700); font-size: 14px; font-weight: 550; cursor: pointer; list-style: none; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { color: var(--ink-400); content: "+"; font-size: 18px; }
.details[open] summary::after { content: "−"; }
.details-content { padding: 0 0 14px; }

.chat-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.chat-context { position: sticky; top: 136px; }
.chat-panel { min-width: 0; min-height: 720px; display: flex; flex-direction: column; overflow: hidden; border-color: #d5e1f0; box-shadow: 0 12px 32px rgb(15 23 42 / 6%); }
.chat-panel-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 15px; border-bottom: 1px solid var(--ink-200); background: var(--ink-50); }
.chat-panel-bar > div:first-child { min-width: 0; }
.chat-panel-bar strong, .chat-panel-bar > div:first-child span { display: block; }
.chat-panel-bar strong { color: var(--ink-900); font-size: 13px; font-weight: 650; }
.chat-panel-bar > div:first-child span { margin-top: 3px; color: var(--ink-500); font-size: 11px; }
.chat-model-picker { display: flex; flex: 0 1 330px; align-items: center; justify-content: flex-end; gap: 8px; }
.chat-model-picker > span { flex: 0 0 auto; color: var(--ink-600); font-size: 11px; font-weight: 650; }
.chat-model-picker .select { min-width: 0; min-height: 36px; padding-block: 6px; font-size: 12px; }
.chat-history { min-width: 0; flex: 1; display: grid; align-content: start; gap: 22px; padding: 24px; background: linear-gradient(180deg, #fbfdff 0, #fff 180px); }
.message { min-width: 0; display: flex; gap: 11px; max-width: 92%; }
.message.assistant { width: 100%; max-width: 100%; }
.message.user { width: fit-content; margin-left: auto; flex-direction: row-reverse; }
.avatar { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: var(--ink-100); color: var(--ink-600); font-size: 12px; font-weight: 600; }
.message.assistant .avatar { background: var(--blue-100); color: var(--blue-700); }
.bubble { min-width: 0; max-width: 100%; overflow: hidden; padding: 15px 17px; border: 1px solid var(--ink-200); border-radius: 4px 14px 14px; background: white; color: var(--ink-700); font-size: 14px; line-height: 1.7; }
.assistant-bubble { width: calc(100% - 44px); padding: 0; border-radius: 6px 18px 18px; box-shadow: 0 5px 18px rgb(15 23 42 / 5%); }
.runbook-panel { min-width: 0; max-width: 100%; }
.message.user .bubble { border-color: var(--blue-600); border-radius: 14px 4px 14px 14px; background: var(--blue-600); color: white; }
.answer-text { white-space: pre-wrap; }
.chat-composer { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; padding: 15px; border-top: 1px solid var(--ink-200); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: rgb(255 255 255 / 96%); backdrop-filter: blur(10px); }
.chat-input-wrap { min-width: 0; }
.chat-input-wrap textarea { width: 100%; min-height: 48px; max-height: 150px; resize: none; line-height: 1.55; }
.chat-input-wrap small { display: block; margin: 4px 2px 0; color: var(--ink-600); font-size: 11px; }
.chat-composer .button { min-height: 48px; }
.suggestion-intro { margin: 2px 20px 10px; }
.suggestion-intro strong, .suggestion-intro span { display: block; }
.suggestion-intro strong { font-size: 13px; }
.suggestion-intro span { color: var(--ink-500); font-size: 11px; }
.suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0 20px 18px; }
.suggestion { min-width: 0; padding: 11px 13px; border: 1px solid var(--ink-200); border-radius: 12px; background: white; color: var(--ink-600); text-align: left; cursor: pointer; }
.suggestion > span { display: flex; align-items: center; gap: 7px; color: var(--ink-800); }
.suggestion > span svg { color: var(--blue-600); }
.suggestion strong { font-size: 13px; }
.suggestion small { display: block; margin: 4px 0 0 24px; color: var(--ink-500); font-size: 11px; line-height: 1.45; }
.suggestion:hover { border-color: #93b4e8; background: var(--blue-50); color: var(--blue-700); transform: translateY(-1px); }
.answer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 15px; border-bottom: 1px solid var(--ink-200); background: #f8fbff; }
.answer-header span, .answer-header strong { display: block; }
.answer-header span { color: var(--blue-700); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.answer-header strong { margin-top: 2px; color: var(--ink-900); font-size: 13px; }
.answer-copy { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid var(--ink-200); border-radius: 8px; background: #fff; color: var(--ink-600); font-size: 11px; cursor: pointer; }
.answer-copy:hover { border-color: #93c5fd; color: var(--blue-700); }
.answer-proof { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.answer-text { padding: 16px 18px 18px; color: var(--ink-700); font-size: 15px; line-height: 1.82; word-break: keep-all; overflow-wrap: anywhere; }
.answer-text p { margin: 0 0 11px; }
.answer-text p:last-child { margin-bottom: 0; }
.answer-text h4 { margin: 18px 0 7px; color: var(--ink-950); font-size: 16px; line-height: 1.45; }
.answer-text h4:first-child { margin-top: 0; }
.answer-text ul, .answer-text ol { display: grid; gap: 7px; margin: 7px 0 13px; padding-left: 22px; }
.answer-text li { padding-left: 2px; }
.answer-text code { padding: 2px 5px; border-radius: 5px; background: var(--ink-100); color: var(--ink-800); font-family: "Cascadia Code", Consolas, monospace; font-size: .9em; }
.answer-evidence { margin: 0 16px 16px; }
.answer-evidence > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.answer-evidence > summary span, .answer-evidence > summary small { display: block; }
.answer-evidence > summary small { color: var(--ink-500); font-size: 11px; }
.citation-list { display: grid; gap: 9px; }
.citation { padding: 12px; border: 1px solid var(--ink-200); border-radius: 10px; background: var(--ink-50); }
.citation strong { display: block; margin-bottom: 5px; color: var(--ink-900); font-weight: 600; }
.citation p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; }
.citation-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 9px; color: var(--ink-600); font-size: 11px; }

.admin-tabs { position: sticky; z-index: 8; top: 116px; display: flex; gap: 4px; margin: 18px 0 4px; padding: 5px; overflow-x: auto; border: 1px solid var(--ink-200); border-radius: 14px; background: rgb(255 255 255 / 96%); box-shadow: var(--shadow-sm); backdrop-filter: blur(10px); scrollbar-width: thin; }
.admin-tabs button { flex: 1 0 130px; min-height: 42px; padding: 9px 13px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-600); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.admin-tabs button:hover { background: var(--ink-50); color: var(--ink-900); }
.admin-tabs button.selected { background: var(--blue-600); color: white; box-shadow: 0 4px 12px rgb(37 99 235 / 20%); }
.admin-tab-panel { min-width: 0; }
.provider-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.provider-option { position: relative; padding: 16px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: white; cursor: pointer; }
.provider-option:hover { border-color: #9eb9e3; }
.provider-option:focus-within { outline: 3px solid rgb(37 99 235 / 28%); outline-offset: 2px; }
.provider-option.selected { border: 2px solid var(--blue-600); padding: 15px; background: var(--blue-50); }
.provider-option input { position: absolute; opacity: 0; pointer-events: none; }
.provider-option strong { display: block; font-weight: 600; }
.provider-option span { display: block; margin-top: 5px; color: var(--ink-600); font-size: 13px; line-height: 1.5; }
.config-audit-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ink-200); }
.field-help { margin: 8px 0 0; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
.config-history-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.config-history-head > span { color: var(--ink-500); font-size: 12px; }
.config-history-list { display: grid; gap: 10px; }
.config-history-item { padding: 14px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.config-history-item > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.config-history-item strong { color: var(--ink-900); font-size: 14px; font-weight: 600; }
.config-history-item time, .config-history-item small { color: var(--ink-500); font-size: 12px; }
.config-history-item p { margin: 7px 0 4px; color: var(--ink-700); font-size: 13px; line-height: 1.5; }
.config-change { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 9px; padding: 9px; border-radius: 8px; background: white; }
.config-change span { color: var(--ink-700); font-size: 12px; font-weight: 600; }
.config-change code { min-width: 0; overflow-wrap: anywhere; color: var(--ink-700); font-size: 11px; }
.config-change b { color: var(--blue-600); font-weight: 600; }
.config-audit-id { display: block; margin-top: 9px; overflow-wrap: anywhere; color: var(--ink-500); font-size: 11px; }
.model-library-summary { display: grid; grid-template-columns: repeat(3, minmax(120px, 180px)) minmax(240px, 1fr); align-items: center; gap: 12px; margin: 16px 0 14px; padding: 14px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.model-library-summary span, .model-library-summary strong { display: block; }
.model-library-summary span { color: var(--ink-500); font-size: 11px; }
.model-library-summary strong { margin-top: 3px; color: var(--ink-950); font-size: 18px; font-weight: 650; }
.model-library-summary p { margin: 0; color: var(--ink-600); font-size: 12px; line-height: 1.55; }
.model-library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.model-card { min-width: 0; padding: 16px; border: 1px solid var(--ink-200); border-radius: 14px; background: white; }
.model-card.active { border-color: #86efac; background: #f0fdf4; box-shadow: 0 0 0 1px #bbf7d0; }
.model-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.model-card-head strong, .model-card-head code { display: block; }
.model-card-head strong { color: var(--ink-950); font-size: 16px; font-weight: 650; }
.model-card-head code { margin-top: 4px; color: var(--ink-500); font-size: 11px; }
.model-card > p { min-height: 42px; margin: 12px 0; color: var(--ink-600); font-size: 13px; line-height: 1.6; }
.model-card-size { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--ink-100); }
.model-card-size span { color: var(--ink-500); font-size: 11px; }
.model-card-size strong { color: var(--ink-900); font-size: 14px; font-weight: 650; }
.model-card-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }
.model-operation-form { margin-top: 16px; padding: 16px; border: 1px solid var(--ink-200); border-radius: 12px; background: var(--ink-50); }
.model-manager-toolbar { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(150px, 190px) minmax(170px, 210px); align-items: end; gap: 12px; margin-top: 16px; }
.model-search-field { min-width: 0; }
.model-manager-count { margin: 12px 0 8px; color: var(--ink-500); font-size: 12px; }
.model-manager-count strong { color: var(--ink-900); font-size: 14px; font-weight: 650; }
.model-manager-layout { display: grid; grid-template-columns: minmax(300px, .9fr) minmax(360px, 1.1fr); align-items: start; gap: 14px; }
.model-list { max-height: 520px; overflow-y: auto; border: 1px solid var(--ink-200); border-radius: 14px; background: var(--ink-50); scrollbar-gutter: stable; }
.model-list-item { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--ink-200); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.model-list-item:last-child { border-bottom: 0; }
.model-list-item:hover { background: white; }
.model-list-item.selected { position: relative; background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue-600); }
.model-list-item.active:not(.selected) { background: #f0fdf4; }
.model-list-main { min-width: 0; }
.model-list-main strong, .model-list-main code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.model-list-main strong { color: var(--ink-950); font-size: 14px; font-weight: 650; }
.model-list-main code { margin-top: 4px; color: var(--ink-500); font-size: 11px; }
.model-list-meta { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--ink-600); font-size: 12px; white-space: nowrap; }
.model-list-empty { padding: 42px 20px; color: var(--ink-500); font-size: 13px; text-align: center; }
.model-detail { position: sticky; top: 176px; min-width: 0; padding: 20px; border: 1px solid var(--ink-200); border-radius: 14px; background: white; box-shadow: var(--shadow-sm); }
.model-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.model-detail-head span { color: var(--blue-700); font-size: 11px; font-weight: 650; }
.model-detail-head h3 { margin: 5px 0 3px; color: var(--ink-950); font-size: 20px; font-weight: 650; line-height: 1.35; word-break: keep-all; }
.model-detail-head code { color: var(--ink-500); font-size: 12px; overflow-wrap: anywhere; }
.model-detail > p:not(.model-detail-help) { margin: 18px 0; color: var(--ink-600); font-size: 13px; line-height: 1.65; }
.model-detail-meta { display: grid; gap: 0; margin: 0; border: 1px solid var(--ink-200); border-radius: 11px; background: var(--ink-50); }
.model-detail-meta > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 11px 12px; border-bottom: 1px solid var(--ink-200); }
.model-detail-meta > div:last-child { border-bottom: 0; }
.model-detail-meta dt { color: var(--ink-500); font-size: 11px; }
.model-detail-meta dd { margin: 0; color: var(--ink-800); font-size: 12px; font-weight: 600; }
.model-detail-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.model-detail-help { margin: 12px 0 0; color: var(--ink-500); font-size: 11px; line-height: 1.55; }
.model-detail-empty { position: static; box-shadow: none; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 18px; }
.code { overflow-x: auto; padding: 12px; border-radius: 9px; background: var(--ink-950); color: #d8e1ef; font-family: "Cascadia Code", Consolas, monospace; font-size: 12px; }

.knowledge-result-card .card-title { margin-top: 12px; }
.knowledge-boundary { margin-top: 14px; }
.knowledge-boundary strong, .knowledge-boundary span { display: block; }
.knowledge-boundary span { margin-top: 3px; color: var(--ink-600); font-weight: 400; }
.knowledge-actor-grid { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(320px, 1fr); gap: 12px; }
.knowledge-document-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.knowledge-document-form .span-two { grid-column: 1 / -1; }
.knowledge-filter { width: min(340px, 100%); }
.knowledge-library-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.knowledge-library-card { min-width: 0; padding: 18px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: white; box-shadow: var(--shadow-sm); }
.knowledge-library-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.knowledge-library-card h3 { margin: 14px 0 8px; color: var(--ink-950); font-size: 17px; font-weight: 650; line-height: 1.4; word-break: keep-all; }
.knowledge-library-card > p { margin: 0; color: var(--ink-600); font-size: 13px; line-height: 1.65; }
.knowledge-meta { display: grid; gap: 7px; margin: 14px 0; padding: 12px; border-radius: 10px; background: var(--ink-50); }
.knowledge-meta > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 9px; }
.knowledge-meta dt { color: var(--ink-500); font-size: 11px; }
.knowledge-meta dd { margin: 0; overflow-wrap: anywhere; color: var(--ink-700); font-size: 12px; line-height: 1.45; }
.knowledge-source-link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-700); font-size: 13px; font-weight: 600; text-decoration: none; }
.knowledge-source-link svg { width: 16px; height: 16px; }
.knowledge-source-link:hover { text-decoration: underline; }

.skeleton { position: relative; overflow: hidden; min-height: 90px; border-radius: var(--radius-md); background: var(--ink-100); }
.skeleton::after { position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / 68%), transparent); animation: shimmer 1.3s infinite; content: ""; }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.spinner { width: 18px; height: 18px; border: 2px solid var(--ink-200); border-top-color: var(--blue-600); border-radius: 50%; animation: spin .75s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: grid; gap: 9px; }
.toast { min-width: 260px; max-width: 380px; padding: 12px 14px; border: 1px solid var(--ink-200); border-radius: var(--radius-md); background: var(--ink-950); color: white; box-shadow: var(--shadow-md); animation: toast-in .18s ease-out; }
.toast.error { background: #7f1d1d; }
.toast.warning { background: #92400e; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }
.muted { color: var(--ink-500); }
.small { font-size: 12px; }
.mono { font-family: "Cascadia Code", Consolas, monospace; }
.hidden { display: none !important; }

@media (max-width: 1500px) {
  .pipeline-steps { grid-template-columns: 1fr; }
  .pipeline-steps.data-pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipeline-step { min-height: 78px; flex-direction: row; align-items: center; gap: 12px; }
  .pipeline-step > div { width: auto; flex: 1; }
  .pipeline-connector { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 1180px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.dashboard-layout { grid-template-columns: 1fr; }
  .visual-overview-grid, .inspection-workspace { grid-template-columns: 1fr; }
  .inspection-detail { position: static; }
  .inspection-boundary { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero .hero-content { max-width: 780px; }
  .product-visual { max-width: 650px; margin: -18px auto 0; }
  .page-guide { grid-template-columns: repeat(3, 1fr); }
  .page-guide-title { grid-column: 1 / -1; }
  .page-guide-item:first-of-type { border-left: 0; }
  .data-source-hero { grid-template-columns: 1fr; }
  .data-task-intro { grid-template-columns: 1fr; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .pipeline-connector { transform: rotate(90deg); justify-self: center; }
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-hero { grid-template-columns: 1fr; }
  .runtime-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-update-summary, .model-update-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-library-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-library-summary p { grid-column: 1 / -1; }
  .model-manager-layout { grid-template-columns: minmax(280px, .85fr) minmax(330px, 1.15fr); }
  .knowledge-library-list { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 25; border: 0; background: rgb(15 23 42 / 52%); }
  .sidebar-backdrop.visible { display: block; }
  .workspace { margin-left: 0; }
  .mobile-menu { display: inline-flex; flex: 0 0 auto; }
  .topbar { min-height: 92px; padding: 15px 18px; }
  .admin-tabs { top: 104px; }
  .api-docs-link { display: none; }
  .content { padding: 24px 18px 48px; }
  .grid.three, .chat-layout, .model-library-grid { grid-template-columns: 1fr; }
  .journey-grid, .clarity-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: span 3; }
  .glossary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chat-context { position: static; }
  .chat-panel { min-height: 620px; }
  .chat-panel-bar { align-items: stretch; flex-direction: column; }
  .chat-model-picker { flex: none; justify-content: flex-start; }
  .data-intake-layout { grid-template-columns: 1fr !important; }
  .data-bundle-layout { grid-template-columns: 1fr !important; }
  .data-workflow-tabs { top: 104px; }
  .source-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-stats > div:nth-child(3) { border-top: 1px solid var(--ink-200); border-left: 0; }
  .source-stats > div:nth-child(4) { border-top: 1px solid var(--ink-200); }
  .concept-grid { grid-template-columns: 1fr; }
  .model-update-summary, .model-update-flow { grid-template-columns: 1fr; }
  .limitation-panel { grid-template-columns: 1fr; }
  .dataset-decision { grid-template-columns: 1fr; }
  .knowledge-actor-grid { grid-template-columns: 1fr; }
  .model-manager-toolbar { grid-template-columns: minmax(0, 1fr) minmax(145px, .45fr); }
  .model-search-field { grid-column: 1 / -1; }
  .model-manager-layout { grid-template-columns: 1fr; }
  .model-list { max-height: 360px; }
  .model-detail { position: static; }
  .inspection-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inspection-flow article::after { display: none !important; }
  .risk-distribution { grid-template-columns: 140px minmax(0, 1fr); }
  .risk-donut { width: 138px; height: 138px; }
  .risk-donut > div { width: 88px; height: 88px; }
}

@media (max-width: 620px) {
  .topbar { gap: 8px; }
  .page-heading { min-width: 0; flex: 1; }
  .page-heading h1 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar-actions { min-width: 0; gap: 6px; }
  .account-button { max-width: 150px; }
  #account-label, #account-time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-heading p { display: none; }
  .system-status span:last-child { display: none; }
  .system-status { padding: 9px; }
  .hero { padding: 26px 20px; border-radius: 18px; }
  .hero h2 { font-size: 32px; }
  .hero p { font-size: 15px; }
  .grid.two, .grid.four, .provider-grid { grid-template-columns: 1fr; }
  .visual-overview-grid, .inspection-flow, .inspection-risk-snapshot, .trend-summary-grid, .quick-action-grid { grid-template-columns: 1fr; }
  .inspection-boundary { padding: 18px; }
  .inspection-boundary-flow { grid-template-columns: 1fr; }
  .boundary-arrow { transform: rotate(90deg); }
  .inspection-today-action { grid-template-columns: 1fr; }
  .inspection-today-action .button { width: 100%; }
  .inspection-filter-bar { grid-template-columns: 1fr; }
  .suggestions { grid-template-columns: 1fr; }
  .assistant-bubble { width: calc(100% - 38px); }
  .answer-evidence > summary { align-items: flex-start; flex-direction: column; }
  .risk-distribution { grid-template-columns: 1fr; justify-items: center; }
  .risk-legend { width: 100%; }
  .today-decision { grid-template-columns: 1fr; }
  .upload-queue-actions, .preparation-actions, .preparation-job-head, .preparation-job-foot { align-items: stretch; flex-direction: column; }
  .preparation-job-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config-change { grid-template-columns: 1fr; }
  .model-library-summary { grid-template-columns: 1fr; }
  .model-library-summary p { grid-column: auto; }
  .model-manager-toolbar { grid-template-columns: 1fr; }
  .model-search-field { grid-column: auto; }
  .model-list-item { grid-template-columns: minmax(0, 1fr); }
  .model-list-meta { justify-content: flex-start; }
  .model-detail-head { flex-direction: column; }
  .model-detail-meta > div { grid-template-columns: 1fr; gap: 3px; }
  .model-detail-actions { align-items: stretch; flex-direction: column; }
  .config-change b { transform: rotate(90deg); justify-self: start; }
  .toolbar, .section-header { align-items: stretch; flex-direction: column; }
  .toolbar-group { align-items: stretch; flex-direction: column; }
  .field, .field.grow { width: 100%; min-width: 0; }
  .chat-history { padding: 14px; }
  .chat-model-picker { align-items: stretch; flex-direction: column; gap: 4px; }
  .chat-composer { grid-template-columns: 1fr; }
  .message { max-width: 100%; }
  .product-hero { min-height: auto; }
  .product-hero h2 { font-size: clamp(32px, 10vw, 36px); }
  .product-visual { margin-top: 4px; }
  .product-visual > svg { display: block; }
  .input-output-strip { grid-template-columns: 1fr; }
  .io-arrow { transform: rotate(90deg); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(n) { grid-column: auto; }
  .glossary-grid { grid-template-columns: 1fr; }
  .page-guide { grid-template-columns: 1fr; }
  .page-guide-title { grid-column: auto; }
  .page-guide-item { border-top: 1px solid var(--ink-200); border-left: 0; }
  .source-stats, .check-grid { grid-template-columns: 1fr; }
  .data-workflow-tabs { position: static; grid-template-columns: 1fr; }
  .data-workflow-tabs button { min-height: 58px; }
  .data-task-intro { padding: 20px 18px; }
  .data-task-facts { grid-template-columns: 1fr; }
  .data-task-facts > div { border-top: 1px solid #d7e2f2; border-left: 0; }
  .data-task-facts > div:first-child { border-top: 0; }
  .data-context-details > summary { align-items: flex-start; flex-wrap: wrap; }
  .data-context-details > summary small { width: calc(100% - 32px); margin-left: 0; text-align: left; }
  .data-next-tab { align-items: stretch; flex-direction: column; }
  .data-next-tab .button { width: 100%; }
  .source-stats > div { border-top: 1px solid var(--ink-200); border-left: 0; }
  .source-stats > div:first-child { border-top: 0; }
  .pagination-controls { align-items: stretch; flex-direction: column; }
  .pagination-controls > div { display: grid; grid-template-columns: 1fr 1fr; }
  .method-hero { padding: 22px 18px; }
  .method-example { grid-template-columns: 1fr; }
  .method-example > div, .method-example > span, .method-example > strong, .method-example > p { grid-column: 1; }
  .runtime-grid, .weight-grid { grid-template-columns: 1fr; }
  .formula-equation { align-items: stretch; flex-direction: column; }
  .formula-equation > span { display: none; }
  .timeline-list li { grid-template-columns: 80px 1fr; }
  .dataset-audit-head { align-items: stretch; flex-direction: column; }
  .dataset-stats, .audit-check-grid { grid-template-columns: 1fr; }
  .label-result-grid, .training-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dataset-stats > div { border-top: 1px solid var(--ink-200); border-left: 0; }
  .dataset-stats > div:first-child { border-top: 0; }
  .decision-actions { align-items: stretch; flex-direction: column; }
  .knowledge-document-form { grid-template-columns: 1fr; }
  .knowledge-document-form .span-two { grid-column: auto; }
  .knowledge-library-head { align-items: stretch; flex-direction: column; }
  .knowledge-meta > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 420px) {
  .account-button-copy { display: none; }
  .account-button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
