:root{font-family:-apple-system,PingFang SC,Helvetica Neue,system-ui,sans-serif;color:#1f2117;background:#eeefe8;font-synthesis:none;text-rendering:optimizeLegibility;--green: #5a9e2f;--green-dark: #3b6d11;--green-weak: #eaf3de;--ink: #1f2117;--muted: #5f6356;--line: #e3e5db;--line-strong: #cfd2c6;--surface: #ffffff;--surface-soft: #f6f7f2;--surface-muted: #eeefe8}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button{font:inherit}button:focus-visible{outline:3px solid rgba(85,168,50,.28);outline-offset:3px}.login-shell,.loading-shell{min-height:100vh;display:grid;place-items:center;padding:2rem;background:var(--surface-muted)}.login-card{width:min(100%,31rem);padding:clamp(2rem,7vw,3.5rem);border:1px solid var(--line);border-radius:1rem;background:var(--surface);box-shadow:0 1rem 2.5rem #1f211714;text-align:center}.brand-mark{display:block;width:4rem;height:4rem;margin:0 auto 1.25rem;filter:drop-shadow(0 .5rem .8rem rgba(59,109,17,.12))}.brand-mark.small{width:3rem;height:3rem;margin:0}.eyebrow{margin:0 0 .6rem;color:var(--green-dark);font-size:.72rem;font-weight:720;letter-spacing:.12em;text-transform:uppercase}h1,h2,p{margin-top:0}.login-card h1{margin-bottom:1rem;font-size:clamp(2rem,7vw,3rem);line-height:1.04;letter-spacing:-.04em}.login-copy{max-width:25rem;margin:0 auto 2rem;color:var(--muted);font-size:.98rem;line-height:1.75}.apple-button,.preview-button,.refresh-button{border:0;cursor:pointer;transition:transform .12s ease-out,background-color .16s ease,box-shadow .16s ease}.primary-button{min-height:2.5rem;padding:0 1rem;border:0;border-radius:.5rem;color:#fff;background:var(--green);cursor:pointer;font-size:.78rem;font-weight:680}.primary-button:hover{background:var(--green-dark)}.primary-button:disabled{cursor:wait;opacity:.65}.apple-button{width:100%;min-height:3.35rem;border-radius:1rem;color:#fff;background:#171916;box-shadow:0 .65rem 1.4rem #14191226;font-weight:670;overflow:hidden}.local-preview-panel{display:grid;gap:.7rem;padding:1rem;border:1px solid var(--line);border-radius:.75rem;background:var(--surface-soft);text-align:left}.local-preview-panel>span{color:var(--green-dark);font-size:.68rem;font-weight:760;letter-spacing:.1em}.local-preview-panel small{color:var(--muted);font-size:.72rem}.preview-button{min-height:3rem;border:0;border-radius:.5rem;color:#fff;background:var(--green);box-shadow:none;cursor:pointer;font-weight:700}.preview-button:disabled{cursor:wait;opacity:.7}.login-divider{display:flex;align-items:center;gap:.8rem;margin:1rem 0;color:var(--muted);font-size:.7rem}.login-divider:before,.login-divider:after{content:"";flex:1;height:1px;background:var(--line)}.apple-button img{display:block;width:100%;height:3.35rem;object-fit:contain}.apple-button:active,.preview-button:active,.refresh-button:active,.nav-item:active,.text-button:active{transform:scale(.97)}.apple-button:disabled{cursor:wait;opacity:.7}.security-note,.live-source{display:inline-flex;align-items:center;gap:.48rem;color:var(--muted);font-size:.78rem}.security-note{margin-top:1.25rem}.status-dot{width:.48rem;height:.48rem;border-radius:50%;background:var(--green);box-shadow:0 0 0 .22rem #55a83224}.notice{margin:1rem 0 0;color:#984327;font-size:.84rem;line-height:1.55}.notice.inline{margin:0 0 1.25rem;padding:.8rem 1rem;border-radius:.8rem;background:#fff0e8}.loading-shell{align-content:center;color:var(--muted)}.loading-shell p{margin-top:1rem}.loading-indicator{width:2.2rem;height:2.2rem;border:3px solid rgba(85,168,50,.2);border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.console-shell{min-height:100vh;display:grid;grid-template-columns:16.5rem minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:1.4rem;border-right:1px solid var(--line);background:var(--surface-soft)}.sidebar-brand{display:flex;align-items:center;gap:.8rem;padding:.35rem}.sidebar-brand strong,.sidebar-brand span{display:block}.sidebar-brand strong{font-size:.92rem;letter-spacing:-.015em}.sidebar-brand span{margin-top:.16rem;color:var(--muted);font-size:.72rem}nav{display:grid;gap:.35rem;margin-top:2.5rem}.nav-item,.text-button{border:0;cursor:pointer;background:transparent;text-align:left}.nav-item{padding:.78rem .9rem;border-radius:.8rem;color:#596056;font-size:.88rem;font-weight:610}.nav-item:hover{background:#55a83212}.nav-item.active{color:var(--green-dark);background:#55a8321f}.sidebar-footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding:.65rem .35rem}.mode-chip,.safe-badge,.record-count{display:inline-flex;align-items:center;border-radius:999px;font-size:.7rem;font-weight:680}.mode-chip{padding:.38rem .62rem;color:var(--green-dark);background:#55a8321c}.text-button{padding:.4rem;color:var(--muted);font-size:.76rem}.workspace{min-width:0;padding:clamp(2rem,5vw,4.5rem)}.workspace-header{display:flex;align-items:flex-end;justify-content:space-between;gap:1.5rem;margin-bottom:2rem}.workspace-header h1{margin:0;font-size:clamp(2rem,4vw,3.15rem);line-height:1;letter-spacing:-.045em}.header-actions{display:flex;align-items:center;gap:1rem}.refresh-button{min-height:2.5rem;padding:0 1rem;border:1px solid var(--line);border-radius:.8rem;color:#394036;background:#ffffffd1;font-size:.78rem;font-weight:650}.refresh-button:hover{background:#fff;box-shadow:0 .5rem 1.2rem #212c1d12}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.metric-card,.panel{border:1px solid var(--line);background:var(--surface);box-shadow:0 .5rem 1.5rem #1f211709}.metric-card{min-height:10rem;padding:1.3rem;border-radius:1rem}.metric-card span,.metric-card small{display:block;color:var(--muted)}.metric-card span{font-size:.78rem;font-weight:620}.metric-card strong{display:block;margin:1.15rem 0 .55rem;font-size:clamp(1.9rem,4vw,2.65rem);line-height:1;letter-spacing:-.045em}.metric-card small{font-size:.7rem}.content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(18rem,.65fr);gap:1rem;margin-top:1rem}.telemetry-stack{display:grid;gap:1rem}.telemetry-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem}.period-switcher{display:inline-flex;padding:.25rem;border:1px solid var(--line);border-radius:.8rem;background:var(--surface)}.period-switcher button{min-width:3.4rem;min-height:2.1rem;padding:0 .75rem;border:0;border-radius:.58rem;color:var(--muted);background:transparent;cursor:pointer;font-size:.75rem;font-weight:680}.period-switcher button.active{color:var(--green-dark);background:var(--green-weak)}.period-switcher button:disabled,.telemetry-toolbar button:disabled{cursor:wait;opacity:.6}.telemetry-detail-grid{grid-template-columns:minmax(0,1.4fr) minmax(18rem,.6fr);margin-top:0}.telemetry-table-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:0}.trend-list{display:grid;gap:.8rem;margin-top:1.1rem}.trend-row{display:grid;grid-template-columns:6rem minmax(7rem,1fr) 3rem 4rem;align-items:center;gap:.75rem;color:var(--muted);font-size:.7rem}.trend-row strong,.trend-row small{text-align:right}.trend-row strong{color:var(--ink)}.trend-track{height:.55rem;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.trend-track span{display:block;min-width:.35rem;height:100%;border-radius:inherit;background:var(--green)}.chart-legend{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.9rem;color:var(--muted);font-size:.7rem}.chart-legend span{display:inline-flex;align-items:center;gap:.35rem}.chart-legend i{width:.6rem;height:.6rem;border-radius:.18rem}.chart-legend .success,.stacked-bar .success{background:#56a532}.chart-legend .failure,.stacked-bar .failure{background:#d96c59}.chart-legend .cancelled,.stacked-bar .cancelled{background:#a9ada4}.stacked-chart{display:flex;align-items:stretch;gap:.5rem;min-height:15rem;margin-top:1rem;padding:1rem .25rem 0;overflow-x:auto;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to bottom,transparent 0,transparent calc(25% - 1px),#edf0e9 25%)}.stacked-day{display:grid;grid-template-rows:1.25rem minmax(10rem,1fr) 1.5rem;flex:1 0 2rem;min-width:2rem;text-align:center;font-size:.65rem}.stacked-day strong{color:var(--ink);font-size:.68rem}.stacked-day time{color:var(--muted);white-space:nowrap}.stacked-bar-space{display:flex;align-items:flex-end;justify-content:center}.stacked-bar{display:flex;flex-direction:column;justify-content:flex-end;width:min(1.8rem,70%);min-height:.3rem;overflow:hidden;border-radius:.35rem .35rem 0 0}.stacked-bar span{display:block;width:100%;min-height:0}.empty-chart-preview{display:grid;place-items:center;min-height:15rem;margin-top:1rem;padding:1.5rem;text-align:center;border:1px dashed #d8ddd2;border-radius:.75rem;background:#fbfcf9}.empty-chart-preview span,.metric-explanation{max-width:40rem;color:var(--muted);font-size:.72rem;line-height:1.65}.empty-chart-grid{display:flex;align-items:flex-end;gap:.65rem;height:5rem;margin-bottom:.8rem}.empty-chart-grid i{width:.8rem;border-radius:.25rem .25rem 0 0;background:#dfe8d7}.empty-chart-grid i:nth-child(1),.empty-chart-grid i:nth-child(7){height:35%}.empty-chart-grid i:nth-child(2),.empty-chart-grid i:nth-child(6){height:55%}.empty-chart-grid i:nth-child(3),.empty-chart-grid i:nth-child(5){height:75%}.empty-chart-grid i:nth-child(4){height:100%}.metric-explanation{margin:.9rem 0 0}.telemetry-detail-list div{grid-template-columns:1fr auto}.compact-empty{padding:2rem 1rem;color:var(--muted);font-size:.78rem;text-align:center}.data-definition-note{margin:0;color:var(--muted);font-size:.7rem;line-height:1.65}.metric-definition-panel{margin-bottom:18px}.metric-definition-table th:first-child,.metric-definition-table td:first-child{min-width:140px}.metric-definition-table td{vertical-align:top;line-height:1.55}.form-field small,.form-readonly-note small{color:var(--muted);line-height:1.45}.form-readonly-note{display:grid;align-content:center;gap:6px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f7f8f4}.form-validation-message{display:block;margin-top:6px;color:#9a4b24;font-weight:700}.panel{padding:1.5rem;border-radius:1rem}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:1.15rem;border-bottom:1px solid var(--line)}.panel-heading h2{margin:0;font-size:1.15rem;letter-spacing:-.025em}.safe-badge{padding:.4rem .65rem;color:#8c4b21;background:#fff1e7}.detail-list{margin:0}.detail-list div{display:grid;grid-template-columns:9rem 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid #edf0eb}.detail-list div:last-child{border-bottom:0}.detail-list dt{color:var(--muted);font-size:.78rem}.detail-list dd{margin:0;font-size:.82rem;font-weight:620;text-align:right}.guardrail-list{display:grid;gap:1rem;margin:1.25rem 0 0;padding:0;list-style:none}.guardrail-list li{display:grid;grid-template-columns:2rem 1fr;align-items:center;gap:.75rem;color:#4e554b;font-size:.8rem;line-height:1.45}.guardrail-list span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.65rem;color:var(--green-dark);background:#55a8321a;font-size:.67rem;font-weight:720}.audit-panel,.configuration-panel{min-height:31rem}.panel-actions{display:flex;align-items:center;gap:.7rem}.draft-form{margin-top:1rem;padding:1rem;border:1px solid var(--line);border-radius:.75rem;background:var(--surface-soft)}.draft-form-heading,.draft-form-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.draft-form-heading{margin-bottom:1rem}.draft-form-heading span{color:var(--green-dark);font-size:.68rem;font-weight:720;letter-spacing:.08em;text-transform:uppercase}.draft-form-heading h3{margin:.25rem 0 0;font-size:1rem}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:.8rem}.form-grid.three{grid-template-columns:1.4fr .7fr .9fr}.form-grid.one{grid-template-columns:1fr}.form-field{display:block;margin-bottom:.8rem}.form-field>span{display:block;margin-bottom:.35rem;color:var(--muted);font-size:.72rem;font-weight:620}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid var(--line-strong);border-radius:.5rem;color:var(--ink);background:var(--surface);font:inherit;font-size:.8rem}.form-field input,.form-field select{min-height:2.55rem;padding:0 .7rem}.form-field textarea{padding:.7rem;line-height:1.6;resize:vertical}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--green);outline:3px solid var(--green-weak)}.form-field input:disabled,.form-field select:disabled{color:var(--muted);background:var(--surface-muted)}.draft-form-footer{padding-top:.85rem;border-top:1px solid var(--line)}.draft-form-footer>span{max-width:38rem;color:var(--muted);font-size:.7rem;line-height:1.55}.configuration-empty{align-content:center;gap:.65rem;text-align:center}.configuration-empty strong,.configuration-empty span{display:block}.configuration-empty strong{color:var(--ink);font-size:1rem}.configuration-empty span{max-width:31rem;color:var(--muted);line-height:1.65}.configuration-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,.42fr);gap:1rem;margin-top:1rem}.configuration-link{padding:0;border:0;color:var(--green-dark);background:transparent;cursor:pointer;font-weight:680}.configuration-link:hover{text-decoration:underline}.table-action{padding:0;border:0;color:var(--green-dark);background:transparent;cursor:pointer;font-size:.72rem;font-weight:680}.config-state{display:inline-flex;padding:.3rem .5rem;border-radius:999px;color:#5f665c;background:#eef1ec;font-size:.68rem;font-weight:680}.config-state.live,.config-state.tested{color:var(--green-dark);background:#55a8321c}.config-state.draft{color:#8c4b21;background:#fff1e7}.configuration-detail{align-self:start;padding:1rem;border:1px solid var(--line);border-radius:1rem;background:#f8faf6}.configuration-detail>div:first-child span,.configuration-detail>div:first-child strong{display:block}.configuration-detail>div:first-child span,.configuration-detail small{color:var(--muted);font-size:.7rem}.configuration-detail>div:first-child strong{margin-top:.3rem;font-size:.95rem}.configuration-meta{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.85rem}.configuration-meta span{padding:.25rem .45rem;border-radius:.5rem;color:var(--muted);background:#e9eee6;font-size:.67rem}.configuration-detail pre{max-height:22rem;margin:1rem 0 .7rem;padding:.9rem;overflow:auto;border-radius:.8rem;color:#384035;background:#eef2eb;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.7rem;line-height:1.6;white-space:pre-wrap;word-break:break-word}.record-count{padding:.4rem .65rem;color:var(--muted);background:#eef1ec}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:.78rem}th,td{padding:.95rem .75rem;border-bottom:1px solid #e9ede7;text-align:left;white-space:nowrap}th{color:var(--muted);font-size:.7rem;font-weight:650}.mono{max-width:16rem;overflow:hidden;color:#687064;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.68rem;text-overflow:ellipsis}.outcome{display:inline-flex;padding:.3rem .5rem;border-radius:999px;font-size:.68rem;font-weight:680}.outcome.success{color:var(--green-dark);background:#55a8321a}.outcome.failure,.outcome.denied{color:#984327;background:#fff0e8}.empty-state{display:grid;min-height:20rem;place-items:center;color:var(--muted);font-size:.86rem}.record-count.muted{color:var(--muted);background:var(--surface-muted)}.management-panel{min-height:42rem;padding:1.35rem}.catalog-note,.separation-notice{display:flex;align-items:center;gap:.8rem;margin:1rem 0;padding:.75rem .9rem;border:1px solid #dfe8d7;border-radius:.65rem;color:var(--muted);background:#f7faf3;font-size:.75rem;line-height:1.55}.baseline-route-strip{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem;margin:1rem 0 .6rem;padding:.85rem .95rem;border:1px solid #cfe0c2;border-radius:.7rem;background:#eef6e8;font-size:.72rem}.baseline-route-strip strong{color:var(--green-dark)}.baseline-route-strip span{padding:.3rem .5rem;border-radius:999px;background:#fff}.baseline-route-strip small{flex-basis:100%;color:var(--muted)}.catalog-note strong{flex:0 0 auto;color:var(--green-dark);font-size:.7rem}.prompt-architecture{margin:1rem 0;padding:1rem;border:1px solid var(--line);border-radius:.85rem;background:#fbfcf9}.architecture-rule,.architecture-emphasis{margin:.75rem 0;padding:.75rem .9rem;border-radius:.65rem;color:var(--muted);background:#f1f6ec;font-size:.8rem;line-height:1.6}.architecture-emphasis{color:var(--green-dark);font-weight:700}.prompt-flow{display:flex;align-items:stretch;gap:.55rem;overflow-x:auto;padding:.35rem 0 .85rem}.prompt-entry-flow{display:grid;grid-template-columns:minmax(8rem,.8fr) auto minmax(12rem,1fr) auto minmax(12rem,1fr);align-items:stretch;gap:.65rem;margin:.8rem 0 1rem}.flow-node,.flow-step{min-width:10rem;padding:.75rem;border:1px solid #dfe8d7;border-radius:.7rem;background:#fff}.flow-node.entry{background:var(--green);color:#fff}.flow-node.asr{background:#eef2f5;border-color:#dce3e8}.flow-node span,.flow-step span,.architecture-grid span,.architecture-grid small{display:block;margin-top:.25rem;font-size:.7rem;line-height:1.45;color:var(--muted)}.flow-node.entry span{color:#ffffffd9}.flow-arrow{align-self:center;color:var(--green);font-weight:800}.prompt-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin-bottom:.75rem}.prompt-stage{display:grid;gap:.3rem;padding:.9rem;border:1px solid #cbdabd;border-radius:.75rem;color:var(--ink);background:#fff;text-align:left}button.prompt-stage{cursor:pointer}button.prompt-stage:hover{border-color:var(--green);background:#f6faf2;transform:translateY(-1px)}.prompt-stage>span{color:var(--green-dark);font-size:.67rem;font-weight:800;text-transform:uppercase}.prompt-stage code{font-size:.7rem;overflow-wrap:anywhere}.prompt-stage small{color:var(--muted);font-size:.68rem;line-height:1.45}.prompt-stage.route-stage{background:#f1f6ec}.prompt-stage-stack{display:grid;gap:.55rem}.vertical-flow-arrow{justify-self:center;color:var(--green);font-size:1.15rem;font-weight:850}.prompt-layer{display:grid;gap:.75rem;padding:.85rem;border:1px solid #cbdabd;border-radius:.8rem;background:#fff}.prompt-layer>header{display:flex;justify-content:space-between;gap:.75rem;color:var(--green-dark);font-size:.72rem}.prompt-layer>div{display:flex;flex-wrap:wrap;gap:.65rem}.prompt-layer button,.prompt-layer article{flex:1 1 12rem;min-width:0;padding:.72rem;border:1px solid var(--line);border-radius:.65rem;background:#fbfcf9;text-align:left}.prompt-layer button{display:grid;gap:.28rem;color:var(--ink);cursor:pointer}.prompt-layer button:hover{border-color:var(--green);background:#f4f9ef}.prompt-layer button em{color:var(--green-dark);font-size:.62rem;font-style:normal}.prompt-layer button code{overflow-wrap:anywhere;font-size:.66rem}.prompt-layer button small,.prompt-layer article>small{color:var(--muted);font-size:.65rem}.prompt-layer.route{background:#f4f8ef}.prompt-layer article{display:grid;gap:.45rem}.prompt-layer article h3{margin:0;font-size:.78rem}.prompt-layer article button{width:100%;background:#fff}.quick-rewrite-path{display:grid;grid-template-columns:auto 1fr 1fr;gap:.65rem;margin-top:.8rem;padding:.75rem .85rem;border:1px solid var(--line);border-radius:.65rem;background:#fff;font-size:.7rem}.quick-rewrite-path strong{color:var(--green-dark)}.architecture-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.65rem}.architecture-grid article,.architecture-grid>button{padding:.75rem;border:1px solid var(--line);border-radius:.65rem;background:#fff}.architecture-grid>button{color:var(--ink);cursor:pointer;text-align:left}.architecture-grid>button:hover{border-color:var(--green);background:#f6faf2}.architecture-grid>button em{display:block;color:var(--green-dark);font-size:.64rem;font-style:normal;font-weight:800}.architecture-grid code{display:block;margin-top:.45rem;font-size:.68rem;overflow-wrap:anywhere}.architecture-grid.standalone{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:.75rem}.architecture-details{margin-top:.75rem;font-size:.78rem}.architecture-details summary{cursor:pointer;color:var(--green-dark);font-weight:700}.architecture-footnote{margin:.65rem 0 0;color:var(--muted);font-size:.7rem}.prompt-release-workflow{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin:1rem 0;padding:.8rem .9rem;border-left:3px solid var(--green);background:#f7faf3;font-size:.76rem}.prompt-create-panel{margin:16px 0 22px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fbfcf9}.dynamic-prompt-architecture{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#f7faf3}.dynamic-prompt-architecture>strong{grid-column:1 / -1}.dynamic-prompt-architecture button{display:grid;gap:5px;padding:12px;text-align:left;border:1px solid #dbe8d0;border-radius:12px;background:#fff}.route-buttons button.disabled-route{border-style:dashed;opacity:.65}.prompt-create-panel>.form-field{margin-top:14px}.model-discovery-control{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:14px;grid-column:1 / -1;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}.model-discovery-control>div{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px}.model-discovery-control small{color:var(--muted);line-height:1.45}.model-discovery-control .field-help{margin-top:0}.provider-secret-panel{display:grid;gap:.8rem;padding:.9rem;border:1px solid #d9e6d0;border-radius:.7rem;background:#f7faf3}.provider-secret-heading,.provider-save-step{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.provider-secret-heading>div,.provider-save-step>div{display:grid;gap:.25rem}.provider-secret-heading strong,.provider-save-step strong{font-size:.78rem}.provider-secret-heading small,.provider-save-step small{color:var(--muted);font-size:.67rem;line-height:1.5}.provider-secret-panel .form-field{margin-bottom:0}.provider-secret-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.75rem;border-top:1px solid #d9e6d0}.provider-secret-actions small{flex:1 1 24rem}.provider-secret-actions button{flex:none;white-space:nowrap}.provider-save-step{align-items:center;margin:.25rem 0 1rem;padding:.9rem;border:1px solid var(--line);border-radius:.65rem;background:#fff}.provider-inline-feedback{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:-.35rem 0 1rem;padding:.75rem .85rem;border:1px solid #efc8b9;border-radius:.65rem;color:#8f3928;background:#fff4ef;font-size:.72rem;font-weight:650;line-height:1.5}.provider-inline-feedback.success{border-color:#cfe2c4;color:#315c20;background:#f2f8ed}.provider-inline-feedback.warning{border-color:#ead6a5;color:#745315;background:#fff9e9}.provider-effect-input-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.38rem}.provider-effect-input-heading label{color:var(--ink);font-size:.7rem;font-weight:700}.provider-test-route{display:grid;gap:.45rem;padding:.75rem .8rem;border:1px solid #d8e4d1;border-radius:.65rem;background:#f8fbf5}.provider-test-route>strong{color:var(--green-dark)}.provider-test-route>span{display:grid;grid-template-columns:6rem minmax(12rem,auto) minmax(0,1fr);gap:.55rem;align-items:baseline;padding-top:.4rem;border-top:1px solid rgba(83,122,61,.12);font-size:.69rem}.provider-test-route b{color:var(--ink)}.provider-test-route i,.provider-test-route em{color:#5b6256;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-style:normal;overflow-wrap:anywhere}.manual-model-badge{display:inline-flex;min-height:2.4rem;align-items:center;padding:0 .75rem;border-radius:.5rem;color:var(--muted);background:var(--surface-muted);font-size:.7rem;font-weight:700}.discovery-result{min-width:8rem;padding-top:.55rem;text-align:right}.provider-test-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.provider-test-result{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:.2rem .7rem;padding:12px 14px;border-radius:12px;background:#f4f5f1;color:var(--muted)}.provider-test-result.passed{background:#eef6e8;color:#315c20}.provider-test-result.failed{background:#fff0eb;color:#a33d2e}.provider-test-result>span{font-size:.67rem;font-weight:700}.provider-test-result>strong{text-align:right}.provider-test-result>em,.provider-test-result>small{grid-column:1 / -1;font-size:.68rem;font-style:normal}.provider-test-result .upstream-reason,.provider-test-result .test-advice{padding-top:.3rem;border-top:1px solid rgba(122,70,49,.12);color:inherit;line-height:1.5}.provider-test-result .test-advice{font-weight:650}.provider-diagnostic-guide{display:grid;gap:.55rem;padding:.75rem .8rem;border:1px solid #e1e5dc;border-radius:.6rem;background:#fff}.provider-diagnostic-guide>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.provider-diagnostic-guide span{display:grid;gap:.18rem;padding:.6rem .65rem;border-radius:.5rem;background:#f5f6f2}.provider-diagnostic-guide b,.provider-diagnostic-guide em{font-size:.69rem;font-style:normal}.provider-diagnostic-guide em{color:var(--green-dark);font-weight:700}.latency-definition{display:block;padding:.6rem .7rem;border-radius:.5rem;color:#5e6459;background:#f5f6f2;line-height:1.55}.provider-effective-route{display:grid;gap:.35rem;padding:.75rem .8rem;border-left:3px solid var(--green);border-radius:.55rem;background:#f2f8ed;color:#315c20;font-size:.7rem}.provider-effective-route span{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;line-height:1.55}.provider-effective-route small{color:var(--muted)}.provider-output-textbox{display:grid;gap:.4rem;color:var(--green-dark);font-size:.7rem;font-weight:700}.provider-output-textbox textarea{resize:vertical;color:var(--ink);background:#fff;font:inherit;font-weight:450;line-height:1.75;white-space:pre-wrap}.provider-microphone-test{display:flex;align-items:center;gap:.75rem;padding:.65rem 0}.provider-microphone-test small{color:var(--muted);font-size:.68rem;line-height:1.5}.form-field .field-conflict{margin-top:.45rem;padding:.5rem .6rem;border-left:3px solid #d46b47;border-radius:.3rem;color:#873c29;background:#fff3ed;line-height:1.5}.structured-provider-output{display:grid;gap:.7rem;padding:.8rem;border:1px solid #cee0c4;border-radius:.7rem;background:#fbfdf9}.structured-output-heading{display:flex;align-items:center;justify-content:space-between;gap:.8rem;color:var(--green-dark);font-size:.67rem;font-weight:700}.structured-output-heading strong{padding:.22rem .48rem;border-radius:999px;background:#e8f3df;font-size:.63rem}.structured-output-document{padding:.85rem 1rem;border:1px solid var(--line);border-radius:.55rem;background:#fff}.structured-output-document section+section{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--line)}.structured-output-document h4{margin:0 0 .35rem;color:var(--ink);font-size:.73rem}.structured-output-document p,.structured-output-document ul{margin:0;padding:0;color:#52584e;font-size:.72rem;line-height:1.62}.structured-output-document ul{padding-left:1rem}.provider-audio-preview{width:100%;min-height:38px}.prompt-audio-test{display:grid;gap:12px;padding:14px;border:1px solid #dbe8d0;border-radius:12px;background:#f8fbf4}.prompt-test-advanced{padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.prompt-test-advanced>summary{cursor:pointer;color:var(--green-dark);font-weight:750}.prompt-test-advanced[open]{display:grid;gap:10px}.prompt-ab-output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.prompt-ab-output-grid article{min-height:160px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff}.prompt-ab-output-grid .draft-result{border-color:#b8d79d;background:#fbfff7}.prompt-ab-output-grid span{display:block;margin-bottom:10px;color:var(--muted);font-weight:750}.prompt-ab-output-grid pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.65}.output-placeholder{display:grid;min-height:110px;place-items:center;padding:18px;border:1px dashed var(--line-strong);border-radius:9px;color:var(--muted);text-align:center;line-height:1.6}.production-release-step{margin-top:6px;border-color:#b8d79d;background:#f2f8ec}.prompt-audio-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.prompt-audio-heading>div{display:grid;gap:4px}.prompt-audio-heading small{color:var(--muted)}.recording{animation:recording-pulse 1.2s ease-in-out infinite}@keyframes recording-pulse{50%{opacity:.62}}.prompt-comparison-result{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.prompt-comparison-result article,.comparison-transcript{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.comparison-transcript{grid-column:1 / -1}.prompt-comparison-result .draft-result{border-color:#b8d79d;background:#fbfff7}.prompt-comparison-result span{color:var(--muted);font-weight:700}.prompt-comparison-result p,.prompt-comparison-result pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.prompt-release-workflow span{padding:.35rem .55rem;border-radius:999px;background:#fff}.prompt-release-workflow small{flex-basis:100%;color:var(--muted)}.prompt-management,.definition-layout{display:grid;grid-template-columns:minmax(14rem,18rem) minmax(0,1fr);gap:1rem}.prompt-catalog,.definition-list{max-height:43rem;overflow-y:auto;padding-right:.35rem}.prompt-catalog-group{margin-bottom:1rem}.prompt-catalog-group>header{display:grid;gap:.2rem;padding:.45rem .5rem .55rem;border-bottom:1px solid var(--line)}.prompt-catalog-group>header strong{color:var(--green-dark);font-size:.78rem}.prompt-catalog-group>header span{color:var(--muted);font-size:.66rem;line-height:1.45}#selected-prompt-content{scroll-margin-top:1rem}.prompt-item,.definition-item{display:grid;width:100%;gap:.35rem;margin-bottom:.4rem;padding:.8rem;border:1px solid transparent;border-radius:.65rem;color:var(--ink);background:transparent;cursor:pointer;text-align:left}.prompt-item:hover,.definition-item:hover{background:var(--surface-soft)}.prompt-item.active,.definition-item.active{border-color:#cfe0c3;background:var(--green-weak)}.prompt-item-topline{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.prompt-item strong,.definition-item strong{font-size:.8rem}.prompt-item>span:not(.prompt-item-topline),.prompt-item small,.definition-item span,.definition-item small{color:var(--muted);font-size:.68rem;line-height:1.4}.baseline-state{flex:0 0 auto;padding:.18rem .35rem;border-radius:999px;color:#77796f;background:#eceee8;font-size:.58rem;font-weight:700}.baseline-state.active{color:var(--green-dark);background:#dcebd1}.prompt-workbench,.definition-form{min-width:0;border:1px solid var(--line);border-radius:.75rem;background:#fff}.workbench-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;border-bottom:1px solid var(--line)}.workbench-heading span,.workbench-heading p,.workbench-status{color:var(--muted);font-size:.7rem}.workbench-heading h3{margin:.2rem 0;font-size:1.05rem}.workbench-heading p{margin:0}.workbench-status{display:grid;justify-items:end;gap:.35rem}.workbench-status strong{color:#9a5324}.prompt-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-editor{min-width:0;padding:.9rem}.prompt-editor+.prompt-editor{border-left:1px solid var(--line)}.prompt-editor>span,.prompt-editor>span strong,.prompt-editor>span small{display:block}.prompt-editor>span{margin-bottom:.6rem}.prompt-editor>span strong{font-size:.76rem}.prompt-editor>span small{margin-top:.15rem;color:var(--muted);font-size:.64rem}.prompt-editor textarea{width:100%;min-height:22rem;padding:.75rem;border:1px solid var(--line-strong);border-radius:.5rem;color:var(--ink);background:#fff;font:.75rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical}.prompt-editor.current textarea{background:var(--surface-soft)}.prompt-editor.draft textarea:focus{border-color:var(--green);outline:3px solid var(--green-weak)}.draft-save-row,.prompt-management-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.draft-save-row{margin-top:10px}.draft-save-row small,.prompt-management-actions small{color:var(--muted);line-height:1.45}.prompt-management-actions{margin:0 .9rem .9rem;padding:.75rem .85rem;border:1px dashed var(--line-strong);border-radius:.6rem}.change-review{margin:0 .9rem .9rem;border:1px solid var(--line);border-radius:.6rem;overflow:hidden}.change-review-heading,.workbench-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}.change-review-heading{padding:.7rem .8rem;background:var(--surface-soft)}.change-review-heading span,.change-review-heading strong{display:block;font-size:.68rem}.change-review-heading strong{margin-top:.15rem;color:var(--ink)}.diff-legend{display:flex;gap:.4rem}.diff-legend span{padding:.2rem .45rem;border-radius:999px}.diff-legend .removed{background:#fff0eb}.diff-legend .added{background:#e9f4df}.no-change{padding:.8rem;color:var(--muted);font-size:.72rem}.diff-table{max-height:14rem;overflow:auto}.diff-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid var(--line)}.diff-row pre{min-width:0;margin:0;padding:.55rem;overflow-wrap:anywhere;white-space:pre-wrap;font:.68rem/1.5 ui-monospace,SFMono-Regular,Menlo,monospace}.diff-row pre+pre{border-left:1px solid var(--line)}.diff-row.changed pre:first-child,.diff-row.removed pre:first-child{background:#fff5f1}.diff-row.changed pre:last-child,.diff-row.added pre:last-child{background:#f0f8e9}.workbench-footer{padding:.9rem;border-top:1px solid var(--line)}.workbench-footer>span{max-width:36rem;color:var(--muted);font-size:.68rem;line-height:1.5}.prompt-release-flow{display:grid;grid-template-columns:1fr;gap:.8rem;margin:0 .9rem .9rem}.release-step{display:grid;align-content:start;gap:.7rem;padding:.9rem;border:1px solid #dfe8d7;border-radius:.65rem;background:#f7faf3}.release-step>div:first-child{display:flex;align-items:center;gap:.45rem}.step-number{display:inline-grid;width:1.35rem;height:1.35rem;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:.68rem;font-weight:750}.secondary-button{min-height:2.45rem;padding:0 .85rem;border:1px solid var(--line-strong);border-radius:.5rem;color:var(--green-dark);background:#fff;font:inherit;font-size:.72rem;font-weight:720;cursor:pointer}.secondary-button:disabled{cursor:not-allowed;opacity:.5}.prompt-test-output{max-height:10rem;margin:0;padding:.7rem;overflow:auto;border:1px solid var(--line);border-radius:.5rem;background:#fff;white-space:pre-wrap;font:.72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}.release-actions{display:flex;flex-wrap:wrap;gap:.55rem}.guard-copy{color:var(--muted);font-size:.67rem;line-height:1.5}.definition-form{padding:1rem}.service-tabs{display:inline-flex;gap:.25rem;padding:.25rem;border:1px solid var(--line);border-radius:.65rem;background:var(--surface-soft)}.service-tabs button{min-height:2.25rem;padding:0 .85rem;border:0;border-radius:.5rem;color:var(--muted);background:transparent;font:inherit;font-size:.72rem;font-weight:680;cursor:pointer}.service-tabs button.active{color:var(--green-dark);background:#fff;box-shadow:0 .2rem .7rem #314a2714}.form-span-two{grid-column:1 / -1}.provider-test-panel,.route-release-box,.provider-status-panel{display:grid;gap:.8rem;margin:.2rem 0 1rem;padding:.9rem;border:1px solid #dfe8d7;border-radius:.65rem;background:#f7faf3}.provider-batch-panel{display:grid;gap:.9rem;margin:.2rem 0 1rem;padding:1rem;border:1px solid #d6e3cd;border-radius:.7rem;background:#fbfdf9}.provider-batch-heading,.provider-batch-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.provider-batch-actions{flex-wrap:wrap}.provider-batch-actions>small{flex:1 1 20rem}.provider-batch-actions .panel-actions{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end}.provider-batch-actions button{flex:none;white-space:nowrap}.provider-batch-heading>div,.provider-batch-provider-grid label span,.provider-batch-results td{display:grid;gap:.22rem}.provider-batch-heading>span{flex:none;padding:.35rem .6rem;border-radius:999px;color:var(--green-dark);background:var(--green-weak);font-size:.66rem;font-weight:750}.provider-batch-heading small,.provider-batch-actions>small,.provider-batch-provider-grid small,.provider-batch-results small{color:var(--muted);font-size:.66rem;line-height:1.45}.provider-batch-provider-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem}.provider-batch-provider-grid label{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.6rem;padding:.7rem;border:1px solid var(--line);border-radius:.55rem;background:#fff}.provider-batch-provider-grid label.unavailable{opacity:.58}.provider-batch-provider-grid label.needs-secret{border-color:#e5d7ab;background:#fffdf5}.provider-batch-provider-grid input{margin-top:.12rem}.batch-credential-help{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.75rem;border:1px solid #e5d7ab;border-radius:.55rem;background:#fffaf0}.batch-credential-help span{display:grid;gap:.2rem}.batch-credential-help small{color:var(--muted);font-size:.66rem;line-height:1.45}.provider-batch-inputs{display:grid;grid-template-columns:minmax(11rem,.32fr) minmax(0,1fr);gap:.7rem;align-items:start}.provider-batch-cases textarea{resize:vertical;line-height:1.6}.asr-batch-file-picker{padding:.8rem;border:1px dashed #cddbc3;border-radius:.6rem;background:#f7faf4}.asr-batch-file-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;max-height:18rem;overflow:auto}.asr-batch-file-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem;min-width:0;padding:.65rem;border:1px solid var(--line);border-radius:.5rem;background:#fff}.asr-batch-file-list>div.invalid{border-color:#efc8be;background:#fff7f4}.asr-batch-file-list span{display:grid;min-width:0;gap:.2rem}.asr-batch-file-list b,.asr-batch-file-list small{overflow-wrap:anywhere}.asr-batch-file-list small{color:var(--muted);font-size:.64rem;line-height:1.4}.provider-batch-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem}.provider-batch-summary span{display:grid;gap:.12rem;padding:.6rem;border-radius:.5rem;background:var(--surface-soft)}.provider-batch-summary b{color:var(--ink);font-size:.95rem}.provider-batch-summary small{color:var(--muted);font-size:.62rem}.provider-batch-results{max-height:28rem;overflow:auto;border:1px solid var(--line);border-radius:.55rem;background:#fff}.provider-batch-results table{width:100%;min-width:62rem;border-collapse:collapse;font-size:.68rem}.provider-batch-results th,.provider-batch-results td{padding:.6rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.provider-batch-results th{position:sticky;top:0;z-index:1;color:var(--muted);background:#f7f9f4}.provider-batch-results details{max-width:25rem}.provider-batch-results summary{color:var(--green-dark);cursor:pointer;font-weight:700}.provider-batch-results p{margin:.4rem 0 0;white-space:pre-wrap;line-height:1.55}.batch-status{display:inline-flex;width:fit-content;padding:.2rem .4rem;border-radius:999px;font-weight:750}.batch-status.passed{color:#315c20;background:#eaf4e3}.batch-status.failed{color:#a33d2e;background:#fff0eb}.provider-status-panel{border-color:#eadfd7;background:#fffaf7}.danger-button{min-height:2.4rem;padding:0 .85rem;border:1px solid #e5c9bc;border-radius:.5rem;color:#9a472a;background:#fff;font:inherit;font-size:.72rem;font-weight:700;cursor:pointer}.danger-button:disabled{cursor:not-allowed;opacity:.45}.provider-test-panel>div:first-child{display:grid;gap:.2rem}.provider-test-panel strong,.route-weight-row strong{font-size:.78rem}.provider-test-panel small,.route-release-box small,.route-weight-row small{color:var(--muted);font-size:.66rem;line-height:1.45}.transient-output{padding:.7rem;border:1px solid var(--line);border-radius:.5rem;background:#fff}.transient-output span{color:var(--green-dark);font-size:.65rem;font-weight:700}.transient-output p{margin:.35rem 0 0;white-space:pre-wrap;font-size:.76rem;line-height:1.55}.route-weight-list{display:grid;gap:.55rem}.route-weight-row{display:grid;grid-template-columns:minmax(0,1fr) 5rem 1.2rem;align-items:center;gap:.55rem;padding:.75rem;border:1px solid var(--line);border-radius:.55rem;background:var(--surface-soft)}.route-weight-row>span{display:grid;gap:.2rem}.route-weight-row input{width:100%;min-height:2.35rem;padding:0 .55rem;border:1px solid var(--line-strong);border-radius:.45rem;font:inherit}.route-weight-row em{color:var(--muted);font-size:.72rem;font-style:normal}.route-total{margin:.8rem 0;padding:.65rem .75rem;border-radius:.5rem;font-size:.72rem}.route-total.valid{color:var(--green-dark);background:var(--green-weak)}.route-total.invalid{color:#9a5324;background:#fff2e6}.baseline-summary{display:grid;gap:.3rem;margin-bottom:1rem;padding:.9rem;border-radius:.65rem;background:var(--surface-soft)}.baseline-summary span,.baseline-summary small{color:var(--muted);font-size:.68rem}.baseline-summary strong{font-size:.9rem}.check-field{display:flex;align-items:center;gap:.55rem;min-height:2.55rem;margin-bottom:.8rem;padding:.65rem .75rem;border:1px solid var(--line-strong);border-radius:.5rem;color:var(--ink);font-size:.75rem}.check-field input{accent-color:var(--green)}.form-field small{display:block;margin-top:.3rem;color:var(--muted);font-size:.65rem}.form-field .field-help,.model-discovery-control .field-help{margin-top:.42rem;color:#696d63;font-size:.68rem;line-height:1.58}.field-help strong{color:#3f463b;font-weight:720}.form-field .security-help{padding:.5rem .6rem;border-left:3px solid #d98a42;border-radius:.25rem;color:#77502e;background:#fff8ef}.security-help strong{color:#9a541d}.hotword-panel{display:grid;gap:1rem}.hotword-architecture{display:grid;gap:.9rem;padding:1rem;border:1px solid #cfe0c5;border-radius:16px;background:linear-gradient(135deg,#f7fbf4,#fff 70%)}.hotword-architecture-summary{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.hotword-architecture-summary span{color:var(--text-muted);font-size:.86rem}.hotword-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:stretch;gap:.55rem}.hotword-stage{display:grid;align-content:start;gap:.4rem;min-height:10.5rem;padding:.95rem;border:1px solid var(--line);border-radius:14px;background:#fff}.hotword-stage>span,.hotword-stage>small,.hotword-stage>em{color:var(--text-muted);font-size:.78rem;line-height:1.5;font-style:normal}.hotword-stage.active-stage{border-color:#9fc68c;box-shadow:inset 0 3px 0 var(--green-600)}.hotword-stage.pass-stage{background:var(--surface-muted)}.hotword-stage .text-button{align-self:end;justify-self:start;margin-top:auto}.hotword-flow-arrow{align-self:center;color:var(--green-600);font-size:1.25rem}.hotword-privacy-note{line-height:1.6}.hotword-tabs{width:fit-content}.hotword-section-stack{display:grid;gap:1rem}.hotword-create-card,.hotword-guidance{display:grid;gap:.85rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--surface-muted)}.hotword-create-card>div:first-child,.hotword-guidance{align-items:start}.hotword-create-card>div:first-child small,.hotword-guidance span{display:block;margin-top:.25rem;color:var(--text-muted);line-height:1.55}.hotword-form-grid{align-items:start}.hotword-workbench{display:grid;grid-template-columns:minmax(13rem,.32fr) minmax(0,1fr);gap:1rem;order:1}.hotword-pack-create-card{order:2}.hotword-pack-list{max-height:46rem}.hotword-pack-key{opacity:.72}.hotword-entry-workbench{min-width:0;display:grid;align-content:start;gap:.85rem;padding:1rem;border:1px solid var(--line);border-radius:14px}.hotword-pack-actions{justify-content:flex-end}.hotword-entry-form{display:grid;grid-template-columns:minmax(12rem,1fr) auto;gap:.75rem;align-items:end;padding:.9rem;border-radius:12px;background:var(--surface-muted)}.hotword-entry-form>.primary-button{min-width:6.8rem;white-space:nowrap}.hotword-chip-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:.65rem}.hotword-chip-card{display:grid;align-content:space-between;gap:.7rem;min-height:6.2rem;padding:.8rem .9rem;border:1px solid var(--line);border-radius:12px;background:#fff}.hotword-chip-card.disabled{background:var(--surface-muted);opacity:.78}.hotword-chip-card input{width:100%}.hotword-chip-title{display:flex;align-items:start;justify-content:space-between;gap:.7rem}.hotword-chip-title strong{overflow-wrap:anywhere}.hotword-chip-title span{flex:0 0 auto;padding:.16rem .42rem;border-radius:999px;background:var(--green-100);color:var(--green-700);font-size:.7rem}.hotword-chip-actions{gap:.45rem;flex-wrap:wrap}.hotword-inline-error{color:var(--danger);line-height:1.45}.hotword-target-search{position:relative}.hotword-search-results{display:grid;gap:.35rem;max-height:15rem;margin-top:.45rem;padding:.4rem;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}.hotword-search-results button{display:flex;justify-content:space-between;gap:.75rem;padding:.55rem .65rem;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.hotword-search-results button:hover,.hotword-search-results button:focus-visible{background:var(--surface-muted)}.hotword-search-results button small{color:var(--text-muted)}.hotword-search-results.compact-results{max-height:10rem}.success-text{color:var(--green-700)!important}.candidate-pack-select{max-width:34rem}.candidate-guidance{grid-template-columns:minmax(0,1fr) auto;align-items:center}.candidate-table td small{display:block;margin-top:.25rem;color:var(--text-muted);white-space:nowrap}.candidate-table input,.candidate-table select,.hotword-entry-table input,.hotword-entry-table select,.hotword-section-stack table input,.hotword-section-stack table select{width:100%;min-width:8rem;padding:.55rem .65rem;border:1px solid var(--line-strong);border-radius:9px;background:#fff}.compact-number-input{max-width:6.5rem;min-width:5rem!important}.row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;min-width:13rem}.compact-button{min-height:2.2rem;padding:.45rem .7rem;font-size:.78rem}.danger-text{color:#a13b2d}.hotword-relation-explainer{display:grid;gap:.65rem;padding:1rem;border:1px solid #cfe0c5;border-radius:14px;background:#f7fbf4}.hotword-relation-explainer>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.hotword-relation-explainer span{color:var(--text-muted);line-height:1.6}.hotword-relation-explainer code{padding:.1rem .35rem;border-radius:5px;color:var(--green-700);background:#eaf4e4}.hotword-metric-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.provider-projection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.hotword-projection-card{display:grid;gap:.25rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:#fff}.hotword-projection-card>span,.hotword-projection-card>small,.hotword-projection-card>em{color:var(--text-muted);font-size:.78rem;font-style:normal}.hotword-projection-card>div{margin-top:.55rem;color:var(--green-700)}.hotword-runtime-proof{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.hotword-runtime-proof article{display:grid;gap:.35rem;padding:1rem;border:1px solid var(--line);border-radius:1rem;background:var(--surface-soft)}.hotword-runtime-proof span,.hotword-runtime-proof small{color:var(--muted)}.health-stack{display:grid;gap:1rem;min-width:0}.health-stack>*,.health-foundation-grid>*,.health-provider-panel,.health-provider-panel .table-wrap{min-width:0;max-width:100%}.health-provider-panel .table-wrap{overflow-x:auto}.health-hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;border-left:5px solid #8b8f84}.health-hero.healthy{border-left-color:var(--green)}.health-hero.warning{border-left-color:#c88312}.health-hero.critical{border-left-color:#b83a31}.health-hero h2,.health-hero p{margin-bottom:.35rem}.health-summary-counts{display:grid;grid-template-columns:repeat(3,minmax(6rem,1fr));gap:.65rem;min-width:min(100%,24rem)}.health-summary-counts span{display:grid;gap:.2rem;padding:.8rem;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft);color:var(--muted);text-align:center}.health-summary-counts strong{color:var(--ink);font-size:1.7rem}.runtime-drill-panel .panel-heading{align-items:flex-start;gap:1rem}.runtime-drill-panel .panel-heading p{max-width:54rem;margin:.3rem 0 0;color:var(--muted)}.runtime-drill-summary{display:flex;align-items:center;gap:.75rem;margin:.8rem 0;padding:.75rem .9rem;border:1px solid #cfdfc4;border-radius:14px;background:#f7fbf3}.runtime-drill-summary.failed{border-color:#ecc2bd;background:#fff7f5}.runtime-drill-summary span{color:var(--muted)}.runtime-drill-summary em{margin-left:auto;color:var(--green-dark);font-style:normal;font-weight:760}.runtime-drill-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.runtime-drill-grid article{display:grid;gap:.42rem;padding:.9rem;border:1px solid var(--line);border-left:4px solid var(--green);border-radius:14px;background:var(--surface-soft)}.runtime-drill-grid article.failed{border-left-color:#b83a31;background:#fff7f5}.runtime-drill-grid article>div{display:flex;align-items:center;gap:.55rem}.runtime-drill-grid article>div span{padding:.18rem .45rem;border-radius:999px;color:var(--green-dark);background:var(--green-weak);font-size:.74rem;font-weight:780}.runtime-drill-grid article.failed>div span{color:#9d2922;background:#ffe6e2}.runtime-drill-grid article>div small{margin-left:auto;color:var(--muted)}.runtime-drill-grid p{margin:0;color:var(--muted);line-height:1.48}.runtime-drill-grid p b{color:var(--ink)}.runtime-drill-risk{padding-top:.38rem;border-top:1px solid var(--line)}.health-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.health-service-card{display:grid;gap:.45rem;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:16px;background:var(--surface)}.health-service-card>div{display:flex;align-items:center;gap:.55rem}.health-service-card b{font-size:1.35rem}.health-service-card p{min-height:2.8em;margin:0;color:var(--muted);line-height:1.45}.health-service-card small{color:var(--muted)}.health-service-card.critical{border-color:#e8b5b0;background:#fff7f5}.health-dot{width:.65rem;height:.65rem;border-radius:999px;background:#8b8f84;box-shadow:0 0 0 4px #8b8f841f}.health-dot.healthy{background:var(--green);box-shadow:0 0 0 4px #5a9e2f21}.health-dot.critical{background:#b83a31;box-shadow:0 0 0 4px #b83a311f}.health-foundation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.health-details{margin:0}.health-provider-panel .panel-heading p,.health-alert-panel .panel-heading p{margin:.25rem 0 0;color:var(--muted)}.health-state{display:inline-flex;padding:.28rem .55rem;border-radius:999px;background:var(--surface-muted);font-size:.78rem;font-weight:760}.health-state.healthy{color:var(--green-dark);background:var(--green-weak)}.health-state.warning{color:#875306;background:#fff2d7}.health-state.critical{color:#9d2922;background:#ffe6e2}.health-alert-list{display:grid;gap:.75rem}.health-alert-list article{display:grid;gap:.5rem;padding:1rem;border:1px solid #ead6ad;border-left:5px solid #c88312;border-radius:14px;background:#fffaf0}.health-alert-list article.critical{border-color:#ecc2bd;border-left-color:#b83a31;background:#fff7f5}.health-alert-list article.recovered{border-color:#cfdfc4;border-left-color:var(--green);background:#f7fbf3}.health-alert-list p{margin:0;color:var(--muted)}.health-alert-title{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}.health-alert-title span{padding:.22rem .48rem;border-radius:999px;background:#0000000f;font-size:.75rem;font-weight:780}.health-alert-title code{margin-left:auto;color:#862b24;overflow-wrap:anywhere}.health-advice{padding-top:.45rem;border-top:1px solid rgba(0,0,0,.08);color:var(--ink)!important}.health-rule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.health-rule-grid article{padding:.9rem;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.health-rule-grid p{min-height:2.7em;margin:.35rem 0;color:var(--muted)}.health-rule-grid small{color:var(--green-dark)}.runtime-log-stack{display:grid;gap:1rem}.retention-stack{display:grid;gap:1rem;min-width:0}.retention-stack>*{min-width:0;max-width:100%}.retention-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(15rem,20rem);gap:1.25rem;align-items:center}.retention-hero h2,.retention-hero p{margin-bottom:.4rem}.retention-mode{display:grid;gap:.3rem;padding:1rem;border:1px solid #ead6ad;border-radius:16px;background:#fffaf0}.retention-mode strong{font-size:1.15rem}.retention-mode small{color:var(--muted)}.retention-mode.guarded{border-color:#cfdfc4;background:#f7fbf3}.retention-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.retention-simple-card{display:grid;align-content:start;gap:.55rem;min-height:12rem}.retention-simple-card>span,.retention-guidance-grid span{color:var(--muted);font-size:.78rem;font-weight:760}.retention-simple-card>strong{font-size:1.55rem;line-height:1.2}.retention-simple-card p,.retention-simple-card small,.retention-guidance-grid p{margin:0;color:var(--muted);line-height:1.55}.retention-simple-card small{margin-top:auto}.retention-simple-card.is-safe{border-color:#cfe0c3;background:#fbfdf9}.retention-simple-card.has-gap{border-color:#e8c2ba;background:#fff8f6}.retention-auto-banner{display:flex;gap:.55rem;align-items:baseline;padding:.85rem 1rem;border:1px solid #cfdfc4;border-radius:14px;color:var(--muted);background:#f7fbf3;line-height:1.5}.retention-auto-banner strong{color:var(--green-dark);white-space:nowrap}.retention-guidance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.retention-guidance-grid article{display:grid;gap:.5rem;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.retention-guidance-grid strong{font-size:1.05rem}.retention-policy-list{display:grid;gap:.75rem}.retention-policy-list article{display:grid;gap:.75rem;padding:1rem;border:1px solid var(--line);border-radius:15px;background:var(--surface-soft)}.retention-policy-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:.8rem;align-items:center}.retention-policy-main div{display:grid;gap:.18rem}.retention-policy-main small{color:var(--muted)}.retention-policy-main>b{font-size:.85rem}.retention-status{display:inline-flex;width:fit-content;padding:.25rem .52rem;border-radius:999px;color:#5f6356;background:#e9ebe4;font-size:.73rem;font-weight:760;white-space:nowrap}.retention-status.ready,.retention-status.downloaded{color:var(--green-dark);background:var(--green-weak)}.retention-status.protected{color:#875306;background:#fff0d0}.retention-status.failed{color:#9d2922;background:#ffe6e2}.retention-status.permanent{color:#315a7d;background:#e5f0f8}.retention-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.retention-counts span{padding:.6rem .7rem;border-radius:10px;background:var(--surface);color:var(--muted);font-size:.78rem}.retention-counts strong{color:var(--ink)}.retention-policy-list p{margin:0;color:var(--muted);font-size:.82rem;line-height:1.5}.retention-gate-panel ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin:1rem 0;padding:0;list-style:none}.retention-gate-panel li{display:grid;gap:.45rem;padding:.8rem;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);font-size:.8rem}.retention-gate-panel li span{display:grid;place-items:center;width:1.7rem;height:1.7rem;border-radius:999px;color:var(--green-dark);background:var(--green-weak);font-weight:800}.retention-gate-panel p{color:var(--muted);line-height:1.55}.retention-archive-panel .table-wrap{max-width:100%;overflow-x:auto}.runtime-log-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(16rem,22rem);gap:1.2rem;align-items:center}.runtime-log-intro h2,.runtime-log-intro p{margin:.25rem 0 0}.retention-card{display:grid;gap:.25rem;padding:1rem 1.1rem;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft)}.retention-card strong{font-size:2rem}.runtime-log-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.runtime-request-id{max-width:14rem;overflow-wrap:anywhere}.runtime-detail-summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:1rem;align-items:center;padding:.9rem 1rem;border-radius:14px;background:var(--surface-soft)}.runtime-detail-summary span{overflow-wrap:anywhere}.runtime-timeline{display:grid;gap:.75rem;margin:1rem 0}.runtime-timeline article{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.75rem;padding:.85rem 0;border-bottom:1px solid var(--line)}.runtime-timeline article>span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;color:var(--accent-strong);background:var(--accent-soft);font-weight:800}.runtime-timeline article div{display:grid;gap:.25rem}.runtime-timeline p,.runtime-timeline em{margin:0;font-size:.86rem}.runtime-timeline em{color:var(--danger);font-style:normal;font-weight:700}@media(max-width:900px){.health-hero,.runtime-log-intro,.runtime-detail-summary{display:grid;grid-template-columns:1fr}.health-service-grid,.health-foundation-grid,.health-rule-grid,.runtime-drill-grid{grid-template-columns:1fr}.runtime-log-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.hotword-runtime-proof{grid-template-columns:1fr}}@media(max-width:1100px){.health-hero{display:grid;grid-template-columns:1fr}.health-summary-counts{min-width:0;width:100%}.health-service-grid,.health-rule-grid,.retention-hero,.retention-gate-panel ol,.retention-simple-grid,.retention-guidance-grid{grid-template-columns:1fr}.retention-auto-banner{align-items:flex-start;flex-direction:column}.hotword-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.hotword-flow-arrow{display:none}.hotword-workbench,.hotword-entry-form{grid-template-columns:1fr}.hotword-pack-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.hotword-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prompt-management,.definition-layout{grid-template-columns:1fr}.prompt-catalog,.definition-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:18rem;gap:.4rem}}@media(max-width:760px){.hotword-architecture-summary,.candidate-guidance{grid-template-columns:1fr;display:grid}.hotword-flow,.hotword-relation-explainer>div{grid-template-columns:1fr}.model-discovery-control,.model-discovery-control>div{grid-template-columns:1fr}.discovery-result{padding-top:0;text-align:left}.provider-secret-heading,.provider-secret-actions,.provider-save-step,.provider-inline-feedback{align-items:stretch;flex-direction:column}.provider-test-results{grid-template-columns:1fr}.provider-diagnostic-guide>div{grid-template-columns:1fr}.provider-effect-input-heading{align-items:stretch;flex-direction:column}.provider-test-route>span{grid-template-columns:1fr;gap:.2rem}}@media(max-width:1000px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid,.telemetry-table-grid,.telemetry-detail-grid,.configuration-layout,.prompt-editor-grid,.prompt-ab-output-grid,.prompt-comparison-result,.prompt-release-flow{grid-template-columns:1fr}.prompt-editor+.prompt-editor{border-top:1px solid var(--line);border-left:0}.form-grid.three,.prompt-entry-flow{grid-template-columns:1fr}.prompt-entry-flow .flow-arrow{transform:rotate(90deg);justify-self:center}.prompt-stage-grid{grid-template-columns:1fr}.architecture-grid.route-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-rewrite-path{grid-template-columns:1fr}.provider-batch-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.console-shell{grid-template-columns:1fr}.sidebar{position:static;width:100%;height:auto;flex-direction:row;align-items:center;gap:1rem;padding:.9rem 1rem;border-right:0;border-bottom:1px solid var(--line)}.sidebar-brand span,.mode-chip{display:none}nav{display:flex;margin:0 0 0 auto}.sidebar-footer{margin:0}.workspace{padding:1.5rem 1rem 3rem}.workspace-header{align-items:flex-start;flex-direction:column}.header-actions{width:100%;justify-content:space-between}.form-grid{grid-template-columns:1fr}.draft-form-footer{align-items:stretch;flex-direction:column}.provider-batch-provider-grid,.provider-batch-inputs,.asr-batch-file-list{grid-template-columns:1fr}.provider-batch-heading,.provider-batch-actions,.batch-credential-help{flex-direction:column}.provider-batch-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.metric-grid{grid-template-columns:1fr}.sidebar-brand div:last-child,.live-source{display:none}.nav-item{padding:.65rem}.detail-list div{grid-template-columns:1fr;gap:.4rem}.detail-list dd{text-align:left}.telemetry-toolbar{align-items:stretch;flex-direction:column}.period-switcher{display:grid;grid-template-columns:repeat(3,1fr)}.trend-row{grid-template-columns:5.2rem minmax(4rem,1fr) 2.5rem}.trend-row small{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media(prefers-reduced-transparency:reduce){.login-card,.sidebar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}}@media(prefers-contrast:more){.login-card,.metric-card,.panel{border-color:#73796f;background:#fff}}
