/* Private administration shares the brand, with dense data that still reads on a phone. */
.ops{padding-bottom:30px;min-width:0}
.ops-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:0 0 28px}
.ops-head .eyebrow{margin-bottom:12px;font-size:10px;letter-spacing:1.7px}
.ops-head .page-title{margin:0 0 10px;font-size:42px;line-height:1.08;letter-spacing:-1.6px}
.ops-head p{margin:0;font-size:14px;color:#71717c}
.ops-head-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}
.ops-network{font-size:9px;letter-spacing:1.5px;font-weight:700;text-transform:uppercase;color:#8e2430;border:1px solid #e7c9cd;border-radius:5px;padding:5px 7px;background:#fff2f3}
.ops-tabs{display:flex;gap:4px;padding:6px;background:#eaeaef;border:1px solid #dcdce4;border-radius:12px;overflow-x:auto;scrollbar-width:none;margin-bottom:28px}
.ops-tabs button{border-radius:7px;min-height:42px;padding:10px 17px;background:none;color:#62626d;font-size:12px;font-weight:600;white-space:nowrap;flex:1}
.ops-tabs button[aria-current=page]{background:#fff;color:#be1c2a;box-shadow:0 2px 7px #1818210b}
.ops-tabs button:hover{background:#ffffff80}
.ops #opsStatus:empty{display:none}
.ops-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 20px;font-size:11px;color:#74747f}
.ops-summary>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px}
.ops-summary strong{color:#494953;font-weight:600}
.ops-live-dot{width:7px;height:7px;background:#27815a;border-radius:50%;display:inline-block;box-shadow:0 0 0 4px #e3f0e9}
.ops-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 25px}
.ops-metric{border:1px solid #e0e0e7;border-radius:14px;box-shadow:0 3px 12px #18182103;background:#fff;color:#282830;text-align:left;min-width:0;padding:22px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.ops-metric[data-ops-section]:hover{border-color:#bfbfcd;transform:translateY(-1px)}
.ops-metric:not([data-ops-section]){cursor:default}
.ops-metric>span{font-size:11px;color:#73737f;font-weight:600}
.ops-metric>strong{font-size:32px;line-height:1.15;letter-spacing:-1px;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.ops-metric>strong>small{font-size:12px;letter-spacing:0;font-weight:500}
.ops-metric>small{font-size:10px;color:#85858e;line-height:1.5;text-align:left}
.ops-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px;margin-bottom:20px;align-items:start}
.ops-panel{min-width:0;padding:24px;border:1px solid #e0e0e7;border-radius:15px;background:#fff;box-shadow:0 5px 18px #17171c03;margin:0 0 20px}
.ops-grid>.ops-panel{margin:0;height:100%}
.ops-panel h2,.ops-section-head h2{font-size:20px;letter-spacing:-.5px;line-height:1.3;margin:0 0 8px;font-weight:650;color:#303039}
.ops-panel p{font-size:12px;line-height:1.75}
.ops-panel .panel-label{font-size:9px;letter-spacing:1.3px;margin-bottom:7px}
.ops-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:16px;min-width:0}
.ops-section-head>*{min-width:0}
.ops-section-head .btn{flex-shrink:0}
.ops-section-head p{font-size:12px;line-height:1.7;margin:4px 0 0}
.ops-section-head h2{margin:0}
.ops-tag{display:inline-flex;align-items:center;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:600;line-height:1.4;background:#f0f0f5;color:#62626f;white-space:normal;overflow-wrap:anywhere;max-width:100%}
.ops-tag.good{background:#eaf5ee;color:#24744b}
.ops-tag.warn{background:#fff5dd;color:#8a6419}
.ops-tag.bad{background:#fff0f2;color:#a72b40}
.ops-empty{padding:30px 18px;text-align:center;border:1px dashed #e0e0e8;border-radius:11px;background:#fafafc}
.ops-empty strong{display:block;color:#555560;font-size:14px;font-weight:600}
.ops-empty p{margin:7px auto 0;max-width:420px;font-size:12px;line-height:1.7;color:#85858f}
.ops-alert-list{display:grid;gap:9px}
.ops-alert-list button{display:flex;align-items:flex-start;gap:12px;text-align:left;padding:13px;border-radius:10px;border:1px solid #f0dce0;background:#fff8f9;color:#6b535a;min-width:0}
.ops-alert-list button>span:nth-child(2){flex:1;min-width:0}
.ops-alert-list strong{display:block;font-size:12px;font-weight:650;color:#503b42;overflow-wrap:anywhere}
.ops-alert-list small{display:block;font-size:11px;margin-top:4px;line-height:1.6;overflow-wrap:anywhere}
.ops-alert-mark{display:grid;place-items:center;width:23px;height:23px;flex-shrink:0;border-radius:50%;font-size:12px;background:#f7dce2;color:#a52a40;font-weight:700}
.ops-def{margin:15px 0 18px;display:grid;gap:0;font-size:12px;min-width:0}
.ops-def>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:16px;padding:10px 0;border-bottom:1px solid #eeeef2;align-items:baseline;min-width:0}
.ops-def>div:last-child{border-bottom:0}
.ops-def dt{color:#85858e;font-size:11px;min-width:0}
.ops-def dd{margin:0;text-align:right;font-weight:550;color:#3f3f49;overflow-wrap:anywhere;min-width:0}
.ops-def dd small{font-size:10px;font-weight:400;color:#85858e}
.ops-link{background:none;padding:0;color:#31313b;text-align:left;font:inherit;line-height:inherit;overflow-wrap:anywhere;max-width:100%}
.ops-link:hover{color:#b81929;text-decoration:underline;text-underline-offset:3px}
.ops-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:18px;background:#fff;border:1px solid #dedee7;border-radius:12px;margin-bottom:20px}
.ops-filters>label{flex:1 1 145px;min-width:0;font-size:10px;font-weight:600;color:#797983}
.ops-filters .ops-search{flex:2 1 240px}
.ops-filters input,.ops-filters select{font-size:12px;padding:10px 11px;min-height:41px;margin-top:5px;background:#fafafb;max-width:100%}
.ops-filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ops-filter-actions .btn{min-height:41px}
.ops-more-filters{border:0;margin:0;padding:0;flex:1 1 100%;min-width:0;order:2}
.ops-more-filters summary{font-size:11px;color:#777781;list-style-position:inside;padding:3px 0}
.ops-more-filters>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:14px}
.ops-more-filters label{font-size:10px;font-weight:600;color:#797983}
.ops-campaign-list,.ops-record-list{display:grid;gap:12px}
.ops-campaign-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(140px,1fr) minmax(140px,.9fr) auto;gap:20px;align-items:center;border:1px solid #dfdfe7;border-radius:13px;background:#fff;padding:22px;min-width:0}
.ops-campaign-row>*{min-width:0}
.ops-campaign-main h3{font-size:16px;line-height:1.4;margin:9px 0 5px;font-weight:650;letter-spacing:-.3px;overflow-wrap:anywhere}
.ops-campaign-main p{font-size:11px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 7px;color:#85858f}
.ops-campaign-main>small{display:block;font-size:10px;color:#92929b;overflow-wrap:anywhere}
.ops-row-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.ops-campaign-reward>small{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#92929c;display:block;margin-bottom:6px}
.ops-campaign-reward>strong{display:block;font-size:18px;line-height:1.35;letter-spacing:-.4px;color:#3a3a45;overflow-wrap:anywhere}
.ops-campaign-reward>strong>small{font-size:10px;font-weight:400;letter-spacing:0;color:#85858e}
.ops-row-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0;text-align:center;font-variant-numeric:tabular-nums}
.ops-row-stats>div{display:flex;flex-direction:column-reverse;gap:4px;min-width:0}
.ops-row-stats dt{font-size:9px;color:#8d8d96;overflow-wrap:anywhere}
.ops-row-stats dd{font-size:18px;font-weight:650;margin:0;color:#454551}
.ops-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:19px 2px;font-size:11px;color:#80808b;min-width:0}
.ops-pagination>div{display:flex;align-items:center;gap:12px}
.ops-pagination>div>span{font-size:10px;white-space:nowrap}
.ops-record{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,auto);gap:20px;align-items:center;min-width:0;border:1px solid #e0e0e8;border-radius:12px;background:#fff;padding:20px}
.ops-panel .ops-record{border-width:0 0 1px;border-radius:0;padding:16px 0}
.ops-panel .ops-record:last-child{border:0}
.ops-record>div{min-width:0}
.ops-record h3{font-size:15px;line-height:1.4;margin:9px 0 7px;letter-spacing:-.2px}
.ops-record p{margin:6px 0;font-size:12px}
.ops-record small{display:block;font-size:10px;line-height:1.7;color:#858590;overflow-wrap:anywhere}
.ops-record-end{display:flex;align-items:flex-end;flex-direction:column;gap:5px;text-align:right;font-size:11px;color:#7c7c88}
.ops-record-end>strong{font-size:20px;line-height:1.25;letter-spacing:-.5px;color:#383844;overflow-wrap:anywhere}
.ops-record-end>strong small{font-size:10px;letter-spacing:0;display:inline;font-weight:400}
.ops-record-end .btn{margin-top:6px}
.ops-id{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:10px!important;overflow-wrap:anywhere;word-break:break-word}
.ops-type{font-size:10px;color:#85858f}
.ops-inline-alert{padding:10px 12px;background:#fff5f5;border-radius:8px;border:1px solid #f1d7dd;color:#a23b4b!important;font-size:11px!important;line-height:1.7!important;margin-top:12px!important;overflow-wrap:anywhere}
.ops-timeline{list-style:none;padding:0;margin:0;display:grid;gap:0}
.ops-timeline>li{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;padding:16px 0;min-width:0;border-bottom:1px solid #ededf2}
.ops-timeline>li:last-child{border-bottom:0}
.ops-timeline-dot{margin-top:6px;width:7px;height:7px;border:2px solid #babac7;border-radius:50%;background:#fff;box-shadow:0 0 0 3px #f4f4f7}
.ops-timeline .ops-section-head{margin:0;gap:12px}
.ops-timeline strong{font-size:12px;color:#4d4d58;font-weight:650}
.ops-timeline time{font-size:10px;color:#92929c;flex-shrink:0}
.ops-timeline p{font-size:12px;line-height:1.7;margin:5px 0;color:#757580;overflow-wrap:anywhere;white-space:pre-line}
.ops-timeline small{font-size:10px;color:#94949d;overflow-wrap:anywhere}
.ops-back{padding:0;margin:0 0 22px;background:none;color:#74747e;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.ops-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:25px;min-width:0}
.ops-detail-head>div{min-width:0}
.ops-detail-head h2{font-size:29px;line-height:1.2;letter-spacing:-.9px;margin:15px 0 12px;overflow-wrap:anywhere}
.ops-detail-head p{font-size:13px;line-height:1.7;max-width:650px;margin-bottom:12px}
.ops-detail-head small{font-size:11px;color:#888891;overflow-wrap:anywhere}
.ops-detail-head>.btn{flex-shrink:0}
.ops-controls{border-left:3px solid #ca2331;padding-left:23px}
.ops-controls p{margin:7px 0 0}
.ops-control-buttons{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.ops .btn.danger,.ops-modal .btn.danger{background:#fff0f2;color:#ac263b;border:1px solid #efc3cc}
.ops-detail-tabs{display:flex;gap:5px;overflow-x:auto;padding-bottom:8px;margin:25px 0 16px;border-bottom:1px solid #dddde5}
.ops-detail-tabs button{font-size:11px;line-height:1.4;white-space:nowrap;min-height:40px;padding:10px 14px;border-radius:7px;color:#777782;background:none}
.ops-detail-tabs button.selected{background:#fff;color:#be2330;box-shadow:0 1px 5px #17171c09}
.ops-panel details>summary{font-size:12px;font-weight:600;min-height:24px}
.ops-panel details h3{font-size:14px;margin:15px 0 8px}
.ops-pre{white-space:pre-line;overflow-wrap:anywhere}
.ops-json{font-size:11px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f7fa;padding:15px;border-radius:9px;color:#696975}
.ops-modal{min-width:0}
.ops-modal h3{font-size:19px;line-height:1.4;margin:15px 0}
.ops-modal>p{font-size:13px;line-height:1.7}
.ops-modal .ops-def{margin:18px 0}
.ops-action-target{padding:13px 15px;background:#f6f6f9;border:1px solid #e5e5ec;border-radius:10px;margin-bottom:6px}
.ops-action-target strong{display:block;font-size:14px;overflow-wrap:anywhere}
.ops-action-target small{display:block;font-size:10px;color:#8c8c98;margin-top:4px;overflow-wrap:anywhere}
.ops-modal .error{font-size:12px;line-height:1.7;white-space:normal;margin:12px 0}
.ops-modal .error:empty{display:none}
.ops-media-editor,.ops-edit-limits{margin:20px 0;padding:16px;border:1px solid #e0e0e8;border-radius:12px;background:#fafafd}
.ops-media-editor>summary,.ops-edit-limits>summary{font-size:13px;font-weight:600;min-height:25px}
.ops-media-editor>label{display:block;margin-top:18px}
.ops-media-editor input[type=file]{width:100%;max-width:100%;font-size:12px;background:#fff}
.ops-media-item{min-width:0;margin:12px 0 18px;padding:12px;background:#fff;border:1px solid #e5e5ec;border-radius:10px}
.ops-media-item img{display:block;width:100%;max-height:210px;object-fit:contain;border-radius:7px;margin-bottom:12px;background:#f4f4f8}
.ops-media-item video,.ops-media-item audio{display:block;width:100%;max-height:240px;margin-bottom:12px}
.ops-media-item label{display:block;font-size:11px}
.ops-media-item .btn{margin-top:9px}
.ops-media-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ops-media-gallery .ops-media-item{margin-bottom:0}
.ops-media-gallery img{height:115px;object-fit:cover}
.ops-modal .ops-form-field{padding:16px;margin:0 0 12px;background:#f7f7fa;border:1px solid #e0e0e8;border-radius:10px;min-width:0}
.ops-form-field .ops-section-head{align-items:center;margin-bottom:12px;font-size:12px}
.ops-form-field label{font-size:11px;min-width:0}
.ops-form-field input,.ops-form-field select{font-size:13px;max-width:100%}
.ops button:focus-visible,.ops-modal button:focus-visible{outline:2px solid #c72332;outline-offset:3px}
@media(max-width:1100px){.ops-campaign-row{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:17px}.ops-row-stats{grid-column:1/3;text-align:left;max-width:340px}.ops-campaign-row>.btn{grid-column:3;grid-row:1/3}.ops-metric{padding:18px}.ops-metric>strong{font-size:27px}}
@media(max-width:800px){.ops-head{align-items:flex-start}.ops-head .page-title{font-size:35px}.ops-head-actions{flex-direction:column;align-items:flex-end;gap:8px}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-grid{grid-template-columns:minmax(0,1fr)}.ops-tabs button{flex:0 0 auto;padding-inline:17px}.ops-campaign-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.ops-campaign-row>.btn{grid-column:2;grid-row:2;justify-self:end}.ops-row-stats{grid-column:1;grid-row:2}.ops-panel{padding:21px}.ops-summary{align-items:flex-start;gap:10px}.ops-summary>small{font-size:9px;text-align:right;max-width:130px;flex-shrink:0}}
@media(max-width:600px){
 .ops-head{gap:14px;flex-wrap:wrap;margin-bottom:20px}.ops-head .page-title{font-size:32px;letter-spacing:-1.2px}.ops-head p{font-size:12px}.ops-head-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%}.ops-head-actions>[data-action="admin-create"]{grid-column:1/-1;justify-self:start}.ops-head-actions>.ops-network{justify-self:start}
 .ops-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;margin-bottom:20px;padding:4px;border-radius:10px;gap:3px}.ops-tabs button{min-width:0;padding:10px 7px;font-size:11px;min-height:44px}.ops-tabs button:last-child{grid-column:2}
 .ops-summary{flex-wrap:wrap;margin-bottom:17px}.ops-summary>div{font-size:10px;gap:6px 10px}.ops-summary>small{max-width:none;text-align:left;font-size:10px}
 .ops-metrics{gap:10px;margin-bottom:18px}.ops-metric{padding:16px;gap:6px;border-radius:11px}.ops-metric>span{font-size:10px}.ops-metric>strong{font-size:26px}.ops-metric>strong>small{font-size:10px}.ops-metric>small{font-size:9px;line-height:1.65}
 .ops-panel{padding:19px;border-radius:12px;margin-bottom:16px}.ops-panel h2,.ops-section-head h2{font-size:18px}.ops-section-head{gap:10px}.ops-section-head .btn{font-size:10px;padding:7px 9px;min-height:34px;white-space:normal;text-align:center}.ops-list-head{align-items:flex-start}.ops-list-head>button{max-width:96px}.ops-list-head p{font-size:11px}
 .ops-filters{padding:14px;gap:11px;border-radius:11px}.ops-filters>.ops-search{flex-basis:100%}.ops-filters>label{flex-basis:110px}.ops-filters input,.ops-filters select{font-size:16px;padding:10px;min-height:44px}.ops-filter-actions{flex-basis:100%}.ops-filter-actions .btn{flex:1;min-height:43px}.ops-more-filters>div{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ops-more-filters>div>label:first-child:not(:last-child){grid-column:1/-1}.ops-more-filters summary{padding:5px 0}
 .ops-campaign-row{display:grid;grid-template-columns:minmax(0,1fr);padding:18px;gap:15px;border-radius:12px}.ops-campaign-main h3{font-size:16px}.ops-campaign-main p{font-size:12px}.ops-campaign-main>small{font-size:10px}.ops-campaign-reward{padding-top:13px;border-top:1px solid #eeeef2}.ops-campaign-reward>strong{font-size:21px}.ops-row-stats{grid-column:auto;grid-row:auto;max-width:none;gap:15px;text-align:left}.ops-row-stats dd{font-size:21px}.ops-row-stats dt{font-size:10px}.ops-campaign-row>.btn{grid-column:auto;grid-row:auto;justify-self:stretch;min-height:43px;font-size:12px}
 .ops-pagination{flex-wrap:wrap;padding:16px 0;gap:12px}.ops-pagination>div{width:100%;justify-content:space-between;gap:6px}.ops-pagination .btn{font-size:10px;padding:9px 10px;min-height:39px}.ops-pagination>div>span{font-size:9px}
 .ops-record{grid-template-columns:minmax(0,1fr);padding:17px;gap:15px}.ops-record h3{font-size:15px}.ops-record-end{border-top:1px solid #efeff3;padding-top:12px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;text-align:left;gap:8px}.ops-record-end>strong{font-size:22px}.ops-record-end>span,.ops-record-end>small{font-size:10px}.ops-record-end .btn{margin-top:0;min-height:38px}.ops-tag{font-size:10px}.ops-id{font-size:10px!important}
 .ops-def>div{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:12px}.ops-def dt{font-size:11px}.ops-def dd{font-size:12px}.ops-timeline .ops-section-head{flex-wrap:wrap;gap:4px}.ops-timeline time{font-size:9px}.ops-timeline p{font-size:11px}.ops-timeline>li{gap:9px;padding:14px 0}
 .ops-detail-head{flex-wrap:wrap;gap:16px}.ops-detail-head h2{font-size:25px;margin:13px 0 9px}.ops-detail-head p{font-size:12px}.ops-detail-head>.btn{min-height:39px;font-size:11px}.ops-control-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ops-control-buttons .btn{font-size:11px;white-space:normal;text-align:center;min-height:44px;padding:9px}.ops-controls{padding-left:17px}.ops-detail-tabs{margin-top:20px}.ops-detail-tabs button{font-size:11px;padding:10px 12px}
 .ops-modal input,.ops-modal select,.ops-modal textarea{font-size:16px}.ops-modal .ops-form-field{padding:13px}.ops-modal .ops-form-field .form-grid{grid-template-columns:minmax(0,1fr)}.ops-modal .ops-form-field .full{grid-column:auto}.ops-modal .ops-form-field .btn{font-size:11px}.ops-modal .ops-def dd{font-size:12px}.ops-modal .ops-def dt{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.ops-metric[data-ops-section]:hover{transform:none}}

/* Coupon management follows the existing compact operations rows. */
.ops-coupon-heading{align-items:center}
.ops-coupon-policy{margin:-3px 0 20px;font-size:12px;line-height:1.7;max-width:850px}
.ops-coupon-list{display:grid;gap:12px}
.ops-coupon-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(130px,1fr) minmax(130px,.9fr) auto;gap:20px;align-items:center;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}
.ops-coupon-row>div{min-width:0}
.ops-coupon-meta{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:10px;color:var(--muted);overflow-wrap:anywhere}
.ops-coupon-meta>span:first-child{font-weight:650;color:var(--text)}
.ops-coupon-main h3{font-size:16px;line-height:1.4;margin:8px 0 5px;letter-spacing:-.2px;overflow-wrap:anywhere;color:var(--text)}
.ops-coupon-main p{font-size:11px;line-height:1.7;margin:0 0 6px;overflow-wrap:anywhere}
.ops-coupon-main>small,.ops-coupon-discount>span,.ops-coupon-usage>span{display:block;font-size:11px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.ops-coupon-discount>strong{font-size:23px;font-weight:650;letter-spacing:-.5px;color:var(--text)}
.ops-coupon-usage>strong{display:block;font-size:14px;line-height:1.5;color:var(--text)}
.ops-coupon-actions{display:flex;gap:7px;flex-direction:column}
.ops-coupon-actions .btn{min-height:40px}
.ops-coupon-options{min-width:0;border:1px solid var(--line);border-radius:8px;padding:13px 15px;display:flex;flex-wrap:wrap;gap:12px 20px;margin:0}
.ops-coupon-options legend{font-size:12px;padding:0 5px;color:var(--text);font-weight:600}
.ops-coupon-options .check{margin:0;min-width:0;flex:1 1 150px;font-size:12px}
.ops-coupon-options .check input{flex-shrink:0}
.ops-coupon-timezone{margin-top:-5px!important}
.ops-coupon-form .form-grid{gap:16px}
.ops-coupon-form .form-grid>label{min-width:0;font-size:12px}
.ops-coupon-form input:not([type=checkbox]),.ops-coupon-form select{max-width:100%;min-width:0;min-height:44px}
.ops-coupon-form input[type=datetime-local]{box-sizing:border-box;width:100%}
.ops-coupon-form .hint{font-size:11px;line-height:1.6}
.ops-coupon-form [hidden]{display:none!important}
@media(max-width:1100px){.ops-coupon-row{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:16px}.ops-coupon-main{grid-row:1/3}.ops-coupon-actions{grid-column:3;grid-row:1/3}.ops-coupon-discount,.ops-coupon-usage{grid-column:2}}
@media(max-width:600px){.ops-tabs button:last-child{grid-column:auto}.ops-coupon-heading{align-items:flex-start;flex-wrap:wrap}.ops-coupon-heading .btn{min-height:44px;font-size:12px;padding:10px 14px}.ops-coupon-policy{font-size:11px}.ops-coupon-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:17px;gap:13px}.ops-coupon-main{grid-column:1/-1;grid-row:auto}.ops-coupon-discount{grid-column:1}.ops-coupon-usage{grid-column:2}.ops-coupon-actions{grid-column:1/-1;grid-row:auto;flex-direction:row}.ops-coupon-actions .btn{flex:1;min-height:44px;font-size:12px}.ops-coupon-form .form-grid{grid-template-columns:minmax(0,1fr);gap:14px}.ops-coupon-form .form-grid>.full{grid-column:auto}.ops-coupon-form input:not([type=checkbox]),.ops-coupon-form select{font-size:16px}.ops-coupon-options{padding:12px;gap:12px}.ops-coupon-options .check{flex-basis:100%;min-height:28px}}
.ops-coupon-audit{grid-column:1/-1;padding-top:12px;margin:0;border-top:1px solid var(--line)}
.ops-coupon-audit>summary{font-size:11px;color:var(--muted);min-height:28px}
.ops-coupon-audit .ops-timeline{margin-top:5px}
/* WebKit's native menulist ignores minimum height; retain select semantics with a full touch target. */
#opsCouponForm select,#opsCouponFilters select{-webkit-appearance:none;appearance:none;height:44px;min-height:44px;box-sizing:border-box;padding-right:34px;background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
