* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --accent: #F97115;
    --ink: #353660;
    --highlight: #E7FF89;
    --text: #2b2e48;
    --text-dim: rgba(43, 46, 72, 0.55);
    --panel: rgba(255, 255, 255, 0.65);
    --panel-strong: rgba(255, 255, 255, 0.85);
    --panel-border: rgba(53, 54, 96, 0.12);
    --shadow: 0 10px 40px rgba(53, 54, 96, 0.18);
    --radius: 16px;
    font-size: 15px;
}

html, body { height: 100%; }

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    overflow: hidden;
    background: #eef0f6;
}

/* Wallpaper variants — clean, near-flat. Any tint is drawn ONLY from the
   MPC logo colors (navy ink / orange accent), one soft corner glow, no
   scattered blobs. Personal wallpaper (Settings app) overrides via inline
   style on <body>. */
body[data-wallpaper="light"] {
    background:
        radial-gradient(1000px 720px at 88% 6%, color-mix(in srgb, var(--ink) 7%, transparent) 0%, transparent 60%),
        linear-gradient(168deg, #f6f7fb 0%, #eceef4 100%);
}
body[data-wallpaper="warm"] {
    background:
        radial-gradient(1000px 720px at 88% 6%, color-mix(in srgb, var(--accent) 10%, transparent) 0%, transparent 60%),
        linear-gradient(168deg, #faf7f3 0%, #f2ede6 100%);
}
body[data-wallpaper="cool"] {
    background:
        radial-gradient(1000px 720px at 88% 6%, color-mix(in srgb, var(--ink) 12%, transparent) 0%, transparent 60%),
        linear-gradient(168deg, #f1f4fa 0%, #e6ebf4 100%);
}
body[data-wallpaper="dark"] {
    --text: #eef2f7;
    --text-dim: rgba(238, 242, 247, 0.55);
    --panel: rgba(30, 32, 56, 0.6);
    --panel-strong: rgba(36, 38, 66, 0.9);
    --panel-border: rgba(255, 255, 255, 0.12);
    --shadow: 0 12px 44px rgba(0, 0, 0, 0.45);
    /* chrome goes dark; the wall stays a calm mid navy, one faint accent glow */
    background:
        radial-gradient(1000px 720px at 88% 6%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%),
        linear-gradient(168deg, #23264a 0%, #2c2f54 100%);
}
body[data-wallpaper="dark"] .mb-btn:hover { background: rgba(255, 255, 255, 0.1); }
body[data-wallpaper="dark"] .pop-app:hover { background: rgba(255, 255, 255, 0.08); }
body[data-wallpaper="dark"] .pop-title input { background: rgba(0, 0, 0, 0.25); }
body { background-attachment: fixed; }

/* ---------- branding bits ---------- */

.logo-badge {
    display: inline-grid;
    place-items: center;
    padding: 3px 8px;
    border-radius: 7px;
    background: var(--ink);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.06em;
}
.logo-name { font-weight: 700; letter-spacing: -0.01em; }
.logo-img { height: 22px; display: block; }

/* MPC wordmark (inline SVG, uses page Inter + live theme colors) */
.mpc-mark { display: inline-flex; }
.mpc-mark svg { height: 26px; width: auto; display: block; }
.mpc-word { font-family: "Inter", sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -2px; }
.mpc-sub  { font-family: "Inter", sans-serif; font-weight: 700; font-size: 8.2px; letter-spacing: 3.4px; }
.login-brand .mpc-mark svg { height: 38px; }
/* the real logo is dark navy on transparent — give it a light chip on dark chrome */
body[data-wallpaper="dark"] .mb-brand .logo-img,
body[data-wallpaper="dark"] .login-brand .logo-img {
    background: rgba(255, 255, 255, 0.92);
    padding: 3px 7px;
    border-radius: 7px;
}

/* ---------- login ---------- */

.login-wall { height: 100%; display: grid; place-items: center; }

.login-card {
    width: min(390px, 90vw);
    padding: 42px 36px;
    background: var(--panel-strong);
    border: 1px solid var(--panel-border);
    border-radius: 24px;
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 21px;
}
.login-brand .logo-badge { font-size: 14px; padding: 5px 10px; }
.login-brand .logo-img { height: 28px; }

.login-sub { color: var(--text-dim); font-size: 14px; }

.login-card input {
    padding: 13px 15px;
    border-radius: 12px;
    border: 1px solid var(--panel-border);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
}
body[data-wallpaper="dark"] .login-card input { background: rgba(0,0,0,0.25); }
.login-card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }

.login-card button {
    padding: 13px;
    border: none;
    border-radius: 12px;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
}
.login-card button:hover { background: var(--accent); }

.login-msg { font-size: 13px; color: var(--text-dim); min-height: 1.2em; }
.login-msg a { color: var(--accent); font-weight: 600; }

/* ---------- desktop chrome ---------- */

#desktop { height: 100%; display: flex; flex-direction: column; }

#menubar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 18px;
    background: var(--panel);
    border-bottom: 1px solid var(--panel-border);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    font-size: 13px;
    z-index: 500;
}

.mb-brand { display: flex; align-items: center; gap: 8px; font-size: 14px; }
body.editing .mb-brand { cursor: pointer; outline: 1.5px dashed var(--accent); outline-offset: 4px; border-radius: 6px; }
.mb-spacer { flex: 1; }
.mb-user, .mb-clock { color: var(--text-dim); font-weight: 500; }

.mb-btn {
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--text);
    padding: 4px 12px;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.mb-btn:hover { background: rgba(53, 54, 96, 0.08); }
.mb-btn.active { background: var(--accent); color: #fff; }

/* ---------- application launcher ---------- */

#stage { flex: 1; overflow: auto; padding: 54px 24px 132px; }
.launcher { width: min(1040px, 100%); margin: 0 auto; }
.launcher-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.launcher-eyebrow {
    margin-bottom: 7px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.launcher h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; line-height: 1; }
.launcher-sub { margin-top: 10px; color: var(--text-dim); font-size: 14px; }
.launcher kbd { padding: 2px 6px; border: 1px solid var(--panel-border); border-radius: 6px; background: var(--panel); font: inherit; }
.launcher-search { width: min(280px, 36vw); }
.launcher-search span { display: block; margin-bottom: 6px; color: var(--text-dim); font-size: 11px; font-weight: 700; }
.launcher-search input {
    width: 100%; padding: 10px 13px; border: 1px solid var(--panel-border); border-radius: 11px;
    background: var(--panel-strong); color: var(--text); font: inherit; outline: none;
}
.launcher-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.app-card {
    min-height: 148px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 15px;
    padding: 18px; border: 1px solid var(--panel-border); border-radius: 15px; background: var(--panel-strong);
    box-shadow: 0 8px 26px rgba(53, 54, 96, .08); color: var(--text); font: inherit; text-align: left; cursor: pointer;
    text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.app-card:hover, .app-card:focus-visible { transform: translateY(-2px); border-color: color-mix(in srgb, var(--ink) 28%, transparent); box-shadow: 0 12px 32px rgba(53,54,96,.13); outline: none; }
.app-card-icon {
    width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px;
    background: color-mix(in srgb, var(--ink) 8%, transparent); font-size: 27px; overflow: hidden;
}
.app-card-icon img { width: 100%; height: 100%; object-fit: contain; }
.app-card-body { min-width: 0; display: flex; flex-direction: column; }
.app-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 11px; }
.app-category, .app-launch { padding: 3px 7px; border-radius: 999px; font-size: 10px; font-weight: 750; }
.app-category { background: color-mix(in srgb, var(--ink) 9%, transparent); }
.app-launch { color: var(--text-dim); border: 1px solid var(--panel-border); }
.app-card strong { font-size: 16px; letter-spacing: -.015em; }
.app-description { margin-top: 6px; color: var(--text-dim); font-size: 12.5px; line-height: 1.45; }
.app-arrow { color: var(--text-dim); font-size: 17px; }
.app-empty {
    grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; padding: 48px 20px;
    border: 1px dashed var(--panel-border); border-radius: 15px; color: var(--text-dim);
}
.app-empty strong { color: var(--text); margin-bottom: 6px; }

/* ---------- dock ---------- */

#dockWrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 600;
}

#dock {
    pointer-events: auto;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding: 8px 10px;
    background: var(--panel);
    border: 1px solid var(--panel-border);
    border-radius: 22px;
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    box-shadow: var(--shadow);
    max-width: calc(100vw - 32px);
    overflow: visible;
    transition: padding 0.12s ease-out;
}

.dock-sep {
    width: 1px;
    align-self: stretch;
    margin: 6px 5px;
    background: var(--panel-border);
    flex: none;
}

.dock-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
    background: transparent;
    color: var(--text); /* buttons don't inherit — tip text was black in dark mode */
    cursor: pointer;
    padding: 0 2px;
    flex: none;
    transition: transform 0.12s ease-out;
    transform-origin: bottom center;
    will-change: transform;
}
.dock-item:hover { z-index: 2; }
.dock-sep { transition: transform 0.12s ease-out; }

