:root {
    color-scheme: dark;
    --bg: #0a0b0f;
    --bg-soft: #0f1117;
    --panel: rgba(19, 21, 29, 0.9);
    --panel-solid: #13151d;
    --panel-raised: #191c26;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f1ea;
    --text-soft: #b6b3ad;
    --text-faint: #777a84;
    --accent: #f2a65a;
    --accent-strong: #ffc27d;
    --accent-soft: rgba(242, 166, 90, 0.13);
    --violet: #a998ff;
    --violet-soft: rgba(169, 152, 255, 0.12);
    --teal: #74d8c4;
    --teal-soft: rgba(116, 216, 196, 0.11);
    --danger: #ff7f87;
    --shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --sidebar: 264px;
    --details: 290px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 79% -8%, rgba(169, 152, 255, 0.10), transparent 31rem),
        radial-gradient(circle at 27% 5%, rgba(242, 166, 90, 0.07), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

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

svg {
    display: block;
}

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

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: var(--sidebar);
    display: flex;
    flex-direction: column;
    background: rgba(10, 11, 15, 0.92);
    border-right: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 18px 18px 14px;
}

.brand-mark {
    position: relative;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(242, 166, 90, 0.45);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(242, 166, 90, 0.22), rgba(169, 152, 255, 0.10)),
        #171820;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 9px 24px rgba(0, 0, 0, 0.25);
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.brand-mark::before {
    width: 17px;
    height: 17px;
    left: 8px;
    top: 8px;
    border: 2px solid var(--accent);
    border-right-color: transparent;
    transform: rotate(-22deg);
}

.brand-mark::after {
    width: 7px;
    height: 7px;
    right: 8px;
    bottom: 8px;
    background: var(--violet);
    box-shadow: 0 0 14px rgba(169, 152, 255, 0.7);
}

.brand-copy {
    min-width: 0;
}

.brand-name {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-kicker {
    display: block;
    margin-top: 2px;
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.world-switcher {
    margin: 4px 12px 15px;
}

.world-switcher button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: var(--panel);
    cursor: pointer;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease;
}

.world-switcher button:hover {
    border-color: rgba(242, 166, 90, 0.35);
    background: var(--panel-raised);
}

.world-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #514576, #1c3740);
    color: #fff1dd;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 800;
}

.world-copy {
    min-width: 0;
    flex: 1;
}

.world-label,
.world-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.world-label {
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.world-name {
    margin-top: 3px;
    color: var(--text);
    font-size: 13px;
    font-weight: 760;
}

.nav-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 0 10px 18px;
    scrollbar-width: thin;
    scrollbar-color: #30333e transparent;
}

.nav-group + .nav-group {
    margin-top: 22px;
}

.nav-title {
    margin: 0 10px 7px;
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 41px;
    margin: 2px 0;
    padding: 0 11px;
    border-radius: 12px;
    color: #aaaab2;
    font-size: 13px;
    font-weight: 660;
    transition: color 150ms ease, background 150ms ease;
}

.nav-link:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.045);
}

.nav-link.active {
    color: #fff5e8;
    background: linear-gradient(90deg, rgba(242, 166, 90, 0.15), rgba(242, 166, 90, 0.045));
}

.nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    width: 3px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(242, 166, 90, 0.45);
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: 0.9;
}

.nav-count {
    margin-left: auto;
    min-width: 24px;
    padding: 2px 7px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-faint);
    font-size: 10px;
    text-align: center;
}

.sidebar-footer {
    padding: 12px;
    border-top: 1px solid var(--line);
}

.profile-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.profile-button:hover {
    background: rgba(255, 255, 255, 0.045);
}

.profile-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(169, 152, 255, 0.35);
    border-radius: 50%;
    background: var(--violet-soft);
    color: #dcd6ff;
    font-size: 12px;
    font-weight: 900;
}

.profile-copy {
    min-width: 0;
    flex: 1;
}

.profile-name,
.profile-role {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-name {
    color: var(--text);
    font-size: 12px;
    font-weight: 760;
}

.profile-role {
    margin-top: 2px;
    color: var(--text-faint);
    font-size: 10px;
}

.app-main {
    grid-column: 2;
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 78px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 11, 15, 0.78);
    backdrop-filter: blur(18px);
}

.mobile-menu {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--panel);
    cursor: pointer;
}

.search-box {
    position: relative;
    width: min(560px, 52vw);
}

.search-box svg {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: var(--text-faint);
    transform: translateY(-50%);
    pointer-events: none;
}

.search-box input {
    width: 100%;
    height: 43px;
    padding: 0 88px 0 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    background: rgba(19, 21, 29, 0.78);
    color: var(--text);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.search-box input::placeholder {
    color: #666a75;
}

.search-box input:focus {
    border-color: rgba(169, 152, 255, 0.5);
    background: var(--panel-solid);
    box-shadow: 0 0 0 4px rgba(169, 152, 255, 0.08);
}

.shortcut {
    position: absolute;
    right: 10px;
    top: 50%;
    padding: 4px 7px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    color: var(--text-faint);
    font-size: 10px;
    transform: translateY(-50%);
}

.topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 13px;
    cursor: pointer;
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

.icon-button {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text-soft);
}

