/* Show the real learning materials and captured product screens. */
.guide-main{max-width:980px;margin:22px auto 38px;padding:0 16px;color:var(--ink)}
.guide-intro{text-align:center;margin-bottom:20px}.guide-eyebrow{margin:0 0 7px;color:#813f28;font:700 12px/1.5 var(--jp);letter-spacing:.08em}.guide-intro h1{margin:0;font:700 clamp(24px,5.5vw,34px)/1.5 var(--round)}.guide-intro>p:last-child{margin:8px 0 0;font-size:13px;color:var(--ink-2)}
.guide-received{margin:0 0 18px;border:1px solid var(--line-2);border-radius:14px;background:var(--paper);padding:12px 15px;text-align:center;font-size:12px;color:var(--ink-2)}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.yz-home a.guide-panel{display:flex;flex-direction:column;min-width:0;border:2px solid var(--ink);border-radius:20px;background:var(--paper);padding:18px 16px 12px;color:var(--ink);text-decoration:none;box-shadow:3px 3px 0 var(--line-2);overflow:hidden;transition:transform .12s,box-shadow .12s}.yz-home a.guide-panel:hover{transform:translateY(-3px);box-shadow:3px 6px 0 var(--line-2)}.yz-home a.guide-panel:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--line-2)}
.guide-panel-head{display:flex;align-items:center;gap:9px;margin-bottom:10px}.guide-number{display:grid;place-items:center;flex:none;width:31px;height:31px;border:1.5px solid var(--ink);border-radius:50%;background:#f8cc53;color:#302a20;font:700 19px/1 var(--num)}.guide-panel h2{margin:0;font:700 20px/1.4 var(--round)}
.guide-feature-art{display:block;width:100%;max-width:280px;height:auto;margin:0 auto 10px;aspect-ratio:1;background:#fff;border-radius:13px}
.guide-step-flow{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;font:700 14px/1.5 var(--jp);margin:4px 0 12px}.guide-step-flow span{padding:5px 8px;border-radius:8px;background:var(--paper-2)}.guide-step-flow b{font-weight:400;color:#813f28}
.guide-character-note{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 10px;font:700 12px/1.6 var(--round)}.guide-character-note>span:last-child{min-width:0;overflow-wrap:anywhere}.yz-home .guide-tiny-bear{display:block;width:43px;flex:0 0 43px;aspect-ratio:33/34;border-radius:6px}
.guide-start{margin-top:auto;padding-top:9px;border-top:1px solid var(--line);font:700 13px/1.5 var(--jp);text-align:right}
.guide-more{margin:22px 0 0;padding:13px 17px;border:1px solid var(--line-2);border-radius:15px;background:var(--paper)}.guide-more>summary,.guide-ai-more>summary{cursor:pointer;font-size:13px;font-weight:700;padding:3px 0;min-height:30px}.guide-more-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:14px}.guide-more h3{margin:0 0 8px;font:700 16px/1.5 var(--round)}.guide-detail-list{margin:0;padding-left:1.2em;font-size:13px;line-height:1.8;color:var(--ink-2)}.guide-detail-list li+li{margin-top:5px}
.guide-ai{margin:26px 0 0;padding:22px;border:1.5px solid var(--line-2);border-radius:20px;background:var(--paper)}.guide-ai-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}.guide-ai-heading>span{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:14px;background:#f4c64e;color:#39291c;font-size:29px}.guide-ai-heading p{margin:0 0 3px;color:var(--ink-2);font-size:11px}.guide-ai-heading h2{margin:0;font:700 22px/1.5 var(--round)}
.guide-ai-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.guide-ai-features article{display:flex;flex-direction:column;min-width:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--paper-2)}.guide-ai h3{margin:0 0 12px;font:700 16px/1.6 var(--round)}.guide-ai-art{display:block;width:100%;height:auto;aspect-ratio:300/155;background:white;border-radius:10px;margin:0 0 12px}.guide-ai-caption{font-size:13px;font-weight:700;line-height:1.7;margin:0 0 10px}.guide-ai-more{margin:0 0 14px;color:var(--ink-2)}.guide-ai-more p{font-size:12px;line-height:1.85;margin:8px 0}.guide-ai-features button{width:100%;min-height:44px;margin-top:auto;border:1px solid #dfb138;border-radius:12px;padding:10px 7px;background:#f4c64e;color:#39291c;cursor:pointer;font:700 12px/1.5 var(--jp)}.guide-ai-features button:hover{background:#ffda74}.guide-ai-features button:disabled{opacity:.55;cursor:progress}.guide-ai-note{font-size:12px;line-height:1.8;color:var(--ink-2);margin:15px 0 0}.guide-ai-note:empty{display:none}
.guide-pdf{margin:24px 0 0;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:18px}.guide-pdf h2{font:700 16px/1.5 var(--round);margin:0 0 6px}.guide-pdf p{font-size:12px;line-height:1.7;color:var(--ink-2);margin:6px 0 13px}.guide-pdf-actions{display:flex;flex-wrap:wrap;gap:10px}.yz-home .guide-pdf-actions a{display:inline-flex;align-items:center;justify-content:center;flex:1;min-width:125px;min-height:44px;border:1.5px solid var(--line-2);border-radius:12px;padding:8px 10px;color:var(--ink);font-size:13px;font-weight:700;text-decoration:none}.guide-pdf-actions a:hover{background:var(--paper-2)}
.gift-page .lh-launch{display:none!important}html.learning-has-launcher body.gift-page::after{display:none}.gift-page .gift-footer{padding-bottom:max(32px,env(safe-area-inset-bottom))}
:root[data-theme=night] .guide-eyebrow,:root[data-theme=night] .guide-step-flow b{color:#ffd8c2}
@media(max-width:700px){.guide-ai-features{grid-template-columns:1fr}.guide-ai{padding:18px 16px}.guide-ai-heading h2{font-size:20px}.guide-ai-features article{padding:16px}.guide-ai-art{max-width:360px;margin-inline:auto}.guide-ai-features button{font-size:13px}.guide-more-grid{grid-template-columns:1fr}}
@media(max-width:559px){.guide-main{padding:0 12px;margin-top:18px}.guide-grid{gap:10px}.yz-home a.guide-panel{padding:12px 9px 10px;border-radius:15px;box-shadow:2px 2px 0 var(--line-2)}.guide-panel-head{gap:6px;min-height:30px;margin-bottom:8px}.guide-number{width:26px;height:26px;font-size:16px}.guide-panel h2{font-size:clamp(13px,3.6vw,17px)}.guide-step-flow{font-size:11px;gap:3px;margin-bottom:9px}.guide-step-flow span{padding:4px}.guide-character-note{font-size:10px;gap:4px;justify-content:flex-start}.yz-home .guide-tiny-bear{width:34px;flex-basis:34px}.guide-start{font-size:12px}.guide-feature-art{margin-bottom:6px}}
@media(prefers-reduced-motion:reduce){.yz-home a.guide-panel{transition:none}}

.guide-material-visual{width:100%;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;min-width:0;padding:12px;background:var(--paper-2);border-radius:12px;overflow:hidden}
.guide-cover{width:100%;max-width:250px;position:relative;overflow:hidden;background:#fff;box-shadow:0 5px 13px #00000018}.guide-cover img{display:block;position:absolute;height:auto;max-width:none}
.guide-cover-text{aspect-ratio:1125/1603}.guide-cover-text img{width:125.422%;left:-12.622%;top:-10.2308%}
.guide-cover-words{aspect-ratio:1171/1669}.guide-cover-words img{width:102.56%;left:-1.28%;top:-.3%}
.guide-screen{position:relative;width:100%;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:10px}.guide-screen img{display:block;position:absolute;height:auto;max-width:none}
.guide-screen-past{aspect-ratio:602/744;max-width:290px}.guide-screen-past img{width:223.92%;left:-12.79%;top:-11.16%}
.guide-screen-mock{aspect-ratio:850/435}.guide-screen-mock img{width:158.59%;left:-9.06%;top:-36.55%}
.guide-mock-visual{flex-direction:column;gap:20px}.guide-mock-facts{display:flex;justify-content:center;gap:24px;font:700 16px/1.4 var(--round)}.guide-mock-facts b{font:700 clamp(27px,5vw,47px)/1.3 var(--num);margin-right:3px}.guide-mock-visual>p{text-align:center;font:700 15px/1.7 var(--round);margin:0}
.guide-material-name{margin:13px 0 5px;font:700 17px/1.5 var(--round)}.guide-panel-copy{margin:0 0 16px;font-size:13px;line-height:1.85;color:var(--ink-2)}
.guide-materials{margin:24px 0 0;padding:22px;border:1.5px solid var(--line-2);border-radius:20px;background:var(--paper)}.guide-materials-heading>p{font-size:12px;color:var(--ink-2);margin:0 0 5px}.guide-materials h2{font:700 22px/1.5 var(--round);margin:0 0 18px}.yz-home a.guide-slides-link{display:block;text-decoration:none;color:var(--ink)}.guide-slides-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.guide-slides-grid figure{margin:0;min-width:0}.guide-slides-grid img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border:1px solid var(--line-2);border-radius:8px}.guide-slides-grid figcaption{font-size:12px;margin:7px 0 0;font-weight:700}.guide-slides-link>p{font-size:13px;line-height:1.8;margin:16px 0;color:var(--ink-2)}.guide-slides-link>.guide-start{display:block}.guide-slides-link:hover img{box-shadow:0 3px 10px #00000015}
@media(max-width:559px){.guide-material-visual{padding:7px}.guide-material-name{font-size:13px;margin-top:10px}.guide-panel-copy{font-size:11px;line-height:1.8;margin-bottom:12px}.guide-mock-visual{gap:12px}.guide-mock-facts{gap:10px;font-size:11px}.guide-mock-facts b{font-size:26px}.guide-mock-visual>p{font-size:10px}.guide-materials{padding:16px 12px}.guide-materials h2{font-size:19px}.guide-slides-grid{grid-template-columns:1fr;gap:16px}}


/* Keep the whole problem screen; show every learning format inside its panel. */
.guide-panel-head{align-items:flex-start}.guide-panel h2{font-size:clamp(14px,2.1vw,20px);overflow-wrap:anywhere}
.guide-material-visual{box-sizing:border-box}
.guide-screen-past{width:100%;max-width:none;aspect-ratio:602/744;border-radius:7px}
.guide-screen-past img{position:static;width:100%;max-width:100%;height:auto;left:auto;top:auto;object-fit:contain}
.guide-learn-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:1fr 1fr;gap:10px;align-items:center}
.guide-material-visual figure{margin:0;min-width:0}.guide-material-visual figcaption{font:700 12px/1.5 var(--jp);text-align:center;margin-top:8px;overflow-wrap:anywhere}
.guide-learn-book{grid-row:span 2}.guide-learn-visual .guide-cover{width:100%}
.guide-learn-slides>img{display:block;width:100%;height:auto;border:1px solid #ceddd4;border-radius:5px}
.guide-video-thumb{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#142c23}
.guide-video-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.guide-words-visual{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.guide-flashcard-art{display:block;width:100%;height:auto;aspect-ratio:560/800;object-fit:contain}
.guide-cbt-visual{flex-direction:column;gap:10px;padding:8px;justify-content:center}
.guide-cbt-art{display:block;width:100%;height:auto;max-height:calc(100% - 30px);object-fit:contain;border:1px solid #ccdcd3;border-radius:8px}
.guide-cbt-facts{display:flex;justify-content:center;flex-wrap:wrap;gap:5px;font:700 11px/1.4 var(--jp)}.guide-cbt-facts span{background:#e3f2ef;color:#204e48;border-radius:5px;padding:3px 5px}
@media(max-width:559px){.guide-panel-head{min-height:48px}.guide-panel h2{font-size:13px}.guide-learn-visual,.guide-words-visual{gap:6px}.guide-material-visual figcaption{font-size:9px;margin-top:5px}.guide-cbt-facts{font-size:8px;gap:3px}.guide-cbt-facts span{padding:2px 3px}}

/* Each numbered panel contains all of that feature's real materials. */
.guide-media-collage{aspect-ratio:auto;display:grid;grid-template-columns:42% minmax(0,1fr);align-content:center;align-items:center;justify-items:stretch;gap:14px 12px;overflow:visible}
.guide-media-collage figure{min-width:0;margin:0;text-align:center}.guide-media-collage figcaption{margin:7px 0 0;font:700 12px/1.5 var(--round);overflow-wrap:anywhere}.guide-media-collage figure>p{font-size:11px;line-height:1.6;margin:5px 0 0;color:var(--ink-2)}.guide-media-collage .guide-cover{margin:auto;max-width:150px}.guide-collage-wide{grid-column:1/-1}.guide-actual-slide{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border:1px solid var(--line-2);border-radius:7px}
.guide-screen-video{aspect-ratio:848/476}.guide-screen-video img{width:158.96%;left:-28.66%;top:-40.97%}
.guide-screen-flash-front{aspect-ratio:769/308}.guide-screen-flash-front img{width:175.29%;left:-15.21%;top:-17.86%}
.guide-screen-flash-back{aspect-ratio:769/388}.guide-screen-flash-back img{width:175.29%;left:-15.21%;top:-14.18%}
@media(max-width:559px){.guide-media-collage{gap:8px 6px;padding:7px}.guide-media-collage figcaption{font-size:10px;margin-top:5px;line-height:1.5}.guide-media-collage figure>p{font-size:9px;line-height:1.5}.guide-media-collage .guide-screen{border-radius:5px}.guide-media-collage .guide-cover{max-width:95px}}

/* Equal, compact panels; preserve complete previews of every learning format. */
.guide-grid{grid-auto-rows:1fr;align-items:stretch;gap:12px}
.yz-home a.guide-panel{padding:14px 12px 10px}
.guide-panel-head{min-height:42px;align-items:flex-start;margin-bottom:8px;flex-shrink:0}
.guide-material-visual{height:300px;aspect-ratio:auto;flex:0 0 auto;padding:9px;overflow:hidden}
.guide-screen-past{height:100%;width:100%;aspect-ratio:auto;background:transparent;border:0}
.guide-screen-past img{display:block;width:100%;height:100%;object-fit:contain}
.guide-media-collage{grid-template-columns:38% minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:8px;align-content:stretch}
.guide-collage-book{grid-column:1;grid-row:1/3}.guide-collage-video,.guide-collage-card{grid-column:2;grid-row:1}.guide-collage-wide{grid-column:2;grid-row:2}
.guide-media-collage .guide-cover{max-width:140px}.guide-media-collage figcaption{font-size:11px;line-height:1.4;margin-top:5px}
.guide-cbt-visual{gap:6px}.guide-cbt-art{flex:1 1 0;min-height:0;max-height:calc(100% - 25px);width:100%;object-fit:contain}
.guide-material-name{margin:10px 0 5px;font-size:16px;line-height:1.4}
.guide-panel-copy{margin:0 0 10px;font-size:12px;line-height:1.65}
.guide-start{display:flex;align-items:center;justify-content:flex-end;min-height:36px;flex-shrink:0;padding-top:7px;font-size:12px;line-height:1.4}
@media(max-width:559px){
 .guide-main{margin-top:14px}.guide-intro{margin-bottom:14px}.guide-intro>p:last-child{margin-top:5px}
 .guide-grid{gap:10px}.yz-home a.guide-panel{padding:10px 9px 8px}
 .guide-panel-head{min-height:38px;margin-bottom:7px}.guide-panel h2{font-size:12px;line-height:1.4}
 .guide-material-visual{height:clamp(194px,54vw,300px);padding:6px;border-radius:10px}
 .guide-media-collage{grid-template-columns:36% minmax(0,1fr);grid-template-rows:auto auto;gap:6px;align-content:center}
 .guide-collage-book{grid-column:1;grid-row:1}.guide-collage-video,.guide-collage-card{grid-column:2;grid-row:1}.guide-collage-wide{grid-column:1/-1;grid-row:2}
 .guide-media-collage figcaption{font-size:9px;line-height:1.35;margin-top:4px}.guide-media-collage .guide-cover{max-width:85px}
 .guide-cbt-facts{font-size:8px;gap:3px}.guide-cbt-facts span{padding:2px 3px}
 .guide-material-name{font-size:12px;line-height:1.4;margin-top:9px}.guide-panel-copy{font-size:11px;line-height:1.6;margin-bottom:8px}
 .guide-start{font-size:11px;min-height:34px;white-space:nowrap}
}

@media(max-width:359px){.guide-panel-head{min-height:52px}.guide-start{font-size:10px}}

/* Readable headings and material previews without extending the compact grid. */
.guide-panel-head{align-items:center;min-height:58px;gap:7px}
.guide-panel h2{font-size:30px;line-height:1.2}.guide-panel h2.guide-heading-detailed{font-size:22px;line-height:1.3}
.guide-heading-detailed>span{display:block;white-space:nowrap}
.guide-large-collage{height:342px;padding:4px;gap:6px;grid-template-columns:42% minmax(0,1fr)}
.guide-large-collage .guide-cover{max-width:165px}.guide-large-collage figcaption{font-size:14px;line-height:1.35;margin-top:5px}
.guide-readable-front{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:80px;padding:10px 4px;border:1px solid var(--line-2);border-radius:9px;background:var(--paper);color:var(--ink)}
.guide-readable-front>b{font:700 28px/1.2 var(--num)}.guide-readable-front>span{font-size:12px;line-height:1.4}
.guide-readable-back{padding:10px;border:1px solid var(--line-2);border-radius:9px;background:var(--paper);color:var(--ink);text-align:left}
.guide-card-kind{display:block;font-size:11px;color:var(--ink-2);margin-bottom:4px}.guide-readable-back>b{display:block;font-size:17px;line-height:1.4}.guide-readable-back>p{margin:5px 0 8px;font-size:12px;line-height:1.5}
.guide-card-options{display:grid;grid-template-columns:1fr 1fr;gap:5px;font-size:12px;line-height:1.4;font-weight:700;text-align:center}.guide-card-options>span{border:1px solid var(--line-2);border-radius:6px;padding:6px 2px}.guide-card-options>span:last-child{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.guide-free{margin:0 0 16px;padding:13px 10px;border:1.5px solid #dfb138;border-radius:14px;background:#fff1ba;color:#30423a;text-align:center}
.guide-free>strong{font:700 clamp(16px,4.3vw,24px)/1.5 var(--round)}.guide-free>p{font-size:12px;line-height:1.5;margin:4px 0}.guide-free>small{display:block;font-size:10px;line-height:1.5;color:#5c6053}
@media(max-width:559px){
 .guide-panel-head{min-height:50px;gap:4px;margin-bottom:6px}
 .guide-panel h2{font-size:clamp(18px,5.2vw,27px)}.guide-panel h2.guide-heading-detailed{font-size:clamp(11px,3.85vw,19px);line-height:1.3}
 .guide-large-collage{height:calc(clamp(194px,54vw,300px) + 38px);padding:3px;gap:5px;grid-template-columns:42% minmax(0,1fr)}
 .guide-large-collage .guide-cover{max-width:108px}.guide-large-collage figcaption{font-size:clamp(10px,2.8vw,13px);line-height:1.3;margin-top:4px}
 .guide-readable-front{gap:7px;min-height:70px;padding:9px 3px;border-radius:7px}.guide-readable-front>b{font-size:23px}.guide-readable-front>span{font-size:10px;line-height:1.4}
 .guide-readable-back{padding:7px 6px;border-radius:7px}.guide-readable-back>b{font-size:clamp(11px,3.4vw,15px);line-height:1.4;white-space:nowrap}.guide-readable-back>p{font-size:10px;line-height:1.45;margin:4px 0 7px}.guide-card-kind{font-size:10px;margin-bottom:3px}
 .guide-card-options{font-size:10px;gap:4px}.guide-card-options>span{padding:5px 2px}
 .guide-free{margin-bottom:12px;padding:10px 7px}.guide-free>p{font-size:11px}.guide-free>small{font-size:9px}
}

@media(max-width:359px){.guide-panel h2.guide-heading-detailed{font-size:clamp(11px,3.55vw,13px)}}

.guide-gift{padding:24px;border:2px solid #d8e6dc;background:var(--paper)}
.guide-gift-heading{display:grid;grid-template-columns:94px minmax(0,1fr);gap:18px;align-items:center}.guide-gift-heading>.guide-cover{max-width:94px}
.guide-gift-badge{display:inline-block;border-radius:99px;background:#e3f2ef;color:#24685c;padding:5px 11px;font:700 13px/1.4 var(--round);margin:0 0 10px!important}
.guide-gift h2{font:700 clamp(19px,4.8vw,26px)/1.5 var(--round);margin:0 0 8px}.guide-gift-heading>div>p:last-child{font-size:13px;line-height:1.8;margin:0;color:var(--ink-2)}
.guide-gift-status{font-size:13px;line-height:1.7;margin:15px 0 0;color:var(--ink-2)}.guide-gift-status:empty{display:none}
.guide-gift-actions{margin-top:20px}.yz-home a.guide-gift-download{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:76px;padding:15px 10px;border:1.5px solid #24685c;border-radius:14px;background:#24685c;color:white;text-decoration:none;box-shadow:0 4px 0 #17483f;font:700 clamp(14px,3.8vw,20px)/1.5 var(--round);text-align:center}.yz-home a.guide-gift-download:hover{background:#1c584c}.guide-gift-download small{font-size:12px;font-weight:400;color:#e7f5f0}
.guide-gift-note{font-size:12px;line-height:1.7;text-align:center;margin:12px 0 8px!important;color:var(--ink-2)}.yz-home a.guide-gift-open{display:block;text-align:center;color:var(--ink-2);font-size:12px;line-height:1.7;text-underline-offset:3px}
.guide-gift [hidden]{display:none!important}
@media(max-width:559px){.guide-gift{padding:18px 13px}.guide-gift-heading{grid-template-columns:70px minmax(0,1fr);gap:12px}.guide-gift-heading>.guide-cover{max-width:70px}.guide-gift-badge{font-size:11px;padding:4px 8px}.guide-gift-heading>div>p:last-child{font-size:11px}.guide-gift h2{font-size:18px}.guide-gift-download small{font-size:11px}}

/* Keep the AI introduction compact, with one clear action beside each title. */
.gift-page .guide-ai{margin-top:18px;padding:12px;border-width:1px;border-radius:16px}
.gift-page .guide-ai-heading{gap:8px;margin-bottom:6px}
.gift-page .guide-ai-heading>span{width:28px;height:28px;font-size:20px;border-radius:9px}
.gift-page .guide-ai-heading p{margin-bottom:1px;font-size:10px}
.gift-page .guide-ai-heading h2{font-size:clamp(16px,4.2vw,20px);line-height:1.35}
.gift-page .guide-ai-features{gap:0}
.gift-page .guide-ai-features article{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:8px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
.gift-page .guide-ai h3{display:flex;align-items:center;gap:6px;grid-column:1;grid-row:1;margin:0;font-size:14px;line-height:1.35}
.gift-page .guide-ai-caption{grid-column:1;grid-row:2;margin:0;font-size:11px;font-weight:400;line-height:1.4}
.gift-page .guide-ai-more{grid-column:1/-1;grid-row:3;margin:0;font-size:11px}
.gift-page .guide-ai-more>summary{min-height:20px;padding:2px 0;font-size:10px;font-weight:400}
.gift-page .guide-ai-more p{margin:5px 0 0;font-size:11px;line-height:1.65}
.gift-page .guide-ai-features button{grid-column:2;grid-row:1/3;width:auto;min-width:60px;min-height:32px;margin:0;padding:5px 9px;border:1px solid #e6cd7d;border-radius:99px;background:#fff1ba;font-size:11px;white-space:nowrap}
.gift-page .guide-ai-note{margin-top:7px;font-size:10px;line-height:1.45}

/* A dedicated layout prevents the book and example cards from overflowing. */
.guide-words-preview{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,.85fr) minmax(0,1.15fr);gap:8px;padding:8px}
.guide-words-preview>figure{min-height:0;min-width:0;margin:0}
.guide-words-preview .guide-collage-book{grid-column:1;grid-row:1;align-self:center;justify-self:center;width:100%}
.guide-words-preview .guide-cover{max-width:80px}
.guide-words-preview .guide-collage-wide{grid-column:1;grid-row:2;align-self:stretch;height:100%}
.guide-words-preview figcaption{margin-top:3px;font-size:clamp(8px,2.35vw,11px);line-height:1.3;white-space:nowrap;overflow-wrap:normal}
.guide-words-preview .guide-readable-back{height:100%;padding:8px;border-radius:9px;display:flex;flex-direction:column;justify-content:center}
.guide-words-preview .guide-card-kind{font-size:9px;line-height:1.3;margin-bottom:3px}
.guide-words-preview .guide-readable-back>b{font-size:clamp(10px,2.6vw,13px);line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.guide-words-preview .guide-readable-back>p{margin:4px 0 6px;font-size:clamp(9px,2.5vw,12px);line-height:1.4}
.guide-words-preview .guide-card-options{gap:4px;font-size:clamp(9px,2.5vw,11px);line-height:1.3}
.guide-words-preview .guide-card-options>span{min-width:0;padding:5px 2px;white-space:nowrap}
@media(max-width:559px){.guide-words-preview{padding:6px;gap:6px}.guide-words-preview .guide-cover{max-width:52px}.guide-words-preview .guide-readable-back{padding:6px}}

.gift-page .guide-ai-features article:last-child{border-bottom:0}
.guide-ai-step{font:500 10px/1.2 var(--num);color:#8a712e}
.guide-words-preview .guide-readable-back{box-shadow:0 3px 10px #0000000c}
.guide-past-visual+.guide-panel-copy{margin-top:10px}
@media(min-width:701px){.gift-page .guide-ai-features{gap:16px}.gift-page .guide-ai-features article{border-bottom:0}}

.guide-words-preview .guide-card-term{display:block;margin:0 0 5px;padding-bottom:5px;border-bottom:1px solid var(--line);font:700 clamp(16px,4.4vw,24px)/1.2 var(--num);text-align:center}

/* Short introduction and shallower previews keep the guide easy to scan. */
.gift-page .guide-main{margin-top:3px;margin-bottom:22px}
.gift-page .guide-intro{margin-bottom:10px}
.gift-page .guide-intro h1{font:700 clamp(12px,3.4vw,17px)/1.5 var(--round);white-space:nowrap}
.gift-page .guide-free{margin-bottom:10px;padding:8px}
.gift-page .guide-grid{grid-auto-rows:auto;gap:10px}
.gift-page a.guide-panel{padding:10px 9px 8px}
.gift-page .guide-panel-head{min-height:42px;margin-bottom:5px}
.gift-page .guide-panel h2.guide-heading-detailed{font-size:clamp(10px,3.55vw,20px)}
.gift-page .guide-material-visual{height:clamp(178px,48vw,260px)}
.gift-page .guide-material-name{margin:7px 0 4px;font-size:clamp(10px,2.9vw,16px);white-space:nowrap}
.gift-page .guide-panel-copy{margin-bottom:7px;font-size:clamp(10px,2.8vw,12px);line-height:1.5;text-wrap:pretty}
.gift-page .guide-start{min-height:30px;padding-top:6px}
.gift-page .guide-more{margin-top:14px;padding:9px 12px}
.gift-page .guide-gift{margin-top:16px;padding:14px}
.gift-page .guide-gift-heading{grid-template-columns:56px minmax(0,1fr);gap:10px}
.gift-page .guide-gift-heading>.guide-cover{max-width:56px}
.gift-page .guide-gift-badge{margin-bottom:5px!important;padding:4px 8px;font-size:11px;white-space:nowrap}
.gift-page .guide-gift-heading>div>p:last-child{font-size:11px;line-height:1.55}
.gift-page .guide-gift-actions{margin-top:12px}
.gift-page a.guide-gift-download{min-height:60px;padding:9px 8px}
.gift-page .guide-gift-note{margin:8px 0 5px!important;font-size:11px;white-space:nowrap}
.gift-page a.guide-gift-open{font-size:11px;white-space:nowrap}
.gift-page .gift-footer{padding-top:20px}
.gift-page .guide-words-preview{grid-template-rows:minmax(0,.8fr) minmax(0,1.2fr)}
.gift-page .guide-words-preview .guide-cover{max-width:clamp(32px,9vw,52px)}
.gift-page .guide-words-preview .guide-readable-back{padding:5px}
.gift-page .guide-words-preview .guide-card-term{margin-bottom:3px;padding-bottom:3px;font-size:clamp(13px,3.6vw,18px)}
.gift-page .guide-words-preview .guide-card-kind{font-size:8px;margin-bottom:2px}
.gift-page .guide-words-preview .guide-readable-back>b{font-size:clamp(9px,2.4vw,12px);line-height:1.3}
.gift-page .guide-words-preview .guide-readable-back>p{margin:3px 0 5px;font-size:clamp(8px,2.15vw,10px);line-height:1.3}
.gift-page .guide-words-preview .guide-card-options{font-size:clamp(8px,2.15vw,10px)}
.gift-page .guide-words-preview .guide-card-options>span{padding:4px 1px}
.gift-page .guide-media-collage:not(.guide-words-preview){grid-template-rows:minmax(0,1fr) minmax(0,1fr);align-content:stretch}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-cover{max-width:clamp(38px,10vw,65px)}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-wide{display:flex;flex-direction:column;min-height:0}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-actual-slide{flex:1;min-height:0;height:0;aspect-ratio:auto;object-fit:contain}
.gift-page .guide-media-collage figcaption{flex:none}
@media(min-width:701px){.gift-page a.guide-panel{padding:12px}.gift-page .guide-panel h2.guide-heading-detailed{font-size:20px}}

/* Shorter panels, with the vocabulary book as the primary visual. */
.gift-page a.guide-panel{padding:9px 7px 7px}
.gift-page .guide-panel-head{min-height:36px;margin-bottom:4px;gap:5px}
.gift-page .guide-material-visual{height:clamp(164px,44vw,240px)}
.gift-page .guide-start{min-height:28px;padding-top:5px}
.gift-page .guide-words-preview{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1.25fr) minmax(0,.75fr);gap:5px;padding:6px}
.gift-page .guide-words-preview .guide-cover{max-width:clamp(54px,14vw,82px)}
.gift-page .guide-words-preview .guide-collage-wide{display:flex;align-items:center;justify-content:center}
.gift-page .guide-words-preview .guide-readable-back{height:auto;width:90%;max-height:58px;padding:5px;box-shadow:0 2px 5px #00000008}
.gift-page .guide-words-preview .guide-card-term{font-size:12px;line-height:1.1;margin-bottom:3px;padding-bottom:3px}
.gift-page .guide-words-preview .guide-card-kind{font-size:7px;line-height:1.1;margin-bottom:2px}
.gift-page .guide-words-preview .guide-readable-back>b{font-size:9px;line-height:1.2;white-space:nowrap}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-slide{grid-column:2;grid-row:1;min-height:0}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-slide img{height:auto;aspect-ratio:16/9}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-video{grid-column:1/-1;grid-row:2;align-items:stretch}
.gift-page .guide-collage-wide .guide-video-thumb{flex:1;min-height:0;aspect-ratio:auto}
.gift-page .guide-ai{padding:10px;margin-top:14px}
.gift-page .guide-ai-heading{margin-bottom:3px}
.gift-page .guide-ai-heading>span{width:26px;height:26px;font-size:18px}
.gift-page .guide-ai-features article{grid-template-columns:minmax(0,1fr) auto auto;gap:0 8px;padding:5px 0}
.gift-page .guide-ai h3{font-size:13px}
.gift-page .guide-ai-more{grid-column:2;grid-row:1}
.gift-page .guide-ai-more>summary{min-height:30px;display:flex;align-items:center;gap:3px;font-size:10px}
.gift-page .guide-ai-more>summary::before{content:'▸'}
.gift-page .guide-ai-more[open]{grid-column:1/-1;grid-row:2}
.gift-page .guide-ai-more[open]>summary::before{content:'▾'}
.gift-page .guide-ai-more .guide-ai-caption{margin-top:3px}
.gift-page .guide-ai-features button{grid-column:3;grid-row:1;min-width:54px;min-height:30px;padding:4px 8px}
.gift-page .guide-ai-note{font-size:9px;margin-top:5px}
.gift-page a.guide-present-link{display:inline-flex;align-items:center;min-height:28px;margin-top:4px;padding:3px 12px;border:1px solid #e6cd7d;border-radius:99px;background:#fff1ba;color:#57451b;text-decoration:none;font-size:11px;font-weight:700}
.guide-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.gift-page .guide-quick a{display:flex;align-items:center;gap:5px;min-width:0;min-height:44px;padding:8px;border:1px solid var(--line-2);border-radius:11px;background:var(--paper);color:var(--ink);text-decoration:none}
.guide-quick a>span{font:500 20px/1 var(--num);color:#8a712e}.guide-quick b{font-size:clamp(9px,2.8vw,13px);white-space:nowrap}.guide-quick i{margin-left:auto;font-style:normal;font-size:12px}
.guide-quick a:hover{background:var(--paper-2)}
@media(min-width:701px){.gift-page .guide-ai-features{grid-template-columns:1fr;gap:0}.gift-page .guide-ai-features article{border-bottom:1px solid var(--line)}.gift-page .guide-ai-features article:last-child{border:0}.guide-quick{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Constrain each material to its own grid cell after swapping slides and video. */
.gift-page .guide-media-collage:not(.guide-words-preview)>figure{height:100%;min-height:0;align-self:stretch;display:flex;flex-direction:column;align-items:center;justify-content:center;overflow:hidden}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-book{grid-column:1;grid-row:1}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-slide{grid-column:2;grid-row:1}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-slide img{flex:1 1 0;min-height:0;height:0;width:100%;aspect-ratio:auto;object-fit:contain;border:0}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-video{grid-column:1/-1;grid-row:2;align-items:center}
.gift-page .guide-collage-wide .guide-video-thumb{flex:0 1 auto;width:auto;max-width:100%;height:calc(100% - 22px);min-height:0;aspect-ratio:16/9}
.gift-page .guide-collage-wide .guide-video-thumb img{object-fit:cover}
.gift-page .guide-media-collage figcaption{line-height:1.3;margin-top:4px}
.gift-page .guide-video-thumb .guide-video-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#fff;font:700 clamp(10px,2.8vw,18px)/1.3 var(--round)}
.guide-video-fallback small{color:#ffe178;font-size:.75em}
.gift-page .guide-video-thumb img{position:absolute;inset:0;z-index:1}
.gift-page .guide-video-thumb img[hidden]{display:none!important}

/* Lead with free access and keep all four material previews compact. */
.gift-page .guide-free{padding:9px 8px;margin-bottom:9px;border:1.5px solid #dfb138;background:#fff1ba}
.gift-page .guide-free h1{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px 8px;margin:0;color:#302a20;font:700 13px/1.25 var(--round)}
.gift-page .guide-free h1 strong{font:700 clamp(25px,7vw,36px)/1.2 var(--round);color:#302a20;white-space:nowrap;letter-spacing:.02em}
.gift-page .guide-free>p{margin:3px 0;font-size:11px}
.gift-page .guide-free>small{font-size:9px}
.gift-page .guide-grid{gap:8px}
.gift-page a.guide-panel{padding:8px 7px 6px}
.gift-page .guide-panel-head{min-height:34px;margin-bottom:3px}
.gift-page .guide-material-visual{height:clamp(148px,38vw,208px)}
.gift-page .guide-panel-copy{margin:5px 0;font-size:clamp(9px,2.6vw,11px);line-height:1.4}
.gift-page .guide-material-name{margin:5px 0 3px}
.gift-page .guide-start{min-height:27px;padding-top:4px}
.gift-page .guide-words-preview .guide-cover{max-width:clamp(46px,12vw,70px)}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-cover{max-width:clamp(34px,9vw,54px)}
.gift-page .guide-media-collage figcaption{margin-top:3px;font-size:clamp(9px,2.5vw,12px)}

/* The second set repeats the same four visual cards in a smaller format. */
.gift-page .guide-quick-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}
.gift-page .guide-quick-panels a.guide-panel{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:7px;border:1.5px solid var(--ink);border-radius:13px;box-shadow:2px 2px 0 var(--line-2)}
.gift-page .guide-quick-panels .guide-panel-head{min-height:30px;gap:5px;margin-bottom:4px}
.gift-page .guide-quick-panels .guide-number{width:22px;height:22px;font-size:14px}
.gift-page .guide-quick-panels h2{font-size:clamp(15px,4vw,20px);line-height:1.2}
.gift-page .guide-quick-panels h2.guide-heading-detailed{font-size:clamp(10px,2.7vw,14px);line-height:1.25}
.gift-page .guide-quick-panels .guide-material-visual{height:clamp(112px,30vw,140px);padding:4px;border-radius:8px}
.gift-page .guide-quick-panels .guide-media-collage{gap:4px}
.gift-page .guide-quick-panels .guide-media-collage figcaption{font-size:8px;line-height:1.2;margin-top:2px}
.gift-page .guide-quick-panels .guide-media-collage:not(.guide-words-preview) .guide-cover{max-width:clamp(24px,6vw,32px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-cover{max-width:clamp(30px,8vw,40px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back{padding:3px;max-height:38px}
.gift-page .guide-quick-panels .guide-card-term{font-size:10px;line-height:1.1;margin-bottom:2px;padding-bottom:2px}
.gift-page .guide-quick-panels .guide-card-kind{font-size:6px;margin-bottom:1px}
.gift-page .guide-quick-panels .guide-readable-back>b{font-size:8px;line-height:1.1}
.gift-page .guide-quick-panels .guide-video-thumb .guide-video-fallback{font-size:9px;gap:1px}
.gift-page .guide-quick-panels .guide-collage-wide .guide-video-thumb{height:calc(100% - 13px)}
.gift-page .guide-quick-panels .guide-cbt-facts{font-size:7px;gap:2px}
.gift-page .guide-quick-panels .guide-cbt-facts span{padding:1px 2px}
.gift-page .guide-quick-panels .guide-start{min-height:24px;margin-top:5px;font-size:clamp(9px,2.5vw,11px);padding-top:4px}
.gift-page .guide-quick-panels .guide-start b{font-size:inherit}
.guide-receipt{margin-top:12px;padding:12px;border:1px solid #d8e6dc;border-radius:14px;background:var(--paper)}
.guide-receipt[hidden]{display:none!important}
.guide-receipt p{margin:0 0 7px;text-align:center;color:var(--ink-2);font-size:11px}
.gift-page .guide-receipt a.guide-gift-open{display:flex;align-items:center;justify-content:center;min-height:46px;padding:8px 10px;border-radius:11px;background:#24685c;color:#fff;text-decoration:none;font:700 13px/1.4 var(--round)}

.gift-page .guide-quick-free{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:2px 7px;margin:12px 0 0;padding:7px 8px;border:1px solid #dfb138;border-radius:11px;background:#fff1ba;color:#302a20;font:700 11px/1.3 var(--round)}
.gift-page .guide-quick-free strong{font:700 clamp(20px,5.8vw,28px)/1.2 var(--round);white-space:nowrap}
.gift-page .guide-quick-free+.guide-quick-panels{margin-top:8px}

/* Vocabulary book and its smaller, labelled flashcard sit side by side. */
.gift-page .guide-words-preview{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;gap:6px}
.gift-page .guide-words-preview .guide-collage-book{grid-column:1;grid-row:1;align-self:center;width:100%}
.gift-page .guide-words-preview .guide-cover{max-width:clamp(52px,14vw,88px)}
.gift-page .guide-words-preview .guide-collage-wide{grid-column:2;grid-row:1;align-self:center;display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;min-width:0}
.gift-page .guide-words-preview .guide-readable-back{width:100%;max-width:90px;height:auto;max-height:none;padding:5px}
.gift-page .guide-words-preview .guide-readable-back>b{font-size:clamp(7px,1.95vw,10px);line-height:1.35;white-space:normal}
.guide-words-preview .guide-readable-back>b>span{display:block}
.gift-page .guide-words-preview .guide-collage-wide .guide-flash-caption{margin-top:4px;font-size:clamp(6px,1.6vw,9px);line-height:1.3;white-space:nowrap}
.gift-page .guide-quick-panels .guide-words-preview .guide-cover{max-width:clamp(38px,10vw,62px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back{width:100%;max-width:64px;max-height:none;padding:3px}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back>b{font-size:clamp(6px,1.65vw,8px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-flash-caption{font-size:clamp(5.5px,1.5vw,7px)}

/* Quiet headings and one clear free-access label, rather than a banner. */
.gift-page .guide-free{margin-bottom:10px;padding:2px 2px 8px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;text-align:left}
.gift-page .guide-free h1,.gift-page .guide-quick-free{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:10px;color:var(--ink);font:700 clamp(15px,4.2vw,20px)/1.4 var(--round)}
.gift-page .guide-free h1 strong,.gift-page .guide-quick-free strong{flex:none;padding:4px 10px;border-radius:7px;background:#e3f2ef;color:#24685c;font:700 clamp(16px,4.5vw,21px)/1.35 var(--round);letter-spacing:0;white-space:nowrap}
.gift-page .guide-free>p{margin:7px 0 3px;color:var(--ink-2);font-size:11px}
.gift-page .guide-free>small{color:var(--ink-3);font-size:9px;line-height:1.5}
.gift-page .guide-quick-free{margin:14px 0 0;padding:0 2px 8px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
:root[data-theme=night] .gift-page .guide-free h1 strong,:root[data-theme=night] .gift-page .guide-quick-free strong{background:#193c36;color:#a6dfcf}

/* Matching material labels and a compact real past-question example. */
.gift-page .guide-material-visual{height:clamp(138px,35.5vw,194px)}
.gift-page .guide-quick-panels .guide-material-visual{height:clamp(104px,27.5vw,130px)}
.gift-page .guide-words-preview .guide-collage-book figcaption,.gift-page .guide-words-preview .guide-collage-wide .guide-flash-caption{font-size:clamp(8px,2.2vw,12px);line-height:1.3;margin-top:4px;white-space:nowrap}
.gift-page .guide-words-preview .guide-card-illustration{display:block;margin-top:2px;font:400 clamp(6px,1.6vw,8px)/1.2 var(--jp);color:var(--ink-3)}
.gift-page .guide-quick-panels .guide-words-preview figcaption,.gift-page .guide-quick-panels .guide-words-preview .guide-collage-wide .guide-flash-caption{font-size:clamp(6px,1.8vw,9px);line-height:1.3;margin-top:3px}
.gift-page .guide-quick-panels .guide-card-illustration{font-size:6px}
.guide-quiz-preview{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:4px;width:100%;height:100%;max-width:280px;padding:7px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);box-shadow:0 2px 8px #00000008;font-family:var(--jp);text-align:left}
.guide-quiz-head{display:flex;align-items:center;justify-content:space-between;gap:4px;font-size:clamp(8px,2vw,12px);line-height:1.2;font-weight:700}
.guide-quiz-head small{font-size:6px;font-weight:400;color:var(--ink-3)}
.guide-quiz-preview .guide-quiz-source{margin:0;font-size:clamp(5px,1.4vw,7px);line-height:1.2;color:var(--ink-3)}
.guide-quiz-preview .guide-quiz-stem{margin:0;font-size:clamp(6px,1.7vw,10px);font-weight:700;line-height:1.3;white-space:nowrap}
.guide-quiz-choices{display:grid;grid-template-rows:repeat(4,minmax(0,1fr));gap:3px;min-height:0;margin:0;padding:0;list-style:none}
.guide-quiz-choices li{display:flex;align-items:center;gap:5px;min-height:0;padding:0 5px;border:1px solid var(--line);border-radius:5px;font-size:clamp(7px,1.8vw,11px);line-height:1.1;white-space:nowrap}
.guide-quiz-choices li>span{display:grid;place-items:center;flex:none;width:12px;height:12px;border:1px solid var(--line);border-radius:50%;font-size:7px;color:var(--ink-2)}
.guide-quiz-preview .guide-quiz-credit{margin:0;font-size:clamp(4px,1.1vw,6px);line-height:1.2;color:var(--ink-3);white-space:nowrap}
.guide-quick-panels .guide-quiz-preview{gap:3px;padding:5px}
.guide-quick-panels .guide-quiz-head{font-size:8px}
.guide-quick-panels .guide-quiz-source{font-size:5px}
.guide-quick-panels .guide-quiz-stem{font-size:clamp(5px,1.45vw,8px)}
.guide-quick-panels .guide-quiz-choices{gap:2px}
.guide-quick-panels .guide-quiz-choices li{font-size:clamp(6px,1.6vw,9px);gap:3px;padding:0 3px}
.guide-quick-panels .guide-quiz-choices li>span{width:9px;height:9px;font-size:5px}
.guide-quick-panels .guide-quiz-credit{font-size:4px}
@media(max-width:359px){.gift-page .guide-words-preview .guide-collage-book figcaption,.gift-page .guide-words-preview .guide-collage-wide .guide-flash-caption{font-size:7px}.gift-page .guide-quick-panels .guide-words-preview figcaption,.gift-page .guide-quick-panels .guide-words-preview .guide-collage-wide .guide-flash-caption{font-size:6px}}

/* Larger teaching materials, an explained card and clear marking examples. */
.gift-page .guide-media-collage:not(.guide-words-preview){grid-template-columns:minmax(0,2fr) minmax(0,3fr);padding:3px;gap:4px}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-book{grid-column:1;grid-row:1/3}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-cover{max-width:clamp(48px,14vw,90px)}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-collage-video{grid-column:2;grid-row:2}
.gift-page .guide-media-collage:not(.guide-words-preview) figcaption{font-size:clamp(9px,2.6vw,13px)}
.gift-page .guide-media-collage:not(.guide-words-preview) .guide-video-thumb{height:calc(100% - 18px)}
.gift-page .guide-quick-panels .guide-media-collage:not(.guide-words-preview) .guide-cover{max-width:clamp(34px,9vw,55px)}
.gift-page .guide-quick-panels .guide-media-collage:not(.guide-words-preview) figcaption{font-size:clamp(7px,2vw,10px)}
.gift-page .guide-quick-panels .guide-media-collage:not(.guide-words-preview) .guide-video-thumb{height:calc(100% - 13px)}
.gift-page .guide-words-preview{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.gift-page .guide-words-preview .guide-readable-back{width:clamp(52px,14vw,88px);max-width:100%;aspect-ratio:.72;height:auto;padding:5px;justify-content:center}
.gift-page .guide-words-preview .guide-card-term{font-size:clamp(10px,2.6vw,15px);line-height:1.1;margin-bottom:2px;padding-bottom:2px}
.gift-page .guide-words-preview .guide-card-kind{font-size:6px;line-height:1.1;margin-bottom:1px}
.gift-page .guide-words-preview .guide-readable-back>b{font-size:clamp(6.5px,1.8vw,9px);line-height:1.2}
.gift-page .guide-words-preview .guide-readable-back .guide-card-explanation{margin:3px 0 0;font-size:clamp(5px,1.35vw,7px);line-height:1.25;font-weight:400}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back{width:clamp(38px,10vw,62px);max-width:100%;padding:3px}
.gift-page .guide-quick-panels .guide-words-preview .guide-card-term{font-size:clamp(9px,2.3vw,12px);margin-bottom:1px;padding-bottom:1px}
.gift-page .guide-quick-panels .guide-words-preview .guide-card-kind{font-size:5px}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back>b{font-size:clamp(5.5px,1.45vw,7px);line-height:1.15}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back .guide-card-explanation{font-size:clamp(4.1px,1.1vw,5.5px);line-height:1.2;margin-top:2px}
.guide-quiz-head .guide-quiz-grade{font-weight:700;color:#24685c;font-size:clamp(7px,1.8vw,10px)}
.guide-quiz-choices .guide-quiz-correct{border-color:#24685c;background:#e3f2ef;color:#204e48}
.guide-quiz-correct i{margin-left:auto;font-style:normal;font-size:clamp(10px,2.6vw,15px);line-height:1;font-weight:700;color:#24685c}
.guide-quick-panels .guide-quiz-grade{font-size:7px}
.guide-quick-panels .guide-quiz-correct i{font-size:10px}
.gift-page .guide-cbt-art{aspect-ratio:900/512;object-fit:contain}

.gift-page .guide-free h1 strong,.gift-page .guide-quick-free strong{padding:5px 11px;border-radius:8px;background:#24685c;color:#fff;font-size:clamp(18px,5vw,23px);letter-spacing:.01em}
:root[data-theme=night] .gift-page .guide-free h1 strong,:root[data-theme=night] .gift-page .guide-quick-free strong{background:#24685c;color:#fff}

/* Let the wide exam image use the available area without an outer frame. */
.gift-page .guide-cbt-visual{padding:2px;gap:3px;background:transparent;border-radius:0}
.gift-page .guide-cbt-art{border:0;outline:0;box-shadow:none;border-radius:4px;max-height:calc(100% - 19px)}
.gift-page .guide-quick-panels .guide-cbt-visual{padding:1px;gap:2px}
.gift-page .guide-quick-panels .guide-cbt-art{max-height:calc(100% - 15px)}
.gift-page .guide-free h1 strong,.gift-page .guide-quick-free strong{padding:6px 12px;border:1px solid #dfb13a;border-radius:8px;background:#f6cc59;color:#302a20;font-size:clamp(23px,6.3vw,31px);line-height:1.25;box-shadow:0 2px 0 #dfb13a33}
:root[data-theme=night] .gift-page .guide-free h1 strong,:root[data-theme=night] .gift-page .guide-quick-free strong{background:#f6cc59;color:#302a20}

/* All four cards share the compact materials card's three-row structure. */
.gift-page .guide-grid{--guide-head-h:clamp(38px,10vw,52px);--guide-preview-h:clamp(130px,34vw,182px);grid-auto-rows:1fr}
.gift-page .guide-grid a.guide-panel{display:grid;grid-template-rows:var(--guide-head-h) var(--guide-preview-h) auto;gap:4px;align-content:start}
.gift-page .guide-grid .guide-panel-head{height:var(--guide-head-h);min-height:0;margin:0;align-items:center}
.gift-page .guide-grid .guide-material-visual{position:relative;height:var(--guide-preview-h);min-height:0;margin:0}
.gift-page .guide-grid .guide-start{margin:0;min-height:27px;padding-top:4px}
.gift-page .guide-grid .guide-visual-with-caption{padding-bottom:22px}
.gift-page .guide-grid .guide-visual-caption{position:absolute;inset:auto 6px 4px;margin:0;font-size:clamp(8px,2.3vw,11px);line-height:1.3;text-align:center;white-space:nowrap;color:var(--ink-2)}
.gift-page .guide-grid .guide-panel-copy.guide-visual-caption{font-size:clamp(6.5px,1.8vw,9px);font-weight:400}
.gift-page .guide-quick-panels{--guide-head-h:clamp(30px,8vw,35px);--guide-preview-h:clamp(100px,26vw,122px)}
.gift-page .guide-quick-panels .guide-start{min-height:24px}
.guide-quiz-preview{grid-template-rows:auto auto minmax(0,1fr) auto;gap:3px;padding:5px}
.guide-quiz-choices li>span{width:9px;height:9px;font-size:6px}
.guide-quick-panels .guide-quiz-choices li>span{width:8px;height:8px;font-size:5px}

/* Align every free badge at the left of the card's bottom link row. */
.gift-page .guide-grid .guide-start{display:flex;align-items:center;justify-content:space-between;gap:6px}
.gift-page .guide-grid .guide-free-tag{display:inline-block;flex:none;position:static;margin:0;padding:2px 4px;border-radius:5px;background:#f6cc59;color:#302a20;font:900 clamp(10px,3.2vw,19px)/1.2 var(--round);white-space:nowrap;letter-spacing:0}
.gift-page .guide-grid .guide-start-label{min-width:0;margin-left:auto;text-align:right;white-space:nowrap}
.gift-page .guide-quick-panels .guide-free-tag{font-size:clamp(9px,2.7vw,14px);padding:2px 3px}

/* Keep the shared free label directly beside its heading. */
.gift-page .guide-free h1,.gift-page .guide-quick-free{justify-content:flex-start;gap:12px}


/* Use vector bounds instead of the font baseline to center the AI star. */
.gift-page .guide-ai-heading>span{line-height:1}
.gift-page .guide-ai-heading>span>svg{display:block;width:18px;height:18px;flex:none}
@media(max-width:360px){.gift-page .guide-grid .guide-start{gap:3px}.gift-page .guide-grid .guide-start-label{font-size:10px}}

/* Keep the gift and all four onward choices visible after the guided scroll. */
.gift-page .guide-free h1 strong,.gift-page .guide-quick-free strong{font-size:clamp(26px,7.1vw,35px);padding:5px 11px}
.gift-page .guide-grid .guide-free-tag{font-size:clamp(13px,3.8vw,21px);padding:3px 5px;line-height:1.15}
.gift-page .guide-quick-panels .guide-free-tag{font-size:clamp(12px,3.55vw,17px);padding:3px 4px}
.gift-page .guide-gift{padding:10px 12px;margin-top:12px;border-radius:16px}
.gift-page .guide-gift-heading{grid-template-columns:44px minmax(0,1fr);gap:10px}
.gift-page .guide-gift-heading>.guide-cover{max-width:44px}
.gift-page .guide-gift-badge{padding:3px 8px;margin-bottom:3px!important;font-size:11px;line-height:1.3}
.gift-page .guide-gift-heading>div>p:last-child{margin:0;font-size:11px;line-height:1.45}
.gift-page .guide-gift-actions{margin-top:6px}
.gift-page a.guide-gift-download{min-height:48px;padding:7px 8px;border-radius:12px;gap:1px;font-size:clamp(13px,3.8vw,17px);line-height:1.35;box-shadow:0 3px 0 #194d44}
.gift-page a.guide-gift-download small{font-size:10px;line-height:1.3}
.gift-page .guide-gift-note{margin:5px 0 0!important;font-size:10px;line-height:1.4}
.gift-page .guide-gift-status:empty{display:none}
.gift-page .guide-quick-free{margin-top:10px;padding-bottom:5px;gap:10px}
.gift-page .guide-quick-free+.guide-quick-panels{margin-top:7px}
.gift-page .guide-quick-panels{--guide-head-h:30px;--guide-preview-h:clamp(76px,22vw,108px);gap:7px}
.gift-page .guide-quick-panels a.guide-panel{padding:6px;gap:3px;border-radius:12px}
.gift-page .guide-quick-panels .guide-start{min-height:27px;padding-top:3px;gap:4px}
.gift-page .guide-grid .guide-start-label{font-size:clamp(9px,2.65vw,13px)}
.gift-page .guide-quick-panels .guide-start-label{font-size:clamp(8px,2.35vw,11px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-cover{max-width:clamp(30px,8.8vw,50px)}
.gift-page .guide-quick-panels .guide-words-preview .guide-readable-back{width:clamp(32px,8.8vw,48px)}
@media(max-width:359px){.gift-page .guide-free h1,.gift-page .guide-quick-free{font-size:14px;gap:8px}.gift-page .guide-free h1 strong,.gift-page .guide-quick-free strong{font-size:25px;padding-inline:8px}}
@media(max-height:650px) and (max-width:700px){.gift-page .guide-quick-panels{--guide-preview-h:66px}.gift-page .guide-gift{padding-block:8px}.gift-page .guide-gift-heading{grid-template-columns:36px minmax(0,1fr)}.gift-page .guide-gift-heading>.guide-cover{max-width:36px}}

.guide-routes,.guide-operation,.guide-environment{margin:22px 0;padding:22px;border:1px solid var(--line,#ded9ce);border-radius:18px;background:var(--paper,#fffdf7);color:inherit}.guide-routes h2,.guide-operation h2,.guide-environment h2{margin:0 0 16px;font-size:21px;line-height:1.5}.guide-route-eyebrow{font-size:11px;color:var(--muted,#746e61);margin:0 0 5px}.guide-route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-route-grid article{display:flex;flex-direction:column;padding:17px;border-radius:12px;background:color-mix(in srgb,currentColor 3%,transparent);border:1px solid var(--line,#ded9ce)}.guide-route-grid article>span{font-size:11px;color:#8b713b;font-weight:700}.guide-route-grid h3{font-size:15px;line-height:1.7;margin:9px 0}.guide-route-grid p,.guide-route-grid ol,.guide-operation dd,.guide-environment p{font-size:12px;line-height:1.9}.guide-route-grid ol{padding-left:20px;margin:0 0 15px}.guide-route-grid a{margin-top:auto;padding-top:10px;font-size:12px;line-height:1.8;font-weight:700;color:inherit}.guide-routes>small{display:block;margin-top:14px;font-size:10px;line-height:1.7}.guide-operation dl{margin:0;display:grid;grid-template-columns:190px minmax(0,1fr);gap:14px}.guide-operation dt{font-size:12px;font-weight:700;line-height:1.8}.guide-operation dd{margin:0}.guide-environment p{margin:8px 0}:root[data-theme=night] :is(.guide-routes,.guide-operation,.guide-environment){background:#292a2e;border-color:#414247}:root[data-theme=night] .guide-route-grid article{border-color:#505159}:root[data-theme=night] .guide-route-grid article>span{color:#d8bd78}@media(max-width:650px){.guide-routes,.guide-operation,.guide-environment{padding:17px 14px}.guide-route-grid{grid-template-columns:1fr}.guide-route-grid article{padding:15px}.guide-operation dl{grid-template-columns:1fr;gap:5px}.guide-operation dd+dt{margin-top:12px}.guide-routes h2,.guide-operation h2,.guide-environment h2{font-size:19px}}
