.sc-nav{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 24px}.sc-nav a{padding:8px 12px;border:1px solid #dee2e6;border-radius:20px;color:inherit}.sc-page{max-width:1150px;margin:auto;padding:8px 8px 40px}.sc-page h1{font-size:28px;margin-bottom:16px}.sc-page h2{font-size:18px;margin:10px 0}.sc-filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end;padding:18px;background:var(--card-bg,#f6f7f9);border-radius:12px;margin-bottom:24px}.sc-page label{display:flex;flex-direction:column;gap:5px;font-weight:600;font-size:13px}.sc-filters label{flex:1 1 130px}.sc-page input:not([type=checkbox]),.sc-page select,.sc-page textarea{width:100%;padding:10px;border:1px solid #cdd4dc;border-radius:6px;color:inherit;background:var(--body-bg,#fff);min-height:42px}.sc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:22px}.sc-card{border:1px solid #e3e7eb;border-radius:12px;padding:12px;min-width:0}.sc-cover{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#edf0f5;border-radius:8px;overflow:hidden;font-size:60px}.sc-cover img{width:100%;height:100%;object-fit:cover}.sc-card h2{font-size:17px}.sc-card p{color:#657383}.sc-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}.sc-actions form{margin:0}.sc-status{display:inline-block;background:#e7f6ed;color:#176b36;padding:8px;border-radius:6px}.sc-row{display:flex;gap:16px;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e7eb;padding:16px 0;flex-wrap:wrap}.sc-row h2{margin:0}.sc-thumb{width:64px;height:64px;object-fit:cover;border-radius:6px}.sc-order{padding:20px;border:1px solid #dfe5eb;border-radius:12px;margin:18px 0}.sc-order header{display:flex;gap:16px;flex-wrap:wrap;justify-content:space-between}.sc-form{display:grid;gap:16px;max-width:650px;margin:20px 0}.sc-form details label{margin:12px 0}.sc-form textarea{min-height:100px}.sc-page summary{cursor:pointer;padding:8px 0;font-weight:600}.sc-price{font-size:22px;margin:20px 0}.sc-price del{font-size:16px;color:#657383}.sc-empty{padding:40px 20px;text-align:center;background:var(--card-bg,#f6f7f9);border-radius:12px}.sc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.sc-stats div{border:1px solid #dfe5eb;border-radius:10px;padding:18px;display:grid;gap:8px}.sc-stats strong{font-size:23px}.sc-scroll{overflow:auto}.sc-page code{overflow-wrap:anywhere}.sc-page fieldset label{display:block;margin:8px 0}.sc-page .btn{white-space:normal}.sc-page .table{min-width:600px}@media(max-width:650px){.sc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sc-card{padding:8px}.sc-card .btn{font-size:12px}.sc-stats{grid-template-columns:1fr}.sc-order{padding:12px}.sc-page h1{font-size:24px}}@media print{.sc-nav,.sc-no-print,.side-menu,#sound-container{display:none!important}.sc-page{max-width:none}.sc-order{break-inside:avoid}}
.sc-cover{position:relative}.sc-cover .paid-track-badge{position:absolute;left:8px;bottom:8px;right:auto;top:auto}

.sc-cover-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}

