/* Shared working-interface layer. Route-gated by interface_design.php.
   No geometry changes to canvas, game cells, timers, tables, slide stages,
   fixed app viewports or toolbars. App status colors and dark themes remain owned by apps.
   No blanket !important declarations; shared gradient uses its existing token. */
body{font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:16px;--cryo-focus:#176b5b;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode){--ui-ink:#142d2b;--ui-muted:#5c6c68;--ui-line:#dce4df;--ui-panel:#fff;--ui-soft:#f7f8f4;--ui-accent:#176b5b;--cs-grad:#176b5b;--cs-ring:0 0 0 3px rgba(23,107,91,.20);background-color:var(--ui-soft);background-image:none;color:var(--ui-ink);}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-topbar-panel,header.topbar,.cryo-fullmenu-bar){background:#fff;background-image:none;border:1px solid var(--ui-line);border-radius:16px;box-shadow:none;color:var(--ui-ink);}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-topbar,.topbar,.cryo-fullmenu){font-family:Inter,"Segoe UI",system-ui,sans-serif;--brand:#176b5b;--ink:#142d2b;--muted:#5c6c68;--line:#dce4df;--bg-soft:#f7f8f4;--bg-tint:#edf4ef;}
body :is(.cryo-dropdown-btn,.cryo-nav a,.cryo-header-actions .cryo-btn,.topbar .df-icon-btn,.topbar .mobile-menu-trigger,.cryo-fullmenu-row){min-height:44px;font-size:14px;}
body :is(.cryo-fullmenu-text small,.cryo-meta,.cryo-stat-label){font-size:14px;line-height:1.45;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-panel,.cryo-card,.dash-card,.task-panel,.notes-panel,.settings-panel,.form-panel,.lesson-card,.quiz-card,.cryo-stat-card){background-color:#fff;background-image:none;border-color:var(--ui-line);border-radius:20px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.dash-card-header,.task-panel-head,.notes-panel-head){background-color:#f7f8f4;background-image:none;border-color:var(--ui-line);color:var(--ui-ink);}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-field,.cryo-textarea,.cryo-select,form input[type="text"],form input[type="email"],form input[type="password"],form input[type="search"],form input[type="url"],form select,form textarea){font-family:inherit;font-size:16px;min-height:44px;background-color:#fff;color:#142d2b;border:1px solid #cad8d0;border-radius:10px;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-btn,.cryo-dropdown-btn,.btn-primary,.btn-secondary){min-height:44px;font-size:14px;border-radius:12px;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.btn-primary,.cryo-btn-primary){background:#176b5b;color:#fff;border-color:#176b5b;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.week-nav-today,.add-task-save):not(:disabled){background:#176b5b;color:#fff;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.df-share-full,.cryo-share-full):not(.is-copied){background:#176b5b;color:#fff;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-page,.sa-page){--swInk:#142d2b;--swMuted:#5c6c68;--swAccent:#176b5b;--saInk:#142d2b;--saMuted:#5c6c68;--saAccent:#176b5b;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-hero,.sa-hero){background:#f0f5ef;color:#142d2b;border:1px solid #dce4df;border-radius:20px;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-stick,.sa-stick,.sw-app,.sa-app){background:#142d2b;color:#fff;border-radius:20px;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-card,.sa-card){background:#fff;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-stats span,.sw-tag,.sa-tag){font-size:14px;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sw-more,.sw-links a,.sa-more,.sa-links a){color:#176b5b;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) .btn-secondary{background:#fff;color:#142d2b;border-color:#cad8d0;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cryo-title,.cryo-section-title,.dash-card-title){color:#142d2b;letter-spacing:-.025em;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) #mdApp :is(.mdA-head,.mdA-tabs){background-color:#fff;color:#142d2b;border-color:#dce4df;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) #mdApp .mdA-body{background-color:#f7f8f4;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) #mdApp :is(.mdA-card,.mdA-dcard,.mdA-fbox):not(.mdR-read *){border-color:#dce4df;border-radius:20px;box-shadow:none;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) #mdApp :is(.mdA-meta,.mdA-hint){font-size:14px;line-height:1.45;}
html:not(:has(link[data-cryo-interface="huewalls"])):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) #mdApp :is(.mdA-tabs button,.mdA-tabs a){min-height:44px;font-size:14px;}
body :is(.cryo-field,.cryo-select,.cryo-textarea,.cryo-btn,.cryo-dropdown-btn):focus-visible{outline:2px solid #176b5b;outline-offset:3px;}

/* Audited generic containers: MathMind setup/results cards; public utility forms.
   Game cards/cells, deck content and canvas workspaces are intentionally absent. */
html:has(link[data-cryo-interface="mathmind"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) .card,
html:has(link[data-cryo-interface="utility"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card,.panel,.form-card){background:#fff;color:#142d2b;border-color:#dce4df;border-radius:20px;box-shadow:0 2px 10px rgba(20,45,43,.035);}

/* Working interfaces: audited per-app controls and surfaces.
   Game state/status colours, cells, canvases, document content and layout geometry remain app-owned. */
html:has(link[data-cryo-interface="aegix"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.ags-card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="aegix"]) body :is(.ags-btn,.sc-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="aegix"]) body :is(.ags-btn,.sc-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="aegix"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.ags-btn.primary):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="board"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.board-modal,.board-info-box,.board-kcard){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="board"]) body :is(.btn-save,.board-btn-take,.board-btn-complete){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="board"]) body :is(.btn-save,.board-btn-take,.board-btn-complete):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="board"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.btn-save):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="colregs"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cr-sheet,.cr-logp){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="colregs"]) body :is(.cr-btn,.cr-log-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="colregs"]) body :is(.cr-btn,.cr-log-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="dayflow"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.modal-card,.task-panel,.notes-panel){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="dayflow"]) body :is(.week-nav-btn,.week-nav-today,.add-task-save){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="dayflow"]) body :is(.week-nav-btn,.week-nav-today,.add-task-save):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="dayflow"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.week-nav-today,.add-task-save):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="detoxarena"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.dt-fcard,.na-note){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="detoxarena"]) body :is(.na-cta,.dt-play){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="detoxarena"]) body :is(.na-cta,.dt-play):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="dgexit"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.dg-card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="dgexit"]) body :is(.dg-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="dgexit"]) body :is(.dg-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="dgexit"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.dg-btn-main):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="echodoc"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.recent-pane,.tts-pane){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="echodoc"]) body :is(.toolbar button,.tts-controls button){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="echodoc"]) body :is(.toolbar button,.tts-controls button):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="echodoc"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.tts-controls button.primary):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="everframe"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.ef-fcard,.ef-privacy){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="everframe"]) body :is(.ef-how-btn,.ef-msbadge){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="everframe"]) body :is(.ef-how-btn,.ef-msbadge):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="eyefit"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.ef-card,.ef2-card,.ef-notice){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="eyefit"]) body :is(.ef-q,.ef-video-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="eyefit"]) body :is(.ef-q,.ef-video-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="eyefit"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.ef-q-primary):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="flamesfun"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="flamesfun"]) body :is(.go,.again,.ff-clear){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="flamesfun"]) body :is(.go,.again,.ff-clear):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="flamesfun"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.go):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="griddo"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.modal){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="griddo"]) body :is(.gcontrols .iconbtn,.gr-x){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="griddo"]) body :is(.gcontrols .iconbtn,.gr-x):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="hinglish"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.hgph-card,.hgph-tcard){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="hinglish"]) body :is(.hgph-sbtn,.hgph-play,.hgph-go){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="hinglish"]) body :is(.hgph-sbtn,.hgph-play,.hgph-go):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="huewalls"]) body :is(.cv-dl,.cv-rand,.hw-inst-go,.hw-inst-x){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="huewalls"]) body :is(.cv-dl,.cv-rand,.hw-inst-go,.hw-inst-x):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="kesha"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.kp-mini,.kp-lockcard){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="kesha"]) body :is(.kp-btn,.kp-herobtn,.kg-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="kesha"]) body :is(.kp-btn,.kp-herobtn,.kg-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="malayalam"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="malayalam"]) body :is(.btn,.go){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="malayalam"]) body :is(.btn,.go):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="marinersdigest"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.mdA-fbox,.mdA-dcard){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="marinersdigest"]) body :is(.mdA-btn,.mdA-do){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="marinersdigest"]) body :is(.mdA-btn,.mdA-do):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="mathmind"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="mathmind"]) body :is(.cta,.ghost,.stylebtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="mathmind"]) body :is(.cta,.ghost,.stylebtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="mathmind"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.cta):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="mindfit"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="mindfit"]) body :is(.btn,.mf-wkbtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="mindfit"]) body :is(.btn,.mf-wkbtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="paisacalc"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card,.stat){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="paisacalc"]) body :is(.sharebtn,.iconbtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="paisacalc"]) body :is(.sharebtn,.iconbtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="projex"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.tess-card,.cat-card,.b2-card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="projex"]) body :is(.view-filter,.tess-actions .cryo-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="projex"]) body :is(.view-filter,.tess-actions .cryo-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="quizly"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.course-card:not(.locked),.toolbar-card,.metric,.ia-card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="quizly"]) body :is(.btn,.ia-btn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="quizly"]) body :is(.btn,.ia-btn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="quizly"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.btn-primary):not(:disabled){background:#176b5b;border-color:#176b5b;color:#fff;box-shadow:none;}
html:has(link[data-cryo-interface="rashidaily"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="rashidaily"]) body :is(.cta,.wallbtn,.changebtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="rashidaily"]) body :is(.cta,.wallbtn,.changebtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="slides"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.sl-card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="slides"]) body :is(.sl-btn-edit,.sl-btn-present,.sl-btn-share){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="slides"]) body :is(.sl-btn-edit,.sl-btn-present,.sl-btn-share):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="sscsaathi"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.modecard){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="sscsaathi"]) body :is(.navbtn,.backbtn,.topicbtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="sscsaathi"]) body :is(.navbtn,.backbtn,.topicbtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="streakup"]):not([data-theme="dark"]):not(.dark):not(.dark-mode) body:not([data-theme="dark"]):not(.dark):not(.dark-mode) :is(.card){background-color:#fff;background-image:none;border-color:#dce4df;border-radius:16px;box-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="streakup"]) body :is(.su-hero-add,.su-hero-share,.addbtn){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="streakup"]) body :is(.su-hero-add,.su-hero-share,.addbtn):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="wrap"]) body :is(.ctlrow .iconbtn,.wr-play){font-family:Inter,"Segoe UI",system-ui,sans-serif;font-size:14px;min-height:44px;border-radius:12px;line-height:1.4;}
html:has(link[data-cryo-interface="wrap"]) body :is(.ctlrow .iconbtn,.wr-play):focus-visible{outline:3px solid #398a76;outline-offset:3px;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-hero--live{position:relative;isolation:isolate;background:#176b5b;color:#fff;border-radius:16px;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-hero--live :is(h1,h2,h3,p,.cryo-title,.cryo-lead,.cryo-kicker){color:inherit;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--ring-size,120px);height:var(--ring-size,120px);}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring circle{fill:none;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring-track{stroke:color-mix(in srgb,var(--ring-color,#176b5b) 25%,transparent);}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring-bar{stroke:var(--ring-color,#176b5b);stroke-linecap:round;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring-label{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.1;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring-label b{font-size:calc(var(--ring-size,120px)*.24);font-weight:800;font-variant-numeric:tabular-nums;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-ring-label small{font-size:14px;line-height:1.35;}
html:has(link[data-cryo-interface="mathmind"]) body .cryo-streak{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:16px;background:#fff4dc;color:#805000;font-weight:700;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-hero--live{position:relative;isolation:isolate;background:#176b5b;color:#fff;border-radius:16px;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-hero--live :is(h1,h2,h3,p,.cryo-title,.cryo-lead,.cryo-kicker){color:inherit;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--ring-size,120px);height:var(--ring-size,120px);}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring circle{fill:none;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring-track{stroke:color-mix(in srgb,var(--ring-color,#176b5b) 25%,transparent);}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring-bar{stroke:var(--ring-color,#176b5b);stroke-linecap:round;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring-label{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.1;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring-label b{font-size:calc(var(--ring-size,120px)*.24);font-weight:800;font-variant-numeric:tabular-nums;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-ring-label small{font-size:14px;line-height:1.35;}
html:has(link[data-cryo-interface="mindfit"]) body .cryo-streak{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:16px;background:#fff4dc;color:#805000;font-weight:700;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-hero--live{position:relative;isolation:isolate;background:#176b5b;color:#fff;border-radius:16px;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-hero--live :is(h1,h2,h3,p,.cryo-title,.cryo-lead,.cryo-kicker){color:inherit;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring{position:relative;display:inline-grid;place-items:center;flex:none;width:var(--ring-size,120px);height:var(--ring-size,120px);}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring circle{fill:none;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring-track{stroke:color-mix(in srgb,var(--ring-color,#176b5b) 25%,transparent);}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring-bar{stroke:var(--ring-color,#176b5b);stroke-linecap:round;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring-label{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;line-height:1.1;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring-label b{font-size:calc(var(--ring-size,120px)*.24);font-weight:800;font-variant-numeric:tabular-nums;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-ring-label small{font-size:14px;line-height:1.35;}
html:has(link[data-cryo-interface="flamesfun"]) body .cryo-streak{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:16px;background:#fff4dc;color:#805000;font-weight:700;}
html:has(link[data-cryo-interface="mathmind"]) body :is(.mm-hi,.mm-quick-h){font-size:14px;line-height:1.4;}

html:has(link[data-cryo-interface="dgexit"]) body{--dg-ink:#142d2b;--dg-ink-2:#5c6c68;--dg-sea:#176b5b;--dg-sea-d:#105343;--dg-ice:#f7f8f4;--dg-soft:#edf4ef;--dg-line:#dce4df;--dg-shadow:0 2px 10px rgba(20,45,43,.035);}
html:has(link[data-cryo-interface="echodoc"]) body,body.echodoc-standalone{--ed-bg:#f7f8f4;--ed-panel:#fff;--ed-ink:#142d2b;--ed-muted:#5c6c68;--ed-line:#dce4df;--ed-accent:#176b5b;}
html:has(link[data-cryo-interface="echodoc"]) .echodoc .pane-head{background:#f7f8f4;color:#142d2b;border-color:#dce4df;}
html:has(link[data-cryo-interface="quizly"]) .metric-label{font-size:14px;text-transform:none;letter-spacing:0;line-height:1.45;}
html:has(link[data-cryo-interface="huewalls"]) body{background:#12141c;color:#f0f2f8;--cryo-focus:#8fddc5;}
html:has(link[data-cryo-interface="huewalls"]) body :is(.cryo-topbar-panel,header.topbar,.cryo-fullmenu-bar){background:#1b1e29;color:#f0f2f8;border-color:#3c4554;border-radius:16px;}
html:has(link[data-cryo-interface="huewalls"]) body :is(.cv-dl,.cv-rand,.hw-inst-go,.hw-inst-x):focus-visible{outline-color:#8fddc5;}
html:has(link[data-cryo-interface="huewalls"]) body header.topbar .df-brand-name{color:#f0f2f8;}
html:has(link[data-cryo-interface="huewalls"]) body header.topbar :is(.df-icon-btn,.mobile-menu-trigger){background:#252c39;color:#dcece7;border-color:#4e5d68;}
@media(max-width:600px){
 html:has(link[data-cryo-interface="echodoc"]) :is(.toolbar,.toolbar .group){flex-wrap:wrap;min-width:0;}
 html:has(link[data-cryo-interface="quizly"]) .course-card{min-width:0;overflow-wrap:anywhere;}
 html:has(link[data-cryo-interface="board"]) .board-modal{max-width:calc(100vw - 24px);box-sizing:border-box;}
 html:has(link[data-cryo-interface="paisacalc"]) .input{font-size:16px;min-height:44px;}
}
