:root {
    color-scheme: light;
    --bg: #f5f7f9;
    --panel: #ffffff;
    --ink: #18212f;
    --muted: #667085;
    --line: #d8e0e7;
    --primary: #0f766e;
    --primary-dark: #115e59;
    --accent: #eab308;
    --danger: #b42318;
    --success: #027a48;
    --shadow: 0 18px 55px rgba(24, 33, 47, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--primary-dark);
    font-weight: 700;
    text-decoration: none;
}

input,
select,
button {
    font: inherit;
}

input,
select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    padding: 9px 11px;
}

label {
    display: grid;
    gap: 7px;
    color: #344054;
    font-size: 0.88rem;
    font-weight: 700;
}

button {
    cursor: pointer;
}

.auth-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.14), transparent 32%),
        linear-gradient(315deg, rgba(234, 179, 8, 0.18), transparent 30%),
        var(--bg);
}

.inline-auth {
    min-height: calc(100vh - 64px);
}

.auth-panel {
    width: min(100%, 430px);
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 34px;
}

.auth-panel h1,
.summary h1 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.8rem);
    line-height: 1;
    letter-spacing: 0;
}

.muted {
    color: var(--muted);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stack {
    display: grid;
    gap: 16px;
}

.small {
    font-size: 0.9rem;
}

.button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 800;
}

.button-primary {
    background: var(--primary);
    color: #fff;
}

.button-primary:hover {
    background: var(--primary-dark);
}

.button-light {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.button-danger {
    background: #fef3f2;
    color: var(--danger);
}

.ghost-button {
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 10px;
}

.alert {
    border-radius: 8px;
    margin-bottom: 18px;
    padding: 12px 14px;
    font-weight: 700;
}

.alert-error {
    background: #fef3f2;
    color: var(--danger);
}

.alert-success {
    background: #ecfdf3;
    color: var(--success);
}

.xp-logon-screen,
.xp-welcome-screen {
    position: fixed;
    inset: 0;
    width: 100vw;
    min-height: 100vh;
    overflow: hidden;
    background: #003399;
    color: #fff;
    font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
}

.xp-logon-screen {
    display: grid;
    grid-template-rows: 1fr auto;
}

.xp-logon-band {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 1fr);
    align-self: center;
    width: 100%;
    min-height: 54vh;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 2px solid #e8a640;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.36), transparent 18%),
        linear-gradient(180deg, #668ce1 0%, #5b83dd 100%);
}

.xp-logon-left,
.xp-logon-right {
    display: grid;
    align-content: center;
    min-height: 430px;
    padding: 44px clamp(28px, 7vw, 96px);
}

.xp-logon-left {
    justify-items: end;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.xp-logon-left p {
    margin: 16px 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.22);
}

.xp-login-logo {
    display: block;
    width: min(250px, 70vw);
    height: auto;
    filter: drop-shadow(2px 3px 1px rgba(0, 0, 0, 0.24));
}

.xp-logon-right {
    justify-items: start;
}

.xp-logon-screen .xp-login-form {
    width: min(100%, 360px);
}

.xp-user-block {
    display: grid;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px;
}

.xp-user-block:not(.selected) .xp-password {
    display: none;
}

.xp-user-block.selected {
    grid-template-columns: minmax(210px, 0.8fr) minmax(220px, 1fr);
    align-items: center;
    width: min(560px, 100%);
    border-color: rgba(255, 255, 255, 0.32);
    background: linear-gradient(90deg, rgba(38, 79, 158, 0.66), rgba(32, 80, 178, 0.24));
}

.xp-user-block.selected .xp-user-tile {
    border-color: transparent;
    background: transparent;
}

.xp-logon-screen .xp-user-tile {
    color: #fff;
}

.xp-logon-screen .xp-user-tile:hover,
.xp-logon-screen .xp-user-tile.selected {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(30, 72, 151, 0.38);
}

.xp-logon-screen .xp-user-tile small {
    color: #dbe8ff;
}

.xp-logon-screen .xp-password {
    color: #fff;
}

.xp-logon-screen .xp-password span {
    max-width: 270px;
    grid-template-columns: 1fr 34px;
    gap: 7px;
}

.xp-logon-screen .xp-password input {
    min-height: 30px;
    border: 1px solid #2d4f99;
    border-radius: 3px;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.28);
}

