:root{color-scheme:light;--ink:#172b24;--muted:#6d7973;--accent:#117b58;--line:#dbe2dc;--surface:#f9fbf8}
.office-providers .provider-option input{position:static;opacity:1;pointer-events:auto}
.office-providers .provider-name small{white-space:normal}
.office-app .model-error-message{white-space:normal}
.office-app{margin:0;color:var(--ink);font-family:Inter,Arial,sans-serif;background:#e8eae5;overflow:hidden;letter-spacing:0;font-size:14px}
.office-app *{box-sizing:border-box;letter-spacing:0}.office-app button,.office-app select{font:inherit;cursor:pointer}.office-app button:focus-visible,.office-app select:focus-visible,.office-app input:focus-visible{outline:3px solid #3c9e80;outline-offset:3px}.office-app button:disabled{opacity:.5;cursor:wait}
.office-header{position:fixed;inset:0 0 auto;height:76px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:var(--surface);border-bottom:1px solid var(--line);z-index:5;gap:12px}
.office-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);min-width:0}.brand-logo{width:42px;height:42px;display:block;object-fit:cover;border-radius:8px;box-shadow:0 4px 14px rgba(0,92,255,.18);flex-shrink:0}.office-brand b{font-size:16px;display:block}.office-brand b span{font-size:11px;font-weight:500;margin-left:5px}.office-brand small{font-size:9px;color:var(--muted);display:block;margin-top:5px}
.office-app .top-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.quality-control{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.quality-control select{border:1px solid var(--line);border-radius:5px;padding:9px 8px;background:#fff;color:var(--ink);max-width:148px;font-size:12px}
.office-icon{background:#fff;border:1px solid var(--line);border-radius:5px;color:var(--ink);display:grid;place-items:center;width:35px;height:35px;font-size:21px;padding:7px;flex-shrink:0}.office-icon svg{width:20px;height:20px}.office-icon:hover{background:#edf3ed}.install-app{width:auto;min-width:42px;padding:7px 8px;font-size:8px;font-weight:800;letter-spacing:.05em}.install-app[hidden]{display:none!important}
#office-stage{position:fixed;inset:76px 0 116px;overflow:hidden}#office-canvas,#office-canvas canvas{width:100%;height:100%;display:block;touch-action:none}
.office-status{position:absolute;top:22px;left:28px;display:flex;align-items:center;gap:10px;pointer-events:none;background:rgba(249,251,248,.92);border:1px solid #dbe2dc;padding:10px 14px;border-radius:5px;max-width:calc(100% - 56px)}.office-status b{display:block;font-size:12px}.office-status span:not(.status-light){display:block;font-size:10px;color:var(--muted);margin-top:4px}.status-light{width:7px;height:7px;background:var(--accent);border-radius:50%;flex-shrink:0}
.view-controls{position:absolute;right:26px;bottom:18px;z-index:5;display:flex;gap:6px;align-items:center}.view-controls #render-info{font-size:9px;padding:8px;background:#f9fbf8;border:1px solid var(--line);border-radius:4px;min-width:85px;color:var(--muted);text-align:center}
.office-dock{position:fixed;inset:auto 0 0;min-height:116px;padding:15px 28px 31px;display:flex;align-items:center;gap:28px;background:var(--surface);border-top:1px solid var(--line);z-index:6}
.dock-market{display:grid;grid-template-columns:auto auto;gap:4px 12px;align-items:center;min-width:150px}.market-code{font-size:14px;font-weight:800}.market-code span{font-weight:400;color:var(--muted);font-size:10px;margin-left:2px}.dock-market b{font-size:18px;font-variant-numeric:tabular-nums}.dock-market small{grid-column:1/-1;font-size:10px;color:var(--muted)}
.dock-consensus{border:0;border-left:1px solid var(--line);padding:0 0 0 24px;background:none;display:block;text-align:left;color:var(--ink);min-width:126px}.dock-consensus small{display:block;font-size:9px;color:var(--muted);margin-bottom:5px}.dock-consensus b{font-size:19px;margin-right:10px}.dock-consensus span{font-size:10px;color:var(--muted)}
.dock-nav{display:flex;gap:4px;margin-left:auto}.dock-nav button{padding:10px 13px;border:0;background:none;color:var(--muted);border-radius:5px;font-size:12px}.dock-nav button:hover{background:#e9f0e9;color:var(--ink)}
.office-run{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--accent);color:#fff;border:0;border-radius:6px;min-height:44px;min-width:188px;padding:12px 17px;font-weight:600!important;font-size:12px!important}.office-run svg{width:16px;height:16px;flex-shrink:0}.office-run:hover:not(:disabled){background:#0e6347}
.office-message{position:absolute;bottom:10px;right:28px;left:28px;font-size:10px;color:var(--muted);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.office-message.error{color:#b83542}.office-message.success{color:var(--accent)}
.office-panel{position:fixed;left:auto;right:22px;top:92px;bottom:132px;margin:0;width:390px;max-width:calc(100% - 32px);max-height:calc(100dvh - 224px);border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);padding:22px;box-shadow:0 12px 40px #182b2420;overflow:auto;z-index:10}.office-panel[open]{display:block}.office-panel:not([open]){display:none}.office-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:18px}.office-panel-head small{font-size:9px;color:var(--accent)}.office-panel-head h2{font-size:20px;margin:5px 0 0}.office-panel-head button{border:0;background:none}
.provider-picker-head{display:flex;justify-content:space-between;font-size:12px;margin-bottom:12px}#provider-count{color:var(--accent);font-size:11px}.office-providers{display:grid;gap:7px}.office-providers .provider-option{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:5px;cursor:pointer;min-width:0;background:#fff}.office-providers .provider-option.selected{border-color:#91bea6;background:#eef5ef}.office-providers input{accent-color:var(--accent);flex-shrink:0;width:14px;height:14px}.office-providers .provider-mark{display:none}.office-providers .provider-name{min-width:0;flex:1}.office-providers b{font-size:12px;display:block}.office-providers small{font-size:10px;display:block;overflow-wrap:anywhere;color:var(--muted);margin-top:4px}.office-providers .provider-check{display:none}#provider-help,#team-note{font-size:11px;line-height:1.7;color:var(--muted)}#team-note{border-top:1px solid var(--line);padding-top:12px;font-size:10px}
.result-summary>span{font-size:10px;color:var(--accent);display:block}.result-summary>small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.result-summary p{font-size:12px;line-height:1.6}.result-stats{display:flex;flex-wrap:wrap;gap:12px;font-size:10px;border-top:1px solid var(--line);padding-top:12px}.office-vote-bar{height:4px;display:flex;background:#dce1da;margin:16px 0}.office-vote-bar i{display:block}#buy-bar{background:var(--accent)}#sell-bar{background:#cb5961}
.office-model-results .model-row{display:flex;align-items:center;gap:8px;background:none;padding:12px 0;border-bottom:1px solid var(--line);border-radius:0;min-width:0}.office-model-results .model-avatar{display:none}.office-model-results .model-info{min-width:0;flex:1}.office-model-results b{font-size:12px}.office-model-results small{font-size:9px;color:var(--muted);display:block;overflow-wrap:anywhere}.office-app .signal-pill{font-size:10px;border:1px solid var(--line);padding:4px 6px;overflow-wrap:anywhere;max-width:110px;background:#edf2ed;color:var(--ink);border-radius:4px}.office-app .signal-pill.buy,.office-app .signal-buy{color:var(--accent)}.office-app .signal-pill.sell,.office-app .signal-sell{color:#b83542}.office-app .model-error-message{font-size:10px;line-height:1.5;color:#b83542;overflow-wrap:anywhere}.office-empty{padding:25px 0;font-size:12px;color:var(--muted)}
.history-toolbar{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin-bottom:12px}.history-toolbar button{border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--ink);padding:7px 10px}.office-history-scroll{overflow-x:auto}.office-history-scroll table{font-size:10px;white-space:nowrap}.office-app th,.office-app td{color:var(--ink);border-bottom:1px solid var(--line);padding:12px 8px;font-size:10px}.office-app .id-cell{font-size:9px}.office-app .open-detail{color:var(--accent)}
#speech-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.office-speech{position:absolute;max-width:260px;min-width:150px;transform:translate(-50%,-100%);background:#fbfdfb;border:1px solid #a5b8a9;border-radius:7px;padding:10px 13px;box-shadow:0 4px 18px #142c2520;color:var(--ink);font-size:11px;line-height:1.5}.office-speech::after{content:"";position:absolute;width:9px;height:9px;background:#fbfdfb;border-right:1px solid #a5b8a9;border-bottom:1px solid #a5b8a9;left:50%;bottom:-6px;transform:rotate(45deg)}.office-speech b{display:block;font-size:9px;color:var(--accent);margin-bottom:3px}
.scene-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted);background:#e8eae5;z-index:2;font-size:12px}.loading-ring{width:28px;height:28px;border:2px solid #c5d5c9;border-top-color:var(--accent);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.scene-error{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:24px;background:var(--surface);border-radius:8px;width:340px;max-width:90%;z-index:3}.scene-error h2{font-size:18px}.scene-error p{font-size:12px;line-height:1.6}.scene-error button{background:var(--accent);border:0;border-radius:5px;padding:10px 15px;color:white}
.office-app .hidden,.office-app [hidden]{display:none!important}.office-app .detail-modal{background:#172b2455;z-index:30}.office-app .detail-card{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:8px;width:700px;max-width:calc(100% - 24px)}.office-app .detail-pre{background:#edf1eb;color:var(--ink);font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere}.office-app .detail-head{border-color:var(--line)}.office-app .detail-close,.office-app .mdl-btn{color:var(--ink);border-color:var(--line)}.office-app .mdl-input{background:white;color:var(--ink);border-color:var(--line)}.office-app .mdl-row{border-color:var(--line)}.office-app #models-btn{font-size:11px;border:1px solid var(--line);border-radius:5px;background:white;color:var(--ink);padding:9px}.office-app .mdl-key.ok{color:var(--accent)}
@media(max-width:800px){.office-header{padding:0 16px}.office-brand b span{display:none}.quality-control>span{display:none}.office-dock{gap:14px;padding-left:16px;padding-right:16px}.dock-consensus{padding-left:14px;min-width:100px}.dock-nav button{padding:10px 8px}.office-run{min-width:150px}.office-status{left:16px;top:16px}.view-controls{right:16px}}
@media(max-width:600px){.office-header{height:66px;gap:6px;padding:0 12px}.office-brand{gap:7px}.brand-logo{width:32px;height:32px;border-radius:7px}.office-brand b{font-size:14px}.office-brand small{font-size:7px}.office-app .top-actions{gap:5px}.quality-control select{max-width:98px;padding:8px 4px;font-size:10px}.office-app #models-btn{font-size:10px;margin:0;padding:8px 5px}.office-header .office-icon{width:29px;height:29px;padding:5px}.office-header .install-app{width:auto;min-width:34px;padding:5px 6px;font-size:7px}#office-stage{top:66px;bottom:178px}.office-dock{min-height:178px;padding:12px 14px calc(33px + env(safe-area-inset-bottom));gap:10px;flex-wrap:wrap;align-content:flex-start}.dock-market{flex:1;min-width:130px;gap:4px 8px}.dock-market b{font-size:17px}.dock-consensus{min-width:110px}.dock-nav{margin:4px 0 0;gap:0;flex:1}.dock-nav button{font-size:11px;padding:10px 8px}.office-run{min-width:145px;min-height:42px;font-size:11px!important;padding:10px}.office-message{left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom));text-align:left;font-size:9px}.office-status{left:12px;top:12px;padding:8px 10px;max-width:calc(100% - 24px)}.office-status b{font-size:11px}.office-status span:not(.status-light){font-size:9px}.view-controls{bottom:12px;right:12px;gap:4px}.view-controls .office-icon{width:31px;height:31px}.view-controls #render-info{font-size:8px;min-width:70px;padding:8px 5px}.office-panel{top:auto;bottom:186px;right:12px;left:12px;width:auto;max-width:none;max-height:calc(100dvh - 275px);padding:18px}.office-panel-head h2{font-size:18px}.office-speech{max-width:210px;font-size:10px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.loading-ring{animation:none}}
.snapshot-groups{display:grid;gap:8px;margin:14px 0}.snapshot-card{border:1px solid var(--line);border-radius:6px;padding:10px;background:#fff}.snapshot-card summary{display:flex;justify-content:space-between;gap:8px;align-items:center;cursor:pointer;font-size:12px}.snapshot-card table{width:100%;table-layout:fixed;margin-top:8px}.snapshot-card td{padding:8px 2px;overflow-wrap:anywhere}.snapshot-card td:first-child{width:35px}.snapshot-card td:nth-child(2){width:60px}.snapshot-card small{font-size:10px;color:var(--muted);line-height:1.6;display:block;margin-top:8px}#gate-note,#discord-status,#cron-status{font-size:11px;line-height:1.6;color:var(--muted)}.provider-key{font-size:9px;color:var(--accent);flex-shrink:0}.provider-key.error{color:#b83542}#edit-analysts{border:1px solid var(--line);background:white;padding:10px;border-radius:6px;color:var(--ink);width:100%}.office-model-results em{display:block;font-size:10px;line-height:1.6;font-style:normal;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.pipeline-settings-card{display:flex;flex-direction:column;width:min(860px,calc(100vw - 32px))!important;max-width:min(860px,calc(100vw - 32px))!important;max-height:calc(100dvh - 32px);padding:0!important;overflow:hidden;border-radius:12px!important;box-shadow:0 24px 80px rgba(23,43,36,.24)!important}
.pipeline-settings-card .detail-head{margin:0;padding:18px 20px;border-bottom:1px solid var(--line);background:rgba(249,251,248,.97);backdrop-filter:blur(10px);align-items:flex-start;flex-shrink:0}
.settings-title{min-width:0}.settings-kicker{display:block;color:var(--accent);font-size:9px;font-weight:700;letter-spacing:.08em;margin-bottom:5px}.pipeline-settings-card .settings-title h2{margin:0;font-size:20px;line-height:1.2}.settings-title p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}
.pipeline-settings-body{min-width:0;overflow-x:hidden;overflow-y:auto;padding:16px 20px calc(18px + env(safe-area-inset-bottom));scrollbar-gutter:stable}
.settings-loading,.settings-error{padding:28px 4px;color:var(--muted);font-size:12px;line-height:1.6}.settings-error b{display:block;color:#b83542;font-size:14px;margin-bottom:5px}.settings-error p{margin:0 0 14px}.settings-error .detail-close{background:#fff}
.settings-intro{padding:14px;border:1px solid #cfdad2;border-radius:9px;background:linear-gradient(145deg,#f5faf6,#eef5ef);margin-bottom:12px}.settings-intro>p{margin:0;color:#4f6159;font-size:11px;line-height:1.65}.settings-chips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.settings-chip{min-width:0;padding:9px 10px;border:1px solid #d9e2db;border-radius:7px;background:#fff}.settings-chip small,.settings-chip b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-chip small{font-size:8px;color:var(--muted);margin-bottom:4px}.settings-chip b{font-size:11px}.settings-chip.ok b{color:var(--accent)}.settings-chip.warn b{color:#9a6a16}
.settings-section{min-width:0;margin:10px 0;border:1px solid var(--line);border-radius:9px;background:#fff;overflow:hidden}.settings-section summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 14px;cursor:pointer;list-style:none;user-select:none}.settings-section summary::-webkit-details-marker{display:none}.settings-section summary:hover{background:#f5f8f5}.settings-section[open]>summary{border-bottom:1px solid var(--line);background:#f7faf7}.settings-summary-copy{display:block;min-width:0}.settings-summary-copy b{display:block;font-size:12px}.settings-summary-copy small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.45;font-weight:400}.settings-chevron{flex:0 0 auto;font-size:20px;color:var(--muted);line-height:1;transform:rotate(90deg);transition:transform .18s}.settings-section[open] .settings-chevron{transform:rotate(-90deg)}
.settings-section>.settings-field,.settings-section>.settings-toggle,.settings-section>.settings-help,.settings-section>.provider-health-grid{margin-left:14px;margin-right:14px}.settings-section>.settings-field:first-of-type{margin-top:14px}.settings-section>.settings-field:last-child,.settings-section>.settings-toggle:last-child{margin-bottom:14px}
.settings-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,210px);align-items:center;gap:5px 14px;margin-top:10px;margin-bottom:10px;font-size:11px}.settings-field-label{min-width:0;color:#34483f;overflow-wrap:anywhere}.settings-field-help{grid-column:2;display:block;color:var(--muted);font-size:8px;line-height:1.4}
.pipeline-settings-body input:not([type=checkbox]),.pipeline-settings-body select{display:block;width:100%;max-width:100%;min-width:0;min-height:40px;padding:9px 10px;border:1px solid #cdd7cf;border-radius:6px;background:#fff;color:var(--ink);font:inherit}.pipeline-settings-body input:not([type=checkbox]):hover,.pipeline-settings-body select:hover{border-color:#a9bbb0}.pipeline-settings-body input:not([type=checkbox]):focus,.pipeline-settings-body select:focus{border-color:#69a58e}.pipeline-settings-body input:disabled{background:#edf1ed;color:#8c9791;cursor:not-allowed}
.pipeline-settings-body .settings-toggle{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:9px;min-height:36px;margin-top:9px;margin-bottom:9px;font-size:11px}.pipeline-settings-body .settings-toggle input{width:16px;height:16px;accent-color:var(--accent);margin:0}.danger-toggle{color:#9f3540}
.settings-help{color:var(--muted);font-size:9px;line-height:1.55}.settings-section>.settings-help{margin-top:12px;margin-bottom:10px}
.analyst-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin:12px 14px;padding:13px;border:1px solid #dce4de;border-radius:8px;background:#f8faf8}.analyst-settings-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #e0e6e1}.analyst-settings-head b{display:block;font-size:12px}.analyst-settings-head small{display:block;margin-top:3px;color:var(--muted);font:8px ui-monospace,SFMono-Regular,Menlo,monospace}.analyst-health{flex:0 0 auto;max-width:46%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:1px solid #cfd8d1;border-radius:999px;padding:4px 7px;background:#fff;color:var(--muted);font-size:8px}.analyst-health.state-healthy,.analyst-health.state-ready{color:var(--accent);border-color:#a8c9b8;background:#edf7f1}.analyst-health.state-degraded{color:#8b681f;border-color:#d7c895;background:#fff9e8}.analyst-health.state-down{color:#b83542;border-color:#ddb1b6;background:#fff0f1}.analyst-settings .settings-field{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0}.analyst-settings .settings-field-help{grid-column:auto}.analyst-note{grid-column:1/-1;margin:0!important;padding-top:2px}
.provider-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px;margin-bottom:14px}.provider-health-card{min-width:0;padding:10px;border:1px solid #d9e1db;border-radius:8px;background:#f8faf8;display:grid;gap:5px}.provider-health-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}.provider-health-head b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.provider-health-card small{display:block;color:#6f7c75;font:8px ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.45;overflow-wrap:anywhere}.provider-health-badge{flex:0 0 auto;border:1px solid #cfd8d1;border-radius:999px;padding:3px 6px;font:7px ui-monospace,SFMono-Regular,Menlo,monospace;color:#66766e;background:#fff}.provider-health-card.state-healthy{border-color:#acd1bd}.provider-health-card.state-healthy .provider-health-badge{color:var(--accent);border-color:#9bc8b1;background:#edf7f1}.provider-health-card.state-degraded{border-color:#ddce9a}.provider-health-card.state-degraded .provider-health-badge{color:#8b681f;border-color:#d7c895;background:#fff9e8}.provider-health-card.state-down{border-color:#dfb0b6}.provider-health-card.state-down .provider-health-badge{color:#b83542;border-color:#ddb1b6;background:#fff0f1}.provider-health-card.state-ready .provider-health-badge{color:#1f6f80;border-color:#aed2d8;background:#eef9fb}.provider-health-card.state-not_configured{opacity:.74}
.settings-actions{position:sticky;bottom:calc(-18px - env(safe-area-inset-bottom));z-index:3;display:flex;align-items:center;gap:12px;margin:16px -20px calc(-18px - env(safe-area-inset-bottom));padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:rgba(249,251,248,.97);backdrop-filter:blur(10px)}.settings-save-status{min-width:0;flex:1;margin:0;color:var(--muted);font-size:9px;line-height:1.45}.settings-save-status.success{color:var(--accent)}.settings-save-status.warning{color:#8b681f}.settings-save-status.error{color:#b83542}.pipeline-settings-body .settings-save{width:auto;min-width:170px;min-height:42px;flex:0 0 auto}
@media(max-width:700px){.settings-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-health-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dock-nav button{padding:10px 5px;font-size:10px}.office-run{min-width:130px}.pipeline-settings-card{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px);border-radius:10px!important}.pipeline-settings-card .detail-head{padding:14px}.pipeline-settings-card .settings-title h2{font-size:17px}.settings-title p{font-size:10px}.pipeline-settings-card .detail-close{flex-shrink:0}.pipeline-settings-body{padding:12px 12px calc(14px + env(safe-area-inset-bottom));scrollbar-gutter:auto}.settings-intro{padding:12px}.settings-section{margin:8px 0}.settings-section summary{padding:11px 12px}.settings-section>.settings-field,.settings-section>.settings-toggle,.settings-section>.settings-help,.settings-section>.provider-health-grid{margin-left:12px;margin-right:12px}.settings-field{grid-template-columns:minmax(0,1fr);align-items:stretch;gap:5px}.settings-field-help{grid-column:1}.pipeline-settings-body input:not([type=checkbox]),.pipeline-settings-body select{min-height:42px}.analyst-settings{grid-template-columns:minmax(0,1fr);margin:10px 12px;padding:11px}.analyst-settings-head,.analyst-note{grid-column:1}.analyst-health{max-width:52%}.settings-actions{bottom:calc(-14px - env(safe-area-inset-bottom));flex-direction:column;align-items:stretch;gap:8px;margin:14px -12px calc(-14px - env(safe-area-inset-bottom));padding:10px 12px calc(10px + env(safe-area-inset-bottom))}.pipeline-settings-body .settings-save{width:100%;min-width:0}.settings-save-status{text-align:center}}

/* Public office: full-height 3D viewer with a deliberately small trading HUD. */
.public-office #office-stage{inset:76px 0 0}
.public-office .admin-link{text-decoration:none}
.public-office #office-stage:fullscreen,.public-office #office-stage:-webkit-full-screen,.public-office.view-fullscreen-fallback #office-stage,.admin-office #office-stage:fullscreen,.admin-office #office-stage:-webkit-full-screen,.admin-office.view-fullscreen-fallback #office-stage{inset:0;width:100vw;height:100vh;height:100dvh;z-index:50;background:#e8eae5}
.public-office.view-fullscreen-fallback .office-header,.admin-office.view-fullscreen-fallback .office-header,.admin-office.view-fullscreen-fallback .office-dock{display:none}
.public-office #office-stage:fullscreen .office-status,.public-office #office-stage:-webkit-full-screen .office-status,.public-office.view-fullscreen-fallback .office-status,.admin-office #office-stage:fullscreen .office-status,.admin-office #office-stage:-webkit-full-screen .office-status,.admin-office.view-fullscreen-fallback .office-status{top:max(22px,calc(env(safe-area-inset-top) + 12px));left:max(28px,calc(env(safe-area-inset-left) + 12px))}
.public-office #office-stage:fullscreen .view-controls,.public-office #office-stage:-webkit-full-screen .view-controls,.public-office.view-fullscreen-fallback .view-controls,.admin-office #office-stage:fullscreen .view-controls,.admin-office #office-stage:-webkit-full-screen .view-controls,.admin-office.view-fullscreen-fallback .view-controls{right:max(26px,calc(env(safe-area-inset-right) + 12px));bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px))}
.public-office #office-stage:fullscreen .public-market-hud,.public-office #office-stage:-webkit-full-screen .public-market-hud,.public-office.view-fullscreen-fallback .public-market-hud{left:max(28px,calc(env(safe-area-inset-left) + 12px));bottom:max(22px,calc(env(safe-area-inset-bottom) + 12px))}
.public-market-hud{position:absolute;left:28px;bottom:22px;z-index:4;pointer-events:none;display:grid;grid-template-columns:auto repeat(3,minmax(105px,auto)) minmax(170px,auto);align-items:center;gap:14px;padding:11px 14px;border:1px solid rgba(219,226,220,.95);border-radius:7px;background:rgba(249,251,248,.94);backdrop-filter:blur(8px);box-shadow:0 8px 26px rgba(23,43,36,.10)}
.public-market-hud>div{min-width:0}.public-market-hud small{display:block;font-size:8px;letter-spacing:.08em;color:var(--muted);margin-bottom:4px}.public-market-hud b{font-size:12px;white-space:nowrap}.public-market-hud #public-signal{font-size:17px}.public-live-dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 5px rgba(17,123,88,.10)}
.view-controls .auto-camera{width:auto;min-width:48px;padding:7px 8px;font-size:8px;font-weight:800;letter-spacing:.05em;white-space:nowrap;overflow:hidden;text-overflow:clip}.auto-camera.active,.auto-camera[aria-pressed="true"]{background:#e7f1eb;border-color:#9bbdaa;color:var(--accent)}
@media(max-width:700px){.public-office .office-header{height:66px}.public-office #office-stage{inset:66px 0 0}.public-market-hud{left:12px;right:12px;bottom:12px;grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto;gap:10px;padding:10px 11px}.public-market-hud>div:nth-of-type(1){grid-column:2;grid-row:1}.public-market-hud>div:nth-of-type(2){grid-column:3;grid-row:1}.public-market-hud>div:nth-of-type(3){grid-column:2;grid-row:2}.public-market-hud .public-updated{grid-column:3;grid-row:2}.public-market-hud small{font-size:7px}.public-market-hud b{font-size:10px}.public-market-hud #public-signal{font-size:15px}.public-live-dot{grid-column:1;grid-row:1/3}.public-office .view-controls{bottom:124px}.public-office .office-status{max-width:calc(100% - 24px)}.public-office #office-stage:fullscreen .office-status,.public-office #office-stage:-webkit-full-screen .office-status,.public-office.view-fullscreen-fallback .office-status{top:max(12px,calc(env(safe-area-inset-top) + 8px));left:max(12px,calc(env(safe-area-inset-left) + 8px))}.public-office #office-stage:fullscreen .public-market-hud,.public-office #office-stage:-webkit-full-screen .public-market-hud,.public-office.view-fullscreen-fallback .public-market-hud{left:max(12px,calc(env(safe-area-inset-left) + 8px));right:max(12px,calc(env(safe-area-inset-right) + 8px));bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px))}.public-office #office-stage:fullscreen .view-controls,.public-office #office-stage:-webkit-full-screen .view-controls,.public-office.view-fullscreen-fallback .view-controls{right:max(12px,calc(env(safe-area-inset-right) + 8px));bottom:max(124px,calc(env(safe-area-inset-bottom) + 120px))}.admin-office #office-stage:fullscreen .office-status,.admin-office #office-stage:-webkit-full-screen .office-status,.admin-office.view-fullscreen-fallback .office-status{top:max(12px,calc(env(safe-area-inset-top) + 8px));left:max(12px,calc(env(safe-area-inset-left) + 8px))}.admin-office #office-stage:fullscreen .view-controls,.admin-office #office-stage:-webkit-full-screen .view-controls,.admin-office.view-fullscreen-fallback .view-controls{right:max(12px,calc(env(safe-area-inset-right) + 8px));bottom:max(12px,calc(env(safe-area-inset-bottom) + 8px))}}

@media(max-width:600px){.view-controls .auto-camera{width:auto;min-width:44px;max-width:48px;padding:6px 5px;font-size:7px;line-height:1;letter-spacing:.02em}}

@media(display-mode:standalone){.install-app{display:none!important}}

@media(max-width:360px){.office-brand small{display:none}.quality-control select{max-width:82px}.office-header{padding-left:9px;padding-right:9px}.public-office .view-controls #render-info,.admin-office #office-stage:fullscreen #render-info,.admin-office #office-stage:-webkit-full-screen #render-info,.admin-office.view-fullscreen-fallback #render-info{display:none}}
