/* Appearance changes only; the full-screen AixyunOS study surface is independent. */
.up-theme-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 36px; padding: 6px 10px; border: 1px solid #d6d7bf;
  border-radius: 10px; color: #526644; background: transparent;
  font: inherit; font-size: 12px; cursor: pointer; white-space: nowrap;
}
.up-theme-button svg { width: 17px; height: 17px; flex: none; }
.up-theme-button:hover { background: #e8ebd7; }
.up-theme-button:focus-visible { outline: 2px solid #71834e; outline-offset: 3px; }
body.desk-mode .up-theme-button { display: none; }

#up-theme-picker {
  width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 40px);
  padding: 26px; border: 1px solid var(--line, #ded9c5); border-radius: 24px;
  color: var(--ink, #394633); background: var(--cream, #f8f3e6);
  box-shadow: 0 22px 72px #29253d36; overflow: auto;
}
#up-theme-picker::backdrop { background: #2b253a70; backdrop-filter: blur(4px); }
.up-theme-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.up-theme-heading h2 { margin: 0 0 7px; font-size: 22px; font-family: var(--sans, sans-serif); line-height: 1.5; letter-spacing: 0; }
.up-theme-heading p { margin: 0; font-size: 13px; line-height: 1.8; color: var(--muted, #70745f); }
.up-theme-close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line, #ded9c5); border-radius: 50%; background: #ffffff90; color: inherit; font-size: 23px; cursor: pointer; flex: none; }
.up-theme-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
.up-theme-options legend { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.up-theme-option { display: block; position: relative; margin: 0; padding: 10px 10px 16px; border: 2px solid transparent; border-radius: 19px; background: #ffffff80; cursor: pointer; min-width: 0; }
.up-theme-option:has(input:checked) { border-color: var(--brand, #486143); background: #ffffffc0; }
.up-theme-option:has(input:focus-visible) { outline: 3px solid var(--brand, #486143); outline-offset: 4px; }
#up-theme-picker .up-theme-option input[type=radio] { position: absolute; top: 20px; right: 20px; width: 18px; height: 18px; min-width: 18px; min-height: 18px; padding: 0; margin: 0; border: 0; border-radius: 50%; background: transparent; box-shadow: none; appearance: auto; z-index: 1; accent-color: var(--brand, #486143); }
.up-theme-option-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 4px; margin-top: 15px; font-size: 15px; font-weight: 650; }
.up-theme-selected { visibility: hidden; font-size: 10px; color: var(--brand, #486143); font-weight: 500; white-space: nowrap; }
.up-theme-option:has(input:checked) .up-theme-selected { visibility: visible; }
.up-theme-option-detail { display: block; padding: 0 4px; margin-top: 7px; font-size: 12px; line-height: 1.8; color: var(--muted, #70745f); }
.up-theme-swatch { display: grid; grid-template-columns: 24% repeat(3, 1fr); grid-template-rows: 53% 1fr; gap: 7px; height: 128px; padding: 10px; border-radius: 12px; overflow: hidden; border: 1px solid #00000008; }
.up-theme-swatch i { display: block; border-radius: 8px; }
.up-theme-mini-side { grid-row: 1 / 3; }
.up-theme-mini-hero { grid-column: 2 / 5; }
.up-theme-swatch-forest { background: #ece8d8; border-color: #d4d0b9; }
.up-theme-swatch-forest .up-theme-mini-side { background: linear-gradient(140deg,#54713f,#2d4533); box-shadow: inset 0 1px #b9cd8c30; }
.up-theme-swatch-forest .up-theme-mini-hero { background: linear-gradient(130deg,#d2ddb4,#f1e5c7); border: 1px solid #f9f4dd; box-shadow: inset 0 1px #fff9; }
.up-theme-swatch-forest .up-theme-mini-card { background: linear-gradient(140deg,#fff9e7,#edf0d9); border: 1px solid #d6d3b6; box-shadow: 0 3px 5px #43552a15,inset 0 1px #fff9; }
.up-theme-swatch-candy { background: #f7eaf0; }
.up-theme-swatch-candy .up-theme-mini-side { background: linear-gradient(140deg,#cab4ef,#a18bce); box-shadow: 2px 3px 5px #8a67ad30,inset 1px 1px #ffffff99; }
.up-theme-swatch-candy .up-theme-mini-hero { background: linear-gradient(120deg,#d7c1ed,#e9d4f3); box-shadow: 0 3px 5px #a885bb30,inset 1px 1px #ffffffa0; }
.up-theme-swatch-candy .up-theme-mini-card { background: linear-gradient(150deg,#f4ddea,#eccee2); box-shadow: 0 3px 4px #b998ac35,inset 1px 1px #ffffff99; }
.up-theme-swatch-candy .up-theme-mini-card:nth-last-child(2) { background: linear-gradient(150deg,#fff0cd,#f8dfa7); }
.up-theme-swatch-candy .up-theme-mini-card:last-child { background: linear-gradient(150deg,#e1edfb,#c8daef); }
.up-theme-status { min-height: 24px; margin: 20px 3px 0; font-size: 12px; line-height: 1.8; color: var(--muted, #70745f); }
#up-theme-picker.up-theme-fallback { position: fixed; top: 50%; left: 50%; right: auto; bottom: auto; margin: 0; transform: translate(-50%,-50%); z-index: 1000; box-shadow: 0 0 0 100vmax #2b253a70,0 22px 72px #29253d36; }

html[data-up-theme=candy] body:not(.desk-mode) {
  --forest: #7962a3; --forest-ink: #42344f; --forest-muted: #796b85;
  --forest-paper: #fff4ef; --forest-line: #e4d5e4;
  --brand: #7856ab; --ink: #42344f; --muted: #796b85;
  --line: #e4d5e4; --paper: #f5eaf0; --cream: #fff4ef;
  --shadow: 3px 6px 10px #aa849f22;
  background: radial-gradient(ellipse at 85% 0,#e7daf5 0,transparent 52%),linear-gradient(135deg,#e7dcf1,#f3e6ec 55%,#ece1f2);
  color: #42344f;
}
html[data-up-theme=candy] body:not(.desk-mode) :is(a,button,input,textarea,select):focus-visible { outline-color: #805bb3; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header {
  background: linear-gradient(115deg,#c9b6e9,#b29bd5 60%,#a992cf);
  color: #42335d; box-shadow: inset -1px 0 0 #ffffff70,4px 0 18px #8b6da833;
}
html[data-up-theme=candy] body:not(.desk-mode) .brand {
  color: #4d366c; background: linear-gradient(145deg,#f7e8f8,#e9d5f1);
  border-color: #efdef7; outline: 0; border-radius: 24px;
  box-shadow: 3px 5px 9px #8d71b02b,inset 1px 2px 2px #ffffffd9;
}
html[data-up-theme=candy] body:not(.desk-mode) .brand small { color: #7a658d; }
html[data-up-theme=candy] body:not(.desk-mode) .brand img { background: #fffdfb; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a { color: #443057; border-radius: 19px; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a .ui-icon { color: #654490; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a:is(.active,[aria-current=page]) {
  background: linear-gradient(145deg,#fff8ef,#faebef); color: #63438d;
  box-shadow: 2px 4px 7px #8a6ba63a,inset 1px 2px 1px #ffffffde;
}
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a:hover { background: #f9effa6b; color: #5e3f84; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a:is(.active,[aria-current=page]):hover { background: #fff5f4; }
html[data-up-theme=candy] body:not(.desk-mode) .site-header nav a:is(.active,[aria-current=page]) .ui-icon { color: #815cb7; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-nav-label { color: #443057; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-sidebar-note { border-color: #f2dfea; background: linear-gradient(140deg,#fbd9e1,#f7dfec); box-shadow: 3px 5px 9px #8a6b9f30,inset 1px 2px #fff9; border-radius: 23px; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-note-art { background: radial-gradient(ellipse at 50% 70%,#fff3ca,transparent 43%),radial-gradient(ellipse at 20% 5%,#d6b5e4,transparent 55%),linear-gradient(130deg,#edc9dc,#eedcf4); }
html[data-up-theme=candy] body:not(.desk-mode) .forest-sidebar-note :is(small,strong,span) { color: #72526f; }
html[data-up-theme=candy] body:not(.desk-mode) .header-actions { color: #624b7e; background: #fff3eff2; border-color: #f4e5ee; box-shadow: 2px 4px 10px #ae8db72b,inset 1px 1px #fff; border-radius: 19px; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.account-button,.page-fullscreen-button,.up-theme-button) { color: #735395; border-color: #e6d4e8; }
html[data-up-theme=candy] body:not(.desk-mode) .account-avatar { color: #fff5fc; background: linear-gradient(145deg,#c3a0e9,#9471c3); border-color: #c9aaea; box-shadow: 2px 3px 5px #9571b33b,inset 1px 2px #e9d7fc; }
html[data-up-theme=candy] body:not(.desk-mode) .account-popover { background: #fff6f3; border-color: #e9dce9; box-shadow: 0 10px 28px #80678e30; }
html[data-up-theme=candy] body:not(.desk-mode) .account-popover :is(a,button):hover { background: #f0e1f5; color: #65468f; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.page-fullscreen-button,.up-theme-button):hover { background: #eee1f5; }
html[data-up-theme=candy] body:not(.desk-mode) .site-footer { color: #776184; border-color: #dfcee4; }
html[data-up-theme=candy] body:not(.desk-mode) .site-footer strong { color: #6b517d; }
html[data-up-theme=candy] body:not(.desk-mode) .button { color: #735395; background: linear-gradient(145deg,#fffaf5,#f8ebef); border-color: #ead8e9; border-radius: 15px; box-shadow: 1px 3px 5px #bda0b929,inset 1px 1px #fffd; }
html[data-up-theme=candy] body:not(.desk-mode) .button:hover { background: #f4e5f4; border-color: #cdb2e0; }
html[data-up-theme=candy] body:not(.desk-mode) .button:is(.primary,.dark) { color: #fff9fd; background: linear-gradient(150deg,#865bb2,#764aa2); border-color: #a47bce; box-shadow: 2px 4px 7px #9270b74d,inset 1px 2px #d6b9f2; }
html[data-up-theme=candy] body:not(.desk-mode) .button:is(.primary,.dark):hover { background: linear-gradient(150deg,#7b50a7,#6d4097); }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-icon-button,.y-text-link,.y-kicker,.y-icon-tile) { color: #805bad; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-icon-button,.y-icon-tile,.forest-note-icon,.fp-launch-icon) { background: linear-gradient(140deg,#efddf6,#dac5ec); border-color: #e3cced; border-radius: 16px; box-shadow: 1px 3px 5px #bba0ca28,inset 1px 1px #fff9; color: #8360af; }
html[data-up-theme=candy] body:not(.desk-mode) :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { background-color: #fff9f5; border-color: #e4d5e5; color: #5c476c; box-shadow: inset 1px 2px 3px #bd9cbc12; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.panel,.y-disclosure,.y-discover-card,.y-space-card,.up-welcome-plan,.up-entry-grid a,.y-learning-stats,.y-learning-columns>section,.y-followups,.y-writing-prompt,.y-journal-entry,.y-card-identity,.forest-overview-card,.fp-planner,.fp-reading,.forest-scenery,.fp-launch,.fp-shortcuts) {
  color: #51405f; background: linear-gradient(145deg,#fff6f0,#f9eaf0);
  border-color: #f1e0e7; border-radius: 24px;
  box-shadow: 3px 6px 10px #aa849f22,inset 1px 2px 1px #ffffffbf;
}
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-discover-card,.y-space-card) p { color: #786182; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-discover-card,.y-space-card):hover { border-color: #ccb0df; background: #fff7f7; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-reading-card,.fp-reading .y-reading-card,.fp-shortcuts .forest-notes-grid>a,.forest-goal-note) { background: linear-gradient(145deg,#f8edf5,#f0e0ed); border-color: #e9d9e8; border-radius: 17px; color: #665174; box-shadow: inset 1px 1px #fff9,1px 2px 3px #bda6ba15; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-shortcuts .forest-notes-grid>a:hover { background: #ebdcf0; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-book-cover,.fp-reading .y-book-cover) { background: linear-gradient(135deg,#b79bd1,#8f71b6); color: #fff8fc; box-shadow: inset 5px 0 #71588f44,2px 4px 4px #997cbf38; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-book-cover,.fp-reading .y-book-cover) small { color: #fff9fe; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-growth-action,.y-next-step,.university-filters,.y-search,.y-empty,.fp-reading .y-empty) { background: linear-gradient(140deg,#f6e9f5,#f2e4ef); border-color: #e8d5e7; border-radius: 22px; color: #604c70; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.y-directions>a[aria-current=page],.y-card-tabs button[aria-selected=true]) { color: #7652a2; background: linear-gradient(145deg,#eadbf7,#dcc7ef); border-color: #d3b9e7; box-shadow: 1px 3px 4px #b898cf33,inset 1px 1px #fff9; }
html[data-up-theme=candy] body:not(.desk-mode) .university-lenses>summary { color: #805bab; }
html[data-up-theme=candy] body:not(.desk-mode) .up-welcome h1 { color: #573970; font-family: var(--sans, sans-serif); }
html[data-up-theme=candy] body:not(.desk-mode) :is(.up-welcome p,.up-entry-grid p) { color: #796183; }
html[data-up-theme=candy] body:not(.desk-mode) .up-welcome-plan>div { border-color: #ebdbea; }
html[data-up-theme=candy] body:not(.desk-mode) .up-welcome-plan :is(.ui-icon,small) { color: #9675b4; }
html[data-up-theme=candy] body:not(.desk-mode) dialog { color: #51405f; background: #fff4f1; border-color: #e9d5e7; }
html[data-up-theme=candy] body:not(.desk-mode) #focus-task-form .fp-subject-fields { background: #f0e5f6; border-color: #e1cbed; }
html[data-up-theme=candy] body:not(.desk-mode) #focus-task-form .fp-subject-fields legend { color: #775499; }
html[data-up-theme=candy] body:not(.desk-mode) #focus-task-form .fp-subject-fields p { color: #867392; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-quadrant-options input { accent-color: #936abe; }

/* Lavender hero and soft candy tiles keep every statistic connected to real data. */
html[data-up-theme=candy] body[data-page=me]:not(.desk-mode):has(.fp-space-wallpaper) { background: #eee1f0; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-space-wallpaper { opacity: .24; filter: saturate(.55); }
html[data-up-theme=candy] body:not(.desk-mode) .fp-dashboard::before { background: linear-gradient(120deg,#dbc5efc2,#eed6e881),linear-gradient(180deg,#e6d4ee20,#eee1f0 340px); }
html[data-up-theme=candy] body:not(.desk-mode) .fp-dashboard:has(.fp-space-wallpaper) :is(.fp-planner,.fp-reading,.fp-shortcuts) { background: linear-gradient(145deg,#fff6f0,#f9eaf0); }
html[data-up-theme=candy] body:not(.desk-mode) :is(.fp-page-heading h1,.forest-eyebrow,.forest-hero-tools time) { color: #594172; text-shadow: none; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-page-heading h1 { font-family: var(--sans,sans-serif); font-weight: 750; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-page-heading p,html[data-up-theme=candy] body:not(.desk-mode) .fp-dashboard:has(.fp-space-wallpaper)>.fp-page-heading p { color: #7e638e; text-shadow: none; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-hero-tools time { background: #fff0f6b8; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-hero-tools .button { background: #fff4f4d9; border-color: #e8cfdf; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.forest-card-heading,.fp-section-head,.y-section-heading,.fp-shortcuts) h2 { color: #614776; font-family: var(--sans,sans-serif); }
html[data-up-theme=candy] body:not(.desk-mode) :is(.forest-card-heading,.fp-section-head,.y-section-heading,.fp-shortcuts) h2 .ui-icon { color: #a383c1; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-card-heading>:is(span,button) { color: #786182; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview { background: transparent; border-radius: 0; gap: 10px; overflow: visible; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview>:is(div,a) { background: linear-gradient(140deg,#eedcf7,#e6d2f1); border: 1px solid #ead9ef; border-radius: 16px; box-shadow: 1px 3px 5px #b394c42b,inset 1px 1px #fff9; color: #725585; padding: 12px; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview>:is(div,a):nth-child(2) { background: linear-gradient(140deg,#fbdedc,#f3d2d8); border-color: #f4d8dd; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview>:is(div,a):nth-child(3) { background: linear-gradient(140deg,#fff0cd,#f7e3b9); border-color: #f4e4c1; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview>:is(div,a):nth-child(4) { background: linear-gradient(140deg,#e0eafb,#ccdeef); border-color: #d7e2f1; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview strong { color: #544266; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-overview :is(span,small) { color: #6c5576; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-calendar { border-color: #e5d4e5; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.forest-calendar-heading,.forest-calendar-day,.forest-calendar-key,.forest-calendar-heading>span,.forest-calendar-heading button) { color: #7b5e8c; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-calendar-week { color: #796184; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-calendar-day.is-today { background: #a581c8; color: #fff9fd; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.forest-calendar-day.has-due:not(.is-today),.forest-calendar-key button,.forest-calendar-heading button:hover) { background: #ecdff3; color: #87629f; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.forest-calendar-day i,.forest-calendar-key i) { background: #b393ce; }
html[data-up-theme=candy] body:not(.desk-mode) .forest-calendar-day.is-today i { background: #ffdfad; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-view-switch { background: #eee0ef; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-view-switch button { color: #745c80; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-view-switch button[aria-pressed=true] { background: #fff7f4; color: #80599d; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-filter select { background-color: #fff7f4; border-color: #e4d2e5; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-plan-summary { color: #786182; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-plan-summary b { color: #805c96; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-list .fp-task { background: #fff8f5; border-color: #ecdae7; border-radius: 15px; box-shadow: 1px 2px 4px #bda0b915; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.fp-task h3,.fp-reading .y-reading-card h3,.fp-shortcuts b,.forest-goal-note b) { color: #6f5085; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-complete { background: #fff8fc; border-color: #d8bce5; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-complete[aria-pressed=true] { background: #a982c8; border-color: #a982c8; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.fp-task-subject,.fp-task-meta,.fp-task-progress small,.fp-task-bottom,.fp-task .fp-edit,.fp-footnote,.fp-footnote p,.fp-shortcuts small,.forest-goal-note p,.fp-reading .y-reading-card p,.fp-reading .y-reading-card small,.fp-launch p,.fp-launch small,.fp-private-note,.fp-private-note p) { color: #765d81; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-task-progress>div { background: #f0e0f0; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-task-progress i { background: #bd9bd6; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-task-bottom button { color: #9467af; background: #f3e6f7; border-color: #e5cfed; }
html[data-up-theme=candy] body:not(.desk-mode) .fp-task-bottom button:hover { background: #e9d5f2; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.fp-reading .y-reading-card>div>span,.forest-goal-note>button) { color: #966db1; }
html[data-up-theme=candy] body:not(.desk-mode) .y-focus-mini { color: #8962a6; background: #fff2f5; border-color: #d9bce7; box-shadow: 2px 5px 10px #af8cc434; }

/* Workbench additions use the same lavender, rose, apricot and sky palette. */
html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .fp-space-wallpaper[src$="forest-study-retreat-r1.png"] { opacity: 0; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .fp-space-wallpaper:not([src$="forest-study-retreat-r1.png"]) { opacity: .36; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .forest-hero {
  padding: 27px 28px; margin-bottom: 24px; border: 1px solid #e7d2ee;
  border-radius: 27px; background: linear-gradient(115deg,#ddc8efd6,#ead4edd9);
  box-shadow: 3px 7px 12px #9d76b62c,inset 1px 2px 1px #ffffffb3;
}
html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview { gap: 16px; margin-top: 0; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview>:is(div,a) {
  padding: 22px; border-radius: 22px; box-shadow: 3px 5px 8px #a98daf30,inset 1px 2px 1px #ffffffb8;
}
html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview strong { margin-top: 13px; font-size: 32px; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview>:is(div,a)>span { font-size: 14px; color: #6c5576; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview small { font-size: 12px; color: #6c5576; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.wb-dashboard .fp-planner,.wb-dashboard .fp-reading,.wb-grades.panel,.wb-bottom-grid>.panel,.wb-tool) {
  background: linear-gradient(145deg,#fff6f0,#f9eaf0); border-color: #f1e0e7;
  border-radius: 24px; box-shadow: var(--shadow),inset 1px 2px 1px #ffffffbf;
}
html[data-up-theme=candy] body:not(.desk-mode) .wb-quick-focus.fp-launch { background: linear-gradient(135deg,#edddf7,#dfc7f0); border-color: #dec5ec; color: #664382; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-quick-focus :is(h2,p,small) { color: #786182; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-quick-focus h3 { color: #634278; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.wb-learning-links>*,.wb-personal-links>*,.wb-project-apps a) { background: linear-gradient(145deg,#f6e7f3,#eeddf2); border-color: #e5cfe9; color: #77568f; box-shadow: inset 1px 1px #ffffffc4,1px 2px 3px #b893c31a; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.wb-learning-links>*,.wb-personal-links>*,.wb-project-apps a):hover { background: #e8d5f1; border-color: #d1b4e1; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a { background: linear-gradient(145deg,#eedff7,#e6d3f0); border-color: #e1cbea; color: #77528f; box-shadow: 1px 3px 4px #b895c52b,inset 1px 1px #fff9; border-radius: 17px; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a:nth-child(2) { background: linear-gradient(145deg,#f9e1e6,#f3d4de); color: #785469; border-color: #f0d1df; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a:nth-child(3) { background: linear-gradient(145deg,#fff0d2,#f6e1be); color: #7e624b; border-color: #f1dfc8; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a:nth-child(4) { background: linear-gradient(145deg,#e1eef7,#d1e1f0); color: #567084; border-color: #d6e2ee; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a:nth-child(5) { background: linear-gradient(145deg,#e8eddc,#dce7cc); color: #596e4d; border-color: #dfe6cf; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a:hover { border-color: #bba0cb; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-tool:hover { border-color: #ceb4df; background: #fff5f8; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-tool .y-icon-tile { border-radius: 17px; background: linear-gradient(140deg,#e2cdef,#c7a5df); color: #735094; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-tool:nth-child(2) .y-icon-tile { background: linear-gradient(140deg,#f5d1d6,#eeb5c4); color: #925166; border-color: #efd0da; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-tool:nth-child(3) .y-icon-tile { background: linear-gradient(140deg,#ffe6b8,#f3ce8f); color: #906c38; border-color: #f5dbb4; }
html[data-up-theme=candy] body:not(.desk-mode) .wb-tool:nth-child(4) .y-icon-tile { background: linear-gradient(140deg,#d5e7f8,#afcbe9); color: #57799e; border-color: #ccdcf0; }

html[data-up-theme=candy] body:not(.desk-mode) .gj-directions>a { background: linear-gradient(145deg,#fff4f0,#f6e8f0); border-color: #ead5e7; color: #78568e; box-shadow: 1px 3px 5px #b898c324,inset 1px 1px #fff9; }
html[data-up-theme=candy] body:not(.desk-mode) .gj-directions>a[aria-current=page] { color: #fff7fc; background: linear-gradient(150deg,#865bb2,#764aa2); border-color: #a47bce; box-shadow: 2px 4px 7px #9270b74d,inset 1px 2px #d6b9f2; }
html[data-up-theme=candy] body:not(.desk-mode) .gj-directions>a:hover { border-color: #c5a5d8; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.gj-action-panel,.gj-reflection,.gj-empty) { background: linear-gradient(145deg,#fff6f0,#f9eaf0); border-color: #f1e0e7; border-radius: 24px; box-shadow: var(--shadow),inset 1px 2px 1px #ffffffbf; }
html[data-up-theme=candy] body:not(.desk-mode) .gj-reflection { background: linear-gradient(140deg,#edddf6,#f3e4f2); border-color: #e5cfe9; }
html[data-up-theme=candy] body:not(.desk-mode) :is(.gj-direction-label,.gj-resources>a,.gj-reflection>div>.ui-icon) { color: #805b9a; }
html[data-up-theme=candy] body:not(.desk-mode) .gj-today { border-color: #e8d5e8; }
html[data-up-theme=candy] body:not(.desk-mode) .gj-entry-list .y-journal-entry { border-radius: 22px; box-shadow: 2px 4px 7px #b394aa1f,inset 1px 1px #ffffffbf; }

@media (min-width: 851px) {
  html[data-up-theme=candy] body:not(.desk-mode) .site-header { border-radius: 0 30px 30px 0; }
}
@media (max-width: 850px) {
  .up-theme-button { width: 35px; min-height: 35px; padding: 7px; }
  .up-theme-button [data-up-theme-label] { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; clip: rect(0,0,0,0); overflow: hidden; white-space: nowrap; }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header { background: #f8eaf2; border-color: #e8d4e8; box-shadow: 0 2px 6px #b899bc14; }
  html[data-up-theme=candy] body:not(.desk-mode) .brand { color: #775297; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  html[data-up-theme=candy] body:not(.desk-mode) .brand small { color: #9c7bab; }
  html[data-up-theme=candy] body:not(.desk-mode) .header-actions { background: transparent; border: 0; box-shadow: none; }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header>nav:not(.forest-short-nav) { background: #fcf0f5f5; border-color: #e5d0e7; box-shadow: 0 -3px 10px #b992c31a; }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header>nav:not(.forest-short-nav) a { color: #78558f; }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header>nav:not(.forest-short-nav) a.active { color: #895bad; background: linear-gradient(145deg,#efe1f8,#e5d4f0); }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header>nav:not(.forest-short-nav) a:hover { color: #895bad; background: #f2e4f8; }
  html[data-up-theme=candy] body:not(.desk-mode) .site-header>nav:not(.forest-short-nav) .ui-icon { color: #a07bc3; }
  html[data-up-theme=candy] body:not(.desk-mode) .fp-dashboard::before { background: linear-gradient(120deg,#dfc9efb5,#efdae990),linear-gradient(180deg,#e4d4ed10,#eee1f0 350px); }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .forest-hero { padding: 22px; margin-bottom: 20px; }
}
@media (max-width: 600px) {
  html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview { gap: 10px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview>:is(div,a) { padding: 16px 13px; border-radius: 19px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview strong { font-size: 28px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview>:is(div,a)>span { font-size: 12px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-overview.fp-overview small { font-size: 11px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .forest-hero { padding: 21px 18px; align-items: flex-start; gap: 14px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-dashboard .fp-page-heading h1 { font-size: 24px; }
  html[data-up-theme=candy] body:not(.desk-mode) .wb-growth-links a { border-radius: 12px; }
}
@media (max-width: 480px) {
  #up-theme-picker { padding: 20px; border-radius: 21px; }
  .up-theme-heading h2 { font-size: 20px; }
  .up-theme-options { gap: 10px; }
  .up-theme-swatch { height: 112px; }
  .up-theme-option { padding-bottom: 13px; }
}

/* Third choice previews the same glass palette as the active theme. */
.up-theme-swatch-aurora { background: linear-gradient(135deg,#6470a2,#77cee0); border-color:#e2f5ff99; }
.up-theme-swatch-aurora i { border:1px solid #e6f5ff99; box-shadow:inset 0 1px #ffffff80,0 3px 7px #17365b25; }
.up-theme-swatch-aurora .up-theme-mini-side { background:linear-gradient(140deg,#713d8e,#253b78); }
.up-theme-swatch-aurora .up-theme-mini-hero { background:linear-gradient(120deg,#d5c1f8b3,#b6eaf3b3); }
.up-theme-swatch-aurora .up-theme-mini-card { background:linear-gradient(135deg,#b9ccf0d9,#aeb9e9c9); }
.up-theme-swatch-aurora .up-theme-mini-card:nth-last-child(2) { background:linear-gradient(135deg,#6edaeed9,#8ebcf5c9); }
.up-theme-swatch-aurora .up-theme-mini-card:last-child { background:linear-gradient(135deg,#d2b6eed9,#efa4ebc9); }
.up-theme-swatch-linen { background: repeating-linear-gradient(0deg,#b99c7420 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#fff8e340 0 1px,transparent 1px 4px),#e2d4bd; }
.up-theme-swatch-linen i { border:1px dashed #ac91746b; box-shadow:0 2px 4px #745c3520,inset 0 1px #fff8; }
.up-theme-swatch-linen .up-theme-mini-side { background:linear-gradient(140deg,#d9c8ad,#cdb99b); }
.up-theme-swatch-linen .up-theme-mini-hero { background:linear-gradient(120deg,#fbf1df,#f4e7d4); }
.up-theme-swatch-linen .up-theme-mini-card { background:#fbf4e8; }
.up-theme-swatch-linen .up-theme-mini-card:nth-last-child(2) { background:#e7dbec; }
.up-theme-swatch-linen .up-theme-mini-card:last-child { background:#e9dcaf; }
@media(max-width:650px) {
  .up-theme-options { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .up-theme-option { padding:8px 7px 12px; border-radius:14px; }
  .up-theme-swatch { height:78px; padding:7px; gap:4px; }
  .up-theme-option-name { margin-top:10px; font-size:13px; }
  .up-theme-selected { display:none; }
  .up-theme-option-detail { padding:0 3px; font-size:11px; line-height:1.7; }
  #up-theme-picker .up-theme-option input[type=radio] { top:14px; right:14px; }
}

.up-theme-swatch-sky { background:#e6f4ff; border-color:#d0e6f9; }
.up-theme-swatch-sky .up-theme-mini-side { background:#f7fbff; border:1px solid #d4e7f6; }
.up-theme-swatch-sky .up-theme-mini-hero { background:linear-gradient(120deg,#bbeaff,#7ecaff); box-shadow:inset 0 1px #ffffff90; }
.up-theme-swatch-sky .up-theme-mini-card { background:#fff; border:1px solid #deedf8; }
.up-theme-swatch-sky .up-theme-mini-card:nth-last-child(2) { background:#eeeaff; }
.up-theme-swatch-sky .up-theme-mini-card:last-child { background:#fff0de; }

.up-theme-swatch-adaptive { background:linear-gradient(115deg,#f6eee0 0%,#d5e9e8 55%,#203344 100%); border-color:#a8bfbe; }
.up-theme-swatch-adaptive .up-theme-mini-side { background:#216b72; }
.up-theme-swatch-adaptive .up-theme-mini-hero { background:linear-gradient(110deg,#faf5e9,#d5e9e8); border:1px solid #ffffff80; }
.up-theme-swatch-adaptive .up-theme-mini-card { background:#fbfdfd; border:1px solid #d4e4e4; }
.up-theme-swatch-adaptive .up-theme-mini-card:nth-last-child(2) { background:#e4eaf0; }
.up-theme-swatch-adaptive .up-theme-mini-card:last-child { background:#203344; }
