.coupon-entry{margin:18px 0;border-top:1px solid var(--line,#ddd);padding-top:18px}.coupon-entry>label{display:block;font-size:13px;font-weight:600;margin-bottom:9px}.coupon-entry>div{display:flex;gap:8px}.coupon-entry input{min-width:0;flex:1;width:100%;height:42px;border:1px solid var(--line,#ddd);border-radius:9px;background:var(--input,var(--bg,#faf8f5));color:var(--text,#161616);padding:0 12px;text-transform:uppercase;font-size:13px}.coupon-entry .button{padding:9px 14px;min-height:42px;font-size:12px}.coupon-feedback{font-size:12px;line-height:1.5;margin:8px 0 0;color:var(--muted,#777)}.coupon-feedback:empty{display:none}.coupon-feedback.is-error{color:#bb2434}.coupon-remove{font-size:12px;color:var(--muted);padding:6px 0}.coupon-discount{color:#087d50}.coupon-promo-notice{margin:0 0 20px;padding:14px 18px;background:#f8ece7;border:1px solid #edd3ca;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}.coupon-promo-notice strong{display:block;margin-bottom:4px}.coupon-promo-notice p{margin:0;color:var(--muted)}
.coupon-list-panel{padding:0!important;overflow:hidden}.coupon-list-toolbar{display:flex;gap:14px;padding:20px}.coupon-list-toolbar .search-input{flex:1;max-width:620px}.coupon-list-toolbar select{border:1px solid var(--line);background:var(--card,#fff);color:var(--text);padding:10px;border-radius:10px;font-size:13px}.coupon-table-wrap{overflow:auto}.coupon-table{border-collapse:collapse;width:100%;font-size:13px}.coupon-table th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;text-align:left;color:var(--muted);background:var(--input,#eff1f6);padding:14px 20px;white-space:nowrap}.coupon-table td{padding:20px;border-bottom:1px solid var(--line);vertical-align:middle}.coupon-table small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.coupon-table td:first-child>strong{letter-spacing:.5px}.coupon-table .button{font-size:12px;min-height:36px;padding:8px 12px}.coupon-state{display:inline-block;padding:5px 9px;border:1px solid var(--line);border-radius:20px;font-size:11px;color:var(--muted)}.coupon-state.is-active{color:#087c50;border-color:#a8d8c1;background:#eefaF3}
#gs-dialog.coupon-admin-dialog{width:min(850px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:0;overflow:hidden}.coupon-admin-dialog .modal-head{padding:24px 30px;background:linear-gradient(100deg,#940d13,#60090b);color:#fff;margin:0!important;border-bottom:0}.coupon-admin-dialog .modal-head p{color:#f3ced0}.coupon-admin-dialog .modal-heading>.icon{background:#ffffff20;color:#fff}.coupon-editor{display:flex;flex-direction:column;max-height:calc(90dvh - 100px);min-height:0}.coupon-editor-body{overflow-y:auto;padding:24px 30px;overscroll-behavior:contain}.coupon-editor section+section{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.coupon-editor h3{font-size:16px;margin:0 0 18px}.coupon-editor .field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:12px;font-weight:600;color:var(--muted)}.coupon-editor input:not([type=checkbox]),.coupon-editor select{width:100%;min-width:0;padding:12px 14px;border-radius:10px;border:1px solid var(--line);background:var(--input,#f6f6f9);color:var(--text);font-size:13px;min-height:44px}.coupon-editor .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.coupon-toggle{display:flex;align-items:flex-start;gap:10px;margin:14px 0;font-size:13px;cursor:pointer}.coupon-toggle input{width:16px;height:16px;accent-color:#bb0010;margin:1px 0 0;flex-shrink:0}.coupon-toggle small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:5px}.coupon-help{font-size:12px;line-height:1.7;color:var(--muted);margin:4px 0 16px}.coupon-editor-footer{display:flex;gap:12px;padding:18px 30px;border-top:1px solid var(--line);background:var(--card,#fff);flex-shrink:0}.coupon-editor-footer .button{flex:1}.coupon-editor .coupon-product-picker{border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:16px}.coupon-product-picker>div{max-height:220px;overflow:auto;margin-top:8px}.coupon-product-picker label{display:flex;align-items:center;gap:10px;padding:9px;font-size:12px}.coupon-product-picker input[type=checkbox]{accent-color:#b00}.coupon-product-picker [hidden]{display:none}.coupon-uses{padding:0 24px 24px}.coupon-uses article{display:flex;gap:12px;align-items:center;padding:16px 0;border-top:1px solid var(--line);font-size:12px}.coupon-uses article>div{flex:1}.coupon-uses small{display:block;color:var(--muted);margin-top:5px}.coupon-uses button{font-size:11px}
[data-theme=dark] .coupon-feedback.is-error{color:#ff939b}[data-theme=dark] .coupon-discount{color:#68dbaf}[data-theme=dark] .coupon-state.is-active{background:#213b31;color:#75dbaf;border-color:#3a6351}[data-theme=dark] .coupon-promo-notice{background:#352a28;border-color:#5b4038}[data-theme=dark] .coupon-editor-footer{background:var(--admin-card,#2d2d2d)}[data-theme=dark] .coupon-table th{background:var(--admin-card-alt,#333)}

@media(max-width:760px){.coupon-promo-notice{align-items:flex-start;flex-direction:column;gap:10px}.coupon-list-toolbar{flex-direction:column;padding:16px}.coupon-table td,.coupon-table th{padding:14px}.coupon-editor-body{padding:20px}.coupon-admin-dialog .modal-head{padding:20px}.coupon-editor-footer{padding:14px 20px}.coupon-editor .form-grid{grid-template-columns:1fr}.coupon-uses article{flex-wrap:wrap}.coupon-uses article>div{min-width:65%}}

#gs-dialog.coupon-admin-dialog>.dialog-content{padding:0;overflow:hidden}

@media(max-width:520px){.coupon-editor input:not([type=checkbox]),.coupon-editor select,.coupon-entry input{font-size:16px}}

/* Use the panel palette and separate form groups in both themes. */
body[data-view=admin] .coupon-editor-body{background:var(--page,#f5f6f8)}
body[data-view=admin] .coupon-editor section{background:var(--card,#fff);border:1px solid var(--line,#dfe3eb);border-radius:14px;padding:20px}
body[data-view=admin] .coupon-editor section+section{margin-top:16px;padding-top:20px}
body[data-view=admin] .coupon-editor h3{padding-bottom:13px;border-bottom:1px solid var(--line,#dfe3eb);margin-bottom:18px}
[data-theme=light] body[data-view=admin] .coupon-editor input:not([type=checkbox]),[data-theme=light] body[data-view=admin] .coupon-editor select{background:#f6f7fa;border-color:#dce1e8;color:#20242d}
body[data-view=admin] .coupon-editor input:focus-visible,body[data-view=admin] .coupon-editor select:focus-visible{outline:2px solid color-mix(in srgb,var(--primary,#b8000d),transparent 65%);outline-offset:2px;border-color:var(--primary,#b8000d)}
body[data-view=admin] .coupon-editor .coupon-toggle{padding:12px 14px;background:var(--soft,#f5f6f8);border:1px solid var(--line,#e0e4ec);border-radius:10px}
body[data-view=admin] .coupon-editor-footer{background:var(--card,#fff)}
@media(max-width:520px){body[data-view=admin] .coupon-editor-body{padding:14px}body[data-view=admin] .coupon-editor section{padding:16px}body[data-view=admin] .coupon-editor section+section{padding-top:16px}}

.coupon-discount span,.coupon-promo-notice{overflow-wrap:anywhere}

.coupon-entry>.coupon-success{display:grid;grid-template-columns:30px minmax(0,1fr) 32px;gap:10px;align-items:start;padding:15px;border:1px solid #b9dfcc;border-radius:12px;background:#effaf4;color:#176746}
.coupon-success-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#d5f0e1;color:#13804d}
.coupon-success-icon>.icon{width:18px;height:18px;stroke-width:2.5}
.coupon-success-copy{min-width:0;line-height:1.5}
.coupon-success-copy>span{display:block;font-size:12px;color:#36765a}
.coupon-success-code{display:block;font-size:14px;font-weight:700;letter-spacing:.4px;overflow-wrap:anywhere;color:#164f38}
.coupon-success-copy>p{margin:6px 0 0;font-size:12px;color:#176746}
.coupon-success-copy>p strong{font-weight:700;white-space:nowrap}
.coupon-success-remove{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#46745e;cursor:pointer}
.coupon-success-remove>.icon{width:16px;height:16px}
.coupon-success-remove:hover{background:#daefe3;border-color:#b9dfcc;color:#164f38}
.coupon-success-remove:focus-visible,.coupon-success:focus-visible{outline:2px solid #16804e;outline-offset:3px}
[data-theme=dark] .coupon-entry>.coupon-success{background:#20332b;border-color:#3b6450;color:#90dfb5}
[data-theme=dark] .coupon-success-icon{background:#2d503e;color:#83dfab}
[data-theme=dark] .coupon-success-copy>span{color:#a2cbb3}
[data-theme=dark] .coupon-success-code{color:#e0f7e9}
[data-theme=dark] .coupon-success-copy>p{color:#90dfb5}
[data-theme=dark] .coupon-success-remove{color:#a2cbb3}
[data-theme=dark] .coupon-success-remove:hover{background:#31513f;border-color:#4c785e;color:#e0f7e9}
@media(max-width:520px){.coupon-entry>.coupon-success{grid-template-columns:28px minmax(0,1fr) 40px;padding:12px;gap:8px}.coupon-success-remove{width:40px;height:40px}}
.season-promo{
 --ticket-fill:#fff7e9;--ticket-stroke:#ab1118;--season-border:#d7ac73;
 --season-background:radial-gradient(ellipse at 48% 8%,#fffcf7e6,transparent 66%),linear-gradient(110deg,#fff8f0,#fcebe5 55%,#f9ded8);
 position:relative;isolation:isolate;display:grid;grid-template-columns:166px minmax(0,1fr) 220px 210px;
 align-items:center;gap:24px;max-width:1320px;min-height:206px;margin:24px auto 4px;padding:18px 28px;
 border:1px solid var(--season-border);border-radius:18px;overflow:hidden;color:#9f0912;
 background:var(--season-background);
 box-shadow:0 10px 24px -12px #8c4c222e,inset 0 0 0 1px #ffffffb3;
}
.season-promo>*:not(.season-branch){position:relative;z-index:1;min-width:0}
.season-gift{display:block;width:190px;max-width:none;height:170px;object-fit:cover;pointer-events:none}
.season-copy{padding:8px 0 8px 26px;border-left:1px solid #c99558}
.season-promo h2{margin:0 0 10px;font-size:36px;line-height:1.13;letter-spacing:-.8px;font-weight:750;color:inherit}
.season-promo p{margin:0;font-size:14px;line-height:1.55;color:#635550}
.season-code{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
 width:100%;min-height:88px;padding:14px 22px;border:0;background:transparent;color:#a00911;
 cursor:pointer;filter:drop-shadow(0 4px 3px #9e412522);transition:filter .18s ease;
}
.season-code .season-ticket{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:-1;pointer-events:none}
.season-ticket path{fill:var(--ticket-fill);stroke:var(--ticket-stroke);stroke-width:1.5;stroke-dasharray:5 3;vector-effect:non-scaling-stroke}
.season-code-label{display:block;font-size:10px;line-height:1.3;font-weight:700;letter-spacing:1px;color:#343036;white-space:nowrap}
.season-code-value{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-width:0;line-height:1.2}
.season-code-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:24px;font-weight:750;letter-spacing:.3px}
.season-code-value>.icon{width:21px;height:21px;flex-shrink:0;stroke-width:2}
.season-code:hover:not(:disabled){filter:drop-shadow(0 5px 5px #9e412536)}
.season-code:disabled{opacity:1;cursor:default}
.season-code.is-copied{--ticket-stroke:#19834c;color:#147645}
.season-code.is-copied .season-code-label{color:#147645}
.season-link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:14px 18px;
 border:1px solid #bd0a16;border-radius:16px;background:linear-gradient(160deg,#dc0716,#b3000d);
 color:#fff;font-size:16px;line-height:1.3;font-weight:700;text-decoration:none;white-space:nowrap;
 box-shadow:0 4px 8px -5px #a9001233,inset 0 1px 0 #ffffff26;transition:background .18s ease,box-shadow .18s ease;
}
.season-link>.icon{width:22px;height:22px;flex-shrink:0}
.season-link:hover{background:linear-gradient(160deg,#c90012,#9e000b);color:#fff;box-shadow:0 5px 12px -5px #a9001255}
.season-code:focus-visible,.season-link:focus-visible{outline:3px solid #af1427;outline-offset:5px}
.season-branch{position:absolute;z-index:0;width:124px;height:124px;object-fit:contain;pointer-events:none;user-select:none}
.season-branch-left{left:-9px;top:-12px}
.season-branch-right{right:-8px;bottom:-14px;transform:rotate(180deg);width:104px;height:104px}
[data-theme=dark] .season-promo{--ticket-fill:#382d25;--ticket-stroke:#d99d77;--season-border:#886441;color:#ffc9bf;
 --season-background:radial-gradient(ellipse at 45% 0,#4b352c88,transparent 70%),linear-gradient(110deg,#292522,#392b29 60%,#452d2a);
 box-shadow:0 10px 24px -12px #0008,inset 0 0 0 1px #ffffff09;
}
[data-theme=dark] .season-promo p{color:#d5c3b9}
[data-theme=dark] .season-copy{border-color:#987048}
[data-theme=dark] .season-code{color:#ffccab}
[data-theme=dark] .season-code-label{color:#f0dcc9}
[data-theme=dark] .season-code.is-copied{--ticket-stroke:#76d8a4;color:#8ee5b5}
[data-theme=dark] .season-code.is-copied .season-code-label{color:#8ee5b5}
[data-theme=dark] .season-link{color:#fff}
@media(max-width:1400px){.season-promo:not(.is-preview){margin-left:24px;margin-right:24px}}
@media(min-width:761px) and (max-width:1150px){
 .season-promo{grid-template-columns:120px minmax(0,1fr) 200px;gap:18px;min-height:190px;padding:20px 24px}
 .season-gift{grid-row:1/3;width:120px;height:140px;object-fit:contain}
 .season-copy{grid-column:2/4;padding-left:20px}
 .season-promo h2{font-size:27px;margin-bottom:7px;text-wrap:initial}
 .season-code{grid-column:2;min-height:74px;max-width:220px;justify-self:end}
 .season-code-text{font-size:22px}
 .season-link{grid-column:3;min-height:52px;font-size:15px}
}
@media(max-width:760px){
 .season-promo:not(.is-preview){margin:14px 10px 0}
 .season-promo{grid-template-columns:68px minmax(0,1fr);gap:16px 12px;padding:20px 16px;min-height:0;border-radius:16px}
 .season-gift{width:78px;height:90px;margin-left:-6px;object-fit:contain}
 .season-copy{padding:0 0 0 12px;border-left-color:#dab28b}
 .season-promo h2{font-size:20px;letter-spacing:-.4px;line-height:1.22;margin-bottom:7px;text-wrap:initial}
 .season-promo p{font-size:12px;line-height:1.5}
 .season-code{grid-column:1/3;grid-row:2;width:calc(50% - 6px);min-height:76px;padding:12px;justify-self:start}
 .season-code-label{font-size:8px;letter-spacing:.6px}
 .season-code-value{gap:6px}
 .season-code-text{font-size:17px}
 .season-code-value>.icon{width:17px;height:17px}
 .season-link{grid-column:1/3;grid-row:2;width:calc(50% - 6px);min-height:48px;padding:12px 10px;justify-self:end;gap:6px;border-radius:12px;font-size:12px}
 .season-link>.icon{width:18px;height:18px}
 .season-branch-left{width:82px;height:82px;left:-13px;top:-13px}
 .season-branch-right{width:70px;height:70px;right:-17px;bottom:-18px}
}
.coupon-banner-preview{container-type:inline-size}
body[data-view=admin] .coupon-editor .coupon-banner-preview .season-promo{background:var(--season-background);border:1px solid var(--season-border)}
.coupon-banner-preview .season-promo{grid-template-columns:76px minmax(0,1fr);gap:16px;padding:20px;min-height:0;margin:0}
.coupon-banner-preview .season-gift{grid-row:1;grid-column:1;width:82px;height:90px;margin-left:-5px;object-fit:contain}
.coupon-banner-preview .season-copy{grid-column:2;padding:0 0 0 16px}
.coupon-banner-preview .season-promo h2{font-size:21px;letter-spacing:-.4px}
.coupon-banner-preview .season-promo p{font-size:12px}
.coupon-banner-preview .season-code{grid-column:1/3;grid-row:2;width:calc(50% - 8px);min-height:76px;justify-self:start;max-width:none}
.coupon-banner-preview .season-code-text{font-size:20px}
.coupon-banner-preview .season-link{grid-column:1/3;grid-row:2;width:calc(50% - 8px);justify-self:end;font-size:13px;min-height:48px;padding:12px}
@container(max-width:460px){
 .coupon-banner-preview .season-promo{grid-template-columns:60px minmax(0,1fr);padding:16px;gap:12px}
 .coupon-banner-preview .season-gift{width:68px;height:80px}
 .coupon-banner-preview .season-copy{padding-left:12px}
 .coupon-banner-preview .season-promo h2{font-size:18px}
 .coupon-banner-preview .season-code{grid-row:2;width:100%}
 .coupon-banner-preview .season-link{grid-row:3;width:100%}
}
@media(max-width:370px){
 .season-promo h2{font-size:18px}
 .season-code,.coupon-banner-preview .season-code{width:100%;grid-row:2}
 .season-link,.coupon-banner-preview .season-link{width:100%;grid-row:3;font-size:13px}
 .season-code-text,.coupon-banner-preview .season-code-text{font-size:22px}
 .season-code-label{font-size:9px}
}
@media(prefers-reduced-motion:reduce){.season-code,.season-link{transition:none}}

.coupon-eligibility-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.coupon-eligibility-grid small{display:block;color:var(--muted);font-weight:400;font-size:12px;line-height:1.6;margin-top:8px}.coupon-audience-summary{padding:14px 16px;margin:16px 0;border:1px solid var(--line);border-left:3px solid var(--primary);border-radius:10px;background:var(--soft);font-size:13px;line-height:1.6}.coupon-eligibility-grid select:disabled{opacity:1;cursor:not-allowed}@media(max-width:620px){.coupon-eligibility-grid{grid-template-columns:1fr}}
