.neuro360-patient-app{--n360-bg:#f5f8fb;--n360-panel:#ffffff;--n360-text:#10233a;--n360-sub:#4a6178;--n360-accent:#2054a8;--n360-ok:#1f7a3d;--n360-warn:#8b5e00;--n360-alert:#9d2d2d;--n360-border:#d5dfeb;max-width:1180px;margin:0 auto;padding:24px;background:var(--n360-bg);color:var(--n360-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif}
.neuro360-screen{display:none}.neuro360-screen.is-active{display:block}
.neuro360-shell{max-width:860px;margin:0 auto}.neuro360-shell-wide{max-width:1120px}
.neuro360-header-block,.neuro360-middle-card,.neuro360-progress-card,.neuro360-result-card,.neuro360-advanced-card,.neuro360-home-card,.neuro360-module-stage{background:var(--n360-panel);border:1px solid var(--n360-border);border-radius:26px;box-shadow:0 6px 20px rgba(16,35,58,.06)}
.neuro360-header-block{padding:32px 28px;margin-bottom:20px}.neuro360-header-block h1{font-size:36px;line-height:1.15;margin:0 0 8px}.neuro360-header-block p,.neuro360-helper,.neuro360-progress-card p,.neuro360-result-sub,.neuro360-stage-message,.neuro360-home-sub,.neuro360-home-tools,.neuro360-progress-note{font-size:22px;line-height:1.5;color:var(--n360-text)}
.neuro360-card-list{display:grid;gap:18px}.neuro360-home-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:120px;padding:26px 24px;text-align:left;cursor:pointer;font:inherit;color:var(--n360-text)}
.neuro360-home-card.is-locked{opacity:.55}.neuro360-home-card:focus-visible,.neuro360-action-btn:focus-visible,.neuro360-back:focus-visible,.neuro360-link-button:focus-visible{outline:4px solid #1f6feb;outline-offset:3px}
.neuro360-home-title{font-size:30px;font-weight:700;line-height:1.2}.neuro360-home-sub{margin-top:8px}
.neuro360-home-tools{padding:16px 8px 0}
.neuro360-link-button,.neuro360-back{background:none;border:none;color:var(--n360-accent);font-size:20px;font-weight:700;cursor:pointer;padding:6px 0}
.neuro360-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.neuro360-step-label{font-size:24px;font-weight:700}
.neuro360-section-title{font-size:34px;line-height:1.2;margin:0 0 20px}
.neuro360-middle-card{padding:30px 28px;margin-bottom:18px}.neuro360-instruction{font-size:34px;line-height:1.2;font-weight:700;margin-bottom:12px}
.neuro360-button-row{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 20px}.neuro360-action-btn{min-height:64px;padding:16px 28px;border-radius:20px;border:0;background:#d9e6f7;color:var(--n360-text);font-size:24px;font-weight:700;cursor:pointer}.neuro360-action-btn.start{background:var(--n360-accent);color:#fff}.neuro360-action-btn.pause{background:#e8eef6}.neuro360-action-btn.cancel,.neuro360-action-btn.neutral{background:#eef2f6}.neuro360-action-btn.small{min-height:56px;font-size:20px}
.neuro360-module-stage{padding:20px;margin-bottom:20px}.neuro360-stage-message{margin-bottom:12px}.neuro360-stage-inner>.ns360-container .ns360-header,.neuro360-stage-inner>.ns360-container .ns360-subtitle,.neuro360-stage-inner .s360-header,.neuro360-stage-inner #nf360-advanced .nf360-hero{display:none!important}
.neuro360-stage-inner .ns360-basicbar,.neuro360-stage-inner #nf360-basic .nf360-basic-card,.neuro360-stage-inner .s360-card{border-radius:22px!important;box-shadow:none!important}
.neuro360-result-card{padding:28px}.neuro360-result-card h3{font-size:34px;line-height:1.2;margin:0 0 10px}.neuro360-result-card p{font-size:22px;margin:0 0 10px}.neuro360-result-status{font-size:30px;font-weight:800}.neuro360-result-status.is-empty,.neuro360-result-status.is-recorded{color:var(--n360-text)}.neuro360-result-status.is-improved{color:var(--n360-ok)}.neuro360-result-status.is-stable{color:var(--n360-warn)}.neuro360-result-status.is-needs-attention{color:var(--n360-alert)}
.neuro360-progress-grid,.neuro360-advanced-grid{display:grid;gap:18px}.neuro360-progress-card,.neuro360-advanced-card{padding:24px}.neuro360-progress-card h3,.neuro360-advanced-card h3{font-size:28px;line-height:1.25;margin:0 0 12px}.neuro360-progress-card p{margin:0;font-weight:700}
.neuro360-toggle-row{display:flex;flex-wrap:wrap;gap:20px;margin-bottom:18px;font-size:20px}.neuro360-inline-row{display:flex;gap:12px;flex-wrap:wrap}.neuro360-inline-row input{min-height:58px;padding:12px 16px;border-radius:16px;border:1px solid var(--n360-border);font-size:22px;min-width:260px}
.neuro360-raw-block{max-height:260px;overflow:auto;background:#0f1724;color:#f5f8fb;border-radius:18px;padding:14px}.neuro360-raw-block pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:14px;line-height:1.45}
.neuro360-advanced-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:10px}.neuro360-advanced-modules{margin-top:24px}.neuro360-advanced-modules details{background:#fff;border:1px solid var(--n360-border);border-radius:20px;padding:18px 20px;margin-bottom:16px}.neuro360-advanced-modules summary{cursor:pointer;font-size:22px;font-weight:700}
@media (min-width:900px){.neuro360-progress-grid{grid-template-columns:repeat(3,1fr)}.neuro360-advanced-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:768px){.neuro360-patient-app{padding:16px}.neuro360-header-block h1,.neuro360-instruction,.neuro360-result-card h3,.neuro360-section-title{font-size:30px}.neuro360-home-title{font-size:28px}.neuro360-header-block p,.neuro360-helper,.neuro360-progress-card p,.neuro360-result-sub,.neuro360-stage-message,.neuro360-home-sub{font-size:20px}.neuro360-action-btn{width:100%}}

/* Accessibility clarity for light controls */
.neuro360-patient-app button[style*='background:#fff'],
.neuro360-patient-app button[style*='background: #fff'],
.neuro360-patient-app input,
.neuro360-patient-app select,
.neuro360-patient-app textarea,
.neuro360-patient-app .neuro360-advanced-modules details,
.neuro360-patient-app .neuro360-inline-row input{color:#000 !important;}
.neuro360-patient-app input,
.neuro360-patient-app select,
.neuro360-patient-app textarea{background:#fff !important;border-color:var(--n360-border);}
.neuro360-patient-app input::placeholder,
.neuro360-patient-app textarea::placeholder{color:#333 !important;opacity:.8;}


/* Strong readability on all white patient hub surfaces */
.neuro360-patient-app .neuro360-header-block,
.neuro360-patient-app .neuro360-home-card,
.neuro360-patient-app .neuro360-progress-card,
.neuro360-patient-app .neuro360-result-card,
.neuro360-patient-app .neuro360-advanced-card,
.neuro360-patient-app .neuro360-middle-card,
.neuro360-patient-app .neuro360-module-stage,
.neuro360-patient-app .neuro360-advanced-modules details{color:#000 !important;}
.neuro360-patient-app .neuro360-header-block h1,
.neuro360-patient-app .neuro360-header-block p,
.neuro360-patient-app .neuro360-home-title,
.neuro360-patient-app .neuro360-home-sub,
.neuro360-patient-app .neuro360-section-title,
.neuro360-patient-app .neuro360-progress-card h3,
.neuro360-patient-app .neuro360-progress-card p,
.neuro360-patient-app .neuro360-result-card h3,
.neuro360-patient-app .neuro360-result-card p,
.neuro360-patient-app .neuro360-result-sub,
.neuro360-patient-app .neuro360-helper,
.neuro360-patient-app .neuro360-stage-message,
.neuro360-patient-app .neuro360-progress-note,
.neuro360-patient-app .neuro360-link-button,
.neuro360-patient-app .neuro360-back,
.neuro360-patient-app .neuro360-step-label,
.neuro360-patient-app .neuro360-advanced-modules summary,
.neuro360-patient-app .neuro360-advanced-modules label,
.neuro360-patient-app .neuro360-toggle-row,
.neuro360-patient-app .neuro360-toggle-row label{color:#000 !important;}


/* Explicit high-contrast interaction states for patient home hub */
.neuro360-patient-app .neuro360-home-card:hover,
.neuro360-patient-app .neuro360-home-card:focus,
.neuro360-patient-app .neuro360-home-card:focus-visible,
.neuro360-patient-app .neuro360-home-card:active{background:#10233a !important;border-color:#10233a !important;color:#ffffff !important;}
.neuro360-patient-app .neuro360-home-card:hover .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card:hover .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card:focus .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card:focus .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card:focus-visible .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card:focus-visible .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card:active .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card:active .neuro360-home-sub{color:#ffffff !important;}
.neuro360-patient-app .neuro360-home-card.is-locked:hover,
.neuro360-patient-app .neuro360-home-card.is-locked:focus,
.neuro360-patient-app .neuro360-home-card.is-locked:focus-visible,
.neuro360-patient-app .neuro360-home-card.is-locked:active{background:#6b7c93 !important;border-color:#6b7c93 !important;color:#ffffff !important;opacity:1;}
.neuro360-patient-app .neuro360-home-card.is-locked:hover .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card.is-locked:hover .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card.is-locked:focus .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card.is-locked:focus .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card.is-locked:focus-visible .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card.is-locked:focus-visible .neuro360-home-sub,
.neuro360-patient-app .neuro360-home-card.is-locked:active .neuro360-home-title,
.neuro360-patient-app .neuro360-home-card.is-locked:active .neuro360-home-sub{color:#ffffff !important;}