.dock-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 32px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #eef0f6 100%);
    border: 1px solid var(--panel-border);
    box-shadow: 0 3px 10px rgba(53, 54, 96, 0.15);
    overflow: hidden;
}
.dock-icon img { width: 100%; height: 100%; object-fit: contain; padding: 7px; }

/* tooltip label */
.dock-item .tip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    border-radius: 8px;
    background: var(--panel-strong);
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s;
}
/* while visible, the tip catches the pointer — hovering it keeps the
   dock magnified (it's a dock child, so no mouseleave fires) and a
   click on it bubbles to the app button */
.dock-item:hover .tip { opacity: 1; pointer-events: auto; }
/* while its flyout is open, the folder's tooltip stays hidden */
.dock-item.pop-open .tip { opacity: 0 !important; pointer-events: none !important; }

/* running indicator */
.dock-item .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: transparent;
    margin-top: 3px;
}
.dock-item.running .dot { background: var(--accent); }

/* folder icon: mini grid of contained app glyphs */
.dock-icon.folder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    place-items: center;
    gap: 1px;
    padding: 7px;
    font-size: 15px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--highlight) 55%, #ffffff) 0%, color-mix(in srgb, var(--highlight) 25%, #eef0f6) 100%);
}
.dock-icon.folder img { width: 16px; height: 16px; padding: 0; }
.dock-icon.folder span { line-height: 1; }

