:root{--ink:#172033;--muted:#667085;--line:#e4e7ec;--bg:#f5f7fb;--panel:#fff;--primary:#5d3fd3;--primary2:#38258f;--success:#087a55;--danger:#b42318;--warning:#9a6700}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.topbar{height:70px;background:#201747;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1080px)/2));box-shadow:0 4px 18px #20174725}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:linear-gradient(145deg,#8e75ff,#5d3fd3);font-size:21px}.topbar nav{display:flex;align-items:center;gap:20px;font-size:14px}.container{width:min(1080px,calc(100% - 32px));margin:40px auto 70px}.card{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:0 12px 35px rgba(16,24,40,.06)}.auth-card{width:min(480px,100%);margin:70px auto}.install-card{width:min(850px,100%);margin:25px auto}h1{font-size:clamp(28px,4vw,42px);line-height:1.15;margin:0 0 12px}h2{font-size:22px;margin:0 0 16px}.lead{color:var(--muted);font-size:18px;margin:0 0 26px}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800;color:var(--primary);margin-bottom:8px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.field{margin-bottom:17px}.field label{display:block;font-weight:700;font-size:14px;margin-bottom:6px}.field small{display:block;color:var(--muted);margin-top:5px}.field input,.field select{width:100%;padding:12px 13px;border:1px solid #cfd4dc;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.field input:focus,.field select:focus{outline:3px solid #5d3fd324;border-color:var(--primary)}button,.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:var(--primary);color:#fff;padding:12px 18px;font:700 15px inherit;text-decoration:none;cursor:pointer}button:hover,.button:hover{background:var(--primary2)}.button-secondary{background:#eef0f5;color:var(--ink)}.link-button{background:none;padding:0;color:#fff;text-decoration:underline}.inline-form{display:inline}.notice{border-radius:12px;padding:13px 15px;margin:0 0 20px;border:1px solid}.notice-success{color:var(--success);background:#ecfdf3;border-color:#abefc6}.notice-error{color:var(--danger);background:#fef3f2;border-color:#fecdca}.notice-warning{color:var(--warning);background:#fffaeb;border-color:#fedf89}.steps{display:flex;gap:10px;margin:22px 0}.step{flex:1;padding:10px;border-radius:10px;background:#eef0f5;color:var(--muted);text-align:center;font-size:13px;font-weight:700}.step.active{background:#ece8ff;color:var(--primary2)}.stat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.stat strong{display:block;font-size:28px}.stat span{color:var(--muted)}.status{display:inline-flex;align-items:center;gap:7px;color:var(--success);font-weight:700}.dot{width:9px;height:9px;border-radius:50%;background:#12b76a}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.checklist{padding:0;list-style:none}.checklist li{padding:9px 0;border-bottom:1px solid var(--line)}.checklist li:before{content:'✓';color:var(--success);font-weight:900;margin-right:9px}code{background:#f0eef9;padding:2px 6px;border-radius:5px}footer{text-align:center;color:var(--muted);padding:25px;font-size:13px}@media(max-width:720px){.grid,.grid-3{grid-template-columns:1fr}.topbar nav span{display:none}.container{margin-top:24px}.card{padding:21px}.steps{display:grid;grid-template-columns:1fr 1fr}}

html{scroll-behavior:smooth}.topbar{height:auto;min-height:70px;padding-top:12px;padding-bottom:12px}.topbar nav{gap:18px}.topbar nav a{color:#fff;text-decoration:none}.section-card{margin:20px 0;scroll-margin-top:20px}h3{margin-top:24px}.muted{color:var(--muted)}.field textarea,.tool-details input{width:100%;padding:12px 13px;border:1px solid #cfd4dc;border-radius:10px;background:#fff;color:var(--ink);font:inherit}.field textarea{resize:vertical}.field.compact{max-width:240px;margin:18px 0}.button-danger{background:#fff0ee;color:var(--danger);padding:8px 11px}.page-head,.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.back,.text-link{color:var(--primary2);font-weight:700;text-decoration:none}.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#eef0f5;color:var(--muted);font-size:12px;font-weight:800}.badge-success{background:#dcfae6;color:var(--success)}.table-card{padding:0;overflow:hidden}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:16px 18px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#fafafa;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em}td strong,td small,small{display:block}.empty{text-align:center;padding:55px 25px}.tabs{position:sticky;top:0;z-index:5;display:flex;gap:8px;overflow:auto;background:var(--bg);padding:10px 0}.tabs a{white-space:nowrap;color:var(--ink);text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px;font-weight:700;font-size:13px}.check{display:flex;align-items:flex-start;gap:9px;margin:10px 0}.check input{margin-top:5px}.option{padding:15px;border:1px solid var(--line);border-radius:12px}.option span,.option small{display:block}.contact{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 0;border-bottom:1px solid var(--line)}.contact strong{margin-right:8px}.tool-group{border:0;padding:0;margin:28px 0}.tool-group legend{font-weight:800;font-size:18px;margin-bottom:12px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tool-card{border:1px solid var(--line);border-radius:13px;padding:14px;background:#fafafa}.tool-card.selected{border-color:#a895ff;background:#f7f5ff}.tool-choice{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.tool-choice span,.tool-choice small{display:block}.tool-details{display:none;gap:8px;margin-top:13px}.tool-card.selected .tool-details{display:grid}.tool-details input{padding:9px 10px}.tool-details .check{font-size:13px}dialog{width:min(760px,calc(100% - 28px));border:0;border-radius:18px;padding:0;box-shadow:0 25px 80px #10182855}dialog::backdrop{background:#10182899}.dialog-card{padding:26px}.dialog-head{display:flex;justify-content:space-between;align-items:center}.close{background:transparent;color:var(--ink);font-size:25px;padding:4px 9px}
@media(max-width:760px){.tool-grid{grid-template-columns:1fr}.topbar{align-items:flex-start}.topbar nav{flex-wrap:wrap;justify-content:flex-end}.table-card{overflow:auto}.page-head,.section-head{align-items:stretch;flex-direction:column}.contact{align-items:flex-start;flex-direction:column}.tabs{top:0}}
.diagnostic-stats{margin:22px 0}.filter-row{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap}.filter-row .field{margin:0;min-width:190px}.filter-row .grow{flex:1}.diagnostic-columns{align-items:start}.diagnostic-details{margin:0}.diagnostic-details>div{display:grid;grid-template-columns:180px 1fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.diagnostic-details dt{font-weight:800}.diagnostic-details dd{margin:0}.tag-list{display:flex;gap:8px;flex-wrap:wrap;list-style:none;padding:0}.tag-list li{padding:6px 10px;border-radius:999px;background:#f0edff;color:var(--primary2);font-size:13px;font-weight:800}.declared-note{padding:14px;border-left:4px solid var(--primary);background:#f7f5ff}.auto-reading{background:#faf9ff}.reading-row{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line)}.reading-row strong{text-align:right}.diagnostic-analysis textarea{min-height:92px}.compact-list{margin-bottom:0}.dependency-high{background:#fee4e2;color:#b42318}.dependency-moderate{background:#fef0c7;color:#93370d}.dependency-low{background:#dcfae6;color:#087a55}.diagnostic-new{background:#e0f2fe;color:#075985}.diagnostic-reviewing{background:#fef0c7;color:#93370d}.diagnostic-summary_ready{background:#e0e7ff;color:#3730a3}.diagnostic-sent,.diagnostic-converted{background:#dcfae6;color:#087a55}.diagnostic-closed{background:#eef0f5;color:#667085}@media(max-width:760px){.filter-row{align-items:stretch;flex-direction:column}.filter-row .field,.filter-row button,.filter-row .button{width:100%}.diagnostic-details>div{grid-template-columns:1fr;gap:3px}.reading-row{align-items:flex-start;flex-direction:column}.reading-row strong{text-align:left}}
.diagnostic-bulk-form{margin:0}.diagnostic-delete-help{margin:0;padding:0 24px 16px;color:var(--muted);font-size:13px}.diagnostic-select-cell{width:44px;text-align:center!important}.diagnostic-select-cell input{width:18px;height:18px;accent-color:var(--primary);cursor:pointer}.diagnostic-row-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.diagnostic-row-actions form{margin:0}.diagnostic-row-actions .button-danger{font-size:12px}.button-danger:hover{background:var(--danger);color:#fff}@media(max-width:760px){.diagnostic-row-actions{align-items:stretch;flex-direction:column}.diagnostic-row-actions .button-danger{width:100%}.diagnostic-delete-help{padding:0 20px 14px}}
.watch-stats{margin:20px 0}.source-list{margin-top:15px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid var(--line)}.source-row:first-child{border-top:0}.compact-actions{margin-top:0;align-items:center}.compact-actions form{display:flex;gap:8px;flex-wrap:wrap}.source-excerpt{margin:22px 0;padding:18px;border-left:4px solid var(--primary);background:#f7f5ff;border-radius:0 12px 12px 0;max-height:360px;overflow:auto}.severity-critical{background:#fee4e2;color:#b42318}.severity-high{background:#ffead5;color:#b54708}.severity-medium{background:#fef0c7;color:#93370d}.severity-low{background:#e0f2fe;color:#075985}.severity-info{background:#e0e7ff;color:#3730a3}.severity-unqualified{background:#eef0f5;color:var(--muted)}button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:760px){.source-row{align-items:flex-start;flex-direction:column}}
.decision-list{display:grid;gap:18px;margin-top:22px}.decision-card{padding:22px}.decision-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.decision-head h2{display:flex;gap:9px;align-items:center}.match-reason{display:flex;gap:8px;flex-direction:column;background:#f7f5ff;border:1px solid #ded7ff;border-radius:12px;padding:13px 15px;margin:16px 0}.sticky-actions{position:sticky;bottom:15px;background:#ffffffee;border:1px solid var(--line);padding:12px;border-radius:14px;box-shadow:0 10px 30px #10182822}@media(max-width:760px){.decision-head{flex-direction:column}}
.button-secondary{background:#e8e3ff!important;color:#261b5a!important;border:1px solid #9b87ef!important}.button-secondary:hover{background:#49339f!important;color:#fff!important;border-color:#49339f!important}.notice{border:2px solid;font-weight:700;box-shadow:0 5px 18px rgba(16,24,40,.10)}.notice a{color:inherit;text-decoration:underline;font-weight:900}.notice-success{color:#fff;background:#087a55;border-color:#065f46}.notice-error{color:#fff;background:#b42318;border-color:#7a271a}.notice-warning{color:#332100;background:#fdb022;border-color:#b54708}.preview-box{margin:22px 0;border:2px solid #c8bdf5;border-radius:16px;overflow:hidden;background:#fff}.preview-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;background:#eeeaff}.preview-head strong,.preview-head small{display:block}.source-frame{display:block;width:100%;height:620px;border:0;background:#fff}.preview-help{padding:11px 16px;margin:0;background:#fff8e5;color:#5f4200;border-top:1px solid #f0d58a}.feed-preview-list{display:grid;gap:14px;margin-top:20px}.feed-preview-item{border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}.feed-preview-item h2{font-size:18px;margin-bottom:7px}.feed-preview-item p{margin:10px 0;color:var(--muted)}.source-explanation{margin:16px 0 6px;padding:15px;border-radius:12px;background:#f7f5ff;border:1px solid #d7cff8}.source-explanation strong{display:block;margin-bottom:5px}@media(max-width:760px){.source-frame{height:500px}.preview-head{align-items:flex-start;flex-direction:column}}
.source-card{display:block;padding:22px 0}.source-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:15px}.source-card-head strong{font-size:18px}.source-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:820px}.source-actions-grid>.button,.source-action-form>button{width:100%}.source-action-form{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.source-meta{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.source-meta a{display:block;color:var(--primary2);font-weight:700;overflow-wrap:anywhere;word-break:break-word}.source-meta small{margin-top:7px;color:var(--muted)}.source-open-box{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0;padding:18px;border:2px solid #c8bdf5;border-radius:14px;background:#f7f5ff}.source-open-box strong,.source-open-box small{display:block}.source-open-box small{margin-top:5px;color:var(--muted)}@media(max-width:760px){.source-actions-grid,.source-action-form{grid-template-columns:1fr}.source-card-head,.source-open-box{align-items:flex-start;flex-direction:column}.source-action-form{grid-column:auto}.source-open-box .button{width:100%}}
.communication-list{display:grid;gap:0}.communication-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 0;border-top:1px solid var(--line)}.communication-row:first-child{border-top:0}.communication-row strong,.communication-row small{display:block}.delivery-summary{display:grid;gap:10px;margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.delivery-summary>div{display:grid;grid-template-columns:130px 1fr;gap:12px}.email-preview{margin:22px 0;padding:20px;background:#eef0f5;border:2px solid #cfd4dc;border-radius:16px;overflow:auto}.email-preview>div{background:#fff}.send-confirm{margin-top:22px}.send-confirm .option{border:2px solid #f79009;background:#fffaeb}@media(max-width:760px){.communication-row{align-items:flex-start;flex-direction:column}.communication-row .button{width:100%}.delivery-summary>div{grid-template-columns:1fr;gap:2px}.email-preview{padding:8px}}
.executive-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:22px;padding:28px;border-radius:20px;background:linear-gradient(135deg,#201747,#49339f);color:#fff}.executive-hero .eyebrow,.executive-hero .lead{color:#e8e3ff}.executive-hero .lead{margin-bottom:0}.executive-stats{margin:20px 0 34px}.attention-stat{border:2px solid #f79009}.company-switcher{display:flex;align-items:center;gap:12px;margin:16px 0}.company-switcher label{font-weight:800}.company-switcher select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.executive-section{margin:34px 0}.executive-alerts,.help-request-list{display:grid;gap:18px;margin-top:16px}.executive-alert{scroll-margin-top:20px}.executive-alert h3{font-size:24px;margin:15px 0}.executive-alert-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.executive-alert-head>div{display:flex;gap:7px;flex-wrap:wrap}.executive-block{margin:15px 0}.executive-block strong,.executive-action strong{display:block;margin-bottom:5px}.executive-block p,.executive-action p{margin:0}.executive-action{margin:18px 0;padding:17px;border-left:5px solid var(--primary);border-radius:0 12px 12px 0;background:#f0edff}.progress-pending{background:#ffead5;color:#b54708}.progress-in_progress{background:#e0f2fe;color:#075985}.progress-completed{background:#dcfae6;color:#087a55}.progress-help_requested{background:#fee4e2;color:#b42318}.progress-form{margin-top:22px;padding-top:20px;border-top:1px solid var(--line)}.button-help{background:#b42318}.button-help:hover{background:#7a271a}.help-state{margin:15px 0;padding:11px 13px;border-radius:10px;background:#fff4ed;color:#8a2c0d}.help-response{margin:15px 0;padding:14px;border-radius:10px;background:#ecfdf3;border:1px solid #abefc6;color:#065f46}.help-response p{margin:5px 0 0}.executive-empty{padding:20px;color:var(--muted);box-shadow:none}.help-form-card{max-width:780px;margin:20px auto}.help-request-card{scroll-margin-top:20px}.help-message{margin:18px 0;padding:18px;border-radius:12px;background:#f7f5ff;border-left:4px solid var(--primary)}.help-new{background:#fee4e2;color:#b42318}.help-in_progress{background:#e0f2fe;color:#075985}.help-resolved{background:#dcfae6;color:#087a55}@media(max-width:760px){.executive-hero,.executive-alert-head{align-items:flex-start;flex-direction:column}.executive-hero .button{width:100%}.company-switcher{align-items:stretch;flex-direction:column}.progress-form .actions .button,.progress-form .actions button{width:100%}}
.executive-help-history{margin:22px 0}.help-history-list article{padding:16px 0;border-top:1px solid var(--line)}.help-history-list article:first-child{border-top:0}.help-history-list article>p{margin:8px 0;color:var(--muted)}
.guide-flow{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:24px 0;padding:16px;border-radius:14px;background:#201747;color:#fff}.guide-flow span{font-weight:800}.guide-flow i{color:#b8a9ff;font-style:normal}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.guide-card{box-shadow:none}.guide-card h2{color:var(--primary2)}.guide-card p{margin:10px 0}.guide-card ul{padding-left:20px}.guide-card .text-link{display:inline-block;margin-top:10px}.check-ok{background:#dcfae6;color:#087a55}.check-warning{background:#fef0c7;color:#93370d}.check-error{background:#fee4e2;color:#b42318}.demo-steps{display:grid;gap:16px;margin-top:24px}.demo-step{display:flex;align-items:center;justify-content:space-between;gap:24px}.demo-step h2{margin:9px 0}.demo-step p{margin:0 0 5px}.demo-step small{color:var(--muted)}.numbered{padding-left:24px}.numbered li{padding:7px 0}.backup-list{list-style:none;padding:0}.backup-list li{display:flex;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid var(--line)}.backup-list span{color:var(--muted)}@media(max-width:760px){.guide-grid{grid-template-columns:1fr}.demo-step{align-items:flex-start;flex-direction:column}.demo-step .button{width:100%}.backup-list li{align-items:flex-start;flex-direction:column;gap:2px}}
.client-intro{margin:22px 0}.client-intro h3{margin:10px 0 5px}.client-intro p{margin:0}.role-mark{display:inline-block;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.role-admin{background:#e8e3ff;color:#38258f}.role-analyst{background:#e0f2fe;color:#075985}.role-client{background:#ecfdf3;color:#087a55}.role-executive{background:#ffead5;color:#9a3412}.client-journey{display:grid;gap:16px;margin:22px 0}.client-step{display:grid;grid-template-columns:48px 1fr;gap:18px;box-shadow:none}.client-step h2{margin-bottom:8px}.client-step p{margin:8px 0}.step-number{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#201747;color:#fff;font-size:20px;font-weight:900}.warning-list li:before{content:'!';display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#fdb022;color:#332100}.role-definitions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.role-definitions .card{box-shadow:none}.role-definitions h2{margin:12px 0 6px}.role-definitions p{margin:0}.responsibility-table{margin:22px 0}.responsibility-table th:not(:first-child),.responsibility-table td:not(:first-child){text-align:center}.responsibility{display:inline-block;border-radius:8px;padding:5px 8px;font-size:12px;font-weight:900}.responsibility.owner{background:#e8e3ff;color:#38258f}.responsibility.contributor{background:#ecfdf3;color:#087a55}.responsibility.executive{background:#ffead5;color:#9a3412}.responsibility.shared{background:#e0f2fe;color:#075985}.role-rule{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.role-rule p{margin:0;padding:14px;border-radius:12px;background:#f7f5ff}.executive-hero-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.executive-hero-actions .actions{margin-top:0}@media(max-width:760px){.role-definitions,.role-rule{grid-template-columns:1fr}.client-step{grid-template-columns:1fr}.responsibility-table{overflow:auto}.executive-hero-actions{width:100%;justify-content:stretch}.executive-hero-actions .button{width:100%}}@media print{body{background:#fff}.print-hidden,.topbar,footer{display:none!important}.container{width:100%;margin:0}.card{box-shadow:none;break-inside:avoid}.responsibility-table{overflow:visible}.responsibility-table table{font-size:11px}.responsibility-table th,.responsibility-table td{padding:8px}.client-journey{gap:9px}}
.sales-stats{margin:22px 0}.sales-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.table-title{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 24px 10px}.table-title h2{margin:0}.table-title p{margin:4px 0 0}.compact-empty{padding:28px}.sales-columns{align-items:start}.company-link-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.company-link-grid .option{display:flex;align-items:flex-start;gap:9px}.company-link-grid .option span,.company-link-grid .option small{display:block}.commercial-list{display:grid}.commercial-list>a,.commercial-list>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}.commercial-list>a:first-child,.commercial-list>div:first-child{border-top:1px solid var(--line)}.commercial-list>a:hover{color:var(--primary2);background:#faf9ff}.commercial-list span,.commercial-list small{display:block}.commercial-list small{color:var(--muted);margin-top:3px}.subsection-title{margin-top:32px}.commercial-draft{background:#eef0f5;color:#475467}.commercial-sent,.commercial-issued{background:#e0f2fe;color:#075985}.commercial-accepted,.commercial-active,.commercial-paid{background:#dcfae6;color:#087a55}.commercial-refused,.commercial-cancelled,.commercial-overdue{background:#fee4e2;color:#b42318}.commercial-suspended,.commercial-expired,.commercial-ended{background:#fef0c7;color:#93370d}.commercial-lines{display:grid;gap:12px}.commercial-line{display:grid;grid-template-columns:minmax(250px,2fr) repeat(3,minmax(100px,.65fr)) 36px;gap:10px;align-items:end;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafafa}.commercial-line .field{margin:0}.line-remove{width:36px;height:42px;padding:0;background:#fee4e2;color:#b42318}.commercial-document{max-width:900px;margin:20px auto;padding:44px}.document-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:24px;border-bottom:2px solid var(--ink)}.document-head strong{font-size:24px}.document-head span,.document-head small{display:block}.document-customer{display:flex;flex-direction:column;align-items:flex-end;margin:28px 0 34px}.document-lines{margin:20px 0}.document-lines th:not(:first-child),.document-lines td:not(:first-child){text-align:right}.document-totals{width:min(380px,100%);margin:24px 0 24px auto}.document-totals p{display:flex;justify-content:space-between;gap:20px;margin:0;padding:9px 0;border-bottom:1px solid var(--line)}.document-totals .grand-total{font-size:20px;border-bottom:2px solid var(--ink)}.document-note{padding:18px;border-radius:12px;background:#f7f5ff}.document-note p{margin:5px 0}.payment-form{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.commercial-client-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px;padding:28px;border-radius:20px;background:linear-gradient(135deg,#201747,#49339f);color:#fff}.commercial-client-hero .eyebrow,.commercial-client-hero .lead{color:#e8e3ff}.commercial-client-hero .lead{margin-bottom:0}.subscription-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.subscription-client-grid article{padding:20px;border:1px solid var(--line);border-radius:14px}.subscription-client-grid h3{margin:10px 0 4px}.subscription-client-grid p{margin:0;color:var(--muted)}.subscription-client-grid dl{display:grid;grid-template-columns:1fr 1fr;margin:18px 0}.subscription-client-grid dt,.subscription-client-grid dd{padding:7px 0;border-bottom:1px solid var(--line)}.subscription-client-grid dt{color:var(--muted)}.subscription-client-grid dd{text-align:right;margin:0;font-weight:700}.subscription-client-grid .subscription-options{padding:12px;border-radius:10px;background:#f7f5ff;color:var(--ink)}@media(max-width:900px){.commercial-line{grid-template-columns:1fr 1fr}.line-description{grid-column:1/-1}.line-remove{align-self:end}.subscription-client-grid{grid-template-columns:1fr}}@media(max-width:760px){.company-link-grid,.commercial-line{grid-template-columns:1fr}.commercial-list>a,.commercial-list>div,.commercial-client-hero,.document-head{align-items:flex-start;flex-direction:column}.commercial-document{padding:22px}.document-customer{align-items:flex-start}.document-lines{display:block;overflow:auto}.line-description{grid-column:auto}.commercial-line .line-remove{width:100%}}@media print{.commercial-document{max-width:none;margin:0;padding:0;border:0}.document-lines{font-size:12px}.document-lines th,.document-lines td{padding:9px}.commercial-document .badge{border:1px solid currentColor}}
