:root {
    --bg: #071018;
    --panel: rgba(7, 15, 24, 0.85);
    --panel-strong: rgba(5, 11, 17, 0.94);
    --line: rgba(120, 215, 255, 0.28);
    --line-soft: rgba(120, 215, 255, 0.15);
    --accent: #5ce1ff;
    --accent-strong: #2fd1ff;
    --text: #eff8ff;
    --muted: #a8c4d6;
    --danger: #ff8b94;
    --success: #6effc4;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    --taskbar-height: 54px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at top left, rgba(92, 225, 255, 0.16), transparent 38%), radial-gradient(circle at 90% 12%, rgba(56, 178, 255, 0.1), transparent 30%), #03060a;
}

button,
input {
    font: inherit;
}

.hidden {
    display: none !important;
}

.sim-root {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    --sim-scale: 1;
    --sim-viewport-width: 100vw;
    --sim-viewport-height: 100vh;
}

.sim-layout {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--sim-viewport-width);
    height: var(--sim-viewport-height);
    transform: scale(var(--sim-scale));
    transform-origin: top left;
}

.guide-panel {
    position: fixed;
    top: 56px;
    right: 18px;
    z-index: 12;
    width: min(360px, calc(var(--sim-viewport-width) - 36px));
    max-height: calc(var(--sim-viewport-height) - 78px);
    overflow: auto;
    background: linear-gradient(180deg, rgba(8, 24, 38, 0.86), rgba(5, 13, 22, 0.8));
    border: 1px solid rgba(120, 215, 255, 0.45);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.guide-head {
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #79e8ff;
    box-shadow: 0 0 10px rgba(121, 232, 255, 0.9);
}

.guide-title {
    margin: 0;
    color: #d6f7ff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.guide-intro {
    margin: 10px 0 0;
    color: #dff5ff;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.4;
}

.guide-instruction {
    margin: 10px 0 0;
    color: #9ee8ff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.guide-panel.is-pulsing {
    animation: guidePulse 1.05s ease-in-out infinite;
}

@keyframes guidePulse {
    0%,
    100% {
        border-color: rgba(120, 215, 255, 0.4);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(92, 225, 255, 0.55);
    }
    50% {
        border-color: rgba(130, 238, 255, 0.95);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45), 0 0 0 7px rgba(92, 225, 255, 0.28);
    }
}

.desktop-stage {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-soft);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.desktop-topbar {
    height: 42px;
    background: linear-gradient(180deg, rgba(70, 74, 82, 0.46), rgba(42, 45, 52, 0.4));
    border-bottom: 1px solid rgba(219, 232, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    font-size: 0.82rem;
    backdrop-filter: blur(12px) saturate(115%);
}

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-btn {
    border-radius: 8px;
    border: 1px solid rgba(229, 236, 248, 0.32);
    background: rgba(58, 63, 72, 0.38);
    color: #e8f1ff;
    padding: 6px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.topbar-btn:hover {
    border-color: rgba(236, 244, 255, 0.52);
    background: rgba(75, 81, 92, 0.52);
}

.topbar-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.desktop-workspace {
    position: relative;
    height: calc(100% - 42px);
    padding-bottom: var(--taskbar-height);
    background-size: cover;
    background-position: center;
}

.desktop-workspace::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 11, 18, 0.36), rgba(4, 11, 18, 0.62));
}

.desktop-icons {
    position: absolute;
    left: 14px;
    top: 58px;
    z-index: 2;
    display: grid;
    gap: 12px;
}

.desktop-taskbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 11;
    height: var(--taskbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid rgba(219, 232, 248, 0.22);
    background: linear-gradient(180deg, rgba(62, 67, 76, 0.42), rgba(40, 44, 51, 0.5));
    backdrop-filter: blur(14px) saturate(115%);
}

.taskbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.taskbar-start-btn {
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(226, 236, 250, 0.28);
    background: rgba(63, 69, 78, 0.45);
    color: #e8f1ff;
    padding: 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.taskbar-pinned {
    display: flex;
    align-items: center;
    gap: 8px;
}

.taskbar-app {
    height: 36px;
    min-width: 170px;
    border: 1px solid rgba(221, 233, 249, 0.22);
    border-radius: 10px;
    background: rgba(60, 66, 76, 0.38);
    color: #e6f1ff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.taskbar-app img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.taskbar-app span {
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
}

.taskbar-app.is-enabled:hover {
    transform: translateY(-1px);
}

.taskbar-app.is-active {
    border-color: rgba(235, 245, 255, 0.54);
    background: rgba(88, 95, 106, 0.56);
    box-shadow: inset 0 -2px 0 rgba(194, 226, 255, 0.62);
}

.taskbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.taskbar-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #6effc4;
    box-shadow: 0 0 10px rgba(110, 255, 196, 0.8);
}

.taskbar-datetime {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.05;
}

#taskbar-clock {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

