:root{color-scheme:dark;--bg:#090a0b;--surface:#0d0e10;--line:#ffffff13;--text:#f3f2f5;--muted:#b9b9c1;--red:#fc0125;--green:#0bd999;--side:249px;font-family:Barlow,Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.4;background:radial-gradient(ellipse at 65% 10%,#24101216,transparent 55%),var(--bg)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{background:none}a{color:inherit;text-decoration:none}svg{width:21px;height:21px;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:36px;line-height:1.1;font-weight:700}h2{font-size:18px;font-weight:600}h3{font-size:16px;font-weight:600}p,.muted{color:var(--muted)}.red{color:var(--red)}.green{color:var(--green)}.small{font-size:12px}.loading{padding:20vh 10%;text-align:center}.brand{display:flex;align-items:center;gap:7px;font-family:Rajdhani,Barlow,sans-serif;font-size:29px;font-weight:700;letter-spacing:-.7px;white-space:nowrap}.brand .mark{height:42px;width:42px;overflow:hidden;position:relative}.brand img{width:84px;height:84px;position:absolute;left:-20px;top:-20px;max-width:none}.brand b{color:var(--red)}.brand.small{font-size:17px;gap:2px}.brand.small .mark{width:28px;height:28px}.brand.small img{width:55px;height:55px;left:-13px;top:-13px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--side);border-right:1px solid var(--line);background:#090a0bf5;z-index:20;display:flex;flex-direction:column;overflow-y:auto}.sidebar>.brand{padding:20px 35px 30px}.side-label{font-size:11px;color:#95959e;letter-spacing:.06em;margin:12px 34px 7px}.side-nav{padding:4px 9px 10px 20px;display:grid;gap:4px;position:relative;z-index:1}.side-nav>a,.side-nav>button,.finance-toggle{display:flex;gap:21px;align-items:center;width:100%;min-height:47px;padding:12px 17px;color:#cccdd6;font-size:15px;border:1px solid transparent;border-radius:5px;text-align:left}.side-nav>a:hover,.side-nav>button:hover{background:#ffffff05}.side-nav .active{background:linear-gradient(90deg,#fc01250b,#fc01251c);border:1px solid #fc012530;color:var(--red);box-shadow:inset 2px 0 var(--red),inset -1px 0 var(--red),0 0 20px #fc012507}.side-nav .submenu{display:grid;gap:2px;margin:0 0 15px 59px}.submenu a{padding:8px 0;color:var(--muted);font-size:14px}.submenu a.active{border:0;background:none;box-shadow:none}.finance-toggle .chevron{margin-left:auto;width:12px}.sidebar-art{flex:1;min-height:250px;max-height:370px;position:relative;overflow:hidden;background-image:url('admin-reference.png');background-size:1536px 1024px;background-position:0 -627px;background-repeat:no-repeat;margin-top:15px;mask-image:linear-gradient(transparent,#000 18%)}.side-footer{border-top:1px solid var(--line);padding:22px 33px;display:flex;align-items:center;justify-content:space-between;margin-top:auto;font-size:11px;color:#9399a4}.side-footer button{border:0;display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.topbar{height:75px;margin-left:var(--side);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:0 33px;background:#090a0bdd}.search{height:41px;width:415px;border:1px solid #ffffff22;background:#ffffff03;border-radius:7px;display:flex;align-items:center;padding:0 12px;gap:12px}.search input{border:0;background:none;outline:none;padding:0;width:100%;font-size:13px;color:var(--text)}.search kbd{background:#ffffff0b;border:1px solid var(--line);padding:2px 5px;border-radius:4px;font:12px Barlow;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:22px;margin-left:auto}.icon-button{border:0;padding:6px;display:grid;place-items:center;position:relative;border-radius:5px}.icon-button:hover{background:#ffffff0a}.notification-count{position:absolute;right:0;top:-3px;background:var(--red);border-radius:50%;font-size:10px;min-width:17px;line-height:17px;text-align:center}.profile-button{display:flex;align-items:center;gap:14px;text-align:left;padding:0 0 0 24px;border:0;border-left:1px solid var(--line)}.avatar{width:40px;height:40px;display:grid;place-items:center;background:linear-gradient(130deg,#57000d,#af001a);border-radius:50%;font-size:17px}.profile-button strong{font-size:14px;font-weight:500}.profile-button small{display:block;font-size:12px;color:var(--muted)}.profile-button>svg{width:13px}.workspace{margin-left:var(--side);padding:0 31px 32px 33px}.admin-welcome{height:145px;display:flex;flex-direction:column;justify-content:center;position:relative;isolation:isolate;overflow:hidden}.admin-welcome p{font-size:16px;margin-top:3px}.admin-welcome::before{content:"";position:absolute;right:-1px;top:0;width:790px;height:145px;background:url('admin-reference.png') -746px -75px /1536px 1024px;z-index:-1;mask-image:linear-gradient(90deg,transparent,#000 28%)}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-bottom:16px}.stat{min-height:132px;border:1px solid var(--line);border-radius:8px;padding:18px;background:linear-gradient(135deg,#ffffff02,transparent)}.stat-top{display:flex;align-items:center;gap:14px;color:var(--muted);font-size:13px;margin-bottom:10px}.stat-icon{display:grid;place-items:center;width:35px;height:35px;background:#fc012515;color:var(--red);border-radius:7px}.stat-icon svg{width:25px;height:25px}.stat-value{font-size:25px;font-weight:700;line-height:1.1;margin-bottom:6px}.stat-foot{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.stat-foot a{color:var(--text)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.43fr) minmax(0,1fr);gap:16px}.panel{background:linear-gradient(130deg,#ffffff015,transparent);border:1px solid var(--line);border-radius:8px;padding:18px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.panel-head p{font-size:12px;margin-top:2px}.text-link{color:var(--muted);border:0;display:inline-flex;align-items:center;gap:10px;white-space:nowrap;font-size:12px;padding:0}.text-link:hover{color:var(--text)}.text-link svg{width:15px}.chart-panel{min-height:298px}.chart-tools{display:flex;align-items:center;gap:12px}.chart-tools select{font-size:12px;width:auto;padding:8px 9px;background:#090a0b}.chart-legend{display:flex;justify-content:flex-end;gap:22px;font-size:12px;color:var(--muted);margin:0 150px 6px 0}.legend-dot{display:inline-block;width:12px;height:4px;border-radius:5px;margin-right:7px;vertical-align:middle;background:var(--red)}.legend-dot.gray{background:#b9b9c1}.chart{width:100%;height:206px;overflow:visible}.chart text{fill:#a8a8b0;font:11px Barlow,Arial}.chart .grid{stroke:#ffffff0c;stroke-width:1}.chart .sales-line{fill:none;stroke:var(--red);stroke-width:2.5}.chart .income-line{fill:none;stroke:#aaaab2;stroke-width:2}.order-list{display:grid;gap:0}.order-row{display:grid;grid-template-columns:41px minmax(95px,1fr) 105px 110px 15px;gap:13px;align-items:center;border-bottom:1px solid #ffffff08;padding:7px 0;font-size:12px}.order-row:last-child{border-bottom:0}.order-row .muted{font-size:11px;display:block}.thumb{width:41px;height:41px;border-radius:7px;display:block;border:1px solid #ffffff14;background-image:url('../reference.png');background-size:420px 630px;background-position:-214px -405px}.thumb.gta{background-position:-307px -405px}.thumb.brand{background-position:-24px -405px}.thumb.system{background:none;display:grid;place-items:center;color:var(--text)}.progress{height:7px;background:#ffffff19;border-radius:8px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--red);border-radius:8px;box-shadow:0 0 14px #fc012540}.progress-caption{text-align:right;font-size:11px;color:var(--muted);margin-bottom:3px}.badge{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff19;color:var(--muted);background:#ffffff05;border-radius:20px;font-size:11px;padding:2px 9px;white-space:nowrap}.badge.good{color:#0ce6a6;background:#00d9960b;border-color:#00d99635}.badge.warn{color:#ffb546;background:#ffb5460b;border-color:#ffb54635}.badge.red{color:var(--red);border-color:#fc012540;background:#fc01250c}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap;font-size:13px}th{font-weight:400;color:#b9bbc8;padding:10px 0;border-bottom:1px solid var(--line)}td{padding:10px 8px 10px 0;border-bottom:1px solid #ffffff09;color:#cacbd4}tr:last-child td{border-bottom:0}.finance-body{display:flex;gap:24px;align-items:center;justify-content:space-around;margin-top:16px}.donut{width:154px;height:154px;flex-shrink:0;border-radius:50%;background:conic-gradient(#0fbf88 0 var(--income),var(--red) var(--income) 100%);position:relative;display:grid;place-items:center}.donut:before{content:"";position:absolute;inset:17px;border-radius:50%;background:var(--bg)}.donut>div{position:relative;text-align:center;font-size:12px}.donut strong{font-size:16px;display:block;margin-top:5px}.finance-summary{border:1px solid var(--line);border-radius:7px;flex:1;padding:0 14px}.finance-summary>div{display:flex;align-items:center;gap:9px;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.finance-summary>div:last-child{border:0}.dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:var(--green);margin-right:6px}.dot.red{background:var(--red)}.dot.gray{background:#85858c}.next-due{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:7px;padding:10px;margin-top:17px;font-size:12px}.next-due .due-amount{margin-left:auto;text-align:right}.next-due small{display:block;color:var(--muted)}.sales-panel,.finance-panel{min-height:288px}.empty{padding:28px 12px;color:var(--muted);text-align:center;line-height:1.6;font-size:14px}.demo-label{font-size:11px;color:#f2b44d;margin-left:12px}.client-mode{--side:232px}.client-mode .topbar{height:54px;padding:0 31px 0 24px}.client-mode .topbar .search{height:33px;width:330px;opacity:0;transition:opacity .2s}.client-mode .topbar:focus-within .search,.client-mode .topbar:hover .search{opacity:1}.client-mode .avatar{background:linear-gradient(120deg,#444,#222);width:36px;height:36px}.client-mode .profile-button small{font-size:11px}.client-mode .workspace{padding:0 26px 0 24px}.client-mode .sidebar>.brand{font-size:26px;padding:24px 32px 27px}.client-mode .side-nav{padding:0 8px 12px}.client-mode .side-nav>a{min-height:44px;padding:11px 23px;gap:20px;font-size:14px;margin-bottom:2px}.client-mode .sidebar-art{background-image:url('client-reference.png');background-position:0 -460px;min-height:300px;max-height:450px;margin-top:40px}.client-mode .side-footer{padding:20px 32px;min-height:90px}.client-welcome{height:221px;border:1px solid var(--line);border-radius:8px;position:relative;overflow:hidden;isolation:isolate;background:url('client-reference.png') -256px -54px /1536px 1024px;margin-bottom:14px}.welcome-copy{position:absolute;left:20%;top:20%;width:45%;height:74%;background:radial-gradient(ellipse,#090a0b 60%,#090a0bf5 73%,transparent 78%);padding:9px 10px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.welcome-copy .brand{font-size:20px;align-self:flex-start;margin-left:10px}.welcome-copy h1{font-family:Rajdhani,Barlow,sans-serif;font-size:52px;text-transform:uppercase;font-weight:700;white-space:nowrap}.welcome-copy p{font-size:15px;max-width:450px;margin-top:5px}.client-mode .stat-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:15px}.client-mode .stat{min-height:115px;display:flex;gap:18px;padding:15px}.client-mode .stat-icon{width:45px;height:45px;border-radius:12px}.client-mode .stat-icon svg{width:30px;height:30px}.client-mode .stat-top{margin:7px 0 5px;font-size:12px}.client-mode .stat-value{font-size:28px;margin-bottom:8px}.client-layout{display:grid;grid-template-columns:minmax(0,2.78fr) minmax(280px,1fr);gap:18px}.project-panel{padding:17px 18px}.project-panel>.panel-head{margin-bottom:20px}.project-list{display:grid;gap:14px}.project{display:flex;align-items:center;gap:17px;border:1px solid var(--line);border-radius:9px;padding:10px 12px;min-height:114px;background:#05060740}.project .thumb{width:96px;height:94px;flex-shrink:0;background-size:700px 1050px;background-position:-353px -676px}.project .thumb.gta{background-position:-512px -676px}.project .thumb.brand{background-position:-38px -676px}.project-info{flex:1;min-width:0}.project-title{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.project-title h3{font-size:16px}.project-progress{display:flex;gap:8px;align-items:center;margin:15px 0}.project-progress .progress{flex:1;height:7px}.project-progress small{font-size:11px}.steps{display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);font-size:10px}.step{display:flex;gap:6px;align-items:center;white-space:nowrap}.step i{width:15px;height:15px;border-radius:50%;background:#777;display:grid;place-items:center;font-size:10px;font-style:normal;color:var(--bg)}.step.done i{background:var(--red);color:white}.step.current i{border:3px solid var(--red);background:#090a0b}.steps .connector{height:1px;background:#555;flex:1;min-width:8px}.steps .connector.done{background:var(--red)}.project>.button{margin-left:14px;flex-shrink:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #ffffff29;border-radius:5px;padding:9px 15px;font-size:12px;min-height:33px;color:var(--text);background:#0a0a0b80;transition:background .2s,transform .2s}.button svg{width:15px;height:15px}.button:hover{background:#ffffff0a;transform:translateY(-1px)}.button.primary{background:var(--red);border-color:var(--red);box-shadow:0 0 20px #fc012517;color:#fff}.button.primary:hover{background:#da0020}.button.outline{border-color:#fc012575}.button.danger{color:#ff516a;border-color:#fc012550}.button.wide{width:100%}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:15px}.quick-card{display:flex;align-items:flex-start;gap:18px;padding:20px;min-height:141px}.round-icon{width:53px;height:53px;display:grid;place-items:center;flex-shrink:0;color:var(--red);background:#fc012515;border-radius:50%}.round-icon svg{width:30px;height:30px}.round-icon.green{color:var(--green);background:#00d99612}.quick-card h3{font-size:14px;margin:5px 0}.quick-card p{font-size:12px;line-height:1.5;margin-bottom:14px}.quick-card .text-link{color:var(--text)}.client-right{display:grid;gap:14px;align-content:start}.client-right .panel{padding:14px 18px}.client-right .panel-head{margin-bottom:12px}.client-right h2{font-size:16px}.invoice-card{border:1px solid var(--line);border-radius:8px;padding:12px}.invoice-row{display:flex;align-items:center;gap:12px;margin-bottom:10px}.invoice-row>div:nth-child(2){flex:1}.invoice-row small{font-size:10px;display:block;color:var(--muted)}.invoice-row strong{display:block;font-size:16px;margin-top:4px}.invoice-row .date{text-align:right;font-size:13px}.data-list{display:grid;gap:10px;font-size:12px}.data-list>div{display:flex;gap:12px;align-items:center}.data-list svg{width:18px;height:18px}.help-panel{background:repeating-linear-gradient(138deg,transparent 0 55px,#fc01250c 55px 56px),linear-gradient(110deg,#fc01250b,transparent);border-color:#fc012536;display:flex;gap:13px}.help-panel p{font-size:12px;line-height:1.3;margin:5px 0 14px}.help-panel .round-icon{width:45px;height:45px}.portal-footer{display:flex;align-items:center;gap:24px;border-top:1px solid var(--line);padding:16px 0;margin-top:16px;font-size:11px;color:var(--muted)}.portal-footer .brand{border-right:1px solid #ffffff3b;padding-right:20px}.portal-footer nav{margin-left:auto;display:flex;gap:27px}.portal-footer .tagline{margin-left:auto;max-width:115px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:29px 0 24px}.page-title h1{font-size:30px;margin-bottom:5px}.page-title p{font-size:14px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.toolbar input{max-width:360px}.toolbar select{width:auto;min-width:140px}.toolbar .button{margin-left:auto}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}.summary-grid .stat{min-height:110px}.list-actions{display:flex;gap:7px}.list-actions .button{padding:5px 9px;font-size:11px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.service-tile h2{margin:14px 0 7px}.service-tile p{font-size:14px;margin-bottom:18px;min-height:45px}.service-tile .price{font-size:24px;font-weight:600;margin-bottom:16px}.profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:20px}.settings-form{max-width:750px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}.field label{font-size:13px;color:var(--muted)}.field.full{grid-column:1/-1}.check{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted);margin:14px 0}.check input{width:17px;height:17px;accent-color:var(--red)}input,textarea,select{width:100%;border:1px solid #ffffff22;background:#0a0a0c;color:var(--text);padding:11px 12px;border-radius:6px}textarea{resize:vertical;min-height:90px}input:focus,select:focus,textarea:focus{outline:1px solid var(--red);outline-offset:1px}button:focus-visible,a:focus-visible{outline:2px solid var(--red);outline-offset:3px}button:disabled{opacity:.5;cursor:wait}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.form-help{font-size:12px;color:var(--muted);margin-bottom:14px}.form-error{color:#ff627a;line-height:1.5;margin-top:12px}.auth{min-height:100dvh;display:grid;place-items:center;padding:28px;background:radial-gradient(ellipse at 80% 10%,#fc01251a,transparent 50%),var(--bg)}.auth-card{width:min(100%,460px);padding:36px;border:1px solid var(--line);border-radius:14px;background:#101012e8}.auth-card>.brand{justify-content:center;margin-bottom:25px}.auth-card h1{font-size:29px;margin-bottom:9px}.auth-card>p{margin-bottom:25px;font-size:14px}.auth-card form>.button{margin-top:12px}.auth-bottom{display:flex;justify-content:space-between;gap:15px;margin-top:20px;font-size:12px;color:var(--muted)}dialog{width:min(700px,calc(100vw - 28px));max-height:90dvh;overflow:auto;background:#111215;border:1px solid #ffffff25;border-radius:13px;color:var(--text);padding:30px;box-shadow:0 20px 100px #0009}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}dialog h2{font-size:25px;margin:0 28px 20px 0}.close{position:absolute;right:12px;top:10px;font-size:27px;width:32px;height:32px;line-height:1;border:0;border-radius:5px}.close:hover{background:#ffffff09}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 22px;border:1px solid #fc012555;border-radius:8px;background:#17171d;z-index:80;opacity:0;pointer-events:none;transition:.2s;max-width:calc(100vw - 30px)}#toast.show{opacity:1;transform:translate(-50%,0)}.message-list{display:grid;gap:12px;max-height:360px;overflow:auto;margin:20px 0}.message{border:1px solid var(--line);background:#ffffff02;border-radius:8px;padding:13px}.message.admin{border-left:2px solid var(--red)}.message p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px;font-size:14px}.message small{color:var(--muted);font-size:11px;margin-left:9px}.detail-meta{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:14px 0}.detail-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.invoice-large{font-size:36px;font-weight:600;margin:15px 0}.notice{background:#fc01250a;border:1px solid #fc012530;border-radius:7px;padding:12px;font-size:13px;color:var(--muted);margin:15px 0;white-space:pre-wrap}.search-result{display:block;width:100%;padding:14px;border:1px solid var(--line);text-align:left;border-radius:7px;margin-bottom:8px}.notification-item{display:block;width:100%;text-align:left;padding:15px 0;border:0;border-bottom:1px solid var(--line)}.notification-item small{display:block;color:var(--muted);margin-top:4px}.notification-item.unread{color:var(--red)}.mobile-menu{display:none}.light{--bg:#f4f4f7;--surface:#fff;--text:#16161a;--muted:#656570;--line:#00000019;color-scheme:light}.light .sidebar,.light .topbar{background:#f9f9fc}.light .panel,.light .stat{background:#fff}.light td,.light th{color:#555}.light input,.light select,.light textarea,.light dialog{background:#fff}.light .admin-welcome::before{opacity:.2}.light .sidebar-art{opacity:.8}.light .welcome-copy{background:#090a0b;color:#f3f2f5}.light .button{background:transparent}.light .button.primary{background:var(--red)}.light .side-nav>a,.light .side-nav>button{color:#555}.light .side-nav .active{color:var(--red)}.light .search{background:#fff}.light #toast{background:#fff}.light .chart text{fill:#555}.light .chart .grid{stroke:#00000015}.light .profile-button small{color:var(--muted)}.light .client-welcome{color:#fff}
@media(min-width:1650px){.workspace{max-width:1600px;margin-right:auto}.client-welcome{background-size:100% auto;background-position:center 0;background-image:none}.client-welcome:before{content:"";position:absolute;inset:0;background:url('client-reference.png') -256px -54px/1536px 1024px}.welcome-copy{left:250px;width:550px}.admin-welcome::before{right:0}}
@media(max-width:1300px){:root{--side:220px}.sidebar>.brand{padding-inline:24px;font-size:26px}.workspace{padding-left:22px;padding-right:22px}.topbar{padding-inline:22px}.stat{padding:14px}.stat-top{font-size:12px;gap:10px}.stat-value{font-size:23px}.dashboard-grid{grid-template-columns:1.3fr 1fr}.order-row{grid-template-columns:35px 1fr 68px 88px 12px;gap:8px;font-size:11px}.order-row .thumb{width:35px;height:35px}.order-row .badge{font-size:10px;padding-inline:5px}.finance-body{gap:12px}.donut{width:125px;height:125px}.finance-summary{padding-inline:10px}.finance-summary>div{font-size:12px}.client-mode{--side:215px}.client-mode .sidebar>.brand{padding-inline:24px;font-size:25px}.client-layout{grid-template-columns:minmax(0,2.5fr) 275px;gap:14px}.project{gap:12px}.project .thumb{width:72px;height:80px}.project>.button{margin-left:0;padding-inline:10px}.steps{font-size:9px;gap:4px}.step{gap:4px}.step i{width:12px;height:12px}.project-title{gap:8px}.project-title h3{font-size:15px}.project-title .badge{font-size:10px}.quick-card{padding:15px;gap:11px}.quick-card .round-icon{width:40px;height:40px}.quick-card h3{font-size:13px}.welcome-copy{left:20%;width:52%;background:#090a0bf7}.welcome-copy h1{font-size:43px}.welcome-copy p{font-size:14px}.client-mode .stat{gap:11px;padding:12px}.client-mode .stat-icon{width:38px;height:38px}.portal-footer{gap:14px}.portal-footer nav{gap:16px}}
@media(max-width:1100px){.stat-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.order-row{grid-template-columns:41px 1fr 100px 120px 20px;font-size:13px}.finance-body{justify-content:start}.finance-summary{max-width:500px}.admin-welcome::before{opacity:.4}.client-layout{grid-template-columns:1fr}.client-right{grid-template-columns:repeat(3,1fr)}.client-right .panel{padding:14px}.invoice-row{flex-wrap:wrap}.invoice-row .date{text-align:left}.client-mode .stat-grid{grid-template-columns:repeat(2,1fr)}.client-welcome{background-position:-330px -54px}.welcome-copy{left:13%;width:65%;background:#090a0bf5}.client-right .help-panel{display:block}.client-right .round-icon{margin-bottom:10px}.portal-footer .tagline{display:none}.cards-grid{grid-template-columns:repeat(2,1fr)}.profile-grid{grid-template-columns:1fr}}
@media(max-width:800px){:root,.client-mode{--side:0px}.sidebar{transform:translateX(-100%);width:240px;transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:20px 0 80px #000b}.mobile-menu{display:grid}.topbar,.client-mode .topbar{padding:0 16px;height:64px;gap:12px}.search{max-width:300px;width:auto;flex:1}.search kbd{display:none}.client-mode .topbar .search{opacity:1;width:auto}.top-actions{gap:10px}.profile-button{padding-left:10px;gap:8px}.profile-button>div:not(.avatar){display:none}.profile-button>svg{display:none}.workspace,.client-mode .workspace{padding:0 16px 25px}.admin-welcome{height:140px}h1{font-size:30px}.admin-welcome p{font-size:14px}.client-welcome{height:210px;margin-top:12px}.welcome-copy{top:20%;left:10%;width:80%;height:70%}.welcome-copy h1{font-size:39px}.welcome-copy .brand{display:none}.portal-footer{flex-wrap:wrap}.portal-footer nav{margin-left:0}.client-mode .sidebar-art{margin-top:15px}.side-nav{padding-top:5px}.side-footer{min-height:70px}}
@media(max-width:520px){.search input{font-size:12px}.search{padding:0 8px;gap:6px;height:35px}.search>svg{width:15px}.top-actions{gap:3px}.top-actions>[data-action=theme]{display:none}.avatar{width:32px;height:32px;font-size:13px}.client-mode .avatar{width:32px;height:32px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:12px;min-height:123px}.stat-top{align-items:start;gap:8px;font-size:11px}.stat-icon{width:29px;height:29px;flex-shrink:0}.stat-icon svg{width:21px;height:21px}.stat-value{font-size:22px}.stat-foot{font-size:11px}.stat-grid>.stat:last-child:nth-child(odd){grid-column:1/-1;min-height:100px}.admin-welcome{height:140px}.admin-welcome h1{font-size:29px}.admin-welcome p{max-width:300px}.panel{padding:14px}.panel-head{gap:8px}.panel-head h2{font-size:16px}.chart-tools select{max-width:120px;padding:7px 3px}.chart-legend{margin-right:12px}.chart{height:190px}.order-row{grid-template-columns:32px minmax(85px,1fr) 60px 13px;gap:8px;font-size:11px}.order-row>.badge{display:none}.order-row .thumb{width:32px;height:32px}.finance-body{gap:10px}.donut{width:120px;height:120px}.donut strong{font-size:14px}.finance-summary{padding:0 9px}.finance-summary>div{font-size:11px}.client-mode .stat-grid{gap:10px}.client-mode .stat{padding:12px;gap:8px}.client-mode .stat-icon{width:30px;height:33px}.client-mode .stat-icon svg{width:24px;height:24px}.client-mode .stat-top{font-size:11px;margin-top:0}.client-mode .stat-foot{font-size:11px}.client-welcome{height:175px;background-position:-590px -70px}.welcome-copy{left:5%;width:90%;top:14%;height:80%}.welcome-copy h1{font-size:32px;white-space:normal}.welcome-copy p{font-size:13px}.client-layout{gap:15px}.project-panel{padding:13px}.project{flex-wrap:wrap;gap:10px;padding:10px}.project .thumb{width:50px;height:60px}.project-info{min-width:170px}.project-title{gap:6px}.project-title h3{width:100%;font-size:14px}.project-title .badge{font-size:9px}.project-progress{margin:12px 0}.steps{flex-wrap:wrap;justify-content:start;gap:8px;font-size:9px}.steps .connector{display:none}.project>.button{margin-left:auto;padding:6px 12px;font-size:11px}.project-panel .panel-head{align-items:start}.project-panel .panel-head p{max-width:180px}.project-panel .panel-head>.button{font-size:10px;padding:7px}.quick-actions{grid-template-columns:1fr;gap:10px}.quick-card{min-height:100px}.quick-card p{margin-bottom:10px}.client-right{grid-template-columns:1fr}.client-right .help-panel{display:flex}.invoice-row{flex-wrap:nowrap}.invoice-row .date{text-align:right}.cards-grid,.summary-grid{grid-template-columns:1fr}.page-title{align-items:start;gap:12px}.page-title h1{font-size:26px}.page-title>.button{font-size:11px;white-space:nowrap}.page-title p{font-size:13px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.auth-card{padding:25px}.auth-card .brand{font-size:27px}dialog{padding:25px 19px}.toolbar input{max-width:100%}.toolbar select{flex:1}.portal-footer .brand{padding-right:10px}.portal-footer>span{font-size:10px}.profile-button{border:0;padding-left:3px}}
.stat-foot .progress{flex:1;min-width:60px}.order-row>div:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.order-row .muted{overflow:hidden;text-overflow:ellipsis}.order-row{min-height:49px;padding:5px 0}.stat-top{white-space:nowrap}.order-list{min-height:0}.sidebar-art{position:absolute;bottom:72px;width:100%;height:320px;min-height:0;max-height:none;margin:0;background-position:0 -630px;background-size:1536px 1024px;pointer-events:none}.side-footer{position:relative;background:var(--bg);z-index:2}.client-mode .sidebar-art{position:absolute;bottom:90px;height:448px;min-height:0;max-height:none;margin:0;background-position:0 -460px}.client-mode .side-nav>a{padding-right:14px;gap:18px}.welcome-copy{background:#0a0b0cfb;left:21%;width:43%;top:21%;height:65%;padding:8px 8px;text-align:center}.welcome-copy h1{font-size:58px;align-self:flex-start;line-height:1.05}.welcome-copy .brand{margin-left:0}.welcome-copy p{font-size:15px}.client-mode .stat{padding-top:13px;padding-bottom:13px}.project .thumb{height:92px}
@media(max-width:1300px){.welcome-copy{left:18%;width:64%;top:20%;height:70%}.welcome-copy h1{font-size:45px;align-self:center}.welcome-copy p{font-size:14px}}
@media(max-width:800px){.client-welcome{background-position:right -54px}.welcome-copy{inset:0;width:100%;height:100%;padding:25px;background:linear-gradient(90deg,#090a0bf5,#090a0bbf)}.welcome-copy h1{font-size:39px;align-self:center}.sidebar-art{opacity:.5}.client-mode .sidebar-art{opacity:.6}}
@media(max-width:520px){.welcome-copy h1{font-size:32px}.welcome-copy p{font-size:13px}.project .thumb{height:60px}.stat-top{white-space:normal}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.portal-footer,.page-title>.button,.toolbar,.list-actions,#toast,dialog .close,.form-actions{display:none!important}.workspace,.client-mode .workspace{margin:0;padding:0}.panel,body{background:white!important;color:black!important}.muted,p,td,th,h1,h2,h3{color:black!important}dialog[open]{position:static;max-height:none;width:100%;border:0;box-shadow:none}.workspace:has(~dialog[open]){display:none}}

/* Banner do cliente: recortes decorativos sem o texto embutido na referência. */
.client-welcome{background:#0a0b0c;background-image:none}
.client-welcome::before,.client-welcome::after{content:"";position:absolute;top:0;bottom:0;height:100%;z-index:-1;pointer-events:none;background-image:url('client-reference.png');background-size:1536px 1024px;background-repeat:no-repeat}
.client-welcome::before{left:0;right:auto;width:min(23%,264px);background-position:-256px -54px;mask-image:linear-gradient(90deg,#000 75%,transparent)}
.client-welcome::after{left:auto;right:0;width:min(39%,490px);background-position:right -26px top -54px;mask-image:linear-gradient(90deg,transparent,#000 22%)}
.client-welcome .welcome-copy{left:21%;right:27%;top:0;bottom:0;width:auto;height:auto;padding:22px 10px;background:none;justify-content:center}
.client-welcome .welcome-copy h1{font-size:clamp(32px,3.65vw,58px);white-space:normal;overflow-wrap:anywhere;align-self:center;max-width:100%}
.client-welcome .welcome-copy .brand{align-self:flex-start;margin-left:0}
.client-welcome .welcome-copy p{max-width:450px}
@media(max-width:1100px){.client-welcome .welcome-copy{left:12%;right:12%;padding:18px 12px}.client-welcome::before,.client-welcome::after{opacity:.45}.client-welcome .welcome-copy h1{font-size:clamp(30px,4vw,43px)}}
@media(max-width:800px){.client-welcome .welcome-copy{left:0;right:0;padding:20px}.client-welcome::before,.client-welcome::after{opacity:.3}.client-welcome .welcome-copy h1{font-size:clamp(26px,5.4vw,39px)}}



/* Bounded application frame: preserve the reference scale on large screens. */
:root{--frame:1536px;--bg:#0a0a0c}
body{background:#070709}
#app{max-width:var(--frame);min-height:100dvh;margin-inline:auto;background:var(--bg);position:relative}
.sidebar{left:max(0px,calc((100% - var(--frame))/2))}
.workspace,.client-mode .workspace{max-width:none;margin-right:0;padding-left:24px;padding-right:24px;min-width:0}
.topbar,.client-mode .topbar{padding-inline:24px}
.search,.search input,.stat,.stat-top,.stat-foot,.client-layout>*,.client-right>*,.project-info,.form-grid>*,.profile-grid>*{min-width:0}
h1,h2,h3{font-family:Rajdhani,Barlow,Arial,sans-serif;text-transform:uppercase;letter-spacing:.01em}
h1{font-size:36px}h2{font-size:20px}h3{font-size:18px}
.stat-top{white-space:normal}.stat-value{font-size:25px;overflow-wrap:anywhere}.stat-foot{flex-wrap:wrap}
.panel-head,.page-title{flex-wrap:wrap}.panel-head>div,.page-title>div{min-width:0}
.panel,.stat{border-radius:4px}
.finance-body{flex-wrap:wrap}.finance-summary{min-width:min(100%,190px);max-width:none}.finance-summary>div{flex-wrap:wrap}
.admin-welcome{height:auto;min-height:145px;padding-block:24px}.admin-welcome h1,.admin-welcome p,.data-list,.project-title{overflow-wrap:anywhere}
.chart{width:100%;height:auto;aspect-ratio:680/205;display:block}.chart-legend{margin-right:12px}
.client-right,.quick-actions,.cards-grid,.summary-grid{min-width:0}
.project{flex-wrap:wrap}.project-info{flex:1 1 180px}.steps{flex-wrap:wrap}
.portal-footer{flex-wrap:wrap}.portal-footer nav{flex-wrap:wrap}
.brand.small{font-size:21px;min-width:120px}.side-footer{padding-inline:24px;gap:12px}
/* The logo, greeting and caption stay together; artwork never scales with the monitor. */
.client-welcome{container-type:inline-size;height:221px;aspect-ratio:auto;border-radius:4px;margin-top:0}
.client-welcome::before,.client-welcome::after{background-size:1536px 1024px;opacity:1}
.client-welcome::before{width:min(21.5%,264px);background-position:-256px -54px;mask-image:linear-gradient(90deg,#000 80%,transparent)}
.client-welcome::after{width:min(41%,490px);background-position:right -26px top -54px}
.client-welcome .welcome-copy{left:21.5%;right:39%;top:0;bottom:0;width:auto;height:auto;padding:12px 0;background:none;align-items:flex-start;justify-content:center;text-align:left;gap:5px}
.client-welcome .welcome-copy .brand{display:flex;align-self:flex-start;font-size:21px;min-width:120px;gap:3px;margin:0}
.client-welcome .welcome-copy h1{font-size:clamp(28px,4.05cqw,51px);line-height:1.05;align-self:stretch;margin:0;max-width:100%;text-wrap:balance}
.client-welcome .welcome-copy p{font-size:14px;line-height:1.4;max-width:none;margin:0;text-align:center;align-self:stretch}
@media(min-width:801px) and (max-width:1300px){.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1100px){
 .client-right,.quick-actions{grid-template-columns:1fr}
 .client-welcome{height:auto;min-height:210px}
 .client-welcome::before,.client-welcome::after{opacity:.3}
 .client-welcome .welcome-copy{position:relative;inset:auto;width:fit-content;max-width:100%;min-height:210px;margin-inline:auto;padding:24px;gap:6px}
 .client-welcome .welcome-copy h1{font-size:clamp(28px,5cqw,40px)}
 .client-welcome .welcome-copy p{max-width:420px}
}
@media(max-width:800px){
 .workspace,.client-mode .workspace{padding:0 16px 25px}
 .topbar,.client-mode .topbar{padding-inline:16px}
 .top-actions{flex-shrink:0}.sidebar{max-width:calc(100vw - 44px);left:0}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-grid>.stat:last-child:nth-child(odd){grid-column:1/-1}
 .admin-welcome{min-height:140px}.client-welcome{margin-top:12px}
}
@media(max-width:520px){
 .order-row{grid-template-columns:32px minmax(0,1fr) 60px 28px}.order-row>.badge{display:inline-flex;grid-column:2/4;grid-row:2;justify-self:start}.order-row>.icon-button{grid-column:4;grid-row:1/3}
 .finance-summary{flex-basis:100%}.finance-body{justify-content:center}
 .form-grid,.summary-grid,.cards-grid{grid-template-columns:minmax(0,1fr)}
 .client-mode .stat{flex-wrap:wrap}.project-info{min-width:0}.page-title>.button{white-space:normal}
 .chart{min-height:150px}.panel-head .text-link{white-space:normal}.portal-footer nav{gap:12px}
 .client-welcome::after{width:50%;background-position:-1000px -54px;opacity:.22}
 .client-welcome .welcome-copy{padding:22px 18px}.client-welcome .welcome-copy h1{font-size:clamp(26px,8cqw,34px)}.client-welcome .welcome-copy p{font-size:13px}
}
@media(max-width:360px){.stat-grid,.client-mode .stat-grid{grid-template-columns:minmax(0,1fr)}.workspace,.client-mode .workspace{padding-inline:12px}.topbar,.client-mode .topbar{padding-inline:10px;gap:8px}}
@media print{#app{max-width:none}.workspace,.client-mode .workspace{margin:0;padding:0}}
/* Keep sidebar artwork below navigation even on short displays. */
.sidebar-art{position:relative;bottom:auto;height:auto;flex:1 0 180px;min-height:180px;max-height:320px;margin-top:18px}
.client-mode .sidebar-art{position:relative;bottom:auto;height:auto;flex:1 0 240px;min-height:240px;max-height:448px;margin-top:18px}
@media(max-width:520px){.client-mode .stat{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px}.client-mode .stat>div{width:100%}}

/* Wider working area, unchanged type scale and component heights. */
:root{--frame:2560px}
#app{width:calc(100% - 64px);max-width:var(--frame)}
.sidebar{left:max(32px,calc((100% - var(--frame))/2))}
.chart{height:206px;aspect-ratio:auto;max-width:900px;margin-inline:auto}
.stat{min-height:132px}.stat-value{font-size:25px}
.client-welcome{height:221px}
.client-welcome .welcome-copy{position:relative;inset:auto;width:min(520px,45%);height:100%;margin-inline:auto;padding:12px 0}
.client-welcome .welcome-copy h1{font-size:51px}
.sidebar>.brand,.side-nav,.side-footer{flex-shrink:0}
.sidebar-art{position:relative;bottom:auto;flex:0 0 320px;height:320px;min-height:320px;max-height:320px;margin-top:auto}
.client-mode .sidebar-art{position:relative;bottom:auto;flex:0 0 448px;height:448px;min-height:448px;max-height:448px;margin-top:auto}
.side-footer,.client-mode .side-footer{margin-top:0}
@media(max-width:1600px){#app{width:100%}.sidebar{left:0}.client-welcome .welcome-copy{position:absolute;left:21.5%;right:39%;top:0;bottom:0;width:auto;height:auto;margin:0}.client-welcome .welcome-copy h1{font-size:clamp(28px,4.05cqw,51px)}}
@media(max-width:1100px){.client-welcome{height:auto}.client-welcome .welcome-copy{position:relative;inset:auto;width:fit-content;height:auto;min-height:210px;max-width:100%;margin-inline:auto;padding:24px}.client-welcome .welcome-copy h1{font-size:clamp(28px,5cqw,40px)}}
@media(max-width:800px){.sidebar{left:0}.chart{height:206px}}
@media(max-width:520px){.client-welcome .welcome-copy{padding:22px 18px}.client-welcome .welcome-copy h1{font-size:clamp(26px,8cqw,34px)}.chart{height:190px}.stat{min-height:123px}}
@media print{#app{width:100%;max-width:none}}
/* Let the illustration use only the space between navigation and footer. */
.sidebar-art{flex:1 1 320px;min-height:0;height:320px;margin-top:auto;background-position:left bottom -72px}
.client-mode .sidebar-art{flex:1 1 448px;min-height:0;height:448px;margin-top:auto;background-position:left bottom -116px}

.donut.is-empty{background:#333}
/* Financeiro começa recolhido; a seta indica a expansão. */
.side-nav .submenu[hidden]{display:none}
.finance-toggle .finance-chevron{margin-left:auto;display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:4px;color:var(--muted);transition:transform .2s}
.finance-toggle .finance-chevron svg{width:14px;height:14px}
.finance-toggle[aria-expanded="true"] .finance-chevron{transform:rotate(180deg)}
.finance-toggle:hover .finance-chevron{color:var(--red);border-color:var(--red)}
@media(prefers-reduced-motion:reduce){.finance-toggle .finance-chevron{transition:none}}
