@charset "UTF-8";
.topbar #monitor-toggle.stop{background:#fff1f1;color:#b83242;border-color:#edc7cc;box-shadow:none}
.topbar #monitor-toggle.stop:hover:not(:disabled){background:#ffe5e8;border-color:#e4b4bc}
:root{color-scheme:light;--page:#f5f7fa;--card:#fff;--ink:#1a2738;--muted:#7a8697;--line:#e8edf3;--teal:#0c9c8c;--teal-dark:#087a6e;--teal-soft:#e9f7f4;--red:#d54554;--red-soft:#fff0f1;--amber:#af791b;--blue:#4880d8;--radius:13px;--shadow:0 3px 13px #172c4804;font-family:Inter,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;font-size:13px;line-height:1.6;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--page);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:inherit;text-decoration:none}button,a,input,select,textarea,summary{outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #0c9c8c45;outline-offset:3px}button{border:0}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}svg use{pointer-events:none}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}h1,h2,h3,h4,p{margin:0}h2{font-size:15px;font-weight:650;line-height:1.5}h3{font-size:15px;font-weight:650}small{font-size:12px}strong{font-weight:600}[hidden]{display:none!important}.muted{color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.full-width{width:100%}.optional{font-size:12px;font-weight:400;color:#96a0af}.heading-kicker,.eyebrow{font-size:12px;font-weight:600;letter-spacing:1.8px;color:var(--teal)}
.button{min-height:38px;padding:8px 15px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:550;white-space:nowrap;transition:background .16s,border-color .16s,box-shadow .16s;position:relative}.button svg{width:16px;height:16px}.button.primary{color:#fff;background:var(--teal);box-shadow:0 2px 3px #087a6e15}.button.primary:hover:not(:disabled){background:var(--teal-dark)}.button.secondary{color:#47566b;background:#fff;border-color:#dde4ec}.button.secondary:hover:not(:disabled){background:#f8fafc;border-color:#b6c6d7}.button.ghost{background:transparent;color:#7b8797}.button.ghost:hover:not(:disabled){color:var(--ink);background:#edf1f6}.button.danger{background:var(--red);color:#fff}.button.danger:hover:not(:disabled){background:#b83242}.button.stop{background:#fff1f1;color:#cd4652;border-color:#f4d3d7}.button.stop:hover:not(:disabled){background:#ffe5e8}.button.small{min-height:32px;padding:5px 11px;font-size:12px}.icon-button{width:32px;height:32px;border-radius:7px;background:transparent;color:#7c899a;display:inline-flex;align-items:center;justify-content:center;padding:6px;flex-shrink:0}.icon-button:hover:not(:disabled){background:#edf1f6;color:#32485f}.icon-button svg{width:18px;height:18px}.icon-button.danger:hover{background:var(--red-soft);color:var(--red)}.text-button{background:transparent;padding:3px 0;color:var(--teal);display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;white-space:nowrap}.text-button svg{width:14px;height:14px}.text-button:hover{color:var(--teal-dark)}.button.is-loading{pointer-events:none}.button.is-loading:before{content:"";width:13px;height:13px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.button.is-loading>svg{display:none}@keyframes spin{to{transform:rotate(360deg)}}
.brand{display:flex;align-items:center;gap:11px;color:#f4f7fb;font-size:17px;font-weight:650;line-height:1.35;letter-spacing:.5px}.brand-icon{width:35px;height:35px;background:var(--teal);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 3px 12px #0c9c8c20}.brand-icon svg{width:22px;height:22px}.brand small{display:block;font-size:12px;letter-spacing:2px;font-weight:500;color:#8b9aad;margin-top:5px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#12a48e;box-shadow:0 0 0 4px #12a48e13;flex-shrink:0}.status-dot.offline{background:#adb7c3;box-shadow:0 0 0 4px #adb7c317}.status-dot.warning{background:#cf9b35;box-shadow:0 0 0 4px #cf9b3515}.status-dot.error{background:var(--red);box-shadow:0 0 0 4px #d5455412}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;z-index:20;inset:0 auto 0 0;width:222px;display:flex;flex-direction:column;padding:31px 18px 0;background:#172334;color:#91a0b2}.sidebar .brand{margin:0 9px 48px}.nav-label{padding:0 14px;font-size:12px;letter-spacing:1.5px;color:#61748b;margin-bottom:13px}.main-nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;gap:12px;align-items:center;width:100%;padding:12px 14px;border-radius:8px;color:#94a4b7;background:transparent;text-align:left;font-size:12px;position:relative;transition:background .15s,color .15s}.nav-item svg{width:18px;height:18px;stroke-width:1.6}.nav-item:hover{color:#e4edf5;background:#ffffff05}.nav-item.active{background:#0c9c8c18;color:#58d1bc}.nav-item.active:before{content:"";position:absolute;left:-18px;top:14px;bottom:14px;width:3px;background:#25b7a1;border-radius:0 2px 2px 0}.nav-count{margin-left:auto;font-size:12px;background:#ffffff09;color:#8799b0;min-width:20px;height:19px;text-align:center;border-radius:4px}.nav-item.active .nav-count{background:#0c9c8c22;color:#58d1bc}.sidebar-note{display:flex;align-items:flex-start;gap:10px;margin:auto 8px 23px;padding:15px 11px;background:#ffffff03;border:1px solid #ffffff06;border-radius:8px;font-size:12px;color:#a0b0c3}.sidebar-note svg{width:16px;height:16px;color:#48b4a3;margin-top:2px}.sidebar-note span{display:block;font-size:12px;color:#62768e;margin-top:3px}.sidebar-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff08;padding:20px 4px}.admin-avatar{width:32px;height:32px;background:#2c3d52;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:12px;color:#d9e4f0}.admin-info{min-width:0;flex:1}.admin-info strong{font-size:12px;color:#cfdae8;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-info span{font-size:12px;color:#677d94;display:block}.sidebar-bottom .icon-button{color:#798da5}.sidebar-bottom .icon-button:hover{background:#ffffff09;color:white}.workspace{margin-left:222px;width:calc(100% - 222px);min-width:0}.topbar{height:66px;background:#ffffffdb;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:20px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:20px}.breadcrumb{font-size:12px;color:#929caa}.breadcrumb span{margin:0 12px;color:#c7ced8}.breadcrumb strong{font-weight:500;color:#566477}.server-clock{font-size:12px;font-variant-numeric:tabular-nums;color:#929eaf}.sync-badge{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7d8d;white-space:nowrap}.sync-badge i{width:5px;height:5px;border-radius:50%;background:#b9c4d0}.sync-badge.online i{background:#18a58d}.sync-badge.offline{color:var(--amber)}.sync-badge.offline i{background:#d19b30}.page-content{padding:28px 35px 20px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.page-heading h1{font-size:25px;line-height:1.7;font-weight:650;letter-spacing:.2px}.page-heading p{color:var(--muted);font-size:12px;margin-top:2px}.page-heading .heading-kicker{font-size:12px;letter-spacing:1.5px;color:#9aa6b6;margin-bottom:3px}.heading-actions{display:flex;gap:9px;align-items:center}.view-panel{animation:fadein .2s ease}@keyframes fadein{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:none}}.workspace-footer{display:flex;align-items:center;justify-content:space-between;margin-top:30px;font-size:12px;color:#a2adbb}.workspace-footer span:first-child{font-size:12px;letter-spacing:1.4px}.mobile-menu{display:none}
.service-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 21px;margin-bottom:19px;background:linear-gradient(90deg,#edf9f5,#f7fbfa);border:1px solid #dcefe7;border-radius:10px}.banner-status{display:flex;align-items:center;gap:14px}.banner-status strong{display:block;font-size:12px;color:#267664}.banner-status p{font-size:12px;color:#7b9c91;margin-top:2px}.service-banner.stopped{background:#f0f3f7;border-color:#e1e7ed}.service-banner.stopped strong{color:#5b6a7b}.service-banner.stopped p{color:#8a97a6}.service-banner.waiting{background:#fffbf0;border-color:#f2e9cf}.service-banner.waiting strong{color:#917222}.service-banner.waiting p{color:#a39470}.service-banner.error{background:#fff2f3;border-color:#f2dce0}.service-banner.error strong{color:#b64858}.service-banner.error p{color:#aa7e88}.badge{display:inline-flex;align-items:center;gap:5px;border:1px solid transparent;white-space:nowrap;border-radius:5px;padding:2px 7px;font-size:12px;line-height:1.7;font-weight:500}.badge:empty{display:none}.badge.success{background:#e5f6ef;color:#23856b;border-color:#d4eee3}.badge.neutral{background:#f2f4f7;color:#8190a2;border-color:#e9edf2}.badge.warning{background:#fff7df;color:#ac842c;border-color:#f2e7c1}.badge.error{background:#fff0f1;color:#c85665;border-color:#f3dce0}.badge.blue{background:#edf4ff;color:#5782ba;border-color:#dfebfb}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.metric-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px 21px;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#7a8799;font-size:12px;margin-bottom:12px}.metric-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px}.metric-icon svg{width:16px;height:16px}.teal{color:#129f8f;background:#ecf8f5}.blue{color:#4f87e1;background:#edf4ff}.purple{color:#8870d7;background:#f4f0fd}.amber{color:#d5a243;background:#fff8eb}.metric-card>strong{font-size:28px;font-weight:650;letter-spacing:-.8px;line-height:1.25;font-variant-numeric:tabular-nums}.metric-card p{font-size:12px;color:#a1abb8;margin-top:9px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 23px;border-bottom:1px solid #f0f3f6}.card-heading h2{font-size:14px}.card-heading p{font-size:12px;color:#98a2b1;margin-top:4px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:21px;margin-bottom:22px}.connection-list{padding:1px 23px}.connection-row{padding:19px 0;border-bottom:1px solid #eef2f6;display:flex;align-items:center;gap:13px}.connection-row:last-child{border-bottom:0}.account-avatar{height:35px;width:35px;flex-shrink:0;background:#eef5f8;border:1px solid #e7eef3;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#7e9bb1;font-size:13px;font-weight:600}.account-avatar.teal-avatar{background:#edf8f4;color:#2c9f82;border-color:#e4f1ec}.connection-details{flex:1;min-width:0}.connection-details strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-details small{display:block;color:#9aa7b7;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:3px}.connection-metric{display:flex;align-items:center;gap:15px;font-size:12px;color:#9da8b7}.connection-metric strong{color:#75859a;font-weight:500}.connection-state{display:flex;align-items:center;gap:7px;color:#549780;font-size:12px;white-space:nowrap;min-width:63px;justify-content:flex-end}.connection-state.offline{color:#99a5b4}.connection-state.warning{color:#aa8c4d}.connection-state.error{color:var(--red)}.connection-state .status-dot{width:5px;height:5px;box-shadow:none}.service-info-card .card-heading{border-bottom:0;padding-bottom:13px}.info-list{margin:0;padding:0 23px 8px;display:flex;flex-direction:column;gap:13px}.info-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;font-size:12px}.info-list dt{color:#9aa5b4}.info-list dd{margin:0;color:#5f6f82;text-align:right;max-width:64%}.service-info-card>.button{margin:12px 23px 20px;width:calc(100% - 46px);font-size:12px;min-height:34px;border-color:#e8edf2;color:#79899a}.empty-inline{text-align:center;padding:36px 15px;color:#9da8b7;font-size:12px}.empty-inline svg{display:block;margin:0 auto 11px;width:28px;height:28px;stroke:#c9d3dd}
.stats-card,.recent-card{margin-bottom:22px}.stats-heading{gap:20px;flex-wrap:wrap}.stats-controls{display:flex;align-items:center;gap:10px}.stats-controls select{width:155px;height:31px;min-height:31px;font-size:12px;padding:4px 25px 4px 10px}.segmented{display:flex;align-items:center;gap:3px;background:#f2f5f8;padding:3px;border-radius:6px;flex-shrink:0}.segmented button{color:#8d9aa9;background:transparent;border-radius:4px;font-size:12px;min-height:25px;padding:4px 12px;transition:background .15s,color .15s}.segmented button:hover{color:#4c6f82}.segmented button.selected{background:white;color:#249c89;box-shadow:0 1px 4px #22354a0b}.stats-summary{display:grid;grid-template-columns:repeat(4,1fr);padding:19px 23px 20px;border-bottom:1px solid #f0f3f6}.stats-summary>div{font-size:12px;color:#8e9cae;border-right:1px solid var(--line);padding-left:25px;position:relative}.stats-summary>div:first-child{padding-left:0}.stats-summary>div:last-child{border:0}.stats-summary strong{display:block;font-size:21px;font-weight:600;color:#334255;line-height:1.2;margin:9px 0 0 10px;font-variant-numeric:tabular-nums}.stats-summary>div:last-child strong{margin-left:0}.category-dot{width:5px;height:5px;border-radius:50%;display:inline-block;margin-right:5px;vertical-align:2px}.chat-dot{background:#57b19d}.bet-dot{background:#7d9fe0}.plan-dot{background:#b095dc}.table-scroll{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}.data-table thead{background:#fbfcfd}.data-table th{font-size:12px;font-weight:500;color:#8b99aa;padding:11px 23px;border-bottom:1px solid #eef2f7}.data-table td{padding:14px 23px;border-bottom:1px solid #f0f3f6;color:#64758a}.data-table tr:last-child td{border-bottom:0}.ranking-table th,.ranking-table td{text-align:right}.ranking-table th:first-child,.ranking-table td:first-child,.ranking-table th:nth-child(2),.ranking-table td:nth-child(2){text-align:left}.ranking-table .rank-column{width:77px}.ranking-table td:first-child span{display:flex;align-items:center;justify-content:center;width:21px;height:21px;background:#f4f6f9;border-radius:5px;font-size:12px;color:#9ca8b9}.ranking-table td:first-child .rank-first{background:#fff5db;color:#bb9534}.ranking-table td:first-child .rank-second{background:#edf2f8;color:#8195ac}.ranking-table td:first-child .rank-third{background:#f9efe8;color:#b18c6c}.ranking-table td:nth-child(2){color:#57687a;max-width:320px;overflow:hidden;text-overflow:ellipsis}.ranking-table td:last-child{color:#3b5168;font-weight:600}.ranking-table td{font-size:12px;padding-top:12px;padding-bottom:12px}.data-table .table-empty{text-align:center!important;height:112px;font-size:12px;color:#a2adba}.recent-logs{padding:6px 23px}.recent-entry{display:flex;align-items:flex-start;gap:15px;padding:12px 0;border-bottom:1px solid #f0f3f6;font-size:12px}.recent-entry:last-child{border:0}.recent-entry time{color:#a4afbd;font-variant-numeric:tabular-nums;white-space:nowrap;flex-shrink:0}.recent-entry .log-level{margin-top:0;min-width:39px}.recent-message{color:#7c8b9e;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0;line-height:18px}.recent-entry .event-dot{width:5px;height:5px;margin-top:7px;background:#35b098;border-radius:50%;flex-shrink:0}.inline-error{font-size:12px;color:#b96836;background:#fff9ee;padding:12px 23px}.count-pill{font-size:12px;margin-left:4px;display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:20px;background:#edf3f6;border-radius:5px;color:#8494a8;font-weight:500}.accounts-heading{padding-bottom:20px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 23px;border-bottom:1px solid #edf2f6;gap:12px}.search-field{position:relative;display:flex;align-items:center;width:280px;max-width:100%}.search-field svg{position:absolute;left:11px;width:14px;height:14px;color:#a7b2c0;pointer-events:none}.search-field input{padding-left:33px!important;min-height:33px!important;font-size:12px!important;background:#fcfdfe}.toolbar-hint{font-size:12px;color:#a6b0bd}.account-table td{height:83px;font-size:12px}.account-table th,.account-table td{padding-left:20px;padding-right:20px}.account-cell{display:flex;align-items:center;gap:11px}.account-cell strong{font-size:12px;display:block;color:#43566b}.account-cell small{font-size:12px;color:#a2adbb;display:block;margin-top:3px}.cell-subline{font-size:12px;display:block;color:#a1acbb;margin-top:5px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.cell-title{display:block;font-size:12px;color:#66788c;max-width:160px;overflow:hidden;text-overflow:ellipsis}.feature-tags{display:flex;gap:3px}.feature-tag{font-size:12px;color:#869aae;background:#f2f6fa;border-radius:3px;padding:1px 5px}.account-row{transition:background .15s}.account-row:hover{background:#fcfefe}.row-actions{display:flex;gap:2px;align-items:center}.row-actions .icon-button{width:27px;height:29px}.row-actions .icon-button svg{width:14px;height:14px}.actions-column{width:135px}.tg-configured{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#489a84}.tg-configured svg{width:12px;height:12px}.muted-cell{color:#aab4c0;font-size:12px}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:54px 20px 57px}.empty-icon{background:#f0f7f6;width:53px;height:53px;border-radius:15px;display:flex;align-items:center;justify-content:center;color:#87b7aa;margin-bottom:18px}.empty-icon svg{width:24px;height:24px}.empty-state h3{font-size:14px;color:#657a8d}.empty-state p{font-size:12px;color:#a3adbb;margin:7px 0 19px}.callout,.small-callout{display:flex;gap:9px;align-items:flex-start;color:#8b9bab;font-size:12px;line-height:1.8}.callout{padding:17px 2px}.callout svg{width:15px;height:15px;color:#9eb1bf;margin-top:2px}.small-callout{padding:10px 12px;border-radius:6px;background:#f4f8fb;font-size:12px;color:#7e94a8}.small-callout svg{width:14px;height:14px;margin-top:2px}
input:not([type=checkbox]),select,textarea{display:block;width:100%;min-height:37px;border:1px solid #e0e6ee;border-radius:6px;background:#fff;padding:8px 11px;color:#53677c;font-size:12px;transition:border-color .15s,box-shadow .15s}input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:#59b8a9;box-shadow:0 0 0 3px #0c9c8c08}input::placeholder,textarea::placeholder{color:#abb4c0;font-size:12px}textarea{resize:vertical;min-height:65px;line-height:1.8}input[type=checkbox]{accent-color:var(--teal);height:13px;width:13px;margin:0;flex-shrink:0;cursor:pointer}input[type=time]{font-variant-numeric:tabular-nums}input[type=number]{font-variant-numeric:tabular-nums}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:19px;min-width:0}.field>span:first-child{font-size:12px;color:#687b8f;font-weight:500}.field>span b{font-weight:400;color:#d58287;font-size:12px;margin-left:2px}.field small{font-size:12px;line-height:1.7;color:#a3aebc;margin-top:0}.field>small{margin-top:-1px}.field .optional{margin-left:4px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.form-grid.three-columns{grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.checkbox-row{display:flex;align-items:center;gap:8px;font-size:12px;color:#75879a;cursor:pointer}.checkbox-stack{display:flex;flex-direction:column;gap:13px}.checkbox-row.compact{font-size:12px;white-space:nowrap}.password-field{position:relative}.password-field input{padding-right:40px}.password-field .icon-button{position:absolute;right:3px;top:3px;height:30px;width:30px;color:#a0adbc}.password-field .icon-button svg{width:16px;height:16px}.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:22px}.settings-main{min-width:0}.settings-card{margin-bottom:20px}.settings-card .card-heading{padding:19px 23px}.section-title{display:flex;align-items:center;gap:12px}.section-icon{height:31px;width:31px;background:#f0f7f6;color:#5baf9e;display:flex;align-items:center;justify-content:center;border-radius:8px}.section-icon svg{width:16px;height:16px}.section-title h2{font-size:13px}.section-title p{font-size:12px;margin-top:3px}.card-body{padding:21px 23px}.card-body .field:last-child{margin-bottom:0}.feature-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.feature-options>label{border:1px solid #e6edf1;border-radius:7px;display:flex;gap:8px;padding:11px 9px;cursor:pointer;align-items:flex-start}.feature-options input{margin-top:3px}.feature-options strong{font-size:12px;font-weight:500;color:#6a8090;display:block}.feature-options small{font-size:12px;color:#a4b0bc;display:block;margin-top:2px;line-height:1.6}.card-footnote{font-size:12px;color:#9da9b8;border-top:1px solid #f0f3f7;padding:11px 23px;background:#fcfdfe}.switch{display:inline-flex;align-items:center;cursor:pointer;position:relative}.switch input{position:absolute;opacity:0;height:0;width:0}.switch>span{height:19px;width:34px;border-radius:20px;background:#d4dde6;display:block;transition:background .18s;position:relative}.switch>span:after{content:"";position:absolute;width:13px;height:13px;top:3px;left:3px;background:white;border-radius:50%;box-shadow:0 1px 3px #0001;transition:transform .18s}.switch input:checked+span{background:var(--teal)}.switch input:checked+span:after{transform:translateX(15px)}.switch input:focus-visible+span{outline:3px solid #0c9c8c45;outline-offset:3px}#global-rule-fields.inactive{opacity:.58}#global-rule-fields.inactive:focus-within{opacity:1}.schedule-row{display:flex;gap:14px;align-items:center;padding:0 0 19px}.schedule-index{width:29px;height:29px;border-radius:7px;background:#f3f6f9;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:12px;color:#9dadbe;font-variant-numeric:tabular-nums}.schedule-row>div{flex:1;min-width:90px}.schedule-row strong{font-size:12px;color:#6c8094;display:block}.schedule-row>div span{font-size:12px;color:#b0b8c3;display:block;margin-top:2px}.schedule-row input{width:114px;font-size:12px;padding:7px 9px;min-height:34px}.time-separator{font-size:12px;color:#a6b0bd}.card-body>.small-callout{margin:0 0 18px}.settings-aside{display:flex;flex-direction:column;gap:20px}.settings-help{padding:24px 21px;background:#fafdff}.help-icon{height:32px;width:32px;border-radius:9px;background:#e7f4ef;display:flex;align-items:center;justify-content:center;color:#52a68d;margin-bottom:17px}.help-icon svg{width:18px;height:18px}.settings-help h3{font-size:13px;margin-bottom:10px;color:#557385}.settings-help p{font-size:12px;color:#93a4b4;line-height:1.9;margin-bottom:8px}.settings-help p strong{color:#839aaa;font-weight:500}.help-divider{border-top:1px solid #eaf0f4;margin:19px 0}.settings-help h4{font-size:12px;color:#6a8799;font-weight:500;margin-bottom:8px}.password-card{padding:21px}.password-card h3{font-size:12px;color:#6d8194}.password-card>.muted{font-size:12px;margin:4px 0 19px;color:#a4aebb}.password-card .field{margin-bottom:15px}.password-card .field>span:first-child{font-size:12px}.password-card input{font-size:12px;min-height:34px}.password-card .button{font-size:12px;margin-top:3px}.save-bar{border:1px solid #e2e9ee;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:14px 19px;margin-top:2px;gap:15px;box-shadow:0 4px 19px #14273905;position:sticky;bottom:15px;z-index:3}.save-bar>div{display:flex;align-items:center;gap:9px}.save-bar>div:first-child{gap:7px;flex-wrap:wrap}.save-bar strong{font-size:12px;color:#708397}.save-bar #settings-save-description{font-size:12px;color:#a1adbb;margin-left:7px}.dirty-dot{height:5px;width:5px;background:#d3a34a;border-radius:50%;display:inline-block}.form-error{color:#c85c65;background:#fff2f3;border:1px solid #f4dde0;padding:10px 12px;border-radius:6px;font-size:12px;line-height:1.8;overflow-wrap:anywhere;margin-top:14px}.input-suffix{display:flex;align-items:center}.input-suffix input{border-radius:6px 0 0 6px;width:120px}.input-suffix>span{border:1px solid #e0e6ee;border-left:0;min-height:37px;border-radius:0 6px 6px 0;font-size:12px;color:#9cabbc;display:flex;align-items:center;padding:0 12px;background:#fafcfd}
.logs-card .card-heading{padding-bottom:20px}.live-label{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;letter-spacing:1px;background:#edf8f4;color:#4ca28a;border-radius:4px;padding:2px 5px;margin-left:5px;vertical-align:2px}.live-label i{width:4px;height:4px;background:#40ae92;border-radius:50%}.log-actions{display:flex;gap:7px}.log-toolbar{display:flex;align-items:center;gap:15px;padding:15px 23px;border-bottom:1px solid #eef2f6}.log-toolbar .search-field{margin-left:auto;width:240px}.log-toolbar .segmented button{padding-left:13px;padding-right:13px}.log-list{background:#fcfdfe;min-height:420px;max-height:calc(100vh - 370px);overflow-y:auto;padding:12px 22px 18px;font-family:Consolas,"SFMono-Regular","Microsoft YaHei",monospace;font-size:12px;line-height:1.85;scrollbar-width:thin;scrollbar-color:#d6e0e9 transparent}.log-entry{display:grid;grid-template-columns:145px 48px minmax(0,1fr);align-items:start;gap:10px;padding:5px 0;border-bottom:1px solid #edf2f680}.log-entry:last-child{border-bottom:0}.log-entry time{color:#a2afbe;font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.log-entry .log-message{color:#7e8fa4;overflow-wrap:anywhere;white-space:pre-wrap}.log-entry.is-error .log-message{color:#c46f7a}.log-entry.is-warning .log-message{color:#b59967}.log-level{font-size:12px;letter-spacing:.2px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;height:17px;border-radius:3px;padding:0 5px;color:#61a68d;background:#edf7f3;width:39px;line-height:17px;margin-top:1px}.log-level.warning{background:#fff6df;color:#bca15d}.log-level.error{background:#fff0f2;color:#c57a87}.log-level.debug{background:#f0f3f7;color:#96a5b8}.log-footer{display:flex;align-items:center;justify-content:space-between;padding:11px 23px;border-top:1px solid #edf2f6;font-size:12px;color:#9aabbd}
.drawer-backdrop,.nav-backdrop{position:fixed;inset:0;background:#14243660;z-index:40;backdrop-filter:blur(2px)}.account-drawer{position:fixed;inset:0 0 0 auto;background:#fff;width:560px;max-width:100%;z-index:45;box-shadow:-12px 0 50px #1624351a;display:flex;flex-direction:column;animation:drawer-in .2s ease}@keyframes drawer-in{from{transform:translateX(30px);opacity:.6}to{transform:none;opacity:1}}.drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 28px;border-bottom:1px solid var(--line);flex-shrink:0}.drawer-heading .heading-kicker{font-size:12px;letter-spacing:1.6px;color:#a3afbd}.drawer-heading h2{font-size:20px;margin-top:4px}.account-drawer form{display:flex;flex-direction:column;min-height:0;flex:1}.drawer-body{padding:24px 28px;overflow-y:auto;flex:1;scrollbar-width:thin}.drawer-section-label{font-size:12px;color:#91a2b3;letter-spacing:1px;border-top:1px solid var(--line);padding:21px 0 17px;margin-top:22px}.drawer-section-label:first-child{border-top:0;padding-top:0;margin-top:0}.drawer-body .field>span:first-child{font-size:12px}.drawer-body .field{margin-bottom:18px}.drawer-body .section-help{font-size:12px;color:#9ba9b9;margin-top:-8px;margin-bottom:18px;line-height:1.8}.drawer-body .form-grid{gap:17px}.drawer-body .enabled-account{margin:4px 0 2px}.drawer-body .form-grid .field{margin-bottom:18px}.period-options{display:flex;gap:9px;margin-bottom:19px}.period-options label{cursor:pointer;position:relative;flex:1}.period-options input{position:absolute;opacity:0;width:0;height:0}.period-options span{display:flex;align-items:center;justify-content:center;border:1px solid #e2e9ef;border-radius:6px;min-height:34px;color:#98a7b7;font-size:12px;background:#fcfdff}.period-options input:checked+span{color:#2d9f89;background:#edf9f5;border-color:#a8dcd0}.period-options input:focus-visible+span{outline:3px solid #0c9c8c45;outline-offset:2px}.interval-field{max-width:245px}.advanced-details{border:1px solid #e4ebf0;border-radius:8px;margin-top:24px;overflow:hidden}.advanced-details summary{font-size:12px;cursor:pointer;list-style:none;padding:13px 15px;color:#849aac;background:#fafcfe}.advanced-details summary:before{content:"+";margin-right:8px;color:#9fb3c2}.advanced-details[open] summary:before{content:"−"}.details-body{padding:19px 17px}.details-body>.small-callout{margin:0 0 18px}.details-body .checkbox-stack{margin-bottom:21px}.details-body .field:last-of-type{margin-bottom:17px}.drawer-footer{border-top:1px solid var(--line);padding:17px 28px;display:flex;gap:10px;justify-content:flex-end;background:#fff;flex-shrink:0}.drawer-footer .button{min-width:88px}.confirm-dialog{border:0;border-radius:14px;box-shadow:0 15px 100px #11273b30;padding:29px;width:400px;max-width:calc(100% - 32px);color:var(--ink)}.confirm-dialog::backdrop{background:#14243668;backdrop-filter:blur(2px)}.confirm-icon{background:#fff4e7;color:#c39a57;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border-radius:11px;margin-bottom:17px}.confirm-icon svg{width:20px;height:20px}.confirm-dialog h2{font-size:17px}.confirm-dialog p{margin-top:9px;font-size:12px;color:#8d9bad;line-height:1.9;overflow-wrap:anywhere}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:25px}.dialog-actions .button{min-width:74px}.toast-region{position:fixed;right:28px;top:24px;z-index:100;display:flex;flex-direction:column;gap:10px;max-width:min(430px,calc(100vw - 30px));pointer-events:none}.toast{display:flex;align-items:flex-start;gap:10px;padding:14px 17px;background:#fff;border:1px solid #dfebe5;border-radius:9px;box-shadow:0 7px 35px #172a3e16;color:#617b70;font-size:12px;animation:fadein .2s ease;line-height:1.8;pointer-events:auto}.toast svg{width:16px;height:16px;color:#38a286;margin-top:2px}.toast.error{border-color:#f0dce0;color:#b96b78}.toast.error svg{color:#d07785}.toast .toast-text{overflow-wrap:anywhere}
.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1.06fr;background:#fff}.login-brand{padding:45px 55px;background:#182738;color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-brand:after{content:"";position:absolute;right:-180px;bottom:-240px;width:600px;height:600px;border-radius:50%;border:1px solid #54b5aa13;box-shadow:0 0 0 60px #54b5aa03,0 0 0 120px #54b5aa03;pointer-events:none}.brand-large{font-size:20px}.brand-large .brand-icon{width:42px;height:42px;border-radius:12px}.brand-large .brand-icon svg{width:25px;height:25px}.brand-large small{font-size:12px}.login-intro{margin:auto 0 37px;padding-top:80px}.login-intro .eyebrow{font-size:12px;color:#58b6a4;letter-spacing:2.2px}.login-intro h1{font-size:32px;line-height:1.6;font-weight:550;letter-spacing:.5px;margin-top:18px;color:#eaf1f5}.login-intro p{font-size:12px;color:#8da2b7;line-height:2.1;margin-top:19px}.login-flow{display:flex;align-items:center;gap:14px;margin-bottom:auto;padding-bottom:80px}.login-flow>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#90b2bd;white-space:nowrap}.login-flow svg{width:14px;height:14px;color:#4cae9f}.login-flow i{width:25px;border-top:1px dashed #476273}.login-brand-bottom{display:flex;align-items:center;gap:8px;font-size:12px;color:#5f8294;margin-top:20px;letter-spacing:1px}.login-brand-bottom .status-dot{width:4px;height:4px;box-shadow:none;background:#52b1a1}.login-main{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;padding:45px}.login-card{width:320px;max-width:100%}.login-lock{width:44px;height:44px;border-radius:12px;background:#edf8f4;color:#4aa58e;display:flex;align-items:center;justify-content:center;margin-bottom:24px}.login-lock svg{width:23px;height:23px}.login-card h2{font-size:24px;font-weight:600;letter-spacing:.5px}.login-card>.muted{font-size:12px;margin:8px 0 30px;color:#a3adba}.login-card .field{margin-bottom:20px}.login-card input{min-height:42px}.login-card .password-field .icon-button{top:6px}.login-submit{width:100%;margin-top:6px;min-height:43px;justify-content:space-between;padding:10px 17px;font-size:12px}.login-submit.is-loading{justify-content:center}.login-footnote{display:flex;align-items:center;gap:6px;color:#adb6c2;font-size:12px;margin-top:23px}.login-footnote svg{width:12px;height:12px;color:#a0bcb3}.login-version{font-size:12px;letter-spacing:1.3px;color:#b5bec9;position:absolute;bottom:30px}.login-card .form-error{margin-top:-2px;margin-bottom:15px}
@media(min-width:1450px){.page-content{padding-top:34px}.page-heading{margin-bottom:28px}.metric-card{padding:20px 23px}.metric-card>strong{font-size:32px}.metric-grid{margin-bottom:25px}.connection-row{padding:23px 0}.overview-grid{grid-template-columns:minmax(0,1.85fr) minmax(300px,1fr)}.info-list{gap:17px}.card-heading{padding-top:23px;padding-bottom:23px}.settings-layout{grid-template-columns:minmax(0,1fr) 275px}}
@media(max-width:1220px){.sidebar{width:202px;padding-left:15px;padding-right:15px}.sidebar .brand{font-size:15px;margin-left:7px;gap:9px}.sidebar .brand-icon{width:32px;height:32px}.brand small{font-size:12px}.workspace{margin-left:202px;width:calc(100% - 202px)}.page-content{padding:25px 25px 18px}.topbar{padding:0 25px}.metric-grid{gap:13px}.metric-card{padding:16px}.metric-card p{font-size:12px}.metric-card>strong{font-size:26px}.overview-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:17px}.connection-metric{display:none}.settings-layout{grid-template-columns:minmax(0,1fr) 220px;gap:17px}.card-heading,.card-body{padding-left:19px;padding-right:19px}.settings-card .card-heading{padding-left:19px;padding-right:19px}.settings-card .form-grid{gap:15px}.section-title{gap:9px}.section-title h2{font-size:12px}.feature-options{gap:6px}.feature-options>label{padding:10px 6px;gap:5px}.feature-options small{display:none}.schedule-row{gap:10px}.schedule-row input{width:100px;padding-left:6px;padding-right:6px}.schedule-row>div span{font-size:12px}.log-toolbar{gap:10px;padding-left:19px;padding-right:19px}.log-toolbar .search-field{width:180px}.log-toolbar .segmented button{padding-left:10px;padding-right:10px}.log-entry{grid-template-columns:137px 42px minmax(0,1fr);gap:7px}.save-bar #settings-save-description{display:none}.settings-help{padding:21px 18px}}
@media(max-width:1024px){.sidebar{width:185px}.sidebar .brand{font-size:14px;margin-left:4px}.sidebar .brand-icon{width:29px;height:29px;border-radius:8px}.brand small{letter-spacing:1.4px}.workspace{margin-left:185px;width:calc(100% - 185px)}.nav-item{padding-left:11px;gap:10px;font-size:12px}.sidebar-note{margin-left:0;margin-right:0;padding:12px 8px;gap:7px}.sidebar-note span{font-size:12px}.page-content{padding:23px 21px 18px}.topbar{padding:0 21px;height:60px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.heading-actions .button{font-size:12px;padding:8px 11px;min-height:35px}.metric-card{padding:15px 13px}.metric-top{font-size:12px}.metric-card p{font-size:12px}.metric-icon{height:26px;width:26px}.metric-card>strong{font-size:25px}.metric-grid{gap:10px}.overview-grid{grid-template-columns:1fr 245px;gap:15px}.connection-list{padding:0 17px}.connection-row{gap:9px}.account-avatar{height:30px;width:30px;border-radius:8px}.connection-state{font-size:12px;gap:5px;min-width:55px}.info-list{padding-left:19px;padding-right:19px;gap:15px}.card-heading h2{font-size:13px}.stats-controls{gap:7px}.stats-controls select{width:125px}.segmented button{padding-left:10px;padding-right:10px}.stats-heading{gap:15px}.stats-summary{padding-left:19px;padding-right:19px}.data-table th,.data-table td{padding-left:18px;padding-right:18px}.settings-layout{display:block}.settings-aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}.settings-help{height:100%}.password-card{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.password-card h3,.password-card>.muted,.password-card .field:first-of-type,.password-card>.button{grid-column:span 2}.password-card .field{margin-bottom:12px}.password-card .field>span:first-child{font-size:12px}.settings-main .form-grid{gap:20px}.feature-options>label{padding:12px;gap:9px}.feature-options small{display:block}.schedule-row input{width:120px}.schedule-row>div span{font-size:12px}.settings-card{margin-bottom:18px}.settings-card .card-heading{padding-top:18px;padding-bottom:18px}.log-toolbar{flex-wrap:wrap}.log-toolbar .search-field{width:180px;flex:1}.log-toolbar .checkbox-row{margin-left:auto}.log-entry{grid-template-columns:130px 40px minmax(0,1fr)}.log-entry time{font-size:12px}.log-list{padding-left:16px;padding-right:16px}.server-clock{font-size:12px}.topbar-right{gap:13px}.toolbar-hint{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:222px;z-index:42;padding-left:18px;padding-right:18px}.sidebar.open{transform:none}.sidebar .brand{font-size:17px;margin-left:9px}.sidebar .brand-icon{height:35px;width:35px}.sidebar .brand small{font-size:12px;letter-spacing:2px}.nav-item{font-size:12px;gap:12px;padding-left:14px}.sidebar-note{margin-left:8px;margin-right:8px;padding:15px 11px}.sidebar-note span{font-size:12px}.workspace{margin-left:0;width:100%}.mobile-menu{display:flex}.topbar{height:57px;padding:0 19px}.topbar-left{gap:10px}.topbar-right{gap:11px}.breadcrumb{font-size:12px}.breadcrumb>span{margin:0 6px}.server-clock{display:none}.sync-badge{font-size:12px}.page-content{padding:22px 19px 17px}.page-heading{margin-bottom:20px;align-items:flex-start;gap:14px}.page-heading h1{font-size:23px;line-height:1.6}.page-heading p{font-size:12px;max-width:230px}.heading-kicker{font-size:12px!important}.heading-actions{gap:6px;padding-top:13px}.heading-actions .button{font-size:12px;min-height:33px;padding:7px 10px;gap:5px}.heading-actions .button svg{height:13px;width:13px}#restart-all-button{width:33px;padding:7px}#restart-all-button span{display:none}.service-banner{padding:15px 16px;margin-bottom:16px}.banner-status{gap:12px}.banner-status strong{font-size:12px}.banner-status p{font-size:12px;max-width:265px}.badge{font-size:12px;padding:2px 6px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:17px}.metric-card{padding:16px 18px}.metric-top{font-size:12px;margin-bottom:8px}.metric-card>strong{font-size:29px}.metric-card p{font-size:12px;margin-top:8px}.metric-icon{width:29px;height:29px}.overview-grid{grid-template-columns:1fr;gap:17px;margin-bottom:17px}.connection-metric{display:flex;font-size:12px;gap:10px}.connection-state{font-size:12px}.connection-list{padding:0 20px}.connection-row{padding:18px 0;gap:11px}.account-avatar{width:33px;height:33px}.connection-details strong{font-size:12px}.service-info-card .card-heading{padding-bottom:16px}.info-list{gap:12px;display:grid;grid-template-columns:1fr 1fr;padding-bottom:10px;column-gap:28px}.info-list>div{font-size:12px}.info-list>div:last-child{grid-column:span 2}.service-info-card>.button{margin-bottom:19px;margin-top:9px}.stats-card,.recent-card{margin-bottom:17px}.stats-heading{gap:15px}.stats-controls{width:100%;justify-content:space-between}.stats-controls select{width:auto;min-width:140px;flex:1;max-width:45%}.segmented button{min-height:25px;font-size:12px;padding-left:11px;padding-right:11px}.stats-summary{padding:18px 16px}.stats-summary>div{padding-left:16px;font-size:12px}.stats-summary strong{font-size:21px}.data-table th,.data-table td{padding-left:16px;padding-right:16px}.ranking-table th,.ranking-table td{font-size:12px}.ranking-table .rank-column{width:55px}.ranking-table td:nth-child(2){max-width:160px}.recent-logs{padding-left:19px;padding-right:19px}.recent-entry{gap:10px;font-size:12px}.recent-entry .log-level{display:none}.card-heading{padding:19px 20px}.card-heading h2{font-size:13px}.card-heading p{font-size:12px}.card-heading .text-button{font-size:12px}.accounts-heading{align-items:flex-start}.accounts-heading .button{font-size:12px;padding:7px 10px;min-height:32px;margin-top:2px}.table-toolbar{padding:13px 20px}.search-field{width:100%}.account-table th,.account-table td{padding-left:18px;padding-right:18px}.account-table{min-width:800px}.account-cell strong{font-size:12px}.account-table td{height:79px}.callout{font-size:12px}.settings-main .form-grid{gap:15px}.section-title{gap:9px}.section-title h2{font-size:12px}.settings-card .card-heading{padding:17px 19px}.section-title p{font-size:12px}.section-icon{width:29px;height:29px}.card-body{padding:20px}.feature-options{gap:8px}.feature-options>label{padding:10px 8px;gap:7px}.feature-options strong{font-size:12px}.feature-options small{display:none}.settings-aside{grid-template-columns:1fr;gap:17px;margin-bottom:17px}.settings-help{display:none}.password-card{padding:20px;gap:0 15px}.password-card .field>span:first-child{font-size:12px}.password-card h3{font-size:12px}.password-card input{min-height:36px}.password-card .button{width:auto;justify-self:start;padding:7px 13px}.settings-main .three-columns{gap:12px}.settings-main .three-columns .field>span:first-child{font-size:12px}.settings-main .three-columns small{font-size:12px}.schedule-row{gap:9px}.schedule-row>div{min-width:80px}.schedule-row input{width:106px;padding-left:7px;padding-right:7px}.schedule-index{height:25px;width:25px;font-size:12px}.schedule-row>div span{font-size:12px}.save-bar{padding:12px 13px;bottom:9px}.save-bar>div{gap:5px}.save-bar strong{font-size:12px}.save-bar .button{font-size:12px;min-height:33px;padding:7px 11px}.save-bar .button svg{height:13px;width:13px}.settings-card{margin-bottom:17px}.logs-card .card-heading{align-items:flex-start;gap:10px;padding-bottom:17px}.log-actions{gap:2px}.log-actions .button{font-size:12px;min-height:28px;padding:4px 6px}.log-actions .button svg{width:12px;height:12px}.log-actions .button.ghost{display:none}.log-toolbar{padding:13px 16px;gap:10px}.log-toolbar .segmented button{font-size:12px;padding-left:11px;padding-right:11px}.log-toolbar .search-field{flex-basis:100%;order:3;width:100%}.log-toolbar .checkbox-row{font-size:12px}.log-toolbar input[type=checkbox]{width:11px;height:11px}.log-list{min-height:420px;max-height:calc(100dvh - 360px);font-size:12px;padding:12px 15px}.log-entry{grid-template-columns:49px 36px minmax(0,1fr);gap:7px;padding:6px 0}.log-entry time{font-size:12px;overflow:hidden}.log-level{font-size:12px;width:34px;height:15px;margin-top:2px}.log-footer{font-size:12px;padding:10px 16px}.workspace-footer{font-size:12px;margin-top:24px}.workspace-footer span:first-child{font-size:12px}.account-drawer{width:520px}.drawer-heading{padding:20px 23px}.drawer-body{padding:22px 23px}.drawer-footer{padding:15px 23px}.toast-region{right:15px;top:15px}.login-screen{grid-template-columns:1fr}.login-brand{display:none}.login-main{min-height:100dvh;padding:45px 28px}.login-card{width:340px}.login-card h2{font-size:25px}.login-version{bottom:25px}}
@media(max-width:400px){.page-content{padding-left:14px;padding-right:14px}.topbar{padding-left:12px;padding-right:14px}.page-heading p{max-width:188px;font-size:12px}.page-heading h1{font-size:22px}.heading-actions{gap:5px}.heading-actions .button{padding-left:8px;padding-right:8px;font-size:12px}.service-banner{padding:14px}.banner-status p{font-size:12px;max-width:220px}.service-banner>.badge{display:none}.metric-card{padding:14px 15px}.metric-card p{font-size:12px}.connection-metric{display:none}.stats-controls select{min-width:113px}.stats-controls .segmented button{padding-left:9px;padding-right:9px;font-size:12px}.stats-summary>div{padding-left:12px;font-size:12px}.stats-summary strong{font-size:20px}.stats-summary>div:first-child strong{margin-left:8px}.data-table th,.data-table td{padding-left:13px;padding-right:13px}.ranking-table td:nth-child(2){max-width:115px}.card-heading{padding-left:17px;padding-right:17px}.section-title p{font-size:12px}.section-title h2{font-size:12px}.section-icon{width:27px;height:27px}.settings-card .card-heading{padding-left:16px;padding-right:16px}.card-body{padding:18px 16px}.form-grid{gap:12px}.feature-options{gap:5px}.feature-options>label{padding:9px 7px;gap:5px}.feature-options input{width:11px;height:11px}.feature-options strong{font-size:12px}.schedule-row{gap:7px}.schedule-row>div{min-width:68px}.schedule-row input{width:89px;padding-left:5px;padding-right:3px;font-size:12px}.schedule-row strong{font-size:12px}.schedule-row>div span{font-size:12px}.schedule-index{display:none}.three-columns{gap:9px!important}.three-columns .field>span:first-child{font-size:12px!important}.save-bar strong{font-size:12px}.save-bar .button.ghost{font-size:12px;padding-left:6px;padding-right:6px}.drawer-body{padding-left:20px;padding-right:20px}.drawer-heading{padding-left:20px;padding-right:20px}.drawer-body .form-grid{gap:12px}.log-actions .button{font-size:12px;padding-left:5px;padding-right:5px}.logs-card .card-heading p{font-size:12px}.log-toolbar .segmented button{padding-left:9px;padding-right:9px}.log-toolbar .checkbox-row{font-size:12px;gap:5px}}
.nav-label{font-size:12px;letter-spacing:1px;color:#536a81;margin:45px 12px 15px}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:2px}.actions-column{text-align:right!important}.account-table .actions-column{width:162px}.empty-state{text-align:center;padding:55px 24px}.empty-state h3{font-size:15px;color:#61778b;margin-top:14px}.empty-state p{font-size:12px;color:#a2afbd;margin:7px 0 20px}.empty-icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:15px;background:#eff6f8;margin:auto;color:#88a4b7}.empty-icon svg{width:25px;height:25px}.callout{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#97a7b8;padding:16px 3px;line-height:1.9}.callout>svg{width:15px;height:15px;margin-top:2px;color:#a7b8c6}.small-callout{display:flex;align-items:flex-start;gap:8px;background:#f4f8fb;border:1px solid #e9f0f5;border-radius:7px;padding:11px 12px;font-size:12px;color:#90a1b3;line-height:1.9}.small-callout>svg{width:14px;height:14px;margin-top:3px;color:#9eafbe}.drawer-body .section-help{font-size:12px;color:#9ba9b9;margin-top:-8px;margin-bottom:18px;line-height:1.8}.enabled-account{margin:4px 0 2px}body.drawer-open{overflow:hidden}
/* Mobile uses larger controls and stacked content rather than reducing the desktop UI. */
@media(max-width:760px){
  body{font-size:13px}.login-screen,.login-main{min-width:0}.login-card{width:min(340px,100%)}.sidebar{transform:translateX(-100%);transition:transform .2s ease}.sidebar.mobile-open{transform:translateX(0);z-index:42}
  .button,.button.small,.heading-actions .button,.accounts-heading .button,.save-bar .button,.log-actions .button,.password-card .button{font-size:13px;min-height:40px;padding:9px 13px;gap:7px}.button svg,.button.small svg,.heading-actions .button svg,.save-bar .button svg{width:16px;height:16px}.icon-button{width:40px;height:40px}.icon-button svg{width:19px;height:19px}
  input:not([type=checkbox]),select,textarea,.login-card input,.password-card input,.stats-controls select{font-size:16px!important;min-height:43px!important}input::placeholder,textarea::placeholder{font-size:12px}.search-field input{font-size:13px!important;min-height:40px!important}
  .field>span:first-child,.drawer-body .field>span:first-child,.password-card .field>span:first-child,.settings-main .three-columns .field>span:first-child,.checkbox-row,.checkbox-row.compact,.log-toolbar .checkbox-row{font-size:13px}.field small,.settings-main .three-columns small{font-size:12px}.field{gap:8px;margin-bottom:22px}input[type=checkbox],.log-toolbar input[type=checkbox]{width:16px;height:16px}.checkbox-row{gap:9px;min-height:32px}
  .page-heading{flex-wrap:wrap;gap:13px}.page-heading p{font-size:12px;max-width:none}.heading-actions{width:100%;padding-top:0;gap:9px}.heading-actions #monitor-toggle{flex:1}.heading-actions #restart-all-button{width:auto;padding:9px 13px}.heading-actions #restart-all-button span{display:inline}.page-heading h1{font-size:25px}.breadcrumb{font-size:12px}.sync-badge{font-size:12px}.topbar-left{gap:7px}.topbar{padding-left:12px;padding-right:17px}.breadcrumb>span{margin:0 4px}
  .nav-item{font-size:14px;min-height:47px}.sidebar{width:232px}.sidebar .brand{font-size:17px}.nav-label,.nav-count,.admin-info strong,.sidebar-note,.sidebar-note span{font-size:12px}.admin-info span{font-size:12px}.brand small{font-size:12px}.sidebar-bottom{gap:10px}.sidebar-bottom .icon-button{width:40px}
  .metric-top{font-size:13px}.metric-card p{font-size:12px;line-height:1.7}.metric-card>strong{font-size:31px}.metric-card{padding:17px 15px}.metric-icon{width:28px;height:28px}.metric-top{gap:5px}.banner-status strong{font-size:14px}.banner-status p{font-size:12px;line-height:1.8}.service-banner{align-items:flex-start;gap:11px;padding:17px 15px}.service-banner .badge{margin-top:2px;flex-shrink:0}.banner-status{align-items:flex-start;gap:10px}.banner-status>.status-dot{margin-top:8px}.badge{font-size:12px;padding:3px 6px}
  .card-heading h2,.section-title h2{font-size:15px}.card-heading p,.section-title p{font-size:12px;line-height:1.8}.card-heading .text-button,.text-button{font-size:12px;min-height:35px}.card-heading{padding:20px}.section-title{align-items:flex-start}.section-icon{width:30px;height:30px}.settings-card .card-heading{padding:19px}.connection-details strong{font-size:13px}.connection-details small{font-size:12px}.connection-state,.connection-metric{font-size:12px}.connection-metric{display:none}.connection-row{gap:12px;padding:19px 0}.connection-state{min-width:66px}.info-list{display:flex;gap:14px;padding-left:20px;padding-right:20px}.info-list>div{font-size:12px}.service-info-card>.button{font-size:13px;min-height:40px}.empty-inline{font-size:12px;line-height:1.9}.empty-state h3{font-size:16px}.empty-state p{font-size:12px}.empty-state{padding:38px 20px}
  .stats-controls{flex-wrap:wrap;gap:12px}.stats-controls select{width:100%;max-width:none}.segmented{width:100%;justify-content:space-between;padding:4px}.segmented button,.log-toolbar .segmented button{font-size:13px;min-height:36px;padding:7px 12px;flex:1}.stats-summary{grid-template-columns:1fr 1fr;gap:18px 0;padding:20px}.stats-summary>div{font-size:12px;padding-left:20px}.stats-summary>div:nth-child(odd){padding-left:0}.stats-summary>div:nth-child(even){border:0}.stats-summary strong{font-size:25px}.ranking-table{min-width:500px}.ranking-table th,.ranking-table td{font-size:12px;padding:14px 17px}.ranking-table .rank-column{width:62px}.ranking-table td:first-child span{font-size:12px;width:23px;height:23px}.data-table .table-empty{font-size:12px}
  .recent-entry{font-size:12px;gap:11px;padding:14px 0}.recent-message{white-space:normal;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.recent-entry time{font-size:12px;padding-top:2px}.recent-entry .event-dot{margin-top:8px}.recent-entry .log-level{display:none}.account-table{min-width:1000px}.account-table th,.account-table td{font-size:12px;padding:18px}.account-cell strong,.cell-title{font-size:13px}.account-cell small,.cell-subline,.feature-tag{font-size:12px}.feature-tag{padding:2px 6px}.cell-subline{margin-top:6px}.count-pill{font-size:12px;min-width:25px;height:24px}.callout{font-size:12px}.toolbar-hint{font-size:12px}.table-toolbar .search-field{width:100%}
  .settings-main .form-grid,.settings-main .three-columns,.password-card{grid-template-columns:1fr;gap:0}.settings-card .card-body{padding:20px}.settings-card .form-grid .field:last-child{margin-bottom:21px}.password-card h3,.password-card>.muted,.password-card .field:first-of-type,.password-card>.button{grid-column:auto}.password-card h3{font-size:15px}.password-card>.muted{font-size:12px}.password-card .field{margin-bottom:20px}.password-card>.button{justify-self:stretch}.feature-options{grid-template-columns:1fr;gap:10px}.feature-options>label{padding:13px 12px;gap:10px;align-items:flex-start}.feature-options strong{font-size:13px}.feature-options small{display:block;font-size:12px}.feature-options input{margin-top:4px}.feature-options label span{min-width:0}.card-footnote{font-size:12px;padding:13px 20px}.small-callout{font-size:12px;line-height:1.9}.switch>span{width:42px;height:24px}.switch>span:after{height:18px;width:18px}.switch input:checked+span:after{transform:translateX(18px)}
  .schedule-row{display:grid;grid-template-columns:27px 1fr 14px 1fr;gap:10px 9px;padding-bottom:24px}.schedule-row>div{grid-column:2/-1;min-width:0}.schedule-row strong{font-size:13px}.schedule-row>div span{font-size:12px}.schedule-row input{width:100%;font-size:16px}.schedule-row input:first-of-type{grid-column:2;grid-row:2}.schedule-row input:last-of-type{grid-column:4;grid-row:2}.schedule-row .time-separator{grid-column:3;grid-row:2;font-size:12px;text-align:center}.schedule-index{width:27px;height:27px;font-size:12px;align-self:start;margin-top:2px}.save-bar{padding:13px;flex-wrap:wrap;gap:10px}.save-bar>div{justify-content:space-between;gap:8px}.save-bar>div:first-child{width:100%;justify-content:flex-start}.save-bar>div:last-child{width:100%}.save-bar strong{font-size:12px}.save-bar .button.primary{flex:1}.save-bar .button.ghost{font-size:12px;padding:9px 12px}.form-error,.inline-error{font-size:12px}
  .logs-card .card-heading{flex-wrap:wrap}.logs-card .card-heading p{font-size:12px}.log-actions{gap:9px;width:100%}.log-actions .button.ghost{display:inline-flex}.log-actions .button{font-size:12px;min-height:38px}.log-actions .button svg{width:15px;height:15px}.live-label{font-size:12px}.log-toolbar{gap:12px}.log-toolbar .segmented{flex-basis:100%}.log-toolbar .checkbox-row{margin-left:0;order:4;min-height:27px;font-size:12px}.log-toolbar .search-field{order:3}.log-list{font-size:12px;padding:13px 16px;min-height:350px;max-height:55dvh}.log-entry{display:flex;flex-wrap:wrap;gap:4px 9px;padding:11px 0}.log-entry time{font-size:12px;min-width:60px;line-height:21px}.log-entry .log-level{width:43px;height:19px;font-size:12px;margin-top:1px}.log-entry .log-message{width:100%;font-size:12px;line-height:1.9}.log-footer{font-size:12px;gap:10px;flex-wrap:wrap;padding:12px 16px}.workspace-footer{font-size:12px;gap:10px;flex-wrap:wrap;line-height:1.8}.workspace-footer span:first-child{font-size:12px}
  .drawer-heading h2{font-size:22px}.drawer-section-label{font-size:12px;letter-spacing:.5px}.drawer-body .section-help{font-size:12px}.drawer-body .form-grid{grid-template-columns:1fr;gap:0}.drawer-body .field{margin-bottom:22px}.drawer-body .form-grid .field{margin-bottom:22px}.drawer-body .password-field .icon-button{height:37px;top:3px;width:36px}.period-options span{font-size:13px;min-height:42px}.advanced-details summary{font-size:13px;min-height:46px;padding:13px 15px}.details-body .checkbox-row{font-size:13px}.input-suffix>span{font-size:12px;min-height:43px}.drawer-footer .button{min-height:42px;font-size:14px}.drawer-footer .button.primary{flex:1}.password-field .icon-button{width:36px;height:36px;top:3px}.login-card .password-field .icon-button{top:4px}.login-card h2{font-size:25px}.login-card>.muted{font-size:13px}.login-card .field>span:first-child{font-size:13px}.login-submit{font-size:14px;min-height:45px}.login-footnote{font-size:12px;line-height:1.8;gap:7px}.login-footnote svg{width:14px;height:14px}.login-version{font-size:12px;letter-spacing:1px}.toast{font-size:13px;padding:14px 16px}.toast svg{width:18px;height:18px}.confirm-dialog p{font-size:13px}.confirm-dialog h2{font-size:19px}.dialog-actions .button{min-height:41px;font-size:13px}.form-error{line-height:1.9}
}
@media(max-width:380px){.page-content{padding-left:15px;padding-right:15px}.card-heading,.card-body{padding-left:17px;padding-right:17px}.metric-card{padding:15px 12px}.metric-top{font-size:12px}.metric-card p{font-size:12px}.metric-icon{width:24px;height:24px}.metric-icon svg{width:14px;height:14px}.service-banner{padding-left:13px;padding-right:13px}.service-banner .badge{display:none}.drawer-body,.drawer-heading{padding-left:18px;padding-right:18px}.stats-controls .segmented button{padding-left:8px;padding-right:8px}.login-main{padding-left:25px;padding-right:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}


/* Workspace refinement: persistent controls and readable forms. */
:root{font-size:14px;--muted:#6d7d91;--line:#e5ebf2;--page:#f3f6fa;--ink:#203047}
html{scroll-padding-top:162px}
body{line-height:1.65}
small,.optional{font-size:12px}
.sidebar{width:240px;padding:29px 18px 0;z-index:30}
.sidebar .brand{font-size:18px;margin:0 9px 37px;gap:11px}
.sidebar .brand-icon{width:36px;height:36px}
.sidebar .brand small{font-size:10px;letter-spacing:1.6px}
.nav-label{font-size:12px;color:#8798b0;margin-bottom:12px}
.nav-item{font-size:14px;min-height:47px;padding:11px 14px;margin-bottom:7px}
.nav-item svg{width:19px;height:19px}
.nav-count{font-size:12px;min-width:23px;height:22px}
.nav-divider{height:1px;background:#ffffff0f;margin:21px 12px 17px}
.sidebar-note{font-size:12px;line-height:1.7;margin-top:auto}
.sidebar-note span{font-size:12px;color:#8a9bb1}
.sidebar-bottom{padding-top:19px;padding-bottom:19px}
.admin-info strong{font-size:14px}.admin-info span{font-size:12px;color:#8a9bb1}
.sidebar-bottom .icon-button{width:40px;height:40px;flex-shrink:0}
.workspace{margin-left:240px;width:calc(100% - 240px)}
.topbar{position:fixed;left:240px;right:0;top:0;z-index:25;height:80px;padding:0 32px;background:#fff;gap:20px;justify-content:flex-start;box-shadow:0 3px 14px #17365704}
.topbar-left{min-width:0;flex:1;gap:12px}
.topbar-right{gap:16px;flex-shrink:0}
.breadcrumb{font-size:13px;white-space:nowrap}.breadcrumb span{margin:0 10px}
.breadcrumb strong{color:#28415d;font-weight:600}
.server-clock{font-size:12px;color:#718196;white-space:nowrap}
.sync-badge{font-size:12px;color:#54776c}
.heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.heading-actions .button{min-height:40px;font-size:14px;padding:9px 15px;gap:7px;white-space:nowrap}
.heading-actions .button svg{width:17px;height:17px}
.page-content{padding:112px 32px 28px;max-width:1680px}
.page-heading{margin-bottom:25px;display:block}
.page-heading .heading-kicker{display:none}
.page-heading h1{font-size:29px;line-height:1.4;letter-spacing:0;font-weight:650}
.page-heading p{font-size:14px;line-height:1.75;max-width:none;margin-top:7px;color:#738399}
.workspace-footer,.workspace-footer span:first-child{font-size:12px;letter-spacing:.5px;color:#7c8ba0}
.button{font-size:14px;min-height:40px;padding:9px 15px;line-height:1.5}
.button.small,.text-button{font-size:13px;min-height:36px}
.icon-button{min-width:36px;min-height:36px}
h2,.section-title h2{font-size:16px;line-height:1.5}
.card-heading{padding:22px 24px}
.card-heading p,.section-title p,.metric-card p,.banner-status p{font-size:12px;color:#738399;line-height:1.7}
.card-body{padding:23px 24px}
.card{border-color:#e4ebf3;box-shadow:0 2px 8px #172c4803}
.service-banner{padding:19px 22px;border-color:#d5eee6}
.banner-status strong{font-size:15px}
.metric-grid{gap:18px;margin-bottom:24px}
.metric-card{padding:21px 22px}
.metric-top{font-size:14px;color:#66788d;margin-bottom:13px}
.metric-card>strong{font-size:30px}.metric-card p{margin-top:8px}
.badge,.feature-tag,.count-pill{font-size:12px}
.feature-tag{padding:3px 7px}
.connection-details strong,.account-cell strong,.cell-title{font-size:14px}
.connection-details small,.account-cell small,.cell-subline{font-size:12px;color:#738399}
.connection-state,.connection-metric,.info-list>div{font-size:13px}
.info-list{gap:15px}.service-info-card>.button{font-size:13px;min-height:39px}
.stats-controls select{height:39px;min-height:39px;font-size:13px;min-width:165px}
.segmented button{font-size:13px;min-height:34px;padding:6px 13px}
.stats-summary>div{font-size:13px}.stats-summary strong{font-size:24px}
.data-table{font-size:13px}.data-table th{font-size:12px;color:#667991;padding:14px 22px}
.data-table td,.account-table td,.ranking-table td{font-size:13px;padding-left:22px;padding-right:22px}
.account-table td{height:100px}.cell-title,.cell-subline{max-width:210px}
.row-actions{gap:4px}.account-action{width:37px;height:37px}
.search-field input{font-size:13px!important;min-height:40px!important}
.toolbar-hint,.empty-inline,.empty-state p,.data-table .table-empty{font-size:13px;color:#738399}
.callout,.small-callout,.card-footnote{font-size:12px;line-height:1.85;color:#6e8196}
.callout{padding:15px 0}.small-callout{padding:13px 14px}
input:not([type=checkbox]),select,textarea{font-size:14px;min-height:42px;padding:10px 12px;border-color:#dbe4ee;border-radius:8px;color:#344a62}
input::placeholder,textarea::placeholder{font-size:13px;color:#8b9aab}
input:disabled{background:#f2f5f8;color:#98a6b6}
.field{margin-bottom:21px}.field>span:first-child,.drawer-body .field>span:first-child{font-size:14px;color:#4c627b}
.field small,.section-help,.drawer-body .section-help{font-size:12px;line-height:1.8;color:#738399}
.checkbox-row,.checkbox-row.compact{font-size:13px;line-height:1.7;min-height:25px}
.feature-options strong,.schedule-row strong{font-size:14px;color:#4b637b}
.feature-options small,.schedule-row>div span{font-size:12px;color:#7d8da2}
.feature-options>label{padding:14px 12px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start}
.settings-aside{display:flex;flex-direction:column;gap:21px;position:static}
.settings-help{padding:24px}.settings-help h3{font-size:16px}.settings-help h4{font-size:14px}
.settings-help p{font-size:13px;line-height:1.9;color:#738399}
.settings-card{margin-bottom:23px;scroll-margin-top:162px}
.settings-section-nav{display:flex;align-items:center;gap:5px;padding:6px;background:#fff;border:1px solid #e1e9f2;border-radius:11px;margin:0 0 23px;position:sticky;top:94px;z-index:8;box-shadow:0 3px 12px #17365704;overflow-x:auto}
.settings-section-nav button{font-size:13px;min-height:38px;padding:8px 16px;border-radius:7px;background:transparent;color:#6e8096;white-space:nowrap;flex:1}
.settings-section-nav button.selected,.settings-section-nav button:hover{background:#e9f6f2;color:#087f70}
.schedule-row{gap:13px}.schedule-row>div{min-width:90px}
.schedule-row input{width:126px;min-height:40px;font-size:14px}.schedule-index{font-size:12px;width:31px;height:31px}
.time-separator{font-size:13px}.form-grid.three-columns{gap:17px}
.clear-secret{border:1px solid #f4e1c5;border-radius:8px;background:#fffaf2;color:#916e3c;padding:11px 13px;margin:0 0 18px}
.clear-secret input{flex-shrink:0}.clear-secret span{font-size:12px;line-height:1.7}
.save-bar{bottom:18px;padding:16px 19px;border-color:#dbe5ee;border-radius:11px;z-index:10;box-shadow:0 6px 25px #1736570b;margin-top:2px}
.save-bar strong{font-size:13px;color:#547269}.save-bar #settings-save-description{display:inline;font-size:12px;color:#7d8fa3}
.save-bar .button{font-size:14px;min-height:40px}
.notification-preview-card{padding:20px}.preview-heading{display:flex;align-items:center;gap:9px;margin-bottom:17px}.preview-heading>svg{color:#0c9c8c;width:18px}
.preview-heading h3{font-size:14px;flex:1}.notification-preview-card>p{font-size:12px;color:#738399;line-height:1.85;margin-top:16px}
.tg-preview{background:#e6eff6;border-radius:10px;padding:14px 10px}.tg-preview-label{font-size:12px;color:#7d91a6;margin:0 4px 8px}
.tg-preview pre{background:#fff;border-radius:9px 9px 9px 2px;padding:15px 13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:12px;line-height:1.95;color:#3b546d;box-shadow:0 2px 5px #2b507509}
.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:24px;align-items:start;max-width:1160px}
.credentials-card .card-body{padding:27px 27px 24px}.credentials-card .field{margin-bottom:24px}
.credentials-card .form-grid{gap:21px}.credentials-card .form-grid .field{margin-bottom:9px}
.credentials-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:20px;padding-top:22px}
.credentials-actions>span{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#788ba0;max-width:340px;line-height:1.8}
.credentials-actions>span svg{width:16px;height:16px;margin-top:3px;flex-shrink:0}.credentials-actions .button{flex-shrink:0}
.admin-help{padding:25px}.admin-help h3{font-size:16px;margin-bottom:13px}.admin-help p{font-size:13px;color:#738399;line-height:1.9}.admin-help .button{margin-top:24px;font-size:13px}
.recent-entry{font-size:13px;line-height:1.85}.recent-entry time{font-size:12px;flex-shrink:0}.recent-logs{padding:5px 24px 10px}
.log-list{font-size:13px;line-height:1.9;max-height:calc(100vh - 360px);min-height:380px;padding:16px 22px}
.log-entry{grid-template-columns:70px 47px minmax(0,1fr);gap:12px;padding:8px 0}
.log-entry time{font-size:12px}.log-level{font-size:11px;width:45px;height:21px;line-height:21px;letter-spacing:0}.log-footer{font-size:12px}
.live-label{font-size:10px}.log-toolbar{gap:14px;padding:16px 22px}.form-error,.inline-error,.toast{font-size:13px}
.account-drawer{width:570px;z-index:60}.drawer-backdrop{z-index:55}.drawer-body{padding:25px 28px}.drawer-heading{padding:23px 28px}
.drawer-heading .heading-kicker{font-size:11px}.drawer-section-label{font-size:13px;color:#6f849c;letter-spacing:.5px;font-weight:600;padding:22px 0 17px}
.period-options span{font-size:13px;min-height:40px}.input-suffix>span{font-size:13px;min-height:42px}.advanced-details summary{font-size:13px;padding:15px 16px}
.drawer-footer{padding:18px 28px}.toast-region{top:96px}.confirm-dialog p{font-size:14px}.nav-backdrop{z-index:40}
.login-card h2{font-size:27px}.login-card>.muted{font-size:14px}.login-card .field>span:first-child{font-size:14px}.login-card input{font-size:14px;min-height:45px}
.login-footnote{font-size:12px;line-height:1.8}.login-card .login-submit{font-size:14px;min-height:45px}
@media(max-width:1350px){.server-clock{display:none}.topbar{gap:16px}.settings-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.schedule-row{gap:9px}.schedule-row input{width:112px}.schedule-row>div{min-width:76px}.form-grid.three-columns{grid-template-columns:1fr}.settings-main .three-columns .field>span:first-child{font-size:14px}.settings-main .three-columns small{font-size:12px}}
@media(max-width:1150px){.sidebar{width:220px}.sidebar .brand{font-size:17px;margin-left:7px;gap:9px}.workspace{margin-left:220px;width:calc(100% - 220px)}.topbar{left:220px;padding:0 24px}.page-content{padding:108px 24px 25px}.settings-layout{display:block}.settings-aside{position:static;display:grid;grid-template-columns:1fr 1fr;margin-bottom:22px;gap:22px}.admin-layout{grid-template-columns:minmax(0,1fr)}.admin-help{display:none}.overview-grid{grid-template-columns:minmax(0,1fr)}.service-info-card .info-list{display:grid;grid-template-columns:1fr 1fr;gap:16px 30px}.service-info-card .card-heading{padding-bottom:15px}.info-list>div{font-size:13px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-options strong{font-size:13px}}
@media(max-width:900px){.sidebar{width:240px;transform:translateX(-100%);transition:transform .2s ease;z-index:42}.sidebar.mobile-open{transform:translateX(0)}.sidebar .brand{font-size:18px}.workspace{margin-left:0;width:100%}.topbar{left:0}.mobile-menu{display:inline-flex!important}.nav-backdrop{position:fixed;inset:0;background:#18283f70;backdrop-filter:blur(2px)}.settings-section-nav{top:94px}.account-table{min-width:850px}}
@media(max-width:700px){.page-content{padding:108px 19px 25px}.card-heading,.card-body{padding:21px}.settings-aside{display:flex;flex-direction:column;gap:21px}.account-table{min-width:0;display:block;white-space:normal}.account-table thead{display:none}.account-table tbody{display:grid;gap:15px;padding:17px}.account-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #e1e9f1;border-radius:10px;overflow:hidden;background:#fff;padding:3px 0 8px}.account-table td{display:block;min-height:0;height:auto!important;white-space:normal;padding:12px 15px!important;border:0}.account-table td:first-child,.account-table td:nth-child(2),.account-table td:nth-child(3),.account-table td:last-child{grid-column:1/-1}.account-table td:first-child{padding-top:17px!important;padding-bottom:16px!important;border-bottom:1px solid #edf1f5}.account-table td:nth-child(2)::before,.account-table td:nth-child(3)::before,.account-table td:nth-child(4)::before,.account-table td:nth-child(5)::before{content:attr(data-label);display:block;font-size:12px;color:#8695a7;margin-bottom:7px}.account-table td:last-child{padding-top:9px!important;padding-bottom:4px!important}.account-table .actions-column{text-align:left!important}.row-actions{justify-content:flex-start;gap:8px}.account-action{width:43px;height:41px;border:1px solid #e3eaf1;border-radius:7px}.account-cell strong{font-size:15px}.cell-title,.cell-subline{max-width:none;overflow-wrap:anywhere;white-space:normal}.feature-tags{flex-wrap:wrap}.toolbar-hint{display:none}.table-toolbar{padding:17px}.table-toolbar .search-field{width:100%}.settings-main .form-grid,.credentials-card .form-grid{grid-template-columns:1fr}.credentials-card .form-grid{gap:0}.credentials-card .card-body{padding:23px 21px}.credentials-actions{flex-direction:column;align-items:stretch;gap:16px}.credentials-actions>span{max-width:none}.credentials-actions .button{width:100%}.settings-card .card-heading{padding:21px}.feature-options{grid-template-columns:1fr}.feature-options>label{padding:13px}.feature-options small{font-size:12px}.feature-options strong{font-size:14px}.section-title p{font-size:12px}.schedule-row{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:10px;margin-bottom:24px}.schedule-index{display:none}.schedule-row>div{grid-column:1/-1}.schedule-row input{width:100%;min-width:0;font-size:16px}.schedule-row>div span{font-size:12px}.settings-card .schedule-row strong{font-size:14px}.settings-main .three-columns{display:block}.settings-main .three-columns .field{margin-bottom:22px}.service-info-card .info-list{display:flex}.stats-summary{display:grid;grid-template-columns:1fr 1fr;gap:20px}.stats-summary>div{padding-left:21px;font-size:13px}.stats-summary strong{font-size:24px}.stats-summary>div:first-child strong{margin-left:0}.stats-controls{flex-wrap:wrap;gap:10px}.stats-controls select{width:100%;min-width:0;font-size:14px!important}.stats-heading{flex-wrap:wrap}.stats-controls{width:100%}.stats-controls .segmented{width:100%}.stats-controls .segmented button{flex:1;min-height:38px;font-size:13px}.account-drawer{width:min(100%,570px)}.log-toolbar{padding:16px}.log-toolbar .search-field{flex:1 1 100%;order:3}.log-toolbar .checkbox-row{font-size:12px}.log-toolbar .segmented button{font-size:12px;min-height:36px}.log-list{font-size:13px;min-height:420px;max-height:calc(100dvh - 390px);padding:12px 16px}.log-entry{grid-template-columns:68px 45px minmax(0,1fr);gap:9px}.log-entry time{font-size:12px}.log-entry .log-message{grid-column:1/-1;padding-left:0}.log-level{font-size:11px}.log-actions .button{font-size:12px;min-height:37px}.log-actions .button.ghost{display:inline-flex}.recent-entry{font-size:12px;gap:10px;flex-wrap:wrap}.recent-entry .recent-message{flex-basis:100%;padding-left:0}.save-bar{padding:14px;bottom:12px;gap:12px}.save-bar>div:first-child{width:100%;font-size:13px}.save-bar>div:last-child{width:100%;justify-content:flex-end;gap:10px}.save-bar #settings-save-description{display:none}.save-bar .button{font-size:14px;min-height:42px}.save-bar .button.primary{flex:1}.metric-top{font-size:13px}.metric-card p{font-size:12px}.metric-card{padding:20px}.connection-details strong{font-size:14px}.connection-details small{font-size:12px}.workspace-footer{font-size:12px;flex-wrap:wrap;gap:10px}.drawer-body{padding:23px}.drawer-heading,.drawer-footer{padding:20px 23px}.drawer-body .form-grid{gap:15px}.drawer-body .field>span:first-child{font-size:14px}.log-footer{font-size:12px;flex-wrap:wrap;gap:8px}.settings-help p{font-size:13px}}
@media(max-width:600px){.topbar{height:126px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:48px 43px;gap:10px 12px;padding:10px 18px 14px}.topbar-left{grid-column:1;gap:7px;min-width:0}.breadcrumb{font-size:12px;overflow:hidden;text-overflow:ellipsis}.breadcrumb span{margin:0 6px}.topbar-right{grid-column:2;gap:0}.sync-badge{font-size:12px}.heading-actions{grid-column:1/-1;grid-row:2;display:flex;gap:11px;width:100%}.heading-actions .button{flex:1;font-size:13px;min-height:43px;justify-content:center;padding:10px 12px}.topbar .icon-button{width:37px;height:37px}.page-content{padding-top:152px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.settings-section-nav{top:138px;gap:3px;padding:5px}.settings-section-nav button{padding:9px 10px;font-size:12px;min-height:38px}.settings-card{scroll-margin-top:204px}.toast-region{top:140px;left:15px;right:15px}.toast{max-width:none;width:100%;font-size:13px}.metric-grid{gap:13px}.metric-top{font-size:13px}.metric-icon{width:27px;height:27px}.metric-card>strong{font-size:29px}.connection-metric{display:none}.notification-preview-card{padding:21px}.tg-preview pre{font-size:13px}.login-main{padding-left:27px;padding-right:27px;min-width:0}.login-card{width:min(360px,100%)}.login-card input{font-size:16px;min-height:46px}.login-card .field>span:first-child{font-size:14px}.login-card h2{font-size:27px}.login-footnote{font-size:12px}.card-heading p,.banner-status p{font-size:12px}.banner-status strong{font-size:14px}.service-banner{padding:18px}.service-banner>.badge{display:none}.section-icon{width:33px;height:33px}.section-title h2{font-size:15px}.settings-main .three-columns .field>span:first-child{font-size:14px!important}.settings-main .three-columns small{font-size:12px}.clear-secret span{font-size:12px}.admin-credentials-card .card-heading{padding:21px}.stats-summary>div{font-size:12px}.log-entry{grid-template-columns:67px 45px minmax(0,1fr)}.log-entry .log-message{font-size:13px}.live-label{font-size:10px}.log-footer{font-size:12px}html{scroll-padding-top:204px}}

#global-rule-fields.inactive{opacity:1;background:#fafcfe}#reload-settings{margin-top:15px;font-size:13px}.settings-help .button{white-space:normal}
@media(max-width:900px){.workspace{margin-left:0;width:100%}.topbar{left:0}.sidebar{width:240px;transform:translateX(-100%);transition:transform .2s ease}.sidebar.mobile-open{transform:translateX(0);z-index:42}.mobile-menu{display:inline-flex!important}.nav-backdrop{z-index:40}}

.breadcrumb{min-width:0;overflow:hidden;text-overflow:ellipsis}.tg-preview-tabs{display:flex;margin-bottom:13px}.tg-preview-tabs button{flex:1;min-height:34px;font-size:12px}.tg-preview pre{max-height:400px;overflow-y:auto}
.log-list .log-message{color:#334155}

/* Complete statistics: pages are a viewport over the entire ranked snapshot. */
.stats-schedule-note{display:flex;align-items:flex-start;gap:11px;padding:15px 24px;background:#f1faf8;border-bottom:1px solid #e1f0eb;color:#27796f;font-size:12px}.stats-schedule-note svg{width:18px;height:18px;margin-top:2px}.stats-schedule-note strong,.stats-schedule-note span{display:block}.stats-schedule-note strong{font-size:13px;margin-bottom:2px}.stats-schedule-note span{color:#65897f;line-height:1.8}.ranking-toolbar{display:flex;align-items:center;gap:13px;padding:17px 23px;border-bottom:1px solid var(--line);flex-wrap:wrap}.ranking-toolbar .search-field{flex:1;min-width:210px;max-width:350px}.ranking-sort-label{display:flex;align-items:center;gap:9px;color:#6c7e92;font-size:12px}.ranking-sort-label select,.ranking-pagination select{min-height:36px;height:36px;width:auto;min-width:105px;padding:6px 25px 6px 10px;font-size:12px}.ranking-export{display:flex;gap:8px;margin-left:auto}.ranking-export .button{min-height:36px}.ranking-pagination{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;padding:17px 23px;border-top:1px solid var(--line);font-size:12px;color:#64758b}.ranking-pagination>span{flex:1;min-width:190px}.ranking-pagination>label{display:flex;gap:8px;align-items:center}.ranking-page-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ranking-page-buttons .button{min-height:34px;padding:6px 10px;font-size:12px}.ranking-page-input{display:flex;gap:6px;align-items:center;white-space:nowrap}.ranking-page-input input{width:54px;min-height:34px;height:34px;padding:5px 6px;text-align:center;font-size:12px}.ranking-complete-note{font-size:12px;color:#77899e;padding:0 23px 17px;line-height:1.8}.stats-policy{border:1px solid #d8eee8;background:#f2faf7;border-radius:9px;padding:16px 18px;margin-bottom:22px}.stats-policy strong{font-size:14px;color:#1c7b6a}.stats-policy p{color:#637f76;font-size:13px;margin-top:6px;line-height:1.9}.ranking-table td:nth-child(2){max-width:330px;white-space:normal;overflow-wrap:anywhere}.ranking-page-buttons button:disabled{opacity:.38}
@media(max-width:1100px){.ranking-export{margin-left:0}.ranking-toolbar .search-field{max-width:none}.ranking-pagination>span{flex-basis:100%}.ranking-page-buttons{margin-left:auto}}
@media(max-width:700px){.ranking-toolbar{padding:17px;gap:12px}.ranking-toolbar .search-field{flex-basis:100%}.ranking-sort-label{flex:1;font-size:13px}.ranking-sort-label select,.ranking-pagination select{font-size:13px;min-height:40px!important;height:40px!important}.ranking-export{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}.ranking-export .button{font-size:12px;min-height:40px}.ranking-pagination{padding:17px;gap:14px;font-size:12px}.ranking-page-buttons{width:100%;justify-content:space-between;gap:6px}.ranking-page-buttons .button{font-size:12px;min-height:38px;padding:7px 9px}.ranking-page-input input{font-size:14px!important;width:46px;min-height:38px!important;height:38px!important}.ranking-page-input span{font-size:11px}.ranking-complete-note{padding:0 17px 18px;font-size:12px}.stats-schedule-note{padding:15px 18px;font-size:12px}.stats-schedule-note strong{font-size:13px}.stats-policy{padding:15px}.stats-policy strong{font-size:13px}.stats-policy p{font-size:12px}.ranking-table td:nth-child(2){min-width:150px}}
@media(max-width:380px){.ranking-page-buttons .button{padding-left:6px;padding-right:6px;font-size:11px}.ranking-page-input{gap:3px}.ranking-page-input input{width:40px}.ranking-page-input span{font-size:10px}}

.ranking-leaders-heading{display:flex;justify-content:space-between;align-items:center;padding:22px 23px 14px;gap:12px}.ranking-leaders-heading h3{font-size:14px}.ranking-leaders-heading p{font-size:12px;color:#8492a5;margin-top:4px}.ranking-leaders{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 23px 22px}.ranking-leader{border:1px solid #e4eaf0;border-radius:10px;padding:16px 18px;background:linear-gradient(135deg,#fff,#f9fbfd);min-width:0}.ranking-leader.leader-1{border-color:#ecdca9;background:linear-gradient(135deg,#fffcf3,#fff)}.ranking-leader.leader-2{border-color:#dce4ed}.ranking-leader.leader-3{border-color:#ecded2;background:linear-gradient(135deg,#fffaf6,#fff)}.leader-heading{display:flex;align-items:center;gap:8px;margin-bottom:11px}.leader-medal{font-size:22px;line-height:1}.leader-position{font-size:11px;letter-spacing:.4px;color:#8a98a9}.leader-nick{font-size:14px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#26384e}.leader-amount{display:flex;align-items:baseline;gap:6px;margin-top:6px}.leader-amount strong{font-size:27px;line-height:1.5;color:#187d70}.leader-amount span{font-size:12px;color:#8a98a9}.leader-breakdown{font-size:11px;color:#8593a5;margin-top:4px;line-height:1.8;overflow-wrap:anywhere}.ranking-leaders-empty{grid-column:1/-1;font-size:13px;color:#8593a5;padding:6px 0}.ranking-table td:nth-child(n+3),.ranking-table th:nth-child(n+3){text-align:right}.ranking-table th:last-child,.ranking-table td:last-child{padding-right:26px}.ranking-table td:last-child{font-weight:650;color:#263d55;font-variant-numeric:tabular-nums}.tg-preview-navigation{margin-top:12px;color:#6c91a8;font-size:11px}.tg-preview-navigation>div:first-child{display:flex;align-items:center;gap:5px;justify-content:space-between}.tg-preview-navigation button{background:#dcecf4;border:1px solid #cee1ec;border-radius:5px;min-height:31px;padding:5px 8px;color:#42758e;font-size:11px}.tg-preview-navigation button:disabled{opacity:.4}.tg-preview-download{background:#dcecf4;border:1px solid #cee1ec;border-radius:5px;text-align:center;padding:7px 8px;margin-top:6px;color:#42758e}.tg-preview-tabs button{padding-left:8px;padding-right:8px}.tg-preview-navigation span{white-space:nowrap;font-size:10px}
@media(max-width:700px){.ranking-leaders-heading{padding:20px 17px 13px}.ranking-leaders-heading h3{font-size:14px}.ranking-leaders-heading p{font-size:12px}.ranking-leaders{padding:0 17px 18px;gap:9px}.ranking-leader{padding:13px 11px}.leader-heading{gap:5px;margin-bottom:10px}.leader-medal{font-size:19px}.leader-position{font-size:10px}.leader-nick{font-size:13px}.leader-amount strong{font-size:23px}.leader-amount span{font-size:11px}.leader-breakdown{font-size:11px;line-height:1.7}.tg-preview-navigation button{min-height:38px;font-size:12px}.tg-preview-navigation span{font-size:11px}.tg-preview-download{font-size:12px;min-height:38px;padding:9px}.ranking-table td:last-child,.ranking-table th:last-child{padding-right:17px}}
@media(max-width:400px){.ranking-leaders{grid-template-columns:1fr;gap:10px}.ranking-leader{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:13px 15px;gap:0 12px}.leader-heading{margin-bottom:4px;grid-column:1}.leader-nick{grid-column:1;grid-row:2}.leader-amount{grid-column:2;grid-row:1/3;align-self:center;margin:0}.leader-breakdown{grid-column:1/-1;margin-top:8px;font-size:12px}.leader-position{font-size:11px}.leader-nick{font-size:14px}.leader-amount strong{font-size:27px}}

.tg-preview-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px!important;margin-bottom:6px}.tg-preview-sections button{width:100%;padding:5px 7px;font-size:11px;text-align:center}.tg-preview-sections button.selected{color:#246a88;background:#cbe0ed;border-color:#b0cddc;font-weight:650}.tg-preview-pager{display:flex;align-items:center;justify-content:space-between;gap:4px}.tg-preview-pager button{min-width:70px}.tg-preview-pager span{font-size:11px}@media(max-width:700px){.tg-preview-sections{grid-template-columns:repeat(4,minmax(0,1fr))}.tg-preview-sections button{font-size:12px}.tg-preview-pager button{min-width:91px}}

.ranking-snapshot-note{padding:0 23px 6px;color:#69938a;font-size:12px}.ranking-export{flex-wrap:wrap}@media(max-width:700px){.ranking-snapshot-note{padding-left:17px;padding-right:17px}.ranking-export #refresh-stats{grid-column:1/-1;justify-content:flex-start;padding-left:0;min-height:33px}}

.stats-history-note{margin:0 23px 0;padding:12px 14px;border:1px solid #eee2bd;background:#fffaf0;border-radius:8px;color:#8c7041;font-size:12px;line-height:1.85}@media(max-width:700px){.stats-history-note{margin-left:17px;margin-right:17px}}

.ranking-quicknav{display:flex;justify-content:space-between;align-items:center;gap:10px 15px;flex-wrap:wrap;padding:13px 23px;border-bottom:1px solid var(--line);background:#f8fbfd;color:#718399;font-size:12px}.ranking-quicknav>div{display:flex;align-items:center;gap:10px}.ranking-quicknav .button{min-height:34px;padding:6px 12px;font-size:12px}.ranking-quicknav>div>span{white-space:nowrap;font-variant-numeric:tabular-nums}@media(max-width:700px){.ranking-quicknav{padding:14px 17px;font-size:12px}.ranking-quicknav>span{flex-basis:100%}.ranking-quicknav>div{width:100%;justify-content:space-between;gap:10px}.ranking-quicknav .button{min-height:40px;font-size:13px;padding:8px 15px}}

/* Operator statistics and independent group editor. */
.operator-heading{align-items:center}.operator-heading .button{flex-shrink:0}.operator-period-toolbar{display:flex;align-items:center;gap:22px;padding:21px 24px;border-bottom:1px solid var(--line)}.operator-period-grid{display:grid;grid-template-columns:repeat(4,minmax(76px,1fr));gap:7px;max-width:540px;flex:1}.operator-period-grid button{padding:9px 14px;border:1px solid #e4ebf1;background:#f8fafc;border-radius:7px;color:#718198;font-size:13px;min-height:39px;white-space:nowrap}.operator-period-grid button:hover{border-color:#acd8ce;color:#258771}.operator-period-grid button.selected{background:#e4f5ef;border-color:#abdccc;color:#177e68;font-weight:650}.operator-source-label{display:flex;flex-direction:column;gap:8px;color:#738297;font-size:12px;min-width:180px;max-width:270px;flex:1}.operator-source-label select{width:100%;min-height:40px;font-size:13px}.operator-caption{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:15px 24px;color:#7d8da1;font-size:12px;border-bottom:1px solid var(--line)}.operator-caption span:last-child{color:#688f83}.operator-summary strong{margin-left:0}.operator-ranking{scroll-margin-top:96px;padding:0 24px}.operator-row{padding:20px 0;border-bottom:1px solid #ebf0f5}.operator-row:last-child{border-bottom:0}.operator-row-main{display:flex;gap:20px;align-items:center}.operator-person{display:flex;align-items:center;gap:14px;background:none;text-align:left;padding:0;min-width:0;flex:1}.operator-rank{display:flex;align-items:center;justify-content:center;width:32px;min-width:32px;height:32px;border-radius:8px;color:#94a0b1;background:#f4f7fa;font-size:13px;font-variant-numeric:tabular-nums}.operator-rank.medal{font-size:24px;background:none}.operator-person-name{min-width:0;flex:1}.operator-person-name strong{display:block;font-size:15px;color:#2d4258;overflow-wrap:anywhere;line-height:1.7}.operator-person-name small{display:block;font-size:12px;color:#8a98a9;margin-top:3px}.operator-expand{font-size:12px;color:#429b86;white-space:nowrap}.operator-row-counts{display:grid;grid-template-columns:repeat(4,minmax(55px,1fr));gap:15px;min-width:330px;text-align:right}.operator-row-counts span{display:block;color:#95a0af;font-size:11px;margin-bottom:6px}.operator-row-counts strong{font-size:18px;font-weight:550;color:#57708a;font-variant-numeric:tabular-nums}.operator-row-counts>div:last-child strong{font-weight:650;color:#168471}.operator-member-detail{margin-top:17px;border:1px solid #e4edf3;border-radius:8px;max-height:360px;overflow:auto;background:#fbfdfe}.operator-member-table{min-width:560px;white-space:normal}.operator-member-table th,.operator-member-table td{padding:11px 14px;font-size:12px;text-align:right}.operator-member-table th:nth-child(-n+2),.operator-member-table td:nth-child(-n+2){text-align:left;overflow-wrap:anywhere;max-width:260px}.operator-member-table th{position:sticky;top:0;background:#f1f6f9;z-index:1}.operator-pagination{margin-top:6px}.operator-pagination #operator-page-label{min-width:48px;text-align:center;font-variant-numeric:tabular-nums}.operator-empty{text-align:center;padding:48px 22px 50px}.operator-empty .empty-icon{margin:0 auto 17px}.operator-empty h3{font-size:17px;color:#455f77}.operator-empty p{color:#8c9aab;font-size:13px;line-height:1.9;max-width:450px;margin:11px auto 22px}.operator-dialog{padding:0;width:min(1040px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 48px);border:1px solid #e2eaf0;border-radius:15px;background:#fff;color:#405870;box-shadow:0 22px 80px #162c4940;margin:auto}.operator-dialog::backdrop{background:#152c4859;backdrop-filter:blur(3px)}.operator-dialog[open]{display:flex;flex-direction:column}.operator-dialog-heading{padding:24px 27px 21px;display:flex;gap:20px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid var(--line);flex-shrink:0}.operator-dialog-heading h2{font-size:21px;margin:4px 0 5px}.operator-dialog-heading p{font-size:12px;color:#8c9bab;line-height:1.8}.operator-dialog-heading .icon-button{flex-shrink:0}.operator-editor-layout{display:grid;grid-template-columns:215px minmax(0,1fr);min-height:380px;overflow:auto;flex:1}.operator-group-sidebar{background:#f7fafc;border-right:1px solid var(--line);padding:19px 15px;overflow:auto;max-height:590px}.operator-group-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:15px}.operator-group-toolbar>strong{font-size:13px;color:#637b91}.operator-group-toolbar .button{font-size:12px;padding:6px 10px;min-height:32px}.operator-group-option{display:block;width:100%;background:transparent;border:1px solid transparent;text-align:left;padding:12px 13px;border-radius:8px;margin-bottom:7px;color:#667c91}.operator-group-option strong{display:block;font-size:13px;font-weight:550;overflow-wrap:anywhere}.operator-group-option span{display:block;font-size:11px;color:#91a0af;margin-top:4px}.operator-group-option:hover{background:#edf4f7}.operator-group-option.selected{border-color:#c6e5da;background:#e9f6f0;color:#25846e}.operator-group-list-empty{font-size:12px;color:#9aa8b7;line-height:1.8;padding:12px 3px}.operator-editor-main{padding:23px 25px;min-width:0;max-height:590px;overflow:auto}.operator-editor-empty{padding:70px 20px;text-align:center}.operator-editor-empty h3{font-size:17px;color:#61798d;margin-bottom:10px}.operator-editor-empty p{font-size:13px;color:#91a0ad;line-height:1.9}.operator-group-heading{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.operator-group-heading>.field{flex:1;min-width:190px;margin-bottom:17px}.operator-group-heading .checkbox-row{font-size:12px;white-space:nowrap;padding-top:7px}.operator-group-heading>.button{font-size:12px;min-height:34px;padding:7px 9px}.danger-text{color:#ca6b6b!important}.operator-member-heading{margin:11px 0 12px}.operator-member-heading h3,.operator-add-member h3{font-size:14px;color:#5d748a}.operator-member-heading p{font-size:12px;color:#92a0af;margin-top:5px}.operator-bound-members{border:1px solid #e4ebf1;border-radius:8px;overflow:hidden;max-height:230px;overflow-y:auto}.operator-bound-member{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:11px 13px;border-bottom:1px solid #edf2f6}.operator-bound-member:last-child{border-bottom:0}.operator-bound-member>div{min-width:0}.operator-bound-member strong{display:block;font-size:13px;font-weight:550;color:#5a7186;overflow-wrap:anywhere}.operator-bound-member small{display:block;color:#95a4b3;font-size:11px;margin-top:4px}.operator-bound-member .icon-button{width:30px;height:30px;flex-shrink:0}.operator-no-members{padding:18px 14px;font-size:12px;color:#96a6b7}.operator-add-member{margin-top:24px}.operator-member-inputs{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.6fr) auto;align-items:end;gap:11px;margin-top:14px}.operator-member-inputs .field{margin-bottom:0}.operator-member-inputs .field>span:first-child{font-size:12px}.operator-member-inputs input,.operator-member-inputs select{font-size:13px;min-height:40px;height:40px}.operator-member-inputs .button{min-height:40px;font-size:12px;padding:9px 12px}.operator-member-note{font-size:11px;color:#91a0ae;line-height:1.9;margin-top:11px;overflow-wrap:anywhere}.operator-candidates{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px;max-height:205px;overflow:auto}.operator-candidate{display:flex;align-items:center;gap:7px;max-width:100%;padding:7px 10px;border:1px solid #dfe8ee;border-radius:6px;background:#fbfdfe;color:#647d91;font-size:12px;text-align:left;overflow-wrap:anywhere}.operator-candidate span{min-width:0}.operator-candidate small{font-size:10px;color:#9fa8b1;white-space:nowrap}.operator-candidate:hover:not(:disabled){border-color:#abd8c8;background:#f1fbf6}.operator-candidate.assigned{background:#f1f7f5;border-color:#e0ece7;color:#9aafa5}.operator-candidate-note{color:#9aa8b4;font-size:12px;line-height:1.8}.operator-dialog-footer{border-top:1px solid var(--line);padding:16px 25px;display:flex;align-items:center;gap:15px;justify-content:space-between;flex-shrink:0}.operator-dialog-footer>span{font-size:12px;color:#8b9ba9}.operator-dialog-footer>span.is-dirty{color:#c28a45}.operator-dialog-footer>div{display:flex;gap:10px}.operator-conflict{display:flex;gap:14px;align-items:center;justify-content:space-between;border-top:1px solid #ecdba6;background:#fffbef;padding:13px 25px}.operator-conflict p{color:#9a7e45;font-size:12px;line-height:1.8}.operator-groups-error{margin:0;padding:12px 25px;flex-shrink:0}.operator-dialog .field>span:first-child{font-size:13px}.operator-dialog .field input{font-size:14px}.operator-row button:focus-visible,.operator-dialog button:focus-visible{outline:2px solid #57b79e;outline-offset:3px}
@media(max-width:1100px){.operator-period-toolbar{gap:15px;flex-wrap:wrap}.operator-period-grid{max-width:none}.operator-source-label{min-width:160px;max-width:none;flex-basis:180px}.operator-row-main{gap:16px}.operator-row-counts{min-width:275px;gap:10px}.operator-person{gap:10px}.operator-dialog{width:calc(100% - 32px)}.operator-editor-layout{grid-template-columns:180px minmax(0,1fr)}.operator-member-inputs{grid-template-columns:1fr 1.5fr}.operator-member-inputs>.button{grid-column:1/-1;justify-self:start}}
@media(max-width:700px){.operator-heading{padding:20px 18px;gap:12px;align-items:flex-start}.operator-heading .button{font-size:12px;min-height:38px;padding:8px 10px}.operator-heading h2{font-size:15px}.operator-period-toolbar{padding:18px;display:block}.operator-period-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.operator-period-grid button{padding:9px 3px;min-height:39px;font-size:12px}.operator-source-label{margin-top:17px;flex-direction:row;align-items:center;gap:13px;font-size:12px}.operator-source-label select{flex:1;width:auto;min-width:0}.operator-caption{padding:13px 18px;font-size:11px;line-height:1.8}.operator-ranking{padding:0 18px;scroll-margin-top:143px}.operator-row{padding:18px 0}.operator-row-main{display:block}.operator-person{width:100%;gap:11px}.operator-person-name strong{font-size:15px}.operator-row-counts{min-width:0;width:100%;gap:10px;text-align:left;margin-top:17px;padding-left:43px}.operator-row-counts strong{font-size:19px}.operator-row-counts span{font-size:11px}.operator-member-table th,.operator-member-table td{font-size:12px;padding:11px 12px}.operator-pagination .ranking-page-buttons{justify-content:space-between}.operator-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:11px}.operator-dialog-heading{padding:19px 18px 16px;gap:10px}.operator-dialog-heading h2{font-size:18px}.operator-dialog-heading .heading-kicker{font-size:10px!important}.operator-editor-layout{display:block;min-height:260px;overflow:auto}.operator-group-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:12px 16px;max-height:none;overflow:visible}.operator-group-toolbar{margin-bottom:10px}.operator-group-list{display:flex;gap:8px;overflow-x:auto;padding-bottom:3px}.operator-group-option{min-width:130px;max-width:190px;padding:9px 11px;margin-bottom:0;flex-shrink:0}.operator-group-option strong{font-size:12px}.operator-group-option span{font-size:10px}.operator-editor-main{padding:19px 16px;max-height:none;overflow:visible}.operator-group-heading{gap:10px 15px}.operator-group-heading>.field{flex-basis:100%;margin-bottom:1px;min-width:0}.operator-group-heading>.checkbox-row{padding-top:0}.operator-group-heading>.button{margin-left:auto}.operator-member-heading{margin-top:22px}.operator-member-inputs{display:block}.operator-member-inputs>.field{margin-bottom:13px}.operator-member-inputs input,.operator-member-inputs select{font-size:14px!important;min-height:42px;height:42px}.operator-member-inputs>.button{min-height:40px;font-size:12px;width:100%;justify-content:center}.operator-dialog .field input{min-height:43px;font-size:15px}.operator-candidate{font-size:12px;flex-wrap:wrap;gap:3px 6px}.operator-candidate small{font-size:10px}.operator-member-note{font-size:11px}.operator-dialog-footer{padding:13px 16px;gap:10px;flex-wrap:wrap}.operator-dialog-footer>span{font-size:11px}.operator-dialog-footer>div{margin-left:auto;gap:8px}.operator-dialog-footer .button{min-height:40px;font-size:12px;padding:9px 12px}.operator-conflict{padding:12px 16px;align-items:flex-start;flex-wrap:wrap;gap:8px}.operator-groups-error{padding:10px 16px;font-size:12px}.operator-summary{gap:19px 0}.operator-row .operator-member-detail{max-height:300px}.operator-ranking-toolbar .ranking-export{grid-template-columns:1fr 1fr}.operator-ranking-toolbar #refresh-operator-stats{grid-column:1/-1;justify-content:flex-start;padding-left:0}.operator-empty{padding:35px 19px}.operator-empty p{font-size:12px}.operator-dialog .checkbox-row{min-height:34px}}

.operator-batch-section{margin-top:23px;border:1px solid #dce8e5;border-radius:9px;background:#fbfefd}.operator-batch-section>summary{cursor:pointer;padding:14px 15px;color:#397e6b;font-size:13px;font-weight:600;line-height:1.8}.operator-batch-section>summary small{font-size:11px;font-weight:400;color:#8ba69b;margin-left:12px}.operator-batch-section[open]>summary{border-bottom:1px solid #e5eeeb}.operator-batch-body{padding:16px 15px}.operator-batch-body>.field{margin-bottom:15px}.operator-batch-body select{width:100%;min-height:40px;font-size:13px}.operator-batch-body textarea{width:100%;min-height:142px;font-family:inherit;font-size:13px;line-height:1.9;resize:vertical;padding:11px 12px;white-space:pre-wrap;tab-size:4}.operator-batch-body>.checkbox-row{font-size:12px;line-height:1.8}.operator-batch-help,.operator-batch-limits{font-size:11px;line-height:1.9;color:#8c9d98;margin-top:9px}.operator-batch-limits{color:#9da9a5}.operator-batch-preview{background:#eff8f3;border:1px solid #dbeee3;border-radius:6px;padding:10px 12px;margin-top:14px;color:#4f8a70;font-size:12px;line-height:1.9;overflow-wrap:anywhere}.operator-batch-preview.invalid{background:#fff8ef;border-color:#eedcc3;color:#af874f}.operator-batch-error{display:block;font-size:12px;font-weight:500;color:#b9763c;margin-top:6px}.operator-batch-moves{max-height:128px;overflow:auto;margin-top:8px;font-size:11px;color:#a58c66;line-height:1.9;overflow-wrap:anywhere}.operator-batch-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:13px}.operator-batch-actions .button{font-size:12px;min-height:37px;padding:8px 11px}.operator-batch-feedback{font-size:12px;line-height:1.9;color:#4f9979;border-top:1px solid #e0eee8;margin-top:14px;padding-top:12px;overflow-wrap:anywhere}.operator-batch-feedback.error{color:#bb7652}
@media(max-width:700px){.operator-batch-section>summary{padding:13px 12px;font-size:13px}.operator-batch-section>summary small{display:block;margin-left:17px;font-size:11px}.operator-batch-body{padding:15px 12px}.operator-batch-body textarea{font-size:14px;min-height:156px}.operator-batch-body select{font-size:14px;min-height:42px}.operator-batch-help,.operator-batch-limits{font-size:11px}.operator-batch-actions>.button:first-child{width:100%;justify-content:center;min-height:42px}.operator-batch-actions>.button:last-child{padding-left:0}.operator-batch-preview{padding:10px;font-size:12px}.operator-batch-feedback{font-size:12px}}

/* Login privacy, readable feedback, and comfortable editing on small screens. */
.login-screen{min-height:100dvh;grid-template-columns:minmax(0,1fr) minmax(0,1.06fr)}
.login-main{padding:56px 40px 80px;background:linear-gradient(145deg,#fff 55%,#f5faf9)}
.login-card{width:370px;min-width:0}.login-card>.muted{color:#74849a;line-height:1.85;margin:10px 0 32px}
.login-lock{width:48px;height:48px;border:1px solid #d8eee7;background:#ecf8f3;border-radius:13px;margin-bottom:25px}
.login-card .field{margin-bottom:23px}.login-card .field>span:first-child{display:block;margin-bottom:9px;color:#435a70}
.login-card input{min-height:48px;font-size:15px;padding:12px 14px}.login-card input::placeholder{color:#93a1b0}
.login-card .password-field input{padding-right:52px}.login-card .password-field .icon-button{width:42px;height:42px;top:3px;right:3px;border-radius:7px}
.login-card .password-field .icon-button[aria-pressed=true]{color:#087f70;background:#e9f6f1}
.login-card .login-submit{min-height:48px;margin-top:5px;border-radius:8px;padding:12px 17px}
.login-card .form-error{padding:11px 13px;margin:0 0 16px;background:#fff2f2;border:1px solid #f0d3d7;border-radius:8px;color:#b03b4b;line-height:1.85;overflow-wrap:anywhere}
.login-card .login-caps-lock{padding:8px 11px;border-radius:6px;background:#fff8e9;color:#967026;font-size:12px;margin:-10px 0 17px;line-height:1.8}
.login-footnote{align-items:flex-start;color:#8292a4;line-height:1.9;margin-top:24px}.login-footnote svg{width:15px;height:15px;margin-top:3px}
.login-version{font-size:11px;color:#96a5b4;bottom:27px}
.topbar-left,.topbar-right,.heading-actions{min-width:0}.topbar .heading-actions .button{min-height:40px}
.account-drawer{height:100dvh;max-height:100dvh;overflow:hidden}.account-drawer #account-form{min-height:0;overflow:hidden}
.drawer-body,.operator-editor-main,.operator-group-sidebar,.operator-bound-members,.operator-candidates,.log-list{overscroll-behavior:contain;scrollbar-gutter:stable}
.drawer-body{min-height:0}.drawer-heading,.drawer-footer{flex-shrink:0}.drawer-footer{padding-bottom:max(18px,env(safe-area-inset-bottom))}
.operator-dialog{overflow:hidden}.operator-editor-layout{min-height:0;overflow:hidden}.operator-group-sidebar,.operator-editor-main{min-height:0;max-height:min(590px,calc(100dvh - 245px))}
.operator-dialog-heading .icon-button,.operator-bound-member .icon-button{width:36px;height:36px}.operator-dialog-footer{background:#fff;padding-bottom:max(16px,env(safe-area-inset-bottom))}
.operator-bound-member .icon-button{margin-right:-3px}.operator-batch-help,.operator-batch-limits{color:#71877e}
@media(max-width:900px){.login-screen{grid-template-columns:1fr}.login-brand{padding:28px 32px}.login-main{min-height:calc(100dvh - 200px);padding:40px 28px 72px}.login-intro,.login-flow,.login-brand-bottom{display:none}.login-brand .brand{width:max-content}.login-brand .brand-large{font-size:18px}.login-brand .brand-large .brand-icon{width:38px;height:38px}.login-brand .brand-large small{font-size:10px}.login-lock{margin-bottom:22px}}
@media(max-width:700px){.operator-editor-layout{overflow:auto}.operator-group-sidebar,.operator-editor-main{max-height:none;overflow:visible}.operator-dialog{max-height:calc(100dvh - 20px)}.operator-dialog-heading{padding:18px}.operator-dialog-heading p{line-height:1.8}.operator-dialog-footer{padding:12px 16px max(12px,env(safe-area-inset-bottom))}.operator-dialog-footer .button{min-height:42px}.operator-bound-members,.operator-candidates{overscroll-behavior:auto}.operator-bound-member .icon-button{width:40px;height:40px}.operator-candidate{min-height:38px}.drawer-footer{padding-bottom:max(17px,env(safe-area-inset-bottom))}.ranking-page-buttons .button{min-height:40px}}
@media(max-width:600px){.login-brand{padding:23px 25px}.login-main{justify-content:flex-start;min-height:calc(100dvh - 98px);padding:43px 25px 70px}.login-card{width:min(370px,100%)}.login-card h2{font-size:26px}.login-card>.muted{font-size:13px;margin-bottom:29px}.login-card input{font-size:16px;min-height:48px}.login-card .field>span:first-child{font-size:14px}.login-card .login-submit{min-height:48px}.login-footnote{font-size:12px}.login-version{position:static;margin-top:42px}.topbar .heading-actions .button{min-height:43px}.operator-batch-body textarea{font-size:16px}.account-drawer input:not([type=checkbox]),.account-drawer textarea,.account-drawer select,.operator-dialog input:not([type=checkbox]),.operator-dialog textarea,.operator-dialog select{font-size:16px!important}}
@media(max-height:650px) and (min-width:901px){.login-main{padding-top:28px;padding-bottom:52px}.login-lock{margin-bottom:16px}.login-card>.muted{margin-bottom:21px}.login-card .field{margin-bottom:17px}.login-intro{padding-top:20px}.login-flow{padding-bottom:30px}}
