/* Hallmark · genre: modern-minimal · macrostructure: Service Ledger · design-system: design.md · designed-as-app
 * tone: ecological-operational · anchor hue: green-teal-blue · enrichment: none
 * Pre-emit critique: P5 H5 E4 S5 R5 V5 · contrast: pass · nav: preserved-app-nav
 * footer: none · honest: pass · chrome: pass · tokens: pass · responsive: pass
 */
@import url("./tokens.css");

html,
body {
    overflow-x: clip;
}

.customers-redesign,
.customers-redesign * {
    box-sizing: border-box;
}

.customers-redesign {
    min-height: 100vh;
    background: var(--color-paper);
    color: var(--color-ink);
    font-family: var(--font-body);
}

.customers-redesign .rt-header-area {
    position: sticky;
    z-index: 300;
    top: 0;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    background: var(--color-paper-strong);
    box-shadow: none;
}

.customers-redesign .rt-header-area .container {
    width: min(100%, 80rem);
    max-width: none;
    padding-inline: var(--space-md);
}

.customers-redesign .rt-header-area .navbar {
    min-height: var(--size-app-header);
    padding: var(--space-xs) 0;
}

.customers-redesign .navbar-brand {
    display: inline-flex;
    max-width: 10rem;
    align-items: center;
    margin-right: var(--space-xl);
    padding: 0;
}

.customers-redesign .navbar-brand img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 2.75rem;
    object-fit: contain;
}

.customers-redesign .navbar-nav {
    align-items: center;
    gap: var(--space-2xs);
}

.customers-redesign .navbar-light .navbar-nav .nav-link {
    border-radius: var(--radius-button);
    color: var(--color-ink-soft);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1;
    padding: var(--space-xs) var(--space-sm);
    white-space: nowrap;
    transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.customers-redesign .navbar-light .navbar-nav .nav-link:hover,
.customers-redesign .navbar-light .navbar-nav .active > .nav-link {
    background: var(--color-paper);
    color: var(--color-accent-hover);
}

.customers-redesign .navbar-light .navbar-nav .nav-link:active {
    transform: translateY(1px);
}

.customers-redesign a:focus-visible,
.customers-redesign button:focus-visible,
.customers-redesign input:focus-visible,
.customers-redesign textarea:focus-visible,
.customers-redesign select:focus-visible,
.customers-redesign md-select:focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.customers-registry,
.customer-profile-shell > .container {
    width: min(100%, 80rem);
    max-width: none;
    margin-inline: auto;
    padding: var(--space-2xl) var(--space-md) var(--space-3xl);
}

.customers-heading,
.customer-profile-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.customers-heading h1,
.customer-profile-heading h1 {
    min-width: 0;
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-home-display);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
    overflow-wrap: anywhere;
}

.customers-heading p,
.customer-profile-heading p {
    max-width: 48ch;
    margin: var(--space-sm) 0 0;
    color: var(--color-ink-soft);
    font-size: var(--text-md);
    line-height: 1.65;
}

.customers-heading__action,
.customer-action {
    display: inline-flex;
    min-height: var(--size-control);
    flex: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xs);
    border: var(--rule-thin) solid var(--color-accent);
    border-radius: var(--radius-button);
    background: var(--color-accent);
    color: var(--color-accent-ink);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1;
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.customers-heading__action:hover,
.customer-action:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
    color: var(--color-paper-strong);
    text-decoration: none;
}

.customers-heading__action:active,
.customer-action:active {
    transform: translateY(1px);
}

.customers-heading__action[aria-disabled="true"],
.customer-action[aria-disabled="true"] {
    border-color: var(--color-disabled);
    background: var(--color-paper-2);
    color: var(--color-muted);
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.customer-action--danger {
    border-color: var(--color-rule);
    background: var(--color-paper-strong);
    color: var(--color-error);
}

.customer-action--danger:hover {
    border-color: var(--color-error);
    background: var(--color-error-paper);
    color: var(--color-error);
}

.customers-panel,
.customer-profile-redesign .block-content-sec {
    min-width: 0;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-panel);
    background: var(--color-paper-strong);
    box-shadow: none;
    overflow: clip;
}

.customers-panel__header,
.customers-commandbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    border-bottom: var(--rule-thin) solid var(--color-rule);
    padding: var(--space-lg);
}

.customers-panel__header h2,
.customers-commandbar h2,
.customer-profile-redesign .section-title h3 {
    min-width: 0;
    margin: 0;
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: normal;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.customers-panel__header p,
.customers-commandbar p {
    margin: var(--space-2xs) 0 0;
    color: var(--color-ink-soft);
    font-size: var(--text-sm);
}

.customers-commandbar__tools {
    display: flex;
    min-width: min(100%, 28rem);
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-xs);
}

.customers-commandbar__search {
    width: min(100%, 20rem);
}

.customers-commandbar__search .dataTables_filter,
.customers-commandbar__actions .dt-buttons {
    width: 100%;
    margin: 0;
}

.customers-commandbar__actions {
    flex: none;
}

