.customer-portal { --commerce-navy:#142944; --commerce-blue:#095cae; }
.customer-portal .topbar {background:#142944;color:white;min-height:58px}
.customer-portal .topbar nav a {color:white}
.customer-portal .topbar nav a[aria-current] {background:#29476a;color:#fff}
.customer-portal .portal-brand {background:#fff;padding:.5rem .8rem;border-radius:5px}
.customer-portal .button.primary {background:#095cae;color:#fff;border-color:#095cae}
.customer-portal .commerce-dashboard,.customer-portal .customer-content {display:grid;gap:.85rem}
.customer-portal .portal-account {background:#fff;border:1px solid #d6e0ec;border-radius:8px;padding:1rem 1.3rem}
.customer-portal .portal-account h1 {font-size:1.5rem;margin:0 0 .35rem}
.commerce-dashboard .panel,.customer-content>.panel {padding:1rem 1.2rem}
.customer-portal h1,.customer-portal h2 {color:#142944}
.customer-portal table {width:100%;border-collapse:collapse}
.customer-portal th,.customer-portal td {padding:.7rem .65rem;text-align:start;border-bottom:1px solid #d8e1ec}
.customer-portal th {background:#edf3f9;color:#183651}
.customer-portal .grid-order {display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}
.customer-portal .grid-order input[type=number] {width:4.5rem;padding:.4rem}
#feature-grid details ul {max-height:14rem;overflow:auto;padding-inline-start:1.4rem}
.commerce-dashboard #renewal {display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.commerce-dashboard #renewal .admin-form {display:flex;align-items:center;gap:.65rem}
.commerce-dashboard #renewal details {margin-inline-start:auto}
#definitions .commerce-master {display:grid;grid-template-columns:minmax(180px,24%) 1fr;gap:1rem}
.commerce-index {display:flex;flex-direction:column;max-height:30rem;overflow:auto;border-inline-end:1px solid #d8e1ec}
.commerce-index a {padding:.45rem .75rem;text-decoration:none;color:#213c5a}
.commerce-index a[aria-current] {background:#e4effb;color:#064f98;font-weight:700}
.commerce-detail {min-width:0}.commerce-detail bdi {overflow-wrap:anywhere}.commerce-detail ul{max-height:18rem;overflow:auto}
@media(max-width:640px){#definitions .commerce-master{grid-template-columns:1fr}.commerce-index{max-height:8rem}.commerce-dashboard #renewal{display:block}.customer-portal .table-wrap{overflow:auto}}

.commerce-row .trial-reset-choice { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: .5rem; }
