.bio-terminal-prompt {
    position: fixed;
    right: clamp(18px, 5vw, 96px);
    top: clamp(132px, 15vh, 190px);
    z-index: 2300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 184px;
    height: 52px;
    padding: 7px 16px 7px 12px;
    color: #d8fbff;
    background:
        radial-gradient(circle at 18% 24%, rgba(128, 255, 246, 0.2), transparent 38%),
        linear-gradient(180deg, rgba(27, 73, 81, 0.88), rgba(7, 25, 31, 0.94));
    border: 1px solid rgba(123, 236, 232, 0.62);
    border-radius: 28px 16px 28px 16px;
    box-shadow:
        inset 0 1px 0 rgba(237, 255, 255, 0.28),
        inset 0 -10px 18px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(71, 227, 220, 0.2),
        0 10px 24px rgba(0, 0, 0, 0.36);
    cursor: pointer;
    transform: translateZ(0);
    transition: opacity 160ms ease, transform 160ms ease, filter 160ms ease;
}

.bio-terminal-prompt.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px) scale(0.98);
}

.bio-terminal-prompt:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.bio-terminal-prompt:active {
    transform: translateY(1px) scale(0.99);
}

.bio-terminal-prompt:focus-visible {
    outline: 2px solid rgba(184, 255, 248, 0.86);
    outline-offset: 4px;
}

.bio-terminal-prompt__glyph {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(180, 255, 244, 0.94) 0 16%, transparent 18%),
        conic-gradient(from 45deg, rgba(85, 239, 229, 0.1), rgba(85, 239, 229, 0.78), rgba(85, 239, 229, 0.12));
    border: 1px solid rgba(170, 255, 247, 0.45);
    box-shadow: 0 0 13px rgba(76, 233, 224, 0.4);
}

.bio-terminal-prompt__body {
    display: grid;
    gap: 2px;
    text-align: left;
}

.bio-terminal-prompt__kicker {
    color: rgba(183, 225, 229, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-prompt__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f3ffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.72);
}

.bio-terminal-prompt kbd {
    min-width: 20px;
    height: 20px;
    padding: 2px 6px;
    color: #07191c;
    background: linear-gradient(180deg, #bffdf5, #66cfc7);
    border-radius: 6px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    font-size: 12px;
    font-weight: 900;
}

.bio-terminal-root {
    position: fixed;
    inset: 0;
    z-index: 5200;
    color: #e9feff;
    font-family: "Segoe UI", "Arial", "Helvetica", sans-serif;
}

.bio-terminal-root * {
    box-sizing: border-box;
}

.bio-terminal-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(24, 126, 137, 0.2), transparent 38%),
        rgba(0, 6, 10, 0.72);
    backdrop-filter: blur(5px);
}

.bio-terminal-shell {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(1320px, 96vw);
    height: min(820px, 92vh);
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(9, 32, 42, 0.94), rgba(1, 10, 17, 0.98)),
        radial-gradient(circle at 50% 0%, rgba(119, 236, 228, 0.16), transparent 52%);
    border: 1px solid rgba(129, 238, 231, 0.52);
    border-radius: 28px 12px 32px 12px;
    box-shadow:
        inset 0 0 0 2px rgba(255, 255, 255, 0.04),
        inset 0 20px 52px rgba(146, 255, 247, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.8),
        0 28px 96px rgba(0, 0, 0, 0.74),
        0 0 60px rgba(48, 213, 208, 0.18);
    transform: translate(-50%, -50%);
}

.bio-terminal-shell__glow {
    position: absolute;
    inset: 8px;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 0 56px rgba(65, 236, 224, 0.13);
    z-index: 3;
}

.bio-terminal-screen {
    position: absolute;
    inset: 14px;
    overflow: hidden;
    border: 1px solid rgba(91, 218, 216, 0.32);
    border-radius: 20px 8px 24px 8px;
    background:
        radial-gradient(circle at 50% 30%, rgba(38, 184, 188, 0.18), transparent 46%),
        linear-gradient(180deg, rgba(5, 33, 43, 0.94), rgba(0, 10, 17, 0.98));
    box-shadow:
        inset 0 0 58px rgba(33, 221, 214, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.bio-terminal-scanlines {
    position: absolute;
    inset: 0;
    z-index: 25;
    pointer-events: none;
    opacity: 0.16;
    background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
    mix-blend-mode: screen;
}

.bio-terminal-boot,
.bio-terminal-login,
.bio-terminal-shutdown,
.bio-terminal-drift,
.bio-terminal-desktop {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.bio-terminal-boot {
    display: grid;
    grid-template-columns: minmax(240px, 34%) 1fr;
    gap: 34px;
    align-items: center;
    padding: 46px;
    background:
        radial-gradient(circle at 22% 50%, rgba(70, 230, 221, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(0, 17, 28, 0.94), rgba(0, 36, 48, 0.88));
}

.bio-terminal-boot__orb {
    justify-self: center;
    width: min(290px, 26vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(172, 255, 247, 0.34) 0 2px, transparent 3px),
        radial-gradient(circle, rgba(45, 223, 217, 0.18), rgba(0, 0, 0, 0.2) 62%, rgba(0, 0, 0, 0.82) 100%);
    border: 1px solid rgba(126, 238, 229, 0.42);
    box-shadow: inset 0 0 54px rgba(50, 229, 218, 0.2), 0 0 38px rgba(30, 211, 200, 0.16);
}

.bio-terminal-boot__orb span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(139, 255, 246, 0.46), transparent 20%);
    animation: bio-terminal-sweep 1.8s linear infinite;
}

.bio-terminal-boot__panel {
    min-height: 360px;
    padding: 24px;
    background: rgba(1, 12, 16, 0.58);
    border: 1px solid rgba(105, 231, 226, 0.24);
    border-radius: 18px 7px 22px 7px;
    box-shadow: inset 0 0 28px rgba(68, 222, 214, 0.08);
}

.bio-terminal-boot__panel h1 {
    margin: 0;
    color: #f0ffff;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 0 20px rgba(68, 232, 222, 0.32);
}

.bio-terminal-boot__panel p {
    margin: 4px 0 22px;
    color: rgba(209, 238, 239, 0.68);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-boot__line {
    display: flex;
    gap: 12px;
    padding: 7px 0;
    color: #d8ffff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 800;
}

.bio-terminal-boot__line span {
    color: #f7c76e;
}

.bio-terminal-boot__bar {
    height: 12px;
    margin-top: 22px;
    overflow: hidden;
    background: rgba(0, 5, 8, 0.72);
    border: 1px solid rgba(118, 230, 224, 0.22);
    border-radius: 999px;
}

.bio-terminal-boot__bar span {
    display: block;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(118, 255, 246, 0.92), transparent);
    animation: bio-terminal-load 1.2s ease-in-out infinite;
}

.bio-terminal-login,
.bio-terminal-shutdown,
.bio-terminal-drift {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 50% 44%, rgba(74, 232, 222, 0.18), transparent 36%),
        linear-gradient(135deg, rgba(1, 18, 27, 0.95), rgba(0, 44, 58, 0.9));
}

.bio-terminal-login__card {
    width: min(420px, 90vw);
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 32px;
    text-align: center;
    background: rgba(6, 30, 39, 0.64);
    border: 1px solid rgba(131, 236, 229, 0.32);
    border-radius: 24px 10px 28px 10px;
    box-shadow: inset 0 0 34px rgba(70, 232, 222, 0.09), 0 18px 48px rgba(0, 0, 0, 0.42);
}

.bio-terminal-login__avatar {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 42%, rgba(222, 255, 249, 0.92) 0 12%, transparent 14%),
        conic-gradient(from 45deg, rgba(90, 240, 232, 0.2), rgba(90, 240, 232, 0.86), rgba(90, 240, 232, 0.18));
    border: 1px solid rgba(184, 255, 248, 0.46);
    box-shadow: 0 0 34px rgba(84, 229, 219, 0.32);
}

.bio-terminal-login h1,
.bio-terminal-shutdown h1,
.bio-terminal-drift h1 {
    margin: 0;
    color: #f4ffff;
    font-size: 36px;
    letter-spacing: 0;
}

.bio-terminal-login p,
.bio-terminal-shutdown p,
.bio-terminal-drift p {
    margin: 0;
    color: rgba(216, 244, 246, 0.78);
    font-size: 15px;
    line-height: 1.45;
}

.bio-terminal-login__button,
.bio-terminal-drift button {
    min-width: 190px;
    height: 44px;
    color: #062025;
    background: linear-gradient(180deg, #c4fff8, #62d6cf);
    border: 1px solid rgba(224, 255, 252, 0.66);
    border-radius: 18px 7px 20px 7px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.16), 0 0 20px rgba(84, 231, 221, 0.25);
    cursor: pointer;
    font-weight: 900;
}

.bio-terminal-login__card span {
    color: rgba(190, 228, 230, 0.62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bio-terminal-shutdown__pulse {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid rgba(130, 255, 244, 0.46);
    box-shadow: inset 0 0 28px rgba(86, 238, 229, 0.2), 0 0 38px rgba(86, 238, 229, 0.18);
    animation: bio-terminal-pulse 1s ease-in-out infinite;
}

.bio-terminal-drift {
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 180, 190, 0.18), transparent 42%),
        linear-gradient(135deg, #001f3f, #001125);
}

.bio-terminal-drift__code {
    color: rgba(210, 255, 255, 0.58);
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.22em;
}

.bio-terminal-desktop {
    overflow: hidden;
    background: #001018;
}

.bio-terminal-wallpaper,
.bio-terminal-wallpaper__reef,
.bio-terminal-wallpaper__aurora {
    position: absolute;
    inset: 0;
}

.bio-terminal-wallpaper {
    background:
        radial-gradient(circle at 20% 20%, rgba(95, 236, 224, 0.16), transparent 34%),
        radial-gradient(circle at 78% 68%, rgba(132, 90, 190, 0.16), transparent 34%),
        linear-gradient(135deg, #041923, #063443 48%, #020b12);
}

.bio-terminal-wallpaper__reef {
    opacity: 0.22;
    background:
        linear-gradient(90deg, transparent 0 47%, rgba(183, 255, 248, 0.12) 48% 52%, transparent 53%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 34px);
}

.bio-terminal-wallpaper__aurora {
    background:
        radial-gradient(ellipse at 32% 78%, rgba(39, 230, 214, 0.22), transparent 38%),
        radial-gradient(ellipse at 70% 18%, rgba(244, 195, 104, 0.13), transparent 32%);
    filter: blur(0.2px);
}

.bio-terminal-wallpaper__logo {
    position: absolute;
    right: 54px;
    bottom: 92px;
    color: rgba(217, 255, 252, 0.16);
    font-size: clamp(38px, 7vw, 92px);
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 0 30px rgba(88, 238, 228, 0.18);
}

.bio-terminal-desktop__identity {
    position: absolute;
    right: 22px;
    top: 18px;
    z-index: 4;
    display: grid;
    justify-items: end;
    gap: 3px;
    max-width: 360px;
    padding: 11px 14px;
    color: rgba(230, 255, 253, 0.86);
    background:
        linear-gradient(180deg, rgba(9, 44, 51, 0.72), rgba(1, 14, 20, 0.72)),
        rgba(0, 10, 16, 0.42);
    border: 1px solid rgba(128, 235, 226, 0.22);
    border-radius: 16px 6px 18px 6px;
    box-shadow: inset 0 0 22px rgba(78, 232, 221, 0.08);
    pointer-events: none;
    text-align: right;
}

.bio-terminal-desktop__identity strong {
    color: #efffff;
    font-size: 15px;
    font-weight: 900;
}

.bio-terminal-desktop__identity span,
.bio-terminal-desktop__identity em {
    color: rgba(181, 228, 229, 0.72);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-desktop__icons {
    position: absolute;
    left: 18px;
    top: 18px;
    display: grid;
    gap: 12px;
    width: 112px;
    z-index: 2;
}

.bio-terminal-desktop-icon {
    width: 98px;
    min-height: 82px;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 8px 6px;
    color: #eaffff;
    background: rgba(2, 19, 28, 0.24);
    border: 1px solid transparent;
    border-radius: 14px 6px 14px 6px;
    cursor: pointer;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.72);
}

.bio-terminal-desktop-icon:hover,
.bio-terminal-desktop-icon:focus-visible {
    background: rgba(88, 225, 216, 0.16);
    border-color: rgba(139, 240, 233, 0.34);
    outline: none;
}

.bio-terminal-desktop-icon__mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #071d22;
    background: linear-gradient(180deg, rgba(211, 255, 249, 0.95), rgba(86, 211, 204, 0.92));
    border: 1px solid rgba(232, 255, 253, 0.5);
    border-radius: 15px 7px 15px 7px;
    box-shadow: 0 0 18px rgba(82, 229, 219, 0.28);
    font-size: 16px;
    font-weight: 900;
}

.bio-terminal-desktop-icon span:last-child {
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.bio-terminal-window-layer {
    position: absolute;
    inset: 0 0 58px;
    z-index: 3;
    pointer-events: none;
}

.bio-terminal-window {
    position: absolute;
    display: grid;
    grid-template-rows: 52px 1fr;
    min-width: 320px;
    min-height: 230px;
    overflow: hidden;
    color: #e8feff;
    background:
        linear-gradient(180deg, rgba(28, 92, 105, 0.54), rgba(3, 19, 27, 0.9)),
        rgba(3, 19, 27, 0.88);
    border: 1px solid rgba(143, 237, 231, 0.42);
    border-radius: 18px 8px 20px 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 0 38px rgba(93, 232, 222, 0.08),
        0 16px 42px rgba(0, 0, 0, 0.5);
    container-type: inline-size;
    pointer-events: auto;
}

.bio-terminal-window.is-active {
    border-color: rgba(189, 255, 249, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 0 44px rgba(93, 232, 222, 0.12),
        0 18px 52px rgba(0, 0, 0, 0.58),
        0 0 24px rgba(77, 229, 220, 0.16);
}

.bio-terminal-window__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
    padding: 8px 10px 8px 14px;
    background:
        radial-gradient(circle at 72% 0%, rgba(174, 255, 247, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(190, 255, 249, 0.22), rgba(35, 96, 109, 0.18)),
        rgba(5, 32, 42, 0.64);
    border-bottom: 1px solid rgba(133, 235, 229, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.18);
    cursor: grab;
    user-select: none;
}

.bio-terminal-window__titlebar:active {
    cursor: grabbing;
}

.bio-terminal-window__title {
    min-width: 0;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    gap: 10px;
}

.bio-terminal-window__title span {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    color: #072126;
    background: linear-gradient(180deg, #d7fff9, #6bd8d0);
    border: 1px solid rgba(229, 255, 252, 0.42);
    border-radius: 10px 4px 10px 4px;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12), 0 0 14px rgba(112, 245, 234, 0.2);
    font-size: 12px;
    font-weight: 900;
}

.bio-terminal-window__title strong {
    overflow: hidden;
    color: #f3ffff;
    font-size: 15px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-window__controls {
    flex: 0 0 auto;
    display: flex;
    gap: 7px;
}

.bio-terminal-window__control {
    position: relative;
    width: 34px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #dffcff;
    background:
        radial-gradient(circle at 50% 0%, rgba(230, 255, 252, 0.16), transparent 48%),
        linear-gradient(180deg, rgba(51, 116, 128, 0.92), rgba(4, 21, 29, 0.96));
    border: 1px solid rgba(145, 238, 232, 0.34);
    border-radius: 10px 4px 10px 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -4px 8px rgba(0, 0, 0, 0.24),
        0 5px 13px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
    transition: filter 130ms ease, transform 130ms ease, border-color 130ms ease, box-shadow 130ms ease;
}

.bio-terminal-window__control span {
    transform: translateY(-1px);
    pointer-events: none;
}

.bio-terminal-window__control:hover,
.bio-terminal-window__control:focus-visible {
    filter: brightness(1.16);
    border-color: rgba(196, 255, 249, 0.58);
    outline: none;
}

.bio-terminal-window__control:active {
    transform: translateY(1px);
}

.bio-terminal-window__control.is-close:hover,
.bio-terminal-window__control.is-close:focus-visible {
    color: #fff2f2;
    border-color: rgba(255, 126, 126, 0.48);
    box-shadow:
        inset 0 0 14px rgba(180, 32, 32, 0.2),
        inset 0 -4px 8px rgba(0, 0, 0, 0.22),
        0 0 14px rgba(255, 96, 96, 0.22);
}

.bio-terminal-window__body {
    min-height: 0;
    overflow: auto;
    overflow-wrap: anywhere;
    padding: 14px;
    background:
        radial-gradient(circle at 100% 0%, rgba(100, 235, 226, 0.08), transparent 36%),
        rgba(0, 10, 16, 0.42);
}

.bio-terminal-start-menu {
    position: absolute;
    left: 12px;
    bottom: 64px;
    z-index: 20;
    width: 338px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(38, 100, 112, 0.86), rgba(3, 18, 26, 0.96));
    border: 1px solid rgba(151, 243, 236, 0.42);
    border-radius: 22px 8px 24px 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 20px 54px rgba(0, 0, 0, 0.55),
        0 0 28px rgba(64, 229, 219, 0.14);
}

.bio-terminal-start-menu__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid rgba(133, 235, 229, 0.18);
}

.bio-terminal-start-menu__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(238, 255, 251, 0.95) 0 14%, transparent 17%),
        conic-gradient(from 30deg, rgba(110, 239, 231, 0.22), rgba(110, 239, 231, 0.86), rgba(110, 239, 231, 0.18));
    border: 1px solid rgba(196, 255, 249, 0.44);
}

.bio-terminal-start-menu__head strong,
.bio-terminal-start-menu__head small {
    display: block;
}

.bio-terminal-start-menu__head strong {
    color: #f1ffff;
    font-size: 18px;
}

