/*
 * Julkisen pääsivun käyttöliittymäkerros.
 * Varsinainen sisältö tulee edelleen data.js-tiedostosta.
 */

:root {
    --brand-cyan: #38d8ff;
    --brand-blue: #4f7cff;
    --brand-violet: #8b5cf6;
    --brand-pink: #f472b6;
    --brand-mint: #55e6b5;
    --brand-amber: #fbbf5a;
    --surface-deep: #07101f;
    --surface-panel: rgba(12, 22, 40, 0.88);
    --surface-card: rgba(27, 41, 65, 0.82);
    --surface-line: rgba(164, 193, 255, 0.17);
    --surface-copy: #eaf1ff;
    --surface-muted: #9fb0cc;
    --app-radius: 24px;
}

body {
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

#desktop::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 72% 10%, rgba(56, 216, 255, 0.09), transparent 30%),
        linear-gradient(180deg, rgba(2, 8, 20, 0.02), rgba(2, 8, 20, 0.28));
}

/* Työpöydän sovelluskuvakkeet */
.desktop-icons {
    gap: 12px;
}

.desktop-icon {
    width: 92px;
    padding: 8px 6px;
    border: 1px solid transparent;
    border-radius: 18px;
    isolation: isolate;
}

.desktop-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 14px 30px rgba(1, 7, 18, 0.28);
    transform: translateY(-2px) scale(1.02);
}

.desktop-icon .icon-img,
.wallpaper-group .desktop-icon > span:first-child {
    width: 60px;
    height: 60px;
    display: grid !important;
    place-items: center;
    margin: 0 auto 7px !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 17px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.05)),
        rgba(8, 18, 34, 0.55);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 12px 28px rgba(0, 0, 0, 0.28);
    font-size: 32px !important;
    filter: none;
}

.dock-group .desktop-icon:nth-child(2) .icon-img {
    background: linear-gradient(145deg, #37d7ff, #4358e8);
}

.dock-group .desktop-icon:nth-child(3) .icon-img {
    background: linear-gradient(145deg, #a977ff, #5a43e8);
}

.dock-group .desktop-icon:nth-child(4) .icon-img {
    background: linear-gradient(145deg, #52e5b3, #168b87);
}

.desktop-icon .icon-label,
.wallpaper-group .desktop-icon > span:last-child {
    display: block;
    padding: 3px 6px;
    color: #fff;
    background: rgba(4, 11, 24, 0.54);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Ikkunat */
.window {
    border: 1px solid rgba(162, 192, 255, 0.22);
    border-radius: var(--app-radius);
    background: rgba(11, 20, 36, 0.9);
    box-shadow:
        0 30px 80px rgba(1, 6, 18, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px) saturate(135%);
    -webkit-backdrop-filter: blur(30px) saturate(135%);
    overflow: hidden;
}

.window-header {
    min-height: 54px;
    padding: 10px 16px;
    background: rgba(14, 25, 44, 0.86);
    border-bottom-color: rgba(163, 191, 250, 0.14);
}

.window-title {
    color: #f2f6ff;
    font-size: 14px;
    letter-spacing: 0.01em;
}

.control-btn {
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: white;
    font-size: 17px;
    font-weight: 500;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

#servicesWindow,
#productsWindow {
    width: min(1040px, calc(100vw - 96px)) !important;
    height: min(720px, calc(100vh - 108px)) !important;
    min-width: 720px;
    min-height: 520px;
}

/* Palvelut-sovellus */
#servicesWindow .window-content {
    padding: 0;
    background: #091221;
}

.cp-container {
    height: 100%;
    padding: 30px;
    background:
        radial-gradient(circle at 0 0, rgba(56, 216, 255, 0.11), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.11), transparent 40%),
        #091221;
}

[data-theme="light"] .cp-container {
    background:
        radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.11), transparent 34%),
        #eef4ff;
}

.cp-category {
    margin-bottom: 34px;
}

.cp-category-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
    padding: 0;
    border: 0;
    color: #b8c7e3;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.cp-category-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-cyan);
    box-shadow: 0 0 18px rgba(56, 216, 255, 0.75);
}

.cp-count {
    margin-left: auto;
    padding: 4px 8px;
    border: 1px solid rgba(152, 181, 237, 0.16);
    border-radius: 999px;
    color: #8fa2c2;
    background: rgba(108, 139, 197, 0.08);
    font-size: 10px;
    letter-spacing: 0;
}

.cp-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
}

.cp-card,
[data-theme="dark"] .cp-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
    min-height: 196px;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(143, 174, 235, 0.17);
    border-radius: 21px;
    background:
        linear-gradient(145deg, rgba(38, 57, 89, 0.9), rgba(16, 28, 50, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 36px rgba(1, 7, 20, 0.2);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.cp-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -42px;
    bottom: -54px;
    border-radius: 50%;
    background: var(--card-glow, var(--brand-cyan));
    opacity: 0.11;
    filter: blur(3px);
    pointer-events: none;
}

.cp-card:hover,
[data-theme="dark"] .cp-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--card-glow, var(--brand-cyan)) 55%, transparent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 24px 48px rgba(1, 7, 20, 0.35);
}

.cp-card[data-accent="violet"] { --card-glow: var(--brand-violet); }
.cp-card[data-accent="mint"] { --card-glow: var(--brand-mint); }
.cp-card[data-accent="amber"] { --card-glow: var(--brand-amber); }
.cp-card[data-accent="pink"] { --card-glow: var(--brand-pink); }

.cp-icon,
[data-theme="dark"] .cp-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--card-glow, var(--brand-cyan)) 75%, white 5%), color-mix(in srgb, var(--card-glow, var(--brand-blue)) 48%, #0d1b34));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 26px color-mix(in srgb, var(--card-glow, var(--brand-cyan)) 22%, transparent);
    font-size: 27px;
}

.cp-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.cp-title,
[data-theme="dark"] .cp-title {
    margin: 2px 0 7px;
    color: #f4f7ff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.cp-desc,
[data-theme="dark"] .cp-desc {
    margin: 0 0 13px;
    color: #aab8cf;
    font-size: 13px;
    line-height: 1.52;
}

.cp-meta {
    margin-top: auto;
}

.cp-price,
[data-theme="dark"] .cp-price {
    color: var(--card-glow, var(--brand-cyan));
    font-size: 14px;
    font-weight: 800;
}

.order-btn,
[data-theme="dark"] .order-btn {
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 11px;
    color: #06121f;
    background: linear-gradient(135deg, var(--brand-cyan), #75b8ff);
    box-shadow: 0 10px 22px rgba(42, 184, 244, 0.18);
    font-size: 12px;
    font-weight: 800;
}

.order-btn:hover,
[data-theme="dark"] .order-btn:hover {
    color: #06121f;
    background: linear-gradient(135deg, #78e6ff, #98c7ff);
}

/* Tuotteet-sovellus */
#productsWindow .window-content {
    padding: 0;
    background: #08101e;
}

#productsWindow .window-header {
    height: 54px;
    padding: 10px 14px;
    align-items: center;
    background: rgba(14, 24, 41, 0.96);
}

#productsWindow .window-title {
    min-width: 170px;
    height: auto;
    padding: 8px 14px;
    border: 1px solid rgba(161, 188, 242, 0.15);
    border-radius: 12px;
    color: #f5f7ff;
    background: rgba(77, 104, 158, 0.12);
    box-shadow: none;
    font-size: 13px;
}

