:root {
  color-scheme: dark;
  --ink: #e6f4f1;
  --muted: #a7c7c3;
  --subtle: #7d9d98;
  --mint: #58e0cb;
  --mint-dark: #0f9f8c;
  --glass: rgba(25, 38, 37, .88);
  --glass-deep: rgba(16, 25, 25, .95);
  --stroke: rgba(213, 250, 243, .17);
  --display: "Segoe UI", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #9bdad7; }
body { margin: 0; color: var(--ink); font-family: var(--display); }
button, a { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.desktop-body { min-width: 320px; min-height: 100vh; overflow: hidden; background: #9edbd8; }
.desktop {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 48% 115%, rgba(245,255,235,.65), transparent 49%),
    radial-gradient(ellipse at 82% 18%, rgba(229,252,239,.5), transparent 30%),
    linear-gradient(138deg, #a5e1dd 0%, #82c9ca 48%, #b1e6d9 100%);
}
.wallpaper-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(1px); pointer-events: none; }
.glow-one { top: -25vh; right: 3vw; width: 58vw; height: 58vw; background: radial-gradient(circle, rgba(247,255,238,.36), transparent 70%); }
.glow-two { bottom: -47vh; left: 18vw; width: 90vw; height: 70vw; background: radial-gradient(ellipse, rgba(52,164,162,.42), transparent 70%); }
.wallpaper-grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.22' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.system-bar {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  color: #164b4a;
  font: 600 10px/1 "Segoe UI", sans-serif;
  letter-spacing: 1.1px;
}
.system-brand { display: inline-flex; align-items: center; gap: 9px; color: #174e4b; text-decoration: none; }
.brand-orb { width: 23px; height: 23px; display: block; object-fit: cover; object-position: center 22%; border: 1px solid rgba(17,91,85,.45); border-radius: 50%; background: #166d66; }
.system-status { display: inline-flex; align-items: center; gap: 7px; color: rgba(21,77,73,.72); font-size: 9px; }
.system-status i { width: 6px; height: 6px; border-radius: 50%; background: #12a98e; box-shadow: 0 0 8px rgba(18,169,142,.6); }
.system-status b { font-weight: 700; }
.desktop-icons { position: absolute; z-index: 1; top: 42px; right: 0; bottom: 70px; left: 0; pointer-events: none; }
.desktop-icon { position: absolute; width: 92px; min-height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 6px; color: #e4fffa; font-size: 11px; line-height: 1.25; text-align: center; text-shadow: 0 1px 5px rgba(10,72,69,.65); background: transparent; border: 1px solid transparent; border-radius: 8px; cursor: grab; pointer-events: auto; touch-action: none; user-select: none; }
.desktop-icon:nth-child(1) { left: 15px; top: 36px; }
.desktop-icon:nth-child(2) { left: 15px; top: 126px; }
.desktop-icon:nth-child(3) { left: 15px; top: 216px; }
.desktop-icon:nth-child(4) { left: 15px; top: 306px; }
.desktop-icon:nth-child(5) { left: 15px; top: 396px; }
.desktop-icon.is-dragging { z-index: 20; cursor: grabbing; border-color: rgba(232,255,248,.36); background: rgba(237,255,250,.16); }
.desktop-icon-projects { width: 118px; }
.desktop-icon-projects span:last-child { max-width: 112px; }
.desktop-icon:hover, .desktop-icon:focus-visible { border-color: rgba(232,255,248,.36); background: rgba(237,255,250,.16); }
.desktop-icon-art { width: 44px; height: 44px; display: grid; place-items: center; color: #064e49; border: 1px solid rgba(225,255,249,.42); border-radius: 14px; background: rgba(35,97,92,.79); box-shadow: 0 6px 16px rgba(28,92,88,.19); }
.desktop-icon-art svg { width: 22px; height: 22px; fill: none; stroke: #42dbc8; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.folder-art svg { fill: rgba(21,191,169,.1); }

.app-window {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 310px;
  min-height: 180px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--stroke);
  border-radius: 13px;
  background: var(--glass);
  box-shadow: 0 20px 58px rgba(18,66,64,.28), 0 3px 12px rgba(4,27,27,.12), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
}
.window-about { top: 11vh; left: 12.5vw; width: 420px; max-height: 78vh; }
.window-projects { top: 7vh; left: 42vw; width: min(700px, 52vw); height: 555px; max-height: 82vh; }
.window-services { top: 14vh; left: 29vw; width: 555px; max-height: 76vh; }
.window-contact { top: 18vh; left: 32vw; width: 430px; max-height: 75vh; }
.window-tool { top: 4vh; left: 7vw; width: 86vw; height: 86vh; min-height: 360px; }
.window-task-manager { top: 16vh; left: 26vw; width: 590px; max-height: 72vh; }
.app-window.is-active { z-index: 10; }
.app-window.is-maximized { top: 48px !important; left: 20px !important; width: calc(100% - 40px) !important; height: calc(100% - 116px) !important; max-height: none; }
.window-titlebar {
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px 0 13px;
  color: #d7efea;
  border-bottom: 1px solid rgba(227,255,248,.055);
  background: linear-gradient(90deg, rgba(8,19,19,.78), rgba(31,45,43,.74));
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.window-titlebar:active { cursor: grabbing; }
.window-caption { min-width: 0; display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; }
.window-caption > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-icon { width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; color: #54ddc8; font-size: 13px; border: 1px solid rgba(43,180,158,.25); border-radius: 6px; background: rgba(12,92,82,.35); }
.mini-icon svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tool-mini { font-size: 10px; font-weight: 800; }
.window-controls { display: flex; align-items: center; gap: 5px; }
.window-controls button { width: 27px; height: 27px; display: grid; place-items: center; padding: 0; color: #b1cbc6; font: 18px/1 "Segoe UI", sans-serif; border: 1px solid transparent; border-radius: 50%; background: transparent; cursor: pointer; }
.window-controls button:hover { color: #effffa; border-color: rgba(231,255,250,.15); background: rgba(239,255,250,.1); }
.window-controls button[data-window-action="close"]:hover { color: #fff; border-color: rgba(240,110,103,.7); background: #bf544d; }
.window-content { min-height: 0; padding: 20px; overflow: auto; scrollbar-color: rgba(86,206,190,.45) transparent; scrollbar-width: thin; }
.profile-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.avatar { flex: 0 0 auto; display: block; object-fit: cover; object-position: center 20%; border: 1px solid rgba(91,223,204,.45); border-radius: 50%; background: linear-gradient(145deg, #258e82, #174b4c); box-shadow: inset 0 0 0 3px rgba(226,255,247,.08); }
.avatar-large { width: 58px; height: 58px; font-size: 17px; }
.avatar-small { width: 31px; height: 31px; font-size: 10px; }
.launcher-profile > .avatar { width: 44px; height: 44px; }
.profile-heading h1 { margin: 0 0 3px; font-size: 19px; line-height: 1.2; }
.profile-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.about-content > p { margin: 0 0 12px; color: #c1d5d1; font-size: 13px; line-height: 1.75; }
.about-content h2 { margin: 18px 0 9px; color: #a5c3be; font: 650 9px "Segoe UI", sans-serif; letter-spacing: 1.15px; text-transform: uppercase; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tags span { padding: 5px 8px; color: #c7e2dc; font-size: 10px; border: 1px solid rgba(220,255,248,.1); border-radius: 4px; background: rgba(8,26,25,.23); }
.profile-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; padding-top: 13px; border-top: 1px solid rgba(225,255,248,.09); }
.profile-links a, .contact-socials a { color: #89d8cd; font-size: 10px; text-decoration: none; }
.profile-links a:hover, .contact-socials a:hover { color: #e6fff7; }
.window-crumb { flex: 0 0 33px; display: flex; align-items: center; gap: 9px; padding: 0 16px; color: #91aaa5; font-size: 10px; border-bottom: 1px solid rgba(225,255,248,.06); background: rgba(5,18,18,.2); }
.window-crumb b { color: #577873; font-weight: 400; }
.item-count { margin-left: auto; color: #819e99; font-size: 9px; letter-spacing: .5px; }
.projects-content { flex: 1; }
.project-file { width: 230px; display: flex; flex-direction: column; align-items: stretch; color: inherit; text-decoration: none; }
.project-preview { position: relative; height: 140px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(195,255,242,.12); border-radius: 7px; background: radial-gradient(circle at 50% 30%, rgba(80,224,200,.22), transparent 53%), linear-gradient(145deg,#173b39,#142825 75%); }
.project-preview::before, .project-preview::after { position: absolute; width: 160px; height: 160px; content: ""; border: 1px solid rgba(87,218,196,.17); border-radius: 50%; transform: rotateX(63deg) rotate(30deg); }
.project-preview::after { width: 115px; height: 115px; transform: rotateX(63deg) rotate(-35deg); }
.preview-mark { position: relative; z-index: 1; width: 72px; height: 72px; display: grid; place-items: center; color: #cffff4; border: 1px solid rgba(88,224,203,.38); border-radius: 20px; background: linear-gradient(145deg, rgba(59,188,170,.28), rgba(12,78,72,.42)); box-shadow: 0 12px 30px rgba(43,199,175,.18), inset 0 1px 0 rgba(255,255,255,.12); }
.preview-mark svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(88,224,203,.38)); }
.preview-caption { position: absolute; right: 10px; bottom: 9px; color: #85bcb3; font: 8px "Consolas", monospace; letter-spacing: 1px; }
.project-name { margin-top: 10px; color: #e2f5ef; font-size: 14px; font-weight: 650; }
.project-type { margin-top: 2px; color: #9dbbb5; font-size: 11px; }
.project-open { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 9px; color: #8adace; font-size: 10px; border-top: 1px solid rgba(225,255,248,.09); }
.project-open b { color: var(--mint); font-size: 14px; font-weight: 400; }
.project-file:hover .project-preview { border-color: rgba(88,224,203,.58); filter: brightness(1.12); }
.empty-project { max-width: 360px; display: flex; align-items: center; gap: 10px; margin-top: 22px; color: #789590; font-size: 10px; }
.empty-project-icon { width: 25px; height: 25px; display: grid; place-items: center; color: #79b9ad; font-size: 15px; border: 1px dashed rgba(160,218,207,.3); border-radius: 6px; }
.window-kicker { margin: 0 0 9px; color: #65cfbf; font: 600 9px "Consolas", monospace; letter-spacing: 1.2px; }
.service-content h2, .contact-content h2, .task-content h2 { margin: 0 0 18px; color: #e5f4ef; font-size: 21px; line-height: 1.25; }
.service-item { display: grid; grid-template-columns: 35px 1fr; gap: 11px; padding: 15px 0; border-top: 1px solid rgba(224,255,247,.09); }
.service-item > span { color: #59d8c6; font: 11px "Consolas", monospace; }
.service-item h3 { margin: 0 0 6px; color: #d8ede7; font-size: 13px; }
.service-item p { margin: 0; color: #a9c5bf; font-size: 11px; line-height: 1.65; }
.inline-cta { display: inline-block; margin-top: 12px; color: #62ddca; font-size: 11px; text-decoration: none; }
.inline-cta:hover { color: #e4fff7; }
.contact-content > p:not(.window-kicker) { color: #a9c5bf; font-size: 12px; line-height: 1.7; }
.contact-content h2 { max-width: 325px; }
.contact-link { display: flex; align-items: center; gap: 12px; margin-top: 9px; padding: 12px; color: #d4eee7; text-decoration: none; border: 1px solid rgba(225,255,248,.1); border-radius: 6px; background: rgba(7,20,20,.26); }
.contact-link > span:first-child { width: 30px; height: 30px; display: grid; place-items: center; color: var(--mint); border-radius: 7px; background: rgba(27,139,123,.2); }
.contact-link > span:nth-child(2) { display: grid; gap: 2px; }
.contact-link small { color: #83a29c; font: 9px "Consolas", monospace; letter-spacing: .8px; }
.contact-link strong { font-size: 11px; font-weight: 600; }
.contact-link > b { margin-left: auto; color: #64d9c7; font-weight: 400; }
.contact-link:hover { border-color: rgba(88,224,203,.4); background: rgba(18,77,70,.24); }
.contact-socials { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 18px; }
.tool-frame { width: 100%; height: 100%; flex: 1 1 auto; border: 0; background: #101210; }
.task-content { min-height: 0; }
.task-content h2 { margin-bottom: 13px; }
.process-heading, .process-row { display: grid; grid-template-columns: minmax(0,1fr) 100px 100px; align-items: center; gap: 10px; }
.process-heading { padding: 9px 10px; color: #81a39d; font: 9px "Consolas", monospace; letter-spacing: .7px; border-bottom: 1px solid rgba(225,255,248,.09); }
.process-row { min-height: 47px; padding: 7px 10px; border-bottom: 1px solid rgba(225,255,248,.06); }
.process-name { display: flex; align-items: center; gap: 9px; color: #d8ece6; font-size: 11px; }
.process-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #50cfaa; box-shadow: 0 0 8px rgba(80,207,170,.42); }
.process-row.is-minimized .process-dot { background: #d8ad61; box-shadow: none; }
.process-state { color: #9ab5af; font-size: 10px; }
.process-actions { display: flex; justify-content: flex-end; gap: 6px; }
.process-actions button { padding: 5px 7px; color: #b6d4cd; font-size: 9px; border: 1px solid rgba(220,255,248,.12); border-radius: 4px; background: rgba(8,23,23,.32); cursor: pointer; }
.process-actions button:hover { color: #effff9; border-color: rgba(88,224,203,.45); }
.process-actions .end-task { color: #f0aca5; }
.task-note { margin: 15px 0 0; color: #829e98; font-size: 10px; line-height: 1.6; }

.launcher-menu {
  position: fixed;
  z-index: 1000;
  bottom: 79px;
  left: max(24px, calc((100vw - 880px) / 2));
  width: 310px;
  overflow: hidden;
  color: #dcf2ed;
  border: 1px solid rgba(220,255,248,.14);
  border-radius: 17px;
  background: var(--glass-deep);
  box-shadow: 0 18px 55px rgba(5,34,32,.42);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}
.launcher-profile { display: flex; align-items: center; gap: 11px; padding: 17px 17px 14px; border-bottom: 1px solid rgba(225,255,248,.08); }
.launcher-profile > span:last-child { display: grid; gap: 3px; }
.launcher-profile strong { font-size: 13px; }
.launcher-profile small { color: #91b2ab; font-size: 10px; }
.launcher-items { display: grid; padding: 7px; }
.launcher-items button { min-height: 38px; display: flex; align-items: center; gap: 11px; padding: 0 10px; color: #c9e2dc; text-align: left; font-size: 11px; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.launcher-items button > span { width: 18px; color: var(--mint); font-size: 15px; text-align: center; }
.launcher-items button:hover { color: #fff; background: rgba(82,207,188,.12); }
.launcher-links { display: flex; gap: 15px; padding: 12px 16px 14px; border-top: 1px solid rgba(225,255,248,.08); }
.launcher-links a { color: #88aaa3; font-size: 10px; text-decoration: none; }
.launcher-links a:hover { color: var(--mint); }
.desktop-search { position: relative; flex: 0 0 auto; }
.desktop-search-button { min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 10px; color: #d1eae4; font-size: 10px; border: 1px solid transparent; border-radius: 18px; background: transparent; cursor: pointer; }
.desktop-search-button > span:first-child { color: var(--mint); font-size: 17px; line-height: 1; }
.desktop-search-button:hover, .desktop-search-button[aria-expanded="true"] { color: #effff9; border-color: rgba(190,249,238,.14); background: rgba(221,255,249,.1); }
.desktop-search-popup { position: absolute; bottom: 48px; left: 0; width: 310px; max-height: 410px; padding: 12px; overflow: hidden; color: #dff4ef; border: 1px solid rgba(220,255,248,.16); border-radius: 13px; background: rgba(12,39,38,.96); box-shadow: 0 18px 55px rgba(5,34,32,.42); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.desktop-search-popup label { display: block; margin: 0 0 8px; color: #91b6af; font: 600 9px "Consolas", monospace; letter-spacing: 1px; text-transform: uppercase; }
.desktop-search-popup input { width: 100%; height: 39px; box-sizing: border-box; padding: 0 11px; color: #effff9; font-size: 12px; outline: none; border: 1px solid rgba(173,235,223,.18); border-radius: 7px; background: rgba(4,22,21,.58); }
.desktop-search-popup input:focus { border-color: rgba(88,224,203,.55); }
.desktop-search-results { max-height: 300px; margin-top: 8px; overflow-y: auto; }
.desktop-search-result { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 7px 8px; color: #d8eee8; text-align: left; border: 0; border-radius: 7px; background: transparent; cursor: pointer; }
.desktop-search-result:hover, .desktop-search-result:focus-visible { background: rgba(82,207,188,.12); outline: none; }
.desktop-search-result-icon { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; color: var(--mint); border: 1px solid rgba(88,224,203,.22); border-radius: 7px; background: rgba(30,116,106,.24); }
.desktop-search-result-copy { display: grid; gap: 2px; }
.desktop-search-result-copy strong { font-size: 12px; }
.desktop-search-result-copy small { color: #93b2ac; font-size: 10px; }
.desktop-search-empty { padding: 16px 8px; color: #91aaa5; font-size: 11px; text-align: center; }
.taskbar {
  position: fixed;
  z-index: 1001;
  bottom: 16px;
  left: 50%;
  width: min(850px, calc(100% - 36px));
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 9px;
  color: #d8f0ea;
  border: 1px solid rgba(221,255,248,.32);
  border-radius: 28px;
  background: rgba(19,59,57,.83);
  box-shadow: 0 8px 26px rgba(22,87,82,.26), inset 0 1px 0 rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: translateX(-50%);
}
.user-menu-button { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 5px; color: #dff6f1; font-size: 10px; border: 1px solid transparent; border-radius: 22px; background: rgba(7,39,38,.44); cursor: pointer; }
.user-menu-button:hover, .user-menu-button[aria-expanded="true"] { border-color: rgba(125,231,211,.31); background: rgba(8,41,39,.8); }
.user-menu-caret { color: #79bfb3; font-size: 12px; }
.task-tabs { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.task-tabs::-webkit-scrollbar { display: none; }
.task-tab { max-width: 160px; min-height: 34px; display: inline-flex; flex: 0 1 auto; align-items: center; gap: 7px; padding: 0 9px; overflow: hidden; color: #bbd5cf; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; border: 1px solid transparent; border-radius: 18px; background: transparent; cursor: pointer; }
.task-tab:hover, .task-tab.is-active { color: #e6fff8; border-color: rgba(190,249,238,.14); background: rgba(221,255,249,.1); }
.task-tab-icon { color: var(--mint); font-size: 12px; }
.task-clock { flex: 0 0 auto; padding: 0 8px; color: #d8efe8; font: 600 11px "Consolas", monospace; }

@media (max-width: 1050px) and (min-width: 681px) {
  .desktop-icons { left: 7px; }
  .window-about { left: 105px; width: 380px; }
  .window-projects { left: 42vw; width: 55vw; }
  .window-services, .window-contact, .window-task-manager { left: 24vw; }
}
@media (max-width: 680px) {
  html, body, .desktop-body { min-width: 0; }
  .desktop { height: 100dvh; min-height: 520px; }
  .system-bar { height: 38px; padding: 0 12px; }
  .system-status { font-size: 8px; gap: 5px; }
  .system-status b { display: none; }
  .desktop-icons { top: 38px; right: 5px; bottom: 65px; left: 5px; }
  .desktop-icon { width: 68px; min-width: 60px; min-height: 66px; font-size: 9px; }
  .desktop-icon:nth-child(1) { left: 5px; top: 6px; }
  .desktop-icon:nth-child(2) { left: 5px; top: 78px; }
  .desktop-icon:nth-child(3) { left: 5px; top: 150px; }
  .desktop-icon:nth-child(4) { left: 5px; top: 222px; }
  .desktop-icon:nth-child(5) { left: 5px; top: 294px; }
  .desktop-icon-projects { width: 82px; }
  .desktop-icon-projects span:last-child { max-width: 76px; }
  .desktop-icon-art { width: 37px; height: 37px; border-radius: 12px; }
  .desktop-icon-art svg { width: 20px; height: 20px; }
  .app-window { position: fixed; top: 0 !important; right: 0 !important; bottom: 64px !important; left: 0 !important; width: auto !important; height: auto !important; min-width: 0; max-height: none; border-radius: 0; }
  .app-window.is-maximized { top: 0 !important; right: 0 !important; bottom: 64px !important; left: 0 !important; width: auto !important; height: auto !important; }
  .window-titlebar { flex-basis: 41px; }
  .window-content { padding: 16px; }
  .window-projects .window-content { padding-top: 18px; }
  .project-file { width: min(100%, 300px); }
  .project-preview { height: 145px; }
  .window-about .window-content { padding: 16px; }
  .about-content > p { font-size: 12px; }
  .taskbar { bottom: 8px; width: calc(100% - 16px); min-height: 49px; gap: 4px; padding: 4px 6px; }
  .user-menu-button { gap: 6px; padding-right: 7px; font-size: 9px; }
  .desktop-search-button { min-height: 31px; padding: 0 7px; }
  .desktop-search-button > span:last-child { display: none; }
  .desktop-search-popup { bottom: 43px; left: -86px; width: min(310px, calc(100vw - 32px)); }
  .avatar-small { width: 29px; height: 29px; }
  .task-tab { max-width: 105px; min-height: 31px; gap: 5px; padding: 0 7px; font-size: 9px; }
  .task-clock { padding: 0 5px; font-size: 10px; }
  .launcher-menu { right: 8px; bottom: 67px; left: 8px; width: auto; max-width: 360px; }
  .process-heading, .process-row { grid-template-columns: minmax(0,1fr) 68px 90px; gap: 6px; }
  .process-name { font-size: 10px; }
  .process-actions button { padding: 5px; }
}
@media (max-width: 370px) {
  .task-tabs { gap: 2px; }
  .task-tab { max-width: 82px; font-size: 8px; }
  .task-clock { font-size: 9px; }
  .user-menu-button strong { max-width: 58px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .profile-links { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.legal-page {
  min-height: 100vh;
  padding: 32px 20px 60px;
  color: #e6f4f1;
  font: 16px/1.65 var(--display);
  background:
    radial-gradient(ellipse at 78% 6%, rgba(61,155,145,.2), transparent 34rem),
    #101918;
}
.legal-shell { width: min(760px, 100%); margin: 0 auto; padding: 32px clamp(20px, 5vw, 52px); border: 1px solid rgba(213,250,243,.14); border-radius: 10px; background: rgba(24,38,36,.94); }
.legal-home { display: inline-block; margin-bottom: 32px; color: #a7d2ca; font-size: 14px; text-decoration: none; }
.legal-home:hover, .legal-bottom-links a:hover { color: #58e0cb; }
.legal-page .eyebrow { margin-bottom: 14px; color: #58e0cb; font: 500 11px/1.4 "Consolas", monospace; letter-spacing: 1.2px; }
.legal-page h1 { margin: 0 0 12px; font: 600 clamp(30px, 6vw, 40px)/1.1 var(--display); letter-spacing: -1px; }
.legal-page .legal-updated { margin: 0 0 25px; color: #819f99; font: 12px "Consolas", monospace; }
.legal-page .legal-shell > p:not(.eyebrow):not(.legal-updated) { color: #c1d5d1; font-size: 15px; line-height: 1.8; }
.legal-page h2 { margin: 29px 0 9px; color: #e4f4ef; font: 600 20px var(--display); }
.legal-page strong { color: #e0f7f0; }
.legal-page a:not(.legal-home) { color: #70dfcf; }
.legal-notice { margin-top: 28px; padding: 13px 15px; color: #e6c891 !important; font-size: 14px !important; border: 1px solid rgba(218,184,113,.24); border-radius: 5px; background: rgba(72,59,34,.22); }
.legal-bottom-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 27px; padding-top: 18px; font-size: 14px; border-top: 1px solid rgba(213,250,243,.13); }
.legal-bottom-links a { color: #a7d2ca !important; text-decoration: underline; text-decoration-color: rgba(112,223,207,.35); text-underline-offset: 3px; }
.contact-card { margin-top: 24px; padding: 18px; border: 1px solid rgba(213,250,243,.14); border-radius: 7px; background: rgba(13,25,24,.35); }
.contact-card strong { color: #58e0cb; font-size: 15px; }
.contact-card p { margin: 9px 0; color: #e2f4ee; font-size: 15px; }
.contact-card small { color: #a7c7c3; font-size: 13px; line-height: 1.6; }
@media (max-width: 620px) {
  .legal-page { padding: 16px 12px 32px; }
  .legal-shell { padding: 22px 18px; }
  .legal-home { margin-bottom: 25px; }
}