.bio-terminal-start-menu__head small {
    color: rgba(208, 239, 241, 0.64);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-start-menu__apps {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.bio-terminal-start-menu__apps button {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 6px 10px;
    color: #e9feff;
    background: rgba(1, 15, 21, 0.28);
    border: 1px solid transparent;
    border-radius: 13px 6px 13px 6px;
    cursor: pointer;
    text-align: left;
}

.bio-terminal-start-menu__apps button:hover {
    background: rgba(93, 226, 216, 0.15);
    border-color: rgba(145, 236, 230, 0.24);
}

.bio-terminal-start-menu__apps span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #071e23;
    background: linear-gradient(180deg, #d7fff9, #68d7d0);
    border-radius: 10px 4px 10px 4px;
    font-size: 11px;
    font-weight: 900;
}

.bio-terminal-start-menu__apps strong {
    font-size: 13px;
}

.bio-terminal-start-menu__footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 10px;
    border-top: 1px solid rgba(133, 235, 229, 0.18);
}

.bio-terminal-start-menu__footer button {
    min-width: 82px;
    height: 32px;
    color: #eaffff;
    background: linear-gradient(180deg, rgba(35, 88, 99, 0.94), rgba(4, 18, 26, 0.95));
    border: 1px solid rgba(135, 229, 223, 0.26);
    border-radius: 12px 5px 12px 5px;
    cursor: pointer;
    font-weight: 900;
}

.bio-terminal-taskbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 18;
    height: 58px;
    display: grid;
    grid-template-columns: 68px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    background:
        linear-gradient(180deg, rgba(174, 255, 248, 0.14), rgba(4, 23, 32, 0.88)),
        rgba(1, 12, 18, 0.9);
    border-top: 1px solid rgba(147, 239, 233, 0.28);
    box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bio-terminal-start-button {
    width: 52px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #052025;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 23%),
        linear-gradient(180deg, #c1fff7, #52d2ca 60%, #178d93);
    border: 1px solid rgba(226, 255, 252, 0.68);
    border-radius: 50%;
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.18), 0 0 22px rgba(81, 231, 221, 0.3);
    cursor: pointer;
    font-size: 26px;
    font-weight: 900;
}

.bio-terminal-start-button.is-active,
.bio-terminal-start-button:hover {
    filter: brightness(1.1);
}

.bio-terminal-taskbar__windows {
    min-width: 0;
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.bio-terminal-taskbar-button {
    width: min(210px, 22vw);
    height: 38px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    padding: 0 10px;
    color: rgba(232, 255, 255, 0.82);
    background:
        radial-gradient(circle at 30% 0%, rgba(204, 255, 250, 0.13), transparent 42%),
        linear-gradient(180deg, rgba(48, 100, 113, 0.72), rgba(5, 24, 33, 0.82));
    border: 1px solid rgba(139, 231, 225, 0.22);
    border-radius: 13px 5px 13px 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
}

.bio-terminal-taskbar-button.is-active {
    color: #f7ffff;
    border-color: rgba(180, 255, 248, 0.52);
    box-shadow: inset 0 0 20px rgba(91, 235, 225, 0.12), 0 0 14px rgba(68, 226, 216, 0.12);
}

.bio-terminal-taskbar-button span {
    font-size: 12px;
    font-weight: 900;
}

.bio-terminal-taskbar-button strong {
    min-width: 0;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-tray {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(225, 250, 251, 0.82);
    font-size: 12px;
    font-weight: 900;
}

.bio-terminal-tray__sound,
.bio-terminal-tray__bubble {
    padding: 7px 10px;
    background: rgba(5, 28, 37, 0.72);
    border: 1px solid rgba(137, 230, 224, 0.22);
    border-radius: 999px;
}

.bio-terminal-tray__sound {
    color: rgba(226, 255, 252, 0.88);
    cursor: pointer;
    font: inherit;
    letter-spacing: 0.02em;
}

.bio-terminal-tray__sound:hover {
    border-color: rgba(181, 255, 248, 0.5);
    box-shadow: 0 0 14px rgba(64, 226, 216, 0.16);
}

.bio-terminal-tray__bubble.is-secret {
    color: #f7fff2;
    border-color: rgba(190, 255, 188, 0.5);
    box-shadow: inset 0 0 12px rgba(94, 244, 118, 0.12), 0 0 14px rgba(94, 244, 118, 0.12);
}

.bio-os-app {
    min-height: 100%;
    color: #e9feff;
    min-width: 0;
}

.bio-os-app h2 {
    margin: 0 0 12px;
    color: #f4ffff;
    font-size: 23px;
    letter-spacing: 0;
}

.bio-os-app p {
    margin: 0;
    color: rgba(218, 243, 245, 0.8);
    font-size: 14px;
    line-height: 1.52;
}

.bio-os-hero {
    margin-bottom: 16px;
    padding: 16px;
    background: rgba(0, 15, 22, 0.44);
    border: 1px solid rgba(124, 229, 224, 0.18);
    border-radius: 15px 6px 17px 6px;
}

.bio-os-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bio-os-metric {
    min-height: 76px;
    padding: 13px;
    background:
        radial-gradient(circle at 100% 0%, rgba(92, 236, 228, 0.13), transparent 38%),
        rgba(0, 12, 18, 0.56);
    border: 1px solid rgba(116, 225, 220, 0.22);
    border-radius: 14px 6px 16px 6px;
}

.bio-os-metric span {
    display: block;
    margin-bottom: 8px;
    color: rgba(172, 216, 219, 0.68);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bio-os-metric strong {
    color: #f5ffff;
    font-size: 16px;
    line-height: 1.25;
}

.bio-os-status-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(2, 18, 25, 0.5);
    border: 1px solid rgba(125, 230, 224, 0.18);
    border-radius: 999px;
}

.bio-os-status-strip span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #86fff4;
    box-shadow: 0 0 14px rgba(134, 255, 244, 0.58);
}

.bio-os-log-list {
    display: grid;
    gap: 10px;
}

.bio-os-log-list article {
    display: grid;
    grid-template-columns: minmax(156px, 18%) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 12px 14px;
    background: rgba(0, 13, 18, 0.56);
    border: 1px solid rgba(102, 213, 211, 0.22);
    border-radius: 14px 6px 16px 6px;
}

.bio-os-log-list article.is-quest {
    border-color: rgba(136, 246, 210, 0.42);
    background:
        linear-gradient(90deg, rgba(72, 231, 137, 0.12), rgba(0, 13, 18, 0.58)),
        rgba(0, 13, 18, 0.56);
}

.bio-os-log-list article.is-complete {
    border-color: rgba(219, 255, 178, 0.64);
    box-shadow: inset 0 0 18px rgba(120, 255, 145, 0.12);
}

.bio-os-log-list span {
    min-width: 0;
    color: #f2be67;
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: normal;
    word-break: normal;
}

.bio-os-log-list span strong,
.bio-os-log-list span em {
    display: block;
}

.bio-os-log-list span strong {
    white-space: nowrap;
}

.bio-os-log-list span em {
    margin-top: 4px;
    color: #ffd087;
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.bio-os-log-list p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.bio-os-simnet__feed {
    display: grid;
    gap: 10px;
}

.bio-os-simnet__feed article {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    padding: 12px;
    background:
        linear-gradient(90deg, rgba(58, 218, 204, 0.08), rgba(0, 11, 17, 0.5)),
        rgba(0, 13, 18, 0.58);
    border: 1px solid rgba(118, 226, 219, 0.22);
    border-radius: 14px 6px 16px 6px;
}

.bio-os-simnet__feed span {
    align-self: start;
    display: inline-grid;
    place-items: center;
    min-height: 28px;
    color: #061b20;
    background: linear-gradient(180deg, #d5fff9, #70ddd3);
    border-radius: 10px 4px 10px 4px;
    font-size: 11px;
    font-weight: 900;
}

.bio-os-simnet__feed p {
    color: rgba(226, 248, 249, 0.86);
}

.bio-os-map-board {
    margin-bottom: 12px;
    padding: 14px;
    background: rgba(0, 9, 15, 0.52);
    border: 1px solid rgba(126, 230, 224, 0.2);
    border-radius: 15px 6px 17px 6px;
}

.bio-os-map-room {
    position: relative;
    height: 230px;
    background:
        linear-gradient(rgba(151, 237, 230, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(151, 237, 230, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 50% 58%, rgba(91, 234, 226, 0.3), transparent 17%),
        rgba(5, 28, 36, 0.66);
    background-size: 42px 42px, 42px 42px, auto, auto;
    border: 2px solid rgba(134, 235, 229, 0.32);
    border-radius: 30px 12px 30px 12px;
}

.bio-os-map-room span,
.bio-os-map-chair {
    position: absolute;
    display: grid;
    place-items: center;
    border-radius: 12px 5px 12px 5px;
    font-size: 11px;
    font-weight: 900;
}

.bio-os-map-terminal {
    left: 58px;
    top: 42px;
    width: 70px;
    height: 34px;
    color: #071d22;
    background: #8af5ec;
}

.bio-os-map-pool {
    left: 50%;
    top: 55%;
    width: 118px;
    height: 46px;
    color: #06191e;
    background: rgba(130, 255, 246, 0.74);
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.bio-os-map-return {
    left: 58px;
    top: 98px;
    width: 72px;
    height: 30px;
    color: #fff5db;
    background: rgba(242, 185, 87, 0.42);
}

.bio-os-map-chair {
    width: 44px;
    height: 30px;
    background: rgba(162, 210, 214, 0.28);
    border: 1px solid rgba(181, 247, 241, 0.24);
}

.bio-os-map-chair.one { left: 160px; top: 80px; }
.bio-os-map-chair.two { left: 160px; bottom: 46px; }
.bio-os-map-chair.three { right: 160px; top: 80px; }
.bio-os-map-chair.four { right: 160px; bottom: 46px; }

.bio-os-media {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 18px;
    align-items: center;
}

.bio-os-disc {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0, 8, 13, 0.92) 0 13%, rgba(154, 255, 248, 0.9) 14% 16%, transparent 17%),
        conic-gradient(from 30deg, rgba(86, 224, 216, 0.16), rgba(86, 224, 216, 0.78), rgba(242, 188, 93, 0.38), rgba(86, 224, 216, 0.16));
    border: 1px solid rgba(174, 255, 248, 0.42);
    box-shadow: inset 0 0 36px rgba(0, 0, 0, 0.4), 0 0 30px rgba(74, 229, 219, 0.2);
}

.bio-os-disc.is-playing {
    animation: bio-terminal-sweep 4s linear infinite;
}

.bio-os-equalizer {
    display: flex;
    align-items: end;
    gap: 5px;
    height: 48px;
    margin: 18px 0;
}

.bio-os-equalizer i {
    width: 10px;
    height: 14px;
    background: linear-gradient(180deg, #b9fff7, #58d2cb);
    border-radius: 999px;
    opacity: 0.54;
}

.bio-os-equalizer.is-playing i:nth-child(1) { animation: bio-eq 900ms ease-in-out infinite; }
.bio-os-equalizer.is-playing i:nth-child(2) { animation: bio-eq 760ms ease-in-out infinite; }
.bio-os-equalizer.is-playing i:nth-child(3) { animation: bio-eq 1040ms ease-in-out infinite; }
.bio-os-equalizer.is-playing i:nth-child(4) { animation: bio-eq 820ms ease-in-out infinite; }
.bio-os-equalizer.is-playing i:nth-child(5) { animation: bio-eq 1120ms ease-in-out infinite; }

.bio-os-media button,
.bio-os-vat__files button {
    min-height: 38px;
    min-width: 0;
    color: #eaffff;
    background: linear-gradient(180deg, rgba(35, 88, 99, 0.94), rgba(4, 18, 26, 0.95));
    border: 1px solid rgba(135, 229, 223, 0.26);
    border-radius: 13px 5px 13px 5px;
    cursor: pointer;
    font-weight: 900;
}

.bio-os-console {
    display: grid;
    grid-template-rows: 1fr auto;
    height: 100%;
    min-height: 0;
    background: rgba(0, 9, 13, 0.72);
    border: 1px solid rgba(100, 222, 216, 0.2);
    border-radius: 14px 6px 16px 6px;
    overflow: hidden;
}

.bio-os-console__output {
    overflow: auto;
    padding: 14px;
}

.bio-os-console__line {
    margin: 0 0 8px;
    color: #d5fbff;
    font-family: "Courier New", monospace;
    font-size: 14px;
    line-height: 1.45;
}

.bio-os-console__line.is-input {
    color: #f4ca78;
}

.bio-os-console__line.is-error {
    color: #ff9f9f;
}

.bio-os-console__form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    padding: 12px 14px;
    background: rgba(4, 25, 31, 0.92);
    border-top: 1px solid rgba(117, 226, 222, 0.18);
}

.bio-os-console__form span {
    color: #f4ca78;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 900;
}

.bio-os-console__form input {
    width: 100%;
    min-width: 0;
    color: #eaffff;
    background: transparent;
    border: 0;
    outline: none;
    font-family: "Courier New", monospace;
    font-size: 15px;
}

.bio-os-vat {
    display: grid;
    grid-template-columns: minmax(178px, 34%) minmax(0, 1fr);
    gap: 14px;
    min-width: 0;
    height: 100%;
}

.bio-os-vat__files {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.bio-os-vat__files button {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    overflow: hidden;
    text-align: left;
}

.bio-os-vat__file-mark {
    opacity: 0.84;
}

.bio-os-vat__files strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-os-vat__files button.is-selected {
    border-color: rgba(195, 255, 249, 0.58);
    box-shadow: inset 0 0 18px rgba(91, 235, 225, 0.12);
}

.bio-os-vat__reader {
    min-width: 0;
    min-height: 220px;
    overflow: auto;
    padding: 16px;
    background: rgba(0, 13, 18, 0.56);
    border: 1px solid rgba(102, 213, 211, 0.22);
    border-radius: 14px 6px 16px 6px;
}

.bio-os-vat__reader h2 {
    overflow-wrap: anywhere;
}

@container (max-width: 680px) {
    .bio-os-vat {
        grid-template-columns: 1fr;
        height: auto;
    }

    .bio-os-vat__files {
        grid-template-columns: repeat(auto-fit, minmax(172px, 1fr));
    }

    .bio-os-vat__reader {
        min-height: 180px;
    }
}

@keyframes bio-terminal-sweep {
    to {
        transform: rotate(360deg);
    }
}

@keyframes bio-terminal-load {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(260%);
    }
}

@keyframes bio-terminal-pulse {
    50% {
        transform: scale(1.08);
        opacity: 0.68;
    }
}

@keyframes bio-eq {
    50% {
        height: 42px;
        opacity: 1;
    }
}

@media (max-width: 860px) {
    .bio-terminal-prompt {
        right: 14px;
        top: 106px;
        min-width: 54px;
        width: 54px;
        padding: 8px;
    }

    .bio-terminal-prompt__body {
        display: none;
    }

    .bio-terminal-shell {
        width: calc(100vw - 18px);
        height: calc(100vh - 18px);
        border-radius: 18px 7px 20px 7px;
    }

    .bio-terminal-screen {
        inset: 8px;
    }

    .bio-terminal-boot {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 18px;
    }

    .bio-terminal-boot__orb {
        width: min(220px, 52vw);
    }

    .bio-terminal-boot__panel h1 {
        font-size: 34px;
    }

    .bio-terminal-desktop__icons {
        left: 10px;
        top: 72px;
        grid-template-columns: repeat(3, 72px);
        width: auto;
    }

    .bio-terminal-desktop__identity {
        left: 10px;
        right: 10px;
        top: 10px;
        max-width: none;
        justify-items: start;
        text-align: left;
    }

    .bio-terminal-desktop-icon {
        width: 68px;
        min-height: 66px;
        padding: 6px 4px;
    }

    .bio-terminal-desktop-icon__mark {
        width: 34px;
        height: 34px;
    }

    .bio-terminal-desktop-icon span:last-child {
        font-size: 10px;
    }

    .bio-terminal-window {
        left: 10px !important;
        top: 88px !important;
        width: calc(100% - 20px) !important;
        height: calc(100% - 156px) !important;
        border-radius: 16px 6px 18px 6px;
    }

    .bio-terminal-window:not(.is-active) {
        display: none;
    }

    .bio-terminal-start-menu {
        left: 8px;
        right: 8px;
        bottom: 62px;
        width: auto;
    }

    .bio-terminal-taskbar {
        grid-template-columns: 58px 1fr 64px;
        gap: 6px;
        padding: 7px 8px;
    }

    .bio-terminal-start-button {
        width: 46px;
        height: 38px;
    }

    .bio-terminal-taskbar-button {
        min-width: 48px;
        width: 54px;
        padding: 0 8px;
    }

    .bio-terminal-taskbar-button strong,
    .bio-terminal-tray__bubble {
        display: none;
    }

    .bio-os-metrics,
    .bio-os-log-list article,
    .bio-os-simnet__feed article,
    .bio-os-media,
    .bio-os-vat {
        grid-template-columns: 1fr;
    }

    .bio-os-disc {
        width: 112px;
        height: 112px;
        justify-self: center;
    }
}

/* BioLuna dark Luna-inspired desktop slice: original gradients, no external assets. */
.bio-terminal-root {
    --bioluna-navy: #061229;
    --bioluna-blue-900: #082869;
    --bioluna-blue-700: #164aa6;
    --bioluna-blue-500: #2f7df0;
    --bioluna-blue-glow: #75b6ff;
    --bioluna-green-700: #1f7a36;
    --bioluna-green-500: #43b957;
    --bioluna-panel: rgba(8, 18, 42, 0.94);
    --bioluna-cream: #f2f7ff;
}

.bio-terminal-backdrop {
    background:
        radial-gradient(circle at 50% 40%, rgba(48, 125, 240, 0.2), transparent 42%),
        rgba(0, 5, 18, 0.78);
}

.bio-terminal-shell {
    background:
        linear-gradient(145deg, rgba(7, 20, 50, 0.98), rgba(2, 7, 20, 0.99)),
        radial-gradient(circle at 18% 0%, rgba(117, 182, 255, 0.18), transparent 44%);
    border-color: rgba(98, 161, 255, 0.6);
    border-radius: 22px 22px 14px 14px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 0 0 2px rgba(11, 46, 121, 0.46),
        0 28px 96px rgba(0, 0, 0, 0.78),
        0 0 48px rgba(47, 125, 240, 0.24);
}

.bio-terminal-screen {
    border-color: rgba(120, 183, 255, 0.38);
    border-radius: 16px;
    background:
        radial-gradient(circle at 24% 22%, rgba(75, 161, 255, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(6, 20, 48, 0.96), rgba(1, 8, 22, 0.98));
}

.bio-terminal-wallpaper {
    background:
        radial-gradient(ellipse at 18% 22%, rgba(111, 186, 255, 0.34), transparent 32%),
        radial-gradient(ellipse at 76% 18%, rgba(95, 223, 150, 0.16), transparent 24%),
        radial-gradient(ellipse at 62% 82%, rgba(21, 68, 153, 0.46), transparent 38%),
        linear-gradient(135deg, #061b3d 0%, #073d78 45%, #021021 100%);
}

.bio-terminal-wallpaper__reef {
    opacity: 0.28;
    background:
        linear-gradient(180deg, transparent 0 58%, rgba(7, 18, 38, 0.44) 59% 100%),
        repeating-linear-gradient(128deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 38px);
}

.bio-terminal-wallpaper__aurora {
    background:
        radial-gradient(ellipse at 30% 72%, rgba(93, 183, 255, 0.28), transparent 36%),
        radial-gradient(ellipse at 74% 24%, rgba(255, 212, 123, 0.16), transparent 28%);
}

.bio-terminal-wallpaper__logo {
    color: rgba(238, 247, 255, 0.18);
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.46), 0 0 34px rgba(90, 171, 255, 0.24);
}

.bio-terminal-taskbar {
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 8px;
    background:
        linear-gradient(180deg, rgba(100, 172, 255, 0.36) 0%, rgba(47, 125, 240, 0.92) 12%, rgba(16, 63, 166, 0.96) 52%, rgba(8, 39, 119, 0.98) 100%);
    border-top-color: rgba(153, 207, 255, 0.66);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 -2px 0 rgba(0, 10, 46, 0.54),
        0 -12px 30px rgba(0, 0, 0, 0.42);
}

.bio-terminal-start-button {
    width: 120px;
    height: 42px;
    padding: 0 18px 0 16px;
    justify-content: start;
    color: #f6fff4;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.78), transparent 21%),
        linear-gradient(180deg, #76df82 0%, var(--bioluna-green-500) 42%, var(--bioluna-green-700) 100%);
    border-color: rgba(198, 255, 201, 0.78);
    border-radius: 999px 18px 18px 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        inset 0 -4px 8px rgba(0, 42, 10, 0.36),
        0 3px 10px rgba(0, 0, 0, 0.34),
        0 0 16px rgba(77, 218, 93, 0.28);
    font-size: 15px;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.58);
}

.bio-terminal-start-button.is-active,
.bio-terminal-start-button:hover {
    filter: brightness(1.08) saturate(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.66),
        inset 0 -4px 8px rgba(0, 42, 10, 0.32),
        0 0 22px rgba(89, 229, 104, 0.36);
}

.bio-terminal-taskbar-button {
    background:
        linear-gradient(180deg, rgba(112, 181, 255, 0.36), rgba(31, 92, 204, 0.82) 42%, rgba(8, 45, 139, 0.9));
    border-color: rgba(139, 197, 255, 0.38);
    border-radius: 5px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -1px 0 rgba(0, 8, 35, 0.54);
}

.bio-terminal-taskbar-button:hover,
.bio-terminal-taskbar-button.is-active {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(150, 206, 255, 0.46), rgba(54, 122, 232, 0.94) 44%, rgba(13, 61, 164, 0.96));
    border-color: rgba(218, 240, 255, 0.62);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        inset 0 0 18px rgba(117, 182, 255, 0.24),
        0 0 14px rgba(66, 143, 250, 0.22);
}

.bio-terminal-tray__sound,
.bio-terminal-tray__bubble {
    background: rgba(5, 28, 80, 0.48);
    border-color: rgba(164, 211, 255, 0.34);
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bio-terminal-start-menu {
    width: 354px;
    background:
        linear-gradient(90deg, rgba(9, 35, 99, 0.98) 0 76px, rgba(234, 241, 252, 0.96) 77px 100%);
    border-color: rgba(137, 197, 255, 0.72);
    border-radius: 10px 10px 6px 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        0 22px 58px rgba(0, 0, 0, 0.62),
        0 0 28px rgba(47, 125, 240, 0.24);
}

.bio-terminal-start-menu__head {
    background:
        linear-gradient(180deg, rgba(72, 148, 255, 0.94), rgba(18, 71, 177, 0.98));
    border-bottom-color: rgba(5, 26, 92, 0.58);
}

.bio-terminal-start-menu__head strong {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62);
}

.bio-terminal-start-menu__head small {
    color: rgba(230, 242, 255, 0.82);
}

.bio-terminal-start-menu__avatar {
    background:
        radial-gradient(circle at 36% 26%, rgba(255, 255, 255, 0.92) 0 10%, transparent 12%),
        conic-gradient(from 40deg, rgba(111, 214, 255, 0.2), rgba(83, 212, 103, 0.88), rgba(63, 133, 255, 0.86), rgba(111, 214, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow: 0 0 16px rgba(117, 182, 255, 0.36);
}

.bio-terminal-start-menu__apps,
.bio-terminal-start-menu__footer {
    margin-left: 76px;
}

.bio-terminal-start-menu__apps button {
    color: #0c1b35;
    background: transparent;
    border-radius: 3px;
}

.bio-terminal-start-menu__apps button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, #245cc7, #3c8dff);
    border-color: rgba(28, 83, 192, 0.34);
}

.bio-terminal-start-menu__apps span {
    color: #ffffff;
    background: linear-gradient(180deg, #67b9ff, #164aa6);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.bio-terminal-start-menu__footer {
    background: rgba(218, 230, 248, 0.78);
    border-top-color: rgba(30, 74, 151, 0.18);
}

.bio-terminal-start-menu__footer button,
.bio-os-media button,
.bio-os-vat__files button {
    background: linear-gradient(180deg, #f9fbff, #bfd8ff 52%, #7fb1ff);
    border-color: rgba(58, 112, 199, 0.58);
    border-radius: 4px;
    color: #0c2b67;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.bio-terminal-window {
    grid-template-rows: 34px 1fr;
    background: var(--bioluna-panel);
    border: 2px solid #2e75df;
    border-radius: 8px 8px 5px 5px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 18px 48px rgba(0, 0, 0, 0.56),
        0 0 18px rgba(47, 125, 240, 0.18);
}

.bio-terminal-window.is-active {
    border-color: #5da5ff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 20px 54px rgba(0, 0, 0, 0.62),
        0 0 24px rgba(84, 158, 255, 0.32);
}

.bio-terminal-window__titlebar {
    min-height: 34px;
    padding: 4px 6px 4px 8px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.48), transparent 22%),
        linear-gradient(180deg, #5da5ff 0%, #2f7df0 18%, #164aa6 64%, #082869 100%);
    border-bottom-color: rgba(3, 12, 50, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -1px 0 rgba(0, 8, 38, 0.52);
}

.bio-terminal-window__title span {
    width: 22px;
    height: 22px;
    color: #ffffff;
    background: linear-gradient(180deg, #6cd6ff, #1260cb);
    border-color: rgba(255, 255, 255, 0.52);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36);
}

.bio-terminal-window__title strong {
    color: #ffffff;
    font-size: 13px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.64);
}

.bio-terminal-window__control {
    width: 26px;
    height: 24px;
    color: #ffffff;
    background:
        radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.72), transparent 24%),
        linear-gradient(180deg, #73b6ff, #276ce3 52%, #0a327c);
    border-color: rgba(218, 239, 255, 0.7);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 12, 56, 0.42);
    font-size: 12px;
}

.bio-terminal-window__control.is-close {
    background:
        radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.78), transparent 24%),
        linear-gradient(180deg, #ff9b75, #e34b31 52%, #8c150e);
}

.bio-terminal-window__body,
.bio-os-hero,
.bio-os-metric,
.bio-os-log-list article,
.bio-os-simnet__feed article,
.bio-os-map-board,
.bio-os-vat__reader,
.bio-os-console {
    border-radius: 4px;
    border-color: rgba(112, 177, 255, 0.24);
    background:
        radial-gradient(circle at 100% 0%, rgba(84, 158, 255, 0.12), transparent 34%),
        rgba(4, 13, 31, 0.76);
}

.bio-terminal-desktop-icon {
    border-radius: 4px;
}

.bio-terminal-desktop-icon:hover,
.bio-terminal-desktop-icon:focus-visible {
    background: rgba(42, 111, 222, 0.36);
    border-color: rgba(202, 229, 255, 0.54);
}

.bio-terminal-desktop-icon__mark {
    background: linear-gradient(180deg, #ddecff, #509dff 58%, #1552b4);
    border-radius: 7px;
    color: #ffffff;
}

@media (max-width: 860px) {
    .bio-terminal-taskbar {
        grid-template-columns: 100px minmax(0, 1fr) 64px;
    }

    .bio-terminal-start-button {
        width: 92px;
        height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .bio-terminal-start-menu__apps,
    .bio-terminal-start-menu__footer {
        margin-left: 0;
    }

    .bio-terminal-start-menu {
        background:
            linear-gradient(180deg, rgba(9, 35, 99, 0.98) 0 62px, rgba(234, 241, 252, 0.96) 63px 100%);
    }
}


/* BioTerminalOS prestige pass: richer mini-OS polish, original BioLuna assets only. */
.bio-terminal-root {
    --bioluna-aqua: #72fff1;
    --bioluna-amber: #ffd27a;
    --bioluna-danger: #ff6b5d;
    --bioluna-glass-line: rgba(220, 245, 255, 0.36);
}

.bio-terminal-root::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.055) 37% 38%, transparent 39% 100%),
        repeating-radial-gradient(circle at 18% 22%, rgba(114, 255, 241, 0.055) 0 1px, transparent 1px 7px);
    mix-blend-mode: screen;
    opacity: 0.56;
}

.bio-terminal-backdrop {
    backdrop-filter: blur(7px) saturate(1.18);
}

.bio-terminal-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045), transparent 20% 80%, rgba(0, 0, 0, 0.1)),
        repeating-linear-gradient(90deg, rgba(147, 218, 255, 0.05) 0 1px, transparent 1px 44px);
    opacity: 0.62;
}