.customers-table {
    width: 100%;
    overflow-x: auto;
}

.customers-redesign #tblCustomers_wrapper {
    width: 100%;
    padding: var(--space-lg);
}

.customers-redesign #tblCustomers_wrapper .toolbar {
    float: left;
    margin: 0 0 var(--space-md);
}

.customers-redesign #tblCustomers_wrapper .top-src-btn,
.customers-redesign #tblCustomers_wrapper .dt-buttons {
    margin: 0 var(--space-sm) 0 0;
}

.customers-redesign #tblCustomers_wrapper .top-src-btn a,
.customers-redesign #tblCustomers_wrapper .dt-button,
.customers-redesign .customers-commandbar__actions .dt-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: var(--space-2xs);
    border: var(--rule-thin) solid var(--color-accent);
    border-radius: var(--radius-button);
    background: var(--color-accent);
    box-shadow: none;
    color: var(--color-accent-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1;
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
    text-shadow: none;
    white-space: nowrap;
    transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.customers-redesign #tblCustomers_wrapper .dt-button,
.customers-redesign .customers-commandbar__actions .dt-button {
    border-color: var(--color-rule);
    background: var(--color-paper-strong);
    color: var(--color-ink);
}

.customers-redesign #tblCustomers_wrapper .top-src-btn a:hover,
.customers-redesign #tblCustomers_wrapper .top-src-btn a:active {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
}

.customers-redesign #tblCustomers_wrapper .dt-button:hover,
.customers-redesign #tblCustomers_wrapper .dt-button:active,
.customers-redesign .customers-commandbar__actions .dt-button:hover,
.customers-redesign .customers-commandbar__actions .dt-button:active {
    border-color: var(--color-accent);
    background: var(--color-accent-paper);
    color: var(--color-accent-hover);
}

.customers-redesign #tblCustomers_wrapper .top-src-btn a:active,
.customers-redesign #tblCustomers_wrapper .dt-button:active,
.customers-redesign .customers-commandbar__actions .dt-button:active {
    transform: translateY(1px);
}

.customers-redesign #tblCustomers_wrapper .top-src-btn a[aria-disabled="true"],
.customers-redesign #tblCustomers_wrapper .dt-button:disabled,
.customers-redesign #tblCustomers_wrapper .dt-button.disabled,
.customers-redesign .customers-commandbar__actions .dt-button:disabled,
.customers-redesign .customers-commandbar__actions .dt-button.disabled {
    border-color: var(--color-disabled);
    background: var(--color-paper);
    color: var(--color-ink-soft);
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.customers-redesign .dataTables_filter {
    margin: 0 0 var(--space-md);
}

.customers-redesign .dataTables_filter label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-ink-soft);
    font-size: 0;
}

.customers-redesign .dataTables_filter input[type="search"] {
    width: min(100%, 19rem);
    min-height: 2.75rem;
    margin: 0;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-input);
    background: var(--color-paper-strong);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}

.customers-redesign .dataTables_filter input[type="search"]:hover {
    border-color: var(--color-ink-soft);
}

.customers-redesign .dataTables_filter input[type="search"]:focus {
    border-color: var(--color-accent);
}

.customers-redesign #tblCustomers {
    width: 100% !important;
    border: 0;
    border-collapse: collapse !important;
    color: var(--color-ink);
    font-size: var(--text-sm);
}

.customers-redesign #tblCustomers thead th {
    border: 0;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    background: var(--color-paper);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: var(--space-sm);
    text-transform: none;
    white-space: nowrap;
}

.customers-redesign #tblCustomers tbody td {
    border: 0;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    background: var(--color-paper-strong);
    color: var(--color-ink);
    padding: var(--space-sm);
    vertical-align: middle;
}

.customers-redesign #tblCustomers tbody tr:hover td {
    background: var(--color-accent-paper);
}

.customers-redesign #tblCustomers .customer-open {
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    margin: 0;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-button);
    background: var(--color-paper-strong);
    color: var(--color-accent-hover);
    cursor: pointer;
    transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.customers-redesign #tblCustomers .customer-open:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-paper);
}

.customers-redesign #tblCustomers .customer-open:active {
    transform: translateX(2px);
}

.customers-redesign #tblCustomers .customer-open:disabled {
    border-color: var(--color-disabled);
    background: var(--color-paper);
    color: var(--color-ink-soft);
    cursor: not-allowed;
    opacity: 0.55;
}

.customer-card {
    min-width: 13rem;
}

.customer-card__title {
    display: flex;
    align-items: center;
    gap: var(--space-2xs);
    margin-bottom: var(--space-2xs);
}

.customer-card__title a {
    color: var(--color-ink);
    font-size: var(--text-md);
    font-weight: 700;
    text-decoration: none;
}

.customer-card__sex {
    color: var(--color-ink-soft);
}

.customer-card__title a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.customer-card__details {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs) var(--space-sm);
}