.xp-logon-screen .xp-password button {
    display: grid;
    min-width: 34px;
    min-height: 30px;
    place-items: center;
    border: 1px solid #1b7b22;
    border-radius: 5px;
    background: linear-gradient(180deg, #88e65f, #26a52e 55%, #14721d);
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 1px 1px 0 #0c5813;
    padding: 4px 9px;
}

.xp-logon-footer {
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    padding: 12px 22px;
    background: linear-gradient(90deg, #242598, #003399);
    font-size: 0.85rem;
}

.xp-logon-footer p {
    justify-self: end;
    max-width: 390px;
    margin: 0;
    color: #cddcff;
    font-size: 0.76rem;
}

.xp-shutdown-icon {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 3px;
    background: #d8752f;
}

.xp-welcome-screen {
    display: grid;
    align-items: center;
}

.xp-welcome-band {
    display: grid;
    width: 100%;
    min-height: 54vh;
    place-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 2px solid #e8a640;
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.32), transparent 18%),
        linear-gradient(180deg, #668ce1 0%, #5b83dd 100%);
}

.xp-welcome-band h1 {
    margin: 0;
    transform: translateX(8vw);
    color: #fff;
    font-family: Arial, Tahoma, sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 4px 4px 0 rgba(27, 45, 106, 0.45);
}

.xp-desktop {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 76px clamp(16px, 5vw, 90px) 56px;
    background: #2f7be6 url("bliss.webp") center center / cover no-repeat;
    font-family: Tahoma, Verdana, "Segoe UI", sans-serif;
}

.xp-app-window {
    display: grid;
    grid-template-rows: auto 1fr;
    position: absolute;
    top: 76px;
    left: 50%;
    width: min(1180px, 100%);
    min-height: calc(100vh - 170px);
    margin: 0;
    overflow: hidden;
    border: 3px solid #0754d6;
    border-radius: 8px 8px 0 0;
    background: var(--bg);
    box-shadow: 12px 18px 28px rgba(7, 25, 62, 0.5);
    transform: translateX(-50%);
    transition: width 160ms ease, height 160ms ease, min-height 160ms ease, top 160ms ease, left 160ms ease, transform 160ms ease, opacity 120ms ease;
}

.xp-app-window.is-maximized {
    top: 0;
    left: 0;
    width: 100vw;
    height: calc(100vh - 40px);
    min-height: 0;
    border-radius: 0;
    transform: none;
}

.xp-app-window.is-maximized .xp-app-content {
    max-height: calc(100vh - 88px);
}

.xp-app-window.is-minimized {
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px) scale(0.96);
}

.xp-app-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 36px;
    background: linear-gradient(180deg, #2f88ff 0%, #0055d8 55%, #003c9c 100%);
    color: #fff;
    padding: 6px 10px;
    cursor: move;
    text-shadow: 1px 1px 0 #173d85;
}

.xp-app-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.xp-app-icon {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 3px;
    background: #0f766e;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45);
    font-weight: 900;
}

