.seat-billing-dashboard{display:grid;gap:18px;padding:4px 0 30px}.seat-billing-hero{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:22px 24px;border:1px solid #d6e4f4;border-radius:19px;background:radial-gradient(circle at 88% 0,rgba(59,130,246,.18),transparent 34%),linear-gradient(145deg,#fff,#f4f8ff);box-shadow:0 15px 40px rgba(24,49,82,.07)}.seat-billing-hero>div{display:flex;gap:14px;align-items:center}.seat-billing-hero>div>span{display:grid;width:52px;height:52px;place-items:center;border-radius:15px;color:#2563eb;background:#dbeafe}.seat-billing-hero>div>span .icon{width:22px;height:22px}.seat-billing-hero .eyebrow{margin:0;color:#2563eb;font-size:8px;font-weight:850;text-transform:uppercase}.seat-billing-hero h2{margin:3px 0 0;color:#1d293b;font-size:20px}.seat-billing-hero p:last-child{margin:5px 0 0;color:#738298;font-size:9px}.seat-billing-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.seat-billing-kpis article{position:relative;overflow:hidden;padding:16px;border:1px solid #dce6f2;border-radius:15px;background:linear-gradient(145deg,#fff,#f8fbff);box-shadow:0 11px 29px rgba(24,49,82,.055)}.seat-billing-kpis article:before{position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#2563eb,#60a5fa);content:""}.seat-billing-kpis span,.seat-billing-kpis small{display:block;color:#7b8a9e;font-size:8px;font-weight:750}.seat-billing-kpis strong{display:block;margin:8px 0 4px;color:#243247;font-size:21px}.seat-usage-panel{padding:15px 17px;border:1px solid #dbe7f3;border-radius:14px;background:#fff}.seat-usage-panel>div:first-child{display:flex;justify-content:space-between;color:#43536a;font-size:9px}.seat-usage-track{height:8px;overflow:hidden;margin-top:9px;border-radius:999px;background:#e8eef5}.seat-usage-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#38bdf8,#10b981)}.seat-usage-panel p{margin:8px 0 0;color:#8190a3;font-size:8px}.seat-billing-actions-grid,.seat-billing-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.seat-action-card,.seat-billing-dashboard .billing-panel{overflow:hidden;padding:18px;border:1px solid #dce6f2;border-radius:17px;background:#fff;box-shadow:0 13px 34px rgba(24,49,82,.06)}.seat-action-heading{display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center;margin-bottom:15px}.seat-action-heading>span{display:grid;width:40px;height:40px;place-items:center;border-radius:12px;color:#2563eb;background:#dbeafe}.seat-action-heading>span.is-green{color:#047857;background:#d1fae5}.seat-action-heading .icon{width:17px;height:17px}.seat-action-heading h3{margin:0;color:#2a374a;font-size:12px}.seat-action-heading p{margin:3px 0 0;color:#8492a6;font-size:8px;line-height:1.4}.seat-action-card form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.seat-action-card .field-hint{font-size:7px}.seat-action-card .button{min-height:42px;white-space:nowrap}.seat-manual-note{display:flex;gap:8px;align-items:center;padding:12px;border:1px solid #fde68a;border-radius:11px;color:#92400e;background:#fffbeb;font-size:8px}.seat-manual-note .icon{width:15px}.seat-billing-dashboard .billing-panel{padding:0}.seat-billing-dashboard .billing-panel .report-section-header{margin:0;padding:15px 17px;border-bottom:1px solid #e8eef6}.seat-change-list{display:grid;padding:7px 14px 14px}.seat-change-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f7}.seat-change-list article:last-child{border-bottom:0}.seat-change-icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#2563eb;background:#dbeafe}.seat-change-icon.is-down{color:#7c3aed;background:#f3e8ff}.seat-change-icon .icon{width:14px;height:14px}.seat-change-list strong,.seat-change-list small{display:block}.seat-change-list strong{color:#354359;font-size:9px}.seat-change-list small{margin-top:3px;color:#8996a7;font-size:7px}.seat-change-list article>span:nth-last-of-type(1){color:#334155;font-size:8px;font-weight:800}.seat-change-list em{font-size:7px}.employee-seat-context{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 13px;border:1px solid #bfdbfe;border-radius:13px;background:#f2f7ff}.employee-seat-context>span{display:grid;width:38px;height:38px;place-items:center;border-radius:11px;color:#2563eb;background:#dbeafe}.employee-seat-context>span .icon{width:16px;height:16px}.employee-seat-context strong,.employee-seat-context small{display:block}.employee-seat-context strong{color:#29415f;font-size:10px}.employee-seat-context small{margin-top:3px;color:#70829a;font-size:8px}.employee-seat-context.is-full{border-color:#fed7aa;background:#fff7ed}.employee-seat-context.is-full>span{color:#c2410c;background:#ffedd5}
@media(max-width:980px){.seat-billing-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.seat-billing-actions-grid,.seat-billing-history-grid{grid-template-columns:1fr}}@media(max-width:620px){.seat-billing-hero{align-items:flex-start;flex-direction:column;padding:17px}.seat-billing-kpis{grid-template-columns:1fr}.seat-action-card form{grid-template-columns:1fr}.seat-action-card .button{width:100%}.seat-change-list article{grid-template-columns:34px minmax(0,1fr) auto}.seat-change-list em{grid-column:2/-1;justify-self:start}.employee-seat-context{grid-template-columns:36px minmax(0,1fr)}.employee-seat-context .button{grid-column:1/-1;width:100%}}
.seat-price-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;grid-column:1/-1;padding:11px;border:1px solid #dbe7f4;border-radius:11px;background:#f7faff}.seat-price-preview>span{display:grid;padding:9px;border:1px solid #e4ebf4;border-radius:9px;background:#fff}.seat-price-preview small{color:#7d8da1;font-size:7px;font-weight:750}.seat-price-preview strong{margin-top:3px;color:#203652;font-size:11px}.seat-price-preview em{margin-top:2px;color:#718096;font-size:7px;font-style:normal;font-weight:700}.seat-price-preview p{grid-column:1/-1;margin:2px 0 0;color:#7c8b9e;font-size:7px;line-height:1.4}.seat-price-preview .seat-price-basis{display:flex;gap:5px;align-items:center;padding:7px 8px;border-radius:8px;color:#315d99;background:#eaf3ff;font-weight:700}.seat-price-preview .seat-price-basis .icon{width:12px;height:12px;flex:0 0 auto}@media(max-width:520px){.seat-price-preview{grid-template-columns:1fr}.seat-price-preview p{grid-column:auto}}

/* Compact per-location billing */
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing){gap:12px;padding-bottom:14px}
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing) .seat-billing-hero{padding:16px 18px;border-radius:16px}
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing) .seat-billing-hero>div>span{width:44px;height:44px;border-radius:13px}
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing) .seat-billing-kpis article{padding:12px 14px;border-radius:13px}
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing) .seat-billing-kpis strong{margin:5px 0 2px;font-size:18px}
.seat-billing-dashboard:has(.seat-usage-panel.is-location-billing) .seat-usage-panel.is-location-billing{display:none}
.billing-dashboard.has-online-payments{display:flex;flex-direction:column;gap:14px;padding:16px}
.billing-dashboard.has-online-payments>.billing-panel{display:none}
.billing-dashboard.has-online-payments>.payu-section{order:1}
.billing-dashboard.has-online-payments>.billing-grid{order:2}
.billing-dashboard .payu-section{display:flex;flex-direction:column;gap:0;overflow:hidden;margin:0;padding:0;border:1px solid #dce6f2;border-radius:17px;background:#fff;box-shadow:0 13px 34px rgba(24,49,82,.06)}
.billing-dashboard .payu-section-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;border-bottom:1px solid #e8eef6;background:linear-gradient(135deg,#f5f9ff,#fff)}
.billing-dashboard .payu-section-header .eyebrow{margin:0 0 3px;color:#2563eb;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.billing-dashboard .payu-section-title{margin:0;color:#26364b;font-size:17px;line-height:1.25}
.billing-dashboard .payu-section-lead{margin:3px 0 0;color:#7b8a9e;font-size:12px}
.billing-dashboard .payu-badge-provider{display:inline-flex;align-items:center;min-height:27px;padding:0 11px;border-radius:999px;color:#fff;background:linear-gradient(135deg,#00a0df,#0070ba);font-size:10px;font-weight:850;letter-spacing:.05em}
.billing-dashboard .payu-renewal-info{display:flex;gap:5px;align-items:center;margin:10px 14px 4px;padding:9px 11px;border:1px solid #bfdbfe;border-radius:10px;color:#315d99;background:#eff6ff;font-size:12px;line-height:1.4}
.billing-dashboard .payu-renewal-info strong{color:#1e3a5f}
.billing-dashboard .payu-section>.payu-location-card{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:14px;align-items:center;margin:0 14px;padding:12px 0;border:0;border-bottom:1px solid #e8eef6;border-radius:0;background:#fff;box-shadow:none}
.billing-dashboard .payu-section>.payu-location-card:last-of-type{border-bottom:0}
.billing-dashboard .payu-location-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}
.billing-dashboard .payu-location-info{display:flex;flex-direction:column;gap:3px;min-width:0}
.billing-dashboard .payu-location-info strong{overflow:hidden;color:#1f2f45;font-size:14px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.billing-dashboard .payu-location-info span,.billing-dashboard .payu-paid-until{color:#8695a8;font-size:11px}
.billing-dashboard .payu-location-status{display:flex;flex:0 0 auto;flex-direction:column;gap:3px;align-items:flex-end;text-align:right}
.billing-dashboard .payu-location-status .badge{font-size:10px}
.billing-dashboard .payu-form-card{display:grid;grid-template-columns:128px auto;gap:12px;align-items:center}
.billing-dashboard .payu-plans{display:block}
.billing-dashboard .payu-plan-body{display:grid;grid-template-columns:auto auto;gap:1px 6px;align-items:baseline;min-width:128px;padding:0;border:0;background:transparent}
.billing-dashboard .payu-plan-period{grid-column:1/-1;color:#8391a4;font-size:10px}
.billing-dashboard .payu-plan-price{color:#1f2f45;font-size:18px;font-weight:900;line-height:1.1}
.billing-dashboard .payu-plan-unit{color:#8a98aa;font-size:10px}
.billing-dashboard .payu-plan-until{grid-column:1/-1;color:#537197;font-size:10px;font-weight:750}
.billing-dashboard .payu-action{display:flex;flex-direction:column;gap:4px;align-items:flex-end}
.billing-dashboard .payu-pay-btn{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:0;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 5px 14px rgba(37,99,235,.2);font-size:12px;font-weight:850;cursor:pointer;white-space:nowrap;transition:transform .15s ease,box-shadow .15s ease}
.billing-dashboard .payu-pay-btn:hover{box-shadow:0 8px 18px rgba(37,99,235,.26);transform:translateY(-1px)}
.billing-dashboard .payu-secure{color:#94a3b8;font-size:10px}
.billing-dashboard .payu-not-yet{display:flex;gap:9px;align-items:center;min-width:170px;padding:8px 10px;border:1px solid #bbf7d0;border-radius:10px;background:#f0fdf4}
.billing-dashboard .payu-not-yet>span{display:grid;width:27px;height:27px;place-items:center;border-radius:8px;color:#15803d;background:#dcfce7}
.billing-dashboard .payu-not-yet .icon{width:13px;height:13px}
.billing-dashboard .payu-not-yet strong,.billing-dashboard .payu-not-yet small{display:block}
.billing-dashboard .payu-not-yet strong{color:#166534;font-size:12px}
.billing-dashboard .payu-not-yet small{margin-top:2px;color:#5f7c68;font-size:10px}
.billing-dashboard.has-online-payments .billing-grid{gap:12px}
.billing-dashboard.has-online-payments .billing-panel{border-radius:14px;box-shadow:0 8px 22px rgba(24,49,82,.045)}
.billing-dashboard.has-online-payments .billing-panel .report-section-header{padding:12px 14px}
.billing-dashboard.has-online-payments .billing-panel .report-section-header h3{font-size:12px}
.billing-dashboard.has-online-payments .compact-payment-list{gap:7px;padding:9px}
.billing-dashboard.has-online-payments .compact-payment-list article{gap:6px 9px;padding:9px 10px;border-radius:9px;box-shadow:none}
.billing-dashboard.has-online-payments .compact-payment-list strong{font-size:12px}
.billing-dashboard.has-online-payments .compact-payment-list small{font-size:10px}
.billing-dashboard.has-online-payments .compact-payment-list article>span{font-size:12px}
.billing-dashboard.has-online-payments .compact-payment-list em{font-size:9px}
@media(max-width:920px){.billing-dashboard .payu-section>.payu-location-card{grid-template-columns:1fr}.billing-dashboard .payu-form-card,.billing-dashboard .payu-not-yet{justify-self:end}.billing-dashboard .payu-location-header{align-items:flex-start}}
@media(max-width:640px){.billing-dashboard.has-online-payments{padding:12px}.billing-dashboard .payu-section-header{align-items:flex-start}.billing-dashboard .payu-renewal-info{align-items:flex-start}.billing-dashboard .payu-location-header{display:grid;grid-template-columns:1fr auto}.billing-dashboard .payu-form-card{grid-template-columns:1fr;justify-self:stretch}.billing-dashboard .payu-action{align-items:stretch}.billing-dashboard .payu-pay-btn{width:100%}.billing-dashboard .payu-secure{text-align:center}.billing-dashboard .payu-not-yet{justify-self:stretch}.billing-dashboard.has-online-payments .billing-grid{grid-template-columns:1fr}}
.invoice-manual-form{display:grid;grid-template-columns:minmax(130px,1fr) 145px minmax(180px,1fr);gap:8px;align-items:center;min-width:620px;margin-bottom:8px}.invoice-manual-form input{min-height:38px}.invoice-manual-form .check-row{grid-column:1/3}.invoice-manual-form .button{grid-column:3;grid-row:2}@media(max-width:760px){.invoice-manual-form{grid-template-columns:1fr;min-width:260px}.invoice-manual-form .check-row,.invoice-manual-form .button{grid-column:1;grid-row:auto}}
.compact-payment-list .invoice-document-actions{display:flex;gap:7px;align-items:center}.compact-payment-list .invoice-document-actions .button{min-height:30px;padding:5px 8px;font-size:9px}.compact-payment-list .invoice-document-actions .badge{font-size:8px}@media(max-width:560px){.compact-payment-list .invoice-document-actions{align-items:flex-end;flex-direction:column}}
.payu-disclosure{grid-column:1/-1;border:1px solid #d7e3f2;border-radius:11px;background:#f7faff;color:#52657f}.payu-disclosure summary{display:flex;gap:7px;align-items:center;padding:10px 12px;color:#27415f;font-size:9px;font-weight:850;cursor:pointer;list-style:none}.payu-disclosure summary::-webkit-details-marker{display:none}.payu-disclosure summary:after{margin-left:auto;content:"+";font-size:15px}.payu-disclosure[open] summary:after{content:"−"}.payu-disclosure summary .icon{width:14px;height:14px;color:#2563eb}.payu-disclosure>div{padding:0 12px 11px;border-top:1px solid #e4ecf6}.payu-disclosure p{margin:9px 0 0;font-size:8px;line-height:1.55}.payu-disclosure a{color:#1d4ed8;font-weight:800;text-decoration:underline}.billing-dashboard .payu-disclosure{min-width:280px}.billing-dashboard .payu-disclosure summary{padding:8px 10px}.billing-dashboard .payu-disclosure>div{padding:0 10px 9px}@media(max-width:640px){.billing-dashboard .payu-disclosure{min-width:0}.payu-disclosure summary{font-size:10px}.payu-disclosure p{font-size:9px}}
