:root{--hub-green:#176647;--hub-dark:#103e30;--hub-pale:#edf6ef;--hub-line:#d5e6da;--hub-muted:#5a7165}body{padding-bottom:90px}.app-nav{display:flex;gap:10px;align-items:center;margin:18px 0 22px}.app-nav a{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px 20px;border:1px solid var(--hub-line);border-radius:13px;text-decoration:none;color:var(--hub-green);background:white;font-weight:650}.app-nav img{width:25px;height:25px}.app-nav a[aria-current=page]{background:var(--hub-green);color:#fff}.app-nav a[aria-current=page] img{filter:brightness(0) invert(1)}.app-nav a:hover{box-shadow:0 3px 12px #143c3010}.hub-header{padding-bottom:6px}.hub-lead{max-width:800px;font-size:19px;line-height:1.6;color:var(--hub-muted)}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.hub-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-card{padding:24px;border:1px solid var(--hub-line);border-radius:18px;background:white;min-width:0}.hub-card h2,.hub-card h3{margin-top:0}.hub-card p{color:var(--hub-muted);line-height:1.6}.hub-card .button{margin-top:10px}.hub-hero{background:linear-gradient(120deg,#e9f5ed,#f9fcf9);border:1px solid var(--hub-line);padding:30px;border-radius:22px;margin-bottom:24px}.hub-hero h2{font-size:30px;max-width:700px;margin:0 0 12px}.hub-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hub-section{margin:26px 0}.hub-section h2{margin-bottom:16px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.hub-stat{padding:20px;background:#fff;border:1px solid var(--hub-line);border-radius:15px}.hub-stat strong{display:block;font-size:32px;color:var(--hub-green)}.hub-stat span{color:var(--hub-muted);font-size:14px}.hub-tag{display:inline-block;background:var(--hub-pale);color:var(--hub-green);padding:5px 10px;border-radius:30px;font-size:12px;font-weight:700}.hub-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hub-form label{display:flex;flex-direction:column;gap:7px;font-weight:600}.hub-form input,.hub-form select,.hub-control{font:inherit;padding:12px;border:1px solid #a9c7b5;border-radius:9px;background:white;color:var(--hub-dark);min-width:0;width:100%;box-sizing:border-box}.hub-form .full{grid-column:1/-1}.day-options{display:flex;flex-wrap:wrap;gap:12px;padding:0;border:0}.day-options label{display:inline-flex;align-items:center;gap:6px}.day-options input{width:20px;height:20px;accent-color:var(--hub-green)}.phase-card{display:flex;flex-direction:column}.phase-card .hub-tag{align-self:flex-start}.phase-card a{margin-top:auto}.phase-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.phase-track button{font:inherit;text-align:left;padding:16px;border:1px solid var(--hub-line);border-radius:14px;color:var(--hub-green);background:#fff;cursor:pointer}.phase-track button[aria-pressed=true]{background:#e1f0e6;border:2px solid var(--hub-green)}.phase-track strong{display:block;margin-bottom:7px}.study-task{display:flex;gap:12px;align-items:flex-start;padding:17px;border-top:1px solid var(--hub-line)}.study-task input{width:23px;height:23px;accent-color:var(--hub-green);flex-shrink:0;margin-top:4px}.study-task label{display:block;font-weight:700}.study-task p{margin:5px 0;font-size:14px;color:var(--hub-muted)}.study-task .button{padding:7px 10px;font-size:13px}.study-task[data-done=true]{background:#f4faf6}.week-day{padding:0;overflow:hidden}.week-day h3{padding:18px;margin:0;background:#f0f7f2;font-size:17px}.hub-progress{width:100%;height:12px;border:0;border-radius:20px;overflow:hidden;accent-color:var(--hub-green)}.hub-empty{padding:28px;background:#f5faf6;border:1px dashed #adc6b5;border-radius:16px}.hub-fine{font-size:13px;color:var(--hub-muted);line-height:1.6}.hub-notice{padding:14px 18px;border-left:4px solid #7ba98a;background:#f0f7f2;border-radius:8px;margin:16px 0;color:#315c45;font-size:14px}.hub-table-wrap{overflow-x:auto}.hub-table{border-collapse:collapse;width:100%;font-size:14px}.hub-table th,.hub-table td{padding:14px 10px;text-align:left;border-bottom:1px solid var(--hub-line);vertical-align:top}.hub-table th{background:#edf6ef}.hub-line-chart{display:block;width:100%;height:auto;max-height:230px}.hub-source{display:block;margin:10px 0;color:var(--hub-green)}.danger-button{background:#fff!important;border:1px solid #b2c0b6!important;color:#526759!important}.profile-view{font-size:15px}.hub-status{min-height:1.5em;margin:8px 0;color:var(--hub-green);font-weight:600}.mode-nav .mode-unavailable{display:none}.storage-banner{max-width:1200px;margin:0 auto 18px;padding:12px 24px;color:#526d5d;background:#f0f7f2;font-size:13px}#hub-print{display:none}.hub-form input[type=checkbox]{width:22px;height:22px;accent-color:var(--hub-green)}
@media(max-width:850px){.hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.phase-track{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body{padding-bottom:90px}.app-nav{position:fixed;bottom:0;left:0;right:0;z-index:80;background:#fff;border-top:1px solid #cfdfd4;display:grid;grid-template-columns:repeat(4,1fr);gap:0;padding:7px 8px calc(7px + env(safe-area-inset-bottom));margin:0;box-shadow:0 -4px 20px #133a2910}.app-nav a{flex-direction:column;border:0;gap:4px;font-size:12px;min-height:56px;padding:6px;border-radius:12px}.app-nav img{width:24px;height:24px}.hub-grid,.hub-grid.two,.hub-form{grid-template-columns:1fr}.hub-card{padding:20px}.hub-hero{padding:24px}.hub-hero h2{font-size:25px}.hub-lead{font-size:17px}.hub-form .full{grid-column:auto}.hub-stat{padding:16px}.hub-stat strong{font-size:28px}.phase-track button{font-size:13px;padding:12px}.storage-banner{padding:12px 18px}.hub-table{font-size:12px}.hub-table th,.hub-table td{padding:10px 7px}.hub-row>.hub-control{width:100%}}
@media print{body{padding-bottom:0!important}.app-nav,.storage-banner{display:none!important}body.hub-page>:not(#hub-print){display:none!important}body.hub-page>header,body.hub-page>footer,body.hub-page>main{display:none!important}body.hub-page>#hub-print{display:block!important;padding:0}#hub-print .print-brand{display:flex;gap:12pt;align-items:center;border-bottom:1px solid #bed6c7;padding-bottom:10pt;margin-bottom:16pt}#hub-print .print-brand img{width:42pt;height:42pt}#hub-print .hub-card{padding:12pt;margin:10pt 0;break-inside:avoid}#hub-print .hub-grid{display:block}#hub-print .phase-track,#hub-print button,#hub-print input,#hub-print select,#hub-print .hub-form,#hub-print .hub-status{display:none!important}#hub-print .hub-stat{padding:10pt}#hub-print .hub-stat strong{font-size:20pt}#hub-print .hub-table{font-size:8pt}#hub-print a{color:#176647;text-decoration:none}#hub-print .hub-line-chart{height:130pt}#hub-print .study-task{padding:8pt 0}#hub-print h2{font-size:16pt}#hub-print .hub-fine{font-size:9pt}}
#hub-content>.hub-card{margin-top:22px}
@media print{#hub-print .hub-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10pt}#hub-print .hub-card{font-size:9pt;line-height:1.35;margin:4pt 0;padding:10pt}#hub-print .hub-card h3{font-size:11pt}#hub-print a.button,#hub-print #plan-settings{display:none!important}#hub-print .week-day h3{padding:8pt;margin:0}#hub-print .study-task{display:block}#hub-print .study-task::before{content:'To do';display:block;font-weight:700;margin-bottom:5pt;color:#526d5d}#hub-print .study-task[data-done=true]::before{content:'Completed';color:#176647}#hub-print .study-task p{font-size:9pt;line-height:1.4}}
@media print{#hub-print li{break-inside:avoid}#hub-print h2,#hub-print h3{break-after:avoid}#hub-print li .hub-source{display:none}}
.plan-toolbar{margin-bottom:1.25rem;position:relative}.plan-day-slot,.plan-goal-row{display:grid;grid-template-columns:minmax(130px,2fr) 1fr 1fr;align-items:center;gap:1rem;padding:.6rem 0;border-bottom:1px solid #d5e6da}.plan-day-slot label,.plan-goal-row label{min-width:0}.plan-day-slot input,.plan-goal-row input{max-width:100%;min-width:0;width:100%;box-sizing:border-box}.plan-day-slot input[type=checkbox]{width:auto;margin-right:.5rem}.hub-card summary{cursor:pointer;font-weight:700;padding:.5rem 0}.hub-table td{overflow-wrap:anywhere}#study-log-form,#extra-session-form{margin-bottom:1rem}@media(max-width:520px){.plan-day-slot,.plan-goal-row{grid-template-columns:1fr 1fr;gap:.6rem}.plan-day-slot>label:first-child,.plan-goal-row>strong{grid-column:1/-1}.plan-toolbar .button{flex:1;text-align:center}}@media print{.plan-toolbar,#report-filters,#extra-session-form,#study-log-form,details,.hub-row:has(button){display:none!important}.hub-table-wrap{overflow:visible}.hub-table{min-width:0!important;font-size:10pt}.stat-grid{break-inside:avoid}}

.tools-panel{border:1px solid #d6e2ef;border-radius:17px;padding:24px 22px;background:#fff;margin:18px 0 28px}.tools-panel h2{color:#07315a;font-size:21px;line-height:1.3;margin:0 0 14px;font-weight:750}.tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tools-link{display:flex;align-items:center;gap:14px;min-height:57px;box-sizing:border-box;padding:13px 14px;border:1px solid #d6e2ef;border-radius:13px;background:#fff;color:#07315a;font-size:18px;font-weight:700;text-decoration:none;line-height:1.35;min-width:0}.tools-link img{width:22px;height:22px;flex:0 0 22px}.tools-link span{min-width:0;overflow-wrap:anywhere}.tools-link:hover{border-color:#009c8c;background:#f5fbfa;color:#07315a}.tools-link:focus-visible{outline:3px solid #008c7e;outline-offset:3px}@media(max-width:600px){.tools-panel{padding:18px 14px}.tools-grid{grid-template-columns:1fr}.tools-link{font-size:16px;gap:12px}.tools-panel h2{font-size:20px}}@media print{.tools-link{min-height:0;padding:8pt;font-size:10pt}.tools-link img{width:16pt;height:16pt}}

.membership-intro{margin:25px 0 35px}.membership-eyebrow{color:#00836f;font-size:13px;letter-spacing:.12em;font-weight:800}.membership-intro h2{font-size:26px;color:#07315a;margin:10px 0}.membership-intro>p:last-child{color:#607c99;font-size:18px}.membership-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.membership-card{display:flex;align-items:flex-start;gap:16px;padding:18px;border:1px solid #d6e2ef;border-radius:16px;min-width:0}.membership-card img{flex:0 0 24px}.membership-card span{display:block;color:#607c99;font-size:14px;margin-bottom:6px}.membership-card strong{display:block;color:#07315a;font-size:20px;overflow-wrap:anywhere}.membership-panel .hub-row{gap:10px;margin:20px 0}.membership-action{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:10px 24px;border:1px solid #154779;border-radius:13px;text-decoration:none;font-weight:700;color:#07315a;background:white}.membership-action:focus-visible{outline:3px solid #008c7e;outline-offset:3px}@media(max-width:950px){.membership-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.membership-grid{grid-template-columns:1fr}.membership-action{width:100%;box-sizing:border-box}.membership-card strong{font-size:18px}}

@media screen{html[data-scheme=dark],html[data-scheme=dark] body{background:#102720;color:#e5f2ed;--hub-dark:#e5f2ed;--hub-muted:#b9d4c6;--muted:#b9d4c6;--hub-pale:#244338;--hub-green:#8ce0ba;--green:#8ce0ba;--border:#476357;--hub-line:#476357}html[data-scheme=dark] :is(.panel,.hub-card,.hub-hero,.tools-panel,.membership-card,.tools-link,.membership-action,.app-nav,.practice-toolbar,.timing-panel,.patient-brief,.hub-stat){background:#19392e;color:#e5f2ed;border-color:#476357}html[data-scheme=dark] :is(.tools-panel h2,.tools-link,.membership-intro h2,.membership-card strong,.membership-action){color:#e5f2ed}html[data-scheme=dark] :is(input,select,textarea,.button.outline){background:#17382c;color:#e5f2ed;border-color:#648575}html[data-scheme=dark] .tools-link:hover{background:#285342}html[data-scheme=dark] :is(.hub-table th,.hub-empty,.hub-notice,.study-task[data-done=true]){background:#214b3b;color:#e5f2ed}html[data-scheme=dark] :is(.hub-fine,.membership-card span,.membership-intro>p:last-child){color:#b9d4c6}}
/* My Study Plan follows the shared NCLEX-RN preparation layout. */
body[data-hub=plan]{background:#fff;color:#0b315b}body[data-hub=plan] .eyebrow{color:#008474;letter-spacing:.14em}body[data-hub=plan] h1{font-size:28px;display:flex;align-items:center;gap:12px}body[data-hub=plan] h1::before{content:'';width:28px;height:28px;background:url('icons/study.svg') center/contain no-repeat}body[data-hub=plan] .hub-lead{font-size:18px;color:#627f9d}body[data-hub=plan] .plan-toolbar{justify-content:flex-end}.study-plan-panel{padding:30px 34px;border:1px solid #d6e2ef;border-radius:21px;background:#fff;margin:0 0 28px;min-width:0}.study-plan-panel h2{font-size:21px;color:#0b315b;margin:6px 0 18px}.plan-description{color:#627f9d;line-height:1.7;font-size:17px;margin-bottom:28px;max-width:1000px}.target-form{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 16px}.target-form>label{color:#37566e;font-size:16px}.target-form input,.study-history-form input,.study-history-form select{border:1px solid #b8cce0;border-radius:10px;min-height:52px;color:#0b315b;background:#fff;font-weight:600}.target-form .full{grid-column:1/-1}.custom-routine{border:1px solid #dbe6f0;border-radius:12px;padding:12px 16px}.custom-routine summary{color:#0b315b;font-weight:700;cursor:pointer}.custom-routine fieldset{border:0;margin:16px 0 0;padding:0}.area-budget{border:0;padding:0;margin:14px 0}.area-budget legend{font-weight:700;font-size:17px;margin:12px 0 22px}.plan-area-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.plan-area-card,.study-area-progress{border:1px solid #dbe6f0;border-radius:12px;padding:15px;min-width:0}.plan-area-card label{font-size:16px;color:#37566e}.plan-area-card input{width:100%}.plan-area-card small{display:block;color:#627f9d;font-size:13px;margin-top:8px}#plan-balance{background:#f3f7fb;color:#37566e;border-left-color:#008c7e}.target-form>button{grid-column:1/-1;justify-self:start}.study-progress-overview{border:1px solid #dbe6f0;border-radius:14px;padding:20px;margin:10px 0 30px}.study-progress-overview h3{font-size:25px;margin:0 0 8px;color:#0b315b}.study-progress-overview p{color:#627f9d}.plan-progress-bar{display:block;width:100%;height:10px;appearance:none;border:0;border-radius:20px;overflow:hidden;margin:14px 0 10px;background:#e6eef4;color:#1594df;accent-color:#1594df}.plan-progress-bar::-webkit-progress-bar{background:#e6eef4;border-radius:20px}.plan-progress-bar::-webkit-progress-value{background:#1594df;border-radius:20px}.plan-progress-bar::-moz-progress-bar{background:#1594df;border-radius:20px}.study-area-progress>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.study-area-progress strong{font-size:16px;color:#0b315b}.study-area-progress span{color:#627f9d;font-size:14px;white-space:nowrap}.study-history-form{grid-template-columns:repeat(4,minmax(0,1fr));background:#f5f8fb;border-radius:14px;padding:18px;gap:12px}.study-history-form label{color:#37566e;font-size:16px}.study-history-form>button{justify-self:start}.study-log-list{display:grid;gap:10px}.study-log-card{border:1px solid #dbe6f0;border-radius:12px;padding:16px;display:flex;align-items:center;justify-content:space-between;gap:20px}.study-log-card>div:first-child{min-width:0;overflow-wrap:anywhere}.study-log-card p{color:#627f9d;margin:6px 0 0}.study-log-card .hub-row{flex-shrink:0}.study-plan-panel .button.outline,.plan-toolbar .button.outline{border-color:#154779;color:#0b315b;text-decoration:none;background:#fff}.plan-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.plan-resource{display:flex;align-items:center;gap:14px;padding:18px 14px;border:1px solid #dbe6f0;border-radius:13px;color:#0b315b;text-decoration:none;min-width:0}.plan-resource img{flex:0 0 28px;width:28px;height:28px;padding:3px;background:#eff7fb;border-radius:8px}.plan-resource>span:not(.resource-arrow){flex:1;min-width:0}.plan-resource strong{display:block;font-size:17px}.plan-resource small{display:block;color:#627f9d;font-size:13px;line-height:1.4;margin-top:8px}.resource-arrow{font-size:22px}.plan-resource:hover{background:#f3faf8;border-color:#009c8c}
@media(max-width:1000px){.target-form,.study-history-form{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-resources{grid-template-columns:repeat(2,minmax(0,1fr))}.study-area-progress>div{flex-direction:column;gap:4px}}@media(max-width:600px){.study-plan-panel{padding:20px 16px}.target-form,.study-history-form,.plan-area-grid,.plan-resources{grid-template-columns:1fr}.study-log-card{flex-direction:column;align-items:stretch}.study-log-card .hub-row{justify-content:flex-end}.plan-toolbar>.button{flex:auto}.study-plan-panel h2{font-size:20px}.plan-description{font-size:16px}.study-progress-overview{padding:16px}.study-progress-overview h3{font-size:23px}}
@media screen{html[data-scheme=dark] body[data-hub=plan]{background:#102720;color:#e5f2ed}html[data-scheme=dark] :is(.study-plan-panel,.plan-area-card,.study-area-progress,.study-progress-overview,.study-log-card,.plan-resource){background:#19392e;color:#e5f2ed;border-color:#476357}html[data-scheme=dark] :is(.study-plan-panel h2,.study-progress-overview h3,.study-area-progress strong,.plan-resource,.target-form>label,.plan-area-card label){color:#e5f2ed}html[data-scheme=dark] :is(.plan-description,.study-log-card p,.study-progress-overview p,.study-area-progress span,.plan-resource small,.plan-area-card small){color:#b9d4c6}html[data-scheme=dark] .study-history-form{background:#214b3b}html[data-scheme=dark] :is(.target-form input,.study-history-form input,.study-history-form select){background:#17382c;color:#e5f2ed;border-color:#648575}}
@media print{#hub-print .study-plan-panel{padding:10pt;margin-bottom:12pt;border:1px solid #d6e2ef;break-inside:auto}#hub-print .plan-area-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8pt}#hub-print .study-area-progress,#hub-print .study-log-card{break-inside:avoid}#hub-print .plan-progress-bar{height:8pt}#hub-print .plan-resources{display:none}#hub-print .study-area-progress>div{display:block}#hub-print .study-log-card .hub-row{display:none}#hub-print .study-log-card{display:block}}

body[data-hub=plan] h1::before{background-image:url('icons/plan-calendar.svg')}.area-budget-heading{display:flex;width:100%;justify-content:space-between;gap:20px;align-items:baseline}.area-budget-heading span{font-weight:400;color:#335e85;white-space:nowrap}@media(max-width:600px){.area-budget-heading{flex-direction:column;gap:8px}}