.xp-window-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.xp-window-controls button,
.xp-window-controls a {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 4px;
    background: linear-gradient(180deg, #79b6ff, #0d58c9 52%, #0344a3);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.45);
}

.xp-window-controls a {
    background: linear-gradient(180deg, #ff9a80, #e33b1f 52%, #ad1e0a);
}

.xp-app-content {
    max-height: calc(100vh - 140px);
    overflow: auto;
}

.xp-login-form {
    display: grid;
    gap: 18px;
}

.xp-user-list {
    display: grid;
    gap: 12px;
}

.xp-user-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #10203d;
    padding: 10px;
    text-align: left;
}

.xp-user-tile:hover,
.xp-user-tile.selected {
    border-color: #f5c542;
    background: linear-gradient(180deg, #fff8d7, #f5df8c);
}

.xp-avatar {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 8px;
    background: linear-gradient(135deg, #2ca5ff, #0a4fb6);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.22);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
}

.xp-user-tile strong,
.xp-user-tile small {
    display: block;
}

.xp-user-tile strong {
    font-size: 1.28rem;
}

.xp-user-tile small {
    color: #475467;
    font-size: 0.85rem;
}

.xp-password {
    color: #1f2937;
    font-size: 0.88rem;
}

.xp-password span {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.xp-password input {
    min-height: 34px;
    border: 1px solid #7f9db9;
    border-radius: 0;
    background: #fff;
    padding: 6px 8px;
}

.xp-password button {
    min-height: 34px;
    border: 1px solid #003c74;
    border-radius: 3px;
    background: linear-gradient(180deg, #fff, #d6d3c2);
    color: #10203d;
    font-weight: 700;
    padding: 6px 16px;
}

.xp-error {
    border: 1px solid #c73420;
    background: #fff3f0;
    color: #9a1b10;
    padding: 10px;
    font-size: 0.9rem;
}

.xp-hint {
    margin: 0;
    color: #475467;
    font-size: 0.84rem;
}

.xp-taskbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    background: linear-gradient(180deg, #2f7df2, #0b48bc 55%, #07338b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
    padding: 4px 8px;
}

.xp-start {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 0;
    min-width: 98px;
    border-radius: 18px 8px 8px 18px;
    background: linear-gradient(180deg, #7bd75f, #2f8d20 55%, #17670f);
    color: #fff;
    font-size: 1.35rem;
    font-style: italic;
    font-weight: 900;
    padding: 5px 16px 6px 10px;
    text-shadow: 1px 1px 0 #114a0b;
}

.xp-start img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.xp-start[aria-expanded="true"] {
    filter: brightness(0.92);
}

.xp-start-menu {
    position: fixed;
    left: 0;
    bottom: 40px;
    z-index: 20;
    width: min(390px, calc(100vw - 12px));
    overflow: hidden;
    border: 2px solid #0a4cb5;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 6px 8px 20px rgba(0, 0, 0, 0.36);
    font-family: Tahoma, Verdana, sans-serif;
}

.xp-start-menu[hidden] {
    display: none;
}

.xp-start-menu header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    background: linear-gradient(180deg, #2f8eff, #0058d8);
    color: #fff;
    padding: 10px 14px;
    font-size: 1.05rem;
    text-shadow: 1px 1px 0 #173d85;
}

.xp-menu-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 5px;
    background: linear-gradient(135deg, #2ca5ff, #0a4fb6);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    font-weight: 900;
}

.xp-menu-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 310px;
}

.xp-menu-left,
.xp-menu-right {
    display: grid;
    align-content: start;
    gap: 4px;
    padding: 10px;
}

.xp-menu-left {
    background: #fff;
}

.xp-menu-right {
    background: #d3e5fa;
}

.xp-start-menu a {
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 3px;
    color: #111827;
    padding: 7px;
    font-size: 0.82rem;
    font-weight: 400;
}

.xp-start-menu a:hover {
    background: #316ac5;
    color: #fff;
}

.xp-start-menu a span,
.xp-start-menu a strong,
.xp-start-menu a small {
    display: block;
}

.xp-start-menu a small {
    color: #667085;
    font-size: 0.73rem;
}

.xp-start-menu a:hover small {
    color: #eaf2ff;
}

.xp-start-menu footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    background: linear-gradient(180deg, #2f8eff, #0058d8);
    padding: 8px 10px;
}

.xp-start-menu footer a {
    color: #fff;
    font-weight: 700;
}

.xp-task {
    display: block;
    min-width: 190px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 7px 12px;
    text-align: left;
    font: inherit;
    font-weight: 400;
    text-decoration: none;
}

.xp-task.active {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.16);
}

.xp-taskbar time {
    margin-left: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0 10px;
    font-size: 0.9rem;
}

.win7-login-screen,
.win7-desktop {
    min-height: 100vh;
    overflow: hidden;
    background: #0277ce url("windows-7-wallpaper.png") center center / cover no-repeat;
    color: #fff;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

.win7-login-screen {
    display: grid;
    grid-template-rows: 1fr auto;
}

.win7-users {
    display: grid;
    align-items: center;
    justify-items: center;
    padding-top: 8vh;
}

.win7-login-form {
    display: grid;
    justify-items: center;
    gap: 20px;
}

.win7-user-row {
    display: flex;
    gap: 92px;
    align-items: start;
}

.win7-user {
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.win7-user.selected .win7-avatar,
.win7-user:hover .win7-avatar {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.88), 0 0 20px rgba(255, 255, 255, 0.5);
}

.win7-avatar {
    display: block;
    width: 74px;
    height: 74px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 40%, #ffec55, #ff7b22 42%, #f13723 43%, #ffcf29 60%, #2eb65d 61%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

.win7-avatar.large {
    width: 126px;
    height: 126px;
}

.win7-avatar.small {
    width: 46px;
    height: 46px;
}

.win7-password {
    display: none;
    grid-template-columns: 230px 36px;
    gap: 7px;
}

.win7-password.visible {
    display: grid;
}

.win7-password input {
    min-height: 34px;
    border: 1px solid #2c86b8;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.26);
}

.win7-password button {
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: linear-gradient(180deg, #e8faff, #52a7d8 52%, #1f6d9e);
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px #155179;
}

.win7-error {
    border-radius: 4px;
    background: rgba(80, 0, 0, 0.45);
    padding: 10px 14px;
}

.win7-login-footer {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
    align-items: center;
    padding: 20px 34px 34px;
}

.win7-wordmark-img {
    justify-self: center;
    width: min(340px, 58vw);
    height: auto;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.34));
}

.win7-ease,
.win7-power {
    display: grid;
    width: 42px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 5px;
    background: rgba(0, 67, 130, 0.48);
    color: #fff;
}

.win7-power {
    justify-self: end;
    background: linear-gradient(180deg, #d15b59, #9b1e22);
}

.win7-welcome {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-top: 6vh;
}

.win7-welcome h1 {
    margin: 0;
    font-size: 2.35rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.win7-spinner {
    width: 28px;
    height: 28px;
    border: 4px solid rgba(255, 255, 255, 0.34);
    border-top-color: #72d64b;
    border-right-color: #0c7fd5;
    border-radius: 50%;
    animation: win7-spin 900ms linear infinite;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
}

@keyframes win7-spin {
    to {
        transform: rotate(360deg);
    }
}

.win7-desktop {
    position: relative;
    padding: 72px 52px 58px;
}

.win7-desktop-icon {
    position: absolute;
    top: 8px;
    left: 12px;
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 74px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.win7-desktop-icon span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.62);
    font-size: 1.35rem;
}

.win7-wall-logo {
    position: absolute;
    top: 15%;
    left: 50%;
    width: min(330px, 30vw);
    height: auto;
    pointer-events: none;
    transform: translateX(-50%);
    filter: drop-shadow(0 18px 34px rgba(0, 55, 130, 0.42));
    opacity: 0.96;
}

.win7-window {
    position: relative;
    z-index: 2;
    width: min(980px, 100%);
    max-height: calc(100vh - 112px);
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid rgba(6, 54, 112, 0.72);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(154, 217, 255, 0.22) 42%, rgba(20, 109, 189, 0.24)),
        rgba(70, 162, 226, 0.42);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.44),
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 0 0 7px rgba(134, 209, 255, 0.26) inset;
    backdrop-filter: blur(18px) saturate(155%);
    transition: width 160ms ease, max-height 160ms ease, transform 160ms ease, opacity 120ms ease;
}

.win7-window.is-maximized {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    max-height: calc(100vh - 42px);
    height: calc(100vh - 42px);
    margin: 0;
    border-radius: 0;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 0 0 6px rgba(134, 209, 255, 0.2) inset;
}

.win7-window.is-minimized {
    pointer-events: none;
    opacity: 0;
    transform: translateY(60vh) scale(0.82);
}

.win7-titlebar {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 5px 5px 5px 10px;
    color: #071c35;
    font-size: 0.86rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.82);
    user-select: none;
}

.win7-title-icon,
.win7-task-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("windows-7-orb.png") center / contain no-repeat;
    vertical-align: middle;
}

.win7-window-title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.win7-window-controls {
    display: flex;
    gap: 0;
    align-self: stretch;
    margin: -5px -5px 0 0;
}

.win7-window-controls a,
.win7-window-controls button {
    position: relative;
    display: grid;
    width: 46px;
    height: 24px;
    place-items: center;
    border: 1px solid rgba(0, 55, 110, 0.55);
    border-top: 0;
    border-left: 0;
    border-radius: 0 0 4px 4px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(95, 154, 212, 0.7) 45%, rgba(31, 101, 169, 0.72));
    color: #071c35;
    padding: 0;
    font: inherit;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

.win7-window-controls a:hover,
.win7-window-controls button:hover {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(106, 194, 244, 0.82) 45%, rgba(27, 128, 210, 0.8));
    box-shadow: 0 0 10px rgba(89, 196, 255, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.win7-minimize::before {
    content: "";
    width: 12px;
    height: 2px;
    margin-top: 9px;
    background: #071c35;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.48);
}

.win7-maximize::before {
    content: "";
    width: 11px;
    height: 9px;
    border: 2px solid #071c35;
    box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.48), 0 1px 0 rgba(255, 255, 255, 0.48);
}

.win7-window-controls .win7-close {
    width: 54px;
    border-right: 0;
    background:
        linear-gradient(180deg, #f6bbb3, #d34935 50%, #a92319);
    color: #fff;
    text-shadow: 0 1px 2px #70120d;
}

.win7-window-controls .win7-close::before,
.win7-window-controls .win7-close::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    background: #fff;
    box-shadow: 0 1px 1px rgba(72, 0, 0, 0.72);
}

.win7-window-controls .win7-close::before {
    transform: rotate(45deg);
}

.win7-window-controls .win7-close::after {
    transform: rotate(-45deg);
}

.win7-window-controls .win7-close:hover {
    background:
        radial-gradient(circle, rgba(255, 230, 210, 0.8), transparent 52%),
        linear-gradient(180deg, #ffc6b8, #ef573c 50%, #b42517);
    box-shadow: 0 0 14px rgba(255, 91, 56, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.win7-toolbar {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.64);
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(228, 238, 247, 0.9));
    padding: 10px 14px;
}

.win7-toolbar a {
    color: #12406d;
}

.win7-content {
    max-height: calc(100vh - 198px);
    overflow: auto;
    background: rgba(255, 255, 255, 0.96);
    color: #18212f;
    padding: 22px;
}

.win7-window.is-maximized .win7-content {
    max-height: calc(100vh - 152px);
}

.win7-hero {
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(223, 240, 255, 0.94));
    padding: 22px;
}

.win7-hero span {
    color: #28679b;
    font-weight: 700;
}

.win7-hero h1 {
    margin: 8px 0;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
}

.win7-grid,
.win7-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.win7-card {
    display: grid;
    gap: 10px;
    border: 1px solid #bad1e6;
    border-radius: 7px;
    background: #fff;
    padding: 16px;
}

.win7-card h2 {
    margin: 0;
    color: #12406d;
    font-weight: 400;
}

.win7-card p {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 0;
    border-top: 1px solid #eef3f8;
    padding-top: 8px;
}

.win7-card button {
    border: 1px solid #2f6ea3;
    border-radius: 4px;
    background: linear-gradient(180deg, #fff, #b9ddf7);
    color: #10233e;
    padding: 9px 12px;
    font-weight: 700;
}

.win7-check {
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
}

.win7-check input {
    width: auto;
    min-height: auto;
}

.win7-taskbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.64);
    background:
        linear-gradient(180deg, rgba(117, 217, 255, 0.48), rgba(15, 101, 190, 0.78) 45%, rgba(8, 75, 156, 0.86)),
        rgba(20, 109, 196, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 -1px 9px rgba(0, 34, 92, 0.38);
    backdrop-filter: blur(18px) saturate(150%);
    padding: 4px 8px;
}

.win7-taskbar button,
.win7-taskbar time {
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(6, 84, 165, 0.32)),
        rgba(11, 102, 194, 0.34);
    color: #fff;
    padding: 8px 12px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58);
}

