#agent-view{max-width:1400px;margin:auto;padding:32px;width:100%;box-sizing:border-box;overflow-y:auto}
#employee-work-surface:has(#employee-browser-screen:not([hidden])) #employee-surface-current{display:none}
#employee-browser-screen{scroll-margin-top:80px}
#employee-browser-screen .employee-screen-frame{display:block;overflow:auto;max-height:60dvh;touch-action:pan-x pan-y}
#employee-browser-screen #employee-screen-image{width:100%;max-width:none;max-height:none;height:auto;object-fit:initial}
#employee-browser-screen[data-available="false"] .employee-screen-frame,#employee-browser-screen[data-available="false"] .employee-screen-zoom{display:none}
#employee-browser-retry{width:100%;min-height:48px!important;font-size:16px!important;font-weight:700}
#employee-browser-screen .employee-private-navigation{display:none;width:100%;gap:8px;flex-wrap:wrap}
#employee-browser-screen[data-private="true"] .employee-private-navigation{display:flex}
#employee-browser-screen .employee-private-navigation button{min-height:44px;font-size:16px}
#employee-private-keyboard{font-size:16px;min-height:44px}
#employee-browser-screen .employee-screen-zoom{display:flex;align-items:center;gap:8px;margin:8px 0;font-size:16px}
#employee-screen-zoom{width:auto;min-height:44px;font-size:16px}
.employee-workspace{max-width:960px;margin-inline:auto}.employee-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.employee-toolbar h2{flex:1;font-size:20px;min-width:100px;overflow-wrap:anywhere}.employee-workspace button{min-height:44px;margin:4px;padding:10px 14px;border-radius:12px;white-space:normal}.employee-workspace [hidden]{display:none!important}#employees-list{display:flex;gap:8px;flex-wrap:wrap;padding:12px 0}#employees-list [aria-pressed=true]{background:#e5effa}#employee-conversation{height:clamp(280px,50vh,620px);overflow:auto;overscroll-behavior:contain;padding:12px 0}.employee-message{max-width:90%;padding:14px 18px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}.employee-user{margin-left:auto;background:#f0f2f5;border-radius:18px}.employee-assistant{margin-right:auto}.employee-message p{white-space:pre-wrap}.employee-message pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:280px;overflow:auto;font-size:12px}.employee-status{color:#64748b}.employee-workspace details{margin-block:14px}.employee-workspace summary{cursor:pointer;min-height:32px}#employee-message-form{display:flex;flex-wrap:wrap;gap:8px;align-items:end}#employee-message-form label{width:100%;margin:0}#employee-message{flex:1;min-width:160px}#employees-error{color:#b42318}@media(max-width:600px){.employee-workspace{padding:12px}.employee-message{max-width:100%;padding:10px}.employee-toolbar h2{font-size:17px}#employee-conversation{height:45vh}}
.agent-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.agent-heading h1{font-size:clamp(24px,3vw,38px);letter-spacing:-.04em;margin:10px 0}.agent-heading p,.agent-hint{color:#64748b}.agent-eyebrow{font-size:11px;letter-spacing:.15em;color:#64748b}.agent-badge{white-space:nowrap;background:#eaf5ed;color:#326440;padding:8px 12px;border-radius:30px;font-size:12px}.agent-layout{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:20px}.agent-card{border:1px solid #dce1e6;border-radius:18px;padding:22px;margin-bottom:18px;background:var(--panel,#fff);min-width:0}.agent-card label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:16px}.agent-card input,.agent-card textarea,.agent-card select{width:100%;box-sizing:border-box;min-width:0;padding:12px;border:1px solid #dce1e6;border-radius:10px;font:inherit;background:transparent;color:inherit}.agent-options{display:flex;gap:12px}.agent-options label{flex:1;min-width:0}.agent-hint{font-size:12px;line-height:1.5}.agent-result pre{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 ui-monospace,monospace;background:#f5f7f9;color:#233046;padding:14px;border-radius:10px}.agent-result details{margin:18px 0}.agent-actions{display:flex;gap:10px;flex-wrap:wrap}#coding-history button{display:block;width:100%;text-align:left;margin-top:12px;white-space:normal;overflow-wrap:anywhere}#coding-story p{white-space:pre-wrap;line-height:1.6}#coding-error{color:#b42318}#coding-approval{padding:14px;background:#fff7e7;border-radius:12px;margin-bottom:20px}#coding-approval button{margin:4px}
.agent-file-layout{display:grid;grid-template-columns:minmax(100px,180px) minmax(0,1fr);gap:12px;margin-top:16px}.agent-file-layout>div{min-width:0}#coding-files{max-height:360px;overflow:auto}#coding-files button{display:block;width:100%;text-align:left;overflow-wrap:anywhere;margin-bottom:6px}#coding-file-content{white-space:pre;min-height:160px}#coding-file-name{overflow-wrap:anywhere}
@media(max-width:850px){#agent-view{padding:16px}.agent-layout{grid-template-columns:1fr}.agent-heading{align-items:flex-start;flex-direction:column}.agent-options{flex-direction:column;gap:0}.agent-file-layout{grid-template-columns:1fr}}
.employee-brand-avatar{display:block;width:36px;height:36px;border-radius:11px;object-fit:cover;flex:0 0 36px;vertical-align:middle;box-shadow:0 5px 16px rgba(22,26,46,.16)}
.employee-brand-avatar.large{width:44px;height:44px;flex-basis:44px;border-radius:13px}
.agent-list-item .employee-brand-avatar{margin-right:10px}
.employee-identity,#employee-chat-title{display:flex;align-items:center;gap:8px;}
.employee-identity{margin-bottom:12px;font-weight:600;}
.employee-artifact{padding:12px 0;overflow-wrap:anywhere}.employee-artifact button{min-height:44px;margin:8px}.employee-artifact pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto}
.employee-attention button{display:block;min-height:44px;width:100%;margin:8px 0;white-space:normal;overflow-wrap:anywhere;text-align:left}

/* Focused Founder workbench: navigation, conversation, optional inspector. */
#agent-view{max-width:none;height:100%;padding:22px 26px 30px;overflow:auto;background:#f7f8fa}
.agent-heading{max-width:1500px;margin:0 auto 14px;padding:0 2px}.agent-heading h1{margin:4px 0;font-size:26px;letter-spacing:-.025em}.agent-heading p{margin:0}.agent-heading-actions{display:flex;align-items:center;gap:8px}.agent-heading-actions button{min-height:36px;padding:7px 11px}.agent-badge{background:#edf5ef;color:#416849}
#agent-notification-status{max-width:1500px;margin:0 auto 8px;color:#64748b;font-size:12px}
.employee-workspace{position:relative;display:grid;grid-template-columns:230px minmax(360px,1fr) 340px;grid-template-rows:auto auto minmax(360px,1fr) auto auto;gap:0;max-width:1500px;height:min(780px,calc(100dvh - 175px));min-height:620px;margin:0 auto 16px;padding:0;overflow:hidden;border:1px solid #dfe3e8;border-radius:15px;background:#fff;box-shadow:0 4px 18px #1118270a}
.employee-toolbar{grid-column:1/-1;grid-row:1;min-height:58px;padding:0 14px;border-bottom:1px solid #e7e9ed;flex-wrap:nowrap}.employee-toolbar h2{margin:0;font-size:16px}.employee-toolbar button{min-height:34px;margin:0;padding:5px 9px;border-radius:8px;background:#fff}.employee-toolbar #employees-toggle{display:none}
#employees-list{grid-column:1;grid-row:2/4;display:flex!important;flex-direction:column;align-items:stretch;gap:4px;min-height:0;padding:10px;border-right:1px solid #e7e9ed;overflow:auto}
#employees-list button{display:flex;align-items:flex-start;width:100%;min-height:54px;margin:0;padding:8px 9px;text-align:left;border:0;background:transparent;color:#343942;font-weight:500}
#employees-list button:hover{background:#f3f4f6}#employees-list button[aria-pressed="true"]{background:#e9ebef;color:#15171a}
.agent-list-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.agent-list-copy strong,.agent-list-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.agent-state{color:#59616d}.agent-list-item[data-status="WORKING"] .agent-state,.agent-list-item[data-status="DONE"] .agent-state{color:#2c6b43}.agent-list-item[data-status="WAITING_APPROVAL"] .agent-state,.agent-needs-decision{color:#925f00}.agent-list-item[data-status="ERROR"] .agent-state{color:#b42318}.agent-current-action{color:#7b8491;font-weight:400}.agent-package-label{color:#536f62;font-size:10px}.agent-package-blocked{color:#a33b32}.agent-needs-decision{margin-top:3px;font-size:10px;font-weight:700}
.agent-package-instance{margin:8px 0;padding:10px 0;border-bottom:1px solid #e7e9ec}.agent-package-instance p{margin:4px 0;color:#68717d}.agent-package-active{color:#2c6b43;font-weight:650}.agent-package-error{color:#a33b32}.task-package{border-color:#cbded3;background:#f8fbf9}
#employee-workspace>details:not(#employee-new):not(#employee-settings){grid-column:1;grid-row:4;margin:0;padding:8px 12px;border-top:1px solid #e7e9ed;border-right:1px solid #e7e9ed;font-size:12px}
#employee-workspace>details:not(#employee-new):not(#employee-settings)>summary{min-height:28px;color:#59616d}
#employee-new{grid-column:1;grid-row:5;margin:0!important;padding:8px 12px;border-top:1px solid #e7e9ed;border-right:1px solid #e7e9ed;font-size:12px;overflow:auto}
#employee-new[open]{position:absolute;z-index:5;left:26px;bottom:34px;width:min(390px,calc(100vw - 52px));max-height:70dvh;padding:16px;border:1px solid #d6dae0;border-radius:14px;background:#fff;box-shadow:0 18px 48px #11182730}
#employee-new input[type="checkbox"],#employee-settings-body input[type="checkbox"]{width:auto;min-width:18px;align-self:flex-start}
#employee-task-navigation{grid-column:2;grid-row:2;display:flex;align-items:center;gap:8px;min-width:0;padding:8px 14px;border-bottom:1px solid #e7e9ed;border-right:1px solid #e7e9ed;background:#fff}#employee-task-navigation label{margin:0;color:#707782;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}#employee-task-select{flex:1;min-width:120px;padding:7px 9px!important;font-size:12px}#employee-task-tabs{display:flex;gap:3px}#employee-task-tabs button{min-height:32px;margin:0;padding:5px 8px;border:0;background:transparent;font-size:11px}#employee-task-tabs button[aria-selected="true"]{background:#e9ebef;color:#15171a}
#employee-conversation{grid-column:2;grid-row:3;height:auto;min-height:0;padding:22px 26px;overflow:auto;border-right:1px solid #e7e9ed;background:#fff}
.work-empty{color:#69717d}.work-instruction{max-width:min(86%,680px);margin:6px 0 18px auto;padding:11px 15px;border:0;border-radius:18px 18px 4px 18px;background:#f0f1f3}.work-task{max-width:740px;margin:0 auto 24px;padding:4px 0 18px}.work-event{max-width:700px;margin:13px 0;padding:2px 0 2px 14px;border:0;border-left:2px solid #d5d9de;border-radius:0;background:transparent;overflow-wrap:anywhere}.work-event p{margin:4px 0;white-space:pre-wrap}.work-event-type{color:#7b838e;font-size:9px;font-weight:700;letter-spacing:.11em}.work-action{border-left-color:#7d9fbe}.work-result{border-left-color:#72a783;background:transparent}.work-error{border-left-color:#cc7c75;background:transparent}.work-decision{border-left-color:#c6a051;background:transparent}.work-task>.employee-status{display:block;margin-bottom:8px}.work-task button{min-height:34px;margin:6px 5px 0 0;padding:6px 10px;border-radius:10px;font-size:12px}
.task-relation,.task-child{margin:8px 0;padding:9px 10px;border:1px solid #dde3e9;border-radius:10px;background:#fbfcfd}.task-relation{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.task-relation button{margin-left:auto}.task-children{margin:10px 0;padding-left:14px;border-left:2px solid #9fb5c9}.task-child{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}.task-child p{grid-column:1/-1;margin:0;color:#66707c;white-space:pre-wrap}.task-child button{grid-column:1/-1;justify-self:start}.delegation-panel{margin-top:10px;padding:9px;border:1px solid #dce2e8;border-radius:10px}.delegation-panel>summary{font-weight:600}.delegation-panel select,.delegation-panel textarea{box-sizing:border-box;width:100%;margin-top:8px;padding:8px;border:1px solid #d7dbe1;border-radius:8px}.delegation-panel textarea{min-height:76px;resize:vertical}.delegation-warning{color:#69717d;font-size:11px}
.delegation-proposal{margin:12px 0;padding:13px;border:1px solid #e5c36b;border-radius:12px;background:#fffaf0}.delegation-proposal h4{margin:7px 0}.delegation-proposal p{white-space:pre-wrap;overflow-wrap:anywhere}.delegation-rationale{color:#5d6672}.delegation-instruction{padding:9px;border-radius:8px;background:#fff}.delegation-approved{color:#356747;font-weight:600}.delegation-denied{color:#69717d}
#employee-message-form{grid-column:2;grid-row:4;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 14px;border-top:1px solid #e7e9ed;border-right:1px solid #e7e9ed;background:#fff;align-items:end}
#employee-active-decision{grid-column:1/-1;margin:0 0 3px;padding:0}#employee-active-decision .decision-card{margin:0;padding:12px;border-width:2px;box-shadow:0 8px 24px #925f0024}#employee-active-decision .decision-card h4{font-size:13px}#employee-active-decision .decision-options button{min-height:42px;padding:9px 14px;font-weight:700}
#employee-message-form label{grid-column:1/-1;color:#707782;font-size:11px}#employee-message{grid-column:1;min-height:62px;max-height:150px;padding:11px;border:1px solid #cfd4da;border-radius:11px;resize:vertical}#employee-send{grid-column:2;min-height:42px;margin:0;background:#272a30;color:#fff;border-color:#272a30}#employee-queue{grid-column:1/-1;margin:0;text-align:left}.employee-workspace #employee-message-form button:not(#employee-send):not(#employee-queue){min-height:34px;margin:0;padding:6px 9px;font-size:11px}
#employee-work-surface{grid-column:3;grid-row:2/6;min-width:0;padding:14px;overflow:auto;background:#fafbfc}#employee-work-surface>header h3{margin:3px 0 12px;font-size:16px}#employee-surface-current{padding:12px;border:1px solid #e0e4e8;border-radius:12px;background:#fff}#employee-surface-current h4,#employee-surface-artifact h4{margin:9px 0 6px}#employee-surface-current p{margin:5px 0;overflow-wrap:anywhere;white-space:pre-wrap}.surface-status{display:inline-block;padding:4px 7px;border-radius:99px;background:#eef0f3;color:#59616d;font-size:10px;font-weight:700}.surface-working,.surface-done{background:#e8f4eb;color:#356747}.surface-waiting_approval{background:#fff3d6;color:#8b5d00}.surface-error{background:#ffebe9;color:#a3261c}.surface-attention{color:#8b5d00;font-weight:600}#employee-surface-artifact{margin-top:10px;padding:12px;border:1px solid #dfe3e8;border-radius:12px;background:#fff}#employee-surface-artifact pre{max-height:360px;overflow:auto;white-space:pre-wrap;font:11px/1.5 ui-monospace,monospace}#employee-settings{margin-top:12px!important;padding:8px 0}#employee-settings>summary{font-weight:600}#employee-settings-body{font-size:12px}#employee-settings-body button{min-height:34px;margin:4px 0;padding:6px 9px;font-size:12px}#employee-settings-body textarea,#employee-settings-body input,#employee-settings-body select{box-sizing:border-box;width:100%;margin:5px 0;padding:8px;border:1px solid #d7dbe1;border-radius:8px}
#employee-work-surface>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}#employee-surface-close{display:none}.task-status-line{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 16px;padding:5px 0 12px;border-bottom:1px solid #eceef1;background:transparent}.task-status-line strong{font-size:14px}.task-status-line small{color:#7b828c;font-size:11px;text-align:right}.task-technical-log{margin:16px 0!important;padding:0;color:#737b86}.task-technical-log>summary{font-size:11px;font-weight:600}.task-technical-log p{margin:8px 0;padding-left:10px;border-left:1px solid #d8dde3;font-size:11px;white-space:pre-wrap}.task-completion{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 4px;padding:14px 0 0;border:0;border-top:1px solid #e6e9ec;background:transparent}.task-completion p{flex:1 1 240px;margin:0;color:#69717d;font-size:12px}.task-completion button{margin:0}
.employee-screen>header>div{display:flex;align-items:center;gap:8px;min-width:0}.browser-control-state{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;border-radius:999px;background:#edf0f3;color:#59616d;font-size:9px;font-weight:800;letter-spacing:.08em}.browser-control-state[data-control="human"]{background:#eaf2fb;color:#285f92}.browser-control-state[data-control="human_private"]{background:#fff0d8;color:#8a5600}.browser-control-state[data-control="agent"]{background:#e8f4eb;color:#326440}.browser-control-state[data-control="blocked"]{background:#ffebe9;color:#a3261c}#employee-private-resume{background:#272a30;color:#fff;border-color:#272a30}.employee-private-controls{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.employee-private-controls input{flex:1 1 180px}
#employees-error{grid-column:2;grid-row:5;margin:0;padding:0 14px 7px;background:#fff}
.agent-advanced{max-width:1500px;margin:0 auto;padding:12px 14px;border:1px solid #dfe3e8;border-radius:12px;background:#fff}.agent-advanced>summary{cursor:pointer;color:#4f5661;font-size:13px}.agent-advanced[open]>summary{margin-bottom:16px}.agent-advanced .agent-layout{margin-top:8px}
@media(max-width:1180px){.employee-workspace{grid-template-columns:190px minmax(320px,1fr) 290px}}
@media(max-width:900px){.employee-workspace{height:auto;min-height:650px;grid-template-columns:190px minmax(320px,1fr);grid-template-rows:auto auto minmax(420px,60dvh) auto auto}#employee-work-surface{grid-column:1/-1;grid-row:auto;max-height:420px;border-top:1px solid #e7e9ed}#employee-task-navigation,#employee-conversation,#employee-message-form{border-right:0}}
@media(max-width:760px){#agent-view{padding:10px}.agent-heading{align-items:flex-start;gap:8px}.agent-heading h1{font-size:22px}.agent-heading p{font-size:12px}.agent-heading-actions{align-self:stretch;justify-content:space-between}.employee-workspace{display:flex;height:auto;min-height:calc(100dvh - 155px);border-radius:12px;flex-direction:column}.employee-toolbar{flex:0 0 auto}.employee-toolbar #employees-toggle{display:block}#employees-list{display:flex!important;position:absolute;z-index:6;top:58px;left:0;width:min(300px,88vw);max-height:calc(100% - 58px);box-sizing:border-box;background:#fff;box-shadow:10px 16px 30px #11182722}#employees-list[hidden]{display:none!important}#employee-workspace>details:not(#employee-new):not(#employee-settings),#employee-new{display:none}#employee-task-navigation{flex-wrap:wrap;padding:7px 9px}#employee-task-navigation label{display:none}#employee-task-select{flex-basis:100%}#employee-task-tabs{width:100%;overflow:auto}#employee-task-tabs button{flex:1}#employee-conversation{height:48dvh;flex:1;min-height:340px;padding:14px;border:0}#employee-message-form{display:grid;flex:0 0 auto;padding:8px;border-right:0}#employee-work-surface{max-height:none;border-top:1px solid #e7e9ed}.agent-advanced{margin-bottom:20px}.agent-layout{grid-template-columns:1fr}}

/* Mobile workbench: one viewport, no desktop columns or competing minimum widths. */
@media(max-width:760px){
  #agent-view{width:100%;max-width:100%;padding:12px 10px 24px;overflow-x:hidden;box-sizing:border-box}
  .agent-heading{width:100%;min-width:0;margin-bottom:8px;flex-direction:row;align-items:center}
  .agent-heading>div:first-child,.agent-heading-actions{min-width:0;max-width:100%}
  .agent-heading .agent-eyebrow,.agent-heading p,.agent-badge{display:none}
  .agent-heading h1{margin:0;font-size:20px}
  .agent-heading-actions{width:auto;margin-left:auto}
  .agent-heading-actions button{max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .employee-workspace{width:100%;max-width:100%;min-width:0;min-height:0;margin:0;overflow:hidden;border:0;border-radius:0;box-shadow:none;box-sizing:border-box}
  .employee-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;width:100%;min-width:0;gap:7px;padding:8px;align-items:center;box-sizing:border-box}
  .employee-toolbar h2{display:flex;min-width:0;max-width:100%;gap:6px;font-size:14px;overflow:hidden}
  #employee-chat-title span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .employee-toolbar .employee-brand-avatar.large{width:34px;height:34px;margin:0;flex:0 0 34px;border-radius:10px}
  .employee-toolbar #employees-toggle{min-width:38px;padding:6px 8px;font-size:0}
  .employee-toolbar #employees-toggle:after{content:'\2630';font-size:18px}
  .employee-toolbar #employee-screen-open{max-width:76px;padding:6px 8px;font-size:0;white-space:nowrap}
  .employee-toolbar #employee-screen-open:after{content:'Экран';font-size:12px}
  .employee-toolbar #employees-refresh{width:36px;padding:6px;font-size:16px}
  #employees-list{top:51px;width:min(300px,calc(100vw - 40px));max-width:calc(100% - 12px)}
  #employee-task-navigation,#employee-conversation,#employee-message-form,#employee-work-surface{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  #employee-task-navigation[data-single="true"]>label,#employee-task-navigation[data-single="true"]>#employee-task-select{display:none}
  #employee-task-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}
  #employee-task-tabs button{min-width:0;padding-inline:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #employee-conversation{height:auto;min-height:260px;max-height:none;padding:16px 14px 10px;border:0}
  #employee-message-form{grid-template-columns:minmax(0,1fr) auto;padding:10px}
  #employee-message{width:100%;min-width:0;min-height:72px}
  #employee-send{max-width:94px;padding-inline:10px}
  #employee-work-surface{display:none;padding:12px;overflow:visible}
  .employee-workspace.surface-open #employee-work-surface{display:block}
  #employee-surface-close{display:block;min-height:34px;margin:0;padding:6px 9px;background:#fff}
  #employee-screen-close{display:none}
  .work-task{margin-bottom:8px;padding-top:4px}.work-instruction{margin:4px 0 18px auto;padding:10px 14px}.work-event{margin:13px 0;padding:2px 0 2px 12px}
  .task-status-line{align-items:flex-start;flex-direction:column;gap:2px}.task-status-line small{text-align:left}
  .employee-screen-frame{min-height:180px}
  .employee-private-controls input{width:100%;min-width:0}
}

.decision-card{margin:12px 0;padding:15px;border:1px solid #ead8aa;border-radius:14px;background:#fffaf0}.decision-card h4{margin:6px 0;font-size:15px}.decision-card p{white-space:pre-wrap;overflow-wrap:anywhere}.decision-options{display:flex;gap:7px;flex-wrap:wrap}.decision-state{color:#69717d;font-size:11px}.task-result-empty,.task-files-empty,.task-changes-empty{color:#69717d;padding:18px 0}.task-result-panel,.task-changes-panel{padding:2px 0 2px 14px;border-left:2px solid #72a783;background:transparent}.task-changes-panel{border-left-color:#7d9fbe;background:transparent}.task-changes-panel pre{max-height:420px;overflow:auto;white-space:pre-wrap;font:11px/1.5 ui-monospace,monospace}
.task-result-text{white-space:pre-wrap;overflow-wrap:anywhere}.task-result-preview{margin-bottom:8px}.task-result-full{margin:4px 0!important}.task-result-full>summary{font-size:12px;font-weight:650}.task-result-full>p{white-space:pre-wrap;overflow-wrap:anywhere}
.task-current-notice{position:sticky;top:0;z-index:3;padding:12px 14px;margin-bottom:16px;background:#edf4ff;color:#203d63;border-radius:12px;box-shadow:0 3px 12px #182e5010}.task-current-notice p{margin:4px 0;font-size:12px}.employee-workspace .task-current-notice button{min-height:44px;margin:6px 0 0;background:#253b61;color:white;border:0;font-weight:600}
.task-current-shortcut{position:fixed;z-index:60;right:24px;bottom:calc(18px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 32px)}.task-current-shortcut[hidden],#agent-view.hidden .task-current-shortcut,#agent-view:has(.surface-open) .task-current-shortcut{display:none!important}.task-current-shortcut button{min-height:48px;padding:12px 18px;border:0;border-radius:16px;background:#253b61;color:#fff;font:600 14px/1.3 inherit;box-shadow:0 5px 20px #182e5040;cursor:pointer}@media(max-width:760px){.task-current-shortcut{right:16px;left:16px}.task-current-shortcut button{width:100%;font-size:15px}#agent-view:has(.task-current-shortcut:not([hidden])){padding-bottom:100px}}

/* E2a: Founder-authenticated read-only view of the isolated Chrome tab. */
.employee-screen[hidden]{display:none!important}.employee-screen{display:flex;min-height:260px;margin-top:10px;padding:10px;flex-direction:column;border-radius:12px;background:#17191e;color:#f7f8fa}.employee-screen>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.employee-screen button{min-height:32px;margin:0;padding:5px 8px;border:1px solid #505661;border-radius:8px;background:#252931;color:#fff}.employee-screen>#employee-screen-status{margin:7px 0;color:#c4cad3;font-size:10px;overflow-wrap:anywhere}.employee-screen-frame{position:relative;display:grid;min-height:190px;place-items:center;overflow:hidden;border:1px solid #363b45;border-radius:9px;background:#0b0c0f}.employee-screen-frame img{display:block;max-width:100%;max-height:100%;object-fit:contain}.employee-screen[data-stale="true"] .employee-screen-frame img{opacity:.42;filter:grayscale(.7)}.employee-screen[data-stale="true"] .employee-screen-frame:after{content:'Изображение устарело';position:absolute;padding:7px 9px;border-radius:7px;background:#111827dd;color:#fff;font-size:11px;font-weight:600}.employee-screen>.agent-hint{margin:8px 0 0;color:#aab1bc}
.employee-private-controls{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}.employee-private-controls input{min-width:180px;flex:1;margin:0;padding:7px 9px;border:1px solid #59606d;border-radius:8px;background:#0f1115;color:#fff}.employee-screen[data-private="true"]{box-shadow:inset 0 0 0 2px #5b8def}.employee-screen[data-private="true"] .employee-screen-frame{cursor:crosshair}.employee-screen[data-private="true"] .employee-screen-frame img{user-select:none;-webkit-user-drag:none}.employee-screen[data-private="true"]>#employee-screen-status{color:#dbe8ff}.employee-screen[data-private="true"]>#employee-private-hint{color:#f1d486}
.extension-intake,.extension-card{display:grid;gap:6px;margin:10px 0;padding:12px;border:1px solid #dfe3e8;border-radius:12px;background:#fff}.extension-card p{margin:2px 0;overflow-wrap:anywhere}.extension-card label{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin:2px 0!important}.extension-card label input{width:auto!important;margin:0!important}.extension-status{color:#64748b}.extension-warning{color:#8b5d00}
