/* Promo controls reuse the warm Onest/monospace palette; no payment fields move. */
.topup-promo{grid-column:1/-1;padding:20px;border:1px dashed #ffc69f55;border-radius:18px;background:#ffbe9506;min-width:0}
.topup-promo>label{display:block;margin:0 0 10px;font-size:14px;font-weight:650;color:#ffe5d3}
.promo-input-row{display:flex;align-items:stretch;gap:10px}
.promo-input-row input{min-width:0;flex:1;font-family:Consolas,monospace;letter-spacing:.035em}
.promo-input-row button{flex:none;min-height:44px;padding:10px 20px;color:#ffccaa;border-color:#ffc69f55;background:#ffbe950c;font-weight:650}
.promo-input-row button:hover{background:#ffc69f20}
.promo-feedback{margin:12px 0 0;font-size:13px;line-height:1.6;color:#c8b2c4}
.promo-feedback.is-error{color:#ffa6a6}
.topup-promo .text-button{padding:8px 0;min-height:44px;font-size:12px;color:#ffccaa}
.topup-promo [hidden],.promo-admin-modal [hidden],#quote-promo-line[hidden]{display:none!important}
#quote-promo-line b,.promo-topup-note{color:#ffd0ac}
.promo-topup-note{display:block;font-size:12px;margin-top:5px;overflow-wrap:anywhere}
.promo-summary{display:flex;flex-wrap:wrap;gap:24px;margin:12px 0 28px;color:#bca9b8;font-size:13px}
.promo-summary b{color:#ffe8d8;font-size:22px;margin-right:6px}
.promo-catalog{padding:24px}
.promo-toolbar{display:flex;gap:20px;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;margin-bottom:24px}
.promo-filters{display:flex;flex-wrap:wrap;gap:6px}
.promo-filters button{padding:9px 12px;min-height:44px;font-size:12px}
.promo-filters button[aria-pressed=true]{background:#ffc69f16;border-color:#ffc69f66;color:#ffddc5}
.promo-search{min-width:220px;max-width:320px;font-size:12px;color:#bca9b8;margin:0}
.promo-search input{margin-top:7px}
.promo-rows{display:grid;gap:12px}
.promo-row{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(135px,1fr) minmax(135px,1fr) minmax(145px,1.1fr) auto;gap:20px;padding:20px;align-items:center;border:1px solid #eac8dd22;border-radius:16px;background:#16111d66}
.promo-row>div{min-width:0}
.promo-row small,.promo-history small{display:block;color:#bfabbc;font-size:12px;line-height:1.6;margin-top:4px;overflow-wrap:anywhere}
.promo-kind{color:#ad96a9;font-size:10px;letter-spacing:.08em;font-weight:650}
.promo-admin .promo-code-copy{display:flex;align-items:center;gap:10px;text-align:left;padding:4px 0;min-height:36px;background:none;border:0;box-shadow:none;color:#ffd1af}
.promo-code-copy code{color:inherit;font-size:16px;white-space:normal;overflow-wrap:anywhere}
.promo-code-copy span{opacity:.65}
.promo-value strong{font-size:20px;color:#ffcfaa;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.promo-usage strong{font-size:15px;font-variant-numeric:tabular-nums}
.promo-row-actions{display:grid;gap:7px}
.promo-row-actions button{min-height:44px;padding:8px 12px;font-size:12px}
.promo-status{font-size:12px;color:#beaaba;display:inline-flex;gap:6px;align-items:center}
.promo-status:before{content:"";width:6px;height:6px;background:currentColor;border-radius:50%}
.promo-status.active{color:#ffd1a9}
.promo-note{color:#beacbb;font-size:12px;line-height:1.7;margin:16px 0 0;overflow-wrap:anywhere}
.glass-dialog.promo-admin-modal{max-width:760px}
.promo-admin-modal .primary{background:linear-gradient(130deg,#ffdbb7,#ffaf72);color:#2d190e;border-color:#ffd4b2}
.promo-admin-modal .primary:hover{background:#ffe0bf}
.promo-kind-options{padding:0;margin:0 0 20px;border:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.promo-kind-options legend{margin-bottom:12px;color:#d1bbc9;font-size:13px}
.promo-kind-options label{display:flex;gap:10px;align-items:center;margin:0;padding:16px;min-width:0;border:1px solid #eac8dd2a;border-radius:14px;cursor:pointer;background:#15111b}
.promo-kind-options label:has(:checked){border-color:#ffc69f;background:#ffc69f0d}
.promo-kind-options input[type=radio]{appearance:none;-webkit-appearance:none;min-height:18px;width:18px;height:18px;flex:none;border:1px solid #b293a7;border-radius:50%;padding:3px;background:#17111d}
.promo-kind-options input[type=radio]:checked{background:#ffc69f;background-clip:content-box;border-color:#ffc69f}
.promo-kind-options b{color:#fce8db;font-size:14px}.promo-kind-options small{display:block;color:#bda8b8;font-size:12px;margin-top:5px;line-height:1.5}
.promo-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.promo-admin-modal .check{min-height:44px;margin-top:8px}
.promo-admin-modal input[type=checkbox]{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-height:20px;flex:none;border:1px solid #a18a9c;border-radius:6px;padding:0;background:#15111b;display:grid;place-content:center}
.promo-admin-modal input[type=checkbox]:checked{background:#ffc69f;border-color:#ffc69f}
.promo-admin-modal input[type=checkbox]:checked:before{content:"";width:9px;height:5px;border-left:2px solid #2d190e;border-bottom:2px solid #2d190e;transform:rotate(-45deg) translateY(-1px)}
.promo-history{max-height:52vh;overflow:auto;display:grid;gap:8px}
.promo-history article{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #eac8dd25;padding:16px 0}
.promo-history article>div{min-width:0}.promo-history article>div:last-child{text-align:right}
.promo-admin :is(button,input):focus-visible,.promo-admin-modal :is(button,input):focus-visible,.topup-promo :is(button,input):focus-visible{outline:2px solid #ffc69f;outline-offset:3px}
@media(min-width:1101px) and (max-width:1450px){.admin-shell .desktop-nav{display:none}.admin-shell .mobile-links{display:grid;grid-template-columns:1fr 1fr;gap:5px}.admin-shell .header-actions{margin-left:auto;flex-shrink:0}.admin-shell .mobile-links .header-link{justify-content:flex-start}}
@media(max-width:1100px){.promo-row{grid-template-columns:minmax(170px,1fr) 1fr 1fr}.promo-row-actions{grid-column:2/-1;display:flex;justify-content:flex-end}.promo-period{grid-column:1}}
@media(max-width:600px){.promo-catalog{padding:16px}.promo-search{max-width:none;width:100%}.promo-row{padding:16px;grid-template-columns:1fr 1fr;gap:14px}.promo-code-cell{grid-column:1/-1}.promo-period{grid-column:1/-1}.promo-row-actions{grid-column:1/-1;justify-content:stretch}.promo-row-actions button{flex:1}.promo-value strong{font-size:18px}.promo-kind-options{grid-template-columns:1fr}.promo-form-grid{grid-template-columns:1fr;gap:0}.topup-promo{padding:16px}.promo-input-row{flex-wrap:wrap}.promo-input-row input{flex-basis:60%}.promo-input-row button{padding:10px 13px}.promo-summary{gap:16px}.promo-admin .page-head{align-items:flex-start}}
