/* Original 4.156 presentation; narrowly scoped later functionality. */
.profile155{width:100%;font-family:"RL67 UI",Arial,sans-serif;color:#173c60;font-size:14px;line-height:1.5}
.profile155 .profile-header155{height:auto;min-height:0;padding:0;border:0;background:transparent;color:#173c60}
.profile155 .profile-header-tools155>button{height:44px;min-height:44px;padding:0 12px;display:flex;align-items:center;justify-content:center;gap:8px;font-size:13px}
.profile155 .profile-balance155{flex-direction:row;min-width:150px}.profile155 .profile-balance155 strong{font-size:20px}
.profile155 .profile-actions155>div{max-height:none;overflow:visible}
.profile155 .profile-finance213{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;margin-bottom:18px}
.profile155 .profile-finance213 .profile-tools155{margin:0}.profile155 .profile-finance213 button{min-height:42px;font-size:13px;padding:9px 12px;font-weight:600}
.profile155 .profile-saldo213{display:flex;flex-direction:column;gap:5px}.profile155 .profile-saldo213 span{font-size:13px;color:#526477}.profile155 .profile-saldo213 strong{font-size:25px}
.profile155 .profile-ledger-head213{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile155 .profile-ledger-head213 h3{font-size:17px}.profile155 .profile-ledger-head213 button{border:0;background:transparent;color:#245d9c;font-size:13px;text-decoration:underline}
.profile155 [data-one-off-discount]{background:#e5f6ed;color:#238160;border-color:#bee5d1}.profile155 [data-profile-cash155]{background:#2672c9;color:#fff;border-color:#2672c9}
.profile155 [data-profile-section155=courses]{overflow:visible}.profile155 [data-profile-section155=courses] .table-wrap{overflow:visible}
.profile155 .course-actions181{position:relative;min-width:110px}.profile155 .course-actions181>summary{list-style:none;cursor:pointer;padding:8px 12px;min-height:36px;background:#f0eafb;border:1px solid #d7c8ee;color:#67439e;border-radius:5px;font-size:13px}.profile155 .course-actions181>summary::-webkit-details-marker{display:none}
.profile155 .course-actions181>div{position:absolute;right:0;top:100%;z-index:10;width:175px;padding:6px;background:#fff;border:1px solid #d7c8ee;border-radius:5px;box-shadow:0 6px 20px #173c6020}
.profile155 .course-actions181 button{display:block;width:100%;text-align:left;padding:9px 12px;min-height:36px;border:0;background:#fff;color:#173c60;font-size:13px}.profile155 .course-actions181 button:hover{background:#eaf4fd}.profile155 .course-actions181 [data-end]{color:#a5435b;background:#fcecef}
.profile155 .debit164{color:#9a4050}.profile155 .credit164{color:#28745a}.profile155 .settlement-amount164{font-variant-numeric:tabular-nums;white-space:nowrap}
@media(max-width:850px){.profile155 [data-profile-section155=courses] .table-wrap{overflow:auto}.profile155 .course-actions181>div{position:static;margin-top:5px}}

.profile155 [data-profile-section155=person] .profile-field155>span,.profile155 [data-profile-section155=guardian] .profile-field155>span{font-weight:700;color:#173c60}
.profile155 [data-profile-section155=person] .profile-field155>div,.profile155 [data-profile-section155=guardian] .profile-field155>div{font-weight:400;color:#111}
.profile155 [data-profile-section155=person] .inline-contact105,.profile155 [data-profile-section155=guardian] .inline-contact105{font-weight:400;color:#111}

.profile155 .profile-tabs155 button,.profile155 .profile-tabs155 button[aria-selected=true]{color:#173c60;font-weight:700}

/* 4.216: blue/gray/white card palette and rounded top tabs from the supplied reference. */
.profile155 .profile-tabs155{background:transparent;border:0;border-bottom:1px solid #c5d1df;border-radius:0;gap:1px;overflow-x:auto;align-items:stretch}
.profile155 .profile-tabs155 button{background:#eceff3;color:#173c60;font-weight:700;border:1px solid #d3dbe4;border-bottom:0;border-radius:12px 12px 0 0;padding:12px 16px;min-height:44px}
.profile155 .profile-tabs155 button[aria-selected=true]{background:#dbeaff;color:#173c60;border-color:#a7c4e8;box-shadow:inset 0 -3px #2672c9}
.profile155 .profile-tabs155 button:hover{background:#dfe9f5}
.profile155 .profile-section155{border-color:#cad7e5}
.profile155 .profile-section155>summary{background:#dbe8f5;color:#173c60}
.profile155 [data-profile-section155=person]>summary,.profile155 [data-profile-section155=finance]>summary{background:#173c60;color:#fff}
.profile155 [data-profile-section155=guardian]>summary,.profile155 [data-profile-section155=courses]>summary{background:#376fa9;color:#fff}
.profile155 [data-profile-section155=family]>summary{background:#c7e5fb;color:#173c60}
.profile155 [data-profile-section155=other]>summary,.profile155 [data-profile-section155=absence]>summary{background:#d5dfe9;color:#173c60}
.profile155 .profile-section155>summary strong{font-size:17px;font-weight:700}
.profile155 .profile-section-body155{background:#fff}
.profile155 .status-active,.profile155 .status-inactive,.profile155 .status-removed{background:#dfebf7;color:#173c60;border-color:#bed0e2}
.profile155 .participant-discount-badge{background:#173c60;color:#fff;border-color:#173c60}
.profile155 .birthday-cake98,.profile155 .birthday-cake98 svg{color:#2672c9}
.profile155 .profile-actions155>summary{background:#2672c9;color:#fff;border-color:#2672c9}
.profile155 .profile-actions155>div{border-color:#bed0e2}
.profile155 .action-icon175,.profile155 .action-violet175,.profile155 .action-mint175,.profile155 .action-yellow175,.profile155 .action-danger175{background:#dfebf7;color:#245d9c}
.profile155 .action-heading175,.profile155 .action-heading-mint175{color:#245d9c}
.profile155 .profile-actions155 .action-remove175{background:#edf0f4;color:#173c60;border-color:#c9d4e0}
.profile155 .profile-actions155 .action-remove175:hover{background:#dce5f0;color:#173c60}
.profile155 .profile-tools155 [data-client-link],.profile155 .profile-tools155 [data-profile-cash155]{background:#2672c9;border-color:#2672c9;color:#fff}
.profile155 .profile-tools155 [data-one-off-discount]{background:#e2e7ee;border-color:#c2cbd7;color:#173c60}
.profile155 .profile-tools155 [data-one-off]{background:#c7e5fb;border-color:#a5c8e9;color:#173c60}
.profile155 [data-profile-recovery155],.profile155 [data-other-data99]{background:#e6edf5;border-color:#bdcddd;color:#173c60}
.profile155 .profile-tools155 [data-enroll]{background:#2672c9;border-color:#2672c9;color:#fff}
.profile155 .profile-balance155{background:#dbeaff;border-color:#b7d2ee;color:#173c60}
.profile155 .debit164,.profile155 .credit164,.profile155 .settlement-amount164{color:#173c60}
.profile155 th{background:#dde3eb;color:#173c60}.profile155 tbody tr:nth-child(even){background:#f0f3f7}
.profile155 .profile-attendance155.present,.profile155 .profile-attendance155.absent,.profile155 .profile-attendance155.cancelled{background:#e2eaf4;color:#173c60}
.profile155 .course-actions181>summary{background:#e6edf5;border-color:#bdcddd;color:#173c60}
.profile155 .course-actions181>div{border-color:#bdcddd}.profile155 .course-actions181 [data-end]{background:#edf0f4;color:#173c60}

.profile155 .profile-actions155 .action-row175:hover{background:#e5eef9;color:#173c60}.profile155 .action-label175 small{color:#63758a}.profile155 [class*=group-color-]{background:#e3eef9;color:#173c60;border-color:#9bbada;--group-tile-color:#e3eef9}.profile155 .badge{background:#e5edf7;color:#173c60;border-color:#c0d1e4}

/* 4.217: lighter, consistent card hierarchy without changing behavior. */
.profile155 .profile-section155{border:1px solid #d2dce8;box-shadow:0 2px 7px #173c6007;margin-bottom:18px;border-radius:7px}
.profile155 .profile-section155>summary,.profile155 [data-profile-section155=person]>summary,.profile155 [data-profile-section155=guardian]>summary,.profile155 [data-profile-section155=family]>summary,.profile155 [data-profile-section155=other]>summary,.profile155 [data-profile-section155=courses]>summary,.profile155 [data-profile-section155=absence]>summary{background:#edf3f9;color:#173c60;padding:12px 18px;min-height:48px;border-bottom:1px solid transparent}
.profile155 .profile-section155[open]>summary{border-bottom-color:#dce5ef}
.profile155 [data-profile-section155=finance]>summary{background:#173c60;color:#fff}
.profile155 .profile-section155>summary svg{width:21px;height:21px;flex:0 0 21px;stroke-width:1.8}
.profile155 .profile-section155>summary:hover{filter:brightness(.98)}
.profile155 .profile-section-body155{padding:18px 20px}
.profile155 .profile-fields155{column-gap:36px}
.profile155 .profile-field155{grid-template-columns:150px minmax(0,1fr);gap:16px;padding:10px 0;min-height:42px;border-bottom:1px solid #edf1f5}
.profile155 .profile-field155>span{line-height:1.5}.profile155 .profile-field155>div{line-height:1.5}
.profile155 .profile-tabs155{gap:4px;margin-bottom:20px}
.profile155 .profile-tabs155 button{background:#f0f3f7;border-color:#dce3ec;color:#526477;font-weight:600;transition:background-color .15s,color .15s}
.profile155 .profile-tabs155 button[aria-selected=true]{background:#dceaff;color:#173c60;font-weight:700;border-color:#adc8eb;box-shadow:inset 0 -3px #2672c9}
.profile155 .profile-tabs155 button:hover{background:#e4edf8;color:#173c60}
.profile155 table{border-collapse:separate;border-spacing:0;border:1px solid #dce3ec;border-radius:5px;overflow:hidden}
.profile155 th{background:#edf1f6;font-size:13px;font-weight:700;padding:12px 14px;border-bottom:1px solid #dce3ec;color:#173c60}
.profile155 td{padding:12px 14px;font-size:14px;line-height:1.5;border-bottom:1px solid #e6ecf3}
.profile155 tbody tr:nth-child(even){background:#f5f8fb}.profile155 tbody tr:last-child td{border-bottom:0}
.profile155 .settlement-amount164,.profile155 [data-profile-section155=family] td:nth-child(2),.profile155 [data-profile-section155=family] th:nth-child(2),.profile155 [data-profile-section155=courses] td:nth-child(6),.profile155 [data-profile-section155=courses] th:nth-child(6){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.profile155 .profile-tools155 button{border-radius:5px;transition:background-color .15s,box-shadow .15s}
.profile155 .profile-tools155 [data-client-link],.profile155 .profile-tools155 [data-profile-cash155],.profile155 .profile-tools155 [data-enroll]{background:#2672c9;border-color:#2672c9;color:#fff}
.profile155 .profile-tools155 [data-one-off-discount],.profile155 .profile-tools155 [data-one-off],.profile155 [data-profile-recovery155],.profile155 [data-other-data99]{background:#f0f5fb;border-color:#bdcddd;color:#173c60}
.profile155 .profile-tools155 button:hover{filter:brightness(.96)}
.profile155 .profile-pencil155{border-radius:4px}.profile155 .profile-pencil155:hover{background:#e7f0fb}
@media(max-width:900px){.profile155 .profile-fields155{grid-template-columns:1fr}}
@media(max-width:500px){.profile155 .profile-field155{grid-template-columns:1fr;gap:4px}.profile155 .profile-section-body155{padding:14px}}

/* Overlapping folder tabs; preserve dimensions and all other card sections. */
.profile155 .profile-tabs155{gap:0;isolation:isolate;padding-top:2px}
.profile155 .profile-tabs155 button{position:relative;flex:1 0 auto;margin:0;padding:12px 22px;border-radius:12px 12px 0 0;box-shadow:2px 0 3px #173c600b;font-weight:700;color:#173c60}
.profile155 .profile-tabs155 button+button{margin-left:-8px}
.profile155 .profile-tabs155 button:nth-child(1){z-index:7}.profile155 .profile-tabs155 button:nth-child(2){z-index:6}.profile155 .profile-tabs155 button:nth-child(3){z-index:5}.profile155 .profile-tabs155 button:nth-child(4){z-index:4}.profile155 .profile-tabs155 button:nth-child(5){z-index:3}.profile155 .profile-tabs155 button:nth-child(6){z-index:2}.profile155 .profile-tabs155 button:nth-child(7){z-index:1}
.profile155 .profile-tabs155 button[aria-selected=true]{z-index:10;background:#dceaff;box-shadow:inset 0 -3px #2672c9,2px 0 4px #173c6010}
.profile155 .profile-tabs155 button:focus-visible{z-index:11;outline-offset:-3px}

.profile155 .profile-header-tools155 [data-profile-back155]{background:#d8dce3;border:1px solid #c6ccd5;color:#263749;box-shadow:none}.profile155 .profile-header-tools155 [data-profile-back155]:hover{background:#cbd1da;border-color:#b7c0cb}.profile155 [data-profile-back155]::before,.profile155 [data-profile-back155]::after{content:none!important}

.profile155 [data-profile-section155=courses] .table-wrap+.profile-tools155{margin:16px 0 0;justify-content:flex-end}

.profile155 [data-profile-section155=other] .profile-field155>span{font-weight:700;color:#173c60}.profile155 [data-profile-section155=other] .profile-field155>div{font-weight:400;color:#111}

.profile155 .profile-section155>summary>strong{text-transform:uppercase;letter-spacing:.06em}

.profile155 .course-actions181{min-width:0;width:110px;margin-left:auto}.profile155 .course-actions181>summary{display:flex;align-items:center;justify-content:center;min-height:34px;height:34px;padding:6px 10px;font-size:13px;line-height:1.4;text-align:center;white-space:nowrap;border-radius:5px}.profile155 [data-profile-section155=courses] th:last-child,.profile155 [data-profile-section155=courses] td:last-child{width:138px;padding:10px 14px}

.profile155 [data-profile-section155=other] .profile-fields155{grid-template-columns:minmax(0,1fr);column-gap:0}.profile155 [data-profile-section155=other] .profile-field155{grid-template-columns:minmax(220px,35%) minmax(0,1fr)}@media(max-width:650px){.profile155 [data-profile-section155=other] .profile-field155{grid-template-columns:1fr;gap:4px}}

.profile155 .profile-field155>div,.profile155 .profile-field155 .inline-contact105{font-size:15px;font-weight:400;line-height:1.5}.profile155 td,.profile155 .profile-person-link155{font-size:15px;line-height:1.5}

.profile155 .field-toggle227{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#8693a3;white-space:nowrap}.profile155 .field-toggle227 .chosen227{color:#173c60}.profile155 .field-toggle227 button{display:flex;align-items:center;width:44px;height:26px;min-height:26px;flex:0 0 44px;padding:3px;border:1px solid #bcc5d0;border-radius:15px;background:#ccd2da}.profile155 .field-toggle227 button>span{display:block;width:18px;height:18px;border-radius:50%;background:#fff;transform:translateX(0);transition:transform .15s}.profile155 .field-toggle227 button[aria-checked=true]{background:#2672c9;border-color:#2672c9}.profile155 .field-toggle227 button[aria-checked=true]>span{transform:translateX(18px)}.profile155 .field-toggle227 button::before,.profile155 .field-toggle227 button::after{content:none!important}.profile155 .field-toggle227 small{font-size:12px;color:#63758a}

/* One shared blue for all card headers and action tiles; preserve explicit exceptions. */
.profile155{--participant-blue229:#245d9c;--participant-hover229:#1d4e85}
.profile155 .profile-section155>summary,.profile155 [data-profile-section155=person]>summary,.profile155 [data-profile-section155=guardian]>summary,.profile155 [data-profile-section155=family]>summary,.profile155 [data-profile-section155=other]>summary,.profile155 [data-profile-section155=courses]>summary,.profile155 [data-profile-section155=finance]>summary,.profile155 [data-profile-section155=absence]>summary{background:var(--participant-blue229);color:#fff}
.profile155 .profile-section155>summary svg,.profile155 .profile-section155>summary strong,.profile155 .profile-chevron155{color:#fff}
.profile155 .profile-tabs155 button,.profile155 .profile-tabs155 button[aria-selected=true]{background:var(--participant-blue229);color:#fff;border-color:#bfd1e5}
.profile155 .profile-tabs155 button[aria-selected=true]{box-shadow:inset 0 -3px #fff,2px 0 4px #173c6010}
.profile155 .profile-tabs155 button:hover{background:var(--participant-hover229);color:#fff}
.profile155 .profile-actions155>summary,.profile155 .profile-tools155 button,.profile155 .profile-tools155 [data-client-link],.profile155 .profile-tools155 [data-one-off-discount],.profile155 .profile-tools155 [data-one-off],.profile155 .profile-tools155 [data-profile-cash155],.profile155 .profile-tools155 [data-enroll],.profile155 [data-profile-recovery155],.profile155 [data-other-data99],.profile155 .course-actions181>summary{background:var(--participant-blue229);border-color:var(--participant-blue229);color:#fff}
.profile155 .profile-tools155 button:hover,.profile155 .profile-actions155>summary:hover,.profile155 .course-actions181>summary:hover{background:var(--participant-hover229);border-color:var(--participant-hover229);color:#fff;filter:none}
.profile155 .profile-header-tools155 [data-profile-back155]{background:#d8dce3;border-color:#c6ccd5;color:#263749}
.profile155 .profile-balance155{background:#dbeaff;border-color:#b7d2ee;color:#173c60}
.profile155 .profile-saldo213{background:#dbeaff;color:#173c60;padding:10px 14px;border-radius:5px}
.profile155 .field-toggle227 button[aria-checked=true]{background:var(--participant-blue229);border-color:var(--participant-blue229)}

.profile155 .profile-header155{align-items:flex-end}.profile155 .profile-header-tools155{align-items:center;align-self:flex-end}.profile155 .profile-actions155>summary{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;height:44px;padding:0 15px}.profile155 .profile-header-tools155>button{height:44px;min-height:44px}

.profile155 .profile-section155>summary>svg{width:22px;height:22px;flex:0 0 22px;stroke-width:1.8;color:#fff}

.profile155 [data-profile-section155=finance] th:nth-child(2),.profile155 [data-profile-section155=finance] td:nth-child(2),.profile155 [data-profile-section155=all-payment-history] th:nth-child(2),.profile155 [data-profile-section155=all-payment-history] td:nth-child(2){text-align:right;padding-left:14px;padding-right:14px;white-space:nowrap;font-variant-numeric:tabular-nums}

.profile155 [data-profile-section155=finance] table,.profile155 [data-profile-section155=all-payment-history] table{table-layout:fixed;width:100%}
.profile155 [data-profile-section155=finance] th:nth-child(1),.profile155 [data-profile-section155=all-payment-history] th:nth-child(1){width:18%}
.profile155 [data-profile-section155=finance] th:nth-child(2),.profile155 [data-profile-section155=all-payment-history] th:nth-child(2){width:16%}
.profile155 [data-profile-section155=finance] th:nth-child(3),.profile155 [data-profile-section155=all-payment-history] th:nth-child(3){width:46%}
.profile155 [data-profile-section155=finance] th:nth-child(4),.profile155 [data-profile-section155=all-payment-history] th:nth-child(4){width:20%}
.profile155 [data-profile-section155=finance] th:nth-child(2),.profile155 [data-profile-section155=finance] td:nth-child(2),.profile155 [data-profile-section155=all-payment-history] th:nth-child(2),.profile155 [data-profile-section155=all-payment-history] td:nth-child(2){text-align:center;padding-left:20px;padding-right:20px}
.profile155 [data-profile-section155=finance] td:nth-child(3),.profile155 [data-profile-section155=all-payment-history] td:nth-child(3){padding-left:22px;white-space:normal;overflow-wrap:anywhere}
.profile155 [data-profile-section155=finance] td:nth-child(4),.profile155 [data-profile-section155=all-payment-history] td:nth-child(4){white-space:normal;overflow-wrap:anywhere}

.profile155 button,.profile155 .profile-tabs155 button,.profile155 .profile-tabs155 button[aria-selected=true],.profile155 .profile-actions155 button,.profile155 .profile-tools155 button,.profile155 .profile-header-tools155 button,.profile155 .profile-actions155>summary,.profile155 .course-actions181>summary{font-weight:600}.profile155 .action-label175 strong{font-weight:600}

.profile155 .profile-tools155 button>svg,.profile155 .profile-finance213 button>svg{display:block;width:19px;height:19px;flex:0 0 19px;stroke-width:1.8;margin:0}.profile155 .profile-tools155 button{align-items:center;gap:8px}
