*{box-sizing:border-box}:root{color:#171b26;background:#f4f4f6;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg: #f4f4f6;--surface: #ffffff;--surface-strong: #f7f7f8;--ink: #171b26;--muted: #6d7788;--line: #e2e3e7;--line-strong: #d2d4da;--teal: #0f9f8e;--blue: #3867d6;--amber: #c77d00;--red: #d84b4b;--green: #16845e;--accent: #3157b4;--shadow: 0 18px 48px rgba(29, 37, 54, .12)}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffffa8,#fff0 280px),var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(56,103,214,.22);outline-offset:2px}.support-workspace{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(520px,1.4fr);gap:16px;align-items:start}.support-queue-panel,.support-detail-panel{min-width:0}.support-heading,.support-detail-head,.customer-support-thread>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border-bottom:1px solid var(--line)}.support-heading span,.support-detail-head span,.customer-support-thread>header span{color:var(--muted);font-size:12px}.support-heading h2,.support-detail-head h2,.customer-support-thread h3{margin:3px 0 0;color:var(--ink);font-size:17px;letter-spacing:0}.support-filters{display:grid;grid-template-columns:minmax(180px,1fr) repeat(3,minmax(126px,auto)) auto;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}.support-filters input,.support-filters select,.support-controls select,.support-reply-actions select,.support-reply-form textarea{min-width:0;min-height:38px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:6px}.support-ticket-list{display:grid;max-height:680px;overflow:auto}.support-ticket-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:10px;align-items:center;width:100%;padding:13px 16px;color:var(--ink);text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line)}.support-ticket-row:hover,.support-ticket-row.active{background:#f4f7fc}.support-ticket-row.active{box-shadow:inset 3px 0 #3867d6}.support-priority{width:8px;height:28px;background:#a8b3c4;border-radius:3px}.support-priority.high{background:#d48b12}.support-priority.urgent{background:#d84b4b}.support-priority.low{background:#6e92c5}.support-ticket-main,.support-ticket-meta{display:grid;min-width:0;gap:4px}.support-ticket-main strong,.support-ticket-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-ticket-main strong{font-size:13px}.support-ticket-main span,.support-ticket-meta time{color:var(--muted);font-size:11px}.support-ticket-meta{justify-items:end}.support-empty-detail{display:grid;min-height:460px;place-content:center;justify-items:center;gap:8px;color:var(--muted);text-align:center}.support-empty-detail strong{color:var(--ink)}.support-controls{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px;border-bottom:1px solid var(--line)}.support-customer-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f7f9fc;border-bottom:1px solid var(--line)}.support-customer-context>div{display:grid;gap:3px;min-width:0;padding:12px 14px;border-right:1px solid var(--line)}.support-customer-context>div:last-child{border-right:0}.support-customer-context span,.support-customer-context em{color:var(--muted);font-size:11px;font-style:normal}.support-customer-context strong{overflow-wrap:anywhere;font-size:13px}.support-conversation,.customer-support-messages{display:grid;gap:10px;max-height:480px;padding:16px;overflow:auto;background:#fbfcfe}.support-message,.customer-support-messages article{max-width:82%;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:6px}.support-message.staff,.customer-support-messages article.staff{justify-self:end;background:#eef6ff;border-color:#cfe0f5}.support-message.internal{max-width:100%;background:#fff7e8;border-color:#eed39e}.support-message header,.customer-support-messages article header{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}.support-message p,.customer-support-messages article p{margin:6px 0 0;color:#26334a;font-size:13px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.support-reply-form{display:grid;gap:10px;padding:14px 16px;border-top:1px solid var(--line)}.support-reply-form textarea{resize:vertical}.support-reply-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.support-note-toggle{display:flex;align-items:center;gap:7px;margin-right:auto;color:var(--muted);font-size:12px}.support-events{display:grid;gap:0;padding:12px 16px 16px;border-top:1px solid var(--line)}.support-events>strong{margin-bottom:6px;font-size:12px}.support-events>div{display:grid;grid-template-columns:minmax(130px,1fr) minmax(140px,auto) auto;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:11px}.support-events em,.support-events time{color:var(--muted);font-style:normal}.customer-support{grid-column:1}.customer-support-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(340px,1.15fr);min-width:0}.customer-support-create,.customer-support-history{min-width:0;padding:16px}.customer-support-create{border-right:1px solid var(--line)}.customer-section-intro{display:flex;gap:10px;margin-bottom:14px;color:#3157b4}.customer-section-intro div{display:grid;gap:3px}.customer-section-intro strong{color:var(--ink);font-size:13px}.customer-section-intro span{color:var(--muted);font-size:12px;line-height:1.45}.customer-support-create form{display:grid;gap:10px}.customer-support-create label{display:grid;gap:5px;color:var(--muted);font-size:12px}.customer-support-create input,.customer-support-create select,.customer-support-create textarea,.customer-support-reply textarea{width:100%;min-width:0;padding:9px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:6px;resize:vertical}.customer-support-history>strong{display:block;margin-bottom:10px;font-size:13px}.customer-ticket-list{display:grid;max-height:360px;overflow:auto;border:1px solid var(--line);border-radius:6px}.customer-ticket-list>button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:10px;text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line)}.customer-ticket-list>button:last-child{border-bottom:0}.customer-ticket-list>button:hover,.customer-ticket-list>button.active{background:#f4f7fc}.customer-ticket-list>button>span{display:grid;min-width:0;gap:4px}.customer-ticket-list strong,.customer-ticket-list em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-ticket-list strong{font-size:12px}.customer-ticket-list em,.customer-ticket-list time{color:var(--muted);font-size:11px;font-style:normal}.customer-ticket-list>button>span:last-child{justify-items:end}.customer-support-empty{padding:20px;color:var(--muted);font-size:12px;text-align:center}.customer-support-thread{border-top:1px solid var(--line)}.customer-support-thread>header>div:last-child{display:flex;align-items:center;gap:8px}.customer-support-reply{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;padding:14px 16px;border-top:1px solid var(--line)}@media(max-width:1280px){.support-workspace{grid-template-columns:1fr}.support-ticket-list{max-height:420px}}@media(max-width:900px){.support-filters{grid-template-columns:1fr 1fr}.support-customer-context{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-support-layout{grid-template-columns:1fr}.customer-support-create{border-right:0;border-bottom:1px solid var(--line)}}@media(max-width:620px){.support-filters,.support-customer-context,.customer-support-reply{grid-template-columns:1fr}.support-customer-context>div{border-right:0;border-bottom:1px solid var(--line)}.support-ticket-row{grid-template-columns:8px minmax(0,1fr)}.support-ticket-meta{grid-column:2;justify-items:start}.support-message,.customer-support-messages article{max-width:100%}.support-reply-actions{align-items:stretch;flex-direction:column}.support-note-toggle{margin-right:0}.support-reply-actions .primary-button,.support-reply-actions select{width:100%}.customer-ticket-list>button{grid-template-columns:1fr}.customer-ticket-list>button>span:last-child{justify-items:start}}.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh;background:#f4f4f6}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:16px;padding:16px 12px;color:#26272b;background:#f8f8f9;border-right:1px solid #e1e2e6}.brand{display:flex;align-items:center;gap:10px;padding:2px 6px 12px}.brand-mark{display:grid;width:42px;height:42px;place-items:center;color:#fff;background:linear-gradient(135deg,#0f9f8e,#3867d6);border-radius:8px}.sidebar .brand-mark{width:34px;height:34px;color:#fff;background:#4f6ee8;border-radius:8px}.brand strong,.brand span{display:block}.brand strong{font-size:15px;line-height:1.3}.nav-section-label{display:block;margin:0 8px 5px;color:#96979d;font-size:9px;font-weight:800;text-transform:uppercase}.brand span{margin-top:2px;color:#a8b3c4;font-size:12px;line-height:1.3}.sidebar .brand strong{color:#25262a;font-size:14px}.sidebar .brand span{color:#85868c;font-size:11px}.sidebar-navigation{display:grid;gap:14px}.nav-group{display:grid}.sidebar nav{display:flex;flex-direction:column;gap:2px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 9px;color:#64666d;background:transparent;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:600;text-align:left}.nav-item:hover,.nav-item.active{color:#27282c;background:#fff;border-color:#e1e2e6;box-shadow:0 1px 2px #1c1e250d}.nav-item.active{color:#3454c5;box-shadow:inset 3px 0 #4f6ee8,0 1px 2px #1c1e250d}.system-card{margin-top:auto;display:grid;gap:8px;padding:12px 8px 2px;background:transparent;border:0;border-top:1px solid #e1e2e6;border-radius:8px}.status-line{display:flex;align-items:center;gap:8px;color:#777980;font-size:11px;line-height:1.3}.dot{display:inline-flex;flex:0 0 auto;width:8px;height:8px;border-radius:999px;background:var(--muted)}.dot.ok{background:#22c55e}.secondary-button,.primary-button,.icon-text,.environment,.action-cluster button,.icon-button,.toast button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:34px;border-radius:8px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:12px;font-weight:700}.secondary-button{width:100%;color:#3d4f77;background:#f6f7fa;border-color:#dfe2e8}.main{min-width:0;padding:0 24px 32px}.topbar{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:minmax(220px,1fr) minmax(280px,.9fr) auto auto;align-items:center;gap:12px;min-height:64px;margin:0 -24px 18px;padding:0 24px;background:#fafafbf0;border-bottom:1px solid #e2e3e7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.topbar.compact{grid-template-columns:minmax(220px,1fr) auto auto}.workspace-context{display:grid;gap:3px;min-width:0}.workspace-context span{color:var(--muted);font-size:9px}.workspace-context strong{overflow:hidden;color:var(--ink);font-size:16px;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.search{display:flex;align-items:center;gap:10px;min-width:0;height:36px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:none}.search input{min-width:0;width:100%;border:0;outline:0;color:var(--ink);background:transparent;font-size:13px}.search kbd{flex:0 0 auto;padding:2px 6px;color:#6f7b8d;background:#f0f3f8;border:1px solid #dbe2ec;border-radius:6px;font-size:11px}.environment{height:34px;min-height:34px;padding:0 10px;background:#fff}.workspace-page{display:grid;gap:14px}.workspace-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;min-width:0;padding:2px 0 4px}.workspace-page-head>div:first-child{display:grid;gap:3px;min-width:0}.workspace-page-head>div:first-child>span{color:#526276;font-size:10px;font-weight:800;text-transform:uppercase}.workspace-page-head h1{margin:0;color:var(--ink);font-size:20px;letter-spacing:0}.workspace-page-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.4}.workspace-tabs{display:flex;flex:0 0 auto;padding:3px;background:#ececef;border:1px solid #e0e1e5;border-radius:8px}.workspace-tabs button{min-height:32px;padding:0 11px;color:#5c6879;white-space:nowrap;background:transparent;border:0;border-radius:6px;font-size:11px;font-weight:750}.workspace-tabs button.active{color:var(--ink);background:#fff;box-shadow:0 1px 2px #1c1e2514}.icon-button{width:34px;height:34px;min-height:34px}.operator{display:grid;width:34px;height:34px;place-items:center;overflow:hidden;color:#fff;background:#4f6ee8;border-radius:8px;font-size:0}.operator:before{content:"OP";font-size:12px;font-weight:800}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.metric-card{display:flex;align-items:center;gap:13px;min-height:88px;padding:13px 14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:none}.metric-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:8px}.metric-icon.teal{color:#087869;background:#dff7f3}.metric-icon.blue{color:#3157b4;background:#e5edff}.metric-icon.amber{color:#996200;background:#fff0cf}.metric-icon.red{color:#b23a3a;background:#ffe3e3}.metric-card span,.metric-card em{display:block;color:var(--muted);font-size:11px;font-style:normal;line-height:1.4}.metric-card strong{display:block;margin:3px 0;font-size:22px;line-height:1.05}.toast{display:flex;align-items:center;gap:10px;min-height:42px;margin-bottom:14px;padding:10px 12px;color:#0f3f37;background:#e1f8f4;border:1px solid #b5e6dc;border-radius:8px;font-size:13px;font-weight:700}.toast button{margin-left:auto;width:28px;height:28px;min-height:28px;padding:0;color:#0f3f37;background:transparent;border-color:transparent}.loading-strip{display:flex;align-items:center;min-height:38px;margin-bottom:14px;padding:0 12px;color:#3157b4;background:#e5edff;border:1px solid #cddcff;border-radius:8px;font-size:12px;font-weight:800}.credential-reset{display:grid;grid-template-columns:38px minmax(0,1fr) 96px 42px;align-items:center;gap:12px;margin-bottom:14px;padding:12px;color:#142033;background:#fff7df;border:1px solid #efd38b;border-radius:8px;box-shadow:0 10px 28px #1d253614}.credential-reset-icon{display:grid;width:38px;height:38px;place-items:center;color:#815300;background:#ffefc8;border-radius:8px}.credential-reset-main{display:grid;min-width:0;gap:5px}.credential-reset-main strong,.credential-reset-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.credential-reset-main strong{font-size:13px}.credential-reset-main span{color:#6d7788;font-size:12px}.credential-reset-main code{width:max-content;max-width:100%;color:#171b26;background:#fff;border-color:#efd38b}.overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(360px,1fr);gap:14px}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start}.work-grid.single-column{grid-template-columns:1fr}.panel{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:none}.payment-systems-page{display:grid;gap:14px}.payment-systems-safety,.payment-systems-error{display:flex;align-items:flex-start;gap:10px;padding:13px 16px;border:1px solid #cfe1dc;border-radius:8px;background:#edf8f4;color:#245d50}.payment-systems-safety div{display:grid;gap:3px}.payment-systems-safety span{font-size:12px}.payment-systems-error{border-color:#f1caca;background:#fff0f0;color:#963838}.payment-systems-empty{padding:24px;color:var(--muted);text-align:center}.payment-systems-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.payment-system-card{overflow:hidden}.payment-system-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--line)}.payment-system-card-head h2{margin:3px 0 0;font-size:19px}.payment-system-rank{color:var(--muted);font:11px SFMono-Regular,Consolas,monospace}.payment-system-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.payment-system-observations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line);background:var(--surface-strong)}.payment-system-observations>div{display:grid;gap:3px;padding:11px 14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.payment-system-observations>div:nth-child(2n){border-right:0}.payment-system-observations span,.payment-system-observations small{color:var(--muted);font-size:10px}.payment-system-observations strong{overflow-wrap:anywhere;font-size:12px}.payment-system-queue-state{display:flex;flex-wrap:wrap;gap:7px 14px;padding:9px 14px;color:var(--muted);border-bottom:1px solid var(--line);font-size:10px}.payment-system-queue-state strong{color:var(--ink)}.payment-system-readiness{display:flex;gap:8px;padding:10px 14px;color:#815300;background:#fff8e6;font-size:12px}.payment-system-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.payment-system-form label,.payment-system-credentials label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.payment-system-form input,.payment-system-form select,.payment-system-credentials input{min-height:38px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:6px}.payment-system-form .payment-toggle{display:flex;align-items:center;gap:8px;color:var(--ink)}.payment-system-form .payment-toggle input{width:16px;min-height:16px}.payment-system-wide{grid-column:1 / -1}.payment-system-save{width:calc(100% - 32px);margin:0 16px 16px}.payment-system-credentials{display:grid;gap:11px;padding:16px;border-top:1px solid var(--line);background:#fbfbfc}.payment-system-credential-head{display:flex;justify-content:space-between;gap:12px}.payment-system-credential-head>div{display:flex;align-items:center;gap:7px}.payment-system-credential-head>span{color:var(--muted);font:10px SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere}.payment-system-credentials>small{display:flex;align-items:center;gap:5px;color:var(--green)}.payment-system-credential-actions{display:flex;flex-wrap:wrap;gap:8px}.payment-system-credential-actions .secondary-button,.payment-system-credential-actions .danger-button{min-height:36px}.payment-reconciliation-notice{padding:10px 16px;color:#245d50;background:#edf8f4;border-bottom:1px solid #cfe1dc;font-size:12px}.payment-row>div:nth-child(2){display:grid;gap:3px}.payment-row>div:nth-child(2) small{max-width:180px;color:var(--muted);font-size:10px;line-height:1.25}@media(max-width:1050px){.payment-systems-grid{grid-template-columns:1fr}}@media(max-width:620px){.payment-system-card-head{display:grid}.payment-system-badges{justify-content:flex-start}.payment-system-form{grid-template-columns:1fr}.payment-system-wide{grid-column:auto}}.trend-panel,.jobs-panel{grid-column:1 / -1}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 16px;border-bottom:1px solid var(--line)}.panel-title h2{margin:0;color:var(--ink);font-size:14px;line-height:1.2}.panel-title-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.panel-title-actions .compact-button{min-height:30px;padding:0 10px;font-size:11px}.panel-context{display:inline-flex;align-items:center;min-height:26px;min-width:0;padding:0 8px;color:var(--muted);background:var(--surface-strong);border:0;border-radius:8px;font-size:10px;font-weight:800}.chart{display:grid;grid-template-columns:repeat(34,minmax(4px,1fr));align-items:end;gap:5px;height:210px;padding:18px 16px 8px}.chart span{min-height:12px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#0f9f8e,#3867d6)}.summary-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-top:1px solid var(--line);background:var(--line)}.summary{min-width:0;padding:12px 14px;background:#fff}.summary span,.summary em{display:block;color:var(--muted);font-size:11px;font-style:normal}.summary strong{display:block;margin:4px 0;font-size:17px}.provider-list,.mini-rows{display:grid}.provider-row,.mini-row,.job-row{display:grid;align-items:center;gap:10px;min-height:48px;padding:8px 14px;border-bottom:1px solid var(--line);font-size:12px}.provider-row{grid-template-columns:28px minmax(0,1fr) auto 68px 40px}.provider-row:last-child,.mini-row:last-child,.job-row:last-child{border-bottom:0}.provider-row strong,.provider-row span,.mini-row span,.job-row span,.job-row strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-row div span{display:block;margin-top:2px;color:var(--muted)}.mini-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto minmax(80px,.8fr) 18px}.job-row{grid-template-columns:minmax(150px,1.2fr) minmax(100px,.8fr) auto minmax(140px,1fr) 64px}.progress{height:8px;overflow:hidden;background:#edf1f6;border-radius:999px}.progress span{display:block;height:100%;background:linear-gradient(90deg,#3867d6,#0f9f8e);border-radius:inherit}.empty-rows{display:flex;align-items:center;min-height:48px;padding:0 14px;color:var(--muted);border-bottom:1px solid var(--line);font-size:12px;font-weight:700}.table{overflow-x:auto}.table-head,.table-row{display:grid;align-items:center;gap:12px;min-width:920px}.table-head{min-height:38px;padding:0 14px;color:#6d7788;background:#f7f7f8;border-bottom:1px solid var(--line);font-size:10px;font-weight:800;text-transform:uppercase}.config-head,.config-row{grid-template-columns:minmax(190px,1.05fr) minmax(176px,.95fr) minmax(112px,.62fr) minmax(132px,.76fr) 124px minmax(138px,.76fr) minmax(148px,.82fr) 288px}.node-head,.node-row{grid-template-columns:1.4fr 110px 142px auto 78px 100px 150px}.customer-head,.customer-row{grid-template-columns:minmax(220px,1.4fr) auto auto minmax(150px,.9fr) 120px 76px 118px 104px}.customer-table-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) 190px 170px;gap:10px;padding:12px 14px;background:#fbfcfe;border-bottom:1px solid var(--line)}.customer-table-toolbar select,.customer-table-toolbar input{width:100%;min-height:36px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:7px}.customer-table-toolbar .compact-search{width:100%;max-width:none}.mobile-cell-label{display:none!important}.plan-head,.plan-row{grid-template-columns:minmax(220px,1.4fr) 110px 132px 110px 104px}.pricing-plan-head,.pricing-plan-row{grid-template-columns:minmax(220px,1.3fr) 150px 132px 96px 96px 96px}.location-price-head,.location-price-row{grid-template-columns:140px minmax(180px,1fr) 132px 96px 132px}.promo-head,.promo-row{grid-template-columns:minmax(170px,1fr) 110px 118px minmax(150px,.9fr) minmax(220px,1.2fr) 86px 96px}.finance-head,.finance-row{grid-template-columns:minmax(210px,1.2fr) 132px 96px 120px 128px 128px minmax(180px,1fr)}.subscription-head,.subscription-row{grid-template-columns:minmax(220px,1.4fr) minmax(120px,.8fr) minmax(120px,.8fr) auto 112px 128px 96px}.payment-head,.payment-row{grid-template-columns:minmax(220px,1.4fr) minmax(120px,.8fr) minmax(120px,.8fr) auto 112px 128px 96px 72px}.lab-delivery-head,.lab-delivery-table-row{grid-template-columns:minmax(210px,1.2fr) minmax(220px,1.2fr) 110px minmax(130px,.72fr) 72px 140px 72px}.reconciliation-head,.reconciliation-row{grid-template-columns:minmax(190px,1fr) 190px 170px 190px 170px minmax(250px,1.25fr) 140px 72px;min-width:1392px}.lab-queue-filters{padding-bottom:14px}.lab-filter-grid{display:grid;grid-template-columns:minmax(230px,1.4fr) repeat(3,minmax(140px,.75fr)) auto;align-items:end;gap:10px;padding:12px 14px 0}.reconciliation-filter-grid{grid-template-columns:minmax(230px,1.4fr) repeat(2,minmax(160px,.8fr)) auto}.reconciliation-notice{margin:0 14px 12px}.reconciliation-runs-panel .panel-title>div{display:flex;align-items:center;gap:10px}.reconciliation-run-head,.reconciliation-run-row{grid-template-columns:minmax(210px,1.1fr) 160px minmax(220px,1fr) 120px 150px;min-width:900px}.finance-repair-head,.finance-repair-row{grid-template-columns:minmax(190px,.9fr) minmax(180px,.85fr) minmax(260px,1.3fr) 110px 150px;min-width:980px}.finance-repair-drawer textarea{width:100%;min-height:96px;resize:vertical}.lab-filter-submit{width:auto;min-width:124px;margin:0}.lab-queue-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:8px}.reconciliation-row>div:nth-child(2) .badge{margin-top:5px}.reconciliation-issues{display:grid;gap:5px;align-items:start;justify-items:start}.table-row .reconciliation-issues>span:last-child{overflow:visible;margin:0;line-height:1.4;text-overflow:clip;white-space:normal}.audit-head,.audit-row{grid-template-columns:minmax(180px,1fr) minmax(220px,1.15fr) minmax(220px,1.1fr) 128px minmax(260px,1.3fr)}.telegram-client-head,.telegram-client-row{grid-template-columns:minmax(180px,1.05fr) 92px minmax(180px,1fr) minmax(180px,1.05fr) 104px minmax(150px,.95fr) 132px 104px}.table-row{min-height:58px;padding:9px 14px;border-bottom:1px solid var(--line);font-size:12px}.table-row:last-child{border-bottom:0}.table-row:hover{background:#fafafb}.table-row>div,.table-row code,.table-row span{min-width:0}.table-row strong{display:block;overflow:hidden;color:var(--ink);font-size:13px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.table-row div span{display:block;overflow:hidden;margin-top:3px;color:var(--muted);line-height:1.35;text-overflow:ellipsis;white-space:nowrap}code{overflow:hidden;padding:4px 6px;color:#374151;background:#f2f5f9;border:1px solid #e0e7f0;border-radius:6px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:22px;padding:0 7px;border-radius:999px;font-size:10px;font-weight:800;line-height:1;text-transform:none;white-space:nowrap}.badge.green{color:#0f5f47;background:#dff7ec}.badge.amber{color:#815300;background:#ffefc8}.badge.gray{color:#596170;background:#edf1f6}.badge.red{color:#9e2f2f;background:#ffe3e3}select,input{min-width:0;width:100%;min-height:34px;padding:0 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:8px;font-size:12px}.icon-text{width:100%;padding:0 10px}.action-cluster{display:flex;justify-content:flex-end;gap:6px}.action-cluster button{width:32px;height:32px;min-height:32px;padding:0;color:#4b5565;background:#f9fafc}.action-cluster button:hover{color:var(--ink);background:#edf2f8}.row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.row-actions .icon-button{width:32px;height:32px;min-height:32px}.row-actions .danger-icon{color:#9e2f2f}.detail-drawer{position:fixed;top:0;right:0;z-index:30;display:grid;grid-auto-rows:max-content;align-content:start;gap:14px;width:min(520px,100vw);height:100vh;overflow-y:auto;padding:18px;background:#fff;border-left:1px solid var(--line);box-shadow:-18px 0 48px #1d253629}.drawer-backdrop{position:fixed;inset:0;z-index:29;padding:0;background:#171b2647;border:0;cursor:default}.customer-action-drawer .embedded-form{position:static;gap:12px;padding:0 0 16px;border:0}.drawer-tariff-form{display:grid;gap:10px;padding:12px;background:#f7f9fc;border:1px solid var(--line);border-radius:9px}.drawer-tariff-form>label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:700}.drawer-tariff-form .secondary-button,.drawer-tariff-form .primary-button{width:100%}.drawer-issue-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:10px;margin-bottom:12px;padding:12px;background:#f7f9fc;border:1px solid var(--line);border-radius:9px}.drawer-issue-form>label{display:grid;gap:5px;color:var(--muted);font-size:11px;font-weight:700}.drawer-issue-form .primary-button{grid-column:1 / -1;width:100%}.drawer-issue-message{grid-column:1 / -1;color:var(--muted);font-size:12px}@media(max-width:720px){.drawer-issue-form{grid-template-columns:minmax(0,1fr)}}.tariff-preview{display:grid;gap:7px;padding:11px;color:#174c3b;background:#e8f7f1;border:1px solid #b8dfd0;border-radius:8px}.tariff-preview.warning{color:#704a00;background:#fff5dc;border-color:#efd18a}.tariff-preview>span,.tariff-message{font-size:11px;line-height:1.45}.tariff-confirm-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:8px;align-items:start;color:var(--ink);font-size:11px;font-weight:600}.tariff-confirm-row input{width:16px;min-height:16px;margin-top:1px}.tariff-confirm-row.danger{color:#8a341f}.tariff-message{padding:9px 10px;color:#334155;background:#fff;border:1px solid var(--line);border-radius:7px}.drawer-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--line)}.drawer-title strong,.drawer-title span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-title strong{font-size:18px;line-height:1.25}.drawer-title span{margin-top:4px;color:var(--muted);font-size:12px}.drawer-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;overflow:hidden;background:var(--line);border:1px solid var(--line);border-radius:8px}.drawer-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.drawer-section{overflow:hidden;border:1px solid var(--line);border-radius:8px}.drawer-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:42px;padding:0 12px;background:var(--surface-strong);border-bottom:1px solid var(--line)}.drawer-section-title strong{font-size:13px}.drawer-section-title span{color:var(--muted);font-size:12px;font-weight:800}.drawer-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:58px;padding:10px 12px;border-bottom:1px solid var(--line);font-size:12px}.drawer-row.compact{grid-template-columns:minmax(0,1fr)}.drawer-row:last-child{border-bottom:0}.drawer-row strong,.drawer-row span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lab-error-row,.lab-event-header,.lab-delivery-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.lab-error-row{min-height:52px;padding:10px 12px;color:#9e2f2f;background:#fff6f6;border:1px solid #f2caca;border-radius:8px;font-size:12px;font-weight:700}.refund-success-row{padding:12px 16px;border:1px solid #a7dfce;background:#ecfbf5;color:#176b54;font-size:13px}.refund-danger-button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #c43d4c;background:#c43d4c;color:#fff;padding:0 14px;font:inherit;font-weight:700;cursor:pointer}.refund-danger-button:hover{background:#aa2d3c}.refund-danger-button:disabled{opacity:.5;cursor:not-allowed}.detail-drawer .field-hint{color:var(--muted);font-size:12px}.lab-event-row{padding:12px;border-bottom:1px solid var(--line)}.lab-event-row:last-child{border-bottom:0}.lab-event-header{align-items:flex-start;padding-bottom:8px}.lab-event-header strong,.lab-event-header span,.lab-delivery-row strong,.lab-delivery-row span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lab-event-header span,.lab-delivery-row span{margin-top:3px;color:var(--muted);font-size:11px}.lab-delivery-row{min-height:50px;padding:8px 0 0;border-top:1px solid var(--line);font-size:12px}.drawer-row span{margin-top:3px;color:var(--muted)}.side-form{position:sticky;top:22px;display:grid;gap:14px;padding-bottom:16px}.side-stack{position:sticky;top:22px;display:grid;gap:14px}.side-stack .side-form{position:static}.telegram-work-grid{grid-template-columns:minmax(0,1fr) 360px}.inline-filter-form{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(140px,.8fr)) repeat(2,minmax(126px,.65fr)) auto;align-items:end;gap:8px;padding:12px 14px;background:#fbfcfe;border-bottom:1px solid var(--line)}.inline-filter-form label{display:grid;min-width:0;gap:5px}.inline-filter-form label>span{color:var(--muted);font-size:10px;font-weight:800}.inline-filter-form input,.inline-filter-form select{width:100%;min-width:0;min-height:36px;padding:0 9px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:7px}.inline-filter-form .primary-button{width:auto;margin:0;white-space:nowrap}.pricing-page{display:grid;gap:14px}.modern-pricing{gap:16px}.pricing-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 0 4px}.pricing-toolbar h1,.pricing-section-heading h2{margin:3px 0 0;color:var(--ink);letter-spacing:0}.pricing-toolbar h1{font-size:24px;line-height:1.2}.pricing-toolbar p{margin:5px 0 0;color:var(--muted);font-size:12px}.section-kicker,.pricing-section-heading>div>span,.pricing-panel-heading>div>span{color:#526276;font-size:10px;font-weight:800;letter-spacing:0;text-transform:uppercase}.pricing-toolbar-actions{display:flex;flex:0 0 auto;gap:8px}.compact-button,.pricing-toolbar .secondary-button,.pricing-toolbar .primary-button,.pricing-editor-actions .primary-button{width:auto;min-height:36px;margin:0;padding:0 12px}.pricing-toolbar .secondary-button{color:var(--ink);background:#fff;border-color:var(--line-strong)}.pricing-segmented{display:flex;width:fit-content;max-width:100%;padding:3px;overflow-x:auto;background:#e3e9f1;border:1px solid #d7dfe9;border-radius:8px}.pricing-segmented button{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;color:#5c6879;white-space:nowrap;background:transparent;border:0;border-radius:6px;font-size:12px;font-weight:750}.pricing-segmented button.active{color:var(--ink);background:#fff;box-shadow:0 1px 3px #1d25361f}.pricing-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pricing-metric{display:grid;grid-template-columns:36px minmax(0,1fr);gap:11px;align-items:start;min-width:0;min-height:106px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #1d25360f}.pricing-metric-icon{display:grid;width:36px;height:36px;place-items:center;color:#4f6078;background:#eef2f7;border-radius:7px}.pricing-metric.blue .pricing-metric-icon{color:#285cb4;background:#e9f1ff}.pricing-metric.green .pricing-metric-icon{color:#137453;background:#e7f6ef}.pricing-metric.red .pricing-metric-icon{color:#b6383e;background:#fff0f0}.pricing-metric.violet .pricing-metric-icon{color:#6b50a4;background:#f1edfa}.pricing-metric>div{display:grid;gap:3px;min-width:0}.pricing-metric span,.pricing-metric em{color:var(--muted);font-size:11px;font-style:normal}.pricing-metric strong{margin:1px 0;overflow:hidden;color:var(--ink);font-size:20px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.pricing-health{display:grid;grid-template-columns:minmax(310px,1.15fr) minmax(180px,.55fr) minmax(420px,1.35fr);gap:18px;align-items:center;padding:15px 16px;border-left:4px solid #16845e}.pricing-health.warning{border-left-color:#c77d00}.pricing-health-copy{display:flex;align-items:flex-start;gap:11px;min-width:0}.pricing-health-icon{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;color:#147353;background:#e8f6ef;border-radius:7px}.pricing-health.warning .pricing-health-icon{color:#9a6300;background:#fff5df}.pricing-health-copy>div{display:grid;gap:3px;min-width:0}.pricing-health-copy span,.pricing-health-copy p{margin:0;color:var(--muted);font-size:11px}.pricing-health-copy strong{color:var(--ink);font-size:13px}.pricing-health-progress{height:7px;overflow:hidden;background:#e4eaf1;border-radius:4px}.pricing-health-progress span{display:block;height:100%;background:#16845e;border-radius:inherit}.pricing-health.warning .pricing-health-progress span{background:#c77d00}.pricing-health-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pricing-fact{display:grid;gap:3px;min-width:0}.pricing-fact em{color:var(--muted);font-size:10px;font-style:normal}.pricing-fact strong{overflow:hidden;color:var(--ink);font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.pricing-economics-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(320px,.8fr);gap:14px;align-items:start}.pricing-cost-panel,.pricing-scenario-panel,.pricing-rule-panel{overflow:hidden}.pricing-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:58px;padding:10px 14px;border-bottom:1px solid var(--line)}.pricing-panel-heading>div{display:grid;gap:3px;min-width:0}.pricing-panel-heading>div>strong{overflow:hidden;color:var(--ink);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.pricing-panel-heading .icon-button,.cost-row .icon-button,.plan-card-topline .icon-button{flex:0 0 auto;width:32px;height:32px;min-height:32px;color:#667386;background:#f7f9fc}.cost-list{display:grid}.cost-row{display:grid;grid-template-columns:34px minmax(220px,1fr) minmax(130px,auto) 32px;gap:11px;align-items:center;min-height:66px;padding:10px 14px;border-bottom:1px solid var(--line)}.cost-row:last-child{border-bottom:0}.cost-icon{display:grid;width:34px;height:34px;place-items:center;color:#50627b;background:#edf2f8;border-radius:7px}.cost-icon.payroll{color:#6a4ba1;background:#f1ecfa}.cost-icon.operations{color:#986100;background:#fff4dd}.cost-main,.cost-value{display:grid;gap:3px;min-width:0}.cost-main strong,.cost-value strong{overflow:hidden;color:var(--ink);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.cost-main em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.cost-value{justify-items:end}.pricing-scenario-panel{display:grid}.assumption-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:14px;border-bottom:1px solid var(--line)}.plan-mix-list{display:grid;gap:10px;padding:14px}.plan-mix-list>span{color:#526276;font-size:10px;font-weight:800;text-transform:uppercase}.plan-mix-row{display:grid;grid-template-columns:minmax(90px,.8fr) minmax(100px,1fr) 34px;gap:8px;align-items:center;color:#384355;font-size:11px}.plan-mix-row>div{height:5px;overflow:hidden;background:#e3e9f1;border-radius:3px}.plan-mix-row i{display:block;height:100%;background:#3867d6;border-radius:inherit}.plan-mix-row strong{text-align:right}.assumption-note{margin:0;padding:12px 14px;color:#5d6878;background:#f7f9fc;border-top:1px solid var(--line);font-size:10px;line-height:1.5}.pricing-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:2px 0}.pricing-section-heading h2{font-size:18px}.pricing-section-heading>span{color:var(--muted);font-size:11px}.pricing-catalog-section{display:grid;gap:12px}.pricing-plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pricing-test-catalog{margin-top:16px;padding:12px;background:#fff9eb;border:1px solid #efd99f;border-radius:8px}.pricing-test-catalog>summary{color:#7c5700;font-size:13px;font-weight:900;cursor:pointer}.pricing-test-catalog>.pricing-plan-grid{margin-top:12px}.pricing-plan-card,.pricing-plan-add{min-width:0;min-height:262px;padding:15px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 8px 24px #1d25360f}.pricing-plan-card{display:grid;grid-template-rows:auto auto auto 1fr auto;gap:13px}.pricing-plan-card.popular{border-top:3px solid #3867d6;padding-top:13px}.plan-card-topline{display:flex;align-items:center;min-height:32px;gap:7px}.plan-card-topline .icon-button{margin-left:auto}.popular-label{color:#2958ad;font-size:10px;font-weight:800}.plan-card-title{min-width:0}.plan-card-title>span{color:var(--muted);font-family:SFMono-Regular,Consolas,monospace;font-size:10px}.plan-card-title h3{margin:4px 0;color:var(--ink);font-size:17px;letter-spacing:0}.plan-card-title p{min-height:32px;margin:0;color:var(--muted);font-size:11px;line-height:1.45}.plan-card-price{display:flex;align-items:baseline;gap:6px}.plan-card-price strong{color:var(--ink);font-size:22px}.plan-card-price span{color:var(--muted);font-size:11px}.plan-card-facts{display:grid;align-content:start;gap:7px;color:#4f5a6c;font-size:11px}.plan-card-facts span{display:flex;align-items:center;gap:7px}.plan-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:11px;border-top:1px solid var(--line);color:var(--muted);font-size:10px}.plan-card-footer strong{color:var(--ink);font-size:11px}.pricing-plan-add{display:grid;place-content:center;justify-items:center;gap:7px;color:#657184;text-align:center;border-style:dashed;box-shadow:none}.pricing-plan-add:hover{color:#3157b4;background:#f8faff;border-color:#9db2dc}.pricing-plan-add strong{color:var(--ink);font-size:13px}.pricing-plan-add span{max-width:220px;font-size:10px;line-height:1.45}.pricing-rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.pricing-rule-panel.wide{grid-column:1 / -1}.rule-list{display:grid}.rule-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(76px,auto) auto 20px;gap:10px;align-items:center;min-height:58px;padding:9px 14px;color:var(--ink);text-align:left;background:#fff;border:0;border-bottom:1px solid var(--line)}.rule-row:hover{background:#f8faff}.rule-row:last-child{border-bottom:0}.rule-row>span:first-child{display:grid;gap:3px;min-width:0}.rule-row strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.rule-row em{overflow:hidden;color:var(--muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.pricing-empty{padding:24px 14px;color:var(--muted);text-align:center;font-size:11px}.pricing-status{display:inline-flex;align-items:center;justify-content:center;width:fit-content;min-height:21px;padding:0 7px;color:#596477;background:#edf1f6;border:1px solid #dfe5ed;border-radius:5px;font-size:9px;font-weight:800;text-transform:uppercase}.pricing-status.active,.pricing-status.healthy{color:#146d50;background:#eaf7f1;border-color:#caebdd}.pricing-status.planned,.pricing-status.paused,.pricing-status.hidden{color:#8c5c00;background:#fff6e4;border-color:#f1dfb7}.pricing-status.disabled,.pricing-status.archived,.pricing-status.excluded,.pricing-status.expired{color:#687385;background:#f1f3f6;border-color:#dfe4eb}.pricing-drawer-backdrop{position:fixed;z-index:80;inset:0;display:flex;justify-content:flex-end;background:#141b2761}.pricing-drawer{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(680px,100%);height:100%;overflow:hidden;background:#fff;border-left:1px solid var(--line-strong);box-shadow:-20px 0 48px #1018262e}.pricing-drawer>header{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;padding:10px 16px;border-bottom:1px solid var(--line)}.pricing-drawer>header>div{display:grid;gap:3px}.pricing-drawer>header span{color:var(--muted);font-size:10px;font-weight:800;text-transform:uppercase}.pricing-drawer>header strong{color:var(--ink);font-size:15px}.pricing-drawer>header .icon-button{width:34px;height:34px;min-height:34px}.pricing-drawer-body{min-height:0;overflow-y:auto}.pricing-editor-form{display:grid;gap:16px;min-height:100%;padding:16px}.pricing-editor-intro{display:flex;align-items:center;gap:11px;padding:12px;background:#f7f9fc;border:1px solid var(--line);border-radius:7px}.pricing-editor-intro>span{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;color:#3157b4;background:#eaf0fd;border-radius:7px}.pricing-editor-intro>div{display:grid;gap:3px}.pricing-editor-intro strong{font-size:12px}.pricing-editor-intro em{color:var(--muted);font-size:10px;font-style:normal}.pricing-field-grid{display:grid;gap:12px}.pricing-field-grid.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-field-grid.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.pricing-form-field{display:grid;align-content:start;gap:6px;min-width:0}.pricing-form-field>span{color:#354052;font-size:11px;font-weight:750}.pricing-form-field>em{color:var(--muted);font-size:9px;font-style:normal;line-height:1.4}.pricing-form-field input,.pricing-form-field select,.pricing-form-field textarea{width:100%;min-width:0;min-height:38px;padding:8px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:6px;font-size:12px}.pricing-form-field textarea{min-height:84px;resize:vertical}.pricing-form-field select[multiple]{min-height:104px}.pricing-form-field input:disabled{color:#6c7686;background:#f2f4f7}.pricing-input-suffix{position:relative}.pricing-input-suffix input{padding-right:34px}.pricing-input-suffix>span{position:absolute;top:50%;right:11px;color:var(--muted);font-size:11px;transform:translateY(-50%)}.pricing-check-row{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;background:#f7f9fc;border:1px solid var(--line);border-radius:7px}.pricing-check-row input{margin-top:2px}.pricing-check-row span{display:grid;gap:2px}.pricing-check-row strong{font-size:11px}.pricing-check-row em{color:var(--muted);font-size:10px;font-style:normal}.percentage-check,.cost-editor-total{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;color:#1b604b;background:#edf8f3;border:1px solid #cfe9df;border-radius:7px;font-size:11px}.percentage-check.invalid{color:#9f383d;background:#fff1f1;border-color:#efcdcf}.percentage-check strong,.cost-editor-total strong{font-size:13px}.pricing-editor-actions{position:sticky;bottom:-16px;display:flex;justify-content:flex-end;margin:auto -16px -16px;padding:12px 16px;background:#fff;border-top:1px solid var(--line)}@media(max-width:1240px){.inline-filter-form{grid-template-columns:repeat(3,minmax(0,1fr))}.inline-filter-form .primary-button{width:100%}.pricing-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pricing-health{grid-template-columns:minmax(260px,1fr) minmax(180px,.6fr)}.pricing-health-facts{grid-column:1 / -1}.pricing-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.pricing-toolbar{align-items:flex-start;flex-direction:column}.pricing-economics-grid,.pricing-rules-grid{grid-template-columns:1fr}.pricing-rule-panel.wide{grid-column:auto}.pricing-health{grid-template-columns:1fr}.pricing-health-facts{grid-column:auto}}@media(max-width:620px){.inline-filter-form{grid-template-columns:1fr}.pricing-toolbar h1{font-size:21px}.pricing-toolbar-actions,.pricing-toolbar-actions button,.pricing-segmented{width:100%}.pricing-toolbar-actions button,.pricing-segmented button{flex:1 1 0}.pricing-metric-grid,.pricing-plan-grid,.pricing-health-facts,.pricing-field-grid.columns-2,.pricing-field-grid.columns-3{grid-template-columns:1fr}.cost-row{grid-template-columns:34px minmax(0,1fr) 32px}.cost-value{grid-column:2;grid-row:2;justify-items:start}.cost-row .icon-button{grid-column:3;grid-row:1 / span 2}.rule-row{grid-template-columns:minmax(0,1fr) 20px}.rule-row>strong,.rule-row .pricing-status{justify-self:start}.rule-row>svg{grid-column:2;grid-row:1 / span 3}.pricing-drawer{width:100%}}.pricing-constructor{overflow:hidden}.constructor-grid{display:grid;gap:1px;background:var(--line)}.constructor-form{display:grid;gap:14px;min-width:0;padding:16px;background:#fff}.constructor-form.wide{border-top:1px solid var(--line)}.constructor-form-title{display:flex;align-items:flex-start;gap:10px;min-width:0}.constructor-form-title h3{margin:0;color:var(--ink);font-size:14px}.constructor-form-title span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.constructor-row{display:grid;gap:12px}.constructor-row.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.constructor-row.three-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.constructor-row.four-columns{grid-template-columns:repeat(4,minmax(0,1fr))}.builder-field{display:grid;align-content:start;gap:7px;min-width:0}.builder-field>span{color:#2d3544;font-size:12px;font-weight:800}.builder-field em,.builder-field code{display:block;min-width:0;color:var(--muted);font-size:11px;font-style:normal;line-height:1.35}.builder-field code{width:fit-content;max-width:100%;padding:3px 6px;overflow:hidden;color:#485366;background:#f3f6fa;border:1px solid var(--line);border-radius:6px;text-overflow:ellipsis;white-space:nowrap}.builder-field select[multiple]{min-height:92px;padding:8px 10px}.constructor-actions{display:flex;justify-content:flex-end}.constructor-actions .primary-button{width:auto;margin:0}.secondary-table{border-top:1px solid var(--line)}.inline-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.drawer-finance-form{display:grid;grid-template-columns:110px 90px minmax(0,1fr) auto;gap:8px;padding:10px 12px;border-bottom:1px solid var(--line)}.drawer-finance-form .primary-button{margin:0}.telegram-account-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.telegram-account{min-width:0;display:grid;gap:5px;padding:12px 16px;background:#fff}.telegram-account strong,.telegram-account span,.telegram-account em{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.telegram-account strong{font-size:13px}.telegram-account span,.telegram-account em{color:var(--muted);font-size:12px;font-style:normal}.telegram-account div{display:flex;align-items:center;gap:8px}.telegram-activity-row{min-width:920px;padding:0 16px 14px;background:#f7f9fc;border-bottom:1px solid var(--line)}.client-activity-loading{min-height:54px;display:flex;align-items:center;padding:0 12px;color:var(--muted);background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;font-size:12px;font-weight:800}.client-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding-top:12px}.client-activity-grid section{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:8px}.activity-section-title{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 12px;background:var(--surface-strong);border-bottom:1px solid var(--line)}.activity-section-title strong,.activity-section-title span{font-size:12px}.activity-section-title span{color:var(--muted);font-weight:800}.activity-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;min-height:58px;padding:10px 12px;border-bottom:1px solid var(--line);font-size:12px}.activity-item:last-child{border-bottom:0}.activity-item strong,.activity-item span,.activity-item p{min-width:0;overflow:hidden;text-overflow:ellipsis}.activity-item strong,.activity-item span{display:block;white-space:nowrap}.activity-item span{margin-top:3px;color:var(--muted)}.activity-item p{grid-column:1 / -1;margin:0;color:#4b5565;line-height:1.4;white-space:nowrap}.log-item{grid-template-columns:minmax(0,1fr)}.filter-form{display:grid;gap:14px;padding-bottom:16px}.filter-form .primary-button,.filter-form .icon-text{margin-left:16px;margin-right:16px;width:auto}.field{display:grid;gap:7px;padding:0 16px}.field span{color:var(--muted);font-size:12px;font-weight:700}.primary-button{min-height:40px;margin:2px 16px 0;padding:0 13px;color:#fff;background:#171b26;border-color:#171b26}.primary-button:hover{background:#252c3a}.primary-button:disabled{cursor:not-allowed;opacity:.7}.auth-screen{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(180deg,#ffffffc7,#fff0 280px),var(--bg)}.auth-card{display:grid;gap:16px;width:min(100%,420px);padding:22px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.brand.compact{padding:0 0 8px;color:var(--ink)}.brand.compact span{color:var(--muted)}.auth-heading{display:grid;gap:6px;padding-bottom:2px}.auth-heading h1{margin:0;font-size:22px;line-height:1.2}.auth-heading p,.auth-loading{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.auth-card .field{padding:0}.auth-submit{margin:2px 0 0;width:100%}.auth-error{padding:9px 11px;color:#9e2f2f;background:#ffe3e3;border:1px solid #ffc7c7;border-radius:8px;font-size:12px;font-weight:700}.fatal-error{display:grid;min-height:100vh;place-items:center;padding:24px;color:#9e2f2f;background:#fff1f1;font-weight:800}.customer-shell{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(180deg,#ffffffc7,#fff0 280px),var(--bg)}.customer-shell.loading{place-items:center}.customer-login{display:grid;gap:16px;width:min(100%,440px);padding:22px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.customer-login .field{padding:0}.customer-login-copy{display:grid;gap:6px}.customer-login-copy h1{margin:0;font-size:24px;line-height:1.2}.customer-login-copy p{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.staff-link{justify-self:center;color:#3157b4;font-size:12px;font-weight:800;text-decoration:none}.staff-link:hover{text-decoration:underline}@media(max-width:1440px){.work-grid{grid-template-columns:1fr}.side-stack,.side-form{position:static}}@media(max-width:1180px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.customer-grid{grid-template-columns:1fr}.customer-device-form,.customer-security{grid-column:auto;grid-row:auto}.constructor-row.four-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.app-shell{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}.sidebar{position:static;height:auto;min-width:0;max-width:100%;overflow:hidden;gap:8px;padding:10px 12px}.sidebar .brand{padding-bottom:4px}.sidebar-navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;min-width:0;max-width:100%;gap:4px;overflow:visible}.nav-group,.sidebar nav{display:contents}.sidebar .nav-item{justify-content:center;width:100%;min-width:0;padding:0 6px;font-size:11px}.system-card{display:none}.main{padding:0 14px 24px}.topbar{grid-template-columns:minmax(0,1fr) auto auto}.topbar.compact{grid-template-columns:minmax(0,1fr) auto}.topbar{margin:0 -14px 14px;padding:0 14px}.nav-section-label{display:none}.workspace-page-head{align-items:flex-start;flex-direction:column}.constructor-row.two-columns,.constructor-row.three-columns,.constructor-row.four-columns,.client-activity-grid{grid-template-columns:1fr}.environment{display:none}.metric-grid,.summary-row{grid-template-columns:1fr}.customers-workspace .panel-title{align-items:flex-start;flex-direction:column}.customers-workspace .panel-title-actions{justify-content:flex-start;width:100%}.customer-table-toolbar{grid-template-columns:1fr}.customers-workspace .table{overflow:visible;padding:10px;background:#f7f8fa}.customer-head{display:none}.customer-row{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"identity actions" "access account" "plan until" "keys balance";min-width:0;margin-bottom:8px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:8px}.customer-row:last-child{margin-bottom:0}.customer-identity{grid-area:identity}.customer-actions{grid-area:actions;align-self:start}.customer-access-status{grid-area:access}.customer-account-status{grid-area:account}.customer-plan{grid-area:plan}.customer-until{grid-area:until}.customer-keys{grid-area:keys}.customer-balance{grid-area:balance}.customer-cell{display:grid!important;align-content:start;gap:4px;min-width:0}.mobile-cell-label{display:block!important;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.overview-grid{gap:12px}.credential-reset{grid-template-columns:38px minmax(0,1fr) 42px}.credential-reset>.icon-text{grid-column:1 / -1;width:100%}.customer-topbar{padding:0 14px}.customer-main{padding:14px}.customer-metrics{grid-template-columns:1fr}.customer-hero-actions .primary-button{width:100%}.customer-config-card{grid-template-columns:1fr auto}.customer-config-card select,.customer-config-card .action-cluster{grid-column:span 2}.plan-grid{grid-template-columns:1fr}}@media(max-width:560px){.topbar{grid-template-columns:1fr auto}.topbar.compact{grid-template-columns:1fr}.workspace-tabs{width:100%;overflow-x:auto}.workspace-tabs button{flex:1 1 auto}.operator{display:none}.metric-card{min-height:92px}.provider-row{grid-template-columns:24px minmax(0,1fr) auto}.provider-row>span{display:none}.job-row{grid-template-columns:1fr auto}.job-row .progress,.job-row>span:last-child{display:none}.customer-topbar{grid-template-columns:minmax(0,1fr) auto}.compact-link{display:none}.logout-button{width:42px;padding:0;font-size:0}}@media(max-width:1180px){.lab-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lab-filter-submit{width:100%}}@media(max-width:620px){.lab-filter-grid{grid-template-columns:1fr}.lab-queue-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.customers-workspace .panel-title-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.customers-workspace .panel-title-actions .panel-context,.customers-workspace .panel-title-actions .secondary-button:first-of-type{grid-column:1 / -1}.customers-workspace .panel-title-actions .compact-button{width:100%;min-height:36px;white-space:normal}.detail-drawer{inset:0;width:100%;height:100dvh;padding:14px;border-left:0}.detail-drawer .drawer-title{position:sticky;top:-14px;z-index:2;margin:-14px -14px 0;padding:14px;background:#fff}.detail-drawer .drawer-summary,.drawer-finance-form{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer-finance-form .drawer-finance-reason,.drawer-finance-form .primary-button{grid-column:1 / -1;width:100%}.lab-event-header{align-items:stretch;flex-direction:column}.lab-event-header .icon-text{width:100%}}.app-platform strong{display:block;margin-bottom:4px}.app-platform ul{list-style:none;padding:0;margin:0}.app-platform li{padding:2px 0}.app-platform a{color:var(--accent);text-decoration:none}.app-platform a:hover{text-decoration:underline}.customer-portal{min-height:100vh;color:var(--ink);background:var(--bg)}.customer-portal .customer-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;min-height:60px;padding:0 22px;background:#fffffff5;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.customer-portal .brand-mark{width:32px;height:32px;color:#fff;background:var(--blue);border-radius:8px}.customer-portal .customer-brand{display:flex;align-items:center;min-width:0;gap:10px}.customer-portal .customer-brand strong,.customer-portal .customer-brand span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-portal .customer-brand strong{color:var(--ink);font-size:14px}.customer-portal .customer-brand span,.customer-user-label{color:var(--muted);font-size:12px}.customer-nav{display:flex;align-items:center;gap:2px;min-width:0}.customer-nav a{display:inline-flex;align-items:center;min-height:32px;padding:0 10px;color:var(--muted);border-radius:8px;font-size:12px;font-weight:800;text-decoration:none}.customer-nav a:hover,.customer-nav a.active{color:#244aa5;background:#eef4ff}.customer-user-label{overflow:hidden;max-width:220px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.customer-account-links{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.customer-portal .staff-link{flex:0 0 auto;justify-self:end;color:#3157b4}.customer-portal .logout-button{width:auto;min-height:34px;padding:0 10px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:8px}.customer-portal .customer-main{display:grid;gap:14px;max-width:1280px;margin:0 auto;padding:18px 22px 32px}.customer-commandbar{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:16px 18px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 40px #25375812}.customer-command-title{display:flex;align-items:center;min-width:0;gap:12px}.customer-page-icon{display:grid;flex:0 0 auto;width:42px;height:42px;place-items:center;color:#244aa5;background:#eef4ff;border-radius:8px}.customer-command-title span,.customer-command-title p,.customer-command-meta span{color:var(--muted);font-size:12px}.customer-command-title span{font-weight:900;text-transform:uppercase}.customer-command-title h1{margin:1px 0 2px;color:var(--ink);font-size:22px;line-height:1.1}.customer-command-title p{margin:0;line-height:1.35}.customer-command-meta{display:flex;align-items:center;justify-content:flex-end;min-width:180px;gap:10px;text-align:right}.customer-portal .customer-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.customer-portal .metric-card{min-height:82px;padding:13px 14px;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:none}.customer-portal .metric-card strong{color:var(--ink);font-size:22px}.customer-portal .metric-card span,.customer-portal .metric-card em{color:var(--muted);font-size:12px}.customer-portal .metric-icon{width:34px;height:34px;border-radius:8px}.customer-portal .metric-icon.violet{color:#244aa5;background:#eef4ff}.customer-portal .customer-grid{display:grid;grid-template-columns:minmax(0,1fr) 336px;gap:14px;align-items:start}.customer-portal .panel{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 40px #25375812}.customer-primary-panel,.customer-secondary-panel{grid-column:1}.customer-side-stack{position:sticky;top:76px;display:grid;grid-column:2;grid-row:1 / span 3;gap:14px;align-content:start;min-width:0}.customer-portal .panel-title{min-height:52px;padding:0 16px;border-bottom:1px solid var(--line)}.customer-portal .panel-title h2{color:var(--ink);font-size:15px}.customer-portal .panel-context{min-height:28px;padding:0 9px;color:var(--muted);background:var(--surface-strong);border:1px solid var(--line);border-radius:8px}.customer-payment-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(150px,.7fr) auto;align-items:end;gap:12px;padding:14px 16px;background:var(--surface-strong);border-bottom:1px solid var(--line)}.customer-subscription-summary{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) auto;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line);background:#fbfcfe}.customer-subscription-summary>div{display:grid;gap:4px}.customer-subscription-summary span{color:var(--muted);font-size:11px}.customer-subscription-summary strong{color:var(--ink);font-size:13px}.customer-plan-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);background:var(--surface)}.customer-plan-catalog-group{min-width:0;padding:14px 16px;border-right:1px solid var(--line)}.customer-plan-catalog-group:last-child{border-right:0}.customer-plan-catalog-group header{display:grid;gap:3px;min-height:44px}.customer-plan-catalog-group header strong{color:var(--ink);font-size:13px}.customer-plan-catalog-group header span{color:var(--muted);font-size:11px;line-height:1.35}.customer-plan-catalog-rows{display:grid;gap:0;margin-top:9px;border-top:1px solid var(--line)}.customer-plan-catalog-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;min-width:0;padding:8px 0;border-bottom:1px solid var(--line)}.customer-plan-catalog-row:last-child{border-bottom:0}.customer-plan-catalog-main{display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 8px;min-width:0}.customer-plan-catalog-main>span{min-width:0;flex:1 1 80px;color:var(--ink);font-size:12px}.customer-plan-catalog-main>strong{flex:0 0 auto;color:var(--ink);font-size:12px}.customer-plan-catalog-main>em{width:100%;color:#2f6b45;font-size:10px;font-style:normal;font-weight:800}.customer-plan-checkout{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-left:auto}.customer-method-picker{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.customer-method-picker button{padding:5px 10px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink);font-size:11px;font-weight:700;cursor:pointer}.customer-method-picker button.selected{border-color:var(--accent);color:var(--accent);background:#3157b414}.customer-method-picker button:disabled{opacity:.45;cursor:not-allowed}.customer-payment-return{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 14px;border:1px solid #1d5f9e;border-radius:10px;background:#1d5f9e14;color:var(--ink);font-size:13px}.customer-payment-return button{border:0;background:transparent;color:var(--muted);cursor:pointer;padding:2px}.customer-payment-form label{display:grid;gap:6px;min-width:0}.customer-payment-form label>span{color:var(--muted);font-size:11px;font-weight:800}.customer-payment-form select,.customer-payment-form input{width:100%;min-width:0}.customer-payment-form .primary-button{width:auto;margin:0;white-space:nowrap}.customer-payment-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border-bottom:1px solid var(--line)}.customer-payment-result>div{min-width:0}.customer-payment-result strong,.customer-payment-result span{display:block;min-width:0}.customer-payment-result span{margin-top:3px;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-payment-result .secondary-button{width:auto;flex:0 0 auto}.customer-payment-result.error{justify-content:flex-start;color:#a32727;background:#fff7f7}.customer-payment-history>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:12px;min-height:44px;padding:8px 16px;border-bottom:1px solid var(--line)}.customer-payment-history>div:last-child{border-bottom:0}.customer-payment-history span{min-width:0;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.customer-payment-history strong{font-size:13px}.customer-payment-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.customer-payment-actions .icon-button{width:32px;height:32px;min-height:32px}.customer-issue-form{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1fr) auto;align-items:center;gap:12px;padding:12px 16px;background:var(--surface-strong);border-bottom:1px solid var(--line)}.customer-access-alert,.customer-commercial-payment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid var(--line)}.customer-access-alert{color:#8a5a00;background:#fff8e7}.customer-access-alert>div,.customer-commercial-payment>div{display:grid;min-width:0;gap:3px}.customer-access-alert strong,.customer-commercial-payment strong{color:var(--ink);font-size:13px}.customer-access-alert span,.customer-commercial-payment span{color:var(--muted);font-size:12px;line-height:1.4}.customer-access-alert .secondary-button,.customer-commercial-payment .primary-button{flex:0 0 auto;text-decoration:none}.customer-issue-form strong,.customer-issue-form span{display:block}.customer-issue-form strong{color:var(--ink);font-size:13px}.customer-issue-form span{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.35}.customer-portal input,.customer-portal select{min-height:36px;padding:0 10px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:8px;font-size:13px}.customer-portal input:focus,.customer-portal select:focus{border-color:#7ea6ff;outline:3px solid rgba(49,87,180,.15)}.customer-portal .primary-button{width:auto;min-height:36px;margin:0;padding:0 12px;color:#fff;background:var(--blue);border:1px solid var(--blue);border-radius:8px;font-size:13px;font-weight:900}.customer-portal .primary-button:hover{background:#244aa5;border-color:#244aa5}.customer-empty-state{display:grid;justify-items:center;gap:7px;padding:34px 18px;color:var(--muted);text-align:center}.customer-empty-state svg{color:var(--blue)}.customer-empty-state strong{color:var(--ink);font-size:15px}.customer-empty-state span{max-width:420px;font-size:13px;line-height:1.45}.customer-legacy-devices{border-top:1px solid var(--line-strong)}.customer-device-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;background:#f8fafc;border-bottom:1px solid var(--line)}.customer-device-section-heading>div{display:grid;min-width:0;gap:3px}.customer-device-section-heading strong{color:var(--ink);font-size:13px}.customer-device-section-heading span,.customer-legacy-note{color:var(--muted);font-size:12px;line-height:1.4}.customer-legacy-note{padding:10px 12px;background:#f8fafc;border:1px solid var(--line);border-radius:6px}.customer-config-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-config-tools>label{display:grid;min-width:0;gap:6px}.customer-config-tools>label>span{color:var(--muted);font-size:11px;font-weight:800}.tg-key-table{display:grid}.tg-key-table-head{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,190px) 92px 190px;align-items:center;gap:12px;min-height:36px;padding:0 16px;color:var(--muted);background:#fbfcfe;border-bottom:1px solid var(--line);font-size:11px;font-weight:900;text-transform:uppercase}.tg-key-card{min-width:0;border-bottom:1px solid var(--line)}.tg-key-card:last-child{border-bottom:0}.tg-key-card.expanded{background:#fbfcfe}.tg-key-row{display:grid;grid-template-columns:minmax(240px,1fr) minmax(150px,190px) 92px 190px;align-items:center;gap:12px;min-height:58px;padding:10px 16px}.tg-key-main{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;min-width:0;color:inherit;background:transparent;border:0;text-align:left}.tg-key-main svg{color:var(--muted);transition:transform .16s ease}.tg-key-card.expanded .tg-key-main svg{transform:rotate(180deg)}.tg-key-main strong,.tg-key-main em,.tg-key-entry strong,.tg-key-entry span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tg-key-main strong{color:var(--ink);font-size:13px}.tg-key-main em,.tg-key-entry span{margin-top:3px;color:var(--muted);font-style:normal;font-size:11px}.tg-key-entry strong{color:#31415f;font-size:12px}.customer-portal .badge{justify-self:start;min-height:22px;padding:0 8px;border-radius:999px;font-size:11px;text-transform:none}.tg-key-row-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.customer-portal .secondary-button,.customer-portal .danger-button,.copy-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:0 10px;border-radius:8px;font-size:12px;font-weight:900;white-space:nowrap}.customer-portal .secondary-button.icon-only,.customer-portal .danger-button.icon-only{width:32px;min-width:32px;padding:0}.customer-portal .secondary-button{width:auto;color:#3157b4;background:#eef4ff;border:1px solid #cddcff}.customer-portal .secondary-button:hover{background:#e2ebff}.customer-portal .danger-button{color:#a33a3a;background:#fff3f2;border:1px solid #ffd4cf}.customer-portal .danger-button:hover{background:#ffe8e4}.tg-key-detail{display:grid;gap:12px;padding:12px 16px 16px 42px;background:#fbfcfe;border-top:1px solid var(--line)}.key-loading{padding:4px 0;color:var(--muted);font-size:12px}.key-readiness{display:grid;gap:3px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:12px}.key-readiness strong{color:var(--ink)}.key-readiness span,.protocol-hint{color:var(--muted);font-size:12px;line-height:1.45}.key-readiness.pending{background:#fffaf0;border-color:#ffe0a3}.key-readiness.failed{background:#fff3f2;border-color:#ffd4cf}.key-readiness.disabled,.key-readiness.deleted,.key-readiness.revoked{background:#f3f6fa;border-color:var(--line)}.key-entry-tools{display:grid;grid-template-columns:minmax(180px,240px) minmax(170px,220px) repeat(2,auto);align-items:center;gap:8px}.key-route-section{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff}.key-section-heading{display:grid;gap:3px}.key-section-heading strong{color:var(--ink);font-size:12px}.key-section-heading span{color:var(--muted);font-size:11px;line-height:1.4}.key-maintenance-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.route-auto-note{display:inline-flex;align-items:center;min-height:36px;padding:0 10px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:8px;font-size:12px}.key-protocol-block{display:grid;gap:6px;min-width:0;margin:0}.key-protocol-label{color:var(--ink);font-size:11px;font-weight:900;text-transform:uppercase}.key-value-row{display:grid;grid-template-columns:minmax(0,1fr) repeat(3,auto);gap:8px;align-items:start;min-width:0}.key-value{display:block;min-width:0;max-height:112px;overflow:auto;padding:9px 10px;color:#31415f;background:var(--surface);border:1px solid var(--line);border-radius:8px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:11px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}.key-secret-placeholder{display:flex;align-items:center;min-height:36px;padding:0 10px;color:var(--muted);background:var(--surface-strong);border:1px dashed var(--line-strong);border-radius:8px;font-size:12px}.copy-button{color:#31415f;background:var(--surface);border:1px solid var(--line-strong)}.copy-button:hover{color:var(--ink);background:var(--surface-strong)}.onexray-builder{display:grid;gap:8px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.onexray-builder-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.onexray-builder-head span,.onexray-actions span{color:var(--muted);font-size:11px}.onexray-builder textarea{width:100%;min-height:74px;resize:vertical;padding:9px 10px;color:var(--ink);background:#fff;border:1px solid var(--line-strong);border-radius:8px;font:inherit;font-size:12px;line-height:1.4}.onexray-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.key-qr-preview{display:grid;justify-items:start;gap:8px;padding:10px;background:var(--surface);border:1px solid var(--line);border-radius:8px}.key-qr-preview img{width:min(220px,100%);aspect-ratio:1;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:8px}.customer-portal .customer-config-card{display:grid;grid-template-columns:minmax(220px,1fr) auto 160px 100px;align-items:center;gap:10px;min-height:58px;padding:10px 16px;border-bottom:1px solid var(--line);font-size:12px}.customer-portal .customer-config-card:last-child{border-bottom:0}.customer-portal .customer-config-card strong,.customer-portal .customer-config-card span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-portal .customer-config-card span{margin-top:3px;color:var(--muted)}.customer-portal .side-form{position:static;gap:12px;padding-bottom:14px}.customer-portal .field{padding:0 16px}.customer-portal .field span{color:var(--muted);font-size:12px}.customer-portal .security-form{display:grid;gap:12px;padding:14px 0}.customer-portal .security-form .auth-error{margin:0 16px}.customer-portal .instructions-content{display:grid;gap:14px;padding:14px 16px;color:#31415f;font-size:13px;line-height:1.5}.customer-portal .instructions-content h3{margin:0 0 7px;color:var(--ink);font-size:13px;font-weight:900}.customer-portal .instructions-content ol{margin:0;padding-left:18px}.customer-portal .instructions-content li{margin-bottom:5px}.customer-portal .protocol-card{display:grid;gap:4px;margin:0 0 7px;padding:10px;background:var(--surface-strong);border:1px solid var(--line);border-radius:8px}.customer-portal .protocol-card span,.customer-portal .app-platform li{color:var(--muted);font-size:12px}.customer-portal .app-platform{margin-bottom:10px}.customer-portal .app-platform ul{margin:6px 0 0;padding-left:18px}.customer-portal .app-platform a{color:#3157b4;font-weight:800;text-decoration:none}.customer-advanced-help{padding:10px;background:var(--surface-strong);border:1px solid var(--line);border-radius:8px}.customer-advanced-help summary{color:var(--ink);font-size:12px;font-weight:900;cursor:pointer}.customer-advanced-help p{margin:8px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}@media(max-width:1180px){.customer-portal .customer-grid{grid-template-columns:1fr}.customer-side-stack,.customer-primary-panel,.customer-secondary-panel{position:static;grid-column:auto;grid-row:auto}}@media(max-width:980px){.customer-portal .customer-topbar{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:0 14px}.customer-account-links,.customer-user-label,.customer-portal .compact-link{display:none}.customer-nav{position:fixed;right:0;bottom:0;left:0;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:6px max(8px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#fffffffa;border-top:1px solid var(--line);box-shadow:0 -10px 30px #1d25361a}.customer-nav a{justify-content:center;min-width:0;padding:0 3px;font-size:10px;text-align:center}.customer-portal .customer-main{padding:14px 12px 82px}.customer-commandbar{align-items:flex-start;flex-direction:column}.customer-command-meta{justify-content:flex-start;min-width:0;text-align:left}.customer-portal .customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-plan-catalog{grid-template-columns:1fr}.customer-plan-catalog-group{border-right:0;border-bottom:1px solid var(--line)}.customer-plan-catalog-group:last-child{border-bottom:0}.customer-issue-form,.key-value-row,.customer-config-tools{grid-template-columns:1fr}.customer-device-section-heading{align-items:flex-start;flex-direction:column}.customer-access-alert,.customer-commercial-payment{align-items:stretch;flex-direction:column}.customer-access-alert .secondary-button,.customer-commercial-payment .primary-button,.copy-button,.onexray-actions .secondary-button,.onexray-actions .copy-button,.key-entry-tools .secondary-button,.customer-issue-form .primary-button,.customer-issue-form .secondary-button,.customer-payment-form .primary-button,.customer-payment-result .secondary-button{width:100%}.customer-payment-result{align-items:stretch;flex-direction:column}.customer-payment-history span{overflow-wrap:anywhere;white-space:normal}.customer-payment-history>div{grid-template-columns:minmax(0,1fr) auto auto}.customer-payment-actions{grid-column:1 / -1;justify-content:flex-start}.key-entry-tools,.customer-subscription-summary{grid-template-columns:1fr}.tg-key-table-head{display:none}.tg-key-row{grid-template-columns:1fr;align-items:start;gap:8px}.tg-key-row-actions{justify-content:flex-start}.tg-key-detail{padding-left:16px}}@media(max-width:560px){.customer-portal .customer-metrics{grid-template-columns:1fr}.customer-command-title{align-items:flex-start}.customer-command-title h1{font-size:20px}.customer-page-icon{width:38px;height:38px}.tg-key-row-actions{display:flex;width:auto}.customer-portal .secondary-button:not(.icon-only),.customer-portal .danger-button:not(.icon-only){width:100%}.customer-portal .customer-config-card{grid-template-columns:1fr}}
