@font-face{font-family:NeueMontreal;src:url(/fonts/PPNeueMontreal-Regular.woff2)format("woff2");font-weight:400;font-display:swap}@font-face{font-family:NeueMontreal;src:url(/fonts/PPNeueMontreal-Medium.woff2)format("woff2");font-weight:500;font-display:swap}:root{--paper:#f7f7f5;--ink:#090909;--surface:#fff;--line:#d9d9d5;--muted:#696965;--accent:#0a97f8}*{box-sizing:border-box}html,body{background:var(--paper);color:var(--ink);margin:0;font-family:NeueMontreal,Arial,sans-serif}a{color:inherit}.app-shell{grid-template-columns:238px 1fr;min-height:100vh;display:grid}.sidebar{background:var(--ink);color:#fff;flex-direction:column;height:100vh;padding:30px 20px 24px;display:flex;position:sticky;top:0}.sidebar-logo{filter:invert();width:176px;height:auto;margin:0 8px 52px}.sidebar nav{gap:3px;display:grid}.sidebar nav a{color:#aaa;border-radius:5px;padding:11px 12px;text-decoration:none}.sidebar nav a:hover{color:#fff}.sidebar nav a[aria-current=page]{color:var(--ink);background:#fff}.sidebar-status{color:#888;gap:5px;margin-top:auto;padding:12px;font-size:13px;display:grid}.sidebar-status strong{color:#fff;font-weight:400}.main-area{padding:23px clamp(24px,4vw,58px) 64px}.topbar{border-bottom:1px solid var(--ink);justify-content:space-between;align-items:center;margin-bottom:78px;padding-bottom:15px;display:flex}.top-actions{align-items:center;gap:9px;display:flex}.profile{border:1px solid var(--line);background:#fff;border-radius:6px;place-items:center;width:40px;height:40px;display:grid}.sign-out{border:1px solid var(--line);height:40px;font:inherit;cursor:pointer;background:#fff;border-radius:6px;padding:0 13px}.mobile-nav{display:none}.page-head{max-width:840px}.page-head>p:first-child{color:var(--muted);margin-bottom:24px}.page-head h1{letter-spacing:-.035em;margin:0 0 32px;font-size:clamp(2.8rem,5.5vw,5.5rem);font-weight:500;line-height:.94}.page-head>p:last-child{max-width:610px;color:var(--muted);font-size:18px;line-height:1.5}@media (max-width:760px){.app-shell{display:block}.sidebar{display:none}.main-area{padding:20px}.topbar{margin-bottom:48px}.page-head h1{font-size:44px}.mobile-nav{display:block;position:relative}.mobile-nav summary{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:6px;height:40px;padding:10px 13px;list-style:none}.mobile-nav nav{border:1px solid var(--line);z-index:20;background:#fff;border-radius:6px;width:210px;padding:8px;display:grid;position:absolute;top:46px;right:0;box-shadow:0 12px 35px #0002}.mobile-nav a{border-radius:4px;padding:10px;text-decoration:none}.mobile-nav a[aria-current=page]{background:var(--paper)}.profile{display:none}}.login-page{grid-template-columns:1.08fr .92fr;min-height:100vh;display:grid}.login-brand{background:var(--ink);color:#fff;flex-direction:column;justify-content:space-between;padding:42px clamp(28px,5vw,76px);display:flex}.login-brand img{filter:invert();width:190px;height:auto}.login-brand h2{letter-spacing:-.045em;margin:0 0 28px;font-size:clamp(3.2rem,6vw,6.7rem);font-weight:500;line-height:.88}.login-brand p{color:#aaa;max-width:420px;font-size:18px;line-height:1.5}.login-panel{place-items:center;padding:30px;display:grid}.login-form{gap:10px;width:min(390px,100%);display:grid}.login-form>p{color:var(--muted);margin:0 0 14px}.login-form h1{margin:0 0 24px;font-size:34px;font-weight:500}.login-form label{margin-top:8px}.login-form input{border:1px solid var(--line);height:48px;font:inherit;background:#fff;border-radius:6px;padding:0 13px}.login-form button{background:var(--accent);color:#fff;height:48px;font:inherit;cursor:pointer;border:0;border-radius:6px;margin-top:14px;font-weight:500}.form-error{color:#8f3028;background:#f8e9e7;border-radius:6px;padding:12px}@media (max-width:760px){.login-page{display:block}.login-brand{min-height:42vh;padding:28px 24px}.login-brand img{width:150px}.login-brand h2{margin-top:80px;font-size:52px}.login-panel{padding:42px 24px}}.section-page{max-width:1120px}.section-head{justify-content:space-between;gap:32px;margin-bottom:52px;display:flex}.section-head p{color:var(--accent);margin:0 0 18px;font-size:14px;font-weight:500}.section-head h1{letter-spacing:-.035em;margin:0 0 22px;font-size:clamp(2.5rem,4.2vw,4.5rem);font-weight:500;line-height:.98}.section-head span{max-width:650px;color:var(--muted);font-size:17px;line-height:1.5;display:block}.empty-state{background:var(--surface);border:1px solid var(--line);border-radius:8px;justify-content:space-between;align-items:flex-end;gap:32px;min-height:270px;padding:38px;display:flex}.empty-state-mark{background:var(--accent);border-radius:50%;align-self:flex-start;width:14px;height:14px}.empty-state h2{letter-spacing:-.02em;margin:0 0 10px;font-size:28px;font-weight:500}.empty-state p{max-width:560px;color:var(--muted);margin:0;line-height:1.5}@media (max-width:760px){.empty-state{flex-direction:column;min-height:230px;padding:26px}.section-head{margin-bottom:32px}}.page-total{white-space:nowrap;font-size:32px;font-weight:500}.count-badge{background:var(--accent);color:#fff;border-radius:50%;place-items:center;width:52px;height:52px;font-size:20px;display:grid}.quick-form{border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:12px;margin-bottom:30px;padding:22px;display:grid}.quick-form label{color:var(--muted);gap:7px;font-size:13px;display:grid}.quick-form input,.quick-form select,.project-card select{border:1px solid var(--line);height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:5px;padding:0 11px}.quick-form button,.project-card button{background:var(--accent);color:#fff;height:44px;font:inherit;cursor:pointer;border:0;border-radius:5px;padding:0 18px;font-weight:500}.contract-form,.billing-form{grid-template-columns:repeat(5,minmax(130px,1fr)) auto}.data-table{border-top:1px solid var(--ink)}.table-row{border-bottom:1px solid var(--line);grid-template-columns:1fr 150px;align-items:center;gap:20px;min-height:68px;padding:14px 10px;display:grid}.table-row strong{font-weight:500}.table-row small{color:var(--muted);margin-top:5px;font-weight:400;display:block}.table-head{min-height:48px;color:var(--muted);font-size:13px}.contract-row{grid-template-columns:minmax(260px,1fr) 120px 180px}.billing-row{grid-template-columns:minmax(260px,1fr) 100px 130px 160px}.project-list{gap:10px;display:grid}.project-card{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:center;gap:24px;padding:24px;display:flex}.project-card small,.project-card p{color:var(--muted)}.project-card h2{margin:7px 0;font-size:24px;font-weight:500}.project-card p{margin:0}.project-card form{gap:8px;display:flex}.setup-required{border-color:#f0c65d}@media (max-width:1050px){.contract-form,.billing-form{grid-template-columns:repeat(2,minmax(180px,1fr))}.contract-form button,.billing-form button{grid-column:1/-1}}@media (max-width:760px){.quick-form,.contract-form,.billing-form{grid-template-columns:1fr}.quick-form button,.contract-form button,.billing-form button{grid-column:auto}.page-total{font-size:24px}.table-row,.contract-row,.billing-row{grid-template-columns:1fr}.table-head{display:none}.project-card{flex-direction:column;align-items:stretch}.project-card form{grid-template-columns:1fr auto;display:grid}}.dashboard{max-width:1120px}.metric-grid{border-top:1px solid var(--ink);border-bottom:1px solid var(--line);grid-template-columns:repeat(4,1fr);display:grid}.metric-grid article{border-right:1px solid var(--line);flex-direction:column;justify-content:space-between;min-height:170px;padding:24px 20px;display:flex}.metric-grid article:last-child{border-right:0}.metric-grid span,.dashboard-foot span{color:var(--muted);font-size:14px}.metric-grid strong{letter-spacing:-.025em;font-size:clamp(25px,3vw,40px);font-weight:500}.dashboard-foot{background:var(--line);border:1px solid var(--line);border-radius:8px;grid-template-columns:1fr 1fr;gap:1px;margin-top:30px;display:grid;overflow:hidden}.dashboard-foot>div{background:#fff;gap:12px;padding:24px;display:grid}.dashboard-foot strong{font-size:20px;font-weight:500}.integration-card{border:1px solid var(--line);background:#fff;border-radius:8px;justify-content:space-between;align-items:end;gap:30px;padding:30px;display:flex}.integration-card h2{margin:10px 0;font-size:28px;font-weight:500}.integration-card p,.integration-card small{color:var(--muted)}.integration-card button{background:var(--accent);color:#fff;height:44px;font:inherit;border:0;border-radius:5px;padding:0 18px;font-weight:500}.connection-dot{background:#bbb;border-radius:50%;width:10px;height:10px;margin-right:8px;display:inline-block}.connection-dot.connected{background:#30a46c}.integration-error{color:#a33!important}.sync-control{max-width:360px}.sync-control button:disabled{cursor:wait;opacity:.65}.sync-message{margin:10px 0 0;font-size:13px;line-height:1.4}@media (max-width:900px){.metric-grid{grid-template-columns:1fr 1fr}.metric-grid article:nth-child(2){border-right:0}}@media (max-width:760px){.metric-grid,.dashboard-foot{grid-template-columns:1fr}.metric-grid article{border-right:0;min-height:120px}.integration-card{flex-direction:column;align-items:stretch}}.team-form{grid-template-columns:repeat(4,minmax(130px,1fr))}.cost-form{grid-template-columns:repeat(6,minmax(120px,1fr)) auto}.team-form button{grid-column:4}.team-row{grid-template-columns:minmax(200px,1.3fr) 130px 105px 130px 145px 90px}.cost-row{grid-template-columns:minmax(180px,1fr) 115px 115px 190px 135px 80px}.table-row details{position:relative}.table-row summary{color:var(--accent);cursor:pointer;font-size:14px;list-style:none}.table-row summary::-webkit-details-marker{display:none}.edit-form{z-index:10;border:1px solid var(--line);background:#fff;border-radius:8px;grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;width:min(680px,80vw);padding:20px;display:grid;position:absolute;top:30px;right:0;box-shadow:0 16px 45px #0002}.edit-form label{color:var(--muted);gap:7px;font-size:13px;display:grid}.edit-form input,.edit-form select{border:1px solid var(--line);height:42px;font:inherit;background:#fff;border-radius:5px;padding:0 11px}.edit-form button{background:var(--accent);color:#fff;height:42px;font:inherit;cursor:pointer;border:0;border-radius:5px;padding:0 18px;font-weight:500}.quick-form button:disabled,.edit-form button:disabled{cursor:wait;opacity:.65}@media (max-width:1100px){.team-form,.cost-form{grid-template-columns:repeat(2,minmax(180px,1fr))}.team-form button,.cost-form button{grid-column:1/-1}.team-row{grid-template-columns:minmax(190px,1fr) 120px 100px 130px 130px 80px}.cost-row{grid-template-columns:minmax(160px,1fr) 100px 110px 170px 125px 70px}}@media (max-width:760px){.team-form,.cost-form,.edit-form{grid-template-columns:1fr}.team-form button,.cost-form button{grid-column:auto}.team-row,.cost-row{grid-template-columns:1fr}.table-row details{position:static}.edit-form{width:100%;box-shadow:none;margin-top:14px;position:static}}.save-success{color:#17663a;background:#edf8f1;border:1px solid #9bd3b4;border-radius:6px;margin:-24px 0 28px;padding:12px 14px}.quick-form label small,.edit-form label small{color:var(--muted);line-height:1.3}