.browser-toolbar {
    min-height: 50px;
    padding: 9px 14px;
    gap: 8px;
    border-bottom: 1px solid rgba(154, 184, 241, 0.12);
    background: rgba(10, 19, 34, 0.96);
}

.browser-nav-btn {
    color: #91a2bd;
}

.browser-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.browser-address-bar {
    max-width: 620px;
    margin: 0 auto;
    padding: 8px 15px;
    border: 1px solid rgba(148, 180, 241, 0.14);
    color: #bdc8da;
    background: rgba(58, 78, 115, 0.18);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.18);
}

.browser-viewport {
    padding: 0;
    background:
        radial-gradient(circle at 80% 0, rgba(139, 92, 246, 0.12), transparent 28%),
        #0b1424;
}

.store-header {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 72px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(155, 183, 237, 0.12);
    background: rgba(10, 18, 32, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.store-logo {
    color: #f2f6ff;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.store-search input {
    border: 1px solid rgba(156, 184, 239, 0.16);
    color: #dce6f7;
    background: rgba(78, 101, 143, 0.14);
}

.store-hero {
    position: relative;
    margin: 24px 24px 6px;
    padding: 34px 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.3), transparent 20%),
        linear-gradient(135deg, #2574e8 0%, #6347d8 55%, #9b4acc 100%);
    box-shadow: 0 22px 48px rgba(25, 38, 105, 0.28);
    text-align: left;
}

.store-hero::after {
    content: "✦";
    position: absolute;
    right: 46px;
    top: 6px;
    color: rgba(255, 255, 255, 0.22);
    font-size: 112px;
    line-height: 1;
    transform: rotate(12deg);
}

.store-hero h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    font-size: clamp(25px, 3vw, 35px);
    letter-spacing: -0.04em;
}

.store-hero p {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.82);
}

.store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    padding: 22px 24px 34px;
}

.product-card,
[data-theme="dark"] .product-card {
    position: relative;
    min-height: 345px;
    overflow: hidden;
    border: 1px solid rgba(148, 179, 238, 0.17);
    border-radius: 22px;
    background: linear-gradient(165deg, rgba(35, 51, 79, 0.98), rgba(15, 25, 44, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 18px 38px rgba(1, 7, 20, 0.19);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--product-glow, var(--brand-violet)) 55%, transparent);
    box-shadow: 0 28px 50px rgba(1, 6, 18, 0.36);
}

.product-card[data-accent="cyan"] { --product-glow: var(--brand-cyan); }
.product-card[data-accent="violet"] { --product-glow: var(--brand-violet); }
.product-card[data-accent="pink"] { --product-glow: var(--brand-pink); }
.product-card[data-accent="mint"] { --product-glow: var(--brand-mint); }
.product-card[data-accent="amber"] { --product-glow: var(--brand-amber); }

.product-image-area,
[data-theme="dark"] .product-image-area {
    height: 168px;
    overflow: hidden;
    background:
        radial-gradient(circle at 68% 24%, color-mix(in srgb, var(--product-glow, var(--brand-violet)) 36%, transparent), transparent 36%),
        linear-gradient(150deg, #1d2c48, #101a2e);
}

.product-image-area::after {
    content: "";
    position: absolute;
    inset: auto 20px 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--product-glow, var(--brand-violet)), transparent);
    opacity: 0.65;
}

.product-image-area.is-placeholder img {
    display: none;
}

.product-visual-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
        color-mix(in srgb, var(--product-glow, var(--brand-violet)) 28%, #14213a);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 22px 40px color-mix(in srgb, var(--product-glow, var(--brand-violet)) 25%, transparent);
    font-size: 48px;
    transform: rotate(-3deg);
}

.product-info {
    padding: 19px;
}

.product-title,
[data-theme="dark"] .product-title {
    margin-bottom: 8px;
    color: #f2f6ff;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.product-desc,
[data-theme="dark"] .product-desc {
    color: #a9b7cc;
    font-size: 13px;
    line-height: 1.5;
}

.product-price,
[data-theme="dark"] .product-price {
    min-height: 4px;
    color: var(--product-glow, var(--brand-violet));
}

.buy-btn,
[data-theme="dark"] .buy-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, color-mix(in srgb, var(--product-glow, var(--brand-violet)) 82%, #3278ff), var(--brand-blue));
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--product-glow, var(--brand-violet)) 18%, transparent);
}

.buy-btn:hover,
[data-theme="dark"] .buy-btn:hover {
    background: linear-gradient(135deg, color-mix(in srgb, var(--product-glow, var(--brand-violet)) 72%, white), #638cff);
}

/* Kenoharavan monisäikeiseen riviluontiin perustuva CPU-benchmark */
#benchmarkWindow {
    width: min(820px, calc(100vw - 96px)) !important;
    height: min(720px, calc(100vh - 108px)) !important;
    min-width: 620px;
    min-height: 560px;
}

.cpu-benchmark-app {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 28px;
    color: #ecf3ff;
    background:
        radial-gradient(circle at 92% 0, rgba(244, 114, 182, 0.13), transparent 31%),
        radial-gradient(circle at 0 25%, rgba(56, 216, 255, 0.12), transparent 34%),
        #08111f;
}

.cpu-benchmark-intro {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
}

.cpu-benchmark-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.cpu-benchmark-intro h2 {
    margin: 0 0 8px;
    color: #f7f9ff;
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.cpu-benchmark-intro p {
    max-width: 560px;
    margin: 0;
    color: #9eacc2;
    font-size: 13px;
    line-height: 1.5;
}

.cpu-benchmark-range {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid rgba(111, 226, 255, 0.22);
    border-radius: 999px;
    color: #aeefff;
    background: rgba(56, 216, 255, 0.08);
    font-size: 11px;
    font-weight: 800;
}

.cpu-benchmark-main {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
}

.cpu-score-ring {
    --score-progress: 0deg;
    position: relative;
    display: grid;
    width: 236px;
    height: 236px;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #0c1728 61%, transparent 62%),
        conic-gradient(from 220deg, var(--brand-cyan) 0 var(--score-progress), rgba(101, 133, 184, 0.15) var(--score-progress) 360deg);
    box-shadow:
        0 0 52px rgba(56, 216, 255, 0.12),
        inset 0 0 34px rgba(1, 5, 15, 0.48);
}

.cpu-score-ring::before,
.cpu-score-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cpu-score-ring::before {
    inset: 12px;
    border: 1px solid rgba(162, 193, 247, 0.12);
}

.cpu-score-ring::after {
    inset: -7px;
    border: 1px dashed rgba(91, 221, 255, 0.18);
    animation: cpuOrbit 18s linear infinite;
}

@keyframes cpuOrbit {
    to { transform: rotate(360deg); }
}

.cpu-score-ring-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.cpu-score-label {
    color: #7ddff7;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.cpu-score-ring strong {
    margin: 6px 0 2px;
    color: #fff;
    font-size: 43px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: -0.055em;
    text-shadow: 0 0 28px rgba(56, 216, 255, 0.28);
}

.cpu-score-max {
    color: #798aa5;
    font-size: 11px;
    font-weight: 750;
}

.cpu-benchmark-details {
    display: grid;
    gap: 14px;
}

.cpu-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.cpu-metric {
    display: flex;
    min-width: 0;
    min-height: 72px;
    padding: 13px 15px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(144, 175, 235, 0.14);
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(39, 56, 86, 0.72), rgba(16, 28, 48, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cpu-metric span {
    margin-bottom: 5px;
    color: #8496b2;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cpu-metric strong {
    overflow: hidden;
    color: #edf4ff;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    text-overflow: ellipsis;
}

.cpu-worker-panel {
    padding: 14px 15px 15px;
    border: 1px solid rgba(144, 175, 235, 0.14);
    border-radius: 16px;
    background: rgba(12, 23, 41, 0.68);
}

.cpu-worker-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
    color: #8fa0b9;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cpu-worker-grid {
    display: grid;
    height: 38px;
    grid-template-columns: repeat(auto-fit, minmax(9px, 1fr));
    gap: 5px;
    align-items: end;
}

.cpu-worker-bar {
    --worker-load: 30%;
    display: block;
    height: var(--worker-load);
    min-height: 9px;
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--brand-cyan), #4268ef);
    box-shadow: 0 0 12px rgba(56, 216, 255, 0.16);
    transition: height 400ms ease;
}

.cpu-worker-bar.is-waiting {
    animation: cpuWorkerLoad 700ms ease-in-out var(--worker-delay, 0ms) infinite alternate;
}

.cpu-worker-bar.is-complete {
    background: linear-gradient(180deg, var(--brand-mint), #30a88c);
}

@keyframes cpuWorkerLoad {
    from { height: 22%; opacity: 0.55; }
    to { height: 96%; opacity: 1; }
}

.cpu-progress-track {
    height: 7px;
    overflow: hidden;
    border: 1px solid rgba(140, 170, 225, 0.12);
    border-radius: 999px;
    background: rgba(81, 105, 148, 0.14);
}

.cpu-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan), var(--brand-mint));
    box-shadow: 0 0 16px rgba(56, 216, 255, 0.4);
    transition: width 120ms linear;
}

