.order-page {--bg:#0d121d;--panel:#141c2a;--raised:#1b2536;--ink:#edf1fa;--sub:#95a4be;--line:#293448;--accent:#8292ff;--soft:#232d4c;--green:#68dbb1;--gold:#f2c66e;--blue:#72b7fa;--purple:#b79aff;--red:#fc8096;color:var(--ink);font:13px/1.45 Inter,"Segoe UI",sans-serif;width:100%;max-width:1600px;margin-inline:auto;padding:0;display:block;box-sizing:border-box}
/* Approved 01 · Порядок. Scoped to the statistics page; other screens retain their layout. */
.order-page button,.order-page select {font:inherit}
.order-page button {min-height:0}
.order-page .eyebrow {color:var(--sub);font-size:11px;letter-spacing:1.4px;text-transform:uppercase;font-weight:650}
.order-page h1 {font-size:27px;line-height:1.2;letter-spacing:-.8px;margin:7px 0 8px;font-weight:700}
.order-page h2 {font-size:14px;margin:0;font-weight:650}
.order-page p {margin:0;color:var(--sub);font-size:12px}
.order-page .heading {display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:22px}
.order-page .period {display:flex;background:var(--panel);padding:4px;border:1px solid var(--line);border-radius:9px;flex-shrink:0}
.order-page .period button {padding:5px 9px;color:var(--sub);font-size:11px;white-space:nowrap;background:none;border:0;border-radius:5px}
.order-page .period button.on {background:var(--raised);color:var(--ink)}
.order-page #st-link {display:flex;align-items:center;gap:7px;font-size:11px;color:var(--sub);margin:0 0 20px}
.order-page .st-linked {font-size:11px;padding:0;gap:7px}
.order-page .st-linked i {width:6px;height:6px;background:var(--green)}
.order-page #st-link button {margin-left:auto;color:var(--sub);font-size:11px;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:0}
.order-page .stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:23px}
.order-page .stat {padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:11px;min-width:0}
.order-page .take-counts {display:grid;grid-template-columns:1fr 1fr;gap:12px;font-variant-numeric:tabular-nums}
.order-page .take-label {display:block;color:var(--sub);font-size:11px;line-height:1.4;font-weight:400;letter-spacing:0;margin-bottom:2px}
.order-page .statlabel {font-size:11px;color:var(--sub);display:flex;justify-content:space-between;gap:5px}
.order-icon {display:inline-flex;width:16px;height:16px;flex-shrink:0;background:currentColor;mask:var(--ico) center/contain no-repeat}
.order-page .value {font-size:25px;font-weight:650;letter-spacing:-.6px;margin:10px 0 4px;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-page .value.z-green,.order-page .value.z-yellow,.order-page .value.z-red {color:var(--z)}
.order-page .stat small {color:var(--sub);font-size:11px;display:block;overflow-wrap:anywhere}
.order-page .value em {font-style:normal;font-size:14px;font-weight:400;color:var(--sub)}
.order-page .sectionline {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}
.order-page .count {font-size:11px;color:var(--sub)}
.order-page .filters {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.order-page .filters label,.order-page .st-f {color:var(--sub);display:flex;align-items:center;gap:6px;font-size:11px;background:none;border:0;padding:0;min-width:0}
.order-page select,.order-page .st-pick {background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:8px 26px 8px 10px;min-width:0;font-size:11px;font-weight:400}
.order-page .st-pick {padding-right:10px}
.order-page .st-title-pick {max-width:260px;min-width:196px;display:inline-flex;gap:0;padding:8px 10px}
.order-page #st-pick {min-width:88px}
.order-page #st-sort {max-width:180px}
.order-page .st-title-pick>.st-cover,.order-page .st-title-pick>.st-all-ico {display:none}
.order-page .st-title-pick .st-pick-text {max-width:210px}
.order-page .st-pick-menu {background:var(--panel);border-color:var(--line);max-width:min(340px,calc(100vw - 40px));min-width:240px}
.order-page .filters .st-pick-row {display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:6px 8px;font-size:12px;flex:none}
.order-page .st-pick-row input[type="checkbox"] {flex:0 0 16px;width:16px;min-width:16px;height:16px;margin:0;padding:0}
.order-page .st-pick-row .st-face {flex-shrink:0}
.order-page .st-pick-row > span:last-child {min-width:0;flex:1;text-align:left;overflow-wrap:anywhere}
.order-page .st-pick-menu .order-search {display:block;box-sizing:border-box;width:100%;min-width:0;flex:none;margin:0 0 8px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:var(--bg);color:var(--ink);font:inherit;font-size:12px}
.order-page .st-pick-menu [hidden] {display:none!important}
.order-page .st-pick-menu .search-empty {padding:10px 8px}
.order-page .datawrap {overflow-x:auto;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
.order-page .order-table {width:100%;min-width:570px;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.order-page .order-table th {font-size:11px;letter-spacing:.3px;font-weight:500;text-align:right;color:var(--sub);padding:12px 14px;border-bottom:1px solid var(--line);background:var(--bg)}
.order-page .order-table th:first-child {text-align:left;width:39%}
.order-page .order-table th:nth-child(2) {width:17%}
.order-page .order-table th:nth-child(3) {width:19%}
.order-page .order-table th:nth-child(4) {width:11%}
.order-page .order-table th:nth-child(5) {width:14%}
.order-page .order-table td {padding:16px 14px;text-align:right;vertical-align:middle;border-bottom:1px solid var(--line);font-size:12px;color:var(--ink);overflow-wrap:anywhere}
.order-page .order-table td:first-child {text-align:left;position:relative}
.order-page .order-table tbody:last-child tr:last-child td {border-bottom:0}
.order-page .order-table td strong {font-weight:650}
.order-page .order-table td small {display:block;font-size:11px;color:var(--sub);margin-top:4px}
.order-page .entity {display:flex;gap:9px;align-items:center;min-width:0}
.order-page .entity-text {min-width:0;overflow-wrap:anywhere}
.order-page .entity b,.order-page .entity-name {font-size:12px;font-weight:600}
.order-page .entity-name {background:none;color:var(--ink);border:0;padding:0;text-align:left}
.order-page .entity-name:hover {color:var(--accent)}
.order-page .entity small {font-size:11px}
.order-page .st-face {width:30px;height:30px;flex:0 0 30px;background:var(--soft)!important;color:var(--accent);border:1px solid var(--line);font-weight:700}
.order-page .order-cover {height:36px;width:26px;flex:0 0 26px;border-radius:4px;font-size:11px;font-weight:400;background:linear-gradient(145deg,#53382b,#cb8b54)!important;color:#ffe4c4}
.order-page .chapter {width:27px;height:27px;background:var(--raised);color:var(--sub);border-radius:6px;display:grid;place-items:center;flex-shrink:0}
.order-page .level2 {padding-left:12px}
.order-page .series-toggle {position:relative;width:100%;background:none;border:0;border-radius:0;color:inherit;font:inherit;text-align:left;cursor:pointer;padding-top:0;padding-right:0;padding-bottom:0}
.order-page .series-chevron {position:absolute;left:-6px;color:var(--sub);width:14px;text-align:center}
.order-page .series-toggle:hover .entity-text b {color:var(--accent)}
.order-page .series-toggle:focus-visible {outline:2px solid var(--accent);outline-offset:4px}
.order-page .level3 {padding-left:28px}
.order-page .person td {background:var(--raised)}
.order-page .status {display:inline-block;color:var(--gold);background:color-mix(in srgb,var(--gold) 10%,transparent);padding:4px 7px;border-radius:5px;font-size:11px;white-space:nowrap}
.order-page .status.done {color:var(--green);background:color-mix(in srgb,var(--green) 10%,transparent)}
.order-page .order-table .taken {color:var(--ink);font-size:15px;font-weight:650}
.order-page .dash {color:var(--sub)}
.order-page .mini-track {height:3px;background:var(--raised);margin-top:6px;border-radius:4px;overflow:hidden}
.order-page .mini-track i {display:block;height:100%;background:var(--green)}
.order-page .expand {background:none;color:var(--sub);border:0;padding:2px 4px;font:inherit}
.order-page .column-sort {display:block;width:100%;border:0;background:none;color:inherit;font:inherit;text-align:inherit;padding:0;cursor:pointer}
.order-page .column-sort:hover,.order-page th[aria-sort="ascending"],.order-page th[aria-sort="descending"] {color:var(--accent)}
.order-page .column-sort:disabled {cursor:default;color:var(--sub)}
.order-page .row-action {position:static;display:inline-block;font-size:10px;padding:0;margin-left:8px;opacity:0}
.order-page #st-link #st-unlink {display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border:1px solid var(--line);border-radius:8px;background:var(--raised);color:var(--ink);font-size:12px;font-weight:500;text-decoration:none;cursor:pointer}
.order-page #st-link #st-unlink:hover {border-color:var(--red);color:var(--red)}
.order-page tr:hover .row-action,.order-page tr:focus-within .row-action {opacity:1}
.order-page .st-kpd {font-size:12px;font-weight:650;gap:4px;white-space:nowrap}
.order-page .st-kpd i {width:5px;height:5px}
.order-page .details {margin-top:14px;border:1px solid var(--line);background:var(--panel);border-radius:10px;padding:15px 16px}
.order-page .detailhead {display:flex;justify-content:space-between;gap:10px;font-size:11px;color:var(--sub);margin-bottom:13px}
.order-page .detailhead strong {color:var(--ink);font-weight:500}
.order-page .timeline {display:flex;height:7px;gap:2px;border-radius:5px;overflow:hidden;background:var(--raised)}
.order-page .timeline span {display:block;min-width:0}
.order-page .legend {display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;color:var(--sub);font-size:11px}
.order-page .legend span {display:flex;align-items:center;gap:5px}
.order-page .legend s {width:6px;height:6px;border-radius:2px;display:inline-block;text-decoration:none}
.order-page .st-c-record {background:var(--green)} .order-page .st-c-listen {background:var(--gold)} .order-page .st-c-other {background:var(--blue)} .order-page .st-c-render {background:var(--purple)} .order-page .st-c-idle {background:var(--red)}
.order-page .z-green {--z:var(--green)} .order-page .z-yellow {--z:var(--gold)} .order-page .z-red {--z:var(--red)}
.order-page .empty {margin-top:17px;display:flex;gap:10px;color:var(--sub);align-items:center;padding:14px 0;border-top:1px solid var(--line);font-size:11px}
.order-page .empty strong {font-weight:500;color:var(--ink)}
.order-page .footerline {display:flex;justify-content:space-between;gap:10px;color:var(--sub);font-size:11px;margin-top:14px}
.order-page #st-rating {border:0;background:none;border-radius:0}
.order-page #st-rating:not(:has(.empty)) {margin-top:17px;border:1px solid var(--line);border-radius:11px;background:var(--panel)}
.order-page .st-rate {grid-template-columns:28px 30px minmax(0,1fr) minmax(70px,1fr) 75px 120px;padding:12px 14px;gap:9px}
.order-page .st-rate-name {font-size:12px}
.order-page .st-rate-vol {font-size:11px}
.order-page .st-place {font-size:12px;background:var(--raised)!important;color:var(--sub)!important}
.order-page .st-rate.me {background:var(--soft)}
.order-page #st-live-sec {margin-bottom:23px}
.order-page .st-live {grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.order-page .st-lc {border-radius:11px;background:var(--panel);padding:16px}
.order-page .st-lc-timer {font-size:25px;font-weight:650;letter-spacing:-.6px}
.order-page .st-connect {margin-bottom:20px;background:var(--panel);border:1px solid var(--line);border-radius:11px}
.order-page button:focus-visible,.order-page .datawrap:focus-visible {outline:2px solid var(--accent);outline-offset:2px}
.order-page .no-time {margin-top:10px;font-size:11px}
@media(max-width:800px){
 .order-page .heading{flex-wrap:wrap}.order-page .stats{gap:7px}.order-page .stat{padding:12px 10px}.order-page .value{font-size:21px}
 .order-page .st-rate{grid-template-columns:28px 30px minmax(0,1fr) 75px}.order-page .st-rate-track,.order-page .st-rate-vol{display:none}
}
@media(max-width:520px){
 .order-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .order-page #st-link{flex-wrap:wrap}.order-page #st-link button{margin-left:0}
 .order-page .footerline{flex-wrap:wrap}.order-page .filters label,.order-page .filters .st-f{flex:1 1 100%}.order-page .filters select,.order-page .filters .st-pick{flex:1;max-width:none}
 .order-page .count{max-width:45%;text-align:right}.order-page .st-pick-menu{min-width:220px}
 .order-page #st-sort{max-width:none}
 .order-page .row-action{opacity:1}
}
/* Approved scale layout, retaining actual API controls and permissions. */
.order-page .scale-top{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:24px;align-items:stretch}
.order-page .scale-top .stats{display:block;width:245px;max-width:100%;margin:0}
.order-page .scale-reaper{box-sizing:border-box;width:350px;max-width:100%;margin-left:auto;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.order-page .scale-reaper-head{display:flex;justify-content:space-between;gap:12px;font-size:12px}
.order-page .scale-reaper-head span,.order-page #st-online-names{color:var(--sub);font-size:11px}
.order-page #st-online-names{display:block;margin-top:4px}
.order-page #st-link{margin:12px 0 0;flex-wrap:wrap;gap:8px}
.order-page #st-link button,.order-page #st-link #st-unlink{padding:7px 10px;border:1px solid var(--line);border-radius:8px;background:var(--raised);color:var(--ink);text-decoration:none;font-size:12px}
.order-page .filters{align-items:center}
.order-page #st-search{flex:1 1 280px;min-width:0;background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:8px;padding:9px 11px;font:inherit}
.order-page #st-collapse-all{padding:9px 11px;background:var(--panel);border:1px solid var(--line);border-radius:8px;color:var(--ink);white-space:nowrap}
.order-page .order-table{min-width:980px}
.order-page .order-table th{width:auto!important;letter-spacing:0}
.order-page .order-table th:nth-child(2){text-align:left}
.order-page .order-table td{padding:8px 12px}
.order-page .order-table .scale-person td,.order-page .order-table .scale-title td{padding-block:6px}
.order-page .order-table td small{margin-top:2px}
.order-page .scale-entry{display:flex;align-items:center;gap:9px;width:100%;padding:0 0 0 calc(var(--level)*14px);border:0;background:none;text-align:left;color:inherit;font:inherit;min-height:31px}
.order-page .scale-arrow{flex:0 0 10px;width:10px;color:var(--sub)}
.order-page .scale-entry .entity-text{white-space:normal}
.order-page .scale-date{padding-left:calc(var(--level)*14px + 19px)}
.order-page .row-action{opacity:1;position:static;font-size:11px}
.order-page .scale-bar{display:flex;width:100%;height:8px;border-radius:4px;overflow:hidden;background:var(--raised);margin-bottom:7px}
.order-page .scale-bar span{display:block;height:100%;min-width:0}
.order-page .scale-parts{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;font-size:11px;line-height:1.35}
.order-page .scale-parts>div{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:2px 5px;align-items:baseline;text-align:left}
.order-page .scale-parts span{color:var(--sub);white-space:nowrap}
.order-page .scale-parts strong{font-weight:500;white-space:nowrap}
.order-page .scale-parts i{display:inline-block;width:5px;height:5px;border-radius:2px;margin-right:5px}
.order-page .scale-parts .part-idle span,.order-page .scale-parts .part-idle strong{color:var(--red)}
.order-page .scale-kpd{color:var(--z)}
.order-page .scale-more button{background:none;border:0;color:var(--accent);font-size:12px;padding:5px 0}
.order-page .scale-bottom{margin-top:12px;font-size:11px}
.order-page .scale-rating{margin-top:18px;color:var(--sub);font-size:12px}
@media(max-width:520px){.order-page .scale-top .stats,.order-page .scale-reaper{width:100%;margin-left:0}.order-page #st-search{font-size:16px;flex-basis:100%}.order-page .filters .st-f,.order-page .filters label{flex:1 1 130px}.order-page .st-title-pick{min-width:0}}

.order-page .scale-person td{background:var(--raised)}