:root {
  --ink: #10222c;
  --ink-2: #354954;
  --muted: #6b7e87;
  --line: #d9e2e5;
  --line-strong: #bdcbd0;
  --paper: #ffffff;
  --workspace: #e9eff1;
  --panel: #f8fafb;
  --cyan: #00aeb3;
  --cyan-bright: #3ed6ca;
  --cyan-soft: #e2f7f5;
  --orange: #f29a38;
  --orange-soft: #fff0dc;
  --red: #c4483f;
  --green: #23866d;
  --shadow: 0 18px 50px rgba(20, 42, 51, .14);
  --radius: 12px;
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--workspace);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { min-width: 320px; overflow: hidden; background: var(--workspace); }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(0,174,179,.26); outline-offset: 2px; }
.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; }

.app-shell { height: 100vh; display: grid; grid-template-rows: 64px minmax(0, 1fr); }
.topbar { display: grid; grid-template-columns: 300px minmax(360px, 1fr) auto; align-items: center; gap: 18px; padding: 0 18px; background: var(--ink); color: #fff; border-bottom: 1px solid #29404a; }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--cyan-bright); color: var(--ink); font: 800 27px/1 Arial; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 15px; letter-spacing: .02em; }
.brand-copy small { margin-top: 4px; color: #a9bbc2; font-size: 12px; }
.topbar-center { display: flex; align-items: center; gap: 10px; min-width: 0; }
.drug-select { width: min(320px, 42vw); height: 38px; padding: 0 36px 0 13px; color: #fff; background: #203741; border: 1px solid #405761; border-radius: 8px; }
.category-badge { padding: 7px 10px; border: 1px solid rgba(62,214,202,.38); border-radius: 999px; color: var(--cyan-bright); font-size: 12px; white-space: nowrap; }
.save-state { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #9fb2ba; font-size: 12px; white-space: nowrap; }
.save-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-bright); }
.top-actions { display: flex; gap: 8px; }
.button { min-height: 36px; padding: 0 13px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-ghost { background: transparent; border-color: #52666f; color: inherit; }
.topbar .button-ghost:hover { background: #203741; }
.button-primary { background: var(--cyan-bright); color: var(--ink); font-weight: 700; }
.button-upload { background: #fff; border-color: #fff; color: var(--ink); font-weight: 800; }
.button-upload:hover { background: var(--cyan-soft); border-color: var(--cyan-bright); }
.button-ghost.dark { border-color: var(--line-strong); color: var(--ink-2); }
.button.compact { min-height: 30px; padding-inline: 10px; color: var(--ink-2); border-color: var(--line-strong); font-size: 13px; }
.icon-button { width: 34px; height: 34px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-size: 18px; }
.icon-button:hover { border-color: var(--cyan); color: var(--cyan); }

.workspace { min-height: 0; display: grid; grid-template-columns: 320px minmax(560px, 1fr) 326px; }
.chat-panel, .inspector-panel { min-height: 0; display: flex; flex-direction: column; background: var(--panel); }
.chat-panel { border-right: 1px solid var(--line); }
.inspector-panel { border-left: 1px solid var(--line); }
.panel-heading { min-height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); }
.panel-heading h1, .panel-heading h2 { margin: 2px 0 0; font-size: 18px; line-height: 1.2; }
.eyebrow { color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.messages { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; scrollbar-width: thin; }
.message { display: flex; gap: 9px; margin-bottom: 16px; align-items: flex-start; }
.message.user { flex-direction: row-reverse; }
.avatar { flex: 0 0 auto; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: var(--cyan-bright); font-size: 15px; font-weight: 800; }
.message.user .avatar { background: var(--cyan); color: #fff; }
.bubble { max-width: 245px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px 12px 12px 12px; background: #fff; color: var(--ink-2); font-size: 14px; line-height: 1.55; box-shadow: 0 4px 12px rgba(27,51,61,.04); }
.message.user .bubble { border-color: #b9e8e5; border-radius: 12px 4px 12px 12px; background: var(--cyan-soft); color: var(--ink); }
.bubble strong { color: var(--ink); }
.bubble .mini-note { display: block; margin-top: 7px; color: var(--muted); font-size: 12px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); }
.quick-actions button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); cursor: pointer; font-size: 12px; }
.quick-actions button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-composer { margin: 0 14px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; overflow: hidden; }
.chat-composer:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,174,179,.1); }
.chat-composer textarea { width: 100%; min-height: 66px; max-height: 130px; padding: 11px 12px 4px; border: 0; resize: none; color: var(--ink); background: transparent; line-height: 1.45; }
.chat-composer textarea:focus { outline: 0; }
.composer-footer { display: flex; align-items: center; justify-content: space-between; padding: 3px 6px 6px 12px; color: var(--muted); font-size: 11px; }
.send-button { width: 31px; height: 31px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; cursor: pointer; font-size: 18px; }
.send-button:disabled { cursor: wait; opacity: .65; }

.canvas-stage { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: var(--workspace); }
.canvas-toolbar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line-strong); background: rgba(248,250,251,.9); backdrop-filter: blur(10px); }
.mode-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.mode-switch button { height: 31px; padding: 0 13px; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.mode-switch button.active { background: var(--ink); color: #fff; }
.canvas-tools { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.date-control { height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 8px 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink-2); }
.date-control span { font-size: 12px; white-space: nowrap; }
.date-control input { width: 126px; border: 0; color: var(--ink); background: transparent; font-size: 12px; }
.date-control input:focus { outline: 0; }
.date-control.in-section { height: 34px; border-color: #9dcfd0; background: #f2fbfa; }
.date-control.in-section span { color: #087b7f; font-weight: 700; }
.canvas-tools .icon-button { width: 30px; height: 30px; }
.canvas-scroll { flex: 1; min-height: 0; overflow: auto; padding: 26px 38px 60px; }
.instruction-canvas { width: 960px; min-height: 1160px; margin: 0 auto; background: var(--paper); border: 1px solid #d3dde0; box-shadow: var(--shadow); transform-origin: top center; transition: transform .16s ease; }

.document-header { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 24px 28px 18px; border-top: 7px solid var(--ink); border-bottom: 1px solid var(--line); }
.document-title { margin: 0; font-size: 27px; letter-spacing: -.02em; }
.document-title-en { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.document-meta { display: grid; grid-template-columns: repeat(3, minmax(118px, 1fr)); gap: 13px 22px; margin-top: 19px; }
.meta-item { min-width: 118px; }
.meta-item span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; }
.meta-item strong { font-size: 14px; }
.document-status { text-align: right; }
.document-status span { display: inline-block; padding: 5px 9px; border-radius: 999px; background: var(--cyan-soft); color: #007c80; font-size: 12px; font-weight: 700; }
.document-status small { display: block; margin-top: 10px; color: var(--muted); }
.audience-note { display: flex; align-items: center; justify-content: space-between; padding: 10px 28px; background: #f4f8f9; color: var(--ink-2); font-size: 13px; }
.audience-note strong { color: var(--cyan); }
.expiry-alert { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 28px; border-top: 1px solid #ef9d96; border-bottom: 1px solid #ef9d96; background: #fff0ef; color: #8f2823; font-size: 12px; line-height: 1.5; }
.expiry-alert strong { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; background: var(--red); color: #fff; font-size: 13px; }
.document-body { padding: 20px 28px 32px; }
.doc-section { margin-bottom: 24px; scroll-margin-top: 20px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title h3 { margin: 0; padding-left: 10px; border-left: 5px solid var(--cyan); font-size: 18px; }
.section-title small { color: var(--muted); font-size: 11px; }
.section-title-actions { display: flex; align-items: center; gap: 10px; }
.section-layout { display: grid; grid-template-columns: 190px 1fr; gap: 14px; }
.indication-list { display: grid; gap: 9px; }
.indication-card { position: relative; display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 9px; min-height: 94px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; text-align: left; transition: .16s ease; }
.indication-card:hover { border-color: var(--cyan); }
.indication-card.active { border-color: var(--cyan); background: #edfbfa; box-shadow: inset 4px 0 0 var(--cyan); }
.indication-card img { width: 68px; height: 68px; object-fit: contain; }
.indication-card strong { display: block; margin-bottom: 3px; font-size: 15px; }
.indication-card span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.dose-panel { border: 1px solid #77cfd0; border-radius: 9px; overflow: hidden; }
.dose-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 9px 14px; background: var(--cyan-soft); color: var(--ink-2); font-size: 13px; }
.dose-summary strong { color: #007b80; }
.change-flag { padding: 4px 7px; border: 1px dashed var(--orange); border-radius: 5px; background: var(--orange-soft); color: #93530b; font-size: 11px; }
.dose-grid { display: grid; grid-template-columns: 1.25fr .75fr; min-height: 235px; }
.dose-main, .duration-card { padding: 18px; }
.dose-main { border-right: 1px solid var(--line); }
.dose-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.route-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.route-row img { width: 76px; height: 76px; object-fit: contain; }
.route-copy strong { display: block; font-size: 19px; }
.route-copy span { color: var(--muted); font-size: 12px; }
.dose-number { display: flex; align-items: baseline; gap: 7px; margin-top: 15px; }
.dose-number b { color: var(--cyan); font-size: 34px; }
.dose-number span { font-size: 14px; }
.frequency-strip { display: flex; gap: 7px; margin-top: 12px; }
.frequency-unit { width: 41px; height: 35px; display: grid; place-items: center; border: 2px solid var(--cyan); border-radius: 7px; background: #fff; color: #007f83; font-size: 11px; font-weight: 700; }
.frequency-unit.optional { border-style: dashed; opacity: .72; }
.duration-card { background: #fbfcfc; }
.calendar-strip { display: flex; gap: 4px; margin: 14px 0; }
.calendar-day { width: 48px; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; text-align: center; }
.calendar-day span { display: block; padding: 3px; background: var(--cyan-soft); color: #007f83; font-size: 10px; }
.calendar-day b { display: block; padding: 6px 3px; font-size: 12px; }
.calendar-day small { display: block; padding: 0 2px 5px; color: var(--muted); font-size: 9px; }
.duration-copy { color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.duration-copy strong { color: var(--red); }

.decision-tree { display: grid; grid-template-columns: 135px minmax(0, 1fr); gap: 18px; align-items: center; min-height: 360px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfc; }
.tree-source { text-align: center; }
.tree-source img { width: 108px; height: 108px; object-fit: contain; }
.tree-source strong { display: block; margin-top: 7px; color: var(--cyan); }
.population-paths { min-width: 0; display: grid; gap: 9px; }
.population-path { min-width: 0; display: grid; grid-template-columns: minmax(150px, 170px) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.population-card, .population-dose { min-height: 67px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer; }
.population-card.active, .population-dose.active { border-color: var(--orange); background: var(--orange-soft); }
.population-card img { width: 50px; height: 50px; object-fit: contain; }
.population-card strong { font-size: 13px; }
.population-dose { cursor: default; color: var(--ink-2); font-size: 13px; line-height: 1.35; }

.fixed-dose { display: grid; grid-template-columns: 190px 1fr; gap: 16px; align-items: stretch; }
.fixed-indication { padding: 16px; border: 1px solid var(--line); border-radius: 9px; text-align: center; background: #fbfcfc; }
.fixed-indication img { width: 132px; height: 132px; object-fit: contain; }
.fixed-indication strong { display: block; color: var(--cyan); }
.fixed-content { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; }
.big-icon-row { display: flex; align-items: center; gap: 10px; }
.big-icon-row img { width: 90px; height: 90px; object-fit: contain; }
.dose-quantity-visual { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.dose-quantity-unit { min-width: 70px; display: grid; justify-items: center; gap: 7px; padding: 8px 7px; border: 2px solid var(--cyan); border-radius: 8px; background: #fff; color: #007f83; }
.dose-quantity-unit.optional { border-style: dashed; background: #f4fbfb; }
.dose-quantity-unit b { font-size: 11px; line-height: 1.25; text-align: center; }
.pill-shape { width: 42px; height: 21px; border: 3px solid var(--cyan); border-radius: 999px; transform: rotate(-35deg); }
.dose-quantity-unit.optional .pill-shape { border-style: dashed; }
.daily-frequency { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 9px 11px; border-radius: 7px; background: var(--cyan-soft); color: var(--ink-2); font-size: 12px; }
.daily-frequency strong { color: #007f83; font-size: 14px; }

.warning-group { margin-top: 13px; }
.warning-group-title { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 13px; font-weight: 800; }
.legend-shape { width: 22px; height: 22px; display: inline-block; border: 2px solid var(--ink-2); }
.legend-shape.circle { border-radius: 50%; background: linear-gradient(45deg, transparent 45%, var(--ink-2) 47%, var(--ink-2) 53%, transparent 55%); }
.legend-shape.square { border-radius: 5px; background: linear-gradient(45deg, transparent 45%, var(--ink-2) 47%, var(--ink-2) 53%, transparent 55%); }
.legend-shape.triangle { width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-bottom: 22px solid var(--ink-2); position: relative; }
.legend-shape.triangle::after { content: ""; position: absolute; left: -8px; top: 5px; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 15px solid white; }
.legend-shape.octagon { position: relative; border: 0; background: var(--ink-2); clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); }
.legend-shape.octagon::after { content: ""; position: absolute; inset: 3px; background: #fff; clip-path: inherit; }
.warning-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.warning-card { position: relative; min-width: 0; padding: 8px 6px; border: 1px solid var(--line); border-radius: 7px; background: #fff; text-align: center; cursor: pointer; }
.warning-card:hover { border-color: var(--cyan); box-shadow: 0 5px 15px rgba(30,55,65,.08); }
.warning-symbol { position: relative; display: grid; place-items: center; width: 82px; height: 78px; margin: 0 auto; color: #42484b; }
.warning-symbol-base { position: absolute; z-index: 1; width: 42px; height: 42px; object-fit: contain; filter: grayscale(1) contrast(1.25); opacity: .96; }
.warning-symbol--caution .warning-symbol-base { top: 30px; width: 39px; height: 39px; }
.warning-symbol-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 8; stroke-linecap: round; pointer-events: none; }
.warning-card .warning-label { display: block; margin-top: 4px; font-size: 11px; line-height: 1.3; }
.warning-selection { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }
.warning-card.selected { border: 2px solid var(--cyan); background: #dff8f6; box-shadow: 0 0 0 3px rgba(0,174,179,.13); }
.warning-card.selected .warning-selection { color: #007f83; }
.warning-card.approved { border-color: #8ccfb9; background: #f1fbf7; }
.warning-card.approved.selected { border-color: var(--cyan); background: #dff8f6; }
.consult-icicle, .interaction-icicle { display: grid; margin-top: 10px; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; }
.consult-icicle { grid-template-columns: 1.5fr 1fr .8fr; }
.stop-consult-icicle { display: grid; grid-template-columns: repeat(var(--stop-columns, 3), minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; }
.stop-consult-node { min-width: 0; min-height: 118px; display: grid; grid-template-rows: auto 1fr auto; padding: 0; overflow: hidden; border: 0; background: #fff; color: var(--ink-2); cursor: pointer; font: inherit; text-align: center; }
.stop-consult-node > strong { display: block; padding: 8px 7px; color: #fff; font-size: 12px; }
.stop-consult-node > span { min-height: 70px; display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 7px; padding: 8px; }
.stop-consult-node img { width: 44px; height: 44px; object-fit: contain; filter: grayscale(1) contrast(1.2); }
.stop-consult-node small { font-size: 10px; line-height: 1.45; text-align: left; }
.stop-consult-node em { display: block; padding: 5px 7px; color: var(--muted); font-size: 9px; font-style: normal; font-weight: 800; }
.stop-consult-node.selected { position: relative; z-index: 1; box-shadow: inset 0 0 0 3px var(--cyan); }
.stop-consult-node.selected em { color: #007f83; background: #dff8f6; }
.stop-tone-0 { border-color: #2e9d73; background: #e2f5eb; }
.stop-tone-0 > strong { background: #2e9d73; }
.stop-tone-1 { border-color: #8c5aa0; background: #f0e7f4; }
.stop-tone-1 > strong { background: #8c5aa0; }
.stop-tone-2 { border-color: #df8434; background: #fff0df; }
.stop-tone-2 > strong { background: #df8434; }
.stop-tone-3 { border-color: #2d78a5; background: #e5f1f8; }
.stop-tone-3 > strong { background: #2d78a5; }
.interaction-icicle { display: block; background: #fff; }
.interaction-siblings { display: grid; grid-template-columns: repeat(var(--interaction-columns, 3), minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1px; background: #fff; }
.interaction-branch { min-width: 0; display: flex; flex-direction: column; }
.interaction-tier { display: grid; place-items: center; min-height: 34px; padding: 8px 9px; border-top: 1px solid rgba(255,255,255,.92); color: var(--ink-2); font-size: 11px; line-height: 1.45; text-align: center; }
.interaction-tier:first-child { border-top: 0; }
.interaction-tier-1 { min-height: 35px; font-weight: 700; }
.interaction-tier-2 { min-height: 38px; font-size: 12px; font-weight: 800; }
.interaction-tier-3 { flex: 1; min-height: 88px; align-content: start; padding-top: 10px; }
.interaction-tone-0 { border-color: #2e9d73; background: #e2f5eb; }
.interaction-tone-0 .interaction-tier-1 { background: #d5eee1; }
.interaction-tone-0 .interaction-tier-2 { background: #e2f5eb; }
.interaction-tone-0 .interaction-tier-3 { background: #edf8f2; }
.interaction-tone-1 { border-color: #8c5aa0; background: #f0e7f4; }
.interaction-tone-1 .interaction-tier-1 { background: #e7d9ec; }
.interaction-tone-1 .interaction-tier-2 { background: #f0e7f4; }
.interaction-tone-1 .interaction-tier-3 { background: #f7f1f9; }
.interaction-tone-2 { border-color: #df8434; background: #fff0df; }
.interaction-tone-2 .interaction-tier-1 { background: #fbe3c6; }
.interaction-tone-2 .interaction-tier-2 { background: #fff0df; }
.interaction-tone-2 .interaction-tier-3 { background: #fff7ed; }
.interaction-tone-3 { border-color: #2d78a5; background: #e5f1f8; }
.interaction-tone-3 .interaction-tier-1 { background: #d5e8f3; }
.interaction-tone-3 .interaction-tier-2 { background: #e5f1f8; }
.interaction-tone-3 .interaction-tier-3 { background: #f0f7fb; }
.interaction-empty { margin-top: 10px; padding: 18px; border: 1px dashed var(--line-strong); border-radius: 7px; color: var(--muted); font-size: 12px; text-align: center; }
.icicle-column > strong { display: block; min-height: 42px; padding: 8px; color: #fff; font-size: 12px; text-align: center; }
.icicle-column:nth-child(1) > strong { background: #2e9d73; }
.icicle-column:nth-child(2) > strong { background: #9b5d9f; }
.icicle-column:nth-child(3) > strong { background: #e08739; }
.icicle-column span { display: block; min-height: 50px; padding: 9px; border-right: 1px solid #fff; background: #e9f6ee; color: var(--ink-2); font-size: 11px; line-height: 1.4; text-align: center; }
.icicle-column:nth-child(2) span { background: #f2e9f3; }
.icicle-column:nth-child(3) span { background: #fff0df; }
.professional-section { border-top: 2px solid var(--ink); padding-top: 18px; }
.professional-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.professional-card { padding: 13px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfc; }
.professional-card h4 { margin: 0 0 7px; font-size: 13px; }
.professional-card p { margin: 0; color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.source-link { color: var(--cyan); font-weight: 700; }

.inspector-heading { min-height: 72px; }
.progress-number { padding: 5px 8px; border-radius: 7px; background: var(--cyan-soft); color: #007c80; font-size: 12px; font-weight: 800; }
.inspector-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 12px 0; border-bottom: 1px solid var(--line); }
.inspector-tabs button { padding: 9px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.inspector-tabs button.active { border-bottom-color: var(--cyan); color: var(--ink); font-weight: 700; }
.inspector-content { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; }
.inspector-card { margin-bottom: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.inspector-card h3 { margin: 0 0 10px; font-size: 14px; }
.data-row { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 7px 0; border-top: 1px solid #edf1f2; font-size: 12px; line-height: 1.4; }
.data-row:first-of-type { border-top: 0; }
.data-row span { color: var(--muted); }
.data-row strong { font-weight: 600; overflow-wrap: anywhere; }
.source-chip { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 4px 7px; border-radius: 5px; background: #eef4f5; color: var(--muted); font-size: 11px; }
.confidence { display: flex; align-items: center; gap: 8px; }
.confidence-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 999px; background: #e6edef; }
.confidence-bar i { display: block; height: 100%; background: var(--green); }
.review-item { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid #edf1f2; }
.review-item:first-of-type { border-top: 0; }
.review-check { width: 25px; height: 25px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: 12px; }
.review-item.approved .review-check { border-color: var(--green); background: #e4f5ef; color: var(--green); }
.review-item strong { display: block; font-size: 13px; }
.review-item small { color: var(--muted); font-size: 11px; }
.review-item button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; color: var(--ink-2); font-size: 11px; }
.review-item.approved button { color: var(--green); }
.review-actions { display: flex; gap: 5px; }
.review-actions button:first-child { color: var(--cyan); }
.review-module-summary { grid-column: 2 / -1; padding: 8px 10px; border-radius: 6px; background: #f3f7f8; color: var(--muted); font-size: 11px; line-height: 1.5; }
.review-save-bar { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-save-bar > span:first-child { color: var(--muted); font-size: 11px; line-height: 1.4; }
.review-save-bar > span:first-child strong, .review-save-bar > span:first-child small { display: block; }
.review-save-bar > span:first-child strong { color: var(--ink-2); font-size: 11px; }
.review-save-bar > span:first-child small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.review-save-actions { display: flex; justify-content: flex-end; gap: 7px; }
.review-save-actions .button { padding: 7px 9px; font-size: 11px; }
.review-save-bar button:disabled { opacity: .55; cursor: wait; }
.candidate-button { color: #8b5b0b !important; }
.candidate-button:disabled { opacity: .45; cursor: not-allowed; }
.item-review-list { margin: -2px 0 10px 39px; padding: 7px; border: 1px solid #e5ecee; border-radius: 8px; background: #f8fafb; }
.item-review-row { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 7px; padding: 8px 6px; border-top: 1px solid #e5ecee; }
.item-review-row:first-child { border-top: 0; }
.item-review-number { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: #e7edef; color: var(--muted); font-size: 10px; font-weight: 800; }
.item-review-row.text-approved .item-review-number { background: #dff3ec; color: var(--green); }
.item-review-copy { min-width: 0; }
.item-review-copy strong, .item-review-copy small, .item-review-copy em { display: block; }
.item-review-copy strong { color: var(--ink-2); font-size: 11px; }
.item-review-copy small { margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.item-review-copy em { margin-top: 3px; color: #7a8b91; font-size: 9px; font-style: normal; }
.item-review-controls { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 2px; }
.item-review-controls button { padding: 5px 7px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2); cursor: pointer; font-size: 10px; }
.item-review-row.text-approved .item-review-controls button[data-item-text-section] { border-color: #9bd1c0; color: var(--green); }
.warning-level-control { display: flex; align-items: center; gap: 5px; width: 100%; color: var(--muted); font-size: 9px; font-weight: 800; }
.warning-level-control select { min-width: 0; flex: 1; padding: 5px 7px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink-2); font: inherit; font-size: 10px; }
.json-preview { max-height: 260px; overflow: auto; padding: 10px; border-radius: 7px; background: #142832; color: #c5e4df; font: 11px/1.55 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.safety-note { padding: 11px; border-left: 3px solid var(--orange); background: var(--orange-soft); color: #76480f; font-size: 12px; line-height: 1.5; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 30; max-width: 420px; padding: 10px 15px; border-radius: 8px; background: var(--ink); color: #fff; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: .2s ease; font-size: 13px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.workflow-dialog { width: min(620px, calc(100vw - 28px)); max-height: calc(100vh - 36px); padding: 0; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 28px 90px rgba(7,24,32,.32); }
.workflow-dialog::backdrop { background: rgba(8,25,33,.62); backdrop-filter: blur(4px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 3px 0 0; font-size: 20px; }
.dialog-body { padding: 18px 20px; overflow-y: auto; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 20px 17px; border-top: 1px solid var(--line); background: #f8fafb; }
.upload-summary { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfc; }
.upload-summary .file-mark { width: 45px; height: 52px; display: grid; place-items: center; border-radius: 6px; background: #d95148; color: #fff; font-size: 12px; font-weight: 900; }
.upload-summary strong, .upload-summary small { display: block; }
.upload-summary small { margin-top: 5px; color: var(--muted); font-size: 12px; }
.workflow-steps { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 8px; }
.workflow-steps li { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }
.workflow-steps li i { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #e9eff1; color: var(--muted); font-style: normal; font-size: 12px; font-weight: 800; }
.workflow-steps li strong, .workflow-steps li small { display: block; }
.workflow-steps li strong { color: var(--ink-2); font-size: 13px; }
.workflow-steps li small { margin-top: 3px; font-size: 11px; }
.workflow-steps li.active { border-color: var(--cyan); background: var(--cyan-soft); }
.workflow-steps li.active i { background: var(--cyan); color: #fff; }
.workflow-steps li.done { border-color: #9bd1c0; }
.workflow-steps li.done i { background: var(--green); color: #fff; }
.workflow-steps li.done i::before { content: "✓"; }
.workflow-steps li.done i { font-size: 0; }
.workflow-steps li.done i::before { font-size: 13px; }
.workflow-steps li.error { border-color: #e3a7a2; background: #fff3f2; }
.workflow-steps li.error i { background: var(--red); color: #fff; }
.model-safety { padding: 10px 12px; border-left: 3px solid var(--orange); background: var(--orange-soft); color: #74440e; font-size: 12px; line-height: 1.55; }
.dialog-error { margin-top: 12px; padding: 10px 12px; border-radius: 7px; background: #fff0ef; color: #9b2d28; font-size: 12px; line-height: 1.5; }
.module-dialog { width: min(760px, calc(100vw - 28px)); }
.module-hint { margin: 0 0 14px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.json-editor-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.module-json-editor { width: 100%; min-height: 390px; padding: 13px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 8px; background: #142832; color: #d3ede8; font: 12px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; tab-size: 2; }
.module-json-editor:focus { border-color: var(--cyan); outline: 3px solid rgba(0,174,179,.14); }
.draft-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 28px; border-bottom: 1px solid #f0cf9f; background: var(--orange-soft); color: #75440c; font-size: 12px; }
.draft-banner strong { color: #8b4d08; }
.review-complete-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 28px; border-bottom: 1px solid #96d0bd; background: #e4f5ef; color: #17634f; font-size: 12px; }
.review-complete-banner strong { color: #17634f; font-size: 13px; }
.publish-field { display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid #edf1f2; color: var(--muted); font-size: 12px; }
.publish-field:first-of-type { border-top: 0; }
.publish-field input { min-width: 0; width: 100%; padding: 7px 8px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 12px; }
.publish-field input:focus { border-color: var(--cyan); outline: 3px solid rgba(0,174,179,.12); }
.review-status-row { margin-top: 2px; }
.status-complete { color: var(--green); }
.print-option { display: flex; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 9px; background: #f8fafb; cursor: pointer; }
.print-option input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--cyan); }
.print-option strong, .print-option small { display: block; }
.print-option strong { font-size: 14px; }
.print-option small { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.print-full-details-block { display: none; margin-top: 18px; padding-top: 15px; border-top: 1px dashed var(--line-strong); }
.print-full-details-block h4 { margin: 0 0 10px; font-size: 15px; }
.print-detail-group h5 { margin: 13px 0 6px; color: var(--ink-2); font-size: 13px; }
.print-detail-item { padding: 8px 0; border-top: 1px solid #edf1f2; break-inside: avoid; }
.print-detail-item strong, .print-detail-item small { display: block; }
.print-detail-item p { margin: 4px 0; color: var(--ink-2); font-size: 12px; line-height: 1.6; }
.print-detail-item small { color: var(--muted); font-size: 10px; }
.selected-warning-detail { margin: 4px 0; padding: 9px; border: 2px solid var(--cyan); border-radius: 7px; background: #dff8f6; }
.candidate-dialog { width: min(1040px, calc(100vw - 28px)); }
.candidate-composition-note { margin: 0 0 12px; padding: 10px 12px; border: 1px solid #e9bf78; border-radius: 8px; background: #fff8e9; color: #6f4d16; font-size: 12px; line-height: 1.55; }
.candidate-loading { padding: 24px; border: 1px dashed var(--line-strong); border-radius: 8px; color: var(--muted); text-align: center; font-size: 13px; }
.candidate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.reviewed-icon-library { margin: 0 0 14px; padding: 12px; border: 1px solid #b7d9d7; border-radius: 9px; background: #f1f9f8; }
.candidate-style-reference { margin: 0 0 14px; padding: 12px; border: 1px solid #f0b16d; border-radius: 9px; background: #fff8ee; }
.candidate-style-reference-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.candidate-style-reference-grid figure { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 8px; min-width: min(100%, 270px); margin: 0; padding: 7px; border: 1px solid #efd7bd; border-radius: 8px; background: #fff; }
.candidate-style-reference-grid img { width: 58px; height: 58px; object-fit: contain; }
.candidate-style-reference-grid figcaption { color: var(--ink-2); font-size: 11px; font-weight: 700; line-height: 1.45; }
.generated-image-section { margin: 0 0 14px; padding: 13px; border: 1px solid #8ccfcb; border-radius: 9px; background: linear-gradient(135deg, #f0fbfa, #fff); }
.generated-image-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.generated-image-heading h3, .candidate-web-heading h3 { margin: 0; font-size: 14px; }
.generated-image-heading small, .candidate-web-heading small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.generated-image-heading .button { flex: 0 0 auto; }
.generated-image-status { margin-top: 9px; color: var(--muted); font-size: 11px; }
.generated-image-status.is-loading { color: #087f83; font-weight: 700; }
.generate-signin-link { display: inline-flex; margin-left: 8px; padding: 6px 9px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; }
.generate-signin-link:focus-visible { outline: 3px solid rgba(0,174,179,.25); outline-offset: 2px; }
.generated-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.generated-image-card { overflow: hidden; border: 1px solid #b7d9d7; border-radius: 9px; background: #fff; }
.generated-image-card > img, .generated-image-card > .candidate-warning-preview { width: 100%; height: 180px; object-fit: contain; background: #f8fbfb; }
.generated-image-card > img { padding: 10px; }
.generated-image-card .candidate-card-copy strong { min-height: auto; }
.generated-image-badge { display: inline-flex; width: fit-content; margin-bottom: 6px; padding: 3px 7px; border-radius: 999px; background: #e3f7f5; color: #007b80; font-size: 9px; font-weight: 800; }
.candidate-web-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 16px 0 9px; }
.reviewed-icon-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.reviewed-icon-heading h3 { margin: 0; font-size: 14px; }
.reviewed-icon-heading small { color: var(--muted); font-size: 11px; }
.reviewed-icon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.reviewed-icon-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.reviewed-icon-card.is-style-reference { border-color: #e9a35a; box-shadow: inset 0 3px 0 #f05a00; }
.reviewed-icon-card > img, .reviewed-icon-card > .candidate-warning-preview { width: 100%; height: 86px; object-fit: contain; background: #f7f9f9; }
.reviewed-icon-card > div:last-child { padding: 8px; }
.reviewed-icon-card strong, .reviewed-icon-card small { display: block; }
.reviewed-icon-card strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.reviewed-icon-card small { overflow: hidden; margin: 3px 0 7px; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.reviewed-icon-card button { width: 100%; padding: 6px; border: 1px solid var(--cyan); border-radius: 6px; background: #fff; color: #007b80; cursor: pointer; font-size: 10px; }
.candidate-source-column { min-width: 0; display: grid; grid-template-rows: 1fr 1fr auto; gap: 10px; }
.candidate-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.candidate-card img { width: 100%; height: 112px; object-fit: contain; background: #f5f8f8; }
.candidate-card img.candidate-style-preview { padding: 13px; border-top: 4px solid #f05a00; background: #fff; filter: saturate(.75) contrast(1.08); }
.candidate-warning-preview { display: grid; place-items: center; height: 112px; background: #f5f8f8; }
.candidate-warning-preview .warning-symbol { width: 94px; height: 88px; }
.candidate-warning-preview .warning-symbol-base { width: 45px; height: 45px; background: transparent; }
.candidate-warning-preview .warning-symbol--caution .warning-symbol-base { top: 34px; width: 40px; height: 40px; }
.candidate-source-mark { display: grid; place-items: center; height: 112px; padding: 14px; background: linear-gradient(145deg, #eef8f8, #f8fbfb); color: #087f83; text-align: center; }
.candidate-source-mark span { display: block; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.candidate-source-mark small { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 500; }
.candidate-card-copy { padding: 10px; }
.candidate-card strong, .candidate-card small { display: block; }
.candidate-card strong { min-height: 36px; font-size: 12px; line-height: 1.45; }
.candidate-card small { margin: 5px 0 9px; color: var(--muted); font-size: 10px; }
.candidate-card-actions { display: flex; gap: 6px; }
.candidate-card-actions a, .candidate-card-actions button { flex: 1; padding: 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink-2); cursor: pointer; font-size: 10px; text-align: center; text-decoration: none; }
.candidate-card-actions button { border-color: var(--cyan); color: #007b80; }
.candidate-library-link { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; align-items: center; min-height: 82px; padding: 10px; border: 1px solid var(--cyan); border-radius: 9px; background: #eaf8f7; color: var(--ink-2); }
.candidate-library-link > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; }
.candidate-library-link label { min-width: 0; display: grid; gap: 3px; }
.candidate-library-link strong { font-size: 11px; }
.candidate-library-link small { color: var(--muted); font-size: 9px; }
.candidate-library-link input { min-width: 0; width: 100%; padding: 6px 7px; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 10px; }
.candidate-library-link a { padding: 7px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 10px; text-decoration: none; white-space: nowrap; }
.candidate-import { margin-top: 16px; padding: 14px; border: 1px solid var(--line); border-radius: 9px; background: #f7fafb; }
.candidate-import h3 { margin: 0 0 5px; font-size: 14px; }
.candidate-import p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.candidate-import-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.candidate-import-grid label { display: grid; gap: 5px; color: var(--ink-2); font-size: 11px; font-weight: 700; }
.candidate-import-grid input { width: 100%; padding: 8px 9px; border: 1px solid var(--line-strong); border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.candidate-import-grid .candidate-file { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .workspace { grid-template-columns: 290px minmax(500px, 1fr); }
  .inspector-panel { position: fixed; right: 0; top: 64px; bottom: 0; width: 326px; z-index: 15; box-shadow: -16px 0 35px rgba(16,34,44,.12); transform: translateX(calc(100% - 12px)); transition: transform .2s ease; }
  .inspector-panel:hover, .inspector-panel:focus-within { transform: translateX(0); }
  .topbar { grid-template-columns: 270px 1fr auto; }
  .save-state { display: none; }
}

@media (max-width: 820px) {
  body { overflow: auto; }
  .app-shell { height: auto; min-height: 100vh; grid-template-rows: auto auto; }
  .topbar { grid-template-columns: 1fr auto; min-height: 64px; padding-block: 10px; }
  .topbar-center { grid-column: 1 / -1; grid-row: 2; }
  .top-actions .button-ghost { display: none; }
  .top-actions .button-upload { font-size: 0; width: 42px; padding: 0; }
  .top-actions .button-upload::after { content: "PDF"; font-size: 12px; }
  .workspace { display: flex; flex-direction: column; }
  .chat-panel { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .messages { max-height: 270px; }
  .canvas-stage { min-height: 800px; }
  .canvas-scroll { padding: 18px 12px 50px; }
  .canvas-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .section-title { align-items: flex-start; }
  .section-title-actions { align-items: flex-end; flex-direction: column; }
  .candidate-grid { grid-template-columns: 1fr; }
  .generated-image-heading, .candidate-web-heading { align-items: stretch; flex-direction: column; }
  .generated-image-grid { grid-template-columns: 1fr; }
  .reviewed-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .candidate-import-grid { grid-template-columns: 1fr; }
  .instruction-canvas { transform-origin: top left; }
  .inspector-panel { position: static; width: auto; min-height: 480px; transform: none; border-left: 0; border-top: 1px solid var(--line); box-shadow: none; }
}

@media print {
  *, *::before, *::after { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  body { overflow: visible; background: #fff; }
  .topbar, .chat-panel, .inspector-panel, .canvas-toolbar, .toast { display: none !important; }
  .app-shell, .workspace, .canvas-stage, .canvas-scroll { display: block; height: auto; overflow: visible; padding: 0; background: #fff; }
  .instruction-canvas { width: 100%; min-height: 0; border: 0; box-shadow: none; transform: none !important; }
  .warning-card.selected { border: 3px solid #009fa4 !important; background: #c9f3ef !important; box-shadow: inset 0 0 0 2px #fff !important; }
  .warning-card.selected .warning-selection { color: #006d71 !important; }
  .stop-consult-node.selected { box-shadow: inset 0 0 0 4px #009fa4 !important; }
  .stop-tone-0, .stop-tone-0 > strong { print-color-adjust: exact !important; }
  .stop-tone-1, .stop-tone-1 > strong { print-color-adjust: exact !important; }
  .stop-tone-2, .stop-tone-2 > strong { print-color-adjust: exact !important; }
  .stop-tone-3, .stop-tone-3 > strong { print-color-adjust: exact !important; }
  .interaction-branch, .interaction-tier { print-color-adjust: exact !important; }
  body.print-full-details .print-full-details-block { display: block; }
}
