/* The renderer owns only this surface. Page layouts remain in their own CSS. */
.eco-stage{position:relative;isolation:isolate;container-type:inline-size;min-height:440px;overflow:hidden;border-radius:20px;background:#0c202c;color:#eaf5f2;font-family:Manrope,sans-serif}
.eco-stage *{box-sizing:border-box}.eco-world{position:absolute;inset:0}.eco-canvas{display:block;width:100%;height:100%}.eco-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8ce8ee}.eco-fallback[hidden]{display:none}.eco-fallback strong{font-size:54px;font-weight:800;letter-spacing:-.06em}.eco-fallback span{font-size:14px}
.eco-mode-note{position:absolute;left:25px;right:25px;top:25px;max-width:320px;pointer-events:none;font-size:14px;line-height:1.4;font-weight:600}.eco-service-label{position:absolute;left:25px;bottom:25px;right:25px;pointer-events:none;color:#8ce8ee;font-size:12px;font-weight:600;line-height:1.5}
.eco-panel{position:absolute;z-index:2;right:24px;top:62px;width:43%;max-width:360px;padding:18px;background:#f4f6ef;color:#143641;border-radius:12px}.eco-panel[hidden]{display:none}.eco-panel-heading{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}.eco-panel-heading strong{font-size:14px;line-height:1.3}.eco-panel-heading>span{font-size:9px;color:#536e70;letter-spacing:.04em}.eco-demo-note{font-size:10px;line-height:1.55;margin:10px 0 0;color:#55716e}
/* Costs, delivery, control and time keep their established staging. */
.eco-stage[data-eco-mode=control]{min-height:550px}.eco-stage[data-eco-mode=control] .eco-world{right:38%;z-index:3;pointer-events:none}.eco-stage[data-eco-mode=control] .eco-dashboard{top:74px;transform:perspective(1200px) rotateY(-5deg);box-shadow:-14px 20px 38px #020e172b}.eco-ledger{margin:20px 0 0}.eco-ledger>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;font-size:12px;border-bottom:1px solid #cfddd7}.eco-ledger dt,.eco-ledger dd{margin:0}.eco-ledger dd{white-space:nowrap;font-variant-numeric:tabular-nums}.eco-ledger .eco-total{border:0;font-weight:800;font-size:13px;padding-top:18px}.eco-decision{font-size:12px;line-height:1.5;color:#2d5859;margin:16px 0 0}
.eco-stage[data-eco-layout=compact]:not([data-eco-mode=sales]){min-height:320px}.eco-stage[data-eco-layout=compact]:not([data-eco-mode=sales]) .eco-mode-note{top:14px;left:16px;font-size:12px;max-width:80%}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-dashboard{top:48px;right:12px;padding:12px;width:55%;max-width:none;transform:none}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-world{right:56%}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-panel-heading{margin-bottom:9px}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-panel-heading strong{font-size:12px}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-ledger{margin:0}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-ledger>div{padding:4px 0;font-size:11px}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-decision{margin-top:8px;font-size:10px}.eco-stage[data-eco-layout=compact][data-eco-mode=control] .eco-demo-note{display:none}.eco-stage[data-eco-layout=compact]:not([data-eco-mode=sales]) .eco-service-label{left:16px;bottom:16px;font-size:10px;right:170px}
.eco-stage.eco-narrow:not([data-eco-layout=compact])[data-eco-mode=control]{min-height:620px}.eco-stage.eco-narrow:not([data-eco-layout=compact])[data-eco-mode=control] .eco-world{inset:0 0 auto;height:260px}.eco-stage.eco-narrow:not([data-eco-layout=compact])[data-eco-mode=control] .eco-dashboard{top:250px;left:20px;right:20px;width:auto;max-width:none;transform:none}
/* Each ledger emphasis follows the agent's review; values stay fixed. */
.eco-ledger>div{position:relative;isolation:isolate}.eco-row-focus{position:absolute;inset:3px -9px;border-radius:5px;background:#d8eae3;z-index:-1;pointer-events:none;opacity:0}
/* Direction: the agent resolves a small, identified example queue, then hands the decision back. */
.eco-stage[data-eco-mode=freedom]{min-height:550px}.eco-stage[data-eco-mode=freedom] .eco-world{right:40%;z-index:3;pointer-events:none}.eco-stage[data-eco-mode=freedom] .eco-direction{top:104px;width:46%;max-width:320px;padding:20px}.eco-task-list{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:0}.eco-task-list li{display:grid;grid-template-columns:23px 1fr auto;gap:8px;align-items:center;min-height:66px;padding:12px 0;border-bottom:1px solid #d1dfd8}.eco-task-list li:last-child{border-bottom:0}.eco-task-list strong{display:block;font-size:13px;line-height:1.4;font-weight:700}.eco-task-list li div>span{display:block;font-size:10px;line-height:1.5;color:#506f68;margin-top:3px}.eco-task-list small{font-size:9px;font-weight:600;color:#506f68;white-space:nowrap}.eco-task-mark{display:grid;place-items:center;width:22px;height:22px;border:1px solid #a6c6bd;border-radius:50%;color:#1d594a;background:#edf4ee}.eco-task-mark>span{font-size:13px;line-height:1;opacity:0}.eco-task-list [data-eco-task=current] .eco-task-mark{border-color:#2b6a5c}.eco-task-list [data-eco-task=done] .eco-task-mark{background:#d8eae3}.eco-direction-decision{font-size:13px;line-height:1.5;font-weight:700;color:#245e4c;margin:18px 0 0;opacity:0;min-height:40px}
.eco-stage.eco-narrow[data-eco-mode=freedom]{height:auto;min-height:0;padding:280px 0 24px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-world{inset:0 0 auto;height:280px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-direction{position:relative;inset:auto;width:auto;max-width:none;margin:0 20px;padding:18px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-service-label{display:none}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-mode-note{font-size:14px;max-width:none}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-task-list{margin-top:12px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-task-list li{min-height:56px;padding:10px 0}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-task-list strong{font-size:14px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-task-list li div>span{font-size:12px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-task-list small{font-size:10px}.eco-stage.eco-narrow[data-eco-mode=freedom] .eco-direction-decision{min-height:20px;margin-top:14px}
/* Sales: two readable turns and an optional full transcript, never nested scrolling. */
.eco-stage[data-eco-mode=sales]{min-height:620px;height:auto}.eco-stage[data-eco-mode=sales] .eco-world{inset:0 48% 0 0}.eco-stage[data-eco-mode=sales] .eco-mode-note{display:none}.eco-stage[data-eco-mode=sales] .eco-chat{position:relative;inset:auto;width:45%;max-width:410px;min-height:470px;margin:62px 22px 76px auto;padding:22px;display:block}.eco-chat-window{height:auto;min-height:210px;overflow:visible;position:relative}.eco-chat .eco-panel-heading{margin-bottom:10px}.eco-turn-status{font-size:12px;line-height:1.45;color:#456d69;margin:0 0 18px}.eco-messages{list-style:none;margin:0;padding:0;display:grid;gap:12px}.eco-messages li{font-size:14px;line-height:1.55;padding:11px 13px;max-width:96%;background:#deeeea;border-radius:9px 9px 9px 2px;opacity:.8}.eco-messages li[aria-hidden=true]{display:none}.eco-messages .eco-customer{justify-self:end;background:#fff;border-radius:9px 9px 2px 9px}.eco-messages small{display:block;font-size:10px;font-weight:700;margin-bottom:3px;color:#4a6865}.eco-message-shown{animation:eco-message-in 180ms cubic-bezier(.16,1,.3,1) both}.eco-messages li.eco-message-current,.eco-stage[data-eco-transcript=true] .eco-messages li{opacity:1}.eco-chat-result{font-size:12px;font-weight:700;line-height:1.5;min-height:36px;margin-top:16px;color:#215e4d;visibility:hidden}.eco-result-shown{visibility:visible}.eco-conversation-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}.eco-conversation-controls button{min-height:44px;font:600 11px Manrope,sans-serif;color:#315f5b;background:transparent;padding:8px 0;border:0;text-align:left;cursor:pointer}.eco-conversation-controls button[hidden]{display:none}.eco-conversation-controls button:focus-visible{outline:2px solid #287167;outline-offset:3px}.eco-conversation-controls button:active{transform:translateY(1px)}
/* Speech position is projected from each model's head, not an invented fixed point. */
.eco-speech{position:absolute;left:0;top:0;z-index:4;width:0;height:0;pointer-events:none;will-change:transform}.eco-speech[hidden]{display:none}.eco-speech-content{position:relative;width:180px;transform:translate(-50%,-100%);transform-origin:50% 100%;padding:11px 13px;background:#ddf4ee;border:1px solid #c4e3dc;border-radius:14px 14px 14px 3px;color:#153f3a;box-shadow:0 8px 20px -12px #001c2340;animation:eco-speech-arrive 180ms cubic-bezier(.16,1,.3,1) both}.eco-speech-content::after{content:'';position:absolute;left:calc(50% - 5px);bottom:-6px;width:10px;height:10px;transform:rotate(45deg);background:inherit;border-right:1px solid #c4e3dc;border-bottom:1px solid #c4e3dc}.eco-speech small{display:block;font:700 10px/1.4 Manrope,sans-serif;color:#456b63;margin-bottom:4px}.eco-speech span{display:block;font:500 13px/1.45 Manrope,sans-serif}.eco-speech-customer .eco-speech-content{background:#fffdf8;color:#35473d;border-radius:14px 14px 3px 14px;border-color:#dfdfd3}.eco-speech-customer .eco-speech-content::after{border-color:#dfdfd3}
/* Audio is an identified, static format sample. It is not a playback control. */
.eco-audio-example{margin-top:9px;padding:10px 0 2px;border-top:1px solid #a9c7c0;cursor:default}.eco-audio-title{display:block;font-size:11px;line-height:1.45;font-weight:700;color:#244e4e}.eco-audio-wave{display:flex;align-items:center;gap:3px;height:27px;margin-block:5px}.eco-audio-wave i{display:block;flex:1;max-width:4px;min-width:2px;height:var(--bar);border-radius:3px;background:#4c807b}.eco-audio-caption{display:block;font-size:9px;line-height:1.5;color:#4a6865}
/* Narrow hosts get a distinct composition, including formerly compact scenes. */
.eco-stage.eco-narrow[data-eco-mode=sales]{min-height:0;height:auto;padding-top:280px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-world{inset:0 0 auto;width:100%;height:280px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-chat{position:relative;inset:auto;width:auto;max-width:none;min-height:0;margin:0 16px 12px;padding:16px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-chat-window{height:auto;min-height:0;overflow:visible}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-panel-heading{margin-bottom:8px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-panel-heading strong{display:none}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-panel-heading>span{font-size:10px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-turn-status{font-size:12px;margin-bottom:12px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-messages li{font-size:15px;line-height:1.5;padding:10px 13px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-chat-result{min-height:20px;margin-top:10px;font-size:12px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-service-label{display:none}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-conversation-controls{margin-top:6px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-audio-title{font-size:11px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-audio-wave{height:18px;margin-block:3px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-audio-wave i{max-height:18px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-audio-caption{display:none}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-speech-content{width:172px}.eco-stage.eco-narrow[data-eco-mode=sales] .eco-speech span{font-size:12px}
/* Paper variants inherit their surrounding page; there is no dark picture frame. */
.eco-stage[data-eco-theme=paper]{background:transparent;color:#1e3e38;border-radius:0}.eco-stage[data-eco-theme=paper] .eco-mode-note,.eco-stage[data-eco-theme=paper] .eco-service-label,.eco-stage[data-eco-theme=paper] .eco-fallback{color:#315f57}.eco-stage[data-eco-theme=paper] .eco-chat{background:transparent;box-shadow:none}.eco-stage[data-eco-theme=paper] .eco-panel-heading strong{color:#25463d}.eco-stage[data-eco-theme=paper] .eco-messages .eco-customer{background:#fafbf7;border:1px solid #d8e0d5}.eco-stage[data-eco-theme=paper] .eco-direction{background:transparent;box-shadow:none}.eco-stage[data-eco-theme=paper] .eco-dashboard{box-shadow:0 14px 30px -22px #143b3833;background:#f7faf4}
@keyframes eco-message-in{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@keyframes eco-speech-arrive{from{opacity:0;transform:translate(-50%,calc(-100% + 6px)) scale(.97)}to{opacity:1;transform:translate(-50%,-100%) scale(1)}}
@media(prefers-reduced-motion:reduce){.eco-stage *, .eco-stage *::before,.eco-stage *::after{animation:none!important;transition:none!important}.eco-messages li{opacity:1}}
@media(hover:hover) and (pointer:fine){.eco-conversation-controls button:hover{color:#183a32;text-decoration:underline;text-underline-offset:4px}}
