:root{--ink:#192b34;--muted:#70818a;--teal:#087e79;--line:#dfe7e7;--paper:#f4f7f6;--orange:#d17639;font-family:Segoe UI,Arial,sans-serif;color:var(--ink);font-size:14px;background:var(--paper)}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #56c5b8;outline-offset:3px}a{color:var(--teal)}.loading{padding:80px}.shell{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{background:#132c32;color:#abc4c5;padding:32px 20px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:230px}.brand{font-size:24px;font-weight:700;letter-spacing:-1px;color:white;display:flex;gap:11px;align-items:center}.brand-mark{background:#c6eee4;color:#123e39;border-radius:10px;width:34px;height:34px;display:grid;place-items:center;font-size:22px}.brand small{font-size:10px;display:block;letter-spacing:2px;font-weight:500;color:#91adaa;margin-top:3px}.nav-label{margin:48px 12px 15px;font-size:10px;letter-spacing:2px;color:#718f91}.nav{display:grid;gap:5px}.nav button{text-align:left;border:0;background:transparent;color:#a8c0c1;padding:13px 15px;border-radius:8px;display:flex;align-items:center;gap:13px}.nav button.active{background:#2d4a4f;color:white}.nav button:hover{background:#254147}.nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.sidebar-bottom{margin-top:auto;border-top:1px solid #385056;padding:24px 10px 0;line-height:1.7;font-size:12px}.sidebar-bottom strong{color:#e0f2ed;display:block}.main{grid-column:2;padding:0 42px 35px;min-width:0}.topbar{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}.account{display:flex;align-items:center;gap:12px}.avatar{width:32px;height:32px;border-radius:50%;background:#dfebe6;display:grid;place-items:center;color:var(--teal);font-weight:700}.text-button{border:0;background:transparent;color:var(--muted);padding:5px}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:35px 0 24px}h1{font-size:32px;letter-spacing:-1px;font-weight:650;margin:0 0 7px}h2{font-size:18px;margin:0 0 7px;font-weight:650}h3{font-size:14px;margin:0 0 10px}p{line-height:1.6}.sub{color:var(--muted);margin:0}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:650;color:var(--teal);margin-bottom:10px}.primary,.secondary,.danger{border:0;padding:11px 16px;border-radius:7px;font-weight:600}.primary{color:white;background:var(--teal)}.primary:hover{background:#066a66}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.danger{background:#fce9e5;color:#a43f32}.actions{display:flex;gap:8px;flex-wrap:wrap}.banner{padding:13px 17px;background:#fff1dc;border:1px solid #efddba;border-radius:8px;margin-bottom:22px;line-height:1.5;color:#76541d}.banner.good{background:#e7f4ee;border-color:#c6e6d7;color:#346856}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:22px}.metric-label{color:var(--muted);font-size:12px}.metric-value{font-size:33px;font-weight:650;margin:10px 0;letter-spacing:-1px}.metric-foot{font-size:11px;color:var(--muted)}.metric-value.teal{color:var(--teal)}.metric-value.orange{color:var(--orange)}.panel{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:22px}.panel-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:23px 24px;border-bottom:1px solid var(--line)}.panel-body{padding:24px}.two-col{display:grid;grid-template-columns:1.55fr 1fr;gap:22px}.search{border:1px solid var(--line);border-radius:7px;background:#fbfcfc;padding:9px 13px;min-width:210px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#819198;padding:14px 24px;background:#fafcfc;white-space:nowrap}td{padding:17px 24px;border-top:1px solid #edf1f0;font-size:12px;vertical-align:middle}td strong{font-size:13px;font-weight:600}td small{display:block;color:var(--muted);margin-top:5px}.badge{display:inline-block;font-size:10px;font-weight:600;border-radius:5px;padding:5px 8px;background:#edf1f3;color:#6b7c86;white-space:nowrap}.badge.active{background:#e4f4ee;color:#248260}.badge.expiring{background:#fff0da;color:#ae782d}.badge.expired,.badge.error{background:#fbe9e5;color:#bd5f4d}.badge.pending{background:#edf0fb;color:#6d78a2}.mini{background:transparent;border:1px solid var(--line);border-radius:6px;padding:6px 10px;color:var(--teal);font-weight:600;font-size:11px;margin:2px}.empty{text-align:center;padding:45px;color:var(--muted);line-height:1.8}.row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid #eef2f1;gap:14px}.row:last-child{border-bottom:0}.row-title{font-size:13px;font-weight:600}.row-sub{font-size:11px;color:var(--muted);margin-top:4px}.positive{color:var(--teal);font-weight:650}.negative{color:#ae6548;font-weight:650}.tiny{font-size:11px;color:var(--muted);line-height:1.6}.footer{color:var(--muted);font-size:11px;display:flex;justify-content:space-between;gap:15px;margin-top:25px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#132c32;padding:70px;display:flex;flex-direction:column;justify-content:space-between;color:white}.auth-art h1{font-size:54px;max-width:450px;line-height:1.08;letter-spacing:-2px}.auth-art p{color:#a9c3bf;max-width:370px;font-size:16px}.auth-form{display:grid;place-items:center;padding:40px}.auth-card{width:100%;max-width:360px}.auth-card h1{font-size:28px}.form{display:grid;gap:17px;margin-top:24px}label{display:grid;gap:7px;font-size:12px;font-weight:600}input,select{width:100%;padding:11px 12px;border-radius:6px;border:1px solid #d6e1df;background:white;color:var(--ink)}.form .hint{margin:-7px 0 0;color:var(--muted);font-size:11px;line-height:1.6}.form-error{color:#a7352c;background:#fff1ed;padding:10px;border-radius:6px;font-size:12px}.form-error:empty{display:none}dialog{width:460px;max-width:calc(100vw - 30px);border:0;border-radius:12px;padding:28px;color:var(--ink);box-shadow:0 30px 100px #132c3240}dialog::backdrop{background:#10272f80;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.close{border:0;background:#f0f4f2;width:28px;height:28px;border-radius:50%;font-size:18px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px}.review{background:#f0f7f4;padding:14px;border-radius:7px;color:#38665a;font-size:12px;line-height:1.6}.notice{background:#edf4f5;padding:18px;border-radius:8px;font-size:12px;line-height:1.7}.code{font-family:Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;background:#f3f6f5;padding:13px;border-radius:6px}#toast{position:fixed;bottom:25px;right:25px;background:#173e38;color:white;padding:15px 22px;border-radius:8px;box-shadow:0 5px 20px #0002;max-width:400px;z-index:10;display:none}#toast.show{display:block}.filters{display:flex;gap:8px}.filters select{width:auto;padding:8px}.statusline{display:flex;gap:8px;align-items:center}.dot{width:7px;height:7px;background:#27a278;border-radius:50%}.wrap{overflow-wrap:anywhere}.backup-links{display:flex;gap:12px;font-size:12px}.demo-pill{font-size:10px;background:#d8a655;color:#26352f;padding:4px 8px;border-radius:4px}.accent-line{height:4px;background:linear-gradient(90deg,#087e79,#b0dbbf)}@media(max-width:1100px){.main{padding:0 22px 25px}.metrics{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.panel-head{flex-wrap:wrap}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;padding:18px}.sidebar-bottom,.nav-label{display:none}.nav{display:flex;margin-top:18px;overflow-x:auto}.nav button{white-space:nowrap;padding:10px}.nav svg{display:none}.main{padding:0 16px 24px}.topbar{height:65px}.heading{align-items:flex-start}h1{font-size:26px}.metric{padding:16px}.metric-value{font-size:28px}.panel-head{padding:17px}.search{min-width:0;width:100%}td,th{padding:13px}.auth{display:block}.auth-art{padding:28px}.auth-art h1{font-size:32px;margin-top:35px}.auth-art>p{display:none}.auth-form{padding:30px 22px}.footer{flex-wrap:wrap}}

[hidden] { display: none !important; }

/* Compact conversation and distinct credit-request inbox. */
.ticket-list{max-width:1050px}.ticket-list>.actions{margin-bottom:14px}.ticket-list td,.ticket-list th{padding:12px 18px}.ticket-detail{max-width:780px}.ticket-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.compact-head{padding:17px 20px}.compact-head h2{margin-bottom:2px}.compact-head p{margin:0}.ticket-thread{padding:15px 20px;display:grid;gap:10px}.ticket-bubble{padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#f8fafb;max-width:85%;overflow-wrap:anywhere}.ticket-bubble.from-admin{margin-left:auto;background:#eaf1f6;border-color:#d6e2eb}.ticket-meta{display:flex;gap:14px;align-items:center;justify-content:space-between;font-size:11px}.ticket-meta time{color:var(--muted);font-size:10px;white-space:nowrap}.ticket-bubble p{margin:5px 0 0;white-space:pre-wrap;font-size:12px;line-height:1.5}.ticket-composer{border-top:1px solid var(--line);padding:15px 20px;display:grid;gap:8px}.ticket-composer textarea{width:100%;min-height:68px;resize:vertical;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font:inherit}.ticket-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.credit-summary{margin:14px 20px 0;padding:12px 15px;border-radius:8px;background:#edf3f9;color:#314e68;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.credit-summary span{font-size:11px}.credit-alert{background:#eaf2fa;border:1px solid #bcd2e7;border-left:4px solid #557ba6;padding:14px 18px;border-radius:8px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}.credit-alert span{color:#4f6579;font-size:12px}.credit-alert button{margin-left:auto}.theme-choices{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.theme-choice{display:grid;gap:5px;min-width:135px;text-align:left;padding:12px;border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink)}.theme-choice.selected{border-color:var(--teal);box-shadow:0 0 0 2px color-mix(in srgb,var(--teal) 18%,transparent)}.theme-choice small{color:var(--muted)}.theme-swatch{display:block;height:16px;width:100%;border-radius:4px}.blue-swatch{background:linear-gradient(90deg,#253d57 45%,#6583a3 45%,#edf3f9 72%)}.green-swatch{background:linear-gradient(90deg,#132c32 45%,#087e79 45%,#f4f7f6 72%)}

/* Per-browser muted blue and white alternative. */
:root[data-theme="blue"]{--ink:#26394e;--muted:#677b90;--teal:#526f97;--line:#dce5ed;--paper:#f4f7fb;--orange:#b87747;background:var(--paper)}
[data-theme="blue"] .sidebar,[data-theme="blue"] .auth-art{background:#263b54;color:#c2d0df}
[data-theme="blue"] .brand-mark{background:#dbe8f4;color:#28496d}
[data-theme="blue"] .brand small,[data-theme="blue"] .nav-label{color:#a6b9ce}
[data-theme="blue"] .nav button{color:#c1cedd}
[data-theme="blue"] .nav button.active{background:#405c7c;color:white}
[data-theme="blue"] .nav button:hover{background:#344e6c}
[data-theme="blue"] .sidebar-bottom{border-color:#4b6077}
[data-theme="blue"] .sidebar-bottom strong{color:#e0ebf5}
[data-theme="blue"] .primary:hover{background:#425f86}
[data-theme="blue"] .avatar{background:#e0eaf4}
[data-theme="blue"] .badge.active{background:#e8f0f8;color:#4b6d94}
[data-theme="blue"] .badge.expiring{background:#fff1e0;color:#a56832}
[data-theme="blue"] .review{background:#ebf2f9;color:#3d5f81}
[data-theme="blue"] .notice{background:#eaf1f8}
[data-theme="blue"] .auth-art p{color:#c0ccda}
[data-theme="blue"] .accent-line{background:linear-gradient(90deg,#526f97,#c6d8e8)}
[data-theme="blue"] #toast{background:#263b54}
[data-theme="blue"] button:focus-visible,[data-theme="blue"] a:focus-visible,[data-theme="blue"] input:focus-visible,[data-theme="blue"] select:focus-visible,[data-theme="blue"] textarea:focus-visible{outline-color:#8aa6c5}
@media(max-width:760px){.ticket-bubble{max-width:100%}.ticket-meta{flex-wrap:wrap}.credit-alert button{margin-left:0}}
.nav-count{margin-left:auto;background:#e4effa;color:#355775;border-radius:99px;min-width:22px;padding:3px 6px;text-align:center;font-size:10px;font-weight:700}
.reseller-name { font-weight: 700; text-align: left; }
.pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:var(--muted);font-size:12px}.ticket-message{white-space:pre-wrap;overflow-wrap:anywhere}.checkline{display:flex;align-items:center;gap:10px}.checkline input{width:auto}textarea{width:100%;min-height:105px;resize:vertical;padding:11px 12px;border-radius:6px;border:1px solid #d6e1df;font:inherit;color:var(--ink)}
