:root{color:#111;background:#f6f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.brand-row{display:inline-flex;align-items:center;gap:9px;color:#111}.brand-row strong{font-size:40px;line-height:1}.brand-row sup{align-self:flex-start;margin-left:-4px;font-size:10px;font-weight:800}.logo-mark{width:38px;height:38px;color:#111;fill:none;stroke:currentColor;stroke-width:3.4}.logo-mark circle{fill:currentColor;stroke:none}.login-page{display:grid;grid-template-columns:minmax(360px,43vw) 1fr;min-height:100vh;background:#f7f7f7}.login-panel{display:grid;align-items:center;padding:60px clamp(38px,10vw,188px)}.login-form{width:min(460px,100%)}.login-form .brand-row strong{font-size:38px}.login-form h1{margin:28px 0 26px;font-size:40px;line-height:1.08}.login-form label{display:grid;gap:8px;margin-bottom:18px;color:#151515;font-weight:800}.input-shell{display:flex;align-items:center;gap:18px;height:60px;border:1px solid #e2e2e2;border-radius:6px;background:#fff;padding:0 18px}.input-shell input{min-width:0;width:100%;border:0;outline:0;background:transparent;color:#1d1d1d;font-size:18px}.input-shell input::placeholder{color:#9d9d9d}.primary-button{width:100%;height:64px;margin-top:4px;border:0;border-radius:6px;background:#1f1f1f;color:#fff;font-size:16px;font-weight:800}.login-note{display:block;margin-top:36px;color:#8d8d8d;font-weight:700}.form-error{display:block;margin:0 0 12px;border:1px solid #ffd7d7;border-radius:6px;background:#fff4f4;color:#b42318;padding:10px 12px;font-size:13px;font-weight:800}.login-art{margin:90px 100px 0 0;border-radius:40px 40px 0 0;background:#1d1d1d}.app-shell{display:grid;grid-template-columns:330px 1fr;min-height:100vh;background:#f5f6fb}.sidebar{position:sticky;top:0;display:flex;height:100vh;flex-direction:column;border-right:1px solid #eef0f4;background:#fff;padding:36px 24px}.sidebar .brand-row{margin-bottom:54px}.nav-list{display:grid;gap:16px}.nav-item,.profile-shortcut{display:flex;align-items:center;gap:14px;min-height:38px;border:0;border-radius:6px;background:transparent;color:#838383;padding:0 14px;text-align:left;font-size:18px}.nav-item.active,.profile-shortcut.active{border:1px solid #dbe7f4;background:#f5f9ff;color:#66839b}.profile-shortcut{margin-top:auto;width:100%}.main-area{min-width:0;padding:58px 64px 54px}.mobile-header{display:none}.page-header{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #d9d9d9;padding-bottom:18px;margin-bottom:26px}.page-header h1,.profile-page h1{margin:0;color:#050505;font-size:48px;line-height:1;letter-spacing:0}.client-context{display:block;margin-top:9px;color:#777;font-size:15px;font-weight:700}.header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}.client-select{display:inline-flex;align-items:center;gap:10px;min-height:44px;border:1px solid #ececec;border-radius:7px;background:#fff;padding:0 12px;box-shadow:0 8px 20px #10182808}.client-select span{color:#777;font-size:12px;font-weight:900;text-transform:uppercase}.client-select select,.field select{border:0;outline:0;background:transparent;color:#1f1f1f;font:inherit}.period-button{display:inline-flex;align-items:center;gap:9px;min-height:44px;border:1px solid #ececec;border-radius:7px;background:#fff;color:#1f1f1f;padding:0 12px;box-shadow:0 8px 20px #10182808}.period-button span{color:#333}.kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:10px}.kpi-card{display:grid;align-content:start;gap:10px;min-height:108px;border:1px solid #ececec;border-radius:8px;background:#fff;padding:14px 12px 12px}.kpi-card span{color:#7c7c7c;font-size:14px}.kpi-card strong{color:#050505;font-size:27px;line-height:1}.kpi-card em{width:max-content;border:1px solid #d9f7e7;border-radius:4px;background:#eefbf4;color:#00bd63;padding:5px 7px;font-size:12px;font-style:normal;font-weight:700}.info-note{min-height:38px;margin:10px 0 26px;border-radius:6px;background:#eef1f5;color:#777;padding:11px 12px;font-size:12px}.chart-panel,.profile-card{border:1px solid #ececec;border-radius:10px;background:#fff;padding:20px 22px}.chart-panel h2,.profile-card h2{margin:0 0 8px;font-size:24px;line-height:1.1}.chart-panel p{margin:0 0 18px;color:#777}.chart-box{position:relative;height:340px;overflow:hidden}.chart-box svg{width:100%;height:100%;overflow:visible}.grid-line{stroke:#e5e7eb;stroke-dasharray:2 2;stroke-width:.4}.line{fill:none;stroke-linecap:round;stroke-linejoin:round}.line.investment{stroke:#5c42d6;stroke-width:1.1}.line.leads,.chart-box.green .line.main{stroke:#00bd63;stroke-width:1.1}.chart-box.purple .line.main{stroke:#8358e8;stroke-width:1.2}.area-fill{opacity:.14}.chart-box.green .area-fill{fill:#00bd63}.chart-box.purple .area-fill{fill:#8358e8}.point{fill:currentColor}.chart-box.green .point{color:#00bd63}.chart-box.purple .point{color:#8358e8}.bar-rect{fill:currentColor}.chart-box.bar.purple{color:#8b5cf6}.chart-box.bar.blue{color:#4f8df7}.legend{display:flex;gap:24px;margin-left:6px;color:#333;font-size:12px}.legend-item{display:inline-flex;align-items:center;gap:8px}.legend-item:before{content:"";width:26px;height:2px;border-radius:999px;background:currentColor}.legend-item.investment{color:#5c42d6}.legend-item.leads{color:#00bd63}.tooltip{position:absolute;top:78px;right:27%;border-radius:6px;background:#171923;color:#fff;padding:12px;box-shadow:0 10px 28px #0000002e;font-size:12px;line-height:1.7}.tooltip.light{top:46px;right:28%;background:#fff;color:#282828;box-shadow:0 8px 24px #10182824}.profile-page{display:grid;gap:24px}.clients-page{display:grid;gap:22px}.admin-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-summary div{display:grid;gap:8px;min-height:92px;border:1px solid #ececec;border-radius:8px;background:#fff;padding:16px}.admin-summary span{color:#777;font-size:13px;font-weight:700}.admin-summary strong{color:#050505;font-size:32px;line-height:1}.client-admin-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}.client-form,.client-list-panel,.integration-board{border:1px solid #ececec;border-radius:10px;background:#fff;padding:22px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:18px;color:#1f1f1f}.section-title h2{margin:0;font-size:22px;line-height:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:7px;color:#303030;font-size:13px;font-weight:800}.field input,.field select{width:100%;min-width:0;height:44px;border:1px solid #e5e7eb;border-radius:6px;background:#fff;color:#1d1d1d;padding:0 12px}.field input::placeholder{color:#a0a0a0}.primary-button.compact{width:max-content;min-width:196px;height:48px;margin-top:18px;padding:0 18px}.form-help{margin:12px 0 0;color:#777;font-size:13px}.role-pill,.status-badge{display:inline-flex;align-items:center;gap:7px;width:max-content;border-radius:999px;font-size:12px;font-weight:900}.role-pill{border:1px solid #dbe7f4;background:#f5f9ff;color:#66839b;padding:9px 14px}.client-list{display:grid;gap:9px}.client-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;border:1px solid #eeeeee;border-radius:8px;padding:13px}.client-row.selected{border-color:#dbe7f4;background:#f5f9ff}.client-row div{display:grid;gap:4px;min-width:0}.client-row strong,.integration-item strong{color:#151515}.client-row span,.integration-item span{color:#777;font-size:13px}.integration-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.integration-item{display:grid;gap:18px;align-content:space-between;min-height:116px;border:1px solid #eeeeee;border-radius:8px;padding:14px}.integration-item div{display:grid;gap:5px;min-width:0}.status-badge{padding:7px 9px}.status-badge.connected{background:#eefbf4;color:#00a457}.status-badge.pending{background:#fff7e6;color:#b7791f}.status-badge.disconnected,.status-badge.error{background:#f5f5f5;color:#777}.profile-card{padding:28px}.profile-row{display:flex;align-items:center;gap:18px;min-height:135px}.avatar{display:grid;width:118px;height:118px;place-items:center;border-radius:999px;background:#000;color:#fff;font-size:36px;font-weight:900}.profile-copy{display:grid;gap:6px}.profile-copy strong{font-size:32px;line-height:1}.profile-copy span,.info-field span{color:#777}.profile-row button{display:inline-flex;align-items:center;gap:10px;margin-left:auto;border:1px solid #eeeeee;border-radius:999px;background:#fff;color:#8b8b8b;padding:8px 16px}.business-card{min-height:250px}.business-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 90px;max-width:840px;margin-top:36px}.info-field{display:grid;gap:6px}.info-field strong{font-size:18px}.info-field strong.accent{color:#00bd63}@media (max-width: 1100px){.app-shell{grid-template-columns:240px 1fr}.main-area{padding:42px 32px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-admin-grid,.integration-grid{grid-template-columns:1fr}.brand-row strong{font-size:34px}}@media (max-width: 760px){.login-page{grid-template-columns:1fr}.login-panel{min-height:100vh;padding:38px 24px}.login-art,.sidebar{display:none}.app-shell{display:block}.main-area{padding:0 12px 32px}.mobile-header{display:flex;align-items:center;justify-content:space-between;min-height:92px;margin:0 -12px 38px;border-bottom:1px solid #ececec;background:#fff;padding:0 14px}.mobile-header button{border:0;background:transparent;color:#111}.mobile-header .brand-row strong{font-size:38px}.mobile-header .logo-mark{width:34px;height:34px}.page-header{display:grid;justify-content:center;justify-items:center;border-bottom:0;padding-bottom:14px;margin-bottom:2px}.header-actions{justify-content:center}.client-select,.period-button{width:100%;justify-content:center}.page-header h1,.profile-page h1{font-size:42px;text-align:center}.period-button{min-height:40px;font-size:14px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-summary,.form-grid,.client-row{grid-template-columns:1fr}.kpi-card{min-height:106px;padding:14px 10px}.kpi-card strong{font-size:25px}.info-note{display:none}.chart-panel{margin-top:14px}.chart-box{height:260px}.profile-row,.business-grid{grid-template-columns:1fr}.profile-row{display:grid}.profile-row button{margin-left:0;width:max-content}}
