:root{font:15px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#21304a;background:#f6f8fc}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}[hidden]{display:none!important}a{color:inherit}header{background:#fff;border-bottom:1px solid #e3e8f1;padding:20px 5%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:19px;font-weight:700}.brand b{display:grid;place-items:center;background:#365dcc;color:#fff;width:43px;height:43px;border-radius:13px;font-size:15px}.brand small{display:block;font-size:9px;letter-spacing:2px;font-weight:500;color:#68788f}main{max-width:1080px;margin:50px auto;padding:0 28px;min-height:65vh}h1{font-size:clamp(30px,4vw,44px);line-height:1.14;letter-spacing:-1.5px;margin:7px 0 16px}h2{font-size:23px;letter-spacing:-.5px;line-height:1.3;margin:0 0 9px}h3{font-size:17px;margin-top:30px}.eyebrow{color:#365dcc;font-size:10px;letter-spacing:2px;font-weight:700}.muted,small{color:#69778c}.title-row{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.primary,.secondary,.quiet{border-radius:10px;padding:12px 18px;border:1px solid transparent;font-weight:600;font-size:13px}.primary{background:#365dcc;color:#fff}.primary:hover{background:#284cae}.secondary{background:white;border-color:#d7dfec;color:#365dcc}.quiet{background:transparent;color:#68788f;padding:9px 0}.card{background:#fff;border:1px solid #e0e6ef;padding:30px;border-radius:18px;margin:20px 0}.note{background:#eef3ff;border:1px solid #dce5fc;color:#4e6388;padding:16px 20px;border-radius:12px;font-size:13px;margin:24px 0}label{display:block;font-size:13px;font-weight:600;margin:20px 0 7px}label span{font-size:10px;font-weight:400;color:#7c899b;margin-left:8px}input:not([type=checkbox]):not([type=color]),textarea{display:block;width:100%;padding:12px 13px;border-radius:9px;border:1px solid #ccd6e5;background:#fff;color:#21304a}input[type=color]{height:48px;width:90px;border-radius:9px;border:1px solid #ccd6e5;padding:5px;background:#fff}textarea{resize:vertical;line-height:1.6}small{display:block;font-size:11px;line-height:1.65;margin-top:6px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:4px 26px}.steps{display:flex;gap:8px;margin:28px 0}.steps button{flex:1;text-align:left;border:1px solid #dbe3ef;border-radius:12px;background:white;padding:14px;font-size:13px;color:#7b889b}.steps b{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#eef2f9;margin-right:7px;font-size:11px}.steps .selected{border-color:#365dcc;color:#365dcc}.steps .selected b{background:#365dcc;color:#fff}.save-bar{position:sticky;bottom:14px;z-index:4;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#fff;border:1px solid #dbe3ef;padding:18px 22px;border-radius:15px;box-shadow:0 9px 35px #22304a0a}.save-bar b{font-size:13px}.save-bar small{font-size:10px}.step-navigation{display:flex;justify-content:space-between;margin-top:24px}.search-row{max-width:360px;margin:30px 0 24px}.search-row label{margin:0 0 6px}.customer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.customer{border:1px solid #e0e6ef;background:#fff;padding:24px;border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;color:inherit}.customer:hover{border-color:#a8bce9}.customer h2{font-size:20px;margin-top:14px}.customer p{font-size:12px;margin:6px 0;color:#68788f;overflow-wrap:anywhere}.customer .open-label{margin-top:18px;font-size:12px;color:#365dcc;font-weight:600}.badge{display:inline-block;border-radius:20px;padding:5px 11px;background:#eef1f6;color:#6b788e;font-size:11px;font-weight:600;white-space:nowrap}.badge.active{background:#e7f5ee;color:#247153}.badge.paused{background:#fff2db;color:#99621c}.empty{text-align:center;padding:60px 20px}.empty-icon{display:inline-grid;place-items:center;width:60px;height:60px;background:#eaf0ff;color:#365dcc;font-size:30px;border-radius:20px;margin-bottom:20px}.empty p{color:#68788f;font-size:13px;margin-bottom:25px}.login{max-width:500px;margin:50px auto}.login form{margin-top:32px}.login label{margin-top:0}.login button{width:100%;margin-top:22px}.notice{white-space:pre-wrap;padding:14px 0;color:#315d9c}.notice.error{color:#a33737}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;font-weight:400}.check input{margin-top:6px;flex-shrink:0}.action-row{display:flex;gap:10px;flex-wrap:wrap}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fb;border:1px solid #e0e6ef;border-radius:10px;padding:20px;font-size:12px;line-height:1.7}details{margin-top:28px;border-top:1px solid #e3e8f1;padding-top:18px}summary{cursor:pointer;font-weight:600;font-size:13px}footer{padding:25px;text-align:center;color:#8793a5;font-size:11px}dialog{padding:0;border:1px solid #d4deee;border-radius:18px;width:450px;max-width:calc(100vw - 24px);height:720px;max-height:90dvh;overflow:hidden}dialog::backdrop{background:#13223d66}.preview-head{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-bottom:1px solid #e1e7f0}.preview-head button{border:0;background:none;font-size:24px;color:#68788f}.preview-note{font-size:10px;margin:0;padding:10px 18px;background:#eef3ff;color:#536885}iframe{display:block;width:100%;height:calc(100% - 105px);border:0} :focus-visible{outline:3px solid #99b1f2;outline-offset:3px}
@media(max-width:650px){main{padding:0 16px;margin-top:30px}header{padding:15px 18px}.title-row{align-items:flex-start;flex-direction:column;gap:12px}.fields,.customer-grid{grid-template-columns:1fr}.steps{gap:5px}.steps button{padding:10px 7px;font-size:10px}.steps b{display:block;margin-bottom:6px}.card{padding:22px}.save-bar{padding:14px;align-items:flex-start}.save-bar small{max-width:160px}.save-bar button{padding:12px 14px;font-size:11px}input,textarea{font-size:16px!important}}
