/* TorqueBase storefront only: established brown/brass department and cream charts. */
.tb-shop{--blue:#d0a04c;--blue-dark:#8b5612;--ink:#2b251c;--muted:#6e6252;--line:#d7c8ad;margin:0;font-family:Arial,Helvetica,sans-serif;background-color:#241d15;background-image:radial-gradient(ellipse at 50% 1%,rgba(166,106,32,.18),transparent 55%),linear-gradient(rgba(240,190,99,.095) 1px,transparent 1px),linear-gradient(90deg,rgba(240,190,99,.095) 1px,transparent 1px);background-size:auto,28px 28px,28px 28px;color:#fbf4e6;line-height:1.6}
.tb-shop header,.tb-shop main{max-width:1180px;margin:auto;padding:24px}
.tb-shop header{display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;background:#061c2c;border-bottom:3px solid #bd111d}
.tb-shop nav{display:flex;flex-wrap:wrap;gap:18px}
.tb-shop .site-header{max-width:none;margin:0;padding:0;display:block;background:repeating-linear-gradient(90deg,#09273a 0,#09273a 38px,#14384b 39px);border-bottom:2px solid #e5d2b5;box-shadow:0 3px #c91620}
.tb-shop .header-inner{max-width:1180px;margin:auto;padding:20px 24px;min-height:91px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px}
.tb-shop .brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;text-decoration:none;color:#fff4df;font:900 clamp(1.35rem,2.8vw,2rem)/1 Impact,'Arial Narrow',Arial,sans-serif;font-style:italic;text-transform:uppercase;letter-spacing:.015em}
.tb-shop .brand img{width:44px;height:44px;object-fit:contain;flex:none;background:transparent}
.tb-shop .brand .red{color:#ed2028}
.tb-shop .sf-global-navigation a{color:#fff4df;font-size:.88rem;font-weight:800;text-decoration:none}
.tb-shop .sf-global-navigation a:hover{color:#ff6a6a}
.tb-shop .shop-navigation{width:100%;flex-basis:100%;border-top:1px solid #526476;padding-top:8px}
.tb-shop .shop-navigation a{color:#e8c184;font-size:.88rem}
.tb-shop main>h1{color:#fff7ea;text-transform:uppercase;font-weight:900;letter-spacing:-.02em;margin-bottom:16px}
.tb-shop main>p{margin:12px 0 20px;color:#ecddc4}
.tb-shop .products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tb-shop article{background:#fffaf0;color:#2b251c;border:1px solid #b88d4c;border-top:4px solid #d0a04c;border-radius:12px;padding:20px;min-width:0;box-shadow:0 12px 28px #100b0755}
.tb-shop h2{font-size:1.25rem;line-height:1.3}
.tb-shop article h2{color:#342919;margin-bottom:12px}
.tb-shop article p{margin:10px 0}
.tb-shop .price{font-size:1.5rem;font-weight:700;color:#8b5612}
.tb-shop .hold{border:1px solid #d7c8ad;border-left:4px solid #bd995e;padding:16px;background:#fbf4e6;color:#332313;margin:20px 0}
.tb-shop .hold p{margin-top:6px}
.tb-shop .hold:last-of-type{border-left-color:#bb1621;background:#f1dfc5}
.tb-shop .hold:last-of-type>strong{color:#a70f1f}
.tb-shop figure{margin:16px 0}
.tb-shop .gallery img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;background:#f1eadc}
.tb-shop figcaption{font-size:.9rem;color:#665540}
.tb-shop button{font:inherit;border:1px solid #a88c60;border-radius:6px;background:#fff6e8;padding:10px 12px;cursor:pointer;color:#342919;min-height:44px}
.tb-shop button[aria-pressed=true]{background:#5a3b1a;color:#fff7e7;border-color:#8f6229;box-shadow:inset 0 -3px #e9b45d}
.tb-shop button:disabled{cursor:default;opacity:1;color:#f3d5a3;background:#513318;border-color:#a88c60}
.tb-shop .checkout{width:100%;margin-top:18px;background:#513318;color:#fff4df}
.tb-shop :focus-visible{outline:3px solid #dc911e;outline-offset:3px}
.tb-shop #shop-downloads{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}
.tb-shop summary{cursor:pointer;color:#674116;font-weight:700}
.tb-shop a{color:#f0c47b;text-underline-offset:3px}
.tb-shop article a{color:#674116}
@media(max-width:900px){.tb-shop .products{grid-template-columns:1fr}.tb-shop article{max-width:650px;width:100%;box-sizing:border-box;margin:auto}}
@media(max-width:740px){.tb-shop .header-inner{gap:14px}.tb-shop .brand{font-size:1.5rem}.tb-shop .sf-global-navigation{width:100%;flex-basis:100%;gap:8px 16px}}
@media(max-width:420px){.tb-shop header,.tb-shop main,.tb-shop .header-inner{padding:16px}.tb-shop .site-header{padding:0}.tb-shop article{padding:16px}.tb-shop .shop-navigation{gap:8px 16px}}
.tb-complete main{max-width:850px}.tb-complete .eyebrow{font-size:.8rem;letter-spacing:.1em;color:#e8c184;font-weight:700}.tb-complete #shop-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tb-complete #shop-downloads article h2{font-size:1.1rem}.tb-complete #shop-downloads button{width:100%;background:#513318;color:#fff4df;font-weight:700}.tb-complete .purchase-actions{display:flex;flex-wrap:wrap;gap:12px}.tb-complete #order-list{display:grid;gap:12px}.tb-complete [hidden]{display:none!important}@media(max-width:600px){.tb-complete #shop-downloads{grid-template-columns:1fr}.tb-complete h1{font-size:1.7rem}}
.tb-complete #recovery-form{display:grid;gap:12px;max-width:480px}.tb-complete input[type=email]{box-sizing:border-box;width:100%;padding:12px;border:1px solid #a88c60;border-radius:6px;background:#fffaf0;color:#2b251c;font:inherit;min-height:44px}
.tb-complete #email-existing{display:grid;gap:12px;margin:24px 0}.tb-complete #email-existing input{box-sizing:border-box;width:100%;padding:12px;font:inherit}.tb-complete #email-list{display:grid;gap:16px;margin:24px 0}.tb-complete #email-list h2{overflow-wrap:anywhere}
.tb-complete #email-confirmation{font-size:.95rem;color:#e8c184}.tb-complete .paper-size{color:#6e6252;font-size:.95rem}.tb-complete .purchase-footer{border-top:1px solid #705635;padding-top:18px;font-size:.9rem}.tb-complete #purchase-expiry{font-size:.85rem;color:#cebb9b}.tb-complete #shop-downloads article{display:flex;flex-direction:column}.tb-complete #shop-downloads button{margin-top:auto}.tb-complete #recovery-form button{background:#513318;color:#fff4df}.tb-complete h1,.tb-complete #shop-status{overflow-wrap:anywhere}
/* Approved protected chart presentation; scoped away from purchase/download pages. */
.tb-shop .products>article{display:flex;flex-direction:column}
.tb-shop .products>article h2{min-height:2.6em}
.tb-shop .products .product-summary{min-height:6.4em}
.tb-shop .products .included-files{font-size:.82rem;min-height:6.4em}
.tb-shop .products .included-files strong{display:block;font-size:1rem}
.tb-shop .products .gallery{display:flex;flex-direction:column;flex:1}
.tb-shop .products .gallery figure{flex:1;display:flex;flex-direction:column;margin:14px 0 0}
.tb-shop .products .preview-art{padding:4px;background:#ded8c9;border:1px solid #a8a28f}
.tb-shop .products .gallery img{max-height:none;width:100%;height:auto;background:#fff}
.tb-shop .products .gallery figcaption{margin-top:auto;padding-top:9px;line-height:1.4;font-size:.8rem}
.tb-shop .products .preview-stack{display:grid;grid-template-columns:repeat(20,minmax(0,1fr));align-items:start}
.tb-shop .products .preview-stack img:first-child{grid-column:1/15;grid-row:1}
.tb-shop .products .preview-stack .preview-companion{grid-column:7/21;grid-row:1;margin-top:40%;box-shadow:-3px -3px 8px #392f2940}
.tb-shop .products .preview-single{display:block}
.tb-shop .products .preview-companion[hidden]{display:none!important}
@media(max-width:900px){.tb-shop .products>article h2,.tb-shop .products .product-summary,.tb-shop .products .included-files{min-height:0}.tb-shop .products .gallery img{max-height:none}.tb-shop .products .preview-art{width:100%;box-sizing:border-box}}

/* Customer email assistance; compact and separate from product cards. */
.tb-complete .email-help{border-top:1px solid #705635;margin-top:24px;padding-top:18px;font-size:.95rem;line-height:1.55;color:#ddcfb5}
.tb-complete .email-help h2{font-size:1.05rem;line-height:1.35;margin:0 0 10px;color:#fff4df}
.tb-complete .email-help p{margin:8px 0}
.tb-complete .email-help a{color:#e8c184;overflow-wrap:anywhere}
