:root{--ink:#1c293c;--muted:#748096;--line:#e4e9f0;--blue:#e88b00;--bg:#f7f9fc;--green:#15816a;--amber:#a16c15}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:14px}button,input,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue);text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #98abff;outline-offset:3px}[hidden]{display:none!important}.mark{display:inline-flex;background:var(--blue);color:#fff;width:40px;height:40px;align-items:center;justify-content:center;font-weight:750;border-radius:12px;letter-spacing:-1px}.eyebrow{font-size:10px;color:var(--muted);font-weight:750;letter-spacing:1.6px}h1{font-size:32px;letter-spacing:-1.1px;margin:10px 0}h2{font-size:19px;letter-spacing:-.4px;margin:0}h3{font-size:17px;margin:0}p{color:var(--muted);line-height:1.6}small{color:var(--muted);font-size:11px;line-height:1.6}.primary,.secondary{padding:12px 18px;border-radius:9px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;gap:12px}.primary{background:var(--blue);color:white;box-shadow:0 3px 7px #4165f418}.primary:hover{background:#3457df}.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.quiet{background:transparent;color:var(--muted);padding:9px 0}.icon-button{background:transparent;font-size:26px;color:var(--muted)}.login-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 50% 35%,#e9edff 0,transparent 55%)}.login-card{width:390px;background:white;border:1px solid var(--line);border-radius:20px;padding:38px;box-shadow:0 25px 70px #2634580b}.login-card .mark{display:flex;margin-bottom:25px;width:48px;height:48px}.login-card h1{font-size:30px}.login-card p{margin:12px 0 26px}.login-card button{width:100%;margin-top:18px}.login-card>small{display:block;text-align:center;margin-top:26px}.login-card .error{margin:12px 0 0}label{display:flex;flex-direction:column;gap:8px;font-weight:600;font-size:12px}input,select{width:100%;border:1px solid #dce3ed;border-radius:8px;background:white;color:var(--ink);padding:11px 12px;outline:0}input:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #4165f415}input::placeholder{color:#9ca6b7}label small{font-weight:400}#shell{display:flex;min-height:100vh}aside{width:244px;background:#fff;border-right:1px solid var(--line);padding:30px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:750;color:var(--ink);padding-left:4px}.brand small{display:block;font-size:8px;letter-spacing:1.5px;margin-top:5px;font-weight:650}.nav-title{font-size:9px;color:#9aa4b5;font-weight:750;letter-spacing:1.3px;margin:48px 12px 15px}.nav{display:flex;gap:12px;width:100%;padding:13px 16px;border-radius:9px;text-align:left;font-weight:650}.nav.active{background:#eef1ff;color:var(--blue)}.aside-bottom{margin-top:auto;padding:18px 9px 0;border-top:1px solid var(--line);font-size:11px}.aside-bottom p{font-size:10px}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#32a086;margin-right:7px}main{margin-left:244px;width:calc(100% - 244px);padding:0 42px 40px}header{display:flex;align-items:center;justify-content:space-between;height:82px;border-bottom:1px solid var(--line);font-size:11px}.breadcrumbs{color:var(--muted)}.breadcrumbs span{margin:0 13px;color:#bcc5d3}.breadcrumbs strong{color:var(--ink);font-weight:550}.account{display:flex;align-items:center;gap:9px;font-size:11px}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;background:#eaf0fa;color:#536584;border-radius:50%;font-size:10px;font-weight:700}.page-heading{display:flex;align-items:center;justify-content:space-between;padding:37px 0 25px}.page-heading p{margin:8px 0 0;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:8px 0 36px}.stat{padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:12px}.stat-label{color:var(--muted);font-size:11px;display:flex;justify-content:space-between}.stat strong{display:block;font-size:29px;font-weight:650;margin-top:12px;letter-spacing:-1px}.stat small{font-size:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:16px}.section-heading h2 span{font-size:11px;margin-left:9px;background:#e9edf5;border-radius:5px;padding:3px 7px;color:#667389}.section-heading input{width:220px;background:transparent;font-size:12px}.project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:20px}.project-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;max-width:540px}.card-top{padding:23px;display:flex;gap:12px;align-items:center}.client-icon{width:44px;height:44px;border-radius:12px;background:#edf1fd;color:#5471cf;display:grid;place-items:center;font-size:20px;font-weight:650}.client-meta{flex:1;min-width:0}.client-meta h3{margin-bottom:4px}.client-meta a{font-size:11px;color:var(--muted)}.badge{border-radius:5px;padding:5px 7px;font-size:9px;font-weight:650;white-space:nowrap}.badge.green{background:#e8f5ef;color:var(--green)}.badge.amber{background:#fff4de;color:var(--amber)}.badge.gray{background:#f0f2f6;color:#788195}.connections{margin:0 23px;border-top:1px solid #eff2f6;padding:16px 0}.connection{display:flex;align-items:center;justify-content:space-between;line-height:29px;font-size:11px}.connection span:first-child{color:#667187}.connection small{font-size:10px}.card-bottom{border-top:1px solid #eff2f6;background:#fcfdff;padding:15px 23px;display:flex;align-items:center;justify-content:space-between}.card-bottom small{font-size:10px}.card-bottom button{color:var(--blue);background:transparent;font-size:11px;font-weight:650}.flow-strip{display:flex;align-items:center;gap:25px;padding:25px 28px;border:1px dashed #dce3ef;border-radius:12px;margin-top:32px}.flow-strip>div{flex:1}.flow-strip span{float:left;margin-right:12px;color:#bac5d5;font-size:20px;font-weight:600}.flow-strip strong{display:block;font-size:11px}.flow-strip small{font-size:10px}.flow-strip b{color:#bdc8d9;font-weight:400}.error{color:#b44040}.muted{color:var(--muted)}.toast{position:fixed;right:30px;bottom:30px;background:#24364f;color:white;border-radius:10px;padding:16px 22px;z-index:20;max-width:450px;box-shadow:0 8px 30px #0002}.preview{background:#fff5da;color:#856318;padding:12px 20px;margin-top:18px;border-radius:9px;font-size:12px}dialog{border:1px solid var(--line);border-radius:16px;width:670px;max-width:calc(100vw - 32px);padding:28px;box-shadow:0 25px 90px #182b4033}dialog::backdrop{background:#182b4066;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{margin-top:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.wide{grid-column:1/-1}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px}.detail-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;padding:24px;margin-bottom:20px}.panel h2{margin-bottom:20px}.step{border-top:1px solid #eff2f6;padding:18px 0}.step:first-of-type{border-top:0}.step-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.step p{font-size:12px;margin:10px 0}.step .primary,.step .secondary{padding:9px 12px;font-size:11px}.step input{margin:10px 0;max-width:100%}.step ol{padding-left:18px;font-size:12px;color:#647085;line-height:1.9}.bridge-key{font-family:monospace;font-size:11px}.token-row{display:flex;gap:10px;align-items:center}.token-row input{flex:1}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;color:var(--muted);font-weight:500;padding:10px 8px;background:#f7f9fc}td{padding:11px 8px;border-bottom:1px solid #eff2f6}.empty{padding:30px 10px;color:var(--muted);font-size:12px}.audit-row{display:flex;gap:15px;padding:12px 0;border-bottom:1px solid #eff2f6;font-size:11px}.audit-row time{white-space:nowrap;color:var(--muted)}.back{margin-top:24px}.inline-actions{display:flex;gap:10px;flex-wrap:wrap}.note{padding:14px 16px;background:#f6f8ff;border-radius:8px;font-size:11px;line-height:1.8;color:#65718b}code{font-size:11px;background:#f0f3f8;padding:2px 5px;border-radius:3px}.loading{color:var(--muted);padding:28px}@media(max-width:1050px){main{padding:0 24px 30px}aside{width:200px}main{margin-left:200px;width:calc(100% - 200px)}.detail-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.flow-strip{gap:12px;padding:20px 15px}.flow-strip small{display:none}}@media(max-width:700px){aside{display:none}main{margin:0;width:100%;padding:0 18px 30px}header{height:65px}.account{font-size:0}.page-heading{align-items:flex-start;gap:15px;flex-direction:column}.stats{gap:10px;margin-bottom:25px}.stat{padding:16px}.project-grid{grid-template-columns:1fr}.section-heading input{width:150px}.flow-strip{flex-direction:column;align-items:flex-start;gap:15px}.flow-strip b{display:none}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.login-card{width:calc(100vw - 40px);max-width:390px}.detail-grid{display:block}}

.brand{flex-direction:column;align-items:flex-start!important;gap:10px}.brand img{width:180px;height:auto;display:block}.brand>small{font-size:8px;letter-spacing:1.4px;color:var(--muted)}

.primary:hover{background:#bf7300}.mobile-only{display:none}.detail-grid>div{min-width:0}.panel{overflow-wrap:anywhere}input:disabled{background:#f0f2f6}button:disabled{cursor:not-allowed}dialog{max-height:calc(100dvh - 32px);overflow:auto}.toast{max-width:calc(100vw - 36px)}@media(max-width:700px){.mobile-only{display:inline-flex}.token-row{flex-direction:column;align-items:stretch}.step-head{flex-wrap:wrap}.card-top{padding:18px}.card-bottom{gap:8px;flex-wrap:wrap}.section-heading{gap:10px}.project-card{min-width:0}.brand img{max-width:100%}}
.campaign-choice{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:12px 10px;margin:0;border-radius:8px;font-size:13px;font-weight:500;line-height:1.5;cursor:pointer}.campaign-choice:hover{background:#f7f9fc}.campaign-choice input[type="checkbox"]{width:18px;height:18px;flex:0 0 18px;padding:0;margin:1px 0 0;accent-color:var(--blue);cursor:pointer}.campaign-choice span{min-width:0;overflow-wrap:anywhere}.campaign-choice input:focus-visible{outline:2px solid var(--blue);outline-offset:3px}#yandex-campaign-count{margin:0 10px 8px 40px;font-size:12px}#yandex-campaign-list{margin:18px 0}#yandex-campaign-list h4{margin:0 0 10px}#yandex-campaign-list .campaign-choice:first-of-type{background:#fff6e8}
.account-logo{display:block;width:100%;height:auto;margin-bottom:24px}.account-home{margin:0 auto;width:100%;max-width:1100px;padding:0 24px 40px}.account-home header{gap:20px}.user-form{margin-top:20px}.user-projects{border:1px solid var(--line);border-radius:8px;margin:20px 0;padding:12px}.user-projects legend{font-weight:600;padding:0 6px}#user-invitation{margin-top:20px}#users-panel .panel{margin-bottom:20px}#nav-users{white-space:nowrap}#account-home .panel{margin-bottom:0}#users-panel table .secondary{padding:7px 10px;font-size:11px}@media(max-width:700px){#shell header .breadcrumbs{font-size:10px}#shell header{gap:8px}#nav-users{font-size:11px}.account-home{padding:0 16px 30px}}
.last-lead{font-size:11px;margin:12px 0;color:var(--muted)}.project-card>.last-lead{padding:0 22px}.stat-label{display:block}

/* Project cards: shared connection grid and compact service icons. */
.project-card{border-radius:20px;display:flex;flex-direction:column}
.project-card .card-top{padding:22px;gap:14px;flex-wrap:wrap}
.project-card .client-icon{flex:0 0 48px;width:48px;height:48px;border-radius:15px}
.project-card .client-meta{flex:1 1 120px}
.project-card .connections{margin:0 22px;padding:12px 0;border-bottom:1px solid #eff2f6}
.project-card .connection{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:52px;line-height:1.35;font-size:12px}
.project-card .connection-label{display:flex;align-items:center;gap:10px;min-width:0}
.project-card .connection-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;width:30px;height:30px;border-radius:9px}
.connection-icon svg{display:block;width:18px;height:18px}
.project-card .connection-icon.max{background:#f0eaff;color:#8053d9}
.project-card .connection-icon.leads{background:#eaf2ff;color:#4d80cb}
.project-card .connection-icon.metrika{background:#fff3e2;color:#dc981b}
.project-card .connection-icon.direct{background:#fff0ed;color:#dc735c}
.project-card .badge{display:inline-flex;align-items:center;justify-content:center;line-height:1.3;padding:6px 8px;border-radius:7px;font-size:10px}
.project-card>.last-lead{display:flex;align-items:center;gap:8px;margin:0;padding:15px 22px;font-size:11px;line-height:1.5}
.project-card .connection-icon.clock{width:16px;height:16px;flex-basis:16px;color:#8b97ac}
.project-card .connection-icon.clock svg{width:15px;height:15px}
.project-card .card-bottom{margin-top:auto;display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:16px 22px 18px;background:#fff}
.project-card .card-bottom small{font-size:11px}
.project-card .card-bottom button{width:100%;border-radius:9px;padding:11px 12px;background:#fff5e5;font-size:12px}
.project-card .card-bottom button:hover{background:#ffebc8}
/* Agency workspace — shared visual system matching the approved reference. */
.agency-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}
#shell aside{width:222px;padding:23px 12px 16px;border-color:#e7edf6;background:#fff}
#shell main{margin-left:222px;width:calc(100% - 222px);padding:0 26px 32px}
#shell .brand{display:block;padding:0 8px}#shell .brand img{display:block;width:145px;height:auto;max-width:100%}#shell .brand small,#shell .nav-title{display:none}
#shell .nav{display:flex;align-items:center;gap:14px;background:transparent;color:#42577d;font-size:13px;padding:12px 14px;margin-bottom:4px;font-weight:500;border-radius:9px}#shell .nav:first-of-type{margin-top:25px}#shell .nav.active{background:#fff3e7;color:#f4770d}#shell .nav .agency-icon{width:19px;height:19px}.agency-nav-count{margin-left:auto;font-size:12px;font-weight:650;background:#edf2fa;padding:2px 7px;border-radius:6px}
#shell .aside-bottom{border:0;padding:0;margin-top:auto}.agency-help-link{display:flex;align-items:center;gap:10px;width:100%;padding:12px;background:white;border:1px solid #e1e8f3;border-radius:8px;color:#1a2946;text-align:left;font-size:11px}.agency-help-link .agency-icon{color:#3976ff;width:23px;height:23px}.agency-help-link span{flex:1}.agency-help-link small{display:block;font-size:10px;line-height:1.4;color:#657798}.agency-help-link>b{font-size:18px;color:#637694}.agency-team{display:flex;gap:12px;align-items:center;padding:20px 6px 8px;border-top:1px solid #e7edf5;margin-top:20px;color:#1c2e4d;font-size:11px}.agency-team .avatar{width:39px;height:39px;background:#eaf1ff;color:#3d5b8c;font-size:13px}.agency-team strong{font-weight:500}.agency-team small{display:block;font-size:10px;color:#7183a1}#shell .aside-bottom #logout{font-size:10px;margin-left:56px;padding:3px 0;color:#7b8da8}
body.agency-view{background:linear-gradient(115deg,#f8fbff,#f2f7ff 60%,#f8fbff);color:#111b35}.agency-view #shell main>header{display:none}.agency-view #preview-note{margin:8px 0 0;padding:5px 10px;font-size:9px}.agency-view #overview>.page-heading{padding:16px 0 15px;gap:20px;align-items:flex-start}.agency-view #overview>.page-heading .eyebrow{display:none}.agency-view h1{font-size:30px;line-height:1.12;letter-spacing:-.8px;font-weight:750;margin:0}.agency-view .page-heading p{margin:4px 0 0;color:#536688;font-size:12px}
#agency-period{display:flex;align-items:center;position:relative;margin:0;gap:10px}#agency-period>label{flex-direction:row;gap:0;align-items:center;padding-left:12px;border:1px solid #dce5f2;border-radius:9px;background:#fff}.agency-calendar{display:flex;color:#50698c}#agency-period select{width:186px;border:0;background:transparent;box-shadow:none;padding:11px 12px;font-size:12px;color:#15213a}#agency-dates{display:flex;gap:10px;align-items:end;flex-wrap:wrap;position:absolute;top:48px;right:0;width:365px;padding:14px;background:#fff;border:1px solid #e1e8f3;border-radius:10px;box-shadow:0 10px 30px #27375212;z-index:5}
#overview>.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 13px}.agency-stat{display:flex;position:relative;gap:19px;padding:16px;border:1px solid #e3eaf4;border-radius:9px;background:#ffffffed;min-height:118px;box-shadow:none}.agency-kpi-icon{display:grid;place-items:center;width:55px;height:55px;flex:0 0 55px;border-radius:13px;color:#3976ff;background:linear-gradient(135deg,#e7eeff,#eff4ff)}.agency-kpi-icon .agency-icon{width:29px;height:29px}.agency-kpi-icon.check{color:#12b078;background:linear-gradient(135deg,#e1f3eb,#f0faf5)}.agency-kpi-icon.flame{color:#ff6b0b;background:linear-gradient(135deg,#fff0e0,#fff8ee)}.agency-stat>div{min-width:0;flex:1}.agency-stat .stat-label{font-size:12px;font-weight:650;color:#35476b;margin:2px 0 7px}.agency-kpi-value{display:flex;align-items:center;gap:13px;min-height:36px;margin-bottom:7px}.agency-stat strong{font-size:31px;line-height:1;letter-spacing:-.6px;margin:0;padding:0;color:#111a34}.agency-kpi-value>span{font-size:11px;color:#5e7297;white-space:nowrap}.agency-stat small{display:block;font-size:9px;color:#7b8eaf;line-height:1.4}.agency-kpi-value>.agency-delta{margin-left:auto;font-size:11px;font-weight:550;white-space:nowrap}.agency-delta.up{color:#0bb276!important}.agency-delta.down{color:#f34e57!important}.agency-kpi-value>.muted{margin-left:auto;font-size:9px;text-align:right;max-width:112px}.agency-stat .stat-label{white-space:nowrap}
.agency-charts{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr) minmax(0,1.08fr);gap:10px;margin:0 0 15px}.agency-charts>.panel{padding:17px 16px;margin:0;border-radius:9px;border-color:#e3eaf4;min-width:0;background:#fffffff0;min-height:304px}.agency-charts h2{font-size:14px;font-weight:700;letter-spacing:-.25px;margin:0 0 18px;color:#111a34}.agency-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.agency-chart-head h2{margin:0}.agency-chart-head select{width:118px;padding:7px 9px;font-size:10px;border-color:#e1e9f4;border-radius:7px;color:#5e7396}.agency-line{width:100%;height:205px;display:block}.agency-legend{display:flex;align-items:center;justify-content:center;gap:20px;font-size:11px;color:#617497;margin:14px 0 8px;flex-wrap:wrap}.agency-legend span{display:inline-flex;align-items:center;gap:7px}.agency-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}.agency-dynamics>small{font-size:9px;color:#8a99b2;display:block;line-height:1.5}.agency-structure{display:flex;align-items:center;gap:15px;margin-top:26px}.agency-donut{width:165px;height:165px;flex:0 0 165px}.agency-donut svg{width:100%;height:100%;display:block}.agency-structure>div:last-child{min-width:0;flex:1}.agency-structure p{display:flex;align-items:flex-start;gap:6px;line-height:1.4;font-size:10px;color:#536a91;margin:0 0 17px}.agency-structure p:last-child{margin-bottom:0}.agency-structure i{width:9px;height:9px;border-radius:50%;flex:0 0 9px;margin-top:3px}.agency-structure p>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agency-structure p>b{font-size:12px;min-width:22px;text-align:right;color:#17233e;font-weight:650}.agency-structure p>b>small{display:block;color:#8d9bb4;font-size:10px;font-weight:400;margin-top:2px}.tone-3976ff{background:#3976ff}.tone-1cb67d{background:#1cb67d}.tone-ff9500{background:#ff9500}.tone-98a4bb{background:#98a4bb}.tone-f56870{background:#f56870}.tone-edb85b{background:#edb85b}
.agency-alert{margin:0 0 10px;background:#fff9ef;border:1px solid #ffe9c6;border-radius:8px;padding:8px 10px;color:#884713}.agency-alert:last-child{margin-bottom:0}.agency-alert.error{background:#fff7f7;border-color:#ffe1e3;color:#bb2828}.agency-alert-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700}.agency-alert-title>.agency-icon{width:23px;height:23px;color:#ff8c00}.agency-alert.error .agency-icon{color:#f22f37}.agency-alert-title>span{flex:1}.agency-alert-title>b{width:24px;height:23px;display:grid;place-items:center;border-radius:12px;background:#ffe4b5}.agency-alert.error .agency-alert-title>b{background:#ffdddd}.agency-alert button{position:relative;display:block;width:100%;padding:8px 16px 7px 43px;text-align:left;color:#15233e;font-size:11px;background:transparent;border-bottom:1px solid #e8edf4}.agency-alert button:last-child{border:0}.agency-alert button small{display:block;font-size:10px;color:#637898;line-height:1.5}.agency-alert button>span{position:absolute;right:1px;top:12px;font-size:19px}.agency-alert>p{font-size:10px;margin:7px 0 2px 31px}.agency-undated{grid-column:1/-1;margin:0;font-size:10px;color:#7c8fae}
.agency-view .section-heading{display:flex;align-items:center;gap:10px;flex-wrap:nowrap;margin:0 0 11px}.agency-view .section-heading h2{font-size:19px;white-space:nowrap;margin-right:14px;color:#111b35}.agency-view .section-heading h2>span{font-size:11px;padding:2px 6px;background:#eaf0f9;border-radius:6px;color:#50668a;margin-left:7px}#agency-controls{display:contents}.agency-filters{display:flex;gap:7px;order:2}.agency-modes{display:flex;gap:0;order:4}.agency-view .section-heading #search{order:3;margin-left:auto;width:214px;min-width:135px;padding:10px 12px;font-size:11px;background:white;border:1px solid #e1e8f2;border-radius:8px}.agency-filters button,.agency-modes button{font-weight:500;font-size:11px;padding:9px 12px;gap:7px;white-space:nowrap;border-radius:7px}.agency-modes button{border-radius:0}.agency-modes button:first-child{border-radius:8px 0 0 8px}.agency-modes button:last-child{border-radius:0 8px 8px 0}.agency-modes .agency-icon{width:15px;height:15px}.agency-filters small{padding:1px 5px;border-radius:8px;background:#f0f4fa;font-size:10px;color:#536586}.selected{border-color:#ff8732!important;color:#ed7110!important;background:#fffaf5!important}.agency-filters button[data-filter="ready"]:before,.agency-filters button[data-filter="setup"]:before{content:'';width:9px;height:9px;border-radius:50%;background:#11ad73;flex-shrink:0}.agency-filters button[data-filter="setup"]:before{background:#f09a0d}.agency-view #new-project{order:5;box-shadow:none;font-size:11px;padding:9px 12px;white-space:nowrap}#overview>.flow-strip{display:none}
#agency-table{overflow:auto;background:#fff;border:1px solid #e1e8f3;border-radius:9px;margin-bottom:16px}#agency-table table{width:100%;min-width:1060px;border-collapse:collapse;font-size:11px}#agency-table th{padding:9px 14px;background:#f8fbff;font-size:10px;color:#5d7196;line-height:1.4;font-weight:450;white-space:nowrap}#agency-table th button{color:inherit;background:transparent;padding:0;font:inherit}#agency-table td{padding:6px 14px;border-bottom:1px solid #eaf0f8;color:#13203a;vertical-align:middle;font-size:11px;height:45px}#agency-table td:first-child strong{font-size:12px}#agency-table td small{display:block;font-size:10px;color:#7c8eac;margin-top:3px;line-height:1.3}#agency-table td:not(:first-child)>strong{font-size:12px}#agency-table .agency-rated{color:#0bb276}#agency-table td .badge{font-size:10px;border-radius:6px;padding:6px 9px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}#agency-table .badge.green:before,#agency-table .badge.amber:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#0eb277}#agency-table .badge.amber:before{background:#ef990a}.agency-project{display:flex;align-items:center;gap:12px;min-width:175px}.agency-project .client-icon{width:35px;height:35px;flex:0 0 35px;border-radius:8px;background:linear-gradient(135deg,#e5edff,#eff5ff);font-size:20px;color:#3976ff;font-weight:550}.agency-project small{font-size:10px!important;margin-top:2px!important}#agency-table td:last-child{white-space:nowrap}#agency-table td .secondary{display:inline-flex;font-size:10px;padding:6px 10px;border-radius:7px;border-color:#e0e7f2;color:#15213c;font-weight:600;gap:8px}#agency-table td .secondary .agency-icon{width:15px;height:15px;background:#f0f4fb;border-radius:50%;color:#5e7295}.agency-row-menu{display:inline-block;position:relative;margin-left:15px}.agency-row-menu>summary{list-style:none;cursor:pointer;font-size:20px;color:#5c749b;padding:0 5px}.agency-row-menu>summary::-webkit-details-marker{display:none}.agency-row-menu>div{position:absolute;right:0;top:25px;z-index:4;min-width:170px;background:white;border:1px solid #e0e8f4;border-radius:8px;box-shadow:0 5px 20px #24395418;padding:5px}.agency-row-menu a,.agency-row-menu button{display:block;width:100%;background:transparent;font-size:11px;color:#415a81;padding:8px 9px;text-align:left}.agency-row-menu a:hover,.agency-row-menu button:hover{background:#f3f7fd}.agency-pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 14px;font-size:10px;color:#7b8ba5}.agency-pager>span:first-child{margin-right:auto}.agency-pager button{padding:5px 9px;font-size:10px;border-color:#e7edf6}
.agency-preferences{max-width:700px;margin-top:20px}.agency-preferences form{display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin-bottom:30px}.agency-preferences label{min-width:210px}.agency-preferences #agency-preferences-result{font-size:11px;color:#13886b}#agency-help ol{padding-left:22px;color:#516788;line-height:1.9;font-size:13px}#agency-extra>.page-heading{padding:20px 0}
@media(min-width:1650px){.agency-donut{width:180px;height:180px;flex-basis:180px}.agency-structure p{font-size:11px}}
@media(max-width:1450px){.agency-stat{gap:12px;padding:15px 12px}.agency-kpi-icon{width:43px;height:43px;flex-basis:43px}.agency-stat .stat-label{font-size:11px}.agency-stat strong{font-size:29px}.agency-kpi-value{gap:8px}.agency-kpi-value>.agency-delta{font-size:10px}.agency-kpi-value>.muted{font-size:8px;max-width:70px}.agency-structure{gap:10px}.agency-donut{width:125px;height:125px;flex-basis:125px}.agency-structure p{font-size:9px}.agency-structure p>b{font-size:11px}.agency-view .section-heading{flex-wrap:wrap}.agency-view .section-heading h2{margin-right:8px}.agency-view .section-heading #search{width:190px}.agency-legend{gap:12px;font-size:10px}}
@media(max-width:1250px){.agency-charts{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.agency-charts>.panel:last-of-type{grid-column:1/-1;min-height:0}.agency-stat .stat-label{white-space:normal}.agency-kpi-icon{width:34px;height:34px;flex-basis:34px}.agency-kpi-icon .agency-icon{width:23px;height:23px}.agency-kpi-value{flex-wrap:wrap}.agency-kpi-value>.muted{max-width:none;text-align:left;margin-left:0}.agency-kpi-value>.agency-delta{margin-left:0}.agency-stat small{font-size:9px}.agency-alert button{padding-left:40px}}
@media(max-width:1000px){#shell aside{width:190px}#shell main{margin-left:190px;width:calc(100% - 190px);padding:0 20px 28px}#overview>.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.agency-stat .stat-label{white-space:nowrap}.agency-view .section-heading #search{margin-left:0}.agency-structure{flex-wrap:wrap;justify-content:center}.agency-structure>div:last-child{min-width:140px}.agency-charts h2{font-size:13px}.agency-view h1{font-size:27px}}
@media(max-width:700px){#shell main{margin:0;width:100%;padding:0 14px 25px}.agency-view #shell main>header{display:flex;height:50px;border-bottom:1px solid #e8eef6}.agency-view #shell main>header .account{display:none}.agency-view #overview>.page-heading{flex-wrap:wrap;padding:16px 0}.agency-view h1{font-size:26px}.agency-charts{grid-template-columns:1fr}.agency-charts>.panel:last-of-type{grid-column:auto}.agency-structure{flex-wrap:nowrap;justify-content:space-evenly}.agency-structure>div:last-child{flex:0 1 180px;min-width:0}.agency-view .section-heading #search{width:100%;order:4}.agency-filters{width:100%;gap:5px}.agency-filters button{padding:8px 9px;font-size:10px}.agency-view .section-heading h2{font-size:18px}.agency-modes{order:3}.agency-view #new-project{order:5}.agency-kpi-value{margin-bottom:5px}.agency-stat .stat-label{white-space:normal;font-size:10px}.agency-stat strong{font-size:27px}.agency-stat{gap:9px;padding:13px 10px}.agency-stat small{font-size:8px}#agency-dates{left:0;right:auto;width:min(365px,calc(100vw - 28px))}}
@media(min-width:1451px) and (max-width:1849px){.agency-donut{width:138px;height:138px;flex-basis:138px}.agency-structure{gap:12px}.agency-structure p{font-size:10px}}

#agency-table a.agency-project{color:inherit;text-decoration:none;border-radius:7px}#agency-table a.agency-project:hover strong{color:#ed7b12}#agency-table a.agency-project:focus-visible{outline:2px solid #f5a14b;outline-offset:4px}

/* Agency readability and explicit data states. */
#agency-table table,#agency-table td{font-size:13px}#agency-table th{font-size:12px}#agency-table td:first-child strong{font-size:14px;font-weight:600}#agency-table td small,.agency-project small{font-size:12px!important;color:#5d7090}#agency-table td:not(:first-child)>strong{font-size:14px}#agency-table .badge,#agency-table td .secondary{font-size:12px}#agency-table tr[data-row-project]{cursor:pointer}#agency-table tr[data-row-project]:hover,#agency-table tr[data-row-project]:focus-visible{background:#f4f8ff}#agency-table tr[data-row-project]:hover .agency-project strong{color:#ec8600}#agency-table .rating-good{color:#0b9568}#agency-table .rating-warning{color:#a96a00}#agency-table .rating-bad,.rating-bad{color:#cc3038}#agency-table .agency-rated.muted{color:#5d7090}.agency-alert.action{background:#fff5e7;border-color:#ffcc88;color:#925000}.agency-empty{min-height:180px;display:flex;align-items:center;justify-content:center;text-align:center;color:#5d7090;font-size:14px}.agency-refresh{font-size:12px;color:#5d7090;padding:6px}.agency-load-error{padding:14px;background:#fff4e6;color:#824900;border-radius:8px;margin-bottom:14px}.agency-load-error button{margin-left:12px}.agency-skeleton{height:110px;border-radius:10px;margin-bottom:16px;background:linear-gradient(90deg,#eaf0f8,#f8fbff,#eaf0f8);background-size:200% 100%;animation:agency-loading 1.5s linear infinite;color:#5d7090;padding:20px}@keyframes agency-loading{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.agency-skeleton{animation:none}}#agency-table table{min-width:1280px}

/* Project onboarding dialog, matching the agency workspace. */
#project-dialog{width:min(1050px,calc(100vw - 32px));max-width:1050px;padding:26px 36px 24px;border:1px solid #e4eaf4;border-radius:15px;color:#101b39;box-shadow:0 24px 90px #18284838}#project-dialog::backdrop{background:#26364b70;backdrop-filter:blur(5px)}#project-dialog .dialog-head{margin-bottom:18px}#project-dialog .eyebrow{font-size:12px;color:#63769b}#project-dialog .icon-button{background:transparent;color:#7181a2;font-size:28px;padding:0 4px}#new-project-heading{font-size:28px;letter-spacing:-.5px;margin:24px 0 6px}.project-intro{font-size:16px;margin:0 0 24px;color:#65789d}.project-steps{display:flex;list-style:none;padding:0;margin:0;gap:20px}.project-steps li{display:flex;align-items:center;gap:12px;flex:1;font-size:13px;position:relative}.project-steps li>b{display:grid;place-items:center;flex-shrink:0;width:35px;height:35px;border-radius:50%;background:#eaf0fa;color:#4b6088}.project-steps li.current>b{background:#f58b08;color:white}.project-steps li.current>span{font-weight:650}.project-steps small{display:block;color:#697da4;font-size:12px;font-weight:400}.project-form-section{border:1px solid #e1e8f3;border-radius:9px;padding:18px 20px;margin-bottom:14px}.project-form-section h3{font-size:17px;margin:0 0 16px}.project-form-section .form-grid{gap:16px 22px}#project-dialog label{font-size:14px;line-height:1.4;color:#172340}#project-dialog input,#project-dialog select{border:1px solid #dce4f1;border-radius:7px;padding:12px 14px;margin-top:8px;width:100%;background:white;min-height:44px}#project-dialog small{font-size:12px;color:#65799e}.required{color:#f07e00}.project-code{max-width:460px}.platform-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.platform-options button{display:flex;align-items:center;text-align:left;gap:20px;padding:16px 20px;background:white;border:1px solid #dfe6f2;border-radius:9px;color:#14213d;min-height:92px}.platform-options button[aria-pressed="true"]{border-color:#ff8900;background:#fffcf7}.platform-options button>span{font-weight:600;font-size:15px}.platform-options button small{display:block;font-weight:400;line-height:1.5;margin-top:4px}.platform-logo{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:10px;color:white;font-size:30px;background:#7245ff}.platform-logo.matomba{background:#9670ff}.platform-logo.tilda{background:#111}.platform-options i{width:17px;height:17px;border:2px solid #d8e1ef;border-radius:50%;margin-left:auto;align-self:flex-start;flex-shrink:0}.platform-options button[aria-pressed="true"] i{border:5px solid #fb8b00}.platform-options .platform-soon{opacity:.65;cursor:not-allowed}.other-source{display:flex;align-items:center;gap:15px;margin:14px 0}.other-source select{max-width:270px;margin:0!important}.platform-settings{display:grid;grid-template-columns:1.5fr 1fr;gap:24px;padding:20px 22px;background:#f3f6ff;border-radius:9px}.platform-settings>div{min-width:0}.platform-settings h3{margin-bottom:18px}.platform-settings aside.platform-help{position:static;display:block;width:auto;height:auto;padding:18px;background:#eaf1fd;border:0;border-radius:9px;color:#172542}.platform-help p{font-size:13px;line-height:1.6;margin:8px 0 0;color:#64799e}.project-extra{margin:14px 0;color:#64789c;font-size:13px}.project-extra summary{cursor:pointer}.project-extra .form-grid{margin-top:14px}.source-pending{display:flex;align-items:center;gap:16px;padding:16px 20px;border-radius:9px;background:#edf3ff;margin-top:14px}.source-pending>span{font-size:25px;color:#3976ff}.source-pending small{display:block;margin-top:3px}#project-dialog .dialog-footer{display:flex;align-items:center;gap:16px;margin-top:14px}#project-dialog .dialog-footer>small{margin-right:auto}#project-dialog .dialog-footer .primary{background:#f18a00;white-space:nowrap}#project-dialog .dialog-footer .secondary{background:white;border:1px solid #dfe6f2}@media(max-width:700px){#project-dialog{padding:18px}.project-steps{gap:8px}.project-steps li{gap:5px;align-items:flex-start;font-size:10px}.project-steps li>b{width:25px;height:25px}.project-steps small{display:none}.project-form-section{padding:14px}.platform-options{grid-template-columns:1fr;gap:8px}.platform-options button{min-height:70px;padding:12px}.platform-settings{grid-template-columns:1fr;padding:14px}.project-code{max-width:none}#project-dialog .dialog-footer{flex-wrap:wrap}#project-dialog .dialog-footer>small{width:100%}#project-dialog .dialog-footer .primary{white-space:normal;flex:1}.other-source{flex-wrap:wrap}}
#project-dialog label{display:block}#project-dialog label>small{display:block;margin-top:5px}#project-dialog label .required{display:inline}#project-dialog .other-source{display:flex;flex-direction:row;justify-content:flex-start;font-weight:400;font-size:12px}#project-dialog .other-source select{font-size:12px;min-height:34px;padding:7px 10px}.project-steps li:not(:last-child):after{content:'';height:1px;flex:1;background:#dce5f3;margin-left:2px}.project-steps li>span{flex-shrink:0}#project-dialog .project-code{max-width:100%;display:grid;grid-template-columns:110px minmax(160px,300px) 1fr;gap:12px;align-items:center;font-size:12px}#project-dialog .project-code .required{display:none}#project-dialog .project-code input{margin-top:0;min-height:36px;padding:8px 12px}#project-dialog .project-code small{margin:0}@media(max-width:700px){#project-dialog .project-code{display:block}#project-dialog .project-code input{margin-top:8px}.project-steps li:not(:last-child):after{display:none}}

/* Compact project creation form. */
#project-dialog{width:min(900px,calc(100vw - 32px));padding:20px 28px}#project-dialog .dialog-head{margin-bottom:12px}#new-project-heading{font-size:24px;margin:18px 0 5px}.project-intro{font-size:14px;margin-bottom:16px}.project-steps{gap:10px}.project-steps li{gap:8px;font-size:11px}.project-steps li>b{width:29px;height:29px}.project-steps small{font-size:10px}.project-form-section{padding:14px 16px;margin-bottom:12px}.project-form-section h3{font-size:15px;margin-bottom:12px}.project-form-section .form-grid{margin-top:0;gap:12px 18px}#project-dialog label{font-size:12px}#project-dialog input,#project-dialog select{min-height:38px;padding:9px 12px;margin-top:6px}#project-dialog small{font-size:11px}.platform-options{gap:12px}.platform-options button{min-height:72px;padding:12px 14px;gap:12px}.platform-options button>span{font-size:13px}.platform-logo{width:35px;height:35px;font-size:25px;border-radius:8px}.platform-settings{padding:14px 16px;gap:18px}.platform-settings h3{margin-bottom:12px}.platform-settings aside.platform-help{padding:12px}.platform-help p{font-size:12px;line-height:1.5}#new-site-help{display:none!important}.other-source{margin:10px 0}.project-extra{margin:10px 0;font-size:12px}.source-pending{padding:12px 16px;margin-top:10px;gap:12px;font-size:12px}#project-dialog .dialog-footer{margin-top:12px;padding-top:12px;gap:12px}#project-dialog .dialog-footer button{font-size:12px;padding:10px 14px}@media(max-width:700px){#project-dialog{padding:16px}.project-steps li{font-size:10px}.project-steps li>span{flex-shrink:1}.platform-options button{min-height:60px}}

#project-dialog .other-source button{padding:7px 12px;font-size:12px}#project-dialog .other-source button[aria-pressed="true"]{border-color:#ff8900;background:#fffcf7;color:#a75a00}

.wizard-heading{font-size:23px;margin:22px 0 16px}#wizard-content .step{border:0;padding:0}#wizard-content .step> .step-head{margin-bottom:14px}#wizard-content .step p{font-size:13px}#wizard-content .step input{font-size:13px}#wizard-content .step .secondary{font-size:12px}#wizard-content{max-height:58vh;overflow:auto;padding:3px}.wizard-checks{background:#f2f6ff;border-radius:9px;padding:12px 16px;margin-top:14px}#wizard-body .dialog-footer{flex-wrap:wrap}#wizard-body .project-steps li>span{flex-shrink:1}#wizard-content #yandex-settings label{margin-top:12px}
/* Project management: existing controls, compact two-row layout. */
.project-management{color:#162440}.project-management .page-heading{margin:8px 0 10px;align-items:center}.project-management h1{font-size:28px;letter-spacing:-.7px;margin:0 0 8px}.project-management h1 .project-status{font-size:12px;vertical-align:middle;letter-spacing:0;margin-left:12px}.project-management .page-heading p{display:flex;gap:20px;flex-wrap:wrap;margin:0;font-size:13px}.project-management .page-heading a{color:#2671ee;text-decoration:none}.project-management .page-heading p span{color:#607698}.project-health{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px}.project-health>span{background:#eef3fa;padding:6px 10px;border-radius:6px;font-size:12px}.project-management .project-quick{padding:8px;margin:0 0 16px}.project-quick .inline-actions{gap:8px}.project-management button,.project-management a.secondary{min-height:36px;font-size:12px}.project-more{position:relative;margin-left:auto}.project-more summary{list-style:none;cursor:pointer;border:1px solid #e1e8f2;border-radius:7px;padding:7px 14px;font-size:18px}.project-more>div{position:absolute;right:0;top:42px;z-index:8;width:250px;padding:10px;background:white;border:1px solid #e0e8f3;border-radius:10px;box-shadow:0 8px 30px #19375c18;display:grid;gap:8px}.project-card-grid{display:grid;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);gap:16px;align-items:start}.project-card-grid>.panel{min-width:0;margin:0;padding:22px;border-radius:14px;border:1px solid #e2eaf5;position:relative}.project-card-grid h2{font-size:18px;margin:0 0 16px}.project-caption{font-size:13px;color:#607698;margin:-8px 0 18px}.project-connections .step{padding:18px 0 18px 58px;position:relative;margin:0;border-bottom:1px solid #edf1f7}.project-connections .step:last-child{border-bottom:0}.project-connections .connection-icon{position:absolute;left:0;top:20px;width:42px;height:42px;padding:10px;border-radius:10px;background:#f0f5ff;color:#377cf9}.project-connections .connection-icon.max{background:#f0edff;color:#6047f5}.project-connections .step p{font-size:13px;line-height:1.5;margin:7px 0;color:#607698}.project-connections .step-head{gap:10px;font-size:14px}.project-connections .badge{font-size:11px;padding:4px 7px}.project-connections .inline-actions{gap:7px;justify-content:flex-end;margin-top:8px}.connection-options summary{cursor:pointer;font-size:12px;padding:9px;border:1px solid #e1e8f3;border-radius:7px}.connection-options>div{display:grid;gap:7px;padding:8px 0}.project-weekly{font-size:13px;border-top:1px solid #edf1f7;padding-top:15px;line-height:1.5}.project-weekly small{display:block;padding:6px 0 0 22px}.project-card-link{position:absolute;right:22px;top:20px;margin:0;font-size:12px}.project-card-link a{color:#2671ee;text-decoration:none}.project-management table{font-size:12px;width:100%;border-collapse:collapse;min-width:440px}.project-management th{padding:10px 8px;background:#f6f8fc;color:#61779b;font-weight:500;text-align:left}.project-management td{padding:10px 8px;vertical-align:middle;border-bottom:1px solid #edf1f7;line-height:1.45}.project-management td small{display:block;color:#607698}.project-status{display:inline-flex;align-items:center;gap:5px;background:#eef2f8;color:#61718e;padding:4px 7px;border-radius:5px;font-size:11px;white-space:nowrap}.project-status:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%}.project-status.good{background:#e5f7ed;color:#079d5a}.project-status.new{background:#edf4ff;color:#2479ef}.project-status.danger{background:#ffeded;color:#db3c48}.project-attention{margin-bottom:16px}.project-attention h2{font-size:17px;margin:0 0 10px}.project-issue{display:flex;justify-content:space-between;align-items:center;gap:14px;border:1px solid #f3dfbd;border-radius:9px;background:#fff9ef;padding:12px 16px;margin:8px 0;font-size:13px}.project-issue.danger{border-color:#f5cfd1;background:#fff4f4}.project-issue.info{border-color:#dce7f6;background:#f2f7ff}.project-issue p{margin:4px 0 0;color:#607698;font-size:12px}.project-rules,.project-expanded{margin-top:14px;font-size:12px;color:#526f99}.project-rules summary,.project-expanded summary{cursor:pointer;padding:5px 0}.project-rules .note{margin-top:8px;line-height:1.7}.project-management .audit-row{font-size:12px;line-height:1.6;grid-template-columns:100px 1fr;padding:10px 0}.project-management .empty{font-size:13px;padding:22px 10px}.project-skeleton{padding:30px;background:linear-gradient(100deg,#f7f9fc,#edf2fa,#f7f9fc);border-radius:8px;color:#607698}.project-management .table-wrap{max-width:100%;overflow-x:auto}.project-management input[readonly]{max-width:100%}
@media(max-width:1100px){.project-card-grid{grid-template-columns:1fr}.project-card-grid>.panel{padding:20px}.project-management h1{font-size:26px}}@media(max-width:600px){.project-management .page-heading{align-items:flex-start;gap:15px}.project-management h1 .project-status{display:table;margin:8px 0}.project-card-grid>.panel{padding:16px}.project-management .project-quick .inline-actions{align-items:stretch}.project-quick a.secondary,.project-quick button{flex:1;text-align:center}.project-more{margin-left:0}.project-card-link{position:static;margin:-6px 0 12px}.project-connections .step{padding-left:0;padding-top:64px}.project-connections .connection-icon{top:12px}.project-issue{align-items:flex-start;flex-direction:column}.project-health{font-size:11px}.project-management .step-head{flex-wrap:wrap}.project-management .page-heading p{gap:8px}}
.project-weekly label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}.project-weekly input[type=checkbox]{width:16px;height:16px;margin:0;padding:0;flex:none;accent-color:#ff8b00}.project-management .project-card-grid p small{font-size:12px;color:#607698}.project-management .project-quick>.inline-actions>a:first-child{border-color:#ffb563;background:#fff7eb;color:#e67b00}.project-management .project-more summary::-webkit-details-marker{display:none}.project-management .connection-section .note{font-size:12px;padding:12px}.project-management .step-head .badge{white-space:normal}
.project-management .project-weekly label{flex-direction:row;justify-content:flex-start}.project-management .project-weekly small{display:block;margin-top:8px}.project-management .source-summary{justify-content:flex-start}
/* Project management: reference layout and visual rhythm. */
#detail.project-management{max-width:1440px;margin:0 auto;padding-bottom:40px}#detail.project-management .back{margin:0 0 8px;font-size:13px}#detail.project-management .page-heading{padding:0 0 18px;margin:0;min-height:84px;align-items:center}#detail.project-management h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:4px 0 8px}#detail.project-management .page-heading p{margin:0;font-size:13px}#detail.project-management .page-heading .project-status{font-size:11px;vertical-align:middle;margin-left:14px;padding:5px 9px}#detail.project-management #toggle-active{background:#fff;color:#13213e;border:1px solid #e0e7f1;box-shadow:none;font-size:12px;padding:10px 15px}#detail.project-management .project-health{margin:0 0 12px;gap:8px}#detail.project-management .project-health span{background:transparent;padding:0 9px 0 0;font-size:11px;border-right:1px solid #dce5f1}#detail.project-management .project-quick{padding:6px;margin:0 0 18px;background:#f9fbff;border:1px solid #e2eaf4;border-radius:10px}#detail.project-management .project-quick .inline-actions{gap:8px}#detail.project-management .project-quick .secondary{font-size:12px;min-height:38px;gap:8px;padding:9px 13px;border-radius:8px}#detail.project-management .project-glyph{width:18px;height:18px;flex:none;color:#60729c}#detail.project-management .project-quick a:first-child .project-glyph{color:#ff8800}#detail.project-management .project-card-grid{gap:14px;grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)}#detail.project-management .project-card-grid>.panel{border:1px solid #e0e9f5;box-shadow:none;border-radius:11px;padding:20px;margin:0}#detail.project-management .panel h2{font-size:19px;letter-spacing:-.5px;color:#101c39;margin:0 0 10px}#detail.project-management .project-caption{margin:0 0 12px;font-size:12px}#detail.project-management .connection-section{position:relative;padding:22px 0 20px 62px;margin:0;border-bottom:1px solid #edf1f7;min-height:140px}#detail.project-management .connection-section:last-of-type{border-bottom:0}#detail.project-management .project-integration-icon{position:absolute;left:8px;top:22px;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:#f0f5ff;color:#2678ff}#detail.project-management .project-integration-icon .project-glyph{width:26px;height:26px;color:inherit}#detail.project-management .icon-0{background:#5441ff;color:#fff;box-shadow:0 0 0 6px #f5f5ff}#detail.project-management .icon-0 svg{fill:currentColor;stroke:none}#detail.project-management .icon-2{background:#fff0ed;color:#ff443e;font-size:32px;font-family:Arial,sans-serif}#detail.project-management .step-head strong{font-size:13px}#detail.project-management .step-head .badge{font-size:10px;padding:4px 7px;border-radius:5px}#detail.project-management .connection-section p{font-size:12px;line-height:1.5;margin:5px 0;color:#677ba1}#detail.project-management .connection-section .inline-actions{justify-content:flex-end;margin:8px 0 0;gap:8px}#detail.project-management .source-summary{justify-content:flex-start;gap:10px;margin:8px 0}#detail.project-management .connection-options{position:relative}#detail.project-management .connection-options summary{font-size:22px;line-height:20px;border:1px solid #e0e8f4;background:#fff;padding:7px 11px;border-radius:8px;list-style:none}#detail.project-management .connection-options[open]>div{position:absolute;right:0;top:40px;z-index:5;width:230px;background:#fff;padding:12px;box-shadow:0 8px 30px #1b315224;border:1px solid #e2e9f4;border-radius:9px;display:grid;gap:10px}#detail.project-management .project-weekly{border-top:1px solid #edf1f7;padding-top:14px;margin:4px 0 0}#detail.project-management table{font-size:12px}#detail.project-management th{background:#f5f8fc;color:#697d9f;font-size:11px;font-weight:500;padding:10px 8px}#detail.project-management td{padding:10px 8px;border-color:#edf1f7;color:#233859}#detail.project-management .project-status{font-size:10px;white-space:nowrap;border-radius:5px;padding:3px 6px}#detail.project-management .project-status:before{width:7px;height:7px}#detail.project-management .project-card-link a{color:#1672ff;font-size:12px}#detail.project-management .audit-row{font-size:12px;padding:12px 8px;grid-template-columns:100px 1fr;border-color:#edf1f7}#detail.project-management .project-rules{margin:16px 0;background:#fff9ef;border:1px solid #ffdda6;border-radius:10px;padding:17px 20px}#detail.project-management .project-rules summary{font-weight:650;color:#15233e;font-size:13px;cursor:pointer}#detail.project-management .project-rules .note{background:transparent;padding:12px 0 0;font-size:12px}#detail.project-management .project-attention{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}#detail.project-management .project-attention h2{width:100%;font-size:15px;margin:0}#detail.project-management .project-issue{flex:1;min-width:230px;padding:12px;border-radius:8px;margin:0;gap:10px}#detail.project-management .project-issue strong{font-size:12px}#detail.project-management .project-issue p{font-size:11px;margin:5px 0 0}#detail.project-management .project-issue button{font-size:11px;padding:7px 9px}
@media(max-width:1100px){#detail.project-management .project-card-grid{grid-template-columns:1fr}}@media(max-width:600px){#detail.project-management h1{font-size:24px}#detail.project-management .page-heading{align-items:flex-start;flex-direction:column;gap:12px}#detail.project-management .page-heading .project-status{margin-left:0}#detail.project-management .project-card-grid>.panel{padding:16px}#detail.project-management .connection-section{padding-left:0;padding-top:76px}#detail.project-management .project-integration-icon{top:20px;left:0}#detail.project-management .project-issue{min-width:100%}#detail.project-management .project-quick .secondary{padding:9px;font-size:11px}}
#detail.project-management .connection-section .source-summary{justify-content:flex-start}#detail.project-management .project-integration-icon.icon-2{background:#ff443e;color:#fff;box-shadow:0 0 0 6px #fff3f1}