.cpu-benchmark-status {
    min-height: 20px;
    margin: -8px 0 0;
    color: #9aa9c0;
    font-size: 12px;
    line-height: 1.45;
}

.cpu-benchmark-actions {
    display: flex;
    gap: 10px;
}

.cpu-benchmark-actions button {
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 13px;
    color: #07131f;
    background: linear-gradient(135deg, var(--brand-cyan), #83b5ff);
    box-shadow: 0 13px 28px rgba(47, 176, 237, 0.18);
    font: inherit;
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.cpu-benchmark-actions button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.cpu-benchmark-actions button.secondary {
    color: #e8effd;
    background: rgba(77, 99, 139, 0.18);
    box-shadow: none;
}

.cpu-method-note {
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid rgba(146, 176, 233, 0.12);
    color: #72839d;
    font-size: 10px;
    line-height: 1.55;
}

/* Tervetuloa-sovellus */
#welcomeWindow {
    width: min(640px, calc(100vw - 64px)) !important;
    height: min(440px, calc(100vh - 96px)) !important;
    min-width: 520px;
    min-height: 360px;
}

#welcomeWindow .hero-content {
    position: relative;
    isolation: isolate;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #07101d;
}

#welcomeWindow .hero-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 11, 22, 0.9) 0%, rgba(4, 12, 24, 0.68) 56%, rgba(4, 12, 24, 0.25) 100%),
        linear-gradient(0deg, rgba(3, 9, 18, 0.9) 0%, transparent 58%);
    pointer-events: none;
}

#welcomeWindow .hero-content::after {
    content: "";
    position: absolute;
    top: -76px;
    right: -50px;
    z-index: 1;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(65, 214, 255, 0.28), transparent 66%);
    pointer-events: none;
}

.welcome-backdrop {
    position: absolute;
    inset: -8px;
    z-index: 0;
    background-image: url("paa2.webp");
    background-position: center 28%;
    background-size: cover;
    filter: saturate(0.82) contrast(1.08);
    transform: scale(1.025);
}

.welcome-copy {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    padding: 30px 32px 26px;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.38);
}

.welcome-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 11px;
    color: #b7efff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.welcome-kicker > span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--brand-mint);
    box-shadow: 0 0 16px rgba(85, 230, 181, 0.78);
}