#taskbar-date {
    font-size: 0.68rem;
    color: #b8d7e8;
}

.desktop-icon {
    width: 106px;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    background: rgba(5, 11, 18, 0.3);
    color: #f3faff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.desktop-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.desktop-icon span {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
}

.window {
    position: absolute;
    z-index: 8;
    background: linear-gradient(180deg, rgba(58, 62, 72, 0.5), rgba(38, 41, 48, 0.46));
    border: 1px solid rgba(226, 236, 250, 0.24);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    will-change: left, top;
    backdrop-filter: blur(16px) saturate(118%);
}

.hazme-window {
    left: 160px;
    top: 68px;
    width: min(620px, calc(100% - 200px));
}

.meeting-window {
    left: 220px;
    top: 82px;
    width: min(760px, calc(100% - 260px));
}

.meeting-window.is-closing,
.hazme-window.is-closing {
    pointer-events: none;
    animation: meetingMinimize 1s ease-in forwards;
    transform-origin: bottom right;
}

@keyframes meetingMinimize {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 1;
        filter: blur(0);
    }
    55% {
        transform: translate3d(36px, 48px, 0) scale(0.82);
        opacity: 0.92;
    }
    100% {
        transform: translate3d(340px, 260px, 0) scale(0.14);
        opacity: 0;
        filter: blur(2px);
    }
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(233, 241, 252, 0.17);
    background: linear-gradient(180deg, rgba(115, 121, 133, 0.32), rgba(88, 94, 106, 0.24));
    cursor: grab;
    user-select: none;
}

.window-header.is-dragging {
    cursor: grabbing;
}

.window-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.window-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px;
}

.meeting-window .window-brand {
    gap: 10px;
}

.meeting-window .window-brand img {
    width: 38px;
    height: 38px;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.window-brand strong {
    display: block;
    font-size: 0.92rem;
}

.window-brand small {
    color: #cdd5e4;
    font-size: 0.74rem;
}

.window-body {
    padding: 14px;
    background: rgba(39, 44, 53, 0.22);
}

.window-body h3 {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.window-body p {
    color: #d0d9e8;
    font-size: 0.92rem;
}

.window-body label {
    display: block;
    font-size: 0.8rem;
    color: #deebff;
    margin-top: 10px;
}

.window-body input {
    width: 100%;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid rgba(227, 236, 248, 0.2);
    background: rgba(48, 54, 64, 0.52);
    color: #f4f8ff;
    padding: 9px 10px;
}

.window-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.window-message {
    min-height: 20px;
    margin-top: 8px;
    font-size: 0.82rem;
}

.app-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.app-tab {
    border: 1px solid rgba(224, 234, 248, 0.22);
    border-radius: 10px;
    background: rgba(67, 73, 84, 0.4);
    color: #dce9fb;
    padding: 7px 11px;
    font-size: 0.8rem;
}

.settings-panel {
    border: 1px solid rgba(227, 236, 249, 0.2);
    border-radius: 12px;
    padding: 12px;
    background: rgba(53, 59, 70, 0.32);
}

.setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    color: #dcf2ff;
    font-size: 0.86rem;
}

.setting-static {
    color: var(--accent);
    font-weight: 600;
}

.toggle-pill {
    border: 1px solid var(--line);
    background: rgba(21, 62, 82, 0.35);
    color: #c5f1ff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.75rem;
}

.toggle-pill.is-on {
    background: rgba(38, 166, 122, 0.25);
    border-color: rgba(66, 214, 156, 0.55);
    color: #b8ffe3;
}

.meeting-lobby-layout {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(270px, 1.1fr);
    gap: 16px;
}

.meeting-preview-card {
    border: 1px solid rgba(230, 238, 250, 0.2);
    border-radius: 14px;
    background: rgba(44, 50, 60, 0.34);
    padding: 12px;
}

.meeting-preview-label {
    margin: 0;
    color: #deedff;
    font-size: 0.76rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.meeting-preview-frame {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px solid rgba(226, 235, 249, 0.22);
    background: linear-gradient(180deg, rgba(92, 102, 120, 0.28), rgba(51, 56, 66, 0.38));
    min-height: 150px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 10px;
}

.meeting-preview-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 1px solid rgba(226, 236, 250, 0.34);
    background: rgba(233, 241, 255, 0.1);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: #edf7ff;
    margin-bottom: 8px;
}

.meeting-preview-frame p {
    margin: 0;
    color: #d4dff0;
    font-size: 0.85rem;
}

.meeting-checklist {
    margin: 12px 0 0;
    padding-left: 16px;
    color: #d2deee;
    font-size: 0.83rem;
    line-height: 1.45;
}

.meeting-join-panel {
    border: 1px solid rgba(230, 238, 250, 0.18);
    border-radius: 14px;
    background: rgba(51, 57, 67, 0.3);
    padding: 14px;
}

.meeting-join-panel h3 {
    margin: 0;
}

.meeting-join-panel p {
    margin-top: 10px;
}

.meeting-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.meeting-chip {
    border-radius: 999px;
    border: 1px solid rgba(226, 236, 250, 0.26);
    background: rgba(74, 82, 95, 0.36);
    color: #e4f1ff;
    font-size: 0.74rem;
    padding: 5px 10px;
}

.interview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.interview-top p {
    margin: 0;
    font-size: 0.82rem;
}

.meeting-video {
    width: 100%;
    min-height: 360px;
    background: #01070d;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    /* Recorta franjas laterales muy finas que vienen en algunos renders de video. */
    clip-path: inset(0 3px 0 3px round 11px);
}

.post-sim-modal {
    position: absolute;
    inset: 0;
    z-index: 24;
    display: grid;
    place-items: center;
    padding: 22px;
    background: radial-gradient(circle at 18% 10%, rgba(92, 225, 255, 0.18), transparent 40%), rgba(3, 10, 16, 0.5);
    backdrop-filter: blur(4px);
}

.post-sim-card {
    position: relative;
    width: min(680px, calc(100% - 20px));
    border-radius: 20px;
    border: 1px solid rgba(120, 215, 255, 0.38);
    background: linear-gradient(160deg, rgba(10, 27, 41, 0.96), rgba(6, 14, 23, 0.95));
    padding: 26px 26px 22px;
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(209, 244, 255, 0.08);
    overflow: hidden;
}

.post-sim-card::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -130px;
    right: -40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 230, 255, 0.34), rgba(108, 230, 255, 0) 70%);
    pointer-events: none;
}

