/* Theme selection stays available in the original desktop as well. */
.theme-settings{padding:28px;max-width:940px;margin:0 auto}.window-content .theme-settings h2{font-size:2.7rem;margin-bottom:12px}.theme-settings>p{font-size:14px;line-height:1.65;color:#424957}.theme-options{border:0;padding:0;min-width:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:25px 0 20px}.theme-option{position:relative;display:flex;flex-direction:column;gap:10px;padding:12px;border:2px solid #7f858b;background:#f8f8f2;cursor:pointer;min-width:0}.theme-option:has(input:checked){outline:3px solid var(--blue);outline-offset:2px}.theme-option:focus-within{outline:3px solid var(--blue);outline-offset:3px}.theme-option input{width:18px;height:18px;accent-color:var(--blue);margin:0;position:absolute;top:20px;right:20px;z-index:1}.theme-option strong{font-size:15px;line-height:1.4}.theme-description{font-size:12px;line-height:1.6;color:#475467}.theme-preview{display:block;position:relative;height:114px;overflow:hidden;background:#087f80;border:1px solid #8a969c}.theme-preview i{position:absolute;left:17%;right:17%;top:23%;height:51%;background:#f0f0e6;border:3px solid #c0c0c0;box-shadow:2px 2px #003b46}.theme-preview i:before{content:'';display:block;height:12px;background:#002ea5}.theme-preview b{position:absolute;bottom:0;left:0;right:0;height:15px;background:#c0c0c0;border-top:2px solid white}.preview-macos{background:linear-gradient(140deg,#173477,#724194 47%,#f3a8a1)}.preview-macos i{border:1px solid #ffffffb3;border-radius:6px;background:#fbfbfd;box-shadow:0 4px 12px #18254440}.preview-macos i:before{height:13px;background:radial-gradient(circle at 8px 6px,#ff6058 2px,transparent 3px),radial-gradient(circle at 16px 6px,#ffbd2e 2px,transparent 3px),radial-gradient(circle at 24px 6px,#28c840 2px,transparent 3px),#e9e9ed;border-radius:6px 6px 0 0}.preview-macos b{bottom:5px;left:22%;right:22%;height:17px;border:1px solid #ffffff80;border-radius:6px;background:#ffffff85}.preview-modern{background:radial-gradient(ellipse at 70% 25%,#9cdbff,transparent 55%),linear-gradient(145deg,#1462ac,#83bcef)}.preview-modern i{border:1px solid #fff;border-radius:5px;background:#f8fafc;box-shadow:0 4px 12px #123b6a44}.preview-modern i:before{height:13px;background:linear-gradient(90deg,#f4f7fb 75%,#d9e3ee 75%);border-radius:4px 4px 0 0}.preview-modern b{height:18px;border:0;background:#eff7ffcc}.theme-settings #theme-feedback{min-height:1.7em;color:var(--blue);font-size:13px}

/* Only the two opt-in themes change the established retro styling. */
html:is([data-theme=macos],[data-theme=modern]){--ui-font:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;--mono:var(--ui-font);--pixel:var(--ui-font);--paper:#fbfcfe;--silver:#edf0f5;--ink:#1b2638;--raised:none;--inset:none;--theme-line:#d6dce6;--theme-muted:#516078;--theme-radius:10px;--theme-shadow:0 18px 55px #07193338,0 2px 7px #07193318}
html[data-theme=macos]{--blue:#1465c9;--blue-hover:#0754b0;--navy:#173461;--blue-surface:#244b7c;--blue-edge:#7699cf;--blue-shadow:#0e2850;--blue-text:#d3e2fa;--theme-radius:12px}
html[data-theme=modern]{--blue:#005fb8;--blue-hover:#004c94;--navy:#123b68;--blue-surface:#174e80;--blue-edge:#719dcb;--blue-shadow:#092c50;--blue-text:#d4e9fc;--theme-radius:8px}
html:is([data-theme=macos],[data-theme=modern]) .windows-os{font-family:var(--ui-font);color:var(--ink);background:#224c83}
html[data-theme=macos] .os-desktop{bottom:88px;background:radial-gradient(ellipse at 82% 95%,#f8b5a6 0,transparent 48%),radial-gradient(ellipse at 5% 85%,#9880b9 0,transparent 52%),linear-gradient(140deg,#112b64 4%,#414581 46%,#ab70a0 100%)}
html[data-theme=modern] .os-desktop{bottom:62px;background:radial-gradient(ellipse at 75% 22%,#b3e6ff 0,transparent 40%),radial-gradient(ellipse at 80% 110%,#508bde 0,transparent 48%),linear-gradient(135deg,#0d4a8d,#3189cf 50%,#a3d6f5)}
html:is([data-theme=macos],[data-theme=modern]) .desktop-icon{font-family:var(--ui-font);border-radius:10px;text-shadow:0 1px 3px #10284e;gap:9px}
html:is([data-theme=macos],[data-theme=modern]) .desktop-icon:hover{background:#ffffff24}
html:is([data-theme=macos],[data-theme=modern]) .desktop-icon:focus-visible{background:#ffffff30;outline:2px solid white;outline-offset:2px}
html:is([data-theme=macos],[data-theme=modern]) .icon-art{border:1px solid #ffffffba;border-radius:10px;box-shadow:0 4px 9px #142a5233;background:linear-gradient(#fff,#e4ebf8);font:700 27px/1 var(--ui-font);height:46px;width:46px;color:#2356a0}
html:is([data-theme=macos],[data-theme=modern]) .icon-leistungen{background:linear-gradient(#ffefaa,#f3c44e);color:#695211}
html:is([data-theme=macos],[data-theme=modern]) .wallpaper-brand{color:white}
html:is([data-theme=macos],[data-theme=modern]) .wallpaper-brand img{background:#ffffffde;border:1px solid #ffffff80;border-radius:18px;box-shadow:0 12px 32px #18295025}
html:is([data-theme=macos],[data-theme=modern]) .wallpaper-brand span{font:500 13px/1.5 var(--ui-font);letter-spacing:.1em;text-shadow:0 1px 3px #10284e}
html:is([data-theme=macos],[data-theme=modern]) .desktop-hint{color:#fff;text-shadow:0 1px 3px #10284e}
html:is([data-theme=macos],[data-theme=modern]) .os-window{padding:0;border:1px solid #ffffff94;border-radius:var(--theme-radius);background:var(--paper);box-shadow:var(--theme-shadow)}
html:is([data-theme=macos],[data-theme=modern]) .os-window.is-active{box-shadow:0 24px 70px #0a173f48,0 2px 8px #10254b26}
html:is([data-theme=macos],[data-theme=modern]) .os-window.is-maximized{border-radius:0}
html:is([data-theme=macos],[data-theme=modern]) .os-titlebar,html:is([data-theme=macos],[data-theme=modern]) .os-window.is-active .os-titlebar{background:#f1f3f7;color:#48556b;min-height:43px;padding:5px 9px;border-bottom:1px solid var(--theme-line)}
html:is([data-theme=macos],[data-theme=modern]) .os-window.is-active .os-titlebar{color:#182b46;background:#f8faff}
html:is([data-theme=macos],[data-theme=modern]) .drag-handle{font:600 13px/1.5 var(--ui-font);padding:3px 7px}
html:is([data-theme=macos],[data-theme=modern]) .drag-handle:focus-visible{outline:2px solid var(--blue);outline-offset:-2px;border-radius:4px}
html:is([data-theme=macos],[data-theme=modern]) .title-icon{font:600 17px/1 var(--ui-font);color:var(--blue)}
html:is([data-theme=macos],[data-theme=modern]) .window-controls button{border:0;box-shadow:none;background:transparent;color:#42506a;font:400 19px/1 var(--ui-font);border-radius:4px;min-width:34px;height:30px}
html:is([data-theme=macos],[data-theme=modern]) .window-controls button:hover{background:#dce4ed}
html[data-theme=modern] .window-controls button[data-action=close]:hover{background:#c42b36;color:white}
html[data-theme=macos] .window-controls{order:-1;gap:7px;flex-direction:row-reverse;padding:0 6px}
html[data-theme=macos] .window-controls button{min-width:14px;width:14px;height:14px;border-radius:50%;font-size:0;padding:0;border:1px solid #00000015;background:#28c840;color:#25452c}
html[data-theme=macos] .window-controls button[data-action=minimize]{background:#ffbd2e;color:#655012;padding:0;font-size:0}
html[data-theme=macos] .window-controls button[data-action=close]{background:#ff6058;color:#692722}
html[data-theme=macos] .window-controls:hover button{font-size:12px}
html[data-theme=macos] .window-controls button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
html:is([data-theme=macos],[data-theme=modern]) .window-content{scrollbar-color:#aeb9c9 #f2f4f8}
html:is([data-theme=macos],[data-theme=modern]) .window-content::-webkit-scrollbar{width:11px;height:11px}
html:is([data-theme=macos],[data-theme=modern]) .window-content::-webkit-scrollbar-track{background:#f2f4f8}
html:is([data-theme=macos],[data-theme=modern]) .window-content::-webkit-scrollbar-thumb{background:#aeb9c9;border:3px solid #f2f4f8;border-radius:10px}
html:is([data-theme=macos],[data-theme=modern]) .os-window-bottom{background:#f1f4f8;color:#5a6575;border-top:1px solid var(--theme-line);box-shadow:none;margin:0;height:25px;font-family:var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .resize-handle{color:#8793a5;text-shadow:none}

/* Content uses the same application typography throughout each theme. */
html:is([data-theme=macos],[data-theme=modern]) .window-content h1{font-size:clamp(2.2rem,4.1vw,3.6rem);font-weight:700;line-height:1.08;letter-spacing:-.045em}
html:is([data-theme=macos],[data-theme=modern]) .window-content h2{font-size:clamp(1.85rem,3.5vw,2.75rem);font-weight:700;line-height:1.15;letter-spacing:-.035em}
html:is([data-theme=macos],[data-theme=modern]) .window-content h3{font-size:1.4rem;font-weight:650;line-height:1.25;letter-spacing:-.015em}
html:is([data-theme=macos],[data-theme=modern]) .window-content .hero-grid{padding:32px;gap:30px}
html:is([data-theme=macos],[data-theme=modern]) .window-content .section-content{padding:30px}
html:is([data-theme=macos],[data-theme=modern]) .eyebrow:before{content:none}
html:is([data-theme=macos],[data-theme=modern]) :is(.button,.example-tabs button){border:1px solid #c5cfde;border-radius:6px;box-shadow:none;background:#fff;color:#22334e;font-family:var(--ui-font);font-weight:600;transition:background .15s ease}
html:is([data-theme=macos],[data-theme=modern]) :is(.button,.example-tabs button):hover{background:#eaf0f9}
html:is([data-theme=macos],[data-theme=modern]) .button:active{transform:none;box-shadow:none}
html:is([data-theme=macos],[data-theme=modern]) .button.primary{background:var(--blue);color:white;border-color:transparent;box-shadow:0 2px 4px #122b5220}
html:is([data-theme=macos],[data-theme=modern]) .button.primary:hover{background:var(--blue-hover)}
html:is([data-theme=macos],[data-theme=modern]) .terminal-window{border:1px solid #c7d2e1;border-radius:9px;overflow:hidden;padding:0;box-shadow:0 5px 20px #11274613;background:#edf2f8}
html:is([data-theme=macos],[data-theme=modern]) .terminal-title{background:#e4ebf5;color:#2c4466;padding:11px 14px}
html:is([data-theme=macos],[data-theme=modern]) .example-tabs{padding:8px;gap:5px}
html:is([data-theme=macos],[data-theme=modern]) .example-tabs button{border:0;min-height:38px;font-size:12px}
html:is([data-theme=macos],[data-theme=modern]) .example-tabs button[aria-pressed=true]{background:var(--blue);color:#fff;box-shadow:none}
html:is([data-theme=macos],[data-theme=modern]) .terminal-body{background-image:none}
html:is([data-theme=macos],[data-theme=modern]) .window-content .flow-step strong{font-size:1.18rem;line-height:1.4;font-weight:600}
html:is([data-theme=macos],[data-theme=modern]) .flow-result{border-radius:6px;box-shadow:none}
html:is([data-theme=macos],[data-theme=modern]) .service{border:1px solid var(--theme-line);border-radius:9px;background:#f1f5fa;box-shadow:none}
html:is([data-theme=macos],[data-theme=modern]) .info-strip{border:1px solid #cbd9ec;border-radius:8px;background:#ecf3fd;box-shadow:none}
html:is([data-theme=macos],[data-theme=modern]) .step-number{font-size:2.3rem;font-weight:600}
html:is([data-theme=macos],[data-theme=modern]) .about-stamp{border:1px solid #c9d7e9;border-radius:8px;background:#f0f5fc}
html:is([data-theme=macos],[data-theme=modern]) .conversation{border:1px solid var(--theme-line);border-radius:9px;overflow:hidden;box-shadow:none;padding:0;background:#f0f4f9}
html:is([data-theme=macos],[data-theme=modern]) .contact-placeholder{box-shadow:none;border:1px solid #d0dbea;border-radius:6px}
html:is([data-theme=macos],[data-theme=modern]) .window-status{border-color:var(--theme-line);background:#f0f4f8;color:#495b73}

/* Desktop controls: inset floating dock on Mac, centered glass taskbar on Windows. */
html:is([data-theme=macos],[data-theme=modern]) footer.taskbar{border:1px solid #ffffff80;background:#f0f5fce8;box-shadow:0 -2px 14px #0d29551a;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);gap:7px;padding:7px 12px;height:62px}
html[data-theme=macos] footer.taskbar{left:50%;right:auto;bottom:12px;transform:translateX(-50%);width:min(960px,calc(100% - 32px));height:64px;border-radius:18px;background:#e9eef5c9;box-shadow:0 6px 25px #14274633;padding:8px 12px}
html[data-theme=modern] footer.taskbar{justify-content:center}
html:is([data-theme=macos],[data-theme=modern]) :is(.start-button,.show-desktop,.task-button){font-family:var(--ui-font);border:1px solid transparent;border-radius:7px;box-shadow:none;background:transparent;color:#243b5c;min-height:40px}
html:is([data-theme=macos],[data-theme=modern]) :is(.start-button,.show-desktop,.task-button):hover{background:#ffffffa6}
html:is([data-theme=macos],[data-theme=modern]) .start-button{font-size:14px}
html:is([data-theme=macos],[data-theme=modern]) .start-button[aria-expanded=true],html:is([data-theme=macos],[data-theme=modern]) .task-button[aria-pressed=true]{background:#ffffffd9;box-shadow:inset 0 -3px var(--blue);border-color:#c6d4e880}
html:is([data-theme=macos],[data-theme=modern]) .task-buttons{gap:5px;max-width:720px;scrollbar-width:thin}
html[data-theme=modern] .task-buttons{flex:0 1 720px}
html:is([data-theme=macos],[data-theme=modern]) .task-button{font-size:12px;min-width:95px;justify-content:center}
html:is([data-theme=macos],[data-theme=modern]) .taskbar-divider{background:#b8c5d6;box-shadow:none;width:1px;margin:5px 3px}
html:is([data-theme=macos],[data-theme=modern]) .desktop-clock{border:0;font:12px/1 var(--ui-font);color:#304664;padding:8px 10px}
html:is([data-theme=macos],[data-theme=modern]) .start-menu{bottom:72px;left:14px;width:340px;border:1px solid #ffffffd9;border-radius:12px;padding:10px;background:#f5f8fcf5;box-shadow:0 14px 50px #10254942;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);overflow:hidden}
html[data-theme=macos] .start-menu{bottom:86px;left:max(16px,calc((100vw - 960px)/2))}
html[data-theme=modern] .start-menu{left:50%;transform:translateX(-50%);width:380px}
html:is([data-theme=macos],[data-theme=modern]) .start-menu-rail{display:none}
html:is([data-theme=macos],[data-theme=modern]) .start-menu-items>p{font:600 12px/1.5 var(--ui-font);color:#50617b;padding:12px}
html:is([data-theme=macos],[data-theme=modern]) .start-menu-items :is(button,a){font:14px/1.4 var(--ui-font);border-radius:7px;color:#233954;min-height:45px}
html:is([data-theme=macos],[data-theme=modern]) .start-menu-items :is(button,a):hover,html:is([data-theme=macos],[data-theme=modern]) .start-menu-items :is(button,a):focus-visible{background:#dfeafa;color:#123a6b}
html:is([data-theme=macos],[data-theme=modern]) .menu-icon{font:600 21px/1 var(--ui-font);color:var(--blue)}
html:is([data-theme=macos],[data-theme=modern]) .start-menu-divider{height:1px;background:#d3dce8;box-shadow:none;margin:8px 10px}

/* The wizard retains its flex layout so its action footer never scrolls away. */
html:is([data-theme=macos],[data-theme=modern]) .project-wizard{background:#fbfcfe;font-family:var(--ui-font);color:#25364d}
html:is([data-theme=macos],[data-theme=modern]) .wizard-header{border-color:var(--theme-line);background:#f8fafd}
html:is([data-theme=macos],[data-theme=modern]) .wizard-badge{font:600 25px/1 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar{background:#eaf0f8;color:#334b6d;border-right:1px solid var(--theme-line)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar>p:first-child{font:600 11px/1.6 var(--ui-font);letter-spacing:.08em}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar button{font-family:var(--ui-font);border-radius:7px}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar button>span{border:1px solid #9aafcb;border-radius:50%;font:600 12px/1 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar button[aria-current=step]{background:white;border-color:#d6e2f2;color:var(--blue);box-shadow:0 2px 5px #173c6210}
html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar button:focus-visible{outline:2px solid var(--blue)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-side-note{font:12px/1.65 var(--ui-font);color:#536985}
html:is([data-theme=macos],[data-theme=modern]) .window-content .wizard-main h2{font:700 1.8rem/1.2 var(--ui-font);letter-spacing:-.025em}
html:is([data-theme=macos],[data-theme=modern]) .wizard-choice{border:1px solid #cbd5e3;border-radius:7px;background:#fff}
html:is([data-theme=macos],[data-theme=modern]) .wizard-choice:has(input:checked){background:#edf4ff;border-color:var(--blue);outline:1px solid var(--blue);outline-offset:-1px}
html:is([data-theme=macos],[data-theme=modern]) .wizard-field :is(input,textarea,select){border:1px solid #a8b8ce;border-radius:6px;box-shadow:0 1px 2px #2038580a;font-family:var(--ui-font);min-height:44px}
html:is([data-theme=macos],[data-theme=modern]) :is(.wizard-tip,.wizard-error,.wizard-summary){border-radius:7px}
html:is([data-theme=macos],[data-theme=modern]) .wizard-summary{border-color:var(--theme-line)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-summary h3{font:600 1.15rem/1.4 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) footer.wizard-footer{background:#f0f4f9;border:0;border-top:1px solid var(--theme-line);box-shadow:none;color:#50617b;font-family:var(--ui-font);border-radius:0}
html:is([data-theme=macos],[data-theme=modern]) .project-wizard .button{font:600 14px/1.4 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .wizard-success-icon{border-radius:50%;font:600 30px/1 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .theme-option{border:1px solid #cdd7e5;border-radius:10px;background:#fff;padding:14px}
html:is([data-theme=macos],[data-theme=modern]) .theme-option:has(input:checked){background:#edf4ff;outline:2px solid var(--blue);outline-offset:1px}
html:is([data-theme=macos],[data-theme=modern]) .theme-preview{border-radius:6px;border-color:#c5d2e3}
html:is([data-theme=macos],[data-theme=modern]) .window-content .theme-settings h2{font-size:2rem}
html:is([data-theme=macos],[data-theme=modern]).is-booting .boot-screen{font-family:var(--ui-font);background:radial-gradient(ellipse at 50% 35%,#fff,#e4edf9 65%,#c9d9ee)}
html:is([data-theme=macos],[data-theme=modern]) .boot-screen:before{display:none}
html:is([data-theme=macos],[data-theme=modern]) .boot-edition{font:600 12px/1.5 var(--ui-font);letter-spacing:.14em}
html:is([data-theme=macos],[data-theme=modern]) .boot-tagline{font:500 clamp(18px,2.5vw,25px)/1.4 var(--ui-font)}
html:is([data-theme=macos],[data-theme=modern]) .boot-track{height:7px;padding:0;border:0;border-radius:9px;background:#bbcce3;box-shadow:none;overflow:hidden}
html:is([data-theme=macos],[data-theme=modern]) .boot-fill{background:var(--blue);border-radius:9px;transition:width .35s ease}
html:is([data-theme=macos],[data-theme=modern]) .boot-footer{background:#f6f9fe;color:#415875;border-top:1px solid #c7d5e7}
html:is([data-theme=macos],[data-theme=modern]) .boot-skip{border-color:#b6c7dd;border-radius:6px;background:white;color:#294465}
html:is([data-theme=macos],[data-theme=modern]) .boot-skip:hover{background:#e6effb}
html:is([data-theme=macos],[data-theme=modern]) .legal-page{font-family:var(--ui-font);background:#dce8f5}
html:is([data-theme=macos],[data-theme=modern]) .legal-document{border:1px solid #bfccdf;border-radius:10px;overflow:hidden;padding:0;background:var(--paper);box-shadow:var(--theme-shadow)}
html:is([data-theme=macos],[data-theme=modern]) .legal-document .titlebar{font:600 14px/1.5 var(--ui-font);background:#edf2f8;color:#243956;padding:10px 14px}
html:is([data-theme=macos],[data-theme=modern]) .legal-document .titlebar a{box-shadow:none;border-radius:4px;background:#dce5f1}
html:is([data-theme=macos],[data-theme=modern]) .legal-document h1{font:700 2.6rem/1.15 var(--ui-font);letter-spacing:-.035em}
html:is([data-theme=macos],[data-theme=modern]) .legal-disclosure h3{font:600 1.4rem/1.3 var(--ui-font)}
@container(max-width:650px){.theme-options{grid-template-columns:1fr}.theme-option{display:grid;grid-template-columns:100px minmax(0,1fr);gap:6px 14px;padding-right:36px}.theme-preview{height:80px;grid-row:1/3}.theme-option input{right:12px;top:14px}.theme-option strong{align-self:end}.theme-settings{padding:22px 18px}.theme-options{gap:12px;margin-top:20px}html:is([data-theme=macos],[data-theme=modern]) .theme-option{padding-right:37px}html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar{border-right:0;border-bottom:1px solid var(--theme-line)}html:is([data-theme=macos],[data-theme=modern]) .window-content .hero-grid,html:is([data-theme=macos],[data-theme=modern]) .window-content .section-content{padding:24px 20px}}
@media(max-width:600px){html[data-theme=macos] .os-desktop{bottom:76px}html[data-theme=macos] footer.taskbar{height:62px;bottom:7px;width:calc(100% - 14px);padding:7px;gap:4px;border-radius:13px}html[data-theme=macos] .start-menu{bottom:78px;left:7px}html[data-theme=modern] .os-desktop{bottom:62px}html:is([data-theme=macos],[data-theme=modern]) footer.taskbar{gap:4px;padding-inline:6px}html:is([data-theme=macos],[data-theme=modern]) .os-titlebar{min-height:46px}html[data-theme=macos] .window-controls{gap:5px;padding-inline:3px}html[data-theme=macos] .window-controls button{width:23px;min-width:23px;height:23px}html:is([data-theme=macos],[data-theme=modern]) .start-button{font-size:12px;padding:4px 6px;gap:5px}html:is([data-theme=macos],[data-theme=modern]) .desktop-clock{min-width:43px;padding:6px 3px;font-size:11px}html:is([data-theme=macos],[data-theme=modern]) .task-button{min-width:80px;font-size:11px;padding:5px}html:is([data-theme=macos],[data-theme=modern]) .show-desktop{width:32px;padding:3px}html:is([data-theme=macos],[data-theme=modern]) .window-content h1{font-size:2.35rem}html:is([data-theme=macos],[data-theme=modern]) .window-content h2{font-size:1.95rem}html:is([data-theme=macos],[data-theme=modern]) .window-content .wizard-main h2{font-size:1.6rem}html:is([data-theme=macos],[data-theme=modern]) .window-content .theme-settings h2{font-size:1.7rem}html:is([data-theme=macos],[data-theme=modern]) .wallpaper-brand{bottom:70px}html:is([data-theme=macos],[data-theme=modern]) .wizard-sidebar button{font-size:10px}}
@media(max-width:900px),(any-pointer:coarse){html:is([data-theme=macos],[data-theme=modern]) .wizard-field :is(input,textarea,select){font-size:16px}}
@media(prefers-reduced-motion:reduce){html:is([data-theme=macos],[data-theme=modern]) .boot-fill{transition:none}}
@media print{html:is([data-theme=macos],[data-theme=modern]) .legal-page{background:white}html:is([data-theme=macos],[data-theme=modern]) .legal-document{box-shadow:none;border:0}}
/* Keep all menu entries reachable on compact and landscape screens. */
html:is([data-theme=macos],[data-theme=modern]) .start-menu{max-height:calc(100dvh - 96px);overflow-y:auto;overscroll-behavior:contain}
html[data-theme=macos] .window-controls{flex-direction:row}
html[data-theme=macos] .window-controls button[data-action=close]{order:0}
html[data-theme=macos] .window-controls button[data-action=minimize]{order:1}
html[data-theme=macos] .window-controls button[data-action=maximize]{order:2}

/* Continue the Mac wallpaper behind its floating dock. */
html[data-theme=macos] .windows-os{background:radial-gradient(ellipse at 82% 95%,#f8b5a6 0,transparent 48%),radial-gradient(ellipse at 5% 85%,#9880b9 0,transparent 52%),linear-gradient(140deg,#112b64 4%,#414581 46%,#ab70a0 100%)}
html[data-theme=macos] .os-desktop{background:transparent}
