.ttm-body{margin:0!important;background:#f4f5f6!important;color:#24282c!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
.ttm-body *{box-sizing:border-box}.ttm-body a{color:#9c101a;text-decoration:none}.ttm-body button,.ttm-body input,.ttm-body select,.ttm-body textarea{font:inherit}
.ttm-shell{width:min(1240px,calc(100% - 48px));margin-inline:auto}.ttm-header{background:#151719;color:#fff;border-bottom:3px solid #b70f18}
.ttm-header>.ttm-shell{min-height:92px;display:flex;justify-content:space-between;gap:22px;align-items:center}.ttm-header a{color:#fff}.ttm-brand{font-size:1.15rem;font-weight:750;letter-spacing:.06em}.ttm-brand span{display:block;font-size:.75rem;font-weight:400;letter-spacing:0;color:#adb1b5;margin-top:4px}.ttm-header nav{display:flex;gap:24px;font-size:.9rem}
.ttm-main{padding-top:42px;padding-bottom:64px;min-height:calc(100vh - 165px)}.ttm-footer{padding:20px;text-align:center;font-size:.8rem;color:#737b82;background:#eceeef}
.ttm-card{background:#fff;border:1px solid #e0e3e5;border-radius:18px;padding:28px;box-shadow:0 8px 24px rgba(20,25,30,.035)}
.ttm-body h1{color:#24282c;font-size:clamp(1.8rem,3vw,2.6rem);line-height:1.18;letter-spacing:-.025em;margin:0 0 12px;font-weight:650}.ttm-body h2{color:#24282c;font-size:1.35rem;line-height:1.3;margin:0 0 16px;font-weight:650}.ttm-body p{margin:0 0 20px;color:#59626a}
.ttm-body .ttm-eyebrow{margin:0 0 9px;font-size:.74rem;color:#a8121c;font-weight:700;letter-spacing:.12em}
.ttm-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.ttm-heading p:last-child{margin-bottom:0}.ttm-actions{display:flex;gap:12px;flex-wrap:wrap}.ttm-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #b70f18;border-radius:10px;padding:11px 18px;background:#b70f18;color:#fff!important;cursor:pointer;font-weight:650;font-size:.9rem;white-space:nowrap}.ttm-button:hover{background:#941019;border-color:#941019}.ttm-button.is-secondary{color:#343c42!important;border-color:#d8dde1;background:#fff}.ttm-button.is-secondary:hover{background:#f2f4f5}.ttm-button.is-danger{background:#fff;color:#a11019!important;border-color:#e4c6c9;margin-top:24px}
.ttm-back{display:inline-block;margin-bottom:24px}.ttm-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:26px}.ttm-stats span{font-size:.86rem;color:#707981}.ttm-stats strong{display:block;color:#202529;font-size:2.3rem;font-weight:650;margin-top:8px}.ttm-stats .ttm-card{padding:22px 26px}
.ttm-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.ttm-search{display:flex;gap:10px;align-items:center;flex:1}.ttm-search label:first-child{flex:1;max-width:420px}.ttm-search input,.ttm-search select{width:100%;border:1px solid #d5dade;border-radius:10px;padding:11px 12px;background:#fff;color:#232a30}
.ttm-table-wrap{overflow:auto}.ttm-table{border-collapse:collapse;width:100%;min-width:800px;font-size:.9rem}.ttm-table th{text-align:left;font-weight:650;color:#707981;background:#f7f8f9;border-bottom:1px solid #e4e7e9;padding:13px 12px}.ttm-table td{padding:18px 12px;border-bottom:1px solid #edf0f1;vertical-align:middle}.ttm-table small{display:block;margin-top:3px;color:#77818a;font-size:.79rem}.ttm-person{display:flex;align-items:center;gap:12px}.ttm-photo,.ttm-avatar{width:45px;height:45px;border-radius:12px;object-fit:contain;background:#f0f2f3;flex-shrink:0}.ttm-avatar{display:grid;place-items:center;color:#a1141d;background:#f9ecee;font-weight:650}.ttm-photo.is-large,.ttm-avatar.is-large{width:120px;height:140px;border-radius:16px}.ttm-avatar.is-large{font-size:2rem}
.ttm-status{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:999px;font-size:.76rem;white-space:nowrap}.ttm-status:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.ttm-status.is-active{background:#e9f5ee;color:#227449}.ttm-status.is-inactive{background:#f0f1f2;color:#737a80}.ttm-row-actions{display:flex;gap:14px;white-space:nowrap;font-size:.82rem;font-weight:650}.ttm-empty{text-align:center;color:#77818a;height:160px}.ttm-pagination{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:.82rem;color:#747d85;margin-top:24px}.ttm-pagination>div{display:flex;gap:18px}
.ttm-form{display:grid;gap:22px}.ttm-form label{display:grid;gap:8px;font-size:.9rem;font-weight:600;color:#424a51}.ttm-form input:not([type=checkbox]),.ttm-form select,.ttm-form textarea{display:block;width:100%;border:1px solid #d5dade;border-radius:10px;background:#fff;color:#242b31;padding:12px 13px}.ttm-form textarea{resize:vertical}.ttm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 24px}.ttm-form small{display:block;color:#808890;font-size:.8rem;margin:10px 0}.ttm-form label.ttm-check{display:flex;align-items:center;gap:8px;font-weight:400}.ttm-photo-edit{display:flex;gap:26px;align-items:center;padding-bottom:22px;border-bottom:1px solid #e5e8ea}.ttm-photo-edit>div{flex:1}.ttm-photo-edit input[type=file]{max-width:600px}
.ttm-profile-top{display:flex;align-items:center;gap:24px;margin-bottom:32px}.ttm-profile-top>div{flex:1}.ttm-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:0 0 32px;border-top:1px solid #e5e8ea;padding-top:28px}.ttm-details dt{font-size:.8rem;color:#7a838b;margin-bottom:6px}.ttm-details dd{margin:0;color:#2e363d;overflow-wrap:anywhere}.ttm-notes{white-space:pre-wrap;background:#f6f7f8;border-radius:10px;padding:18px}
.ttm-login-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(30px,6vw,90px);align-items:center;max-width:1050px;margin:40px auto}.ttm-login-intro h1{font-size:clamp(2.1rem,4.5vw,3.7rem);line-height:1.15;margin-bottom:24px}.ttm-login-intro p:last-child{max-width:400px}.ttm-login{padding:36px}.ttm-login .ttm-form>a{font-size:.85rem}.ttm-login .ttm-button{width:100%}.ttm-alert{padding:14px 18px;border-radius:10px;background:#e9f5ee;color:#226b45!important;margin-bottom:24px!important}.ttm-alert.is-error{background:#faecee;color:#a1101b!important}.ttm-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.ttm-body :focus-visible{outline:3px solid rgba(183,15,24,.55);outline-offset:3px}
.ttm-finance{margin:28px 0;padding:24px;border:1px solid #e0e3e5;border-radius:14px;background:#fafbfc}.ttm-finance-year{display:flex;align-items:end;gap:12px;margin-bottom:22px}.ttm-finance-year label{display:grid;gap:6px}.ttm-finance-year input{width:120px;padding:10px;border:1px solid #d5dade;border-radius:8px}.ttm-finance .ttm-stats strong{font-size:clamp(1.1rem,2vw,1.7rem)}.ttm-finance-charge{display:flex;align-items:end;gap:14px;margin:22px 0}.ttm-finance-charge label{flex:1;max-width:400px}.ttm-payment-form{margin:26px 0 20px;padding-top:24px;border-top:1px solid #e0e3e5}.ttm-finance h3{font-size:1.05rem}.ttm-payment-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:400px}.ttm-finance-help{font-size:.82rem!important;margin-bottom:0!important}@media(max-width:700px){.ttm-finance{padding:18px}.ttm-finance-charge{align-items:stretch;flex-direction:column}.ttm-finance-charge label{max-width:none}}
.ttm-date-control{position:relative;display:flex;gap:8px}.ttm-date-control>button{flex:0 0 44px;border:1px solid #d5dade;border-radius:10px;background:#f5f6f7;color:#a1141d;font-size:24px;cursor:pointer}.ttm-form .ttm-date-control>.ttm-native-date{position:absolute;left:0;bottom:0;width:1px;height:1px;opacity:0;padding:0;border:0;pointer-events:none}.ttm-form .ttm-date-control>.ttm-native-date.is-visible{position:static;opacity:1;width:160px;height:auto;padding:10px;border:1px solid #ccc;pointer-events:auto}.ttm-pdf-tools{display:flex;align-items:center;gap:16px;margin-bottom:20px}.ttm-pdf-tools>span{font-size:.82rem;color:#747d85}
.ttm-row-actions{flex-wrap:wrap}.ttm-row-actions form{margin:0}.ttm-row-actions button{padding:0;border:0;background:transparent;color:#9c101a;font:inherit;font-weight:650;cursor:pointer}.ttm-ordinal{font-weight:700;font-variant-numeric:tabular-nums}
.ttm-documents{margin-top:12px;margin-bottom:26px}.ttm-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ttm-document-card{min-width:0;display:grid;gap:14px;align-content:start;padding:20px;border:1px solid #e0e3e5;border-radius:12px;background:#fafbfc}.ttm-document-card h3{margin:0;font-size:1rem;font-weight:650;color:#343c42}.ttm-document-card p,.ttm-document-card small{overflow-wrap:anywhere;margin:0}.ttm-document-card .ttm-button{width:fit-content}.ttm-document-card input[type=file]{font-size:.85rem}@media(max-width:700px){.ttm-document-grid{grid-template-columns:1fr}}
.ttm-membership-box{padding:22px;border:1px solid #e0e3e5;border-radius:12px;background:#fafbfc;margin-bottom:24px}.ttm-membership-box p{font-size:.85rem;margin:16px 0 0}.ttm-membership-box .ttm-details{margin-top:22px;margin-bottom:0}.ttm-membership-status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.76rem;white-space:nowrap}.ttm-membership-status.is-current{background:#e9f5ee;color:#227449}.ttm-membership-status.is-soon{background:#fff2da;color:#976408}.ttm-membership-status.is-expired{background:#faecee;color:#a1101b}.ttm-membership-status.is-missing{background:#eceef0;color:#727a81}.ttm-membership-help{font-size:.8rem!important}
@media(max-width:1000px){.ttm-list-toolbar{align-items:stretch;flex-direction:column}.ttm-login-layout{gap:32px}.ttm-login{padding:28px}.ttm-profile-top{flex-wrap:wrap}}
@media(max-width:700px){.ttm-shell{width:calc(100% - 28px)}.ttm-header>.ttm-shell{min-height:80px;gap:14px}.ttm-header nav{gap:12px;font-size:.75rem}.ttm-brand{font-size:.9rem}.ttm-main{padding-top:28px}.ttm-card{padding:20px;border-radius:14px}.ttm-stats{gap:8px}.ttm-stats .ttm-card{padding:14px}.ttm-stats span{font-size:.72rem}.ttm-stats strong{font-size:1.7rem}.ttm-heading{align-items:start;flex-direction:column}.ttm-search{flex-wrap:wrap}.ttm-search label:first-child{flex-basis:100%;max-width:none}.ttm-form-grid,.ttm-details{grid-template-columns:1fr}.ttm-login-layout{grid-template-columns:1fr;margin:10px auto}.ttm-login-intro h1{font-size:2.2rem}.ttm-photo-edit{align-items:start;flex-direction:column}.ttm-profile-top .ttm-photo,.ttm-profile-top .ttm-avatar{width:88px;height:108px}.ttm-profile-top h1{font-size:1.65rem}.ttm-pagination{align-items:start;flex-direction:column}}

.ttm-row-actions.ttm-member-actions{flex-wrap:nowrap;align-items:center;gap:6px}.ttm-member-actions form{display:flex;flex:0 0 auto}.ttm-body .ttm-member-actions .ttm-icon-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid #e4e7e9;border-radius:9px;background:#fff;color:#69737b;cursor:pointer;line-height:1;text-decoration:none;transition:background .15s,color .15s,border-color .15s}.ttm-member-actions .ttm-icon-action svg{display:block;width:20px;height:20px;pointer-events:none}.ttm-body .ttm-member-actions .ttm-icon-action:hover{background:#f6f7f8;color:#9c101a;border-color:#d7dce0}.ttm-body .ttm-member-actions .ttm-icon-action.is-delete{color:#ac1723}.ttm-body .ttm-member-actions .ttm-icon-action.is-delete:hover{background:#faecee;border-color:#e9c4c8}

.ttm-profile-tools{align-items:center;margin-bottom:26px}.ttm-profile-tools [role=status]{font-size:.82rem;color:#64717b}
@media print{@page{size:A4;margin:15mm}.ttm-body{background:#fff!important;color:#000!important}.ttm-header,.ttm-footer,.ttm-back,.ttm-profile-tools,.ttm-profile .ttm-button,.ttm-profile form,.ttm-profile .ttm-row-actions,.ttm-alert{display:none!important}.ttm-shell{width:100%;max-width:none;margin:0}.ttm-main{padding:0;min-height:0}.ttm-profile{padding:0;border:0;box-shadow:none}.ttm-profile-top{break-inside:avoid}.ttm-profile .ttm-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ttm-profile .ttm-details>div,.ttm-profile .ttm-document-card,.ttm-profile .ttm-stats>div{break-inside:avoid}.ttm-finance,.ttm-membership-box{padding:14px;background:#fff}.ttm-profile .ttm-table{min-width:0;font-size:10pt}.ttm-table-wrap{overflow:visible}.ttm-profile .ttm-table td,.ttm-profile .ttm-table th{padding:8px}.ttm-body a{color:inherit;text-decoration:none}.ttm-profile .ttm-notes{white-space:pre-wrap;overflow-wrap:anywhere}}
.ttm-workspace{display:grid;grid-template-columns:220px minmax(0,1fr);gap:26px;align-items:start}.ttm-workspace-content{min-width:0;grid-column:2;grid-row:1}.ttm-sidebar{grid-column:1;grid-row:1;position:sticky;top:24px;background:#fff;border:1px solid #e0e3e5;border-radius:16px;padding:16px}.ttm-sidebar nav{display:grid;gap:5px}.ttm-sidebar nav p{font-size:.7rem;letter-spacing:.1em;color:#7a838b;margin:3px 10px 12px}.ttm-sidebar nav a{display:block;padding:12px 10px;border-radius:9px;color:#4d565e;font-size:.88rem;font-weight:600}.ttm-sidebar nav a:hover{background:#f5f6f7}.ttm-sidebar nav a[aria-current=page]{background:#faecee;color:#a1141e}.ttm-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ttm-admin-grid .ttm-card{display:block}.ttm-admin-grid .ttm-card h2{font-size:1.1rem}.ttm-admin-grid .ttm-card span{font-size:.85rem}.ttm-record-section{margin:28px 0;padding-top:24px;border-top:1px solid #e0e3e5;scroll-margin-top:24px}.ttm-record-editor{margin:20px 0;border:1px solid #e0e3e5;border-radius:12px;padding:16px;background:#fafbfc}.ttm-record-editor>summary{cursor:pointer;color:#a1141e;font-weight:650}.ttm-record-editor[open]>.ttm-form{margin-top:22px}.ttm-record-help{font-size:.82rem!important;margin:0!important}.ttm-record-card{border:1px solid #e1e5e8;border-radius:12px;padding:20px;margin-top:16px}.ttm-record-card h3{margin:0 0 16px;font-size:1rem}.ttm-record-card .ttm-details{border:0;padding:0;margin-bottom:18px;gap:16px}.ttm-record-note{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0!important}.ttm-record-image{margin:16px 0}.ttm-record-image summary{cursor:pointer}.ttm-record-image img{display:block;max-width:100%;max-height:900px;object-fit:contain;margin-top:12px}.ttm-record-controls{margin-top:18px}.ttm-record-controls form{margin:0}.ttm-record-controls .ttm-button{font-size:.8rem;padding:8px 12px}.ttm-medical-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:.85rem}.ttm-medical-status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.76rem;white-space:nowrap}.ttm-medical-status.is-current{background:#e9f5ee;color:#227449}.ttm-medical-status.is-expired{background:#faecee;color:#a1101b}.ttm-medical-status.is-soon{background:#fff2da;color:#976408}.ttm-medical-status.is-missing,.ttm-medical-status.is-future{background:#eceef0;color:#727a81}.ttm-record-search{margin-bottom:24px}.ttm-record-section .ttm-form-grid{gap:18px}.ttm-workspace .ttm-profile-top{flex-wrap:wrap}.ttm-workspace .ttm-profile-top h1{overflow-wrap:anywhere}
@media(max-width:1000px){.ttm-workspace{grid-template-columns:minmax(0,1fr)}.ttm-workspace-content{grid-column:1;grid-row:2}.ttm-sidebar{position:static;grid-column:1;grid-row:1}.ttm-sidebar nav{display:flex;flex-wrap:wrap;gap:4px}.ttm-sidebar nav p{display:none}.ttm-sidebar nav a{padding:9px 10px;font-size:.8rem}}
@media(max-width:700px){.ttm-admin-grid{grid-template-columns:1fr}.ttm-record-card{padding:16px}.ttm-record-search{flex-wrap:wrap}}
@media print{.ttm-sidebar,.ttm-record-editor,.ttm-record-controls,.ttm-record-card>p>a{display:none!important}.ttm-workspace{display:block}.ttm-record-card{break-inside:avoid}.ttm-record-image img{max-height:220mm}.ttm-record-section{padding-top:16px}.ttm-record-image>summary{display:none}}

.ttm-import-panel [hidden]{display:none!important}.ttm-import-panel .ttm-form{margin-top:22px}.ttm-import-panel [data-import-status]{margin:0;font-size:.88rem;color:#59626a}.ttm-import-table{min-width:900px}.ttm-import-table td{padding:12px 8px}.ttm-import-table td:nth-child(2){min-width:220px}.ttm-import-table input[type=text]{min-width:90px;padding:8px;font-size:.82rem}.ttm-import-table details{margin-top:8px;font-size:.75rem;max-width:300px}.ttm-import-table details p{margin-top:8px;overflow-wrap:anywhere}.ttm-import-table summary{cursor:pointer;color:#7a838b}.ttm-result-source{margin-top:14px!important;font-size:.85rem}.ttm-import-panel .ttm-record-help{line-height:1.6}

.ttm-results-table{min-width:1200px}.ttm-results-table td:nth-child(7){font-weight:650;font-variant-numeric:tabular-nums}.ttm-results-table td:nth-child(2),.ttm-results-table td:nth-child(4){white-space:nowrap}.ttm-result-delete{margin-top:20px}.ttm-result-tabs{display:flex;gap:8px;margin:20px 0 26px}.ttm-result-tabs a{padding:9px 16px;border:1px solid #dce1e5;border-radius:9px;background:#fff;color:#55616a}.ttm-result-tabs a[aria-current=page]{background:#faecee;color:#a1141e;border-color:#e4c5ca}.ttm-team-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:300px;overflow:auto;padding:12px}.ttm-team-heading{margin-top:28px}.ttm-import-table select[multiple]{min-width:210px;min-height:130px;font-size:.78rem;padding:6px}.ttm-import-table input[data-field=date]{min-width:115px}.ttm-import-table input[data-field=team_name]{min-width:180px}@media(max-width:700px){.ttm-team-members{grid-template-columns:1fr}}@media print{.ttm-result-tabs,.ttm-result-delete{display:none!important}.ttm-results-table,.ttm-team-table{min-width:0!important}.ttm-results-table tr,.ttm-team-table tr{break-inside:avoid}}

.ttm-result-actions{white-space:nowrap}@media print{.ttm-result-actions{display:none!important}}

.ttm-statistics{margin:28px 0;padding:24px;border:1px solid #e0e3e5;border-radius:14px;background:#fafbfc}.ttm-statistics .ttm-stats{margin-bottom:20px}.ttm-statistics .ttm-stats .ttm-card{padding:16px}.ttm-statistics .ttm-stats strong{font-size:1.8rem}.ttm-statistics-table{min-width:500px}.ttm-statistics-table td:not(:first-child){font-variant-numeric:tabular-nums}.ttm-statistics-note{font-size:.78rem!important;line-height:1.6;margin:16px 0 0!important}.ttm-statistics .ttm-table th{background:#f1f3f5}@media(max-width:700px){.ttm-statistics{padding:16px}.ttm-statistics .ttm-stats .ttm-card{padding:10px}.ttm-statistics .ttm-stats strong{font-size:1.5rem}}@media print{.ttm-statistics{background:#fff;padding:14px}.ttm-statistics-table{min-width:0}.ttm-statistics-table tr{break-inside:avoid}}

/* Keep the membership-type filter usable on narrower screens. */
.ttm-search{flex-wrap:wrap}.ttm-search label{min-width:140px}

/* Member directory: fit content and keep every action accessible. */
@media(min-width:1001px){
 .ttm-workspace{width:min(1540px,calc(100% - 40px));grid-template-columns:190px minmax(0,1fr);gap:20px}
}
.ttm-members-list{container-type:inline-size;padding:22px}
.ttm-members-table{table-layout:fixed;min-width:0;font-size:13px}
.ttm-members-table th,.ttm-members-table td{padding:12px 8px;overflow-wrap:anywhere}
.ttm-members-table th{font-size:12px;line-height:1.4}
.ttm-members-table th:nth-child(1){width:5%}
.ttm-members-table th:nth-child(2){width:19%}
.ttm-members-table th:nth-child(3){width:10%}
.ttm-members-table th:nth-child(4){width:20%}
.ttm-members-table th:nth-child(5){width:9%}
.ttm-members-table th:nth-child(6){width:9%}
.ttm-members-table th:nth-child(7){width:16%}
.ttm-members-table th:nth-child(8){width:12%}
.ttm-members-table small{font-size:12px;line-height:1.45}
.ttm-members-table .ttm-person{gap:10px;min-width:0}
.ttm-members-table .ttm-person>div{min-width:0}
.ttm-members-table .ttm-photo,.ttm-members-table .ttm-avatar{width:38px;height:46px;border-radius:8px}
.ttm-members-table .ttm-person strong{display:block;line-height:1.45}
.ttm-members-table .ttm-status,.ttm-members-table .ttm-membership-status{max-width:100%;white-space:normal;font-size:11px;line-height:1.4;padding:5px 8px}
.ttm-members-table .ttm-status:before{flex-shrink:0}
.ttm-members-table .ttm-member-actions{display:grid;grid-template-columns:repeat(2,32px);gap:4px;white-space:normal}
.ttm-body .ttm-members-table .ttm-member-actions .ttm-icon-action{width:32px;height:32px;min-width:0;border-radius:8px}
.ttm-members-table .ttm-member-actions .ttm-icon-action svg{width:17px;height:17px}
@container(max-width:850px){
 .ttm-members-list .ttm-search{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .ttm-members-list .ttm-search label{min-width:0;max-width:none}
 .ttm-members-list .ttm-search label:first-of-type{grid-column:1/-1}
 .ttm-members-list .ttm-search>.ttm-button{grid-column:1/-1}
 .ttm-members-list .ttm-list-toolbar{align-items:stretch;flex-direction:column}
 .ttm-members-table,.ttm-members-table tbody{display:block;width:100%}
 .ttm-members-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .ttm-members-table tbody{display:grid;gap:14px}
 .ttm-members-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;border:1px solid #e0e3e5;border-radius:12px;padding:16px}
 .ttm-members-table td{display:block;min-width:0;border:0;padding:0}
 .ttm-members-table td:before{content:attr(data-label);display:block;font-size:11px;font-weight:600;color:#77818a;margin-bottom:5px}
 .ttm-members-table td:nth-child(2){grid-column:1/-1;grid-row:1;padding-bottom:12px;border-bottom:1px solid #edf0f1}
 .ttm-members-table td:nth-child(2):before{display:none}
 .ttm-members-table .ttm-person strong{font-size:15px}
 .ttm-members-table .ttm-member-actions{display:flex;flex-wrap:wrap;gap:6px}
 .ttm-members-table .ttm-empty{grid-column:1/-1;height:auto;padding:20px}
}
@container(max-width:420px){
 .ttm-members-table tr{gap:14px}
 .ttm-members-table td:nth-child(4),.ttm-members-table td:nth-child(7),.ttm-members-table td:nth-child(8){grid-column:1/-1}
}

.ttm-pdf-tools{flex-wrap:wrap}.ttm-pdf-tools label{display:flex;align-items:center;gap:8px;font-size:.85rem}.ttm-pdf-tools input{width:100px;padding:10px;border:1px solid #d5dade;border-radius:8px}

.ttm-ledger-details{margin-top:28px;padding-top:20px;border-top:1px solid #e0e3e5}.ttm-ledger-details .ttm-finance-help{margin-bottom:16px!important}.ttm-ledger-table{min-width:940px;font-size:.82rem}.ttm-ledger-payments{min-width:800px;font-size:.85rem}.ttm-ledger-table td,.ttm-ledger-payments td{padding:12px 10px}.ttm-ledger-table td:nth-child(n+4):nth-child(-n+7),.ttm-ledger-payments td:nth-child(4){font-variant-numeric:tabular-nums;white-space:nowrap}.ttm-ledger-payments .ttm-payment-note{min-width:160px;max-width:300px}

.ttm-fee-status{display:inline-block;padding:5px 10px;border-radius:999px;font-size:.78rem;font-weight:600;line-height:1.5}
.ttm-fee-status.is-paid{background:#e9f5ee;color:#17633b}
.ttm-fee-status.is-unpaid{background:#faecee;color:#a1101b}
.ttm-fee-status.is-partial{background:#fff2da;color:#825500}
.ttm-fee-status.is-missing{background:#eceef0;color:#535d65}

.ttm-security-screen{max-width:680px;margin:28px auto}.ttm-security-screen .ttm-form{margin-top:24px}.ttm-security-cancel{margin-top:16px}.ttm-2fa-qr{display:block;width:256px;max-width:100%;height:auto;background:#fff;margin:20px 0;image-rendering:pixelated}.ttm-2fa-secret{overflow-wrap:anywhere;user-select:all}.ttm-backup-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:18px;background:#f4f6f7;border-radius:12px;margin-bottom:24px}.ttm-backup-codes code{font-size:.92rem;overflow-wrap:anywhere;user-select:all}.ttm-security-confirm{border:1px solid #e0e3e5;border-radius:10px;padding:16px;min-width:0}.ttm-security-confirm legend{font-size:.85rem;font-weight:650;padding:0 6px}.ttm-security-confirm p{margin-top:12px!important}.ttm-access-section{margin-top:24px}.ttm-access-account{padding:20px 0;border-bottom:1px solid #e0e3e5;overflow-wrap:anywhere}.ttm-access-account h3{margin:0 0 8px}.ttm-access-account p{font-size:.85rem;margin-bottom:10px}@media(max-width:480px){.ttm-backup-codes{grid-template-columns:1fr}}

.ttm-metrics-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.ttm-metrics-stats strong{font-size:1.8rem}.ttm-metrics-stats .ttm-card{padding:18px}.ttm-metrics-small{min-width:0;table-layout:fixed;font-size:.82rem}.ttm-metrics-small td,.ttm-metrics-small th{overflow-wrap:anywhere;padding:10px 8px}.ttm-finance-year select{padding:10px;border:1px solid #d5dade;border-radius:8px}.ttm-card>summary{cursor:pointer;font-weight:650;color:#a1141e}@media(max-width:1100px){.ttm-metrics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
