html[data-site-theme="hari-anak"] {
  --bg:#fff8e9;
  --surface:#fffdf7;
  --surface-soft:#f7efdc;
  --surface-strong:#ffedbf;
  --text:#24364c;
  --ink:#24364c;
  --muted:#66758a;
  --line:#e6d8bb;
  --green:#1678b4;
  --green-dark:#125f91;
  --blue:#2584c4;
  --yellow:#ffd14d;
  --link:#126b9f;
  --shadow:0 12px 30px rgba(87,66,31,.09);
  --page:#fff8e9;
  color-scheme:light;
}

html[data-site-theme="hari-anak"][data-theme="dark"] {
  --bg:#182535;
  --surface:#21344a;
  --surface-soft:#293e55;
  --surface-strong:#394d61;
  --text:#f2f4ec;
  --ink:#f2f4ec;
  --muted:#bdc9cf;
  --line:#40566a;
  --green:#8fcaf0;
  --green-dark:#a8d9f4;
  --blue:#8fcaf0;
  --yellow:#ffd66f;
  --link:#a8d9f4;
  --shadow:0 14px 34px rgba(0,0,0,.22);
  --page:#182535;
  color-scheme:dark;
}

html[data-site-theme="hari-anak"] body {
  background-color:var(--bg);
}

html[data-site-theme="hari-anak"] .home-sidebar,
html[data-site-theme="hari-anak"] .home-header,
html[data-site-theme="hari-anak"] .game-tile,
html[data-site-theme="hari-anak"] .home-dialog,
html[data-site-theme="hari-anak"] .notification-panel {
  border-color:var(--line);
  background-color:var(--surface);
}

html[data-site-theme="hari-anak"] .home-brand,
html[data-site-theme="hari-anak"] .see-all,
html[data-site-theme="hari-anak"] .button-green {
  color:var(--green-dark);
}

html[data-site-theme="hari-anak"] .button-green {
  background:var(--green);
  color:#fff;
}

html[data-site-theme="hari-anak"] .nav-item.is-active,
html[data-site-theme="hari-anak"] .nav-item:hover,
html[data-site-theme="hari-anak"] .sidebar-secondary .is-active {
  background:var(--surface-strong);
  color:var(--link);
}

html[data-site-theme="hari-anak"] .hero-picture {
  border:2px solid var(--line);
  border-radius:23px 18px 24px 16px;
  background:var(--surface);
  box-shadow:0 8px 22px rgba(87,66,31,.1);
}

html[data-site-theme="hari-anak"] .hero-picture img {
  border-radius:inherit;
}

html[data-site-theme="hari-anak"] .explore-banner {
  border:1px solid var(--line);
  background:var(--surface-strong);
  color:var(--text);
}

html[data-site-theme="hari-anak"] .explore-banner strong {
  color:var(--green-dark);
}

html[data-site-theme="hari-anak"] .admin-sidebar {
  background:#173d5b;
  color:#f1f7f8;
}

html[data-site-theme="hari-anak"] .admin-sidebar nav a,
html[data-site-theme="hari-anak"] .admin-sidebar-dropdown summary {
  color:#d5e7ee;
}

html[data-site-theme="hari-anak"] .admin-sidebar nav a:hover,
html[data-site-theme="hari-anak"] .admin-sidebar nav a.active,
html[data-site-theme="hari-anak"] .admin-sidebar-dropdown summary:hover,
html[data-site-theme="hari-anak"] .admin-sidebar-dropdown[open] summary {
  background:#245775;
  color:#fff;
}

html[data-site-theme="hari-anak"] .admin-sidebar nav a.active {
  box-shadow:inset 3px 0 #ffd66f;
}

html[data-site-theme="hari-anak"] .admin-sidebar nav i,
html[data-site-theme="hari-anak"] .admin-sidebar-dropdown summary i {
  color:#9dd9f1;
}

html[data-site-theme="hari-anak"] .admin-brand {
  color:#9dd9f1;
}

html[data-site-theme="hari-anak"] .admin-sidebar .sidebar-user {
  border-color:#3b6176;
  background:#1e4b68;
}

