:root {
  --navy: #0b1f3a;
  --navy-soft: #183457;
  --blue: #1967d2;
  --cyan: #49c6e5;
  --ice: #eef8ff;
  --ice-2: #f7fbff;
  --line: #d9e7f2;
  --text: #18304d;
  --muted: #6c8197;
  --white: #ffffff;
  --green: #14866b;
  --amber: #b56a0c;
  --red: #c33f48;
  --shadow: 0 24px 70px rgba(23, 60, 104, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: linear-gradient(145deg, #ffffff 0%, #f3faff 55%, #eef7ff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection { background: #bfe9f6; color: var(--navy); }

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

.ambient {
  position: fixed;
  z-index: -1;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .42;
  pointer-events: none;
}

.ambient-one { top: 5%; right: -140px; background: #c5eff7; }
.ambient-two { top: 48%; left: -190px; background: #d9e4ff; }

.section-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.international-banner { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 12px 16px; border: 1px solid #cfe4ef; border-radius: 12px; color: var(--navy); background: linear-gradient(100deg, rgba(255,255,255,.92), rgba(232,248,253,.78)); box-shadow: 0 8px 22px rgba(31,75,114,.07); }
.international-banner-label { flex: 0 0 auto; color: #176aa7; font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.international-banner p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
}

.site-header-home { padding-top: 22px; padding-bottom: 12px; }
.site-header-home .nav-links { gap: 0; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-image { min-width: 0; }
.brand-logo { display: block; width: 174px; max-width: 48vw; height: auto; object-fit: contain; background: transparent; mix-blend-mode: multiply; }
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(25, 103, 210, .24);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), var(--blue));
  box-shadow: 0 10px 22px rgba(25, 103, 210, .2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.brand strong, .brand small { display: block; }
.brand strong { color: var(--navy); font-size: 13px; letter-spacing: .01em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.nav-links { display: flex; align-items: center; gap: 26px; color: var(--muted); font-size: 13px; font-weight: 650; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid rgba(255,255,255,.95); border-radius: 999px; color: var(--navy) !important; background: linear-gradient(145deg, #ffffff, #e5f2fb); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 0 #c6ddea, 0 12px 24px rgba(31,75,114,.12); transition: transform .18s ease, box-shadow .18s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 0 #c6ddea, 0 16px 28px rgba(31,75,114,.16); }

.hero { display: grid; grid-template-columns: 1fr .88fr; gap: 70px; align-items: center; min-height: 610px; padding: 54px 0 58px; }
.home-hero { padding-top: 42px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(73,198,229,.16); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin: 20px 0 20px; color: var(--navy); font-size: clamp(39px, 5.3vw, 70px); font-weight: 780; letter-spacing: -.055em; line-height: 1.01; }
.hero-lead { max-width: 560px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.international-note { max-width: 600px; margin: 22px 0 0; padding: 13px 14px; border-left: 4px solid var(--cyan); color: var(--muted); background: rgba(255,255,255,.56); font-size: 11px; line-height: 1.6; }
.international-note strong { color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.workspace-entry-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workspace-entry-actions { gap: 14px; margin-top: 25px; }
.workspace-entry-actions .button { min-width: 0; min-height: 64px; padding-right: 16px; padding-left: 16px; border-radius: 18px; }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; padding: 0 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.34); border-radius: 12px; font-size: 13px; font-weight: 750; transform: translateY(0); box-shadow: inset 0 1px 0 rgba(255,255,255,.32), 0 6px 0 rgba(9,37,72,.36), 0 15px 28px rgba(11,31,58,.16); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.button::before { position: absolute; top: 0; right: 8%; left: 8%; height: 42%; border-radius: 0 0 50% 50%; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); content: ""; pointer-events: none; }
.button > * { position: relative; z-index: 1; }
.button-icon { display: inline-grid; width: 27px; height: 27px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 15px; line-height: 1; }
.button:hover { transform: translateY(-3px); filter: saturate(1.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 9px 0 rgba(9,37,72,.36), 0 21px 34px rgba(11,31,58,.22); }
.button:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 2px 0 rgba(9,37,72,.36), 0 8px 16px rgba(11,31,58,.15); }
.button-primary { color: #fff; background: linear-gradient(145deg, #1c66aa 0%, var(--navy) 52%, #092b57 100%); }
.button-quiet { border-color: #d4e6f1; color: var(--navy); background: linear-gradient(145deg, #ffffff, #eaf5fb); box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 6px 0 #c6ddea, 0 15px 28px rgba(31,75,114,.12); }
.button-light { border-color: rgba(255,255,255,.9); color: var(--navy); background: linear-gradient(145deg, #ffffff, #d9f3fa); box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 6px 0 #9ac7dc, 0 15px 28px rgba(3,28,62,.16); }
.button-full { width: 100%; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 29px; color: var(--muted); font-size: 11px; font-weight: 700; }
.hero-proof span::before { content: "✓"; margin-right: 5px; color: var(--green); }

.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(25,103,210,.13); border-radius: 50%; transform: rotate(-19deg); }
.orbit-large { width: 420px; height: 260px; }
.orbit-small { width: 310px; height: 180px; transform: rotate(31deg); border-color: rgba(73,198,229,.21); }
.visual-card { position: relative; border: 1px solid rgba(255,255,255,.76); border-radius: 20px; background: rgba(255,255,255,.82); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.visual-card-main { width: min(330px, 84%); padding: 25px; z-index: 2; }
.visual-card-top, .visual-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mini-label, .panel-kicker { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 68px; padding: 6px 10px; border-radius: 999px; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.status-low { color: var(--green); background: #dff7ef; }
.status-medium { color: var(--amber); background: #fff0d7; }
.status-high { color: #a35300; background: #ffe4bf; }
.status-critical { color: var(--red); background: #ffe0e3; }
.status-pending-evidence { color: var(--case-red, #8c1f28); background: #f9e4e4; }
.status-provisional { border-style: dashed; }
.status-not-ready { color: #8f3940; background: #ffe8ea; }
.visual-score { margin-top: 22px; color: var(--navy); font-size: 56px; font-weight: 800; letter-spacing: -.08em; line-height: 1; }
.visual-score span { margin-left: 4px; color: var(--muted); font-size: 15px; font-weight: 650; letter-spacing: 0; }
.visual-card-main p { margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.signal-line { overflow: hidden; height: 8px; margin-bottom: 20px; border-radius: 9px; background: #e7f0f7; }
.signal-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #49c6e5, #e4a13d); }
.visual-meta { padding: 8px 0; border-top: 1px solid #e5edf4; color: var(--muted); font-size: 11px; }
.visual-meta strong { color: var(--navy); }
.visual-card-float { position: absolute; right: 4%; bottom: 48px; z-index: 3; width: 190px; padding: 16px; }
.visual-card-float strong { display: block; margin: 8px 0; color: var(--navy); font-size: 13px; }
.float-check { color: var(--green); font-size: 10px; font-weight: 700; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); box-shadow: 0 15px 40px rgba(31,75,114,.06); }
.trust-strip > div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 19px 22px; background: rgba(255,255,255,.74); }
.trust-icon { grid-row: span 2; display: grid; width: 29px; height: 29px; place-items: center; border-radius: 9px; color: var(--blue); background: #e9f5ff; font-size: 9px; font-weight: 850; }
.trust-strip strong { color: var(--navy); font-size: 12px; }
.trust-strip small { color: var(--muted); font-size: 10px; }

.section-block { padding: 112px 0 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-heading h2 { margin: 10px 0 0; color: var(--navy); font-size: clamp(28px, 4vw, 43px); letter-spacing: -.045em; line-height: 1.1; }
.section-heading > p { max-width: 360px; margin-bottom: 3px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.compact-heading { align-items: start; }

.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 20px; align-items: start; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.86); box-shadow: 0 16px 50px rgba(30,73,111,.08); }
.form-panel, .report-panel { padding: 26px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.panel-heading h3 { margin: 6px 0 0; color: var(--navy); font-size: 19px; letter-spacing: -.02em; }
.form-intro { max-width: 430px; margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.panel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 13px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 7px 11px; border: 1px solid #c9dfec; border-radius: 9px; color: var(--blue); background: linear-gradient(145deg, #ffffff, #eaf6fb); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 3px 0 #c6ddea, 0 7px 14px rgba(31,75,114,.09); font-size: 11px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease; }
.text-button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 5px 0 #c6ddea, 0 10px 17px rgba(31,75,114,.13); }
.text-button:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 1px 0 #c6ddea, 0 4px 10px rgba(31,75,114,.09); }
.text-button:disabled { cursor: not-allowed; opacity: .42; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field em { color: var(--muted); font-size: 9px; font-style: normal; font-weight: 600; }
.field > span { color: var(--muted); font-size: 11px; font-weight: 700; }
.field input, .field select, .pilot-form input, .pilot-form select { width: 100%; height: 43px; padding: 0 12px; border: 1px solid #d6e4ef; border-radius: 10px; outline: 0; color: var(--navy); background: #fbfdff; font-size: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { width: 100%; min-height: 72px; padding: 11px 12px; border: 1px solid #d6e4ef; border-radius: 10px; outline: 0; resize: vertical; color: var(--navy); background: #fbfdff; font-size: 12px; line-height: 1.45; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .pilot-form input:focus, .pilot-form select:focus { border-color: #6ebce2; box-shadow: 0 0 0 4px rgba(73,198,229,.12); }
.field textarea:focus { border-color: #6ebce2; box-shadow: 0 0 0 4px rgba(73,198,229,.12); }
.derived-field input[readonly] { color: var(--navy); background: #eef8ff; }
.unit-profile-note { color: var(--muted); font-size: 9px; line-height: 1.45; }
.field.has-error > input, .field.has-error > select, .field.has-error > textarea, .field.has-error .input-invalid { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(195,63,72,.12) !important; }
.field-error { color: var(--red); font-size: 10px; font-weight: 750; line-height: 1.35; }
.optional-section { overflow: hidden; border: 1px solid #dfeaf3; border-radius: 13px; background: #fbfdff; }
.optional-section summary { padding: 13px 14px; color: var(--navy); cursor: pointer; font-size: 11px; font-weight: 800; list-style-position: inside; }
.optional-section summary::marker { color: var(--blue); }
.optional-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0 14px 15px; }
.optional-note { margin: 0; padding: 0 14px 12px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.tbml-indicator-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 0 14px 14px; }
.tbml-metadata-grid { padding-top: 13px; border-top: 1px solid #e7eef5; }
.check-section-note { padding: 0; }
.check-section { margin: 22px 0; padding-top: 20px; border-top: 1px solid #e7eef5; }
.check-section-title { margin-bottom: 12px; color: var(--navy); font-size: 11px; font-weight: 800; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.check-card { display: flex; align-items: start; gap: 9px; min-height: 61px; padding: 11px; border: 1px solid #e1edf5; border-radius: 12px; background: #fbfdff; cursor: pointer; }
.check-card:hover { border-color: #a7d3e8; background: #f7fcff; }
.check-card input { margin-top: 3px; accent-color: var(--blue); }
.check-card strong, .check-card small { display: block; }
.check-card strong { color: var(--navy); font-size: 11px; }
.check-card small { margin-top: 2px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.form-message { min-height: 20px; margin: 5px 0 10px; color: var(--red); font-size: 11px; }

.report-panel { min-height: 570px; }
.empty-report { display: grid; min-height: 438px; place-items: center; align-content: center; padding: 30px; text-align: center; }
.empty-icon { display: grid; width: 55px; height: 55px; place-items: center; margin-bottom: 16px; border-radius: 18px; color: var(--blue); background: #e9f5ff; font-size: 25px; }
.empty-report h3 { margin-bottom: 8px; color: var(--navy); font-size: 17px; }
.empty-report p { max-width: 240px; margin: 0; color: var(--muted); font-size: 12px; }
.report-overview { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #f0f9ff, #f9fcff); }
.report-score { margin: 9px 0 8px; color: var(--navy); font-size: 52px; font-weight: 800; letter-spacing: -.08em; line-height: .95; }
.report-score small { margin-left: 3px; color: var(--muted); font-size: 13px; letter-spacing: 0; }
.report-score.score-withheld { color: var(--red); font-size: 44px; letter-spacing: -.04em; }
.report-score.score-withheld small { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.report-score.score-indicative { color: var(--amber); }
.report-score.score-indicative small { color: var(--amber); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.report-score.score-no-signal { color: var(--muted); font-size: 44px; letter-spacing: -.04em; }
.report-score.score-no-signal small { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status-no-signal { color: var(--blue); background: #e9f5ff; }
.report-gauge { overflow: hidden; width: 125px; height: 125px; border: 9px solid #dcecf6; border-radius: 50%; background: conic-gradient(var(--blue) 0deg, #dcecf6 0deg); transform: rotate(-45deg); }
.report-gauge span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #f9fcff; }
.report-summary { margin: 20px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.report-meta-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0; }
.report-meta-item { min-width: 0; padding: 10px; border: 1px solid #dceaf3; border-radius: 11px; background: #f8fcff; }
.report-meta-item span, .report-detail-grid span { display: block; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.report-meta-item strong { display: block; margin-top: 4px; overflow-wrap: anywhere; color: var(--navy); font-size: 10px; line-height: 1.35; }
.report-detail-card { margin: 14px 0; padding: 14px; border: 1px solid #dceaf3; border-radius: 13px; background: #fbfdff; }
.report-detail-heading { margin-bottom: 10px; color: var(--navy); font-size: 11px; font-weight: 800; }
.report-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 14px; }
.report-detail-grid > div { min-width: 0; }
.report-detail-grid strong { display: block; margin-top: 3px; overflow-wrap: anywhere; color: var(--text); font-size: 10px; font-weight: 650; line-height: 1.45; }
.hypothesis-box { margin: 14px 0; padding: 14px; border: 1px solid #e8dcb9; border-radius: 13px; background: #fffaf0; }
.hypothesis-box p { margin: 7px 0 0; color: #695b3a; font-size: 10px; line-height: 1.55; }
.score-basis-note { margin: 14px 0; padding: 11px 13px; border-left: 3px solid var(--blue); color: var(--muted); background: #f5fbff; font-size: 10px; line-height: 1.5; }
.score-basis-note strong { color: var(--navy); }
.decision-readiness { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 16px 0 18px; padding: 13px 14px; border: 1px solid #ccefe5; border-radius: 13px; background: #f7fffc; }
.decision-readiness.is-blocked { border-color: #f0c6ca; background: #fff8f8; }
.decision-readiness.is-neutral { border-color: #cfe3f2; background: #f5fbff; }
.decision-readiness strong { color: var(--green); font-size: 11px; }
.decision-readiness.is-blocked strong { color: var(--red); }
.decision-readiness.is-neutral strong { color: var(--blue); }
.decision-readiness p { margin: 4px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.raw-score { flex: 0 0 auto; text-align: right; }
.raw-score span { display: block; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.raw-score strong { display: block; margin-top: 4px; color: var(--navy); font-size: 18px; }
.data-completeness-card { margin: 18px 0; padding: 14px; border: 1px solid #dceaf3; border-radius: 13px; background: #f8fcff; }
.completeness-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.completeness-header strong { color: var(--blue); font-size: 15px; letter-spacing: 0; }
.completeness-bar { overflow: hidden; height: 7px; margin-top: 9px; border-radius: 9px; background: #e3eef5; }
.completeness-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #49c6e5, #1967d2); transition: width .3s ease; }
.data-completeness-card p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.data-integrity-card { margin: 18px 0; padding: 14px; border: 1px solid #ccefe5; border-radius: 13px; background: #f7fffc; }
.data-integrity-card.is-blocked { border-color: #f0c6ca; background: #fff8f8; }
.integrity-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.integrity-header strong { color: var(--green); font-size: 11px; letter-spacing: 0; text-align: right; }
.integrity-header strong.integrity-blocked { color: var(--red); }
.data-integrity-card p { margin: 8px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.integrity-list { display: grid; gap: 4px; margin: 8px 0 0; padding-left: 16px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.data-integrity-card.is-blocked .integrity-list { color: #8f3940; }
.review-context { margin: 14px 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.review-context strong { color: var(--navy); }
.report-subheading { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 10px; color: var(--navy); font-size: 11px; font-weight: 800; }
.report-subheading span:last-child { color: var(--muted); font-size: 10px; font-weight: 650; }
.flag-list { display: grid; gap: 9px; }
.flag-item { display: grid; grid-template-columns: 9px 1fr auto; gap: 10px; align-items: start; padding: 11px 12px; border: 1px solid #e4edf4; border-radius: 11px; background: #fcfeff; }
.flag-marker { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: #e0a140; box-shadow: 0 0 0 4px rgba(224,161,64,.13); }
.flag-item strong { display: block; color: var(--navy); font-size: 11px; }
.flag-item p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.flag-points { color: var(--red); font-size: 11px; font-weight: 850; }
.recommendation-box { display: flex; gap: 11px; margin-top: 19px; padding: 14px; border: 1px solid #ccefe5; border-radius: 13px; background: #f0fcf8; }
.recommendation-icon { display: grid; flex: 0 0 23px; height: 23px; place-items: center; border-radius: 7px; color: var(--green); background: #d8f4eb; font-size: 11px; font-weight: 800; }
.recommendation-box strong { color: #126c57; font-size: 11px; }
.recommendation-box p { margin: 4px 0 0; color: #4d766c; font-size: 10px; line-height: 1.45; }
.report-action-list { display: grid; gap: 6px; margin: 7px 0 0; padding-left: 17px; color: #4d766c; font-size: 10px; line-height: 1.45; }
.report-footer-note { margin-top: 16px; color: var(--muted); font-size: 9px; font-style: italic; line-height: 1.5; }

/* Report export update v30: branded, print-ready review output. */
.report-content { padding: 20px; border: 1px solid #d7e2ef; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(11, 31, 58, .06); }
.tradeguard-print-snapshot { display: none; }
.report-brand-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 0 16px; margin-bottom: 18px; border-bottom: 1px solid #d7e2ef; }
.report-brand-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.report-brand-left img { width: 54px; height: 54px; object-fit: contain; border-radius: 10px; background: #fff; mix-blend-mode: multiply; }
.report-brand-left strong { display: block; color: #0b1630; font-size: 15px; letter-spacing: -.02em; }
.report-brand-left span, .report-brand-right span { display: block; color: #607089; font-size: 9px; line-height: 1.45; }
.report-brand-right { display: grid; gap: 2px; text-align: right; }
.report-brand-right strong { color: #0b1630; font-size: 9px; letter-spacing: .1em; }
.report-brand-right span { font-size: 8px; }
.report-panel .panel-actions { flex-wrap: wrap; }
.report-panel .text-button { border-color: #cbdce6; color: #0b1630; background: #fff; }
.report-panel .text-button:hover:not(:disabled) { border-color: #2563eb; color: #2563eb; background: #f4f8ff; }
.report-panel .export-note { flex-basis: 100%; margin: 7px 0 0; color: #607089; font-size: 9px; line-height: 1.4; }
.report-footer-note { padding: 12px 13px; border: 1px solid #d7e2ef; border-radius: 11px; color: #607089; background: #f5f8fc; font-style: normal; }

@media (max-width: 700px) {
  .report-brand-header { align-items: flex-start; flex-direction: column; }
  .report-brand-right { text-align: left; }
}

@media print {
  @page { size: letter; margin: .35in; }
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body.print-report-mode { min-width: 0; color: #17233a; background: #fff; }
  body.print-report-mode > :not(main),
  body.print-report-mode main > :not(#risk-check) { display: none !important; }
  body.print-report-mode main { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.print-report-mode #risk-check { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.print-report-mode #risk-check > :not(.report-panel) { display: none !important; }
  body.print-report-mode #risk-check > .report-panel:not(.tradeguard-print-snapshot) { display: none !important; }
  body.print-report-mode #risk-check > .tradeguard-print-snapshot { display: block !important; }
  body.print-report-mode .report-panel { display: block !important; max-width: none; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
  body.print-report-mode .report-panel > .panel-heading,
  body.print-report-mode .report-panel > .empty-report { display: none !important; }
  body.print-report-mode #emptyReport { display: none !important; }
  body.print-report-mode #reportContent,
  body.print-report-mode #reportContent[hidden],
  body.print-report-mode .tradeguard-print-snapshot .report-content { display: block !important; visibility: visible !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  body.print-report-mode .report-brand-header { margin-bottom: 14px; }
  body.print-report-mode .flag-list,
  body.print-report-mode .document-file-results { display: block !important; }
  body.print-report-mode .flag-item,
  body.print-report-mode .data-completeness-card,
  body.print-report-mode .data-integrity-card,
  body.print-report-mode .recommendation-box { break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 8px; }
  body.print-report-mode .report-footer-note { margin-top: 10px; padding: 8px 10px; font-size: 8px; line-height: 1.35; break-inside: auto; page-break-inside: auto; }
}

/* Transaction-monitoring report update v31: align the legacy case-file report with the TBML report. */
.case-file-report { color: #17233a; background: rgba(255,255,255,.86); }
.case-file-report > .panel-heading { padding-bottom: 16px; border-bottom: 0; }
.case-file-report > .panel-heading h3 { color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.04em; }
.case-file-report .panel-kicker, .case-file-report .mini-label { color: #607089; letter-spacing: .1em; text-transform: uppercase; }
.case-file-report .text-button { border-color: #cbdce6; border-radius: 10px; color: #0b1630; background: #fff; box-shadow: 0 4px 0 #d4e3eb; }
.case-file-report .text-button:hover { border-color: #2563eb; color: #2563eb; box-shadow: 0 4px 0 #c0d2df; }
.case-file-report .report-content { padding: 20px; border: 1px solid #d7e2ef; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(11,31,58,.06); }
.case-file-report .masked-account-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid #cfe0ed; border-left: 5px solid #2563eb; border-radius: 15px; color: #17233a; background: linear-gradient(145deg, #eef6ff, #ffffff); }
.case-file-report .masked-account-banner strong { display: block; margin-top: 5px; color: #0b1630; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 18px; font-weight: 600; letter-spacing: .06em; }
.case-file-report .masked-account-banner small { display: block; margin-top: 4px; color: #607089; font-size: 9px; }
.case-file-report .masked-account-banner .mini-label { color: #607089; }
.case-file-report .case-file-reveal { min-height: 32px; padding: 7px 12px; border: 1px solid #b9cfe0; border-radius: 9px; color: #0b1630; background: #fff; font-size: 10px; font-weight: 750; }
.case-file-report .case-file-reveal:hover { color: #2563eb; border-color: #2563eb; background: #f4f8ff; }
.case-file-report .report-overview { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 20px; padding: 22px; border: 1px solid #d7e2ef; border-radius: 18px; background: linear-gradient(135deg, #f0f8ff, #fbfdff); }
.case-file-report .report-score { margin: 10px 0 9px; color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 64px; font-weight: 800; letter-spacing: -.08em; line-height: .9; }
.case-file-report .report-score small { margin-left: 4px; color: #607089; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 14px; letter-spacing: 0; }
.case-file-report .report-gauge { width: 128px; height: 128px; border: 9px solid #dcecf6; background: conic-gradient(#1967d2 0deg, #dcecf6 0deg); }
.case-file-report .report-gauge span { background: #fbfdff; }
.case-file-report .status-pill { display: inline-flex; border: 1px solid #b42318; border-radius: 9px; color: #8c1f28; background: #fff4f4; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.case-file-report .status-pill.status-provisional { border-style: solid; }
.case-file-report .ratio-callout { margin-top: 10px; color: #8c1f28; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; font-weight: 650; }
.case-file-report .evidence-gap-summary { max-width: 250px; margin-top: 10px; padding: 7px 9px; border-left: 3px solid #8c1f28; color: #8c1f28; background: #fff7f7; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; line-height: 1.35; }
.case-file-report .decision-readiness { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 16px 0; padding: 16px; border: 1px solid #f0c6ca; border-radius: 15px; background: #fff8f8; }
.case-file-report .decision-readiness strong { color: #b42318; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 14px; }
.case-file-report .decision-readiness p { margin: 6px 0 0; color: #607089; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 11px; line-height: 1.55; }
.case-file-report .score-breakdown { display: grid; grid-template-columns: repeat(3, minmax(70px, 1fr)); gap: 10px; min-width: 270px; }
.case-file-report .score-breakdown > div { display: grid; gap: 4px; padding-left: 10px; border-left: 1px solid #d7e2ef; }
.case-file-report .score-breakdown span { color: #607089; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 8px; letter-spacing: .04em; }
.case-file-report .score-breakdown strong { color: #b42318; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 16px; font-weight: 700; }
.case-file-report .report-meta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin: 16px 0; }
.case-file-report .report-meta-item { display: block; min-width: 0; padding: 11px; border: 1px solid #dceaf3; border-radius: 11px; background: #f8fcff; }
.case-file-report .report-meta-item span { display: block; color: #607089; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.case-file-report .report-meta-item strong { display: block; margin-top: 5px; overflow-wrap: anywhere; color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; font-weight: 700; line-height: 1.4; }
.case-file-report .report-summary { margin: 16px 0; padding: 13px 14px; border: 1px solid #dceaf3; border-radius: 13px; color: #607089; background: #fbfdff; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 11px; line-height: 1.6; }
.case-file-report .report-summary strong { color: #0b1630; }
.case-file-report .report-detail-card { margin: 16px 0; padding: 15px; border: 1px solid #dceaf3; border-radius: 13px; background: #fbfdff; }
.case-file-report .report-detail-heading { padding: 0; margin-bottom: 11px; color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 13px; font-weight: 800; }
.case-file-report .report-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
.case-file-report .report-detail-grid > div { display: block; min-width: 0; padding: 8px 0; border-bottom: 1px solid #e4edf4; }
.case-file-report .report-detail-grid span { color: #607089; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.case-file-report .report-detail-grid strong { display: block; margin-top: 4px; overflow-wrap: anywhere; color: #17233a; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; font-weight: 650; line-height: 1.45; }
.case-file-report .hypothesis-box { margin: 16px 0; padding: 14px; border: 1px solid #e8dcb9; border-radius: 13px; background: #fffaf0; }
.case-file-report .hypothesis-box .mini-label { color: #9a6816; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 8px; }
.case-file-report .hypothesis-box p { margin: 7px 0 0; color: #695b3a; font-size: 10px; line-height: 1.55; }
.case-file-report .score-basis-note { margin: 16px 0; padding: 12px 14px; border-left: 3px solid #2563eb; color: #607089; background: #f5fbff; font-size: 10px; line-height: 1.5; }
.case-file-report .score-basis-note strong { color: #0b1630; }
.case-file-report .report-subheading { margin: 18px 0 10px; padding: 0; border: 0; color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 13px; font-weight: 800; }
.case-file-report .report-subheading span:last-child { color: #607089; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; }
.case-file-report .flag-list { display: grid; gap: 9px; border: 0; }
.case-file-report .flag-item { display: grid; grid-template-columns: 9px 1fr auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid #e4edf4; border-radius: 11px; background: #fcfeff; }
.case-file-report .flag-item.evidence-gap { border-left: 4px solid #b42318; background: #fff8f8; }
.case-file-report .flag-marker { background: #e0a140; box-shadow: 0 0 0 4px rgba(224,161,64,.13); }
.case-file-report .flag-item.evidence-gap .flag-marker { background: #b42318; box-shadow: 0 0 0 4px rgba(180,35,24,.12); }
.case-file-report .flag-item strong { color: #0b1630; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 11px; font-weight: 800; }
.case-file-report .flag-item p { color: #607089; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; line-height: 1.45; }
.case-file-report .flag-points { color: #b42318; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; }
.case-file-report .recommendation-box { display: flex; gap: 11px; margin-top: 18px; padding: 14px; border: 1px solid #ccefe5; border-radius: 13px; background: #f0fcf8; }
.case-file-report .recommendation-icon { display: grid; flex: 0 0 23px; height: 23px; place-items: center; border-radius: 7px; color: #167c62; background: #d8f4eb; font-size: 11px; font-weight: 800; }
.case-file-report .recommendation-box strong { color: #126c57; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 12px; }
.case-file-report .report-action-list { color: #4d766c; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 10px; line-height: 1.45; }
.case-file-report .report-footer-note { margin-top: 16px; padding: 12px 13px; border: 1px solid #d7e2ef; border-radius: 11px; color: #607089; background: #f5f8fc; font-family: "IBM Plex Sans", system-ui, sans-serif; font-size: 9px; font-style: normal; line-height: 1.5; }

@media (max-width: 760px) {
  .case-file-report .report-overview { grid-template-columns: minmax(0, 1fr) 116px; padding: 17px; }
  .case-file-report .report-score { font-size: 54px; }
  .case-file-report .report-gauge { width: 100px; height: 100px; border-width: 8px; }
  .case-file-report .decision-readiness { align-items: flex-start; flex-direction: column; }
  .case-file-report .score-breakdown { width: 100%; min-width: 0; }
}

@media (max-width: 560px) {
  .case-file-report .report-content { padding: 14px; }
  .case-file-report .report-brand-header { margin-bottom: 14px; }
  .case-file-report .report-overview { grid-template-columns: 1fr; }
  .case-file-report .report-gauge { justify-self: end; }
  .case-file-report .report-meta-grid, .case-file-report .report-detail-grid { grid-template-columns: 1fr; }
  .case-file-report .score-breakdown { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .case-file-report .score-breakdown > div { padding-left: 6px; }
  .case-file-report .score-breakdown strong { font-size: 14px; }
}

@media print {
  @page { size: letter; margin: .35in; }
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body.print-transaction-report-mode { min-width: 0; color: #17233a; background: #fff; }
  body.print-transaction-report-mode > :not(main),
  body.print-transaction-report-mode main > :not(#proactive-check) { display: none !important; }
  body.print-transaction-report-mode main { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.print-transaction-report-mode #proactive-check { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.print-transaction-report-mode #proactive-check > :not(.report-panel) { display: none !important; }
  body.print-transaction-report-mode #proactive-check > .report-panel:not(.tradeguard-print-snapshot) { display: none !important; }
  body.print-transaction-report-mode #proactive-check > .tradeguard-print-snapshot { display: block !important; }
  body.print-transaction-report-mode .report-panel { display: block !important; max-width: none; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
  body.print-transaction-report-mode .report-panel > .panel-heading,
  body.print-transaction-report-mode .report-panel > .empty-report { display: none !important; }
  body.print-transaction-report-mode #proactiveEmpty { display: none !important; }
  body.print-transaction-report-mode #proactiveContent,
  body.print-transaction-report-mode #proactiveContent[hidden],
  body.print-transaction-report-mode .tradeguard-print-snapshot .report-content { display: block !important; visibility: visible !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
  body.print-transaction-report-mode .flag-list { display: block !important; }
  body.print-transaction-report-mode .flag-item,
  body.print-transaction-report-mode .report-meta-item,
  body.print-transaction-report-mode .report-detail-card,
  body.print-transaction-report-mode .recommendation-box { break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 8px; }
  body.print-transaction-report-mode .report-footer-note { margin-top: 10px; padding: 8px 10px; font-size: 8px; line-height: 1.35; break-inside: auto; page-break-inside: auto; }
}

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.feature-card { min-height: 205px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.66); }
.feature-number { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.feature-card h3 { margin: 30px 0 9px; color: var(--navy); font-size: 18px; letter-spacing: -.03em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

.pilot-section { padding-bottom: 110px; }
.pilot-card { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: center; padding: 42px; border-radius: 24px; color: #fff; background: linear-gradient(135deg, #0b1f3a, #164d91); box-shadow: 0 24px 60px rgba(11,31,58,.2); }
.pilot-card .eyebrow { color: #8ad9ec; }
.pilot-card h2 { max-width: 450px; margin: 13px 0 12px; font-size: clamp(27px, 4vw, 42px); letter-spacing: -.05em; line-height: 1.1; }
.pilot-card p { max-width: 430px; margin: 0; color: #bbd2e8; font-size: 13px; line-height: 1.7; }
.pilot-email-note { margin-top: 12px !important; }
.pilot-email-note a { color: #b9f2e1; text-decoration: underline; text-underline-offset: 3px; }
.pilot-form { display: grid; gap: 10px; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.08); }
.pilot-form input, .pilot-form select { border-color: rgba(255,255,255,.22); color: var(--navy); background: rgba(255,255,255,.95); }
.pilot-message { min-height: 20px; color: #b9f2e1; font-size: 10px; line-height: 1.45; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 25px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-brand { display: flex; align-items: center; }
.footer-logo { display: block; width: 125px; max-width: 42vw; height: auto; object-fit: contain; background: transparent; mix-blend-mode: multiply; }
.footer-link { color: var(--navy); font-size: 10px; overflow-wrap: anywhere; }
.footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.footer-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.site-footer strong { margin-right: 8px; color: var(--navy); font-size: 12px; }
.site-footer p { margin: 0; text-align: center; }
.footer-company-details { max-width: 360px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.footer-company-details p { margin: 2px 0; text-align: left; }
.footer-company-details a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

.pre-monitoring-section { padding-top: 96px; }
.standards-notice { margin-bottom: 18px; padding: 15px 17px; border: 1px solid #cfe4f4; border-radius: 14px; color: #45657f; background: linear-gradient(135deg, #f4fbff, #ffffff); font-size: 11px; line-height: 1.6; }
.standards-notice strong { color: var(--navy); }
.coverage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.coverage-card { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.72); }
.coverage-card strong { color: var(--navy); font-size: 22px; letter-spacing: -.04em; }
.coverage-card span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.monitoring-icon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.monitoring-modes-section { padding-top: 78px; }
.proactive-hero { padding-top: 28px; }
.monitoring-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 142px; padding: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,.95); border-radius: 18px; background: linear-gradient(145deg, #ffffff, #e6f4fb); box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 7px 0 #c6ddea, 0 17px 34px rgba(30,73,111,.12); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.monitoring-card::before { position: absolute; top: 0; right: 12%; left: 12%; height: 45%; border-radius: 0 0 50% 50%; background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,0)); content: ""; pointer-events: none; }
.monitoring-card > * { position: relative; z-index: 1; }
.monitoring-card:hover { transform: translateY(-4px); border-color: #9bcde5; box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 10px 0 #b5d2e0, 0 23px 42px rgba(30,73,111,.17); }
.monitoring-card:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(255,255,255,.98), 0 2px 0 #b5d2e0, 0 9px 18px rgba(30,73,111,.12); }
.monitoring-icon { display: grid; flex: 0 0 51px; width: 51px; height: 51px; place-items: center; border-radius: 15px; }
.monitoring-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.4; }
.monitoring-icon-tbml { color: #39566a; border: 1px solid #c9d6dc; background: #e7edf0; }
.monitoring-icon-transaction { color: #3d5a4c; border: 1px solid #cad9cf; background: #e8eee9; }
.monitoring-icon-review { color: #8b6a2b; border: 1px solid #ded2ae; background: #f1ebdd; }
.monitoring-card-copy { display: grid; gap: 4px; min-width: 0; }
.monitoring-card-copy strong { color: var(--navy); font-size: 15px; letter-spacing: -.02em; }
.monitoring-card-copy small { color: var(--muted); font-size: 10px; line-height: 1.45; }
.monitoring-arrow { margin-left: auto; color: var(--blue); font-size: 20px; font-weight: 500; }
.human-review-card { display: flex; align-items: center; gap: 14px; min-height: 142px; }
.human-review-card strong { font-size: 20px; }
.human-review-card span { font-size: 10px; }
.monitoring-modes-section > .human-review-card { margin-top: 14px; }
.registry-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(270px, .65fr); gap: 18px; align-items: start; }
.registry-panel, .standards-panel { padding: 24px; }
.registry-filter select { height: 38px; padding: 0 10px; border: 1px solid #d6e4ef; border-radius: 9px; outline: 0; color: var(--navy); background: #fbfdff; font-size: 11px; }
.registry-summary { margin: -8px 0 16px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.registry-list { display: grid; gap: 9px; max-height: 720px; overflow-y: auto; padding-right: 3px; }
.registry-card { padding: 13px; border: 1px solid #e2edf4; border-radius: 12px; background: #fcfeff; }
.registry-card-top { display: flex; align-items: start; justify-content: space-between; gap: 13px; }
.registry-card-top > div { min-width: 0; }
.registry-id { display: inline-block; margin-right: 7px; color: var(--blue); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.registry-card strong { color: var(--navy); font-size: 11px; line-height: 1.4; }
.registry-card p { margin: 8px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.registry-tag { flex: 0 0 auto; padding: 5px 7px; border-radius: 8px; font-size: 8px; font-weight: 850; line-height: 1.2; text-align: right; }
.registry-status-configured { color: var(--green); background: #e0f7ef; }
.registry-status-mapped { color: var(--amber); background: #fff0d7; }
.registry-meta { display: grid; gap: 5px; padding-top: 8px; border-top: 1px solid #edf2f6; color: var(--muted); font-size: 9px; line-height: 1.45; }
.registry-meta b { color: var(--navy); }
.registry-more { padding: 10px; border: 1px dashed #c9ddea; border-radius: 10px; color: var(--muted); font-size: 10px; text-align: center; }
.standards-panel h3 { margin: 7px 0 14px; color: var(--navy); font-size: 18px; letter-spacing: -.02em; }
.standards-list { display: grid; gap: 13px; margin: 0; padding-left: 17px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.standards-list strong { color: var(--navy); }
.source-links { display: grid; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e5eef5; }
.source-links a { color: var(--blue); font-size: 10px; font-weight: 750; }
.source-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

[hidden] { display: none !important; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-top: 55px; }
  .hero-visual { min-height: 390px; }
  .workspace-grid { grid-template-columns: 1fr; }
  .registry-layout { grid-template-columns: 1fr; }
  .report-panel { min-height: auto; }
  .pilot-card { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 640px) {
  .section-shell, .site-header { width: min(100% - 28px, 1160px); }
  .site-header { padding: 17px 0; }
  .international-banner { display: block; margin-top: 12px; padding: 11px 13px; }
  .international-banner p { margin-top: 5px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 48px 0 40px; }
  .proactive-hero { padding-top: 22px; }
  h1 { font-size: 43px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .workspace-entry-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .workspace-entry-actions .button { min-height: 54px; padding-right: 8px; padding-left: 8px; font-size: 11px; line-height: 1.25; }
  .hero-proof { gap: 10px 15px; }
  .hero-visual { min-height: 350px; }
  .orbit-large { width: 330px; height: 220px; }
  .orbit-small { width: 260px; height: 155px; }
  .visual-card-float { right: -2px; bottom: 25px; }
  .trust-strip { grid-template-columns: 1fr; }
  .coverage-grid { grid-template-columns: repeat(2, 1fr); }
  .monitoring-icon-grid { grid-template-columns: 1fr; }
  .trust-strip > div { padding: 14px 17px; }
  .section-block { padding-top: 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .form-panel, .report-panel { padding: 19px; }
  .form-grid, .check-grid, .feature-grid { grid-template-columns: 1fr; }
  .optional-grid, .tbml-indicator-grid { grid-template-columns: 1fr; }
  .registry-panel, .standards-panel { padding: 19px; }
  .registry-card-top { display: block; }
  .registry-tag { display: inline-block; margin-top: 8px; text-align: left; }
  .field-wide { grid-column: auto; }
  .report-overview { align-items: start; }
  .report-gauge { width: 90px; height: 90px; border-width: 7px; }
  .report-meta-grid, .report-detail-grid { grid-template-columns: 1fr; }
  .pilot-card { padding: 25px 19px; }
  .site-footer { display: grid; padding-bottom: 25px; }
  .site-footer p { text-align: left; }
  .footer-company-details { max-width: none; }
  .footer-links { justify-content: flex-start; }
  .brand-logo { width: 174px; max-width: 48vw; }
  .footer-logo { width: 120px; max-width: 42vw; }
}

/* Transaction report: case-file / audit-register treatment */
.case-file-report {
  --case-ink: #1b2430;
  --case-paper: #f6f4ef;
  --case-red: #8c1f28;
  --case-amber: #c98a2c;
  --case-green: #3d5a4c;
  --case-line: #9a958a;
  color: var(--case-ink);
  border-color: rgba(154,149,138,.72);
  border-radius: 3px;
  background: var(--case-paper);
  box-shadow: 0 22px 48px rgba(27,36,48,.16);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
}
.case-file-report .panel-heading { padding-bottom: 16px; border-bottom: 1px solid rgba(154,149,138,.5); }
.case-file-report .panel-heading h3,
.case-file-report .report-score,
.case-file-report .empty-report h3 { color: var(--case-ink); font-family: "Zilla Slab", Georgia, serif; }
.case-file-report .panel-kicker,
.case-file-report .mini-label { color: var(--case-ink); letter-spacing: .03em; text-transform: none; }
.case-file-report .text-button { border-color: var(--case-line); border-radius: 2px; color: var(--case-ink); background: transparent; box-shadow: none; }
.case-file-report .text-button:hover { box-shadow: 0 3px 0 rgba(154,149,138,.55); }
.masked-account-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 2px; padding: 13px 15px; border-left: 4px solid var(--case-amber); color: var(--case-paper); background: var(--case-ink); }
.masked-account-banner strong { display: block; margin-top: 4px; color: var(--case-paper); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 17px; font-weight: 600; letter-spacing: .06em; }
.masked-account-banner small { display: block; margin-top: 3px; color: #c8c4b9; font-size: 9px; }
.masked-account-banner .mini-label { color: #c8c4b9; }
.case-file-reveal { min-height: 30px; padding: 6px 10px; border: 1px solid #c8c4b9; border-radius: 2px; color: var(--case-paper); background: transparent; font-size: 10px; font-weight: 700; }
.case-file-reveal:hover { color: var(--case-ink); background: var(--case-paper); }
.case-file-report .report-overview { padding: 17px 0; border-top: 1px solid rgba(154,149,138,.5); border-bottom: 1px solid rgba(154,149,138,.5); border-radius: 0; background: transparent; }
.case-file-report .report-score { color: var(--case-ink); }
.case-file-report .report-gauge { border-color: rgba(154,149,138,.55); background: conic-gradient(var(--case-amber) 0deg, #dedbd2 0deg); }
.case-file-report .report-gauge span { background: var(--case-paper); }
.case-file-report .status-pill { border: 1px solid var(--case-amber); border-radius: 2px; color: var(--case-amber); background: transparent; }
.case-file-report .status-pill.status-pending-evidence { border-color: var(--case-red); color: var(--case-red); background: rgba(140,31,40,.07); }
.case-file-report .status-pill.status-provisional { border-style: dashed; }
.ratio-callout { margin-top: 8px; color: var(--case-red); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; font-weight: 600; }
.case-file-report .decision-readiness { margin: 15px 0; padding: 12px 0 12px 12px; border: 0; border-left: 4px solid var(--case-amber); border-radius: 0; background: transparent; }
.case-file-report .decision-readiness strong { color: var(--case-amber); }
.case-file-report .raw-score strong { color: var(--case-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; }
.score-breakdown { display: grid; grid-template-columns: repeat(3, minmax(58px, 1fr)); gap: 9px; min-width: 235px; }
.score-breakdown > div { display: grid; gap: 3px; padding-left: 9px; border-left: 1px solid rgba(154,149,138,.55); }
.score-breakdown span { color: #6d685e; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 8px; letter-spacing: .04em; }
.score-breakdown strong { color: var(--case-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 14px; font-weight: 600; }
.case-file-report .report-meta-grid { display: block; margin: 12px 0; }
.case-file-report .report-meta-item { display: flex; align-items: baseline; gap: 12px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(154,149,138,.42); border-radius: 0; background: transparent; }
.case-file-report .report-meta-item span { flex: 0 0 116px; color: #6d685e; font-size: 9px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.case-file-report .report-meta-item strong { margin: 0; color: var(--case-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; font-weight: 500; }
.case-file-report .report-summary { margin: 16px 0; color: #4a4b4a; }
.case-file-report .report-detail-card { margin: 17px 0; padding: 0; border: 0; border-top: 1px solid rgba(154,149,138,.55); border-radius: 0; background: transparent; }
.case-file-report .report-detail-heading { padding-top: 12px; color: var(--case-ink); font-family: "Zilla Slab", Georgia, serif; font-size: 17px; font-weight: 600; }
.case-file-report .report-detail-grid { display: block; }
.case-file-report .report-detail-grid > div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(154,149,138,.35); }
.case-file-report .report-detail-grid span { color: #6d685e; font-size: 9px; font-weight: 600; letter-spacing: .02em; text-transform: none; }
.case-file-report .report-detail-grid strong { margin: 0; color: var(--case-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; font-weight: 500; }
.case-file-report .hypothesis-box { padding: 13px 0 13px 12px; border: 0; border-left: 4px solid var(--case-amber); border-radius: 0; background: transparent; }
.case-file-report .hypothesis-box .mini-label { color: var(--case-amber); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; }
.case-file-report .hypothesis-box p { color: #4a4b4a; }
.case-file-report .score-basis-note { border-left-color: var(--case-line); color: #6d685e; background: transparent; }
.case-file-report .score-basis-note strong { color: var(--case-ink); }
.case-file-report .report-subheading { margin-top: 20px; padding-top: 12px; border-top: 1px solid rgba(154,149,138,.55); color: var(--case-ink); font-family: "Zilla Slab", Georgia, serif; font-size: 17px; font-weight: 600; }
.case-file-report .report-subheading span:last-child { color: #6d685e; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 9px; }
.case-file-report .flag-list { gap: 0; border-top: 1px solid rgba(154,149,138,.55); }
.case-file-report .flag-item { grid-template-columns: 8px 1fr auto; padding: 14px 8px; border: 0; border-bottom: 1px solid rgba(154,149,138,.42); border-left: 4px solid transparent; border-radius: 0; background: transparent; }
.case-file-report .flag-item.evidence-gap { border-left-color: var(--case-red); background: rgba(140,31,40,.07); }
.case-file-report .flag-marker { background: var(--case-amber); box-shadow: none; }
.case-file-report .flag-item.evidence-gap .flag-marker { background: var(--case-red); }
.case-file-report .flag-item strong { color: var(--case-ink); font-family: "Zilla Slab", Georgia, serif; font-size: 15px; font-weight: 600; }
.case-file-report .flag-item p { color: #4a4b4a; }
.case-file-report .flag-points { color: var(--case-ink); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; }
.evidence-warning { display: block; margin-top: 5px; color: var(--case-red); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 8px; font-weight: 600; letter-spacing: .04em; }
.evidence-gap-summary { max-width: 210px; margin-top: 9px; padding: 6px 8px; border-left: 3px solid var(--case-red); color: var(--case-red); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 8px; line-height: 1.35; }
.case-file-report .recommendation-box { display: block; padding: 13px 0; border: 0; border-top: 1px solid rgba(154,149,138,.55); border-radius: 0; background: transparent; }
.case-file-report .recommendation-icon { display: none; }
.case-file-report .recommendation-box strong { color: var(--case-green); font-family: "Zilla Slab", Georgia, serif; font-size: 17px; }
.case-file-report .report-action-list { color: #4a4b4a; }
.case-file-report .button-primary { border-color: var(--case-ink); border-radius: 2px; color: var(--case-paper); background: var(--case-ink); box-shadow: 0 4px 0 rgba(27,36,48,.3), 0 10px 20px rgba(27,36,48,.14); }
.case-file-report .button-primary:disabled { cursor: not-allowed; opacity: .42; }
.case-file-report .report-footer-note { padding-top: 13px; border-top: 1px solid rgba(154,149,138,.55); color: #6d685e; }

.transaction-file-panel { margin: 20px 0; padding: 15px; border: 1px solid #dceaf3; border-radius: 13px; background: #fbfdff; }
.transaction-file-heading { display: flex; justify-content: space-between; gap: 15px; }
.transaction-file-heading h3 { margin: 6px 0 0; color: var(--navy); font-size: 16px; }
.transaction-file-heading p { max-width: 480px; margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.file-retention-note { flex: 0 0 auto; color: var(--green); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 8px; white-space: nowrap; }
.file-dropzone { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 13px; border: 1px dashed #9a958a; border-radius: 3px; cursor: pointer; background: #f6f4ef; }
.file-dropzone:hover { border-color: var(--green); }
.file-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-dropzone strong, .file-dropzone small { display: block; }
.file-dropzone strong { color: var(--navy); font-size: 11px; }
.file-dropzone small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; padding: 10px 11px; border: 1px solid #e3d7bd; border-radius: 5px; color: var(--navy); background: #fffaf0; cursor: pointer; }
.consent-check input { flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; accent-color: var(--blue); }
.consent-check strong, .consent-check small { display: block; }
.consent-check strong { font-size: 10px; line-height: 1.35; }
.consent-check small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.upload-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #9a958a; border-radius: 50%; color: var(--green); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 17px; }
.file-status { min-height: 18px; margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.file-status.is-error { color: #8c1f28; }
.file-status.is-success { color: var(--green); }
.file-status.is-processing { color: var(--amber); }
.file-status.is-warning { color: #9a6816; }
.file-status.is-processing { font-weight: 700; }
.pdf-scope-note { margin: 10px 0 0; color: #61798d; font-size: 10px; line-height: 1.55; }
.pdf-scope-note strong { color: var(--navy); }
.compact-callout { margin: 14px 0; padding: 12px 14px; font-size: 11px; }
.flag-risk-type { display: block; margin-top: 4px; color: #2b6b9e; font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.file-dropzone input:disabled + * { opacity: .58; }
.file-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-mode-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mode-button { min-height: 38px; padding: 8px 11px; border: 1px solid #cbdce6; border-radius: 9px; color: var(--navy); background: #fff; font-size: 10px; font-weight: 750; cursor: pointer; }
.mode-button.is-active { border-color: var(--blue); color: #fff; background: linear-gradient(145deg, #1c66aa, var(--navy)); box-shadow: 0 3px 0 rgba(9,37,72,.28); }
.pdf-mode-note, .pdf-privacy-note { margin: 9px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.pdf-privacy-note { padding-top: 10px; border-top: 1px solid #e3edf3; }
.pdf-privacy-note strong { color: var(--navy); }
.pdf-privacy-note a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.info-page { max-width: 860px; padding-top: 45px; padding-bottom: 95px; }
.info-page h1 { max-width: 800px; margin-bottom: 14px; font-size: clamp(36px, 5vw, 62px); }
.info-page .info-lead { max-width: 720px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.info-page h2 { margin: 42px 0 12px; color: var(--navy); font-size: 27px; letter-spacing: -.035em; }
.info-page h3 { margin: 24px 0 7px; color: var(--navy); font-size: 16px; }
.info-page p, .info-page li { color: var(--muted); font-size: 13px; line-height: 1.75; }
.info-page ul, .info-page ol { margin: 10px 0 0; padding-left: 20px; }
.info-page a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.info-callout { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--cyan); color: #45657f; background: rgba(255,255,255,.68); font-size: 12px; line-height: 1.65; }
.info-callout strong { color: var(--navy); }
.info-note { margin-top: 12px; padding: 11px 13px; border-left: 3px solid var(--blue); color: var(--muted); background: #f5fbff; font-size: 11px !important; line-height: 1.55 !important; }
.standards-map { overflow-x: auto; margin: 15px 0 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); }
.standards-map table { width: 100%; min-width: 720px; border-collapse: collapse; }
.standards-map th, .standards-map td { padding: 11px 12px; border-bottom: 1px solid #e3edf3; text-align: left; vertical-align: top; color: var(--muted); font-size: 10px; line-height: 1.5; }
.standards-map th { color: var(--navy); background: #f3f9fc; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.standards-map tr:last-child td { border-bottom: 0; }
.standards-map td:first-child { min-width: 155px; color: var(--navy); font-weight: 700; }
.info-meta { color: var(--muted); font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; }

@media (max-width: 640px) {
  .case-file-report .report-detail-grid > div { grid-template-columns: 1fr; gap: 3px; }
  .case-file-report .report-meta-item { display: grid; gap: 3px; }
  .case-file-report .report-meta-item span { flex-basis: auto; }
  .masked-account-banner { align-items: start; }
  .transaction-file-heading { display: block; }
  .file-retention-note { display: block; margin-top: 7px; }
}


/* Document Assessment v41: OCR-assisted and credit-document review workspace. */
.monitoring-card-document { border-color: #e9c6b5; background: linear-gradient(145deg, #fffaf7, #ffe9de); }
.monitoring-card-document:hover { border-color: #c86b4c; }
.monitoring-icon-document { color: #a54b31; background: #fff1e9; }
.monitoring-icon-document svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.document-assessment-page { max-width: 1180px; }
.document-assessment-page .info-lead { max-width: 860px; }
.document-check-section { margin-top: 30px; }
.document-assessment-grid { align-items: start; }
.document-report-panel { min-height: 620px; }
.document-report-content { padding: 20px; border: 1px solid #d7e2ef; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px rgba(11,31,58,.06); }
.document-report-overview { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #f0f9ff, #fff8f3); }
.document-scan-badge { display: grid; min-width: 145px; padding: 16px; border: 1px solid #d7e2ef; border-radius: 14px; color: #0b1630; background: #fff; text-align: right; }
.document-scan-badge strong { color: #a54b31; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .08em; }
.document-scan-badge span { margin-top: 5px; color: #607089; font-size: 10px; line-height: 1.35; }
.document-file-results { display: grid; gap: 8px; margin-bottom: 18px; }
.document-file-result { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border: 1px solid #d7e2ef; border-radius: 11px; background: #f8fbfe; }
.document-file-result strong, .document-file-result small { display: block; }
.document-file-result strong { color: #17233a; overflow-wrap: anywhere; font-size: 12px; }
.document-file-result small { margin-top: 4px; color: #607089; font-size: 10px; line-height: 1.35; }
.document-file-result > span { color: #a54b31; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; text-align: right; white-space: nowrap; }
.document-scope-grid { margin-top: 22px; }
.form-message-info { color: #2563eb; }
.file-status.is-processing { color: #2563eb; border-color: #bcd8f2; background: #f3f9ff; }
.file-status.is-ready { color: #14866b; border-color: #bfe6d8; background: #f1fbf7; }
.file-status.is-error { color: #a53f4d; border-color: #e5b9c0; background: #fff4f5; }

.document-print-snapshot { display: none; }
@media (max-width: 700px) {
  .document-report-overview { align-items: flex-start; flex-direction: column; }
  .document-scan-badge { width: 100%; text-align: left; }
  .document-file-result { align-items: flex-start; flex-direction: column; }
  .document-file-result > span { text-align: left; white-space: normal; }
}
@media print {
  body.document-print-mode { min-width: 0; color: #17233a; background: #fff; }
  body.document-print-mode > :not(main),
  body.document-print-mode main > :not(#documentCheck) { display: none !important; }
  body.document-print-mode main { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.document-print-mode #documentCheck { display: block !important; min-height: 0; padding: 0 !important; margin: 0 !important; }
  body.document-print-mode #documentCheck > :not(.document-print-snapshot) { display: none !important; }
  body.document-print-mode .document-print-snapshot { display: block !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; background: #fff !important; }
  body.document-print-mode .document-print-snapshot .document-report-content,
  body.document-print-mode .document-print-snapshot .document-report-content[hidden] { display: block !important; visibility: visible !important; padding: 10px !important; border: 0 !important; box-shadow: none !important; }
  body.document-print-mode .document-print-snapshot .report-brand-header { padding-bottom: 10px; margin-bottom: 10px; }
  body.document-print-mode .document-print-snapshot .document-report-overview { padding: 12px; }
  body.document-print-mode .document-print-snapshot .report-subheading { margin: 10px 0 6px; }
  body.document-print-mode .document-print-snapshot .report-detail-card { margin: 10px 0; padding: 12px; }
  body.document-print-mode .document-print-snapshot .document-file-results { display: block !important; }
  body.document-print-mode .flag-item,
  body.document-print-mode .document-file-result,
  body.document-print-mode .recommendation-box { break-inside: avoid-page; page-break-inside: avoid; margin-bottom: 8px; }
  body.document-print-mode .report-footer-note { margin-top: 10px; padding: 8px 10px; font-size: 8px; line-height: 1.35; break-inside: auto; page-break-inside: auto; }
}


/* TradeGuard v39 visual and print reliability refinements. */
.monitoring-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.monitoring-icon-transaction { color: #124d86; border-color: #a8c7e8; background: #d8e8fb; }
.monitoring-card-document { border-color: #d7b28f; background: linear-gradient(135deg, #fff4ed 0%, #fff1cc 52%, #eef8ff 100%); }
.monitoring-card-document:hover { border-color: #c86b4c; }
.monitoring-icon-document { color: #fff; border-color: #d7b28f; background: conic-gradient(#d97a4b 0 33%, #e3b23c 33% 66%, #4b94c6 66% 100%); }
.monitoring-icon-document svg { fill: none; stroke: none; }
.monitoring-icon-document .document-outline { fill: none; stroke: #b64b32; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.monitoring-icon-document .document-fold { fill: none; stroke: #d79a24; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.monitoring-icon-document .document-lines { fill: none; stroke: #2c7fb6; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.human-review-badge { display: inline-flex; width: max-content; max-width: 100%; padding: 9px 12px; border: 1px solid #8f1d2c; border-radius: 8px; color: #fff; background: #b42335; box-shadow: 0 4px 0 #7f1d2d, 0 8px 16px rgba(127, 29, 45, .15); cursor: default; font-size: 11px; font-weight: 850; letter-spacing: .08em; line-height: 1.2; pointer-events: none; text-transform: uppercase; }
.document-nav-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.document-nav-actions .button { min-height: 46px; }
@media (max-width: 900px) {
  .monitoring-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .monitoring-icon-grid { grid-template-columns: 1fr; }
  .document-nav-actions { flex-direction: column; align-items: stretch; }
  .document-nav-actions .button { width: 100%; }
}

.human-review-card .human-review-badge { color: #fff; font-size: 11px; }


/* TradeGuard v41 workspace navigation and report export refinements. */
.workspace-entry-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workspace-entry-actions .workspace-document-button { color: #6f3a21; border-color: #e7c5a8; background: linear-gradient(145deg, #fff7ef, #ffe7d5); }
.workspace-entry-actions .workspace-document-button:hover { border-color: #c86b4c; }
.workspace-switch-actions { display: grid; gap: 12px; align-items: center; }
.workspace-switch-actions .button { width: 100%; }
.workspace-nav-label { margin-top: 16px; }
@media (max-width: 640px) {
  .workspace-entry-actions { grid-template-columns: 1fr; }
}
