:root{font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:16px;--blue:#006bea;--blue-soft:#dcebff;--blue-hover:#eef6ff;--danger:#ff3764;--danger-soft:#fff1f4;--green:#43c987;--text:#111c31;--muted:#7e8a9c;--line:#dce4f1;--paper:#fff;--page:#f7f9fc;--head:#fafafa;--sidebar:224px;color:var(--text);background:var(--page);color-scheme:light}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #57a0ff;outline-offset:3px}button{color:inherit}input,select,textarea{background:var(--paper);color:var(--text);border:1px solid var(--line);border-radius:6px;min-width:0}input::placeholder,textarea::placeholder{color:#a1acbd}input:not([type=checkbox]),select{height:36px;padding:0 12px}input[type=checkbox]{width:15px;height:15px;accent-color:var(--blue);margin:0;vertical-align:middle;cursor:pointer}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%238795a9' stroke-width='1.2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center;padding-right:30px}svg.icon{width:17px;height:17px;display:block;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--paper);border-right:1px solid var(--line);z-index:30;transition:width .18s;display:flex;flex-direction:column}.brand{height:50px;display:flex;align-items:center;gap:9px;padding:0 12px;white-space:nowrap;flex:none}.brand-mark{display:grid;place-items:center;width:32px;height:32px;border-radius:4px;background:#cf2852;color:white;font-size:28px;font-weight:700}.brand-text{font-size:18px;font-weight:600}.sidebar nav{padding:8px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dfe7f4 transparent}.nav-item{display:flex;align-items:center;gap:10px;width:100%;height:44px;border:0;background:none;padding:0 9px;border-radius:7px;font-size:14px;white-space:nowrap;text-align:left}.nav-item:hover,.subnav button:hover{background:var(--blue-hover)}.nav-item .chevron{margin-left:auto}.chevron{width:7px;height:7px;border-right:1.4px solid currentColor;border-bottom:1.4px solid currentColor;transform:rotate(45deg);display:inline-block;flex:none;margin-top:-3px}.chevron.up{transform:rotate(225deg);margin-top:3px}.selected-group{color:var(--blue)}.subnav{display:grid;gap:2px}.subnav button{min-height:42px;border:0;background:none;text-align:left;padding:0 12px 0 32px;border-radius:8px;font-size:14px;white-space:nowrap}.subnav button.active{color:var(--blue);background:#d8e9ff}.subnav[hidden]{display:none}.main-shell{margin-left:var(--sidebar);transition:margin-left .18s}.topbar{height:50px;position:sticky;top:0;background:var(--paper);border-bottom:1px solid var(--line);z-index:25;display:flex;align-items:center}.icon-button{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;background:transparent;border:0;border-radius:6px;flex:none}.icon-button:hover{background:var(--blue-hover)}#toggle-sidebar{margin:0 6px}.tabs{display:flex;align-items:stretch;height:50px;min-width:0;overflow:hidden}.tab{border:0;border-right:1px solid var(--line);border-radius:0;padding:0 16px;display:flex;align-items:center;gap:9px;background:var(--paper);font-size:14px;white-space:nowrap}.tab.active{color:var(--blue);background:var(--blue-soft);box-shadow:inset 0 -2px var(--blue)}.tab-x{font-size:16px;margin-left:3px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:6px;margin-left:auto;padding:0 14px}.prototype-label{font-size:12px;color:var(--muted);padding:0 8px;white-space:nowrap}.avatar{display:grid;place-items:center;width:32px;height:32px;background:linear-gradient(135deg,#4e6576,#06111e);color:#fff;font-size:11px;border:2px solid #c9d3dc;border-radius:50%;margin-left:6px}main{padding:20px 24px 28px;max-width:2200px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}.page-heading h1{display:inline;font-size:20px;font-weight:600;margin:0 14px 0 0}.page-subtitle{font-size:13px;color:var(--muted)}.heading-actions{display:flex;gap:15px;align-items:center}.demo-label{font-size:12px;color:#6d7d93;border:1px solid var(--line);border-radius:4px;padding:2px 7px;white-space:nowrap}.text-button{border:0;background:none;color:var(--blue);padding:2px 0;font-size:13px;white-space:nowrap}.panel{background:var(--paper);border:1px solid var(--line);border-radius:8px}.filter-panel{padding:18px 20px;margin-bottom:12px}.filter-main{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(170px,1fr) minmax(150px,.9fr) minmax(180px,1fr);gap:20px}.field{display:flex;align-items:center;gap:12px;font-size:14px;min-width:0}.field>span{white-space:nowrap;color:#718096}.field input,.field select{width:100%;font-size:14px}.filter-bottom{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:16px}.date-field{display:flex;align-items:center;gap:12px;font-size:14px}.date-field>span{color:#718096;white-space:nowrap}.date-range{display:flex;gap:10px;align-items:center;color:#98a4b5}.date-range input{font-size:13px;width:206px}.filter-actions{display:flex;gap:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:6px;padding:7px 13px;background:var(--paper);font-size:14px;line-height:18px;min-height:34px;white-space:nowrap}.button:hover{border-color:#8fbaff;color:var(--blue)}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.button.primary:hover{background:#2582ee;border-color:#2582ee}.button.danger{background:var(--danger);color:#fff;border-color:var(--danger)}.button.danger:hover{background:#ff5a7f;border-color:#ff5a7f}.button.success{background:var(--green);color:#fff;border-color:var(--green)}.button.subtle{background:var(--blue-hover);color:var(--blue);border-color:#cfe3ff}.button.small{padding:5px 10px;font-size:13px;min-height:28px;line-height:16px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 20px 14px;gap:16px;flex-wrap:wrap}.batch-buttons{display:flex;gap:8px;flex-wrap:wrap}.batch-buttons .button{font-size:13px;min-height:30px;padding:5px 12px}.list-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);white-space:nowrap}.meta-divider{height:14px;width:1px;background:var(--line)}.table-scroll{overflow:auto;max-height:calc(100vh - 335px);min-height:250px;margin:0 20px;scrollbar-width:thin;scrollbar-color:#cbd9ed #f4f7fb}table{width:100%;min-width:1480px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:14px}.col-check{width:36px}.col-anchor{width:164px}.col-content{width:240px}.col-settings{width:184px}.col-watch{width:196px}.col-time{width:222px}.col-record{width:106px}.col-stream{width:166px}.col-actions{width:166px}th{height:54px;background:var(--head);color:#67758a;text-align:left;font-weight:400;position:sticky;top:0;z-index:5;padding:10px 12px;border-bottom:1px solid var(--line);font-size:14px}td{padding:13px 12px;border-bottom:1px solid var(--line);height:100px;vertical-align:middle;background:var(--paper)}tr:hover td{background:var(--blue-hover)}tr.selected td{background:var(--blue-hover)}.fixed-check{position:sticky;left:0;z-index:6;text-align:center;padding:8px}.fixed-anchor{position:sticky;left:36px;z-index:6;box-shadow:4px 0 6px -6px #7486a0}.fixed-actions{position:sticky;right:0;z-index:6;box-shadow:-5px 0 7px -7px #7486a0}td.fixed-check,td.fixed-anchor,td.fixed-actions{z-index:3}.anchor-name{font-size:14px;color:var(--text);margin-bottom:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.id-line{font-size:12px;color:var(--muted);line-height:20px;display:flex;gap:8px;font-variant-numeric:tabular-nums}.id-line span{min-width:36px}.id-line code{font:inherit;color:var(--text)}.live-title{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-align:left;font-size:14px;background:none;border:0;padding:0;color:var(--text);margin-bottom:10px}.live-title:hover{color:var(--blue)}.status-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status{font-size:12px;line-height:18px;display:inline-block;border:1px solid #d9e8ff;background:#f2f7ff;color:var(--blue);padding:0 7px;border-radius:3px;white-space:nowrap}.status.live{color:#28b17c;border-color:#d9f4e6;background:#f4fcf7}.status.closed{color:#f64e77;border-color:#ffe0e7;background:#fff5f7}.status.created{color:#8b98ab;border-color:var(--line);background:#f5f6f8}.type-label{font-size:13px;color:#6d7b91}.stat-line{display:flex;align-items:center;gap:8px;min-height:23px;font-size:13px}.stat-label{color:var(--muted);min-width:40px}.numbers{font-variant-numeric:tabular-nums}.edit-link{display:inline-flex;align-items:center;gap:4px;color:var(--blue);border:0;background:none;padding:0;font-size:13px;min-height:23px}.edit-link svg{width:13px;height:13px}.switch-pair{display:flex;gap:12px;margin-top:4px}.switch-item{display:flex;align-items:center;gap:5px;font-size:12px;color:#697a90}.toggle{width:29px;height:16px;padding:0;border:0;border-radius:12px;background:#c8d0dc;position:relative;flex:none}.toggle:before{content:"";position:absolute;left:2px;top:2px;width:12px;height:12px;background:white;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .15s}.toggle[aria-checked=true]{background:var(--blue)}.toggle[aria-checked=true]:before{transform:translateX(13px)}.watch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}.watch-grid .metric-label{display:block;font-size:12px;color:var(--muted);margin-bottom:8px}.metric-value{display:inline-block;min-height:26px;font-size:15px;font-variant-numeric:tabular-nums;font-weight:400}.metric-link{background:none;border:0;color:var(--blue);padding:0 6px}.time-line{display:flex;gap:9px;font-size:13px;line-height:24px;white-space:nowrap;font-variant-numeric:tabular-nums}.time-line .label{color:var(--muted);min-width:26px}.time-line.duration{color:#53657d}.row-actions{display:flex;flex-direction:column;align-items:stretch;gap:6px}.row-actions .button{font-size:12px;padding:5px 8px;min-height:27px}.row-actions .more-button{color:var(--blue);background:var(--paper);border-color:#cbdffb}.more-button .chevron{margin-left:3px;width:6px;height:6px}.stream-button{width:138px;justify-content:space-between}.recording-label{display:block;color:#29a577;font-size:12px;margin-bottom:6px}.empty-dash{color:#b6c0ce}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;font-size:13px;color:var(--muted);flex-wrap:wrap}.pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pagination select{height:30px;font-size:13px;width:112px}.page-button{height:28px;min-width:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;border-radius:4px;padding:3px;color:#65758b;font-size:13px}.page-button.active{color:var(--blue);background:#edf4ff;border-color:#b9d5ff}#page-numbers{display:flex;gap:5px}#jump-page{width:46px;height:28px;padding:0 5px;text-align:center;font-size:13px}.page-note{display:flex;gap:6px;align-items:center;color:#8c98aa;font-size:12px;margin-top:12px}.page-note svg{width:14px;height:14px}.floating-menu{position:fixed;z-index:80;min-width:170px;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:5px;box-shadow:0 6px 25px #142e5524}.floating-menu[hidden]{display:none}.menu-heading{font-size:12px;color:var(--muted);padding:7px 10px}.menu-item{display:flex;align-items:center;gap:8px;width:100%;padding:9px 12px;text-align:left;border:0;border-radius:4px;background:none;font-size:14px}.menu-item:hover{background:var(--blue-hover);color:var(--blue)}.menu-item.destructive{color:var(--danger)}.menu-separator{height:1px;background:var(--line);margin:5px}.menu-item svg{width:15px;height:15px}dialog{width:min(560px,calc(100vw - 32px));border:1px solid var(--line);background:var(--paper);color:var(--text);border-radius:9px;padding:0;box-shadow:0 18px 70px #10214033;max-height:90vh;overflow:auto}dialog::backdrop{background:#15253b5c}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--line);gap:16px}.modal-heading h2{font-size:17px;font-weight:500;margin:0}#modal-body{padding:22px 24px;font-size:14px;line-height:1.7}.modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 20px;border-top:1px solid var(--line)}.modal-field{display:grid;gap:7px;margin-bottom:18px;font-size:14px}.modal-field:last-child{margin-bottom:0}.modal-field textarea{width:100%;resize:vertical;min-height:82px;padding:10px 12px;font-size:14px}.modal-field input,.modal-field select{width:100%;font-size:14px}.modal-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;background:var(--page);border-radius:6px;padding:12px 14px;margin-bottom:20px;font-size:13px}.modal-meta span{color:var(--muted);margin-right:8px}.modal-hint{font-size:12px;color:var(--muted);margin-top:8px}.modal-warning{background:var(--danger-soft);padding:12px 14px;border-radius:6px;color:#ba3450;margin-bottom:14px}.confirm-detail{margin:0 0 10px;color:#55677f}.url-box{padding:12px;border:1px solid var(--line);border-radius:6px;background:var(--page);overflow-wrap:anywhere;font:13px/1.7 monospace;user-select:all;margin:12px 0}.mini-table{min-width:0;font-size:13px;width:100%;table-layout:auto}.mini-table th,.mini-table td{position:static;padding:9px 10px;height:auto;font-size:13px}.mapping{margin:0;display:grid;gap:12px}.mapping dt{font-size:14px;color:var(--text);font-weight:500}.mapping dd{font-size:13px;color:#69798f;margin:3px 0 0}.toasts{position:fixed;top:66px;left:50%;transform:translateX(-50%);z-index:100;display:grid;gap:10px;max-width:calc(100vw - 32px);pointer-events:none}.toast{display:flex;align-items:center;gap:10px;padding:12px 18px;background:var(--paper);border:1px solid var(--line);border-radius:7px;box-shadow:0 5px 22px #19396724;font-size:14px;animation:toast-in .18s ease}.toast svg{color:#25ae75;width:18px;height:18px}.toast.warning svg{color:#df9c23}.empty-state{padding:45px;text-align:center;color:var(--muted);height:260px}.empty-state svg{width:36px;height:36px;margin:auto auto 12px;opacity:.5}.collapsed{--sidebar:64px}.collapsed .brand{padding:0 16px}.collapsed .brand-text,.collapsed .nav-item>span:not([data-icon]),.collapsed .subnav{display:none}.collapsed .nav-item{padding:0;justify-content:center}.collapsed .nav-item [data-icon]{display:inline-flex}.collapsed .nav-item svg{width:19px;height:19px}.dark{--text:#dce5f2;--muted:#91a0b5;--line:#314056;--paper:#172233;--page:#111b2b;--head:#1d293a;--blue:#3d91ff;--blue-soft:#1f3b5f;--blue-hover:#20364f;--danger-soft:#3c2330;color-scheme:dark}.dark .subnav button.active{background:#23466b}.dark .status{background:#20364f;border-color:#344c6c}.dark .status.live{background:#1a3a31;border-color:#284b3e}.dark .status.closed{background:#3d2633;border-color:#543040}.dark .status.created{background:#273242;border-color:#394759}.dark .page-button.active{background:#23436b}.dark .toggle{background:#5a6a80}.dark .toggle[aria-checked=true]{background:var(--blue)}
@keyframes toast-in{from{transform:translateY(-5px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1900px){main{padding:22px 28px}.filter-main{grid-template-columns:1.5fr 1.1fr 1fr 1fr;max-width:1450px}.table-scroll{max-height:calc(100vh - 340px)}td{height:100px}.col-content{width:260px}}
@media(max-width:1500px){main{padding:16px}.filter-main{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:14px}.field{display:grid;gap:7px}.filter-panel{padding:16px}.date-range input{width:190px}.table-scroll{max-height:calc(100vh - 370px);margin:0 16px}.list-toolbar{padding:14px 16px}.prototype-label{display:none}.col-content{width:220px}}
@media(max-width:1100px){.page-subtitle{display:none}.secondary-tab{display:none}.filter-main{grid-template-columns:1fr 1fr}.date-field{display:grid;gap:7px}.filter-bottom{align-items:end}.date-range{gap:6px}.date-range input{width:178px}.top-actions{gap:1px;padding:0 8px}.list-meta{margin-left:auto}.table-scroll{max-height:520px}.page-heading h1{font-size:18px}.heading-actions{gap:10px}}
@media(max-width:760px){:root{--sidebar:64px}.brand{padding:0 16px}.brand-text,.nav-item>span:not([data-icon]),.subnav{display:none}.nav-item{justify-content:center;padding:0}.nav-item [data-icon]{display:inline-flex}.topbar{height:48px}.tabs{height:48px}.tab{padding:0 10px}.tab:not(.active){display:none}.top-actions #fullscreen,.top-actions #theme-toggle{display:none}main{padding:12px}.page-heading{flex-wrap:wrap}.page-heading h1{font-size:18px}.heading-actions{gap:12px}.filter-panel{padding:14px}.filter-main{gap:12px}.field{font-size:13px}.filter-bottom{gap:12px}.date-field{width:100%}.date-range input{width:calc((100% - 28px)/2);font-size:12px;padding:0 5px}.date-range span{font-size:12px}.filter-actions{margin-left:auto}.list-toolbar{padding:12px}.batch-buttons .button{font-size:12px;padding:5px 9px}.batch-buttons{gap:6px}.table-scroll{margin:0 12px;min-height:240px;max-height:none}.fixed-anchor,td.fixed-anchor,.fixed-actions,td.fixed-actions{position:static;box-shadow:none}.table-footer{padding:12px;gap:10px}.pagination{gap:5px}.jump-label,#jump-page{display:none}.page-note{align-items:flex-start}.demo-label{display:none}.modal-meta{grid-template-columns:1fr}.top-actions{padding-right:8px}.avatar{margin-left:0}}
@media(max-width:420px){main{padding:9px}.heading-actions{gap:12px}.filter-main{grid-template-columns:1fr}.filter-panel{padding:12px}.date-range{display:grid;grid-template-columns:1fr}.date-range input{width:100%;font-size:13px}.date-range span{text-align:center}.filter-actions{margin-left:0}.top-actions #refresh-view{display:none}.batch-buttons{display:grid;grid-template-columns:1fr}.list-meta{margin-left:0}.page-heading{gap:8px}.table-footer{padding:12px 9px}.pagination select{width:98px}.tab-x{display:none}}
@media(pointer:coarse){.button,.text-button,.icon-button,.page-button,.menu-item{min-height:40px}.switch-item{min-height:40px}.field input,.field select{font-size:16px}.edit-link,.metric-link,.live-title{min-height:34px}.row-actions .button{min-height:34px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
.col-anchor{width:144px}.col-content{width:256px}.col-status-type{width:128px}.col-settings{width:164px}.col-watch{width:156px}.col-time{width:196px}.col-record,.col-stream,.col-actions{width:164px}table{min-width:1572px}.status-type-cell{text-align:center;white-space:nowrap}.status-type-stack{display:flex;flex-direction:column;align-items:center;gap:8px}.live-title{width:100%;margin-bottom:0;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:normal;line-height:1.65}
.provider-buttons,.row-actions{display:grid;grid-template-columns:140px;justify-content:center;gap:6px;align-items:start}.provider-buttons .button,.row-actions .button,.record-cell .button{width:140px;min-height:28px;padding:5px 8px;font-size:12px;line-height:16px}.provider-buttons .button:last-child,.row-actions .action-wide{grid-column:auto}.record-cell{text-align:center}.row-actions .button.success:hover{color:#fff;background:#55d696;border-color:#55d696}.mini-table{min-width:0}
@media(pointer:coarse){.provider-buttons .button,.row-actions .button,.record-cell .button{min-height:36px}}
.stat-line,.edit-link{white-space:nowrap}.stat-label,.edit-link{flex-shrink:0}
