/* Workflow Studio · restrained blue surfaces, clear hierarchy, real work. */
.workflow-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:8px 0 5px}.workflow-intro h2{font-size:clamp(26px,3vw,37px);font-weight:650;letter-spacing:-1.2px;line-height:1.15;margin:12px 0}.workflow-intro p{font-size:12px;line-height:1.8;color:var(--muted);max-width:580px;margin:0}.workflow-intro .eyebrow{color:var(--accent);font-size:9px;letter-spacing:1.6px}.workflow-intro>button{flex:none}
.workflow-filters{display:flex;align-items:end;gap:12px;padding:18px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.workflow-filters label{display:flex;flex-direction:column;gap:8px;font-size:10px;font-weight:600;min-width:0;width:185px}.workflow-filters label:first-child{flex:1;width:auto}.workflow-filters input,.workflow-filters select{width:100%;min-height:44px;margin:0;font-size:12px}.workflow-filters>button{font-size:12px;flex:none}
.workflow-board-summary{display:flex;justify-content:space-between;gap:20px;font-size:10px;line-height:1.7;color:var(--muted)}.workflow-board-summary>span:first-child{font-weight:650;color:var(--body)}
.workflow-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start}.workflow-column{padding:15px 12px 12px;border:1px solid var(--border);border-radius:16px;background:var(--surface-alt);min-width:0;min-height:260px;transition:background .15s,border-color .15s}.workflow-column.in_progress{background:var(--accent-soft)}.workflow-column-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 5px 17px;gap:10px}.workflow-column-heading h3{font-size:12px;font-weight:650;margin:0;display:flex;align-items:center;gap:8px}.workflow-column-heading h3::before{content:'';display:inline-block;width:7px;height:7px;background:#7c9fcf;border-radius:50%}.in_progress .workflow-column-heading h3::before{background:#3276eb;box-shadow:0 0 0 4px #3276eb14}.done .workflow-column-heading h3::before{background:#1c4e88}.workflow-column-heading>span{display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border:1px solid var(--border);border-radius:7px;font-size:10px;background:var(--surface);color:var(--body)}
.workflow-card{background:var(--surface);border:1px solid var(--border);box-shadow:0 3px 9px #102b4d06;border-radius:12px;margin:0 0 12px;padding:18px 16px;min-width:0;transition:box-shadow .15s,transform .15s}.workflow-card:last-child{margin-bottom:0}.workflow-card:hover{box-shadow:0 7px 22px #133a6a12;transform:translateY(-1px)}.workflow-card-top{display:flex;justify-content:space-between;gap:8px;margin-bottom:11px;flex-wrap:wrap}.workflow-card-top .worker-pill{font-size:9px;padding:4px 7px}.workflow-card-title{font:inherit;font-size:14px;font-weight:650;line-height:1.6;letter-spacing:-.15px;text-align:left;color:var(--text);background:none;padding:0;border:0;min-height:30px;overflow-wrap:anywhere}.workflow-card-title:hover{color:var(--accent);text-decoration:underline}.workflow-card-notes{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.8;color:var(--muted);margin:7px 0 16px;white-space:pre-wrap;overflow-wrap:anywhere}
.workflow-card-progress{margin:15px 0}.workflow-card-progress>span{display:block;font-size:9px;font-weight:600;color:var(--muted);margin-bottom:8px}.workflow-card progress,.workflow-checklist>progress,.workflow-load-row progress{display:block;width:100%;height:5px;border:0;border-radius:5px;overflow:hidden;background:var(--surface-alt);accent-color:var(--accent)}.workflow-card progress::-webkit-progress-bar,.workflow-checklist>progress::-webkit-progress-bar,.workflow-load-row progress::-webkit-progress-bar{background:var(--surface-alt)}.workflow-card progress::-webkit-progress-value,.workflow-checklist>progress::-webkit-progress-value,.workflow-load-row progress::-webkit-progress-value{background:#397be6;border-radius:5px}
.workflow-card-meta{display:grid;grid-template-columns:29px minmax(0,1fr);gap:3px 8px;align-items:center;margin:18px 0 14px;font-size:9px;color:var(--body)}.workflow-card-meta .worker-avatar{grid-row:1/3;width:29px;height:31px;border-radius:8px;font-size:9px}.workflow-card-meta time{font-size:9px;color:var(--muted)}.workflow-move{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--border);font-size:9px;color:var(--muted)}.workflow-move select{margin:0;width:auto;max-width:75%;min-height:36px;padding:6px 23px 6px 8px;background-color:var(--surface-alt);font-size:10px;border:1px solid var(--border);border-radius:7px;color:var(--body)}.workflow-column-empty{font-size:11px;color:var(--muted);line-height:1.8;text-align:center;padding:38px 16px;border:1px dashed var(--border);border-radius:10px;margin:0}.workflow-more{width:100%;font-size:11px}
.worker-editor{width:min(740px,calc(100vw - 40px))}.worker-job-form .workflow-checklist{border:1px solid var(--border);background:var(--canvas);padding:19px;border-radius:12px;margin:24px 0 0}.workflow-checklist-heading,.workflow-history-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}.workflow-checklist-heading h3,.workflow-history-heading h3{font-size:14px;font-weight:650;letter-spacing:-.2px;margin:0}.workflow-checklist-heading>span,.workflow-history-heading>span{font-size:10px;color:var(--muted)}.workflow-checklist .worker-form-help{font-size:10px;margin:13px 0}.workflow-checklist-row{display:flex;align-items:center;gap:9px;margin-top:8px;min-width:0}.worker-job-form .workflow-checklist-row input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;padding:0;accent-color:var(--accent)}.worker-job-form .workflow-checklist-row input[type=text]{flex:1;min-width:0;background:var(--surface);font-size:12px}.workflow-checklist-row:has(input:checked) input[type=text]{text-decoration:line-through;color:var(--muted)}.workflow-checklist-row .icon-button{width:34px;min-width:34px;height:38px;font-size:19px;color:var(--muted)}.workflow-checklist-add{display:flex;align-items:end;gap:10px;margin-top:17px}.workflow-checklist-add>label{flex:1}.workflow-checklist-add .button{font-size:11px;flex:none}.workflow-checklist-add input{font-size:12px}
.workflow-history{padding:24px 29px 30px;border-top:1px solid var(--border);background:var(--surface-alt)}.workflow-history>.muted,.workflow-history>p{font-size:11px;line-height:1.8}.workflow-history-list{list-style:none;padding:0;margin:20px 0 0}.workflow-history-list li{position:relative;margin-left:5px;padding:0 0 22px 20px;border-left:1px solid var(--border);overflow-wrap:anywhere}.workflow-history-list li::before{content:'';position:absolute;left:-4px;top:5px;width:7px;height:7px;border-radius:50%;background:#6a9be1;box-shadow:0 0 0 4px var(--surface-alt)}.workflow-history-list li:last-child{border-left-color:transparent;padding-bottom:0}.workflow-history-list li>div{display:flex;justify-content:space-between;gap:12px;align-items:baseline;flex-wrap:wrap}.workflow-history-list strong{font-size:11px;font-weight:650}.workflow-history-list time{font-size:9px;color:var(--muted)}.workflow-history-list p{font-size:11px;color:var(--body);line-height:1.9;margin:6px 0 0}
.workflow-load-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.workflow-load-card{padding:26px;background:var(--surface);border:1px solid var(--border);margin:0}.workflow-load-card h3{font-size:16px;font-weight:650;letter-spacing:-.3px;margin:0}.workflow-load-card .worker-person-identity p{font-size:10px;color:var(--muted);margin:6px 0 0}.workflow-load-card .worker-person-identity{margin-bottom:24px}.workflow-load-card>p{font-size:10px;line-height:1.8;margin:21px 0 0}.workflow-load-row{display:grid;grid-template-columns:82px minmax(0,1fr) 24px;gap:13px;align-items:center;margin:16px 0;font-size:10px;color:var(--body)}.workflow-load-row strong{text-align:right;font-size:11px}.workflow-attention{padding:25px 27px;background:var(--surface);border:1px solid var(--border);border-radius:14px}.workflow-attention-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--border);min-width:0}.workflow-attention-row>div:first-child{min-width:0;flex:1}.workflow-attention-row strong{display:block;font-size:12px;font-weight:600;line-height:1.7;overflow-wrap:anywhere}.workflow-attention-row small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.workflow-attention-row>div:last-child{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end;font-size:10px;color:var(--muted)}.workflow-attention>.muted{font-size:12px;line-height:1.8}.workflow-readonly{font-size:10px;line-height:1.8;color:var(--muted);margin:20px 0 0}
@media(min-width:1001px) and (max-width:1250px){.workflow-board{gap:10px}.workflow-column{padding:12px 8px}.workflow-card{padding:15px 11px}.workflow-filters{flex-wrap:wrap}.workflow-filters label:first-child{flex-basis:100%}.workflow-filters label:not(:first-child){flex:1}.admin-tabs{flex-wrap:wrap}}
@media(max-width:850px){.workflow-load-grid{grid-template-columns:1fr}.workflow-board{gap:10px}.workflow-column{padding:12px 8px}.workflow-card{padding:15px 12px}.workflow-filters{flex-wrap:wrap}.workflow-filters label:first-child{flex-basis:100%}.workflow-filters label:not(:first-child){flex:1}}
@media(max-width:650px){.workflow-board{grid-template-columns:1fr;gap:19px}.workflow-column{padding:16px;min-height:0}.workflow-card{padding:20px}.workflow-column-heading{padding-bottom:18px}.workflow-column-heading h3{font-size:14px}.workflow-card-title{font-size:15px}.workflow-card-meta{font-size:11px}.workflow-card-meta time{font-size:10px}.workflow-move select{min-height:44px;font-size:12px}.workflow-move{font-size:11px}.workflow-intro{align-items:start;flex-direction:column;gap:18px}.workflow-intro h2{font-size:30px}.workflow-board-summary{flex-direction:column;gap:6px}.workflow-filters{gap:14px 10px}.workflow-filters label:not(:first-child){width:auto;flex:1 1 40%}.workflow-filters>button{flex:1}.worker-tabs{flex-wrap:wrap;gap:4px}.worker-tab{flex:1 1 42%;font-size:11px}.worker-editor{width:calc(100vw - 22px)}.worker-job-form .workflow-checklist{padding:15px}.workflow-checklist-add{flex-direction:column;align-items:stretch}.workflow-checklist-add>button{align-self:flex-end}.workflow-history{padding:23px 20px}.workflow-history-heading{align-items:start;flex-direction:column;gap:7px}.workflow-attention{padding:23px 19px}.workflow-attention-row{align-items:start;flex-direction:column;gap:13px}.workflow-attention-row>div:last-child{justify-content:flex-start}.workflow-load-card{padding:23px 19px}.admin-tabs{flex-wrap:wrap}.admin-tab{flex:1 1 28%}}
@media(prefers-reduced-motion:reduce){.workflow-card,.workflow-column{transition:none}.workflow-card:hover{transform:none}}