.customer-card__meta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.customers-redesign .dataTables_info,
.customers-redesign .dataTables_length,
.customers-redesign .dataTables_paginate {
    margin-top: var(--space-md);
    color: var(--color-ink-soft) !important;
    font-size: var(--text-xs);
}

.customers-redesign .dataTables_paginate .paginate_button {
    min-width: 2.25rem;
    border: var(--rule-thin) solid transparent !important;
    border-radius: var(--radius-button) !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--color-ink-soft) !important;
}

.customers-redesign .dataTables_paginate .paginate_button.current,
.customers-redesign .dataTables_paginate .paginate_button:hover {
    border-color: var(--color-rule) !important;
    background: var(--color-accent-paper) !important;
    color: var(--color-accent-hover) !important;
}

/* Customer profile */
.customer-profile-shell {
    padding: 0;
}

.customer-profile-shell > .container > .row {
    margin-inline: 0;
}

.customer-profile-shell > .container > .row > [class*="col-"] {
    padding-inline: 0;
}

.customer-profile-back {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
    color: var(--color-accent-hover);
    font-size: var(--text-sm);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.customer-profile-back:hover {
    color: var(--color-ink);
    text-decoration: none;
}

.customer-profile-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-xs);
}

.customer-workspace {
    display: grid;
    grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
    align-items: start;
    gap: var(--space-lg);
}

.customer-summary {
    position: sticky;
    top: calc(var(--size-app-header) + var(--space-md));
    min-width: 0;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-panel);
    background: var(--color-paper-strong);
    padding: var(--space-lg);
}

.customer-summary__identity {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding-bottom: var(--space-lg);
    border-bottom: var(--rule-thin) solid var(--color-rule);
}

.customer-summary__avatar {
    display: inline-grid;
    width: 3.25rem;
    height: 3.25rem;
    flex: none;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-accent-paper);
    color: var(--color-accent-hover);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    line-height: 1;
}

.customer-summary h2 {
    min-width: 0;
    margin: 0 0 var(--space-2xs);
    color: var(--color-ink);
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    overflow-wrap: anywhere;
}

.customer-summary__status {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-accent-paper);
    color: var(--color-accent-hover);
    font-size: var(--text-xs);
    font-weight: 700;
    line-height: 1;
    padding: var(--space-2xs) var(--space-xs);
    white-space: nowrap;
}

.customer-summary__details {
    display: grid;
    gap: var(--space-sm);
    margin: var(--space-lg) 0 0;
}

.customer-summary__details dt {
    min-width: 0;
    margin: 0;
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    font-weight: 700;
}

.customer-summary__details dd {
    min-width: 0;
    margin: calc(var(--space-xs) * -1) 0 0;
    color: var(--color-ink);
    font-size: var(--text-sm);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.customer-summary__hint {
    margin: var(--space-lg) 0 0;
    color: var(--color-ink-soft);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.customer-workspace__main {
    min-width: 0;
}

.customer-profile-redesign #customer_areas > md-tabs-wrapper {
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
    background: var(--color-paper-strong);
}

.customer-profile-redesign md-tabs-canvas,
.customer-profile-redesign md-pagination-wrapper {
    height: 3.5rem;
}

.customer-profile-redesign .md-tab {
    min-height: 3.5rem;
    color: var(--color-ink-soft);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: none;
}

.customer-profile-redesign .md-tab.md-active {
    color: var(--color-accent-hover);
}

.customer-profile-redesign md-ink-bar {
    background: var(--color-accent);
}

.customer-profile-redesign md-tab-content {
    overflow: visible;
}

.customer-profile-redesign .top-link-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-xs);
    margin: var(--space-lg) 0;
}

.customer-profile-redesign .top-link-list a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    gap: var(--space-2xs);
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-button);
    background: var(--color-paper-strong);
    color: var(--color-ink);
    font-size: var(--text-sm);
    font-weight: 700;
    line-height: 1;
    padding: var(--space-xs) var(--space-md);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}

.customer-profile-redesign .top-link-list a:first-child {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-accent-ink);
}

.customer-profile-redesign .top-link-list a:hover {
    border-color: var(--color-accent);
    background: var(--color-accent-paper);
    color: var(--color-accent-hover);
}

.customer-profile-redesign .top-link-list a:active {
    transform: translateY(1px);
}

.customer-profile-redesign .top-link-list a[aria-disabled="true"] {
    border-color: var(--color-disabled);
    background: var(--color-paper);
    color: var(--color-ink-soft);
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.customer-profile-redesign .block-content-sec {
    margin: 0 0 var(--space-lg);
    padding: var(--space-lg);
}

.customer-profile-redesign .section-title {
    margin: 0 0 var(--space-lg);
}

.customer-profile-redesign .section-title h3 img,
.customer-profile-redesign .md-tab img {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: var(--space-2xs);
    object-fit: contain;
}

.customer-profile-redesign #customerName {
    margin-top: var(--space-2xs);
    color: var(--color-ink-soft);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0;
}

.customer-profile-redesign .block-inpt-list.row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: calc(var(--space-xs) * -1);
}