.post-sim-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex: 0 0 auto;
}

.post-sim-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.post-sim-card h3 {
    margin: 0;
    font-size: 1.65rem;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.14;
    color: #f1fbff;
}

.post-sim-card p {
    margin: 10px 0 0;
    color: #d2e7f3;
    line-height: 1.58;
}

.post-sim-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.post-sim-actions .primary-btn {
    display: inline-flex;
    min-width: 250px;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(47, 209, 255, 0.25);
    border: 1px solid rgba(130, 235, 255, 0.28);
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.post-sim-actions .primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(47, 209, 255, 0.32);
}

.actionable {
    pointer-events: none;
    opacity: 0.46;
    filter: saturate(0.7);
}

.actionable.is-enabled {
    pointer-events: auto;
    opacity: 1;
    filter: none;
}

.actionable.is-enabled:hover {
    border-color: rgba(114, 226, 255, 0.65);
    background: rgba(17, 48, 66, 0.54);
    transform: translateY(-1px);
}

.shake {
    animation: shake 280ms linear;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    50% { transform: translateX(4px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}

.primary-btn,
.ghost-btn,
.window-close-btn,
.mobile-link {
    border-radius: 10px;
    border: 1px solid transparent;
    padding: 9px 14px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(90deg, var(--accent-strong), #8cf4ff);
    color: #052031;
}

.ghost-btn,
.window-close-btn,
.mobile-link {
    background: rgba(7, 19, 29, 0.75);
    border-color: var(--line-soft);
    color: #d7f2ff;
}

.start-overlay {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    background: rgba(3, 9, 14, 0.86);
    backdrop-filter: blur(4px);
    padding: 18px;
}

.mobile-card {
    width: min(680px, 100%);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(7, 20, 30, 0.96), rgba(6, 13, 21, 0.96));
    box-shadow: var(--shadow);
}

.mobile-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.mobile-pill {
    display: inline-block;
    margin: 12px 0 2px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 10px;
    color: #caf3ff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mobile-card h1 {
    margin: 8px 0;
    font-family: "Space Grotesk", sans-serif;
    font-size: 2rem;
    line-height: 1.15;
}

.mobile-card p {
    color: var(--muted);
}

.start-actions {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: center;
}

.start-actions.post-sim-actions {
    gap: 24px;
}

@supports not (gap: 1rem) {
    .start-actions.post-sim-actions > * + * {
        margin-left: 24px;
    }
}

.start-card h1 {
    margin: 0;
    font-size: 1.65rem;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1.14;
    color: #f1fbff;
}

.start-card > p {
    margin-top: 10px;
    color: #d2e7f3;
    line-height: 1.58;
}

.start-card .ghost-btn {
    border: 1px solid rgba(226, 236, 250, 0.28);
    background: rgba(62, 67, 77, 0.38);
    color: #e6f1ff;
}

.start-status {
    min-height: 24px;
    margin-top: 12px;
    text-align: center;
    color: #cde3f6;
    font-size: 0.84rem;
}

.mobile-blocker {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}

@media (max-width: 1180px) {
    .guide-panel {
        left: 12px;
        right: 12px;
        top: 50px;
        width: auto;
    }

    .meeting-lobby-layout {
        grid-template-columns: 1fr;
    }

    .meeting-preview-frame {
        min-height: 128px;
    }
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.hazme-window {
    left: 146px;
    top: 54px;
    --hazme-app-scale: 0.83;
    --hazme-content-width: 615px;
    --hazme-content-height: 800px;
    --hazme-window-width: 510px;
    --hazme-window-height: 664px;
    width: var(--hazme-window-width);
    height: var(--hazme-window-height);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(1.08);
    -webkit-backdrop-filter: blur(12px) saturate(1.08);
}

.sim-app-shell {
    --ui-bg: #04080d;
    --ui-bg-soft: #071119;
    --ui-shell: rgba(6, 15, 22, 0.46);
    --ui-panel: rgba(8, 19, 27, 0.34);
    --ui-panel-soft: rgba(9, 20, 28, 0.24);
    --ui-line: rgba(73, 216, 255, 0.78);
    --ui-line-soft: rgba(73, 216, 255, 0.24);
    --ui-accent: #49d8ff;
    --ui-accent-strong: #85ebff;
    --ui-text: #edf7fb;
    --ui-text-muted: #97b6c2;
    --ui-success: #5aff9c;
    --ui-danger: #ff7b95;
    --ui-shadow:
        0 0 0 1px rgba(73, 216, 255, 0.14),
        0 0 18px rgba(33, 191, 255, 0.16),
        inset 0 0 24px rgba(15, 109, 154, 0.07);
    --ui-cut: polygon(16px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 12px), calc(100% - 14px) 100%, 10px 100%, 0 calc(100% - 10px), 0 14px);
    --ui-shell-cut: polygon(28px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 28px);
    --ui-shell-cut-inner: polygon(20px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 16px), calc(100% - 16px) 100%, 16px 100%, 0 calc(100% - 16px), 0 20px);
    --ui-font: Bahnschrift, "Arial Narrow", "Segoe UI", sans-serif;
    position: relative;
    width: var(--hazme-content-width);
    height: var(--hazme-content-height);
    transform: scale(var(--hazme-app-scale));
    transform-origin: top left;
    color: var(--ui-text);
    font-family: var(--ui-font);
    letter-spacing: 0.02em;
}

.sim-app-shell,
.sim-app-shell * {
    box-sizing: border-box;
}

.sim-app-shell::before {
    content: "";
    position: absolute;
    inset: 8px;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(73, 216, 255, 0.07), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(73, 216, 255, 0.04), transparent 24%),
        linear-gradient(180deg, rgba(4, 8, 13, 0.11), rgba(2, 5, 8, 0.16)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.022) 0 1px, transparent 1px 10px);
    clip-path: var(--ui-shell-cut);
}

