.mskb-customer-portal {
    --mskb-brown: #4b1f01;
    --mskb-red: #a6250d;
    --mskb-red-dark: #7f1b08;
    --mskb-cream: #fbf5ef;
    --mskb-border: #dfd5cd;
    --mskb-muted: #6f625a;
}

.mskb-customer-portal main {
    color: var(--mskb-brown);
    overflow-x: hidden;
}

.mskb-customer-portal .mskb-account-shell {
    align-items: start;
    display: grid;
    gap: 4%;
    grid-template-columns: 25% minmax(0, 1fr);
    margin: 32px auto 56px;
    max-width: 1140px;
    width: 100%;
}

.mskb-customer-portal .mskb-account-shell__content {
    min-width: 0;
}

.mskb-customer-portal .mskb-dashboard-nav {
    background: var(--mskb-cream) !important;
    border: 1px solid var(--mskb-border);
    border-radius: 9px;
    box-shadow: 0 8px 24px rgba(59, 32, 19, .07);
    box-sizing: border-box;
    margin: 0 !important;
    padding: 20px !important;
    position: sticky;
    top: 120px;
    width: 100%;
}

.mskb-customer-portal .mskb-dashboard-nav__title {
    font-size: 1.2rem;
    margin-bottom: 14px;
}

.mskb-customer-portal .mskb-dashboard-nav ul {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mskb-customer-portal .mskb-dashboard-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.mskb-customer-portal .mskb-dashboard-nav a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 4px;
    display: flex;
    justify-content: flex-start;
    min-height: 44px;
    padding: 8px 12px;
    text-decoration: none;
}

.mskb-customer-portal .mskb-dashboard-nav a:hover,
.mskb-customer-portal .mskb-dashboard-nav a:focus-visible {
    background: #fff;
    border-color: #e5d8cf;
    color: var(--mskb-red);
}

.mskb-customer-portal .mskb-dashboard-nav a.is-active {
    background: var(--mskb-red) !important;
    border-color: var(--mskb-red) !important;
    color: #fff !important;
}

.mskb-customer-portal .mskb-dashboard-nav a[href*="/kursanmeldung/"] {
    border-color: var(--mskb-red);
    color: var(--mskb-red) !important;
}

.mskb-customer-portal .mskb-dashboard-nav a[href*="/kursanmeldung/"]::before {
    content: '+ ';
}