.customer-profile-redesign .block-inpt-list-single-item,
.customer-profile-redesign .text-area-blkk {
    margin-bottom: var(--space-md);
    padding-inline: var(--space-xs);
}

.customer-profile-redesign label {
    margin-bottom: var(--space-2xs);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    font-weight: 700;
}

.customer-profile-redesign input[type="text"],
.customer-profile-redesign input:not([type]),
.customer-profile-redesign textarea,
.customer-profile-redesign md-select {
    width: 100%;
    min-height: 2.75rem;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-input);
    background: var(--color-paper-strong);
    box-shadow: none;
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}

.customer-profile-redesign textarea {
    min-height: 8rem;
    resize: vertical;
}

.customer-profile-redesign input:hover,
.customer-profile-redesign textarea:hover,
.customer-profile-redesign md-select:hover {
    border-color: var(--color-ink-soft);
}

.customer-profile-redesign input:focus,
.customer-profile-redesign textarea:focus,
.customer-profile-redesign md-select:focus {
    border-color: var(--color-accent);
    outline: 2px solid var(--color-focus);
    outline-offset: 1px;
}

.customer-profile-redesign input:disabled,
.customer-profile-redesign textarea:disabled,
.customer-profile-redesign md-select[disabled] {
    border-color: var(--color-disabled);
    background: var(--color-paper);
    cursor: not-allowed;
    opacity: 0.65;
}

.customer-profile-redesign .has-error input,
.customer-profile-redesign .has-error textarea,
.customer-profile-redesign .has-error md-select {
    border-color: var(--color-error);
}

.customer-profile-redesign .fieldError {
    margin-top: var(--space-2xs);
    color: var(--color-error);
    font-size: var(--text-xs);
    font-weight: 600;
}

.customer-profile-redesign hr {
    border: 0;
    border-top: var(--rule-thin) solid var(--color-rule);
    margin: var(--space-md) 0 var(--space-lg);
}

.customer-profile-redesign .chk-bk-blk {
    margin-bottom: var(--space-sm);
}

.customer-profile-redesign .ckbx {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    margin: 0;
    color: var(--color-ink);
    font-size: var(--text-sm);
    font-weight: 600;
}

.customer-profile-redesign .top-sec-table-area,
.customer-profile-redesign .table-responsive {
    width: 100%;
    overflow-x: auto;
}

.customer-profile-redesign table.dataTable,
.customer-profile-redesign .table {
    width: 100% !important;
    border: 0;
    border-collapse: collapse !important;
    color: var(--color-ink);
    font-size: var(--text-sm);
}

.customer-profile-redesign table.dataTable th,
.customer-profile-redesign table.dataTable td,
.customer-profile-redesign .table th,
.customer-profile-redesign .table td {
    border: 0;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    padding: var(--space-sm);
    vertical-align: middle;
}

.customer-profile-redesign table.dataTable th,
.customer-profile-redesign .table th {
    background: var(--color-paper);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    font-weight: 700;
}

.customer-profile-redesign .dataTables_filter input[type="search"] {
    min-height: 2.5rem;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-input);
    color: var(--color-ink);
    font-family: var(--font-body);
    padding: var(--space-2xs) var(--space-sm);
}

@media (max-width: 767px) {
    .customers-registry,
    .customer-profile-shell > .container {
        padding: var(--space-xl) var(--space-sm) var(--space-2xl);
    }

    .customers-heading h1,
    .customer-profile-heading h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .customers-heading,
    .customer-profile-heading,
    .customers-panel__header,
    .customers-commandbar {
        display: block;
    }

    .customers-heading__action,
    .customer-profile-actions {
        width: 100%;
        margin-top: var(--space-md);
    }

    .customer-profile-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-action {
        width: 100%;
    }

    .customers-panel__header,
    .customers-commandbar {
        padding: var(--space-md);
    }

    .customers-commandbar__tools {
        display: grid;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
        margin-top: var(--space-md);
    }

    .customers-commandbar__search {
        width: 100%;
    }

    .customer-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-summary {
        position: static;
    }

    .customers-redesign #tblCustomers_wrapper {
        padding: var(--space-md);
    }

    .customers-redesign #tblCustomers_wrapper .toolbar,
    .customers-redesign #tblCustomers_wrapper .dt-buttons,
    .customers-redesign .dataTables_filter {
        width: 100%;
        float: none;
        margin: 0 0 var(--space-xs);
    }

    .customers-redesign #tblCustomers_wrapper .top-src-btn a,
    .customers-redesign #tblCustomers_wrapper .dt-button,
    .customers-redesign .dataTables_filter input[type="search"] {
        width: 100%;
        justify-content: center;
    }

    .customers-redesign #tblCustomers_wrapper .dt-buttons {
        display: block;
    }

    .customer-profile-redesign .top-link-list {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-profile-redesign .top-link-list a {
        justify-content: center;
    }

    .customer-profile-redesign .block-content-sec {
        padding: var(--space-md);
    }

    .customer-card__details {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .customers-redesign *,
    .customers-redesign *::before,
    .customers-redesign *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Compact Registry — list route only */
.customers-list-redesign .customers-registry {
    padding-top: var(--space-lg);
}

.customers-list-redesign .customers-heading {
    align-items: center;
    margin-bottom: var(--space-lg);
}

.customers-list-redesign .customers-heading h1 {
    font-size: var(--text-2xl);
    line-height: 1;
}

.customers-list-redesign .customers-heading p {
    margin-top: var(--space-xs);
    font-size: var(--text-sm);
}

.customers-list-redesign .customers-heading__action {
    border-color: var(--color-brand-teal-hover);
    background: var(--color-brand-teal);
}

.customers-list-redesign .customers-panel {
    border-top: var(--rule-fine) solid var(--color-brand-blue);
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
}

.customers-list-redesign .customers-commandbar {
    min-height: 3.75rem;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
}

.customers-list-redesign .customers-commandbar > p {
    flex: none;
    margin: 0;
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    white-space: nowrap;
}

.customers-list-redesign .customers-commandbar__tools {
    min-width: 0;
    flex: 1;
    justify-content: flex-start;
}

.customers-list-redesign .customers-commandbar__search {
    width: min(100%, 24rem);
}

.customers-list-redesign .dataTables_filter input[type="search"] {
    width: 100%;
    min-height: 2.5rem;
    background: var(--color-paper);
    padding-block: var(--space-2xs);
}

.customers-list-redesign .customers-commandbar__actions .dt-button,
.customers-list-redesign #tblCustomers_wrapper .dt-button {
    min-height: 2.5rem;
    padding: var(--space-2xs) var(--space-sm);
}

.customers-list-redesign #tblCustomers_wrapper {
    padding: 0;
}

