:root{--plum:#493347;--wine:#782b50;--deep:#591c3b;--mauve:#a68a9e;--terra:#c58b78;--accent:#db896f;--champagne:#d8b99c;--ivory:#faf5f2;--soft:#f3e5eb;--peach:#f8e5dc;--white:#fff;--text:#342d33;--muted:#786775;--border:#e5dadd;--success:#276646;--error:#ad2943;--warning:#885c12;--info:#365e83;--disabled:#b6abb0;--shadow:0 6px 18px #4933470b;--radius:24px;--space:24px;--heading:Georgia,'Times New Roman',serif;--body:Arial,Helvetica,sans-serif;--overlay:30;--transition:160ms ease}
*{box-sizing:border-box}body{margin:0;color:var(--text);background:var(--ivory);font-family:var(--body);font-size:15px}a{color:var(--deep);text-decoration:none}button,input,select{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:none;border:0}button:disabled,input:disabled{cursor:not-allowed;opacity:.55}svg{width:24px;height:24px;flex-shrink:0}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--heading);color:var(--deep)}h2{font-size:25px;letter-spacing:-.8px}h3{font-size:20px}a,button{transition:background var(--transition),box-shadow var(--transition)}a:hover,button:hover{filter:brightness(.95)}:focus-visible{outline:3px solid var(--accent);outline-offset:4px}::selection{background:var(--champagne);color:var(--deep)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap;color:var(--accent)}.brand svg{width:48px;height:48px}.brand span{font:bold 36px var(--heading);color:var(--deep);letter-spacing:-1.5px}.brand em{color:var(--accent)}.auth{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.institutional{position:relative;overflow:hidden;padding:clamp(48px,7vw,120px);color:var(--white);background:radial-gradient(at 40% 40%,#754658,var(--plum));display:flex;flex-direction:column;justify-content:center;gap:70px}.institutional .brand span{color:var(--white);font-size:clamp(40px,4.7vw,78px)}.institutional .brand svg{width:76px;height:76px;color:var(--champagne)}.slogan{position:relative;z-index:1}.slogan i{display:block;height:5px;width:70px;background:var(--accent);margin-bottom:36px;border-radius:5px}.slogan h1{color:var(--white);font-size:clamp(32px,3.8vw,62px);line-height:1.2;font-weight:500;letter-spacing:-1px}.module-symbols{display:flex;gap:24px;z-index:1}.module-symbols span{padding:20px;background:#ffffff18;border-radius:20px}.module-symbols svg{width:38px;height:38px}.geometry{position:absolute;width:1000px;height:650px;border:1px solid var(--champagne);border-radius:50%;background:linear-gradient(120deg,#db896fcc,#d8b99c22);left:-500px;bottom:-530px;transform:rotate(30deg)}.geometry:after{content:'';position:absolute;width:900px;height:450px;border:1px solid #d8b99c88;border-radius:50%;background:#d8b99c44;left:180px;bottom:120px;transform:rotate(-40deg)}.auth-panel{padding:50px clamp(28px,6vw,110px);display:grid;place-items:center;background:#fdfafa}.auth-content{width:100%;max-width:600px}.auth-content h1{font-size:clamp(34px,3.8vw,60px);font-weight:500;margin-bottom:52px;letter-spacing:-1.5px}.field{height:62px;border:1px solid #d4cdd1;border-radius:17px;display:flex;align-items:center;padding:0 20px;gap:20px;margin-bottom:20px;color:var(--wine);background:#fff8}.field input{width:100%;min-width:0;border:0;background:none;outline:none;color:var(--text);font-size:18px}.field button{display:grid;place-items:center}.field:focus-within{outline:2px solid var(--wine)}.auth-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 40px;font-size:14px}.auth-options label{display:flex;align-items:center;gap:8px}.auth-options input{width:20px;height:20px;accent-color:var(--wine)}.button{display:flex;align-items:center;justify-content:center;gap:22px;min-height:58px;padding:14px 24px;border-radius:17px;font-size:18px;font-weight:600;width:100%;text-align:center}.primary{background:var(--deep);color:var(--white)}.outline{border:1px solid var(--wine);color:var(--deep)}.divider{display:flex;align-items:center;gap:26px;color:var(--muted);margin:30px 0}.divider:before,.divider:after{content:'';height:1px;background:var(--border);flex:1}.demo-entry{margin-top:30px;display:grid;gap:10px;text-align:center;font-size:13px;color:var(--muted)}.demo-entry a{display:flex;align-items:center;justify-content:center;gap:12px}.demo-entry svg{width:18px}.mobile-brand{display:none}.topbar{display:flex;align-items:center;justify-content:space-between;padding:15px 3vw;gap:22px;background:#fffaf8;border-bottom:1px solid #fff;position:relative;z-index:5}.topbar .brand span{font-size:32px}.topbar .brand svg{width:40px;height:40px}.desktop-nav{display:flex;gap:10px;align-items:center}.nav-item{display:flex;align-items:center;gap:9px;padding:14px 17px;border-radius:40px;font-weight:600;white-space:nowrap}.nav-item.active,.bottom-nav .active{background:linear-gradient(120deg,var(--wine),var(--plum));color:var(--white)}.tools{display:flex;gap:14px;align-items:center}.tools button{position:relative;min-width:40px;min-height:40px;display:grid;place-items:center}.avatar{width:44px;height:44px;border-radius:50%;background:var(--soft);font-weight:bold;color:var(--wine);border:3px solid white}.notification-dot{width:7px;height:7px;position:absolute;right:6px;top:6px;background:var(--accent);border-radius:50%}.demo-bar{display:flex;justify-content:space-between;padding:8px 3vw;background:var(--soft);font-size:12px;color:var(--deep)}.dashboard{padding:38px 3vw 110px;max-width:1920px;margin:auto}.greeting{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:36px;min-height:112px}.greeting:before{content:'';position:absolute;right:120px;top:-38px;width:230px;height:160px;border-radius:90px 0 90px 0;transform:rotate(-25deg);background:linear-gradient(90deg,#c58b7810,#a68a9e18);z-index:-1}.date{text-transform:uppercase;font-size:13px;color:var(--deep);margin-bottom:12px}.greeting h1{font-size:clamp(38px,4.1vw,62px);font-weight:600;letter-spacing:-1.5px}.context{display:flex;align-items:center;gap:16px;border-radius:40px;background:#fffc;padding:16px 22px;color:var(--deep);box-shadow:var(--shadow);white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:28px}.metric{display:flex;align-items:center;gap:15px;padding:22px 20px;border-radius:var(--radius);box-shadow:var(--shadow);min-height:112px}.mauve{background:linear-gradient(120deg,#f2e7ed,#f5ebf0)}.peach{background:linear-gradient(120deg,#fbe9e1,#faefea)}.metric-icon{border-radius:50%;background:#ffffff55;padding:14px;display:flex}.metric-icon svg{width:34px;height:34px}.metric>svg:last-child{width:18px;margin-left:auto}.metric-label{font-size:14px;display:block;margin-bottom:6px}.metric strong{font:600 clamp(22px,2vw,32px) var(--heading);letter-spacing:-.6px}.dashboard-grid{display:grid;grid-template-columns:1.04fr 1.06fr .96fr;gap:24px}.card{padding:24px;border-radius:var(--radius);background:#ffffffc9;box-shadow:var(--shadow);border:1px solid #fff}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px}.card-heading a,.card-heading button{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap;color:var(--deep)}.card-heading a svg,.card-heading button svg{width:17px}.appointment{display:flex;align-items:center;gap:18px;margin-top:10px}.day{min-width:70px;padding:6px 12px;background:var(--peach);border-radius:14px;text-align:center;color:var(--deep)}.day strong{display:block;font:600 30px var(--heading)}.day span{font-size:12px}.appointment-title{border-bottom:1px solid #eee3e7;flex:1;padding-bottom:12px;min-width:0}.appointment-title h3{font-size:18px;line-height:1.4}.appointment-title span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:14px}.appointment-title svg{width:16px;height:16px}.dot{width:12px;height:12px;flex-shrink:0;border-radius:50%;background:var(--accent)}.dot.purple{background:var(--mauve)}.dot.gold{background:var(--champagne)}.finance-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:38px;margin-bottom:30px}.finance-summary strong{font:600 clamp(30px,3.1vw,48px) var(--heading);color:var(--deep);white-space:nowrap;letter-spacing:-1px}.finance-summary p{margin-top:7px;color:var(--muted)}.chart{display:flex;gap:5px;align-items:flex-end;height:100px;flex:1;max-width:210px}.chart i{display:block;flex:1;background:linear-gradient(var(--mauve),var(--wine));border-radius:4px 4px 1px 1px;min-width:2px}.chart i:nth-child(even){background:linear-gradient(#e5b2a1,var(--accent))}progress{appearance:none;width:100%;height:12px;border:0;border-radius:20px;overflow:hidden;display:block;background:var(--soft)}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:var(--wine);border-radius:20px}progress::-moz-progress-bar{background:var(--wine)}.budget{display:flex;justify-content:space-between;gap:12px;margin-top:13px;font-size:14px;color:var(--muted)}.apps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.app-tile{border-radius:19px;padding:16px 6px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;text-align:center;color:var(--deep);font-size:14px;min-height:97px}.app-tile svg{width:32px;height:32px}.pending{margin-top:26px;display:flex;align-items:center;gap:24px}.pending button{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;background:var(--ivory)}.pending button span{font-size:14px}.fab{position:fixed;right:3vw;bottom:28px;width:66px;height:66px;z-index:10;border-radius:50%;background:linear-gradient(130deg,var(--wine),var(--deep));color:var(--white);box-shadow:0 5px 20px #591c3b30}.fab svg{width:30px;height:30px}.bottom-nav{display:none}dialog{border:1px solid var(--border);border-radius:24px;padding:28px;background:var(--ivory);color:var(--text);width:min(540px,calc(100% - 32px));max-height:85dvh;box-shadow:0 20px 100px #0003}dialog::backdrop{background:#342d3366;backdrop-filter:blur(4px)}dialog .card-heading>button{font-size:30px;min-width:44px;min-height:44px;justify-content:center}dialog p{line-height:1.6;margin-bottom:14px}.dialog-row{width:100%;display:flex;gap:14px;align-items:center;padding:16px 10px;text-align:left;border-bottom:1px solid var(--border);min-height:48px}.tag{font-size:12px;background:var(--soft);padding:6px 10px;border-radius:9px;color:var(--deep)}.toast{position:fixed;bottom:115px;left:50%;transform:translateX(-50%);background:var(--plum);color:var(--white);padding:18px 24px;border-radius:16px;box-shadow:var(--shadow);z-index:100;width:max-content;max-width:90vw;line-height:1.5}.module-page .card-heading h2{display:flex;gap:14px;align-items:center}.empty-state{text-align:center;padding:70px 20px;max-width:600px;margin:auto}.empty-state>svg{width:64px;height:64px;color:var(--mauve);margin-bottom:20px}.empty-state p{color:var(--muted);margin:18px 0 30px;line-height:1.7}.empty-state .button{max-width:240px;margin:auto}
@media(min-width:1600px){.topbar{gap:40px}.desktop-nav{gap:20px}.card{padding:28px}.finance-summary{margin-top:45px}.metric{padding:26px}.dashboard-grid{gap:28px}}
@media(max-width:1250px){.topbar{gap:12px}.topbar .brand span{font-size:27px}.nav-item{padding:12px 10px;gap:6px;font-size:13px}.nav-item svg{width:21px}.tools{gap:4px}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid>.card:last-child{grid-column:1/-1}.dashboard-grid>.card:last-child .apps-grid{grid-template-columns:repeat(5,1fr)}.metric{padding:18px 12px;gap:10px}.metric-icon{padding:8px}.metric-icon svg{width:27px}.metric strong{font-size:23px}}
@media(max-width:900px){.desktop-nav{display:none}.topbar{padding:14px 24px}.tools{gap:12px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:space-around;gap:4px;padding:9px 12px calc(9px + env(safe-area-inset-bottom));background:#fffaf8f5;border-top:1px solid var(--border);z-index:20;border-radius:28px 28px 0 0}.bottom-nav a,.bottom-nav button{display:flex;flex:1;flex-direction:column;align-items:center;gap:6px;font-size:12px;padding:9px 4px;border-radius:20px;max-width:120px;min-height:58px}.fab{bottom:calc(102px + env(safe-area-inset-bottom));right:22px}.dashboard{padding:28px 24px 200px}.metrics{grid-template-columns:1fr 1fr}.metric strong{font-size:25px}.auth{grid-template-columns:.9fr 1fr}.institutional{padding:36px;gap:50px}.institutional .brand span{font-size:38px}.institutional .brand svg{width:45px}.module-symbols{gap:12px}.module-symbols span{padding:12px}.module-symbols svg{width:25px;height:25px}.auth-panel{padding:40px 28px}.auth-options{align-items:flex-start;flex-direction:column}.pending{flex-wrap:wrap}.pending h2{width:100%}}
@media(max-width:600px){.auth{display:block;min-height:100dvh;background:#fdfafa}.institutional{display:none}.auth-panel{padding:32px 24px;display:block}.mobile-brand{display:block;margin-bottom:48px}.mobile-brand .brand{justify-content:center}.auth-content h1{font-size:36px;margin-bottom:30px;text-align:center}.auth-options{flex-direction:row;align-items:center;font-size:12px;margin:20px 0 28px}.field{height:58px;padding:0 16px;gap:12px}.field input{font-size:16px}.divider{margin:24px 0}.demo-entry{margin-top:25px}.topbar{padding:14px 20px}.topbar .brand span{font-size:29px}.topbar .brand svg{width:36px;height:36px}.tools{gap:5px}.tools>button:first-child{display:none}.avatar{width:38px;height:38px}.demo-bar{padding:7px 20px;font-size:10px}.dashboard{padding:26px 18px 200px}.greeting{display:block;margin-bottom:22px;min-height:0}.greeting h1{font-size:40px;letter-spacing:-1px}.date{font-size:11px;margin-bottom:8px}.context{margin-top:22px;padding:12px 20px;gap:14px;font-size:14px}.context svg{width:21px;height:21px}.greeting:before{right:-10px;width:170px;top:0}.metrics{gap:12px;margin-bottom:20px}.metric{padding:16px 12px;gap:10px;min-height:92px;border-radius:20px}.metric-icon{padding:0;background:none}.metric-icon svg{width:25px;height:29px}.metric-label{font-size:12px;margin-bottom:4px}.metric strong{font-size:21px;line-height:1.15;display:block}.metric>svg:last-child{display:none}.dashboard-grid{grid-template-columns:1fr;gap:16px}.dashboard-grid>.card:last-child{grid-column:auto}.dashboard-grid>.card:last-child .apps-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.card{padding:20px;border-radius:23px}.card-heading{gap:10px;margin-bottom:18px}.card-heading h2{font-size:24px}.card-heading a,.card-heading button{font-size:11px;gap:5px}.card-heading a svg,.card-heading button svg{width:15px}.appointment{gap:16px}.day{min-width:64px}.appointment-title h3{font-size:19px}.finance-summary{margin:24px 0}.finance-summary strong{font-size:40px}.finance-summary p{font-size:14px}.chart{height:80px;max-width:145px;gap:4px}.app-tile{font-size:13px;padding:14px 4px;min-height:94px}.apps-grid{gap:10px}.budget{font-size:13px}.pending{gap:10px;padding:20px}.pending button{width:100%;text-align:left}.pending button svg:last-child{margin-left:auto}.bottom-nav{padding-left:8px;padding-right:8px}.bottom-nav a,.bottom-nav button{font-size:10px}.bottom-nav svg{width:23px;height:23px}.fab{width:58px;height:58px}.finance .card-heading h2{font-size:22px}}
.greeting:before{max-width:45%;right:30px}.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.metric,.metric>span{min-width:0}.metric strong{overflow-wrap:normal;font-size:clamp(22px,1.7vw,30px)}
@media(max-width:900px){.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.metric{gap:8px}.metric-icon svg{width:22px}.metric strong{font-size:19px}.metric-label{font-size:11px}.finance .card-heading{align-items:flex-start}.finance .card-heading h2{max-width:65%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
