/* Natural title flow and a shared, carefully sized control system. */
#main h1[tabindex="-1"]:focus,#main h2[tabindex="-1"]:focus{outline:none}
body .hero h1{max-width:none;width:auto;margin-right:0;white-space:normal;word-break:normal;overflow-wrap:break-word;text-wrap:wrap}
body .hero .hero-object{width:80px;height:80px;top:20px;right:22px}
body .hero>.tag{max-width:calc(100% - 92px)}
body[data-surface=mini] .hero h1{max-width:none;margin-right:0}
body[data-surface=mini] .hero .hero-object{width:64px;height:64px;top:22px;right:16px;opacity:.95}
.intro-copy h2,.result-hero h2,.closure-heading h1{max-width:none;text-wrap:wrap;word-break:normal}
.refined-select{display:inline-flex;position:relative;min-width:0;max-width:100%;vertical-align:middle}
.refined-select select.refined-select-native{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;max-width:1px!important;margin:0!important;padding:0!important;border:0!important;opacity:0!important;clip-path:inset(50%)!important;overflow:hidden!important;pointer-events:none!important}
.refined-select-trigger{font:inherit;font-size:15px;line-height:1.45;font-weight:500;width:100%;min-width:0;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 15px;background:#f5f8fd;color:#243e5b;border:1px solid #d5e1ef;border-radius:13px;text-align:left;cursor:pointer;box-shadow:0 1px 2px #1c3b6210;transition:background 180ms,border-color 180ms,box-shadow 180ms}
.refined-select-trigger:hover{background:#edf3fd;border-color:#adc7ec}.refined-select-trigger[aria-expanded=true]{background:#fff;border-color:#6c9be4;box-shadow:0 0 0 3px #467ed613}
.refined-select-trigger:focus{outline:none}.refined-select-trigger:focus-visible{outline:2px solid #3f76d2;outline-offset:3px}.refined-select-trigger[aria-invalid=true]{border-color:#b6454d}
.refined-select-trigger:disabled{color:#708299;background:#f2f4f7;box-shadow:none;cursor:not-allowed;opacity:.7}
.refined-select-trigger .select-value{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.refined-select-trigger svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:#5b7494;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform 180ms}
.refined-select-trigger[aria-expanded=true] svg{transform:rotate(180deg);stroke:#285fbd}
header .selectors .refined-select{width:auto;min-width:90px;max-width:220px}header .selectors .refined-select-trigger{min-height:44px;font-size:14px;padding:10px 12px;border-color:transparent;box-shadow:none;background:#f0f5fc;gap:16px}header .selectors .refined-select-trigger[aria-expanded=true]{background:#fff;border-color:#8aafe5;box-shadow:0 0 0 3px #386dcc10}
.refined-select-menu{position:fixed;inset:auto;margin:0;padding:6px;overflow:auto;overscroll-behavior:contain;z-index:100000;background:#fff;border:1px solid #d9e4f1;border-radius:16px;box-shadow:0 14px 36px #1e416f1c,0 3px 8px #1e416f0a;color:#29425e;scrollbar-width:thin;scrollbar-color:#c9d7ea transparent;max-width:calc(100vw - 24px)}
.refined-select-menu:popover-open{display:block}.refined-select-menu::backdrop{background:transparent;pointer-events:none}
.refined-select-menu .refined-select-option{border:0;border-radius:10px;box-shadow:none;background:#fff;display:flex;align-items:center;gap:16px;justify-content:space-between;min-height:46px;width:100%;padding:12px;font:inherit;font-size:14px;font-weight:500;line-height:1.5;color:#344e6b;text-align:left;cursor:pointer;transition:background 150ms;margin:0}
.refined-select-option+.refined-select-option{margin-top:3px!important}.refined-select-option[aria-selected=true]{background:#eaf2ff;color:#235ab3}.refined-select-option.option-active{background:#f0f5fc}.refined-select-option[aria-selected=true].option-active{background:#e6efff}.refined-select-option:disabled{color:#8a9aaf;cursor:not-allowed;opacity:.65}
.select-option-copy{min-width:0;overflow-wrap:anywhere}.select-option-check{height:22px;width:22px;flex:0 0 22px;display:grid;place-items:center;font-size:13px;border-radius:50%;color:#2b69bd;background:transparent}.refined-select-option[aria-selected=true] .select-option-check{background:#d4e4ff}
.form-grid label>.refined-select,.practice-fields label>.refined-select,.profile-form label>.refined-select{width:100%}#dialog .refined-select{margin:0;min-width:0}#dialog .refined-select-trigger{border-color:#d0dff0;background:#f6f9fe}
.practice-mode-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 26px}
.practice-mode-card{display:flex;align-items:center;gap:26px;position:relative;text-align:left;border:1.5px solid transparent;border-radius:24px;padding:28px 32px;min-height:154px;width:100%;cursor:pointer;box-shadow:0 2px 4px #23426405;color:#223953;transition:transform 180ms,border-color 180ms,box-shadow 180ms}
.practice-mode-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #24436b10}.practice-mode-card:active{transform:translateY(0)}.practice-mode-card:focus-visible{outline:2px solid #376fcc;outline-offset:4px}
.practice-mode-card.practice-blue{background:#e3edff}.practice-mode-card.practice-apricot{background:#fff0d4}.practice-mode-card[aria-pressed=true]{border-color:#6d9cde;box-shadow:inset 0 0 0 3px #ffffff80,0 4px 14px #1b4c8a08}
.practice-mode-card img{width:82px;height:82px;flex:0 0 82px;object-fit:contain}.mode-card-copy{display:flex;flex-direction:column;gap:13px;min-width:0}.mode-card-copy strong{font-size:25px;line-height:1.4;font-weight:700;letter-spacing:.02em}.mode-card-copy>span{font-size:14px;line-height:1.8;color:#546c86}
.mode-choice-mark{position:absolute;right:17px;top:17px;display:grid;place-items:center;width:22px;height:22px;border:1.5px solid #a7bbd4;border-radius:50%;color:#fff;font-size:13px;background:#ffffff80}.practice-mode-card[aria-pressed=true] .mode-choice-mark{background:#356dc3;border-color:#356dc3}
.practice-builder{padding:30px 32px}.practice-builder-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.practice-builder-heading h2{font-size:23px;margin:0;line-height:1.4}.practice-count-pill{font-size:13px;color:#54708f;background:#f0f5fc;padding:7px 12px;border-radius:20px;white-space:nowrap}
.practice-specialty{display:inline-flex;gap:6px;border-radius:14px;padding:5px;background:#eff3f9;margin:0 0 26px}.practice-specialty button{min-height:44px;padding:10px 24px;background:transparent;border:1px solid transparent;border-radius:10px;color:#526a85;font-size:15px;cursor:pointer;font-weight:550;transition:background 180ms,box-shadow 180ms}.practice-specialty [aria-pressed=true]{background:#fff;border-color:#e2e9f2;box-shadow:0 2px 5px #254b7810;color:#1f5bb7}.practice-specialty button:focus-visible{outline:2px solid #376fcc;outline-offset:2px}
.published-paper-offer{display:flex;align-items:center;justify-content:space-between;gap:20px;border:0;border-top:1px solid #d8e6ef;border-radius:0;background:transparent;padding:20px 0;margin-top:20px}.published-paper-offer h3{font-size:18px;margin:7px 0}.published-paper-offer p{font-size:14px;color:#556f7c;margin:0}.published-paper-offer .btn{flex-shrink:0}
.practice-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-bottom:28px}.practice-fields label{font-size:14px;line-height:1.5;color:#536d89;display:flex;flex-direction:column;gap:11px;min-width:0}.practice-fields .practice-chapter-field{grid-column:auto}
.practice-paper-preview{display:flex;align-items:center;gap:20px;padding:24px 0 0;border:0;border-top:1px solid #e1e9f3;background:transparent;border-radius:0}.paper-preview-icon{width:64px;height:72px;flex:0 0 64px;display:grid;place-items:center;background:#e7f0ff;border-radius:16px}.paper-preview-icon img{width:52px;height:52px}.paper-preview-copy{min-width:0}.paper-preview-copy h3{font-size:20px;line-height:1.6;margin:5px 0 6px}.paper-preview-copy p{font-size:14px;color:#526c89;margin:0;line-height:1.8}.paper-preview-copy p strong{font-size:20px;color:#235baf}.preview-dot{padding:0 8px;color:#9aadc2}.paper-type-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.paper-type-tags span{background:#eaf1fa;color:#4a6584;padding:5px 10px;border-radius:7px;font-size:12px;line-height:1.5}
.practice-inventory-note{font-size:13px;line-height:1.8;color:#7d6341;background:#fff7e7;border-radius:10px;padding:12px 15px;margin:16px 0}.practice-empty{padding:22px;background:#fff7e7;color:#6c573b;border-radius:14px;margin-top:18px}.practice-empty p{font-size:14px;line-height:1.8}.practice-builder-footer{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:28px}.practice-builder-footer>.tiny{max-width:65%;line-height:1.8;margin:0}.practice-builder-footer>.btn{min-width:190px;white-space:nowrap;border-radius:13px;box-shadow:0 5px 12px #2458b517;min-height:50px;font-size:15px}.practice-builder-footer>.btn span{margin-left:16px}.practice-source-link{display:flex;justify-content:flex-end;margin:20px 0 30px}.practice-source-link .btn{background:transparent;color:#536e8e;font-size:14px;border:1px solid #ceddec;border-radius:12px}.practice-source-back{margin:0 0 18px}
@media(min-width:1001px){.hero .hero-object{top:35px;width:120px;height:120px;right:24px}}
@media(max-width:1000px){header .selectors .refined-select{width:100%;max-width:none}.practice-mode-card{gap:18px;padding:26px}.practice-mode-card img{width:65px;height:65px;flex-basis:65px}.mode-card-copy strong{font-size:23px}.practice-fields{gap:18px}.practice-builder{padding:26px}}
@media(max-width:700px){body .hero h1{margin-right:0;max-width:none}.hero .hero-object{width:62px!important;height:62px!important;top:19px!important;right:14px!important}.hero>.tag{max-width:calc(100% - 70px)}.intro-copy h2{font-size:27px}.practice-mode-cards{gap:12px;margin-bottom:20px}.practice-mode-card{flex-direction:column;align-items:flex-start;gap:14px;border-radius:20px;min-height:196px;padding:22px 18px}.practice-mode-card img{width:55px;height:55px;flex-basis:55px}.mode-card-copy{gap:9px}.mode-card-copy strong{font-size:21px}.mode-card-copy>span{font-size:12px;line-height:1.8}.mode-choice-mark{top:12px;right:12px;width:20px;height:20px}.practice-builder{padding:23px 20px}.practice-builder-heading{margin-bottom:23px;gap:10px}.practice-builder-heading h2{font-size:20px}.practice-count-pill{font-size:12px;padding:6px 10px}.practice-specialty{display:flex;width:100%;margin-bottom:24px}.practice-specialty button{flex:1;padding:10px 12px;font-size:14px}.practice-fields{grid-template-columns:1fr;gap:20px;margin-bottom:24px}.practice-fields label{font-size:14px;gap:9px}.refined-select-trigger{min-height:49px;font-size:15px;padding:12px 14px}.refined-select-menu .refined-select-option{font-size:15px;min-height:48px}.practice-paper-preview{gap:14px;padding:18px 0 0;border-radius:0;align-items:flex-start}.paper-preview-icon{width:44px;height:52px;flex-basis:44px;border-radius:12px}.paper-preview-icon img{width:40px;height:40px}.paper-preview-copy h3{font-size:18px;margin-top:3px}.paper-preview-copy .tiny{font-size:11px}.paper-type-tags{gap:6px}.paper-type-tags span{font-size:11px;padding:5px 8px}.practice-builder-footer{align-items:stretch;flex-direction:column;gap:18px;margin-top:23px}.practice-builder-footer>.tiny{max-width:none;font-size:12px}.practice-builder-footer>.btn{width:100%;min-height:50px}.practice-source-link{justify-content:center}.mini-context .selectors .refined-select{width:100%;min-width:0}.mini-context .refined-select-trigger{font-size:12px;padding:10px 7px;gap:5px;min-height:44px}.mini-context .refined-select-trigger svg{width:13px;height:13px;flex-basis:13px}.mini-context .selectors{grid-template-columns:.8fr 1.7fr 1fr}}
@media(prefers-reduced-motion:reduce){.refined-select-trigger,.refined-select-trigger svg,.refined-select-option,.practice-mode-card,.practice-specialty button{transition:none}.practice-mode-card:hover{transform:none}}

.mode-card-copy>.mode-card-description-mini{display:none}
