:root {
  --bg: #f4f5f8;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #171923;
  --muted: #737784;
  --line: #e6e8ed;
  --accent: #d9232e;
  --accent-2: #ef3e47;
  --accent-soft: #fff0f1;
  --green: #16a46a;
  --green-soft: #e6f7f0;
  --orange: #ef8c2f;
  --orange-soft: #fff2e2;
  --red: #d94b5b;
  --red-soft: #ffebee;
  --blue: #2e72da;
  --blue-soft: #e8f1ff;
  --shadow: 0 16px 45px rgba(22, 27, 45, 0.08);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.app-shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.theme-light { --bg:#f6f4f3; --surface:#fff; --surface-2:#faf8f7; --ink:#211e20; --muted:#777176; --line:#e9e3e3; --accent:#d9232e; --accent-2:#ef3e47; --accent-soft:#fff0f1; }
.theme-dark { --bg:#211b1d; --surface:#2d2528; --surface-2:#352b2e; --ink:#f7f1f2; --muted:#b9adb0; --line:#493b3f; --accent:#ff4b54; --accent-2:#ff6971; --accent-soft:#4a272d; color-scheme:dark; }
.theme-light .main, .theme-dark .main { background:var(--bg); color:var(--ink); }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 264px;
  display: flex;
  flex-direction: column;
  padding: 24px 16px 18px;
  color: #fff;
  background: linear-gradient(165deg,#c91522,#8f101a);
}
.theme-dark .sidebar { background:linear-gradient(165deg,#681923,#42151b); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0 9px 24px; }
.brand-logo { width:40px;height:40px;object-fit:contain;border-radius:10px;background:rgba(255,255,255,.12); }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  background: linear-gradient(145deg, #ff7379, #c91522);
  box-shadow: 0 8px 24px rgba(97,8,15,.3);
  font-weight: 800; font-size: 19px;
}
.brand-name { font-size: 17px; line-height: 1.05; font-weight: 800; letter-spacing: .01em; }
.brand-sub { margin-top: 4px; color: rgba(255,255,255,.58); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.nav-label { margin: 13px 12px 8px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nav { display: grid; gap: 4px; }
.nav-item {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.72);
  font-size: 13px; font-weight: 650; text-align: left; transition: .18s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.055); }
.nav-item.active { color: #fff; background: rgba(255,255,255,.16); }
.nav-item.active::before { content: ""; position: absolute; left: -16px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: #fff; }
.nav-icon { display: grid; place-items: center; width: 19px; height: 19px; opacity: .9; }
.nav-icon svg { width: 18px; height: 18px; stroke-width: 1.8; }
.nav-badge { margin-left: auto; min-width: 23px; padding: 3px 6px; border-radius: 20px; background: #312947; color: #bdaeff; font-size: 10px; text-align: center; }
.sidebar-bottom { margin-top: auto; padding-top: 16px; }
.test-mode { margin-bottom: 12px; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 14px; background: rgba(255,255,255,.035); }
.test-mode-title { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: #8e93a4; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.test-mode-title span { width: 7px; height: 7px; border-radius: 50%; background: #46d99a; box-shadow: 0 0 10px #46d99a; }
.side-select { width: 100%; padding: 8px 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; outline: none; background: #181c29; color: #d8dbe5; font-size: 11px; }
.side-select + .side-select { margin-top: 6px; }
.network-access { margin-top:6px;padding:8px 9px;border:1px solid rgba(255,255,255,.12);border-radius:8px;color:#fff;background:rgba(255,255,255,.08);font-size:10px;text-align:center; }
.server-account { margin-bottom:12px;padding:12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.05); }
.side-logout { display:flex;align-items:center;gap:8px;width:100%;padding:8px 9px;border:0;border-radius:8px;color:#fff;background:rgba(255,255,255,.09);font-size:10px; }
.side-logout svg { width:14px; }
.side-user { display: flex; align-items: center; gap: 10px; padding: 11px 9px 2px; }
.avatar { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, #bdadff, #6548f5); color: #fff; font-size: 12px; font-weight: 800; }
.avatar.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 10px; }
.avatar.lg { width: 72px; height: 72px; border-radius: 22px; font-size: 20px; }
.side-user-name { color: #fff; font-size: 11px; font-weight: 750; }
.side-user-role { margin-top: 3px; color: #777c8e; font-size: 9px; }

.main { grid-column: 2; min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 0 34px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb,var(--bg) 88%,transparent); backdrop-filter: blur(14px);
}
.mobile-menu { display: none; border: 0; background: none; }
.global-search { position: relative; flex: 1; max-width: 540px; }
.global-search input {
  width: 100%; height: 42px; padding: 0 42px;
  border: 1px solid transparent; border-radius: 12px; outline: none;
  background: var(--surface); color: var(--ink); box-shadow: 0 2px 8px rgba(20,24,40,.03);
  font-size: 12px; transition: .2s;
}
.global-search input:focus { border-color: #b7a9ff; box-shadow: 0 0 0 3px var(--accent-soft); }
.global-search svg { position: absolute; top: 13px; left: 15px; width: 16px; color: #9a9eaa; }
.keycap { position: absolute; top: 10px; right: 11px; padding: 4px 7px; border: 1px solid #e5e6eb; border-radius: 6px; color: #a0a3ad; background: #fafafa; font-size: 9px; }
.top-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.club-chip { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 10px; font-weight: 700; }
.club-dot { width: 7px; height: 7px; border-radius: 50%; background: #28bc7d; }
.icon-btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--muted); }
.icon-btn svg { width: 17px; }
.content { width: 100%; max-width: 1500px; margin: 0 auto; padding: 31px 34px 60px; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.eyebrow { margin-bottom: 7px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h1 { margin: 0; font-size: 27px; line-height: 1.15; letter-spacing: -.035em; }
.page-sub { margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.head-actions { display: flex; align-items: center; gap: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); font-size: 11px; font-weight: 750; transition: .18s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(20,24,40,.07); }
.btn.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn.danger { border-color: #f5cbd0; color: var(--red); background: #fff6f7; }
.btn.sm { min-height: 32px; padding: 0 10px; border-radius: 8px; font-size: 10px; }
.btn svg { width: 15px; height: 15px; }

.grid { display: grid; gap: 18px; }
.dashboard-grid { grid-template-columns: 1.7fr 1fr; }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 16px rgba(27,31,48,.025); }
.card-pad { padding: 22px; }
.hero {
  position: relative; overflow: hidden; min-height: 224px; padding: 29px;
  color: #fff; border: 0;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 143, 149, .5), transparent 20%),
    radial-gradient(circle at 60% 120%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(125deg, #7d131b, #dc2531);
}
.hero::after {
  content: ""; position: absolute; right: -45px; bottom: -95px; width: 270px; height: 270px;
  border: 46px solid rgba(255,255,255,.055); border-radius: 50%;
}
.hero-kicker { color: #bfb2ff; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero h2 { position: relative; z-index: 1; max-width: 470px; margin: 14px 0 11px; font-size: 29px; line-height: 1.17; letter-spacing: -.04em; }
.hero p { position: relative; z-index: 1; max-width: 470px; margin: 0; color: #d2cff0; font-size: 11px; line-height: 1.65; }
.hero .btn { position: relative; z-index: 1; margin-top: 20px; border: 0; color: #4f37c5; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.section-title { margin: 0; font-size: 14px; letter-spacing: -.015em; }
.link-btn { border: 0; background: transparent; color: var(--accent); font-size: 10px; font-weight: 750; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; margin: 18px 0; }
.stat { padding: 17px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.stat-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.stat-icon svg { width: 16px; }
.stat-icon.purple { color: var(--accent); background: var(--accent-soft); }
.stat-icon.green { color: var(--green); background: var(--green-soft); }
.stat-icon.orange { color: var(--orange); background: var(--orange-soft); }
.stat-icon.blue { color: var(--blue); background: var(--blue-soft); }
.stat-value { margin-top: 16px; font-size: 23px; font-weight: 800; letter-spacing: -.04em; }
.stat-label { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 600; }
.stat-note { color: var(--green); font-size: 8px; font-weight: 750; }
.list { display: grid; }
.list-row { display: flex; align-items: center; gap: 13px; min-height: 61px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: 0; }
.row-icon { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border-radius: 12px; color: var(--accent); background: var(--accent-soft); font-weight: 800; font-size: 12px; }
.row-main { min-width: 0; flex: 1; }
.row-title { overflow: hidden; color: #2c2f38; font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.row-meta { display: flex; align-items: center; gap: 8px; margin-top: 5px; color: #9699a4; font-size: 9px; }
.row-side { text-align: right; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 7px; background: #f1f2f5; color: #696d78; font-size: 8px; font-weight: 750; white-space: nowrap; }
.tag.purple { background: var(--accent-soft); color: var(--accent); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.orange { background: var(--orange-soft); color: #ce6d17; }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.progress { height: 6px; overflow: hidden; border-radius: 9px; background: #eceef2; }
.progress > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), #997fff); }
.onboarding-card { padding: 22px; background: linear-gradient(145deg, #fff, #faf9ff); }
.onboarding-top { display: flex; align-items: center; gap: 13px; margin-bottom: 19px; }
.progress-ring { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: conic-gradient(var(--accent) 72%, #ece9fb 0); }
.progress-ring::before { content: ""; position: absolute; width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.progress-ring b { position: relative; font-size: 9px; }
.compact-task { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.task-check { display: grid; place-items: center; flex: 0 0 auto; width: 18px; height: 18px; border: 1px solid #d9dbe2; border-radius: 6px; color: transparent; font-size: 10px; }
.task-check.done { border-color: var(--green); color: #fff; background: var(--green); }
.task-title { font-size: 10px; font-weight: 700; }
.task-meta { margin-top: 3px; color: var(--muted); font-size: 8px; }
.announcement { padding: 18px 20px; border-left: 3px solid var(--orange); background: #fffaf4; }
.announcement h3 { margin: 0 0 7px; font-size: 11px; }
.announcement p { margin: 0; color: #7d756b; font-size: 9px; line-height: 1.6; }

.toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.search-field { position: relative; flex: 1; }
.search-field input { width: 100%; height: 42px; padding: 0 14px 0 39px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fff; font-size: 11px; }
.search-field input:focus { border-color: #b9abff; box-shadow: 0 0 0 3px var(--accent-soft); }
.search-field svg { position: absolute; left: 14px; top: 13px; width: 15px; color: #9699a3; }
.filter { height: 42px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 11px; outline: none; background: #fff; color: #535762; font-size: 10px; }
.view-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.view-switch button { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: #9a9da6; }
.view-switch button.active { background: #f0edff; color: var(--accent); }
.view-switch svg { width: 14px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.content-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 200px; padding: 20px; transition: .2s; }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.article-card { padding: 0; }
.content-card-body { display: flex; flex: 1; flex-direction: column; padding: 17px 19px 19px; }
.content-cover { display: grid; place-items: center; width: 100%; height: 122px; background-position: center; background-size: cover; }
.placeholder-cover { color: #8c79ee; background: linear-gradient(135deg,#eeeaff,#ded7ff); }
.placeholder-cover svg { width: 34px; height: 34px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.category-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.content-card h3 { margin: 17px 0 8px; font-size: 13px; line-height: 1.4; }
.content-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.card-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 17px; color: #9b9ea8; font-size: 8px; }
.card-footer svg, .meta-icon { width: 13px; height: 13px; flex: 0 0 auto; }
.meta-icon { display: inline-flex; }
.meta-icon svg { width: 100%; height: 100%; }
.card-footer .tag { margin-left: auto; }
.read-state { margin-left: auto; color: #9a9da7; font-weight: 700; }
.read-state.read { color: var(--green); }
.guide-card { padding: 0; }
.guide-cover { position: relative; min-height: 105px; padding: 18px; color: #fff; background: linear-gradient(135deg, #272240, #7259ef); }
.guide-cover.has-cover { min-height: 135px; background-position: center; background-size: cover; }
.guide-cover.green { background: linear-gradient(135deg, #153c36, #21a579); }
.guide-cover.orange { background: linear-gradient(135deg, #4a2b20, #df7b31); }
.guide-cover.blue { background: linear-gradient(135deg, #192b4d, #3475cf); }
.guide-number { position: absolute; right: 14px; bottom: -9px; color: rgba(255,255,255,.13); font-size: 70px; line-height: .8; font-weight: 800; }
.guide-body { display: flex; flex: 1; flex-direction: column; padding: 18px; }
.guide-body h3 { margin-top: 4px; }
.steps { color: #bbb0ff; font-size: 9px; font-weight: 700; }
.empty { grid-column: 1 / -1; padding: 70px 20px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: auto; border-radius: 18px; background: var(--accent-soft); color: var(--accent); font-size: 23px; }
.empty h3 { margin: 17px 0 7px; font-size: 14px; }
.empty p { margin: 0; color: var(--muted); font-size: 10px; }

.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.game-card { overflow: hidden; padding: 0; }
.game-art { position: relative; display: flex; align-items: flex-end; height: 150px; padding: 15px; color: #fff; background: var(--game-bg, linear-gradient(135deg,#292344,#7159ed)); }
.game-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(8,10,16,.78)); }
.game-monogram { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: rgba(255,255,255,.22); font-size: 53px; font-weight: 800; letter-spacing: -.08em; }
.platform-badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 7px; border-radius: 7px; background: rgba(10,12,18,.62); backdrop-filter: blur(8px); font-size: 8px; font-weight: 800; }
.game-art h3 { position: relative; z-index: 1; margin: 0; font-size: 14px; }
.game-body { padding: 14px 15px 16px; }
.game-info { display: flex; flex-wrap: wrap; gap: 6px; }
.game-footer { display: flex; align-items: center; margin-top: 13px; color: var(--muted); font-size: 8px; }
.availability { display: flex; align-items: center; gap: 5px; margin-left: auto; color: var(--green); font-weight: 700; }
.availability::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.promo-card { display: grid; grid-template-columns: 145px 1fr; overflow: hidden; min-height: 170px; padding: 0; }
.promo-visual { position: relative; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#4d34ca,#947dff); }
.promo-visual.orange { background: linear-gradient(145deg,#d76528,#ffaf56); }
.promo-visual.green { background: linear-gradient(145deg,#08745a,#30c997); }
.promo-visual::after { content: "%"; font-size: 58px; font-weight: 800; opacity: .18; }
.promo-visual.has-cover { background-position:center;background-size:cover; }
.promo-visual.has-cover::after { display:none; }
.promo-body { display: flex; flex-direction: column; padding: 19px; }
.promo-body h3 { margin: 11px 0 7px; font-size: 13px; }
.promo-body p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.promo-dates { margin-top: auto; padding-top: 13px; color: #8b8e98; font-size: 8px; }

.lost-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.lost-card { position:relative;overflow: hidden; padding: 0; }
.lost-photo { position: relative; display: grid; place-items: center; width: 100%; height: auto; aspect-ratio: 1 / 1; background: linear-gradient(145deg,#ececf3,#dfe1e9); color: #a5a8b2; }
.lost-photo svg { width: 44px; height: 44px; opacity: .55; }
.lost-photo.has-photo { background-size: cover; background-position: center; }
.lost-photo.has-photo svg { display: none; }
.status-float { position: absolute; top: 12px; left: 12px; }
.lost-body { padding: 16px; }
.lost-body h3 { margin: 0 0 9px; font-size: 12px; }
.lost-details { display: grid; gap: 7px; color: var(--muted); font-size: 9px; }
.lost-detail { display: flex; align-items: center; gap: 7px; }
.lost-detail svg { width: 12px; color: #999ca7; }
.lost-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

.profile-grid { grid-template-columns: 330px 1fr; }
.profile-card { padding: 25px; text-align: center; }
.profile-card .avatar { margin: auto; }
.profile-name { margin: 14px 0 3px; font-size: 16px; font-weight: 800; }
.profile-role { color: var(--muted); font-size: 10px; }
.profile-meta { display: grid; gap: 11px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.profile-meta-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; }
.profile-meta-row b { color: #333640; }
.rating-card { position: relative; overflow: hidden; padding: 25px; color: #fff; background: linear-gradient(130deg,#1d1936,#6046d9); }
.rating-card::after { content: "#4"; position: absolute; right: 17px; bottom: -23px; color: rgba(255,255,255,.07); font-size: 118px; font-weight: 800; }
.rating-label { color: #b9adf4; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.rating-value { margin-top: 15px; font-size: 34px; font-weight: 800; }
.rating-sub { margin-top: 4px; color: #c7c1e5; font-size: 9px; }
.profile-content { display: grid; gap: 16px; }
.achievement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.achievement { padding: 16px 12px; border: 1px solid var(--line); border-radius: 14px; text-align: center; }
.achievement-icon { font-size: 25px; }
.achievement-name { margin-top: 8px; font-size: 9px; font-weight: 750; }

.admin-tabs { display: flex; gap: 5px; margin-bottom: 17px; padding: 4px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.admin-tab { min-height: 34px; padding: 0 13px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 9px; font-weight: 750; white-space: nowrap; }
.admin-tab.active { color: var(--accent); background: var(--accent-soft); }
.table-card { overflow: hidden; }
.table-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 19px; border-bottom: 1px solid var(--line); }
.table-title { font-size: 12px; font-weight: 800; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 11px 16px; color: #9497a2; background: #fafbfc; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
td { padding: 13px 16px; border-top: 1px solid var(--line); color: #555963; font-size: 9px; }
tbody tr:hover { background: #fcfcfe; }
.cell-title { color: #262933; font-size: 10px; font-weight: 750; }
.user-cell { display: flex; align-items: center; gap: 9px; }
.row-actions { display: flex; justify-content: flex-end; gap: 5px; }
.action-btn { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #777b86; }
.action-btn:hover { color: var(--accent); border-color: #c9c0ff; }
.action-btn.danger:hover { color: var(--red); border-color: #f1bac0; }
.action-btn svg { width: 13px; }
.card-admin-actions { position:absolute;top:10px;right:10px;z-index:5;display:flex;gap:5px;padding:4px;border:1px solid rgba(255,255,255,.55);border-radius:11px;background:rgba(255,255,255,.9);box-shadow:0 5px 18px rgba(25,20,22,.12);backdrop-filter:blur(8px); }
.card-admin-actions .action-btn { background:rgba(255,255,255,.92); }
.game-card,.promo-card { position:relative; }
.theme-dark .card-admin-actions { border-color:var(--line);background:rgba(45,37,40,.92); }
.theme-dark .card-admin-actions .action-btn { background:var(--surface); }
.settings-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.setting-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px; }
.setting-card h3 { margin: 0 0 5px; font-size: 11px; }
.setting-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.switch { position: relative; flex: 0 0 auto; width: 38px; height: 22px; border: 0; border-radius: 30px; background: #dfe1e7; transition: .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.12); transition: .2s; }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(16px); }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(14,16,24,.62); backdrop-filter: blur(4px); }
.modal { width: min(620px, 100%); max-height: 90vh; overflow: auto; border-radius: 22px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.22); }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.modal-head h2 { margin: 0; font-size: 16px; }
.modal-head-actions { display:flex;align-items:center;gap:6px; }
.modal-close { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 9px; background: #f2f3f5; font-size: 17px; }
.modal-body { padding: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #656974; font-size: 9px; font-weight: 750; }
.field input, .field select, .field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; color: var(--ink); font-size: 10px; }
.field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #b6a7ff; box-shadow: 0 0 0 3px var(--accent-soft); }
.file-input { padding: 14px !important; border-style: dashed !important; background: #fafafe !important; }
.modal-foot { display: flex; justify-content: flex-end; gap: 9px; padding: 16px 22px 21px; border-top: 1px solid var(--line); }
.modal-foot .btn { min-width: 96px; padding-inline: 17px; white-space: nowrap; }
.detail-content { color: #525661; font-size: 11px; line-height: 1.8; }
.detail-content h3 { margin: 23px 0 8px; color: var(--ink); font-size: 13px; }
.detail-content ol { padding-left: 20px; }
.detail-content img { max-width: 100%; height: auto; border-radius: 12px; }
.detail-cover { width: 100%; max-height: 320px; object-fit: cover; margin-bottom: 18px; border-radius: 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.rich-toolbar { display: flex; flex-wrap: wrap; gap: 5px; padding: 7px; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; background: #f8f8fb; }
.rich-toolbar button { min-height: 29px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #555965; font-size: 9px; }
.rich-editor { min-height: 190px; padding: 14px; overflow: auto; border: 1px solid var(--line); border-radius: 0 0 10px 10px; outline: none; color: var(--ink); background: #fff; font-size: 11px; line-height: 1.65; }
.rich-editor:focus { border-color: #b6a7ff; box-shadow: 0 0 0 3px var(--accent-soft); }
.rich-editor img { display: block; max-width: 100%; max-height: 360px; margin: 12px 0; border-radius: 10px; object-fit: contain; }
.read-report { display: grid; }
.read-report-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.read-report-row:last-child { border-bottom: 0; }
.read-report-row b { display: block; color: var(--ink); font-size: 10px; }
.read-report-row span:not(.tag) { display: block; margin-top: 4px; color: var(--muted); font-size: 8px; }
.confirm-modal { width: min(430px,100%); text-align: center; }
.confirm-modal h2 { margin: 14px 0 7px; font-size: 17px; }
.confirm-modal p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.confirm-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 16px; color: var(--orange); background: var(--orange-soft); }
.confirm-icon svg { width: 24px; height: 24px; }

.editor-modal { width: min(860px,100%); }
.block-addbar { display: flex; flex-wrap: wrap; gap: 6px; padding: 9px; border: 1px solid var(--line); border-radius: 11px; background: #f7f7fa; }
.block-addbar button { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #4f535e; font-size: 9px; }
.block-addbar button:hover { border-color: #bcb0ff; color: var(--accent); }
.block-addbar b { min-width: 17px; font-size: 13px; }
.block-editor { display: grid; gap: 8px; min-height: 120px; margin-top: 9px; padding: 10px; border: 1px dashed #d9dbe3; border-radius: 12px; background: #fbfbfd; }
.block-editor:empty::after { content: "Добавьте первый блок с помощью панели выше"; padding: 34px; color: #9da0aa; font-size: 10px; text-align: center; }
.editor-block { display: grid; grid-template-columns: 25px 58px minmax(0,1fr) 30px; align-items: start; gap: 7px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 2px 7px rgba(20,24,40,.025); }
.editor-block.dragging { opacity: .4; }
.block-handle { padding-top: 9px; color: #a0a3ad; font-size: 17px; cursor: grab; user-select: none; }
.block-kind { margin-top: 7px; color: #8d909b; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.block-main { min-width: 0; }
.block-main textarea, .block-main input { width: 100%; padding: 8px 10px; border: 1px solid #e8e9ed; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font-size: 10px; resize: vertical; }
.block-main textarea { min-height: 54px; }
.type-h2 .block-text { font-size: 17px; font-weight: 800; }
.type-h3 .block-text { font-size: 13px; font-weight: 750; }
.type-quote .block-text { border-left: 3px solid var(--accent); background: #faf9ff; font-style: italic; }
.block-delete { width: 28px; height: 28px; border: 0; border-radius: 8px; background: #f4f4f6; color: #999ca5; font-size: 16px; }
.block-delete:hover { color: var(--red); background: var(--red-soft); }
.block-image-preview { display: grid; place-items: center; width: 100%; min-height: 90px; max-height: 180px; overflow: hidden; margin-bottom: 7px; border-radius: 9px; background: #f0f1f5; color: #999ca7; }
.block-image-preview img { width: 100%; height: 150px; object-fit: contain; }
.block-image-preview div { display: grid; place-items: center; gap: 6px; font-size: 9px; }
.block-image-preview svg { width: 25px; }
.block-image-file { margin-bottom: 6px; padding: 7px !important; font-size: 8px !important; }
.block-link-title { margin-bottom: 6px; }
.article-blocks h2 { margin: 28px 0 9px; color: var(--ink); font-size: 20px; }
.article-blocks h3 { margin: 22px 0 8px; }
.article-blocks figure { margin: 20px 0; }
.article-blocks figure img { display: block; max-height: 430px; margin: auto; object-fit: contain; }
.article-blocks figcaption { margin-top: 7px; color: var(--muted); font-size: 9px; text-align: center; }
.article-blocks blockquote { margin: 18px 0; padding: 13px 16px; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; background: #f8f6ff; color: #4f486c; }
.article-blocks a { color: var(--accent); font-weight: 700; text-decoration: underline; }

.schedule-layout { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 15px; align-items: start; }
.schedule-layout > .calendar-wrap:only-child { grid-column: 1 / -1; width: 100%; }
.employee-pool { position: sticky; top: 92px; padding: 17px; }
.employee-pool h3 { margin: 0 0 5px; font-size: 12px; }
.employee-pool > p { margin: 0 0 14px; color: var(--muted); font-size: 8px; line-height: 1.5; }
.pool-user { display: flex; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: grab; }
.pool-user + .pool-user { margin-top: 7px; }
.pool-user b, .pool-user span { display: block; }
.pool-user b { font-size: 9px; }
.pool-user span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.calendar-wrap { overflow-x: auto; padding: 13px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,minmax(105px,1fr)); min-width: 735px; }
.calendar-weekdays div { padding: 8px; color: #8e929d; font-size: 8px; font-weight: 800; text-align: center; text-transform: uppercase; }
.calendar-cell { min-height: 118px; padding: 8px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; transition: .15s; }
.calendar-cell:nth-child(7n) { border-right: 1px solid var(--line); }
.calendar-cell.muted { background: #fafafa; }
.calendar-cell.today { background: #faf9ff; box-shadow: inset 0 0 0 2px #c5baff; }
.calendar-cell.drop-target { background: var(--green-soft); box-shadow: inset 0 0 0 2px var(--green); }
.calendar-date { color: #6c707a; font-size: 9px; font-weight: 800; }
.shift-zone { min-height: 45px; margin-top: 6px; padding: 5px; border: 1px dashed var(--line); border-radius: 8px; }
.shift-zone.day { background:rgba(255,194,79,.08); }
.shift-zone.night { background:rgba(87,97,151,.08); }
.shift-zone-label { color:var(--muted); font-size:6px; font-weight:800; text-transform:uppercase; }
.shift-list { display: grid; gap: 4px; margin-top: 4px; }
.shift-chip { position: relative; display: grid; grid-template-columns: 21px 1fr; align-items: center; padding: 5px 22px 5px 5px; border-left:3px solid var(--employee-color); border-radius: 8px; color: var(--employee-color); background:color-mix(in srgb,var(--employee-color) 12%,var(--surface)); cursor: grab; }
.shift-chip > span { grid-row: span 2; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; color: #fff; background: var(--employee-color); font-size: 6px; font-weight: 800; }
.shift-chip b { overflow: hidden; font-size: 7px; text-overflow: ellipsis; }
.shift-chip small { font-size: 6px; opacity: .72; }
.shift-chip button { position: absolute; top: 3px; right: 4px; border: 0; background: transparent; color: #8e82cb; }

.news-list, .task-board { display: grid; gap: 11px; }
.news-card { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; gap: 17px; padding: 19px; }
.news-card.important { border-left: 3px solid var(--red); }
.news-date { display: grid; place-items: center; align-content: center; min-height: 62px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); }
.news-date b { font-size: 20px; line-height: 1; }
.news-date span { margin-top: 4px; font-size: 8px; }
.news-content h3 { margin: 9px 0 6px; font-size: 13px; }
.news-content p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.news-content .tag + .tag { margin-left: 5px; }
.news-reactions { display:flex;flex-wrap:wrap;gap:5px;margin-top:13px; }
.news-reactions button { min-height:28px;padding:0 9px;border:1px solid var(--line);border-radius:20px;background:var(--surface-2);color:var(--ink);font-size:10px; }
.news-reactions button.active { border-color:var(--accent);background:var(--accent-soft); }
.news-reactions span { font-size:8px;font-weight:800; }
.task-item { display: flex; align-items: flex-start; gap: 13px; padding: 17px; }
.task-item.done { opacity: .62; }
.task-item.done h3 { text-decoration: line-through; }
.task-toggle { flex: 0 0 auto; width: 25px; height: 25px; border: 1px solid #d7d9df; border-radius: 8px; color: #fff; background: #fff; }
.task-toggle.checked { border-color: var(--green); background: var(--green); }
.task-item-top { display: flex; gap: 5px; }
.task-item h3 { margin: 9px 0 5px; font-size: 11px; }
.task-item p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.task-item .row-meta svg { width: 11px; }
.task-status-icon { display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:var(--surface-2);font-weight:800; }
.task-status-icon.pending { color:var(--orange);background:var(--orange-soft); }
.task-status-icon.approved { color:#fff;background:var(--green);border-color:var(--green); }
.task-status-icon.rejected { color:var(--red);background:var(--red-soft); }
.task-actions { margin-top:10px; }
.moderation-row { display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:10px;padding:9px;border-radius:9px;background:var(--surface-2);font-size:8px; }
.moderation-row span { margin-right:auto; }
.review-comment { margin-top:9px;padding:9px;border-left:3px solid var(--red);border-radius:0 8px 8px 0;background:var(--red-soft);color:var(--red);font-size:8px; }
.achievement-desc { margin-top:5px;color:var(--muted);font-size:7px;line-height:1.4; }
.achievement.locked { filter:grayscale(1);opacity:.38; }
.achievement.unlocked { border-color:color-mix(in srgb,var(--accent) 35%,var(--line));background:var(--accent-soft); }
.user-report-link { display:flex;align-items:center;gap:9px;padding:0;border:0;background:transparent;color:inherit;text-align:left; }
.block-list-style { margin-bottom:6px; }
.category-tree-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }
.category-tree-card { overflow:hidden; }
.category-tree { padding:10px 17px 17px; }
.tree-section + .tree-section { border-top:1px solid var(--line); }
.tree-node { display:flex;align-items:center;gap:9px;min-height:44px;padding:7px 0;font-size:10px; }
.tree-node .row-actions { margin-left:auto; }
.tree-node small { margin-left:auto;color:var(--muted);font-size:7px; }
.tree-node small + .row-actions { margin-left:0; }
.section-node { color:var(--ink);font-size:11px; }
.tree-caret { color:var(--accent); }
.tree-children { margin-left:22px;padding-left:13px;border-left:1px solid var(--line); }
.tree-empty { padding:10px;color:var(--muted);font-size:8px; }
.brand-setting { grid-column:1/-1; }
.brand-preview { display:block;max-width:120px;max-height:70px;margin:10px 0;object-fit:contain;border-radius:10px; }
.employee-schedule-summary { display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px; }
.schedule-stat { padding:17px;text-align:center; }
.schedule-stat b,.schedule-stat span { display:block; }
.schedule-stat b { color:var(--accent);font-size:24px; }
.schedule-stat span { margin-top:4px;color:var(--muted);font-size:8px; }
.employee-shift-list { display:grid;gap:10px; }
.employee-shift-row { display:flex;align-items:center;gap:15px;padding:15px;border-left:4px solid var(--orange); }
.employee-shift-row.night { border-left-color:var(--blue); }
.shift-date-box { display:grid;place-items:center;min-width:66px;min-height:66px;border-radius:13px;background:var(--surface-2); }
.shift-date-box b { font-size:22px;line-height:1; }
.shift-date-box span { margin-top:4px;color:var(--muted);font-size:7px;text-transform:uppercase; }
.employee-shift-row h3 { margin:7px 0 3px;font-size:13px; }
.employee-shift-row p { margin:0;color:var(--muted);font-size:8px; }
.task-check[title] { cursor:help; }
.search-summary { margin:-8px 0 14px;color:var(--muted);font-size:10px; }
.search-groups { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start; }
.search-group { padding:20px; }
.search-results { display:grid; }
.search-result { display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;width:100%;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;text-align:left; }
.search-result:last-child { border-bottom:0; }
.search-result:hover h3 { color:var(--accent); }
.search-result-icon { display:grid;place-items:center;width:40px;height:40px;border-radius:11px;color:var(--accent);background:var(--accent-soft); }
.search-result-icon svg { width:18px; }
.search-result h3 { margin:7px 0 5px;font-size:11px;transition:.15s; }
.search-result p { display:-webkit-box;overflow:hidden;margin:0;color:var(--muted);font-size:9px;line-height:1.55;-webkit-line-clamp:2;-webkit-box-orient:vertical; }
.search-result small { display:block;margin-top:7px;color:#999ca5;font-size:7px; }
.search-result mark { padding:0 2px;border-radius:3px;color:inherit;background:#ffe49a; }
.search-none { padding:25px 0;color:var(--muted);font-size:9px;text-align:center; }

.theme-dark .card,
.theme-dark .filter,
.theme-dark .search-field input,
.theme-dark .field input,
.theme-dark .field select,
.theme-dark .field textarea,
.theme-dark .modal,
.theme-dark .modal-head,
.theme-dark .rich-editor,
.theme-dark .editor-block,
.theme-dark .block-main textarea,
.theme-dark .block-main input,
.theme-dark .calendar-cell,
.theme-dark .admin-tabs,
.theme-dark .view-switch { background:var(--surface);color:var(--ink); }
.theme-dark .table-head,.theme-dark th,.theme-dark .block-editor,.theme-dark .block-addbar,.theme-dark .rich-toolbar { background:var(--surface-2); }
.theme-dark .row-title,.theme-dark .cell-title,.theme-dark .setting-card h3,.theme-dark .task-item h3,.theme-dark .news-content h3,.theme-dark .detail-content h3 { color:var(--ink); }
.theme-dark .side-select { background:#57202a;border-color:rgba(255,255,255,.16);color:#fff; }

.toast-root { position: fixed; right: 22px; bottom: 22px; z-index: 200; display: grid; gap: 9px; }
.toast { min-width: 260px; padding: 13px 15px; border: 1px solid #d9eadf; border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: #3b5144; font-size: 10px; animation: toast-in .25s ease; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

.auth-page { display:grid;grid-template-columns:minmax(360px,520px) 1fr;min-height:100vh;background:#f7f4f3; }
.auth-panel { display:flex;flex-direction:column;justify-content:center;padding:54px 70px;background:#fff; }
.auth-brand { position:absolute;top:30px;display:flex;align-items:center;gap:11px; }
.auth-brand b,.auth-brand span { display:block; }
.auth-brand b { font-size:12px;letter-spacing:.04em; }
.auth-brand span { margin-top:3px;color:var(--muted);font-size:8px; }
.auth-copy h1 { margin-bottom:10px;font-size:34px; }
.auth-copy p { margin:0 0 28px;color:var(--muted);font-size:11px;line-height:1.6; }
#auth-form { display:grid;gap:14px; }
.auth-submit { width:100%;margin-top:5px; }
.auth-switch { margin-top:20px;border:0;background:transparent;color:var(--accent);font-size:10px;font-weight:750; }
.auth-error { padding:10px;border-radius:9px;color:var(--red);background:var(--red-soft);font-size:9px;line-height:1.5; }
.auth-visual { display:grid;place-items:center;overflow:hidden;color:#fff;background:radial-gradient(circle at 70% 20%,rgba(255,98,105,.32),transparent 25%),linear-gradient(135deg,#72121a,#cf1e2a); }
.auth-visual div { text-align:center; }
.auth-visual span,.auth-visual b { display:block;font-size:clamp(36px,6vw,82px);line-height:.88;letter-spacing:-.06em; }
.auth-visual span { font-weight:400;opacity:.75; }
.auth-visual b { font-weight:800; }
.auth-visual p { margin-top:24px;color:rgba(255,255,255,.65);font-size:11px;letter-spacing:.08em;text-transform:uppercase; }

@media (max-width: 1100px) {
  .content-grid, .lost-grid { grid-template-columns: repeat(2,1fr); }
  .games-grid { grid-template-columns: repeat(3,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 820px) {
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: .25s; box-shadow: 20px 0 50px rgba(0,0,0,.2); }
  .sidebar.open { transform: translateX(0); }
  .main { grid-column: auto; }
  .mobile-menu { display: grid; place-items: center; }
  .content, .topbar { padding-left: 20px; padding-right: 20px; }
  .dashboard-grid, .profile-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(2,1fr); }
  .promo-grid { grid-template-columns: 1fr; }
  .club-chip, .keycap { display: none; }
  .schedule-layout { grid-template-columns: 1fr; }
  .employee-pool { position: static; }
  .category-tree-grid { grid-template-columns:1fr; }
  .search-groups { grid-template-columns:1fr; }
  .auth-page { grid-template-columns:1fr; }
  .auth-visual { display:none; }
  .auth-panel { padding:90px 28px 40px; }
}
@media (max-width: 560px) {
  .content { padding: 22px 14px 45px; }
  .topbar { min-height: 62px; padding: 0 14px; }
  .page-head { align-items: stretch; flex-direction: column; }
  .head-actions .btn { flex: 1; }
  .toolbar { align-items: stretch; flex-wrap: wrap; }
  .search-field { flex-basis: 100%; }
  .filter { flex: 1; min-width: 0; }
  .content-grid, .lost-grid, .games-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .stat { padding: 14px; }
  .hero { padding: 24px; }
  .hero h2 { font-size: 24px; }
  .promo-card { grid-template-columns: 100px 1fr; }
  .profile-grid, .settings-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .achievement-grid { grid-template-columns: 1fr 1fr; }
  .editor-block { grid-template-columns: 22px 1fr 28px; }
  .block-kind { display: none; }
  .news-card { grid-template-columns: 50px 1fr; }
  .news-card > .row-actions { grid-column: 2; }
  .employee-schedule-summary { grid-template-columns:repeat(3,1fr);gap:6px; }
  .schedule-stat { padding:12px 6px; }
  .schedule-stat b { font-size:19px; }
  .employee-shift-row { padding:12px; }
}
