.wf-page{max-width:1280px;margin:auto;display:grid;gap:24px}.wf-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.wf-heading h1{font-size:clamp(30px,4vw,48px);letter-spacing:-.045em;margin:12px 0}.wf-heading p{max-width:710px;line-height:1.65;color:var(--muted,#66708a)}.wf-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.wf-stats>div{border:1px solid var(--line,#dde3ef);background:var(--surface,#fff);border-radius:18px;padding:22px;display:flex;gap:14px;align-items:center}.wf-stats strong{font-size:30px;color:var(--accent,#254ca5)}.wf-stats span{font-size:.875rem}.wf-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.wf-card{padding:24px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}.wf-card h2{font-size:21px;margin:5px 0}.wf-card h2 button{text-align:left;font:inherit;white-space:normal;overflow-wrap:anywhere}.wf-card p{flex:1;line-height:1.6;overflow-wrap:anywhere}.wf-card footer{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.875rem}.wf-empty{padding:48px 30px;text-align:center;display:grid;justify-items:center;gap:18px}.wf-empty>svg{width:42px;height:42px}.wf-empty p{max-width:570px;line-height:1.7}.wf-badge{display:inline-flex;padding:6px 10px;border-radius:99px;background:#eaf0fc;color:#27447d;font-size:.875rem;font-weight:600;white-space:nowrap}.wf-running,.wf-scheduled{background:#e8efff;color:#17469b}.wf-review,.wf-waiting_approval{background:#fff1d8;color:#775216}.wf-prepared,.wf-accepted,.wf-completed{background:#e2f4eb;color:#185842}.wf-needs_attention{background:#ffe8e5;color:#852e29}.wf-paused,.wf-cancelled{background:#edf0f6;color:#4a546b}.wf-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.wf-steps{display:grid;gap:18px;min-width:0}.wf-step{padding:26px;display:grid;gap:17px;min-width:0}.wf-step header{display:flex;gap:15px;align-items:flex-start}.wf-step header h2{font-size:20px;margin:0 0 8px;overflow-wrap:anywhere}.wf-number{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;border:1px solid var(--line,#dae1ee);color:var(--accent,#254ca5);font-weight:650;font-size:.875rem}.wf-step p{line-height:1.6;margin:0;overflow-wrap:anywhere}.wf-result{border:1px solid var(--line,#dfe5f0);border-radius:14px;padding:18px;display:grid;gap:16px;background:var(--surface,#f6f8fc)}.wf-result p{white-space:pre-wrap;font-size:14px}.wf-toolbar{display:flex;gap:10px;flex-wrap:wrap}.wf-toolbar .button{white-space:normal}.wf-meta{display:flex;gap:18px;flex-wrap:wrap;font-size:.875rem;color:var(--muted,#66708a)}.wf-side{display:grid;gap:18px;min-width:0}.wf-side .panel{padding:22px;display:grid;gap:16px;min-width:0}.wf-side h2{font-size:17px;margin:0}.wf-side p{line-height:1.6;font-size:.875rem;margin:0}.wf-side dl{margin:0;display:grid;gap:8px}.wf-side dt{font-size:.875rem;color:var(--muted,#66708a)}.wf-side dd{margin:0 0 8px;font-size:14px;overflow-wrap:anywhere}.wf-note{font-size:.875rem;line-height:1.6;color:var(--muted,#66708a);display:block}.wf-events{margin:0;padding:0;list-style:none;display:grid;gap:15px}.wf-events li{display:grid;gap:5px;font-size:.875rem;border-left:2px solid var(--line,#dfe5f0);padding-left:12px}.wf-events time,.wf-events span{color:var(--muted,#66708a)}.wf-choice{display:grid;gap:12px}.wf-edit-step{border:1px solid var(--line,#dae1ee);padding:18px;border-radius:14px;display:grid;gap:14px;margin:22px 0;min-width:0}.wf-edit-step legend{font-weight:650;padding:0 6px}.wf-form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wf-form-row .field{min-width:0}.wf-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:14px 0;gap:8px}.wf-tool-grid label{margin:0;font-size:.875rem}.wf-source-list{padding:16px;background:var(--surface,#f6f8fc);border-radius:12px;max-height:230px;overflow:auto;margin:14px 0}.wf-source-list>span{display:block;margin-bottom:10px;font-weight:600;font-size:.875rem}.wf-source-list label{font-size:.875rem}.wf-plan-summary{padding-left:22px;display:grid;gap:18px}.wf-plan-summary p{font-size:.875rem;line-height:1.6}.wf-plan-summary small{color:var(--muted,#66708a)}.wf-history{display:grid;gap:16px}.wf-history article{padding:14px;border:1px solid var(--line,#dfe5f0);border-radius:12px}.wf-history pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.875rem;line-height:1.6}.wf-home-entry{padding:22px;border:1px solid var(--line,#dfe5f0);border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface,#fff)}.wf-home-entry h2{font-size:20px;margin:0 0 8px}.wf-home-entry p{font-size:14px;line-height:1.6;max-width:680px;margin:0}
[data-theme=dark] .wf-badge{filter:brightness(.85)}[data-theme=dark] .wf-card,[data-theme=dark] .wf-step,[data-theme=dark] .wf-home-entry,[data-theme=dark] .wf-stats>div{background:var(--surface,#151e32)}[data-theme=dark] .wf-result,[data-theme=dark] .wf-source-list{background:var(--surface,#10192c)}
@media(max-width:1000px){.wf-layout{grid-template-columns:minmax(0,1fr)}.wf-side{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.wf-page{gap:18px}.wf-heading{flex-direction:column;gap:12px}.wf-list{grid-template-columns:minmax(0,1fr)}.wf-stats{gap:8px}.wf-stats>div{padding:14px 10px;display:grid;gap:4px}.wf-stats strong{font-size:25px}.wf-stats span{font-size:.875rem}.wf-step,.wf-card{padding:18px}.wf-side{grid-template-columns:minmax(0,1fr)}.wf-card footer{flex-wrap:wrap}.wf-form-row,.wf-tool-grid{grid-template-columns:minmax(0,1fr)}.wf-edit-step{padding:14px 10px}.wf-home-entry{align-items:flex-start;flex-direction:column}.wf-toolbar .button{flex:1 1 auto}.wf-meta{gap:8px}.wf-heading h1{font-size:32px;overflow-wrap:anywhere}}

.wf-edit-wrap{border:1px solid var(--line);border-radius:14px;margin:12px 0;overflow:hidden}.wf-edit-wrap>summary{display:flex;gap:12px;align-items:center;font-weight:600;padding:17px;cursor:pointer;list-style:none}.wf-edit-wrap>summary:after{content:'＋';margin-left:auto;color:var(--accent)}.wf-edit-wrap[open]>summary:after{content:'−'}.wf-edit-wrap>summary>span{font-size:.875rem;color:var(--accent)}.wf-edit-wrap .wf-edit-step{border:0;margin:0;border-top:1px solid var(--line);border-radius:0}.wf-edit-wrap legend{display:none}.wf-schedule-options{border-top:1px solid var(--line);margin:20px 0;padding-top:16px}.wf-schedule-options>summary{font-weight:600;cursor:pointer;margin-bottom:12px}.wf-edit-wrap summary:focus-visible,.wf-schedule-options summary:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}

.wf-profile{display:grid;gap:6px;padding:14px 16px;border-left:3px solid var(--accent,#254ca5);background:var(--surface,#f6f8fc);border-radius:0 12px 12px 0;min-width:0}.wf-profile strong{font-size:15px}.wf-profile p{margin:0;font-size:.875rem;line-height:1.6}.wf-contribution{display:grid;gap:18px;border-top:1px solid var(--line,#dde3ef);padding-top:20px;min-width:0}.wf-contribution header{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}.wf-contribution h3,.wf-issues h3,.wf-correction-scope h3{font-size:15px;margin:0 0 8px}.wf-contribution p,.wf-issues p{margin:6px 0;line-height:1.65;overflow-wrap:anywhere}.wf-findings,.wf-calculations,.wf-issues ul{padding-left:20px;margin:8px 0;display:grid;gap:18px}.wf-findings strong{font-size:.875rem;color:var(--muted,#66708a)}.wf-calculations strong{font-size:20px}.wf-issues{padding:16px;background:var(--surface,#f9f6ef);border:1px solid var(--line,#ddd);border-radius:12px}.wf-limit p{font-size:.875rem}.wf-provenance,.wf-attempts{min-width:0;border:1px solid var(--line,#dde3ef);border-radius:10px;padding:0 12px}.wf-provenance>summary,.wf-attempts>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-size:.875rem;gap:8px}.wf-provenance>summary:before,.wf-attempts>summary:before{content:'＋';color:var(--accent,#254ca5)}.wf-provenance[open]>summary:before,.wf-attempts[open]>summary:before{content:'−'}.wf-provenance ul,.wf-attempts ol{padding-left:20px;display:grid;gap:18px}.wf-provenance li,.wf-attempts li{min-width:0}.wf-provenance li>span,.wf-attempts li>span,.wf-provenance>span{display:block;font-size:.875rem;margin:6px 0;color:var(--muted,#66708a)}.wf-provenance code,.wf-attempts code,.wf-correction-scope code{display:block;font-size:.875rem;white-space:normal;overflow-wrap:anywhere;line-height:1.65;margin:8px 0}.wf-correction-scope{display:grid;gap:14px;border:1px solid var(--line,#dde3ef);border-radius:14px;padding:18px;margin:18px 0}.wf-correction-scope dl{display:grid;gap:8px;margin:0;min-width:0}.wf-correction-scope dt{font-size:.875rem;color:var(--muted,#66708a)}.wf-correction-scope dd{margin:0;overflow-wrap:anywhere}.wf-page .button,.wf-choice .button,.wf-correction-scope .button,#wf-correction-form .button{min-height:44px;white-space:normal;overflow-wrap:anywhere}.wf-provenance>summary:focus-visible,.wf-attempts>summary:focus-visible{outline:3px solid var(--accent,#254ca5);outline-offset:2px;border-radius:6px}#wf-correction-form{display:grid;gap:14px}#wf-correction-form .check-row{min-height:44px;align-items:flex-start}#wf-correction-form .check-row input{flex:none;margin-top:4px}#wf-correction-form .dialog-actions{display:flex;gap:12px;flex-wrap:wrap}#wf-correction-form .dialog-actions>.button{flex:1 1 180px}.wf-plan-summary .wf-profile{margin:10px 0}.wf-review{border-left:3px solid var(--accent,#254ca5);padding-left:14px}
@media(max-width:620px){.wf-contribution{gap:16px}.wf-provenance,.wf-attempts{padding:0 10px}.wf-provenance .button{width:100%}.wf-correction-scope{padding:14px}.wf-profile{padding:12px}.wf-contribution .wf-badge{white-space:normal}.wf-step header>div{min-width:0}.wf-step h2{overflow-wrap:anywhere}#wf-correction-form .dialog-actions{flex-direction:column}#wf-correction-form .dialog-actions>.button{flex:auto;width:100%}}
@media(prefers-reduced-motion:reduce){.wf-page *,.wf-choice *,.wf-plan-summary *,#wf-correction-form *{scroll-behavior:auto;transition:none;animation:none}}

.wf-number-quotes blockquote{margin:8px 0;padding:8px 12px;border-left:2px solid var(--accent,#254ca5);white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}

.wf-dependencies{min-width:0;display:grid;gap:10px;margin:0;padding:14px;border:1px solid var(--line,#dae1ee);border-radius:12px}.wf-edit-wrap .wf-dependencies legend{display:block;font-size:.875rem;font-weight:600;padding:0 6px}.wf-dependencies .check-row{min-height:44px;margin:0;align-items:flex-start}.wf-dependencies .check-row input{flex:none;margin-top:4px}.wf-dependencies .check-row span{min-width:0;overflow-wrap:anywhere}