.welcome-copy h1 {
    max-width: 540px;
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(34px, 4vw, 43px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.welcome-copy p {
    max-width: 510px;
    margin: 0;
    color: rgba(235, 243, 255, 0.82);
    font-size: 13px;
    line-height: 1.55;
}

.welcome-actions {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

.welcome-actions button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.welcome-actions .welcome-action-primary {
    border-color: rgba(173, 240, 255, 0.5);
    color: #06131f;
    background: linear-gradient(135deg, #65e3ff, #91b8ff);
    text-shadow: none;
}

.welcome-actions button:hover {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.welcome-actions .welcome-action-secondary:hover {
    background: rgba(255, 255, 255, 0.17);
}

.welcome-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.welcome-service-tags span {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(235, 244, 255, 0.78);
    background: rgba(8, 19, 35, 0.28);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.02em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Yhteystiedot-sovellus */
#contactWindow {
    width: min(780px, calc(100vw - 48px)) !important;
    height: min(580px, calc(100vh - 86px)) !important;
    min-width: 680px;
    min-height: 520px;
}

#contactWindow .window-content {
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 0 0, rgba(56, 216, 255, 0.1), transparent 38%),
        #091221;
}

.contact-card {
    display: grid;
    height: 100%;
    min-height: 0;
    padding: 0;
    gap: 0;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    justify-content: stretch;
    text-align: left;
    cursor: default;
}

.contact-card:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.contact-details-box {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    position: relative;
    padding: 26px 28px 24px;
    overflow-y: auto;
    color: #eef5ff;
    background:
        radial-gradient(circle at 0 0, rgba(56, 216, 255, 0.1), transparent 40%),
        linear-gradient(160deg, rgba(18, 34, 59, 0.96), rgba(9, 18, 33, 0.98));
}

.contact-details-box::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 22px;
    pointer-events: none;
}

.contact-identity {
    margin-bottom: 16px;
}

.contact-card-heading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-monogram {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 17px;
    color: #071421;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent 48%),
        linear-gradient(135deg, var(--brand-cyan), #82aaff);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        0 12px 28px rgba(43, 175, 234, 0.18);
    font-size: 17px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.contact-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-cyan);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.contact-identity h2 {
    margin: 0;
    color: #f7f9ff;
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.contact-identity p {
    margin: 11px 0 0;
    color: #9eacc2;
    font-size: 12px;
    line-height: 1.55;
}

.contact-quick-actions {
    display: grid;
    margin: 0 0 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.contact-quick-actions a {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 8px;
    border: 1px solid rgba(133, 183, 255, 0.14);
    border-radius: 14px;
    color: #9fdbff;
    background: rgba(63, 132, 221, 0.12);
    font-size: 10px;
    font-weight: 820;
    text-decoration: none;
    transition: background 160ms ease, transform 160ms ease;
}

.contact-quick-actions a:hover {
    color: #dff5ff;
    background: rgba(66, 151, 232, 0.22);
    text-decoration: none;
    transform: translateY(-1px);
}

.contact-quick-actions a span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    color: #071421;
    background: #6bdcff;
    font-size: 11px;
    font-weight: 900;
}

.contact-list {
    display: grid;
    gap: 8px;
}

.contact-details-box .contact-row {
    display: grid;
    min-width: 0;
    min-height: 49px;
    margin: 0;
    padding: 6px 9px;
    grid-template-columns: 36px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(151, 181, 235, 0.13);
    border-radius: 16px;
    color: #eff5ff;
    background: rgba(91, 119, 167, 0.1);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.contact-details-box a.contact-row:hover {
    border-color: rgba(75, 211, 255, 0.36);
    background: rgba(72, 149, 218, 0.16);
    text-decoration: none;
    transform: translateX(2px);
}

.contact-row-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #dff8ff;
    background: linear-gradient(145deg, rgba(55, 216, 255, 0.28), rgba(92, 89, 242, 0.22));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
    font-size: 17px;
    font-weight: 850;
}

.contact-row > span:nth-child(2) {
    min-width: 0;
}

.contact-row small,
.contact-row strong {
    display: block;
    min-width: 0;
}

.contact-row small {
    margin-bottom: 3px;
    color: #8595af;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-row strong {
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 12px;
    line-height: 1.35;
}

.contact-row-arrow {
    color: #6edfff;
    font-size: 17px;
    text-align: center;
}

.contact-row-static {
    grid-template-columns: 36px minmax(0, 1fr) !important;
}

.contact-save-button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    color: #06131f;
    background: linear-gradient(135deg, var(--brand-cyan), #8eb7ff);
    box-shadow: 0 14px 28px rgba(46, 173, 234, 0.17);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.contact-save-button:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.map-container {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: auto;
    min-width: 0;
    height: 100%;
    border: 0;
    border-right: 1px solid rgba(150, 182, 239, 0.13);
    border-radius: 0;
    box-shadow: none;
    background: #101a2b;
}

.contact-map-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 2;
    display: grid;
    min-height: 72px;
    padding: 11px 12px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(118, 130, 147, 0.18);
    border-radius: 18px;
    color: #192332;
    background: rgba(252, 252, 253, 0.91);
    box-shadow: 0 16px 36px rgba(35, 47, 65, 0.18);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.contact-map-pin {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: white;
    background: linear-gradient(145deg, #ff5b52, #d92e47);
    box-shadow: 0 7px 17px rgba(218, 49, 69, 0.27);
    font-size: 9px;
}

.contact-map-place {
    min-width: 0;
}

.contact-map-place small,
.contact-map-place strong {
    display: block;
}

.contact-map-place small {
    margin-bottom: 3px;
    color: #697589;
    font-size: 9px;
    font-weight: 760;
}

.contact-map-place strong {
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-map-open {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #0869df;
    background: rgba(12, 111, 238, 0.1);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.contact-map-open:hover {
    background: rgba(12, 111, 238, 0.16);
    text-decoration: none;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(0.88) contrast(1.04);
}

@media (min-width: 721px) {
    .contact-details-box {
        padding: 20px 22px 18px;
    }

    .contact-identity {
        margin-bottom: 12px;
    }

    .contact-card-heading {
        gap: 12px;
    }

    .contact-monogram {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px;
        font-size: 15px;
    }

    .contact-kicker {
        margin-bottom: 5px;
        font-size: 9px;
    }

    .contact-identity h2 {
        font-size: 24px;
    }

    .contact-identity p {
        margin-top: 8px;
        font-size: 11px;
        line-height: 1.45;
    }

    .contact-quick-actions {
        margin-bottom: 12px;
        gap: 7px;
    }

    .contact-quick-actions a {
        min-height: 40px;
    }

    .contact-list {
        gap: 6px;
    }

    .contact-details-box .contact-row {
        min-height: 44px;
        padding: 4px 8px;
        grid-template-columns: 34px minmax(0, 1fr) 15px;
        gap: 9px;
        border-radius: 14px;
    }

    .contact-row-icon {
        width: 34px;
        height: 34px;
        border-radius: 11px;
        font-size: 15px;
    }

    .contact-row-static {
        grid-template-columns: 34px minmax(0, 1fr) !important;
    }

    .contact-save-button {
        min-height: 40px;
        margin-top: 10px;
    }

    .contact-map-overlay {
        min-height: 66px;
        padding: 9px 10px;
    }
}

/* Vaalea teema */
[data-theme="light"] .window {
    border-color: rgba(70, 102, 158, 0.2);
    background: rgba(245, 249, 255, 0.94);
}

[data-theme="light"] .window-header,
[data-theme="light"] #productsWindow .window-header {
    background: rgba(239, 245, 255, 0.94);
}

[data-theme="light"] .window-title,
[data-theme="light"] #productsWindow .window-title {
    color: #142038;
}

[data-theme="light"] .cp-card,
[data-theme="light"] .product-card {
    border-color: rgba(61, 94, 153, 0.17);
    background: linear-gradient(155deg, #ffffff, #edf3ff);
    box-shadow: 0 18px 38px rgba(51, 77, 123, 0.12);
}

[data-theme="light"] .cp-title,
[data-theme="light"] .product-title {
    color: #13213b;
}

[data-theme="light"] .cp-desc,
[data-theme="light"] .product-desc {
    color: #53647d;
}

[data-theme="light"] .browser-toolbar,
[data-theme="light"] .store-header {
    background: rgba(245, 248, 255, 0.92);
}

[data-theme="light"] .browser-viewport {
    background: #edf3ff;
}

[data-theme="light"] .browser-address-bar {
    color: #53627a;
    background: rgba(79, 107, 160, 0.09);
}

[data-theme="light"] .store-logo {
    color: #17243b;
}

[data-theme="light"] .cpu-benchmark-app {
    color: #15223a;
    background:
        radial-gradient(circle at 92% 0, rgba(168, 85, 247, 0.1), transparent 31%),
        #eef4ff;
}

[data-theme="light"] .cpu-benchmark-intro h2,
[data-theme="light"] .cpu-score-ring strong,
[data-theme="light"] .cpu-metric strong {
    color: #14213a;
}

[data-theme="light"] .cpu-benchmark-intro p,
[data-theme="light"] .cpu-benchmark-status {
    color: #5e6e87;
}

[data-theme="light"] .cpu-score-ring {
    background:
        radial-gradient(circle at center, #f7faff 61%, transparent 62%),
        conic-gradient(from 220deg, #168fb6 0 var(--score-progress), rgba(86, 112, 158, 0.15) var(--score-progress) 360deg);
    box-shadow: 0 20px 48px rgba(59, 89, 139, 0.13);
}

[data-theme="light"] .cpu-metric,
[data-theme="light"] .cpu-worker-panel {
    border-color: rgba(66, 96, 150, 0.15);
    background: rgba(255, 255, 255, 0.68);
}

[data-theme="light"] #contactWindow .window-content {
    background:
        radial-gradient(circle at 0 0, rgba(65, 139, 233, 0.1), transparent 38%),
        #edf3ff;
}

[data-theme="light"] .contact-details-box {
    color: #14213a;
    background:
        radial-gradient(circle at 0 0, rgba(71, 164, 239, 0.13), transparent 42%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(237, 243, 255, 0.98));
}

[data-theme="light"] .contact-details-box::after {
    border-color: rgba(44, 78, 136, 0.07);
}

[data-theme="light"] .contact-identity h2,
[data-theme="light"] .contact-row strong {
    color: #14213a;
}

[data-theme="light"] .contact-identity p,
[data-theme="light"] .contact-row small {
    color: #63728b;
}

[data-theme="light"] .contact-details-box .contact-row {
    border-color: rgba(61, 94, 153, 0.14);
    color: #14213a;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 22px rgba(51, 77, 123, 0.06);
}

[data-theme="light"] .contact-details-box a.contact-row:hover {
    border-color: rgba(39, 147, 207, 0.33);
    background: #fff;
}

[data-theme="light"] .contact-row-icon {
    border-color: rgba(65, 101, 167, 0.13);
    color: #1f5e89;
    background: linear-gradient(145deg, rgba(48, 201, 236, 0.22), rgba(100, 103, 241, 0.13));
}

[data-theme="light"] .contact-quick-actions a {
    border-color: rgba(35, 112, 199, 0.12);
    color: #146fc4;
    background: rgba(46, 129, 222, 0.08);
}

[data-theme="light"] .contact-quick-actions a:hover {
    color: #075aa8;
    background: rgba(46, 129, 222, 0.13);
}

[data-theme="light"] .contact-quick-actions a span {
    color: #064d76;
    background: #bceeff;
}

[data-theme="light"] .map-container {
    border-right-color: rgba(61, 94, 153, 0.14);
    background: #dce7f8;
}

/* Mobiilin kotinäkymä luodaan site-enhancements.js-tiedostossa. */
.mobile-home {
    display: none;
}

@media (max-width: 720px) {
    :root {
        --app-radius: 28px;
    }

    #desktop {
        min-height: 100dvh;
        background-position: center;
    }

    #desktop::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background:
            linear-gradient(180deg, rgba(3, 10, 23, 0.1), rgba(3, 10, 23, 0.64)),
            radial-gradient(circle at 68% 10%, rgba(55, 214, 255, 0.16), transparent 34%);
        pointer-events: none;
    }

    .mobile-home {
        position: fixed;
        inset: 0;
        z-index: 2;
        display: block;
        padding:
            max(10px, env(safe-area-inset-top))
            18px
            calc(190px + env(safe-area-inset-bottom));
        color: #fff;
        overflow-y: auto;
        pointer-events: none;
    }

    .mobile-status-bar {
        display: flex;
        min-height: 26px;
        align-items: center;
        justify-content: space-between;
        padding: 0 6px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.01em;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    }

    .mobile-status-icons {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        pointer-events: auto;
    }

    .mobile-theme-toggle {
        display: grid;
        width: 26px;
        height: 26px;
        margin-left: 2px;
        padding: 0;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 999px;
        color: #fff;
        background: rgba(9, 20, 38, 0.36);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13);
        font: inherit;
        font-size: 12px;
        cursor: pointer;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    [data-theme="light"] .mobile-theme-toggle {
        border-color: rgba(255, 255, 255, 0.6);
        color: #14213a;
        background: rgba(239, 246, 255, 0.76);
    }

    .mobile-brand-widget {
        position: relative;
        margin-top: 14px;
        padding: 23px 21px 20px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 28px;
        background:
            radial-gradient(circle at 86% 6%, rgba(255, 255, 255, 0.2), transparent 28%),
            linear-gradient(145deg, rgba(29, 71, 135, 0.82), rgba(44, 25, 92, 0.76));
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.16),
            0 24px 50px rgba(0, 0, 0, 0.26);
        backdrop-filter: blur(24px) saturate(140%);
        -webkit-backdrop-filter: blur(24px) saturate(140%);
        pointer-events: auto;
    }

    .mobile-widget-kicker {
        margin: 0 0 7px;
        color: #aeeeff;
        font-size: 11px;
        font-weight: 850;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .mobile-brand-widget h1 {
        max-width: 88%;
        margin: 0 0 9px;
        color: #fff;
        font-size: clamp(25px, 7vw, 32px);
        line-height: 1.04;
        letter-spacing: -0.045em;
    }

    .mobile-brand-widget p {
        display: -webkit-box;
        margin: 0;
        overflow: hidden;
        color: rgba(235, 244, 255, 0.82);
        font-size: 13px;
        line-height: 1.48;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .mobile-quick-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
        margin-top: 17px;
    }

    .mobile-quick-action {
        display: flex;
        min-height: 40px;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 8px 10px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 13px;
        color: #fff;
        background: rgba(255, 255, 255, 0.11);
        font: inherit;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-quick-action.primary {
        color: #05141f;
        background: linear-gradient(135deg, #63e2ff, #a2c4ff);
    }

    .desktop-icons {
        position: fixed;
        inset: 0;
        z-index: 4;
        display: block;
        pointer-events: none;
    }

    .dock-group {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        z-index: 1000;
        display: grid;
        width: auto;
        max-width: none;
        min-height: 88px;
        padding: 10px 8px 8px;
        transform: none;
        grid-template-columns: repeat(4, 1fr);
        align-items: center;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 27px;
        background: rgba(13, 24, 43, 0.64);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 24px 54px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(30px) saturate(150%);
        -webkit-backdrop-filter: blur(30px) saturate(150%);
        pointer-events: auto;
    }

    [data-theme="light"] .dock-group {
        border-color: rgba(255, 255, 255, 0.48);
        background: rgba(232, 241, 255, 0.62);
    }

    .dock-group .desktop-icon {
        width: auto;
        min-width: 0;
        padding: 0 2px;
        margin: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .dock-group .desktop-icon:hover {
        transform: none;
    }

    .dock-group .desktop-icon .icon-img {
        width: 50px;
        height: 50px;
        margin-bottom: 4px !important;
        border-radius: 15px;
        font-size: 25px !important;
    }

    .dock-group .desktop-icon:active .icon-img {
        transform: scale(0.9);
    }

    .dock-group .icon-label {
        max-width: 72px;
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.92);
        background: transparent;
        font-size: 9px;
        font-weight: 750;
        line-height: 1.2;
        text-overflow: ellipsis;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.6);
        white-space: nowrap;
    }

    [data-theme="light"] .dock-group .icon-label {
        color: #15213a;
        text-shadow: none;
    }

    .wallpaper-group {
        position: fixed;
        top: min(370px, 52vh);
        left: 18px;
        right: 18px;
        z-index: 4;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        pointer-events: auto;
    }

    .wallpaper-group .desktop-icon {
        width: auto;
        margin: 0;
        padding: 5px 2px;
    }

    .wallpaper-group .desktop-icon > span:first-child,
    .wallpaper-group .desktop-icon .icon-img {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 27px !important;
    }

    .wallpaper-group .desktop-icon > span:last-child,
    .wallpaper-group .icon-label {
        padding: 2px;
        overflow: hidden;
        background: transparent;
        font-size: 10px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .window,
    #servicesWindow,
    #productsWindow,
    #benchmarkWindow {
        position: fixed !important;
        inset: max(34px, env(safe-area-inset-top)) 0 auto !important;
        z-index: 50;
        width: 100% !important;
        height: calc(100dvh - 136px - env(safe-area-inset-bottom)) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        border-width: 1px 0 0;
        border-radius: 28px 28px 0 0;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
        resize: none !important;
        animation: mobileAppOpen 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    #welcomeWindow,
    #contactWindow {
        width: 100% !important;
        height: calc(100dvh - 136px - env(safe-area-inset-bottom)) !important;
        max-width: none;
        max-height: none;
        min-width: 0;
        min-height: 0;
    }

    .cpu-benchmark-app {
        gap: 15px;
        padding: 18px 15px 24px;
    }

    .cpu-benchmark-intro {
        gap: 12px;
    }

    .cpu-benchmark-intro h2 {
        font-size: 23px;
    }

    .cpu-benchmark-intro p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .cpu-benchmark-range {
        padding: 6px 8px;
        font-size: 9px;
    }

    .cpu-benchmark-main {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .cpu-score-ring {
        width: 156px;
        height: 156px;
        margin: 0 auto;
    }

    .cpu-score-ring strong {
        font-size: 31px;
    }

    .cpu-score-label {
        font-size: 8px;
    }

    .cpu-metric-grid {
        gap: 7px;
    }

    .cpu-metric {
        min-height: 57px;
        padding: 9px 11px;
        border-radius: 13px;
    }

    .cpu-metric span {
        margin-bottom: 2px;
        font-size: 8px;
    }

    .cpu-metric strong {
        font-size: 14px;
    }

    .cpu-worker-panel {
        padding: 10px 12px;
        border-radius: 13px;
    }

    .cpu-worker-grid {
        height: 28px;
    }

    .cpu-benchmark-actions button {
        flex: 1;
        min-height: 42px;
        padding: 8px 10px;
        font-size: 11px;
    }

    .cpu-method-note {
        font-size: 9px;
    }

    @keyframes mobileAppOpen {
        from { transform: translateY(24px) scale(0.985); opacity: 0; }
        to { transform: translateY(0) scale(1); opacity: 1; }
    }

    .window-header,
    #productsWindow .window-header {
        min-height: 54px;
        padding: 10px 14px;
        border-radius: 28px 28px 0 0;
        cursor: default;
    }

    .window-title,
    #productsWindow .window-title {
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        font-size: 15px;
    }

    .control-btn {
        width: 32px;
        height: 32px;
    }

    .window-content {
        height: calc(100% - 54px);
        padding: 16px;
        border-radius: 0;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    #welcomeWindow .window-content {
        min-height: 0 !important;
    }

    #welcomeWindow .hero-content::before {
        background:
            linear-gradient(180deg, rgba(4, 11, 22, 0.24) 0%, rgba(4, 12, 24, 0.64) 48%, rgba(3, 9, 18, 0.94) 100%),
            linear-gradient(90deg, rgba(4, 11, 22, 0.55), transparent 88%);
    }

    #welcomeWindow .welcome-backdrop {
        background-position: center 24%;
    }

    #welcomeWindow .welcome-copy {
        padding: 24px 20px 22px;
    }

    #welcomeWindow .welcome-copy h1 {
        max-width: 94%;
        font-size: clamp(31px, 9vw, 38px);
        line-height: 1.04;
    }

    #welcomeWindow .welcome-copy p {
        max-width: 96%;
        font-size: 13px;
    }

    #welcomeWindow .welcome-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    #welcomeWindow .welcome-actions button {
        min-height: 44px;
        padding: 8px 9px;
        font-size: 10px;
    }

    #welcomeWindow .welcome-service-tags {
        margin-top: 14px;
    }

    .cp-container {
        padding: 18px 14px 28px;
    }

    .cp-category {
        margin-bottom: 26px;
    }

    .cp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cp-card,
    [data-theme="dark"] .cp-card {
        min-height: 172px;
        padding: 17px;
        border-radius: 20px;
    }

    .cp-icon,
    [data-theme="dark"] .cp-icon {
        width: 52px;
        height: 52px;
        border-radius: 15px;
        font-size: 24px;
    }

    .cp-title {
        font-size: 16px;
    }

    .browser-toolbar {
        min-height: 44px;
        padding: 7px 10px;
    }

    .browser-nav-btn:nth-child(2),
    .browser-nav-btn:nth-child(3),
    .browser-toolbar > .browser-nav-btn:last-child {
        display: none;
    }

    .browser-address-bar {
        min-width: 0;
        padding: 7px 11px;
        overflow: hidden;
        font-size: 11px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .store-header {
        min-height: 60px;
        padding: 11px 14px;
    }

    .store-logo {
        font-size: 15px;
    }

    .store-search {
        display: none;
    }

    .store-hero {
        margin: 14px 14px 4px;
        padding: 24px 20px;
        border-radius: 20px;
    }

    .store-hero h2 {
        max-width: 80%;
        font-size: 25px;
        line-height: 1.08;
    }

    .store-hero p {
        max-width: 82%;
        font-size: 12px;
    }

    .store-hero::after {
        right: 14px;
        top: 14px;
        font-size: 76px;
    }

    .store-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 14px 28px;
    }

    .product-card,
    [data-theme="dark"] .product-card {
        display: grid;
        min-height: 168px;
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 20px;
    }

    .product-card:hover {
        transform: none;
    }

    .product-image-area,
    [data-theme="dark"] .product-image-area {
        width: 112px;
        height: 100%;
        min-height: 168px;
    }

    .product-image-area::after {
        inset: 16px 0 16px auto;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, transparent, var(--product-glow, var(--brand-violet)), transparent);
    }

    .product-visual-icon {
        width: 70px;
        height: 70px;
        border-radius: 21px;
        font-size: 34px;
    }

    .product-info {
        padding: 15px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-desc {
        margin-bottom: 10px;
        font-size: 11px;
        line-height: 1.4;
    }

    .buy-btn,
    [data-theme="dark"] .buy-btn {
        padding: 8px 10px;
    }

    #contactWindow .window-content {
        padding: 0;
        overflow-y: auto;
    }

    .contact-card {
        display: flex;
        height: auto;
        min-height: 100%;
        gap: 0;
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
    }

    .contact-details-box {
        width: 100%;
        min-width: 0;
        padding: 20px 16px 18px;
        overflow: visible;
        flex: none;
        order: 1;
    }

    .contact-identity {
        margin-bottom: 16px;
    }

    .contact-identity h2 {
        font-size: 27px;
    }

    .contact-identity p {
        max-width: 330px;
        font-size: 11px;
    }

    .contact-details-box .contact-row {
        min-height: 55px;
        padding: 7px 9px;
        grid-template-columns: 38px minmax(0, 1fr) 15px;
        border-radius: 15px;
    }

    .contact-row-icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 16px;
    }

    .contact-row strong {
        font-size: 11px;
    }

    .contact-save-button {
        margin-top: 12px;
    }

    .map-container {
        width: 100%;
        min-width: 0;
        height: 230px;
        flex: none;
        order: 2;
        border: 0;
        border-top: 1px solid rgba(150, 182, 239, 0.13);
        border-radius: 0;
    }

    [data-theme="light"] .map-container {
        border-left: 0;
        border-top-color: rgba(61, 94, 153, 0.14);
    }

    .footer-bar {
        display: none;
    }
}

