/* Primary learning actions, then a quiet, horizontally scrollable utility strip. */
.deck-page-head .page-head{gap:20px;margin-bottom:22px}
.deck-page-head .page-head h1{margin-bottom:0}
.deck-page-head .page-head p{margin-top:10px}
.deck-page-head .deck-primary-actions{display:flex;gap:10px;flex-wrap:nowrap}
.deck-page-head .deck-primary-actions>.button{min-height:48px;min-width:132px;padding:12px 20px;font-size:14px;gap:8px;border-radius:14px}
.deck-page-head .deck-ai-button{background:#eeebfa;border:1px solid #e5dff7;color:#6553b9}
.deck-page-head .deck-ai-button:hover{background:#e7e1f8;border-color:#dcd3f2}
.deck-tools{display:flex;flex-direction:column;align-items:stretch;gap:12px;min-width:0;margin:0 0 22px}
.deck-tools input{width:100%;min-width:0;min-height:48px;border-radius:14px;font-size:16px;padding:12px 15px}
.deck-utility-scroll{display:flex;align-items:center;gap:3px;width:fit-content;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#c9cdbf transparent;padding:5px;background:#fff;border:1px solid #e4e7dd;border-radius:14px}
.deck-utility-scroll>button{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:1 0 auto;min-height:44px;padding:9px 13px;border-radius:10px;color:#5f6b60;font-size:13px;font-weight:550;line-height:1.4;white-space:nowrap;scroll-margin-inline:5px}
.deck-utility-scroll>button:not(:disabled):hover{color:#303b32;background:#f1f4ed}
.deck-utility-scroll>button:not(:disabled):active{background:#e8ede3}
.deck-utility-scroll::-webkit-scrollbar{height:3px}
.deck-utility-scroll::-webkit-scrollbar-thumb{background:#d1d7c8;border-radius:9px}
.deck-utility-scroll .rv-icon{width:17px;height:17px;color:#788570}
.nav-back{display:inline-flex;align-items:center;justify-content:flex-start;gap:9px;min-height:44px;max-width:100%;padding:4px 6px 4px 0;border:0;border-radius:12px;background:transparent;color:#626e63;font-size:13px;font-weight:550;line-height:1.4;text-align:left;text-decoration:none}
.nav-back-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;width:32px;height:32px;border:1px solid #e1e5da;border-radius:11px;background:#fff;color:#63715f}
.nav-back-icon .rv-icon{width:17px;height:17px}
.nav-back:hover{color:#303b32;text-decoration:none}
.nav-back:hover .nav-back-icon{background:#eeeafa;border-color:#e0d9f2;color:#6553b9}
.back-button.nav-back{margin:0 0 19px}
.review-center>.nav-back{display:flex;justify-content:center;margin:20px auto 0}
#payment-content>.nav-back{margin-top:14px}
@media(max-width:640px){
 .deck-page-head .deck-primary-actions>.button{flex:1;min-width:0;padding:12px 15px;font-size:14px}
 .deck-tools{gap:10px;margin-bottom:20px}
 .deck-utility-scroll{width:100%}
 .deck-utility-scroll>button{padding-inline:12px}
 .back-button.nav-back{margin-bottom:17px}
}
@media(forced-colors:active){.nav-back-icon,.deck-utility-scroll{border-color:ButtonText}}

.deck-primary-actions>.button:disabled{opacity:.45;transform:none}
.deck-utility-scroll>button:disabled{opacity:.4;cursor:default}
