.shepard-workspace {margin: 0 0 24px; padding: 24px; border: 1px solid var(--border, #34463c); border-radius: 16px; background: var(--panel, #101b17); min-width: 0;}
.shepard-heading {display: flex; justify-content: space-between; align-items: center; gap: 16px;}
.shepard-heading h2 {margin: 3px 0 0;}
.shepard-eyebrow {font-size: 11px; letter-spacing: .14em; color: #9ec5af; margin: 0;}
.shepard-columns {display: grid; grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr); gap: 22px; margin-top: 18px;}
.shepard-card {border: 1px solid var(--border, #34463c); border-radius: 12px; padding: 18px; min-width: 0; overflow-wrap: anywhere;}
.shepard-card h3 {margin-top: 0;}
.shepard-card label {display: block; margin: 12px 0;}
.shepard-card select, .shepard-card textarea {display: block; width: 100%; max-width: 100%; margin-top: 6px;}
.shepard-card textarea {min-height: 100px; resize: vertical;}
.shepard-card .shepard-consent {display: flex; align-items: flex-start; gap: 9px;}
.shepard-consent input {flex: 0 0 auto; margin-top: 4px;}
.shepard-actions {display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;}
.shepard-scope {border-left: 3px solid #80ad94; padding-left: 12px; white-space: pre-wrap; font-size: 13px;}
.shepard-badge {display: inline-block; border: 1px solid #5c7b69; border-radius: 20px; padding: 3px 10px; font-size: 12px;}
.shepard-fixture {color: #e7c875;}
.shepard-error {color: #ffb8a1;}
.shepard-run {margin-top: 16px;}
.shepard-run pre {white-space: pre-wrap; overflow-wrap: anywhere; max-height: 360px; overflow: auto; font-size: 13px; background: #0b130f; padding: 16px; border-radius: 8px;}
.shepard-run details {margin-top: 12px;}
.shepard-run ol {padding-left: 22px;}
.shepard-run li {margin: 8px 0; font-size: 13px;}
.shepard-question {padding: 14px; border: 1px solid #d4b666; border-radius: 10px; margin-top: 14px;}
#shepard-feedback {font-size: 13px;}
@media (max-width: 720px) {.shepard-columns {grid-template-columns: 1fr;} .shepard-workspace {padding: 15px;} .shepard-heading {align-items: flex-start; flex-wrap: wrap;}}


.pilot-title{display:flex;align-items:center;gap:8px}
.pilot-info{display:inline-grid;place-items:center;flex:none;width:28px;height:28px;min-height:28px;padding:0;border:1px solid var(--muted);border-radius:50%;background:transparent;color:var(--text);font:italic 700 15px Georgia,serif;cursor:help}
.pilot-info:focus-visible{outline:2px solid var(--red-light);outline-offset:3px}
.pilot-info-popup{position:fixed;inset:auto;margin:0;box-sizing:border-box;width:min(330px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:var(--panel-deep);color:var(--text);font-size:13px;line-height:1.5;box-shadow:0 8px 26px #0008;z-index:100;overflow-wrap:anywhere}
.pilot-info-popup[hidden]{display:none}
.pilot-route-details{margin-top:12px;font-size:12px;color:var(--muted)}
.pilot-route-details summary{cursor:pointer}
.pilot-route-details .shepard-scope{overflow-wrap:anywhere}
@media(pointer:coarse){.pilot-info{width:44px;height:44px;min-height:44px}}
@media(forced-colors:active){.pilot-info,.pilot-info-popup{background:Canvas;color:CanvasText;border-color:CanvasText}.pilot-info:focus-visible{outline-color:Highlight}}


#app-shell .pilot-info{width:28px;height:28px;min-width:28px;min-height:28px;border:0;border-radius:5px;padding:0;background:transparent;color:var(--muted);box-shadow:none}
#app-shell .pilot-info>span[aria-hidden=true]{display:grid;place-items:center;box-sizing:border-box;width:14px;height:14px;border:1px solid currentColor;border-radius:50%;font:italic 700 10px/1 Georgia,serif}
#app-shell .pilot-info:hover{color:var(--text);background:transparent}
@media(pointer:coarse){#app-shell .pilot-info{width:44px;height:44px;min-width:44px;min-height:44px}}
@media(forced-colors:active){#app-shell .pilot-info{color:CanvasText;background:Canvas}#app-shell .pilot-info:focus-visible{outline:2px solid Highlight;outline-offset:3px}}


#shepard-workspace{height:auto;min-height:0;align-self:start;padding:10px 12px;margin-bottom:14px;border-radius:9px}
#shepard-workspace .shepard-eyebrow{display:none}
#shepard-workspace .shepard-heading{gap:8px;align-items:center;flex-wrap:wrap}
#shepard-workspace .shepard-heading h2{font-size:16px;margin:0}
#shepard-feedback{margin:6px 0 0;line-height:1.4}
#shepard-config:empty,#shepard-runs:empty,#shepard-pending:empty{display:none}
#shepard-workspace .pilot-route-details{margin-top:5px;font-size:11px}
#shepard-workspace .pilot-route-details p{margin:6px 0 0;font-size:11px}
.shepard-status-actions{display:flex;align-items:center;gap:6px}
.shepard-status-actions button{min-height:36px;font-size:12px;padding:6px 9px}
.shepard-status-actions button[hidden]{display:none}
#console-view>.console-message-entry{display:block;width:min(480px,100%);max-width:100%;margin:0 auto 12px}


#shepard-workspace{border-color:var(--line);border-top-color:#91364d;border-radius:8px;background:var(--panel-deep)}
#shepard-workspace .shepard-heading{justify-content:space-between;gap:8px}
#shepard-workspace .shepard-heading h2{font-size:14px}
.shepard-summary{min-width:0}
#shepard-workspace-status{font-size:11px;margin-top:2px;overflow-wrap:anywhere}
#shepard-workspace-toggle{font-size:11px;padding:4px 8px;flex-shrink:0}
#shepard-workspace-body[hidden]{display:none}
#shepard-workspace-body{padding-top:12px}
#shepard-workspace-body>.shepard-status-actions{flex-wrap:wrap;justify-content:flex-end;margin-bottom:8px}

.worker-provider-setup{margin:0 0 20px;min-width:0}.worker-provider-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.worker-provider-card{border:1px solid var(--border,#34463c);border-radius:12px;padding:14px;background:var(--panel,#101b17);min-width:0}.worker-provider-card>summary{cursor:pointer;font-weight:650}.worker-provider-stage{font-weight:600}.worker-provider-card pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto}.worker-provider-card a{color:inherit;text-decoration:underline}.worker-provider-card li{margin-bottom:6px}
