.plan-workspace {
  position: fixed;
  inset: 0;
  z-index: 45;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  color: #20252b;
  font: 13px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  --pw-line: #dfe2e5;
  --pw-blue: #166cc1;
}
.plan-workspace *, .plan-workspace *::before, .plan-workspace *::after { box-sizing: border-box; letter-spacing: 0; }
.plan-workspace [hidden] { display: none !important; }
.plan-workspace button, .plan-workspace input, .plan-workspace select, .plan-workspace textarea, .plan-workspace summary { font: inherit; min-height: 0; }
.plan-workspace button { cursor: pointer; box-shadow: none; transition: background .12s; }
.plan-workspace button:disabled { cursor: default; opacity: .38; }
.plan-workspace button:focus-visible, .plan-workspace summary:focus-visible, .plan-workspace input:focus-visible, .plan-workspace select:focus-visible, .plan-workspace textarea:focus-visible, .plan-workspace a:focus-visible { outline: 2px solid var(--pw-blue); outline-offset: 2px; }
.plan-workspace svg.lucide { width: 19px; height: 19px; flex: 0 0 19px; pointer-events: none; }
.plan-workspace .pw-header { position: relative; display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 10px 16px 10px 12px; border-bottom: 1px solid var(--pw-line); background: #fff; flex: 0 0 auto; z-index: 5; }
.pw-title { min-width: 120px; max-width: 290px; display: grid; gap: 2px; flex: 1 1 220px; }
.pw-title strong { font-size: 16px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-title > span { color: #667078; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pw-file { min-width: 160px; max-width: 420px; flex: 1 1 310px; display: grid; gap: 3px; }
.plan-workspace .pw-file select { width: 100%; height: 29px; padding: 3px 26px 3px 7px; color: #252e36; background: #f6f7f8; border: 1px solid #e5e7e9; border-radius: 5px; font-size: 12px; }
.pw-approval { display: flex; align-items: center; gap: 7px; min-height: 17px; }
.pw-approval .pill { font-size: 10px; padding: 1px 6px; border-radius: 4px; line-height: 16px; }
.pw-file-kind { font-size: 10px; color: #727b83; }
.pw-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
.pw-save-state { max-width: 130px; font-size: 11px; color: #64726a; text-align: right; }
.pw-save-state[data-state="dirty"] { color: #8f6212; }
.pw-save-state[data-state="error"] { color: #b23230; font-weight: 600; }
.plan-workspace .pw-icon { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 5px; color: #59636c; background: transparent; display: inline-flex; justify-content: center; align-items: center; flex: 0 0 34px; }
.plan-workspace .pw-icon:hover:not(:disabled), .plan-workspace .pw-command:hover { color: #232c34; background: #eceff2; }
.plan-workspace .pw-icon[aria-pressed="true"] { background: #e7f0fc; color: #1168bb; }
.plan-workspace .pw-save, .plan-workspace .pw-review, .plan-workspace .pw-resubmit { height: 34px; display: inline-flex; align-items: center; gap: 7px; border-radius: 5px; padding: 0 12px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.plan-workspace .pw-resubmit { border: 1px solid #176bb5; background: #176bb5; color: #fff; }
.plan-workspace .pw-resubmit:hover { background: #12578f; }
.plan-workspace .pw-save { border: 1px solid #d3d9df; background: #fff; color: #253849; }
.plan-workspace .pw-review { border: 1px solid #246f55; background: #246f55; color: #fff; }
.plan-workspace .pw-review:hover { background: #1a5843; }
.pw-more { position: relative; }
.pw-more summary { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 5px; cursor: pointer; list-style: none; }
.pw-more summary::-webkit-details-marker { display: none; }
.pw-more[open] summary { background: #eff1f3; }
.pw-more > div { position: absolute; top: 42px; right: 0; width: 257px; padding: 5px; border: 1px solid #d8dde1; background: white; box-shadow: 0 8px 32px #202b3626; border-radius: 7px; z-index: 10; }
.pw-more button, .pw-more a { width: 100%; min-height: 36px; padding: 8px; border: 0; border-radius: 4px; background: none; color: #30383e; display: flex; align-items: center; gap: 9px; text-align: left; text-decoration: none; font-size: 12px; }
.pw-more button:hover, .pw-more a:hover { background: #edf3fa; }
.pw-viewbar { display: flex; align-items: center; gap: 16px; min-height: 46px; padding: 5px 14px; border-bottom: 1px solid var(--pw-line); background: #fafbfc; flex: 0 0 auto; }
.pw-control-group { display: flex; align-items: center; gap: 3px; min-width: 0; color: #68737d; white-space: nowrap; }
.pw-control-group + .pw-control-group { border-left: 1px solid var(--pw-line); padding-left: 16px; }
.pw-view-actions { margin-left: auto; }
.plan-workspace .pw-control-group input, .plan-workspace .pw-comparebar input[type="number"] { width: 42px; height: 28px; border: 1px solid transparent; border-radius: 4px; background: transparent; text-align: center; padding: 2px; font-size: 12px; color: #35404a; appearance: textfield; }
.plan-workspace .pw-control-group input:hover, .plan-workspace .pw-control-group input:focus { border-color: #cbd2d9; background: #fff; }
.pw-control-group input::-webkit-inner-spin-button, .pw-comparebar input[type="number"]::-webkit-inner-spin-button { appearance: none; }
.plan-workspace .pw-command { display: inline-flex; gap: 6px; align-items: center; height: 34px; padding: 0 8px; border: 0; border-radius: 5px; background: transparent; color: #4f5b66; font-size: 12px; }
.pw-note-count { display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 4px; font-size: 10px; font-weight: 600; border-radius: 4px; background: #e4e8ec; }
.pw-comparebar { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 5px 14px 5px 64px; background: #f0f5fa; border-bottom: 1px solid #d4e0eb; font-size: 12px; flex: 0 0 auto; }
.plan-workspace .pw-comparebar select { width: auto; max-width: 330px; height: 29px; min-width: 100px; padding: 3px 6px; border: 1px solid #cfdae4; background: #fff; font-size: 12px; }
.pw-segment { display: flex; border: 1px solid #c7d3df; border-radius: 5px; overflow: hidden; margin-left: auto; flex-shrink: 0; }
.pw-segment button { padding: 5px 10px; border: 0; border-radius: 0; background: transparent; color: #48647a; font-size: 11px; }
.pw-segment button.active { background: #fff; color: #1e4e77; box-shadow: 0 0 3px #879ebc55; }
.pw-opacity { display: flex; gap: 6px; align-items: center; font-size: 11px; }
.pw-opacity input { width: 95px; accent-color: #2273bc; }
.pw-banner { padding: 8px 14px; display: flex; align-items: center; gap: 12px; background: #fff5e2; color: #77541c; border-bottom: 1px solid #f2d7a5; font-size: 12px; flex: 0 0 auto; }
.pw-banner > span { flex: 1; }
.pw-banner > button:not(.pw-icon) { background: white; padding: 4px 10px; border: 1px solid #ddc494; border-radius: 4px; color: #785a1b; white-space: nowrap; }
.pw-body { display: flex; min-height: 0; flex: 1; position: relative; overflow: hidden; }
.pw-tools { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 8px; width: 53px; flex: 0 0 53px; border-right: 1px solid var(--pw-line); background: #fbfcfd; overflow-y: auto; scrollbar-width: thin; z-index: 2; }
.pw-tool-divider { flex-shrink: 0; width: 24px; height: 1px; background: #dde1e5; margin: 6px 0; }
.pw-color-control { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 32px; cursor: pointer; }
.plan-workspace .pw-color-control input { width: 26px; height: 26px; border: 0; border-radius: 4px; padding: 0; background: transparent; cursor: pointer; }
.pw-color-control input::-webkit-color-swatch-wrapper { padding: 3px; }
.pw-color-control input::-webkit-color-swatch { border: 1px solid #0002; border-radius: 4px; }
.plan-workspace .pw-width { width: 34px; height: 28px; padding: 2px 0; border: 1px solid #dfe3e7; border-radius: 4px; font-size: 11px; background: white; color: #55616b; }
.pw-canvas-area { position: relative; min-width: 0; min-height: 0; flex: 1; background: #e8ebee; overflow: hidden; touch-action: none; user-select: none; }
.pw-surfaces { position: absolute; inset: 0; display: flex; }
.pw-surface { flex: 1; min-width: 0; position: relative; overflow: hidden; isolation: isolate; }
.pw-surface + .pw-surface { border-left: 2px solid #aab6c2; }
.pw-paper { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #fff; box-shadow: 0 2px 12px #43536524; pointer-events: none; }
.pw-pdf-canvas, .pw-comparison-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; pointer-events: none; }
.pw-overlay { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: visible; pointer-events: none; }
.pw-mark { pointer-events: visiblePainted; }
.pw-mark-hit { pointer-events: stroke; }
.pw-mark.selected { filter: drop-shadow(0 0 3px #fff); }
.pw-mark.selected [data-handle] { pointer-events: all; cursor: crosshair; }
.pw-surface-label { position: absolute; top: 10px; left: 12px; right: 12px; z-index: 3; width: fit-content; max-width: calc(100% - 24px); padding: 5px 8px; color: #314b63; background: #ffffffed; border: 1px solid #d8e2eb; border-radius: 4px; box-shadow: 0 1px 4px #0001; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; }
.plan-workspace[data-tool="hand"] .pw-surface { cursor: grab; }
.plan-workspace[data-tool="hand"] .pw-surface:active { cursor: grabbing; }
.plan-workspace:is([data-tool="rect"], [data-tool="arrow"], [data-tool="ink"], [data-tool="pin"], [data-tool="text"]) .pw-surface { cursor: crosshair; }
.plan-workspace[data-tool="select"] .pw-mark { cursor: move; }
.pw-loading { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; gap: 12px; color: #596a78; background: #e8ebeeec; z-index: 4; }
.pw-loading svg { animation: pw-spin 1s linear infinite; }
@keyframes pw-spin { to { transform: rotate(360deg); } }
.pw-file-error { align-self: center; max-width: 450px; margin: auto; padding: 28px; text-align: center; color: #495a68; }
.pw-file-error > svg { width: 38px !important; height: 38px !important; }
.pw-file-error h2 { font-size: 19px; color: #263746; }
.pw-file-error p { font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.pw-file-error button, .pw-file-error a { display: inline-block; padding: 9px 12px; margin: 5px; background: white; border: 1px solid #c8d1da; color: #215e93; border-radius: 5px; text-decoration: none; }
.pw-panel { width: 335px; flex: 0 0 335px; min-height: 0; display: flex; flex-direction: column; border-left: 1px solid #d5dce3; background: #fff; z-index: 3; }
.pw-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 9px 0 14px; border-bottom: 1px solid var(--pw-line); }
.pw-panel-tabs { display: flex; gap: 12px; }
.pw-panel-tabs button { padding: 10px 1px; font-size: 12px; color: #65717d; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; }
.pw-panel-tabs button.active { color: #1566ae; border-bottom-color: #1566ae; font-weight: 600; }
.pw-panel-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 16px; min-height: 0; }
.pw-panel-title { margin-bottom: 18px; min-width: 0; }
.pw-panel-title h2 { font-size: 14px; line-height: 1.45; margin: 0 0 5px; overflow-wrap: anywhere; }
.pw-panel-title h2 span { color: #83919e; margin-left: 4px; font-weight: 400; }
.pw-panel-title > span { color: #7a8690; font-size: 11px; overflow-wrap: anywhere; }
.pw-properties { border-top: 1px solid #e2e6ea; border-bottom: 1px solid #e2e6ea; padding: 14px 0; margin-bottom: 14px; }
.pw-properties header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; }
.pw-properties header span { font-size: 10px; color: #7b858d; }
.pw-properties label { display: grid; gap: 5px; font-size: 11px; color: #636f79; margin: 9px 0; }
.plan-workspace .pw-properties textarea { width: 100%; resize: vertical; min-height: 90px; padding: 9px; border: 1px solid #d5dce3; border-radius: 5px; color: #303a44; font-size: 13px; line-height: 1.5; }
.plan-workspace .pw-properties input { width: 80px; padding: 5px 8px; border: 1px solid #d5dce3; border-radius: 4px; color: #303a44; }
.pw-swatches { display: flex; gap: 9px; padding: 6px 0; }
.pw-swatches button { width: 23px; height: 23px; background: var(--swatch); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #d8dfe5; }
.pw-swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px #71869a; }
.plan-workspace .pw-delete-note { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 7px 0; color: #a7473f; font-size: 11px; }
.pw-note-list { display: grid; gap: 3px; }
.pw-note { display: flex; gap: 9px; align-items: flex-start; text-align: left; background: transparent; color: #3b4751; border: 1px solid transparent; border-radius: 5px; padding: 10px 7px; min-width: 0; width: 100%; }
.pw-note:hover, .pw-note.active { background: #f1f6fc; border-color: #dce8f5; }
.pw-note > span:not(.pw-note-symbol) { display: grid; gap: 4px; flex: 1; min-width: 0; }
.pw-note strong { font-size: 12px; font-weight: 550; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-wrap; }
.pw-note small { font-size: 10px; color: #869099; }
.pw-note > svg { width: 13px !important; flex-basis: 13px !important; color: #87929c; }
.pw-empty { color: #87929a; font-size: 12px; padding: 10px 0; }
.pw-panel .version-run summary { flex-wrap: wrap; gap: 8px; }
.pw-panel .run-stage { padding: 0; border: 0; border-radius: 0; background: transparent; }
.pw-panel .run-stage > header { display: grid; gap: 7px; padding: 10px 0; }
.pw-panel .run-stage .steps { display: grid; padding: 0; gap: 12px; }
.pw-panel .step { grid-template-columns: 24px minmax(0, 1fr); padding: 10px 0; border: 0; border-radius: 0; border-top: 1px solid #edf0f3; background: white; }
.pw-panel .step > .pill { grid-column: 2; justify-self: start; }
.pw-panel .step p, .pw-panel .step strong, .pw-panel .step small { overflow-wrap: anywhere; }
.pw-panel .execution-history { border-radius: 0; }
.pw-panel .section-head { flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.pw-panel .section-head h3 { font-size: 14px; }
.pw-panel .section-head button { font-size: 11px; }
.pw-panel .card.pad { padding: 10px 0; border: 0; border-top: 1px solid #e2e6ea; border-radius: 0; box-shadow: none; overflow-wrap: anywhere; }
.pw-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 25px; padding: 4px 14px; border-top: 1px solid var(--pw-line); font-size: 10px; color: #7a8690; background: #fbfcfd; flex: 0 0 auto; }
.pw-context { min-width: 0; }
.pw-paper-info { white-space: nowrap; }
.pw-position:empty { display: none; }
.pw-guard { position: absolute; inset: 0; z-index: 20; background: #15263655; display: grid; place-items: center; padding: 20px; backdrop-filter: blur(2px); }
.pw-guard section { width: min(100%, 520px); padding: 26px; border-radius: 8px; background: #fff; box-shadow: 0 12px 60px #20334844; }
.pw-guard h2 { font-size: 20px; margin: 0 0 12px; }
.pw-guard p { color: #63727f; line-height: 1.6; }
.pw-guard section > div { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 24px; }
.pw-guard button { border: 1px solid #cad4de; border-radius: 5px; background: white; color: #395065; padding: 9px 12px; font-size: 12px; }
.pw-guard button[data-leave="save"] { background: #176db7; border-color: #176db7; color: white; }
.pw-guard [role="status"] { color: #b23230; display: block; font-size: 12px; margin-top: 12px; }
@media (max-width: 1150px) {
  .pw-header-actions .pw-save-state { display: none; }
  .pw-viewbar { gap: 7px; padding: 5px 8px; }
  .pw-control-group + .pw-control-group { padding-left: 7px; }
  .pw-panel { width: 300px; flex-basis: 300px; }
  .pw-comparebar { gap: 6px; padding-left: 12px; }
  .pw-comparebar select { max-width: 210px !important; }
}
@media (max-width: 760px) {
  .plan-workspace .pw-header { min-height: 107px; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 5px 8px; padding: 8px; }
  .pw-title { max-width: none; min-width: 0; }
  .pw-title strong { font-size: 14px; }
  .pw-title > span { font-size: 11px; }
  .pw-file { grid-row: 2; grid-column: 1 / -1; width: 100%; max-width: none; min-width: 0; }
  .pw-header-actions { grid-row: 1; grid-column: 3; gap: 3px; }
  .pw-header-actions > .pw-icon:last-child { display: none; }
  .plan-workspace .pw-save, .plan-workspace .pw-review { padding: 0 7px; width: 34px; justify-content: center; }
  .pw-save > span, .pw-review > span { display: none; }
  .plan-workspace .pw-resubmit { padding: 0 8px; gap: 5px; }
  .pw-resubmit > span { display: none; }
  .pw-resubmit::after { content: "Einreichen"; font-size: 11px; }
  .pw-viewbar { display: grid; grid-template-columns: auto 1fr; gap: 0; min-height: 76px; padding: 2px 8px; }
  .pw-viewbar > .pw-control-group:first-child { grid-column: 1 / -1; justify-content: center; }
  .pw-viewbar .pw-pages { border-left: 0; padding-left: 0; }
  .pw-control-group { flex-shrink: 0; }
  .pw-view-actions { margin-left: auto; padding-left: 3px !important; }
  .pw-view-actions .pw-command > span { display: none; }
  .pw-comparebar { flex-wrap: wrap; padding: 6px 8px; }
  .pw-comparebar > span:first-child { display: none; }
  .pw-comparebar select { max-width: calc(100% - 115px) !important; flex: 1; }
  .pw-comparebar .pw-segment { margin-left: 0; }
  .pw-comparebar > .pw-icon { margin-left: auto; }
  .pw-body { flex-direction: column; }
  .pw-tools { flex-direction: row; order: 2; width: 100%; height: 48px; flex: 0 0 48px; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--pw-line); gap: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
  .pw-tool-divider { height: 24px; width: 1px; margin: 0 4px; }
  .pw-canvas-area { order: 1; width: 100%; }
  .pw-panel { position: absolute; top: 0; bottom: 48px; right: 0; width: min(335px, 94%); box-shadow: -8px 0 30px #263c5322; }
  .pw-statusbar { min-height: 27px; padding: 5px 9px; font-size: 9px; }
  .pw-context::before { content: attr(data-save) " · "; color: #38546d; font-weight: 600; }
  .pw-paper-info { display: none; }
  .pw-approval { min-height: 18px; }
  .pw-guard section { padding: 20px; }
  .pw-guard h2 { font-size: 18px; }
  .pw-guard section > div { display: grid; }
  .pw-banner { font-size: 11px; padding: 6px 8px; }
}
@media (prefers-reduced-motion: reduce) { .pw-loading svg { animation: none; } }
.review-markup-summary { display: grid; gap: 5px; padding: 12px 14px; border-left: 3px solid #347f66; background: #f0f7f4; color: #28513f; }
.review-markup-summary strong { font-size: 13px; }
.review-markup-summary span, .review-markup-summary small { font-size: 11px; line-height: 1.5; }
.review-markup-summary button { justify-self: start; font-size: 11px; margin-top: 5px; }
.plan-workspace .pw-execution { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 12px; border: 1px solid #236d53; border-radius: 5px; background: #236d53; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.pw-lifecycle { flex: 0 0 auto; border-bottom: 1px solid var(--pw-line); background: #fff; }
.execution-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 13px 18px; margin: 0; list-style: none; }
.execution-steps li { display: flex; align-items: center; gap: 9px; min-width: 0; color: #7a8188; font-size: 12px; }
.execution-steps li > b { display: grid; place-items: center; flex: 0 0 26px; height: 26px; background: #eceff1; border-radius: 50%; font-size: 11px; }
.execution-steps li > span { min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.execution-steps small { display: block; font-weight: 400; font-size: 10px; margin-top: 2px; }
.execution-steps .done { color: #27674d; }
.execution-steps .done > b { background: #e5f2eb; }
.execution-steps .current { color: #176cb3; }
.execution-steps .current > b { color: #fff; background: #176cb3; }
.execution-history .execution-steps { grid-template-columns: 1fr; gap: 12px; padding: 12px 0 18px; }
.execution-history .execution-entry > div { min-width: 0; overflow-wrap: anywhere; }
.execution-signature { display: block; width: 230px; max-width: 100%; height: 72px; object-fit: contain; object-position: left; background: white; margin-top: 8px; }
.execution-reference { margin: 0; padding: 15px 0; display: grid; gap: 14px; border-block: 1px solid #e1e5e9; overflow-wrap: anywhere; }
.execution-reference dt { color: #67737c; font-size: 11px; margin-bottom: 3px; }
.execution-reference dd { margin: 0; font-size: 14px; font-weight: 600; }
.execution-reference small { display: block; color: #717a82; font-size: 12px; font-weight: 400; }
.execution-reference a { display: inline-block; margin-top: 6px; font-size: 12px; }
.execution-declaration { display: flex; align-items: flex-start; gap: 10px; padding: 16px; background: #f0f6f3; border: 1px solid #d7e5dd; border-radius: 6px; font-size: 13px; line-height: 1.6; }
.execution-declaration input, .execution-conditions input { width: 17px; height: 17px; flex: 0 0 17px; margin-top: 3px; }
.execution-form .signature-pad { background: #fff; border: 1px solid #ccd5db; border-radius: 5px; overflow: hidden; }
.execution-form .signature-pad canvas { display: block; width: 100%; height: auto; touch-action: none; }
.execution-error { color: #b33331; font-size: 13px; }
.execution-error:empty { display: none; }
.pw-thumbnails { position: relative; width: var(--pw-thumb-width, 180px); flex: 0 0 var(--pw-thumb-width, 180px); border-right: 1px solid #d5dce2; background: #f4f5f7; display: flex; flex-direction: column; min-height: 0; z-index: 3; }
.pw-thumbnails > header { display: flex; justify-content: space-between; align-items: center; padding: 6px 9px 6px 15px; flex: 0 0 44px; font-size: 12px; }
.pw-thumb-list { overflow-y: auto; padding: 3px 16px 18px; min-height: 0; flex: 1; scrollbar-width: thin; }
.pw-thumb-list button { width: 100%; padding: 8px 4px; display: grid; gap: 7px; background: none; border: 0; border-radius: 5px; font-size: 11px; color: #65707a; margin-bottom: 9px; }
.pw-thumb-list button:hover { background: #e7edf3; }
.pw-thumb-list button[aria-current="true"] { background: #deebfa; color: #145da0; font-weight: 650; }
.pw-thumb-image { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; }
.pw-thumb-image canvas { display: block; max-width: 100%; max-height: 180px; width: auto; height: auto; background: white; box-shadow: 0 1px 5px #303c4b26; }
.pw-thumb-resize { position: absolute; right: -3px; top: 0; width: 7px; height: 100%; cursor: col-resize; touch-action: none; }
.pw-thumb-resize:hover, .pw-thumb-resize:focus-visible { background: #2274b84d; outline: none; }
.pw-document .pw-tools, .pw-document .pw-save, .pw-document .pw-save-state, .pw-document [data-action="toggle-marks"], .pw-document [data-action="notes"], .pw-document [data-action="export"] { display: none; }
.pw-document .pw-context::before { content: none; }
.pw-document .pw-canvas-area { background: #e3e6e9; }
.document-inspector .document-quicklook-button { width: 100%; height: 100%; padding: 12px; border: 0; background: #e8ebee; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; cursor: zoom-in; }
.document-quicklook-button canvas { max-width: 100%; max-height: calc(100% - 25px); object-fit: contain; background: #fff; box-shadow: 0 2px 8px #36404e26; }
.document-quicklook-button > span { font-size: 11px; color: #53616e; }
@media (max-width: 760px) {
  .plan-workspace .pw-execution { padding: 6px 8px; width: 34px; justify-content: center; }
  .pw-execution > span { display: none; }
  .execution-steps { gap: 8px; padding: 10px 9px; }
  .execution-steps li { font-size: 10px; gap: 5px; align-items: flex-start; }
  .execution-steps li > b { flex-basis: 20px; height: 20px; font-size: 10px; }
  .execution-steps small { font-size: 9px; }
  .pw-lifecycle .execution-steps small { display: none; }
  .pw-thumbnails { position: absolute; top: 0; bottom: 0; left: 0; box-shadow: 6px 0 20px #27394826; }
  .pw-document .pw-panel { bottom: 0; }
  .execution-form .execution-steps { grid-template-columns: 1fr; gap: 9px; }
}
