/* AstroScott field-journal workflow studio — scoped to the authenticated workbench. */
#ws-page-workflows{color:#d8d7ce;min-width:0;padding:22px 25px 50px}
#ws-page-workflows[hidden]{display:none!important}
.workflow-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;border-bottom:1px solid #34414b;padding-bottom:20px;margin-bottom:22px}
.workflow-kicker{font:600 10px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:.17em;color:#bca579;margin:0 0 11px}
.workflow-hero h2{font:400 clamp(26px,3vw,40px)/1.1 Georgia,serif;letter-spacing:-.03em;color:#f0eadf;margin:0 0 8px}
.workflow-hero p:last-child{max-width:610px;font-size:13px;line-height:1.65;color:#abb6bf;margin:0}
.workflow-help-buttons{display:flex;gap:8px;flex-wrap:wrap}
.workflow-help-buttons button,.workflow-hero button{background:#161e26;border:1px solid #40505a;color:#e7d4b1;padding:10px 13px;cursor:pointer;border-radius:3px;font:600 12px/1.3 system-ui}
.workflow-help-buttons button:hover,.workflow-mini-button:hover{border-color:#c59b57}
.workflow-layout{display:grid;grid-template-columns:minmax(195px,235px) minmax(300px,1fr) minmax(240px,315px);gap:17px;align-items:start}
.workflow-rail,.workflow-main,.workflow-preset-rail{min-width:0;background:#111922;border:1px solid #2a3c46;border-radius:4px;overflow:hidden}
.workflow-panel-heading{padding:15px 16px;border-bottom:1px solid #2b3b45;color:#e8cb95;font:600 10px/1.4 ui-monospace,SFMono-Regular,monospace;letter-spacing:.13em;display:flex;justify-content:space-between;align-items:center;gap:8px}
.workflow-rail-list{padding:8px}
.workflow-option{width:100%;display:flex;flex-direction:column;gap:6px;text-align:left;background:transparent;border:1px solid transparent;border-left:2px solid transparent;border-radius:2px;color:#e0e1e0;cursor:pointer;padding:14px 10px}
.workflow-option:hover,.workflow-option.is-active{background:#1a252e;border-left-color:#d2ab71}
.workflow-option small{color:#bc9e70;font:600 9px/1.35 ui-monospace,monospace;letter-spacing:.09em}
.workflow-option strong{font:500 15px/1.2 Georgia,serif;color:#f0e7da}
.workflow-option span{font:400 11px/1.5 system-ui;color:#9fadb6}
.workflow-main-content{padding:19px 21px}
.workflow-main h3{color:#efe7d9;font:400 30px/1.18 Georgia,serif;margin:8px 0 8px}
.workflow-main .workflow-description{color:#aeb9bf;line-height:1.6;font-size:13px;margin:0 0 20px}
.workflow-step-list{display:flex;gap:7px;overflow-x:auto;padding:0 0 15px;scrollbar-width:thin}
.workflow-step-pill{background:#17212a;border:1px solid #31404b;min-width:112px;min-height:81px;text-align:left;color:#d1d9dd;padding:11px;cursor:pointer;border-radius:3px;display:flex;flex-direction:column;gap:7px}
.workflow-step-pill.is-current{border-color:#c4a373;background:#282921}
.workflow-step-pill span{color:#d9bc86;font:600 10px/1 ui-monospace,monospace}
.workflow-step-pill strong{font:600 11px/1.25 system-ui}
.workflow-step-pill small{font:10px/1.25 system-ui;color:#96a6af}
.workflow-stage{border-top:1px solid #31404b;padding-top:21px}
.workflow-stage h4{color:#e9e6df;font:500 20px/1.3 Georgia,serif;margin:7px 0}
.workflow-stage p{color:#b1bbc3;font-size:12px;line-height:1.6}
.workflow-verification{padding:13px 15px;border:1px solid #435348;border-left:3px solid #b3a172;background:#19241f;color:#d2d9ce;font-size:12px;line-height:1.55;margin:16px 0}
.workflow-checkbox{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5;color:#e2d5bb;margin:17px 0}
.workflow-checkbox input{margin-top:2px;accent-color:#d1a971}
.workflow-stage-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:16px 0}
.workflow-stage-actions button{color:#e2e7e7;background:#1e2b36;border:1px solid #4b5d68;border-radius:3px;padding:10px 13px;font:600 12px system-ui;cursor:pointer}
.workflow-stage-actions button.workflow-primary{background:#c8a36b;border-color:#c8a36b;color:#141b21}
.workflow-stage-actions button:disabled{opacity:.4;cursor:default}
.workflow-recommendation{display:flex;gap:11px;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #2b3c46;color:#b9c6ca;font:600 10px/1.45 ui-monospace,monospace;letter-spacing:.035em}
.workflow-mini-button{background:#202a2e;color:#e5c48e;border:1px solid #60705f;padding:8px 11px;cursor:pointer;border-radius:3px;white-space:nowrap;font:600 11px system-ui;letter-spacing:0}
.workflow-footnote{padding:12px 18px;border-top:1px solid #30424c;background:#111922;color:#b9a6a1;font:11px/1.5 system-ui}
.workflow-muted{font:12px/1.55 system-ui;color:#a7b4bd;padding:12px}
.workflow-preset-scroll{max-height:550px;overflow-y:auto;padding:10px;scrollbar-width:thin}
.workflow-preset{padding:13px;border:1px solid #334651;background:#16212b;margin-bottom:10px;border-radius:3px}
.workflow-preset-head{display:flex;justify-content:space-between;align-items:start;gap:8px}
.workflow-preset-head>div{display:flex;flex-direction:column;gap:5px}
.workflow-preset-head strong{font:500 15px Georgia,serif;color:#f0e2ca}
.workflow-preset-head small{font:600 9px/1.3 ui-monospace,monospace;letter-spacing:.08em;color:#a4aeb6}
.workflow-preset p{font:11px/1.55 system-ui;color:#aeb9bc;margin:8px 0}
.workflow-preset details{margin-top:10px;border-top:1px solid #354955;padding-top:7px}
.workflow-preset summary{font:600 11px system-ui;color:#d0b18b;cursor:pointer}
.workflow-preset code{display:block;font:10px/1.5 ui-monospace,monospace;white-space:normal;overflow-wrap:anywhere;color:#becace;margin-top:8px}
.workflow-delete{background:transparent;border:0;color:#d7a2a0;padding:9px 0 0;cursor:pointer;font-size:10px}
.workflow-custom{border-top:1px solid #30444d;padding:16px}
.workflow-custom label{display:flex;flex-direction:column;gap:6px;color:#a8b3be;font-size:11px;margin-bottom:12px}
.workflow-custom input,.workflow-custom select,.workflow-select{width:100%;min-width:0;background:#0d151d;border:1px solid #48555d;color:#e2e6e7;border-radius:2px;padding:10px 9px;font:12px system-ui}
.workflow-custom-controls{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}
.workflow-custom-controls button,.workflow-custom-controls label{background:#1a2832;border:1px solid #405661;color:#e4d2ae;padding:9px 10px;font:11px system-ui;cursor:pointer;border-radius:3px;margin:0}
.workflow-custom-controls label input{display:none}
#workflow-status{margin:20px 0 0;padding:13px 16px;color:#b8c5cb;background:#111922;border-left:3px solid #566773;font-size:12px;line-height:1.6;min-height:44px}
#workflow-status[data-level=success]{border-color:#739a88;color:#d8e7db}
#workflow-status[data-level=error],#workflow-status[data-level=warn]{border-color:#c99776;color:#eed6c2}
@media(max-width:1340px){.workflow-layout{grid-template-columns:210px minmax(300px,1fr)}.workflow-preset-rail{grid-column:1/-1}.workflow-preset-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:none}.workflow-preset{margin:0}}
@media(max-width:870px){#ws-page-workflows{padding:16px}.workflow-layout{display:flex;flex-direction:column}.workflow-rail,.workflow-main,.workflow-preset-rail{width:100%}.workflow-hero{align-items:flex-start;flex-direction:column}.workflow-preset-scroll{display:block}.workflow-preset{margin-bottom:10px}.workflow-option{width:100%}}