/* drag & drop states (edit mode) */
body.editing .dock-item { cursor: grab; }
body.editing .dock-item.dragging { opacity: 0.35; }
body.editing .dock-item.drop-hint .dock-icon { outline: 2px dashed var(--accent); outline-offset: 2px; }
.dock-item.add-btn .dock-icon {
    background: transparent;
    border-style: dashed;
    color: var(--text-dim);
    font-size: 24px;
    box-shadow: none;
}
.dock-item.add-btn:hover .dock-icon { color: var(--accent); border-color: var(--accent); }

/* ---------- folder popover ---------- */

#folderPopover {
    position: fixed;
    z-index: 590;
    background: var(--panel-strong);
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    box-shadow: var(--shadow);
    padding: 18px;
    min-width: 230px;
    max-width: min(480px, calc(100vw - 32px));
}
#folderPopover::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: var(--arrow-x, 50%);
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background: var(--panel-strong);
    border-right: 1px solid var(--panel-border);
    border-bottom: 1px solid var(--panel-border);
}

.pop-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pop-title input {
    background: rgba(255,255,255,0.7);
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    color: var(--text);
    font: inherit;
    padding: 2px 8px;
    width: 140px;
}
.pop-title .mini-btn {
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 5px;
}
.pop-title .mini-btn:hover { background: rgba(53,54,96,0.08); color: #c0392b; }

.pop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 76px);
    gap: 8px;
    min-height: 80px;
}

.pop-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 2px;
    border-radius: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.pop-app:hover { background: rgba(53, 54, 96, 0.07); }
