
html[data-site-app="mathie2"][data-site-theme="dark"] {color-scheme:dark;--bg:#101b2b;--paper:#17283b;--ink:#e3edf8;--muted:#aec1d4;--line:#33475e;--green:#7edbbd;--green-soft:#1b3c37;--blue:#9dbdff;--blue-soft:#253b5b;--cyan:#7ed5e5;--accent:#3e4e61;--danger:#ff9d9d;}
html[data-site-app="snappyflip"][data-site-theme="light"] {color-scheme:light;--bg:#f4f6f0;--panel:#ffffff;--ink:#202c20;--lime:#53791b;--muted:#596653;--line:#d1d8c9;}
html[data-site-app="snappyflip"][data-site-theme="dark"] {color-scheme:dark;}
html[data-site-app="hobbox"][data-site-theme="light"] {color-scheme:light;background:#f3f6f3;--ink:#18352d;--muted:#53695f;--accent:#5b639c;}
html[data-site-app="hobbox"][data-site-theme="light"] {--accent:#92621f;}
html[data-site-app="hobbox"][data-site-theme="light"] body {background:#f3f6f3;}
html[data-site-app="hobbox"][data-site-theme="dark"] {color-scheme:dark;background:#10191b;}
.site-theme-setting {padding:10px 12px;color:inherit;font:13px/1.4 system-ui,sans-serif;min-width:0;}
.site-theme-label {display:block;margin-bottom:7px;font-weight:650;}
.site-theme-setting>div {display:flex;gap:5px;}
.site-theme-setting button {flex:1;min-width:0;min-height:34px;padding:6px 9px;border:1px solid #7f8a8f55;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer;}
.site-theme-setting button[aria-pressed="true"] {background:#438d9430;border-color:#438d94;font-weight:700;}
.site-theme-setting button:focus-visible,.site-theme-pop summary:focus-visible {outline:2px solid #52b5bf;outline-offset:2px;}
.site-theme-status {display:block;min-height:0;margin-top:5px;font-size:11px;}
.site-theme-status:empty {display:none;}
.site-theme-pop {position:relative;margin-left:auto;font:13px/1.4 system-ui,sans-serif;}
.site-theme-pop summary {list-style:none;cursor:pointer;border:1px solid #82948c66;border-radius:9px;padding:8px 12px;}
.site-theme-pop summary::-webkit-details-marker {display:none;}
.site-theme-pop>.site-theme-setting {position:absolute;right:0;top:calc(100% + 8px);width:min(265px,calc(100vw - 40px));z-index:100;background:#f3f6f3;color:#18352d;border:1px solid #82948c66;border-radius:12px;box-shadow:0 10px 30px #0003;}
html[data-site-theme="dark"] .site-theme-pop>.site-theme-setting {background:#182526;color:#eaf2ee;}
html[data-site-app="hobbox"] header {gap:12px;flex-wrap:wrap;}
html[data-site-app="snappyflip"][data-site-theme="light"] :is(.profileButton,.profileMenu,.profilePlan,.floatingFormat,.converter,.formatExplorer,.workflowCard,.priceCard,.modalCard,.motionToggle) {background:var(--panel);border-color:var(--line);color:var(--ink);}
html[data-site-app="snappyflip"][data-site-theme="light"] .siteHeader {background:#f4f6f0ed;}
html[data-site-app="snappyflip"][data-site-theme="light"] :is(.profilePlan span,.navLinks,.eyebrow,.heroIntro>p,.heroAside,.heroBottom,.coreCaption,.workspaceIntro p,.workspaceFoot,.fileInfo>button,.formatPickerLabel,.formatGroupLabel,.formatTicker span,.formatTabs>button,.formatOverview>p,.formatDetail p,.workflowCard p,.priceCard>p,.priceCard ul,.modalCard h3,.modalCard p,.footerInner>div) {color:var(--muted);}
html[data-site-app="snappyflip"][data-site-theme="light"] :is(.formatPill,.explorerPills button,.profileButton:hover,.profileMenu>a:hover,.profileMenu>button:hover) {background:#e9efe2;color:var(--ink);}
html[data-site-app="snappyflip"][data-site-theme="light"] :is(.primaryButton,.convertButton,.featuredPlan>a) {background:#53791b;color:#fff;}
html[data-site-app="snappyflip"][data-site-theme="light"] .profileAvatar {background:#d3e6b5;color:#263c16;}
html[data-site-app="snappyflip"][data-site-theme="light"] .status.error {color:#9d3b26;}
@media print {
 html[data-site-app="mathie2"][data-site-theme] {color-scheme:light;--bg:#fff;--paper:#fff;--ink:#111;--muted:#444;--line:#bbb;--green:#234c35;--green-soft:#eef4ee;}
 .site-theme-setting {display:none;}
}
html[data-site-app="hobbox"] header {z-index:20;}


@media screen {
 html[data-site-app="mathie2"][data-site-theme="dark"] body {background-image:radial-gradient(ellipse at 50% 22%,#101b2b 24%,#101b2b00 80%),linear-gradient(#9dbdff09 1px,transparent 1px),linear-gradient(90deg,#9dbdff09 1px,transparent 1px);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.header,.review-save,.qs-header,.qs-table thead) {background:var(--paper);border-color:var(--line);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.brand strong,.m2-profile-identity strong,.m2-profile-summary strong,.m2-profile-row,.q-body>p,.q-body .screen-question-parts p,.curriculum-title strong,.ai-result,.progress-next,.qs-overview strong,.qs-topic-total) {color:var(--ink);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.brand small,.tab:not(.active),.m2-profile-name,.m2-profile-label,.practice-filter-row .field-label,.form-first-row .field-label,.curriculum-title small,.curriculum-subtopics,.objective-number,.q-meta,.question>.fold-section>.fold-heading h3,.screen-question-part .part-heading,.day,.progress-chart-caption,.progress-evidence,.footer) {color:var(--muted);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(input,select,textarea,.select-trigger,.student-controls .select-trigger,.btn,.practice-toggle,.day i,.photo-upload,.progress-comparison,.m2-profile-summary>div,.qs-overview>div) {background:var(--paper);color:var(--ink);border-color:var(--line);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.practice-toggle button,.practice-toggle button[aria-pressed=true],.selected-topics .selected-topic,.select-option[aria-selected=true],.select-option.highlighted,.select-option:hover,.day.today i,.observed-work,.tip,.subtopic-form-guide,.revision-choice:has(input:checked),.curriculum-topic-card:has(input:checked)) {background:var(--blue-soft);color:var(--ink);border-color:var(--blue);}
 html[data-site-app="mathie2"][data-site-theme="dark"] .practice-toggle button:not([aria-pressed=true]) {background:transparent;color:var(--muted);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.btn.primary,.day.done i) {background:var(--green);color:#102a23;border-color:var(--green);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.m2-profile-avatar,.tab.active) {background:#355d9e;color:#fff;}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.m2-profile-row,.m2-profile-menu,.screen-question-part,.curriculum-topic-card,.progress-analysis-block+.progress-analysis-block) {border-color:var(--line);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.m2-profile-row:hover,.btn:not(.primary):not(:disabled):hover,.tab:not(.active):hover,.selected-topic:hover) {background:var(--blue-soft);color:var(--ink);}
 html[data-site-app="mathie2"][data-site-theme="dark"] :is(.m2-profile-signout,.btn.danger,.error-banner) {color:var(--danger);}
 html[data-site-app="mathie2"][data-site-theme="dark"] .error-banner {background:#41232c;}
 html[data-site-app="mathie2"][data-site-theme="dark"] .answer {background:var(--green-soft);color:var(--green);}
 html[data-site-app="mathie2"][data-site-theme="dark"] .curriculum-subtopics mark {background:var(--blue-soft);color:var(--blue);}
}
