/* Shared material, contrast and responsive rules. Canvas/3D scene code is unchanged. */
*{box-sizing:border-box}html{scroll-padding-top:20px}body{min-width:0}img,svg,canvas{max-width:100%}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}button,a{overflow-wrap:anywhere}input,select,textarea{min-width:0}[hidden]{display:none!important}
html[data-brand] .v4-site{background-color:var(--identity-bg)!important;background-image:var(--surface-texture)!important;color:var(--identity-ink)!important;font:16px/1.6 var(--identity-font,Arial,sans-serif)}
.v4-site h1,.v4-site h2,.v4-site .brand{font-family:var(--identity-font)!important;color:var(--identity-ink);letter-spacing:-.035em}.v4-site p,.v4-site label{color:var(--identity-ink)}.v4-site .muted,.v4-site small{color:var(--identity-muted)}
.v4-site .site-header,.v4-site .panel,.v4-site .study-metrics>*,.v4-site .countdown-tile{background:var(--identity-panel)!important;color:var(--identity-ink)!important;border:1px solid var(--identity-line)!important;border-radius:var(--identity-radius)!important;box-shadow:var(--material-shadow)!important}.v4-site .site-header{border-radius:0!important;background:color-mix(in srgb,var(--identity-panel) 94%,transparent)!important;backdrop-filter:blur(10px)}
.v4-site input,.v4-site select,.v4-site textarea{background:var(--identity-panel)!important;color:var(--identity-ink)!important;border:1px solid var(--identity-line);border-radius:8px;padding:11px;font-size:16px}.v4-site button,.v4-site a.button{font-size:14px}.v4-site .check-button,.v4-site .primary,.v4-site .button-primary{background:var(--identity-accent)!important;color:var(--identity-button-ink)!important;border-color:transparent!important}.v4-site .solution-button,.v4-site .nav-button{background:var(--identity-panel)!important;color:var(--identity-ink)!important;border:1px solid var(--identity-line)!important}.v4-site .check-button:hover,.v4-site .primary:hover{filter:brightness(.96)}
.v4-site .hero{background:var(--identity-panel)!important;border:1px solid var(--identity-line)!important;border-radius:var(--identity-radius)!important;color:var(--identity-ink)!important;overflow:hidden;position:relative;isolation:isolate}.v4-site .hero h1,.v4-site .hero p{color:var(--identity-ink)!important}.v4-site .hero .hero-content{position:relative;z-index:2}.v4-site .hero:after{opacity:1!important;inset:0!important;background:var(--surface-texture)!important;z-index:-1!important}.v4-site .home-hero{min-height:300px;padding:36px 4%!important}.v4-site .home-hero .hero-content{width:62%;max-width:760px}.v4-site .home-hero h1{font-size:clamp(27px,3.7vw,50px)!important}.v4-site .home-hero:before{content:'';position:absolute;right:0;top:0;bottom:0;width:43%;z-index:0;background:var(--identity-scene) center/contain no-repeat;opacity:.94;mix-blend-mode:var(--scene-blend,normal);pointer-events:none}.v4-site .hero-art{display:none!important}.v4-site .home-hero .button-row{position:relative}.v4-site .workspace-rail a{color:var(--identity-ink);border-radius:var(--identity-radius);font-size:14px}.v4-site .workspace-rail a[aria-current=page]{background:var(--identity-panel);border-color:var(--identity-line);box-shadow:var(--material-shadow)}
.v4-site .question-panel{background:var(--identity-panel)!important}.v4-site .question-panel h2,.v4-site .question-prompt,.v4-site .question-ask{color:var(--identity-ink)!important}.v4-site .option{color:var(--identity-ink)}.v4-site .status-error{color:var(--identity-error,#b02743)!important}.v4-site .management-dialog{max-height:calc(100dvh - 32px);overflow:auto;background:var(--identity-panel);color:var(--identity-ink)}.member-profile{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:9px 22px;margin:18px 0 26px;padding:20px;background:var(--identity-bg);border-radius:var(--identity-radius)}.member-profile dt{color:var(--identity-muted);font-size:13px}.member-profile dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.v4-home{background-image:var(--surface-texture)!important;background-attachment:scroll!important}.v4-home .material-scene{position:relative!important;display:grid!important;grid-template-columns:1fr;align-content:center;min-width:0;width:100%!important;max-width:none!important;height:auto!important;padding:0!important;margin:0!important;transform:none!important;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--fg) 17%,transparent);border-radius:var(--identity-radius,12px);box-shadow:var(--material-shadow);isolation:isolate}.material-scene img{display:block;width:100%;height:auto;aspect-ratio:10/7;object-fit:contain;max-height:580px}.material-scene figcaption{font:11px/1.45 Arial;color:var(--muted);padding:10px 16px;background:color-mix(in srgb,var(--panel) 85%,transparent);border-top:1px solid var(--line)}.material-scene-added{grid-column:1/-1;max-width:760px!important;justify-self:center}.material-scene-added img{max-height:350px}.v4-home .free-studio-extension{grid-column:1/-1}.v4-home button,.v4-home summary{cursor:pointer}.v4-home button:focus-visible,.v4-home a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.v4-home .studio-core-nav button,.v4-home .s-nav>button{min-height:40px;display:inline-flex;align-items:center;gap:7px;padding:8px 12px!important;border:1px solid var(--line);border-radius:var(--identity-radius,9px);background:color-mix(in srgb,var(--panel) 70%,transparent);font-size:13px!important;line-height:1.2}.v4-home .s-nav>button:after{display:none}.v4-home .s-nav .s-active{border-color:var(--accent)}.v4-home .nav-orbit{width:17px;height:17px;flex-shrink:0;stroke:currentColor;fill:none}.v4-home .open-auth{min-height:42px;font-size:13px!important;padding:10px 17px!important}.v4-home .brand strong{line-height:1.1}.v4-home .yfk-preview-banner{font-size:12px!important;line-height:1.4;padding:10px 16px!important;color:var(--identity-button-ink)!important;background:var(--identity-accent)!important}.v4-home .yfk-preview-banner strong{display:block;margin-bottom:2px}.design-option img{width:100%;height:auto;aspect-ratio:640/420;object-fit:cover;object-position:top;border-bottom:1px solid var(--line)}.design-option .design-badge{max-width:100%;white-space:normal}.design-option button{min-height:42px}.design-description{line-height:1.6}.design-selection-state{padding:12px;border:1px solid var(--identity-line);border-radius:8px}
/* The paper, prism, device and sky scenes keep their complete proportions on phones. */
@media(max-width:900px){.v4-home>header:not(.yfk-preview-banner){position:relative!important;inset:auto!important;transform:none!important;width:auto!important;margin:12px!important;min-height:0!important;max-width:calc(100% - 24px)!important;padding:16px!important;display:flex!important;flex-wrap:wrap;align-items:center;gap:12px!important}.v4-home>header>.brand{min-width:0;max-width:calc(100% - 108px);margin-right:auto}.v4-home>header>.brand strong{font-size:clamp(19px,4vw,26px)!important}.v4-home>header .brand .icon{width:29px;height:29px;flex-shrink:0}.v4-home>header>.open-auth{order:1;margin-left:auto}.v4-home>header>.header-motto{display:none!important}.v4-home>header .studio-core-nav,.v4-home>header .s-nav{order:3;width:auto!important;flex:1 1 60%;display:flex!important;flex-wrap:wrap;justify-content:flex-start!important;gap:6px!important;margin:0!important;padding:0!important;border:0!important}.v4-home>header>.menu-details,.v4-home>header>.new-menu{order:4;position:relative!important;inset:auto!important;margin-left:auto!important}.v4-home>header summary{font-size:12px!important;padding:10px 6px!important}.v4-home .header-motto{display:none!important}.v4-home main{min-width:0;max-width:100%!important;margin-left:0!important;margin-right:0!important;width:auto!important}.v4-home main>*,.v4-home .hero-copy,.v4-home section{min-width:0;max-width:100%}.v4-home .material-scene img{max-height:420px}.v4-home .physics-art{left:auto!important;right:auto!important;top:auto!important;bottom:auto!important}.v4-site .home-hero .hero-content{width:65%}.v4-site .home-hero:before{width:37%}}
@media(max-width:600px){
 .v4-home{font-size:15px;line-height:1.55}.v4-home main:not(.lab-main){padding-left:18px!important;padding-right:18px!important;padding-top:22px!important}.v4-home h1{font-size:clamp(29px,8vw,42px)!important;line-height:1.12!important;letter-spacing:-.035em}.v4-home h2{font-size:clamp(21px,5.8vw,28px)!important;line-height:1.2!important}.v4-home .lead,.v4-home .hero-copy>p,.v4-home .lab-copy>p{font-size:15px!important;line-height:1.65!important}.v4-home .studio-core-nav button,.v4-home .s-nav>button{font-size:11px!important;padding:9px!important;min-height:38px}.v4-home .s-nav>button:nth-child(3){display:none!important}.v4-home .open-auth{padding:9px 12px!important;font-size:12px!important}.v4-home .brand small{font-size:10px!important}.v4-home main{display:block!important}.v4-home main>section,.v4-home main>div{margin-top:0;margin-bottom:22px}.v4-home .material-scene{margin:18px 0!important}.v4-home .material-scene img{height:auto!important;max-height:none!important;aspect-ratio:10/7;object-fit:contain!important}.v4-home .hero-actions{flex-wrap:wrap!important;gap:10px!important}.v4-home .hero-actions button{font-size:13px!important;padding:12px 14px!important;min-height:43px}.v4-home .ed-route{width:100%!important}.v4-home .yfk-tool-dock{position:static!important;margin-left:0!important;display:grid!important;grid-template-columns:1fr 1fr;padding:18px!important;gap:15px!important}.v4-home .yfk-tool-dock button{white-space:normal;min-height:40px;font-size:12px}.v4-home .menu-details>nav,.v4-home .new-menu>nav,.v4-home .s-tools>nav{position:absolute!important;right:0!important;left:auto!important;min-width:min(285px,calc(100vw - 42px))!important;max-width:calc(100vw - 42px)!important;z-index:80}.v4-home .free-studio-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.v4-home .free-studio-grid strong{font-size:14px!important;line-height:1.35}.v4-home .free-studio-grid a{padding:16px 12px!important}.v4-home .free-studio-heading{display:block!important}.v4-home .free-studio-heading a{display:inline-block;margin:12px 0;font-size:13px!important}.v4-home .s-tool-cards,.v4-home .brass-tools{grid-template-columns:1fr 1fr!important;gap:10px!important}.v4-home .s-tool{padding:15px 12px!important;min-height:100px!important}.v4-home .s-tool strong{font-size:16px!important}.v4-home .s-tool small{font-size:11px!important}.v4-home .s-tool>span{display:grid;grid-template-columns:1fr;gap:6px}.v4-home .s-tool>span>.icon{width:23px;height:23px}.v4-home .s-tool>.icon{display:none}.v4-home .s-footer{font-size:10px!important}.v4-home .caption{font-size:12px!important}
 .v4-home.special-laboratory .lab-main{margin-top:0!important;padding:0!important}.v4-home.special-laboratory .laboratory-scene{height:auto!important;min-height:0!important;max-height:none!important;padding:28px 18px 24px!important;display:grid!important;grid-template-columns:1fr;gap:18px;background-image:linear-gradient(180deg,#171008, #3b2818)!important;background-size:auto!important}.v4-home.special-laboratory .laboratory-scene:before{display:none!important}.v4-home.special-laboratory .lab-copy{padding-top:0!important;max-width:none!important}.v4-home.special-laboratory .lab-copy h1{font-size:clamp(30px,8.6vw,40px)!important;max-width:100%;margin-bottom:12px}.v4-home.special-laboratory .lab-copy p{margin-bottom:16px}.v4-home.special-laboratory .lab-kicker{font-size:10px!important;letter-spacing:.12em;margin-bottom:12px}.v4-home.special-laboratory .lab-bank-link{font-size:12px;margin-top:12px}.v4-home.special-laboratory .lab-mobile-scene{display:block;width:100%;height:auto;aspect-ratio:1000/660;object-fit:contain;border-radius:12px;border:1px solid #b897603b}.v4-home.special-laboratory .lab-caption{position:static!important;margin:0!important;max-width:100%!important;padding:8px 12px!important}.v4-home.special-laboratory .lab-caption p{font-size:17px!important;margin:5px 0!important}.v4-home.special-laboratory .lab-caption small{font-size:11px!important;max-width:none!important}.v4-home.special-laboratory .lab-caption>span{font-size:9px!important}.v4-home.special-laboratory .brass-tools{margin:0!important}.v4-home.special-laboratory .brass-tools .s-tool{min-height:100px!important;padding:14px 12px!important}.v4-home.special-laboratory .lab-after{padding:28px 18px 0!important}.v4-home .notebook-hero{display:flex!important;flex-direction:column;gap:24px!important}.v4-home .notebook-copy{display:contents!important}.v4-home .notebook-route{order:3;width:100%!important;margin:0!important}.v4-home .notebook-experiment{width:100%!important}.v4-home .paper-equation{font-size:12px;flex-wrap:wrap;gap:8px}.v4-home.special-route .route-title{display:block!important}.v4-home.special-route .route-title p{margin-top:15px!important;font-size:15px!important}.v4-home .projectile-controls{grid-template-columns:1fr 1fr!important;gap:12px!important}.v4-home .projectile-readings{grid-column:1/-1;font-size:12px!important}.v4-home .route-focus-strip{display:grid!important;gap:15px;padding:18px!important}.v4-home .route-focus-strip>p{display:none}.v4-home .route-focus-strip .special-pomodoro{min-width:0;width:100%}.v4-home .scope-console-top h1{font-size:14px!important;line-height:1.4!important}.v4-home .scope-time-panel>h2{font-size:15px!important}.v4-home .scope-nav-button{font-size:10px!important;min-height:48px}.v4-home .scope-controls output{font-size:14px!important}.v4-home .scope-model{font-size:11px!important}.v4-home .scope-time-panel .special-countdown small{font-size:10px!important}.v4-home .scope-channel-legend{font-size:9px!important;flex-wrap:wrap}
 .v4-site .workspace-rail{position:static!important;display:flex!important;flex-wrap:wrap!important;width:auto!important;margin:12px!important;gap:6px!important;padding:0!important;order:0}.v4-site .workspace-rail a{font-size:12px;padding:10px 12px;background:var(--identity-panel);border:1px solid var(--identity-line)}.v4-site .workspace-rail small{display:none}.v4-site>main.shell,.v4-site>.site-footer{margin:20px 14px!important;width:auto!important;max-width:none!important;padding:0!important}.v4-site .workspace-rail~main{margin-top:12px!important}.v4-site .site-header .header-inner{margin:0!important;padding:14px!important;min-height:0;flex-wrap:wrap;gap:12px}.v4-site .studio-brand{font-size:18px!important}.v4-site .brand-handle{display:none}.v4-site .header-links{margin-left:auto;gap:12px}.v4-site .header-links a,.v4-site .header-links button{font-size:13px}.v4-site .home-hero{padding:24px 20px!important;min-height:0}.v4-site .home-hero .hero-content{width:100%;max-width:none;padding:0}.v4-site .home-hero:before{position:relative;display:block;float:none;width:100%;height:190px;margin:0 0 20px;inset:auto;opacity:1}.v4-site .hero h1{font-size:30px!important}.v4-site .home-hero .button-row{gap:8px}.v4-site .panel{padding:20px!important}.v4-site .dashboard-grid,.v4-site .study-metrics{grid-template-columns:1fr!important}.v4-site .hero-content>p{font-size:15px!important}.v4-site .dashboard-column{min-width:0}.v4-site .study-list-row,.v4-site .student-row{flex-wrap:wrap}.v4-site .report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.v4-site .card-heading{flex-wrap:wrap;gap:12px}.member-profile{grid-template-columns:1fr;gap:4px}.member-profile dd{margin-bottom:8px}
}
.lab-mobile-scene{display:none}
/* A compact settings hub; each choice opens a dedicated page. */
.settings-intro{margin:0 0 30px}.settings-intro h1,.settings-detail-heading h1{margin:8px 0 12px}.settings-intro p,.settings-detail-heading p{color:var(--identity-muted);max-width:720px}.settings-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-entry-card{display:grid;grid-template-columns:150px minmax(0,1fr);gap:22px;align-items:center;padding:25px;text-decoration:none;color:var(--identity-ink);background:var(--identity-panel);border:1px solid var(--identity-line);border-radius:var(--identity-radius);box-shadow:var(--material-shadow)}.settings-entry-card h2{font-size:24px;margin:0 0 9px}.settings-entry-card p{font-size:14px;line-height:1.7;margin:0 0 14px}.settings-open{font-size:13px;font-weight:bold;color:var(--identity-accent)}.settings-card-art{position:relative;width:100%;height:140px;overflow:hidden;background:linear-gradient(145deg,color-mix(in srgb,var(--identity-accent) 14%,var(--identity-bg)),var(--identity-bg));border-radius:16px;box-shadow:inset 0 0 0 1px var(--identity-line)}.settings-card-art span,.settings-card-art i,.settings-card-art b{position:absolute;display:block}.card-member .settings-card-art span{width:42px;height:42px;border-radius:50%;background:var(--identity-accent);top:25px;left:calc(50% - 21px)}.card-member .settings-card-art i{width:80px;height:48px;background:var(--identity-accent);left:calc(50% - 40px);top:78px;border-radius:45px 45px 12px 12px}.card-theme .settings-card-art{background:var(--identity-scene) center/cover no-repeat,var(--identity-bg)}.card-desk .settings-card-art{background:repeating-linear-gradient(0deg,transparent 0 13px,var(--identity-line) 14px),repeating-linear-gradient(90deg,transparent 0 13px,var(--identity-line) 14px),var(--identity-bg)}.card-desk .settings-card-art span{width:65%;height:78px;left:17%;top:25px;background:var(--identity-panel);box-shadow:0 10px 12px #0002;border:1px solid var(--identity-line);transform:rotate(-6deg);border-radius:4px}.card-companion .settings-card-art{background-image:url('/avatars/foton.svg');background-position:center;background-size:125px;background-repeat:no-repeat}.settings-footnote{margin-top:28px;color:var(--identity-muted);font-size:13px}.settings-back{display:inline-block;margin-bottom:15px;font-size:14px}.settings-detail-heading{margin-bottom:24px}.profile-v4-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;max-width:800px;padding:25px;background:var(--identity-panel);border:1px solid var(--identity-line);border-radius:var(--identity-radius)}.profile-v4-form label{display:grid;gap:7px;font-size:13px}.profile-v4-form .auth-v4-input{display:flex;min-width:0}.profile-v4-form .auth-v4-input>input{width:100%;min-width:0}.profile-v4-form [data-password-eye]{display:none}.profile-v4-form button{grid-column:1/-1;justify-self:start}.settings-selection-tools label{display:grid;gap:6px;max-width:480px;font-size:13px}.settings-selection-tools input{width:100%}.follow-showcase{display:grid;gap:5px;text-align:left;padding:19px;width:100%;border:1px solid var(--identity-line);background:var(--identity-panel);border-radius:var(--identity-radius);color:var(--identity-ink);margin:16px 0}.follow-showcase span{font-size:13px}.follow-showcase[aria-pressed=true]{outline:2px solid var(--identity-accent);outline-offset:2px}.personal-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:26px}.personal-theme-card{padding:0;display:grid;align-content:start;text-align:left;background:var(--identity-panel);color:var(--identity-ink);border:1px solid var(--identity-line);border-radius:var(--identity-radius);overflow:hidden}.personal-theme-card img{width:100%;height:auto;aspect-ratio:640/420;object-fit:cover;object-position:top}.personal-theme-card strong{padding:14px 14px 5px;font-size:15px}.personal-theme-card small{padding:0 14px 14px;font-size:12px}.personal-theme-card[aria-pressed=true],.avatar-choice[aria-pressed=true]{outline:3px solid var(--identity-accent);outline-offset:2px}.settings-live-preview{display:block;width:100%;height:620px;margin:20px 0;border:1px solid var(--identity-line);border-radius:var(--identity-radius);background:var(--identity-bg)}.settings-background-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:24px}.settings-background-grid button{display:grid;text-align:left;background:var(--identity-panel);color:var(--identity-ink);border:1px solid var(--identity-line);padding:8px;border-radius:8px;min-width:0}.settings-background-grid strong{font-size:12px;padding:8px 2px}.settings-background-grid [aria-pressed=true]{outline:2px solid var(--identity-accent)}.avatar-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.avatar-choice{display:grid;justify-items:center;gap:7px;padding:25px 18px;border:1px solid var(--identity-line);border-radius:var(--identity-radius);background:var(--identity-panel);color:var(--identity-ink)}.avatar-choice img{width:135px;height:135px}.avatar-choice strong{font-size:20px}.avatar-choice span{font-size:13px;text-align:center}.avatar-enabled{display:flex!important;align-items:center;gap:12px}.avatar-enabled input{width:20px;height:20px;accent-color:var(--identity-accent)}.avatar-choice:hover img{transform:translateY(-3px);transition:transform .25s}
.study-companion{position:fixed;bottom:20px;right:20px;z-index:90;display:grid;justify-items:end;gap:8px;pointer-events:none}.companion-trigger,.companion-panel{pointer-events:auto}.companion-trigger{width:78px;height:78px;padding:0;border:0;border-radius:50%;background:transparent;filter:drop-shadow(0 5px 7px #0003);cursor:pointer;animation:companion-breathe 5s ease-in-out infinite}.companion-trigger img{display:block;width:100%;height:100%}.companion-trigger:focus-visible{outline:2px solid var(--identity-accent);outline-offset:3px}.companion-panel{width:min(330px,calc(100vw - 28px));max-height:calc(100dvh - 150px);overflow:auto;border:1px solid var(--identity-line);border-radius:var(--identity-radius);padding:18px;background:var(--identity-panel);color:var(--identity-ink);box-shadow:0 15px 50px #0004;font:14px/1.6 Arial}.companion-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.companion-heading button{width:34px;height:34px;border:0;background:none;font-size:24px;color:inherit}.companion-message{max-height:240px;overflow:auto;white-space:pre-line}.companion-actions{display:grid;gap:8px;margin:12px 0}.companion-actions button,.companion-actions a{display:block;padding:10px;border:1px solid var(--identity-line);background:var(--identity-bg);color:var(--identity-ink);font-size:13px;border-radius:7px;text-decoration:none}.companion-panel>a{font-size:12px;color:inherit}body:has(dialog[open]) .study-companion{visibility:hidden}@keyframes companion-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@media(max-width:1000px){.settings-entry-card{grid-template-columns:100px minmax(0,1fr);padding:20px;gap:17px}.settings-card-art{height:125px}.personal-theme-grid{grid-template-columns:1fr 1fr}.settings-background-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.settings-card-grid{grid-template-columns:1fr;gap:15px}.settings-entry-card{grid-template-columns:90px minmax(0,1fr);gap:17px;padding:18px}.settings-card-art{height:105px}.settings-entry-card h2{font-size:22px!important}.settings-entry-card p{font-size:13px}.settings-entry-card .settings-open{font-size:12px}.settings-intro h1,.settings-detail-heading h1{font-size:32px!important}.profile-v4-form{grid-template-columns:1fr;padding:20px;gap:16px}.personal-theme-grid{gap:12px}.personal-theme-card strong{font-size:13px;padding:11px 10px 4px}.personal-theme-card small{padding:0 10px 11px;font-size:11px}.settings-background-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.avatar-choice-grid{grid-template-columns:1fr 1fr;gap:12px}.avatar-choice{padding:18px 12px}.avatar-choice img{width:105px;height:105px}.avatar-choice strong{font-size:18px}.avatar-choice span{font-size:12px}.settings-live-preview{height:540px}.study-companion{right:9px;bottom:83px}.companion-trigger{width:58px;height:58px}.companion-panel{margin-right:5px}.companion-message{max-height:180px}}
@media(max-width:360px){.v4-home>header .brand strong{font-size:18px!important}.v4-home .studio-core-nav button{font-size:10px!important;padding:8px!important}.v4-home .free-studio-grid{grid-template-columns:1fr!important}.v4-home .s-tool strong{font-size:14px!important}.v4-home .scope-time-panel{grid-template-columns:1fr!important}.v4-home .projectile-controls{grid-template-columns:1fr!important}.v4-home .projectile-readings{grid-column:auto}.personal-theme-grid{grid-template-columns:1fr}.settings-entry-card{grid-template-columns:75px minmax(0,1fr);gap:13px}.avatar-choice img{width:90px;height:90px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

@media(max-width:600px){.v4-home .lens-stage:after{right:18%!important;bottom:5%!important;height:20%!important}}
@media(min-width:761px){.v4-home .r05-hero{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr)}.v4-home .r05-hero>*{min-width:0}}
:root[data-dashboard-background^="bg-"] .v4-site .home-hero:after{background:var(--bg-pattern)!important;opacity:.13!important}
/* Decorative paper strokes stay inside the viewport, including modal scrollbar changes. */
.v4-home{overflow-x:clip}
.v4-home .lens-stage:after{right:18%!important;bottom:5%!important;height:20%!important}
.v4-home .route-focus-strip:before{left:0!important;right:0!important}
@media(max-width:760px){.v4-site .workspace-rail{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;box-shadow:none;border:0;background:transparent}.v4-site .workspace-rail a{min-width:0;min-height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:11px/1.35 Arial,sans-serif!important;padding:9px 7px!important;overflow-wrap:normal;word-break:normal;text-align:center}.v4-site .workspace-rail a>span{font-size:19px;line-height:1}}
.v4-home .yfk-tool-dock{flex-wrap:wrap;min-width:0}.v4-home .yfk-tool-dock button{white-space:normal}
