/* Local operator workspace only. Sample previews and the comparison lab retain their own styles. */
body.pilot-workspace{--bg:#fafaf9;--panel:#fff;--line:#dcdedb;--text:#242824;--muted:#636b65;--accent:#294d3d;--amber:#805900;--red:#a33329;color-scheme:light;background:var(--bg);color:var(--text)}
.pilot-workspace #sidebar{background:#f4f5f2}.pilot-workspace nav a{color:var(--muted)}.pilot-workspace nav a.active{color:var(--text);background:#e7ebe5}.pilot-workspace button,.pilot-workspace .button,.pilot-workspace input,.pilot-workspace select,.pilot-workspace textarea{background:var(--panel);color:var(--text);border-color:#c9cfca;border-radius:3px}@media(hover:hover){.pilot-workspace button:hover,.pilot-workspace .button:hover{background:#f0f2ed}}.pilot-workspace button.primary{background:#294d3d;color:white;border-color:#294d3d}.pilot-workspace label,.pilot-workspace summary{color:var(--muted)}.pilot-workspace pre{background:#f3f5f1;color:var(--text)}.pilot-workspace .notice{background:#f0f3ed;color:var(--text)}.pilot-workspace th{background:#f3f5f1;color:var(--muted)}.pilot-workspace .tag{color:var(--muted);border-color:var(--line)}.pilot-workspace .tag.good{color:#294d3d}.pilot-workspace .tag.warn{color:var(--amber)}.pilot-workspace .tag.bad{color:var(--red)}.pilot-workspace .text-body,.pilot-workspace .field-expand p,.pilot-workspace .field-expand label,.pilot-workspace .brand-header p{color:var(--text)}.pilot-workspace .field-expand,.pilot-workspace .field-table tr:has(.editor),.pilot-workspace .field-table tr.selected,.pilot-workspace .editor-actions{background:#f0f3ed}.pilot-workspace .media-stage{background:#eef0ec}.pilot-workspace .media-kind{color:white}.pilot-workspace .thumb{background:#eef0ec}.pilot-workspace .thumb.text{color:var(--text)}.pilot-workspace .attachments a.active{color:var(--accent)}
.pilot-workspace .ct-grid{table-layout:fixed;min-width:820px}.pilot-workspace .ct-grid th,.pilot-workspace .ct-grid td{height:40px;max-height:40px;padding:0 12px!important;white-space:nowrap;vertical-align:middle;font-size:13px}.pilot-workspace .ct-grid th{height:40px;font-size:12px}.pilot-workspace .ct-grid th:first-child,.pilot-workspace .ct-grid td:first-child{width:260px;min-width:260px;max-width:260px}.pilot-workspace .ct-grid .ct-cell{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:39px;height:39px}.pilot-workspace .ct-grid .ct-cell>*{max-width:100%;vertical-align:middle}.pilot-workspace .ct-grid button{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:3px 6px;line-height:22px}.pilot-workspace .ct-grid .ct-link{display:inline;line-height:inherit}.pilot-workspace .ct-grid .ct-child td:first-child{padding-left:30px!important}.pilot-workspace .ct-grid .ct-child td{background:#fbfcf9}.pilot-workspace .ct-grid small{display:inline;font-size:inherit}.pilot-workspace .ct-grid .ct-status{font-size:13px}.pilot-workspace .ct-grid .ct-expander{padding:0 5px;line-height:24px;margin-right:6px}.pilot-workspace .ct-grid .ct-count{padding:0 6px;line-height:24px}.pilot-workspace .ct-grid td:focus-within{overflow:visible}.pilot-workspace .ct-toolbar{margin:12px 0;min-height:34px}.pilot-workspace .ct-tabs{margin:12px 0}.pilot-workspace .ct-tabs button{padding:8px 0!important}.pilot-workspace .table-wrap{border-radius:0}.pilot-workspace .ct-scroll{border-radius:0}.pilot-workspace .workspace-list-tools{display:flex;gap:12px;align-items:center;justify-content:flex-end;font-size:12px;margin:8px 0}.workspace-list-tools details{margin:0}.workspace-list-tools .ct-menu>div{right:0;left:auto}
.pilot-workspace dialog{background:var(--panel);color:var(--text);border:1px solid var(--line)}.pilot-workspace #dialog,.pilot-workspace #workspace-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(760px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;border-radius:0;padding:0}.pilot-workspace dialog>header{background:var(--panel);color:var(--text)}.pilot-workspace #workspace-panel[open]{display:flex;flex-direction:column;overflow:hidden}.workspace-panel-body{flex:1;overflow:auto;padding:22px;min-height:0}.workspace-panel-body dl{margin:0}.workspace-panel-body dt{font-size:12px;color:var(--muted);margin:18px 0 5px}.workspace-panel-body dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.workspace-panel-body .table-wrap{max-width:100%}#workspace-panel footer{padding:14px 22px;border-top:1px solid var(--line);display:flex;gap:12px;flex-wrap:wrap;background:var(--panel)}.workspace-panel-body .thumb{height:220px}.workspace-panel-body video,.workspace-panel-body img{max-width:100%}.workspace-read-link{display:inline-block;border:0!important;background:transparent!important;text-decoration:underline;text-underline-offset:3px;padding:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.workspace-panel-loading{padding:30px}.workspace-detail-value{white-space:pre-wrap;overflow-wrap:anywhere}.pilot-workspace #dialog .company-exit-prompt{position:sticky;bottom:0;background:var(--panel);z-index:3}.pilot-workspace #dialog .editor-actions{background:var(--panel)}.pilot-workspace #dialog-body form>button.primary{position:sticky;bottom:0}.pilot-workspace .workspace-caption{font-size:12px;color:var(--muted)}
@media(max-width:700px){.pilot-workspace .ct-grid{min-width:720px}.pilot-workspace .ct-grid th:first-child,.pilot-workspace .ct-grid td:first-child{width:190px;min-width:190px;max-width:190px}.pilot-workspace #page-header{flex-wrap:wrap}.workspace-panel-body{padding:16px}.workspace-list-tools{flex-wrap:wrap}.pilot-workspace #dialog,.pilot-workspace #workspace-panel{width:100vw}.pilot-workspace .ct-tabs{gap:18px}.pilot-workspace .ct-grid td,.pilot-workspace .ct-grid th{padding:0 10px!important}}

/* Detail comparison is full evidence, not a scanning list. */
.pilot-workspace .profile-proposal-comparison .ct-grid{table-layout:auto;min-width:640px}.pilot-workspace .profile-proposal-comparison .ct-grid td,.pilot-workspace .profile-proposal-comparison .ct-grid th{height:auto;max-height:none;white-space:normal;padding:12px!important}.pilot-workspace .profile-proposal-comparison .ct-cell{height:auto;line-height:1.5;white-space:pre-wrap;overflow:visible;overflow-wrap:anywhere}.pilot-workspace .profile-proposal-comparison .ct-cell>*{white-space:normal}
.pilot-workspace:not(.workspace-proof) .ct-matrix .ct-grid{table-layout:auto;width:max-content;min-width:100%}.pilot-workspace:not(.workspace-proof) .ct-matrix .ct-grid th:not(:first-child),.pilot-workspace:not(.workspace-proof) .ct-matrix .ct-grid td:not(:first-child){min-width:150px;width:150px;text-align:center}
