:root{font-family:Segoe UI,Inter,Arial,sans-serif;color:#291e34;background:#f7f5f9;font-synthesis:none;--purple:#693598;--deep:#21132e;--yellow:#f3d34d;--muted:#796e83;--line:#e9e3ee}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:var(--purple)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #a783c5;outline-offset:3px}button,input,select{min-height:44px}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;font-weight:650;line-height:1.18;margin-bottom:9px}h2{font-size:20px;letter-spacing:-.5px;margin-bottom:0}h3{font-size:18px}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.muted{color:var(--muted);line-height:1.65}.eyebrow{display:block;font-size:10px;letter-spacing:2px;font-weight:750;margin-bottom:13px}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:43px;height:43px;background:var(--yellow);color:var(--deep);display:grid;place-items:center;border-radius:11px;font-weight:900;font-size:26px;transform:skew(-5deg)}.brand strong{display:block;font-size:16px;letter-spacing:1.1px;white-space:nowrap}.brand small{display:block;font-size:8px;letter-spacing:2px;color:#b8a4c8;margin-top:5px}.button{background:var(--purple);color:white;border:1px solid transparent;border-radius:9px;padding:11px 18px;font-size:14px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none}.button:hover:not(:disabled){background:#562880}.button.secondary{background:white;color:#493655;border-color:#ded4e6}.button.small{font-size:12px;padding:7px 12px;min-height:36px}.text-button{background:none;color:var(--purple);border:0;font-size:13px;font-weight:650;min-height:44px}.loading{padding:100px 25px;text-align:center;color:var(--muted);font-size:15px}.loading:before{content:'';display:block;width:26px;height:26px;border:3px solid #e8ddef;border-top-color:var(--purple);border-radius:50%;margin:0 auto 20px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.03fr 1fr;background:#fff}.auth-brand{background:var(--deep);color:white;padding:48px 9%;display:flex;flex-direction:column;position:relative;overflow:hidden}.auth-brand:after{content:'';position:absolute;right:-160px;bottom:70px;width:400px;height:400px;border:1px solid #674983;border-radius:50%;box-shadow:0 0 0 65px #21132e,0 0 0 66px #432854;opacity:.55;pointer-events:none}.auth-statement{margin:auto 0;padding:70px 0;z-index:1}.auth-statement .eyebrow{color:#bba6cb}.auth-statement h1{font-size:clamp(44px,4.9vw,76px);font-weight:750;line-height:1.03;letter-spacing:-3px;margin:27px 0}.auth-statement h1 em{color:var(--yellow);font-style:normal}.auth-statement p{color:#c0accc;font-size:16px;line-height:1.7}.auth-features{display:flex;gap:22px;color:#e1d6e8;font-size:12px;margin-top:45px;flex-wrap:wrap}.auth-features span{display:flex;align-items:center;gap:8px}.auth-features .icon{width:17px}.auth-foot{font-size:9px;font-weight:700;letter-spacing:1.8px;display:flex;justify-content:space-between;gap:20px;z-index:1}.auth-foot span{color:#967aa9;font-size:8px}.auth-form-wrap{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:60px 10% 25px}.auth-form{width:100%;max-width:390px;margin:auto}.auth-form>.eyebrow{color:var(--purple);margin-bottom:24px}.auth-form h2{font-size:29px;line-height:1.2;margin-bottom:16px;letter-spacing:-1px}.auth-form>.muted{font-size:14px;margin-bottom:33px}.auth-form label{display:block;font-size:12px;font-weight:650;margin-bottom:20px}.auth-form input{margin-top:9px;width:100%;padding:13px 14px;border-radius:8px;border:1px solid #ded7e4;background:#fdfcfe;min-height:49px}.password-field{position:relative}.password-field input{padding-right:72px}.show-password{position:absolute;right:5px;bottom:3px;min-height:43px;border:0;background:transparent;font-size:11px;font-weight:650;color:var(--purple);padding:8px}.primary-submit{width:100%;min-height:50px;justify-content:space-between}.auth-switch{display:block;margin:9px auto 0}.auth-divider{height:1px;background:var(--line);margin:24px 0}.private-note{display:flex;align-items:center;gap:13px;color:var(--muted)}.private-note .icon{width:18px}.private-note p{font-size:11px;line-height:1.7;margin:0}.demo-link{display:flex;justify-content:space-between;text-decoration:none;font-size:12px;font-weight:650;margin-top:26px}.auth-help{font-size:10px;text-align:center;color:#96869f;line-height:1.6;margin:50px 0 0}.form-message,.form-error{font-size:12px;line-height:1.6;color:#903855;min-height:0}.form-message:empty,.form-error:empty{display:none}.hint{font-size:12px;color:var(--muted)}
.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--deep);color:white;padding:32px 21px 22px;display:flex;flex-direction:column;position:sticky;height:100vh;top:0}.sidebar .brand-mark{width:37px;height:37px;font-size:23px}.sidebar .brand strong{font-size:14px}.sidebar .brand small{font-size:7px}.nav-label{font-size:8px;letter-spacing:2px;color:#9478a6;font-weight:750;margin:54px 12px 18px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{background:none;color:#bca9cb;border:0;text-align:left;padding:13px 14px;display:flex;align-items:center;gap:13px;font-size:13px;font-weight:600;border-radius:8px}.sidebar nav button:hover{background:#382045;color:white}.sidebar nav button[aria-current]{background:#64338d;color:#fff;box-shadow:inset 3px 0 0 var(--yellow)}.sidebar nav button .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto}.readonly{display:flex;align-items:center;gap:9px;color:#c5b7cf;font-size:10px;border:1px solid #493453;border-radius:8px;padding:12px;margin-bottom:22px}.readonly .icon{height:15px;width:15px}.account{display:flex;align-items:center;gap:10px;border-top:1px solid #422b50;padding-top:22px}.account strong{display:block;font-size:12px}.account small{display:block;font-size:9px;margin-top:4px;color:#bca6cb;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#eee6f4;color:#714f8a;font-weight:650;font-size:12px;flex-shrink:0}.sign-out{width:100%;display:flex;justify-content:space-between;align-items:center;background:none;color:#baa4cc;border:0;font-size:11px;margin-top:10px}.workspace{min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#fff;border-bottom:1px solid var(--line);min-height:76px;padding:18px 38px}.breadcrumb{font-size:10px;letter-spacing:.4px;color:var(--muted)}.breadcrumb span{margin:0 14px;color:#c4b7ce}.breadcrumb strong{color:#52415e;font-weight:600}.top-actions{display:flex;align-items:center;gap:14px}.read-badge{font-size:10px;color:var(--muted);background:#f6f3f9;border-radius:20px;padding:6px 11px}.icon-button{border:1px solid var(--line);background:white;border-radius:8px;width:36px;min-height:36px;display:grid;place-items:center;color:#6b587b}.icon-button .icon{width:15px}.demo-banner{padding:10px 38px;background:#fff4d1;color:#69541c;font-size:11px;display:flex;justify-content:space-between;gap:15px}.demo-banner a{color:#69541c}main#main-content{padding:37px 38px 30px;max-width:1550px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading .eyebrow{color:var(--purple);font-size:9px;margin-bottom:12px}.page-heading p{color:var(--muted);font-size:12px;margin:0}.page-heading select{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px;max-width:220px}.page-heading label{font-size:11px;display:grid;gap:7px}.sync-banner{display:flex;align-items:flex-start;gap:12px;border:1px solid #ddd1e7;background:#f1ebf6;padding:15px 18px;border-radius:10px;margin-bottom:23px}.sync-banner strong{display:block;font-size:12px;font-weight:650}.sync-banner p{font-size:11px;line-height:1.55;margin:4px 0 0;color:#796783}.sync-banner.good{background:#edf6f1;border-color:#d7e9df;color:#2f634e}.sync-banner.good p{color:#648171}.sync-banner.warning{background:#fff7e6;border-color:#f0dfb5;color:#876725}.sync-banner.warning p{color:#8d793f}.status-dot{width:7px;height:7px;background:#a17ab7;border-radius:50%;margin-top:4px;flex-shrink:0}.good .status-dot{background:#43956e}.warning .status-dot{background:#bf933a}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{background:white;border:1px solid var(--line);padding:23px 22px;border-radius:12px}.stat>span{display:block;color:var(--muted);font-size:11px}.stat>strong{display:block;font-size:30px;font-weight:650;letter-spacing:-1.1px;margin:12px 0 9px}.stat>small{color:#8e809a;font-size:9px}.card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.overview-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:23px}.card-title{display:flex;align-items:flex-start;justify-content:space-between;padding:26px 25px 12px;gap:10px}.card-title .eyebrow{color:var(--muted);font-size:8px;letter-spacing:1.7px;margin-bottom:12px}.card-title h2{font-size:19px}.revenue .card-title h2{font-size:31px;font-weight:650;letter-spacing:-1px}.revenue h2 small{font-size:10px;color:var(--muted);font-weight:400;letter-spacing:0}.pill{display:inline-block;font-size:9px;font-weight:650;white-space:nowrap;padding:5px 8px;border-radius:5px}.pill.good{background:#e8f4ec;color:#2b7650}.pill.warning{background:#fff1cb;color:#8b6518}.pill.danger{background:#faeaf0;color:#a74766}.pill.neutral{background:#f2edf6;color:#826992}.chart-caption{font-size:10px;margin:0 25px 10px}.chart{width:calc(100% - 44px);margin:0 22px;display:block;max-height:220px}.gridline{stroke:#eee7f3;stroke-dasharray:4 5;fill:none}.chart-bar{fill:#ccb5df}.chart-bar.last{fill:var(--purple)}.chart text{font:10px Segoe UI,Arial,sans-serif;fill:#8d7a9b}.chart-details{font-size:10px;color:var(--muted);margin:12px 25px 23px}.chart-details summary{cursor:pointer;padding:8px 0}.chart-details ul{padding:0;list-style:none}.chart-details li{display:flex;justify-content:space-between;padding:5px 0;border-top:1px solid var(--line)}.chart-empty{height:210px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px;text-align:center;color:#796686}.chart-empty span{font-size:14px;font-weight:600}.chart-empty p{font-size:11px;line-height:1.7;margin:12px auto;max-width:250px}.expiry-list{padding:3px 25px}.expiry-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #f0ebf5}.expiry-row:last-child{border-bottom:0}.person{display:flex;align-items:center;gap:10px}.person strong{display:block;font-size:11px;font-weight:650}.person small{display:block;color:#92859b;font-size:9px;margin-top:5px}.expiry-row>span{text-align:right;max-width:125px}.expiry-row>span>strong{display:block;font-size:11px;color:#89622b;font-weight:600}.expiry-row>span>small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.card-action{width:100%;padding:13px 25px;border-top:1px solid var(--line);display:flex;justify-content:space-between;margin-top:9px;font-size:11px}.note{display:flex;gap:9px;align-items:center;color:#96869f;font-size:10px;line-height:1.6;margin-top:23px}.note .icon{width:13px;height:13px}.empty{text-align:center;padding:40px 25px;color:var(--muted)}.empty h2,.empty h3{color:#493253;margin:16px 0 10px}.empty p{font-size:12px;line-height:1.7;max-width:400px;margin:0 auto 15px}.empty-mark{display:inline-grid;place-items:center;background:#f2edf7;border-radius:50%;width:46px;height:46px;color:#a789ba}.empty-mark .icon{width:20px}.filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.filters label{font-size:10px;display:flex;flex-direction:column;gap:7px}.filters .search-field{flex:1;min-width:180px}.filters input,.filters select{width:100%;border:1px solid #dfd6e7;border-radius:8px;background:white;padding:10px 12px;font-size:12px;color:#493256}.filters .button{font-size:12px}.list-heading{padding:22px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.list-heading h2{font-size:17px}.list-heading>span{font-size:10px;color:var(--muted)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{padding:15px 21px;background:#fcfbfd;text-transform:uppercase;letter-spacing:.8px;color:#96839f;font-size:8px;white-space:nowrap;font-weight:650}td{padding:17px 21px;border-top:1px solid #f0ebf5;line-height:1.5}td>small{display:block;font-size:9px;color:var(--muted);margin-top:4px;max-width:250px}.amount{font-weight:650;white-space:nowrap}.pagination{display:flex;justify-content:space-between;align-items:center;padding:17px 22px;border-top:1px solid var(--line);gap:10px;font-size:10px;color:var(--muted)}.pagination>div{display:flex;gap:8px}
@media(min-width:1550px){.auth-form-wrap{padding-left:14%;padding-right:14%}.auth-statement h1{font-size:82px}.stat>strong{font-size:36px}}
@media(max-width:1100px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:26px 15px}.sidebar .brand{gap:9px}.sidebar .brand strong{font-size:12px}main#main-content{padding:30px 25px}.topbar{padding:18px 25px}.stats{gap:10px}.stat{padding:20px 16px}.stat>strong{font-size:25px}.overview-grid{grid-template-columns:1fr}.card-title{padding:23px 23px 12px}.auth-features{gap:12px}}
@media(max-width:720px){.auth-layout{grid-template-columns:1fr}.auth-brand{padding:26px 25px}.auth-statement,.auth-foot{display:none}.auth-brand:after{display:none}.auth-form-wrap{padding:38px 27px 25px;min-height:calc(100vh - 95px)}.auth-form{max-width:430px}.auth-form h2{font-size:27px}.auth-help{margin-top:35px}.shell{display:block}.sidebar{position:static;height:auto;padding:20px 20px 0}.sidebar .brand{margin-bottom:21px}.sidebar .brand strong{font-size:14px}.sidebar .brand-mark{width:34px;height:34px}.nav-label,.readonly,.account{display:none}.sidebar nav{display:flex;gap:3px;justify-content:space-between}.sidebar nav button{justify-content:center;padding:12px 9px;gap:7px;font-size:10px;flex:1;border-radius:7px 7px 0 0}.sidebar nav button[aria-current]{box-shadow:inset 0 -3px 0 var(--yellow)}.sidebar nav .icon{width:16px!important;height:16px!important}.sidebar-bottom{position:absolute;right:20px;top:25px}.sign-out{font-size:10px;margin:0;gap:10px}.topbar{min-height:57px;padding:12px 20px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 7px}.read-badge{font-size:9px}.demo-banner{padding:10px 20px;font-size:10px;flex-direction:column;gap:5px}main#main-content{padding:26px 20px}h1{font-size:28px}.page-heading{align-items:start;flex-direction:column;gap:15px}.page-heading p{font-size:11px}.sync-banner{padding:14px}.sync-banner strong{font-size:11px}.sync-banner p{font-size:10px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.stat{padding:20px 15px}.stat>strong{font-size:27px;margin:12px 0 9px}.stat>span{font-size:10px}.stat>small{font-size:8px}.overview-grid{gap:18px}.card-title h2{font-size:17px}.revenue .card-title h2{font-size:28px}.card-title .pill{font-size:8px}.list-heading{flex-direction:column;align-items:start;padding:20px}.filters{gap:10px}.filters .search-field{flex-basis:100%}.filters label{flex:1;min-width:125px}.filters>.button{flex:1;min-width:125px}.note{font-size:9px}td,th{padding-left:16px;padding-right:16px}.pagination{padding:15px}.chart{max-height:220px}}
@media(prefers-reduced-motion:reduce){.loading:before{animation:none}}
/* Keep operational text readable on phones, including native date fields. */
.stat>span{font-size:12px}.stat>small{font-size:11px}.sync-banner p{font-size:12px}.person strong{font-size:13px}.person small{font-size:11px}.expiry-row>span>strong{font-size:12px}.expiry-row>span>small{font-size:11px}.note{font-size:11px}table{font-size:12px}th{font-size:10px}.pill{font-size:11px}.filters label{font-size:12px}.auth-form label{font-size:13px}.auth-form input{font-size:16px}.private-note p{font-size:12px}.auth-help{font-size:11px}
@media(max-width:720px){.filters input,.filters select{font-size:16px}.sidebar nav button{font-size:11px}.sync-banner strong{font-size:12px}.stat>strong{font-size:25px}.stat>small{font-size:10px}.auth-features{font-size:12px}}
