@tailwind base;
@tailwind components;
@tailwind utilities;
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#344767;background:#f8f9fe;font-synthesis:none}body{margin:0}button,a,input,select,textarea{touch-action:manipulation}a,button{transition:background .15s,color .15s,transform .15s}button:disabled{opacity:.5;cursor:wait}a:focus-visible,button:focus-visible{outline:3px solid #11cdef;outline-offset:4px}h1,h2,h3,p{margin-top:0}.app-shell{min-height:100vh;background:#f8f9fe}.app-sidebar{position:fixed;inset:18px auto 18px 18px;width:246px;border-radius:20px;background:white;z-index:40;display:flex;flex-direction:column;padding:26px 16px;box-shadow:0 8px 28px #34476708;overflow-y:auto}.app-brand{display:flex;align-items:center;gap:11px;padding:0 12px;font-size:20px;font-weight:750;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:34px;height:36px;border-radius:11px;background:#5e72e4;color:white;font-size:24px}.brand-accent{color:#5e72e4}.app-brand small{display:block;font-size:9px;font-weight:400;letter-spacing:.2px;color:#8392ab;margin-top:3px}.sidebar-rule{height:1px;background:linear-gradient(90deg,transparent,#e5e8f0,transparent);margin:25px 0 18px}.nav-caption{font-size:10px;font-weight:750;letter-spacing:1px;color:#94a0b5;padding-left:14px;margin-bottom:12px}.sidebar-link{display:flex;align-items:center;gap:12px;padding:11px 13px;margin:4px 0;border-radius:10px;font-size:12px;color:#67748e;font-weight:500}.sidebar-link:hover{background:#f5f7fc}.sidebar-link.selected{background:#eef1ff;color:#344767;font-weight:700}.nav-icon{color:#8392ab;display:grid;place-items:center;flex-shrink:0;width:29px;height:29px;background:#fff;border-radius:8px}.selected .nav-icon{background:#5e72e4;color:white;box-shadow:0 3px 8px #5e72e433}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-tip{padding:17px;background:#f3f5ff;border-radius:12px;display:grid;gap:10px;color:#5e72e4}.sidebar-tip strong{font-size:11px;color:#344767}.sidebar-tip p{font-size:10px;line-height:1.7;color:#8392ab;margin:0}.logout-button{font-size:11px;color:#67748e;padding:17px 10px 0;width:100%;text-align:left}.app-main{margin-left:282px;position:relative;min-height:100vh;display:flex;flex-direction:column}.app-blue-band{position:absolute;top:0;left:-282px;right:0;height:305px;background:linear-gradient(110deg,#5e72e4,#5265d7);z-index:0}.app-topbar{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;padding:30px 32px;color:white;gap:16px}.breadcrumb{font-size:11px;opacity:.7;margin-bottom:4px}.topbar-title{font-weight:650;font-size:13px;margin:0}.user-pill{display:flex;align-items:center;gap:9px;font-size:12px}.user-avatar{background:#ffffff28;border:1px solid #ffffff44;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-weight:600}.app-content{position:relative;z-index:1;padding:0 32px 30px;flex:1;min-width:0}.page-header{color:white;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;margin:10px 0 28px}.page-header h1{font-size:25px;font-weight:650;letter-spacing:-.7px;margin:0}.page-header p{color:#e0e5ff;font-size:12px;margin:8px 0 0}.page-header h2{color:white!important}.app-card{background:white;border-radius:16px;padding:24px;box-shadow:0 5px 20px #34476706;min-width:0}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px}.card-heading h2{font-size:15px;font-weight:650;margin:0;letter-spacing:-.2px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:25px}.stat-card{display:flex;justify-content:space-between;gap:12px;padding:22px 20px}.stat-label{color:#8392ab;text-transform:uppercase;font-size:9px;letter-spacing:.6px;font-weight:700;margin-bottom:7px}.stat-value{font-size:20px;font-weight:750;letter-spacing:-.6px;margin:0;overflow-wrap:anywhere}.stat-hint{font-size:10px;color:#8392ab;margin:12px 0 0}.stat-icon{width:42px;height:42px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:#5e72e4;color:white}.stat-icon.green{background:#24b980}.stat-icon.orange{background:#fb6340}.stat-icon.cyan{background:#11b8d7}.stat-icon.rose{background:#ef5272}.two-column{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:24px;margin-bottom:24px}.app-table-wrap{overflow-x:auto;margin:0 -24px}.app-table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}.app-table th{text-transform:uppercase;letter-spacing:.7px;font-size:9px;font-weight:650;color:#8392ab;text-align:left;padding:12px 24px;border-bottom:1px solid #edf0f7;background:#fcfdff}.app-table td{padding:17px 24px;border-bottom:1px solid #f0f2f8;color:#67748e}.app-table tbody tr:last-child td{border-bottom:0}.app-table strong{color:#344767;font-weight:650}.table-secondary{display:block;color:#94a0b5;font-size:10px;margin-top:5px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.badge{font-size:9px;font-weight:700;border-radius:6px;padding:5px 9px;display:inline-block;background:#eef0f7;color:#67748e;white-space:nowrap}.badge-open,.badge-prepared{color:#5264c5;background:#edf0ff}.badge-paid,.badge-confirmed{color:#128559;background:#e5f8ef}.badge-partial{color:#ad7515;background:#fff5db}.badge-overdue{color:#da4261;background:#ffebf0}.badge-complimentary{color:#5264c5;background:#edf0ff}.toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.toolbar .app-field{flex:1;min-width:125px}.app-field{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#67748e}.app-field>span:first-child{font-weight:600}.app-field input,.app-field select,.app-field textarea{width:100%;min-width:0;font-size:12px;border:1px solid #e0e5ef;border-radius:9px;box-shadow:none;color:#344767;padding:11px 13px;background:#fff}.app-field input:focus,.app-field textarea:focus,.app-field select:focus{border-color:#9ba8ef;outline:0;box-shadow:0 0 0 3px #5e72e41a}.app-field textarea{resize:vertical}.field-error{font-size:10px;color:#d53f60}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 17px;border-radius:9px;font-size:11px;font-weight:650;background:#5e72e4;color:white;white-space:nowrap}.btn:hover{background:#4b60d3}.btn-white{background:white;color:#5264c5}.btn-white:hover{background:#f0f2ff}.btn-light{background:#f0f2fa;color:#67748e}.btn-light:hover{background:#e4e8f7}.btn-danger{background:#fff0f3;color:#d64764}.text-action{color:#5e72e4;font-size:10px;font-weight:600;margin-right:12px}.empty-state{display:grid;justify-items:center;gap:14px;padding:50px 20px;color:#94a0b5;font-size:12px;text-align:center}.pager{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:#8392ab;border-top:1px solid #f0f2f8;padding-top:18px;margin-top:12px}.pager>div{display:flex;flex-wrap:wrap;gap:6px}.pager a{padding:7px 10px;border-radius:6px;background:#f5f7fc}.pager .active{background:#5e72e4;color:white}.alert{border-radius:10px;padding:14px 18px;margin-bottom:20px;font-size:12px;line-height:1.7}.alert-success{background:#e5f8ef;color:#12764f}.alert-error{background:#fff0f3;color:#b53350}.alert-info{background:#edf0ff;color:#5264c5}.app-footer{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#94a0b5;padding:20px 32px;position:relative;flex-wrap:wrap}.bar-chart{display:flex;align-items:end;justify-content:space-around;gap:12px;height:240px;padding-top:25px}.bar-column{display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;font-size:10px;color:#94a0b5}.bar-number{font-size:8px;white-space:nowrap}.bar-track{height:150px;width:30%;min-width:12px;max-width:40px;display:flex;align-items:end;background:#f4f6fe;border-radius:5px}.bar-fill{width:100%;background:linear-gradient(#5e72e4,#a3aff4);border-radius:5px;min-height:1px}.info-list{display:grid;gap:23px;padding-top:4px}.info-item{display:flex;align-items:center;gap:14px;font-size:12px}.info-item>span{display:grid;place-items:center;background:#f0f3ff;color:#5e72e4;border-radius:10px;width:40px;height:40px}.info-item p{color:#94a0b5;font-size:10px;margin:5px 0 0}.info-item strong{font-size:12px;font-weight:650}.mobile-menu{display:none}.sidebar-overlay{display:none}.plan-price{font-size:28px;font-weight:700;color:#344767;letter-spacing:-1px;margin:15px 0}.plan-card{border:1px solid #edf0f7}.plan-card.featured{border:2px solid #5e72e4}.plan-features{font-size:12px;color:#8392ab;line-height:2.3}.guest-shell{min-height:100vh;background:#f8f9fe}.guest-nav{display:flex;justify-content:space-between;align-items:center;padding:30px 7%;background:#fff}.guest-columns{display:grid;grid-template-columns:1fr 1fr;gap:8%;max-width:1150px;margin:0 auto;padding:65px 30px}.guest-story{background:linear-gradient(140deg,#5e72e4,#4354ae);border-radius:24px;color:white;padding:55px 40px;display:flex;flex-direction:column;justify-content:center}.guest-story h1{font-size:36px;font-weight:650;letter-spacing:-1.3px;line-height:1.3;margin:25px 0}.guest-story>p{font-size:13px;line-height:1.9;color:#e0e5ff}.eyebrow{font-size:9px!important;letter-spacing:1.6px;font-weight:600}.guest-promise{display:flex;align-items:center;gap:15px;margin-top:45px;font-size:12px;line-height:1.7}.guest-promise small{color:#cbd2ff;font-size:10px}.guest-form{align-self:center;padding:28px 0}.guest-form input{border-radius:9px;border-color:#dfe4ef;font-size:13px}.guest-form label{font-size:12px;color:#67748e}.guest-form button[type=submit]{background:#5e72e4}.guest-form h2{letter-spacing:-.7px}.status-note{font-size:11px;color:#8392ab;line-height:1.9}.page-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.page-tabs button{padding:10px 15px;border-radius:8px;font-size:11px;background:white;color:#67748e}.page-tabs button.active{background:#344767;color:white}
@media(min-width:1600px){.app-content{max-width:1600px;margin:auto;width:100%}.stat-value{font-size:25px}}
@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-sidebar{width:220px}.app-main{margin-left:252px}.app-blue-band{left:-252px}.app-content{padding-left:24px;padding-right:24px}.two-column{grid-template-columns:1fr}.app-table td,.app-table th{padding-left:18px;padding-right:18px}}
@media(max-width:850px){.app-sidebar{transform:translateX(-270px);transition:transform .2s}.app-sidebar.is-open{transform:translateX(0)}.sidebar-overlay{display:block;position:fixed;inset:0;background:#172b4d66;z-index:35}.app-main{margin-left:0}.app-blue-band{left:0}.mobile-menu{display:block;color:white}.app-topbar{padding:24px 20px}.app-content{padding:0 18px 24px}.user-pill>span:last-child{display:none}.page-header h1{font-size:23px}.app-footer{padding:20px}.guest-columns{gap:30px}.guest-story{padding:30px}.guest-story h1{font-size:28px}}
@media(max-width:600px){.stat-grid{gap:12px}.stat-card{padding:17px 14px}.stat-value{font-size:17px}.stat-icon{width:30px;height:30px}.stat-icon svg{width:16px}.stat-hint{font-size:9px}.stat-label{font-size:8px}.app-card{padding:20px}.app-table-wrap{margin:0 -20px}.form-grid{grid-template-columns:1fr}.page-header{margin-bottom:24px}.guest-columns{display:block;padding:30px 24px}.guest-story{display:none}.guest-form{padding:15px 0}.guest-nav{padding:24px}.guest-nav>div{gap:15px;font-size:11px}.bar-number{font-size:7px}.app-table td,.app-table th{padding-left:16px;padding-right:16px}.pager{align-items:start;flex-direction:column}}
/* Motion design: short, purposeful transitions with a complete reduced-motion fallback. */
@keyframes page-reveal{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes card-reveal{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes bar-reveal{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes notice-reveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.app-content{animation:page-reveal .32s cubic-bezier(.22,1,.36,1) both}.stat-grid>.app-card{animation:card-reveal .35s ease-out both}.stat-grid>.app-card:nth-child(2){animation-delay:.045s}.stat-grid>.app-card:nth-child(3){animation-delay:.09s}.stat-grid>.app-card:nth-child(4){animation-delay:.135s}.bar-fill{transform-origin:bottom;animation:bar-reveal .65s cubic-bezier(.22,1,.36,1) both}.bar-column:nth-child(2) .bar-fill{animation-delay:.04s}.bar-column:nth-child(3) .bar-fill{animation-delay:.08s}.bar-column:nth-child(4) .bar-fill{animation-delay:.12s}.bar-column:nth-child(5) .bar-fill{animation-delay:.16s}.bar-column:nth-child(6) .bar-fill{animation-delay:.2s}.alert{animation:notice-reveal .22s ease-out}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:active:not(:disabled){transform:translateY(0) scale(.985)}.sidebar-link .nav-icon{transition:background .2s,color .2s,transform .2s}.sidebar-link:hover .nav-icon{transform:translateY(-1px)}.app-table tbody tr{transition:background .16s}.app-table tbody tr:hover{background:#fafbff}.pwa-controls{position:fixed;bottom:18px;right:20px;z-index:70;max-width:min(440px,calc(100vw - 40px));display:grid;gap:8px}.pwa-message{border:1px solid #dce2fb;background:white;color:#344767;padding:14px 17px;border-radius:12px;font-size:11px;line-height:1.7;box-shadow:0 4px 20px #172b4d12;animation:notice-reveal .2s ease-out}.pwa-message button{color:#5e72e4;text-decoration:underline;font-weight:650}.pwa-warning{background:#fff6de;border-color:#f4e1a8;color:#845d13}.pwa-install{justify-self:end;border-radius:12px;padding:13px 20px;font-size:11px;font-weight:650;background:#344767;color:white;box-shadow:0 4px 15px #172b4d18}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-delay:0ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}.btn:hover,.btn:active,.sidebar-link:hover .nav-icon{transform:none!important}}
/* Contextual editorial visuals, separate from account avatars and financial content. */
.people-banner{display:flex;align-items:stretch;justify-content:space-between;gap:20px;min-height:140px;margin:0 0 25px;border-radius:16px;overflow:hidden;background:linear-gradient(115deg,#fffdf8,#fff5e9);box-shadow:0 5px 20px #34476705;border:1px solid #f4eadb}.people-banner-copy{padding:25px 28px;align-self:center;min-width:0}.people-eyebrow{display:block;font-size:8px;font-weight:750;letter-spacing:1.5px;color:#8c5b2a;margin-bottom:9px}.people-banner h2{font-size:18px;font-weight:650;letter-spacing:-.4px;line-height:1.4;color:#344767;margin:0 0 6px}.people-banner p{font-size:11px;line-height:1.7;color:#6d7080;margin:0;max-width:600px}.people-banner figure{margin:0;width:240px;flex-shrink:0;position:relative;align-self:stretch;min-height:140px}.people-banner figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.people-banner figcaption,.guest-person figcaption{position:absolute;right:7px;bottom:5px;color:white;background:#172b4dbf;border-radius:3px;padding:2px 5px;font-size:9px;line-height:1.5}.guest-person{position:relative;margin:-55px -40px 28px;height:265px;overflow:hidden;border-radius:24px 24px 0 0}.guest-person img{width:100%;height:100%;object-fit:cover}.guest-story{overflow:hidden}.welcome-hero{display:grid;grid-template-columns:1.12fr 1fr;gap:35px;align-items:center}.welcome-hero h1{font-size:clamp(32px,3.7vw,46px)}.welcome-hero .welcome-hero-copy>p{font-size:13px;line-height:1.9}.welcome-hero-person{position:relative;margin:0;align-self:stretch;min-height:400px;border-radius:20px;overflow:hidden;background:#e3d6c5}.welcome-hero-person img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}.welcome-hero-person figcaption{position:absolute;bottom:0;left:0;right:0;padding:30px 18px 16px;background:linear-gradient(transparent,#172b4d99);color:#fff;font-size:9px;line-height:1.6}.people-banner figure img,.welcome-hero-person img,.guest-person img{transition:transform .65s ease}.welcome-hero-person:hover img{transform:scale(1.025)}
@media(max-width:1200px){.people-banner h2{font-size:16px}.people-banner-copy{padding:22px}.people-banner figure{width:210px}.welcome-hero{gap:25px;padding-left:32px;padding-right:32px}.welcome-hero-person{min-height:370px}}
@media(max-width:850px){.guest-person{margin:-30px -30px 24px;height:230px}.people-banner-copy{padding:20px}.people-banner figure{width:190px}.welcome-hero{grid-template-columns:1fr 1fr;gap:24px}.welcome-hero h1{font-size:34px}.welcome-hero-person{min-height:380px}}
@media(max-width:760px){.welcome-hero{grid-template-columns:1fr;padding:35px 26px;gap:28px}.welcome-hero h1{font-size:36px}.welcome-hero-person{height:280px;min-height:0}.welcome-hero-person img{object-position:70% 23%!important}.welcome-hero-copy>div:last-child{margin-top:24px}}
@media(max-width:600px){.people-banner{gap:0;min-height:112px;margin-bottom:19px}.people-banner-copy{padding:16px 13px}.people-eyebrow{font-size:6px;letter-spacing:1px;margin-bottom:6px}.people-banner h2{font-size:13px;margin-bottom:4px;line-height:1.4}.people-banner p{font-size:9px;line-height:1.6}.people-banner figure{width:120px;min-height:112px}.people-banner figcaption{font-size:7px;right:3px;bottom:3px}.guest-story{display:block;padding:0;background:transparent;border-radius:16px;margin-bottom:25px}.guest-story>p,.guest-story>h1,.guest-story>.guest-promise{display:none}.guest-person{margin:0;height:160px;border-radius:16px}.guest-person img{object-position:70% 20%!important}}
@media(prefers-reduced-motion:reduce){.people-banner figure img,.welcome-hero-person img,.guest-person img{transition:none!important;transform:none!important}}

@media(min-width:761px) and (max-width:960px){.welcome-hero{grid-template-columns:1fr;gap:28px;padding-top:40px;padding-bottom:40px}.welcome-hero-person{height:320px;min-height:0}.welcome-hero h1{font-size:40px}.welcome-hero-copy>div:last-child{margin-top:28px}}