.win7-taskbar button.active {
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        0 0 11px rgba(80, 205, 255, 0.48);
}

.win7-taskbar > button:first-child {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin: -18px 4px 0 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    padding: 0;
}

.win7-taskbar > button:first-child span {
    display: block;
    width: 54px;
    height: 54px;
    margin: 0;
    background: url("windows-7-orb.png") center / contain no-repeat;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

.win7-taskbar time {
    margin-left: auto;
    min-width: 78px;
    text-align: center;
}

.win7-start-menu {
    position: fixed;
    bottom: 42px;
    left: 8px;
    z-index: 20;
    width: min(386px, calc(100vw - 16px));
    border: 1px solid rgba(18, 60, 97, 0.88);
    border-radius: 7px;
    background:
        linear-gradient(90deg, #f7f7f7 0 62%, transparent 62%),
        linear-gradient(180deg, rgba(182, 213, 234, 0.82), rgba(65, 105, 133, 0.86) 45%, rgba(44, 79, 104, 0.9)),
        rgba(64, 104, 130, 0.86);
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px) saturate(145%);
    padding: 6px;
}

.win7-start-menu[hidden] {
    display: none;
}

.win7-start-menu a {
    display: block;
    border: 1px solid transparent;
    border-radius: 2px;
    color: #111;
    padding: 5px 7px;
}

.win7-start-menu a:hover {
    border-color: #93b8dc;
    background: linear-gradient(180deg, #eaf5ff, #c8e4fb);
}

.win7-start-userpic {
    position: absolute;
    top: -24px;
    right: 46px;
    z-index: 2;
    display: block;
    width: 64px;
    height: 64px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52), transparent 48%),
        repeating-linear-gradient(0deg, rgba(255, 154, 33, 0.92) 0 4px, rgba(198, 79, 32, 0.92) 4px 8px, rgba(60, 134, 186, 0.86) 8px 12px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.42),
        inset 0 0 0 3px rgba(255, 255, 255, 0.48);
}

