:root {
  --ink: #102a35;
  --muted: #5f737d;
  --line: #dbe5e8;
  --paper: #f4f7f5;
  --white: #ffffff;
  --teal: #087f78;
  --teal-dark: #075e5a;
  --mint: #dff3ec;
  --lime: #b8e06f;
  --orange: #f59d45;
  --red: #c54c4c;
  --shadow: 0 18px 50px rgba(16, 42, 53, .12);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Yu Gothic UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: #dce5e4; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #dce5e4; font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
button { color: inherit; font: inherit; }
button:focus-visible { outline: 3px solid rgba(245,157,69,.6); outline-offset: 3px; }
[hidden] { display: none !important; }
.portal-shell { position: relative; width: min(100%, 520px); min-height: 100dvh; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.portal-header { height: 72px; padding: 14px 20px 10px; display: flex; align-items: center; justify-content: space-between; background: rgba(244,247,245,.94); border-bottom: 1px solid rgba(219,229,232,.8); backdrop-filter: blur(14px); }
.brand, .overview-button { border: 0; background: transparent; cursor: pointer; }
.brand { display: flex; gap: 10px; align-items: center; padding: 0; text-align: left; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 13px; color: #fff; background: var(--teal); font-weight: 900; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; letter-spacing: .03em; }
.brand small { margin-top: -2px; color: var(--muted); font-size: 8px; letter-spacing: .13em; }
.overview-button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--white); font-size: 11px; font-weight: 800; }
.progress-wrap { height: 32px; padding: 7px 22px 0; display: flex; align-items: flex-start; gap: 12px; background: var(--paper); }
.progress-copy { display: flex; align-items: baseline; gap: 3px; min-width: 40px; color: #8a9aa1; font-size: 10px; font-weight: 800; }
.progress-copy span:first-child { color: var(--teal); font-size: 13px; }
.progress-track { flex: 1; height: 4px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #dbe6e3; }
.progress-track span { display: block; width: 8.333%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #36a89d); transition: width .35s ease; }
.screen-stage { padding: 0 20px 86px; }
.portal-screen { min-height: calc(100dvh - 190px); padding: 26px 2px 20px; }
.eyebrow { display: inline-flex; align-items: center; min-height: 26px; margin-bottom: 14px; padding: 4px 10px; border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
h1, h2 { margin: 0; color: var(--ink); font-weight: 900; letter-spacing: -.04em; line-height: 1.28; }
h1 { font-size: clamp(31px, 9vw, 43px); }
h2 { font-size: clamp(25px, 7.6vw, 35px); }
h1 span, h2 span { color: var(--teal); }
.lead { margin: 18px 0 24px; color: var(--muted); font-size: 15px; font-weight: 600; }
.lead.compact { margin: 12px 0 20px; font-size: 13px; }
.micro-copy { margin: 13px 0 0; color: #74878f; text-align: center; font-size: 10px; font-weight: 700; }
.industry-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.industry-chips button { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 12px; font-weight: 800; cursor: pointer; }
.primary-action, .secondary-action { width: 100%; min-height: 56px; border-radius: 17px; font-weight: 900; cursor: pointer; }
.primary-action { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border: 0; color: #fff; background: var(--teal); box-shadow: 0 12px 26px rgba(8,127,120,.22); }
.primary-action span { font-size: 20px; }
.secondary-action { border: 1px solid var(--teal); color: var(--teal); background: #fff; }
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.industry-card { position: relative; min-height: 145px; padding: 15px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; background: var(--white); text-align: left; cursor: pointer; }
.industry-card.featured { grid-column: 1 / -1; min-height: 122px; border-color: rgba(8,127,120,.35); background: linear-gradient(135deg, #fff, #e6f6f1); }
.card-icon { display: grid; place-items: center; width: 35px; height: 35px; margin-bottom: 10px; border-radius: 12px; color: var(--teal-dark); background: var(--mint); font-size: 14px; font-weight: 900; }
.industry-card strong { font-size: 16px; }
.industry-card small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.industry-card b { position: absolute; top: 15px; right: 14px; color: var(--teal); font-size: 9px; }
.case-list { display: grid; gap: 10px; margin-top: 20px; }
.case-card { width: 100%; min-height: 76px; padding: 12px; display: grid; grid-template-columns: 38px 1fr 20px; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 17px; background: var(--white); text-align: left; cursor: pointer; }
.case-card.selected { border-color: var(--teal); box-shadow: 0 9px 24px rgba(16,42,53,.08); }
.case-number { color: #93a4aa; font-size: 11px; font-weight: 900; }
.case-card strong, .case-card small { display: block; }
.case-card strong { font-size: 13px; line-height: 1.45; }
.case-card small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.case-arrow { color: var(--teal); font-size: 20px; }
.tip { margin-top: 14px; padding: 11px 13px; border-radius: 13px; color: var(--muted); background: #e8eeec; font-size: 10px; font-weight: 700; }
.tip span { margin-right: 6px; color: var(--teal); font-size: 9px; }
.question-stack { display: grid; gap: 9px; margin: 18px 0; }
.question-stack article { padding: 12px 13px; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.question-stack article > span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 9px; color: #fff; background: var(--teal); font-size: 11px; font-weight: 900; }
.question-stack small, .question-stack strong { display: block; }
.question-stack small { color: var(--muted); font-size: 9px; font-weight: 700; }
.question-stack strong { margin-top: 2px; font-size: 11px; line-height: 1.5; }
.intake-form { display: grid; gap: 12px; margin: 18px 0; }
.intake-question { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.intake-question legend { width: 100%; padding: 0; display: flex; gap: 9px; align-items: center; }
.intake-question legend > span { display: grid; flex: 0 0 28px; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: #fff; background: var(--teal); font-size: 11px; font-weight: 900; }
.intake-question legend strong { font-size: 13px; }
.intake-question label { margin: 11px 0 5px; display: block; color: var(--muted); font-size: 10px; font-weight: 800; }
.intake-question label b { margin-left: 5px; color: var(--red); font-size: 8px; }
.intake-question select, .intake-question textarea { width: 100%; border: 1px solid #cddadd; border-radius: 12px; color: var(--ink); background: #fff; font: 600 13px/1.55 var(--font); }
.intake-question select { height: 46px; padding: 0 12px; }
.intake-question textarea { min-height: 86px; padding: 11px 12px; resize: vertical; }
.intake-question select:focus, .intake-question textarea:focus { outline: 3px solid rgba(8,127,120,.15); border-color: var(--teal); }
.field-help { display: block; margin-top: 4px; color: #84949a; text-align: right; font-size: 9px; }
.suggestion-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 8px; }
.suggestion-chips button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-size: 9px; font-weight: 800; cursor: pointer; }
.form-error { padding: 11px 12px; border: 1px solid #edcccc; border-radius: 12px; color: #923737; background: #fff4f4; font-size: 11px; font-weight: 700; }
.primary-action:disabled { opacity: .55; cursor: wait; }
.intake-review { margin: 18px 0; padding: 16px; border: 1px solid rgba(8,127,120,.3); border-radius: 18px; background: var(--white); }
.intake-review h3 { margin: 15px 0 9px; font-size: 16px; }
.review-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--teal-dark); background: var(--mint); font-size: 10px; font-weight: 900; }
.review-status.status-needs_confirmation, .review-status.status-needs_revision { color: #945317; background: #fff0dd; }
.review-status.status-out_of_scope, .review-status.status-unknown { color: #963b3b; background: #f8e3e3; }
.review-summary { margin: 0; display: grid; gap: 7px; }
.review-summary div { padding: 9px 10px; border-radius: 11px; background: #f1f5f4; }
.review-summary dt { color: var(--muted); font-size: 9px; font-weight: 800; }
.review-summary dd { margin: 2px 0 0; font-size: 11px; font-weight: 800; }
.review-issues { margin-top: 12px; padding: 12px; border-left: 4px solid var(--orange); border-radius: 4px 12px 12px 4px; background: #fff4e8; }
.review-issues strong { color: #945317; font-size: 10px; }
.review-issues ul { margin: 7px 0 0; padding-left: 18px; font-size: 10px; }
.review-actions { margin-top: 14px; display: grid; gap: 8px; }
.review-actions .primary-action { margin-top: 2px; }
.chat-demo { display: grid; gap: 13px; margin: 18px 0; }
.chat-row { display: flex; gap: 8px; align-items: flex-end; }
.chat-row.person { justify-content: flex-end; }
.avatar { display: grid; flex: 0 0 30px; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: var(--teal); font-size: 10px; font-weight: 900; }
.chat-row.person .avatar { color: var(--ink); background: #dce3e5; }
.chat-row p { max-width: 78%; margin: 0; padding: 12px 14px; border-radius: 17px 17px 17px 4px; background: var(--white); box-shadow: 0 7px 18px rgba(16,42,53,.07); font-size: 12px; }
.chat-row.person p { border-radius: 17px 17px 4px 17px; color: #fff; background: var(--teal); }
.chat-row p strong { color: var(--teal-dark); }
.chat-row.person p strong { color: #fff; }
.insight-banner { margin-top: 20px; padding: 15px; border-left: 4px solid var(--orange); border-radius: 4px 14px 14px 4px; background: #fff4e8; }
.insight-banner span, .insight-banner strong { display: block; }
.insight-banner span { color: #b5671d; font-size: 9px; font-weight: 900; }
.insight-banner strong { margin-top: 4px; font-size: 12px; }
.hole-flow { display: grid; gap: 4px; margin: 20px 0 16px; }
.hole-flow article { padding: 12px 14px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.hole-flow article span { min-width: 39px; padding: 3px 6px; border-radius: 7px; color: var(--teal-dark); background: var(--mint); text-align: center; font-size: 9px; font-weight: 900; }
.hole-flow article strong { font-size: 12px; }
.hole-flow > i { height: 16px; color: #91a2a8; text-align: center; font-style: normal; line-height: 15px; }
.hole-flow article.danger { border-color: #edcccc; background: #fff6f6; }
.hole-flow article.danger span { color: #9f3131; background: #f4dede; }
.summary-line { margin: 15px 0 0; color: var(--muted); text-align: center; font-size: 11px; font-weight: 700; }
.keep-change-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.keep-change-grid article { min-height: 218px; padding: 14px; border-radius: 17px; background: var(--white); }
.keep-change-grid article > span { display: inline-block; padding: 3px 8px; border-radius: 7px; font-size: 9px; font-weight: 900; }
.keep-change-grid .keep > span { color: var(--muted); background: #e7edee; }
.keep-change-grid .change { border: 1px solid rgba(8,127,120,.35); }
.keep-change-grid .change > span { color: var(--teal-dark); background: var(--mint); }
.keep-change-grid ul { margin: 13px 0 0; padding-left: 18px; }
.keep-change-grid li { margin: 0 0 10px; font-size: 11px; font-weight: 700; }
.solution-strip { padding: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; border-radius: 14px; color: #fff; background: var(--ink); }
.solution-strip b { color: var(--lime); font-size: 10px; }
.solution-strip span, .solution-strip i { font-size: 9px; font-style: normal; }
.poc-card { margin: 20px 0 12px; overflow: hidden; border-radius: 19px; background: var(--white); box-shadow: 0 10px 28px rgba(16,42,53,.08); }
.poc-head { padding: 15px; display: flex; gap: 12px; align-items: center; color: #fff; background: var(--ink); }
.poc-head span { padding: 4px 7px; border-radius: 6px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 900; }
.poc-head strong { font-size: 13px; }
.poc-card dl { margin: 0; padding: 6px 15px 12px; }
.poc-card dl div { padding: 8px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #edf1f2; font-size: 11px; }
.poc-card dl div:last-child { border: 0; }
.poc-card dt { color: var(--muted); }
.poc-card dd { margin: 0; font-weight: 900; }
.metric-card { padding: 15px; border: 1px solid #f2cfaa; border-radius: 17px; background: #fff8ef; text-align: center; }
.metric-card small, .metric-card strong { display: block; }
.metric-card small { color: #b5671d; font-size: 9px; font-weight: 900; }
.metric-card strong { margin-top: 4px; font-size: 13px; }
.metric-visual { margin-top: 12px; display: flex; gap: 10px; align-items: center; justify-content: center; }
.metric-visual span, .metric-visual b { padding: 6px 9px; border-radius: 8px; background: #fff; font-size: 10px; }
.metric-visual b { color: var(--teal-dark); background: var(--mint); }
.metric-visual i { color: var(--orange); font-style: normal; }
.learning-steps { display: grid; gap: 10px; margin: 20px 0; }
.learning-steps article { padding: 13px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.learning-steps span { color: var(--teal); font-size: 10px; font-weight: 900; }
.learning-steps p { margin: 0; font-size: 13px; font-weight: 900; }
.outcome-card { padding: 17px; border-radius: 17px; color: #fff; background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }
.outcome-card small, .outcome-card strong { display: block; }
.outcome-card small { color: var(--lime); font-size: 9px; font-weight: 900; }
.outcome-card strong { margin-top: 6px; font-size: 15px; }
.login-actions { display: grid; gap: 11px; margin: 28px 0 18px; }
.login-button { min-height: 58px; padding: 0 16px; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; border: 0; border-radius: 15px; cursor: pointer; }
.login-button span { font-size: 12px; font-weight: 900; }
.login-button strong { font-size: 14px; }
.login-button.line { color: #fff; background: #06c755; }
.login-button.google { border: 1px solid var(--line); background: var(--white); }
.login-button.google span { color: #4285f4; font-size: 20px; }
.privacy-note { padding: 12px; display: flex; gap: 10px; border-radius: 13px; background: #e8efed; }
.privacy-note > span { color: var(--teal); font-weight: 900; }
.privacy-note p { margin: 0; color: var(--muted); font-size: 10px; }
.privacy-note strong { color: var(--ink); }
.text-action { width: 100%; margin-top: 18px; border: 0; color: var(--teal); background: transparent; font-size: 11px; font-weight: 900; cursor: pointer; }
.future-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 19px 0; }
.future-grid article { min-height: 138px; padding: 13px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.future-grid span { color: var(--teal); font-size: 10px; font-weight: 900; }
.future-grid strong { margin-top: 8px; font-size: 11px; line-height: 1.55; }
.future-grid small { margin-top: auto; color: var(--muted); font-size: 9px; }
.portal-future { padding: 14px; border-radius: 15px; background: var(--mint); }
.portal-future strong { font-size: 12px; }
.portal-future p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }
.journey-flow { margin: 18px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; list-style: none; }
.journey-flow li { min-height: 64px; padding: 10px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.journey-flow li:last-child { grid-column: 1 / -1; border-color: rgba(8,127,120,.35); background: var(--mint); }
.journey-flow span { color: var(--teal); font-size: 9px; font-weight: 900; }
.journey-flow strong { font-size: 10px; }
.final-message { margin: 12px 0; padding: 16px; border-radius: 16px; color: #fff; background: var(--ink); }
.final-message small, .final-message strong { display: block; }
.final-message small { color: var(--lime); font-size: 8px; letter-spacing: .12em; }
.final-message strong { margin-top: 5px; font-size: 15px; }
.portal-nav { position: fixed; z-index: 20; bottom: 0; left: 50%; width: min(100%, 520px); height: 70px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; transform: translateX(-50%); border-top: 1px solid var(--line); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.nav-button { min-width: 76px; height: 42px; border: 0; border-radius: 13px; background: transparent; font-size: 11px; font-weight: 900; cursor: pointer; }
.nav-button.next { color: #fff; background: var(--teal); }
.nav-button:disabled { opacity: .25; cursor: default; }
.nav-dots { display: flex; gap: 3px; align-items: center; }
.nav-dot { width: 4px; height: 4px; border-radius: 999px; background: #c9d4d7; transition: .2s; }
.nav-dot.is-active { width: 13px; background: var(--teal); }
.overview-panel { position: fixed; z-index: 40; inset: 0; display: none; }
.overview-panel.is-open { display: block; }
.overview-backdrop { position: absolute; inset: 0; background: rgba(7,29,37,.48); }
.overview-sheet { position: absolute; right: 0; bottom: 0; left: 0; width: min(100%, 520px); max-height: 88dvh; margin: auto; padding: 20px; overflow-y: auto; border-radius: 24px 24px 0 0; background: var(--white); box-shadow: 0 -15px 45px rgba(16,42,53,.18); animation: sheet-up .25s ease; }
@keyframes sheet-up { from { transform: translateY(25px); opacity: 0; } }
.overview-head { display: flex; justify-content: space-between; align-items: flex-start; }
.overview-head small { color: var(--teal); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.overview-head h2 { margin-top: 2px; font-size: 23px; }
.overview-head > button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #edf1f1; font-size: 21px; cursor: pointer; }
.overview-list { margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; list-style: none; }
.overview-list button { width: 100%; min-height: 48px; padding: 8px 10px; display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-align: left; font-size: 10px; font-weight: 800; cursor: pointer; }
.overview-list span { color: var(--teal); font-size: 8px; }
.toast { position: fixed; z-index: 60; bottom: 84px; left: 50%; padding: 10px 15px; border-radius: 999px; color: #fff; background: var(--ink); font-size: 10px; font-weight: 800; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.portal-fallback { max-width: 760px; margin: 80px auto; padding: 20px; }
@media (min-width: 700px) {
  body { padding: 24px 0; }
  .portal-shell { min-height: calc(100dvh - 48px); border-radius: 28px; }
  .portal-nav { bottom: 24px; border-radius: 0 0 28px 28px; }
  .portal-screen { min-height: calc(100dvh - 238px); }
}
@media (max-width: 370px) {
  .screen-stage { padding-right: 16px; padding-left: 16px; }
  .portal-screen { padding-top: 18px; }
  h1 { font-size: 29px; }
  h2 { font-size: 24px; }
  .question-stack article { padding: 9px 10px; }
  .keep-change-grid article { min-height: 205px; padding: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


.live-analysis-status, .live-analysis-results { margin-top: 18px; }
.live-analysis-status { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.live-analysis-status p { margin: 9px 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.analysis-spinner { display: block; width: 25px; height: 25px; border: 3px solid var(--line); border-top-color: var(--teal); border-radius: 50%; animation: analysis-spin .8s linear infinite; }
@keyframes analysis-spin { to { transform: rotate(360deg); } }
.live-result-note { padding: 11px 13px; border-radius: 12px; color: var(--teal-dark); background: var(--mint); font-size: 11px; font-weight: 800; }
.live-result-section { margin: 18px 0; }
.live-result-section > h3 { margin: 0 0 9px; font-size: 17px; font-weight: 900; }
.live-result-section > p { margin: 0; color: var(--muted); font-size: 13px; }
.live-result-section > ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 13px; }
.live-result-section > ul li + li { margin-top: 7px; }
.live-person-card, .live-gap-card { margin: 10px 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.live-person-card h4, .live-gap-card h4 { margin: 0 0 9px; font-size: 14px; font-weight: 900; }
.live-person-card dl, .live-gap-card dl { margin: 0; }
.live-person-card dl > div, .live-gap-card dl > div { padding: 7px 0; border-top: 1px solid var(--line); }
.live-person-card dt, .live-gap-card dt { color: var(--teal-dark); font-size: 10px; font-weight: 900; }
.live-person-card dd, .live-gap-card dd { margin: 2px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.live-result-edit { margin-top: 20px; }

/* 資料読込から4軸確認まで */
.document-upload-form { margin-top: 20px; }
.document-drop { min-height: 174px; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 2px dashed #8bbab5; border-radius: 18px; background: #f2fbf8; text-align: center; cursor: pointer; }
.document-drop strong { color: var(--ink); font-size: 14px; }
.document-drop small { color: var(--muted); font-size: 11px; }
.document-drop input { width: 100%; max-width: 240px; font: 11px var(--font); }
.document-file-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: #fff; background: var(--teal); font-size: 24px; font-weight: 800; }
.document-file-name { margin: -5px 0 0; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.document-results { margin: 18px 0; }
.document-source-name { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.document-axis-card { margin: 12px 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.document-axis-card h3 { margin: 0 0 8px; font-size: 14px; }
.document-axis-card textarea { width: 100%; min-height: 72px; margin-top: 9px; padding: 10px; border: 1px solid #cddadd; border-radius: 11px; color: var(--ink); background: #fff; font: 600 13px/1.55 var(--font); resize: vertical; }
.document-axis-card textarea:focus { outline: 3px solid rgba(8,127,120,.15); border-color: var(--teal); }
.document-status { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 900; }
.document-status.status-explicit { color: var(--teal-dark); background: var(--mint); }
.document-status.status-suggested, .document-status.status-multiple { color: #945317; background: #fff0dd; }
.document-status.status-unknown { color: #963b3b; background: #f8e3e3; }
.document-evidence { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }
.document-source { margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: #f6f8f8; }
.document-source summary { font-size: 11px; font-weight: 900; cursor: pointer; }
.document-source pre { max-height: 280px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.6 var(--font); }
.document-confirm { margin-top: 12px; }
.document-confirmation { padding: 12px; border-radius: 12px; color: var(--teal-dark); background: var(--mint); font-size: 11px; font-weight: 800; }