:root {
  --pine: #173e34;
  --pine-hover: #235447;
  --accent: #22634d;
  --accent-soft: #e6f1ea;
  --ink: #253b33;
  --muted: #607168;
  --line: #dce3df;
  --ground: #eef2f0;
  --paper: #ffffff;
  --sidebar: #f7f9f7;
  --danger: #a52a2a;
  --danger-soft: #fff0ee;
  --radius: 6px;
  --shadow: 0 12px 32px rgb(24 49 37 / 12%);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--ground);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, summary { touch-action: manipulation; }
button:disabled { cursor: not-allowed; opacity: .4; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 9px 11px; caret-color: var(--accent); }
select { min-height: 40px; padding-right: 28px; }
textarea { display: block; resize: vertical; }
input::placeholder, textarea::placeholder { color: #6b7b72; opacity: 1; }
input:hover, textarea:hover, select:hover { border-color: #a7b8ae; }
button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: #bce0c9; color: #102f24; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
button svg { pointer-events: none; }
a { color: var(--accent); text-underline-offset: 3px; }
p { margin: 0 0 16px; }
strong { font-weight: 600; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 100; background: white; padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.button, .icon-button, .tiny-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font-weight: 550; min-height: 38px; padding: 8px 13px; line-height: 1.3; transition: background-color 150ms, border-color 150ms; text-decoration: none; white-space: nowrap; }
.button:hover:not(:disabled), .icon-button:hover:not(:disabled), .tiny-button:hover { background: var(--accent-soft); border-color: #bacdc0; }
.button.primary { background: var(--pine); color: white; border-color: var(--pine); }
.button.primary:hover { background: var(--pine-hover); }
.button.quiet { background: transparent; border-color: transparent; }
.icon-button { width: 36px; min-height: 36px; padding: 7px; background: transparent; border-color: transparent; }
.tiny-button { min-height: 28px; width: 28px; padding: 4px; border-color: transparent; background: transparent; }
.text-button { border: 0; padding: 0; background: none; font-size: 12px; text-align: left; color: var(--accent); line-height: 1.7; }
.text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.danger-text { color: var(--danger) !important; }
.button.danger { color: white; background: var(--danger); border-color: var(--danger); }
.button.danger:hover { background: #842323; }
.app-header { display: flex; align-items: center; gap: 24px; padding: 0 26px; min-height: 76px; background: var(--pine); color: white; }
.brand { display: flex; align-items: center; font-family: Georgia, 'Times New Roman', serif; font-size: 29px; letter-spacing: -.035em; font-weight: 600; color: white; text-decoration: none; line-height: 1; flex-shrink: 0; }
.brand svg { width: 30px; height: 30px; margin-right: 10px; stroke-width: 1.4; }
.brand-dot { color: #a9cbb1; }
.header-description { font-size: 12px; color: #c4d4ca; }
.global-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.global-actions .button, .global-actions .icon-button { color: white; background: transparent; border-color: #527064; }
.global-actions .button:hover, .global-actions .icon-button:hover { background: var(--pine-hover); border-color: #90b29e; }
.global-actions .quiet, .global-actions .icon-button { border-color: transparent; }
#save-status { font-size: 12px; color: #c4d4ca; margin-right: 10px; }
#save-status::before { content: ''; display: inline-block; width: 5px; height: 5px; background: #afd1b7; border-radius: 50%; margin: 0 7px 2px 0; }
#save-status.unsaved { color: #ffd7bd; }
.app-header :focus-visible { outline-color: #c1e8cd; }
.app-layout { display: grid; grid-template-columns: 282px minmax(0, 1fr); min-height: calc(100vh - 76px); }
.sidebar { background: var(--sidebar); border-right: 1px solid var(--line); padding: 26px 22px 20px; display: flex; flex-direction: column; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.section-heading h2 { font-size: 14px; font-weight: 650; margin: 0; }
#chart-count, #bank-count { color: var(--muted); font-size: 12px; font-weight: 500; margin-left: 7px; }
.charts-panel { padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.charts-panel select { font-size: 12px; }
#example-button { margin-top: 11px; }
.bank-panel > summary { font-size: 16px; font-weight: 650; display: flex; align-items: center; justify-content: space-between; list-style: none; cursor: pointer; }
.bank-panel > summary svg { transition: transform 150ms; }
.bank-panel[open] > summary svg { transform: rotate(180deg); }
summary::-webkit-details-marker { display: none; }
.bank-intro { font-size: 12px; color: var(--muted); margin: 4px 0 18px; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 11px; top: 11px; color: var(--muted); width: 16px; height: 16px; }
.search-field input { font-size: 12px; padding-left: 35px; }
#category-filter { background: transparent; font-size: 12px; margin-top: 9px; }
.bank-list { padding: 20px 0 10px; }
.bank-category + .bank-category { margin-top: 19px; }
.bank-category h3 { font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 8px; display: flex; justify-content: space-between; }
.bank-category h3 span { font-variant-numeric: tabular-nums; }
.bank-group { display: flex; flex-direction: column; gap: 6px; min-height: 12px; }
.label-chip { display: inline-flex; align-items: stretch; max-width: 100%; background: #ecf2ee; border: 1px solid #d9e4dc; color: #264938; border-radius: 5px; min-height: 33px; overflow-wrap: anywhere; vertical-align: middle; }
.label-main { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; flex: 1; min-width: 0; border: 0; background: transparent; cursor: grab; text-align: left; font-size: 12px; line-height: 1.5; border-radius: 4px; }
.label-main > span { min-width: 0; overflow-wrap: anywhere; }
.label-main > svg { color: #617d6b; width: 11px; height: 15px; }
.label-main:active { cursor: grabbing; }
.label-main:hover { background: #dfeae2; }
.label-main[aria-pressed="true"] { background: var(--pine); color: white; }
.label-main[aria-pressed="true"] svg { color: #d2e8d7; }
.label-main:focus-visible { outline-offset: -2px; }
.chip-action { border: 0; border-radius: 0 4px 4px 0; background: transparent; color: #5e7566; padding: 4px; width: 27px; flex-shrink: 0; }
.chip-action svg { width: 13px; height: 13px; }
.chip-action:hover { background: #dbe7df; color: var(--pine); }
.bank-chip { background: white; border-color: #dfe5e0; }
.bank-chip .chip-action { opacity: .6; }
.bank-chip:hover .chip-action, .bank-chip:focus-within .chip-action { opacity: 1; }
.bank-empty { padding: 7px 0 14px; }
.empty-symbol { color: #759181; font-family: Georgia, serif; font-size: 35px; margin-bottom: 8px; }
.bank-empty strong { font-size: 13px; }
.bank-empty p { font-size: 12px; color: var(--muted); margin: 5px 0 0; line-height: 1.7; }
.empty-search { font-size: 12px; color: var(--muted); }
.add-panel { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; }
.add-panel > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 600; }
.add-panel > summary svg { width: 16px; height: 16px; transition: transform 150ms; }
.add-panel[open] > summary svg { transform: rotate(180deg); }
#add-form { margin-top: 13px; }
label:not(.sr-only) { font-size: 12px; }
#add-form label { display: block; margin: 12px 0 5px; }
#add-form label span { font-size: 12px; color: var(--muted); margin-left: 4px; }
#add-form select, #add-form textarea { font-size: 12px; }
#add-form .button { width: 100%; margin-top: 10px; font-size: 12px; }
.bank-hint { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 18px 0 0; }
.sidebar-footer { margin-top: auto; padding-top: 38px; color: var(--muted); font-size: 12px; display: flex; gap: 9px; line-height: 1.7; }
.sidebar-footer .text-button { font-size: 12px; line-height: 1.7; }
.local-dot { width: 6px; height: 6px; margin-top: 6px; border: 1px solid var(--accent); border-radius: 50%; flex-shrink: 0; }
main { min-width: 0; padding: 22px 38px 30px; outline: none; }
.workspace-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.workspace-location { display: flex; gap: 9px; align-items: center; font-size: 12px; color: var(--muted); }
.workspace-location svg { width: 16px; height: 16px; }
.history-controls { display: flex; gap: 4px; }
.chart-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.toolbar-group { display: flex; align-items: center; gap: 1px; }
.chart-toolbar .button { font-size: 12px; padding: 8px 10px; }
.chart-toolbar .quiet:first-child { margin-left: -10px; }
.chart-toolbar .button svg { width: 16px; height: 16px; }
.mobile-table-hint { display: none; }
.sheet-scroll { overflow-x: auto; padding: 1px 1px 16px; }
.sheet { position: relative; background: white; min-width: 540px; min-height: 650px; padding: 38px 38px 22px; box-shadow: 0 3px 13px rgb(21 50 34 / 5%); }
.document-heading { margin-bottom: 28px; }
.title-input, .subtitle-input { border: 1px solid transparent; border-radius: 3px; padding: 3px 5px; margin-left: -6px; width: calc(100% + 12px); background: transparent; resize: none; overflow: hidden; }
.title-input { font-size: 28px; font-weight: 650; letter-spacing: -.025em; line-height: 1.2; color: #243d30; }
.subtitle-input { font-size: 12px; color: var(--muted); line-height: 1.6; margin-top: 6px; }
.title-input:hover, .subtitle-input:hover { background: #f8faf8; border-color: var(--line); }
.document-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.document-meta label { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.document-meta input { width: 140px; font-size: 12px; padding: 5px 7px; border-color: var(--line); font-variant-numeric: tabular-nums; }
.sheet-stamp { font-size: 12px; color: var(--muted); }
.chart-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.chart-table th { background: #f2f5f2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; text-align: left; padding: 9px 10px; }
.chart-table th:not(.row-gutter) + th { border-left: 1px solid var(--line); }
.chart-table td:not(.row-gutter) { border: 1px solid var(--line); vertical-align: top; padding: 9px; }
.chart-table td:nth-child(2) { border-left: 0; }
.chart-table td:last-child { border-right: 0; }
.chart-table .row-gutter { width: 27px; padding: 0 5px 0 0; border: 0; background: white; vertical-align: top; }
.row-number { display: flex; align-items: center; justify-content: center; cursor: pointer; list-style: none; min-width: 24px; min-height: 30px; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); border-radius: 3px; margin-top: 10px; }
.row-number:hover { background: var(--accent-soft); color: var(--accent); }
.column-heading { display: flex; gap: 2px; align-items: center; }
.column-heading input { width: 0; min-width: 0; flex: 1; background: transparent; border-color: transparent; font-size: 12px; font-weight: 600; padding: 3px 0; border-radius: 2px; }
.column-heading input:focus-visible { background: white; }
.label-zone { min-height: 35px; display: flex; align-items: flex-start; align-content: flex-start; flex-wrap: wrap; gap: 5px; border-radius: 3px; transition: background-color 180ms ease-out; }
.label-zone:empty::after { content: ''; height: 27px; }
.placing .label-zone { outline: 1px dashed #8aab96; outline-offset: 3px; cursor: crosshair; min-height: 40px; background: #f4f9f4; }
.placing .label-zone:empty::after { content: 'Place here'; font-size: 12px; color: #477057; padding: 7px 6px; }
.placing .label-zone:hover { background: #e1efe3; }
.dragging .label-zone { outline: 1px dashed #8aab96; outline-offset: 3px; background: #f4f9f4; }
.label-zone .label-chip { min-height: 29px; }
.label-zone .label-main { font-size: 12px; padding: 4px 6px; }
.label-zone .chip-action { width: 23px; }
.cell-text { width: 100%; border: 1px solid transparent; padding: 4px 2px; margin-top: 3px; font-size: 12px; line-height: 1.6; resize: none; overflow: hidden; min-height: 28px; }
.cell-text:hover { background: #fafcfb; border-color: var(--line); }
.cell-text::placeholder { color: #6a786e; font-size: 12px; opacity: 0; }
td:hover .cell-text::placeholder, .cell-text:focus::placeholder { opacity: 1; }
.sheet-add { display: flex; align-items: center; gap: 7px; color: var(--muted); background: transparent; border: 0; margin-left: 27px; padding: 14px 2px; font-size: 12px; }
.sheet-add svg { width: 13px; height: 13px; }
.sheet-add:hover { color: var(--accent); }
.sheet-bottom { display: flex; gap: 20px; justify-content: space-between; margin: 28px 0 0 27px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.workspace-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); margin: 0 1px; }
.placement-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; background: #dcece1; border-radius: var(--radius); color: var(--pine); padding: 10px 14px; margin-bottom: 14px; font-size: 12px; position: sticky; top: 8px; z-index: 5; }
kbd { font-family: inherit; font-size: 12px; border: 1px solid #9eb8a6; border-radius: 3px; padding: 1px 4px; margin-left: 6px; }
.menu { position: relative; flex-shrink: 0; }
.menu > summary { list-style: none; cursor: pointer; }
.menu:not([open]) .menu-content { display: none; }
.menu-content { position: fixed; background: white; border-radius: var(--radius); box-shadow: var(--shadow); min-width: 174px; padding: 5px; z-index: 20; color: var(--ink); text-align: left; }
.menu-content button { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 9px 10px; font-size: 12px; font-weight: 400; border-radius: 3px; white-space: nowrap; }
.menu-content button:hover:not(:disabled) { background: var(--accent-soft); }
.chart-empty { max-width: 450px; padding: 65px 15px; margin: auto; text-align: center; }
.chart-empty .empty-symbol svg { width: 38px; height: 38px; }
.chart-empty h1 { font-size: 27px; font-weight: 600; letter-spacing: -.025em; line-height: 1.25; text-wrap: balance; }
.chart-empty p { color: var(--muted); font-size: 13px; }
.storage-warning { background: #fff1d5; color: #654817; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 20px; font-size: 13px; flex-wrap: wrap; }
.form-error { color: var(--danger); font-size: 12px; margin: 10px 0; }
dialog { border: 0; border-radius: 12px; padding: 28px; width: min(520px, calc(100vw - 32px)); max-height: calc(100svh - 40px); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgb(12 32 24 / 40%); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.dialog-heading h2 { font-size: 21px; font-weight: 650; letter-spacing: -.025em; margin: 0; line-height: 1.3; }
dialog p { font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
dialog form > label:not(.radio-option, .confirm-replace) { display: block; margin: 15px 0 6px; font-weight: 550; }
.muted, .optional { color: var(--muted); }
.optional { font-weight: 400; padding-left: 4px; }
dialog .muted { font-size: 12px; margin-top: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 24px; }
.template-list { margin: 20px 0; border-top: 1px solid var(--line); }
.template-option, .radio-option { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); cursor: pointer; }
.template-option input, .radio-option input, .confirm-replace input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--accent); }
.template-option span, .radio-option span { flex: 1; }
.template-option strong, .radio-option strong { display: block; font-size: 13px; }
.template-option small, .radio-option small { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.template-option svg { color: var(--muted); }
.template-option:has(input:checked) { background: var(--accent-soft); }
.confirm-replace { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--danger); }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.two-fields select { margin-top: 6px; }
.help-list { padding-left: 22px; font-size: 13px; line-height: 1.7; }
.help-list li { margin-bottom: 13px; padding-left: 3px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 12px); padding: 12px 18px; max-width: min(560px, calc(100vw - 32px)); width: max-content; border-radius: var(--radius); background: var(--pine); color: white; font-size: 12px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; z-index: 100; transition: opacity 180ms, transform 180ms; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.drag-ghost { opacity: .3; background: #a6c5ad; }
.drag-chosen { box-shadow: 0 5px 12px rgb(25 55 37 / 15%); }
.label-zone.just-placed { background-color: #cbe5d2; }
#print-document { display: none; }
@media (min-width: 1600px) { main { padding-left: max(38px, calc((100vw - 1500px) / 2)); padding-right: max(38px, calc((100vw - 1500px) / 2)); } }
@media (max-width: 1150px) { .header-description { display: none; } #save-status { max-width: 130px; } main { padding: 20px 22px 28px; } .sheet { padding: 28px 24px 22px; } .app-layout { grid-template-columns: 258px minmax(0,1fr); } .sidebar { padding: 23px 18px; } .title-input { font-size: 25px; } }
@media (max-width: 850px) {
  .app-header { padding: 14px 18px; min-height: 70px; gap: 14px; flex-wrap: wrap; }
  .brand { font-size: 26px; }
  .global-actions { gap: 4px; }
  #save-status { display: none; }
  .app-layout { grid-template-columns: minmax(0,1fr); }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 22px; }
  .charts-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding-bottom: 15px; margin-bottom: 14px; }
  .section-heading { grid-row: 1; grid-column: 1 / -1; margin: 0; }
  #chart-select { grid-row: 2; }
  #example-button { grid-row: 2; margin: 0; }
  .bank-content { padding-top: 3px; }
  .bank-list { max-height: 245px; overflow-y: auto; padding: 16px 0 5px; }
  .bank-group { flex-direction: row; flex-wrap: wrap; }
  .bank-chip { max-width: 100%; }
  .bank-category h3 { justify-content: flex-start; gap: 10px; }
  .sidebar-footer { display: none; }
  .bank-hint { margin-top: 10px; }
  #add-form { display: grid; grid-template-columns: 130px 1fr; gap: 5px 14px; }
  #add-form label:first-child { grid-column: 1; grid-row: 1; }
  #add-category { grid-column: 1; grid-row: 2; align-self: start; }
  #add-form label[for="add-labels"] { grid-column: 2; grid-row: 1; }
  #add-labels { grid-column: 2; grid-row: 2 / 4; }
  #add-form .button { grid-column: 1; grid-row: 3; align-self: start; margin: 0; }
  #add-error { grid-column: 1 / -1; }
  main { padding: 14px 18px 25px; }
  .workspace-top { margin-bottom: 7px; }
  .mobile-table-hint { display: block; color: var(--muted); font-size: 12px; margin: 0 1px 12px; }
  .document-heading { max-width: calc(100vw - 88px); }
}
@media (max-width: 520px) {
  :root { font-size: 14px; }
  .app-header { padding: 13px 15px; }
  .brand { font-size: 26px; }
  .global-actions { width: 100%; justify-content: space-between; margin: 0; }
  .global-actions .button { font-size: 12px; }
  .sidebar { padding: 15px 16px; }
  main { padding: 10px 12px 25px; }
  .chart-toolbar { align-items: stretch; gap: 8px; flex-wrap: wrap; }
  .toolbar-group { flex: 1; }
  .chart-toolbar .button { padding: 8px 6px; gap: 5px; font-size: 12px; }
  .chart-toolbar .button svg { width: 14px; height: 14px; }
  .chart-toolbar .quiet:first-child { margin-left: -4px; }
  .chart-toolbar #print-button { width: 100%; }
  .sheet { padding: 24px 20px 20px; min-width: 540px; }
  .workspace-footer { font-size: 12px; }
  .document-heading { max-width: calc(100vw - 72px); }
  .sheet-stamp { display: none; }
  #example-button { font-size: 12px; }
  #add-form { grid-template-columns: 110px minmax(0,1fr); gap: 5px 9px; }
  #add-form label span { display: block; margin-left: 0; }
  .toast { bottom: 12px; }
  dialog { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print {
  html { background: white; }
  body { background: white; color: #111; font-family: Arial, sans-serif; font-size: 10pt; }
  body > :not(#print-document) { display: none !important; }
  #print-document { display: block; }
  #print-document h1 { font-size: 22pt; line-height: 1.2; margin: 0 0 6mm; overflow-wrap: anywhere; }
  #print-document p { margin: 0 0 4mm; white-space: pre-wrap; overflow-wrap: anywhere; }
  .print-subtitle, .print-date { color: #333; font-size: 10pt; }
  #print-document table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 6mm; }
  #print-document thead { display: table-header-group; }
  #print-document tr { break-inside: avoid; }
  #print-document th, #print-document td { border: .3mm solid #aaa; padding: 3mm; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
  #print-document th { font-size: 10pt; font-weight: bold; background: #eee; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  #print-document td { height: 15mm; }
  .print-label { display: inline-block; border: .2mm solid #bbb; border-radius: 1mm; padding: 1mm 2mm; margin: 0 1mm 1mm 0; max-width: 100%; overflow-wrap: anywhere; }
  .print-cell-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
  #print-document footer { margin-top: 6mm; font-size: 8pt; color: #555; }
}
