:root{--accent-rgb:8 145 178;--accent-contrast:#ffffff;letter-spacing:0}
*{box-sizing:border-box;letter-spacing:0}
body{margin:0;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
a{color:inherit}input,select,textarea,button{font:inherit}

label{display:grid;gap:.35rem;font-size:.875rem;font-weight:500;color:rgb(51 65 85)}
.dark label{color:rgb(203 213 225)}
input,select,textarea{height:2.5rem;width:100%;border:1px solid rgb(226 232 240);border-radius:.375rem;background:transparent;padding:0 .75rem;font-size:.875rem;color:rgb(15 23 42)}
textarea{height:auto;min-height:7rem;padding:.75rem;resize:vertical}
.dark input,.dark select,.dark textarea{border-color:rgb(51 65 85);color:rgb(241 245 249);background:transparent}
input:focus,select:focus,textarea:focus{outline:2px solid rgb(var(--accent-rgb) / .25);border-color:rgb(var(--accent-rgb))}

.btn{display:inline-flex;height:2.5rem;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;border:1px solid rgb(226 232 240);background:#fff;padding:0 1rem;font-size:.875rem;font-weight:500;color:rgb(15 23 42);text-decoration:none;cursor:pointer;white-space:nowrap}
.btn:hover{background:rgb(248 250 252)}
.btn.primary{border-color:rgb(15 23 42);background:rgb(15 23 42);color:#fff}
.dark .btn{border-color:rgb(51 65 85);background:rgb(15 23 42);color:rgb(241 245 249)}
.dark .btn:hover{background:rgb(30 41 59)}
.dark .btn.primary{border-color:rgb(var(--accent-rgb));background:rgb(var(--accent-rgb));color:rgb(8 13 23)}
.btn.danger{border-color:rgb(190 18 60);background:rgb(190 18 60);color:#fff}
.btn.full{width:100%}
.muted{color:rgb(100 116 139);font-size:.875rem}
.dark .muted{color:rgb(148 163 184)}
.break{word-break:break-all}
.alert{border-radius:.5rem;border:1px solid;padding:.75rem .875rem;font-size:.875rem}
.alert.error{border-color:rgb(254 205 211);background:rgb(255 241 242);color:rgb(159 18 57)}
.alert.success{border-color:rgb(187 247 208);background:rgb(240 253 244);color:rgb(22 101 52)}
.dark .alert.error{border-color:rgb(136 19 55);background:rgb(76 5 25);color:rgb(253 164 175)}
.dark .alert.success{border-color:rgb(22 101 52);background:rgb(5 46 22);color:rgb(134 239 172)}
.grid{display:grid;gap:1rem}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}

.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:1.25rem;background:rgb(248 250 252)}
.dark .auth-wrap{background:rgb(2 6 23)}
.auth-card{width:min(460px,100%);display:grid;gap:1rem;border:1px solid rgb(226 232 240);border-radius:.75rem;background:#fff;padding:1.5rem;box-shadow:0 12px 30px rgb(15 23 42 / .06)}
.dark .auth-card{border-color:rgb(30 41 59);background:rgb(15 23 42)}
.auth-card.wide{width:min(900px,100%)}
.auth-card h1{margin:0;font-size:1.5rem;font-weight:600}
.auth-card p{margin:.25rem 0 0;color:rgb(100 116 139);font-size:.875rem}

.eyebrow{text-transform:uppercase;font-size:.75rem;font-weight:700;color:rgb(8 145 178)!important}.hero-actions{display:flex;gap:.75rem;margin-top:1.25rem}
.landing-page{min-height:100vh;background:rgb(2 6 23);color:#fff;overflow:hidden}.landing-nav{position:fixed;top:0;left:0;right:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,4rem);border-bottom:1px solid rgb(255 255 255 / .08);background:rgb(2 6 23 / .74);backdrop-filter:blur(14px)}.landing-logo{display:flex;align-items:center;gap:.65rem;font-size:.95rem;font-weight:700;text-decoration:none}.landing-logo span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:.5rem;background:rgb(103 232 249);color:rgb(8 13 23)}.landing-nav div{display:flex;align-items:center;gap:.4rem}.landing-nav div a{border-radius:.375rem;padding:.5rem .75rem;text-decoration:none;font-size:.875rem;color:rgb(203 213 225)}.landing-nav div a:hover{background:rgb(255 255 255 / .08);color:#fff}.landing-nav-cta{background:#fff!important;color:rgb(15 23 42)!important}
.parallax-hero{position:relative;min-height:100vh;padding:7rem clamp(1rem,4vw,4rem) 4rem;display:grid;align-items:center}.parallax-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgb(8 145 178 / .36),transparent 32%),radial-gradient(circle at 80% 25%,rgb(14 165 233 / .20),transparent 28%),linear-gradient(180deg,rgb(2 6 23),rgb(15 23 42));z-index:0}.parallax-layer{position:absolute;border-radius:999px;filter:blur(8px);opacity:.55;z-index:1}.layer-one{width:18rem;height:18rem;left:8%;top:18%;background:rgb(34 211 238 / .16)}.layer-two{width:26rem;height:26rem;right:8%;top:16%;border:1px solid rgb(255 255 255 / .12)}.layer-three{width:14rem;height:14rem;right:25%;bottom:10%;background:rgb(255 255 255 / .08)}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);gap:clamp(2rem,5vw,5rem);align-items:center}.hero-copy h1{max-width:760px;margin:0 0 1.25rem;font-size:clamp(3rem,7.4vw,6.8rem);line-height:.92;font-weight:700}.hero-copy p{max-width:640px;color:rgb(203 213 225);font-size:1.1rem;line-height:1.75}.hero-points{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.5rem}.hero-points span{border:1px solid rgb(255 255 255 / .14);border-radius:999px;background:rgb(255 255 255 / .06);padding:.45rem .75rem;font-size:.8rem;color:rgb(226 232 240)}
.hero-product{position:relative;min-height:520px}.browser-shell{border:1px solid rgb(255 255 255 / .16);border-radius:1rem;background:rgb(15 23 42 / .9);box-shadow:0 30px 100px rgb(0 0 0 / .38);overflow:hidden}.browser-top{height:3rem;display:flex;align-items:center;gap:.45rem;border-bottom:1px solid rgb(255 255 255 / .1);padding:0 1rem}.browser-top span{width:.65rem;height:.65rem;border-radius:50%;background:rgb(100 116 139)}.browser-top strong{margin-left:auto;color:rgb(148 163 184);font-size:.75rem;font-weight:600}.browser-body{display:grid;grid-template-columns:72px 1fr;min-height:330px}.browser-body aside{display:grid;align-content:start;gap:.7rem;border-right:1px solid rgb(255 255 255 / .08);padding:1rem}.browser-body aside span{height:2rem;border-radius:.45rem;background:rgb(30 41 59)}.browser-body aside .active{background:rgb(103 232 249)}.browser-body section{padding:1rem}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1rem}.metric-row div{height:4.8rem;border-radius:.65rem;background:linear-gradient(180deg,rgb(30 41 59),rgb(15 23 42));border:1px solid rgb(255 255 255 / .08)}.mock-table{display:grid;border:1px solid rgb(255 255 255 / .08);border-radius:.75rem;overflow:hidden}.mock-table p{display:grid;grid-template-columns:110px 1fr 60px;gap:.75rem;margin:0;padding:.9rem;border-bottom:1px solid rgb(255 255 255 / .08);font-size:.82rem;color:rgb(203 213 225)}.mock-table p:last-child{border-bottom:0}.mock-table em{justify-self:end;border-radius:999px;background:rgb(8 145 178 / .22);padding:.15rem .45rem;color:rgb(103 232 249);font-style:normal;font-size:.72rem}
.widget-mock{position:absolute;right:-1rem;bottom:1rem;width:250px;border:1px solid rgb(255 255 255 / .18);border-radius:1rem;background:#fff;color:rgb(15 23 42);box-shadow:0 24px 70px rgb(0 0 0 / .28);overflow:hidden}.widget-head{display:flex;align-items:center;justify-content:space-between;background:rgb(8 145 178);color:#fff;padding:.8rem;font-size:.85rem;font-weight:700}.widget-head button{border:0;background:rgb(255 255 255 / .16);color:#fff;border-radius:999px}.widget-msg{margin:.7rem;padding:.65rem;border-radius:.75rem;font-size:.8rem;background:rgb(241 245 249)}.widget-msg.visitor{background:rgb(15 23 42);color:#fff;margin-left:2rem}.widget-msg.support{margin-right:2rem}
.landing-section{padding:5rem clamp(1rem,4vw,4rem);background:rgb(248 250 252);color:rgb(15 23 42)}.section-head{max-width:760px;margin-bottom:2rem}.section-head h2,.landing-cta h2{margin:0;font-size:clamp(2rem,4vw,3.5rem);line-height:1.05;font-weight:700}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.feature-grid article,.pricing-grid article,.flow-card{border:1px solid rgb(226 232 240);border-radius:.9rem;background:#fff;padding:1.25rem}.feature-grid span[data-lucide]{width:2rem;height:2rem;color:rgb(8 145 178)}.feature-grid h3,.pricing-grid h3,.flow-card h3{margin:.9rem 0 .4rem;font-size:1rem;font-weight:700}.feature-grid p,.pricing-grid p,.flow-card p,.landing-cta p{color:rgb(71 85 105);line-height:1.65;font-size:.95rem}
.flow-section{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:4rem clamp(1rem,4vw,4rem);background:rgb(226 232 240);color:rgb(15 23 42)}.flow-card span{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:rgb(15 23 42);color:#fff;font-weight:700}.pricing-section{background:#fff}.pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.pricing-grid strong{display:block;margin:.8rem 0;font-size:3rem;line-height:1;font-weight:700}.landing-cta{padding:5rem clamp(1rem,4vw,4rem);text-align:center;background:rgb(15 23 42);color:#fff}.landing-cta p{max-width:760px;margin:1rem auto 1.5rem;color:rgb(203 213 225)}

.sidebar{height:100vh;position:sticky;top:0;padding:1rem}
.brand{height:3.5rem;font-size:.95rem;font-weight:700;line-height:1.1;color:rgb(15 23 42)}
.dark .brand{color:rgb(241 245 249)}
.brand em{font-style:normal;color:rgb(100 116 139);font-weight:500}.dark .brand em{color:rgb(148 163 184)}
.brand-mark{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:.5rem;background:rgb(15 23 42);color:#fff}
.dark .brand-mark{background:rgb(var(--accent-rgb));color:rgb(8 13 23)}
.sidebar nav a{display:flex;align-items:center;gap:.5rem;border-radius:.375rem;padding:.55rem .75rem;font-size:.875rem;font-weight:500;color:rgb(71 85 105);text-decoration:none}
.dark .sidebar nav a{color:rgb(203 213 225)}
.sidebar nav a:hover{background:rgb(241 245 249);color:rgb(15 23 42)}
.dark .sidebar nav a:hover{background:rgb(30 41 59);color:#fff}
.sidebar nav a.active{background:rgb(15 23 42);color:#fff}
.dark .sidebar nav a.active{background:rgb(103 232 249);color:rgb(8 13 23)}

.topbar{height:4rem;display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:0 1.25rem}
.topbar div{display:grid;text-align:right}.topbar strong{font-size:.875rem}.topbar span{font-size:.75rem;color:rgb(100 116 139)}
.main{padding:1.25rem}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.page-head h1{margin:0;font-size:1.5rem;font-weight:600}.page-head p{margin:.25rem 0 0;color:rgb(100 116 139);font-size:.875rem}

.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.card,.panel{border:1px solid rgb(226 232 240);border-radius:.5rem;background:#fff;padding:1.25rem}
.dark .card,.dark .panel{border-color:rgb(30 41 59);background:rgb(15 23 42)}
.card span{font-size:.75rem;font-weight:600;text-transform:uppercase;color:rgb(100 116 139)}
.card strong{display:block;margin-top:.5rem;font-size:1.875rem;font-weight:600}
.panel h2{margin:0 0 1rem;font-size:1.125rem;font-weight:600}
.codebox{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:rgb(248 250 252)}
.dark .codebox{background:rgb(2 6 23)}

.table-list,.inbox{display:grid}
.table-list a,.conversation-row{display:grid;grid-template-columns:220px 90px 1fr;gap:1rem;align-items:center;border-top:1px solid rgb(226 232 240);padding:.875rem;text-decoration:none;font-size:.875rem}
.dark .table-list a,.dark .conversation-row{border-color:rgb(30 41 59)}
.table-list a:hover,.conversation-row:hover{background:rgb(248 250 252)}.dark .table-list a:hover,.dark .conversation-row:hover{background:rgb(2 6 23)}
.table-list small,.conversation-row small{display:block;margin-top:.2rem;color:rgb(100 116 139)}
.table-list strong,.conversation-row p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.filterbar{display:grid;grid-template-columns:1fr 180px auto;gap:.75rem}
.conversation-row{grid-template-columns:240px 1fr 90px}.conversation-row em{justify-self:end;border-radius:999px;padding:.25rem .625rem;background:rgb(236 254 255);color:rgb(14 116 144);font-style:normal;font-size:.75rem;font-weight:600}
.conversation-row em.closed{background:rgb(241 245 249);color:rgb(71 85 105)}

.chat-layout{display:grid;grid-template-columns:300px 1fr;gap:1rem;height:calc(100vh - 6rem)}
.visitor-panel,.chat-panel{border:1px solid rgb(226 232 240);border-radius:.5rem;background:#fff;padding:1rem}
.dark .visitor-panel,.dark .chat-panel{border-color:rgb(30 41 59);background:rgb(15 23 42)}
.visitor-panel h1{font-size:1.25rem;font-weight:600}.back{display:inline-block;margin-bottom:1rem;color:rgb(var(--accent-rgb));font-size:.875rem;font-weight:500;text-decoration:none}
.visitor-panel .btn{width:100%;margin-top:.625rem}.chat-panel{display:grid;grid-template-rows:1fr auto;min-width:0;padding:0;overflow:hidden}
.chat-stream{overflow:auto;padding:1rem;display:flex;flex-direction:column;gap:.625rem;background:rgb(248 250 252)}.dark .chat-stream{background:rgb(2 6 23)}
.bubble{max-width:72%;border-radius:.75rem;padding:.625rem .75rem;background:rgb(226 232 240);align-self:flex-start;font-size:.875rem}
.dark .bubble{background:rgb(30 41 59)}.bubble.support{background:rgb(207 250 254);align-self:flex-end;color:rgb(22 78 99)}.bubble.visitor{background:#fff;border:1px solid rgb(226 232 240)}.dark .bubble.visitor{background:rgb(15 23 42);border-color:rgb(30 41 59)}
.bubble.system{align-self:center;background:rgb(255 251 235);color:rgb(146 64 14);border:1px solid rgb(253 230 138)}
.bubble span{display:block;margin-bottom:.25rem;font-size:.75rem;font-weight:600}.bubble p{margin:0;line-height:1.45}.bubble time{display:block;margin-top:.4rem;font-size:.7rem;color:rgb(100 116 139)}
.reply-box{display:grid;grid-template-columns:1fr auto;gap:.625rem;border-top:1px solid rgb(226 232 240);padding:.75rem}.dark .reply-box{border-color:rgb(30 41 59)}

.form-panel{display:grid;gap:1rem}.check{display:flex;align-items:center;gap:.5rem}.check input{width:auto;height:auto}
.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:.5rem}.wizard-steps span{border:1px solid rgb(226 232 240);border-radius:999px;padding:.5rem;text-align:center;font-size:.75rem;font-weight:600;color:rgb(100 116 139)}
.wizard-steps span.active{background:rgb(15 23 42);color:#fff}.dark .wizard-steps span.active{background:rgb(103 232 249);color:rgb(8 13 23)}
.wizard-panel{display:none;gap:1rem}.wizard-panel.active{display:grid}.wizard-actions{display:flex;justify-content:flex-end;gap:.625rem}.wizard-submit{display:none}
.widget-preview,.payment-box{border:1px solid rgb(226 232 240);border-radius:.5rem;background:rgb(248 250 252);padding:1rem}.dark .widget-preview,.dark .payment-box{border-color:rgb(30 41 59);background:rgb(2 6 23)}
.widget-preview{display:flex;align-items:center;justify-content:space-between}.preview-bubble{width:3.25rem;height:3.25rem;border:0;border-radius:999px;display:grid;place-items:center;background:rgb(var(--accent-rgb));color:#fff}.preview-bubble svg{width:1.625rem;height:1.625rem;fill:currentColor}
.payment-box{display:grid;gap:.75rem}.payment-box strong{font-size:1rem}.pay-address{border:1px dashed rgb(148 163 184);border-radius:.375rem;background:#fff;padding:.75rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}.dark .pay-address{background:rgb(15 23 42)}
.qr-box{display:grid;justify-items:center;gap:.5rem;border:1px solid rgb(226 232 240);border-radius:.5rem;background:#fff;padding:1rem}.dark .qr-box{border-color:rgb(30 41 59);background:rgb(15 23 42)}.payment-qr{width:180px;height:180px;border-radius:.375rem}
.admin-list{display:grid;gap:.75rem}.admin-account{border:1px solid rgb(226 232 240);border-radius:.5rem;background:#fff}.dark .admin-account{border-color:rgb(30 41 59);background:rgb(15 23 42)}
.admin-account small{display:block;color:rgb(100 116 139);margin-top:.2rem}.admin-account form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:.5rem;align-items:center}.admin-account form input[name="admin_note"]{grid-column:1 / span 3}.admin-ai-actions{border-top:1px solid rgb(226 232 240);padding-top:.75rem}.dark .admin-ai-actions{border-color:rgb(30 41 59)}
.admin-account-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem;cursor:pointer;list-style:none}.admin-account-head::-webkit-details-marker{display:none}.admin-account-head>span{display:inline-flex;align-items:center;gap:.5rem}.admin-chevron{transition:transform .15s}.admin-account[open] .admin-chevron{transform:rotate(180deg)}.admin-account-body{display:grid;gap:.75rem;padding:0 1rem 1rem}.admin-detail-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.5rem}.admin-detail-grid div{border:1px solid rgb(226 232 240);border-radius:.375rem;padding:.6rem;background:rgb(248 250 252);min-width:0}.dark .admin-detail-grid div{border-color:rgb(30 41 59);background:rgb(2 6 23)}.admin-detail-grid span{display:block;font-size:.7rem;font-weight:600;text-transform:uppercase;color:rgb(100 116 139)}.admin-detail-grid strong{display:block;margin-top:.25rem;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-code{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:end}.admin-code textarea{min-height:4.5rem;font-size:.75rem;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.admin-more summary{cursor:pointer;font-size:.875rem;font-weight:500;color:rgb(8 145 178)}.admin-more pre{overflow:auto;border:1px solid rgb(226 232 240);border-radius:.375rem;background:rgb(248 250 252);padding:.75rem;font-size:.75rem}.dark .admin-more pre{border-color:rgb(30 41 59);background:rgb(2 6 23)}
.status-pill{display:inline-flex;border-radius:999px;padding:.25rem .625rem;font-size:.75rem;font-weight:600;background:rgb(241 245 249);color:rgb(71 85 105)}.status-pill.active{background:rgb(220 252 231);color:rgb(22 101 52)}.status-pill.pending{background:rgb(254 243 199);color:rgb(146 64 14)}.status-pill.rejected,.status-pill.inactive{background:rgb(255 228 230);color:rgb(159 18 57)}

@media(max-width:1024px){.hero-grid,.feature-grid,.flow-section,.pricing-grid{grid-template-columns:1fr}.hero-product{min-height:auto}.widget-mock{position:relative;right:auto;bottom:auto;margin:1rem auto 0}.landing-nav{position:sticky}.landing-nav div{display:none}.sidebar{position:relative;height:auto}.stats,.grid.two,.chat-layout,.admin-detail-grid,.admin-code{grid-template-columns:1fr}.filterbar{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.table-list a,.conversation-row,.admin-account form{grid-template-columns:1fr}.admin-account form input[name="admin_note"]{grid-column:auto}.chat-layout{height:auto}.chat-panel{min-height:70vh}.bubble{max-width:88%}}
@media(max-width:640px){.parallax-hero{padding-top:4rem}.hero-copy h1{font-size:2.75rem}.browser-body{grid-template-columns:1fr}.browser-body aside{display:none}.mock-table p{grid-template-columns:1fr}.metric-row{grid-template-columns:1fr}.landing-section,.flow-section,.landing-cta{padding-block:3rem}}
