@font-face {

  font-family: "Public Sans";

  src: url("../assets/fonts/public-sans-latin-var.woff2") format("woff2");

  font-weight: 100 900;

  font-display: swap;

}



@font-face {

  font-family: "Gloock";

  src: url("../assets/fonts/gloock-latin-400.woff2") format("woff2");

  font-weight: 400;

  font-display: swap;

}



:root {

  color-scheme: dark;

  font-family: "Palatino Linotype", "Book Antiqua", "Sitka Text", "Cambria", "Public Sans", Georgia, serif;

  color: #f7f3e8;

  background: radial-gradient(1500px 950px at 32% 15%, #102d54 0%, #07172d 48%, #040c18 100%) fixed;

  font-synthesis: none;

  text-rendering: optimizeLegibility;

  --ink: #f7f3e8;

  --muted: #a2b6d0;

  --line: rgba(240, 196, 90, 0.26);

  --panel: rgba(9, 26, 50, 0.88);

  --green: #f0c45a;

  --green-dark: #0c2342;

  --green-soft: rgba(240, 196, 90, 0.16);

  --orange: #fcc419;

  --orange-soft: rgba(252, 196, 25, 0.18);

  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.88), 0 0 32px rgba(240, 196, 90, 0.12);

}



* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(1500px 950px at 32% 15%, #102d54 0%, #07172d 48%, #040c18 100%) fixed; color: var(--ink); }

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

button { cursor: pointer; }

a { color: inherit; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 20; padding: 12px; background: #0c2342; color: #f0c45a; border: 1px solid #f0c45a; border-radius: 8px; }

.skip-link:focus { top: 12px; }

.app-shell { min-height: 100vh; }

.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; width: 252px; flex-direction: column; padding: 27px 17px 18px; background: linear-gradient(180deg, #061326 0%, #040c18 100%); border-right: 1px solid rgba(240, 196, 90, 0.34); color: #f7f3e8; box-shadow: 10px 0 40px rgba(0, 0, 0, 0.65); }

.brand { display: flex; align-items: center; gap: 11px; padding: 0 7px; color: #f7f3e8; text-decoration: none; font-size: 19px; font-weight: 750; letter-spacing: -.03em; }

.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; border: 1.5px solid #f0c45a; border-radius: 11px; color: #f0c45a; background: #0c2342; font-family: "Gloock", Georgia, serif; font-size: 23px; font-weight: 400; box-shadow: 0 0 18px rgba(240, 196, 90, 0.25); }

.brand small { display: block; margin-top: 3px; color: #f0c45a; font-size: 8px; font-weight: 700; letter-spacing: .16em; }

.nav-caption { margin: 43px 10px 12px; color: #f0c45a; font-size: 10px; font-weight: 750; letter-spacing: .16em; }

.navigation { display: grid; gap: 5px; }

.nav-link { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 13px; border: 1px solid transparent; border-radius: 9px; color: #c5d4e8; background: transparent; text-align: left; font-size: 14px; font-weight: 600; transition: background .16s, color .16s, transform .16s, border-color .16s; }

.nav-link:hover { transform: translateX(2px); color: #f7f3e8; background: rgba(240, 196, 90, 0.10); border-color: rgba(240, 196, 90, 0.25); }

.nav-link.active { color: #061326; background: linear-gradient(135deg, #f8da82 0%, #d8a132 100%); border-color: #ffe8a3; box-shadow: 0 6px 20px rgba(240, 196, 90, 0.35); font-weight: 700; }

.nav-icon { display: inline-grid; width: 21px; place-items: center; font-size: 17px; }

.sidebar-bottom { margin-top: auto; }

.local-status { display: flex; align-items: center; gap: 9px; padding: 12px 10px; border: 1px solid rgba(240, 196, 90, 0.34); background: rgba(12, 35, 66, 0.65); border-radius: 10px; }

.local-status strong, .local-status small { display: block; }

.local-status strong { font-size: 11px; color: #f7f3e8; }

.local-status small { margin-top: 4px; color: #f0c45a; font-size: 10px; }

.status-dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #f0c45a; box-shadow: 0 0 0 3px rgba(240, 196, 90, 0.25); }

.site-link { display: flex; justify-content: space-between; margin: 17px 9px 0; color: #f0c45a; text-decoration: none; font-size: 12px; font-weight: 600; }

.sidebar-version { margin: 18px 9px 0; color: #8ea5c0; font-size: 9px; font-weight: 700; letter-spacing: .14em; }

.main { min-height: 100vh; margin-left: 252px; }

.topbar { position: sticky; top: 0; z-index: 4; display: flex; height: 72px; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 58px); border-bottom: 1px solid rgba(240, 196, 90, 0.26); background: rgba(6, 18, 35, 0.85); backdrop-filter: blur(18px); }

.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #9eb5d0; font-size: 13px; }

.breadcrumbs strong { color: #f0c45a; font-weight: 700; }

.top-actions { display: flex; align-items: center; gap: 15px; }

.install-button { min-height: 32px; padding: 0 10px; font-size: 10px; }

.install-button[hidden] { display: none; }

.local-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid rgba(240, 196, 90, 0.45); border-radius: 99px; color: #f0c45a; background: rgba(12, 35, 66, 0.78); font-size: 11px; font-weight: 700; }

.local-pill .status-dot { width: 7px; height: 7px; }

.avatar { width: 34px; height: 34px; border: 1.5px solid #f0c45a; border-radius: 50%; color: #061326; background: linear-gradient(135deg, #f8da82, #d8a132); font-size: 13px; font-weight: 750; }

.mobile-menu { display: none; }

.view-root { width: min(1260px, 100%); min-height: calc(100vh - 118px); margin: 0 auto; padding: 38px clamp(22px, 4vw, 58px) 25px; }

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

.eyebrow { margin: 0 0 8px; color: #f0c45a; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

h1, h2, h3, p { margin-top: 0; }

h1 { margin-bottom: 8px; font-family: "Gloock", Georgia, serif; font-size: clamp(32px, 4vw, 48px); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; color: #f7f3e8; }

.page-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.date-chip { padding: 9px 14px; border: 1px solid rgba(240, 196, 90, 0.38); border-radius: 9px; color: #f0c45a; background: rgba(9, 26, 50, 0.85); white-space: nowrap; font-size: 12px; }

.hero { position: relative; overflow: hidden; min-height: 190px; padding: 29px 32px; border-radius: 17px; color: #f7f3e8; border: 1.5px solid rgba(240, 196, 90, 0.52); background: linear-gradient(118deg, #07162c 0%, #0f2c54 62%, #183f74 100%); box-shadow: var(--shadow); }

.hero::after { position: absolute; top: -105px; right: 7%; width: 310px; height: 310px; border: 1.5px solid rgba(240, 196, 90, 0.28); border-radius: 50%; box-shadow: 0 0 0 34px rgba(240, 196, 90, 0.06), 0 0 0 72px rgba(240, 196, 90, 0.04); content: ""; }

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

.hero .eyebrow { color: #f0c45a; }

.hero h2 { margin: 0 0 10px; font-family: "Gloock", Georgia, serif; font-size: clamp(25px, 3vw, 36px); font-weight: 400; letter-spacing: -.02em; color: #f7f3e8; }

.hero p { max-width: 550px; margin-bottom: 18px; color: #d2deee; font-size: 14px; line-height: 1.65; }

.hero .button { border-color: #ffe8a3; color: #061326; background: linear-gradient(135deg, #f8da82 0%, #d8a132 100%); box-shadow: 0 10px 24px -8px rgba(240, 196, 90, 0.45); }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin: 18px 0 22px; }

.metric { min-height: 112px; padding: 17px 18px; border: 1px solid rgba(240, 196, 90, 0.34); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow); }

.metric-top { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 650; }

.metric-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 8px; color: #f0c45a; background: rgba(240, 196, 90, 0.16); border: 1px solid rgba(240, 196, 90, 0.35); font-size: 14px; }

.metric strong { display: block; margin-top: 10px; font-family: "Gloock", Georgia, serif; font-size: 26px; font-weight: 400; color: #f0c45a; letter-spacing: -.02em; }

.metric small { display: block; margin-top: 3px; color: #9eb5d0; font-size: 10px; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr); gap: 15px; }

.card { min-width: 0; padding: 20px; border: 1px solid rgba(240, 196, 90, 0.32); border-radius: 13px; background: var(--panel); box-shadow: var(--shadow); }

.card-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 14px; }

.card-head h2, .card h2 { margin: 0; font-size: 16px; font-weight: 700; color: #f7f3e8; letter-spacing: -.01em; }

.text-button { padding: 0; border: 0; color: #f0c45a; background: none; font-size: 11px; font-weight: 700; }

.text-button:hover { text-decoration: underline; }

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

.quick-action { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 11px; border: 1px solid rgba(240, 196, 90, 0.28); border-radius: 10px; color: var(--ink); background: rgba(6, 18, 35, 0.75); text-align: left; transition: border-color .16s, transform .16s; }

.quick-action:hover { transform: translateY(-2px); border-color: #f0c45a; }

.quick-action .metric-icon { flex: 0 0 auto; }

.quick-action strong, .quick-action small { display: block; }

.quick-action strong { font-size: 11px; color: #f7f3e8; }

.quick-action small { margin-top: 4px; color: var(--muted); font-size: 10px; }

.activity-list { display: grid; gap: 0; }

.activity-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 11px 0; border-top: 1px solid rgba(240, 196, 90, 0.16); }

.activity-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #f0c45a; background: rgba(240, 196, 90, 0.16); font-size: 11px; }

.activity-row strong { display: block; overflow: hidden; font-size: 11px; font-weight: 650; color: #f7f3e8; text-overflow: ellipsis; white-space: nowrap; }

.activity-row small { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; }

.activity-row time { color: #9eb5d0; font-size: 10px; white-space: nowrap; }

.notice { display: flex; gap: 10px; margin-top: 14px; padding: 12px 14px; border: 1px solid rgba(240, 196, 90, 0.42); border-radius: 10px; color: #f7f3e8; background: rgba(12, 35, 66, 0.72); font-size: 11px; line-height: 1.55; }

.notice strong { color: #f0c45a; }

.button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; border: 1px solid #ffe8a3; border-radius: 8px; color: #061326; background: linear-gradient(135deg, #f8da82 0%, #d8a132 100%); text-decoration: none; font-size: 12px; font-weight: 700; transition: transform .15s, box-shadow .15s; }

.button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(240, 196, 90, 0.35); }

.button.secondary { border-color: rgba(240, 196, 90, 0.38); color: #f7f3e8; background: rgba(9, 26, 50, 0.85); }

.button.secondary:hover { border-color: #f0c45a; background: rgba(12, 35, 66, 0.95); }

.button.ghost { border-color: transparent; color: #f0c45a; background: transparent; }

.button.danger { border-color: rgba(255, 120, 100, 0.45); color: #ffb3a7; background: rgba(60, 18, 18, 0.65); }

.button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }

.form-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.field { display: grid; gap: 6px; min-width: 0; }

.field.full { grid-column: 1 / -1; }

.field label, .field-label { color: #f0c45a; font-size: 11px; font-weight: 700; }

.field input, .field select, .field textarea, .search-input { width: 100%; min-height: 39px; padding: 9px 11px; border: 1px solid rgba(240, 196, 90, 0.32); border-radius: 7px; outline: none; color: #f7f3e8; background: rgba(5, 14, 28, 0.88); font-size: 12px; }

.field textarea { min-height: 95px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus, .search-input:focus { border-color: #f0c45a; box-shadow: 0 0 0 3px rgba(240, 196, 90, 0.18); }

.field-help { color: #9eb5d0; font-size: 10px; line-height: 1.5; }

.form-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; padding-top: 3px; }

.form-divider { height: 1px; margin: 20px 0; border: 0; background: var(--line); }

.mt-12 { margin-top: 12px; }

.mt-14 { margin-top: 14px; }

.toolbar.compact { margin-top: 0; }

.visually-hidden { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 17px 0 10px; }

.toolbar h2 { margin: 0; font-size: 16px; color: #f7f3e8; }

.toolbar-controls { display: flex; flex-wrap: wrap; gap: 8px; }

.search-input { width: min(280px, 48vw); min-height: 36px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }

table { width: 100%; border-collapse: collapse; text-align: left; }

th { padding: 11px 13px; color: #f0c45a; background: rgba(5, 14, 28, 0.88); font-size: 10px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }

td { padding: 12px 13px; border-top: 1px solid rgba(240, 196, 90, 0.16); color: #d2deee; font-size: 11px; }

td strong { color: #f7f3e8; font-weight: 650; }

.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 99px; color: #061326; background: #f0c45a; font-size: 10px; font-weight: 700; white-space: nowrap; }

.badge.orange { color: #fcc419; background: rgba(252, 196, 25, 0.18); border: 1px solid rgba(252, 196, 25, 0.45); }

.empty { padding: 32px 16px; color: #9eb5d0; text-align: center; font-size: 12px; }

.empty strong { display: block; margin-bottom: 5px; color: #f7f3e8; font-size: 13px; }

.split-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr); align-items: start; gap: 15px; }

.template-list { display: grid; gap: 9px; }

.template-card { padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }

.template-card h3 { margin: 0 0 7px; font-size: 13px; color: #f0c45a; }

.template-card p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }

.checklist { display: grid; gap: 9px; }

.check-row { display: flex; align-items: flex-start; gap: 9px; color: #d2deee; font-size: 11px; line-height: 1.55; }

.check-row input { width: 15px; height: 15px; margin: 0; accent-color: #f0c45a; }

.progressbar { display: block; overflow: hidden; width: 100%; height: 5px; margin: 12px 0 6px; border: 0; border-radius: 99px; appearance: none; background: rgba(240, 196, 90, 0.18); }

.progressbar::-webkit-progress-bar { border-radius: 99px; background: rgba(240, 196, 90, 0.18); }

.progressbar::-webkit-progress-value { border-radius: 99px; background: #f0c45a; }

.progressbar::-moz-progress-bar { border-radius: 99px; background: #f0c45a; }

.progress-copy { color: #9eb5d0; font-size: 10px; }

.media-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }

.media-toolbar .field-inline { display: inline-flex; align-items: center; gap: 6px; color: #d2deee; font-size: 11px; }

.media-toolbar input[type="number"] { width: 74px; min-height: 35px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #050f1e; color: #f7f3e8; }

.media-stage { display: grid; min-height: 310px; place-items: center; margin-top: 12px; padding: 18px; border: 1px dashed rgba(240, 196, 90, 0.42); border-radius: 12px; background-color: rgba(5, 14, 28, 0.75); }

.media-stage canvas { display: none; max-width: 100%; max-height: 440px; border-radius: 4px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); }

.media-stage canvas:not([hidden]) { display: block; }

.media-empty { max-width: 300px; color: #9eb5d0; text-align: center; font-size: 12px; line-height: 1.65; }

.media-empty strong { display: block; margin-bottom: 5px; color: #f0c45a; font-size: 14px; }

.activity-filter { display: flex; gap: 8px; margin-bottom: 12px; }

.callout { padding: 13px 15px; border-left: 3px solid #f0c45a; border-radius: 6px; color: #f7f3e8; background: rgba(12, 35, 66, 0.72); font-size: 11px; line-height: 1.6; }

.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 16px; }

.setting-card { padding: 17px; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }

.setting-card h3 { margin: 0 0 7px; font-size: 13px; color: #f0c45a; }

.setting-card p { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.storage-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(240, 196, 90, 0.16); color: #d2deee; font-size: 11px; }

.storage-line strong { color: #f0c45a; font-weight: 650; text-align: right; }

.privacy-footer { padding: 0 clamp(22px, 4vw, 58px) 20px; color: #9eb5d0; font-size: 10px; text-align: center; }

.toast-region { position: fixed; right: 18px; bottom: 18px; z-index: 15; display: grid; gap: 8px; }

.toast { max-width: min(390px, calc(100vw - 36px)); padding: 12px 16px; border: 1px solid #f0c45a; border-radius: 9px; color: #f7f3e8; background: #0c2342; box-shadow: var(--shadow); font-size: 12px; animation: toast-in .18s ease-out; }

.toast.error { border-color: #ff8787; color: #ffe3e3; background: #4a151b; }

.scrim { display: none; }

.scrim:not([hidden]) { position: fixed; inset: 0; z-index: 4; display: block; background: rgba(3, 8, 18, 0.65); }

@keyframes toast-in { from { transform: translateY(7px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }



@media (min-width: 1500px) {

  .view-root { padding-top: 48px; }

  .hero { min-height: 205px; padding: 36px; }

}



@media (max-width: 1000px) {

  .sidebar { width: 218px; }

  .main { margin-left: 218px; }

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

  .dashboard-grid, .split-layout { grid-template-columns: 1fr; }

}



@media (max-width: 700px) {

  .sidebar { width: min(290px, 82vw); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 18px 0 40px rgba(0, 0, 0, 0.65); }

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

  .main { margin-left: 0; }

  .topbar { height: 61px; padding: 0 17px; }

  .mobile-menu { display: inline-grid; }

  .breadcrumbs { margin-right: auto; margin-left: 12px; }

  .top-actions { gap: 9px; }

  .local-pill { padding: 7px 9px; }

  .avatar { width: 31px; height: 31px; }

  .view-root { min-height: calc(100vh - 105px); padding: 25px 16px 20px; }

  .page-head { align-items: flex-start; }

  .date-chip { display: none; }

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

  .hero::after { right: -180px; }

  .metrics { gap: 8px; margin: 12px 0 15px; }

  .metric { min-height: 96px; padding: 12px; }

  .metric strong { font-size: 22px; }

  .dashboard-grid { gap: 10px; }

  .card { padding: 15px; }

  .quick-grid { gap: 7px; }

  .quick-action { min-height: 66px; padding: 8px; }

  .quick-action .metric-icon { width: 24px; height: 24px; }

  .quick-action strong { font-size: 10px; }

  .quick-action small { font-size: 9px; }

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

  .field.full, .form-actions { grid-column: auto; }

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

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

  .search-input { width: 100%; }

  .toolbar-controls { width: 100%; }

  .table-wrap { margin-right: -2px; }

  .privacy-footer { padding: 0 18px 15px; line-height: 1.5; }

  .media-stage { min-height: 250px; }

}



@media (prefers-reduced-motion: reduce) {

  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

}
/* Theme Adaptation & Fullscreen Controls for Moonwalk Workspace */
.mw-theme-select { min-height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink); font-size: 11px; font-weight: 650; }
.mw-theme-select option { background-color: var(--green-dark); color: var(--ink); }
.mw-fs-btn { min-height: 34px; width: 34px; padding: 0; font-size: 15px; }

:root[data-theme="emerald"], :root[data-theme="emerald"] body {
  color-scheme: dark;
  background: radial-gradient(1500px 950px at 32% 15%, #0e3a2f 0%, #092820 48%, #061c16 100%) fixed;
  color: #f4faf2;
  --ink: #f4faf2; --ink-2: #d9ece0; --muted: #b0cfc0;
  --line: rgba(163, 230, 53, 0.28); --panel: #0d362b; --panel-2: #07221b;
  --green: #b4f04a; --green-ink: #071f17; --green-dark: #092820; --green-soft: rgba(163, 230, 53, 0.16);
}
:root[data-theme="dark"], :root[data-theme="dark"] body {
  color-scheme: dark;
  background: radial-gradient(1500px 950px at 32% 15%, #15251e 0%, #0c1611 52%, #070e0b 100%) fixed;
  color: #ecf2ea;
  --ink: #ecf2ea; --ink-2: #cedbd0; --muted: #a3b9ac;
  --line: rgba(214, 238, 142, 0.24); --panel: #12201a; --panel-2: #0a1410;
  --green: #d6ee8e; --green-ink: #16300f; --green-dark: #0f1b16; --green-soft: rgba(214, 238, 142, 0.15);
}
:root[data-theme="light"], :root[data-theme="light"] body {
  color-scheme: light;
  background: #f3f4ee;
  color: #12241c;
  --ink: #12241c; --ink-2: #2c4036; --muted: #52635a;
  --line: #c3cdbf; --panel: #ffffff; --panel-2: #e9ede2;
  --green: #173f30; --green-ink: #f3f6ee; --green-dark: #ffffff; --green-soft: #eef6d4;
}
:root[data-theme="kerjata"], :root[data-theme="kerjata"] body {
  color-scheme: light;
  background: #f6f8fb;
  color: #0f172a;
  --ink: #0f172a; --ink-2: #334155; --muted: #475569;
  --line: #cbd5e1; --panel: #ffffff; --panel-2: #f1f5f9;
  --green: #2563eb; --green-ink: #ffffff; --green-dark: #ffffff; --green-soft: #eff6ff;
}

/* Override hardcoded colors in Moonwalk so every theme has 100% readable contrast */
:root[data-theme] .sidebar { background: var(--panel-2); border-right-color: var(--line); color: var(--ink); box-shadow: none; }
:root[data-theme] .brand, :root[data-theme] .local-status strong, :root[data-theme] h1,
:root[data-theme] .card-head h2, :root[data-theme] .card h2, :root[data-theme] .quick-action strong,
:root[data-theme] .activity-row strong, :root[data-theme] .toolbar h2, :root[data-theme] td strong,
:root[data-theme] .empty strong { color: var(--ink); }
:root[data-theme] .brand small, :root[data-theme] .nav-caption, :root[data-theme] .local-status small,
:root[data-theme] .site-link, :root[data-theme] .breadcrumbs strong, :root[data-theme] .eyebrow,
:root[data-theme] .metric strong, :root[data-theme] .text-button, :root[data-theme] .notice strong,
:root[data-theme] .field label, :root[data-theme] .field-label, :root[data-theme] th,
:root[data-theme] .template-card h3, :root[data-theme] .media-empty strong,
:root[data-theme] .setting-card h3, :root[data-theme] .storage-line strong,
:root[data-theme] .button.ghost { color: var(--green); }
:root[data-theme] .brand-mark { border-color: var(--green); color: var(--green); background: var(--panel); box-shadow: none; }
:root[data-theme] .nav-link { color: var(--ink-2); }
:root[data-theme] .nav-link:hover { color: var(--ink); background: var(--green-soft); border-color: var(--line); }
:root[data-theme] .nav-link.active, :root[data-theme] .button, :root[data-theme] .hero .button,
:root[data-theme] .avatar, :root[data-theme] .badge { color: var(--green-ink); background: var(--green); border-color: var(--green); box-shadow: none; }
:root[data-theme] .local-status, :root[data-theme] .local-pill, :root[data-theme] .date-chip,
:root[data-theme] .notice, :root[data-theme] .callout, :root[data-theme] .button.secondary {
  background: var(--panel); color: var(--ink); border-color: var(--line);
}
:root[data-theme] .topbar { background: color-mix(in srgb, var(--panel) 88%, transparent); border-bottom-color: var(--line); }
:root[data-theme] .breadcrumbs, :root[data-theme] .sidebar-version, :root[data-theme] .metric small,
:root[data-theme] .activity-row time, :root[data-theme] .field-help, :root[data-theme] .empty,
:root[data-theme] .progress-copy, :root[data-theme] .media-empty, :root[data-theme] .privacy-footer { color: var(--muted); }
:root[data-theme] td, :root[data-theme] .check-row, :root[data-theme] .media-toolbar .field-inline,
:root[data-theme] .storage-line { color: var(--ink-2); border-top-color: var(--line); }
:root[data-theme] th, :root[data-theme] .field input, :root[data-theme] .field select,
:root[data-theme] .field textarea, :root[data-theme] .search-input,
:root[data-theme] .media-toolbar input[type="number"], :root[data-theme] .quick-action,
:root[data-theme] .media-stage {
  background: var(--panel-2); color: var(--ink); border-color: var(--line);
}
:root[data-theme] .hero { background: var(--panel); color: var(--ink); border-color: var(--line); }
:root[data-theme] .hero h2, :root[data-theme] .hero .eyebrow { color: var(--ink); }
:root[data-theme] .hero p { color: var(--ink-2); }
:root[data-theme] .metric, :root[data-theme] .card { border-color: var(--line); background: var(--panel); }
:root[data-theme] .metric-icon, :root[data-theme] .activity-mark { color: var(--green); background: var(--green-soft); border-color: var(--line); }
:root[data-theme] .status-dot, :root[data-theme] .progressbar::-webkit-progress-value,
:root[data-theme] .progressbar::-moz-progress-bar { background: var(--green); }