.customers-list-redesign #tblCustomers {
    table-layout: auto;
    font-size: var(--text-xs);
}

.customers-list-redesign #tblCustomers thead th {
    position: sticky;
    z-index: 2;
    top: 0;
    height: 2.5rem;
    padding: var(--space-2xs) var(--space-xs);
    background: var(--color-paper-2);
    font-size: var(--text-xs);
}

.customers-list-redesign #tblCustomers tbody td {
    height: 3.5rem;
    padding: var(--space-2xs) var(--space-xs);
    font-size: var(--text-xs);
}

.customers-list-redesign #tblCustomers tbody td:nth-child(3),
.customers-list-redesign #tblCustomers tbody td:nth-child(4),
.customers-list-redesign #tblCustomers tbody td:nth-child(5) {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.customers-list-redesign #tblCustomers .customer-open {
    width: 2.25rem;
    height: 2.25rem;
    border-color: transparent;
    background: transparent;
}

.customers-list-redesign #tblCustomers .customer-open:hover {
    border-color: var(--color-brand-teal);
    background: var(--color-accent-paper);
}

.customers-list-redesign .customer-card {
    min-width: 12rem;
}

.customers-list-redesign .customer-card__title {
    gap: var(--space-3xs);
    margin-bottom: var(--space-3xs);
}

.customers-list-redesign .customer-card__title a {
    font-size: var(--text-sm);
    line-height: 1.25;
}

.customers-list-redesign .customer-card__details {
    flex-wrap: nowrap;
    gap: var(--space-xs);
    max-width: 32rem;
    overflow: hidden;
}

.customers-list-redesign .customer-card__meta {
    min-width: 0;
    max-width: 14rem;
    overflow: hidden;
    font-size: var(--text-xs);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.customers-list-redesign .dataTables_info,
.customers-list-redesign .dataTables_length {
    margin: var(--space-sm) 0 var(--space-sm) var(--space-sm);
}

.customers-list-redesign .dataTables_paginate {
    margin: var(--space-xs) var(--space-sm) var(--space-xs) 0;
}

.customers-list-redesign .dataTables_paginate .paginate_button {
    min-width: 2rem;
    padding: var(--space-2xs) var(--space-xs) !important;
}

@media (max-width: 767px) {
    .customers-list-redesign .customers-registry {
        padding-top: var(--space-md);
    }

    .customers-list-redesign .customers-heading {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        margin-bottom: var(--space-md);
    }

    .customers-list-redesign .customers-heading h1 {
        font-size: var(--text-2xl);
    }

    .customers-list-redesign .customers-heading p {
        display: none;
    }

    .customers-list-redesign .customers-heading__action {
        width: auto;
        margin-top: 0;
        padding-inline: var(--space-sm);
    }

    .customers-list-redesign .customers-commandbar {
        display: grid;
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        padding: var(--space-sm);
    }

    .customers-list-redesign .customers-commandbar > p {
        display: none;
    }

    .customers-list-redesign .customers-commandbar__tools {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        margin-top: 0;
    }

    .customers-list-redesign .customers-commandbar__actions,
    .customers-list-redesign #tblCustomers_wrapper .dt-buttons {
        width: auto;
        margin: 0;
    }

    .customers-list-redesign .customers-commandbar__actions .dt-button,
    .customers-list-redesign #tblCustomers_wrapper .dt-button {
        width: auto;
    }

    .customers-list-redesign .customer-card__details {
        display: flex;
    }
}