.icon-button:hover,
.secondary-button:hover {
    border-color: var(--line-strong);
    background: var(--panel-raised);
}

.icon-button svg,
.primary-button svg,
.secondary-button svg {
    width: 17px;
    height: 17px;
}

.primary-button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(242, 166, 90, 0.48);
    background: linear-gradient(135deg, #d98d46, #b96d36);
    color: #160c05;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 8px 24px rgba(218, 141, 70, 0.17);
}

.primary-button:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #f0a159, #ca783d);
}

.secondary-button {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: var(--panel);
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 750;
}

.workspace {
    padding: 30px clamp(18px, 3vw, 42px) 58px;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.eyebrow {
    margin: 0 0 9px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.page-heading h1 {
    margin: 0;
    max-width: 760px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 4vw, 53px);
    font-weight: 500;
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.page-heading h1 em {
    color: var(--accent-strong);
    font-style: normal;
}

.page-subtitle {
    max-width: 660px;
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.heading-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(19, 21, 29, 0.65);
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 750;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 11px rgba(116, 216, 196, 0.75);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
    gap: 18px;
}

.dashboard-column {
    min-width: 0;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(25, 28, 38, 0.9), rgba(15, 17, 23, 0.92));
    box-shadow: var(--shadow);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 28px;
}

.hero-panel::before {
    content: "";
    position: absolute;
    width: 410px;
    height: 410px;
    right: -138px;
    top: -180px;
    border: 1px solid rgba(169, 152, 255, 0.17);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(169, 152, 255, 0.025),
        0 0 0 78px rgba(242, 166, 90, 0.018);
}

.hero-panel::after {
    content: "";
    position: absolute;
    right: 52px;
    bottom: 34px;
    width: 150px;
    height: 150px;
    background:
        radial-gradient(circle at 50% 50%, rgba(242, 166, 90, 0.18) 0 2px, transparent 3px),
        radial-gradient(circle at 50% 50%, transparent 0 33px, rgba(169, 152, 255, 0.18) 34px 35px, transparent 36px),
        radial-gradient(circle at 50% 50%, transparent 0 64px, rgba(116, 216, 196, 0.11) 65px 66px, transparent 67px);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 620px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(169, 152, 255, 0.22);
    border-radius: 999px;
    background: var(--violet-soft);
    color: #d1c9ff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-content h2 {
    max-width: 520px;
    margin: 18px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.hero-content p {
    max-width: 520px;
    margin: 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.stat-card {
    min-width: 0;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(19, 21, 29, 0.78);
}

.stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.stat-label {
    color: var(--text-faint);
    font-size: 10px;
    font-weight: 780;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.stat-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--accent-soft);
    color: var(--accent);
}

.stat-icon.violet {
    background: var(--violet-soft);
    color: var(--violet);
}

.stat-icon.teal {
    background: var(--teal-soft);
    color: var(--teal);
}

.stat-icon svg {
    width: 14px;
    height: 14px;
}

.stat-value {
    margin-top: 15px;
    font-family: Georgia, serif;
    font-size: 29px;
    line-height: 1;
}

.stat-note {
    margin-top: 7px;
    color: var(--text-faint);
    font-size: 10px;
}

.section-block {
    margin-top: 26px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.section-heading h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.text-link {
    color: var(--text-faint);
    font-size: 11px;
    font-weight: 750;
}

.text-link:hover {
    color: var(--accent);
}

.entry-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(19, 21, 29, 0.68);
}

.entry-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 130px 88px 32px;
    align-items: center;
    gap: 13px;
    min-height: 74px;
    padding: 10px 15px;
    border-bottom: 1px solid var(--line);
    transition: background 150ms ease;
}

.entry-row:last-child {
    border-bottom: 0;
}

.entry-row:hover {
    background: rgba(255, 255, 255, 0.026);
}

.entry-glyph {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel-raised);
    color: var(--accent);
}

.entry-glyph.violet {
    color: var(--violet);
}

.entry-glyph.teal {
    color: var(--teal);
}

.entry-glyph svg {
    width: 18px;
    height: 18px;
}

.entry-main {
    min-width: 0;
}

.entry-title {
    overflow: hidden;
    color: var(--text);
    font-size: 12px;
    font-weight: 770;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-meta {
    overflow: hidden;
    margin-top: 5px;
    color: var(--text-faint);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-type {
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 700;
}

.entry-state {
    justify-self: start;
    padding: 5px 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-faint);
    font-size: 9px;
    font-weight: 800;
}

.entry-state.canon {
    border-color: rgba(116, 216, 196, 0.25);
    background: var(--teal-soft);
    color: #9ce6d6;
}

.more-button {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--text-faint);
    cursor: pointer;
}

