:root{font-family:Inter,system-ui,Arial,sans-serif;color:#16243a;background:#f0f4fa;line-height:1.45}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.mast{display:flex;align-items:center;gap:18px;padding:14px max(22px,calc((100vw - 1250px)/2));background:#0c213b;color:#fff;box-shadow:0 4px 20px #0c1d3750}.mast img{width:78px;max-height:52px;object-fit:contain}.mast div{display:flex;flex-direction:column;gap:2px}.mast strong{font-size:18px;letter-spacing:.1em}.mast span{color:#c6e4f9;font-size:12px}.mast a{margin-left:auto;color:#fff;font-weight:700;text-decoration:none;border:1px solid #8acbff;border-radius:10px;padding:10px 12px}main{max-width:1250px;margin:auto;padding:24px}.hero{display:flex;justify-content:space-between;align-items:center;gap:15px;background:linear-gradient(110deg,#10365d,#155f59);color:#fff;border-radius:20px;padding:30px;margin-bottom:18px}.hero h1{font-size:clamp(23px,3.2vw,36px);margin:6px 0}.hero p{color:#d9f4ed;margin:0}.hero-chip{padding:15px 21px;border:1px solid #a6ecdf;border-radius:15px;text-align:center;min-width:160px}.eyebrow{letter-spacing:.12em;font-size:11px;font-weight:800;color:#3e57ab}.hero .eyebrow{color:#b9f8e7}.alert{border-left:5px solid #2583e3;background:#dfeefe;color:#123154;padding:14px;border-radius:9px;margin-bottom:16px;font-weight:600}.alert.error{background:#ffe8e8;color:#8b1818;border-color:#d83245}.alert.ok{background:#e1f8e8;color:#14512e;border-color:#18a56c}.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:24px;background:#fff;border:1px solid #cbd8ea;border-radius:18px;box-shadow:0 5px 22px #1232570f}.title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 18px}.title h2{font-size:22px;margin:4px 0}.pill{background:#d9e8ff;color:#1b4283;border-radius:100px;padding:7px 12px;font-size:11px;font-weight:900}label{display:flex;flex-direction:column;color:#162a48;font-weight:700;font-size:13px;gap:6px;margin:13px 0}input,select{width:100%;border:1px solid #afc2db;border-radius:10px;padding:11px;background:#f7fbff;color:#152640;outline-offset:2px;min-width:0}.inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inline:has(#pctLabel){grid-template-columns:repeat(3,minmax(0,1fr))}#targetLabel,#pctLabel{grid-column:span 1}fieldset{margin:15px 0;border:1px solid #bacce6;border-radius:12px;padding:6px 14px 14px}legend{color:#213456;font-weight:800;font-size:13px}.days{display:flex;flex-wrap:wrap;gap:6px}.days label{display:flex;flex-direction:row;align-items:center;gap:5px;margin:4px;background:#e5effb;border:1px solid #bfd4ef;border-radius:10px;padding:8px;color:#10345f}.days input{width:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;color:#fff;border:0;border-radius:10px;font-weight:850;padding:11px 15px;box-shadow:0 3px 8px #162d4926}.btn:hover{filter:brightness(1.08)}.btn:focus-visible{outline:3px solid #f2a634;outline-offset:2px}.violet{background:#613bd7}.blue{background:#155ad7}.teal{background:#067f74}.orange{background:#ae4c05}.red{background:#bf2953}.green{background:#137a42}.btn:disabled{opacity:.55;cursor:not-allowed}.help{font-size:12px;line-height:1.5;color:#405872;background:#eaf1fb;border-radius:10px;padding:11px;margin:14px 0}.rules{display:flex;flex-direction:column;gap:9px;margin-bottom:22px;max-height:400px;overflow:auto}.rule{padding:13px;background:#eef5ff;border:1px solid #c6d7ee;border-radius:12px}.rule strong{display:block;color:#142947}.rule small{color:#445771;display:block;margin:5px 0}.rule .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.rule .btn{padding:8px 12px;font-size:12px}.status{display:inline-block;border-radius:7px;padding:2px 6px;background:#dce7ff;color:#164279;font-size:11px;font-weight:900}.result{background:#112a46;color:#f5fbff;padding:15px;border-radius:10px;white-space:pre-wrap;overflow:auto;min-height:95px}.hidden{display:none!important}footer{padding:20px;text-align:center;font-size:12px;color:#516783}@media(max-width:810px){.two{grid-template-columns:1fr}.mast{padding:12px}.mast img{width:52px}.mast a{font-size:12px}.hero{padding:20px;flex-direction:column;align-items:flex-start}.inline:has(#pctLabel){grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){main{padding:12px}.panel{padding:16px}.inline{grid-template-columns:1fr!important}.mast{gap:8px}.mast span{display:none}.mast a{padding:6px}.btn{font-size:13px}}

/* Offer Studio scope V2: scoped styles only; legacy POS styles.css is untouched. */
.mast { min-height:94px; gap:18px; background:#0b2542; }
.brand-plaque { flex:0 0 auto!important; width:142px; height:76px; padding:4px 8px; display:flex!important; align-items:center; justify-content:center; background:#fffdf7; border:2px solid #ffe2a9; border-radius:13px; box-shadow:0 2px 10px #00112257; overflow:hidden; }
.mast .brand-plaque img { display:block; width:124px; height:68px; max-height:none; object-fit:contain; object-position:center; }
.mast-title { min-width:0; }
.mast-title strong { color:#fff; }
.mast-title span { color:#e0edff; }
.mast-back { background:#1961bf; border:1px solid #7dccff!important; color:#fff!important; text-align:center; }
.scope-panel { margin:12px 0 20px; padding:13px; background:#eff5ff; border:1px solid #b3c8f0; }
.scope-panel legend { color:#122d54; font-size:14px; }
.scope-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.scope-choice { margin:0; display:flex; flex-direction:row; align-items:center; min-height:78px; background:#e6effd; border:2px solid #b1c6e7; padding:12px; border-radius:12px; gap:10px; cursor:pointer; color:#122b4c; }
.scope-choice:has(input:checked) { background:#d7ecff; border-color:#1969cf; box-shadow:0 0 0 1px #1969cf inset; }
.scope-choice input,.store-choice input { flex:0 0 auto; width:19px; height:19px; accent-color:#155bc5; }
.scope-choice span { display:flex; flex-direction:column; gap:3px; }
.scope-choice strong { font-size:14px; color:#0d2853; }
.scope-choice small { font-size:11px; color:#304966; }
.scope-note { margin:14px 0 8px; font-weight:800; font-size:12px; color:#152f52; }
.store-checklist { max-height:188px; overflow:auto; padding:10px; border:1px solid #b0c4e4; border-radius:10px; background:#f9fcff; display:grid; gap:5px; }
.store-choice { display:flex; flex-direction:row; align-items:center; gap:10px; margin:0; padding:9px; background:#e6f0fc; border:1px solid #cedbee; border-radius:9px; font-size:12px; }
.store-choice:has(input:checked) { background:#daebff; border-color:#3d8bdf; }
.target-summary { font-weight:800; font-size:12px; background:#d7ecff; padding:10px 12px; border-left:4px solid #1762c2; border-radius:8px; color:#123154; margin:12px 0 0; }
.scope-footnote { font-size:11px; color:#405676; margin:10px 0 2px; }
.rule .scope-tag { display:inline-block; border-radius:6px; padding:3px 8px; background:#163967; color:#f5faff; font-size:11px; font-weight:850; margin-top:5px; }
.preview-title { border-top:1px solid #d2def0; margin-top:24px; padding-top:18px; }
.rules.compact { max-height:160px; }
#selectedStoreWrap.hidden { display:none!important; }
@media(max-width:700px){.scope-options{grid-template-columns:1fr}.mast{flex-wrap:wrap;min-height:0}.brand-plaque{width:112px;height:64px}.mast .brand-plaque img{width:95px;height:56px}.mast-back{margin-left:0!important}}
@media(max-width:450px){.mast-title strong{font-size:15px}.brand-plaque{width:100px;height:59px}.mast .brand-plaque img{width:88px;height:52px}}

/* Scoped Super Admin activation section only; no cashier UI/CSS modifications. */
.pilot-section{margin:18px 0 23px;padding:16px;border:2px solid #acc6df;background:#f1f6fe;border-radius:14px}
.pilot-section .title{margin-bottom:8px}.pilot-section .title h2{font-size:20px}
.pilot-section .actions{display:flex;gap:10px;flex-wrap:wrap}
.pilot-status{color:#153052;font-size:13px;font-weight:850;padding:12px;border-radius:10px;border:1px solid #b7cae6;background:#e0eaf8}
.pilot-status.armed{color:#0a3f21;background:#d7f7e2;border-color:#4dba7e}
.pilot-status.disarmed{color:#5c3110;background:#ffefd8;border-color:#daab5b}
.pilot-status.error{color:#8b1414;background:#ffe3e3;border-color:#d35c5c}

/* Offer Studio preview controls only: independent Safari-safe date / hour / minute. */
.preview-clock { background:#eaf3ff; border-color:#91b6e4; padding:12px 16px 8px; }
.preview-clock legend { color:#12365d; }
.preview-clock-grid { display:grid; grid-template-columns:minmax(170px,2fr) minmax(95px,1fr) minmax(95px,1fr); gap:12px; }
.preview-clock-grid label { color:#123154; min-width:0; }
.preview-clock-grid input,.preview-clock-grid select { background:#f9fcff; color:#112c4c; border:2px solid #9bb8df; border-radius:10px; min-height:47px; }
.preview-clock-grid input:focus-visible,.preview-clock-grid select:focus-visible { outline:3px solid #1a75d2; outline-offset:2px; }
.preview-clock-confirm { margin:6px 0 4px; padding:10px 12px; border-radius:9px; color:#efffff; background:#175585; font-size:13px; font-weight:800; }
@media(max-width:520px){.preview-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-clock-grid label:first-child{grid-column:span 2}}

/* Offer Studio-only live product chooser; high contrast, no cashier/menu styling. */
.preview-product-panel { margin:12px 0 16px; padding:14px; background:#e9f2ff; border:1px solid #9bb9dd; border-radius:12px; }
.preview-product-panel label { color:#173351; font-weight:750; }
.preview-product-panel input,.preview-product-panel select { width:100%; background:#f9fcff; color:#112b45; border:2px solid #9bb8df; min-height:46px; border-radius:10px; }
.preview-product-panel input:focus-visible,.preview-product-panel select:focus-visible { outline:3px solid #2769bc; outline-offset:2px; }
.product-picker-info { color:#24496d; font-size:13px; padding:4px 2px; font-weight:650; }

/* RC6801 midnight scheduling control, high contrast. */
.midnight-panel{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:7px 0 16px;padding:12px;background:#e6f0ff;border:1px solid #aac7ef;border-radius:11px}
.midnight-panel span{flex:1;min-width:190px;color:#183658;font-size:12px;line-height:1.5;font-weight:650}
#previewMidnight{margin:6px 0 8px;background:#155ad7;color:#fff}