@media (max-width: 374px) {
    .customers-list-redesign .customers-heading__action span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: clip;
        clip-path: inset(50%);
    }

    .customers-list-redesign .customers-heading__action {
        width: var(--size-control);
        padding: 0;
    }

    .customers-list-redesign .customers-commandbar__tools {
        grid-template-columns: minmax(0, 1fr);
    }

    .customers-list-redesign .customers-commandbar__actions .dt-button,
    .customers-list-redesign #tblCustomers_wrapper .dt-button {
        width: 100%;
    }
}

/* Studied reference DNA — calm directory, dominant search, structured records */
.customers-list-redesign {
    background: var(--color-paper-2);
}

.customers-list-redesign .customers-registry {
    width: min(100%, var(--content-max));
    padding-top: var(--space-xl);
}

.customers-list-redesign .customers-heading {
    margin-bottom: var(--space-md);
}

.customers-list-redesign .customers-heading h1 {
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--text-2xl);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.customers-list-redesign .customers-heading p {
    color: var(--color-ink-soft);
    font-size: var(--text-sm);
}

.customers-list-redesign .customers-heading__action {
    min-height: 3rem;
    border-color: var(--color-brand-blue-hover);
    background: var(--color-brand-blue);
    color: var(--color-accent-ink);
    padding-inline: var(--space-lg);
}

.customers-list-redesign .customers-heading__action:hover {
    border-color: var(--color-brand-blue-hover);
    background: var(--color-brand-blue-hover);
}

.customers-list-redesign .customers-panel {
    border: 0;
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-card);
}

.customers-list-redesign .customers-commandbar {
    display: grid;
    min-height: 5.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
    border-bottom: var(--rule-thin) solid var(--color-rule);
    padding: var(--space-sm);
}

.customers-list-redesign .customers-commandbar__search {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    align-items: center;
}

.customers-list-redesign .customers-commandbar__search > svg {
    position: absolute;
    z-index: 2;
    left: var(--space-sm);
    width: var(--space-md);
    height: var(--space-md);
    fill: none;
    stroke: var(--color-ink-soft);
    stroke-linecap: round;
    stroke-width: 1.75;
}

.customers-list-redesign .customers-commandbar__search .dataTables_filter {
    width: 100%;
    margin: 0;
}

.customers-list-redesign .customers-commandbar__search .dataTables_filter label {
    width: 100%;
}

.customers-list-redesign .dataTables_filter input[type="search"] {
    width: 100%;
    min-height: 3.5rem;
    border-color: var(--color-rule);
    background: var(--color-paper-strong);
    font-size: var(--text-md);
    padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-xl);
}

.customers-list-redesign .customers-commandbar__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.customers-list-redesign .customers-commandbar__count {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    border-radius: var(--radius-pill);
    background: var(--color-paper-2);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    font-weight: 700;
    padding-inline: var(--space-sm);
    white-space: nowrap;
}

.customers-list-redesign .customers-commandbar__actions .dt-button,
.customers-list-redesign #tblCustomers_wrapper .dt-button {
    min-height: 2.25rem;
    border-color: var(--color-rule);
    border-radius: var(--radius-button);
    background: var(--color-paper-strong);
    color: var(--color-ink-soft);
    padding: var(--space-2xs) var(--space-sm);
}

.customers-list-redesign #tblCustomers {
    table-layout: fixed;
    font-size: var(--text-sm);
}

.customers-list-redesign #tblCustomers thead th {
    position: static;
    height: 3rem;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    background: var(--color-paper-2);
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    padding: var(--space-sm) var(--space-md);
    text-transform: uppercase;
}

.customers-list-redesign #tblCustomers tbody td {
    height: 5.25rem;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    background: var(--color-paper-strong);
    color: var(--color-ink);
    font-size: var(--text-sm);
    padding: var(--space-sm) var(--space-md);
}

.customers-list-redesign #tblCustomers tbody tr:hover td {
    background: var(--color-paper);
}

.customers-list-redesign #tblCustomers tbody td:nth-child(2),
.customers-list-redesign #tblCustomers tbody td:nth-child(3) {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
}

.customers-list-redesign .customer-card {
    min-width: 0;
}

.customers-list-redesign .customer-card__title {
    margin-bottom: var(--space-2xs);
}

.customers-list-redesign .customer-card__title a {
    color: var(--color-ink);
    font-size: var(--text-md);
    font-weight: 700;
}

.customers-list-redesign .customer-card__details {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    gap: var(--space-3xs) var(--space-sm);
    overflow: visible;
}

.customers-list-redesign .customer-card__meta {
    max-width: 16rem;
    color: var(--color-ink-soft);
    font-size: var(--text-xs);
}

.customers-list-redesign #tblCustomers .customer-open {
    width: var(--size-control);
    height: var(--size-control);
    border-color: transparent;
    background: transparent;
    color: var(--color-brand-blue-hover);
}