.sim-app-shell .desktop-neon-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 8px;
    border: 1px solid var(--ui-line);
    background: rgba(4, 8, 13, 0.04);
    overflow: hidden;
    isolation: isolate;
    box-shadow:
        0 0 28px rgba(33, 191, 255, 0.1),
        inset 0 0 28px rgba(12, 88, 126, 0.03);
    backdrop-filter: blur(20px) saturate(1.04);
    -webkit-backdrop-filter: blur(20px) saturate(1.04);
    clip-path: var(--ui-shell-cut);
}

.sim-app-shell .desktop-neon-shell::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(73, 216, 255, 0.32);
    clip-path: var(--ui-shell-cut-inner);
    pointer-events: none;
}

.sim-app-shell .neon-panel {
    position: relative;
    border: 1px solid var(--ui-line);
    background:
        linear-gradient(180deg, rgba(9, 18, 26, 0.24), rgba(5, 12, 17, 0.32)),
        repeating-linear-gradient(0deg, rgba(73, 216, 255, 0.024) 0 1px, transparent 1px 8px);
    box-shadow: var(--ui-shadow);
    backdrop-filter: blur(18px) saturate(1.03);
    -webkit-backdrop-filter: blur(18px) saturate(1.03);
    clip-path: var(--ui-cut);
}

.sim-app-shell .neon-panel::before,
.sim-app-shell .neon-panel::after {
    content: "";
    position: absolute;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--ui-accent), transparent);
    filter: drop-shadow(0 0 8px rgba(33, 191, 255, 0.7));
}

.sim-app-shell .neon-panel::before {
    left: 18px;
    width: 112px;
}

.sim-app-shell .neon-panel::after {
    right: 22px;
    width: 144px;
}

.hazme-window .window-header {
    padding: 14px 18px 16px;
    border-bottom: 0;
    background: transparent;
    cursor: grab;
    user-select: none;
}

.hazme-window .window-header.is-dragging {
    cursor: grabbing;
}

.sim-app-shell .neon-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.sim-app-shell .brand-cluster,
.sim-app-shell .brand-copy,
.sim-app-shell .topbar-actions,
.sim-app-shell .app-only-controls,
.sim-app-shell .window-controls,
.sim-app-shell .panel-title,
.sim-app-shell .panel-badge,
.sim-app-shell .small-neon-btn,
.sim-app-shell .panel-tools,
.sim-app-shell .neon-field-label,
.sim-app-shell .settings-section-title,
.sim-app-shell .listen-banner {
    display: flex;
    align-items: center;
}