@media (max-width: 380px) {
    .mobile-brand-widget {
        padding: 19px 18px 17px;
    }

    .mobile-brand-widget p {
        -webkit-line-clamp: 2;
    }

    .wallpaper-group {
        top: min(345px, 50vh);
    }

    .dock-group .desktop-icon .icon-img {
        width: 46px;
        height: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Rauhallinen käyttöjärjestelmä- ja sovellustyyli */
:root {
    --os-bg: #091321;
    --os-surface: #101c2c;
    --os-raised: #162438;
    --os-line: #2a3b53;
    --os-text: #edf3fb;
    --os-muted: #9aaac0;
    --os-primary: #4f8ee8;
    --os-helper: #43b38f;
}

[data-theme="light"] {
    --os-bg: #eef3f8;
    --os-surface: #f9fbfd;
    --os-raised: #ffffff;
    --os-line: #ced8e5;
    --os-text: #182335;
    --os-muted: #617086;
    --os-primary: #236cc5;
    --os-helper: #258368;
}

.ui-icon {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.2em;
}

#desktop::after {
    background: linear-gradient(180deg, transparent 52%, rgba(2, 8, 18, 0.22));
}

.desktop-icon {
    border-radius: 13px;
}

.desktop-icon:hover {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    transform: translateY(-1px);
}

.desktop-icon .icon-img,
.wallpaper-group .desktop-icon > span:first-child {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.18);
    border-radius: 15px;
    background: #2e6fbd;
    box-shadow: 0 7px 16px rgba(2, 10, 24, 0.24);
}

