/* Practice layer: deliberately scoped to avoid the shared editorial-card rules. */
.practice-hero { max-width: 1120px; }
.practice-hero h1 { max-width: 19ch; }
.practice-foundation { display:block; min-width:0; }
.practice-foundation > .practice-foundation-copy { display:block; max-width:75ch; }
.practice-foundation > * { min-width:0; }
.practice-targets { border-top: 5px solid #cfff36; background: #f6f8ff; padding: clamp(20px,4vw,44px); }
.practice-target-label { display:block; max-width:760px; font-weight:700; }
.practice-target-label select { display:block; width:100%; min-height:52px; margin:12px 0 20px; padding:12px; font:inherit; color:#11151e; border:1px solid #a9b8d6; border-radius:8px; background:white; }
.practice-targets > details { margin-top:24px; }
.practice-targets summary, .practice-full-options > summary { cursor:pointer; font-weight:750; padding:14px 0; }
.practice-target-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 28px; }
.practice-target-list > a { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:20px 0; border-top:1px solid #d4ddef; text-decoration:none; min-width:0; }
.practice-target-list small, .skill-card summary small { color:#596478; }
.practice-target-list strong { font-size:1.1rem; }
.practice-target-list span { font-size:.9rem; }
.skill-grid { display:grid; grid-template-columns:minmax(0,1fr); border-top:1px solid #bccae4; }
.skill-card { min-width:0; border-bottom:1px solid #bccae4; scroll-margin-top:110px; }
.skill-card > summary { list-style:none; display:flex; align-items:center; gap:20px; padding:24px 8px; cursor:pointer; }
.skill-card > summary::-webkit-details-marker { display:none; }
.skill-card > summary > span:nth-child(2) { display:flex; flex-direction:column; gap:6px; min-width:0; }
.skill-card > summary strong { font-size:clamp(1.2rem,2.5vw,1.65rem); line-height:1.2; color:#102fbd; overflow-wrap:break-word; }
.skill-number { color:#647086; font-size:.9rem; }
.skill-open { margin-left:auto; font-size:1.8rem; }
.skill-card[open] .skill-open { transform:rotate(45deg); }
.skill-content { padding:0 8px 28px; max-width:1040px; }
.skill-example { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin:24px 0; gap:24px; }
.skill-example > div { min-width:0; background:#f7f8fc; border-left:3px solid #aab6cc; padding:20px; }
.skill-example > div + div { border-color:#2255ff; background:#f0f4ff; }
.skill-example h3, .skill-exercise h3 { margin:0 0 12px; font-size:1.1rem; }
.skill-example p { margin:0; }
.skill-why { padding:0 0 20px; }
.skill-exercise { display:block; margin:24px 0 0; padding:24px 0; border-top:1px solid #d4ddef; min-width:0; }
.skill-exercise > label:not(.skill-done) { display:block; font-weight:700; margin-bottom:8px; }
.skill-exercise textarea { width:100%; box-sizing:border-box; min-height:140px; padding:14px; font:inherit; line-height:1.5; color:#11151e; border:1px solid #a9b8d6; background:white; border-radius:8px; resize:vertical; }
.skill-exercise p, .skill-example p { line-height:1.65; }
.skill-solution { margin:12px 0 20px; padding:16px; border:1px solid #d4ddef; }
.skill-solution summary { cursor:pointer; color:#1237bc; font-weight:750; }
.skill-solution p:last-child { color:#596478; font-size:.9rem; }
.skill-done { display:flex; align-items:flex-start; gap:10px; line-height:1.5; }
.skill-done input { width:20px; height:20px; margin-top:2px; flex-shrink:0; }
.skill-save-status { font-size:.85rem; color:#596478; min-height:1.5em; }
.skill-progress { color:#1237bc; font-size:.95rem; }
.practice-local-note { margin-top:24px; font-size:.95rem; }
.practice-launch-paths { display:flex; gap:20px; align-items:center; flex-wrap:wrap; margin:24px 0; }
.practice-launch-learn { display:flex; flex-direction:column; gap:6px; flex:1 1 280px; background:#eef3ff; padding:20px; border-left:4px solid #2255ff; text-decoration:none; }
.practice-launch-learn span { font-size:.95rem; color:#45516a; }
.practice-full-options { border-top:1px solid #cbd6ec; margin-top:24px; }
.practice-discovery { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; background:#eef3ff; border-left:5px solid #2255ff; margin:24px auto; }
.practice-discovery h2 { font-size:clamp(1.4rem,3vw,2rem); margin:8px 0; }
.practice-discovery p { margin:8px 0; }
.writing-version { margin:20px 0; }
.writing-version > summary { font-weight:700; cursor:pointer; }
.practice-task-conditions { margin:18px 0; }
.practice-task-conditions > summary { cursor:pointer; color:#153ac0; font-weight:700; }
.writing-version textarea { width:100%; box-sizing:border-box; background:#f6f8ff; }
.practice-targets:target, #skills:target { scroll-margin-top:110px; }
@media(min-width:1400px) {
  .site-header .nav { width:min(1540px,calc(100% - 32px)); }
  .site-header .nav-panel { gap:6px; }
  .site-header .nav-link, .site-header .search-open { padding-inline:6px; font-size:13px; }
  .site-header .search-open kbd { display:none; }
  .site-header .nav-actions .button { padding-inline:12px; font-size:13px; }
}
@media(max-width:700px) {
  .skill-example, .practice-target-list { grid-template-columns:minmax(0,1fr); }
  .skill-card > summary { gap:12px; padding:20px 0; }
  .skill-content { padding-left:0; padding-right:0; }
  .practice-discovery { flex-direction:column; align-items:stretch; padding:20px; }
  .practice-launch-paths > .button { width:100%; }
  .practice-targets > .button { width:100%; box-sizing:border-box; white-space:normal; }
}
@media print { .skill-card { display:block; } .skill-card > .skill-content { display:block!important; } .practice-target-label, [data-practice-target-link] { display:none; } }

.home-practice-banner { margin:24px 0 40px;padding:clamp(24px,4vw,56px);background:#f3f6ff;border-top:6px solid #d5ff32;display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:32px;align-items:center; }
.home-practice-banner h2 {font-size:clamp(28px,3.3vw,46px);line-height:1.12;max-width:24ch;margin:12px 0;}
.home-practice-banner p {max-width:65ch;}
.home-practice-banner-facts {display:grid;gap:24px;}
.home-practice-banner-facts strong {font-size:48px;color:#133ac3;line-height:1.1;}
.home-practice-banner-facts small {display:block;font-size:16px;color:#4c576d;line-height:1.5;margin-top:6px;}
.practice-notify-note {font-size:14px;color:#596377;max-width:75ch;}
@media(max-width:700px){.home-practice-banner{grid-template-columns:minmax(0,1fr);gap:24px;}.home-practice-banner-facts{grid-template-columns:repeat(2,minmax(0,1fr));}.home-practice-banner .hero-actions{align-items:stretch;}.home-practice-banner .button{white-space:normal;}}

/* Student flow and compact home sections */
.practice-review-offer {margin-top:24px;padding:clamp(20px,3vw,32px);border:1px solid #cdd7f2;border-top:4px solid #cfff35;background:#f5f8ff;color:#131722;clear:both;}
.practice-review-offer h3{font-size:24px;line-height:1.25;margin:0 0 12px;}
.practice-review-offer form {display:grid;gap:16px;max-width:620px;margin-top:20px;}
.practice-review-offer label {display:grid;gap:8px;font-weight:650;}
.practice-review-offer input:not([type=checkbox]){width:100%;min-width:0;background:white;border:1px solid #b5c3e1;border-radius:8px;padding:14px;font:inherit;}
.practice-review-offer .review-attach{display:flex;align-items:flex-start;font-weight:400;gap:10px;}
.review-attach input{flex:0 0 auto;margin-top:6px;}
.practice-self-review{margin-bottom:28px;border-bottom:1px solid #d7dfef;padding-bottom:20px;}
.writing-extra{margin-top:16px;}.writing-extra .writing-version{margin-top:16px;}
.home-practice-section{max-width:1240px;margin-inline:auto;width:calc(100% - 32px);padding:36px 0;background:#f5f7fb;color:var(--ink);grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);column-gap:32px;row-gap:16px;align-items:start;}
.home-practice-section .eyebrow{color:var(--blue-dark);}.home-practice-heading>p:not(.eyebrow){color:#596377;}
.home-practice-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.15;}
.home-practice-section .writing-example{background:#d4dced;gap:1px;}
.home-practice-section .writing-example article{padding:24px;gap:14px;}
.home-practice-section .writing-example article:last-child{background:#effbcf;}
.home-practice-section .writing-example blockquote{font-size:clamp(18px,1.5vw,23px);}
.writing-example-footer{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
.writing-example-footer .writing-example-note{margin:0;color:#647087;font-size:13px;}
.olympiad-timers-section{width:calc(100% - 32px);max-width:1240px;margin:40px auto;padding:32px 0;display:block;}
.olympiad-timers-section .section-heading{max-width:78ch;margin-bottom:24px;}
.olympiad-timers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;}
.olympiad-timer-card{display:grid;grid-template-rows:auto minmax(3em,auto) minmax(2.8em,auto) auto auto auto auto 1fr;align-content:start;gap:8px;padding:20px;}
.olympiad-timer-card h3,.olympiad-timer-card p{margin:0;}.timer-digits{font-size:clamp(22px,2.1vw,30px);white-space:nowrap;}.timer-explanation{font-size:13px;}.timer-explanation summary{cursor:pointer;}.timer-card-links{align-self:end;padding-top:12px;}
@media(max-width:900px){.home-practice-section{grid-template-columns:minmax(0,1fr);padding:28px 16px;}.olympiad-timers-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.olympiad-timers-grid{grid-template-columns:minmax(0,1fr);}.home-practice-section .writing-example{grid-template-columns:minmax(0,1fr);}.writing-example-footer{display:grid;}.practice-review-offer .button{white-space:normal;width:100%;}}

.olympiad-timer-card{grid-template-rows:auto 2.6em 2.6em auto auto auto auto auto;gap:6px;padding:18px;}
.olympiad-timer-card h3{font-size:18px;}.timer-card-links{padding-top:6px;gap:6px;font-size:13px;}.timer-date{font-size:13px;line-height:1.4;}.timer-certainty{font-size:11px;}.timer-units{margin-top:0;}
@media(max-width:600px){.olympiad-timer-card{grid-template-rows:none;}.olympiad-timer-card h3{min-height:0;}.timer-event-label{min-height:0;}.olympiad-timer-card{gap:8px;}}

@media(max-width:600px){.home-practice-heading{gap:12px;}.home-practice-heading h2{font-size:26px;}.home-practice-heading>p:not(.eyebrow){font-size:16px;line-height:1.55;}.home-practice-section .writing-example article{padding:18px;gap:12px;}.home-practice-section .writing-example blockquote{font-size:18px;line-height:1.4;}}

.olympiad-timer-card{grid-template-rows:auto 2.6em 2em auto auto auto auto auto;}.timer-explanation a{color:inherit;text-decoration:underline;}.timer-card-links{display:block;}.olympiad-timer-card .timer-event-label{font-size:14px;line-height:1.4;}.olympiad-timers-section .section-heading{gap:12px;}.olympiad-timers-section .section-heading h2{font-size:clamp(26px,3vw,38px);line-height:1.15;}
@media(max-width:600px){.olympiad-timer-card{grid-template-rows:none;grid-template-columns:minmax(0,1fr);padding:16px;gap:5px;}.timer-units{display:none;}.olympiad-timer-card h3{font-size:18px;}.timer-digits{font-size:25px;}.timer-date{font-size:12px;}.timer-card-links{padding-top:2px;}.olympiad-timers-section .section-heading p{font-size:15px;}}

/* Keep checkbox controls out of the global full-width input rule. */
.practice-review-offer .review-attach {display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;width:100%;min-width:0;line-height:1.5;}
.practice-review-offer .review-attach input[type="checkbox"] {width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;padding:0;margin:3px 0 0;box-sizing:border-box;justify-self:start;}
.practice-review-offer .review-attach > span {display:block;min-width:0;width:auto;overflow-wrap:break-word;}
.practice-review-offer form > * {min-width:0;max-width:100%;box-sizing:border-box;}
.practice-review-offer form > label:not(.review-attach) {display:grid;grid-template-columns:minmax(0,1fr);}
.practice-review-offer form > p {margin:0;font-size:14px;line-height:1.5;}
.practice-review-offer > p {max-width:75ch;}

/* Subject-based teaching sample, public site only. */
.methodology-preview {background:#f6f9ff;border-top:3px solid #145cff;padding:28px;}
.methodology-preview-example {min-width:0;max-width:75ch;}
.methodology-preview-example h3{font-size:22px;line-height:1.35;margin:0 0 16px;}
.methodology-preview-example p{font-size:16px;line-height:1.6;margin:0 0 14px;}
.methodology-preview .writing-example-footer{align-items:center;}
.skill-subject{margin:20px 0;padding:20px;border-left:3px solid #145cff;background:#f6f9ff;max-width:75ch;}
.skill-revision{padding:20px 0;border-top:1px solid #cdd7f2;margin-top:20px;}
.skill-revision label{display:block;margin:12px 0 8px;}
.skill-exercise{scroll-margin-top:100px;}
[hidden].skill-solution,[hidden].skill-revision{display:none;}
@media(max-width:700px){.methodology-preview{padding:22px 16px;grid-template-columns:minmax(0,1fr);}.methodology-preview-example h3{font-size:20px;}.methodology-preview .button{white-space:normal;}.skill-subject{padding:16px;}}

.editorial-route, .editorial-review {
  margin-block: 16px;
  padding: clamp(12px, 3vw, 20px);
  border-inline-start: 3px solid #145cff;
  background: #f6f9ff;
  overflow-wrap: anywhere;
}
.editorial-route h5, .editorial-review h4, .editorial-review h5 { margin: 0 0 6px; }
.editorial-route p, .editorial-review p { margin: 0 0 12px; }
.editorial-example { margin-block: 12px; }
.editorial-example summary { cursor: pointer; font-weight: 700; }
.editorial-example[open] summary { margin-bottom: 12px; }
.editorial-purpose { color: #434e63; }
