/* Distinct launch experiences layered over the existing study design */
.tr-body #app .launch-head{background:linear-gradient(115deg,#102849,#1a4180);border-radius:17px;padding:30px 34px;color:white;margin-bottom:19px}
.tr-body #app .launch-head h2{color:white;margin:10px 0 8px;font-size:27px}
.tr-body #app .launch-head p{color:#d2dff3;margin:0;line-height:1.65;max-width:680px}
.tr-body #app .launch-kicker{color:#aaccff;font-size:11px;font-weight:800;letter-spacing:2px}
.tr-body #app .exam-head{background:linear-gradient(115deg,#111f38,#25426a)}
.tr-body #app .practice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}
.tr-body #app .practice-tile{border:1px solid #e0e8f4;background:#fff;border-radius:15px;padding:24px;box-shadow:0 6px 22px #0c27400b}
.tr-body #app .practice-tile h3{font-size:19px;margin:12px 0 8px}.tr-body #app .practice-tile p{min-height:51px;color:#60718d;font-size:14px;line-height:1.55}
.tr-body #app .tile-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:11px;background:#eef4ff;font-size:20px;color:#2d60cc}
.tr-body #app .tile-meta{font-size:12px;color:#62748d;margin:0 0 12px}
.tr-body #app .launch-form{padding:26px 30px;background:white;border:1px solid #e0e8f4;border-radius:15px}
.tr-body #app .form-heading h3{font-size:20px;margin:0 0 4px}.tr-body #app .form-heading p{color:#687c98;font-size:13px;margin:0 0 17px}
.tr-body #app .practice-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}
.tr-body #app .launch-form label{display:block;color:#1e3758;font-size:13px;font-weight:700;margin:0 0 13px}
.tr-body #app .launch-form input,.tr-body #app .launch-form select{display:block;margin:7px 0 0;width:100%;font:inherit;background:#fff}
.tr-body #app .launch-cta{margin-top:10px;padding:13px 19px}
.tr-body #app .exam-facts{display:flex;gap:13px;flex-wrap:wrap;margin-top:20px}.tr-body #app .exam-facts span{padding:9px 11px;border:1px solid #6986ab;border-radius:9px;color:#e2edff;font-size:12px}
.tr-body #app .exam-rules{border-left:3px solid #527ee7;background:#f5f8ff;border-radius:4px;padding:16px 18px;margin:14px 0;color:#183154}
.tr-body #app .exam-rules p{font-size:13px;line-height:1.6;color:#617391;margin:8px 0 0}
.tr-body #app .exam-timer{display:flex;justify-content:space-between;align-items:center;border:1px solid #d6e1f2;background:#f5f8fe;border-radius:10px;padding:11px 14px;font-weight:600;color:#405a81;margin:15px 0}
.tr-body #app .exam-timer strong{font-size:21px;font-variant-numeric:tabular-nums;color:#204a99}.tr-body #app .exam-timer strong.urgent{color:#b42e3d}
.tr-body #app .exam-expired{padding:25px}.tr-body #app .exam-expired h2{font-size:26px}
@media(max-width:670px){.tr-body #app .practice-grid,.tr-body #app .practice-fields{grid-template-columns:1fr}.tr-body #app .launch-head{padding:24px}.tr-body #app .launch-form{padding:20px}}

/* A distinctly assessment-led mock-exam launcher, separate from Practice Questions */
body[data-study-mode="mock"] .tr-body main{max-width:860px}
body[data-study-mode="mock"] .tr-body #app .exam-head{background:linear-gradient(125deg,#0c2039,#153253);border:1px solid #345172;padding:36px}
body[data-study-mode="mock"] .tr-body #app .exam-head h2{font-size:30px;max-width:590px}
body[data-study-mode="mock"] .tr-body #app .launch-form{border:1px solid #cfd9e8;box-shadow:0 12px 28px #0c27400a}
body[data-study-mode="mock"] .tr-body #app .exam-rules{background:#f7f9fc;border-left-color:#1b426d}
body[data-study-mode="mock"] .tr-body #app .exam-facts span{background:#ffffff12}
body[data-study-mode="mock"] .tr-body #app .launch-cta{background:#16365e}
body[data-study-mode="mock"] .tr-body #app .exam-timer{background:#112d4c;color:#eef6ff;border-color:#112d4c}
body[data-study-mode="mock"] .tr-body #app .exam-timer strong{color:white}
body[data-study-mode="mock"] .tr-body #app .exam-timer strong.urgent{color:#ffb8b8}

/* Custom practice — focused selector */
.tr-body #app .tr-custom-form{padding:28px;border-color:#dce6f3;box-shadow:0 10px 28px rgba(21,51,92,.045)}
.tr-body #app .tr-custom-top{display:flex;justify-content:space-between;gap:14px;align-items:start;border-bottom:1px solid #e8edf5;padding-bottom:17px;margin-bottom:21px}
.tr-body #app .tr-custom-top .launch-kicker{color:#3866be;font-size:10px;letter-spacing:1.6px}
.tr-body #app .tr-custom-top h3{font-size:22px;margin:7px 0}
.tr-body #app .tr-custom-top p{margin:0;color:#677b96;font-size:13px}
.tr-body #app .tr-custom-tag{font-size:11px;white-space:nowrap;background:#edf4ff;color:#2d5698;border-radius:20px;padding:7px 10px}
.tr-body #app .tr-custom-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.tr-body #app .tr-custom-fields>label:first-child{grid-column:1/-1}
.tr-body #app .tr-custom-fields select{border:1px solid #d0dded;border-radius:10px;padding:12px;background:#fff;min-height:47px}
.tr-body #app .tr-question-count{margin-top:13px;padding:17px 19px;background:#f5f8fd;border:1px solid #e0e8f3;border-radius:12px}
.tr-body #app .tr-question-count strong{font-size:14px}
.tr-body #app .tr-question-count p{margin:4px 0 13px;color:#6a7c95;font-size:12px}
.tr-body #app .tr-count-control{display:flex;gap:18px;flex-wrap:wrap}
.tr-body #app .tr-count-control label{display:inline-flex;align-items:center;gap:8px;font-weight:600;margin:0 0 8px;cursor:pointer}
.tr-body #app .tr-count-control input{width:auto;margin:0;accent-color:#3062df}
.tr-body #app .tr-count-input{max-width:180px;margin-top:7px!important}
.tr-body #app .tr-count-input input{border-radius:9px;max-width:155px}
.tr-body #app .tr-muted{opacity:.5}
.tr-body #app .tr-practice-hint{font-size:12px;color:#697e9b;margin:13px 0 1px}
@media(max-width:670px){.tr-body #app .tr-custom-fields{grid-template-columns:1fr}.tr-body #app .tr-custom-top{flex-direction:column}.tr-body #app .tr-custom-form{padding:20px}}

/* Custom practice header: single unclipped heading */
.tr-body #app .tr-custom-top h3{margin:0 0 7px;line-height:1.3;letter-spacing:-.35px}
.tr-body #app .tr-custom-top{align-items:center}
.tr-body #app .tr-custom-top>div{min-width:0}

/* V10: make saved/flagged questions a quiet secondary action, not a competing tile */
.tr-body #app .practice-grid{display:flex;flex-direction:column;gap:12px;}
.tr-body #app .practice-tile{max-width:none;}
.tr-body #app .tr-flag-summary{display:flex;align-items:center;gap:14px;padding:14px 18px;border:1px solid #dce5f2;border-radius:12px;background:#f8fbff;box-shadow:none;}
.tr-body #app .tr-flag-symbol{display:grid;place-items:center;width:34px;height:34px;flex:none;color:#6180aa;background:#eaf1fc;border-radius:9px;font-size:17px;}
.tr-body #app .tr-flag-content{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0;}
.tr-body #app .tr-flag-content strong{font-size:14px;color:#19385f;}
.tr-body #app .tr-flag-content span{font-size:13px;color:#647896;line-height:1.5;}
.tr-body #app .tr-flag-summary .flagbtn{white-space:nowrap;margin-left:auto;}
@media(max-width:540px){.tr-body #app .tr-flag-summary{flex-wrap:wrap}.tr-body #app .tr-flag-summary .flagbtn{margin-left:48px;}}

/* V12: custom practice first, quick and flagged study secondary */
body[data-study-mode="practice"] .tr-body #app .tr-practice-intro{padding:20px 26px;margin-bottom:14px}
body[data-study-mode="practice"] .tr-body #app .tr-practice-intro h2{font-size:23px;margin:5px 0}
body[data-study-mode="practice"] .tr-body #app .tr-practice-intro p{font-size:13px;line-height:1.5}
body[data-study-mode="practice"] .tr-body #app .tr-custom-form{padding:23px 26px}
body[data-study-mode="practice"] .tr-body #app .tr-custom-top{padding-bottom:12px;margin-bottom:15px}
body[data-study-mode="practice"] .tr-body #app .tr-custom-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
body[data-study-mode="practice"] .tr-body #app .tr-custom-fields>label:first-child{grid-column:auto}
body[data-study-mode="practice"] .tr-body #app .tr-custom-fields>label{margin-bottom:4px}
body[data-study-mode="practice"] .tr-body #app .tr-question-count{padding:14px 17px;margin-top:11px;display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:center}
body[data-study-mode="practice"] .tr-body #app .tr-question-count p{margin:3px 0 0}
body[data-study-mode="practice"] .tr-body #app .tr-count-control{grid-column:1;gap:16px}
body[data-study-mode="practice"] .tr-body #app .tr-count-control label{margin:0}
body[data-study-mode="practice"] .tr-body #app .tr-count-input{grid-column:2;grid-row:1/3;min-width:155px;margin:0!important}
body[data-study-mode="practice"] .tr-body #app .tr-custom-actions{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:13px}
body[data-study-mode="practice"] .tr-body #app .tr-custom-actions .launch-cta{margin:0}
body[data-study-mode="practice"] .tr-body #app .tr-custom-actions .tr-practice-hint{flex:1;margin:0;line-height:1.4}
body[data-study-mode="practice"] .tr-body #app .tr-secondary-practice{display:grid;gap:10px;margin-top:14px}
body[data-study-mode="practice"] .tr-body #app .tr-quick-inline{display:flex;align-items:center;gap:13px;padding:15px 18px;border:1px solid #dce5f2;border-radius:12px;background:#fff}
body[data-study-mode="practice"] .tr-body #app .tr-quick-icon{width:34px;height:34px;border-radius:9px;background:#edf3ff;color:#3568d9;display:grid;place-items:center;flex:none}
body[data-study-mode="practice"] .tr-body #app .tr-quick-inline>div{flex:1;min-width:0}
body[data-study-mode="practice"] .tr-body #app .tr-quick-inline strong{font-size:14px;color:#19385f}
body[data-study-mode="practice"] .tr-body #app .tr-quick-inline p{font-size:13px;color:#647896;margin:3px 0 0}
body[data-study-mode="practice"] .tr-body #app .tr-quick-inline button{white-space:nowrap}
@media(max-width:670px){body[data-study-mode="practice"] .tr-body #app .tr-custom-fields{grid-template-columns:1fr}body[data-study-mode="practice"] .tr-body #app .tr-question-count{grid-template-columns:1fr}body[data-study-mode="practice"] .tr-body #app .tr-count-input{grid-column:1;grid-row:auto}body[data-study-mode="practice"] .tr-body #app .tr-quick-inline{flex-wrap:wrap}body[data-study-mode="practice"] .tr-body #app .tr-quick-inline button{margin-left:47px}}
