/* Answering-page presentation; source questions and scoring remain unchanged. */
.tp-exam-reader-page.is-ground-empty .tp-oral-tools-toggle{display:none}
.tp-top-shell .tp-exam-reader-page.is-ground-empty .tp-site-bank-empty{padding:28px 0;min-height:96px;text-align:left;font-size:14px}
.tp-top-shell .tp-d-page.tp-practice-header-pilot-page { --tp-reading-stem-size:18px; width:min(calc(100% - 40px),1040px); padding:0 0 48px; }
.tp-top-shell .tp-practice-header-pilot-page>.tp-direct-question-list { width:100%; max-width:760px; margin:0 auto; height:auto; max-height:none; overflow:visible; }
.tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-paper-source { flex:0 1 auto; min-width:0; }
.tp-practice-header-pilot-page .tp-oral-paper-art>img { object-fit:contain; padding:6px; box-sizing:border-box; }
.tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-paper-source { flex-wrap:nowrap; }
.tp-practice-header-pilot-page .tp-oral-paper-source>div { flex:1; min-width:0; }
.tp-practice-header-pilot-page .tp-oral-paper-source strong { display:block; }
.tp-practice-header-pilot-page .tp-oral-toolbar-area { flex:0 1 200px; width:200px; min-width:0; }
.tp-choice-loading-header>.tp-choice-cover { display:block; flex:none; width:96px; height:64px; padding:6px; border:1px solid var(--top-border); border-radius:12px; box-sizing:border-box; }
.tp-choice-loading-header img { display:block; width:100%; height:100%; object-fit:contain; }
.tp-choice-bottom-pagination { display:flex; justify-content:space-between; margin-top:16px; gap:20px; }
.tp-choice-bottom-pagination>button:last-child { margin-left:auto; }
.tp-choice-practice-panel .tp-choice-number-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(40px,1fr)); gap:8px; max-height:232px; overflow:auto; overscroll-behavior:contain; padding:2px; }
.tp-choice-number-grid>button { min-width:0; height:40px; border:0; border-radius:7px; color:var(--top-secondary); background:transparent; font:inherit; font-size:13px; font-variant-numeric:tabular-nums; cursor:pointer; }
.tp-choice-number-grid>.is-current { outline:1px solid #a696bd; outline-offset:-1px; color:var(--top-ink); background:#a696bd12; }
.tp-choice-number-grid>.is-correct { color:var(--color-green); }
.tp-choice-number-grid>.is-wrong { color:var(--color-rose); }
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-practice-panel.is-settings { display:block; max-height:260px!important; overflow:auto; }
.tp-choice-setting-row { display:flex; align-items:center; justify-content:space-between; min-height:44px; gap:12px; font-size:13px; color:var(--top-ink); }
.tp-choice-setting-row .tp-practice-switch { padding:0; flex:none; }
.tp-choice-speed input { max-width:140px; min-width:80px; accent-color:#a696bd; }
.tp-choice-setting-row small { color:var(--top-secondary); font-size:12px; }
.tp-choice-keyboard { margin-top:8px; font-size:12px; color:var(--top-secondary); }
.tp-choice-keyboard summary { cursor:pointer; padding:4px 0; }
.tp-choice-keyboard .tp-practice-keyboard-hint { display:block; line-height:1.7; margin-top:6px; }
.tp-top-shell .tp-practice-header-pilot-page .tp-practice-cols { display:block; margin-top:24px; }
.tp-top-shell .tp-practice-header-pilot-page .tp-question-heading { grid-template-columns:minmax(0,1fr); gap:0; }
.tp-top-shell .tp-practice-header-pilot-page .tp-question-stem { max-width:none; font-weight:500; line-height:1.85; letter-spacing:0; }
.tp-top-shell .tp-practice-header-pilot-page .tp-practice-inline-explain { margin:24px 0 0; padding:0; border:0; }
.tp-choice-explanation { margin-top:24px; }
.tp-choice-explanation .tp-explain { border:0; background:transparent; padding:0; }
.tp-choice-explanation .tp-explain-head { font-size:14px; line-height:1.5; margin-bottom:12px; }
.tp-top-shell .tp-choice-explanation .tp-explain p { font-size:calc(16px * var(--tp-reading-scale))!important; line-height:1.8; font-weight:400; }
.tp-choice-explanation .tp-practice-inline-explain .tp-citation-summary { display:none; }
.tp-choice-loading-header { display:flex; gap:14px; align-items:center; padding:16px 0; }
.tp-choice-loading-header strong { font-size:20px; font-weight:600; }
.tp-choice-loading-status { display:flex; gap:8px; align-items:center; margin-top:24px; font-size:13px; color:var(--top-secondary); }
.tp-choice-loading-status>i { width:12px; height:12px; border:1.5px solid var(--top-border); border-top-color:#a696bd; border-radius:50%; animation:tp-choice-spin .8s linear infinite; }
.tp-choice-load-actions { display:flex; gap:20px; margin-top:16px; }
@keyframes tp-choice-spin { to { transform:rotate(360deg); } }

@media(max-width:760px) {
 .tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-header-row { gap:8px; }
 .tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-paper-source { flex:1 1 auto; }
 .tp-practice-header-pilot-page .tp-oral-tools-toggle { min-width:32px; width:32px; padding:0; justify-content:center; }
 .tp-practice-header-pilot-page .tp-oral-tools-toggle>span,.tp-choice-desktop-caption { display:none; }
 .tp-practice-header-pilot-page .tp-oral-toolbar-area { flex:1 0 100%; width:100%; }
 .tp-choice-practice-panel .tp-choice-number-grid { grid-template-columns:repeat(auto-fill,minmax(44px,1fr)); max-height:224px; }
 .tp-choice-number-grid>button { height:44px; }
 .tp-choice-keyboard { display:none; }
 .tp-top-shell .tp-practice-header-pilot-page .tp-question-stem { line-height:1.7; }
 .tp-top-shell .tp-practice-header-pilot-page .tp-opt { min-height:64px; padding:14px 2px; }
 .tp-top-shell .tp-choice-explanation .tp-explain p { font-size:calc(15.5px * var(--tp-reading-scale))!important; }
}
/* Desktop uses full text at the center. Phones keep paging below the options. */
.tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-header-row { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; }
.tp-practice-header-pilot-page .tp-oral-paper-source { grid-column:1; grid-row:1; }
.tp-practice-header-pilot-page .tp-oral-toolbar-area { grid-column:3; grid-row:1; justify-self:end; }
.tp-choice-top-pagination { grid-column:2; grid-row:1; display:flex; align-items:center; justify-content:center; gap:14px; }
.tp-choice-top-pagination>button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:40px; padding:8px 7px; border:0; background:transparent; color:var(--top-secondary); font:inherit; font-size:13px; white-space:nowrap; cursor:pointer; }
.tp-choice-top-pagination>button:disabled { opacity:.3; cursor:default; }
.tp-choice-top-pagination>button>svg { width:16px; height:16px; }
.tp-choice-bottom-pagination { display:none; }
.tp-choice-bottom-pagination.has-submit { display:flex; justify-content:flex-end; }
.tp-choice-bottom-pagination .tp-choice-bottom-page { display:none; }
.tp-choice-reader-meta { display:flex; align-items:center; flex-wrap:wrap; gap:0 10px; }
.tp-choice-clock { font-variant-numeric:tabular-nums; color:#8875b4; white-space:nowrap; }
.tp-choice-clock.is-urgent { color:var(--color-rose); }
.tp-practice-header-pilot-page .tp-oral-paper-source strong.tp-choice-long-title { font-size:18px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; white-space:normal; }
.tp-choice-panel-caption { display:flex!important; align-items:center; gap:8px; padding:0 0 10px; font-size:13px; color:var(--top-ink); }
.tp-choice-panel-caption>span { color:var(--top-secondary); font-size:12px; }
.tp-choice-panel-caption>button { margin-left:auto; border:0; background:transparent; color:var(--top-secondary); min-width:32px; height:28px; font-size:21px; cursor:pointer; }
.tp-choice-practice-panel .tp-choice-number-grid { margin-top:0; }
.tp-choice-preferences { padding:0 1px; }
.tp-choice-setting-row { min-height:44px; font-size:13px; font-weight:500; }
.tp-choice-preferences .tp-practice-setting-segmented { display:flex; border:1px solid var(--top-border); padding:2px; border-radius:8px; gap:2px; }
.tp-choice-preferences .tp-practice-setting-segmented>button { min-height:28px; padding:3px 8px; border-radius:5px; }
.tp-choice-preferences .tp-practice-setting-segmented>button.is-active { color:var(--top-ink); background:#a696bd18; }
.tp-choice-setting-row+.tp-choice-keyboard { border-top:1px solid var(--top-border); margin-top:6px; padding-top:6px; }
@media(max-width:760px) {
 .tp-top-shell .tp-practice-header-pilot-page .tp-oral-reader-header .tp-oral-header-row { grid-template-columns:minmax(0,1fr) auto; }
 .tp-practice-header-pilot-page .tp-oral-tools-toggle { grid-column:2; grid-row:1; }
 .tp-practice-header-pilot-page .tp-oral-toolbar-area { grid-column:1/-1; grid-row:2; justify-self:stretch; }
 .tp-choice-top-pagination { display:none; }
 .tp-choice-bottom-pagination,.tp-choice-bottom-pagination.has-submit { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 18px; margin-top:12px; }
 .tp-choice-bottom-pagination .tp-choice-bottom-page { display:inline-flex; min-height:44px; font-size:14px; }
 .tp-choice-bottom-pagination .tp-choice-bottom-page:nth-child(2) { justify-self:end; }
 .tp-choice-bottom-pagination>.tp-test-submit { grid-column:1/-1; min-height:44px; margin-top:4px; }
 .tp-practice-header-pilot-page .tp-oral-paper-source strong.tp-choice-long-title { font-size:16px; }
 .tp-choice-clock { font-size:11px; }
}
/* Keep font scale, numbering and answer spacing consistent across all question lengths. */
.tp-top-shell .tp-d-page.tp-practice.tp-practice-header-pilot-page,.tp-top-shell .tp-d-page.tp-practice.tp-practice-header-pilot-page.has-long-stem{--tp-reading-stem-size:18px;--tp-reading-option-size:16px}
.tp-top-shell .tp-practice-header-pilot-page .tp-question-stem{line-height:1.8;font-weight:500}
.tp-choice-enum{display:inline-flex;align-items:center;justify-content:center;vertical-align:.04em;box-sizing:border-box;width:1.22em;height:1.22em;border:1px solid currentColor;border-radius:50%;margin:0 .08em;font-size:.8em;line-height:1;text-indent:0;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}
.tp-choice-condition-list{display:block;margin-top:8px;font-weight:400}
.tp-choice-condition-list>span{display:block;padding-left:1.4em;text-indent:-1.4em;margin-top:5px}
.tp-top-shell .tp-practice.tp-practice-header-pilot-page .tp-choice-bottom-pagination{display:none!important}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-explanation{margin:24px 0 0}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-answer-content{padding:0}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-answer-content>section+section{margin-top:24px}
.tp-choice-current-basis{margin-top:18px}
.tp-top-shell .tp-practice-header-pilot-page .tp-oral-paper-source strong.tp-choice-long-title{font-size:calc(20px - 5px * var(--oral-collapse));display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;mask-image:linear-gradient(to right,#000 92%,transparent)}
.tp-choice-preferences{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;padding:0}
.tp-choice-preferences section{min-width:0}
.tp-choice-preferences h3{font-size:13px;font-weight:550;line-height:1.5;margin:0 0 8px;color:var(--top-secondary)}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-practice-panel.is-settings{max-height:360px!important;padding-bottom:4px}
.tp-choice-preferences .tp-choice-keyboard{display:block;border:0;margin:0;padding:0}
.tp-choice-keybinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
.tp-choice-keybinds>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;font-size:12px}
.tp-choice-keybinds button{min-width:40px;min-height:28px;border:1px solid var(--top-border);border-radius:6px;background:transparent;color:var(--top-ink);font:inherit;cursor:pointer;padding:2px 8px;font-variant-numeric:tabular-nums}
.tp-choice-keybinds button.is-capturing{border-color:#a696bd;color:#8875b4}
.tp-choice-font-options{min-width:162px;height:34px!important;font-size:12px}
.tp-choice-font-options label{cursor:pointer}
.tp-choice-font-options label>span{padding:6px 10px!important}
.tp-choice-font-options .tp-bank-segmented-thumb{border-radius:6px;background:var(--top-surface,#fff);box-shadow:0 1px 4px #00000012}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-submit-action{font-size:13px;font-weight:550;min-width:64px;padding:6px 14px;color:var(--top-ink);background:transparent}
@media(max-width:760px){
 .tp-top-shell .tp-d-page.tp-practice.tp-practice-header-pilot-page,.tp-top-shell .tp-d-page.tp-practice.tp-practice-header-pilot-page.has-long-stem{--tp-reading-stem-size:17px;--tp-reading-option-size:16px}
 .tp-top-shell .tp-practice.tp-practice-header-pilot-page .tp-choice-bottom-pagination{display:grid!important;grid-template-columns:1fr 1fr;margin-top:8px;min-height:44px}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-explanation{margin-top:18px}
 .tp-choice-preferences{display:block}.tp-choice-preferences .tp-choice-keyboard{display:none}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-practice-panel.is-settings{max-height:300px!important}
 .tp-top-shell .tp-practice-header-pilot-page .tp-oral-paper-source strong.tp-choice-long-title{font-size:calc(17px - 3px * var(--oral-collapse))}
}

/* The answer explains; the basis shows the cited law. Full-document links end the reading. */
.tp-choice-cited-law+ .tp-choice-cited-law{margin-top:20px}
.tp-choice-cited-body{overflow:visible}
.tp-choice-cited-body>section+section{margin-top:16px}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-body p:last-child{margin-bottom:0}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-status,.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-locator{font-size:12px;color:var(--top-secondary);margin:0}
.tp-choice-cited-status button{border:0;background:none;color:var(--top-ink);font:inherit;text-decoration:underline;cursor:pointer}
/* Correct option is a compact result; explanatory prose owns the main section. */
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-answer-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;font-size:13px;line-height:1.5;color:var(--top-secondary)}
.tp-choice-answer-summary strong{font-size:14px;font-weight:550;color:var(--top-ink);margin-left:3px}
.tp-choice-answer-summary>small{font-size:12px;font-weight:400;color:var(--top-secondary)}
.tp-choice-answer-summary>small.is-correct{color:var(--color-green)}
.tp-choice-cited-law+ .tp-choice-cited-law{margin-top:18px}
/* Body copy inherits the oral reader. References have one plain location line. */
.tp-choice-stem-lead{display:block;text-indent:0}
.tp-choice-stem-lead.is-prose{text-indent:2em}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-location{margin:0 0 8px}
.tp-choice-cited-location>strong{font-weight:550}
.tp-choice-cited-location>small{font-size:11px;font-weight:400;color:var(--top-secondary);margin-left:8px;white-space:nowrap}
.tp-choice-practice-panel.is-settings .tp-choice-panel-caption{height:24px;padding:0;justify-content:flex-end}
.tp-choice-font-setting{border-top:1px solid var(--top-border);margin-top:6px;padding-top:8px}
@media(min-width:761px){
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-preferences{column-gap:64px;position:relative}
 .tp-choice-preferences:after{content:'';position:absolute;top:0;bottom:0;left:50%;border-left:1px solid var(--top-border);pointer-events:none}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-preferences>section{padding:0;border:0}
 .tp-choice-setting-row{justify-content:space-between;gap:16px;min-height:48px}
 .tp-choice-keybinds>div{justify-content:space-between;gap:12px;min-height:38px}
}

/* One familiar teaching point anchors long stems; prose keeps source punctuation. */
.tp-choice-stem-lead.is-prose{text-indent:0}
.tp-top-shell .tp-practice-header-pilot-page .tp-question-stem{position:relative;padding-left:16px}
.tp-top-shell .tp-practice-header-pilot-page .tp-question-stem:before{content:'';position:absolute;left:0;top:.76em;width:6px;height:6px;border-radius:50%;background:#c88d2e}
.tp-choice-prose-paragraph{display:block}
.tp-choice-prose-paragraph+.tp-choice-prose-paragraph{margin-top:6px}
.tp-choice-law-link{font-weight:600;color:var(--top-ink);text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 25%,transparent);text-underline-offset:4px;overflow-wrap:anywhere}
.tp-choice-law-link strong{font-weight:600}
.tp-choice-law-link>svg{display:inline-block;vertical-align:baseline;margin-left:5px;opacity:.55;flex:none}
.tp-choice-law-link:hover{text-decoration-color:#c88d2e}
.tp-choice-law-link:focus-visible{outline:1px solid var(--top-border);outline-offset:4px;border-radius:2px}
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-location .tp-choice-law-link,
.tp-top-shell .tp-practice-header-pilot-page .tp-choice-cited-location .tp-choice-law-link strong{font-weight:600;color:var(--top-ink)}
/* Match the existing settings slider, with a violet progress and neutral remainder. */
.tp-choice-speed input{appearance:none;-webkit-appearance:none;width:132px;height:24px;margin:0;background:transparent;cursor:ew-resize}
.tp-choice-speed input::-webkit-slider-runnable-track{height:4px;border-radius:999px;background:linear-gradient(90deg,#a696bd 0 var(--range-progress),#e5e5ea var(--range-progress) 100%)}
.tp-choice-speed input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:16px;height:16px;margin-top:-6px;border:0;border-radius:50%;background:#a696bd}
.tp-choice-speed input::-moz-range-track{height:4px;border-radius:999px;background:#e5e5ea}
.tp-choice-speed input::-moz-range-progress{height:4px;border-radius:999px;background:#a696bd}
.tp-choice-speed input::-moz-range-thumb{width:16px;height:16px;border:0;border-radius:50%;background:#a696bd}
.tp-choice-speed input:focus-visible{outline:1px solid #a696bd;outline-offset:3px;border-radius:8px}
.tp-choice-keybinds>.is-optA{grid-area:1/1}.tp-choice-keybinds>.is-optB{grid-area:2/1}.tp-choice-keybinds>.is-optC{grid-area:3/1}
.tp-choice-keybinds>.is-prev{grid-area:1/2}.tp-choice-keybinds>.is-next{grid-area:2/2}.tp-choice-keybinds>.is-submit{grid-area:3/2}
.tp-choice-top-pagination>.tp-choice-submit-action{display:inline-flex;gap:6px;width:auto;min-height:36px;height:36px;padding:6px 14px;border:1px solid var(--top-border);border-radius:999px;background:var(--top-bg,#fff);color:var(--top-ink);font:inherit;font-size:13px;white-space:nowrap}
.tp-choice-submit-action:hover{border-color:#a696bd;background:#a696bd0c}
@media(max-width:760px){
 .tp-top-shell .tp-practice.tp-practice-header-pilot-page .tp-choice-bottom-pagination.has-submit{grid-template-columns:repeat(3,minmax(0,1fr))}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-bottom-pagination.has-submit>.tp-choice-bottom-page:first-child{grid-column:1;grid-row:1}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-bottom-pagination.has-submit>.tp-choice-bottom-page:nth-child(2){grid-column:2;grid-row:1;justify-self:center}
 .tp-top-shell .tp-practice-header-pilot-page .tp-choice-bottom-pagination>.tp-choice-submit-action{grid-column:3;grid-row:1;width:auto;min-height:40px;margin:0;border:1px solid var(--top-border);border-radius:999px;background:transparent;color:var(--top-ink);font-size:13px}
}

/* Shared reader identity: retain a legible illustration, hide the caption as it docks. */
.tp-top-shell .tp-course-oral-page .tp-oral-reader-header .tp-oral-paper-art{width:calc(96px - 36px * var(--oral-collapse));height:calc(64px - 24px * var(--oral-collapse));flex-basis:calc(96px - 36px * var(--oral-collapse))}
.tp-oral-reader-header .tp-oral-paper-source>div{gap:calc(6px * (1 - var(--oral-collapse)))}
.tp-oral-reader-header .tp-oral-paper-source>div>span:not(.has-clock){max-height:calc(22px * (1 - var(--oral-collapse)));opacity:calc(1 - var(--oral-collapse));overflow:hidden}
.tp-oral-reading-route.is-oral-reader-stuck .tp-oral-paper-source>div>span:not(.has-clock){display:none}
.tp-oral-reading-route.is-oral-reader-stuck .tp-choice-question-position{display:none}
.tp-oral-reader-header .tp-oral-paper-source strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-wrap:nowrap!important}
.tp-oral-reader-header .tp-direct-bank-tools>.tp-gs-picker-identity{flex:0 0 auto;width:auto;min-width:0}
@media(min-width:1100px){
 .tp-top-shell .tp-course-oral-page .tp-oral-reader-header{top:calc(70px * (1 - var(--oral-collapse)))!important}
 .tp-top-shell .tp-course-oral-page .tp-oral-header-content{padding-block:calc(10px + 5px * var(--oral-collapse))}
 .tp-top-shell .tp-course-oral-page .tp-oral-reader-header .tp-oral-back-slot{top:calc(10px + 9px * var(--oral-collapse))}
}
@media(max-width:760px){.tp-top-shell .tp-course-oral-page .tp-oral-reader-header .tp-oral-paper-art{width:calc(80px - 24px * var(--oral-collapse));height:calc(54px - 16px * var(--oral-collapse));flex-basis:calc(80px - 24px * var(--oral-collapse))}}
/* The oral directory uses the same column as the other three course tabs. */
.tp-top-shell .tp-top-main>.tp-d-page.tp-course-oral-page:has(>.tp-theory-featured){width:auto;max-width:none;margin:0 8.5vw 0 15.5vw;padding:28px 0 100px}
@media(max-width:639px){.tp-top-shell .tp-top-main>.tp-d-page.tp-course-oral-page:has(>.tp-theory-featured){margin:0 18px}}
