:root {
  color-scheme: light;
  --ink: #252a24;
  --muted: #73766e;
  --paper: #f5f2ea;
  --surface: #fffefa;
  --line: #e5e1d7;
  --forest: #35493d;
  --forest-deep: #26392f;
  --sage: #dfe6d8;
  --clay: #b9694e;
  --clay-dark: #9f523b;
  --butter: #e8c98f;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); }
a { color: var(--clay-dark); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.035em; }
h1 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
h2 { font-size: 21px; margin-top: 0; }
p { line-height: 1.6; }

.public-main { width: 100%; max-width: none; min-height: 100vh; margin: 0; padding: 0; }
.auth-page { width: min(1080px, calc(100% - 48px)); margin: 0 auto; padding: 27px 0 18px; }
.auth-brand { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 auto; color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.04em; }
.brand-light { color: var(--clay); }
.brand-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; border-radius: 11px 11px 11px 3px; background: var(--forest); color: #fffefa; font-size: 17px; font-weight: 800; box-shadow: 0 5px 12px #26392f2a; }
.auth-heading { margin: 19px auto 27px; text-align: center; }
.eyebrow { margin: 0 0 10px; color: var(--clay-dark); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.auth-heading h1, .welcome-hero h1 { margin: 0; font-size: clamp(34px, 5vw, 54px); font-weight: 850; letter-spacing: -.065em; line-height: .99; }
.auth-heading h1 span, .welcome-hero h1 span { color: var(--forest); }
.auth-subtitle { margin: 13px 0 0; color: var(--muted); font-size: 15px; }
.auth-grid { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 400px; overflow: hidden; border: 1px solid #dedbd1; border-radius: 23px; background: var(--surface); box-shadow: 0 24px 70px #3b392b12; }
.auth-story { position: relative; display: flex; min-height: 400px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 27px 32px 23px; background: var(--forest); color: #f7f3e9; }
.auth-story::before { position: absolute; top: -120px; right: -115px; width: 340px; height: 340px; border: 1px solid #d8dfce32; border-radius: 50%; content: ""; }
.auth-story::after { position: absolute; top: -70px; right: -65px; width: 240px; height: 240px; border: 1px solid #d8dfce24; border-radius: 50%; content: ""; }
.story-kicker, .story-footer { position: relative; z-index: 1; color: #d5dece; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.story-art { position: absolute; top: 51px; right: 38px; width: 180px; height: 180px; }
.art-orbit { position: absolute; display: block; border: 1px solid #e8c98f65; border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { inset: 13px 5px 20px 28px; }
.orbit-two { inset: 35px 28px 2px 5px; border-color: #f7f3e93d; transform: rotate(35deg); }
.art-spark { position: absolute; top: 58px; left: 67px; color: var(--butter); font-size: 66px; line-height: 1; }
.art-dot { position: absolute; top: 34px; right: 25px; width: 10px; height: 10px; border-radius: 50%; background: #df9b72; box-shadow: 0 0 0 7px #df9b7225; }
.story-copy { position: relative; z-index: 1; margin-top: auto; padding: 105px 0 22px; }
.story-number { margin: 0 0 11px; color: var(--butter); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.story-number span { color: #d5dece91; }
.story-copy h2 { margin: 0; color: #fffefa; font-size: clamp(31px, 4vw, 43px); font-weight: 700; letter-spacing: -.055em; line-height: 1.04; }
.story-copy > p:last-child { max-width: 315px; margin: 13px 0 0; color: #e3e7de; font-size: 14px; }
.story-footer { display: flex; align-items: center; gap: 10px; font-size: 9px; letter-spacing: .11em; }
.story-line { width: 30px; height: 1px; background: var(--butter); }
.story-signup { background: #62483d; }
.story-signup .art-spark { color: #f0c79e; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: 38px clamp(30px, 5vw, 64px); }
.form-heading { margin-bottom: 21px; }
.form-heading .eyebrow { margin-bottom: 7px; }
.form-heading h2 { margin: 0 0 5px; font-size: 32px; font-weight: 750; letter-spacing: -.06em; }
.form-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.auth-form { display: grid; gap: 15px; }
label { display: block; color: #41443e; font-size: 12px; font-weight: 700; }
input, textarea, select { display: block; width: 100%; margin-top: 7px; padding: 12px 13px; border: 1px solid #dcd9d0; border-radius: 9px; outline: none; background: #fffefa; color: var(--ink); font: inherit; font-size: 13px; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
input::placeholder { color: #a2a198; }
input:focus, textarea:focus, select:focus { border-color: #748a70; box-shadow: 0 0 0 3px #748a701a; background: #fff; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.auth-passwords { gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 43px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; color: #fffefa; font: inherit; font-size: 13px; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--clay); box-shadow: 0 6px 14px #9f523b24; }
.button-primary:hover { background: var(--clay-dark); }
.button-primary span { font-size: 16px; }
.button-wide { width: 100%; margin-top: 3px; }
.button-outline { border-color: #cfcbbf; background: transparent; color: var(--ink); }
.button-outline:hover { border-color: var(--forest); background: #fffefa; }
.auth-switch { margin: 18px 0 0; color: var(--muted); text-align: center; font-size: 12px; }
.auth-switch a { color: var(--clay-dark); font-weight: 750; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-note { margin: 13px 0 0; padding: 10px 12px; border-radius: 8px; background: #f1eee5; color: #68685e; font-size: 11px; line-height: 1.5; }
.auth-privacy { margin: 20px 0 0; padding-top: 13px; border-top: 1px solid #ece9e1; color: #86867d; text-align: center; font-size: 10px; }
.auth-privacy span { padding-right: 4px; color: var(--clay); }
.auth-footer { display: flex; justify-content: space-between; gap: 12px; width: 100%; margin: 17px auto 0; color: #89897f; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.auth-footer span:first-child { color: var(--forest); }

.welcome-page { display: flex; min-height: 100vh; flex-direction: column; justify-content: flex-start; }
.welcome-hero { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; min-height: 500px; padding: 60px 0; text-align: center; }
.welcome-hero .eyebrow { margin-bottom: 15px; }
.welcome-hero .auth-subtitle { font-size: 17px; }
.welcome-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.welcome-ribbon { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 45px); padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #929187; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.welcome-ribbon b { margin-left: 6px; color: var(--forest); font-weight: 750; }
.welcome-ribbon i { width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }

.topbar { display: flex; min-height: 66px; align-items: center; justify-content: space-between; gap: 20px; padding: 10px clamp(20px, 4vw, 56px); background: var(--forest-deep); color: #f8f5ec; }
.topbar .brand { display: flex; align-items: center; gap: 10px; color: #fffefa; font-size: 16px; font-weight: 750; text-decoration: none; letter-spacing: -.04em; }
.topbar .brand-mark { width: 31px; height: 31px; border: 1px solid #ffffff3b; background: #ffffff15; box-shadow: none; }
.topbar .brand-light { color: #e5c58d; }
.topbar-account { display: flex; align-items: center; gap: 18px; color: #e0e5dc; font-size: 12px; }
.topbar-account i { padding: 0 4px; color: #aebbad; font-style: normal; }
.topbar-account form { margin: 0; }
.button-quiet { min-height: 34px; padding: 7px 12px; border-color: #ffffff45; background: transparent; color: #fffefa; font-size: 11px; }
.button-quiet:hover { background: #ffffff12; }
.app-layout { display: flex; min-height: calc(100vh - 66px); }
.sidebar { display: flex; flex: 0 0 235px; flex-direction: column; padding: 25px 15px 18px; border-right: 1px solid var(--line); background: #efede5; }
.nav-heading { margin: 14px 12px 7px; color: #85867b; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.nav-link { display: block; margin: 2px 0; padding: 10px 12px; border-radius: 8px; color: #50564d; font-size: 12px; font-weight: 600; text-decoration: none; transition: background .15s ease, color .15s ease; }
.nav-link:hover, .nav-link:focus { background: #e1e6dc; color: var(--forest-deep); }
.sidebar-note { margin: auto 7px 0; padding: 15px; border: 1px solid #dfddd2; border-radius: 12px; background: #f7f5ee; }
.sidebar-note-mark { color: var(--clay); font-size: 18px; }
.sidebar-note p { margin: 5px 0 0; color: #73766e; font-size: 10px; line-height: 1.5; }
.app-main { flex: 1; width: calc(100% - 235px); max-width: none; margin: 0; padding: 34px clamp(22px, 4vw, 60px); }
.app-main > h1 { margin-top: 0; }
.welcome-card, .card { margin: 15px 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 6px 20px #272d2510; }
.welcome-card { max-width: 820px; padding: 28px; background: var(--forest); color: #eff1e9; }
.welcome-card h1 { color: #fffefa; }
.welcome-card > p:not(.eyebrow) { max-width: 610px; color: #e1e7dd; }
.welcome-card .eyebrow { color: var(--butter); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--forest-deep); text-decoration: none; }
.tile:hover { border-color: #a9b49f; box-shadow: 0 7px 20px #272d2510; }
.tile span { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 11px 10px; border-bottom: 1px solid #ebe8df; text-align: left; vertical-align: top; }
th { background: #ecefe8; color: var(--forest-deep); font-size: 10px; font-weight: 800; letter-spacing: .04em; }
tr:last-child td { border-bottom: 0; }
.scroll { overflow: auto; }
.actions { white-space: nowrap; }
.actions form { display: inline; }
.notice { margin: 10px 0 16px; padding: 11px 13px; border: 1px solid #cbd8c4; border-radius: 9px; background: #edf3e9; color: #344b38; font-size: 12px; }
.notice.error { border-color: #e6c0b4; background: #fbefea; color: #8d4433; }
.danger { margin: 0; padding: 7px 10px; border: 0; border-radius: 7px; background: #a84f3a; color: white; font: inherit; font-size: 11px; cursor: pointer; }
.secondary { background: #73776e; }
.app-main .button { margin-top: 12px; }
.app-main textarea { min-height: 84px; resize: vertical; }
.app-main .fields { margin: 14px 0; }

@media (max-width: 760px) {
  .auth-page { width: min(560px, calc(100% - 28px)); padding-top: 18px; }
  .auth-heading { margin: 18px auto 20px; }
  .auth-heading h1, .welcome-hero h1 { font-size: clamp(31px, 8vw, 43px); }
  .auth-grid { grid-template-columns: 1fr; }
  .auth-story { min-height: 210px; padding: 20px 22px; }
  .story-art { top: 15px; right: 19px; transform: scale(.68); transform-origin: top right; }
  .story-copy { padding: 54px 0 5px; }
  .story-copy h2 { font-size: 29px; }
  .story-copy > p:last-child { max-width: 250px; margin-top: 8px; font-size: 12px; }
  .story-footer { margin-top: 16px; }
  .auth-card { padding: 27px 23px; }
  .auth-footer { flex-wrap: wrap; justify-content: center; text-align: center; }
  .welcome-hero { min-height: 60vh; }
  .welcome-ribbon { gap: 11px; font-size: 8px; }
  .topbar { padding: 10px 15px; }
  .topbar-account { gap: 8px; font-size: 10px; }
  .app-layout { display: block; }
  .sidebar { display: block; width: 100%; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .sidebar-note { display: none; }
  .nav-heading { margin: 7px 7px 4px; }
  .nav-link { display: inline-block; padding: 7px 9px; font-size: 11px; }
  .app-main { width: 100%; padding: 22px 14px; }
}
@media (max-width: 480px) {
  .fields { grid-template-columns: 1fr; }
  .auth-passwords { gap: 11px; }
  .auth-heading h1, .welcome-hero h1 { font-size: 31px; }
  .topbar-account > span { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .welcome-ribbon { flex-wrap: wrap; }
}

/* Workspace navigation and data views */
.topbar-account { gap: 14px; }
.account-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.account-name { color: #fffefa; font-size: 16px; line-height: 1.15; font-weight: 800; }
.account-role { color: #e8c98f; font-size: 11px; line-height: 1.1; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-heading { display: block; margin: 17px 1px 9px; padding: 9px 12px; border: 1px solid #d5d8cc; border-radius: 9px; background: #e5e8de; color: #35493d; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.nav-link { display: flex; align-items: center; gap: 11px; margin: 6px 0; padding: 12px 13px; border: 1px solid #dedfd5; border-radius: 10px; background: #fffefa; color: #273b30; font-size: 15px; font-weight: 700; box-shadow: 0 2px 5px #26392f0a; }
.nav-link .nav-icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 8px; background: #e9ede4; color: #35493d; font-size: 13px; font-weight: 850; }
.nav-link:hover, .nav-link:focus { border-color: #aebaa7; background: #e5eadd; color: #1e392d; transform: translateX(2px); }
.nav-link.active { border-color: var(--forest); background: var(--forest); color: #fffefa; }
.nav-link.active .nav-icon { background: #ffffff20; color: #f3d8a1; }
.dashboard-topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 4px 0 25px; }
.dashboard-topline h1 { margin: 0 0 8px; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 14px; }
.today-mark, .record-count, .goal-count { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--forest); font-size: 11px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0 0 20px; }
.stat-card { min-height: 142px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 5px 16px #272d250c; }
.stat-card.sage { background: #e6ecdf; }.stat-card.clay { background: #f0e3dc; }.stat-card.gold { background: #f2ecd9; }.stat-card.plum { background: #ece8ec; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #51594e; font-size: 13px; font-weight: 750; }
.stat-card > strong { display: block; margin-top: 12px; color: var(--forest-deep); font-size: 32px; line-height: 1; letter-spacing: -.05em; }
.stat-card > p { margin: 8px 0 0; color: #77796f; font-size: 11px; }
.stat-icon, .quick-action-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #fffefaab; color: var(--forest); font-size: 16px; font-weight: 850; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(230px,.8fr); gap: 16px; }
.quick-actions-card, .focus-card, .form-card, .records-card, .chart-card, .goals-card { border-color: var(--line); border-radius: 14px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.section-heading h2 { margin: 0; }
.section-mark { color: var(--clay); font-size: 20px; }
.quick-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.quick-action { display: flex; align-items: center; gap: 11px; min-height: 68px; padding: 11px 12px; border: 1px solid #e4e1d8; border-radius: 10px; background: #fffefa; color: var(--ink); text-decoration: none; transition: border-color .16s, background .16s, transform .16s; }
.quick-action:hover { transform: translateY(-1px); border-color: #b4c0aa; background: #f7f8f2; }
.quick-action > span:nth-child(2) { display: grid; gap: 4px; }.quick-action strong { color: var(--forest-deep); font-size: 13px; }.quick-action small { color: var(--muted); font-size: 10px; }.quick-arrow { margin-left: auto; color: var(--clay); font-size: 17px; }
.focus-card { position: relative; overflow: hidden; background: var(--forest); color: #f8f5ec; }
.focus-card .eyebrow { color: var(--butter); }.focus-card h2 { margin: 10px 0 8px; color: #fffefa; font-size: 22px; }.focus-card > p:not(.eyebrow) { color: #e1e7dd; font-size: 12px; line-height: 1.65; }.focus-flower { color: var(--butter); font-size: 26px; }.focus-foot { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #e8c98f; font-size: 10px; font-weight: 750; letter-spacing: .04em; }.focus-line { width: 25px; height: 1px; background: var(--butter); }
.fields label { color: #41443e; font-size: 13px; font-weight: 750; }.field-hint { display: block; margin-top: 7px; color: #73766e; font-size: 11px; font-weight: 500; }
.form-actions { display: flex; align-items: center; gap: 9px; }.table-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 14px; }.search-field { position: relative; flex: 1; max-width: 390px; }.search-field > span { position: absolute; top: 10px; left: 12px; color: #7d8177; font-size: 19px; }.search-field input { padding-left: 37px; }.filter-field { display: flex; align-items: center; gap: 9px; color: #51594e; font-size: 12px; font-weight: 750; }.filter-field select { width: auto; min-width: 145px; margin: 0; }
.table-card th { white-space: nowrap; }.id-tag { display: inline-block; padding: 4px 8px; border: 1px solid #d9dfd4; border-radius: 7px; background: #edf0e8; color: #405746; font-size: 11px; font-weight: 800; white-space: nowrap; }.status-chip { display: inline-flex; align-items: center; padding: 5px 9px; border: 1px solid #d9e1d5; border-radius: 999px; background: #edf1e9; color: #435c47; font-size: 10px; font-weight: 800; white-space: nowrap; }.status-chip.active,.status-chip.submitted,.status-chip.acknowledged,.status-chip.completed { border-color: #cbdcc9; background: #e7f0e4; color: #38623e; }.status-chip.on-leave,.status-chip.planned,.status-chip.draft,.status-chip.in-progress,.status-chip.not-started { border-color: #e8d9b7; background: #f5efdF; color: #785d2c; }.status-chip.terminated,.status-chip.closed,.status-chip.deferred,.status-chip.inactive { border-color: #e5c9bd; background: #f7ebe5; color: #8b4d3b; }
.action-link { display: inline-flex; align-items: center; padding: 6px 9px; border: 1px solid #d8ded3; border-radius: 7px; background: #fffefa; color: var(--forest); font-size: 11px; font-weight: 800; text-decoration: none; }.action-link:hover { background: #e9eee5; }.empty-row { padding: 28px!important; color: #797c72; text-align: center; }
.profile-hero { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }.profile-avatar { display: grid; flex: 0 0 62px; width: 62px; height: 62px; place-items: center; border-radius: 19px; background: var(--sage); color: var(--forest); font-size: 21px; font-weight: 850; }.profile-main h2 { margin: 0 0 5px; font-size: 23px; }.profile-main > p { margin: 0; color: var(--muted); font-size: 13px; }.profile-details { display: flex; flex-wrap: wrap; align-items: center; gap: 11px; margin-top: 11px; color: #74786d; font-size: 11px; }.profile-id { margin-left: auto; color: #797b72; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-align: right; }.profile-id strong { display: block; margin-top: 5px; color: var(--forest); font-size: 23px; letter-spacing: 0; }
.profile-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 15px 0; }.mini-stat { padding: 15px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }.mini-stat > span,.mini-stat > small { display: block; color: var(--muted); font-size: 11px; }.mini-stat > strong { display: block; margin: 7px 0 3px; color: var(--forest); font-size: 25px; }.score-denom { color: #797c72; font-size: 12px; }.score-chart { display: flex; align-items: flex-end; gap: 13px; min-height: 160px; padding: 15px 8px 17px; overflow-x: auto; }.chart-column { display: flex; flex: 1 0 74px; flex-direction: column; align-items: center; gap: 5px; color: #70746b; font-size: 10px; text-align: center; }.chart-column strong { color: var(--forest); font-size: 11px; }.chart-column > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.chart-track { display: flex; width: 28px; height: 95px; align-items: flex-end; overflow: hidden; border-radius: 7px 7px 3px 3px; background: #efeee7; }.chart-bar { width: 100%; border-radius: 7px 7px 3px 3px; background: var(--clay); }.chart-legend { display: inline-flex; align-items: center; gap: 7px; color: #73766e; font-size: 10px; }.chart-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); }.score-value { color: var(--forest); }.goal-count { font-size: 10px; }.goal-list { display: grid; gap: 11px; }.goal-row { padding: 14px; border: 1px solid #e5e1d7; border-radius: 10px; background: #fffefa; }.goal-row-main,.goal-progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.goal-row h3 { margin: 0; color: var(--forest-deep); font-size: 13px; }.goal-row p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }.progress-line { height: 7px; margin: 12px 0 7px; overflow: hidden; border-radius: 99px; background: #eceee7; }.progress-line span { display: block; height: 100%; border-radius: inherit; background: #71896b; }.goal-progress-label { color: #77796f; font-size: 10px; }.goal-progress-label strong { color: var(--forest); }.empty-state { padding: 24px 10px; color: var(--muted); text-align: center; }.empty-state > span { color: var(--clay); font-size: 20px; }.empty-state p { font-size: 12px; }
@media (max-width: 1000px) { .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.dashboard-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .account-name { font-size: 15px; }.account-role { font-size: 10px; }.sidebar { padding: 10px 12px; }.nav-heading { margin: 8px 0 6px; padding: 8px 10px; font-size: 11px; }.nav-link { display: inline-flex; margin: 4px 4px 4px 0; padding: 9px 11px; font-size: 13px; }.dashboard-topline { align-items: flex-start; flex-direction: column; }.quick-actions { grid-template-columns: 1fr 1fr; }.table-tools { align-items: stretch; flex-direction: column; }.search-field { max-width: none; }.filter-field { justify-content: space-between; }.filter-field select { flex: 1; }.profile-stats { grid-template-columns: 1fr; }.profile-id { margin-left: 0; }.profile-hero { flex-wrap: wrap; } }
@media (max-width: 480px) { .topbar-account { gap: 9px; }.account-meta { align-items: flex-end; }.account-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }.nav-link { font-size: 12px; }.quick-actions { grid-template-columns: 1fr; }.stats-grid { gap: 8px; }.stat-card { min-height: 128px; padding: 14px; }.stat-card > strong { font-size: 27px; }.profile-avatar { flex-basis: 50px; width: 50px; height: 50px; }.profile-main h2 { font-size: 20px; } }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.brand-mark { object-fit: contain; }
.page-crumb { display: flex; align-items: center; gap: 14px; margin: 3px 0 25px; color: #8a8a80; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.crumb-link { color: var(--clay-dark); font-size: 14px; font-weight: 650; letter-spacing: 0; text-decoration: none; }
.crumb-link:hover { text-decoration: underline; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 4px 0 23px; }
.page-title-row h1 { margin: 0 0 8px; }
.page-title-row .eyebrow { margin-bottom: 8px; }
.record-count { margin-bottom: 4px; }
.notification-link, .theme-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 10px; border: 1px solid #ffffff45; border-radius: 9px; background: #ffffff0b; color: #fffefa; font: inherit; font-size: 11px; font-weight: 750; text-decoration: none; cursor: pointer; white-space: nowrap; }
.notification-link:hover, .theme-toggle:hover { background: #ffffff1b; }
.bell-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notification-link b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 999px; background: var(--clay); color: white; font-size: 10px; }
.theme-toggle-floating { position: fixed; z-index: 30; top: 18px; right: 18px; border-color: var(--line); background: var(--surface); color: var(--forest); box-shadow: 0 5px 16px #0002; }
.employee-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 15px; }
.employee-shortcuts a { display: flex; align-items: center; justify-content: space-between; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--forest); font-size: 13px; font-weight: 750; text-decoration: none; }
.employee-shortcuts a:hover { border-color: #aebaa7; background: var(--sage); }
.employee-shortcuts span { color: var(--clay); font-size: 18px; }
.full-field { grid-column: 1 / -1; }
.decision-actions { display: flex; align-items: center; gap: 6px; }
.decision-actions .button { min-height: 32px; margin: 0; padding: 6px 9px; font-size: 10px; }
.decision-actions .button-outline { border-color: var(--line); }
.notification-list { display: grid; gap: 0; }
.notification-card { display: flex; align-items: flex-start; gap: 13px; padding: 17px 4px; border-bottom: 1px solid var(--line); }
.notification-card:last-child { border-bottom: 0; }
.notification-card h2 { margin: 0 0 4px; font-size: 15px; }
.notification-card p { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.notification-card small { color: #8b8c82; font-size: 10px; }
.notification-dot { display: grid; flex: 0 0 35px; width: 35px; height: 35px; place-items: center; border-radius: 11px; background: var(--sage); color: var(--forest); font-size: 13px; font-weight: 850; }
.notification-dot.leave { background: var(--butter); color: #735931; }
.status-chip.pending { border-color: #e8d9b7; background: #f5efdf; color: #785d2c; }
.status-chip.approved { border-color: #cbdcc9; background: #e7f0e4; color: #38623e; }
.status-chip.rejected { border-color: #e5c9bd; background: #f7ebe5; color: #8b4d3b; }
@media (max-width: 900px) { .topbar-actions { gap: 6px; }.notification-link, .theme-toggle { padding: 7px; }.notification-link span, .theme-toggle [data-theme-label] { display: none; } }
@media (max-width: 760px) { .topbar { flex-wrap: wrap; }.topbar-actions { margin-left: auto; }.topbar-account { gap: 8px; }.account-name { max-width: 135px; font-size: 13px; }.account-role { font-size: 9px; }.notification-link, .theme-toggle { min-width: 34px; }.employee-shortcuts { grid-template-columns: 1fr; }.decision-actions { flex-wrap: wrap; } }
@media (max-width: 760px) { .page-title-row { align-items: flex-start; flex-direction: column; }.record-count { align-self: flex-start; }.page-crumb { flex-wrap: wrap; gap: 8px; } }

body[data-theme="dark"] {
  color-scheme: dark;
  --ink: #edf1e9; --muted: #aab4aa; --paper: #121a15; --surface: #1c261f;
  --line: #3a463d; --forest: #b3d0b7; --forest-deep: #111a14;
  --sage: #26362b; --clay: #d68b6e; --clay-dark: #e1a083; --butter: #ddc38f;
  background: var(--paper); color: var(--ink);
}
body[data-theme="dark"] .sidebar { background: #19221c; border-color: var(--line); }
body[data-theme="dark"] .nav-heading { border-color: #3a473d; background: #253229; color: #d2e0d1; }
body[data-theme="dark"] .nav-link { border-color: #344137; background: #202b23; color: #e0e8dd; box-shadow: none; }
body[data-theme="dark"] .nav-link .nav-icon { background: #334338; color: #d5e5d5; }
body[data-theme="dark"] .nav-link:hover, body[data-theme="dark"] .nav-link:focus { border-color: #718d73; background: #2a3a2f; color: #fff; }
body[data-theme="dark"] .nav-link.active { background: #466a52; border-color: #68866c; color: white; }
body[data-theme="dark"] .card, body[data-theme="dark"] .welcome-card, body[data-theme="dark"] .profile-hero, body[data-theme="dark"] .mini-stat, body[data-theme="dark"] .employee-shortcuts a { background: var(--surface); border-color: var(--line); color: var(--ink); }
body[data-theme="dark"] .welcome-card { background: #22352a; }
body[data-theme="dark"] .quick-action, body[data-theme="dark"] .goal-row, body[data-theme="dark"] .tile { background: #202b23; border-color: var(--line); color: var(--ink); }
body[data-theme="dark"] .stat-card.sage { background: #24352a; } body[data-theme="dark"] .stat-card.clay { background: #382a24; } body[data-theme="dark"] .stat-card.gold { background: #373224; } body[data-theme="dark"] .stat-card.plum { background: #302b33; }
body[data-theme="dark"] .stat-top, body[data-theme="dark"] .stat-card > strong, body[data-theme="dark"] .quick-action strong, body[data-theme="dark"] .goal-row h3, body[data-theme="dark"] .profile-id strong, body[data-theme="dark"] .mini-stat > strong { color: #e6eee3; }
body[data-theme="dark"] input, body[data-theme="dark"] textarea, body[data-theme="dark"] select { border-color: #465249; background: #18211b; color: #edf1e9; }
body[data-theme="dark"] input::placeholder, body[data-theme="dark"] textarea::placeholder { color: #89958b; }
body[data-theme="dark"] th { background: #29352c; color: #dce8d9; } body[data-theme="dark"] td { border-color: #344137; color: #e0e8df; }
body[data-theme="dark"] .table-card tr:hover td { background: #202b23; }
body[data-theme="dark"] .id-tag { border-color: #435349; background: #29372d; color: #d4e2d4; }
body[data-theme="dark"] .status-chip { border-color: #465447; background: #29372d; color: #e0e8da; }
body[data-theme="dark"] .status-chip.active, body[data-theme="dark"] .status-chip.submitted, body[data-theme="dark"] .status-chip.acknowledged, body[data-theme="dark"] .status-chip.completed { background: #25432e; color: #c9e8ca; }
body[data-theme="dark"] .status-chip.on-leave, body[data-theme="dark"] .status-chip.planned, body[data-theme="dark"] .status-chip.draft, body[data-theme="dark"] .status-chip.in-progress, body[data-theme="dark"] .status-chip.not-started, body[data-theme="dark"] .status-chip.pending { background: #443921; color: #f0d79a; }
body[data-theme="dark"] .status-chip.terminated, body[data-theme="dark"] .status-chip.closed, body[data-theme="dark"] .status-chip.deferred, body[data-theme="dark"] .status-chip.inactive, body[data-theme="dark"] .status-chip.rejected { background: #472e29; color: #efc0b1; }
body[data-theme="dark"] .status-chip.approved { background: #25432e; color: #c9e8ca; }
body[data-theme="dark"] .section-mark, body[data-theme="dark"] .stat-icon, body[data-theme="dark"] .quick-action-icon, body[data-theme="dark"] .notification-dot { background: #2d3c31; color: #e2c99a; }
body[data-theme="dark"] .focus-card { background: #202f26; } body[data-theme="dark"] .focus-card h2 { color: #f4f1e8; }
body[data-theme="dark"] .sidebar-note { background: #202b23; border-color: var(--line); } body[data-theme="dark"] .sidebar-note p { color: #b3bcb1; }
body[data-theme="dark"] .progress-line, body[data-theme="dark"] .chart-track { background: #344036; }
body[data-theme="dark"] .theme-toggle-floating { background: #1c261f; color: #edf1e9; border-color: #465249; }
body[data-theme="dark"] .notice { background: #24382a; border-color: #49624d; color: #d6ead7; } body[data-theme="dark"] .notice.error { background: #3d2a25; border-color: #71473b; color: #f0c1b2; }
body[data-theme="dark"] .auth-grid, body[data-theme="dark"] .auth-card { background: #1c261f; border-color: var(--line); } body[data-theme="dark"] .auth-story { background: #25392d; }
body[data-theme="dark"] .auth-brand, body[data-theme="dark"] .form-heading h2 { color: #edf1e9; } body[data-theme="dark"] .auth-note { background: #29352c; color: #c6d0c6; } body[data-theme="dark"] .auth-privacy { border-color: var(--line); color: #aab4aa; }
body[data-theme="dark"] .welcome-ribbon { border-color: var(--line); color: #aab4aa; }