.customers-list-redesign #tblCustomers .customer-open:hover {
    border-color: var(--color-brand-blue);
    background: var(--color-paper-2);
}

.customers-list-redesign .dataTables_info {
    display: none;
}

.customers-list-redesign .dataTables_paginate {
    margin: var(--space-sm);
}

@media (max-width: 767px) {
    .customers-list-redesign .customers-registry {
        padding-top: var(--space-md);
    }

    .customers-list-redesign .customers-heading {
        display: flex;
    }

    .customers-list-redesign .customers-heading h1 {
        font-size: var(--text-xl);
    }

    .customers-list-redesign .customers-heading__action {
        min-height: var(--size-control);
        padding-inline: var(--space-sm);
    }

    .customers-list-redesign .customers-commandbar {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-xs);
    }

    .customers-list-redesign .customers-commandbar__meta {
        justify-content: space-between;
    }

    .customers-list-redesign .dataTables_filter input[type="search"] {
        min-height: 3rem;
        font-size: var(--text-sm);
    }

    .customers-list-redesign .customers-table {
        overflow-x: auto;
    }

    .customers-list-redesign #tblCustomers {
        min-width: 48rem;
    }
}

@media (max-width: 374px) {
    .customers-list-redesign .customers-commandbar__meta {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
    }

    .customers-list-redesign .customers-commandbar__count {
        justify-self: end;
    }
}

/* Customer Service Ledger — create / edit route */
.customer-profile-redesign .customer-profile-shell > .container {
    padding-top: var(--space-lg);
}

.customer-profile-redesign .customer-profile-heading {
    position: relative;
    align-items: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: var(--rule-thin) solid var(--color-rule);
}

.customer-profile-redesign .customer-profile-back {
    margin-bottom: var(--space-sm);
    color: var(--color-brand-blue-hover);
}

.customer-profile-redesign .customer-profile-heading h1 {
    font-size: var(--text-display-s);
    letter-spacing: -0.035em;
    line-height: 0.95;
}

.customer-profile-redesign .customer-profile-heading p {
    margin-top: var(--space-xs);
    font-size: var(--text-sm);
}

.customer-profile-redesign .customer-profile-actions {
    flex-wrap: nowrap;
}

.customer-profile-redesign .customer-action {
    appearance: none;
    min-height: var(--size-control);
    font-family: var(--font-body);
}

.customer-profile-redesign .customer-action--primary {
    border-color: var(--color-brand-teal-hover);
    background: var(--color-brand-teal);
}

.customer-profile-redesign .customer-workspace {
    grid-template-columns: minmax(14rem, 17rem) minmax(0, 1fr);
    gap: var(--space-md);
}

.customer-profile-redesign .customer-summary {
    top: calc(var(--size-app-header) + var(--space-md));
    border: 0;
    background: var(--color-stage);
    color: var(--color-stage-ink);
    padding: var(--space-lg);
}

.customer-profile-redesign .customer-summary__identity {
    align-items: flex-start;
    border-bottom-color: var(--color-stage-rule);
    padding-bottom: var(--space-md);
}

.customer-profile-redesign .customer-summary__avatar {
    background: var(--color-brand-teal);
    color: var(--color-accent-ink);
}

.customer-profile-redesign .customer-summary h2,
.customer-profile-redesign .customer-summary__details dd {
    color: var(--color-stage-ink);
}

.customer-profile-redesign .customer-summary__status {
    background: var(--color-stage-rule);
    color: var(--color-stage-ink);
}