.sim-app-shell .brand-cluster,
.sim-app-shell .topbar-actions,
.sim-app-shell .app-only-controls {
    gap: 14px;
}

.sim-app-shell .brand-mark {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
}

.sim-app-shell .brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(73, 216, 255, 0.36));
}

.sim-app-shell .brand-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.sim-app-shell .brand-copy h1 {
    margin: 0;
}

.sim-app-shell .assistant-app-title {
    font-size: 1.9rem;
    line-height: 0.94;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.sim-app-shell .assistant-app-title span {
    color: var(--ui-accent);
}

.sim-app-shell .window-controls {
    gap: 2px;
    padding-left: 4px;
}

.sim-app-shell .icon-ghost-btn,
.sim-app-shell .window-ghost-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ui-accent);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    transition: transform 140ms ease, color 180ms ease, filter 180ms ease;
}

.sim-app-shell .icon-ghost-btn:hover,
.sim-app-shell .window-ghost-btn:hover {
    color: var(--ui-accent-strong);
    filter: drop-shadow(0 0 8px rgba(73, 216, 255, 0.5));
}

.sim-app-shell .icon-ghost-btn:active,
.sim-app-shell .window-ghost-btn:active {
    transform: translateY(1px) scale(0.96);
}

.sim-app-shell .icon-ghost-btn.is-tutorial-highlight {
    color: #c8f7ff;
    background: rgba(73, 216, 255, 0.12);
    border-radius: 10px;
    animation: settingsPulse 1s ease-in-out infinite;
}

@keyframes settingsPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(73, 216, 255, 0.55),
            0 0 10px rgba(73, 216, 255, 0.42);
        filter: drop-shadow(0 0 6px rgba(73, 216, 255, 0.44));
    }
    50% {
        box-shadow:
            0 0 0 5px rgba(73, 216, 255, 0),
            0 0 18px rgba(73, 216, 255, 0.82);
        filter: drop-shadow(0 0 12px rgba(73, 216, 255, 0.72));
    }
}

.sim-app-shell .window-ghost-btn.is-disabled,
.sim-app-shell .window-ghost-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    filter: none;
    pointer-events: none;
}

.sim-app-shell .sim-hazme-screen {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
}

.hazme-window:has(#hazme-login-screen:not(.hidden)) .app-only-controls {
    display: none;
}

