@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700;750&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--brand:#2563eb;--nav:#0e1728;--ink:#192637;--sub:#738094;--line:#e9edf3;--soft:#f6f8fb;--white:#fff;--green:#16836d;--red:#c63e4a;--orange:#d98f23;--radius:15px;--shadow:0 3px 20px rgba(20,34,60,.035)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'DM Sans',Inter,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px;color:var(--ink);background:var(--soft);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
svg{width:20px;height:20px;flex-shrink:0}
.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:255px;background:var(--nav);color:#f4f8ff;display:flex;flex-direction:column;z-index:30;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#3b4860 transparent}
.brandmark{height:90px;padding:24px 25px;display:flex;align-items:center;gap:11px;font-family:Manrope,system-ui,sans-serif;color:#fff}
.brand-icon{width:39px;height:39px;background:#e0f7eb;border-radius:12px;color:#152c28;display:grid;place-items:center;font-size:26px;font-weight:800;letter-spacing:-3px;position:relative;padding-right:4px}
.brand-icon span{position:absolute;right:1px;top:0;font-size:13px;letter-spacing:-2px;color:#1b9c79}
.brandword{font-size:24px;font-weight:800;line-height:1;letter-spacing:-1.6px}.brandword small{display:block;font-family:'DM Sans',sans-serif;letter-spacing:2px;font-size:8px;font-weight:750;color:#8190a8;margin-top:7px}
.workspace-box{display:flex;align-items:center;margin:12px 16px 32px;padding:12px;background:#19273c;border:1px solid #2a3b54;border-radius:12px;min-width:0;gap:10px}
.workspace-identity{width:38px;height:38px;display:grid;place-items:center;flex-shrink:0;background:#294a50;color:#ddfaf1;border-radius:10px;font-weight:800;overflow:hidden;font-size:16px}.workspace-identity img{height:100%;width:100%;object-fit:contain;background:#fff;padding:3px}
.workspace-text{min-width:0;flex:1}.workspace-text small{display:block;font-size:9px;letter-spacing:1.3px;font-weight:700;color:#8192aa;margin-bottom:4px}.workspace-text strong{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:700}.workspace-dot{height:6px;width:6px;background:#6bdbad;box-shadow:0 0 0 3px #6bdbad22;border-radius:50%;flex-shrink:0}
.nav-caption{color:#62718c;letter-spacing:2px;font-weight:750;font-size:10px;margin:0 26px 12px}
.side-nav{padding:0 12px;display:grid;gap:2px}
.nav-link{display:flex;align-items:center;gap:12px;padding:12px 15px;color:#a7b6ca;font-weight:600;border-radius:9px;position:relative;transition:background .15s,color .15s}
.nav-link svg{height:18px;width:18px;stroke-width:1.75}
.nav-link:hover{background:#1b2b41;color:#fff}.nav-link.current{background:#263950;color:#f7fbff}.nav-link.current::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:3px;background:#7de6bf;border-radius:3px}
.nav-tip{margin-left:auto;font-size:13px;color:#718398}
.sidebar-footer{margin-top:auto;padding:21px 16px 14px}.sidebar-helper{background:linear-gradient(125deg,#1d3947,#1f2f42);border:1px solid #365465;padding:17px;border-radius:13px;color:#e4f5f0}.helper-star{display:block;color:#8ee6c8;font-size:21px;margin-bottom:12px}.sidebar-helper strong{font-size:13px}.sidebar-helper p{font-size:11px;line-height:1.7;color:#a3b9c1;margin:8px 0 0}
.signed-as{display:flex;align-items:center;gap:9px;padding:24px 0 2px}.avatar,.top-avatar{width:36px;height:36px;background:#2f465c;border-radius:11px;display:grid;place-items:center;color:#fff;font-weight:800}.signed-details{flex:1;min-width:0}.signed-details strong{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.signed-details small{font-size:11px;color:#8492a5;display:block;margin-top:3px}.icon-btn{display:grid;place-items:center;border:0;background:transparent;color:inherit;width:32px;height:32px;border-radius:8px}.icon-btn svg{width:17px;height:17px}.icon-btn:hover{background:#ffffff14}.logout-btn{color:#8ea0b5}
.app-main{margin-left:255px;width:calc(100% - 255px);min-height:100vh;display:flex;flex-direction:column}
.topbar{height:75px;background:#fff;border-bottom:1px solid var(--line);padding:0 39px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:11px}.breadcrumb{color:#8b98a9}.breadcrumb-sep{color:#c6cdd5}.topbar-left strong{font-weight:750}.topbar-right{gap:19px}.today-pill{display:flex;align-items:center;gap:8px;font-size:12px;color:#526277}.today-pill svg{width:15px;height:15px}.top-avatar{background:#eef3f9;color:#23445d;width:33px;height:33px;border-radius:50%;border:1px solid #dae7f1}.mobile-menu{display:none}
.content{padding:36px 39px 55px;width:100%;max-width:1700px;margin:0 auto;flex:1;min-width:0}
.page-header{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:30px}.eyebrow{color:#7b8ba1;font-size:10px;font-weight:800;letter-spacing:2px;margin-bottom:10px}.page-header h1{font-family:Manrope,system-ui,sans-serif;font-size:29px;font-weight:800;letter-spacing:-1.3px;margin:0;color:#1b2a3e}.page-header p{color:#8a94a5;font-size:13px;margin:8px 0 0;line-height:1.6}.page-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:end}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:9px;font-size:12.5px;font-weight:750;border:1px solid transparent;transition:transform .16s,filter .16s,background .16s;white-space:nowrap;line-height:1.2}.btn svg{width:15px;height:15px}.btn:hover{transform:translateY(-1px);filter:brightness(.97)}.btn-primary{background:var(--brand);color:#fff;box-shadow:0 4px 10px rgba(33,72,126,.10)}.btn-muted{background:#fff;border-color:#e3e8ef;color:#384b61}.btn-danger{background:#c93446;color:#fff}.btn-sm{padding:9px 12px;font-size:11.5px}
.period-select{display:flex;align-items:center}.period-select label{display:flex;gap:11px;align-items:center;color:#718199;font-size:12px}.period-select input{border:1px solid #e2e7ef;background:#fff;border-radius:8px;padding:10px;color:#283952;color-scheme:light;font-weight:700}
.notice{background:#ecf8f3;color:#187558;border:1px solid #cbe9dd;border-radius:11px;display:flex;align-items:center;gap:10px;padding:13px 16px;margin-bottom:20px;font-size:12.5px;font-weight:700}.notice.error{background:#fff1f2;border-color:#f9d8db;color:#ae3c4b}.notice svg{width:17px;height:17px}
.welcome-banner{min-height:214px;background:#142838;border-radius:17px;position:relative;display:flex;justify-content:space-between;padding:27px 40px;overflow:hidden;color:#fff;margin-bottom:23px}.welcome-art{position:absolute;inset:0;pointer-events:none;overflow:hidden}.orb{position:absolute;border-radius:50%;border:1px solid #8ee8bf2b}.orb-one{width:430px;height:430px;right:13%;top:-240px;background:radial-gradient(circle,#2d65738a,#1b344500 70%)}.orb-two{width:290px;height:290px;right:30%;top:75px}.orb-three{width:500px;height:500px;right:-200px;top:-100px;background:radial-gradient(circle,#184d4766,#1b344500 70%)}
.welcome-text,.banner-stats{position:relative;z-index:1}.tag{display:inline-flex;background:#ffffff17;border:1px solid #ffffff25;color:#b2eacf;font-size:9px;font-weight:800;letter-spacing:1.7px;border-radius:5px;padding:7px 10px}.welcome-text h2{font-family:Manrope,system-ui,sans-serif;font-size:27px;font-weight:750;letter-spacing:-1.2px;line-height:1.3;margin:12px 0 7px}.welcome-text h2 em,.auth-story h1 em{font-style:normal;color:#90e2bc}.welcome-text p{font-size:12px;color:#a4bdc4;margin:7px 0 14px}.banner-link{font-size:11.5px;font-weight:750;color:#b3f0cb;display:flex;gap:5px;align-items:center}.banner-link svg{width:14px;height:14px}
.banner-stats{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;border-left:1px solid #ffffff27;padding-left:32px;min-width:150px}.banner-stats strong{font-family:Manrope,sans-serif;font-size:30px;line-height:1;font-weight:800}.banner-stats span{font-size:10px;color:#aac1c5;margin:7px 0}.banner-rule{height:1px;background:#ffffff2a;width:100%;margin:9px 0 14px}
.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.kpi-card{padding:22px 22px 19px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;min-width:0}.kpi-head{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#738197;font-size:12px;margin-bottom:18px;font-weight:650}.kpi-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:8px}.kpi-icon svg{width:17px;height:17px}.kpi-icon.green{background:#e8f8f0;color:#208a63}.kpi-icon.orange{background:#fff4e5;color:#d78b28}.kpi-icon.blue{background:#eaf2ff;color:#326db0}.kpi-icon.purple{background:#f2effd;color:#8064bf}.kpi-card>strong{font-family:Manrope,sans-serif;display:block;font-size:23px;font-weight:800;letter-spacing:-1.1px;line-height:1.3;white-space:nowrap}.kpi-card>small{display:block;color:#9ba6b5;font-size:10.5px;margin-top:12px}
.positive{color:#158466!important}.negative{color:#c0454f!important}
.content-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(340px,.9fr);gap:18px;margin-bottom:20px;align-items:stretch}
.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-width:0;overflow:hidden}.panel-head{padding:23px 23px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px}.panel-head h2{font-family:Manrope,system-ui,sans-serif;font-size:15px;font-weight:800;letter-spacing:-.4px;margin:0}.panel-head p{font-size:11.5px;color:#97a0af;margin:6px 0 0}.panel-head .eyebrow{margin-bottom:6px}.text-link,.row-action{font-size:11.5px;color:#3d6785;font-weight:750;background:transparent;border:0;white-space:nowrap}.text-link:hover,.row-action:hover{color:var(--brand)}
.table-scroll{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}table thead{background:#fafbfd}table th{text-align:left;font-weight:750;font-size:10px;color:#8390a0;text-transform:uppercase;letter-spacing:.9px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 18px}table td{padding:17px 18px;border-bottom:1px solid #f0f2f5;color:#4b5a6a;font-size:12px;vertical-align:middle}table tbody tr:last-child td{border-bottom:0}table tbody tr:hover{background:#fbfcfe}table td strong{color:#29384c;font-weight:750}.money-cell{font-weight:700;color:#2e3f54}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,'SFMono-Regular',Consolas,monospace;font-size:11.5px}
.table-identity{display:flex;gap:10px;align-items:center}.table-identity strong,.stack-name strong{display:block;font-size:12px}.table-identity small,.stack-name small{display:block;font-size:10.5px;color:#96a1af;margin-top:5px;max-width:250px;overflow:hidden;text-overflow:ellipsis}.asset-tile,.customer-tile{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#edf5f4;color:#317b74;flex-shrink:0}.asset-tile svg{width:17px;height:17px}.customer-tile{background:#eef0fa;color:#4f609e;font-weight:800;font-size:12px}
.pill{display:inline-flex;align-items:center;gap:5px;background:#f0f3f7;color:#647287;border-radius:5px;padding:5px 8px;font-size:10px;font-weight:750;white-space:nowrap}.pill::before{content:"";width:5px;height:5px;background:currentColor;border-radius:50%}.pill.good{background:#eaf8f1;color:#238365}.pill.warn{background:#fff5e8;color:#ba7f2d}.pill.bad{background:#fff0f0;color:#bb4b52}.recent-list{padding:0 16px 12px}.recent-item{display:flex;align-items:center;gap:10px;padding:15px 7px;border-top:1px solid #f1f3f5;transition:background .15s}.recent-item:hover{background:#fbfcfe}.invoice-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#5272ac;background:#edf3fb}.invoice-icon svg{width:17px;height:17px}.recent-text{min-width:0;flex:1}.recent-text strong,.recent-end strong{display:block;font-size:11.5px;font-weight:750}.recent-text small{display:block;color:#9da7b5;font-size:10px;margin-top:5px;max-width:140px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-end{text-align:right}.recent-end .pill{margin-top:6px;font-size:9px}
.insight-bar{display:flex;gap:14px;background:#eaf4f1;border:1px solid #d8ebe5;border-radius:11px;padding:15px 20px;color:#4b6964;margin-top:20px}.insight-bar p{margin:0;font-size:11.5px;line-height:1.65}.insight-bar strong{color:#215b4f;margin-right:5px}.insight-icon{font-size:19px;color:#287b65;line-height:1}
.content-footer{padding:15px 39px 23px;color:#a2adba;font-size:10px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
.section-intro{margin:0 0 19px;display:flex;justify-content:space-between;gap:20px;color:#8693a2;font-size:11px}.section-intro span:first-child{font-weight:750;color:#4b5c73}.muted-sm{color:#9da7b5;font-size:10px;margin-top:4px}.block{display:block}
.empty-state{padding:50px 22px;text-align:center;white-space:normal}.empty-icon{width:52px;height:52px;margin:0 auto 15px;display:grid;place-items:center;background:#edf5f2;color:#3a8a78;border-radius:14px}.empty-icon svg{width:24px;height:24px}.empty-state h3{color:#34445a;font-size:15px;margin:0 0 8px}.empty-state p{font-size:12px;color:#94a1ae;max-width:340px;margin:0 auto 19px;line-height:1.65}.empty-state .btn{display:inline-flex}.row-buttons{display:flex;gap:10px;align-items:center}.row-buttons form{display:inline}
.feature-strip{display:flex;align-items:flex-start;gap:14px;padding:17px 21px;background:#ebf3f6;border:1px solid #dcecf0;border-radius:12px;margin-bottom:22px}.feature-strip>span{color:#3f7b90;background:#fff;border-radius:8px;width:35px;height:35px;display:grid;place-items:center;flex-shrink:0}.feature-strip svg{width:18px;height:18px}.feature-strip strong{color:#365969;font-size:12.5px}.feature-strip p{color:#667f8c;font-size:11.5px;line-height:1.65;margin:5px 0 0}
.mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:21px}.mini-stats>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:21px 23px}.mini-stats span{color:#8290a1;font-size:11px;display:block;margin-bottom:10px}.mini-stats strong{font-family:Manrope,sans-serif;font-size:22px;letter-spacing:-1px}.panel-tools{display:flex;gap:8px}.table-search{padding:10px 13px;border:1px solid var(--line);border-radius:8px;width:190px;font-size:11px;outline:none}.table-search:focus{border-color:var(--brand)}
.modal{border:0;padding:0;border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 25px 90px #09162e44;max-width:700px;width:calc(100% - 30px);max-height:90vh;overflow-y:auto}.modal::backdrop{background:#0b1a2dd1;backdrop-filter:blur(3px)}.modal-head{padding:24px 27px 19px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.modal-head h2{font-family:Manrope,sans-serif;font-size:19px;margin:0;letter-spacing:-.55px}.modal-head p{color:#8b96a6;font-size:12px;margin:7px 0 0;line-height:1.5}.modal-head .icon-btn{font-size:25px;color:#6a7683}.modal-inner{padding:25px 27px 26px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:17px;row-gap:18px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field span{font-size:11.5px;font-weight:700;color:#4b5d70}.field input,.field select,.field textarea,.auth-form input{background:#fbfcfe;border:1px solid #dfe5ed;border-radius:8px;outline:none;padding:11px 12px;color:#25374a;min-width:0;width:100%;font-size:12.5px;transition:border-color .15s,box-shadow .15s}.field input:focus,.field select:focus,.field textarea:focus,.auth-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px #7d9dbc1e}.field textarea{resize:vertical}.field input[type=color]{padding:3px;height:41px;background:#fff}.field-full{grid-column:1/-1}.field-notice{background:#f4f8fb;border-radius:8px;padding:11px;align-self:end;font-size:11px;color:#8290a3;line-height:1.6}.field-notice strong{color:#48627d}.form-actions{grid-column:1/-1;display:flex;gap:10px;justify-content:flex-end;padding-top:9px}.form-hint{color:#8795a4;font-size:11px;margin:0}.back-link{display:inline-block;margin:-6px 0 18px;color:#5a6d80;font-size:12px;font-weight:700}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.invoice-summary{padding-bottom:23px}.invoice-big-amount{margin:5px 23px 18px;background:#f4f8fb;padding:23px;border-radius:11px}.invoice-big-amount small{display:block;color:#8291a1;font-size:11px;margin-bottom:7px}.invoice-big-amount strong{display:block;font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-1px}.invoice-big-amount span{display:block;font-size:11.5px;color:#8292a0;margin-top:10px}.progress-outer{height:6px;background:#edf0f4;border-radius:5px;margin:0 23px 23px;overflow:hidden}.progress-inner{height:100%;background:#239879;border-radius:5px}.detail-rows{padding:0 23px}.detail-rows>div{padding:12px 0;display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #f1f3f6;font-size:12px}.detail-rows span{color:#91a0ad}.detail-rows strong{font-weight:700;text-align:right;white-space:normal;max-width:60%}.detail-links{display:flex;gap:10px;padding:22px 23px 0;flex-wrap:wrap}.payment-list{padding:0 22px 19px}.payment-item{display:flex;align-items:center;gap:10px;padding:16px 0;border-top:1px solid #f0f2f5}.payment-symbol{height:33px;width:33px;display:grid;place-items:center;background:#e8f7f1;color:#268163;border-radius:9px}.payment-symbol svg{height:16px;width:16px}.payment-item>div{flex:1}.payment-item strong{display:block;font-size:12px}.payment-item small{display:block;color:#8998a6;font-size:10px;margin-top:4px}.payment-item.voided{opacity:.7}.payment-item.voided .payment-symbol{color:#b44850;background:#ffebec}
.bar-chart{height:250px;display:flex;align-items:stretch;gap:25px;padding:15px 27px 22px;border-top:1px solid var(--line)}.bar-column{display:flex;flex-direction:column;align-items:center;gap:12px;flex:1;min-width:0;color:#8b96a5;font-size:11px}.bar-stack{height:100%;width:100%;display:flex;gap:5px;align-items:end;justify-content:center;border-bottom:1px solid #edf1f3}.bar-income,.bar-expense{width:30%;max-width:28px;border-radius:5px 5px 0 0;min-height:2px}.bar-income{background:#317f74}.bar-expense{background:#d8a478}.legend{display:flex;align-items:center;gap:5px;font-size:10px;color:#718193}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;background:#317f74;margin-left:7px}.legend i:last-of-type{background:#d8a478}.cost-composition{padding:20px 26px;display:flex;justify-content:center;gap:28px;align-items:center;border-top:1px solid var(--line);height:250px}.cost-donut{width:155px;height:155px;border-radius:100%;display:grid;place-items:center;background:conic-gradient(#2b8c79 var(--maintenance-share),#d8a478 0);flex-shrink:0}.cost-donut>div{width:118px;height:118px;background:#fff;border-radius:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.cost-donut strong{font-family:Manrope,sans-serif;font-size:24px}.cost-donut small{font-size:10px;color:#8593a1;margin-top:5px}.cost-legend{min-width:145px;display:flex;flex-direction:column;gap:17px}.cost-legend>div:not(.cost-total){display:flex;flex-direction:column;gap:6px}.cost-legend span{font-size:10.5px;color:#8b98a6;display:flex;align-items:center;gap:7px}.cost-legend strong{font-size:12.5px}.dot{width:9px;height:9px;border-radius:2px}.dot-maint{background:#2b8c79}.dot-other{background:#d8a478}.cost-total{border-top:1px solid var(--line);padding-top:13px}.cost-total span{margin-bottom:6px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(285px,.8fr);gap:18px;align-items:start}.settings-layout>div{display:grid;gap:18px}.settings-form{padding:0 24px 25px}.settings-panel .panel-head{margin-bottom:3px}.brand-upload{display:flex;align-items:center;gap:22px;padding:4px 24px 27px}.logo-preview{height:90px;width:90px;background:#f4f6fa;border:1px dashed #d6e0e9;display:grid;place-items:center;font-family:Manrope,sans-serif;font-weight:800;font-size:25px;color:#57718c;flex-shrink:0;border-radius:12px;overflow:hidden}.logo-preview img{width:100%;height:100%;object-fit:contain}.brand-upload form{min-width:0}.file-upload{display:block;font-size:11px;color:#8492a3;margin-bottom:14px}.file-upload input{display:block;max-width:230px;margin-top:9px;font-size:11px}.brand-preview{padding-bottom:20px}.preview-paper{margin:0 22px;padding:23px 20px;background:#fff;border:1px solid #e3e7ef;box-shadow:0 10px 25px #19253f0a;min-height:330px}.preview-mark{height:39px;width:45px;background:var(--brand);color:#fff;border-radius:6px;display:grid;place-items:center;margin-bottom:10px;font-weight:800;font-size:20px;overflow:hidden}.preview-mark img{height:100%;width:100%;object-fit:contain;background:#fff}.preview-paper>strong{display:block;font-size:12px}.preview-label{margin:24px 0 18px;font-size:26px;font-weight:800;color:#d2dbe3;letter-spacing:2px}.preview-line{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:9px 0;font-size:9px;gap:5px}.preview-line span{color:#9aa5b1}.preview-totals{margin-top:18px;display:flex;justify-content:space-between;font-size:11px;font-weight:700;gap:6px}.preview-note{margin:15px 22px 0;font-size:11px;line-height:1.7;color:#8996a4}.config-card{padding:20px 22px;margin-top:18px}.config-card h3{margin:0 0 12px;font-size:14px}.config-card p{color:#7d8c9b;font-size:11px;line-height:1.7}.config-card p svg{vertical-align:middle;height:15px;width:15px;margin-right:5px}
.error-cell{display:block;max-width:180px;overflow:hidden;text-overflow:ellipsis;color:#c27a7c;font-size:10px}
.auth-body{background:#fff}.auth-layout{min-height:100vh;display:grid;grid-template-columns:minmax(420px,48%) 1fr}.auth-left{position:relative;overflow:hidden;background:linear-gradient(155deg,#0e1e30,#132d39 65%,#103c39);display:flex;flex-direction:column;color:#fff;min-height:700px}.auth-brand{position:relative;z-index:1;margin-left:32px}.auth-story{margin:auto 0;padding:50px max(50px,12%);position:relative;z-index:1}.auth-story .tag{color:#a3e7d0}.auth-story h1{font-family:Manrope,sans-serif;font-size:clamp(38px,4vw,62px);line-height:1.16;letter-spacing:-3px;margin:20px 0}.auth-story>p{font-size:14px;color:#a7bec4;max-width:430px;line-height:1.9}.auth-benefits{display:grid;gap:15px;margin-top:40px;color:#d5e8e7;font-size:12px}.auth-benefits div{display:flex;gap:12px;align-items:center}.auth-benefits span{color:#9ce5c8;background:#ffffff13;width:24px;height:24px;display:grid;place-items:center;border-radius:6px;font-size:16px}.auth-glow{height:500px;width:500px;position:absolute;right:-260px;bottom:-220px;border:1px solid #5a988d60;border-radius:50%;box-shadow:0 0 0 60px #4b91820d,0 0 0 140px #4b918212,0 0 0 230px #4b918209}.auth-bottom{display:flex;justify-content:space-between;position:relative;z-index:1;padding:25px 40px;font-size:10px;letter-spacing:2px;color:#879ea2}.auth-bottom span{font-size:24px;color:#7cc7ae}.auth-right{display:grid;place-items:center;padding:50px 30px}.auth-card{width:100%;max-width:420px}.auth-kicker{font-size:10px;letter-spacing:2.5px;font-weight:800;color:#298572;margin-bottom:14px}.auth-card h2{font-family:Manrope,sans-serif;font-size:28px;letter-spacing:-1.3px;margin:0}.auth-card>p{font-size:13px;color:#8b97a6;line-height:1.7;margin:9px 0 29px}.auth-form{display:grid;gap:19px}.auth-form .field{gap:9px}.auth-form .field span{font-size:12px}.auth-form input{padding:13px;font-size:13px}.auth-submit{width:100%;margin-top:8px;font-size:13px;padding:14px}.auth-switch{text-align:center;color:#8190a0;font-size:12px;margin-top:29px}.auth-switch a{font-weight:800;color:#1d796b}.auth-note{font-size:10.5px;color:#b0b9c4;text-align:center;margin-top:34px!important}.mobile-auth-brand{display:none}
.invoice-public-body{background:#f2f5f8;color:#203044}.public-toolbar{max-width:840px;margin:24px auto 18px;display:flex;align-items:center;justify-content:space-between;color:#617387;font-size:13px;padding:0 5px}.invoice-paper{max-width:840px;min-height:950px;background:#fff;border:1px solid #e2e8f0;box-shadow:0 15px 40px #24304414;margin:0 auto 25px;padding:55px 60px}.paper-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.paper-logo{height:58px;min-width:58px;max-width:170px;width:fit-content;padding:0 12px;background:var(--brand);color:#fff;border-radius:8px;display:grid;place-items:center;font-size:25px;font-weight:800;margin-bottom:13px}.paper-logo img{max-width:165px;height:58px;object-fit:contain;background:#fff;padding:5px}.paper-head h2{font-family:Manrope,sans-serif;margin:0;font-size:21px}.paper-head p{font-size:12px;color:#8190a2;line-height:1.6;margin:7px 0}.paper-invoice-heading{text-align:right;display:grid;justify-items:end;gap:10px}.paper-invoice-heading>div{font-family:Manrope,sans-serif;font-size:29px;font-weight:800;letter-spacing:2.5px;color:#bfcbd4}.paper-invoice-heading strong{font-size:12px}.paper-details{display:flex;justify-content:space-between;gap:15px;margin-top:70px;margin-bottom:43px}.paper-details>div:last-child{display:flex;gap:23px}.paper-details small{font-size:10px;letter-spacing:1px;color:#9ba6b2;font-weight:700;display:block;margin-bottom:9px}.paper-details strong{display:block;font-size:13px}.paper-details p{margin:7px 0;color:#7f8c9b;font-size:11px;line-height:1.6}.paper-table{width:100%}.paper-table th,.paper-table td{padding:18px 11px;font-size:12px;text-align:left;white-space:normal}.paper-table th:last-child,.paper-table td:last-child{text-align:right}.paper-total{width:300px;max-width:100%;margin:33px 0 60px auto}.paper-total>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;font-size:12px;color:#6a7a8a}.paper-total strong{color:#25364b}.paper-total .paper-balance{padding:20px 16px;background:#f2f7fa;font-weight:800;color:#30475a;font-size:14px;border-radius:6px}.paper-total .paper-balance strong{font-size:17px;color:var(--brand)}.paper-foot{padding:20px 0;border-top:1px solid #e8edf3}.paper-foot h4{font-size:13px}.paper-foot p{max-width:500px;font-size:11.5px;color:#8291a1;line-height:1.8}.paper-foot>div{margin-top:30px;font-weight:800;font-size:13px}.public-foot{text-align:center;font-size:11px;color:#8290a0;margin:0 10px 35px}
.sidebar-scrim{display:none}
@media(max-width:1290px){.sidebar{width:220px}.app-main{margin-left:220px;width:calc(100% - 220px)}.content{padding:30px 23px}.topbar{padding:0 23px}.kpi-grid{gap:11px}.kpi-card{padding:17px}.kpi-card>strong{font-size:19px}.content-grid{grid-template-columns:minmax(0,1fr)}.recent-list{display:grid;grid-template-columns:repeat(2,1fr);gap:0 15px}}
@media(max-width:940px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:255px}.sidebar.open{transform:translateX(0)}.sidebar-scrim.show{display:block;position:fixed;inset:0;background:#0d1a2bbd;z-index:25}.app-main{margin-left:0;width:100%}.mobile-menu{display:grid}.topbar{height:64px}.page-header h1{font-size:25px}.auth-layout{grid-template-columns:minmax(300px,44%) 1fr}.auth-story{padding:35px 30px}.auth-story h1{font-size:40px}}
@media(max-width:650px){.content{padding:24px 14px}.topbar{padding:0 15px}.topbar-right .today-pill{display:none}.page-header{align-items:start;flex-direction:column;margin-bottom:22px}.page-actions{width:100%;justify-content:flex-start}.page-header h1{font-size:25px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.kpi-card{padding:14px}.kpi-card>strong{font-size:16px}.kpi-head{font-size:10px;margin-bottom:12px}.kpi-icon{height:24px;width:24px}.kpi-icon svg{height:14px;width:14px}.kpi-card>small{font-size:9px;line-height:1.5}.welcome-banner{padding:21px 20px;min-height:190px}.welcome-text h2{font-size:23px}.welcome-text p{font-size:10px}.banner-stats{min-width:88px;padding-left:15px}.banner-stats strong{font-size:23px}.banner-stats span{font-size:9px}.recent-list{display:block}.mini-stats{grid-template-columns:1fr;gap:8px}.mini-stats>div{padding:15px}.mini-stats strong{font-size:19px}.detail-layout,.settings-layout{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-actions{grid-column:1}.field-full{grid-column:1}.modal-head,.modal-inner{padding:18px}.section-intro span:last-child{display:none}.cost-composition{gap:15px}.bar-chart{gap:13px;padding:15px 14px 24px}.content-footer{padding:10px 17px 20px}.auth-layout{display:block}.auth-left{display:none}.auth-right{min-height:100vh;padding:28px 24px}.mobile-auth-brand{display:block;font-size:11px;letter-spacing:2px;color:#708696;font-weight:800;margin-bottom:55px}.auth-card h2{font-size:24px}.invoice-paper{padding:30px 20px;min-height:auto}.paper-details{margin-top:40px;flex-wrap:wrap}.paper-head h2{font-size:17px}.paper-invoice-heading>div{font-size:23px}.paper-details>div:last-child{gap:13px}.public-toolbar{padding:0 15px}.public-toolbar .btn{padding:9px}}
@media print{.public-toolbar,.public-foot{display:none!important}.invoice-public-body{background:white}.invoice-paper{border:0;box-shadow:none;margin:0 auto;padding:20px 30px;max-width:100%;min-height:0}.paper-details{margin-top:45px}.paper-total{margin-bottom:40px}@page{size:A4;margin:12mm}}

/* Portfolio extensions */
.btn-primary,.preview-mark,.paper-logo{color:var(--brand-contrast,#fff)}
.inline-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.inline-actions form{margin:0}
.mt-panel{margin-top:20px}.table-search{border:1px solid var(--line);padding:9px 12px;border-radius:8px;font-size:12px;max-width:220px}
.invite-link-box{background:#e9f6f1;border:1px solid #b9e6d5;padding:22px;border-radius:14px;margin-bottom:20px;color:#235347}
.invite-link-box strong{font-size:14px}.invite-link-box p{font-size:12px;line-height:1.6;margin:9px 0;color:#49756b}
.invite-url{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.invite-url code{overflow-wrap:anywhere;font-size:11px;flex:1;min-width:190px;padding:14px;background:#fff;border-radius:7px}
.attention-strip{padding:19px 23px;border:1px solid #f2dcb5;background:#fffaf0;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.attention-strip strong{display:flex;gap:7px;align-items:center;color:#7c5b28;font-size:13px}.attention-strip svg{width:17px}.attention-strip p{color:#967d58;font-size:12px;margin:7px 0 0}.attention-strip>div:last-child{display:flex;gap:8px;flex-wrap:wrap}
.read-only button[data-open],.read-only a[href*="&edit="],.read-only .modal,.read-only form:has(input[name="action"]:not([value="logout"])){display:none!important}
@media(max-width:650px){.attention-strip{align-items:stretch;flex-direction:column}.invite-url{display:block}.invite-url .btn{margin-top:12px}.table-search{max-width:150px}}
.forgot-link{font-size:12px;text-align:right;margin:12px 0 0}.forgot-link a{color:#1d796b;font-weight:750}
.read-only form:has(input[name="action"][value="password_change"]){display:grid!important}

/* Operational reporting and renewal filters */
.period-select select{border:1px solid #e2e7ef;background:#fff;border-radius:8px;padding:10px;color:#283952;font-size:12px;font-weight:700;max-width:190px}
.kpi-head>svg{height:21px;width:21px;color:#627990}
@media(max-width:650px){.panel-head:has(.period-select){align-items:flex-start;flex-direction:column}.period-select select{max-width:240px}}

/* Finbelt Asset Manager 1.2 — customer experience and operational workflows */
.asetra-inline-editor{min-width:230px;max-width:380px;padding:12px;background:#f7fafc;border:1px solid #e7edf3;border-radius:11px;color:#42546b;font-size:12px;line-height:1.65}
.asetra-inline-editor p{max-height:145px;overflow:auto;white-space:pre-line}
.asetra-inline-editor .field{margin:9px 0}
.asetra-inline-editor select{max-width:300px;min-width:175px;padding:8px 10px;border:1px solid #dce5eb;border-radius:7px;font:inherit;background:white}
.asetra-inline-editor button{cursor:pointer}
.asetra-inline-editor .auth-form{gap:8px}
details summary{cursor:pointer;white-space:nowrap}
.portal-body{background:#f5f8fb;color:#24344b;min-height:100vh;font-family:Inter,Arial,sans-serif}
.portal-top{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px max(4vw,20px);background:#fff;border-bottom:1px solid #e1e8f1}
.portal-logo{display:flex;align-items:center;gap:12px}
.portal-logo img{width:48px;height:48px;object-fit:contain;border-radius:8px}
.portal-logo strong,.portal-logo small{display:block}
.portal-logo strong{font-size:17px}.portal-logo small{font-size:10px;letter-spacing:1.7px;color:#8b99aa;font-weight:800;margin-top:5px}
.portal-account{display:flex;align-items:center;gap:18px;color:#7c889a;font-size:12px}.portal-account form{margin:0}
.portal-main{max-width:1190px;margin:45px auto 65px;padding:0 20px}
.portal-heading{margin-bottom:22px}.portal-heading h1{font-size:clamp(25px,3vw,36px);letter-spacing:-1.2px;margin:6px 0}.portal-heading p{color:#78879c;font-size:13px}
.portal-tabs{display:flex;gap:5px;flex-wrap:wrap;border-bottom:1px solid #dfe7ef;padding-bottom:12px;margin:20px 0 23px}
.portal-tabs a{padding:11px 15px;border-radius:8px;text-decoration:none;color:#667992;font-size:12px;font-weight:750}
.portal-tabs a.active,.portal-tabs a:hover{background:var(--brand);color:var(--brand-contrast)}
.portal-panel{margin-top:17px;padding:20px}.portal-panel .panel-head{margin-bottom:15px}.portal-panel h3{font-size:15px}
.portal-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.portal-stat-grid .kpi-card{min-width:0}
.portal-stat-grid:not(:has(.kpi-card)){padding:22px 0}
.portal-stat-grid>div:not(.kpi-card){padding:12px;background:#f3f7fa;border-radius:9px;display:grid;gap:6px}
.portal-stat-grid>div>small{font-size:11px;color:#8696a5}.portal-stat-grid>div>strong{font-size:17px;overflow-wrap:anywhere}
.portal-password{max-width:480px;padding:12px}.portal-password .btn{justify-content:center}
.portal-footer{text-align:center;padding:20px;color:#96a6b6;font-size:11px;border-top:1px solid #e1e8ef}
.portal-auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;background:radial-gradient(circle at 5% 3%,#e6f4ee,#f8fbfd 45%,#f6f7fb)}
.portal-auth-brand{font-size:28px;font-weight:900;letter-spacing:-1px;color:#152c39}.portal-auth-brand>span{color:#2e9d7d}.portal-auth-brand small{display:block;text-align:center;font-size:9px;letter-spacing:2.5px;color:#83959e}
.portal-auth-card{width:min(460px,calc(100vw - 34px));padding:40px 37px;background:#fff;border:1px solid #e6edf0;border-radius:18px;box-shadow:0 24px 70px #1f3f4812}
.portal-auth-card h1{font-size:32px;letter-spacing:-1.5px;margin:3px 0}.portal-auth-card>p{font-size:13px;line-height:1.8;color:#82919d;margin:8px 0 24px}
.portal-auth-card .auth-form{gap:17px}.portal-auth-card .auth-switch{line-height:1.8}
@media(max-width:860px){.portal-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.portal-top{padding:14px 16px;align-items:flex-start;flex-direction:column}.portal-main{margin:23px auto 50px;padding:0 13px}.portal-tabs a{padding:8px 10px}.portal-stat-grid{gap:8px}.portal-stat-grid>div:not(.kpi-card){padding:9px}.portal-account{justify-content:space-between;width:100%}.portal-panel{padding:14px}.portal-auth-card{padding:28px 22px}}
@media print{.portal-top,.portal-tabs,.portal-heading,.portal-footer,.portal-panel>.panel-head .btn{display:none!important}.portal-body{background:#fff}.portal-main{margin:0;padding:0}.portal-panel{padding:15px;border:0}.portal-stat-grid{break-inside:avoid}}


/* FINBELT PREMIUM THEME */
:root{--surface:#ffffff;--bg:#f4f7fb;--text:#143043;--muted:#61758a;--line:#d9e5ee;--panel-shadow:0 18px 60px rgba(15,37,58,.08);}
body{color:var(--text)}
.app-body,.auth-body,.invoice-public-body{background:radial-gradient(circle at top left,#eef7f1 0,#f7fafc 30%,#f4f7fb 100%)}
.sidebar{background:linear-gradient(180deg,#0d2236 0%,#102b3f 50%,#102738 100%);box-shadow:18px 0 45px rgba(12,23,38,.12)}
.brandmark-image{gap:14px;align-items:center}.brandmark-logo{width:58px;height:auto;max-height:44px;display:block}.brandword-premium{display:flex;flex-direction:column;line-height:1}.brandword-premium strong{font-size:18px;letter-spacing:-.3px;color:#fff}.brandword-premium small{margin-top:6px;letter-spacing:2px;color:#8fb4b8;font-size:10px;font-weight:800}
.workspace-box,.panel,.kpi-card,.mini-stats>div,.welcome-banner,.topbar,.auth-card,.portal-auth-card,.invoice-paper{box-shadow:var(--panel-shadow)}
.topbar{background:rgba(255,255,255,.78);backdrop-filter:blur(14px);border-bottom:1px solid rgba(214,225,234,.9)}
.content-footer{background:rgba(255,255,255,.72);backdrop-filter:blur(10px);border-top:1px solid #e2eaf0}
.panel,.kpi-card,.mini-stats>div,.recent-item,.preview-paper,.table-scroll,.invoice-paper,.portal-panel{border:1px solid rgba(214,225,234,.85)}
.btn{border-radius:12px}.btn-primary{background:linear-gradient(135deg,#0c2e4f 0%,#12735f 100%);box-shadow:0 10px 24px rgba(15,74,71,.18)}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 15px 28px rgba(15,74,71,.22)}
.auth-left{background:linear-gradient(135deg,#0b2132 0%,#0e3145 55%,#0f5b57 100%)}
.auth-left:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 15% 20%,rgba(255,222,145,.18),transparent 26%),radial-gradient(circle at 78% 26%,rgba(47,191,166,.22),transparent 34%),linear-gradient(180deg,rgba(255,255,255,.03),transparent 40%);pointer-events:none}
.auth-brand-image,.mobile-auth-brand-premium{display:flex;align-items:center;gap:12px}.auth-logo{width:70px;max-height:56px;height:auto}.mobile-auth-brand-premium{display:none}.mobile-auth-brand-premium span{display:flex;flex-direction:column;line-height:1}.mobile-auth-brand-premium strong{font-size:18px;color:#173246}.mobile-auth-brand-premium small{margin-top:5px;font-size:10px;letter-spacing:2px;color:#728496;font-weight:800}.mobile-auth-logo{width:58px;height:auto;display:block}
.auth-card-premium,.portal-auth-card{background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border:1px solid rgba(221,230,237,.95);border-radius:28px}
.auth-story .tag,.eyebrow,.auth-kicker{color:#0f816f}.welcome-banner{background:linear-gradient(135deg,#0f2940 0%,#174a57 60%,#227068 100%)}
.kpi-icon.green,.pill.good{background:rgba(23,157,122,.12);color:#147863}.kpi-icon.blue{background:rgba(17,102,162,.12);color:#165f8f}.kpi-icon.orange,.pill.warn{background:rgba(221,145,33,.13);color:#946117}.kpi-icon.purple{background:rgba(67,80,191,.12);color:#4b58a1}.pill.bad{background:rgba(203,79,79,.12);color:#a53939}
.portal-auth-brand-image{display:flex;align-items:center;gap:14px}.portal-auth-brand-image img{width:72px;height:auto;display:block;filter:drop-shadow(0 10px 20px rgba(8,22,35,.12))}.portal-auth-brand-image strong{display:block;font-size:28px;font-weight:900;letter-spacing:-.9px;color:#173042}.portal-auth-brand-image small{display:block;margin-top:6px;text-align:left;font-size:10px;letter-spacing:2.5px;color:#7d8d99;font-weight:800}
.paper-logo img,.logo-preview img,.preview-mark img,.workspace-identity img,.portal-logo img{object-fit:contain;background:#fff;border-radius:12px;padding:6px;box-shadow:0 8px 20px rgba(15,37,58,.10)}
.public-toolbar{background:#0f2940;color:#e8f0f6}.public-toolbar .btn-primary{box-shadow:none}
@media(max-width:650px){.brandmark-logo{width:52px;max-height:40px}.mobile-auth-brand-premium{display:flex;margin-bottom:35px}.mobile-auth-brand{display:none}.auth-card-premium,.portal-auth-card{border-radius:24px}}

/* Finbelt production polish: accessible logo sizing and customer brand identity */
.brandmark-image .brandmark-logo{width:52px;height:54px;max-height:54px;flex:0 0 52px;object-fit:contain;filter:drop-shadow(0 7px 14px rgba(0,0,0,.15))}
.auth-brand-image .auth-logo{width:80px;height:88px;max-height:88px;flex:0 0 80px;object-fit:contain}
.portal-auth-brand-image img{height:76px;width:67px;object-fit:contain}
.mobile-auth-brand-premium .mobile-auth-logo{width:64px;height:70px;object-fit:contain}
.portal-company-identity{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#f4f8f9;border:1px solid #e1ecec;border-radius:12px;margin:10px 0 16px}
.portal-company-identity img{width:44px;height:44px;object-fit:contain;background:white;border:1px solid #e1e8e9;border-radius:9px;padding:4px}
.portal-company-identity h3{margin:0;font-size:14px;color:#183444;line-height:1.4;overflow-wrap:anywhere}
:where(.btn,.nav-link,.row-action,button,a,input,select,textarea):focus-visible{outline:3px solid #c59e4c;outline-offset:3px}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
@media(max-width:650px){.brandmark-image .brandmark-logo{width:46px;height:48px;max-height:48px;flex-basis:46px}.mobile-auth-brand-premium{margin-bottom:26px}}
