:root {
    --pink-900: #8f0d56;
    --pink-700: #c21872;
    --pink-600: #e61d8d;
    --pink-500: #f13d9d;
    --pink-300: #ff8fc5;
    --pink-100: #ffe1f0;
    --pink-50: #fff4fa;
    --blue-600: #2385cf;
    --blue-100: #dff3ff;
    --purple-600: #7f53cf;
    --ink: #392539;
    --muted: #786a77;
    --surface: #ffffff;
    --shadow: 0 18px 45px rgba(164, 28, 101, .12);
    --radius-lg: 28px;
    --radius-md: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 143, 197, .16) 0 8%, transparent 9%),
        radial-gradient(circle at 92% 30%, rgba(106, 197, 255, .13) 0 7%, transparent 8%),
        #fffafd;
    font-family: 'Noto Sans Thai', system-ui, -apple-system, 'Segoe UI', sans-serif;
    line-height: 1.65;
}

a { color: var(--pink-700); }
a:hover { color: var(--pink-900); }

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 2000;
    padding: .7rem 1rem;
    border-radius: 10px;
    color: white;
    background: var(--pink-900);
}
.skip-link:focus { top: 12px; }

.site-header {
    position: relative;
    z-index: 1040;
    overflow: visible;
    background: linear-gradient(145deg, #fff 0%, #fff0f8 48%, #edf9ff 100%);
}

.header-visual-shell {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(100deg, #fff9fd 0%, #ffe3f2 72%, #39286f 100%);
}

.header-banner-art {
    position: absolute;
    z-index: 0;
    inset: 0;
    background-image: url('../../uploads/generated/header-motion-banner-1800x360.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    transform: scale(1.012);
    animation: headerArtBreath 12s ease-in-out infinite alternate;
}

.header-banner-art::after {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.18) 0%, rgba(255,242,249,.08) 62%, rgba(40,28,88,.03) 100%);
}

.header-content {
    z-index: 3;
    display: flex;
    min-height: 360px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: .6rem;
    padding-right: clamp(300px, 28vw, 500px);
    padding-bottom: .6rem;
}

.header-motion-layer {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.header-bubble {
    --bubble-size: 24px;
    --bubble-x: 10%;
    --bubble-delay: 0s;
    position: absolute;
    left: var(--bubble-x);
    bottom: -52px;
    width: var(--bubble-size);
    height: var(--bubble-size);
    border: 1px solid rgba(255, 255, 255, .88);
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.86), rgba(255,143,197,.18) 38%, rgba(74,180,239,.12) 68%, transparent 72%);
    box-shadow: inset 0 0 10px rgba(255,255,255,.6), 0 6px 20px rgba(143,13,86,.08);
    animation: headerBubbleRise 8.5s var(--bubble-delay) ease-in infinite;
}
.bubble-one { --bubble-size: 30px; --bubble-x: 7%; --bubble-delay: -1s; }
.bubble-two { --bubble-size: 16px; --bubble-x: 31%; --bubble-delay: -5.2s; }
.bubble-three { --bubble-size: 22px; --bubble-x: 61%; --bubble-delay: -3.1s; }
.bubble-four { --bubble-size: 13px; --bubble-x: 88%; --bubble-delay: -6.8s; }

.header-sheen {
    position: absolute;
    top: -38%;
    bottom: -38%;
    left: -20%;
    width: 13%;
    opacity: .36;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.78), transparent);
    filter: blur(8px);
    transform: skewX(-18deg);
    animation: headerSheen 9s ease-in-out infinite;
}

.header-pulse-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32%;
    height: 100%;
    opacity: .72;
}
.header-pulse-line path {
    fill: none;
    stroke: #e61d8d;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 650;
    stroke-dashoffset: 650;
    filter: drop-shadow(0 0 5px rgba(230,29,141,.28));
    animation: headerPulseDraw 4.8s ease-in-out infinite;
}

@keyframes headerArtBreath {
    from { transform: scale(1.012) translate3d(0, 0, 0); }
    to { transform: scale(1.026) translate3d(-3px, -2px, 0); }
}
@keyframes headerBubbleRise {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.7); }
    14% { opacity: .72; }
    55% { transform: translate3d(20px, -205px, 0) scale(1); }
    100% { opacity: 0; transform: translate3d(-10px, -430px, 0) scale(1.18); }
}
@keyframes headerSheen {
    0%, 20% { left: -20%; opacity: 0; }
    38% { opacity: .38; }
    62%, 100% { left: 108%; opacity: 0; }
}
@keyframes headerPulseDraw {
    0% { stroke-dashoffset: 650; opacity: 0; }
    15%, 65% { opacity: .8; }
    72% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: -650; opacity: 0; }
}

.top-logo {
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(112, 17, 69, .12));
    transition: transform .25s ease;
}
.logo-link:hover .top-logo { transform: translateY(-3px) rotate(-1deg); }

