:root {
  color-scheme: light;
  --ink: #18212c;
  --muted: #657180;
  --subtle: #a3acb6;
  --line: #e8ebef;
  --panel: #ffffff;
  --canvas: #f5f6f8;
  --blue: #3767e8;
  --blue-deep: #244fcd;
  --blue-soft: #edf2ff;
  --green: #1d8a68;
  --amber: #aa7417;
  --red: #ba4c52;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: .875rem; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; }
.app-shell { --page-gutter: clamp(1rem, 2.4vw, 2rem); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.topbar { min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 10px var(--page-gutter); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand-logo { display: block; width: 136px; height: auto; }
.brand-name { font-size: 1.125rem; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.brand-divider { width: 1px; height: 19px; background: #dfe3e9; margin: 0 3px; }
.brand-caption { color: var(--muted); font-size: .8125rem; }
.topbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; }
#show-guide { white-space: nowrap; }
.connection-state { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8125rem; }
.connection-dot, .status-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: #d4d9e0; }
.connection-state[data-state="ready"] .connection-dot, .status-dot.ready { background: #35a87f; box-shadow: 0 0 0 3px #e6f5ef; }
.connection-state[data-state="warning"] .connection-dot, .status-dot.warning { background: #d79a2c; box-shadow: 0 0 0 3px #fff4df; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; display: grid; place-items: center; background: #fff; cursor: pointer; color: #64707d; transition: .18s ease; }
.icon-button:hover { background: #f8f9fb; border-color: #d4dbe3; color: var(--ink); }
.icon-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.token-control { display: flex; gap: 7px; align-items: center; min-width: 0; }
.token-control[hidden] { display: none; }
#token-switch[hidden] { display: none; }
.token-control input { width: 10rem; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; outline: none; font-size: 1rem; }
.workspace { --rail-gutter: clamp(1.125rem, 2vw, 2rem); flex: 1; display: grid; grid-template-columns: clamp(20rem, 31vw, 26rem) minmax(0, 1fr); }
.rail { min-width: 0; display: flex; flex-direction: column; padding: 28px var(--rail-gutter) 0; background: #fbfbfc; border-right: 1px solid var(--line); }
.panel { border: 1px solid #e7eaf0; border-radius: 13px; background: var(--panel); box-shadow: 0 3px 12px rgba(23,35,54,.025); }
.upload-panel { padding: clamp(1rem, 1.7vw, 1.375rem); }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.eyebrow { margin: 0 0 7px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .11em; }
h1, h2, h3, p { margin-top: 0; }
.panel-heading h1 { margin-bottom: 0; font-size: 1.25rem; letter-spacing: -.02em; }
.heading-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--blue-soft); color: var(--blue); }
.heading-icon svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field-label { display: block; margin: 0 0 7px; font-size: .875rem; font-weight: 600; color: #596472; }
.text-input { width: 100%; height: 44px; border: 1px solid #dfe4ea; border-radius: 7px; padding: 0 11px; background: #fff; color: var(--ink); font-size: 1rem; outline: none; transition: border-color .16s, box-shadow .16s; }
.text-input::placeholder { color: var(--muted); }
.text-input:focus, .token-control input:focus { border-color: #93aaf5; box-shadow: 0 0 0 3px rgba(55,103,232,.1); }
.drop-zone { min-height: 150px; margin-top: 14px; padding: 12px; border: 1px dashed #cbd3df; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; background: linear-gradient(180deg,#fcfdff,#fafbfe); text-align: center; transition: .18s ease; }
.drop-zone:hover, .drop-zone.dragging { border-color: #7692f0; background: #f6f8ff; }
.drop-zone input { display: none; }
.upload-glyph { width: 31px; height: 31px; display: grid; place-items: center; margin-bottom: 9px; border: 1px solid #e2e8f6; border-radius: 9px; background: #fff; color: var(--blue); box-shadow: 0 2px 5px rgba(42,67,118,.06); }
.upload-glyph svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-zone strong { font-size: .875rem; font-weight: 600; }
.drop-zone > span:last-child { margin-top: 6px; color: var(--muted); font-size: .75rem; }
.selected-files { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }
.selected-file { display: flex; align-items: center; gap: 7px; padding: 6px 8px; border-radius: 6px; background: #f5f7fa; color: #55616e; font-size: .8125rem; }
.selected-file svg { width: 13px; flex: 0 0 13px; fill: none; stroke: #8290a0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.selected-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upload-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.upload-footer .button { margin-inline-start: auto; }
.muted-note { color: var(--muted); font-size: .75rem; }
.button { border: 0; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-size: .875rem; font-weight: 600; transition: .16s ease; }
.button:disabled { opacity: .42; cursor: not-allowed; }
.button-primary { min-height: 44px; padding: 0 13px; background: var(--blue); color: white; white-space: nowrap; box-shadow: 0 2px 4px rgba(55,103,232,.16); }
.button-primary:not(:disabled):hover { background: var(--blue-deep); transform: translateY(-1px); }
.button-primary svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.button-outline { border: 1px solid #dfe4ea; background: white; color: #596472; }
.button-outline:hover { background: #f8f9fb; }
.button-small { min-height: 38px; padding: 0 10px; font-size: .8125rem; }
.inline-error { margin: 10px 0 0; color: var(--red); font-size: .8125rem; overflow-wrap: anywhere; }
.task-list-section { margin-top: 27px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 11px; }
.section-heading > div { display: flex; align-items: center; gap: 8px; }
.section-heading h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.count-badge { min-width: 21px; min-height: 21px; display: grid; place-items: center; padding: 0 4px; border-radius: 5px; background: #edf0f4; color: var(--muted); font-size: .75rem; font-weight: 600; }
.section-hint { color: var(--muted); font-size: .75rem; }
.task-list { display: flex; flex-direction: column; gap: 4px; max-height: max(8rem, calc(100vh - 31rem)); overflow: auto; padding-right: 2px; }
.task-item { width: 100%; min-height: 62px; padding: 8px; display: flex; align-items: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; background: transparent; text-align: left; cursor: pointer; transition: .16s ease; }
.task-item:hover { background: #f3f5f8; }
.task-item.active { border-color: #dce5ff; background: #f1f4ff; }
.task-item-icon { width: 29px; height: 29px; flex: 0 0 29px; display: grid; place-items: center; border: 1px solid #e7eaf0; border-radius: 7px; background: white; color: #7f8b99; }
.task-item.active .task-item-icon { border-color: #e0e7ff; color: var(--blue); }
.task-item-icon svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.task-item-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.task-item-copy strong { overflow: hidden; color: #394451; font-size: .875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-item-meta { color: var(--muted); font-size: .75rem; }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 5px; background: #f0f2f5; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.status-pill::before { width: 5px; height: 5px; content: ''; border-radius: 50%; background: currentColor; }
.status-pill[data-status="completed"] { background: #e9f6f0; color: var(--green); }
.status-pill[data-status="running"], .status-pill[data-status="queued"] { background: #fff4df; color: var(--amber); }
.status-pill[data-status="failed"], .status-pill[data-status="interrupted"] { background: #fbecee; color: var(--red); }
.rail-footer { min-height: 48px; margin: auto calc(-1 * var(--rail-gutter)) 0; padding: 0 var(--rail-gutter); display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.service-indicator { display: flex; align-items: center; gap: 7px; }
.detail-panel { min-width: 0; display: flex; flex-direction: column; padding: 30px var(--page-gutter) 38px; }
.empty-state { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 35px 12px 55px; text-align: center; }
.empty-art { position: relative; width: 196px; height: 154px; margin-bottom: 23px; }
.plan-sheet { position: absolute; width: 107px; height: 128px; border: 1px solid #dfe5ed; border-radius: 5px; background: #fff; box-shadow: 0 10px 26px rgba(37,56,89,.07); }
.plan-sheet-back { left: 46px; top: 8px; transform: rotate(8deg); background: #f9fafc; }
.plan-sheet-front { left: 37px; top: 12px; transform: rotate(-4deg); overflow: hidden; }
.plan-sheet-front::before, .plan-sheet-front::after { position: absolute; content: ''; border: 1px solid #dce3ed; }
.plan-sheet-front::before { inset: 20px 14px 32px; }
.plan-sheet-front::after { left: 14px; right: 14px; bottom: 16px; height: 8px; }
.plan-line { position: absolute; z-index: 1; height: 1px; background: #e1e7ef; }
.plan-line-one { width: 49px; left: 29px; top: 47px; transform: rotate(90deg); }
.plan-line-two { width: 41px; left: 28px; top: 59px; }
.plan-line-three { width: 27px; left: 43px; top: 37px; transform: rotate(90deg); }
.plan-marker { position: absolute; z-index: 2; top: 41px; right: 26px; width: 13px; height: 13px; border: 2px solid #fff; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 1px #6d8cf0, 0 0 0 5px rgba(55,103,232,.13); }
.empty-cross { position: absolute; width: 13px; height: 13px; opacity: .65; }
.empty-cross::before, .empty-cross::after { position: absolute; top: 6px; left: 0; width: 13px; height: 1px; content: ''; background: #b8c2d2; }
.empty-cross::after { transform: rotate(90deg); }
.empty-cross-one { top: 28px; right: 22px; }
.empty-cross-two { bottom: 17px; left: 13px; transform: scale(.7); }
.empty-state h2 { margin: 0 0 9px; font-size: clamp(1.375rem, 2vw, 1.625rem); letter-spacing: -.035em; }
.empty-state > p:not(.eyebrow) { max-width: 430px; margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.flow-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 25px; color: var(--muted); font-size: .8125rem; }
.flow-strip span { white-space: nowrap; }
.flow-strip b { margin-right: 4px; font-size: .75rem; font-weight: 600; }
.flow-strip i { width: 22px; height: 1px; background: #d8dee7; }
.detail-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.detail-title { min-width: 0; max-width: 100%; }
.detail-title .eyebrow { margin-bottom: 7px; }
.detail-title h2 { margin: 0; overflow-wrap: anywhere; font-size: 1.5rem; letter-spacing: -.035em; }
.detail-subtitle { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 8px; color: var(--muted); font-size: .8125rem; }
.detail-subtitle > span { min-width: 0; overflow-wrap: anywhere; }
.detail-subtitle .separator { color: #c2c9d1; }
.detail-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.detail-actions .button { min-height: 40px; padding: 0 11px; }
.detail-actions .button svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.detail-actions .button-text { background: transparent; color: #637080; }
.detail-actions .button-text:hover { background: #eceff3; }
.button-delete { border-color: #edd5d8; color: #a42f38; }
.button-delete:hover { background: #fff1f2; }
.delete-dialog { width: min(420px, calc(100% - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); box-shadow: 0 16px 45px rgba(24,33,44,.18); }
.delete-dialog::backdrop { background: rgba(24,33,44,.4); }
.delete-dialog h3 { margin: 0 0 10px; font-size: 1.125rem; }
.delete-dialog p { margin-bottom: 0; font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
.delete-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.delete-dialog-actions .button { min-height: 44px; padding: 0 12px; }
.button-danger { background: #a42f38; color: #fff; }
.button-danger:not(:disabled):hover { background: #8d2630; }
.state-banner { min-height: 66px; margin-bottom: 17px; padding: 13px 15px; display: flex; align-items: center; gap: 12px; border: 1px solid #e4e8ee; border-radius: 10px; background: #fff; }
.state-mark { width: 31px; height: 31px; flex: 0 0 31px; display: grid; place-items: center; border-radius: 8px; background: #f1f3f6; color: #818c99; }
.state-mark svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.state-copy { min-width: 0; flex: 1; }
.state-copy strong { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 600; }
.state-copy span { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: .8125rem; line-height: 1.55; }
.state-banner[data-status="completed"] .state-mark { background: #e9f6f0; color: var(--green); }
.state-banner[data-status="running"], .state-banner[data-status="queued"] { border-color: #f0e5cc; background: #fffdf8; }
.state-banner[data-status="running"] .state-mark, .state-banner[data-status="queued"] .state-mark { background: #fff3dc; color: var(--amber); }
.state-banner[data-status="failed"], .state-banner[data-status="interrupted"] { border-color: #f0dfe1; background: #fffafa; }
.state-banner[data-status="failed"] .state-mark, .state-banner[data-status="interrupted"] .state-mark { background: #f9e9eb; color: var(--red); }
.section-card { margin-bottom: 15px; overflow: hidden; border: 1px solid #e6e9ee; border-radius: 10px; background: #fff; }
.card-heading { min-height: 48px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #edf0f3; }
.card-heading h3 { margin: 0; font-size: .9375rem; font-weight: 700; }
.card-heading span { color: var(--muted); font-size: .75rem; }
.file-grid { padding: 10px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: 8px; }
.artifact-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.file-card { min-width: 0; min-height: 55px; padding: 8px 9px; display: flex; align-items: center; gap: 8px; border: 1px solid #edf0f3; border-radius: 7px; background: #fcfcfd; }
.file-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 6px; background: #f0f3f8; color: var(--muted); font-size: .6875rem; font-weight: 700; text-transform: uppercase; }
.file-card-copy { min-width: 0; flex: 1; }
.file-card-copy strong { display: block; overflow: hidden; font-size: .8125rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.file-card-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; }
.file-link { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--muted); cursor: pointer; text-decoration: none; }
.file-link:hover { background: #eef2fa; color: var(--blue); }
.file-link[aria-busy="true"] { opacity: .55; cursor: progress; }
.file-link svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.preview-dialog { width: min(1440px, calc(100% - 24px)); height: calc(100% - 32px); max-height: none; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--ink); }
.preview-dialog[open] { display: flex; flex-direction: column; }
.preview-dialog::backdrop { background: rgba(24,33,44,.45); }
.guide-dialog { max-width: 960px; }
.guide-image { overflow: auto; overscroll-behavior: contain; }
.guide-image img { display: block; width: 100%; height: auto; }
.preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.preview-heading h3 { min-width: 0; margin: 0; overflow: hidden; font-size: .9375rem; text-overflow: ellipsis; white-space: nowrap; }
.preview-heading button { flex-shrink: 0; }
.preview-status { width: min(400px, calc(100% - 32px)); margin: auto; text-align: center; }
.preview-message { margin: 0 0 6px; color: var(--muted); font-size: .875rem; }
.preview-countdown { color: var(--blue-deep); font-size: 2rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.preview-alert { padding: 20px; border: 1px solid #efc4c7; border-radius: 8px; background: #fff2f3; color: #9c3039; }
.preview-alert strong { font-size: 1rem; }
.preview-alert p { margin: 6px 0 0; }
.preview-frame { flex: 1; width: 100%; min-height: 0; border: 0; }
.toast { position: fixed; z-index: 10; right: 22px; bottom: 20px; max-width: min(400px,calc(100vw - 40px)); padding: 11px 14px; border: 1px solid #dfe5ed; border-radius: 8px; background: #fff; box-shadow: 0 8px 25px rgba(24,33,44,.12); color: #46515d; font-size: .875rem; overflow-wrap: anywhere; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 64rem) {
  .detail-header { flex-direction: column; }
  .detail-actions { justify-content: flex-start; }
}
@media (max-width: 48rem) {
  /* 窄屏允许令牌控件换行，避免挤压品牌名称。 */
  .topbar { min-height: 60px; }
  .brand-logo { width: 106px; }
  .brand-caption, .brand-divider { display: none; }
  .topbar-right { gap: 7px; }
  .token-control input { width: clamp(5.75rem, 23vw, 9rem); }
  .workspace { --rail-gutter: var(--page-gutter); display: flex; flex-direction: column; }
  .rail { padding-top: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .task-list-section { margin-top: 20px; }
  .task-list { max-height: 13rem; }
  .rail-footer { min-height: 40px; margin-top: 12px; }
  .detail-panel { flex: 1; padding-block: 22px 30px; }
  .empty-state { min-height: 20rem; padding-block: 22px; }
  .flow-strip { gap: 6px 10px; }
  .flow-strip i { display: none; }
}
@media (pointer: coarse) {
  .button-small, .detail-actions .button, .token-control input { min-height: 44px; }
  .icon-button, .file-link { width: 44px; height: 44px; }
}


.progress-section { overflow: hidden; }
.progress-live { display: flex; align-items: center; gap: 6px; }
.progress-live[data-active="true"] { color: var(--green); }
.progress-live[data-active="true"]::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: progress-pulse 1.6s ease-in-out infinite; }
.progress-metrics { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 16px; padding: 18px 20px; background: #fafbfe; border-bottom: 1px solid var(--line); }
.progress-metric { min-width: 0; }
.progress-metric > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: .8125rem; }
.progress-metric strong { display: block; color: #465366; font-size: .875rem; font-weight: 500; overflow-wrap: anywhere; }
#task-elapsed { color: var(--blue); font-size: 1.5rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.progress-log { height: 340px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 10px 20px; background: #fff; }
.progress-log:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.progress-entry { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid #f0f2f5; }
.progress-entry:last-child { border-bottom: 0; }
.progress-time { color: var(--muted); font-size: .8125rem; line-height: 1.8; font-variant-numeric: tabular-nums; }
.progress-message { color: #4a5663; font-size: .875rem; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.progress-entry[data-kind="error"] .progress-message { color: var(--red); }
.progress-entry[data-kind="success"] .progress-message, .progress-entry[data-kind="completed"] .progress-message { color: var(--green); }
.progress-entry[data-kind="warning"] .progress-message, .progress-entry[data-kind="interrupted"] .progress-message { color: var(--amber); }
.progress-footer { min-height: 44px; padding: 8px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.progress-hint { color: var(--muted); font-size: .75rem; }
.progress-footer button[hidden] { display: none; }
@keyframes progress-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .progress-live[data-active="true"]::before { animation: none; } }
@media (max-width: 48rem) {
  .progress-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 15px; gap: 16px 12px; }
  .progress-metric:first-child { grid-column: 1 / -1; }
  .progress-log { height: 320px; padding: 8px 14px; }
  .progress-entry { gap: 8px; }
  .progress-footer { padding: 8px 14px; }
}