.desktop-icon .icon-img .ui-icon,
.wallpaper-group .desktop-icon > span:first-child .ui-icon {
    width: 31px;
    height: 31px;
}

.dock-group .desktop-icon:nth-child(2) .icon-img,
.dock-group .desktop-icon:nth-child(3) .icon-img,
.dock-group .desktop-icon:nth-child(4) .icon-img {
    background: #2e6fbd;
}

.wallpaper-group .desktop-icon:first-child > span:first-child,
.wallpaper-group .desktop-icon:first-child .icon-img {
    color: #fff;
    background: #2e6fbd;
}

.window,
[data-theme="light"] .window {
    border-color: var(--os-line);
    background: var(--os-surface);
    box-shadow: 0 16px 38px rgba(1, 7, 18, 0.38);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.window-header,
#productsWindow .window-header,
[data-theme="light"] .window-header,
[data-theme="light"] #productsWindow .window-header {
    min-height: 54px;
    border-bottom: 1px solid var(--os-line);
    background: var(--os-surface);
}

.window-title,
#productsWindow .window-title,
[data-theme="dark"] #productsWindow .window-title,
[data-theme="light"] .window-title,
[data-theme="light"] #productsWindow .window-title {
    min-width: 0;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    color: var(--os-text);
    background: none;
    box-shadow: none;
    display: block;
    font-size: 14px;
    line-height: 1.25;
}

