/* v83: approved operator layout; live controls keep their existing API and IDs. */
.operator-shell{font-size:15px;background:#f0f5f6;color:#183840}
.operator-shell main{max-width:1500px;margin:94px 24px 24px 214px}
.operator-shell .app-topbar{height:72px;padding:16px 20px;box-shadow:none}
.operator-shell .app-topbar>strong{font-size:.94rem;width:150px}
.operator-shell .app-navigation{width:190px;padding:18px 12px;background:#f7faf9}
.operator-shell .app-navigation>button.secondary{display:none}
.operator-shell .app-navigation-links a{font-size:.9rem;padding:10px 12px;font-weight:500}
.operator-shell .operator-identity{border-top:1px solid #d0e0e3;padding-top:16px;color:#506970;font-size:.8rem;overflow-wrap:anywhere}
.operator-shell button{font-size:.9rem;min-height:40px;padding:9px 12px;font-weight:600}
.operator-shell button:disabled{cursor:not-allowed}
.operator-shell section{border-color:#d0e0e3;box-shadow:none;border-radius:9px}
.operator-shell input,.operator-shell select,.operator-shell textarea{border-color:#b6ccd0}
.operator-shell input:disabled,.operator-shell select:disabled,.operator-shell textarea:disabled{background:#f0f5f6;color:#506970}
.operator-shell .work-toolbar{flex-wrap:wrap;gap:10px}
.operator-shell .work-toolbar label:first-child{flex:1 1 260px}
.operator-shell .work-toolbar label:last-child{flex:0 1 210px}
.operator-shell #tasks{border-radius:9px}
.operator-shell #tasks .task-actions a.secondary{background:#e0f0ec;color:#18514d}
.operator-shell #tasks .task-row{gap:14px}
.operator-shell .workspace-grid{margin-top:0}
.operator-shell.workspace-open #editor{padding:0!important;border:0;background:transparent}
.operator-shell .workspace-context.process-header{top:72px;background:#f0f5f6;border:0;border-bottom:1px solid #d0e0e3;box-shadow:none;padding:10px 0 14px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px}
.operator-shell .process-crumbs{grid-column:1/-1;margin:0 0 8px;font-size:.8rem;color:#506970}
.operator-shell .process-header>h2{grid-column:1;grid-row:2;font-size:1.5rem;margin:0}
.operator-shell .process-header>p:not(.process-received){grid-column:1;grid-row:3;margin:0;font-size:.8rem}
.operator-shell .process-header>.process-status{grid-column:2;grid-row:2/5;justify-content:flex-end;align-content:start;max-width:280px}
.operator-shell .process-status>span{flex-basis:100%;font-size:.85rem;text-align:right}
.operator-shell .process-status>button{margin:6px 0 0}
.operator-shell .process-received{grid-column:1;grid-row:4;font-size:.78rem!important;font-weight:400;color:#506970}
.operator-shell .process-header nav[aria-label="Części sprawy"]{grid-column:1/-1;margin:12px 0 0;gap:6px}
.operator-shell .process-badge{border-radius:20px;padding:5px 10px;font-size:.8rem;font-weight:600}
.operator-shell .process-header nav button{font-size:.85rem;min-height:40px;border-radius:6px}
.operator-shell .workspace-draft{margin:14px 0;border:1px solid #d0e0e3;border-radius:8px;background:#fff}
.operator-shell .workspace-pane{padding-top:0}
.operator-shell .process-approval,.operator-shell .process-notice{padding:12px 15px;border-left:3px solid #12665f;background:#e0f0ec;margin:14px 0;font-size:.87rem}
.operator-shell .workspace-data-layout{display:grid!important;gap:18px;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}
.operator-shell .workspace-data-layout>div:first-child{background:#fff;border:1px solid #d0e0e3;border-radius:9px;padding:18px}
.operator-shell .workspace-preview{background:#fff;border:1px solid #d0e0e3;padding:18px;border-radius:9px}
.operator-shell .workspace-data-layout .workspace-preview{margin-top:0}
.operator-shell .workspace-editor .workspace-data-layout .workspace-preview{position:sticky;top:calc(88px + var(--process-header-height,220px));max-height:none;overflow:visible}
.operator-shell .workspace-preview>h3{font-size:1rem;margin-top:0}
.operator-shell .workspace-paper{padding:22px;border-color:#d0e0e3;font-size:.9rem;line-height:1.65}
.operator-shell .workspace-paper h3{text-align:center}
.operator-shell .workspace-source-note{font-size:.78rem}
.operator-shell .workspace-pane #terms>details{padding:12px;border-color:#d0e0e3}
.operator-shell .workspace-pane .ergonomic-toolbar{flex-wrap:wrap}
.operator-shell .process-tools{background:#fff;border:1px solid #d0e0e3;border-radius:8px;margin:16px 0;padding:14px}
.operator-shell .process-tools>summary{font-weight:600;color:#245854;cursor:pointer}
.operator-shell .process-tools section{border:0;padding:0}
.operator-shell .process-document{padding:18px 0;border-color:#d0e0e3}
.operator-shell .process-document h4{display:inline-block;margin:0 14px 8px 0;font-size:1rem}
.operator-shell .process-document p,.operator-shell .process-help{font-size:.85rem;color:#506970}
.operator-shell .process-document a{display:inline-block;padding:6px 0}
.operator-shell .process-document label{font-size:.85rem}
.operator-shell #process-close [role=alert]{border-left:3px solid #a86913;background:#fff2df;padding:14px}
.operator-shell #process-close ul{padding-left:20px}
.operator-shell #process-close li{margin:7px 0}
.operator-shell #process-close a{padding:5px 0;color:#185750}
.operator-shell .process-target{outline:2px solid #168479;outline-offset:4px}
.operator-shell #editor [id],.operator-shell #case-form{scroll-margin-top:calc(100px + var(--process-header-height,220px))}
.operator-shell #workspace-summary>.workspace-next,.operator-shell #workspace-summary>#completion-summary{display:none}
.operator-shell #workspace-summary>#history-button,.operator-shell #workspace-summary>#history{display:none}
.operator-shell #workspace-documents{display:block}
.operator-shell #workspace-documents>.workspace-preview{position:static}
.operator-shell .process-audit{font-size:.85rem;table-layout:fixed}
.operator-shell .process-audit td,.operator-shell .process-audit th{overflow-wrap:anywhere}
.operator-shell .process-approve{margin-right:10px}
.operator-shell #review-panel>h3{margin-top:12px}
@media(max-width:1100px){.operator-shell .workspace-data-layout{grid-template-columns:1fr}.operator-shell .workspace-editor .workspace-data-layout .workspace-preview{position:static}}
@media(max-width:900px){.operator-shell main{margin:16px auto;width:calc(100% - 24px)}.operator-shell .app-topbar{height:auto;position:static}.operator-shell .app-navigation{width:100%}.operator-shell .workspace-context.process-header{top:0}.operator-shell #editor [id]{scroll-margin-top:calc(16px + var(--process-header-height,220px))}}
@media(max-width:650px){.operator-shell .workspace-context.process-header{gap:3px 10px}.operator-shell .process-header>h2{font-size:1.12rem}.operator-shell .process-header>.process-status{grid-row:2/4;max-width:170px}.operator-shell .process-status>span{display:none}.operator-shell .process-header>.process-received{display:none}.operator-shell .process-header nav[aria-label="Części sprawy"]{flex-wrap:wrap;overflow:visible}.operator-shell .process-header nav button{padding:8px;font-size:.78rem}.operator-shell .workspace-data-layout>div:first-child,.operator-shell .workspace-preview{padding:14px}.operator-shell .process-crumbs{font-size:.76rem}.operator-shell .process-audit{font-size:.75rem}.operator-shell .process-document button{width:100%;margin-right:0}.operator-shell .work-toolbar label:last-child{flex:1 1 100%}}
@media print{.operator-shell .process-header,.operator-shell .workspace-draft,.operator-shell .process-approve{display:none}.operator-shell main{margin:0;width:100%}.operator-shell .workspace-preview{position:static}}

.operator-shell .queue-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.operator-shell .queue-controls>input{flex:1;min-width:220px}.operator-shell .queue-controls label{flex:1;min-width:160px}.operator-shell .queue-scroll{overflow-x:auto}.operator-shell .queue-table{width:100%;border-collapse:collapse;text-align:left}.operator-shell .queue-table th,.operator-shell .queue-table td{padding:14px 12px;border-bottom:1px solid #d8e4e5;vertical-align:middle}.operator-shell .queue-table th{background:#edf4f4}.operator-shell .queue-table small{display:block;margin-top:5px}.operator-shell .queue-table a{font-weight:700}.operator-shell .queue-table tbody tr:hover{background:#f3f8f7}.operator-shell .queue-table button{white-space:normal;min-width:140px}.operator-shell #cases[hidden]{display:none!important}
/* v88: clear form hierarchy and large disclosure targets. */
.operator-shell details>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;list-style:none;cursor:pointer;font-weight:650;border:1px solid #d4e2e7;border-radius:10px;background:#f6f9fc;color:#183840;line-height:1.4;margin:8px 0}
.operator-shell details>summary::-webkit-details-marker{display:none}
.operator-shell details>summary::before{content:'›';display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;font-size:28px;font-weight:500;background:#e1eeed;border-radius:7px;color:#12645f;transition:transform .15s}
.operator-shell details[open]>summary::before{transform:rotate(90deg)}
.operator-shell details>summary:hover{background:#eaf2f5;border-color:#80aab0}
.operator-shell details>summary:focus-visible{outline:3px solid #167c74;outline-offset:2px}
.operator-shell input::placeholder,.operator-shell textarea::placeholder{color:#697a88;opacity:1}
@media(prefers-reduced-motion:reduce){.operator-shell details>summary::before{transition:none}}
