.customer-title-actions{display:flex;gap:10px;flex-shrink:0}
.customer-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:25px 30px;background:linear-gradient(110deg,var(--lavender),#edf8f3);border:1px solid #e4deef;border-radius:18px;margin:0}
.customer-totals>div+div{border-left:1px solid #dcdfe1;padding-left:28px}
.customer-totals dt{font-size:13px;color:var(--muted)}
.customer-totals dd{display:flex;align-items:baseline;gap:10px;margin:5px 0 0;font-size:34px;line-height:1.35;font-weight:600;font-variant-numeric:tabular-nums}
.customer-unit{font-size:12px;font-weight:400;color:var(--muted)}
.customer-online-dot{display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#258262;vertical-align:middle}
.customer-count-note{margin:12px 0 25px}
.customer-directory{background:var(--white);border:1px solid var(--line);border-radius:18px;min-width:0;overflow:hidden}
.customer-table-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px}
.customer-table-toolbar h2{font-size:18px;white-space:nowrap}.customer-table-toolbar h2 span{margin-left:8px}
.customer-table-filters{display:flex;align-items:center;gap:10px;max-width:440px;flex:1}
.customer-table-filters input,.customer-table-filters select{margin:0;font-size:13px;padding:10px 12px}
.customer-table-filters input{min-width:0;flex:1}.customer-table-filters select{width:125px}
.customer-table-scroll{overflow:auto;max-width:100%;scrollbar-width:thin;scrollbar-color:#c7bfd6 #f7f5fa}
.customer-table-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}
.customer-data-table{width:100%;min-width:820px;border-collapse:collapse;table-layout:auto}
.customer-data-table thead{background:#f8f7fb}
.customer-data-table th{padding:14px 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;font-weight:500;color:var(--muted);white-space:nowrap;text-align:left}
.customer-data-table td{padding:19px 18px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}
.customer-data-table tr:last-child td{border-bottom:0}.customer-data-table tbody tr:hover{background:#fcfbfe}
.customer-data-table th:first-child,.customer-data-table td:first-child{padding-left:24px;min-width:205px;max-width:300px;overflow-wrap:anywhere}
.customer-data-table td strong{font-weight:500;font-size:14px}.customer-data-table td p{margin:5px 0 0;font-size:11px}
.customer-data-table .customer-number{text-align:center;font-variant-numeric:tabular-nums}.customer-data-table td.customer-number{font-size:18px;font-weight:500}
.customer-data-table td:last-child{white-space:nowrap}.customer-data-table button{padding:9px 14px;font-size:12px;white-space:nowrap}
.customer-data-table .customer-empty-copy{padding:35px 24px;text-align:center;font-size:14px}
.customer-state{display:inline-flex;align-items:center;padding:5px 10px;border-radius:7px;font-size:11px;white-space:nowrap}
.customer-state.is-active{background:#e9f5ef;color:#2b725b}.customer-state.is-paused{background:#f4edf0;color:#946478}
.customer-connection{white-space:nowrap;color:var(--muted);font-size:12px}.customer-connection.is-online{color:#237158}
.customer-connection.is-online:before{content:'';display:inline-block;width:6px;height:6px;background:currentColor;border-radius:50%;margin-right:6px;vertical-align:middle}
.customer-table-summary{border-top:1px solid var(--line);margin:0;padding:14px 24px;background:#fdfcfe}
.customer-detail-heading{display:flex;align-items:center;gap:20px;margin:0 0 22px}.customer-detail-heading h2{font-size:21px;overflow-wrap:anywhere}.customer-detail-heading button{padding-left:0;flex-shrink:0}
.customer-license-table{margin-top:20px}.customer-license-table .customer-data-table{min-width:800px}
.customer-license-table .customer-data-table th:first-child,.customer-license-table .customer-data-table td:first-child{padding-left:0}
.customer-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;background:linear-gradient(110deg,var(--lavender),var(--mint));border-radius:20px;padding:24px 28px;margin-bottom:26px}
.customer-intro p{font-size:18px;margin:7px 0 9px}.customer-intro code{font-size:12px;overflow-wrap:anywhere;color:var(--muted)}
.customer-card{background:var(--white);border:1px solid var(--line);border-radius:18px;padding:24px;margin-bottom:18px;min-width:0}
.customer-card h2{font-size:19px}.customer-card>p{margin-top:7px}.customer-card>button,.customer-card>form>button{margin-top:14px}.customer-card .check-label{margin-top:12px}
.customer-account-row{border-top:1px solid var(--line);padding:18px 0;margin-top:15px}.customer-account-row>p{margin:4px 0}
.customer-account-id{display:block;font-size:11px;overflow-wrap:anywhere;line-height:1.7;color:var(--muted);margin:8px 0}
.customer-permissions{display:flex;gap:24px;flex-wrap:wrap}.customer-row-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.customer-row-actions button{font-size:12px;padding:8px 12px}
.customer-empty-copy{font-size:14px;padding:20px 0;color:var(--muted)}
.customer-key-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.customer-key-row>div{flex:1;overflow-wrap:anywhere}
.customer-inline-form{display:flex;gap:12px;align-items:flex-end;margin-top:12px}.customer-inline-form>div{flex:1;min-width:0}.customer-inline-form input{margin-bottom:0}
.customer-event-row{padding:17px 0;border-bottom:1px solid var(--line)}.customer-event-row>p{margin-top:5px;overflow-wrap:anywhere}.customer-event-row>strong{font-size:14px}.customer-event-row button{margin-top:10px;font-size:12px}.customer-card .badge{white-space:nowrap}
.customer-apk-note{border:1px solid var(--line);border-radius:15px;background:white;padding:18px 22px;margin-bottom:22px;font-size:13px;line-height:1.9}.customer-apk-note a{display:inline-block;margin-top:8px}
.rail-doc{margin-top:20px;padding:10px 14px;display:inline-flex;font-size:12px}
.customer-tabs{display:flex;gap:6px;padding:5px;background:var(--lavender);border-radius:14px;margin:6px 0 18px;flex-wrap:wrap}
.customer-tabs button{flex:1;padding:12px 10px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:13px;white-space:nowrap}
.customer-tabs button[aria-pressed=true]{background:var(--white);color:var(--primary);font-weight:600}
@media(max-width:1100px){.customer-card{padding:20px}.customer-inline-form{flex-direction:column;align-items:stretch}.customer-table-toolbar{flex-wrap:wrap}.customer-table-filters{min-width:280px}.customer-totals{padding:22px}}
@media(max-width:760px){
  #main-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .customer-title-actions{width:100%}.customer-title-actions button{flex:1}
  .customer-totals{padding:20px 15px;gap:10px}.customer-totals>div+div{padding-left:12px}.customer-totals dt{font-size:11px;min-height:32px}.customer-totals dd{font-size:29px;gap:4px;flex-wrap:wrap}.customer-unit{font-size:10px}
  .customer-count-note{font-size:11px;line-height:1.8}
  .customer-table-toolbar{padding:18px;gap:14px}.customer-table-filters{min-width:0;width:100%;flex-basis:100%}.customer-table-filters select{width:115px}.customer-table-filters input{width:0}
  .customer-data-table{display:table;margin:0}.customer-data-table thead{display:table-header-group}.customer-data-table tbody{display:table-row-group}.customer-data-table tr{display:table-row;border:0;border-radius:0;padding:0;margin:0;background:transparent}
  .customer-data-table th,.customer-data-table td{display:table-cell;width:auto;grid-template-columns:none}.customer-data-table td:before{display:none}.customer-data-table td:last-child button{width:auto}
  .customer-table-summary{padding:14px 18px;font-size:11px}
  .customer-detail-heading{align-items:flex-start;flex-direction:column;gap:8px}.customer-detail-heading h2{font-size:19px}
  .customer-intro{padding:22px 18px;align-items:flex-start;flex-direction:column;gap:14px}.customer-intro p{font-size:16px}
  .customer-card{padding:20px 18px}.customer-permissions{gap:16px}.customer-card>.section-row{flex-direction:row;align-items:center;flex-wrap:wrap}.customer-key-row{gap:8px}
  .customer-tabs button{padding:11px 5px;font-size:12px}
}
