:root{--text:#6b6375;--text-h:#08060d;--bg:#fff;--border:#e5e4e7;--code-bg:#f4f3ec;--accent:#5f8c00;--accent-bg:#aeff0024;--accent-border:#aeff0099;--social-bg:#f4f3ec80;--shadow:#0000001a 0 10px 15px -3px, #0000000d 0 4px 6px -2px;--sans:"Inter", system-ui, "Segoe UI", Roboto, sans-serif;--heading:"Inter", system-ui, "Segoe UI", Roboto, sans-serif;--mono:"JetBrains Mono", ui-monospace, Consolas, monospace;font:16px/145% var(--sans);letter-spacing:.18px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}@media (width<=1024px){:root{font-size:15px}}@media (prefers-color-scheme:dark){:root{--text:#9ca3af;--text-h:#f3f4f6;--bg:#16171d;--border:#2e303a;--code-bg:#1f2028;--accent:#aeff00;--accent-bg:#aeff0026;--accent-border:#aeff0080;--social-bg:#2f303a80;--shadow:#0006 0 10px 15px -3px, #00000040 0 4px 6px -2px}#social .button-icon{filter:invert()brightness(2)}}#root{box-sizing:border-box;flex-direction:column;width:100%;min-height:100svh;display:flex}body{margin:0}h1,h2{font-family:var(--heading);color:var(--text-h);font-weight:500}h1{letter-spacing:-1.68px;margin:32px 0;font-size:56px}@media (width<=1024px){h1{margin:20px 0;font-size:36px}}h2{letter-spacing:-.24px;margin:0 0 8px;font-size:24px;line-height:118%}@media (width<=1024px){h2{font-size:20px}}p{margin:0}code,.counter{font-family:var(--mono);color:var(--text-h);border-radius:4px;display:inline-flex}code{background:var(--code-bg);padding:4px 8px;font-size:15px;line-height:135%}.button-component{cursor:pointer;white-space:nowrap;background:var(--studio-accent);min-height:42px;color:var(--studio-on-accent);font:inherit;border:none;border-radius:10px;padding:10px 16px;font-weight:600;line-height:1.3;transition:opacity .2s}.button-component :disabled{opacity:.35;cursor:default}.button-component.secondary{background:var(--studio-hover);color:var(--studio-text);border:1px solid var(--studio-border)}.button-component.danger{background:#ee3e00;transition:background-color .666s ease-in-out}.button-component.nav{color:var(--studio-text);background:0 0;border:1px solid #0000;padding:10px 12px;text-decoration:none}.button-component:hover,.button-component.nav.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.button-component.danger:hover{color:#ee3e00;background:#fff}.button-component:hover{opacity:.65}.panel-component{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:14px;min-width:0;margin-bottom:20px;padding:20px}.panel-component .top-bar{justify-content:space-between;width:100%;padding-left:1.5rem;display:flex;position:relative}.panel-component .top-bar .icon{font-size:2rem;line-height:15px;position:absolute;top:.25rem;left:0}.panel-component.open .top-bar{border-bottom:1px solid var(--studio-border);margin-bottom:16px}.button-collapse{text-align:left;min-width:32px;word-wrap:none;background:0 0;border:none;font-size:16px}.modal-background{z-index:500;background:linear-gradient(#000000f9 15%,#282828 100%);min-height:100%;position:absolute;inset:0}.modal-view{z-index:1000;pointer-events:none;min-height:100%;position:absolute;inset:0}.modal-confirmation{background:var(--studio-panel-surface);text-align:center;z-index:700;border:1px solid #ddd;border-radius:10px;width:400px;height:auto;padding:1rem;position:fixed;top:33%;left:calc(50% - 140px);box-shadow:0 20px 20px 10px #ffffff13}.modal-confirmation .modal-actions{pointer-events:all;justify-content:space-around;align-items:flex-end;width:100%;margin:2rem 0;display:flex}.modal-view .modal-body{pointer-events:all;padding:16px}.form-component{margin:32px 0}.form-component.disabled{opacity:.75;pointer-events:none}.form-component-submit{margin:48px 0 16px}.form-error-message{background:#fca5a526;border:1px solid #fca5a580;border-radius:14px;min-width:0;margin:2rem 0 1rem;padding:20px 20px 20px 4rem;font-weight:700;position:relative}.form-error-message:before{content:"!";color:#ff5e5e;font-size:2em;position:absolute;left:1.5rem}.form-item{color:var(--studio-text-dim);flex-direction:column;gap:6px;margin:0 0 1rem;font-size:.8rem;display:flex}.form-item>span{color:var(--studio-text-dim);padding-left:5px;font-size:.8rem}.form-item-footer{color:var(--studio-text-error);padding-left:5px;font-size:1rem}.form-item input,.form-item select,.form-item option{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;max-width:30rem;padding:10px 12px}select.input-select{max-width:30rem;height:42px;color:var(--studio-text-dim);text-align:left;padding:10px 12px;font-size:16px}select.input-select option{margin:8px}.component-tabs{flex-wrap:wrap;justify-content:space-between;gap:6px;margin-bottom:16px;display:flex}.component-tabs.link .inner{border-bottom:1px solid var(--studio-border);margin-bottom:16px}.component-tabs.full .inner{width:100%}.component-tabs.link .tab{color:var(--studio-text-dim);cursor:pointer;font:inherit;background:0 0;border:none;border-bottom:2px solid #0000;padding:10px 12px;text-decoration:none;display:inline-flex}.component-tabs.button .tab{color:var(--studio-text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;padding:10px 12px;transition:all .2s}.component-tabs.button .tab:hover,.component-tabs.button .tab.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.component-tabs.link .tab:hover,.component-tabs.link .tab.active{color:var(--studio-text);border-color:var(--studio-accent-border)}.component-status-chip{text-transform:uppercase;letter-spacing:.08em;border-radius:999px;justify-content:center;align-items:center;margin-right:1em;padding:7px 12px;font-size:.72rem;display:inline-flex}.component-status-chip.pass{color:#86efac;background:#22c55e29;border:1px solid #22c55e59}.component-status-chip.disabled{background:var(--studio-panel-raised);color:var(--studio-text-dim);border:1px solid var(--studio-border)}.component-status-chip.error{color:#fca5a5;background:#fca5a51f;border:1px solid #fca5a559}.component-status-chip.warn{color:#fffb00;background:#c9733259;border:1px solid #c9733259}.analytics-tabs{border-bottom:1px solid var(--studio-border);gap:8px;margin:12px 0 20px;padding-bottom:8px;display:flex}.analytics-panel .link-button{color:var(--studio-link);cursor:pointer;font:inherit;text-underline-offset:2px;background:0 0;border:none;padding:0;text-decoration:underline}.analytics-panel .field{border:none;flex-direction:column;gap:6px;min-width:0;margin:0 0 14px;padding:0;display:flex}.analytics-panel .field>span,.analytics-panel .field>legend,.analytics-panel label>span{color:var(--studio-text-muted);font-size:.8rem}.analytics-panel input,.analytics-panel select,.analytics-panel textarea{font:inherit;color:var(--studio-text);background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:8px;min-width:0;padding:8px 10px}.analytics-panel textarea{font-family:var(--studio-mono);font-size:.8rem}.inline-fields{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.inline-fields label{flex-direction:column;gap:6px;display:flex}.builder-layout{grid-template-columns:minmax(300px,380px) minmax(0,1fr);align-items:start;gap:24px;display:grid}@media (width<=960px){.builder-layout{grid-template-columns:1fr}}.builder-config{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:12px;padding:16px}.builder-preview{min-width:0}.builder-preview-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.builder-preview-head h3{margin:4px 0}.type-picker{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px;display:grid}.type-option{font:inherit;text-align:left;border:1px solid var(--studio-border);background:var(--studio-panel-soft);color:var(--studio-text);cursor:pointer;border-radius:10px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.type-option small{color:var(--studio-text-muted)}.type-option.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.chip-list{flex-wrap:wrap;gap:6px;display:flex}.chip{border:1px solid var(--studio-border);background:var(--studio-panel-soft);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.85rem;display:inline-flex}.chip input{margin:0}.chip.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.chip.disabled{opacity:.5}.filter-row{grid-template-columns:1.2fr 1fr 1fr 1.4fr auto;gap:6px;margin-bottom:8px;display:grid}.dimension-picker{gap:8px}.funnel-steps{flex-direction:column;gap:10px;margin:0 0 10px;padding:0;list-style:none;display:flex}.funnel-step{border:1px solid var(--studio-border-soft);border-radius:10px;padding:8px}.funnel-step-head{grid-template-columns:auto 1fr auto auto auto;align-items:center;gap:6px;margin-bottom:6px;display:grid}.step-index{background:var(--studio-accent);width:24px;height:24px;color:var(--studio-on-accent);border-radius:999px;place-items:center;font-size:.75rem;font-weight:700;display:grid}.issue-list{color:var(--studio-text-dim);margin:0 0 12px;padding-left:18px;font-size:.85rem}.spec-editor summary{cursor:pointer;color:var(--studio-text-muted);margin:8px 0}.spec-editor textarea{width:100%}.save-dialog,.schedule-dialog,.dashboard-editor{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:12px;margin-bottom:16px;padding:16px}.vega-chart{background:var(--studio-sidebar);border:1px solid var(--studio-border-soft);border-radius:12px;width:100%;min-height:200px;overflow:hidden}.vega-chart svg{max-width:100%}.scope-banner{background:var(--studio-accent-soft);border:1px solid var(--studio-accent-border);border-radius:8px;margin:0 0 8px;padding:8px 12px;font-size:.85rem}.result-table-wrap{border:1px solid var(--studio-border);border-radius:12px;overflow-x:auto}.result-table{border-collapse:collapse;width:100%;font-size:.85rem}.result-table th,.result-table td{text-align:left;border-bottom:1px solid var(--studio-border-soft);white-space:nowrap;padding:8px 12px}.result-table th{cursor:pointer;color:var(--studio-text-muted);background:var(--studio-surface);font-weight:500;position:sticky;top:0}.result-table th.sorted{color:var(--studio-text-bright)}.kpi-tile strong{font-size:2.4rem}.export-menu .button-row{flex-wrap:wrap;gap:6px;display:flex}.library-head{margin-bottom:12px}.library-head input{width:min(360px,100%)}.report-cols{grid-template-columns:2fr 1fr 1.2fr 1fr 1.2fr auto}.dashboard-cols{grid-template-columns:2fr 1fr 1fr 1.4fr}.schedule-cols{grid-template-columns:2fr 1.4fr 1.2fr 1fr auto}.schedule-cols.disabled{opacity:.6}.dashboard-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;display:grid}@media (width<=900px){.dashboard-grid>.dashboard-item{grid-column:span 12!important}}.dashboard-item{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:12px;min-width:0;padding:12px 14px}.dashboard-item h4{margin:0 0 8px;font-size:.95rem}.dashboard-item-row{grid-template-columns:2fr 1fr 1fr auto;align-items:center}.schedules-section{margin-top:28px}.overview-card{margin-bottom:20px}div.table-container{text-align:left;width:100%}div.table-container caption.table-caption{text-align:left;padding:1rem}div.table-container table{background:var(--studio-panel-soft);table-layout:fixed;border-collapse:separate;empty-cells:show;min-width:100%}table tr{border-bottom:1px solid var(--studio-border-soft)}table td{padding:4px 9px;overflow:hidden}table thead{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;display:table-header-group}table tbody{display:table-row-group}table tbody tr.even{background:var(--studio-panel-soft)}table tbody tr:hover{background:var(--studio-panel-raised)}td.checkbox-row{width:28px;overflow:hidden}tr.empty-row td{color:var(--studio-text-dim);padding:24px}.table-actions{text-align:left;padding:24px 0}td.actions-row{flex-direction:row;display:flex}td.actions-row button:not(:last-child){margin-right:10px}.table-cell-sample{width:80px;max-width:45px;font-weight:700}.floor-plan{background:var(--studio-panel-raised);width:100%;margin:2rem 0;padding:2rem}.floor-plan-image{position:relative}.floor-plan-canvas{width:fit-content;max-width:100%;line-height:0;position:relative}.floor-plan-canvas.placing{cursor:crosshair}.floor-plan-canvas img{max-width:100%;height:auto;display:block}.floor-plan-hint{margin:.5rem 0}.floor-plan-notice,.floor-plan-error{text-align:center;width:100%;min-height:2rem;display:inline-block}.floor-plan-error{color:#fca5a5;font-weight:700}.floor-plan-unplaced{flex-wrap:wrap;gap:6px;margin:1rem 0;display:flex}.floor-plan-canvas .beacon-marker,.floor-plan-unplaced .beacon-marker{text-align:center;color:#000;cursor:pointer;background:#999;border:1px solid #009;border-radius:30px;width:30px;height:30px;padding:0;font-size:12px;font-weight:700;line-height:27px}.floor-plan-canvas .beacon-marker{background:#09f;position:absolute;transform:translate(-50%,-50%)}.beacon-marker.selected{outline:3px solid var(--studio-accent)}.floor-plan-overlay{flex-wrap:wrap;align-items:center;gap:.75rem;margin:.5rem 0 1rem;display:flex}.floor-plan-heatmap{opacity:.55;width:100%;height:100%;position:absolute;inset:0}.floor-plan-canvas.placing .floor-plan-heatmap{pointer-events:none}.heatmap-legend{align-items:center;gap:.4rem;display:inline-flex}.heatmap-ramp,.heatmap-unheard{background:linear-gradient(90deg,#0d0df2,#0df2f2,#0df20d,#f2f20d,#f20d0d);width:64px;height:10px;display:inline-block}.heatmap-unheard{background:#555;width:14px}.survey-coverage{margin:2rem 0}.survey-coverage table{margin-bottom:1.5rem}.survey-coverage .coverage-name{margin-bottom:4px}.survey-coverage .coverage-bar{background:var(--studio-accent);opacity:.7;border-radius:2px;min-width:2px;height:4px}.survey-coverage .value.thin{color:#fbbf24;font-weight:700}.page-header{margin:0 0 32px}.content-row{align-items:stretch;min-width:0;display:flex}.content-row>.content-panel{flex:auto;min-width:0}.agent-dock{border-left:1px solid var(--studio-border);background:var(--studio-sidebar);flex-direction:column;flex-shrink:0;width:min(440px,42vw);height:100vh;display:flex;position:sticky;top:0}.agent-dock[hidden]{display:none}.agent-dock-header,.agent-conversation-header{border-bottom:1px solid var(--studio-border-soft);align-items:center;gap:10px;padding:12px 16px;display:flex}.agent-dock-header h2,.agent-conversation-header h2{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;margin:0;font-size:.95rem;overflow:hidden}.agent-mode-select{color:var(--studio-text-dim);align-items:center;gap:6px;font-size:.78rem;display:inline-flex}.app-shell .agent-mode-select select{width:auto;min-height:32px;padding:2px 8px;font-size:.8rem}.agent-toggle{border:1px solid var(--studio-border);background:var(--studio-panel);color:var(--studio-text);cursor:pointer;border-radius:999px;padding:6px 12px;font-size:.8rem}.agent-toggle.active,.agent-toggle:hover{border-color:var(--studio-accent-border-strong);color:var(--studio-link)}.agent-icon-button{color:var(--studio-text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:4px 8px;font-size:.8rem}.agent-icon-button:hover{color:var(--studio-text);border-color:var(--studio-border)}.agent-messages{flex-direction:column;flex:auto;gap:14px;min-height:0;padding:16px;display:flex;overflow-y:auto}.agent-message{flex-direction:column;gap:6px;max-width:100%;display:flex}.agent-message.user{align-self:flex-end;max-width:88%}.agent-message.user .agent-bubble{background:var(--studio-accent-soft);border:1px solid var(--studio-accent-border)}.agent-bubble{border:1px solid var(--studio-border-soft);background:var(--studio-panel);word-break:break-word;border-radius:12px;padding:10px 14px;font-size:.92rem;line-height:1.5}.agent-bubble.system{color:var(--studio-text-muted);background:0 0;border-style:dashed;font-size:.8rem}.agent-markdown>:first-child{margin-top:0}.agent-markdown>:last-child{margin-bottom:0}.agent-markdown p{margin:0 0 .6em}.agent-markdown pre{background:var(--studio-surface);border:1px solid var(--studio-border-soft);font-family:var(--studio-mono);border-radius:8px;padding:10px 12px;font-size:.82rem;overflow-x:auto}.agent-markdown code{font-family:var(--studio-mono);font-size:.85em}.agent-markdown table{border-collapse:collapse;margin:.5em 0}.agent-markdown th,.agent-markdown td{border:1px solid var(--studio-border);padding:4px 8px;font-size:.85rem}.agent-markdown a{color:var(--studio-link)}.agent-thinking{color:var(--studio-text-faint);white-space:pre-wrap;font-size:.8rem;font-style:italic}.agent-thinking summary{cursor:pointer;font-style:normal}.agent-tool-row{color:var(--studio-text-dim);font-size:.8rem;font-family:var(--studio-mono);align-items:baseline;gap:8px;padding:4px 0;display:flex}.agent-tool-row .status{font-family:var(--sans);color:var(--studio-text-muted)}.agent-tool-row .status.error{color:#fca5a5}.agent-tool-row .status.ok{color:var(--studio-link)}.agent-tool-row details{flex:auto;min-width:0}.agent-tool-row pre{white-space:pre-wrap;word-break:break-word;background:var(--studio-surface);border-radius:8px;max-height:240px;margin:6px 0 0;padding:8px 10px;font-size:.75rem;overflow:auto}.agent-approval{border:1px solid var(--studio-accent-border);background:var(--studio-accent-soft);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;font-size:.88rem;display:flex}.agent-approval.critical{background:#fbbf2414;border-color:#fbbf2499}.agent-approval header{align-items:center;gap:8px;font-weight:600;display:flex}.agent-approval .risk{text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-muted);font-size:.72rem}.agent-approval pre{white-space:pre-wrap;background:var(--studio-surface);border-radius:8px;max-height:200px;margin:0;padding:8px 10px;font-size:.75rem;overflow:auto}.agent-approval .actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agent-approval .actions label{color:var(--studio-text-dim);align-items:center;gap:6px;font-size:.78rem;display:inline-flex}.agent-dock code,.agent-page code{color:var(--studio-text);background:var(--studio-surface);border:1px solid var(--studio-border-soft);font-family:var(--studio-mono);padding:1px 5px;font-size:.85em;line-height:1.4}.agent-dock pre code,.agent-page pre code{font-size:inherit;background:0 0;border:none;padding:0}.agent-visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.agent-link-button{color:var(--studio-link);cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-size:.78rem}.agent-link-button:hover,.agent-link-button:focus-visible{text-decoration:underline}.agent-badge{text-transform:uppercase;letter-spacing:.04em;border:1px solid var(--studio-border);color:var(--studio-text-muted);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.7rem;font-weight:600}.agent-badge.danger,.agent-badge.failed,.agent-badge.step-failed{color:#fca5a5;border-color:#fca5a599}.agent-badge.draft,.agent-badge.executing,.agent-badge.step-in_progress{border-color:var(--studio-accent-border-strong);color:var(--studio-link)}.agent-badge.completed,.agent-badge.step-done{border-color:var(--studio-accent-border);color:var(--studio-text)}.agent-diff{border-collapse:collapse;table-layout:fixed;width:100%;font-size:.8rem}.agent-diff th,.agent-diff td{text-align:left;vertical-align:top;border-bottom:1px solid var(--studio-border-soft);padding:6px 8px}.agent-diff thead th{color:var(--studio-text-muted);font-size:.72rem;font-weight:600}.agent-diff thead th:first-child,.agent-diff tbody th{width:34%}.agent-diff tbody th{word-break:break-word;font-weight:400}.agent-diff tbody th code{width:fit-content;max-width:100%;font-family:var(--studio-mono);word-break:break-word;font-size:.78rem;display:block}.agent-diff-kind{text-transform:uppercase;letter-spacing:.04em;color:var(--studio-text-muted);margin-top:2px;font-size:.68rem;display:inline-block}.agent-diff-kind.added{color:var(--studio-link)}.agent-diff-kind.removed{color:#fca5a5}.agent-diff-value{flex-direction:column;align-items:flex-start;gap:2px;min-width:0;display:flex}.agent-diff-value code{color:var(--studio-text);white-space:pre-wrap;word-break:break-word;max-width:100%;font-family:var(--studio-mono);background:var(--studio-surface);border-radius:6px;padding:3px 6px;font-size:.75rem;display:block}.agent-diff-value.before code{color:var(--studio-text-dim);-webkit-text-decoration:line-through #fca5a5b3;text-decoration:line-through #fca5a5b3}.agent-diff-arrow{color:var(--studio-text-faint);margin:2px 0;display:block}.agent-approval .hint,.agent-plan .hint,.agent-settings-notice .hint,.agent-plan-list .hint{color:var(--studio-text-muted);font-size:.75rem}.agent-approval-edit{flex-direction:column;gap:4px;display:flex}.app-shell .agent-approval-edit textarea{resize:vertical;width:100%;min-height:140px;font-family:var(--studio-mono);border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-text);border-radius:8px;padding:8px 10px;font-size:.75rem}.agent-inline-error{color:var(--studio-text-error);font-size:.78rem}.agent-confirm{border:1px dashed #fbbf2499;border-radius:10px;flex-direction:column;gap:8px;padding:8px 10px;font-size:.85rem;display:flex}.agent-confirm .actions{flex-wrap:wrap;gap:8px;display:flex}.agent-settings-notice{border:1px dashed var(--studio-accent-border-strong);border-radius:12px;flex-direction:column;gap:6px;padding:10px 14px;font-size:.85rem;display:flex}.agent-settings-notice .actions{align-items:center;gap:8px;display:flex}.agent-plan{border:1px solid var(--studio-border);background:var(--studio-panel);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;font-size:.88rem;display:flex}.agent-plan.draft{border-color:var(--studio-accent-border)}.agent-plan:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.agent-plan header{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agent-plan-title{flex:auto;min-width:0;font-weight:600}.agent-plan-summary{color:var(--studio-text-dim);white-space:pre-wrap;margin:0}.agent-plan-steps{flex-direction:column;gap:8px;margin:0;padding-left:1.4em;display:flex}.agent-plan-steps li.removed .agent-plan-step-title,.agent-plan-steps li.removed .agent-plan-step-detail{color:var(--studio-text-faint);text-decoration:line-through}.agent-plan-steps li.skipped .agent-plan-step-title{color:var(--studio-text-muted)}.agent-plan-step-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agent-plan-step-title{flex:auto;min-width:0;font-weight:500}.app-shell .agent-plan-step-head input[type=text]{flex:auto;min-width:0;padding:4px 8px;font-size:.85rem}.agent-plan-step-actions{gap:4px;display:inline-flex}.agent-plan-step-detail{color:var(--studio-text-dim);white-space:pre-wrap;margin-top:2px;font-size:.82rem}.app-shell .agent-plan-steps textarea{resize:vertical;width:100%;min-height:72px;font:inherit;border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-text);border-radius:8px;margin-top:4px;padding:6px 8px;font-size:.82rem}.agent-plan-targets{flex-wrap:wrap;align-items:center;gap:4px;margin-top:4px;display:flex}.agent-plan-target{font-family:var(--studio-mono);border:1px solid var(--studio-border-soft);background:var(--studio-surface);color:var(--studio-text-dim);border-radius:6px;padding:1px 6px;font-size:.72rem}button.agent-plan-target{cursor:pointer;color:var(--studio-link)}.agent-plan-approve{border-top:1px solid var(--studio-border-soft);flex-direction:column;gap:8px;padding-top:8px;display:flex}.agent-plan-approve fieldset{color:var(--studio-text-dim);border:none;flex-direction:column;gap:4px;margin:0;padding:0;font-size:.8rem;display:flex}.agent-plan-approve legend{color:var(--studio-text);margin-bottom:2px;font-weight:600}.agent-plan-approve .actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.agent-plan-list{flex-direction:column;gap:8px;margin-top:18px;display:flex}.agent-plan-list h3{margin:0;font-size:.85rem}.agent-plan-list-item{flex-direction:column;gap:4px;display:flex}.agent-plan-list-item .row{justify-content:space-between;align-items:center;gap:8px;display:flex}.agent-status{color:var(--studio-text-muted);border-top:1px solid var(--studio-border-soft);align-items:center;gap:8px;padding:6px 16px;font-size:.78rem;display:flex}.agent-status .spinner{border:2px solid var(--studio-border-strong);border-top-color:var(--studio-accent);border-radius:50%;width:10px;height:10px;animation:.9s linear infinite agent-spin}@keyframes agent-spin{to{transform:rotate(360deg)}}.agent-error{color:#fecaca;background:#fca5a514;border:1px solid #fca5a580;border-radius:10px;margin:0 16px 8px;padding:8px 12px;font-size:.82rem}.agent-composer{border-top:1px solid var(--studio-border-soft);flex-direction:column;gap:8px;padding:12px 16px 16px;display:flex}.app-shell .agent-composer textarea{resize:vertical;width:100%;min-height:72px;max-height:240px;font:inherit;border:1px solid var(--studio-border);background:var(--studio-surface);color:var(--studio-text);border-radius:10px;padding:10px 12px;font-size:.92rem}.agent-composer .row{justify-content:space-between;align-items:center;gap:8px;display:flex}.agent-composer .hint{color:var(--studio-text-faint);font-size:.75rem}.agent-empty{color:var(--studio-text-muted);text-align:center;padding:24px 8px;font-size:.9rem}.agent-section{grid-template-columns:280px minmax(0,1fr);gap:20px;min-height:calc(100vh - 160px);display:grid}.agent-section .agent-conversation{border:1px solid var(--studio-border-soft);background:var(--studio-panel-soft);border-radius:14px;flex-direction:column;min-height:560px;max-height:calc(100vh - 160px);display:flex}.agent-conversation-list{flex-direction:column;gap:6px;display:flex}.agent-conversation-list button{text-align:left;color:var(--studio-text);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.agent-conversation-list button:hover{background:var(--studio-hover)}.agent-conversation-list button.active{border-color:var(--studio-accent-border);background:var(--studio-accent-soft)}.agent-conversation-list button span{color:var(--studio-text-muted);font-size:.75rem}.agent-section-tabs{gap:6px;margin-bottom:14px;display:flex}.agent-instructions textarea{min-height:240px;font-family:var(--studio-mono);font-size:.85rem}.agent-tools-table{border-collapse:collapse;width:100%;font-size:.85rem}.agent-tools-table th,.agent-tools-table td{text-align:left;border-bottom:1px solid var(--studio-border-soft);vertical-align:top;padding:6px 8px}@media (width<=1100px){.agent-dock{width:min(380px,50vw)}.agent-section{grid-template-columns:1fr}}@media (width<=900px){.agent-dock{z-index:60;border-left:none;width:100%;height:100dvh;position:fixed;inset:0}}.agent-usage{max-width:980px}.agent-usage h3{margin:22px 0 6px;font-size:.95rem}.agent-usage .hint{color:var(--studio-text-muted);margin:6px 0;font-size:.8rem}.agent-usage-toolbar{align-items:center;gap:12px;margin-bottom:12px;display:flex}.app-shell .agent-usage-toolbar select{width:auto;min-height:32px;padding:2px 8px;font-size:.85rem}.agent-usage .agent-usage-error{margin:0 0 12px}.agent-usage-notice{border:1px solid var(--studio-accent-border);background:var(--studio-accent-soft);color:var(--studio-text);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;margin:0 0 12px;padding:10px 14px;font-size:.85rem;line-height:1.45;display:flex}.agent-usage-notice.danger{color:#fecaca;background:#fca5a514;border-color:#fca5a580;display:block}.agent-usage-notice button{flex-shrink:0}.agent-usage-meter-wrap{margin:8px 0 4px}.agent-usage-meter{background:var(--studio-panel-raised);border:1px solid var(--studio-border-soft);border-radius:999px;height:10px;display:flex;overflow:hidden}.agent-usage-meter .used{background:var(--studio-accent)}.agent-usage-meter .used.blocked{background:var(--studio-text-error)}.agent-usage-meter .held{background:var(--studio-accent-border)}.agent-usage-figures{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.agent-usage-figures dd{font-variant-numeric:tabular-nums}.agent-usage-cap-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.agent-usage-cap-row label{align-items:center;gap:6px;display:inline-flex}.app-shell .agent-usage-cap-row input{font-variant-numeric:tabular-nums;width:140px;min-height:32px}.agent-usage-currency{color:var(--studio-text-muted)}.agent-usage-ledger .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.agent-usage-ledger tfoot th{text-align:left;border-top:1px solid var(--studio-border);padding:8px;font-weight:600}.agent-usage-ledger tfoot th.num{text-align:right}@media (width<=700px){.agent-usage-notice{flex-direction:column;align-items:flex-start}}.agent-web-toggle{white-space:nowrap;align-items:center;gap:4px;font-size:.82rem;display:inline-flex}.agent-citations{vertical-align:super;flex-wrap:wrap;gap:2px;margin-left:4px;font-size:.75rem;display:inline-flex}.agent-citations a{text-decoration:none}.agent-sources{margin-top:6px;font-size:.82rem}.agent-sources summary{cursor:pointer}.agent-sources ol{margin:6px 0 0;padding-left:20px}.agent-sources li{overflow-wrap:anywhere;margin-bottom:4px}.agent-import{flex-direction:column;gap:6px;display:flex}.agent-import-url{border:1px solid var(--studio-border);overflow-wrap:anywhere;white-space:pre-wrap;border-radius:6px;padding:6px 8px;display:block}.agent-import-list{flex-direction:column;gap:4px;max-height:260px;margin:0;padding-left:1.4em;display:flex;overflow-y:auto}.agent-consent-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;display:grid}.agent-consent-grid .agent-attachment-preview{margin:0}.agent-consent-grid .agent-attachment-preview img,.agent-consent-grid .agent-attachment-preview video{max-height:140px}.agent-attachment-preview{max-width:100%;margin:8px 0;display:block}.agent-attachment-preview img,.agent-attachment-preview video{object-fit:contain;border:1px solid var(--studio-border);border-radius:6px;width:auto;max-width:100%;height:auto;max-height:320px;display:block}.agent-attachment-preview img{cursor:zoom-in}.agent-attachment-preview audio{width:100%}.agent-attest{align-items:flex-start;gap:6px;font-size:.85rem;display:flex}.agent-web-settings{border-top:1px solid var(--studio-border);margin-top:24px;padding-top:16px}.agent-web-settings h3{margin:0 0 10px}.agent-setting{align-items:flex-start;gap:8px;margin-bottom:12px;display:flex}fieldset.agent-setting{border:1px solid var(--studio-border);border-radius:8px;flex-direction:column;padding:10px 12px}fieldset.agent-setting label{align-items:center;gap:6px;display:flex}fieldset.agent-setting textarea{width:100%;min-height:80px}.agent-child-run{border:1px solid var(--border,#7f7f7f4d);border-radius:8px;margin:6px 0 4px;padding:6px 8px}.agent-child-run>summary{cursor:pointer;font-weight:600}.agent-messages.embedded{max-height:420px;padding:4px 0;overflow-y:auto}.agent-video{border-radius:8px;width:100%;max-width:480px;margin-top:6px;display:block}.agent-storyboard{margin:8px 0;padding-left:20px}.agent-storyboard li{margin-bottom:6px}.agent-storyboard-line{opacity:.85;font-style:italic}.agent-storyboard-notes{flex-direction:column;gap:4px;margin:8px 0;display:flex}.agent-storyboard-looks ul{margin:4px 0 8px;padding-left:20px}.agent-storyboard-narration{margin:8px 0}.agent-cut-strip{flex-direction:column;gap:8px;margin:8px 0;padding:0;list-style:none;display:flex}.agent-cut-clip{border:1px solid var(--border,#7f7f7f4d);border-radius:6px;padding:8px}.agent-cut-head{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.agent-cut-move{gap:4px;margin-left:auto;display:flex}.agent-cut-thumb{border-radius:4px;width:160px;max-width:100%;margin:6px 0;display:block}.agent-cut-fields,.agent-cut-audio{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}.agent-cut-fields label,.agent-cut-audio label{flex-direction:column;gap:2px;font-size:.85em;display:flex}.agent-cut-fields input{width:6em}.agent-cut-problem{color:var(--danger,#c0392b)}.lt-heading-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.lt-heading-row h3{margin:0}.lt-heading-row .tabs{border-bottom:none;margin-bottom:0}.lt-chart-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;display:grid}.lt-chart-grid h4{color:var(--studio-text-dim);margin:0 0 8px;font-size:.85rem}.lt-chart{box-sizing:border-box;min-height:0;padding:8px}.lt-facts{grid-template-columns:max-content 1fr;gap:6px 16px;margin:0;font-size:.9rem;display:grid}.lt-facts dt{color:var(--studio-text-dim)}.lt-facts dd{overflow-wrap:anywhere;min-width:0;margin:0}.lt-arn{overflow-wrap:anywhere;font-size:.78rem}.lt-command{background:var(--studio-bg);border:1px solid var(--studio-border);white-space:pre-wrap;overflow-wrap:anywhere;font-family:var(--studio-mono);border-radius:8px;margin:4px 0 0;padding:10px 12px;font-size:.8rem}.lt-fieldset{border:1px solid var(--studio-border-soft);border-radius:10px;min-width:0;margin:0;padding:10px 14px 14px}.lt-fieldset legend{color:var(--studio-text);padding:0 6px;font-size:.85rem;font-weight:600}.lt-subform{margin-top:6px}.lt-edit-table input,.lt-edit-table select{box-sizing:border-box;background:var(--studio-surface);border:1px solid var(--studio-border);width:100%;min-width:80px;color:var(--studio-text-bright);font:inherit;border-radius:8px;padding:6px 8px;font-size:.85rem}.lt-json{min-height:420px}.lt-row-bad td{background:#fca5a50f}.lt-row-bad td:first-child{box-shadow:inset 3px 0 #fca5a5}.lt-findings,.lt-recommendations,.lt-timeline{flex-direction:column;gap:10px;margin:0;padding-left:0;list-style:none;display:flex}.lt-recommendations{padding-left:20px;list-style:decimal}.lt-finding{border:1px solid var(--studio-border-soft);border-left-width:4px;border-radius:8px;padding:10px 12px}.lt-finding p{margin:6px 0 0}.lt-finding-critical{border-left-color:#fca5a5}.lt-finding-warning{border-left-color:#fbbf24}.lt-finding-info{border-left-color:var(--studio-border-strong)}.lt-error-sample{margin-bottom:8px}.lt-error-sample summary{cursor:pointer}.lt-wide-input{flex:260px}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.main-dashboard{background:var(--studio-surface);flex-direction:column;flex:1;min-width:0;display:flex}.main-topbar{border-bottom:1px solid var(--studio-border-soft);justify-content:space-between;align-items:center;gap:24px;min-height:72px;padding:12px 32px;display:flex}.main-topbar h1{letter-spacing:-.01em;min-width:0;margin:0;font-size:1.35rem;line-height:1.2}.main-topbar-context{flex-shrink:0;align-items:center;gap:16px;display:flex}.tenant-selector{color:var(--studio-text-dim)}.tenant-selector select{border:2px solid var(--studio-border);text-align:right;border-radius:10px 10px 0;width:320px;min-width:200px;max-width:320px;min-height:20px;padding:7px 12px;line-height:20px}.tenant-selector select{appearance:base-select}.tenant-selector select::picker(select){appearance:base-select}.tenant-selector select::picker(select){background:var(--studio-surface);border:2px solid var(--studio-border);border-radius:10px 0 10px 10px;padding:6px 0;transition:opacity .33s ease-in;box-shadow:0 10px 20px #ffffff0d}.tenant-selector select:popover-open::picker(select){opacity:1;transform:scale(1)}@starting-style{.tenant-selector select:popover-open::picker(select){opacity:0}}.tenant-selector selectedcontent svg{display:none}.tenant-selector selectedcontent{white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}.tenant-selector option svg{width:16px;height:16px;color:var(--studio-text-muted)}.tenant-selector option.is-meta-org svg{color:var(--studio-accent)}.tenant-selector select::picker-icon{color:var(--studio-accent)}.tenant-selector select input{margin:8px}.debug-text{color:#ffae00;margin-bottom:2rem;padding:4px;font-style:italic}:root{--studio-bg:#0a0a0a;--studio-sidebar:#111;--studio-surface:#161616;--studio-panel:#ffffff0a;--studio-panel-soft:#ffffff05;--studio-panel-raised:#ffffff12;--studio-backdrop:#0009;--studio-border:#ffffff1a;--studio-border-soft:#ffffff0f;--studio-border-strong:#ffffff2e;--studio-hover:#ffffff0d;--studio-text:#f0f0f0;--studio-text-bright:#fafafa;--studio-text-dim:#c2c2c2;--studio-text-muted:#8f8f8f;--studio-text-faint:#737373;--studio-accent:#aeff00;--studio-on-accent:#0a0a0a;--studio-accent-soft:#aeff001f;--studio-accent-border:#aeff0059;--studio-accent-border-strong:#aeff0099;--studio-link:#e5fdb1;--studio-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;--studio-text-error:#fca5a5}.app-shell{background:var(--studio-bg);min-height:100vh;color:var(--studio-text);display:flex}.app-shell *,.app-shell :before,.app-shell :after,.auth-screen *,.auth-screen :before,.auth-screen :after{box-sizing:border-box}.sidebar{background:var(--studio-sidebar);border-right:1px solid var(--studio-border);flex-direction:column;flex-shrink:0;gap:22px;width:260px;height:100vh;padding:0 20px 16px;display:flex;position:sticky;top:0;overflow-y:auto}.brand-block{border-bottom:1px solid var(--studio-border);align-items:center;gap:12px;min-height:72px;padding:12px 8px;display:flex}.brand-mark{background:var(--studio-accent);width:28px;height:28px;color:var(--studio-on-accent);border-radius:8px;place-items:center;font-weight:700;display:grid}.brand-block a{color:var(--studio-link);text-decoration:none}.brand-mark svg{width:20px;height:20px}.brand-block strong,.brand-block small{display:block}.brand-block strong{font-size:.9rem}.brand-block small{color:var(--studio-text-muted)}.nav{flex-direction:column;gap:8px;line-height:1.25;display:flex}.nav-item,.primary-button,.secondary-button,.tenant-selector select{font:inherit}.nav-item{color:var(--studio-text);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;padding:10px 12px;text-decoration:none;transition:all .2s}.nav-item:hover,.nav-item.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.user-box{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:12px;flex-direction:column;gap:6px;margin-top:auto;padding:12px;display:flex}.user-box strong,.user-box span{overflow-wrap:anywhere}.user-box span{color:var(--studio-text-muted);font-size:.8rem}.user-box .secondary-button{margin-top:6px}.client-badge{border:1px solid var(--studio-accent-border);background:var(--studio-panel-raised);color:var(--studio-text);letter-spacing:.08em;text-transform:uppercase;border-radius:999px;align-items:center;margin-top:12px;padding:7px 12px;font-size:.76rem;display:inline-flex}.eyebrow{text-transform:uppercase;letter-spacing:.12em;color:var(--studio-link);margin-bottom:8px;font-size:.7rem;display:inline-block}.topbar h1,.auth-card h1,.content-panel h2,.content-panel h3,.content-panel h4{color:var(--studio-text-bright);margin:0}.content-panel h2{margin-bottom:16px}.content-panel h3,.content-panel h4{color:var(--studio-text-bright);margin-bottom:10px;font-weight:600;line-height:1.3}.content-panel h3{font-size:1.05rem}.content-panel h4{font-size:.95rem}.detail-header h2,.detail-header h3{margin:0}.panel-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;margin-bottom:10px;display:flex}.panel-heading h3{margin:0}.provider-section{border-top:1px solid var(--studio-border-soft);margin-top:18px;padding-top:18px}.provider-section-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.provider-section-head h4{margin:0 0 2px}.provider-section-hint{color:var(--studio-text-muted);margin:0;font-size:.85rem}.provider-list{margin-top:8px}.provider-list .table-row{padding-inline:0}.provider-list small{color:var(--studio-text-muted)}.table-row>.status-chip{justify-self:start;padding:4px 9px;font-size:.66rem}.provider-form{border:1px solid var(--studio-border);background:var(--studio-backdrop);border-radius:12px;margin-top:14px;padding:16px}.provider-form .form-actions{grid-column:1/-1;margin-top:4px}.provider-message{margin:10px 0 0}.cms-form .checkbox-field.inline-note{min-height:auto;color:var(--studio-text-muted);margin-top:4px;font-size:.78rem}.panel-heading-meta{align-items:center;gap:10px;display:inline-flex}.panel-heading .status-chip{padding:4px 9px;font-size:.66rem}.id-chip{font:inherit;font-family:var(--studio-mono);letter-spacing:.01em;white-space:nowrap;color:var(--studio-text-faint);cursor:pointer;background:0 0;border:none;border-radius:6px;margin:0 -6px 0 0;padding:2px 6px;font-size:.78rem;transition:color .15s,background-color .15s}.id-chip:hover,.id-chip:focus-visible{color:var(--studio-text-dim);background:var(--studio-hover);outline:none}.app-shell input:not([type=checkbox]):not([type=file]):not([type=radio]),.app-shell select,.auth-screen input:not([type=checkbox]):not([type=radio]),.auth-screen select{width:100%;min-width:0;min-height:42px;line-height:1.3}.app-shell button,.auth-screen button{line-height:1.3}.content-panel{width:100%;max-width:1280px;min-height:calc(100vh - 64px);padding:24px 32px 48px;position:relative}.section-intro{max-width:72ch;margin:0 0 20px;line-height:1.5}.auth-screen{background:radial-gradient(circle at top,#161616,#050505 45%);place-items:center;min-height:100vh;display:grid}.auth-card{text-align:left;background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:20px;width:min(520px,100vw - 32px);padding:32px;box-shadow:0 25px 60px #00000080}.auth-card h1{letter-spacing:-.02em;font-size:2rem;line-height:1.2}.auth-card>p{color:var(--studio-text-dim);margin:12px 0 22px;line-height:1.5}.auth-card .member-form{grid-template-columns:1fr}.auth-card .member-form>button{justify-self:stretch;margin-top:4px}.auth-card .member-form>small,.auth-card .panel>small{color:var(--studio-text-muted);font-size:.8rem;line-height:1.5;display:block}.auth-card .panel>small{margin-top:12px}.auth-card .panel .secondary-button{flex:1}.primary-button,.secondary-button{cursor:pointer;white-space:nowrap;border:none;border-radius:10px;min-height:42px;padding:10px 16px;transition:opacity .2s}.primary-button:disabled,.secondary-button:disabled{opacity:.55;cursor:default}.primary-button{background:var(--studio-accent);color:var(--studio-on-accent);font-weight:600}.secondary-button{background:var(--studio-hover);color:var(--studio-text);border:1px solid var(--studio-border)}.primary-button.danger{background:#ee3e00;transition:background-color .666s ease-in-out}.primary-button.danger:hover{color:#ee3e00;background:#fff}.primary-button:hover,.secondary-button:hover{opacity:.95}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;display:grid}.stats-grid.compact{grid-template-columns:repeat(auto-fit,minmax(200px,280px))}.stat-card,.panel{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:14px;min-width:0;padding:20px}.panel.error{background:#fca5a526;margin:1rem 0;font-weight:700}.panel.create,.panel.edit{margin:1rem 0;font-weight:700}.panel.edit{background:#a5bea533}.panel.danger{background:#fca5a526;margin-top:64px}.panel>p{margin-bottom:14px;line-height:1.5}.panel>p:last-child{margin-bottom:0}.panel>.panel-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:16px}.panel .panel{background:var(--studio-backdrop)}.detail-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.detail-header>div{min-width:0}.detail-header p{color:var(--studio-text-muted);margin:8px 0 0}.status-chip{text-transform:uppercase;letter-spacing:.08em;border-radius:999px;justify-content:center;align-items:center;padding:7px 12px;font-size:.72rem;display:inline-flex}.status-chip.active{color:#86efac;background:#22c55e29;border:1px solid #22c55e59}.panel-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:start;gap:16px;display:grid}.info-list{grid-template-columns:repeat(2,minmax(120px,1fr));gap:16px;margin:18px 0 0;display:grid}.info-list div{flex-direction:column;gap:6px;display:flex}.info-list dt{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem}.info-list dd{color:var(--studio-text-bright);margin:0;font-weight:600}.module-grid{grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;margin-top:18px;display:grid}.module-card{border:1px solid var(--studio-border);background:var(--studio-panel-soft);color:var(--studio-text);border-radius:12px;flex-direction:column;gap:8px;padding:12px;display:flex}.module-card.enabled{background:#22c55e14;border-color:#22c55e80}.module-card small{color:var(--studio-text-muted);line-height:1.5}.module-card span{color:#86efac;text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}.module-options{border:none;grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;min-width:0;margin:4px 0 0;padding:0;display:grid}.module-options legend{color:var(--studio-text-dim);grid-column:1/-1;margin-bottom:8px;padding:0;font-size:.8rem}.module-option,.member-form .module-option{border:1px solid var(--studio-border);background:var(--studio-panel-soft);cursor:pointer;border-radius:12px;flex-direction:row;align-items:flex-start;gap:10px;padding:10px 12px;transition:border-color .15s,background-color .15s;display:flex}.module-option:hover{border-color:var(--studio-accent-border)}.module-option.enabled{background:#22c55e14;border-color:#22c55e80}.module-option input[type=checkbox]{flex-shrink:0;width:16px;height:16px;margin:3px 0 0}.module-option>span{flex-direction:column;gap:2px;min-width:0;display:flex}.module-option strong{color:var(--studio-text-bright);font-size:.9rem}.module-option small{color:var(--studio-text-muted);font-size:.78rem;line-height:1.45}.invite-panel{margin:0 0 20px}.panel .invite-panel{border-top:1px solid var(--studio-border-soft);margin:22px 0 0;padding-top:20px}.member-form{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));align-content:start;align-items:end;gap:12px;margin-top:14px;display:grid}.member-form>strong,.member-form>small,.member-form>p{grid-column:1/-1}.member-form>small{color:var(--studio-text-muted);font-size:.8rem;line-height:1.5}.member-form>strong{color:var(--studio-text-bright);align-self:start;margin-bottom:2px}.member-form>button{justify-self:start}.member-form label{color:var(--studio-text-dim);flex-direction:column;gap:6px;font-size:.8rem;display:flex}.member-form input,.member-form select,.inline-select select{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:10px 12px}.member-form input:disabled{opacity:.1}.small-button{min-height:38px;padding:8px 14px;font-size:.9rem}.table-row.member-header,.table-row.member-row{grid-template-columns:1.4fr 1.8fr 1.1fr .7fr}.table-row.cols-3{grid-template-columns:1.4fr 1.2fr auto}.role-guide{margin-top:16px}.role-guide dl{gap:10px;margin:14px 0 0;display:grid}.role-guide dl>div{grid-template-columns:160px 1fr;gap:12px;display:grid}.role-guide dt{color:var(--studio-text-bright);font-size:.85rem;font-weight:600}.role-guide dd{color:var(--studio-text-muted);margin:0;font-size:.85rem;line-height:1.45}@media (width<=720px){.role-guide dl>div{grid-template-columns:1fr;gap:2px}}.service-accounts-panel{margin-top:16px}.table-row.service-account-row{grid-template-columns:1.2fr 2.2fr .9fr .8fr auto}.table-row.service-account-row code{overflow-wrap:anywhere}@media (width>=561px){.table-row.installation-key-row{grid-template-columns:1.4fr 1.6fr .9fr .9fr auto}}.row-actions{justify-self:end;gap:8px;display:flex}.secret-reveal{border:1px solid;border-radius:8px;margin:12px 0 16px;padding:12px 14px}.secret-reveal dl{grid-template-columns:max-content 1fr;gap:4px 12px;margin:10px 0;display:grid}.secret-reveal dd{margin:0}.secret-reveal .secret-value{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.secret-actions{gap:8px;display:flex}.table-row.cols-3>:last-child{justify-self:end}.inline-select{max-width:220px;display:flex}.inline-select select{min-height:36px;padding:6px 10px}.stat-card{flex-direction:column;gap:8px;display:flex}.stat-card span,.stat-card small,.panel p,.panel li,.table-row{color:var(--studio-text-dim)}.stat-card strong{color:#fff;font-size:clamp(1.6rem,2vw,2.2rem)}.panel ul,.table-list{margin-top:4px}.panel>.table-list{margin-top:8px}.panel ul{padding-left:18px;line-height:1.7}.table-list{flex-direction:column;gap:0;display:flex}.table-row{border-bottom:1px solid var(--studio-border-soft);grid-template-columns:2fr 1.2fr .9fr;align-items:center;gap:16px;padding:12px 8px;display:grid}.table-row>*{overflow-wrap:anywhere;min-width:0}.table-row:last-child:not(.header){border-bottom:none}.table-row.two-col{grid-template-columns:minmax(0,1fr) 140px}.table-row.two-col>:last-child{text-align:right}.table-row.header{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.status-success,.status-warning,.status-offline{font-weight:600}.status-success{color:#86efac}.status-warning{color:#fbbf24}.status-offline{color:#fca5a5}.table-row.location-header,.table-row.location-row{grid-template-columns:1.6fr 1fr .8fr .8fr}.cms-layout{align-items:flex-start;gap:24px;display:flex}.cms-subnav{flex-direction:column;flex-shrink:0;gap:18px;width:220px;display:flex;position:sticky;top:24px}.cms-subnav-group{flex-direction:column;gap:4px;display:flex}.cms-subnav-group-label{text-transform:uppercase;letter-spacing:.08em;color:var(--studio-link);margin-bottom:2px;padding:0 10px;font-size:.68rem}.cms-subnav-item{color:var(--studio-text);text-align:left;cursor:pointer;font-size:.85rem;font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 10px}.cms-subnav-item:hover,.cms-subnav-item.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border)}.cms-content{flex:1;min-width:0}.cms-form{grid-template-columns:repeat(2,minmax(200px,1fr));gap:12px;margin-top:14px;display:grid}.cms-form label{color:var(--studio-text-dim);flex-direction:column;gap:6px;font-size:.8rem;display:flex}.cms-form input,.cms-form select{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:10px 12px}.cms-json-field,.cms-form>p,.cms-form>button{grid-column:1/-1}.cms-form>button{justify-self:start}.cms-form>p{margin:0}.json-editor{background:var(--studio-bg);border:1px solid var(--studio-border);color:#c9f4d8;width:100%;min-height:160px;font-family:var(--studio-mono);resize:vertical;border-radius:10px;padding:12px;font-size:.82rem;line-height:1.5}.filter-field{color:var(--studio-text-dim);flex-direction:column;gap:6px;font-size:.8rem;display:flex}.filter-field input,.filter-field select{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:9px 12px}.checkbox-field{align-self:end;align-items:center;gap:10px;min-height:42px;flex-direction:row!important;display:flex!important}.checkbox-field input[type=checkbox]{flex-shrink:0;width:16px;height:16px;margin:0}.table-row.cms-row{grid-template-columns:1.6fr 1.2fr .8fr auto}.cms-row-actions{white-space:nowrap;flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.cms-row-actions .small-button{min-height:34px;padding:6px 12px;font-size:.85rem}.truncate{text-overflow:ellipsis;white-space:nowrap;max-width:280px;overflow:hidden}@media (width<=900px){.cms-layout{flex-direction:column}.cms-subnav{flex-flow:wrap;gap:10px;width:100%;position:static}.cms-subnav-group{flex-flow:wrap;align-items:center}.cms-form{grid-template-columns:1fr}.app-shell{flex-direction:column}.sidebar{border-right:none;border-bottom:1px solid var(--studio-border);width:100%;height:auto;position:static}.topbar{flex-direction:column;align-items:flex-start;gap:10px}.topbar-context,.tenant-selector{width:100%}.panel-grid,.stats-grid,.stats-grid.compact{grid-template-columns:1fr 1fr}}@media (width<=560px){.panel-grid,.stats-grid,.stats-grid.compact,.module-grid,.info-list,.member-form{grid-template-columns:1fr}.table-row,.member-row,.member-header,.cms-row{grid-template-columns:1fr;gap:4px}.cms-row-actions{justify-content:flex-start}.detail-header{flex-direction:column;align-items:flex-start}}.resource-form{margin-bottom:18px}.resource-form.compact{background:0 0;border:none;margin:0;padding:0}.form-grid{grid-template-columns:repeat(2,minmax(200px,1fr));gap:14px 16px;margin-top:12px;display:grid}.form-grid.nested{margin-top:8px}.form-grid.cols-3{grid-template-columns:repeat(3,minmax(120px,1fr))}.form-field{flex-direction:column;gap:6px;min-width:0;display:flex}.form-field.full{grid-column:1/-1}.field-label{color:var(--studio-text-dim);font-size:.8rem}.field-label em{color:#fbbf24;font-style:normal}.field-lock{color:var(--studio-text-muted)}.form-field input:not([type=checkbox]):not([type=radio]),.form-field select,.form-field textarea,.picker input,.picker select,.tag-input input,input[type=file]{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;box-sizing:border-box;border-radius:10px;width:100%;padding:10px 12px}.form-field textarea{resize:vertical}.form-field input:disabled,.form-field select:disabled,.form-field textarea:disabled{opacity:.6;cursor:not-allowed}.form-field.has-error input,.form-field.has-error select,.form-field.has-error textarea{border-color:#fca5a5b3}.field-hint{color:var(--studio-text-muted);font-size:.75rem;line-height:1.4}.field-error,.panel p.field-error{color:#fca5a5;font-size:.75rem}.fieldset{border:1px solid var(--studio-border);border-radius:12px;min-width:0;margin:0;padding:10px 14px 14px}.fieldset.group{margin-top:16px}.fieldset legend{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;padding:0 6px;font-size:.75rem}.inline-fields{align-items:flex-end;gap:8px;display:flex}.inline-fields label{color:var(--studio-text-muted);flex-direction:column;flex:1;gap:4px;display:flex}.slug-field input{font-family:var(--studio-mono)}.radio-group{flex-direction:column;gap:6px;display:flex}.radio-option{color:var(--studio-text);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.radio-option small{color:var(--studio-text-muted);flex-basis:100%;padding-left:22px}.option-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px 12px;display:grid}.option-grid.single{grid-template-columns:1fr}.repeater{flex-direction:column;gap:10px;display:flex}.repeater-item{border:1px solid var(--studio-border);background:var(--studio-panel-soft);border-radius:12px;padding:10px 14px 14px}.repeater-item-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.row-controls{gap:4px;display:inline-flex}.icon-button{background:var(--studio-hover);border:1px solid var(--studio-border);color:var(--studio-text);cursor:pointer;width:30px;height:30px;font:inherit;border-radius:8px}.icon-button:disabled{opacity:.4;cursor:default}.icon-button.danger,.secondary-button.danger,.danger-button{color:#fca5a5}.chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.chip{background:var(--studio-accent-soft);border:1px solid var(--studio-accent-border);color:var(--studio-text);border-radius:999px;align-items:center;gap:6px;padding:5px 10px;font-size:.82rem;display:inline-flex}.chip small{color:var(--studio-accent)}.chip-button{cursor:pointer;font:inherit}.chip-link,.breadcrumb-link,.row-title-link{color:var(--studio-link);cursor:pointer;font:inherit;background:0 0;border:none;padding:0 2px;text-decoration:underline}.chip-remove{color:#fca5a5;cursor:pointer;font:inherit;background:0 0;border:none;padding:0 2px;font-size:1rem;line-height:1}.reference-field,.tag-input{flex-direction:column;gap:8px;display:flex}.picker{grid-template-columns:1fr 1.4fr auto auto;align-items:center;gap:8px;display:grid}.asset-field{border:1px dashed var(--studio-border-strong);border-radius:12px;flex-direction:column;gap:10px;padding:12px;display:flex}.asset-preview{align-items:center;gap:12px;display:flex}.asset-preview img{object-fit:cover;border-radius:8px;max-width:160px;max-height:110px}.asset-placeholder{background:var(--studio-panel);color:var(--studio-text-muted);text-align:center;border-radius:8px;padding:14px;font-size:.8rem}.asset-meta{flex-direction:column;gap:4px;min-width:0;display:flex}.asset-preview.large{flex-direction:column;align-items:stretch}.asset-preview.large .asset-meta{flex-direction:row;align-items:center;gap:12px}.asset-preview.large img{object-fit:contain;border-radius:8px;width:auto;max-width:100%;height:auto;max-height:600px;display:block}.asset-meta a{color:var(--studio-link)}.asset-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.form-actions{margin-top:18px}.conflict-banner{color:#fde68a;background:#fbbf2414;border:1px solid #fbbf2480;border-radius:12px;flex-direction:column;gap:8px;margin:12px 0;padding:12px 14px;display:flex}.conflict-banner ul{color:var(--studio-text);margin:0;padding-left:18px}.filter-bar{flex-wrap:wrap;align-items:flex-end;gap:14px;margin-bottom:16px;display:flex}.filter-field.grow{flex:1;min-width:200px}.row-meta{color:var(--studio-text-muted);font-size:.75rem;display:block}.raw-json summary{cursor:pointer;color:var(--studio-link)}.raw-json pre{white-space:pre-wrap;margin-top:8px}.lightbox-backdrop{background:var(--studio-backdrop);z-index:60;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.lightbox{background:var(--studio-surface);border:1px solid var(--studio-border);max-width:92vw;max-height:90vh;box-shadow:0 24px 80px var(--studio-backdrop);border-radius:12px;flex-direction:column;gap:10px;padding:14px;display:flex}.lightbox img,.lightbox video{object-fit:contain;border-radius:8px;width:auto;max-width:calc(92vw - 28px);height:auto;max-height:calc(90vh - 74px)}.lightbox audio{width:min(480px,80vw)}.lightbox-meta{justify-content:space-between;align-items:center;gap:14px;min-width:260px;display:flex}.lightbox-actions{flex-shrink:0;align-items:center;gap:10px;display:flex}.asset-thumb-button{cursor:zoom-in;width:100%;font:inherit;color:inherit;background:0 0;border:none;padding:0;display:block}.drawer-backdrop{background:var(--studio-backdrop);z-index:50;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer{background:var(--studio-surface);border-left:1px solid var(--studio-border);width:min(680px,100vw);height:100vh;box-shadow:-20px 0 60px var(--studio-backdrop);padding:22px;overflow-y:auto}.drawer.wide{width:min(960px,100vw)}.history-layout{grid-template-columns:240px 1fr;gap:18px;display:grid}.history-list{flex-direction:column;gap:6px;display:flex}.history-item{text-align:left;background:var(--studio-panel-soft);border:1px solid var(--studio-border);color:var(--studio-text);cursor:pointer;font:inherit;border-radius:10px;flex-direction:column;gap:2px;padding:8px 10px;display:flex}.history-item small{color:var(--studio-text-muted)}.history-item.active{border-color:var(--studio-accent-border-strong);background:var(--studio-accent-soft)}.diff-table{flex-direction:column;gap:4px;margin-top:10px;display:flex}.diff-row{word-break:break-word;border-radius:8px;grid-template-columns:160px 1fr 1fr;gap:10px;padding:6px 8px;font-size:.8rem;display:grid}.diff-row.header{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;font-size:.7rem}.diff-row.added{background:#22c55e1a}.diff-row.removed{background:#fca5a51a}.diff-row.changed{background:#fbbf2414}.breadcrumb{color:var(--studio-text-muted);align-items:center;gap:6px;margin-bottom:10px;font-size:.85rem;display:flex}.breadcrumb-sep{margin:0 6px}.tabs{border-bottom:1px solid var(--studio-border);flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.tab{color:var(--studio-text-dim);cursor:pointer;font:inherit;background:0 0;border:none;border-bottom:2px solid #0000;padding:10px 12px}.tab.active{color:#fff;border-bottom-color:var(--studio-accent)}.location-cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:20px;display:grid}.location-card{text-align:left;background:var(--studio-panel);border:1px solid var(--studio-border);color:var(--studio-text);cursor:pointer;font:inherit;border-radius:14px;flex-direction:column;gap:6px;padding:16px;display:flex}.location-card:hover{border-color:var(--studio-accent-border-strong)}.location-card small{color:var(--studio-text-muted)}.location-card span{color:var(--studio-accent);font-size:.8rem}@media (width<=900px){.form-grid,.form-grid.cols-3,.picker,.history-layout,.diff-row{grid-template-columns:1fr}}.asset-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:14px;display:grid}.asset-card{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:12px;flex-direction:column;gap:6px;min-width:0;padding:10px;display:flex}.asset-card img{object-fit:cover;border-radius:8px;width:100%;height:110px}.asset-card .asset-placeholder{place-items:center;height:110px;display:grid}.tree-location{background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:14px;margin-bottom:12px;padding:10px 14px}.tree-head{color:var(--studio-text);cursor:pointer;font:inherit;text-align:left;background:0 0;border:none;align-items:center;gap:10px;width:100%;padding:8px 4px;display:flex}.tree-head small{color:var(--studio-text-muted)}.tree-caret{color:var(--studio-accent);width:12px}.tree-room{border-left:2px solid var(--studio-accent-border);margin-top:4px;margin-left:18px;padding-left:12px}.tree-room-head{align-items:center;gap:10px;display:flex}.tree-room-head .tree-head{flex:1}.tree-experiences{margin:4px 0 10px 22px}.org-scope{border-bottom:1px solid var(--studio-border);flex-direction:column;gap:2px;padding:8px 10px 12px;display:flex}.org-scope small{color:var(--studio-text-muted)}.availability-strip{border-color:var(--studio-accent-border);background:var(--studio-accent-soft);margin-bottom:16px}.availability-strip legend{color:var(--studio-accent);font-weight:600}.availability-strip>.field-hint{margin:0 0 10px}.campaign-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:8px;display:grid}.campaign-card{font:inherit;text-align:left;background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-border);cursor:pointer;border-radius:12px;flex-direction:column;gap:6px;padding:16px;transition:border-color .15s,background .15s;display:flex}.campaign-card:hover{border-color:var(--studio-accent-border);background:var(--studio-panel-raised)}.campaign-card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.campaign-card small{color:var(--studio-text-muted)}.campaign-card>span:last-child{color:var(--studio-accent);margin-top:4px;font-size:.85rem}.composer-hint{margin:0 0 10px}.composer-actions{align-items:center;margin-top:12px}.composer-actions select{background:var(--studio-surface);max-width:320px;color:var(--studio-text);border:1px solid var(--studio-border);border-radius:10px;padding:8px 12px}.composer-subhead{margin:20px 0 8px}.campaign-tree{flex-direction:column;gap:18px;display:flex}.campaign-tree section>h3{color:var(--studio-text-dim);margin:0 0 8px;font-size:.95rem}.tree-branch{border-left:2px solid var(--studio-border);margin:0 0 6px 4px;padding:4px 0 4px 14px}.tree-leaf{border-left:2px solid var(--studio-border-soft);margin:4px 0 4px 18px;padding:2px 0 2px 14px}.tree-node{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.tree-node small{color:var(--studio-text-muted)}.tree-node-label{font:inherit;color:var(--studio-link);cursor:pointer;text-align:left;background:0 0;border:none;padding:0}.tree-node-label:hover{text-decoration:underline}.tours-location>h3{margin:20px 0 10px}.tours-room{margin-bottom:14px}.tours-room-head{justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:10px;display:flex}.tours-room-head small{color:var(--studio-text-muted)}.tour-cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.tour-card{background:var(--studio-panel-soft);border:1px solid var(--studio-border);border-radius:10px;flex-direction:column;gap:6px;padding:12px 14px;display:flex}.tour-card.approved{border-color:#22c55e59}.tour-card-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.tour-card small{color:var(--studio-text-muted)}.tour-card p{color:var(--studio-text-dim);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:.85rem;display:-webkit-box;overflow:hidden}.tour-card .button-row{margin-top:6px}.coverage-matrix{margin:0 0 12px;overflow-x:auto}.coverage-matrix table{border-collapse:collapse;font-size:.82rem}.coverage-matrix th,.coverage-matrix td{border:1px solid var(--studio-border-soft);text-align:center;padding:4px 10px}.coverage-matrix th[scope=row]{text-align:left;color:var(--studio-text-dim);font-weight:500}.coverage-matrix thead th{color:var(--studio-text-muted);font-weight:500}.coverage-approved{color:#86efac;background:#22c55e14}.coverage-pending{color:#fbbf24;background:#fbbf2414}.coverage-missing{color:var(--studio-text-faint)}.coverage-update{color:#93c5fd;background:#60a5fa1a}.coverage-legend{color:var(--studio-text-muted);margin-top:4px;display:block}.status-update{color:#93c5fd;font-weight:600}.status-muted{color:var(--studio-text-muted);font-weight:600}.status-chip.update-pending{color:#93c5fd;background:#60a5fa24;border:1px solid #60a5fa59}.tours-toolbar{align-items:center}.tour-card.update-pending{border-color:#60a5fa73}.tour-card.retired,.narration-row.retired{opacity:.6}.retired-note{color:var(--studio-text-muted);display:block}.revision-set{flex-direction:column;gap:8px;margin:8px 0 14px;display:flex}.revision-set ul{margin:4px 0 0;padding-left:18px}.compare-heading{margin:18px 0 8px}.compare-dek{color:var(--studio-text-dim);display:block}.compare-text{white-space:pre-wrap;color:var(--studio-text-dim);font-size:.85rem;display:block}p.compare-text.changed{background:#fbbf2414;border-radius:8px;padding:8px}.compare-items{grid-template-columns:1fr 1fr;gap:14px;margin-top:10px;display:grid}.compare-items>div{flex-direction:column;gap:6px;min-width:0;display:flex}.compare-list{flex-direction:column;gap:4px;margin:0;padding-left:22px;font-size:.85rem;display:flex}.compare-list li{border-radius:8px;padding:4px 8px}.compare-list li small{color:var(--studio-text-muted);display:block}.compare-list li.item-added{background:#22c55e1a}.compare-list li.item-removed{background:#fca5a51a;text-decoration:line-through}.compare-list li.item-moved{background:#fbbf2414}.narration-group{padding:0}.narration-group-head{width:100%;color:var(--studio-text);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:baseline;gap:10px;padding:12px 16px;display:flex}.narration-group-head small{color:var(--studio-text-muted)}.narration-group-bar{align-items:center;gap:10px;padding-right:16px;display:flex}.narration-group-bar .narration-group-head{flex:1;min-width:0}.generation-actions{margin-left:auto}.tours-location-head{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.tours-location-head>h3{margin:20px 0 10px}.generation-status{margin:0 0 12px}.narration-caret{width:1em;color:var(--studio-text-muted);display:inline-block}.narration-rows{padding:0 12px 12px}.table-row.narration-row{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1.2fr) 7.5rem 17.5rem;align-items:center;gap:10px}.narration-text{color:var(--studio-text-dim);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:.82rem;display:-webkit-box;overflow:hidden}.narration-row .media-audio{width:100%;height:32px}.generation-estimate ul{margin:0;padding-left:18px}@media (width<=720px){.compare-items,.table-row.narration-row{grid-template-columns:1fr}}.wizard-steps{flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0;list-style:none;display:flex}.wizard-steps li button{font:inherit;background:var(--studio-panel-soft);color:var(--studio-text-muted);border:1px solid var(--studio-border-soft);cursor:pointer;border-radius:999px;align-items:center;gap:8px;padding:6px 14px 6px 6px;display:flex}.wizard-steps li button:disabled{cursor:default;opacity:.6}.wizard-step-number{background:var(--studio-panel-raised);width:24px;height:24px;color:var(--studio-text-dim);border-radius:50%;place-items:center;font-size:.8rem;font-weight:600;display:grid}.wizard-steps li.active button{border-color:var(--studio-accent-border);color:var(--studio-text)}.wizard-steps li.active .wizard-step-number{background:var(--studio-accent);color:var(--studio-on-accent)}.wizard-steps li.complete button{color:var(--studio-text-dim)}.wizard-steps li.complete .wizard-step-number{color:#86efac;background:#22c55e29}.wizard-nav{margin-top:16px}.chip-button.active{border-color:var(--studio-accent-border);color:var(--studio-text)}.readiness-card{margin-bottom:16px}.readiness-list{flex-direction:column;gap:6px;margin:10px 0;padding:0;list-style:none;display:flex}.readiness-list li{align-items:baseline;gap:10px;display:flex}.readiness-list small{color:var(--studio-text-muted)}.readiness-icon{background:var(--studio-panel-raised);width:20px;height:20px;color:var(--studio-text-muted);border-radius:50%;flex-shrink:0;place-items:center;font-size:.75rem;display:inline-grid}.readiness-done .readiness-icon{color:#86efac;background:#22c55e29}.readiness-todo .readiness-icon{color:#fca5a5;background:#fca5a51a}.readiness-warn .readiness-icon{color:#fbbf24;background:#fbbf2414}.signin-tenant-hint{margin-top:.5rem;display:block}.link-button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.table-row.push-row{grid-template-columns:minmax(0,2fr) minmax(0,1.1fr) minmax(0,.9fr) minmax(0,1.2fr) auto}.table-row.push-results-row{grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr))}.table-row.push-results-total{color:var(--studio-text-bright);border-top:1px solid var(--studio-border);font-weight:600}.status-chip.push-status-draft{background:var(--studio-panel-raised);color:var(--studio-text-dim);border:1px solid var(--studio-border)}.status-chip.push-status-scheduled{color:#93c5fd;background:#60a5fa24;border:1px solid #60a5fa59}.status-chip.push-status-failed{color:#fca5a5;background:#fca5a51f;border:1px solid #fca5a559}.status-chip.push-status-muted{color:var(--studio-text-muted);border:1px solid var(--studio-border-soft);background:0 0}.push-counter{float:right;color:var(--studio-text-muted);font-variant-numeric:tabular-nums}.conflict-banner ul{margin:8px 0 0;padding-left:18px}.phone-preview{flex-direction:column;flex:200px;gap:8px;min-width:0;display:flex}.phone-preview-screen{border:1px solid var(--studio-border-strong);background:radial-gradient(circle at top,#1f2937,#0b0f19 70%);border-radius:22px;padding:26px 12px}.phone-preview-card{color:#111;background:#ffffffeb;border-radius:16px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.phone-preview-card strong{color:#111;overflow-wrap:anywhere;font-size:.9rem}.phone-preview-card p{color:#333;overflow-wrap:anywhere;margin:0;font-size:.85rem;line-height:1.35}.phone-preview-app{color:#555;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:6px;font-size:.7rem;display:flex}.phone-preview-icon{color:#fff;background:#0a0a0a;border-radius:4px;justify-content:center;align-items:center;width:16px;height:16px;display:inline-flex}.phone-preview-icon svg{width:12px;height:12px}.phone-preview-name{max-width:260px;margin-bottom:12px}.phone-preview-time{text-transform:none;letter-spacing:0;margin-left:auto}.app-config-layout{align-items:flex-start}.app-config-subnav{width:180px}.app-config-content{flex:1;min-width:0}.app-preview-aside{flex-shrink:0;width:360px;position:sticky;top:24px}.app-preview{flex-direction:column;gap:10px;display:flex}.app-preview-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.app-preview-toolbar select{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;min-width:0;padding:7px 10px;font-size:.8rem}.app-preview-toolbar .status-chip{margin-left:auto;padding:5px 10px}.app-preview-column{width:100%}.app-preview-device{border:1px solid var(--studio-border-strong);background:radial-gradient(circle at top,#1f2937,#0b0f19 70%);border-radius:28px;transition:width .12s,height .12s;position:relative;overflow:hidden;box-shadow:0 12px 40px #00000073}.app-preview-scaler{transform-origin:0 0;position:absolute;top:0;left:0}.app-preview-frame{background:#000;border:0;width:100%;height:100%;display:block}.app-preview-placeholder{text-align:center;color:var(--studio-text-dim);background:#0a0a0aeb;flex-direction:column;justify-content:center;align-items:center;gap:10px;padding:24px;display:flex;position:absolute;inset:0}.app-preview-placeholder p{overflow-wrap:anywhere;margin:0;font-size:.8rem;line-height:1.4}.app-config-dot{vertical-align:middle;background:#fbbf24;border-radius:50%;width:7px;height:7px;margin-left:8px;display:inline-block}.app-config-publish-build{flex-direction:column;gap:16px;display:flex}.app-config-versions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:12px 0;display:grid}.app-config-versions ul{color:var(--studio-text-dim);margin:8px 0 0;padding-left:18px;font-size:.85rem}.app-config-versions li{overflow-wrap:anywhere}.app-config-versions .status-chip,.app-config-language .status-chip,.app-config-row .status-chip{margin-left:8px;padding:3px 8px;font-size:.62rem}.app-config-diff{margin:8px 0 12px}.app-config-diff summary{cursor:pointer;color:var(--studio-text-dim);font-size:.85rem}.app-config-diff .diff-table{margin-top:10px}.app-config-publish-actions{margin:8px 0 16px}.app-config-publish-actions input{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;flex:1;padding:9px 12px}.app-config-build-form{margin-bottom:16px}.app-config-build-identity small{display:block}.form-field.app-config-build-actions{flex-direction:row}.app-config-identity-row{flex-wrap:wrap;align-items:center;gap:8px 16px;margin:4px 0;display:flex}.app-config-identity{color:var(--studio-text-bright);overflow-wrap:anywhere;align-items:center;gap:10px;font-weight:600;display:inline-flex}.app-config-identity img,.app-config-identity-placeholder{object-fit:cover;border:1px solid var(--studio-border);background:var(--studio-surface);border-radius:9px;flex:none;width:40px;height:40px}.table-row.app-config-build-row{grid-template-columns:1.4fr 1fr 1fr 1fr auto;align-items:start}.app-config-build-row small,.app-config-build-row .chip-link{display:block}.status-chip.build-status-queued,.status-chip.build-status-dispatched{color:#cbd5e1;background:#94a3b829;border:1px solid #94a3b859}.status-chip.build-status-in_progress{color:#93c5fd;background:#3b82f629;border:1px solid #3b82f659}.status-chip.build-status-completed{color:#86efac;background:#22c55e29;border:1px solid #22c55e59}.status-chip.build-status-failed,.status-chip.build-status-lost{color:#fca5a5;background:#ef444429;border:1px solid #ef444459}.status-chip.build-status-cancelled{color:#fbbf24;background:#fbbf241f;border:1px solid #fbbf2459}.app-config-languages{flex-wrap:wrap;align-items:center;gap:10px;margin:12px 0;display:flex}.app-config-language{border:1px solid var(--studio-border);border-radius:12px;align-items:center;gap:6px;padding:4px 6px 4px 4px;display:inline-flex}.app-config-language.active{border-color:var(--studio-accent-border);background:var(--studio-accent-soft)}.app-config-language .chip-button{color:var(--studio-text);background:0 0;border:0;padding:4px 8px}.app-config-language code{font-family:var(--studio-mono);color:var(--studio-text-muted);font-size:.75rem}.app-config-add-language{align-items:center}.app-config-add-language select{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:8px 10px}.table-row.app-config-row{grid-template-columns:minmax(180px,.9fr) 1.2fr 1.2fr;align-items:start}.table-row.app-config-row.missing{background:#fbbf240d}.app-config-key code{font-family:var(--studio-mono);color:var(--studio-text-dim);overflow-wrap:anywhere;font-size:.72rem}.app-config-row input[type=text],.app-config-row input[type=number],.app-config-row textarea{background:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;box-sizing:border-box;border-radius:8px;width:100%;padding:7px 10px;font-size:.85rem}.app-config-row input:disabled,.app-config-row textarea:disabled{opacity:.7}.app-config-image-cell .form-field{gap:4px}.app-config-image-cell .field-label{display:none}.color-field{align-items:center;gap:8px;display:flex}.color-swatch{border:1px solid var(--studio-border-strong);background-image:linear-gradient(45deg,#333 25%,#0000 25%),linear-gradient(-45deg,#333 25%,#0000 25%);background-size:8px 8px;border-radius:8px;flex-shrink:0;width:28px;height:28px}.form-field .color-field input[type=color]{border:1px solid var(--studio-border);background:var(--studio-surface);cursor:pointer;border-radius:8px;width:36px;height:32px;padding:0}.form-field .color-field input.color-hex{width:120px;font-family:var(--studio-mono);font-size:.8rem}.field-reset{margin-left:8px;font-size:.72rem}.font-family-field{flex-direction:column;gap:10px;display:flex}.font-faces{flex-direction:column;gap:8px;display:flex}.font-face{border:1px dashed var(--studio-border-strong);border-radius:12px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.font-face-controls{flex-wrap:wrap;align-items:flex-end;gap:10px;display:flex}.font-face-controls label,.font-face-file{color:var(--studio-text-dim);flex-direction:column;gap:4px;font-size:.8rem;display:flex}.font-face-file{flex:1;min-width:160px}.font-face-file span{color:var(--studio-text);font-size:.85rem}.form-field .font-face-controls select{width:auto;padding:7px 10px}.font-sample{color:var(--studio-text-bright);overflow-wrap:anywhere;margin:0;font-size:1.35rem;line-height:1.3}.font-measurements{border:1px solid var(--studio-border);border-radius:12px;flex-direction:column;gap:12px;padding:12px;display:flex}.font-metric-controls{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.font-metric{color:var(--studio-text-dim);flex-direction:column;gap:6px;display:flex}.font-metric-label{align-items:baseline;gap:8px;display:flex}.font-metric-label output{color:var(--studio-text-bright);font-family:var(--studio-mono);font-size:.8rem}.font-metric-inputs{align-items:center;gap:8px;display:flex}.font-metric-inputs input[type=range]{min-width:0;accent-color:var(--studio-accent);flex:1}.form-field .font-metric-inputs input[type=number]{width:76px;padding:6px 8px}.font-specimen{flex-direction:column;gap:16px;min-width:0;display:flex}.font-specimen-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.font-specimen-compare{color:var(--studio-text-dim);align-items:center;gap:6px;font-size:.8rem;display:inline-flex}.font-specimen-sample{flex-direction:column;gap:4px;display:flex}.font-specimen-lines{position:relative}.font-specimen-lines p{color:var(--studio-text-bright);overflow-wrap:anywhere;background-image:linear-gradient(to bottom, var(--studio-accent-soft) 50%, transparent 50%);margin:0}.font-specimen-lines .font-specimen-fallback{color:var(--studio-accent);opacity:.45;pointer-events:none;background:0 0;position:absolute;inset:0}.font-bulk-drop{border:1px dashed var(--studio-border);color:var(--studio-text-muted);border-radius:12px;flex-direction:column;gap:8px;padding:12px;font-size:.8rem;display:flex}@media (width<=1280px){.app-preview-aside{width:280px}}@media (width<=1024px){.app-config-layout{flex-wrap:wrap}.app-preview-aside{width:100%;position:static}.app-preview-column{max-width:393px;margin:0 auto}.app-config-versions,.table-row.app-config-row,.table-row.app-config-build-row{grid-template-columns:1fr}}.media-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;display:grid}.media-card img,.media-card .media-video{object-fit:contain;background:var(--studio-bg);border-radius:8px;width:100%;height:150px}.media-card .asset-placeholder{place-items:center;width:100%;height:150px;display:grid}.media-card .media-audio{width:100%}.media-card-meta{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.asset-preview .media-video{background:var(--studio-bg);border-radius:8px;max-width:240px;max-height:150px}.asset-preview .media-audio{width:280px}.media-placeholder-button{border:1px solid var(--studio-border);color:var(--studio-link);cursor:pointer;font:inherit}.media-placeholder-button:hover{border-color:var(--studio-accent-border)}.subtitle-viewer,.subtitle-raw{width:min(720px,86vw);max-height:calc(90vh - 74px);overflow:auto}.subtitle-viewer table{border-collapse:collapse;width:100%}.subtitle-viewer td{border-bottom:1px solid var(--studio-border-soft);vertical-align:top;padding:8px 10px}.subtitle-time{font-family:var(--studio-mono);color:var(--studio-text-muted);white-space:nowrap;font-size:.75rem}.subtitle-text{white-space:pre-line}.subtitle-raw{white-space:pre-wrap;font-family:var(--studio-mono);margin:0;font-size:.8rem}.model-viewer{background:var(--studio-bg);--poster-color:transparent;border-radius:8px;width:100%;height:150px;display:block}.media-model{width:100%;position:relative}.media-expand{position:absolute;top:6px;right:8px}.asset-preview .media-model{width:240px}.lightbox .lightbox-model{width:min(900px,88vw);height:calc(90vh - 74px)}.sync-badge{border:1px solid var(--studio-border);color:var(--studio-text-dim);white-space:nowrap;vertical-align:middle;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:.72rem;display:inline-block}.sync-badge.sync-in_sync{color:var(--studio-accent);border-color:var(--studio-accent-border)}.sync-badge.sync-local_ahead,.sync-badge.sync-only_local{color:#f0c36a;border-color:#f0c36a73}.sync-badge.sync-sanity_ahead,.sync-badge.sync-only_sanity{color:#7fb8ff;border-color:#7fb8ff73}.sync-badge.sync-conflict{color:#ff7a7a;border-color:#ff7a7a80}.sync-diff .table-row{grid-template-columns:1fr 2fr 2fr}.sync-value{font-family:var(--studio-mono);white-space:pre-wrap;word-break:break-word;font-size:.78rem}.sync-filters{flex-wrap:wrap;gap:6px;margin:12px 0;display:flex}.sync-filter{border:1px solid var(--studio-border);color:var(--studio-text-dim);font:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:4px 10px;font-size:.8rem}.sync-filter.active{background:var(--studio-accent-soft);border-color:var(--studio-accent-border);color:var(--studio-text)}.table-row.profiles-row{grid-template-columns:minmax(0,2fr) minmax(0,1.4fr) minmax(0,1fr) auto auto}.table-row.profiles-rule-row{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr);align-items:start}.table-row.profiles-option-row{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) auto}.table-row.profiles-option-row.with-logo{grid-template-columns:44px minmax(0,1fr) minmax(0,1.4fr) auto}.profiles-option-logo{object-fit:contain;border-radius:6px;flex:none}.profiles-localized{flex-direction:column;gap:8px;display:flex}.profiles-localized-row{grid-template-columns:minmax(140px,.6fr) minmax(0,2fr) 84px;align-items:center;gap:10px;display:grid}.profiles-localized-row input,.profiles-localized-row textarea{box-sizing:border-box;background:var(--studio-surface);border:1px solid var(--studio-border);width:100%;color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:10px 12px}.profiles-localized-row textarea{resize:vertical}.profiles-localized-language{color:var(--studio-text-dim);font-size:.8rem}.profiles-properties{flex-direction:column;gap:8px;display:flex}.profiles-property-row{grid-template-columns:minmax(120px,.8fr) 110px minmax(0,2fr) auto;align-items:center;gap:10px;display:grid}.profiles-property-row input,.profiles-property-row select{box-sizing:border-box;background:var(--studio-surface);border:1px solid var(--studio-border);width:100%;color:var(--studio-text-bright);font:inherit;border-radius:10px;padding:10px 12px}.profiles-property-row code{color:var(--studio-text-dim);font-family:var(--studio-mono);background:0 0;font-size:.8rem}.profiles-property-asset{border:1px dashed var(--studio-border-strong);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 8px;display:flex}.profiles-property-asset-preview{min-width:0;color:var(--studio-link);align-items:center;gap:8px;display:inline-flex}.profiles-property-asset-preview img{object-fit:contain;border-radius:6px;flex:none;width:32px;height:32px}.profiles-logo-size{flex-direction:column;gap:4px;width:120px;display:flex}.profiles-option-logo-button{border:1px dashed var(--studio-border-strong);background:var(--studio-panel);width:40px;height:40px;color:var(--studio-text-muted);cursor:pointer;border-radius:8px;place-items:center;padding:0;display:grid}@media (width<=560px){.table-row.profiles-option-row.with-logo,.profiles-localized-row,.profiles-property-row{grid-template-columns:1fr}}.gambit-list{flex-direction:column;gap:10px;margin-bottom:24px;display:flex}.gambit{grid-template-columns:34px minmax(0,1fr) auto auto;grid-template-areas:".name. .""order bar stats state";align-items:center;gap:6px 14px;display:grid}.gambit-order{grid-area:order}.gambit-bar{grid-area:bar}.gambit-stats{grid-area:stats}.gambit-switch{grid-area:state}.gambit-order{flex-direction:column;align-items:center;gap:2px;display:flex}.gambit-num{color:var(--studio-text-muted);font-variant-numeric:tabular-nums;font-size:1.35rem;font-weight:700;line-height:1}.gambit.on .gambit-num{color:var(--studio-text-bright)}.gambit-move{color:var(--studio-text-faint);cursor:pointer;background:0 0;border:none;padding:2px 6px;font-size:.6rem;line-height:1}.gambit-move:hover:not(:disabled){color:var(--studio-text-bright)}.gambit-move:disabled,.gambit-move[hidden]{visibility:hidden;display:block}.gambit-name{color:var(--studio-text-dim);grid-area:name;align-items:center;gap:8px;padding-left:20px;font-size:.8rem;display:flex}.gambit-state{letter-spacing:.08em;cursor:help;border:1px solid var(--studio-border);color:var(--studio-text-muted);border-radius:4px;padding:2px 6px;font-size:.68rem;font-weight:700}.gambit-state.on{color:var(--studio-accent);border-color:var(--studio-accent-border)}.gambit-state.shadow{color:#93c5fd;border-style:dashed;border-color:#60a5fa59}.gambit-problem{cursor:help;white-space:nowrap;font-size:.72rem}.gambit-problem.missing{color:#fbbf24;font-weight:600}.gambit-problem.inactive{color:var(--studio-text-muted)}.rule-problems{gap:8px;margin-bottom:16px;display:grid}.rule-problems-group{border:1px solid var(--studio-border);border-radius:8px;padding:10px 12px;font-size:.85rem}.rule-problems-group.missing{background:#fbbf240f;border-color:#fbbf2473}.rule-problems-group.inactive{color:var(--studio-text-dim)}.rule-problems-group ul{margin:6px 0 0;padding-left:18px}.gambit-bar{border:1px solid var(--studio-border);background:var(--studio-panel-raised);font:inherit;text-align:left;color:var(--studio-text);cursor:pointer;border-radius:999px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);align-items:stretch;padding:0;display:grid;overflow:hidden}.gambit-bar:hover{border-color:var(--studio-border-strong)}.gambit.on .gambit-bar{border-color:var(--studio-accent-border)}.gambit.shadow .gambit-bar{border-style:dashed}.gambit.off .gambit-bar{opacity:.55}.gambit-when{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;padding:8px 12px 8px 16px;display:flex}.gambit-chip{background:var(--studio-panel);border:1px solid var(--studio-border-soft);color:var(--studio-text-bright);white-space:nowrap;text-overflow:ellipsis;border-radius:6px;max-width:100%;padding:3px 9px;font-size:.82rem;overflow:hidden}.gambit-chip.trigger{background:0 0;border-color:#0000;padding-left:0;font-weight:600}.gambit-chip.code{white-space:normal;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.gambit-then{background:var(--studio-accent-soft);border-left:1px solid var(--studio-accent-border);align-items:center;gap:10px;min-width:0;padding:8px 18px 8px 12px;display:flex}.gambit.off .gambit-then,.gambit.shadow .gambit-then{background:var(--studio-panel);border-left-color:var(--studio-border)}.gambit-arrow{color:var(--studio-accent);font-size:.75rem}.gambit-action{flex-direction:column;min-width:0;display:flex}.gambit-action strong{color:var(--studio-text-bright);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gambit-action small{color:var(--studio-text-dim);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.template-list{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;display:grid}.template-card{border:1px solid var(--studio-border);background:var(--studio-panel);font:inherit;text-align:left;color:var(--studio-text-dim);cursor:pointer;border-radius:14px;flex-direction:column;gap:6px;padding:14px 16px;display:flex}.template-card:hover{border-color:var(--studio-border-strong)}.template-card-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.template-card-head strong{color:var(--studio-text-bright)}.template-card-dest{color:var(--studio-text-muted);margin-left:auto;font-size:.75rem}.template-card-title{color:var(--studio-text-bright);font-weight:600}.template-card-body{font-size:.85rem}.template-card-uses{color:var(--studio-text-muted);flex-wrap:wrap;gap:6px;margin-top:4px;font-size:.78rem;display:flex}.template-use{border:1px solid var(--studio-border);color:var(--studio-text-dim);border-radius:999px;align-items:center;gap:6px;padding:2px 8px;display:inline-flex}.template-use small{text-transform:uppercase;letter-spacing:.06em;color:var(--studio-text-muted);font-size:.68rem}.template-use.on small{color:var(--studio-accent)}.field-error-list{color:#fca5a5;margin:8px 0 0;padding-left:18px;font-size:.8rem}.panel .field-error-list li{color:#fca5a5}.automation-stats{color:var(--studio-text-dim);font-variant-numeric:tabular-nums;flex-direction:column;align-items:flex-end;font-size:.85rem;display:flex}.automation-stats small{color:var(--studio-text-muted)}.automation-mode-switch{border:1px solid var(--studio-border);border-radius:8px;align-self:center;display:inline-flex;overflow:hidden}.automation-mode-switch button{color:var(--studio-text-dim);font:inherit;cursor:pointer;background:0 0;border:none;padding:6px 10px;font-size:.8rem}.automation-mode-switch button+button{border-left:1px solid var(--studio-border)}.automation-mode-switch button.active{background:var(--studio-accent-soft);color:var(--studio-text-bright)}.automation-mode-switch button:disabled:not(.active){cursor:default;opacity:.6}.panel .automation-step{border-top:1px solid var(--studio-border-soft);text-transform:uppercase;letter-spacing:.08em;color:var(--studio-text-muted);margin:24px 0 12px;padding-top:16px;font-size:.75rem;font-weight:600}.panel .automation-step+.field-hint{margin:-6px 0 12px}.automation-row select,.automation-row input,.automation-combine select,.automation-insert select{background-color:var(--studio-surface);border:1px solid var(--studio-border);color:var(--studio-text-bright);font:inherit;box-sizing:border-box;border-radius:10px;padding:10px 12px}.automation-row select,.automation-combine select,.automation-insert select,.app-shell .automation-page select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%238f8f8f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}.automation-condition{flex-direction:column;gap:10px;display:flex}.automation-condition .automation-mode-switch{align-self:flex-start}.automation-rows{flex-direction:column;gap:8px;display:flex}.automation-row{grid-template-columns:40px minmax(0,2fr) minmax(0,1.2fr) minmax(0,1.2fr) auto;align-items:center;gap:8px;display:grid}.automation-row-join{text-transform:uppercase;letter-spacing:.06em;color:var(--studio-text-muted);font-size:.75rem}.automation-combine{color:var(--studio-text-dim);align-items:center;gap:8px;display:inline-flex}.automation-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem}.automation-insert{align-items:center;gap:12px;margin-top:6px;display:flex}.app-shell .automation-insert select{width:auto;max-width:240px;min-height:30px;color:var(--studio-text-dim);background-color:#0000;background-position:right 10px center;padding:4px 30px 4px 10px;font-size:.8rem}.app-shell .automation-combine select{width:auto}.table-row.automation-results-row{grid-template-columns:minmax(0,1.4fr) repeat(5,minmax(0,1fr))}.gambit-group{flex-direction:column;gap:10px;display:flex}.gambit-group+.gambit-group{margin-top:16px}.gambit-group.is-group{background:var(--studio-panel-soft);border:1px solid var(--studio-border-soft);border-radius:16px;padding:10px 14px 14px}.gambit-ungrouped-label{letter-spacing:.06em;text-transform:uppercase;color:var(--studio-text-faint);padding-left:48px;font-size:.72rem}.gambit-group-header{border-bottom:1px solid var(--studio-border-soft);align-items:center;gap:10px;min-width:0;padding-bottom:10px;display:flex}.gambit-group-header.collapsed{border-bottom:none;padding-bottom:0}.gambit-group-toggle{width:28px;color:var(--studio-text-muted);cursor:pointer;background:0 0;border:none;flex:none;font-size:.9rem}.gambit-group-name{min-width:0;color:inherit;text-align:left;cursor:pointer;background:0 0;border:none;padding:0}.gambit-group-name h3{color:var(--studio-text-bright);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.05rem;overflow:hidden}.gambit-group-meta{min-width:0;color:var(--studio-text-muted);white-space:nowrap;text-overflow:ellipsis;flex:auto;font-size:.8rem;overflow:hidden}.gambit-group-rename{align-items:center;gap:8px;display:flex}.gambit-group-empty{margin:0 0 0 48px}.gambit-menu{flex:none;position:relative}.gambit-menu-button{color:var(--studio-text-dim);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;padding:4px 10px;font-size:1.1rem;line-height:1}.gambit-menu-button:hover,.gambit-menu-button[aria-expanded=true]{border-color:var(--studio-border);background:var(--studio-hover)}.gambit-menu-panel{z-index:20;background:var(--studio-surface);border:1px solid var(--studio-border-strong);border-radius:12px;flex-direction:column;gap:2px;min-width:240px;padding:8px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 12px 32px #00000080}.gambit-menu-panel hr{border:none;border-top:1px solid var(--studio-border-soft);width:100%;margin:6px 0}.gambit-menu-label{color:var(--studio-text-faint);padding:2px 8px 6px;font-size:.72rem}.gambit-menu-panel .automation-mode-switch{margin:0 8px 2px}.gambit-menu-item{text-align:left;color:var(--studio-text);cursor:pointer;background:0 0;border:none;border-radius:8px;padding:8px;font-size:.875rem}.gambit-menu-item:hover:not(:disabled){background:var(--studio-hover)}.gambit-menu-item:disabled{color:var(--studio-text-faint);cursor:default}.gambit-menu-item.danger{color:#ff8a8a}.gambit-new-group{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:16px;display:flex}.gambit-new-group .form-field{flex:280px}@media (width<=900px){.gambit{grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:".name name""order bar bar"".stats state"}.gambit-bar{border-radius:14px;grid-template-columns:1fr}.gambit-then{border-left:none;border-top:1px solid var(--studio-accent-border)}.automation-row{grid-template-columns:1fr}}.loading-icon{text-align:center;width:100px;position:absolute;left:calc(50% - 25px)}.loading-icon .animated-path{width:50px;transform-style:preserve-3d;transform-origin:0 62px;border:1px solid #000;display:block}.loading-icon span{color:var(--studio-text-dim);display:inline-block}.fp-editor{flex-direction:column;gap:10px;display:flex}.fp-toolbar{flex-wrap:wrap;align-items:center;gap:8px 16px;display:flex}.fp-tools{flex-wrap:wrap;gap:6px;display:flex}.fp-zoom{margin-left:auto}.fp-tool-options{flex-wrap:nowrap;align-items:center;gap:8px;width:100%;height:40px;display:flex}.fp-tool-options>*{flex:none}.fp-tool-options>.field-hint{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;overflow:hidden}.fp-tool-options input[type=number]{width:90px}.fp-tool-options select,.fp-tool-options input[type=text]{min-width:200px}.fp-scale-summary{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.fp-inline{align-items:center;gap:6px;display:flex}.fp-inline input{width:110px}.fp-warning{color:#fbbf24}.fp-canvas{border:1px solid var(--studio-border);background:#fff;border-radius:8px;outline:none;max-height:75vh;overflow:auto}.fp-canvas:focus-visible{box-shadow:0 0 0 2px var(--studio-accent)}.fp-svg{touch-action:none;-webkit-user-select:none;user-select:none;height:auto;display:block}.fp-svg.drawing{cursor:crosshair}.fp-region{stroke-width:2px;cursor:pointer}.fp-region.room{fill:#3b82f629;stroke:#2563eb}.fp-region.experience{fill:#f59e0b47;stroke:#d97706}.fp-region.outside{fill:#64748b38;stroke:#475569;stroke-dasharray:6 4}.fp-region.selected{stroke-width:3.5px}.fp-region.bad{stroke:#dc2626;stroke-width:3px}.fp-label{text-anchor:middle;dominant-baseline:middle;fill:#111827;paint-order:stroke;stroke:#ffffffd9;stroke-width:3px;pointer-events:none;font-weight:700}.fp-scale-line line{stroke:#db2777;stroke-width:2px}.fp-scale-line text{fill:#db2777;text-anchor:middle;paint-order:stroke;stroke:#fff;stroke-width:3px;font-weight:700}.fp-scale-draft{stroke:#db2777;stroke-width:2px;stroke-dasharray:6 4}.fp-draft{fill:#10b9811f;stroke:#059669;stroke-width:2px;stroke-dasharray:5 4}.fp-draft-point{fill:#059669}.fp-handle{fill:#fff;stroke:#111827;stroke-width:1.5px;vector-effect:non-scaling-stroke;cursor:grab}.fp-handle.mid{fill:#9ca3af;stroke:none;cursor:copy}.fp-cursor{fill:none;stroke:#6b7280;stroke-width:1.5px;vector-effect:non-scaling-stroke;pointer-events:none}.fp-cursor.snapped{stroke:#059669;stroke-width:2.5px}.fp-selected{border:1px solid var(--studio-border);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;display:flex}.fp-kind{opacity:.7;text-transform:capitalize}.fp-region-list{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.fp-region-list li{flex-direction:column;gap:2px;display:flex}.fp-region-row{color:inherit;cursor:pointer;text-align:left;font:inherit;background:0 0;border:0;border-radius:6px;align-items:baseline;gap:8px;padding:4px 6px;display:flex}.fp-region-row small{opacity:.7}.fp-region-list li.selected .fp-region-row{background:var(--studio-panel-raised)}.fp-swatch{border-radius:3px;flex:none;align-self:center;width:12px;height:12px}.fp-swatch.room{background:#2563eb}.fp-swatch.experience{background:#d97706}.fp-swatch.outside{background:#475569}.tune-in-panel .tune-in-section{margin-top:16px}.tune-in-panel .tune-in-section h3{margin:0 0 12px}.tune-in-updated{margin-top:12px}.tune-in-table-wrap{overflow-x:auto}.tune-in-table{border-collapse:collapse;width:100%;font-size:.9rem}.tune-in-table th,.tune-in-table td{text-align:left;border-bottom:1px solid var(--studio-border-soft);vertical-align:top;padding:10px 8px}.tune-in-table th{color:var(--studio-link);text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:600}.tune-in-table tbody tr:last-child td{border-bottom:none}.tune-in-table .num{text-align:right;font-variant-numeric:tabular-nums}.tune-in-table td.num{color:var(--studio-text)}.tune-in-sub{color:var(--studio-text-dim);font-size:.78rem;display:block}.tune-in-chip{border:1px solid var(--studio-border);background:var(--studio-hover);white-space:nowrap;gap:6px;padding:4px 10px}.tune-in-action{min-height:32px;padding:4px 10px;font-size:.82rem}.tune-in-pin-form{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tune-in-pin-form select,.tune-in-pin-form input{min-height:32px;font:inherit;padding:4px 8px;font-size:.82rem}.tune-in-error{justify-content:space-between;align-items:center;gap:12px;display:flex}.tune-in-empty h3{margin-top:0}.app-icon-crops{flex-wrap:wrap;align-items:flex-start;gap:1rem;margin-top:.75rem;display:flex}.app-icon-crops figure{justify-items:center;gap:.35rem;margin:0;display:grid}.app-icon-crops figcaption{color:var(--studio-text-muted);font-size:.8rem}.app-icon-crops .field-hint{flex-basis:100%;margin:0}.app-icon-tile{background:#fff;width:112px;height:112px;position:relative;overflow:hidden}.app-icon-tile img{object-fit:contain;width:100%;height:100%;display:block}.app-icon-tile.android{border-radius:50%}.app-icon-tile svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.app-icon-hidden{fill:#0000008c}.app-icon-guide{fill:none;stroke:var(--studio-accent);stroke-width:1px;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 1px #000000e6)}.app-icon-guide.safe{stroke-dasharray:4 3}.app-icon-fit{gap:.5rem;margin-top:.75rem;display:grid}.rarities-field{gap:8px;display:grid}.rarities-table{border-collapse:collapse;width:100%;font-size:.85rem}.rarities-table th{text-align:left;border-bottom:1px solid var(--studio-border);padding:4px 8px 4px 0;font-weight:600}.rarities-table td{vertical-align:middle;padding:4px 8px 4px 0}.rarities-table .color-swatch{border-radius:5px;width:18px;height:18px}.percent-input{align-items:center;gap:4px;display:inline-flex}.percent-input input{width:80px}.rarity-chip{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.rarity-chip .color-swatch{border-radius:4px;width:12px;height:12px}.rarity-strip{flex-wrap:wrap;gap:4px 14px;font-size:.8rem;display:flex}.rarity-strip.inline{vertical-align:middle;display:inline-flex}.card-variants-field{gap:12px;display:grid}.card-variant{border:1px solid var(--studio-border,#ffffff1f);border-radius:10px;min-width:0;padding:10px 14px 14px}.card-variant legend{align-items:center;gap:8px;padding:0 6px;display:inline-flex}.rarity-chip.inactive{opacity:.55}.status-chip.warning{color:#fbbf24;background:#fbbf2424;border:1px solid #fbbf2459;padding:2px 8px}.random-pack-simulator{margin-top:16px}.rarity-issues{margin:0;padding-left:18px}.drop-simulator-controls{flex-wrap:wrap;align-items:flex-end;gap:8px;display:flex}.drop-simulator-seed{flex:260px;gap:4px;min-width:0;display:grid}.drop-simulator-seed input{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.drop-simulator-result{gap:8px;margin-top:8px;display:grid}.drop-simulator-tally{border-collapse:collapse;width:100%;max-width:520px}.drop-simulator-tally th,.drop-simulator-tally td{text-align:left;border-bottom:1px solid var(--border,#7f7f7f40);padding:4px 8px}.drop-simulator-tally td:not(:first-child),.drop-simulator-tally th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.copydeck-options{border:1px solid var(--studio-border);border-radius:8px;flex-direction:column;gap:6px;margin:0 0 14px;padding:10px 14px 12px;display:flex}.copydeck-options .checkbox-field{align-self:flex-start;min-height:28px}.copydeck-options legend{color:var(--studio-text-dim);padding:0 6px}.copydeck-progress{flex-direction:column;gap:10px;display:flex}.copydeck-progress progress{width:100%}.copydeck-capture-frame{border:1px solid var(--studio-border-strong);background:#000;border-radius:12px;position:relative;overflow:hidden}.copydeck-capture-frame iframe{transform-origin:0 0;border:0;position:absolute;top:0;left:0}.qr-type-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;margin-bottom:8px;display:grid}.qr-type-option{color:#e5eefb;font:inherit;text-align:left;cursor:pointer;background:#0f172aa6;border:1px solid #94a3b833;border-radius:12px;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;display:flex}.qr-type-option small{color:#94a3b8}.qr-type-option.selected{background:#7c3aed2e;border-color:#a78bfab3}.qr-color{cursor:pointer;height:42px;padding:4px!important}.qr-fieldset{border:none;min-width:0;margin:0;padding:0}.table-row.qr-row{grid-template-columns:48px minmax(0,2fr) 1fr 1fr auto}.qr-row-button{width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;border-bottom:1px solid #94a3b81f}.qr-row-button:hover{background:#94a3b80f}.qr-row img{background:#fff;border-radius:6px}.qr-row strong,.qr-row small{display:block}.status-chip.qr-status-paused{color:#fbbf24;background:#fbbf2424;border:1px solid #fbbf2459}.qr-detail-grid{grid-template-columns:minmax(280px,360px) minmax(0,1fr);align-items:start;gap:16px;display:grid}.qr-preview{flex-direction:column;gap:14px;display:flex}.qr-preview img{border-radius:10px;width:100%;height:auto}.qr-links>div{flex-direction:column;align-items:flex-start;gap:6px;min-width:0;max-width:100%;margin-bottom:12px;display:flex}.qr-links a,.qr-links code{color:#c4b5fd;max-width:100%}.qr-stats-panel{margin-top:16px}.qr-stats{flex-direction:column;gap:16px;display:flex}.qr-chart svg{width:100%;height:180px;display:block}.qr-chart-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:8px;display:flex}.qr-chart-head small,.qr-chart-axis{color:#94a3b8;font-size:.75rem}.qr-chart-axis{justify-content:space-between;margin-top:4px;display:flex}.qr-chart-baseline{stroke:#94a3b859;stroke-width:1px}.qr-bar{fill:#a78bfa}.qr-bar.active{fill:#ddd6fe}.qr-breakdowns{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.qr-breakdown>strong{color:#f1f5f9;margin-bottom:6px;display:block}.qr-breakdown-row>span:first-child{padding-bottom:6px;position:relative}.qr-breakdown-bar{background:#a78bfa;border-radius:2px;height:3px;position:absolute;bottom:0;left:0}.qr-public .main-panel{align-items:center}.qr-public-content{max-width:1040px}.qr-public-head{flex-wrap:wrap;align-items:center;gap:24px;margin:8px 0;display:flex}.qr-public-head img{background:#fff;border-radius:12px;max-width:100%;height:auto}.qr-public-head h1{color:#f1f5f9;margin:0 0 8px}@media (width<=900px){.qr-detail-grid{grid-template-columns:1fr}.table-row.qr-row{grid-template-columns:48px minmax(0,1fr) auto}.table-row.qr-row>:nth-child(3),.table-row.qr-row>:nth-child(4){display:none}}@media (width<=560px){.qr-public-content{padding:16px}}
