.worker-shell{font-family:var(--font);color:var(--ink);max-width:1120px;margin:auto;padding:24px;line-height:1.6}
.worker-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:8px 0 24px}.worker-brand img{width:180px;height:auto}.worker-header nav{font-size:.9rem}.worker-shell a{color:var(--ink);text-underline-offset:3px}
.worker-tabs{display:flex;flex-wrap:wrap;gap:8px;padding:8px;background:var(--surface-soft);border:1px solid var(--line);border-radius:var(--radius)}.worker-tabs a{padding:10px 14px;min-height:44px;box-sizing:border-box;text-decoration:none;border-radius:var(--radius-sm);font-weight:650}.worker-tabs a[aria-current=page]{background:var(--ink);color:#fff}
.worker-main{min-width:0}.worker-intro{margin:32px 0 24px;max-width:760px}.worker-intro h1{font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.15;margin:8px 0 12px;overflow-wrap:anywhere}.worker-intro p{margin:0;color:var(--ink-soft)}.worker-intro .eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:750}
.worker-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:24px;margin:16px 0;box-shadow:0 10px 28px #123d3a08;min-width:0}.worker-card h2{font-size:1.3rem;line-height:1.3;margin:0 0 12px}.worker-card h3{font-size:1.1rem;margin:0 0 8px}.worker-card p{margin:8px 0 16px}.worker-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.worker-grid .worker-card{margin:0}
.engagement-disclosure{margin:4px 0 18px}.engagement-disclosure summary{min-height:44px;padding:9px 4px;cursor:pointer;font-weight:600;text-decoration:underline;text-underline-offset:3px}.engagement-disclosure summary:focus-visible{outline:3px solid var(--ink);outline-offset:2px}.engagement-disclosure[open]{padding:0 14px 12px;border:1px solid var(--line);border-radius:var(--radius-sm)}.engagement-disclosure[open] summary{margin-bottom:10px;text-decoration:none}.engagement-disclosure label{margin-top:6px}
.worker-shell input,.worker-shell select,.worker-shell textarea,.worker-shell button{font:inherit;box-sizing:border-box;max-width:100%}.worker-shell input:not([type=checkbox]):not([type=radio]),.worker-shell select,.worker-shell textarea{width:100%;background:#fff;color:var(--ink);border:1px solid #9bafaa;border-radius:var(--radius-sm);padding:11px 12px;min-height:44px}.worker-shell textarea{min-height:100px;resize:vertical}.worker-shell label{display:block;font-weight:650;margin:12px 0 6px}.worker-shell input[type=checkbox],.worker-shell input[type=radio]{width:20px;height:20px;accent-color:var(--ink);vertical-align:middle;margin-right:8px;flex-shrink:0}.worker-shell fieldset{border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin:16px 0;min-width:0}.worker-shell legend{font-weight:750;padding:0 8px}.worker-shell .help,.worker-shell .muted{color:var(--ink-soft);font-size:.92rem;font-weight:400}
.worker-shell button,.worker-shell .worker-action{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;background:var(--ink);color:#fff;border:1px solid transparent;border-radius:var(--radius-sm);font-weight:700;text-decoration:none;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.worker-shell button.secondary,.worker-shell .worker-action.secondary{background:var(--surface-soft);color:var(--ink);border-color:var(--line)}.worker-shell button.danger{background:#fff;color:var(--error);border-color:var(--error)}.worker-shell button:disabled{opacity:.55;cursor:default}.worker-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px}
.worker-actions+:is(h2,h3){margin-top:24px}
.worker-shell :focus-visible{outline:3px solid var(--accent);outline-offset:3px}.worker-shell [hidden]{display:none!important}.worker-shell [role=status]{margin:16px 0;overflow-wrap:anywhere}.worker-shell [role=status]:empty{display:none}.worker-shell [data-kind=error]{color:var(--error)}.worker-shell [data-kind=success]{color:var(--success)}.worker-shell [data-kind=warning]{color:#795300}.worker-shell [data-kind=info]{color:var(--ink-soft)}
.worker-item{padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface-soft);margin:12px 0;overflow-wrap:anywhere}.worker-shell .worker-badge{display:inline-block;padding:3px 10px;border-radius:20px;background:var(--surface-soft);font-size:.85rem;font-weight:650}.worker-shell .empty-state{padding:24px;background:var(--surface-soft);border-radius:var(--radius);text-align:center}.worker-shell [aria-busy=true]{cursor:progress}
@media(max-width:540px){.worker-shell{padding:16px}.worker-card{padding:18px}.worker-tabs a{padding:10px}.worker-header{gap:12px}.worker-brand img{width:150px}.worker-intro{margin-top:24px}}
/* Profile cards and pills include client-created DOM, so these styles must not be Razor-scoped. */
.worker-profile{display:grid;gap:18px;max-width:980px}.worker-profile [hidden]{display:none!important}.worker-profile form{display:grid;gap:18px}.profile-card{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}.profile-card h2{margin-top:0}.profile-card label{display:grid;gap:6px;margin:12px 0;font-weight:700}.profile-card input,.profile-card select,.profile-card button{box-sizing:border-box;max-width:100%;min-height:44px;font:inherit}.profile-card input:not([type=checkbox]),.profile-card select{width:100%;padding:10px;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff;color:var(--ink)}.category-group{margin-top:18px}.category-pills{display:flex;flex-wrap:wrap;gap:8px}.category-pill{position:relative}.category-pill input{position:absolute;opacity:0}.category-pill span{display:inline-flex;align-items:center;min-height:44px;padding:7px 13px;border:1px solid var(--line);border-radius:999px;background:#fff}.category-pill input:checked+span{border-color:#806700;background:#ffe777}.category-pill input:checked+span::before{content:'✓';margin-right:7px;font-weight:900}.unavailable{margin-top:18px;padding:14px;border-left:4px solid #9a6500;background:#fff8e6}.area-list{display:grid;gap:10px}.area-card{display:grid;grid-template-columns:1fr auto;gap:10px;padding:14px;border:1px solid var(--line);border-radius:var(--radius-sm)}.area-card p{margin:3px 0}.area-actions{display:flex;flex-wrap:wrap;gap:8px}.area-editor{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}.suggestions{display:grid;gap:6px;margin:10px 0}.suggestion{width:100%;padding:10px;text-align:left;border:1px solid var(--line);border-radius:var(--radius-sm);background:#fff}.attribution{font-size:.85rem;color:var(--ink-soft)}.check-row{display:flex!important;align-items:center;gap:10px}.check-row input{width:22px;height:22px}.form-actions,.save-bar{display:flex;gap:10px;margin-top:12px}.worker-profile button,.save-bar button{padding:10px 18px;border:1px solid var(--ink);border-radius:var(--radius-sm);background:var(--ink);color:#fff;font-weight:750}.worker-profile button.secondary{background:#fff;color:var(--ink)}.page-status{font-weight:750}.page-status[data-kind=error]{color:var(--error)}.page-status[data-kind=success]{color:var(--success)}.resolution-note{padding:10px;background:#fff8e6}.worker-profile :focus-visible{outline:3px solid var(--accent);outline-offset:3px}@media(max-width:620px){.area-card{grid-template-columns:1fr}.worker-profile .save-bar{position:static;padding:12px 0;background:transparent}}
.worker-profile .category-pill input:focus-visible+span{outline:3px solid var(--accent);outline-offset:3px}
.worker-shell button.secondary,.worker-shell .worker-action.secondary{width:auto}
.worker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.worker-shell [data-messages]{display:grid;gap:12px;margin:18px 0;max-height:28rem;overflow:auto}
.worker-shell [data-messages] p{margin:0;padding:14px 16px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);white-space:pre-wrap;overflow-wrap:anywhere}
.worker-shell [data-messages] strong{display:block;font-size:.85rem;color:var(--ink-soft);margin-bottom:6px}
.worker-profile .suggestion{display:flex;flex-direction:column;gap:4px;align-items:flex-start;white-space:normal;min-height:64px;background:#fff;color:var(--ink);border-color:var(--line)}
.worker-profile .suggestion span{font-size:.9rem;font-weight:400;color:var(--ink-soft)}
.worker-profile .resolution-note{padding:14px;border:1px solid var(--line);border-radius:var(--radius-sm);line-height:1.6}
.worker-profile .resolution-note[data-kind=success]{background:var(--surface-soft);color:var(--ink)}
.worker-profile .resolution-note[data-kind=warning]{background:#fff8e6;color:#795300}
.worker-profile .resolution-detail{display:block;margin-top:4px;font-size:.9rem;color:var(--ink-soft)}
.worker-profile button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.worker-profile [data-area-input-help],.worker-profile [data-search-status]{font-size:.9rem;line-height:1.5}
.worker-profile [data-area-feedback]:empty,.worker-profile [data-search-status]:empty{display:none}
.worker-profile [data-area-feedback]{padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-sm);line-height:1.5}
.worker-profile .area-actions{align-items:center}
.worker-profile [data-validation-summary]{padding:16px;border:1px solid var(--error);border-radius:var(--radius-sm);background:#fff5f3;color:var(--error)}
.worker-profile [data-validation-summary] p{margin:0 0 8px;font-weight:700}
.worker-profile [data-validation-summary] ul{padding-left:20px;margin:0}
.worker-profile [data-validation-summary] button{background:transparent;color:var(--error);border:0;text-align:left;justify-content:flex-start;text-decoration:underline;padding:6px 0;min-height:44px}
.worker-profile [data-validation-field]{color:var(--error);font-size:.95rem;margin:8px 0;line-height:1.5}
.worker-profile [data-validation-field] span{display:block}
.worker-profile [aria-invalid=true]{border-color:var(--error)!important}
@media(max-width:680px){.worker-grid{grid-template-columns:1fr}}