.sim-app-shell .neon-scroll {
    position: relative;
    flex: 1;
    overflow-y: auto;
    padding: 0 8px 4px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.sim-app-shell .assistant-layout {
    gap: 0;
    overflow: hidden;
}

.sim-app-shell .assistant-stage-gap {
    flex: 0 0 10px;
    height: 10px;
    opacity: 0;
    pointer-events: none;
}

.sim-app-shell .assistant-stage--secondary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.sim-app-shell .assistant-panel--live,
.sim-app-shell .assistant-panel--transcript,
.sim-app-shell .assistant-panel--suggestions {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.sim-app-shell .assistant-panel--live {
    padding: 6px 8px 6px;
}

.sim-app-shell .assistant-panel--transcript {
    padding: 14px 16px 16px;
    flex: 0 0 min(24vh, 190px);
    max-height: min(24vh, 190px);
}

.sim-app-shell .assistant-panel--suggestions {
    padding-top: 12px;
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(58vh, 470px);
}

.sim-app-shell .assistant-stage--secondary:not(.has-suggestions) .assistant-panel--transcript {
    flex-basis: min(52vh, 420px);
    max-height: min(52vh, 420px);
}

.sim-app-shell .panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.sim-app-shell .sim-login-head {
    justify-content: center;
    text-align: center;
}

.sim-app-shell .sim-login-title {
    justify-content: center;
}

.sim-app-shell .panel-title {
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
}

.sim-app-shell .panel-title .material-symbols-outlined {
    font-size: 18px;
}

.sim-app-shell .panel-title h2,
.sim-app-shell .settings-section-title h2 {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 800;
}

.sim-app-shell .panel-caption {
    margin: 6px 0 0;
    font-size: 0.55rem;
    color: var(--ui-text-muted);
    font-weight: 600;
}

.sim-app-shell .panel-badge,
.sim-app-shell .small-neon-btn {
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(73, 216, 255, 0.72);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(8, 22, 28, 0.88), rgba(4, 12, 17, 0.92));
    color: var(--ui-accent);
    box-shadow: inset 0 0 10px rgba(22, 90, 120, 0.1), 0 0 10px rgba(33, 191, 255, 0.12);
    font-size: 0.5rem;
    font-weight: 800;
}

.sim-app-shell .small-neon-btn {
    appearance: none;
    cursor: pointer;
}

.sim-app-shell .small-neon-btn .material-symbols-outlined {
    font-size: 16px;
}

.sim-app-shell .live-session-btn {
    min-height: 42px;
    padding: 8px 12px;
    font-size: 0.62rem;
}

.sim-app-shell .panel-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-app-shell .assistant-tools-bar {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.sim-app-shell .assistant-notice {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 8px 10px;
    padding: 9px 12px;
    border: 1px solid rgba(73, 216, 255, 0.34);
    border-radius: 10px;
    background: rgba(4, 20, 28, 0.72);
    color: var(--ui-text);
    box-shadow: inset 0 0 16px rgba(73, 216, 255, 0.05);
}

.sim-app-shell .assistant-notice .material-symbols-outlined {
    flex: 0 0 auto;
    font-size: 17px;
    color: var(--ui-accent);
}

.sim-app-shell .assistant-notice p {
    margin: 0;
    font-size: 0.56rem;
    line-height: 1.4;
    color: var(--ui-text-muted);
    font-family: "Fira Code", monospace;
}

.sim-app-shell .listen-banner {
    position: relative;
    width: 100%;
    justify-content: center;
    gap: 10px;
    min-height: 66px;
    padding: 12px 16px;
    clip-path: var(--ui-cut);
    color: #06242c;
    border: 1px solid rgba(153, 235, 255, 0.94);
    background:
        linear-gradient(180deg, rgba(176, 241, 255, 0.96), rgba(90, 222, 255, 0.9)),
        linear-gradient(180deg, rgba(9, 18, 26, 0.9), rgba(5, 12, 17, 0.92));
    box-shadow:
        0 0 0 1px rgba(183, 244, 255, 0.2),
        0 0 18px rgba(73, 216, 255, 0.22),
        inset 0 0 18px rgba(255, 255, 255, 0.18);
}

.sim-app-shell .listen-banner > .material-symbols-outlined {
    font-size: 28px;
    color: inherit;
}

.sim-app-shell .listen-copy {
    text-align: left;
}

.sim-app-shell .listen-copy strong {
    display: block;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
}

.sim-app-shell .listen-copy small {
    display: block;
    margin-top: 3px;
    font-size: 0.52rem;
    line-height: 1.25;
    font-weight: 700;
    color: rgba(6, 36, 44, 0.72);
}

.sim-app-shell .listen-banner:disabled {
    cursor: not-allowed;
    filter: grayscale(0.55);
    opacity: 0.62;
    box-shadow: none;
}

.sim-app-shell .listen-banner.is-active {
    transform: translateY(1px);
    color: #dffaff;
    border-color: rgba(153, 235, 255, 0.56);
    background:
        linear-gradient(180deg, rgba(12, 58, 70, 0.96), rgba(4, 20, 28, 0.94)),
        linear-gradient(180deg, rgba(9, 18, 26, 0.9), rgba(5, 12, 17, 0.92));
}

.sim-app-shell .listen-banner.is-active .listen-copy small {
    color: rgba(223, 250, 255, 0.72);
}

.sim-app-shell.is-locked .small-neon-btn,
.sim-app-shell.is-locked .icon-ghost-btn,
.sim-app-shell.is-locked .listen-banner {
    pointer-events: none;
}

.sim-app-shell .error-strip {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 123, 149, 0.34);
    background: rgba(69, 17, 28, 0.46);
    color: #ffc1cc;
    font-size: 0.56rem;
    font-family: "Fira Code", monospace;
}

.sim-app-shell .transcript-surface {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 96px;
    padding: 14px 16px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(9, 19, 26, 0.28), rgba(5, 12, 17, 0.38)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.03) 0 1px, transparent 1px 10px);
    border: 1px solid var(--ui-line);
    box-shadow: var(--ui-shadow);
}

.sim-app-shell .transcript-stream,
.sim-app-shell .suggestion-stream {
    flex: 1 1 auto;
    min-height: 36px;
    max-height: 100%;
    scrollbar-width: thin;
    scrollbar-color: rgba(73, 216, 255, 0.65) rgba(4, 12, 17, 0.42);
}

.sim-app-shell .transcript-stream {
    overflow-y: auto;
    padding-right: 8px;
}

.sim-app-shell .suggestion-stream {
    min-height: 0;
    overflow-y: auto;
    padding-right: 8px;
}

.sim-app-shell .transcript-stream::-webkit-scrollbar,
.sim-app-shell .suggestion-stream::-webkit-scrollbar {
    width: 7px;
}

.sim-app-shell .transcript-stream::-webkit-scrollbar-track,
.sim-app-shell .suggestion-stream::-webkit-scrollbar-track {
    background: rgba(4, 12, 17, 0.42);
    border-radius: 999px;
}