.more-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.side-card {
    padding: 20px;
}

.side-card + .side-card {
    margin-top: 14px;
}

.side-card h3 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 500;
}

.side-copy {
    margin: 8px 0 0;
    color: var(--text-faint);
    font-size: 11px;
    line-height: 1.65;
}

.progress-ring-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}

.progress-ring {
    width: 78px;
    height: 78px;
    flex: 0 0 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--accent) 0 18%, rgba(255, 255, 255, 0.06) 18% 100%);
}

.progress-ring::before {
    content: "18%";
    width: 61px;
    height: 61px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--panel-solid);
    color: var(--text);
    font-family: Georgia, serif;
    font-size: 17px;
}

.progress-copy strong,
.progress-copy span {
    display: block;
}

.progress-copy strong {
    color: var(--text);
    font-size: 12px;
}

.progress-copy span {
    margin-top: 4px;
    color: var(--text-faint);
    font-size: 10px;
    line-height: 1.5;
}

.task-list {
    margin-top: 15px;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
}

.task-check {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin-top: 1px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.task-copy {
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.5;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.quick-tile {
    min-height: 76px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.quick-tile:hover {
    transform: translateY(-1px);
    border-color: rgba(242, 166, 90, 0.28);
    background: var(--accent-soft);
}

.quick-tile svg {
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.quick-tile span {
    color: var(--text-soft);
    font-size: 10px;
    font-weight: 750;
}

.tip-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(169, 152, 255, 0.16);
    background: linear-gradient(145deg, rgba(169, 152, 255, 0.09), rgba(19, 21, 29, 0.88));
}

.tip-card::after {
    content: "✦";
    position: absolute;
    right: 14px;
    top: 6px;
    color: rgba(169, 152, 255, 0.22);
    font-size: 52px;
}

.tip-label {
    color: var(--violet);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tip-card blockquote {
    position: relative;
    z-index: 2;
    margin: 13px 0 0;
    color: #d8d4df;
    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.55;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(5, 6, 9, 0.74);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(9px);
    transition: opacity 170ms ease;
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.create-modal {
    width: min(720px, 100%);
    max-height: min(720px, calc(100vh - 40px));
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-radius: 26px;
    background: #12141c;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.58);
    transform: translateY(12px) scale(0.985);
    transition: transform 170ms ease;
}

.modal-backdrop.open .create-modal {
    transform: none;
}

.modal-head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.modal-head h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 500;
}

.modal-head p {
    margin: 7px 0 0;
    color: var(--text-faint);
    font-size: 11px;
}

.close-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    cursor: pointer;
}

.create-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.create-option {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.018);
    cursor: pointer;
    text-align: left;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.create-option:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 166, 90, 0.34);
    background: var(--accent-soft);
}

.create-option svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.create-option strong {
    display: block;
    color: var(--text);
    font-size: 11px;
}

.create-option span {
    display: block;
    margin-top: 4px;
    color: var(--text-faint);
    font-size: 9px;
    line-height: 1.45;
}

.sidebar-overlay {
    display: none;
}

@media (max-width: 1120px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-column.side-column {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .side-card + .side-card {
        margin-top: 0;
    }
}

@media (max-width: 850px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-main {
        grid-column: 1;
    }

    .sidebar {
        transform: translateX(-102%);
        transition: transform 190ms ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 35;
        display: block;
        background: rgba(0, 0, 0, 0.58);
        opacity: 0;
        pointer-events: none;
        transition: opacity 190ms ease;
    }

    .sidebar-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu {
        display: grid;
    }

    .search-box {
        width: min(100%, 520px);
    }

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

    .dashboard-column.side-column {
        grid-template-columns: 1fr;
    }

    .entry-row {
        grid-template-columns: 44px minmax(0, 1fr) 80px 30px;
    }

    .entry-type {
        display: none;
    }
}

@media (max-width: 600px) {
    .topbar {
        padding: 11px 13px;
    }

    .topbar .icon-button {
        display: none;
    }

    .primary-button .button-label {
        display: none;
    }

    .primary-button {
        width: 42px;
        padding: 0;
    }

    .search-box input {
        padding-right: 13px;
    }

    .shortcut {
        display: none;
    }

    .workspace {
        padding: 24px 14px 44px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .heading-status {
        display: none;
    }

    .hero-panel {
        min-height: 310px;
        padding: 22px;
    }

    .hero-panel::after {
        right: -12px;
        bottom: -8px;
        opacity: 0.45;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        padding: 14px;
    }

    .entry-row {
        grid-template-columns: 40px minmax(0, 1fr) 30px;
        min-height: 69px;
        padding-inline: 11px;
    }

    .entry-state,
    .entry-type {
        display: none;
    }

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

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