.bio-terminal-boot__orb {
    position: relative;
    isolation: isolate;
}

.bio-terminal-boot__orb::before,
.bio-terminal-boot__orb::after,
.bio-terminal-boot__orb i {
    content: "";
    position: absolute;
    inset: 16%;
    border: 1px solid rgba(149, 244, 255, 0.36);
    border-radius: 50%;
    box-shadow: 0 0 22px rgba(93, 183, 255, 0.2);
}

.bio-terminal-boot__orb::after {
    inset: 31%;
    border-color: rgba(255, 210, 122, 0.28);
    animation: bio-terminal-orbit 2.8s linear infinite reverse;
}

.bio-terminal-boot__orb i {
    inset: 8%;
    border-left-color: transparent;
    border-bottom-color: transparent;
    animation: bio-terminal-orbit 3.6s linear infinite;
}

.bio-terminal-boot__badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 9px;
    color: rgba(235, 248, 255, 0.82);
    background: rgba(7, 32, 76, 0.72);
    border: 1px solid rgba(142, 202, 255, 0.34);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

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

.bio-terminal-boot__handshake span {
    padding: 6px 8px;
    color: #061229;
    background: linear-gradient(180deg, #e7fbff, #7bbcff 58%, #2f7df0);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), 0 0 16px rgba(117, 182, 255, 0.18);
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.bio-terminal-boot__line {
    opacity: 0;
    transform: translateX(-8px);
    animation: bio-terminal-line-in 220ms ease forwards;
}

.bio-terminal-window {
    transform-origin: 50% 24px;
    animation: bio-terminal-window-in 180ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bio-terminal-window:not(.is-active) {
    filter: saturate(0.72) brightness(0.7);
    opacity: 0.82;
}

.bio-terminal-window.is-active {
    animation-name: bio-terminal-window-focus;
}

.bio-terminal-window__titlebar {
    position: relative;
    overflow: hidden;
}

.bio-terminal-window__titlebar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 42%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent);
    pointer-events: none;
}

.bio-terminal-window__control.is-minimize span { transform: translateY(-3px); }
.bio-terminal-window__control.is-maximize span { font-size: 11px; }
.bio-terminal-window__control:hover { transform: translateY(-1px); }
.bio-terminal-window__control:active { transform: translateY(1px) scale(0.97); }

.bio-terminal-window__control.is-close:hover,
.bio-terminal-window__control.is-close:focus-visible {
    background:
        radial-gradient(circle at 35% 18%, rgba(255, 255, 255, 0.82), transparent 24%),
        linear-gradient(180deg, #ffb08b, #fb5f3f 52%, #9f1d14);
}

.bio-terminal-desktop-icon,
.bio-terminal-taskbar-button,
.bio-terminal-start-button,
.bio-terminal-start-menu__apps button {
    transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.bio-terminal-desktop-icon:hover,
.bio-terminal-desktop-icon:focus-visible {
    transform: translateY(-2px);
}

.bio-terminal-desktop-icon:active,
.bio-terminal-taskbar-button:active,
.bio-terminal-start-menu__apps button:active {
    transform: translateY(1px) scale(0.985);
}

.bio-terminal-app-icon--station,
.bio-terminal-app-icon--simnet,
.bio-terminal-app-icon--journal,
.bio-terminal-app-icon--map,
.bio-terminal-app-icon--media,
.bio-terminal-app-icon--console,
.bio-terminal-app-icon--vat {
    position: relative;
    isolation: isolate;
}

.bio-terminal-desktop-icon__mark::before,
.bio-terminal-window__title span::before,
.bio-terminal-taskbar-button span::before,
.bio-terminal-start-menu__apps span::before {
    content: "";
    position: absolute;
    inset: 18%;
    z-index: -1;
    border-radius: inherit;
    opacity: 0.74;
}

.bio-terminal-app-icon--station::before { background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 16%, rgba(114, 255, 241, 0.58) 18% 28%, transparent 30%); }
.bio-terminal-app-icon--simnet::before { background: conic-gradient(from 0deg, rgba(114, 255, 241, 0.2), rgba(114, 255, 241, 0.86), rgba(47, 125, 240, 0.2)); }
.bio-terminal-app-icon--journal::before { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0 2px, transparent 2px 5px); }
.bio-terminal-app-icon--map::before { background: radial-gradient(circle, transparent 0 22%, rgba(255, 255, 255, 0.9) 23% 27%, transparent 28%), linear-gradient(90deg, transparent 45%, rgba(255,255,255,.75) 46% 54%, transparent 55%); }
.bio-terminal-app-icon--media::before { background: radial-gradient(circle, rgba(255,255,255,.92) 0 18%, transparent 20%), conic-gradient(rgba(255, 210, 122, 0.85), rgba(114, 255, 241, 0.6), rgba(47, 125, 240, 0.78), rgba(255, 210, 122, 0.85)); }
.bio-terminal-app-icon--console::before { background: linear-gradient(135deg, transparent 0 43%, rgba(255,255,255,.82) 44% 56%, transparent 57% 100%); }
.bio-terminal-app-icon--vat::before { background: radial-gradient(circle at 50% 70%, rgba(255, 210, 122, 0.75), transparent 34%), linear-gradient(180deg, transparent, rgba(255, 107, 93, 0.55)); }

.bio-os-console {
    position: relative;
    grid-template-rows: auto minmax(0, 1fr) auto;
    background:
        radial-gradient(circle at 16% 0%, rgba(114, 255, 241, 0.13), transparent 32%),
        linear-gradient(180deg, rgba(2, 9, 16, 0.94), rgba(0, 3, 8, 0.98));
    box-shadow: inset 0 0 34px rgba(18, 210, 201, 0.08);
}

.bio-os-console__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    color: rgba(230, 247, 255, 0.8);
    background: linear-gradient(180deg, rgba(31, 92, 204, 0.42), rgba(3, 18, 43, 0.72));
    border-bottom: 1px solid rgba(112, 177, 255, 0.26);
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-os-console__header span {
    color: var(--bioluna-aqua);
}

.bio-os-console__header strong {
    color: rgba(255, 210, 122, 0.88);
    font-size: 10px;
}

.bio-os-console__output {
    background-image:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 20px),
        linear-gradient(90deg, rgba(114, 255, 241, 0.05), transparent 18% 100%);
}

.bio-os-console__line {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 6px;
    animation: bio-terminal-line-in 180ms ease both;
}

