/* Shared SAT page shell styles for satpractice, satword, and sattest. */
body.gre-home.exam-select-page .select-container{
    position:relative;
    z-index:1;
    box-sizing:border-box;
    width:min(1400px,calc(100vw / var(--exam-page-zoom,1)));
    max-width:none;
    margin:0 auto 72px;
    padding:0 40px;
}

body.gre-home.exam-select-page #tabPractice .qbrowser,
body.gre-home.exam-select-page .qbrowser{
    display:block;
    overflow:hidden;
    border:1px solid rgba(225,231,235,.9);
    border-radius:14px;
    background:rgba(255,255,255,.8);
    box-shadow:0 2px 12px rgba(15,23,42,.045);
    backdrop-filter:blur(6px);
}

body.gre-home.exam-select-page .hw-dash-title{
    position:relative;
    display:flex;
    align-items:center;
    gap:0;
    min-height:40px;
    margin:0 0 4px;
    padding-left:23px;
    color:#303746;
    font-size:20px;
    font-weight:600;
    line-height:1.2;
    letter-spacing:0;
}

body.gre-home.exam-select-page .hw-dash-title::before{
    content:"";
    position:absolute;
    left:-2px;
    top:18%;
    width:28px;
    height:41px;
    flex:0 0 auto;
    background:var(--active-subject-mark-image) center / contain no-repeat;
    transform:translateY(-52%);
    -webkit-mask-image:linear-gradient(135deg,#000 0%,#000 24%,rgba(0,0,0,.72) 44%,rgba(0,0,0,.24) 68%,transparent 100%);
    mask-image:linear-gradient(135deg,#000 0%,#000 24%,rgba(0,0,0,.72) 44%,rgba(0,0,0,.24) 68%,transparent 100%);
}

body.gre-home.exam-select-page #pDashboard .hw-dash-title{font-size:0}
body.gre-home.exam-select-page #pDashboard .hw-dash-title::after{content:"成长足迹";font-size:20px}

body.gre-home.exam-select-page .qbrowser > .qb-browser-title{
    position:relative;
    display:flex;
    align-items:center;
    grid-column:1 / -1;
    box-sizing:border-box;
    align-self:stretch;
    min-height:40px;
    margin:28px 27px 0;
    padding-left:23px;
    color:#303746;
    font-size:20px;
    font-weight:600;
    line-height:1.2;
    letter-spacing:0;
}

body.gre-home.exam-select-page .qbrowser > .qb-browser-title::before{
    content:"";
    position:absolute;
    left:-2px;
    top:18%;
    width:28px;
    height:41px;
    flex:0 0 auto;
    background:var(--active-subject-mark-image) center / contain no-repeat;
    transform:translateY(-52%);
    -webkit-mask-image:linear-gradient(135deg,#000 0%,#000 24%,rgba(0,0,0,.72) 44%,rgba(0,0,0,.24) 68%,transparent 100%);
    mask-image:linear-gradient(135deg,#000 0%,#000 24%,rgba(0,0,0,.72) 44%,rgba(0,0,0,.24) 68%,transparent 100%);
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar{
    display:block;
    width:100%;
    min-width:0;
    padding:12px 27px 0;
    overflow:hidden;
    border-right:0;
    border-bottom:1px solid rgba(225,231,235,.95);
    background:transparent;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary{
    display:flex;
    align-items:flex-start;
    gap:34px;
    width:100%;
    min-width:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary::-webkit-scrollbar{display:none}
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section{
    flex:0 0 auto;
    margin:0;
    font-size:14px;
    font-weight:500;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section > .qb-sidebar-heading.qb-sidebar-item{
    display:inline-flex;
    align-items:center;
    gap:7px;
    width:auto;
    padding:0 0 8px;
    border:0;
    border-bottom:3px solid transparent;
    border-radius:0;
    background:transparent;
    color:#66788b;
    font-size:14px;
    font-weight:500;
    line-height:1.2;
    white-space:nowrap;
    box-shadow:none;
    text-decoration:none;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading:hover,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone:hover,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section > .qb-sidebar-heading.qb-sidebar-item:hover{
    background:transparent;
    color:#303746;
    box-shadow:none;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading .qb-icon,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-item-standalone .qb-icon{
    width:14px;
    height:14px;
    opacity:.62;
    transform:translateY(-1px);
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading .qb-chevron{display:none}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading.is-active,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone.active,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section > .qb-sidebar-heading.qb-sidebar-item.active,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-heading{
    color:var(--gre-action);
    border-bottom-color:var(--gre-action);
    background:transparent;
    font-weight:500;
    box-shadow:none;
}

body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading.is-active .qb-icon,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone.active .qb-icon,
body.gre-home.exam-select-page .qbrowser .qb-sidebar-section:has(.qb-sidebar-item.active) .qb-sidebar-heading .qb-icon{opacity:.9}

@media (max-width:767px){
    body.gre-home.exam-select-page .select-container{
        position:static;
        box-sizing:border-box;
        width:calc(100vw / var(--exam-page-zoom,1));
        max-width:none;
        margin:0 auto 72px;
        padding:0 12px;
        overflow:hidden;
    }

    body.gre-home.exam-select-page #tabPractice .qbrowser,
    body.gre-home.exam-select-page .qbrowser{
        box-sizing:border-box;
        width:100%;
        max-width:100%;
        min-width:0;
        border-radius:14px;
        overflow:hidden;
    }

    body.gre-home.exam-select-page .hw-dashboard .hw-dash-title{
        box-sizing:border-box;
        width:100%;
        justify-content:flex-start!important;
        text-align:left!important;
        padding-left:23px;
        margin-left:0;
        margin-right:0;
    }

    body.gre-home.exam-select-page #pDashboard .hw-dash-title::after{font-size:18px}
    body.gre-home.exam-select-page .hw-dash-title::before{width:24px;height:34px;top:20%}
    body.gre-home.exam-select-page #satPracticeCommonControls .qb-sat-practice-group-title{color:#66788b;font-size:13px;font-weight:500}

    body.gre-home.exam-select-page .qbrowser > .qb-browser-title{
        min-height:34px;
        margin:18px 20px 0;
        padding-left:22px;
        font-size:18px;
        line-height:1.2;
    }

    body.gre-home.exam-select-page .qbrowser > .qb-browser-title::before{width:24px;height:34px;top:20%;transform:translateY(-52%)}

    body.gre-home.exam-select-page .qbrowser .qb-sidebar{
        display:block;
        width:100%;
        min-width:0;
        padding:6px 27px 0;
        overflow:hidden;
        border-right:0;
        border-bottom:1px solid rgba(225,231,235,.95);
        background:transparent;
    }

    body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary{
        gap:22px;
        padding-bottom:0;
        overflow-x:auto;
        overflow-y:hidden;
        -webkit-overflow-scrolling:touch;
    }

    body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading,
    body.gre-home.exam-select-page .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone,
    body.gre-home.exam-select-page .qbrowser .qb-sidebar-section > .qb-sidebar-heading.qb-sidebar-item{
        gap:5px;
        padding:0 0 7px;
        font-size:12px;
        font-weight:500;
    }

    body.gre-home.exam-select-page .qbrowser .qb-sidebar-section{
        font-size:12px;
        font-weight:500;
    }

    body.gre-home.exam-select-page .qbrowser .qb-sidebar-heading .qb-icon,
    body.gre-home.exam-select-page .qbrowser .qb-sidebar-item-standalone .qb-icon{width:12px;height:12px}

    body.gre-home.exam-select-page #tabPractice.tab-panel.active{display:block}
    body.gre-home.exam-select-page #practiceProgressRow{display:grid;gap:14px;margin:0 0 18px}

    body.gre-home.exam-select-page #tabPractice .welcome-section.exam-hero-card,
    body.gre-home.exam-select-page #practiceProgressRow .exam-hero-stats,
    body.gre-home.exam-select-page #pCalWidget,
    body.gre-home.exam-select-page #pDashboard{grid-column:auto;grid-row:auto;align-self:auto}

    body.gre-home.exam-select-page .welcome-section.exam-hero-card{
        position:relative;
        display:block;
        box-sizing:border-box;
        min-height:122px;
        margin:24px 0 12px;
        padding:28px 20px 20px;
        text-align:left;
        overflow:hidden;
    }

    body.gre-home.exam-select-page .exam-hero-copy{
        position:relative;
        left:auto;
        top:auto;
        z-index:2;
        max-width:250px;
        padding:0;
        pointer-events:none;
    }

    body.gre-home.exam-select-page .welcome-section .exam-hero-title{
        margin:0;
        color:#2d3034;
        font-size:22px;
        font-weight:500;
        line-height:1.08;
        letter-spacing:0;
    }

    body.gre-home.exam-select-page .welcome-section .exam-hero-subtitle{
        max-width:230px;
        margin:9px 0 0;
        color:#4f6f80;
        font-size:11px;
        font-weight:300;
        line-height:1.45;
        letter-spacing:.4px;
    }

    body.gre-home.exam-select-page .exam-hero-mascot{
        position:absolute;
        left:auto;
        right:-8px;
        top:8px;
        z-index:1;
        width:150px;
        height:120px;
        object-fit:contain;
        opacity:.7;
        filter:drop-shadow(0 16px 22px rgba(47, 143, 232,.12));
        pointer-events:none;
    }

    body.gre-home.exam-select-page .exam-hero-stats{
        position:relative;
        z-index:3;
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        align-items:center;
        box-sizing:border-box;
        width:100%;
        min-height:72px;
        margin:0;
        overflow:hidden;
        border:1px solid rgba(225,231,235,.9);
        border-radius:14px;
        background:rgba(255,255,255,.8);
        box-shadow:0 2px 12px rgba(15,23,42,.045);
        backdrop-filter:blur(6px);
    }

    body.gre-home.exam-select-page .exam-hero-stat{
        display:grid;
        align-content:center;
        min-width:0;
        min-height:58px;
        padding:10px;
        overflow:hidden;
        border-right:1px solid rgba(15,23,42,.08);
    }

    body.gre-home.exam-select-page .exam-hero-stat:last-child{border-right:0}
    body.gre-home.exam-select-page .exam-hero-stat-link{grid-column:1 / -1;border-top:1px solid rgba(15,23,42,.08);border-right:0}
    body.gre-home.exam-select-page .exam-hero-stat-label{font-size:12px}
    body.gre-home.exam-select-page .exam-hero-stat-value{font-size:18px}
    body.gre-home.exam-select-page .exam-hero-stat-value strong{font-size:23px}
    body.gre-home.exam-select-page .exam-hero-stat-value small{font-size:13px}
    body.gre-home.exam-select-page .exam-hero-stat-note{font-size:10px}

    body.gre-home.exam-select-page .hw-cal-widget{
        position:relative;
        right:auto;
        top:auto;
        display:grid;
        grid-template-columns:1fr;
        grid-template-rows:auto;
        box-sizing:border-box;
        width:100%;
        min-height:0;
        flex-basis:auto;
        margin:0;
        padding:20px 18px;
        border-radius:14px;
        overflow:hidden;
    }

    body.gre-home.exam-select-page .hw-cal-header,
    body.gre-home.exam-select-page .hw-cal-weekdays,
    body.gre-home.exam-select-page .hw-cal-days{grid-column:1}

    body.gre-home.exam-select-page .pcal-records{
        grid-column:1;
        grid-row:auto;
        margin-top:16px;
        padding:16px 0 0;
        border-left:0;
        border-top:1px solid #e9ecef;
    }

    body.gre-home.exam-select-page .pcal-records-list{max-height:160px}
    body.gre-home.exam-select-page #pDashboard.hw-dashboard{box-sizing:border-box;width:100%;max-width:100%;margin:0;padding:28px 17px 32px;overflow:hidden}
    body.gre-home.exam-select-page .hw-dash-header{display:block;margin-bottom:6px}
    body.gre-home.exam-select-page .hw-dash-range{display:grid;grid-template-columns:1fr;gap:10px;align-items:center;width:100%;min-width:0}

    body.gre-home.exam-select-page .hw-dash-date,
    body.gre-home.exam-select-page .hw-dash-query,
    body.gre-home.exam-select-page .hw-dash-reset{box-sizing:border-box;width:100%;min-width:0}

    body.gre-home.exam-select-page .hw-dash-sep{display:none}
}
/* Keep tablet hero content in flow before the calendar; retain the desktop at 1024px. */
@media (min-width:768px) and (max-width:1023px){
    body.gre-home.exam-select-page #tabPractice.tab-panel.active{display:block}
    body.gre-home.exam-select-page #practiceProgressRow{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0 0 18px}
    body.gre-home.exam-select-page #practiceProgressRow > *{grid-column:auto;grid-row:auto;align-self:auto;box-sizing:border-box;min-width:0;width:100%;margin:0}
    body.gre-home.exam-select-page .welcome-section.exam-hero-card{
        position:relative;
        display:grid;
        grid-template-columns:minmax(0,1fr) auto;
        align-items:center;
        gap:24px;
        min-height:180px;
        margin:24px 0 18px;
        padding:24px 28px;
        overflow:hidden;
    }
    body.gre-home.exam-select-page .exam-hero-copy{position:relative;left:auto;top:auto;min-width:0;max-width:none}
    body.gre-home.exam-select-page .exam-hero-mascot{position:static;left:auto;right:auto;top:auto;width:240px;height:180px}
    body.gre-home.exam-select-page #pCalWidget{position:relative;display:grid;grid-template-columns:260px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:24px;padding:28px 27px 32px}
    body.gre-home.exam-select-page #pCalWidget .pcal-records{grid-column:2;grid-row:1 / span 3;margin:0;padding:0 0 0 24px;border-top:0;border-left:1px solid #e9ecef}
}
/* Portable GRE controls, using the live catalog and subject palette. */
body.gre-home .qbrowser .qb-sidebar-primary .qb-sidebar-item-standalone::after{display:none}
body.gre-home .qbrowser .qb-sidebar-item-main{display:flex;align-items:center;gap:7px}
body.gre-home .gre-module-status{display:none}
body.gre-home .qbrowser .qb-main{width:100%;min-width:0;padding:0}
body.gre-home .gre-catalog{padding:14px 27px 26px}
body.gre-home .catalog-views,body.gre-home .gre-filter-strip{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:18px;padding:4px 0;margin:0;border:0;background:none}
body.gre-home .catalog-views{display:flex;flex-wrap:wrap;gap:8px 16px}
body.gre-home .catalog-views>b{flex:0 0 50px}
body.gre-home .catalog-views>b,body.gre-home .gre-filter-strip>b{font-size:14px;font-weight:500;color:#66788b}
body.gre-home .gre-filter-strip>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}
body.gre-home .catalog-views button,body.gre-home .gre-filter-strip button,body.gre-home .knowledge-tabs button{font:inherit;font-size:14px;min-height:34px;padding:6px 14px;border:1px solid transparent;border-radius:24px;line-height:1.5;background:none;color:#66788b;cursor:pointer;box-shadow:none}
body.gre-home .catalog-views button.is-active,body.gre-home .gre-filter-strip button.is-active,body.gre-home .knowledge-tabs button.is-active{color:var(--gre-action);background:var(--gre-action-soft);border-color:var(--gre-action)}
body.gre-home .catalog-hint{display:none}
body.gre-home .knowledge-tabs{border:0;padding:6px 0;margin:0 0 12px;display:flex;flex-wrap:wrap;gap:6px}
body.gre-home .knowledge-tabs small{font-size:11px;margin-left:5px}
body.gre-home .gre-catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 0 0}
body.gre-home .catalog-type-card{--card-bg:#edf4ff;--card-border:#b8cff4;--card-accent:#5076c9;--card-soft:color-mix(in srgb,var(--card-accent) 5.5%,transparent);display:grid;grid-template-rows:auto 1fr;gap:16px;min-height:156px;border:1px solid rgba(225,231,235,.95);background:linear-gradient(180deg,var(--card-soft),rgba(255,255,255,.88) 42%,rgba(255,255,255,.86));border-radius:14px;padding:18px 16px;min-width:0;box-shadow:none}
body.gre-home .catalog-type-card[data-question-type="tc-double"]{--card-bg:#eef0ff;--card-border:#c4cafa;--card-accent:#6771cb}
body.gre-home .catalog-type-card:is([data-question-type="tc-triple"],[data-question-type="multiple"]){--card-bg:#f3edff;--card-border:#d8c4f4;--card-accent:#8961bf}
body.gre-home .catalog-type-card:is([data-question-type="se"],[data-question-type="single"]){--card-bg:#f3f2ff;--card-border:#d3d0f3;--card-accent:#5f63d8}
body.gre-home .catalog-type-card:is([data-question-type="reading"],[data-question-type="comparison"]){--card-bg:#fff5e5;--card-border:#efd49e;--card-accent:#a87324}
body.gre-home .catalog-type-card[data-question-type="di"]{--card-bg:#fff0f6;--card-border:#edbdd3;--card-accent:#b05c89}
body.gre-home .catalog-type-title{padding:0 0 0 2px;border:0;background:none;text-align:left;display:grid;gap:8px;width:100%;min-height:0;align-content:start}
body.gre-home .catalog-type-title strong{display:block;font-size:17px;font-weight:700;line-height:1.18;color:#253041}
body.gre-home .catalog-type-title>span{display:block;font-size:12px;line-height:1.25;color:#66788b;margin:0}
body.gre-home .catalog-difficulties{display:flex;flex-direction:column;gap:8px;align-self:end;min-width:0}
body.gre-home .catalog-difficulty{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--card-soft);border:0;border-radius:8px;padding:12px 10px;box-shadow:none;min-width:0}
body.gre-home .catalog-difficulty:hover:not(:disabled){background:color-mix(in srgb,var(--card-accent) 14%,#fff);color:var(--card-accent)}
body.gre-home .catalog-difficulty:focus-visible{outline:2px solid var(--card-accent);outline-offset:2px}
body.gre-home .catalog-difficulty-top{display:flex;align-items:center;gap:7px}
body.gre-home .catalog-difficulty-top b{font-size:12px;font-weight:600;color:#66788b}
body.gre-home .catalog-count{font-size:11px;color:var(--card-accent);white-space:nowrap}
body.gre-home .catalog-bars{display:flex;align-items:flex-end;gap:2px;height:14px}
body.gre-home .catalog-bars i{width:3px;height:5px;background:currentColor;border-radius:1px}
body.gre-home .catalog-bars i:nth-child(2){height:9px}body.gre-home .catalog-bars i:nth-child(3){height:13px}
body.gre-home .difficulty-e .catalog-bars{color:#27ba99}body.gre-home .difficulty-m .catalog-bars{color:#d4a12a}body.gre-home .difficulty-h .catalog-bars{color:#d76b6b}
body.gre-home .difficulty-e .catalog-bars i:nth-child(n+2),body.gre-home .difficulty-m .catalog-bars i:nth-child(3){opacity:.2}
body.gre-home #panel-mock{padding:24px 27px}
body.gre-home #panel-mock h2{font-size:16px;font-weight:600;margin:0 0 18px}
body.gre-home .mock-list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.gre-home .mock-card{background:linear-gradient(180deg,var(--gre-purple-soft,#f3f1ff),#fff);border:1px solid #dfdcf2;border-radius:12px;padding:22px;min-height:210px;display:flex;flex-direction:column;box-shadow:none}
body.gre-home .mock-card h3{font-size:18px}body.gre-home .mock-card>p{font-size:12px;line-height:1.8;color:#8a96a4;margin:16px 0 12px}
body.gre-home .mock-card .mock-card-status{font-size:11px;margin-top:auto}
body.gre-home .mock-card-actions{justify-content:flex-end;gap:8px}
body.gre-home .mock-card-actions .gre-button{font-size:12px;padding:7px 12px;border-radius:7px}
body.gre-home .writing-list{padding:6px 0}
body.gre-home .writing-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}
body.gre-home .writing-toolbar h3{font-size:16px;font-weight:600}
body.gre-home .writing-toolbar h3>span{font-size:12px;color:#8493a2;font-weight:400;margin-left:10px}
body.gre-home .writing-tables{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.gre-home .writing-tables table{width:100%;border-collapse:collapse;border:1px solid #e5eaf0;table-layout:auto}
body.gre-home .writing-tables th{background:#f7f8fc;color:#7b8795;font-size:12px;font-weight:500;padding:12px 10px;border-bottom:1px solid #e5eaf0;text-align:left}
body.gre-home .writing-tables td{font-size:12px;padding:12px 10px;border-bottom:1px solid #edf0f5;white-space:normal}
body.gre-home .writing-controls,body.gre-home .writing-sources{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
body.gre-home .writing-sources button{border-radius:20px;padding:7px 13px;font-size:12px;border:1px solid transparent;background:none;color:#66788b}
body.gre-home .writing-sources button.is-active{border-color:var(--gre-action);background:var(--gre-action-soft);color:var(--gre-action)}
body.gre-home .writing-answer{font-size:11px;padding:5px 10px;border-radius:5px}
body.gre-home .writing-type{font-size:10px;padding:3px 7px;border-radius:5px}
body.gre-home .writing-tables small{font-size:9px;color:#9aa3b0;margin-top:4px}
body.gre-home .writing-pagination{margin-top:22px;font-size:12px}
body.gre-home .writing-pagination button{font-size:12px;padding:5px 10px;border-radius:6px}
body.gre-home .vocab-category{padding:18px 27px;border:0;background:none}
body.gre-home .vocab-pill{border:1px solid var(--gre-action);border-radius:24px;padding:6px 14px;background:var(--gre-action-soft);color:var(--gre-action)}
@media(max-width:1000px){body.gre-home .gre-catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.gre-home .mock-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.gre-home .gre-catalog{padding:12px 20px 20px}body.gre-home .gre-filter-strip{grid-template-columns:38px minmax(0,1fr);gap:10px}body.gre-home .gre-filter-strip>div{gap:6px}body.gre-home .gre-filter-strip button,body.gre-home .catalog-views button{font-size:12px;padding:6px 10px}body.gre-home .gre-catalog-grid{grid-template-columns:1fr;gap:12px}body.gre-home .writing-tables{grid-template-columns:1fr}body.gre-home .mock-list-grid{grid-template-columns:1fr}}
@media(max-width:420px){body.gre-home .gre-catalog-grid{grid-template-columns:1fr}}
body.gre-home .qbrowser .vocab-panel .vocab-unit-card .vu-card-body::after{content:none;display:none}
body.gre-home .qbrowser .vocab-panel .vocab-unit-card .vu-card-body{background:transparent}
body.gre-home .qbrowser .vocab-panel .vocab-unit-card:has(.vocab-unit-cb:checked),body.gre-home .qbrowser .vocab-panel .vocab-unit-card.is-checked{border:2px solid var(--gre-action);background:var(--gre-action-soft);box-shadow:none}
/* Notebook: one grouped classification column; existing multi-select filters remain live. */
body.subject-gre.gre-notebook-page .notebook-main{max-width:1400px;padding:0 40px 40px}
body.subject-gre.gre-notebook-page #panel-notebook{border-radius:14px;background:rgba(255,255,255,.8);padding:26px;box-shadow:0 2px 12px rgba(15,23,42,.045)}
body.subject-gre.gre-notebook-page .notebook-heading{background:none;border:0;padding:0 0 20px;border-bottom:1px solid #e5eaf0;border-radius:0}
body.subject-gre.gre-notebook-page .notebook-heading h2{font-size:20px}
body.subject-gre.gre-notebook-page .notebook-heading p{font-size:12px}
body.subject-gre.gre-notebook-page .notebook-eyebrow{display:none}
body.subject-gre.gre-notebook-page .gre-notebook-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;align-items:start}
body.subject-gre.gre-notebook-page .gre-notebook-sidebar{border:1px solid #e5eaf0;border-radius:12px;padding:18px;background:#fff}
body.subject-gre.gre-notebook-page .notebook-chip-panel{border:0;padding:0;margin:0}
body.subject-gre.gre-notebook-page .notebook-chip-row{display:block;padding:8px 0}
body.subject-gre.gre-notebook-page .notebook-chip-row>b{display:block;font-size:12px;font-weight:500;padding:0 0 8px;color:#66788b}
body.subject-gre.gre-notebook-page #notebook-family-chips{display:block}
body.subject-gre.gre-notebook-page .gre-notebook-family-group{margin:0 0 12px}
body.subject-gre.gre-notebook-page .gre-notebook-family-group summary{cursor:pointer;font-size:13px;color:#526980;padding:8px 0}
body.subject-gre.gre-notebook-page .gre-notebook-family-children{display:flex;flex-direction:column;gap:4px;margin-left:14px}
body.subject-gre.gre-notebook-page .notebook-filter-chip{border:1px solid transparent;border-radius:7px;background:none;padding:7px 9px;font-size:12px;font-weight:400;justify-content:space-between;text-align:left}
body.subject-gre.gre-notebook-page .notebook-filter-chip.is-active{background:var(--gre-action-soft);border-color:var(--gre-action);color:var(--gre-action)}
body.subject-gre.gre-notebook-page .notebook-filter-chip .chip-label{background:none;padding:0;color:inherit}
body.subject-gre.gre-notebook-page .notebook-filter-chip .chip-label small{display:block;font-size:9px;color:#96a1ae;margin-top:4px}
body.subject-gre.gre-notebook-page .notebook-chips{gap:4px}
body.subject-gre.gre-notebook-page .gre-notebook-results{min-width:0}
body.subject-gre.gre-notebook-page #notebook-list{grid-template-columns:repeat(3,minmax(0,1fr))}
body.subject-gre.gre-notebook-page .notebook-group-shared .notebook-group-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){body.subject-gre.gre-notebook-page #notebook-list,body.subject-gre.gre-notebook-page .notebook-group-shared .notebook-group-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){body.subject-gre.gre-notebook-page .notebook-main{padding:0 12px 30px}body.subject-gre.gre-notebook-page #panel-notebook{padding:18px 16px}body.subject-gre.gre-notebook-page .gre-notebook-layout{grid-template-columns:1fr;gap:16px}body.subject-gre.gre-notebook-page .gre-notebook-family-children{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.subject-gre.gre-notebook-page #notebook-list,body.subject-gre.gre-notebook-page .notebook-group-shared .notebook-group-cards{grid-template-columns:1fr}}
/* Separate hero and two-column notebook panels from the supplied portable shell. */
body.subject-gre.gre-notebook-page #panel-notebook{background:none;border:0;padding:0;box-shadow:none}
body.subject-gre.gre-notebook-page .notebook-home-return{position:absolute;right:40px;top:14px;z-index:2}
body.subject-gre.gre-notebook-page .notebook-main{position:relative;margin-top:0}
body.subject-gre.gre-notebook-page .notebook-heading{position:relative;min-height:218px;padding:38px 24px 46px;border:0;margin:0;box-sizing:border-box;align-items:flex-start}
body.subject-gre.gre-notebook-page .notebook-heading::after{content:'';position:absolute;right:30px;top:12px;width:280px;height:210px;background:var(--active-mascot-image) center/contain no-repeat;pointer-events:none}
body.subject-gre.gre-notebook-page .notebook-heading h2{font-size:40px;font-weight:600;color:#303746;margin:0 0 12px}
body.subject-gre.gre-notebook-page .notebook-heading p{font-size:16px;color:#4f6f80}
body.subject-gre.gre-notebook-page .notebook-heading p:last-child{font-size:12px;max-width:540px}
body.subject-gre.gre-notebook-page #notebook-export{position:relative;z-index:1;align-self:flex-end;font-size:12px}
body.subject-gre.gre-notebook-page .gre-notebook-layout{grid-template-columns:305px minmax(0,1fr);gap:28px}
body.subject-gre.gre-notebook-page .gre-notebook-sidebar{padding:0;border:0;background:none}
body.subject-gre.gre-notebook-page .notebook-prefilters,body.subject-gre.gre-notebook-page .notebook-chip-panel{display:block;padding:24px 22px;border:1px solid #e0e5ee;border-radius:14px;background:rgba(255,255,255,.85);box-shadow:0 2px 12px rgba(15,23,42,.045);margin:0 0 18px}
body.subject-gre.gre-notebook-page .gre-notebook-filter-title{position:relative;font-size:20px;font-weight:600;margin:0 0 20px;padding-left:24px;color:#303746}
body.subject-gre.gre-notebook-page .gre-notebook-filter-title::before{content:'';position:absolute;left:0;top:-5px;width:25px;height:30px;background:var(--active-subject-mark-image) center/contain no-repeat;opacity:.7}
body.subject-gre.gre-notebook-page .notebook-added-dates,body.subject-gre.gre-notebook-page .notebook-source-prefilter{display:block;margin:12px 0}
body.subject-gre.gre-notebook-page .notebook-added-dates>b,body.subject-gre.gre-notebook-page .notebook-source-prefilter>b{display:block;font-size:12px;margin-bottom:8px}
body.subject-gre.gre-notebook-page .notebook-added-dates>div{display:flex;gap:5px;align-items:center}
body.subject-gre.gre-notebook-page .notebook-added-dates input{width:calc(50% - 12px);min-width:0;font-size:12px;padding:8px 5px;box-sizing:border-box}
body.subject-gre.gre-notebook-page #notebook-reset{width:100%;margin-top:10px;color:white;background:var(--gre-action);border-color:var(--gre-action)}
body.subject-gre.gre-notebook-page .gre-notebook-results .notebook-selection{padding:12px 16px;margin:0 0 18px;min-height:62px;box-sizing:border-box;border-radius:14px;background:rgba(255,255,255,.9);box-shadow:0 2px 12px rgba(15,23,42,.045)}
body.subject-gre.gre-notebook-page .notebook-filter-tools{margin:0 0 12px}
body.subject-gre.gre-notebook-page .notebook-empty{min-height:270px;padding:70px 20px 40px;border:1px solid #e0e5ee;background:rgba(255,255,255,.85);border-radius:14px;box-sizing:border-box;box-shadow:0 2px 12px rgba(15,23,42,.045)}
body.subject-gre.gre-notebook-page .notebook-empty::before{content:'!';display:block;font-size:48px;line-height:1;color:#434959;margin-bottom:24px}
@media(max-width:1000px){body.subject-gre.gre-notebook-page .gre-notebook-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}}
@media(max-width:767px){body.subject-gre.gre-notebook-page .gre-notebook-layout{grid-template-columns:1fr;gap:16px}body.subject-gre.gre-notebook-page .notebook-heading{min-height:180px;padding:35px 12px}body.subject-gre.gre-notebook-page .notebook-heading h2{font-size:30px}body.subject-gre.gre-notebook-page .notebook-heading::after{width:140px;height:130px;right:0;opacity:.6}body.subject-gre.gre-notebook-page .notebook-heading p:last-child{max-width:65%}}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-standalone{display:inline-flex;flex-direction:row;align-items:center;min-height:0;padding:0 0 8px}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-main{display:flex;flex-direction:row;align-items:center;gap:7px}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-main>span:last-child{font-size:14px;font-weight:500;line-height:1.2;letter-spacing:0}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-icon{position:static;order:0;display:block;width:14px;height:14px;margin:0;transform:none}
body.gre-home.exam-select-gre-page .catalog-difficulty-top b{border:0;border-radius:0;min-width:0;background:none;line-height:1.4;color:#66788b}
body.gre-home.exam-select-gre-page .catalog-type-title>span{font-weight:400}
body.gre-home.exam-select-gre-page .catalog-type-card .catalog-difficulty .catalog-count{color:var(--card-accent)}
body.gre-home .gre-filter-strip [data-catalog-level]{display:inline-flex;align-items:center;gap:6px}
body.gre-home .catalog-bars{width:auto}
body.gre-home .difficulty-filter-e{color:#27ba99}body.gre-home .difficulty-filter-m{color:#d4a12a}body.gre-home .difficulty-filter-h{color:#d76b6b}
body.gre-home .difficulty-filter-e i:nth-child(n+2),body.gre-home .difficulty-filter-m i:nth-child(3){opacity:.2}
body.gre-home.exam-select-gre-page .mock-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:14px;row-gap:4px;min-height:104px;padding:22px}
body.gre-home.exam-select-gre-page .mock-card-heading{grid-column:1;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
body.gre-home.exam-select-gre-page .mock-card h3{font-size:24px;line-height:1.3;margin:0}
body.gre-home.exam-select-gre-page .mock-card>p{grid-column:1;font-size:11px;line-height:1.5;margin:0}
body.gre-home.exam-select-gre-page .mock-card .mock-card-status{grid-column:1;font-size:11px;margin:0;color:#66788b}
body.gre-home.exam-select-gre-page .mock-card-actions{grid-column:2;grid-row:1 / span 3;display:flex;flex-direction:column;align-items:flex-end;margin:0}
body.gre-home.exam-select-gre-page .mock-card-actions .gre-primary{background:var(--gre-action-soft);color:var(--gre-purple-deep);border:1px solid #dfdcf2;box-shadow:none}
body.gre-home.exam-select-gre-page .mock-mode{font-size:11px;padding:3px 8px;border-radius:6px;background:#eeecff;color:var(--gre-purple-deep)}

body.subject-gre.gre-notebook-page{background:var(--gre-page-bottom);position:relative}
body.subject-gre.gre-notebook-page::before{content:'';position:absolute;inset:60px 0 auto;height:560px;background:var(--gre-hero);pointer-events:none;z-index:0}
body.subject-gre.gre-notebook-page .notebook-main{z-index:1}
body.subject-gre.gre-notebook-page .home-wordmark-watermark{position:absolute;top:80px;left:max(40px,calc((100vw - 1320px)/2));z-index:0;color:rgba(255,255,255,.5);font-size:150px;line-height:1;pointer-events:none}
body.subject-gre.gre-notebook-page .notebook-main{margin-top:62px}
body.subject-gre.gre-notebook-page .home-wordmark-watermark{width:640px;max-width:90vw;height:180px;top:85px}
body.subject-gre.gre-notebook-page .notebook-filter-chip .chip-count{position:static;flex:0 0 auto;margin-left:auto}
body.subject-gre.gre-notebook-page .gre-notebook-family-children .notebook-filter-chip{box-shadow:none;font-weight:400;min-height:0}
@media(max-width:767px){body.subject-gre.gre-notebook-page .home-wordmark-watermark{left:12px;width:calc(100% - 24px);max-width:calc(100% - 24px);height:130px;transform:none}body.subject-gre.gre-notebook-page .notebook-heading>div{min-width:0}body.subject-gre.gre-notebook-page #notebook-export{white-space:nowrap}}
/* Match the portable home controls while retaining the live catalog DOM. */
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-standalone{width:auto!important;max-width:none;min-height:0;padding:0 0 8px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:#66788b;box-shadow:none;font-size:14px;font-weight:400;white-space:nowrap}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-standalone.active{background:transparent;color:var(--gre-action);border-bottom-color:var(--gre-action)}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-main{width:auto;justify-content:flex-start;overflow:visible}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-main>span:last-child{font-weight:400;white-space:nowrap;overflow:visible;text-overflow:clip;color:inherit}
body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-icon{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;flex:0 0 14px;color:inherit}
body.gre-home.exam-select-gre-page .gre-filter-strip[hidden],body.gre-home.exam-select-gre-page .knowledge-tabs[hidden]{display:none}
body.gre-home #gre-knowledge-filters .knowledge-tabs{margin:0;padding:0;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}
body.gre-home #gre-knowledge-filters .knowledge-tabs button{flex:0 0 auto;display:inline-flex;align-items:center;min-width:0}
body.gre-home #gre-knowledge-filters .knowledge-tabs small{display:none}
body.gre-home.exam-select-gre-page .catalog-difficulty{box-sizing:border-box;height:40px;min-height:40px;padding:8px 10px;border-radius:8px}
body.gre-home.exam-select-gre-page .catalog-type-card .catalog-difficulty .catalog-count{flex:0 0 auto;padding:5px 9px;border-radius:999px;background:var(--card-soft);font-size:12px;font-weight:700;line-height:1;color:var(--card-accent)}
body.gre-home.exam-select-gre-page :is(#knowledge-banks,#knowledge-se-banks,#knowledge-reading-banks,#knowledge-math-banks) .catalog-type-card{--card-bg:#edf4ff;--card-border:#b8cff4;--card-accent:#5076c9;background:linear-gradient(180deg,var(--card-soft),rgba(255,255,255,.88) 42%,rgba(255,255,255,.86));border-color:rgba(225,231,235,.95)}
/* Knowledge colors follow stable catalog identities, including filtered views. */
body.gre-home.exam-select-gre-page :is(#knowledge-banks,#knowledge-se-banks,#knowledge-reading-banks,#knowledge-math-banks) .catalog-type-card[data-card-tone="1"]{--card-bg:#f5edff;--card-border:#dcc1f5;--card-accent:#8961bf}
body.gre-home.exam-select-gre-page :is(#knowledge-banks,#knowledge-se-banks,#knowledge-reading-banks,#knowledge-math-banks) .catalog-type-card[data-card-tone="2"]{--card-bg:#eaf8f1;--card-border:#a8dfc8;--card-accent:#278466}
body.gre-home.exam-select-gre-page :is(#knowledge-banks,#knowledge-se-banks,#knowledge-reading-banks,#knowledge-math-banks) .catalog-type-card[data-card-tone="3"]{--card-bg:#fff5e7;--card-border:#f3d39c;--card-accent:#a87324}
body.gre-home .writing-list{border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
body.gre-home .writing-toolbar{padding:0;margin:0 0 18px}
body.gre-home .writing-sources{padding:0;border:0;background:none}
body.gre-home .writing-controls select{font-size:12px;min-width:130px;padding:7px 10px}
body.gre-home .writing-tables th{height:auto;padding:10px 7px;text-align:center;font-size:12px}
body.gre-home .writing-tables td{padding:10px 7px;text-align:center}
body.gre-home .writing-category,body.gre-home .writing-status{padding:0;border:0;border-radius:0;background:transparent;font-weight:400;color:#66788b}
body.gre-home .writing-type{color:var(--gre-purple-deep);background:#eeecff;font-weight:500}
body.gre-home .writing-answer,body.gre-home .writing-pagination button.is-active{background:var(--gre-action);border-color:var(--gre-action);color:#fff}
body.gre-home .writing-pagination{padding:18px 0;border:0}
body.gre-home #panel-mock h2{display:flex;align-items:baseline;gap:12px}
body.gre-home #mock-list-count{font-size:12px;font-weight:400;color:#8493a2}
body.gre-home.exam-select-gre-page #panel-mock .mock-card{min-height:104px;padding:18px;gap:6px 12px}
body.gre-home.exam-select-gre-page #panel-mock .mock-card h3{font-size:18px;overflow-wrap:anywhere}
body.gre-home #panel-mock .gre-mock-note{font-size:12px;color:#8493a2;margin:18px 0 0;line-height:1.7}
@media(max-width:767px){
 body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary{display:flex!important;flex-wrap:nowrap;grid-template-columns:none;gap:22px;overflow-x:auto;overflow-y:hidden;padding:0;scrollbar-width:none}
 body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary>.qb-sidebar-section{flex:0 0 auto;width:auto!important;min-width:max-content}
 body.gre-home.exam-select-gre-page .qbrowser .qb-sidebar .qb-sidebar-primary .qb-sidebar-item-standalone{font-size:14px;padding:0 0 8px}
 body.gre-home.exam-select-gre-page .writing-toolbar{display:block}
 body.gre-home.exam-select-gre-page .writing-toolbar h3{font-size:14px;margin-bottom:14px}
 body.gre-home.exam-select-gre-page .writing-controls{justify-content:space-between;gap:10px}
 body.gre-home.exam-select-gre-page .writing-tables{display:block}
 body.gre-home.exam-select-gre-page .writing-tables table{display:block;border:0}
 body.gre-home.exam-select-gre-page .writing-tables thead{display:none}
 body.gre-home.exam-select-gre-page .writing-tables tbody{display:grid;gap:10px;margin-bottom:10px}
 body.gre-home.exam-select-gre-page .writing-tables tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px 10px;align-items:center;padding:13px;border:1px solid #e5eaf0;border-radius:10px;background:#fff}
 body.gre-home.exam-select-gre-page .writing-tables td{display:block;border:0;padding:0;text-align:left}
 body.gre-home.exam-select-gre-page .writing-tables td:nth-child(1){grid-column:1;grid-row:1}
 body.gre-home.exam-select-gre-page .writing-tables td:nth-child(2){grid-column:2;grid-row:1}
 body.gre-home.exam-select-gre-page .writing-tables td:nth-child(3){grid-column:1 / span 2;grid-row:2}
 body.gre-home.exam-select-gre-page .writing-tables td:nth-child(4){grid-column:3;grid-row:2;text-align:right}
 body.gre-home.exam-select-gre-page .writing-tables td:nth-child(5){grid-column:3;grid-row:1;text-align:right}
 body.gre-home.exam-select-gre-page .writing-tables td.writing-empty{grid-column:1 / -1;height:auto}
 body.gre-home.exam-select-gre-page .writing-tables small{display:inline;margin-left:8px}
 body.gre-home.exam-select-gre-page #panel-mock{padding:20px}
}