.control-btn {
    border: 0;
    background: #d75a57;
    box-shadow: none;
}

/* Palvelut: yksi sininen pääväri ja vihreä apuväri. */
.cp-container,
[data-theme="light"] .cp-container,
#servicesWindow .window-content {
    background: var(--os-bg);
}

.cp-category-title {
    color: var(--os-muted);
}

.cp-category-title::before {
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--os-primary);
    box-shadow: none;
}

.cp-count {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--os-muted);
    background: transparent;
}

.cp-grid {
    align-items: start;
}

.cp-card,
[data-theme="dark"] .cp-card,
[data-theme="light"] .cp-card {
    min-height: 0;
    border-color: var(--os-line);
    border-radius: 15px;
    background: var(--os-raised);
    box-shadow: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.cp-card::after {
    display: none;
}

.cp-card:hover,
[data-theme="dark"] .cp-card:hover,
[data-theme="light"] .cp-card:hover {
    border-color: color-mix(in srgb, var(--os-primary) 58%, var(--os-line));
    box-shadow: none;
    transform: translateY(-2px);
}

.cp-card[data-accent="primary"] { --service-accent: var(--os-primary); }
.cp-card[data-accent="secondary"] { --service-accent: var(--os-helper); }

.cp-icon,
[data-theme="dark"] .cp-icon,
[data-theme="light"] .cp-icon {
    width: 52px;
    height: 52px;
    color: var(--service-accent, var(--os-primary));
    border-color: color-mix(in srgb, var(--service-accent, var(--os-primary)) 36%, var(--os-line));
    border-radius: 12px;
    background: color-mix(in srgb, var(--service-accent, var(--os-primary)) 11%, var(--os-raised));
    box-shadow: none;
}

.cp-icon .ui-icon {
    width: 26px;
    height: 26px;
}

.cp-title,
[data-theme="dark"] .cp-title,
[data-theme="light"] .cp-title,
.product-title,
[data-theme="dark"] .product-title,
[data-theme="light"] .product-title {
    color: var(--os-text);
}

.cp-desc,
[data-theme="dark"] .cp-desc,
[data-theme="light"] .cp-desc,
.product-desc,
[data-theme="dark"] .product-desc,
[data-theme="light"] .product-desc {
    color: var(--os-muted);
}

.cp-price,
[data-theme="dark"] .cp-price,
[data-theme="light"] .cp-price {
    color: var(--service-accent, var(--os-primary));
}

.order-btn,
[data-theme="dark"] .order-btn,
[data-theme="light"] .order-btn,
.order-btn:hover,
[data-theme="dark"] .order-btn:hover {
    border: 0;
    color: #fff;
    background: var(--os-primary);
    box-shadow: none;
}

/* Tuotteet: selainkehys säilyy, kauppasisältö on toimituksellisempi. */
#productsWindow .window-content,
.browser-viewport {
    background: var(--os-bg);
}

.browser-toolbar,
.store-header {
    border-color: var(--os-line);
    background: var(--os-surface);
}

.store-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.browser-address-bar,
.store-search input {
    border-color: var(--os-line);
    color: var(--os-muted);
    background: var(--os-raised);
    box-shadow: none;
}

.lock-icon .ui-icon {
    width: 13px;
    height: 13px;
}

.store-logo,
.store-cart {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--os-text);
}

.store-logo .ui-icon,
.store-cart > .ui-icon {
    width: 20px;
    height: 20px;
    color: var(--os-primary);
}

.store-hero {
    border-color: rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    background: linear-gradient(120deg, #1e5da8, #284b82);
    box-shadow: none;
}

.store-hero::after {
    display: none;
}

.store-grid {
    align-items: start;
}

.product-card,
[data-theme="dark"] .product-card,
[data-theme="light"] .product-card {
    min-height: 0;
    border-color: var(--os-line);
    border-radius: 15px;
    background: var(--os-raised);
    box-shadow: none;
    transition: border-color 160ms ease, transform 160ms ease;
}

.product-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="light"] .product-card:hover {
    border-color: color-mix(in srgb, var(--os-primary) 58%, var(--os-line));
    box-shadow: none;
    transform: translateY(-2px);
}

.product-image-area,
[data-theme="dark"] .product-image-area,
[data-theme="light"] .product-image-area {
    min-height: 150px;
    background: color-mix(in srgb, var(--os-primary) 6%, var(--os-bg));
}

.product-image-area::after {
    display: none;
}

