:root { color-scheme: dark; --bg:#0b1220; --panel:#121c2e; --panel2:#18253b; --line:#2a3a56; --text:#e8eef7; --muted:#91a4bf; --accent:#8c9eff; --danger:#fb7185; --good:#34d399; }
* { box-sizing: border-box; } body { margin:0; background:var(--bg); color:var(--text); font:14px/1.5 system-ui,sans-serif; }
body::before { content:""; position:fixed; inset:0; z-index:-2; background:var(--wallpaper); background-size:cover; background-position:center; }
:root { --wallpaper: radial-gradient(circle at 20% 10%, #20365c, transparent 42%), linear-gradient(135deg,#08111f,#101827 55%,#182a42); }
:root[data-wallpaper="aurora"] { --wallpaper: radial-gradient(circle at 18% 20%,#38d9b5aa,transparent 30%), radial-gradient(circle at 80% 12%,#7d69ff99,transparent 32%), linear-gradient(145deg,#07131d,#182d46 52%,#271b46); }
:root[data-wallpaper="ocean"] { --wallpaper: radial-gradient(ellipse at 70% 18%,#2c9dcf99,transparent 35%), linear-gradient(155deg,#03131e,#063c58 58%,#061b36); }
:root[data-wallpaper="dusk"] { --wallpaper: radial-gradient(circle at 75% 20%,#f09a9a77,transparent 28%), linear-gradient(145deg,#171329,#342451 55%,#11182d); }
:root[data-wallpaper="sunrise"] { --wallpaper: radial-gradient(circle at 50% -5%,#ffd27b99,transparent 31%), linear-gradient(145deg,#2c1721,#6d3142 50%,#20234c); }
:root[data-wallpaper="graphite"] { --wallpaper: repeating-linear-gradient(135deg,#121820 0,#121820 12px,#18212c 12px,#18212c 24px); }
button,input,textarea,select { font:inherit; } button { cursor:pointer; color:var(--text); background:#243451; border:1px solid var(--line); border-radius:7px; padding:8px 12px; } button:hover { border-color:var(--accent); } input,textarea,select { width:100%; color:var(--text); background:#0d1728; border:1px solid var(--line); border-radius:7px; padding:9px; }
.shell { min-height:100vh; display:grid; grid-template-columns:230px 1fr; } .sidebar { padding:20px 14px; background:#0d1728; border-right:1px solid var(--line); } .brand { font-weight:800; font-size:19px; margin:0 8px 24px; } .nav { display:grid; gap:6px; } .nav button { text-align:left; background:transparent; border-color:transparent; } .nav button.active { background:#263652; border-color:var(--line); color:#fff; }
.workspace { min-width:0; } .topbar { height:64px; display:flex; align-items:center; justify-content:space-between; padding:0 24px; border-bottom:1px solid var(--line); } .content { padding:24px; max-width:1250px; } .window { background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:20px; margin-bottom:18px; } .window h2 { margin-top:0; } .grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; } .stat { background:var(--panel2); border:1px solid var(--line); border-radius:10px; padding:16px; } .stat strong { display:block; font-size:25px; } .muted { color:var(--muted); } .danger { color:var(--danger); } .good { color:var(--good); } .row { display:flex; gap:10px; align-items:center; } .row > * { flex:1; } .stack { display:grid; gap:10px; } .code { min-height:240px; font-family:ui-monospace,SFMono-Regular,monospace; } .recording { border:1px solid var(--danger); color:var(--danger); padding:8px; border-radius:7px; }
@media(max-width:800px) { .shell { grid-template-columns:1fr; } .sidebar { border-right:0; border-bottom:1px solid var(--line); } .nav { grid-template-columns:repeat(3,1fr); } .nav button { text-align:center; font-size:12px; } .content { padding:14px; } }
.preview { width:100%; min-height:220px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.playground { min-width:0; }
.playground-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.editor-pane { display:grid; gap:6px; min-width:0; color:var(--muted); font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.editor-input { width:100%; min-height:260px; resize:vertical; color:#dcecff !important; background:#091322 !important; border:1px solid #46647f !important; font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; text-transform:none; letter-spacing:normal; }
.editor-input:focus { outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent) !important; }
.python-tools { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:end; gap:10px; }
.python-tools label { display:grid; gap:6px; color:var(--muted); font-size:12px; font-weight:700; }
.python-input { min-height:42px; }
@media(max-width:800px) { .playground-grid { grid-template-columns:1fr; } .editor-input { min-height:180px; } .python-tools { grid-template-columns:1fr; } }
.os-dock { position:fixed; left:0; right:0; bottom:0; display:flex; justify-content:center; gap:4px; padding:5px 12px; min-height:54px; background:rgba(9,16,29,.96); border-top:1px solid var(--line); box-shadow:0 -8px 30px #0008; z-index:40; }
.desktop-layer { position:fixed; inset:0; pointer-events:none; z-index:100; }
.desktop-icons { position:absolute; top:24px; left:18px; display:grid; gap:16px; width:92px; pointer-events:auto; }
.desktop-icon { display:grid; gap:6px; justify-items:center; color:#fff; background:transparent; border:1px solid transparent; padding:7px 4px; text-shadow:0 1px 3px #000; }
.desktop-icon:hover, .desktop-icon:focus-visible { background:#2563eb66; border-color:#93c5fd99; }
.desktop-icon-glyph { display:grid; place-items:center; width:42px; height:42px; border-radius:9px; background:linear-gradient(145deg,#2563eb,#0f172a); border:1px solid #93c5fd99; font-weight:800; box-shadow:0 5px 15px #0008; }
.start-menu { position:absolute; left:12px; bottom:64px; width:min(390px,calc(100vw - 24px)); max-height:min(620px,calc(100vh - 100px)); overflow:auto; padding:16px; pointer-events:auto; color:#e5edf9; background:#111c2eeF; border:1px solid #7891b866; border-radius:12px 12px 4px 4px; box-shadow:0 20px 60px #000b; backdrop-filter:blur(24px); }
.start-header, .start-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.start-header { font-size:18px; margin-bottom:14px; }
.start-search { width:100%; margin-bottom:14px; }
.start-apps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.start-app { display:flex; align-items:center; gap:9px; text-align:left; background:transparent; border-color:transparent; }
.start-app:hover, .start-app:focus-visible { background:#2563eb66; }
.app-tile { display:grid; place-items:center; flex:none; width:32px; height:32px; border-radius:6px; color:#fff; background:#2563eb; font-size:11px; font-weight:800; }
.start-footer { margin-top:16px; padding-top:12px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
body.desktop-mode { overflow:hidden; background:#12315a; }
body.desktop-mode #app { height:100vh; }
body.desktop-mode .shell { display:block; min-height:100vh; padding:18px 18px 78px 126px; background:transparent; }
body.desktop-mode .sidebar { display:block; position:fixed; left:18px; top:82px; width:92px; padding:8px 4px; background:#10203acc; border:1px solid #9ab4d455; border-radius:10px; z-index:30; }
body.desktop-mode .sidebar .brand { display:none; }
body.desktop-mode .sidebar .nav button { padding:9px 4px; text-align:center; font-size:11px; }
body.desktop-mode .workspace { height:calc(100vh - 96px); overflow:hidden; border:1px solid #9ab4d455; border-radius:10px; background:#101827dd; box-shadow:0 18px 50px #0008; }
body.desktop-mode .topbar { height:48px; padding:0 14px; background:#17243add; }
body.desktop-mode .content { height:calc(100% - 48px); overflow:auto; padding:18px; }
body.desktop-mode .window-control { flex:0 0 auto; min-width:30px; padding:5px 8px; }
body.desktop-mode .workspace.window-minimized { display:none; }
body.desktop-mode.window-maximized .shell { padding:0 0 60px; }
body.desktop-mode.window-maximized .workspace { height:calc(100vh - 60px); border-radius:0; }
body.desktop-mode.window-maximized .sidebar { top:64px; }
body.desktop-mode .content > div { max-width:1100px; margin:0 auto; }
body.desktop-mode #wallpaper-module, body.desktop-mode #python-module, body.desktop-mode #media-module, body.desktop-mode #surface-module, body.desktop-mode #workspace-module, body.desktop-mode #files-module, body.desktop-mode #video-module { position:fixed; left:140px; right:36px; top:82px; bottom:72px; overflow:auto; padding:0 0 14px; z-index:20; }
body.desktop-mode #wallpaper-module:not([hidden]), body.desktop-mode #python-module:not([hidden]), body.desktop-mode #media-module:not([hidden]), body.desktop-mode #surface-module:not([hidden]), body.desktop-mode #workspace-module:not([hidden]), body.desktop-mode #files-module:not([hidden]), body.desktop-mode #video-module:not([hidden]) { display:block; }
body.desktop-mode #wallpaper-module > *, body.desktop-mode #python-module > *, body.desktop-mode #media-module > *, body.desktop-mode #surface-module > *, body.desktop-mode #workspace-module > *, body.desktop-mode #files-module > *, body.desktop-mode #video-module > * { box-shadow:0 18px 50px #0009; }
@media(max-width:800px) { body.desktop-mode .shell { padding:8px 8px 74px; } body.desktop-mode .workspace { height:calc(100vh - 82px); } .desktop-icons { display:none; } body.desktop-mode #wallpaper-module, body.desktop-mode #python-module, body.desktop-mode #media-module, body.desktop-mode #surface-module, body.desktop-mode #workspace-module, body.desktop-mode #files-module, body.desktop-mode #video-module { left:8px; right:8px; top:68px; bottom:66px; } }
.dock-item { min-width:72px; display:grid; gap:1px; justify-items:center; background:transparent; border:0; border-radius:3px; font-size:13px; }
.dock-item:hover,.dock-item:focus-visible { background:#263b60; }
.start-button { border-right:1px solid var(--line); border-radius:0; margin-right:4px; }
.start-mark { font-size:22px; line-height:20px; }
.dock-item span { font-size:10px; color:var(--muted); }
.status-bar { display:flex; justify-content:space-between; gap:12px; padding:8px 24px; border-top:1px solid var(--line); color:var(--muted); font-size:12px; }
.wallpaper-panel { position:fixed; right:18px; top:78px; width:min(390px,calc(100vw - 36px)); z-index:30; box-shadow:0 18px 55px #0009; }
.wallpaper-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.wallpaper-card { min-height:82px; border:2px solid transparent; display:flex; align-items:end; justify-content:flex-start; padding:10px; text-align:left; background:var(--wallpaper); background-size:cover; }
.wallpaper-card[data-wallpaper="aurora"] { background:radial-gradient(circle at 18% 20%,#38d9b5,transparent 35%),linear-gradient(145deg,#07131d,#271b46); }
.wallpaper-card[data-wallpaper="ocean"] { background:radial-gradient(ellipse at 70% 18%,#2c9dcf,transparent 35%),linear-gradient(155deg,#03131e,#063c58); }
.wallpaper-card[data-wallpaper="dusk"] { background:radial-gradient(circle at 75% 20%,#f09a9a,transparent 28%),linear-gradient(145deg,#171329,#342451); }
.wallpaper-card[data-wallpaper="sunrise"] { background:radial-gradient(circle at 50% -5%,#ffd27b,transparent 31%),linear-gradient(145deg,#2c1721,#6d3142); }
.wallpaper-card[data-wallpaper="graphite"] { background:repeating-linear-gradient(135deg,#121820 0,#121820 12px,#18212c 12px,#18212c 24px); }
.wallpaper-card.selected { border-color:var(--accent); }
.python-studio { max-width:1100px; margin:18px auto; }
.terminal { min-height:120px; margin:0; padding:14px; border:1px solid var(--line); border-radius:8px; background:#050a12; color:#b7f7d4; white-space:pre-wrap; overflow:auto; }
.media-library { max-width:1100px; margin:18px auto; }
.media-list { display:grid; gap:8px; }
.media-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; background:var(--panel2); border:1px solid var(--line); border-radius:8px; }
.media-item div { display:grid; gap:3px; min-width:0; }
.media-item strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.empty-state { padding:24px; border:1px dashed var(--line); border-radius:8px; color:var(--muted); text-align:center; }
.attack-surface { max-width:1100px; margin:18px auto; }
.workspace-tools { max-width:1100px; margin:18px auto; }
.study-files { max-width:1100px; margin:18px auto; }
.file-list { display:grid; gap:8px; }
.file-item { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; background:var(--panel2); border:1px solid var(--line); border-radius:8px; }
.file-item > div:first-child { display:grid; gap:3px; min-width:0; }
.file-actions { flex:0 0 auto; }
.file-editor { min-height:180px; }
.surface-summary { display:flex; flex-wrap:wrap; gap:10px; }
/* Flaxon identity: a teal/orange spatial workbench, not a Windows replica. */
:root { --bg:#071b22; --panel:#0d2930e8; --panel2:#12363ee8; --line:#2b6870; --text:#e8fffb; --muted:#8bb8b8; --accent:#55e0c0; --good:#7df0a8; --danger:#ff8c72; --wallpaper:radial-gradient(circle at 72% 18%,#f49b6040,transparent 20%),radial-gradient(circle at 26% 68%,#55e0c033,transparent 28%),linear-gradient(135deg,#06151d,#0a2831 52%,#17233b); }
body.desktop-mode { background:#06151d; }
body.desktop-mode .shell { padding:26px 26px 30px 112px; }
body.desktop-mode .sidebar { left:18px; top:26px; bottom:26px; width:70px; padding:12px 6px; display:flex; align-items:center; }
body.desktop-mode .sidebar .nav { width:100%; }
body.desktop-mode .sidebar .nav button { min-height:52px; color:#9bc9c5; border-radius:14px; }
body.desktop-mode .sidebar .nav button.active { color:#071b22; background:var(--accent); border-color:transparent; }
body.desktop-mode .workspace { height:calc(100vh - 56px); border-radius:28px; background:#071b22aa; border-color:#55e0c044; box-shadow:0 24px 80px #0008; }
body.desktop-mode .topbar { height:62px; padding:0 22px; background:#0d2930aa; border-bottom-color:#55e0c033; }
body.desktop-mode .content { padding:26px; }
body.desktop-mode .window { border-radius:22px; border-color:#55e0c044; box-shadow:0 14px 38px #0003; }
.desktop-icons { top:30px; left:122px; display:flex; gap:10px; width:auto; }
.desktop-icon { width:88px; color:#d8fff7; text-shadow:0 2px 8px #000; border-radius:16px; }
.desktop-icon-glyph { border-radius:15px; background:linear-gradient(145deg,#55e0c0,#f49b60); color:#062026; border:0; }
.os-dock { left:50%; right:auto; bottom:18px; transform:translateX(-50%); min-height:58px; padding:7px 10px; border:1px solid #55e0c044; border-radius:22px; background:#071b22dd; box-shadow:0 12px 40px #0008; backdrop-filter:blur(18px); z-index:120; }
.dock-item { min-width:76px; border-radius:15px; color:#9bc9c5; }
.dock-item:hover,.dock-item:focus-visible { background:#55e0c022; color:#e8fffb; }
.start-button { border-right:0; margin-right:0; background:#55e0c01a; }
.start-mark { color:#55e0c0; }
.start-menu { left:50%; bottom:88px; transform:translateX(-50%); border-radius:24px; background:#0b252deF; border-color:#55e0c066; }
@media(max-width:800px) { body.desktop-mode .shell { padding:8px 8px 82px; } body.desktop-mode .sidebar { display:none; } .desktop-icons { left:8px; top:18px; } .os-dock { bottom:10px; max-width:calc(100vw - 20px); overflow:auto; } }
@media(max-width:1100px) { body.desktop-mode .shell { padding-left:18px; } body.desktop-mode .sidebar { display:none; } .desktop-icons { display:none; } }
@media(max-width:600px) { body.desktop-mode .topbar { padding:0 12px; } body.desktop-mode .topbar strong { font-size:15px; } body.desktop-mode .top-actions { max-width:210px; gap:5px; } body.desktop-mode .top-actions .muted, body.desktop-mode .top-actions .window-control { display:none; } body.desktop-mode .top-actions button { padding:4px 7px; } body.desktop-mode .content { padding:14px; } body.desktop-mode .window { padding:16px; border-radius:18px; } .os-dock { gap:0; } .dock-item { min-width:68px; padding:7px 6px; } }
.surface-summary span { padding:8px 10px; border:1px solid var(--line); border-radius:7px; background:var(--panel2); }
code { color:#b7f7d4; overflow-wrap:anywhere; }
.video-editor { max-width:1100px; margin:18px auto; }
.study-toolbar { display:flex; align-items:center; gap:8px; padding:8px; border:1px solid var(--line); border-radius:8px; background:var(--panel2); }
.document-title { max-width:360px; font-weight:600; }
.document-editor { overflow:hidden; border:1px solid var(--line); border-radius:8px; background:#fff; }
.document-toolbar { display:flex; justify-content:space-between; padding:9px 12px; border-bottom:1px solid #d7e0e8; background:#f5f7f9; color:#46627b; }
.document-editor .file-editor { display:block; width:100%; min-height:360px; margin:0; border:0; border-radius:0; resize:vertical; color:#172b3d; background:#fff; font:16px/1.7 Georgia,serif; padding:34px 42px; outline:none; }
.study-notes textarea { min-height:260px; color:#172b3d; background:#fff; font:16px/1.7 Georgia,serif; }
.study-message { min-height:1.5em; }
.file-open { display:grid; flex:1; gap:3px; padding:0; text-align:left; border:0; background:transparent; color:inherit; }
.file-open:hover { background:transparent; border-color:transparent; }
@media(min-width:1101px) and (min-height:650px) { body.desktop-mode #media-module { left:140px; right:auto; width:270px; z-index:25; } body.desktop-mode #video-module { left:430px; right:36px; z-index:20; } }
@media(max-width:1100px) and (min-width:801px) { body.desktop-mode #media-module { left:18px; right:auto; width:260px; z-index:25; } body.desktop-mode #video-module { left:300px; right:18px; z-index:20; } }
@media(max-width:800px) { .study-toolbar { flex-wrap:wrap; } .document-title { max-width:none; flex:1 1 100%; } .document-editor .file-editor { min-height:280px; padding:20px; } body.desktop-mode #media-module { left:8px; right:8px; top:68px; bottom:auto; max-height:220px; z-index:25; } body.desktop-mode #video-module { left:8px; right:8px; top:300px; bottom:66px; z-index:20; } }
body.desktop-mode[data-view="study"] .content { padding-left:430px; }
body.desktop-mode[data-view="study"] #files-module { left:140px; right:auto; width:260px; }
body.desktop-mode[data-view="scanner"] .content { padding-left:140px; }
.editor-heading { flex-wrap:wrap; }
.editor-controls { flex-wrap:wrap; }
.editor-controls > label { min-width:130px; flex:1 1 160px; }
.editor-controls > button { flex:0 1 auto; }
@media(max-width:800px) { .editor-heading > div { min-width:0; } .editor-heading label.button { flex:1 1 100%; text-align:center; } .editor-controls { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .editor-controls > label, .editor-controls > button { min-width:0; width:100%; } body.desktop-mode[data-view="study"] .content { padding-left:10px; padding-top:240px; } body.desktop-mode[data-view="study"] #files-module { left:8px; right:8px; top:68px; bottom:auto; max-height:210px; } }
.editor-heading,.editor-controls,.time-row { display:flex; align-items:center; gap:12px; justify-content:space-between; }
.editor-heading h2 { margin-bottom:0; }
.editor-preview { width:100%; max-height:520px; background:#03060b; border-radius:10px; }
.timeline { background:#0d1728; border:1px solid var(--line); border-radius:8px; padding:12px; }
.timeline-track { height:42px; background:#16243a; border-radius:6px; padding:5px; }
.timeline-clip { height:32px; padding:7px 10px; background:linear-gradient(90deg,#5de0c2,#5887ff); color:#06101a; border-radius:4px; overflow:hidden; white-space:nowrap; display:inline-block; border:2px solid transparent; }
.timeline-clip.selected { border-color:#fff; box-shadow:0 0 0 2px var(--accent); }
.timeline-empty { height:32px; padding:7px 10px; color:var(--muted); }
.button { cursor:pointer; color:var(--text); background:#243451; border:1px solid var(--line); border-radius:7px; padding:8px 12px; }
body { padding-bottom:64px; }

/* Windows-style desktop presentation. The application remains Flaxon; this
   only changes the desktop shell and keeps each tool available through the
   Start menu, desktop shortcuts, and taskbar. */
:root { --wallpaper: linear-gradient(135deg,#087bc4 0%,#0b9bd8 42%,#0753a5 100%); --taskbar:#092f5bdd; --taskbar-line:#65b9e866; }
body.desktop-mode { overflow:hidden; background:#087bc4; color:#f5fbff; }
body.desktop-mode [hidden] { display:none !important; }
body.desktop-mode::before { background:var(--wallpaper); background-size:cover; background-position:center; }
body.desktop-mode .shell { padding:0 0 44px; min-height:100vh; }
body.desktop-mode .sidebar { display:none; }
body.desktop-mode .workspace { height:calc(100vh - 44px); border:0; border-radius:0; background:transparent; box-shadow:none; }
body.desktop-mode .topbar { height:38px; padding:0 12px; background:transparent; border:0; }
body.desktop-mode .topbar strong, body.desktop-mode .topbar .muted { display:none; }
body.desktop-mode .top-actions { display:flex; position:fixed; top:5px; right:8px; z-index:200; gap:4px; }
body.desktop-mode .top-actions .window-control { display:none; }
body.desktop-mode .top-actions button { display:block; color:#fff; background:#075b98cc; border-color:#b9e7ff66; box-shadow:0 2px 8px #003c6755; }
body.desktop-mode .top-actions { justify-content:flex-end; }
body.desktop-mode .top-actions button { background:#0a5fa0aa; border-color:#9dd8ff55; padding:4px 8px; }
body.desktop-mode .top-actions .exit-button { background:#a83b3bcc; border-color:#ffb2a888; color:#fff; }
body.desktop-mode .top-actions .exit-button:hover { background:#c44b4bcc; }
body.desktop-mode .external-app-window { width:min(1120px, calc(100vw - 160px)); height:calc(100vh - 90px); margin:0 auto; padding:12px; }
body.desktop-mode .external-app-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
body.desktop-mode .external-app-heading h2 { margin:0; }
body.desktop-mode .external-app-tools { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; }
body.desktop-mode .external-app-tools > * { flex:0 0 auto; }
body.desktop-mode .external-app-heading .button { text-decoration:none; }
body.desktop-mode .external-app-frame { width:100%; flex:1 1 auto; min-height:0; border:1px solid #8db4d0; border-radius:4px; background:#fff; }
body.desktop-mode .external-app-note { margin:0; font-size:12px; }
body.desktop-mode .content { height:calc(100% - 38px); padding:14px 18px 18px 120px; }
body.desktop-mode .content > div:first-child { display:block; }
body.desktop-mode .content > div:not(:first-child) { max-width:1100px; margin:0 auto; }
body.desktop-mode .window { background:#f4f9ffef; color:#102b45; border:1px solid #b9e5ff; border-radius:6px; box-shadow:0 18px 45px #03407166; }
body.desktop-mode .stat { background:#d9edfb; border-color:#9fc6df; }
body.desktop-mode .stat strong { color:#123a5a; }
body.desktop-mode .window .muted { color:#46627b; }
body.desktop-mode input, body.desktop-mode textarea, body.desktop-mode select { color:#102b45; background:#fff; border-color:#8db4d0; }
body.desktop-mode button { color:#102b45; background:#e7f3fc; border-color:#7fa9c5; }
body.desktop-mode button:hover { background:#d2ecfb; border-color:#1674b8; }
.desktop-icons { top:18px; left:14px; display:grid; gap:8px; width:78px; }
.desktop-icon { width:78px; min-height:70px; padding:5px 3px; color:#fff; border-radius:3px; font-size:11px; text-shadow:0 1px 3px #003b68; }
body.desktop-mode .desktop-icon { background:transparent; border-color:transparent; color:#fff; }
.desktop-icon:hover, .desktop-icon:focus-visible { background:#ffffff2b; border-color:#ffffff66; }
.desktop-icon-glyph { width:38px; height:38px; border-radius:3px; background:linear-gradient(145deg,#f7fbff,#b8e2fa); color:#075596; border:1px solid #fff; box-shadow:0 2px 7px #03407188; }
.os-dock { left:0; right:0; bottom:0; transform:none; justify-content:flex-start; gap:2px; min-height:44px; height:44px; padding:3px 8px; border:0; border-top:1px solid var(--taskbar-line); border-radius:0; background:var(--taskbar); box-shadow:0 -4px 18px #003c6788; backdrop-filter:blur(12px); }
.dock-item { min-width:58px; height:38px; padding:3px 8px; border-radius:2px; color:#fff; font-size:12px; }
body.desktop-mode .dock-item { color:#fff; background:transparent; border-color:transparent; }
.dock-item span { color:#d5efff; }
.dock-item:hover,.dock-item:focus-visible { background:#55b8ee55; color:#fff; }
.start-button { min-width:62px; border-right:1px solid #bce9ff55; background:#0d70b8aa; }
body.desktop-mode .start-button { background:#0d70b8aa; border-color:#bce9ff55; }
.start-mark { color:#fff; font-size:21px; }
.status-bar { position:fixed; right:0; bottom:0; z-index:121; height:44px; padding:0 12px; border:0; color:#fff; pointer-events:none; align-items:center; background:transparent; }
.status-bar span:first-child { display:none; }
.status-bar span { color:#e8f7ff; font-size:11px; }
.start-menu { left:8px; bottom:50px; transform:none; border-radius:5px 5px 0 0; background:#eaf5fcef; color:#102b45; border-color:#9bd4f5; box-shadow:0 15px 40px #003b6688; }
.start-menu .start-search { color:#102b45; background:#fff; }
.start-menu .start-footer { border-color:#b0d2e7; }
@media(max-width:800px) {
  body.desktop-mode .content { padding:10px 10px 10px; }
  .desktop-icons { display:none; }
  .os-dock { overflow:auto; }
  .status-bar { display:none; }
  body.desktop-mode .external-app-window { width:auto; height:calc(100vh - 70px); margin:0; }
  body.desktop-mode .external-app-heading { align-items:flex-start; }
  body.desktop-mode .external-app-heading h2 { font-size:18px; }
  body.desktop-mode .external-app-tools { width:100%; justify-content:flex-start; }
}