.customer-profile-redesign .customer-summary__details {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.customer-profile-redesign .customer-summary__details dt {
    color: var(--color-stage-ink);
    opacity: 0.62;
}

.customer-profile-redesign .customer-summary__details dd {
    margin: calc(var(--space-2xs) * -1) 0 var(--space-2xs);
}

.customer-profile-redesign .customer-summary__hint {
    color: var(--color-stage-ink);
    opacity: 0.76;
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-wrapper {
    position: sticky;
    z-index: 40;
    top: var(--size-app-header);
    border-radius: var(--radius-panel) var(--radius-panel) 0 0;
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-wrapper md-tabs-canvas,
.customer-profile-redesign .customer-profile-tabs > md-tabs-wrapper md-pagination-wrapper {
    height: 3.25rem;
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-wrapper .md-tab {
    min-height: 3.25rem;
    padding: 0 var(--space-md);
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-wrapper md-ink-bar {
    background: var(--color-brand-blue);
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-content-wrapper {
    border: var(--rule-thin) solid var(--color-rule);
    border-top: 0;
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
    background: var(--color-paper-strong);
}

.customer-profile-redesign .customer-profile-tabs > md-tabs-content-wrapper > md-tab-content > div {
    padding: var(--space-md);
}

.customer-profile-redesign .customer-form-section,
.customer-profile-redesign .customer-history-section {
    border: 0;
    border-radius: 0;
    margin: 0;
    padding: var(--space-md);
}

.customer-profile-redesign .customer-history-section {
    margin-top: var(--space-md);
    border-top: var(--rule-thin) solid var(--color-rule);
}

.customer-profile-redesign .customer-form-section > .section-title {
    margin-bottom: var(--space-md);
}

.customer-profile-redesign .customer-form-section > .section-title h3 {
    font-size: var(--text-lg);
}

.customer-profile-redesign .customer-form-grid {
    display: grid !important;
    align-items: start;
    gap: var(--space-sm);
    margin: 0 0 var(--space-sm) !important;
}

.customer-profile-redesign .customer-form-grid > .block-inpt-list-single-item {
    width: auto;
    min-width: 0;
    float: none;
    margin: 0;
    padding: 0;
}

.customer-profile-redesign .customer-form-grid--identity {
    grid-template-columns: minmax(12rem, 1.4fr) minmax(12rem, 1fr) minmax(9rem, 0.55fr);
}

.customer-profile-redesign .customer-form-grid--dates {
    grid-template-columns: minmax(10rem, 0.6fr) minmax(0, 1.4fr);
}

.customer-profile-redesign .customer-form-grid--address {
    grid-template-columns: minmax(14rem, 1.5fr) minmax(8rem, 0.6fr) minmax(10rem, 0.8fr) minmax(8rem, 0.55fr);
}

.customer-profile-redesign .customer-form-grid--details {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.customer-profile-redesign input[type="email"],
.customer-profile-redesign input[type="tel"] {
    width: 100%;
    min-height: 2.75rem;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-input);
    background: var(--color-paper-strong);
    box-shadow: none;
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}

.customer-profile-redesign input[type="email"]:hover,
.customer-profile-redesign input[type="tel"]:hover {
    border-color: var(--color-ink-soft);
}

.customer-profile-redesign input[type="email"]:focus,
.customer-profile-redesign input[type="tel"]:focus {
    border-color: var(--color-accent);
    outline: 2px solid var(--color-focus);
    outline-offset: 1px;
}

.customer-profile-redesign .customer-preferences {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xs);
    margin: 0 !important;
}

.customer-profile-redesign .customer-preferences .chk-bk-blk {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.customer-profile-redesign .customer-preferences .ckbx {
    width: 100%;
    min-height: 3.5rem;
    border: var(--rule-thin) solid var(--color-rule);
    border-radius: var(--radius-input);
    background: var(--color-paper);
    padding: var(--space-sm) 3rem var(--space-sm) var(--space-sm);
    line-height: 1.35;
}

.customer-profile-redesign .customer-custom-fields {
    margin: var(--space-lg) 0 0 !important;
    border-top: var(--rule-thin) solid var(--color-rule);
    padding-top: var(--space-lg);
}

.customer-profile-redesign .customer-notes {
    margin-top: var(--space-md);
    padding: 0;
}

.customer-profile-redesign .customer-notes textarea {
    min-height: 8rem;
    height: auto;
}

.customer-profile-redesign .customer-history-tabs > md-tabs-wrapper {
    border: 0;
    border-bottom: var(--rule-thin) solid var(--color-rule);
    border-radius: 0;
}

.customer-profile-redesign .customer-history-tabs .md-tab {
    padding-inline: 0 var(--space-lg);
}

.customer-profile-redesign .customer-history-tabs md-ink-bar {
    background: var(--color-brand-teal);
}

.customer-profile-redesign .modal-content {
    border: 0;
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-menu);
}

.customer-profile-redesign .modal-header,
.customer-profile-redesign .modal-footer {
    border-color: var(--color-rule);
}

@media (max-width: 1100px) {
    .customer-profile-redesign .customer-form-grid--identity,
    .customer-profile-redesign .customer-form-grid--address {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .customer-profile-redesign .customer-workspace {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-profile-redesign .customer-summary {
        position: static;
    }

    .customer-profile-redesign .customer-summary__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .customer-profile-redesign .customer-profile-shell > .container {
        padding-top: var(--space-md);
    }

    .customer-profile-redesign .customer-profile-heading {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .customer-profile-redesign .customer-profile-heading h1 {
        font-size: var(--text-2xl);
    }

    .customer-profile-redesign .customer-profile-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
        margin-top: var(--space-md);
    }

    .customer-profile-redesign .customer-action {
        width: 100%;
    }

    .customer-profile-redesign .customer-form-grid--identity,
    .customer-profile-redesign .customer-form-grid--dates,
    .customer-profile-redesign .customer-form-grid--address,
    .customer-profile-redesign .customer-form-grid--details,
    .customer-profile-redesign .customer-preferences {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-profile-redesign .customer-profile-tabs > md-tabs-content-wrapper > md-tab-content > div,
    .customer-profile-redesign .customer-form-section,
    .customer-profile-redesign .customer-history-section {
        padding: var(--space-sm);
    }
}

@media (max-width: 374px) {
    .customer-profile-redesign .customer-profile-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .customer-profile-redesign .customer-summary__details {
        grid-template-columns: minmax(0, 1fr);
    }
}
