@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/manrope-0.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/manrope-1.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/manrope-2.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/manrope-3.ttf) format('truetype');
}

:root{font-family:Manrope,Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#17202d;background:#f5f6f8;font-synthesis:none;--blue:#1746ed;--muted:#7a8390;--line:#e6e9ef;--green:#16805b}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}a{color:var(--blue);text-decoration:none}button,a,input,textarea,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}input,textarea,select{width:100%;border:1px solid #dce1e9;border-radius:9px;padding:12px 14px;color:#17202d;background:white;outline:none}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1746ed12}label{display:grid;gap:8px;font-size:14px;font-weight:600;margin:18px 0}label small{font-size:14px;font-weight:400;line-height:1.6;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:700}h2{font-size:19px;letter-spacing:-.35px}h3{font-size:16px}p{line-height:1.65}svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}[hidden]{display:none!important}.muted{color:var(--muted)}.brand{display:flex;align-items:center;gap:11px;color:inherit;font-weight:700;font-size:16px;letter-spacing:-.4px}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:var(--blue);color:white;font-size:16px;letter-spacing:-1px;flex-shrink:0}.brand-sub{display:block;font-size:14px;color:var(--muted);font-weight:400;letter-spacing:0;margin-top:4px}.app-shell{display:flex;min-height:100vh}.sidebar{width:245px;background:#fff;border-right:1px solid var(--line);padding:32px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.sidebar .brand{margin:0 5px 45px}.nav-caption{font-size:14px;letter-spacing:1px;font-weight:600;color:#9aa2ae;margin:0 12px 15px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:9px;color:#737c8a;font-size:14px;margin:5px 0;font-weight:500}.nav-link:hover{background:#f6f7fb;color:#17202d}.nav-link.active{background:#eef2ff;color:var(--blue);font-weight:650}.nav-link .nav-count{margin-left:auto;font-size:14px;border-radius:5px;padding:3px 6px;background:#dfe7ff}.sidebar-bottom{margin-top:auto}.support-note{display:flex;align-items:flex-start;gap:10px;background:#f8f9fb;border:1px solid var(--line);padding:15px 12px;border-radius:10px;margin-top:30px}.support-note strong{display:block;font-size:14px;font-weight:600}.support-note div>span{display:block;font-size:14px;color:var(--muted);line-height:1.6;margin-top:5px}.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);margin-top:3px;flex-shrink:0}.status-dot.neutral{background:#9aa4b4}.logout{border:0;background:none;width:100%;color:#9198a4;font-size:14px;padding:23px 8px 0;text-align:left;display:flex;justify-content:space-between}.main-shell{margin-left:245px;width:calc(100% - 245px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:77px;border-bottom:1px solid var(--line);background:white;padding:0 38px;display:flex;justify-content:space-between;align-items:center}.breadcrumb{font-size:14px;color:#949aa5}.breadcrumb>span{margin:0 12px;color:#c2c7cf}.breadcrumb strong{font-weight:500;color:#4c5562}.topbar-right{display:flex;align-items:center;gap:20px;font-size:14px}.avatar{display:grid;place-items:center;width:32px;height:32px;background:#e9edfa;color:#50608f;border-radius:50%;font-size:14px}.content{max-width:1540px;width:100%;padding:37px 38px;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{font-size:14px;color:var(--muted);margin-top:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #dce1e8;border-radius:8px;background:#fff;padding:11px 16px;font-size:14px;font-weight:550;color:#394251;white-space:nowrap;min-height:41px}.button.primary{background:var(--blue);color:#fff;border-color:var(--blue)}.button.primary:hover{background:#123ac9}.button.danger{color:#b23a3a;background:#fff7f7;border-color:#f4d5d5}.button.small{padding:8px 12px;min-height:33px;font-size:14px}.button svg{width:15px;height:15px}.full{width:100%}.status-banner{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px 20px;margin-bottom:24px}.status-icon{display:grid;place-items:center;width:38px;height:38px;background:#f2f4f8;border-radius:9px;color:#8892a2}.status-banner.online .status-icon{background:#eaf7f0;color:var(--green)}.status-banner strong{font-size:14px}.status-banner p{font-size:14px;color:var(--muted);margin-top:4px}.status-banner .button{margin-left:auto}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:27px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:21px}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:#7c8594}.stat-label svg{width:16px;height:16px;color:#a0a9b7}.stat-number{font-size:33px;font-weight:650;letter-spacing:-1.4px;margin:19px 0 10px}.stat-caption{font-size:14px;color:#959dac}.stat-caption .positive{color:var(--green)}.grid-two{display:grid;grid-template-columns:1.6fr 1fr;gap:23px;align-items:start}.panel{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden;margin-bottom:23px}.panel-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.panel-heading h2{font-size:14px}.panel-heading p{font-size:14px;color:var(--muted);margin-top:5px}.panel-body{padding:23px}.panel-link{font-size:14px}.empty{padding:47px 24px;text-align:center;max-width:490px;margin:auto}.empty-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#f2f5fb;color:#9aa9c3;margin:0 auto 19px}.empty h3{font-size:14px;margin-bottom:9px}.empty p{font-size:14px;color:var(--muted)}.empty .button{margin-top:20px}.project-row{display:flex;align-items:center;padding:18px 23px;border-bottom:1px solid #f0f2f6;gap:13px;color:inherit}.project-row:last-child{border-bottom:0}.project-icon{display:grid;place-items:center;width:37px;height:37px;background:#edf1ff;color:var(--blue);border-radius:9px;font-size:14px;flex-shrink:0}.project-name{font-size:14px;font-weight:600}.project-meta{font-size:14px;color:var(--muted);margin-top:6px}.project-row .badge{margin-left:auto}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#f1f3f7;color:#7f8999;padding:5px 7px;font-size:14px;white-space:nowrap}.badge.green{background:#edf8f1;color:#21885f}.badge.red{background:#fff0ef;color:#c4564f}.badge.blue{background:#eef2ff;color:var(--blue)}.check-row{padding:15px 0;display:flex;justify-content:space-between;align-items:center;font-size:14px;gap:12px;border-bottom:1px solid #f1f3f6}.check-row:first-child{padding-top:0}.check-row:last-child{border:0;padding-bottom:0}.check-label{color:#7e8795}.subtle-note{padding:16px;background:#f7f9fc;border-radius:8px;font-size:14px;color:#818b9a;line-height:1.7;margin-top:19px}.eyebrow{font-size:14px;font-weight:600;letter-spacing:1.7px;color:#8a99bf}.project-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.project-card{padding:23px;border:1px solid var(--line);border-radius:11px;background:white}.project-card-top{display:flex;align-items:center;gap:12px;margin-bottom:22px}.project-card-top .badge{margin-left:auto}.project-card h2{font-size:15px}.project-card .channel{font-size:14px;color:var(--muted);margin-top:6px}.project-card-stats{display:flex;gap:26px;border-top:1px solid #edf0f5;padding:18px 0}.project-card-stats strong{display:block;font-size:17px;font-weight:600}.project-card-stats span{display:block;font-size:14px;color:var(--muted);margin-top:5px}.project-card .button{width:100%;margin-top:5px}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.back-link{font-size:14px;color:#8a94a5;display:inline-flex;gap:6px;margin-bottom:16px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:22px}.source-row{display:flex;align-items:center;gap:12px;padding:16px 20px;border-bottom:1px solid #edf0f5}.source-row:last-child{border:0}.source-row a{font-size:14px}.source-row p{font-size:14px;color:var(--muted);margin-top:5px}.source-row .icon-button{margin-left:auto}.icon-button{border:0;background:transparent;color:#969ead;font-size:22px;line-height:1;display:grid;place-items:center;min-width:32px;min-height:32px;border-radius:7px}.icon-button:hover{background:#f5f6fa;color:#a03b3b}.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{display:inline-flex;align-items:center;gap:8px;background:#f0f4ff;color:#4663a6;font-size:14px;padding:7px 9px;border-radius:6px;max-width:100%;overflow-wrap:anywhere}.chip.stop{background:#fff2ef;color:#aa6b60}.chip button{border:0;background:none;color:inherit;padding:0;font-size:15px;line-height:1}.toolbar{display:flex;gap:12px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:23px}.toolbar input{flex:1;font-size:14px}.toolbar select{width:210px;font-size:14px}.result-card{background:white;border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:14px}.result-top{display:flex;gap:9px;align-items:center;font-size:14px;color:var(--muted);margin-bottom:15px}.result-top .badge{margin-left:auto}.result-text{font-size:14px;white-space:pre-wrap;line-height:1.8;overflow-wrap:anywhere}.result-bottom{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:19px}.result-bottom>a{font-size:14px}.result-error{background:#fff3f2;color:#a64242;padding:12px;border-radius:7px;font-size:14px;margin-top:15px}.account-icon{width:58px;height:58px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;border-radius:16px;margin-bottom:18px}.account-icon svg{width:28px;height:28px}.account-name{font-size:20px;font-weight:650}.account-sub{font-size:14px;color:var(--muted);margin-top:8px}.account-table{margin-top:24px}.timeline-row{display:flex;gap:13px;padding:15px 0;border-bottom:1px solid #edf0f4}.timeline-row:last-child{border:0}.timeline-icon{background:#f0f4ff;color:#7b92c6;width:30px;height:30px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.timeline-icon svg{width:14px;height:14px}.timeline-row strong{font-size:14px;font-weight:500}.timeline-row p{font-size:14px;color:var(--muted);margin-top:5px}.footer{display:flex;justify-content:space-between;padding:24px 38px;border-top:1px solid var(--line);font-size:14px;color:#a0a7b3;gap:15px}dialog{border:0;border-radius:15px;padding:0;max-width:510px;width:calc(100% - 32px);box-shadow:0 24px 100px #16264833}dialog::backdrop{background:#111b3670;backdrop-filter:blur(3px)}.modal-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 25px;border-bottom:1px solid var(--line)}.modal-heading h2{font-size:18px}#modal-body{padding:6px 25px 25px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.form-error{font-size:14px;color:#b14b44;line-height:1.6;min-height:8px;margin-top:13px}.toast{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:20;background:#172b4b;color:white;border-radius:10px;padding:15px 22px;font-size:14px;box-shadow:0 10px 35px #14294733;max-width:90vw}.toast.error{background:#8d3939}.initial-loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;font-size:14px;color:var(--muted)}.login-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#102966;color:white;padding:45px 55px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;border:1px solid #ffffff0c;width:600px;height:600px;border-radius:50%;right:-300px;bottom:-180px;pointer-events:none;box-shadow:0 0 0 90px #ffffff03,0 0 0 180px #ffffff02}.login-story .brand-sub{color:#94a4c6}.login-story .brand-mark{background:#ffffff16}.login-story h1{font-size:44px;line-height:1.25;letter-spacing:-1.7px;margin:22px 0}.login-story p{max-width:360px;font-size:14px;color:#a4b5d6;line-height:1.9}.story-foot{font-size:14px;color:#7e94bd}.login-main{display:flex;align-items:center;justify-content:center;padding:40px;background:white}.login-card{max-width:350px;width:100%}.small-mark{display:grid;place-items:center;width:38px;height:38px;background:#edf2ff;color:var(--blue);border-radius:10px;font-size:23px;margin-bottom:26px}.login-card h2{font-size:27px;letter-spacing:-.8px;margin-bottom:12px}.login-card>.muted{font-size:14px;margin-bottom:29px}.login-card .button{margin-top:13px;justify-content:space-between;padding:13px 17px}.login-note{font-size:14px;color:#a2a9b4;margin-top:23px;text-align:center}.pager{display:flex;justify-content:center;gap:15px;align-items:center;font-size:14px;margin:25px 0}@media(min-width:1600px){.content{margin:0 auto;padding-top:45px}}@media(max-width:1150px){.sidebar{width:218px;padding-left:14px;padding-right:14px}.main-shell{margin-left:218px;width:calc(100% - 218px)}.content{padding:28px 25px}.topbar{padding:0 25px}.grid-two,.detail-grid{grid-template-columns:1fr}.stat-card{padding:17px}.stats-grid{gap:12px}.project-cards{grid-template-columns:1fr 1fr}.login-story{padding:40px}.login-story h1{font-size:36px}}@media(max-width:760px){.sidebar{position:relative;width:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 17px}.nav-caption,.sidebar-bottom{display:none}#nav{display:flex;gap:5px;overflow-x:auto}.nav-link{padding:10px 11px;white-space:nowrap;margin:0;font-size:14px;gap:7px}.nav-link svg{width:16px;height:16px}.nav-count{display:none}.app-shell{display:block}.main-shell{width:100%;margin-left:0}.topbar{height:55px;padding:0 20px}.topbar-right .muted{display:none}.content{padding:25px 19px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:23px}h1{font-size:25px}.page-heading p{font-size:14px}.page-heading .button{font-size:14px;padding:10px 12px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px}.stat-number{font-size:28px;margin:15px 0 8px}.status-banner{padding:15px;gap:12px}.status-banner .button{display:none}.status-banner p{font-size:14px}.project-cards{grid-template-columns:1fr}.footer{padding:20px;flex-direction:column;font-size:14px}.toolbar{flex-wrap:wrap;padding:14px}.toolbar input{min-width:100%}.toolbar select{flex:1;width:45%}.login-shell{grid-template-columns:1fr}.login-story{padding:25px;min-height:220px}.login-story>div,.story-foot{display:none}.login-story:before{content:"Важные сообщения. В одном месте.";position:absolute;bottom:35px;max-width:300px;font-size:27px;font-weight:600;letter-spacing:-.7px}.login-main{padding:40px 28px}.heading-actions{flex-direction:column}.detail-grid .panel-heading{padding:18px}.panel-heading{padding:19px}.result-top{flex-wrap:wrap}.result-top .badge{margin-left:0}.result-bottom{align-items:flex-start}.result-bottom .chips{flex:1}.account-table .check-row{align-items:flex-start}.check-row>span:last-child{text-align:right;max-width:60%;overflow-wrap:anywhere}}
:root .guide-title{margin-top:14px;font-size:15px}.guide-text{font-size:14px;line-height:1.8;color:#7a8390;margin-top:12px}.guide-link{display:inline-block;margin-top:18px}.empty-copy{font-size:14px;line-height:1.8}
/* Target Media Reports: shared palette, typography and navigation. */
:root{font-family:Manrope,Arial,sans-serif;color:#101521;background:#f3f2f2;--blue:#0a40ff;--ink:#101521;--muted:#6f7480;--line:#dedede;--green:#168653}
body{background:#f3f2f2}.sidebar{width:224px;padding:25px 16px 18px;background:#101521;color:white;border:0;z-index:10}.sidebar .brand{margin:0 8px 30px;font-size:14px}.brand-mark{width:36px;height:36px;background:transparent;border-radius:0;object-fit:contain}.brand-sub{color:#9ca3b9;font-size:14px}.nav-caption{color:#929ab0;font-size:14px}.nav-link{color:#bac0ce;font-size:14px;border-radius:8px;padding:12px 13px}.nav-link.active{background:var(--blue);color:white}.nav-link:hover{background:#242c3c;color:white}.nav-link.active:hover{background:var(--blue)}.support-note{background:#1d2638;border-color:#303a4d;color:#f2f4f9}.support-note div>span{color:#a2a9ba}.logout{color:#bec5d3}.main-shell{margin-left:224px;width:calc(100% - 224px)}.topbar{height:70px}.content{padding:32px;max-width:1580px}.topbar{padding:0 32px}.breadcrumb{font-size:14px}.breadcrumb strong{color:var(--ink)}h1{font-size:28px;letter-spacing:-.9px}.page-heading p{font-size:14px}.button{border-color:#d5d8df;border-radius:9px;font-weight:650;min-height:40px;white-space:nowrap}.button.primary{background:var(--blue);border-color:var(--blue)}.button.primary:hover{background:#0734d7;border-color:#0734d7}.panel{border-color:var(--line);border-radius:14px;box-shadow:none}.panel-heading{padding:20px 22px}.panel-heading h2{font-size:15px;letter-spacing:-.3px}.panel-heading>a{font-size:14px;white-space:nowrap}.panel-body{padding:22px}.stat-card{border-color:var(--line);border-radius:14px;padding:21px}.stat-number{font-size:31px;font-weight:700;letter-spacing:-1px}.stat-caption{font-size:14px;line-height:1.6}.stat-label{color:var(--muted);font-size:14px}.badge.amber{background:#fff3d9;color:#946000}.badge.green{background:#e8f6ef;color:#168653}.badge.blue{background:#edf1ff;color:#0a40ff}.project-icon{background:#edf1ff;color:var(--blue)}.chip{background:#edf1ff;color:#263e85}.chip.stop{background:#fff0eb;color:#9c4b35}.project-name{font-weight:650}.project-meta{font-size:14px}.project-row{padding:19px 22px}.project-card{border-color:var(--line);border-radius:14px}.project-card-top h2{font-size:17px}.project-card-top .badge{white-space:nowrap}.project-card-stats{gap:25px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(310px,1fr);gap:22px}.tg-avatar{width:46px;height:46px;border-radius:50%;object-fit:cover;flex:none;display:grid;place-items:center}.tg-avatar.initials{background:#edf1ff;color:var(--blue);font-size:20px;font-weight:650}.account-row{display:flex;align-items:center;gap:13px;padding:20px 22px;border-bottom:1px solid var(--line);color:var(--ink)}.account-row:last-child{border-bottom:0}.account-row>div{flex:1;min-width:0}.account-row strong{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis}.account-row p{font-size:14px;color:var(--muted);margin-top:5px}.account-row .badge{font-size:14px}.account-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.account-card{padding:24px}.account-card-head{display:flex;gap:15px;align-items:center}.account-card-head>div{flex:1;min-width:0}.account-card-head h2{font-size:17px;overflow-wrap:anywhere}.account-card-head p{font-size:14px;color:var(--muted);margin-top:5px}.account-card-head .tg-avatar{width:58px;height:58px}.account-card-meta{display:flex;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin:20px 0}.account-about{min-height:44px;font-size:14px;margin-bottom:22px;color:#525965;white-space:pre-wrap}.account-detail-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.5fr);gap:22px;align-items:start}.account-detail-grid>.panel{overflow:hidden}.account-detail-grid .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-hero{padding:27px;display:flex;align-items:center;flex-direction:column;gap:12px;background:#fafbfc;border-bottom:1px solid var(--line)}.profile-hero .tg-avatar{width:104px;height:104px;font-size:38px}.text-button{border:0;background:transparent;color:var(--muted);font-size:14px}.profile-about{padding:22px 0}.profile-about small{font-size:14px;letter-spacing:1px;color:var(--muted)}.profile-about p{margin-top:10px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.project-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:25px}.project-step{background:white;border:1px solid var(--line);padding:15px 13px;border-radius:12px;display:flex;gap:10px;align-items:center;text-align:left;color:var(--muted)}.project-step>span{border:1px solid #d5dae2;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:14px;flex:none}.project-step strong{font-size:14px;flex:1}.project-step svg{width:14px;height:14px}.project-step.done{color:var(--ink)}.project-step.done>span{border-color:#d3ecde;background:#e8f6ef;color:var(--green)}.detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.inline-guide{padding:0}.inline-guide summary{padding:20px 22px;cursor:pointer;font-size:14px;font-weight:650}.guide-content{padding:0 22px 24px;font-size:14px;line-height:1.8}.guide-content p+p{margin-top:14px}.guide-content>ol{padding-left:19px;margin:0}.guide-content li{margin:0 0 14px}.guide-content .button{margin-top:15px}.rule-notice{font-size:14px;line-height:1.7;padding:13px 15px;background:#fff7e6;border-radius:8px;color:#885d12}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-columns label{margin-bottom:0}.setup-list{padding-left:20px;font-size:14px;line-height:1.7}.setup-list>li{margin-bottom:23px;padding-left:5px}.setup-list p{font-size:14px;color:var(--muted);margin-top:7px}.setup-list label{margin:14px 0 0}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.help-grid .guide-content{padding-top:21px}.load-chart{width:100%;height:auto;min-height:180px;display:block;stroke:none;fill:none;overflow:visible;margin-top:24px}.chart-grid{stroke:#e9ebf0;stroke-width:1;fill:none}.chart-received{fill:#0a40ff}.chart-requests{fill:#b8c7ff}.chart-label{fill:#7c8493;font-size:14px;stroke:none}.chart-legend{display:flex;gap:22px;font-size:14px;color:var(--muted);flex-wrap:wrap}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{width:8px;height:8px;border-radius:2px;background:#0a40ff}.chart-legend i.pale{background:#b8c7ff}.table-wrap{overflow:auto}.load-table{width:100%;border-collapse:collapse;font-size:14px}.load-table th{padding:16px 21px;text-align:left;background:#fafbfc;color:var(--muted);font-size:14px;font-weight:500}.load-table td{padding:20px 21px;border-top:1px solid var(--line)}.load-table small{display:block;margin-top:7px;color:#946000}.load-note{max-width:900px;font-size:14px;line-height:1.8;color:var(--muted)}#load-filter{width:260px;font-size:14px}.login-story{background:#101521}.login-story .brand-mark{background:none}.login-story h1{font-size:48px}.small-mark{width:38px;height:38px;background:none}.login-card .login-note{display:none}.login-main{background:#f3f2f2}.footer{font-size:14px}.footer a{color:var(--muted)}.source-row p{overflow-wrap:anywhere}.check-row>span:last-child{overflow-wrap:anywhere;max-width:65%}
@media(max-width:1180px){.dashboard-grid{grid-template-columns:1fr}.account-detail-grid{grid-template-columns:minmax(270px,.8fr) minmax(0,1fr)}.project-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.account-cards{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}}
@media(max-width:820px){.sidebar{width:190px;padding:22px 12px}.sidebar .brand{font-size:14px;margin-left:2px;gap:8px}.brand-mark{width:30px;height:30px}.nav-link{font-size:14px;padding:12px 9px;gap:9px}.main-shell{margin-left:190px;width:calc(100% - 190px)}.content{padding:24px 18px}.topbar{padding:0 18px}.account-detail-grid,.help-grid{grid-template-columns:1fr}.project-cards{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading h1{font-size:24px}.heading-actions{flex-wrap:wrap}.button{font-size:14px}.profile-hero{padding:22px}}
@media(max-width:600px){.sidebar{position:static;width:100%;padding:17px 15px;display:block}.sidebar .brand{margin:0 0 13px}.sidebar .brand-mark{width:28px;height:28px}.sidebar .brand-sub{display:none}.nav-caption,.sidebar-bottom{display:none}#nav{display:flex;gap:6px;overflow:auto;white-space:nowrap;padding-bottom:3px}.nav-link{margin:0;padding:9px 11px;gap:7px}.nav-link svg{width:16px;height:16px}.app-shell{display:block}.main-shell{margin:0;width:100%}.topbar{height:48px}.content{padding:22px 15px}.page-heading{flex-direction:column;gap:16px}.page-heading .heading-actions{width:100%}.page-heading .heading-actions .button{flex:1}.stats-grid{gap:10px;margin-bottom:20px}.stat-card{padding:16px 13px}.stat-label{font-size:14px}.stat-number{font-size:28px}.stat-caption{font-size:14px}.panel-body,.panel-heading{padding:18px}.project-steps{gap:8px}.project-step{padding:12px 10px;gap:7px}.project-step strong{font-size:14px}.project-step svg{display:none}.source-row{padding:16px}.source-row .project-icon{display:none}.project-row{padding:17px 15px}.project-meta{font-size:14px}.project-icon{width:35px;height:35px}.account-row{padding:17px 15px;gap:10px}.account-card{padding:19px}.account-card-head h2{font-size:14px}.account-card-head .tg-avatar{width:45px;height:45px}.account-card-head .badge{font-size:14px}.chart-legend{font-size:14px;gap:10px}.load-chart{min-height:140px}.form-columns{grid-template-columns:1fr;gap:0}.form-columns label{margin-top:16px}.help-grid{gap:0}.guide-content{padding:0 18px 20px}.toolbar{flex-direction:column}.toolbar input,.toolbar select{width:100%}.login-story{display:none}.login-main{min-height:100vh}.login-card{padding:25px}.footer{padding:20px 15px}.load-table th,.load-table td{padding:15px 12px;white-space:nowrap}#load-filter{width:100%}}

.account-reconnect{margin-bottom:10px}

/* Page transition indicator follows the Reports design system. */
.page-loading-overlay{position:fixed;inset:0;z-index:1200;display:grid;place-items:center;padding:24px;background:rgba(243,242,242,.72);backdrop-filter:blur(5px);animation:page-overlay-in .16s ease both}
.page-loading-card{min-width:min(390px,calc(100vw - 40px));padding:22px 24px;display:flex;align-items:center;gap:15px;border:1px solid #e0e2e8;border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(22,31,55,.14)}
.page-loading-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;color:#1644d9;background:#eef2ff}
.page-loading-icon svg{width:23px;height:23px;animation:page-loading-spin .9s linear infinite}
.page-loading-card>span:last-child{display:grid;gap:4px}
.page-loading-card strong{color:var(--ink);font-size:17px}
.page-loading-card small{color:var(--muted);font-size:13px;line-height:1.4}
@keyframes page-loading-spin{to{transform:rotate(360deg)}}
@keyframes page-overlay-in{from{opacity:0}to{opacity:1}}

/* One pagination layout for projects, results, research and activity lists. */
.tm-pager{min-height:58px;margin:16px 0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:#fafbfc;color:var(--muted);font-size:14px}
.tm-pager-embedded{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}
.tm-pager-count{white-space:nowrap;font-weight:550}
.tm-pager-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.tm-pager-controls label{display:inline-flex;align-items:center;gap:8px;margin:0 14px 0 0;color:var(--muted);font-size:14px;font-weight:550;white-space:nowrap}
.tm-pager-controls select{width:76px;min-height:36px;padding:6px 29px 6px 10px;font-size:14px}
.tm-pager-controls strong{min-width:58px;text-align:center;color:var(--ink);font-size:14px;font-weight:650;white-space:nowrap}
.tm-pager-controls .button{min-width:64px;min-height:36px;padding:7px 10px}
.tm-pager-controls .button:disabled{opacity:.4;cursor:default}
@media(max-width:650px){.tm-pager{align-items:flex-start;flex-wrap:wrap;padding:12px}.tm-pager-count{width:100%}.tm-pager-controls{width:100%;display:grid;grid-template-columns:1fr auto 1fr;gap:8px}.tm-pager-controls label{grid-column:1/-1;margin:0}.tm-pager-controls .button{min-width:56px}.tm-pager-controls .button:last-child{justify-self:end}}

.sidebar .brand{display:block;margin-bottom:32px}.sidebar .brand-logo{display:block;width:128px;height:auto;max-width:100%}.sidebar .brand-sub{font-size:14px;margin-top:8px}.guide-content code{font:14px ui-monospace,monospace;background:#f1f4fa;padding:2px 4px;border-radius:4px;overflow-wrap:anywhere}.guide-table{width:100%;border-collapse:collapse;margin:18px 0;font-size:14px;min-width:450px}.guide-table td,.guide-table th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line);vertical-align:top}.guide-table th{color:var(--muted)}.limits-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin-bottom:20px}.limit-card{border:1px solid var(--line);border-radius:10px;padding:18px}.limit-card>strong{display:block;margin-bottom:16px;font-size:14px}.limit-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;font-size:14px;border-bottom:1px solid #f1f3f6}.limit-row strong{white-space:nowrap}.limit-card p{font-size:14px;color:var(--muted);margin-top:14px}.limit-hit{color:#c65128}.load-note+.load-note{margin-top:13px}.log-row,.task-row{display:flex;gap:15px;align-items:flex-start;padding:20px 22px;border-bottom:1px solid var(--line)}.log-row>div,.task-row>div{flex:1;min-width:0}.log-row strong,.task-row strong{font-size:14px;overflow-wrap:anywhere}.log-row p,.task-row p{font-size:14px;color:var(--muted);overflow-wrap:anywhere;margin-top:5px}.log-row small{display:block;font-size:14px;color:#969fab;margin-top:9px}.log-row .badge,.task-row .badge{flex-shrink:0}.log-level{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#eef2ff;color:var(--blue);flex-shrink:0;font-weight:700}.log-level.error{background:#fff0ee;color:#d55347}.log-level.warning{background:#fff8e7;color:#98701e}.log-toolbar{gap:9px}.log-toolbar select{max-width:190px;font-size:14px}.log-toolbar input{min-width:150px}.rule-result{padding:14px;border-radius:8px;background:#fff7e6;color:#926400;margin:10px 0}.rule-result.matched{background:#ecf8f2;color:#16805b}.chips .chip{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.7;align-items:flex-start}.chips .chip button{flex-shrink:0}.pagination{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted);gap:10px;margin:16px 0}.log-row:last-child,.task-row:last-child{border-bottom:0}@media(max-width:600px){.sidebar .brand-logo{width:120px}.sidebar .brand{margin-bottom:15px}.limits-grid{grid-template-columns:1fr}.log-toolbar select{max-width:none}.log-row,.task-row{padding:16px;gap:9px;flex-wrap:wrap}.log-row .badge,.task-row .badge{margin-left:32px}.log-row>div{flex-basis:calc(100% - 40px)}}

select{appearance:none;-webkit-appearance:none;background-image:url('chevron-down.svg');background-repeat:no-repeat;background-position:right 16px center;background-size:16px;padding-right:46px;min-height:44px}
select:disabled{opacity:.6}.toolbar select{min-width:160px}.toolbar{flex-wrap:wrap}.results-list{padding:0}.result-list-row{display:flex;align-items:center;gap:20px;padding:20px 22px;border-bottom:1px solid var(--line)}.result-list-row:last-child{border-bottom:0}.result-summary{flex:1;min-width:0}.result-summary h2{font-size:14px;line-height:1.55;font-weight:600;margin:7px 0;overflow-wrap:anywhere}.result-summary p,.result-summary small{font-size:14px;line-height:1.6;color:var(--muted)}.result-row-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.feedback-buttons{display:inline-flex;gap:5px}.feedback{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--line);background:white;color:#788393;border-radius:8px}.feedback svg{width:18px;height:18px}.feedback.liked{background:#eaf7f0;border-color:#98d8b9;color:#16805b}.feedback.disliked{background:#fff0ef;border-color:#efb5b0;color:#b8443c}.feedback:focus-visible{outline:3px solid #2345ed55;outline-offset:2px}.result-detail-meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-bottom:16px}.result-detail-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8;border-block:1px solid var(--line);padding:20px 0;margin:18px 0;max-height:36vh;overflow:auto}.result-detail-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.quality-badge{font-size:14px;padding:4px 7px;border-radius:5px;background:#f1f3f6;color:#747d8a}.quality-badge.client_request{background:#eaf7f0;color:#16805b}.result-list-row.filtered{background:#fcfcfd}.source-options{display:flex;align-items:center;gap:6px}.source-options .button{min-width:40px;padding:8px}.source-quality-table{width:100%;border-collapse:collapse;min-width:640px;font-size:14px}.source-quality-table th,.source-quality-table td{padding:17px 20px;text-align:left;border-bottom:1px solid var(--line)}.source-quality-table th{font-size:14px;font-weight:500;color:var(--muted)}.catalog-row{display:flex;align-items:center;gap:18px;padding:20px 22px;border-bottom:1px solid var(--line)}.catalog-row>div{flex:1;min-width:0}.catalog-row strong{font-size:14px}.catalog-row p{font-size:14px;color:var(--muted);margin-top:7px}.source-settings-note{font-size:14px;line-height:1.8;color:var(--muted);padding:14px;border-radius:8px;background:#f5f7fb}.inline-check{display:flex;align-items:center;gap:10px}.inline-check input{width:18px;height:18px;flex:none}.filter-note{margin-bottom:18px;font-size:14px;color:var(--muted)}.filter-note button{border:0;background:none;color:var(--blue);font:inherit;cursor:pointer;text-decoration:underline}.result-summary .row-tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.read-mode{display:block;font-size:14px;color:var(--muted);margin-top:5px}
@media(max-width:760px){.result-list-row{align-items:flex-start;gap:12px;flex-wrap:wrap;padding:17px}.result-summary{flex-basis:100%}.result-row-actions{width:100%;justify-content:space-between}.catalog-row{flex-wrap:wrap}.catalog-row>div{flex-basis:100%}.heading-actions{flex-wrap:wrap}.toolbar select{width:100%;max-width:none}.toolbar input{min-width:0;width:100%}.source-row{flex-wrap:wrap}.source-options{margin-left:auto}.result-detail-text{max-height:32vh}}
@media(forced-colors:active){select{appearance:auto;background-image:none}}
#result-filters{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}#result-filters input{grid-column:span 2;min-width:0;width:100%}#result-filters select{min-width:0;width:100%}#result-filters button{justify-self:start}.sidebar{overflow-y:auto}
@media(max-width:1100px){#result-filters{grid-template-columns:repeat(2,minmax(150px,1fr))}}
@media(max-width:760px){#result-filters{grid-template-columns:minmax(0,1fr)}#result-filters input{grid-column:auto}}

.forum-details{margin-top:20px}.forum-topic-list{list-style:none;padding:0;margin:12px 0;max-height:300px;overflow:auto;border:1px solid var(--border,#dfe2e8);border-radius:12px}.forum-topic-list li{padding:12px 16px;border-bottom:1px solid var(--border,#dfe2e8);overflow-wrap:anywhere}.forum-topic-list li:last-child{border-bottom:0}.forum-topic-list small{display:block;margin-top:5px;color:var(--muted,#667085);line-height:1.5}

.help-button{width:36px;height:36px;flex:0 0 36px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--muted);font-family:inherit;font-size:16px;font-weight:600;display:inline-grid;place-items:center;cursor:pointer;vertical-align:middle}.help-button:hover{color:var(--blue);border-color:var(--blue)}.help-button:focus-visible{outline:3px solid #2345ed55;outline-offset:2px}.page-actions,.section-actions,.modal-heading-actions{display:flex;align-items:center;gap:12px}.page-actions .heading-actions{display:flex;gap:10px;flex-wrap:wrap}.panel-heading h2 .help-button{margin-left:8px}.modal-heading-actions .help-button{width:32px;height:32px;flex-basis:32px}.modal-heading{gap:14px}.modal-heading h2{flex:1}.help-dialog{max-width:680px;max-height:calc(100dvh - 32px);overflow:auto}.help-dialog .modal-heading{position:sticky;top:0;background:#fff;z-index:1}.help-body{padding:4px 26px 26px;font-size:14px;line-height:1.8}.help-body p,.help-body ol{margin:16px 0}.help-body ol{padding-left:22px}.help-body li{margin:10px 0}.help-body .guide-content{padding:0}.help-body code{background:#f0f3f8;border-radius:4px;padding:2px 5px;overflow-wrap:anywhere}.help-rule-preview{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.help-rule-preview label{margin-top:12px}.help-rule-preview p{font-size:14px;color:var(--muted)}.log-row .help-button{width:30px;height:30px;flex-basis:30px}.log-entry-heading{display:flex;align-items:center;gap:10px}.route-error{padding:32px}
@media(max-width:760px){.page-actions{flex-wrap:wrap}.help-button{width:44px;height:44px;flex-basis:44px}.help-body{padding:4px 18px 20px}.section-actions{gap:8px}.panel-heading{flex-wrap:wrap}}

/* One disclosure treatment for account access and result details. */
.inline-guide > summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;min-height:72px;transition:background-color .15s ease}
.inline-guide > summary::-webkit-details-marker{display:none}
.inline-guide > summary::marker{content:""}
.inline-guide > summary::after{content:"";flex:0 0 32px;width:32px;height:32px;border-radius:50%;background:#f3f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23677186' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center/18px no-repeat;transition:transform .18s ease,background-color .15s ease}
.inline-guide > summary:hover{background:#fafbfc}
.inline-guide > summary:hover::after{background-color:#eaf0ff}
.inline-guide > summary:focus-visible{outline:2px solid var(--blue);outline-offset:-3px;border-radius:12px}
.inline-guide[open] > summary::after{transform:rotate(180deg)}
.inline-guide.panel > summary{border-radius:14px}
@media(prefers-reduced-motion:reduce){.inline-guide > summary,.inline-guide > summary::after{transition:none}}

.destination-steps{list-style:none;padding:0;counter-reset:step}.destination-steps li{counter-increment:step;position:relative;padding:0 0 22px 42px}.destination-steps li::before{content:counter(step);position:absolute;left:0;top:-3px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf1ff;color:var(--blue);font-weight:600}.destination-steps p{font-size:14px;color:var(--muted);line-height:1.6;margin:8px 0 12px}.destination-steps .button{white-space:normal;text-align:center}.destination-current{padding:14px 16px;background:#f4f6fa;border-radius:12px;margin-bottom:16px;overflow-wrap:anywhere}.destination-manual{margin-bottom:16px}.destination-manual>summary{padding:12px 16px}.destination-manual .guide-content{padding:4px 16px 16px}.destination-manual input{width:100%}@media(max-width:480px){.destination-steps li{padding-left:36px}.destination-steps .button{width:100%}}

.source-row>div{min-width:0;flex:1}.source-row>.source-options{margin-left:auto;flex-shrink:0}.source-row>.icon-button{margin-left:0;flex-shrink:0}.result-detail-actions{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.result-detail-actions .feedback-buttons{flex-shrink:0}
.activity-indicator{display:inline-flex;align-items:center;gap:6px;font-size:14px;line-height:1.6;color:var(--muted);margin-top:7px}.activity-indicator i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#a0a8b4}.activity-indicator.green i{background:#159466}.activity-indicator.amber i{background:#dda51b}.activity-indicator.red i{background:#d04b49}.project-card>.activity-indicator{margin:0 0 16px}.review-summary{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:20px}.review-summary>span{padding:12px 18px;background:white;border:1px solid var(--line);border-radius:10px;font-size:14px}.review-summary strong{margin-left:10px}.review-note{font-size:14px;line-height:1.8;color:var(--muted);margin:16px 0 22px;max-width:900px}#review-filters input{flex:1;min-width:200px}#review-filters select{max-width:310px}

.review-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;align-items:center;gap:16px;padding:10px 18px;border-bottom:1px solid var(--line)}.review-row:last-child{border-bottom:0}.review-info,.review-context{min-width:0}.review-info h2{font-size:14px;line-height:1.45;margin:0;overflow-wrap:anywhere}.review-row p{font-size:14px;line-height:1.5;margin:0}.review-info .review-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:3px;overflow-wrap:anywhere}.review-meta .badge{font-size:14px;padding:2px 5px}.review-category{color:var(--text)}.review-context .research-state{color:var(--muted);font-size:14px;margin-top:4px}.review-actions{display:flex;align-items:center;gap:7px}.review-actions .button{min-height:36px;padding:8px 10px;white-space:nowrap}.review-actions svg{width:16px;height:16px}.review-actions .approved{background:#eaf7f0;border-color:#98d8b9;color:#16805b}.review-link{color:var(--blue)}
@media(max-width:1100px) and (min-width:701px){.review-row{grid-template-columns:minmax(0,1fr) auto;gap:6px 14px}.review-info{grid-column:1}.review-context{grid-column:1;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.review-context .research-state{margin:0}.review-actions{grid-column:2;grid-row:1 / span 2}}
@media(max-width:900px){.source-row>div{flex-basis:calc(100% - 200px)}}
@media(max-width:700px){.review-row{grid-template-columns:1fr;gap:7px;padding:10px 12px}.review-context{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.review-context .research-state{margin:0}.review-actions{justify-content:flex-end;gap:5px}.review-actions .button{font-size:14px;min-height:40px;padding:8px 9px}}
@media(max-width:600px){.review-actions .button{flex:1;justify-content:center}.source-row>div{flex-basis:100%}#review-filters select,#review-filters input{max-width:100%;width:100%;min-width:0}.result-detail-actions{margin-top:24px}.source-row>.source-options{margin-left:auto}}

@media(max-width:400px){.review-actions{flex-wrap:wrap}.review-actions .button{flex:1 1 42%}}

.research-progress{padding:22px 24px;margin:0 0 24px;background:#f3f9ff;border:1px solid #d9e8f6;border-radius:16px}.research-progress.waiting{background:#fffaf0;border-color:#efe1bd}.research-progress-heading,.research-progress-numbers{display:flex;justify-content:space-between;align-items:center;gap:16px}.research-eyebrow{font-size:14px;letter-spacing:.1em;color:var(--muted)}.research-progress h2{font-size:18px;margin:6px 0 16px}.research-progress-numbers>strong{font-size:24px}.research-progress-numbers strong span{font-size:14px;font-weight:400;color:var(--muted)}.research-progress-numbers>span{font-size:14px;color:var(--muted)}.research-progress progress{display:block;width:100%;height:8px;border:0;border-radius:8px;margin:13px 0 14px;overflow:hidden;accent-color:var(--blue)}.research-progress progress::-webkit-progress-bar{background:#e2e9f0}.research-progress progress::-webkit-progress-value{background:var(--blue);border-radius:8px}.research-progress p{font-size:14px;line-height:1.7;margin:8px 0}.research-stages{display:flex;gap:8px 22px;flex-wrap:wrap;padding:14px 0 0;margin:14px 0 0;border-top:1px solid var(--line);list-style:none;font-size:14px;color:var(--muted)}.research-stages .current{color:var(--text);font-weight:600}.research-progress .research-progress-footnote{font-size:14px;color:var(--muted);margin-top:12px}@media(max-width:600px){.research-progress{padding:16px}.research-progress-heading{align-items:flex-start}.research-progress h2{font-size:16px}.research-progress-numbers{align-items:flex-start;flex-direction:column;gap:6px}.research-stages{display:grid;grid-template-columns:1fr 1fr;gap:12px}}

.research-pipeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 22px}.research-pipeline li{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:14px;line-height:1.5}.research-pipeline strong{font-size:14px;color:var(--text)}.pipeline-rail{height:7px;border-radius:5px;background:#dfe5ec;margin-bottom:5px}.research-pipeline .done .pipeline-rail{background:#379c70}.research-pipeline .current .pipeline-rail{background:var(--blue)}.research-pipeline .attention .pipeline-rail{background:#dda534}.research-next{background:#ffffffb3;padding:12px 14px;border-radius:10px}@media(max-width:700px){.research-pipeline{grid-template-columns:1fr 1fr;gap:14px}.research-progress-numbers>span{line-height:1.7}}

.research-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.research-flow article{display:flex;gap:10px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.research-flow article>span{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border-radius:50%;background:#e8edf3;color:var(--muted);font-weight:700}.research-flow article.active>span{background:#e4f0ff;color:var(--blue)}.research-flow article.attention>span{background:#fff0ce;color:#9a6900}.research-flow strong,.research-flow p{display:block;font-size:14px;line-height:1.45;margin:0}.research-flow p{color:var(--muted);margin-top:3px}
.research-accounts{margin-bottom:22px}.research-account-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;padding:0 20px 16px}.research-account{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:14px;border:1px solid var(--line);border-left:4px solid #98a2b1;border-radius:10px;background:#fff}.research-account.working{border-left-color:var(--blue);background:#f6faff}.research-account.ready{border-left-color:#2e9b70}.research-account.waiting{border-left-color:#d29a22;background:#fffbf2}.research-account.paused,.research-account.blocked,.research-account.offline{border-left-color:#c96764;background:#fff8f8}.research-account>div{min-width:0}.research-account strong,.research-account span{display:block;overflow-wrap:anywhere}.research-account>div span,.research-account p,.research-account small{font-size:14px;line-height:1.5;color:var(--muted)}.research-account p{grid-column:1/-1;margin:0}.research-account small{grid-column:1/-1}.research-account-note{font-size:14px;line-height:1.6;color:var(--muted);padding:12px 20px 16px;margin:0;border-top:1px solid var(--line)}
.review-pager{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:12px 0 16px;font-size:14px;color:var(--muted)}.review-pager>div,.review-pager label{display:flex;align-items:center;gap:9px}.review-pager select{width:auto;min-height:36px;padding:6px 30px 6px 10px}.review-pager .button{min-width:38px;justify-content:center}.review-pager .button:disabled{opacity:.45;cursor:not-allowed}
.research-add-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:0;padding:0;margin:18px 0}.research-add-modes legend{font-size:14px;font-weight:600;margin-bottom:8px}.research-add-modes label{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:start;margin:0;padding:12px;border:1px solid var(--line);border-radius:10px;cursor:pointer}.research-add-modes input{grid-row:1/span 2;margin:3px 0 0}.research-add-modes span{font-size:14px;color:var(--muted)}.research-source-preview{padding:10px 12px;border-radius:9px;background:#f2f6fa;font-size:14px}.research-source-preview strong{font-size:16px}
@media(max-width:700px){.research-flow{grid-template-columns:1fr}.research-account-grid{grid-template-columns:1fr;padding:0 12px 12px}.research-accounts .panel-heading{align-items:flex-start}.review-pager{align-items:flex-start;flex-direction:column}.review-pager>div{width:100%;justify-content:space-between}.research-add-modes{grid-template-columns:1fr}}

.source-group-heading{padding:18px 24px 10px;border-top:1px solid var(--border,#e5e7eb)}
.source-group-heading h3{font-size:15px;margin:0;display:flex;gap:8px;align-items:center}
.source-group-heading h3 span{font-size:14px;background:#eef1f6;border-radius:12px;padding:3px 8px;color:#596579}
.source-group-heading p,.source-group-empty{font-size:14px;line-height:1.5;color:#727b8b;margin:8px 0}
.source-group-empty{padding:0 24px 16px}
.source-row .source-attempt{font-size:14px;line-height:1.6;margin:8px 0 0;padding:8px 10px;background:#f4f6fa;border-radius:8px;color:#44516a}
.source-attempt span{display:block;color:#727b8b}
.source-attempt strong{white-space:nowrap;font-weight:600}

.research-task-alerts{display:grid;gap:10px;margin-bottom:16px}
.research-task-alert{display:flex;align-items:flex-start;gap:13px;padding:13px 16px;border:1px solid #dce4f4;border-radius:12px;background:#f4f7ff;font-size:14px;line-height:1.5}
.research-task-alert p{margin:3px 0 0;color:#526071}.research-task-alert strong{font-size:14px}
.research-task-alert.amber{border-color:#f2dfb6;background:#fffaf0}.research-task-alert.red{border-color:#f2cccc;background:#fff5f5}
.research-task-alert-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#dce7ff;color:#1746ed;font-weight:800;flex:none}
.research-process-alternative{border-top:1px solid var(--line);padding:13px 22px 16px;font-size:14px;line-height:1.45}.research-process-alternative>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.research-process-alternative strong{font-size:14px}.research-process-alternative p{margin:5px 0 0;overflow-wrap:anywhere}.research-process-alternative small{display:block;margin-top:4px;color:#667085;font-size:13px;overflow-wrap:anywhere}@media(max-width:560px){.research-process-alternative{padding:12px 16px}}
.research-task-alert.amber .research-task-alert-mark{background:#ffe8b7;color:#946000}.research-task-alert.red .research-task-alert-mark{background:#f9d5d5;color:#a53a3a}
.research-process{margin:0 0 18px;overflow:hidden}.research-process .panel-heading{align-items:center}.research-process .panel-heading p{font-size:14px;line-height:1.45;margin:5px 0 0;color:#667085}.research-process .badge{white-space:nowrap}.research-process-body{display:grid;grid-template-columns:minmax(180px,1fr) minmax(210px,1fr) minmax(180px,1fr);gap:16px;padding:14px 22px}.research-process-body>div{min-width:0}.research-process-body span{display:block;margin-bottom:5px;color:#667085;font-size:13px}.research-process-body strong,.research-process-body p{font-size:14px;line-height:1.45;margin:0;overflow-wrap:anywhere}.research-process-body strong{font-weight:700}.research-process-body small{display:block;margin-top:5px;color:#667085;font-size:12px;line-height:1.4}.research-process-reason{margin:0;padding:0 22px 15px;color:#946000;font-size:13px;line-height:1.45}@media(max-width:800px){.research-process-body{grid-template-columns:1fr 1fr}}@media(max-width:560px){.research-process .panel-heading{align-items:flex-start}.research-process-body{grid-template-columns:1fr;gap:10px;padding:12px 16px}.research-process-reason{padding:0 16px 12px}}
.research-task-table{width:100%;border-collapse:collapse;font-size:14px}.research-task-table th,.research-task-table td{text-align:left;padding:13px 15px;border-bottom:1px solid var(--line);vertical-align:middle;white-space:nowrap}
.research-task-table th{background:#f8f9fb;color:#5f6877;font-weight:650}.research-task-table tbody tr:hover{background:#f7f9ff}.research-task-table td:first-child{min-width:190px}.research-task-table td:nth-child(2){min-width:175px}.research-task-table td:nth-child(3){min-width:155px}.research-task-table .badge{display:inline-block}
.research-project-tag{display:inline-flex;align-items:center;max-width:220px;padding:5px 10px;border:1px solid #cfdbfa;border-radius:999px;background:#eff4ff;color:#1746bd;font-size:13px;font-weight:700;line-height:1.35;white-space:normal}.research-project-tag.missing{border-color:#e5e7eb;background:#f4f5f7;color:#697384}
.research-task-size{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;color:#526071}.research-task-size select{min-width:72px;min-height:36px}.research-task-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:14px;color:#526071}.research-task-pager>div{display:flex;align-items:center;gap:10px}.research-task-pager strong{font-weight:650;color:#1e2735}
@media(max-width:700px){.research-task-pager{flex-wrap:wrap}.research-task-size{margin-top:8px}}
.research-task-table small{display:block;color:var(--muted);font-size:13px;margin-top:5px}.research-error-count{color:#a53a3a;font-weight:700}
.research-accounts{margin-top:18px}.research-account-row{display:grid;grid-template-columns:minmax(190px,1.3fr) 110px minmax(220px,2fr) auto;gap:18px;align-items:center;padding:13px 18px;border-top:1px solid var(--line);font-size:14px}
.research-account-row:hover{background:#f7f9ff}.research-account-name strong{display:block}.research-account-name small,.research-account-reason small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.research-account-reason{line-height:1.4}
@media(max-width:800px){.research-account-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}.research-account-reason{grid-column:1/-1}.research-account-row>.button{grid-column:2;grid-row:1}}
.account-role-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.research-task-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.research-task-actions .button{min-height:32px;padding:5px 9px;font-size:13px}.research-task-icon{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #dce1e8;border-radius:8px;background:white;color:#465267;flex:none}.research-task-icon svg{width:17px;height:17px}.research-task-icon:hover{background:#edf1ff;color:#1746ed;border-color:#c5d1f5}.research-task-icon:focus-visible{outline:3px solid #a9bbff;outline-offset:2px}.research-task-delete{color:#a53a3a;border-color:#edcccc}.research-task-delete:hover{background:#fff3f3;color:#a53a3a;border-color:#e4b0b0}
.research-delete-choice{display:grid;gap:10px;margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:10px}.research-delete-choice label{display:flex;align-items:center;gap:9px;font-weight:400}
.research-channel-list{max-height:60vh;overflow:auto;display:grid;gap:0;border:1px solid #e2e7f0;border-radius:12px}
.research-channel-list>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px;border-bottom:1px solid #e9edf5}
.research-channel-list>div:last-child{border-bottom:0}
.research-channel-list>div:hover{background:#f4f7ff}
.research-channel-list strong{font-size:14px;font-weight:600}
.research-channel-list a{white-space:nowrap;font-size:14px}
.research-reuse{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.research-reuse select{min-width:220px;max-width:360px}
.research-channel-list small,.research-channel-list p{display:block;color:#5b6679;font-size:13px;line-height:1.45;margin:3px 0 0}.research-channel-list>div{display:block}.research-channel-list a{margin-left:12px}

.project-workspace{display:grid;gap:24px;min-width:0}.project-workspace>.panel{margin:0;min-width:0}.project-source-table{width:100%;font-size:14px;min-width:1100px}.project-source-table td{vertical-align:middle;padding:14px 12px}.project-source-table td:first-child{min-width:230px;max-width:330px}.project-source-table td:first-child a{font-weight:600}.project-source-table small{display:block;color:#7b8493;overflow-wrap:anywhere;margin-top:5px;font-size:14px}.project-source-table th{padding:12px;background:#fafbfc}.project-source-table th button{display:flex;gap:7px;align-items:center;background:none;border:0;padding:0;color:inherit;font:inherit;text-align:left;cursor:pointer}.project-source-table th button span{color:#8793a6}.source-table-actions{display:flex;gap:4px}.source-table-actions svg{width:17px;height:17px}.workspace-pager{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-top:1px solid #e7eaf0;font-size:14px}.workspace-pager label{display:flex;gap:8px;align-items:center;margin:0}.workspace-pager select{width:78px;padding:8px 26px 8px 12px}.workspace-pager>div{display:flex;align-items:center;gap:12px}.workspace-rules{width:100%;table-layout:fixed}.workspace-rules th:first-child,.workspace-rules td:first-child{width:65px}.workspace-rules th:last-child,.workspace-rules td:last-child{width:85px}.workspace-rules td{padding:12px 22px}.workspace-rules code{white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.7;background:transparent}.switch-label{display:flex!important;align-items:center;gap:12px;position:relative;cursor:pointer}.switch-label input{position:absolute;opacity:0;width:1px;height:1px}.switch-track,.tm-switch{display:inline-block;width:42px;min-width:42px;height:24px;border:0;border-radius:20px;background:#cbd2dd;position:relative;cursor:pointer;padding:3px;transition:background .15s}.switch-track:before,.tm-switch span{content:'';display:block;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}.switch-label input:checked+.switch-track,.tm-switch.is-on{background:#1649ff}.switch-label input:checked+.switch-track:before,.tm-switch.is-on span{transform:translateX(18px)}.switch-label input:focus-visible+.switch-track,.tm-switch:focus-visible{outline:3px solid #a5b6ff;outline-offset:3px}.tm-switch:disabled{opacity:.5}.project-workspace .panel-heading{gap:20px;flex-wrap:wrap}.project-workspace .panel-heading p{max-width:850px;line-height:1.5}@media(max-width:700px){.workspace-pager{flex-wrap:wrap;padding:14px}.project-workspace .heading-actions{flex-wrap:wrap}.project-source-table{min-width:1050px}.workspace-rules td{padding:10px}.workspace-rules th:first-child{width:40px}.workspace-rules th:last-child{width:60px}}
/* Readable, compact project controls. */
body{font-size:16px}.muted{color:#687385}table tbody tr{transition:background-color .15s}table tbody tr:hover,table tbody tr:focus-within{background:#f1f5ff}.project-source-table td:last-child,.project-source-table th:last-child{position:sticky;right:0;background:#fff;box-shadow:-5px 0 8px #23345108}.project-source-table tr:hover td:last-child{background:#f1f5ff}.panel-heading h2{font-size:18px}.keyword-rules{padding:12px 20px}.keyword-rule{display:flex;align-items:center;gap:16px;padding:14px 12px;border:1px solid #e3e9f7;border-radius:10px;background:#f8faff;margin:8px 0}.keyword-rule:hover{background:#eef3ff}.keyword-rule code{font:14px/1.65 ui-monospace,monospace;color:#294884;overflow-wrap:anywhere;min-width:0;flex:1}.rule-number{color:#7589b1;font-size:14px}.minus-chips{display:flex;flex-wrap:wrap;gap:8px;padding:20px 23px}.minus-chip{display:inline-flex;align-items:center;gap:6px;background:#fff1f0;border:1px solid #f5d3d0;color:#a63232;border-radius:7px;padding:5px 8px 5px 12px;font-size:14px;max-width:100%;overflow-wrap:anywhere}.minus-chip button{opacity:0;flex-shrink:0;background:none;border:0;color:#c82333;font-size:22px;line-height:1;min-width:28px;min-height:28px;border-radius:5px}.minus-chip:hover button,.minus-chip:focus-within button{opacity:1}.minus-chip button:hover{background:#fbd4d4}.queue-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.3fr) auto;gap:24px;align-items:center;padding:18px 23px;border-bottom:1px solid #edf0f5}.queue-row:hover{background:#f5f7fc}.queue-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}.queue-name a{font-weight:600;overflow-wrap:anywhere}.queue-detail{min-width:0;overflow-wrap:anywhere;color:#687385}.queue-detail p{margin:0 0 5px}.queue-detail .source-attempt{margin:0}.queue-actions{display:flex;align-items:center;gap:8px}.queue-actions svg{width:20px;height:20px}.project-workspace .heading-actions{flex-wrap:wrap}.project-workspace .panel-heading p{color:#687385}.source-table-actions .icon-button{min-width:36px;min-height:36px}@media(hover:none){.minus-chip button{opacity:1}}@media(max-width:1100px){.queue-row{grid-template-columns:1fr 1fr}.queue-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:700px){.queue-row{grid-template-columns:1fr;gap:12px}.queue-actions{grid-column:auto;flex-wrap:wrap}.keyword-rule{flex-wrap:wrap}.keyword-rule code{flex-basis:80%}.keyword-rule .source-table-actions{margin-left:auto}.panel-heading h2{font-size:18px}}
/* Secondary navigation and queue copy stay compact; content remains readable. */
.sidebar .nav-caption{font-size:11px;letter-spacing:1px}.sidebar .nav-link{font-size:13px}.queue-detail,.queue-detail p,.queue-detail strong{font-size:14px;line-height:1.5}.queue-row{padding-top:14px;padding-bottom:14px}.queue-name .badge{font-size:13px;white-space:normal}.connection-outcome{padding-top:18px}.connection-outcome p+p{margin-top:14px}.icon-button svg{width:20px;height:20px}

/* Source review evidence: compact inline actions, no oversized button. */
.review-context{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px}.review-context .review-category,.review-context .research-state{font-size:13px;line-height:1.45;margin:0}.review-context .research-state{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}.review-evidence-link{appearance:none;border:0;background:none;padding:3px 0;min-height:28px;color:var(--blue);font:inherit;cursor:pointer;white-space:nowrap}.review-evidence-link:hover{text-decoration:underline}.review-evidence-link:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:3px}.review-match-count,.review-context .research-state a{white-space:nowrap}.review-context .research-state a{padding:3px 0}.review-row:hover{background:#f5f7fc}@media(pointer:coarse){.review-evidence-link,.review-context .research-state a{min-height:36px;display:inline-flex;align-items:center}}
@media(min-width:1101px){.review-row{grid-template-columns:minmax(0,1fr) auto;gap:3px 14px;padding:9px 18px}.review-info{grid-column:1;grid-row:1}.review-actions{grid-column:2;grid-row:1}.review-context{grid-column:1/-1;grid-row:2}.review-info .review-meta{margin-top:2px}.review-context .research-state{display:inline-flex}.review-actions .button{font-size:13px;min-height:34px;padding:6px 9px}}
/* Research batches: completed automation stays folded, closed batches are statistics only. */
.batch-panel{padding:16px 20px;margin-bottom:12px}.batch-heading,.batch-card summary,.batch-closed{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.batch-heading{justify-content:space-between}.batch-panel p{font-size:14px;margin:8px 0}.batch-panel progress{width:100%;height:8px}.batch-card{margin-bottom:8px}.batch-card summary{cursor:pointer;padding:12px 18px;font-size:14px;list-style:none}.batch-card summary:before{content:'›';font-size:22px;line-height:1;transition:transform .15s}.batch-card[open] summary:before{transform:rotate(90deg)}.batch-card summary .badge,.batch-closed .badge{margin-left:auto}.batch-body{padding:0 18px 14px}.batch-body>p{font-size:14px}.batch-closed{padding:10px 18px;margin-bottom:8px;border-bottom:1px solid #e2e5ed;font-size:14px;color:#647084}.batch-closed strong{color:#202737}.batch-card summary:hover{background:#f5f7fc}

.rule-preview-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}

.decision-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.decision-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:20px}
.decision-filters label{display:flex;flex:1 1 160px;flex-direction:column;gap:6px;font-size:14px;color:var(--muted,#687386)}
.decision-filters input,.decision-filters select{width:100%;min-width:0;font-size:16px}
.decision-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,2fr) auto;gap:20px;align-items:center;padding:16px 20px;border-top:1px solid #e8ebf1}
.decision-row:hover{background:#f5f7fc}.decision-context{display:flex;flex-direction:column;gap:6px;min-width:0}.decision-context strong{font-size:16px;overflow-wrap:anywhere}
.decision-context span,.decision-actions span{font-size:14px;color:#687386;line-height:1.5}.decision-preview{min-width:0}.decision-preview p{margin:8px 0 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.decision-actions{display:flex;align-items:end;flex-direction:column;gap:8px}.decision-pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:16px;font-size:14px;border-top:1px solid #e8ebf1}
.decision-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7fa;padding:16px;border-radius:12px;font-size:16px;line-height:1.6;max-height:40vh;overflow:auto}.decision-votes{margin-top:24px;flex-wrap:wrap}
@media(max-width:800px){.decision-row{grid-template-columns:1fr;gap:12px}.decision-actions{flex-direction:row;align-items:center;justify-content:space-between}.decision-filters label{flex-basis:40%}}
.decision-filters label{margin:0}.decision-filters input,.decision-filters select{margin:0;min-height:48px}.decision-filters>button{min-height:48px}

.bulk-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 20px;background:#f5f7fc;border-bottom:1px solid #e8ebf1;font-size:14px}.bulk-toolbar strong{margin-right:auto}.bulk-check{width:18px!important;height:18px!important;min-width:18px;appearance:auto!important;accent-color:#0a40ff;padding:0!important;margin:0 10px 0 0!important;cursor:pointer}.bulk-all{display:inline-flex!important;align-items:center;margin:0!important;white-space:nowrap;font-size:14px}.bulk-preview{max-height:220px;overflow:auto;font-size:15px;line-height:1.6}.review-info>.bulk-check{float:left;margin-top:4px!important}.queue-name>.bulk-check{flex-shrink:0}.project-source-table th:first-child:has(.bulk-all){min-width:165px}

.workspace-sources .project-source-table th:first-child,.workspace-sources .project-source-table td:first-child{min-width:44px;width:44px;max-width:44px;padding-left:14px;padding-right:0}.workspace-sources .bulk-all span{display:none}.workspace-sources .project-source-table td:nth-child(2){min-width:230px;max-width:330px}.workspace-sources .project-source-table td:nth-child(2) a{font-weight:600}

.section-tabs{display:flex;gap:8px;margin:0 0 24px;flex-wrap:wrap}.section-tabs a{text-decoration:none}.demand-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:16px}.demand-filters label{flex:1;min-width:155px;max-width:290px}.demand-filters select{width:100%}.demand-note{padding:14px 18px;background:#edf2ff;color:#435577;border-radius:12px;margin:16px 0;font-size:14px;line-height:1.6}.demand-table{width:100%;min-width:950px}.demand-table td,.demand-table th{padding:13px 16px;font-size:14px}.demand-table tbody tr:hover,.demand-row:hover{background:#f5f7ff}.demand-row{padding:16px 20px;border-bottom:1px solid #e8ebf0;display:flex;gap:24px;align-items:center;justify-content:space-between}.demand-row p{margin:8px 0;line-height:1.5}.demand-row .badge{margin-left:12px}.demand-row>button{flex-shrink:0}.demand-chart{padding:20px;display:grid;gap:8px}.demand-day{display:flex;gap:16px;align-items:center}.demand-day meter{flex:1;height:22px;accent-color:#0a40ff}.demand-day strong{width:40px;text-align:right}.demand-full{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7fa;border-radius:12px;padding:18px;max-height:360px;overflow:auto;line-height:1.6}.demand-categories{display:grid;grid-template-columns:1fr 1fr;gap:10px;border:1px solid #dce1ec;border-radius:12px;margin-top:16px;padding:16px}.demand-categories label{display:flex;align-items:center;gap:8px;font-size:14px}.demand-categories input{width:18px;height:18px}@media(max-width:700px){.demand-categories{grid-template-columns:1fr}.demand-row{align-items:start;gap:10px}.demand-filters label{max-width:none}.section-tabs .button{font-size:14px}}
.demand-categories label{margin:0!important;padding:0!important;min-height:0!important;line-height:1.4;align-self:center}.demand-categories input[type=checkbox]{min-height:18px!important;height:18px!important;min-width:18px;width:18px!important;padding:0;margin:0;flex:0 0 18px}.demand-day meter::-webkit-meter-optimum-value{background:#0a40ff}.demand-money p{line-height:1.5}

.anomaly-day-picker{display:flex;gap:8px;overflow-x:auto;margin:0 0 18px;padding:2px 2px 8px}.anomaly-day{flex:1;min-width:120px;border:1px solid #dce2ed;border-radius:12px;background:#fff;color:#344052;padding:12px 14px;text-align:left;white-space:nowrap}.anomaly-day:hover,.anomaly-history-day:hover{background:#f5f7ff}.anomaly-day.selected{border-color:#0a40ff;background:#edf2ff;color:#0a40ff}.anomaly-day strong,.anomaly-day span{display:block}.anomaly-day strong{font-size:14px}.anomaly-day span{font-size:13px;margin-top:5px;color:#697589}.anomaly-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.anomaly-summary>div{border:1px solid #e0e5ee;border-radius:12px;background:#fff;padding:15px 18px}.anomaly-summary span,.anomaly-summary strong{display:block}.anomaly-summary span{font-size:13px;color:#687387}.anomaly-summary strong{font-size:26px;line-height:1.2;margin-top:7px}.anomaly-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,.8fr);gap:18px;align-items:start}.anomaly-topic{display:flex;gap:14px;padding:17px 20px;border-top:1px solid #e9edf3}.anomaly-topic:hover{background:#fafbff}.anomaly-rank{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:9px;background:#eaf0ff;color:#0a40ff;font-weight:700;font-size:14px}.anomaly-topic-main{min-width:0;flex:1}.anomaly-topic-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.anomaly-topic-head h3{font-size:15px}.anomaly-topic-head strong{font-size:13px;white-space:nowrap;color:#54627a}.anomaly-bar{height:5px;background:#edf1f8;border-radius:5px;margin:10px 0 12px}.anomaly-bar span{display:block;height:100%;border-radius:5px;background:#0a40ff}.anomaly-example{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;padding:11px 0;border-top:1px solid #eef1f6}.anomaly-example p{grid-column:1/-1;font-size:14px;line-height:1.5;overflow-wrap:anywhere;margin-bottom:5px}.anomaly-example span{font-size:12px;color:#6b7789}.anomaly-example button{font-size:13px;white-space:nowrap}.anomaly-history-list{padding:12px 18px}.anomaly-history-day{display:grid;grid-template-columns:80px 1fr 28px;align-items:center;gap:12px;width:100%;border:0;border-radius:8px;background:transparent;text-align:left;padding:9px 4px;color:#384459;font-size:13px}.anomaly-history-day strong{text-align:right}.anomaly-history-bar{height:7px;border-radius:5px;background:#edf1f8}.anomaly-history-bar i{display:block;height:100%;border-radius:5px;background:#0a40ff}.anomaly-note{border-top:1px solid #e9edf3;font-size:13px;line-height:1.55;color:#697589}@media(max-width:1100px){.anomaly-grid{grid-template-columns:1fr}}@media(max-width:680px){.anomaly-summary{grid-template-columns:repeat(2,1fr)}.anomaly-example{grid-template-columns:1fr}.anomaly-example button{justify-self:start;margin-top:6px}}
.anomaly-trends{margin-bottom:18px}.anomaly-trend-list{padding:4px 18px}.anomaly-trend-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:16px;align-items:center;padding:11px 2px;border-top:1px solid #eef1f6;font-size:14px}.anomaly-trend-row:first-child{border-top:0}.anomaly-trend-row span:last-child{min-width:170px;text-align:right;color:#647085}.anomaly-trend-row .anomaly-up{color:#08784b!important}.anomaly-trend-row .anomaly-down{color:#a85a13!important}.anomaly-threads{margin-top:18px}.anomaly-thread-list{padding:6px 18px}.anomaly-thread-list>div{display:flex;justify-content:space-between;gap:16px;padding:10px 2px;border-top:1px solid #eef1f6;font-size:14px}.anomaly-thread-list>div:first-child{border-top:0}.anomaly-thread-list strong{white-space:nowrap}@media(max-width:720px){.anomaly-trend-row{grid-template-columns:1fr auto}.anomaly-trend-row span:last-child{grid-column:1/-1;text-align:left}}

/* GENERATED from Target Media UI Kit src/tokens.css + src/core.css. Do not hand-edit. */
.tm-date-picker,.tm-date-picker__popover{--tm-app-font-body:14px;--tm-color-border:#D1D1D1;--tm-color-border-strong:#AEB5C0;--tm-color-brand:#0A40FF;--tm-color-brand-soft:#EEF2FF;--tm-color-focus:#7FA0FF;--tm-color-on-dark:#FFFFFF;--tm-color-surface:#FFFFFF;--tm-color-surface-subtle:#F7F8FA;--tm-color-text:#101521;--tm-color-text-muted:#787878;--tm-color-text-secondary:#525252;--tm-control-lg:48px;--tm-font-small:13px;--tm-motion-fast:0ms;--tm-radius-card:20px;--tm-radius-control:12px;--tm-shadow-elevated:0 16px 48px rgba(8,10,15,.14);--tm-space-1:4px;--tm-space-2:8px;--tm-space-3:12px;--tm-space-4:16px}
.tm-date-picker{position:relative;display:grid;gap:var(--tm-space-2);min-width:0}
.tm-date-picker .tm-field__label{font-size:var(--tm-font-small);font-weight:700}
.tm-date-picker__trigger{width:100%;min-height:var(--tm-control-lg);display:flex;align-items:center;justify-content:space-between;gap:var(--tm-space-3);padding:0 var(--tm-space-4);border:1px solid var(--tm-color-border-strong);border-radius:var(--tm-radius-control);background:var(--tm-color-surface);color:var(--tm-color-text);font-size:var(--tm-app-font-body);text-align:left;cursor:pointer;transition:border-color var(--tm-motion-fast),box-shadow var(--tm-motion-fast),background var(--tm-motion-fast)}
.tm-date-picker__trigger:hover{border-color:var(--tm-color-text-muted)}
.tm-date-picker__trigger[aria-expanded="true"],.tm-date-picker__trigger:focus-visible{border-color:var(--tm-color-brand);box-shadow:0 0 0 3px var(--tm-color-brand-soft);outline:0}
.tm-date-picker__trigger:disabled{border-color:var(--tm-color-border);background:var(--tm-color-surface-subtle);color:var(--tm-color-text-muted);cursor:not-allowed}
.tm-date-picker__trigger svg{width:18px;height:18px;flex:none;color:var(--tm-color-text-secondary)}
.tm-date-picker__popover{position:fixed;z-index:2000;width:min(320px,calc(100vw - 24px));max-height:min(410px,calc(100vh - 24px));overflow:auto;padding:var(--tm-space-4);border:1px solid var(--tm-color-border);border-radius:var(--tm-radius-card);background:var(--tm-color-surface);box-shadow:var(--tm-shadow-elevated);color:var(--tm-color-text)}
.tm-date-picker__head{display:flex;align-items:center;justify-content:space-between;gap:var(--tm-space-2);margin-bottom:var(--tm-space-4)}
.tm-date-picker__period{min-width:0;display:flex;align-items:center;gap:4px;color:var(--tm-color-text);font-size:12px;font-weight:650;white-space:nowrap}
.tm-date-picker__period select{width:108px;height:32px;min-height:32px;margin:0;padding:0 20px 0 7px!important;border:1px solid var(--tm-color-border);border-radius:8px;appearance:none;background-color:var(--tm-color-surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3 3.5-3' fill='none' stroke='%23101521' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 4px center;background-size:12px;color:var(--tm-color-text);font-size:12px;font-weight:700;cursor:pointer}
.tm-date-picker__period select[data-calendar-year-select]{width:72px}
.tm-date-picker__period select:hover{border-color:var(--tm-color-text-muted)}
.tm-date-picker__period select:focus-visible{outline:3px solid var(--tm-color-focus);outline-offset:2px}
.tm-date-picker__nav{display:flex;gap:var(--tm-space-1)}
.tm-date-picker__nav button{width:32px;height:32px;display:grid;place-items:center;padding:0;border:1px solid var(--tm-color-border);border-radius:10px;background:var(--tm-color-surface);color:var(--tm-color-text);cursor:pointer;transition:background var(--tm-motion-fast),border-color var(--tm-motion-fast)}
.tm-date-picker__nav button:hover:not(:disabled){border-color:var(--tm-color-brand);background:var(--tm-color-brand-soft)}
.tm-date-picker__nav button:disabled{opacity:.38;cursor:not-allowed}
.tm-date-picker__nav svg{width:16px;height:16px}
.tm-date-picker__weekdays,.tm-date-picker__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.tm-date-picker__weekdays{margin-bottom:var(--tm-space-2)}
.tm-date-picker__weekdays span{display:grid;place-items:center;height:28px;color:var(--tm-color-text-muted);font-size:11px;font-weight:700}
.tm-date-picker__day{min-width:0;height:36px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--tm-color-text);font-size:13px;font-weight:650;cursor:pointer;transition:background var(--tm-motion-fast),border-color var(--tm-motion-fast),color var(--tm-motion-fast)}
.tm-date-picker__day:hover:not(:disabled){background:var(--tm-color-brand-soft);color:var(--tm-color-brand)}
.tm-date-picker__day[data-outside="true"]{color:var(--tm-color-text-muted)}
.tm-date-picker__day[data-today="true"]{border-color:var(--tm-color-border-strong)}
.tm-date-picker__day[aria-pressed="true"],.tm-date-picker__day[aria-pressed="true"]:hover{border-color:var(--tm-color-brand);background:var(--tm-color-brand);color:var(--tm-color-on-dark)}
.tm-date-picker__day:disabled{opacity:.3;cursor:not-allowed}
.tm-date-picker__day:focus-visible,.tm-date-picker__nav button:focus-visible{outline:3px solid var(--tm-color-focus);outline-offset:2px}
.tm-date-picker__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--tm-space-3);margin-top:var(--tm-space-3);padding-top:var(--tm-space-3);border-top:1px solid var(--tm-color-border)}
.tm-date-picker__hint{color:var(--tm-color-text-muted);font-size:11px}
.tm-date-picker__today{padding:4px 8px;border:0;border-radius:8px;background:transparent;color:var(--tm-color-brand);font-size:12px;font-weight:700;cursor:pointer}
.tm-date-picker__today:hover:not(:disabled){background:var(--tm-color-brand-soft)}
.tm-date-picker__today:disabled{opacity:.4;cursor:not-allowed}
@media(prefers-reduced-motion:reduce){.tm-date-picker{--tm-motion-fast:0ms}}

body.modal-open{overflow:hidden}dialog.modal-wide{max-width:840px;max-height:calc(100vh - 48px);overflow-y:auto}dialog.modal-wide .modal-heading{position:sticky;top:0;background:#fff;z-index:2}
.crm-note{margin:12px 0 20px;line-height:1.5;font-size:15px}.crm-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:16px 0}.crm-toolbar label{display:grid;gap:7px;font-weight:600;margin:0}.crm-toolbar select{min-width:230px}
.crm-board-head{position:sticky;top:64px;z-index:7;overflow:hidden;background:#f5f6f8;padding-bottom:6px;box-shadow:0 8px 14px -13px #17202d80}.crm-board-head-track{display:grid;grid-auto-flow:column;grid-auto-columns:340px;gap:14px;width:max-content;will-change:transform}.crm-board{display:grid;grid-auto-flow:column;grid-auto-columns:340px;gap:14px;overflow-x:auto;overflow-y:hidden;padding:0 0 16px}.crm-column{min-height:240px;background:#f4f7fc;border:1px solid #dbe2ef;border-radius:0 0 16px 16px;padding:0 12px 12px}.crm-column-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:15px 16px 14px;background:#f4f7fc;border:1px solid #dbe2ef;border-radius:16px 16px 0 0}.crm-column-heading h2{font-size:17px;margin:0}.crm-column-cards{display:grid;align-content:start;gap:10px;padding-top:12px}.crm-column-empty{font-size:15px;color:#697487;padding:14px 4px}
.crm-card{background:#fff;border:1px solid #dbe2ef;border-radius:13px;padding:15px;box-shadow:0 2px 9px #192c5010;cursor:grab}.crm-card:hover{background:#f9fbff;border-color:#b9c9e5}.crm-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-bottom:10px}.crm-card-top small,.crm-card>small{font-size:13px;color:#667085}.crm-card>strong{display:block;font-size:17px;line-height:1.3}.crm-card-kind{display:inline-block;font-size:13px;color:#516177;margin-top:5px}.crm-card p{font-size:14px;line-height:1.45;margin:9px 0;color:#364153;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere}.crm-card-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:13px}.crm-card-actions .button{font-size:13px}
.crm-delivery-badge{display:table;margin-top:9px;font-size:12px}
.outreach-compose{display:grid;gap:14px}.outreach-compose label{margin:0;min-width:0}.outreach-source{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.outreach-source strong{font-size:16px}.outreach-source a{font-size:14px}.outreach-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.outreach-grid label{font-size:14px;font-weight:650}.outreach-grid select,.outreach-grid input{margin-top:5px}.outreach-account-name{margin:-5px 0 0}.outreach-case-picker{border:1px solid #dce4f1;border-radius:10px;background:#f9fbff}.outreach-case-picker summary{cursor:pointer;padding:11px 13px;font-weight:650}.outreach-case-list{max-height:220px;overflow-y:auto;padding:0 13px 10px}.outreach-case-list label{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-top:1px solid #e9edf3;font-weight:400}.outreach-case-list input{width:18px;height:18px;flex:none;margin-top:2px}.outreach-case-list span{min-width:0;font-size:14px}.outreach-case-list small{display:block;color:#677487;font-size:13px;line-height:1.35;margin-top:3px}.outreach-message-label textarea{margin-top:6px;min-height:178px;line-height:1.5}.outreach-tools{margin-top:-6px}.outreach-tools .crm-compose-file-name{font-size:13px}.outreach-recipient-check{display:flex;align-items:center;gap:8px;font-size:14px}.outreach-recipient-check input{width:18px;height:18px;flex:none}.outreach-actions{margin-top:0}.outreach-status{margin:0;padding:8px 11px;border-radius:8px;background:#fff4dd;color:#825300;font-size:14px}.outreach-edited::after{content:'Текст изменён вручную — после смены параметров проверьте его';display:block;margin-top:5px;color:#8a641d;font:500 12px/1.3 system-ui,sans-serif}
@media(max-width:680px){.outreach-grid{grid-template-columns:1fr}.outreach-actions .button{flex:1 1 auto}}
.outreach-case-picker summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px}
.outreach-case-picker summary::-webkit-details-marker{display:none}
.outreach-case-picker summary::after{content:'';width:8px;height:8px;border-right:2px solid #53627b;border-bottom:2px solid #53627b;transform:rotate(45deg);flex:none;margin:0 5px 4px}
.outreach-case-picker[open] summary::after{transform:rotate(225deg);margin:4px 5px 0}
dialog#modal:has(#outreach-form) .outreach-actions{position:sticky;bottom:0;z-index:4;padding:10px 0 12px;background:#fff;border-top:1px solid #e7ebf2}
.crm-detail-product{display:grid;gap:7px;max-width:420px;margin:16px 0;font-size:14px;font-weight:650;color:#526071}
.crm-detail-product select{min-height:42px;font-size:15px;color:#101521}
.crm-detail-product strong{font-size:15px;color:#101521}
.crm-card:active{cursor:grabbing}.crm-drag-handle{display:grid;place-items:center;width:30px;height:30px;color:#8390a3;cursor:grab;border-radius:7px}.crm-drag-handle:hover{color:#1746ed;background:#eef3ff}.crm-drag-handle svg{display:block;width:16px;height:22px;fill:currentColor}.crm-card-actions{flex-wrap:nowrap}.crm-card-actions .button{flex:1;min-width:0;justify-content:center}
.crm-lead-summary{display:grid;gap:4px;margin-bottom:18px}.crm-lead-summary strong{font-size:20px}.crm-lead-summary span{font-size:14px;color:#667085}.crm-lead-detail dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}.crm-lead-detail dl>div{padding:12px 14px;border:1px solid #e1e6ef;border-radius:10px;background:#f8faff;min-width:0}.crm-lead-detail dt{font-size:13px;color:#667085;margin-bottom:5px}.crm-lead-detail dd{margin:0;font-size:15px;overflow-wrap:anywhere}.crm-lead-detail h3{font-size:17px;margin:0 0 10px}.crm-lead-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-size:15px}.crm-lead-detail .modal-actions{margin-top:22px}@media(max-width:600px){.crm-lead-detail dl{grid-template-columns:1fr}}
.crm-card-top{justify-content:flex-start;flex-wrap:wrap;margin-bottom:8px}.crm-card-top .badge{font-size:12px;padding:4px 7px}.crm-card-top .crm-drag-handle{margin-left:auto}.crm-card-kind{display:block}.crm-card-product{display:grid;gap:5px;margin:10px 0 0;font-size:13px;font-weight:650;color:#526071}.crm-card-product select{min-height:36px;padding:6px 34px 6px 10px;font-size:13px;max-width:100%}.crm-card-actions{justify-content:flex-end}.crm-icon-action{display:grid;place-items:center;width:38px;height:38px;border:1px solid #dbe2ef;border-radius:9px;background:#fff;color:#344054;cursor:pointer}.crm-icon-action:hover,.crm-icon-action:focus-visible{background:#eaf0ff;color:#1746ed;border-color:#b8c9ed}.crm-icon-action svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.crm-lead-tags{display:flex;gap:6px;margin-top:8px}.crm-lead-detail dd a{color:#1746ed;font-weight:650}.crm-author-id{font-size:13px;color:#667085}.crm-manual-recipient[hidden]{display:none!important}.crm-recipient-confirm{display:flex!important;align-items:center;gap:8px;font-size:13px!important}.crm-recipient-confirm input{width:auto;margin:0;flex:none}
.crm-template-list{display:grid;gap:10px}.crm-template{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px}.crm-template h2{font-size:17px;margin:0 0 8px}.crm-template p{font-size:14px;white-space:pre-line;line-height:1.45;margin:0;color:#667085;max-width:74ch}.crm-template .button{flex:none}
.crm-case-group{margin:24px 0}.crm-case-group>h2{font-size:18px;margin-bottom:12px}.crm-case-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:13px}.crm-case-card{overflow:hidden;display:grid;gap:12px;align-content:start;padding:0 0 14px}.crm-case-card>img,.crm-case-placeholder{width:100%;height:145px;object-fit:cover;background:#eaf0fb}.crm-case-placeholder{display:grid;place-items:center;color:#7a8390;font-size:14px}.crm-case-card>div:not(.crm-case-placeholder){padding:0 14px}.crm-case-card strong{font-size:16px}.crm-case-card p{font-size:14px;line-height:1.5;margin:6px 0}.crm-case-card small{font-size:13px;color:#667085}.crm-case-card>.button{margin:0 14px}.crm-case-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}.crm-case-detail h3{font-size:19px;margin:15px 0}.crm-case-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:16px 0}.crm-case-metrics>div{background:#f3f6fb;border-radius:9px;padding:12px}.crm-case-metrics small{display:block;color:#667085;font-size:13px}.crm-case-metrics strong{display:block;margin-top:4px;font-size:15px}.crm-case-description{white-space:pre-wrap;overflow-wrap:anywhere}.crm-case-images{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin:18px 0}.crm-case-images img{width:100%;height:150px;object-fit:contain;background:#f3f6fb;border-radius:8px}.crm-case-images button{margin-top:6px;width:100%}
.crm-upload{margin:20px 0;padding:18px;border:1px solid #dbe2ef;border-radius:14px;background:#f8faff}.crm-upload-title{display:block;font-size:15px;font-weight:700;margin-bottom:12px}.crm-upload-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-upload-button{display:inline-flex;align-items:center;gap:8px;border-color:#aebff1;color:#1746ed;background:#fff;font-weight:700}.crm-upload-button:hover{background:#edf2ff;border-color:#1746ed}.crm-upload-button svg{width:17px;height:17px}.crm-upload-count{font-size:14px;color:#596579}.crm-file-input{position:absolute;width:1px;height:1px;padding:0;opacity:0;pointer-events:none}.crm-upload .outreach-hint{margin:11px 0 0}.crm-upload-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:10px;margin-top:12px}.crm-upload-preview:empty{display:none}.crm-upload-tile{min-width:0;border:1px solid #dbe2ef;border-radius:10px;overflow:hidden;background:#fff;color:#344054}.crm-upload-tile img{display:block;width:100%;height:98px;object-fit:cover;background:#eef2f8}.crm-upload-tile span{display:block;padding:7px 8px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-upload-existing{margin-top:20px}.crm-upload-existing>span{font-size:14px;font-weight:700}.crm-upload-error{font-size:13px;color:#b42318;margin-top:9px}
.crm-case-services{border:1px solid #dce1e9;border-radius:10px;padding:12px 14px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 14px}.crm-case-services legend{font-size:14px;font-weight:650;padding:0 5px}.crm-case-services label{display:flex;align-items:center;gap:9px;margin:4px 0;font-size:14px}.crm-case-services input{width:auto}.outreach-hint{font-size:13px;line-height:1.4;color:#7a8390;margin:6px 0 14px}.outreach-account-name{font-size:13px;color:#667085;margin-top:-7px}.outreach-account-name strong{color:#17202d}
.crm-auto-intro{margin-top:18px;padding:20px 24px}.crm-auto-intro-head,.crm-auto-project-title,.crm-auto-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.crm-auto-intro h2,.crm-auto-project h2,.crm-auto-recent h2{font-size:18px;line-height:1.35;margin:0}.crm-auto-intro p{max-width:1000px;margin:12px 0 0;font-size:15px;line-height:1.55}.crm-auto-intro .crm-auto-subnote{color:#667085;font-size:14px}.crm-auto-list{display:grid;gap:12px;margin-top:14px}.crm-auto-project{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:17px 20px}.crm-auto-project-main{flex:1;min-width:0}.crm-auto-project-title{justify-content:flex-start}.crm-auto-project>.button{flex:none}.crm-auto-account{margin:9px 0 0;color:#667085;font-size:14px}.crm-auto-metrics{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.crm-auto-metrics span{display:inline-flex;align-items:center;gap:7px;padding:6px 9px;border-radius:8px;background:#f2f5fa;color:#526071;font-size:13px;white-space:nowrap}.crm-auto-metrics strong{color:#182230;font-size:14px}.crm-auto-toggle{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:650}.crm-auto-toggle input{width:auto;flex:none}
.crm-auto-recent{margin-top:18px;padding:0;overflow:hidden}.crm-auto-section-head{padding:17px 20px}.crm-auto-rows{border-top:1px solid #e9edf4}.crm-auto-row{display:grid;grid-template-columns:minmax(170px,1fr) auto minmax(130px,.6fr) auto;align-items:center;gap:10px 16px;padding:12px 20px;border-top:1px solid #e9edf4;font-size:14px}.crm-auto-row:first-child{border-top:0}.crm-auto-row:hover{background:#f8faff}.crm-auto-row-title{min-width:0;display:grid;gap:3px}.crm-auto-row-title strong{font-size:14px;color:#182230}.crm-auto-row-title span,.crm-auto-recipient,.crm-auto-error{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085}.crm-auto-row>.button{justify-self:end}.crm-auto-error{grid-column:1/-1;color:#aa4037}
@media(max-width:760px){.crm-auto-intro{padding:17px 18px}.crm-auto-project{align-items:flex-start;flex-direction:column;gap:13px;padding:16px 18px}.crm-auto-project>.button{align-self:flex-start}.crm-auto-metrics span{font-size:12px}.crm-auto-row{grid-template-columns:minmax(0,1fr) auto;padding:12px 16px}.crm-auto-recipient{grid-column:1;grid-row:2}.crm-auto-row>.button{grid-column:2;grid-row:2}}
.crm-dialog-head{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.crm-dialog-source{max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;border-radius:10px;padding:12px 14px;font-size:14px;line-height:1.5}.crm-message-list{display:grid;gap:10px;margin:16px 0;max-height:38vh;overflow-y:auto}.crm-message{max-width:86%;justify-self:start;border-radius:13px;padding:10px 13px;background:#eef2f8;overflow-wrap:anywhere}.crm-message.out{justify-self:end;background:#e8efff}.crm-message small{color:#526071;font-size:12px}.crm-message p{margin:5px 0 0;white-space:pre-wrap;line-height:1.45;font-size:15px}.crm-send-state{background:#fff4dd;border:1px solid #f0d9a9;border-radius:10px;padding:10px 12px;font-size:14px;overflow-wrap:anywhere}
.crm-dialog-footer{display:flex;justify-content:flex-end;border-top:1px solid #e7ebf2;padding-top:14px;margin-top:18px}.crm-refresh-button{display:inline-flex;align-items:center;gap:8px;color:#1746ed;border-color:#c7d4f2;background:#f7f9ff}.crm-refresh-button:hover{background:#ebf1ff}.crm-refresh-button svg,.crm-compose-tools svg,.crm-message-file svg{width:17px;height:17px;flex:none}.crm-message-file{display:inline-flex;align-items:center;gap:6px;margin-top:7px;font-size:13px;font-weight:600;color:#24489b}.crm-compose{padding:16px 18px;border:1px solid #dce4f1;border-radius:14px;background:#f9fbff}.crm-compose>label{margin-top:0}.crm-compose-tools,.crm-compose-inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.crm-compose-tools .button{display:inline-flex;align-items:center;gap:7px}.crm-compose-file{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.crm-compose-file-name{font-size:13px;color:#42526a;overflow-wrap:anywhere}.crm-emoji-picker{display:flex;gap:4px;flex-wrap:wrap;max-width:340px;padding:9px;margin:8px 0;background:#fff;border:1px solid #dce4f1;border-radius:10px}.crm-emoji-picker[hidden]{display:none}.crm-emoji-picker button{border:0;background:transparent;border-radius:7px;font-size:21px;cursor:pointer;padding:4px}.crm-emoji-picker button:hover{background:#edf2ff}.crm-compose-selectors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:13px}.crm-compose-selectors>div{min-width:0}.crm-compose-selectors label{font-size:14px}.crm-compose-selectors select{width:100%;max-width:100%}.crm-compose-inline .button{font-size:12px;padding:7px 9px}.crm-compose .outreach-hint{margin:12px 0}
.crm-card-company{display:block;margin-top:5px;font-size:14px;color:#576579}.crm-manual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.crm-manual-grid label{margin:8px 0}.crm-manual-detail h3{font-size:18px;margin:15px 0 8px}.crm-manual-detail .muted{font-size:14px}.crm-manual-contact{display:flex;gap:8px;flex-wrap:wrap;margin:17px 0}.crm-manual-contact span{padding:8px 11px;border-radius:8px;background:#eef2ff;color:#24489b;font-size:14px}.crm-manual-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.55}.crm-manual-detail .modal-actions{margin-top:24px}@media(max-width:600px){.crm-manual-grid{grid-template-columns:1fr}}
@media(max-width:760px){.crm-board,.crm-board-head-track{grid-auto-columns:85vw}.crm-toolbar{align-items:stretch;flex-direction:column}.crm-template{display:block}.crm-template .button{margin-top:12px}.crm-case-fields,.crm-case-services,.crm-compose-selectors{grid-template-columns:1fr}.crm-case-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

.crm-qualification-control{display:grid;gap:8px;margin:16px 0;font-size:15px;font-weight:600}.crm-qualification-control select{width:100%;max-width:340px}.source-score-note{font-size:14px;color:#596579;margin:0 0 16px}.source-quality-table{min-width:940px}

/* Conversation: one compact composer with optional tools. */
dialog.crm-conversation-modal .modal-heading{gap:10px;padding:14px 22px;min-height:64px}
dialog.crm-conversation-modal .modal-heading h2{flex:1;min-width:0}
dialog.crm-conversation-modal .crm-refresh-button{margin-left:auto;gap:7px;min-height:36px;padding:7px 11px;font-weight:650}
dialog.crm-conversation-modal .crm-refresh-button svg{width:17px;height:17px}
dialog.crm-conversation-modal .crm-dialog-original{margin:8px 0 0}
.crm-dialog-original summary{display:inline-flex;align-items:center;gap:6px;padding:5px 0;color:#58657a;font-size:13px;font-weight:650;cursor:pointer}
.crm-dialog-original .crm-dialog-source{margin-top:6px;max-height:120px}
dialog.crm-conversation-modal .crm-message-list{margin:10px 0 14px;max-height:30vh}
dialog.crm-conversation-modal .crm-compose{position:relative;padding:12px 14px;background:#f8faff}
dialog.crm-conversation-modal .crm-compose label{margin:8px 0;gap:5px}
dialog.crm-conversation-modal .crm-compose textarea{min-height:96px;padding:10px 12px}
.crm-compose-meta,.crm-compose-reason{font-size:13px;line-height:1.45;color:#5f6c80}
.crm-compose-meta strong{color:#263448}
.crm-compose-reason{margin:0 0 7px}
dialog.crm-conversation-modal .crm-compose-tools{gap:5px;margin-top:8px}
.crm-tool-button{display:grid;place-items:center;width:38px;height:38px;flex:none;border:1px solid #dce4f1;border-radius:9px;background:#fff;color:#405573}
.crm-tool-button:hover,.crm-tool-button[aria-expanded=true]{background:#eaf0ff;color:#1746ed;border-color:#b9c9ee}
.crm-tool-button svg{width:18px;height:18px}
.crm-compose-file-name,.crm-compose-choice{font-size:12px;line-height:1.35;color:#42526a;max-width:240px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crm-compose-choice:empty,.crm-compose-file-name:empty{display:none}
.crm-file-clear{border:0;background:none;color:#b42318;font-size:20px;line-height:1;padding:4px;flex:none}
.crm-compose-panel{margin:8px 0 0;padding:11px 12px;border:1px solid #dce4f1;border-radius:10px;background:#fff}
.crm-compose-panel[hidden]{display:none}
.crm-panel-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
.crm-panel-line label{min-width:0}
.crm-panel-line .button{margin-bottom:8px}
.crm-panel-actions{display:flex;gap:15px;flex-wrap:wrap}
.crm-text-action{border:0;background:none;padding:4px 0;color:#1746ed;font-size:13px;font-weight:650}
.crm-text-action.danger{color:#a63c3c}
.crm-compose-panel>label{margin-bottom:0!important}
dialog.crm-conversation-modal .crm-emoji-picker{display:flex;max-width:none;gap:2px;margin-top:8px;padding:6px}
dialog.crm-conversation-modal .crm-compose .outreach-hint{font-size:12px;margin:8px 0;color:#697487}
.crm-compose-submit{display:flex;justify-content:flex-end;margin-top:9px}
dialog.crm-conversation-modal .form-error:empty{display:none}
.crm-outbox-list{display:grid;grid-template-columns:minmax(0,1fr);min-width:0;max-width:100%;gap:8px;margin:0 0 14px}
.crm-outbox-list:empty{display:none}
.crm-queue-item{display:flex;align-items:center;gap:10px;width:100%;min-width:0;max-width:100%;min-height:44px;margin:0;padding:7px 10px;overflow:hidden;background:#fff9ec;font-size:13px;line-height:1.3}
.crm-queue-label{flex:none;color:#263448;white-space:nowrap}
.crm-queue-item .badge{flex:none;font-size:12px;padding:4px 7px;white-space:nowrap}
.crm-queue-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344054}
.crm-queue-timer,.crm-queue-wait,.crm-queue-error{flex:none;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.crm-queue-timer{font-weight:700;color:#8a5600;font-variant-numeric:tabular-nums}
.crm-queue-wait,.crm-queue-error{color:#97512c}
.crm-queue-cancel{flex:none;border:0;background:transparent;color:#a93434;font:inherit;font-weight:700;cursor:pointer;padding:4px 0}
.crm-queue-cancel:hover{text-decoration:underline}
.crm-queue-attachment{display:inline-flex;align-items:center;gap:5px;margin-left:8px;color:#24489b}
.crm-queue-attachment svg{width:15px;height:15px}
@media(max-width:760px){.crm-queue-item{flex-wrap:wrap;gap:5px 8px}.crm-queue-text{flex-basis:100%;order:2}.crm-queue-timer,.crm-queue-wait,.crm-queue-error{order:3}.crm-queue-cancel{order:4;margin-left:auto}}
.crm-message-image{display:block;width:min(320px,100%);margin-top:9px;border-radius:10px;overflow:hidden;background:#f5f7fb}
.crm-message-image img{display:block;max-width:100%;max-height:300px;width:auto;height:auto;object-fit:contain}
.crm-message-image:hover{box-shadow:0 0 0 2px #aebff1}
.crm-card-photos{display:inline-flex;align-items:center;gap:5px;margin:7px 0 0;color:#1746ed;font-size:13px;font-weight:700}.crm-card-photos svg{width:15px;height:15px}

/* CRM board actions and dialog follow-up */
.crm-card{cursor:default;user-select:text}.crm-card:active{cursor:default}.crm-drag-handle{flex:none;cursor:grab;touch-action:none}.crm-drag-handle:active{cursor:grabbing}.crm-dragging{opacity:.55}.crm-column.is-drop-target{background:#e9f0ff;outline:2px solid #7d9df8;outline-offset:-2px}.crm-needs-reply{border-color:#f0a63a;box-shadow:0 0 0 2px #ffca7052}.crm-reply-alert{background:#f59e0b!important;color:#251600!important;font-weight:800}.crm-card-call{display:block;margin-top:9px;color:#24489b;font-size:13px;font-weight:700}.crm-detail-section{border-top:1px solid #e7ebf2;padding-top:18px;margin-top:20px}.crm-detail-section h3{margin-bottom:10px}.crm-detail-messages{display:grid;gap:8px;margin:12px 0}.crm-detail-message{padding:9px 11px;border-radius:10px;background:#f1f4f9;max-width:90%;overflow-wrap:anywhere}.crm-detail-message.out{justify-self:end;background:#eaf0ff}.crm-detail-message small{font-size:12px;color:#637083}.crm-detail-message p{margin:5px 0 0;white-space:pre-wrap;font-size:14px;line-height:1.4}.crm-call-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(220px,1fr);gap:12px}.crm-call-grid label{display:grid;gap:6px;font-size:14px;font-weight:650}.crm-detail-inline-actions,.crm-detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.crm-detail-actions{border-top:1px solid #e7ebf2;padding-top:18px;margin-top:20px}.crm-delete-action{color:#aa302b;border-color:#ead1cf}.crm-delete-action:hover{background:#fff2f1}.crm-archive-reason{margin-top:18px;padding:12px 14px;background:#fff4e8;border-radius:9px;font-size:14px}@media(max-width:650px){.crm-call-grid{grid-template-columns:1fr}}
.crm-recipient-row{display:flex;align-items:center;gap:10px;min-width:0}.crm-recipient-row input{flex:1;min-width:0}.crm-recipient-status{flex:none;min-width:136px;text-align:center;padding:9px 11px;border-radius:9px;background:#f1f4f9;color:#526071;font-size:13px;font-weight:700;line-height:1.35}.crm-recipient-status[data-status="ready"]{background:#def5e8;color:#176b3f}.crm-recipient-status[data-status="invalid"],.crm-recipient-status[data-status="missing"],.crm-recipient-status[data-status="restricted"],.crm-recipient-status[data-status="duplicate"]{background:#fdebea;color:#a72d2d}.crm-recipient-status[data-status="checking"],.crm-recipient-status[data-status="waiting"],.crm-recipient-status[data-status="unknown"]{background:#fff2d9;color:#865400}@media(max-width:560px){.crm-recipient-row{align-items:stretch;flex-direction:column}.crm-recipient-status{text-align:left}}

/* The draft editor shares the compact conversation composer. */
dialog#modal:has(#outreach-form) .outreach-editor{padding:14px 16px;background:#f8faff}
dialog#modal:has(#outreach-form) .outreach-editor textarea{min-height:150px;margin-top:7px;padding:11px 13px;background:#fff;color:#192234;font-size:15px;font-weight:400;line-height:1.5}
dialog#modal:has(#outreach-form) .outreach-editor .crm-compose-tools{gap:6px;margin-top:9px}
.outreach-editor .crm-tool-button{width:36px;height:36px}.outreach-editor .crm-tool-button strong{font-size:16px;line-height:1}
.outreach-editor .crm-emoji-picker{max-width:none;margin:8px 0 0}.outreach-format-hint{font-size:12px;color:#697487;margin:7px 0 0}
.outreach-case-picker{background:#fff}.outreach-case-picker summary{padding:10px 12px;gap:8px;font-size:14px;min-height:42px}.outreach-case-picker summary svg{width:17px;height:17px;color:#496285}.outreach-case-picker summary>span{flex:1}.outreach-case-picker summary strong:empty{display:none}.outreach-case-picker summary strong:not(:empty){display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;margin-left:3px;border-radius:10px;background:#e9efff;color:#1746ed;font-size:12px}.outreach-case-picker summary small{font-size:12px;color:#697487;font-weight:500}.outreach-case-panel{padding:0 12px 10px}.outreach-case-panel>input{width:100%;min-height:38px;margin:0 0 7px;font-size:14px}.outreach-case-list{max-height:230px;padding:0;overflow-y:auto}.outreach-case-list label{display:flex;align-items:center;gap:9px;min-height:43px;margin:0;padding:6px 3px;border-top:1px solid #eef1f6;cursor:pointer}.outreach-case-list label[hidden]{display:none!important}.outreach-case-list label:hover{background:#f4f7ff}.outreach-case-list input{width:17px;height:17px;margin:0}.outreach-case-list span{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.outreach-case-list small{display:inline;color:#697487;font-size:12px}.outreach-case-list small::before{content:' · '}.outreach-case-empty{font-size:13px;color:#697487;margin:8px 0}
.crm-tool-button strong{font-size:16px;line-height:1}.crm-message strong,.crm-detail-message strong{font-weight:750}
.crm-dialog-head-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.crm-contact-button{border-color:#b9c9ee;background:#f4f7ff;color:#1746ed;font-weight:700}
dialog.crm-contact-dialog{width:min(480px,calc(100vw - 30px));max-height:calc(100vh - 40px);padding:0;border:0;border-radius:18px;box-shadow:0 24px 80px #10182850}dialog.crm-contact-dialog::backdrop{background:#10182880}dialog.crm-contact-dialog .modal-heading{padding:18px 22px;border-bottom:1px solid #e5e9f0}#crm-contact-body{padding:22px}.crm-contact-identity{display:flex;align-items:center;gap:15px}.crm-contact-identity strong{display:block;font-size:19px;overflow-wrap:anywhere}.crm-contact-identity span{display:block;color:#667085;margin-top:3px}.crm-contact-avatar{width:76px;height:76px;flex:none;border-radius:50%;overflow:hidden;background:#e9efff;color:#1746ed;display:grid;place-items:center;font-size:30px;font-weight:700}.crm-contact-avatar img{width:100%;height:100%;object-fit:cover}.crm-contact-avatar span{margin:0;color:inherit}#crm-contact-body dl{display:grid;gap:5px;margin:22px 0 0}#crm-contact-body dt{font-size:13px;color:#667085;margin-top:10px}#crm-contact-body dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.crm-contact-note{font-size:13px;line-height:1.45;color:#667085;margin:20px 0 0}
.crm-lead-overview{display:grid;gap:18px}.crm-lead-overview-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:16px;border-bottom:1px solid #e7ebf2}.crm-lead-overview-head h3{font-size:22px;line-height:1.3;margin:5px 0 0}.crm-lead-eyebrow{font-size:13px;color:#667085}.crm-lead-overview-head .crm-lead-tags{justify-content:flex-end;flex-wrap:wrap;margin:0}.crm-lead-overview .crm-detail-product{margin:0;max-width:100%}.crm-lead-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-lead-facts>div{display:grid;align-content:start;gap:5px;min-width:0;padding:12px 14px;border:1px solid #e1e6ef;border-radius:10px;background:#f8faff}.crm-lead-facts span:first-child{font-size:12px;color:#667085}.crm-lead-facts strong{font-size:14px;line-height:1.45;font-weight:650;overflow-wrap:anywhere}.crm-lead-facts a{color:#1746ed}.crm-lead-facts .crm-author-id{font-size:12px;font-weight:500}.crm-lead-contact-separator{color:#a7b0c0}.crm-lead-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.crm-lead-section-head h3{margin:0}.crm-lead-section-head a{font-size:13px;font-weight:650;white-space:nowrap}.crm-lead-request{min-width:0}.crm-lead-request .crm-lead-message{padding:14px 16px;border-left:3px solid #9db2f2;border-radius:0 10px 10px 0;background:#f7f9ff}.crm-lead-communication{border-top:1px solid #e7ebf2;padding-top:18px}.crm-lead-message-count{font-size:13px;color:#667085}.crm-lead-conversation-meta{display:flex;align-items:center;gap:7px 14px;flex-wrap:wrap;font-size:13px;color:#526071}.crm-lead-conversation-meta .badge{font-size:12px}.crm-lead-conversation-meta strong{color:#263448}.crm-lead-last-message{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#f3f6fb}.crm-lead-last-message>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:13px}.crm-lead-last-message time{color:#667085;white-space:nowrap}.crm-lead-last-message p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;margin:5px 0 0;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.crm-lead-no-messages{margin:12px 0 0;font-size:14px;color:#667085}.crm-lead-open-chat{margin-top:12px}.crm-lead-open-chat svg{width:18px;height:18px}.crm-lead-overview .crm-detail-section{margin:0;padding-top:18px}.crm-lead-overview .crm-detail-actions{margin:0}.crm-lead-overview .crm-archive-reason{margin:0}@media(max-width:640px){.crm-lead-overview-head{flex-direction:column}.crm-lead-overview-head .crm-lead-tags{justify-content:flex-start}.crm-lead-facts{grid-template-columns:1fr}.crm-lead-section-head{align-items:flex-start;flex-direction:column}.crm-lead-last-message>div{flex-wrap:wrap}}
.crm-detail-inline-actions{align-items:center}.crm-detail-icon{display:grid;place-items:center;flex:none;width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border:1px solid #dce1e9;border-radius:9px;background:#fff;color:#45536a}.crm-detail-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.crm-detail-icon:hover:not(:disabled),.crm-detail-icon:focus-visible{background:#edf2ff;color:#1746ed;border-color:#b9c9ee}.crm-detail-actions{align-items:center;justify-content:flex-end}.crm-detail-actions-label{margin-right:auto;color:#667085;font-size:13px;font-weight:650}.crm-detail-icon.crm-delete-action{color:#b42318;border-color:#efd4d2}.crm-detail-icon.crm-delete-action:hover:not(:disabled),.crm-detail-icon.crm-delete-action:focus-visible{background:#fff0ef;border-color:#dcaaa5;color:#a32018}
.crm-call-picker{margin:18px 0;align-content:start}.crm-call-picker .tm-field__label{font-size:14px;font-weight:650;color:#101521}.crm-call-picker .tm-date-picker__trigger{min-height:47px;border-color:#dce1e9;font-size:15px;font-weight:650}.crm-call-popover{inset:auto;margin:0;width:min(328px,calc(100vw - 24px));max-height:min(490px,calc(100vh - 24px));padding:16px;border-color:#d1d1d1;box-shadow:0 16px 48px #10152124}.crm-call-popover .tm-date-picker__period select{font-size:12px}.crm-call-popover .tm-date-picker__day{height:35px}.crm-call-calendar-time{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:11px;border-top:1px solid #e5e9f0;font-size:13px;font-weight:700}.crm-call-calendar-time>div{display:flex;align-items:center;gap:5px}.crm-call-calendar-time select{width:65px;min-height:34px;margin:0;padding:5px 9px;border:1px solid #d1d1d1;border-radius:8px;background:#fff;color:#101521;font-size:14px;font-weight:700;text-align:center}.crm-call-calendar-time select:focus-visible{outline:3px solid #7fa0ff;outline-offset:2px}.crm-call-popover .tm-date-picker__footer{margin-top:10px;padding-top:10px}.crm-call-popover .tm-date-picker__footer .button{min-height:36px}
@media(max-width:600px){dialog.crm-conversation-modal .modal-heading{padding:10px 13px;gap:5px}dialog.crm-conversation-modal .modal-heading h2{font-size:16px}dialog.crm-conversation-modal .crm-refresh-button{width:36px;min-width:36px;height:36px;padding:0}dialog.crm-conversation-modal .crm-refresh-button span{display:none}dialog.crm-conversation-modal .crm-compose{padding:10px}dialog.crm-conversation-modal .crm-panel-line{grid-template-columns:1fr}.crm-panel-line .button{justify-self:start;margin-bottom:0}}

.profile-link{font-weight:700;text-decoration:none;transition:background .15s,color .15s}.profile-link:hover,.profile-link:focus-visible{background:#dce5ff;color:#1746ed;outline:2px solid #a9baff;outline-offset:2px}.profile-settings{max-width:870px}.profile-settings .panel-heading h2{font-size:18px}.profile-settings .panel-heading p{font-size:14px}.profile-switch{display:flex;align-items:center;gap:13px;margin:0 0 17px;padding:14px 16px;border:1px solid #dce5f7;border-radius:10px;background:#f7f9ff}.profile-switch input{width:20px;height:20px;margin:0;accent-color:#1746ed;flex:none}.profile-switch strong{display:block;font-size:15px}.profile-switch small{display:block;font-size:13px;font-weight:400;color:#667085;margin-top:4px}.profile-report-grid{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:16px}.profile-report-grid label{margin:0}.profile-report-grid small{font-size:13px;color:#667085;font-weight:400;line-height:1.45}.profile-report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:19px}.profile-report-status{margin-top:19px;padding:14px 16px;background:#f7f9fc;border-radius:9px;font-size:14px;line-height:1.6;color:#45546b}.profile-report-status strong{color:#17202d}.profile-report-status span{color:#667085}.profile-report-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.55 Manrope,Inter,sans-serif;margin:16px 0}@media(max-width:650px){.profile-report-grid{grid-template-columns:1fr}.profile-report-actions .button{flex:1}.profile-settings .panel-heading{align-items:flex-start}}
.avatar-crop-panel{display:grid;justify-items:center;gap:16px;margin:18px 0;padding:18px;border:1px solid #dce5f7;border-radius:14px;background:#f7f9ff}.avatar-crop-preview{display:block;width:min(280px,100%);height:auto;aspect-ratio:1;border-radius:50%;cursor:grab;touch-action:none;box-shadow:0 0 0 4px #fff,0 0 0 5px #c8d4ea}.avatar-crop-preview:active{cursor:grabbing}.avatar-crop-preview:focus-visible{outline:3px solid #1746ed;outline-offset:6px}.avatar-zoom-label{width:min(340px,100%);margin:0;display:grid;gap:8px;font-size:14px;font-weight:650}.avatar-zoom-label input{padding:0;border:0;box-shadow:none;accent-color:#1746ed}.avatar-crop-status{min-height:22px;font-size:14px;line-height:1.5;margin:8px 0 0}.avatar-editor-form .modal-actions{margin-top:16px}

.team-panel{padding:0;margin-top:18px;overflow:hidden}.team-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid #e9edf3}.team-panel-heading h2{font-size:18px}.team-panel-heading p{font-size:14px;margin-top:3px}.team-table{width:100%;border-collapse:collapse}.team-table th,.team-table td{text-align:left;padding:12px 18px;border-bottom:1px solid #e9edf3;font-size:14px;vertical-align:middle}.team-table tbody tr:last-child td{border-bottom:0}.team-table tbody tr:hover{background:#f8faff}.team-table th{color:#667085;font-weight:650;white-space:nowrap}.team-table th:last-child{text-align:right}.team-table td strong{font-size:14px}.team-email{overflow-wrap:anywhere}.team-owner{display:inline-block;margin-left:9px;color:#667085;font-size:12px;font-weight:600}.team-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;white-space:nowrap}.team-delete:hover:not(:disabled){color:#b42318!important;background:#fff0ef!important}.team-actions .icon-button:disabled{opacity:.28;cursor:not-allowed}.team-permissions{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.team-permissions span:not(.muted){padding:4px 7px;border-radius:6px;background:#f1f3f7;color:#526075;font-size:12px;white-space:nowrap}.team-roles-table td:nth-child(2){width:65%}.team-help{color:#667085;font-size:14px;margin:14px 0}.team-role-options{border:1px solid #e3e7ed;border-radius:10px;padding:13px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.team-role-options legend{font-size:14px;font-weight:700;padding:0 6px}.team-role-options label{display:flex;align-items:center;gap:10px;margin:0;padding:8px 3px;font-size:14px;font-weight:500}.team-role-options input{width:18px;height:18px;flex:none}.team-form-note{font-size:13px;margin:13px 0}.team-table .badge{white-space:nowrap}@media(max-width:800px){.team-table{min-width:720px}.team-roles-table{min-width:650px}.team-panel-heading{align-items:flex-start}.team-role-options{grid-template-columns:1fr}}

/* Shared Target Media workspace proportions and interaction language. */
:root{--blue:#0a40ff;--ink:#101521;--muted:#6f7480;--line:#dedede;--green:#168653}
.main-shell{min-width:0}
.content{width:100%;max-width:none;min-width:0;margin:0 auto;padding:34px clamp(24px,2vw,40px) 64px}
.topbar{position:sticky;top:0;z-index:8;height:64px;padding:0 clamp(24px,2vw,40px);background:#fff}
.sidebar .nav-link{min-height:44px;display:flex;align-items:center;gap:11px;padding:0 12px;margin:5px 0;font-size:13px;font-weight:600}
.sidebar .nav-link svg{width:20px;height:20px;stroke-width:1.9}
.sidebar .nav-link:hover{color:#fff;background:#1c2230}
.sidebar .nav-link.active,.sidebar .nav-link.active:hover{background:var(--blue);color:#fff}
.button{min-height:44px;padding:0 18px;border-radius:10px;border-color:var(--line);color:var(--ink);font-size:14px;font-weight:650;background:#fff;transition:color .16s,background .16s,border-color .16s,transform .16s,box-shadow .16s}
.button.small{min-height:38px;padding:0 14px;border-radius:8px;font-size:13px}
.button svg{width:18px;height:18px;stroke-width:1.9}
.button.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.button.primary:hover:not(:disabled){background:#0735d9;border-color:#0735d9}
.button.danger{background:#b42318;border-color:#b42318;color:#fff}
.button.danger:hover:not(:disabled){background:#911d14;border-color:#911d14;color:#fff}
.button:hover:not(:disabled),.icon-button:hover:not(:disabled){transform:translateY(-1px)}
.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:scale(.98)}
.button:focus-visible,.icon-button:focus-visible,.nav-link:focus-visible{outline:3px solid #9fb4ff;outline-offset:2px}
.icon-button{width:40px;min-width:40px;height:40px;min-height:40px;margin-left:0;border-radius:10px;color:#555b68}
.icon-button:hover:not(:disabled){background:#f1f2f4;color:var(--ink)}
.icon-button svg{width:20px;height:20px;stroke-width:1.9}
:where(.icon-button,.crm-tool-button,.crm-icon-action)[aria-label]{position:relative;overflow:visible}
:where(.icon-button,.crm-tool-button,.crm-icon-action)[aria-label]:is(:hover,:focus-visible)::after{content:attr(aria-label);position:absolute;left:50%;bottom:calc(100% + 7px);transform:translateX(-50%);z-index:40;width:max-content;max-width:220px;padding:6px 9px;border-radius:7px;background:#1f2937;color:#fff;font:500 12px/1.3 system-ui,sans-serif;box-shadow:0 5px 16px #14213a30;pointer-events:none;white-space:normal;text-align:center}
.crm-card-actions .crm-icon-action[aria-label]:is(:hover,:focus-visible)::after{left:auto;right:0;transform:none;max-width:min(220px,calc(100vw - 32px));text-align:left}
dialog .modal-heading .icon-button[aria-label]:is(:hover,:focus-visible)::after{top:calc(100% + 7px);bottom:auto;left:auto;right:0;transform:none}
.badge{border-radius:7px;padding:5px 8px;font-weight:700;line-height:1.3;background:#f1f2f4;color:#5b6372}
.badge.green{background:#e8f6ef;color:#168653}
.badge.amber{background:#fff3d9;color:#946000}
.badge.red{background:#fff0ef;color:#b42318}
.badge.blue{background:#edf1ff;color:var(--blue)}
.panel{border-color:var(--line)}
.page-heading h1{color:var(--ink)}
dialog#modal,dialog#help-dialog{width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overflow-y:auto;overscroll-behavior:contain;border-radius:14px;box-shadow:0 24px 80px #10152138}
dialog#modal{max-width:510px}
dialog#modal.modal-medium{max-width:680px}
dialog#modal.modal-wide{max-width:980px}
dialog#modal.modal-data{max-width:1160px}
dialog#help-dialog{max-width:680px}
dialog#help-dialog.help-wide{max-width:900px}
dialog#modal .modal-heading,dialog#help-dialog .modal-heading{position:sticky;top:0;z-index:3;background:#fff;min-height:72px;padding:16px 24px}
dialog#modal .modal-heading h2,dialog#help-dialog .modal-heading h2{min-width:0;font-size:19px;line-height:1.35}
dialog#modal #modal-body{min-width:0;padding:22px 26px 26px}
dialog#modal #modal-body>form>label:first-child{margin-top:0}
dialog#modal #modal-body>*{max-width:100%}
dialog#modal .modal-actions{flex-wrap:wrap}
dialog#modal .form-columns{min-width:0}
dialog#modal .result-detail-text,dialog#modal .decision-row{overflow-wrap:anywhere}
dialog#modal .table-wrap,dialog#modal table{max-width:100%}
dialog::backdrop{background:#101521a3;backdrop-filter:none}
@media(min-width:800px){
 .project-settings-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;align-items:start}
 .project-settings-form>label:has([name="name"]){grid-area:1/1}
 .project-settings-form>label:has([name="account_id"]){grid-area:1/2}
 .project-settings-form>label:has([name="matching_mode"]){grid-area:2/1}
 .project-settings-form>label:has([name="qualification_profile"]){grid-area:2/2}
 .project-settings-form>label:has([name="exclude_offers"]){grid-area:3/1}
 .project-settings-form>label:has([name="allow_vacancies"]){grid-area:3/2}
 .project-settings-form>p.muted{grid-column:1/-1;margin:2px 0 16px}
 .project-settings-form>label:has([name="destination_choice"]),.project-settings-form>#destination-new,.project-settings-form>.form-error,.project-settings-form>.modal-actions{grid-column:1/-1}
 .project-settings-form>.switch-label{margin:12px 0}
}
@media(max-width:760px){
 .content{padding:24px 16px 48px}
 .topbar{position:relative;height:55px;padding:0 16px}
 .sidebar .nav-link{min-height:40px;padding:0 10px}
 dialog#modal,dialog#help-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 dialog#modal .modal-heading,dialog#help-dialog .modal-heading{padding:14px 16px;min-height:62px}
 dialog#modal #modal-body{padding:16px}
 dialog#modal .form-columns,dialog#modal .help-grid{grid-template-columns:1fr}
 dialog#modal .modal-actions .button{flex:1 1 auto}
}