.win7-start-body {
    display: grid;
    grid-template-columns: 236px 1fr;
    gap: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.win7-start-left {
    display: grid;
    align-content: start;
    min-height: 370px;
    background: #f7f7f7;
    border: 1px solid rgba(158, 173, 185, 0.8);
    border-bottom: 0;
    border-radius: 3px 0 0 0;
    padding: 7px 6px 0;
}

.win7-program {
    display: grid !important;
    grid-template-columns: 30px 1fr auto;
    column-gap: 7px;
    align-items: center;
    min-height: 31px;
    font-size: 0.78rem;
}

.win7-program-icon {
    display: block;
    width: 25px;
    height: 25px;
    border-radius: 3px;
    background:
        linear-gradient(135deg, #f4fbff, #53a8de 52%, #155aa3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.22);
}

.win7-program-icon.budget {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent),
        linear-gradient(135deg, #27b76b, #0f719d);
}

.win7-program-icon.accounts {
    background:
        radial-gradient(circle at 50% 35%, #fff 0 13%, transparent 14%),
        radial-gradient(circle at 50% 75%, #fff 0 24%, transparent 25%),
        linear-gradient(135deg, #6fc2ff, #1752b6);
}

.win7-program-icon.xp {
    background: url("windows-xp-start.webp") center / contain no-repeat;
}

.win7-program-icon.command {
    background:
        linear-gradient(180deg, #1b1b1b, #040404);
}

.win7-program-icon.command::after {
    content: "C:\\";
    display: block;
    color: #fff;
    font-size: 0.55rem;
    line-height: 25px;
    text-align: center;
}

.win7-program-icon.dropbox {
    background:
        linear-gradient(135deg, transparent 0 32%, #6ab9f2 33% 66%, transparent 67%),
        linear-gradient(45deg, #93d4ff, #2587d8);
}

.win7-program-icon.paint {
    background:
        radial-gradient(circle at 32% 35%, #f25d5d 0 8%, transparent 9%),
        radial-gradient(circle at 55% 30%, #ffce45 0 8%, transparent 9%),
        radial-gradient(circle at 65% 55%, #35a7ff 0 8%, transparent 9%),
        linear-gradient(135deg, #f8f8f8, #82d7ff);
}

.win7-program-icon.notes {
    background:
        linear-gradient(135deg, #f7ff9c 0 48%, #e0d957 49%),
        linear-gradient(45deg, #c5e9ff, #68aad6);
}

.win7-program-icon.media {
    border-radius: 50%;
    background:
        radial-gradient(circle, #fff 0 21%, transparent 22%),
        radial-gradient(circle, #45d353 0 38%, #f0df27 39% 57%, #1aa9e9 58% 74%, #11834e 75%);
}

.win7-program-icon.calculator {
    background:
        linear-gradient(180deg, #d8f1ff 0 28%, #fff 29%),
        repeating-linear-gradient(90deg, transparent 0 7px, rgba(58, 120, 172, 0.5) 8px 9px),
        linear-gradient(135deg, #e9f8ff, #80bde6);
}

.win7-program-icon.computer {
    background:
        linear-gradient(180deg, #eaf8ff, #65a4d7 58%, #234d7c);
}

.win7-program.has-arrow::after {
    content: "›";
    color: #111;
    font-size: 1.1rem;
}

.win7-start-left a strong,
.win7-start-left a small {
    display: block;
}

.win7-start-left a small {
    color: #667085;
    font-size: 0.73rem;
}

.win7-start-left hr {
    width: calc(100% - 12px);
    height: 1px;
    border: 0;
    background: #d6dde6;
    margin: 5px 6px;
}

.win7-all-programs {
    display: flex !important;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #d6dde6 !important;
    margin-top: 5px;
    padding: 7px 8px !important;
    font-size: 0.78rem;
}

.win7-all-programs span {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #1d1d1d;
}

.win7-start-right {
    display: grid;
    align-content: start;
    min-height: 370px;
    padding: 44px 8px 10px;
}

.win7-start-right strong,
.win7-start-right a {
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.86);
}

.win7-start-right strong {
    display: block;
    margin: 0 0 10px;
    padding: 7px 8px;
}

.win7-start-right a {
    padding: 8px 8px;
    border-radius: 2px;
    color: #fff;
}

.win7-start-right a:nth-of-type(4),
.win7-start-right a:nth-of-type(5),
.win7-start-right a:nth-of-type(7) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 4px;
    padding-top: 10px;
}

.win7-start-right a:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
}

.win7-start-menu footer {
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: stretch;
    padding: 0;
}

.win7-start-menu footer label {
    flex: 0 0 236px;
    border: 1px solid rgba(158, 173, 185, 0.8);
    border-top: 0;
    border-radius: 0 0 0 3px;
    background: #f7f7f7;
    padding: 7px 8px;
}

.win7-start-menu footer input {
    width: 100%;
    min-height: 26px;
    border: 1px solid #9aaec0;
    border-radius: 2px;
    background:
        linear-gradient(90deg, transparent calc(100% - 26px), rgba(232, 244, 255, 0.9) calc(100% - 26px)),
        #fff;
    padding: 4px 28px 4px 7px;
    color: #333;
    font-size: 0.76rem;
    font-style: italic;
}

.win7-start-menu footer a {
    align-self: center;
    margin-left: 11px;
    border: 1px solid rgba(24, 58, 88, 0.84);
    border-radius: 3px 0 0 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(60, 91, 115, 0.38)),
        rgba(70, 103, 128, 0.82);
    color: #fff;
    padding: 7px 13px;
    font-size: 0.76rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58);
}

.win7-start-menu footer button {
    align-self: center;
    width: 24px;
    height: 31px;
    border: 1px solid rgba(24, 58, 88, 0.84);
    border-left: 0;
    border-radius: 0 3px 3px 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(60, 91, 115, 0.36)),
        rgba(70, 103, 128, 0.82);
}

.win7-start-menu footer button::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    margin: 0 auto;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #fff;
}

.win7-reset-panel {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 100vh;
    padding-bottom: 90px;
}

.win7-reset-avatar {
    display: block;
    width: 132px;
    height: 132px;
    border: 5px solid rgba(255, 255, 255, 0.78);
    border-radius: 12px;
    background:
        radial-gradient(circle at 50% 48%, #0c89ff 0 34%, transparent 35%),
        linear-gradient(135deg, #1b1e24, #454b54);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.win7-reset-panel h1 {
    margin: 26px 0 8px;
    font-size: 2.1rem;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.55);
}

.win7-reset-form {
    display: grid;
    gap: 8px;
    width: min(360px, 88vw);
}

.win7-reset-form input {
    min-height: 31px;
    border: 1px solid #237dac;
    border-radius: 4px;
    padding: 5px 8px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
}

.win7-reset-form label {
    display: grid;
    grid-template-columns: 1fr 38px;
    gap: 8px;
}

.win7-reset-form button {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: linear-gradient(180deg, #e8faff, #52a7d8 52%, #1f6d9e);
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px #155179;
}

.win7-cancel {
    margin-top: 28px;
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: 4px;
    background: linear-gradient(180deg, rgba(92, 181, 236, 0.88), rgba(20, 103, 173, 0.88));
    color: #fff;
    padding: 8px 34px;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.win7-reset-success {
    border-radius: 5px;
    background: rgba(0, 70, 120, 0.42);
    padding: 12px 16px;
}

.win7-reset-success a {
    color: #fff;
    text-decoration: underline;
}

.xp-useraccounts-window {
    width: min(920px, calc(100vw - 36px));
    margin: 52px auto 0;
    overflow: hidden;
    border: 3px solid #0754d6;
    border-radius: 8px 8px 0 0;
    background: #fff;
    box-shadow: 12px 18px 28px rgba(7, 25, 62, 0.5);
}

.xp-account-toolbar {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid #d8d2bd;
    background: #edead9;
    padding: 8px 12px;
    color: #111827;
    font-size: 0.88rem;
}

.xp-account-toolbar a {
    color: #111827;
}

.xp-account-body {
    display: grid;
    grid-template-columns: 245px 1fr;
    min-height: 500px;
}

.xp-account-sidebar {
    display: grid;
    align-content: start;
    gap: 8px;
    background: linear-gradient(180deg, #8fb0ef, #688be0);
    padding: 22px;
    color: #fff;
}

.xp-account-sidebar a {
    border-left: 4px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 8px;
    font-size: 0.82rem;
    font-weight: 400;
}

.xp-account-panel {
    padding: 32px 30px;
}

.xp-account-panel h1 {
    margin: 0 0 14px;
    color: #6a8bef;
    font-size: 1.8rem;
    font-weight: 700;
}

.xp-account-panel p {
    max-width: 620px;
    margin: 0 0 18px;
    color: #111827;
    font-size: 0.92rem;
}

.xp-account-form {
    display: grid;
    gap: 12px;
    max-width: 560px;
}

.xp-account-form label {
    color: #111827;
    font-size: 0.86rem;
    font-weight: 400;
}

.xp-account-form input {
    min-height: 26px;
    border: 1px solid #6f6f6f;
    border-radius: 0;
    padding: 3px 6px;
}

.xp-account-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.xp-account-actions button,
.xp-account-actions a {
    min-width: 120px;
    border: 1px solid #2f5ea8;
    border-radius: 3px;
    background: linear-gradient(180deg, #fff, #d8d3bd);
    color: #111827;
    padding: 6px 12px;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 400;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    padding: 14px clamp(18px, 4vw, 44px);
    backdrop-filter: blur(16px);
}

.brand,
.topbar nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand {
    color: var(--ink);
    font-weight: 900;
}

.brand-mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
}

.topbar nav {
    color: var(--muted);
    font-size: 0.92rem;
}

.layout {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 26px clamp(16px, 4vw, 44px) 44px;
}

.month-bar {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 14px;
    margin-bottom: 22px;
}

.month-bar form {
    width: min(260px, 60vw);
}

.quick-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 22px;
}

.history-strip {
    display: flex;
    flex: 1;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0;
}

.history-strip a {
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    padding: 10px 12px;
    font-size: 0.88rem;
}

.history-strip a.active {
    border-color: var(--primary);
    background: #e6fffb;
    color: var(--primary-dark);
}

.icon-link {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 1.2rem;
}

.summary {
    display: grid;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    padding: 16px 0 30px;
}

.summary .muted {
    margin: 16px 0 0;
    font-size: 1.05rem;
}

.meter {
    display: flex;
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 8px;
    background: #e6edf2;
}

.meter span {
    display: block;
    min-width: 0;
}

.meter-bills {
    background: var(--accent);
}

.meter-left {
    background: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin: 22px 0;
}

.stat,
.panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(24, 33, 47, 0.05);
}

.stat {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.stat span {
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.stat strong {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.stat.positive strong {
    color: var(--success);
}

.stat.danger strong {
    color: var(--danger);
}

.workspace {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: start;
}

.panel {
    overflow: hidden;
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--line);
    padding: 18px;
}

.panel-heading h2 {
    margin: 0;
    font-size: 1.2rem;
}

.panel-heading span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    padding: 14px 18px;
}

.category-strip span {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
    padding: 8px 10px;
    font-size: 0.84rem;
}

.category-strip strong {
    color: var(--ink);
}

.entry-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding: 18px;
}

.entry-form .wide,
.entry-form button {
    grid-column: 1 / -1;
}

.check {
    align-content: end;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    min-height: 68px;
}

.check input {
    width: 18px;
    min-height: 18px;
    margin-top: 3px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

th,
td {
    border-bottom: 1px solid var(--line);
    padding: 13px 14px;
    text-align: left;
    vertical-align: middle;
}

th {
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
}

td {
    font-size: 0.92rem;
}

.number {
    text-align: right;
    white-space: nowrap;
}

.subtle {
    color: var(--muted);
    font-size: 0.78rem;
}

.empty {
    color: var(--muted);
    text-align: center;
}

@media (max-width: 980px) {
    .workspace {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .xp-logon-band {
        grid-template-columns: 1fr;
    }

    .xp-logon-left,
    .xp-logon-right {
        min-height: auto;
        padding: 28px 22px;
    }

    .xp-logon-left {
        justify-items: start;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        text-align: left;
    }

    .xp-logon-footer {
        grid-template-columns: auto 1fr;
    }

    .xp-logon-footer p {
        display: none;
    }

    .xp-desktop {
        padding: 10px 8px 52px;
    }

    .xp-app-window {
        min-height: calc(100vh - 70px);
    }

    .xp-app-window.is-maximized {
        top: 0;
        left: 0;
        width: 100vw;
        height: calc(100vh - 40px);
        min-height: 0;
        transform: none;
    }

    .xp-app-titlebar {
        align-items: flex-start;
        flex-direction: column;
    }

    .xp-app-content {
        max-height: calc(100vh - 132px);
    }

    .xp-user-block.selected {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .xp-password span {
        grid-template-columns: 1fr;
    }

    .xp-useraccounts-window {
        width: calc(100vw - 16px);
        margin-top: 10px;
    }

    .xp-account-body {
        grid-template-columns: 1fr;
    }

    .xp-account-sidebar {
        display: none;
    }

    .xp-account-panel {
        padding: 22px 16px;
    }

    .xp-account-actions {
        flex-direction: column;
    }

    .xp-task {
        min-width: 0;
        flex: 1;
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-panel {
        padding: 24px;
    }

    .entry-form {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .quick-actions form,
    .quick-actions button {
        width: 100%;
    }

    .win7-user-row,
    .win7-grid,
    .win7-lists {
        grid-template-columns: 1fr;
        flex-direction: column;
        gap: 20px;
    }

    .win7-desktop {
        padding: 12px 8px 52px;
    }

    .win7-content {
        max-height: calc(100vh - 174px);
    }

    .win7-login-footer {
        grid-template-columns: 50px 1fr 50px;
        padding: 16px;
    }

    .win7-brand {
        font-size: 1.25rem;
    }
}