.header-kicker,
.eyebrow {
    color: var(--pink-700);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.site-title {
    color: var(--pink-900);
    font-size: clamp(2rem, 5vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.1;
}

.site-subtitle {
    color: var(--ink);
    font-size: clamp(.95rem, 2vw, 1.2rem);
    font-weight: 700;
}

.stress-copy {
    color: var(--pink-700);
    font-size: .92rem;
    font-weight: 600;
}

.date-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: .48rem 1rem;
    border: 1px solid rgba(230, 29, 141, .18);
    border-radius: 999px;
    color: var(--pink-900);
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 22px rgba(191, 33, 118, .08);
    font-size: .86rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.date-divider { margin: 0 .65rem; color: var(--pink-300); }

.header-sparkle {
    position: absolute;
    z-index: 2;
    color: var(--pink-300);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    opacity: .55;
    pointer-events: none;
    animation: headerSparkle 3.4s ease-in-out infinite alternate;
}
.header-sparkle-one { top: 12%; left: 7%; transform: rotate(-12deg); }
.header-sparkle-two { right: 21%; bottom: 18%; color: #5bbff0; transform: rotate(12deg); animation-delay: -1.7s; }

@keyframes headerSparkle {
    from { opacity: .28; filter: drop-shadow(0 0 0 transparent); }
    to { opacity: .72; filter: drop-shadow(0 0 11px rgba(255,255,255,.9)); }
}

.main-nav {
    z-index: 1050;
    overflow: visible;
    padding: .55rem 0;
    background: linear-gradient(100deg, var(--pink-900), var(--pink-600) 55%, var(--purple-600));
    box-shadow: 0 8px 25px rgba(143, 13, 86, .24);
}

.main-nav .container,
.main-nav .navbar-collapse,
.main-nav .navbar-nav,
.main-nav .nav-item.dropdown {
    overflow: visible;
}

.main-nav .dropdown-menu {
    --bs-dropdown-zindex: 1100;
    z-index: 1100;
    min-width: 230px;
    margin-top: .55rem;
    border: 1px solid rgba(230, 29, 141, .12) !important;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 45px rgba(91, 16, 61, .22) !important;
}

.main-nav .dropdown-item {
    padding: .65rem .85rem;
    color: var(--ink);
    font-weight: 600;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    color: var(--pink-900);
    background: var(--pink-50);
}

.main-nav .nav-link {
    margin: .12rem 0;
    padding: .55rem .74rem !important;
    border-radius: 999px;
    color: rgba(255,255,255,.85);
    font-size: .91rem;
    font-weight: 600;
    transition: all .2s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--pink-900);
    background: white;
    transform: translateY(-1px);
}

.main-nav .admin-link { color: #fff0a8; }
.btn-nav-register {
    padding: .55rem 1rem;
    border-radius: 999px;
    color: var(--pink-900);
    background: #fff;
    font-size: .9rem;
    font-weight: 800;
}
.btn-nav-register:hover { color: white; background: #ffbcdf; }

.user-pill { display: flex; align-items: center; gap: .42rem; }
.avatar-mini {
    display: inline-grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 2px solid rgba(255,255,255,.65);
    border-radius: 50%;
    color: var(--pink-900);
    background: #fff;
    font-weight: 800;
}

.hero-section { padding: clamp(2.2rem, 6vw, 5.5rem) 0; }
.hero-shell {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    border: 1px solid rgba(230, 29, 141, .12);
    border-radius: 36px;
    background: #fff;
    box-shadow: var(--shadow);
}
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 35%, rgba(255,255,255,.15) 65%, transparent 100%);
}
.hero-copy { position: relative; z-index: 2; max-width: 590px; padding: clamp(2rem, 5vw, 4.5rem); }
.hero-title { font-size: clamp(2.25rem, 5vw, 4.45rem); font-weight: 800; line-height: 1.06; letter-spacing: -.055em; }
.text-gradient {
    color: transparent;
    background: linear-gradient(100deg, var(--pink-700), var(--pink-500), var(--purple-600));
    -webkit-background-clip: text;
    background-clip: text;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .85rem;
    border-radius: 999px;
    color: var(--pink-900);
    background: var(--pink-100);
    font-size: .85rem;
    font-weight: 800;
}

.btn { border-radius: 999px; font-weight: 700; }
.btn-pink {
    border: 0;
    color: #fff;
    background: linear-gradient(100deg, var(--pink-700), var(--pink-500));
    box-shadow: 0 10px 22px rgba(230, 29, 141, .25);
}
.btn-pink:hover,
.btn-pink:focus { color: #fff; background: linear-gradient(100deg, var(--pink-900), var(--pink-600)); transform: translateY(-2px); }
.btn-soft-blue { color: #175d8c; border: 0; background: var(--blue-100); }
.btn-soft-blue:hover { color: #fff; background: var(--blue-600); }
.btn-outline-pink { color: var(--pink-700); border: 2px solid var(--pink-300); background: white; }
.btn-outline-pink:hover { color: white; border-color: var(--pink-600); background: var(--pink-600); }

.section-space { padding: clamp(2.8rem, 7vw, 5.5rem) 0; }
.section-heading { margin-bottom: 2rem; }
.section-title { color: var(--ink); font-size: clamp(1.75rem, 3vw, 2.65rem); font-weight: 800; letter-spacing: -.035em; }
.section-lead { max-width: 760px; color: var(--muted); }

.soft-card,
.feature-card,
.form-card,
.stat-card,
.step-card {
    border: 1px solid rgba(230, 29, 141, .1);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow);
}

.feature-card {
    height: 100%;
    padding: 1.6rem;
    transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 24px 52px rgba(164, 28, 101, .17); }
.feature-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    color: white;
    background: linear-gradient(145deg, var(--pink-500), var(--purple-600));
    box-shadow: 0 10px 20px rgba(230, 29, 141, .24);
    font-size: 1.55rem;
}

.image-card { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.form-section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.form-card { overflow: hidden; max-width: 980px; margin-inline: auto; }
.form-panel { padding: clamp(1.6rem, 4vw, 3rem); }
.form-side {
    position: relative;
    min-height: 100%;
    padding: clamp(2rem, 4vw, 3rem);
    color: white;
    background: linear-gradient(145deg, var(--pink-900), var(--pink-500) 58%, var(--purple-600));
}
.form-side::after {
    content: '♡';
    position: absolute;
    right: 1.2rem;
    bottom: -.8rem;
    color: rgba(255,255,255,.16);
    font-size: 10rem;
    line-height: 1;
}

.form-label { color: var(--ink); font-weight: 700; }
.form-control,
.form-select {
    min-height: 52px;
    border: 1.5px solid #edd7e4;
    border-radius: 15px;
    background-color: #fffbfd;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--pink-500);
    box-shadow: 0 0 0 .25rem rgba(241, 61, 157, .12);
}
.input-group .form-control { border-radius: 15px 0 0 15px; }
.input-group .btn { border-radius: 0 15px 15px 0; border-color: #edd7e4; }

.alert { border: 0; }
.alert-danger { color: #8c154d; background: #ffe6ef; }
.alert-success { color: #1c6a4a; background: #e1f8ed; }
.alert-warning { color: #77590c; background: #fff5d7; }
.alert-info { color: #155979; background: #e1f5ff; }

.content-hero { padding: 3rem 0 1.5rem; }
.content-hero-box {
    overflow: hidden;
    padding: clamp(1.8rem, 4vw, 3rem);
    border-radius: 32px;
    background: linear-gradient(130deg, var(--pink-100), #fff 50%, var(--blue-100));
    box-shadow: var(--shadow);
}

.lesson-nav { position: sticky; top: 90px; }
.lesson-nav .list-group-item { border: 0; border-radius: 12px !important; color: var(--muted); background: transparent; font-weight: 600; }
.lesson-nav .list-group-item:hover { color: var(--pink-700); background: var(--pink-50); }

.number-bubble {
    display: inline-grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    color: white;
    background: linear-gradient(145deg, var(--pink-600), var(--purple-600));
    font-weight: 800;
}

.step-card { padding: 1.15rem; cursor: pointer; transition: .2s ease; }
.step-card:hover { border-color: var(--pink-300); transform: translateY(-2px); }
.step-card.is-complete { border-color: #71d5ad; background: #f0fff8; }
.step-card .step-check { width: 22px; height: 22px; accent-color: var(--pink-600); }

.practice-timer {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    color: white;
    background: var(--ink);
    font-size: 1.1rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.progress { overflow: hidden; border-radius: 999px; background: var(--pink-100); }
.progress-bar { background: linear-gradient(90deg, var(--pink-500), var(--purple-600)); }

.quiz-option { display: block; position: relative; }
.quiz-option input { position: absolute; opacity: 0; }
.quiz-option span {
    display: block;
    padding: .85rem 1rem;
    border: 1.5px solid #eed7e5;
    border-radius: 15px;
    background: #fff;
    cursor: pointer;
    transition: .18s ease;
}
.quiz-option input:checked + span { border-color: var(--pink-600); color: var(--pink-900); background: var(--pink-50); box-shadow: 0 0 0 3px rgba(241, 61, 157, .1); }
.quiz-option span:hover { border-color: var(--pink-300); }

.stat-card { height: 100%; padding: 1.35rem; }
.stat-value { color: var(--pink-700); font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }

.table-card { overflow: hidden; border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); }
.table > :not(caption) > * > * { padding: 1rem .9rem; border-bottom-color: #f3e7ee; }
.table thead th { color: var(--pink-900); background: var(--pink-50); font-size: .86rem; }
.role-badge { display: inline-block; padding: .35rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.role-staff { color: #155979; background: var(--blue-100); }
.role-admin { color: #7b3d00; background: #fff0ca; }
.role-superadmin { color: #751449; background: var(--pink-100); }

.site-footer { position: relative; overflow: hidden; color: white; background: linear-gradient(130deg, var(--pink-900), var(--pink-600) 58%, var(--purple-600)); }
.footer-wave { height: 32px; background: #fffafd; clip-path: ellipse(56% 100% at 50% 0%); }
.footer-logo { object-fit: contain; filter: drop-shadow(0 12px 20px rgba(65,0,35,.2)); }
.footer-credit { font-weight: 800; }
.footer-note { color: rgba(255,255,255,.75); }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-sticker { position: absolute; font-size: 3.2rem; opacity: .45; }
.sticker-left { left: 7%; top: 25%; transform: rotate(-12deg); }
.sticker-right { right: 8%; top: 38%; transform: rotate(10deg); }

.install-page { min-height: 100vh; background: linear-gradient(145deg, var(--pink-50), var(--blue-100)); }
.install-card { max-width: 620px; padding: clamp(1.6rem, 5vw, 3rem); border: 1px solid rgba(230,29,141,.12); border-radius: 32px; background: white; box-shadow: var(--shadow); }

.empty-state { padding: 3rem 1.5rem; text-align: center; }
.empty-icon { font-size: 4rem; }

.simulation-step-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    overflow-x: auto;
    padding: .5rem .2rem 1rem;
    scrollbar-width: thin;
}

.simulation-step-dot {
    display: grid;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 2px solid var(--pink-300);
    border-radius: 50%;
    color: var(--pink-700);
    background: #fff;
    text-decoration: none;
    font-weight: 800;
    transition: .2s ease;
}

.simulation-step-dot:hover,
.simulation-step-dot.active {
    border-color: var(--pink-600);
    color: #fff;
    background: linear-gradient(145deg, var(--pink-600), var(--purple-600));
    box-shadow: 0 8px 18px rgba(230, 29, 141, .22);
    transform: translateY(-2px);
}

.simulation-card {
    overflow: hidden;
    border: 1px solid rgba(230, 29, 141, .16);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}

.simulation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.15rem;
    border-bottom: 1px solid #f3dce8;
    background: linear-gradient(90deg, #fff8fc, #f5fbff);
}

.simulation-live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: .5rem;
    border-radius: 50%;
    background: #35c98b;
    box-shadow: 0 0 0 5px rgba(53, 201, 139, .15);
}

.simulation-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #f7eaf1;
    user-select: none;
}

.simulation-stage > img,
.simulation-stage > canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.simulation-stage > img { object-fit: cover; pointer-events: none; }

.simulation-stage > canvas {
    z-index: 2;
    cursor: grab;
    touch-action: none;
}

.simulation-success-burst {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 120px;
    height: 120px;
    place-items: center;
    border: 7px solid rgba(255,255,255,.9);
    border-radius: 50%;
    color: #fff;
    background: #35c98b;
    box-shadow: 0 18px 45px rgba(28, 137, 94, .35);
    font-size: 4.8rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.25) rotate(-14deg);
    transition: .35s cubic-bezier(.2, .9, .3, 1.35);
}

.simulation-success-burst.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0);
}

.simulation-instruction {
    padding: 1rem 1.2rem;
    color: #155979;
    background: #eaf8ff;
    font-weight: 700;
}

.simulation-instruction.is-success { color: #176b49; background: #e8fbf1; }
.simulation-instruction.is-danger { color: #8c154d; background: #ffe6ef; }

.simulation-score-ring {
    --score: 0;
    position: relative;
    display: grid;
    width: 132px;
    height: 132px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--pink-600) calc(var(--score) * 1%), var(--pink-100) 0);
}

.simulation-score-ring::before {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: #fff;
}

.simulation-score-ring span,
.simulation-score-ring small { position: relative; z-index: 1; }
.simulation-score-ring span { margin-left: 12px; color: var(--pink-700); font-size: 2.25rem; font-weight: 800; }
.simulation-score-ring small { align-self: end; margin: 0 0 35px -32px; color: var(--muted); }

.metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .62rem 0;
    border-bottom: 1px dashed #efdbe6;
    font-size: .92rem;
}

.metric-row:last-of-type { border-bottom: 0; }
.metric-row strong { color: var(--pink-700); }

[data-result-panel] { transition: .25s ease; }
[data-result-panel].is-passed { border-color: #64d3a6; background: #f1fff8; box-shadow: 0 15px 34px rgba(35, 160, 110, .13); }

.simulation-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.simulation-launch-btn { white-space: nowrap; }

@media (max-width: 575.98px) {
    .simulation-step-nav { justify-content: flex-start; }
    .simulation-step-dot { width: 38px; height: 38px; }
    .simulation-card { border-radius: 20px; }
    .simulation-toolbar { padding: .65rem .75rem; font-size: .82rem; }
    .simulation-stage { aspect-ratio: 3 / 2; }
    .simulation-instruction { min-height: 78px; padding: .8rem; font-size: .84rem; }
    .simulation-success-burst { width: 82px; height: 82px; border-width: 5px; font-size: 3.3rem; }
    .simulation-navigation { align-items: stretch; flex-direction: column; }
    .simulation-navigation .btn { width: 100%; }
}

@media (max-width: 991.98px) {
    .header-content { padding-right: 285px; }
    .header-banner-art { background-size: auto 100%; }
    .header-sparkle-two { right: 28%; }
    .main-nav .nav-link { border-radius: 12px; }
    .main-nav .dropdown-menu {
        position: static;
        width: 100%;
        margin: .35rem 0 .65rem;
    }
    .btn-nav-register { display: inline-block; }
    .hero-shell { min-height: 650px; }
    .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 58%, rgba(255,255,255,.1) 100%); }
    .hero-copy { max-width: 100%; }
    .hero-image { object-position: 66% center; }
    .lesson-nav { position: static; }
}

@media (max-width: 767.98px) {
    .header-visual-shell,
    .header-content { min-height: 360px; }
    .header-content { padding: .85rem 1rem; }
    .header-banner-art { opacity: .24; background-position: right center; }
    .header-banner-art::after { background: rgba(255, 248, 252, .72); }
    .header-pulse-line { width: 74%; opacity: .46; }
    .header-sparkle-two { right: 5%; }
    .site-subtitle { max-width: 36rem; }
}

@media (max-width: 575.98px) {
    .top-logo { width: 112px; height: 112px; }
    .date-chip { padding: .42rem .65rem; font-size: .74rem; }
    .date-divider { margin: 0 .35rem; }
    .hero-section { padding: 1.2rem 0 2.5rem; }
    .hero-shell { min-height: 690px; border-radius: 24px; }
    .hero-copy { padding: 1.45rem; }
    .hero-title { font-size: 2.45rem; }
    .hero-image { object-position: 70% bottom; }
    .hero-overlay { background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 52%, rgba(255,255,255,.18) 80%, transparent 100%); }
    .soft-card, .feature-card, .form-card, .stat-card, .step-card { border-radius: 20px; }
    .footer-logo { width: 260px; }
    .footer-sticker { display: none; }
}

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

@media print {
    .main-nav, .site-footer, .btn, .toast-container, .lesson-nav { display: none !important; }
    body { background: white; color: black; }
    .site-header { background: white; }
    .soft-card, .feature-card, .step-card, .table-card { box-shadow: none; break-inside: avoid; }
}

/* Professional admin center, automatic remember-login and PWA surfaces */
.admin-dropdown { min-width: 280px; z-index: 3000 !important; }
.admin-dropdown .dropdown-item { padding: .7rem .85rem; font-weight: 700; color: #604565; }
.admin-dropdown .dropdown-item i { color: var(--pink-600); }
.remember-notice { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid #efbed8; border-radius: 16px; background: linear-gradient(135deg, #fff2f9, #f3efff); color: #694b70; }
.remember-notice > i { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--pink-500), #8567db); font-size: 1.15rem; }
.remember-notice span { display: flex; flex-direction: column; }
.remember-notice strong { color: var(--pink-700); }
.remember-notice small { color: var(--muted); }
.admin-metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.admin-metric { display: flex; align-items: center; gap: .9rem; min-height: 105px; padding: 1.15rem; border: 1px solid rgba(230,29,141,.14); border-radius: 22px; background: linear-gradient(145deg, #fff, #fff3f9); box-shadow: 0 13px 32px rgba(102,48,90,.09); }
.admin-metric > i { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, var(--pink-500), #8769e6); font-size: 1.25rem; }
.admin-metric div { display: flex; min-width: 0; flex-direction: column; }
.admin-metric small { color: var(--muted); font-weight: 700; }
.admin-metric strong { color: var(--pink-700); font-size: 1.75rem; line-height: 1.15; }
.admin-table-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.admin-table-grid a { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 .7rem; padding: .9rem; border: 1px solid #f0cede; border-radius: 17px; color: #59465e; background: #fff8fc; text-decoration: none; transition: .2s ease; }
.admin-table-grid a:hover { border-color: var(--pink-500); transform: translateY(-2px); box-shadow: 0 11px 24px rgba(143,13,86,.11); }
.admin-table-grid i { grid-row: 1 / 3; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; color: var(--pink-600); background: #ffe1f1; }
.admin-table-grid span { overflow: hidden; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.admin-table-grid small { color: var(--muted); }
.admin-activity > div { display: flex; gap: .8rem; padding: .72rem 0; border-bottom: 1px dashed #ead6e2; }
.admin-activity > div:last-child { border-bottom: 0; }
.admin-activity > div > i { color: var(--pink-500); }
.admin-activity p { display: flex; min-width: 0; flex-direction: column; margin: 0; }
.admin-activity p span { overflow: hidden; color: #66566a; text-overflow: ellipsis; white-space: nowrap; }
.admin-activity p small { color: var(--muted); }
.admin-data-cell { max-width: 260px; font-size: .88rem; }
.backup-card { position: relative; overflow: hidden; }
.backup-card::after { content: ''; position: absolute; right: -55px; bottom: -65px; width: 190px; height: 190px; border-radius: 50%; background: rgba(230,29,141,.07); }
.backup-card > * { position: relative; z-index: 1; }
.backup-icon { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 21px; color: #fff; background: linear-gradient(135deg, var(--pink-500), #8365dc); box-shadow: 0 13px 26px rgba(143,13,86,.18); font-size: 1.8rem; }
.backup-import .backup-icon { background: linear-gradient(135deg, #3a9fd9, #816ade); }

@media (max-width: 1199.98px) {
    .admin-metric-grid, .admin-table-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .admin-metric-grid, .admin-table-grid { grid-template-columns: 1fr; }
    .admin-metric { min-height: 92px; }
}

/* Member and student user guide */
.user-guide-hero .content-hero-box::after { content: '✦'; position: absolute; right: 4%; top: 8%; color: rgba(230,29,141,.18); font-size: 5rem; transform: rotate(12deg); }
.guide-welcome-card { position: relative; display: flex; min-height: 220px; flex-direction: column; align-items: center; justify-content: center; gap: .45rem; padding: 1.5rem; border: 1px solid rgba(230,29,141,.18); border-radius: 28px; background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(255,226,242,.9)); box-shadow: 0 18px 40px rgba(143,13,86,.14); }
.guide-welcome-icon { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg, var(--pink-500), #8267db); box-shadow: 0 12px 25px rgba(143,13,86,.22); font-size: 1.8rem; }
.guide-welcome-card small { margin-top: .35rem; color: var(--muted); }
.guide-welcome-card > strong { color: var(--pink-700); font-size: 1.15rem; }
.guide-toc .list-group-item { border: 0; border-radius: 12px !important; color: #655169; background: transparent; font-size: .9rem; font-weight: 700; }
.guide-toc .list-group-item:hover { color: var(--pink-700); background: #fff0f8; }
.guide-progress-tip { display: flex; align-items: flex-start; gap: .55rem; padding: .8rem; border-radius: 14px; color: #735067; background: linear-gradient(135deg, #fff4ca, #fff2f8); font-size: .78rem; }
.guide-progress-tip i { color: #f0a900; }
.scroll-section { scroll-margin-top: 90px; }
.guide-journey { position: relative; display: grid; gap: 1rem; }
.guide-journey::before { content: ''; position: absolute; left: 24px; top: 30px; bottom: 30px; width: 3px; border-radius: 99px; background: linear-gradient(var(--pink-500), #8267db, #3ca6d9); }
.guide-journey-item { position: relative; display: grid; grid-template-columns: 48px 54px 1fr; align-items: start; gap: .8rem; padding: 1rem; border: 1px solid #f0d6e4; border-radius: 20px; background: linear-gradient(135deg, #fff, #fff8fc); transition: .2s ease; }
.guide-journey-item:hover { border-color: #e89bc5; transform: translateX(3px); box-shadow: 0 12px 26px rgba(143,13,86,.09); }
.guide-step-number { z-index: 1; display: grid; width: 48px; height: 48px; place-items: center; border: 5px solid #fff; border-radius: 50%; color: #fff; background: var(--pink-600); box-shadow: 0 5px 13px rgba(143,13,86,.22); font-weight: 800; }
.guide-step-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: var(--pink-600); background: #ffe2f1; font-size: 1.25rem; }
.guide-step-copy a { color: var(--pink-700); font-size: .88rem; font-weight: 800; text-decoration: none; }
.guide-step-copy a:hover { text-decoration: underline; }
.guide-checklist { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.guide-checklist li { display: flex; align-items: flex-start; gap: .8rem; padding: .85rem; border-radius: 16px; background: #fff7fb; }
.guide-checklist li > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--pink-500), #8a69df); font-weight: 800; }
.guide-checklist li div { display: flex; flex-direction: column; }
.guide-checklist small { color: var(--muted); }
.guide-callout { padding: 1.35rem; border-radius: 22px; color: #4d3a55; background: linear-gradient(145deg, #effaff, #fff0f8); }
.guide-callout-icon { display: block; margin-bottom: .5rem; font-size: 2.25rem; }
.guide-callout p { padding-bottom: .65rem; border-bottom: 1px dashed rgba(143,13,86,.18); font-size: .9rem; }
.guide-rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .75rem; }
.guide-rule-grid > div { display: flex; min-height: 145px; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; border: 1px solid #eed2e1; border-radius: 19px; text-align: center; background: #fff8fc; }
.guide-rule-grid i { margin-bottom: .45rem; color: var(--pink-600); font-size: 1.65rem; }
.guide-rule-grid strong { color: #634568; }
.guide-rule-grid span { margin-top: .25rem; color: var(--muted); font-size: .78rem; }
.guide-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; }
.guide-status-grid > div { display: flex; align-items: center; gap: .75rem; padding: .85rem; border-radius: 15px; background: #faf7fa; }
.guide-status-grid p { display: flex; flex-direction: column; margin: 0; }
.guide-status-grid small { color: var(--muted); }
.guide-status-dot { width: 24px; height: 24px; flex: 0 0 24px; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px rgba(0,0,0,.08), 0 0 14px currentColor; }
.guide-status-dot.status-green { color: #24b578; background: #24b578; }
.guide-status-dot.status-yellow { color: #f2bc26; background: #f2bc26; }
.guide-status-dot.status-red { color: #ed4563; background: #ed4563; }
.guide-status-dot.status-blue { color: #3a9fde; background: #3a9fde; }
.guide-table { overflow: hidden; border: 1px solid #edd4e1; border-radius: 16px; }
.guide-table thead th { color: #fff; background: linear-gradient(90deg, var(--pink-600), #9a5fd0); border: 0; }
.guide-table tbody td { border-color: #f0dce7; }
.guide-table tbody tr:nth-child(even) td { background: #fff8fc; }
.install-guide-card { height: 100%; padding: 1.4rem; border: 1px solid #cde9d9; border-radius: 22px; background: linear-gradient(145deg, #f2fff8, #fff); }
.install-guide-card > i { display: block; margin-bottom: .6rem; color: #32a867; font-size: 2rem; }
.install-guide-card.apple { border-color: #e0d9ea; background: linear-gradient(145deg, #f7f4fc, #fff); }
.install-guide-card.apple > i { color: #5d5266; }
.install-guide-card ol { margin-bottom: 0; padding-left: 1.3rem; color: #67586c; }
.install-guide-card li { margin-bottom: .35rem; }
.guide-accordion .accordion-item { overflow: hidden; margin-bottom: .65rem; border: 1px solid #edd3e1 !important; border-radius: 16px !important; }
.guide-accordion .accordion-button { color: #654768; background: #fff8fc; font-weight: 800; box-shadow: none; }
.guide-accordion .accordion-button:not(.collapsed) { color: var(--pink-700); background: #ffe7f3; }
.guide-accordion .accordion-button:focus { border-color: var(--pink-300); box-shadow: 0 0 0 .2rem rgba(230,29,141,.12); }
.guide-safety { display: flex; align-items: flex-start; gap: 1rem; padding: 1.2rem; border: 1px solid #bfe7d3; border-radius: 19px; color: #285b45; background: #effcf5; }
.guide-safety > i { color: #279b6a; font-size: 1.7rem; }
.guide-safety p { color: #517260; font-size: .88rem; }
.circuit-preview, .circuit-image-link { display: block; padding: .8rem; border: 1px solid #edcbdc; border-radius: 20px; background: linear-gradient(145deg, #fff9fc, #f8fbff); }
.circuit-image-link { padding: 0; overflow: hidden; }
.circuit-diagram-image { display: block; width: 100%; border-radius: 15px; background: #fff7fb; transition: transform .25s ease; }
.circuit-image-link:hover .circuit-diagram-image, .circuit-preview a:hover .circuit-diagram-image { transform: scale(1.008); }
.circuit-guide-card { overflow: hidden; }

@media (max-width: 991.98px) {
    .guide-rule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 575.98px) {
    .guide-journey-item { grid-template-columns: 42px 1fr; }
    .guide-journey::before { left: 21px; }
    .guide-step-number { width: 42px; height: 42px; }
    .guide-step-icon { display: none; }
    .guide-rule-grid, .guide-status-grid { grid-template-columns: 1fr; }
    .guide-rule-grid > div { min-height: 120px; }
    .guide-welcome-card { min-height: 190px; }
}
/* ESP32 + FSR mannequin training */
.sensor-summary{width:190px;height:190px;margin:auto;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#fff,#ffe2f1);box-shadow:0 18px 45px rgba(230,29,141,.22),inset 0 0 0 9px rgba(255,255,255,.72);color:#8f0d56}.sensor-summary strong{font-size:3.8rem;line-height:1}.sensor-summary span{font-weight:800}.sensor-summary b{font-size:.78rem;color:#65516b;margin-top:.3rem}.mode-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.mode-button{display:flex;align-items:center;gap:1rem;text-align:left;padding:1rem 1.25rem;border:2px solid #f4c1dc;border-radius:22px;background:#fff;color:#5f4965;transition:.2s;box-shadow:0 9px 25px rgba(143,13,86,.08)}.mode-button>i{font-size:1.8rem;color:#e61d8d}.mode-button span{display:flex;flex-direction:column}.mode-button small{color:#806f84}.mode-button.active{border-color:#e61d8d;background:linear-gradient(135deg,#fff0f8,#f0ebff);transform:translateY(-2px);box-shadow:0 14px 30px rgba(230,29,141,.18)}.mannequin-card,.assessment-panel,.hardware-panel{background:#fff;border:1px solid rgba(230,29,141,.16);border-radius:26px;box-shadow:0 16px 45px rgba(102,48,90,.11);overflow:hidden}.mannequin-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;background:linear-gradient(90deg,#fff0f8,#f2efff)}.connection-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:.55rem;background:#43c989;box-shadow:0 0 0 6px rgba(67,201,137,.14)}.connection-dot.online{background:#3da5ff;box-shadow:0 0 0 6px rgba(61,165,255,.14)}.mannequin-board{position:relative;overflow:hidden;touch-action:none;user-select:none;background:#fff;cursor:grab}.mannequin-board.is-wiping{cursor:grabbing}.mannequin-board>img{display:block;width:100%;height:auto;pointer-events:none}.sensor-marker{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;border:3px solid rgba(255,255,255,.95);background:#50535c;color:#fff;box-shadow:0 4px 12px rgba(27,31,42,.34);z-index:3;transition:.18s;padding:0}.sensor-marker span{position:absolute;left:50%;top:calc(100% + 5px);transform:translateX(-50%);font-size:.62rem;font-weight:800;white-space:nowrap;color:#462d4d;background:rgba(255,255,255,.9);padding:1px 5px;border-radius:6px}.sensor-marker:not(.is-current):not(.is-passed){opacity:.62;transform:translate(-50%,-50%) scale(.78)}.sensor-marker.is-start{background:#2497e9;box-shadow:0 0 0 7px rgba(36,151,233,.25),0 5px 14px rgba(0,0,0,.25);animation:sensorPulse 1.5s infinite}.sensor-marker.is-end{background:#e61d8d;box-shadow:0 0 0 7px rgba(230,29,141,.23),0 5px 14px rgba(0,0,0,.25)}.sensor-marker.is-passed{background:#28a875;opacity:1}.sensor-path-layer{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:2}.sensor-path-layer line{stroke:#e61d8d;stroke-width:4;stroke-dasharray:10 8;marker-end:none;filter:drop-shadow(0 2px 3px rgba(143,13,86,.3))}.wipe-cursor{position:absolute;z-index:5;transform:translate(-50%,-50%);font-size:2.1rem;display:none;pointer-events:none;filter:drop-shadow(0 4px 5px rgba(0,0,0,.25))}.wipe-cursor.show{display:block}.mannequin-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;padding:.8rem;background:#fff8fc;font-size:.82rem;color:#65516b}.legend-dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:.3rem}.legend-dot.start{background:#2497e9}.legend-dot.end{background:#e61d8d}.legend-dot.passed{background:#28a875}.assessment-panel,.hardware-panel{padding:1.35rem}.state-pill{font-size:.78rem;font-weight:800;padding:.35rem .7rem;border-radius:999px;background:#eef3f8;color:#58626c}.state-pill.is-waiting{background:#fff1ca;color:#8f6600}.state-pill.is-passed{background:#dcf7e9;color:#15754e}.state-pill.is-wrong,.state-pill.is-timeout{background:#ffe0e5;color:#ad243b}.direction-copy{display:flex;align-items:center;justify-content:center;gap:.7rem;background:#fff2f9;border-radius:16px;padding:1rem;margin:1rem 0}.direction-copy code{font-weight:800;color:#8f0d56}.timer-track{height:9px;background:#f2e7ee;border-radius:99px;overflow:hidden}.timer-track>div{height:100%;width:100%;background:linear-gradient(90deg,#3da5ff,#e61d8d);transition:width .06s linear}.feedback-box{display:flex;align-items:flex-start;gap:.65rem;border-radius:15px;padding:.85rem;background:#f3f7fb;color:#4b5865;font-size:.9rem}.feedback-box.is-success{background:#e2f8ed;color:#166b4a}.feedback-box.is-danger{background:#ffe6eb;color:#a8253d}.feedback-box.is-warning{background:#fff5d9;color:#805f00}.score-line{display:flex;justify-content:space-between;font-size:.9rem}.assessment-panel .progress{height:10px;background:#f4e6ee}.assessment-panel .progress-bar{background:linear-gradient(90deg,#e61d8d,#8e6de8)}.criteria-card{height:100%;padding:1.4rem;border-radius:22px;background:linear-gradient(145deg,#fff0f8,#f3f0ff)}.criteria-card li{margin-bottom:.55rem}.sensor-table code{color:#8f0d56;font-weight:700}.hardware-panel code{word-break:break-word}.main-nav,.navbar,.dropdown-menu{z-index:1055}.site-header{position:relative;z-index:1040}@keyframes sensorPulse{50%{box-shadow:0 0 0 12px rgba(36,151,233,.08),0 5px 14px rgba(0,0,0,.25)}}
@media(max-width:767.98px){.mode-switcher{grid-template-columns:1fr}.mannequin-toolbar{align-items:flex-start;flex-direction:column}.sensor-marker{width:31px;height:31px;border-width:2px}.sensor-marker span{font-size:.48rem}.mannequin-legend{justify-content:flex-start;padding-left:1rem}.sensor-summary{width:150px;height:150px}.sensor-summary strong{font-size:3rem}}

.temperature-panel{padding:1.35rem;background:#fff;border:1px solid rgba(230,29,141,.16);border-radius:26px;box-shadow:0 16px 45px rgba(102,48,90,.11)}.temperature-display{min-width:112px;text-align:center;border-radius:20px;padding:.7rem .9rem;transition:.25s}.temperature-display strong{font-size:2.05rem;line-height:1;font-variant-numeric:tabular-nums}.temperature-display span{font-weight:800;margin-left:.15rem}.temperature-display.is-fever{background:#ffe2e8;color:#b62143;box-shadow:inset 0 0 0 2px rgba(218,52,85,.13)}.temperature-display.is-normal{background:#ddf8e9;color:#14754d;box-shadow:0 0 22px rgba(40,168,117,.22),inset 0 0 0 2px rgba(40,168,117,.13)}.test-clock{display:flex;align-items:center;gap:.55rem;padding:.75rem 1rem;border-radius:15px;background:#f8f2f7;color:#65516b}.test-clock i{color:#e61d8d;font-size:1.2rem}.test-clock strong{margin-left:auto;font-size:1.25rem;font-variant-numeric:tabular-nums;color:#8f0d56}.status-console{display:flex;align-items:center;gap:.8rem;padding:.85rem;border-radius:17px;background:#252331;color:#fff}.status-console>div:nth-child(2){display:flex;flex-direction:column;min-width:0}.status-console small{color:#cbc7d5}.traffic-lights{display:flex!important;flex-direction:row!important;gap:.36rem!important;background:#11101a;padding:.38rem;border-radius:999px}.status-light{width:19px;height:19px;border-radius:50%;opacity:.18;border:2px solid rgba(255,255,255,.25)}.status-light.red{background:#ff395d}.status-light.yellow{background:#ffc928}.status-light.green{background:#27d781}.status-light.active{opacity:1;box-shadow:0 0 8px currentColor,0 0 18px currentColor;animation:statusGlow 1s ease-in-out infinite alternate}.status-light.red.active{color:#ff395d}.status-light.yellow.active{color:#ffc928}.status-light.green.active{color:#27d781}.sound-toggle{margin-left:auto;border:0;border-radius:50%;width:38px;height:38px;color:#fff;background:rgba(255,255,255,.14)}.sound-toggle.muted{opacity:.5}.repetition-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.45rem}.repetition-grid button{border:1px solid #edd5e2;background:#fff7fb;border-radius:12px;padding:.4rem .2rem;color:#69536e;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.15rem}.repetition-grid button span{grid-row:1/3;display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#f7d2e6;color:#8f0d56;font-weight:800;font-size:.72rem}.repetition-grid button small,.repetition-grid button strong{font-size:.67rem;line-height:1.1}.repetition-grid button.complete{border-color:#58bd91;background:#e8f9f0;color:#176d4c}.repetition-grid button.complete span{background:#28a875;color:#fff}.connection-dot.is-idle{background:#f4bf29;box-shadow:0 0 0 6px rgba(244,191,41,.15)}@keyframes statusGlow{to{transform:scale(1.08);filter:brightness(1.2)}}
@media(max-width:575.98px){.temperature-display{min-width:96px}.temperature-display strong{font-size:1.65rem}.repetition-grid{grid-template-columns:repeat(4,1fr)}.status-console{align-items:flex-start;flex-wrap:wrap}.sound-toggle{margin-left:auto}}