.sim-app-shell .transcript-stream::-webkit-scrollbar-thumb,
.sim-app-shell .suggestion-stream::-webkit-scrollbar-thumb {
    background: rgba(73, 216, 255, 0.62);
    border-radius: 999px;
}

.sim-app-shell .transcript-row {
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(73, 216, 255, 0.18);
    background: rgba(4, 12, 17, 0.55);
    box-shadow: inset 0 0 10px rgba(73, 216, 255, 0.04);
}

.sim-app-shell .transcript-row.is-partial {
    background: rgba(4, 12, 17, 0.35);
}

.sim-app-shell .transcript-row__line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
    font-size: 0.68rem;
    line-height: 1.45;
}

.sim-app-shell .transcript-row__speaker {
    font-family: "Fira Code", monospace;
    font-size: 0.52rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ui-accent);
}

.sim-app-shell .transcript-row__speaker--self {
    color: #8ba5b0;
}

.sim-app-shell .transcript-row__text {
    color: var(--ui-text);
}

.sim-app-shell .transcript-row__meta {
    margin: 6px 0 0;
    font-size: 0.52rem;
    line-height: 1.35;
    color: var(--ui-text-muted);
    font-family: "Fira Code", monospace;
}

.sim-app-shell .suggestion-card-shell {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    clip-path: var(--ui-cut);
    background:
        linear-gradient(180deg, rgba(9, 19, 26, 0.28), rgba(5, 12, 17, 0.38)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.03) 0 1px, transparent 1px 10px);
    border: 1px solid var(--ui-line);
    box-shadow: var(--ui-shadow);
}

.sim-app-shell .suggestion-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.sim-app-shell .suggestion-source {
    font-size: 0.54rem;
    font-family: "Fira Code", monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ui-accent);
}

.sim-app-shell .suggestion-mode {
    font-size: 0.52rem;
    color: var(--ui-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sim-app-shell .suggestion-question {
    margin-top: 10px;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #ffd886;
}

.sim-app-shell .suggestion-body {
    margin-top: 10px;
    font-size: 0.76rem;
    line-height: 1.6;
    color: var(--ui-text);
}

.sim-app-shell .suggestion-meta {
    margin-top: 10px;
    font-size: 0.52rem;
    font-family: "Fira Code", monospace;
    color: var(--ui-text-muted);
}

.sim-app-shell .auth-stage {
    flex: 1;
    min-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    overflow-y: auto;
}

.sim-app-shell .auth-card {
    width: min(100%, 440px);
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(9, 19, 26, 0.28), rgba(5, 12, 17, 0.38)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.03) 0 1px, transparent 1px 10px);
}

.sim-app-shell .sim-login-grid {
    display: grid;
    gap: 14px;
}

.sim-app-shell .neon-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sim-app-shell .neon-field-label {
    gap: 8px;
    font-size: 0.56rem;
    font-weight: 800;
    color: var(--ui-accent);
    text-transform: uppercase;
}

.sim-app-shell .neon-input,
.sim-app-shell .neon-textarea {
    appearance: none;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(73, 216, 255, 0.24);
    background: rgba(3, 11, 16, 0.98);
    color: var(--ui-text);
    caret-color: var(--ui-accent-strong);
    box-shadow: inset 0 0 12px rgba(73, 216, 255, 0.06);
}

.sim-app-shell .neon-input::placeholder,
.sim-app-shell .neon-textarea::placeholder {
    color: rgba(151, 182, 194, 0.66);
}

.sim-app-shell .neon-input {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.92rem;
    line-height: 1.2;
    font-weight: 600;
}

.sim-app-shell .neon-textarea {
    min-height: 96px;
    padding: 12px 14px;
    resize: vertical;
    font: inherit;
    font-size: 0.88rem;
    line-height: 1.45;
}

.sim-app-shell .neon-input:focus,
.sim-app-shell .neon-textarea:focus {
    outline: none;
    border-color: rgba(133, 235, 255, 0.88);
    box-shadow:
        0 0 0 1px rgba(133, 235, 255, 0.2),
        0 0 10px rgba(73, 216, 255, 0.15),
        inset 0 0 14px rgba(73, 216, 255, 0.08);
}

.sim-app-shell .neon-input-masked {
    -webkit-text-security: disc;
}

.sim-app-shell .password-field {
    position: relative;
}

.sim-app-shell .password-field .neon-input {
    padding-right: 52px;
}

.sim-app-shell .password-toggle-btn {
    position: absolute;
    right: 12px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--ui-text-muted);
    cursor: pointer;
}

.sim-app-shell .password-toggle-btn:hover {
    color: var(--ui-accent);
}

