@import url("/assets/base.css");
:root{--ink:#172b24;--muted:#7b8982;--line:#e4eae6;--lime:#d5f779;--green:#247858;--bg:#f5f7f4;--purple:#8c79dc;--red:#b84c50;--radius:18px}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:14px}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}svg.icon{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.boot{padding:15vh;text-align:center;color:var(--muted)}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#14251f;color:#9daf9f;padding:34px 20px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:white;font-size:23px;font-weight:750;letter-spacing:-1px;padding:0 12px}.brand-mark{height:35px;width:35px;display:grid;place-items:center;background:var(--lime);color:#14251f;border-radius:12px}.brand-mark .icon{width:23px;height:23px;stroke-width:2.5}.brand small{color:var(--lime)}.workspace-switch{border:1px solid #35463d;border-radius:12px;display:flex;align-items:center;gap:10px;margin:36px 8px 28px;padding:12px;color:#f5f7f4;font-size:12px}.workspace-switch .avatar{width:29px;height:29px;font-size:11px}.nav-label{font-size:10px;letter-spacing:1.7px;color:#758b7c;margin:2px 17px 12px;font-weight:650}.nav{display:flex;flex-direction:column;gap:6px}.nav button{display:flex;align-items:center;gap:13px;width:100%;padding:13px 16px;border:0;border-radius:10px;color:#acbbb1;background:none;text-align:left;font-size:13px;font-weight:530}.nav button:hover{background:#20372b;color:white}.nav button.active{background:var(--lime);color:#183020;font-weight:700}.nav .nav-count{margin-left:auto;font-size:10px;background:#ffffff19;border-radius:6px;padding:3px 6px}.nav button.active .nav-count{background:#14251f15}.sidebar-bottom{margin-top:auto}.sidebar-note{margin:28px 8px 18px;padding:16px;border-radius:12px;background:#20362b;font-size:12px;line-height:1.65}.sidebar-note strong{display:block;color:#d8e7db;margin-bottom:4px}.dot{width:6px;height:6px;border-radius:50%;background:#93c4a6;display:inline-block;margin-right:6px}.local-label{font-size:10px;text-align:center;color:#7e9a87;letter-spacing:.7px}.main{grid-column:2;min-width:0}.topbar{height:87px;border-bottom:1px solid var(--line);background:#ffffff9c;display:flex;align-items:center;justify-content:space-between;padding:0 38px;gap:16px}.crumb{color:#87958c;font-size:12px;display:flex;align-items:center;gap:12px}.crumb strong{font-weight:550;color:#304c3e}.top-actions{display:flex;align-items:center;gap:15px}.top-actions .plain{font-size:12px}.avatar{width:35px;height:35px;background:#e8ede6;border-radius:10px;display:grid;place-items:center;font-size:12px;font-weight:750;color:#3d604c}.topbar .avatar{background:#e7e1f7;color:#68549d}.content{padding:34px 38px 48px;max-width:1580px;margin:auto}.page-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#7e9185;text-transform:uppercase;margin:0 0 10px}h1{font-size:30px;font-weight:650;letter-spacing:-1.1px;margin:0 0 9px}h2{font-size:16px;font-weight:650;letter-spacing:-.3px;margin:0}h3{font-size:14px;margin:0}.subtitle{font-size:12px;color:var(--muted);margin:0;line-height:1.7}.btn{display:inline-flex;gap:8px;align-items:center;justify-content:center;border:1px solid #dce4dc;background:white;padding:11px 15px;border-radius:9px;font-size:12px;font-weight:650;color:var(--ink);white-space:nowrap}.btn.primary{background:var(--ink);border-color:var(--ink);color:#fff}.btn.lime{background:var(--lime);border-color:var(--lime);color:#193323}.btn:hover{filter:brightness(.96)}.btn .icon{width:15px;height:15px}.plain{border:0;background:transparent;color:var(--muted);padding:7px;display:inline-flex;align-items:center;gap:7px}.banner{display:flex;align-items:center;gap:12px;padding:13px 17px;border:1px solid #e3e9d5;background:#eff4e6;border-radius:11px;margin-bottom:25px;font-size:12px;color:#667849}.banner .icon{width:16px;height:16px}.banner strong{color:#425c35}.banner a{margin-left:auto;text-decoration:none;font-weight:650}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px 22px;min-height:143px}.stat-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7d8b81}.stat-label .icon{width:17px;height:17px;color:#a7b6aa}.stat-value{font-size:34px;letter-spacing:-1px;font-weight:650;margin:15px 0 10px;line-height:1}.stat-footer{font-size:10px;color:#8c978e}.stat.highlight{background:#eaf2df;border-color:#e3ebd7}.stat.highlight .stat-value{color:#3f6340}.stat-footer b{color:#547e57;font-weight:650}.overview-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;margin-bottom:25px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:22px 23px 15px;gap:12px}.panel-head p{margin:6px 0 0;color:var(--muted);font-size:11px}.mini-label{padding:6px 9px;border:1px solid var(--line);border-radius:7px;color:#819083;font-size:10px}.chart-legend{display:flex;gap:18px;padding:2px 23px 17px;font-size:10px;color:#8a958d}.legend-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:6px;background:var(--green)}.legend-dot.lilac{background:var(--purple)}.bars{padding:12px 25px 24px;display:grid;gap:17px}.bar-row{display:grid;grid-template-columns:85px 1fr 28px;align-items:center;gap:12px;font-size:11px;color:#718275}.bar-track{height:16px;background:#f0f4ef;border-radius:4px;overflow:hidden;display:flex}.bar-track span{display:block;background:#799a73;height:100%}.bar-track span.lilac{background:#b1a0e0}.bar-row b{font-weight:550;text-align:right;font-size:11px}.chart-foot{border-top:1px solid #f0f3ee;padding:14px 23px;font-size:10px;color:#909b93;display:flex;justify-content:space-between}.health-list{padding:0 23px 13px}.health-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf1eb}.health-row:last-child{border:0}.health-name{display:flex;align-items:center;gap:12px;font-size:12px}.icon-tile{height:32px;width:32px;display:grid;place-items:center;border-radius:9px;background:#f0f4ee;color:#70896f}.icon-tile .icon{width:16px;height:16px}.health-name small{display:block;font-size:10px;color:#91a08f;margin-top:4px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:6px;font-size:10px;font-weight:600;white-space:nowrap;background:#edf2eb;color:#72836d}.badge.green{background:#edf6ed;color:#49845b}.badge.red{background:#fbeeee;color:#ba696d}.badge.amber{background:#fbf3e3;color:#a18342}.badge.purple{background:#f1edf9;color:#8970b5}.badge.gray{background:#eef1ef;color:#84928a}.toolbar{display:flex;align-items:center;gap:11px;padding:17px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;flex:1;min-width:180px}.search .icon{color:#a2b09f;width:16px}.search input{border:0;background:transparent;padding:5px 0;width:100%;font-size:12px;color:var(--ink)}input::placeholder{color:#9aa59a}.filter{border:1px solid #e3e9df;border-radius:7px;background:#fff;padding:7px 10px;color:#72826f;font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{padding:13px 22px;background:#fbfcf9;font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:#94a08f;font-weight:650;border-bottom:1px solid var(--line)}td{padding:16px 22px;border-bottom:1px solid #eef2eb;font-size:11px;color:#6f806e}tr:last-child td{border:0}tr:hover td{background:#fbfcf9}.campaign-cell{display:flex;gap:11px;align-items:center}.campaign-avatar{width:32px;height:32px;border-radius:9px;background:#eef0fa;color:#8a8eb6;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.campaign-cell strong{display:block;color:#3d5540;font-size:11px;font-weight:600;max-width:245px;overflow:hidden;text-overflow:ellipsis}.campaign-cell small{display:block;color:#a0ad9a;font-size:10px;margin-top:5px;max-width:230px;overflow:hidden;text-overflow:ellipsis}.actions{display:flex;gap:5px}.actions button{padding:6px;border:0;background:transparent;color:#879782;border-radius:6px}.actions button:hover{background:#eef3e9;color:var(--green)}.actions .icon{width:15px;height:15px}.table-footer{padding:15px 23px;border-top:1px solid var(--line);font-size:10px;color:#96a08f;display:flex;justify-content:space-between;align-items:center}.table-footer .btn{padding:6px 10px;font-size:10px}.toggle{width:31px;height:18px;border:0;background:#dfe6dc;border-radius:20px;padding:2px;display:inline-flex;align-items:center}.toggle span{width:14px;height:14px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0001;transition:transform .15s}.toggle.on{background:#6f956d}.toggle.on span{transform:translateX(13px)}.empty{text-align:center;padding:60px 25px;color:var(--muted)}.empty .icon{height:32px;width:32px;margin-bottom:15px;color:#91a48b}.empty h2{color:#3f5945;margin-bottom:10px}.empty p{font-size:12px;line-height:1.8;max-width:440px;margin:0 auto}.profiles-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.profile-card{padding:21px;border:1px solid var(--line);background:white;border-radius:14px}.profile-card h3{font-size:12px;overflow-wrap:anywhere;margin:15px 0 9px}.profile-card p{font-size:11px;line-height:1.8;color:#8a9785;margin:0}.profile-top{display:flex;justify-content:space-between;align-items:center}.notice-list{display:grid;gap:12px}.notice{display:flex;align-items:center;gap:17px;border:1px solid var(--line);background:white;border-radius:13px;padding:20px 23px}.notice .icon-tile{color:#bd7974;background:#faefeb}.notice p{font-size:11px;line-height:1.8;color:#889280;margin:6px 0 0}.notice .badge{margin-left:auto}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-card{background:white;border:1px solid var(--line);border-radius:16px;padding:25px}.settings-card h2{margin-bottom:20px}.setting{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.setting:last-child{border:0}.setting strong{font-size:11px}.settings-card p{font-size:11px;line-height:1.8;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:20px;padding:0;width:min(700px,94vw);max-height:90vh;box-shadow:0 25px 100px #14251f30}dialog::backdrop{background:#14251f70;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;padding:25px 28px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px}.modal-body{padding:25px 28px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;color:#70816c}.field.full{grid-column:1/-1}.field input,.field select{border:1px solid #dfe6db;padding:11px;border-radius:8px;min-width:0;background:#fff;color:#39543c;font-size:12px}.field small{font-weight:400;color:#96a38f;font-size:10px;line-height:1.6}.modal-foot{display:flex;justify-content:space-between;align-items:center;padding:19px 28px;border-top:1px solid var(--line);background:#fafbf7}.form-error{color:var(--red);font-size:12px;margin:12px 0}.form-error:empty{display:none}.form-note{background:#eff6e6;border-radius:8px;padding:12px;font-size:11px;line-height:1.8;color:#6e8258;margin-bottom:22px}.advanced{margin-top:23px;font-size:12px;color:#7c8e72}.advanced summary{cursor:pointer;padding:12px 0}.advanced .form-grid{padding-top:12px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:#14251f;color:#dbe6d9;padding:50px 65px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story .brand{padding:0}.login-story h1{font-size:57px;line-height:1.12;letter-spacing:-2.7px;font-weight:580;max-width:430px;margin-top:82px;color:#f5f8ee}.login-story h1 em{font-style:normal;color:var(--lime)}.login-story p{max-width:350px;font-size:14px;line-height:1.9;color:#92aa96}.login-art{height:205px;position:relative;margin:25px 0 25px;border:1px solid #3b5540;border-radius:18px;background:linear-gradient(145deg,#233d2c,#172e22);padding:24px;transform:rotate(-3deg);max-width:410px}.art-caption{font-size:10px;letter-spacing:1px;color:#8baf8a}.art-line{display:flex;align-items:center;gap:13px;margin-top:24px}.art-node{height:42px;width:42px;border:1px solid #4b6a4b;border-radius:12px;display:grid;place-items:center;color:var(--lime)}.art-connector{height:1px;background:#789367;flex:1;position:relative}.art-connector:after{content:'';position:absolute;right:0;top:-3px;width:6px;height:6px;border:1px solid var(--lime);transform:rotate(45deg)}.art-tags{display:flex;gap:8px;margin-top:25px}.art-tags span{font-size:10px;background:#324b34;border-radius:5px;padding:7px 10px;color:#b0c8a6}.story-foot{margin-top:auto;font-size:10px;color:#77947d;letter-spacing:1px}.login-form-side{display:flex;align-items:center;justify-content:center;padding:50px}.login-card{width:100%;max-width:360px}.login-card .eyebrow{color:#8c9b83}.login-card h1{font-size:31px;margin-bottom:12px}.login-card .subtitle{margin-bottom:32px}.login-card .field{margin-bottom:19px}.login-card .field input{padding:14px;font-size:13px}.login-card .btn{width:100%;padding:14px;margin-top:7px}.login-foot{font-size:10px;color:#9da793;text-align:center;line-height:1.9;margin-top:28px}.password-wrap{display:flex;border:1px solid #dfe6db;border-radius:8px}.password-wrap input{border:0!important;width:100%}.password-wrap button{background:none;border:0;color:#8d9c83;padding:0 12px}.password-wrap .icon{width:16px}#toast{position:fixed;right:28px;bottom:28px;z-index:100;background:#193426;color:#ecf6e8;border:1px solid #426247;border-radius:11px;padding:14px 19px;box-shadow:0 8px 35px #14251f25;font-size:12px;max-width:380px;display:none}#toast.show{display:block}.menu-btn{display:none}.mobile-only{display:none}.section-note{font-size:11px;color:#8c9b84;margin:17px 0;line-height:1.8}.spinner{display:inline-block;width:13px;height:13px;border:2px solid #b5c6ac;border-top-color:#577749;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.content{padding-top:42px}.overview-grid{grid-template-columns:1.7fr 1fr}.stat{min-height:155px}}@media(max-width:1150px){.content{padding:28px 24px}.topbar{padding:0 24px}.overview-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.profiles-grid{grid-template-columns:1fr 1fr}.login-story{padding:40px}.login-story h1{font-size:46px}}@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:20px 0 100px #14251f40}.main{grid-column:1}.menu-btn{display:inline-flex}.topbar{height:68px;padding:0 18px}.crumb{gap:7px}.top-actions .mini-label{display:none}.content{padding:24px 17px}.page-title{align-items:flex-start}h1{font-size:25px}.stats{grid-template-columns:1fr 1fr}.stat-value{font-size:29px}.overview-grid{gap:16px}.banner{line-height:1.7}.banner a{display:none}.profiles-grid,.settings-grid{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-story{display:none}.login-form-side{padding:35px 25px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-head,.modal-body,.modal-foot{padding:20px}.top-actions{gap:5px}.panel-head{padding:20px 18px}.notice{align-items:flex-start;padding:18px;gap:12px}.notice .badge{display:none}.toolbar{padding:15px}.table-footer{padding:15px}.bar-row{grid-template-columns:65px 1fr 23px}.stat-footer{line-height:1.6}.page-title .btn{padding:10px;font-size:11px}}
/* Campaign daily ledger */
.campaign-link{display:block;color:#3d5540;font-size:11px;font-weight:650;max-width:245px;overflow:hidden;text-overflow:ellipsis;text-decoration:none}.campaign-link:hover{color:#247858;text-decoration:underline;text-underline-offset:3px}.back-link{padding:0;margin-bottom:19px;font-size:11px}.back-link .icon{transform:rotate(180deg);width:14px}.detail-actions{display:flex;gap:8px}.campaign-hero{padding:20px 24px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}.campaign-identity{display:flex;align-items:center;gap:13px;flex-wrap:wrap}.campaign-identity .campaign-avatar{width:42px;height:42px;font-size:14px}.campaign-identity strong{font-size:12px;font-weight:650}.campaign-identity p{font-size:11px;margin:6px 0 0;color:#8b9985}.campaign-chips{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-left:10px}.day-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.day-label{font-size:11px;color:#84927c}.day-label small{font-size:9px;padding:3px 5px;background:#f0f3eb;border-radius:4px}.date-presets{display:flex;gap:4px}.date-presets .btn{padding:8px 11px;font-size:11px}.date-presets .selected{background:#edf4e2;border-color:#cbdabd;color:#567047}.day-controls input{border:1px solid #dfe6db;border-radius:7px;background:#fff;padding:8px;color:#5d7456;font:inherit;font-size:11px}.detail-stats{margin-bottom:15px}.detail-stats .stat-value small{font-size:18px;color:#94a583;letter-spacing:-.3px;font-weight:500}.target-summary{display:flex;align-items:center;gap:12px;margin-bottom:24px;font-size:10px;color:#8b9a81}.target-track{width:125px;height:5px;background:#e5ebdf;border-radius:8px;overflow:hidden}.target-track span{display:block;height:100%;background:#8eae66;border-radius:8px}.queue-note{margin-left:auto}.visit-source-tabs{display:flex;gap:20px;padding:0 23px;border-bottom:1px solid var(--line)}.visit-source-tabs button{padding:20px 0 17px;border:0;border-bottom:2px solid transparent;background:none;color:#91a087;font-size:12px;font-weight:600}.visit-source-tabs button.active{color:#315938;border-bottom-color:#6e9951}.visit-source-tabs span{margin-left:7px;padding:3px 6px;border-radius:5px;background:#eff3eb;color:#8a9b7c;font-size:10px}.visit-status-tabs{display:flex;gap:6px;padding:17px 22px;flex-wrap:wrap;border-bottom:1px solid #eef2e9}.visit-status-tabs button{border:1px solid transparent;background:none;border-radius:7px;padding:7px 9px;font-size:11px;color:#91a085}.visit-status-tabs button.active{border-color:#d9e4cc;background:#f1f6e9;color:#5d7847}.visit-status-tabs span{padding-left:7px;font-size:10px;opacity:.8}.history-note{padding:14px 23px;font-size:11px;color:#907eaf;background:#f6f3fb;line-height:1.7}.table-sub{display:block;max-width:225px;overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#96a38c;margin-top:7px}.visit-table td:first-child strong{font-size:10px;font-weight:600;color:#526b48}.destination-cell{font-size:11px;color:#526e46}.query-preview{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:9px}.visit-open{font-size:10px;padding:7px 9px}.visit-open .icon{width:13px;height:13px}.job-panel{margin-top:20px}.job-row{padding:14px 23px;border-top:1px solid #eef2e9;display:flex;align-items:center;gap:18px;font-size:11px;color:#809174}.job-row strong{font-size:10px;font-weight:600;margin-left:6px}.job-row small{margin-left:auto;color:#9ba68f;font-size:10px}.visit-badges{display:flex;gap:8px;margin-bottom:25px}.visit-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 25px;padding-bottom:23px;border-bottom:1px solid var(--line);margin-bottom:24px}.visit-fields span{display:block;font-size:10px;color:#94a087;margin-bottom:7px}.visit-fields strong{font-size:11px;font-weight:550;color:#4c6645;overflow-wrap:anywhere}.copy-field{margin:18px 0}.copy-field>div{display:flex;align-items:center;justify-content:space-between}.copy-field label{font-size:11px;color:#819273;font-weight:600}.copy-field button{font-size:10px;color:#738c60}.copy-field textarea{width:100%;resize:vertical;border:1px solid #e0e8d9;border-radius:8px;background:#fafcf7;padding:12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#5e7651;line-height:1.7;overflow-wrap:anywhere}.visit-error{border:1px solid #efdad5;border-radius:9px;padding:15px;background:#fdf6f3;color:#a36e63;margin-top:20px;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.visit-error p{margin:8px 0 0}.visit-error strong{font-size:11px}.visit-table .badge{font-size:9px}
@media(max-width:1150px){.campaign-hero{align-items:flex-start}.campaign-chips{margin-left:0}.campaign-identity{flex:1}.day-controls{width:100%;padding-top:12px;border-top:1px solid var(--line)}.day-label{margin-right:auto}.detail-stats .stat-footer{line-height:1.7}}@media(max-width:760px){.detail-actions .btn{padding:8px;font-size:10px}.detail-actions{flex-direction:column}.campaign-hero{padding:18px}.campaign-chips{width:100%;margin-top:5px}.day-controls{gap:7px}.day-label{display:none}.day-controls input{flex:1;min-width:115px}.target-summary{flex-wrap:wrap}.queue-note{width:100%;margin-left:0;font-size:10px}.visit-source-tabs{gap:17px;padding:0 16px}.visit-status-tabs{padding:12px}.visit-status-tabs button{padding:6px 7px}.visit-fields{gap:18px}.job-row{flex-wrap:wrap;gap:10px;padding:15px}.job-row small{margin-left:0}.detail-stats .stat-value{font-size:26px}}

#proxy-dialog{max-width:640px}.proxy-geo-note{margin-top:20px}

.campaign-group{border-top:1px solid var(--line)}.campaign-group summary{display:flex;align-items:center;gap:20px;padding:20px 24px;cursor:pointer;list-style:none}.campaign-group summary::before{content:'›';font-size:22px;color:var(--muted)}.campaign-group[open] summary::before{transform:rotate(90deg)}.group-title{font-weight:650;flex:1}.group-title small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:7px}.group-totals{font-size:11px;color:var(--muted)}.bulk-bar{display:flex;align-items:center;gap:12px;padding:12px 24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}#operations-dialog{width:min(960px,95vw);max-width:960px}.geo-heading{display:flex;align-items:center;justify-content:space-between;margin:24px 0 15px}.geo-editor-row{padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:14px;background:var(--bg)}.geo-editor-row .field input,.geo-editor-row .field select{background:white}.geo-editor-row [data-remove-geo]{margin-top:12px}.settings-card .field{margin:16px 0}.bulk-bar .plain{margin-left:auto}@media(max-width:760px){.campaign-group summary{flex-wrap:wrap;padding:16px}.group-totals{width:100%;order:3}.bulk-bar{flex-wrap:wrap;padding:12px}.top-actions .mini-label{display:none}.geo-editor-row{padding:12px}}

.login-step{display:flex;flex-direction:column;align-items:center;gap:14px}.login-step>span{font-size:12px;font-weight:500;color:#8baf8a;letter-spacing:.3px}.login-art .art-line{align-items:flex-start}.login-art .art-connector{align-self:flex-start;margin-top:27px}

#ads-dialog{width:min(900px,95vw);max-width:900px}#ads-script-code{width:100%;font:12px/1.6 ui-monospace,SFMono-Regular,monospace;border:1px solid var(--line);border-radius:9px;background:var(--bg);padding:15px;resize:vertical}.ads-instructions{padding-left:20px;line-height:1.9;color:var(--muted);margin:0 0 20px}.ads-error{display:block;max-width:360px;color:var(--red);margin-top:8px;overflow-wrap:anywhere}.ads-issues{margin-top:24px}.ads-issue{display:flex;align-items:flex-start;gap:20px;padding:22px;border-top:1px solid var(--line)}.ads-issue>div{flex:1;min-width:0}.ads-issue p{color:var(--muted);line-height:1.7}.ads-issue textarea,#ads-dialog .field textarea{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:12px;overflow-wrap:anywhere;background:var(--bg);font:12px/1.6 ui-monospace,monospace;resize:vertical}.ads-issue .field{margin-top:12px}#ads-dialog .modal-body p{line-height:1.8;color:var(--muted)}

.publish-panel{margin-top:24px}.campaign-mode{display:flex;align-items:center;gap:16px;margin-bottom:20px}.builder-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.builder-section h3{margin-top:0}.builder-section h4{font-size:12px;color:var(--muted);margin:20px 0 12px}.builder-asset{display:flex;gap:10px;margin-bottom:10px}.builder-asset input{flex:1}.keyword-editor{display:flex;gap:10px;margin-bottom:12px}.keyword-editor input{min-width:0;flex:1;border:1px solid var(--line);border-radius:8px;padding:12px;background:white}.keyword-editor select{border:1px solid var(--line);border-radius:8px;padding:10px;background:white}.checkbox-line{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--ink);margin:10px 0}.checkbox-line input{width:auto!important}.fixed-setting{display:block;padding:12px 0}.selected-geo{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.selected-geo>span{flex:1}.selected-geo small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.selected-geo select{padding:6px;border:1px solid var(--line);border-radius:6px;background:white}.geo-result{display:block;width:100%;background:var(--bg);border:1px solid var(--line);padding:12px;text-align:left;color:var(--ink)}.geo-result small{display:block;color:var(--muted);font-size:11px;margin-top:5px}#google-geo-results{max-height:250px;overflow:auto}#builder-tracking-fields[hidden]{display:none}
/* Campaign editor: fixed actions, clear sections and reviewable location targeting. */
#ads-dialog.campaign-editor{width:min(1080px,calc(100vw - 40px));max-width:1080px;height:min(930px,calc(100dvh - 48px));max-height:calc(100dvh - 32px);overflow:hidden}
.campaign-editor #ads-content,.campaign-builder{height:100%;min-height:0}.campaign-builder{display:flex;flex-direction:column}
.campaign-editor .editor-head{flex:none;align-items:center;padding:22px 26px}.editor-head h2{font-size:23px;letter-spacing:-.6px}.editor-head p:not(.eyebrow){font-size:12px;color:var(--muted);margin:7px 0 0;max-width:700px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-head>.plain{border:1px solid var(--line);border-radius:9px;color:var(--ink);width:34px;height:34px;justify-content:center}
.editor-section-nav{display:flex;gap:7px;padding:11px 26px;border-bottom:1px solid var(--line);flex:none;background:#fff;overflow-x:auto}.editor-section-nav button{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;padding:9px 12px;font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}.editor-section-nav button.active{background:#e8f0e6;color:#36593e}.editor-section-nav button span{border-radius:5px;background:#dce8d9;padding:2px 6px;font-size:10px;color:#53774f}
.campaign-editor .editor-scroll{padding:22px 26px;background:#f5f7f3;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0;scroll-behavior:smooth}.editor-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:22px;margin-bottom:18px;scroll-margin-top:18px}.editor-card:last-child{margin-bottom:0}.editor-section-title{display:flex;gap:12px;align-items:center;margin-bottom:21px}.editor-section-title>span{background:#edf2e9;color:#77916e;padding:8px;border-radius:8px;font-size:12px;font-weight:700}.editor-section-title h3{font-size:16px;letter-spacing:-.3px}.editor-section-title p{margin:5px 0 0!important;font-size:11px;line-height:1.5!important}.campaign-editor .form-grid{gap:16px}.campaign-editor .field{color:#647660;font-size:11px}.campaign-editor input,.campaign-editor select,.campaign-editor textarea{font-family:inherit}.campaign-editor input:focus,.campaign-editor select:focus,.campaign-editor textarea:focus{outline:2px solid #8baf8a;outline-offset:2px}.campaign-editor .field input,.campaign-editor .field select{background:#fff;color:var(--ink);border-color:#dfe6dc;border-radius:8px;padding:11px 12px;line-height:1.4}.campaign-editor .field select:disabled{background:#f4f6f1;color:var(--muted)}
.editor-fixed-settings{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:16px;margin-top:20px;padding:16px;border:1px solid #e7ece2;border-radius:10px;background:#f9fbf6}.editor-fixed-settings>div{display:flex;flex-direction:column;gap:7px}.editor-fixed-settings span{font-size:10px;color:var(--muted)}.editor-fixed-settings strong{font-size:11px;line-height:1.5;font-weight:600}.editor-fixed-settings small{font-size:10px;color:var(--muted);line-height:1.5}.editor-fixed-settings .checkbox-line{font-size:11px;margin:1px 0}.campaign-editor .advanced{margin-top:10px}.campaign-editor .advanced summary{font-size:11px}.campaign-editor .advanced .field{margin:6px 0 0}
.campaign-editor .editor-foot{flex:none;padding:16px 26px;display:grid;grid-template-columns:auto 1fr;gap:10px;background:#fff}.editor-save-actions{display:flex;justify-self:end;gap:9px}.editor-foot .form-error{grid-column:1/-1;margin:0;font-size:11px;line-height:1.5}.editor-foot .form-error:empty{display:none}
.editor-subsection{padding-top:22px;border-top:1px solid var(--line);margin-top:22px}.editor-subsection-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px}.editor-subsection-head h4{margin:0;font-size:13px}.editor-subsection-head>span{font-size:10px;color:var(--muted)}.editor-assets-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.editor-asset{margin-bottom:12px}.editor-asset-label{display:flex;justify-content:space-between;align-items:center;gap:8px}.editor-asset-label [data-asset-count]{font-size:10px;font-weight:400;color:var(--muted)}.editor-asset-label .over-limit{color:var(--red);font-weight:650}.editor-asset-input{display:flex;align-items:flex-start;gap:5px}.editor-asset-input input,.editor-asset-input textarea{flex:1;width:100%;min-width:0}.editor-asset-input>.plain{padding:9px 5px;font-size:19px;color:#8a9586}#ads-dialog.campaign-editor .editor-asset textarea{border:1px solid #dfe6dc;border-radius:8px;background:#fff;font:12px/1.55 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);padding:11px 12px;resize:vertical;min-height:79px}.editor-keyword-labels{display:grid;grid-template-columns:1fr 125px 25px;gap:10px;font-size:10px;color:var(--muted);margin:0 0 7px}.campaign-editor .keyword-editor{display:grid;grid-template-columns:minmax(0,1fr) 125px 25px;gap:9px;align-items:center;margin-bottom:9px}.campaign-editor .keyword-editor select{width:100%;color:var(--ink);font-size:12px}.campaign-editor .keyword-editor>.plain{padding:5px;font-size:20px}.editor-tracking-switch{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 17px;background:#f3f7ef;border:1px solid #e4eadf;border-radius:10px;cursor:pointer}.editor-tracking-switch strong{display:block;font-size:12px}.editor-tracking-switch small{display:block;font-size:11px;color:var(--muted);line-height:1.5;margin-top:5px}.editor-tracking-switch>input{accent-color:#7b9e72;width:17px;height:17px;flex:none}.campaign-editor #builder-tracking-fields{margin-top:20px}.campaign-editor #builder-tracking-fields[hidden]{display:none}.editor-location-presence{margin-top:19px;padding-top:17px;border-top:1px solid var(--line)}
.geo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.geo-intent{display:inline-flex;padding:4px;border:1px solid var(--line);border-radius:10px;background:#f5f7f2;gap:3px}.geo-intent button{border:0;background:transparent;border-radius:7px;padding:9px 13px;font-size:12px;font-weight:600;color:#7a8973}.geo-intent button[data-geo-mode=include].active{background:#dfebda;color:#3c653f;box-shadow:0 1px 2px #14251f0a}.geo-intent button[data-geo-mode=exclude].active{background:#f5e9e6;color:#9c6356;box-shadow:0 1px 2px #14251f0a}.geo-toolbar>.btn{padding:9px 12px;font-size:11px}.geo-search-grid{display:grid;grid-template-columns:minmax(180px,2fr) minmax(120px,1fr) minmax(125px,1fr);gap:10px}.geo-search-box{display:flex;align-items:center;border:1px solid #dfe6dc;border-radius:8px;background:#fff}.campaign-editor .geo-search-box input{border:0;padding:11px 12px;width:100%;min-width:0;background:transparent}.geo-search-box>.plain{font-size:19px;padding:5px 10px;color:#8b9883}.geo-search-status{font-size:11px;color:var(--muted);line-height:1.6;margin:9px 0}.geo-search-status:empty{margin:0}.geo-search-results{border:1px solid var(--line);border-radius:9px;overflow-y:auto;max-height:255px;margin:10px 0 17px}.geo-search-results[hidden]{display:none}.geo-search-result{display:flex;gap:14px;align-items:center;padding:11px 12px;border-bottom:1px solid #edf0e9}.geo-search-result:last-child{border:0}.geo-search-result:hover{background:#fafcf7}.geo-location-label{display:block;flex:1;min-width:0}.geo-location-label strong{display:block;font-size:12px;font-weight:600;color:#3d543c;overflow-wrap:anywhere;line-height:1.5}.geo-location-label small{display:block;font-size:10px;line-height:1.6;color:#8d9b83;margin-top:2px;overflow-wrap:anywhere}.geo-location-label small span{color:#73866a}.geo-add{font-size:10px;padding:7px 9px;flex:none;color:#426f44;border-color:#dce7d6;background:#f2f7ee}.geo-add:disabled{cursor:default;opacity:.65;background:#f4f6f0;border-color:transparent;color:#8b9984}#campaign-location-picker[data-mode=exclude] .geo-add:not(:disabled){color:#a06454;background:#fcf4f1;border-color:#eedbd2}
.geo-selection-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:18px 0 11px}.geo-selection-heading>div{display:flex;align-items:center;gap:9px}.geo-selection-heading strong{font-size:12px}.geo-selection-heading [data-geo-total]{font-size:10px;color:var(--muted)}.geo-selection-heading input{border:1px solid var(--line);border-radius:7px;padding:7px 9px;font-size:11px;width:185px;background:#fff;min-width:0}.geo-selection-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.geo-selection-pane{border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.geo-selection-pane>header{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;background:#f1f6ed;border-bottom:1px solid #e2eadb}.geo-selection-pane.exclude>header{background:#fbf4f0;border-color:#f0e5de}.geo-selection-pane h4{font-size:12px;margin:0;color:#55784e;display:flex;align-items:center;gap:8px}.geo-selection-pane.exclude h4{color:#9d6b58}.geo-selection-pane h4 span{font-size:10px;padding:2px 6px;border-radius:5px;background:#e2ebdc}.geo-selection-pane.exclude h4 span{background:#f3e7e1}.geo-selection-pane>header .plain{font-size:10px;padding:5px}.geo-selection-pane>header .plain:disabled{cursor:default;opacity:.35}.geo-selected-list{max-height:286px;overflow-y:auto;min-height:90px}.geo-selected-item{display:flex;gap:8px;align-items:center;padding:9px 11px;border-bottom:1px solid #eff2eb}.geo-selected-item:last-child{border:0}.geo-selected-item:hover{background:#fbfcf9}.geo-item-actions{display:flex;align-items:center;gap:3px;flex:none}.geo-item-actions .plain{font-size:10px;color:#6c8261;padding:6px 4px}.geo-item-actions .geo-remove{font-size:18px;color:#a3ad9a;width:23px;padding:3px}.geo-item-actions .geo-remove:hover{color:var(--red)}.geo-empty{font-size:11px!important;color:#9aa58f!important;padding:16px;margin:0!important;line-height:1.7!important}.geo-feedback{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0;padding:9px 12px;border-radius:8px;background:#edf4e7;font-size:11px;color:#597a4e}.geo-feedback[hidden]{display:none}.geo-feedback .plain{font-size:11px;text-decoration:underline;color:#43673b;padding:3px}
.geo-bulk{padding:16px;margin:12px 0 18px;border:1px dashed #cadac3;border-radius:10px;background:#f9fbf6}.geo-bulk[hidden]{display:none}#ads-dialog.campaign-editor .geo-bulk textarea{background:#fff;border:1px solid #dfe6dc;border-radius:8px;padding:11px;color:var(--ink);font:12px/1.65 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100px;resize:vertical}.geo-bulk-actions{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-top:11px}.geo-bulk-actions span{font-size:11px;color:var(--muted)}.geo-bulk-actions .btn{padding:8px 11px;font-size:11px}.geo-bulk-actions .plain{font-size:11px}.geo-bulk-match-list{max-height:300px;overflow:auto;margin-top:14px;border-top:1px solid var(--line)}.geo-bulk-match{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.geo-bulk-match>strong{font-size:11px;color:#667b5b;overflow-wrap:anywhere}.geo-bulk-match select{border:1px solid var(--line);padding:9px 7px;font-size:11px;border-radius:7px;width:100%;min-width:0;background:white;color:var(--ink)}.geo-match-error{font-size:11px;color:var(--red)}
@media(max-width:760px){#ads-dialog.campaign-editor{width:calc(100vw - 20px);height:calc(100dvh - 24px);max-height:calc(100dvh - 16px);border-radius:14px}.campaign-editor .editor-head{padding:16px 18px}.editor-head h2{font-size:21px}.editor-head p:not(.eyebrow){max-width:65vw}.editor-section-nav{padding:9px 12px;gap:2px}.editor-section-nav button{padding:8px 10px;font-size:11px}.campaign-editor .editor-scroll{padding:12px}.editor-card{padding:16px;margin-bottom:12px}.campaign-editor .editor-foot{padding:12px 16px}.editor-fixed-settings{grid-template-columns:1fr 1fr;gap:14px}.editor-fixed-settings>div:last-child{grid-column:1/-1}.geo-search-grid{grid-template-columns:1fr 1fr}.geo-query{grid-column:1/-1}.geo-selection-columns{grid-template-columns:1fr}.geo-selected-list{max-height:220px}.editor-assets-grid{grid-template-columns:1fr}.editor-subsection-head>span{font-size:9px}.editor-selection-heading{gap:8px}.geo-bulk-match{grid-template-columns:1fr}.geo-selection-heading{align-items:flex-start;flex-direction:column;gap:9px}.geo-selection-heading input{width:100%}.editor-save-actions{gap:6px}.editor-foot .btn{font-size:11px;padding:10px 11px}.geo-toolbar{gap:9px}.geo-intent button{font-size:11px;padding:9px 10px}}
@media(prefers-reduced-motion:reduce){.campaign-editor .editor-scroll{scroll-behavior:auto}}

/* Campaign creation CTA: independent of compact table action buttons. */
button.btn.primary[data-new-search]{min-height:46px;padding:12px 20px;gap:10px;border:1px solid #172b24;border-radius:10px;background:#172b24;color:#fff;font-size:13px;font-weight:650;line-height:1.4;box-shadow:0 2px 4px #172b2414;transition:background-color .15s,border-color .15s,box-shadow .15s}
button.btn.primary[data-new-search]:hover{background:#294b3c;border-color:#294b3c;color:#fff;filter:none;box-shadow:0 3px 8px #172b2424}
button.btn.primary[data-new-search]:active{background:#102019;border-color:#102019;color:#fff;box-shadow:none}
button.btn.primary[data-new-search]:focus-visible{outline:3px solid #8baf8a;outline-offset:3px}
button.btn.primary[data-new-search] .icon{width:20px;height:20px;stroke-width:2}

.ads-report-summary{display:flex;align-items:center;gap:36px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px 26px;margin-bottom:20px;flex-wrap:wrap}.ads-report-summary>div{display:flex;flex-direction:column;gap:8px;min-width:150px}.ads-report-summary span{font-size:12px;color:var(--muted)}.ads-report-summary strong{font-size:25px;color:var(--ink)}.ads-report-summary p{margin:0 0 0 auto;font-size:11px;line-height:1.8;color:var(--muted)}.report-date{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted)}.report-date input{border:1px solid var(--line);border-radius:8px;padding:9px;background:#fff;color:var(--ink)}.toolbar{flex-wrap:wrap}

/* Keep campaign identity visible while browsing wide report columns. */
.ads-campaign-table{position:relative;isolation:isolate}
.ads-campaign-table th:nth-child(2),.ads-campaign-table td:nth-child(2){position:sticky;left:0;z-index:2;min-width:200px;max-width:260px;white-space:normal;overflow-wrap:anywhere;box-shadow:3px 0 6px -3px #172b2433}
.ads-campaign-table th:nth-child(2){z-index:3;background:#fbfcf9}
.ads-campaign-table td:nth-child(2){background:#fff}
.ads-campaign-table tr:hover td:nth-child(2){background:#fbfcf9}
@media(max-width:600px){.ads-campaign-table th:nth-child(2),.ads-campaign-table td:nth-child(2){min-width:150px;max-width:180px;padding-left:14px;padding-right:14px}}

.ads-campaign-table th:nth-child(2),.ads-campaign-table td:nth-child(2){border-right:0;box-shadow:none}.ads-campaign-table th:nth-child(2)::after,.ads-campaign-table td:nth-child(2)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:var(--line);pointer-events:none}

/* Uniform column separators; only the campaign column stays pinned. */
.ads-campaign-table td:not(:nth-child(2)):not(:last-child){position:relative}
.ads-campaign-table th:not(:nth-child(2)):not(:last-child)::after,.ads-campaign-table td:not(:nth-child(2)):not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:var(--line);pointer-events:none}

.account-name-status{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.account-google-status{display:inline-flex;vertical-align:middle}.account-google-status .badge{font-size:9px;padding:3px 6px;line-height:1.3;white-space:nowrap}
/* Campaign filter bar */
.campaign-filters{position:relative;z-index:5;margin:0 0 18px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:14px}
.campaign-filter-grid{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(140px,.8fr) minmax(210px,1.45fr) minmax(170px,1fr) auto;gap:14px;align-items:end}
.campaign-filter{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0}.campaign-filter-label{font-size:10px;font-weight:650;color:#7b8c80;letter-spacing:.65px;text-transform:uppercase}
.campaign-filter select,.account-picker summary,.campaign-search-input{height:44px;border:1px solid #dce5dc;border-radius:9px;background:#fafcf9;color:var(--ink);font-size:12px;width:100%;min-width:0;transition:border-color .15s,background .15s,box-shadow .15s}
.campaign-filter select{padding:0 30px 0 12px;cursor:pointer}.campaign-filter select:hover,.account-picker summary:hover,.campaign-search-input:hover{border-color:#a9bea6;background:#fff}.campaign-filter select:focus-visible,.account-picker summary:focus-visible,.campaign-search-input:focus-within{outline:0;border-color:#8baf8a;box-shadow:0 0 0 3px #8baf8a24}
.campaign-search-input{display:flex;align-items:center;gap:9px;padding:0 12px}.campaign-search-input>.icon{width:17px;height:17px;color:#8ca087}.campaign-search-input input{height:100%;width:100%;border:0;outline:0;background:transparent;font:inherit;color:var(--ink);min-width:0}.campaign-search-input input::placeholder{color:#9aa797}
.campaign-filter-refresh{height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 16px;border:1px solid #ceddca;border-radius:9px;background:#edf4e9;color:#496b43;font-size:12px;font-weight:650;white-space:nowrap}.campaign-filter-refresh:hover{background:#e1eddb;border-color:#a9bea6}.campaign-filter-refresh:focus-visible{outline:2px solid #8baf8a;outline-offset:3px}.campaign-filter-refresh .icon{width:17px;height:17px}.campaign-filter-refresh[aria-busy=true] .icon{animation:campaign-filter-spin 1s linear infinite}@keyframes campaign-filter-spin{to{transform:rotate(360deg)}}
.account-picker{position:relative;min-width:0}.account-picker summary{display:flex;align-items:center;gap:8px;padding:0 12px;list-style:none;cursor:pointer;user-select:none}.account-picker summary::-webkit-details-marker{display:none}.account-picker-value{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:550}.account-picker-count{background:#e9f0e5;color:#708668;padding:3px 6px;border-radius:5px;font-size:10px}.account-picker summary>.icon{width:14px;height:14px;color:#82967a;transform:rotate(90deg)}.account-picker[open] summary{border-color:#8baf8a;background:#fff;box-shadow:0 0 0 3px #8baf8a1a}.account-picker[open] summary>.icon{transform:rotate(-90deg)}
.account-picker-popover{position:absolute;top:calc(100% + 8px);left:0;width:360px;max-width:calc(100vw - 70px);background:#fff;border:1px solid #dce5d8;border-radius:12px;box-shadow:0 12px 35px #172b2421;overflow:hidden;z-index:30}.account-picker-search{display:flex;gap:9px;align-items:center;padding:13px 14px;border-bottom:1px solid var(--line)}.account-picker-search>.icon{width:16px;height:16px;color:#8b9e81}.account-picker-search input{width:100%;min-width:0;border:0;background:#fff;outline:0;color:var(--ink);font-size:12px;padding:4px 0}.account-picker-search:focus-within{box-shadow:inset 0 -2px 0 #8baf8a}.account-picker-options{max-height:320px;overflow-y:auto;padding:6px;overscroll-behavior:contain}.account-picker-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:0;border-radius:7px;background:#fff;text-align:left;padding:10px 11px;color:#40553d}.account-picker-option:hover,.account-picker-option:focus-visible{background:#f0f5ec;outline:0}.account-picker-option.selected{background:#e9f2e3}.account-picker-option>span:first-child{min-width:0}.account-picker-option strong{display:block;font-size:12px;font-weight:550;overflow-wrap:anywhere}.account-picker-option small{display:block;margin-top:4px;color:#8a9881;font-size:10px}.account-picker-check{color:#628559;font-weight:700;flex-shrink:0}.account-picker-footer{padding:9px 15px;background:#fafcf8;border-top:1px solid var(--line);font-size:10px;color:#8b9b82}.account-picker-empty{padding:18px 10px;text-align:center;color:var(--muted);font-size:12px}
.campaign-custom-dates{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.campaign-custom-dates>span:first-child{font-size:11px;color:var(--muted);margin-right:4px}.campaign-custom-dates label{display:flex;align-items:center;gap:8px;font-size:11px;color:#7d8e75}.campaign-custom-dates input{height:38px;padding:0 10px;border:1px solid #dce5dc;border-radius:8px;background:#fafcf9;color:var(--ink);font-size:12px;min-width:0}.campaign-custom-dates .btn{height:38px;padding:0 14px}.date-range-dash{color:#b0bcaa}
@media(max-width:1180px){.campaign-filter-grid{grid-template-columns:minmax(170px,1fr) minmax(140px,.8fr) minmax(190px,1.2fr)}.campaign-filter-refresh{justify-self:start;min-width:115px}}
@media(max-width:680px){.campaign-filters{padding:14px}.campaign-filter-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.campaign-filter-search{grid-column:1/-1;grid-row:2}.campaign-filter-refresh{justify-self:stretch}.campaign-custom-dates{gap:10px}.campaign-custom-dates>span:first-child{width:100%}.campaign-custom-dates label{flex:1;flex-direction:column;align-items:stretch}.campaign-custom-dates input{width:100%}.date-range-dash{display:none}.account-picker-popover{max-width:calc(100vw - 55px)}}
@media(prefers-reduced-motion:reduce){.campaign-filter-refresh[aria-busy=true] .icon{animation:none}}
/* Custom date-range calendar and sort menus */
.report-menu{position:relative;min-width:0}.report-menu summary{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border:1px solid #dce5dc;border-radius:9px;background:#fafcf9;color:var(--ink);font-size:12px;list-style:none;cursor:pointer;user-select:none}.report-menu summary::-webkit-details-marker{display:none}.report-menu summary>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-menu summary>.icon{width:16px;height:16px;color:#82967a}.report-menu summary>.icon:last-child{width:14px;height:14px;transform:rotate(90deg)}.report-menu[open] summary{border-color:#8baf8a;background:#fff;box-shadow:0 0 0 3px #8baf8a1a}.report-menu[open] summary>.icon:last-child{transform:rotate(-90deg)}.report-menu summary:hover{background:#fff;border-color:#a9bea6}.report-menu summary:focus-visible{outline:2px solid #8baf8a;outline-offset:3px}
.report-menu-popover{position:absolute;top:calc(100% + 8px);background:#fff;border:1px solid #dce5d8;border-radius:12px;box-shadow:0 12px 35px #172b2421;z-index:40}.sort-menu-popover{right:0;min-width:235px;padding:6px}.sort-menu-popover button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;border:0;border-radius:8px;background:white;padding:12px;text-align:left;color:#40553d}.sort-menu-popover button:hover,.sort-menu-popover button:focus-visible{background:#f0f5ec;outline:0}.sort-menu-popover button.selected{background:#e9f2e3}.sort-menu-popover strong{display:block;font-size:12px;font-weight:600}.sort-menu-popover small{display:block;color:#8a9881;font-size:10px;margin-top:4px}.sort-menu-popover button>span:last-child{color:#628559;font-weight:700}
.date-menu-popover{left:-70px;width:680px;display:grid;grid-template-columns:145px minmax(0,1fr);overflow:hidden}.date-menu-presets{padding:12px 8px;background:#fafcf8;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:4px}.date-menu-presets button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 11px;border:0;border-radius:7px;background:transparent;color:#718368;font-size:11px;text-align:left}.date-menu-presets button:hover,.date-menu-presets button:focus-visible{background:#eef4e8;color:#405f38;outline:0}.date-menu-presets button.selected{background:#e4efdc;color:#496e3d;font-weight:650}.date-menu-calendar{padding:18px;min-width:0}.date-menu-calendar>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px;gap:12px}.date-menu-calendar>header strong{display:block;font-size:13px;font-weight:600;color:#40553d}.date-menu-calendar>header small{display:block;font-size:10px;color:#91a088;margin-top:5px}.calendar-navigation{display:flex;gap:5px}.calendar-navigation button{width:29px;height:29px;padding:0;border:1px solid #e1e9dc;border-radius:7px;color:#708566;background:#fff;font-size:21px;line-height:1}.calendar-navigation button:hover{background:#eef4e8;border-color:#b5c9aa}.calendar-months{display:grid;grid-template-columns:1fr 1fr;gap:18px}.calendar-month h4{font-size:11px;font-weight:600;text-align:center;margin:3px 0 12px;color:#546e49}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));row-gap:3px;align-items:center}.calendar-weekday{text-align:center;color:#9ca993;font-size:9px;padding-bottom:8px}.calendar-grid button{height:29px;border:0;border-radius:5px;padding:0;background:#fff;color:#64775b;font-size:10px}.calendar-grid button:hover{background:#e9f2e1;color:#3f6333}.calendar-grid button:focus-visible{outline:2px solid #8baf8a;outline-offset:-2px}.calendar-grid button.in-range{background:#edf4e6;border-radius:0;color:#547446}.calendar-grid button.range-edge{background:#8baf8a;color:#142b1b;font-weight:750}.calendar-grid button.is-today{box-shadow:inset 0 0 0 1px #bfd0b5;font-weight:700}.calendar-grid button.range-edge.is-today{box-shadow:none}.calendar-date-fields{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.calendar-date-fields label{display:flex;flex:1;flex-direction:column;gap:6px;min-width:0;font-size:9px;font-weight:600;color:#8a9b7f;text-transform:uppercase;letter-spacing:.5px}.calendar-date-fields input{height:35px;padding:0 10px;border:1px solid #dce5d8;border-radius:7px;background:#fafcf8;color:#536d47;font-size:11px;width:100%;min-width:0;letter-spacing:0}.calendar-date-fields>span{color:#a0af94;align-self:flex-end;padding-bottom:9px}.calendar-error{color:var(--red);font-size:10px;line-height:1.5;margin-top:8px;min-height:0}.calendar-error:empty{display:none}.date-menu-calendar>footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px}.date-menu-calendar>footer .plain{font-size:11px;color:#8a9b7f}.date-menu-calendar>footer .btn{height:34px;font-size:11px;padding:0 13px}
@media(max-width:1180px){.date-menu-popover{left:auto;right:-210px}}
@media(max-width:760px){.date-menu-popover{position:fixed;top:100px;left:16px;right:16px;width:auto;max-height:calc(100dvh - 130px);overflow:auto;grid-template-columns:120px minmax(0,1fr)}.date-menu-calendar{padding:14px}.calendar-months{grid-template-columns:1fr}.calendar-month:nth-child(2){display:none}.calendar-grid button{height:33px;font-size:11px}.date-menu-presets{padding:10px 6px}.date-menu-presets button{padding:10px 8px;font-size:10px}.calendar-date-fields{gap:6px}.calendar-date-fields input{padding:0 6px;font-size:10px}.date-menu-calendar>header small{max-width:145px;line-height:1.5}.sort-menu-popover{min-width:220px}}
.copy-account-search{margin-top:18px}.copy-account-list{border:1px solid var(--line);border-radius:10px;padding:5px;max-height:270px;overflow:auto;margin-top:10px}.copy-account-choice{width:100%;display:flex;justify-content:space-between;align-items:center;padding:11px 12px;background:#fff;border:0;border-radius:7px;text-align:left;color:#496341;gap:10px}.copy-account-choice:hover:not(:disabled){background:#f0f5ec}.copy-account-choice.selected{background:#e9f2e3}.copy-account-choice strong{display:block;font-size:12px}.copy-account-choice small{display:block;font-size:10px;color:#90a085;margin-top:5px}.copy-account-choice:disabled{cursor:not-allowed;opacity:.55}.copy-account-choice:focus-visible{outline:2px solid #8baf8a;outline-offset:-2px}.copy-visits-choice{margin-top:18px}.copy-review-note{display:flex;flex-direction:column;gap:6px;background:#edf4e9;border:1px solid #dce9d5;border-radius:10px;padding:14px 16px;margin-bottom:16px;color:#5b7750;font-size:11px;line-height:1.6}.copy-review-note strong{font-size:12px}

/* Readable campaign reporting table, scoped away from other pages. */
.ads-campaign-table table{font-variant-numeric:tabular-nums lining-nums}
.ads-campaign-table thead th{padding:17px 18px;background:#edf3e8;color:#52674a;font-size:10.5px;font-weight:700;letter-spacing:.45px;border-bottom:1px solid var(--line);line-height:1.5}
.ads-campaign-table tbody td{padding:18px;color:#354d30;font-size:13px;line-height:1.5;vertical-align:middle;border-bottom:1px solid var(--line);background:#fff}
.ads-campaign-table tbody tr:nth-child(even) td{background:#f8faf6}
.ads-campaign-table tbody tr:hover td,.ads-campaign-table tbody tr:focus-within td{background:#eff5e9}
.ads-campaign-table thead th:nth-child(2){background:#edf3e8;min-width:225px;max-width:285px}
.ads-campaign-table tbody td:nth-child(2){min-width:225px;max-width:285px;background:#fff}
.ads-campaign-table tbody tr:nth-child(even) td:nth-child(2){background:#f8faf6}
.ads-campaign-table tbody tr:hover td:nth-child(2),.ads-campaign-table tbody tr:focus-within td:nth-child(2){background:#eff5e9}
.ads-campaign-table tbody td:nth-child(2)>strong{display:block;color:#203a29;font-size:14px;font-weight:650;line-height:1.5}
.ads-campaign-table .table-sub{font-size:11px;line-height:1.5;color:#7b8d73;margin-top:5px}
.ads-campaign-table .account-name-status>strong{font-size:12px;font-weight:600;color:#40583b}.ads-campaign-table .account-name-status{gap:6px}
.ads-campaign-table th:nth-child(5),.ads-campaign-table td:nth-child(5),.ads-campaign-table th:nth-child(n+6):nth-child(-n+12),.ads-campaign-table td:nth-child(n+6):nth-child(-n+12){text-align:right;min-width:94px}
.ads-campaign-table td:nth-child(5),.ads-campaign-table td:nth-child(n+6):nth-child(-n+12){font-size:14px;font-weight:550;letter-spacing:.1px;color:#30482c}
.ads-campaign-table td:nth-child(6),.ads-campaign-table td:nth-child(9){font-size:15px;font-weight:700;color:#214f36}
.ads-campaign-table td:last-child{min-width:235px;max-width:265px}
.ads-campaign-table .actions{flex-wrap:wrap;gap:6px;max-width:235px}
.ads-campaign-table .actions button{border:1px solid #dce6d6;border-radius:7px;background:#fff;color:#536f48;font-size:11px;font-weight:600;padding:7px 9px;line-height:1.3;min-height:30px}
.ads-campaign-table .actions button:hover:not(:disabled){background:#e4efdd;border-color:#a7be9c;color:#315b2b;filter:none}
.ads-campaign-table .actions button:focus-visible{outline:2px solid #8baf8a;outline-offset:2px}
.ads-campaign-table .actions button:disabled{opacity:.45;cursor:not-allowed}
.ads-campaign-table .actions [data-ads-status]{color:#2e6541;background:#eef5e8;border-color:#c9ddbd}
@media(max-width:680px){.ads-campaign-table thead th,.ads-campaign-table tbody td{padding:15px 14px}.ads-campaign-table thead th:nth-child(2),.ads-campaign-table tbody td:nth-child(2){min-width:175px;max-width:210px}.ads-campaign-table tbody td:nth-child(2)>strong{font-size:13px}}

/* Distinct, high-contrast state colors; the sage brand palette stays intact. */
.badge{border:1px solid transparent;font-weight:650;line-height:1.35;gap:6px}
.badge::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.badge.green{background:#dcf5e5;border-color:#8fd3a9;color:#126337}
.badge.amber{background:#fff0cc;border-color:#e9bd5d;color:#8a4b08}
.badge.red{background:#ffe3e3;border-color:#eea0a0;color:#ad202d}
.badge.gray{background:#edf0f3;border-color:#c8d0d8;color:#526071}
.badge.blue{background:#e3efff;border-color:#a5c4f0;color:#2459a0}
.badge.purple{background:#efe6ff;border-color:#c9b0ee;color:#7046a0}
.account-google-status .badge{font-size:10px;padding:4px 7px;font-weight:700;border-radius:6px}
.ads-campaign-table .actions [data-ads-status][data-current-status=ENABLED]{background:#fff3d6;border-color:#e4bf72;color:#89500e}
.ads-campaign-table .actions [data-ads-status][data-current-status=ENABLED]:hover:not(:disabled){background:#ffe9af;border-color:#cf9b36;color:#71400a}
.ads-campaign-table .actions [data-ads-status][data-current-status=PAUSED]{background:#dcf5e5;border-color:#8fd3a9;color:#126337}
.ads-campaign-table .actions [data-ads-status][data-current-status=PAUSED]:hover:not(:disabled){background:#c4edd3;border-color:#59b880;color:#0e502b}
.toggle.on{background:#25844c}.toggle:not(.on){background:#a6b0bb}
.top-actions #global-pause.primary{background:#fff0cc;border-color:#e9bd5d;color:#8a4b08}
/* Shared table system across Accounts, Visits, Activity, Proxies and publishing. */
.table-scroll table{font-variant-numeric:tabular-nums lining-nums}
.table-scroll thead th{padding:17px 18px;background:#edf3e8;color:#52674a;font-size:10.5px;font-weight:700;letter-spacing:.45px;border-bottom:1px solid var(--line);line-height:1.5}
.table-scroll tbody td{padding:18px;color:#354d30;font-size:13px;line-height:1.5;vertical-align:middle;border-bottom:1px solid var(--line);background:#fff}
.table-scroll tbody tr:nth-child(even) td{background:#f8faf6}
.table-scroll tbody tr:hover td,.table-scroll tbody tr:focus-within td{background:#eff5e9}
.table-scroll tbody tr:last-child td{border-bottom:0}
.table-scroll tbody td:first-child>strong,.table-scroll .campaign-cell strong{color:#203a29;font-size:14px;font-weight:650;line-height:1.5}
.table-scroll .table-sub,.table-scroll .campaign-cell small{font-size:11px;line-height:1.5;color:#7b8d73;margin-top:5px}
.table-scroll .table-numeric{text-align:right;min-width:94px}
.table-scroll tbody td.table-numeric{font-size:14px;font-weight:550;letter-spacing:.1px;color:#30482c}
.table-scroll:not(.ads-campaign-table) th:not(:last-child),.table-scroll:not(.ads-campaign-table) td:not(:last-child){position:relative}
.table-scroll:not(.ads-campaign-table) th:not(:last-child)::after,.table-scroll:not(.ads-campaign-table) td:not(:last-child)::after{content:"";position:absolute;top:0;bottom:0;right:0;width:1px;background:var(--line);pointer-events:none}
.table-scroll .actions{flex-wrap:wrap;gap:6px}
.table-scroll .actions button{border:1px solid #dce6d6;border-radius:7px;background:#fff;color:#536f48;font-size:11px;font-weight:600;padding:7px 9px;line-height:1.3;min-height:30px}
.table-scroll .actions button:hover:not(:disabled){background:#e4efdd;border-color:#a7be9c;color:#315b2b;filter:none}
.table-scroll .actions button:focus-visible{outline:2px solid #8baf8a;outline-offset:2px}
.table-scroll .actions button:disabled{opacity:.45;cursor:not-allowed}
.table-scroll .btn:not(.primary):not(.lime):not(.toggle){font-size:11px;font-weight:600;border-radius:7px;min-height:30px}
.table-scroll .toggle:focus-visible{outline:2px solid #8baf8a;outline-offset:3px}
.table-scroll .badge{font-size:10px;font-weight:650}
.table-scroll .account-google-status .badge{font-size:10px}
/* Preserve the campaign-specific identity and metric hierarchy. */
.ads-campaign-table tbody td:nth-child(6),.ads-campaign-table tbody td:nth-child(9){font-size:15px;font-weight:700;color:#214f36}
.ads-campaign-table thead th:nth-child(2){background:#edf3e8}
.ads-campaign-table tbody td:nth-child(2){background:#fff}
.ads-campaign-table tbody tr:nth-child(even) td:nth-child(2){background:#f8faf6}
.ads-campaign-table tbody tr:hover td:nth-child(2),.ads-campaign-table tbody tr:focus-within td:nth-child(2){background:#eff5e9}
@media(max-width:680px){.table-scroll thead th,.table-scroll tbody td{padding:15px 14px}.table-scroll tbody td:first-child>strong,.table-scroll .campaign-cell strong{font-size:13px}}
/* Campaign editor dropdowns keep native form values, with consistent controls. */
:is(.campaign-editor,.visit-settings-editor) .editor-select{position:relative;min-width:0;width:100%}
:is(.campaign-editor,.visit-settings-editor) .editor-select-native{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;pointer-events:none;clip-path:inset(50%)}
:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0;min-height:43px;padding:10px 12px;border:1px solid #d9e4d4;border-radius:9px;background:#fafcf8;color:#354e2e;text-align:left;font-size:12px;font-weight:500;line-height:1.5;transition:background .15s,border-color .15s,box-shadow .15s}
:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger:hover:not(:disabled){background:#fff;border-color:#a7be9d}
:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger:focus-visible,:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger[aria-expanded=true]{outline:0;background:#fff;border-color:#8baf8a;box-shadow:0 0 0 3px #8baf8a24}
:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger:disabled{background:#eef1eb;border-color:#e1e7dc;color:#87977c;opacity:1;cursor:not-allowed}
.editor-select-value{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.editor-select-arrow{font-size:18px;font-weight:600;line-height:1;color:#879d7c;flex-shrink:0;transition:transform .15s}
.editor-select-trigger[aria-expanded=true] .editor-select-arrow{transform:rotate(180deg)}
.editor-select-menu{position:fixed;inset:auto;margin:0;padding:5px;border:1px solid #d6e3d0;border-radius:11px;background:#fff;box-shadow:0 12px 32px #172b2424;z-index:1000;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box;color:#354e2e}
.editor-select-search{flex-shrink:0;width:calc(100% - 8px);min-width:0;height:38px;margin:4px;padding:0 11px;border:1px solid #dce6d6;border-radius:7px;background:#fafcf8;color:#354e2e;font:12px/1.5 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;outline-offset:1px}
.editor-select-search:focus{outline:2px solid #8baf8a;outline-offset:-1px;background:#fff}
.editor-select-search::placeholder{color:#94a38b}
.editor-select-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c9d9c0 transparent}
.editor-select-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 11px;border:0;border-radius:7px;background:#fff;text-align:left;color:#506a45;width:100%;font-size:12px;line-height:1.55;min-height:37px}
.editor-select-option>span:first-child{min-width:0}.editor-select-option strong{display:block;font:inherit;font-weight:500;overflow-wrap:anywhere;white-space:normal}.editor-select-option small{display:block;font-size:10px;color:#8b9d7f;margin-top:3px}
.editor-select-option:hover:not(:disabled),.editor-select-option:focus-visible{background:#f0f5eb;outline:0}.editor-select-option[aria-selected=true]{background:#e7f1df;color:#3b6330}.editor-select-option[aria-selected=true] strong{font-weight:650}.editor-select-option:disabled{opacity:.45;cursor:not-allowed}.editor-select-check{color:#61854e;font-weight:750;flex-shrink:0}.editor-select-empty{font-size:12px;text-align:center;color:#8b9d7f;padding:16px 10px;margin:0}
.campaign-editor .keyword-editor>.editor-select{width:120px;flex-shrink:0}.campaign-editor .keyword-editor>.editor-select .editor-select-trigger{min-height:39px;padding:8px 10px;font-size:11px}
.campaign-editor .geo-search-grid .editor-select-trigger{min-height:41px;font-size:11px}.campaign-editor .geo-bulk-match .editor-select-trigger{font-size:11px}
@media(max-width:680px){.campaign-editor .keyword-editor>.editor-select{width:105px}.editor-select-option{min-height:42px}:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger{min-height:44px}}
@media(prefers-reduced-motion:reduce){.editor-select-trigger,.editor-select-arrow{transition:none}}

/* Clear, balanced campaign summary cards. */
.ads-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0;margin-bottom:20px;background:transparent;border:0;border-radius:0;align-items:stretch}
.ads-report-summary>.ads-summary-card{display:flex;flex-direction:column;justify-content:space-between;min-width:0;gap:18px;padding:22px 24px;background:#fff;border:1px solid #dfe7db;border-radius:14px;box-shadow:0 2px 5px #172b2404}
.ads-report-summary>.summary-spend{background:#edf5e8;border-color:#cbdcc2}
.ads-summary-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%}
.ads-summary-heading>span{font-size:12px;font-weight:600;letter-spacing:.1px;color:#6b8060}
.ads-summary-icon{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border:1px solid #e1e9db;background:#f5f8f1;border-radius:10px;color:#729164}
.summary-spend .ads-summary-icon{background:#deecd4;border-color:#cbdcbe;color:#567b44}
.ads-summary-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.ads-report-summary>.ads-summary-card>strong{font-size:30px;font-weight:650;letter-spacing:-.8px;line-height:1.3;color:#243f2c;font-variant-numeric:tabular-nums lining-nums;white-space:normal;overflow-wrap:anywhere}
@media(max-width:1000px){.ads-report-summary>.ads-summary-card{padding:18px;gap:15px}.ads-report-summary>.ads-summary-card>strong{font-size:26px}}
@media(max-width:600px){.ads-report-summary{grid-template-columns:1fr;gap:10px}.ads-report-summary>.ads-summary-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:16px 18px}.ads-summary-heading{flex-direction:row-reverse;justify-content:flex-end;gap:10px}.ads-summary-heading>span{font-size:12px}.ads-summary-icon{width:30px;height:30px;border-radius:8px}.ads-report-summary>.ads-summary-card>strong{font-size:25px;text-align:right;max-width:50vw}}
/* Persistent totals and an independently scrolling campaign report. */
.ads-report-summary{position:sticky;top:12px;z-index:20;background:var(--bg);padding-bottom:10px;margin-bottom:10px}
.campaign-filters:has(details[open]){z-index:30}
.ads-campaign-table{max-height:max(220px,calc(100dvh - var(--ads-summary-height,150px) - 190px));overflow:auto;overscroll-behavior:auto;scrollbar-gutter:stable;scroll-padding-top:52px}
.ads-campaign-table thead th{position:sticky;top:0;z-index:3;background:#edf3e8;box-shadow:inset 0 -1px 0 var(--line)}
.ads-campaign-table thead th:nth-child(2){left:0;z-index:4;background:#edf3e8;box-shadow:inset 0 -1px 0 var(--line)}
@media(max-width:680px){.ads-report-summary{top:8px;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ads-report-summary>.ads-summary-card{display:flex;flex-direction:column;align-items:stretch;padding:12px 10px;gap:10px}.ads-summary-heading{flex-direction:row;justify-content:space-between}.ads-summary-heading>span{font-size:10px}.ads-summary-icon{display:none}.ads-report-summary>.ads-summary-card>strong{text-align:left;font-size:21px;max-width:none}.ads-campaign-table{max-height:max(200px,calc(100dvh - var(--ads-summary-height,100px) - 170px))}}

/* Keep every campaign filter available beneath the summary while rows scroll. */
.campaign-filters{position:sticky;top:calc(var(--ads-summary-height,150px) + 12px);z-index:19;box-shadow:0 4px 10px #172b2408}
.campaign-filters:has(details[open]){z-index:30}
.ads-campaign-table{max-height:max(180px,calc(100dvh - var(--ads-summary-height,150px) - var(--ads-filters-height,110px) - 190px))}
@media(max-width:680px){.campaign-filters{top:calc(var(--ads-summary-height,100px) + 8px)}.ads-campaign-table{max-height:max(120px,calc(100dvh - var(--ads-summary-height,100px) - var(--ads-filters-height,245px) - 120px))}}

.table-scroll.ads-campaign-table thead>tr>th{position:sticky;top:0;z-index:3;background:#edf3e8}.table-scroll.ads-campaign-table thead>tr>th:nth-child(2){left:0;z-index:4}

/* Compact campaign rows while retaining readable reporting figures. */
.table-scroll.ads-campaign-table thead th{padding:11px 14px;line-height:1.35}
.table-scroll.ads-campaign-table tbody td{padding:10px 14px;line-height:1.35}
.table-scroll.ads-campaign-table tbody td:nth-child(2)>strong{font-size:13px;line-height:1.35}
.table-scroll.ads-campaign-table .table-sub{font-size:10px;line-height:1.3;margin-top:3px}
.table-scroll.ads-campaign-table .actions{gap:4px;max-width:none;flex-wrap:nowrap}
.table-scroll.ads-campaign-table .actions button{min-height:27px;padding:5px 7px;font-size:10px;line-height:1.25}
.table-scroll.ads-campaign-table td:last-child{max-width:none}
.table-scroll.ads-campaign-table .account-name-status{gap:5px}
.table-scroll.ads-campaign-table .account-google-status .badge{padding:3px 6px;font-size:9px}
/* Readable, sectioned campaign settings sheet. */
#ads-dialog.ads-settings-dialog{width:min(920px,calc(100vw - 32px));height:min(900px,calc(100dvh - 40px));max-height:calc(100dvh - 24px);overflow:hidden}
.ads-settings-dialog #ads-content{display:flex;flex-direction:column;height:100%;min-height:0}
.settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 28px 20px;background:#fff}.settings-head>div{min-width:0}.settings-head h2{font-size:23px;line-height:1.35;letter-spacing:-.6px;overflow-wrap:anywhere}.settings-head .eyebrow{margin-bottom:8px;font-size:9px}.settings-head>.plain{border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;width:32px;height:32px;flex-shrink:0}
.settings-identity{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:10px;color:#6f8564;font-size:12px}.settings-account-id{font-size:10px;color:#95a28e}.settings-identity .badge{font-size:9px}
.settings-nav{display:flex;gap:5px;flex-shrink:0;padding:10px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;overflow:auto}.settings-nav button{border:0;background:transparent;color:#839477;font-size:11px;font-weight:600;padding:9px 13px;border-radius:7px;white-space:nowrap}.settings-nav button:hover{background:#f2f6ee;color:#526e47}.settings-nav button.active{background:#e7f0df;color:#456a36}.settings-nav button:focus-visible{outline:2px solid #8baf8a;outline-offset:-1px}
.settings-scroll{flex:1;min-height:0;overflow-y:auto;padding:18px 24px 24px;background:#f5f7f3;overscroll-behavior:contain}.settings-sync{font-size:10px;color:#8c9d80;margin:0 0 14px}.settings-notice{padding:12px 14px;margin-bottom:15px;border:1px solid #eadbb6;border-radius:9px;background:#fff7e7;color:#8b744b;font-size:11px;line-height:1.7}
.settings-card{border:1px solid #e0e8da;border-radius:12px;background:#fff;padding:20px;margin-bottom:16px;scroll-margin-top:16px}.settings-card:last-child{margin-bottom:0}.settings-card-title{display:flex;align-items:center;gap:10px;margin-bottom:18px}.settings-card-title>span{font-size:9px;font-weight:700;background:#edf4e6;border-radius:6px;padding:5px 6px;color:#789666}.settings-card-title h3{font-size:14px;color:#425b38;font-weight:650}
.settings-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.settings-kpis>.settings-info{background:#f4f8ef;border:1px solid #e6eddf;border-radius:9px;padding:13px}.settings-info{min-width:0;display:flex;flex-direction:column;gap:6px}.settings-info>span{font-size:10px;color:#8c9d80}.settings-info>strong{font-size:12px;line-height:1.6;font-weight:550;color:#415b37;overflow-wrap:anywhere}.settings-kpis .settings-info>strong{font-size:18px;line-height:1.4;letter-spacing:-.3px;font-weight:650;font-variant-numeric:tabular-nums}.settings-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 24px;margin:16px 0}.settings-networks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border-top:1px solid var(--line);padding-top:16px}.settings-network{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.settings-network>span:first-child{font-size:10px;color:#829576}.settings-network .badge{font-size:9px}
.settings-geo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.settings-geo{border:1px solid #dfe8d7;border-radius:9px;overflow:hidden}.settings-geo>header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#eef5e9;border-bottom:1px solid #e1eadb}.settings-geo.exclude>header{background:#fff5e4;border-color:#f0e5d0}.settings-geo header h4{margin:0;font-size:11px;color:#5b7b4d}.settings-geo.exclude header h4{color:#96702b}.settings-geo header>span,.settings-subheading>span{padding:3px 6px;border-radius:5px;background:#e0ebd6;color:#789665;font-size:9px}.settings-geo.exclude header>span{background:#f6e7c8;color:#9c7f45}.settings-geo>div{max-height:220px;overflow:auto}.settings-geo p{padding:10px 12px;margin:0;border-bottom:1px solid #edf1e7}.settings-geo p:last-child{border:0}.settings-geo p strong{display:block;font-size:11px;line-height:1.6;font-weight:500;color:#647c56;overflow-wrap:anywhere}.settings-geo p small{display:block;font-size:9px;color:#9aab8d;margin-top:2px}
.settings-subheading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 11px}.settings-subheading h4{margin:0;font-size:11px;color:#738966;font-weight:600}.settings-keywords{border:1px solid #e1e9db;border-radius:9px;overflow:auto;max-height:245px}.settings-keyword{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;border-bottom:1px solid #edf1e7}.settings-keyword:last-child{border:0}.settings-keyword strong{font-size:12px;line-height:1.5;font-weight:500;color:#536d46;overflow-wrap:anywhere}.settings-match{font-size:9px;flex-shrink:0;padding:3px 6px;border-radius:5px;background:#edf3e7;color:#7b9669}.settings-match.negative{background:#fff0db;color:#a17c40}
.settings-details{border-top:1px solid var(--line);margin-top:16px;padding-top:13px}.settings-details>summary{font-size:11px;color:#7e946f;cursor:pointer;font-weight:600}.settings-details summary>span{font-size:9px;color:#a2ae9a;margin-left:6px}.settings-details>.settings-keywords{margin-top:12px}.settings-group{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1e7}.settings-group strong{font-size:12px;font-weight:500;color:#617a53}.settings-group .badge{font-size:9px}
.settings-ad{border:1px solid #e1e9db;border-radius:10px;padding:15px;margin-bottom:12px}.settings-ad:last-child{margin-bottom:0}.settings-ad>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.settings-ad header>strong{font-size:12px;color:#58754b}.settings-ad .badge{font-size:9px}.settings-ad h5{font-size:10px;color:#91a184;font-weight:600;margin:16px 0 8px}.settings-ad-path{font-size:10px;color:#8ea37d;margin-top:7px}.settings-headlines{display:flex;gap:7px;flex-wrap:wrap}.settings-headlines>span{padding:7px 10px;border-radius:7px;background:#f1f6eb;border:1px solid #e5eddd;font-size:11px;color:#5f7b50;line-height:1.5}.settings-headlines small,.settings-description small{display:block;font-size:9px;color:#9a86b6;margin-top:4px}.settings-description{font-size:12px;line-height:1.8;color:#6d825f;margin:7px 0;padding:9px 11px;border-left:2px solid #d5e4cb;background:#fafcf7}.settings-code{border:1px solid #e3eadc;background:#fafcf7;border-radius:8px;padding:11px 12px;color:#678456;font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:165px;overflow:auto;user-select:text}.settings-labels{display:flex;gap:6px;flex-wrap:wrap}.settings-labels>span{font-size:10px;color:#8a79a1;background:#f5f0fa;border:1px solid #e9e1f2;padding:5px 8px;border-radius:6px;overflow-wrap:anywhere}.settings-empty{font-size:11px!important;color:#9eac93!important;padding:12px!important;line-height:1.7!important;margin:0!important}
.settings-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 24px;background:#fff;border-top:1px solid var(--line);flex-shrink:0}.settings-foot>span{font-size:10px;color:#a0ad96}.settings-foot .btn{min-width:90px}
@media(max-width:680px){#ads-dialog.ads-settings-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px);border-radius:14px}.settings-head{padding:18px}.settings-head h2{font-size:20px}.settings-scroll{padding:14px}.settings-card{padding:16px}.settings-nav{padding:8px 12px;gap:2px}.settings-nav button{padding:8px 10px;font-size:10px}.settings-kpis{gap:7px}.settings-kpis>.settings-info{padding:10px}.settings-kpis .settings-info>strong{font-size:15px}.settings-geo-grid{grid-template-columns:1fr}.settings-info-grid{gap:14px}.settings-foot{padding:12px 18px}}
/* Visit detail sheet follows the campaign settings layout. */
#visit-dialog.visit-details-dialog{width:min(920px,calc(100vw - 32px));height:min(900px,calc(100dvh - 40px));max-height:calc(100dvh - 24px);overflow:hidden}.visit-details-dialog #visit-content{height:100%;display:flex;flex-direction:column;min-height:0}
.visit-detail-statuses{display:flex;gap:12px;margin-bottom:16px}.visit-detail-statuses>div{display:flex;align-items:center;gap:10px;padding:10px 13px;border:1px solid #e0e8da;border-radius:9px;background:#fff;min-width:0}.visit-detail-statuses>div>span:first-child{font-size:10px;color:#849978}.visit-detail-statuses .badge{font-size:10px}
.visit-details-dialog .settings-kpis .settings-info:last-child>strong{font-size:15px;letter-spacing:0}.visit-ip-note{margin:12px 0 0;padding:10px 12px;background:#f5f8f1;border-radius:7px;color:#91a184;font-size:10px;line-height:1.7}
.visit-detail-error{border:1px solid #edc4c4;background:#fff3f2;padding:12px 14px;border-radius:8px;margin-top:14px}.visit-detail-error strong{font-size:11px;color:#a84e4e}.visit-detail-error p{font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;color:#ae7770;margin:6px 0 0;overflow-wrap:anywhere;white-space:pre-wrap}
.visit-url-block{margin-bottom:18px}.visit-url-block:last-child{margin-bottom:0}.visit-url-block>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;gap:12px}.visit-url-block label{font-size:11px;font-weight:600;color:#7b926e}.visit-url-block button{padding:5px 9px;border:1px solid #dce7d5;border-radius:6px;background:#f3f7ee;color:#6d8e5b;font-size:10px;font-weight:600}.visit-url-block button:hover:not(:disabled){background:#e6efde;border-color:#b7cdab}.visit-url-block button:disabled{cursor:default;opacity:.4}.visit-url-block textarea{display:block;width:100%;padding:11px 12px;border:1px solid #dfe8d7;border-radius:8px;background:#fafcf7;color:#627c52;font:11px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;resize:vertical;min-height:75px;max-height:220px;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-all}.visit-url-block textarea:focus{outline:2px solid #8baf8a;outline-offset:1px}.visit-url-block>small{display:block;color:#a3af99;font-size:10px;margin-top:5px}
.visit-hop-count{margin-left:auto!important;background:#edf3e7!important;font-size:9px!important;color:#8b9e7d!important}.visit-redirect-list{list-style:none;padding:0;margin:0}.visit-redirect-list li{display:flex;align-items:flex-start;gap:12px;padding:0 0 18px;position:relative}.visit-redirect-list li:last-child{padding-bottom:0}.visit-redirect-list li:not(:last-child)::after{content:"";position:absolute;left:12px;top:27px;bottom:0;width:1px;background:#dfe8d7}.visit-redirect-list li>span{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border:1px solid #dce7d4;border-radius:8px;background:#f0f6e9;color:#829b71;font-size:10px;font-weight:650}.visit-redirect-list li>div{flex:1;min-width:0;max-height:120px;overflow:auto;border:1px solid #e4ebdd;border-radius:7px;padding:8px 10px;color:#6e885e;background:#fafcf8;font:10px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-all}
@media(max-width:680px){#visit-dialog.visit-details-dialog{width:calc(100vw - 20px);height:calc(100dvh - 24px);border-radius:14px}.visit-detail-statuses{flex-wrap:wrap;gap:8px}.visit-detail-statuses>div{flex:1;padding:9px 11px;justify-content:space-between}.visit-details-dialog .settings-kpis{grid-template-columns:1fr 1fr}.visit-details-dialog .settings-kpis .settings-info:last-child{grid-column:1/-1}.visit-detail-statuses>div>span:first-child{font-size:9px}}
/* At-a-glance Activity counts with matching status filters. */
.activity-summary{margin:0 0 20px}.activity-summary-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.activity-summary-head h2{font-size:14px;color:#536e48}.activity-summary-head>span{font-size:10px;color:#8d9e80}.activity-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.activity-summary-card{display:flex;flex-direction:column;gap:15px;padding:17px 16px;border:1px solid #dfe7da;border-radius:12px;background:#fff;text-align:left;color:#566e4b;transition:border-color .15s,box-shadow .15s}.activity-summary-card>span{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;white-space:nowrap}.activity-summary-card i{width:6px;height:6px;border-radius:50%;background:#526071;flex-shrink:0}.activity-summary-card>strong{font-size:27px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#2e492e}.activity-summary-card.green i{background:#23874a}.activity-summary-card.green>strong{color:#16633b}.activity-summary-card.red i{background:#c43641}.activity-summary-card.red>strong{color:#ad202d}.activity-summary-card.amber i{background:#ca8a23}.activity-summary-card.amber>strong{color:#976012}.activity-summary-card.gray>strong{color:#64717d}.activity-summary-card:hover{border-color:#a9c09d;box-shadow:0 3px 10px #172b240a}.activity-summary-card.selected{border-color:#8baf8a;background:#f1f7ec;box-shadow:0 0 0 2px #8baf8a21}.activity-summary-card:focus-visible{outline:2px solid #8baf8a;outline-offset:3px}
@media(max-width:1100px){.activity-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:580px){.activity-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.activity-summary-card{padding:14px}.activity-summary-head{align-items:flex-start;flex-direction:column;gap:5px}}

.activity-pagination{flex-wrap:wrap;gap:12px}.activity-pagination>div{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.activity-pagination label{display:flex;align-items:center;gap:8px;color:#778b6b;font-size:11px}.activity-pagination select{min-width:70px;background:#fafcf7;color:#536e48;padding:7px 10px;border-radius:7px;border-color:#dce6d5}.activity-pagination>div>span{font-size:11px;color:#879b79}.activity-pagination .btn{font-size:11px;padding:8px 11px}@media(max-width:580px){.activity-pagination{align-items:flex-start;flex-direction:column}.activity-pagination>div{justify-content:flex-start;gap:8px}}

.account-status-summary .activity-summary-card.blue i{background:#3673bc}.account-status-summary .activity-summary-card.blue>strong{color:#2459a0}

.proxy-health-error{color:#ad5158!important;white-space:normal;max-width:250px;font-size:10px!important}.table-scroll [data-proxy-test]{white-space:nowrap}

.manager-connections .panel-head{padding:19px 22px;border-bottom:1px solid var(--line)}.manager-total{font-size:10px;font-weight:600;padding:5px 8px;border-radius:6px;color:#7b936b;background:#edf4e7}.manager-connection-list{padding:14px;display:flex;flex-direction:column;gap:10px}.manager-connection-card{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(95px,.45fr) minmax(160px,.8fr) auto;gap:22px;align-items:center;border:1px solid #e0e8da;border-radius:11px;padding:18px 20px;background:#fafcf8}.manager-connection-identity{display:flex;align-items:center;gap:12px;min-width:0}.manager-connection-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border:1px solid #d6e5cc;border-radius:11px;background:#eaf2e1;color:#759365}.manager-connection-icon .icon{width:20px;height:20px}.manager-connection-identity>div{min-width:0}.manager-connection-identity strong{display:block;font-size:14px;font-weight:650;color:#3e5d35;line-height:1.5;overflow-wrap:anywhere}.manager-connection-identity>div>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#8ca07d;margin-top:5px}.manager-connection-identity i{font-style:normal;font-size:8px;letter-spacing:.5px;font-weight:700;padding:2px 5px;border:1px solid #dce8d3;border-radius:4px;color:#8fa37f;background:#f4f8ef}.manager-connection-metric{display:flex;flex-direction:column;gap:6px;min-width:0}.manager-connection-metric>span{font-size:10px;color:#8ea17f}.manager-connection-metric>strong{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;color:#3a5d32;letter-spacing:-.5px}.manager-discovery>strong{font-size:12px;font-weight:550;letter-spacing:0;line-height:1.6}.manager-connection-state .badge{font-size:10px}.manager-connection-error{grid-column:1/-1;border-top:1px solid #ecd7d3;padding-top:11px;color:#b16765;font-size:11px;line-height:1.7;overflow-wrap:anywhere}@media(max-width:1050px){.manager-connection-card{grid-template-columns:minmax(180px,1fr) auto;gap:18px}.manager-connection-identity{grid-column:1;grid-row:1}.manager-connection-state{grid-column:2;grid-row:1;justify-self:end}.manager-connection-metric{grid-row:2}.manager-discovery{justify-self:end;text-align:right}}@media(max-width:580px){.manager-connection-list{padding:10px}.manager-connection-card{padding:15px;gap:15px;grid-template-columns:minmax(0,1fr) auto}.manager-connection-icon{width:34px;height:34px;border-radius:9px}.manager-connection-identity{gap:9px}.manager-connection-identity strong{font-size:12px}.manager-connection-identity>div>span{font-size:10px}.manager-connection-state .badge{font-size:9px}.manager-connections .panel-head{padding:16px}.manager-discovery>strong{font-size:11px}}

.manager-connections{margin-bottom:22px}
.profile-avatar-button{border:1px solid #d9d1ec;cursor:pointer}.profile-avatar-button:hover{box-shadow:0 0 0 3px #8baf8a26}.profile-identity{display:flex;align-items:center;gap:15px;padding:22px 24px;margin-bottom:20px}.profile-identity-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#e8f1df;border:1px solid #d5e5c9;color:#65834f;font-size:18px;font-weight:700;flex-shrink:0}.profile-identity h2{font-size:19px;color:#3f5e34;overflow-wrap:anywhere}.profile-identity p{font-size:12px;color:#8b9f7e;margin:7px 0 0;overflow-wrap:anywhere}.profile-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.profile-settings-card{padding:24px}.profile-settings-card>header{border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:20px}.profile-settings-card h2{font-size:15px;color:#4b6a3c}.profile-settings-card header p{font-size:11px;color:#91a282;margin:8px 0 0;line-height:1.7}.profile-settings-card form{display:flex;flex-direction:column;gap:18px}.profile-settings-card .field{gap:8px;font-size:11px;color:#7b946b}.profile-settings-card .field input{height:44px;padding:10px 12px;border:1px solid #dbe6d3;border-radius:8px;background:#fafcf8;color:#49663a;font-size:12px;min-width:0;width:100%}.profile-settings-card input:focus{outline:2px solid #8baf8a;outline-offset:1px}.profile-settings-card input[readonly]{background:#eff3ec;border-color:#e3e9de;color:#8b9d80;cursor:default}.profile-settings-card .field small,.profile-password-note{font-size:10px;line-height:1.7;color:#9bac90}.profile-password-note{margin:0}.profile-settings-card .btn{align-self:flex-start}.profile-settings-card .form-error:empty{display:none}.profile-password-input{position:relative;display:flex;align-items:center}.profile-settings-card .profile-password-input input{padding-right:44px}.profile-password-input>button{position:absolute;right:5px;display:grid;place-items:center;width:33px;height:33px;border:0;border-radius:6px;background:transparent;color:#8fa37f}.profile-password-input>button:hover{background:#eaf2e2}.profile-password-input .icon{width:17px;height:17px}@media(max-width:850px){.profile-settings-grid{grid-template-columns:1fr}}@media(max-width:580px){.profile-settings-card{padding:18px}.profile-identity{padding:18px}.profile-identity h2{font-size:17px}}

.table-scroll.ads-campaign-table thead th:nth-child(2),.table-scroll.ads-campaign-table tbody td:nth-child(2){text-align:left;padding-left:10px}.table-scroll.ads-campaign-table tbody td:nth-child(2)>strong{text-align:left}

@media(min-width:1181px){.campaign-filter-grid{grid-template-columns:minmax(210px,1.45fr) minmax(180px,1.15fr) minmax(140px,.8fr) minmax(170px,1fr) auto}}@media(max-width:680px){.campaign-filter-search{grid-row:1}}

.theme-toggle{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#fff;flex-shrink:0}.theme-choice{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:7px;padding:7px 9px;min-height:31px;background:transparent;color:#87967f;font-size:11px;font-weight:600}.theme-choice svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.theme-choice:hover{background:#f1f6ec;color:#5f7a4e}.theme-choice[aria-pressed=true]{background:#e6f0de;color:#456d37}.theme-choice:focus-visible{outline:2px solid #8baf8a;outline-offset:1px}@media(max-width:680px){.top-actions{gap:8px}.theme-choice-label{display:none}.theme-choice{padding:7px;min-width:29px}.theme-toggle{border-radius:9px;padding:2px}}

/* Long validation messages remain readable until dismissed. */
#toast{max-width:min(560px,calc(100vw - 32px));max-height:min(60vh,520px);overflow:auto;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
#toast.show{display:flex;align-items:flex-start;gap:14px}
.toast-message{flex:1;min-width:0;white-space:pre-wrap}
.toast-close{flex:none;border:0;background:transparent;color:inherit;font-size:22px;line-height:1;padding:4px;border-radius:5px}
.toast-close:focus-visible{outline:2px solid currentColor}
@media(max-width:600px){#toast{right:16px;bottom:16px}}

/* Table switches keep their own track and thumb contrast on striped rows. */
.table-scroll button.toggle{width:44px;min-width:44px;height:24px;padding:3px;border:1px solid #526575;border-radius:999px;display:inline-flex;align-items:center;flex-shrink:0;vertical-align:middle;background:#687888;box-shadow:0 1px 2px #172b2420;transition:background-color .15s,border-color .15s}
.table-scroll button.toggle:not(.on){background:#687888;border-color:#526575}
.table-scroll button.toggle.on{background:#217947;border-color:#176338}
.table-scroll button.toggle span{width:16px;height:16px;flex:none;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0003;transform:translateX(0)}
.table-scroll button.toggle.on span{transform:translateX(20px)}
.table-scroll button.toggle:focus-visible{outline:2px solid #568755;outline-offset:3px}
.table-scroll button.toggle:hover:not(:disabled){filter:brightness(1.08)}

@media(min-width:1400px){.account-status-summary .activity-summary-grid{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(min-width:901px) and (max-width:1399px){.account-status-summary .activity-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

.click-column-heading{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;white-space:nowrap}.click-column-heading .icon{width:14px;height:14px;flex:none;stroke-width:1.8}

/* Proxy bandwidth reports reuse the panel table and summary language. */
.proxy-stats-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px}
.proxy-stats-dialog .modal-body{display:grid;gap:20px}
.proxy-stats-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.proxy-stats-controls .field{min-width:145px;flex:1;margin:0}
.proxy-bandwidth-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.proxy-bandwidth-summary .stat{padding:20px;min-height:105px}
.proxy-bandwidth-summary .stat strong{font-size:25px;display:block;margin-top:12px;color:var(--ink)}
.bandwidth-chart-wrap{padding:10px 22px 18px}
.bandwidth-chart{display:block;width:100%;height:150px;fill:#568755}
.bandwidth-time-details{padding:0 20px 18px}
.bandwidth-time-details summary{cursor:pointer;color:var(--muted);font-size:12px;margin-bottom:12px}
.bandwidth-time-details .table-scroll{max-height:280px;overflow:auto}
.proxy-bandwidth-note{font-size:12px;color:var(--muted);line-height:1.6;margin:0}
.proxy-stats-dialog td:not(:first-child),.proxy-stats-dialog th:not(:first-child){text-align:right}
@media(max-width:650px){.proxy-bandwidth-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.proxy-bandwidth-summary .stat{padding:14px}.proxy-stats-controls .field{min-width:120px}.proxy-bandwidth-summary .stat strong{font-size:21px}}

/* Campaign delivery controls: fixed settings and a native accessible network switch. */
.editor-fixed-settings.delivery-settings{padding:0;border:0;background:transparent;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.delivery-settings .editor-delivery-card{padding:18px;border:1px solid #dce5da;border-radius:12px;background:#fbfcf9;min-width:0}
.delivery-settings .editor-delivery-card header{display:flex;align-items:center;gap:9px;margin-bottom:15px}
.delivery-settings .delivery-setting-icon{width:29px;height:29px;display:grid;place-items:center;border:1px solid #dae6d4;border-radius:8px;background:#edf4e7;color:#56784e;flex:none}
.delivery-settings .delivery-setting-icon .icon{width:16px;height:16px}
.delivery-settings .delivery-setting-label{font-size:12px;font-weight:650;color:#52634e;flex:1}
.delivery-settings .delivery-setting-tag{font-size:10px;font-weight:650;color:#64745f;background:#edf1e9;border:1px solid #dce5d6;border-radius:6px;padding:4px 7px}
.delivery-settings .editor-delivery-card .badge{font-size:10px;white-space:nowrap;padding:4px 7px}
.delivery-settings strong.delivery-setting-value{display:block;font-size:15px;font-weight:700;line-height:1.45;color:var(--ink);overflow-wrap:anywhere}
.delivery-settings .delivery-setting-note{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}
.delivery-settings .delivery-networks{grid-column:1/-1}
.delivery-network-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.delivery-settings .delivery-network-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e1e8dc;border-radius:9px;background:#fff;min-height:48px}
.delivery-settings .delivery-network-option>span:first-child{font-size:12px;font-weight:550;color:var(--ink)}
.delivery-settings .delivery-partner-option{cursor:pointer}
.delivery-partner-option input{appearance:none;-webkit-appearance:none;width:36px;height:22px;min-width:36px;border:1px solid #526575;border-radius:999px;background:#687888;padding:2px;margin:0;cursor:pointer;transition:background .15s,border-color .15s}
.delivery-partner-option input::before{content:'';display:block;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0003;transition:transform .15s}
.delivery-partner-option input:checked{background:#217947;border-color:#176338}
.delivery-partner-option input:checked::before{transform:translateX(14px)}
.delivery-partner-option input:focus-visible{outline:2px solid #568755;outline-offset:3px}
@media(max-width:700px){.delivery-settings .editor-delivery-card{padding:14px}.delivery-network-options{grid-template-columns:1fr}.delivery-settings .delivery-network-option{padding:10px 12px}}
@media(max-width:480px){.editor-fixed-settings.delivery-settings{grid-template-columns:1fr}.delivery-settings .delivery-networks{grid-column:auto}}

/* Form focus uses the same thin border as hover; no outer ring or glow. */
:root{--field-hover-border:#a7be9d}
:root input:not([type="checkbox"]):not([type="radio"]):hover,:root textarea:hover,:root select:hover{border-color:var(--field-hover-border)}
:root input:not([type="checkbox"]):not([type="radio"]):focus,:root textarea:focus,:root select:focus{outline:none;box-shadow:none;border-color:var(--field-hover-border)}
.campaign-filter select:focus-visible,.campaign-search-input:focus-within{outline:none;box-shadow:none;border-color:#a9bea6}
:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger:focus-visible,:is(.campaign-editor,.visit-settings-editor) .editor-select-trigger[aria-expanded=true]{outline:none;box-shadow:none;border-color:var(--field-hover-border);background:#fff}

.proxy-check-settings{border-top:1px solid var(--line);padding-top:22px;margin-top:24px;display:grid;gap:16px}
.proxy-check-settings h3{font-size:15px;margin:0;color:var(--ink)}
.proxy-check-settings .field{margin:0}
.proxy-interval-inputs{display:grid;grid-template-columns:minmax(90px,1fr) minmax(105px,1fr);gap:10px}
.proxy-check-settings>.btn{justify-self:start}

/* Visits settings shares the campaign editor's searchable selects. */
#ads-dialog.visit-settings-editor{width:min(900px,calc(100vw - 32px));max-width:900px;max-height:calc(100dvh - 40px);overflow:hidden}
.visit-settings-editor #ads-content{max-height:calc(100dvh - 42px)}
.visit-settings-form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px);min-height:0}
.visit-settings-editor .modal-head,.visit-settings-editor .modal-foot{flex:none}
.visit-settings-editor .modal-body{overflow-y:auto;overscroll-behavior:contain;min-height:0}
.visit-settings-editor .form-grid{gap:18px 20px}
.visit-settings-campaign-name{font-size:12px;color:var(--muted);margin:7px 0 0;line-height:1.5;overflow-wrap:anywhere}
.visit-settings-editor .field input{min-height:44px;border-radius:9px}
@media(max-width:600px){#ads-dialog.visit-settings-editor{width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}.visit-settings-editor .form-grid{grid-template-columns:1fr}.visit-settings-editor .modal-head{padding:18px}.visit-settings-editor .modal-body{padding:18px}}

/* Row hover is distinct from the sage header, including the pinned campaign cell. */
:root{--table-row-hover-bg:#e7f0fa}
:root table tbody tr:hover>td,:root table tbody tr:focus-within>td,
:root .table-scroll.ads-campaign-table tbody tr:hover>td,:root .table-scroll.ads-campaign-table tbody tr:focus-within>td{background:var(--table-row-hover-bg)}

/* Totals refer to the selected page, with weighted CPC/CTR and separate currencies. */
:root{--campaign-total-bg:#e5eddf;--campaign-total-line:#c6d5be}
.table-scroll.ads-campaign-table tfoot.campaign-page-totals tr>*{position:sticky;bottom:0;z-index:5;background:var(--campaign-total-bg);box-shadow:inset 0 1px 0 var(--campaign-total-line);border-right:1px solid var(--line);padding:12px 14px;font-size:12px;font-weight:650;line-height:1.5;color:var(--ink);white-space:nowrap;text-align:right}
.table-scroll.ads-campaign-table tfoot.campaign-page-totals tr>:nth-child(2){left:0;z-index:6;text-align:left;padding-left:10px;white-space:normal}
.table-scroll.ads-campaign-table tfoot.campaign-page-totals tr>:nth-child(3){text-align:left}
.table-scroll.ads-campaign-table tfoot.campaign-page-totals tr>:last-child{border-right:0}
.campaign-page-totals th strong{display:block;font-size:13px}
.campaign-page-totals th>small{display:block;font-size:10px;font-weight:500;color:var(--muted);margin-top:3px}
.campaign-total-currency,.campaign-total-status{display:block}
.campaign-total-currency>small{font-size:9px;font-weight:600;color:var(--muted);margin-right:5px}
.campaign-total-status{font-size:10px;font-weight:550}

.campaign-delivery-button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;border:0;background:transparent;padding:0;text-align:left;color:inherit}
.campaign-delivery-button>small{font-size:10px;color:var(--muted);line-height:1.4}
.campaign-delivery-button:focus-visible{outline:1px solid #8baf8a;outline-offset:4px;border-radius:5px}
.table-scroll.ads-campaign-table th:nth-child(4),.table-scroll.ads-campaign-table td:nth-child(4){min-width:145px;text-align:left}
.table-scroll.ads-campaign-table tfoot.campaign-page-totals tr>:nth-child(4){text-align:left}
.campaign-diagnostics-dialog{width:min(980px,calc(100vw - 32px));max-width:980px;max-height:calc(100dvh - 40px);padding:0;overflow:hidden}
.campaign-diagnostics-dialog .settings-scroll{max-height:calc(100dvh - 230px);overflow:auto}
.delivery-reason-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.delivery-reason-list>span{font-size:11px;border:1px solid var(--line);border-radius:7px;padding:6px 9px;color:var(--ink)}
.delivery-recommendations{margin:0;padding-left:20px;color:var(--ink);font-size:12px;line-height:1.8}

.campaign-delivery-button .delivery-visits-on{color:var(--green)}

/* URL tester shares the workspace table and editor controls. */
.tester-panel{padding:26px;margin-bottom:24px}.tester-panel .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.tester-panel .full{grid-column:1/-1}.tester-form-footer{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:20px}.tester-form-footer>span{font-size:13px;color:#65796d}.tester-result,.tester-empty{margin-bottom:24px}.tester-result-summary{display:grid;grid-template-columns:2fr 1fr;gap:22px;padding:22px;border-top:1px solid #dce4dd}.tester-result-summary>div{display:flex;flex-direction:column;gap:8px;min-width:0}.tester-result-summary span,.tester-result-summary small{font-size:12px;color:#65796d}.tester-url{overflow-wrap:anywhere;white-space:normal;line-height:1.55}.tester-next{display:flex;align-items:flex-start;gap:7px;overflow-wrap:anywhere;white-space:normal;margin-top:9px;color:#65796d;font-size:12px}.tester-next .icon{flex-shrink:0;width:15px;margin-top:2px}.tester-chain-table{table-layout:fixed;width:100%;min-width:760px}.tester-chain-table th:nth-child(1){width:65px}.tester-chain-table th:nth-child(3){width:90px}.tester-chain-table th:nth-child(4){width:180px}.tester-chain-table th:nth-child(5){width:100px}.tester-chain-table td{vertical-align:top}.tester-history-url{display:block;max-width:340px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tester-warning{padding:14px 22px;background:#fff4dc;color:#805312;border-bottom:1px solid #e9d5ac}.tester-history .panel-head{gap:16px}.tester-empty .icon-tile{margin:0 auto 16px}.tester-panel .form-error{white-space:normal}
@media(max-width:1000px){.tester-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tester-result-summary{grid-template-columns:1fr 1fr}.tester-result-summary>div:first-child{grid-column:1/-1}}
@media(max-width:600px){.tester-panel{padding:18px}.tester-panel .form-grid,.tester-result-summary{grid-template-columns:1fr}.tester-form-footer{align-items:stretch;flex-direction:column}.tester-chain-table{min-width:700px}}

/* Keep proxy report sections separated inside their results container. */
.proxy-stats-dialog .modal-body{padding:26px;gap:24px}
.proxy-stats-dialog #proxy-stats-results{display:grid;gap:24px;min-width:0}
.proxy-stats-dialog .proxy-bandwidth-summary{gap:16px}
.proxy-stats-dialog #proxy-stats-results>.panel{margin:0;min-width:0}
.proxy-stats-dialog .panel-head{padding:22px 24px;gap:16px}
.proxy-stats-dialog .bandwidth-chart-wrap{padding:16px 24px 24px}
.proxy-stats-dialog .bandwidth-time-details{padding:0 24px 24px}
.proxy-stats-dialog .proxy-bandwidth-note{padding:2px 4px 6px}
@media(max-width:650px){
 .proxy-stats-dialog .modal-body{padding:18px;gap:20px}
 .proxy-stats-dialog #proxy-stats-results{gap:20px}
 .proxy-stats-dialog .proxy-bandwidth-summary{gap:12px}
 .proxy-stats-dialog .panel-head{padding:18px}
 .proxy-stats-dialog .bandwidth-chart-wrap{padding:12px 18px 20px}
 .proxy-stats-dialog .bandwidth-time-details{padding:0 18px 20px}
}

/* High-contrast visit state, separate from neutral metadata chips. */
.campaign-hero .campaign-chips .campaign-visit-state{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:2px solid;border-radius:10px;font-size:14px;font-weight:800;line-height:1.2;white-space:nowrap;letter-spacing:.01em}
.campaign-hero .campaign-chips .campaign-visit-state .icon{width:17px;height:17px;stroke-width:2.6}
.campaign-hero .campaign-chips .campaign-visit-state.is-enabled{background:#176b43;border-color:#115334;color:#ffffff}
.campaign-hero .campaign-chips .campaign-visit-state.is-paused{background:#a65b13;border-color:#82440b;color:#ffffff}
html[data-theme="dark"] .campaign-hero .campaign-chips .campaign-visit-state.is-enabled{background:#205d3e;border-color:#69c68d;color:#eafff1}
html[data-theme="dark"] .campaign-hero .campaign-chips .campaign-visit-state.is-paused{background:#684318;border-color:#e2ab55;color:#fff1cf}

/* Connected account summary follows the same account-health rules as Accounts. */
.ads-report-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.ads-report-summary>.summary-connected{background:#edf5ff;border-color:#b9d4f3}
.ads-report-summary>.summary-connected>strong,.ads-report-summary>.summary-connected .ads-summary-heading>span{color:#185ba1}
.ads-report-summary>.summary-connected .ads-summary-icon{background:#dbeaff;border-color:#b9d4f3;color:#2164aa}
html[data-theme="dark"] .ads-report-summary>.summary-connected{background:#172e47;border-color:#395e86}
html[data-theme="dark"] .ads-report-summary>.summary-connected>strong,html[data-theme="dark"] .ads-report-summary>.summary-connected .ads-summary-heading>span{color:#a7d0ff}
html[data-theme="dark"] .ads-report-summary>.summary-connected .ads-summary-icon{background:#233f60;border-color:#436b97;color:#a7d0ff}
@media(max-width:1000px){.ads-report-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Daily visit ledger summaries include skipped entries. */
.stats.detail-stats{grid-template-columns:repeat(5,minmax(0,1fr))}
.stats.detail-stats .stat-footer{line-height:1.6}
@media(min-width:761px) and (max-width:1100px){.stats.detail-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.stats.detail-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stats.detail-stats>.stat:last-child{grid-column:1/-1}}

/* Consistent campaign header alignment, including numeric and toggle headers. */
:root .table-scroll.ads-campaign-table thead>tr>th{text-align:left;vertical-align:middle}
:root .table-scroll.ads-campaign-table thead .click-column-heading{justify-content:flex-start;vertical-align:middle}

/* Keep campaign column names visible when the outer document scrolls. */
:root .table-scroll.ads-campaign-table.campaign-floating-header{position:fixed;z-index:18;max-height:none;min-height:0;margin:0;padding:0;overflow:hidden;overscroll-behavior:none;scrollbar-gutter:auto;border-radius:0;pointer-events:none;box-shadow:0 1px 0 var(--line)}
:root .campaign-floating-header[hidden]{display:none!important}
:root .campaign-floating-header table{table-layout:fixed;margin:0}