html[data-site-theme="hari-anak"] .role-hero {
  background:#287aa7;
}

html[data-site-theme="hari-anak"][data-theme="dark"] .admin-sidebar {
  background:#102b42;
}

html[data-site-theme="hari-anak"][data-theme="dark"] .admin-sidebar nav a:hover,
html[data-site-theme="hari-anak"][data-theme="dark"] .admin-sidebar nav a.active,
html[data-site-theme="hari-anak"][data-theme="dark"] .admin-sidebar-dropdown summary:hover,
html[data-site-theme="hari-anak"][data-theme="dark"] .admin-sidebar-dropdown[open] summary {
  background:#1e435d;
}

html[data-site-theme="hari-anak"] .maint-card {
  border-color:var(--line);
  border-radius:24px 21px 26px 19px;
  background:var(--surface);
  box-shadow:var(--shadow);
}

html[data-site-theme="hari-anak"] .maint-card:before {
  background:linear-gradient(90deg,#2584c4 0 68%,#ffd14d 68%);
}

html[data-site-theme="hari-anak"] .maint-eyebrow {
  color:var(--green-dark);
}

html[data-site-theme="hari-anak"] .maint-progress {
  background:var(--surface-strong);
}

html[data-site-theme="hari-anak"] .maint-progress span {
  background:var(--green);
}

html[data-site-theme="hari-anak"] .maint-foot a:first-child {
  border-color:var(--green);
  background:var(--green);
}

html[data-site-theme="hari-anak"][data-theme="dark"] .maint-card {
  color:var(--text);
}

/* Design read: a public tribute for learners and teachers, told through the classroom board and Capciscus students. ENERGY 2 / RHYTHM 2 / MOTION 1. The board gives the greeting one clear focal point; warm paper and a single brass accent keep the tribute legible and calm. */
html[data-site-theme="hari-guru"] {
  --bg:#f4f0e7;
  --surface:#fffdf8;
  --surface-soft:#eee8dc;
  --surface-strong:#e3dccd;
  --text:#24352d;
  --ink:#24352d;
  --muted:#64736b;
  --line:#d8cfbf;
  --green:#3c7057;
  --green-dark:#315d49;
  --blue:#567a66;
  --yellow:#dfb75e;
  --link:#315d49;
  --shadow:0 12px 30px rgba(39,55,43,.09);
  --page:#f4f0e7;
  color-scheme:light;
}

html[data-site-theme="hari-guru"][data-theme="dark"] {
  --bg:#17241e;
  --surface:#202f27;
  --surface-soft:#283a30;
  --surface-strong:#33483b;
  --text:#f2efe5;
  --ink:#f2efe5;
  --muted:#bdc9be;
  --line:#43564a;
  --green:#8dc6a7;
  --green-dark:#b5d9bd;
  --blue:#9eb9a2;
  --yellow:#edca79;
  --link:#b8d8bf;
  --shadow:0 14px 34px rgba(0,0,0,.24);
  --page:#17241e;
  color-scheme:dark;
}

html[data-site-theme="hari-guru"] body {
  background:var(--bg);
}

html[data-site-theme="hari-guru"] .home-sidebar,
html[data-site-theme="hari-guru"] .home-header,
html[data-site-theme="hari-guru"] .game-tile,
html[data-site-theme="hari-guru"] .home-dialog,
html[data-site-theme="hari-guru"] .notification-panel {
  border-color:var(--line);
  background-color:var(--surface);
}

html[data-site-theme="hari-guru"] .home-brand,
html[data-site-theme="hari-guru"] .see-all,
html[data-site-theme="hari-guru"] .button-green {
  color:var(--green-dark);
}

html[data-site-theme="hari-guru"] .button-green {
  background:var(--green);
  color:#fff;
}

html[data-site-theme="hari-guru"] .nav-item.is-active,
html[data-site-theme="hari-guru"] .nav-item:hover,
html[data-site-theme="hari-guru"] .sidebar-secondary .is-active {
  background:var(--surface-strong);
  color:var(--link);
}

html[data-site-theme="hari-guru"] .game-hero.is-hari-guru {
  border:2px solid #a68a5b;
  background:#dbe4d8;
  box-shadow:0 7px 18px rgba(41,65,48,.14);
}

html[data-site-theme="hari-guru"][data-theme="dark"] .game-hero.is-hari-guru {
  border-color:#826d49;
  background:#283a30;
}

html[data-site-theme="hari-guru"] .hero-copy--hari-guru {
  z-index:2;
  top:12%;
  left:31%;
  width:38%;
  padding:clamp(13px,1.35cqw,20px);
  border:7px solid #987344;
  border-radius:8px;
  background:#315b49;
  box-shadow:0 7px 0 #675238,inset 0 0 0 1px #b59766,0 13px 24px rgba(30,48,37,.3);
  color:#f4f0e4;
  text-shadow:none;
}

html[data-site-theme="hari-guru"] .hero-copy--hari-guru::after {
  position:absolute;
  right:8%;
  bottom:-14px;
  left:8%;
  height:7px;
  border-radius:2px;
  background:#b48b4d;
  box-shadow:0 2px 0 #594632;
  content:"";
}

html[data-site-theme="hari-guru"] .hero-copy--hari-guru h1 {
  transform:none;
  color:#f4f0e4;
  font-size:clamp(25px,3.6cqw,52px);
  line-height:1.03;
  letter-spacing:-.8px;
  text-shadow:0 1px 0 rgba(255,255,255,.08);
}

html[data-site-theme="hari-guru"] .hero-copy--hari-guru em {
  color:#edca79;
  text-shadow:none;
}

html[data-site-theme="hari-guru"] .hero-copy--hari-guru p {
  max-width:none;
  margin:9px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#e2e9dd;
  font-size:clamp(12px,1.25cqw,18px);
  line-height:1.4;
  text-align:center;
}

html[data-site-theme="hari-guru"] .game-hero.is-hari-guru .hero-cta {
  z-index:2;
  background:#e1b95f;
  box-shadow:0 4px 0 #98713a,0 7px 10px rgba(39,55,43,.24),inset 0 2px 1px #fff0c5;
  color:#283c31;
}

html[data-site-theme="hari-guru"] .explore-banner {
  border:1px solid var(--line);
  background:var(--surface-strong);
  color:var(--text);
}

html[data-site-theme="hari-guru"] .explore-banner strong {
  color:var(--green-dark);
}

html[data-site-theme="hari-guru"] .admin-sidebar {
  background:#25483a;
  color:#f2efe5;
}

html[data-site-theme="hari-guru"] .admin-sidebar nav a,
html[data-site-theme="hari-guru"] .admin-sidebar-dropdown summary {
  color:#e1e9dd;
}

html[data-site-theme="hari-guru"] .admin-sidebar nav a:hover,
html[data-site-theme="hari-guru"] .admin-sidebar nav a.active,
html[data-site-theme="hari-guru"] .admin-sidebar-dropdown summary:hover,
html[data-site-theme="hari-guru"] .admin-sidebar-dropdown[open] summary {
  background:#3b624f;
  color:#fffdf6;
}

html[data-site-theme="hari-guru"] .admin-sidebar nav a.active {
  box-shadow:inset 3px 0 #e1b95f;
}

html[data-site-theme="hari-guru"] .admin-sidebar nav i,
html[data-site-theme="hari-guru"] .admin-sidebar-dropdown summary i {
  color:#e1c781;
}

html[data-site-theme="hari-guru"] .admin-brand {
  color:#e9d69f;
}

html[data-site-theme="hari-guru"] .admin-sidebar .sidebar-user {
  border-color:#496a58;
  background:#315544;
}

html[data-site-theme="hari-guru"] .role-hero {
  background:#3c7057;
}

html[data-site-theme="hari-guru"][data-theme="dark"] .admin-sidebar {
  background:#14281f;
}

html[data-site-theme="hari-guru"][data-theme="dark"] .admin-sidebar nav a:hover,
html[data-site-theme="hari-guru"][data-theme="dark"] .admin-sidebar nav a.active,
html[data-site-theme="hari-guru"][data-theme="dark"] .admin-sidebar-dropdown summary:hover,
html[data-site-theme="hari-guru"][data-theme="dark"] .admin-sidebar-dropdown[open] summary {
  background:#2b4939;
}

html[data-site-theme="hari-guru"] .maint-card {
  border-color:var(--line);
  border-radius:12px;
  background:var(--surface);
  box-shadow:var(--shadow);
}

html[data-site-theme="hari-guru"] .maint-card:before {
  background:#3c7057;
}

html[data-site-theme="hari-guru"] .maint-eyebrow {
  color:var(--green-dark);
}

html[data-site-theme="hari-guru"] .maint-progress {
  background:var(--surface-strong);
}

html[data-site-theme="hari-guru"] .maint-progress span {
  background:var(--green);
}

html[data-site-theme="hari-guru"] .maint-foot a:first-child {
  border-color:var(--green);
  background:var(--green);
}

html[data-site-theme="hari-guru"][data-theme="dark"] .maint-card {
  color:var(--text);
}

html[data-site-theme="hari-guru"] .site-theme-choice[data-theme-preview="hari-guru"] .site-theme-preview {
  border:3px solid #987344;
  border-radius:5px;
  background:#b48b4d;
  transform:rotate(.7deg);
}

html[data-site-theme="hari-guru"] .site-theme-choice[data-theme-preview="hari-guru"] .site-theme-preview-paper {
  inset:5px 4px 9px;
  border:1px solid #8f744d;
  border-radius:2px;
  background:#315b49;
}

html[data-site-theme="hari-guru"] .site-theme-choice[data-theme-preview="hari-guru"] .site-theme-preview-paper::before {
  position:absolute;
  top:17px;
  left:7px;
  color:#f4f0e4;
  content:"Guru";
  font-size:10px;
  font-weight:950;
}

html[data-site-theme="hari-guru"] .site-theme-choice[data-theme-preview="hari-guru"] .site-theme-preview-ink {
  bottom:16px;
  left:11px;
  width:36px;
  height:3px;
  border-radius:1px;
  background:#e2c982;
}

html[data-site-theme="hari-guru"] .site-theme-choice[data-theme-preview="hari-guru"] .site-theme-preview-mark {
  right:6px;
  bottom:4px;
  width:12px;
  height:5px;
  border-radius:1px;
  background:#987344;
}

@media(max-width:700px) {
  html[data-site-theme="hari-guru"] .hero-copy--hari-guru {
    display:block;
    position:absolute;
    top:8%;
    left:6%;
    width:88%;
    padding:10px 12px 8px;
    border-width:5px;
  }

  html[data-site-theme="hari-guru"] .hero-copy--hari-guru::after {
    bottom:-10px;
    height:5px;
  }

  html[data-site-theme="hari-guru"] .hero-copy--hari-guru h1 {
    position:static;
    top:auto;
    left:auto;
    width:auto;
    font-size:clamp(20px,5.2cqw,30px);
  }

  html[data-site-theme="hari-guru"] .hero-copy--hari-guru p {
    margin-top:5px;
    font-size:clamp(10px,2.8cqw,13px);
    line-height:1.3;
  }
}

@media(prefers-reduced-motion:reduce) {
  html[data-site-theme="hari-guru"] *,html[data-site-theme="hari-guru"] *::before,html[data-site-theme="hari-guru"] *::after { scroll-behavior:auto; }
}

.site-theme-heading {
  align-items:center;
}

.site-theme-active-label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:var(--muted);
  font-size:12px;
  font-weight:850;
}

