:root {
  --canvas: #f6f8f7;
  --surface: #ffffff;
  --sidebar: #f8faf9;
  --ink: #1f2b26;
  --muted: #62716a;
  --quiet: #6b776f;
  --line: #dce3df;
  --line-light: #edf0ee;
  --green: #285345;
  --green-hover: #1f4438;
  --green-soft: #e8f0ec;
  --amber: #8a551c;
  --amber-soft: #faf1e4;
  --red: #a03535;
  --red-soft: #fbefee;
  --blue: #35677c;
  --blue-soft: #edf4f7;
  --radius: 7px;
  --focus: #306fbc;
  --sidebar-width: 220px;
}
[hidden] { display: none !important; }
.product-review-open { overflow: hidden; }
.product-review-dialog { width: min(960px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--surface); box-shadow: 0 18px 60px #172b2630; }
.product-review-dialog[open] { display: flex; flex-direction: column; }
.product-review-dialog::backdrop { background: #172b2670; }
.product-review-header { display: flex; flex-shrink: 0; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 26px 16px; border-bottom: 1px solid var(--line); }
.product-review-heading { min-width: 0; }
.product-review-heading h2 { font-size: 20px; line-height: 1.35; margin: 3px 0; overflow-wrap: anywhere; }
.product-review-heading .quiet-label { margin: 0; }
.product-review-controls { display: flex; gap: 4px; flex-shrink: 0; }
.product-review-controls .icon-button { width: 36px; height: 36px; font-size: 25px; }
.product-review-body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 0 26px 18px; min-height: 0; }
.product-review-body > .notice { margin-top: 16px; }
.product-review-form { margin: 0; }
.review-step { padding: 18px 0; border-bottom: 1px solid var(--line-light); }
.review-step h3 { margin: 0 0 12px; font-size: 14px; font-weight: 650; }
.review-section-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
[data-review-target-picker] { margin-bottom: 16px; }
[data-review-target-picker] > label { display: block; margin: 8px 0 5px; font-size: 12px; }
[data-review-target-picker] > input { width: 100%; }
.review-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.review-fields label, .review-api-search > label, [data-review-source-picker] > label { display: block; margin-bottom: 5px; font-size: 12px; }
.review-fields input, .review-fields textarea, .review-api-search input, [data-review-source-picker] > input, .review-note textarea { width: 100%; }
.review-fields textarea, .review-note textarea { min-height: 64px; }
.review-fields input[readonly] { color: var(--muted); background: var(--canvas); }
.review-source-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.review-source-line > div { flex: 1 1 300px; }
.review-source-line strong { font-size: 13px; font-weight: 550; }
.review-source-line p { margin: 3px 0 0; }
.review-radio-group { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.review-radio-group label, .review-check { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.review-radio-group input, .review-check input { accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.review-equation { margin: 14px 0 0; padding: 10px 12px; background: var(--green-soft); border-radius: 4px; font-variant-numeric: tabular-nums; }
.review-check { margin-top: 16px; }
.review-note { padding-top: 16px; }
.review-note summary, .review-advanced summary { font-size: 12px; color: var(--muted); cursor: pointer; }
.review-note textarea { margin-top: 10px; }
.review-advanced { margin-top: 12px; }
.review-inline { display: flex; gap: 10px; }
.review-inline input { min-width: 0; flex: 1; }
.review-api-search, [data-review-source-picker] { margin-top: 14px; }
.review-options { max-height: 240px; overflow-y: auto; }
.review-options:has(button) { border: 1px solid var(--line); border-radius: 4px; margin-top: 4px; }
.review-option { display: block; text-align: left; width: 100%; border: 0; border-bottom: 1px solid var(--line-light); padding: 10px 12px; background: white; color: var(--ink); cursor: pointer; }
.review-option strong { font-weight: 500; }
.review-option:last-child { border-bottom: 0; }
.review-option:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.review-component { display: grid; grid-template-columns: minmax(0, 1fr) 100px auto 32px; align-items: start; gap: 10px; margin-bottom: 14px; }
.review-component input { width: 100%; }
.review-component-main { min-width: 0; }
.review-component > button { min-height: 38px; }
.review-component .icon-button { font-size: 20px; }
.product-review-footer { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 14px 26px; border-top: 1px solid var(--line); background: var(--surface); }
.product-review-footer > .quiet-label { flex: 1 1 100px; }
.product-review-footer .form-actions { border: 0; padding-top: 0; margin-top: 0; }
.product-review-dialog .field-error { font-size: 12px; color: var(--red); margin: 5px 0 0; }
.product-review-dialog .button:active:not(:disabled) { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .review-option:hover { background: var(--canvas); } }
@media (max-width: 650px) {
  .product-review-dialog { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; margin: 0; }
  .product-review-header { padding: 16px; }
  .product-review-body { padding: 0 16px 16px; }
  .product-review-footer { padding: 12px 16px; }
  .product-review-footer .form-actions { width: 100%; justify-content: flex-end; }
  .review-fields { grid-template-columns: 1fr; gap: 12px; }
  .review-component { grid-template-columns: 1fr 80px 30px; }
  .review-component-main { grid-column: 1 / -1; }
  .review-component > .text-button { grid-column: 1; grid-row: 2; text-align: left; }
  .review-component > input { grid-column: 2; grid-row: 2; }
}
.form-actions--sticky { position: sticky; bottom: 0; z-index: 5; background: var(--surface); padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
a[aria-disabled="true"] { color: var(--muted); cursor: not-allowed; }
tr:target { background: var(--amber-soft); }
.work-origin { margin-bottom: 14px; }
* { box-sizing: border-box; }
html { min-height: 100%; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--canvas); font-family: "Segoe UI", "Arial", sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--green); text-decoration: none; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
button, input, select, textarea { max-width: 100%; }
button, [type="button"], [type="submit"] { touch-action: manipulation; }
input, select, textarea { min-height: 39px; color: var(--ink); background: var(--surface); border: 1px solid #cbd5ce; border-radius: 5px; padding: 8px 11px; }
input::placeholder, textarea::placeholder { color: #6b776f; opacity: 1; }
input[type="checkbox"], input[type="radio"] { min-height: 0; width: 17px; height: 17px; margin: 0; accent-color: var(--green); flex: 0 0 auto; }
input[type="file"] { padding: 8px; width: 100%; }
input[type="file"]::file-selector-button { margin-right: 12px; border: 0; padding: 6px 10px; color: var(--green); background: var(--green-soft); border-radius: 4px; font: inherit; cursor: pointer; }
textarea { min-height: 110px; resize: vertical; }
select { padding-right: 28px; }
input:disabled, select:disabled, textarea:disabled { background: #f2f4f3; color: var(--muted); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-width: 2px; outline-offset: 1px; }
main:focus { outline: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 26px; line-height: 1.25; font-weight: 650; letter-spacing: -0.6px; }
h2 { font-size: 17px; line-height: 1.35; font-weight: 620; letter-spacing: -0.2px; }
h3 { font-size: 14px; font-weight: 650; }
ul, ol { padding-left: 22px; }
code { font-family: "Cascadia Mono", Consolas, monospace; font-size: .9em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 10px 15px; background: var(--green); color: white; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; border-right: 1px solid var(--line); background: var(--sidebar); padding: 27px 14px 18px; z-index: 30; }
.brand { display: flex; gap: 11px; align-items: center; color: var(--ink); padding: 0 8px; margin-bottom: 42px; font-weight: 650; font-size: 14px; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.brand-mark img { display: block; width: 36px; height: 36px; }
.nav-main, .nav-secondary { display: flex; flex-direction: column; gap: 5px; }
.nav-secondary { padding-top: 24px; margin-top: 23px; border-top: 1px solid var(--line); }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 10px 13px; min-height: 42px; color: #58685f; border-radius: 5px; }
.nav-link.is-active { background: var(--green-soft); color: var(--green); font-weight: 600; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.nav-count { margin-left: auto; font-size: 11px; min-width: 22px; padding: 1px 6px; text-align: center; border-radius: 4px; background: white; color: var(--green); font-variant-numeric: tabular-nums; }
.quiet-label { color: var(--muted); font-size: 12px; }
.workspace { min-width: 0; }
.topbar { min-height: 68px; border-bottom: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 36px; }
.topbar-left, .user-menu { display: flex; align-items: center; gap: 17px; }
.topbar-title { display: none; font-size: 13px; font-weight: 550; }
.user-menu { font-size: 12px; gap: 13px; }
.user-menu form { margin: 0; }
.user-name { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.attention-link { display: flex; align-items: center; gap: 4px; color: var(--amber); padding: 5px; border-radius: 4px; }
.attention-link .icon { width: 17px; height: 17px; }
.main-content { padding: 26px 36px 48px; max-width: 1720px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-description { margin-top: 7px; max-width: 75ch; color: var(--muted); line-height: 1.55; font-size: 13px; }
.heading-actions, .action-list, .form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.heading-actions { justify-content: flex-end; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 7px; min-height: 38px; padding: 8px 13px; font-size: 13px; line-height: 20px; border: 1px solid transparent; border-radius: 5px; font-weight: 550; white-space: nowrap; text-decoration: none; color: var(--ink); background: var(--surface); }
.button--primary { color: white; background: var(--green); border-color: var(--green); }
.button--secondary { background: white; border-color: #ced8d1; color: #35493f; }
.button--danger { color: var(--red); background: white; border-color: #dfbcbc; }
.button--small { min-height: 32px; font-size: 12px; padding: 5px 10px; }
.button--wide { width: 100%; }
.button:disabled, .button.is-disabled { color: #839188; border-color: var(--line); background: #f5f7f5; opacity: .8; pointer-events: none; }
.button:active:not(:disabled), .icon-button:active { transform: scale(.98); }
.text-button { border: 0; padding: 5px 2px; background: none; color: var(--muted); font-size: 12px; }
.icon-button { width: 36px; height: 36px; padding: 8px; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu, .nav-backdrop { display: none; }
.tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { display: inline-flex; align-items: center; gap: 7px; padding: 0 0 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: 13px; }
.tab.is-active { color: var(--green); font-weight: 600; border-bottom-color: var(--green); }
.tab-count { font-variant-numeric: tabular-nums; font-size: 11px; padding: 1px 5px; background: #e9edeb; border-radius: 4px; font-weight: 500; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 18px; }
.search-field { position: relative; flex: 1 1 240px; max-width: 440px; }
.search-field .icon { position: absolute; top: 11px; left: 12px; color: var(--quiet); width: 17px; height: 17px; pointer-events: none; }
.search-field input { width: 100%; padding-left: 36px; }
.filter-field select { max-width: 218px; font-size: 13px; }
.filters .button { min-height: 39px; }
.table-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.table-scroll { position: relative; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.data-table th { padding: 12px 16px; font-weight: 550; color: #66756c; font-size: 11.5px; background: #f9fbfa; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.data-table td { padding: 15px 16px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .date-column { width: 114px; }
.data-table .numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.data-table .narrow { width: 1%; white-space: nowrap; }
.data-table--compact td { padding-top: 11px; padding-bottom: 11px; }
.data-table--wide { min-width: 800px; }
.cell-date { white-space: nowrap; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.primary-link { font-weight: 550; color: var(--ink); }
.cell-meta, .cell-reason { display: block; color: var(--muted); font-size: 11.5px; margin-top: 4px; max-width: 46ch; line-height: 1.5; }
.cell-reason { max-width: 38ch; }
.meta-divider { margin: 0 6px; color: #a6afa9; }
.status-badge { display: inline-block; padding: 3px 7px; color: #5b6961; background: #f0f3f1; border-radius: 4px; font-size: 11px; line-height: 16px; font-weight: 500; white-space: normal; max-width: 220px; }
.status-badge--warning, .status-badge--attention { color: var(--amber); background: var(--amber-soft); }
.status-badge--danger, .status-badge--error { color: var(--red); background: var(--red-soft); }
.status-badge--success { color: var(--green); background: var(--green-soft); }
.status-badge--info, .status-badge--prepared { color: var(--blue); background: var(--blue-soft); }
.pagination { padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-top: 1px solid var(--line-light); }
.pagination-label { font-size: 12px; color: var(--muted); }
.pagination-buttons { display: flex; gap: 7px; }
.empty-state { padding: 66px 28px 70px; text-align: center; }
.empty-symbol { width: 42px; height: 42px; margin: 0 auto 16px; color: #91a79b; }
.empty-symbol svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.25; stroke-linejoin: round; }
.empty-state h2 { font-size: 16px; }
.empty-state p { color: var(--muted); font-size: 13px; max-width: 54ch; margin: 8px auto 0; }
.empty-state .button { margin-top: 20px; }
.messages { display: grid; gap: 10px; margin-bottom: 22px; }
.notice { padding: 13px 16px; border: 1px solid #d6e1e7; background: #f3f8fa; color: #3f6070; font-size: 13px; border-radius: 5px; line-height: 1.6; }
.notice--warning, .notice--attention { color: #7b531f; background: #fff9ef; border-color: #e9d7b8; }
.notice--error, .notice--danger { color: #8d3333; background: #fff6f5; border-color: #edcbca; }
.notice--success { color: var(--green); background: #f0f7f3; border-color: #cdddD2; }
.notice p + p { margin-top: 6px; }
.notice ul { margin: 0; }
.breadcrumbs { margin-bottom: 17px; font-size: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); }
.breadcrumbs span[aria-hidden] { color: #a0aaa4; }
.detail-heading { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.detail-subtitle { color: var(--muted); font-size: 13px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 295px; gap: 22px; align-items: start; }
@media (max-width: 1440px) { .detail-layout { grid-template-columns: minmax(0, 1fr); } .detail-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.detail-primary, .detail-aside { display: grid; gap: 20px; min-width: 0; }
.section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line-light); }
.section-heading h2 { font-size: 15px; }
.section-content { padding: 20px; }
.section-empty { color: var(--muted); font-size: 13px; padding: 4px 0; }
.section-content > p + p { margin-top: 10px; }
.section-content .action-list { margin-top: 16px; }
.detail-layout .data-table th, .detail-layout .data-table td { padding-left: 14px; padding-right: 14px; }
.metadata { margin: 0; display: grid; gap: 14px; font-size: 13px; }
.metadata > div { display: grid; gap: 3px; }
.metadata dt { font-size: 11.5px; color: var(--muted); }
.metadata dd { margin: 0; overflow-wrap: anywhere; }
.metadata--inline { grid-template-columns: repeat(auto-fit, minmax(155px, 1fr)); column-gap: 25px; }
.source-list { list-style: none; padding: 0; margin: 0; }
.source-list li { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.source-list li:last-child { border-bottom: 0; padding: 0; margin: 0; }
.source-list a { font-size: 13px; font-weight: 550; }
.source-list p, .source-list time { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-dot { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #a5b4aa; flex: 0 0 auto; }
.check-dot--warning, .check-dot--attention { background: #ba8a4b; }
.check-dot--error, .check-dot--danger { background: var(--red); }
.check-dot--success { background: var(--green); }
.check-list strong { font-size: 13px; font-weight: 550; }
.check-list p { color: var(--muted); font-size: 12px; margin-top: 3px; }
.pause-list { list-style: none; padding: 0; margin: 0; }
.pause-list li + li { border-top: 1px solid var(--line-light); margin-top: 15px; padding-top: 15px; }
.pause-list p { margin: 5px 0; font-size: 13px; }
.pause-list form { margin-top: 10px; }
.disclosure { border-top: 1px solid var(--line-light); padding: 14px 20px; }
.disclosure summary { cursor: pointer; font-size: 12px; font-weight: 550; color: var(--green); }
.disclosure > :not(summary) { margin-top: 13px; }
.disclosure--inline { padding: 8px 0 0; border: 0; }
.disclosure--inline summary { font-size: 11.5px; }
.component-list { margin: 6px 0 0; padding-left: 16px; color: var(--muted); font-size: 12px; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event { position: relative; padding: 0 0 18px 18px; margin-left: 3px; border-left: 1px solid var(--line); }
.event:last-child { border-left-color: transparent; padding-bottom: 0; }
.event::before { content: ""; position: absolute; top: 6px; left: -3px; height: 5px; width: 5px; border-radius: 50%; background: #81998b; }
.event-heading { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.event-heading strong { font-size: 13px; font-weight: 550; }
.event-heading time { color: var(--muted); font-size: 11px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.event p { font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.event .event-reason { color: var(--ink); }
.change-list { margin: 12px 0 0; padding: 11px 13px; background: #f8faf9; border-radius: 4px; font-size: 12px; }
.change-list > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 15px; padding: 4px 0; }
.change-list dt { color: var(--muted); }
.change-list dd { margin: 0; }
.previous-value { color: var(--muted); text-decoration: line-through; }
.change-arrow { color: #8e9c93; padding: 0 8px; }
.form-panel { max-width: 740px; }
.form-stack { display: grid; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field > label { font-size: 13px; font-weight: 550; }
.form-field input:not([type="checkbox"]):not([type="radio"]), .form-field select, .form-field textarea { width: 100%; }
.field-help { font-size: 11.5px; color: var(--muted); line-height: 1.55; max-width: 72ch; }
.field-error { color: var(--red); font-size: 12px; }
.errorlist { list-style: none; margin: 0; padding: 0; }
.has-error input, .has-error select, .has-error textarea { border-color: #c35a55; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; }
.checkbox-line input { margin-top: 3px; }
.checkbox-line label { font-size: 13px; }
.checkbox-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.checkbox-group legend { font-size: 13px; font-weight: 550; margin-bottom: 6px; padding: 0; }
.checkbox-group label { display: flex; align-items: center; gap: 9px; min-height: 36px; font-size: 13px; cursor: pointer; }
.form-actions { border-top: 1px solid var(--line-light); padding-top: 19px; margin-top: 5px; }
.action-explanation { font-size: 12px; color: var(--muted); max-width: 50ch; }
.split-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 22px; }
.split-layout--form { grid-template-columns: minmax(320px, 580px) minmax(260px, 1fr); }
.stack { display: grid; gap: 20px; min-width: 0; }
.summary-strip { display: flex; flex-wrap: wrap; gap: 20px 32px; margin: 18px 0 22px; padding: 0; }
.summary-strip dt { color: var(--muted); font-size: 12px; }
.summary-strip dd { margin: 4px 0 0; font-size: 16px; font-weight: 550; font-variant-numeric: tabular-nums; }
.inline-source-list { display: flex; flex-wrap: wrap; gap: 14px 28px; padding: 15px 18px; border-bottom: 1px solid var(--line); background: #fafcfb; }
.inline-source-list strong { display: block; font-size: 12px; font-weight: 550; }
.inline-source-list span { font-size: 11.5px; color: var(--muted); }
.run-list { margin: 0; list-style: none; padding: 0; }
.run-list li + li { border-top: 1px solid var(--line-light); }
.run-list a { display: block; padding: 15px 18px; }
.run-list strong { display: block; color: var(--ink); font-size: 13px; font-weight: 550; }
.run-list .status-badge { margin-top: 8px; }
.connection-list { display: grid; gap: 0; }
.connection { padding: 22px 24px; border-bottom: 1px solid var(--line-light); }
.connection:last-child { border: 0; }
.connection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.connection p { font-size: 13px; color: var(--muted); max-width: 70ch; }
.connection .action-list { margin-top: 16px; }
.connection .cell-meta { margin-top: 8px; }
.history-detail td { background: #fafcfb; }
.row-formula { margin-top: 11px; padding: 10px 12px; background: #f7faf8; border-radius: 4px; font-size: 12px; }
.formula-list { margin: 0; display: grid; gap: 6px; }
.formula-list > div { display: flex; justify-content: space-between; gap: 18px; }
.formula-list dt { color: var(--muted); }
.formula-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.confirm-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 25px; width: min(470px, calc(100% - 32px)); box-shadow: 0 18px 70px #152c232b; }
.confirm-dialog::backdrop { background: #182c2466; }
.confirm-dialog p { margin-top: 12px; color: var(--muted); font-size: 13px; white-space: pre-line; }
.confirm-dialog .form-actions { justify-content: flex-end; margin-top: 22px; }
.login-layout { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: #f3f6f4; }
.login-panel { width: min(410px, 100%); background: white; border: 1px solid var(--line); border-radius: 9px; padding: 35px; }
.login-brand { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px; margin-bottom: 34px; }
.login-panel h1 { font-size: 23px; margin-bottom: 25px; }
.login-panel .button { margin-top: 7px; min-height: 42px; }
.detail-notice { margin-bottom: 18px; }
.source-summary { margin: -10px 0 20px; color: var(--muted); font-size: 13px; }
.reconcile-search { margin-bottom: 0; }
.reconcile-layout { grid-template-columns: minmax(0, 1fr); }
.reconcile-layout .data-table { table-layout: fixed; width: 100%; min-width: 740px; }
.reconcile-layout .data-table th:first-child { width: 34%; }
.reconcile-layout .data-table th:last-child { width: 31%; }
.reconcile-layout .row-formula { overflow-wrap: anywhere; }
.reconcile-layout .run-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.operation-actions { margin-bottom: 24px; }
.table-item-name { display: block; font-size: 13px; font-weight: 550; line-height: 1.45; }
.table-action { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 550; }
.calculation-summary { padding: 15px 18px; border-top: 1px solid var(--line-light); font-size: 12px; color: var(--muted); }
.setup-disclosure { margin-bottom: 22px; }
.setup-disclosure > summary { padding: 18px 22px; cursor: pointer; font-size: 14px; font-weight: 550; }
.setup-disclosure[open] > summary { border-bottom: 1px solid var(--line-light); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.form-grid > .notice { grid-column: 1 / -1; }
.plain-list { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: var(--muted); font-size: 13px; }
.import-form-section { margin-bottom: 24px; }
.file-name { overflow-wrap: anywhere; }
.file-heading { min-width: 0; overflow-wrap: anywhere; }
.file-heading h1 { overflow-wrap: anywhere; }
.error-reference { margin-top: 20px; text-align: center; font-size: 12px; color: var(--muted); }
.run-list a[aria-current="page"] { background: var(--green-soft); box-shadow: inset 3px 0 var(--green); }
@media (hover: hover) and (pointer: fine) {
  a.primary-link:hover, .source-list a:hover, .text-button:hover { color: var(--green); text-decoration: underline; }
  .nav-link:hover { color: var(--green); background: #eef3ef; }
  .button--primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
  .button--secondary:hover { background: #f6f9f7; border-color: #b4c7ba; }
  .button--danger:hover { background: var(--red-soft); }
  .data-table tbody tr:hover td { background: #fbfdfb; }
  .run-list a:hover { background: #f7faf8; }
}
@media (min-width: 1100px) { .table-scroll { max-height: none; } .data-table th { position: sticky; top: 0; } }
@media (max-width: 1190px) { :root { --sidebar-width: 205px; } .topbar { padding-left: 25px; padding-right: 25px; } .main-content { padding: 24px 25px 40px; } .detail-layout { grid-template-columns: minmax(0, 1fr); } .detail-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split-layout { grid-template-columns: minmax(0, 1fr); } .split-layout--form { grid-template-columns: minmax(0, 1fr) 280px; } }
@media (max-width: 800px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: fixed; left: 0; top: 0; width: 235px; transform: translateX(-100%); visibility: hidden; height: 100dvh; }
  .nav-is-open .sidebar { transform: translateX(0); visibility: visible; }
  .nav-is-open { overflow: hidden; }
  .nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 25; border: 0; background: #14261e66; }
  .mobile-menu { display: inline-flex; }
  .button, .nav-link, .text-button { min-height: 44px; }
  .icon-button, .attention-link { min-width: 44px; min-height: 44px; }
  input, select, textarea, .filter-field select { font-size: 16px; }
  .topbar { min-height: 60px; padding: 12px 18px; gap: 10px; }
  .topbar-left { gap: 11px; }
  .topbar-title { display: inline; }
  .user-name { max-width: 120px; }
  .main-content { padding: 22px 18px 35px; }
  .page-heading { gap: 15px; flex-wrap: wrap; margin-bottom: 21px; }
  h1 { font-size: 23px; }
  .heading-actions { justify-content: flex-start; }
  .tabs { gap: 20px; }
  .search-field { max-width: none; min-width: 220px; }
  .data-table { min-width: 690px; }
  .data-table--compact { min-width: 540px; }
  .split-layout--form { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-aside { grid-template-columns: minmax(0, 1fr); }
  .empty-state { padding: 48px 22px; }
}
@media (max-width: 480px) {
  .topbar-title { max-width: 155px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
  .user-name { display: none; }
  .user-menu { gap: 8px; }
  .filters { gap: 8px; }
  .search-field { flex-basis: 100%; }
  .filter-field { flex: 1 1 calc(50% - 8px); }
  .filter-field select { width: 100%; max-width: none; }
  .section-content { padding: 17px; }
  .section-heading { padding: 16px 17px; }
  .event-heading { flex-direction: column; gap: 3px; }
  .form-actions .button { flex: 1; }
  .login-panel { padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } .button:active:not(:disabled), .icon-button:active { transform: none; } }
@media print { .sidebar, .topbar, .filters, .heading-actions, .action-list, .pagination, .skip-link { display: none !important; } .app-shell { display: block; } .main-content { padding: 0; } body { background: white; font-size: 11px; } .table-panel, .section { border-color: #bbb; } .detail-layout { display: block; } .detail-aside { margin-top: 20px; } .table-scroll { overflow: visible; } }
/* Compact source state; factual dates stay beside the relevant workspace. */
.source-freshness { margin: 0 0 16px; color: var(--muted, #62716a); font-size: 13px; }
.source-freshness-row { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.source-freshness-row form { display: inline; margin: 0; }