.mskb-customer-portal .mskb-cabinet-section {
    background: linear-gradient(180deg, #fbf5ef 0%, #f8efe8 100%);
    padding: 32px 24px 56px !important;
}

.mskb-customer-portal .mskb-cabinet-widget {
    margin: 0 auto !important;
    max-width: 1500px !important;
    width: 100% !important;
}

.mskb-customer-portal .mskb-account-shell__content .mskb-cabinet-section {
    background: transparent;
    padding: 0 !important;
}

.mskb-customer-portal .mskb-account-shell__content .mskb-cabinet-widget {
    max-width: none !important;
}

.mskb-customer-portal .mskb-cabinet-card {
    background: #fff !important;
    border: 1px solid var(--mskb-border);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(59, 32, 19, .08);
    box-sizing: border-box;
    padding: 20px !important;
}

.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs {
    background: #f7eee8;
    border: 0 !important;
    border-radius: 9px;
    display: grid !important;
    gap: 6px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none !important;
    margin-bottom: 18px !important;
    padding: 5px !important;
}

.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs > li {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    min-width: 0;
    padding: 0 !important;
}

.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs > li::marker {
    content: '';
}

.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs > li > a {
    align-items: center;
    border: 0 !important;
    border-radius: 6px !important;
    color: var(--mskb-brown) !important;
    display: flex !important;
    justify-content: center;
    min-height: 42px;
    padding: 9px 14px !important;
    text-decoration: none !important;
    width: 100%;
}

.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs > li.active > a,
.mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs > li > a.active {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(59, 32, 19, .09);
    color: var(--mskb-red) !important;
}

.mskb-customer-portal .bookly-customer-cabinet button[aria-label="Filter hinzufügen"] {
    background: var(--mskb-red) !important;
    border: 1px solid var(--mskb-red) !important;
    color: #fff !important;
    margin-bottom: 10px;
}

.mskb-customer-portal .bookly-customer-cabinet button[aria-label="Filter hinzufügen"]:hover,
.mskb-customer-portal .bookly-customer-cabinet button[aria-label="Filter hinzufügen"]:focus-visible {
    background: var(--mskb-red-dark) !important;
    border-color: var(--mskb-red-dark) !important;
}

.mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip {
    background: #fffaf6 !important;
    border: 1px solid #dfd5cd !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: var(--mskb-brown) !important;
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 4px 7px;
    line-height: 1.35 !important;
    margin: 0 8px 10px 0 !important;
    max-width: 100% !important;
    min-height: 38px;
    padding: 8px 12px !important;
    white-space: normal !important;
}

.mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip * {
    background: transparent !important;
    color: inherit !important;
    line-height: inherit !important;
}

.mskb-customer-portal .bookly-customer-cabinet table {
    border-collapse: separate !important;
    border-spacing: 0;
    table-layout: fixed !important;
    width: 100% !important;
}

.mskb-customer-portal .bookly-customer-cabinet table th,
.mskb-customer-portal .bookly-customer-cabinet table td {
    box-sizing: border-box;
    overflow-wrap: normal;
    padding-right: 8px !important;
    padding-left: 8px !important;
    word-break: normal;
    white-space: normal !important;
}

.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(1),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(1) { width: 36px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(2),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(2) { width: 125px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(3),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(3) { width: 150px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(4),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(4) { width: 86px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(6),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(6) { width: 100px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(7),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(7) { width: 74px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:nth-child(8),
.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(8) { width: 96px !important; }
.mskb-customer-portal .bookly-customer-cabinet table th:last-child,
.mskb-customer-portal .bookly-customer-cabinet table td:last-child { width: 144px !important; }

.mskb-customer-portal .bookly-customer-cabinet table tbody td:last-child button[aria-label="Umbuchen"] {
    color: #8f1e0d !important;
}

.mskb-customer-portal .bookly-customer-cabinet button[data-action="show-payment"] {
    background: #fff !important;
    border: 1px solid var(--mskb-border) !important;
    border-radius: 5px !important;
    color: var(--mskb-brown) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    min-height: 34px;
    padding: 7px 9px !important;
    white-space: nowrap !important;
}

.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] .button,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] .mskb-mobile-cell-value {
    align-items: center !important;
    background: #fffaf6 !important;
    border: 1px solid #d9c7bc !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    color: var(--mskb-red-dark) !important;
    display: inline-flex !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    line-height: 1.25 !important;
    min-height: 36px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    width: auto !important;
}

.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button:hover,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button:focus-visible,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a:hover,
.mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a:focus-visible {
    background: #fff3eb !important;
    border-color: #c99d86 !important;
    color: var(--mskb-red-dark) !important;
}

.mskb-customer-portal .bookly-customer-cabinet table td:nth-child(8) > * {
    white-space: nowrap !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile {
    margin: 0 auto;
    max-width: 980px;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile form {
    background: #fffaf6;
    border: 1px solid var(--mskb-border);
    border-radius: 10px;
    box-sizing: border-box;
    padding: clamp(18px, 3vw, 32px);
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile form > .row {
    display: grid !important;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .form-group,
.mskb-customer-portal .bookly-js-customer-cabinet-content-profile [class*="col-"] {
    box-sizing: border-box;
    float: none !important;
    margin: 0 0 16px !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile label {
    color: var(--mskb-brown);
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 6px;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile input,
.mskb-customer-portal .bookly-js-customer-cabinet-content-profile select {
    background: #fff !important;
    border: 1px solid #bdaea5 !important;
    border-radius: 5px !important;
    box-sizing: border-box;
    font-family: inherit !important;
    font-size: 16px !important;
    min-height: 44px;
    padding: 9px 12px !important;
    width: 100% !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .iti {
    display: block !important;
    position: relative;
    width: 100% !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .iti input,
.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .iti input[type="tel"],
.mskb-customer-portal .bookly-js-customer-cabinet-content-profile input.iti__tel-input {
    padding-left: 62px !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .iti__flag-container {
    left: 0 !important;
    width: 56px !important;
    z-index: 2;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile .iti__selected-flag {
    background: transparent !important;
    min-width: 42px;
    justify-content: center !important;
    padding: 0 8px !important;
    width: 56px !important;
}

.mskb-customer-portal .bookly-js-customer-cabinet-content-profile form > div:last-child {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.mskb-customer-portal .mskb-payment-portal-link {
    display: none !important;
}

.mskb-customer-portal main a:not(.button) {
    color: var(--mskb-red) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mskb-customer-portal main a:not(.button):hover,
.mskb-customer-portal main a:not(.button):focus-visible {
    color: var(--mskb-red-dark) !important;
}

.mskb-customer-portal .woocommerce {
    display: flow-root;
    width: 100%;
    line-height: 1.55;
}

/* The active theme applies a unitless-looking mobile value as 0.1em to the
 * WooCommerce wrapper. Text still paints at full size, while the boxes are
 * calculated at roughly 1.6px line height, causing paragraphs, addresses and
 * field hints to sit on top of each other. Establish a readable baseline for
 * every customer-account view without changing the rest of the website. */
.mskb-customer-portal .woocommerce-MyAccount-navigation,
.mskb-customer-portal .woocommerce-MyAccount-content,
.mskb-customer-portal .woocommerce-MyAccount-content p,
.mskb-customer-portal .woocommerce-MyAccount-content li,
.mskb-customer-portal .woocommerce-MyAccount-content address,
.mskb-customer-portal .woocommerce-MyAccount-content small,
.mskb-customer-portal .woocommerce-MyAccount-content em {
    line-height: 1.55;
}

.mskb-customer-portal .woocommerce h1,
.mskb-customer-portal .woocommerce h2,
.mskb-customer-portal .woocommerce h3 {
    color: var(--mskb-brown);
    line-height: 1.15;
}

.mskb-customer-portal .wp-block-heading {
    margin: 0 0 14px !important;
}

.mskb-customer-portal .wp-block-heading + .wp-block-paragraph {
    margin: 0 0 26px !important;
    line-height: 1.55;
}

.mskb-subscription-state {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid var(--mskb-border);
    border-left: 5px solid var(--mskb-red);
    border-radius: 8px;
    background: #fff;
}

.mskb-subscription-state--active {
    border-left-color: #2f7d32;
    background: #f5fbf5;
}

.mskb-invoices > p {
    margin-bottom: 20px;
}

.mskb-invoice-list {
    display: grid;
    gap: 12px;
}

.mskb-invoice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border: 1px solid var(--mskb-border);
    border-radius: 8px;
    background: #fff;
}

.mskb-invoice-card > div:first-child {
    display: grid;
    gap: 3px;
}

.mskb-invoice-card span {
    color: var(--mskb-muted);
}

.mskb-invoice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mskb-invoice-document {
    max-width: 860px;
    padding: 28px;
    border: 1px solid var(--mskb-border);
    border-radius: 8px;
    background: #fff;
    color: #3c1f12;
}

.mskb-invoice-document header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 2px solid #b92812;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.mskb-customer-portal .mskb-invoice-header > div {
    flex: 1 1 240px;
    min-width: 0;
    text-align: left;
}

.mskb-customer-portal .mskb-invoice-document {
    box-sizing: border-box;
    width: 100%;
    font-size: 16px;
    line-height: 1.5;
}

.mskb-customer-portal .mskb-invoice-header h1 {
    font-size: 32px;
    line-height: 1.2;
}

.mskb-customer-portal .mskb-invoice-document h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 0 0 12px !important;
}

.mskb-customer-portal address.mskb-invoice-school {
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 16px;
}

.mskb-customer-portal .mskb-invoice-school a {
    font-size: inherit;
    line-height: inherit;
    word-break: normal;
}

.mskb-invoice-document header > div:last-child {
    text-align: right;
}

.mskb-invoice-address {
    margin-bottom: 26px;
    font-style: normal;
    line-height: 1.6;
}

.mskb-invoice-document table {
    width: 100%;
    margin-bottom: 24px;
    border-collapse: collapse;
}

.mskb-invoice-document th,
.mskb-invoice-document td {
    padding: 11px 12px;
    border: 1px solid var(--mskb-border);
    text-align: left;
    vertical-align: top;
}

.mskb-invoice-document th:last-child,
.mskb-invoice-document td:last-child {
    text-align: right;
}

.mskb-invoice-header h1 {
    margin: 0 0 8px !important;
}

.mskb-invoice-school {
    font-style: normal;
    line-height: 1.55;
}

.mskb-invoice-school strong {
    display: block;
    font-size: 1.1rem;
}

.mskb-invoice-meta {
    display: grid;
    flex: 0 0 auto;
    gap: 6px 14px;
    grid-template-columns: max-content 1fr;
    margin: 0;
}

.mskb-invoice-meta dt {
    font-weight: 700;
}

.mskb-invoice-meta dd {
    margin: 0;
}

.mskb-invoice-meta {
    align-content: start;
    align-self: flex-start;
    text-align: left;
    min-width: 0;
}
.mskb-invoice-meta dt,
.mskb-invoice-meta dd {
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

.mskb-customer-portal dl.mskb-invoice-meta {
    flex: 1 1 310px;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 8px 12px;
    margin: 0;
    padding: 0;
    font-size: 15px;
}

.mskb-customer-portal .mskb-invoice-meta dt,
.mskb-customer-portal .mskb-invoice-meta dd {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: 1.5;
}

.mskb-invoice-services h2,
.mskb-invoice-address h2 {
    font-size: 1.2rem;
    margin: 0 0 10px !important;
}

.mskb-invoice-service {
    border-top: 1px solid var(--mskb-border);
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr max-content;
    padding: 16px 0;
}

.mskb-invoice-total {
    border-top: 2px solid var(--mskb-brown);
    display: flex;
    font-size: 1.1rem;
    gap: 20px;
    justify-content: space-between;
    margin-top: 10px;
    padding: 16px 0;
}

.mskb-invoice-tax {
    color: var(--mskb-muted);
    margin: 24px 0 0;
}

.mskb-subscription-state h3,
.mskb-subscription-state p {
    margin: 0 0 10px;
}

.mskb-customer-portal .woocommerce-order > p:first-of-type,
.mskb-customer-portal .woocommerce-notice,
.mskb-customer-portal .woocommerce-thankyou-order-received {
    font-size: 1.15rem;
}

.mskb-customer-portal .woocommerce-order-overview {
    display: grid !important;
    list-style: none !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 30px !important;
    padding: 0 !important;
}

.mskb-customer-portal .woocommerce-order-overview li {
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 16px !important;
    border: 1px solid var(--mskb-border) !important;
    border-radius: 8px;
    background: #fff;
    overflow-wrap: anywhere;
}

.mskb-customer-portal .woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: var(--mskb-brown);
    font-size: 1rem;
    line-height: 1.35;
}

/* WooCommerce clearfix pseudo-elements must not occupy grid cells. */
.mskb-customer-portal ul.woocommerce-order-overview::before,
.mskb-customer-portal ul.woocommerce-order-overview::after {
    content: none !important;
    display: none !important;
}

.mskb-customer-portal.woocommerce-order-received main > .page-header {
    margin: 0 0 20px;
    padding: 0;
}

.mskb-customer-portal.woocommerce-order-received .entry-title {
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.2;
    margin: 0;
}

.mskb-customer-portal .woocommerce-order .woocommerce-order-details {
    clear: both;
    margin: 28px 0;
}
.mskb-customer-portal .woocommerce-order .woocommerce-table--order-details {
    table-layout: auto !important;
}
.mskb-customer-portal .woocommerce-order .woocommerce-table--order-details th,
.mskb-customer-portal .woocommerce-order .woocommerce-table--order-details td {
    vertical-align: top;
    text-align: left;
}
.mskb-customer-portal .woocommerce-order .woocommerce-table--order-details td:last-child,
.mskb-customer-portal .woocommerce-order .woocommerce-table--order-details th:last-child {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}
.mskb-customer-portal .woocommerce-order .wc-item-meta {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.mskb-customer-portal .woocommerce-order .wc-item-meta li {
    display: block;
    margin: 6px 0;
    line-height: 1.55;
}
.mskb-customer-portal .woocommerce-order .wc-item-meta li p {
    display: inline;
    margin: 0;
}
@media (max-width: 600px) {
    .mskb-customer-portal .woocommerce-order-overview {
        grid-template-columns: 1fr !important;
    }
}

.mskb-customer-portal .woocommerce-order > p a[href*="zahlungskonto"] {
    display: inline-block;
    margin: 4px 5px;
    padding: 9px 14px;
    border-radius: 4px;
    background: var(--mskb-red);
    color: #fff !important;
    text-decoration: none;
}

.mskb-customer-portal table.shop_table {
    width: 100%;
    margin: 18px 0 32px;
    border: 1px solid var(--mskb-border) !important;
    border-collapse: separate !important;
    border-spacing: 0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.mskb-customer-portal table.shop_table th,
.mskb-customer-portal table.shop_table td {
    padding: 14px 16px !important;
    border-color: var(--mskb-border) !important;
    color: var(--mskb-brown);
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.mskb-customer-portal table.shop_table th {
    background: var(--mskb-cream);
    font-weight: 700;
}

.mskb-customer-portal .woocommerce-orders-table__cell-order-actions .button {
    margin: 3px 4px 3px 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    line-height: 1.4 !important;
    height: auto !important;
    min-height: 44px;
    padding: 10px 14px !important;
    max-width: 100%;
    box-sizing: border-box;
}

.mskb-order-lesson-actions {
    background: #fff8f3;
    border: 1px solid var(--mskb-border);
    border-left: 5px solid var(--mskb-red);
    border-radius: 8px;
    margin: 28px 0;
    padding: 18px;
}

.mskb-order-lesson-actions h2 {
    font-size: 1.35rem;
    margin: 0 0 8px !important;
}

.mskb-order-lesson-actions p {
    margin: 0 0 14px !important;
}

.mskb-customer-portal .button,
.mskb-customer-portal button.button,
.mskb-customer-portal a.button {
    min-height: 44px;
    padding: 11px 16px !important;
    border: 1px solid var(--mskb-red) !important;
    border-radius: 4px !important;
    background: var(--mskb-red) !important;
    color: #fff !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.mskb-customer-portal .button:hover,
.mskb-customer-portal .button:focus-visible {
    border-color: var(--mskb-red-dark) !important;
    background: var(--mskb-red-dark) !important;
    color: #fff !important;
}

/* Late, narrow overrides for controls that must stay readable inside the
 * Bookly customer cabinet after the general WooCommerce button theme runs. */
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip,
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip.button,
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip[role="button"] {
    align-items: center !important;
    background: #fffaf6 !important;
    border: 1px solid #dfd5cd !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    color: var(--mskb-brown) !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    gap: 4px 7px !important;
    line-height: 1.35 !important;
    margin: 0 8px 10px 0 !important;
    max-width: 100% !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
}

html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip *,
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip::before,
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-cabinet-filter-chip::after {
    background: transparent !important;
    color: inherit !important;
    line-height: inherit !important;
}

html body .mskb-customer-portal .bookly-customer-cabinet .mskb-payment-action-control,
html body .mskb-customer-portal .bookly-customer-cabinet button[data-action="show-payment"],
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] .button,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] .mskb-mobile-cell-value {
    align-items: center !important;
    background: #fffaf6 !important;
    border: 1px solid #d9c7bc !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    color: var(--mskb-red-dark) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    justify-content: center !important;
    line-height: 1.25 !important;
    min-height: 36px !important;
    max-width: 100% !important;
    padding: 8px 12px !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
}

html body .mskb-customer-portal .bookly-customer-cabinet .mskb-payment-action-control:hover,
html body .mskb-customer-portal .bookly-customer-cabinet .mskb-payment-action-control:focus-visible,
html body .mskb-customer-portal .bookly-customer-cabinet button[data-action="show-payment"]:hover,
html body .mskb-customer-portal .bookly-customer-cabinet button[data-action="show-payment"]:focus-visible,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button:hover,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] button:focus-visible,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a:hover,
html body .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"] a:focus-visible {
    background: #fff3eb !important;
    border-color: #c99d86 !important;
    color: var(--mskb-red-dark) !important;
}

.mskb-lesson-schedule {
    margin-top: 14px;
    border: 1px solid var(--mskb-border);
    border-radius: 6px;
    background: #fff;
    font-weight: 400;
}

.mskb-lesson-schedule summary {
    padding: 12px 14px;
    color: var(--mskb-red);
    font-weight: 700;
    cursor: pointer;
}

.mskb-lesson-schedule__content {
    max-height: 360px;
    padding: 14px;
    border-top: 1px solid var(--mskb-border);
    background: #fcfaf8;
    line-height: 1.7;
    overflow: auto;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation {
    box-sizing: border-box;
    float: left;
    width: 25%;
    padding: 20px;
    border: 1px solid var(--mskb-border);
    border-radius: 8px;
    background: var(--mskb-cream);
}

.mskb-account-navigation__title {
    margin: 0 0 12px;
    color: var(--mskb-brown);
    font-family: inherit;
    font-size: 1.35rem;
    font-weight: 700;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation ul a {
    display: block !important;
    padding: 10px 12px;
    border-radius: 4px;
    color: var(--mskb-brown) !important;
    font-size: 1rem !important;
    font-weight: 600;
    text-decoration: none !important;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation ul a:hover,
.mskb-customer-portal .woocommerce-MyAccount-navigation ul a:focus-visible,
.mskb-customer-portal .woocommerce-MyAccount-navigation .is-active a {
    background: var(--mskb-red);
    color: #fff !important;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation-link--mskb-book-lessons a {
    border: 1px solid var(--mskb-red);
    color: var(--mskb-red) !important;
}

.mskb-customer-portal .woocommerce-MyAccount-navigation-link--mskb-book-lessons a::before {
    content: '+ ';
}

.mskb-customer-portal .woocommerce-MyAccount-content {
    float: right;
    width: 71%;
}

.mskb-customer-portal address {
    padding: 18px;
    border: 1px solid var(--mskb-border);
    border-radius: 8px;
    background: #fff;
    font-style: normal;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
}

.mskb-customer-portal .woocommerce form .form-row {
    box-sizing: border-box;
    margin-bottom: 18px !important;
    line-height: 1.5 !important;
}

.mskb-customer-portal .woocommerce form .form-row label {
    display: block;
    margin-bottom: 6px;
    line-height: 1.4 !important;
}

.mskb-customer-portal .woocommerce form .form-row em,
.mskb-customer-portal .woocommerce form .form-row .description {
    display: block;
    margin-top: 7px;
    color: var(--mskb-muted);
    font-size: .9rem;
    font-style: normal;
    line-height: 1.45 !important;
}

.mskb-customer-portal .woocommerce form input:not([type="checkbox"]):not([type="radio"]),
.mskb-customer-portal .woocommerce form select,
.mskb-customer-portal .woocommerce form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    line-height: 1.4 !important;
}

.mskb-customer-portal .woocommerce form fieldset {
    box-sizing: border-box;
    margin: 24px 0;
    padding: 18px;
    max-width: 100%;
}

.mskb-customer-portal .woocommerce form fieldset legend {
    padding: 0 6px;
    line-height: 1.4 !important;
}

.mskb-customer-portal .woocommerce form .woocommerce-form__label-for-checkbox {
    display: block;
    padding-left: 28px;
    line-height: 1.55 !important;
}

.mskb-customer-portal .woocommerce form .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    float: left;
    margin: .25em 0 0 -28px;
}

@media (max-width: 900px) {
    .mskb-customer-portal .mskb-account-shell {
        display: block;
        margin: 20px auto 40px;
        width: 100%;
    }

    .mskb-customer-portal .mskb-dashboard-nav {
        margin: 0 0 22px !important;
        padding: 16px !important;
        position: static;
        width: 100%;
    }

    .mskb-customer-portal .mskb-dashboard-nav ul {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mskb-customer-portal .mskb-dashboard-nav a {
        border-color: #eee4dd;
        justify-content: center;
        text-align: center;
    }

    .mskb-customer-portal .mskb-cabinet-section {
        padding: 22px 16px 40px !important;
    }

    .mskb-customer-portal .mskb-cabinet-card {
        padding: 14px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table {
        min-width: 100% !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th:nth-child(1),
    .mskb-customer-portal .bookly-customer-cabinet table td:nth-child(1) {
        width: 44px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th:nth-child(2),
    .mskb-customer-portal .bookly-customer-cabinet table td:nth-child(2) {
        width: auto !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th:last-child,
    .mskb-customer-portal .bookly-customer-cabinet table td:last-child {
        width: 164px !important;
    }

    .mskb-customer-portal .bookly-js-customer-cabinet-content-profile form > .row {
        grid-template-columns: 1fr;
    }

    .mskb-customer-portal .woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mskb-customer-portal .woocommerce-MyAccount-navigation,
    .mskb-customer-portal .woocommerce-MyAccount-content {
        float: none;
        width: 100%;
    }

    .mskb-customer-portal .woocommerce-MyAccount-navigation {
        margin-bottom: 28px;
    }

    .mskb-customer-portal .woocommerce-MyAccount-navigation ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .mskb-customer-portal .mskb-dashboard-nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mskb-customer-portal .bookly-customer-cabinet .bookly-js-tabs {
        grid-template-columns: 1fr 1fr !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="selector"] {
        width: 36px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="date"] {
        width: 132px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="location"] {
        width: 110px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="auxiliary"],
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="instrument"],
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="method"],
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="lecturer"],
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="price"],
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="status"] {
        display: none !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="actions"] {
        display: table-cell !important;
        position: static !important;
        width: 143px !important;
    }

    .mskb-customer-portal main,
    .mskb-customer-portal .site-main {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .mskb-customer-portal .entry-title,
    .mskb-customer-portal .woocommerce h1 {
        font-size: 2rem;
        line-height: 1.2 !important;
        overflow-wrap: anywhere;
    }

    .mskb-customer-portal .woocommerce h2 {
        font-size: 1.55rem;
        line-height: 1.25 !important;
    }

    .mskb-customer-portal .wp-block-heading,
    .mskb-customer-portal .wp-block-paragraph,
    .mskb-customer-portal .woocommerce-MyAccount-content > p {
        position: static !important;
        height: auto !important;
        line-height: 1.5 !important;
    }

    .mskb-customer-portal .woocommerce-order-overview,
    .mskb-customer-portal .woocommerce-MyAccount-navigation ul {
        grid-template-columns: 1fr;
    }

    .mskb-customer-portal table.shop_table_responsive thead {
        display: none;
    }

    .mskb-customer-portal table.shop_table_responsive tr,
    .mskb-customer-portal table.shop_table_responsive td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .mskb-customer-portal table.shop_table_responsive tr {
        padding: 10px 0;
        border-bottom: 1px solid var(--mskb-border);
    }

    .mskb-customer-portal table.shop_table_responsive td {
        padding: 9px 14px !important;
        border: 0 !important;
        text-align: left !important;
    }

    .mskb-customer-portal table.shop_table_responsive td::before {
        display: block;
        float: none;
        margin-bottom: 3px;
        color: var(--mskb-muted);
        font-size: .78rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .mskb-customer-portal table.woocommerce-table--order-details th,
    .mskb-customer-portal table.woocommerce-table--order-details td {
        padding: 11px !important;
    }

    .mskb-customer-portal .woocommerce-order > p a[href*="zahlungskonto"] {
        display: block;
        margin: 12px 0;
        text-align: center;
    }

    .mskb-customer-portal .woocommerce-Address,
    .mskb-customer-portal .woocommerce-customer-details,
    .mskb-customer-portal .woocommerce-columns--addresses {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .mskb-customer-portal .woocommerce-Address-title {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 8px 14px;
        margin-bottom: 10px;
    }

    .mskb-customer-portal .woocommerce-Address-title h2,
    .mskb-customer-portal .woocommerce-Address-title a {
        float: none !important;
        margin: 0 !important;
    }

    .mskb-customer-portal .woocommerce form .form-row-first,
    .mskb-customer-portal .woocommerce form .form-row-last {
        float: none;
        width: 100%;
    }

    /* Elementor gives the decorative footer figure a width larger than its
     * wrapper on phones. The image itself fits, but the invisible figure adds
     * horizontal scrolling to every account screen. */
    .mskb-customer-portal footer .elementor-image-box-img {
        width: 100% !important;
        max-width: 100% !important;
    }

    .mskb-customer-portal footer {
        overflow-x: hidden;
    }

    .mskb-invoice-card,
    .mskb-invoice-document header {
        align-items: stretch;
        flex-direction: column;
    }

    .mskb-invoice-document {
        padding: 18px 14px;
    }

    .mskb-invoice-document header > div:last-child {
        text-align: left;
    }

    .mskb-invoice-actions .button {
        flex: 1 1 auto;
        text-align: center;
    }

    .mskb-invoice-meta {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .mskb-invoice-meta dd {
        margin: -5px 0 5px;
    }

    .mskb-customer-portal dl.mskb-invoice-meta {
        flex: 0 1 auto;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 16px;
        gap: 3px;
    }

    .mskb-customer-portal .mskb-invoice-meta dd {
        margin: 0 0 8px;
    }

    .mskb-customer-portal .mskb-invoice-header > div {
        flex: 0 1 auto;
    }

    .mskb-invoice-service {
        display: block;
    }

    .mskb-invoice-service strong {
        display: block;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="selector"] {
        display: none !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="location"] {
        display: none !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="date"] {
        width: 110px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet [data-mskb-column="actions"] {
        width: 140px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet td[data-mskb-column="actions"] {
        gap: 4px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet td[data-mskb-column="actions"] button[aria-label="Umbuchen"],
    .mskb-customer-portal .bookly-customer-cabinet td[data-mskb-column="actions"] button[aria-label="Stornieren"] {
        box-sizing: border-box !important;
        flex: 0 0 66px !important;
        min-width: 0 !important;
        padding-right: 4px !important;
        padding-left: 4px !important;
        width: 66px !important;
    }
}

/* Bookly and the active theme both expose very small inherited line-heights.
 * Establish a stable reading rhythm for every appointment and management UI. */
.mskb-customer-portal .bookly-customer-cabinet,
.mskb-customer-portal .bookly-customer-cabinet *,
.mskb-customer-portal .mskb-trial-manager,
.mskb-customer-portal .mskb-package-manager,
.mskb-customer-portal .mskb-trial-manager *,
.mskb-customer-portal .mskb-package-manager * {
    line-height: 1.4 !important;
}

.mskb-customer-portal .mskb-trial-manager > h2,
.mskb-customer-portal .mskb-package-manager > h2,
.mskb-customer-portal .mskb-trial-manager > p,
.mskb-customer-portal .mskb-package-manager > p,
.mskb-customer-portal .mskb-trial-card h3,
.mskb-customer-portal .mskb-package-card h3,
.mskb-customer-portal .mskb-trial-card p,
.mskb-customer-portal .mskb-package-card p {
    height: auto !important;
    position: static !important;
}

.mskb-customer-portal .mskb-trial-manager > h2,
.mskb-customer-portal .mskb-package-manager > h2 {
    margin: 0 0 10px !important;
}

.mskb-customer-portal .mskb-trial-manager > p,
.mskb-customer-portal .mskb-package-manager > p {
    margin: 0 0 18px !important;
}

.mskb-customer-portal .mskb-trial-card h3,
.mskb-customer-portal .mskb-package-card h3 {
    margin: 0 0 12px !important;
}

.mskb-customer-portal .mskb-trial-card p,
.mskb-customer-portal .mskb-package-card p {
    margin: 5px 0 !important;
}

.mskb-customer-portal .mskb-trial-card .button,
.mskb-customer-portal .mskb-trial-form .button,
.mskb-customer-portal .mskb-package-card .button,
.mskb-customer-portal .mskb-series-form .button,
.mskb-customer-portal .mskb-save-series {
    box-sizing: border-box !important;
    height: auto !important;
    line-height: 1.25 !important;
    max-width: 100% !important;
    min-height: 48px !important;
    overflow: visible !important;
    overflow-wrap: anywhere !important;
    text-align: center !important;
    white-space: normal !important;
    word-break: normal !important;
}

@media (min-width: 601px) and (max-width: 1100px) {
    .mskb-customer-portal .bookly-customer-cabinet .bookly-js-customer-cabinet-content {
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
    }

    .mskb-customer-portal .bookly-customer-cabinet table {
        min-width: 980px !important;
    }
}

@media (min-width: 601px) {
    .mskb-customer-portal .bookly-customer-cabinet .bookly-js-customer-cabinet-content {
        overflow-x: auto !important;
        overscroll-behavior-inline: contain;
    }

    .mskb-customer-portal .bookly-customer-cabinet table {
        min-width: 980px !important;
        table-layout: fixed !important;
        width: 100% !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="instrument"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="instrument"] {
        width: 80px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="method"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="method"] {
        width: 250px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="selector"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="selector"] {
        width: 36px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="auxiliary"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="auxiliary"] {
        width: 40px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="date"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="date"] {
        width: 130px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="location"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="location"] {
        width: 110px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="lecturer"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="lecturer"] {
        width: 95px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="price"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="price"] {
        width: 85px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table th[data-mskb-column="actions"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="actions"] {
        width: 155px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="instrument"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="instrument"] *,
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="method"],
    .mskb-customer-portal .bookly-customer-cabinet table td[data-mskb-column="method"] * {
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}

html body .mskb-customer-portal .bookly-customer-cabinet .mskb-mobile-cell-value {
    display: none !important;
}

/* On phones the appointments table becomes a labelled card list instead of
 * shrinking full words into one-character columns. */
@media (max-width: 782px) {
    .mskb-customer-portal .bookly-customer-cabinet .bookly-js-customer-cabinet-content {
        overflow: visible !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet table,
    .mskb-customer-portal .bookly-customer-cabinet tbody {
        display: block !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet thead {
        display: none !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody tr {
        align-items: start !important;
        background: #fff !important;
        border: 1px solid var(--mskb-border) !important;
        border-radius: 9px !important;
        box-sizing: border-box !important;
        display: grid !important;
        gap: 12px 14px !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        height: auto !important;
        margin: 0 0 14px !important;
        min-height: 0 !important;
        padding: 16px !important;
        width: 100% !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td {
        background: transparent !important;
        border: 0 !important;
        box-sizing: border-box !important;
        display: block !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        padding: 0 !important;
        position: static !important;
        width: auto !important;
        word-break: normal !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column] {
        display: block !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="selector"] {
        display: none !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column]:not([data-mskb-column="selector"]):not([data-mskb-column="auxiliary"]):not([data-mskb-column="actions"]) {
        font-size: 0 !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column]:not([data-mskb-column="selector"]):not([data-mskb-column="auxiliary"]):not([data-mskb-column="actions"]) > :not(.mskb-mobile-cell-value) {
        display: none !important;
    }

    html body .mskb-customer-portal .bookly-customer-cabinet .mskb-mobile-cell-value {
        background: transparent !important;
        border: 0 !important;
        color: var(--mskb-brown) !important;
        display: block !important;
        font-family: inherit !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        max-width: 100% !important;
        min-height: 0 !important;
        overflow-wrap: anywhere !important;
        padding: 0 !important;
        text-align: left !important;
        white-space: normal !important;
        width: auto !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet button.mskb-mobile-cell-value {
        color: var(--mskb-red) !important;
        cursor: pointer;
        font-weight: 700 !important;
        text-decoration: underline;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="date"],
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="method"],
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="details"],
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="actions"] {
        grid-column: 1 / -1 !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody tr.mskb-appointment-detail-row {
        background: #fffaf6 !important;
        margin-top: -15px !important;
        padding-top: 14px !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="details"] {
        display: block !important;
        font-size: 15px !important;
        width: 100% !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="details"] dl {
        display: grid !important;
        gap: 6px 12px !important;
        grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr) !important;
        margin: 0 !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="details"] dt,
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="details"] dd {
        margin: 0 !important;
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-label]::before {
        color: var(--mskb-muted);
        content: attr(data-mskb-label);
        display: block;
        font-family: Arial, sans-serif;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .04em;
        line-height: 1.25;
        margin: 0 0 4px;
        text-transform: uppercase;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="actions"]::before {
        content: 'Aktionen';
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="auxiliary"] {
        grid-column: 1 / -1 !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="auxiliary"]::before {
        content: 'Details';
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="auxiliary"] > button {
        align-items: center !important;
        color: var(--mskb-red) !important;
        display: inline-flex !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        gap: 7px !important;
        height: auto !important;
        min-height: 38px !important;
        width: auto !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="auxiliary"] > button::after {
        content: attr(data-mskb-display-label);
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="actions"] > div {
        justify-content: flex-start !important;
    }

    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="price"] .mskb-mobile-cell-value,
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="price"] button,
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="price"] a {
        max-width: 100% !important;
        white-space: normal !important;
    }

    .mskb-customer-portal .mskb-trial-card,
    .mskb-customer-portal .mskb-package-card {
        padding: 16px !important;
    }

    .mskb-customer-portal .mskb-trial-card .button,
    .mskb-customer-portal .mskb-package-card .button {
        align-items: center;
        box-sizing: border-box;
        display: inline-flex;
        justify-content: center;
        line-height: 1.25 !important;
        margin: 6px 0 !important;
        min-height: 48px;
        overflow-wrap: anywhere;
        padding-right: 12px !important;
        padding-left: 12px !important;
        text-align: center;
        white-space: normal !important;
        width: 100%;
    }
}

@media (max-width: 420px) {
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="location"],
    .mskb-customer-portal .bookly-customer-cabinet tbody td[data-mskb-column="instrument"] {
        grid-column: 1 / -1 !important;
    }
}

/* Bookly may render either all columns or responsive detail rows after loading.
 * Preserve readable column minima in both cases; its existing scroll wrapper
 * handles excess width instead of squeezing headings into single letters. */
@media (min-width: 783px) {
    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table {
        min-width: 0 !important;
        table-layout: auto !important;
        width: 100% !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column] {
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
        word-break: normal !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table th[data-mskb-column] {
        white-space: nowrap !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td):is([data-mskb-column="selector"], [data-mskb-column="auxiliary"], [data-mskb-column="actions"]) {
        width: 1% !important;
        white-space: nowrap !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="date"] {
        min-width: 140px !important;
        width: 140px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="instrument"] {
        min-width: 115px !important;
        width: 115px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="location"] {
        min-width: 170px !important;
        width: 170px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="method"] {
        min-width: 250px !important;
        width: 250px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="lecturer"] {
        min-width: 140px !important;
        width: 140px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="price"] {
        min-width: 95px !important;
        width: 95px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is(th, td)[data-mskb-column="status"] {
        min-width: 110px !important;
        width: 110px !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table td[data-mskb-column="date"] [data-dt-secondary] {
        white-space: nowrap !important;
    }

    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table :is([data-mskb-column="location"], [data-mskb-column="method"]) :is(div, [data-dt-primary], [data-dt-child]) {
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        overflow-wrap: normal !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}

@media (max-width: 782px) {
    html body.mskb-customer-portal .bookly-customer-cabinet table.bookly-dt-table button:is(.mskb-payment-action-control, [data-action="show-payment"]) {
        width: max-content !important;
        min-width: max-content !important;
        max-width: none !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}

/* One account menu on both the Bookly page and WooCommerce endpoints.
 * Do not inherit Bookly button styling or theme-specific active link colors. */
/* Hello Elementor excludes Elementor pages from its usual content widths.
 * Match those account-page breakpoints on the appointments page as well. */
body.mskb-customer-portal.page-id-1842 .site-main {
    margin-inline: auto;
    width: 100%;
}
@media (min-width: 576px) {
    body.mskb-customer-portal.page-id-1842 .site-main { max-width: 500px; }
}
@media (min-width: 768px) {
    body.mskb-customer-portal.page-id-1842 .site-main { max-width: 600px; }
}
@media (min-width: 992px) {
    body.mskb-customer-portal.page-id-1842 .site-main { max-width: 800px; }
}
@media (min-width: 1200px) {
    body.mskb-customer-portal.page-id-1842 .site-main { max-width: 1140px; }
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation {
    box-sizing: border-box;
    padding: 20px !important;
    border: 1px solid var(--mskb-border) !important;
    border-radius: 8px !important;
    background: var(--mskb-cream) !important;
    box-shadow: none !important;
    font-family: "Inria Sans", sans-serif !important;
    line-height: 1.55 !important;
}

html body.mskb-customer-portal .mskb-account-shell > .woocommerce-MyAccount-navigation {
    float: none;
    width: 100%;
    min-width: 0;
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation .mskb-account-navigation__title {
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: var(--mskb-brown) !important;
    font-family: "Inria Sans", sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation ul {
    margin: 0 !important;
    padding: 0 !important;
    gap: 4px !important;
    list-style: none !important;
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation ul a {
    box-sizing: border-box;
    display: block !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    background: transparent !important;
    color: var(--mskb-brown) !important;
    font-family: "Inria Serif", serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
}

html body.mskb-customer-portal .woocommerce-MyAccount-navigation ul a:hover,
html body.mskb-customer-portal .woocommerce-MyAccount-navigation ul a:focus-visible,
html body.mskb-customer-portal .woocommerce-MyAccount-navigation li.is-active > a {
    background: var(--mskb-red) !important;
    color: #fff !important;
}
