@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap";:root{color:#102033;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;--brand-blue:#2563eb;--brand-cyan:#0f766e;--brand-gold:#f59e0b;--ink:#102a43;--muted:#627d98;--surface:#ffffffe6;--hero-image:url(https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=3840&q=90);background:#eef5f8;font-family:Inter,Plus Jakarta Sans,Segoe UI,sans-serif}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;height:auto;min-height:100%}body{-webkit-overflow-scrolling:touch;touch-action:pan-y;min-width:320px;min-height:100dvh;margin:0;overflow:hidden auto}#root{height:auto;min-height:100%}.auth-page{width:100%;min-height:100dvh}.auth-page .MuiInputBase-input{font-size:16px}.layout-shell{width:100%;min-height:100dvh;display:flex}.layout-main{-webkit-overflow-scrolling:touch;scrollbar-width:none;flex:auto;min-height:0}.layout-main::-webkit-scrollbar{display:none}.MuiDrawer-paper::-webkit-scrollbar{display:none}.layout-content{flex:1 0 auto}.MuiDrawer-paper{scrollbar-width:none}a{color:inherit;text-underline-offset:3px;text-decoration-color:#2563eb59}::selection{color:#fff;background:var(--brand-blue)}img{max-width:100%}.MuiSvgIcon-root{flex-shrink:0}.header-strip{height:74px}.header-toolbar{gap:16px;height:74px;padding-inline:20px!important}.header-brand{flex-shrink:0;align-items:center;gap:10px;display:flex}.header-brand-mark{color:#fff;background:linear-gradient(135deg,#0f766e,#2563eb);border-radius:11px;place-items:center;width:38px;height:38px;display:grid;box-shadow:0 8px 18px #0f766e38}.header-title{color:var(--ink);flex-shrink:0;letter-spacing:-.02em!important;font-family:Plus Jakarta Sans,Inter,sans-serif!important;font-size:1rem!important;font-weight:800!important;line-height:1.1!important}.header-subtitle{color:#71869a;display:block;font-size:.66rem!important;font-weight:700!important}.header-actions,.header-context-selectors{align-items:center;display:flex}.header-actions{gap:10px;min-width:0;margin-left:auto}.header-context-selectors{gap:10px}.header-context-selectors--mobile,.header-mobile-context{display:none}.header-brand-text{min-width:0}.header-select{background:#fff;min-width:142px}.header-select .MuiOutlinedInput-notchedOutline{border-color:#d9e4ee}.header-profile{white-space:nowrap;color:#fff;cursor:pointer;background:linear-gradient(135deg,#102a43,#164e63);border-radius:12px;align-items:center;gap:8px;padding:7px 12px;display:flex}.header-welcome{font-weight:800!important}.header-logout-button{width:40px;height:40px;color:#dc2626!important;background:#fff1f2!important;border-radius:10px!important}.header-logout-button:hover{filter:brightness(.97)}.page-shell{gap:28px;max-width:1600px;margin:0 auto;display:grid}.page-hero{color:#fff;background:linear-gradient(120deg, #082f49f5, #0f766ee0 58%, #2563ebb8), var(--hero-image) center / cover;isolation:isolate;border:1px solid #ffffff52;border-radius:18px;min-height:220px;padding:clamp(24px,5vw,44px);position:relative;overflow:hidden;box-shadow:0 20px 44px #102a432e}.page-hero:after{content:"";z-index:-1;background:linear-gradient(#0000,#0f172a6b);height:42%;position:absolute;inset:auto 0 0}.page-hero h1,.page-hero p{z-index:1;max-width:760px;margin:0;position:relative}.page-hero h1{font-family:Plus Jakarta Sans,Inter,sans-serif;font-size:clamp(1.85rem,4vw,3.2rem);font-weight:900;line-height:1.08}.page-hero p{color:#ffffffd6;margin-top:10px;font-size:1rem}.page-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.glass-panel{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff5;transition:transform .18s,box-shadow .18s}.glass-panel:hover{transform:translateY(-2px);box-shadow:0 16px 36px #102a431c}.icon-tile{color:#fff;background:linear-gradient(135deg, var(--brand-cyan), #14b8a6);border-radius:12px;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 14px 26px #2563eb38}.table-empty{color:#7c7187;text-align:center;padding:34px}.status-pill{color:#1e3a8a;background:#2563eb1a;border-radius:999px;align-items:center;min-height:28px;padding:4px 10px;font-size:.78rem;font-weight:800;display:inline-flex}.society-hero-cta{text-shadow:0 1px 1px #0000001f;color:#fff!important;background:linear-gradient(135deg,#14b8a6,#0891b2)!important;border:1px solid #ffffff42!important;box-shadow:0 12px 26px #0891b257!important}.society-hero-cta .MuiButton-startIcon,.society-hero-cta .MuiSvgIcon-root,.society-hero-cta.Mui-disabled{color:#fff!important}.society-hero-cta:hover{color:#fff!important;background:linear-gradient(135deg,#0f766e,#0d9488)!important}.management-page{gap:14px;display:grid}.management-page-heading{background:linear-gradient(120deg,#fff 22%,#f0fdfa 68%,#e0f2fe 100%);border:1px solid #0f766e2e;border-radius:16px;justify-content:space-between;align-items:end;gap:16px;padding:12px 18px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 40px #102a431a}.management-page-heading:after{content:"";background:#2dd4bf1f;border-radius:50%;width:210px;height:210px;position:absolute;top:-90px;right:10%}.management-heading-copy{z-index:1;align-items:center;gap:12px;display:flex;position:relative}.management-heading-icon{color:#fff;background:linear-gradient(135deg,#0f766e,#0891b2);border-radius:12px;flex-shrink:0;place-items:center;width:42px;height:42px;display:grid;box-shadow:0 12px 24px #0f766e40}.management-page-heading .MuiTypography-h4{font-size:1.55rem;line-height:1.2}.management-page-heading .MuiTypography-overline-root,.dialog-hero .MuiTypography-overline-root{color:#0f766e;letter-spacing:.12em;font-weight:900}.management-page-actions{z-index:1;flex-shrink:0;position:relative}.filter-panel{padding:14px;border-color:#dce8ef!important;border-radius:16px!important;box-shadow:0 12px 28px #102a4312!important}.data-table-panel{-webkit-overflow-scrolling:touch;overflow-x:auto;border-color:#dce8ef!important;border-radius:18px!important;box-shadow:0 16px 36px #102a4314!important}.data-table-pagination-panel{background:#fff;border:1px solid #dce8ef;border-radius:18px;overflow:hidden}.data-table-mobile-list{gap:12px;display:grid}.data-table-mobile-card{padding:14px 16px;border:1px solid #dce8ef!important;border-radius:16px!important;box-shadow:0 10px 24px #102a430f!important}.data-table-mobile-row{border-bottom:1px solid #edf2f7;justify-content:space-between;align-items:flex-start;gap:12px;padding:8px 0;display:flex}.data-table-mobile-row:last-of-type{border-bottom:0}.data-table-mobile-value{text-align:right;min-width:0;font-weight:700}.data-table-mobile-actions{border-top:1px solid #edf2f7;justify-content:flex-end;gap:8px;margin-top:10px;padding-top:10px;display:flex}.page-action-bar{justify-content:space-between;align-items:stretch;gap:10px;display:flex}.invoice-page .MuiTypography-h4,.invoice-page .MuiTypography-h5{word-break:break-word}.data-table-panel .MuiTableHead-root{background:linear-gradient(90deg,#f0fdfa,#f4f8fc)}.data-table-panel .MuiTableCell-head{color:#164e63;padding-block:12px}.data-table-panel .MuiTableCell-body{padding-block:10px}.billing-settings-tabs{background:#fff;border:1px solid #dce8ef;overflow:hidden;border-radius:14px!important}.billing-settings-tabs .MuiTabs-indicator{background:#0f766e;height:3px}.billing-settings-tabs .MuiTab-root{color:#52677a;text-transform:none;min-height:52px;font-weight:800}.billing-settings-tabs .Mui-selected{color:#0f766e!important}.marketing-dialog .MuiDialog-paper{border:1px solid #0f766e26;border-radius:22px;overflow:hidden}.dialog-hero{color:#fff;background:linear-gradient(130deg,#082f49,#0f766e 70%,#0d9488);align-items:flex-start;gap:18px;padding:26px 28px;display:flex}.dialog-hero .MuiDialogTitle-root{color:#fff;padding:2px 0 5px;font-size:clamp(1.5rem,3vw,2rem)}.dialog-hero .MuiTypography-overline-root,.dialog-hero p{color:#ffffffc2}.dialog-hero-icon{background:#ffffff24;border:1px solid #ffffff3d;border-radius:14px;flex-shrink:0;place-items:center;width:52px;height:52px;display:grid}.dialog-close{color:#fff!important;background:#ffffff1f!important}.dialog-content{background:#f8fbfd;gap:4px;display:grid;padding:4px 28px 0!important}.form-section{gap:14px;padding:16px 0;display:grid}.form-section-heading{align-items:center;gap:12px;display:flex}.form-section-heading>svg{color:#0f766e;background:#ccfbf1;border-radius:12px;width:42px;height:42px;padding:8px}.form-section-heading .MuiTypography-subtitle1{font-weight:900}.family-personal-grid,.family-contact-grid{gap:14px 16px;width:100%;margin-top:2px;display:grid}.family-personal-grid{grid-template-columns:minmax(240px,1.2fr) minmax(300px,1.6fr) minmax(160px,.7fr) minmax(180px,.8fr)}.family-contact-grid{grid-template-columns:minmax(260px,1fr) minmax(300px,1.2fr) minmax(220px,.8fr);align-items:center}.family-personal-grid>*,.family-contact-grid>*{min-width:0}.family-access-control{padding:8px 12px}@media (width<=1100px){.family-personal-grid,.family-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=700px){.family-personal-grid,.family-contact-grid{grid-template-columns:1fr;gap:20px}}.flat-preview{background:linear-gradient(135deg,#f0fdfa,#eff6ff);border:1px solid #bae6fd;border-radius:14px;gap:12px;padding:18px;display:grid}.dialog-actions{background:#fff;border-top:1px solid #e5edf5;gap:10px;padding:20px 28px!important}.full-page-form{background:#fff;border:1px solid #0f766e24;border-radius:20px;overflow:hidden;box-shadow:0 18px 44px #102a431a}.full-page-form-hero{color:#fff;background:linear-gradient(130deg,#082f49,#0f766e 70%,#0d9488);align-items:center;gap:18px;padding:20px 24px;display:flex}.full-page-form-hero .MuiTypography-overline-root,.full-page-form-hero p{color:#ffffffc7}.full-page-form-hero h4{color:#fff}.hero-back-button{flex-shrink:0;color:#fff!important;background:#ffffff1a!important;border-color:#ffffff73!important}.full-page-form-content{background:#f8fbfd;padding:2px 24px}.full-page-form-actions{border-top:1px solid #e5edf5;justify-content:flex-end;gap:12px;padding:14px 24px;display:flex}.app-footer{color:#52677a;flex-shrink:0;justify-content:space-between;align-items:center;gap:16px;margin-top:auto;padding:12px 4px 4px;display:flex}.app-footer-left,.app-footer-right{align-items:center;gap:8px;min-width:0;display:flex}.app-footer-logo{object-fit:contain;width:28px;height:28px}.app-footer a{color:#2563eb;font-weight:700;text-decoration:none}@media (width<=720px){html,body,#root{-webkit-overflow-scrolling:touch;height:auto;min-height:100dvh;overflow:hidden auto}.layout-shell{height:auto;min-height:100dvh;overflow:visible}.layout-main{min-height:calc(100dvh - 64px);height:auto!important;overflow:visible!important}.layout-shell:has(.header-strip--with-context) .layout-main{min-height:calc(100dvh - 116px)}.header-strip,.header-strip--with-context{height:auto}.header-toolbar{gap:8px;height:64px;min-height:64px!important;padding-inline:12px!important}.header-title{max-width:none;font-size:.92rem!important}.header-brand{flex:1;min-width:0}.header-brand-mark,.header-subtitle{display:none}.header-context-selectors--desktop{display:none!important}.header-mobile-context{background:#fffffffa;border-top:1px solid #e5edf5;padding:0 12px 10px;display:block}.header-context-selectors--mobile{gap:8px;width:100%;display:flex!important}.header-context-selectors--mobile .header-select{flex:1;min-width:0}.header-context-selectors--mobile .MuiSelect-select{align-items:center;min-height:44px;font-size:16px;display:flex}.header-welcome{display:none!important}.header-profile{flex-shrink:0;padding:8px}.header-actions{flex-shrink:0;gap:6px}.layout-content{overflow:visible}.page-action-bar{flex-direction:column}.page-action-bar .MuiButton-root{justify-content:center;width:100%}.management-page-heading .MuiTypography-h4{font-size:1.2rem}.data-table-mobile-value .MuiStack-root{justify-content:flex-end}.page-hero{padding:22px}.page-shell{gap:18px}.management-page-heading{flex-direction:column;align-items:stretch;padding:14px 16px}.management-heading-copy{align-items:flex-start}.management-heading-icon{display:none}.management-page-actions .MuiButton-root{width:100%}.dialog-hero{padding:20px}.dialog-hero-icon{display:none}.dialog-content{padding-inline:20px!important}.full-page-form-hero{flex-direction:column;align-items:stretch;padding:22px}.full-page-form-content{padding-inline:20px}.full-page-form-actions{padding:18px 20px}.app-footer{flex-direction:column;align-items:flex-start}.app-footer-right{flex-wrap:wrap}}@media (width>=721px){.layout-shell{height:100dvh;overflow:hidden}.layout-main{height:calc(100dvh - 74px);overflow-y:auto}}@media (width>=721px) and (width<=1024px){.header-select{min-width:120px}.management-page-heading .MuiTypography-h4{font-size:1.35rem}}@page{size:A4 portrait;margin:8mm}@media print{html,body,#root{width:100%;margin:0}.invoice-print{break-inside:avoid}.header-strip,nav,.MuiDrawer-root,.invoice-page>:not(.invoice-print){display:none!important}main{width:100%!important;min-height:0!important;margin:0!important;padding:0!important}.invoice-print,.invoice-print *{break-inside:avoid}}@media (width<=700px){.MuiStack-root{min-width:0}.filter-panel .MuiStack-root,.full-page-form-content>.MuiStack-root{gap:12px}.responsive-table-panel{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.responsive-table-panel .MuiTableCell-root{white-space:nowrap;padding-inline:10px}.MuiAlert-root{align-items:flex-start}.MuiAlert-action{margin-left:8px;padding-top:0}.MuiDialog-paper{max-width:calc(100% - 20px)!important;margin:10px!important}.MuiDialogContent-root{overscroll-behavior:contain}.MuiCardContent-root,.filter-panel{padding:14px!important}.MuiButton-root{min-height:44px}.MuiIconButton-root{min-width:44px;min-height:44px}}:root{--hero-image:linear-gradient(135deg, #082f49, #115e59);--surface-border:#dce7eb;--surface-shadow:0 4px 6px -4px #0f2a4314, 0 18px 44px -28px #0f2a4338}body{touch-action:auto}.layout-main,.layout-content,.management-page,.page-shell{min-width:0}.layout-content{width:100%;max-width:1760px;margin-inline:auto}@media screen{.layout-shell{background:radial-gradient(at 90% 0,#e2f3ef 0%,#0000 45%),linear-gradient(150deg,#f7fafb,#eef3f7)}.auth-page{background:radial-gradient(at 85% 15%,#186e75,#0000 60%),radial-gradient(at 10% 95%,#164e63,#0000 55%),#071f33!important}.layout-content>div>.MuiTypography-h4:first-child,.layout-content>.MuiTypography-h4:first-child{border-bottom:1px solid var(--surface-border);letter-spacing:-.04em;padding-bottom:18px;font-size:clamp(1.5rem,2.3vw,2.25rem)}.management-page-heading{border-color:var(--surface-border);min-height:92px;box-shadow:var(--surface-shadow);background:radial-gradient(at 100% 0,#d8f4e9,#0000 65%),#fff;border-radius:20px;padding:20px 24px}.management-page-heading .MuiTypography-h4{letter-spacing:-.035em;font-weight:800}.page-hero{background:radial-gradient(at 95% 10%,#2d8c85,#0000 60%),linear-gradient(115deg,#082f49,#115e59);border-radius:24px;box-shadow:0 18px 40px -20px #082f4966}.filter-panel,.data-table-panel,.data-table-mobile-card,.layout-content .MuiCard-root{border-color:var(--surface-border)!important;box-shadow:var(--surface-shadow)!important}.filter-panel{padding:20px}.management-page{gap:20px}.data-table-panel .MuiTableCell-head{letter-spacing:.04em;padding-block:16px;font-size:.75rem}.data-table-panel .MuiTableCell-body{font-variant-numeric:tabular-nums;padding-block:14px}.header-profile{max-width:240px;box-shadow:0 4px 12px #082f491f}.header-welcome{text-overflow:ellipsis;overflow:hidden}.MuiButton-root{transition:background-color .16s,box-shadow .16s}.MuiButton-root:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #0891b2}.data-table-mobile-value{overflow-wrap:anywhere}.data-table-mobile-actions,.full-page-form-actions{flex-wrap:wrap}.route-loading{color:#52677a;text-align:center;place-content:center;gap:16px;min-height:45vh;display:grid}.route-loading:before{content:"";border:3px solid #cce6df;border-top-color:#0f766e;border-radius:50%;width:42px;height:42px;margin-inline:auto;animation:.8s linear infinite route-spin}}@keyframes route-spin{to{transform:rotate(360deg)}}@media screen and (width<=700px){.management-page-heading{padding:18px 16px}.page-hero{border-radius:18px}.MuiInputBase-input{font-size:16px}.MuiAlert-root{flex-wrap:wrap}.MuiAlert-message{flex:1;min-width:0}.MuiAlert-action{margin-left:auto}}@media (prefers-reduced-motion:reduce){.route-loading:before{animation:none}.MuiButton-root,.glass-panel{transition:none}.glass-panel:hover{transform:none}}
