/* Approved week table, scoped to the client Plan. Workout and results typography stays shared. */
#trainer-app .client-week130{max-width:720px;padding:0;margin-inline:auto}
#trainer-app .week-calendar130{border:1px solid var(--line,#303839);border-radius:20px;overflow:hidden;background:var(--surface,#1b2122)}
#trainer-app .week-header130{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:22px 18px 18px}
#trainer-app .week-header130 p{margin:0 0 6px;font-size:12px;line-height:1.4;color:var(--muted,#a7b2af)}
#trainer-app .week-header130 h1{margin:0!important;font-size:22px!important;line-height:1.25;font-weight:650;letter-spacing:-.4px}
#trainer-app .week-header130 nav{display:flex;gap:5px;flex-shrink:0}
#trainer-app .week-header130 nav button{width:40px;min-width:40px;min-height:44px;padding:0;border:0;border-radius:10px;background:var(--panel2,#262e2f);color:var(--text,#e8efeb);font-size:24px}
#trainer-app .week-table130{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:fixed;background:transparent}
#trainer-app .week-table130 .week-day-col130{width:73px}
#trainer-app .week-table130 .week-status-col130{width:94px}
#trainer-app .week-table130 thead th{padding:0 14px 11px;border:0;border-bottom:1px solid var(--line,#303839);background:transparent;font-size:11px;font-weight:500;line-height:1.4;color:var(--muted,#a7b2af);text-align:left;vertical-align:bottom}
#trainer-app .week-table130 thead th:first-child{padding-left:18px}
#trainer-app .week-table130 thead th:last-child{text-align:right;padding-right:18px}
#trainer-app .week-table130 .week-day-row130>th,#trainer-app .week-table130 .week-day-row130>td{padding:12px 14px;border:0;background:transparent;vertical-align:top}
#trainer-app .week-table130 .week-day-row130>th{padding-left:18px;text-align:left;font-weight:500}
#trainer-app .week-table130 .week-day-row130>td:last-child{padding-left:0;padding-right:16px;vertical-align:middle;text-align:right}
#trainer-app .week-table130 tbody{border-bottom:1px solid var(--line,#303839)}
#trainer-app .week-table130 tbody:last-child{border-bottom:0}
#trainer-app .week-table130 tbody.is-today{background:var(--greenSoft,#1a2a23)}
#trainer-app .week-table130 tbody.is-today .week-day-row130>th{box-shadow:inset 3px 0 var(--green,#19d37b)}
#trainer-app .week-table130 tbody.is-today .week-day-button130{color:var(--green,#19d37b)}
#trainer-app .week-day-button130{width:100%;min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:0;border:0;background:transparent;text-align:left;color:var(--text,#f4f6f4);line-height:1.35}
#trainer-app .week-day-button130>span{font-size:14px;font-weight:600}
#trainer-app .week-day-button130>small{font-size:12px;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted,#a7b2af)}
#trainer-app .is-today .week-day-button130>small{color:var(--green,#19d37b)}
#trainer-app .week-item130{width:100%;min-height:44px;display:flex;flex-direction:column;justify-content:center;gap:5px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--text,#f4f6f4);text-align:left;overflow-wrap:anywhere;font-weight:400}
#trainer-app .week-item130 strong{font-size:14px;line-height:1.35;font-weight:600}
#trainer-app .week-item130 small{font-size:11.5px;line-height:1.4;color:var(--muted,#a7b2af)}
#trainer-app .week-item130.empty{font-size:14px;color:var(--muted,#899893)}
#trainer-app .week-state130{display:inline-flex;align-items:center;min-height:28px;max-width:100%;padding:4px 7px;border-radius:6px;background:var(--panel2,#293233);color:var(--muted,#c9d3ce);font-size:11px;line-height:1.4;overflow-wrap:anywhere}
#trainer-app .week-state130.done{background:var(--greenSoft,#1b382b);color:var(--green,#34e591)}
#trainer-app .week-state130.draft{color:var(--text,#e8efeb)}
#trainer-app .week-add130{width:40px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--muted,#9aac9f);font-size:22px}
#trainer-app .week-table130 .week-table-detail130>td{padding:0 18px 16px;border:0;background:var(--bg,#161d1c);text-align:left}
#trainer-app .week-day-detail130{padding-top:12px;min-width:0;overflow-wrap:anywhere}
#trainer-app .week-day-detail130>.calendar-day-heading{margin:0 0 8px}
#trainer-app .week-day-detail130>.calendar-day-heading h2{margin:0;font-size:16px!important;line-height:1.4}
#trainer-app .week-day-detail130 [data-calendar-collapse]{min-height:44px;padding:8px 0 8px 12px;font-size:12px}
#trainer-app .week-day-detail130 .calendar-assignment:last-child{border-bottom:0}
#trainer-app .week-day-detail130 .calendar-records{padding-top:14px}
#trainer-app .week-day-detail130 .calendar-records h2{font-size:14px}
#trainer-app .week-day-detail130 .calendar-add{margin-top:16px}
#trainer-app .week-footer130{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 18px;border-top:1px solid var(--line,#303839);font-size:12px;color:var(--muted,#a7b2af)}
#trainer-app .week-footer130>label{position:relative;display:flex;align-items:center;min-height:44px;max-width:60%;overflow:hidden;font-variant-numeric:tabular-nums}
#trainer-app .week-footer130 input{position:absolute;inset:0;opacity:0;width:100%;min-height:44px;font-size:16px}
#trainer-app .week-footer130>button{min-height:44px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:var(--green,#19d37b);font-size:12px}
#trainer-app .week-calendar130>.calendar-error,#trainer-app .week-calendar130>.calendar-loading{margin:0;padding:0 18px 12px}
@media(min-width:600px){
 #trainer-app .week-header130{padding:26px 26px 22px}
 #trainer-app .week-header130 h1{font-size:26px!important}
 #trainer-app .week-table130 .week-day-col130{width:118px}
 #trainer-app .week-table130 .week-status-col130{width:112px}
 #trainer-app .week-table130 thead th:first-child,#trainer-app .week-table130 .week-day-row130>th{padding-left:26px}
 #trainer-app .week-day-button130>span,#trainer-app .week-item130 strong{font-size:15px}
 #trainer-app .week-item130 small{font-size:12px}
 #trainer-app .week-table130 .week-table-detail130>td{padding-inline:26px}
 #trainer-app .week-footer130{padding-inline:26px}
}
@media(max-width:360px){
 #trainer-app .week-header130{padding:18px 13px}
 #trainer-app .week-header130 h1{font-size:20px!important}
 #trainer-app .week-table130 .week-day-col130{width:60px}
 #trainer-app .week-table130 .week-status-col130{width:77px}
 #trainer-app .week-table130 thead th,#trainer-app .week-table130 .week-day-row130>td{padding-left:8px;padding-right:8px}
 #trainer-app .week-table130 thead th:first-child,#trainer-app .week-table130 .week-day-row130>th{padding-left:13px;padding-right:8px}
 #trainer-app .week-table130 .week-day-row130>td:last-child{padding-right:10px}
 #trainer-app .week-item130 strong{font-size:13px}
 #trainer-app .week-item130 small{font-size:11px}
 #trainer-app .week-state130{font-size:11px;padding:4px 5px}
 #trainer-app .week-table130 .week-table-detail130>td{padding-inline:12px}
}