.site-theme-active-label span {
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--green) 16%,transparent);
}

.site-theme-form {
  display:grid;
  gap:18px;
}

.site-theme-grid {
  min-width:0;
  margin:0;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
  background:var(--surface);
}

.site-theme-legend {
  padding:0 8px;
  color:var(--text);
  font-size:16px;
  font-weight:950;
}

.site-theme-choice {
  position:relative;
  min-width:0;
  min-height:138px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:13px;
  display:grid;
  grid-template-columns:76px minmax(0,1fr);
  align-items:center;
  gap:13px;
  background:var(--surface);
  cursor:pointer;
}

.site-theme-choice:has(input:checked) {
  border-color:var(--green);
  box-shadow:0 0 0 2px color-mix(in srgb,var(--green) 14%,transparent);
}

.site-theme-choice:has(input:focus-visible) {
  outline:3px solid var(--green);
  outline-offset:3px;
}

.site-theme-choice input {
  position:absolute;
  top:12px;
  left:12px;
  width:18px;
  height:18px;
  margin:0;
  accent-color:var(--green);
}

.site-theme-preview {
  position:relative;
  width:76px;
  height:92px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:9px 7px 11px 8px;
  display:block;
  background:#f3f7ff;
}

.site-theme-preview-paper {
  position:absolute;
  inset:0;
  background:linear-gradient(#fff 0 0) 12px 17px/42px 5px no-repeat,linear-gradient(#fff 0 0) 12px 29px/50px 4px no-repeat,linear-gradient(#fff 0 0) 12px 39px/35px 4px no-repeat,#e9f2ff;
}

.site-theme-preview-ink {
  position:absolute;
  left:12px;
  bottom:12px;
  width:44px;
  height:21px;
  border-radius:7px;
  background:#087cff;
}

.site-theme-preview-mark {
  position:absolute;
  right:9px;
  bottom:12px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#ffdb36;
}

.site-theme-choice[data-theme-preview="hari-anak"] .site-theme-preview {
  border-color:#ddcda9;
  transform:rotate(-1deg);
}

.site-theme-choice[data-theme-preview="hari-anak"] .site-theme-preview-paper {
  background:linear-gradient(#fffdf7 0 0) 12px 17px/42px 5px no-repeat,linear-gradient(#fffdf7 0 0) 12px 29px/50px 4px no-repeat,linear-gradient(#fffdf7 0 0) 12px 39px/35px 4px no-repeat,#f7efdc;
}

.site-theme-choice[data-theme-preview="hari-anak"] .site-theme-preview-ink {
  background:#2584c4;
}

.site-theme-choice[data-theme-preview="hari-anak"] .site-theme-preview-mark {
  background:#ffd14d;
}

.site-theme-choice-copy {
  min-width:0;
  display:grid;
  gap:5px;
}

.site-theme-choice-copy strong {
  font-size:14px;
}

.site-theme-choice-copy > span {
  color:var(--muted);
  font-size:11px;
  line-height:1.45;
}

.site-theme-choice-state {
  grid-column:2;
  color:var(--green-dark);
  font-size:10px;
  font-weight:900;
}

.site-theme-choice.is-planned {
  min-height:112px;
  grid-template-columns:58px minmax(0,1fr) auto;
  padding:12px;
  background:var(--surface-soft);
  cursor:default;
}

.site-theme-preview-planned {
  width:58px;
  height:70px;
  opacity:.72;
}

.site-theme-preview-planned .site-theme-preview-paper {
  filter:grayscale(.8);
}

.site-theme-choice.is-planned .site-theme-choice-state {
  grid-column:3;
  padding-left:8px;
  color:var(--muted);
  white-space:nowrap;
}

.site-theme-form-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.site-theme-form-actions p {
  max-width:620px;
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.55;
}

@media(max-width:760px) {
  .site-theme-grid { grid-template-columns:1fr; padding:14px; }
  .site-theme-choice.is-planned { grid-template-columns:58px minmax(0,1fr); }
  .site-theme-choice.is-planned .site-theme-choice-state { grid-column:2; padding:0; }
}

@media(max-width:650px) {
  .site-theme-heading { align-items:flex-start; }
  .site-theme-form-actions { align-items:stretch; flex-direction:column; }
  .site-theme-form-actions .button { width:100%; }
}

@media(prefers-reduced-motion:reduce) {
  html[data-site-theme="hari-anak"] *,html[data-site-theme="hari-anak"] *::before,html[data-site-theme="hari-anak"] *::after { scroll-behavior:auto; }
}
