:root{--navy:#17284a;--navy-deep:#101e37;--blue:#346fdf;--blue-soft:#eaf2ff;--ink:#1b2941;--muted:#73809a;--line:#e7ecf3;--bg:#f6f8fc;--white:#fff;--good:#168060;--good-bg:#e7f6ee;--warn:#9c6815;--warn-bg:#fff4da;--bad:#b74444;--bad-bg:#fff0f0}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{text-decoration:none;color:var(--blue)}a:hover{text-decoration:underline}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-.8px;font-weight:750}h2{font-size:21px;letter-spacing:-.5px}h3{font-size:16px}.muted{color:var(--muted)}.small{font-size:12px}.center{text-align:center}.hidden{display:none!important}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:780;color:#7a91bc}.dot{width:8px;height:8px;border-radius:50%;background:#22bf83;display:inline-block;flex-shrink:0;box-shadow:0 0 0 3px rgba(34,191,131,.12)}
.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;min-height:40px;padding:10px 17px;border:1px solid transparent;border-radius:11px;font-weight:650;transition:all .18s;background:#edf2fa;color:var(--ink)}.btn:hover{text-decoration:none;filter:brightness(.97)}.btn-primary{color:#fff;background:var(--blue);box-shadow:0 5px 12px rgba(52,111,223,.16)}.btn-outline{color:var(--ink);background:#fff;border-color:#e1e7f0}.btn-wide{width:100%;min-height:46px}.btn-small{min-height:33px;padding:7px 12px;font-size:12px;border-radius:9px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);width:37px;height:37px;background:#fff;color:var(--ink);border-radius:10px;font-size:16px}.icon-btn:hover{background:#f2f5fb}
.brand{display:flex;align-items:center;gap:10px;font-size:15px;letter-spacing:1.3px;font-weight:650;color:var(--navy)}.brand b{font-weight:760}.brand.center{justify-content:center}.brand-symbol{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#5081ed,#1d4bb9);color:#fff;font-size:20px;letter-spacing:-2px;font-weight:800;box-shadow:0 6px 12px rgba(27,74,186,.15)}
.shell{display:flex;min-height:100vh}.sidebar{width:244px;flex-shrink:0;display:flex;flex-direction:column;background:var(--navy-deep);padding:24px 14px 18px;color:#d7e1f4;position:sticky;top:0;height:100vh}.sidebar-brand{padding:0 11px 34px;color:#fff;font-size:15px}.sidebar-brand .brand-symbol{background:#365fd1}.nav-caption{font-size:10px;letter-spacing:1.65px;color:#7587aa;font-weight:700;padding:5px 15px;margin:10px 0 9px}.sidebar nav{display:flex;flex-direction:column;gap:3px}.nav-link{width:100%;display:flex;align-items:center;gap:12px;padding:12px 13px;border:none;background:transparent;text-align:left;border-radius:10px;font-weight:570;font-size:13px;color:#afbed8}.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}.nav-link.active{color:white;background:#294371;box-shadow:inset 3px 0 #5f94ff}.nav-icon{font-size:19px;color:#a0b1ce;width:21px;display:inline-flex;justify-content:center}.nav-link.active .nav-icon{color:#fff}.sidebar-footer{margin-top:auto;padding:18px 13px 0;border-top:1px solid rgba(255,255,255,.08);color:#8799ba}.sidebar-footer small{display:block;font-size:11px;margin-top:13px}.env-indicator{font-size:11px;display:flex;align-items:center;gap:8px}.env-indicator .dot{width:6px;height:6px}
.workspace{min-width:0;flex:1}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.topbar-left,.topbar-right{display:flex;gap:20px;align-items:center}.breadcrumb{color:#8792a6;font-size:13px}.breadcrumb b{color:#33435d;font-weight:650}.environment-pill{border-radius:99px;border:1px solid #dbefdf;background:#f4fcf5;display:flex;align-items:center;gap:9px;color:#40714b;font-weight:600;font-size:11px;padding:9px 13px}.main{padding:34px 38px 60px;max-width:1570px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-head p{margin-top:8px}.page-actions{display:flex;gap:10px;flex-wrap:wrap}.loading{display:grid;place-content:center;height:300px;color:var(--muted)}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.metric{background:#fff;border:1px solid var(--line);border-radius:16px;min-height:133px;padding:21px 22px;box-shadow:0 4px 20px rgba(24,49,88,.025)}.metric-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.metric-label{color:#7a879e;font-size:12px;font-weight:600}.metric-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#ecf3ff;color:#4479dc;font-size:19px}.metric-value{font-weight:760;font-size:28px;letter-spacing:-1px;margin:11px 0 5px}.metric-foot{font-size:11px;color:#90a0b5}
.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 4px 20px rgba(24,49,88,.025);overflow:hidden}.panel + .panel{margin-top:20px}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 23px;border-bottom:1px solid var(--line)}.panel-header h3{font-size:15px}.panel-header p{font-size:12px;color:var(--muted);margin-top:6px}.panel-body{padding:24px}.panel-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8491a6;font-weight:740;background:#fbfcfe;padding:13px 23px}td{font-size:12px;border-top:1px solid #eef1f6;padding:14px 23px;color:#35445e}td strong{font-weight:680;color:#26354b}td small{display:block;color:#8894a8;font-size:11px;margin-top:5px}.num{text-align:right;font-variant-numeric:tabular-nums}.status{display:inline-flex;align-items:center;border-radius:99px;padding:6px 9px;font-size:10px;font-weight:680;background:#edf1f7;color:#6e7c91}.status.good{background:var(--good-bg);color:var(--good)}.status.warn{background:var(--warn-bg);color:var(--warn)}.status.bad{background:var(--bad-bg);color:var(--bad)}.empty{padding:51px 25px;text-align:center;color:var(--muted)}.empty .empty-icon{font-size:29px;margin-bottom:12px}.empty h3{color:#34445c;margin-bottom:7px}.empty p{line-height:1.6}.note{padding:16px 18px;border:1px solid #dce8ff;background:#f3f7ff;border-radius:12px;color:#4d648d;font-size:12px;line-height:1.65}.note.warn{background:#fff8e8;border-color:#f1e1b9;color:#986c26}.note strong{color:inherit}.pill{border:1px solid #e4eaf3;background:#f7f9fc;border-radius:999px;padding:7px 11px;font-size:11px;color:#61738f;font-weight:630}.dual-line{display:flex;flex-direction:column;gap:5px}.channel-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.integration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.integration{padding:23px;border:1px solid var(--line);border-radius:15px;background:#fff}.integration-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.integration h3{font-size:15px}.integration p{font-size:12px;line-height:1.6;color:var(--muted)}.integration-icon{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;background:#f0f5ff;color:#4775ca;font-weight:800;font-size:20px}.integration-head-left{display:flex;align-items:center;gap:12px}.integration-details{margin-top:16px;border-top:1px solid var(--line);padding-top:16px;font-size:12px;color:#697891}
.modal-backdrop{position:fixed;inset:0;background:rgba(13,25,43,.55);display:flex;align-items:center;justify-content:center;padding:18px;z-index:20;backdrop-filter:blur(3px)}.modal{width:min(500px,100%);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:18px;padding:26px;box-shadow:0 30px 100px rgba(7,22,44,.25)}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.modal-head h2{font-size:20px}
.form-stack{display:flex;flex-direction:column;gap:16px}.form-stack label{display:flex;flex-direction:column;gap:8px;color:#37465f;font-size:12px;font-weight:650}.form-stack input,.form-stack select,.form-stack textarea{display:block;width:100%;height:44px;border:1px solid #dce3ed;border-radius:10px;background:#fff;padding:0 13px;outline:0;color:var(--ink);font-size:13px}.form-stack textarea{min-height:85px;padding-top:12px;resize:vertical}.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus{border-color:#729aea;box-shadow:0 0 0 3px rgba(68,124,225,.12)}.form-error{color:#b74444;font-size:12px;min-height:5px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:7px}.form-help{color:#8b97ab;font-size:11px;line-height:1.5}.toast{position:fixed;bottom:22px;right:24px;background:#17284a;color:#fff;padding:14px 20px;max-width:420px;box-shadow:0 12px 35px rgba(25,44,78,.24);border-radius:10px;z-index:30;font-size:13px}
.login-screen{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 25% 15%,#e5efff,transparent 60%),radial-gradient(ellipse at 80% 70%,#eef2fe,transparent 50%),#f7f9fe}.login-card{width:min(425px,100%);padding:42px;background:#fff;border:1px solid #e7ecf3;border-radius:22px;box-shadow:0 25px 80px rgba(35,67,112,.1)}.login-card>.eyebrow{margin-top:17px}.login-title{margin:25px 0 9px;font-size:27px;text-align:center}.login-card>.muted{font-size:12px;line-height:1.6;margin-bottom:29px}.login-foot{display:flex;align-items:center;justify-content:center;gap:8px;border-top:1px solid var(--line);margin-top:29px;padding-top:20px;color:#8090a7;font-size:11px}
.checkout-body{background:radial-gradient(circle at 20% 0%,#e5eeff,#f8faff 45%,#f5f7fb);min-height:100vh}.checkout-wrap{max-width:560px;margin:auto;padding:60px 20px}.checkout-wrap>.brand{justify-content:center;margin-bottom:40px}.checkout-card{border-radius:22px;background:white;padding:35px;box-shadow:0 18px 60px rgba(20,47,89,.08);border:1px solid #e8edf5}.checkout-card h1{font-size:27px;margin:15px 0 9px}.checkout-card>.muted{margin-bottom:25px;line-height:1.6}.checkout-wrap>.small{margin-top:24px;line-height:1.6}.hint{border:1px solid #e2eaf5;background:#f8faff;color:#6c7f99;border-radius:9px;padding:12px;font-size:12px}.result-card{text-align:center}.result-icon{display:inline-grid;place-items:center;font-size:38px;color:var(--blue);height:69px;width:69px;background:var(--blue-soft);border-radius:18px;margin-bottom:23px}.result-card>.muted{line-height:1.7;margin-bottom:26px}.result-reference{background:#f5f7fb;border-radius:10px;padding:15px;margin-bottom:24px;color:#5f7191}
.mobile-only{display:none}
@media(max-width:1200px){.metric-grid{grid-template-columns:repeat(2,1fr)}.panel-grid{grid-template-columns:1fr}.main{padding:28px}.topbar{padding:0 28px}}
@media(max-width:850px){.sidebar{position:fixed;z-index:9;transform:translateX(-105%);transition:transform .2s;height:100vh;box-shadow:0 16px 55px rgba(15,24,44,.2)}.sidebar.open{transform:translateX(0)}.mobile-only{display:inline-flex}.topbar{height:65px}.environment-pill{display:none}.integration-grid{grid-template-columns:1fr}}
@media(max-width:580px){.topbar{padding:0 17px}.main{padding:22px 15px 40px}.page-head{align-items:flex-start;flex-direction:column}.metric-grid{gap:10px}.metric{min-height:105px;padding:15px}.metric-value{font-size:23px}.metric-label{font-size:11px}.panel-header{padding:16px}.panel-body{padding:15px}td,th{padding:12px 14px}.login-card,.checkout-card{padding:26px}.checkout-wrap{padding:35px 15px}}

.turnstile-wrap{display:flex;align-items:center;justify-content:center;min-height:65px;overflow:hidden}
