/* Everyday workflows: one home, clear actions, progressive detail. */
.hub-shell .sidebar{overflow-y:auto;padding-top:24px}.hub-shell .brand{margin-bottom:28px}.hub-shell .nav-item{padding:10px 13px;font-size:13px}.hub-admin-label{margin-top:25px}.hub-shell .sidebar-bottom{padding-top:22px}.hub-shell .topbar{position:sticky;top:0;z-index:20;background:#fffffff2;backdrop-filter:blur(12px)}.hub-shell main{max-width:1450px}.hub-shell .page-heading{margin-bottom:26px}.hub-shell .page-heading h1{font-size:clamp(1.8rem,3vw,2.3rem)}.hub-shell .page-heading p{max-width:720px}.hub-mobile-nav{display:none}.hub-loading{display:flex;align-items:center;gap:12px;padding:28px;background:#fff;border:1px solid var(--border);border-radius:16px;color:var(--teal-dark)}
.hub-section-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}.hub-section-intro h2{font-size:16px}.text-link{color:var(--teal-dark);font-size:13px;font-weight:650}.hub-event-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hub-event-card{overflow:hidden;display:flex;flex-direction:column;background:white;border:1px solid #e0e9ed;border-radius:19px;box-shadow:0 4px 18px #173f4605}.hub-event-cover{position:relative;border:0;padding:0;height:166px;width:100%;background:#efe9f6;overflow:hidden}.hub-event-cover img,.hub-event-cover .event-photo{width:100%;height:100%;object-fit:cover}.hub-event-cover .event-visual{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.hub-event-cover .icon{width:70px;height:70px}.hub-event-cover>span{position:absolute;bottom:13px;left:17px;background:#ffffffeb;border-radius:8px;padding:5px 10px;font-size:11px;font-weight:700;color:#414a76}.hub-event-copy{padding:22px;min-width:0}.hub-event-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#778b94;margin-bottom:12px}.hub-event-title{border:0;background:transparent;padding:0;text-align:left;color:#17343f;font-size:21px;line-height:1.35;font-weight:720;margin:0 0 8px}.hub-event-title:hover{color:var(--teal-dark)}.hub-event-copy>p{margin-bottom:18px;font-size:13px}.hub-response-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:15px 0 9px}.hub-response-actions .btn{min-height:45px}.hub-response-actions .selected{color:#087b78;border-color:#9ed5cb;background:#eaf7f3}.hub-response-state{display:flex;align-items:center;gap:8px}.hub-response-state .badge{margin:0}.hub-event-foot{display:flex;flex-wrap:wrap;gap:8px}.hub-event-card.featured{display:grid;grid-template-columns:34% 1fr;border-color:#cfe3e7;box-shadow:0 8px 26px #16445007}.hub-event-card.featured .hub-event-cover{height:100%;min-height:250px}.hub-event-card.featured .hub-event-copy{padding:28px}.hub-event-card.featured .hub-event-title{font-size:27px}.hub-event-card.regional{border-color:#e4deed}.hub-event-card.regional .hub-event-cover{height:125px;opacity:.8}.hub-event-card.regional .hub-event-title{font-size:18px}.hub-home-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:24px 0}.hub-home-links>a{border:1px solid #dfe9ee;background:#fff;border-radius:14px;padding:18px;display:flex;align-items:center;gap:12px;min-width:0}.hub-home-links>a:hover{border-color:#a6d6d1}.hub-home-links>a>.icon:first-child{color:var(--teal-dark)}.hub-home-links>a>.icon:last-child{width:15px;margin-left:auto}.hub-home-links small,.hub-home-links strong{display:block}.hub-home-links small{font-size:11px}.hub-home-links strong{font-size:15px;margin-top:3px}.hub-profile-nudge{display:flex;align-items:center;gap:10px;padding:14px 18px;border-radius:13px;border:1px solid #d9e8e7;background:#edf7f5;color:#34776e;font-size:13px;margin:17px 0;flex-wrap:wrap}.hub-profile-nudge.amber{background:#fff6e5;border-color:#f4e5c6;color:#946e26}.hub-profile-nudge a{font-weight:650;margin-left:auto}.hub-profile-nudge>.icon:last-child{margin-left:auto}.hub-worklist{padding:22px}.hub-worklist>.section-head{padding:0 0 16px}.hub-pending-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.hub-pending-grid>button{background:#f8fafb;border:1px solid #e5edef;border-radius:12px;padding:12px;display:flex;align-items:center;gap:12px;text-align:left;color:#17343f}.hub-pending-grid>button:hover{background:#eff7f6}.hub-pending-grid strong,.hub-pending-grid small{display:block}.hub-pending-grid strong{font-size:13px}.hub-pending-grid small{font-size:12px}.hub-pending-grid>button>.icon:last-child{margin-left:auto;width:16px}.hub-task-mini{display:flex;gap:15px;justify-content:space-between;border-top:1px solid #edf1f3;padding:12px 0;font-size:13px}.hub-home-fine{font-size:11px;color:#81929a;padding:23px 0 0}
.hub-tabs{display:flex;padding:5px;border:1px solid #e0e9ee;border-radius:13px;background:#edf2f5;gap:5px;margin-bottom:22px;max-width:100%;overflow-x:auto}.hub-tabs button{padding:11px 20px;border:0;background:transparent;color:#72858e;border-radius:9px;font-size:13px;font-weight:650;flex:1 0 auto;min-height:43px}.hub-tabs button.active{background:white;box-shadow:0 2px 8px #1739420d;color:#087b78}.hub-tabs button:hover{color:#087b78}.hub-filterbar{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin:0 0 20px}.hub-filterbar .field{min-width:155px;flex:1 1 175px;margin-bottom:0}.hub-filterbar input,.hub-filterbar select{min-height:44px;background:#fff}.hub-filterbar>.btn{margin-bottom:1px}.hub-calendar-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.hub-calendar-toolbar .hub-tabs{margin:0}.hub-month-controls{display:flex;align-items:center;gap:10px;text-transform:capitalize}.hub-month-controls strong{font-size:14px;white-space:nowrap}.hub-month-controls .icon-btn{font-size:23px;border:1px solid #e1e9ee;background:#fff;width:42px;height:42px}.hub-calendar-admin{display:flex;justify-content:flex-start;align-items:center;gap:14px;margin-top:20px}.hub-sync-details{margin-top:25px;background:#eef3f5;border:1px solid #e1e9ee;border-radius:12px;padding:15px 18px;color:#667f88;font-size:12px}.hub-sync-details>summary{cursor:pointer;font-weight:550}.hub-sync-details .calendar-connection-card{margin:17px 0 0;display:flex;gap:15px;flex-wrap:wrap;align-items:flex-start;padding:20px}.hub-sync-line{margin:18px 0;font-size:12px;color:#6a838a}.hub-sync-details .calendar-connection-card>div{min-width:0;flex:1 1 270px}.hub-sync-details .calendar-connection-card .btn{white-space:normal}.hub-excuse-list{display:grid;gap:12px}.hub-excuse-list article{padding:18px;border:1px solid #e2e9ef;border-radius:12px}.hub-excuse-list article>div:first-child{display:flex;gap:12px;align-items:center;justify-content:space-between}.hub-excuse-list article p{margin:13px 0;color:#334f5a;white-space:pre-wrap;overflow-wrap:anywhere}.hub-excuse-list article>div:last-child{margin-top:12px;display:flex;gap:8px}.hub-attendance-modal{width:min(1100px,calc(100vw - 28px))!important}.hub-attendance-table{border:1px solid #e4ecf0;border-radius:12px}.hub-attendance-table table{width:100%;min-width:720px}.hub-attendance-table th{font-size:11px;background:#f6f9fb}.hub-attendance-table td{vertical-align:top;padding:16px 14px;width:25%}.hub-attendance-table td small{display:block;margin-top:5px;font-size:11px}.hub-attendance-table select{min-height:44px}.hub-attendance-table input{width:100%;margin-top:8px}.hub-excuse-reason{color:#365763;font-size:12px;line-height:1.65;white-space:pre-wrap;max-width:240px;overflow-wrap:anywhere}.hub-close-option{background:#edf7f6;border:1px solid #cfe4df;border-radius:12px;padding:16px;margin-top:18px}.hub-close-option .check-field{margin:7px 0}.hub-report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:20px 0}.hub-report-card{overflow:hidden}.hub-report-card>.section-head{padding:22px}.hub-report-card td>small{display:block;font-size:11px;margin-top:5px}.hub-report-card .finance-table th{font-size:11px}.hub-scope-note{padding:16px 19px;border:1px solid #dce8ed;border-left:3px solid #5eaaa3;background:#f5f9fa;border-radius:9px;font-size:13px;color:#53707c;margin-bottom:20px;line-height:1.65}.hub-report-explanation{padding:19px 22px;margin-top:20px}.hub-report-explanation>summary{font-size:13px;cursor:pointer;font-weight:650}.hub-report-explanation>p{font-size:13px;margin:14px 0 0;line-height:1.7}.hub-payment-account{padding:20px 23px;margin:20px 0}.hub-payment-account>summary{font-size:14px;cursor:pointer;font-weight:650;color:#087b78}.hub-payment-account p{font-size:13px;margin:16px 0}.hub-account-grid{display:grid;grid-template-columns:1fr 2fr;gap:20px;margin-top:20px}.hub-account-grid strong,.hub-account-grid small{display:block}.hub-account-grid .btn{margin-top:12px}.hub-iban{letter-spacing:1px;font-size:15px;overflow-wrap:anywhere}.hub-ledger-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;font-size:13px;margin:0 0 18px;border:1px solid #e1e9ee;background:#fff;border-radius:11px;padding:15px 20px;color:#72828b}.hub-ledger-strip b{color:#143d46;margin-left:8px}.hub-account-balances{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #e1e9ee;border-radius:14px;background:white;margin:18px 0}.hub-account-balances>div{padding:18px 22px;border-right:1px solid #e8eef1}.hub-account-balances>div:last-child{border:0}.hub-account-balances small,.hub-account-balances strong{display:block}.hub-account-balances strong{font-size:22px;color:#204856;margin-top:7px}.hub-row-actions{display:flex;flex-wrap:wrap;gap:7px}.hub-pager{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding:17px 20px;font-size:12px;color:#72858b}.hub-pager span{margin-right:auto}.hub-channel-summary{padding:17px 20px;font-size:13px;background:#edf7f5;border:1px solid #d6e8e4;border-radius:12px;margin-bottom:20px;display:flex;gap:10px;flex-wrap:wrap}.hub-channel-summary a{color:#087b78;font-weight:650}.hub-settings-card{padding:25px;margin-bottom:22px}.hub-settings-card>.section-head{padding:0 0 18px}.hub-settings-card>.btn{margin:5px 8px 5px 0}.hub-settings-card p{font-size:13px;line-height:1.7}.hub-admin-tools{margin-top:25px;padding:20px;background:#f0f5f6;border:1px solid #e1eaed;border-radius:13px}.hub-admin-tools>summary{font-size:13px;cursor:pointer;color:#69858c;font-weight:650}.hub-admin-tools .onboarding-card{margin-top:18px}.hub-committee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.hub-committee-card{padding:23px}.hub-committee-card>div:first-child{display:flex;align-items:center;gap:12px;justify-content:space-between}.hub-committee-card p{font-size:13px;line-height:1.7;margin-top:14px}.hub-committee-card>small{display:block;margin-bottom:16px}.hub-monthly-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.hub-monthly-stats>div{background:#f5f8fa;padding:17px;border-radius:12px}.hub-monthly-stats strong,.hub-monthly-stats small{display:block}.hub-monthly-stats strong{font-size:23px;margin-top:7px}.hub-print-summary{line-height:1.8}
@media(max-width:1100px){.hub-home-links{grid-template-columns:1fr 1fr}.hub-home-links>a:last-child{grid-column:1/-1}.hub-shell main{padding-inline:25px}.hub-event-card.featured{grid-template-columns:30% 1fr}.hub-response-actions .btn{font-size:12px}.hub-event-card.featured .hub-event-copy{padding:24px}}
@media(max-width:800px){.hub-calendar-toolbar{align-items:stretch;flex-direction:column;gap:12px}.hub-month-controls{justify-content:space-between}.hub-pending-grid,.hub-committee-grid{grid-template-columns:1fr}.hub-event-grid{grid-template-columns:1fr}.hub-shell .topbar{padding:0 20px}.hub-event-card.featured .hub-event-title{font-size:24px}.hub-home-links{gap:10px}.hub-home-links>a{padding:15px}.hub-sync-details .calendar-connection-card{display:block}.hub-sync-details .calendar-connection-card>.btn{display:inline-flex;margin:8px 5px 0 0}.hub-report-summary{gap:12px}.hub-monthly-stats{grid-template-columns:1fr 1fr}.hub-account-grid{grid-template-columns:1fr}.hub-report-card .finance-table-wrap{overflow-x:auto}.hub-report-card .finance-table{display:table;min-width:670px}.hub-report-card .finance-table thead{display:table-header-group;position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal}.hub-report-card .finance-table tbody{display:table-row-group;padding:0}.hub-report-card .finance-table tr{display:table-row;padding:0}.hub-report-card .finance-table th,.hub-report-card .finance-table td{display:table-cell;padding:14px;min-width:0;border-bottom:1px solid #e8eef2}.hub-report-card .finance-table td:before{display:none!important}.hub-pager{flex-wrap:wrap}.hub-filterbar .field{flex-basis:calc(50% - 8px);min-width:0}.hub-filterbar>.btn{flex:1 1 100%}}
@media(max-width:720px){.hub-shell .sidebar{width:270px;flex-basis:270px}.hub-shell .topbar{height:66px;padding:0 16px}.hub-shell .topbar-right{gap:9px}.hub-shell .period-pill{font-size:11px;padding:6px 8px}.hub-shell main{padding:24px 16px 35px;min-height:calc(100dvh - 155px)}.hub-shell .workspace{padding-bottom:64px}.hub-shell .page-heading{align-items:flex-start;gap:12px}.hub-shell .page-heading h1{font-size:27px}.hub-shell .page-heading p{font-size:13px;line-height:1.7}.hub-shell footer{padding-bottom:15px}.hub-mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid #dde8ed;z-index:35;backdrop-filter:blur(15px)}.hub-mobile-nav>a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:#8a9aa2;min-height:42px}.hub-mobile-nav>a[aria-current]{color:#087b78;font-weight:700}.hub-mobile-nav .icon{width:21px;height:21px}.hub-shell .sidebar{z-index:60}.hub-shell .sidebar-scrim{z-index:55}.hub-event-card.featured{grid-template-columns:1fr}.hub-event-card.featured .hub-event-cover{height:162px;min-height:0}.hub-event-card.featured .hub-event-copy{padding:21px}.hub-event-card.featured .hub-event-title{font-size:23px}.hub-event-top{font-size:11px}.hub-response-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.hub-response-actions .btn{font-size:12px;white-space:normal;padding:10px;min-height:46px}.hub-response-actions .text-btn{grid-column:1/-1;min-height:40px}.hub-home-links{grid-template-columns:1fr}.hub-home-links>a:last-child{grid-column:auto}.hub-section-intro h2{font-size:14px}.hub-home-links strong{font-size:15px}.hub-home-links small{font-size:12px}.hub-worklist{padding:18px}.hub-pending-grid>button{min-height:68px}.hub-profile-nudge{font-size:12px;padding:14px}.hub-home-fine{font-size:10px}.hub-tabs button{font-size:12px;padding:10px 14px}.hub-calendar-admin{flex-wrap:wrap;gap:10px}.hub-sync-details{padding:15px 13px}.hub-sync-details .calendar-connection-card{padding:16px}.hub-sync-details .calendar-connection-card p{font-size:12px;overflow-wrap:break-word}.hub-attendance-table{overflow:visible}.hub-attendance-table table{display:block;min-width:0}.hub-attendance-table thead{display:none}.hub-attendance-table tbody{display:block}.hub-attendance-table tr{display:block;padding:16px;border-bottom:1px solid #e3eaed}.hub-attendance-table td{display:block;width:100%;padding:8px 0;border:0}.hub-attendance-table td:nth-child(2):before{content:'ÖN YANIT';font-size:10px;color:#7c9198;display:block;margin-bottom:5px}.hub-attendance-table td:nth-child(3):before{content:'MAZERET';font-size:10px;color:#7c9198;display:block;margin-bottom:5px}.hub-attendance-table td:nth-child(4):before{content:'GERÇEK YOKLAMA';font-size:10px;color:#7c9198;display:block;margin-bottom:5px}.hub-excuse-reason{max-width:none}.hub-attendance-modal .hub-filterbar .field{flex-basis:100%}.hub-account-balances{grid-template-columns:1fr}.hub-account-balances>div{border-right:0;border-bottom:1px solid #e8eef1;padding:16px 20px}.hub-account-balances>div:last-child{border-bottom:0}.hub-account-balances strong{font-size:21px}.hub-report-summary{grid-template-columns:1fr}.hub-report-card>.section-head{padding:20px 17px;flex-wrap:wrap;gap:12px}.hub-payment-account,.hub-settings-card{padding:21px 18px}.hub-iban{font-size:14px;line-height:1.8}.hub-settings-card .btn{min-height:44px;white-space:normal}.hub-pager span{flex-basis:100%}.hub-pager .btn{flex:1}.hub-calendar-toolbar .hub-tabs{width:100%}.hub-ledger-strip{font-size:12px;padding:15px}.hub-scope-note{font-size:12px}.hub-channel-summary{font-size:12px}.debtor-card .debtor-breakdown{font-size:12px}.hub-print-summary{font-size:13px}}
@media(prefers-reduced-motion:reduce){.hub-shell *{scroll-behavior:auto!important}}
@media print{.hub-mobile-nav,.hub-tabs,.hub-filterbar,.hub-sync-details,.hub-calendar-admin,.hub-admin-tools,.hub-row-actions,.hub-shell .topbar{display:none!important}.hub-shell .workspace{margin-left:0;padding-bottom:0}.hub-shell main{padding:0}.hub-event-card,.hub-settings-card,.hub-report-card{break-inside:avoid}.hub-report-card .finance-table{min-width:0!important}.hub-home-fine{font-size:10px}}
.hub-channel-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 24px}.hub-channel-status>div,.hub-channel-status>a{display:flex;align-items:center;gap:12px;background:white;border:1px solid #e1e9ee;border-radius:13px;padding:17px;min-width:0}.hub-channel-status strong,.hub-channel-status small{display:block}.hub-channel-status strong{font-size:13px}.hub-channel-status small{font-size:11px;margin-top:3px}.hub-channel-status .badge,.hub-channel-status>a>.icon:last-child{margin-left:auto}.hub-channel-status>.icon{color:var(--teal-dark)}.hub-compose{border:1px solid #e2e9ed;background:#fff;border-radius:14px;margin:0 0 23px;overflow:hidden}.hub-compose>summary{padding:19px 21px;color:var(--teal-dark);font-size:14px;font-weight:650;cursor:pointer}.hub-compose .composer-card{border:0;border-top:1px solid #e5edf0;border-radius:0}.hub-message-log>.hub-filterbar{padding:0 20px 0}.hub-message-log .text-btn{display:block;text-align:left;font-size:12px;margin-top:5px}.hub-message-log .finance-table td>strong{font-size:13px}.hub-message-log .finance-table td>small{display:block;font-size:11px;margin-top:5px}
@media(max-width:1100px){.hub-channel-status{grid-template-columns:1fr}.hub-channel-status>div,.hub-channel-status>a{padding:15px 18px}.hub-channel-status small{font-size:12px}}
.sidebar a,.sidebar img{-webkit-user-drag:none}.sidebar.open{touch-action:pan-y;user-select:none}

/* v2.0.1: visible focus, predictable scrolling and compact mobile actions. */
.hub-shell a:focus-visible,.hub-shell button:focus-visible,#modal button:focus-visible{outline:3px solid #0b8d89;outline-offset:3px}
.hub-shell .sidebar[inert]{visibility:hidden}
@media(min-width:981px){.hub-shell .sidebar[inert]{visibility:visible}}
.hub-tabs{scrollbar-width:thin;scrollbar-color:#c0d4d9 transparent;scroll-padding-inline:8px}
.hub-scrollable{position:relative;background:linear-gradient(to right,#fff 25%,#ffffff00) left/35px 100% no-repeat local,linear-gradient(to left,#fff 25%,#ffffff00) right/35px 100% no-repeat local,linear-gradient(to right,#b6d0d980,#ffffff00) left/14px 100% no-repeat scroll,linear-gradient(to left,#b6d0d980,#ffffff00) right/14px 100% no-repeat scroll;scrollbar-width:thin;scrollbar-color:#b2cbd2 #f4f7fa}
.hub-scrollable:focus-visible{outline:2px solid #0b8d89;outline-offset:-2px}
body:has(#modal[open]){overflow:hidden}
.hub-response-actions .btn[aria-busy="true"]{opacity:.65;cursor:wait}

/* Intent is visually distinct from real attendance: one shared status panel. */
.hub-face{width:22px;height:22px;flex-shrink:0;display:block}
.hub-rsvp-panel{--intent:#566c7d;--intent-bg:#f3f6fa;--intent-border:#dce5ee;margin-top:18px;padding:15px;border:1px solid var(--intent-border);border-radius:18px;background:var(--intent-bg);min-width:0}
.hub-rsvp-panel.going{--intent:#16785c;--intent-bg:#edf8f2;--intent-border:#a6d7c2}
.hub-rsvp-panel.not_going{--intent:#a44862;--intent-bg:#fcf1f4;--intent-border:#e9bdc9}
.hub-rsvp-panel.excuse{--intent:#8a611d;--intent-bg:#fff8eb;--intent-border:#e9d29d}
.hub-rsvp-status{display:flex;align-items:center;gap:11px;min-width:0;color:var(--intent)}
.hub-rsvp-face{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;border:1px solid var(--intent-border);flex-shrink:0}
.hub-rsvp-face .hub-face{width:28px;height:28px}
.hub-rsvp-status>div{min-width:0;flex:1}
.hub-rsvp-status strong{display:block;font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.hub-rsvp-status small{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin-top:4px;color:var(--intent);font-size:11px;line-height:1.6}
.hub-rsvp-status small .icon{width:13px;height:13px;flex-shrink:0}
.hub-rsvp-status .hub-rsvp-error{color:#a2394e;font-weight:600}
.hub-rsvp-panel .hub-response-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin:14px 0 11px}
.hub-response-actions .hub-rsvp-choice{display:flex;justify-content:center;align-items:center;gap:7px;border:1.5px solid #d5e0e6;border-radius:999px;background:#fff;color:#48616d;box-shadow:none;padding:10px 13px;min-height:44px;font-size:12px;line-height:1.35;flex:1;white-space:nowrap}
.hub-rsvp-choice .hub-face{width:19px;height:19px}
.hub-rsvp-choice .hub-choice-mark{width:15px;height:15px;flex-shrink:0;display:grid;place-items:center}
.hub-rsvp-choice .hub-choice-mark .icon{width:15px;height:15px}
.hub-response-actions .hub-rsvp-choice[aria-pressed="true"].going{background:#16785c;border-color:#16785c;color:#fff;box-shadow:0 3px 9px #16785c22}
.hub-response-actions .hub-rsvp-choice[aria-pressed="true"].not_going{background:#a44862;border-color:#a44862;color:#fff;box-shadow:0 3px 9px #a4486222}
.hub-response-actions .hub-rsvp-choice[aria-pressed="true"].excuse{background:#8a611d;border-color:#8a611d;color:#fff}
.hub-rsvp-choice:hover:not(:disabled){border-color:currentColor}
.hub-rsvp-choice:focus-visible{outline:3px solid #7faadc;outline-offset:3px}
.hub-rsvp-choice:disabled{opacity:.65;cursor:wait}
.hub-rsvp-help{display:block;color:#556d79;font-size:11px;line-height:1.65}
.response-card.hub-rsvp-panel{margin:20px 0;padding:17px}
.hub-rsvp-panel .hub-my-excuse{border-top:1px solid var(--intent-border);padding-top:12px;margin-top:12px;color:var(--intent);font-size:12px;line-height:1.7}
.hub-my-excuse p{margin:8px 0;overflow-wrap:anywhere}
.hub-event-cover>span{bottom:auto;top:12px;left:14px;font-size:10px;padding:5px 9px;max-width:calc(100% - 28px)}
.hub-reply-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 0}
.hub-reply-summary .hub-reply-count{display:flex;align-items:center;gap:8px;padding:10px;border-radius:13px;border:1px solid #e0e7ed;background:#f4f7fa;color:#566c7d;min-width:0;line-height:1.5;font-size:11px}
.hub-reply-count>span{min-width:0}
.hub-reply-summary .hub-reply-count b{display:inline;font-size:15px;color:inherit}
.hub-reply-summary .going{background:#edf8f2;border-color:#cbe7d8;color:#16785c}
.hub-reply-summary .not_going{background:#fcf1f4;border-color:#efd5dd;color:#a44862}
.hub-reply-summary .excuse{background:#fff8eb;border-color:#eee0bd;color:#8a611d}
.hub-reply-count .hub-face{width:23px;height:23px}
.hub-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}
.hub-roster-person{--row-accent:#b6c5d2;border:1px solid #dfe7ed;border-left:4px solid var(--row-accent);border-radius:15px;padding:16px;background:#fff;min-width:0}
.hub-roster-person.going{--row-accent:#48a583;background:#f8fcfa}
.hub-roster-person.not_going{--row-accent:#c5748b;background:#fffafb}
.hub-roster-person.excuse{--row-accent:#c69949;background:#fffcf5}
.hub-roster-identity .finance-person{gap:10px}
.hub-roster-identity .finance-person>span:last-child{min-width:0}
.hub-roster-identity .finance-person strong{display:block;font-size:13px;overflow-wrap:anywhere}
.hub-roster-identity .finance-person small{font-size:10px;margin-top:3px;color:#607682}
.hub-roster-response{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}
.rsvp-intent.hub-intent-pill{display:inline-flex;gap:6px;align-items:center;border:1px solid #dce5ee;background:#f1f5f9;color:#566c7d;border-radius:999px;padding:6px 10px;font-size:11px;line-height:1.4;margin:0;font-weight:600;max-width:100%;overflow-wrap:anywhere}
.hub-intent-pill .hub-face{width:18px;height:18px}
.rsvp-intent.hub-intent-pill.going{color:#16785c;background:#e9f6ef;border-color:#bfe2cf}
.rsvp-intent.hub-intent-pill.not_going{color:#a44862;background:#faedf1;border-color:#edcad5}
.rsvp-intent.hub-intent-pill.excuse{color:#8a611d;background:#fff4dd;border-color:#e9d19b}
.hub-roster-time{font-size:10px;color:#5b7180;white-space:nowrap}
.hub-roster-excuse{padding-top:11px;margin-top:12px;border-top:1px solid #e7dfcd;font-size:12px;line-height:1.7;color:#685a40}
.hub-roster-excuse summary{cursor:pointer;font-weight:700;min-height:44px}
.hub-roster-excuse p{margin:7px 0 9px;overflow-wrap:anywhere}
.hub-roster-excuse small{display:block;font-size:10px;color:#6e6250;line-height:1.7}
.roster-head>div{min-width:0}
.roster-head h3{margin:0;font-size:17px}
.roster-head p{margin:5px 0 0;font-size:11px;color:#607682}
@media(max-width:1100px){.hub-rsvp-panel .hub-response-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.hub-rsvp-choice.excuse{grid-column:1/-1}}
@media(max-width:900px){.hub-event-card.featured{display:block}.hub-event-card.featured .hub-event-cover{display:block;aspect-ratio:auto;height:clamp(162px,27vw,230px);min-height:0}.hub-event-card.featured.meeting .hub-event-cover img{object-fit:contain;background:linear-gradient(120deg,#153b81,#817ade)}}
@media(max-width:600px){
 .hub-rsvp-panel{padding:12px;margin-top:15px;border-radius:16px}
 .response-card.hub-rsvp-panel{padding:12px}
 .hub-rsvp-status{gap:9px;align-items:flex-start}
 .hub-rsvp-status strong{font-size:14px}
 .hub-rsvp-face{width:36px;height:36px}
 .hub-rsvp-face .hub-face{width:25px;height:25px}
 .hub-rsvp-panel .hub-response-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .hub-response-actions .hub-rsvp-choice:not(.excuse){position:relative;display:flex;flex-direction:column;gap:5px;padding:9px 6px;min-height:65px;font-size:12px}
 .hub-rsvp-choice:not(.excuse) .hub-choice-mark{position:absolute;top:8px;right:9px}
 .hub-response-actions .hub-rsvp-choice.excuse{grid-column:1/-1;min-height:44px;padding:10px;font-size:12px}
 .hub-rsvp-status small{font-size:10px;gap:3px}
 .hub-rsvp-help{font-size:10px}
 .hub-reply-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .hub-reply-summary .hub-reply-count{font-size:10px;padding:9px;gap:7px}
 .hub-roster{grid-template-columns:1fr;gap:10px}
 .hub-roster-person{padding:14px;border-radius:14px}
 .hub-roster-identity .finance-person strong{font-size:14px}
 .hub-roster-identity .finance-person small{font-size:11px}
 .hub-roster-response{justify-content:space-between;gap:8px;margin-top:12px}
 .rsvp-intent.hub-intent-pill{font-size:11px;padding:7px 10px}
 .hub-attendance-table{border:0;background:#f5f8fa;padding:8px;border-radius:14px}
 .hub-attendance-table tr{padding:14px;background:#fff;border:1px solid #e0e7ed;border-radius:14px;margin-bottom:12px}
 .hub-attendance-table tr:last-child{margin-bottom:0}
 .hub-attendance-table td:nth-child(2){padding-bottom:12px;border-bottom:1px solid #edf1f4}
 .hub-attendance-table td:nth-child(4){padding-top:12px;border-top:1px solid #edf1f4}
 .hub-attendance-table td:before{letter-spacing:.09em;font-weight:700}
 .hub-attendance-table .hub-intent-pill .hub-face{width:18px;height:18px}
 .hub-attendance-table td small{font-size:10px}
 .hub-attendance-table .finance-person>span:last-child{min-width:0}
 .hub-attendance-table .finance-person strong{overflow-wrap:anywhere}
}
@media(max-width:360px){
 .hub-response-actions .hub-rsvp-choice:not(.excuse){font-size:11px}
 .hub-rsvp-panel .hub-response-actions{gap:6px}
 .hub-rsvp-status strong{font-size:13px}
}

/* Match the JavaScript drawer boundary. The old CSS hid it only at 720 px. */
@media(max-width:980px){
 .hub-shell .workspace{margin-left:0}
 .hub-shell .mobile-menu{display:inline-flex}
 .hub-shell .sidebar{width:min(290px,86vw);transform:translateX(-100%);transition:transform .2s ease;z-index:56}
 .hub-shell .sidebar.open{transform:translateX(0)}
 .hub-shell .sidebar-close{display:grid}
 .hub-shell .sidebar-scrim{z-index:55}
}
.hub-filterbar .field>span{color:#47636e}
@media(max-width:720px){
  .hub-shell .workspace{padding-bottom:calc(70px + env(safe-area-inset-bottom))}
  .hub-shell .topbar{padding-top:env(safe-area-inset-top);height:calc(66px + env(safe-area-inset-top))}
  .hub-shell .sidebar{padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}
  .hub-tabs{max-width:100%;gap:4px}.hub-tabs button{min-height:44px;flex-shrink:0}
  .hub-shell .page-heading .heading-actions{width:100%}.hub-shell .heading-actions .btn{min-height:44px}
  .hub-shell .topbar .breadcrumb strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:calc(100vw - 205px)}
  .hub-shell .fine,.hub-home-fine{font-size:11px;line-height:1.7}
  .hub-shell .hub-pager .btn{min-height:44px}.hub-month-controls .icon-btn{min-width:44px;min-height:44px}
}
@media(max-width:360px){.hub-shell .period-pill{display:none}.hub-shell .topbar .breadcrumb strong{max-width:calc(100vw - 150px)}}
@media(prefers-reduced-motion:reduce){.hub-shell *{animation:none!important;transition:none!important}}

.hub-scroll-hint{display:none;margin:0;padding:8px 16px;color:#466875;font-size:11px;line-height:1.6;background:#f3f8fa;border-top:1px solid #e0ebee}
.hub-scroll-hint[hidden]{display:none!important}
@media(max-width:800px){.hub-scroll-hint{display:block}}
@media(max-width:720px){.hub-shell input:not([type=checkbox]):not([type=radio]),.hub-shell select,.hub-shell textarea,#modal input:not([type=checkbox]):not([type=radio]),#modal select,#modal textarea{font-size:16px}.hub-shell .btn,.hub-shell .icon-btn{min-height:44px}.hub-shell .icon-btn{min-width:44px}}
@media print{.hub-scroll-hint{display:none!important}}

@media(max-width:720px){.auth-form input,.auth-form select,.auth-form textarea{font-size:16px}}

.hub-own-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.hub-own-report-actions{margin:20px 0}.hub-own-report-grid .personal-stat{min-width:0}.hub-own-report-grid .stat-label{font-weight:650;color:#3f6370}.hub-own-report-grid .personal-stat .fine{margin-top:12px}
@media(max-width:800px){.hub-own-report-grid{grid-template-columns:1fr}.hub-own-report-grid .personal-stat{padding:23px 20px}.hub-own-report-grid .stat-value{font-size:40px}.hub-own-report-actions>.btn{width:100%;min-height:44px}}

/* A short member form, with optional settings kept behind one disclosure. */
.hub-member-modal .modal-body{background:#f7fafb;padding:22px}
.hub-member-intro p{font-size:13px;line-height:1.7;margin:0 0 17px;color:#526b77}
.hub-member-types{border:0;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hub-member-types legend{font-size:12px;font-weight:700;color:#506b79;margin-bottom:9px}
.hub-member-type{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;border:1.5px solid #dae4e9;border-radius:15px;background:white;cursor:pointer;min-width:0;color:#54707b}
.hub-member-type input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.hub-member-type strong{font-size:15px;color:#244651}
.hub-member-type small{font-size:11px;line-height:1.5;color:#607982}
.hub-member-type-art{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#f0f5f8}
.hub-member-type-art .icon{width:20px;height:20px}
.hub-type-check{position:absolute;top:13px;right:13px;display:none}
.hub-type-check .icon{width:16px;height:16px}
.hub-member-type.selected{border-color:#218c80;background:#edf8f5;color:#16756b;box-shadow:0 0 0 1px #218c8012}
.hub-member-type.selected.guest{border-color:#b65b7c;background:#fcf1f5;color:#a34c6c}
.hub-member-type.selected.candidate{border-color:#ae8433;background:#fff9ed;color:#88631e}
.hub-member-type.selected .hub-type-check{display:block}
.hub-member-type:focus-within{outline:3px solid #79b6de;outline-offset:3px}
.hub-member-type:has(input:disabled){cursor:default}
.hub-member-type-note{font-size:12px;line-height:1.75;margin:12px 0 18px;padding:12px 15px;border-radius:12px;background:#eaf5f2;color:#386e65;border:1px solid #d0e8df}
.hub-member-type-note.guest{background:#fcf1f5;color:#8e4761;border-color:#efd6df}
.hub-member-type-note.candidate{background:#fff8e8;color:#81602d;border-color:#ead9b5}
.hub-member-section{padding:19px;border:1px solid #e0e8ec;border-radius:15px;background:#fff;margin-bottom:14px;min-width:0}
.hub-member-section h3{font-size:14px;margin-bottom:16px;color:#264954}
.hub-member-section .form-grid{gap:12px 16px}
.hub-member-section .field{margin-bottom:10px}
.hub-member-section .field>span,.hub-member-advanced .field>span{font-size:12px;color:#486673}
.hub-member-section .check{font-size:11px}
.hub-member-section .fine{font-size:11px;line-height:1.7;color:#607a86}
.hub-member-plan{padding:12px 14px;border-radius:11px;background:#eef7f5;color:#326c62;font-size:12px;line-height:1.8}
.hub-member-advanced{background:#fff;border:1px solid #e0e8ec;border-radius:14px;margin:15px 0;overflow:hidden}
.hub-member-advanced>summary{display:flex;align-items:center;gap:8px;padding:16px;font-size:13px;font-weight:650;cursor:pointer;min-height:52px;color:#3c5b68}
.hub-member-advanced>summary .icon{width:18px;height:18px}
.hub-member-advanced>summary>span{margin-left:auto;font-size:10px;font-weight:500;color:#667e87}
.hub-member-advanced>summary:after{content:'+';margin-left:5px;color:#527584;font-size:20px;font-weight:400}
.hub-member-advanced[open]>summary:after{content:'−'}
.hub-member-advanced-body{padding:2px 18px 18px;border-top:1px solid #edf1f3}
.hub-member-advanced-body>.form-grid{padding-top:17px}
.hub-member-advanced-body h4{font-size:13px;margin:15px 0 8px}
.hub-member-advanced-body .fine{font-size:11px;line-height:1.7}
.hub-member-advanced-body .field textarea{resize:vertical;min-height:85px}
.hub-member-change{border:1px solid #eed7ad;border-radius:12px;padding:15px;background:#fff8eb;margin:15px 0}
.hub-member-change .field{margin-bottom:7px}
.hub-member-change small{font-size:11px;color:#7b643f;line-height:1.7}
.hub-member-footnote{margin:14px 2px 0;font-size:11px;color:#607681;line-height:1.65}
.hub-member-modal [hidden]{display:none!important}
@media(max-width:600px){
 .hub-member-modal .modal-body{padding:14px}
 .hub-member-types{gap:7px}
 .hub-member-type{padding:12px 5px;align-items:center;text-align:center;gap:6px;min-height:92px;justify-content:center}
 .hub-member-type strong{font-size:12px}
 .hub-member-type small{display:none}
 .hub-type-check{top:7px;right:6px}
 .hub-type-check .icon{width:12px;height:12px}
 .hub-member-type-art{width:28px;height:28px}
 .hub-member-type-art .icon{width:18px;height:18px}
 .hub-member-section{padding:15px}
 .hub-member-section .form-grid,.hub-member-advanced .form-grid{grid-template-columns:1fr}
 .hub-member-advanced-body{padding:0 14px 14px}
 .hub-member-advanced>summary{font-size:12px;padding:14px;gap:6px}
 .hub-member-advanced>summary>span{font-size:9px}
 .hub-member-modal .modal-foot{gap:8px;flex-wrap:wrap}
 .hub-member-modal .modal-foot .primary{flex:1;white-space:normal;min-width:0}
 .hub-member-section .check,.hub-member-advanced .check{align-items:flex-start;line-height:1.6}
}
/* Personal notification controls; clear on a small phone, with no horizontal table. */
.hub-pref-card{overflow:hidden;padding:0!important}
.hub-preferences{min-width:0}
.hub-pref-section{padding:24px;border-bottom:1px solid #e3ebef}
.hub-pref-heading{display:flex;align-items:flex-start;gap:12px;margin-bottom:22px}
.hub-pref-heading h2,.hub-pref-section>h2{font-size:18px;line-height:1.4;margin:0 0 6px;color:#244653}
.hub-pref-heading p,.hub-pref-description{font-size:12px;line-height:1.7;margin:0;color:#5d7481}
.hub-pref-icon{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#eaf5f3;color:#168277}
.hub-pref-icon .icon{width:21px;height:21px}
.hub-pref-section .form-grid{gap:16px}
.hub-pref-monthly{display:flex;flex-wrap:wrap;gap:14px;background:#eff8f5;border-block:1px solid #d4e9e0;padding:22px 24px;align-items:flex-start}
.hub-pref-monthly>div{flex:1;min-width:180px}
.hub-pref-monthly h3{font-size:16px;margin:6px 0 8px;color:#265548}
.hub-pref-monthly p{font-size:12px;line-height:1.8;margin:0;color:#477165}
.hub-pref-tag{font-size:10px;letter-spacing:1px;font-weight:700;color:#397467}
.hub-pref-locked{display:flex;gap:5px;align-items:center;font-size:11px;padding:7px 9px;border-radius:20px;background:white;color:#33785f;white-space:nowrap}
.hub-pref-locked .icon{width:14px;height:14px}
.hub-pref-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hub-pref-category{min-width:0;border:1px solid #dce7eb;border-radius:14px;padding:17px;background:#fbfdfd}
.hub-pref-category-title{display:flex;gap:8px;align-items:center}
.hub-pref-category-title>.icon{width:18px;height:18px;color:#378d84;flex-shrink:0}
.hub-pref-category h3{font-size:14px;margin:0;color:#355660;line-height:1.5}
.hub-pref-category>p{font-size:11px;color:#607984;line-height:1.65;min-height:37px;margin:9px 0 15px}
.hub-pref-category .field{margin:0 0 10px}
.hub-pref-category .field>span{font-size:10px}
.hub-pref-category select{width:100%;padding:11px 27px 11px 10px;font-size:12px;min-height:44px;text-overflow:ellipsis}
.hub-pref-mode-note{display:block;font-size:11px;line-height:1.65;color:#607984;min-height:36px}
.hub-pref-category[data-mode="off"]{background:#f6f8fa;border-color:#e2e8ec}
.hub-pref-category[data-mode="off"] .hub-pref-mode-note{color:#7d5f46}
.hub-pref-category[data-mode="once"],.hub-pref-category[data-mode="day"]{border-color:#a5d6cd;background:#f4fbf9}
.hub-pref-help{font-size:11px;line-height:1.9;color:#5e7783;margin:19px 0 0}
.hub-pref-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hub-pref-channel-grid>div{min-width:0}
.hub-pref-channel-grid small{display:block;font-size:11px;line-height:1.8;color:#607985;padding-left:30px}
.hub-preferences .check{align-items:flex-start;gap:10px;font-size:12px;line-height:1.8;margin:13px 0;color:#42616e}
.hub-preferences .check input{flex-shrink:0;margin-top:2px}
.hub-pref-acknowledgements{margin:22px 24px;padding:18px;border:1px solid #e9cf9b;border-radius:14px;background:#fff8eb}
.hub-pref-acknowledgements h3{font-size:14px;margin:0 0 9px;color:#85622a}
.hub-pref-acknowledgements p{font-size:12px;line-height:1.8;color:#806840;margin:0 0 10px}
.hub-pref-acknowledgements .check{color:#765d37}
.hub-pref-acknowledgements[hidden]{display:none!important}
.hub-pref-essential{padding:0 24px;font-size:11px;line-height:1.9;color:#5f7783;margin:22px 0}
.hub-pref-save{background:#f8fafb;padding:20px 24px;display:flex;gap:15px;align-items:center;justify-content:space-between;border-top:1px solid #e4ecef}
.hub-pref-save>span{font-size:11px;color:#617c87;line-height:1.6}
@media(max-width:600px){
 .hub-pref-grid,.hub-pref-channel-grid{grid-template-columns:1fr;gap:12px}
 .hub-pref-section{padding:20px 16px}
 .hub-pref-heading h2,.hub-pref-section>h2{font-size:17px}
 .hub-pref-section .form-grid{grid-template-columns:1fr}
 .hub-pref-category>p{min-height:0}
 .hub-pref-mode-note{min-height:0}
 .hub-pref-category select,.hub-pref-section input{font-size:16px}
 .hub-pref-monthly{padding:20px 16px}
 .hub-pref-monthly>div{min-width:145px}
 .hub-pref-locked{margin-left:52px}
 .hub-pref-acknowledgements{margin:18px 16px;padding:15px}
 .hub-pref-essential{padding:0 16px}
 .hub-pref-save{padding:18px 16px;flex-direction:column;align-items:stretch}
 .hub-pref-save .btn{width:100%;min-height:48px}
}
.hub-pref-card #profile-form{padding:0}
/* Small screens: keep controls legible, financial labels attached, and dialogs reachable. */
.hub-shell .field,#modal .field{min-width:0}
.hub-shell input:not([type=checkbox]):not([type=radio]),.hub-shell select,.hub-shell textarea,#modal input:not([type=checkbox]):not([type=radio]),#modal select,#modal textarea{max-width:100%;box-sizing:border-box}
@media(max-width:980px){
 .hub-shell .section-head{flex-wrap:wrap;gap:12px}
 .hub-shell .section-head>div:first-child{min-width:0;flex:1 1 180px}
 .hub-shell .section-head .btn,.hub-shell .section-head .text-link{min-width:0;max-width:100%;white-space:normal;line-height:1.5}
 .hub-shell .section-head h2,.hub-shell .section-head p{overflow-wrap:anywhere}
 .hub-shell .request-card-head>div{min-width:0;flex:1 1 145px;overflow-wrap:anywhere}
 .hub-shell .request-amounts>span{min-width:0;flex:1 1 100px}
 .hub-shell .claim-title>strong,.hub-shell .thread-top small{overflow-wrap:anywhere}
 .hub-shell .claim-symbol{flex-shrink:0}
 .hub-shell .hub-committee-card>div:first-child{flex-wrap:wrap}
 .hub-shell .hub-committee-card h2{min-width:0;overflow-wrap:anywhere}
 .hub-shell input:not([type=checkbox]):not([type=radio]),.hub-shell select,.hub-shell textarea,#modal input:not([type=checkbox]):not([type=radio]),#modal select,#modal textarea{font-size:16px}
 .hub-shell .tab,.hub-shell .watch-tabs button,.hub-shell .community-tabs button,#modal .icon-btn{min-height:44px}
 #modal .icon-btn{min-width:44px}
 .hub-shell .check,#modal .check{min-height:44px;padding-block:4px;align-items:flex-start;box-sizing:border-box}
 .hub-shell .check input,#modal .check input{flex-shrink:0}
 #modal{width:min(760px,calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px));max-width:calc(100vw - env(safe-area-inset-left) - env(safe-area-inset-right) - 24px);max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}
 #modal #modal-form{max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 26px)}
 #modal .modal-foot{gap:8px;flex-wrap:wrap}
 #modal .modal-foot .btn{min-height:44px;max-width:100%;min-width:0}
 #modal .modal-body{scroll-padding-block:16px}
}
@media(max-width:720px){
 #toast{bottom:calc(84px + env(safe-area-inset-bottom));max-height:calc(50dvh - 20px);overflow-y:auto;line-height:1.6}
 .hub-shell .finance-ledger .finance-person{min-width:0;flex:1 1 120px}
 .hub-shell .finance-ledger .finance-person>span:last-child{min-width:0}
 .hub-shell .finance-ledger .finance-person strong{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 .hub-shell .finance-ledger .finance-table tr,#modal .finance-table tr:has(.money-cell){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 4px}
 .hub-shell .finance-ledger .finance-table .money-cell,#modal .finance-table .money-cell{border-radius:10px;background:#f3f7f9;padding:11px;min-width:0}
 .hub-shell .finance-ledger .finance-table .money-cell:before,#modal .finance-table .money-cell:before{font-size:10px;color:#536e7b;line-height:1.6}
 .hub-shell .finance-ledger .finance-table .money-cell strong,#modal .finance-table .money-cell strong{font-size:clamp(14px,4vw,18px);line-height:1.5;font-variant-numeric:tabular-nums;letter-spacing:-.2px}
 .hub-shell .finance-ledger .finance-table .money-cell.collected,#modal .finance-table .money-cell.collected{background:#edf8f3}
 .hub-shell .finance-ledger .finance-table .money-cell.outstanding,#modal .finance-table .money-cell.outstanding{background:#fff5e7}
 .hub-shell .finance-ledger .finance-table td[data-label="Kalan"]{grid-column:1/-1}
 .hub-shell .finance-ledger .finance-table td[data-label="Kalan"] strong{font-size:21px}
 .hub-shell .finance-ledger .finance-actions>div{display:flex;flex-wrap:wrap;gap:8px}
 .hub-shell .finance-ledger .finance-actions>.btn{width:100%;justify-content:center}
 .hub-shell .finance-ledger .finance-actions>div>.btn{flex:1 1 100px;justify-content:center}
 .hub-shell .finance-ledger .finance-table td[data-label="Durum"]{gap:9px;line-height:1.6}
 #modal .finance-table .finance-person strong{white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:980px){
 body.hub-keyboard-open .hub-mobile-nav{display:none}
 body.hub-keyboard-open .hub-shell .workspace{padding-bottom:0}
 body.hub-keyboard-open #modal{position:fixed;inset:auto;margin:0 auto;left:0;right:0;top:calc(var(--hub-visible-top,0px) + env(safe-area-inset-top) + 12px);max-height:calc(var(--hub-visible-height,100dvh) - env(safe-area-inset-top) - 24px)}
 body.hub-keyboard-open #modal #modal-form{max-height:calc(var(--hub-visible-height,100dvh) - env(safe-area-inset-top) - 26px)}
 body.hub-keyboard-open #toast{bottom:calc(100dvh - var(--hub-visible-height,100dvh) - var(--hub-visible-top,0px) + 12px)}
}
@media(max-width:980px){
 body.hub-keyboard-open #modal .form-feedback{max-height:min(90px,22vh)}
 body.hub-viewport-short #modal #modal-form{display:block;overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:60px 16px}
 body.hub-viewport-short #modal .modal-head{position:sticky;top:0;z-index:4;background:#fff;padding:10px 14px}
 body.hub-viewport-short #modal .modal-body{overflow:visible;max-height:none}
 body.hub-viewport-short #modal .modal-foot{position:static;padding:10px 14px}
}
@media(max-width:720px){
 .hub-member-list{overflow:visible}
 .hub-member-list table,.hub-member-list tbody{display:block;width:100%;min-width:0}
 .hub-member-list thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
 .hub-member-list tbody>tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px;border-top:1px solid #e4ecef;background:#fff!important}
 .hub-member-list td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere;font-size:13px}
 .hub-member-list td:first-child,.hub-member-list td:nth-child(2),.hub-member-list td:last-child{grid-column:1/-1}
 .hub-member-list td:nth-child(3):before,.hub-member-list td:nth-child(4):before{content:attr(data-label);display:block;margin-bottom:6px;color:#607d88;font-size:10px}
 .hub-member-list .person{min-width:0;gap:11px}
 .hub-member-list .person>span:last-child,.hub-member-list .person>div:last-child{min-width:0}
 .hub-member-list .person strong{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
 .hub-member-list .person .avatar{flex-shrink:0}
 .hub-member-list td:nth-child(2){padding:11px 13px;background:#f4f8fa;border-radius:10px;line-height:1.8}
 .hub-member-list td:last-child{display:flex;gap:9px;flex-wrap:wrap;margin-top:3px}
 .hub-member-list td:last-child .btn{flex:1 1 100px;justify-content:center;min-height:44px}
 .hub-member-list td:last-child .icon-btn{border:1px solid #dde8ed;border-radius:10px;min-width:44px;min-height:44px}
}

@media(max-width:720px){
 .hub-shell .finance-filterbar>.finance-owner{flex:1 0 100%;min-width:0;padding-bottom:12px;border-bottom:1px solid #e4ecef}
 .hub-shell .finance-filterbar>.finance-owner .finance-person{min-width:0;gap:11px}
 .hub-shell .finance-filterbar>.finance-owner .finance-person>span:last-child{min-width:0}
 .hub-shell .finance-filterbar>.finance-owner strong{white-space:normal;overflow-wrap:anywhere;line-height:1.5}
}

@media(max-width:720px){
 .hub-shell .personal-stat-main>div:first-child{min-width:0}
 .hub-shell .personal-stat-main .badge{max-width:100%;white-space:normal;line-height:1.5;box-sizing:border-box}
}
@media(max-width:980px){
 .hub-shell .field>.hub-date-input,#modal .field>.hub-date-input{display:flex;align-items:center;min-width:0;width:100%;max-width:100%;box-sizing:border-box;min-height:46px;padding:9px 12px;border:1px solid #dce7eb;border-radius:7px;background:#fff;color:#375d6b}
 .hub-shell .field>.hub-date-input>input,#modal .field>.hub-date-input>input{display:block;min-width:0;min-inline-size:0;width:100%;inline-size:100%;max-width:100%;max-inline-size:100%;box-sizing:border-box;padding:0;border:0;border-radius:0;min-height:26px;height:26px;line-height:1.5;font-size:16px;background:transparent;color:inherit;-webkit-appearance:none;appearance:none;box-shadow:none}
 .hub-shell .hub-date-input:focus-within,#modal .hub-date-input:focus-within{border-color:#298d87;box-shadow:0 0 0 3px #0f96901a}
 .hub-shell .hub-date-input:has(input:disabled),#modal .hub-date-input:has(input:disabled){background:#f4f7f9;color:#6c828c}
 .hub-shell .hub-date-input input::-webkit-date-and-time-value,#modal .hub-date-input input::-webkit-date-and-time-value{height:1.5em;min-height:1.5em;text-align:left}
 .hub-shell .hub-date-input input::-webkit-datetime-edit,#modal .hub-date-input input::-webkit-datetime-edit{padding:0;min-width:0}
}
