.dashboard-heading-actions,
.admin-dashboard-head-actions {
 display:flex;
 align-items:flex-end;
 gap:16px;
}
.dashboard-heading>div:first-child {min-width:0}
.dashboard-view-toggle {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 gap:7px;
 min-width:142px;
 min-height:36px;
 padding:9px 12px;
 border:1px solid #dce5e9;
 border-radius:8px;
 background:#fff;
 color:#263740;
 font:inherit;
 font-size:12px;
 font-weight:700;
 white-space:nowrap;
 cursor:pointer;
}
.dashboard-view-toggle:hover {background:#f1f6f8}
.dashboard-view-toggle svg {width:16px;height:16px}
.dashboard-view-toggle[hidden] {display:none}

.admin-dashboard {
 max-width:1180px;
 margin:0 0 0 max(0px,calc((100% - 2200px)/2));
 padding:24px 34px 30px;
}
.admin-dashboard-head {margin-bottom:21px}
.admin-dashboard-meta {
 display:grid;
 gap:4px;
 color:#26343c;
 font-size:11px;
 text-align:right;
 white-space:nowrap;
}
.admin-dashboard-meta span {color:#82909a}
.admin-dashboard-workspace {
 display:grid;
 grid-template-columns:minmax(0,1fr) 280px;
 align-items:start;
 gap:18px;
 min-width:0;
}
.admin-dashboard-primary,
.admin-dashboard-side {
 display:grid;
 grid-template-columns:minmax(0,1fr);
 align-content:start;
 gap:26px;
 min-width:0;
}
.admin-dashboard-side {gap:14px}
.admin-stat-grid {
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:10px;
 min-width:0;
}
.admin-stat-card,
.admin-side-panel,
.admin-position-card,
.admin-table-wrap {
 background:#fff;
 border:1px solid #e4e9ec;
 border-radius:12px;
 box-shadow:0 3px 12px #17233308,0 10px 30px #17233305;
}
.admin-stat-card {
 position:relative;
 display:flex;
 flex-direction:column;
 min-width:0;
 min-height:123px;
 padding:16px;
}
.admin-stat-card>span:first-child {
 max-width:calc(100% - 38px);
 color:#58656e;
 font-size:11px;
 font-weight:650;
 line-height:1.25;
}
.admin-stat-card strong {
 margin:10px 0 4px;
 color:#1c292f;
 font-size:29px;
 line-height:1.1;
 letter-spacing:-.055em;
}
.admin-stat-card small {color:#87929a;font-size:10px;line-height:1.35}
.admin-stat-icon {
 position:absolute;
 top:13px;
 right:13px;
 display:grid;
 place-items:center;
 width:35px;
 height:35px;
 border-radius:9px;
}
.admin-stat-icon svg {width:19px;height:19px}
.admin-stat-card.green .admin-stat-icon {background:#e7f4e9;color:#34894b}
.admin-stat-card.red .admin-stat-icon {background:#ffebec;color:#bb3a42}
.admin-stat-card.yellow .admin-stat-icon {background:#fff2d9;color:#9d6a16}
.admin-stat-card.blue .admin-stat-icon {background:#e9f2fa;color:#3a779f}
.admin-stat-track {
 height:5px;
 margin-top:auto;
 border-radius:5px;
 background:#edf1f3;
 overflow:hidden;
}
.admin-stat-track i {display:block;height:100%;border-radius:inherit;background:#4aa36a}
.admin-stat-card.red .admin-stat-track i {background:#d66b74}
.admin-stat-card.yellow .admin-stat-track i {background:#d8a844}
.admin-stat-card.blue .admin-stat-track i {background:#6fa8cc}

.admin-section {min-width:0}
.admin-collapsible-section {position:relative;margin-top:26px}
.admin-section-head,
.admin-panel-head {
 display:flex;
 justify-content:space-between;
 align-items:end;
 gap:14px;
 margin-bottom:14px;
}
.admin-section-head h2,
.admin-side-panel h2 {
 margin:0 0 4px;
 color:#182127;
 font-size:18px;
 letter-spacing:-.035em;
}
.admin-section-head p {margin:0;color:#74808a;font-size:12px}
.admin-section-head a {
 display:inline-flex;
 align-items:center;
 gap:5px;
 color:#60717b;
 font-size:12px;
 font-weight:650;
 text-decoration:none;
 white-space:nowrap;
}
.admin-section-head a:hover {text-decoration:underline}
.admin-section-head a svg {width:15px;height:15px}
.admin-collapsible-summary {list-style:none;cursor:pointer}
.admin-collapsible-summary::-webkit-details-marker {display:none}
.admin-collapsible-chevron {display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #dce5e9;border-radius:7px;background:#fff;color:#52636d}
.admin-collapsible-chevron svg {width:16px;height:16px;transition:transform .18s}
.admin-collapsible-section:not([open]) .admin-collapsible-summary {margin-bottom:0}
.admin-collapsible-section:not([open]) .admin-collapsible-chevron svg {transform:rotate(-90deg)}
.admin-collapsible-summary:hover .admin-collapsible-chevron {background:#f1f6f8}
.admin-collapsible-summary:focus-visible {outline:3px solid #578eaa;outline-offset:4px;border-radius:4px}
.admin-collapsible-toolbar {position:absolute;top:4px;right:44px;display:flex;justify-content:flex-end;align-items:center;min-height:30px}
.admin-collapsible-toolbar a {display:inline-flex;align-items:center;gap:5px;color:#60717b;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}
.admin-collapsible-toolbar a:hover {text-decoration:underline}
.admin-collapsible-toolbar a svg {width:15px;height:15px}
.admin-next-card .dashboard-next-main {min-width:0}
.admin-next-footer {justify-content:flex-end;padding-top:12px;padding-bottom:12px}
.admin-capacity {padding:14px 28px;border-top:1px solid #e8edef;background:#fff}
.admin-capacity-head,.admin-capacity-foot {display:flex;align-items:center;justify-content:space-between;gap:12px}
.admin-capacity-head small {display:block;margin-bottom:4px;color:#707c84;font-size:11px}
.admin-capacity-head strong {display:block;color:#253039;font-size:15px}
.admin-capacity-head strong span {color:#687780;font-size:12px;font-weight:600}
.admin-capacity-verdict {flex:none;padding:6px 9px;border-radius:6px;font-size:11px;font-weight:700}
.admin-capacity.enough .admin-capacity-verdict {background:#e7f4e9;color:#34894b}
.admin-capacity.tight .admin-capacity-verdict {background:#fff2d9;color:#9d6a16}
.admin-capacity.short .admin-capacity-verdict {background:#ffebec;color:#bb3a42}
.admin-capacity-track {position:relative;height:9px;margin:12px 0 8px;border-radius:9px;background:#f5dfe2}
.admin-capacity-track span {display:block;height:100%;border-radius:inherit;background:#48a36b}
.admin-capacity-track i {position:absolute;top:-3px;width:2px;height:15px;background:#263740;transform:translateX(-50%)}
.admin-capacity-foot {align-items:start;color:#71808a;font-size:10px;line-height:1.4}
.admin-capacity-foot span:first-child {min-width:0;overflow-wrap:anywhere}
.admin-capacity-foot span:last-child {flex:none}
.admin-progress {
 height:8px;
 border-radius:8px;
 background:#e9edf0;
 overflow:hidden;
}
.admin-progress i {display:block;height:100%;border-radius:inherit;background:#48a36b}
.admin-next-footer .dashboard-detail {flex:none}

.admin-position-grid {
 display:flex;
 flex-wrap:nowrap;
 gap:8px;
 min-width:0;
 max-width:100%;
 overflow-x:auto;
 padding-bottom:5px;
 scrollbar-width:thin;
 scrollbar-color:#c5d1d8 transparent;
}
.admin-position-card {
 display:flex;
 flex-direction:column;
 flex:1 0 0;
 min-width:100px;
 min-height:96px;
 padding:13px 12px;
 color:#26343c;
 text-decoration:none;
}
.admin-position-card.is-empty {background:#f1f3f4;border-color:#e2e7e9;color:#74818a;box-shadow:none}
.admin-position-card.is-empty .admin-progress {background:#dce3e6}
.admin-position-card:hover,
.admin-quick-action:hover {border-color:#b9cbd4;box-shadow:0 5px 18px #17233316}
.admin-position-card strong {display:block;overflow:hidden;line-height:1.25;font-size:11px}
.admin-position-optional {display:block;margin-top:3px;color:#88959d;font-size:9px}
.admin-position-card span {display:block;margin:auto 0 8px;color:#52636d;font-size:11px}
.admin-position-card.is-empty span {color:#82909a}
.admin-position-card .admin-progress {height:6px}
.admin-filter {color:#687983;font-size:11px;white-space:nowrap}
.admin-filter select {
 max-width:190px;
 margin-left:5px;
 padding:7px 8px;
 border:1px solid #dce3e7;
 border-radius:7px;
 background:#fff;
 color:#344b57;
 font:inherit;
}
.admin-table-wrap {min-width:0;overflow:hidden}
.admin-games-table {width:100%;border-collapse:collapse;text-align:left;font-size:11px}
.admin-games-table th {padding:11px;color:#697e8a;background:#f7f9fa;font-size:10px;font-weight:800;white-space:nowrap}
.admin-games-table td {padding:9px 11px;border-top:1px solid #edf0f2;white-space:nowrap}
.admin-games-table tbody tr:hover {background:#f7fafb}
.admin-games-table td a {color:#253b47;font-weight:700;text-decoration:none}
.admin-games-table td a:hover {text-decoration:underline}
.admin-table-date {display:grid;place-items:center;width:39px;height:39px;border-radius:7px;background:#f2f5f7;line-height:1;color:#60727e}
.admin-table-date small {font-size:9px;font-weight:700}
.admin-table-date strong {font-size:13px}
.admin-team {display:flex;align-items:center;gap:8px}
.admin-team img {width:28px;height:28px;object-fit:contain}
.admin-status {display:inline-block;padding:6px 8px;border-radius:6px;font-size:10px;font-weight:700;white-space:nowrap}
.admin-status.critical {background:#ffebec;color:#bb3a42}
.admin-status.partial {background:#fff2d9;color:#9d6a16}
.admin-status.complete {background:#e7f4e9;color:#34894b}
.admin-table-foot {margin:0;padding:11px 14px;border-top:1px solid #edf0f2;color:#82909a;font-size:10px}
.admin-games-mobile {display:none}

.admin-side-panel {min-width:0;padding:16px}
.admin-side-panel h2 {font-size:15px}
.admin-panel-head {align-items:center;margin-bottom:8px}
.admin-panel-head h2 {margin:0}
.admin-activities-panel {display:flex;flex-direction:column;height:var(--admin-next-card-height,253px)}
#adminActivities {flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin}
@media(min-width:1251px) {
 .admin-dashboard-workspace {align-items:stretch}
 .admin-dashboard-side {align-content:space-between}
}
.admin-quick-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.admin-quick-action {
 display:flex;
 flex-direction:column;
 align-items:start;
 min-width:0;
 min-height:105px;
 padding:11px;
 border:1px solid #e5ebee;
 border-radius:8px;
 color:#25333a;
 text-decoration:none;
}
.admin-quick-action svg {width:18px;height:18px;margin-bottom:10px;color:#3a779f}
.admin-quick-action strong {font-size:11px;line-height:1.25}
.admin-quick-action small {margin-top:4px;color:#83949f;font-size:10px;line-height:1.3}
.admin-count-dot {display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#ed5063;color:#fff;font-size:10px}
.admin-task,
.admin-activity {display:flex;align-items:start;gap:10px;padding:11px 0;border-top:1px solid #edf1f2;font-size:11px}
.admin-task:first-child,
.admin-activity:first-child {border-top:0}
.admin-task a {color:#283c46;font-weight:700;text-decoration:none}
.admin-task>div {min-width:0;overflow-wrap:anywhere}
.admin-task a:hover {text-decoration:underline}
.admin-task small,
.admin-activity small {display:block;margin-top:3px;color:#83939e;font-size:10px;line-height:1.4}
.admin-task-dot {flex:none;width:8px;height:8px;margin-top:3px;border-radius:50%;background:#f0b63e}
.admin-task-dot.critical {background:#ec6673}
.admin-activity strong {display:block}
.admin-empty-small {margin:0;padding:8px 0;color:#83939e;font-size:11px}

@media(max-width:1250px) {
 .admin-dashboard-workspace {grid-template-columns:minmax(0,1fr)}
 .admin-dashboard-side {grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-dashboard-side>.admin-side-panel:first-child {grid-column:1/-1}
 #adminQuickActions[hidden]+.admin-side-panel {grid-column:1/-1}
 .admin-quick-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:900px) {
 .admin-stat-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-dashboard-meta {display:none}
}
@media(max-width:1100px) {
 .admin-dashboard {padding:20px}
 .dashboard-heading-actions,
 .admin-dashboard-head-actions {align-self:flex-start}
 .admin-mobile-game {
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
  padding:11px;
  border-top:1px solid #edf0f2;
  color:#26343c;
  text-decoration:none;
 }
 .admin-mobile-game:first-child {border-top:0}
 .admin-mobile-game:hover {background:#f9fbfb}
 .admin-mobile-game .dashboard-date {width:46px;height:51px;flex:none}
 .admin-mobile-game .dashboard-date strong {font-size:17px}
 .admin-mobile-game .dashboard-date span {font-size:9px}
 .admin-mobile-game .dashboard-team-logo {width:37px;height:37px;flex:none;font-size:12px}
 .admin-mobile-game-info {display:flex;flex:1;flex-direction:column;gap:3px;min-width:0}
 .admin-mobile-game-info strong {overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
 .admin-mobile-game-info small {color:#82909a;font-size:10px}
 .admin-mobile-game .admin-status {max-width:75px;white-space:normal;text-align:center}
}
@media(max-width:950px) {
 .admin-games-table {display:none}
 .admin-games-mobile {display:block}
}
@media(max-width:760px) {
 .admin-dashboard {padding:18px 15px}
 .admin-dashboard-head {align-items:start}
 .dashboard-heading-actions .dashboard-all-link {display:none}
 .admin-dashboard-side {grid-template-columns:minmax(0,1fr)}
 .admin-dashboard-side>.admin-side-panel:first-child {grid-column:auto}
 #adminQuickActions[hidden]+.admin-side-panel {grid-column:auto}
 .admin-quick-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-stat-card {min-height:125px}
 .admin-section-head {flex-wrap:wrap}
}
@media(max-width:600px) {
 .admin-dashboard-head-actions {flex:none}
 .admin-dashboard-head .dashboard-view-toggle {padding:8px;font-size:11px}
 .admin-capacity {padding:12px 16px}
 .admin-capacity-head {align-items:start;flex-direction:column;gap:8px}
 .admin-capacity-foot {flex-wrap:wrap;gap:3px 12px}
 .admin-collapsible-toolbar {position:static;margin-bottom:10px}
 .admin-stat-grid {gap:8px}
 .admin-stat-card {padding:12px}
 .admin-stat-card>span:first-child {font-size:10px}
 .admin-stat-card strong {font-size:27px}
 .admin-stat-card small {font-size:10px}
 .admin-stat-icon {width:31px;height:31px;top:10px;right:10px}
 .admin-stat-icon svg {width:17px;height:17px}
 .admin-next-footer {align-items:stretch;flex-direction:column}
 .admin-next-footer .dashboard-detail {justify-content:center}
 .admin-position-card {flex:0 0 138px;min-width:138px;padding:12px}
 .admin-section-head h2 {font-size:18px}
}
@media(max-width:400px) {
 .admin-dashboard-head .dashboard-view-toggle {font-size:10px}
 .admin-mobile-game {gap:7px;padding:9px 7px}
 .admin-mobile-game .dashboard-team-logo {width:31px;height:31px}
 .admin-mobile-game .admin-status {font-size:9px;padding:5px}
}