/* Shared by the order page and the payment modal, including AJAX navigation. */
.bpm-checkout{box-sizing:border-box;width:100%;max-width:720px;min-width:0;margin:20px 0;font-size:15px;line-height:1.5;color:var(--body-color,#263747)}
.bpm-checkout *{box-sizing:border-box}
.bpm-summary{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;padding:18px;border:1px solid #dfe5eb;border-radius:12px;background:var(--card-bg,#f6f7f9)}
.bpm-summary-copy{flex:1 1 180px;min-width:0;overflow-wrap:anywhere}
.bpm-summary-copy>span,.bpm-amount>span{display:block;font-size:13px;color:#556371}
.bpm-summary h3{font-size:20px;margin:4px 0;line-height:1.3}
.bpm-amount{min-width:0;overflow-wrap:anywhere}
.bpm-amount strong{display:block;font-size:25px;line-height:1.3}
.bpm-amount small{font-size:14px;margin-left:6px}
.bpm-plan{padding:16px 0;border-bottom:1px solid #dfe5eb;overflow-wrap:anywhere}
.bpm-plan p{margin:6px 0 10px}.bpm-plan small{display:block}
.bpm-options-label{font-weight:700;margin:20px 0 12px}
.bpm-options{display:grid;gap:16px}.bpm-option-form{min-width:0;margin:0}
.bpm-option{display:flex;align-items:center;gap:12px;width:100%;max-width:100%;min-height:72px;padding:14px;text-align:left;background:var(--body-bg,#fff);color:inherit;border:1px solid #9caab8;border-radius:10px;cursor:pointer;font:inherit;white-space:normal}
.bpm-option-primary{border:2px solid #ed9700}.bpm-option:hover{border-color:#b36a00;background:#fff8e9;color:#263747}
.bpm-option:focus-visible,.sc-page a:focus-visible,.sc-page button:focus-visible,.sc-nav a:focus-visible{outline:3px solid #9c5c00;outline-offset:3px}
.bpm-option:disabled{opacity:.65;cursor:wait}
.bpm-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#fff0d4;color:#925900}
.bpm-checkout svg{display:block;width:24px;height:24px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bpm-option-copy{flex:1;min-width:0;overflow-wrap:anywhere}.bpm-option-copy>strong,.bpm-option-copy>span{display:block}.bpm-option-copy>span{font-size:13px;margin-top:4px}
.bpm-checkout .bpm-arrow{width:18px;height:18px}
.bpm-option-note{font-size:13px;margin:8px 4px 0;color:#556371}
.bpm-error{color:#a12020;overflow-wrap:anywhere;margin:10px 0 0}.bpm-error:empty{display:none}
.bpm-test-note{padding:12px;background:#fff2cd;border-radius:8px;margin:0;color:#654b00}
.bpm-footer{display:flex;align-items:center;gap:8px;font-size:13px;color:#556371;margin-top:20px}
.bpm-checkout .bpm-footer svg{width:18px;height:18px}
.sc-page{min-width:0}.sc-page h1,.sc-page h2,.sc-row>div,.sc-row>span,.sc-order header>*{min-width:0;overflow-wrap:anywhere}
.sc-page .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
.sc-page .btn-outline-secondary{color:#405262;border-color:#98a6b4;background:var(--body-bg,#fff)}
.sc-page .btn-outline-secondary:hover{color:#263747;background:#edf1f5}
.sc-page input:not([type=checkbox]),.sc-page select,.sc-page textarea{max-width:100%;box-sizing:border-box}
@media(max-width:650px){
 .sc-page{padding:8px 12px 120px;font-size:15px;line-height:1.5}
 .sc-page .btn,.sc-nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;font-size:14px;line-height:1.4}
 .sc-nav{gap:6px;padding:0 8px;margin-bottom:20px}
 /* main.css forces 13px with !important, including focused inputs. */
 .sc-page input:not([type=checkbox]),.sc-page select,.sc-page textarea{font-size:16px!important;min-height:44px}
 .sc-page input:focus-visible,.sc-page select:focus-visible,.sc-page textarea:focus-visible{outline:2px solid #9c5c00!important;outline-offset:2px}
 .sc-filters{gap:12px;padding:14px}.sc-filters label{min-width:0;flex-basis:140px}
 .sc-card .sc-actions{align-items:stretch;flex-direction:column}.sc-card .sc-actions form,.sc-card .sc-actions .btn{width:100%}
 .sc-cover .paid-track-badge{min-height:0;white-space:nowrap}
 .sc-row .sc-actions{width:100%;align-items:stretch}.sc-row .sc-actions>*{flex:1 1 120px}.sc-row .sc-actions form>.btn{width:100%}
 .sc-form>button{width:100%}.sc-page summary{min-height:44px;padding:12px 0}
 .sc-order header{gap:8px 16px}.sc-order header>*{flex:1 1 120px}
 .bpm-checkout{font-size:15px}.bpm-summary{padding:14px;gap:12px}.bpm-summary-copy{flex-basis:140px}.bpm-option{padding:12px;gap:10px}.bpm-icon{flex-basis:32px;width:32px;height:32px}
}
@media(max-width:359px){.sc-grid{grid-template-columns:1fr}.sc-filters label{flex-basis:100%}.sc-filters>.btn{width:100%}}
@media(min-width:651px) and (max-width:1024px){.sc-page input:not([type=checkbox]),.sc-page select,.sc-page textarea{font-size:16px!important;min-height:44px}}

/* One content frame and one navigation rhythm across every store screen. */
html:has(.sc-nav-wrap){scrollbar-gutter:stable}
.sc-nav-wrap,.sc-page{box-sizing:border-box;width:100%;max-width:1150px;margin-left:auto;margin-right:auto}
.sc-nav-wrap{padding:0 24px;margin-top:20px;margin-bottom:24px}
.sc-nav{position:relative;display:flex;flex-wrap:nowrap;gap:6px;margin:0;padding:4px 0 12px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;border-bottom:1px solid #e0e5ea}
.sc-nav a{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:500;line-height:1.4;white-space:nowrap;color:var(--body-color,#405262)}
.sc-nav a:hover{background:#f3f5f7;color:#263747}.sc-nav a[aria-current="page"]{background:#fff0d6;border-color:#e8ba72;color:#754400;font-weight:700}
.sc-page{padding:0 24px 120px;font-size:14px;line-height:1.6}
.sc-page>h1{font-size:28px;line-height:1.25;font-weight:600;margin:0 0 24px}
.sc-page>h2{margin:32px 0 16px;font-size:20px;line-height:1.35;font-weight:600}
.sc-page>p{margin:0 0 20px}.sc-page>h1+p{color:var(--text-muted,#657383);margin-top:-8px;margin-bottom:24px}
.sc-filters{align-items:flex-end;gap:12px;padding:18px;margin:0 0 24px;border:1px solid #e7ebef;background:var(--card-bg,#f6f7f9)}
.sc-filters label{flex:1 1 150px;min-width:0;margin:0;line-height:1.4}.sc-filters>.btn{margin:0;min-height:44px;align-self:flex-end}
.sc-page input:not([type=checkbox]),.sc-page select{height:44px;line-height:1.4}.sc-page label{margin-bottom:0}.sc-form{margin:20px 0 24px}
.sc-stats{margin-bottom:16px;gap:16px}.sc-stats>div{padding:20px;background:var(--body-bg,#fff);align-content:start}.sc-stats strong{line-height:1.25}
.sc-scroll{border:1px solid #e3e8ed;border-radius:10px;margin:0 0 24px;max-width:100%;background:var(--body-bg,#fff)}
.sc-page .sc-scroll .table{width:100%;margin:0}.sc-page .table thead{background:var(--card-bg,#f6f7f9)}
.sc-page .table th,.sc-page .table td{padding:14px 16px;vertical-align:middle;line-height:1.5}.sc-page .table th{border-top:0;border-bottom:1px solid #e0e5ea;font-size:12px;color:var(--text-muted,#556371);font-weight:600;white-space:nowrap}
.sc-page .table td{border-top:1px solid #e9edf1}.sc-empty{margin:0 0 24px;padding:40px 24px;border:1px dashed #d7dfe6;color:var(--text-muted,#556371)}
.sc-order{margin:0 0 20px;padding:20px}.sc-order header{align-items:center;gap:12px 20px}.sc-order .sc-row:last-child{border-bottom:0}
.sc-row>div:has(>h2){flex:1 1 180px}.sc-row>.sc-thumb{flex-shrink:0}.sc-row>p,.sc-row>div>p{margin:4px 0 0}
.sc-page .pagination{margin:24px 0;padding:0}.sc-page .pagination a,.sc-page .pagination span{min-height:40px;display:inline-flex;align-items:center;justify-content:center}
.sc-store-selections{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.sc-store-selections a{min-height:40px;display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #dfe5eb;border-radius:6px;color:inherit}.sc-store-selections a[aria-current="page"]{color:#754400;border-color:#e8ba72;background:#fff6e8}
.sc-store-home .row{margin-left:-12px;margin-right:-12px}.sc-store-home .row>[class*="col-"]{padding-left:12px;padding-right:12px}
@media(max-width:650px){
 .sc-nav-wrap{padding:0 16px;margin-top:16px;margin-bottom:20px}.sc-nav{gap:4px;padding-bottom:10px}.sc-nav a{padding:10px 12px}
 .sc-page{padding:0 16px 120px;font-size:15px}.sc-page>h1{font-size:24px;margin-bottom:20px}.sc-page>h2{font-size:19px;margin-top:28px}
 .sc-filters{padding:14px;gap:12px}.sc-filters label{flex-basis:140px}.sc-filters>.btn{flex:1 1 120px}
 .sc-order{padding:16px}.sc-stats>div{padding:16px}.sc-empty{padding:32px 16px}.sc-page .table th,.sc-page .table td{padding:12px}
}
@media print{.sc-nav-wrap,.sc-store-selections{display:none!important}.sc-page{padding:0;max-width:none}.sc-scroll{overflow:visible;border:0}}