.sim-app-shell .neon-button,
.sim-app-shell .neon-button-secondary {
    appearance: none;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid var(--ui-line);
    font-weight: 800;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 140ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.sim-app-shell .neon-button {
    background: linear-gradient(180deg, rgba(153, 235, 255, 0.92), rgba(73, 216, 255, 0.88));
    color: #08232a;
    box-shadow: 0 0 16px rgba(73, 216, 255, 0.2);
}

.sim-app-shell .neon-button-secondary {
    background: linear-gradient(180deg, rgba(9, 19, 26, 0.88), rgba(5, 12, 17, 0.92));
    color: var(--ui-text);
    box-shadow: var(--ui-shadow);
}

.sim-app-shell .neon-button:hover,
.sim-app-shell .neon-button-secondary:hover {
    filter: brightness(1.05);
}

.sim-app-shell .sim-login-actions,
.sim-app-shell .settings-actions {
    display: flex;
    gap: 10px;
}

.sim-app-shell .sim-login-actions > *,
.sim-app-shell .settings-actions > * {
    flex: 1 1 0;
}

.sim-app-shell .auth-help-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.sim-app-shell .auth-forgot-link {
    color: var(--ui-text-muted);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.sim-app-shell .auth-forgot-link:hover {
    color: var(--ui-accent);
}

.sim-app-shell .auth-forgot-link.is-disabled {
    color: rgba(151, 182, 194, 0.38);
    cursor: not-allowed;
    pointer-events: none;
    text-shadow: none;
}

.sim-app-shell .neon-input[readonly] {
    color: #dff9ff;
    border-color: rgba(73, 216, 255, 0.16);
    background: rgba(4, 12, 17, 0.96);
    cursor: default;
}

.sim-app-shell .subtle-status {
    font-size: 0.58rem;
    font-family: "Fira Code", monospace;
    color: var(--ui-text-muted);
}

.sim-app-shell .assistant-settings-overlay {
    position: absolute;
    inset: 0;
    z-index: 210;
    display: grid;
    place-items: stretch;
    padding: 10px;
}

.sim-app-shell .assistant-settings-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 12, 0.64);
    backdrop-filter: blur(2px);
}

.sim-app-shell .assistant-settings-overlay__surface {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    clip-path: var(--ui-shell-cut-inner);
}

.sim-app-shell .desktop-settings-page {
    gap: 12px;
}

.sim-app-shell .settings-layout {
    display: flex;
    gap: 14px;
    min-height: 0;
    flex: 1;
}

.sim-app-shell .settings-sidebar {
    width: 62px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background:
        linear-gradient(180deg, rgba(9, 19, 26, 0.28), rgba(5, 12, 17, 0.38)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.03) 0 1px, transparent 1px 10px);
    border: 1px solid var(--ui-line);
    box-shadow: var(--ui-shadow);
}

.sim-app-shell .settings-tab {
    appearance: none;
    width: 100%;
    min-height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(73, 216, 255, 0.18);
    background: rgba(7, 18, 25, 0.92);
    color: var(--ui-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.sim-app-shell .settings-tab:hover,
.sim-app-shell .settings-tab.is-active {
    color: var(--ui-accent);
    border-color: rgba(73, 216, 255, 0.82);
    box-shadow: 0 0 16px rgba(73, 216, 255, 0.16), inset 0 0 10px rgba(73, 216, 255, 0.08);
}

.sim-app-shell .settings-content {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
}

.sim-app-shell .settings-grid {
    display: grid;
    gap: 12px;
}

.sim-app-shell .settings-card {
    padding: 14px;
    background:
        linear-gradient(180deg, rgba(9, 19, 26, 0.28), rgba(5, 12, 17, 0.38)),
        repeating-linear-gradient(90deg, rgba(73, 216, 255, 0.03) 0 1px, transparent 1px 10px);
}

.sim-app-shell .settings-section-title {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.sim-app-shell .settings-help {
    margin: 4px 0 0;
    font-size: 0.56rem;
    color: var(--ui-text-muted);
    line-height: 1.45;
}

.sim-app-shell .toggle-pill {
    appearance: none;
    min-width: 62px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(73, 216, 255, 0.24);
    background: rgba(8, 18, 24, 0.94);
    color: var(--ui-text-muted);
    font-size: 0.56rem;
    font-weight: 900;
    cursor: pointer;
}

.sim-app-shell .toggle-pill.is-on {
    color: var(--ui-accent);
    border-color: rgba(73, 216, 255, 0.72);
    box-shadow: 0 0 12px rgba(73, 216, 255, 0.16), inset 0 0 8px rgba(73, 216, 255, 0.08);
}

.sim-app-shell .usage-meter-shell {
    display: grid;
    gap: 12px;
}

.sim-app-shell .usage-meter-track {
    position: relative;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: rgba(5, 14, 20, 0.82);
    border: 1px solid rgba(73, 216, 255, 0.18);
    overflow: hidden;
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.24);
}

.sim-app-shell .usage-meter-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(110, 231, 255, 0.98), rgba(59, 130, 246, 0.98));
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.28);
}

.sim-app-shell .usage-meter-copy {
    display: grid;
    gap: 4px;
}

.sim-app-shell .usage-meter-label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ui-text);
}
