.semantic-filter{min-width:168px;height:40px;padding:0 34px 0 12px;border:1px solid #d9e1ea;border-radius:10px;background:#fff;color:#223044;font:inherit}
.semantic-badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;font-size:12px;font-weight:650;line-height:1.4;border:1px solid transparent}
.semantic-badge.negative{color:#a61b1b;background:#fff1f0;border-color:#ffc9c4}.semantic-badge.nonnegative{color:#11643b;background:#eefbf3;border-color:#bce8cd}.semantic-badge.uncertain{color:#875b00;background:#fff8e6;border-color:#f1d694}.semantic-badge.failed{color:#8a2633;background:#fff0f2;border-color:#efbdc5}.semantic-badge.unreviewed{color:#5d6675;background:#f4f6f8;border-color:#dbe0e6}
.semantic-note{margin:10px 0 0;padding:9px 12px;border-radius:9px;background:#f7f9fc;color:#4b5565;font-size:13px;line-height:1.55;border-left:3px solid #8798ad}
.semantic-overlay{position:fixed;z-index:10000;inset:0;background:#13233973;display:flex;justify-content:flex-end}
.semantic-drawer{width:min(720px,96vw);height:100%;overflow:auto;background:#fff;padding:24px;box-shadow:-12px 0 40px #1222382b;color:#243043}
.semantic-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.semantic-drawer h2{margin:0 0 5px;font-size:22px}.semantic-drawer h3{margin:24px 0 10px;font-size:16px}.semantic-close{border:0;background:#eef2f7;border-radius:10px;width:38px;height:38px;font-size:22px;cursor:pointer}
.semantic-status-grid,.semantic-count-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.semantic-card{border:1px solid #e1e6ed;border-radius:12px;padding:12px;background:#fafbfd}.semantic-card small{display:block;color:#6a7483;margin-bottom:5px}.semantic-card strong{font-size:17px}.semantic-ok{color:#127044}.semantic-off{color:#a23b3b}
.semantic-drawer textarea,.model-settings-inline textarea{width:100%;min-height:270px;resize:vertical;border:1px solid #cfd7e2;border-radius:10px;padding:12px;line-height:1.6;font:14px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;box-sizing:border-box}.semantic-drawer input,.model-settings-inline input{width:100%;height:40px;border:1px solid #cfd7e2;border-radius:9px;padding:0 10px;box-sizing:border-box;font:inherit}.model-settings-inline>h3{margin:24px 0 10px;font-size:16px}.model-settings-inline .semantic-status-grid{margin-top:16px}
.semantic-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}.semantic-actions button,.semantic-version button{border:0;border-radius:9px;background:#173f70;color:#fff;padding:9px 13px;font:inherit;cursor:pointer}.semantic-actions button.secondary,.semantic-version button.secondary{background:#e8eef5;color:#243a52}.semantic-actions button:disabled,.semantic-version button:disabled{opacity:.5;cursor:not-allowed}
.semantic-message{margin-top:12px;min-height:22px;color:#3d536e}.semantic-version{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf0f4}.semantic-version-info{min-width:0}.semantic-version-info strong,.semantic-version-info span{display:block;overflow-wrap:anywhere}.semantic-version-info span{font-size:12px;color:#6d7683;margin-top:4px}.semantic-tests{margin:10px 0 0;padding-left:20px}.semantic-help{color:#6a7483;font-size:13px;line-height:1.6}.semantic-hidden{display:none!important}
.semantic-p3-disabled{opacity:.62}.semantic-p3-note{margin-left:7px;color:#7a5960;font-size:12px}.source-switcher{border:1px solid #dde5e8;border-radius:12px;background:#fff;margin:14px 0 18px;overflow:hidden}.source-tabs{display:flex;gap:0;overflow-x:auto;border-bottom:1px solid #e5ebed;background:#f7f9fa}.source-tab{white-space:nowrap;border:0;border-right:1px solid #e5ebed;background:transparent;padding:13px 18px;color:#536461;font:inherit;cursor:pointer}.source-tab.active{background:#fff;color:#087e67;font-weight:700;box-shadow:inset 0 -3px #0f8c70}.source-tab-panel{padding:18px}.source-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.source-panel-head h3{margin:0 0 4px;font-size:18px}.source-panel-head p{margin:0}.source-state{border-radius:999px;padding:5px 10px;font-size:12px;font-weight:700}.source-state.ok{background:#e7f8f1;color:#08775d}.source-state.off{background:#f2f4f5;color:#69736f}.source-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-top:15px}.source-pricing{margin:14px 0 0;color:#64716e;font-size:13px}.source-tab-panel h4{margin:18px 0 8px}.source-prompt{max-height:220px;overflow:auto;white-space:pre-wrap;border:1px solid #e1e6e8;border-radius:9px;background:#f7f9fa;padding:12px;font-size:12px;line-height:1.55}.source-open-model{border:0;border-radius:9px;background:#0a866d;color:#fff;padding:9px 14px;font:inherit;cursor:pointer}
.semantic-rule-grid,.semantic-route-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.semantic-detail-card{border:1px solid #e1e7e9;border-radius:11px;padding:12px 14px;background:#f8faf9}.semantic-detail-card small{display:block;color:#6a7774;margin-bottom:5px}.semantic-detail-card strong{display:block;color:#20312e;font-size:14px;line-height:1.5}.semantic-recent-list{border:1px solid #e1e7e9;border-radius:11px;overflow:hidden}.semantic-recent-row{display:flex;justify-content:space-between;gap:18px;padding:11px 13px;border-bottom:1px solid #edf1f0}.semantic-recent-row:last-child{border-bottom:0}.semantic-recent-row strong,.semantic-recent-row span{display:block}.semantic-recent-row strong{font-size:14px}.semantic-recent-row span,.semantic-recent-row time{font-size:12px;color:#6b7774;margin-top:4px}.semantic-recent-row time{white-space:nowrap}
@media(max-width:700px){.semantic-drawer{padding:18px}.semantic-status-grid,.semantic-count-grid{grid-template-columns:1fr 1fr}.semantic-filter{min-width:145px}}
.semantic-night-plan{margin:.75rem 0 1rem;padding:.85rem 1rem;border:1px solid #bae6d2;border-radius:.75rem;background:#effaf5;color:#245c49;font-size:.9rem;line-height:1.65}
.semantic-night-editor{margin:18px 0;padding:16px;border:1px solid #dbe7e3;border-radius:12px;background:#f8fbfa}.semantic-night-editor h3{margin:0 0 6px}.semantic-night-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:14px 0}.semantic-night-grid label{display:grid;gap:6px;color:#536461;font-size:13px}.semantic-night-grid input{height:40px;border:1px solid #cfdad6;border-radius:9px;padding:0 10px;font:inherit;background:#fff}.semantic-night-editor>button{border:0;border-radius:9px;background:#0a866d;color:#fff;padding:10px 15px;font:inherit;cursor:pointer}.semantic-night-editor>button:disabled{opacity:.55;cursor:wait}
.summary-filter-button{appearance:none;border:0;border-radius:999px;padding:3px 9px;margin:0 2px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
.summary-filter-button:hover{background:#edf7f3;box-shadow:0 0 0 1px #b9dfd1}
.summary-filter-button:focus-visible{outline:2px solid #0a866d;outline-offset:2px}
.summary-filter-button[aria-pressed=true]{background:#e3f5ee;box-shadow:0 0 0 1px #8dcdb6}
.summary-filter-button:active{transform:translateY(1px)}
.semantic-update-composer{margin:18px 0;padding:18px;border:1px solid #dbe7e3;border-radius:12px;background:#f8fbfa}.semantic-update-composer h3{margin:0 0 6px}.semantic-update-controls{display:grid;gap:9px;margin-top:12px}.semantic-update-controls select,.semantic-update-controls textarea{width:100%;box-sizing:border-box;border:1px solid #cfdad6;border-radius:9px;background:#fff;color:#20312e;font:inherit}.semantic-update-controls select{height:42px;padding:0 10px}.semantic-update-controls textarea{min-height:130px;padding:11px 12px;resize:vertical;line-height:1.6}.semantic-update-controls button{justify-self:start;border:0;border-radius:9px;background:#0a866d;color:#fff;padding:10px 15px;font:inherit;cursor:pointer}.semantic-update-controls button:disabled{opacity:.55;cursor:wait}.semantic-update-count{justify-self:end;color:#6a7774}
