/* Admin design system: shared spacing, controls, typography, and responsive layouts. */
nav a{min-height:42px;display:flex;align-items:center;gap:11px;font-size:12px;font-weight:550;color:#657184;padding:10px 12px;border-radius:8px}nav a:hover{background:#f6f8fb}nav a.active{background:#fcecee;color:#c7263a;box-shadow:inset 3px 0 #dc2638}.detail-actions,.table-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.table-actions .secondary{font-size:10px;min-height:32px;padding:6px 10px}.record-details{margin:0 0 24px}.record-details>div{padding:15px 0;border-bottom:1px solid #e5e9ef;display:grid;grid-template-columns:190px 1fr;gap:20px}.record-details dt{color:#7b8798;font-size:12px}.record-details dd{margin:0;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.checkout-panel{max-width:520px;margin:20px auto 40px}.checkout-panel>.eyebrow{margin-top:25px}#delete-dialog .detail-actions{justify-content:flex-end;margin-top:22px}@media(max-width:1000px){nav a{justify-content:center;padding:11px;font-size:0;min-height:44px}}@media(max-width:550px){nav a{padding:9px;min-height:42px}.record-details>div{grid-template-columns:1fr;gap:5px}}
:root{--red:#dc2638;--ink:#263243;--muted:#687588;--border:#e5e9ef;--green:#167854;--surface:#f6f8fb}
body{background:var(--surface);font-size:14px;color:var(--ink);line-height:1.5}
.ui-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.inline-icon{display:inline-flex;align-items:center;vertical-align:middle;line-height:1}.inline-icon .ui-icon{width:16px;height:16px}button .inline-icon,a .inline-icon{margin:0 3px}
.sidebar{width:260px;padding:25px 18px 0;overflow-y:auto;scrollbar-width:thin}.brand{font-size:34px;letter-spacing:-1.8px}.brand span{font-size:8px;letter-spacing:2px;color:#738094}.workspace{margin:24px 0;padding:12px;background:#fafbfc;border-radius:10px}.workspace b{font-size:13px}.workspace small{font-size:10px;color:#738094}.workspace-icon{background:#fcecef;color:#cd2337}
.nav-label{font-size:9px;letter-spacing:1.4px;margin:4px 12px 10px;color:#8390a1}nav{gap:3px;margin-bottom:22px}nav button{min-height:42px;font-size:12px;gap:11px;color:#657184;padding:10px 12px;border-radius:8px}nav button:hover{background:#f6f8fb}nav button.active{background:#fcecee;color:#c7263a;box-shadow:inset 3px 0 #dc2638}nav i{display:inline-flex;width:19px}.nav-text{white-space:nowrap}.nav-count{font-size:10px}.sidebar-bottom{padding-top:12px}.help{padding:14px;margin-bottom:8px;background:#f7f9fc}.help p{margin:6px 0 12px}.help button{color:#526176;font-size:11px}.profile{padding:17px 0}.profile small{font-size:10px}.app{margin-left:260px}
header{height:72px;padding:0 36px;background:#ffffffed}.breadcrumb{font-size:12px}.breadcrumb b{font-weight:600;color:#465368}.demo{font-size:11px;background:#f4f7fa;border:1px solid var(--border);padding:5px 9px;border-radius:20px}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px}.icon-button:hover{background:#f3f5f8}.header-right{gap:15px}
main{max-width:1580px;padding:32px 36px 0}h1{font-size:28px;font-weight:750;letter-spacing:-.9px;line-height:1.3;margin:8px 0 10px}.eyebrow{font-size:10px;letter-spacing:1.5px}.page-heading{margin-bottom:26px;gap:20px}.page-heading p{font-size:13px;color:#738094;line-height:1.7}.page-heading>div{min-width:0}.page-heading h1{overflow-wrap:anywhere}
.primary,.secondary{min-height:40px;padding:10px 15px;font-size:12px;font-weight:600;border-radius:8px;gap:7px;line-height:1.4}.primary{box-shadow:0 3px 6px #c8273218}.primary:hover{background:#c82133}.secondary{color:#536177;border-color:#dce2e9;box-shadow:0 1px 2px #1b2a4105}.secondary:hover{background:#f7f9fc;border-color:#b8c3d0}.primary:active,.secondary:active{transform:translateY(1px)}:focus-visible{outline:3px solid #e89ca5;outline-offset:3px}button:disabled{opacity:.55;transform:none}
.journey-banner{display:block;padding:23px 25px;margin-bottom:24px;border:1px solid #e4e8f0;background:linear-gradient(110deg,#fff,#fbf6f7);border-radius:12px}.banner-copy{display:flex;align-items:center;gap:14px}.banner-copy b{font-size:14px;font-weight:650}.banner-copy p{font-size:12px;line-height:1.6;color:#7b8492;margin-top:5px}.banner-icon{background:#fcebee;width:42px;height:42px;flex-shrink:0;border-radius:11px}.banner-icon .ui-icon{width:22px;height:22px}.setup-flow{display:flex;align-items:center;gap:12px;margin:20px 0 0 56px}.setup-flow>a,.setup-flow>button{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:550;color:#5d6a7d;border:1px solid #e2e6ec;background:#fff;border-radius:8px;padding:10px 13px}.setup-flow>a:hover{border-color:#e18b96;background:#fff8f9}.setup-flow>button{background:#fcecef;color:#c52c3e;border-color:#f0d3d8}.setup-flow>span{color:#b2bac7}.setup-flow .ui-icon{width:17px;height:17px}
.stats{gap:18px;margin-bottom:26px}.stats article{border-radius:12px;padding:21px;background:white;box-shadow:0 2px 4px #1f304503}.stats article>span{font-size:12px;color:#738095}.stats i{background:#f5f7fa;border-radius:8px;padding:7px;color:#718096;display:flex;align-items:center;justify-content:center}.stats strong{font-size:30px;margin:14px 0}.stats strong small{font-size:11px}.stats p{font-size:11px;color:#7e8a9b}.stats em{font-size:10px;padding:3px 6px}
.panel{border-radius:12px;box-shadow:0 3px 8px #24354a03}.panel-title{padding:23px 24px}.panel-title h2{font-size:15px}.panel-title p{font-size:12px}.table-toolbar{padding:0 24px 20px;flex-wrap:wrap}.tabs{background:#f3f5f8;border:1px solid #eef1f5}.tabs button{font-size:11px;padding:8px 12px}.tabs span{font-size:10px}.search{align-items:center;padding:8px 10px;min-height:37px;background:white}.search input{font-size:12px;width:145px;min-width:0}.search-tools select{font-size:11px}.table-scroll{scrollbar-width:thin}th{font-size:10px;letter-spacing:.6px;font-weight:650;background:#f8fafc;padding:14px 17px;color:#7b8798}td{font-size:12px;padding:20px 17px;color:#657286}tbody tr:hover{background:#fcfdff}.campaign-name b{font-size:12px;color:#334155;font-weight:600}.campaign-name small,.subtext{font-size:10px;color:#8a95a6}.campaign-symbol{width:38px;height:38px;background:#eef8f3;border-color:#e3f0e9;border-radius:10px;color:#36916b}.badge{font-size:10px;padding:5px 8px;border-radius:6px}.progress{height:4px;margin-top:8px;background:#edf1f5}.row-action{width:30px;height:30px;border-radius:7px;display:grid;place-items:center}.row-action:hover{background:#f0f3f7}.table-footer{font-size:11px;padding:18px 24px}.table-footer button{font-size:10px;padding:7px 10px;min-height:30px}.bottom-note{font-size:11px;color:#7a8799;display:flex;align-items:center;gap:5px;margin:20px 0 30px}.bottom-note>span:last-child{margin-left:auto;font-size:10px}footer{font-size:10px;padding:22px 0;color:#8c97a6}
.wizard-grid{grid-template-columns:minmax(0,1fr) 350px;gap:26px;align-items:start}.wizard-grid>div,.wizard-grid>form{min-width:0}.form-panel{padding:28px}.form-panel h2{font-size:16px;color:#334155;letter-spacing:-.3px}.form-panel>p,.campaign-form-section>p{font-size:12px;line-height:1.7;color:#7c899b;margin:8px 0 24px}.campaign-form-section+.campaign-form-section{border-top:1px solid var(--border);margin-top:30px;padding-top:28px}.success-heading{color:#247c5c!important}.field{font-size:12px;font-weight:600;color:#4c5b70;margin-bottom:21px}.field input,.field select,.field textarea{font-size:13px;border-radius:8px;padding:11px 13px;line-height:1.6;color:#39495f;border-color:#dce3eb;transition:border-color .15s,box-shadow .15s}.field input,.field select{min-height:43px}.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:#df8b97;box-shadow:0 0 0 3px #e6374c0a}.field input[readonly]{background:#f6f8fb;color:#738198;cursor:default}.field small{font-size:11px;line-height:1.7;color:#8490a0;font-weight:400}.field textarea{line-height:1.9;min-height:150px}.fields{gap:20px}.form-section{font-size:12px;font-weight:650;color:#35465d;margin:28px 0 18px;padding-top:24px}.info{font-size:12px;background:#f3f7fc;border:1px solid #e6edf7;color:#637b99;border-radius:9px;padding:14px 16px;line-height:1.8;overflow-wrap:anywhere}.campaign-template-picker{background:#fcfdff;border-color:#e4e9f1;padding:20px;border-radius:10px;margin-bottom:24px}.campaign-template-picker .info{background:#f5f8fc;border-color:#e9eef6}.campaign-template-picker .field{margin-bottom:15px}.upload{padding:25px;background:#fafcff;border-color:#ced8e5;border-radius:10px}.upload>span{display:inline-flex;padding:10px;border-radius:10px;background:#edf2f9;color:#6e87a7}.upload b{font-size:12px;margin:12px 0 6px}.upload p{font-size:11px}.upload input{margin-top:10px;font-size:11px;color:#728198}.upload input::file-selector-button{border:1px solid #d5dfeb;border-radius:6px;padding:7px 11px;margin-right:10px;background:white;color:#52657e;font:inherit;cursor:pointer}.choice{font-size:13px;padding:12px 14px;border:1px solid #e3e8ef;border-radius:8px;margin:10px 0;background:#fff;cursor:pointer}.choice:has(input:checked){border-color:#e6b0b7;background:#fffafb}.choice input{width:16px;height:16px;margin:0 4px 0 0}.cta-editor{padding:19px;border-radius:10px;background:#fcfdff}.cta-editor-heading{font-size:12px;margin-bottom:18px}.cta-editor .field:last-child{margin-bottom:0}.cta-editor-heading .back{font-size:11px}.back{font-size:12px;display:inline-flex;align-items:center;gap:5px;color:#7b889b}.back:hover{color:var(--red)}
.wizard-footer{position:sticky;bottom:0;background:#f6f8bf00;background:rgba(246,248,251,.96);padding:16px 0;margin:10px 0 25px;border-top:1px solid #e5e9ef;z-index:2}.preview-panel{position:sticky;top:24px;border-radius:12px;padding:20px;background:#eef2f7;border-color:#e2e7ef}.preview-label{font-size:12px;color:#4a5b71}.preview-label span{font-size:8px;letter-spacing:.8px;background:#e1f1e9;padding:4px 6px;border-radius:4px;color:#328366}.preview-panel>p{font-size:11px;color:#8491a2}.preview-note{font-size:11px;color:#8390a2;line-height:1.8}.phone{margin:22px auto 16px;border:5px solid #334155;border-radius:24px;max-width:310px;box-shadow:0 9px 20px #27374d10}.phone-top{background:#075e54;font-size:10px;padding:10px 15px}.wa-header{background:#075e54;padding:12px 10px;gap:10px}.wa-header b{font-size:13px}.wa-header small{font-size:9px}.wa-avatar{height:34px;width:34px;display:grid;place-items:center;padding:0;flex-shrink:0}.wa-body{padding:17px 12px;min-height:340px;background-color:#eee8df}.message{font-size:12px;line-height:1.7;padding:14px 12px 0;border-radius:0 9px 9px;color:#38444c;overflow-wrap:anywhere}.message>small{font-size:9px;margin-top:7px;color:#94a4af}.today{font-size:8px;padding:5px 10px;margin-bottom:19px}.wa-cta{font-size:12px}.cta-link{padding:11px 8px}.cta-link .ui-icon{width:14px;height:14px}.encrypted{font-size:9px;line-height:1.6;color:#93958c}.phone-bottom{font-size:16px;padding:9px}.phone-bottom div{font-size:11px}.phone-bottom .ui-icon{width:18px;height:18px}.reward-card{background:#f7f9fc;border:1px solid #e8edf3;color:#52647c;border-radius:8px;padding:18px}.reward-card strong{color:#2d4058;font-size:23px;margin-top:5px}.preview-panel .form-panel{padding:22px}.preview-panel .form-panel h1{font-size:28px}
dialog{width:580px;border-radius:16px;padding:30px;max-height:90dvh;overflow:auto}dialog h2{font-size:20px;margin:8px 0 14px}dialog p{font-size:13px;line-height:1.8}dialog .phone{max-width:300px}dialog::backdrop{background:#23304780;backdrop-filter:blur(3px)}#toast{font-size:12px;max-width:calc(100vw - 32px);text-align:center;line-height:1.6;border-radius:10px;z-index:20}
@media(min-width:1550px){main{padding:38px 44px 0}.wizard-grid{grid-template-columns:minmax(0,1fr) 380px;gap:32px}.form-panel{padding:32px}.preview-panel{padding:24px}.setup-flow{gap:18px}.setup-flow>a,.setup-flow>button{font-size:12px;padding:12px 18px}}
@media(max-width:1250px){.sidebar{width:232px;padding:22px 13px 0}.app{margin-left:232px}main{padding:26px 24px 0}header{padding:0 24px}.wizard-grid{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.preview-panel{padding:16px}.form-panel{padding:23px}.setup-flow{margin-left:0;gap:8px;flex-wrap:wrap}.setup-flow>a,.setup-flow>button{font-size:10px;padding:9px}.stats{gap:12px}.stats article{padding:17px}.stats article>span{font-size:11px}.stats strong{font-size:26px}.stats strong small{font-size:10px}.stats p{font-size:10px}}
@media(max-width:1000px){.sidebar{width:76px;padding:23px 10px}.brand{font-size:21px;padding:0}.brand span,.workspace,.nav-label,.sidebar-bottom,.nav-text,.nav-count{display:none}nav{margin:20px 0;gap:8px}nav button{justify-content:center;padding:11px;font-size:0;min-height:44px}nav i{width:21px}.app{margin-left:76px}.stats{grid-template-columns:repeat(2,1fr)}.stats article>span{font-size:12px}.stats strong{font-size:29px}.wizard-grid{grid-template-columns:minmax(0,1fr) 300px}.setup-flow>span{display:none}.preview-panel{max-width:none}.page-heading{gap:14px}.header-right{gap:10px}}
@media(max-width:800px){.wizard-grid{grid-template-columns:1fr}.preview-panel{position:static;max-width:380px;width:100%;margin:0 auto 25px}.wizard-footer{position:static}.form-panel{padding:24px}.fields{grid-template-columns:1fr 1fr}.bottom-note>span:last-child{display:none}.journey-banner{padding:20px}.setup-flow{gap:8px}.setup-flow>a,.setup-flow>button{flex:1 1 42%;font-size:11px}.banner-copy p{font-size:11px}h1{font-size:25px}}
@media(max-width:550px){.sidebar{width:58px;padding:20px 6px}.brand{font-size:16px;letter-spacing:-1px}.app{margin-left:58px}nav button{padding:9px;min-height:42px}.ui-icon{width:19px;height:19px}main{padding:22px 14px 0}header{padding:0 14px;height:60px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 7px}.header-right .avatar{display:none}.demo{display:none}.page-heading{flex-wrap:wrap;align-items:center;margin-bottom:22px}.page-heading p{font-size:12px}.page-heading .primary{min-height:40px}.eyebrow{font-size:8px}h1{font-size:23px}.primary,.secondary{font-size:11px;padding:10px 12px}.journey-banner{padding:16px}.banner-copy b{font-size:12px}.banner-icon{display:none}.banner-copy p{font-size:10px}.setup-flow{margin-top:14px}.setup-flow>a,.setup-flow>button{font-size:10px;padding:9px 7px;gap:6px}.setup-flow .ui-icon{width:15px;height:15px}.stats{gap:10px}.stats article{padding:14px}.stats article>span{font-size:10px}.stats i{padding:5px}.stats i .ui-icon{width:15px;height:15px}.stats strong{font-size:25px;margin:12px 0}.stats strong small{display:none}.stats p{font-size:9px;line-height:1.9}.stats em{font-size:9px}.panel-title{padding:18px}.table-toolbar{padding:0 16px 16px}.tabs{overflow:auto;max-width:100%;flex-wrap:nowrap}.tabs button{font-size:10px;padding:7px 8px}.search-tools{width:100%}.search{flex:1;min-width:0}.search input{width:100%}.search-tools select{max-width:112px}.form-panel{padding:18px}.fields{grid-template-columns:1fr;gap:0}.field{font-size:12px}.field input,.field select,.field textarea{font-size:14px}.form-panel h2{font-size:15px}.campaign-template-picker{padding:14px}.info{font-size:11px;padding:12px}.cta-editor{padding:14px}.wizard-footer{gap:8px;flex-wrap:wrap}.wizard-footer>div{gap:7px}.preview-panel{padding:16px}.bottom-note{font-size:10px;line-height:1.8}.table-footer{font-size:10px;padding:15px}.preview-label span{font-size:7px}footer{font-size:9px;gap:12px}.phone{max-width:290px}.message{font-size:12px}dialog{padding:22px}.help{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
