
:root{color-scheme:dark;--bg:#0b1320;--card:#141f30;--border:#29384c;--mint:#6ce4c4;--text:#f3f7fc;--muted:#9cacc1}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}body{height:100svh;background:var(--bg);color:var(--text);font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR","Malgun Gothic",sans-serif;display:flex;flex-direction:column}button{font:inherit;color:inherit;cursor:default;min-width:0}button:focus-visible{outline:2px solid var(--mint);outline-offset:-4px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}header{border-bottom:1px solid var(--border);flex:none}.top{max-width:1440px;margin:auto;padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:12px}.brand{display:flex;align-items:center;gap:12px}.brand-icon{background:var(--mint);color:#0b3029;width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.brand-name{font-size:20px;font-weight:800;letter-spacing:1px}.brand-sub{font-size:14px;color:var(--muted);padding-left:14px;border-left:1px solid var(--border)}.version{font-size:12px;color:var(--muted)}main{width:100%;max-width:1440px;margin:0 auto;padding:24px 28px;flex:1;min-height:0;display:flex;flex-direction:column;gap:20px}.intro{flex:none}h1{font-size:28px;line-height:1.3;margin:0 0 5px;letter-spacing:-.8px}.intro p{margin:0;color:var(--muted);font-size:14px}.menu{display:flex;flex-direction:column;gap:20px;flex:1;min-height:0}.exam{flex:0 1 150px;min-height:0;width:100%;padding:22px 28px;background:linear-gradient(110deg,#193b3b,#152635 72%);border:1px solid #35675e;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;text-align:left}.exam-label{font-size:12px;color:var(--mint);font-weight:700;letter-spacing:1.6px}.exam h2{font-size:25px;line-height:1.4;margin:4px 0}.exam p{font-size:14px;color:#b7cfcf;margin:0}.exam-right{display:flex;align-items:center;gap:24px}.exam-modes{display:flex;gap:24px}.exam-mode{display:flex;flex-direction:column;align-items:center}.exam-mode strong{font-size:22px}.exam-mode span{font-size:12px;color:#acc3c6}.exam-mode+.exam-mode{padding-left:24px;border-left:1px solid #39515a}.pending{font-size:12px;white-space:nowrap;color:#c4dfd7;border:1px solid #43605e;padding:8px 12px;border-radius:8px}.parts{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;flex:1;min-height:0}.card{min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:stretch;text-align:left;padding:18px 14px;border:1px solid var(--border);background:var(--card);border-radius:15px;transition:background .2s,border-color .2s}.card:hover{background:#1a293c;border-color:#4c6d75}.exam:hover{border-color:var(--mint)}.card-top{display:flex;justify-content:space-between;gap:5px;flex-wrap:wrap}.part{font-size:12px;letter-spacing:1px;font-weight:750;color:var(--mint)}.count{font-size:12px;color:var(--muted);white-space:nowrap}.card h3{font-size:clamp(15px,1.35vw,20px);line-height:1.4;margin:16px 0 8px;word-break:keep-all}.card p{font-size:13px;color:var(--muted);margin:0;word-break:keep-all}.card-bottom{display:flex;flex-direction:column;gap:6px;margin-top:22px;padding-top:12px;border-top:1px solid var(--border);font-size:12px;color:#8295ae}.card-bottom span:last-child{color:#b1c2d4}.note{flex:none;margin:0;color:var(--muted);font-size:12px;line-height:1.5}
@media(max-width:900px) and (min-width:701px){.top{padding-left:18px;padding-right:18px}main{padding:18px;gap:14px}.parts{gap:7px}.card{padding:12px 9px}.card p{display:none}.exam-right{gap:12px}.pending{display:none}.exam-modes{gap:12px}.exam-mode+.exam-mode{padding-left:12px}}
@media(max-width:700px){.top{padding:10px 16px}.brand{gap:9px}.brand-icon{width:28px;height:28px;border-radius:8px}.brand-name{font-size:17px}.brand-sub{font-size:12px;padding-left:9px}.version{display:none}main{padding:12px 14px calc(10px + env(safe-area-inset-bottom));gap:10px}.intro h1{font-size:22px;margin:0}.intro p{display:none}.menu{display:grid;grid-template-rows:1.25fr repeat(7,minmax(0,1fr));gap:7px}.parts{display:contents}.exam{height:100%;min-height:0;padding:8px 14px;border-radius:11px;display:flex;align-items:center;gap:8px}.exam-label,.exam p,.pending{display:none}.exam h2{font-size:clamp(14px,4vw,17px);margin:0;white-space:nowrap}.exam-right{display:none}.card{height:100%;padding:6px 14px;border-radius:10px;display:grid;grid-template-columns:70px minmax(0,1fr) 48px;gap:10px;align-items:center}.card-top{display:contents}.part{grid-column:1;grid-row:1;font-size:12px;letter-spacing:.7px}.count{grid-column:3;grid-row:1;text-align:right;font-size:12px}.card h3{grid-column:2;grid-row:1;font-size:16px;line-height:1.3;margin:0;white-space:nowrap}.card p,.card-bottom{display:none}.note{font-size:12px;line-height:1.3}}
@media(max-width:360px){.card{grid-template-columns:62px minmax(0,1fr) 43px;gap:6px;padding-left:10px;padding-right:10px}.card h3{font-size:14px}.count{font-size:12px}}
@media(max-height:550px){.top{padding-top:7px;padding-bottom:7px}main{padding-top:8px;padding-bottom:8px;gap:7px}.intro{display:none}.menu{gap:5px}.note{display:none}.card-bottom{display:none}.exam{padding-top:8px;padding-bottom:8px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.parts{grid-template-rows:24px minmax(0,1fr);row-gap:10px}.parts .card{grid-row:2}.group-mark{display:flex;align-items:center;gap:8px;color:var(--mint);font-size:15px;font-weight:750;line-height:1.2}.group-mark svg{width:18px;height:18px;flex:none}.group-name{color:var(--muted);font-size:12px;font-weight:400}.lc-mark{grid-row:1;grid-column:1/5}.rc-mark{grid-row:1;grid-column:5/8}
@media(max-width:700px){.menu{grid-template-rows:1.25fr 20px repeat(4,minmax(0,1fr)) 20px repeat(3,minmax(0,1fr));row-gap:6px}.parts .card{grid-row:auto}.group-mark{grid-row:auto;grid-column:auto;font-size:13px;gap:7px}.group-mark svg{width:16px;height:16px}.group-name{font-size:12px}}
@media(max-width:700px) and (max-height:550px){.menu{row-gap:4px;grid-template-rows:1.25fr 17px repeat(4,minmax(0,1fr)) 17px repeat(3,minmax(0,1fr))}.group-mark svg{width:14px;height:14px}}

/* Refined visual layer: existing viewport grid and menu order remain intact. */
:root{--bg:#09111e;--card:#142134;--border:#29394d;--mint:#77ead0;--muted:#a5b4c9}
body{background:radial-gradient(ellipse at 15% 0%,#12343980,transparent 52%),radial-gradient(ellipse at 100% 90%,#13254570,transparent 55%),#09111e;letter-spacing:-.15px}
header{background:#0b1526b3;border-bottom-color:#ffffff0c}.top{padding-top:18px;padding-bottom:18px}.brand-icon{background:linear-gradient(145deg,#a1f4de,#5adbbd);box-shadow:0 4px 18px #49d5b51f;border-radius:11px}.brand-name{letter-spacing:1.6px}.brand-sub{color:#bed0e3}.version{letter-spacing:1.5px;font-size:11px;color:#93a6be}
main{padding-top:25px;padding-bottom:22px}.intro h1{font-size:30px;font-weight:750;letter-spacing:-1px}.intro p{color:#99aec7;margin-top:7px}
.exam{position:relative;isolation:isolate;background:linear-gradient(115deg,#184743,#152c3b 58%,#18253b);border-color:#66dfba4d;box-shadow:inset 0 1px 0 #d6fff315,0 12px 35px #00000024;border-radius:22px;padding:24px 30px;transition:border-color .2s,box-shadow .2s,background .2s}.exam-label{display:inline-block;color:#9cf2d9;font-size:11px;letter-spacing:2px;margin-bottom:3px}.exam h2{font-size:27px;font-weight:750;letter-spacing:-.65px}.exam p{color:#b2cbc8}.exam-mode strong{font-weight:750;font-size:24px;letter-spacing:-.8px}.exam-mode span{margin-top:3px}.pending{background:#ffffff08;border-color:#bbf8e228;padding:9px 14px;color:#ccebe2}.exam:hover{box-shadow:inset 0 1px 0 #d6fff320,0 12px 35px #00000030;border-color:#77ead080}
.parts{column-gap:13px;row-gap:12px}.group-mark{gap:9px;letter-spacing:.4px}.group-mark svg{color:#88ead2}.rc-mark{color:#a6c9ff}.rc-mark svg{color:#a6c9ff}.group-name{letter-spacing:.6px;color:#93a7bf}
.card{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(160deg,#1a2b40,#101c2d 90%);border-color:#b7d5fa22;border-radius:19px;box-shadow:inset 0 1px 0 #ffffff08,0 8px 20px #00000016;justify-content:flex-start;padding:23px 16px;transition:border-color .2s,background .2s,box-shadow .2s}.card::before{content:"";position:absolute;top:0;left:18px;right:18px;height:2px;background:linear-gradient(90deg,#77ead0a3,#77ead000);border-radius:3px}.card[data-destination=part5]::before,.card[data-destination=part6]::before,.card[data-destination=part7]::before{background:linear-gradient(90deg,#a6c9ffa3,#a6c9ff00)}.card[data-destination=part5] .part,.card[data-destination=part6] .part,.card[data-destination=part7] .part{color:#a6c9ff}.card-top{gap:7px}.part{font-size:12px;letter-spacing:1.1px}.count{font-size:12px;color:#a4b7cd}.index-art{display:block;order:1;margin-top:auto;font-size:clamp(50px,7vw,96px);font-weight:800;line-height:1.1;letter-spacing:-5px;color:#77ead017;text-align:right;user-select:none}.card h3{font-size:clamp(16px,1.5vw,21px);font-weight:700;margin-top:22px;margin-bottom:10px;letter-spacing:-.55px}.card p{color:#a1b4cc;line-height:1.65}.card-bottom{order:2;margin-top:13px;border-top-color:#b7d5fa15;gap:7px}.card-bottom span:last-child{font-size:11px;color:#9aadc4}.card:hover{background:linear-gradient(160deg,#21394e,#152638);border-color:#77ead066;box-shadow:inset 0 1px 0 #ffffff10,0 8px 22px #00000024}.card:active,.exam:active{filter:brightness(.94)}.note{color:#93a7bd;letter-spacing:0}
@media(min-width:701px) and (max-height:650px){.index-art{font-size:44px}.card{padding-top:15px;padding-bottom:15px}.card h3{margin-top:12px}.card-bottom{margin-top:9px}.intro h1{font-size:26px}}
@media(max-width:900px) and (min-width:701px){.card{padding-left:11px;padding-right:11px}.exam{padding:20px}.exam h2{font-size:23px}.intro h1{font-size:27px}}
@media(max-width:700px){.top{padding:11px 16px}.brand-icon{width:29px;height:29px;border-radius:9px}.brand-name{font-size:17px}.brand-sub{font-size:12px}main{padding:13px 15px calc(11px + env(safe-area-inset-bottom));gap:11px}.intro h1{font-size:23px;letter-spacing:-.7px}.intro p{display:none}.exam{padding:8px 15px;border-radius:14px;background:linear-gradient(105deg,#1c4742,#162c3d);box-shadow:inset 0 1px 0 #e3fff312,0 5px 18px #0000001c}.exam h2{font-size:clamp(14px,4vw,17px);letter-spacing:-.3px}.exam-label{display:none}.parts{display:contents}.card{padding:6px 14px;display:grid;justify-content:normal;border-radius:12px;background:linear-gradient(110deg,#182a3e,#111e30);box-shadow:inset 0 1px 0 #ffffff05,0 3px 12px #00000013}.card::before{top:10px;bottom:10px;left:0;right:auto;width:2px;height:auto;background:#77ead076}.card[data-destination=part5]::before,.card[data-destination=part6]::before,.card[data-destination=part7]::before{background:#a6c9ff76}.index-art{display:none}.card h3{font-size:16px;line-height:1.3;margin:0;letter-spacing:-.3px}.part{font-size:12px;letter-spacing:.8px}.count{font-size:12px}.group-mark{font-size:13px;gap:7px}.group-name{font-size:12px}.note{font-size:12px}}
@media(max-width:360px){.card{padding-left:10px;padding-right:10px}.card h3{font-size:14px}}
@media(max-height:550px){.top{padding-top:7px;padding-bottom:7px}main{padding-top:8px;padding-bottom:8px;gap:7px}.intro{display:none}.card-bottom{display:none}.exam{padding-top:8px;padding-bottom:8px}.note{display:none}}

/* Match the mock-exam entry and compact mobile entries to the existing desktop cards. */
.exam{overflow:hidden;background:linear-gradient(160deg,#1a2b40,#101c2d 90%);border:1px solid #b7d5fa22;border-radius:19px;box-shadow:inset 0 1px 0 #ffffff08,0 8px 20px #00000016;padding:23px 26px}
.exam::before{content:"";position:absolute;top:0;left:18px;right:18px;height:2px;background:linear-gradient(90deg,#77ead0a3,#77ead000);border-radius:3px}
.exam:hover{background:linear-gradient(160deg,#21394e,#152638);border-color:#77ead066;box-shadow:inset 0 1px 0 #ffffff10,0 8px 22px #00000024}
.exam-copy,.exam-right{position:relative;z-index:1}.exam-label{font-size:12px;letter-spacing:1.1px;color:var(--mint)}.exam h2{font-size:25px;letter-spacing:-.55px;margin:9px 0 7px}.exam p{font-size:13px;color:#a1b4cc}.exam-art{position:absolute;right:24px;bottom:-15px;color:#77ead00b;font-size:104px;font-weight:800;line-height:1;letter-spacing:-6px;pointer-events:none;user-select:none}
.exam-right{gap:16px}.exam-modes{gap:10px}.exam-mode,.exam-mode+.exam-mode{min-width:92px;align-items:flex-start;border:1px solid #b7d5fa22;border-radius:12px;background:#09111e35;padding:12px 16px;box-shadow:inset 0 1px 0 #ffffff05}.exam-mode strong{font-size:20px;color:var(--mint);letter-spacing:-.2px}.exam-mode:nth-child(2) strong{color:#a6c9ff}.exam-mode span{font-size:12px;color:#a4b7cd;margin-top:3px}.pending{background:none;border:0;padding:0;color:#9aadc4;font-size:12px}
@media(min-width:701px) and (max-width:1050px){.exam{padding:18px 20px}.exam h2{font-size:21px}.exam-mode,.exam-mode+.exam-mode{min-width:76px;padding:10px 12px}.exam-mode strong{font-size:18px}.pending{display:none}}
@media(max-width:700px){
.card,.exam{background:linear-gradient(160deg,#1a2b40,#101c2d 90%);border:1px solid #b7d5fa22;border-radius:19px;box-shadow:inset 0 1px 0 #ffffff08,0 8px 20px #00000016}
.card:hover,.exam:hover{background:linear-gradient(160deg,#21394e,#152638);border-color:#77ead066;box-shadow:inset 0 1px 0 #ffffff10,0 8px 22px #00000024}
.card::before,.exam::before{top:0;bottom:auto;left:18px;right:18px;width:auto;height:2px;background:linear-gradient(90deg,#77ead0a3,#77ead000)}
.card[data-destination=part5]::before,.card[data-destination=part6]::before,.card[data-destination=part7]::before{background:linear-gradient(90deg,#a6c9ffa3,#a6c9ff00)}
.card{padding:6px 15px}.card .index-art{display:block;position:absolute;right:12px;bottom:-9px;font-size:clamp(42px,8svh,70px);line-height:1;letter-spacing:-3px;margin:0;color:#77ead012;order:initial;pointer-events:none;z-index:0}.card[data-destination=part5] .index-art,.card[data-destination=part6] .index-art,.card[data-destination=part7] .index-art{color:#a6c9ff12}.card .part,.card .count,.card h3{position:relative;z-index:1}.card h3{font-weight:700;letter-spacing:-.55px}.exam{padding:8px 15px}.exam h2{font-size:clamp(14px,4vw,17px);margin:0;letter-spacing:-.3px}.exam-art{font-size:clamp(36px,7svh,62px);bottom:-8px;right:13px;letter-spacing:-3px;color:#77ead00f}.exam-label,.exam-right{display:none}
}
@media(max-width:360px){.card{padding-left:10px;padding-right:10px}.card h3{font-size:14px}}
@media(max-width:700px){.intro p{display:block}}

/* Original home styles above are reused verbatim. Layout adapts to functioning submenus. */
html,body{height:auto;min-height:100svh;overflow:visible}body{display:block}main{min-height:0;display:block;padding-bottom:40px}.intro{margin:10px 0 28px}.intro h1{margin:0}.subnav{display:flex;gap:12px;align-items:center;margin-bottom:22px}.subnav button{font:inherit;padding:9px 16px;border:1px solid var(--border);border-radius:10px;background:#142134;color:var(--text);cursor:pointer}.subnav #crumb{color:var(--muted)}[hidden]{display:none!important}a.card{color:var(--text);text-decoration:none;cursor:pointer}.card{cursor:pointer}.card:focus-visible{outline:3px solid var(--mint);outline-offset:3px}.menuGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.menuGrid .menuCard{min-height:220px;padding:25px}.menuGrid .menuCard h3{font-size:25px;margin:22px 0 10px}.menuGrid .index-art{pointer-events:none}.menuGrid .menuCard .index-art{font-size:70px;letter-spacing:-3px}.menuCard.pending{opacity:.6;cursor:default;white-space:normal;font-size:inherit}.menuCard.pending:active{filter:none}.menuCard.pending .part{color:var(--muted)}.menuArrow{color:var(--mint);font-size:22px}.menuGrid .card-bottom{margin-top:15px}.parts{grid-template-rows:25px minmax(300px,1fr);gap:12px}.parts .card{min-height:330px}.parts .card .index-art{font-size:clamp(50px,7vw,96px)}.parts .card-bottom{margin-top:15px}.mockCards .card{min-height:300px}.rc .part,.rc .menuArrow{color:#a6c9ff}.rc::before{background:linear-gradient(90deg,#a6c9ffa3,#a6c9ff00)}.rc .index-art{color:#a6c9ff17}.menuIcon{font-size:24px;line-height:1;margin-right:8px}.menuGrid .card-top{align-items:center}.menuGrid .count{font-size:14px}.card:active{transform:translateY(1px)}
@media(min-width:701px) and (max-width:1050px){.parts{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto;gap:12px}.parts .card{grid-row:auto;min-height:250px}.lc-mark,.rc-mark{grid-column:1/-1;grid-row:auto}.parts .card h3{font-size:18px}.parts .index-art{font-size:70px}}
@media(max-width:700px){main{padding:18px 15px 30px}.intro{display:block;margin:8px 0 24px}.intro h1{font-size:23px}.menuGrid{grid-template-columns:1fr;gap:12px}.menuGrid .menuCard{min-height:80px;padding:15px;grid-template-columns:55px minmax(0,1fr) auto;gap:10px}.menuGrid .menuCard .part{font-size:11px;grid-column:1}.menuGrid .menuCard h3{font-size:17px;margin:0;white-space:normal;grid-column:2}.menuGrid .menuCard .count{grid-column:3;font-size:12px}.menuGrid .menuCard .index-art{position:absolute;right:12px;bottom:-7px;font-size:55px;color:#77ead012}.menuGrid .card-bottom,.menuGrid .menuCard p,.menuIcon{display:none}.parts{display:grid;grid-template-columns:1fr;grid-template-rows:none;gap:12px}.parts .card{min-height:64px;grid-template-columns:77px minmax(0,1fr) 46px;padding:12px 15px;gap:8px}.parts .card h3{font-size:16px;white-space:normal}.parts .card .index-art{font-size:60px}.group-mark{grid-column:1/-1;margin:4px 0}.parts .card-bottom{display:none}.subnav{margin-bottom:20px}.mockCards .menuCard{min-height:105px;grid-template-columns:50px minmax(0,1fr) auto}.mockCards .menuCard h3{font-size:18px}.mockCards .menuCard .count{font-size:13px}.version{display:none}}
@media(max-width:360px){.parts .card{grid-template-columns:67px minmax(0,1fr) 43px;padding:12px 10px;gap:5px}.parts .card h3{font-size:14px}.menuGrid .menuCard{padding:14px 11px}.menuGrid .menuCard h3{font-size:16px}.brand-sub{font-size:11px}}

@media(min-width:1051px){.parts{grid-template-rows:25px clamp(330px,calc(100svh - 330px),580px)}}
.menuCard.pending:hover{background:linear-gradient(160deg,#1a2b40,#101c2d 90%);border-color:#b7d5fa22;box-shadow:inset 0 1px 0 #ffffff08,0 8px 20px #00000016}

/* Card surface is independent of generic notebook .button rules and URL state. */
#menuSub a.card,#menuRoot .card{color:var(--text);text-decoration:none;display:flex;position:relative;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:hidden;min-width:0;border:1px solid #b7d5fa22;border-radius:22px;background:linear-gradient(150deg,#1a2d42,#101b2c);box-shadow:inset 0 1px 0 #ffffff0b,0 8px 22px #0002;padding:24px 18px;cursor:pointer}
#menuSub a.card:visited{color:var(--text)}#menuSub a.card:hover,#menuRoot .card:not(:disabled):hover{border-color:#77ead080;background:linear-gradient(150deg,#20364d,#142338)}
.card .index-art{position:absolute;right:6px;bottom:32px;z-index:-1;opacity:1;pointer-events:none}.card-bottom{position:relative;display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-top:auto!important;padding-top:16px!important}.card-bottom .menuArrow{font-size:23px;color:var(--mint)!important}.rc .card-bottom .menuArrow,[data-destination=part5] .menuArrow,[data-destination=part6] .menuArrow,[data-destination=part7] .menuArrow{color:#a6c9ff!important}
#menuSub .mockCount{font-size:clamp(58px,6vw,100px);line-height:1.1;display:block;margin:18px 0 16px}.mockCount small{font-size:13px;display:block;margin-top:9px;color:var(--muted)}
#menuSub.mockCards .card{height:clamp(440px,calc(100svh - 260px),740px);min-height:440px;padding:34px}.mockCards .index-art{font-size:clamp(100px,15vw,240px)!important;bottom:34px}.mockCards .card h3{font-size:clamp(28px,3.3vw,48px);margin:25px 0 0}.mockCards .card p{font-size:15px}.menuGrid .card p{margin:8px 0 24px}.menuGrid .card-bottom{min-height:36px}
#menuRoot .pending{cursor:default}#menuRoot .index-art{font-size:70px;bottom:30px}.parts .card h3{font-size:clamp(16px,1.5vw,22px)}
@media(min-width:701px) and (max-width:1050px){.mockCards{grid-template-columns:repeat(3,minmax(0,1fr))}#menuSub.mockCards .card{padding:22px;min-height:390px;height:450px}.mockCards .index-art{font-size:100px!important}}
@media(max-width:700px){#menuSub a.card,#menuRoot .card{display:flex;min-height:125px;height:auto;padding:20px 84px 16px 20px;border-radius:20px;gap:0}#menuSub .card h3,#menuRoot .card h3{font-size:19px;line-height:1.3;margin:7px 0 5px;white-space:normal}#menuSub .card-top,#menuRoot .card-top{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px}.card .part{font-size:11px}.card .count{font-size:11px}#menuSub .card p,#menuRoot .card p{display:block;font-size:12px;line-height:1.5;margin:0 0 12px}.card .index-art,#menuRoot .index-art{right:10px;bottom:22px;font-size:80px!important;color:#77ead019}.rc .index-art,[data-destination=part5] .index-art,[data-destination=part6] .index-art,[data-destination=part7] .index-art{color:#a6c9ff19!important}#menuSub .card-bottom,#menuRoot .card-bottom{display:flex;font-size:11px;padding-top:9px!important;min-height:25px;margin-right:-64px}.card .menuArrow{font-size:21px}.menuIcon{display:inline;font-size:17px}#menuSub.mockCards .card{height:auto;min-height:195px;padding:23px 88px 18px 23px}#menuSub .mockCount{font-size:38px;margin:6px 0}.mockCount small{display:inline;margin-left:6px;font-size:12px}.mockCards .index-art{font-size:100px!important;right:0;bottom:20px}.parts .card{grid-row:auto}#menuRoot .index-art{font-size:46px!important}.menuGrid .card-bottom{display:flex}.brand-sub{max-width:95px}.intro{margin-bottom:22px}}
@media(max-width:360px){#menuSub a.card,#menuRoot .card{padding-left:16px;padding-right:76px}#menuSub .card h3,#menuRoot .card h3{font-size:17px}.brand{gap:7px}.brand-name{font-size:17px}.brand-sub{padding-left:7px;font-size:10px}}

/* One standalone home control immediately precedes every selection surface. */
main>.subnav{margin:0 0 20px;padding:0;justify-content:flex-start}.subnav #backHome{height:44px;min-width:80px;padding:9px 20px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;background:linear-gradient(145deg,#1a2d42,#101b2c);border:1px solid #77ead04d;border-radius:12px;color:var(--mint);cursor:pointer}.subnav #backHome:hover{border-color:var(--mint)}
@media(max-width:700px){main>.subnav{margin-bottom:16px}.subnav #backHome{height:44px;min-width:80px}}

#menuRoot .card-bottom{justify-content:flex-end}

/* Only the initial six-menu surface fits the visual viewport. Submenus keep scrolling. */
body.home-root{height:var(--home-height,100dvh);min-height:0;display:flex;flex-direction:column}
body.home-root header{flex:none;padding-inline-end:0!important}
body.home-root .top{padding:12px max(16px,env(safe-area-inset-left));}
body.home-root main{flex:1;min-height:0;display:flex;flex-direction:column;margin:0 auto;padding:clamp(10px,2vh,24px) max(14px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-bottom));}
body.home-root #menuRoot{flex:1;min-height:0;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:clamp(8px,1.6vh,18px)}
body.home-root #menuRoot .card{height:auto;min-height:0;padding:clamp(12px,2vh,28px);display:flex;justify-content:flex-start}
body.home-root #menuRoot .card h3{font-size:clamp(18px,2vw,28px);margin:clamp(8px,2vh,24px) 0 8px}
body.home-root #menuRoot .card p{margin:0 0 8px;font-size:13px}
body.home-root #menuRoot .card-bottom{padding-top:10px!important;min-height:25px}
@media(max-width:700px){body.home-root #menuRoot{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:10px}body.home-root #menuRoot .card{padding:12px}body.home-root #menuRoot .card h3{font-size:17px;margin:10px 0 7px;word-break:keep-all}body.home-root #menuRoot .card p{font-size:11px;line-height:1.4}body.home-root #menuRoot .card .index-art{font-size:36px!important;bottom:25px;right:5px}body.home-root #menuRoot .card-top{gap:7px}body.home-root #menuRoot .card-bottom{margin-right:0}body.home-root .top{padding-top:max(8px,env(safe-area-inset-top));padding-bottom:8px}body.home-root main{padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}}
@media(max-height:570px){body.home-root #menuRoot .card{padding:10px}body.home-root #menuRoot .card h3{font-size:16px;margin:6px 0}body.home-root #menuRoot .card p{font-size:11px;margin-bottom:4px}body.home-root #menuRoot .card-bottom{min-height:21px;padding-top:5px!important}body.home-root #menuRoot .card .index-art{font-size:30px!important;bottom:18px}body.home-root .official-mark{width:30px!important;height:30px!important;flex-basis:30px}body.home-root main{padding-top:8px;padding-bottom:8px}body.home-root #menuRoot{gap:7px}}
@media(max-width:700px) and (max-height:450px){body.home-root #menuRoot{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}body.home-root #menuRoot .card h3{font-size:14px}body.home-root #menuRoot .card p{font-size:10px}}

html:has(body.home-root){height:var(--home-height,100dvh);min-height:0}

/* Menu names only: decorations and other card contents retain their anchors. */
body.home-root #menuRoot .card h3{text-align:center;width:100%;font-size:clamp(22px,2.2vw,32px);line-height:1.25}
@media(max-width:700px){body.home-root #menuRoot .card h3{font-size:20px;letter-spacing:-.75px}}
@media(max-width:360px){body.home-root #menuRoot .card h3{font-size:18px}}
@media(max-width:700px) and (max-height:450px){body.home-root #menuRoot .card h3{font-size:16px}}
/* Notebook part selection alone fits the current visual viewport. */
html:has(body.home-notes){height:var(--home-height,100dvh);min-height:0}
body.home-notes{height:var(--home-height,100dvh);min-height:0;display:flex;flex-direction:column}
body.home-notes header{flex:none}.home-notes .top,.home-study .top{padding:16px 20px}
body.home-notes main{flex:1;min-height:0;display:flex;padding:14px 18px max(14px,env(safe-area-inset-bottom));width:100%}
body.home-notes #menuSub{flex:1;min-height:0;grid-template-rows:24px minmax(0,1fr);gap:12px}
body.home-notes #menuSub .card{height:auto;min-height:0}
@media(min-width:1051px){body.home-study main{max-width:1800px;min-height:calc(100svh - 90px);display:flex;align-items:center;padding:26px 20px}body.home-study #menuSub{width:100%;grid-template-rows:25px clamp(380px,calc(100svh - 170px),720px);gap:16px}body.home-study #menuSub .card{min-height:380px;padding:30px 20px}}
@media(min-width:701px) and (max-width:1050px){body.home-notes #menuSub{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:22px minmax(0,1fr) 22px minmax(0,1fr);gap:10px}body.home-notes #menuSub .group-mark{grid-column:1/-1}body.home-notes #menuSub .card{padding:16px 12px}body.home-notes #menuSub .card p{font-size:12px}body.home-notes #menuSub .index-art{font-size:60px}}
@media(max-width:700px){body.home-notes .top{padding:12px 14px}body.home-notes main{padding:10px 12px max(10px,env(safe-area-inset-bottom))}body.home-notes #menuSub{grid-template-columns:1fr;grid-template-rows:18px repeat(4,minmax(0,1fr)) 18px repeat(3,minmax(0,1fr));gap:6px}body.home-notes #menuSub .group-mark{margin:0;font-size:12px}body.home-notes #menuSub .card{padding:8px 12px;display:grid;grid-template-columns:70px minmax(0,1fr) 18px;align-content:center;gap:0 8px;border-radius:15px}body.home-notes #menuSub .card-top{grid-column:1;grid-row:1/3;display:block}body.home-notes #menuSub .card h3{grid-column:2;grid-row:1;font-size:16px;margin:0;line-height:1.25}body.home-notes #menuSub .card p{grid-column:2;grid-row:2;font-size:10px;margin:3px 0 0;line-height:1.2}body.home-notes #menuSub .count{display:none}body.home-notes #menuSub .card-bottom{display:flex;grid-column:3;grid-row:1/3;margin:0!important;padding:0!important;border:0;min-height:0}body.home-notes #menuSub .card-bottom>span:first-child{display:none}body.home-notes #menuSub .index-art{font-size:42px!important;bottom:4px}body.home-notes #menuSub .part{font-size:11px;letter-spacing:.3px}}
@media(max-width:700px) and (max-height:450px){body.home-notes #menuSub{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:20px minmax(0,1fr) 20px minmax(0,1fr)}body.home-notes #menuSub .group-mark{grid-column:1/-1}body.home-notes #menuSub .card{display:flex;padding:8px;gap:3px}body.home-notes #menuSub .card h3{font-size:14px}body.home-notes #menuSub .card p{font-size:10px}body.home-notes #menuSub .card-bottom{position:absolute;right:8px;bottom:5px}body.home-notes #menuSub .index-art{font-size:35px!important}}
@media(max-width:700px) and (min-height:451px) and (max-height:600px){body.home-notes #menuSub .card{padding-top:3px;padding-bottom:3px}body.home-notes #menuSub .card h3{font-size:15px}body.home-notes #menuSub .card p{margin-top:2px;font-size:10px}body.home-notes #menuSub .index-art{font-size:34px!important}}
body.home-study .top,body.home-notes .top{max-width:1480px;padding:clamp(10px,2vh,22px) 24px}
@media(max-width:700px){body.home-study .top,body.home-notes .top{padding:10px 14px}}

/* The mobile study picker reuses the notebook picker geometry, with its own labels. */
@media(max-width:700px){
/* Notebook part selection alone fits the current visual viewport. */
html:has(body.home-study){height:var(--home-height,100dvh);min-height:0}
body.home-study{height:var(--home-height,100dvh);min-height:0;display:flex;flex-direction:column}
body.home-study header{flex:none}.home-study .top,.home-study .top{padding:16px 20px}
body.home-study main{flex:1;min-height:0;display:flex;padding:14px 18px max(14px,env(safe-area-inset-bottom));width:100%}
body.home-study #menuSub{flex:1;min-height:0;grid-template-rows:24px minmax(0,1fr);gap:12px}
body.home-study #menuSub .card{height:auto;min-height:0}
@media(max-width:700px){body.home-study .top{padding:12px 14px}body.home-study main{padding:10px 12px max(10px,env(safe-area-inset-bottom))}body.home-study #menuSub{grid-template-columns:1fr;grid-template-rows:18px repeat(4,minmax(0,1fr)) 18px repeat(3,minmax(0,1fr));gap:6px}body.home-study #menuSub .group-mark{margin:0;font-size:12px}body.home-study #menuSub .card{padding:8px 12px;display:grid;grid-template-columns:70px minmax(0,1fr) 18px;align-content:center;gap:0 8px;border-radius:15px}body.home-study #menuSub .card-top{grid-column:1;grid-row:1/3;display:block}body.home-study #menuSub .card h3{grid-column:2;grid-row:1;font-size:16px;margin:0;line-height:1.25}body.home-study #menuSub .card p{grid-column:2;grid-row:2;font-size:10px;margin:3px 0 0;line-height:1.2}body.home-study #menuSub .count{display:none}body.home-study #menuSub .card-bottom{display:flex;grid-column:3;grid-row:1/3;margin:0!important;padding:0!important;border:0;min-height:0}body.home-study #menuSub .card-bottom>span:first-child{display:none}body.home-study #menuSub .index-art{font-size:42px!important;bottom:4px}body.home-study #menuSub .part{font-size:11px;letter-spacing:.3px}}
@media(max-width:700px) and (max-height:450px){body.home-study #menuSub{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:20px minmax(0,1fr) 20px minmax(0,1fr)}body.home-study #menuSub .group-mark{grid-column:1/-1}body.home-study #menuSub .card{display:flex;padding:8px;gap:3px}body.home-study #menuSub .card h3{font-size:14px}body.home-study #menuSub .card p{font-size:10px}body.home-study #menuSub .card-bottom{position:absolute;right:8px;bottom:5px}body.home-study #menuSub .index-art{font-size:35px!important}}
@media(max-width:700px) and (min-height:451px) and (max-height:600px){body.home-study #menuSub .card{padding-top:3px;padding-bottom:3px}body.home-study #menuSub .card h3{font-size:15px}body.home-study #menuSub .card p{margin-top:2px;font-size:10px}body.home-study #menuSub .index-art{font-size:34px!important}}

}
body.home-root #menuRoot .menu-copy{position:absolute;left:12px;right:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}
body.home-root #menuRoot .menu-copy h3{margin:0!important;width:100%;text-align:center}
body.home-root #menuRoot .menu-copy p{margin:0!important;width:100%;text-align:center;line-height:1.4}
body.home-root #menuRoot .card-top{flex:none}body.home-root #menuRoot .card-bottom{margin-top:auto!important}
body.home-study #menuSub .card h3{font-size:clamp(19px,1.7vw,25px)}
body.home-notes #menuSub .count{color:#f3f7fc;font-size:18px;font-weight:700}
@media(max-width:700px){body.home-study #menuSub .card h3,body.home-notes #menuSub .card h3{font-size:18px}body.home-notes #menuSub .count{display:block;line-height:1.3;margin-top:2px;font-size:14px}body.home-notes #menuSub .card-top{align-self:center}body.home-study #menuSub .card-top{grid-column:1;grid-row:1/3;display:block}body.home-study #menuSub .card .count{display:none}}
@media(max-width:700px) and (max-height:600px){body.home-study #menuSub .card h3,body.home-notes #menuSub .card h3{font-size:16px}body.home-root #menuRoot .menu-copy{gap:4px}}
@media(max-width:700px) and (max-height:450px){body.home-study #menuSub .card h3,body.home-notes #menuSub .card h3{font-size:15px}body.home-notes #menuSub .count{font-size:13px;margin-top:0}body.home-notes #menuSub .card-top{display:flex;justify-content:space-between;align-self:stretch;gap:4px}}
@media(max-width:700px){body.home-notes #menuSub .card-top,body.home-study #menuSub .card-top{font-size:11px;line-height:1.2}body.home-notes #menuSub .card-top .part,body.home-study #menuSub .card-top .part{display:block;line-height:1.2}}
@media(max-width:700px){body.home-study .top,body.home-notes .top{padding:10px 14px}}

/* Mobile notebook label: centered in the right half; geometry stays unchanged. */
@media(max-width:700px){body.home-notes #menuSub .card .count{position:absolute;left:50%;width:50%;top:50%;transform:translateY(-50%);text-align:center;margin:0;padding:0 22px;box-sizing:border-box;font-size:16px;line-height:1.2}body.home-notes #menuSub .card h3,body.home-notes #menuSub .card p{position:absolute;left:90px;right:51%;max-width:none}body.home-notes #menuSub .card h3{top:calc(50% - 11px);transform:translateY(-50%);font-size:15px}body.home-notes #menuSub .card p{top:calc(50% + 10px);transform:translateY(-50%);font-size:10px;margin:0}body.home-notes #menuSub .index-art{opacity:.045}}
@media(max-width:360px){body.home-notes #menuSub .card h3,body.home-notes #menuSub .card p{left:77px;font-size:13px}body.home-notes #menuSub .card p{font-size:9px}body.home-notes #menuSub .card .count{font-size:15px}}
@media(max-width:700px) and (max-height:450px){body.home-notes #menuSub .card .part{font-size:10px}body.home-notes #menuSub .card h3{left:8px;right:50%;top:55%;font-size:12px}body.home-notes #menuSub .card p{left:8px;right:50%;top:75%;font-size:9px}body.home-notes #menuSub .card .count{font-size:13px;padding:0 6px}}
@media(max-width:700px){body.home-notes #menuSub .card-top{position:static}body.home-notes #menuSub .card .count{right:auto;height:auto}}
@media(max-width:700px){body.home-notes #menuSub .card .count,body.home-notes #menuSub .card h3,body.home-notes #menuSub .card p{grid-area:auto}}

@media(min-width:701px){body.home-notes #menuSub .card>.count{display:block;position:static;grid-area:auto;margin-top:18px;margin-bottom:12px;font-size:18px;line-height:1.4}}

/* LC destination placeholders intentionally have no navigation handler. */
.voice-entry{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1120px;margin:auto}.voiceCard{min-height:300px}.voice-select{width:100%;max-width:1500px;margin:0 auto}.voice-part-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:20px}.voice-part-grid .card{min-width:0;width:100%;min-height:340px;text-align:left}.voice-back{padding:10px 20px;border:1px solid #34536a;border-radius:12px;color:#eff7ff;background:#16273b}.voice-part-grid .card h3{font-size:clamp(20px,2vw,27px)}
@media(max-width:700px){.voice-entry{grid-template-columns:1fr;gap:14px}.voiceCard{min-height:180px}.voice-part-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.voice-part-grid .card{height:auto;min-height:190px;padding:18px 14px;display:flex;flex-direction:column;align-items:stretch}.voice-part-grid .card h3{font-size:22px;margin:16px 0 8px}.voice-part-grid .card .part{font-size:15px}.voice-part-grid .card .count{display:none}.voice-part-grid .card p{font-size:13px;line-height:1.45}.voice-part-grid .card-bottom{margin-top:auto;padding-top:12px;font-size:12px}.voice-part-grid .index-art{font-size:75px;right:12px;bottom:28px;opacity:.08}}

/* 2026-10-08: one home card per menu, responsive order only. */
body.home-root .menu-program-name{display:inline!important}
body.home-root .top{padding-right:108px!important;min-height:58px}
body.home-root header{padding-inline-end:0!important}
body.home-root #menuRoot [data-menu=mock]{order:1}
body.home-root #menuRoot [data-menu=study]{order:2}
body.home-root #menuRoot [data-menu=notes]{order:3}
body.home-root #menuRoot [data-menu=paper]{order:4}
body.home-root #menuRoot [data-menu=voice]{order:5}
body.home-root #menuRoot [data-menu=word]{order:6}
body.home-root #menuRoot .menu-copy{left:12px;right:12px;top:50%;transform:translateY(-50%)}
body.home-root #menuRoot .menu-copy h3{margin:0!important}
.voice-entry{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.voice-entry .voiceCard{width:100%;height:clamp(300px,65svh,650px);display:flex;flex-direction:column;padding:30px;text-align:left}
.voice-entry .voiceCard h3{font-size:clamp(28px,3vw,42px)}
.voice-entry .voiceCard:disabled{cursor:default;opacity:1}
@media(max-width:700px){
body.home-root .top{min-height:50px;padding-right:98px!important}
body.home-root #menuRoot [data-menu=paper]{order:2}
body.home-root #menuRoot [data-menu=study]{order:3}
body.home-root #menuRoot [data-menu=voice]{order:4}
body.home-root #menuRoot [data-menu=notes]{order:5}
.voice-entry{grid-template-columns:1fr;gap:14px}
.voice-entry .voiceCard{height:clamp(180px,32svh,320px);min-height:160px;padding:24px}
.voice-entry .voiceCard h3{font-size:28px}
}

#menuSub.voice-entry .voiceCard{position:relative;isolation:isolate;overflow:hidden;border:1px solid #b7d5fa22;border-radius:22px;background:linear-gradient(150deg,#1a2d42,#101b2c);box-shadow:inset 0 1px 0 #ffffff0b,0 8px 22px #0002}
#menuSub.voice-entry .voiceCard h3{font-size:clamp(28px,3vw,42px)}
#menuSub.voice-entry .voiceCard .index-art{font-size:clamp(70px,10vw,145px);right:12px;bottom:35px}
@media(max-width:700px){#menuSub.voice-entry .voiceCard h3{font-size:28px}#menuSub.voice-entry .voiceCard .index-art{font-size:78px!important}}
/* Decorations retain their corners; only the title occupies the center. */
body.home-root #menuRoot .card-top{position:absolute;left:12px;right:12px;top:10px}
body.home-root #menuRoot .card-bottom{position:absolute;left:12px;right:12px;bottom:10px;margin:0!important}
@media(max-width:700px) and (max-height:570px){body.home-root #menuRoot .card-top{top:7px}body.home-root #menuRoot .card-bottom{bottom:6px;border-top:0;min-height:18px;padding-top:0!important}}

/* First home has no navigation controls or reserved control space. */
body.home-root .top{padding-right:max(16px,env(safe-area-inset-right))!important}
@media(max-width:700px){
 body.home-root .top{padding-right:max(14px,env(safe-area-inset-right))!important}
 body.home-notes #menuSub .card .count{left:54%;width:46%;padding-left:8px;padding-right:24px}
 body.home-notes #menuSub .card h3{top:calc(50% - 6px)}
 body.home-notes #menuSub .card p{top:calc(50% + 15px)}
}
@media(max-width:700px) and (max-height:450px){
 body.home-notes #menuSub .card h3{top:calc(55% + 2px)}
 body.home-notes #menuSub .card p{top:calc(75% + 2px)}
}

/* LC entry uses the available content area, then the same four native LC cards. */
body.home-voice{height:var(--home-height,100dvh);min-height:0;display:flex;flex-direction:column}
body.home-voice header{flex:none}
body.home-voice main{width:100%;flex:1;min-height:0;display:flex;padding:18px max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-bottom))}
body.home-voice #menuSub{width:100%;flex:1;min-height:0;display:grid;align-items:stretch}
body.home-voice .voice-entry{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:20px}
body.home-voice #menuSub .voiceCard{height:auto;min-height:0;max-height:none;padding:clamp(22px,4vw,48px);cursor:pointer}
body.home-voice .voice-entry .card-bottom{margin-top:auto}
body.home-voice .voice-part-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:18px}
body.home-voice .voice-part-grid .card{height:auto;min-height:0;display:flex;flex-direction:column;text-align:left;opacity:1}
body.home-voice .voice-purpose{display:block;color:var(--mint);font-size:18px;font-weight:750;margin:0 0 12px}
@media(max-width:700px){
 body.home-voice main{padding:10px 12px max(12px,env(safe-area-inset-bottom))}
 body.home-voice .voice-entry{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
 body.home-voice .voice-part-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
 body.home-voice .voice-part-grid .card{padding:16px 12px;border-radius:19px}
 body.home-voice .voice-part-grid .index-art{display:block;font-size:clamp(44px,12vw,78px)!important;position:absolute;right:10px;bottom:45px}
 body.home-voice .voice-part-grid .card h3{margin:14px 0 8px;font-size:18px}
 body.home-voice .voice-part-grid .card p{font-size:11px;line-height:1.45;margin:0}
 body.home-voice .voice-part-grid .card-bottom{display:flex;margin-top:auto;z-index:1}
 body.home-voice .voice-purpose{font-size:16px;margin-bottom:10px}
}
@media(max-height:500px){
 body.home-voice .voice-entry{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr)}
 body.home-voice .voice-part-grid{gap:8px}
 body.home-voice .voice-part-grid .card{padding:10px}
 body.home-voice .voice-part-grid .card h3{margin:6px 0;font-size:15px}
 body.home-voice .voice-part-grid .card p{font-size:10px}
 body.home-voice .voice-part-grid .index-art{font-size:36px!important;bottom:8px}
 body.home-voice .voice-purpose{font-size:13px;margin-bottom:4px}
 body.home-voice .voice-part-grid .card-bottom{margin-top:auto;padding-top:5px}
}
@media(max-width:700px){
 body.home-voice .top{padding:10px 12px;min-width:0}
 body.home-voice .brand{display:grid;grid-template-columns:34px minmax(0,1fr);column-gap:9px;row-gap:0;min-width:0;width:100%}
 body.home-voice .brand .official-mark{grid-column:1;grid-row:1/3;margin:0}
 body.home-voice .menu-program-name{grid-column:2;grid-row:1}
 body.home-voice .menu-section-title{grid-column:2;grid-row:2;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
}
/* LC selection heading uses the common type settings on one line. */
body.home-voice-entry .brand{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0}
body.home-voice-entry .brand .official-mark{margin:0;flex-shrink:0}
body.home-voice-entry .menu-program-name,body.home-voice-entry .menu-section-title{white-space:nowrap;overflow-wrap:normal;flex-shrink:0}
@media(max-width:480px){body.home-voice-entry header{padding-inline-end:0!important}body.home-voice-entry .top{padding-top:48px;padding-inline:12px}body.home-voice-entry .brand{gap:5px}}

#menuSub.voice-entry .voiceCard h3{position:absolute;inset:50% 18px auto;margin:0;transform:translateY(-50%);text-align:center;z-index:2;line-height:1.3}

/* Keep the two LC part-selection headings on a single text line.
   On narrow phones the fixed navigation controls occupy their own top row. */
body.home-voice-parts .brand{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;min-width:0;width:auto}
body.home-voice-parts .brand .official-mark{margin:0;flex-shrink:0}
body.home-voice-parts .menu-program-name,body.home-voice-parts .menu-section-title{white-space:nowrap;overflow-wrap:normal;flex-shrink:0}
@media(max-width:480px){
 body.home-voice-parts header{padding-inline-end:0!important}
 body.home-voice-parts .top{padding-top:calc(48px + env(safe-area-inset-top));padding-inline:12px;gap:0}
 body.home-voice-parts .brand{gap:5px}
}