.product-visual-icon {
    width: 78px;
    height: 78px;
    color: var(--os-primary);
    border-color: color-mix(in srgb, var(--os-primary) 28%, var(--os-line));
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.product-card[data-accent="secondary"] .product-visual-icon {
    color: var(--os-helper);
    border-color: color-mix(in srgb, var(--os-helper) 34%, var(--os-line));
}

.product-visual-icon .ui-icon {
    width: 42px;
    height: 42px;
}

.product-price,
[data-theme="dark"] .product-price,
[data-theme="light"] .product-price {
    color: var(--os-primary);
}

.buy-btn,
[data-theme="dark"] .buy-btn,
[data-theme="light"] .buy-btn,
.buy-btn:hover,
[data-theme="dark"] .buy-btn:hover {
    border-radius: 9px;
    color: #fff;
    background: var(--os-primary);
    box-shadow: none;
}

@media (min-width: 901px) {
    .store-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Benchmark: ainoastaan mittarin etenemä on voimakas tehoste. */
.cpu-benchmark-app {
    background: var(--os-bg);
}

.cpu-benchmark-range {
    border-color: var(--os-line);
    border-radius: 9px;
    color: var(--os-primary);
    background: var(--os-raised);
}

.cpu-score-ring {
    box-shadow: none;
}

.cpu-score-ring::after {
    border-style: solid;
    animation: none;
}

.cpu-score-ring strong {
    text-shadow: none;
}

.cpu-metric,
.cpu-worker-panel {
    border-color: var(--os-line);
    border-radius: 12px;
    background: var(--os-raised);
    box-shadow: none;
}

.cpu-worker-bar {
    background: var(--os-primary);
    box-shadow: none;
}

.cpu-worker-bar.is-complete {
    background: var(--os-helper);
}

.cpu-progress-track span {
    background: var(--os-primary);
    box-shadow: none;
}

.cpu-benchmark-actions button {
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: var(--os-primary);
    box-shadow: none;
}

/* Tervetuloa: oikea kuva on sovelluksen ainoa vahva visuaalinen elementti. */
#welcomeWindow .hero-content::before {
    background: linear-gradient(90deg, rgba(3, 10, 20, 0.9) 0%, rgba(3, 10, 20, 0.66) 58%, rgba(3, 10, 20, 0.25) 100%);
}

#welcomeWindow .hero-content::after {
    display: none;
}

.welcome-copy {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.58);
}

.welcome-kicker > span {
    box-shadow: none;
}

.welcome-actions button {
    border-radius: 9px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.welcome-actions .welcome-action-primary {
    border-color: var(--os-primary);
    color: #fff;
    background: var(--os-primary);
}

.welcome-actions .welcome-action-secondary {
    background: rgba(5, 14, 27, 0.64);
}

.welcome-service-tags {
    gap: 0;
    color: rgba(235, 244, 255, 0.8);
}

.welcome-service-tags span {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.welcome-service-tags span + span::before {
    content: "·";
    margin: 0 8px;
    color: var(--os-helper);
}

/* Yhteystiedot: käyntikortti oikealla, Google Maps vasemmalla. */
#contactWindow .window-content,
[data-theme="light"] #contactWindow .window-content {
    background: var(--os-bg);
}

.contact-details-box,
[data-theme="light"] .contact-details-box {
    color: var(--os-text);
    background: var(--os-surface);
}

.contact-details-box::after {
    display: none;
}

.contact-monogram,
[data-theme="light"] .contact-monogram {
    color: #fff;
    border: 0;
    border-radius: 11px;
    background: var(--os-primary);
    box-shadow: none;
}

.contact-kicker {
    color: var(--os-primary);
}

.contact-identity h2,
[data-theme="light"] .contact-identity h2 {
    color: var(--os-text);
}

.contact-identity p,
[data-theme="light"] .contact-identity p {
    color: var(--os-muted);
}

.contact-quick-actions a,
[data-theme="light"] .contact-quick-actions a {
    border-color: var(--os-line);
    border-radius: 9px;
    color: var(--os-primary);
    background: var(--os-raised);
}

.contact-quick-actions a:hover,
[data-theme="light"] .contact-quick-actions a:hover {
    color: var(--os-text);
    background: color-mix(in srgb, var(--os-primary) 10%, var(--os-raised));
    transform: none;
}

.contact-quick-actions .ui-icon {
    width: 17px;
    height: 17px;
}

.contact-list {
    gap: 0;
    border-top: 1px solid var(--os-line);
}

.contact-details-box .contact-row,
[data-theme="light"] .contact-details-box .contact-row {
    min-height: 48px;
    padding: 7px 2px;
    grid-template-columns: 28px minmax(0, 1fr) 15px;
    gap: 9px;
    border: 0;
    border-bottom: 1px solid var(--os-line);
    border-radius: 0;
    color: var(--os-text);
    background: transparent;
}

.contact-details-box a.contact-row:hover,
[data-theme="light"] .contact-details-box a.contact-row:hover {
    border-color: var(--os-line);
    background: color-mix(in srgb, var(--os-primary) 7%, transparent);
    transform: none;
}

.contact-row-icon,
[data-theme="light"] .contact-row-icon {
    width: 28px;
    height: 28px;
    color: var(--os-primary);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-row-icon .ui-icon {
    width: 19px;
    height: 19px;
}

.contact-row small,
[data-theme="light"] .contact-row small {
    color: var(--os-muted);
}

.contact-row-arrow .ui-icon {
    width: 14px;
    height: 14px;
}

.contact-save-button,
[data-theme="light"] .contact-save-button {
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: var(--os-primary);
    box-shadow: none;
}

.map-container,
[data-theme="light"] .map-container {
    border-color: var(--os-line);
}

.contact-map-overlay {
    border-color: #d7dde6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(25, 38, 56, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.contact-map-pin {
    color: #d94c46;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.contact-map-pin .ui-icon {
    width: 25px;
    height: 25px;
}

.contact-map-open {
    padding: 5px 2px;
    border-radius: 0;
    color: #166dc1;
    background: transparent;
}

.contact-map-open:hover {
    background: transparent;
    text-decoration: underline;
}

.contact-map-open .ui-icon {
    width: 13px;
    height: 13px;
}

@media (max-width: 720px) {
    #desktop::before {
        background: linear-gradient(180deg, rgba(3, 10, 23, 0.08), rgba(3, 10, 23, 0.58));
    }

    .mobile-theme-toggle {
        border-radius: 8px;
        background: rgba(9, 20, 38, 0.78);
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-theme-toggle .ui-icon {
        width: 14px;
        height: 14px;
    }

    .mobile-brand-widget {
        border-color: rgba(255, 255, 255, 0.16);
        border-radius: 20px;
        background: rgba(18, 40, 71, 0.94);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-quick-action {
        border-radius: 9px;
        background: rgba(5, 17, 32, 0.46);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .mobile-quick-action.primary {
        color: #fff;
        background: var(--os-primary);
    }

    .mobile-quick-action .ui-icon {
        width: 17px;
        height: 17px;
    }

    .dock-group {
        border-radius: 20px;
        background: rgba(12, 23, 39, 0.93);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    [data-theme="light"] .dock-group {
        background: rgba(241, 246, 251, 0.94);
    }

    .window,
    #servicesWindow,
    #productsWindow,
    #benchmarkWindow {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }

    #welcomeWindow .hero-content::before {
        background: linear-gradient(180deg, rgba(3, 10, 20, 0.12) 0%, rgba(3, 10, 20, 0.62) 48%, rgba(3, 10, 20, 0.94) 100%);
    }

    .cp-card,
    [data-theme="dark"] .cp-card,
    [data-theme="light"] .cp-card {
        min-height: 0;
        border-radius: 14px;
    }

    .product-card,
    [data-theme="dark"] .product-card,
    [data-theme="light"] .product-card {
        min-height: 158px;
        border-radius: 14px;
    }

    .product-image-area,
    [data-theme="dark"] .product-image-area,
    [data-theme="light"] .product-image-area {
        min-height: 158px;
    }

    .contact-details-box .contact-row,
    [data-theme="light"] .contact-details-box .contact-row {
        min-height: 51px;
        padding: 8px 2px;
        grid-template-columns: 30px minmax(0, 1fr) 15px;
    }
}
