:root{--ink:#172033;--muted:#6b7280;--line:#e5e9f2;--card:#fff;--brand:#6c4df6;--brand2:#4d32cf;--soft:#f4f2ff;--green:#15803d;--shadow:0 24px 70px rgba(25,32,56,.12)}*{box-sizing:border-box}body{margin:0;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:radial-gradient(circle at 15% 0,#ece8ff 0,transparent 35%),#f6f8fc;min-height:100vh}a{color:var(--brand);text-decoration:none}.quote-shell,.admin-shell{width:min(1120px,calc(100% - 32px));margin:auto;padding:40px 0 70px}.quote-top,.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.quote-logo{font-size:27px;font-weight:900;letter-spacing:-1.5px;color:var(--ink)}.quote-logo span{color:var(--brand)}.quote-logo small{font-size:12px;letter-spacing:.5px;color:var(--muted)}.secure-pill,.status{display:inline-flex;align-items:center;padding:9px 13px;border-radius:999px;background:#edf9f0;color:var(--green);font-size:13px;font-weight:800}.quote-card,.auth-card,.admin-detail,.quote-list{background:var(--card);border:1px solid rgba(218,223,235,.85);box-shadow:var(--shadow);border-radius:24px}.quote-card{padding:38px}.quote-heading,.detail-head{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:900;color:var(--brand);margin:0 0 8px}.quote-heading h1,.auth-card h1{font-size:clamp(27px,4vw,43px);letter-spacing:-1.4px;margin:0}.quote-lead{font-size:17px;line-height:1.65;color:var(--muted);max-width:780px}.status-submitted,.status-reviewed{background:#fff7df;color:#956500}.status-approved,.status-paid{background:#e9f9ee;color:#126b34}.status-payment_sent{background:#eeeaff;color:#5235cc}.status-cancelled{background:#f2f3f5;color:#6b7280}.quote-prices{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}.quote-prices>div{padding:22px;border-radius:18px;background:#f7f8fb;border:1px solid var(--line)}.quote-prices span,.quote-prices small{display:block;color:var(--muted)}.quote-prices strong{font-size:34px;letter-spacing:-1px;display:inline-block;margin:8px 0}.quote-items{border-top:1px solid var(--line);padding-top:25px}.quote-items h2,.selected-services h3{font-size:18px}.quote-items ul,.selected-services ul{list-style:none;padding:0;margin:0}.quote-items li,.selected-services li{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.quote-items em{font-size:12px;color:var(--brand)}.customer-message,.customer-note{padding:18px;border-radius:15px;background:var(--soft);margin:18px 0}.customer-message p,.customer-note p{margin-bottom:0;line-height:1.55}.payment-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;margin-top:28px;border-radius:18px;background:linear-gradient(135deg,#1d2440,#30236d);color:white}.payment-box p{margin:7px 0 0;color:#d8d5f4;line-height:1.5}.quote-btn,.small-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:12px;padding:14px 19px;background:var(--brand);color:#fff;font:inherit;font-weight:850;cursor:pointer;white-space:nowrap}.quote-btn:hover{background:var(--brand2)}.quote-btn.secondary,.small-btn{background:#f0edff;color:var(--brand)}.quote-foot{display:flex;justify-content:space-between;margin-top:28px;padding-top:20px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.quote-empty{text-align:center;max-width:620px;margin:10vh auto;padding:60px 30px}.quote-empty h1{margin-top:30px}.quote-empty p{color:var(--muted);margin-bottom:25px}.auth-card{max-width:490px;margin:8vh auto;padding:38px}.auth-card>.quote-logo{display:inline-block;margin-bottom:34px}.auth-card p{color:var(--muted);line-height:1.6}.auth-card form,.admin-form{display:grid;gap:17px;margin-top:24px}label{display:grid;gap:7px;font-size:13px;font-weight:800}input,textarea,select{width:100%;border:1px solid #d8deea;border-radius:11px;padding:13px 14px;background:#fff;color:var(--ink);font:inherit}input:focus,textarea:focus,select:focus{outline:3px solid rgba(108,77,246,.13);border-color:var(--brand)}label small{font-weight:500;color:var(--muted)}.alert{max-width:1120px;margin:0 auto 18px;padding:14px 17px;border-radius:12px}.alert.error{background:#fff0f0;color:#a52121}.alert.success{background:#eaf9ef;color:#126b34}.admin-top{padding:0 5px}.admin-top>a:last-child{font-size:13px;font-weight:750}.admin-layout{display:grid;grid-template-columns:310px 1fr;gap:22px}.quote-list{padding:17px;align-self:start;max-height:calc(100vh - 130px);overflow:auto}.list-title{display:flex;justify-content:space-between;align-items:center;padding:2px 6px 13px}.list-title h1{font-size:18px;margin:0}.list-title span{font-size:12px;background:var(--soft);padding:5px 8px;border-radius:99px}.quote-list-item{display:grid;gap:4px;padding:14px;border-radius:13px;color:var(--ink);margin:3px 0}.quote-list-item:hover,.quote-list-item.active{background:var(--soft)}.quote-list-item span{font-size:14px}.quote-list-item small{color:var(--muted);font-size:11px}.admin-detail{padding:30px;min-height:520px}.detail-head h2{font-size:28px;margin:0 0 6px}.detail-head a:not(.small-btn){font-size:13px}.selected-services{margin-top:28px;padding:18px;background:#f8f9fc;border-radius:16px}.selected-services li{font-size:14px;padding:9px 0}.money-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.admin-actions{display:flex;justify-content:flex-end;gap:10px}.detail-empty{display:grid;place-content:center;text-align:center;min-height:450px;color:var(--muted)}.detail-empty h2{color:var(--ink)}
.status-payment_failed{background:#fff0f0;color:#a52121}.portal-box{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;margin-top:16px;border:1px solid var(--line);border-radius:18px;background:#fff}.portal-box p{margin:7px 0 0;color:var(--muted);line-height:1.5}.portal-box form{margin:0}.admin-nav{display:flex;align-items:center;gap:18px}.admin-nav a{font-size:13px;font-weight:800}.stripe-settings>h2{font-size:30px;margin:0 0 10px}.stripe-settings>p{color:var(--muted);line-height:1.6}.stripe-connected{display:grid;gap:5px;padding:18px;margin:22px 0;background:#eaf9ef;color:#126b34;border-radius:15px}.stripe-connected span{font-size:13px}.stripe-key-form{max-width:620px}.stripe-key-form code,code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.stripe-checklist{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.stripe-checklist>div,.stripe-quote-state{display:grid;gap:5px;padding:16px;background:#f7f8fb;border:1px solid var(--line);border-radius:14px}.stripe-checklist span,.stripe-quote-state span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.admin-actions{flex-wrap:wrap}
@media(max-width:800px){.quote-shell,.admin-shell{width:min(100% - 20px,1120px);padding-top:20px}.quote-card,.auth-card,.admin-detail{padding:22px;border-radius:19px}.quote-heading,.detail-head,.payment-box,.portal-box{display:grid}.status{justify-self:start}.quote-prices,.money-grid,.stripe-checklist{grid-template-columns:1fr}.quote-prices strong{font-size:29px}.admin-layout{grid-template-columns:1fr}.quote-list{max-height:300px}.quote-foot,.admin-actions{display:grid;gap:12px}.admin-actions>*{width:100%}.admin-top{align-items:flex-start}.admin-nav{gap:10px;flex-wrap:wrap;justify-content:flex-end}.admin-nav a{font-size:12px}}
.customer-shell{width:min(1180px,calc(100% - 32px));margin:auto;padding:30px 0 60px}.customer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}.customer-top nav{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:750}.customer-top nav span{color:var(--muted)}.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:38px;border-radius:26px;background:linear-gradient(135deg,#fff 15%,#f0ecff 65%,#e8f8ec);border:1px solid var(--line);box-shadow:var(--shadow);margin-bottom:22px}.customer-hero h1{font-size:clamp(30px,4.5vw,50px);letter-spacing:-2px;line-height:1.04;margin:0 0 14px;max-width:720px}.customer-hero p:not(.eyebrow){color:var(--muted);line-height:1.6;max-width:690px;margin:0}.subscription-total{min-width:205px;padding:22px;border-radius:18px;background:#fff;border:1px solid var(--line)}.subscription-total>span,.subscription-total small{display:block;color:var(--muted);font-size:12px}.subscription-total strong{display:block;font-size:30px;margin-top:7px}.subscription-total small{font-size:11px;margin-top:3px}.customer-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.customer-side{display:grid;gap:22px}.customer-panel{padding:25px;border-radius:22px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 40px rgba(25,32,56,.07)}.customer-panel h2{font-size:21px;margin:0 0 10px}.customer-panel>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.55}.panel-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:12px}.panel-head>span{padding:6px 9px;background:var(--soft);border-radius:99px;font-size:12px}.empty-state{padding:28px;text-align:center;background:#f8f9fc;border-radius:15px}.empty-state p{color:var(--muted);margin-bottom:0}.addon-request{display:grid;grid-template-columns:minmax(160px,1fr) auto auto;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--line)}.addon-request>div:first-child{display:grid;gap:4px}.addon-request small{color:var(--muted);font-size:11px}.addon-price{display:grid;gap:3px;text-align:right;font-size:12px}.addon-request form,.customer-panel form{margin:0}.addon-request .quote-btn{grid-column:1/-1;justify-self:end;padding:11px 15px}.status-installing{background:#e8f4ff;color:#17649b}.status-active{background:#e9f9ee;color:#126b34}.status-requested,.status-reviewed{background:#fff7df;color:#956500}.wide{width:100%;margin-top:10px}.support-card{background:linear-gradient(145deg,#1d2440,#30236d);color:#fff}.support-card .eyebrow{color:#a8efb7}.support-card a{display:block;color:#fff;font-weight:800;margin-top:10px}.catalog-section{margin-top:22px;padding:32px;border-radius:24px;background:#fff;border:1px solid var(--line);box-shadow:0 12px 40px rgba(25,32,56,.07)}.catalog-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:22px}.catalog-heading h2{font-size:30px;margin:0}.catalog-heading>p{max-width:430px;color:var(--muted);line-height:1.5;font-size:13px}.addon-catalog{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.addon-card{display:grid;align-content:space-between;gap:18px;min-height:180px;padding:19px;border:1px solid var(--line);border-radius:17px;background:#fafbfe}.addon-card h3{font-size:16px;margin:0 0 9px}.price-tag{color:var(--green);font-size:12px;font-weight:800}.addon-card form{display:grid;gap:9px}.addon-card label{font-size:11px}.addon-card input{padding:10px;font-size:12px}.addon-card .small-btn{padding:10px 12px}.requested-tag{color:var(--green);font-size:13px;font-weight:850}.customer-foot{display:flex;justify-content:space-between;padding:24px 4px 0;color:var(--muted);font-size:12px}.customer-login{max-width:560px}.security-note{font-size:12px;text-align:center}.customer-login .alert{margin:18px 0 0}.status-payment_pending{background:#eeeaff;color:#5235cc}
.subscription-total em{display:inline-flex;margin-top:10px;padding:6px 9px;border-radius:999px;background:#e9f9ee;color:#126b34;font-size:10px;font-style:normal;font-weight:900}.annual-admin-note{display:flex;justify-content:space-between;gap:14px;margin-top:16px;padding:14px 16px;border-radius:13px;background:#eaf9ef;color:#126b34;font-size:13px}.annual-admin-note span{font-weight:850}
@media(max-width:900px){.customer-grid{grid-template-columns:1fr}.addon-catalog{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.customer-shell{width:min(100% - 20px,1180px);padding-top:18px}.customer-top,.customer-hero,.catalog-heading{display:grid}.customer-top nav{justify-content:space-between}.customer-hero,.catalog-section,.customer-panel{padding:20px;border-radius:19px}.subscription-total{min-width:0}.addon-request{grid-template-columns:1fr auto}.addon-request .status{grid-column:1/-1}.addon-catalog{grid-template-columns:1fr}.customer-foot{display:grid;gap:8px}.customer-hero h1{letter-spacing:-1.2px}.addon-price{text-align:right}}
