.dashboard{background:#f7f5fa;font-size:13px;color:#30223e}
.dashboard header{max-width:none;height:58px;padding:0 32px;background:#fffdff}
.dashboard header nav{display:flex;gap:24px;font-size:12px}
.dashboard a{color:#72509c;text-underline-offset:4px}
.dashboard header a{text-decoration:none}
.dashboard main{max-width:1260px;padding:24px 32px}
.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}
.page-title h1{font-size:26px;letter-spacing:-.9px;margin:0}
.page-title .eyebrow{display:none}
.page-title>div:last-child{display:flex;gap:8px}
.dashboard button{font-size:12px;padding:8px 13px;border-radius:7px}
.dashboard button:disabled{background:#efebf3;border-color:#e4ddea;color:#9a8ba8;opacity:1}
.dashboard button:focus-visible,.dashboard summary:focus-visible{outline:2px solid #9e7fc5;outline-offset:3px}
.dashboard #message{font-size:12px;min-height:0;margin:0 0 12px}
.dashboard #message:empty{display:none}
.dashboard .layout{grid-template-columns:224px minmax(0,1fr);gap:22px}
.key-sidebar{display:block;position:sticky;top:20px}
.sidebar-title{font-size:10px;letter-spacing:1.1px;display:flex;justify-content:space-between;color:#82738e;padding:5px 3px 12px}
.dashboard input,.dashboard select,.dashboard textarea{font-size:13px;padding:8px 10px;min-width:0;height:36px;border-color:#dfd8e7}
.dashboard textarea{height:auto}
.dashboard label{font-size:11px;margin:12px 0 6px}
.dashboard #key-search{background:#fff;margin-bottom:12px}
.dashboard #entries{display:grid;gap:6px}
.dashboard #entries .project-group{border:0;margin:0;padding:0}
.dashboard #entries .project-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;list-style:none;padding:8px 9px;border-radius:7px;color:#685875;cursor:pointer}
.dashboard #entries .project-group>summary::-webkit-details-marker{display:none}
.dashboard #entries .project-group>summary::before{content:'›';font-size:16px;line-height:1;color:#9a87a7;transition:transform .15s ease}
.dashboard #entries .project-group[open]>summary::before{transform:rotate(90deg)}
.dashboard #entries .project-group>summary strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:11px}
.dashboard #entries .project-group>summary span{font-size:9px;color:#9a8aa4;white-space:nowrap}
.dashboard #entries .project-group>summary:hover{background:#f0eaf5}
.dashboard #entries .project-entries{padding:3px 0 1px 12px}
.dashboard #entries .project-entries .entry{margin-bottom:4px}
.dashboard .entry{padding:14px;margin-bottom:8px;border-radius:9px;box-shadow:none;border-color:transparent;background:transparent}
.dashboard .entry.active{background:#ede6f5;border-color:#d8c7e9}
.dashboard .entry strong{font-size:12px}.dashboard .entry small{font-size:10px;margin-top:5px}
.dashboard .entry .split{gap:5px;margin-top:9px}.dashboard .entry .split span{font-size:10px;padding:3px 6px;background:#fff9}
.sidebar-help{display:none}.key-sidebar>a{display:inline-block;margin:12px 3px;font-size:11px}
.dashboard .panel{padding:24px;border-radius:12px;background:#fff;border-color:#e7e0ed;box-shadow:0 3px 16px #33223d03}
.dashboard .editor-head{padding-bottom:20px;border-bottom:1px solid #eee9f2;align-items:center;gap:16px}
.editor-head>div:first-child{min-width:0}
.dashboard .editor-head .eyebrow{font-size:9px;letter-spacing:1.4px;margin:0 0 7px;color:#8c759d}
.dashboard h2{font-size:19px;margin:0;overflow-wrap:anywhere}
.dashboard h3{font-size:13px;margin:0;font-weight:700}
.editor-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.dashboard .pill{font-size:10px;padding:4px 8px;background:#f3eef8;color:#84689c}
.editor-actions #save{min-width:112px}
.section-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px;gap:12px}
.section-heading p{margin:5px 0 0}
.dashboard .muted{font-size:11px;line-height:1.6;color:#87778f}
#save-state{font-size:11px;color:#8e8198}#save-state.dirty{color:#815aa6}
.allocation-layout{display:grid;grid-template-columns:148px minmax(0,1fr);gap:30px;align-items:center;padding:8px 0 4px}
.chart-wrap{display:flex;align-items:center;flex-direction:column;gap:12px}
.allocation-pie{width:132px;height:132px;border-radius:50%;background:#e9e3ef;box-shadow:0 0 0 6px #faf8fc}
#chart-caption{font-size:10px;color:#8b7b96}
.column-labels{display:grid;grid-template-columns:1fr 88px 28px;gap:8px;padding-left:21px;font-size:10px;color:#98879f;margin-bottom:6px}
.dashboard .variant{display:grid;grid-template-columns:9px minmax(0,1fr) 88px 28px;gap:10px;align-items:center;margin-top:8px}
.service-dot{width:9px;height:9px;border-radius:50%;background:var(--slice-color)}
.variant [data-name]{border-color:transparent;background:transparent;padding-left:0;font-weight:600}
.variant [data-name]:hover,.variant [data-name]:focus{border-color:#dfd8e7;background:#faf8fc}
.traffic-input{display:flex;align-items:center;border:1px solid #dfd8e7;border-radius:7px;background:white;overflow:hidden}
.traffic-input:focus-within{outline:2px solid #bda2d3;outline-offset:2px}
.traffic-input input{border:0;border-radius:0;text-align:right;font-variant-numeric:tabular-nums;width:65px;padding:8px 6px;appearance:textfield}
.traffic-input input::-webkit-inner-spin-button{appearance:none}
.traffic-input input:focus{outline:0}
.traffic-input>span{font-size:11px;color:#a191ac;padding-right:9px}
.dashboard .variant button{height:28px;padding:0;border:0;color:#a898b1;font-size:17px}
.dashboard .allocation-footer{margin:10px 0 0;font-size:10px;color:#867392}
.dashboard #add-variant{padding:4px 0;border:0;font-size:11px}
#allocation-help{margin:8px 0 0}
#allocation-error{font-size:11px;color:#a43e50;margin:8px 0}#allocation-error:empty{display:none}
#allocation-draft{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:12px;padding:8px 10px;border-radius:6px;background:#f6f0fb;font-size:10px;color:#84669c}
.dashboard .text-button{border:0;background:transparent;color:#72509c;padding:4px;white-space:nowrap;font-size:11px}
.dashboard details{border-top:1px solid #eee9f2;margin-top:16px;padding-top:14px}
.dashboard summary{font-size:11px;color:#8a7499;font-weight:500}
.config-meta{display:grid;grid-template-columns:2fr 1fr;gap:15px}
.dashboard #configuration-details{margin-top:16px;padding-top:12px}
.dashboard #schedule-panel{border-top:1px solid #eee9f2;margin-top:16px;padding-top:0}
.dashboard #schedule-state{font-size:10px;margin:0 0 12px;color:#96849f}
.rule-frequency,.rule-change,.rule-limit{display:flex;gap:10px;align-items:center;margin:12px 0}
.step-number{display:none}
.rule-frequency label,.rule-limit label{margin:0;white-space:nowrap;font-size:12px;font-weight:400}
.rule-frequency>input{width:62px}.rule-frequency>select{width:100px}
.dashboard .schedule-presets{display:flex;gap:2px;margin:0 0 0 auto;flex-wrap:nowrap;background:#f8f5fb;padding:3px;border-radius:6px}
.dashboard .schedule-presets button{padding:4px 7px;font-size:10px;border:0;color:#9a83ac}
.dashboard .schedule-presets button.active{background:#e9def4;color:#6b438e}
.rule-change{align-items:end}.rule-input{flex:1;min-width:0}.rule-input label{margin:0 0 6px}
.rule-input.delta-input{flex:0 0 110px}.rule-input.amount-input{flex:0 0 72px}
.balance-arrow{align-self:center;margin-top:17px;color:#b19bbe}
.delta-chip{font:11px ui-monospace,monospace;color:#846499;background:#f6f1fa;border-radius:6px;padding:10px 7px;white-space:nowrap}
.percent-input{display:flex;align-items:center;width:86px;background:#fff;border:1px solid #dfd8e7;border-radius:7px}
.percent-input input{border:0;width:62px}.percent-input>span{font-size:11px;color:#9b84aa}
.rule-limit .muted{margin-left:auto;font-size:10px}
.preview-box{background:#faf8fc;border:1px solid #eee7f4;border-radius:8px;padding:12px 14px;margin-top:14px}
.preview-top{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:#a18bae}
.preview-box #schedule-preview{background:none;border:0;padding:0;margin:8px 0;font-size:12px;font-weight:600;line-height:1.6;color:#604377}
.preview-path{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font:10px ui-monospace,monospace;color:#937ca2}
.preview-path span{padding:3px 6px;background:white;border:1px solid #ece5f1;border-radius:4px}.preview-path small{font:10px Manrope,sans-serif}
.preview-box #schedule-error{font-size:11px;color:#ad3e3e;margin:6px 0 0}.preview-box #schedule-error:empty{display:none}
.dashboard .save-row{margin-top:12px;gap:10px}
.schedule-footnote{display:flex;justify-content:space-between;margin-top:12px;color:#a492ae;font-size:10px}
.editor-bottom{display:grid;grid-template-columns:1fr 1fr;gap:18px}.editor-bottom pre{font-size:10px}
.dashboard #scheduler-heartbeat{margin:14px 0 0;font-size:9px;color:#a290ac}
.dashboard [hidden]{display:none!important}
.dashboard fieldset,.dashboard .editor,.dashboard .key-sidebar{min-width:0}
.feedback-rule{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 8px;font-size:11px}.dashboard .feedback-rule label{margin:0;font-weight:400}.feedback-rule input{width:64px}.feedback-rule .pill{margin-left:auto}.dashboard .feedback-endpoint{margin-top:5px;padding-top:0;border:0}.feedback-endpoint input{margin-top:8px;font-family:ui-monospace,monospace;font-size:11px!important}.feedback-endpoint p{margin:6px 0}
.dashboard{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px}
.dashboard main{max-width:1160px;padding-top:18px}
.dashboard .layout{grid-template-columns:200px minmax(0,1fr);gap:16px}
.dashboard .panel{padding:18px 20px}
.dashboard .editor-head{padding-bottom:12px}
.dashboard .editor-head .eyebrow,.dashboard .column-labels,.dashboard .schedule-footnote{display:none}
.dashboard h2{font-size:15px;font-weight:600;letter-spacing:0}
.dashboard .entry strong{font-size:11px;font-weight:600}
.dashboard .entry{padding:10px}.dashboard .entry small{font-size:10px}
.dashboard .section-heading{margin:12px 0 8px}
.dashboard input,.dashboard select{height:32px;font-size:12px}
.dashboard .variant [data-name]{font-size:12px;font-weight:400}
.dashboard .allocation-layout{grid-template-columns:110px minmax(0,1fr);gap:18px;padding:4px 0}
.dashboard .allocation-pie{width:96px;height:96px;box-shadow:0 0 0 4px #faf8fc}
.dashboard .chart-wrap{gap:7px}
.dashboard #chart-caption:empty,.dashboard #schedule-state:empty,.dashboard #schedule-unchanged:empty{display:none}
.dashboard .variant{margin-top:4px;grid-template-columns:8px minmax(0,1fr) 74px 24px;gap:7px}
.dashboard .traffic-input input{width:54px;height:30px}.dashboard .traffic-input>span{padding-right:6px}
.dashboard #variants{max-height:220px;overflow-y:auto;scrollbar-gutter:stable;padding:3px}
.dashboard .allocation-footer{margin-top:5px}.dashboard #allocation-help{font-size:10px;margin-top:3px}
.dashboard #configuration-details{margin-top:10px;padding-top:10px}
.dashboard #schedule-panel{margin-top:10px}
.dashboard .rule-frequency,.dashboard .rule-change,.dashboard .rule-limit{margin:8px 0}
.dashboard .rule-input label{font-size:10px;margin-bottom:4px}
.dashboard .preview-box{padding:8px 10px;margin-top:9px}
.dashboard .preview-box #schedule-preview{margin:0 0 6px;font-weight:500}
.dashboard #schedule-unchanged{font-size:10px;margin:6px 0 0}
.dashboard .save-row{margin-top:9px}.dashboard .save-row button{padding:6px 10px}
.dashboard .editor-bottom{gap:16px}.dashboard .editor-bottom details{margin-top:12px;padding-top:10px;min-width:0}
.dashboard #history{max-height:240px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;margin-top:8px;padding-right:8px;font-size:11px}
.dashboard #history:focus-visible{outline:2px solid #bda2d3;outline-offset:3px}
.dashboard .history-item{padding:10px 0;border-bottom:1px solid #eee9f2;font-size:11px;line-height:1.5}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.history-heading time{font-size:10px;color:#8e8198}
.history-values{display:flex;flex-wrap:wrap;gap:6px;margin-top:5px}.history-values span{background:#f6f2fa;border-radius:4px;padding:2px 6px;font-variant-numeric:tabular-nums}
.dashboard .history-note{margin:5px 0 0!important;padding:0!important;border:0}.dashboard .history-note summary{font-size:10px}.history-note p{margin:5px 0;color:#80718c;font-size:11px}
.dashboard .history-item pre{font-size:10px;max-height:140px;overflow:auto;padding:8px;margin:5px 0}
@media(max-width:700px){.dashboard .allocation-layout{grid-template-columns:minmax(0,1fr);gap:10px}.dashboard .chart-wrap{flex-direction:row;justify-content:center}.dashboard .allocation-pie{width:80px;height:80px}}
@media(max-width:1050px){.dashboard .layout{grid-template-columns:200px minmax(0,1fr)}.dashboard main{padding:20px}.dashboard .panel{padding:20px}.editor-actions{flex-direction:column;align-items:flex-end;gap:7px}.allocation-layout{grid-template-columns:120px minmax(0,1fr);gap:20px}.allocation-pie{width:110px;height:110px}.rule-frequency,.rule-change,.rule-limit{flex-wrap:wrap}.rule-change .rule-input{flex:1 1 100px}.rule-change .delta-input{flex:0 1 110px}.rule-change .amount-input{flex:0 1 72px}}
@media(max-width:700px){.dashboard header{padding:0 16px}.dashboard header nav a:first-child{display:none}.dashboard main{padding:18px 14px}.dashboard .layout{grid-template-columns:1fr;gap:12px}.key-sidebar{position:static}.key-sidebar>a,.sidebar-title{display:none}.dashboard #entries{display:grid;gap:6px;overflow:visible}.dashboard .entry{min-width:0;max-width:none}.dashboard h2{font-size:17px}.dashboard .panel{padding:18px}.dashboard .editor-head{gap:10px}.editor-actions #save{min-width:100px;padding:8px 10px}.allocation-layout{grid-template-columns:1fr;gap:18px}.allocation-pie{width:116px;height:116px}.chart-wrap{gap:9px}.allocation-inputs{min-width:0}.rule-change{gap:8px}.rule-limit .muted{margin-left:0}.rule-limit label{font-size:11px}.editor-bottom{grid-template-columns:1fr;gap:0}.rule-frequency{gap:7px}.dashboard .schedule-presets{margin-left:0}.config-meta{grid-template-columns:1fr}.page-title h1{font-size:24px}.dashboard #allocation-draft{align-items:start}.dashboard .save-row{align-items:center}}
.history-heading .history-author{font-size:10px;color:#5b4b66;overflow-wrap:anywhere}
