:root{font-family:Microsoft YaHei UI,PingFang SC,Noto Sans CJK SC,Arial,sans-serif;color:#071b4d;background:#fff;font-synthesis:none;--navy: #071b4d;--accent: #0667e8;--cyan: #008eb4;--border: #d9e2ef;--muted: #59708f;--surface: #fff;--surface-subtle: #f7faff}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#fff}button,input,select{font:inherit}.app-shell{min-height:100vh;background:#fff}.topbar{height:62px;display:flex;align-items:stretch;gap:58px;padding:0 28px;border-bottom:1px solid var(--border);background:#fff}.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;letter-spacing:-.3px;white-space:nowrap}.brand svg{color:var(--accent);width:24px;height:24px}.topbar nav{display:flex;align-items:stretch;gap:34px}.topbar a{position:relative;display:flex;align-items:center;padding:0 4px;color:var(--navy);text-decoration:none;font-size:15px}.topbar a.active{color:var(--accent);font-weight:600}.topbar a.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--accent)}.page{padding:12px 18px;max-width:none;margin:0 auto}h1,h2{margin:0;color:var(--navy);letter-spacing:-.4px}h1{font-size:24px;line-height:1.25}h2{font-size:20px}.panel{border:1px solid var(--border);border-radius:5px;background:var(--surface);box-shadow:0 1px 4px #0c2a5906}.create-panel{padding:18px 20px 20px}.range-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 150px;gap:14px;align-items:end;margin-top:12px}.range-form button{height:36px;background:linear-gradient(90deg,#0071b7,#008bab);border:0;font-size:14px;font-weight:600}.helper{margin:8px 0 0;color:var(--muted);font-size:12px}.form-error{margin:10px 0 0;color:#c82e2e;font-size:13px}.form-success{margin:10px 0 0;color:#087b42;font-size:13px}.history-panel{margin-top:12px;padding:16px 16px 10px}.history-panel h2{margin:0 0 12px}.task-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 82px 92px;column-gap:18px;row-gap:12px;align-items:end;margin:0 0 10px}.task-filters>button{height:34px}.table-scroll{position:relative;overflow-x:auto;border:1px solid var(--border);border-radius:4px}.data-table{width:100%;border-collapse:separate;border-spacing:0;color:#102758;font-size:12px;white-space:nowrap}.data-table th{background:#f9fbfe;color:#0e2758;font-weight:650}.data-table th,.data-table td{padding:7px 9px;border-right:1px solid #e4eaf2;border-bottom:1px solid #e4eaf2;text-align:left;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table th:last-child,.data-table td:last-child{border-right:0}.data-table tbody tr:hover td{background-color:#f8fbff}.task-table{min-width:1320px}.task-table td small{display:block;margin-top:4px;color:var(--muted)}.status{display:inline-flex;padding:3px 8px;border-radius:3px;font-weight:600}.status-queued{color:#b65000;background:#fff1df}.status-running,.status-stop_requested{color:#075fd1;background:#eaf3ff}.status-completed{color:#087b42;background:#e9f8ef}.status-failed,.status-authorization_error{color:#c83232;background:#fff0ef}.status-stopped{color:#53657e;background:#eff2f6}.progress-track{display:block;width:145px;height:4px;margin-top:5px;overflow:hidden;background:#e9edf3;border-radius:5px}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:inherit}.no-action{display:block;text-align:center;color:#8290a5}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-height:44px;color:var(--muted);font-size:13px}.pagination>span:first-child{margin-right:auto}.pagination [role=combobox]{min-width:112px}.data-state{display:flex;min-height:130px;align-items:center;justify-content:center;color:var(--muted);font-size:14px}.error-state{color:#c83232}.reports-page>h1{margin:0 0 10px}.filter-panel{padding:12px 14px}.report-filters{display:grid;grid-template-columns:repeat(9,minmax(0,1fr)) auto;column-gap:18px;row-gap:12px;align-items:end}.report-filters>*{min-width:0}.filter-actions{display:flex;gap:8px;padding-bottom:1px}.report-section{margin-top:12px;padding:10px 12px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:8px}.section-heading>div{display:flex;align-items:center;gap:18px}.section-heading span{color:var(--muted);font-size:13px}.report-scroll{max-height:350px}.report-table{min-width:1900px}.report-table th,.report-table td{padding:6px 8px}.sort-button{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;background:transparent;color:inherit;font-size:12px;font-weight:inherit;cursor:pointer;white-space:nowrap}.sort-button svg{width:13px;color:#77879c}.sort-priority{display:inline-grid;width:16px;height:16px;place-items:center;border-radius:50%;background:#e4efff;color:#0667e8;font-size:10px}.sticky-select,.sticky-key{position:sticky;z-index:2;background:#fff}th.sticky-select,th.sticky-key{z-index:4;background:#f9fbfe}.sticky-select{left:0;min-width:42px;width:42px}.first-key{left:42px;min-width:88px}.second-key{left:130px;min-width:130px}.third-key{left:260px;min-width:120px;box-shadow:4px 0 6px #0d29520d}.first-key.without-select{left:0}.summary-row{position:sticky;left:0;display:flex;gap:28px;width:100%;min-width:700px;padding:10px 14px;border-top:1px solid var(--border);background:#f8fbff;font-weight:650}.weekly-origin,.weekly-destination{width:150px;min-width:150px;max-width:150px;white-space:normal;line-height:1.3}.origin,.destination{max-width:220px;overflow:hidden;text-overflow:ellipsis}.weekly-section{padding-bottom:0}.weekly-section h2{margin:0 0 8px}.weekly-section .table-scroll{max-height:360px}.weekly-section .report-table{min-width:1120px}@media(max-width:1200px){.task-filters{grid-template-columns:repeat(3,1fr)}.report-filters{grid-template-columns:repeat(5,1fr)}}@media(max-width:767px){.topbar{height:auto;min-height:58px;padding:0 14px;gap:18px;flex-wrap:wrap}.brand{font-size:18px}.topbar nav{gap:16px;min-height:48px}.page{padding:12px}.create-panel,.history-panel{padding:18px 14px}.range-form,.task-filters,.report-filters{grid-template-columns:1fr;gap:12px}.range-form button{width:100%}.filter-actions{display:grid;grid-template-columns:1fr 1fr}.section-heading{align-items:flex-start;gap:12px}.section-heading>div{display:block}.section-heading span{display:block;margin-top:6px}.pagination{flex-wrap:wrap;justify-content:center}.pagination>span:first-child{width:100%;margin:0;text-align:center}}@media(prefers-reduced-motion:no-preference){.topbar a:after,button{transition:color .14s ease,background-color .14s ease,opacity .14s ease}}