.bio-os-console__line span {
    align-self: start;
    padding: 1px 5px;
    color: #03131d;
    background: linear-gradient(180deg, #d8fff9, #72fff1);
    border-radius: 3px;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.bio-os-console__line p {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.bio-os-console__line.is-input span { background: linear-gradient(180deg, #ffe6a6, #f0b95d); }
.bio-os-console__line.is-error span { background: linear-gradient(180deg, #ffc0b9, #ff6b5d); }

.bio-os-console__form {
    grid-template-columns: auto minmax(0, 1fr) 9px;
    position: relative;
    background:
        linear-gradient(180deg, rgba(8, 34, 77, 0.96), rgba(0, 9, 19, 0.98));
}

.bio-os-console__prompt span { color: rgba(235, 248, 255, 0.64); }
.bio-os-console__prompt em { color: var(--bioluna-aqua); font-style: normal; }

.bio-os-console__form input::placeholder {
    color: rgba(180, 216, 226, 0.38);
}

.bio-os-console__caret {
    width: 8px;
    height: 18px;
    background: var(--bioluna-aqua);
    box-shadow: 0 0 12px rgba(114, 255, 241, 0.58);
    animation: bio-terminal-caret 1s steps(2, start) infinite;
}

.bio-terminal-login__card,
.bio-terminal-shutdown {
    animation: bio-terminal-window-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bio-terminal-shutdown__pulse {
    box-shadow: 0 0 0 0 rgba(114, 255, 241, 0.38), inset 0 0 42px rgba(47, 125, 240, 0.28);
}

@keyframes bio-terminal-orbit { to { transform: rotate(360deg); } }
@keyframes bio-terminal-caret { 50% { opacity: 0; } }
@keyframes bio-terminal-line-in { to { opacity: 1; transform: translateX(0); } }
@keyframes bio-terminal-window-in {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes bio-terminal-window-focus {
    0% { transform: translateY(2px) scale(0.998); }
    100% { transform: translateY(0) scale(1); }
}


/* BioTerminalOS XP-Luna alignment pass: original BioLuna styling, no Microsoft assets. */
.bio-terminal-boot--post {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at 62% 38%, rgba(33, 95, 143, 0.16), transparent 38%),
        repeating-linear-gradient(180deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 4px),
        #02070c;
}

.bio-terminal-boot__crt {
    width: min(860px, 92vw);
    min-height: 420px;
    justify-self: center;
    padding: 18px;
    color: #d7fff7;
    background:
        linear-gradient(180deg, rgba(2, 11, 17, 0.96), rgba(0, 0, 0, 0.98));
    border: 1px solid rgba(124, 220, 208, 0.32);
    border-radius: 8px;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.04),
        inset 0 0 44px rgba(37, 231, 212, 0.08),
        0 24px 70px rgba(0, 0, 0, 0.68);
    font-family: "Courier New", monospace;
}

.bio-terminal-boot__screen {
    min-height: 292px;
    padding: 16px;
    background: rgba(0, 4, 7, 0.88);
    border: 1px solid rgba(93, 205, 194, 0.22);
    box-shadow: inset 0 0 28px rgba(22, 220, 198, 0.07);
}

.bio-terminal-boot__prompt,
.bio-terminal-boot__line {
    font-size: 13px;
    letter-spacing: 0.035em;
    line-height: 1.55;
    text-shadow: 0 0 10px rgba(114, 255, 241, 0.28);
}

.bio-terminal-boot__prompt {
    color: #f2d28a;
    margin-bottom: 10px;
}

.bio-terminal-boot__prompt span {
    display: inline-block;
    margin-left: 2px;
    color: #72fff1;
    animation: bio-terminal-caret 1s steps(2, start) infinite;
}

.bio-terminal-boot__line span {
    min-width: 42px;
    color: #07151b;
    background: linear-gradient(180deg, #e8fff9, #72fff1);
}

.bio-terminal-boot__handoff {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: rgba(220, 246, 255, 0.78);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-boot__handoff span {
    padding: 2px 7px;
    color: #061229;
    background: linear-gradient(180deg, #ffe6aa, #f0b95d);
    border-radius: 3px;
    font-weight: 900;
}

.bio-terminal-desktop__identity {
    z-index: 2;
    pointer-events: none;
}

.bio-terminal-window-layer {
    z-index: 6;
}

.bio-terminal-window {
    grid-template-rows: 38px minmax(0, 1fr);
    border-width: 2px;
    border-color: #2c6fda;
    border-radius: 9px 9px 5px 5px;
    background:
        linear-gradient(180deg, rgba(9, 26, 58, 0.96), rgba(3, 11, 26, 0.98));
}

.bio-terminal-window.is-active {
    border-color: #78b9ff;
}

.bio-terminal-window:not(.is-active) .bio-terminal-window__titlebar {
    background:
        linear-gradient(180deg, #6d869e 0%, #40576d 18%, #27394b 68%, #162330 100%);
}

.bio-terminal-window__titlebar {
    width: 100%;
    min-height: 38px;
    box-sizing: border-box;
    gap: 8px;
    padding: 4px 5px 4px 7px;
    background:
        radial-gradient(circle at 16% 0%, rgba(255,255,255,0.55), transparent 24%),
        linear-gradient(180deg, #76b8ff 0%, #2f7df0 16%, #1450bd 58%, #082b75 100%);
    border-bottom: 1px solid rgba(2, 12, 48, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.62),
        inset 0 -1px 0 rgba(0, 6, 33, 0.62),
        0 1px 0 rgba(103, 178, 255, 0.18);
}

.bio-terminal-window__title {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
}

.bio-terminal-window__title span {
    width: 24px;
    height: 24px;
    border-radius: 5px;
}

.bio-terminal-window__title strong {
    font-size: 14px;
    letter-spacing: 0.01em;
}

.bio-terminal-window__controls {
    margin-left: auto;
    gap: 3px;
    padding-left: 8px;
}

.bio-terminal-window__control {
    width: 30px;
    height: 28px;
    border-radius: 6px;
    border-color: rgba(233, 246, 255, 0.78);
    background:
        radial-gradient(circle at 32% 16%, rgba(255,255,255,0.86), transparent 25%),
        linear-gradient(180deg, #8bc7ff 0%, #2d77e6 48%, #0b327d 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.62),
        inset 0 -4px 7px rgba(0, 11, 54, 0.45),
        0 1px 0 rgba(255,255,255,0.25),
        0 2px 5px rgba(0,0,0,0.36);
}

.bio-terminal-window__control.is-minimize span {
    transform: translateY(-4px);
}

.bio-terminal-window__control.is-maximize span {
    transform: translateY(-1px);
    font-size: 12px;
}

.bio-terminal-window__control.is-close {
    margin-left: 5px;
    background:
        radial-gradient(circle at 32% 16%, rgba(255,255,255,0.86), transparent 25%),
        linear-gradient(180deg, #ffb18e 0%, #ed6040 48%, #931d13 100%);
    border-color: rgba(255, 221, 211, 0.82);
}

.bio-terminal-window__control:hover,
.bio-terminal-window__control:focus-visible {
    filter: brightness(1.1) saturate(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        inset 0 -4px 7px rgba(0, 11, 54, 0.36),
        0 0 12px rgba(130, 196, 255, 0.34);
}

.bio-terminal-window__control.is-close:hover,
.bio-terminal-window__control.is-close:focus-visible {
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.72),
        inset 0 -4px 7px rgba(78, 4, 0, 0.38),
        0 0 14px rgba(255, 116, 84, 0.42);
}

.bio-terminal-window__body {
    margin: 0 2px 2px;
    border-radius: 3px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.bio-terminal-shutdown--session {
    position: relative;
    overflow: hidden;
}

.bio-terminal-shutdown--session::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0 62%, rgba(0,0,0,0.34) 100%),
        repeating-linear-gradient(180deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 5px);
    animation: bio-terminal-power-down 1450ms ease-in forwards;
}

.bio-terminal-shutdown__steps {
    width: min(420px, 84vw);
    margin: 18px auto 0;
    padding: 12px 16px 12px 34px;
    color: rgba(226, 249, 255, 0.84);
    background: rgba(0, 8, 18, 0.42);
    border: 1px solid rgba(120, 218, 255, 0.18);
    border-radius: 6px;
    font-family: "Courier New", monospace;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.bio-terminal-shutdown__steps li {
    margin: 3px 0;
    animation: bio-terminal-line-in 180ms ease both;
}

.bio-terminal-shutdown__steps li:nth-child(2) { animation-delay: 130ms; }
.bio-terminal-shutdown__steps li:nth-child(3) { animation-delay: 260ms; }
.bio-terminal-shutdown__steps li:nth-child(4) { animation-delay: 390ms; }
.bio-terminal-shutdown__steps li:nth-child(5) { animation-delay: 520ms; }

@keyframes bio-terminal-power-down {
    0% { opacity: 0; transform: scaleY(1); }
    70% { opacity: 0.55; transform: scaleY(1); }
    100% { opacity: 0.95; transform: scaleY(0.04); }
}

.bio-terminal-login--welcome {
    position: relative;
    grid-template-rows: auto minmax(0, 1fr) auto;
    place-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
    color: #f4fbff;
    background:
        radial-gradient(ellipse at 64% 42%, rgba(111, 188, 255, 0.28), transparent 38%),
        linear-gradient(180deg, rgba(25, 86, 174, 0.95), rgba(5, 25, 76, 0.97) 42%, rgba(1, 9, 35, 0.98));
}

.bio-terminal-login--welcome::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 26% 74%, rgba(0, 0, 0, 0.24)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4px);
    opacity: 0.64;
}

.bio-terminal-login__banner,
.bio-terminal-login__footer {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.bio-terminal-login__banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
    padding: 16px clamp(22px, 5vw, 72px);
    background:
        linear-gradient(180deg, rgba(118, 188, 255, 0.28), rgba(17, 67, 157, 0.82));
    border-bottom: 1px solid rgba(195, 229, 255, 0.32);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 12px 28px rgba(0, 0, 0, 0.24);
}

.bio-terminal-login__banner strong,
.bio-terminal-login__banner span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-login__banner strong {
    font-size: clamp(20px, 2.8vw, 34px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.42);
}

.bio-terminal-login__banner span {
    color: rgba(230, 246, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bio-terminal-login--welcome .bio-terminal-login__card {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: center;
    width: min(820px, calc(100% - 56px));
    min-height: 152px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-items: stretch;
    align-items: center;
    gap: 18px;
    padding: 18px;
    text-align: left;
    background:
        linear-gradient(180deg, rgba(239, 248, 255, 0.92), rgba(191, 216, 242, 0.88)),
        rgba(220, 236, 250, 0.82);
    border: 1px solid rgba(247, 252, 255, 0.82);
    border-radius: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.82),
        0 18px 52px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(30, 82, 166, 0.28);
    animation: bio-terminal-xp-tile-in 300ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bio-terminal-login--welcome .bio-terminal-login__avatar {
    width: 98px;
    height: 98px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(118, 174, 226, 0.72)),
        #184c9d;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -10px 18px rgba(0, 30, 100, 0.24),
        0 4px 14px rgba(0, 0, 0, 0.28);
}

.bio-terminal-login__avatar-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.bio-terminal-login__avatar-icon > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.bio-terminal-login__copy {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.bio-terminal-login--welcome .bio-terminal-login__copy span {
    color: #1d4f98;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bio-terminal-login--welcome .bio-terminal-login__copy h1 {
    margin: 0;
    overflow-wrap: anywhere;
    color: #0a1d38;
    font-size: clamp(28px, 3.4vw, 44px);
    line-height: 1.05;
    text-shadow: none;
}

.bio-terminal-login--welcome .bio-terminal-login__copy p {
    margin: 0;
    color: rgba(16, 39, 75, 0.74);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bio-terminal-login--welcome .bio-terminal-login__button {
    min-width: 166px;
    height: 44px;
    color: #07235a;
    background: linear-gradient(180deg, #ffffff, #cbe1ff 52%, #78adff);
    border: 1px solid rgba(54, 109, 207, 0.66);
    border-radius: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 2px 7px rgba(0, 0, 0, 0.22);
    font-size: 13px;
}

.bio-terminal-login--welcome .bio-terminal-login__button:hover,
.bio-terminal-login--welcome .bio-terminal-login__button:focus-visible {
    color: #ffffff;
    background: linear-gradient(180deg, #9fd0ff, #367fec 52%, #0f4ebd);
    outline: none;
}

.bio-terminal-login--welcome .bio-terminal-login__card small {
    grid-column: 2 / 4;
    min-width: 0;
    color: rgba(14, 39, 78, 0.62);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.bio-terminal-login__footer {
    padding: 15px clamp(18px, 5vw, 72px);
    color: rgba(232, 247, 255, 0.66);
    background:
        linear-gradient(180deg, rgba(2, 17, 57, 0.12), rgba(0, 7, 28, 0.58));
    border-top: 1px solid rgba(201, 232, 255, 0.2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: right;
}

.bio-terminal-shutdown--xp {
    position: relative;
    place-items: center;
    overflow: hidden;
    padding: clamp(22px, 5vw, 58px);
    color: #f4fbff;
    background:
        radial-gradient(ellipse at 54% 35%, rgba(114, 188, 255, 0.24), transparent 36%),
        linear-gradient(180deg, rgba(24, 82, 172, 0.96), rgba(4, 26, 86, 0.98) 48%, rgba(0, 9, 34, 0.99));
}

.bio-terminal-shutdown--xp::before,
.bio-terminal-shutdown--xp::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bio-terminal-shutdown--xp::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 24% 76%, rgba(0, 0, 0, 0.28)),
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
    opacity: 0.62;
}

.bio-terminal-shutdown--xp::after {
    opacity: 0;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 0 28%, rgba(0, 0, 0, 0.44) 74%, rgba(0, 0, 0, 0.82) 100%),
        linear-gradient(180deg, transparent 0 48%, rgba(255, 255, 255, 0.25) 49% 51%, transparent 52% 100%);
}

.bio-terminal-shutdown--xp.is-phase-2::after {
    animation: bio-terminal-xp-crt-out 1220ms 420ms ease-in forwards;
}

.bio-terminal-shutdown__panel {
    position: relative;
    z-index: 1;
    width: min(720px, 92vw);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(24px, 4vw, 42px);
    text-align: center;
    background:
        linear-gradient(180deg, rgba(13, 48, 112, 0.38), rgba(3, 14, 43, 0.54));
    border: 1px solid rgba(188, 226, 255, 0.24);
    border-radius: 8px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 20px 58px rgba(0, 0, 0, 0.42);
    animation: bio-terminal-xp-tile-in 280ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.bio-terminal-shutdown__logo {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(180deg, rgba(155, 215, 255, 0.32), rgba(10, 45, 120, 0.72));
    border: 1px solid rgba(210, 240, 255, 0.48);
    box-shadow:
        inset 0 0 22px rgba(121, 203, 255, 0.18),
        0 0 28px rgba(95, 174, 255, 0.22);
    animation: bio-terminal-shutdown-orbit 1200ms ease-in-out infinite;
}

.bio-terminal-shutdown__logo-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.bio-terminal-shutdown__logo-icon > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.bio-terminal-shutdown__message {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.bio-terminal-shutdown__message span {
    color: rgba(221, 243, 255, 0.7);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__message h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.44);
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__message p {
    max-width: 610px;
    margin: 0;
    color: rgba(230, 246, 255, 0.82);
    font-size: 14px;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps {
    width: min(460px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 2px 0 0;
    padding: 0;
    color: rgba(230, 246, 255, 0.72);
    background: transparent;
    border: 0;
    border-radius: 0;
    list-style: none;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    text-align: center;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li {
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 0;
    margin: 0;
    opacity: 0.58;
    animation: none;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(231, 246, 255, 0.3);
    border: 1px solid rgba(221, 243, 255, 0.42);
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li strong {
    min-width: 0;
    overflow: hidden;
    font-size: 9px;
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li.is-complete,
.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li.is-active {
    opacity: 1;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li.is-complete span {
    background: #dff5ff;
}

.bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li.is-active span {
    background: #75c6ff;
    box-shadow: 0 0 18px rgba(117, 198, 255, 0.62);
}

.bio-terminal-shutdown__progress {
    width: min(380px, 100%);
    height: 15px;
    overflow: hidden;
    padding: 2px;
    background: rgba(0, 8, 28, 0.42);
    border: 1px solid rgba(211, 240, 255, 0.32);
    border-radius: 999px;
}

.bio-terminal-shutdown__progress span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 18% 82%, rgba(255, 255, 255, 0.34)),
        linear-gradient(180deg, #d9f5ff, #5aaeff 58%, #1e65d2);
    box-shadow: 0 0 18px rgba(95, 174, 255, 0.3);
    transition: width 360ms ease;
}

.bio-terminal-shutdown--xp.is-phase-1 .bio-terminal-shutdown__progress span {
    width: 68%;
}

.bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__progress span {
    width: 100%;
}

.theme-bio-green .bio-terminal-login--welcome,
.theme-bio-green .bio-terminal-shutdown--xp {
    background:
        radial-gradient(ellipse at 60% 38%, rgba(93, 238, 149, 0.22), transparent 36%),
        linear-gradient(180deg, rgba(24, 118, 52, 0.96), rgba(4, 43, 20, 0.98) 48%, rgba(0, 12, 6, 0.99));
}

.theme-bio-green .bio-terminal-login__banner {
    background:
        linear-gradient(180deg, rgba(150, 255, 179, 0.28), rgba(19, 102, 43, 0.84));
    border-bottom-color: rgba(176, 255, 202, 0.34);
}

.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__card {
    background:
        linear-gradient(180deg, rgba(245, 255, 248, 0.94), rgba(202, 231, 210, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 18px 52px rgba(0, 0, 0, 0.46),
        0 0 0 1px rgba(23, 104, 48, 0.28);
}

.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__avatar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(110, 211, 133, 0.72)),
        #176535;
}

.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__copy span {
    color: #17612e;
}

.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__button {
    color: #0b2b15;
    background: linear-gradient(180deg, #ffffff, #cbf4d3 52%, #75cb80);
    border-color: rgba(51, 133, 63, 0.66);
}

.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__button:hover,
.theme-bio-green .bio-terminal-login--welcome .bio-terminal-login__button:focus-visible {
    color: #ffffff;
    background: linear-gradient(180deg, #abf3b4, #37a751 52%, #146327);
}

.theme-bio-green .bio-terminal-shutdown__panel {
    background:
        linear-gradient(180deg, rgba(9, 57, 24, 0.4), rgba(1, 19, 8, 0.58));
    border-color: rgba(168, 255, 203, 0.24);
}

.theme-bio-green .bio-terminal-shutdown__logo {
    background:
        radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.72), transparent 28%),
        linear-gradient(180deg, rgba(139, 255, 175, 0.32), rgba(9, 77, 34, 0.74));
    border-color: rgba(196, 255, 215, 0.48);
    box-shadow:
        inset 0 0 22px rgba(120, 255, 185, 0.18),
        0 0 28px rgba(87, 244, 148, 0.22);
}

.theme-bio-green .bio-terminal-shutdown__progress span {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.28), transparent 18% 82%, rgba(255, 255, 255, 0.34)),
        linear-gradient(180deg, #e9fff0, #82df91 58%, #218c3b);
    box-shadow: 0 0 18px rgba(87, 244, 148, 0.3);
}

.theme-bio-green .bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li.is-active span {
    background: #76ef95;
    box-shadow: 0 0 18px rgba(118, 239, 149, 0.62);
}

.theme-dark-luna .bio-terminal-login--welcome,
.theme-dark-luna .bio-terminal-shutdown--xp {
    background:
        radial-gradient(ellipse at 64% 42%, rgba(111, 188, 255, 0.28), transparent 38%),
        linear-gradient(180deg, rgba(25, 86, 174, 0.95), rgba(5, 25, 76, 0.97) 42%, rgba(1, 9, 35, 0.98));
}

@media (max-width: 860px) {
    .bio-terminal-login__banner {
        min-height: 66px;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 12px 18px;
    }

    .bio-terminal-login__banner span {
        max-width: 100%;
        font-size: 10px;
    }

    .bio-terminal-login--welcome .bio-terminal-login__card {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 16px;
        text-align: center;
    }

    .bio-terminal-login--welcome .bio-terminal-login__avatar {
        width: 76px;
        height: 76px;
    }

    .bio-terminal-login__avatar-icon {
        width: 56px;
        height: 56px;
    }

    .bio-terminal-login--welcome .bio-terminal-login__copy h1 {
        font-size: 26px;
    }

    .bio-terminal-login--welcome .bio-terminal-login__button {
        width: min(100%, 220px);
    }

    .bio-terminal-login--welcome .bio-terminal-login__card small {
        grid-column: auto;
        font-size: 10px;
    }

    .bio-terminal-login__footer {
        padding: 12px 18px;
        font-size: 9px;
        line-height: 1.35;
        text-align: left;
    }

    .bio-terminal-shutdown--xp {
        padding: 16px;
    }

    .bio-terminal-shutdown__panel {
        width: 100%;
        gap: 14px;
        padding: 20px 14px;
    }

    .bio-terminal-shutdown__logo {
        width: 72px;
        height: 72px;
    }

    .bio-terminal-shutdown__logo-icon {
        width: 54px;
        height: 54px;
    }

    .bio-terminal-shutdown--xp .bio-terminal-shutdown__message h1 {
        font-size: 27px;
    }

    .bio-terminal-shutdown--xp .bio-terminal-shutdown__message p {
        font-size: 13px;
    }

    .bio-terminal-shutdown--xp .bio-terminal-shutdown__steps {
        gap: 5px;
    }

    .bio-terminal-shutdown--xp .bio-terminal-shutdown__steps li strong {
        font-size: 8px;
    }
}

@keyframes bio-terminal-xp-tile-in {
    from { opacity: 0; transform: translateY(16px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bio-terminal-shutdown-orbit {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.045); filter: brightness(1.18); }
}

@keyframes bio-terminal-xp-crt-out {
    0% { opacity: 0; transform: scaleY(1); }
    64% { opacity: 0.45; transform: scaleY(1); }
    100% { opacity: 0.98; transform: scaleY(0.035); }
}

@media (max-width: 860px) {
    .bio-terminal-boot--post {
        padding: 16px;
    }

    .bio-terminal-boot__crt {
        min-height: 360px;
        padding: 12px;
    }

    .bio-terminal-window {
        grid-template-rows: 36px minmax(0, 1fr);
    }

    .bio-terminal-window__title strong {
        font-size: 12px;
    }

    .bio-terminal-window__control {
        width: 27px;
        height: 26px;
    }
}

.bio-terminal-wallpaper__image {
    display: none;
}

.bio-terminal-desktop-icon__mark img,
.bio-terminal-window__app-icon img,
.bio-terminal-taskbar-button__icon img,
.bio-terminal-start-menu__icon img,
.bio-terminal-start-menu__avatar-icon img,
.bio-terminal-start-button__icon img,
.bio-terminal-login__avatar-icon img,
.bio-terminal-shutdown__logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    pointer-events: none;
}

.bio-terminal-window__app-icon,
.bio-terminal-taskbar-button__icon,
.bio-terminal-start-menu__icon,
.bio-terminal-start-menu__avatar-icon,
.bio-terminal-start-button__icon,
.bio-terminal-login__avatar-icon,
.bio-terminal-shutdown__logo-icon {
    position: relative;
    isolation: isolate;
    flex: 0 0 auto;
}

.bio-terminal-taskbar-button__icon {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    overflow: hidden;
    border-radius: 5px;
    line-height: 1;
}

.bio-terminal-window__app-icon {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    overflow: hidden;
    line-height: 1;
}

.bio-terminal-theme-switcher {
    display: grid;
    grid-template-columns: 1fr 94px 94px;
    gap: 8px;
    align-items: center;
    margin: 0 10px 10px 86px;
    padding: 8px;
    color: #0c1b35;
    background: rgba(218, 230, 248, 0.72);
    border: 1px solid rgba(30, 74, 151, 0.18);
    border-radius: 4px;
}

.bio-terminal-theme-switcher span {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bio-terminal-theme-switcher button {
    min-height: 30px;
    color: #0c2b67;
    background: linear-gradient(180deg, #f9fbff, #bfd8ff 52%, #7fb1ff);
    border: 1px solid rgba(58, 112, 199, 0.58);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
    cursor: pointer;
    font-size: 11px;
    font-weight: 900;
}

.bio-terminal-theme-switcher button.is-selected {
    color: #ffffff;
    background: linear-gradient(180deg, #70b5ff, #2f7df0 58%, #164aa6);
    border-color: rgba(218, 240, 255, 0.72);
}

/* BioLuna Green theme: original in-world desktop inspired by biological wet-glass OS references. */
.bio-terminal-root.theme-bio-green {
    --bio-green-ink: #020907;
    --bio-green-depth: #061812;
    --bio-green-panel: rgba(3, 20, 15, 0.88);
    --bio-green-glass: rgba(123, 255, 190, 0.22);
    --bio-green-line: rgba(130, 255, 198, 0.34);
    --bio-green-bright: #9bffd0;
    --bio-green-aqua: #6cf2de;
    --bio-green-amber: #f3c76e;
    --bio-green-danger: #ff7e70;
    color: #eafff3;
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

.bio-terminal-root.theme-bio-green::before {
    background:
        linear-gradient(115deg, transparent 0 42%, rgba(178, 255, 207, 0.045) 43% 44%, transparent 45% 100%),
        repeating-linear-gradient(90deg, rgba(109, 255, 182, 0.026) 0 1px, transparent 1px 37px);
    opacity: 0.42;
}

.theme-bio-green .bio-terminal-backdrop {
    background:
        radial-gradient(ellipse at 50% 42%, rgba(32, 142, 94, 0.18), transparent 44%),
        rgba(0, 5, 3, 0.76);
    backdrop-filter: blur(7px) saturate(1.16);
}

.theme-bio-green .bio-terminal-shell {
    background:
        linear-gradient(145deg, rgba(3, 18, 12, 0.98), rgba(0, 7, 5, 0.99)),
        radial-gradient(ellipse at 18% 0%, rgba(113, 255, 178, 0.16), transparent 45%);
    border-color: rgba(117, 247, 176, 0.58);
    border-radius: 18px 18px 10px 10px;
    box-shadow:
        inset 0 1px 0 rgba(233, 255, 243, 0.2),
        inset 0 0 0 2px rgba(23, 88, 50, 0.42),
        0 28px 96px rgba(0, 0, 0, 0.78),
        0 0 52px rgba(72, 221, 139, 0.2);
}

.theme-bio-green .bio-terminal-screen {
    border-color: rgba(147, 255, 204, 0.34);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(3, 21, 14, 0.96), rgba(0, 8, 5, 0.98));
    box-shadow:
        inset 0 0 70px rgba(82, 255, 161, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.theme-bio-green .bio-terminal-desktop {
    background: #020b08;
}

.theme-bio-green .bio-terminal-wallpaper {
    background:
        linear-gradient(180deg, rgba(2, 11, 8, 0.2), rgba(1, 8, 6, 0.42)),
        #020b08;
}

.theme-bio-green .bio-terminal-wallpaper__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.98;
    filter: saturate(0.92) contrast(1.05) brightness(0.74);
}

.theme-bio-green .bio-terminal-wallpaper__reef {
    opacity: 0.4;
    background:
        linear-gradient(180deg, transparent 0 64%, rgba(0, 8, 5, 0.36) 65% 100%),
        repeating-linear-gradient(30deg, transparent 0 31px, rgba(151, 255, 198, 0.055) 32px 33px, transparent 34px 62px),
        repeating-linear-gradient(150deg, transparent 0 31px, rgba(151, 255, 198, 0.045) 32px 33px, transparent 34px 62px);
}

.theme-bio-green .bio-terminal-wallpaper__aurora {
    background:
        radial-gradient(ellipse at 50% 48%, rgba(0, 0, 0, 0.16), transparent 54%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 14% 80%, rgba(0, 0, 0, 0.32));
    filter: none;
}

.theme-bio-green .bio-terminal-wallpaper__logo {
    right: 44px;
    bottom: 86px;
    color: rgba(224, 255, 234, 0.1);
    font-size: clamp(38px, 6vw, 82px);
    text-shadow: 0 0 34px rgba(83, 255, 151, 0.16);
}

.theme-bio-green .bio-terminal-desktop__identity {
    right: 18px;
    top: 16px;
    background:
        linear-gradient(180deg, rgba(8, 40, 24, 0.68), rgba(0, 12, 8, 0.7)),
        rgba(4, 19, 13, 0.44);
    border-color: rgba(136, 255, 194, 0.24);
    border-radius: 10px;
    box-shadow:
        inset 0 0 22px rgba(84, 255, 163, 0.08),
        0 0 18px rgba(0, 0, 0, 0.22);
}

.theme-bio-green .bio-terminal-desktop__identity strong {
    color: #f2fff6;
}

.theme-bio-green .bio-terminal-desktop__identity span,
.theme-bio-green .bio-terminal-desktop__identity em {
    color: rgba(196, 237, 213, 0.74);
}

.theme-bio-green .bio-terminal-desktop__icons {
    left: 22px;
    top: 22px;
    gap: 14px;
    width: 118px;
}

.theme-bio-green .bio-terminal-desktop-icon {
    width: 104px;
    min-height: 88px;
    padding: 7px 5px;
    color: #f2fff6;
    background: rgba(0, 13, 8, 0.18);
    border-radius: 4px;
    transition: background 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.theme-bio-green .bio-terminal-desktop-icon:hover,
.theme-bio-green .bio-terminal-desktop-icon:focus-visible {
    background: rgba(50, 169, 99, 0.28);
    border-color: rgba(162, 255, 204, 0.58);
    box-shadow:
        inset 0 0 18px rgba(106, 255, 176, 0.12),
        0 0 20px rgba(65, 228, 128, 0.2);
}

.theme-bio-green .bio-terminal-desktop-icon__mark {
    width: 50px;
    height: 50px;
    background:
        linear-gradient(180deg, rgba(214, 255, 232, 0.16), rgba(22, 80, 45, 0.4)),
        rgba(3, 20, 12, 0.48);
    border-color: rgba(179, 255, 217, 0.42);
    border-radius: 12px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -5px 10px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(99, 255, 169, 0.18);
}

.theme-bio-green .bio-terminal-desktop-icon span:last-child {
    max-width: 100%;
    color: #eefcf0;
    font-size: 12px;
    line-height: 1.12;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(57, 212, 118, 0.18);
}

.theme-bio-green .bio-terminal-taskbar {
    grid-template-columns: 166px minmax(0, 1fr) auto;
    height: 54px;
    padding: 6px 8px;
    background:
        linear-gradient(180deg, rgba(164, 255, 196, 0.24), rgba(35, 108, 50, 0.94) 18%, rgba(11, 54, 24, 0.98) 100%);
    border-top-color: rgba(167, 255, 200, 0.52);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -2px 0 rgba(0, 24, 8, 0.58),
        0 -12px 30px rgba(0, 0, 0, 0.42);
}

.theme-bio-green .bio-terminal-start-button {
    width: 154px;
    height: 40px;
    padding: 0 18px;
    justify-content: start;
    color: #f7fff5;
    background:
        linear-gradient(180deg, rgba(151, 255, 176, 0.96), rgba(70, 183, 78, 0.96) 46%, rgba(21, 98, 36, 0.98));
    border-color: rgba(220, 255, 217, 0.72);
    border-radius: 20px 10px 10px 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        inset 0 -4px 8px rgba(0, 42, 10, 0.36),
        0 2px 8px rgba(0, 0, 0, 0.36),
        0 0 16px rgba(77, 218, 93, 0.26);
    font-size: 15px;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.66);
}

.theme-bio-green .bio-terminal-start-button::before {
    content: "";
    width: 20px;
    height: 20px;
    margin-right: 9px;
    background: url("/images/ui/bio-terminal-os/icon-simulation.png") center / contain no-repeat;
}

.theme-bio-green .bio-terminal-taskbar-button {
    height: 38px;
    background:
        linear-gradient(180deg, rgba(121, 238, 163, 0.22), rgba(16, 76, 34, 0.8) 44%, rgba(3, 31, 17, 0.92));
    border-color: rgba(131, 255, 193, 0.28);
    border-radius: 6px;
}

.theme-bio-green .bio-terminal-taskbar-button:hover,
.theme-bio-green .bio-terminal-taskbar-button.is-active {
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(165, 255, 199, 0.34), rgba(38, 128, 64, 0.94) 42%, rgba(8, 61, 30, 0.96));
    border-color: rgba(213, 255, 232, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 0 18px rgba(120, 255, 185, 0.14),
        0 0 14px rgba(66, 229, 126, 0.16);
}

.theme-bio-green .bio-terminal-taskbar-button__icon {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    overflow: hidden;
    border-radius: 5px;
    font-size: 12px;
}

.theme-bio-green .bio-terminal-tray {
    gap: 8px;
    color: rgba(232, 255, 239, 0.86);
}

.theme-bio-green .bio-terminal-tray__sound,
.theme-bio-green .bio-terminal-tray__bubble {
    background: rgba(3, 35, 16, 0.6);
    border-color: rgba(151, 255, 198, 0.28);
    border-radius: 4px;
}

.theme-bio-green .bio-terminal-start-menu {
    width: 356px;
    background:
        linear-gradient(90deg, rgba(1, 20, 11, 0.98) 0 78px, rgba(8, 32, 19, 0.96) 79px 100%);
    border-color: rgba(142, 255, 190, 0.56);
    border-radius: 12px 12px 7px 7px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 22px 58px rgba(0, 0, 0, 0.62),
        0 0 28px rgba(70, 229, 134, 0.18);
}

.theme-bio-green .bio-terminal-start-menu__head {
    background:
        linear-gradient(180deg, rgba(73, 178, 98, 0.94), rgba(14, 78, 35, 0.98));
    border-bottom-color: rgba(4, 36, 16, 0.66);
}

.theme-bio-green .bio-terminal-start-menu__head small {
    color: rgba(222, 255, 234, 0.78);
}

.theme-bio-green .bio-terminal-start-menu__apps,
.theme-bio-green .bio-terminal-start-menu__footer,
.theme-bio-green .bio-terminal-theme-switcher {
    margin-left: 78px;
}

.theme-bio-green .bio-terminal-start-menu__apps button {
    color: #e9fff0;
    background: transparent;
    border-radius: 4px;
}

.theme-bio-green .bio-terminal-start-menu__apps button:hover {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(27, 101, 47, 0.88), rgba(57, 171, 91, 0.86));
    border-color: rgba(151, 255, 198, 0.28);
}

.theme-bio-green .bio-terminal-start-menu__icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #06190e;
    background: linear-gradient(180deg, #dbffe9, #65db88 58%, #1d7736);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 900;
}

.theme-bio-green .bio-terminal-theme-switcher {
    color: #e9fff0;
    background: rgba(0, 16, 9, 0.48);
    border-color: rgba(125, 241, 178, 0.2);
}

.theme-bio-green .bio-terminal-theme-switcher button,
.theme-bio-green .bio-terminal-start-menu__footer button,
.theme-bio-green .bio-os-media button,
.theme-bio-green .bio-os-vat__files button {
    color: #052111;
    background: linear-gradient(180deg, #edfff3, #95eaa6 52%, #45a957);
    border-color: rgba(195, 255, 209, 0.56);
}

.theme-bio-green .bio-terminal-theme-switcher button.is-selected {
    color: #ffffff;
    background: linear-gradient(180deg, #79f49a, #2f9a4a 58%, #155a29);
}

.theme-bio-green .bio-terminal-window {
    grid-template-rows: 38px minmax(0, 1fr);
    background:
        linear-gradient(180deg, rgba(8, 38, 22, 0.96), rgba(1, 14, 8, 0.98));
    border-color: rgba(77, 171, 97, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 18px 48px rgba(0, 0, 0, 0.58),
        0 0 20px rgba(64, 218, 125, 0.16);
}

.theme-bio-green .bio-terminal-window.is-active {
    border-color: rgba(168, 255, 203, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 20px 54px rgba(0, 0, 0, 0.64),
        0 0 25px rgba(87, 244, 148, 0.28);
}

.theme-bio-green .bio-terminal-window:not(.is-active) .bio-terminal-window__titlebar {
    background:
        linear-gradient(180deg, #657e6b 0%, #3d5543 18%, #253a2c 68%, #132219 100%);
}

.theme-bio-green .bio-terminal-window__titlebar {
    background:
        linear-gradient(180deg, rgba(197, 255, 211, 0.42), rgba(88, 195, 99, 0.98) 15%, rgba(23, 113, 43, 0.98) 58%, rgba(8, 61, 30, 0.98) 100%);
    border-bottom-color: rgba(0, 30, 11, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.56),
        inset 0 -1px 0 rgba(0, 37, 13, 0.62),
        0 1px 0 rgba(135, 255, 179, 0.14);
}

.theme-bio-green .bio-terminal-window__app-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    color: #06200f;
    background: linear-gradient(180deg, #dcffea, #65db88 58%, #1d7736);
    border: 1px solid rgba(236, 255, 241, 0.48);
    border-radius: 5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.34);
    font-size: 12px;
    font-weight: 900;
}

.theme-bio-green .bio-terminal-window__control {
    background:
        radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.82), transparent 25%),
        linear-gradient(180deg, #98efaa 0%, #36aa55 48%, #145627 100%);
    border-color: rgba(228, 255, 232, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        inset 0 -4px 7px rgba(0, 47, 14, 0.45),
        0 2px 5px rgba(0, 0, 0, 0.36);
}

.theme-bio-green .bio-terminal-window__control.is-close {
    background:
        radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.86), transparent 25%),
        linear-gradient(180deg, #ffb18e 0%, #ed6040 48%, #931d13 100%);
}

.theme-bio-green .bio-terminal-window__body,
.theme-bio-green .bio-os-hero,
.theme-bio-green .bio-os-metric,
.theme-bio-green .bio-os-log-list article,
.theme-bio-green .bio-os-simnet__feed article,
.theme-bio-green .bio-os-map-board,
.theme-bio-green .bio-os-vat__reader,
.theme-bio-green .bio-os-console {
    border-color: rgba(124, 255, 184, 0.22);
    background:
        radial-gradient(circle at 100% 0%, rgba(102, 255, 173, 0.1), transparent 34%),
        rgba(1, 15, 9, 0.76);
}

.theme-bio-green .bio-os-app h2,
.theme-bio-green .bio-terminal-window__title strong {
    color: #f6fff8;
}

.theme-bio-green .bio-os-app p,
.theme-bio-green .bio-os-simnet__feed p {
    color: rgba(232, 255, 239, 0.9);
}

.theme-bio-green .bio-os-status-strip {
    background: rgba(3, 27, 13, 0.56);
    border-color: rgba(128, 255, 188, 0.2);
}

.theme-bio-green .bio-os-status-strip span {
    background: var(--bio-green-bright);
    box-shadow: 0 0 14px rgba(155, 255, 208, 0.58);
}

.theme-bio-green .bio-os-console__header {
    background: linear-gradient(180deg, rgba(28, 104, 47, 0.52), rgba(3, 28, 13, 0.78));
    border-bottom-color: rgba(126, 255, 190, 0.24);
}

.theme-bio-green .bio-os-console__header span,
.theme-bio-green .bio-os-console__prompt em {
    color: var(--bio-green-aqua);
}

.theme-bio-green .bio-os-console__output {
    background-image:
        repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 20px),
        linear-gradient(90deg, rgba(106, 255, 176, 0.045), transparent 18% 100%);
}

.theme-bio-green .bio-os-console__line span {
    background: linear-gradient(180deg, #dfffeb, #72f19b);
}

.theme-bio-green .bio-os-console__form {
    background: linear-gradient(180deg, rgba(8, 56, 24, 0.96), rgba(0, 12, 6, 0.98));
}

.theme-bio-green .bio-os-console__caret {
    background: var(--bio-green-bright);
    box-shadow: 0 0 12px rgba(155, 255, 208, 0.58);
}

@media (max-width: 860px) {
    .theme-bio-green .bio-terminal-taskbar {
        grid-template-columns: 116px minmax(0, 1fr) 64px;
    }

    .theme-bio-green .bio-terminal-start-button {
        width: 108px;
        height: 38px;
        padding: 0 10px;
        font-size: 11px;
    }

    .theme-bio-green .bio-terminal-start-button::before {
        width: 17px;
        height: 17px;
        margin-right: 6px;
    }

    .theme-bio-green .bio-terminal-desktop__icons {
        left: 10px;
        top: 74px;
        grid-template-columns: repeat(3, 74px);
        width: auto;
    }

    .theme-bio-green .bio-terminal-desktop-icon {
        width: 70px;
        min-height: 68px;
    }

    .theme-bio-green .bio-terminal-desktop-icon__mark {
        width: 36px;
        height: 36px;
    }

    .theme-bio-green .bio-terminal-start-menu__apps,
    .theme-bio-green .bio-terminal-start-menu__footer,
    .theme-bio-green .bio-terminal-theme-switcher {
        margin-left: 0;
    }

    .bio-terminal-theme-switcher,
    .theme-bio-green .bio-terminal-theme-switcher {
        grid-template-columns: 1fr 86px 86px;
        margin-right: 8px;
        margin-left: 8px;
    }
}

/* BioStart local XP pass: two-column in-world start menu, top-logo start button, and plain POST boot. */
.bio-terminal-start-button__icon {
    display: none;
}

.bio-terminal-start-button__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-start-menu__body,
.bio-terminal-start-menu__primary,
.bio-terminal-start-menu__system,
.bio-terminal-start-menu__copy,
.bio-terminal-start-menu__status {
    min-width: 0;
}

.bio-terminal-start-menu__body {
    display: grid;
}

.bio-terminal-start-menu__item {
    border: 0;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.bio-terminal-start-menu__copy {
    display: grid;
    gap: 2px;
}

.bio-terminal-start-menu__copy strong,
.bio-terminal-start-menu__copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-start-menu__copy small {
    font-size: 11px;
    font-weight: 700;
}

.bio-os-settings {
    display: grid;
    grid-template-columns: 152px minmax(0, 1fr);
    gap: 12px;
    min-height: 100%;
    min-width: 0;
}

.bio-os-settings__sidebar,
.bio-os-settings__panel,
.bio-os-settings__theme-card {
    min-width: 0;
}

.bio-os-settings__sidebar {
    display: grid;
    align-content: start;
    gap: 7px;
    padding: 12px;
    background: rgba(2, 18, 27, 0.6);
    border: 1px solid rgba(118, 230, 224, 0.18);
    border-radius: 9px;
}

.bio-os-settings__sidebar strong {
    margin-bottom: 4px;
    color: #f0ffff;
    font-size: 14px;
}

.bio-os-settings__sidebar button,
.bio-os-settings__sidebar span {
    padding: 8px 9px;
    color: rgba(220, 246, 255, 0.68);
    background: transparent;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
}

.bio-os-settings__sidebar button:hover,
.bio-os-settings__sidebar button:focus-visible {
    color: #efffff;
    background: rgba(116, 226, 220, 0.1);
    outline: none;
}

.bio-os-settings__sidebar button.is-active,
.bio-os-settings__sidebar span.is-active {
    color: #071e23;
    background: linear-gradient(180deg, #d7fff9, #68d7d0);
}

.bio-os-settings__panel {
    display: grid;
    gap: 12px;
}

.bio-os-settings__theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bio-os-settings__theme-card {
    display: grid;
    gap: 8px;
    padding: 10px;
    color: #eaffff;
    text-align: left;
    background: rgba(1, 15, 21, 0.46);
    border: 1px solid rgba(118, 230, 224, 0.24);
    border-radius: 9px;
    cursor: pointer;
}

.bio-os-settings__theme-card strong,
.bio-os-settings__theme-card small,
.bio-os-settings__theme-card em {
    display: block;
    overflow-wrap: anywhere;
}

.bio-os-settings__theme-card strong {
    font-size: 14px;
}

.bio-os-settings__theme-card small {
    color: rgba(220, 246, 255, 0.72);
    font-size: 12px;
    line-height: 1.35;
}

.bio-os-settings__theme-card em {
    width: fit-content;
    padding: 4px 8px;
    color: #061229;
    background: linear-gradient(180deg, #e8fff9, #72fff1);
    border-radius: 4px;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.bio-os-settings__theme-card.is-selected {
    border-color: rgba(226, 255, 252, 0.68);
    box-shadow: 0 0 18px rgba(81, 231, 221, 0.2);
}

.bio-os-settings__theme-preview {
    height: 74px;
    border: 1px solid rgba(226, 255, 252, 0.24);
    border-radius: 7px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.24);
}

.bio-os-settings__theme-preview--bio-green {
    background:
        radial-gradient(circle at 22% 22%, rgba(154, 255, 197, 0.58), transparent 18%),
        linear-gradient(180deg, #70ed8a, #1f873f 48%, #062315);
}

.bio-os-settings__theme-preview--dark-luna {
    background:
        radial-gradient(circle at 76% 24%, rgba(121, 218, 255, 0.52), transparent 20%),
        linear-gradient(180deg, #1e6aa4, #0b244a 48%, #010818);
}

.bio-os-settings__info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bio-os-settings__action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bio-os-settings__action-row button,
.bio-os-simnet__quest button {
    min-height: 38px;
    min-width: 0;
    padding: 0 14px;
    color: #061229;
    background: linear-gradient(180deg, #e8fff9, #72fff1);
    border: 1px solid rgba(226, 255, 252, 0.66);
    border-radius: 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        0 0 14px rgba(81, 231, 221, 0.18);
    cursor: pointer;
    font-weight: 900;
}

.bio-os-quest-message,
.bio-os-simnet__quest {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 13px;
    color: #eaffff;
    background:
        linear-gradient(180deg, rgba(24, 78, 68, 0.34), rgba(1, 15, 21, 0.58)),
        rgba(1, 15, 21, 0.46);
    border: 1px solid rgba(118, 230, 224, 0.26);
    border-radius: 9px;
}

.bio-os-quest-message.is-complete,
.bio-os-simnet__quest.is-complete {
    border-color: rgba(178, 255, 204, 0.58);
    box-shadow: inset 0 0 18px rgba(103, 255, 158, 0.12);
}

.bio-os-quest-message > span {
    width: 44px;
    height: 5px;
    background: linear-gradient(90deg, #83ffd0, #6edfff);
    border-radius: 999px;
    box-shadow: 0 0 12px rgba(107, 240, 219, 0.35);
}

.bio-os-quest-message strong,
.bio-os-simnet__quest strong {
    font-size: 15px;
}

.bio-os-quest-message ul {
    display: grid;
    gap: 5px;
    margin: 2px 0 0;
    padding-left: 18px;
    color: rgba(222, 250, 248, 0.78);
    font-size: 12px;
    line-height: 1.35;
}

.theme-bio-green .bio-terminal-boot--post {
    display: block;
    padding: clamp(30px, 5vw, 64px);
    background:
        linear-gradient(180deg, rgba(18, 68, 28, 0.04), transparent 36%),
        #000000;
}

.theme-bio-green .bio-terminal-boot__crt {
    position: static;
    width: 100%;
    min-height: 100%;
    padding: 0;
    color: #61c75e;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-family: "Courier New", monospace;
}

.theme-bio-green .bio-terminal-boot__badge,
.theme-bio-green .bio-terminal-boot__handoff,
.theme-bio-green .bio-terminal-boot__bar {
    display: none;
}

.theme-bio-green .bio-terminal-boot__screen {
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.theme-bio-green .bio-terminal-boot__lines {
    max-width: min(760px, 84vw);
}

.theme-bio-green .bio-terminal-boot__line,
.theme-bio-green .bio-terminal-boot__prompt {
    display: block;
    padding: 0;
    color: #61c75e;
    font-size: clamp(14px, 1.32vw, 22px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.32;
    text-shadow: 0 0 8px rgba(99, 219, 92, 0.44);
}

.theme-bio-green .bio-terminal-boot__prompt {
    margin-top: 12px;
}

.theme-bio-green .bio-terminal-boot__prompt span {
    color: #61c75e;
    animation: bio-terminal-caret 1s steps(2, start) infinite;
}

.theme-bio-green .bio-terminal-boot__clock {
    position: absolute;
    right: 22px;
    bottom: 16px;
    color: rgba(242, 255, 247, 0.9);
    font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.theme-bio-green .bio-terminal-boot__clock::before {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-right: 8px;
    vertical-align: -1px;
    background:
        linear-gradient(90deg, transparent 0 2px, rgba(229, 255, 236, 0.85) 2px 5px, transparent 5px 100%),
        linear-gradient(0deg, transparent 0 1px, rgba(229, 255, 236, 0.85) 1px 4px, transparent 4px 100%);
    background-size: 4px 11px, 11px 4px;
    background-position: 1px 1px, 1px 7px;
    background-repeat: repeat-x, repeat-x;
}

.theme-bio-green .bio-terminal-taskbar {
    grid-template-columns: 190px minmax(0, 1fr) auto;
}

.theme-bio-green .bio-terminal-start-button {
    position: relative;
    width: 178px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    padding: 0 16px 0 12px;
    border-radius: 11px;
    font-size: 17px;
    font-style: italic;
    line-height: 1;
    overflow: hidden;
}

.theme-bio-green .bio-terminal-start-button::before {
    content: none;
    display: none;
}

.theme-bio-green .bio-terminal-start-button__icon {
    position: relative;
    left: auto;
    top: auto;
    width: 26px;
    height: 26px;
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.38),
        0 0 10px rgba(120, 255, 155, 0.22);
}

.theme-bio-green .bio-terminal-start-button__text {
    flex: 1 1 auto;
    max-width: 100%;
    text-align: left;
}

.theme-bio-green .bio-terminal-start-menu {
    left: 12px;
    bottom: 58px;
    width: min(460px, calc(100% - 28px));
    max-height: calc(100% - 74px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    background: #f7fff9;
    border: 2px solid rgba(222, 255, 224, 0.82);
    border-right-color: rgba(18, 69, 32, 0.92);
    border-bottom-color: rgba(18, 69, 32, 0.92);
    border-radius: 9px 9px 3px 3px;
    box-shadow:
        4px 4px 18px rgba(0, 0, 0, 0.62),
        0 0 28px rgba(91, 238, 134, 0.2);
}

.theme-bio-green .bio-terminal-start-menu__head {
    min-height: 72px;
    padding: 10px 13px;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(88, 199, 101, 0.98), rgba(25, 96, 42, 0.98) 72%, rgba(11, 59, 27, 0.98));
    border-bottom: 2px solid rgba(239, 150, 64, 0.74);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 2px 4px rgba(0, 0, 0, 0.28);
}

.theme-bio-green .bio-terminal-start-menu__avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 50%, rgba(65, 255, 143, 0.28), transparent 62%),
        #010706;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.48);
}

.theme-bio-green .bio-terminal-start-menu__avatar-icon {
    width: 34px;
    height: 34px;
}

.theme-bio-green .bio-terminal-start-menu__head strong {
    font-size: 18px;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.78);
}

.theme-bio-green .bio-terminal-start-menu__head small {
    color: rgba(232, 255, 237, 0.82);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.theme-bio-green .bio-terminal-start-menu__body {
    grid-template-columns: 54% 46%;
    min-height: 286px;
    overflow: hidden;
}

.theme-bio-green .bio-terminal-start-menu__primary,
.theme-bio-green .bio-terminal-start-menu__system {
    display: grid;
    align-content: start;
    gap: 3px;
    padding: 9px;
    overflow: hidden;
}

.theme-bio-green .bio-terminal-start-menu__primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 255, 245, 0.98));
}

.theme-bio-green .bio-terminal-start-menu__system {
    background:
        linear-gradient(180deg, rgba(221, 239, 224, 0.98), rgba(201, 224, 207, 0.98));
    border-left: 1px solid rgba(115, 145, 119, 0.52);
}

.theme-bio-green .bio-terminal-start-menu__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 45px;
    padding: 5px 7px;
    color: #17221a;
    background: transparent;
    border-radius: 4px;
}

.theme-bio-green .bio-terminal-start-menu__item.is-system {
    min-height: 39px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 6px;
    padding: 5px 6px;
    color: #102316;
}

.theme-bio-green .bio-terminal-start-menu__item:hover,
.theme-bio-green .bio-terminal-start-menu__item:focus-visible {
    color: #ffffff;
    background: linear-gradient(90deg, #2e5936, #1d8c43);
    outline: none;
}

.theme-bio-green .bio-terminal-start-menu__item:hover strong,
.theme-bio-green .bio-terminal-start-menu__item:focus-visible strong,
.theme-bio-green .bio-terminal-start-menu__item:hover small,
.theme-bio-green .bio-terminal-start-menu__item:focus-visible small {
    color: #ffffff;
}

.theme-bio-green .bio-terminal-start-menu__item:hover small,
.theme-bio-green .bio-terminal-start-menu__item:focus-visible small {
    color: rgba(239, 255, 243, 0.86);
}

.theme-bio-green .bio-terminal-start-menu__icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
}

.theme-bio-green .bio-terminal-start-menu__item.is-system .bio-terminal-start-menu__icon {
    width: 26px;
    height: 26px;
}

.theme-bio-green .bio-terminal-start-menu__copy strong {
    color: #102316;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.14;
}

.theme-bio-green .bio-terminal-start-menu__item.is-large .bio-terminal-start-menu__copy strong {
    font-size: 13px;
}

.theme-bio-green .bio-terminal-start-menu__copy small {
    color: rgba(22, 52, 30, 0.8);
    font-weight: 800;
    line-height: 1.1;
}

.theme-bio-green .bio-terminal-start-menu__status {
    margin-top: 6px;
    padding: 8px 7px;
    color: #24512f;
    background: rgba(255, 255, 255, 0.35);
    border-top: 1px solid rgba(119, 147, 123, 0.42);
}

.theme-bio-green .bio-terminal-start-menu__status span,
.theme-bio-green .bio-terminal-start-menu__status strong {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-bio-green .bio-terminal-start-menu__status strong {
    margin-top: 3px;
    color: #0b5e2b;
}

.theme-bio-green .bio-terminal-theme-switcher {
    grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin: 0;
    padding: 8px 10px;
    color: #effff1;
    background:
        linear-gradient(180deg, rgba(7, 43, 20, 0.98), rgba(2, 20, 9, 0.98));
    border-width: 1px 0 0;
    border-color: rgba(130, 255, 176, 0.28);
    border-radius: 0;
}

.theme-bio-green .bio-terminal-theme-switcher span {
    font-size: 10px;
    line-height: 1.06;
}

.theme-bio-green .bio-terminal-theme-switcher button {
    height: 32px;
    min-width: 0;
    color: #0d2814;
    border-radius: 4px;
}

.theme-bio-green .bio-terminal-start-menu__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px 98px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 10px;
    background:
        linear-gradient(180deg, #e8eef3, #c7d4dc);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.theme-bio-green .bio-terminal-start-menu__footer span {
    min-width: 0;
    overflow: hidden;
    color: #14361c;
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-bio-green .bio-terminal-start-menu__footer button {
    min-width: 0;
    height: 33px;
    border-radius: 4px;
}

.theme-bio-green .bio-os-settings {
    grid-template-columns: 158px minmax(0, 1fr);
}

.theme-bio-green .bio-os-settings__sidebar {
    background:
        linear-gradient(180deg, rgba(5, 43, 20, 0.78), rgba(1, 17, 8, 0.86));
    border-color: rgba(124, 255, 184, 0.22);
}

.theme-bio-green .bio-os-settings__sidebar strong {
    color: #f6fff8;
}

.theme-bio-green .bio-os-settings__sidebar button,
.theme-bio-green .bio-os-settings__sidebar span {
    color: rgba(225, 250, 232, 0.72);
}

.theme-bio-green .bio-os-settings__sidebar button:hover,
.theme-bio-green .bio-os-settings__sidebar button:focus-visible {
    color: #f6fff8;
    background: rgba(90, 216, 126, 0.16);
}

.theme-bio-green .bio-os-settings__sidebar button.is-active,
.theme-bio-green .bio-os-settings__sidebar span.is-active {
    color: #06200f;
    background: linear-gradient(180deg, #dcffea, #65db88 58%, #1d7736);
}

.theme-bio-green .bio-os-settings__theme-card {
    color: #f6fff8;
    background:
        radial-gradient(circle at 100% 0%, rgba(102, 255, 173, 0.1), transparent 34%),
        rgba(1, 15, 9, 0.76);
    border-color: rgba(124, 255, 184, 0.22);
}

.theme-bio-green .bio-os-settings__theme-card:hover,
.theme-bio-green .bio-os-settings__theme-card:focus-visible {
    border-color: rgba(168, 255, 203, 0.72);
    outline: none;
    box-shadow: 0 0 18px rgba(87, 244, 148, 0.2);
}

.theme-bio-green .bio-os-settings__theme-card small {
    color: rgba(225, 250, 232, 0.78);
}

.theme-bio-green .bio-os-settings__theme-card em {
    color: #052111;
    background: linear-gradient(180deg, #edfff3, #95eaa6 52%, #45a957);
}

.theme-bio-green .bio-os-settings__theme-card.is-selected {
    border-color: rgba(168, 255, 203, 0.9);
    box-shadow:
        inset 0 0 18px rgba(120, 255, 185, 0.1),
        0 0 22px rgba(87, 244, 148, 0.24);
}

.theme-dark-luna .bio-terminal-taskbar {
    grid-template-columns: 154px minmax(0, 1fr) auto;
}

.theme-dark-luna .bio-terminal-start-button {
    position: relative;
    width: 142px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 0 14px 0 11px;
    color: #f2fbff;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.72), transparent 21%),
        linear-gradient(180deg, #7ec8ff 0%, #2e7fe6 44%, #0a3b9d 100%);
    border-color: rgba(201, 235, 255, 0.76);
    border-radius: 999px 18px 18px 999px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.58),
        inset 0 -4px 8px rgba(0, 22, 82, 0.38),
        0 3px 10px rgba(0, 0, 0, 0.34),
        0 0 16px rgba(82, 157, 255, 0.3);
    font-size: 15px;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.62);
    overflow: hidden;
}

.theme-dark-luna .bio-terminal-start-button::before {
    content: none;
    display: none;
}

.theme-dark-luna .bio-terminal-start-button:hover,
.theme-dark-luna .bio-terminal-start-button.is-active {
    filter: brightness(1.08) saturate(1.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.66),
        inset 0 -4px 8px rgba(0, 20, 78, 0.32),
        0 0 22px rgba(92, 166, 255, 0.36);
}

.theme-dark-luna .bio-terminal-start-button__icon {
    position: relative;
    left: auto;
    top: auto;
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    transform: none;
    background: transparent;
    border: 0;
    border-radius: 50%;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.38),
        0 0 10px rgba(98, 186, 255, 0.24);
}

.theme-dark-luna .bio-terminal-start-button__text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-dark-luna .bio-terminal-taskbar-button__icon {
    width: 24px;
    height: 24px;
    display: grid;
    flex: 0 0 24px;
    place-items: center;
    overflow: hidden;
    border-radius: 5px;
}

.theme-dark-luna .bio-terminal-taskbar-button {
    overflow: hidden;
}

.theme-dark-luna .bio-terminal-taskbar-button strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-dark-luna .bio-terminal-start-menu {
    width: min(460px, calc(100% - 28px));
    background:
        linear-gradient(90deg, rgba(4, 23, 76, 0.98) 0 82px, rgba(225, 236, 252, 0.97) 83px 100%);
    border-color: rgba(139, 201, 255, 0.72);
    border-radius: 10px 10px 6px 6px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.44),
        0 22px 58px rgba(0, 0, 0, 0.62),
        0 0 28px rgba(47, 125, 240, 0.24);
}

.theme-dark-luna .bio-terminal-start-menu__head {
    min-height: 72px;
    padding: 10px 13px;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(84, 160, 255, 0.96), rgba(19, 76, 181, 0.98) 72%, rgba(6, 40, 133, 0.98));
    border-bottom: 2px solid rgba(149, 200, 255, 0.58);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 2px 4px rgba(0, 0, 0, 0.28);
}

.theme-dark-luna .bio-terminal-start-menu__avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.84);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 50%, rgba(116, 213, 255, 0.28), transparent 62%),
        #020713;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.48);
}

.theme-dark-luna .bio-terminal-start-menu__avatar-icon {
    width: 34px;
    height: 34px;
}

.theme-dark-luna .bio-terminal-start-menu__head strong {
    color: #ffffff;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.76);
}

.theme-dark-luna .bio-terminal-start-menu__head small {
    color: rgba(230, 242, 255, 0.82);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.theme-dark-luna .bio-terminal-start-menu__body {
    grid-template-columns: 50% 50%;
    min-height: 286px;
    overflow: hidden;
}

.theme-dark-luna .bio-terminal-start-menu__primary,
.theme-dark-luna .bio-terminal-start-menu__system {
    display: grid;
    align-content: start;
    gap: 3px;
    padding: 9px;
    overflow: hidden;
}

.theme-dark-luna .bio-terminal-start-menu__primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98));
}

.theme-dark-luna .bio-terminal-start-menu__system {
    background:
        linear-gradient(180deg, rgba(222, 232, 246, 0.98), rgba(205, 220, 239, 0.98));
    border-left: 1px solid rgba(111, 137, 176, 0.52);
}

.theme-dark-luna .bio-terminal-start-menu__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 45px;
    padding: 5px 7px;
    color: #0e1c35;
    background: transparent;
    border-radius: 4px;
}

.theme-dark-luna .bio-terminal-start-menu__item.is-system {
    min-height: 42px;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 6px 7px;
    color: #0b1b3a;
}

.theme-dark-luna .bio-terminal-start-menu__item:hover,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible {
    color: #ffffff;
    background: linear-gradient(90deg, #153e91, #3389ff);
    outline: none;
}

.theme-dark-luna .bio-terminal-start-menu__item:hover strong,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible strong,
.theme-dark-luna .bio-terminal-start-menu__item:hover small,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible small {
    color: #ffffff;
}

.theme-dark-luna .bio-terminal-start-menu__item:hover small,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible small {
    color: rgba(235, 247, 255, 0.88);
}

.theme-dark-luna .bio-terminal-start-menu__icon {
    width: 34px;
    height: 34px;
    border-radius: 4px;
}

.theme-dark-luna .bio-terminal-start-menu__item.is-system .bio-terminal-start-menu__icon {
    width: 26px;
    height: 26px;
}

.theme-dark-luna .bio-terminal-start-menu__copy strong {
    color: #0b1b3a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.14;
}

.theme-dark-luna .bio-terminal-start-menu__item.is-large .bio-terminal-start-menu__copy strong {
    font-size: 13px;
}

.theme-dark-luna .bio-terminal-start-menu__copy small {
    color: #42577c;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
}

.theme-dark-luna .bio-terminal-start-menu__status {
    margin-top: 6px;
    padding: 8px 7px;
    color: #3e5274;
    background: rgba(255, 255, 255, 0.36);
    border-top: 1px solid rgba(111, 137, 176, 0.42);
}

.theme-dark-luna .bio-terminal-start-menu__status span,
.theme-dark-luna .bio-terminal-start-menu__status strong {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.theme-dark-luna .bio-terminal-start-menu__status strong {
    margin-top: 3px;
    color: #124da7;
}

.theme-dark-luna .bio-terminal-start-menu__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px 98px;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 10px;
    background:
        linear-gradient(180deg, #edf4ff, #cad9ee);
    border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.theme-dark-luna .bio-terminal-start-menu__footer span {
    min-width: 0;
    overflow: hidden;
    color: #14284f;
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.theme-dark-luna .bio-terminal-start-menu__footer button,
.theme-dark-luna .bio-os-settings__theme-card em,
.theme-dark-luna .bio-os-settings__action-row button,
.theme-dark-luna .bio-os-simnet__quest button,
.theme-dark-luna .bio-os-media button,
.theme-dark-luna .bio-os-vat__files button {
    color: #0b2d67;
    background: linear-gradient(180deg, #f9fcff, #c4dcff 52%, #79adff);
    border-color: rgba(61, 117, 206, 0.6);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.theme-dark-luna .bio-terminal-start-menu__footer button {
    min-width: 0;
    height: 33px;
}

.theme-dark-luna .bio-terminal-start-menu__footer button:hover,
.theme-dark-luna .bio-terminal-start-menu__footer button:focus-visible,
.theme-dark-luna .bio-os-settings__theme-card:hover em,
.theme-dark-luna .bio-os-settings__theme-card:focus-visible em {
    color: #ffffff;
    background: linear-gradient(180deg, #9fceff, #367fec 52%, #0f4ebd);
    outline: none;
}

.theme-dark-luna .bio-os-settings {
    grid-template-columns: 158px minmax(0, 1fr);
}

.theme-dark-luna .bio-os-settings__sidebar {
    background:
        linear-gradient(180deg, rgba(5, 25, 74, 0.78), rgba(1, 9, 29, 0.88));
    border-color: rgba(128, 200, 255, 0.24);
}

.theme-dark-luna .bio-os-settings__sidebar strong {
    color: #f4fbff;
}

.theme-dark-luna .bio-os-settings__sidebar button,
.theme-dark-luna .bio-os-settings__sidebar span {
    color: rgba(229, 244, 255, 0.82);
}

.theme-dark-luna .bio-os-settings__sidebar button:hover,
.theme-dark-luna .bio-os-settings__sidebar button:focus-visible {
    color: #f4fbff;
    background: rgba(96, 169, 255, 0.16);
}

.theme-dark-luna .bio-os-settings__sidebar button.is-active,
.theme-dark-luna .bio-os-settings__sidebar span.is-active {
    color: #06162d;
    background: linear-gradient(180deg, #f0fbff, #7bc7ff 58%, #2c70df);
}

.theme-dark-luna .bio-os-settings__theme-card {
    color: #f4fbff;
    background:
        radial-gradient(circle at 100% 0%, rgba(100, 185, 255, 0.12), transparent 34%),
        rgba(1, 12, 34, 0.78);
    border-color: rgba(128, 200, 255, 0.26);
}

.theme-dark-luna .bio-os-settings__theme-card:hover,
.theme-dark-luna .bio-os-settings__theme-card:focus-visible {
    border-color: rgba(180, 222, 255, 0.72);
    outline: none;
    box-shadow: 0 0 18px rgba(91, 164, 255, 0.22);
}

.theme-dark-luna .bio-os-settings__theme-card small {
    color: rgba(229, 244, 255, 0.86);
}

.theme-dark-luna .bio-os-app p,
.theme-dark-luna .bio-os-simnet__feed p,
.theme-dark-luna .bio-os-quest-message p,
.theme-dark-luna .bio-os-simnet__quest p,
.theme-dark-luna .bio-os-log-list p {
    color: rgba(232, 246, 255, 0.9);
}

.theme-dark-luna .bio-os-metric span {
    color: rgba(198, 222, 245, 0.82);
}

.theme-dark-luna .bio-os-metric strong,
.theme-dark-luna .bio-os-status-strip strong {
    color: #f4fbff;
}

.theme-dark-luna .bio-os-settings__theme-card.is-selected {
    border-color: rgba(188, 226, 255, 0.9);
    box-shadow:
        inset 0 0 18px rgba(105, 178, 255, 0.12),
        0 0 22px rgba(87, 160, 255, 0.26);
}

.theme-dark-luna .bio-os-quest-message,
.theme-dark-luna .bio-os-simnet__quest {
    background:
        linear-gradient(180deg, rgba(32, 78, 144, 0.32), rgba(1, 12, 34, 0.68)),
        rgba(1, 12, 34, 0.74);
    border-color: rgba(128, 200, 255, 0.28);
}

.theme-dark-luna .bio-os-quest-message.is-complete,
.theme-dark-luna .bio-os-simnet__quest.is-complete {
    border-color: rgba(165, 222, 255, 0.66);
    box-shadow: inset 0 0 18px rgba(103, 184, 255, 0.14);
}

.theme-dark-luna .bio-os-quest-message > span {
    background: linear-gradient(90deg, #7bc7ff, #b9f6ff);
    box-shadow: 0 0 12px rgba(107, 194, 255, 0.35);
}

.theme-dark-luna .bio-os-log-list article.is-quest {
    border-color: rgba(136, 205, 255, 0.42);
    background:
        linear-gradient(90deg, rgba(72, 150, 231, 0.14), rgba(0, 13, 34, 0.58)),
        rgba(0, 13, 34, 0.56);
}

.theme-dark-luna .bio-os-log-list article.is-complete {
    border-color: rgba(185, 226, 255, 0.66);
    box-shadow: inset 0 0 18px rgba(103, 184, 255, 0.14);
}

@media (max-width: 860px) {
    .theme-bio-green .bio-terminal-taskbar {
        grid-template-columns: 146px minmax(0, 1fr) 64px;
    }

    .theme-bio-green .bio-terminal-start-button {
        width: 136px;
        gap: 6px;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 12px;
    }

    .theme-bio-green .bio-terminal-start-button__icon {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .theme-bio-green .bio-terminal-start-menu {
        left: 8px;
        right: 8px;
        bottom: 58px;
        width: auto;
    }

    .theme-bio-green .bio-terminal-start-menu__body {
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: auto;
    }

    .theme-bio-green .bio-terminal-start-menu__system {
        border-top: 1px solid rgba(115, 145, 119, 0.52);
        border-left: 0;
    }

    .theme-bio-green .bio-terminal-start-menu__item,
    .theme-bio-green .bio-terminal-start-menu__item.is-system {
        min-height: 40px;
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .theme-bio-green .bio-terminal-theme-switcher {
        grid-template-columns: 62px minmax(0, 1fr) minmax(0, 1fr);
        padding: 7px 8px;
    }

    .theme-bio-green .bio-terminal-start-menu__footer {
        grid-template-columns: 1fr 76px 88px;
        gap: 6px;
        padding: 8px;
    }

    .bio-os-settings,
    .theme-bio-green .bio-os-settings {
        grid-template-columns: 1fr;
    }

    .bio-os-settings__sidebar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        padding: 8px;
    }

    .bio-os-settings__sidebar strong {
        display: none;
    }

    .bio-os-settings__sidebar button,
    .bio-os-settings__sidebar span {
        padding: 7px 3px;
        text-align: center;
        font-size: 9px;
        line-height: 1.05;
        white-space: nowrap;
    }

    .bio-os-settings__theme-grid {
        grid-template-columns: 1fr;
    }

    .theme-dark-luna .bio-terminal-taskbar {
        grid-template-columns: 128px minmax(0, 1fr) 64px;
    }

    .theme-dark-luna .bio-terminal-start-button {
        width: 118px;
        gap: 6px;
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }

    .theme-dark-luna .bio-terminal-start-button__icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .theme-dark-luna .bio-terminal-start-menu {
        left: 8px;
        right: 8px;
        bottom: 58px;
        width: auto;
    }

    .theme-dark-luna .bio-terminal-start-menu__body {
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: auto;
    }

    .theme-dark-luna .bio-terminal-start-menu__system {
        border-top: 1px solid rgba(111, 137, 176, 0.52);
        border-left: 0;
    }

    .theme-dark-luna .bio-terminal-start-menu__item,
    .theme-dark-luna .bio-terminal-start-menu__item.is-system {
        min-height: 40px;
        grid-template-columns: 32px minmax(0, 1fr);
    }

    .theme-dark-luna .bio-terminal-start-menu__footer {
        grid-template-columns: 1fr 76px 88px;
        gap: 6px;
        padding: 8px;
    }

    .theme-dark-luna .bio-os-settings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .bio-terminal-desktop {
        overflow: hidden;
    }

    .bio-terminal-desktop__icons,
    .theme-bio-green .bio-terminal-desktop__icons,
    .theme-dark-luna .bio-terminal-desktop__icons {
        left: 8px;
        top: 72px;
        width: min(218px, calc(100% - 16px));
        grid-template-columns: repeat(3, minmax(0, 64px));
        gap: 8px;
        overflow: hidden;
    }

    .bio-terminal-desktop-icon,
    .theme-bio-green .bio-terminal-desktop-icon,
    .theme-dark-luna .bio-terminal-desktop-icon {
        width: 64px;
        min-height: 74px;
        padding: 5px 3px;
        overflow: hidden;
    }

    .bio-terminal-desktop-icon__mark,
    .theme-bio-green .bio-terminal-desktop-icon__mark,
    .theme-dark-luna .bio-terminal-desktop-icon__mark {
        width: 36px;
        height: 36px;
    }

    .bio-terminal-desktop-icon span:last-child,
    .theme-bio-green .bio-terminal-desktop-icon span:last-child,
    .theme-dark-luna .bio-terminal-desktop-icon span:last-child {
        display: -webkit-box;
        max-width: 100%;
        overflow: hidden;
        font-size: 10px;
        line-height: 1.08;
        text-overflow: ellipsis;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .bio-terminal-start-menu__copy strong,
    .theme-bio-green .bio-terminal-start-menu__copy strong,
    .theme-dark-luna .bio-terminal-start-menu__copy strong {
        display: -webkit-box;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .bio-terminal-start-menu__copy small,
    .theme-bio-green .bio-terminal-start-menu__copy small,
    .theme-dark-luna .bio-terminal-start-menu__copy small {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bio-terminal-taskbar,
    .theme-bio-green .bio-terminal-taskbar,
    .theme-dark-luna .bio-terminal-taskbar {
        grid-template-columns: minmax(94px, 112px) minmax(0, 1fr) 60px;
        gap: 5px;
        height: 54px;
        padding: 6px;
        overflow: hidden;
    }

    .bio-terminal-start-button,
    .theme-bio-green .bio-terminal-start-button,
    .theme-dark-luna .bio-terminal-start-button {
        width: 100%;
        max-width: 112px;
        min-width: 0;
        gap: 5px;
        padding-right: 8px;
        padding-left: 8px;
        overflow: hidden;
    }

    .theme-bio-green .bio-terminal-start-button__icon,
    .theme-dark-luna .bio-terminal-start-button__icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .bio-terminal-start-button__text {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .bio-terminal-taskbar__windows {
        min-width: 0;
        gap: 5px;
        overflow: hidden;
    }

    .bio-terminal-taskbar-button,
    .theme-bio-green .bio-terminal-taskbar-button,
    .theme-dark-luna .bio-terminal-taskbar-button {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        flex: 0 0 42px;
        justify-content: center;
        padding: 0;
    }

    .bio-terminal-taskbar-button__icon,
    .theme-bio-green .bio-terminal-taskbar-button__icon,
    .theme-dark-luna .bio-terminal-taskbar-button__icon {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }

    .bio-terminal-taskbar-button strong {
        display: none;
    }

    .bio-terminal-tray,
    .theme-bio-green .bio-terminal-tray,
    .theme-dark-luna .bio-terminal-tray {
        min-width: 0;
        max-width: 60px;
        justify-content: end;
        gap: 4px;
        overflow: hidden;
        font-size: 11px;
    }

    .bio-terminal-tray__bubble {
        display: none !important;
    }

    .bio-terminal-tray__sound,
    .theme-bio-green .bio-terminal-tray__sound,
    .theme-dark-luna .bio-terminal-tray__sound {
        width: 24px;
        height: 28px;
        padding: 0;
        display: grid;
        flex: 0 0 24px;
        place-items: center;
        overflow: hidden;
        font-size: 0;
    }

    .bio-terminal-tray__sound::before {
        content: "◉";
        font-size: 10px;
    }

    .bio-terminal-tray > span:last-child {
        max-width: 32px;
        overflow: hidden;
        font-size: 11px;
        text-align: right;
        white-space: nowrap;
    }

    .bio-os-settings__info-grid,
    .bio-os-metrics {
        grid-template-columns: 1fr;
    }

    .bio-os-quest-message,
    .bio-os-simnet__quest {
        padding: 11px;
    }
}

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

/* ============================================================
   BioLuna Aqua XP controlled pass
   Additive design layer for the Zone 35 terminal. It keeps the
   existing data-* contracts and window flow intact while making
   the shell read as an in-world aquatic XP workstation.
   ============================================================ */

.bio-terminal-root {
    --aqua-xp-abyss: #03141d;
    --aqua-xp-deep: #062534;
    --aqua-xp-panel: rgba(8, 33, 45, 0.88);
    --aqua-xp-line: rgba(150, 226, 255, 0.34);
    --aqua-xp-cyan: #6ff0e6;
    --aqua-xp-bright: #b8fff4;
    --aqua-xp-bio: #7df0b6;
    --aqua-xp-amber: #ffd27a;
    --aqua-xp-capsule: rgba(124, 240, 230, 0.16);
}

.bio-terminal-backdrop,
.theme-bio-green .bio-terminal-backdrop,
.theme-dark-luna .bio-terminal-backdrop {
    background:
        radial-gradient(circle at 50% 42%, rgba(40, 130, 145, 0.16), transparent 38%),
        rgba(0, 6, 10, 0.7);
    -webkit-backdrop-filter: blur(3px) saturate(1.08);
    backdrop-filter: blur(3px) saturate(1.08);
}

.bio-terminal-shell,
.theme-bio-green .bio-terminal-shell,
.theme-dark-luna .bio-terminal-shell {
    background:
        radial-gradient(circle at 50% -10%, rgba(135, 255, 238, 0.13), transparent 42%),
        linear-gradient(145deg, rgba(9, 34, 45, 0.96), rgba(0, 9, 15, 0.98));
    border-color: rgba(137, 238, 230, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 0 0 1px rgba(190, 255, 244, 0.04),
        0 22px 70px rgba(0, 0, 0, 0.72),
        0 0 28px rgba(64, 213, 204, 0.12);
}

.bio-terminal-shell__glow {
    box-shadow: inset 0 0 30px rgba(120, 224, 255, 0.1);
}

.bio-terminal-screen,
.theme-bio-green .bio-terminal-screen,
.theme-dark-luna .bio-terminal-screen {
    background:
        radial-gradient(circle at 50% 28%, rgba(48, 190, 190, 0.14), transparent 45%),
        linear-gradient(180deg, rgba(4, 31, 41, 0.96), rgba(0, 9, 15, 0.98));
}

.bio-terminal-wallpaper,
.theme-bio-green .bio-terminal-wallpaper,
.theme-dark-luna .bio-terminal-wallpaper {
    background:
        linear-gradient(rgba(150, 255, 238, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(150, 255, 238, 0.04) 1px, transparent 1px),
        radial-gradient(ellipse at 28% 22%, rgba(111, 240, 230, 0.13), transparent 34%),
        radial-gradient(ellipse at 74% 72%, rgba(125, 240, 182, 0.1), transparent 34%),
        linear-gradient(135deg, #041923, #062f3f 48%, #020b12);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
}

.theme-dark-luna .bio-terminal-wallpaper {
    background:
        linear-gradient(rgba(130, 210, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(130, 210, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at 28% 22%, rgba(95, 174, 255, 0.14), transparent 36%),
        radial-gradient(ellipse at 78% 72%, rgba(111, 240, 230, 0.08), transparent 34%),
        linear-gradient(135deg, #020816, #09244a 48%, #01050d);
}

.bio-terminal-wallpaper__logo,
.theme-bio-green .bio-terminal-wallpaper__logo,
.theme-dark-luna .bio-terminal-wallpaper__logo {
    color: rgba(184, 255, 244, 0.15);
    text-shadow: 0 0 22px rgba(111, 240, 230, 0.14);
}

.theme-bio-green {
    --bio-green-aqua: var(--aqua-xp-cyan);
    --bio-green-bright: var(--aqua-xp-bright);
}

.theme-dark-luna {
    --bioluna-aqua: var(--aqua-xp-cyan);
}

.bio-terminal-root .bio-terminal-window,
.theme-bio-green .bio-terminal-window,
.theme-dark-luna .bio-terminal-window {
    border-color: rgba(132, 220, 212, 0.58);
    border-radius: 16px 8px 18px 8px;
    background:
        linear-gradient(180deg, rgba(15, 52, 69, 0.95), rgba(2, 14, 21, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.13),
        0 16px 42px rgba(0, 0, 0, 0.54),
        0 0 14px rgba(64, 213, 204, 0.11);
}

.bio-terminal-root .bio-terminal-window.is-active,
.theme-bio-green .bio-terminal-window.is-active,
.theme-dark-luna .bio-terminal-window.is-active {
    border-color: rgba(184, 255, 244, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 18px 48px rgba(0, 0, 0, 0.62),
        0 0 20px rgba(111, 240, 230, 0.18);
}

.bio-terminal-root .bio-terminal-window.is-large {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 48px rgba(0, 0, 0, 0.5);
}

.bio-terminal-root .bio-terminal-window__titlebar,
.theme-bio-green .bio-terminal-window__titlebar,
.theme-dark-luna .bio-terminal-window__titlebar {
    min-height: 38px;
    background:
        linear-gradient(180deg, rgba(204, 255, 239, 0.28), rgba(53, 162, 117, 0.94) 16%, rgba(14, 86, 54, 0.98) 62%, rgba(4, 44, 31, 0.98));
    border-bottom-color: rgba(2, 28, 18, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.48),
        inset 0 -1px 0 rgba(0, 21, 13, 0.62),
        0 1px 0 rgba(125, 240, 182, 0.14);
}

.theme-dark-luna .bio-terminal-window__titlebar {
    background:
        linear-gradient(180deg, rgba(186, 232, 255, 0.28), rgba(50, 118, 178, 0.94) 16%, rgba(16, 67, 130, 0.98) 62%, rgba(3, 30, 72, 0.98));
}

.bio-terminal-root .bio-terminal-window__titlebar::before {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 255, 244, 0.58), transparent);
    pointer-events: none;
}

.bio-terminal-root .bio-terminal-window__control,
.theme-bio-green .bio-terminal-window__control,
.theme-dark-luna .bio-terminal-window__control {
    width: 31px;
    height: 27px;
    color: #f4fff7;
    background:
        radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.75), transparent 25%),
        linear-gradient(180deg, #95eeb4 0%, #38a95b 48%, #14552a 100%);
    border-color: rgba(225, 255, 232, 0.64);
    border-radius: 8px 4px 8px 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -3px 6px rgba(0, 47, 14, 0.38),
        0 2px 5px rgba(0, 0, 0, 0.3);
}

.theme-dark-luna .bio-terminal-window__control {
    background:
        radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.75), transparent 25%),
        linear-gradient(180deg, #8cc8ff 0%, #2d76d1 48%, #113a85 100%);
}

.bio-terminal-root .bio-terminal-window__control.is-close,
.theme-bio-green .bio-terminal-window__control.is-close,
.theme-dark-luna .bio-terminal-window__control.is-close {
    background:
        radial-gradient(circle at 32% 16%, rgba(255, 255, 255, 0.78), transparent 25%),
        linear-gradient(180deg, #ffb08b 0%, #ed6040 48%, #8e1b12 100%);
}

.bio-terminal-root .bio-terminal-window__body,
.theme-bio-green .bio-terminal-window__body,
.theme-dark-luna .bio-terminal-window__body,
.bio-terminal-root .bio-os-hero,
.bio-terminal-root .bio-os-metric,
.bio-terminal-root .bio-os-log-list article,
.bio-terminal-root .bio-os-simnet__feed article,
.bio-terminal-root .bio-os-map-board,
.bio-terminal-root .bio-os-vat__reader,
.bio-terminal-root .bio-os-console {
    background:
        radial-gradient(circle at 100% 0%, rgba(111, 240, 230, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(6, 26, 35, 0.78), rgba(1, 12, 18, 0.82));
    border-color: rgba(124, 255, 232, 0.2);
}

.bio-terminal-root .bio-terminal-taskbar,
.theme-bio-green .bio-terminal-taskbar,
.theme-dark-luna .bio-terminal-taskbar {
    grid-template-columns: minmax(154px, 190px) minmax(0, 1fr) auto;
    background:
        linear-gradient(180deg, rgba(175, 255, 215, 0.23), rgba(37, 115, 58, 0.94) 19%, rgba(8, 49, 28, 0.98) 100%);
    border-top-color: rgba(167, 255, 205, 0.48);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 -10px 24px rgba(0, 0, 0, 0.38);
}

.theme-dark-luna .bio-terminal-taskbar {
    background:
        linear-gradient(180deg, rgba(179, 222, 255, 0.22), rgba(35, 95, 162, 0.94) 19%, rgba(7, 35, 88, 0.98) 100%);
    border-top-color: rgba(157, 220, 255, 0.48);
}

.bio-terminal-root .bio-terminal-start-button,
.theme-bio-green .bio-terminal-start-button,
.theme-dark-luna .bio-terminal-start-button {
    border-radius: 20px 10px 10px 20px;
    background:
        radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.65), transparent 23%),
        linear-gradient(180deg, rgba(166, 255, 189, 0.96), rgba(68, 186, 80, 0.96) 46%, rgba(17, 89, 38, 0.98));
    border-color: rgba(224, 255, 225, 0.68);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -4px 8px rgba(0, 42, 10, 0.34),
        0 2px 8px rgba(0, 0, 0, 0.34),
        0 0 12px rgba(77, 218, 93, 0.22);
}

.theme-dark-luna .bio-terminal-start-button {
    background:
        radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.65), transparent 23%),
        linear-gradient(180deg, rgba(139, 207, 255, 0.96), rgba(48, 116, 211, 0.96) 46%, rgba(15, 53, 128, 0.98));
}

.bio-terminal-root .bio-terminal-start-menu,
.theme-bio-green .bio-terminal-start-menu,
.theme-dark-luna .bio-terminal-start-menu {
    background:
        linear-gradient(90deg, rgba(0, 18, 12, 0.98) 0 78px, rgba(247, 255, 249, 0.98) 79px 100%);
    border-color: rgba(206, 255, 218, 0.74);
    border-right-color: rgba(18, 69, 32, 0.9);
    border-bottom-color: rgba(18, 69, 32, 0.9);
    border-radius: 10px 10px 4px 4px;
}

.bio-terminal-root .bio-terminal-start-menu__head,
.theme-bio-green .bio-terminal-start-menu__head,
.theme-dark-luna .bio-terminal-start-menu__head {
    background:
        linear-gradient(180deg, rgba(88, 199, 101, 0.96), rgba(14, 78, 35, 0.98));
    border-bottom-color: rgba(239, 150, 64, 0.72);
}

.theme-dark-luna .bio-terminal-start-menu__head {
    background:
        linear-gradient(180deg, rgba(68, 144, 225, 0.96), rgba(11, 56, 132, 0.98));
}

.bio-terminal-root .bio-terminal-start-menu__item,
.theme-bio-green .bio-terminal-start-menu__item,
.theme-dark-luna .bio-terminal-start-menu__item {
    color: #102316;
}

.bio-terminal-root .bio-terminal-start-menu__item:hover,
.bio-terminal-root .bio-terminal-start-menu__item:focus-visible,
.theme-bio-green .bio-terminal-start-menu__item:hover,
.theme-bio-green .bio-terminal-start-menu__item:focus-visible,
.theme-dark-luna .bio-terminal-start-menu__item:hover,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible {
    color: #ffffff;
    background: linear-gradient(90deg, #245b36, #1a9a50);
}

.theme-dark-luna .bio-terminal-start-menu__item:hover,
.theme-dark-luna .bio-terminal-start-menu__item:focus-visible {
    background: linear-gradient(90deg, #153c85, #2878d8);
}

.bio-terminal-root [class*="bio-terminal-app-icon--"]:not(:has(img)) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--aqua-xp-bright);
    background:
        radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.36), transparent 42%),
        linear-gradient(180deg, var(--aqua-xp-capsule), rgba(6, 24, 34, 0.92));
    border: 1px solid var(--aqua-xp-line);
    border-radius: 38% 38% 44% 44% / 46% 46% 40% 40%;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        inset 0 -4px 8px rgba(0, 0, 0, 0.28);
    text-shadow: 0 0 6px rgba(124, 240, 230, 0.45);
}

.bio-terminal-root [class*="bio-terminal-app-icon--"]:not(:has(img))::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 10%;
    z-index: -1;
    height: 34%;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(124, 240, 230, 0.3), rgba(111, 240, 230, 0.08));
}

@supports not (selector(:has(img))) {
    .bio-terminal-root [class*="bio-terminal-app-icon--"] {
        background:
            radial-gradient(circle at 50% 24%, rgba(255, 255, 255, 0.3), transparent 42%),
            linear-gradient(180deg, var(--aqua-xp-capsule), rgba(6, 24, 34, 0.9));
        border-radius: 38% 38% 44% 44% / 46% 46% 40% 40%;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .bio-terminal-root [class*="bio-terminal-app-icon--"] img {
        border-radius: inherit;
    }
}

@media (max-width: 860px) {
    .bio-terminal-root .bio-terminal-taskbar,
    .theme-bio-green .bio-terminal-taskbar,
    .theme-dark-luna .bio-terminal-taskbar {
        grid-template-columns: 112px minmax(0, 1fr) 64px;
    }

    .bio-terminal-root .bio-terminal-start-button,
    .theme-bio-green .bio-terminal-start-button,
    .theme-dark-luna .bio-terminal-start-button {
        width: 100%;
        max-width: 112px;
        min-width: 0;
        gap: 5px;
        padding-right: 8px;
        padding-left: 8px;
    }

    .bio-terminal-root .bio-terminal-start-menu,
    .theme-bio-green .bio-terminal-start-menu,
    .theme-dark-luna .bio-terminal-start-menu {
        width: min(420px, calc(100% - 24px));
        max-height: calc(100% - 72px);
    }
}

/* BioLuna real OS login/shutdown pass */
.bio-terminal-root .bio-terminal-login--welcome {
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    color: #ecfff4;
    background:
        radial-gradient(ellipse at 18% 24%, rgba(143, 255, 178, 0.2), transparent 34%),
        radial-gradient(ellipse at 72% 38%, rgba(83, 229, 218, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(10, 54, 28, 0.98), rgba(2, 24, 15, 0.98) 44%, rgba(0, 8, 8, 0.99));
}

.bio-terminal-root .bio-terminal-login--welcome::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 18% 82%, rgba(0, 0, 0, 0.42)),
        linear-gradient(180deg, rgba(133, 255, 177, 0.07), transparent 24% 74%, rgba(0, 0, 0, 0.28)),
        repeating-linear-gradient(180deg, rgba(205, 255, 219, 0.04) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(205, 255, 219, 0.03) 0 1px, transparent 1px 46px);
    opacity: 0.82;
}

.bio-terminal-root .bio-terminal-login__banner {
    min-height: 86px;
    padding: 16px clamp(18px, 4vw, 62px);
    background:
        linear-gradient(180deg, rgba(145, 250, 169, 0.42), rgba(26, 111, 48, 0.88) 54%, rgba(6, 48, 26, 0.95));
    border-bottom-color: rgba(188, 255, 208, 0.36);
}

.bio-terminal-root .bio-terminal-login__brand {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bio-terminal-root .bio-terminal-login__brand strong {
    color: #f1fff7;
    font-size: clamp(26px, 4vw, 46px);
    line-height: 1;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.3),
        0 0 18px rgba(122, 255, 162, 0.28);
}

.bio-terminal-root .bio-terminal-login__brand em {
    color: rgba(232, 255, 238, 0.72);
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.bio-terminal-root .bio-terminal-login__workspace {
    position: relative;
    z-index: 1;
    align-self: stretch;
    width: min(1040px, calc(100% - 56px));
    display: grid;
    grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
    align-items: center;
    gap: clamp(18px, 3vw, 34px);
    margin: 0 auto;
    padding: clamp(18px, 4vh, 38px) 0;
}

.bio-terminal-root .bio-terminal-login__system,
.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__card {
    min-width: 0;
    border: 1px solid rgba(198, 255, 216, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -18px 28px rgba(0, 0, 0, 0.24),
        0 18px 42px rgba(0, 0, 0, 0.36);
}

.bio-terminal-root .bio-terminal-login__system {
    display: grid;
    gap: 14px;
    padding: 22px;
    color: rgba(235, 255, 240, 0.82);
    background:
        linear-gradient(180deg, rgba(34, 112, 57, 0.5), rgba(4, 28, 17, 0.76)),
        rgba(2, 21, 14, 0.78);
    border-radius: 10px 4px 4px 10px;
}

.bio-terminal-root .bio-terminal-login__seal {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 26% 26% 36% 36% / 30% 30% 44% 44%;
    background:
        radial-gradient(circle at 42% 24%, rgba(255, 255, 255, 0.66), transparent 28%),
        linear-gradient(180deg, rgba(153, 255, 185, 0.46), rgba(7, 67, 35, 0.84));
    border: 1px solid rgba(213, 255, 227, 0.56);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.46),
        0 0 28px rgba(91, 255, 156, 0.2);
}

.bio-terminal-root .bio-terminal-login__seal-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
}

.bio-terminal-root .bio-terminal-login__seal-icon > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bio-terminal-root .bio-terminal-login__system h2 {
    margin: 0;
    color: #f5fff8;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.04;
}

.bio-terminal-root .bio-terminal-login__system p {
    max-width: 34ch;
    margin: 0;
    color: rgba(231, 255, 239, 0.72);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.bio-terminal-root .bio-terminal-login__status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 4px 0 0;
}

.bio-terminal-root .bio-terminal-login__status-grid div {
    min-width: 0;
    padding: 9px 10px;
    background: rgba(0, 12, 9, 0.42);
    border: 1px solid rgba(159, 255, 190, 0.18);
    border-radius: 4px;
}

.bio-terminal-root .bio-terminal-login__status-grid dt,
.bio-terminal-root .bio-terminal-login__status-grid dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bio-terminal-root .bio-terminal-login__status-grid dt {
    color: rgba(222, 255, 230, 0.48);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bio-terminal-root .bio-terminal-login__status-grid dd {
    margin-top: 3px;
    color: #ebfff2;
    font-size: 12px;
    font-weight: 900;
}

.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__card {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: clamp(16px, 2.4vw, 24px);
    text-align: left;
    background:
        linear-gradient(180deg, rgba(244, 255, 246, 0.96), rgba(192, 231, 205, 0.92)),
        #d6eddd;
    border-radius: 4px 10px 10px 4px;
}

.bio-terminal-root .bio-terminal-login__card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(23, 101, 46, 0.2);
}

.bio-terminal-root .bio-terminal-login__card-header span,
.bio-terminal-root .bio-terminal-login__card-header strong {
    overflow: hidden;
    color: #1c6231;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.bio-terminal-root .bio-terminal-login__card-header strong {
    color: rgba(11, 39, 19, 0.58);
    font-size: 10px;
}

.bio-terminal-root .bio-terminal-login__operator {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__avatar {
    width: 104px;
    height: 104px;
    border-radius: 8px;
    background:
        radial-gradient(circle at 42% 24%, rgba(255, 255, 255, 0.86), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(105, 207, 133, 0.72)),
        #176535;
}

.bio-terminal-root .bio-terminal-login__access {
    display: grid;
    gap: 5px;
    padding: 10px 12px;
    color: rgba(15, 54, 28, 0.76);
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(44, 131, 62, 0.18);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
}

.bio-terminal-root .bio-terminal-login__access span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bio-terminal-root .bio-terminal-login__access i {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #24a94b;
    box-shadow: 0 0 10px rgba(36, 169, 75, 0.48);
}

.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__button {
    justify-self: end;
    min-width: 190px;
    height: 46px;
    color: #062312;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 42%),
        linear-gradient(180deg, #dffce5, #90e0a0 52%, #3eae55);
    border-color: rgba(29, 116, 45, 0.7);
}

.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__button:active {
    transform: translateY(1px);
}

.bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__card small {
    grid-column: auto;
    color: rgba(9, 37, 18, 0.58);
}

.bio-terminal-root .bio-terminal-login__hint {
    position: relative;
    z-index: 1;
    width: min(1040px, calc(100% - 56px));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin: -8px auto 12px;
    color: rgba(232, 255, 239, 0.66);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.bio-terminal-root .bio-terminal-login__dot {
    width: 9px;
    height: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #76ef95;
    box-shadow: 0 0 10px rgba(118, 239, 149, 0.65);
    animation: bio-terminal-login-pulse 1.7s ease-in-out infinite;
    will-change: opacity, transform;
}

.theme-dark-luna .bio-terminal-login--welcome {
    color: #f0f8ff;
    background:
        radial-gradient(ellipse at 22% 24%, rgba(111, 188, 255, 0.2), transparent 34%),
        radial-gradient(ellipse at 72% 38%, rgba(96, 232, 255, 0.15), transparent 30%),
        linear-gradient(180deg, rgba(16, 59, 128, 0.98), rgba(4, 25, 72, 0.98) 46%, rgba(1, 8, 30, 0.99));
}

.theme-dark-luna .bio-terminal-login__banner {
    background:
        linear-gradient(180deg, rgba(131, 207, 255, 0.36), rgba(30, 92, 184, 0.88) 54%, rgba(10, 39, 104, 0.95));
    border-bottom-color: rgba(195, 229, 255, 0.36);
}

.theme-dark-luna .bio-terminal-login__system {
    background:
        linear-gradient(180deg, rgba(25, 84, 162, 0.5), rgba(3, 18, 58, 0.76)),
        rgba(2, 14, 38, 0.78);
    border-color: rgba(184, 225, 255, 0.3);
}

.theme-dark-luna .bio-terminal-login--welcome .bio-terminal-login__card {
    background:
        linear-gradient(180deg, rgba(243, 250, 255, 0.96), rgba(190, 216, 244, 0.92)),
        #d4e5f7;
    border-color: rgba(236, 249, 255, 0.74);
}

.theme-dark-luna .bio-terminal-login__card-header span,
.theme-dark-luna .bio-terminal-login--welcome .bio-terminal-login__copy span {
    color: #1d559d;
}

.theme-dark-luna .bio-terminal-login--welcome .bio-terminal-login__button {
    color: #071f47;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 42%),
        linear-gradient(180deg, #e7f5ff, #9ed1ff 52%, #4a92ea);
    border-color: rgba(48, 111, 207, 0.7);
}

.bio-terminal-root .bio-terminal-shutdown--xp {
    background:
        radial-gradient(ellipse at 50% 28%, rgba(112, 255, 168, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(7, 59, 31, 0.98), rgba(1, 20, 11, 0.99) 52%, rgba(0, 4, 4, 1));
}

.bio-terminal-root .bio-terminal-shutdown--xp::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20% 80%, rgba(0, 0, 0, 0.34)),
        repeating-linear-gradient(180deg, rgba(211, 255, 226, 0.05) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(90deg, rgba(211, 255, 226, 0.025) 0 1px, transparent 1px 52px);
    opacity: 0.7;
}

.bio-terminal-root .bio-terminal-shutdown--xp::after {
    z-index: 0;
    opacity: 0;
    background:
        radial-gradient(ellipse at 50% 50%, transparent 0 28%, rgba(0, 0, 0, 0.62) 76%, rgba(0, 0, 0, 0.94) 100%);
    will-change: opacity;
}

.bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2::after {
    animation: bio-terminal-poweroff-fade 900ms 260ms ease-in forwards;
}

.bio-terminal-root .bio-terminal-shutdown__panel {
    z-index: 1;
    width: min(760px, 92vw);
    border-radius: 4px;
    background:
        linear-gradient(180deg, rgba(18, 82, 38, 0.46), rgba(1, 15, 8, 0.68));
    border-color: rgba(181, 255, 205, 0.28);
}

.bio-terminal-root .bio-terminal-shutdown__logo {
    animation: bio-terminal-shutdown-breathe 1600ms ease-in-out infinite;
    will-change: opacity, transform;
}

.bio-terminal-root .bio-terminal-shutdown--xp .bio-terminal-shutdown__message h1 {
    text-wrap: balance;
}

.bio-terminal-root .bio-terminal-shutdown--xp .bio-terminal-shutdown__steps {
    max-width: 500px;
    padding: 8px;
    background: rgba(0, 9, 8, 0.36);
    border: 1px solid rgba(194, 255, 216, 0.15);
    border-radius: 4px;
}

.bio-terminal-root .bio-terminal-shutdown__progress {
    height: 20px;
    padding: 3px;
    background: rgba(0, 7, 6, 0.62);
    border-color: rgba(205, 255, 222, 0.28);
    border-radius: 3px;
}

.bio-terminal-root .bio-terminal-shutdown__progress span {
    border-radius: 2px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 8px),
        linear-gradient(180deg, #effff2, #82df91 58%, #218c3b);
    transition: width 320ms ease;
}

.bio-terminal-root .bio-terminal-shutdown__safe {
    display: none;
    min-width: 0;
    padding: 10px 16px;
    color: rgba(236, 255, 243, 0.86);
    background: rgba(0, 8, 7, 0.38);
    border: 1px solid rgba(190, 255, 210, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    text-transform: uppercase;
}

.bio-terminal-root .bio-terminal-shutdown__safe strong,
.bio-terminal-root .bio-terminal-shutdown__safe span {
    display: block;
}

.bio-terminal-root .bio-terminal-shutdown__safe span {
    margin-top: 3px;
    color: rgba(236, 255, 243, 0.58);
    font-size: 9px;
}

.bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__safe {
    display: block;
}

.bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__message h1 {
    transform: scale(1.035);
    transition: transform 320ms ease;
}

.bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__steps,
.bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__progress {
    opacity: 0.34;
    transition: opacity 280ms ease;
}

.theme-dark-luna .bio-terminal-shutdown--xp {
    background:
        radial-gradient(ellipse at 50% 28%, rgba(108, 200, 255, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(13, 55, 126, 0.98), rgba(2, 17, 58, 0.99) 52%, rgba(0, 4, 18, 1));
}

.theme-dark-luna .bio-terminal-shutdown__panel {
    background:
        linear-gradient(180deg, rgba(20, 74, 158, 0.46), rgba(1, 12, 43, 0.68));
    border-color: rgba(184, 226, 255, 0.26);
}

.theme-dark-luna .bio-terminal-shutdown__progress span {
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 8px),
        linear-gradient(180deg, #e7f7ff, #71bdff 58%, #236fd2);
}

@keyframes bio-terminal-login-pulse {
    0%, 100% { opacity: 0.56; transform: scale(0.88); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes bio-terminal-shutdown-breathe {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.045); }
}

@keyframes bio-terminal-poweroff-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 860px) {
    .bio-terminal-root .bio-terminal-login__banner {
        min-height: 76px;
    }

    .bio-terminal-root .bio-terminal-login__workspace {
        width: calc(100% - 28px);
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .bio-terminal-root .bio-terminal-login__system,
    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__card {
        border-radius: 7px;
    }

    .bio-terminal-root .bio-terminal-login__system {
        padding: 16px;
    }

    .bio-terminal-root .bio-terminal-login__system p {
        max-width: none;
    }

    .bio-terminal-root .bio-terminal-login__operator {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .bio-terminal-root .bio-terminal-login__card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__button {
        justify-self: stretch;
        min-width: 0;
    }

    .bio-terminal-root .bio-terminal-login__hint {
        width: calc(100% - 28px);
        justify-content: flex-start;
        margin-top: 0;
        font-size: 9px;
        line-height: 1.35;
    }

    .bio-terminal-root .bio-terminal-shutdown--xp .bio-terminal-shutdown__message h1 {
        font-size: 25px;
    }
}

@media (max-width: 520px) {
    .bio-terminal-root .bio-terminal-login__status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .bio-terminal-root .bio-terminal-login__brand strong {
        font-size: 25px;
    }

    .bio-terminal-root .bio-terminal-login__banner span {
        white-space: normal;
    }

    .bio-terminal-root .bio-terminal-login__workspace {
        gap: 8px;
        padding: 8px 0;
    }

    .bio-terminal-root .bio-terminal-login__system {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 8px 10px;
        padding: 11px;
    }

    .bio-terminal-root .bio-terminal-login__seal {
        width: 62px;
        height: 62px;
        grid-row: 1 / 3;
    }

    .bio-terminal-root .bio-terminal-login__seal-icon {
        width: 46px;
        height: 46px;
    }

    .bio-terminal-root .bio-terminal-login__system h2 {
        align-self: end;
        font-size: 22px;
    }

    .bio-terminal-root .bio-terminal-login__system p {
        align-self: start;
        font-size: 10px;
        line-height: 1.35;
    }

    .bio-terminal-root .bio-terminal-login__status-grid {
        grid-column: 1 / -1;
    }

    .bio-terminal-root .bio-terminal-login__status-grid div {
        padding: 6px 7px;
    }

    .bio-terminal-root .bio-terminal-login__status-grid dt {
        font-size: 8px;
    }

    .bio-terminal-root .bio-terminal-login__status-grid dd {
        font-size: 10px;
    }

    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__card {
        gap: 8px;
        padding: 11px;
    }

    .bio-terminal-root .bio-terminal-login__card-header {
        gap: 2px;
        padding-bottom: 6px;
    }

    .bio-terminal-root .bio-terminal-login__operator {
        grid-template-columns: 66px minmax(0, 1fr);
        justify-items: stretch;
        gap: 10px;
        text-align: left;
    }

    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__avatar {
        width: 66px;
        height: 66px;
    }

    .bio-terminal-root .bio-terminal-login__avatar-icon {
        width: 50px;
        height: 50px;
    }

    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__copy h1 {
        font-size: 24px;
    }

    .bio-terminal-root .bio-terminal-login--welcome .bio-terminal-login__copy p {
        font-size: 9px;
    }

    .bio-terminal-root .bio-terminal-login__access {
        padding: 6px 8px;
        font-size: 9px;
    }

    .bio-terminal-root .bio-terminal-login__hint {
        display: none;
    }

    .bio-terminal-root .bio-terminal-shutdown--xp .bio-terminal-shutdown__message h1 {
        overflow-wrap: anywhere;
        font-size: 22px;
        line-height: 1.14;
    }

    .bio-terminal-root .bio-terminal-shutdown--xp .bio-terminal-shutdown__message p {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bio-terminal-root .bio-terminal-login__dot,
    .bio-terminal-root .bio-terminal-shutdown__logo,
    .bio-terminal-root .bio-terminal-shutdown--xp::after,
    .bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2 .bio-terminal-shutdown__message h1,
    .bio-terminal-root .bio-terminal-shutdown__progress span {
        animation: none !important;
        transition: none !important;
    }

    .bio-terminal-root .bio-terminal-shutdown--xp.is-phase-2::after {
        opacity: 1;
    }
}
