/* Identical Saved Questions chapter card foundation. */

.saved-chapters{--catalogue-orange:#eb813f;--catalogue-muted:#b6b9bf;display:flex;flex-direction:column;gap:30px;margin-top:22px;}
.saved-chapters .saved-section{margin:0}
.saved-chapters .saved-group-heading{padding:0 1px 15px;border-bottom:1px solid rgba(232,235,239,.11);margin-bottom:18px;align-items:end}
.saved-chapters .saved-section-kicker{display:block;color:#ed955c;font-size:10px;letter-spacing:.12em;font-weight:800;margin-bottom:7px}
.saved-chapters .saved-group-heading h2{font-size:21px;color:#fff;font-weight:700;line-height:1.3}
.saved-chapters .saved-group-heading>span{font-size:12px;color:#afb6c3}
.saved-chapters .chapter-card{background:linear-gradient(160deg,#151820,#11141c);border:1px solid rgba(222,230,243,.19);border-radius:15px;box-shadow:0 7px 22px #0101022d;overflow:hidden}
.saved-chapters .chapter-card:hover{border-color:rgba(237,143,82,.7);box-shadow:0 12px 35px #0005;transform:translateY(-2px)}
.saved-chapters .chapter-card:focus-within{outline:2px solid #e68846;outline-offset:3px}
.saved-chapters .chapter-art{background:radial-gradient(ellipse at 32% 20%,rgba(240,139,61,.16),transparent 60%),linear-gradient(120deg,#242936,#161b26);border-bottom:1px solid #ffffff14;min-height:112px;color:#d9dee8}
.saved-chapters .art-accent{stroke:#ff9b5a}
.saved-chapters .art-fill{fill:rgba(247,133,57,.17)}
.saved-chapters .chapter-count{background:rgba(15,18,25,.82);border:1px solid #c4b8a340;color:#ece4d9;display:flex;align-items:baseline;gap:4px}
.saved-chapters .chapter-count strong{color:#ffad73;font-size:14px}
.saved-chapters .chapter-body h3,.saved-chapters .chapter-body h3 a{color:#fff}
.saved-chapters .chapter-body h3 a:hover{color:#ffad73}
.saved-chapters .chapter-description{color:#bdc2cb;min-height:42px}
.saved-chapters .saved-chapter-date{font-size:11px;color:#b9c0cf;line-height:1.65;margin:0 0 8px}
.saved-chapters .chapter-actions{margin-top:auto;border-color:rgba(255,255,255,.11)}
.saved-chapters .chapter-explore{color:#f6b78c;font-size:12px}
.saved-chapters .chapter-explore:hover{color:#fff}
.saved-chapters .chapter-actions .btn.primary{background:#e88343;border-color:#e88343;color:#19100c;border-radius:9px}
.saved-chapters .chapter-actions .btn.primary:hover{background:#ffab72;border-color:#ffab72}
.saved-chapters .chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.saved-chapters .saved-back-link{align-self:start;color:#ffa66c;font-size:13px;text-decoration:none}
.saved-chapters .saved-back-link:hover{text-decoration:underline}
.saved-chapters .saved-detail-head{border-bottom:1px solid #ffffff25;padding:3px 0 18px}
.saved-chapters .saved-detail-head>span{color:#ffa66c;font-size:11px;letter-spacing:.09em;font-weight:700}
.saved-chapters .saved-detail-head h2{color:#fff;font-size:27px;margin:6px 0;letter-spacing:-.03em}
.saved-chapters .saved-detail-head p{color:#b8bdca;font-size:13px}
.saved-chapters .saved-question-list{display:grid;gap:13px}
.saved-chapters .saved-question-row{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#181c25,#11141b);border:1px solid #ffffff23;border-radius:13px;padding:18px 20px}
.saved-chapters .saved-question-index{display:grid;place-items:center;color:#f1ab75;background:#ed8b4521;border:1px solid #ec94514d;width:33px;height:33px;border-radius:8px;flex-shrink:0;font-size:12px;font-weight:700}
.saved-chapters .saved-question-copy{flex:1;min-width:0}
.saved-chapters .saved-question-copy p{font-size:14px;color:#f3f4f5;line-height:1.7;white-space:normal;overflow-wrap:anywhere;margin:0 0 6px}
.saved-chapters .saved-question-copy small{color:#aeb9c6;font-size:12px}
.saved-chapters .saved-question-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.saved-chapters .saved-question-actions .btn{border:1px solid #ec955c77;background:#e9894917;color:#ffc096;text-decoration:none}
.saved-chapters .saved-question-actions .btn:hover{background:#e989493d}
.saved-chapters :is(a,button):focus-visible{outline:2px solid #efa36c;outline-offset:3px}
@media(max-width:1080px){.saved-chapters .chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.saved-chapters .chapter-grid{grid-template-columns:minmax(0,1fr)}.saved-chapters .saved-group-heading{align-items:start;flex-direction:column;gap:5px}.saved-chapters .saved-question-row{align-items:start;flex-wrap:wrap;padding:15px}.saved-chapters .saved-question-actions{width:100%;justify-content:flex-end}.saved-chapters .saved-question-copy{min-width:calc(100% - 60px)}}

/* Chapter analytics shares the exact illustration/cards used by Saved Questions. */
.analytics-chapter-overview{margin:32px 0 30px}
.analytics-chapter-title{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:6px;padding-bottom:18px;border-bottom:1px solid #ffffff24}
.analytics-chapter-title .eyebrow{font-size:10px;font-weight:800;letter-spacing:.13em;color:#f4a16f}
.analytics-chapter-title h2{font-size:25px;line-height:1.25;letter-spacing:-.045em;color:#fff;margin:8px 0 6px;font-weight:700}
.analytics-chapter-title p{color:#b4bdc9;font-size:13px;line-height:1.65;margin:0;max-width:680px}
.analytics-chapter-total{flex:none;color:#c4c6ce;font-size:12px;white-space:nowrap}
.analytics-chapters .saved-group-heading h3{font-size:21px;color:#fff;line-height:1.3;font-weight:700;letter-spacing:-.03em}
.analytics-chapters .chapter-body{display:flex;flex-direction:column}
.analytics-chapters .chapter-description{min-height:44px}
.analytics-chapters .analytics-chapter-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 15px}
.analytics-chapters .analytics-chapter-facts>div{background:#ffffff07;padding:11px 12px;border:1px solid #ffffff12;border-radius:9px;min-width:0}
.analytics-chapters .analytics-chapter-facts strong{display:block;font-size:22px;color:#f5f4f2;letter-spacing:-.045em;font-weight:750;line-height:1.3;font-variant-numeric:tabular-nums}
.analytics-chapters .analytics-chapter-facts small{display:block;font-size:10px;line-height:1.4;color:#bec2ce;margin-top:3px}
.analytics-chapters .analytics-chapter-meter{height:5px;background:#343845;border-radius:99px;overflow:hidden;margin-bottom:10px}
.analytics-chapters .analytics-chapter-meter i{display:block;height:100%;background:linear-gradient(90deg,#e77631,#ffae75);border-radius:inherit}
.analytics-chapters .analytics-chapter-meter.is-unavailable{background:#ffffff16}
.analytics-chapters .chapter-card{min-height:355px}
.analytics-chapters .saved-chapter-date{margin-top:auto;padding-bottom:2px}
.analytics-chapters .chapter-actions .btn.primary{min-width:73px;text-align:center}
.analytics-chapter-detail .analytics-detail-hero{display:flex;align-items:center;gap:24px;padding:18px 0 20px;border-bottom:1px solid #ffffff25}
.analytics-chapter-detail .analytics-detail-art{display:flex;align-items:center;justify-content:center;flex:0 0 118px;height:105px;border-radius:16px;background:radial-gradient(ellipse at 30% 20%,#ed913236,transparent 65%),#1c2330;border:1px solid #ffffff1e;color:#e2e7ed}
.analytics-chapter-detail .analytics-detail-art svg{width:105px;height:80px}
.analytics-chapter-detail .analytics-detail-art .art-accent{stroke:#ffac77}
.analytics-chapter-detail .analytics-detail-hero h2{font-size:27px;letter-spacing:-.045em;color:#fff;margin:5px 0}
.analytics-chapter-detail .analytics-detail-hero p{font-size:13px;color:#b9c1cd;line-height:1.65;max-width:650px}
.analytics-chapter-detail .analytics-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.analytics-chapter-detail .analytics-detail-metrics>div{background:linear-gradient(140deg,#1e232e,#151922);border:1px solid #ffffff1e;border-radius:12px;padding:18px 16px;min-width:0}
.analytics-chapter-detail .analytics-detail-metrics small{display:block;font-size:10px;letter-spacing:.09em;font-weight:700;color:#e29a69}
.analytics-chapter-detail .analytics-detail-metrics strong{display:block;font-size:29px;font-weight:720;color:#fff;line-height:1.4;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.analytics-chapter-detail .analytics-detail-metrics span{font-size:10px;color:#bdc5d0;line-height:1.55}
.analytics-chapter-detail .analytics-detail-note{font-size:12px;line-height:1.7;color:#b4c2ce;background:#ffffff07;border-left:2px solid #db8e54;padding:11px 15px}
.analytics-chapter-detail .analytics-list-heading{display:flex;justify-content:space-between;gap:15px;align-items:baseline;margin-bottom:15px}
.analytics-chapter-detail .analytics-list-heading h3{color:#fff;font-size:20px;letter-spacing:-.03em}
.analytics-chapter-detail .analytics-list-heading span{font-size:11px;color:#adb7c4}
.analytics-chapter-detail .analytics-chapter-test-list{display:flex;flex-direction:column;gap:12px}
.analytics-chapter-detail .analytics-test-row{display:flex;align-items:center;gap:15px;min-width:0;background:linear-gradient(145deg,#1c202a,#131720);border-radius:12px;border:1px solid #ffffff1c;padding:18px 20px}
.analytics-chapter-detail .analytics-test-number{border-radius:9px;display:grid;place-items:center;flex:none;width:34px;height:34px;color:#f3a873;background:#ef934320;font-size:12px;font-weight:800}
.analytics-chapter-detail .analytics-test-copy{flex:1;min-width:0}
.analytics-chapter-detail .analytics-test-copy h4{font-size:14px;color:#f6f6f8;font-weight:650;margin:0 0 6px}
.analytics-chapter-detail .analytics-test-copy p{font-size:12px;color:#c4c9d2;line-height:1.65;margin:0 0 3px}
.analytics-chapter-detail .analytics-test-copy small{font-size:11px;color:#ffa879;line-height:1.65}
.analytics-chapter-detail .analytics-test-row .btn{display:inline-flex;flex:none;white-space:nowrap;border:1px solid #ee9c5d8f;color:#ffd0a2;background:#f1844020;border-radius:9px;min-height:37px}
.analytics-chapter-detail .analytics-test-row .btn:hover{background:#ec955a30}
.analytics-chapter-detail :is(a,button):focus-visible,.analytics-chapter-overview :is(a,button):focus-visible{outline:2px solid #ffac75;outline-offset:3px}
@media(max-width:1020px){.analytics-chapter-detail .analytics-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.analytics-chapter-title{align-items:start;flex-direction:column}.analytics-chapter-total{white-space:normal}.analytics-chapter-detail .analytics-detail-hero{align-items:start;flex-direction:column}.analytics-chapter-detail .analytics-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-chapter-detail .analytics-test-row{align-items:start;flex-wrap:wrap;padding:15px}.analytics-chapter-detail .analytics-test-copy{min-width:calc(100% - 55px)}.analytics-chapter-detail .analytics-test-row .btn{width:100%;justify-content:center}}
@media(max-width:390px){.analytics-chapter-detail .analytics-detail-metrics{grid-template-columns:minmax(0,1fr)}}