.pop-app .dock-icon { width: 44px; height: 44px; font-size: 26px; border-radius: 12px; }
.pop-app .label {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
body.editing .pop-app { cursor: grab; }
body.editing .pop-app.dragging { opacity: 0.35; }

/* ---------- windows ---------- */

.window {
    position: fixed;
    min-width: 320px;
    min-height: 240px;
    background: #fff;
    border: 1px solid var(--panel-border);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(53, 54, 96, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    resize: both;
    z-index: 100;
}
.window.focused { box-shadow: 0 28px 80px rgba(53, 54, 96, 0.42); }
.window.no-resize { resize: none; }

/* entrance: stay invisible while the tool loads & sizes itself,
   then fade in with a slight zoom (95% → 100%) */
.window { transition: opacity 0.22s ease-out, transform 0.22s ease-out; transform-origin: center; }
.window.win-loading { opacity: 0; transform: scale(0.95); pointer-events: none; }
.window.minimized { display: none; }

.win-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    background: linear-gradient(180deg, #fafbfe 0%, #f1f3f9 100%);
    border-bottom: 1px solid var(--panel-border);
    cursor: move;
    user-select: none;
    font-size: 13px;
}

/* macOS traffic lights */
.traffic { display: flex; gap: 7px; margin-right: 4px; }
.tl {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 8px;
    color: transparent;
    padding: 0;
}
.tl.close { background: #ff5f57; }
.tl.min   { background: #febc2e; }
.tl.zoom  { background: #28c840; }
.traffic:hover .tl { color: rgba(0, 0, 0, 0.55); }

/* titlebar chrome is always light — fixed ink color, independent of dark mode */
.win-title { flex: 1; font-weight: 600; color: #2b2e48; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-right { width: 76px; display: flex; justify-content: flex-end; }
.win-btn {
    border: none;
    background: transparent;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 13px;
    border-radius: 6px;
    padding: 2px 7px;
}
.win-btn:hover { background: rgba(53, 54, 96, 0.08); color: var(--text); }

.window iframe { flex: 1; border: none; background: #fff; }

/* Finder-style folder window: same chrome, icon grid instead of iframe */
.finder-body { flex: 1; overflow: auto; padding: 18px; background: #fff; }
.window .pop-app .label { color: #2b2e48; } /* white body even in dark mode */
.window .pop-app:hover { background: rgba(53, 54, 96, 0.07); }
body.win-dragging iframe { pointer-events: none; }
body.win-dragging { user-select: none; }

/* ---------- modals (edit mode) ---------- */

.modal-wall {
    position: fixed;
    inset: 0;
    background: rgba(35, 36, 64, 0.35);
    backdrop-filter: blur(4px);
    display: grid;
    place-items: center;
    z-index: 900;
}
.modal {
    width: min(430px, 92vw);
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    color: #2b2e48;
}
.modal h2 { font-size: 17px; letter-spacing: -0.01em; }
.modal label { font-size: 12px; font-weight: 600; color: #78809a; display: block; margin-bottom: 4px; }
.modal input, .modal select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d8dce8;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    background: #fff;
    color: inherit;
}
.modal input:focus, .modal select:focus { border-color: var(--accent); }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.modal .actions .danger { margin-right: auto; }
.modal button {
    padding: 9px 16px;
    border-radius: 10px;
    border: 1px solid #d8dce8;
    background: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    color: inherit;
}
.modal button.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.modal button.primary:hover { background: var(--accent); border-color: var(--accent); }
.modal button.danger { border-color: #f3c1c1; color: #c0392b; }
.modal button.danger:hover { background: #fbe4e4; }
.modal input[type="color"] { padding: 2px; height: 38px; cursor: pointer; }

/* ---------- Cmd+K palette ---------- */

.palette-wall { align-items: start; padding-top: 14vh; display: flex; justify-content: center; }
.palette {
    width: min(520px, 92vw);
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    color: #2b2e48;
}
.palette input {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-bottom: 1px solid #eef0f5;
    font-size: 17px;
    font-family: inherit;
    outline: none;
    color: inherit;
    background: #fff;
}
.pal-list { max-height: 46vh; overflow-y: auto; padding: 6px; }
.pal-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    color: inherit;
}
.pal-row.sel { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.pal-icon { width: 32px !important; height: 32px !important; font-size: 20px !important; border-radius: 9px !important; flex: none; }
.pal-name { font-size: 14.5px; font-weight: 600; flex: 1; }
.pal-group { font-size: 12px; color: #78809a; }

/* ---------- settings ---------- */

.seg { display: flex; gap: 6px; }
.seg-btn {
    flex: 1;
    padding: 8px 6px;
    border: 1px solid #d8dce8;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    color: #2b2e48;
}
.seg-btn.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    border: 1px solid rgba(53,54,96,0.18);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: #9aa0b4;
    font-size: 15px;
    outline-offset: 2px;
}
.swatch.on { outline: 2.5px solid var(--accent); }

.dropzone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1.5px dashed #c6cbdd;
    border-radius: 12px;
    cursor: pointer;
    background: #fafbfe;
    transition: border-color .15s, background .15s;
}
.dropzone:hover { border-color: var(--accent); }
.dropzone.drag { border-color: var(--accent); background: #fff5ef; }
.dz-icon { font-size: 22px; flex: none; }
.dz-text { font-size: 13px; color: #5a607a; line-height: 1.35; }
.dz-text small { color: #9aa0b4; }
.dz-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 20px; }
.dz-name { font-size: 12px; color: #78809a; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 820px) {
    #stage { padding-top: 32px; }
    .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    #menubar { gap: 7px; padding-inline: 10px; }
    .mb-clock, .logo-name { display: none; }
    #stage { padding: 24px 14px 116px; }
    .launcher-head { align-items: stretch; flex-direction: column; gap: 18px; }
    .launcher-search { width: 100%; }
    .app-grid { grid-template-columns: 1fr; }
    .app-card { min-height: 126px; }
}
