:root{background:#f6f9ff;color:#263548;scroll-behavior:smooth}
.app{max-width:none;min-height:100vh;margin:0;padding:18px;display:flex;gap:20px}
.sidebar{width:300px;flex-shrink:0;min-height:calc(100vh - 36px);max-height:calc(100vh - 36px);position:sticky;top:18px;align-self:flex-start;overflow-y:auto;border-radius:31px;background:#1b344e;color:#fff;padding:35px 24px}
.brand{display:flex;align-items:center;gap:15px;padding:6px 12px 29px;border-bottom:1px solid #ffffff20}
.brand-icon{display:block;width:52px;height:52px;background:#fff;border-radius:13px;object-fit:contain}
.brand strong{display:block;font-size:22px}.brand small{display:block;color:#cbd5e1;margin-top:4px}
.sidebar-nav{display:grid;gap:9px;margin-top:36px}.nav-link{text-decoration:none;color:#e4edf5;border-radius:19px;padding:18px 17px;display:flex;align-items:center;gap:15px;font-size:17px}.nav-link:hover,.nav-link.active{background:#ffffff24;color:#fff}.nav-link span{width:22px;text-align:center}
.main-content{min-width:0;flex:1;padding-bottom:40px}.page-header{border-radius:30px;background:#e8eff7;min-height:126px;padding:30px 40px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #d5e1ee}.eyebrow{display:block;color:#697a8d;font-size:12px;letter-spacing:.13em;font-weight:800}.page-header h1{font-size:34px;letter-spacing:-.04em;margin:8px 0 0}
.button.outline{background:#fff;color:#263548;border:1px solid #dae6f3}.button.outline:hover{background:#f1f7fe}.button.primary{background:#315e8f;box-shadow:none}.button.primary:hover{background:#264f7b}.button.full{width:100%;margin-top:21px}
.dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px;padding:28px 36px 0}.panel{border:1px solid #e1eaf6;border-radius:23px;padding:27px;box-shadow:0 12px 32px #153c6810;min-width:0;margin-top:0}.dashboard .panel{min-height:290px}.panel h2{font-size:24px;margin:9px 0 20px;letter-spacing:-.035em}.muted{color:#637387;line-height:1.55;margin:0}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.square-button{display:grid;place-items:center;flex-shrink:0;width:43px;height:43px;border-radius:13px;background:#edf4fd;text-decoration:none;color:#263548;font-size:22px;font-weight:700}.square-button:hover{background:#dfedfc}
.overview-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;position:relative}.overview-heading h2{margin-top:0}.overview-period-menu{position:relative;flex:0 0 auto}.overview-period-menu summary{list-style:none;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:#637387;font-size:23px;line-height:1;cursor:pointer}.overview-period-menu summary::-webkit-details-marker{display:none}.overview-period-menu summary:hover,.overview-period-menu[open] summary{background:#edf4fd;color:#263548}.overview-period-options{position:absolute;z-index:8;top:39px;right:0;min-width:190px;padding:12px;border:1px solid #d5e1ee;border-radius:12px;background:#fff;box-shadow:0 12px 28px #153c6826}.overview-period-options label{font-size:12px;font-weight:700;color:#637387;white-space:nowrap}.overview-period-options select{display:block;width:100%;margin-top:6px;border:1px solid #cddbea;border-radius:9px;background:#fff;color:#263548;padding:8px;font:inherit}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:31px 0 0}.stat{border:1px solid #dde9f6;border-radius:17px;padding:17px 13px}.stat span{font-size:30px;color:#315e8f}.stat small{font-size:12px}.mini-list{display:grid;gap:10px}.mini-card{border:1px solid #dce8f6;border-radius:15px;padding:15px 17px;display:flex;justify-content:space-between;align-items:center;gap:10px;color:#263548;text-decoration:none;background:#fff}.mini-card:hover{background:#f6faff}.mini-card strong{display:block;font-size:15px;line-height:1.35}.mini-card small{display:block;color:#697a8d;margin-top:5px;font-size:12px}.mini-pill{background:#eef4fb;border-radius:99px;padding:8px;color:#315e8f;white-space:nowrap;font-size:12px;font-weight:700}.quickstart .muted{min-height:84px}
.applications,.backup{margin:28px 36px 0;scroll-margin-top:20px}.applications .panel-head h2{margin-bottom:7px}.applications .panel-head p{color:#637387}.filters{margin:25px 0 19px}.filter.selected{background:#315e8f;border-color:#315e8f}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.empty{grid-column:1/-1}.card{flex-direction:column;justify-content:space-between;min-width:0}.card-actions{justify-content:flex-end}.company,.pill{color:#315e8f}.backup .muted{max-width:620px}.backup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.backup-folder-status{margin-top:12px;font-size:13px}.import-label{display:inline-block}.import-label input{position:absolute;width:1px;height:1px;opacity:0}
@media(max-width:1100px){.sidebar{width:240px}.dashboard{gap:16px;padding:22px 18px 0}.applications,.backup{margin:22px 18px 0}}
@media(max-width:850px){.app{display:block;padding:12px}.sidebar{width:100%;min-height:0;max-height:none;position:static;overflow:visible;border-radius:20px;padding:14px 18px}.brand{border:0;padding:0}.brand-icon{width:42px;height:42px}.brand strong{font-size:18px}.sidebar-nav{display:flex;gap:5px;margin:12px 0 0;overflow-x:auto}.nav-link{font-size:13px;white-space:nowrap;padding:10px 12px;border-radius:12px}.page-header{margin-top:12px;min-height:100px;padding:23px}.dashboard{grid-template-columns:1fr 1fr}.dashboard .panel{min-height:245px}}
@media(max-width:650px){.dashboard,.cards{grid-template-columns:1fr}.dashboard .panel{min-height:0}.page-header h1{font-size:27px}.panel{padding:21px}.stats{gap:6px}.stat{padding:12px 9px}.stat span{font-size:23px}.stat small{font-size:11px}}
