:root {
  --accent: #731358;
  --dark: rgb(57, 9, 44);
  --text: rgba(0, 0, 0, 0.95);
  --pale: rgba(51, 51, 51, 0.7);
  --xpale: rgba(51, 51, 51, 0.5);
  --line: rgba(51, 51, 51, 0.08);
  --fill: rgba(51, 51, 51, 0.05);
  --fill2: rgba(51, 51, 51, 0.1);
  --bg: #ffffff;
  --gold: #e3b341;
  --side: 264px;
  --gutter: 32px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 400 16px/1.4 Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
.i { width: 20px; height: 20px; flex: none; }
.i.sm { width: 16px; height: 16px; }
.pale { color: var(--pale); font-size: 14px; }
.small { font-size: 12px; }
.wrap { padding: 0 var(--gutter); }

.side { position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 40; display: flex; flex-direction: column; background: linear-gradient(180deg, #4a0c38 0%, var(--dark) 45%, #24051b 100%); color: #fff; overflow-y: auto; }
.side-brand { display: grid; justify-items: center; gap: 2px; padding: 28px 20px 22px; text-align: center; }
.side-brand img { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.side-brand b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.side-brand small { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.side-nav { display: grid; gap: 2px; padding: 8px 14px 16px; }
.side-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.82); }
.side-item .i { color: rgba(255, 255, 255, 0.6); }
.side-item:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.side-item.on { background: rgba(255, 255, 255, 0.13); color: #fff; font-weight: 600; }
.side-item.on .i { color: var(--gold); }
.side-head { padding: 18px 12px 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.side-foot { margin-top: auto; display: flex; gap: 16px; padding: 16px 26px 22px; font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.side-foot a:hover { color: #fff; }
.side-backdrop { display: none; }
.shell-main { margin-left: var(--side); min-height: 100vh; }
.topbar { position: sticky; top: 0; z-index: 30; height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); background: #f6f6f7; border-bottom: 1px solid var(--line); }
.global-search { flex: 1; max-width: 720px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--fill2); color: var(--xpale); margin: 0; }
.global-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 15px; color: var(--text); }
.global-search input::placeholder { color: var(--xpale); }
.global-search input::-webkit-search-cancel-button { display: none; }
.global-search kbd { font: 500 12px Inter, sans-serif; padding: 2px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--fill2); color: var(--xpale); }
.topbar .menu-wrap.right { margin-left: auto; }
.nav-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--pale); }
.nav-item .i { width: 18px; height: 18px; }
.me { width: 36px; height: 36px; border-radius: 50%; background: #fdf3c4; color: #b8901d; font-size: 15px; font-weight: 600; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35); }
.hamburger { display: none; }

.menu-wrap { position: relative; }
.menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 8px 24px rgba(0, 0, 0, 0.12); padding: 6px; z-index: 40; }
.menu-wrap.right .menu { left: auto; right: 0; }
.menu-wrap.open > .menu { display: block; }
.menu a, .menu .menu-item { display: flex; width: 100%; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 14px; text-align: left; }
.menu a:hover, .menu .menu-item:hover { background: var(--fill); }
.menu-head { padding: 9px 10px; font-size: 12px; color: var(--pale); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu form { margin: 0; }

.bottom-tabs { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 6px 16px 6px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.btn .i { width: 18px; height: 18px; }
.btn.accent { background: var(--accent); color: #fff; }
.btn.accent:hover { filter: brightness(1.12); }
.btn.accent:disabled { opacity: 0.35; cursor: default; filter: none; }
.btn.light { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--fill2); padding: 6px 14px; }
.btn.light:hover { background: var(--fill); }
.btn.pill { background: var(--accent); color: #fff; border-radius: 8px; }
.btn.google { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--fill2); height: 44px; padding: 0 18px; gap: 10px; width: 100%; max-width: 360px; }
.icon-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text); }
.icon-btn:hover { background: var(--fill); }
.icon-btn.light { color: #fff; }
.icon-btn.light:hover { background: rgba(255, 255, 255, 0.1); }
.icon-btn.boxed { box-shadow: inset 0 0 0 1px var(--fill2); }
form.inline { display: inline; margin: 0; }

.hero { background: var(--dark); color: #fff; padding: 24px var(--gutter) 28px; }
.hero-in { display: flex; gap: 24px; align-items: flex-start; }
.hero-passes { width: min(588px, 100%); }
.hero-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hero h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.pass-list { list-style: none; margin: 0; padding: 0; }
.pass-list a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.pass-list b { display: block; font-size: 14px; font-weight: 600; }
.pass-list small { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.hero-empty { padding: 24px 0 16px; text-align: center; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.stat { margin-left: auto; width: 280px; background: #fff; color: var(--text); border-radius: 10px; padding: 14px 16px; }
.stat small { display: block; font-size: 12px; color: var(--pale); }
.stat b { display: block; font-size: 24px; font-weight: 600; }
.hero.slim { padding: 20px var(--gutter); }
.hero.slim .wrap { padding: 0; display: grid; gap: 14px; }
.range > span:first-child { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.date-in { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.12); }
.date-in input { flex: 1; background: none; border: 0; color: #fff; outline: none; color-scheme: dark; }

.note { padding: 16px 0 8px; font-size: 14px; color: var(--pale); }
.note.center { text-align: center; padding: 16px 0 32px; }
.banner { padding: 14px 0 6px; text-align: center; font-size: 18px; font-weight: 600; }
.list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0 12px; flex-wrap: wrap; }
.list-head h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.tools { display: flex; align-items: center; gap: 8px; }
.tools form { margin: 0; }
.search { display: flex; align-items: center; gap: 8px; width: 238px; height: 36px; padding: 0 10px; border-radius: 8px; background: var(--fill); color: var(--xpale); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-size: 14px; color: var(--text); }
.search input::placeholder { color: var(--xpale); }
.search input::-webkit-search-cancel-button { display: none; }
.filter-btn { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border-radius: 8px; background: var(--fill); color: var(--xpale); font-size: 14px; min-width: 138px; }
.filter-btn span { flex: 1; text-align: left; }
.filter-btn.on { color: var(--accent); }
.filter-panel { width: 300px; padding: 8px; }
.fgroup summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 10px 8px; border-radius: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .i { margin-left: auto; color: var(--xpale); transition: transform 0.15s; }
.fgroup[open] summary .i { transform: rotate(90deg); }
.fgroup summary:hover { background: var(--fill); }
.fgroup .count { background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 6px; }
.fopts { display: grid; gap: 2px; padding: 0 8px 8px 12px; max-height: 220px; overflow: auto; }
.fopts label { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
.fopts input { accent-color: var(--accent); width: 16px; height: 16px; }
.filter-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 8px 4px; }
.filter-actions .btn { justify-content: center; padding: 6px 14px; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 8px; border-bottom: 1px solid var(--line); }
.row:hover { background: rgba(51, 51, 51, 0.025); }
.row.checked { background: var(--fill); }
.row-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; }
.av { width: 80px; height: 80px; border-radius: 8px; object-fit: contain; flex: none; }
.av.blank { background: var(--fill); border-radius: 50%; }
.av.xl { width: 120px; height: 120px; border-radius: 50%; background: #fff; }
.row-text { min-width: 0; }
.kicker { font-size: 11px; line-height: 20px; font-weight: 600; text-transform: uppercase; color: var(--accent); }
.name { font-size: 14px; font-weight: 600; line-height: 19.6px; }
.row-actions { display: flex; align-items: center; gap: 4px; }
.row-actions .narrow { display: none; }
.chev { display: grid; place-items: center; width: 28px; height: 36px; color: var(--pale); }
.rows.plain .row { padding: 8px 0; }
.empty { padding: 24px 0; text-align: center; color: var(--pale); font-size: 14px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 20px 0; font-size: 14px; }
.pg, .pg-nav { min-width: 32px; height: 32px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 8px; }
.pg:hover, .pg-nav:hover { background: var(--fill); }
.pg.on { background: var(--fill2); font-weight: 600; }
.pg-nav.off { color: var(--xpale); }
.gap { padding: 0 4px; color: var(--pale); }

.day { font-size: 16px; font-weight: 600; padding: 18px 0 10px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gcard { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; background: var(--fill); }
.gimg { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; flex: none; }

.band { background: var(--accent); color: #fff; margin-top: 24px; padding: 20px 0 8px; }
.band h2 { font-size: 24px; font-weight: 600; padding-bottom: 10px; }
.band-rows { list-style: none; margin: 0; padding: 0; }
.band-rows li { padding: 9px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.band-rows b { display: block; font-size: 14px; font-weight: 600; }
.band-rows small { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.band .pg.on { background: rgba(255, 255, 255, 0.2); }
.band .pg:hover, .band .pg-nav:hover { background: rgba(255, 255, 255, 0.1); }
.band .pg-nav.off, .band .gap { color: rgba(255, 255, 255, 0.5); }

.detail-hero { background: var(--dark); color: #fff; padding: 12px 0 24px; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, 0.8); padding-bottom: 16px; }
.crumbs b { color: #fff; font-weight: 600; }
.crumbs .back { display: grid; place-items: center; width: 24px; height: 24px; }
.crumb-tools { margin-left: auto; display: flex; gap: 4px; }
.detail-head { display: flex; align-items: center; gap: 24px; }
.detail-head .who { flex: 1; min-width: 0; }
.detail-head .id { font-size: 12px; color: rgba(255, 255, 255, 0.8); }
.detail-head h1 { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; }
.detail-head .sub { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.contact { display: grid; gap: 14px; min-width: 280px; }
.cline { display: flex; align-items: center; gap: 8px; }
.cline > div { flex: 1; margin-right: 12px; }
.cline b { display: block; font-size: 14px; font-weight: 600; }
.cline small { display: block; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.round { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; }
.round .i { width: 16px; height: 16px; }
.round:hover { background: rgba(255, 255, 255, 0.2); }
.detail-band { background: var(--accent); padding: 12px 0; }
.wrap.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wrap.two form { display: block; }
.band-btn { width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
.band-btn:hover { background: rgba(255, 255, 255, 0.18); }
.link-actions { display: flex; gap: 20px; padding: 16px 0 6px; }
.link-btn { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.link-btn .i { width: 18px; height: 18px; }
.warn { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #fdf1f6; box-shadow: inset 0 0 0 1px rgba(115, 19, 88, 0.2); font-size: 14px; }
.warn b { color: var(--accent); }
.warn p { white-space: pre-line; margin-top: 6px; color: var(--pale); }
.tabbar { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin: 6px 0 12px; }
.tabbar button { padding: 10px 0; font-size: 14px; font-weight: 500; color: var(--pale); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabbar button.on { color: var(--text); border-color: var(--accent); }
.kvrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.kvrow b { font-size: 14px; font-weight: 600; }
.chips-out { display: flex; gap: 8px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px var(--fill2); background: #fff; white-space: nowrap; }
.chip-btn .i { width: 14px; height: 14px; }
.chip-btn:hover { background: var(--fill); }
.see-all { color: var(--accent); font-size: 14px; font-weight: 600; padding: 8px 0 24px; }
.fields { display: grid; gap: 14px; padding: 8px 0 20px; margin: 0; }
.fields.more { border-top: 1px solid var(--line); padding-top: 18px; }
.fields dt { font-size: 12px; color: var(--pale); }
.fields dd { margin: 2px 0 0; font-size: 14px; }
.tbl-title { font-size: 18px; font-weight: 600; padding: 18px 0 8px; }
.scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--pale); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl.grid th { text-transform: none; font-size: 12px; font-weight: 500; }
.tbl.grid td { white-space: nowrap; }
.tbl .idx { color: var(--xpale); font-size: 12px; width: 24px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0 14px; flex-wrap: wrap; }
.cal-head h2 { font-size: 16px; font-weight: 600; }
.cal-tools { display: flex; align-items: center; gap: 8px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 32px; }
.cal-dow { padding: 6px; text-align: center; font-size: 12px; color: var(--pale); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-cell { min-height: 112px; padding: 6px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cal.week .cal-cell { min-height: 420px; }
.cal-cell.out .cal-n { color: var(--xpale); }
.cal-cell.today { background: rgba(115, 19, 88, 0.08); }
.cal-cell.today .cal-n { color: var(--accent); font-weight: 600; }
.cal-n { font-size: 12px; text-align: right; }
.cal-ev { font-size: 12px; padding: 2px 6px; border-radius: 4px; background: rgba(115, 19, 88, 0.12); color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-more { font-size: 11px; color: var(--pale); padding: 0 6px; }

.tiles { list-style: none; margin: 0; padding: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 16px; }
.tile-img { aspect-ratio: 1; border-radius: 8px; background: var(--fill); display: grid; place-items: center; font-size: 28px; font-weight: 600; color: var(--xpale); margin-bottom: 6px; }
.tiles li { min-width: 0; }
.tiles .name, .tiles .kicker, .tiles .pale { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiles.big { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.tile-pic { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }
.name.small { font-size: 12px; }
.exp { list-style: none; margin: 0; padding: 0 0 24px; display: grid; gap: 4px; }
.exp li { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.exp li:first-child { background: var(--fill); border-radius: 8px; }
.exp p { font-size: 14px; white-space: pre-line; }

.dlg { border: 0; padding: 0; border-radius: 12px; width: min(720px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); color: var(--text); overflow: hidden; }
.dlg.narrow { width: min(400px, calc(100vw - 32px)); }
.dlg::backdrop { background: rgba(0, 0, 0, 0.4); }
.dlg form { margin: 0; }
.dlg-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; }
.dlg-head b { font-size: 14px; font-weight: 600; flex: 1; text-align: center; }
.dlg-head.center b { text-align: center; }
.dlg-band { background: var(--accent); color: #fff; padding: 16px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dlg-band.dark { background: var(--dark); grid-template-columns: 1fr; }
.dlg-band .fld input { background: rgba(255, 255, 255, 0.15); color: #fff; }
.dlg-band .fld input::placeholder { color: rgba(255, 255, 255, 0.6); }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 12px; font-weight: 600; }
.fld input, .fld textarea { width: 100%; height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--fill); outline: none; }
.fld textarea { height: auto; padding: 10px 12px; resize: vertical; }
.fld.plain em { font-style: normal; float: right; font-weight: 400; color: var(--pale); font-size: 12px; }
.dlg-body { padding: 16px 20px; }
.dlg-body.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dlg-sub { text-align: center; color: var(--pale); font-size: 14px; padding-bottom: 12px; }
.kv { margin: 0 0 14px; display: grid; gap: 8px; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; }
.kv dt { color: var(--pale); }
.kv dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; font-size: 13px; box-shadow: inset 0 0 0 1px var(--fill2); cursor: pointer; }
.chips input:checked + span { background: var(--accent); color: #fff; box-shadow: none; }
.dlg-foot { padding: 0 20px 18px; display: grid; gap: 10px; justify-items: start; }
.dlg-foot.left { display: flex; gap: 8px; padding-top: 4px; }
.need { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--accent); }
.toggle { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; }
.toggle i { width: 30px; height: 18px; border-radius: 999px; background: rgba(255, 255, 255, 0.3); position: relative; transition: background 0.15s; }
.toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left 0.15s; }
.toggle input:checked + i { background: var(--accent); }
.toggle input:checked + i::after { left: 14px; }

.splash { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; padding: 16px; background: #2b1a6b url(/static/logo.png) center / cover no-repeat; }
.splash-card { width: min(362px, 100%); padding: 36px 16px 40px; border-radius: 16px; display: grid; justify-items: center; gap: 14px; text-align: center; color: #fff; background: rgba(15, 23, 52, 0.55); -webkit-backdrop-filter: blur(24px) saturate(1.2); backdrop-filter: blur(24px) saturate(1.2); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.splash-card img { width: 48px; height: 48px; border-radius: 10px; }
.splash-card h1 { font-size: 22px; font-weight: 600; line-height: 1.25; padding: 4px 16px 0; }
.splash-sub { font-size: 13px; color: rgba(255, 255, 255, 0.7); padding-bottom: 18px; }
.splash-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; border-radius: 8px; background: rgba(255, 255, 255, 0.16); font-size: 15px; font-weight: 600; color: #fff; }
.splash-google:hover { background: rgba(255, 255, 255, 0.24); }
.splash-legal { padding-top: 6px; font-size: 12px; color: rgba(255, 255, 255, 0.6); }
.splash-legal a:hover { color: #fff; }
.login { max-width: 400px; margin: 72px auto; padding: 0 16px; display: grid; justify-items: center; gap: 18px; text-align: center; }
.login img { width: 64px; height: 64px; border-radius: 14px; }
.login h1 { font-size: 24px; font-weight: 600; }
.login a:not(.btn) { color: var(--accent); }
.doc { max-width: 720px; margin: 32px auto; font-size: 15px; line-height: 1.6; }
.doc h1 { font-size: 28px; font-weight: 600; margin-bottom: 12px; }
.doc h2 { font-size: 18px; font-weight: 600; margin: 20px 0 6px; }
.doc p { margin-bottom: 10px; }
.doc a { color: var(--accent); }
footer { display: flex; justify-content: center; gap: 16px; padding: 24px 16px 32px; font-size: 13px; color: var(--pale); }
footer a:hover { color: var(--accent); }
.shell main { padding-bottom: 32px; }

@media (max-width: 1100px) {
  :root { --side: 228px; }
  .side-brand b { font-size: 28px; }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --side: 280px; }
  .side { transform: translateX(-100%); transition: transform 0.2s; }
  .side-open .side { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, 0.3); }
  .side-open .side-backdrop { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, 0.4); }
  .shell-main { margin-left: 0; }
  .topbar { height: 56px; gap: 10px; }
  .global-search { height: 40px; }
  .global-search kbd { display: none; }
  .hamburger { display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; color: var(--pale); }
  .shell main { padding-bottom: 90px; }
  .bottom-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .bottom-tabs .nav-item { flex: 1; flex-direction: column; gap: 2px; font-size: 11px; background: none; padding: 4px; }
  .bottom-tabs .nav-item .i { width: 24px; height: 24px; }
  .bottom-tabs .nav-item.on { color: var(--accent); background: none; }
  .hero { padding: 16px var(--gutter) 24px; }
  .hero-in { flex-direction: column; gap: 16px; }
  .hero-head { flex-wrap: wrap; }
  .hero-head h2 { width: 100%; font-size: 26px; }
  .hero-head .btn { margin-left: auto; border-radius: 999px; }
  .stat { width: 100%; margin: 0; }
  .list-head h1 { font-size: 28px; }
  .list-head .tools { width: 100%; }
  .search { flex: 1; width: auto; }
  .filter-btn { min-width: 0; width: 36px; padding: 0; justify-content: center; }
  .filter-btn span, .filter-btn .sm { display: none; }
  .filter-panel { width: min(320px, calc(100vw - 32px)); }
  .av { width: 48px; height: 48px; }
  .row-link { gap: 12px; align-items: flex-start; }
  .row-actions .wide { display: none; }
  .row-actions .narrow { display: block; }
  .row-actions .menu-wrap .menu { left: auto; right: 0; }
  .row .chev { display: none; }
  .row.checked .btn.light { padding: 6px 10px; }
  .detail-head { flex-wrap: wrap; gap: 16px; }
  .av.xl { width: 88px; height: 88px; }
  .contact { width: 100%; min-width: 0; }
  .crumbs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tiles.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlg-band, .dlg-body.two { grid-template-columns: 1fr; }
  .cal-cell { min-height: 64px; padding: 3px; }
  .cal-ev { font-size: 10px; padding: 1px 3px; }
  .banner { font-size: 16px; }
}
