:root{--bg:#f5f7fb;--surface:#fff;--text:#202d43;--muted:#748196;--line:#e7ebf2;--primary:#3159e4;--primary-soft:#edf2ff;--green:#198367;--green-soft:#eaf7f1;--amber:#a77010;--amber-soft:#fff7e5;--red:#be4154;--red-soft:#fff0f2;--shadow:0 10px 35px #172b4d0c;--sidebar:226px;font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:14px;line-height:1.6}button,input,select,textarea{font:inherit;color:inherit}button,a,summary,select{cursor:pointer}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}button{font-weight:500}button:disabled{opacity:.5;cursor:not-allowed}input,textarea,select{border:1px solid #dfe5ee;background:var(--surface);border-radius:7px;padding:10px 12px;width:100%;min-width:0;transition:border-color .15s}input:focus,textarea:focus,select:focus{border-color:var(--primary);outline:3px solid #3159e418}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--primary)}textarea{resize:vertical;min-height:98px}input[type=file]{padding:10px;background:var(--bg)}h1,h2,h3,h4,p{margin:0}h1{font-size:28px;line-height:1.4;font-weight:600;letter-spacing:-.7px}h2{font-size:16px;font-weight:600}h3{font-size:14px;font-weight:600}small,.small{font-size:12px}.muted{color:var(--muted)}.mono{font-family:ui-monospace,SFMono-Regular,monospace;font-size:12px;overflow-wrap:anywhere}.error{color:var(--red)}.full{grid-column:1/-1}[hidden]{display:none!important}.skip-link{position:absolute;left:20px;top:-80px;background:var(--surface);padding:10px;z-index:100}.skip-link:focus{top:10px}
.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:var(--surface);border-right:1px solid var(--line);padding:28px 16px 18px;display:flex;flex-direction:column;z-index:30;overflow-y:auto}.brand{display:flex;align-items:center;gap:11px;padding:0 13px;color:var(--text);font-size:23px;letter-spacing:-.6px;font-weight:650;line-height:1.3}.brand:hover{text-decoration:none}.brand small{display:block;color:var(--muted);font-size:11px;font-weight:400;letter-spacing:0;margin-top:5px}.brand-mark{position:relative;display:grid;place-items:center;width:37px;height:37px;border-radius:11px;color:#fff;background:var(--primary);font-family:Arial,sans-serif;font-size:34px;line-height:1;font-weight:600;flex:none}.brand-mark span{width:7px;height:7px;background:#a4ebc7;border-radius:50%;position:absolute;right:5px;top:5px}.workspace-switch{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:8px;padding:11px 10px;background:var(--surface);text-align:left;margin:28px 4px 24px;font-size:12px;line-height:1.5}.workspace-switch small{display:block;color:var(--muted);font-size:11px}.workspace-symbol{background:#f0f3f9;color:#627493;border-radius:6px;width:28px;height:28px;display:grid;place-items:center;font-weight:600;flex:none}.chevron{margin-left:auto;color:var(--muted)}.nav-group{margin-bottom:24px}.nav-label{font-size:10px;font-weight:500;letter-spacing:1px;color:#9aa4b4;margin:0 14px 9px}.nav-item{display:flex;align-items:center;gap:12px;color:#637188;font-size:13px;padding:10px 14px;border-radius:7px;margin:3px 0}.nav-item:hover{background:var(--bg);text-decoration:none}.nav-item.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.nav-icon{width:17px;font-size:16px;line-height:1;text-align:center}.nav-count{margin-left:auto;font-size:10px;font-weight:500;padding:1px 6px;border-radius:5px;background:var(--bg);color:var(--muted)}.nav-item.active .nav-count{background:#dce6ff;color:var(--primary)}.sidebar-bottom{margin-top:auto;padding-top:20px}.runner-card{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:var(--bg);border-radius:8px;color:var(--text);padding:11px;font-size:12px}.runner-card:hover{text-decoration:none;border-color:#cbd7ee}.runner-card small{display:block;color:var(--muted);font-size:10px}.runner-card>span:last-child{margin-left:auto;color:var(--muted)}.runner-indicator,.status-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--green);flex:none}.help-link{display:flex;gap:8px;align-items:center;padding:16px 10px 0;font-size:12px;color:var(--muted)}.help-link span:last-child{margin-left:auto}.help-link span:first-child{border:1px solid #b9c3d1;border-radius:50%;font-size:10px;width:15px;height:15px;text-align:center;line-height:13px}.main-shell{margin-left:var(--sidebar);min-width:0;flex:1}.topbar{height:67px;background:var(--surface);border-bottom:1px solid var(--line);padding:0 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar-start,.topbar-end{display:flex;align-items:center;gap:16px}.topbar-start{font-size:12px;min-width:0}.topbar-workspace{color:var(--muted)}.slash{color:#c8cfda}.topbar-end{gap:18px}.search-launch{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#9aa4b4;font-size:11px;padding:0}.search-launch>span:first-child{font-size:22px;color:#8793a6}.search-launch kbd{font-size:9px;border:1px solid var(--line);border-radius:3px;padding:1px 5px;margin-left:20px}.demo-pill{font-size:10px;display:flex;align-items:center;gap:5px;color:var(--green);white-space:nowrap}.demo-pill i{width:5px;height:5px;border-radius:50%;background:var(--green)}.icon-button{width:31px;height:31px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:6px;background:transparent;font-size:20px;color:#748196;flex:none}.icon-button:hover{background:var(--bg);text-decoration:none}.notification-button{position:relative;font-size:22px}.notification-button i{position:absolute;right:5px;top:5px;width:5px;height:5px;background:var(--red);border-radius:50%}.avatar{border:1px solid #dfe6f8;background:var(--primary-soft);color:var(--primary);width:31px;height:31px;display:grid;place-items:center;border-radius:50%;font-size:11px}.demo-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#7181a0;padding:8px 32px;background:#f0f4fd;border-bottom:1px solid #e4eaf7}.demo-strip b{font-weight:500;color:#496398;margin-right:8px}.demo-strip a{white-space:nowrap}#main-content{width:100%;max-width:none;margin:0;padding:29px 32px 0;outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#8795ab;margin-bottom:7px}.page-heading p{font-size:12px;color:var(--muted);margin-top:8px}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 14px;min-height:36px;font-size:12px;line-height:1.5;border:1px solid #dfe5ee;background:var(--surface);border-radius:6px;color:#506078;text-align:center;transition:background .15s,box-shadow .15s}.button:hover{text-decoration:none;box-shadow:0 2px 6px #172b4d0a;border-color:#bbc8de}.button.primary{background:var(--primary);border-color:var(--primary);color:white;box-shadow:0 3px 8px #3159e41c}.button.primary:hover{background:#254bd0}.button.ghost{border-color:transparent;background:transparent;color:var(--primary);padding-left:5px;padding-right:5px;box-shadow:none}.button.danger{color:var(--red);background:var(--red-soft);border-color:#f7dce2}.link{color:var(--primary);font-size:12px}.app-footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;color:#97a2b4;font-size:10px;padding:20px 0;margin-top:30px}.app-footer a{color:#7e8ca3}.footer-dot{margin:0 8px;color:#c4ccda}.version{font-size:9px;margin-left:5px}
.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.stack{display:flex;flex-direction:column;gap:18px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:10px;margin-bottom:20px;min-width:0;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px}.panel-body{padding:0 22px 20px}.panel-heading:only-child{padding-bottom:20px}.panel .panel{box-shadow:none;border-radius:7px}.panel .panel-heading h2{font-size:15px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{background:var(--surface);border:1px solid var(--line);border-radius:9px;padding:19px 20px;min-width:0}.metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.metric-value{font-size:29px;line-height:1.45;letter-spacing:-.8px;font-weight:550;margin:8px 0 7px;font-variant-numeric:tabular-nums}.metric-detail{font-size:10px;color:#91a0b4}.metric-icon{border-radius:5px;background:var(--primary-soft);color:var(--primary);width:23px;height:23px;display:grid;place-items:center;font-size:12px}.metric-icon.success{background:var(--green-soft);color:var(--green)}.metric-icon.warning{background:var(--amber-soft);color:var(--amber)}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.6}th{background:#f8f9fc;color:#8793a6;font-weight:450;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}td{border-bottom:1px solid #eff2f7;padding:15px 12px;vertical-align:middle;min-width:70px}td:first-child{min-width:135px}td small{display:block;font-size:10px;color:#91a0b4;margin-top:5px}tbody tr:hover{background:#fbfcff}tbody tr:last-child td{border-bottom:0}.text-right{text-align:right;font-variant-numeric:tabular-nums}.pill{display:inline-flex;align-items:center;gap:4px;max-width:100%;font-size:10px;border-radius:4px;padding:3px 7px;background:#f0f3f8;color:#77869d}.pill.success{background:var(--green-soft);color:var(--green)}.pill.info{background:var(--primary-soft);color:var(--primary)}.pill.warning{background:var(--amber-soft);color:var(--amber)}.pill.danger{background:var(--red-soft);color:var(--red)}.toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar input,.toolbar select{padding:7px 10px;font-size:12px;min-width:100px;max-width:280px}.toolbar form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.tabs{display:flex;align-items:center;gap:23px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:22px}.tab{display:flex;align-items:center;gap:7px;border-bottom:2px solid transparent;padding:10px 0;color:#8490a3;font-size:12px;margin-bottom:-1px}.tab:hover{text-decoration:none;color:var(--primary)}.tab.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:500}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;min-width:0}.field>span{font-weight:500;color:#526179}.field small{color:#8b99ad;font-size:11px;line-height:1.7}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-grid .actions{grid-column:1/-1;margin-top:5px}.callout{font-size:12px;line-height:1.8;background:var(--primary-soft);color:#5473ad;border:1px solid #e1eaff;border-radius:7px;padding:12px 15px;margin-bottom:18px}.callout.warning{background:var(--amber-soft);border-color:#f5e8c8;color:#9c772f}.callout.danger{background:var(--red-soft);border-color:#f6dce2;color:var(--red)}.callout.success{background:var(--green-soft);border-color:#d8eee4;color:var(--green)}.detail-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-bottom:1px solid var(--line)}.detail-row:last-child{border-bottom:0}.detail-row-label{font-size:12px;font-weight:500}.detail-row-value{font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.detail-row .actions{flex:none}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:12px;background:var(--primary-soft);color:var(--primary);margin:0 auto 15px;font-size:24px}.empty h3{color:var(--text);font-size:15px;margin-bottom:7px}.empty p{font-size:12px;max-width:420px;margin:0 auto 18px}.empty .actions{justify-content:center}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:8px 0 18px}.split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,1fr);gap:20px}.context-strip{background:var(--surface);border:1px solid var(--line);padding:15px 18px;border-radius:8px;margin-bottom:17px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.context-title{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500}.product-symbol{width:32px;height:32px;border-radius:7px;background:var(--primary-soft);display:grid;place-items:center;color:var(--primary);font-size:15px;flex:none}.context-meta{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:var(--muted)}.breadcrumb-inline{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:12px;color:var(--muted)}.timeline{padding:0;list-style:none;margin:0}.timeline li{display:flex;gap:12px;position:relative;padding:12px 0;font-size:12px}.timeline li:before{content:"";width:24px;height:24px;border:1px solid var(--line);border-radius:50%;background:var(--bg);flex:none}.timeline li.done:before{content:"✓";color:var(--green);text-align:center;line-height:22px;background:var(--green-soft);border-color:#d9eee4}.timeline li.active:before{background:var(--primary-soft);border-color:var(--primary)}.timeline small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.checklist{list-style:none;margin:0;padding:0}.checklist li{padding:9px 0;display:flex;align-items:center;gap:10px;font-size:12px}.checklist li:before{content:"✓";color:var(--green)}.preview-ad{border:1px solid var(--line);border-radius:8px;padding:22px;margin-bottom:16px;font-size:12px}.preview-ad .ad-title{color:#2857b3;font-size:19px;line-height:1.55;margin:10px 0}.preview-ad p{color:#65758c}.code-block{background:var(--bg);border:1px solid var(--line);padding:15px;border-radius:7px;overflow:auto;font:11px/1.9 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.upload-zone{border:1px dashed #cbd6e8;background:#fafbfe;text-align:center;border-radius:8px;padding:28px 20px;margin-bottom:20px}.upload-zone p{color:var(--muted);font-size:12px;margin:8px 0 16px}.upload-zone input{max-width:400px}.copy-list{display:flex;flex-direction:column;gap:8px}.copy-item{display:grid;grid-template-columns:26px minmax(0,1fr) 45px;align-items:center;gap:9px;font-size:12px}.copy-item small{font-size:10px;color:var(--muted);text-align:right}.copy-item input,.copy-item textarea{font-size:12px;padding:8px 10px}.progress-track{height:6px;background:var(--bg);border-radius:4px;overflow:hidden;margin:9px 0}.progress-fill{height:100%;background:var(--primary);border-radius:4px;transition:width .3s}.overview-chart{display:block;width:100%;height:auto}.chart-legend{display:flex;align-items:center;gap:15px;font-size:10px;color:var(--muted)}.chart-legend i{display:inline-block;width:7px;height:7px;background:var(--primary);border-radius:50%;margin-right:5px}.chart-legend i.alt{background:#a8bae8}.quickstart-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.quickstart{display:block;padding:16px;border:1px solid var(--line);border-radius:7px;color:var(--text)}.quickstart:hover{text-decoration:none;border-color:#becdf6;background:#fcfdff}.quickstart .quick-icon{font-size:17px;color:var(--primary);margin-bottom:9px}.quickstart h3{font-size:12px;margin-bottom:6px}.quickstart p{font-size:10px;color:var(--muted);line-height:1.8}.scope-option{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:8px;padding:14px 15px;font-size:12px;line-height:1.6;cursor:pointer}.scope-option:has(input:checked){border-color:#9fb4fa;background:#f9fbff}.scope-option small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.scope-option input{margin-top:4px}.scope-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.search-result{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:12px 0;font-size:13px}.search-result:hover{text-decoration:none}.search-result small{font-size:11px;color:var(--muted)}.search-input{font-size:15px;margin-bottom:13px}.dialog-menu{display:grid;gap:6px}.dialog-menu a{padding:11px 12px;border-radius:6px;color:var(--text);font-size:13px}.dialog-menu a:hover{background:var(--bg);text-decoration:none}.notification-row{display:flex;gap:14px;border-bottom:1px solid var(--line);padding:18px 0;font-size:13px}.notification-row small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.notification-row:last-child{border:0}
dialog{background:var(--surface);color:var(--text);width:min(690px,calc(100vw - 32px));max-height:calc(100vh - 60px);border:1px solid var(--line);border-radius:12px;padding:0;box-shadow:0 25px 100px #15295025}dialog::backdrop{background:#17263e66;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:18px 23px}.dialog-header h2{font-size:16px}#dialog-body{padding:23px;max-height:calc(100vh - 150px);overflow-y:auto}.toast-region{position:fixed;bottom:24px;right:24px;display:flex;flex-direction:column;gap:8px;z-index:100;pointer-events:none}.toast{background:var(--surface);border:1px solid #cce5db;border-left:3px solid var(--green);box-shadow:var(--shadow);padding:13px 18px;border-radius:7px;font-size:12px;max-width:min(460px,calc(100vw - 40px))}.toast.error{border-color:#f3d3da;border-left-color:var(--red)}.mobile-menu{display:none}.sidebar-backdrop{display:none}.chat-message{padding:15px 18px;border-radius:9px;background:var(--bg);margin:13px 0;font-size:12px;white-space:pre-wrap}.chat-message.user{background:var(--primary-soft)}details{border-bottom:1px solid var(--line);padding:15px 0;font-size:12px}summary{font-weight:500}details p{color:var(--muted);padding-top:10px;line-height:1.9}#global-search-results{min-height:70px}.badge{display:inline-flex}
[data-theme=dark]{--bg:#101824;--surface:#182332;--text:#e2eaf5;--muted:#94a4ba;--line:#2d3a4e;--primary:#83a5ff;--primary-soft:#223557;--green:#7bd6b5;--green-soft:#1b3a33;--amber:#f1c77a;--amber-soft:#3b3121;--red:#f495a6;--red-soft:#402631;color-scheme:dark}[data-theme=dark] .button.primary{background:#486fdc;color:white}[data-theme=dark] .demo-strip{background:#1a2942;border-color:var(--line);color:#9aabc7}[data-theme=dark] .demo-strip b{color:#a8bde4}[data-theme=dark] input,[data-theme=dark] textarea,[data-theme=dark] select,[data-theme=dark] .button{border-color:var(--line)}[data-theme=dark] th,[data-theme=dark] .upload-zone{background:#14202e}[data-theme=dark] tbody tr:hover,[data-theme=dark] .quickstart:hover{background:#1d2d43}[data-theme=dark] .scope-option:has(input:checked){background:#20304a}[data-theme=dark] .scope-option{border-color:var(--line)}[data-theme=dark] .workspace-symbol,[data-theme=dark] .pill{background:#29364b;color:#aab8cd}[data-theme=dark] td{border-bottom-color:var(--line)}
@media(min-width:1600px){#main-content{padding-top:36px}}@media(max-width:1200px){:root{--sidebar:204px}.sidebar{padding-left:12px;padding-right:12px}.topbar{padding:0 24px}.topbar-end{gap:12px}#main-content{padding:25px 24px 0}.demo-strip{padding-left:24px;padding-right:24px}.search-launch>span:nth-child(2){display:none}.search-launch kbd{margin-left:0}.brand{padding:0 9px}.metrics{gap:12px}.metric{padding:16px}.split{grid-template-columns:1fr}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-grid{grid-template-columns:1fr}.quickstart-grid{gap:8px}.quickstart{padding:12px}}
@media(max-width:900px){:root{--sidebar:184px}.brand{font-size:21px;gap:8px}.brand small{font-size:10px}.nav-item{padding:9px 12px;font-size:12px}.workspace-switch{font-size:11px;padding:10px 8px}.workspace-symbol{width:24px;height:24px}.topbar{padding:0 20px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-2{grid-template-columns:1fr}.page-heading{align-items:flex-start}.page-heading .actions{justify-content:flex-end}.topbar-workspace,.slash{display:none}.demo-pill{display:none}#main-content{padding:22px 20px 0}.demo-strip{padding:8px 20px}.panel-heading{padding:18px 18px 14px}.panel-body{padding:0 18px 18px}.quickstart-grid{grid-template-columns:1fr}.quickstart{display:grid;grid-template-columns:28px 1fr;column-gap:9px}.quickstart p{grid-column:2}.quickstart .quick-icon{grid-row:1/3}.grid-3{grid-template-columns:1fr}}
@media(max-width:660px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:226px}.sidebar.open{transform:translateX(0)}.sidebar-backdrop.show{display:block;position:fixed;inset:0;border:0;background:#15233d66;z-index:29}.main-shell{margin-left:0}.mobile-menu{display:inline-grid}.topbar{height:58px;padding:0 14px}.topbar-start{gap:8px}.topbar-end{gap:9px}.search-launch kbd{display:none}.topbar-end .search-launch{font-size:11px}.demo-strip{padding:8px 15px;font-size:10px}.demo-strip a{display:none}#main-content{padding:23px 15px 0}.page-heading{display:block;margin-bottom:20px}.page-heading .actions{justify-content:flex-start;margin-top:15px}h1{font-size:25px}.eyebrow{font-size:9px}.metrics{gap:10px}.metric{padding:14px}.metric-value{font-size:27px}.metric-detail{font-size:10px}.metric-label{font-size:11px}.form-grid{grid-template-columns:1fr}.grid-2,.grid-3{gap:12px}.panel{margin-bottom:15px;border-radius:8px}.panel-heading{padding:16px 15px 14px;align-items:flex-start}.panel-body{padding:0 15px 16px}.panel-heading h2{font-size:14px}.panel-heading .actions{justify-content:flex-end}.button{min-height:39px}.field input,.field textarea,.field select{font-size:16px}.table-wrap{margin:0 -3px}table{font-size:11px}td,th{padding:12px 9px}.tabs{gap:15px}.tab{font-size:11px}.toolbar>div{width:100%}.toolbar form{width:100%}.toolbar input{max-width:none;flex:1;min-width:0}.detail-row{align-items:flex-start}.detail-row .actions{flex-wrap:wrap;justify-content:flex-end}.context-meta{gap:8px}.context-strip{padding:13px}.app-footer{font-size:9px;padding:17px 0;gap:8px}.copy-item{grid-template-columns:21px minmax(0,1fr) 37px;gap:5px}.copy-item input,.copy-item textarea{font-size:14px}.toast-region{right:15px;bottom:15px}.scope-grid{gap:9px}dialog{max-height:calc(100vh - 30px)}#dialog-body{padding:18px;max-height:calc(100vh - 125px)}.dialog-header{padding:15px 18px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}
.grid-3>.metrics{grid-column:1/-1;width:100%}.metrics:has(>.metric:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}.panel p{line-height:1.8}.panel-body>form>.actions{margin-top:18px}
@media(max-width:900px){.metrics:has(>.metric:nth-child(3):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.metrics:has(>.metric:nth-child(3):last-child){grid-template-columns:1fr}}
[data-theme=dark] .lp-upload{background:var(--bg);border-color:var(--line)}[data-theme=dark] .lp-upload-label strong,[data-theme=dark] .lp-settings-heading strong,[data-theme=dark] .lp-settings-heading b{color:var(--text)}[data-theme=dark] .lp-tab{background:var(--surface);color:var(--muted);border-color:var(--line)}[data-theme=dark] .lp-tab.active{background:var(--primary-soft);color:var(--primary)}[data-theme=dark] .lp-table th{background:var(--bg);color:var(--muted);border-color:var(--line)}[data-theme=dark] .lp-table td,[data-theme=dark] .lp-table-wrap,[data-theme=dark] .lp-settings{border-color:var(--line)}[data-theme=dark] .lp-cell{color:var(--text)}[data-theme=dark] .lp-cell:hover,[data-theme=dark] .lp-cell:focus{background:var(--bg)!important;color:var(--text)}[data-theme=dark] .lp-row-error,[data-theme=dark] .lp-error-row td{background:var(--red-soft)}
.lp-root .lp-table td:first-child{min-width:28px;width:28px}.lp-root .lp-table{min-width:1180px}.lp-root .lp-table.lp-custom{min-width:1380px}.lp-root .lp-account{min-width:155px}.op-record-table td:first-child{min-width:38px;width:38px}.lp-table-wrap,.op-record-table .table-wrap{scrollbar-width:thin;scrollbar-color:#c7d2e4 var(--bg)}.lp-table-wrap::-webkit-scrollbar,.op-record-table .table-wrap::-webkit-scrollbar{height:9px}.lp-table-wrap::-webkit-scrollbar-thumb,.op-record-table .table-wrap::-webkit-scrollbar-thumb{background:#c7d2e4;border-radius:6px}.lp-table-wrap::-webkit-scrollbar-track,.op-record-table .table-wrap::-webkit-scrollbar-track{background:var(--bg)}

/* Everyday navigation and optional advanced information. */
#main-navigation{margin-top:36px}.eyebrow{display:none}.settings-navigation{display:flex;gap:6px;flex-wrap:wrap;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:9px;margin-bottom:22px}.settings-navigation a{padding:10px 14px;border-radius:6px;color:var(--muted);font-size:12px;white-space:nowrap}.settings-navigation a:hover{background:var(--bg);text-decoration:none}.settings-navigation a.active{background:var(--primary-soft);color:var(--primary);font-weight:600}details.advanced-settings{border:1px solid var(--line);border-radius:8px;padding:12px 15px;margin:16px 0;background:var(--surface)}details.advanced-settings>summary{color:var(--muted);cursor:pointer;font-size:12px}details.advanced-settings[open]>summary{margin-bottom:14px}@media(max-width:660px){#main-navigation{margin-top:25px}.settings-navigation{gap:2px;margin-bottom:18px}.settings-navigation a{padding:9px 10px;font-size:12px}}

/* Keep joining and sign-in focused on one small form. */
.auth-page .sidebar,.auth-page .sidebar-backdrop,.auth-page .topbar,.auth-page .demo-strip,.auth-page .page-heading,.auth-page .app-footer{display:none!important}.auth-page .main-shell{margin-left:0;width:100%}.auth-page #main-content{min-height:100vh;display:grid;align-items:center;padding:34px 16px}.auth-page #route-view{width:100%;max-width:600px;margin:0 auto}.auth-page .team-auth-wrap{margin:0 auto}.auth-page .panel{margin-bottom:0}

/* Preserved settings and team layout */

.team-auth-card,.team-account-head,.team-header{overflow-wrap:anywhere}.team-account-head>div,.team-header>div{min-width:0}.team-auth-wrap{max-width:600px;margin:22px auto 52px}.team-auth-card{padding:30px!important}.team-auth-card h2{font-size:25px;margin:8px 0}.team-auth-card .callout{margin:20px 0}.team-auth-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:var(--primary,#2563eb);color:#fff;font-weight:800;font-size:24px}.team-kicker{font-size:11px;letter-spacing:.12em;color:var(--muted,#64748b);margin-top:16px}.team-wide{width:100%;justify-content:center}.team-form{display:grid;gap:17px}.team-form .field{min-width:0}.team-form input,.team-form select,.team-form textarea{max-width:100%}.team-divider{display:flex;align-items:center;gap:12px;color:var(--muted,#64748b);font-size:12px;margin:20px 0}.team-divider:before,.team-divider:after{content:'';flex:1;border-top:1px solid var(--border,#e2e8f0)}.team-auth-foot{border-top:1px solid var(--border,#e2e8f0);margin-top:22px;padding-top:20px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:13px;color:var(--muted,#64748b)}.team-account-head{display:flex;gap:15px;align-items:center;margin:4px 0 24px}.team-account-head h3,.team-account-head p{margin:0 0 6px}.team-avatar{width:50px;height:50px;flex-shrink:0;display:grid;place-items:center;font-weight:750;font-size:22px;background:var(--primary-soft,#eaf0ff);color:var(--primary,#2563eb);border-radius:50%}.team-readonly{min-height:40px;padding:10px 12px;background:var(--background,#f8fafc);border-radius:8px;overflow-wrap:anywhere}.team-header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 22px}.team-header h3,.team-header p{margin:0 0 6px}.team-cell-small{display:block;color:var(--muted,#64748b);margin-top:4px;font-size:11px;overflow-wrap:anywhere;max-width:260px}.team-cell-mcc{max-width:300px;white-space:normal;line-height:1.6}.team-mcc-picker{border:1px solid var(--border,#e2e8f0);border-radius:10px;padding:15px;display:grid;gap:12px;min-width:0}.team-mcc-picker legend{padding:0 5px;font-size:13px;font-weight:650}.team-mcc-picker label{display:flex;align-items:flex-start;gap:9px;min-width:0}.team-mcc-picker input{width:16px!important;height:16px;flex-shrink:0;margin-top:3px}.team-mcc-picker small{display:block;font-size:11px;color:var(--muted,#64748b);margin-top:3px}.team-mcc-picker span{overflow-wrap:anywhere;font-size:13px}.team-invite-link{width:100%;min-height:100px;overflow-wrap:anywhere;font-size:12px;resize:vertical}.team-permission-preview{padding:14px;background:var(--primary-soft,#eff6ff);border-radius:9px;overflow-wrap:anywhere}.team-permission-preview p{margin:7px 0 0;font-size:13px}.team-menu-person{display:grid;gap:5px;padding:0 0 18px;margin:0 0 8px;border-bottom:1px solid var(--border,#e2e8f0);overflow-wrap:anywhere}.team-menu-person small{color:var(--muted,#64748b)}
@media(max-width:600px){.team-auth-wrap{margin:0 auto 30px}.team-auth-card{padding:20px!important}.team-auth-card h2{font-size:22px}.team-header{gap:12px}.team-header>.actions{width:100%;flex-wrap:wrap}.team-header>.actions .button{flex:1;font-size:12px}.team-account-head{gap:10px}.team-account-head p{font-size:12px;overflow-wrap:anywhere}.team-mcc-picker{padding:12px}.team-auth-foot{align-items:flex-start}.team-menu-person{max-width:100%}}


/* Keyword filters stay in a fixed viewport while data changes. Pending rows
   retain their geometry and hide stale values while navigation stays available. */
:is([data-km-results],[data-km-overview],[data-km-range-info]).km-held{position:relative;background:repeating-linear-gradient(to bottom,var(--bg) 0,var(--bg) 12px,transparent 12px,transparent 34px)}
:is([data-km-results],[data-km-overview],[data-km-range-info]).km-held::after{content:"";position:absolute;inset:0;z-index:1;background:repeating-linear-gradient(to bottom,var(--bg) 0,var(--bg) 12px,var(--surface) 12px,var(--surface) 34px)}
:is([data-km-results],[data-km-overview],[data-km-range-info]).km-held :is(button,input,select,textarea,a,summary,[tabindex]){visibility:hidden}
:is([data-km-results],[data-km-overview],[data-km-range-info]).km-held::before{content:attr(data-km-pending);display:block;position:sticky;top:0;height:24px;margin-bottom:-24px;z-index:3;background:var(--surface);color:var(--muted);font-size:12px}
.km-missing{max-width:220px;font-size:10px;color:var(--muted)}
.km-live-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.km-row-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:5px}.km-row-actions .button{font-size:11px;min-height:30px;padding:5px 7px}
/* Keep routine connection checks compact; credentials stay in their settings dialog. */
.s-connection-list{max-width:1050px}.s-connection-list>.panel{margin-bottom:14px}.s-connection-list .panel-heading{padding-bottom:12px}.s-connection-status{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:500;flex-wrap:wrap}.s-connection-meta{font-size:12px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}.s-connection-form-actions{margin-top:16px}.s-advanced{margin:16px 0;border:1px solid var(--line);border-radius:8px;padding:12px 14px}.s-advanced>summary{cursor:pointer;color:var(--muted)}.s-advanced-body{margin-top:16px}.s-advanced-body>.detail-row{margin-bottom:16px}#dialog-body>.s-connection-status{margin-bottom:18px}#dialog-body .s-advanced form .form-grid{margin-top:16px}#dialog-body [data-credential-form-error]:empty{display:none}@media(max-width:660px){.s-connection-list .panel-heading{flex-wrap:wrap;gap:12px}.s-connection-list .panel-heading>.actions{justify-content:flex-start;flex-wrap:wrap}.s-connection-list .panel-heading .button{padding:8px 11px}.s-connection-meta{font-size:11px}.s-connection-form-actions{gap:8px}}

.s-ai-current{display:flex;flex-direction:column;gap:5px;font-size:12px;margin-bottom:16px}.s-ai-current span{color:var(--muted);font-size:11px}.s-ai-connections .is-current>.panel{border-color:#b9c8ff}.s-ai-connections .panel-heading h2{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.s-ai-connections .panel-heading>.actions{flex-wrap:wrap}.s-ai-connections>section{min-width:0}@media(max-width:800px){.s-ai-connections .panel-heading{flex-wrap:wrap}.s-ai-connections .panel-heading>.actions{justify-content:flex-start}}
.s-google-auth-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.s-google-auth-card{border:1px solid var(--border,#e2e8f0);border-radius:10px;padding:16px;min-width:0}.s-google-auth-title{display:flex;justify-content:space-between;align-items:center;gap:12px;overflow-wrap:anywhere}.s-google-auth-card .detail-row{align-items:flex-start;gap:12px}.s-google-auth-card .detail-row>div:first-child{min-width:0}.s-copy-value{overflow-wrap:anywhere}.s-google-auth-card .actions{flex-wrap:wrap}form[data-form="prod-google-auth-save"] input[type="file"]{max-width:100%;padding:10px;font-size:12px}form[data-form="prod-google-auth-save"] textarea{font-family:ui-monospace,monospace;font-size:12px;min-height:130px;resize:vertical}.form-grid>.full{grid-column:1/-1}@media(max-width:400px){.s-google-auth-card{padding:12px}.s-google-auth-title{align-items:flex-start;flex-wrap:wrap}}

/* The eight-column keyword editor needs readable prose and local horizontal scrolling. */
#app-dialog:has([data-form="wf-keyword-filter"]){width:min(1440px,calc(100vw - 32px))}
#app-dialog:has([data-form="wf-keyword-filter"]) .table-wrap{overflow-x:auto}
#app-dialog:has([data-form="wf-keyword-filter"]) table{min-width:1240px;table-layout:fixed}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(1){width:48px}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(2){width:180px}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(3),
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(4){width:160px}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(5),
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(6){width:88px}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(7){width:360px}
#app-dialog:has([data-form="wf-keyword-filter"]) th:nth-child(8){width:112px}
#app-dialog:has([data-form="wf-keyword-filter"]) td{min-width:0;vertical-align:top;overflow-wrap:anywhere}
#app-dialog:has([data-form="wf-keyword-filter"]) .wf-reason{max-width:none;line-height:1.7}

/* Workspaces use the available screen; single-column forms remain readable. */
#route-view[data-route="/settings"],#route-view[data-route="/connections"],#route-view[data-route="/settings/models"],#route-view[data-route="/settings/iprocket"],#route-view[data-route="/settings/adspower"],#route-view[data-route="/connections/partners"],#route-view[data-route="/settings/skills"],#route-view[data-route="/landing-resolver"]{width:100%;max-width:1050px}#route-view[data-route="/help"]{width:100%;max-width:900px}

/* The overview keeps each submitted record on one compact, scannable row. */
.op-overview{min-width:0;max-width:100%}.op-overview>.panel>.panel-heading{padding:18px 18px 14px}.op-overview>.panel>.panel-body{padding:0 18px 16px}.op-overview .op-queue-filter{display:grid;grid-template-columns:minmax(220px,2fr) minmax(140px,1fr) minmax(180px,1.3fr) auto;gap:12px;align-items:end;margin-bottom:16px}.op-overview .op-queue-filter input,.op-overview .op-queue-filter select{min-height:36px;padding:7px 10px;font-size:12px}.op-overview .op-queue-filter .field>span{font-size:11px}.op-overview .op-queue-filter .actions{gap:7px}.op-overview .op-queue-filter .button{padding:7px 12px}
.op-overview .op-status-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 10px;padding:0;border:0}.op-overview .op-status-tab{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:35px;padding:5px 12px;border:1px solid #e1e5ed;border-radius:8px;color:#59677b;background:#fff;font-size:13px;font-weight:600;line-height:1.6;white-space:nowrap}.op-overview .op-status-tab:hover{background:#f8faff;border-color:#c1cff8;text-decoration:none}.op-overview .op-status-tab.active{background:#eef4ff;border-color:#a9bfff;color:var(--primary);box-shadow:0 0 0 1px #3159e409}.op-overview .op-status-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:50%;background:#f1f4f8;color:#7b8a9e;font-size:12px;font-variant-numeric:tabular-nums}.op-overview .op-status-tab.active .op-status-count{background:transparent;color:#6e819c}
.op-overview .op-record-table{min-width:0;width:100%;border:1px solid #e0e5ec;border-radius:9px;overflow:hidden;background:#fff}.op-overview .op-record-table .table-wrap{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.op-overview .op-record-table table{width:100%;min-width:1800px;table-layout:fixed;font-size:13px;line-height:1.5}.op-overview .op-record-table th{padding:11px 9px;background:#f8f9fb;border-bottom:1px solid #e6ebf3;color:#606976;font-size:12px;font-weight:600;white-space:nowrap;text-align:left}.op-overview .op-record-table td{height:60px;min-width:0;padding:8px 9px;border-bottom:1px solid #e8eef8;color:#30353e;font-size:13px;white-space:nowrap;vertical-align:middle}.op-overview .op-record-table tbody tr:last-child td{border-bottom:0}.op-overview .op-record-table tbody tr:hover td{background:#fafcff}
.op-overview .op-record-table th:first-child,.op-overview .op-record-table td:first-child{width:38px;min-width:0;text-align:center;padding-left:9px;padding-right:6px}.op-overview .op-record-table th:nth-child(2){width:96px;min-width:0}.op-overview .op-record-table th:nth-child(3){width:96px;min-width:0}.op-overview .op-record-table th:nth-child(4){width:100px}.op-overview .op-record-table th:nth-child(5){width:85px}.op-overview .op-record-table th:nth-child(6){width:48px}.op-overview .op-record-table th:nth-child(7){width:132px;min-width:0}.op-overview .op-record-table th:nth-child(8){width:160px}.op-overview .op-record-table th:nth-child(9){width:126px}.op-overview .op-record-table th:nth-child(10){width:144px}.op-overview .op-record-table th:nth-child(11){width:135px}.op-overview .op-record-table th:nth-child(12){width:95px}.op-overview .op-record-table th:nth-child(13){width:100px}.op-overview .op-record-table th:nth-child(14),.op-overview .op-record-table th:nth-child(15){width:59px}.op-overview .op-record-table th:nth-child(16){width:110px}.op-overview .op-record-table th:nth-child(17){width:75px}.op-overview .op-record-table th:last-child{width:142px}.op-overview .op-record-table td:nth-child(6),.op-overview .op-record-table td:nth-child(7){min-width:0;max-width:none;white-space:nowrap}.op-overview .op-record-table th:nth-child(n+12):nth-child(-n+17){text-align:right}
.op-overview .op-cell{min-width:0;max-width:100%}.op-overview .op-truncate,.op-overview .op-short-url{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.op-overview .op-cell-url a{color:#51617a}.op-overview .op-cell-nickname a{color:#30353e}.op-overview .op-cell-nickname a:hover,.op-overview .op-cell-url a:hover{color:var(--primary)}.op-overview .op-cell-account{font-variant-numeric:tabular-nums}.op-overview .op-cell-number,.op-overview .op-cell-money{text-align:right;font-variant-numeric:tabular-nums}.op-overview .op-cell-status .pill{font-size:12px;font-weight:600;line-height:1.4;padding:3px 7px;border-radius:12px;white-space:normal;vertical-align:top}.op-overview .op-cell-status .pill.success{background:#ddfbe9;color:#25884b}.op-overview .op-cell-status .pill.danger{background:#ffe4e4;color:#d63c36}.op-overview .op-cell-status .op-ad-status{display:block;margin-top:4px;font-size:12px;line-height:1.4;color:#858a94;white-space:normal}.op-overview .op-ad-status .pill{padding:0;background:none;font-size:12px;font-weight:400;color:inherit}.op-overview .op-record-table input[type=checkbox]{width:16px;height:16px;margin:0;vertical-align:middle;accent-color:var(--primary)}
.op-overview .op-cell-problem{font-size:12px;color:#7b879b;white-space:normal}.op-overview .op-problem-details{max-width:100%;font-size:12px;padding:0;border:0}.op-overview .op-problem-details>summary{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;list-style:none;cursor:pointer;color:#7b879b}.op-overview .op-problem-details>summary::-webkit-details-marker{display:none}.op-overview .op-problem-details[open]>summary{white-space:normal;overflow-wrap:anywhere;color:var(--primary);margin-bottom:6px}.op-overview .op-problem-details .op-error-text,.op-overview .op-cell-problem .op-error-text{min-width:0;max-width:100%;font-size:12px;white-space:normal;overflow-wrap:anywhere}.op-overview .op-problem-details>div{white-space:normal;overflow-wrap:anywhere}.op-overview .op-cell-problem>.op-error-text.op-truncate{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.op-overview .op-record-table td small{font-size:11px;line-height:1.5;margin-top:4px;white-space:normal;color:var(--muted)}
.op-overview .op-record-table th:last-child,.op-overview .op-record-table td:last-child{position:sticky;right:0;z-index:1;box-shadow:-5px 0 7px -6px #2a3a552e;background:#fff}.op-overview .op-record-table th:last-child{z-index:2;background:#f8f9fb}.op-overview .op-cell-actions,.op-overview .op-cell-actions .actions{display:flex;align-items:center;justify-content:flex-start;gap:5px;flex-wrap:nowrap}.op-overview .op-cell-actions .button{min-height:31px;padding:5px 8px;border-radius:7px;background:#f8f9fc;border-color:#e1e5ec;font-size:12px;font-weight:600;white-space:nowrap}.op-overview .op-cell-actions .op-icon-button{width:31px;min-width:31px;height:31px;padding:6px;line-height:1;color:#5c687d}.op-overview .op-icon-button svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.op-overview .op-cell-actions .op-icon-button.danger{background:#fff0ee;border-color:#ffb5ab;color:#f04d40;box-shadow:0 2px 5px #e3533c12}.op-overview .op-cell-actions .op-icon-button.danger:hover{background:#ffe5df}.op-overview .op-cell-actions .op-icon-button:hover{background:#edf2fb}.op-overview .op-status-tab:focus-visible,.op-overview .op-icon-button:focus-visible,.op-overview .op-cell-actions a:focus-visible,.op-overview .op-problem-details>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.op-overview .op-selection-bar{margin:0 0 10px;padding:9px 12px;border:1px solid #dfe7fa;border-radius:7px;background:#f7f9ff;gap:10px}.op-overview .op-selection-bar .button{font-size:11px;min-height:30px;padding:4px 9px}.op-overview .op-overview-footer{margin-top:14px}.op-overview .op-overview-footer>.toolbar{margin-bottom:0}.op-overview .op-overview-footer .button{min-height:32px;padding:5px 10px;font-size:11px}.op-overview .op-overview-footer .field>span{font-size:11px}.op-overview .op-overview-footer select{padding:5px 8px;font-size:11px}.op-overview .op-report-note{font-size:11px;line-height:1.7;color:#8a94a4;margin:12px 0 0;overflow-wrap:anywhere}.op-overview .op-report-note .button{min-height:0;padding:0 3px;font-size:11px}
@media(max-width:1200px){.op-overview .op-queue-filter{grid-template-columns:minmax(180px,2fr) 1fr 1fr}.op-overview .op-queue-filter>.actions{grid-column:1/-1}}
@media(max-width:800px){.op-overview>.panel>.panel-heading{padding:15px 12px 12px}.op-overview>.panel>.panel-body{padding:0 12px 14px}.op-overview .op-status-tabs{gap:6px}.op-overview .op-status-tab{padding:5px 9px;gap:6px;font-size:12px}.op-overview .op-status-count{font-size:11px;min-width:21px;height:21px}.op-overview .op-queue-filter{grid-template-columns:1fr 1fr;gap:10px}.op-overview .op-queue-filter>.field:first-child{grid-column:1/-1}.op-overview .op-record-table th:last-child{width:142px}.op-overview .op-overview-footer .toolbar{align-items:flex-start}.op-overview .op-overview-footer .toolbar>div{max-width:100%}.op-overview .op-selection-bar{padding:8px}.op-overview .op-report-note{font-size:10px}}

/* PW owner login stream */
.pw-browser-dialog{width:min(1160px,96vw);max-width:96vw}.pw-browser-screen{border:1px solid #dce3ef;border-radius:10px;overflow:hidden;background:#f5f7fb;min-height:160px}.pw-browser-screen img{display:block;width:100%;height:auto;cursor:pointer}.pw-browser-screen img:focus{outline:2px solid #315be9;outline-offset:-2px}.pw-browser-dialog .actions{flex-wrap:wrap;margin-top:14px}
.pw-browser-desktop{height:min(72vh,900px);min-height:320px;background:#20242a;touch-action:none}.pw-browser-desktop:fullscreen{width:100vw;height:100vh;border:0;border-radius:0}.pw-browser-tools,[data-pw-windows]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pw-browser-tools .button{font-size:12px;padding:6px 10px}
.pw-browser-dialog [hidden]{display:none!important}

/* Independent source synchronization controls, shared by account and campaign views. */
.scoped-sync{display:inline-flex;flex-wrap:wrap;align-items:flex-start;gap:4px 8px;max-width:100%}
.scoped-sync>span{display:flex;flex-direction:column;align-items:flex-start;max-width:100%}
.scoped-sync small{font-size:11px;white-space:normal;overflow-wrap:anywhere}
.s-account-sync{flex-basis:100%;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:center}

/* Export keeps units separate; complete data stays readable on narrow screens. */
.ce-section { margin: 24px 0; padding-top: 8px; border-top: 1px solid var(--border, #ddd); }
.ce-table { overflow: auto; max-height: 560px; margin: 12px 0; }
.ce-table table { border-collapse: collapse; min-width: 100%; font-size: 12px; }
.ce-table th, .ce-table td { padding: 9px; border-bottom: 1px solid var(--border, #ddd); text-align: left; vertical-align: top; white-space: pre-wrap; min-width: 110px; max-width: 380px; overflow-wrap: anywhere; }
.ce-table th { position: sticky; top: 0; background: var(--surface, #fff); }
.ce-section details, .ce-import { margin: 14px 0; }
.ce-chart { margin: 18px 0; overflow-x: auto; }
.ce-chart svg { width: 100%; min-width: 620px; max-height: 960px; }
.ce-chart svg text { fill: currentColor; font-size: 11px; }
[data-export-view] pre { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 560px; overflow: auto; }
#app-dialog:has([data-export-view]) { width: min(1240px, 96vw); max-width: 96vw; }
.ce-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 14px 0; }
.ce-cards > div { padding: 14px; border: 1px solid var(--border, #ddd); border-radius: 8px; overflow-wrap: anywhere; }
.ce-cards p { margin: 6px 0 0; }
.ce-charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 16px; }
.ce-charts .ce-chart { margin: 8px 0; }
.ce-charts .ce-chart svg { min-width: 440px; }
.ce-timeline { border-left: 2px solid #7395ef; padding-left: 20px; list-style: none; }
.ce-timeline li { position: relative; padding: 2px 0 16px; overflow-wrap: anywhere; }
.ce-timeline li::before { content: ''; position: absolute; left: -26px; top: 8px; width: 10px; height: 10px; background: #7395ef; border-radius: 50%; }
.ce-change-timeline { grid-column: 1 / -1; }
/* Keyword suite keeps metrics readable while wide facts scroll locally. */
.km-workspace{min-width:0;overflow:visible;padding:12px 18px 18px;overflow-anchor:none}
.km-workspace-back{margin-bottom:3px}
.km-workspace p{margin:4px 0}
.km-workspace details{padding:7px 0;min-width:0}
.km-workspace details p{padding-top:3px;line-height:1.6}
.km-workspace .button{min-height:32px;padding:6px 10px}
.km-workspace .actions{gap:6px}
.km-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 20px;min-width:0}
.km-identity>div{display:flex;align-items:center;flex-wrap:wrap;gap:2px 14px;min-width:0}
.km-identity strong{overflow-wrap:anywhere}.km-identity span{font-size:12px;color:var(--muted)}
.km-identity details{max-width:55%;font-size:11px;overflow-wrap:anywhere;flex-shrink:0}
.km-identity details p{max-width:640px}
.km-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:3px 0 7px;margin:6px 0 9px}
.km-workspace > [data-km-workspace-header]{position:sticky;top:0;z-index:4;background:var(--surface)}
.km-filter-main{display:grid;grid-template-columns:minmax(140px,.8fr) minmax(140px,.8fr) minmax(200px,1.7fr) minmax(130px,.8fr);gap:8px 12px}
.km-filters label{display:flex;flex-direction:column;gap:3px;font-size:12px;min-width:0}
.km-filters input,.km-filters select{padding:6px 9px;min-height:34px;font-size:12px}
.km-filter-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-top:6px}
.km-filter-tools>.actions{flex-shrink:0;padding-top:4px}.km-more-filters{flex:1;border-bottom:0}
.km-more-filters summary{font-size:12px;color:var(--primary);overflow-wrap:anywhere}
.km-filter-extra{display:grid;grid-template-columns:repeat(4,minmax(100px,1fr));gap:8px;margin-top:6px}
.km-filters [role=alert]:empty{display:none}
.km-result-caption,.km-atc-note{color:var(--muted);line-height:1.5}
[data-km-insights-status]:empty{display:none}
.km-ngram-filters{display:flex;flex-wrap:wrap;gap:8px 12px;margin:10px 0}
.km-ngram-filters label{display:grid;gap:4px;min-width:110px}
[data-km-ngrams] .table-wrap td:first-child{min-width:0}
[data-km-ngrams] details .table-wrap{min-width:220px}
.km-hidden-spend-value{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap}
.km-hidden-spend-dot{width:1rem;height:1rem;flex:none;border-radius:50%}
.km-hidden-spend-dot.is-green{background-color:var(--green)}
.km-hidden-spend-dot.is-yellow{background-color:var(--amber)}
.km-hidden-spend-dot.is-red{background-color:var(--red)}
.km-hidden-spend-review{color:var(--muted);font-size:.75rem}
.km-keyword-status{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.km-keyword-status.is-paused .status-dot{background-color:var(--muted)}
.km-copy-ad caption{text-align:left;font-weight:600}
.km-copy-edit-line{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.5rem;margin-block:.5rem}
.km-copy-pin{display:flex;align-items:center;gap:.35rem;max-width:100%}
.km-copy-pin select{min-width:0;max-width:100%;width:auto}
@media(max-width:600px){.km-copy-edit-line{grid-template-columns:minmax(0,1fr);gap:.25rem}.km-copy-pin{margin-bottom:.4rem}}
[data-km-insights-mode="true"] :is(.km-keyword-filter,.km-more-filters,[data-action="km-performance-sync"]){display:none}
[data-km-insights] label{display:grid;gap:4px;max-width:24rem}
.km-coverage{border-bottom:1px solid var(--line);font-size:11px}
.km-ad-data{border:1px solid var(--line);border-radius:7px;padding:10px;margin:8px 0 12px;background:var(--surface)}
.km-ad-data h3{margin:0 0 8px}.km-overview-scope{color:var(--muted);line-height:1.5}
.km-data-scroll{max-width:100%;overflow-x:auto;margin:8px 0;overscroll-behavior-x:contain}
.km-data-table{width:100%;min-width:1420px;table-layout:fixed;font-variant-numeric:tabular-nums}
.km-data-table .km-date-column{width:110px}
.km-data-table .km-commission-column{width:138px}.km-data-table .km-epc-column{width:178px}
.km-workspace .km-data-table th,.km-workspace .km-data-table td{text-align:right;white-space:nowrap;min-width:0;padding:8px 7px}
.km-workspace .km-data-table th:first-child{text-align:left}
.km-data-table thead th{font-size:11px}.km-data-table tbody td{font-size:12px}.km-data-table[data-km-summary] tbody{font-weight:600}
.km-ad-data>div>details>summary,.km-daily-disclosure>summary{font-size:12px;padding:6px 0}.km-daily-disclosure{border-bottom:0}
.km-trends{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px}
.km-section-heading{display:flex;align-items:center;gap:12px}.km-section-heading span{font-size:11px;color:var(--muted)}
.km-diagnostics{margin:10px 0 12px}.km-diagnostic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:start}
.km-workspace .km-diagnostic-group{border:1px solid var(--line);border-radius:7px;padding:8px 10px;min-width:0}
.km-diagnostic-group>summary{font-size:12px;line-height:1.5}.km-diagnostic-group>summary strong{margin-right:7px}.km-diagnostic-group>summary span{font-size:11px;color:var(--muted)}
.km-diagnostic-group>summary small{display:block;color:var(--muted);font-size:10px;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
.km-inline-metrics{display:flex;flex-wrap:wrap;gap:8px 16px;margin:8px 0}.km-inline-metrics div{min-width:75px}.km-inline-metrics dt{font-size:10px;color:var(--muted)}.km-inline-metrics dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}
.km-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;font-size:12px;color:var(--muted)}
.km-workspace td{vertical-align:top;padding:9px 10px}.km-workspace th{padding:8px 10px}
.km-workspace td:first-child{min-width:45px}.km-workspace td small{display:block;max-width:240px;overflow-wrap:anywhere;font-size:10px}
.km-workspace [data-km-results],.km-workspace section,.km-workspace form{min-width:0;max-width:100%}
.km-read-note{margin-top:10px!important}
@media(max-width:1100px){.km-filter-main{grid-template-columns:repeat(2,minmax(0,1fr))}.km-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}.km-diagnostic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.km-workspace{padding:10px 12px 14px}.km-identity{display:block}.km-identity>div{display:block}.km-identity span{display:block}.km-identity details{max-width:100%}.km-filter-main{gap:7px}.km-filters input,.km-filters select{min-height:40px}.km-workspace .button{min-height:40px}.km-filter-tools{display:block}.km-filter-tools>.actions{justify-content:flex-start}.km-filter-extra{grid-template-columns:repeat(2,minmax(0,1fr))}.km-diagnostic-grid{grid-template-columns:1fr}.km-pagination{flex-wrap:wrap}.km-section-heading{flex-wrap:wrap;gap:2px 8px}}

/* Only the two daily bid/top tables: keep dates and values readable locally. */
:is(.km-daily-bids,.km-daily-top){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.km-daily-bids>table{min-width:420px}.km-daily-top>table{min-width:600px}
:is(.km-daily-bids,.km-daily-top) :is(th,td){padding:8px 10px;vertical-align:top}
:is(.km-daily-bids,.km-daily-top) th{white-space:normal}
:is(.km-daily-bids,.km-daily-top) :is(th,td):first-child{min-width:112px;width:112px}
:is(.km-daily-bids,.km-daily-top) :is([data-km-bid-date],[data-km-share-date]){display:block;white-space:nowrap}
:is(.km-daily-bids,.km-daily-top) td:not(:first-child){min-width:92px;white-space:nowrap}
:is(.km-daily-bids,.km-daily-top) .km-day-note{display:block;max-width:144px;white-space:normal;line-height:1.4;font-size:10px}
:is(.km-daily-bids,.km-daily-top) .km-day-evidence{border:0;padding:0;margin-top:2px}
:is(.km-daily-bids,.km-daily-top) .km-day-evidence>summary{min-height:24px;line-height:24px;white-space:nowrap;color:var(--primary);cursor:pointer}
:is(.km-daily-bids,.km-daily-top) [data-km-day-source]{width:250px;max-width:calc(100vw - 80px);padding:6px 0;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
@media(max-width:600px){:is(.km-daily-bids,.km-daily-top) .km-day-evidence>summary{min-height:28px;line-height:28px}}

/* Current negative lists keep names readable; resource IDs are optional. */
.km-negative-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.km-negative-filters label{flex:1 1 180px}.km-negative-scroll{max-width:100%;overflow-x:auto}.km-negative-table{min-width:630px;table-layout:auto}.km-negative-table th,.km-negative-table td{vertical-align:top}.km-negative-table th:first-child{width:52px}.km-negative-table td:nth-child(2){min-width:170px;overflow-wrap:anywhere}.km-negative-table td:nth-child(3){white-space:nowrap}.km-negative-table td:nth-child(4){min-width:160px}.km-negative-evidence{font-size:12px;margin-top:4px;max-width:240px}.km-negative-evidence small{display:block;overflow-wrap:anywhere}.km-negative-shared{margin-top:24px}
.km-negative-readonly th:first-child,.km-negative-readonly td:first-child{width:auto;min-width:180px}.km-negative-readonly td:nth-child(2){min-width:70px;white-space:nowrap}.km-negative-readonly td:nth-child(3){white-space:normal;min-width:160px}
.km-negative-table:not(.km-negative-readonly) th:first-child,.km-negative-table:not(.km-negative-readonly) td:first-child{min-width:48px;width:48px}

/* RSA copy stays readable inside its own horizontal scroller on mobile. */
.km-copy-ad{min-width:0;max-width:100%}.km-copy-ad table{min-width:850px}.km-copy-ad td:nth-child(2){min-width:220px;max-width:340px}.km-copy-ad td:not(:nth-child(2)){white-space:nowrap}

/* Keep the full performance workspace stable while a scoped saved read runs. */
.km-cold-layout{min-height:180px}
[data-km-results].km-held :is([data-action="km-sort"],[data-action="km-performance-page"],[data-km-ngram-filter],[data-km-insights-group]){visibility:visible;position:relative;z-index:2}
[data-km-range-info].km-held::before{display:none}

.km-keyword-table{table-layout:fixed;width:6600px;min-width:6600px}
.km-keyword-table th:first-child{width:64px}.km-keyword-table th:nth-child(2){width:220px}.km-keyword-table th:nth-child(7){width:260px}.km-keyword-table th:nth-last-child(-n+2){width:240px}

/* Keep the full-screen data workspace backdrop inexpensive to repaint. */

/* Compact MCC list. Account access, authorization and browser bindings retain their existing actions. */
.s-accounts-compact{display:grid;gap:12px}
.s-mcc-card{position:relative;min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.s-account-tree{padding:0;border:0}
.s-mcc-summary{position:relative;display:flex;align-items:center;gap:12px;min-height:82px;padding:18px 290px 18px 42px;list-style:none;cursor:pointer;border-radius:10px}
.s-mcc-summary::-webkit-details-marker,.s-mcc-branch>summary::-webkit-details-marker{display:none}
.s-mcc-summary::before,.s-mcc-branch>summary::before{content:"";position:absolute;left:21px;top:50%;width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:translateY(-50%) rotate(-45deg)}
.s-account-tree[open]>.s-mcc-summary::before,.s-mcc-branch[open]>summary::before{transform:translateY(-65%) rotate(45deg)}
.s-mcc-summary:hover,.s-mcc-branch>summary:hover{background:var(--bg)}
.s-mcc-summary:focus-visible,.s-mcc-branch>summary:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.s-mcc-identity{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;min-width:0;flex:1}
.s-mcc-identity strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}
.s-mcc-id{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}
.s-mcc-count{font-size:11px;white-space:nowrap;color:var(--muted)}
.s-mcc-summary>.pill{flex:none;white-space:nowrap}
.s-mcc-actions{position:absolute;right:18px;top:23px;gap:7px}
.s-mcc-actions .button{padding:7px 11px;min-height:34px}
.s-mcc-accounts{padding:0 18px 16px;border-top:1px solid var(--line)}
.s-mcc-account-list{list-style:none;margin:0;padding:0}
.s-mcc-accounts>.s-mcc-account-list{padding-top:8px}
.s-mcc-account-row{display:flex;position:relative;align-items:center;flex-wrap:wrap;gap:5px 12px;padding:9px 8px 9px 27px;min-height:43px;border-bottom:1px solid var(--line)}
.s-mcc-account-row .s-mcc-identity{flex:1 1 160px}
.s-mcc-account-location{font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.s-mcc-account-row>.pill{flex:none;white-space:nowrap}
.s-mcc-account-budget{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;flex:1 1 220px;min-width:0;font-size:12px}
.s-mcc-account-budget>span{white-space:nowrap}
.s-mcc-account-budget>small{flex-basis:100%}
.s-mcc-branch-node{position:relative}
.s-mcc-branch-action{position:absolute;top:5px;right:8px}
.s-mcc-branch-action .button{padding:6px 10px;min-height:32px}
.s-mcc-branch>summary{list-style:none;cursor:pointer;border-radius:6px;padding-right:125px}
.s-mcc-branch>summary::before{left:9px}
.s-mcc-branch>.s-mcc-account-list{margin-left:14px;padding-left:7px;border-left:1px solid var(--line)}
.s-mcc-branch-empty,.s-mcc-unplaced{margin:10px 0 0 27px}
.s-mcc-accounts .empty{padding:30px 16px 16px}
.s-mcc-error{padding:0 18px 16px}
.s-mcc-error .callout{margin-bottom:0}
.s-auth-management-actions{margin:14px 0 20px}
.s-auth-management>.s-google-auth-list{grid-template-columns:1fr}
.s-auth-management>.small{margin-top:16px}
.s-mcc-details .detail-row:first-child{padding-top:0}
.s-mcc-details .detail-row>div:first-child{min-width:0}
.s-mcc-more-primary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.s-mcc-more-primary .button{justify-content:flex-start;min-height:44px}
.s-mcc-more-danger{border-top:1px solid var(--line);padding-top:18px;margin-top:20px}
.s-service-account-help{min-width:0;font-size:12px;line-height:1.8}
.s-service-account-help .detail-row>div:first-child{min-width:0}
.s-service-account-help .s-access-steps{list-style:decimal;margin:12px 0;padding-left:1.6em}
.s-service-account-help .s-access-steps li{display:list-item;padding:5px 0;line-height:1.8}
@media(max-width:1050px){.s-mcc-summary{flex-wrap:wrap;gap:7px 10px}.s-mcc-identity{flex-basis:100%}.s-mcc-count{margin-left:auto}}
@media(max-width:520px){.s-mcc-card{padding-bottom:51px}.s-mcc-summary{padding:16px 16px 14px 37px;min-height:80px}.s-mcc-summary::before{left:17px;top:27px}.s-mcc-actions{top:auto;right:14px;bottom:12px}.s-mcc-actions .button{min-height:36px}.s-mcc-accounts{padding:0 13px 12px}.s-mcc-error{padding:0 13px 12px}.s-mcc-count{margin-left:0}.s-mcc-more-primary{grid-template-columns:1fr}}

.cm-root{min-width:0}.cm-panel-top{padding:0 20px}.cm-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line)}.cm-tabs a{display:flex;align-items:center;gap:7px;padding:17px 0;color:var(--muted);font-size:13px;border-bottom:2px solid transparent}.cm-tabs a.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:650}.cm-tabs a:hover{text-decoration:none}.cm-tabs span{font-size:11px;background:var(--bg);border-radius:5px;padding:2px 6px}.cm-filter{display:flex;gap:9px;padding:16px 0;flex-wrap:wrap}.cm-filter input,.cm-filter select{background:var(--surface);border:1px solid var(--line);border-radius:7px;min-height:36px;padding:8px 11px;font:inherit;font-size:12px;color:var(--text);min-width:0}.cm-filter input{width:260px}.cm-filter select{max-width:230px}.cm-table small{display:block;color:var(--muted);font-size:10px;margin-top:5px;max-width:250px;overflow-wrap:anywhere}.cm-actions{gap:5px;flex-wrap:nowrap}.cm-actions .button{padding:6px 9px;min-height:30px;font-size:11px;white-space:nowrap}.cm-footnote{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;padding:14px 20px;font-size:11px;color:var(--muted);border-top:1px solid var(--line)}.cm-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:14px 20px;font-size:12px}.cm-identity{display:grid;gap:6px;margin-bottom:18px;overflow-wrap:anywhere}.cm-identity span,.cm-current{font-size:12px;color:var(--muted);line-height:1.8}.cm-current{padding:12px;background:var(--bg);border-radius:7px;margin-bottom:18px}.cm-amount-form{display:grid;gap:16px}.cm-dialog-actions{justify-content:flex-end;margin-top:22px;gap:9px}.cm-fx{background:var(--bg);padding:12px;border-radius:7px;margin-top:14px;font-size:12px;color:var(--muted);line-height:1.9;overflow-wrap:anywhere}.cm-checkbox{display:flex;gap:9px;align-items:flex-start;font-size:12px;margin-top:14px;line-height:1.7}.cm-checkbox input{width:16px;flex-shrink:0;margin-top:3px}.cm-reason{display:block;font-size:11px;color:var(--muted);margin-top:5px;max-width:280px;white-space:normal;overflow-wrap:anywhere}@media(max-width:660px){.cm-panel-top{padding:0 14px}.cm-tabs{gap:18px}.cm-tabs a{font-size:12px}.cm-filter input{width:100%;flex-basis:100%}.cm-filter select{flex:1;max-width:none}.cm-footnote{padding:12px 14px}.cm-dialog-actions{flex-wrap:wrap}.cm-dialog-actions .button{flex:1}}
.cm-attribution{min-width:215px;max-width:300px;white-space:normal;overflow-wrap:anywhere}.cm-attribution-heading{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.cm-attribution-heading>span:first-child{font-size:12px}.cm-attribution .pill{white-space:nowrap}.cm-attribution-link{margin-top:9px}.cm-link-code-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;line-height:1.6}.cm-link-label{font-size:10px;color:var(--muted);white-space:nowrap}.cm-link-code{font:11px ui-monospace,SFMono-Regular,Menlo,monospace;overflow-wrap:anywhere}.cm-link-code-row .button{min-height:24px;padding:3px 6px;font-size:10px}.cm-table .cm-attribution small{font-size:10px;line-height:1.5;margin-top:3px;max-width:none}.cm-attribution-reason{max-width:280px}.cm-copy-code{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px;background:var(--surface);color:var(--text);font:13px ui-monospace,SFMono-Regular,Menlo,monospace}
.cm-lifecycle-steps{margin:8px 0 0;padding-left:18px;font-size:11px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}.cm-lifecycle-steps li+li{margin-top:4px}

#app-dialog:has([data-cm-manual-cpc]){width:min(1440px,calc(100vw - 32px));max-width:calc(100vw - 32px)}
#app-dialog:has([data-cm-manual-cpc]) table{table-layout:fixed}
#app-dialog:has([data-cm-manual-cpc]) th:first-child{width:36%}
#app-dialog:has([data-cm-manual-cpc]) th:last-child{width:25%}
#app-dialog:has([data-cm-manual-cpc]) :is(th,td){min-width:0;white-space:normal;overflow-wrap:anywhere;vertical-align:top}
#app-dialog:has([data-cm-manual-cpc]) fieldset{min-width:0;display:grid;gap:8px}
.cm-bid-controls{display:grid;gap:8px}
.cm-bid-search{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
.cm-bid-search label{font-size:12px}
.cm-bid-search input{flex:1 1 180px;min-width:0;width:auto}
.cm-bid-search-status{font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0}
.cm-bid-table tr[hidden]{display:none}
@media(max-width:660px){
  #app-dialog:has([data-cm-manual-cpc]) .table-wrap{margin:0}
  #app-dialog:has([data-cm-manual-cpc]) table:not(.cm-bid-table){min-width:640px}
  .cm-bid-table,.cm-bid-table tbody,.cm-bid-table tr,.cm-bid-table td{display:block;width:100%}
  .cm-bid-table thead{display:none}
  .cm-bid-table tr{padding:10px 0;border-bottom:1px solid var(--line)}
  .cm-bid-table tr:last-child{border-bottom:0}
  .cm-bid-table td{padding:6px 0;border:0}
  .cm-bid-table td::before{content:attr(data-label);display:block;margin-bottom:4px;font-size:11px;color:var(--muted)}
  #app-dialog:has([data-cm-manual-cpc]) .cm-dialog-actions{flex-direction:column}
}

.cm-link-details{margin-top:5px;font-size:11px;color:var(--muted)}.cm-link-details>summary{cursor:pointer;line-height:1.7}.cm-link-details[open]{padding-bottom:4px}.cm-link-details small{display:block}
.cm-google-labels{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.cm-google-label{display:inline-block;padding:3px 7px;border-radius:4px;font-size:10px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.cm-google-label-uncolored{background:var(--bg);color:var(--text);border:1px solid var(--line)}.cm-label-filter{position:relative;width:230px;max-width:100%;font-size:12px;padding:0;border:0}.cm-label-filter summary{display:flex;align-items:center;min-height:36px;padding:7px 28px 7px 11px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);cursor:pointer;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cm-label-filter summary::-webkit-details-marker{display:none}.cm-label-filter summary::after{content:'';position:absolute;right:12px;top:14px;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}.cm-label-filter[open] summary::after{top:17px;transform:rotate(225deg)}.cm-label-filter summary .cm-google-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-label-menu{position:absolute;z-index:30;top:calc(100% + 4px);right:0;width:max(100%,260px);max-width:calc(100vw - 40px);max-height:280px;overflow:auto;padding:5px;border:1px solid var(--line);border-radius:7px;background:var(--surface);box-shadow:0 12px 30px rgb(0 0 0 / 12%)}.cm-label-option{display:flex;align-items:center;gap:7px;padding:7px;border-radius:5px;cursor:pointer;white-space:normal}.cm-label-option:hover,.cm-label-option:has(input:focus-visible){background:var(--bg)}.cm-label-option input{width:14px;min-width:14px;height:14px;margin:0}.cm-label-option small{color:var(--muted);font-size:10px;line-height:1.3}.cm-label-option .cm-google-label{flex-shrink:0}@media(max-width:660px){.cm-filter select[name=account],.cm-label-filter{flex:1 1 calc(50% - 5px);width:calc(50% - 5px);max-width:none}.cm-filter [data-action=cm-filter-button]{flex:1 1 100%}}
.cm-filter .cm-label-option input[type=radio]{width:14px;min-width:14px;min-height:14px;height:14px;flex:0 0 14px;padding:0;margin:0;background:transparent}

.cm-label-menu .cm-label-note{padding:7px;color:var(--muted);font-size:11px;line-height:1.6}
.cm-date-range{display:flex;align-items:center;gap:7px;min-width:0;margin-left:auto}.cm-filter .cm-date-range input{width:138px;font-size:12px;padding:7px 8px}.cm-date-range>span{font-size:11px;color:var(--muted)}.cm-performance{padding:19px 20px 14px;border-top:1px solid var(--line)}.cm-performance-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.cm-performance-heading h2{font-size:15px;font-weight:650;margin:0 0 5px}.cm-performance-heading span{font-size:11px;color:var(--muted)}.cm-performance-read{white-space:nowrap}.cm-performance-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;overflow:hidden}.cm-performance-card{display:flex;flex-direction:column;gap:9px;min-width:0;min-height:95px;text-align:left;padding:14px 16px;background:var(--surface);border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font:inherit;color:var(--text)}.cm-performance-card:nth-child(4n){border-right:0}.cm-performance-card:nth-last-child(-n+4){border-bottom:0}button.cm-performance-card{cursor:pointer}.cm-performance-card:hover:is(button){background:var(--bg)}.cm-performance-card.active{background:var(--metric-color);color:var(--metric-ink);border-color:var(--metric-color)}.cm-performance-card.active:hover{background:var(--metric-color);filter:brightness(.96)}.cm-performance-card:focus-visible{outline:3px solid var(--primary);outline-offset:-4px}.cm-metric-label{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.cm-metric-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--metric-color);flex:0 0 7px}.cm-performance-card.active .cm-metric-dot{background:currentColor}.cm-metric-check{margin-left:auto;font-size:13px;line-height:1}.cm-performance-card.active .cm-metric-label{color:inherit;opacity:.9}.cm-performance-card strong{font-size:23px;font-weight:550;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.cm-performance-card .cm-money-line{font-size:19px;line-height:1.35}.cm-money-line{display:block;white-space:nowrap;font-variant-numeric:tabular-nums}.cm-money-line+.cm-money-line{margin-top:3px}.cm-trend-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600;margin:19px 0 4px}.cm-trend-heading>span+span{font-size:10px;font-weight:400;color:var(--muted)}.cm-trend-viewport{max-width:100%;overflow:auto}.cm-trend-chart{display:block;width:100%;min-width:480px;height:auto}.cm-trend-grid{stroke:var(--line);stroke-width:1}.cm-trend-axis{fill:var(--muted);font-size:11px}.cm-trend-line{fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}.cm-trend-point{stroke:var(--surface);stroke-width:1.5}.cm-trend-empty{display:flex;justify-content:center;align-items:center;min-height:145px;color:var(--muted);font-size:12px;background:var(--bg);border-radius:6px;margin-top:8px}.cm-performance-note{font-size:11px;line-height:1.7;color:var(--muted);margin:9px 0 0;overflow-wrap:anywhere}.cm-data-notes{padding:0;border:0;margin-top:10px;font-size:11px;color:var(--muted)}.cm-data-notes summary{cursor:pointer}.cm-data-notes p{font-size:11px;line-height:1.8;margin:7px 0 0}.cm-row-read{display:flex;gap:2px;margin:7px 0 0;flex-wrap:wrap}.cm-row-read .button{font-size:10px;min-height:23px;padding:3px 6px}.cm-table .cm-number{text-align:right;white-space:nowrap;font-size:12px;font-variant-numeric:tabular-nums}.cm-table .cm-number .cm-money-line{font-size:12px}.cm-table .cm-number small{font-size:9px}.cm-table .cm-shared-value{color:var(--muted)}#dialog-body .cm-performance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}#dialog-body .cm-performance-card:nth-child(2n){border-right:0}#dialog-body .cm-performance-card:nth-child(4n+1),#dialog-body .cm-performance-card:nth-child(4n+3){border-right:1px solid var(--line)}#dialog-body .cm-performance-card:nth-last-child(-n+4){border-bottom:1px solid var(--line)}#dialog-body .cm-performance-card:nth-last-child(-n+2){border-bottom:0}
@media(min-width:1680px){.cm-performance-cards{grid-template-columns:repeat(8,minmax(0,1fr))}.cm-performance-card{border-bottom:0}.cm-performance-card:nth-child(4n){border-right:1px solid var(--line)}.cm-performance-card:last-child{border-right:0}.cm-performance-card .cm-money-line{font-size:18px}}
@media(max-width:900px){.cm-date-range{margin-left:0}.cm-performance-card{padding:13px 12px}.cm-performance-card strong{font-size:21px}.cm-performance-card .cm-money-line{font-size:17px}.cm-performance-heading{align-items:flex-start}.cm-performance-read{white-space:normal;text-align:right;max-width:130px}}
@media(max-width:660px){.cm-performance{padding:16px 14px 12px}.cm-performance-heading{gap:9px}.cm-performance-heading h2{font-size:14px}.cm-performance-heading span{font-size:10px}.cm-performance-read{max-width:110px}.cm-performance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-performance-card{min-height:85px}.cm-performance-card:nth-child(2n){border-right:0}.cm-performance-card:nth-last-child(-n+4){border-bottom:1px solid var(--line)}.cm-performance-card:nth-last-child(-n+2){border-bottom:0}.cm-performance-card strong{font-size:22px}.cm-performance-card .cm-money-line{font-size:17px}.cm-date-range{width:100%;flex:1 1 100%}.cm-filter .cm-date-range input{width:calc(50% - 15px);flex:1;min-width:0}.cm-date-range>span{flex:0}.cm-performance-note{font-size:10px}.cm-trend-chart{min-width:480px}}
.cm-filter input[type=search]{width:auto;flex:1 1 180px;min-width:140px}.cm-filter select[name=account]{width:180px;max-width:180px}.cm-label-filter{width:180px}.cm-performance-basis{font-size:10px;color:var(--muted);line-height:1.6;margin:9px 0 0}@media(max-width:660px){.cm-filter input[type=search]{width:100%;flex:1 1 100%}.cm-filter select[name=account],.cm-label-filter{width:calc(50% - 5px);max-width:none}}
.cm-performance-card .cm-money-line{white-space:normal;overflow-wrap:anywhere}@media(max-width:660px){.cm-performance-card .cm-money-line{font-size:16px}}
.cm-label-api-note{flex-basis:100%;line-height:1.6}

.cm-trend-scale-note{font-size:11px;line-height:1.7;color:var(--muted);margin:8px 0}.cm-trend-legend{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;padding:0;margin:12px 0 10px}.cm-trend-legend li{display:flex;align-items:flex-start;gap:7px;min-width:145px;max-width:300px;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.cm-trend-legend svg{width:26px;height:8px;flex:0 0 26px;margin-top:4px;overflow:visible}.cm-trend-legend small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.cm-trend-swatch{width:8px;height:8px;border-radius:50%;flex:0 0 8px;margin:4px 9px 0}.cm-trend-unavailable{color:var(--muted)}.cm-trend-data{font-size:11px;color:var(--muted);margin:8px 0}.cm-trend-data>summary{cursor:pointer;padding:5px 0}.cm-trend-data .table-wrap{margin-top:7px;max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:6px}.cm-trend-data table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.cm-trend-data caption{text-align:left;padding:9px;white-space:normal;font-size:10px}.cm-trend-data th,.cm-trend-data td{padding:8px 10px;border-top:1px solid var(--line);text-align:right}.cm-trend-data th:first-child{text-align:left}.cm-trend-data td small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.cm-trend-data thead th{position:sticky;top:0;background:var(--bg);z-index:1}#dialog-body .cm-trend-legend{gap:9px 16px}#dialog-body .cm-trend-legend li{min-width:130px;max-width:100%}@media(max-width:660px){.cm-trend-legend{gap:9px 14px}.cm-trend-legend li{min-width:120px;max-width:100%;flex:1 1 140px}.cm-trend-scale-note{font-size:10px}.cm-metric-label{font-size:10px;gap:5px}}

/* Saved settings and comparable traffic windows share one reading path. */
.cm-adjustments{padding:20px;border-top:1px solid var(--line);min-width:0}.cm-adjustments-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.cm-adjustments h2,.cm-list-heading h2{margin:0;font-size:15px;font-weight:650}.cm-adjustments-heading p{margin:6px 0 0;color:var(--muted);font-size:11px;line-height:1.7}.cm-adjustment-windows{display:flex;gap:5px;flex-shrink:0}.cm-adjustment-windows .button{min-height:30px;padding:6px 9px;font-size:11px;white-space:nowrap}.cm-adjustment-empty{margin:0;padding:19px 16px;background:var(--bg);border-radius:8px;color:var(--muted);font-size:12px;line-height:1.8}.cm-adjustment-empty strong{color:var(--text);font-weight:550}.cm-adjustment-empty p{margin:5px 0}.cm-adjustment-empty small{font-size:11px}.cm-adjustment-focused{border:1px solid var(--line);border-radius:8px;padding:15px;background:var(--surface)}.cm-adjustment-event-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cm-adjustment-event-heading h3,.cm-scope-comparison h3,.cm-adjustment-history-heading h3{font-size:12px;margin:0 0 5px;font-weight:650}.cm-adjustment-event-heading>div{min-width:0;overflow-wrap:anywhere}.cm-adjustment-event-heading span{font-size:10px;color:var(--muted);line-height:1.6}.cm-adjustment-status{background:var(--bg);padding:4px 8px;border-radius:4px;flex-shrink:0}.cm-adjustment-settings{display:flex;flex-wrap:wrap;gap:12px 30px;margin-top:14px}.cm-adjustment-settings>div{display:grid;grid-template-columns:1fr auto;gap:5px 14px;min-width:190px}.cm-adjustment-settings>div>span{grid-column:1/-1;font-size:10px;color:var(--muted)}.cm-adjustment-settings strong{font-size:13px;font-weight:550;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cm-adjustment-settings strong span{font-weight:400;color:var(--muted);margin:0 3px}.cm-adjustment-settings small{align-self:center;font-size:12px;color:var(--primary);font-variant-numeric:tabular-nums}.cm-adjustment-note{font-size:11px;color:var(--muted);line-height:1.75;margin:11px 0 0;overflow-wrap:anywhere}.cm-comparison-periods{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0 10px;font-size:10px;line-height:1.7;color:var(--muted)}.cm-comparison-periods small{display:block;color:var(--muted)}.cm-adjustment-comparison .table-wrap,.cm-adjustment-ratios .table-wrap,.cm-phase-history .table-wrap{overflow:auto;max-width:100%;border:1px solid var(--line);border-radius:6px}.cm-adjustments table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}.cm-adjustments table th,.cm-adjustments table td{padding:9px 11px;text-align:right;white-space:nowrap;min-width:75px}.cm-adjustments table th:first-child{text-align:left;min-width:95px}.cm-adjustments table small{display:block;max-width:none;white-space:normal;line-height:1.6;font-size:9px;color:var(--muted);margin-top:3px}.cm-adjustments .cm-change{color:var(--primary)}.cm-adjustment-ratios,.cm-phase-history,.cm-adjustment-notes,.cm-adjustment-method,.cm-phase-all-metrics{padding:0;border:0;margin-top:14px;font-size:11px;color:var(--muted)}.cm-adjustments details>summary{cursor:pointer;font-size:11px;line-height:1.7}.cm-adjustments details>p{font-size:10px;margin:5px 0 9px;padding:0;line-height:1.8}.cm-adjustment-notes ul{font-size:11px;line-height:1.8;padding-left:20px;margin:7px 0}.cm-phase-history{margin-top:15px}.cm-phase-history .table-wrap{margin-top:9px}.cm-phase-all-metrics section{margin-top:12px}.cm-phase-all-metrics h4{font-size:11px;margin:0 0 6px}.cm-scope-comparison{margin-top:17px}.cm-scope-group{padding:10px 0 0;border:0;margin-top:8px}.cm-scope-group>summary{font-weight:550;color:var(--text)}.cm-adjustment-history-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 8px}.cm-adjustment-history-heading h3{margin:0}.cm-adjustment-history-heading>span{font-size:10px;color:var(--muted)}.cm-adjustment-events{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:7px}.cm-adjustment-event{width:100%;display:flex;justify-content:space-between;align-items:center;gap:14px;text-align:left;border:0;border-bottom:1px solid var(--line);background:var(--surface);padding:10px 12px;color:var(--text);font:inherit;cursor:pointer}.cm-adjustment-event:last-child{border-bottom:0}.cm-adjustment-event:hover{background:var(--bg)}.cm-adjustment-event.active{background:var(--primary-soft);box-shadow:inset 3px 0 var(--primary)}.cm-adjustment-event>span:first-child{min-width:0;overflow-wrap:anywhere}.cm-adjustment-event strong{font-size:11px;font-weight:550}.cm-adjustment-event small{display:block;font-size:10px;color:var(--muted);line-height:1.7;margin-top:4px}.cm-event-changes{display:grid;gap:5px;flex-shrink:0;font-size:10px;color:var(--primary);text-align:right;font-variant-numeric:tabular-nums}.cm-adjustment-event:focus-visible,.cm-adjustment-markers button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.cm-adjustment-open-campaign{display:flex;justify-content:flex-end;margin-top:9px}.cm-adjustment-open-campaign .button{min-height:30px;font-size:11px}.cm-adjustment-pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-size:10px;color:var(--muted);margin-top:10px}.cm-adjustment-pager .button{min-height:28px;padding:5px 9px;font-size:10px}.cm-adjustment-method{margin-top:15px}.cm-adjustment-markers{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:12px 0 4px;font-size:10px;color:var(--muted)}.cm-adjustment-markers>span{margin-right:3px}.cm-adjustment-markers button{border:1px solid var(--line);background:var(--surface);padding:5px 7px;border-radius:5px;color:var(--primary);font:inherit;cursor:pointer}.cm-detail-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:15px}.cm-detail-toolbar p{margin:0;font-size:10px;line-height:1.8}.cm-detail-toolbar .button{font-size:11px;min-height:30px;padding:6px 9px;white-space:nowrap}#dialog-body .cm-adjustments{padding:20px 0 0;margin-top:20px}#dialog-body .cm-adjustments-heading{display:block}#dialog-body .cm-adjustment-windows{margin-top:12px}#dialog-body .cm-adjustment-focused{padding:12px}#dialog-body .cm-adjustment-settings{gap:14px}#dialog-body .cm-adjustment-settings>div{min-width:0;flex:1 1 200px}
.cm-list-heading{padding:18px 20px 12px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line)}.cm-list-heading span{display:block;color:var(--muted);font-size:11px;margin-top:5px}.cm-pw-toggle{font-size:11px;min-height:32px;padding:7px 11px}.cm-pw-toggle[aria-pressed=true]{color:var(--primary);border-color:var(--primary)}.cm-list-scroll{isolation:isolate;position:relative;margin:0;max-width:100%;overflow:auto}.cm-table thead .cm-campaign-column,.cm-table thead .cm-operation-column{background:var(--bg);z-index:3}.cm-table .cm-actions{display:grid;gap:7px;align-content:start}.cm-table .cm-actions>.button{width:100%;min-height:30px;padding:6px 7px;font-size:10px}.cm-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.cm-table .cm-secondary-actions .button{width:100%;min-height:30px;font-size:10px;padding:6px 3px;white-space:nowrap}.cm-more{padding:0;border:0;border-top:1px solid var(--line);font-size:10px;text-align:left;margin-top:1px}.cm-more>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:400;color:var(--muted);padding:7px 2px 2px;list-style:none;min-height:26px;box-sizing:border-box}.cm-more>summary::-webkit-details-marker{display:none}.cm-more>summary::after{content:'⌄';margin-left:5px}.cm-more[open]>summary::after{content:'⌃'}.cm-more>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:3px}.cm-more-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:7px 0 0}.cm-more-menu .button{width:100%;min-width:0;font-size:10px;padding:6px 3px;min-height:28px;white-space:normal;overflow-wrap:anywhere;line-height:1.35;text-align:center}.cm-more-menu .button:last-child:nth-child(odd){grid-column:1/-1}.cm-table .cm-pending-result{font-size:9px;text-align:center;color:var(--muted)}.cm-pw-column[hidden]{display:none}
@media(max-width:900px){.cm-adjustments-heading{flex-wrap:wrap}.cm-adjustments-heading .cm-adjustment-windows{margin-left:0}.cm-adjustment-settings{gap:12px 22px}}
@media(max-width:660px){.cm-adjustments{padding:17px 14px}.cm-adjustments-heading{gap:12px;margin-bottom:13px}.cm-adjustments h2,.cm-list-heading h2{font-size:14px}.cm-adjustment-windows{width:100%;gap:5px}.cm-adjustment-windows .button{flex:1;min-height:34px;font-size:10px;padding:7px 5px}.cm-adjustment-focused{padding:12px}.cm-adjustment-event-heading{gap:8px}.cm-adjustment-event-heading h3{font-size:11px}.cm-adjustment-status{padding:3px 5px;max-width:95px;text-align:center}.cm-adjustment-settings{display:grid;gap:14px}.cm-adjustment-settings>div{min-width:0}.cm-adjustment-settings strong{font-size:12px}.cm-comparison-periods{grid-template-columns:1fr;gap:6px}.cm-comparison-periods>span{background:var(--bg);padding:6px 8px;border-radius:4px}.cm-adjustments table th,.cm-adjustments table td{font-size:10px;padding:8px;min-width:67px}.cm-adjustments table th:first-child{min-width:92px}.cm-adjustment-event{gap:9px;padding:10px}.cm-adjustment-event strong{font-size:10px}.cm-adjustment-event small{font-size:9px}.cm-event-changes{font-size:9px;max-width:95px}.cm-adjustment-empty{font-size:11px;padding:14px 12px}.cm-adjustment-note{font-size:10px}.cm-adjustment-open-campaign .button{width:100%}.cm-list-heading{padding:16px 14px 12px}.cm-list-heading span{font-size:10px}.cm-table .cm-actions>.button{font-size:9px;padding:7px 4px}.cm-table small{font-size:9px}.cm-row-read .button{font-size:9px}.cm-detail-toolbar{display:block}.cm-detail-toolbar .button{margin-top:8px}#dialog-body .cm-adjustments{padding-top:18px}.cm-phase-history table{min-width:900px}.cm-adjustment-markers{gap:5px}.cm-adjustment-markers button{font-size:9px}.cm-adjustment-markers>span{flex-basis:100%}}
.cm-mobile-scroll-note{display:none}@media(max-width:660px){.cm-mobile-scroll-note{display:block;font-size:9px;color:var(--muted);margin:6px 0 0}}
.cm-detail-sections{display:flex;gap:16px;border-bottom:1px solid var(--line);margin:0 0 15px;padding-bottom:8px}.cm-detail-sections .button{font-size:11px;padding:5px 2px;min-height:27px;color:var(--primary)}#cm-detail-performance,#cm-adjustments-detail{scroll-margin-top:12px}
.cm-trend-adjustment-marker line{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:4 5;opacity:.6}.cm-trend-adjustment-marker path{fill:var(--muted);stroke:var(--surface);stroke-width:1}
.cm-history-scope{display:block;font-size:10px;color:var(--muted);font-weight:400;line-height:1.7;margin-top:7px}.cm-list-tabs{padding:0 20px;gap:23px}.cm-list-tabs a{padding:10px 0 12px}.cm-list-heading{border-top:1px solid var(--line)}.cm-lifecycle-panel{padding:0;border:0;margin-top:17px;font-size:11px;color:var(--muted)}.cm-lifecycle-panel>summary{cursor:pointer}.cm-lifecycle-events{list-style:none;max-height:260px;overflow:auto;padding:0;margin:10px 0 0;border:1px solid var(--line);border-radius:7px}.cm-lifecycle-events li{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-bottom:1px solid var(--line);font-size:11px;line-height:1.7}.cm-lifecycle-events li:last-child{border-bottom:0}.cm-lifecycle-events strong{font-weight:550;color:var(--text)}.cm-lifecycle-events small{display:block;font-size:10px;color:var(--muted);margin-top:3px;overflow-wrap:anywhere}.cm-lifecycle-events li:focus{outline:2px solid var(--primary);outline-offset:-2px;background:var(--primary-soft)}.cm-lifecycle-symbol{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;border:1px solid var(--line);font-size:12px;flex:0 0 20px}.cm-lifecycle-markers button{color:var(--muted)}.cm-trend-event-marker line{stroke:var(--muted);stroke-width:1.2;stroke-dasharray:4 5;opacity:.6}.cm-trend-event-marker path,.cm-trend-event-marker circle{fill:var(--muted);stroke:var(--surface);stroke-width:1}.cm-history-readonly{color:var(--muted)}@media(max-width:660px){.cm-list-tabs{padding:0 14px;gap:17px;overflow:auto}.cm-list-tabs a{font-size:11px;white-space:nowrap}.cm-history-scope{font-size:9px}.cm-lifecycle-events li{padding:10px;font-size:10px}.cm-lifecycle-events small{font-size:9px}.cm-lifecycle-panel>p{font-size:10px}}

/* One column definition drives headers, cells and optional PW columns. */
.cm-table{width:100%;min-width:var(--cm-table-width);table-layout:fixed}.cm-table col{width:var(--cm-col-width)}.cm-table th,.cm-table td{box-sizing:border-box;min-width:0;max-width:none;padding:12px;text-align:left;vertical-align:middle}.cm-table th,.cm-table th.cm-number{font-size:10px;white-space:nowrap}.cm-table td{overflow-wrap:anywhere}.cm-table th.cm-number,.cm-table td.cm-number{text-align:right;font-variant-numeric:tabular-nums}.cm-table td.cm-number{white-space:normal}.cm-table td.cm-number small{max-width:none;white-space:normal}.cm-table .cm-money-line{white-space:normal}.cm-table .cm-campaign-column{position:sticky;left:0;z-index:2;background:var(--surface);white-space:normal;box-shadow:5px 0 9px -8px #52617980}.cm-table .cm-account-column{white-space:normal}.cm-table .cm-operation-column{position:sticky;right:0;z-index:2;background:var(--surface);box-shadow:-5px 0 9px -8px #52617980}.cm-table thead .cm-campaign-column,.cm-table thead .cm-operation-column{background:var(--bg);z-index:3}
.cm-budget-summary{display:grid;grid-template-columns:minmax(155px,auto) 1fr;align-items:start;gap:8px 22px;border:1px solid var(--line);border-radius:7px;padding:13px 15px;margin-top:12px;font-size:12px}.cm-budget-label{font-weight:550;line-height:1.6}.cm-budget-label small{display:block;font-size:10px;color:var(--muted);font-weight:400}.cm-budget-values{display:flex;flex-wrap:wrap;gap:6px 26px;font-size:14px;font-weight:550;font-variant-numeric:tabular-nums}.cm-budget-currency{min-width:110px}.cm-budget-empty{font-size:11px;font-weight:400;color:var(--muted)}.cm-budget-summary>p{grid-column:1/-1;font-size:10px;line-height:1.7;color:var(--muted);margin:0}
@media(max-width:660px){.cm-table{min-width:calc(var(--cm-table-width) - 125px)}.cm-table col[data-column=campaign]{width:140px}.cm-table col[data-column=operation]{width:105px}.cm-table th,.cm-table td{padding:11px 9px}.cm-table .cm-campaign-column>strong{font-size:11px;line-height:1.55}.cm-table .cm-operation-column{padding:9px 6px}.cm-budget-summary{grid-template-columns:1fr;gap:9px;padding:12px}.cm-budget-values{font-size:13px;gap:6px 22px}.cm-budget-summary>p{font-size:9px}}

/* Performance starts with answers; chart choices and explanations are secondary. */
.cm-trend-zero-point{fill:var(--muted);stroke:var(--surface);stroke-width:1}
.cm-trend-zero-reference{stroke:var(--muted);opacity:.45}
.cm-performance-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border-radius:7px}.cm-performance-cards .cm-performance-card,#dialog-body .cm-performance-cards .cm-performance-card{background:var(--surface);color:var(--text);border:0;min-height:91px;padding:14px 16px;gap:7px}.cm-performance-card .cm-metric-label{font-size:11px;color:var(--muted)}.cm-performance-card strong{font-size:24px;line-height:1.35}.cm-performance-card small{font-size:10px;color:var(--muted);line-height:1.5}.cm-performance-card[data-state=unknown] strong,.cm-performance-card[data-state=no-clicks] strong{font-size:17px;font-weight:500;color:var(--muted)}#dialog-body .cm-performance-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.cm-performance-card .cm-money-line{font-size:20px}
.cm-detail-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 18px}.cm-detail-header>div:first-child{min-width:0}.cm-detail-header h2{font-size:16px;font-weight:650;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.cm-detail-header p{font-size:11px;color:var(--muted);line-height:1.7;margin:3px 0;overflow-wrap:anywhere}.cm-detail-header .cm-detail-date{color:var(--text);margin-top:8px}.cm-detail-header small{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:4px}.cm-detail-header>.actions{flex-shrink:0;gap:6px;flex-direction:column;align-items:stretch}.cm-detail-header .button{font-size:11px;padding:7px 10px;min-height:31px;white-space:nowrap}
.cm-pw-performance{border:1px solid var(--line);border-radius:7px;margin-top:14px;padding:12px 15px}.cm-pw-heading{display:flex;align-items:baseline;gap:10px;margin-bottom:11px}.cm-pw-heading h3{font-size:12px;font-weight:650;margin:0}.cm-pw-heading>span{font-size:10px;color:var(--muted)}.cm-pw-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.cm-pw-value{display:flex;flex-direction:column;gap:5px;min-width:0}.cm-pw-value>span{font-size:10px;color:var(--muted)}.cm-pw-value strong{font-size:13px;font-weight:550;line-height:1.6;overflow-wrap:anywhere}.cm-pw-value small{font-size:9px;line-height:1.6;color:var(--muted)}.cm-pw-value:not([data-state=known]) strong{font-size:12px;font-weight:450;color:var(--muted)}.cm-pw-value .cm-money-line{white-space:normal;font-size:13px}
.cm-trend-heading{margin-top:20px}.cm-trend-controls{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0 14px}.cm-trend-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--muted);font:inherit;font-size:11px;padding:7px 9px;min-height:31px;cursor:pointer}.cm-trend-chip-dot{width:6px;height:6px;background:var(--metric-color);border-radius:50%;flex-shrink:0}.cm-trend-chip.active{color:var(--text);border-color:var(--metric-color);box-shadow:inset 0 -2px var(--metric-color)}.cm-trend-chip:disabled{cursor:default;background:var(--bg);color:var(--muted);opacity:.72}.cm-trend-chip:disabled .cm-trend-chip-dot{background:var(--muted)}.cm-trend-chip small{font-size:9px;opacity:.85}.cm-trend-chip:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.cm-trend-group{padding:10px 0 3px}.cm-trend-group+.cm-trend-group{border-top:1px solid var(--line);margin-top:10px}.cm-trend-group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.cm-trend-group h3{font-size:11px;font-weight:550;color:var(--muted);margin:0;white-space:nowrap}.cm-trend-group .cm-trend-legend{margin:0;gap:6px 16px}.cm-trend-group .cm-trend-legend li{min-width:0;max-width:none;font-size:10px;gap:5px}.cm-trend-group .cm-trend-swatch{width:6px;height:6px;flex-basis:6px;margin:4px 1px 0}.cm-trend-group .cm-trend-legend small{font-size:9px}.cm-trend-chart{min-width:440px}.cm-trend-zero-line{fill:none;stroke-width:2;stroke-linecap:round}.cm-trend-zero-label{font-size:13px;fill:var(--muted)}.cm-chart-records,.cm-analysis-disclosure{border:0;padding:0;margin-top:13px;font-size:11px;color:var(--muted)}.cm-chart-records>summary,.cm-analysis-disclosure>summary{cursor:pointer;line-height:1.7}.cm-analysis-disclosure{border-top:1px solid var(--line);padding:15px 20px;margin-top:0;color:var(--text)}.cm-analysis-disclosure>summary strong{font-size:12px;font-weight:600}.cm-analysis-disclosure>summary span{font-size:10px;color:var(--muted);margin-left:10px}.cm-analysis-disclosure .cm-adjustments{border-top:0;padding:17px 0 0}.cm-analysis-disclosure[open]>summary{margin-bottom:0}#dialog-body .cm-analysis-disclosure{padding:16px 0;margin-top:15px}#dialog-body .cm-analysis-disclosure .cm-adjustments{padding-top:15px;margin-top:0}.cm-data-notes{line-height:1.8}.cm-data-notes>.cm-attribution{margin-top:12px;max-width:none}.cm-chart-records .cm-adjustment-markers{margin-top:9px}.cm-performance .cm-budget-summary{background:var(--bg)}
@media(max-width:660px){.cm-performance-cards,#dialog-body .cm-performance-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cm-performance-cards .cm-performance-card,#dialog-body .cm-performance-cards .cm-performance-card{min-height:84px;padding:12px;gap:6px}.cm-performance-card strong{font-size:23px}.cm-performance-card .cm-money-line{font-size:18px}.cm-detail-header{display:block;margin-bottom:15px}.cm-detail-header h2{font-size:14px}.cm-detail-header>.actions{flex-direction:row;justify-content:flex-start;flex-wrap:wrap;margin-top:11px}.cm-detail-header .button{min-height:34px}.cm-pw-performance{padding:12px;margin-top:12px}.cm-pw-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 12px}.cm-trend-chip{font-size:10px;padding:7px;min-height:34px}.cm-trend-chip small{font-size:8px}.cm-trend-heading>span+span{font-size:9px;max-width:145px;text-align:right}.cm-trend-group-heading{align-items:flex-start}.cm-trend-group .cm-trend-legend{gap:6px 10px;justify-content:flex-end}.cm-trend-group .cm-trend-legend li{flex:0 1 auto;font-size:9px}.cm-analysis-disclosure{padding:14px}.cm-analysis-disclosure>summary span{display:block;margin:4px 0 0 14px}.cm-trend-group h3{font-size:10px}.cm-trend-zero-label{font-size:14px}}
@media(max-width:660px){.cm-trend-axis{font-size:19px}.cm-trend-zero-label{font-size:24px}}
.cm-report-currency{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px;font-size:11px;color:var(--muted);line-height:1.7;margin:0 0 11px}.cm-report-currency strong{font-weight:650;color:var(--text)}.cm-report-currency small{font-size:10px;margin-left:7px}.cm-native-money{padding:0;border:0;font-size:11px;color:var(--muted);line-height:1.8;margin-top:12px}.cm-native-money>summary{cursor:pointer}.cm-native-money>p{font-size:10px;line-height:1.8;margin:8px 0}.cm-native-money .table-wrap{margin:9px 0;max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:6px}.cm-native-money table{min-width:450px;font-size:11px;font-variant-numeric:tabular-nums}.cm-native-money th,.cm-native-money td{padding:9px 11px;text-align:right;white-space:nowrap}.cm-native-money th:first-child{text-align:left}.cm-native-money .cm-money-line{font-size:11px}.cm-performance-card[data-state=pending-fx] strong{font-size:17px;font-weight:500;color:var(--muted)}.cm-table thead small{font-size:9px;color:var(--muted);line-height:1.4;margin-top:3px;font-weight:400}
@media(max-width:660px){.cm-report-currency{font-size:10px;margin-bottom:10px}.cm-report-currency small{font-size:9px}.cm-native-money{font-size:10px}.cm-native-money>p{font-size:9px}.cm-native-money th,.cm-native-money td{font-size:10px;padding:8px}}

/* One compact date plot; each unit keeps its own shared, true-value axis. */
.cm-trend-combined{border:1px solid var(--line);border-radius:8px;padding:11px 12px 9px;background:var(--surface)}.cm-trend-combined .cm-trend-legend{margin:0 0 8px;gap:7px 18px}.cm-trend-combined .cm-trend-legend li{min-width:0;max-width:none;gap:5px;font-size:10px;align-items:center}.cm-trend-combined .cm-trend-swatch{width:6px;height:6px;flex-basis:6px;margin:0 2px 0 0}.cm-trend-combined .cm-trend-legend small{display:inline;font-size:9px;margin:0 0 0 5px;white-space:nowrap}.cm-trend-combined .cm-trend-chart{width:100%;min-width:620px;height:280px}.cm-trend-combined .cm-trend-axis{font-size:11px}.cm-trend-combined .cm-trend-axis-title{font-weight:600;font-size:11px;fill:var(--text)}.cm-trend-axis-rule{stroke:var(--line);stroke-width:1}.cm-trend-unit-zero{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4;opacity:.42}.cm-trend-hit{fill:transparent}.cm-trend-hover-guide{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 4;opacity:.5;pointer-events:none}.cm-trend-combined .cm-trend-chart:focus-visible{outline:2px solid var(--primary);outline-offset:-2px;border-radius:3px}.cm-trend-hover{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px;min-height:33px;background:var(--bg);border-radius:5px;padding:9px 11px;font-size:10px;line-height:1.7;font-variant-numeric:tabular-nums}.cm-trend-hover>strong{font-size:10px;font-weight:600;color:var(--text);white-space:nowrap}.cm-trend-hover-value{display:inline-flex;align-items:center;gap:5px;color:var(--muted);white-space:nowrap}.cm-trend-hover-value i{width:6px;height:6px;border-radius:50%;flex:0 0 6px}.cm-trend-hover-value b{color:var(--text);font-weight:550}.cm-trend-hover-value small{font-size:9px;color:var(--muted)}.cm-trend-interaction-note{font-size:10px;color:var(--muted);line-height:1.6;margin:7px 0 0}.cm-report-currency .cm-fx-refresh-status[data-status=failed]{color:var(--text)}#dialog-body .cm-trend-combined .cm-trend-chart{height:250px}#dialog-body .cm-trend-combined .cm-trend-legend li{min-width:0;max-width:none}
@media(max-width:660px){.cm-trend-combined{padding:9px 8px 8px}.cm-trend-combined .cm-trend-legend{gap:7px 13px}.cm-trend-combined .cm-trend-legend li{flex:0 1 auto;font-size:10px}.cm-trend-combined .cm-trend-axis,.cm-trend-combined .cm-trend-axis-title{font-size:12px}.cm-trend-combined .cm-trend-date-axis{font-size:11px}.cm-trend-combined .cm-trend-zero-label{font-size:14px}.cm-trend-hover{gap:7px 13px;padding:8px;font-size:10px}.cm-trend-hover>strong{flex-basis:100%}.cm-trend-hover-value{flex-wrap:wrap;white-space:normal;gap:3px 5px}.cm-trend-interaction-note{font-size:9px}}

/* Link amounts stay on the link; campaign relationships expand on demand. */
.cm-pw-link-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 12px;margin:14px 0 9px;border-top:1px solid var(--line);padding-top:12px}
.cm-pw-link-heading h4{font-size:12px;font-weight:600;margin:0}.cm-pw-link-heading>span,.cm-pw-link-empty{font-size:10px;color:var(--muted);line-height:1.6}.cm-pw-link-empty{margin:12px 0 0}
.cm-pw-link-rules{margin-left:auto;font-size:10px;color:var(--muted)}.cm-pw-link-rules>summary{cursor:pointer}.cm-pw-link-rules p{margin:7px 0 0;line-height:1.7;max-width:600px}.cm-pw-link-rules[open]{flex-basis:100%;margin-left:0}
.cm-pw-link-scroll{max-width:100%;max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:6px}.cm-pw-link-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
.cm-pw-link-table{width:100%;table-layout:fixed;font-size:11px;border-collapse:collapse}.cm-pw-link-table th,.cm-pw-link-table td{padding:9px 12px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.cm-pw-link-table tr:last-child>*{border-bottom:0}.cm-pw-link-table thead th{position:sticky;top:0;background:var(--bg);z-index:1;font-weight:550;font-size:10px}.cm-pw-link-table th:first-child{width:190px}.cm-pw-link-table th:nth-child(2){width:140px;text-align:right}.cm-pw-link-table tbody th{font-weight:500;background:transparent}.cm-pw-link-table small{display:block;font-size:9px;font-weight:400;color:var(--muted);line-height:1.6;margin-top:3px}.cm-pw-link-table .cm-pw-link-amount{text-align:right;font-variant-numeric:tabular-nums}.cm-pw-link-amount .cm-money-line{font-size:12px;white-space:normal}.cm-pw-formal-code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;color:var(--primary);white-space:nowrap}
.cm-pw-link-details{border:0;padding:0;min-width:0}.cm-pw-link-details>summary{position:relative;cursor:pointer;list-style:none;padding-right:20px;min-width:0;line-height:1.5}.cm-pw-link-details>summary::-webkit-details-marker{display:none}.cm-pw-link-details>summary::after{content:'⌄';position:absolute;right:1px;top:0;color:var(--muted)}.cm-pw-link-details[open]>summary::after{content:'⌃'}.cm-pw-owner-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.cm-pw-link-details>summary small{font-size:9px;margin-top:2px}.cm-pw-link-detail-body{margin-top:9px;padding-top:9px;border-top:1px solid var(--line)}.cm-pw-link-owners{list-style:none;margin:0;padding:0;max-height:220px;overflow-y:auto}.cm-pw-link-owners li+li{margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}.cm-pw-link-owners strong{font-size:11px;font-weight:500;line-height:1.5}.cm-pw-link-owners small{margin-top:2px}.cm-pw-link-detail-body>small{margin-top:8px}
@media(max-width:660px){.cm-pw-link-heading{margin-top:12px;padding-top:10px}.cm-pw-link-table,.cm-pw-link-table tbody{display:block;width:100%;min-width:0}.cm-pw-link-table thead{display:none}.cm-pw-link-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:10px;border-bottom:1px solid var(--line)}.cm-pw-link-table tbody tr:last-child{border-bottom:0}.cm-pw-link-table tbody th,.cm-pw-link-table tbody td{display:block;width:auto;padding:0;border:0}.cm-pw-link-table tbody th:first-child{width:auto}.cm-pw-link-table .cm-pw-link-relation{grid-column:1/-1}.cm-pw-link-table .cm-pw-link-amount{min-width:84px}.cm-pw-link-amount .cm-money-line{font-size:11px}.cm-pw-formal-code{font-size:10px}.cm-pw-link-scroll{max-height:360px}}

/* Pointer selection is indicated by the date guide, not a focus frame. */
.cm-trend-combined .cm-trend-chart[data-input-mode="pointer"]:focus{outline:none!important;box-shadow:none!important}.cm-filter select[name="status"]{width:142px;max-width:142px}.cm-delivery-status{display:inline-flex;align-items:flex-start;gap:7px;color:var(--text);font-size:12px;line-height:1.6;white-space:normal}.cm-delivery-status>i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:#80868b;margin-top:6px}.cm-delivery-status[data-tone="success"]>i,.cm-delivery-status[data-tone="learning"]>i{background:#188038}.cm-delivery-status[data-tone="warning"]>i{background:#f9ab00}.cm-delivery-status[data-tone="danger"]>i{background:#d93025}.cm-table .cm-delivery-status small,.cm-detail-status .cm-delivery-status small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.6;max-width:none}.cm-detail-status{margin:7px 0 3px}@media(max-width:660px){.cm-filter select[name="status"]{width:100%;max-width:none;flex:1 1 100%}.cm-delivery-status{font-size:11px}}

/* Billing remains visible before queries and explains the cash/API boundary. */
.cm-account-billing{font-size:11px;line-height:1.65;min-width:0}.cm-account-billing>span{display:block;font-weight:550;color:var(--text)}.cm-table .cm-account-billing small{max-width:none;font-size:10px;line-height:1.65;margin-top:4px;white-space:normal}.cm-account-billing>strong{display:block;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:7px}.cm-account-billing .cm-billing-mode{color:var(--text);margin-top:7px;font-weight:500}.cm-account-billing .cm-billing-recharge-reason{color:var(--muted)}.cm-billing-error{color:var(--danger,#b3261e)!important}.cm-balance-column{white-space:normal}.cm-billing-dialog{font-size:13px;line-height:1.8;overflow-wrap:anywhere}.cm-billing-dialog section{padding:14px 0;border-top:1px solid var(--line)}.cm-billing-dialog section h3{font-size:13px;font-weight:600;margin:0 0 6px}.cm-billing-dialog section p{margin:5px 0;color:var(--muted)}.cm-billing-dialog section strong{font-size:18px;font-variant-numeric:tabular-nums}.cm-billing-explanations{margin-top:12px;border-top:1px solid var(--line);padding-top:8px}.cm-billing-explanations span{color:var(--text)}.cm-billing-dialog .cm-identity{margin-bottom:14px}.cm-billing-dialog .cm-identity strong{font-size:14px}.cm-billing-dialog .cm-billing-account-note,.cm-billing-dialog .cm-billing-read-at{font-size:11px;color:var(--muted)}.cm-billing-dialog .cm-dialog-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:18px}.cm-billing-dialog .cm-dialog-actions .button{min-height:36px}
.cm-billing-amounts>span{display:block;margin:3px 0}.cm-billing-amounts b{font-weight:600;font-variant-numeric:tabular-nums}.cm-billing-period,.cm-billing-read-at{display:block;overflow-wrap:anywhere}
@media(max-width:660px){.cm-table .cm-secondary-actions,.cm-more-menu{grid-template-columns:minmax(0,1fr)}.cm-table .cm-secondary-actions .button{font-size:9px;padding:6px 3px;min-height:29px}.cm-more>summary{font-size:9px;min-height:27px}.cm-more-menu .button{font-size:9px;min-height:29px}.cm-account-billing{font-size:10px}.cm-table .cm-account-billing small{font-size:10px}.cm-billing-dialog{font-size:12px}.cm-billing-dialog .cm-dialog-actions .button{flex:1 1 100%}}

.cm-performance-heading.cm-progress-grouped{flex-wrap:wrap}.cm-progress-grouped>.cm-performance-read{flex:1 1 100%;max-width:none;text-align:left;white-space:normal;line-height:1.8}

.copy-update-table{overflow-x:auto}.copy-update-table table{width:100%;border-collapse:collapse;font-size:12px}.copy-update-table td,.copy-update-table th{padding:8px;text-align:left;border-bottom:1px solid var(--border);min-width:110px;vertical-align:top}.copy-update-table td:last-child{color:var(--muted)}

.cm-detail-header .cm-detail-date{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);max-width:320px;margin:8px 0 0}
.cm-detail-date input{width:100%;min-width:0;min-height:36px;padding:6px 7px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);font:inherit;font-size:12px}
.cm-detail-header .cm-detail-date-message{color:var(--red)}
.cm-detail-header .cm-detail-date-message:empty,.cm-detail-header #cm-detail-read-at:empty,.cm-detail-header #cm-detail-sync:empty{display:none}

.cm-history-switch,.cm-history-pages{align-items:center;gap:6px;margin:7px 0}
.cm-history-switch .button,.cm-history-pages .button{min-height:30px;padding:5px 10px;font-size:11px}
.cm-history-switch .button[aria-pressed=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}
.cm-history-jump{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;max-width:100%}
.cm-history-jump input{width:10.5rem;min-width:0;max-width:100%;min-height:30px;padding:4px 7px;font-size:inherit}
.cm-history-backfill{margin:9px 0}
.cm-trend-data .cm-history-table{max-width:100%;max-height:min(330px,50vh);margin-inline:0;overscroll-behavior-x:contain;scroll-padding-top:42px}
.cm-history-table table{border-collapse:separate;border-spacing:0}
.cm-history-table tr:focus{outline:2px solid var(--primary);outline-offset:-2px;background:var(--primary-soft)}
#cm-detail-history-content th small{display:block;margin-top:3px;color:var(--muted)}

.cm-view-tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:0 0 20px}.cm-view-tabs a{font-size:14px;color:var(--muted);padding:0 2px 13px;border-bottom:3px solid transparent;text-decoration:none}.cm-view-tabs a.active{color:var(--primary);border-color:var(--primary);font-weight:650}.cc-root{min-width:0}.cc-panel{padding:22px 24px;overflow:visible}.cc-heading,.cc-trend-heading,.cc-table-heading{display:flex;justify-content:space-between;align-items:center;gap:18px}.cc-heading h2{font-size:18px;margin:0 0 5px}.cc-heading p{font-size:12px;color:var(--muted);margin:0}.cc-filters{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;padding:0 0 18px}.cc-field{display:grid;gap:7px;font-size:12px;min-width:0}.cc-field>span{font-weight:600}.cc-field small{font-size:10px;color:var(--muted);font-weight:400;margin-left:4px}.cc-scope{flex:1 1 210px;max-width:330px}.cc-labels-field{flex:1.3 1 260px}.cc-status{width:122px}.cc-field select,.cc-field input,.cc-baseline select,.cc-trend-heading>select{min-height:38px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);padding:8px 10px;font:inherit;font-size:12px}.cc-dates>div{display:flex;gap:7px;align-items:center}.cc-dates input{width:137px}.cc-filters>.button{min-height:38px}.cc-label-picker{position:relative;margin:0;padding:0;border:0;background:none}.cc-label-picker>summary{margin:0;display:flex;align-items:center;gap:5px;min-height:38px;border:1px solid var(--line);border-radius:7px;padding:7px 30px 7px 10px;cursor:pointer;list-style:none;flex-wrap:wrap;font-size:12px}.cc-label-picker>summary::-webkit-details-marker{display:none}.cc-picker-arrow{position:absolute;right:11px;top:8px;color:var(--muted)}.cc-label-options{position:absolute;left:0;top:calc(100% + 5px);z-index:40;width:max(100%,300px);max-height:310px;overflow:auto;background:var(--surface);border:1px solid var(--line);box-shadow:0 12px 28px #14233c16;border-radius:8px;padding:6px}.cc-label-options label{display:flex;align-items:center;gap:8px;min-height:42px;padding:7px;cursor:pointer}.cc-label-options label:hover{background:var(--bg)}.cc-label-options input,.cc-association-list input{width:15px;height:15px;flex-shrink:0;accent-color:var(--primary)}.cc-label-options small{font-size:10px;color:var(--muted);margin-left:auto;max-width:140px;overflow-wrap:anywhere}.cc-label-options p{font-size:12px;padding:9px;color:var(--muted)}.cc-metadata{display:flex;align-items:center;gap:8px 22px;flex-wrap:wrap;font-size:11px;color:var(--muted);padding:0 0 18px;border-bottom:1px solid var(--line)}.cc-metadata>span:first-child{color:var(--text);font-weight:600}.cc-metadata>span:last-child{margin-left:auto}.cc-trend-section{padding:22px 0 24px}.cc-trend-heading h2,.cc-table-heading h2{margin:0 0 6px;font-size:14px}.cc-trend-heading>div>span,.cc-table-heading>div>span{font-size:11px;color:var(--muted)}.cc-trend-heading>select{width:180px;flex:0 0 180px;min-width:180px}.cc-chart{margin-top:16px;border:1px solid var(--line);border-radius:8px;overflow:hidden}.cc-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px 26px;padding:13px 16px;font-size:12px}.cc-legend>span{display:flex;align-items:center;gap:7px}.cc-legend small{font-size:10px;color:var(--muted)}.cc-dot{display:inline-block;width:8px;height:8px;border-radius:50%;flex-shrink:0}.cc-chart-scroll{overflow-x:auto}.cc-chart svg{width:100%;display:block;min-width:560px;height:auto;outline:none}.cc-chart svg[data-input-mode=pointer]:focus{outline:none}.cc-chart svg:focus-visible{outline:2px solid var(--primary);outline-offset:-3px}.cc-grid{stroke:var(--line);stroke-width:1}.cc-axis{fill:var(--muted);font-size:11px;font-family:inherit}.cc-line{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.cc-guide{stroke:var(--muted);stroke-width:1;opacity:.45;pointer-events:none}.cc-hover{display:flex;align-items:center;gap:8px 20px;flex-wrap:wrap;padding:11px 16px;border-top:1px solid var(--line);background:var(--bg);font-size:11px;min-height:41px}.cc-hover>span{display:flex;gap:6px;align-items:center;color:var(--muted)}.cc-hover b{color:var(--text);font-variant-numeric:tabular-nums}.cc-hover>strong{font-size:11px}.cc-chart-empty{padding:60px 20px;text-align:center;color:var(--muted);font-size:12px;background:var(--bg);border-radius:8px;margin-top:15px}.cc-table-heading{margin:0 0 14px}.cc-table-heading>.actions{gap:12px}.cc-baseline{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;white-space:nowrap}.cc-baseline select{min-height:32px;padding:5px 9px}.cc-table-scroll{border:1px solid var(--line);border-radius:8px}.cc-table{width:100%;font-size:12px;table-layout:auto;border-collapse:collapse;font-variant-numeric:tabular-nums}.cc-table thead th{font-size:11px;color:var(--muted);font-weight:550;background:var(--bg);white-space:nowrap}.cc-table th,.cc-table td{padding:15px 13px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;white-space:nowrap}.cc-table .cc-number{text-align:right;min-width:90px}.cc-table th:first-child{min-width:160px}.cc-table small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.cc-table tbody th>button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;color:var(--text);cursor:pointer;padding:0;font:inherit}.cc-expand-arrow{font-size:18px;color:var(--muted);margin-left:3px}.cc-table .cc-base-badge{display:inline-block;margin-left:15px;color:var(--primary);background:var(--primary-soft,#eef3ff);padding:2px 5px;border-radius:4px;font-size:9px}.cc-table .cc-is-baseline{background:color-mix(in srgb,var(--primary) 3%,var(--surface))}.cc-table .cc-difference{font-size:10px;color:var(--muted);white-space:nowrap}.cc-table tfoot{background:var(--bg);font-weight:650}.cc-table tfoot td,.cc-table tfoot th{border-bottom:0}.cc-coverage{font-size:10px;color:#9b6d15}.cc-coverage.is-complete{color:#188038}.cc-overlap,.cc-footnote{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 0}.cc-overlap{color:#946b20;background:#fff9e9;border:1px solid #f4e6bf;border-radius:6px;padding:9px 12px}.cc-notes{padding-top:18px;margin-top:20px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.cc-notes>summary{cursor:pointer}.cc-notes p{line-height:1.8;margin:9px 0 0}.cc-expanded>td{padding:16px!important;background:var(--bg);white-space:normal!important}.cc-detail-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px;font-size:11px;color:var(--muted)}.cc-detail-heading strong{display:flex;align-items:center;gap:7px;color:var(--text);font-weight:500}.cc-detail-table{background:var(--surface);width:100%;font-size:11px;border-collapse:collapse}.cc-detail-table th,.cc-detail-table td{padding:11px 12px}.cc-detail-table td:first-child{white-space:normal;max-width:290px;min-width:240px;overflow-wrap:anywhere}.cc-detail-table th:first-child{min-width:200px}.cc-detail-table td:not(:first-child){white-space:nowrap}.cc-detail-table .button{font-size:10px;min-height:26px;padding:4px 7px}.cc-detail-pager{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:10px;font-size:11px}.cc-detail-pager .button{min-height:28px;padding:5px 9px;font-size:11px}.cc-campaign-modal h2{font-size:16px;overflow-wrap:anywhere;line-height:1.6}.cc-campaign-modal>p{font-size:11px;color:var(--muted);line-height:1.8}.cc-campaign-stats{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:7px;margin:17px 0}.cc-campaign-stats>div{padding:13px;border-right:1px solid var(--line)}.cc-campaign-stats>div:last-child{border-right:0}.cc-campaign-stats small{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.cc-campaign-stats strong{font-size:17px}.cc-campaign-modal>.actions{justify-content:flex-end;margin-top:18px}.cc-association>p{font-size:12px;color:var(--muted);line-height:1.8}.cc-association-list{max-height:340px;overflow:auto;border:1px solid var(--line);border-radius:7px;margin:18px 0}.cc-association-list>label{display:flex;align-items:flex-start;gap:10px;padding:12px;border-bottom:1px solid var(--line);font-size:12px;overflow-wrap:anywhere}.cc-association-list>label:last-child{border:0}.cc-association-list small{display:block;color:var(--muted);margin-top:4px;font-size:10px}.cc-association>.actions{justify-content:flex-end}.cc-start .empty{padding:50px 20px}
@media(max-width:1100px){.cc-filters{gap:11px}.cc-scope{max-width:none;flex-basis:200px}.cc-labels-field{flex-basis:250px}.cc-metadata>span:last-child{margin-left:0}.cc-panel{padding:19px}.cc-table-heading{align-items:flex-start;flex-wrap:wrap}.cc-chart svg{min-width:640px}}
@media(max-width:660px){.cm-view-tabs{margin-bottom:15px;gap:23px}.cc-panel{padding:16px 13px}.cc-heading{align-items:flex-start;flex-wrap:wrap;gap:9px}.cc-heading h2{font-size:16px}.cc-heading>.button{padding:5px 0;min-height:27px;font-size:10px}.cc-filters{padding-top:0;gap:11px}.cc-scope,.cc-labels-field{flex:1 1 100%}.cc-status{flex:1 1 110px}.cc-dates{flex:1 1 100%}.cc-dates>div{display:flex}.cc-dates input{flex:1;width:0;min-width:0}.cc-filters>.button{width:100%}.cc-field>span{font-size:11px}.cc-metadata{gap:7px 16px;font-size:10px}.cc-metadata>span:last-child{width:100%}.cc-trend-heading{align-items:flex-start;gap:10px}.cc-trend-heading>div>span{font-size:10px;line-height:1.7;display:block}.cc-trend-heading>select{width:130px;flex:0 0 130px;min-width:130px;max-width:130px;font-size:11px}.cc-legend{padding:11px;gap:9px 18px;font-size:11px}.cc-hover{padding:10px;font-size:10px;gap:8px 12px}.cc-hover>strong{width:100%}.cc-table-heading>.actions{width:100%;justify-content:space-between}.cc-table-heading>div>span{font-size:10px;line-height:1.7}.cc-table th,.cc-table td{padding:12px 10px}.cc-table th:first-child{min-width:145px}.cc-campaign-stats{grid-template-columns:repeat(2,1fr)}.cc-campaign-stats>div:nth-child(2){border-right:0}.cc-campaign-stats>div:nth-child(-n+2){border-bottom:1px solid var(--line)}}

.cc-sync-message{font-size:11px;color:var(--primary);background:var(--primary-soft,#eef3ff);padding:10px 12px;margin:12px 0 0;border-radius:6px;line-height:1.7}

.cc-metadata>.button{padding:3px 0;min-height:24px;font-size:10px;margin-left:auto}.cc-trend-heading>div{min-width:0;flex:1 1 auto}

#app-dialog:has([data-cm-cpc-analysis]){width:min(1120px,calc(100vw - 28px))}
.cpc-analysis{min-width:0;color:var(--text);font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.cpc-analysis h3{font-size:15px;line-height:1.5;margin:0 0 9px}
.cpc-analysis p{margin:7px 0}.cpc-muted,.cpc-account,.cpc-chart-note{color:var(--muted);font-size:11px;line-height:1.8}
.cpc-scope{display:flex;flex-wrap:wrap;gap:3px 18px;margin-bottom:18px}.cpc-scope>strong{font-size:14px}.cpc-scope>span,.cpc-scope>small{color:var(--muted);font-size:11px}.cpc-scope>small{margin-left:auto}
.cpc-summary{padding:17px 19px;background:var(--primary-soft,#eef3ff);border-radius:8px;border-left:3px solid var(--primary);margin-bottom:17px}.cpc-summary>p{font-size:14px;line-height:1.8;white-space:pre-line}.cpc-summary>small{display:block;margin-top:9px;color:var(--muted);font-size:10px}
.cpc-recommendations{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cpc-recommendation{min-width:0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.cpc-rec-heading{display:flex;gap:9px;align-items:flex-start;justify-content:space-between}.cpc-rec-heading>strong{min-width:0;font-size:12px;font-weight:600;line-height:1.7}.cpc-action-badge{white-space:nowrap;flex-shrink:0;padding:2px 7px;background:var(--bg);border-radius:4px;color:var(--text);font-size:10px}
.cpc-recommendation[data-cpc-action=increase] .cpc-action-badge{color:#155b3a;background:#edf7ef}.cpc-recommendation[data-cpc-action=fix] .cpc-action-badge{color:#8c6200;background:#fff5d9}.cpc-recommendation[data-cpc-action=decrease] .cpc-action-badge{color:#8a3830;background:#fff1ef}
.cpc-price{font-size:18px;font-weight:650;font-variant-numeric:tabular-nums;margin:13px 0!important}.cpc-price>span[aria-hidden]{font-weight:400;color:var(--muted);margin:0 4px}
.cpc-reasons{padding-left:17px;margin:9px 0;font-size:11px}.cpc-reasons li+li{margin-top:4px}.cpc-next{font-size:11px;line-height:1.8}.cpc-next>strong{font-size:10px;font-weight:600;color:var(--muted);margin-right:8px}
.cpc-evidence{margin-top:25px;border-top:1px solid var(--line);padding-top:21px}.cpc-evidence-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.cpc-evidence-heading>h3{margin:0;flex-shrink:0}.cpc-evidence-heading label{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);min-width:0;max-width:70%}.cpc-evidence-heading select{font:inherit;background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:8px 10px;min-height:36px;color:var(--text);width:380px;max-width:100%;min-width:0}.cpc-account{margin-bottom:13px!important}
.cpc-chart{border:1px solid var(--line);border-radius:8px;overflow:hidden}.cpc-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding:11px 15px;font-size:11px}.cpc-chart-legend>span{display:flex;align-items:center;gap:6px}.cpc-chart-legend>small{margin-left:auto;color:var(--muted);font-size:10px}.cpc-cap-swatch,.cpc-actual-swatch{display:inline-block;width:18px;height:0;border-top:2px solid #a142f4}.cpc-actual-swatch{border-top-style:dashed}
.cpc-chart-scroll{max-width:100%;overflow-x:auto}.cpc-chart svg{display:block;width:100%;min-width:610px;height:auto}.cpc-chart svg:focus-visible,.cpc-chart-scroll:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.cpc-grid{stroke:var(--line);stroke-width:1}.cpc-axis{font-size:11px;fill:var(--muted);font-family:inherit}.cpc-axis-title{font-size:12px;fill:var(--text);font-weight:600}.cpc-phase-label{font-family:inherit;font-size:10px;fill:var(--muted)}.cpc-phase-marker{stroke:var(--line);stroke-dasharray:3 4;stroke-width:1}.cpc-cap{fill:none;stroke:#a142f4;stroke-width:2.3}.cpc-daily-line{fill:none;stroke-width:2;stroke-linejoin:round}.cpc-actual-cpc{stroke-dasharray:5 4}.cpc-guide{stroke:var(--muted);stroke-width:1;opacity:.5;pointer-events:none}
.cpc-chart-values{display:flex;align-items:center;gap:6px 17px;flex-wrap:wrap;min-height:45px;border-top:1px solid var(--line);background:var(--bg);padding:10px 13px;font-size:10px;font-variant-numeric:tabular-nums}.cpc-chart-values>span{color:var(--muted)}.cpc-chart-values b{font-weight:550;color:var(--text);margin-left:4px}.cpc-chart-values>small{color:var(--muted);font-size:10px}.cpc-chart-note{padding:0 13px 9px;font-size:10px}.cpc-empty-chart{padding:35px 18px;background:var(--bg);text-align:center;color:var(--muted)}
.cpc-details{margin-top:15px;padding:13px 0;border-top:1px solid var(--line);border-bottom:0;font-size:11px}.cpc-details>summary{cursor:pointer;font-weight:550}.cpc-details p,.cpc-details li{font-size:11px;line-height:1.8}.cpc-details>ul{color:var(--muted);padding-left:18px}.cpc-phase-scroll{max-width:100%;max-height:390px;overflow:auto;margin-top:12px;border:1px solid var(--line);border-radius:6px}.cpc-phase-table{width:100%;min-width:800px;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}.cpc-phase-table th,.cpc-phase-table td{padding:11px 12px;text-align:right;vertical-align:top;white-space:nowrap;border-bottom:1px solid var(--line)}.cpc-phase-table th:first-child{text-align:left;width:225px;white-space:normal;min-width:225px}.cpc-phase-table thead th{position:sticky;top:0;background:var(--bg);color:var(--muted);font-size:10px;font-weight:500}.cpc-phase-table tbody th{font-weight:600}.cpc-phase-table small{display:block;font-size:9px;font-weight:400;color:var(--muted);line-height:1.7;margin-top:4px}
.cpc-footer{justify-content:flex-end;border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.cpc-state{text-align:center;padding:40px 18px}.cpc-state h3{font-size:17px}.cpc-state p{font-size:12px;color:var(--muted)}.cpc-state>small{display:block;max-width:440px;margin:11px auto 0;font-size:11px;color:var(--muted)}.cpc-failure .button{margin-top:15px}.cpc-progress{display:block;margin:0 auto 20px;width:25px;height:25px;border:3px solid var(--line);border-top-color:var(--primary);border-radius:50%;animation:cpc-spin 1s linear infinite}@keyframes cpc-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.cpc-progress{animation:none}}
@media(max-width:660px){#app-dialog:has([data-cm-cpc-analysis]){width:calc(100vw - 20px)}#app-dialog:has([data-cm-cpc-analysis]) #dialog-body{padding:15px 12px}.cpc-scope{display:block;margin-bottom:13px}.cpc-scope>*{display:block}.cpc-scope>span,.cpc-scope>small{margin:4px 0 0;font-size:10px}.cpc-summary{padding:13px}.cpc-summary>p{font-size:13px}.cpc-recommendations{grid-template-columns:minmax(0,1fr);gap:10px}.cpc-recommendation{padding:13px}.cpc-rec-heading{flex-wrap:wrap;gap:6px}.cpc-rec-heading>strong{flex:1 1 100%;font-size:11px}.cpc-action-badge{font-size:10px}.cpc-price{font-size:17px}.cpc-evidence{margin-top:19px;padding-top:17px}.cpc-evidence-heading{display:block}.cpc-evidence-heading label{display:block;max-width:none;margin-top:11px}.cpc-evidence-heading select{display:block;width:100%;font-size:12px;margin-top:5px}.cpc-account{font-size:10px}.cpc-chart-legend{padding:10px;gap:8px 14px;font-size:10px}.cpc-chart-legend>small{flex-basis:100%;margin-left:0;font-size:9px}.cpc-chart-values{gap:5px 11px;padding:9px 10px}.cpc-chart-values>strong{flex-basis:100%}.cpc-chart-values>span{flex-basis:calc(50% - 6px)}.cpc-chart-values b{display:block;margin-left:0}.cpc-chart-note{font-size:9px;padding:0 10px 8px}.cpc-state{padding:30px 7px}.cpc-state h3{font-size:15px}.cpc-state p{font-size:11px}.cpc-details{font-size:10px}.cpc-footer .button{min-height:39px}}

.cpc-analysis .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cpc-series-picker{display:grid;gap:6px;margin:16px 0 12px;font-size:11px;color:var(--muted)}.cpc-series-picker select{width:100%;min-width:0;max-width:100%;min-height:37px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--text);padding:8px 10px;font:inherit}.cpc-selected-recommendation{grid-template-columns:minmax(0,1fr)}.cpc-selected-recommendation .cpc-price{margin:9px 0!important}.cpc-record-heading,.cpc-comparison>h4{margin:16px 0 7px;font-size:12px}.cpc-comparison{margin-top:16px;padding-top:2px;border-top:1px solid var(--line)}.cpc-comparison h4 small{font-size:10px;color:var(--muted);margin-left:10px;font-weight:400}.cpc-comparison-windows{display:flex;flex-wrap:wrap;gap:5px 22px;color:var(--muted);font-size:10px}.cpc-comparison-verdict{font-size:12px!important;font-weight:550}.cpc-comparison-table{min-width:600px}.cpc-incremental{font-size:11px!important}.cpc-incremental strong{font-weight:550}.cpc-comparison-notes{padding-left:17px;color:var(--muted)}.cpc-uncertain-table .cpc-note-cell{white-space:normal;min-width:200px;max-width:360px;text-align:left}.cpc-phase-table{min-width:1120px}.cpc-comparison-table{min-width:600px}.cpc-uncertain-table{min-width:900px}
@media(max-width:660px){.cpc-series-picker{font-size:10px}.cpc-series-picker select{font-size:12px}.cpc-record-heading,.cpc-comparison>h4{font-size:11px}.cpc-comparison-windows{display:grid;gap:5px}.cpc-selected-recommendation .cpc-rec-heading{flex-wrap:nowrap}.cpc-selected-recommendation .cpc-rec-heading>strong{flex:1 1 auto}.cpc-comparison h4 small{display:block;margin:4px 0 0}}

.cpc-data-source{font-size:10px;color:var(--muted);line-height:1.8;margin:-8px 0 15px!important}
.cpc-impression-swatch{display:inline-block;width:12px;height:10px;border-radius:2px;background:#d5a13a;opacity:.55}.cpc-click-swatch{display:inline-block;width:18px;height:0;border-top:2px solid #1a73e8}.cpc-phase-band{fill:var(--bg);opacity:.18}.cpc-phase-band-alt{fill:#a142f4;opacity:.035}.cpc-impression-bar{fill:#d5a13a;opacity:.36}.cpc-price-axis{fill:#8842c5}.cpc-chart svg{min-width:610px}.cpc-window-totals{display:flex;flex-wrap:wrap;gap:8px 22px;padding:9px 12px;background:var(--bg);border-radius:5px;font-variant-numeric:tabular-nums;color:var(--muted)}.cpc-window-totals strong{color:var(--text);font-weight:600;margin-left:4px}.cpc-phase-scroll{max-height:560px}.cpc-phase-table .cpc-share{white-space:nowrap;font-size:9px}.cpc-phase-table .cpc-phase-status-row td{white-space:normal;text-align:left;font-size:10px;padding:8px 12px;background:var(--bg);color:var(--muted);line-height:1.8}.cpc-metric-state{display:inline-block;font-size:9px;color:var(--text);font-weight:550;background:var(--surface);border:1px solid var(--line);border-radius:3px;padding:0 5px;margin-right:7px}.cpc-metric-state[data-cpc-metric-state=mixed-only],.cpc-metric-state[data-cpc-metric-state=assigned-with-mixed]{background:#fff5df;color:#7b5600}.cpc-metric-state[data-cpc-metric-state=unavailable]{background:#fff1ef;color:#8a3830}.cpc-phase-notes{margin-top:3px}.cpc-phase-notes summary{cursor:pointer;font-size:10px}.cpc-phase-notes ul{margin:6px 0;padding-left:17px}.cpc-phase-notes li{font-size:10px}.cpc-total-comparison{background:var(--bg)}.cpc-comparison-price{color:var(--muted);font-size:11px!important}
@media(max-width:660px){.cpc-window-totals{gap:4px 12px;font-size:10px}.cpc-phase-table .cpc-phase-status-row td{font-size:9px}.cpc-data-source{font-size:9px}.cpc-chart-legend{gap:7px 12px}.cpc-chart-legend>small{flex-basis:100%}}

.cpc-card-times{display:grid;gap:4px}.cpc-card-times>div{display:grid;grid-template-columns:minmax(125px,auto) minmax(0,1fr);column-gap:8px}.cpc-card-times dt{font-weight:550}.cpc-card-times dd{margin:0;font-variant-numeric:tabular-nums}@media(max-width:450px){.cpc-card-times>div{grid-template-columns:minmax(0,1fr)}}

.cpc-performance-card{min-width:0;margin:20px 0;padding:19px 21px;border:1px solid #7b9aff;border-radius:9px;background:linear-gradient(110deg,#f8faff,#eef4ff);color:var(--text);overflow-wrap:anywhere}.cpc-card-heading{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.cpc-card-heading h3{margin:0;font-size:15px}.cpc-card-badge{padding:3px 10px;border-radius:16px;background:#e0eaff;color:#1756cf;font-size:11px}.cpc-card-conclusion{font-size:20px;font-weight:650;line-height:1.5;margin:10px 0}.cpc-card-reasons{padding-left:19px;margin:8px 0;font-size:12px;line-height:1.8}.cpc-card-price{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}.cpc-card-next{padding:9px 12px;border-radius:5px;background:#e0eaff;font-size:12px;line-height:1.7}.cpc-card-next strong{color:#1554ce}.cpc-card-times{font-size:11px;color:var(--muted);line-height:1.8}.cpc-card-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.cpc-card-footer p{flex:1;margin:0}.cpc-card-footer .button{flex-shrink:0}.cpc-card-evidence{margin-top:12px;font-size:12px}.cpc-card-evidence>summary{cursor:pointer;color:var(--primary);font-weight:550}.cpc-card-evidence>.cpc-analysis{padding-top:14px}.cpc-card-error{color:#9b2f28;font-size:12px;line-height:1.7}@media(max-width:660px){.cpc-performance-card{padding:14px 13px;margin:16px 0}.cpc-card-conclusion{font-size:17px}.cpc-card-reasons{font-size:11px}.cpc-card-footer{align-items:stretch;flex-direction:column;gap:10px}.cpc-card-times{font-size:10px}.cpc-card-footer .button{width:100%}}

#app-dialog:has([data-bid-diagnostics]){width:min(960px,calc(100vw - 24px))}.bid-diagnostics{font-size:13px;line-height:1.7;overflow-wrap:anywhere}.bid-diagnostic-summary{padding:16px;background:#eef3ff;border-radius:8px;font-size:16px;font-weight:600}.bid-diagnostic-meta{font-size:11px;color:var(--muted)}.bid-campaign{padding:18px 0;border-top:1px solid var(--border,#e5e9f2)}.bid-campaign h3{margin:0 0 6px;font-size:15px}.bid-metrics{display:flex;gap:12px;flex-wrap:wrap;padding:10px 0}.bid-metrics span{color:var(--muted);font-size:11px}.bid-metrics b{display:block;color:var(--text);font-size:14px}.bid-findings{padding-left:18px}.bid-findings li{margin:8px 0}.bid-findings small{display:block;color:var(--muted);font-size:10px}.bid-evidence-state{padding:2px 6px;background:#f0f3f8;border-radius:4px;font-size:11px}.bid-diagnostics details{margin:12px 0}.bid-diagnostics summary{cursor:pointer;color:var(--primary)}.bid-diagnostics table{width:100%;font-size:11px;border-collapse:collapse}.bid-diagnostics td,.bid-diagnostics th{text-align:left;padding:5px;border-bottom:1px solid #edf0f5}.bid-error{color:#b3261e}.cm-delivery-status+.button{margin-top:5px;font-size:11px;padding:3px 7px}@media(max-width:660px){.bid-diagnostics{font-size:12px}.bid-diagnostic-summary{font-size:14px;padding:12px}.bid-metrics{gap:9px}.bid-metrics span{flex:1 1 25%}}

.bid-date-editor{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.bid-date-editor label{display:flex;flex-direction:column;gap:4px}.bid-date-editor small{flex-basis:100%;color:var(--muted)}

.report-sort {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: inherit;
  display: inline-flex;
  align-items: center;
  gap: .25em;
  min-block-size: 24px;
  padding: .15em .1em;
}
.report-sort:hover, th[aria-sort="ascending"] > .report-sort, th[aria-sort="descending"] > .report-sort {
  color: var(--accent, #315de0);
}
.report-sort:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.report-sort-indicator::before { content: '↕'; opacity: .52; }
th[aria-sort="ascending"] > .report-sort .report-sort-indicator::before { content: '↑'; opacity: 1; }
th[aria-sort="descending"] > .report-sort .report-sort-indicator::before { content: '↓'; opacity: 1; }

@media (pointer: coarse) { .report-sort { min-block-size: 36px; } }
