:root{--csm-navy:#15385f;--csm-blue:#2f75b5;--csm-blue2:#4b8fc8;--csm-bg:#f4f7fa;--csm-border:#dce4eb;--csm-text:#213244;--csm-muted:#677788;--csm-green:#2f7d45;--csm-red:#b23a32;--csm-yellow:#9b6c00;--csm-shadow:0 8px 30px rgba(31,54,77,.08)}
*{box-sizing:border-box}html,body{margin:0;padding:0}.csm-app-body{background:var(--csm-bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--csm-text);font-size:15px;line-height:1.55}.csm-app-body a{color:inherit}.csm-app{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.csm-app-sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(180deg,#15385f,#102c4b);color:#fff;padding:22px 14px;display:flex;flex-direction:column;z-index:30}.csm-app-brand{display:flex;align-items:center;gap:11px;padding:0 9px 22px;border-bottom:1px solid rgba(255,255,255,.13);margin-bottom:18px}.csm-app-brand strong,.csm-app-brand small{display:block}.csm-app-brand small{opacity:.7;font-size:12px}.csm-brand-logo{width:54px;height:44px;object-fit:contain;flex:0 0 54px}.csm-login-logo{display:block;width:150px;height:auto;max-height:90px;object-fit:contain;margin:0 auto 14px}.csm-app-sidebar nav{display:grid;gap:4px}.csm-app-nav-item{display:flex;align-items:center;gap:11px;padding:10px 12px;border-radius:8px;text-decoration:none;color:rgba(255,255,255,.82);font-weight:600}.csm-app-nav-item:hover,.csm-app-nav-item.active{background:rgba(255,255,255,.11);color:#fff}.csm-app-nav-item span{width:20px;text-align:center}.csm-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.13);padding-top:14px;display:grid;gap:7px}.csm-sidebar-foot a{color:rgba(255,255,255,.7);text-decoration:none;font-size:13px;padding:5px 10px}.csm-app-main{grid-column:2;min-width:0}.csm-app-topbar{height:58px;background:#fff;border-bottom:1px solid var(--csm-border);display:flex;align-items:center;justify-content:flex-end;padding:0 28px;color:var(--csm-muted);position:sticky;top:0;z-index:20}.csm-menu-toggle{display:none}.csm-app-content{max-width:1380px;margin:0 auto;padding:30px}.csm-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.csm-page-head h1{font-size:30px;line-height:1.2;margin:0;color:var(--csm-navy)}.csm-page-head p{margin:7px 0 0;color:var(--csm-muted)}.csm-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--csm-blue);color:#fff!important;text-decoration:none;border:0;border-radius:8px;padding:10px 15px;font-weight:700;cursor:pointer;font-size:14px;transition:.15s}.csm-btn:hover{background:var(--csm-navy)}.csm-btn.secondary{background:#fff;color:var(--csm-navy)!important;border:1px solid var(--csm-border)}.csm-btn.secondary:hover{background:#eef4f8}.csm-flash{background:#e7f4e8;border:1px solid #bddac1;color:#245e31;padding:11px 14px;border-radius:8px;margin-bottom:18px}.csm-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.csm-metrics>div,.csm-report-metrics>div{background:#fff;border:1px solid var(--csm-border);border-radius:10px;padding:18px;box-shadow:0 2px 8px rgba(31,54,77,.03)}.csm-metrics span,.csm-report-metrics span{display:block;color:var(--csm-muted);font-size:12px;text-transform:uppercase;letter-spacing:.05em;font-weight:700}.csm-metrics strong,.csm-report-metrics strong{display:block;font-size:28px;color:var(--csm-navy);margin-top:3px}.csm-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:24px 0 12px}.csm-section-head h2{margin:0;color:var(--csm-navy);font-size:20px}.csm-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.csm-project-card,.csm-panel,.csm-info-card{background:#fff;border:1px solid var(--csm-border);border-radius:12px;box-shadow:var(--csm-shadow)}.csm-project-card{padding:20px}.csm-project-card h3{font-size:20px;margin:5px 0;color:var(--csm-navy)}.csm-project-card p{color:var(--csm-muted)}.csm-kicker{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--csm-muted);font-weight:800}.csm-site-link{font-size:13px;color:var(--csm-blue)!important;text-decoration:none}.csm-progress-label{display:flex;justify-content:space-between;margin-top:17px;font-size:13px}.csm-progress{height:9px;background:#e7edf2;border-radius:20px;overflow:hidden;margin:7px 0}.csm-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--csm-blue),#5ba2d9);border-radius:20px}.csm-mini-stats{display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--csm-muted);margin:11px 0}.csm-next-task{background:#f5f9fc;border-radius:8px;padding:11px 12px;margin:12px 0}.csm-next-task small,.csm-next-task strong{display:block}.csm-next-task small{color:var(--csm-muted);text-transform:uppercase;font-weight:700;font-size:10px}.csm-card-actions,.csm-form-actions,.csm-task-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.csm-empty{background:#fff;border:1px dashed #c7d1db;border-radius:12px;padding:34px;text-align:center;color:var(--csm-muted)}.csm-list{display:grid;gap:9px}.csm-list-row,.csm-project-line{background:#fff;border:1px solid var(--csm-border);border-radius:10px;padding:15px 17px;text-decoration:none;display:flex;justify-content:space-between;align-items:center;gap:20px}.csm-list-row:hover,.csm-project-line:hover{border-color:#9cbcd4;box-shadow:0 3px 12px rgba(31,54,77,.06)}.csm-list-row div,.csm-project-line div{display:grid;gap:3px}.csm-list-row span,.csm-project-line span{font-size:12px;color:var(--csm-muted)}.csm-panel{padding:21px;margin-bottom:16px}.csm-panel h2,.csm-panel h3{margin-top:0;color:var(--csm-navy)}.csm-two-col,.csm-task-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.sticky{position:sticky;top:80px}.csm-detail-list{margin:0}.csm-detail-list>div{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:11px 0;border-bottom:1px solid #edf1f4}.csm-detail-list dt{font-weight:700}.csm-detail-list dd{margin:0}.csm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.csm-form-row{margin-bottom:15px}.csm-form-row label{display:block;font-weight:700;margin-bottom:6px}.csm-form-row small{font-weight:400;color:var(--csm-muted)}.csm-form-row input[type=text],.csm-form-row input[type=url],.csm-form-row input[type=email],.csm-form-row input[type=date],.csm-form-row select,.csm-form-row textarea{width:100%;padding:10px 11px;border:1px solid #bfcbd5;border-radius:7px;background:#fff;font:inherit;color:var(--csm-text)}.csm-form-row textarea{min-height:105px;resize:vertical}.csm-form-row input:focus,.csm-form-row textarea:focus,.csm-form-row select:focus{outline:2px solid rgba(47,117,181,.18);border-color:var(--csm-blue)}.csm-current-callout{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#e9f3fb,#f6fbff);border:1px solid #c4daeb;border-radius:12px;padding:17px 20px;margin-bottom:24px}.csm-current-callout span,.csm-current-callout strong{display:block}.csm-current-callout span{font-size:11px;text-transform:uppercase;color:var(--csm-muted);font-weight:700}.csm-workflow-section{background:#fff;border:1px solid var(--csm-border);border-radius:12px;margin-bottom:14px;overflow:hidden}.csm-workflow-section .csm-section-head{margin:0;padding:14px 16px;background:#f8fafc;border-bottom:1px solid var(--csm-border)}.csm-workflow-section .csm-section-head>div{display:flex;align-items:center;gap:10px}.csm-section-number{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:var(--csm-navy);color:#fff;font-weight:800}.csm-task-list{display:grid}.csm-task-link{display:grid;grid-template-columns:55px minmax(0,1fr) minmax(95px,max-content);align-items:center;text-decoration:none;padding:11px 15px;border-bottom:1px solid #eef2f5}.csm-task-link:last-child{border-bottom:0}.csm-task-link:hover{background:#f8fbfd}.csm-task-link.attention{background:#fff9ec}.csm-task-num{font-weight:800;color:var(--csm-blue)}.csm-task-link div{display:grid}.csm-task-link small{color:var(--csm-muted)}.csm-task-state{font-size:12px;text-align:right;display:flex;justify-content:flex-end}.csm-step-priority,.csm-step-status{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}.csm-step-priority i{width:8px;height:8px;border-radius:50%;display:block}.csm-step-priority.critical{background:#fde8e5;color:#a62016}.csm-step-priority.critical i{background:#d93025}.csm-step-priority.high{background:#fff0e4;color:#a34a00}.csm-step-priority.high i{background:#f57c00}.csm-step-priority.medium{background:#fff7d6;color:#7b5b00}.csm-step-priority.medium i{background:#fbbc04}.csm-step-priority.low{background:#e8f2ff;color:#1c5d99}.csm-step-priority.low i{background:#1a73e8}.csm-step-priority.needs-attention{background:#fde8e5;color:#a62016}.csm-step-priority.needs-attention i{background:#d93025}.csm-step-status.complete{background:#e4f3e6;color:#2f6e3b}.csm-step-status.blocked{background:#fff2c6;color:#7d5900}.csm-step-status.na{background:#edf0f2;color:#58636d}.csm-step-status.progress{background:#e8f2fa;color:#225f91}.csm-step-status.not-started{background:#eff2f4;color:#63707b}.csm-task-progress-top{background:#fff;border:1px solid var(--csm-border);border-radius:10px;padding:12px 16px;margin-bottom:18px}.csm-task-progress-top>span,.csm-task-progress-top>strong{font-size:12px}.csm-task-progress-top>strong{float:right}.csm-info-card{padding:18px 20px;margin-bottom:16px}.csm-info-card.blue{border-left:4px solid var(--csm-blue);background:#f4f9fd}.csm-info-card>span{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.07em;color:var(--csm-muted);font-weight:800;margin-bottom:5px}.csm-info-card p{margin:0}.csm-instructions{white-space:pre-line;line-height:1.75}.success-panel{border-left:4px solid var(--csm-green)}.csm-do-not{background:#fff5e7;border-radius:8px;padding:12px 14px;margin-top:14px}.csm-do-not strong{color:#8c4f00}.csm-do-not p{margin:4px 0 0}.csm-text-link{color:var(--csm-blue)!important;text-decoration:none;font-weight:700}.csm-check{display:block;margin:10px 0}.csm-status-large{margin:8px 0 16px}.csm-badge{display:inline-block;padding:5px 9px;border-radius:99px;font-size:11px;font-weight:800}.csm-status-complete{background:#e4f3e6;color:var(--csm-green)}.csm-status-needs-attention{background:#fde8e5;color:var(--csm-red)}.csm-status-blocked-waiting{background:#fff2c6;color:#7d5900}.csm-status-not-applicable{background:#edf0f2;color:#58636d}.csm-status-in-progress{background:#e8f2fa;color:#225f91}.csm-status-not-started{background:#eff2f4;color:#63707b}.csm-action-row{background:#fff;border:1px solid var(--csm-border);border-radius:10px;padding:15px 17px;display:grid;grid-template-columns:1fr 1fr;gap:20px}.csm-action-row>div{display:grid;gap:5px}.csm-action-row span{color:var(--csm-muted);font-size:12px}.csm-priority{font-weight:800;width:max-content}.csm-priority.Critical,.csm-priority.High{color:var(--csm-red)}.csm-priority.Medium{color:var(--csm-yellow)}.csm-table-wrap{overflow:auto;background:#fff;border:1px solid var(--csm-border);border-radius:10px}.csm-table{border-collapse:collapse;width:100%}.csm-table th,.csm-table td{padding:10px 12px;border-bottom:1px solid #edf1f4;text-align:left;white-space:nowrap}.csm-table th{background:#f7f9fb}.csm-report-toolbar{max-width:900px;margin:0 auto 16px;display:flex;justify-content:space-between}.csm-report{max-width:900px;margin:0 auto;background:#fff;padding:45px;border:1px solid var(--csm-border);box-shadow:var(--csm-shadow)}.csm-report-cover{border-bottom:4px solid var(--csm-blue);padding-bottom:22px;margin-bottom:26px}.csm-report-brand{display:flex;align-items:center;gap:18px;margin-bottom:24px}.csm-report-brand img{width:145px;height:70px;object-fit:contain}.csm-report-tagline{color:var(--csm-muted);font-size:13px;margin-top:3px}.csm-report-cover h1{font-size:34px;color:var(--csm-navy)}.csm-report-priority{display:inline-block;padding:2px 7px;border-radius:999px;font-weight:800}.csm-report-priority.critical{background:#fde8e5;color:#a62016}.csm-report-priority.high{background:#fff0e4;color:#a34a00}.csm-report-priority.medium{background:#fff7d6;color:#7b5b00}.csm-report-priority.low{background:#e8f2ff;color:#1c5d99}.csm-report-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.csm-report-item{border-top:1px solid #e8edf1;padding:16px 0;break-inside:avoid}.csm-report-item h3{color:var(--csm-navy)}.csm-copy-url{display:flex;gap:8px;align-items:center;background:#f5f7f9;border:1px solid var(--csm-border);border-radius:8px;padding:10px}.csm-copy-url code{overflow:auto}.csm-copy-url button{margin-left:auto}.csm-small{font-size:12px;color:var(--csm-muted)}.csm-login-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e9f2f9,#f8fbfd);padding:20px}.csm-login-card{width:min(420px,100%);background:#fff;border:1px solid var(--csm-border);border-radius:14px;padding:34px;box-shadow:var(--csm-shadow);text-align:center}.csm-login-card h1{color:var(--csm-navy)}.csm-login-card label{text-align:left;display:block;font-weight:700}.csm-login-card input[type=text],.csm-login-card input[type=password]{width:100%;padding:10px;border:1px solid #bfcbd5;border-radius:7px}.csm-login-card input[type=submit]{background:var(--csm-blue);color:#fff;border:0;border-radius:8px;padding:10px 18px;font-weight:700;cursor:pointer}.csm-login-card .login-remember{text-align:left}
@media(max-width:1000px){.csm-app{grid-template-columns:1fr}.csm-app-sidebar{transform:translateX(-100%);transition:.2s}.csm-menu-open .csm-app-sidebar{transform:translateX(0)}.csm-app-main{grid-column:1}.csm-menu-toggle{display:block;position:absolute;left:18px;border:0;background:transparent;font-size:22px}.csm-two-col,.csm-task-layout{grid-template-columns:1fr}.sticky{position:static}.csm-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.csm-app-content{padding:18px}.csm-app-topbar{padding:0 16px}.csm-page-head{display:grid}.csm-metrics,.csm-report-metrics,.csm-form-grid{grid-template-columns:1fr}.csm-project-grid{grid-template-columns:1fr}.csm-current-callout{display:grid}.csm-task-buttons{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--csm-border);padding:12px 0;margin-bottom:-20px;z-index:5}.csm-detail-list>div{grid-template-columns:1fr}.csm-action-row{grid-template-columns:1fr}.csm-report{padding:24px}}
@media print{.csm-app-sidebar,.csm-app-topbar,.csm-page-head,.csm-report-toolbar,.csm-flash{display:none!important}.csm-app{display:block}.csm-app-main{display:block}.csm-app-content{padding:0;max-width:none}.csm-report{border:0;box-shadow:none;max-width:none;padding:0}.csm-report-item{break-inside:avoid}}

.csm-field-help{display:block;margin-top:6px;color:#5f6b7a;font-size:12px;line-height:1.45;}

/* WordPress admin toolbar clearance: keep app branding and sticky top bar fully visible. */
.admin-bar .csm-app-sidebar{top:32px;}
.admin-bar .csm-app-topbar{top:32px;}
@media screen and (max-width:782px){.admin-bar .csm-app-sidebar{top:46px;}.admin-bar .csm-app-topbar{top:46px;}}

/* v1.0.4: body_class() now exposes WordPress' admin-bar class, so the fixed sidebar clears the toolbar correctly. */
.admin-bar .csm-app-sidebar{top:32px;bottom:0;}
.admin-bar .csm-app-topbar{top:32px;}
.csm-version{color:rgba(255,255,255,.55);font-size:11px;padding:2px 10px 6px;}
@media screen and (max-width:782px){.admin-bar .csm-app-sidebar{top:46px;bottom:0}.admin-bar .csm-app-topbar{top:46px;}}

/* v1.1.0 task context and project-evidence clarity */
.csm-context-panel{border-left:4px solid var(--csm-blue);background:#fbfdff}
.csm-context-panel .csm-section-head{margin-top:0}
.csm-context-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 18px}
.csm-context-summary>div{background:#f3f7fa;border:1px solid var(--csm-border);border-radius:8px;padding:10px 12px;min-width:0}
.csm-context-summary span,.csm-context-summary strong{display:block}
.csm-context-summary span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--csm-muted);font-weight:800}
.csm-context-summary strong{margin-top:3px;overflow-wrap:anywhere;color:var(--csm-navy)}
.csm-subsection-title{margin:20px 0 2px;font-size:18px;font-weight:800;color:var(--csm-navy)}
.csm-recent-evidence{border-top:1px solid var(--csm-border);margin-top:15px;padding-top:12px}
.csm-recent-evidence>strong{display:block;margin-bottom:7px;color:var(--csm-navy)}
.csm-recent-evidence p{margin:7px 0;font-size:12px}
.csm-recent-evidence p span{display:inline-block;min-width:34px;font-weight:800;color:var(--csm-blue)}
@media(max-width:650px){.csm-context-summary{grid-template-columns:1fr}}

/* v1.2.0 simplified outcome workflow */
.csm-verify-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}
.csm-verify-value{padding:14px 16px;border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;margin:12px 0}
.csm-verify-value span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:5px}
.csm-verify-value strong{display:block;font-size:15px;color:#0f172a;overflow-wrap:anywhere}
.csm-priority-options{display:flex;gap:10px;flex-wrap:wrap;margin:8px 0 18px}
.csm-priority-choice{cursor:pointer}
.csm-priority-choice input{position:absolute;opacity:0;pointer-events:none}
.csm-priority-choice span{display:inline-block;padding:9px 14px;border:2px solid #cbd5e1;border-radius:999px;font-weight:700;background:#fff}
.csm-priority-choice.red input:checked+span{border-color:#b91c1c;background:#fee2e2;color:#991b1b}
.csm-priority-choice.orange input:checked+span{border-color:#c2410c;background:#ffedd5;color:#9a3412}
.csm-priority-choice.yellow input:checked+span{border-color:#a16207;background:#fef9c3;color:#854d0e}
.csm-priority-choice.blue input:checked+span{border-color:#1d4ed8;background:#dbeafe;color:#1e40af}
.csm-conditional{margin-top:12px}
@media(max-width:700px){.csm-verify-grid{grid-template-columns:1fr}}

.csm-save-confirm{font-size:12px;color:#245e31;background:#eef8ef;border:1px solid #c9e2cd;border-radius:7px;padding:8px 10px;margin:0 0 14px}

/* v1.2.4 task outcome visibility */
.csm-current-priority{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 14px;border-bottom:1px solid var(--csm-border);margin-bottom:14px}
.csm-current-priority>span{font-size:12px;color:var(--csm-muted);font-weight:700}
.csm-priority-pill{display:inline-block;padding:6px 10px;border-radius:999px;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.csm-priority-pill.critical{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.csm-priority-pill.high{background:#ffedd5;color:#9a3412;border:1px solid #fed7aa}
.csm-priority-pill.medium{background:#fef9c3;color:#854d0e;border:1px solid #fde68a}
.csm-priority-pill.low{background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}
.csm-sidebar-issue-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.csm-sidebar-issue-summary span{background:#f8fafc;border:1px solid var(--csm-border);border-radius:7px;padding:8px;font-size:11px;color:var(--csm-muted)}
.csm-sidebar-issue-summary strong{display:block;color:var(--csm-navy);font-size:17px;margin-top:2px}

/* v1.2.6 polished client report */
.csm-report{padding:54px 48px 34px;border-radius:2px;color:#26384b}
.csm-report-cover{border-bottom:4px solid #2f75b5;padding-bottom:26px;margin-bottom:30px}
.csm-report-brand{gap:20px;margin-bottom:30px}
.csm-report-brand img{width:145px;height:72px}
.csm-report-brand .csm-kicker{font-size:13px;letter-spacing:.12em;font-weight:800;color:#5b6c7d}
.csm-report-tagline{font-size:14px;color:#657587}
.csm-report-cover h1{font-size:36px;line-height:1.15;margin:0 0 12px;color:#143b66;letter-spacing:-.02em}
.csm-report-client{font-size:16px;margin:0;line-height:1.45}
.csm-report-metrics{gap:12px;margin:0 0 34px}
.csm-report-metrics>div{padding:20px 15px;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-radius:14px;box-shadow:none}
.csm-report-metric span{order:1;font-size:11px;letter-spacing:.07em;margin:5px 0 4px}
.csm-report-metric>strong{order:2;font-size:30px;margin:0}
.csm-report-metric-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:26px;font-weight:800;margin-bottom:3px}
.csm-report-metric.complete .csm-report-metric-icon{background:#39b96f}.csm-report-metric.complete>strong{color:#39b96f}
.csm-report-metric.attention .csm-report-metric-icon{background:#f57c00}.csm-report-metric.attention>strong{color:#f57c00}
.csm-report-metric.na .csm-report-metric-icon{background:#aeb6c0}.csm-report-metric.na>strong{color:#64717f}
.csm-report-metric.progress span{order:2;margin-top:8px}.csm-report-ring{order:1;--csm-p:0;width:76px;height:76px;border-radius:50%;background:conic-gradient(#2f75b5 calc(var(--csm-p)*1%),#e8edf2 0);display:grid;place-items:center;position:relative}.csm-report-ring:before{content:"";position:absolute;inset:9px;background:#fff;border-radius:50%}.csm-report-ring strong{position:relative;z-index:1;color:#143b66;font-size:23px}
.csm-report-section-head{display:flex;align-items:center;gap:18px;background:linear-gradient(90deg,#edf5ff,#f8fbff);border:1px solid #d9e6f3;border-radius:14px;padding:18px 20px;margin:28px 0 6px;break-after:avoid;page-break-after:avoid}
.csm-report-section-number{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;flex:0 0 52px;background:#1f5fae;color:#fff;font-size:23px;font-weight:800;box-shadow:0 5px 13px rgba(31,95,174,.18)}
.csm-report-section-head h2{margin:0;color:#143b66;font-size:24px;line-height:1.2;border:0;padding:0}.csm-report-section-head p{margin:4px 0 0;color:#68798b;font-size:13px}
.csm-report-item{display:grid;grid-template-columns:56px 1fr;gap:14px;border-top:0;border-bottom:1px solid #e4e9ee;padding:22px 10px;break-inside:avoid;page-break-inside:avoid}.csm-report-item:last-of-type{border-bottom:0}
.csm-report-status-icon{width:42px;height:42px;border:2px solid #aeb7c2;border-radius:50%;display:grid;place-items:center;font-size:22px;font-weight:800;margin-top:2px;color:#6b7785}.csm-report-item.complete .csm-report-status-icon{border-color:#36b66c;color:#36b66c}.csm-report-item.attention .csm-report-status-icon{border-color:#f57c00;color:#f57c00}.csm-report-item.na .csm-report-status-icon{border-color:#aeb6c0;color:#7b8794}.csm-report-item.blocked .csm-report-status-icon{border-color:#c28a00;color:#9c6d00;font-size:16px}.csm-report-item.progress .csm-report-status-icon{border-color:#2f75b5;color:#2f75b5}
.csm-report-item h3{margin:0 0 5px;font-size:20px;line-height:1.25;color:#143b66}.csm-report-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:13px;margin-bottom:7px}.csm-report-meta em{font-style:normal;font-weight:800}.csm-report-status-text.complete{color:#2f9e5d}.csm-report-status-text.attention{color:#e76f00}.csm-report-status-text.na{color:#6e7884}.csm-report-status-text.blocked{color:#9c6d00}.csm-report-status-text.progress{color:#2f75b5}.csm-report-meta-dot{color:#9ca7b2}
.csm-report-priority{padding:2px 8px;font-size:12px}
.csm-report-notes,.csm-report-recommendation{margin:7px 0 0;font-size:14px;line-height:1.55}.csm-report-recommendation{background:#fff8e9;border-left:3px solid #f0b429;padding:9px 11px;border-radius:4px}
.csm-report-custom-footer{border-top:1px solid #dce3e9;margin-top:28px;padding-top:18px;color:#5c6d7e}
.csm-report-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #cfd8e1;margin-top:32px;padding-top:13px;font-size:12px;color:#68798b}
@media(max-width:650px){.csm-report-section-head{align-items:flex-start}.csm-report-item{grid-template-columns:44px 1fr;padding-left:0;padding-right:0}.csm-report-status-icon{width:36px;height:36px;font-size:18px}.csm-report-section-number{width:44px;height:44px;flex-basis:44px}.csm-report-section-head h2{font-size:20px}}
@media print{.csm-report{padding:18mm 14mm 12mm}.csm-report-section-head{-webkit-print-color-adjust:exact;print-color-adjust:exact}.csm-report-metric-icon,.csm-report-ring,.csm-report-section-number,.csm-report-priority{-webkit-print-color-adjust:exact;print-color-adjust:exact}.csm-report-footer{margin-top:20px}}

/* v1.2.7 report-inspired dashboard */
.csm-dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;background:linear-gradient(90deg,#edf5ff,#f8fbff);border:1px solid #d9e6f3;border-radius:14px;padding:22px 24px;margin:-2px 0 20px}.csm-dashboard-eyebrow{display:block;font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#5b6c7d;font-weight:800}.csm-dashboard-hero h2{font-size:26px;line-height:1.2;color:#143b66;margin:5px 0 4px}.csm-dashboard-hero p{margin:0;color:#68798b}.csm-dashboard-priority-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.csm-dashboard-priority-summary span{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #dce4eb;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700;color:#536476}.csm-dashboard-priority-summary i{width:8px;height:8px;border-radius:50%;display:block}.csm-dashboard-priority-summary i.critical{background:#d93025}.csm-dashboard-priority-summary i.high{background:#f57c00}.csm-dashboard-priority-summary i.medium{background:#fbbc04}.csm-dashboard-priority-summary i.low{background:#1a73e8}.csm-dashboard-priority-summary strong{color:#143b66}
.csm-dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:30px}.csm-dashboard-metric{background:#fff;border:1px solid #dce4eb;border-radius:14px;padding:18px;min-height:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.csm-dashboard-metric-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:22px;font-weight:800;margin-bottom:8px}.csm-dashboard-metric span{font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:#677788;font-weight:800}.csm-dashboard-metric strong{font-size:30px;margin-top:4px;color:#143b66}.csm-dashboard-metric.active .csm-dashboard-metric-icon{background:#39b96f}.csm-dashboard-metric.active strong{color:#39b96f}.csm-dashboard-metric.attention .csm-dashboard-metric-icon{background:#f57c00}.csm-dashboard-metric.attention strong{color:#f57c00}.csm-dashboard-metric.blocked .csm-dashboard-metric-icon{background:#c28a00;font-size:17px}.csm-dashboard-metric.blocked strong{color:#9c6d00}.csm-dashboard-metric.clients .csm-dashboard-metric-icon{background:#2f75b5;font-size:18px}.csm-dashboard-metric.clients strong{color:#2f75b5}
.csm-dashboard-section-head{background:linear-gradient(90deg,#edf5ff,#f8fbff);border:1px solid #d9e6f3;border-radius:14px;padding:15px 18px;margin:0 0 14px}.csm-dashboard-section-head>div{display:flex;align-items:center;gap:14px}.csm-dashboard-section-head h2{font-size:21px}.csm-dashboard-section-head p{margin:2px 0 0;color:#68798b;font-size:12px}.csm-dashboard-section-number{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#1f5fae;color:#fff;font-weight:800;font-size:18px;box-shadow:0 4px 10px rgba(31,95,174,.16)}
.csm-dashboard-project-card{padding:24px;border-radius:14px}.csm-dashboard-project-main{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.csm-dashboard-project-main h3{font-size:23px;margin-top:6px}.csm-dashboard-ring{--csm-p:0;width:82px;height:82px;border-radius:50%;background:conic-gradient(#2f75b5 calc(var(--csm-p)*1%),#e8edf2 0);display:grid;place-items:center;position:relative;flex:0 0 82px}.csm-dashboard-ring:before{content:"";position:absolute;inset:9px;background:#fff;border-radius:50%}.csm-dashboard-ring strong{position:relative;z-index:1;color:#143b66;font-size:20px}.csm-dashboard-project-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:20px 0 14px}.csm-dashboard-project-stats span{border:1px solid #e0e6ec;border-radius:10px;padding:11px 12px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center;background:#fbfcfd}.csm-dashboard-project-stats b{grid-row:1/3;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:#fff}.csm-dashboard-project-stats strong{font-size:18px;color:#143b66;line-height:1.1}.csm-dashboard-project-stats small{font-size:10px;color:#68798b}.csm-dashboard-project-stats .complete b{background:#39b96f}.csm-dashboard-project-stats .attention b{background:#f57c00}.csm-dashboard-project-stats .blocked b{background:#c28a00;font-size:11px}
@media(max-width:1000px){.csm-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.csm-dashboard-hero{align-items:flex-start;flex-direction:column}.csm-dashboard-priority-summary{justify-content:flex-start}}
@media(max-width:650px){.csm-dashboard-metrics{grid-template-columns:1fr 1fr}.csm-dashboard-project-stats{grid-template-columns:1fr}.csm-dashboard-section-head{align-items:flex-start}.csm-dashboard-project-main{align-items:center}.csm-dashboard-ring{width:70px;height:70px;flex-basis:70px}}

/* v1.2.8 — linked dashboard work queues and direct task navigation */
.csm-dashboard-metric{text-decoration:none;color:inherit;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.csm-dashboard-metric:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(31,54,77,.10);border-color:#a9c4d8}
.csm-dashboard-metric small{margin-top:5px;color:#7a8997;font-size:11px;font-weight:700;text-transform:none;letter-spacing:0}
.csm-dashboard-priority-summary a{display:flex;align-items:center;gap:6px;text-decoration:none;color:inherit;padding:5px 8px;border-radius:8px;transition:.15s}
.csm-dashboard-priority-summary a:hover{background:#fff;box-shadow:0 2px 8px rgba(31,54,77,.08)}
.csm-action-filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}
.csm-action-filters a{padding:8px 12px;border:1px solid var(--csm-border);background:#fff;border-radius:999px;text-decoration:none;font-weight:700;font-size:12px;color:var(--csm-navy)}
.csm-action-filters a:hover,.csm-action-filters a.active{background:var(--csm-navy);border-color:var(--csm-navy);color:#fff}
.csm-action-section-head{margin-top:30px}.csm-action-section-head>div p{margin:3px 0 0;color:var(--csm-muted);font-size:13px}
.csm-count-pill{display:inline-grid;place-items:center;min-width:34px;height:30px;padding:0 10px;border-radius:999px;background:#e8f2fa;color:var(--csm-blue);font-weight:800}
.csm-issue-list{display:grid;gap:9px;margin-bottom:30px}
.csm-issue-row{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid var(--csm-border);border-radius:12px;padding:14px 16px;text-decoration:none;transition:.15s}
.csm-issue-row:hover{border-color:#9cbcd4;box-shadow:0 4px 14px rgba(31,54,77,.07);transform:translateY(-1px)}
.csm-issue-task-num{font-weight:900;color:var(--csm-blue);font-size:16px}
.csm-issue-main{display:grid;gap:2px}.csm-issue-main strong{color:var(--csm-navy);font-size:15px}.csm-issue-main span{font-size:12px;color:var(--csm-muted)}.csm-issue-main small{color:#6b7783;margin-top:3px}
.csm-issue-right{display:grid;justify-items:end;gap:7px}.csm-open-step{font-size:11px;font-weight:800;color:var(--csm-blue)}
.csm-action-row small{color:var(--csm-muted)}.csm-open-step-btn{width:max-content;margin-top:5px}
@media(max-width:700px){.csm-issue-row{grid-template-columns:48px minmax(0,1fr)}.csm-issue-right{grid-column:2;justify-items:start;display:flex;align-items:center;gap:10px}}

/* v1.3.0 guided task help + optional supporting evidence */
.csm-panel-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.csm-panel-heading-row h2{margin:0}.csm-more-details{border:1px solid #b8cee0;background:#eef6fc;color:#1f5fae;border-radius:999px;padding:8px 12px;font-weight:800;font-size:12px;cursor:pointer;white-space:nowrap}.csm-more-details:hover{background:#dfeefa}
.csm-guide-modal{position:fixed;inset:0;z-index:999999;display:none}.csm-guide-modal.is-open{display:block}.csm-guide-backdrop{position:absolute;inset:0;background:rgba(15,35,55,.58)}.csm-guide-dialog{position:relative;width:min(760px,calc(100% - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:24px auto;background:#fff;border-radius:16px;padding:30px 34px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.csm-guide-dialog>h2{font-size:27px;color:#143b66;margin:5px 44px 22px 0}.csm-guide-close{position:absolute;right:18px;top:15px;width:36px;height:36px;border:0;border-radius:50%;background:#eef3f7;color:#536476;font-size:25px;cursor:pointer}.csm-guide-section{border-top:1px solid #e4e9ee;padding:18px 0 2px}.csm-guide-section h3,.csm-guide-good h3,.csm-guide-warning h3{margin:0 0 8px;color:#143b66;font-size:17px}.csm-guide-section p,.csm-guide-section li,.csm-guide-good p,.csm-guide-warning p{font-size:14px;line-height:1.65;color:#46596c}.csm-guide-section ol{padding-left:22px;margin:8px 0}.csm-guide-section li{margin:0 0 7px}.csm-guide-good,.csm-guide-warning{border-radius:10px;padding:14px 16px;margin-top:15px}.csm-guide-good{background:#eef9f2;border:1px solid #cce8d5}.csm-guide-warning{background:#fff8e9;border:1px solid #f1ddb0}.csm-guide-resources{display:grid;gap:8px}.csm-guide-resources a{color:#1f5fae;font-weight:800;text-decoration:none}.csm-modal-open{overflow:hidden}
.csm-evidence-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.csm-evidence-heading h3{margin:0 0 5px;color:#143b66}.csm-evidence-heading h3 small{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#788897}.csm-evidence-heading p{font-size:12px;line-height:1.5;color:#68798b;margin:0;max-width:520px}.csm-evidence-body{border-top:1px solid #e4e9ee;margin-top:15px;padding-top:15px}.csm-evidence-body[hidden]{display:none}
@media(max-width:650px){.csm-panel-heading-row,.csm-evidence-heading{align-items:flex-start;flex-direction:column}.csm-more-details{white-space:normal}.csm-guide-dialog{padding:24px 20px}.csm-guide-dialog>h2{font-size:23px}}

/* v1.3.1 project management */
.csm-project-datebar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #e5eaf1;border-radius:14px;padding:14px 16px;margin-bottom:18px}.csm-project-datebar>span{display:flex;flex-direction:column;min-width:120px}.csm-project-datebar small{color:#718096;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.csm-project-datebar strong{color:#1f2937}.csm-project-datebar .csm-btn{margin-left:auto}.csm-project-settings{display:none;margin-bottom:20px}.csm-project-settings.is-open{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:18px}.csm-danger-zone{background:#fff7f7;border:1px solid #fecaca;border-radius:14px;padding:20px}.csm-danger-zone h3{color:#991b1b;margin-top:0}.csm-danger-zone p{color:#7f1d1d}.csm-delete-project{background:#b91c1c!important;border-color:#b91c1c!important}.csm-delete-project:hover{background:#991b1b!important}@media(max-width:850px){.csm-project-settings.is-open{grid-template-columns:1fr}.csm-project-datebar .csm-btn{margin-left:0}}

/* v1.3.2 clearer project management and duplicate-project prevention */
.csm-new-project-word{color:#c62828;font-weight:900}.csm-new-project-warning{background:#fff7ed;border:1px solid #fed7aa;border-radius:9px;padding:10px 12px;color:#7c2d12;font-size:12px;line-height:1.5}.csm-project-line-with-actions{display:flex!important;align-items:center;gap:12px}.csm-project-line-main{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:1;text-decoration:none;color:inherit}.csm-edit-project-link{flex:0 0 auto}.csm-new-project-modal{position:fixed;inset:0;z-index:999999;display:none}.csm-new-project-modal.is-open{display:block}.csm-new-project-dialog{position:relative;width:min(570px,calc(100% - 32px));margin:12vh auto 0;background:#fff;border-radius:16px;padding:30px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.csm-new-project-dialog h2{margin:0 0 10px;color:#143b66}.csm-new-project-dialog p{color:#536476;line-height:1.6}.csm-new-project-modal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.csm-confirm-new-project{background:#c62828!important;border-color:#c62828!important}.csm-confirm-new-project:hover{background:#a91f1f!important}.csm-project-settings.is-open{display:grid!important}@media(max-width:700px){.csm-project-line-with-actions{align-items:stretch;flex-direction:column}.csm-project-line-main{width:100%}.csm-edit-project-link{width:max-content}}


/* v1.3.3 report email + danger-zone spacing */
.csm-danger-zone .csm-delete-project{margin-top:14px}
.csm-report-toolbar-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.csm-send-report-modal{position:fixed;inset:0;z-index:999999;display:none}.csm-send-report-modal.is-open{display:block}.csm-send-report-dialog{position:relative;width:min(650px,calc(100% - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:24px auto;background:#fff;border-radius:16px;padding:30px 34px;box-shadow:0 24px 70px rgba(0,0,0,.28)}.csm-send-report-dialog h2{color:#143b66;margin:0 44px 8px 0}.csm-send-report-dialog>p{color:#607286;line-height:1.55;margin:0 0 20px}.csm-send-report-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
@media(max-width:650px){.csm-report-toolbar{align-items:flex-start;gap:10px;flex-direction:column}.csm-report-toolbar-actions{justify-content:flex-start}.csm-send-report-dialog{padding:24px 20px}}
@media print{.csm-send-report-modal{display:none!important}}

/* v1.4.0 — baseline/follow-up monitoring, comparison reporting and email settings */
.csm-monitoring-intro{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}.csm-monitoring-intro>div{display:flex;gap:11px;align-items:center;background:#fff;border:1px solid var(--csm-border);border-radius:14px;padding:14px}.csm-monitoring-intro strong{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#eaf4fb;color:var(--csm-blue);font-size:15px}.csm-monitoring-intro span{display:grid;gap:2px}.csm-monitoring-intro b{color:var(--csm-navy);font-size:13px}.csm-monitoring-intro small{color:var(--csm-muted);font-size:11px;line-height:1.35}.csm-monitor-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.csm-monitor-compare{margin:24px 0}.csm-monitor-warning{background:#fff8e9;border:1px solid #efd9a6;border-radius:10px;padding:12px 14px;color:#72520c;margin:0 0 14px}.csm-compare-table th:not(:first-child),.csm-compare-table td:not(:first-child){text-align:right}.csm-change{font-weight:900}.csm-change.positive{color:#16864b}.csm-change.negative{color:#b42318}.csm-change.neutral{color:#718096}.csm-snapshot-badge{display:inline-block;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;background:#edf2f7;color:#536476}.csm-snapshot-badge.baseline{background:#e8f2fa;color:#1f5fae}.csm-snapshot-badge.follow-up{background:#eaf8ef;color:#16864b}.csm-snapshot-badge.milestone{background:#fff4dc;color:#9a6800}.csm-monitor-trends{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.csm-monitor-trends h3{margin-top:0;color:var(--csm-navy)}.csm-monitor-trends svg{width:100%;height:130px;color:var(--csm-blue);background:linear-gradient(to bottom,#f8fbfd,#fff);border-radius:10px}.csm-report-performance{margin-top:30px}.csm-report-performance .csm-report-section-head{margin-bottom:14px}
.csm-monitor-trends .csm-trend-chart{width:100%;height:auto;min-height:210px;overflow:visible;background:transparent;color:#58c5ff}
.csm-trend-grid line{stroke:#315a7c;stroke-width:1}
.csm-trend-grid text{fill:#b9d8ed;font-size:11px;font-weight:700}
.csm-trend-points circle{fill:#0f3154;stroke:#8fddff;stroke-width:3}
.csm-trend-point-value{fill:#fff;font-size:10px;font-weight:800;paint-order:stroke;stroke:#0b2947;stroke-width:3px;stroke-linejoin:round}
.csm-trend-note{margin:5px 0 0;color:#a9c9df;font-size:12px;text-align:center}
.csm-monitor-trends .csm-trend-clicks{color:#59c7ff}
.csm-monitor-trends .csm-trend-impressions{color:#ae91ff}
.csm-monitor-trends .csm-trend-ctr{color:#62dfa3}
.csm-monitor-trends .csm-trend-average_position{color:#ffb45c}
.csm-monitor-trends .csm-trend-points circle{stroke:currentColor}
.csm-pagespeed-trends{margin:18px 0}
.csm-pagespeed-trends-heading{margin-bottom:12px;padding:0 2px}
.csm-pagespeed-trends-heading h2{margin:0;color:#fff!important}
.csm-pagespeed-trend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.csm-pagespeed-trend-grid .csm-panel{margin:0;min-width:0}
.csm-pagespeed-trend-grid>.csm-panel:only-child{grid-column:1/-1}
.csm-pagespeed-trend-grid .csm-trend-chart{display:block;width:100%;height:auto;min-height:210px;overflow:visible;background:transparent}
.csm-speed-trend-mobile{color:#59c7ff}
.csm-speed-trend-desktop{color:#ffc866}
.csm-pagespeed-trend-grid .csm-trend-points circle{fill:#14244f;stroke:currentColor;stroke-width:3}
@media(max-width:700px){.csm-pagespeed-trend-grid{grid-template-columns:1fr}}

/* v1.13.58 — visually and structurally separate SEO monitoring from PageSpeed. */
.csm-monitoring-data-group{margin:26px 0;padding:20px;border:1px solid;border-radius:20px;box-shadow:0 14px 34px rgba(0,0,0,.18)}
.csm-monitoring-group-head{margin:-20px -20px 20px;padding:20px 22px 17px;border-radius:19px 19px 0 0;border-bottom:1px solid}
.csm-monitoring-group-head>span{display:block;margin-bottom:4px;font-size:10px;font-weight:900;letter-spacing:.13em}
.csm-monitoring-group-head h2{margin:0;color:#fff!important;font-size:25px}
.csm-monitoring-group-head p{margin:5px 0 0;max-width:780px;line-height:1.5}
.csm-monitoring-group-body>.csm-panel:last-child,.csm-monitoring-group-body>.csm-monitor-trends:last-child{margin-bottom:0}
.csm-monitoring-seo-group{background:linear-gradient(145deg,#0a3049 0%,#09283f 100%);border-color:#2a7891}
.csm-monitoring-seo-group .csm-monitoring-group-head{background:linear-gradient(135deg,#10536b,#0d4058);border-color:#2c7890}
.csm-monitoring-seo-group .csm-monitoring-group-head>span{color:#74dbd5}
.csm-monitoring-seo-group .csm-monitoring-group-head p{color:#bce4e6}
.csm-monitoring-speed-group{background:linear-gradient(145deg,#182a55 0%,#112242 100%);border-color:#586fae}
.csm-monitoring-speed-group .csm-monitoring-group-head{background:linear-gradient(135deg,#263f78,#1c3266);border-color:#5872b1}
.csm-monitoring-speed-group .csm-monitoring-group-head>span{color:#aabfff}
.csm-monitoring-speed-group .csm-monitoring-group-head p{color:#ced9ff}
.csm-monitoring-data-group .csm-panel,.csm-monitoring-data-group .csm-monitor-compare{box-shadow:0 6px 18px rgba(0,0,0,.14)!important}
@media(max-width:700px){
  .csm-monitoring-data-group{margin:20px 0;padding:12px;border-radius:15px}
  .csm-monitoring-group-head{margin:-12px -12px 14px;padding:17px 16px 14px;border-radius:14px 14px 0 0}
  .csm-monitoring-group-head h2{font-size:21px}
}
@media(max-width:1100px){.csm-monitor-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.csm-monitoring-intro{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.csm-monitor-metrics{grid-template-columns:1fr 1fr}.csm-monitor-trends{grid-template-columns:1fr}.csm-monitoring-intro{grid-template-columns:1fr}}@media(max-width:460px){.csm-monitor-metrics{grid-template-columns:1fr}}

/* v1.4.2 — larger report branding */
.csm-report-brand img{width:218px;height:105px;object-fit:contain}

/* v1.4.3 Monitoring guidance */
.csm-monitor-help{margin-bottom:22px;padding:0;overflow:hidden}
.csm-monitor-help summary{cursor:pointer;list-style:none;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#f4f8ff}
.csm-monitor-help summary::-webkit-details-marker{display:none}
.csm-monitor-help summary strong{font-size:17px;color:#163d70}
.csm-monitor-help summary span{font-size:13px;color:#65758b;text-align:right}
.csm-monitor-help-body{padding:20px}
.csm-help-callout{border-left:4px solid #1f6fd1;background:#f7faff;padding:14px 16px;margin-bottom:18px;border-radius:6px}
.csm-help-callout p{margin:5px 0 0}
.csm-help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.csm-help-grid>div{border:1px solid #e2e8f0;border-radius:10px;padding:16px;background:#fff}
.csm-help-grid h3{margin:0 0 5px}.csm-help-grid p{margin:5px 0 10px}.csm-help-grid ol{margin:8px 0 14px;padding-left:20px}
.csm-metric-help{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:12px;color:#1f6fd1;background:#eaf2ff;cursor:help;vertical-align:middle}
@media(max-width:800px){.csm-help-grid{grid-template-columns:1fr}.csm-monitor-help summary{align-items:flex-start;flex-direction:column}.csm-monitor-help summary span{text-align:left}}
/* v1.4.4 — editable monitoring snapshot history */
.csm-editing-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 18px;padding:12px 14px;border:1px solid #bdd7f4;background:#f1f7ff;border-radius:10px;color:#173f70}.csm-editing-notice span{font-size:12px;color:#5f7084}.csm-form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.csm-history-actions{display:flex;gap:8px;align-items:center}.csm-history-actions form{margin:0}.csm-btn-small{padding:7px 10px!important;font-size:12px!important;min-height:auto!important}.csm-btn-danger{background:#b42318!important;border-color:#b42318!important;color:#fff!important}.csm-btn-danger:hover{background:#8f1c13!important;border-color:#8f1c13!important}
@media(max-width:700px){.csm-editing-notice{align-items:flex-start;flex-direction:column}.csm-history-actions{align-items:stretch;flex-direction:column}.csm-history-actions .csm-btn{width:100%;text-align:center}}


/* v1.4.5 — custom branding and point-of-entry Monitoring help */
.csm-brand-preview{display:flex;align-items:center;gap:14px;background:#f7fafc;border:1px solid var(--csm-border);border-radius:12px;padding:12px;margin:12px 0 18px}.csm-brand-preview img{width:110px;height:58px;object-fit:contain;background:#fff;border-radius:8px}.csm-brand-preview div{display:grid;gap:3px}.csm-brand-preview small{color:var(--csm-muted)}.csm-check-row{display:flex;align-items:center;gap:8px;font-size:13px;margin:10px 0}.csm-monitor-metric{position:relative}.csm-metric-source{display:block;color:var(--csm-muted);font-size:11px;font-weight:600;margin:-2px 0 6px}.csm-metric-help{appearance:none;border:0;background:#e8f2fa;color:#1f5fae;width:22px;height:22px;border-radius:50%;display:inline-grid;place-items:center;padding:0;cursor:pointer;font-size:13px;font-weight:900;vertical-align:middle}.csm-metric-help:hover,.csm-metric-help[aria-expanded="true"]{background:#1f5fae;color:#fff}.csm-metric-popover{background:#f5f9fd;border:1px solid #cfe0ef;border-left:4px solid #2f75b5;border-radius:8px;padding:10px 11px;margin:0 0 8px;font-size:12px;line-height:1.45;color:#31465b}.csm-metric-popover p{margin:4px 0 0}.csm-metric-popover[hidden]{display:none!important}

/* v1.4.6 — monitoring source links and easier snapshot reopening */
.csm-metric-source a{color:var(--csm-blue);font-weight:800;text-decoration:none}.csm-metric-source a:hover{text-decoration:underline}.csm-inline-source-link{display:inline-block;margin-top:7px;color:var(--csm-blue);font-weight:800;text-decoration:none}.csm-inline-source-link:hover{text-decoration:underline}.csm-recent-snapshots{margin-top:20px}.csm-recent-snapshots td:first-child{min-width:190px}

/* v1.4.7 — monitoring reminders and navigation badge */
.csm-app-nav-item{position:relative}.csm-app-nav-item .csm-nav-label{flex:1}.csm-nav-badge{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#d92d20;color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 1px 2px rgba(0,0,0,.12)}
.csm-monitor-reminder-list{display:grid;gap:10px;margin:0 0 24px}.csm-monitor-reminder{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border:1px solid var(--csm-border);border-left:5px solid #f0b429;border-radius:12px;background:#fff}.csm-monitor-reminder.due,.csm-monitor-reminder.overdue{border-left-color:#d92d20;background:#fffafa}.csm-monitor-reminder>div{display:grid;gap:3px}.csm-monitor-reminder strong{color:var(--csm-navy);font-size:15px}.csm-monitor-reminder span,.csm-monitor-reminder small{color:var(--csm-muted)}.csm-monitor-reminder .csm-reminder-state{font-weight:900;color:#a15c00}.csm-monitor-reminder.due .csm-reminder-state,.csm-monitor-reminder.overdue .csm-reminder-state{color:#b42318}.csm-next-snapshot{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;padding:15px 17px;border-radius:12px;border:1px solid #d8e4ef;background:#f8fbfe}.csm-next-snapshot>div{display:grid;gap:3px}.csm-next-snapshot span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:var(--csm-blue)}.csm-next-snapshot strong{font-size:17px;color:var(--csm-navy)}.csm-next-snapshot small{color:var(--csm-muted)}.csm-next-snapshot.soon{border-color:#efd9a6;background:#fffaf0}.csm-next-snapshot.overdue{border-color:#f0b8b3;background:#fff7f6}.csm-next-snapshot.overdue span{color:#b42318}@media(max-width:700px){.csm-monitor-reminder,.csm-next-snapshot{align-items:flex-start;flex-direction:column}}

/* v1.4.9 – Step 1.7 Priority Search Intent layout */
.csm-search-intent-panel{border-left:4px solid #2563eb;padding:22px 24px}
.csm-search-intent-panel .csm-subsection-title{font-size:20px;margin-bottom:6px}
.csm-search-intent-panel .csm-field-help{margin:0 0 16px;line-height:1.55;color:#667085}
.csm-intent-options{display:flex;flex-direction:column;gap:12px;margin:14px 0 22px}
.csm-intent-choice{display:grid;grid-template-columns:24px minmax(140px,190px) 1fr;align-items:start;column-gap:14px;row-gap:3px;width:100%;box-sizing:border-box;border:1px solid #dbe3ef;border-radius:12px;padding:15px 16px;background:#fff;cursor:pointer;line-height:1.4}
.csm-intent-choice:hover{border-color:#aac4e6;background:#f9fbfe}
.csm-intent-choice input{margin:4px 0 0;width:18px;height:18px}
.csm-intent-choice strong{display:block;min-width:0;color:#173a63;font-size:16px;line-height:1.35}
.csm-intent-choice span{display:block;color:#5f6f82;font-size:14px;line-height:1.5}
.csm-search-intent-panel .csm-form-row{margin-top:8px}
.csm-search-intent-panel .csm-form-row>label{display:block;margin-bottom:8px;font-weight:700;line-height:1.4}
.csm-search-intent-panel textarea{min-height:105px}
@media(max-width:760px){.csm-search-intent-panel{padding:18px}.csm-intent-choice{grid-template-columns:24px 1fr}.csm-intent-choice span{grid-column:2}.csm-intent-choice strong{font-size:15px}}


/* v1.5.0 supporting evidence UX + step-specific evidence feedback */
.csm-evidence-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:14px 16px;border:1px solid #e3eaf0;border-radius:12px;background:#f8fbfd}
.csm-evidence-summary strong{display:block;color:#173d67;margin-bottom:3px}.csm-evidence-summary span{display:block;font-size:12px;color:#718093;line-height:1.45}
.csm-evidence-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.csm-evidence-list,.csm-evidence-add{border-top:1px solid #e4e9ee;margin-top:15px;padding-top:15px}.csm-evidence-list[hidden],.csm-evidence-add[hidden]{display:none}
.csm-evidence-list p{margin:7px 0}.csm-evidence-add form{margin:0}
@media(max-width:700px){.csm-evidence-summary{align-items:flex-start;flex-direction:column}.csm-evidence-actions{justify-content:flex-start}}


/* v1.5.1 — client-report evidence controls and report display */
.csm-evidence-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid #e8edf2}.csm-evidence-item:last-child{border-bottom:0}.csm-evidence-item-main p{margin:5px 0 0;color:var(--csm-muted);font-size:12px}.csm-evidence-report-form{display:flex;align-items:center;gap:9px;margin:0}.csm-report-toggle{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#44576b;white-space:nowrap}.csm-report-evidence{margin-top:14px;padding:13px 15px;background:#f7fafc;border:1px solid #dce4eb;border-radius:10px}.csm-report-evidence>strong{display:block;color:#143b66;margin-bottom:9px}.csm-report-evidence figure{margin:0 0 12px}.csm-report-evidence figure:last-child{margin-bottom:0}.csm-report-evidence img{display:block;max-width:100%;max-height:520px;width:auto;height:auto;border:1px solid #dce4eb;border-radius:8px}.csm-report-evidence figcaption,.csm-report-evidence p span{display:block;margin-top:5px;color:#657587;font-size:12px;line-height:1.45}.csm-report-evidence p{margin:7px 0}
@media(max-width:760px){.csm-evidence-item{grid-template-columns:1fr}.csm-evidence-report-form{align-items:flex-start;flex-wrap:wrap}.csm-report-toggle{white-space:normal}}
@media print{.csm-report-evidence img{max-height:420px;page-break-inside:avoid}.csm-report-evidence{page-break-inside:avoid}}

/* v1.5.3 — evidence cards remain readable inside the narrow task sidebar */
.csm-evidence-list{display:grid;gap:12px}
.csm-evidence-item{grid-template-columns:64px minmax(0,1fr);gap:12px 14px;align-items:start;padding:14px;border:1px solid #e3eaf0;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(20,59,102,.03)}
.csm-evidence-item:last-child{border-bottom:1px solid #e3eaf0}
.csm-evidence-preview{width:64px;height:54px;border:1px solid #e1e8ef;border-radius:9px;background:#f7fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}
.csm-evidence-thumb{width:100%;height:100%;object-fit:cover;display:block}
.csm-evidence-file-icon{font-size:22px;color:var(--csm-blue);font-weight:800}
.csm-evidence-item-main{min-width:0;padding-top:1px}.csm-evidence-step-link{display:block;margin-bottom:5px;font-size:11px;line-height:1.4;font-weight:800;color:#68798b;text-decoration:none;text-transform:none;overflow-wrap:normal;word-break:normal}.csm-evidence-step-link:hover{color:var(--csm-blue);text-decoration:underline}
.csm-evidence-title{display:block;font-weight:800;line-height:1.4;overflow-wrap:break-word;word-break:normal}.csm-evidence-item-main p{margin:6px 0 0;line-height:1.45}
.csm-evidence-report-form{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:9px;flex-wrap:wrap;margin:0;padding-top:11px;border-left:0;border-top:1px solid #edf1f4}.csm-report-toggle{flex:1 1 150px;white-space:normal;line-height:1.35}.csm-report-toggle input{flex:0 0 auto}.csm-evidence-report-form .csm-btn{flex:0 0 auto}
.csm-recent-evidence p{display:flex;flex-direction:column;gap:3px;padding:9px 0;border-bottom:1px solid #eef2f5;margin:0}.csm-recent-evidence p:last-child{border-bottom:0}.csm-recent-step-link{font-size:11px;font-weight:800;color:#68798b;text-decoration:none}.csm-recent-step-link:hover{color:var(--csm-blue);text-decoration:underline}
@media(max-width:520px){.csm-evidence-item{grid-template-columns:52px minmax(0,1fr);gap:10px 12px;padding:12px}.csm-evidence-preview{width:52px;height:46px}.csm-evidence-report-form{grid-column:1/-1}.csm-report-toggle{flex:1 1 140px}}


/* v1.5.4 — evidence deletion */
.csm-evidence-controls{grid-column:1/-1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:11px;border-top:1px solid #edf1f4}
.csm-evidence-controls .csm-evidence-report-form{grid-column:auto;flex:1 1 210px;padding-top:0;border-top:0}
.csm-evidence-delete-form{margin:0;flex:0 0 auto}
.csm-delete-evidence{background:#fff!important;border:1px solid #d9a4a4!important;color:#a62d2d!important}
.csm-delete-evidence:hover{background:#fff5f5!important;border-color:#c87575!important;color:#8e1f1f!important}
@media(max-width:520px){.csm-evidence-controls{align-items:stretch}.csm-evidence-controls .csm-evidence-report-form{flex:1 1 100%}.csm-evidence-delete-form{margin-left:auto}}

/* v1.5.5 — keep evidence Save/Delete controls in one reliable form */
.csm-evidence-controls .csm-evidence-report-form{display:flex;align-items:center;gap:10px;width:100%;flex:1 1 100%;margin:0}
.csm-evidence-button-group{display:flex;align-items:center;gap:8px;flex:0 0 auto;margin-left:auto}
.csm-evidence-delete-form{display:none!important}
@media(max-width:520px){.csm-evidence-controls .csm-evidence-report-form{flex-wrap:wrap}.csm-evidence-button-group{margin-left:auto}}

/* v1.5.6 — ensure Delete evidence control is visibly rendered */
.csm-evidence-button-group .csm-delete-evidence{display:inline-flex!important;visibility:visible!important;opacity:1!important;min-width:58px}

.csm-client-danger-zone{margin-top:22px}.csm-client-danger-zone .csm-delete-project{margin-top:14px}

/* v1.5.9 — universal step help trigger */
.csm-step-help{display:inline-flex!important;align-items:center;gap:7px;white-space:nowrap}
.csm-help-question{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#1f5fae;color:#fff;font-size:14px;font-weight:900;line-height:1}
.csm-step-help:hover .csm-help-question,.csm-step-help:focus .csm-help-question{background:#143b66}
@media(max-width:650px){.csm-step-help{align-self:flex-start}}


/* v1.6.1 — universal guide quick links */
.csm-guide-quick{background:#f6f9fd;border:1px solid #dbe7f4;border-radius:12px;padding:16px 18px!important}
.csm-guide-quick-intro{margin:0 0 12px;color:#58697b}
.csm-guide-quick-links{display:flex;flex-wrap:wrap;gap:9px}
.csm-guide-quick-link{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 13px;border:1px solid #c9d8e8;border-radius:8px;background:#fff;text-decoration:none!important;font-weight:700;line-height:1.2;color:#174b7a!important;box-shadow:0 1px 2px rgba(20,59,102,.05)}
.csm-guide-quick-link:hover,.csm-guide-quick-link:focus{border-color:#1f5fae;box-shadow:0 2px 6px rgba(20,59,102,.12)}
.csm-guide-link-internal{background:#eef6ff;border-color:#b9d5f0;color:#143b66!important}
.csm-guide-link-website{background:#f8fbf6;border-color:#cadfc4;color:#315c29!important}
@media(max-width:650px){.csm-guide-quick-links{display:grid;grid-template-columns:1fr}.csm-guide-quick-link{justify-content:flex-start}}

/* v1.6.6 — active Action Items workflow badge */
.csm-step-status.in-progress{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;background:#eef6ff;color:#245f9b;white-space:nowrap}

/* v1.6.8 — report status summary */
.csm-report-metric.in-progress .csm-report-metric-icon{background:#2f75b5}
.csm-report-metric.blocked .csm-report-metric-icon{background:#9c6d00}
@media(max-width:1100px){.csm-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.csm-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* v1.6.9 — interactive report summary */
button.csm-report-metric{font:inherit;cursor:pointer;text-align:center;width:100%;appearance:none;-webkit-appearance:none}
button.csm-report-metric:hover,button.csm-report-metric:focus-visible{transform:translateY(-1px);box-shadow:0 8px 22px rgba(20,59,102,.12)}
button.csm-report-metric.active{outline:3px solid rgba(31,95,174,.22);outline-offset:2px}
.csm-report-metric small{display:block;margin-top:4px;font-size:11px;color:#6d7d8d;font-weight:700}
.csm-report-filter-status{margin:-16px 0 22px;font-size:13px;color:#627486;font-weight:600}
.csm-report-item[hidden],.csm-report-section-head[hidden]{display:none!important}


/* v1.7.2 — mobile-safe How & Where guide */
@media (max-width:700px){
  .csm-guide-modal{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    z-index:999999!important;
    overflow:hidden!important;
    padding:
      max(12px, env(safe-area-inset-top))
      max(12px, env(safe-area-inset-right))
      max(12px, env(safe-area-inset-bottom))
      max(12px, env(safe-area-inset-left))!important;
    box-sizing:border-box!important;
  }

  .csm-guide-backdrop{
    position:fixed!important;
    inset:0!important;
  }

  .csm-guide-dialog{
    box-sizing:border-box!important;
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    max-height:calc(100vh - 24px)!important;
    margin:0 auto!important;
    padding:22px 18px calc(28px + env(safe-area-inset-bottom))!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    border-radius:14px!important;
  }

  .csm-guide-dialog>h2{
    font-size:22px!important;
    line-height:1.25!important;
    margin:4px 44px 18px 0!important;
  }

  .csm-guide-close{
    position:sticky!important;
    top:0!important;
    z-index:6!important;
    float:right;
    margin:-6px -2px 4px 10px!important;
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:0 2px 8px rgba(20,59,102,.12);
  }

  .csm-guide-section{
    padding-top:15px!important;
  }

  body.csm-modal-open{
    overflow:hidden!important;
    overscroll-behavior:none;
    touch-action:none;
  }

  /* Re-enable touch scrolling inside the guide while background remains locked. */
  body.csm-modal-open .csm-guide-dialog{
    touch-action:pan-y;
  }
}

@supports (height:100dvh){
  @media (max-width:700px){
    .csm-guide-dialog{
      max-height:calc(
        100dvh
        - max(12px, env(safe-area-inset-top))
        - max(12px, env(safe-area-inset-bottom))
      )!important;
    }
  }
}


/* v1.8.0 — Google Data Connections */
.csm-google-connections{margin:18px 0 24px}
.csm-google-state{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;white-space:nowrap}
.csm-google-state.connected{background:#eaf8ef;color:#227447}
.csm-google-state.disconnected{background:#f1f4f7;color:#6c7987}
.csm-google-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.csm-google-service{border:1px solid #dce5ed;border-radius:12px;padding:14px;background:#fbfcfd}
.csm-google-service-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}
.csm-google-service-head strong{color:#143b66}
.csm-google-service-head span{font-size:11px;font-weight:800;color:#66798a}
.csm-google-service p{font-size:12px;line-height:1.5;color:#607284;margin:0 0 10px}
.csm-google-service select{width:100%}
.csm-google-service code{font-size:11px;word-break:break-all}
.csm-google-error{background:#fff4f2;border:1px solid #f0c7c0;color:#9d382c;border-radius:8px;padding:8px 10px;font-size:11px;margin:8px 0}
.csm-google-empty{background:#f6f9fc;border:1px solid #dce5ed;border-radius:10px;padding:13px;margin-top:12px}
.csm-google-status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 0 8px;font-size:12px;color:#68798b}
.csm-google-scopes{background:#f7f9fb;border:1px solid #dde6ee;border-radius:10px;padding:11px 13px;margin:13px 0;font-size:12px;color:#526579}
.csm-google-scopes ul{margin:7px 0 0 18px;padding:0}
.csm-inline-form{display:inline-block;margin:0}
@media(max-width:800px){.csm-google-grid{grid-template-columns:1fr}.csm-google-status-row{align-items:flex-start;flex-direction:column}}

/* v1.8.1 */
.csm-google-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.csm-google-help-modal .csm-guide-dialog{max-width:760px}@media(max-width:700px){.csm-google-head-actions{width:100%;justify-content:flex-start}.csm-google-settings .csm-panel-heading-row{align-items:flex-start;flex-direction:column}}

/* v1.8.2 — prominent Google setup help */
.csm-google-help-button{
  background:#1f5fae!important;border:2px solid #1f5fae!important;color:#fff!important;
  font-weight:800!important;box-shadow:0 3px 10px rgba(31,95,174,.22);
}
.csm-google-help-button:hover,.csm-google-help-button:focus{
  background:#174b89!important;border-color:#174b89!important;color:#fff!important;
  transform:translateY(-1px);
}

/* v1.8.3 — plain-language How & Where presentation */
.csm-simple-guide-note{font-size:14px;line-height:1.6;margin:0}
.csm-guide-start{background:#f4f8fc;border:1px solid #d7e5f3;border-radius:10px;padding:14px!important;margin-top:12px}
.csm-guide-finish{background:#f2faf5;border:1px solid #cfe8d7;border-radius:10px;padding:14px!important;margin-top:18px}
.csm-guide-section ol,.csm-guide-section ul{padding-left:22px}
.csm-guide-section li{margin:6px 0;line-height:1.55}

/* v1.9.0 — live Google data */
.csm-live-period{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;margin:10px 0 14px}.csm-live-period span{font-size:12px;color:#66788a}.csm-live-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.csm-live-card{border:1px solid #dfe7ef;border-radius:10px;padding:12px;background:#fff}.csm-live-card span,.csm-live-card small{display:block;color:#617285;font-size:11px}.csm-live-card strong{display:block;font-size:22px;color:#163a60;margin:3px 0}.csm-live-tables{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.csm-live-table td:first-child{max-width:360px;overflow-wrap:anywhere}.csm-google-snapshot-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.csm-google-snapshot-form select{min-width:150px}
@media(max-width:900px){.csm-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.csm-live-tables{grid-template-columns:1fr}}
@media(max-width:520px){.csm-live-metrics{grid-template-columns:1fr}.csm-google-snapshot-form{width:100%}.csm-google-snapshot-form select,.csm-google-snapshot-form button{width:100%}}

/* v1.9.1 — Live Google table containment + clearer project-edit guidance */
.csm-live-google{min-width:0;overflow:hidden}
.csm-live-tables{min-width:0}
.csm-live-tables>div{min-width:0;max-width:100%}
.csm-live-tables .csm-table-wrap{width:100%;max-width:100%;overflow-x:auto}
.csm-live-table{width:100%;max-width:100%;table-layout:fixed}
.csm-live-table th:first-child,.csm-live-table td:first-child{width:58%;max-width:none;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.csm-live-table th:not(:first-child),.csm-live-table td:not(:first-child){width:14%;white-space:nowrap}
.csm-new-project-warning a{font-weight:700;text-decoration:underline;text-underline-offset:2px}

/* v1.9.2 — Monitoring hierarchy and snapshot source labels */
.csm-recent-snapshots-first{border-top:4px solid #1f5fae}
.csm-manual-snapshot-panel{margin-top:18px}
.csm-manual-snapshot-note{display:flex;gap:10px;align-items:flex-start;background:#f7f9fb;border:1px solid #dce5ed;border-radius:9px;padding:10px 12px;margin:0 0 16px}
.csm-manual-snapshot-note strong{color:#143b66;white-space:nowrap}
.csm-manual-snapshot-note span{font-size:12px;line-height:1.5;color:#607284}
.csm-snapshot-source{display:inline-flex;align-items:center;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;white-space:nowrap}
.csm-snapshot-source.google{background:#eaf8ef;color:#227447}
.csm-snapshot-source.manual{background:#eef3f7;color:#586a7a}
.csm-no-snapshots-yet{margin-bottom:16px}
@media(max-width:650px){.csm-manual-snapshot-note{flex-direction:column;gap:3px}}

/* v1.10.0 — connected Google evidence inside audit tasks */
.csm-connected-data{border:1px solid #bfd8ee;border-left:5px solid #1f5fae;background:#f7fbff;border-radius:12px;padding:16px;margin:16px 0}
.csm-connected-data-empty{border-left-color:#8797a5;background:#f8fafb}
.csm-connected-data-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.csm-connected-data-head>div{display:flex;flex-direction:column;gap:2px}
.csm-connected-data-head strong{font-size:16px;color:#143b66}
.csm-connected-data-head small{font-size:11px;color:#687b8d}
.csm-connected-data-head>span{background:#e8f3fd;color:#1f5fae;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.csm-auto-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:10px 0 13px}
.csm-auto-metric{min-width:0;border:1px solid #d9e6f1;background:#fff;border-radius:9px;padding:10px}
.csm-auto-metric span,.csm-auto-metric small{display:block;font-size:10px;color:#6c7d8d}
.csm-auto-metric strong{display:block;margin:3px 0;color:#173d65;font-size:16px;overflow-wrap:anywhere}
.csm-auto-notice{border-radius:9px;padding:10px 12px;margin:10px 0;background:#eef6fc;border:1px solid #cfe0ee}
.csm-auto-notice strong{color:#163f68}
.csm-auto-notice p{margin:4px 0 0;font-size:12px;line-height:1.55;color:#536779}
.csm-auto-notice.warning{background:#fff7e9;border-color:#ecd8ad}
.csm-auto-notice.limitation{background:#f7f5fb;border-color:#dcd3eb}
.csm-auto-notice.success{background:#edf9f1;border-color:#cce7d5}
.csm-auto-detail{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:start;border-top:1px solid #dce7f0;padding:8px 0}
.csm-auto-detail span{font-size:11px;font-weight:800;color:#5d7184}
.csm-auto-detail code{font-size:11px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}
.csm-connected-intro{font-size:12px;color:#536779;margin:10px 0 6px}
.csm-auto-table{table-layout:fixed;width:100%}
.csm-auto-table th,.csm-auto-table td{overflow-wrap:anywhere;word-break:break-word;vertical-align:top}
.csm-auto-list{margin:8px 0 8px 20px}
.csm-auto-list li{margin:5px 0;font-size:12px;line-height:1.5;color:#536779}
.csm-connected-data-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #dce7f0;margin-top:12px;padding-top:10px}
.csm-connected-data-foot{font-size:10px;color:#708294;margin:0}
@media(max-width:900px){.csm-auto-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.csm-auto-metrics{grid-template-columns:1fr}.csm-auto-detail{grid-template-columns:1fr;gap:3px}.csm-connected-data-footer{align-items:flex-start;flex-direction:column}}

/* v1.10.1 — automatic objective-task completion + health indicators */
.csm-auto-complete-note{display:flex;gap:10px;align-items:flex-start;background:#eef8f2;border:1px solid #cce7d5;border-radius:9px;padding:9px 11px;margin:0 0 12px}
.csm-auto-complete-note strong{color:#227447;white-space:nowrap;font-size:11px}
.csm-auto-complete-note span{font-size:11px;line-height:1.5;color:#536779}
.csm-health-row dt{display:flex!important;align-items:center;gap:8px}
.csm-health-row dd{display:flex!important;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.csm-health-row dd strong{font-size:10px;letter-spacing:.03em}
.csm-health-row dd span{overflow-wrap:anywhere}
.csm-health-icon{display:inline-grid;place-items:center;width:22px;height:22px;min-width:22px;border-radius:50%;font-weight:900;font-size:13px}
.csm-health-row.pass .csm-health-icon{background:#e5f7eb;color:#1f7a46;border:1px solid #bfe4ca}
.csm-health-row.pass dd strong{color:#1f7a46}
.csm-health-row.fail .csm-health-icon{background:#fff0ee;color:#b43b2f;border:1px solid #efc6c1}
.csm-health-row.fail dd strong{color:#b43b2f}
@media(max-width:650px){.csm-auto-complete-note{flex-direction:column;gap:3px}.csm-health-row dd{justify-content:flex-start}}

/* v1.10.2 — connected tasks hide redundant manual lookup instructions */
.csm-connected-replaces-manual{display:flex;align-items:flex-start;gap:10px;background:#edf8f1;border:1px solid #c9e6d3;border-radius:10px;padding:11px 13px;margin:14px 0}
.csm-connected-replaces-manual>span{display:grid;place-items:center;width:24px;height:24px;min-width:24px;border-radius:50%;background:#dff3e6;color:#1f7a46;font-weight:900}
.csm-connected-replaces-manual strong{display:block;color:#1f6f43;margin-bottom:2px}
.csm-connected-replaces-manual p{margin:0;color:#586d60;font-size:12px;line-height:1.5}

/* v1.10.3 — keep Google integration in the settings sidebar; prioritize it on mobile */
@media(max-width:900px){
  .csm-settings-layout{display:flex!important;flex-direction:column!important}
  .csm-settings-google-aside{order:-1!important;width:100%!important}
  .csm-settings-main{order:0!important;width:100%!important}
}

/* v1.10.4 — task-page layout repair and shared responsive cleanup */
.csm-task-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(270px,310px)!important;
  gap:20px!important;
  align-items:start;
}
.csm-task-main,.csm-task-sidebar{min-width:0}
.csm-task-sidebar{width:100%;max-width:310px;justify-self:end}
.csm-task-sidebar .csm-panel{width:100%;max-width:100%;min-width:0}
.csm-current-status-panel{position:sticky;top:80px}
.csm-evidence-panel{overflow:hidden}
.csm-evidence-summary,.csm-evidence-item,.csm-evidence-item-main,.csm-evidence-controls{min-width:0}
.csm-evidence-item a,.csm-evidence-item p,.csm-evidence-item span{overflow-wrap:anywhere;word-break:break-word}
.csm-connected-data,.csm-info-card,.csm-do-panel,.success-panel,.csm-task-main>.csm-panel{max-width:100%;min-width:0}
.csm-connected-data .csm-table-wrap,.csm-task-main .csm-table-wrap{max-width:100%;overflow-x:auto}
.csm-page-head>*{min-width:0}
.csm-panel-heading-row>*{min-width:0}

@media(max-width:1180px) and (min-width:761px){
  .csm-task-layout{
    grid-template-columns:minmax(0,1fr) 270px!important;
    gap:16px!important;
  }
  .csm-task-sidebar{max-width:270px}
  .csm-app-content{padding-left:22px;padding-right:22px}
}

@media(max-width:760px){
  .csm-task-layout{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  .csm-task-sidebar{
    max-width:none!important;
    width:100%!important;
    justify-self:stretch!important;
  }
  .csm-current-status-panel{position:static!important}
  .csm-task-sidebar .csm-panel{width:100%!important}
}

/* General page containment so long URLs/data cannot stretch shared layouts. */
.csm-two-col>*,.csm-project-grid>*,.csm-dashboard-metrics>*,.csm-google-grid>*{min-width:0}
.csm-panel code,.csm-panel a,.csm-panel td{overflow-wrap:anywhere}

/* v1.10.5 — Google source attribution in client reports */
.csm-report-google{margin:9px 0 0;padding:9px 11px;border-radius:8px;border:1px solid #cbdfee;background:#f2f8fd}
.csm-report-google.verified{background:#eef9f2;border-color:#c4e5cf}
.csm-report-google-label{display:flex;align-items:center;gap:7px}
.csm-report-google-label span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#dcecf9;color:#1f5fae;font-size:11px;font-weight:900}
.csm-report-google.verified .csm-report-google-label span{background:#dff3e6;color:#1f7a46}
.csm-report-google-label strong{font-size:12px;color:#1f5fae}
.csm-report-google.verified .csm-report-google-label strong{color:#1f7a46}
.csm-report-google-source,.csm-report-google-detail{font-size:11px;line-height:1.5;color:#5a6d7f;margin-top:3px;overflow-wrap:anywhere}
.csm-report-google-source span,.csm-report-performance-source span{color:#9aa7b3;padding:0 3px}
.csm-report-performance-source{font-size:11px!important;margin-top:5px!important;color:#657587!important}
@media print{
  .csm-report-google{break-inside:avoid}
}

/* v1.10.6 — connected-data table consistency and overflow protection */
.csm-connected-data{max-width:100%;overflow:hidden}
.csm-connected-data .csm-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.csm-auto-table{
  width:100%;
  max-width:100%;
  table-layout:auto!important;
  border-collapse:collapse;
}
.csm-auto-table th,
.csm-auto-table td{
  vertical-align:top;
  line-height:1.35;
  padding:9px 8px;
}
.csm-auto-table th{
  white-space:nowrap;
}
.csm-auto-table td{
  min-width:0;
}
.csm-auto-table td:first-child,
.csm-auto-table td:nth-child(2){
  overflow-wrap:anywhere;
  word-break:break-word;
}
.csm-auto-table td:not(:first-child):not(:nth-child(2)),
.csm-auto-table th:not(:first-child):not(:nth-child(2)){
  white-space:nowrap;
  text-align:right;
}

/* Query → ranking page: protect metric columns and give URL room. */
.csm-query-page-table{
  min-width:760px;
}
.csm-query-page-table th:nth-child(1),
.csm-query-page-table td:nth-child(1){width:22%;text-align:left}
.csm-query-page-table th:nth-child(2),
.csm-query-page-table td:nth-child(2){width:48%;text-align:left}
.csm-query-page-table th:nth-child(3),
.csm-query-page-table td:nth-child(3){width:10%}
.csm-query-page-table th:nth-child(4),
.csm-query-page-table td:nth-child(4){width:10%}
.csm-query-page-table th:nth-child(5),
.csm-query-page-table td:nth-child(5){width:10%}

/* Other URL-heavy task tables. */
.csm-url-table{min-width:620px}
.csm-url-table th:first-child,
.csm-url-table td:first-child{width:68%;text-align:left}
.csm-url-table th:not(:first-child),
.csm-url-table td:not(:first-child){width:auto;white-space:nowrap;text-align:right}

.csm-cannibal-table{min-width:700px}
.csm-cannibal-table th:nth-child(1),
.csm-cannibal-table td:nth-child(1){width:28%;text-align:left}
.csm-cannibal-table th:nth-child(2),
.csm-cannibal-table td:nth-child(2){width:12%;white-space:nowrap;text-align:center}
.csm-cannibal-table th:nth-child(3),
.csm-cannibal-table td:nth-child(3){width:60%;text-align:left;white-space:normal;overflow-wrap:anywhere}

/* General consistency for every connected-data component. */
.csm-auto-metrics>*,
.csm-auto-notice,
.csm-auto-detail,
.csm-connected-data-footer,
.csm-connected-replaces-manual{min-width:0;max-width:100%}
.csm-auto-detail code,
.csm-connected-data code,
.csm-connected-data a{
  overflow-wrap:anywhere;
  word-break:break-word;
}
.csm-connected-data h3,
.csm-connected-data p,
.csm-connected-data li{
  max-width:100%;
}

@media(max-width:760px){
  .csm-connected-data{padding:13px}
  .csm-auto-table{font-size:11px}
  .csm-auto-table th,.csm-auto-table td{padding:8px 7px}
  .csm-query-page-table{min-width:700px}
}

/* v1.10.7 — keep all Search Console metrics visible; wrap text instead of hiding columns */
.csm-connected-data .csm-auto-table{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.csm-query-page-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed!important;
}
.csm-query-page-table th:nth-child(1),
.csm-query-page-table td:nth-child(1){
  width:21%!important;text-align:left!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
}
.csm-query-page-table th:nth-child(2),
.csm-query-page-table td:nth-child(2){
  width:43%!important;text-align:left!important;white-space:normal!important;
  overflow-wrap:anywhere!important;word-break:break-word!important;
}
.csm-query-page-table th:nth-child(3),
.csm-query-page-table td:nth-child(3),
.csm-query-page-table th:nth-child(4),
.csm-query-page-table td:nth-child(4),
.csm-query-page-table th:nth-child(5),
.csm-query-page-table td:nth-child(5){
  width:12%!important;text-align:right!important;white-space:nowrap!important;
}
.csm-url-table,.csm-cannibal-table{
  width:100%!important;min-width:0!important;table-layout:fixed!important;
}
.csm-url-table th:first-child,.csm-url-table td:first-child{
  width:64%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;
}
.csm-cannibal-table th:nth-child(1),.csm-cannibal-table td:nth-child(1){width:27%!important}
.csm-cannibal-table th:nth-child(2),.csm-cannibal-table td:nth-child(2){width:12%!important}
.csm-cannibal-table th:nth-child(3),.csm-cannibal-table td:nth-child(3){
  width:61%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;
}
.csm-connected-data .csm-auto-table:not(.csm-query-page-table):not(.csm-url-table):not(.csm-cannibal-table) th:first-child,
.csm-connected-data .csm-auto-table:not(.csm-query-page-table):not(.csm-url-table):not(.csm-cannibal-table) td:first-child{
  width:auto!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;
}
.csm-connected-data .csm-auto-table:not(.csm-query-page-table):not(.csm-url-table):not(.csm-cannibal-table) th:not(:first-child),
.csm-connected-data .csm-auto-table:not(.csm-query-page-table):not(.csm-url-table):not(.csm-cannibal-table) td:not(:first-child){
  width:15%!important;white-space:nowrap!important;text-align:right!important;
}
@media(max-width:520px){
  .csm-connected-data .csm-table-wrap{overflow-x:auto}
  .csm-query-page-table{min-width:620px!important}
  .csm-url-table{min-width:560px!important}
  .csm-cannibal-table{min-width:600px!important}
}

/* v1.10.9 — consolidated Actions work queue */
.csm-action-row-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:5px}
.csm-action-origin{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.csm-action-origin.audit{background:#eaf3fb;color:#1f5fae;border:1px solid #cbdfee}
.csm-action-origin.standalone{background:#f2f3f5;color:#64717d;border:1px solid #dce1e5}
.csm-action-step-link{font-weight:700;text-decoration:none}
.csm-action-step-link:hover{text-decoration:underline}
.csm-action-description{display:block;margin-top:5px;line-height:1.45}

/* v1.11.1 — stronger action filter count badges */
.csm-action-filters a{display:inline-flex;align-items:center;gap:9px}
.csm-action-filter-count{
  display:inline-grid;
  place-items:center;
  min-width:29px;
  height:29px;
  padding:0 8px;
  border-radius:999px;
  background:var(--csm-blue);
  color:#fff;
  border:2px solid #fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  letter-spacing:-.02em;
  box-shadow:0 1px 4px rgba(31,54,77,.22),0 0 0 1px rgba(47,117,181,.18);
}
.csm-action-filters a:hover .csm-action-filter-count,
.csm-action-filters a.active .csm-action-filter-count{
  background:#fff;
  color:var(--csm-navy);
  border-color:rgba(255,255,255,.8);
  box-shadow:0 1px 5px rgba(0,0,0,.18);
}

/* v1.11.3 PageSpeed request feedback */
.csm-btn.is-loading{cursor:wait;opacity:.82}
.csm-pagespeed-test-form{margin-top:12px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.csm-pagespeed-test-form .csm-field-help{flex:1 1 220px;margin:0}

/* v1.11.5 — mobile-friendly Monitoring snapshot cards */
@media(max-width:700px){
  .csm-monitor-table-wrap{
    overflow:visible!important;
    width:100%;
  }
  .csm-monitor-card-table,
  .csm-monitor-card-table tbody{
    display:block;
    width:100%;
    min-width:0!important;
  }
  .csm-monitor-card-table thead{
    display:none;
  }
  .csm-monitor-card-table tr{
    display:block;
    width:100%;
    box-sizing:border-box;
    margin:0 0 14px;
    padding:0;
    overflow:hidden;
    border:1px solid #dbe4ec;
    border-radius:12px;
    background:#fff;
    box-shadow:0 2px 8px rgba(20,59,102,.05);
  }
  .csm-monitor-card-table tbody tr:last-child{
    margin-bottom:0;
  }
  .csm-monitor-card-table td,
  .csm-compare-table.csm-monitor-card-table td:not(:first-child){
    display:grid;
    grid-template-columns:minmax(90px,38%) minmax(0,1fr);
    align-items:center;
    gap:10px;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box;
    padding:10px 12px!important;
    border:0!important;
    border-bottom:1px solid #edf1f5!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }
  .csm-monitor-card-table td::before{
    content:attr(data-label);
    color:#68798b;
    font-size:11px;
    font-weight:900;
    letter-spacing:.04em;
    line-height:1.25;
    text-transform:uppercase;
  }
  .csm-monitor-card-table td.csm-monitor-card-title{
    display:block;
    padding:14px 12px!important;
    background:#f7fafc;
    color:var(--csm-navy);
  }
  .csm-monitor-card-table td.csm-monitor-card-title::before{
    display:none;
  }
  .csm-monitor-card-table td.csm-monitor-card-title strong{
    font-size:15px;
    line-height:1.3;
  }
  .csm-monitor-card-table td:last-child{
    border-bottom:0!important;
  }
  .csm-monitor-card-table .csm-monitor-card-action{
    display:block;
    padding:12px!important;
    background:#fbfcfe;
  }
  .csm-monitor-card-table .csm-monitor-card-action::before{
    display:none;
  }
  .csm-monitor-card-table .csm-monitor-card-action .csm-btn,
  .csm-recent-snapshot-table .csm-monitor-card-action .csm-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    min-height:44px!important;
    box-sizing:border-box;
    text-align:center;
  }
  .csm-snapshot-history-table .csm-history-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:9px;
    width:100%;
  }
  .csm-snapshot-history-table .csm-history-actions form,
  .csm-snapshot-history-table .csm-history-actions .csm-btn{
    width:100%;
  }
  .csm-monitor-compare-table td.csm-monitor-card-title{
    background:#f4f8ff;
  }
}
@media(max-width:420px){
  .csm-monitor-card-table td,
  .csm-compare-table.csm-monitor-card-table td:not(:first-child){
    grid-template-columns:82px minmax(0,1fr);
    gap:8px;
    padding:9px 10px!important;
  }
  .csm-snapshot-history-table .csm-history-actions{
    grid-template-columns:1fr;
  }
}

/* v1.11.6 PageSpeed troubleshooting diagnostics */
.csm-pagespeed-diagnostics{margin:12px 0 4px;border:1px solid #d6e0ea;border-radius:10px;background:#fff;overflow:hidden}
.csm-pagespeed-diagnostics>summary{cursor:pointer;padding:12px 14px;font-weight:800;color:#173a5e;background:#f7faff}
.csm-pagespeed-diagnostic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#e5ebf1;border-top:1px solid #e5ebf1}
.csm-pagespeed-diagnostic-grid>div{min-width:0;padding:10px 12px;background:#fff}
.csm-pagespeed-diagnostic-grid span{display:block;margin-bottom:4px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#64788c}
.csm-pagespeed-diagnostic-grid strong{display:block;font-size:13px;line-height:1.4;overflow-wrap:anywhere;color:#17334f}
.csm-pagespeed-diagnostic-grid .csm-pagespeed-diagnostic-wide{grid-column:1/-1}
.csm-pagespeed-diagnostic-grid code{display:block;max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.45;color:#263b50;background:#f8fafc;border:1px solid #e2e8ef;border-radius:7px;padding:9px}
.csm-pagespeed-diagnostics .csm-field-help{padding:0 12px 11px;margin:10px 0 0}
@media(max-width:700px){.csm-pagespeed-diagnostic-grid{grid-template-columns:1fr}.csm-pagespeed-diagnostic-grid .csm-pagespeed-diagnostic-wide{grid-column:1}}


/* v1.11.7 PageSpeed manual fallback */
.csm-pagespeed-fallback{margin:12px 0 4px;padding:14px;border:1px solid #c9dceb;border-radius:10px;background:#f7fbff;display:flex;align-items:center;justify-content:space-between;gap:16px}
.csm-pagespeed-fallback>div{min-width:0;flex:1 1 auto}
.csm-pagespeed-fallback strong{display:block;color:#173a5e;margin-bottom:4px}
.csm-pagespeed-fallback p{margin:0;color:#52687d;line-height:1.5}
.csm-pagespeed-fallback .csm-btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:700px){.csm-pagespeed-fallback{align-items:stretch;flex-direction:column}.csm-pagespeed-fallback .csm-btn{width:100%;text-align:center;justify-content:center}}


/* v1.11.8 PageSpeed fallback URL copy workflow */
.csm-pagespeed-fallback-copy{min-width:0;flex:1 1 auto}
.csm-pagespeed-url-row{display:flex;align-items:center;gap:8px;margin-top:10px}
.csm-pagespeed-url-row code{display:block;min-width:0;flex:1 1 auto;padding:9px 10px;border:1px solid #d7e2ec;border-radius:7px;background:#fff;color:#17334f;font-size:12px;line-height:1.4;overflow-wrap:anywhere;word-break:break-word}
.csm-pagespeed-url-row .csm-btn{flex:0 0 auto}
.csm-pagespeed-open{flex:0 0 auto}
@media(max-width:700px){.csm-pagespeed-url-row{align-items:stretch;flex-direction:column}.csm-pagespeed-url-row .csm-btn,.csm-pagespeed-open{width:100%;text-align:center;justify-content:center}}

/* v1.11.9 PageSpeed support-ready diagnostics */
.csm-pagespeed-diagnostic-actions{padding:12px 12px 0;display:flex;justify-content:flex-end}
@media(max-width:700px){.csm-pagespeed-diagnostic-actions .csm-btn{width:100%;justify-content:center}}


/* v1.11.13 — connected-data tables remain usable on phones */
@media(max-width:600px){
  .csm-connected-data .csm-table-wrap{
    overflow:visible!important;
    width:100%;
  }
  .csm-connected-data .csm-auto-table,
  .csm-connected-data .csm-auto-table tbody{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .csm-connected-data .csm-auto-table thead{
    display:none!important;
  }
  .csm-connected-data .csm-auto-table tr{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box;
    margin:0 0 12px;
    border:1px solid #dbe4ec;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
  }
  .csm-connected-data .csm-auto-table tbody tr:last-child{margin-bottom:0}
  .csm-connected-data .csm-auto-table td,
  .csm-connected-data .csm-query-page-table td,
  .csm-connected-data .csm-url-table td,
  .csm-connected-data .csm-cannibal-table td{
    display:grid!important;
    grid-template-columns:minmax(86px,34%) minmax(0,1fr)!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:9px 10px!important;
    border:0!important;
    border-bottom:1px solid #edf1f5!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
  }
  .csm-connected-data .csm-auto-table td:last-child{border-bottom:0!important}
  .csm-connected-data .csm-auto-table td::before{
    content:attr(data-label);
    color:#68798b;
    font-size:10px;
    font-weight:900;
    letter-spacing:.04em;
    line-height:1.25;
    text-transform:uppercase;
  }
}


/* v1.11.14 — show connected data only at the level the task needs */
.csm-connected-data-supporting{
  padding:12px 14px;
  background:#fbfdff;
  border-color:#dce7f0;
  box-shadow:none;
}
.csm-connected-data-supporting .csm-connected-data-head{
  margin-bottom:9px;
  padding-bottom:8px;
}
.csm-connected-data-supporting .csm-connected-data-head strong{
  font-size:14px;
}
.csm-connected-data-supporting .csm-connected-data-head small{
  font-size:10px;
}
.csm-connected-data-supporting .csm-connected-data-head>span{
  font-size:9px;
  padding:3px 7px;
}
.csm-connected-data-supporting .csm-auto-metrics{
  margin-top:8px;
}
.csm-connected-data-supporting .csm-connected-data-footer{
  margin-top:9px;
  padding-top:8px;
}
.csm-connected-auto-compact{
  margin:0 0 9px;
  padding:7px 9px;
  border-radius:7px;
  background:#f3f7fb;
  color:#5d7184;
  font-size:11px;
  line-height:1.4;
}
@media(max-width:600px){
  .csm-connected-data-supporting{padding:10px 11px}
}

/* v1.11.23: clearer manual fallbacks for temperamental Google APIs */
.csm-google-service-manual .csm-google-service-head span,
.csm-connected-data-head span:has(+ *) { font-weight: 700; }
.csm-manual-check {
    margin: 14px 0;
    padding: 16px;
    border: 1px solid #d7e2ee;
    border-radius: 10px;
    background: #f8fbfe;
}
.csm-manual-check > strong { display:block; margin-bottom:8px; color:#173a5e; }
.csm-manual-check ol { margin: 8px 0 14px 22px; }
.csm-manual-check li { margin: 6px 0; }
.csm-manual-outcomes {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:14px 0;
}
.csm-manual-outcomes > div {
    padding:12px 14px;
    border:1px solid #dbe5ee;
    border-radius:10px;
    background:#fff;
}
.csm-manual-outcomes strong,
.csm-manual-outcomes span { display:block; }
.csm-manual-outcomes span { margin-top:4px; font-size:.92em; color:#4f6477; line-height:1.45; }
@media (max-width: 720px) {
    .csm-manual-outcomes { grid-template-columns:1fr; }
}

/* v1.11.24: make selected GA4 property identity unambiguous */
.csm-google-selected-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:7px 9px;border:1px solid #dce5ed;border-radius:8px;background:#fff;font-size:11px;color:#607284}.csm-google-selected-detail strong{font-size:12px;color:#143b66;white-space:nowrap}

/* v1.11.25: known URL Inspection limitation is informational, not a live-data error */
.csm-live-limitation{margin:10px 0;padding:10px 12px;border:1px solid #d8d3ea;border-radius:8px;background:#f8f6fc;display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap}.csm-live-limitation strong{color:#294563}.csm-live-limitation span{color:#536273;font-size:12px;line-height:1.45}

/* v1.11.26: cleaner manual performance entry + monitoring form */
.csm-manual-performance{margin:16px 0;padding:18px;border:1px solid #cdddea;border-radius:14px;background:linear-gradient(180deg,#f8fbfe 0%,#fff 100%);box-shadow:0 1px 2px rgba(23,58,94,.04)}
.csm-manual-performance-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:13px}.csm-manual-performance-head h4{margin:2px 0 4px;color:#143b66;font-size:17px}.csm-manual-performance-head p{margin:0;max-width:680px;color:#607284;font-size:12px;line-height:1.55}.csm-manual-kicker{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900;color:#2f75b5}.csm-manual-performance .csm-pagespeed-url-row{margin:10px 0 14px}.csm-manual-performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.csm-manual-performance-grid label{display:grid;gap:6px;font-size:12px;font-weight:800;color:#31465b}.csm-manual-performance-grid input{width:100%;min-height:42px;border:1px solid #cbd8e4;border-radius:9px;background:#fff;padding:9px 10px;color:#173a5e}.csm-manual-performance-grid input:focus{outline:0;border-color:#2f75b5;box-shadow:0 0 0 3px rgba(47,117,181,.12)}.csm-manual-performance-actions{display:flex;align-items:center;gap:12px;margin-top:14px}.csm-manual-performance-actions span,.csm-manual-saved{font-size:11px;color:#687b8e}.csm-manual-saved{margin:0 0 10px;font-weight:700}.csm-source-unavailable{margin:14px 0;padding:12px 14px;border:1px dashed #cdd8e3;border-radius:10px;background:#fafbfd;display:grid;gap:4px}.csm-source-unavailable strong{color:#42576b;font-size:12px}.csm-source-unavailable span{color:#6b7d8d;font-size:11px;line-height:1.5}
.csm-manual-snapshot-panel{margin-top:22px;border:1px solid #d4e0ea!important;border-radius:16px!important;box-shadow:0 3px 14px rgba(23,58,94,.05);overflow:visible}.csm-manual-snapshot-panel .csm-panel-heading-row{padding-bottom:14px;border-bottom:1px solid #e6edf3;margin-bottom:16px}.csm-manual-snapshot-panel .csm-panel-heading-row h2{margin-bottom:3px}.csm-manual-snapshot-note{background:#eef6fc;border-color:#cfdfed;border-left:4px solid #2f75b5;border-radius:10px;padding:12px 14px}.csm-manual-snapshot-panel .csm-form-grid{background:#fafcfe;border:1px solid #e1e9f0;border-radius:12px;padding:14px;margin-bottom:16px}.csm-manual-snapshot-panel .csm-monitor-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.csm-manual-snapshot-panel .csm-monitor-metric{background:#fff;border:1px solid #dde6ee;border-radius:12px;padding:12px;min-width:0}.csm-manual-snapshot-panel .csm-monitor-metric label{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:3px;color:#173a5e;font-weight:800}.csm-manual-snapshot-panel .csm-monitor-metric input{min-height:42px;border-radius:9px}.csm-manual-snapshot-panel .csm-metric-source{margin:0 0 8px;white-space:normal}.csm-manual-snapshot-panel textarea{border-radius:10px;min-height:90px}.csm-manual-snapshot-panel .csm-form-actions{padding-top:4px}
@media(max-width:900px){.csm-manual-performance-grid,.csm-manual-snapshot-panel .csm-monitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.csm-manual-performance-head{flex-direction:column}.csm-manual-performance-grid,.csm-manual-snapshot-panel .csm-monitor-metrics{grid-template-columns:1fr}.csm-manual-performance-actions{align-items:stretch;flex-direction:column}.csm-manual-performance-actions .csm-btn{width:100%;justify-content:center}}

/* v1.11.27 — manual PageSpeed-to-Monitoring bridge */
.csm-manual-monitoring-save{margin-top:16px;padding:15px;border:1px solid #d9e5ee;border-radius:12px;background:#fff}.csm-manual-monitoring-heading{margin-bottom:12px}.csm-manual-monitoring-toggle{display:flex!important;align-items:flex-start!important;gap:10px!important;cursor:pointer}.csm-manual-monitoring-toggle input{margin-top:4px;width:17px;height:17px;flex:0 0 17px}.csm-manual-monitoring-toggle>span{display:grid;gap:2px}.csm-manual-monitoring-toggle strong{color:#173a5e;font-size:13px}.csm-manual-monitoring-toggle small,.csm-manual-monitoring-grid small{color:#6b7d8d;font-weight:500;line-height:1.45}.csm-manual-monitoring-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.csm-manual-monitoring-grid>label,.csm-manual-monitoring-notes{display:grid;gap:6px;font-size:12px;font-weight:800;color:#31465b}.csm-manual-monitoring-grid select,.csm-manual-monitoring-grid input,.csm-manual-monitoring-notes input{width:100%;min-height:42px;border:1px solid #cbd8e4;border-radius:9px;background:#fff;padding:9px 10px;color:#173a5e}.csm-manual-monitoring-notes{margin-top:12px}.csm-manual-monitoring-notes span small{font-weight:500;color:#7b8b9b}@media(max-width:620px){.csm-manual-monitoring-grid{grid-template-columns:1fr}}

/* v1.11.27 — Project Overview visual prototype, scoped and easy to revert */
.csm-project-overview-theme{--csm-overview-card:#0e2d50;--csm-overview-card-2:#11375f;--csm-overview-border:#28547d;--csm-overview-text:#dcecff;--csm-overview-muted:#92b5d4;--csm-overview-cyan:#32b5ff;--csm-overview-green:#71d9a4;--csm-overview-yellow:#f4c44e;--csm-overview-red:#ff716a;background:radial-gradient(circle at 82% 8%,rgba(43,111,174,.28),transparent 32%),linear-gradient(145deg,#07182d 0%,#0b2441 52%,#081b33 100%);border:1px solid #183e63;border-radius:22px;padding:28px;box-shadow:0 18px 48px rgba(8,27,51,.18);color:var(--csm-overview-text)}
.csm-project-overview-theme .csm-page-head{margin-bottom:20px}.csm-project-overview-theme .csm-page-head h1{color:#fff;font-size:31px}.csm-project-overview-theme .csm-page-head p{color:var(--csm-overview-muted)}.csm-project-overview-theme .csm-btn.secondary{background:rgba(13,45,79,.84);border-color:#356991;color:#eaf6ff!important}.csm-project-overview-theme .csm-btn.secondary:hover{background:#174873}
.csm-project-overview-theme .csm-project-datebar{background:rgba(14,45,80,.86);border-color:var(--csm-overview-border);box-shadow:none}.csm-project-overview-theme .csm-project-datebar small{color:#69c5fb}.csm-project-overview-theme .csm-project-datebar strong{color:#f3f9ff}.csm-project-overview-theme .csm-project-settings .csm-panel{background:#f9fcff;color:#243b53}.csm-project-overview-theme .csm-project-settings .csm-panel h3{color:#143b66}
.csm-project-overview-theme .csm-metrics{gap:16px}.csm-project-overview-theme .csm-metrics>div{position:relative;overflow:hidden;background:linear-gradient(180deg,var(--csm-overview-card-2),var(--csm-overview-card));border-color:var(--csm-overview-border);border-radius:15px;padding:20px;box-shadow:0 8px 22px rgba(0,0,0,.13)}.csm-project-overview-theme .csm-metrics>div:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--csm-overview-cyan)}.csm-project-overview-theme .csm-metrics>div:nth-child(2):after{background:var(--csm-overview-green)}.csm-project-overview-theme .csm-metrics>div:nth-child(3):after{background:var(--csm-overview-yellow)}.csm-project-overview-theme .csm-metrics>div:nth-child(4):after{background:var(--csm-overview-red)}.csm-project-overview-theme .csm-metrics span{color:#69c5fb;font-size:11px}.csm-project-overview-theme .csm-metrics strong{color:#fff;font-size:30px}
.csm-project-overview-theme .csm-current-callout{background:linear-gradient(135deg,#123a63,#0f3155);border-color:#32648e;color:#eaf6ff}.csm-project-overview-theme .csm-current-callout span{color:#64c7ff}.csm-project-overview-theme .csm-current-callout strong{color:#fff}.csm-project-overview-theme .csm-current-callout .csm-btn{background:#238bd0}.csm-project-overview-theme .csm-current-callout .csm-btn:hover{background:#32a2e8}
.csm-project-overview-theme .csm-workflow-section{background:#0b2746;border-color:#224d73;border-radius:15px;box-shadow:0 7px 20px rgba(0,0,0,.11)}.csm-project-overview-theme .csm-workflow-section .csm-section-head{background:linear-gradient(90deg,#11375f,#0e2c4e);border-color:#28547d;padding:16px 18px}.csm-project-overview-theme .csm-workflow-section .csm-section-head h2{color:#f4f9ff}.csm-project-overview-theme .csm-workflow-section .csm-section-head>strong{color:#8fd8ff}.csm-project-overview-theme .csm-section-number{background:#1d83c5;box-shadow:0 0 0 4px rgba(50,181,255,.10)}
.csm-project-overview-theme .csm-task-link{border-color:#193e60;color:#dcecff;background:#0b2746}.csm-project-overview-theme .csm-task-link:hover{background:#113454}.csm-project-overview-theme .csm-task-link.attention{background:#342f26;border-color:#66552c}.csm-project-overview-theme .csm-task-num{color:#4ac3ff}.csm-project-overview-theme .csm-task-link strong{color:#edf7ff}.csm-project-overview-theme .csm-task-link small{color:#85a8c6}.csm-project-overview-theme .csm-step-status.not-started{background:#173a5c;color:#9eb8cf}.csm-project-overview-theme .csm-step-status.progress{background:#143f69;color:#8ed4ff}.csm-project-overview-theme .csm-step-status.complete{background:#153f39;color:#8ae6b7}.csm-project-overview-theme .csm-step-status.blocked{background:#4a3a19;color:#ffd978}.csm-project-overview-theme .csm-step-status.na{background:#273d52;color:#aebfce}
.csm-project-overview-theme .csm-progress{background:#173957}.csm-project-overview-theme .csm-progress span{background:linear-gradient(90deg,#1d8fd5,#58c5ff)}
@media(max-width:700px){.csm-project-overview-theme{padding:18px;border-radius:16px}.csm-project-overview-theme .csm-page-head h1{font-size:26px}}


/* v1.11.28 — project overview surround + snapshot comparison picker */
.csm-app-content-project-theme{max-width:none;background:linear-gradient(145deg,#d7e4ef 0%,#c9d9e7 52%,#dbe7f0 100%);min-height:calc(100vh - 58px);padding:30px clamp(22px,3vw,44px)}
.csm-app-content-project-theme .csm-project-overview-theme{max-width:1380px;margin:0 auto}
.csm-app-content-project-theme:before{content:"";position:fixed;inset:58px 0 0 250px;pointer-events:none;background:radial-gradient(circle at 80% 10%,rgba(255,255,255,.42),transparent 31%),radial-gradient(circle at 18% 72%,rgba(68,126,174,.12),transparent 28%);z-index:-1}
.csm-app-content-project-theme .csm-app-brand-preview{display:none}
.csm-snapshot-compare-picker{margin:20px 0 14px;border-color:#cfdce8;background:linear-gradient(180deg,#f8fbfe,#fff)}
.csm-snapshot-compare-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
.csm-snapshot-compare-grid label{display:grid;gap:6px;color:#31465b;font-size:12px;font-weight:800}
.csm-snapshot-compare-grid select{width:100%;min-height:42px;padding:9px 10px;border:1px solid #cbd8e4;border-radius:9px;background:#fff;color:#173a5e;font:inherit}
.csm-snapshot-compare-action{display:flex;align-items:end}.csm-snapshot-compare-action .csm-btn{min-height:42px;white-space:nowrap}
/* Keep the transparent Coastal logo readable against navy without boxing it in. */
.csm-app-brand{background:linear-gradient(135deg,rgba(255,255,255,.07),rgba(70,151,214,.08));border-radius:12px;padding:10px 9px 18px;margin-bottom:18px}
.csm-brand-logo{filter:drop-shadow(0 2px 5px rgba(0,0,0,.22));}
@media(max-width:900px){.csm-snapshot-compare-grid{grid-template-columns:1fr 1fr}.csm-snapshot-compare-action{grid-column:1/-1}.csm-snapshot-compare-action .csm-btn{width:100%}}
@media(max-width:700px){.csm-app-content-project-theme{padding:18px}.csm-app-content-project-theme:before{inset:58px 0 0 0}.csm-snapshot-compare-grid{grid-template-columns:1fr}.csm-snapshot-compare-action{grid-column:auto}}

/* v1.11.29 — restore full Project Overview status breakdown */
.csm-project-overview-theme .csm-project-status-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.csm-project-overview-theme .csm-project-status-metrics>div{min-width:0}
.csm-project-overview-theme .csm-project-status-metrics>button{min-width:0;width:100%;position:relative;appearance:none;-webkit-appearance:none;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.csm-project-overview-theme .csm-project-status-metrics>button:hover,.csm-project-overview-theme .csm-project-status-metrics>button:focus-visible{transform:translateY(-3px);border-color:#55baf1;box-shadow:0 12px 26px rgba(0,0,0,.24);outline:0}
.csm-project-overview-theme .csm-project-status-metrics>button.active{border-color:#55baf1;box-shadow:0 0 0 3px rgba(85,186,241,.2),0 12px 26px rgba(0,0,0,.2)}
.csm-project-overview-theme .csm-project-status-metrics>button.active:before{content:"FILTER ACTIVE";position:absolute;top:8px;right:9px;color:#9bddff;font-size:8px;font-weight:900;letter-spacing:.08em}
.csm-project-filter-status{margin:-16px 0 22px;color:#a9c8df;font-size:12px;font-weight:700}
.csm-project-overview-theme .csm-project-status-metrics>div:after{background:var(--csm-overview-cyan)}
.csm-project-overview-theme .csm-project-status-metrics>div.complete:after{background:var(--csm-overview-green)}
.csm-project-overview-theme .csm-project-status-metrics>div.in-progress:after{background:#58c5ff}
.csm-project-overview-theme .csm-project-status-metrics>div.attention:after{background:var(--csm-overview-yellow)}
.csm-project-overview-theme .csm-project-status-metrics>div.blocked:after{background:var(--csm-overview-red)}
.csm-project-overview-theme .csm-project-status-metrics>div.na:after{background:#9cb2c5}
.csm-project-overview-theme .csm-project-status-metrics small{display:block;margin-top:6px;color:var(--csm-overview-muted);font-size:11px;line-height:1.25}
@media(max-width:1180px){.csm-project-overview-theme .csm-project-status-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.csm-project-overview-theme .csm-project-status-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.csm-project-overview-theme .csm-project-status-metrics>div{padding:16px}.csm-project-overview-theme .csm-project-status-metrics strong{font-size:26px}}

/* v1.11.30 — make Monitoring project context and snapshot comparison obvious */
.csm-monitor-project-picker{margin:0 0 18px;border-left:4px solid #2f75b5}
.csm-monitor-project-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;align-items:center}
.csm-monitor-project-form select{width:100%;min-height:42px;padding:9px 10px;border:1px solid #cbd8e4;border-radius:9px;background:#fff;color:#173a5e}
.csm-snapshot-compare-picker{border-left:4px solid #2f75b5}
.csm-snapshot-compare-empty .csm-empty{margin-top:10px}
@media(max-width:700px){.csm-monitor-project-form{grid-template-columns:1fr}.csm-monitor-project-form .csm-btn{width:100%}}


/* v1.11.31 — align 4.2/4.3 monitoring fields and extend navy project styling */
.csm-manual-monitoring-grid>label{align-content:start;grid-auto-rows:max-content}
.csm-manual-monitoring-grid select,.csm-manual-monitoring-grid input{height:42px;min-height:42px}

/* Dark navy application top bar, including WordPress user identity. */
.csm-app-topbar{background:linear-gradient(90deg,#102f52,#153c66);border-bottom-color:#234f78;color:#cfe7fb;box-shadow:0 2px 10px rgba(9,35,61,.16)}
.csm-app-topbar strong{color:#fff}.csm-app-topbar span{color:#a9cae7}.csm-app-topbar .csm-menu-toggle{color:#fff}

/* Carry the Project Overview visual system into individual project task screens. */
.csm-app-content-project-theme>.csm-page-head,
.csm-app-content-project-theme>.csm-task-progress-top,
.csm-app-content-project-theme>.csm-task-layout{max-width:1380px;margin-left:auto;margin-right:auto}
.csm-app-content-project-theme>.csm-page-head{padding:18px 22px;background:linear-gradient(135deg,#0d2c4e,#123b64);border:1px solid #28577f;border-radius:16px;box-shadow:0 10px 28px rgba(8,27,51,.13)}
.csm-app-content-project-theme>.csm-page-head h1{color:#fff}.csm-app-content-project-theme>.csm-page-head p{color:#9fc5e3}
.csm-app-content-project-theme>.csm-page-head .csm-btn.secondary{background:#174a78;border-color:#3974a2;color:#eff8ff!important}
.csm-app-content-project-theme>.csm-page-head .csm-btn.secondary:hover{background:#1d5c91}
.csm-app-content-project-theme>.csm-task-progress-top{background:linear-gradient(180deg,#11375f,#0e2f52);border-color:#28577f;color:#eaf6ff;box-shadow:0 8px 22px rgba(8,27,51,.11)}
.csm-app-content-project-theme>.csm-task-progress-top>span{color:#8fd2ff}.csm-app-content-project-theme>.csm-task-progress-top>strong{color:#fff}
.csm-app-content-project-theme>.csm-task-progress-top .csm-progress{background:#173f62}.csm-app-content-project-theme>.csm-task-progress-top .csm-progress span{background:linear-gradient(90deg,#1d8fd5,#58c5ff)}

.csm-app-content-project-theme .csm-task-main>.csm-info-card,
.csm-app-content-project-theme .csm-task-main>.csm-panel,
.csm-app-content-project-theme .csm-task-main>.success-panel,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel,
.csm-app-content-project-theme .csm-connected-evidence,
.csm-app-content-project-theme .csm-connected-data,
.csm-app-content-project-theme .csm-manual-performance{border-color:#c6d8e7;box-shadow:0 7px 20px rgba(25,62,94,.08)}
.csm-app-content-project-theme .csm-task-main>.csm-info-card{background:linear-gradient(180deg,#f6fbff,#edf5fb);border-left-color:#2d8fd0}
.csm-app-content-project-theme .csm-task-main>.csm-info-card>span{color:#2379b5}
.csm-app-content-project-theme .csm-task-main>.csm-panel,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel{background:#f8fbfe}
.csm-app-content-project-theme .csm-task-main>.csm-panel h2,
.csm-app-content-project-theme .csm-task-main>.csm-panel h3,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel h3{color:#123b64}
.csm-app-content-project-theme .success-panel{background:linear-gradient(180deg,#f3fbf7,#edf8f1);border-left-color:#3c9b67}
.csm-app-content-project-theme .csm-do-panel{border-top:4px solid #2f86c3}
.csm-app-content-project-theme .csm-subsection-title{color:#123b64}
.csm-app-content-project-theme .csm-status-picker select,
.csm-app-content-project-theme input[type=text],
.csm-app-content-project-theme input[type=number],
.csm-app-content-project-theme input[type=date],
.csm-app-content-project-theme input[type=url],
.csm-app-content-project-theme select,
.csm-app-content-project-theme textarea{border-color:#b8ccdd;background:#fff;color:#173a5e}
.csm-app-content-project-theme .csm-connected-replaces-manual{background:#eaf5fd;border-color:#b9d9ee;color:#244b68}
.csm-app-content-project-theme .csm-connected-replaces-manual>span{background:#1d83c5;color:#fff}
.csm-app-content-project-theme .csm-manual-performance{background:linear-gradient(180deg,#f8fbfe,#edf5fb)}
.csm-app-content-project-theme .csm-manual-monitoring-save{background:#f5faff;border-color:#c5d8e8}
.csm-app-content-project-theme .csm-task-buttons{border-color:#c3d5e4}

@media(max-width:650px){
  .csm-app-content-project-theme>.csm-page-head{padding:16px;border-radius:13px}
  .csm-app-content-project-theme .csm-task-buttons{background:#d7e4ef}
}


/* v1.11.33 — extend the Project Overview navy visual system through task cards */
.csm-app-content-project-theme .csm-task-main>.csm-info-card,
.csm-app-content-project-theme .csm-task-main>.csm-panel,
.csm-app-content-project-theme .csm-task-main>.success-panel,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel,
.csm-app-content-project-theme .csm-connected-evidence,
.csm-app-content-project-theme .csm-connected-data,
.csm-app-content-project-theme .csm-manual-performance{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%);
  border-color:#2d5f88;
  color:#edf7ff;
  box-shadow:0 9px 24px rgba(8,27,51,.12);
}
.csm-app-content-project-theme .csm-task-main>.csm-info-card.blue{
  background:linear-gradient(145deg,#174a78 0%,#123b64 100%);
  border-left-color:#55baf1;
}
.csm-app-content-project-theme .csm-task-main>.csm-info-card>span,
.csm-app-content-project-theme .csm-task-main>.csm-info-card.blue>span,
.csm-app-content-project-theme .csm-kicker{
  color:#74c8f5;
}
.csm-app-content-project-theme .csm-task-main>.csm-info-card p,
.csm-app-content-project-theme .csm-task-main>.csm-panel p,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel p,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel small,
.csm-app-content-project-theme .csm-connected-evidence p,
.csm-app-content-project-theme .csm-connected-data p{
  color:#e4f2fc;
}
.csm-app-content-project-theme .csm-task-main>.csm-panel h2,
.csm-app-content-project-theme .csm-task-main>.csm-panel h3,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel h2,
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel h3,
.csm-app-content-project-theme .csm-subsection-title,
.csm-app-content-project-theme .csm-connected-evidence h3,
.csm-app-content-project-theme .csm-connected-data h3{
  color:#fff;
}
.csm-app-content-project-theme .csm-text-link,
.csm-app-content-project-theme .csm-task-main>.csm-panel a:not(.csm-btn),
.csm-app-content-project-theme .csm-task-layout>aside>.csm-panel a:not(.csm-btn){
  color:#75c9f6!important;
}
.csm-app-content-project-theme .success-panel{
  background:linear-gradient(145deg,#123f59 0%,#10364f 100%);
  border-left-color:#5ecb91;
}
.csm-app-content-project-theme .csm-do-panel{
  border-top-color:#55baf1;
}
.csm-app-content-project-theme .csm-do-not{
  background:linear-gradient(145deg,#174a78 0%,#143b64 100%);
  color:#eaf6ff;
  border:1px solid #3f86b8;
  box-shadow:inset 3px 0 0 #55baf1;
}
.csm-app-content-project-theme .csm-do-not strong{color:#8fd8ff}
.csm-app-content-project-theme .csm-do-not p{color:#eaf6ff}
.csm-app-content-project-theme .csm-detail-list>div{
  border-bottom-color:rgba(255,255,255,.12);
}
.csm-app-content-project-theme .csm-detail-list dt{color:#a9d9f5}
.csm-app-content-project-theme .csm-detail-list dd{color:#f3f9fd}
.csm-app-content-project-theme .csm-client-data-card,
.csm-app-content-project-theme .csm-client-summary-card,
.csm-app-content-project-theme .csm-task-client-data{
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(255,255,255,.15)!important;
}
.csm-app-content-project-theme .csm-client-data-card *,
.csm-app-content-project-theme .csm-client-summary-card *,
.csm-app-content-project-theme .csm-task-client-data *{color:inherit}
.csm-app-content-project-theme .csm-form-row label,
.csm-app-content-project-theme .csm-status-picker label,
.csm-app-content-project-theme .csm-check{color:#eef7fd}
.csm-app-content-project-theme .csm-form-row small{color:#b6d0e2}
.csm-app-content-project-theme .csm-task-buttons{
  background:#d6e4ef;
  border-color:#b9ccda;
}
/* Keep editable controls and evidence upload surfaces light for legibility. */
.csm-app-content-project-theme .csm-form-row input[type=text],
.csm-app-content-project-theme .csm-form-row input[type=number],
.csm-app-content-project-theme .csm-form-row input[type=date],
.csm-app-content-project-theme .csm-form-row input[type=url],
.csm-app-content-project-theme .csm-form-row input[type=email],
.csm-app-content-project-theme .csm-form-row select,
.csm-app-content-project-theme .csm-form-row textarea,
.csm-app-content-project-theme .csm-status-picker select{
  background:#f8fbfe;
  color:#173a5e;
  border-color:#9ebbd0;
}
.csm-app-content-project-theme .csm-evidence-empty,
.csm-app-content-project-theme .csm-evidence-upload,
.csm-app-content-project-theme .csm-manual-monitoring-save{
  background:#eef6fb;
  color:#173a5e;
  border-color:#b9d2e4;
}
.csm-app-content-project-theme .csm-evidence-empty *,
.csm-app-content-project-theme .csm-evidence-upload *,
.csm-app-content-project-theme .csm-manual-monitoring-save *{color:inherit}

/* v1.11.34 — complete navy task-screen surface pass; remove stray white cards */
/* All nested task panels should participate in the navy visual system, not just top-level cards. */
.csm-app-content-project-theme .csm-task-main .csm-panel,
.csm-app-content-project-theme .csm-task-sidebar .csm-panel,
.csm-app-content-project-theme .csm-context-panel,
.csm-app-content-project-theme .csm-search-intent-panel{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%)!important;
  border-color:#2d5f88!important;
  color:#edf7ff;
}
.csm-app-content-project-theme .csm-context-panel{border-left-color:#55baf1!important}

/* Client/context mini-cards and verification values: coordinated mid-blue, never white. */
.csm-app-content-project-theme .csm-context-summary>div,
.csm-app-content-project-theme .csm-verify-value,
.csm-app-content-project-theme .csm-intent-choice{
  background:linear-gradient(180deg,#17466f,#143b61)!important;
  border-color:#37678e!important;
  color:#edf7ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}
.csm-app-content-project-theme .csm-context-summary span,
.csm-app-content-project-theme .csm-verify-value span,
.csm-app-content-project-theme .csm-intent-choice span{color:#a9d7f2!important}
.csm-app-content-project-theme .csm-context-summary strong,
.csm-app-content-project-theme .csm-verify-value strong,
.csm-app-content-project-theme .csm-intent-choice strong{color:#fff!important}

/* Status sidebar mini-cards. */
.csm-app-content-project-theme .csm-sidebar-issue-summary span{
  background:#17466f!important;
  border-color:#37678e!important;
  color:#b9d8ed!important;
}
.csm-app-content-project-theme .csm-sidebar-issue-summary strong{color:#fff!important}
.csm-app-content-project-theme .csm-current-status-panel .csm-small{color:#b9d8ed!important}

/* Evidence cards, empty state, list items and upload surface. */
.csm-app-content-project-theme .csm-evidence-summary,
.csm-app-content-project-theme .csm-evidence-item,
.csm-app-content-project-theme .csm-evidence-empty,
.csm-app-content-project-theme .csm-evidence-upload{
  background:#17466f!important;
  border-color:#37678e!important;
  color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-evidence-summary strong,
.csm-app-content-project-theme .csm-evidence-item strong,
.csm-app-content-project-theme .csm-evidence-title{color:#fff!important}
.csm-app-content-project-theme .csm-evidence-summary span,
.csm-app-content-project-theme .csm-evidence-item p,
.csm-app-content-project-theme .csm-evidence-panel .csm-evidence-heading p{color:#b9d8ed!important}

/* Connected-data subcards, manual fallback cards and monitoring save sections. */
.csm-app-content-project-theme .csm-auto-metric,
.csm-app-content-project-theme .csm-google-empty,
.csm-app-content-project-theme .csm-manual-monitoring-save,
.csm-app-content-project-theme .csm-pagespeed-diagnostics,
.csm-app-content-project-theme .csm-pagespeed-diagnostic-grid>div{
  background:#17466f!important;
  border-color:#37678e!important;
  color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-auto-metric span,
.csm-app-content-project-theme .csm-auto-metric small,
.csm-app-content-project-theme .csm-manual-monitoring-save small{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-auto-metric strong,
.csm-app-content-project-theme .csm-manual-monitoring-save strong{color:#fff!important}

/* Keep notices differentiated, but use dark-theme variants rather than white/light cards. */
.csm-app-content-project-theme .csm-auto-notice{background:#173f63!important;border-color:#376b94!important;color:#eaf6ff!important}
.csm-app-content-project-theme .csm-auto-notice.warning{background:#153d5f!important;border-color:#397aa7!important;color:#eaf6ff!important}
.csm-app-content-project-theme .csm-auto-notice.limitation{background:#343452!important;border-color:#5d5b83!important;color:#f1efff!important}
.csm-app-content-project-theme .csm-auto-notice.success{background:#173f39!important;border-color:#33735f!important;color:#e7fff3!important}

/* The save/action strip should stay navy rather than introducing a pale band. */
.csm-app-content-project-theme .csm-task-buttons{
  background:#0d2f52!important;
  border:1px solid #2d5f88!important;
  border-radius:10px;
  padding:12px;
}

/* Editable controls remain visually distinct but use a cool blue-grey instead of stark white. */
.csm-app-content-project-theme .csm-form-row input[type=text],
.csm-app-content-project-theme .csm-form-row input[type=number],
.csm-app-content-project-theme .csm-form-row input[type=date],
.csm-app-content-project-theme .csm-form-row input[type=url],
.csm-app-content-project-theme .csm-form-row input[type=email],
.csm-app-content-project-theme .csm-form-row select,
.csm-app-content-project-theme .csm-form-row textarea,
.csm-app-content-project-theme .csm-status-picker select,
.csm-app-content-project-theme .csm-manual-monitoring-grid select,
.csm-app-content-project-theme .csm-manual-monitoring-grid input,
.csm-app-content-project-theme .csm-manual-monitoring-notes input{
  background:#eaf2f8!important;
  color:#123b64!important;
  border-color:#8fb0c8!important;
}

/* Secondary buttons on task screens: blue-tinted rather than white. */
.csm-app-content-project-theme .csm-btn.secondary{
  background:#dbeaf5!important;
  color:#123b64!important;
  border-color:#8eb3cd!important;
}
.csm-app-content-project-theme .csm-btn.secondary:hover{background:#c9dfef!important}

/* Misc task-only pale surfaces that otherwise leak through the theme. */
.csm-app-content-project-theme .csm-copy-url,
.csm-app-content-project-theme .csm-next-task,
.csm-app-content-project-theme .csm-empty,
.csm-app-content-project-theme .csm-connected-replaces-manual{
  background:#17466f!important;
  border-color:#37678e!important;
  color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-field-help{color:#b9d8ed}
.csm-app-content-project-theme .csm-section-head h2,
.csm-app-content-project-theme .csm-context-panel .csm-section-head h2{color:#fff!important}

@media(max-width:650px){
  .csm-app-content-project-theme .csm-task-buttons{background:#0d2f52!important;border-color:#2d5f88!important}
}


/* v1.11.35 — finish dark task-form controls so status/notes and other fields match the project theme */
.csm-app-content-project-theme .csm-form-row input[type=text],
.csm-app-content-project-theme .csm-form-row input[type=number],
.csm-app-content-project-theme .csm-form-row input[type=date],
.csm-app-content-project-theme .csm-form-row input[type=url],
.csm-app-content-project-theme .csm-form-row input[type=email],
.csm-app-content-project-theme .csm-form-row input[type=search],
.csm-app-content-project-theme .csm-form-row select,
.csm-app-content-project-theme .csm-form-row textarea,
.csm-app-content-project-theme .csm-status-picker select,
.csm-app-content-project-theme .csm-manual-monitoring-grid select,
.csm-app-content-project-theme .csm-manual-monitoring-grid input,
.csm-app-content-project-theme .csm-manual-monitoring-notes input,
.csm-app-content-project-theme .csm-manual-monitoring-notes textarea{
  background:#17466f!important;
  color:#f4f9fd!important;
  border:1px solid #47779b!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.csm-app-content-project-theme .csm-form-row textarea{
  background:linear-gradient(180deg,#17466f 0%,#143e65 100%)!important;
}
.csm-app-content-project-theme .csm-form-row input::placeholder,
.csm-app-content-project-theme .csm-form-row textarea::placeholder,
.csm-app-content-project-theme .csm-manual-monitoring-grid input::placeholder,
.csm-app-content-project-theme .csm-manual-monitoring-notes input::placeholder,
.csm-app-content-project-theme .csm-manual-monitoring-notes textarea::placeholder{
  color:#a9c7dc!important;
  opacity:1;
}
.csm-app-content-project-theme .csm-form-row select option,
.csm-app-content-project-theme .csm-status-picker select option,
.csm-app-content-project-theme .csm-manual-monitoring-grid select option{
  background:#17466f;
  color:#f4f9fd;
}
.csm-app-content-project-theme .csm-form-row input:focus,
.csm-app-content-project-theme .csm-form-row select:focus,
.csm-app-content-project-theme .csm-form-row textarea:focus,
.csm-app-content-project-theme .csm-status-picker select:focus,
.csm-app-content-project-theme .csm-manual-monitoring-grid input:focus,
.csm-app-content-project-theme .csm-manual-monitoring-grid select:focus,
.csm-app-content-project-theme .csm-manual-monitoring-notes input:focus,
.csm-app-content-project-theme .csm-manual-monitoring-notes textarea:focus{
  border-color:#62c7f4!important;
  box-shadow:0 0 0 2px rgba(98,199,244,.18)!important;
  outline:none!important;
}
/* Browser date/select affordances need to remain visible against the dark control surface. */
.csm-app-content-project-theme input[type=date]{color-scheme:dark}
.csm-app-content-project-theme select{color-scheme:dark}


/* v1.11.36 — deeper project canvas + high-contrast project navigation */
.csm-app-content-project-theme{
  background:
    radial-gradient(circle at 82% 9%,rgba(38,111,171,.18),transparent 31%),
    radial-gradient(circle at 14% 78%,rgba(25,83,132,.14),transparent 28%),
    linear-gradient(145deg,#07182d 0%,#0a213b 48%,#081b31 100%)!important;
  color:#eaf4fc;
}
.csm-app-content-project-theme:before{
  background:linear-gradient(180deg,rgba(7,24,45,.10),rgba(4,18,34,.22))!important;
}
/* Keep the main task cards one step lighter than the canvas so each box is clearly separated. */
.csm-app-content-project-theme .csm-task-layout .csm-info-card,
.csm-app-content-project-theme .csm-task-layout .csm-panel,
.csm-app-content-project-theme .csm-task-layout .csm-context-panel,
.csm-app-content-project-theme .csm-task-layout .csm-evidence-card{
  box-shadow:0 10px 24px rgba(0,0,0,.22);
}
/* Project Overview button: no pale/white state on the dark page header. */
.csm-app-content-project-theme>.csm-page-head .csm-btn.secondary,
.csm-app-content-project-theme>.csm-page-head a.csm-btn.secondary{
  background:linear-gradient(180deg,#2388c8,#17679f)!important;
  border:1px solid #55b7ed!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.18)!important;
  text-shadow:0 1px 1px rgba(0,0,0,.20);
}
.csm-app-content-project-theme>.csm-page-head .csm-btn.secondary:hover,
.csm-app-content-project-theme>.csm-page-head a.csm-btn.secondary:hover{
  background:linear-gradient(180deg,#2c9bdd,#1b75b5)!important;
  border-color:#83d3fb!important;
  color:#fff!important;
}
@media(max-width:700px){
  .csm-app-content-project-theme{background:linear-gradient(145deg,#07182d,#0a213b 58%,#081b31)!important}
}


/* v1.11.37 — replace brown Do not callouts with coordinated blue task-theme treatment */
.csm-app-content-project-theme .csm-do-not{
  background:linear-gradient(145deg,#174a78 0%,#143b64 100%)!important;
  border:1px solid #3f86b8!important;
  color:#eaf6ff!important;
  box-shadow:inset 3px 0 0 #55baf1;
}
.csm-app-content-project-theme .csm-do-not strong{color:#8fd8ff!important}
.csm-app-content-project-theme .csm-do-not p{color:#eaf6ff!important}

/* v1.11.38 — make task dropdowns visually consistent with the dark project theme */
.csm-app-content-project-theme .csm-form-row select,
.csm-app-content-project-theme .csm-status-picker select,
.csm-app-content-project-theme .csm-manual-monitoring-grid select{
  -webkit-appearance:none!important;
  appearance:none!important;
  background-color:#123b61!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238fd8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 14px center!important;
  background-size:12px 7px!important;
  color:#f4f9fd!important;
  border:1px solid #3f86b8!important;
  padding-right:42px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 1px 2px rgba(0,0,0,.16)!important;
}
.csm-app-content-project-theme .csm-form-row select:hover,
.csm-app-content-project-theme .csm-status-picker select:hover,
.csm-app-content-project-theme .csm-manual-monitoring-grid select:hover{
  background-color:#174a78!important;
  border-color:#55baf1!important;
}


/* v1.11.39 — dark Monitoring workspace + native option-list styling */
.csm-app-content-project-theme select option,
.csm-app-content-monitoring-theme select option{
  background:#0f3456!important;
  color:#f4f9fd!important;
}
.csm-app-content-project-theme select option:checked,
.csm-app-content-monitoring-theme select option:checked{
  background:#1b6fa8!important;
  color:#fff!important;
}

.csm-app-content-monitoring-theme{
  max-width:none!important;
  min-height:calc(100vh - 58px);
  padding:30px clamp(22px,3vw,44px)!important;
  background:linear-gradient(145deg,#06162a 0%,#09233e 52%,#071b31 100%)!important;
  color:#eaf6ff;
}
.csm-app-content-monitoring-theme>.csm-page-head,
.csm-app-content-monitoring-theme>.csm-panel,
.csm-app-content-monitoring-theme>.csm-monitoring-intro,
.csm-app-content-monitoring-theme>.csm-monitor-compare,
.csm-app-content-monitoring-theme>.csm-section-head{
  max-width:1380px;margin-left:auto;margin-right:auto;
}
.csm-app-content-monitoring-theme>.csm-page-head{
  padding:18px 22px;background:linear-gradient(135deg,#0d2c4e,#123b64);border:1px solid #28577f;border-radius:16px;box-shadow:0 10px 28px rgba(0,0,0,.22);
}
.csm-app-content-monitoring-theme>.csm-page-head h1{color:#fff!important}.csm-app-content-monitoring-theme>.csm-page-head p{color:#a9cce5!important}
.csm-app-content-monitoring-theme .csm-panel,
.csm-app-content-monitoring-theme .csm-monitor-help,
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel,
.csm-app-content-monitoring-theme .csm-snapshot-compare-picker,
.csm-app-content-monitoring-theme .csm-monitor-project-picker{
  background:linear-gradient(145deg,#123b61,#0f3152)!important;border:1px solid #2f668f!important;color:#eaf6ff!important;box-shadow:0 10px 24px rgba(0,0,0,.22)!important;
}
.csm-app-content-monitoring-theme .csm-panel h2,
.csm-app-content-monitoring-theme .csm-panel h3,
.csm-app-content-monitoring-theme .csm-panel strong,
.csm-app-content-monitoring-theme .csm-panel label{color:#fff!important}
.csm-app-content-monitoring-theme .csm-small,
.csm-app-content-monitoring-theme .csm-field-help,
.csm-app-content-monitoring-theme .csm-panel p,
.csm-app-content-monitoring-theme .csm-panel li{color:#b9d8ed!important}
.csm-app-content-monitoring-theme .csm-monitoring-intro>div{
  background:linear-gradient(145deg,#143f67,#103554)!important;border:1px solid #34729f!important;box-shadow:0 7px 18px rgba(0,0,0,.18);
}
.csm-app-content-monitoring-theme .csm-monitoring-intro strong{background:#1c659b!important;color:#dff4ff!important}
.csm-app-content-monitoring-theme .csm-monitoring-intro b{color:#fff!important}.csm-app-content-monitoring-theme .csm-monitoring-intro small{color:#b9d8ed!important}
.csm-app-content-monitoring-theme .csm-help-callout,
.csm-app-content-monitoring-theme .csm-help-grid>div,
.csm-app-content-monitoring-theme .csm-manual-snapshot-note,
.csm-app-content-monitoring-theme .csm-editing-notice,
.csm-app-content-monitoring-theme .csm-empty{
  background:#0d2d4b!important;border-color:#2c638e!important;color:#dceefa!important;
}
.csm-app-content-monitoring-theme .csm-form-row input,
.csm-app-content-monitoring-theme .csm-form-row textarea,
.csm-app-content-monitoring-theme .csm-form-row select,
.csm-app-content-monitoring-theme .csm-monitor-project-form select,
.csm-app-content-monitoring-theme .csm-snapshot-compare-grid select{
  background-color:#0b2945!important;color:#f4f9fd!important;border:1px solid #3f86b8!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
.csm-app-content-monitoring-theme .csm-form-row select,
.csm-app-content-monitoring-theme .csm-monitor-project-form select,
.csm-app-content-monitoring-theme .csm-snapshot-compare-grid select{
  -webkit-appearance:none;appearance:none;padding-right:42px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%238fd8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;background-size:12px 7px!important;
}
.csm-app-content-monitoring-theme .csm-form-row input:focus,
.csm-app-content-monitoring-theme .csm-form-row textarea:focus,
.csm-app-content-monitoring-theme select:focus{border-color:#69c6f5!important;box-shadow:0 0 0 3px rgba(85,186,241,.18)!important;outline:none!important}
.csm-app-content-monitoring-theme .csm-metric-source,
.csm-app-content-monitoring-theme .csm-metric-source a,
.csm-app-content-monitoring-theme a{color:#8fd8ff}
.csm-app-content-monitoring-theme .csm-metric-popover{background:#09243e!important;border-color:#34729f!important;color:#eaf6ff!important}
.csm-app-content-monitoring-theme .csm-count-pill{background:#174f7c!important;color:#dff4ff!important;border-color:#3f86b8!important}
.csm-app-content-monitoring-theme .csm-snapshot-badge.baseline{background:#174f7c!important;color:#bfe8ff!important}
.csm-app-content-monitoring-theme .csm-snapshot-badge.follow-up{background:#164d3a!important;color:#bff0d5!important}
.csm-app-content-monitoring-theme .csm-snapshot-badge.milestone{background:#5a471b!important;color:#ffe3a0!important}
.csm-app-content-monitoring-theme table{background:#0d2d4b!important;color:#eaf6ff!important;border-color:#2f668f!important}
.csm-app-content-monitoring-theme table th{background:#123b61!important;color:#fff!important;border-color:#2f668f!important}
.csm-app-content-monitoring-theme table td{border-color:#28577f!important;color:#dceefa!important}
.csm-app-content-monitoring-theme .csm-monitor-warning{background:#153d5f!important;border-color:#397aa7!important;color:#eaf6ff!important}
.csm-app-content-monitoring-theme .csm-btn.secondary{background:#174a78!important;border-color:#4388b8!important;color:#fff!important}
.csm-app-content-monitoring-theme .csm-btn.secondary:hover{background:#1d5c91!important}
@media(max-width:700px){.csm-app-content-monitoring-theme{padding:18px!important}}

/* v1.11.40 — complete Monitoring dark-theme pass: remove remaining light nested surfaces */
.csm-app-content-monitoring-theme .csm-monitor-help summary{
  background:linear-gradient(145deg,#123b61,#0f3152)!important;
  border-bottom:1px solid #2f668f!important;
  color:#eaf6ff!important;
}
.csm-app-content-monitoring-theme .csm-monitor-help summary strong{color:#fff!important}
.csm-app-content-monitoring-theme .csm-monitor-help summary span{color:#b9d8ed!important}
.csm-app-content-monitoring-theme .csm-monitor-help-body{
  background:linear-gradient(145deg,#0f3152,#0c2946)!important;
}
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel .csm-form-grid,
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel .csm-monitor-metric,
.csm-app-content-monitoring-theme .csm-monitor-metric,
.csm-app-content-monitoring-theme .csm-snapshot-compare-grid,
.csm-app-content-monitoring-theme .csm-monitor-project-form,
.csm-app-content-monitoring-theme .csm-monitor-trends .csm-panel,
.csm-app-content-monitoring-theme .csm-manual-monitoring-save{
  background:#0d2d4b!important;
  border-color:#2f668f!important;
  color:#eaf6ff!important;
}
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel .csm-form-grid{
  border:1px solid #2f668f!important;
  border-radius:12px!important;
}
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel .csm-monitor-metric,
.csm-app-content-monitoring-theme .csm-monitor-metric{
  border:1px solid #34729f!important;
  border-radius:12px!important;
  box-shadow:0 5px 14px rgba(0,0,0,.16)!important;
}
.csm-app-content-monitoring-theme .csm-monitor-metric label,
.csm-app-content-monitoring-theme .csm-monitor-metric strong{color:#fff!important}
.csm-app-content-monitoring-theme .csm-monitor-metric .csm-metric-source,
.csm-app-content-monitoring-theme .csm-monitor-metric .csm-field-help{color:#9ed4f2!important}
.csm-app-content-monitoring-theme .csm-next-snapshot,
.csm-app-content-monitoring-theme .csm-next-snapshot.soon,
.csm-app-content-monitoring-theme .csm-next-snapshot.overdue,
.csm-app-content-monitoring-theme .csm-monitor-reminder,
.csm-app-content-monitoring-theme .csm-monitor-reminder.due,
.csm-app-content-monitoring-theme .csm-monitor-reminder.overdue{
  background:linear-gradient(145deg,#123b61,#0f3152)!important;
  border-color:#34729f!important;
  color:#eaf6ff!important;
}
.csm-app-content-monitoring-theme .csm-next-snapshot strong,
.csm-app-content-monitoring-theme .csm-monitor-reminder strong{color:#fff!important}
.csm-app-content-monitoring-theme .csm-next-snapshot small,
.csm-app-content-monitoring-theme .csm-monitor-reminder span,
.csm-app-content-monitoring-theme .csm-monitor-reminder small{color:#b9d8ed!important}
.csm-app-content-monitoring-theme .csm-monitor-trends svg{
  background:linear-gradient(180deg,#0b2945,#0d2d4b)!important;
  border:1px solid #2f668f!important;
}
.csm-app-content-monitoring-theme .csm-table-wrap,
.csm-app-content-monitoring-theme .csm-monitor-table-wrap{
  background:transparent!important;
}
.csm-app-content-monitoring-theme .csm-recent-snapshots,
.csm-app-content-monitoring-theme .csm-recent-snapshots-first,
.csm-app-content-monitoring-theme .csm-snapshot-compare-picker,
.csm-app-content-monitoring-theme .csm-manual-snapshot-panel{
  background:linear-gradient(145deg,#123b61,#0f3152)!important;
}
.csm-app-content-monitoring-theme .csm-panel-heading-row{
  border-color:#2f668f!important;
}
.csm-app-content-monitoring-theme .csm-panel-heading-row h2,
.csm-app-content-monitoring-theme .csm-panel-heading-row h3{color:#fff!important}
.csm-app-content-monitoring-theme input[type="date"]::-webkit-calendar-picker-indicator{
  filter:invert(1) brightness(1.6);
  opacity:.9;
}
.csm-app-content-monitoring-theme input::placeholder,
.csm-app-content-monitoring-theme textarea::placeholder{color:#7fa8c5!important;opacity:1}

/* v1.11.41 — align Next Snapshot with the main Monitoring content width */
.csm-app-content-monitoring-theme > .csm-next-snapshot{
  max-width:1380px;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box;
}

/* v1.11.42 — monitoring snapshot availability state */
.csm-btn.csm-btn-disabled{opacity:.62;cursor:not-allowed;pointer-events:none;filter:saturate(.7);}
.csm-app-content-monitoring-theme .csm-btn.csm-btn-disabled{background:#183b5c!important;border-color:#315d82!important;color:#9fc3df!important;box-shadow:none!important;}


/* v1.11.43 — complete project-task connected-data contrast pass.
   Covers nested Google evidence surfaces, tables, helper notices and manual-lookup replacement states. */
.csm-app-content-project-theme .csm-connected-data,
.csm-app-content-project-theme .csm-connected-evidence{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%)!important;
  border-color:#34729f!important;
  color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-connected-data-head strong,
.csm-app-content-project-theme .csm-connected-evidence strong{color:#fff!important}
.csm-app-content-project-theme .csm-connected-data-head small,
.csm-app-content-project-theme .csm-connected-intro,
.csm-app-content-project-theme .csm-connected-data-foot,
.csm-app-content-project-theme .csm-auto-list li,
.csm-app-content-project-theme .csm-auto-detail span{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-connected-data-head>span{
  background:#dceefb!important;color:#174f7c!important;border:1px solid #9bc9e8!important;
}
.csm-app-content-project-theme .csm-auto-metric{
  background:#17466f!important;border-color:#3f789f!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-auto-metric span,
.csm-app-content-project-theme .csm-auto-metric small{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-auto-metric strong{color:#fff!important}
.csm-app-content-project-theme .csm-auto-detail{border-color:#2f668f!important}
.csm-app-content-project-theme .csm-auto-detail code{color:#eaf6ff!important}
.csm-app-content-project-theme .csm-connected-data-footer{border-color:#2f668f!important}
.csm-app-content-project-theme .csm-auto-complete-note{
  background:#163f39!important;border-color:#33735f!important;color:#e7fff3!important;
}
.csm-app-content-project-theme .csm-auto-complete-note strong{color:#9ce4bc!important}
.csm-app-content-project-theme .csm-auto-complete-note span{color:#d9f4e6!important}
.csm-app-content-project-theme .csm-connected-replaces-manual{
  background:linear-gradient(145deg,#174a78,#143b64)!important;border-color:#3f86b8!important;color:#eaf6ff!important;
}
.csm-app-content-project-theme .csm-connected-replaces-manual>span{background:#2388c8!important;color:#fff!important}
.csm-app-content-project-theme .csm-connected-replaces-manual strong{color:#fff!important}
.csm-app-content-project-theme .csm-connected-replaces-manual p{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-connected-data .csm-table-wrap{background:transparent!important}
.csm-app-content-project-theme .csm-connected-data table,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table{
  background:#0d2d4b!important;color:#eaf6ff!important;border-color:#2f668f!important;
}
.csm-app-content-project-theme .csm-connected-data table th,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table th{
  background:#17466f!important;color:#fff!important;border-color:#3a7199!important;
}
.csm-app-content-project-theme .csm-connected-data table td,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table td{
  background:#0d2d4b!important;color:#dceefa!important;border-color:#28577f!important;
}
.csm-app-content-project-theme .csm-connected-data table tbody tr:nth-child(even) td,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table tbody tr:nth-child(even) td{background:#103554!important}
.csm-app-content-project-theme .csm-connected-data table a,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table a{color:#8fd8ff!important}
.csm-app-content-project-theme .csm-connected-data table code,
.csm-app-content-project-theme .csm-connected-data .csm-auto-table code{color:#eaf6ff!important}
/* Preserve differentiated notices while keeping every nested state readable on navy. */
.csm-app-content-project-theme .csm-auto-notice strong{color:inherit!important}
.csm-app-content-project-theme .csm-auto-notice p{color:inherit!important;opacity:.92}
@media(max-width:600px){
  .csm-app-content-project-theme .csm-connected-data .csm-auto-table tr{background:#0d2d4b!important;border-color:#34729f!important}
  .csm-app-content-project-theme .csm-connected-data .csm-auto-table td::before{color:#9ed4f2!important}
}

/* v1.11.44 — project warning notices stay within the navy/blue visual system. */
.csm-app-content-project-theme .csm-auto-notice.warning{background:#153d5f!important;border-color:#397aa7!important;color:#eaf6ff!important}
.csm-app-content-project-theme .csm-auto-notice.warning strong{color:#fff!important}
.csm-app-content-project-theme .csm-auto-notice.warning p{color:#dceefa!important;opacity:1}

/* v1.11.45 — Sections 1–14 full project-task nested-state QA pass.
   Scope every remaining task-only helper, fallback, modal and control surface into the navy visual system. */

/* How & Where modal: it is opened from task screens, so it should visually belong to the task theme too. */
.csm-app-content-project-theme .csm-guide-dialog{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%)!important;
  border:1px solid #34729f!important;
  color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-guide-dialog>h2,
.csm-app-content-project-theme .csm-guide-section h3,
.csm-app-content-project-theme .csm-guide-good h3,
.csm-app-content-project-theme .csm-guide-warning h3{color:#fff!important}
.csm-app-content-project-theme .csm-guide-section{border-color:#2f668f!important}
.csm-app-content-project-theme .csm-guide-section p,
.csm-app-content-project-theme .csm-guide-section li,
.csm-app-content-project-theme .csm-guide-good p,
.csm-app-content-project-theme .csm-guide-warning p,
.csm-app-content-project-theme .csm-guide-quick-intro{color:#dceefa!important}
.csm-app-content-project-theme .csm-guide-close{
  background:#17466f!important;color:#dff2ff!important;border:1px solid #3b759d!important;
}
.csm-app-content-project-theme .csm-guide-close:hover{background:#1d5a89!important}
.csm-app-content-project-theme .csm-guide-good,
.csm-app-content-project-theme .csm-guide-finish{
  background:#153f39!important;border-color:#33735f!important;color:#e7fff3!important;
}
.csm-app-content-project-theme .csm-guide-warning{
  background:#153d5f!important;border-color:#397aa7!important;color:#eaf6ff!important;
}
.csm-app-content-project-theme .csm-guide-start,
.csm-app-content-project-theme .csm-guide-quick{
  background:#17466f!important;border-color:#37678e!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-guide-quick-link{
  background:#123b61!important;border-color:#3b759d!important;color:#dff2ff!important;
  box-shadow:none!important;
}
.csm-app-content-project-theme .csm-guide-quick-link:hover,
.csm-app-content-project-theme .csm-guide-quick-link:focus{background:#1a507d!important;border-color:#62c7f4!important}
.csm-app-content-project-theme .csm-guide-link-internal,
.csm-app-content-project-theme .csm-guide-link-website{background:#123b61!important;color:#dff2ff!important;border-color:#3b759d!important}
.csm-app-content-project-theme .csm-guide-resources a{color:#8fd8ff!important}

/* URL Inspection manual fallback (3.11 / 3.13) and other manual-check outcomes. */
.csm-app-content-project-theme .csm-manual-check{
  background:linear-gradient(145deg,#123b61,#0f3152)!important;
  border-color:#34729f!important;color:#eaf6ff!important;
}
.csm-app-content-project-theme .csm-manual-check>strong{color:#fff!important}
.csm-app-content-project-theme .csm-manual-check p,
.csm-app-content-project-theme .csm-manual-check li{color:#dceefa!important}
.csm-app-content-project-theme .csm-manual-outcomes>div{
  background:#17466f!important;border-color:#37678e!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-manual-outcomes strong{color:#fff!important}
.csm-app-content-project-theme .csm-manual-outcomes span{color:#b9d8ed!important}

/* PageSpeed / CrUX connected-data fallback and diagnostics states (Section 4). */
.csm-app-content-project-theme .csm-pagespeed-fallback,
.csm-app-content-project-theme .csm-source-unavailable{
  background:#17466f!important;border-color:#37678e!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-pagespeed-fallback strong,
.csm-app-content-project-theme .csm-source-unavailable strong{color:#fff!important}
.csm-app-content-project-theme .csm-pagespeed-fallback p,
.csm-app-content-project-theme .csm-source-unavailable span{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-pagespeed-url-row code,
.csm-app-content-project-theme .csm-pagespeed-diagnostic-grid code{
  background:#0d2d4b!important;border-color:#34729f!important;color:#eaf6ff!important;
}
.csm-app-content-project-theme .csm-pagespeed-diagnostics>summary{
  background:#123b61!important;color:#fff!important;border-color:#34729f!important;
}
.csm-app-content-project-theme .csm-pagespeed-diagnostic-grid>div{
  background:#0d2d4b!important;border-color:#2f668f!important;color:#eaf6ff!important;
}

/* Manual performance fallback used when PSI/Lighthouse/CrUX data is unavailable. */
.csm-app-content-project-theme .csm-manual-performance{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%)!important;
  border-color:#34729f!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-manual-performance-head h4{color:#fff!important}
.csm-app-content-project-theme .csm-manual-performance-head p,
.csm-app-content-project-theme .csm-manual-performance-actions span,
.csm-app-content-project-theme .csm-manual-saved{color:#b9d8ed!important}
.csm-app-content-project-theme .csm-manual-kicker{color:#8fd8ff!important}
.csm-app-content-project-theme .csm-manual-performance-grid label{color:#eaf6ff!important}
.csm-app-content-project-theme .csm-manual-performance-grid input{
  background:#17466f!important;color:#f4f9fd!important;border-color:#47779b!important;
}
.csm-app-content-project-theme .csm-manual-performance-grid input::placeholder{color:#a9c7dc!important;opacity:1}
.csm-manual-save-notice{
  display:flex;flex-direction:column;gap:4px;margin-top:16px;padding:12px 14px;
  border:1px solid #4f93c1;border-radius:10px;background:#0d2d4b;color:#edf7ff;
}
.csm-manual-save-notice strong{color:#fff}
.csm-manual-save-notice span{color:#b9d8ed;font-size:.92rem;line-height:1.45}
.csm-restored-draft-notice{
  margin:0 0 14px;padding:10px 12px;border:1px solid #4f93c1;border-radius:8px;
  background:#123b61;color:#edf7ff;font-size:.92rem;line-height:1.4;
}
.csm-performance-history .csm-performance-test-notes{min-width:260px;white-space:normal;line-height:1.45}
.csm-performance-history .csm-snapshot-badge.mobile{background:#155a84!important;color:#eaf7ff!important}
.csm-performance-history .csm-snapshot-badge.desktop{background:#324f72!important;color:#f1f7ff!important}
.csm-performance-history-fields{grid-template-columns:minmax(220px,360px)!important}
.csm-monitoring-record-types{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.csm-monitoring-record-types>div{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #37678e;border-radius:12px;background:#123b61}
.csm-monitoring-record-types p{display:flex;flex-direction:column;gap:4px;margin:0}
.csm-monitoring-record-types strong{color:#fff}
.csm-monitoring-record-types small{color:#b9d8ed;line-height:1.45}
.csm-monitoring-record-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;height:42px;border-radius:50%;background:#1e74ad;color:#fff;font-weight:800}
@media(max-width:700px){.csm-monitoring-record-types{grid-template-columns:1fr}}
.csm-speed-compare-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end}
.csm-speed-compare-form label{display:flex;flex-direction:column;gap:6px;color:#dcecf8;font-weight:700}
.csm-speed-compare-form select{width:100%}
.csm-speed-compare-summary{display:flex;justify-content:space-between;gap:12px;margin:18px 0 10px;padding:12px 14px;border:1px solid #37678e;border-radius:10px;background:#123b61;color:#b9d8ed}
.csm-speed-compare-summary strong{color:#fff}
.csm-speed-result{display:inline-flex;padding:4px 9px;border-radius:999px;font-weight:800;font-size:.82rem}
.csm-speed-result.improved{background:#176b4b;color:#dffff0}
.csm-speed-result.worsened{background:#8b3037;color:#fff0f1}
.csm-speed-result.unchanged{background:#4c5e73;color:#f1f6fb}
.csm-speed-result.unavailable{background:#38516b;color:#dcecf8}

/* v1.13.86 — Section 1 client-record evidence. */
.csm-client-setup-evidence .csm-site-audit-summary small{display:block;margin-top:5px;line-height:1.5}
.csm-client-setup-evidence .csm-site-audit-list li{line-height:1.55}
.csm-client-setup-evidence .csm-client-evidence-ready{color:#e5f5ff}
.csm-client-setup-evidence .csm-client-evidence-missing{color:#ffd39a}
.csm-client-setup-evidence .csm-audit-target-actions{margin-top:12px;justify-content:flex-start}
@media(max-width:850px){
  .csm-speed-compare-form{grid-template-columns:1fr}
  .csm-speed-compare-form .csm-btn{width:100%}
  .csm-speed-compare-summary{flex-direction:column}
}
.csm-auto-snapshot-panel{border-color:#2f82b8!important;background:linear-gradient(145deg,#123f68 0%,#0d3153 100%)!important}
.csm-auto-snapshot-panel .csm-kicker{color:#8fd8ff!important}
.csm-auto-snapshot-panel h2{color:#fff!important}
.csm-auto-snapshot-sources{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}
.csm-auto-snapshot-sources>div{display:flex;flex-direction:column;gap:5px;padding:12px;border:1px solid #37678e;border-radius:10px;background:#123b61}
.csm-auto-snapshot-sources>div.available{border-color:#2e8d6a;background:#114b43}
.csm-auto-snapshot-sources strong{color:#fff}
.csm-auto-snapshot-sources span{color:#c7dfef;font-size:.88rem;line-height:1.35}
.csm-auto-snapshot-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:12px;align-items:end;padding-top:4px}
.csm-auto-snapshot-form label{display:flex;flex-direction:column;gap:6px;color:#edf7ff;font-weight:700}
.csm-auto-snapshot-form .csm-field-help{grid-column:1/-1;margin:0;color:#b9d8ed!important}
.csm-long-running-warning{display:flex;align-items:flex-start;gap:10px;margin:4px 0 14px;padding:12px 14px;border:1px solid #d49a38;border-radius:10px;background:#493713;color:#fff4d6}
.csm-long-running-warning strong{white-space:nowrap;color:#ffd887}
.csm-long-running-warning span{line-height:1.45}
.csm-long-running-status[hidden]{display:none!important}
.csm-long-running-status{grid-column:1/-1;display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid #55b9e8;border-radius:10px;background:#0b2947;color:#fff}
.csm-long-running-status>div{display:flex;flex-direction:column;gap:4px}
.csm-long-running-status strong{color:#fff}
.csm-long-running-status span{color:#c8e8f8;line-height:1.45}
.csm-working-spinner{flex:0 0 18px;width:18px;height:18px;border:3px solid rgba(255,255,255,.25);border-top-color:#69c7f2;border-radius:50%;animation:csm-working-spin .85s linear infinite}
@keyframes csm-working-spin{to{transform:rotate(360deg)}}
.csm-auto-snapshot-setup-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
@media(max-width:900px){.csm-auto-snapshot-sources{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .csm-auto-snapshot-sources,.csm-auto-snapshot-form{grid-template-columns:1fr}
  .csm-auto-snapshot-form .csm-btn{width:100%}
  .csm-long-running-warning{flex-direction:column;gap:4px}
  .csm-long-running-warning strong{white-space:normal}
}

/* Monitoring-save controls embedded inside a task should not retain their standalone light styling. */
.csm-app-content-project-theme .csm-manual-monitoring-save{
  background:#17466f!important;border-color:#37678e!important;color:#edf7ff!important;
}
.csm-app-content-project-theme .csm-manual-monitoring-toggle strong,
.csm-app-content-project-theme .csm-manual-monitoring-grid>label,
.csm-app-content-project-theme .csm-manual-monitoring-notes{color:#fff!important}
.csm-app-content-project-theme .csm-manual-monitoring-toggle small,
.csm-app-content-project-theme .csm-manual-monitoring-grid small,
.csm-app-content-project-theme .csm-manual-monitoring-notes span small{color:#b9d8ed!important}

/* Metric help popovers can appear inside performance/monitoring evidence cards. */
.csm-app-content-project-theme .csm-metric-help{background:#17466f!important;color:#8fd8ff!important;border:1px solid #3b759d!important}
.csm-app-content-project-theme .csm-metric-help:hover,
.csm-app-content-project-theme .csm-metric-help[aria-expanded="true"]{background:#2388c8!important;color:#fff!important}
.csm-app-content-project-theme .csm-metric-popover{
  background:#123b61!important;border-color:#34729f!important;border-left-color:#55baf1!important;color:#dceefa!important;
}
.csm-app-content-project-theme .csm-metric-popover p{color:#dceefa!important}

/* Outcome controls: remove white pills and pale checked states. */
.csm-app-content-project-theme .csm-priority-choice span{
  background:#17466f!important;border-color:#47779b!important;color:#dceefa!important;
}
.csm-app-content-project-theme .csm-priority-choice.red input:checked+span{background:#5b2c32!important;border-color:#d56973!important;color:#ffd9dd!important}
.csm-app-content-project-theme .csm-priority-choice.orange input:checked+span{background:#5a3b24!important;border-color:#d68b4c!important;color:#ffe2c8!important}
.csm-app-content-project-theme .csm-priority-choice.yellow input:checked+span{background:#55491f!important;border-color:#c9a83d!important;color:#fff0aa!important}
.csm-app-content-project-theme .csm-priority-choice.blue input:checked+span{background:#174f7c!important;border-color:#62b9ed!important;color:#e3f5ff!important}
.csm-app-content-project-theme .csm-save-confirm{
  background:#153f39!important;border-color:#33735f!important;color:#bff0d5!important;
}
.csm-app-content-project-theme .csm-check-row,
.csm-app-content-project-theme .csm-report-toggle{color:#dceefa!important}

/* Evidence nested separators and upload area. */
.csm-app-content-project-theme .csm-evidence-list,
.csm-app-content-project-theme .csm-evidence-add,
.csm-app-content-project-theme .csm-evidence-report-form,
.csm-app-content-project-theme .csm-evidence-item{border-color:#2f668f!important}
.csm-app-content-project-theme .csm-evidence-add{background:transparent!important}
.csm-app-content-project-theme .csm-evidence-file-icon{background:#123b61!important;color:#8fd8ff!important;border-color:#34729f!important}

/* Misc connected-data detail surfaces that can be emitted by specialized task states. */
.csm-app-content-project-theme .csm-google-selected-detail,
.csm-app-content-project-theme .csm-live-limitation{
  background:#17466f!important;border-color:#37678e!important;color:#dceefa!important;
}
.csm-app-content-project-theme .csm-google-selected-detail strong,
.csm-app-content-project-theme .csm-live-limitation strong{color:#fff!important}
.csm-app-content-project-theme .csm-google-selected-detail,
.csm-app-content-project-theme .csm-live-limitation span{color:#b9d8ed!important}

/* Generic table safety net inside project task cards: specialized connected-data tables already have stronger rules. */
.csm-app-content-project-theme .csm-task-main .csm-table-wrap{background:transparent!important}
.csm-app-content-project-theme .csm-task-main table.csm-table{
  background:#0d2d4b!important;color:#eaf6ff!important;border-color:#2f668f!important;
}
.csm-app-content-project-theme .csm-task-main table.csm-table th{
  background:#17466f!important;color:#fff!important;border-color:#3a7199!important;
}
.csm-app-content-project-theme .csm-task-main table.csm-table td{
  background:#0d2d4b!important;color:#dceefa!important;border-color:#28577f!important;
}
.csm-app-content-project-theme .csm-task-main table.csm-table tbody tr:nth-child(even) td{background:#103554!important}
.csm-app-content-project-theme .csm-task-main table.csm-table a{color:#8fd8ff!important}

/* Disabled/read-only controls should remain clearly distinct without turning white. */
.csm-app-content-project-theme input:disabled,
.csm-app-content-project-theme select:disabled,
.csm-app-content-project-theme textarea:disabled,
.csm-app-content-project-theme input[readonly]{
  background:#123754!important;color:#a9c7dc!important;border-color:#315d82!important;opacity:1!important;
}

/* v1.11.45 — final task-sidebar/control stragglers found by selector audit. */
.csm-app-content-project-theme .csm-evidence-preview{
  background:#123b61!important;border-color:#34729f!important;color:#8fd8ff!important;
}
.csm-app-content-project-theme .csm-delete-evidence{
  background:#4b2c35!important;border-color:#9a5864!important;color:#ffdce2!important;
}
.csm-app-content-project-theme .csm-delete-evidence:hover{
  background:#5b333d!important;border-color:#c16e7c!important;color:#fff!important;
}
.csm-app-content-project-theme .csm-priority-pill.critical{background:#5b2c32!important;color:#ffd9dd!important;border-color:#d56973!important}
.csm-app-content-project-theme .csm-priority-pill.high{background:#5a3b24!important;color:#ffe2c8!important;border-color:#d68b4c!important}
.csm-app-content-project-theme .csm-priority-pill.medium{background:#55491f!important;color:#fff0aa!important;border-color:#c9a83d!important}
.csm-app-content-project-theme .csm-priority-pill.low{background:#174f7c!important;color:#e3f5ff!important;border-color:#62b9ed!important}
.csm-app-content-project-theme .csm-status-complete{background:#153f39!important;color:#9ce4bc!important}
.csm-app-content-project-theme .csm-status-needs-attention{background:#5b2c32!important;color:#ffd9dd!important}
.csm-app-content-project-theme .csm-status-blocked-waiting{background:#55491f!important;color:#fff0aa!important}
.csm-app-content-project-theme .csm-status-not-applicable{background:#273d52!important;color:#c6d7e5!important}
.csm-app-content-project-theme .csm-status-in-progress{background:#174f7c!important;color:#b9e7ff!important}
.csm-app-content-project-theme .csm-status-not-started{background:#173a5c!important;color:#b9d0e2!important}
.csm-app-content-project-theme .csm-connected-data-empty,
.csm-app-content-project-theme .csm-connected-data-supporting,
.csm-app-content-project-theme .csm-connected-auto-compact{
  background:linear-gradient(145deg,#123b64 0%,#0f3154 100%)!important;
  border-color:#34729f!important;color:#edf7ff!important;
}

/* v1.11.46 — clearer semantic feedback colours after Sections 1–6 QA.
   Success saves use a bright green toast. Known data-availability limitations use
   a warm orange treatment, while ordinary informational cross-checks stay blue. */
.csm-flash{
  position:relative;
  background:#20a957!important;
  border:1px solid #45ca79!important;
  color:#fff!important;
  font-weight:800;
  box-shadow:0 8px 24px rgba(20,120,63,.24);
  padding:12px 16px 12px 42px!important;
}
.csm-flash::before{
  content:"✓";
  position:absolute;
  left:15px;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.20);
  color:#fff;
  font-size:13px;
  line-height:1;
}
.csm-app-content-project-theme .csm-auto-notice.limitation{
  background:#7a430d!important;
  border-color:#d28a37!important;
  color:#fff7ec!important;
}
.csm-app-content-project-theme .csm-auto-notice.limitation strong{color:#fff!important}
.csm-app-content-project-theme .csm-auto-notice.limitation p{color:#ffe4c3!important}
.csm-app-content-project-theme .csm-source-unavailable{
  background:#7a430d!important;
  border-color:#d28a37!important;
  color:#fff7ec!important;
}
.csm-app-content-project-theme .csm-source-unavailable strong{color:#fff!important}
.csm-app-content-project-theme .csm-source-unavailable span{color:#ffe4c3!important}

/* v1.12.0 — shared Website Audit engine evidence */
.csm-app-content-project-theme .csm-website-audit{border-color:#2f78ae!important}
.csm-app-content-project-theme .csm-site-audit-summary,.csm-app-content-project-theme .csm-site-audit-list,.csm-app-content-project-theme .csm-site-audit-heading-tree,.csm-app-content-project-theme .csm-site-audit-value{margin-top:12px;padding:12px 14px;border:1px solid #356f9b;border-radius:10px;background:#164a73;color:#eef8ff}
.csm-app-content-project-theme .csm-site-audit-summary{display:flex;justify-content:space-between;gap:12px;align-items:center}.csm-app-content-project-theme .csm-site-audit-summary small{color:#b9d8ed}
.csm-app-content-project-theme .csm-site-audit-state{font-weight:900!important}.csm-app-content-project-theme .csm-site-audit-pass{background:#16824b!important;color:#fff!important}.csm-app-content-project-theme .csm-site-audit-attention{background:#b64a3a!important;color:#fff!important}.csm-app-content-project-theme .csm-site-audit-review{background:#d47b19!important;color:#fff!important}.csm-app-content-project-theme .csm-site-audit-likely_pass{background:#2373a9!important;color:#fff!important}
.csm-app-content-project-theme .csm-site-audit-list ul{margin:8px 0 0 20px}.csm-app-content-project-theme .csm-heading-chips{display:grid;gap:6px;margin-top:9px}.csm-app-content-project-theme .csm-heading-chips span{display:block;padding:7px 9px;border-radius:7px;background:#103d61;color:#e8f6ff}.csm-app-content-project-theme .csm-heading-chips b{color:#8fd3ff;margin-right:7px}.csm-app-content-project-theme .csm-site-audit-notice{margin-top:12px;padding:12px 14px;border:1px solid #d48a35;border-radius:10px;background:#9a5b17;color:#fff}.csm-app-content-project-theme .csm-site-audit-notice p{color:#fff!important;margin:5px 0 0}.csm-app-content-project-theme .csm-website-audit .csm-connected-refresh{margin-top:12px}


/* v1.12.1 — semantic flash states for Website Audit re-tests. */
.csm-flash-limitation{
  background:#d97706!important;
  border-color:#f2a33a!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(174,92,7,.24)!important;
}
.csm-flash-limitation::before{content:"!";background:rgba(255,255,255,.22)!important}
.csm-flash-error{
  background:#b42318!important;
  border-color:#e45b50!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(180,35,24,.24)!important;
}
.csm-flash-error::before{content:"×";background:rgba(255,255,255,.20)!important}
.csm-flash-info{
  background:#2373a9!important;
  border-color:#4fa0d3!important;
  color:#fff!important;
  box-shadow:0 8px 24px rgba(35,115,169,.22)!important;
}
.csm-flash-info::before{content:"i";background:rgba(255,255,255,.20)!important}
.csm-flash-message{line-height:1.5}
.csm-flash-details{margin-top:9px;font-weight:500}
.csm-flash-details>summary{width:max-content;max-width:100%;cursor:pointer;color:#fff;text-decoration:underline;text-underline-offset:3px;font-weight:800}
.csm-flash-details>div{margin-top:8px;padding:10px 12px;border:1px solid rgba(255,255,255,.25);border-radius:7px;background:rgba(36,22,5,.18);color:#fff7e8;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:12px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}
/* v1.13.0 — compact setup help inside Settings */
.csm-inline-help{margin:12px 0 16px;border:1px solid #d7e2eb;border-radius:10px;background:#f7fbfe;overflow:hidden}
.csm-inline-help>summary{cursor:pointer;padding:11px 13px;color:#173d67;font-size:13px;list-style:none}
.csm-inline-help>summary::-webkit-details-marker{display:none}
.csm-inline-help-body{padding:0 14px 13px;color:#536779;font-size:12px;line-height:1.55}
.csm-inline-help-body ol{margin:8px 0 8px 20px;padding:0}.csm-inline-help-body li{margin:5px 0}

/* v1.13.2 — client website audit target */
.csm-audit-target-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin:10px 0 12px;border:1px solid rgba(90,184,255,.28);border-radius:10px;background:rgba(7,37,67,.36)}
.csm-audit-target-row>div:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}.csm-audit-target-row span{font-size:12px}.csm-audit-target-row strong{overflow-wrap:anywhere}.csm-audit-target-actions,.csm-audit-target-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.csm-audit-approved{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(31,171,89,.18);border:1px solid rgba(73,213,126,.4);color:#baf5ce;font-weight:700}.csm-website-audit-target-card code{display:block;margin:8px 0 10px;overflow-wrap:anywhere}.csm-audit-target-card-actions{margin-top:8px}@media(max-width:700px){.csm-audit-target-row{align-items:flex-start;flex-direction:column}}

/* v1.13.7 — temporary website scanner diagnostic */
.csm-site-audit-diagnostic{margin-top:10px;padding-top:8px;border-top:1px solid rgba(255,255,255,.18);font-size:12px}
.csm-site-audit-diagnostic summary{cursor:pointer;font-weight:700}
.csm-site-audit-diagnostic ul{margin:7px 0 0 18px;padding:0}
.csm-site-audit-diagnostic li{margin:4px 0;overflow-wrap:anywhere}

/* v1.13.38 — Clients workspace */
.csm-clients-workspace{
    margin:-28px -34px -40px;
    padding:28px 34px 54px;
    min-height:calc(100vh - 56px);
    background:
        radial-gradient(circle at 78% 12%,rgba(44,112,164,.16),transparent 31%),
        linear-gradient(180deg,#0d2946 0%,#0a223a 100%);
    border-radius:0 0 14px 14px;
}
.csm-clients-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    background:linear-gradient(135deg,#173f66,#225f8d);
    border:1px solid rgba(146,201,239,.22);
    border-radius:14px;
    padding:24px 26px;
    margin:0 0 22px;
    box-shadow:0 10px 28px rgba(0,0,0,.18);
}
.csm-clients-hero h1{
    margin:5px 0 5px;
    color:#fff;
    font-size:28px;
    line-height:1.15;
}
.csm-clients-hero p{
    margin:0;
    color:#c9ddeb;
}
.csm-clients-eyebrow{
    display:block;
    color:#74c9f2;
    font-size:10px;
    line-height:1;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}
.csm-clients-add{
    flex:0 0 auto;
    background:#2b8ac6;
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 5px 14px rgba(0,0,0,.15);
}
.csm-clients-add:hover{
    background:#fff;
    color:#143b66!important;
}
.csm-client-card-list{
    display:grid;
    gap:15px;
}
.csm-client-card{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:center;
    background:linear-gradient(135deg,#153f67 0%,#174b77 100%);
    border:1px solid rgba(129,187,225,.30);
    border-left:4px solid #53b7ea;
    border-radius:14px;
    padding:20px 22px;
    box-shadow:0 8px 22px rgba(0,0,0,.16);
    transition:border-color .15s, box-shadow .15s, transform .15s;
}
.csm-client-card:hover{
    border-color:rgba(116,201,242,.62);
    border-left-color:#75d0fa;
    box-shadow:0 11px 28px rgba(0,0,0,.23);
    transform:translateY(-1px);
}
.csm-client-card-main{
    min-width:0;
}
.csm-client-card-title-row{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:14px;
}
.csm-client-avatar{
    width:46px;
    height:46px;
    flex:0 0 46px;
    display:grid;
    place-items:center;
    border-radius:12px;
    background:linear-gradient(135deg,#2d91ca,#52b9e9);
    color:#fff;
    font-size:20px;
    font-weight:900;
    box-shadow:0 5px 14px rgba(0,0,0,.18);
}
.csm-client-card-kicker{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:4px 8px;
    margin-bottom:5px;
    border-radius:999px;
    background:rgba(82,185,233,.14);
    border:1px solid rgba(116,201,242,.26);
    color:#8ed9fb;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.csm-client-card h2{
    margin:0;
    color:#fff;
    font-size:21px;
    line-height:1.2;
}
.csm-client-card-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px 30px;
    padding-left:60px;
}
.csm-client-card-meta span{
    display:grid;
    gap:3px;
    color:#d5e5f0;
    font-size:13px;
}
.csm-client-card-meta strong{
    color:#7eb3d4;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.csm-client-card-side{
    display:flex;
    align-items:center;
    gap:14px;
}
.csm-client-project-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:82px;
    padding:8px 11px;
    border-radius:999px;
    background:rgba(82,185,233,.12);
    border:1px solid rgba(116,201,242,.25);
    color:#a5dcf7;
    font-size:11px;
    font-weight:800;
}
.csm-client-card .csm-client-view{
    white-space:nowrap;
    background:#f4f9fc;
    border-color:#d7e5ef;
    color:#164a74!important;
}
.csm-client-card .csm-client-view:hover{
    background:#fff;
    border-color:#fff;
}
.csm-clients-workspace .csm-empty{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.16);
    color:#c9ddeb;
}
@media (max-width:760px){
    .csm-clients-workspace{
        margin:-20px -18px -30px;
        padding:20px 18px 38px;
    }
    .csm-clients-hero{
        align-items:flex-start;
        flex-direction:column;
    }
    .csm-clients-add{
        width:100%;
    }
    .csm-client-card{
        grid-template-columns:1fr;
    }
    .csm-client-card-meta{
        padding-left:0;
    }
    .csm-client-card-side{
        justify-content:space-between;
        border-top:1px solid rgba(255,255,255,.12);
        padding-top:14px;
    }
}


/* v1.13.38 — Clients page outer theme fix.
   The dark background belongs to the full app content area, not an inner island. */
.csm-app-content-clients-theme{
    max-width:none !important;
    margin:0 !important;
    min-height:calc(100vh - 58px);
    padding:30px clamp(22px,3vw,44px) 54px;
    background:
        radial-gradient(circle at 78% 12%,rgba(44,112,164,.16),transparent 31%),
        linear-gradient(180deg,#0d2946 0%,#0a223a 100%);
}
.csm-app-content-clients-theme .csm-clients-workspace{
    max-width:1380px;
    min-height:auto;
    margin:0 auto;
    padding:0;
    background:none;
    border-radius:0;
}
.csm-app-content-clients-theme .csm-clients-hero{
    margin-top:0;
}
@media (max-width:760px){
    .csm-app-content-clients-theme{
        padding:18px;
    }
    .csm-app-content-clients-theme .csm-clients-workspace{
        margin:0;
        padding:0;
    }
}


/* v1.13.38 — Individual Client page, aligned to Project Overview */
.csm-app-content-client-theme{
    padding:30px clamp(22px,3vw,44px) 48px;
}
.csm-app-content-client-theme .csm-client-overview-theme{
    --csm-client-card:#0e2d50;
    --csm-client-card-2:#11375f;
    --csm-client-border:#28547d;
    --csm-client-text:#dcecff;
    --csm-client-muted:#92b5d4;
    --csm-client-cyan:#32b5ff;
    --csm-client-green:#71d9a4;
    max-width:1380px;
    margin:0 auto;
    background:
        radial-gradient(circle at 82% 8%,rgba(43,111,174,.28),transparent 32%),
        linear-gradient(145deg,#07182d 0%,#0b2441 52%,#081b33 100%);
    border:1px solid #183e63;
    border-radius:22px;
    padding:28px;
    box-shadow:0 18px 48px rgba(8,27,51,.18);
    color:var(--csm-client-text);
}

/* Header */
.csm-client-overview-theme>.csm-page-head{
    margin-bottom:20px;
    padding:20px 22px;
    background:linear-gradient(135deg,#123a63,#164b78);
    border:1px solid #32648e;
    border-radius:15px;
    box-shadow:0 8px 22px rgba(0,0,0,.13);
}
.csm-client-overview-theme>.csm-page-head h1{
    color:#fff;
    font-size:31px;
}
.csm-client-overview-theme>.csm-page-head p{
    color:#9fc4e2;
}
.csm-client-overview-theme>.csm-page-head .csm-btn.secondary{
    background:#f5f9fc;
    border-color:#d4e3ed;
    color:#17466e!important;
}

/* Remove the old skinny sidebar layout. */
.csm-client-overview-theme>.csm-two-col{
    display:block;
}
.csm-client-overview-theme>.csm-two-col>div,
.csm-client-overview-theme>.csm-two-col>aside{
    width:100%;
}
.csm-client-overview-theme>.csm-two-col>aside{
    margin-top:22px;
}
.csm-client-overview-theme .sticky{
    position:static;
}

/* Client Overview */
.csm-client-overview-theme>.csm-two-col>div>.csm-panel:first-child{
    background:linear-gradient(180deg,var(--csm-client-card-2),var(--csm-client-card));
    border-color:var(--csm-client-border);
    border-radius:15px;
    padding:22px;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.csm-client-overview-theme>.csm-two-col>div>.csm-panel:first-child h2{
    color:#fff;
    font-size:21px;
    margin-bottom:16px;
}
.csm-client-overview-theme .csm-detail-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.csm-client-overview-theme .csm-detail-list>div{
    display:block;
    padding:14px 15px;
    border:1px solid #2c587f;
    border-radius:11px;
    background:rgba(7,24,45,.34);
}
.csm-client-overview-theme .csm-detail-list dt{
    margin-bottom:5px;
    color:#69c5fb;
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.csm-client-overview-theme .csm-detail-list dd{
    color:#f2f8fd;
    font-weight:650;
}

/* Google Data Connections outer panel */
.csm-client-overview-theme .csm-google-connections{
    margin:18px 0;
    background:#0b2746;
    border-color:#224d73;
    border-radius:15px;
    box-shadow:0 8px 22px rgba(0,0,0,.11);
}
.csm-client-overview-theme .csm-google-connections>.csm-panel-heading-row{
    margin:-21px -21px 18px;
    padding:17px 20px;
    background:linear-gradient(90deg,#11375f,#0e2c4e);
    border-bottom:1px solid #28547d;
    border-radius:15px 15px 0 0;
}
.csm-client-overview-theme .csm-google-connections h2{
    color:#fff;
}
.csm-client-overview-theme .csm-google-connections .csm-small{
    color:#9ab8d1;
}
.csm-client-overview-theme .csm-google-service{
    background:linear-gradient(180deg,#f9fcff,#f3f8fc);
    border-color:#cbdbe7;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.05);
}
.csm-client-overview-theme .csm-google-service-head strong{
    color:#143b66;
}
.csm-client-overview-theme .csm-google-service select,
.csm-client-overview-theme .csm-google-service input{
    min-height:40px;
}
.csm-client-overview-theme .csm-google-connections>.csm-actions{
    padding-top:4px;
}

/* Live Google Data, if present */
.csm-client-overview-theme .csm-live-google{
    background:#0b2746;
    border-color:#224d73;
    color:#dcecff;
    border-radius:15px;
}
.csm-client-overview-theme .csm-live-google h2,
.csm-client-overview-theme .csm-live-google h3{
    color:#fff;
}
.csm-client-overview-theme .csm-live-google .csm-small,
.csm-client-overview-theme .csm-live-google .csm-field-help{
    color:#92b5d4;
}
.csm-client-overview-theme .csm-live-card{
    background:#11375f;
    border-color:#28547d;
}
.csm-client-overview-theme .csm-live-card span,
.csm-client-overview-theme .csm-live-card small{
    color:#92b5d4;
}
.csm-client-overview-theme .csm-live-card strong{
    color:#fff;
}

/* Existing projects */
.csm-client-overview-theme #csm-existing-projects{
    margin:24px 0 12px;
}
.csm-client-overview-theme #csm-existing-projects h2{
    color:#f4f9ff;
}
.csm-client-overview-theme .csm-project-line{
    background:linear-gradient(180deg,#11375f,#0e2d50);
    border-color:#28547d;
    color:#dcecff;
    border-radius:13px;
    margin-bottom:10px;
    box-shadow:0 6px 18px rgba(0,0,0,.10);
}
.csm-client-overview-theme .csm-project-line strong{
    color:#fff;
}
.csm-client-overview-theme .csm-project-line span{
    color:#92b5d4;
}
.csm-client-overview-theme .csm-project-line .csm-btn.secondary{
    background:#f5f9fc;
    border-color:#d4e3ed;
    color:#17466e!important;
}

/* NEW project is now a full-width section, not a sidebar. */
.csm-client-overview-theme .csm-new-project-panel{
    position:static;
    background:linear-gradient(180deg,#11375f,#0e2d50);
    border:1px solid #28547d;
    border-radius:15px;
    padding:22px;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.csm-client-overview-theme .csm-new-project-panel h3{
    color:#fff;
    font-size:21px;
}
.csm-client-overview-theme .csm-new-project-word{
    color:#73cfff;
}
.csm-client-overview-theme .csm-new-project-warning{
    margin:0 0 18px;
    padding:12px 14px;
    border-radius:10px;
    background:#153a5c;
    border:1px solid #32648e;
    color:#c8dded;
}
.csm-client-overview-theme .csm-new-project-warning a{
    color:#fff;
}
.csm-client-overview-theme .csm-create-project-form{
    display:grid;
    grid-template-columns:minmax(260px,2fr) repeat(3,minmax(165px,1fr)) auto;
    gap:12px;
    align-items:end;
}
.csm-client-overview-theme .csm-create-project-form .csm-form-row{
    margin:0;
}
.csm-client-overview-theme .csm-create-project-form label{
    color:#9fc4e2;
    font-size:11px;
}
.csm-client-overview-theme .csm-create-project-form input{
    min-height:42px;
}
.csm-client-overview-theme .csm-create-project-form>.csm-btn{
    min-height:42px;
    white-space:nowrap;
}

/* General dark-theme headings inside client workspace */
.csm-client-overview-theme>.csm-section-head h2{
    color:#fff;
}

@media(max-width:1100px){
    .csm-client-overview-theme .csm-create-project-form{
        grid-template-columns:1fr 1fr;
    }
    .csm-client-overview-theme .csm-create-project-form>.csm-btn{
        width:100%;
    }
}
@media(max-width:760px){
    .csm-app-content-client-theme{
        padding:18px;
    }
    .csm-app-content-client-theme .csm-client-overview-theme{
        padding:18px;
        border-radius:16px;
    }
    .csm-client-overview-theme>.csm-page-head{
        flex-direction:column;
    }
    .csm-client-overview-theme>.csm-page-head .csm-btn{
        width:100%;
    }
    .csm-client-overview-theme .csm-detail-list{
        grid-template-columns:1fr;
    }
    .csm-client-overview-theme .csm-create-project-form{
        grid-template-columns:1fr;
    }
}


/* v1.13.38 — Individual Client page polish: Google + Live Data + Danger Zone */

/* Google connection cards: reduce the harsh white boxes and align them with the dark app. */
.csm-client-overview-theme .csm-google-grid{
    gap:14px;
}
.csm-client-overview-theme .csm-google-service{
    background:linear-gradient(180deg,#163b60,#123552);
    border:1px solid #2d5f87;
    color:#dcecff;
    box-shadow:0 6px 18px rgba(0,0,0,.10);
}
.csm-client-overview-theme .csm-google-service-head strong{
    color:#fff;
}
.csm-client-overview-theme .csm-google-service-head span{
    color:#9bc3df;
}
.csm-client-overview-theme .csm-google-service p,
.csm-client-overview-theme .csm-google-service .csm-field-help{
    color:#b9d0e2;
}
.csm-client-overview-theme .csm-google-service code{
    color:#dff2ff;
    background:#0c2944;
    border:1px solid #28547d;
    padding:7px 9px;
    border-radius:7px;
    display:inline-block;
    max-width:100%;
}
.csm-client-overview-theme .csm-google-service select{
    background:#f7fbfe;
    border-color:#b9cfdf;
    color:#173a5e;
}
.csm-client-overview-theme .csm-google-selected-detail{
    background:#0c2944;
    border-color:#28547d;
    color:#dcecff;
}
.csm-client-overview-theme .csm-google-selected-detail span{
    color:#9bc3df;
}
.csm-client-overview-theme .csm-google-selected-detail strong{
    color:#fff;
}
.csm-client-overview-theme .csm-website-audit-target-card .csm-audit-approved{
    background:#174737;
    border-color:#2e7a5c;
    color:#a5efc9;
}
.csm-client-overview-theme .csm-google-connections .csm-btn.secondary{
    background:#eef6fb;
    border-color:#c7dce9;
    color:#164a74!important;
}
.csm-client-overview-theme .csm-google-connections .csm-btn.secondary:hover{
    background:#fff;
}

/* GBP Manual Mode: keep the amber warning, but make everything beneath it readable. */
.csm-client-overview-theme .csm-google-service-manual{
    background:linear-gradient(180deg,#183957,#14314c);
}
.csm-client-overview-theme .csm-auto-notice.limitation{
    background:#8a4d0a;
    border-color:#c17a22;
    color:#fff1dc;
}
.csm-client-overview-theme .csm-auto-notice.limitation strong,
.csm-client-overview-theme .csm-auto-notice.limitation p{
    color:#fff1dc;
}
.csm-client-overview-theme .csm-google-service-manual .csm-field-help{
    color:#c7dbea;
}
.csm-client-overview-theme .csm-google-service-manual .csm-field-help strong{
    color:#fff;
}

/* Live Google Data section */
.csm-client-overview-theme .csm-live-google{
    background:linear-gradient(180deg,#0c2a49,#09243f);
    border:1px solid #28547d;
    box-shadow:0 8px 22px rgba(0,0,0,.12);
}
.csm-client-overview-theme .csm-live-google .csm-panel-heading-row{
    padding-bottom:12px;
    border-bottom:1px solid #28547d;
}
.csm-client-overview-theme .csm-live-period strong{
    color:#fff;
}
.csm-client-overview-theme .csm-live-period span{
    color:#8fb0ca;
}
.csm-client-overview-theme .csm-live-limitation{
    background:#16466f;
    border:1px solid #3273a4;
    color:#d8ecfb;
}
.csm-client-overview-theme .csm-live-limitation strong{
    color:#fff;
}
.csm-client-overview-theme .csm-google-error{
    background:#5e2d29;
    border-color:#9a4d45;
    color:#ffd9d5;
}

/* Metrics */
.csm-client-overview-theme .csm-live-card{
    background:linear-gradient(180deg,#153f67,#113554);
    border:1px solid #2d5f87;
    border-radius:11px;
    box-shadow:none;
}
.csm-client-overview-theme .csm-live-card span,
.csm-client-overview-theme .csm-live-card small{
    color:#9fc2dc;
}
.csm-client-overview-theme .csm-live-card strong{
    color:#fff;
}

/* Tables: fix the washed-out white-on-white appearance. */
.csm-client-overview-theme .csm-live-tables h3{
    color:#fff;
    margin-bottom:8px;
}
.csm-client-overview-theme .csm-table-wrap{
    border:1px solid #28547d;
    border-radius:10px;
    overflow:hidden;
    background:#0d2c4a;
}
.csm-client-overview-theme .csm-live-table{
    width:100%;
    border-collapse:collapse;
    background:#0d2c4a;
}
.csm-client-overview-theme .csm-live-table thead th{
    background:#163f66;
    color:#9ed4f4;
    border-bottom:1px solid #2d5f87;
    font-weight:800;
}
.csm-client-overview-theme .csm-live-table tbody td{
    background:#0f3151;
    color:#dcecff;
    border-bottom:1px solid #214b70;
}
.csm-client-overview-theme .csm-live-table tbody tr:nth-child(even) td{
    background:#0c2b48;
}
.csm-client-overview-theme .csm-live-table tbody tr:last-child td{
    border-bottom:0;
}
.csm-client-overview-theme .csm-live-table td:first-child{
    color:#fff;
}
.csm-client-overview-theme .csm-live-table a{
    color:#8fd8ff;
}

/* Live-data controls: match the current form styling. */
.csm-client-overview-theme .csm-live-google .csm-actions{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
}
.csm-client-overview-theme .csm-google-snapshot-form{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
}
.csm-client-overview-theme .csm-google-snapshot-form select{
    min-height:40px;
    padding:8px 10px;
    border:1px solid #b8cedf;
    border-radius:8px;
    background:#f7fbfe;
    color:#173a5e;
}
.csm-client-overview-theme .csm-live-google>.csm-actions .csm-btn,
.csm-client-overview-theme .csm-google-snapshot-form .csm-btn{
    min-height:40px;
}
.csm-client-overview-theme .csm-live-google .csm-field-help{
    color:#8fb0ca;
}

/* Existing SEO Project: tighten alignment */
.csm-client-overview-theme .csm-project-line-with-actions{
    padding:13px 15px;
}
.csm-client-overview-theme .csm-project-line-main{
    color:inherit;
    text-decoration:none;
}

/* Danger Zone: still distinct, but less like a stray white admin box. */
.csm-client-overview-theme .csm-danger-zone,
.csm-client-overview-theme .csm-panel.danger,
.csm-client-overview-theme .csm-panel.csm-danger{
    background:#3b171a;
    border:1px solid #7d3439;
    color:#ffd9dc;
    border-radius:14px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.csm-client-overview-theme .csm-danger-zone h2,
.csm-client-overview-theme .csm-danger-zone h3,
.csm-client-overview-theme .csm-panel.danger h2,
.csm-client-overview-theme .csm-panel.danger h3,
.csm-client-overview-theme .csm-panel.csm-danger h2,
.csm-client-overview-theme .csm-panel.csm-danger h3{
    color:#ffb8bd;
}
.csm-client-overview-theme .csm-danger-zone p,
.csm-client-overview-theme .csm-panel.danger p,
.csm-client-overview-theme .csm-panel.csm-danger p{
    color:#f0c3c6;
}

/* Fallback for the existing danger panel if it has no semantic class. */
.csm-client-overview-theme .csm-new-project-panel + .csm-panel{
    background:#3b171a;
    border-color:#7d3439;
    color:#ffd9dc;
    border-radius:14px;
}
.csm-client-overview-theme .csm-new-project-panel + .csm-panel h2,
.csm-client-overview-theme .csm-new-project-panel + .csm-panel h3{
    color:#ffb8bd;
}
.csm-client-overview-theme .csm-new-project-panel + .csm-panel p{
    color:#f0c3c6;
}

@media(max-width:760px){
    .csm-client-overview-theme .csm-live-google .csm-actions,
    .csm-client-overview-theme .csm-google-snapshot-form{
        align-items:stretch;
        flex-direction:column;
    }
    .csm-client-overview-theme .csm-google-snapshot-form select,
    .csm-client-overview-theme .csm-google-snapshot-form .csm-btn,
    .csm-client-overview-theme .csm-live-google .csm-actions .csm-btn{
        width:100%;
    }
}


/* v1.13.39 — Action Items visual parity with the dark SEO workspace */
.csm-app-content-actions-theme{
    --csm-actions-bg:#071f38;
    --csm-actions-panel:#0d3154;
    --csm-actions-panel-2:#123d66;
    --csm-actions-border:#28577f;
    --csm-actions-text:#f3f8fc;
    --csm-actions-muted:#a9c8df;
    background:linear-gradient(180deg,#08233f 0%,#071d35 100%);
    color:var(--csm-actions-text);
    min-height:calc(100vh - 54px);
    border-radius:0 0 16px 16px;
    padding-top:22px;
}
.csm-app-content-actions-theme>.csm-page-head{
    padding:18px 22px;
    margin-bottom:18px;
    background:linear-gradient(135deg,#0d2c4e,#123b64);
    border:1px solid var(--csm-actions-border);
    border-radius:16px;
    box-shadow:0 10px 28px rgba(8,27,51,.13);
}
.csm-app-content-actions-theme>.csm-page-head h1{color:#fff!important}
.csm-app-content-actions-theme>.csm-page-head p{color:var(--csm-actions-muted)!important}
.csm-app-content-actions-theme .csm-action-filters{
    padding:12px;
    margin-bottom:18px;
    background:#0a2948;
    border:1px solid #244f74;
    border-radius:14px;
}
.csm-app-content-actions-theme .csm-action-filters a{
    background:#123b61;
    border-color:#35698f;
    color:#d9ebf8;
    box-shadow:none;
}
.csm-app-content-actions-theme .csm-action-filters a{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.csm-app-content-actions-theme .csm-action-filters a:hover,.csm-app-content-actions-theme .csm-action-filters a:focus-visible{transform:translateY(-3px);box-shadow:0 10px 22px rgba(0,0,0,.24);outline:0}
.csm-app-content-actions-theme .csm-action-filters a.active{box-shadow:0 0 0 3px rgba(85,186,241,.2),0 10px 22px rgba(0,0,0,.2)}
.csm-app-content-actions-theme .csm-action-filters a:hover,
.csm-app-content-actions-theme .csm-action-filters a.active{
    background:#2383c3;
    border-color:#54b9ef;
    color:#fff;
}
.csm-app-content-actions-theme .csm-action-filter-count{
    background:#0a2948;
    border-color:#4f87ad;
    color:#dff4ff;
    box-shadow:none;
}
.csm-app-content-actions-theme .csm-action-filters a.active .csm-action-filter-count,
.csm-app-content-actions-theme .csm-action-filters a:hover .csm-action-filter-count{
    background:#fff;
    color:#123b61;
    border-color:#fff;
}
.csm-app-content-actions-theme>.csm-section-head,
.csm-app-content-actions-theme .csm-action-section-head{
    margin:18px 0 12px;
    padding:15px 18px;
    background:linear-gradient(90deg,#10375e,#0c2c4d);
    border:1px solid #28577f;
    border-radius:14px;
}
.csm-app-content-actions-theme .csm-action-section-head h2{color:#fff!important;margin:0}
.csm-app-content-actions-theme .csm-action-section-head>div p{color:var(--csm-actions-muted)!important;margin-top:5px}
.csm-app-content-actions-theme .csm-count-pill{
    background:#174f7c;
    color:#dff4ff;
    border:1px solid #3f86b8;
}
.csm-app-content-actions-theme .csm-list{display:grid;gap:12px}
.csm-app-content-actions-theme .csm-action-row{
    background:linear-gradient(135deg,#123b63,#0e3154);
    border:1px solid #2d6089;
    border-radius:14px;
    padding:17px 19px;
    box-shadow:0 6px 18px rgba(0,0,0,.10);
}
.csm-app-content-actions-theme .csm-action-row>div:first-child{border-right:1px solid rgba(121,174,211,.22);padding-right:18px}
.csm-app-content-actions-theme .csm-action-row strong{color:#fff}
.csm-app-content-actions-theme .csm-action-row span,
.csm-app-content-actions-theme .csm-action-row small{color:#a9c8df}
.csm-app-content-actions-theme .csm-action-row p{color:#e3f0f9;margin:5px 0 7px}
.csm-app-content-actions-theme .csm-action-step-link{color:#8fd8ff!important}
.csm-app-content-actions-theme .csm-action-origin.audit{background:#174f7c;color:#dff4ff;border-color:#3f86b8}
.csm-app-content-actions-theme .csm-action-origin.standalone{background:#334b61;color:#e3edf4;border-color:#58748a}
.csm-app-content-actions-theme .csm-priority.Medium{color:#ffd66b}
.csm-app-content-actions-theme .csm-priority.High,
.csm-app-content-actions-theme .csm-priority.Critical{color:#ff9f9f}
.csm-app-content-actions-theme .csm-priority.Low{color:#8fd8ff}
.csm-app-content-actions-theme .csm-status-needs-attention{background:#6b2929;color:#ffd9d9;border:1px solid #a44d4d}
.csm-app-content-actions-theme .csm-status-in-progress{background:#174f7c;color:#dff4ff;border:1px solid #3f86b8}
.csm-app-content-actions-theme .csm-status-blocked-waiting{background:#65501b;color:#fff0b5;border:1px solid #9b7d2d}
.csm-app-content-actions-theme .csm-btn.secondary.csm-open-step-btn{
    background:#eaf4fb;
    border-color:#b9d2e4;
    color:#123b61!important;
}
.csm-app-content-actions-theme .csm-btn.secondary.csm-open-step-btn:hover{background:#fff}
.csm-app-content-actions-theme .csm-empty{
    background:#0d3154;
    border:1px solid #28577f;
    color:#c5dced;
    border-radius:14px;
}
.csm-app-content-actions-theme .csm-monitor-reminder-list{display:grid;gap:10px}
.csm-app-content-actions-theme .csm-monitor-reminder{
    background:#10375e;
    border-color:#2d6089;
    color:#fff;
}
.csm-app-content-actions-theme .csm-monitor-reminder span,
.csm-app-content-actions-theme .csm-monitor-reminder small{color:#a9c8df}
@media(max-width:650px){
    .csm-app-content-actions-theme{padding:16px}
    .csm-app-content-actions-theme>.csm-page-head{padding:16px;border-radius:13px}
    .csm-app-content-actions-theme .csm-action-filters{padding:9px}
    .csm-app-content-actions-theme .csm-action-row>div:first-child{border-right:0;border-bottom:1px solid rgba(121,174,211,.22);padding-right:0;padding-bottom:12px}
}


/* v1.13.40 — Action Items full-width workspace + semantic filter colours */
.csm-app-content-actions-theme{
    max-width:none;
    width:100%;
    margin:0;
    border-radius:0;
    padding:22px clamp(22px,3vw,44px) 36px;
}
.csm-app-content-actions-theme:before{
    content:"";
    position:fixed;
    inset:58px 0 0 250px;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(180deg,#08233f 0%,#071d35 100%);
}
.csm-app-content-actions-theme>.csm-page-head,
.csm-app-content-actions-theme>.csm-action-filters,
.csm-app-content-actions-theme>.csm-action-section-head,
.csm-app-content-actions-theme>.csm-list,
.csm-app-content-actions-theme>.csm-empty,
.csm-app-content-actions-theme>.csm-monitor-reminder-list{
    max-width:1380px;
    margin-left:auto;
    margin-right:auto;
}
/* Keep All Unresolved as the primary blue filter. */
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-all{background:#123b61;border-color:#35698f;color:#d9ebf8}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-all:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-all.active{background:#2383c3;border-color:#54b9ef;color:#fff}
/* Status filters */
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-needs{background:#5d292d;border-color:#9b4b51;color:#ffdadd}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-needs:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-needs.active{background:#8a3339;border-color:#cf666d;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-progress{background:#174f7c;border-color:#3f86b8;color:#dff4ff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-progress:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-progress.active{background:#2377ad;border-color:#62b7e8;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-blocked{background:#5c491b;border-color:#92752c;color:#fff0b5}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-blocked:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-blocked.active{background:#82651e;border-color:#c49a36;color:#fff}
/* Priority filters */
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-critical{background:#67262a;border-color:#a9474d;color:#ffd9dc}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-critical:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-critical.active{background:#9a2f36;border-color:#dc5e66;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-high{background:#6c3825;border-color:#a95e3e;color:#ffe2d4}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-high:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-high.active{background:#994a2d;border-color:#dc7951;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-medium{background:#5d4d20;border-color:#967c32;color:#ffefae}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-medium:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-medium.active{background:#806723;border-color:#c4a13d;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-low{background:#174f59;border-color:#39808c;color:#d5f6f8}
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-low:hover,
.csm-app-content-actions-theme .csm-action-filters a.csm-filter-low.active{background:#23717d;border-color:#55a9b6;color:#fff}
.csm-app-content-actions-theme .csm-action-filters a:not(.active) .csm-action-filter-count{background:rgba(4,22,39,.42);border-color:rgba(255,255,255,.28);color:inherit}
@media(max-width:700px){
    .csm-app-content-actions-theme:before{inset:58px 0 0 0}
    .csm-app-content-actions-theme{padding:18px}
}

/* v1.13.43 — Add/Edit Client workspace */
.csm-app-content-clients-theme .csm-client-form-theme{
    max-width:1380px;
    margin:0 auto;
    padding:0;
    color:#e7f2fa;
    background:none;
}
.csm-app-content-clients-theme .csm-client-form-theme>.csm-page-head{
    background:linear-gradient(135deg,#123b64,#1d5887);
    border:1px solid #2e668f;
    border-radius:15px;
    padding:22px 24px;
    margin-bottom:18px;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.csm-app-content-clients-theme .csm-client-form-theme>.csm-page-head h1{
    color:#fff!important;
}
.csm-app-content-clients-theme .csm-client-form-theme>.csm-page-head p{
    color:#b8d4e8!important;
}
.csm-app-content-clients-theme .csm-client-form-panel{
    background:linear-gradient(180deg,#0f365b,#0c2d4d)!important;
    border:1px solid #28577f!important;
    border-radius:15px!important;
    padding:22px!important;
    box-shadow:0 8px 24px rgba(0,0,0,.14)!important;
    color:#e7f2fa!important;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-form-grid{
    gap:16px 18px;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-form-row{
    margin-bottom:17px;
}
.csm-app-content-clients-theme .csm-client-form-panel label{
    color:#e9f4fb!important;
    font-size:13px;
    font-weight:700;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-field-help{
    color:#91b6cf!important;
    margin-top:6px;
    line-height:1.45;
}
.csm-app-content-clients-theme .csm-client-form-panel input[type="text"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="email"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="url"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="tel"],
.csm-app-content-clients-theme .csm-client-form-panel textarea,
.csm-app-content-clients-theme .csm-client-form-panel select{
    width:100%;
    background:#123d66!important;
    border:1px solid #32658f!important;
    color:#f4f9fc!important;
    border-radius:9px!important;
    box-shadow:none!important;
}
.csm-app-content-clients-theme .csm-client-form-panel input[type="text"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="email"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="url"],
.csm-app-content-clients-theme .csm-client-form-panel input[type="tel"],
.csm-app-content-clients-theme .csm-client-form-panel select{
    min-height:42px;
    padding:9px 11px;
}
.csm-app-content-clients-theme .csm-client-form-panel textarea{
    min-height:92px;
    padding:10px 11px;
    resize:vertical;
}
.csm-app-content-clients-theme .csm-client-form-panel input:focus,
.csm-app-content-clients-theme .csm-client-form-panel textarea:focus,
.csm-app-content-clients-theme .csm-client-form-panel select:focus{
    outline:none!important;
    border-color:#52b9e9!important;
    box-shadow:0 0 0 3px rgba(82,185,233,.16)!important;
}
.csm-app-content-clients-theme .csm-client-form-panel select option{
    background:#fff;
    color:#173a5e;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-form-actions{
    display:flex;
    gap:10px;
    align-items:center;
    margin-top:6px;
    padding-top:18px;
    border-top:1px solid #28577f;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-form-actions .csm-btn{
    min-height:42px;
}
.csm-app-content-clients-theme .csm-client-form-panel .csm-form-actions .csm-btn.secondary{
    background:#eef6fb;
    border-color:#c7dce9;
    color:#164a74!important;
}
@media(max-width:760px){
    .csm-app-content-clients-theme .csm-client-form-panel{
        padding:16px!important;
    }
    .csm-app-content-clients-theme .csm-client-form-panel .csm-form-grid{
        grid-template-columns:1fr;
    }
    .csm-app-content-clients-theme .csm-client-form-panel .csm-form-actions{
        flex-direction:column;
        align-items:stretch;
    }
    .csm-app-content-clients-theme .csm-client-form-panel .csm-form-actions .csm-btn{
        width:100%;
    }
}


/* v1.13.43 — Reports list and Report Preview */

/* Reports list: same dark Coastal workspace used across the application. */
.csm-app-content-reports-theme{
    max-width:none!important;
    margin:0!important;
    min-height:calc(100vh - 58px);
    padding:30px clamp(22px,3vw,44px) 54px;
    background:
        radial-gradient(circle at 80% 10%,rgba(44,112,164,.15),transparent 32%),
        linear-gradient(180deg,#08233f 0%,#071d35 100%);
    color:#eaf5fc;
}
.csm-app-content-reports-theme>.csm-page-head{
    max-width:1380px;
    margin:0 auto 20px;
    padding:22px 24px;
    background:linear-gradient(135deg,#123b64,#1d5887);
    border:1px solid #2e668f;
    border-radius:15px;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.csm-app-content-reports-theme>.csm-page-head h1{color:#fff!important}
.csm-app-content-reports-theme>.csm-page-head p{color:#b8d4e8!important}
.csm-app-content-reports-theme>.csm-project-grid{
    max-width:1380px;
    margin:0 auto;
    display:grid;
    gap:14px;
}
.csm-app-content-reports-theme .csm-project-card{
    background:linear-gradient(180deg,#123d66,#0f3458)!important;
    border:1px solid #2c5b83!important;
    border-radius:14px!important;
    padding:20px 22px!important;
    color:#eaf5fc!important;
    box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
.csm-app-content-reports-theme .csm-project-card h3{
    color:#fff!important;
    font-size:20px;
    margin-bottom:6px;
}
.csm-app-content-reports-theme .csm-project-card p{
    color:#a9c8df!important;
}
.csm-app-content-reports-theme .csm-project-card .csm-progress{
    background:#0a2947!important;
    border:1px solid #28577f;
    border-radius:999px;
    overflow:hidden;
}
.csm-app-content-reports-theme .csm-project-card .csm-progress span{
    background:linear-gradient(90deg,#2f8fd0,#59c1f0)!important;
}
.csm-app-content-reports-theme .csm-project-card .csm-btn{
    background:#2b8ac6;
    border-color:#56b9e8;
    color:#fff!important;
}
.csm-app-content-reports-theme .csm-project-card .csm-btn:hover{
    background:#fff;
    color:#17466e!important;
}

/* Report preview: dark application workspace around a white client-facing document. */
.csm-app-content-report-preview-theme{
    max-width:none!important;
    margin:0!important;
    min-height:calc(100vh - 58px);
    padding:22px clamp(18px,3vw,42px) 52px;
    background:
        radial-gradient(circle at 80% 8%,rgba(44,112,164,.13),transparent 30%),
        linear-gradient(180deg,#08233f 0%,#071d35 100%);
}
.csm-app-content-report-preview-theme .csm-report-toolbar{
    max-width:1100px;
    margin:0 auto 14px;
    padding:12px 14px;
    background:linear-gradient(135deg,#123b64,#164b78);
    border:1px solid #2e668f;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.csm-app-content-report-preview-theme .csm-report-toolbar .csm-btn{
    min-height:40px;
}
.csm-app-content-report-preview-theme .csm-report-toolbar .csm-btn.secondary{
    background:#eef6fb;
    border-color:#c7dce9;
    color:#164a74!important;
}
.csm-app-content-report-preview-theme .csm-report-toolbar .csm-btn:not(.secondary){
    background:#2b8ac6;
    border-color:#56b9e8;
    color:#fff!important;
}
.csm-app-content-report-preview-theme .csm-report{
    max-width:1100px;
    margin:0 auto;
    background:#fff!important;
    color:#1d2f42!important;
    border:1px solid #d6e0e8;
    box-shadow:0 18px 44px rgba(0,0,0,.24);
}
.csm-app-content-report-preview-theme .csm-report h1,
.csm-app-content-report-preview-theme .csm-report h2,
.csm-app-content-report-preview-theme .csm-report h3{
    color:#153e65;
}

/* Email modal remains readable over the dark report workspace. */
.csm-app-content-report-preview-theme .csm-send-report-dialog{
    background:#fff;
    color:#1d2f42;
}

/* Preserve a clean white client PDF/print result. */
@media print{
    .csm-app-sidebar,
    .csm-app-topbar,
    .csm-report-toolbar{
        display:none!important;
    }
    .csm-app-content-report-preview-theme{
        background:#fff!important;
        padding:0!important;
    }
    .csm-app-content-report-preview-theme .csm-report{
        max-width:none!important;
        margin:0!important;
        border:0!important;
        box-shadow:none!important;
    }
}
@media(max-width:760px){
    .csm-app-content-reports-theme{padding:18px}
    .csm-app-content-report-preview-theme{padding:14px}
    .csm-app-content-report-preview-theme .csm-report-toolbar{
        display:flex;
        gap:8px;
        flex-wrap:wrap;
    }
}

/* v1.13.48 — Dashboard dark workspace */
.csm-app-main:has(.csm-dashboard-hero){background:#082744!important;color:#eef7ff}
.csm-app-main:has(.csm-dashboard-hero) .csm-page-title h1{color:#fff}.csm-app-main:has(.csm-dashboard-hero) .csm-page-title p{color:#a9c5dc}
.csm-dashboard-hero,.csm-dashboard-section-head{background:linear-gradient(135deg,#123d68,#174f7e)!important;border-color:#2d6d9c!important;box-shadow:none!important}.csm-dashboard-eyebrow,.csm-dashboard-hero p,.csm-dashboard-section-head p{color:#a9c5dc!important}.csm-dashboard-hero h2,.csm-dashboard-section-head h2{color:#fff!important}
.csm-dashboard-priority-summary span{background:#0c3154!important;border-color:#356d97!important;color:#d8e9f6!important}.csm-dashboard-priority-summary strong{color:#fff!important}.csm-dashboard-priority-summary a:hover{background:#164a75!important}
.csm-dashboard-metric{background:#123f69!important;border-color:#2c6c99!important;box-shadow:none!important}.csm-dashboard-metric:hover{border-color:#54b9ee!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important}.csm-dashboard-metric span{color:#d3e4f1!important}.csm-dashboard-metric small{color:#a9c5dc!important}
.csm-dashboard-project-card{background:#123f69!important;border:1px solid #2c6c99!important;color:#eef7ff!important}.csm-dashboard-project-main h3,.csm-dashboard-project-card .csm-kicker{color:#fff!important}.csm-dashboard-project-card .csm-site-link{color:#66c7f2!important}.csm-dashboard-ring{background:conic-gradient(#47b8ee calc(var(--csm-p)*1%),#244e70 0)!important}.csm-dashboard-ring:before{background:#0d3152!important}.csm-dashboard-ring strong{color:#fff!important}
.csm-dashboard-project-stats span{background:#0d3152!important;border-color:#32658c!important}.csm-dashboard-project-stats strong{color:#fff!important}.csm-dashboard-project-stats small{color:#b9cede!important}.csm-dashboard-project-card .csm-progress-label{color:#d7e8f4!important}.csm-dashboard-project-card .csm-progress{background:#244e70!important}.csm-dashboard-project-card .csm-next-task{background:#0d3152!important;border-color:#32658c!important;color:#fff!important}


/* v1.13.48 — Settings dark workspace */
.csm-app-content-settings-theme{
    max-width:none!important;
    margin:0!important;
    min-height:calc(100vh - 58px);
    padding:30px clamp(22px,3vw,44px) 60px;
    background:
        radial-gradient(circle at 82% 8%,rgba(44,112,164,.16),transparent 31%),
        linear-gradient(180deg,#08233f 0%,#071d35 100%);
    color:#eaf5fc;
}
.csm-app-content-settings-theme>.csm-page-head{
    max-width:1380px;
    margin:0 auto 20px;
    padding:22px 24px;
    background:linear-gradient(135deg,#123b64,#1d5887);
    border:1px solid #2e668f;
    border-radius:15px;
    box-shadow:0 10px 28px rgba(0,0,0,.12);
}
.csm-app-content-settings-theme>.csm-page-head h1{
    color:#fff!important;
}
.csm-app-content-settings-theme>.csm-page-head p{
    color:#b8d4e8!important;
}

/* Main settings layout */
.csm-app-content-settings-theme .csm-settings-layout{
    max-width:1380px;
    margin:0 auto;
    grid-template-columns:minmax(0,2fr) minmax(340px,.9fr);
    gap:18px;
    align-items:start;
}
.csm-app-content-settings-theme .csm-settings-main{
    min-width:0;
}
.csm-app-content-settings-theme .csm-settings-google-aside{
    min-width:0;
}

/* All settings panels */
.csm-app-content-settings-theme .csm-settings-main>.csm-panel,
.csm-app-content-settings-theme .csm-settings-google-aside>.csm-panel{
    background:linear-gradient(180deg,#123d66,#0f3458)!important;
    border:1px solid #2c5b83!important;
    border-radius:14px!important;
    color:#eaf5fc!important;
    box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
.csm-app-content-settings-theme .csm-panel h2,
.csm-app-content-settings-theme .csm-panel h3{
    color:#fff!important;
}
.csm-app-content-settings-theme .csm-panel p,
.csm-app-content-settings-theme .csm-panel .csm-small,
.csm-app-content-settings-theme .csm-panel .csm-field-help{
    color:#b6cfe2!important;
}

/* Front-end app URL */
.csm-app-content-settings-theme .csm-copy-url{
    background:#0b2947;
    border:1px solid #28577f;
    border-radius:9px;
    color:#dff2ff;
}
.csm-app-content-settings-theme .csm-copy-url code{
    color:#dff2ff;
}
.csm-app-content-settings-theme .csm-copy-url button{
    background:#eef6fb;
    border:1px solid #c7dce9;
    border-radius:6px;
    color:#164a74;
}

/* Health Check */
.csm-app-content-settings-theme .csm-health-row{
    background:rgba(5,24,43,.26);
    border:1px solid rgba(110,164,203,.22);
    border-radius:10px;
    margin-bottom:8px;
    padding:11px 12px;
}
.csm-app-content-settings-theme .csm-health-row dt{
    color:#f0f7fc!important;
}
.csm-app-content-settings-theme .csm-health-row dd{
    color:#c8dceb!important;
}
.csm-app-content-settings-theme .csm-health-row.pass .csm-health-icon{
    background:#174737;
    border-color:#2f7d5e;
    color:#a9efca;
}
.csm-app-content-settings-theme .csm-health-row.pass dd strong{
    color:#79e0aa!important;
}
.csm-app-content-settings-theme .csm-health-row.fail{
    background:#492324;
    border-color:#7f4043;
}
.csm-app-content-settings-theme .csm-health-row.fail .csm-health-icon{
    background:#672c31;
    border-color:#9b4c52;
    color:#ffd3d6;
}
.csm-app-content-settings-theme .csm-health-row.fail dd strong{
    color:#ffb8bd!important;
}

/* Branding preview */
.csm-app-content-settings-theme .csm-brand-preview{
    background:#0b2947;
    border:1px solid #28577f;
    border-radius:11px;
}
.csm-app-content-settings-theme .csm-brand-preview strong{
    color:#fff;
}
.csm-app-content-settings-theme .csm-brand-preview small{
    color:#a9c8df;
}

/* Settings fields */
.csm-app-content-settings-theme .csm-panel label{
    color:#eaf5fc!important;
}
.csm-app-content-settings-theme .csm-panel input[type="text"],
.csm-app-content-settings-theme .csm-panel input[type="email"],
.csm-app-content-settings-theme .csm-panel input[type="password"],
.csm-app-content-settings-theme .csm-panel input[type="url"],
.csm-app-content-settings-theme .csm-panel textarea,
.csm-app-content-settings-theme .csm-panel select{
    width:100%;
    background:#0d2d4d!important;
    border:1px solid #32658f!important;
    color:#f4f9fc!important;
    border-radius:8px!important;
    box-shadow:none!important;
}
.csm-app-content-settings-theme .csm-panel input[type="text"],
.csm-app-content-settings-theme .csm-panel input[type="email"],
.csm-app-content-settings-theme .csm-panel input[type="password"],
.csm-app-content-settings-theme .csm-panel input[type="url"],
.csm-app-content-settings-theme .csm-panel select{
    min-height:41px;
    padding:8px 10px;
}
.csm-app-content-settings-theme .csm-panel textarea{
    min-height:90px;
    padding:9px 10px;
}
.csm-app-content-settings-theme .csm-panel input:focus,
.csm-app-content-settings-theme .csm-panel textarea:focus,
.csm-app-content-settings-theme .csm-panel select:focus{
    outline:none!important;
    border-color:#52b9e9!important;
    box-shadow:0 0 0 3px rgba(82,185,233,.16)!important;
}
.csm-app-content-settings-theme .csm-panel input[type="file"]{
    color:#dbeaf5;
}
.csm-app-content-settings-theme .csm-panel input[type="file"]::file-selector-button{
    background:#eef6fb;
    border:1px solid #c7dce9;
    color:#164a74;
    border-radius:7px;
    padding:8px 10px;
    margin-right:10px;
}
.csm-app-content-settings-theme .csm-check-row{
    color:#d9e9f4!important;
}

/* Buttons */
.csm-app-content-settings-theme .csm-panel .csm-btn{
    background:#2b8ac6;
    border-color:#56b9e8;
    color:#fff!important;
}
.csm-app-content-settings-theme .csm-panel .csm-btn.secondary{
    background:#eef6fb;
    border-color:#c7dce9;
    color:#164a74!important;
}
.csm-app-content-settings-theme .csm-panel .csm-btn:hover{
    filter:brightness(1.05);
}

/* Website Audit Service */
.csm-app-content-settings-theme .csm-website-service-settings .csm-panel-heading-row,
.csm-app-content-settings-theme .csm-google-settings .csm-panel-heading-row{
    margin:-21px -21px 18px;
    padding:17px 20px;
    background:linear-gradient(90deg,#11375f,#0e2c4e);
    border-bottom:1px solid #28547d;
    border-radius:14px 14px 0 0;
}
.csm-app-content-settings-theme .csm-google-state.connected{
    background:#174737;
    border-color:#2f7d5e;
    color:#a9efca;
}
.csm-app-content-settings-theme .csm-google-state.disconnected{
    background:#4b2b2c;
    border-color:#835054;
    color:#ffd0d3;
}
.csm-app-content-settings-theme .csm-site-audit-target,
.csm-app-content-settings-theme .csm-site-audit-notice{
    background:#0b2947;
    border:1px solid #28577f;
    border-radius:10px;
    color:#dcecff;
}
.csm-app-content-settings-theme .csm-site-audit-notice.success{
    background:#123f34;
    border-color:#2e765c;
    color:#c9f3dc;
}
.csm-app-content-settings-theme .csm-site-audit-target strong,
.csm-app-content-settings-theme .csm-site-audit-notice strong{
    color:#fff;
}

/* Google settings side panel */
.csm-app-content-settings-theme .csm-google-settings{
    position:sticky;
    top:78px;
}
.csm-app-content-settings-theme .csm-google-status-row{
    color:#a9c8df;
}
.csm-app-content-settings-theme .csm-google-help-button{
    white-space:nowrap;
}

/* Give dense groups breathing room */
.csm-app-content-settings-theme .csm-settings-main>.csm-panel + .csm-panel,
.csm-app-content-settings-theme .csm-settings-google-aside>.csm-panel + .csm-panel{
    margin-top:14px;
}
.csm-app-content-settings-theme .csm-form-row{
    margin-bottom:15px;
}
.csm-app-content-settings-theme .csm-actions{
    margin-top:12px;
}

/* Any informational boxes inside settings */
.csm-app-content-settings-theme .csm-auto-notice,
.csm-app-content-settings-theme .csm-google-note,
.csm-app-content-settings-theme .csm-settings-note{
    background:#0b2947;
    border-color:#28577f;
    color:#dcecff;
}

/* Keep help/setup modal light and readable */
.csm-app-content-settings-theme .csm-guide-dialog,
.csm-app-content-settings-theme .csm-google-guide-dialog{
    color:#1d2f42;
}
.csm-app-content-settings-theme .csm-guide-dialog h2,
.csm-app-content-settings-theme .csm-guide-dialog h3,
.csm-app-content-settings-theme .csm-google-guide-dialog h2,
.csm-app-content-settings-theme .csm-google-guide-dialog h3{
    color:#153e65!important;
}

@media(max-width:1050px){
    .csm-app-content-settings-theme .csm-settings-layout{
        grid-template-columns:1fr;
    }
    .csm-app-content-settings-theme .csm-google-settings{
        position:static;
    }
}
@media(max-width:760px){
    .csm-app-content-settings-theme{
        padding:18px;
    }
    .csm-app-content-settings-theme>.csm-page-head{
        padding:18px;
    }
}


/* v1.13.48 — finishing visual fixes */

/* Dashboard page heading: correct live selector (.csm-page-head, not .csm-page-title). */
.csm-app-main:has(.csm-dashboard-hero) .csm-page-head h1{
    color:#f4f9ff!important;
}
.csm-app-main:has(.csm-dashboard-hero) .csm-page-head p{
    color:#a9c5dc!important;
}

/* Login screen — visually belongs to the Coastal SEO Manager application. */
.csm-login-shell{
    min-height:100vh!important;
    display:grid!important;
    place-items:center!important;
    padding:28px!important;
    background:
        radial-gradient(circle at 78% 12%,rgba(44,112,164,.20),transparent 31%),
        linear-gradient(160deg,#07192e 0%,#0a2948 55%,#071d35 100%)!important;
}
.csm-login-card{
    width:min(430px,100%)!important;
    padding:34px 34px 30px!important;
    background:linear-gradient(145deg,#123d68,#0e3155)!important;
    border:1px solid #326b98!important;
    border-radius:18px!important;
    box-shadow:0 22px 56px rgba(0,0,0,.30)!important;
    color:#eaf5fc!important;
    text-align:center!important;
}
.csm-login-logo{
    display:block!important;
    max-width:110px!important;
    max-height:70px!important;
    width:auto!important;
    height:auto!important;
    margin:0 auto 18px!important;
    filter:drop-shadow(0 4px 10px rgba(0,0,0,.18));
}
.csm-login-card h1{
    color:#fff!important;
    margin:0 0 8px!important;
    font-size:27px!important;
}
.csm-login-card>p{
    color:#b9d4e8!important;
    margin:0 auto 22px!important;
    max-width:330px;
}
.csm-login-card form{
    text-align:left!important;
}
.csm-login-card label{
    color:#eaf5fc!important;
    font-weight:700!important;
}
.csm-login-card input[type=text],
.csm-login-card input[type=password]{
    width:100%!important;
    min-height:44px!important;
    padding:10px 12px!important;
    background:#0b2947!important;
    border:1px solid #3b709c!important;
    color:#fff!important;
    border-radius:9px!important;
    box-shadow:none!important;
}
.csm-login-card input[type=text]:focus,
.csm-login-card input[type=password]:focus{
    outline:none!important;
    border-color:#57c0f0!important;
    box-shadow:0 0 0 3px rgba(87,192,240,.17)!important;
}
.csm-login-card .login-remember{
    color:#c8dceb!important;
    margin:13px 0!important;
}
.csm-login-card input[type=submit]{
    display:block!important;
    min-width:112px!important;
    margin:14px auto 0!important;
    padding:11px 20px!important;
    background:#2b8ac6!important;
    border:1px solid #58bdec!important;
    border-radius:9px!important;
    color:#fff!important;
    font-weight:800!important;
    cursor:pointer!important;
}
.csm-login-card input[type=submit]:hover{
    background:#3698d6!important;
}

/* Settings — connected account information was still inheriting the old white .csm-google-empty style. */
.csm-app-content-settings-theme .csm-google-settings .csm-google-empty{
    background:#0b2947!important;
    border:1px solid #28577f!important;
    border-radius:10px!important;
    color:#cfe3f2!important;
    padding:12px 13px!important;
    margin:12px 0!important;
}
.csm-app-content-settings-theme .csm-google-settings .csm-google-empty strong{
    color:#fff!important;
}

/* Settings Google How & Where button — keep the label on one readable line. */
.csm-app-content-settings-theme .csm-google-settings .csm-google-help-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:126px!important;
    min-height:42px!important;
    padding:9px 14px!important;
    line-height:1.15!important;
    white-space:nowrap!important;
    flex:0 0 auto!important;
}
.csm-app-content-settings-theme .csm-google-settings .csm-panel-heading-row{
    gap:16px!important;
}

@media(max-width:700px){
    .csm-login-shell{padding:18px!important}
    .csm-login-card{padding:28px 22px 24px!important}
    .csm-app-content-settings-theme .csm-google-settings .csm-google-help-button{
        width:100%!important;
        min-width:0!important;
    }
}


/* v1.13.48 — Mobile Projects + Monitoring cleanup */

/* Projects list: full dark workspace on desktop and mobile. */
.csm-app-content-projects-theme{
    max-width:none!important;
    margin:0!important;
    min-height:calc(100vh - 58px);
    padding:30px clamp(22px,3vw,44px) 54px;
    background:
        radial-gradient(circle at 80% 10%,rgba(44,112,164,.14),transparent 32%),
        linear-gradient(180deg,#08233f 0%,#071d35 100%);
    color:#eaf5fc;
}
.csm-app-content-projects-theme>.csm-page-head{
    max-width:1380px;
    margin:0 auto 20px;
    padding:22px 24px;
    background:linear-gradient(135deg,#123b64,#1d5887);
    border:1px solid #2e668f;
    border-radius:15px;
}
.csm-app-content-projects-theme>.csm-page-head h1{color:#fff!important}
.csm-app-content-projects-theme>.csm-page-head p{color:#b8d4e8!important}
.csm-app-content-projects-theme>.csm-project-grid{
    max-width:1380px;
    margin:0 auto;
}
.csm-app-content-projects-theme .csm-project-card{
    background:linear-gradient(180deg,#123d66,#0f3458)!important;
    border:1px solid #2c5b83!important;
    color:#eaf5fc!important;
    border-radius:14px!important;
    box-shadow:0 8px 22px rgba(0,0,0,.12)!important;
}
.csm-app-content-projects-theme .csm-project-card h3,
.csm-app-content-projects-theme .csm-project-card strong{
    color:#fff!important;
}
.csm-app-content-projects-theme .csm-project-card p,
.csm-app-content-projects-theme .csm-project-card .csm-small{
    color:#a9c8df!important;
}
.csm-app-content-projects-theme .csm-project-card .csm-progress{
    background:#0a2947!important;
    border:1px solid #28577f;
}
.csm-app-content-projects-theme .csm-project-card .csm-progress span{
    background:linear-gradient(90deg,#2f8fd0,#59c1f0)!important;
}
.csm-app-content-projects-theme .csm-project-card .csm-btn{
    background:#2b8ac6;
    border-color:#56b9e8;
    color:#fff!important;
}
.csm-app-content-projects-theme .csm-project-card .csm-btn.secondary{
    background:#eef6fb;
    border-color:#c7dce9;
    color:#164a74!important;
}

/* Monitoring saved snapshot cards: remove white mobile cards and restore contrast. */
.csm-app-content-monitoring-theme .csm-monitoring-history-card,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card,
.csm-app-content-monitoring-theme .csm-snapshot-card,
.csm-app-content-monitoring-theme .csm-monitoring-card{
    background:linear-gradient(180deg,#123d66,#0f3458)!important;
    border:1px solid #2c5b83!important;
    color:#eaf5fc!important;
    box-shadow:0 8px 22px rgba(0,0,0,.10)!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card h3,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card h3,
.csm-app-content-monitoring-theme .csm-snapshot-card h3,
.csm-app-content-monitoring-theme .csm-monitoring-card h3,
.csm-app-content-monitoring-theme .csm-monitoring-history-card strong,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card strong,
.csm-app-content-monitoring-theme .csm-snapshot-card strong,
.csm-app-content-monitoring-theme .csm-monitoring-card strong{
    color:#fff!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card,
.csm-app-content-monitoring-theme .csm-snapshot-card,
.csm-app-content-monitoring-theme .csm-monitoring-card{
    --csm-monitor-row:#0d2f50;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card td,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card td,
.csm-app-content-monitoring-theme .csm-snapshot-card td,
.csm-app-content-monitoring-theme .csm-monitoring-card td{
    color:#dcecff!important;
    background:var(--csm-monitor-row)!important;
    border-color:#2c5b83!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card th,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card th,
.csm-app-content-monitoring-theme .csm-snapshot-card th,
.csm-app-content-monitoring-theme .csm-monitoring-card th{
    color:#9fc2dc!important;
    background:#0b2947!important;
    border-color:#2c5b83!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card .csm-btn,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card .csm-btn,
.csm-app-content-monitoring-theme .csm-snapshot-card .csm-btn,
.csm-app-content-monitoring-theme .csm-monitoring-card .csm-btn{
    background:#205f8d;
    border-color:#4ba9dd;
    color:#fff!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-history-card .csm-btn.danger,
.csm-app-content-monitoring-theme .csm-monitoring-snapshot-card .csm-btn.danger,
.csm-app-content-monitoring-theme .csm-snapshot-card .csm-btn.danger,
.csm-app-content-monitoring-theme .csm-monitoring-card .csm-btn.danger{
    background:#b5271e;
    border-color:#db4b41;
}

/* Common snapshot label/value rows seen in mobile card layout. */
.csm-app-content-monitoring-theme .csm-snapshot-row,
.csm-app-content-monitoring-theme .csm-monitor-row{
    background:#0d2f50!important;
    border-color:#2c5b83!important;
}
.csm-app-content-monitoring-theme .csm-snapshot-row .label,
.csm-app-content-monitoring-theme .csm-monitor-row .label,
.csm-app-content-monitoring-theme .csm-snapshot-row dt,
.csm-app-content-monitoring-theme .csm-monitor-row dt{
    color:#9fc2dc!important;
}
.csm-app-content-monitoring-theme .csm-snapshot-row .value,
.csm-app-content-monitoring-theme .csm-monitor-row .value,
.csm-app-content-monitoring-theme .csm-snapshot-row dd,
.csm-app-content-monitoring-theme .csm-monitor-row dd{
    color:#fff!important;
}

@media(max-width:760px){
    .csm-app-content-projects-theme{
        padding:18px;
    }
    .csm-app-content-projects-theme>.csm-page-head{
        padding:18px;
    }
    .csm-app-content-projects-theme .csm-project-card{
        padding:18px!important;
    }
    .csm-app-content-projects-theme .csm-card-actions{
        display:flex;
        gap:10px;
        flex-wrap:wrap;
    }

    /* Force any mobile monitoring snapshot card surfaces dark. */
    .csm-app-content-monitoring-theme .csm-panel table,
    .csm-app-content-monitoring-theme .csm-panel tbody,
    .csm-app-content-monitoring-theme .csm-panel tr,
    .csm-app-content-monitoring-theme .csm-panel td{
        color:#dcecff;
    }
}


/* v1.13.48 — Exact mobile Monitoring table-card overrides.
   These selectors match the live markup used by Recent Saved Snapshots
   and Full Snapshot History. */
@media(max-width:700px){

  .csm-app-content-monitoring-theme .csm-monitor-table-wrap{
    overflow:visible!important;
    width:100%!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table,
  .csm-app-content-monitoring-theme .csm-monitor-card-table tbody{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    background:transparent!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table thead{
    display:none!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table tr{
    display:block!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 14px!important;
    padding:0!important;
    overflow:hidden!important;
    border:1px solid #2c5b83!important;
    border-radius:12px!important;
    background:#10385d!important;
    box-shadow:0 6px 18px rgba(0,0,0,.13)!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td,
  .csm-app-content-monitoring-theme .csm-compare-table.csm-monitor-card-table td:not(:first-child){
    display:grid!important;
    grid-template-columns:minmax(90px,38%) minmax(0,1fr)!important;
    align-items:center!important;
    gap:10px!important;
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    padding:10px 12px!important;
    border:0!important;
    border-bottom:1px solid #28547d!important;
    background:#0d2f50!important;
    color:#eaf5fc!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td::before{
    content:attr(data-label)!important;
    color:#9fc2dc!important;
    font-size:11px!important;
    font-weight:900!important;
    letter-spacing:.04em!important;
    line-height:1.25!important;
    text-transform:uppercase!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td.csm-monitor-card-title{
    display:block!important;
    padding:14px 12px!important;
    background:#123d66!important;
    color:#fff!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td.csm-monitor-card-title::before{
    display:none!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td.csm-monitor-card-title strong{
    color:#fff!important;
    font-size:15px!important;
    line-height:1.3!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td.csm-monitor-card-title .csm-small{
    color:#a9c8df!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table td:last-child{
    border-bottom:0!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table .csm-monitor-card-action{
    display:block!important;
    padding:12px!important;
    background:#0b2947!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table .csm-monitor-card-action::before{
    display:none!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-badge{
    background:#205f8d!important;
    border-color:#4ba9dd!important;
    color:#fff!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-source.google{
    background:#174737!important;
    border-color:#2f7d5e!important;
    color:#a9efca!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-source.manual{
    background:#414c5b!important;
    border-color:#66788a!important;
    color:#eaf2f8!important;
  }

  .csm-app-content-monitoring-theme .csm-monitor-card-table .csm-monitor-card-action .csm-btn,
  .csm-app-content-monitoring-theme .csm-recent-snapshot-table .csm-monitor-card-action .csm-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:44px!important;
    box-sizing:border-box!important;
    text-align:center!important;
    background:#205f8d!important;
    border-color:#4ba9dd!important;
    color:#fff!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    width:100%!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions .csm-btn{
    width:100%!important;
  }

  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions .csm-btn-danger{
    background:#b5271e!important;
    border-color:#db4b41!important;
    color:#fff!important;
  }
}

@media(max-width:420px){
  .csm-app-content-monitoring-theme .csm-monitor-card-table td,
  .csm-app-content-monitoring-theme .csm-compare-table.csm-monitor-card-table td:not(:first-child){
    grid-template-columns:82px minmax(0,1fr)!important;
    gap:8px!important;
    padding:9px 10px!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions{
    grid-template-columns:1fr!important;
  }
}

/* v1.13.49 — Monitoring metric info buttons: stronger contrast on desktop + mobile */
.csm-app-content-monitoring-theme .csm-metric-help{
  background:#1f6fa8!important;
  color:#ffffff!important;
  border:1px solid #69c7f2!important;
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 2px 5px rgba(0,0,0,.18)!important;
  opacity:1!important;
}
.csm-app-content-monitoring-theme .csm-metric-help:hover,
.csm-app-content-monitoring-theme .csm-metric-help:focus,
.csm-app-content-monitoring-theme .csm-metric-help[aria-expanded="true"]{
  background:#2d91cb!important;
  color:#ffffff!important;
  border-color:#a8e3ff!important;
  outline:none!important;
}

/* v1.13.50 — Edit Project Details: retain the approved dark Project Overview styling. */
.csm-project-overview-theme .csm-project-settings .csm-panel{
  background:linear-gradient(180deg,#11375f,#0e2d50)!important;
  border:1px solid #2d5f87!important;
  color:#dcecff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.13)!important;
}
.csm-project-overview-theme .csm-project-settings .csm-panel h3{
  color:#ffffff!important;
}
.csm-project-overview-theme .csm-project-settings .csm-form-row label{
  color:#b9d5e9!important;
}
.csm-project-overview-theme .csm-project-settings .csm-form-row input[type="text"],
.csm-project-overview-theme .csm-project-settings .csm-form-row input[type="date"],
.csm-project-overview-theme .csm-project-settings .csm-form-row select{
  background:#123f68!important;
  border-color:#4a83aa!important;
  color:#ffffff!important;
  color-scheme:dark;
}
.csm-project-overview-theme .csm-project-settings .csm-form-row input:focus,
.csm-project-overview-theme .csm-project-settings .csm-form-row select:focus{
  outline:2px solid rgba(105,199,242,.28)!important;
  border-color:#69c7f2!important;
}

@media(max-width:700px){
  .csm-project-overview-theme .csm-project-settings .csm-panel,
  .csm-project-overview-theme .csm-project-settings .csm-danger-zone{
    padding:18px!important;
  }
  .csm-project-overview-theme .csm-project-settings .csm-panel form>.csm-btn{
    width:100%;
    min-height:44px;
  }
}

/* v1.13.60 — definitive Monitoring section width and colour treatment.
   These rules intentionally live at the end of the stylesheet. */
.csm-app-content-monitoring-theme>.csm-monitoring-data-group{
  display:block!important;
  width:100%!important;
  max-width:1380px!important;
  min-width:0!important;
  margin:28px auto!important;
  padding:22px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border-width:3px!important;
  border-style:solid!important;
  border-radius:20px!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-group-body,
.csm-app-content-monitoring-theme .csm-monitoring-group-body>*{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-group-body .csm-table-wrap{
  max-width:100%!important;
  overflow-x:auto!important;
}
.csm-app-content-monitoring-theme>.csm-monitoring-seo-group{
  background:linear-gradient(145deg,#0b3b4c 0%,#082b3c 100%)!important;
  border-color:#35a9a4!important;
  box-shadow:0 14px 36px rgba(0,0,0,.24),inset 0 0 0 1px rgba(82,220,210,.08)!important;
}
.csm-app-content-monitoring-theme>.csm-monitoring-speed-group{
  background:linear-gradient(145deg,#202f67 0%,#14244f 100%)!important;
  border-color:#7189e2!important;
  box-shadow:0 14px 36px rgba(0,0,0,.24),inset 0 0 0 1px rgba(153,174,255,.08)!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-group-head{
  margin:-22px -22px 22px!important;
  padding:22px 24px 19px!important;
  border-radius:17px 17px 0 0!important;
  border-bottom:2px solid!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-seo-group>.csm-monitoring-group-head{
  background:linear-gradient(135deg,#126373,#0c4a5b)!important;
  border-color:#35a9a4!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-speed-group>.csm-monitoring-group-head{
  background:linear-gradient(135deg,#344d99,#253b7d)!important;
  border-color:#7189e2!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-group-head h2{
  margin:0!important;
  color:#fff!important;
  font-size:26px!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-group-head p{
  margin:6px 0 0!important;
  color:#e1f3ff!important;
}
.csm-app-content-monitoring-theme .csm-monitoring-seo-group .csm-monitoring-group-head>span{color:#8ff1e8!important}
.csm-app-content-monitoring-theme .csm-monitoring-speed-group .csm-monitoring-group-head>span{color:#c4d0ff!important}
@media(max-width:700px){
  .csm-app-content-monitoring-theme>.csm-monitoring-data-group{
    margin:20px auto!important;
    padding:12px!important;
    border-width:2px!important;
    border-radius:15px!important;
  }
  .csm-app-content-monitoring-theme .csm-monitoring-group-head{
    margin:-12px -12px 14px!important;
    padding:17px 16px 15px!important;
    border-radius:13px 13px 0 0!important;
  }
  .csm-app-content-monitoring-theme .csm-monitoring-group-head h2{font-size:22px!important}
}

/* v1.13.64 — complete the PageSpeed workflow on Monitoring. */
.csm-app-content-monitoring-theme .csm-pagespeed-capture{
  margin-bottom:22px;
  border:1px solid #7189e2!important;
  background:linear-gradient(145deg,#172c5a,#112348)!important;
}
.csm-pagespeed-run-form{display:grid;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) auto;gap:14px;align-items:end}
.csm-pagespeed-run-form label,.csm-pagespeed-manual-grid label{display:grid;gap:6px;color:#dce6ff;font-size:12px;font-weight:800}
.csm-pagespeed-run-form select,.csm-pagespeed-run-form input,.csm-pagespeed-manual-grid select,.csm-pagespeed-manual-grid input{
  width:100%;min-height:44px;padding:9px 11px;border:1px solid #5d74bd;border-radius:9px;background:#102347;color:#fff;box-sizing:border-box
}
.csm-pagespeed-run-form .csm-long-running-status{grid-column:1/-1}
.csm-pagespeed-manual-fallback{margin-top:16px;border:1px solid #536cb7;border-radius:12px;background:#102347;overflow:hidden}
.csm-pagespeed-manual-fallback>summary{cursor:pointer;padding:14px 16px;color:#dce6ff;font-weight:800;list-style-position:inside}
.csm-pagespeed-manual-fallback[open]>summary{border-bottom:1px solid #536cb7;background:#183160}
.csm-pagespeed-manual-inner{padding:16px}
.csm-pagespeed-manual-inner>p{margin:0 0 14px;color:#bdcbea;line-height:1.5}
.csm-pagespeed-manual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.csm-pagespeed-manual-grid label:nth-child(-n+2){grid-column:span 2}
@media(max-width:850px){
  .csm-pagespeed-run-form{grid-template-columns:1fr 1fr}.csm-pagespeed-run-form .csm-btn{grid-column:1/-1;width:100%;justify-content:center}
  .csm-pagespeed-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .csm-pagespeed-manual-grid label:nth-child(-n+2){grid-column:span 1}
}
@media(max-width:560px){
  .csm-pagespeed-run-form,.csm-pagespeed-manual-grid{grid-template-columns:1fr}
  .csm-pagespeed-run-form .csm-btn{grid-column:auto}
}

/* v1.13.66 — simplified Overall SEO snapshot workflow. */
.csm-manual-snapshot-fallback{margin:16px 0;border:1px solid #3c7890;border-radius:13px;background:#0c3447;overflow:hidden}
.csm-manual-snapshot-fallback>summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:14px 16px;color:#dff8ff;list-style-position:inside}
.csm-manual-snapshot-fallback>summary strong{color:#fff}
.csm-manual-snapshot-fallback>summary span{color:#a9d8e6;font-size:12px}
.csm-manual-snapshot-fallback[open]>summary{border-bottom:1px solid #3c7890;background:#10475b}
.csm-manual-snapshot-fallback-body{padding:14px}
.csm-manual-snapshot-fallback-body .csm-manual-snapshot-panel{margin:0!important}
.csm-overall-comparison-section{margin:20px 0;padding:16px;border:1px solid #318d91;border-radius:14px;background:rgba(5,37,49,.42)}
.csm-overall-comparison-section>.csm-panel,.csm-overall-comparison-section>.csm-monitor-compare{margin-bottom:14px}
.csm-overall-comparison-section>:last-child{margin-bottom:0}
@media(max-width:700px){
  .csm-manual-snapshot-fallback>summary{align-items:flex-start;flex-direction:column;gap:2px}
  .csm-manual-snapshot-fallback-body,.csm-overall-comparison-section{padding:10px}
}

/* v1.13.67 — focused task-field help replaces the all-in-one How & Where modal. */
.csm-context-heading{display:flex!important;align-items:center;gap:8px;flex-wrap:wrap}
.csm-context-label{display:flex!important;align-items:center;justify-content:space-between;gap:10px}
.csm-context-check{display:flex;align-items:center;gap:10px}
.csm-context-help{position:relative;display:inline-flex;align-items:center;flex:0 0 auto;vertical-align:middle}
.csm-context-help-button{appearance:none;border:1px solid #62b9ea;background:#2388c8;color:#fff;width:25px;height:25px;border-radius:50%;display:inline-grid;place-items:center;padding:0;font:900 15px/1 inherit;cursor:pointer;box-shadow:0 0 0 3px rgba(35,136,200,.15)}
.csm-context-help-button:hover,.csm-context-help-button:focus-visible,.csm-context-help-button[aria-expanded="true"]{background:#46b9ed;border-color:#8edcff;color:#071d31;outline:none;box-shadow:0 0 0 4px rgba(70,185,237,.22)}
.csm-context-help-popover{position:absolute;z-index:250;left:0;top:calc(100% + 10px);width:min(360px,calc(100vw - 46px));padding:15px 16px;border:1px solid #3d789e;border-radius:11px;background:#102f4a;color:#d9edf9;box-shadow:0 16px 38px rgba(0,0,0,.32);font-size:13px;font-weight:500;line-height:1.55;text-align:left;white-space:normal;text-transform:none;letter-spacing:normal}
.csm-context-help-popover[hidden]{display:none!important}
.csm-context-help-popover>strong{display:block;margin:0 0 7px;color:#fff;font-size:14px}
.csm-context-help-popover>span:not(.csm-context-help-links){display:block;color:#c6e2f2}
.csm-context-help-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.csm-context-help-links a{display:inline-flex;align-items:center;min-height:34px;padding:7px 10px;border:1px solid #58a9d5;border-radius:7px;background:#174c70;color:#fff!important;font-size:12px;font-weight:800;text-decoration:none!important}
.csm-context-help-links a:hover,.csm-context-help-links a:focus{background:#2388c8;border-color:#76cef6}
.csm-task-sidebar .csm-context-help-popover{left:auto;right:0}
.csm-task-sidebar{position:relative;z-index:20}
.csm-task-sidebar .csm-evidence-panel{position:relative;z-index:21;overflow:visible!important}
.csm-task-sidebar .csm-evidence-panel .csm-evidence-heading{border-radius:inherit}
.csm-task-sidebar .csm-evidence-panel .csm-context-help{z-index:22}
.csm-task-sidebar .csm-evidence-panel .csm-context-help-popover{z-index:9999}
.csm-context-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}
.csm-settings-google-aside{position:relative;z-index:20;overflow:visible!important}
.csm-settings-google-aside .csm-google-settings{overflow:visible!important}
.csm-settings-google-aside .csm-context-help{z-index:22}
.csm-settings-google-aside .csm-context-help-popover{left:auto;right:0;z-index:9999}
.csm-google-onboarding-warning{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 0 18px;padding:14px;border:1px solid #bd8c35;border-radius:11px;background:#3b2d12;color:#ffe9b7}
.csm-google-onboarding-warning strong{display:block;color:#fff3cf}
.csm-google-onboarding-warning p{margin:4px 0 0;font-size:12px;line-height:1.45;color:#e9cf96}
.csm-google-onboarding-modal{position:fixed;inset:0;z-index:999999;display:none;padding:24px}
.csm-google-onboarding-modal.is-open{display:block}
.csm-google-onboarding-backdrop{position:absolute;inset:0;background:rgba(2,16,30,.78);backdrop-filter:blur(3px)}
.csm-google-onboarding-dialog{position:relative;width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;margin:0 auto;padding:28px 30px;border:1px solid #3978a2;border-radius:17px;background:linear-gradient(160deg,#123d62,#0a2945);box-shadow:0 28px 80px rgba(0,0,0,.48);color:#d9edf9}
.csm-google-onboarding-dialog>h2{margin:5px 46px 17px 0;color:#fff;font-size:27px;line-height:1.2}
.csm-google-onboarding-close{position:absolute;right:17px;top:15px;width:36px;height:36px;border:1px solid #4d82a5;border-radius:50%;background:#173f5f;color:#fff;font-size:25px;cursor:pointer}
.csm-google-onboarding-notice,.csm-google-onboarding-finish{margin:0 0 16px;padding:13px 15px;border:1px solid #39779d;border-radius:10px;background:#0d3150}
.csm-google-onboarding-notice strong,.csm-google-onboarding-finish strong{color:#8fdcff}
.csm-google-onboarding-notice p,.csm-google-onboarding-finish p{margin:4px 0 0;color:#c2ddeb;line-height:1.5}
.csm-google-onboarding-step{display:grid;grid-template-columns:34px minmax(0,1fr);gap:13px;padding:15px 0;border-top:1px solid #285575}
.csm-google-onboarding-step>b{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#2388c8;color:#fff}
.csm-google-onboarding-step.is-ready>b{background:#2aa86b}
.csm-google-onboarding-step h3{margin:0 0 4px;color:#fff;font-size:16px}
.csm-google-onboarding-step p{margin:0 0 8px;color:#bdd8e8;line-height:1.5;font-size:13px}
.csm-google-onboarding-step a{color:#83d7ff!important;font-weight:800;text-decoration:none}
.csm-google-onboarding-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.csm-client-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.csm-first-project-empty strong{display:block;margin-bottom:5px;color:inherit;font-size:17px}
.csm-first-project-empty p{margin:0 0 15px}
#csm-new-project{scroll-margin-top:82px}
.csm-app-topbar{justify-content:space-between!important;gap:16px}
.csm-topbar-client{display:flex;align-items:center;gap:9px;min-width:0}
.csm-active-client-form{display:flex;align-items:center;gap:8px;margin:0}
.csm-active-client-form label{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#b9d9ec;white-space:nowrap}
.csm-active-client-form select{width:min(285px,34vw);min-height:40px;padding:7px 34px 7px 12px;border:2px solid #63b9e5;border-radius:8px;background:#f7fbfe;color:#123b64;font-weight:900;box-shadow:0 0 0 3px rgba(70,185,237,.10)}
.csm-active-client-form select:hover,.csm-active-client-form select:focus{border-color:#91ddff;outline:none;box-shadow:0 0 0 4px rgba(70,185,237,.20)}
.csm-topbar-add-client{display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:7px 13px;border:1px solid #4fb6e8;border-radius:8px;background:#2388c8;color:#fff!important;font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.16)}
.csm-topbar-add-client:hover,.csm-topbar-add-client:focus{background:#45afe4;border-color:#82d7ff;color:#061d30!important}
.csm-topbar-add-client>span{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:rgba(255,255,255,.18);font-size:17px;line-height:1}
.csm-topbar-user{display:flex;align-items:baseline;gap:7px;white-space:nowrap;color:#eef8ff}
.csm-topbar-user small{color:#9fc5dc;font-size:11px}
.csm-topbar-user strong{color:#fff;font-size:13px}

/* v1.13.78 — field-level guidance on project and client-mapping forms. */
.csm-client-overview-theme .csm-new-project-panel,
.csm-client-overview-theme .csm-google-connections,
.csm-project-overview-theme .csm-project-settings .csm-panel{overflow:visible!important}
.csm-client-overview-theme .csm-new-project-panel,
.csm-client-overview-theme .csm-google-connections,
.csm-project-overview-theme .csm-project-settings{position:relative;z-index:20}
.csm-client-overview-theme .csm-new-project-panel .csm-context-help,
.csm-client-overview-theme .csm-google-connections .csm-context-help,
.csm-project-overview-theme .csm-project-settings .csm-context-help{z-index:22}
.csm-client-overview-theme .csm-new-project-panel .csm-context-help-popover,
.csm-client-overview-theme .csm-google-connections .csm-context-help-popover,
.csm-project-overview-theme .csm-project-settings .csm-context-help-popover{z-index:9999}

/* v1.13.79 — client-specific Google ownership, access and mapping guide. */
.csm-client-google-setup{margin:0 0 18px;border:1px solid #39779d;border-radius:13px;background:#0b2c49;color:#d8eaf5;overflow:hidden}
.csm-client-google-setup>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 17px;background:linear-gradient(90deg,#123f65,#0d3454);cursor:pointer;list-style:none}
.csm-client-google-setup>summary::-webkit-details-marker{display:none}
.csm-client-google-setup>summary span{display:flex;flex-direction:column;gap:3px;min-width:0}
.csm-client-google-setup>summary b{color:#fff;font-size:15px}
.csm-client-google-setup>summary small{color:#a9c9dc;font-size:12px}
.csm-client-google-setup>summary>strong{flex:0 0 auto;padding:6px 9px;border-radius:999px;font-size:11px;white-space:nowrap}
.csm-client-google-setup>summary>strong.ready{background:rgba(37,177,99,.2);border:1px solid #43bd78;color:#c4f4d7}
.csm-client-google-setup>summary>strong.pending{background:rgba(229,165,48,.16);border:1px solid #b9862d;color:#ffe3a8}
.csm-client-google-setup-body{padding:17px}
.csm-google-ownership-note{padding:13px 14px;border:1px solid #3b7399;border-left:4px solid #54bce9;border-radius:9px;background:#103553}
.csm-google-ownership-note strong{color:#fff}
.csm-google-ownership-note p{margin:4px 0 0!important;color:#c4deed!important;font-size:13px!important;line-height:1.5!important}
.csm-client-google-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:14px 0}
.csm-client-google-progress>span{display:grid;grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;padding:10px;border:1px solid #376785;border-radius:9px;background:#103754}
.csm-client-google-progress i{grid-row:1/3;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#205777;color:#fff;font-style:normal;font-weight:900}
.csm-client-google-progress b{color:#fff;font-size:12px;line-height:1.2}
.csm-client-google-progress small{color:#a9c8da;font-size:10px;line-height:1.25}
.csm-client-google-progress>span.done{border-color:#31805b;background:#103f38}.csm-client-google-progress>span.done i{background:#269963}
.csm-client-google-progress>span.todo{border-color:#987128;background:#3a301d}.csm-client-google-progress>span.todo i{background:#a87825}
.csm-client-google-progress>span.optional i{background:#50687b}
.csm-client-google-steps{display:grid;gap:10px}
.csm-client-google-steps>section{display:grid;grid-template-columns:34px minmax(0,1fr);gap:12px;padding:14px;border:1px solid #315f7e;border-radius:10px;background:#0e314d}
.csm-client-google-steps>section>span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#2388c8;color:#fff;font-weight:900}
.csm-client-google-steps h3{margin:0 0 5px;color:#fff;font-size:15px}.csm-client-google-steps h3 small{color:#a9c8da;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.csm-client-google-steps p,.csm-client-google-steps li{color:#bdd7e6;font-size:12px;line-height:1.55}
.csm-client-google-steps p{margin:0 0 7px!important}.csm-client-google-steps ol{margin:4px 0 8px;padding-left:20px}
.csm-client-google-steps a{color:#83d7ff!important;font-size:12px;font-weight:900;text-decoration:none!important}
.csm-client-google-setup-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}
@media(max-width:850px){.csm-client-google-progress{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.csm-client-google-setup>summary{align-items:flex-start;flex-direction:column}.csm-client-google-setup>summary>strong{white-space:normal}.csm-client-google-progress{grid-template-columns:1fr}.csm-client-google-setup-actions .csm-btn{width:100%}}

/* v1.13.80 — unmistakable active state while a connected snapshot is being built. */
.csm-auto-snapshot-form .csm-snapshot-refresh-button.is-loading,
.csm-auto-snapshot-form .csm-snapshot-refresh-button.is-loading:disabled{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-width:285px;
  background:#d52222!important;
  border:2px solid #ff8d8d!important;
  color:#fff!important;
  opacity:1!important;
  cursor:wait!important;
  box-shadow:0 0 0 4px rgba(238,50,50,.22),0 0 24px rgba(255,55,55,.55)!important;
  animation:csm-snapshot-alert-pulse 1.15s ease-in-out infinite;
}
.csm-auto-snapshot-form .csm-snapshot-refresh-button.is-loading:before{
  content:"";
  flex:0 0 18px;
  width:18px;
  height:18px;
  border:3px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  border-radius:50%;
  animation:csm-working-spin .8s linear infinite;
}
@keyframes csm-snapshot-alert-pulse{
  0%,100%{background:#c91f1f;box-shadow:0 0 0 4px rgba(238,50,50,.18),0 0 15px rgba(255,55,55,.38)}
  50%{background:#f03a3a;box-shadow:0 0 0 7px rgba(255,83,83,.28),0 0 31px rgba(255,74,74,.72)}
}
@media(prefers-reduced-motion:reduce){
  .csm-auto-snapshot-form .csm-snapshot-refresh-button.is-loading{animation:none}
}
@media(max-width:700px){
  .csm-auto-snapshot-form .csm-snapshot-refresh-button.is-loading{min-width:0;width:100%;white-space:normal;text-align:center}
}

/* v1.13.81 — print-safe Monitoring graphs in reports. */
.csm-report-toolbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.csm-report-chart-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:7px 10px;border:1px solid #3c6d91;border-radius:9px;background:#0d3150;color:#d8ebf7;font-size:12px}
.csm-report-chart-controls>span{color:#8fc8e8;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.csm-report-chart-controls label{display:inline-flex;align-items:center;gap:5px;color:#fff;font-weight:800;cursor:pointer}
.csm-report-chart-controls input,.csm-send-report-chart-options input{accent-color:#2388c8}
.csm-send-report-chart-options{display:grid;gap:8px;margin:4px 0 15px;padding:13px 14px;border:1px solid #cbd9e4;border-radius:9px;background:#f6f9fc}
.csm-send-report-chart-options legend{padding:0 5px;color:#143b66;font-weight:900}
.csm-send-report-chart-options label{display:flex;align-items:center;gap:7px;color:#29465f;font-weight:700}
.csm-send-report-chart-options small{color:#65798a}
.csm-report-chart-section{margin:30px 0;break-inside:auto}
.csm-report-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.csm-report-chart-card{min-width:0;padding:15px;border:1px solid #d7e2ea;border-radius:11px;background:#fff;break-inside:avoid;page-break-inside:avoid}
.csm-report-chart-card h3{margin:0 0 8px;color:#143b66;font-size:16px}
.csm-report-trend-svg{overflow:visible}
.csm-report-chart-note{margin:6px 0 0;color:#65798a;font-size:11px;line-height:1.4;text-align:center}
@media(max-width:700px){.csm-report-chart-grid{grid-template-columns:1fr}.csm-report-toolbar-left{align-items:flex-start;flex-direction:column}.csm-report-chart-controls{width:100%}}
@media print{
  .csm-report-chart-section{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .csm-report-chart-card{break-inside:avoid;page-break-inside:avoid}
  .csm-report-chart-grid{gap:8mm}
}
.csm-client-selector-panel{padding:4px 0 20px}
.csm-client-selector-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.csm-client-selector-card,.csm-client-selector-add,.csm-client-selector-empty{border:1px solid #2e668f;border-radius:15px;background:linear-gradient(160deg,#123d62,#0c2e4e);box-shadow:0 10px 28px rgba(0,0,0,.16);color:#e7f2fa}
.csm-client-selector-card{display:block;padding:22px;text-align:left}
.csm-client-selector-card>span{font-size:10px;font-weight:900;letter-spacing:.09em;color:#78caf4}
.csm-client-selector-card h2{margin:6px 0 18px;color:#fff;font-size:22px}
.csm-client-selector-add{display:grid;place-items:center;align-content:center;gap:8px;min-height:175px;padding:22px;text-decoration:none!important}
.csm-client-selector-add strong{width:46px;height:46px;display:grid;place-items:center;border-radius:50%;background:#2388c8;color:#fff;font-size:28px}
.csm-client-selector-add span{color:#fff;font-weight:900}
.csm-client-selector-empty{padding:34px;text-align:center}
.csm-client-selector-empty>span{width:54px;height:54px;display:grid;place-items:center;margin:0 auto 12px;border-radius:50%;background:#2388c8;color:#fff;font-size:25px;font-weight:900}
.csm-client-selector-empty h2{margin:0 0 8px;color:#fff}
.csm-client-selector-empty p{max-width:560px;margin:0 auto 20px;color:#bdd8e8}
.csm-app-nav-item.csm-nav-disabled{cursor:not-allowed;opacity:.34;filter:grayscale(.35);background:transparent!important;color:#a8bac8!important}
.csm-app-nav-item.csm-nav-disabled:hover{background:transparent!important;color:#a8bac8!important}
.csm-app-main:has(.csm-app-content-client-selector-theme){background:radial-gradient(circle at 82% 12%,rgba(40,119,170,.22),transparent 31%),linear-gradient(145deg,#0b2d4b,#071f36)!important}
.csm-app-content-client-selector-theme{max-width:none!important;min-height:calc(100vh - 58px);margin:0!important;padding:30px clamp(26px,5vw,76px)!important;background:radial-gradient(circle at 82% 12%,rgba(40,119,170,.22),transparent 31%),linear-gradient(145deg,#0b2d4b,#071f36)!important;color:#dcecf7}
.csm-app-content-client-selector-theme .csm-page-head h1{color:#fff!important}
.csm-app-content-client-selector-theme .csm-page-head p{color:#a9c7da!important}
.csm-app-content-client-selector-theme .csm-client-selector-card,.csm-app-content-client-selector-theme .csm-client-selector-add,.csm-app-content-client-selector-theme .csm-client-selector-empty{background:linear-gradient(155deg,#164c76,#0d3457)!important;border-color:#3778a5!important}
.csm-app-content-client-selector-theme .csm-page-head,.csm-app-content-client-selector-theme .csm-client-selector-panel{width:100%;max-width:1280px;margin-left:auto!important;margin-right:auto!important}
.csm-dashboard-project-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.csm-app-main:has(.csm-dashboard-hero) .csm-dashboard-empty-projects{background:linear-gradient(145deg,#123f69,#0d3457)!important;border:1px dashed #3d7da8!important;color:#c7deed!important;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.csm-dashboard-empty-projects strong{display:block;margin-bottom:5px;color:#fff;font-size:18px}
.csm-dashboard-empty-projects p{margin:0 0 16px;color:#b7d1e2}
@media(max-width:650px){.csm-google-onboarding-warning{align-items:flex-start;flex-direction:column}.csm-google-onboarding-warning .csm-btn{width:100%}.csm-google-onboarding-modal{padding:12px}.csm-google-onboarding-dialog{max-height:calc(100vh - 24px);padding:22px 18px}.csm-google-onboarding-dialog>h2{font-size:23px}.csm-google-onboarding-actions .csm-btn{flex:1 1 130px}}
@media(max-width:650px){.csm-dashboard-project-actions{width:100%;justify-content:stretch}.csm-dashboard-project-actions .csm-btn{flex:1 1 145px}}
@media(max-width:800px){.csm-app-topbar{height:auto;min-height:58px;align-items:flex-start;flex-wrap:wrap;padding-top:10px!important;padding-bottom:10px!important}.csm-topbar-client{order:2;width:100%}.csm-active-client-form{flex:1}.csm-active-client-form label{display:none}.csm-active-client-form select{width:100%}.csm-topbar-user{margin-left:auto}.csm-client-selector-grid{grid-template-columns:1fr}}

/* v1.13.102 — first-install agency setup and protected Google credentials. */
.csm-setup-shell{max-width:980px;margin:0 auto;color:#dcecf7}
.csm-setup-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 24px}
.csm-setup-progress-step{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid #315f80;border-radius:12px;background:#0c2e4d;color:#8fafc4;font-weight:800}
.csm-setup-progress-step b{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:50%;background:#1b496b;color:#bdd8e8}
.csm-setup-progress-step.is-current{border-color:#3ea7df;background:#123f68;color:#fff;box-shadow:0 0 0 3px rgba(35,136,200,.16)}
.csm-setup-progress-step.is-current b{background:#2388c8;color:#fff}
.csm-setup-progress-step.is-complete{border-color:#2b9162;color:#b9efd2}.csm-setup-progress-step.is-complete b{background:#2aa86b;color:#fff}
.csm-setup-card{max-width:820px;margin:0 auto!important;padding:28px!important;background:linear-gradient(155deg,#123f68,#0b2e4e)!important;border-color:#3978a2!important;color:#d7eaf6!important}
.csm-setup-card h2{margin:5px 0 9px;color:#fff!important}.csm-setup-card>p{color:#bdd5e5!important}
.csm-setup-benefits{margin:18px 0;padding:16px 18px;border:1px solid #39779d;border-radius:11px;background:#0c3151}.csm-setup-benefits strong{color:#8fdcff}.csm-setup-benefits li,.csm-setup-benefits p{color:#c9deeb}
.csm-setup-skip{margin-top:14px}.csm-setup-finish{text-align:center}.csm-setup-finish .csm-btn{margin-top:12px}
.csm-google-protected-summary{display:grid;gap:9px;margin:16px 0}.csm-google-protected-summary>div{display:flex;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #315f80;border-radius:9px;background:#0b2c49}.csm-google-protected-summary span{color:#91b5ca;font-size:12px}.csm-google-protected-summary strong{color:#fff;font-family:monospace;text-align:right;overflow-wrap:anywhere}
.csm-google-protection-note{margin:12px 0 15px;padding:13px 14px;border-left:4px solid #2aa86b;border-radius:8px;background:#0c382d}.csm-google-protection-note strong{color:#baf2d1}.csm-google-protection-note p{margin:4px 0 0;color:#b8d7c8;font-size:12px;line-height:1.5}.csm-google-edit-cancel{margin:10px 0 0 8px}
@media(max-width:650px){.csm-setup-progress{grid-template-columns:1fr}.csm-setup-progress-step{padding:9px 11px}.csm-setup-card{padding:20px!important}.csm-google-protected-summary>div{align-items:flex-start;flex-direction:column;gap:4px}.csm-google-protected-summary strong{text-align:left}.csm-google-edit-cancel{margin-left:0}}

/* v1.13.104 — make partial connected snapshots explicit in history. */
.csm-snapshot-source.partial{background:#fff0c8!important;color:#80520a!important;border-color:#e1ae4e!important}
.csm-snapshot-captured{min-width:150px;max-width:240px;color:#bed8e8!important;font-size:11px;line-height:1.4}
.csm-snapshot-partial-row{box-shadow:inset 4px 0 0 #d99a2b}

/* v1.13.105 — expired Google authorization recovery. */
.csm-google-auth-expired-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;padding:15px 17px;border:1px solid #e3a43a;border-radius:12px;background:#5b3508;color:#ffe6af;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.csm-google-auth-expired-banner strong,.csm-google-auth-expired-banner span{display:block}.csm-google-auth-expired-banner strong{color:#fff4d8;font-size:16px}.csm-google-auth-expired-banner span{margin-top:4px;font-size:12px;line-height:1.5}
.csm-google-auth-expired{margin:14px 0 18px;padding:16px;border:1px solid #e2a038;border-radius:11px;background:#553207;color:#f8ddb0}.csm-google-auth-expired strong{color:#fff1cf}.csm-google-auth-expired p{margin:6px 0;color:#efd4a6;font-size:12px;line-height:1.55}
.csm-google-testing-warning{margin:16px 0;padding:14px 16px;border:1px solid #d89a32;border-radius:10px;background:#4b300d}.csm-google-testing-warning strong{color:#ffe6ae}.csm-google-testing-warning p{margin:5px 0 0;color:#e8cf9e;line-height:1.5}
@media(max-width:650px){.csm-google-auth-expired-banner{align-items:flex-start;flex-direction:column}.csm-google-auth-expired-banner .csm-btn{width:100%}}

/* v1.13.106 — one-time recovery warning for actionable Google authorization failures. */
.csm-google-auth-warning-modal{position:fixed;inset:0;z-index:1000000;display:none;padding:24px}.csm-google-auth-warning-modal.is-open{display:block}
.csm-google-auth-warning-backdrop{position:absolute;inset:0;background:rgba(2,15,27,.82);backdrop-filter:blur(3px)}
.csm-google-auth-warning-dialog{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr);gap:20px;width:min(780px,calc(100% - 32px));max-height:calc(100vh - 48px);overflow:auto;margin:24px auto;padding:28px 30px;border:1px solid #d99a32;border-radius:16px;background:linear-gradient(155deg,#123f68,#092b49);color:#d8eaf5;box-shadow:0 28px 80px rgba(0,0,0,.48)}
.csm-google-auth-warning-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#d77b0c;color:#fff;font-size:30px;font-weight:900;box-shadow:0 0 0 7px rgba(215,123,12,.16)}
.csm-google-auth-warning-dialog .csm-kicker{color:#ffca72}.csm-google-auth-warning-dialog h2{margin:4px 42px 10px 0;color:#fff;font-size:27px}.csm-google-auth-warning-dialog p{color:#c4dbe9;line-height:1.6}
.csm-google-auth-warning-close{position:absolute;right:16px;top:15px;width:36px;height:36px;border:1px solid #416c8c;border-radius:50%;background:#0a2d4b;color:#dcecf7;font-size:25px;cursor:pointer}
.csm-google-auth-warning-steps{margin:18px 0;padding:16px 18px;border:1px solid #39779d;border-radius:11px;background:#0a2b48}.csm-google-auth-warning-steps>strong{color:#fff}.csm-google-auth-warning-steps ol{margin:10px 0 0;padding-left:22px}.csm-google-auth-warning-steps li{margin:0 0 8px;color:#c7ddea;line-height:1.5}
.csm-google-auth-warning-testing{padding:13px 15px;border-left:4px solid #e0a13b;border-radius:8px;background:#4b300d!important;color:#ead1a2!important}.csm-google-auth-warning-testing strong{color:#ffe6ae}
.csm-google-auth-warning-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.csm-google-auth-warning-actions .csm-btn{margin:0}
@media(max-width:650px){.csm-google-auth-warning-modal{padding:10px}.csm-google-auth-warning-dialog{grid-template-columns:1fr;gap:12px;width:100%;max-height:calc(100vh - 20px);margin:0;padding:22px 18px}.csm-google-auth-warning-icon{width:44px;height:44px;font-size:24px}.csm-google-auth-warning-dialog h2{font-size:23px}.csm-google-auth-warning-actions .csm-btn{width:100%}}
@media(max-width:650px){
  .csm-context-label{align-items:flex-start}
  .csm-context-help-popover{position:fixed;z-index:999999;left:16px!important;right:16px!important;top:auto;bottom:18px;width:auto;max-height:70vh;overflow:auto;padding:18px;font-size:14px}
  .csm-context-help-button{width:28px;height:28px;font-size:16px}
}

/* v1.13.109 — protected data reset and uninstall controls. */
.csm-data-reset-panel{border-color:#744b4b!important}
.csm-data-retention-form{display:grid;gap:10px;margin:16px 0 20px;padding:16px;border:1px solid #315f80;border-radius:11px;background:#0b2d4b}
.csm-data-retention-form .csm-check-row{margin:0;color:#fff;font-weight:800}
.csm-data-retention-form .csm-btn{justify-self:start}
.csm-reset-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.csm-reset-choice-grid>div{display:flex;align-items:flex-start;flex-direction:column;padding:17px;border:1px solid #315f80;border-radius:11px;background:#0b2d4b}
.csm-reset-choice-grid strong{color:#fff;font-size:16px}.csm-reset-choice-grid p{flex:1;margin:7px 0 15px;color:#bcd3e2;line-height:1.5}
.csm-reset-confirmation{margin-top:18px!important;padding:19px!important}.csm-reset-confirmation h3{margin-top:0!important}.csm-reset-confirmation .csm-form-row{max-width:520px}
.csm-reset-confirmation input[type=text]{border-color:#d26b6b!important;background:#fff!important;color:#1c2f3d!important;font-family:monospace;font-weight:800;letter-spacing:.04em}
@media(max-width:700px){.csm-reset-choice-grid{grid-template-columns:1fr}.csm-data-retention-form .csm-btn,.csm-reset-confirmation .csm-actions .csm-btn{width:100%}}


/* v1.13.113 — Option C Canadian login treatment, rebuilt from v1.13.109 baseline. */
.csm-login-option-c.csm-login-shell{
    position:relative!important;
    overflow:hidden!important;
    display:block!important;
    min-height:100vh!important;
    padding:28px 42px 22px!important;
    background:
        radial-gradient(circle at 75% 16%,rgba(30,99,157,.18),transparent 30%),
        linear-gradient(160deg,#06182d 0%,#082744 57%,#061b31 100%)!important;
}
.csm-login-option-c .csm-login-stage{
    position:relative;
    z-index:2;
    width:min(1040px,calc(100% - 40px));
    margin:0 auto;
    text-align:center;
}
.csm-login-option-c .csm-canada-crown{
    display:grid;
    grid-template-columns:minmax(70px,1fr) 72px minmax(70px,1fr);
    align-items:center;
    gap:22px;
    width:min(620px,72vw);
    margin:0 auto 2px;
}
.csm-login-option-c .csm-canada-line{
    height:2px;
    background:linear-gradient(90deg,transparent,#1f8fe5 18%,#1f8fe5 82%,transparent);
    opacity:.95;
}
.csm-login-option-c .csm-maple-leaf{display:block;fill:#ef3340}
.csm-login-option-c .csm-maple-leaf-large{width:64px;height:64px;margin:auto;filter:drop-shadow(0 5px 12px rgba(0,0,0,.22))}
.csm-login-option-c .csm-login-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin:0 auto 18px;
}
.csm-login-option-c .csm-login-logo{
    display:block!important;
    width:auto!important;
    max-width:190px!important;
    height:auto!important;
    max-height:120px!important;
    margin:0!important;
    object-fit:contain!important;
    filter:drop-shadow(0 7px 18px rgba(0,0,0,.28))!important;
}
.csm-login-option-c .csm-login-brand-copy{text-align:left}
.csm-login-option-c .csm-login-brand-copy h1{
    margin:0!important;
    color:#fff!important;
    font-size:clamp(27px,3.45vw,47px)!important;
    line-height:.98!important;
    letter-spacing:.012em;
    font-weight:800!important;
}
.csm-login-option-c .csm-login-brand-copy p{
    margin:12px 0 0!important;
    color:#c8d7e6!important;
    font-size:clamp(16px,1.65vw,22px)!important;
    line-height:1.32!important;
}
.csm-login-option-c .csm-login-card{
    position:relative;
    width:min(730px,100%)!important;
    margin:0 auto!important;
    padding:24px 44px 22px!important;
    background:linear-gradient(145deg,rgba(12,46,80,.92),rgba(7,35,64,.94))!important;
    border:1px solid rgba(99,143,181,.52)!important;
    border-radius:14px!important;
    box-shadow:0 22px 60px rgba(0,0,0,.28)!important;
    color:#edf7ff!important;
    text-align:center!important;
}
.csm-login-option-c .csm-login-card h2{
    margin:0 0 18px!important;
    color:#fff!important;
    font-size:28px!important;
    line-height:1.2!important;
    font-weight:800!important;
}
.csm-login-option-c .csm-login-form-wrap{position:relative;padding-bottom:6px}
.csm-login-option-c .csm-login-card form{text-align:left!important;margin:0!important}
.csm-login-option-c .csm-login-card form p{margin:0 0 14px!important}
.csm-login-option-c .csm-login-card label{
    color:#f4f9fd!important;
    font-size:15px!important;
    font-weight:750!important;
}
.csm-login-option-c .csm-login-card input[type=text],
.csm-login-option-c .csm-login-card input[type=password]{
    width:100%!important;
    min-height:54px!important;
    margin-top:6px!important;
    padding:12px 14px!important;
    background:#0a2744!important;
    border:1px solid #477ca7!important;
    color:#fff!important;
    border-radius:8px!important;
    box-shadow:none!important;
    font-size:16px!important;
}
.csm-login-option-c .csm-login-card input[type=text]:focus,
.csm-login-option-c .csm-login-card input[type=password]:focus{
    outline:none!important;
    border-color:#55baf0!important;
    box-shadow:0 0 0 3px rgba(85,186,240,.17)!important;
}
.csm-login-option-c .csm-login-card .login-remember{
    display:inline-flex!important;
    align-items:center!important;
    width:auto!important;
    margin:2px 0 16px!important;
    color:#d7e6f2!important;
}
.csm-login-option-c .csm-login-card .login-remember label{display:inline-flex!important;align-items:center!important;gap:8px!important}
.csm-login-option-c .csm-login-card .login-remember input{width:18px;height:18px;margin:0!important;accent-color:#228bd0}
.csm-login-option-c .csm-login-card .login-submit{margin:0!important}
.csm-login-option-c .csm-login-card input[type=submit]{
    width:100%!important;
    min-height:55px!important;
    margin:0!important;
    padding:12px 20px!important;
    background:linear-gradient(90deg,#0f59c7,#165fcf)!important;
    border:1px solid #2f8ee8!important;
    border-radius:8px!important;
    color:#fff!important;
    font-size:19px!important;
    font-weight:750!important;
    cursor:pointer!important;
    box-shadow:0 8px 20px rgba(0,56,130,.18)!important;
}
.csm-login-option-c .csm-login-card input[type=submit]:hover{background:linear-gradient(90deg,#1766d9,#1b6cdb)!important}
.csm-login-option-c .csm-login-forgot{
    position:absolute;
    right:0;
    top:167px;
    color:#3eb2f5!important;
    font-weight:650;
    font-size:14px;
    text-decoration:none;
}
.csm-login-option-c .csm-login-forgot:hover{text-decoration:underline}
.csm-login-option-c .csm-login-canada-signature{
    margin-top:20px;
    padding-top:18px;
    border-top:1px solid rgba(138,175,206,.24);
}
.csm-login-option-c .csm-login-canada-title{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    color:#fff;
    font-size:24px;
    line-height:1.2;
}
.csm-login-option-c .csm-maple-leaf-small{width:28px;height:28px;flex:0 0 28px}
.csm-login-option-c .csm-login-canada-signature p{
    margin:7px auto 0!important;
    color:#c7d7e6!important;
    font-size:15px!important;
    max-width:520px!important;
}
.csm-login-option-c .csm-login-feature-strip{
    width:min(1000px,100%);
    margin:18px auto 0;
    padding:18px 20px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    border:1px solid rgba(93,139,180,.42);
    border-radius:12px;
    background:rgba(5,29,53,.50);
    box-shadow:0 14px 38px rgba(0,0,0,.14);
    text-align:left;
}
.csm-login-option-c .csm-login-feature{display:flex;align-items:flex-start;gap:12px;min-width:0}
.csm-login-option-c .csm-login-feature-icon{
    width:42px;height:42px;flex:0 0 42px;
    display:grid;place-items:center;
    border:1px solid #168fe8;border-radius:50%;
    color:#2aa7fb;font-size:21px;font-weight:800;
}
.csm-login-option-c .csm-login-feature strong{display:block;color:#fff;font-size:15px;margin:0 0 3px}
.csm-login-option-c .csm-login-feature small{display:block;color:#b8cbdb;font-size:12px;line-height:1.35}
.csm-login-option-c .csm-login-footer{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;
    margin:15px auto 0;
    color:#b8cad8;
    font-size:13px;
}
.csm-login-option-c .csm-login-footer-divider{width:1px;height:20px;background:rgba(184,202,216,.48)}
.csm-login-option-c .csm-login-footer-canada{color:#d9e6ef}
.csm-login-option-c .csm-login-lighthouse{
    position:absolute;
    z-index:1;
    right:2.5vw;
    bottom:58px;
    width:min(250px,23vw);
    opacity:.12;
    pointer-events:none;
}
.csm-login-option-c .csm-login-lighthouse svg{display:block;width:100%;height:auto;fill:#79a5c8}

@media(max-width:900px){
    .csm-login-option-c.csm-login-shell{padding:22px 20px 20px!important}
    .csm-login-option-c .csm-login-stage{width:min(760px,100%)}
    .csm-login-option-c .csm-login-brand{gap:20px}
    .csm-login-option-c .csm-login-logo{max-width:145px!important;max-height:95px!important}
    .csm-login-option-c .csm-login-brand-copy h1{font-size:42px!important}
    .csm-login-option-c .csm-login-brand-copy p{font-size:17px!important}
    .csm-login-option-c .csm-login-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
    .csm-login-option-c .csm-login-lighthouse{right:-30px;width:220px;opacity:.08}
}
@media(max-width:620px){
    .csm-login-option-c.csm-login-shell{padding:16px 12px 18px!important}
    .csm-login-option-c .csm-canada-crown{grid-template-columns:1fr 48px 1fr;gap:12px;width:92%;margin-bottom:10px}
    .csm-login-option-c .csm-maple-leaf-large{width:46px;height:46px}
    .csm-login-option-c .csm-login-brand{display:block;margin-bottom:15px}
    .csm-login-option-c .csm-login-logo{max-width:115px!important;max-height:72px!important;margin:0 auto 10px!important}
    .csm-login-option-c .csm-login-brand-copy{text-align:center}
    .csm-login-option-c .csm-login-brand-copy h1{font-size:30px!important}
    .csm-login-option-c .csm-login-brand-copy p{font-size:15px!important;margin-top:8px!important}
    .csm-login-option-c .csm-login-desktop-break{display:none}
    .csm-login-option-c .csm-login-card{padding:24px 20px 22px!important;border-radius:14px!important}
    .csm-login-option-c .csm-login-card h2{font-size:23px!important;margin-bottom:18px!important}
    .csm-login-option-c .csm-login-forgot{position:static;display:block;text-align:right;margin:-8px 0 15px;font-size:13px}
    .csm-login-option-c .csm-login-canada-title{font-size:20px;gap:8px}
    .csm-login-option-c .csm-maple-leaf-small{width:23px;height:23px;flex-basis:23px}
    .csm-login-option-c .csm-login-feature-strip{grid-template-columns:1fr;gap:14px;padding:16px;margin-top:15px}
    .csm-login-option-c .csm-login-footer{display:grid;gap:6px;margin-top:14px}
    .csm-login-option-c .csm-login-footer-divider{display:none}
    .csm-login-option-c .csm-login-lighthouse{display:none}
}


/* v1.13.115 — refinements requested after approving Option C.
   1) Product title reduced to ~75% of v1.13.113.
   2) Matching Canadian signature added to every authenticated app screen. */
.csm-canada-app-footer{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    box-sizing:border-box;
    margin-top:auto;
    padding:15px 22px 17px;
    border-top:1px solid rgba(77,138,181,.28);
    background:#071d35;
    color:#e3eef7;
    font-size:14px;
    line-height:1.2;
    text-align:center;
}
.csm-canada-app-footer strong{
    color:#f7fbff;
    font-weight:800;
}
.csm-canada-footer-leaf{
    font-size:16px;
    line-height:1;
}
.csm-app-main{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}
.csm-app-main>.csm-app-content{
    width:100%;
    box-sizing:border-box;
    flex:1 0 auto;
}
@media(max-width:700px){
    .csm-canada-app-footer{
        padding:14px 16px 16px;
        gap:7px;
        font-size:13px;
    }
}
@media print{
    .csm-canada-app-footer{display:none!important}
}

/* v1.13.116 — structured priority service destinations (Section 6). */
.csm-service-inventory-help{margin:14px 0;padding:14px 16px;border:1px solid #3b7399;border-radius:11px;background:#0d2f50;color:#cfe5f4}.csm-service-inventory-help strong{color:#fff}.csm-service-inventory-help p{margin:5px 0 0;line-height:1.5}.csm-service-inventory-help code{color:#bfeaff;background:#09243e;padding:2px 5px;border-radius:4px}
.csm-service-inventory-rows{display:grid;gap:12px;margin:15px 0}.csm-service-inventory-row{display:grid;grid-template-columns:minmax(150px,1.05fr) minmax(150px,.8fr) minmax(220px,1.5fr) minmax(190px,1.15fr) 36px;gap:10px;align-items:end;padding:13px;border:1px solid #315f84;border-radius:12px;background:#0b2947}.csm-service-inventory-row label{display:grid;gap:6px;min-width:0}.csm-service-inventory-row label>span{color:#a9cbe2;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.csm-service-inventory-row input,.csm-service-inventory-row select{width:100%;min-height:42px;box-sizing:border-box;border:1px solid #497ea4;border-radius:8px;background:#10385d;color:#fff;padding:9px 10px}.csm-service-inventory-row input::placeholder{color:#86a8bf}.csm-service-remove{width:36px;height:42px;border:1px solid #81545a;border-radius:8px;background:#462a31;color:#ffd7dc;font-size:22px;cursor:pointer}.csm-service-remove:hover{background:#67343d}.csm-service-inventory-form>.csm-actions{margin-top:14px}.csm-service-inventory-table-wrap{overflow-x:auto;margin-top:14px}.csm-service-inventory-table{min-width:760px}.csm-service-inventory-table td{vertical-align:top}.csm-service-inventory-table a{color:#8ed8ff!important}.csm-service-inventory-empty{margin-top:14px;padding:16px;border:1px dashed #47799e;border-radius:11px;background:#0b2947;color:#c9dfea}.csm-service-inventory-empty strong{color:#fff}.csm-service-inventory-empty p{margin:6px 0 12px}.csm-service-inventory-row.is-gap .csm-service-url{opacity:.45}.csm-service-inventory-row:not(.is-gap) .csm-service-gap{opacity:.55}.csm-service-inventory-row.is-section .csm-service-url>span::after{content:' (include #anchor)';font-weight:500;text-transform:none;letter-spacing:0}
@media(max-width:1120px){.csm-service-inventory-row{grid-template-columns:1fr 1fr}.csm-service-remove{grid-column:2;justify-self:end}.csm-service-url,.csm-service-gap{grid-column:span 1}}
@media(max-width:650px){.csm-service-inventory-row{grid-template-columns:1fr}.csm-service-inventory-row>*{grid-column:1!important}.csm-service-remove{justify-self:end}.csm-service-inventory-table{min-width:680px}}


/* v1.13.117 — Step 6.1 destination-type dropdown contrast.
   Firefox can apply native focused/selected colours to <select>; force the
   approved dark-field palette for the control and its selected options. */
.csm-service-inventory-row select[data-csm-service-type],
.csm-service-inventory-row select[data-csm-service-type]:focus,
.csm-service-inventory-row select[data-csm-service-type]:active{
    background-color:#10385d!important;
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    opacity:1!important;
    color-scheme:dark;
}
.csm-service-inventory-row select[data-csm-service-type] option{
    background:#10385d!important;
    color:#ffffff!important;
}
.csm-service-inventory-row select[data-csm-service-type]:focus{
    border-color:#69c7f2!important;
    outline:2px solid rgba(105,199,242,.22)!important;
    outline-offset:1px;
}


/* v1.13.130 — Project Overview automation layout.
   frontend.css is the stylesheet actually enqueued by the front-end app. */
.csm-capability-mix{
    display:flex!important;
    align-items:center!important;
    flex-wrap:wrap!important;
    column-gap:8px!important;
    row-gap:4px!important;
    margin:18px 0 20px!important;
    color:#8494a9!important;
    font-size:12px!important;
    line-height:1.5!important;
}
.csm-capability-mix>span{
    display:block!important;
    margin-right:4px!important;
    color:#9aabc0!important;
}
.csm-capability-mix strong{
    display:inline-block!important;
    margin:0!important;
    font-size:12px!important;
    font-weight:700!important;
    color:#c0ccda!important;
}
.csm-capability-mix i{
    display:inline-block!important;
    margin:0 1px!important;
    font-style:normal!important;
    color:#5c6b80!important;
}
.csm-project-automation-refresh{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    width:100%!important;
    box-sizing:border-box!important;
    margin:0 0 28px!important;
    padding:18px 20px!important;
    gap:14px!important;
    border:1px solid rgba(148,163,184,.16)!important;
    border-radius:12px!important;
    background:rgba(15,23,42,.20)!important;
}
.csm-project-automation-copy{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
}
.csm-project-automation-copy strong{
    display:block!important;
    margin:0 0 7px!important;
    color:#d0dae6!important;
    font-size:13px!important;
    line-height:1.35!important;
}
.csm-project-automation-copy span{
    display:block!important;
    margin:0!important;
    color:#8fa0b5!important;
    font-size:12px!important;
    line-height:1.55!important;
}
.csm-project-automation-refresh form{
    display:block!important;
    margin:0!important;
    padding:0!important;
}
.csm-refresh-automation-btn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:42px!important;
    margin:0!important;
    padding:10px 17px!important;
    white-space:nowrap!important;
}
.csm-refresh-automation-btn>span{
    display:inline-block!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1!important;
    color:inherit!important;
}
@media(max-width:760px){
    .csm-capability-mix{
        margin:16px 0 18px!important;
        column-gap:6px!important;
    }
    .csm-project-automation-refresh{
        margin-bottom:24px!important;
        padding:17px!important;
    }
    .csm-project-automation-refresh form,
    .csm-refresh-automation-btn{
        width:100%!important;
    }
}


/* v1.13.132 — capability help chips */
.csm-capability{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:5px;
    min-height:24px;
    padding:3px 8px;
    border:1px solid rgba(148,163,184,.28);
    border-radius:7px;
    background:rgba(15,23,42,.34);
    color:#aebacd;
    font-size:11px;
    font-weight:700;
    line-height:1.2;
    vertical-align:middle;
    cursor:help;
    user-select:none;
    transition:border-color .16s ease, background .16s ease, color .16s ease;
}
.csm-capability.is-compact{
    min-height:22px;
    padding:2px 7px;
    font-size:10.5px;
}
.csm-capability-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:14px;
    min-width:14px;
    font-size:13px;
    font-weight:800;
    line-height:1;
}
.csm-capability-label{
    display:inline-block;
    line-height:1.15;
}

/* Distinct capability colours, still restrained against the approved navy UI. */
.csm-capability-auto{
    border-color:rgba(79,159,255,.46);
    background:rgba(42,116,205,.10);
    color:#a9cbf5;
}
.csm-capability-auto .csm-capability-icon{
    color:#5aa8ff;
}
.csm-capability-assisted{
    border-color:rgba(224,172,66,.46);
    background:rgba(183,129,29,.10);
    color:#e4c47f;
}
.csm-capability-assisted .csm-capability-icon{
    color:#e2ad45;
}
.csm-capability-manual{
    border-color:rgba(190,126,216,.44);
    background:rgba(135,78,161,.10);
    color:#d3addf;
}
.csm-capability-manual .csm-capability-icon{
    color:#c48ad6;
}
.csm-capability-conditional{
    border-color:rgba(74,183,163,.42);
    background:rgba(37,133,116,.10);
    color:#9bd5ca;
}
.csm-capability-conditional .csm-capability-icon{
    color:#58bfa9;
}

@media (hover:hover) and (pointer:fine){
    .csm-capability:hover{
        border-color:currentColor;
        background:rgba(30,41,59,.70);
    }
}

/* Keyboard-visible contextual help. The native title remains as a fallback. */
.csm-capability:focus{
    outline:2px solid rgba(121,170,232,.50);
    outline-offset:2px;
}
.csm-capability::after{
    content:attr(data-help);
    position:absolute;
    z-index:1000;
    left:50%;
    bottom:calc(100% + 9px);
    width:max-content;
    max-width:290px;
    padding:8px 10px;
    border:1px solid rgba(148,163,184,.24);
    border-radius:8px;
    background:#111c2f;
    color:#d5deea;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
    font-size:11.5px;
    font-weight:500;
    line-height:1.45;
    text-align:left;
    white-space:normal;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:translate(-50%,4px);
    transition:opacity .14s ease, transform .14s ease, visibility .14s ease;
}
.csm-capability::before{
    content:"";
    position:absolute;
    z-index:1001;
    left:50%;
    bottom:calc(100% + 4px);
    width:8px;
    height:8px;
    border-right:1px solid rgba(148,163,184,.24);
    border-bottom:1px solid rgba(148,163,184,.24);
    background:#111c2f;
    opacity:0;
    visibility:hidden;
    transform:translateX(-50%) rotate(45deg);
    transition:opacity .14s ease, visibility .14s ease;
}
@media (hover:hover) and (pointer:fine){
    .csm-capability:hover::after,
    .csm-capability:hover::before{
        opacity:1;
        visibility:visible;
    }
    .csm-capability:hover::after{
        transform:translate(-50%,0);
    }
}
.csm-capability:focus::after,
.csm-capability:focus::before{
    opacity:1;
    visibility:visible;
}
.csm-capability:focus::after{
    transform:translate(-50%,0);
}
@media(max-width:760px){
    .csm-capability::after{
        left:0;
        max-width:min(260px, calc(100vw - 40px));
        transform:translate(0,4px);
    }
    .csm-capability:focus::after{
        transform:translate(0,0);
    }
    .csm-capability::before{
        left:12px;
    }
}


/* v1.13.133 — restrained capability chips + task-header placement */
.csm-capability{
    min-height:22px!important;
    padding:2px 7px!important;
    gap:5px!important;
    border:1px solid rgba(132,151,176,.34)!important;
    border-radius:6px!important;
    background:rgba(12,27,47,.58)!important;
    color:#b7c3d1!important;
    box-shadow:none!important;
    font-size:10.5px!important;
    font-weight:700!important;
}
.csm-capability.is-compact{
    min-height:21px!important;
    padding:2px 6px!important;
    font-size:10px!important;
}
.csm-capability-icon{
    width:13px!important;
    min-width:13px!important;
    font-size:12.5px!important;
}
.csm-capability-auto .csm-capability-icon{color:#5ca9ff!important;}
.csm-capability-assisted .csm-capability-icon{color:#d8a84e!important;}
.csm-capability-manual .csm-capability-icon{color:#b995c9!important;}
.csm-capability-conditional .csm-capability-icon{color:#62b8a8!important;}
.csm-capability-auto,
.csm-capability-assisted,
.csm-capability-manual,
.csm-capability-conditional{
    border-color:rgba(132,151,176,.34)!important;
    background:rgba(12,27,47,.58)!important;
    color:#b7c3d1!important;
}
@media (hover:hover) and (pointer:fine){
    .csm-capability:hover{
        border-color:rgba(150,170,197,.62)!important;
        background:rgba(19,38,64,.86)!important;
        color:#d4dce7!important;
    }
}

/* Individual task page: capability metadata belongs with the heading,
   not as a loose row above Overall project progress. */
.csm-task-head-actions{
    display:flex;
    align-items:flex-start;
    justify-content:flex-end;
    gap:12px;
    flex-wrap:wrap;
    min-width:0;
}
.csm-task-head-meta{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px;
    min-width:0;
    padding-top:7px;
}
.csm-task-source{
    color:#8292a7;
    font-size:11px;
    font-weight:600;
    line-height:1.35;
    max-width:260px;
    text-align:right;
}
@media(max-width:760px){
    .csm-page-head{
        flex-direction:column;
        align-items:stretch;
    }
    .csm-task-head-actions{
        justify-content:flex-start;
        align-items:flex-start;
        gap:10px;
    }
    .csm-task-head-meta{
        justify-content:flex-start;
        padding-top:0;
        width:100%;
    }
    .csm-task-source{
        max-width:none;
        text-align:left;
    }
}


/* v1.13.138 — Report Leads uses the established SEO Manager dark design system. */
.csm-app-content-report-leads-theme>.csm-actions,
.csm-app-content-report-leads-theme>.csm-panel,
.csm-app-content-report-leads-theme>.csm-page-head,
.csm-app-content-report-leads-theme>p{
  max-width:1380px;
  margin-left:auto!important;
  margin-right:auto!important;
}
.csm-app-content-report-leads-theme>.csm-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:-8px!important;
  margin-bottom:18px!important;
}
.csm-app-content-report-leads-theme .csm-empty{
  background:#0d2d4b!important;
  border:1px dashed #3b7399!important;
  color:#b9d8ed!important;
}
.csm-app-content-report-leads-theme .csm-empty h3{color:#fff!important}
.csm-app-content-report-leads-theme .csm-empty p{color:#b9d8ed!important}
.csm-app-content-report-leads-theme .csm-detail-list>div{border-bottom-color:#28577f!important}
.csm-app-content-report-leads-theme .csm-detail-list dt{color:#9ed4f2!important}
.csm-app-content-report-leads-theme .csm-detail-list dd{color:#fff!important}
.csm-app-content-report-leads-theme hr{border:0;border-top:1px solid #28577f;margin:22px 0}
.csm-app-content-report-leads-theme .csm-table-wrap{border:1px solid #2f668f;border-radius:10px;overflow:auto}
.csm-app-content-report-leads-theme .csm-table{margin:0!important}
.csm-app-content-report-leads-theme .csm-table small{color:#9fc5dc!important}
.csm-app-content-report-leads-theme .csm-inline-form{display:inline-flex;margin:0}
.csm-app-content-report-leads-theme .csm-text-link{color:#8fd8ff!important}
@media(max-width:700px){
  .csm-app-content-report-leads-theme>.csm-actions .csm-btn{width:100%}
  .csm-app-content-report-leads-theme .csm-detail-list>div{grid-template-columns:1fr;gap:3px}
}

/* v1.13.139 — Report Leads clarity refinements. */
.csm-app-content-report-leads-theme .csm-kicker{
  color:#fff!important;
}
.csm-app-content-report-leads-theme .csm-report-score-pill{
  color:#fff!important;
  white-space:nowrap;
}


/* v1.13.140 — unread Report Lead notification state. */
.csm-app-content-report-leads-theme .csm-new-lead-pill{display:inline-flex;align-items:center;margin-left:8px;padding:2px 7px;border-radius:999px;background:#d94135;color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em;vertical-align:middle}
.csm-app-content-report-leads-theme tr.csm-lead-unread td{background:rgba(85,186,241,.055)}


/* v1.13.141 — full audit detail inside Report Leads. */
.csm-lead-audit{margin:26px 0;padding-top:22px;border-top:1px solid rgba(85,186,241,.18)}
.csm-lead-audit .csm-kicker{color:#dceeff!important}.csm-lead-audit-totals{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.csm-lead-audit-totals span{padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;border:1px solid transparent}.csm-lead-audit-totals .pass{color:#c5f8e4;background:rgba(43,160,99,.16);border-color:rgba(93,224,198,.28)}.csm-lead-audit-totals .warn{color:#ffe0a3;background:rgba(190,126,35,.16);border-color:rgba(255,193,92,.28)}.csm-lead-audit-totals .info{color:#cbeaff;background:rgba(47,117,181,.20);border-color:rgba(85,186,241,.28)}
.csm-lead-audit-phase{margin:20px 0 9px;color:#dceeff!important;font-size:15px}.csm-lead-audit-list{display:grid;gap:7px}.csm-lead-audit-row{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;padding:11px 12px;background:rgba(3,25,47,.35);border:1px solid rgba(85,186,241,.12);border-radius:8px}.csm-lead-audit-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;font-weight:900}.csm-lead-audit-row.pass .csm-lead-audit-icon{background:rgba(43,160,99,.20);color:#72e0ba}.csm-lead-audit-row.warn .csm-lead-audit-icon{background:rgba(190,126,35,.20);color:#ffd17a}.csm-lead-audit-row.info .csm-lead-audit-icon{background:rgba(47,117,181,.24);color:#8fcdf2}.csm-lead-audit-row strong{display:block;color:#fff;font-size:13px;margin:1px 0 3px}.csm-lead-audit-row small{display:block;color:#a9bfd0;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:760px){.csm-lead-audit .csm-section-head{align-items:flex-start;flex-direction:column}.csm-lead-audit-totals{justify-content:flex-start}}


/* v1.13.144 — report-lead historical report action. */
.csm-view-report-btn{background:#2f75b5!important;border-color:#4b94cb!important;color:#fff!important}
.csm-view-report-btn:hover{background:#55baf1!important;border-color:#72c8f5!important;color:#071d35!important}

/* v1.13.147 imported lead-audit project snapshot */
.csm-imported-audit-panel{margin:0 0 18px}.csm-imported-audit-panel .csm-section-head{align-items:flex-start}.csm-imported-audit-panel .csm-section-head p{margin:5px 0 0;color:#b6cada;max-width:760px}.csm-imported-audit-stats{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.csm-imported-audit-stats span{padding:7px 10px;border-radius:999px;font-size:12px;font-weight:800;border:1px solid transparent}.csm-imported-audit-stats .pass{background:rgba(43,160,99,.15);border-color:rgba(93,224,198,.28);color:#bff7df}.csm-imported-audit-stats .warn{background:rgba(190,126,35,.15);border-color:rgba(255,193,92,.30);color:#ffe0a3}.csm-imported-audit-stats .info{background:rgba(47,117,181,.18);border-color:rgba(85,186,241,.28);color:#cbeaff}.csm-imported-audit-stats .na{background:rgba(127,145,160,.14);border-color:rgba(170,190,205,.20);color:#b7c8d5}


/* v1.13.149 — structural dark imported-audit panel fix. */
.csm-project-overview-theme > .csm-imported-audit-panel,
.csm-project-overview-theme .csm-panel.csm-imported-audit-panel{
  background:linear-gradient(135deg,#173f67 0%,#123b61 58%,#0f3154 100%)!important;
  background-color:#123b61!important;
  border:1px solid rgba(85,186,241,.34)!important;
  color:#dceeff!important;
  box-shadow:0 8px 22px rgba(0,0,0,.14)!important;
}
.csm-project-overview-theme .csm-imported-audit-panel,
.csm-project-overview-theme .csm-imported-audit-panel *{box-sizing:border-box}
.csm-project-overview-theme .csm-imported-audit-panel .csm-section-head{margin:0 0 8px!important}
.csm-project-overview-theme .csm-imported-audit-panel .csm-kicker{color:#8fd4fb!important}
.csm-project-overview-theme .csm-imported-audit-panel h3,
.csm-project-overview-theme .csm-imported-audit-panel strong{color:#fff!important}
.csm-project-overview-theme .csm-imported-audit-panel .csm-section-head p{color:#b9d8ed!important}
.csm-project-overview-theme .csm-imported-audit-panel .csm-report-score-pill{
  background:rgba(85,186,241,.16)!important;
  border:1px solid rgba(85,186,241,.34)!important;
  color:#dceeff!important;
}
.csm-project-overview-theme .csm-imported-audit-stats{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:14px 0!important}
.csm-project-overview-theme .csm-imported-audit-stats span{
  opacity:1!important;filter:none!important;text-shadow:none!important;
  padding:7px 10px!important;border-radius:999px!important;font-size:12px!important;font-weight:800!important;
}
.csm-project-overview-theme .csm-imported-audit-stats .pass{background:rgba(43,160,99,.22)!important;border:1px solid rgba(93,224,198,.38)!important;color:#c9f9e7!important}
.csm-project-overview-theme .csm-imported-audit-stats .warn{background:rgba(190,126,35,.22)!important;border:1px solid rgba(255,193,92,.38)!important;color:#ffe4ad!important}
.csm-project-overview-theme .csm-imported-audit-stats .info{background:rgba(47,117,181,.30)!important;border:1px solid rgba(85,186,241,.40)!important;color:#d9f1ff!important}
.csm-project-overview-theme .csm-imported-audit-stats .na{background:rgba(127,145,160,.22)!important;border:1px solid rgba(190,205,216,.30)!important;color:#e0eaf1!important}
.csm-project-overview-theme .csm-imported-mapping{
  display:grid!important;gap:4px!important;margin:12px 0 14px!important;padding:12px 14px!important;border-radius:10px!important;
  background:#0b2947!important;border:1px solid rgba(85,186,241,.20)!important;color:#dceeff!important;
}
.csm-project-overview-theme .csm-imported-mapping strong{color:#fff!important;font-size:14px!important}
.csm-project-overview-theme .csm-imported-mapping span{color:#c9e5f6!important;font-size:13px!important}
.csm-project-overview-theme .csm-imported-mapping small{color:#9fbfd4!important;font-size:12px!important;line-height:1.45!important}
.csm-project-overview-theme .csm-imported-audit-panel .csm-btn.secondary{
  background:#2f75b5!important;border-color:#4b94cb!important;color:#fff!important;
}
.csm-project-overview-theme .csm-imported-audit-panel .csm-btn.secondary:hover{
  background:#55baf1!important;border-color:#72c8f5!important;color:#071d35!important;
}
@media(max-width:760px){
  .csm-project-overview-theme .csm-imported-audit-panel .csm-section-head{flex-direction:column!important;align-items:flex-start!important}
}


/* v1.13.150 — client-card delete action. */
.csm-client-card-side .csm-inline-form{margin:0}
.csm-client-card-side .csm-btn-danger{white-space:nowrap}
@media (max-width:760px){.csm-client-card-side{flex-wrap:wrap}.csm-client-card-side .csm-client-project-count{width:100%;justify-content:flex-start}}

/* v1.13.153 — connected snapshot feedback + readable desktop snapshot history. */
.csm-google-snapshot-form .csm-google-snapshot-status{
  flex:1 0 100%;
  width:100%;
  margin-top:4px;
}
@media(min-width:701px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{
    overflow-x:auto!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{
    min-width:1580px!important;
    table-layout:fixed!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td{
    vertical-align:middle!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(1),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(1){width:105px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(2),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(2){width:100px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(3),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(3){width:120px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(4),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(4){width:300px!important;white-space:normal!important;line-height:1.35!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(5),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(5){width:175px!important;white-space:normal!important;line-height:1.35!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(n+6):nth-child(-n+11),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(n+6):nth-child(-n+11){width:80px!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(12),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(12){width:180px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td.csm-snapshot-captured{
    overflow-wrap:anywhere!important;
  }
}


/* v1.13.155 — commercial Monitoring QA refinements. */
@media(min-width:1000px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{
    overflow-x:auto!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{
    width:100%!important;
    min-width:1080px!important;
    table-layout:fixed!important;
    font-size:12px!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(1),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(1){width:88px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(2),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(2){width:88px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(3),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(3){width:96px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(4),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(4){width:225px!important;white-space:normal!important;line-height:1.3!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(5),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(5){width:132px!important;white-space:normal!important;line-height:1.3!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(n+6):nth-child(-n+11),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(n+6):nth-child(-n+11){width:58px!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(12),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(12){width:105px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions .csm-btn,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form .csm-btn{
    width:100%!important;
    min-width:0!important;
    justify-content:center!important;
  }
}


/* v1.13.155 — Overall history without redundant Source column. */
@media (min-width:1100px){
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{min-width:0!important;width:100%!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(1),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(1){width:88px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(2),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(2){width:92px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(3),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(3){width:260px!important;white-space:normal!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(4),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(4){width:145px!important;white-space:normal!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(n+5):nth-child(-n+10),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(n+5):nth-child(-n+10){width:62px!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(11),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(11){width:110px!important}
}
/* Keep the in-app comparison header consistent with the dark Monitoring interface. */
.csm-app-content-monitoring-theme .csm-monitor-compare .csm-report-section-head{background:#123b61!important;border-color:#28577f!important;color:#fff!important;}
.csm-app-content-monitoring-theme .csm-monitor-compare .csm-report-section-head h2{color:#fff!important;}
.csm-app-content-monitoring-theme .csm-monitor-compare .csm-report-section-head p,.csm-app-content-monitoring-theme .csm-monitor-compare .csm-report-performance-source{color:#dceeff!important;}


/* v1.13.156 — Snapshot History desktop fit and Manage control repair. */
@media (min-width:1200px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{
    overflow-x:visible!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td{
    padding-left:7px!important;
    padding-right:7px!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(1),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(1){width:8%!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(2),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(2){width:9%!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(3),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(3){width:26%!important;white-space:normal!important;line-height:1.32!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(4),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(4){width:15%!important;white-space:normal!important;line-height:1.3!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(5),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(5){width:5%!important;text-align:right!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(6),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(6){width:6%!important;text-align:right!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(7),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(7){width:5.5%!important;text-align:right!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(8),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(8){width:5.5%!important;text-align:right!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(9),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(9){width:5.5%!important;text-align:right!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(10),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(10){width:7.5%!important;text-align:right!important;white-space:nowrap!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(11),
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(11){width:12%!important;min-width:118px!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:6px!important;
    width:100%!important;
  }
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions .csm-btn,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form .csm-btn{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }
}
@media (min-width:1000px) and (max-width:1199px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{overflow-x:auto!important;}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{min-width:1080px!important;}
}


/* v1.13.157 — simplify Overall SEO Snapshot History instead of squeezing it. */
.csm-snapshot-type-stack{display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.csm-snapshot-capture-note{font-size:10px;line-height:1.2;color:#9fc6df;white-space:nowrap}
.csm-snapshot-partial-row .csm-snapshot-capture-note{color:#ffd38a}
@media (min-width:1200px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{overflow-x:visible!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{width:100%!important;min-width:0!important;table-layout:fixed!important;font-size:12px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table td{padding-left:8px!important;padding-right:8px!important;vertical-align:middle!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(1),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(1){width:9%!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(2),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(2){width:12%!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(3),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(3){width:18%!important;white-space:normal!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(4),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(4){width:7%!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(5),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(5){width:9%!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(6),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(6){width:7%!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(7),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(7){width:7%!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(8),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(8){width:9%!important;text-align:right!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(9),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(9){width:9%!important;text-align:right!important;white-space:nowrap!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table th:nth-child(10),.csm-app-content-monitoring-theme .csm-snapshot-history-table td:nth-child(10){width:13%!important;min-width:105px!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions{display:flex!important;flex-direction:column!important;gap:6px!important;width:100%!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions .csm-btn,
  .csm-app-content-monitoring-theme .csm-snapshot-history-table .csm-history-actions form .csm-btn{width:100%!important;min-width:0!important;white-space:nowrap!important;justify-content:center!important;box-sizing:border-box!important}
}
@media (min-width:1000px) and (max-width:1199px){
  .csm-app-content-monitoring-theme .csm-overall-history .csm-monitor-table-wrap{overflow-x:auto!important}
  .csm-app-content-monitoring-theme .csm-snapshot-history-table{min-width:920px!important}
}

/* v1.13.158 — client report narrative, Not Started summary and executive overview. */
.csm-report-metrics{grid-template-columns:repeat(7,minmax(0,1fr))}
.csm-report-metric.not-started .csm-report-metric-icon{background:#6f7d8b}.csm-report-metric.not-started>strong{color:#6f7d8b}
.csm-report-executive{margin:8px 0 28px}.csm-report-executive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0}.csm-report-executive-grid>div{background:#f8fbfd;border:1px solid #dce6ee;border-radius:10px;padding:16px;text-align:center}.csm-report-executive-grid strong{display:block;color:#143b66;font-size:28px;line-height:1.1}.csm-report-executive-grid span{display:block;color:#657587;font-size:12px;margin-top:5px}.csm-report-executive-note{background:#f4f9fd;border-left:4px solid #2f75b5;padding:11px 13px;color:#52697d;font-size:13px;line-height:1.55}.csm-report-detail-head{margin-top:34px}.csm-report-default-footer{color:#52697d}.csm-report-default-footer strong{color:#143b66}
@media(max-width:1100px){.csm-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){.csm-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.csm-report-executive-grid{grid-template-columns:1fr}}

/* v1.13.159 — report summary polish + cache-busting version correction. */
.csm-report-metric.not-started{background:#f0f6fb;border-color:#b9cee0}
.csm-report-metric.not-started .csm-report-metric-icon{background:#587a98;color:#fff}
.csm-report-metric.not-started>span{color:#526f89}
.csm-report-metric.not-started>strong{color:#315d82}
.csm-report-executive-grid>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.csm-report-executive-grid strong{margin:0}
.csm-report-executive-grid span{margin:0}

/* v1.13.163 — print/PDF: never split the Detailed SEO Work intro card across pages.
   Unlike normal numbered section headers, this transition card does not need
   to be glued to the following section header. */
@media print{
  .csm-report-detail-head{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
    break-after:auto!important;
    page-break-after:auto!important;
  }
}


/* v1.13.164 — print/PDF: keep the complete Executive Summary together.
   This prevents the explanatory note from being orphaned onto the next page. */
@media print{
  .csm-report-executive{
    display:block!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
  .csm-report-executive-note{
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }
}

/* v1.13.166 — agency/admin project-date reminders */
.csm-app-content-settings-theme .csm-settings-subsection{margin:20px 0;padding:16px 18px;border:1px solid rgba(85,186,241,.28);border-radius:12px;background:rgba(85,186,241,.07)}
.csm-app-content-settings-theme .csm-settings-subsection h4{margin:0 0 5px;color:#fff;font-size:15px}
.csm-app-content-settings-theme .csm-settings-subsection .csm-check-row{margin:14px 0;color:#dceeff;font-weight:700;align-items:flex-start;line-height:1.45}
.csm-app-content-settings-theme .csm-settings-subsection .csm-form-row{margin-top:15px}


/* v1.13.167 — current-client attention state + Website Audit Service spacing */
.csm-active-client-form.csm-active-client-required{
    position:relative;
}
.csm-active-client-form.csm-active-client-required label{
    color:#ffd8d8;
}
.csm-active-client-form.csm-active-client-required select{
    border-color:#ff5a5f;
    background:#fff6f6;
    color:#8b1e24;
    box-shadow:0 0 0 4px rgba(255,90,95,.16);
    animation:csm-client-required-pulse 1.35s ease-in-out infinite;
}
.csm-active-client-form.csm-active-client-required select:hover,
.csm-active-client-form.csm-active-client-required select:focus{
    border-color:#ff7b80;
    box-shadow:0 0 0 5px rgba(255,90,95,.24);
}
.csm-client-required-note{
    position:absolute;
    left:0;
    top:calc(100% + 5px);
    z-index:20;
    white-space:nowrap;
    padding:4px 8px;
    border-radius:6px;
    background:#7b2025;
    color:#fff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.02em;
    box-shadow:0 4px 14px rgba(0,0,0,.18);
}
@keyframes csm-client-required-pulse{
    0%,100%{box-shadow:0 0 0 3px rgba(255,90,95,.12)}
    50%{box-shadow:0 0 0 7px rgba(255,90,95,.30)}
}
@media (prefers-reduced-motion:reduce){
    .csm-active-client-form.csm-active-client-required select{animation:none}
}
@media(max-width:800px){
    .csm-client-required-note{position:static;display:block;margin-top:5px;white-space:normal}
}
.csm-app-content-settings-theme .csm-site-audit-target,
.csm-app-content-settings-theme .csm-site-audit-notice{
    padding:16px 18px;
}
.csm-app-content-settings-theme .csm-site-audit-target p,
.csm-app-content-settings-theme .csm-site-audit-notice p{
    margin:7px 0 0;
    line-height:1.55;
}


/* v1.13.169 — Action Items empty state distinguishes clients with no SEO project */
/* v1.13.170 — Settings health check reports all active workflow mappings accurately */
.csm-app-content-actions-theme .csm-action-empty-workflow{padding:30px 24px}
.csm-app-content-actions-theme .csm-action-empty-workflow strong{display:block;color:#fff;font-size:18px;margin-bottom:6px}
.csm-app-content-actions-theme .csm-action-empty-workflow p{margin:0 auto 16px;max-width:760px;color:#c5dced}
.csm-app-content-actions-theme .csm-action-empty-workflow p b{color:#fff}

/* v1.13.171 — Current Client state on Clients workspace */
.csm-client-card.is-current-client{
    border-color:rgba(116,201,242,.58);
    border-left-color:#8ed9fb;
    box-shadow:0 0 0 1px rgba(116,201,242,.10),0 10px 28px rgba(0,0,0,.20);
}
.csm-client-card-kicker-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
    margin-bottom:5px;
}
.csm-client-card-kicker-row .csm-client-card-kicker{
    margin-bottom:0;
}
.csm-current-client-badge{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(57,185,111,.16);
    border:1px solid rgba(100,219,148,.34);
    color:#9ce5b9;
    font-size:9px;
    line-height:1;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
.csm-client-view-form{margin:0}
.csm-client-view-form .csm-client-view{margin:0}

/* v1.13.177 — polished consolidated workflow prototype (front-end app). */
.csm-workflow-intro{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:18px 0;padding:24px 26px;border:1px solid #28577f;border-radius:14px;background:linear-gradient(135deg,#0b2947,#0f3154);color:#dceeff;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.csm-workflow-intro .csm-kicker{display:block;margin-bottom:7px;color:#55baf1;font-size:11px;font-weight:800;letter-spacing:.1em}.csm-workflow-intro h2{margin:0 0 8px;color:#fff;font-size:22px}.csm-workflow-intro p{max-width:780px;margin:0;line-height:1.55;color:#dceeff}.csm-workflow-score{min-width:135px;padding-left:24px;border-left:1px solid rgba(220,238,255,.22);text-align:center}.csm-workflow-score strong{display:block;color:#fff;font-size:34px;line-height:1}.csm-workflow-score span{display:block;margin-top:6px;color:#a9c9e3;font-size:12px}
.csm-workflow-form{margin-top:20px}.csm-workflow-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px;padding:18px 20px;border:1px solid #28577f;border-radius:12px;background:#0b2947;color:#fff}.csm-workflow-toolbar strong{display:block;font-size:18px}.csm-workflow-toolbar span{display:block;margin-top:4px;color:#bcd8ed;font-size:13px;line-height:1.45}
.csm-workflow-check{overflow:hidden;margin:0 0 14px;border:1px solid #28577f;border-radius:12px;background:#0b2746;box-shadow:0 5px 14px rgba(0,0,0,.1);transition:border-color .15s,box-shadow .15s}.csm-workflow-check.is-complete{border-color:#2d765f}.csm-workflow-check-main{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:28px;padding:20px 22px}.csm-workflow-check-copy{min-width:0}.csm-workflow-check-title{display:flex;align-items:center;gap:9px;color:#fff}.csm-workflow-check-title strong{font-size:16px;line-height:1.3}.csm-check-number{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;padding:0 9px;border-radius:7px;background:#123b61;color:#55baf1;font-weight:800}.csm-workflow-check-copy>p{margin:8px 0 0;color:#bcd1e3;font-size:13px;line-height:1.5}.csm-workflow-check-status label{display:block;margin:0 0 6px;color:#91b6d2;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.csm-workflow-check-status select{width:100%;min-height:40px;padding:8px 34px 8px 11px;border:1px solid #3c6385;border-radius:8px;background:#071d35;color:#fff;font-weight:700}.csm-workflow-check.is-complete .csm-workflow-check-status select{border-color:#357d68;background:#103a36;color:#c7f5df}
.csm-workflow-check-details{border-top:1px solid #1f4668;background:#09223d}.csm-workflow-check-details summary{cursor:pointer;padding:11px 22px;color:#78c9f5;font-size:12px;font-weight:700;list-style-position:inside}.csm-workflow-check-details[open] summary{border-bottom:1px solid #1f4668}.csm-workflow-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:20px 22px}.csm-workflow-detail-grid strong,.csm-workflow-detail-grid label{display:block;margin:0 0 6px;color:#fff}.csm-workflow-detail-grid p{margin:0 0 17px;color:#bfd3e4;line-height:1.55}.csm-workflow-detail-grid textarea,.csm-workflow-detail-grid select{box-sizing:border-box;width:100%;padding:9px 10px;border:1px solid #365b7b;border-radius:7px;background:#071d35;color:#fff}.csm-workflow-detail-grid textarea{min-height:100px;margin-bottom:14px}.csm-workflow-detail-grid small{color:#8eafc8;font-weight:400}
.csm-workflow-summary{margin:20px 0;padding:20px 22px;border:1px solid #28577f;border-radius:12px;background:#071d35;color:#dceeff}.csm-workflow-summary>strong{display:block;color:#fff;font-size:16px}.csm-workflow-summary-pills{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:13px 0}.csm-workflow-summary-pills span{display:flex;min-height:54px;flex-direction:column;justify-content:center;padding:9px 12px;border:1px solid #28577f;border-radius:9px;background:#0f3154;color:#a9c9e3;font-size:11px}.csm-workflow-summary-pills b{margin-top:2px;color:#fff;font-size:20px}.csm-workflow-summary p{margin:0;color:#9fbed5;font-size:12px;line-height:1.45}
@media(max-width:850px){.csm-workflow-check-main{grid-template-columns:1fr}.csm-workflow-summary-pills{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.csm-workflow-intro,.csm-workflow-toolbar{align-items:flex-start;flex-direction:column}.csm-workflow-score{padding-left:0;border-left:0;text-align:left}.csm-workflow-detail-grid{grid-template-columns:1fr}.csm-workflow-summary-pills{grid-template-columns:1fr}}

/* v1.13.178 — consolidated workflow rows on Project Overview. */
.csm-section-workflow-meta{font-size:12px;color:#a9c5d9;font-weight:700;white-space:nowrap}.csm-consolidated-step{background:linear-gradient(90deg,rgba(85,186,241,.08),rgba(255,255,255,.01));border-left:3px solid #55baf1}.csm-consolidated-step .csm-task-num{min-width:72px;color:#7fd0fa}.csm-consolidated-step strong{font-size:15px}.csm-consolidated-step small{margin-top:2px}.csm-workflow-section .csm-section-head>div+span.csm-section-workflow-meta{margin-left:auto}@media(max-width:760px){.csm-section-workflow-meta{white-space:normal;text-align:right;max-width:170px}.csm-consolidated-step .csm-task-num{min-width:0}}

/* v1.13.180 — consolidated workflow callout + overview spacing. */
.csm-workflow-why{
  margin:16px 0;
  padding:18px 20px;
  border:1px solid #28577f;
  border-left:4px solid #55baf1;
  border-radius:12px;
  background:linear-gradient(135deg,#0b2947,#0f3154);
  color:#dceeff;
  box-shadow:0 6px 18px rgba(0,0,0,.10);
}
.csm-workflow-why>span{
  display:block;
  margin-bottom:6px;
  color:#55baf1;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.csm-workflow-why p{margin:0;color:#dceeff;line-height:1.55}
.csm-project-overview-theme .csm-task-link{grid-template-columns:98px minmax(0,1fr) minmax(95px,max-content)!important}
.csm-project-overview-theme .csm-task-num{min-width:0!important;white-space:nowrap}
@media(max-width:760px){
  .csm-project-overview-theme .csm-task-link{grid-template-columns:82px minmax(0,1fr)!important}
  .csm-project-overview-theme .csm-task-state{grid-column:2;justify-content:flex-start;margin-top:4px}
}


/* v1.13.181 — full 63-step workflow layer over the 138 underlying SEO checks. */
.csm-workflow-detail-link{display:inline-flex!important;margin-top:12px!important;text-decoration:none!important;font-size:12px!important;font-weight:800!important}.csm-workflow-detail-link:hover{text-decoration:none!important}.csm-task-progress-top>small{display:block;margin-top:7px;color:#9ebbd1;font-size:11px}.csm-workflow-check-title .csm-capability{margin-left:2px}.csm-workflow-blocked-label{margin-top:12px!important}.csm-workflow-report-check{display:flex!important;align-items:center;gap:8px;margin-top:12px!important;color:#dceeff!important;font-size:12px}.csm-workflow-report-check input{margin:0}.csm-project-overview-theme .csm-section-workflow-meta{max-width:52%;text-align:right;line-height:1.35}.csm-project-overview-theme .csm-consolidated-step .csm-task-num{font-size:13px;line-height:1.2}.csm-project-overview-theme .csm-task-link{min-height:64px}.csm-workflow-check-copy .csm-capability{vertical-align:middle}
@media(max-width:900px){.csm-project-overview-theme .csm-section-workflow-meta{max-width:58%;white-space:normal}.csm-project-overview-theme .csm-task-link{grid-template-columns:90px minmax(0,1fr) minmax(90px,max-content)!important}}

/* v1.13.182 — new-client Google onboarding assistant. */
.csm-google-setup-question{grid-column:1/-1}
.csm-google-onboarding-card{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:0 0 18px;padding:22px 24px;border:1px solid rgba(85,186,241,.28);border-radius:16px;background:linear-gradient(135deg,rgba(11,41,71,.98),rgba(15,49,84,.98));box-shadow:0 10px 28px rgba(7,29,53,.18)}
.csm-google-onboarding-card.is-emphasis{border-color:rgba(85,186,241,.65);box-shadow:0 12px 32px rgba(7,29,53,.26)}
.csm-google-onboarding-card h2{margin:4px 0 8px;color:#fff;font-size:1.25rem}
.csm-google-onboarding-card p{margin:0;max-width:820px;color:#dceeff;line-height:1.58}
.csm-google-onboarding-kicker{display:inline-block;color:#55baf1;font-size:.75rem;font-weight:800;letter-spacing:.08em}
.csm-google-onboarding-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;min-width:245px}
.csm-google-onboarding-actions .csm-btn{white-space:nowrap}
#csm-google-setup-guide{scroll-margin-top:90px}
@media (max-width:900px){.csm-google-onboarding-card{align-items:flex-start;flex-direction:column}.csm-google-onboarding-actions{justify-content:flex-start;min-width:0;width:100%}}


/* v1.13.183 — dedicated idiot-proof client Google Setup screen. */
.csm-google-setup-screen{max-width:1080px;margin:0 auto}.csm-google-setup-status{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:24px 26px;border:1px solid #28577f;border-radius:16px;background:linear-gradient(135deg,#0b2947,#0f3154);color:#dceeff}.csm-google-setup-status h2{margin:5px 0 8px;color:#fff}.csm-google-setup-status p{margin:0;max-width:760px;line-height:1.55}.csm-google-setup-status>strong{padding:8px 12px;border-radius:999px;background:#123b61;color:#dceeff;white-space:nowrap}.csm-google-setup-status.is-ready{border-color:#357d68}.csm-google-setup-status.is-ready>strong{background:#103a36;color:#c7f5df}
.csm-google-simple-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}.csm-google-simple-progress span{display:flex;min-height:82px;flex-direction:column;justify-content:center;padding:13px 14px;border:1px solid #28577f;border-radius:11px;background:#0b2746}.csm-google-simple-progress i{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;margin-bottom:6px;border-radius:50%;background:#123b61;color:#55baf1;font-style:normal;font-weight:800}.csm-google-simple-progress b{color:#fff;font-size:13px}.csm-google-simple-progress small{margin-top:3px;color:#9fbed5}.csm-google-simple-progress .done{border-color:#357d68}.csm-google-simple-progress .done i{background:#103a36;color:#c7f5df}
.csm-google-simple-note{display:flex;gap:8px;margin:0 0 16px;padding:14px 16px;border-left:4px solid #55baf1;border-radius:9px;background:#0f3154;color:#dceeff}.csm-google-simple-note strong{color:#fff}.csm-google-setup-form{display:grid;gap:12px}.csm-google-simple-step{display:grid;grid-template-columns:48px minmax(0,1fr);gap:16px;padding:20px 22px;border:1px solid #28577f;border-radius:13px;background:#09223d;color:#dceeff}.csm-google-simple-step .csm-step-number{display:flex;width:38px;height:38px;align-items:center;justify-content:center;border-radius:10px;background:#123b61;color:#55baf1;font-size:18px;font-weight:800}.csm-google-simple-step h3{margin:2px 0 8px;color:#fff}.csm-google-simple-step h3 em{margin-left:7px;color:#9fc6df;font-size:11px;font-style:normal;font-weight:700;text-transform:uppercase}.csm-google-simple-step p{margin:0 0 12px;line-height:1.55}.csm-google-simple-step label{display:block;margin-top:12px;color:#fff;font-weight:700}.csm-google-simple-step select{display:block;width:100%;margin-top:7px;padding:10px 12px;border:1px solid #365b7b;border-radius:8px;background:#071d35;color:#fff}.csm-simple-links{margin:10px 0}.csm-simple-links a{color:#55baf1;font-weight:700;text-decoration:none}.csm-simple-links a:hover{text-decoration:underline}.csm-google-setup-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:4px;padding:18px 0 4px;border-top:1px solid #28577f}.csm-google-setup-footer>div{display:flex;flex-wrap:wrap;gap:9px}.csm-google-setup-footer-help{margin:0 0 10px!important;color:#9fbed5!important}
.csm-google-top-skip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:15px 17px;border:1px solid #315f84;border-radius:11px;background:#0b2947;color:#dceeff}.csm-google-top-skip strong,.csm-google-top-skip span{display:block}.csm-google-top-skip strong{color:#fff}.csm-google-top-skip span{margin-top:3px;font-size:13px}.csm-google-top-skip form{flex:0 0 auto;margin:0}
@media(max-width:850px){.csm-google-simple-progress{grid-template-columns:repeat(2,minmax(0,1fr))}.csm-google-setup-footer,.csm-google-setup-status,.csm-google-top-skip{align-items:flex-start;flex-direction:column}}@media(max-width:560px){.csm-google-simple-progress{grid-template-columns:1fr}.csm-google-simple-step{grid-template-columns:1fr}.csm-google-setup-footer>div,.csm-google-top-skip form,.csm-google-top-skip .csm-btn{width:100%}.csm-google-setup-footer .csm-btn{flex:1 1 auto;text-align:center}}

/* v1.13.184 — Rule #1 Google discovery guidance. */
.csm-google-existing-checks{margin:18px 0 24px;padding:22px;border:1px solid rgba(85,186,241,.34);border-radius:16px;background:#0b2947}.csm-google-existing-checks>h3{margin:0 0 6px;color:#fff}.csm-google-existing-checks>p{margin:0 0 18px;color:#dceeff}.csm-google-existing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.csm-google-existing-grid article{padding:17px;border-radius:13px;background:#071d35;border:1px solid rgba(220,238,255,.16)}.csm-google-existing-grid h4{margin:5px 0 9px;color:#fff}.csm-google-existing-grid p,.csm-google-existing-grid small{color:#dceeff}.csm-google-existing-grid small{display:block;opacity:.84;margin-top:10px}.csm-google-check-label{font-size:11px;font-weight:800;letter-spacing:.08em;color:#55baf1}.csm-google-check-action{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:13px 15px;border-radius:11px;background:rgba(85,186,241,.12);color:#dceeff}.csm-google-check-action strong{white-space:nowrap;color:#fff}.csm-google-check-action em{font-style:normal;font-weight:700;color:#fff}@media(max-width:900px){.csm-google-existing-grid{grid-template-columns:1fr}.csm-google-check-action{display:block}.csm-google-check-action strong{display:block;margin-bottom:4px}}

/* v1.13.187 — guided onboarding and dismissible Google setup reminders */
.csm-btn-disabled{opacity:.45!important;cursor:not-allowed!important;filter:saturate(.45)}
.csm-onboarding-next{margin:0 0 22px;padding:20px 22px;border:1px solid rgba(85,186,241,.5);border-left:4px solid #55baf1;border-radius:12px;background:#0f3154;color:#dceeff}
.csm-onboarding-next h2{margin:5px 0 7px;color:#fff}.csm-onboarding-next p{margin:0 0 12px;color:#dceeff}.csm-onboarding-next>strong{display:block;color:#fff;margin-top:10px}
.csm-setup-reminder-list{display:grid;gap:12px;margin-bottom:22px}.csm-setup-reminder{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:16px 18px;border:1px solid rgba(85,186,241,.28);border-left:4px solid #55baf1;border-radius:10px;background:#123b61;color:#dceeff}.csm-setup-reminder>div:first-child{display:grid;gap:4px}.csm-setup-reminder strong{color:#fff}.csm-setup-reminder small{color:#dceeff}.csm-setup-reminder-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.csm-setup-reminder-actions form{margin:0}.csm-setup-reminder .csm-reminder-state{width:max-content;padding:3px 8px;border-radius:999px;background:#071d35;color:#55baf1;font-size:11px;font-weight:800;text-transform:uppercase}
@media(max-width:760px){.csm-setup-reminder{align-items:flex-start;flex-direction:column}.csm-setup-reminder-actions{width:100%}}


/* v1.13.188 — continuous first-run guided workflow */
.csm-guided-trail{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(85,186,241,.28);border-radius:10px;background:#0b2947;color:#9fb8cf;font-size:12px;font-weight:700}
.csm-guided-trail span{padding:7px 10px;border-radius:999px;background:#123b61;white-space:nowrap}
.csm-guided-trail span.done{color:#dceeff}
.csm-guided-trail span.current{background:#2f75b5;color:#fff;box-shadow:0 0 0 1px rgba(85,186,241,.55) inset}
@media(max-width:700px){.csm-guided-trail{display:grid;grid-template-columns:1fr 1fr}.csm-guided-trail span{white-space:normal}}


/* v1.13.193 — change Client Google Setup answer directly from Google Setup. */
.csm-google-answer-shortcut{display:flex;gap:18px;align-items:center;justify-content:space-between;margin:22px 0 16px;padding:18px 20px;border:1px solid rgba(85,186,241,.35);border-radius:14px;background:#0b2947}.csm-google-answer-shortcut h3{margin:3px 0 5px;color:#fff}.csm-google-answer-shortcut p{margin:0;color:#dceeff}.csm-google-answer-controls{display:flex;gap:10px;align-items:center;min-width:460px}.csm-google-answer-controls select{flex:1;min-width:280px}@media(max-width:800px){.csm-google-answer-shortcut,.csm-google-answer-controls{display:block;min-width:0}.csm-google-answer-controls select{width:100%;min-width:0;margin:12px 0 10px}.csm-google-answer-controls .csm-btn{width:100%}}


/* v1.13.194 — explain automatically completed earlier workflow steps. */
.csm-auto-progress-notice{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px;padding:14px 18px;border:1px solid rgba(85,186,241,.42);border-left:4px solid #55baf1;border-radius:10px;background:rgba(85,186,241,.09);color:#dceeff}.csm-auto-progress-notice .csm-auto-progress-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;height:28px;border-radius:50%;background:#1faa59;color:#fff;font-weight:800}.csm-auto-progress-notice strong{color:#fff}.csm-auto-progress-notice p{margin:4px 0 0;color:#dceeff;line-height:1.5}.csm-auto-progress-notice p strong{color:#55baf1}

/* Guided canonical mismatch troubleshooter */
.csm-canon-diagnosis{margin:14px 0;padding:14px 16px;border:1px solid rgba(85,186,241,.32);border-radius:10px;background:rgba(7,29,53,.26)}
.csm-canon-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.csm-canon-values span{display:flex;flex-direction:column;gap:4px;padding:10px;border-radius:8px;background:rgba(255,255,255,.04)}
.csm-canon-values b{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#9fd9f8}
.csm-canon-values code{overflow-wrap:anywhere;color:#fff}
.csm-canon-troubleshooter{margin:14px 0}
.csm-canon-step{margin:0 0 12px;padding:16px;border:1px solid rgba(85,186,241,.34);border-radius:10px;background:rgba(15,49,84,.58);transition:.2s ease}
.csm-canon-step.is-locked{display:none}
.csm-canon-step-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.csm-canon-step-head>strong{color:#fff!important;font-size:15px}
.csm-canon-rank{display:inline-block;padding:4px 8px;border-radius:999px;background:#55baf1;color:#071d35;font-size:10px;font-weight:800;letter-spacing:.07em}
.csm-canon-done{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:9px 12px;border:1px solid rgba(85,186,241,.42);border-radius:8px;cursor:pointer;background:rgba(85,186,241,.08);color:#fff}
.csm-canon-done input{width:auto!important;margin:0!important}
@media(max-width:800px){.csm-canon-values{grid-template-columns:1fr}}

/* v1.13.211 — readable Important Website Pages selector */
.csm-important-pages-form{margin-top:14px}
.csm-important-pages-form .csm-connected-intro{margin:0 0 12px;color:#dceeff;line-height:1.55}
.csm-important-pages-form .csm-table-wrap{overflow-x:auto!important;border-color:#2f668f!important;background:#0b2947!important}
.csm-important-pages-form .csm-url-table{width:100%;table-layout:fixed;border-collapse:collapse}
.csm-important-pages-form .csm-url-table th,.csm-important-pages-form .csm-url-table td{padding:11px 12px!important;vertical-align:middle;border-bottom:1px solid rgba(220,238,255,.14)!important;color:#dceeff!important;white-space:normal!important}
.csm-important-pages-form .csm-url-table th{background:#20547e!important;color:#fff!important;font-size:12px;font-weight:800}
.csm-important-pages-form .csm-url-table th:nth-child(1),.csm-important-pages-form .csm-url-table td:nth-child(1){width:110px}
.csm-important-pages-form .csm-url-table th:nth-child(2),.csm-important-pages-form .csm-url-table td:nth-child(2){width:auto}
.csm-important-pages-form .csm-url-table th:nth-child(3),.csm-important-pages-form .csm-url-table td:nth-child(3){width:70px;text-align:right}
.csm-important-pages-form .csm-url-table th:nth-child(4),.csm-important-pages-form .csm-url-table td:nth-child(4){width:95px;text-align:right}
.csm-important-pages-form .csm-url-table th:nth-child(5),.csm-important-pages-form .csm-url-table td:nth-child(5){width:80px;text-align:right}
.csm-important-pages-form .csm-url-table code{display:block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal;color:#fff!important;font-family:inherit;font-size:13px;line-height:1.4}
.csm-important-pages-form .csm-url-table label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;color:#fff;font-weight:700;white-space:nowrap}
.csm-important-pages-form .csm-url-table input[type=checkbox]{flex:0 0 auto;margin:0;width:16px;height:16px}
.csm-important-pages-form .csm-actions{margin-top:12px}
@media(max-width:760px){.csm-important-pages-form .csm-url-table{min-width:720px}.csm-important-pages-form .csm-table-wrap{overflow-x:auto!important}}


/* v1.13.212 — balanced Important Website Pages columns */
.csm-important-pages-form .csm-url-table th:nth-child(1),
.csm-important-pages-form .csm-url-table td:nth-child(1){width:14%!important;min-width:120px!important;text-align:left!important}
.csm-important-pages-form .csm-url-table th:nth-child(2),
.csm-important-pages-form .csm-url-table td:nth-child(2){width:56%!important;text-align:left!important}
.csm-important-pages-form .csm-url-table th:nth-child(3),
.csm-important-pages-form .csm-url-table td:nth-child(3){width:8%!important;text-align:right!important}
.csm-important-pages-form .csm-url-table th:nth-child(4),
.csm-important-pages-form .csm-url-table td:nth-child(4){width:12%!important;text-align:right!important}
.csm-important-pages-form .csm-url-table th:nth-child(5),
.csm-important-pages-form .csm-url-table td:nth-child(5){width:10%!important;text-align:right!important}
.csm-important-pages-form .csm-url-table code{overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
@media(max-width:760px){
 .csm-important-pages-form .csm-url-table th:nth-child(1),.csm-important-pages-form .csm-url-table td:nth-child(1){width:120px!important}
 .csm-important-pages-form .csm-url-table th:nth-child(2),.csm-important-pages-form .csm-url-table td:nth-child(2){width:390px!important}
 .csm-important-pages-form .csm-url-table th:nth-child(3),.csm-important-pages-form .csm-url-table td:nth-child(3){width:70px!important}
 .csm-important-pages-form .csm-url-table th:nth-child(4),.csm-important-pages-form .csm-url-table td:nth-child(4){width:95px!important}
 .csm-important-pages-form .csm-url-table th:nth-child(5),.csm-important-pages-form .csm-url-table td:nth-child(5){width:80px!important}
}

/* v1.13.219 — universal task decision / repair guidance */
.csm-task-decision{margin:18px 0;padding:18px;border:1px solid rgba(85,186,241,.28);border-radius:14px;background:rgba(7,29,53,.72)}
.csm-task-decision-attention{border-color:rgba(255,184,77,.55)}
.csm-task-decision-pass{border-color:rgba(90,210,140,.45)}
.csm-task-decision-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}
.csm-task-decision-head h3{margin:3px 0 0;color:#fff}
.csm-task-decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.csm-task-decision-grid>div{padding:12px;border-radius:10px;background:rgba(255,255,255,.045)}
.csm-task-decision-grid strong{display:block;color:#55baf1;margin-bottom:5px}
.csm-task-decision-grid p{margin:0;color:#dceeff;line-height:1.55}
.csm-task-recheck-form{margin-top:14px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.csm-task-recheck-form .csm-field-help{max-width:720px}
@media(max-width:800px){.csm-task-decision-grid{grid-template-columns:1fr}.csm-task-decision-head{flex-direction:column}}


/* v1.13.221 — Bug Reporting follows the private-app dark theme. */
.csm-bug-report-intro,
.csm-bug-report-panel{
  background:#0b2947 !important;
  border:1px solid #28577f !important;
  color:#dceeff !important;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}
.csm-bug-report-intro h2,
.csm-bug-report-panel h2,
.csm-bug-report-panel h3,
.csm-bug-report-panel label,
.csm-bug-report-panel strong{color:#fff !important}
.csm-bug-report-intro p,
.csm-bug-report-panel p,
.csm-bug-report-panel .csm-field-help{color:#dceeff !important}
.csm-bug-report-panel .csm-form-row input[type=text],
.csm-bug-report-panel .csm-form-row input[type=email],
.csm-bug-report-panel .csm-form-row select,
.csm-bug-report-panel .csm-form-row textarea{
  background:#071d35 !important;
  border-color:#28577f !important;
  color:#fff !important;
}
.csm-bug-report-panel .csm-form-row input::placeholder,
.csm-bug-report-panel .csm-form-row textarea::placeholder{
  color:#91a9bd !important;
  opacity:1;
}
.csm-bug-report-panel .csm-form-row input:focus,
.csm-bug-report-panel .csm-form-row select:focus,
.csm-bug-report-panel .csm-form-row textarea:focus{
  border-color:#55baf1 !important;
  outline:2px solid rgba(85,186,241,.18) !important;
}
.csm-bug-report-panel .csm-site-audit-notice{
  background:#0f3154 !important;
  border-color:#2f75b5 !important;
  color:#dceeff !important;
}
.csm-bug-report-panel .csm-site-audit-notice strong{color:#fff !important}
.csm-bug-contact-grid{margin-bottom:2px}


/* v1.13.222 — Bug Reporting uses the full dark private-app workspace, not only dark cards. */
.csm-app-content-monitoring-theme .csm-bug-report-intro,
.csm-app-content-monitoring-theme .csm-bug-report-panel{max-width:1380px;margin-left:auto;margin-right:auto}

/* v1.13.224 — give consolidated task-number ranges enough room on Project Overview. */
.csm-project-overview-theme .csm-task-link{
  grid-template-columns:90px minmax(0,1fr) minmax(95px,max-content);
}
.csm-project-overview-theme .csm-consolidated-step .csm-task-num{
  min-width:90px;
  padding-right:14px;
  white-space:normal;
}
@media(max-width:760px){
  .csm-project-overview-theme .csm-task-link{
    grid-template-columns:82px minmax(0,1fr);
  }
  .csm-project-overview-theme .csm-consolidated-step .csm-task-num{
    min-width:82px;
    padding-right:10px;
  }
}
.csm-form-row:has(.csm-address-suggestions){position:relative}
.csm-address-suggestions{position:absolute;z-index:1000;left:0;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid #b8c7d9;border-radius:10px;box-shadow:0 12px 30px rgba(7,29,53,.18);overflow:hidden}
.csm-address-suggestion{display:block;width:100%;padding:10px 12px;border:0;border-bottom:1px solid #e5eaf1;background:#fff;color:#143b66;text-align:left;font:inherit;cursor:pointer}
.csm-address-suggestion:last-child{border-bottom:0}.csm-address-suggestion:hover,.csm-address-suggestion:focus{background:#eaf6fd;outline:0}

/* v1.13.227 — persistent bug-report history and review workflow. */
.csm-bug-version-field input[readonly]{background:#0b2947!important;border-color:#2f75b5!important;color:#69c5fb!important;font-weight:800;cursor:not-allowed}
.csm-bug-history{margin-top:22px}.csm-bug-review-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0}.csm-bug-review-sections section{background:#0f3154;border:1px solid #2f75b5;border-radius:12px;padding:16px}.csm-bug-review-sections section:first-child{grid-column:1/-1}.csm-bug-review-sections h3{margin:0 0 8px;color:#fff}.csm-bug-review-sections p{margin:0;color:#dceeff;white-space:normal}.csm-bug-diagnostics{margin:18px 0;background:#0b2947!important}.csm-bug-status-open{background:#9b2c2c!important;color:#fff!important}.csm-bug-status-solved{background:#19713c!important;color:#fff!important}.csm-bug-review .csm-detail-list a{color:#69c5fb}@media(max-width:760px){.csm-bug-review-sections{grid-template-columns:1fr}.csm-bug-review-sections section:first-child{grid-column:auto}}

/* v1.13.232 — optional, read-only AI task assistance. */
.csm-ai-task-help{margin-top:18px;border-color:rgba(85,186,241,.45)!important;background:linear-gradient(145deg,rgba(15,49,84,.98),rgba(7,29,53,.98))!important}
.csm-ai-help-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.csm-ai-help-heading h3{margin:4px 0 0;color:#fff}.csm-ai-readonly{display:inline-flex;padding:5px 9px;border-radius:999px;background:rgba(85,186,241,.13);border:1px solid rgba(85,186,241,.35);color:#8bd5ff;font-size:11px;font-weight:800;white-space:nowrap}
.csm-ai-prompts{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.csm-ai-prompts button{appearance:none;border:1px solid #2f75b5;border-radius:999px;background:#0b2947;color:#dceeff;padding:7px 10px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.csm-ai-prompts button:hover,.csm-ai-prompts button:focus{border-color:#55baf1;background:#123b61;outline:0}
.csm-ai-task-help textarea{width:100%;min-height:90px;margin:0 0 10px;background:#071d35!important;border:1px solid #28577f!important;color:#fff!important}.csm-ai-task-help form>.csm-btn{width:100%}.csm-ai-task-help .csm-field-help{display:block;margin-top:10px}
.csm-ai-answer{margin:14px 0;padding:14px;border-left:3px solid #55baf1;border-radius:9px;background:rgba(85,186,241,.09);color:#dceeff}.csm-ai-answer>strong{display:block;color:#69c5fb;margin:0 0 5px}.csm-ai-answer>p{margin:0 0 12px}.csm-ai-answer>div{line-height:1.6;white-space:normal}
.csm-ai-sharing-note{margin:15px 0;padding:14px;border:1px solid rgba(85,186,241,.28);border-radius:10px;background:rgba(85,186,241,.07)}.csm-ai-sharing-note strong{color:#fff}.csm-ai-sharing-note p{margin:5px 0 0;color:#dceeff}
@media(max-width:760px){.csm-ai-help-heading{flex-direction:column}.csm-ai-settings .csm-actions .csm-btn{width:100%;text-align:center}}

/* v1.13.233 — status must never float over long AI answers. */
.csm-task-sidebar .csm-current-status-panel{position:static!important;top:auto!important}

/* v1.13.263 — imported-audit navigation and clear outcome badges. */
.csm-initial-audit-lists{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.csm-initial-audit-lists>div{background:#0c2d4b;border:1px solid #28577f;border-radius:10px;padding:14px}
.csm-initial-audit-lists h4{color:#fff!important;margin:0 0 10px}
.csm-initial-finding{display:grid;gap:3px;margin:8px 0;padding:10px 12px;border-radius:8px;background:#123b61;color:#dceeff}
.csm-initial-finding strong{color:#fff}.csm-initial-finding span{font-size:12px;color:#dceeff}
.csm-initial-finding.warn{border-left:4px solid #f0b44d}.csm-initial-finding.info{border-left:4px solid #55baf1}
.csm-passed-summary-badge,.csm-passed-row-badge{display:inline-flex;align-items:center;border-radius:999px;background:#dff4e6!important;color:#17663a!important;font-size:11px;font-weight:900;padding:5px 9px;white-space:nowrap}
.csm-passed-row-badge{justify-self:start}
.csm-guided-next{border:1px solid #2f75b5!important;border-left:5px solid #55baf1!important;background:linear-gradient(135deg,#0b2947,#0f3154)!important;color:#dceeff!important}.csm-guided-next h2{color:#fff!important;margin:8px 0}.csm-guided-next p{color:#dceeff!important;max-width:900px}.csm-guided-next form{margin:0}.csm-guided-audit-trail{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:20px}.csm-guided-audit-trail span{padding:7px 10px;border-radius:999px;border:1px solid #416789;color:#a9c2d7;font-size:11px;font-weight:800}.csm-guided-audit-trail span.done{background:#174f3b;border-color:#2d8a63;color:#c9f5df}.csm-guided-audit-trail span.skipped{background:#4b4652;border-color:#746b7b;color:#eee7f2}.csm-guided-audit-trail span.current{background:#1c6598;border-color:#55baf1;color:#fff;box-shadow:0 0 0 3px rgba(85,186,241,.12)}
.csm-pagespeed-only-baseline>.csm-monitor-help,.csm-pagespeed-only-baseline>.csm-monitoring-intro,.csm-pagespeed-only-baseline>.csm-monitoring-record-types,.csm-pagespeed-only-baseline>.csm-monitor-project-picker,.csm-pagespeed-only-baseline>.csm-monitoring-speed-group{display:none!important}.csm-pagespeed-only-baseline .csm-monitoring-seo-group>.csm-monitoring-group-head{display:none}.csm-pagespeed-only-baseline .csm-monitoring-seo-group>.csm-monitoring-group-body>:not(.csm-auto-snapshot-panel){display:none!important}.csm-pagespeed-only-baseline .csm-auto-snapshot-sources>div:nth-child(1),.csm-pagespeed-only-baseline .csm-auto-snapshot-sources>div:nth-child(2),.csm-pagespeed-only-baseline .csm-auto-snapshot-sources>div:nth-child(4){display:none}.csm-pagespeed-only-baseline .csm-auto-snapshot-sources{grid-template-columns:1fr}.csm-pagespeed-only-baseline .csm-auto-snapshot-panel{max-width:920px;margin-left:auto;margin-right:auto}
@media(max-width:700px){.csm-initial-audit-lists{grid-template-columns:1fr}}

/* v1.13.234 — return-to-saved-section notices and visible workflow AI help. */
.csm-settings-subsection,.csm-workflow-check,.csm-ai-task-help,.csm-panel,.csm-workflow-form{scroll-margin-top:142px}
.csm-flash-dismiss{position:absolute;right:9px;top:8px;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.17);color:#fff;font-size:20px;line-height:28px;font-weight:700;cursor:pointer}.csm-flash-dismiss:hover,.csm-flash-dismiss:focus{background:rgba(255,255,255,.3);outline:2px solid rgba(255,255,255,.45)}
.csm-flash:has(.csm-flash-dismiss){padding-right:46px!important}
.csm-workflow-why+.csm-ai-task-help{margin-top:16px;margin-bottom:18px}

/* v1.13.236 — quick navigation for long application pages. */
.csm-page-jump-nav{position:sticky;top:58px;z-index:16;display:flex;align-items:center;gap:14px;width:100%;max-width:1380px;margin:-8px auto 20px;padding:10px 12px;border:1px solid rgba(85,186,241,.32);border-radius:11px;background:rgba(7,29,53,.96);box-shadow:0 8px 18px rgba(0,0,0,.15);backdrop-filter:blur(8px)}
.csm-page-jump-nav>strong{flex:0 0 auto;color:#fff;font-size:12px;white-space:nowrap}.csm-page-jump-buttons{display:flex;flex-wrap:wrap;gap:7px;min-width:0;overflow:visible;padding:1px}.csm-page-jump-buttons button{flex:0 0 auto;border:1px solid #28577f;border-radius:999px;background:#123b61;color:#dceeff;padding:6px 10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer;white-space:nowrap}.csm-page-jump-buttons button:hover,.csm-page-jump-buttons button:focus,.csm-page-jump-buttons button.is-active{background:#2f75b5;border-color:#55baf1;color:#fff;outline:0}.csm-page-jump-select{display:none;width:100%;padding:9px 10px;border:1px solid #397ba8;border-radius:8px;background:#0b2947;color:#fff;font:inherit;font-weight:700}
.csm-page-jump-nav+*{scroll-margin-top:130px}
.csm-app-content-settings-theme .csm-page-jump-buttons{display:grid;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:max-content;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}
@media(max-width:760px){.csm-page-jump-nav{top:58px;display:block;padding:9px}.csm-page-jump-nav>strong,.csm-page-jump-buttons{display:none}.csm-page-jump-select{display:block}}

/* v1.13.237 — clickable status-summary filters. */
.csm-project-overview-theme .csm-project-status-metrics>button{overflow:hidden;background:linear-gradient(180deg,var(--csm-overview-card-2),var(--csm-overview-card));border:1px solid var(--csm-overview-border);border-radius:15px;padding:20px;box-shadow:0 8px 22px rgba(0,0,0,.13)}
.csm-project-overview-theme .csm-project-status-metrics>button:after{content:"";position:absolute;left:0;right:0;bottom:0;height:4px;background:var(--csm-overview-cyan)}
.csm-project-overview-theme .csm-project-status-metrics>button.complete:after{background:var(--csm-overview-green)}
.csm-project-overview-theme .csm-project-status-metrics>button.in-progress:after{background:#58c5ff}
.csm-project-overview-theme .csm-project-status-metrics>button.attention:after{background:var(--csm-overview-yellow)}
.csm-project-overview-theme .csm-project-status-metrics>button.blocked:after{background:var(--csm-overview-red)}
.csm-project-overview-theme .csm-project-status-metrics>button.na:after{background:#9cb2c5}
.csm-project-overview-theme .csm-project-filter-results{background:#0b2746;border:1px solid #2b5e87;border-radius:15px;overflow:hidden;margin:0 0 20px;box-shadow:0 8px 22px rgba(0,0,0,.13)}
.csm-project-overview-theme [data-csm-project-filter-results][hidden],.csm-project-overview-theme [data-csm-project-filter-section][hidden],.csm-project-overview-theme [data-csm-project-task-status][hidden]{display:none!important}
.csm-project-overview-theme .csm-project-filter-results>.csm-section-head{margin:0;padding:15px 18px;background:linear-gradient(90deg,#11375f,#0e2c4e);border-bottom:1px solid #28547d}
.csm-project-overview-theme .csm-project-filter-results h2{color:#fff}
.csm-project-overview-theme .csm-project-filter-results .csm-badge{justify-self:end}
.csm-app-content-actions-theme .csm-action-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.csm-app-content-actions-theme .csm-action-filters a{position:relative;min-height:92px;padding:17px 18px;border-radius:15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;background:linear-gradient(180deg,#11375f,#0e2d50);border:1px solid #28547d;box-shadow:0 8px 22px rgba(0,0,0,.13)}
.csm-app-content-actions-theme .csm-action-filters a:after{display:none}
.csm-app-content-actions-theme .csm-action-filters a>span{font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.csm-app-content-actions-theme .csm-action-filters .csm-action-filter-count{font-size:27px;background:transparent!important;border:0!important;padding:0!important;line-height:1.1;color:#fff!important}
@media(max-width:1000px){.csm-app-content-actions-theme .csm-action-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.csm-app-content-actions-theme .csm-action-filters{grid-template-columns:1fr 1fr;gap:9px}.csm-app-content-actions-theme .csm-action-filters a{min-height:82px;padding:14px}}
@media(max-width:700px){.csm-project-overview-theme .csm-project-status-metrics>button{padding:16px}}

/* v1.13.242 — keep the complete task sidebar available without overlapping its cards. */
@media(min-width:1001px){
  .csm-app-content-project-theme .csm-task-sidebar{position:sticky!important;top:76px!important;align-self:start;max-height:calc(100vh - 92px);overflow-y:auto;overflow-x:visible;overscroll-behavior:contain;scrollbar-width:thin;z-index:12}
}
@media(max-width:1000px){
  .csm-app-content-project-theme .csm-task-sidebar{position:static!important;top:auto!important;max-height:none;overflow:visible}
}

/* v1.13.243 — clear both the fixed top bar and the sticky task jump menu. */
@media(min-width:1001px){
  .csm-app-content-project-theme .csm-task-sidebar{top:124px!important;max-height:calc(100vh - 140px)}
}

/* v1.13.244 — show completed SEO checks against the full check total. */
.csm-project-overview-theme .csm-project-status-metrics>button.complete strong{display:flex;align-items:baseline;gap:7px;white-space:nowrap}
.csm-project-overview-theme .csm-project-status-metrics>button.complete strong em{color:var(--csm-overview-muted);font-size:15px;font-style:normal;font-weight:700}

/* v1.13.260 — fully scoped dark issue-first audit results. */
.csm-project-overview-theme .csm-audit-results{margin-top:28px;padding:24px;background:linear-gradient(180deg,#102f51,#0b2746);border:1px solid #28547d;border-radius:16px;box-shadow:0 10px 26px rgba(0,0,0,.18);color:#dcecff}.csm-project-overview-theme .csm-audit-results>.csm-section-head{align-items:flex-start;border-bottom:1px solid rgba(85,186,241,.24);padding-bottom:19px;margin:0 0 16px}.csm-project-overview-theme .csm-audit-results>.csm-section-head h2{margin:3px 0 6px;color:#fff;font-size:24px}.csm-project-overview-theme .csm-audit-results>.csm-section-head p{max-width:760px;margin:0;color:#b9d0e4;line-height:1.6}.csm-project-overview-theme .csm-audit-results .csm-kicker{color:#55baf1}.csm-project-overview-theme .csm-audit-results>.csm-section-head .csm-btn.secondary{background:#dceeff;border-color:#b7d4e9;color:#143b66!important}.csm-project-overview-theme .csm-audit-results>.csm-section-head .csm-btn.secondary:hover{background:#fff;border-color:#fff}.csm-project-overview-theme .csm-audit-findings{gap:10px}.csm-project-overview-theme .csm-audit-findings .csm-task-link{border:1px solid #66552c;border-left:4px solid #f2b84b;border-radius:10px;background:linear-gradient(90deg,#393326,#2b2c2c);padding:15px 16px}.csm-project-overview-theme .csm-audit-findings .csm-task-link:hover{background:linear-gradient(90deg,#443b28,#303538);border-color:#8b7438}.csm-project-overview-theme .csm-audit-findings .csm-task-num{min-width:72px;color:#ffd27a}.csm-project-overview-theme .csm-audit-findings .csm-task-link strong{color:#fff;font-size:15px}.csm-project-overview-theme .csm-audit-findings .csm-task-link small{color:#b5c9da;line-height:1.45}.csm-project-overview-theme .csm-audit-findings .csm-task-state{color:#dceeff;font-weight:800}.csm-project-overview-theme .csm-audit-secondary{margin-top:13px;border:1px solid #34658e;border-radius:11px;background:#0b2947;overflow:hidden}.csm-project-overview-theme .csm-audit-secondary>summary{cursor:pointer;padding:15px 16px;color:#f4f9ff;font-weight:800;list-style-position:inside}.csm-project-overview-theme .csm-audit-secondary>summary:hover{background:#123b61}.csm-project-overview-theme .csm-audit-secondary[open]>summary{border-bottom:1px solid #28547d;background:#102f51}.csm-project-overview-theme .csm-audit-secondary>p{margin:0;padding:14px 16px;color:#b9d0e4}.csm-project-overview-theme .csm-audit-secondary .csm-task-list{padding:0 12px 12px}.csm-project-overview-theme .csm-audit-secondary .csm-task-link{margin-top:8px;border:1px solid #28547d;border-radius:9px}@media(max-width:700px){.csm-project-overview-theme .csm-audit-results{padding:18px}.csm-project-overview-theme .csm-audit-results>.csm-section-head{display:block}.csm-project-overview-theme .csm-audit-results>.csm-section-head .csm-btn{margin-top:14px}.csm-project-overview-theme .csm-audit-findings .csm-task-link{grid-template-columns:1fr}.csm-project-overview-theme .csm-audit-findings .csm-task-num{min-width:0}.csm-project-overview-theme .csm-audit-findings .csm-task-state{justify-content:flex-start;text-align:left}}
