@import url('/fonts.css');
:root{--navy:#082345;--blue:#1262ed;--teal:#00bbaa;--ink:#142b49;--muted:#748399;--line:#e5ebf3;--bg:#f4f7fb;--shadow:0 12px 40px #112e5410}*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button{border:0;background:none;color:inherit}button.primary,.primary{background:var(--blue);color:white;padding:12px 20px;border-radius:10px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px;box-shadow:0 4px 12px #1262ed25;text-decoration:none}.primary:hover{background:#074fd1}.secondary{padding:10px 16px;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:600}.secondary:hover{background:#f1f5fb}.danger{color:#ba3044}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--blue)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin-bottom:10px}h2{font-size:23px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.6}small{font-size:12px}.shell{display:flex;min-height:100vh}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;background:var(--navy);padding:25px 18px;color:#b5c7e0;display:flex;flex-direction:column;z-index:3}.brand{display:block;text-decoration:none;color:#a9bedb;padding:0 8px 30px;border-bottom:1px solid #ffffff12}.brand img{width:160px;display:block;background:#fff;border-radius:12px;padding:10px}.brand span{display:block;font-size:11px;margin-top:12px;letter-spacing:.5px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#8098b9;margin:29px 12px 14px}nav{display:grid;gap:6px}nav button{display:flex;align-items:center;gap:12px;text-align:left;color:#adc1df;padding:13px 14px;border-radius:9px;font-weight:500;font-size:13px}nav button i{font-style:normal;font-size:20px;width:21px;text-align:center}nav button.active{background:#1764ed;color:white;box-shadow:0 6px 20px #0002}nav button:hover:not(.active){background:#ffffff0c;color:white}.nav-count{margin-left:auto;font-size:10px;background:#ffffff24;padding:3px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding:25px 12px 2px;border-top:1px solid #ffffff12;font-size:11px;position:relative}.sidebar-bottom strong{color:#b5ecd7;margin-left:13px;font-size:12px}.mode-dot{background:#4ad0a3;width:6px;height:6px;border-radius:50%;position:absolute;top:30px}.sidebar-bottom p{color:#869ebf;margin:12px 0 20px}.sidebar-link{padding:0;color:#a9c7fa;font-size:12px}.workspace{margin-left:248px;flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.breadcrumb{color:#7b8ba1;font-size:12px}.breadcrumb span{margin:0 14px;color:#ced8e5}.breadcrumb strong{font-weight:500;color:var(--ink)}.account{display:flex;align-items:center;gap:22px}.online{color:#51836e;font-size:11px;display:flex;align-items:center;gap:6px}.online b{width:5px;height:5px;background:#1bb986;border-radius:50%}.avatar{width:34px;height:34px;background:#edf3ff;color:#2260bc;border-radius:50%;font-weight:700;font-size:11px}main#main{max-width:1540px;margin:auto;padding:35px 38px 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:15px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.hero{border:1px solid #dce8fb;border-radius:16px;padding:30px 32px;background:linear-gradient(110deg,#e8f0ff,#f5fbff 65%,#e8faf4);display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;position:relative;overflow:hidden}.hero h2{margin:10px 0;font-size:27px}.hero p{font-size:13px;color:#607695;margin:0 0 20px}.hero-mark{border:1px solid #1262ed18;border-radius:50%;width:145px;height:145px;display:grid;place-items:center;margin-right:25px;box-shadow:0 0 0 18px #ffffff48,0 0 0 40px #ffffff30}.hero-mark span{font-size:75px;color:#1262ed}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;box-shadow:0 3px 9px #162d4a03}.stat-top{display:flex;align-items:center;gap:10px;color:#748399;font-size:12px}.stat-icon{display:grid;place-items:center;width:30px;height:30px;background:#edf4ff;color:#1262ed;border-radius:8px;font-size:17px}.stat:nth-child(2) .stat-icon{color:#0e9c87;background:#e7f8f1}.stat:nth-child(3) .stat-icon{color:#8364ce;background:#f1ecfc}.stat:nth-child(4) .stat-icon{color:#bf8332;background:#fff4de}.stat strong{display:block;font-size:26px;font-weight:650;letter-spacing:-1px;margin:16px 0 7px}.stat small{font-size:10px;color:#8291a5}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 3px 9px #162d4a03;overflow:hidden;margin-bottom:22px}.panel-head{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:15px}.panel-head h3{margin:0}.link{font-size:12px;font-weight:600;color:var(--blue)}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f8fafc;color:#8794a8;font-size:10px;letter-spacing:.6px;text-transform:uppercase;font-weight:600;padding:13px 24px;border-block:1px solid var(--line)}td{padding:17px 24px;border-bottom:1px solid #eef2f7;font-size:12px}tbody tr:last-child td{border:0}td strong{font-weight:600}td .sub{display:block;color:#8b98ab;font-size:10px;margin-top:6px}.right{text-align:right}.badge{display:inline-block;border-radius:5px;background:#fff5dc;color:#a77e2b;padding:5px 8px;font-size:10px;font-weight:600}.badge.green{color:#168571;background:#e5f7f0}.badge.blue{background:#ecf3ff;color:#326cbe}.badge.gray{background:#f0f2f6;color:#7b899a}.row-action{color:var(--blue);font-size:12px;font-weight:600;white-space:nowrap}.row-action+.row-action{margin-left:10px}.empty{text-align:center;padding:44px 25px;color:var(--muted);white-space:normal}.empty-symbol{font-size:33px;color:#adbed7;margin-bottom:12px}.empty h3{color:var(--ink);font-size:15px}.empty p{font-size:12px;max-width:370px;margin:0 auto 18px}.bottom-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:0 24px 24px}.quick{border:1px solid var(--line);padding:18px 10px;border-radius:10px;text-align:center;font-size:11px}.quick span{display:block;font-size:23px;color:var(--blue);margin-bottom:10px}.quick:hover{border-color:#a7c4ff;background:#f8fbff}.checklist{padding:0 24px 20px}.check-item{font-size:12px;padding:10px 0;display:flex;gap:10px;color:#657a92}.check-item b{color:#0aa88e}.notice{padding:15px 18px;background:#fffaf0;border:1px solid #f0e3c5;border-radius:10px;color:#93773c;font-size:12px;line-height:1.6;margin-bottom:23px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:15px}.search{position:relative;max-width:380px;width:100%}.search input{padding-left:36px;background:#fff}.search span{position:absolute;left:13px;top:10px;color:#90a0b8;font-size:18px}.count{color:#8794a8;font-size:12px}.tabs{display:flex;border-bottom:1px solid var(--line);padding:0 24px;gap:25px}.tabs button{font-size:12px;padding:15px 0;border-bottom:2px solid transparent;color:#8190a5}.tabs button.selected{color:var(--blue);border-color:var(--blue)}footer{padding:4px 38px 22px;color:#a0acbc;font-size:10px}footer span{margin:0 8px}dialog{border:0;border-radius:17px;width:min(760px,94vw);max-height:90vh;padding:0;color:var(--ink);box-shadow:0 20px 90px #051b4550}dialog.wide{width:min(1050px,96vw)}dialog::backdrop{background:#061c3c7a;backdrop-filter:blur(3px)}.modal-top{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:2}.modal-top h2{margin:8px 0 0;font-size:21px}.icon-button{font-size:25px;color:#8999ad;width:32px;height:32px;border-radius:8px}.icon-button:hover{background:#f2f5f9}#modal-content{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.span-2{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600;color:#546b88}input,select,textarea{width:100%;background:#fff;border:1px solid #dbe3ef;border-radius:8px;padding:11px 12px;color:#173456;min-height:40px}input:focus,select:focus,textarea:focus{outline:2px solid #b9d1ff;border-color:#6196f6}textarea{resize:vertical;min-height:75px}label small{font-size:10px;font-weight:400;color:#8a99ad}.form-section{font-size:11px;color:#6e829f;text-transform:uppercase;letter-spacing:1.4px;margin:24px 0 14px;padding-bottom:10px;border-bottom:1px solid var(--line)}.form-section:first-child{margin-top:0}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line)}.error{font-size:12px;color:#b22c42;line-height:1.6}.pill{display:inline-block;font-size:9px;letter-spacing:1px;font-weight:700;background:#eaf4ff;color:#3676c0;padding:7px 10px;border-radius:5px}.toast{position:fixed;bottom:25px;right:25px;max-width:470px;background:#102d4b;color:white;border-radius:12px;padding:17px 22px;box-shadow:var(--shadow);z-index:10;line-height:1.5}.line-picker{display:grid;grid-template-columns:1fr 100px auto;gap:12px;align-items:end;background:#f3f7fc;padding:16px;border-radius:10px;margin:17px 0}.lines-table input{min-width:85px;padding:7px;width:95px;font-size:12px}.lines-table input.description{width:200px}.lines-table td,.lines-table th{padding:10px 8px}.invoice-summary{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-top:20px}.totals{min-width:250px}.totals div{display:flex;justify-content:space-between;font-size:12px;color:#7a8ba2;padding:7px 0;gap:20px}.totals div.grand{border-top:1px solid var(--line);padding-top:13px;margin-top:7px;color:var(--ink);font-size:18px;font-weight:700}.detail-card{background:#f5f8fc;border:1px solid var(--line);border-radius:10px;padding:17px;margin-bottom:18px}.detail-card .pair{display:flex;justify-content:space-between;gap:15px;margin:8px 0;font-size:12px}.details-title{display:flex;align-items:start;justify-content:space-between;margin-bottom:20px}.details-title strong{font-size:23px}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:#fff}.login-story{background:linear-gradient(145deg,#072442,#0b3b6b 65%,#116a87);color:white;padding:55px 11%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;border:1px solid #ffffff12;width:550px;height:550px;border-radius:50%;right:-300px;bottom:-240px;box-shadow:0 0 0 55px #ffffff04,0 0 0 110px #ffffff03;pointer-events:none}.login-story img{width:200px;background:#fff;border-radius:15px;padding:15px;margin-bottom:70px}.login-story .eyebrow{color:#6ce8d8}.login-story h1{font-size:40px;line-height:1.25;margin:20px 0}.login-story p{font-size:14px;color:#acc9e6}.login-foot{color:#78a4cc;font-size:10px;position:absolute;bottom:35px}.login-card{width:100%;max-width:430px;align-self:center;justify-self:center;padding:35px}.login-card h2{margin:20px 0 12px;font-size:28px}.login-card p.muted{font-size:12px;margin-bottom:30px}.login-card form{display:grid;gap:21px}.login-card .error{margin:0}.full{width:100%}.login-help{font-size:10px;color:#91a0b5;margin:25px 0 0;padding-top:20px;border-top:1px solid var(--line)}[hidden]{display:none!important}.small-note{font-size:11px;color:#8394ab;line-height:1.7}.balance{padding:16px;border:1px solid #cceade;background:#eefaf4;border-radius:9px;color:#197a60;margin:12px 0}.balance strong{font-size:22px;display:block;margin:6px 0}.pending{background:#fff2d3;border:1px solid #edcc82;padding:15px;border-radius:10px;margin-bottom:20px;color:#806229;font-size:12px}.pending button{margin-left:12px}.busy-overlay{opacity:.6;pointer-events:none}.login-card input{font-size:13px}.metric-row{display:flex;gap:20px;flex-wrap:wrap}.metric-row .detail-card{flex:1;min-width:170px}.metric-row strong{display:block;font-size:22px;margin:8px 0}.toolbar .secondary{white-space:nowrap}.user-list{margin-top:20px;display:grid;gap:10px}.user-row{display:flex;justify-content:space-between;padding:12px;background:#f6f8fc;border-radius:8px;font-size:12px}@media(min-width:1600px){main#main{padding-top:45px}.hero{padding:40px}.hero h2{font-size:31px}}@media(max-width:1100px){.sidebar{width:215px}.workspace{margin-left:215px}main#main{padding:25px}.topbar{padding:0 25px}.stats{grid-template-columns:repeat(2,1fr)}.bottom-grid{grid-template-columns:1fr}.hero-mark{display:none}th,td{padding-left:17px;padding-right:17px}}@media(max-width:720px){.sidebar{width:64px;padding:15px 7px}.brand{padding:5px 0 15px}.brand img{width:48px;padding:3px;border-radius:5px}.brand span,.nav-label,.sidebar-bottom,nav button .nav-count{display:none}nav{margin-top:20px}nav button{font-size:0;gap:0;padding:12px;justify-content:center}nav button i{font-size:23px}.workspace{margin-left:64px}.topbar{height:60px;padding:0 15px}.online{display:none}main#main{padding:22px 15px}h1{font-size:25px}.page-heading{align-items:start}.page-heading .primary{font-size:11px;padding:11px}.page-heading p{font-size:11px}.hero{padding:25px 20px}.hero h2{font-size:23px}.stats{gap:10px}.stat{padding:15px}.stat strong{font-size:23px}.stat-top{font-size:10px}.quick-actions{grid-template-columns:1fr}.quick{display:flex;gap:15px;align-items:center;padding:12px}.quick span{margin:0}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.line-picker{grid-template-columns:1fr 80px}.line-picker button{grid-column:1/-1}.invoice-summary{flex-direction:column}.totals{width:100%}.modal-top{padding:20px}#modal-content{padding:20px}.login-wrap{grid-template-columns:1fr}.login-story{padding:25px}.login-story img{width:145px;margin-bottom:0}.login-story h1,.login-story p,.login-story .eyebrow,.login-foot{display:none}.login-card{padding:35px 28px}.login-card h2{font-size:25px}.toast{left:15px;right:15px;max-width:none}footer{padding:10px 15px;font-size:9px}.toolbar{align-items:stretch}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 7px}}
