/* Personalized study guide: calm, dense, responsive dashboard aesthetic. */
.study-guide-page{min-height:calc(100vh - 90px);background:#f7faf9;padding:46px 20px 80px;color:#173b36}
.study-guide-wrap{max-width:1190px;margin:0 auto}
.study-guide-intro{margin:0 0 30px}
.study-guide-eyebrow{display:block;color:#0a766a;font-size:10px;font-weight:800;letter-spacing:.14em}
.study-guide-intro h1{max-width:860px;font-size:clamp(30px,4vw,49px);line-height:1.14;letter-spacing:-1.7px;margin:9px 0 13px}
.study-guide-intro p{font-size:13px;line-height:1.85;color:#67807a;max-width:740px;margin:0 0 14px}
.study-guide-back{font-size:12px;color:#08776d;text-decoration:none;font-weight:650}
.study-guide-loading,.study-guide-empty{border:1px solid #d7e5e1;border-radius:20px;padding:32px;background:#fff}
.study-guide-empty h2{font-size:25px;line-height:1.3;margin:12px 0}
.study-guide-empty p{color:#647b76;line-height:1.75;max-width:710px;font-size:13px}
.sg-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px;background:#0e756a;color:#fff!important;font-size:12px;font-weight:750;text-decoration:none;padding:13px 18px;border:0;transition:transform .2s ease,background .2s ease}
.sg-primary:hover{background:#075d54;transform:translateY(-2px)}
.sg-score-panel,.sg-priority-col,.sg-work-panel,.sg-retest,.sg-research{border:1px solid #dbe9e5;background:#fff;border-radius:19px;box-sizing:border-box}
.sg-score-panel{padding:24px 26px}
.sg-score-header,.sg-section-heading{display:flex;align-items:start;justify-content:space-between;gap:18px}
.sg-score-header h2,.sg-section-heading h2{font-size:23px;line-height:1.3;margin:7px 0 18px;letter-spacing:-.5px}
.sg-score-source{color:#7c8e89;font-size:10px;line-height:1.5;text-align:right;max-width:235px}
.sg-score-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sg-score-tile{border-radius:12px;border:1px solid #e2ebe8;background:#f9fbfa;padding:18px 17px;min-width:0}
.sg-score-tile>span,.sg-goal-tile>label{display:block;font-size:11px;font-weight:700;color:#58716a}
.sg-score-tile>strong{display:block;font-size:38px;letter-spacing:-1.5px;line-height:1.2;color:#126e63;margin:7px 0 2px}
.sg-score-tile>small{color:#82968e;font-size:10px;line-height:1.5}
.sg-goal-tile{background:#f0f8f5;border-color:#bad8d0}
.sg-goal-entry{display:flex;gap:6px;margin:8px 0}
.sg-goal-entry input{width:100%;min-width:0;border:1px solid #b8d3cb;border-radius:9px;padding:12px 9px;background:#fff;font:650 19px Poppins,sans-serif;color:#173b36}
.sg-goal-entry button{border:0;border-radius:9px;background:#0e756a;color:#fff;padding:0 14px;cursor:pointer;font:700 11px Poppins,sans-serif}
.sg-goal-message{font-size:11px;color:#637d75;margin-top:12px;line-height:1.6}
.sg-goal-message.is-error{color:#a3493f}
.sg-progress-wrap{margin:19px 0 3px}
.sg-progress-label{display:flex;justify-content:space-between;gap:15px;color:#4c7167;font-size:11px;margin-bottom:8px}
.sg-progress-label strong{color:#0e756a}
.sg-progress-track{height:10px;background:#e5efeb;border-radius:999px;overflow:hidden}
#sg-progress-fill{width:0;height:100%;border-radius:999px;background:#19a089;transition:width .5s ease}
.sg-score-caveat{margin:17px 0 0;color:#87968e;font-size:10px;line-height:1.65}
.sg-section{margin-top:29px}
.sg-section-heading{margin-bottom:16px}
.sg-section-heading h2{margin:7px 0 0}
.sg-section-heading p{max-width:440px;color:#718781;font-size:11px;line-height:1.7;margin:0}
.sg-priority-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.sg-priority-col{padding:22px}
.sg-priority-head{display:flex;align-items:center;gap:11px;margin-bottom:15px}
.sg-priority-head span{background:#e3f4ee;color:#167f72;width:27px;height:27px;display:grid;place-items:center;border-radius:8px;font-size:11px;font-weight:800}
.sg-priority-head h3{font-size:17px;margin:0}
.sg-priority-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #eaf0ed}
.sg-priority-name{display:block;font-size:12px;color:#284943;font-weight:700;line-height:1.55}
.sg-priority-meta{display:block;font-size:10px;color:#80918b;margin-top:4px}
.sg-priority-link{flex:none;border:1px solid #bad9d1;color:#10796d;padding:8px 11px;border-radius:8px;text-decoration:none;font-size:10px;font-weight:750;white-space:nowrap}
.sg-priority-link:hover{background:#e9f7f1}
.sg-priority-empty{font-size:12px;color:#71827c;line-height:1.75}
.sg-work-panel{padding:24px 26px}
.sg-reset-checks{border:1px solid #d3e1db;border-radius:8px;color:#3d6c62;background:#fff;padding:9px 12px;font:650 10px Poppins,sans-serif;cursor:pointer}
.sg-weekly-plan{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sg-check-card{display:flex;align-items:flex-start;gap:12px;padding:17px;border-radius:12px;background:#f8faf9;border:1px solid #e1ebe6}
.sg-check-card input{height:18px;width:18px;accent-color:#118476;margin-top:2px;flex:none;cursor:pointer}
.sg-check-card h3{font-size:13px;margin:0 0 6px}
.sg-check-card p{font-size:11px;line-height:1.7;color:#6e817a;margin:0}
.sg-check-card a{display:inline-block;margin-top:7px;color:#0b806f;font-size:11px;font-weight:700;text-decoration:none}
.sg-check-card.is-done{background:#eff8f3}
.sg-weekly-note{margin:15px 0 0;font-size:10px;color:#7c8e87;line-height:1.8}
.sg-retest{margin-top:17px;padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:22px}
.sg-retest h2{font-size:19px;margin:7px 0}
.sg-retest p{font-size:11px;color:#72877f;line-height:1.7;max-width:680px;margin:0}
.sg-retest .sg-primary{flex:none}
.sg-research{margin-top:26px;padding:23px 26px}
.sg-research p{font-size:11px;line-height:1.85;color:#72857f;max-width:1060px}
.sg-source-links{display:flex;flex-wrap:wrap;gap:16px;margin:11px 0}
.sg-source-links a{color:#0f756b;font-weight:700;text-decoration:none;font-size:11px}
.sg-research small{font-size:10px;color:#84968f}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .study-guide-page{background:#111d1b;color:#e2f0eb}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .study-guide-loading,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .study-guide-empty,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-score-panel,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-priority-col,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-work-panel,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-retest,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-research{background:#1a2926;border-color:#34514a}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-score-tile,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-check-card{background:#21332e;border-color:#36534b}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-goal-tile,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-check-card.is-done{background:#1a3b32}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-priority-item{border-color:#30463f}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-priority-name,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-priority-head h3,html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-check-card h3{color:#e5f0eb}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-score-tile>strong{color:#76cfb8}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-goal-entry input{background:#1a2825;color:#e6f1ec;border-color:#4a7467}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-reset-checks{background:#1f302b;color:#b7dfd2;border-color:#38584e}
@media(max-width:810px){.study-guide-page{padding:30px 14px 55px}.sg-score-grid{grid-template-columns:1fr 1fr}.sg-goal-tile{grid-column:1/-1}.sg-priority-grid,.sg-weekly-plan{grid-template-columns:1fr}.sg-retest{align-items:flex-start;flex-direction:column}.sg-retest .sg-primary{width:100%}.sg-section-heading{display:block}.sg-section-heading p{margin-top:9px}.sg-reset-checks{margin-top:12px}}
@media(max-width:490px){.sg-score-grid{grid-template-columns:1fr}.sg-goal-tile{grid-column:auto}.sg-score-header{display:block}.sg-score-source{display:block;text-align:left;margin-bottom:13px}.sg-score-panel,.sg-priority-col,.sg-work-panel,.sg-retest,.sg-research{padding:18px}.sg-score-header h2,.sg-section-heading h2{font-size:21px}.sg-priority-item{align-items:flex-start}.sg-priority-link{white-space:normal}}

/* Latest-mock domain ranking and guided practice */
.sg-priority-item{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) auto auto;
    align-items:center;
    column-gap:12px;
}
.sg-domain-check{
    width:31px;
    height:31px;
    border-radius:9px;
    display:inline-grid;
    place-items:center;
    background:#edf4f1;
    color:#397d70;
    font-size:12px;
    font-weight:800;
}
.sg-priority-item.is-complete .sg-domain-check{
    color:#fff;
    background:#147d6c;
}
.sg-domain-copy{min-width:0}
.sg-domain-status{
    color:#18806e;
    font-size:10px;
    font-weight:700;
    white-space:nowrap;
}
.sg-priority-item.is-complete .sg-priority-name{color:#366c60}
.sg-priority-link{
    background:#fff;
    font-family:Poppins,sans-serif;
    cursor:pointer;
    min-width:112px;
    text-align:center;
}
.sg-priority-link:disabled{
    opacity:.6;
    cursor:wait;
}
.sg-practice-message{
    margin:12px 2px 0;
    color:#a34d42;
    font-size:12px;
    line-height:1.6;
}
.sg-practice-message:empty{display:none}
.sg-workflow{
    margin-top:14px;
    padding:17px 22px;
    border:1px solid #dbe9e5;
    border-radius:17px;
    background:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}
.sg-workflow strong{
    font-size:14px;
    color:#24463e;
}
.sg-workflow p{
    margin:5px 0 0;
    color:#728680;
    max-width:740px;
    font-size:11px;
    line-height:1.6;
}
.sg-workflow-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:9px;
}
.sg-workflow-link{
    border:1px solid #d5e5df;
    border-radius:10px;
    color:#167668;
    text-decoration:none;
    font-size:11px;
    font-weight:700;
    padding:10px 13px;
    white-space:nowrap;
}
.sg-workflow-link:hover{background:#eaf6f1}
.sg-workflow .sg-primary{white-space:nowrap;font-size:11px}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-workflow{background:#21332e;border-color:#36534b}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-workflow strong{color:#e5f0eb}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-domain-check{background:#36534b;color:#c0e9dc}
@media(max-width:1050px){
    .sg-workflow{flex-direction:column;align-items:stretch}
    .sg-workflow-actions{justify-content:flex-start}
}
@media(max-width:590px){
    .sg-priority-item{grid-template-columns:28px minmax(0,1fr) auto;row-gap:8px}
    .sg-domain-check{width:27px;height:27px}
    .sg-domain-status{grid-column:3;text-align:right;font-size:9px}
    .sg-priority-link{grid-column:2/4;justify-self:stretch;min-height:39px}
    .sg-priority-col{padding:16px}
}

/* Study guide urgency uses the same restrained severity colors as the
   university SAT position labels. Color reflects missed share on the
   latest completed mock; ranking still also considers SAT domain weight. */
.sg-priority-item.sg-severity-unassessed{
    --sg-urgency:#82918b;
    --sg-urgency-border:#d8e1df;
    --sg-urgency-bg:#fbfcfb;
}
.sg-priority-item.sg-severity-strong{
    --sg-urgency:#326958;
    --sg-urgency-border:#cfe2db;
    --sg-urgency-bg:#f7fbf9;
}
.sg-priority-item.sg-severity-mild{
    --sg-urgency:#587368;
    --sg-urgency-border:#d7e1de;
    --sg-urgency-bg:#f7faf9;
}
.sg-priority-item.sg-severity-moderate{
    --sg-urgency:#7b7047;
    --sg-urgency-border:#e8e4d5;
    --sg-urgency-bg:#fcfbf6;
}
.sg-priority-item.sg-severity-high{
    --sg-urgency:#8a6245;
    --sg-urgency-border:#eadfd4;
    --sg-urgency-bg:#fcfaf7;
}
.sg-priority-item.sg-severity-critical{
    --sg-urgency:#8b4d4a;
    --sg-urgency-border:#ead8d6;
    --sg-urgency-bg:#fcf8f7;
}
.sg-priority-item[class*="sg-severity-"]{
    padding:12px 10px;
    margin:3px 0;
    border:1px solid var(--sg-urgency-border);
    border-left:3px solid var(--sg-urgency);
    border-radius:10px;
    background:var(--sg-urgency-bg);
}
.sg-priority-item[class*="sg-severity-"] .sg-priority-name{
    color:var(--sg-urgency);
}
.sg-priority-item[class*="sg-severity-"] .sg-domain-check{
    color:var(--sg-urgency);
    background:var(--sg-urgency-bg);
    box-shadow:inset 0 0 0 1px var(--sg-urgency-border);
}
.sg-priority-item[class*="sg-severity-"].is-complete .sg-domain-check{
    color:#fff;
    background:#326958;
    box-shadow:none;
}
.sg-priority-item[class*="sg-severity-"] .sg-priority-link{
    color:#166d61;
    border-color:#c5dbd5;
    background:#fff;
}
.sg-priority-item[class*="sg-severity-"] .sg-priority-link:hover{
    background:#edf6f3;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .sg-priority-item[class*="sg-severity-"]{
    background:#1d302b;
    border-top-color:#36514b;
    border-right-color:#36514b;
    border-bottom-color:#36514b;
}

/* Embedded study guide sits immediately beneath signed-in KPI cards. */
.home-dashboard .homepage-study-guide.study-guide-page{
    min-height:0;
    margin:0 0 16px;
    padding:4px 0 18px;
    background:transparent;
    color:#173b36;
    scroll-margin-top:110px;
}
.home-dashboard .homepage-study-guide .study-guide-wrap{
    max-width:100%;
    margin:0;
}
.home-dashboard .homepage-study-guide .study-guide-intro{
    margin:0 0 16px;
}
.home-dashboard .homepage-study-guide .study-guide-intro h2{
    margin:5px 0 6px;
    max-width:100%;
    font-size:clamp(24px,2.5vw,32px);
    line-height:1.2;
    color:#173b36;
    letter-spacing:-.7px;
}
.home-dashboard .homepage-study-guide .study-guide-intro p{
    margin:0;
    max-width:900px;
    font-size:12px;
    line-height:1.65;
}
.home-dashboard .homepage-study-guide .sg-research-compact{
    margin-top:14px;
    padding:0;
    border-radius:12px;
    background:#fff;
}
.home-dashboard .homepage-study-guide .sg-research-compact summary{
    padding:13px 17px;
    cursor:pointer;
    color:#587368;
    font-size:11px;
    font-weight:700;
}
.home-dashboard .homepage-study-guide .sg-research-compact[open]{
    padding:0 17px 17px;
}
.home-dashboard .homepage-study-guide .sg-research-compact[open] summary{
    margin:0 -17px 8px;
    padding:13px 17px;
    border-bottom:1px solid #edf3f0;
}
.home-dashboard .homepage-study-guide .sg-research-compact p{
    margin:5px 0;
    font-size:11px;
    line-height:1.6;
}
.home-dashboard .homepage-study-guide .sg-research-compact small{
    font-size:10px;
    line-height:1.6;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .home-dashboard .homepage-study-guide.study-guide-page{
    background:transparent;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .home-dashboard .homepage-study-guide .study-guide-intro h2{
    color:#daeae5;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .home-dashboard .homepage-study-guide .sg-research-compact{
    background:#1a2926;
}
@media(max-width:760px){
    .home-dashboard .homepage-study-guide.study-guide-page{
        padding:2px 0 15px;
        scroll-margin-top:90px;
    }
    .home-dashboard .homepage-study-guide .study-guide-intro{
        margin-bottom:13px;
    }
}

/* Homepage study plan: three actions upfront, full taxonomy by choice. */
.sg-example-label[hidden]{display:none!important}
.homepage-study-guide .sg-example-label{
    width:fit-content;margin:0 0 11px;
    padding:7px 10px;border:1px solid #d8e6df;background:#f3faf7;
    border-radius:9px;color:#63786e;
    font-size:10px;font-weight:750;letter-spacing:.04em;
}
.homepage-study-guide .sg-score-panel{padding:17px 19px}
.homepage-study-guide .sg-score-tile{padding:13px 14px}
.homepage-study-guide .sg-score-tile>strong{font-size:29px}
.homepage-study-guide .sg-score-header h2{font-size:19px;margin:4px 0 12px}
.homepage-study-guide .sg-section{margin-top:18px}
.homepage-study-guide .sg-section-heading{margin-bottom:10px}
.homepage-study-guide .sg-section-heading h2{font-size:19px}
.homepage-study-guide .sg-section-heading p{font-size:10px}
.homepage-study-guide .sg-top-priorities{display:grid;grid-template-columns:1fr;gap:5px}
.homepage-study-guide .sg-top-priorities .sg-priority-item{
    margin:0;min-height:65px;padding:10px 13px;
}
.homepage-study-guide .sg-top-priorities .sg-priority-name{font-size:12px}
.homepage-study-guide .sg-top-priorities .sg-priority-meta{font-size:10px}
.homepage-study-guide .sg-more-domains{
    margin:13px 0 0;
    border:1px solid #dbe9e5;background:#fff;
    border-radius:13px;overflow:hidden;
}
.homepage-study-guide .sg-more-domains>summary{
    padding:13px 16px;cursor:pointer;list-style:none;
    display:flex;justify-content:space-between;align-items:center;gap:12px;
    color:#0d7366;font-size:12px;font-weight:750;
}
.homepage-study-guide .sg-more-domains>summary::-webkit-details-marker{display:none}
.homepage-study-guide .sg-more-domains>summary::after{
    content:"⌄";font-size:18px;color:#0e7367;line-height:1;
}
.homepage-study-guide .sg-more-domains[open]>summary::after{content:"⌃"}
.homepage-study-guide .sg-more-domains>summary span{
    margin-left:auto;color:#869a92;font-size:10px;font-weight:450;
}
.homepage-study-guide .sg-more-domains[open]>summary{
    border-bottom:1px solid #e2ece8;background:#f8fbfa;
}
.homepage-study-guide .sg-more-domains .sg-priority-grid{margin:12px}
.homepage-study-guide .sg-more-domains .sg-priority-col{padding:14px}
.homepage-study-guide .sg-workflow{margin-top:12px;padding:13px 16px}
.homepage-study-guide .sg-workflow p{font-size:10px;line-height:1.55}
.homepage-study-guide .sg-research-compact{margin-top:10px}
.homepage-study-guide .sg-more-domains>summary:focus-visible{
    outline:3px solid #deac54;outline-offset:-3px;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .homepage-study-guide .sg-more-domains{
    background:#1a2926;border-color:#36534b;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .homepage-study-guide .sg-more-domains>summary span{color:#9eb5ab}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .homepage-study-guide .sg-more-domains[open]>summary{
    background:#22362f;border-color:#36534b;
}
html.lexlogica-dark-mode:not(.lexlogica-home-inverted) .homepage-study-guide .sg-example-label{
    background:#233a32;color:#bce2d3;border-color:#36554b;
}
@media(max-width:590px){
    .homepage-study-guide .sg-more-domains>summary span{display:none}
    .homepage-study-guide .sg-top-priorities .sg-priority-item{
        grid-template-columns:27px minmax(0,1fr) auto;
        gap:7px;
    }
    .homepage-study-guide .sg-top-priorities .sg-priority-link{
        grid-column:2/4;justify-self:stretch;
    }
    .homepage-study-guide .sg-score-panel{padding:14px}
}

/* Small, actionable recall assignments alongside domain question practice. */
.sg-fluency-practice{
    margin:13px 0 0;
    padding:14px 16px;
    border:1px solid #dce8e5;
    border-radius:14px;
    background:#f9fcfb;
}
.sg-fluency-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:11px}
.sg-fluency-heading strong{color:#254a41;font-size:13px;font-weight:750}
.sg-fluency-heading span{color:#81948c;font-size:10px}
.sg-fluency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sg-fluency-card{
    display:flex;align-items:center;gap:11px;
    min-width:0;padding:12px 13px;
    background:#fff;border:1px solid #dce8e5;
    border-radius:11px;
}
.sg-fluency-icon{
    height:36px;width:36px;flex:0 0 auto;
    display:grid;place-items:center;
    background:#eaf6f1;border:1px solid #cfe5db;
    border-radius:10px;color:#147666;
    font-size:14px;font-weight:750;
}
.sg-fluency-copy{min-width:0;flex:1}
.sg-fluency-copy h3{margin:0 0 3px;color:#24483f;font-size:12px}
.sg-fluency-copy p{margin:0;color:#617970;font-size:11px;line-height:1.5}
.sg-fluency-copy small{display:block;margin-top:3px;color:#879a92;font-size:9px;line-height:1.5}
.sg-fluency-card .sg-priority-link{
    display:inline-flex;align-items:center;justify-content:center;
    min-width:89px;min-height:36px;
}
@media(max-width:890px){
    .sg-fluency-grid{grid-template-columns:1fr}
}
@media(max-width:530px){
    .sg-fluency-practice{padding:12px}
    .sg-fluency-heading{display:block}
    .sg-fluency-heading span{display:block;margin-top:4px}
    .sg-fluency-card{flex-wrap:wrap}
    .sg-fluency-card .sg-priority-link{margin-left:auto}
}

/* The primary action generates a personalized ten-question domain drill. */
.homepage-study-guide .sg-priority-item .sg-priority-link{
    min-width:145px;
    padding:9px 13px;
    font-size:10px;
    line-height:1.35;
    text-align:center;
}
@media(max-width:590px){
    .homepage-study-guide .sg-priority-item .sg-priority-link{
        width:100%;
        min-width:0;
    }
}
