:root {
  color-scheme: dark;
  --background: #111117;
  --side: #15151d;
  --panel: #191922;
  --surface: #20202b;
  --border: #2c2b38;
  --text: #f6f3fa;
  --muted: #a7a5b5;
  --dim: #9490a5;
  --lavender: #cbb3e8;
  --tomato: #e34234;
  --focus: #e2caff;
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-size: 15px;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--background); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--lavender); }
svg { flex: none; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 10; top: 10px; left: 10px; background: var(--lavender); color: #16101d; padding: 10px; border-radius: 7px; }

.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--side); border-right: 1px solid var(--border); padding: 25px 16px 15px; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 5px; white-space: nowrap; }
.brand-mark { width: 39px; height: 39px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--lavender); color: #1a1324; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.35px; font-weight: 750; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.sidebar nav { margin: 33px 0 18px; display: grid; gap: 4px; }
.nav-label { color: var(--dim); font-size: 10px; font-weight: 750; letter-spacing: .12em; padding: 0 11px; margin: 17px 0 6px; }
.nav-label:first-child { margin-top: 0; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; border: 1px solid transparent; background: transparent; padding: 10px 11px; border-radius: 9px; color: #bcb9c9; font-weight: 570; font-size: 13px; text-align: left; min-height: 43px; }
.nav-item:hover { background: #22212b; color: var(--text); }
.nav-item.active { color: #e5d4ff; background: #2a2237; border-color: #3d2e4d; }
.nav-item small { margin-left: auto; background: #35263b; color: #e7c5f5; padding: 2px 7px; border-radius: 6px; font-size: 10px; }
.side-bottom { margin-top: auto; }
.demo-note { display: flex; align-items: center; gap: 9px; margin: 0 3px 14px; padding: 10px; border-radius: 9px; background: #1c1b25; border: 1px solid var(--border); }
.demo-note strong, .demo-note small, .side-account strong, .side-account small { display: block; }
.demo-note strong { font-size: 11px; }
.demo-note small, .side-account small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.demo-icon { display: grid; place-items: center; width: 30px; height: 30px; color: var(--lavender); background: #2b2338; border-radius: 8px; flex: none; }
.side-account { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 5px 2px; border: 0; border-top: 1px solid var(--border); background: transparent; text-align: left; }
.side-account strong { font-size: 12px; }
.side-account > svg { margin-left: auto; color: var(--muted); }
.avatar, .stat-icon { display: inline-grid; place-items: center; flex: none; font-weight: 760; border-radius: 10px; }
.avatar { width: 37px; height: 37px; font-size: 11px; }
.avatar.small { width: 34px; height: 34px; }
.avatar.tiny { width: 28px; height: 28px; border-radius: 8px; font-size: 9px; }
.lilac { background: #322543; color: #e0c3ff; }
.peach { background: #3c2727; color: #ffc0ac; }
.mint { background: #203832; color: #93e3c3; }
.blue { background: #252e49; color: #b0c5ff; }
.rose { background: #3b2838; color: #f3badb; }
.mobile-overlay, .menu-toggle { display: none !important; }

.main-shell { min-width: 0; }
.topbar { height: 69px; padding: 0 30px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #15151c; }
.breadcrumbs, .top-actions { display: flex; align-items: center; gap: 11px; min-width: 0; }
.breadcrumbs { font-size: 13px; color: var(--muted); }
.breadcrumbs strong { color: var(--text); font-weight: 680; white-space: nowrap; }
.slash { color: #777286; }
.search-button, .icon-btn, .top-account { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: #1c1c25; color: #c0bdcd; border-radius: 9px; }
.search-button { gap: 8px; padding: 0 9px; height: 37px; font-size: 12px; }
.search-button:hover, .icon-btn:hover, .top-account:hover { border-color: #655174; color: var(--text); }
.search-button kbd { font: inherit; color: #aaa5bc; border: 1px solid #383646; background: #22212d; border-radius: 4px; padding: 1px 5px; margin-left: 16px; white-space: nowrap; }
.icon-btn { width: 37px; height: 37px; padding: 0; flex: none; }
.notifications { position: relative; }
.notifications i { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: #f68073; border: 1px solid #1c1c25; }
.top-account { border: 0; padding: 0; background: transparent; }
.content { max-width: 1520px; min-width: 0; margin: auto; padding: 27px 30px 36px; outline: none; }

.hero { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 241px; overflow: hidden; border-radius: 17px; border: 1px solid #3d2c51; background: radial-gradient(ellipse at 91% 12%, #3c2555 0%, transparent 60%), linear-gradient(108deg, #23192f 0%, #271a36 56%, #1d182a 100%); }
.hero-content { z-index: 1; padding: 25px 29px; position: relative; }
.hero-date { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; color: #e8d5fc; padding: 5px 9px; border: 1px solid #5b436e; background: #352643; border-radius: 7px; }
.hero h1 { font-size: clamp(31px, 3.3vw, 50px); letter-spacing: -.055em; line-height: 1.09; margin: 13px 0 7px; }
.hero h1 span { color: #f0796e; }
.hero p { color: #cfc0dc; font-size: 14px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.orbit { position: absolute; pointer-events: none; }
.hero-orbit { inset: -88px -42px -94px auto; width: 45%; min-width: 340px; opacity: .85; }
.orbit b, .orbit i, .orbit span { position: absolute; display: block; }
.orbit b { top: 50%; left: 50%; width: 65%; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-25deg) scaleY(.59); border: 1px solid #80609e; border-radius: 50%; box-shadow: 0 0 25px #76519639; }
.orbit b:nth-child(2) { width: 82%; border-color: #795c93; transform: translate(-50%,-50%) rotate(-25deg) scaleY(.64); }
.orbit b:nth-child(3) { width: 100%; border-color: #735687; transform: translate(-50%,-50%) rotate(-25deg) scaleY(.67); }
.orbit span { top: 50%; left: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 34% 27%, #e9c9ff, #a577cc 41%, #563576 71%, #291a43 90%); box-shadow: 0 0 36px #a778d170, inset -9px -9px 24px #1f15387a; }
.orbit i { z-index: 1; width: 8px; height: 8px; background: #dbb5fb; border-radius: 50%; box-shadow: 0 0 13px #e5bfff; }
.orbit i:nth-of-type(1) { top: 34%; left: 75%; }
.orbit i:nth-of-type(2) { top: 62%; left: 20%; width: 6px; height: 6px; }
.orbit i:nth-of-type(3) { top: 42%; left: 89%; width: 7px; height: 7px; background: #fa8275; box-shadow: 0 0 12px #ed6d60; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--text); font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; }
.primary, .hero-primary { background: var(--lavender); color: #1c1427; }
.primary:hover, .hero-primary:hover { background: #e0c8ff; }
.secondary { border-color: #414051; background: #252431; color: #e2ddec; }
.secondary:hover { background: #302b3b; }
.hero-secondary { border-color: #5d4870; background: #332441; color: #ede2f9; }
.hero-secondary:hover { background: #443254; }
.text-button, .table-action { color: #dec2f7; padding-inline: 7px; min-height: 34px; }
.text-button:hover, .table-action:hover { background: #2c2338; }
.table-action { font-size: 11px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 17px 0; }
.stat-card { display: grid; position: relative; gap: 6px; min-width: 0; padding: 15px 15px 13px; text-align: left; border: 1px solid var(--border); background: var(--panel); border-radius: 13px; }
.stat-card:hover { border-color: #584667; background: #1e1b29; }
.stat-icon { width: 37px; height: 37px; }
.stat-arrow { position: absolute; top: 15px; right: 14px; color: var(--dim); }
.stat-name { margin-top: 2px; color: #d0cbdc; font-size: 12px; font-weight: 650; }
.stat-card > strong { font-size: 27px; font-weight: 730; line-height: 1; letter-spacing: -.045em; }
.stat-card > strong small { font-size: 14px; color: #aaa4ba; letter-spacing: 0; margin-left: 5px; }
.stat-detail { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.overview-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 15px; align-items: start; }
.panel { min-width: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 13px; }
.panel-head { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px 10px; padding: 16px; }
.panel-head h2, .attendance-title h2 { font-size: 16px; font-weight: 720; letter-spacing: -.02em; }
.panel-head p, .attendance-title p { color: var(--muted); margin-top: 4px; font-size: 12px; line-height: 1.45; }
.list { display: grid; padding: 0 10px 9px; }
.list-row { min-width: 0; width: 100%; display: flex; align-items: center; gap: 9px; text-align: left; min-height: 55px; background: transparent; color: var(--text); border: 1px solid transparent; border-top-color: #292836; border-radius: 0; padding: 7px 5px; }
.list-row:hover { background: #24212e; border: 1px solid #3b3049; border-radius: 8px; }
.row-copy { display: grid; gap: 3px; flex: 1; min-width: 0; }
.row-copy strong, .row-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-copy strong { font-weight: 680; font-size: 12px; }
.row-copy small, .row-date { font-size: 11px; color: var(--muted); }
.row-date { white-space: nowrap; }
.row-copy i { display: inline-block; background: #81788e; width: 3px; height: 3px; margin: 0 2px 2px; border-radius: 50%; }
.row-arrow { color: var(--dim); }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: fit-content; white-space: nowrap; border-radius: 6px; padding: 3px 7px; font-size: 10px; font-weight: 690; line-height: 1.5; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.badge.neutral { color: #d1cbdc; background: #2a2835; }
.badge.purple { color: #dec0ff; background: #332642; }
.badge.green { color: #a1e7c4; background: #233c33; }
.badge.red { color: #ffb8ab; background: #412b31; }
.badge.amber { color: #f5d39a; background: #3b3025; }
.badge.blue { color: #bfd0ff; background: #2a3453; }
.empty { display: grid; justify-items: center; padding: 26px 12px; gap: 6px; text-align: center; color: var(--muted); }
.empty > span { color: var(--lavender); background: #292135; border-radius: 10px; padding: 8px; margin-bottom: 4px; }
.empty strong { color: var(--text); font-size: 13px; }
.empty p { font-size: 12px; }
.activity-chart { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 9px; padding: 7px 17px 14px; }
.chart-column { display: grid; min-width: 0; text-align: center; gap: 7px; color: var(--muted); font-size: 10px; }
.bar-track { height: 81px; border-radius: 6px; background: #20202b; display: flex; align-items: end; }
.bar { height: max(15px, var(--level)); width: 100%; background: #4b395e; color: #f2e6fc; display: grid; place-items: start center; padding-top: 2px; border-radius: 6px; }
.bar.current { color: #241930; background: var(--lavender); }

.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 2px 0 23px; }
.page-heading h1 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.055em; line-height: 1.12; }
.page-heading p { margin-top: 7px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.page-panel { margin-bottom: 14px; }
.page-panel > .list { padding: 0 15px 12px; }
.filter-bar { display: flex; flex-wrap: wrap; padding: 12px 15px; gap: 6px; border-bottom: 1px solid var(--border); }
.filter-bar + .list { padding-top: 5px; }
.filter-bar + .list .list-row:first-child { border-top-color: transparent; }
.tab { border: 1px solid transparent; background: transparent; color: #bfbacb; border-radius: 7px; padding: 7px 10px; font-size: 12px; min-height: 34px; font-weight: 650; white-space: nowrap; }
.tab:hover { background: #282434; }
.tab.selected { background: #332644; color: #e9d6fd; border-color: #4d3a61; }
.table-wrap { overflow-x: auto; }
table { width: 100%; text-align: left; border-collapse: collapse; font-size: 12px; }
th { background: #1e1d29; color: #bfbacc; font-weight: 650; white-space: nowrap; }
th, td { padding: 12px 14px; border-top: 1px solid #2b2938; }
td { color: #d7d3e1; }
td:first-child, th:first-child { padding-left: 17px; }
td:last-child, th:last-child { padding-right: 17px; }
.table-title { border: 0; padding: 0; background: transparent; font-weight: 700; text-align: left; color: var(--text); }
.table-title:hover { color: var(--lavender); text-decoration: underline; }
.inline-person { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.cell-note, .late { display: block; font-size: 10px; margin-top: 3px; color: var(--muted); }
.late { color: #ffb4a8; }
.date-control { display: flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid var(--border); border-radius: 7px; background: #21202b; color: var(--muted); }
.date-control input, .date-control select { font-size: 12px; min-height: 25px; background: transparent; border: none; color: var(--text); padding: 0; }
.date-control select option { background: var(--surface); }
.attendance-card { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding: 17px; margin-bottom: 15px; }
.attendance-title { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.attendance-times { display: flex; align-items: center; gap: 14px; }
.attendance-times div { display: grid; gap: 4px; min-width: 60px; }
.attendance-times small, .detail-meta small { color: var(--muted); font-size: 11px; }

dialog { color: var(--text); width: min(560px, calc(100% - 28px)); padding: 0; border: 1px solid #473954; border-radius: 15px; background: #1c1b27; box-shadow: 0 20px 90px #05030dcc; max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #0b0812bb; backdrop-filter: blur(3px); }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 9px; padding: 17px 18px 14px; border-bottom: 1px solid var(--border); }
.dialog-head h2 { font-size: 20px; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.dialog-head p { font-size: 12px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }
.dialog-body { padding: 15px 18px 17px; }
.dialog-body .list { padding: 0; }
.dialog-actions { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: end; gap: 7px; }
.field { display: grid; gap: 6px; color: #e4dfee; margin-bottom: 12px; font-size: 12px; font-weight: 650; min-width: 0; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; background: #15151e; border: 1px solid #383548; border-radius: 8px; color: var(--text); font-size: 13px; }
.field textarea { resize: vertical; min-height: 74px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #938da6; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.form-help { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.form-error { border-radius: 7px; background: #43282d; color: #ffc1b7; padding: 8px; font-size: 12px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px 19px; padding: 11px; background: #22212e; border-radius: 9px; }
.detail-meta div { display: grid; align-content: start; gap: 5px; }
.detail-meta strong { font-size: 12px; }
.detail-sections { display: grid; gap: 12px; margin-top: 12px; }
.detail-sections h3 { font-size: 13px; margin-bottom: 4px; }
.detail-sections p, .account-detail p { color: #c4bfd1; font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.history { display: grid; gap: 8px; padding-left: 18px; margin: 7px 0 0; }
.history strong { font-size: 12px; }
.history small { display: block; color: var(--muted); font-size: 11px; margin: 2px 0; }
.proof-link { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; margin-top: 4px; }
.account-detail { display: flex; align-items: center; gap: 10px; min-width: 0; }
.search-links { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px; }
#toast { position: fixed; z-index: 9; right: 20px; bottom: 20px; transform: translateY(10px); opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px; background: #29243a; border: 1px solid #59466f; color: #f4eafa; padding: 10px 14px; border-radius: 9px; box-shadow: 0 10px 30px #0006; font-size: 13px; font-weight: 650; transition: opacity .18s, transform .18s; }
#toast.visible { opacity: 1; transform: translateY(0); }
#toast span { color: #a4ebc7; }

.login-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); min-height: 100dvh; }
.login-intro { position: relative; isolation: isolate; display: grid; min-height: 630px; grid-template-rows: auto 1fr auto; align-items: start; overflow: hidden; padding: clamp(23px, 4vw, 56px); background: radial-gradient(ellipse at 68% 72%, #3b2651 0%, transparent 61%), linear-gradient(155deg, #251a31, #16141f 78%); border-right: 1px solid #372b44; }
.login-intro .brand { padding: 0; }
.login-copy { position: relative; z-index: 1; align-self: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: #dec8f5; letter-spacing: .12em; font-size: 10px; font-weight: 780; }
.eyebrow i { height: 6px; width: 6px; border-radius: 50%; background: #f08073; }
.login-copy h1 { font-size: clamp(32px, 4.8vw, 74px); line-height: 1.02; letter-spacing: -.062em; margin: 16px 0; }
.login-copy em { font-style: normal; color: var(--lavender); }
.login-copy p { color: #d1c4df; font-size: 15px; max-width: 330px; line-height: 1.6; }
.login-orbit { width: min(460px, 80%); aspect-ratio: 1; bottom: -110px; right: -65px; opacity: .55; }
.login-footer, .sample-note { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; }
.login-footer { z-index: 1; }
.login-panel { display: grid; align-items: center; justify-items: center; padding: 28px; }
.login-inner { width: min(100%, 400px); }
.login-inner h2 { font-size: clamp(23px, 3vw, 33px); letter-spacing: -.05em; line-height: 1.13; }
.login-inner > p { color: var(--muted); line-height: 1.45; margin-top: 7px; }
.role-picker { display: flex; flex-wrap: wrap; gap: 5px; margin: 18px 0 12px; }
.role-picker .tab { background: #1f1e2a; border-color: #353143; }
.role-picker .tab.selected { background: #342746; border-color: #674d80; }
.login-example { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; padding: 9px; background: var(--panel); border: 1px solid var(--border); border-radius: 8px; }
.login-example strong, .login-example span:not(.avatar) { display: block; }
.login-example strong { font-size: 13px; }
.login-example span:not(.avatar) { font-size: 11px; color: var(--muted); margin-top: 2px; }
.password-field { display: flex; gap: 5px; }
.password-field .icon-btn { height: 40px; }
.login-submit { margin-top: 3px; width: 100%; justify-content: space-between; padding-inline: 11px; }
.login-inner > .sample-note { margin-top: 13px; }

@media (max-width: 1150px) {
  .layout { grid-template-columns: 214px minmax(0, 1fr); }
  .topbar { padding-inline: 20px; }
  .content { padding-inline: 20px; }
  .sidebar { padding-inline: 12px; }
}

@media (max-width: 850px) {
  .layout { display: block; }
  .sidebar { display: none; position: fixed; inset: 0 auto 0 0; width: min(265px, 86vw); z-index: 6; }
  .sidebar.open { display: flex; }
  .mobile-overlay.visible { display: block !important; position: fixed; z-index: 5; inset: 0; border: none; background: #09060caa; }
  .menu-toggle { display: inline-flex !important; }
  .topbar { height: 59px; }
  .content { padding-top: 17px; }
}

@media (max-width: 600px) {
  .topbar, .content { padding-inline: 12px; }
  .top-actions, .breadcrumbs { gap: 6px; }
  .breadcrumbs > span { display: none; }
  .search-button { width: 37px; }
  .search-button span, .search-button kbd { display: none; }
  .hero { min-height: 212px; border-radius: 12px; }
  .hero-content { padding: 17px 14px; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 13px; max-width: 270px; }
  .hero-orbit { right: -117px; opacity: .27; }
  .hero-actions { margin-top: 14px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
  .stat-card { padding: 10px; }
  .stat-arrow { right: 10px; top: 10px; }
  .overview-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .panel-head { padding: 12px 10px; }
  .page-heading { flex-wrap: wrap; margin-bottom: 15px; }
  .page-heading p { font-size: 13px; }
  .filter-bar { padding: 8px; gap: 4px; }
  .tab { padding: 6px 7px; }
  .page-panel > .list { padding-inline: 8px; }
  th, td { padding: 8px; }
  td:first-child, th:first-child { padding-left: 10px; }
  td:last-child, th:last-child { padding-right: 10px; }
  .login-layout { display: block; }
  .login-intro { min-height: auto; gap: 21px; padding: 19px 17px; border-right: 0; border-bottom: 1px solid #372b44; }
  .login-copy h1 { margin: 6px 0; font-size: 33px; }
  .login-copy p { font-size: 13px; max-width: 255px; }
  .login-orbit { bottom: -115px; right: -75px; }
  .login-panel { padding: 19px 17px 25px; }
  .login-inner h2 { font-size: 24px; }
  .role-picker { margin-top: 12px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field input, .field textarea, .field select { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 600px) {
  .table-wrap { padding: 0 9px 9px; }
  table { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody { display: grid; gap: 7px; }
  tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; padding: 10px; border: 1px solid var(--border); border-radius: 8px; background: #1e1d29; }
  tbody td, tbody td:first-child, tbody td:last-child { display: grid; gap: 3px; border: 0; padding: 0; align-content: start; overflow-wrap: anywhere; }
  tbody td:first-child { grid-column: 1 / -1; }
  tbody td:not(:first-child):not([data-label="Action"])::before { content: attr(data-label); color: var(--muted); font-size: 10px; font-weight: 650; }
  tbody td .table-action { justify-self: start; padding: 0; min-height: 23px; }
  tbody td .inline-person { white-space: normal; }
}

.boot-view { min-height: 60vh; display: grid; justify-items: center; align-content: center; gap: 16px; padding: 24px; color: var(--muted); text-align: center; }
.boot-view .brand { color: var(--text); }
.login-inner form { margin-top: 21px; }
button:disabled { opacity: .65; cursor: progress; }
.team-meta, .account-error { margin-top: 14px; }
@media (max-width: 410px) {
  .top-actions .sync-button { width: 32px; }
  .top-actions .notifications { width: 32px; }
  .breadcrumbs strong { white-space: normal; line-height: 1.15; }
}

.setup-panel { max-width: 38rem; margin: 2rem auto; padding: 1.5rem; }
.setup-panel h1 { margin: .75rem 0; font-size: 2rem; }
.setup-panel p { color: var(--muted); margin-bottom: 1.2rem; }
.setup-panel .form-error { margin-bottom: 1rem; }
.setup-panel > a { display: inline-block; margin-top: 1.25rem; }
.setup-notice { margin-top: 1rem; color: var(--muted); }
.setup-notice a { font-weight: 600; }
