:root {
    --ink-950: #0f1720;
    --ink-900: #172330;
    --ink-800: #253449;
    --ink-700: #45566d;
    --ink-500: #7c8ca2;
    --ink-300: #c5ced9;
    --ink-100: #eef2f7;
    --paper: #f6f5ef;
    --paper-strong: #fffdf7;
    --teal-600: #0f766e;
    --teal-500: #159a8c;
    --teal-300: #87d8c9;
    --amber-500: #d97706;
    --coral-500: #d9485f;
    --success-500: #1d8f5f;
    --danger-500: #d14343;
    --warning-500: #cc8a06;
    --shadow-sm: 0 10px 25px rgba(15, 23, 32, 0.08);
    --shadow-md: 0 20px 40px rgba(15, 23, 32, 0.12);
    --shadow-lg: 0 28px 60px rgba(15, 23, 32, 0.16);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --transition-fast: 180ms ease;
    --transition-base: 260ms ease;
    --sidebar-width: 280px;
    --header-height: 84px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ink-900);
    background:
        radial-gradient(circle at top left, rgba(21, 154, 140, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(217, 72, 95, 0.12), transparent 24%),
        linear-gradient(180deg, #f9f8f2 0%, #edf2f5 100%);
    font-family: "Noto Sans SC", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

#app {
    min-height: 100vh;
}

.boot-splash {
    min-height: 100vh;
    display: grid;
    place-items: center;
    gap: 1.2rem;
    padding: 2rem;
    background:
        linear-gradient(135deg, rgba(15, 23, 32, 0.92), rgba(23, 118, 110, 0.82)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.14), transparent 48%);
    color: #fff;
}

.boot-splash__logo {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
}

.boot-splash__logo img {
    width: 56px;
    height: 56px;
}

.boot-splash__title,
.brand-mark__title,
.auth-hero__title {
    font-family: "Noto Serif SC", serif;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.app-shell__sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1.25rem;
    background:
        linear-gradient(180deg, rgba(15, 23, 32, 0.98), rgba(23, 35, 48, 0.94)),
        radial-gradient(circle at top, rgba(21, 154, 140, 0.2), transparent 42%);
    color: #f5f7fb;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-shell__main {
    min-width: 0;
    padding: 1.5rem 1.5rem 2rem;
}

.page-frame {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-header {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(69, 86, 109, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 247, 0.82);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(14px);
}

.page-header__meta {
    min-width: 0;
}

.page-header__eyebrow {
    margin: 0 0 0.25rem;
    color: var(--teal-600);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.page-header__title {
    margin: 0;
    color: var(--ink-950);
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 800;
}

.page-header__subtitle {
    margin: 0.35rem 0 0;
    color: var(--ink-700);
    max-width: 48rem;
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.content-grid {
    display: grid;
    gap: 1.25rem;
}

.content-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.section-heading h2,
.section-heading h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.section-subtitle {
    margin: 0.25rem 0 0;
    color: var(--ink-700);
    font-size: 0.92rem;
}

.utility-muted {
    color: var(--ink-700);
}

.utility-number {
    font-variant-numeric: tabular-nums;
}

.loading-state,
.empty-state {
    min-height: 200px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--ink-700);
}

.loading-state__inner,
.empty-state__inner {
    max-width: 380px;
}

.loading-state__inner i,
.empty-state__inner i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    color: var(--teal-500);
}

.mobile-nav {
    display: none;
}
