/* SaaS pre-sale: two actions per tier + waitlist dialog (presale.js) */
.presale-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:8px;pointer-events:auto}
.presale-actions .preorder-btn,.presale-actions .waitlist-btn{display:flex;align-items:center;justify-content:center;min-height:40px;margin:0;padding:9px 12px;border-radius:6px;font:inherit;font-size:12px;font-weight:600;letter-spacing:.01em;text-align:center;text-decoration:none;cursor:pointer;pointer-events:auto;transition:background .2s,border-color .2s,color .2s}
.presale-actions .preorder-btn{width:auto;background:#ff792e;border:1px solid #ff792e;color:#17100a}
.presale-actions .preorder-btn:hover{background:#ff9b67;border-color:#ff9b67}
.presale-actions .waitlist-btn{background:transparent;border:1px solid rgba(255,255,255,.32);color:#f2f2ef}
.presale-actions .waitlist-btn:hover{border-color:#f2f2ef;background:rgba(255,255,255,.06)}
.presale-actions a:focus-visible,.presale-actions button:focus-visible{outline:2px solid #ff792e;outline-offset:3px}
.course-preorder .presale-actions{grid-template-columns:1fr 1fr;gap:6px}
.course-preorder .presale-actions .preorder-btn,.course-preorder .presale-actions .waitlist-btn{min-height:36px;padding:8px 6px;font-size:11px}
.presale-terms{display:block;margin:8px 0 0;font-size:11px;line-height:1.5;color:#a9b3a4;font-weight:400}
.presale-terms strong{color:#f2f2ef;font-weight:600}
.course-preorder .presale-terms{margin:0;font-size:10px}
.detail-panel .presale-actions{margin-top:16px}
.collection-purchase .presale-actions{max-width:420px;margin-top:14px}
.collection-purchase .presale-terms{max-width:420px}
.video-access-option .presale-actions{margin-top:12px}
.mentorship-card .presale-actions{margin:18px 0 6px}
.access-price del,.pending-price del{color:#92958e;font-weight:400;font-size:.7em;margin-left:6px}
html.wl-open{overflow:hidden}
.wl-dialog{width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid #303831;border-radius:16px;background:#191d1a;color:#f2f2ef;font-family:'DM Sans',Arial,sans-serif;box-shadow:0 30px 80px rgba(0,0,0,.55);overflow:auto;overscroll-behavior:contain}
.wl-dialog::backdrop{background:rgba(8,10,9,.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.wl-panel{position:relative;padding:28px}
.wl-panel .catalog-eyebrow{margin:0 0 10px;color:#ef8855;font-size:10px;letter-spacing:.12em}
.wl-panel h2{margin:0 0 10px;font-size:26px;font-weight:500;letter-spacing:-.02em;line-height:1.1}
.wl-note,.wl-pending{margin:0 0 18px;font-size:13px;line-height:1.55;color:#a3a5a3}
.wl-pending{margin-top:-8px;padding:10px 12px;border:1px solid #3a4434;border-radius:8px;background:#20261f;color:#d6dcd1}
.wl-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #303831;border-radius:50%;background:transparent;color:#f2f2ef;cursor:pointer}
.wl-close:hover{background:rgba(255,255,255,.07)}
.wl-form{display:grid;gap:14px}
.wl-field{display:grid;gap:6px}
.wl-field label,.wl-tiers legend{font-size:12px;font-weight:600;color:#f2f2ef}
.wl-field input{width:100%;box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #3a4038;border-radius:8px;background:#0e1010;color:#f2f2ef;font:inherit;font-size:16px}
.wl-field input:focus{outline:2px solid #ff792e;outline-offset:1px;border-color:transparent}
.wl-field input[aria-invalid="true"]{border-color:#ff8a7a}
.wl-err{min-height:0;font-size:12px;color:#ff9d8f}
.wl-err:empty{display:none}
.wl-tiers{margin:0;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wl-tiers legend{grid-column:1/-1;margin-bottom:8px;padding:0}
.wl-tiers legend span{margin-left:6px;font-weight:400;color:#92958e}
.wl-tier{position:relative;display:flex}
.wl-tier input{position:absolute;opacity:0;width:1px;height:1px}
.wl-tier span{flex:1;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:1px solid #3a4038;border-radius:8px;font-size:12px;color:#c9ccc7;cursor:pointer}
.wl-tier span b{font-size:14px;font-weight:600;color:#f2f2ef}
.wl-tier input:checked+span{border-color:#ff792e;background:rgba(255,121,46,.1);color:#f2f2ef}
.wl-tier input:focus-visible+span{outline:2px solid #ff792e;outline-offset:2px}
.wl-tier:last-child{grid-column:1/-1}
.wl-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.wl-error{margin:0;font-size:13px;color:#ff9d8f}
.wl-error:empty{display:none}
.wl-submit,.wl-done{min-height:48px;border:0;border-radius:7px;background:#ef8855;color:#171b16;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.wl-submit:hover,.wl-done:hover{background:#ff9b67}
.wl-submit:disabled{opacity:.7;cursor:progress}
.wl-submit:focus-visible,.wl-done:focus-visible,.wl-close:focus-visible{outline:2px solid #ff792e;outline-offset:3px}
.wl-success{display:grid;gap:20px}
.wl-success[hidden]{display:none}
.wl-success-msg{margin:0;font-size:17px;line-height:1.5;color:#f2f2ef}
.wl-success-msg:focus{outline:none}
@media (max-width:480px){.wl-panel{padding:22px 18px}.wl-panel h2{font-size:23px}}@media (max-width:340px){.wl-tiers{grid-template-columns:1fr}}
@media (prefers-reduced-motion:no-preference){.wl-dialog[open]{animation:wl-in .22s ease-out}.wl-dialog[open]::backdrop{animation:wl-fade .22s ease-out}}
@keyframes wl-in{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@keyframes wl-fade{from{opacity:0}to{opacity:1}}
.wl-dialog [hidden]{display:none!important}
