
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&display=swap');
.kp21f-shell{--navy:#0f6e5b;--navy-dark:#0b5347;--accent:#d98e04;--bg:#f2f5f4;--ink:#14213d;--muted:#5b6472;max-width:1280px;margin:28px auto;padding:0 18px;color:var(--ink);font-family:'Inter',Arial,sans-serif}
.kp21f-shell h1,.kp21f-shell h2,.kp21f-shell h3,.kp21f-kicker{font-family:'Space Grotesk',Arial,sans-serif}
.kp21f-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:26px;border-radius:18px;background:linear-gradient(135deg,#fff,#f5f7ff);border:1px solid #e5e8f1;margin-bottom:18px}
.kp21f-topbar h1{margin:4px 0 5px;font-size:32px}.kp21f-topbar p{margin:0;color:var(--muted)}.kp21f-kicker{font-size:12px;font-weight:800;letter-spacing:.12em;color:var(--navy)}
.kp21f-card{background:#fff;border:1px solid #e1e6e4;border-radius:18px;padding:22px;margin:16px 0;box-shadow:0 4px 18px rgba(20,33,61,.05)}
/* Sept 2026: Stage 3 Content Intake form needs the full available width, not the reading-width
   .kp21f-card itself already gets by default -- the actual constraint is .kp21f-shell's own
   max-width:1280px (the card has no max-width of its own; traced via its call site in
   KP21_Section_Pages::admin_shortcode(), which prints the card as a direct child of .kp21f-shell).
   :has() is already relied on elsewhere in this stylesheet (see .kp21f-shell.customer
   .aiseo-customer-layer-card:has(.kp21f-status.complete) further below), so the same technique is
   used here to widen the shell itself only when it directly contains a .kp21f-fullwidth card,
   instead of narrowing every other admin panel on the page. */
.kp21f-card.kp21f-fullwidth{max-width:none;width:100%}
.kp21f-shell:has(>.kp21f-card.kp21f-fullwidth){max-width:none}
.kp21f-card h2{margin:0 0 14px}.kp21f-card h3{margin:20px 0 10px}.kp21f-inline{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.kp21f-inline label{min-width:240px;font-weight:700}
.kp21f-shell select,.kp21f-shell input,.kp21f-shell textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cfd5e1;border-radius:9px;background:#fff}
.kp21f-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--navy);color:#fff!important;text-decoration:none;border:0;border-radius:9px;padding:11px 16px;font-weight:700;cursor:pointer;transition:transform .12s ease}.kp21f-btn:hover{transform:translateY(-1px)}.kp21f-btn.secondary{background:#fff;color:var(--navy)!important;border:1px solid #cad1e2}.kp21f-btn.small{padding:8px 11px;font-size:12px}
.kp21f-grid{display:grid;gap:12px;margin:14px 0}.kp21f-grid.cols4{grid-template-columns:repeat(4,1fr)}.kp21f-stat{background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:16px}.kp21f-stat span{display:block;color:var(--muted);font-size:12px;margin-bottom:6px}.kp21f-stat strong{font-size:18px}
.kp21f-sectionhead{display:flex;justify-content:space-between;align-items:center;gap:15px}.kp21f-sectionhead p{margin:4px 0;color:var(--muted)}
.kp21f-layer{display:grid;grid-template-columns:minmax(280px,1.3fr) minmax(160px,1fr) 100px 105px;align-items:center;gap:14px;border-top:1px solid #eef0f4;padding:13px 0}.kp21f-layer:first-child{border-top:0}.kp21f-layer>div:first-child{display:grid;grid-template-columns:30px 1fr}.kp21f-layer small{grid-column:2;color:var(--muted)}.kp21f-layernum{width:26px;height:26px;border-radius:7px;background:#eef1ff;display:inline-flex;align-items:center;justify-content:center;color:var(--navy);font-weight:800}
.kp21f-progress{height:8px;background:#edf0f5;border-radius:99px;overflow:hidden}.kp21f-progress i{display:block;height:100%;background:var(--navy)}.kp21f-status{display:inline-block;background:#f1f4f9;border-radius:99px;padding:6px 9px;font-size:12px;font-weight:700}
.kp21f-status.complete{background:#e6f2ef;color:#0b5347}.kp21f-status.in_progress{background:#fbf0dc;color:#8a5a00}.kp21f-status.in_review{background:#e8eefb;color:#3457a6}.kp21f-status.pending{background:#eef0f3;color:#5b6472}.kp21f-status.scheduled{background:#e8eefb;color:#3457a6}.kp21f-status.failed{background:#fbeae7;color:#c1442e}
.kp21f-tablewrap{overflow:auto}.kp21f-table{width:100%;border-collapse:collapse;font-size:13px}.kp21f-table th,.kp21f-table td{text-align:left;border-bottom:1px solid #edf0f4;padding:10px 9px;vertical-align:top}.kp21f-table th{background:#f8f9fc;white-space:nowrap}
.kp21f-data-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.kp21f-data-grid>div{background:#f8f9fc;border-radius:10px;padding:11px}.kp21f-data-grid span{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}.kp21f-data-grid b{font-size:13px;font-weight:600;word-break:break-word}
.kp21f-alert{padding:13px;border-radius:9px;margin:10px 0}.kp21f-alert.warn{background:#fff7e8;border:1px solid #f2d293}.kp21f-alert.error{background:#fff1f1;border:1px solid #efb4b4}.kp21f-muted{color:var(--muted)}.kp21f-link{color:var(--navy);font-weight:700}
.kp21f-login{max-width:440px;margin:60px auto;padding:28px;background:#fff;border:1px solid #e2e6ee;border-radius:16px}.kp21f-login input{width:100%;padding:10px}
@media(max-width:900px){.kp21f-grid.cols4{grid-template-columns:repeat(2,1fr)}.kp21f-layer{grid-template-columns:1fr}.kp21f-data-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.kp21f-grid.cols4,.kp21f-data-grid{grid-template-columns:1fr}.kp21f-topbar,.kp21f-sectionhead{flex-direction:column;align-items:stretch}}

.kp21f-field{position:relative;min-height:100px}.kp21f-chip{display:inline-flex;margin-top:8px;padding:4px 8px;border-radius:999px;font-size:11px;font-style:normal;font-weight:800}
.kp21f-chip.completed,.kp21f-chip.verified{background:#eaf8ef;color:#16753a}.kp21f-chip.missing{background:#fff3e5;color:#9a5a00}.kp21f-chip.na{background:#eef1f5;color:#5d6675}
.kp21f-editfield,.kp21f-editdate{display:block;margin-top:10px;border:0;background:transparent;color:#1e2b66;font-weight:800;cursor:pointer;padding:0}
.kp21f-company-profile{width:100%}.kp21f-company-profile-body{width:100%;box-sizing:border-box;background:#f8f9fc;border-radius:12px;padding:18px;min-height:120px;line-height:1.65}
.kp21f-modal{position:fixed;inset:0;background:rgba(18,27,52,.55);z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.kp21f-modal[hidden]{display:none}.kp21f-modal-card{position:relative;width:min(680px,100%);background:#fff;border-radius:16px;padding:24px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.kp21f-modal-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:28px;cursor:pointer}

.kp21f-accordion{padding:0!important;overflow:hidden}
.kp21f-accordion-head{width:100%;display:grid;grid-template-columns:minmax(240px,1fr) auto 72px 28px;gap:18px;align-items:center;text-align:left;border:0;background:#fff;padding:17px 19px;cursor:pointer;color:#182033}
.kp21f-accordion-head:hover{background:#f8f9fc}
.kp21f-accordion-name{font-size:15px;font-weight:800}
.kp21f-accordion-complete{font-size:12px;font-weight:700;color:#667085;white-space:nowrap}
.kp21f-accordion-percent{display:inline-flex;justify-content:center;padding:6px 8px;border-radius:999px;background:#eef1ff;color:#1e2b66;font-size:12px;font-weight:900}
.kp21f-accordion-arrow{font-size:21px;font-weight:800;text-align:center;color:#1e2b66}
.kp21f-accordion-body{padding:4px 19px 20px;border-top:1px solid #edf0f4}
.kp21f-accordion-body[hidden]{display:none!important}
.kp21f-company-profile.kp21f-accordion{width:100%}
@media(max-width:700px){
 .kp21f-accordion-head{grid-template-columns:1fr auto 26px;gap:9px}
 .kp21f-accordion-complete{grid-column:1/-1;grid-row:2}
 .kp21f-accordion-percent{grid-column:2;grid-row:1}
 .kp21f-accordion-arrow{grid-column:3;grid-row:1}
}

.kp21f-layer-shell{border-top:1px solid #eef0f4}.kp21f-layer-shell:first-child{border-top:0}.kp21f-layer-shell .kp21f-layer{border-top:0}.kp21f-layer-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.kp21f-layer-detail-wrap{padding:4px 0 22px}.kp21f-layer-detail-wrap[hidden]{display:none!important}.kp21f-layer-detail{background:#fafbfe;border:1px solid #e7eaf1;border-radius:12px;padding:16px}.kp21f-layer-detail .kp21f-table{background:#fff}.kp21f-layer-detail .kp21f-table th{position:sticky;top:0;z-index:1}.kp21f-layer-detail .kp21f-table td{max-width:360px;word-break:break-word}@media(max-width:900px){.kp21f-layer-actions{justify-content:flex-start}}

.kp21f-provider-grid{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:10px;margin:12px 0 18px}
.kp21f-provider-card{background:#fff;border:1px solid #e5e8ef;border-radius:12px;padding:12px}
.kp21f-provider-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.kp21f-provider-card p{font-size:12px;color:#9a2c2c;margin:8px 0 0}
@media(max-width:900px){.kp21f-provider-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.kp21f-provider-grid{grid-template-columns:1fr}}

.kp21f-endpoint{max-width:280px;word-break:break-all;font-size:11px;color:#475467}

.kp21f-taskbox{margin:12px 0 26px;padding:16px;border:1px solid #e4e7ec;border-radius:12px;background:#fafbfc}.kp21f-taskbox h3{margin:0 0 8px}

.kp21f-collapse-body[hidden]{display:none!important}
.kp21f-sectionhead .kp21f-collapse-toggle{margin-left:auto}
.kp21f-autohead{display:flex;align-items:center;gap:12px;justify-content:space-between}
.kp21f-taskstats{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.kp21f-taskstats span,.kp21f-taskstate{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f2f4f7;font-size:12px;font-weight:700}.kp21f-taskstats i,.kp21f-taskstate i{width:8px;height:8px;border-radius:50%;display:inline-block}.pending i,.kp21f-taskstate.pending i{background:#98a2b3}.progress i,.kp21f-taskstate.in_progress i{background:#f79009}.complete i,.kp21f-taskstate.completed i{background:#12b76a}.kp21f-taskstats .progress,.kp21f-taskstate.in_progress{background:#fff4e5}.kp21f-taskstats .complete,.kp21f-taskstate.completed{background:#ecfdf3}.kp21f-taskstats .percent{background:#eef2ff}.kp21f-summarygrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:12px;margin:16px 0}.kp21f-summaryitem{padding:14px;border:1px solid #e4e7ec;border-radius:12px}.kp21f-summaryitem span{display:block;font-size:12px;color:#667085}.kp21f-summaryitem strong{font-size:24px}.kp21f-masterprogress{height:10px;background:#eaecf0;border-radius:999px;overflow:hidden}.kp21f-masterprogress i{height:100%;display:block;background:var(--navy)}
.kp21f-layerstats{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.kp21f-layerstats span{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#f2f4f7;font-size:12px;font-weight:700}
.kp21f-layerstats i{width:8px;height:8px;border-radius:50%;display:inline-block}
.kp21f-layerstats .pending i{background:#98a2b3}.kp21f-layerstats .progress i{background:#f79009}.kp21f-layerstats .complete i{background:#12b76a}
.kp21f-layerstats .progress{background:#fff4e5}.kp21f-layerstats .complete{background:#ecfdf3}.kp21f-layerstats .percent{background:#eef2ff}.kp21f-layerstats .sources{background:#f0f9ff}
.kp21f-categorylabel{display:inline-flex;margin-top:6px;font-size:10px;font-weight:800;letter-spacing:.08em;color:#175cd3;background:#eff8ff;border-radius:999px;padding:4px 8px}
.kp21f-categorylabel.task{color:#7a2e0e;background:#fff4e5}
.kp21f-status.complete{background:#ecfdf3;color:#027a48}
.kp21f-status.partial,.kp21f-status.running{background:#fff4e5;color:#b54708}

.kp21f-status.scheduled{background:#f2f4f7;color:#667085}
.kp21f-scheduled-layer{opacity:.88}
.kp21f-scheduled-layer .kp21f-sectionhead{min-height:72px}

.kp21f-build-marker{display:inline-flex;margin:0 0 10px 0;padding:5px 9px;border-radius:999px;background:#eef2ff;color:#3448a8;font-size:11px;font-weight:700}

.kp21f-layer-anchor{display:block;height:1px;width:100%}
.kp21f-failsafe-layer{border-left:3px solid #d0d5dd}

/* v7.6.8: cards must not swallow later customer layers */
.kp21f-card{clear:both}
.kp21f-layer-anchor{clear:both}

.kp21f-layerdate{margin:7px 0 10px;color:#5d6b82;font-size:14px}.kp21f-layerdate b{color:#344054}

/* AI-SEO safe distribution navigation preview — no routing/login changes */
.aiseo-safe-nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}
.aiseo-safe-nav span{padding:8px 11px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;font-weight:700;font-size:13px}
.aiseo-safe-nav span.active{background:#f2f4f7;border-color:#667085}

/* AI-SEO Team safe distribution patch */

/* AI-SEO resolved context safe distribution patch */
.aiseo-context-panel pre{max-height:420px;overflow:auto}

/* AI-SEO 7 physical Customer pages */
.aiseo-page-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}.aiseo-page-nav a{padding:9px 12px;border:1px solid #d0d5dd;border-radius:9px;text-decoration:none;font-weight:700;background:#fff}.aiseo-page-nav a.active{background:#f2f4f7;border-color:#667085}

/* AI-SEO v7.9.0 responsive Customer header tabs */
.aiseo-page-nav{
 display:flex;
 align-items:center;
 gap:6px;
 width:100%;
 margin:0 0 18px;
 padding:6px;
 background:#fff;
 border:1px solid #e4e7ec;
 border-radius:12px;
 overflow-x:auto;
 overflow-y:hidden;
 -webkit-overflow-scrolling:touch;
 scrollbar-width:thin;
}
.aiseo-page-nav a{
 flex:1 0 auto;
 min-width:max-content;
 padding:10px 13px;
 border:0;
 border-radius:8px;
 text-decoration:none;
 text-align:center;
 font-weight:700;
 white-space:nowrap;
}
.aiseo-page-nav a.active{
 background:#f2f4f7;
 box-shadow:inset 0 0 0 1px #98a2b3;
}
@media (max-width:782px){
 .aiseo-page-nav{justify-content:flex-start;padding:5px;gap:4px}
 .aiseo-page-nav a{flex:0 0 auto;padding:9px 11px;font-size:13px}
}
@media (max-width:480px){
 .aiseo-page-nav{border-radius:10px;margin-bottom:14px}
 .aiseo-page-nav a{padding:8px 10px;font-size:12px}
}

/* AI-SEO v7.9.1 Admin + Team section tabs use shared responsive .aiseo-page-nav */

/* AI-SEO v7.9.4 canonical internal linking */
.aiseo-internal-links{margin:0 0 18px;padding:14px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}
.aiseo-internal-links-title{font-weight:800;margin:0 0 10px}
.aiseo-internal-links-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.aiseo-internal-link{display:flex;flex-direction:column;gap:3px;padding:10px;border:1px solid #eaecf0;border-radius:9px;text-decoration:none;min-width:0}
.aiseo-internal-link span{font-weight:700;overflow:hidden;text-overflow:ellipsis}
.aiseo-internal-link small{opacity:.7}
.aiseo-internal-link.active{background:#f2f4f7;border-color:#98a2b3}
@media(max-width:1100px){.aiseo-internal-links-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:782px){.aiseo-internal-links-grid{display:flex;overflow-x:auto;padding-bottom:3px}.aiseo-internal-link{flex:0 0 155px}}

/* AI-SEO v7.9.5 Unified A.C.T Navigation */
.aiseo-page-nav,.aiseo-safe-nav{display:none!important}
.aiseo-internal-links{margin:0 0 18px;padding:16px;border:1px solid #e4e7ec;border-radius:14px;background:#fff}
.aiseo-internal-links-title{font-weight:800;font-size:18px;margin:0 0 12px}
.aiseo-internal-links-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.aiseo-internal-link{display:flex;flex-direction:column;gap:4px;padding:14px 13px;border:1px solid #e4e7ec;border-radius:10px;text-decoration:none;min-width:0;background:#fff}
.aiseo-internal-link span{font-weight:800;line-height:1.25}
.aiseo-internal-link small{opacity:.72;font-size:12px}
.aiseo-internal-link.active{background:#f2f4f7;border-color:#98a2b3;box-shadow:inset 0 0 0 1px #98a2b3}
@media(max-width:1100px){.aiseo-internal-links-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:782px){.aiseo-internal-links{padding:12px}.aiseo-internal-links-grid{display:flex;overflow-x:auto;gap:7px;padding-bottom:4px;-webkit-overflow-scrolling:touch}.aiseo-internal-link{flex:0 0 170px}}
@media(max-width:480px){.aiseo-internal-links-title{font-size:16px}.aiseo-internal-link{flex-basis:155px;padding:11px}}

/* AI-SEO v7.9.6 section mapping context */
.aiseo-section-context{margin:-8px 0 18px;padding:9px 12px;border-left:3px solid #98a2b3;background:#f9fafb;border-radius:6px}.aiseo-map-active td{font-weight:700}

/* AI-SEO v7.9.7 A.C.T subsection navigation */
.aiseo-subsection-nav{margin:0 0 18px;padding:14px;border:1px solid #e4e7ec;border-radius:12px;background:#fff}
.aiseo-subsection-title{font-weight:800;margin:0 0 10px}
.aiseo-subsection-grid{display:flex;flex-wrap:wrap;gap:8px}
.aiseo-subsection-link{display:inline-block;padding:9px 12px;border:1px solid #e4e7ec;border-radius:9px;text-decoration:none;background:#fff;font-weight:700}
.aiseo-subsection-link.active{background:#f2f4f7;border-color:#98a2b3}
@media(max-width:782px){.aiseo-subsection-grid{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.aiseo-subsection-link{flex:0 0 auto}}

/* AI-SEO v8.0.0 A.C.T Workflow */
.aiseo-act-workflow{margin-bottom:18px}
.aiseo-act-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}
.aiseo-act-title b{font-size:18px}.aiseo-act-title span{font-size:13px;opacity:.75}
.aiseo-act-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.aiseo-act-grid label>span{display:block;font-weight:800;margin-bottom:5px}
.aiseo-act-grid select{width:100%;max-width:none}
.aiseo-act-context{margin-top:10px;padding:8px 10px;background:#f9fafb;border-radius:8px}
@media(max-width:782px){.aiseo-act-grid{grid-template-columns:1fr}.aiseo-act-title{align-items:flex-start;flex-direction:column}}

/* AI-SEO v8.0.1 strict Admin workflow */
.aiseo-act-workflow .kp21f-btn.small{margin-top:8px}
.aiseo-act-workflow select:disabled{opacity:.55;cursor:not-allowed}
.aiseo-act-context{border-left:3px solid #98a2b3}

/* v8.0.2 hard-gated Admin workflow */
.aiseo-act-five{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;align-items:start}
.aiseo-act-five label>span,.aiseo-act-step5>span{display:block;font-weight:800;margin-bottom:5px}
.aiseo-act-five select{width:100%;max-width:none}
.aiseo-act-step5{padding:0 4px}.aiseo-act-step5 strong,.aiseo-act-step5 small{display:block}
@media(max-width:1100px){.aiseo-act-five{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:782px){.aiseo-act-five{grid-template-columns:1fr}}

/* v8.0.3 Task Summary */
.aiseo-task-summary{margin:10px 0 18px}.aiseo-task-summary .kp21f-taskstats{margin-top:10px}

/* v8.0.4 */
.aiseo-profile-layers-full,.aiseo-profile-layer-card,.aiseo-profile-layer-card .kp21f-taskbox,.aiseo-profile-layer-detail{width:100%;max-width:none;box-sizing:border-box}.aiseo-profile-layer-card{margin-bottom:16px}.aiseo-profile-layer-detail{display:block!important}.aiseo-profile-layer-detail>.kp21f-layer-detail{display:block;width:100%;max-width:none}

/* AI-SEO v8.0.5 frontend identity/auth */
.aiseo-frontend-login form{display:grid;gap:14px}
.aiseo-frontend-login label{display:grid;gap:6px}
.aiseo-frontend-login input[type=text],.aiseo-frontend-login input[type=password]{width:100%;box-sizing:border-box}
.aiseo-remember{display:flex!important;align-items:center;gap:8px!important}

/* AI-SEO v8.0.6 login submit + identity UI */
.aiseo-frontend-login .aiseo-login-submit{
 display:flex!important;
 visibility:visible!important;
 opacity:1!important;
 width:100%!important;
 min-height:46px;
 margin-top:4px;
 border:0;
}
.aiseo-frontend-login form{overflow:visible!important}

/* AI-SEO v8.0.7 username-first customer login */
.aiseo-frontend-login input[name=log]{text-transform:none}

/* AI-SEO v8.0.8 Frontend Login UI Finalization */
.aiseo-frontend-login{
 position:relative;
 z-index:2;
 overflow:visible!important;
}
.aiseo-frontend-login form{
 display:grid!important;
 gap:14px!important;
 overflow:visible!important;
 position:relative;
 z-index:3;
}
.aiseo-frontend-login .aiseo-login-submit{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 visibility:visible!important;
 opacity:1!important;
 position:relative!important;
 z-index:999!important;
 width:100%!important;
 min-width:100%!important;
 min-height:48px!important;
 height:auto!important;
 margin:8px 0 0!important;
 padding:12px 18px!important;
 border:1px solid transparent!important;
 border-radius:9px!important;
 background:var(--navy,#1e2b66)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 font-size:16px!important;
 font-weight:800!important;
 line-height:1.2!important;
 text-align:center!important;
 text-indent:0!important;
 overflow:visible!important;
 clip:auto!important;
 clip-path:none!important;
 transform:none!important;
 filter:none!important;
 cursor:pointer!important;
 pointer-events:auto!important;
 appearance:none!important;
 -webkit-appearance:none!important;
}
.aiseo-frontend-login .aiseo-login-submit span{
 display:inline!important;
 visibility:visible!important;
 opacity:1!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 font:inherit!important;
 line-height:inherit!important;
}
.aiseo-frontend-login .aiseo-login-submit:hover,
.aiseo-frontend-login .aiseo-login-submit:focus{
 visibility:visible!important;
 opacity:1!important;
 color:#fff!important;
 outline:2px solid currentColor;
 outline-offset:2px;
}
.aiseo-frontend-login input[name=log],
.aiseo-frontend-login input[name=pwd]{
 display:block!important;
 visibility:visible!important;
 opacity:1!important;
 min-height:44px;
}

/* AI-SEO v8.1.0 Customer Approve/Review */
.aiseo-review-box{margin:12px 0;padding:12px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}
.aiseo-review-head{display:flex;justify-content:space-between;gap:10px;align-items:center}
.aiseo-review-status{font-weight:800;padding:5px 9px;border-radius:999px;background:#f2f4f7}
.aiseo-review-status.approved{background:#eaf8ef}
.aiseo-review-actions{display:flex;gap:8px;margin-top:8px}
.aiseo-review-box textarea{width:100%;box-sizing:border-box}

/* AI-SEO v8.1.1 Layer-level Customer Review */
.aiseo-layer-review-box{margin-top:16px}
.aiseo-layer-review-box .aiseo-review-head>div{display:grid;gap:2px}
.aiseo-layer-review-box .aiseo-review-head small{opacity:.7}

/* AI-SEO v8.1.2 visible per-Layer review */
.aiseo-review-status.pending_completion{background:#eef1f5;color:#5d6675}
.aiseo-layer-review-box{display:block!important;visibility:visible!important;opacity:1!important;width:100%;box-sizing:border-box}

/* v8.1.3 */
.aiseo-admin-task-grid-body[hidden]{display:none!important}.aiseo-admin-review-summary{display:grid;gap:5px;justify-items:end}.aiseo-layer-review-admin{display:block;margin-top:4px;font-weight:600}@media(max-width:760px){.aiseo-admin-review-summary{justify-items:start}}

/* AI-SEO v8.1.4 — Table/Grid containment fix */
.kp21f-shell,
.kp21f-card,
.kp21f-layer-shell,
.kp21f-layer-detail,
.kp21f-layer-detail-wrap,
.kp21f-tablewrap,
.aiseo-admin-task-grid-body{
 min-width:0!important;
 max-width:100%!important;
 box-sizing:border-box!important;
}

.kp21f-tablewrap{
 width:100%!important;
 overflow-x:auto!important;
 overflow-y:hidden!important;
 -webkit-overflow-scrolling:touch;
}

.kp21f-table{
 width:100%!important;
 max-width:100%!important;
 min-width:980px;
 table-layout:auto!important;
 border-collapse:collapse;
}

.kp21f-table th,
.kp21f-table td{
 max-width:420px;
 white-space:normal!important;
 overflow-wrap:anywhere!important;
 word-break:break-word!important;
 vertical-align:top;
}

.kp21f-table th:nth-child(1),
.kp21f-table td:nth-child(1){
 min-width:120px;
}

.kp21f-table th:nth-child(2),
.kp21f-table td:nth-child(2){
 min-width:70px;
}

.kp21f-table td a,
.kp21f-table td code,
.kp21f-table td pre{
 max-width:100%!important;
 overflow-wrap:anywhere!important;
 word-break:break-word!important;
}

@media(max-width:1100px){
 .kp21f-table{min-width:860px;}
}

@media(max-width:782px){
 .kp21f-tablewrap{
  margin-left:0!important;
  margin-right:0!important;
 }
 .kp21f-table{
  min-width:760px;
  font-size:12px;
 }
 .kp21f-table th,
 .kp21f-table td{
  padding:8px 7px!important;
  max-width:300px;
 }
}

/* AI-SEO v8.1.5 — Bound Layer Workspace + Expandable Task Grid */
.aiseo-layer-workspace{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
 overflow:hidden;
 margin:12px 0!important;
}
.aiseo-layer-workspace-head{
 align-items:flex-start!important;
}
.aiseo-layer-workspace-actions{
 display:grid;
 gap:6px;
 justify-items:end;
 min-width:180px;
}
.aiseo-layer-workspace-body{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
}
.aiseo-layer-workspace-body[hidden]{
 display:none!important;
}
.aiseo-layer-workspace-body .kp21f-tablewrap{
 width:100%!important;
 max-width:100%!important;
 overflow-x:auto!important;
}
.aiseo-admin-task-grid-body{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
}
.aiseo-admin-task-grid-body[hidden]{
 display:none!important;
}
.aiseo-admin-layer-task-grid{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 box-sizing:border-box!important;
}
.aiseo-admin-layer-task-grid .kp21f-sectionhead{
 align-items:flex-start!important;
}
.aiseo-admin-review-summary{
 position:relative;
 z-index:2;
}
.kp21f-task-grid-toggle,
.kp21f-layer-workspace-toggle{
 pointer-events:auto!important;
 cursor:pointer!important;
}
@media(max-width:782px){
 .aiseo-layer-workspace-actions,
 .aiseo-admin-review-summary{
  justify-items:start!important;
  width:100%;
 }
}

/* AI-SEO v8.1.6 Customer Task Summary status */
.aiseo-task-summary .kp21f-taskstats{width:100%;box-sizing:border-box}

/* AI-SEO v8.1.7 Team Assignment Workflow */
.aiseo-team-summary{margin-bottom:18px}
.aiseo-team-assignment{width:100%;max-width:none;box-sizing:border-box}
.aiseo-team-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.aiseo-team-context-grid>div{padding:10px;border:1px solid #e4e7ec;border-radius:9px;background:#f9fafb}
.aiseo-team-context-grid span{display:block;font-size:12px;opacity:.72;margin-bottom:4px}
.aiseo-team-update-form{display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:12px;align-items:end;margin-top:14px}
.aiseo-team-update-form label{display:grid;gap:5px}
.aiseo-team-update-form textarea,.aiseo-team-update-form select{width:100%;box-sizing:border-box}
@media(max-width:782px){.aiseo-team-context-grid,.aiseo-team-update-form{grid-template-columns:1fr}}

/* AI-SEO v8.1.8 Team/Admin status synchronization */
.aiseo-team-assignment .kp21f-status{white-space:nowrap}

/* AI-SEO v8.2.0 — Task-level Team assignment */
.aiseo-task-team-control{min-width:210px}
.aiseo-task-team-control form{display:grid;gap:6px}
.aiseo-task-team-control select{width:100%;max-width:240px}
.aiseo-task-team-control small{display:block}
\n/* AI-SEO v8.3.0 Website Content Layer */
.aiseo-wc-form h4{margin-top:24px}.aiseo-wc-checks{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 18px}.aiseo-wc-checks label{padding:9px 12px;border:1px solid #e4e7ec;border-radius:9px;background:#fff}.aiseo-wc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 16px}.aiseo-wc-grid label{display:grid;gap:5px}.aiseo-wc-grid input{width:100%;box-sizing:border-box}@media(max-width:900px){.aiseo-wc-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.aiseo-wc-grid{grid-template-columns:1fr}}\n
/* AI-SEO v8.3.3 LinkedIn OpenID + Share */
.aiseo-login-divider{display:flex;align-items:center;gap:10px;margin:16px 0;color:#667085}
.aiseo-login-divider:before,.aiseo-login-divider:after{content:"";height:1px;background:#e4e7ec;flex:1}
.aiseo-linkedin-login{width:100%;background:#0a66c2!important;color:#fff!important;text-decoration:none!important}
.aiseo-linkedin-icon{font-weight:900;font-size:18px}
.aiseo-linkedin-note{display:block;margin-top:8px;color:#667085;line-height:1.4}

/* AI-SEO v8.3.4 LinkedIn diagnostics */
.aiseo-linkedin-capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}
.aiseo-linkedin-capability-grid>div{padding:12px;border:1px solid #e4e7ec;border-radius:10px;background:#f9fafb}
.aiseo-linkedin-capability-grid span{display:block;font-size:12px;color:#667085;margin-bottom:4px}
@media(max-width:782px){.aiseo-linkedin-capability-grid{grid-template-columns:1fr 1fr}}

/* AI-SEO v8.5.1 customer login isolation + checkbox alignment */
.aiseo-frontend-login .aiseo-remember{
 display:inline-flex!important;
 align-items:center!important;
 justify-content:flex-start!important;
 gap:8px!important;
 width:auto!important;
 margin:2px 0!important;
 cursor:pointer;
}
.aiseo-frontend-login .aiseo-remember input[type=checkbox]{
 display:block!important;
 width:18px!important;
 min-width:18px!important;
 max-width:18px!important;
 height:18px!important;
 min-height:18px!important;
 margin:0!important;
 padding:0!important;
 flex:0 0 18px!important;
 box-sizing:border-box!important;
}
.aiseo-frontend-login .aiseo-remember span{
 display:inline-block!important;
 margin:0!important;
 line-height:18px!important;
}

/* AI-SEO v8.7.4 Customer header + ACT Month Selector */
.kp21f-shell.customer .kp21f-topbar .kp21f-kicker{display:none!important}
.aiseo-report-period-head{
 display:grid!important;
 grid-template-columns:minmax(220px,.8fr) minmax(360px,1.2fr)!important;
 align-items:end!important;
 gap:24px!important;
}
.aiseo-report-period-copy{min-width:0}
.aiseo-report-period-copy h2{margin:0 0 8px!important}
.aiseo-report-period-copy p{
 margin:0!important;
 white-space:normal!important;
 line-height:1.45!important;
 overflow-wrap:anywhere;
}
.aiseo-month-selector{
 display:grid!important;
 grid-template-columns:1fr!important;
 gap:6px!important;
 min-width:0!important;
 width:100%!important;
 max-width:680px!important;
 justify-self:end!important;
 font-weight:700!important;
}
.aiseo-month-selector>span{
 display:block!important;
 font-size:12px!important;
 color:#667085!important;
}
.kp21f-shell .aiseo-month-selector select{
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 height:44px!important;
 padding:9px 36px 9px 12px!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 text-overflow:ellipsis!important;
}
@media(max-width:900px){
 .aiseo-report-period-head{grid-template-columns:1fr!important;align-items:stretch!important}
 .aiseo-month-selector{max-width:none!important;justify-self:stretch!important}
}

/* AI-SEO v8.8.0 Global ACT UI / UX */
.kp21f-topbar .kp21f-kicker{display:none!important}
.aiseo-act-workflow{overflow:visible!important}
.aiseo-act-title{border-bottom:1px solid #eaecf0;padding-bottom:12px}
.aiseo-act-title b{font-size:20px}
.aiseo-act-five{
 grid-template-columns:minmax(190px,1.15fr) minmax(260px,1.5fr) minmax(180px,1fr) minmax(180px,1fr) minmax(150px,.8fr)!important;
 align-items:end!important;
}
.aiseo-act-five label,.aiseo-act-context-selectors label{min-width:0!important}
.aiseo-act-five select,.aiseo-act-context-selectors select{
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:44px!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
#aiseo-act-month{font-variant-numeric:tabular-nums}
#kp21f-open-cycle{margin-top:8px;width:100%}
.aiseo-act-context{margin-top:12px!important;line-height:1.45}
.aiseo-act-context-selectors{
 display:grid;grid-template-columns:minmax(220px,1fr) minmax(320px,1.4fr);gap:14px;align-items:end;
}
.aiseo-act-context-selectors label>span{display:block;font-weight:800;margin-bottom:6px}
.kp21f-topbar{min-width:0}
.kp21f-topbar h1{overflow-wrap:anywhere}
.kp21f-shell select:focus-visible,.kp21f-shell input:focus-visible,.kp21f-shell textarea:focus-visible,.kp21f-shell button:focus-visible,.kp21f-shell a:focus-visible{
 outline:3px solid rgba(23,92,211,.24)!important;outline-offset:2px!important;
}
.kp21f-tablewrap{-webkit-overflow-scrolling:touch}
@media(max-width:1200px){
 .aiseo-act-five{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aiseo-act-step5{grid-column:1/-1}
}
@media(max-width:782px){
 .aiseo-act-five,.aiseo-act-context-selectors{grid-template-columns:1fr!important}
 .aiseo-act-title{align-items:flex-start!important}
}

/* AI-SEO v8.8.3 Customer portal compact header / navigation */
.kp21f-shell.customer .kp21f-customer-profile-actions{
 min-height:0!important;
 height:auto!important;
 padding:10px 18px!important;
 margin-bottom:10px!important;
 align-items:center!important;
 background:#fff!important;
}
.kp21f-customer-profile-actions .kp21f-customer-profile-spacer{
 flex:1 1 auto;
 min-width:1px;
 min-height:1px;
}
.kp21f-customer-profile-actions .kp21f-btn{
 margin:0!important;
 min-height:38px!important;
 display:inline-flex!important;
 align-items:center!important;
 justify-content:center!important;
}
.kp21f-shell.customer .aiseo-internal-links{
 margin-top:0!important;
 margin-bottom:10px!important;
 padding:12px 14px!important;
 border-radius:14px!important;
}
.kp21f-shell.customer .aiseo-internal-links-title{
 margin-bottom:8px!important;
 font-size:18px!important;
 line-height:1.2!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid{
 gap:8px!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a{
 min-height:74px!important;
 padding:12px 14px!important;
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a strong{
 line-height:1.18!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a small{
 margin-top:4px!important;
 line-height:1.28!important;
}
.kp21f-customer-section-compact{
 padding-top:0!important;
}
.kp21f-customer-section-compact>.aiseo-internal-links{
 margin-top:0!important;
}
@media(max-width:782px){
 .kp21f-shell.customer .kp21f-customer-profile-actions{
  padding:8px 12px!important;
 }
 .kp21f-shell.customer .aiseo-internal-links-grid a{
  min-height:68px!important;
 }
}

/* AI-SEO v8.8.4 Customer second-grid compaction */
.kp21f-shell.customer .aiseo-internal-links{
 padding:8px 10px!important;
 margin-top:0!important;
 margin-bottom:8px!important;
}
.kp21f-shell.customer .aiseo-internal-links-title{
 display:none!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid{
 gap:7px!important;
 align-items:stretch!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a{
 min-height:62px!important;
 padding:9px 12px!important;
 border-radius:11px!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a strong{
 font-size:16px!important;
 line-height:1.15!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid a small{
 margin-top:3px!important;
 font-size:12px!important;
 line-height:1.2!important;
}
@media(max-width:782px){
 .kp21f-shell.customer .aiseo-internal-links{
  padding:7px!important;
 }
 .kp21f-shell.customer .aiseo-internal-links-grid a{
  min-height:58px!important;
  padding:8px 10px!important;
 }
}

/* AI-SEO v8.8.5 Customer navigation — prevent overlap on section pages */
.kp21f-shell.customer,
.kp21f-shell.customer *{
 box-sizing:border-box;
}
.kp21f-shell.customer .aiseo-internal-links{
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 height:auto!important;
 overflow:visible!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid{
 display:grid!important;
 grid-template-columns:repeat(7,minmax(0,1fr))!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 height:auto!important;
 align-items:stretch!important;
 overflow:visible!important;
}
.kp21f-shell.customer .aiseo-internal-link{
 position:relative!important;
 min-width:0!important;
 max-width:100%!important;
 width:100%!important;
 height:auto!important;
 min-height:70px!important;
 padding:10px 12px!important;
 overflow:hidden!important;
 word-break:normal!important;
 overflow-wrap:anywhere!important;
 white-space:normal!important;
}
.kp21f-shell.customer .aiseo-internal-link span,
.kp21f-shell.customer .aiseo-internal-link small{
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 white-space:normal!important;
 overflow:visible!important;
 text-overflow:clip!important;
 overflow-wrap:anywhere!important;
}
.kp21f-shell.customer .aiseo-internal-link span{
 font-size:15px!important;
 line-height:1.15!important;
}
.kp21f-shell.customer .aiseo-internal-link small{
 font-size:11px!important;
 line-height:1.22!important;
}
.kp21f-customer-section-compact>.aiseo-internal-links + *{
 clear:both!important;
}
@media(max-width:1280px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
}
@media(max-width:900px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:600px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  display:flex!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  gap:7px!important;
 }
 .kp21f-shell.customer .aiseo-internal-link{
  flex:0 0 175px!important;
  width:175px!important;
  min-height:64px!important;
 }
}

/* AI-SEO v8.8.6 FINAL Customer navigation fix — flex-wrap, no overlap */
.kp21f-shell.customer .aiseo-internal-links{
 display:block!important;
 position:relative!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 height:auto!important;
 min-height:0!important;
 clear:both!important;
 overflow:visible!important;
 padding:8px 10px!important;
 margin:0 0 12px!important;
}
.kp21f-shell.customer .aiseo-internal-links-grid{
 display:flex!important;
 flex-direction:row!important;
 flex-wrap:wrap!important;
 align-items:stretch!important;
 align-content:flex-start!important;
 justify-content:flex-start!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 height:auto!important;
 min-height:0!important;
 overflow:visible!important;
 gap:8px!important;
 padding:0!important;
 margin:0!important;
}
.kp21f-shell.customer .aiseo-internal-link{
 display:flex!important;
 flex-direction:column!important;
 justify-content:center!important;
 align-items:flex-start!important;
 flex:1 1 215px!important;
 min-width:190px!important;
 max-width:none!important;
 width:auto!important;
 height:auto!important;
 min-height:72px!important;
 position:relative!important;
 inset:auto!important;
 float:none!important;
 clear:none!important;
 margin:0!important;
 padding:10px 12px!important;
 box-sizing:border-box!important;
 overflow:hidden!important;
 white-space:normal!important;
}
.kp21f-shell.customer .aiseo-internal-link span,
.kp21f-shell.customer .aiseo-internal-link small{
 display:block!important;
 position:static!important;
 float:none!important;
 width:100%!important;
 min-width:0!important;
 max-width:100%!important;
 margin-left:0!important;
 margin-right:0!important;
 white-space:normal!important;
 word-break:normal!important;
 overflow-wrap:anywhere!important;
 overflow:visible!important;
 text-overflow:clip!important;
}
.kp21f-shell.customer .aiseo-internal-link span{
 font-size:16px!important;
 line-height:1.18!important;
}
.kp21f-shell.customer .aiseo-internal-link small{
 margin-top:4px!important;
 font-size:12px!important;
 line-height:1.25!important;
}
.kp21f-shell.customer .aiseo-internal-links::after{
 content:"";
 display:block;
 clear:both;
}
.kp21f-shell.customer .aiseo-internal-links + *{
 position:relative!important;
 clear:both!important;
 margin-top:0!important;
}
@media(min-width:1600px){
 .kp21f-shell.customer .aiseo-internal-link{
  flex-basis:0!important;
  min-width:0!important;
 }
}
@media(max-width:1100px){
 .kp21f-shell.customer .aiseo-internal-link{
  flex:1 1 calc(33.333% - 8px)!important;
  min-width:220px!important;
 }
}
@media(max-width:782px){
 .kp21f-shell.customer .aiseo-internal-link{
  flex:1 1 calc(50% - 8px)!important;
  min-width:190px!important;
 }
}
@media(max-width:520px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  display:block!important;
 }
 .kp21f-shell.customer .aiseo-internal-link{
  display:flex!important;
  width:100%!important;
  min-width:0!important;
  margin:0 0 7px!important;
 }
}

/* AI-SEO v8.8.7 Customer breadcrumb-safe section header */
.kp21f-shell.customer .kp21f-customer-breadcrumb-space{
 display:block!important;
 position:relative!important;
 width:100%!important;
 max-width:100%!important;
 min-width:0!important;
 height:74px!important;
 min-height:74px!important;
 padding:0!important;
 margin:0 0 10px!important;
 border:1px solid #e5e8f1!important;
 border-radius:18px!important;
 background:linear-gradient(135deg,#fff,#f5f7ff)!important;
 overflow:hidden!important;
}
.kp21f-shell.customer .kp21f-customer-breadcrumb-space>span{
 display:block!important;
 width:1px!important;
 height:1px!important;
 opacity:0!important;
}

/* Section navigation starts only after breadcrumb-safe area */
.kp21f-shell.customer.kp21f-customer-section-compact>.aiseo-internal-links{
 position:relative!important;
 z-index:1!important;
 width:100%!important;
 max-width:100%!important;
 margin:0 0 12px!important;
 clear:both!important;
}

/* Use explicit grid on desktop to keep the approved one-row appearance */
@media(min-width:1501px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:8px!important;
  width:100%!important;
  overflow:visible!important;
 }
 .kp21f-shell.customer .aiseo-internal-link{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  min-height:70px!important;
  flex:none!important;
 }
}
@media(min-width:1101px) and (max-width:1500px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
 }
 .kp21f-shell.customer .aiseo-internal-link{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  flex:none!important;
 }
}
@media(min-width:783px) and (max-width:1100px){
 .kp21f-shell.customer .aiseo-internal-links-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
 }
 .kp21f-shell.customer .aiseo-internal-link{
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
  flex:none!important;
 }
}
@media(max-width:782px){
 .kp21f-shell.customer .kp21f-customer-breadcrumb-space{
  height:62px!important;
  min-height:62px!important;
  margin-bottom:8px!important;
 }
}

.aiseo-account-date-admin .aiseo-account-date-form{display:grid;grid-template-columns:minmax(280px,420px) auto;gap:12px 16px;align-items:end}
.aiseo-account-date-admin .aiseo-account-date-form label>span{display:block;font-weight:800;margin-bottom:6px}
.aiseo-account-date-admin .aiseo-account-date-form input{width:100%;min-height:44px;padding:9px 11px;box-sizing:border-box}
.aiseo-account-date-admin .aiseo-account-date-form .kp21f-muted{grid-column:1/-1;margin:0}
@media(max-width:782px){.aiseo-account-date-admin .aiseo-account-date-form{grid-template-columns:1fr}.aiseo-account-date-admin .aiseo-account-date-form .kp21f-muted{grid-column:auto}}


/* AI-SEO v8.9.13 — Uniform Layer Container: TASK → OUTPUT → REVIEW */
.aiseo-uniform-layer-head{margin-bottom:14px}
.aiseo-container-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.aiseo-container-flow>div{border:1px solid #e4e7ec;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:4px;min-width:0}
.aiseo-container-flow span,.aiseo-uniform-container .kp21f-kicker{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#667085}
.aiseo-container-flow strong{font-size:20px}
.aiseo-container-flow small{color:#667085;line-height:1.35}
.aiseo-uniform-container.task,.aiseo-uniform-container.output,.aiseo-uniform-container.review{margin-top:12px}
.aiseo-task-grid{border:1px solid #e4e7ec;border-radius:10px;overflow:hidden;margin-top:12px}
.aiseo-task-grid-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 14px;background:#f8fafc}
.aiseo-task-grid-head div{display:flex;flex-direction:column;gap:3px}
.aiseo-task-grid-head small{color:#667085}
.aiseo-task-grid-head strong{font-size:18px}
.aiseo-uniform-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;margin:8px 0 12px}
.kp21f-status.in_progress,.kp21f-status.in-review,.kp21f-status.in_review{white-space:nowrap}
@media(max-width:782px){
 .aiseo-container-flow{grid-template-columns:1fr}
 .aiseo-uniform-actions{justify-content:flex-start;flex-wrap:wrap}
}


/* ACT — responsive running mode for action CTAs across Admin / Customer / Team. */
.aiseo-cta-running{position:relative;pointer-events:none;opacity:.78;cursor:wait!important}
.aiseo-cta-running::before{content:"";display:inline-block;width:13px;height:13px;margin-right:8px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-2px;animation:aiseo-cta-spin .75s linear infinite}
.aiseo-cta-running[aria-busy="true"]{min-width:max-content}
@keyframes aiseo-cta-spin{to{transform:rotate(360deg)}}
@media (max-width:782px){.aiseo-cta-running{max-width:100%}.kp21f-actions .aiseo-cta-running,.kp21f-inline .aiseo-cta-running{width:100%}}


/* AI-SEO v8.9.55 — ACT single-tier Layer collapse contract */
.aiseo-layer-grid-card{overflow:visible!important}
.kp21f-layer-shell{position:relative;min-width:0}
.kp21f-layer-shell>.aiseo-uniform-layer-head{margin-bottom:0}
.kp21f-layer-shell>.kp21f-layer-actions{padding:8px 0 10px}
.kp21f-layer-detail-wrap{width:100%;max-width:100%;box-sizing:border-box}
.kp21f-layer-detail-wrap>.aiseo-layer-workspace{width:100%;max-width:100%;box-sizing:border-box;margin:0!important;overflow:visible}
.kp21f-layer-detail-wrap .kp21f-card{max-width:100%;box-sizing:border-box}
.kp21f-no-auto-collapse>.kp21f-collapse-toggle,.kp21f-no-auto-collapse>.kp21f-sectionhead>.kp21f-collapse-toggle{display:none!important}
/* A collapsed Layer folds every bound card; an expanded Layer leaves card state independent. */
.kp21f-layer-detail-wrap[hidden]{display:none!important}
.aiseo-admin-blog-submission-layer{border:1px solid #dbe5f5;border-radius:10px;margin:12px 0;background:#fff;overflow:hidden}.aiseo-admin-blog-submission-layer>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;cursor:pointer;background:#f7faff;color:#102a56}.aiseo-admin-blog-submission-layer[open]>summary{border-bottom:2px solid #1769e0;background:#edf5ff}.aiseo-admin-blog-submission-layer-body{padding:14px;overflow:auto}.aiseo-admin-blog-submission-layer-body>.kp21f-card{max-width:none}.aiseo-admin-blog-submission-layer summary strong{white-space:nowrap}@media(max-width:720px){.aiseo-admin-blog-submission-layer>summary{align-items:flex-start;flex-direction:column;gap:5px}}

.aiseo-blog-vertical-list{display:grid;gap:10px;margin-top:10px}
.aiseo-blog-vertical-card{border:1px solid #e2e7ed;border-radius:12px;background:#fff;overflow:hidden;padding:0}
.aiseo-blog-vertical-card>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:13px 16px;background:#f7faff;color:#102a56}
.aiseo-blog-vertical-card>summary::-webkit-details-marker{display:none}
.aiseo-blog-vertical-card>summary::before{content:'▸';font-size:12px;color:#0b63ce;transition:transform .12s ease}
.aiseo-blog-vertical-card[open]>summary::before{transform:rotate(90deg)}
.aiseo-blog-vertical-card[open]>summary{border-bottom:2px solid #1769e0;background:#edf5ff}
.aiseo-blog-vertical-card>summary>span{font-size:12px;color:#475569}
.aiseo-blog-vertical-card>summary>b{white-space:nowrap}
.aiseo-bv-body{padding:16px;display:grid;gap:12px;max-width:100%}
.aiseo-bv-grid{display:grid;gap:8px}
.aiseo-bv-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;padding:7px 0;border-bottom:1px dashed #eef1f5;font-size:13px}
.aiseo-bv-row:last-child{border-bottom:0}
.aiseo-bv-row>b{color:#475569;font-weight:700}
.aiseo-bv-row>span{word-break:break-word}
.aiseo-bv-field{display:grid;gap:6px}
.aiseo-bv-field>label{display:flex;align-items:center;gap:8px;font-weight:700;color:#102a56}
.aiseo-bv-field input,.aiseo-bv-field textarea{width:100%;box-sizing:border-box;border-radius:8px;border:1px solid #dde3ec;padding:9px 10px;font-family:inherit}
.aiseo-bv-field input[readonly],.aiseo-bv-field textarea[readonly]{background:#fafbfc;color:#334155}
.aiseo-bv-field small{color:#667085}
.aiseo-bv-prompt{border:1px dashed #dde3ec;border-radius:8px;padding:8px 10px}
.aiseo-bv-prompt pre{white-space:pre-wrap;word-break:break-word;margin:8px 0 0;font-size:12px}
.aiseo-bv-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0}
.aiseo-bv-submitform input[type=url],.aiseo-bv-submitform input[type=text],.aiseo-bv-submitform select{padding:8px 9px;border-radius:8px;border:1px solid #dde3ec}
.aiseo-copy-btn{white-space:nowrap}
@media(max-width:650px){.aiseo-bv-row{grid-template-columns:1fr}}


/* AI-SEO v8.9.55 — Customer compact Review & Approval contract */
.aiseo-customer-review-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 10px;margin-bottom:8px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc}
.aiseo-customer-review-head strong{font-size:15px}.aiseo-customer-review-head span{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;font-size:12px;white-space:nowrap}
.aiseo-customer-compact-review>h2,.aiseo-customer-compact-review>p:first-of-type{display:none}
.aiseo-customer-review-card{margin:6px 0;border:1px solid #e4e7ec;border-radius:9px;overflow:hidden}
.aiseo-customer-review-card>summary{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 10px;cursor:pointer;background:#fafafa;font-size:12px}
.aiseo-customer-review-card>summary b{font-size:13px}.aiseo-customer-inline-meta{display:flex;gap:12px;flex-wrap:wrap;padding:8px 10px;font-size:12px;line-height:1.35}.aiseo-customer-inline-meta span{min-width:180px;flex:1}.aiseo-customer-inline-meta b{margin-right:4px}
/* Layer owns structural visibility; cards inside an expanded layer remain independently collapsible. */
.kp21f-layer-detail-wrap:not([hidden]) .kp21f-card{visibility:visible}
@media(max-width:782px){.aiseo-customer-review-head,.aiseo-customer-review-card>summary,.aiseo-customer-inline-meta{gap:6px}.aiseo-customer-inline-meta span{min-width:100%}}



/* ===== STAGE 2 addon — requires the status-* class added to .kp21f-layer-shell
   in includes/class-kp21-frontend.php (render_admin_layer_grid). Append this
   block to the END of assets/frontend.css only after Stage 2 PHP is deployed. */

.kp21f-layer-shell{border-left:3px solid transparent;padding-left:12px;margin-left:-15px}
.kp21f-layer-shell.status-complete{border-left-color:var(--navy)}
.kp21f-layer-shell.status-in_progress{border-left-color:var(--accent)}
.kp21f-layer-shell.status-in_review{border-left-color:#3457a6}
.kp21f-layer-shell.status-scheduled{border-left-color:#98a2b3}
.kp21f-layer-shell.status-pending{border-left-color:#c9cfd6}
.kp21f-layer-shell.status-failed{border-left-color:#c1442e}

.kp21f-layer-shell.status-in_progress .kp21f-masterprogress i{background:var(--accent)}
.kp21f-layer-shell.status-in_review .kp21f-masterprogress i{background:#3457a6}
.kp21f-layer-shell.status-scheduled .kp21f-masterprogress i,
.kp21f-layer-shell.status-pending .kp21f-masterprogress i{background:#98a2b3}
.kp21f-layer-shell.status-failed .kp21f-masterprogress i{background:#c1442e}

@media(max-width:700px){.kp21f-layer-shell{margin-left:0;padding-left:10px}}
\n\n


/* v8.9.111 — Customer Portal preview design
   Visual language ported from the supplied customer-portal-dashboard-preview HTML.
   Customer-only selectors: Admin/Team panels are intentionally unaffected. */
.kp21f-shell.customer{
  --preview-ink:#14213d;
  --preview-primary:#0f6e5b;
  --preview-primary-dark:#0b5347;
  --preview-primary-tint:#e6f2ef;
  --preview-accent:#d98e04;
  --preview-accent-tint:#fbf0dc;
  --preview-bg:#f2f5f4;
  --preview-surface:#fff;
  --preview-muted:#5b6472;
  --preview-border:#e1e6e4;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:36px 20px 80px!important;
  color:var(--preview-ink)!important;
  font-family:Inter,Arial,sans-serif!important;
}
.kp21f-shell.customer .aiseo-preview-topbar{
  display:flex!important;justify-content:space-between!important;align-items:center!important;gap:20px!important;
  padding:22px 28px!important;border:0!important;border-radius:20px!important;
  background:linear-gradient(135deg,var(--preview-primary) 0%,var(--preview-primary-dark) 100%)!important;
  color:#fff!important;margin:0 0 22px!important;box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-preview-welcome{min-width:0}
.kp21f-shell.customer .aiseo-preview-eyebrow{
  margin:0 0 6px!important;font-size:11px!important;font-weight:700!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;color:#fff!important;opacity:.75!important;
}
.kp21f-shell.customer .aiseo-preview-welcome h1{
  margin:0!important;font-family:"Space Grotesk",Inter,Arial,sans-serif!important;
  font-size:26px!important;line-height:1.2!important;font-weight:600!important;color:#fff!important;
}
.kp21f-shell.customer .aiseo-preview-welcome p:not(.aiseo-preview-eyebrow){
  margin:6px 0 0!important;font-size:13px!important;color:#fff!important;opacity:.85!important;
}
.kp21f-shell.customer .aiseo-preview-signout{
  flex:0 0 auto!important;background:rgba(255,255,255,.12)!important;color:#fff!important;
  border:1px solid rgba(255,255,255,.35)!important;border-radius:10px!important;padding:11px 18px!important;
  font-size:13px!important;font-weight:700!important;text-decoration:none!important;
}
.kp21f-shell.customer .aiseo-preview-signout:hover{transform:translateY(-1px)!important}

/* seven-section tile navigation */
.kp21f-shell.customer .aiseo-internal-links-customer{
  margin:0 0 22px!important;padding:0!important;border:0!important;background:transparent!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-links-grid{
  display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link{
  min-height:74px!important;padding:14px 12px!important;border:1px solid var(--preview-border)!important;
  border-radius:14px!important;background:var(--preview-surface)!important;color:var(--preview-ink)!important;
  justify-content:center!important;box-shadow:none!important;
  transition:border-color .12s ease,box-shadow .12s ease!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link:hover{
  border-color:var(--preview-primary)!important;box-shadow:0 4px 14px rgba(15,110,91,.10)!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link.active{
  background:var(--preview-primary-tint)!important;border-color:var(--preview-primary)!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link span{
  font-family:"Space Grotesk",Inter,Arial,sans-serif!important;font-size:13px!important;font-weight:600!important;
  line-height:1.2!important;color:var(--preview-ink)!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link small{
  font-size:10px!important;font-weight:700!important;color:var(--preview-primary)!important;letter-spacing:.04em!important;
}

/* cards, headings and compact report/progress presentation */
.kp21f-shell.customer .kp21f-card{
  background:var(--preview-surface)!important;border:1px solid var(--preview-border)!important;
  border-radius:18px!important;padding:24px!important;margin-bottom:16px!important;box-shadow:none!important;
}
.kp21f-shell.customer .kp21f-card h2,
.kp21f-shell.customer .kp21f-card h3{
  font-family:"Space Grotesk",Inter,Arial,sans-serif!important;color:var(--preview-ink)!important;font-weight:600!important;
}
.kp21f-shell.customer .kp21f-card h2{font-size:19px!important}
.kp21f-shell.customer .kp21f-card h3{font-size:19px!important}
.kp21f-shell.customer .kp21f-muted,
.kp21f-shell.customer .kp21f-card p{color:var(--preview-muted)}
.kp21f-shell.customer .kp21f-sectionhead{gap:20px!important;margin-bottom:18px!important}
.kp21f-shell.customer .aiseo-month-selector{min-width:280px!important;display:flex!important;flex-direction:column!important;gap:6px!important}
.kp21f-shell.customer .aiseo-month-selector span{
  font-size:11px!important;font-weight:700!important;color:var(--preview-muted)!important;
  text-transform:uppercase!important;letter-spacing:.06em!important;
}
.kp21f-shell.customer .aiseo-month-selector select{
  padding:11px 14px!important;border-radius:10px!important;border:1px solid var(--preview-border)!important;
  background:var(--preview-bg)!important;font-size:13px!important;font-weight:600!important;color:var(--preview-ink)!important;
}
.kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;margin-top:14px!important;
}
.kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats>span{
  display:block!important;padding:16px!important;border:1px solid var(--preview-border)!important;border-radius:14px!important;
  background:var(--preview-bg)!important;color:var(--preview-muted)!important;font-size:11px!important;
  text-transform:uppercase!important;letter-spacing:.04em!important;
}
.kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats>span b{
  display:block!important;margin-bottom:4px!important;font-family:"Space Grotesk",Inter,Arial,sans-serif!important;
  font-size:22px!important;line-height:1.1!important;color:var(--preview-ink)!important;font-weight:600!important;
}
.kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats>span:first-child b{color:var(--preview-primary)!important}

/* profile / layer data cells */
.kp21f-shell.customer .kp21f-data-grid,
.kp21f-shell.customer .kp21f-grid.cols3{gap:14px!important}
.kp21f-shell.customer .kp21f-field,
.kp21f-shell.customer .kp21f-stat{
  border:1px solid var(--preview-border)!important;border-radius:12px!important;background:var(--preview-bg)!important;
  padding:12px 14px!important;box-shadow:none!important;
}
.kp21f-shell.customer .kp21f-field>span,
.kp21f-shell.customer .kp21f-stat>span{
  display:block!important;font-size:11px!important;color:var(--preview-muted)!important;
  text-transform:uppercase!important;letter-spacing:.05em!important;margin-bottom:4px!important;
}
.kp21f-shell.customer .kp21f-field>b,
.kp21f-shell.customer .kp21f-stat>strong{font-size:14px!important;color:var(--preview-ink)!important}
.kp21f-shell.customer .kp21f-kicker,
.kp21f-shell.customer .kp21f-categorylabel{
  display:inline-block!important;font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important;
  text-transform:uppercase!important;color:var(--preview-primary)!important;background:var(--preview-primary-tint)!important;
  padding:4px 10px!important;border-radius:999px!important;margin-bottom:8px!important;
}
.kp21f-shell.customer .kp21f-status{
  border-radius:999px!important;padding:5px 11px!important;font-size:11px!important;font-weight:700!important;
}
.kp21f-shell.customer .kp21f-tablewrap{border-radius:12px!important;border-color:var(--preview-border)!important}
.kp21f-shell.customer .kp21f-table th{background:var(--preview-bg)!important;color:var(--preview-ink)!important}

@media(max-width:900px){
  .kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-links-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .kp21f-shell.customer{padding:20px 12px 60px!important}
  .kp21f-shell.customer .aiseo-preview-topbar{flex-direction:column!important;align-items:flex-start!important}
  .kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-links-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kp21f-shell.customer .aiseo-month-selector{min-width:0!important;width:100%!important}
  .kp21f-shell.customer .aiseo-profile-period-progress .kp21f-taskstats{grid-template-columns:1fr!important}
}


/* v8.9.112 — Customer-wide Section Progress + stable unified Layer cards */
.kp21f-shell.customer{
 --aiseo-logo-blue:#0b63ce;
 --aiseo-complete:#118064;
 --aiseo-progress:#e39a00;
 --aiseo-incomplete:#dfe5e4;
 --aiseo-rejected:#c94a36;
}
.kp21f-shell.customer .aiseo-customer-section-progress{
 border:1px solid var(--aiseo-logo-blue)!important;
 border-radius:18px!important;
 box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress>.kp21f-sectionhead{
 align-items:flex-start!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress>.kp21f-sectionhead>div:last-child{
 text-align:right!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress>.kp21f-sectionhead>div:last-child>strong{
 font-family:"Space Grotesk",Inter,Arial,sans-serif!important;font-size:28px!important;color:var(--preview-ink)!important;
}
.kp21f-shell.customer .aiseo-section-layer-track{
 display:grid!important;grid-template-columns:repeat(auto-fit,minmax(18px,1fr))!important;gap:5px!important;
 margin:16px 0 10px!important;
}
.kp21f-shell.customer .aiseo-progress-seg{
 height:30px!important;border-radius:6px!important;background:var(--aiseo-incomplete)!important;
}
.kp21f-shell.customer .aiseo-progress-seg.complete{background:var(--aiseo-complete)!important}
.kp21f-shell.customer .aiseo-progress-seg.in_progress{background:var(--aiseo-progress)!important}
.kp21f-shell.customer .aiseo-progress-seg.failed{background:var(--aiseo-rejected)!important}
.kp21f-shell.customer .aiseo-section-progress-legend{
 display:flex!important;flex-wrap:wrap!important;gap:18px!important;margin:0 0 20px!important;
 color:var(--preview-muted)!important;font-size:12px!important;
}
.kp21f-shell.customer .aiseo-section-progress-legend span:before{
 content:"";display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:7px;vertical-align:-1px;background:var(--aiseo-incomplete);
}
.kp21f-shell.customer .aiseo-section-progress-legend .complete:before{background:var(--aiseo-complete)}
.kp21f-shell.customer .aiseo-section-progress-legend .progress:before{background:var(--aiseo-progress)}
.kp21f-shell.customer .aiseo-section-progress-legend .failed:before{background:var(--aiseo-rejected)}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats>span{
 padding:16px 20px!important;border:1px solid var(--preview-border)!important;border-radius:14px!important;
 background:#f4f6f5!important;color:var(--preview-muted)!important;font-size:11px!important;text-transform:uppercase!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats>span b{
 display:block!important;font-family:"Space Grotesk",Inter,Arial,sans-serif!important;font-size:24px!important;
 color:var(--preview-ink)!important;margin-bottom:4px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats .percent b{color:var(--aiseo-complete)!important}

/* Stable Layer summary card: outline uses Openink logo blue. */
.kp21f-shell.customer .aiseo-customer-layer-card,
.kp21f-shell.customer .aiseo-uniform-layer-head{
 border:1px solid var(--aiseo-logo-blue)!important;border-radius:18px!important;background:#fff!important;
 padding:26px 28px!important;margin:0 0 16px!important;box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-customer-layer-card .kp21f-sectionhead,
.kp21f-shell.customer .aiseo-uniform-layer-head .kp21f-sectionhead{
 align-items:flex-start!important;margin-bottom:18px!important;
}
.kp21f-shell.customer .aiseo-customer-layer-toggle{
 margin-left:auto!important;align-self:flex-start!important;background:#fff!important;color:var(--preview-primary-dark)!important;
 border:1px solid var(--aiseo-logo-blue)!important;border-radius:10px!important;
}
.kp21f-shell.customer .aiseo-container-flow{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;margin:8px 0 14px!important;
}
.kp21f-shell.customer .aiseo-container-flow>div{
 padding:14px 18px!important;border:1px solid var(--preview-border)!important;border-radius:14px!important;background:#f4f6f5!important;
}
.kp21f-shell.customer .aiseo-container-flow>div>span{
 display:block!important;font-size:11px!important;font-weight:700!important;letter-spacing:.06em!important;color:var(--preview-muted)!important;
}
.kp21f-shell.customer .aiseo-container-flow>div>strong{
 display:block!important;font-family:"Space Grotesk",Inter,Arial,sans-serif!important;font-size:24px!important;color:var(--preview-ink)!important;
}
.kp21f-shell.customer .aiseo-container-flow>div>small{display:block!important;color:var(--preview-muted)!important;margin-top:3px!important}
.kp21f-shell.customer .kp21f-masterprogress{height:10px!important;border-radius:999px!important;background:var(--aiseo-incomplete)!important;overflow:hidden!important}
.kp21f-shell.customer .kp21f-masterprogress>i{display:block!important;height:100%!important;background:var(--aiseo-progress)!important}
.kp21f-shell.customer .status-complete .kp21f-masterprogress>i,
.kp21f-shell.customer .aiseo-customer-layer-card:has(.kp21f-status.complete) .kp21f-masterprogress>i{background:var(--aiseo-complete)!important}

/* Customer status contract */
.kp21f-shell.customer .kp21f-status.complete,
.kp21f-shell.customer .kp21f-status.completed,
.kp21f-shell.customer .kp21f-status.approved{background:#e2f3ed!important;color:var(--aiseo-complete)!important}
.kp21f-shell.customer .kp21f-status.in_progress,
.kp21f-shell.customer .kp21f-status.in-review,
.kp21f-shell.customer .kp21f-status.in_review,
.kp21f-shell.customer .kp21f-status.scheduled{background:#fff0cc!important;color:#946300!important}
.kp21f-shell.customer .kp21f-status.pending,
.kp21f-shell.customer .kp21f-status.blocked{background:#eef1f1!important;color:#697374!important}
.kp21f-shell.customer .kp21f-status.failed,
.kp21f-shell.customer .kp21f-status.rejected,
.kp21f-shell.customer .kp21f-status.error{background:#f8e3df!important;color:var(--aiseo-rejected)!important}

.kp21f-shell.customer .aiseo-customer-layer-detail[hidden]{display:none!important}
.kp21f-shell.customer .aiseo-customer-layer-detail{
 margin:-4px 0 18px!important;padding:0!important;
}
.kp21f-shell.customer .aiseo-customer-layer-detail>.kp21f-card{
 border-color:var(--preview-border)!important;border-radius:14px!important;
}

@media(max-width:900px){
 .kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .kp21f-shell.customer .aiseo-container-flow{grid-template-columns:1fr!important}
}
@media(max-width:560px){
 .kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{grid-template-columns:1fr!important}
 .kp21f-shell.customer .aiseo-section-layer-track{grid-template-columns:repeat(7,1fr)!important}
}


/* v8.9.114 — Customer hierarchy:
   Section → Sub-section → Sub-section Layer → Section Work Progress */
.kp21f-shell.customer .aiseo-section-context{
 border:3px solid #0b63ce!important;
 border-left:8px solid #0b63ce!important;
 border-radius:12px!important;
 background:#f7fbff!important;
 color:#102a56!important;
 font-weight:700!important;
 padding:12px 16px!important;
 box-shadow:0 1px 0 rgba(11,99,206,.08)!important;
}
.kp21f-shell.customer .aiseo-subsection-nav{
 border:2px solid #0b63ce!important;
 border-radius:16px!important;
 padding:16px!important;
}
.kp21f-shell.customer .aiseo-subsection-title{
 color:#102a56!important;font-size:18px!important;
}
.kp21f-shell.customer .aiseo-subsection-workspace{display:none!important}

.kp21f-shell.customer .aiseo-subsection-layer-card{
 border:3px solid #0b63ce!important;
 border-radius:18px!important;
 background:#fff!important;
 box-shadow:none!important;
 margin:0 0 18px!important;
 padding:22px 24px!important;
}
.kp21f-shell.customer .aiseo-subsection-layer-card .kp21f-kicker{color:#0b63ce!important}
.kp21f-shell.customer .aiseo-layer-count{
 display:inline-flex!important;align-items:center!important;padding:7px 11px!important;border-radius:999px!important;
 background:#eaf3ff!important;color:#0b63ce!important;font-weight:800!important;font-size:12px!important;
}
.kp21f-shell.customer .aiseo-subsection-layer-list{
 display:grid!important;gap:10px!important;margin-top:14px!important;
}
.kp21f-shell.customer .aiseo-subsection-layer-row{
 display:grid!important;grid-template-columns:minmax(230px,1.35fr) minmax(420px,2fr) auto!important;
 gap:16px!important;align-items:center!important;padding:13px 15px!important;border:1px solid #d8e2ef!important;
 border-left:5px solid #dfe5e4!important;border-radius:12px!important;background:#fbfdff!important;
}
.kp21f-shell.customer .aiseo-subsection-layer-row.status-complete{border-left-color:#118064!important}
.kp21f-shell.customer .aiseo-subsection-layer-row.status-in_progress,
.kp21f-shell.customer .aiseo-subsection-layer-row.status-in_review{border-left-color:#e39a00!important}
.kp21f-shell.customer .aiseo-subsection-layer-row.status-failed{border-left-color:#c94a36!important}
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child b,
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child strong,
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child small{display:block!important}
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child b{color:#0b63ce!important;font-size:12px!important;text-transform:uppercase!important}
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child strong{color:#102a56!important;margin:2px 0!important}
.kp21f-shell.customer .aiseo-subsection-layer-row>div:first-child small{color:#667085!important}
.kp21f-shell.customer .aiseo-layer-mini{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
.kp21f-shell.customer .aiseo-layer-mini span{padding:8px 9px!important;border-radius:8px!important;background:#f1f5f9!important;color:#667085!important;font-size:11px!important}
.kp21f-shell.customer .aiseo-layer-mini b{display:block!important;color:#102a56!important;font-size:14px!important;margin-top:2px!important}

.kp21f-shell.customer .aiseo-customer-section-progress{
 border:3px solid #0b63ce!important;
}
.kp21f-shell.customer .aiseo-progress-main-head{margin-bottom:14px!important}
.kp21f-shell.customer .aiseo-progress-overall{text-align:right!important}
.kp21f-shell.customer .aiseo-progress-overall>strong{display:block!important;font-size:30px!important;color:#102a56!important}
.kp21f-shell.customer .aiseo-progress-period-row{
 display:grid!important;grid-template-columns:minmax(240px,.8fr) minmax(360px,1.2fr)!important;
 gap:24px!important;align-items:end!important;padding:14px 16px!important;margin:0 0 16px!important;
 border:1px solid #d8e2ef!important;border-radius:12px!important;background:#f8fbff!important;
}
.kp21f-shell.customer .aiseo-progress-period-row>div>span{
 display:block!important;color:#667085!important;font-size:11px!important;font-weight:800!important;letter-spacing:.05em!important;
}
.kp21f-shell.customer .aiseo-progress-period-row>div>strong{
 display:block!important;color:#102a56!important;margin-top:5px!important;font-size:15px!important;
}
@media(max-width:980px){
 .kp21f-shell.customer .aiseo-subsection-layer-row{grid-template-columns:1fr!important}
 .kp21f-shell.customer .aiseo-layer-mini{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .kp21f-shell.customer .aiseo-progress-period-row{grid-template-columns:1fr!important}
}


/* v8.9.115 — Customer page hierarchy and outlined seven-section navigation */
.kp21f-shell.customer .aiseo-internal-links-customer{
 border:3px solid #0b63ce!important;
 border-radius:18px!important;
 background:#fff!important;
 padding:12px!important;
 margin:0 0 18px!important;
 box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-links-grid{
 gap:10px!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link{
 border:2px solid #b9cce2!important;
 border-radius:12px!important;
 background:#fff!important;
 padding:13px 12px!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link:hover{
 border-color:#0b63ce!important;
}
.kp21f-shell.customer .aiseo-internal-links-customer .aiseo-internal-link.active{
 border:3px solid #0b63ce!important;
 background:#eef6ff!important;
 color:#102a56!important;
}
.kp21f-shell.customer .aiseo-section-context{display:none!important}

/* Third position: selected Sub-section Layer Grid only. */
.kp21f-shell.customer .aiseo-subsection-layer-card{
 margin:0 0 18px!important;
}
.kp21f-shell.customer .aiseo-subsection-layer-card .kp21f-kicker{
 letter-spacing:.08em!important;
}

/* Immediately after Section Work Progress: all Layers belonging to the Section. */
.kp21f-shell.customer .aiseo-all-section-layers{
 border:3px solid #0b63ce!important;
 border-radius:18px!important;
 background:#fff!important;
 padding:22px 24px!important;
 margin:0 0 18px!important;
 box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-grid{
 display:grid!important;
 grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:12px!important;
 margin-top:14px!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-card{
 display:grid!important;
 grid-template-columns:minmax(180px,1fr) minmax(230px,1.2fr) auto!important;
 align-items:center!important;
 gap:12px!important;
 border:1px solid #d8e2ef!important;
 border-left:5px solid #dfe5e4!important;
 border-radius:12px!important;
 background:#fbfdff!important;
 padding:13px 14px!important;
 min-width:0!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-card.status-complete{border-left-color:#118064!important}
.kp21f-shell.customer .aiseo-all-section-layer-card.status-in_progress,
.kp21f-shell.customer .aiseo-all-section-layer-card.status-in_review{border-left-color:#e39a00!important}
.kp21f-shell.customer .aiseo-all-section-layer-card.status-failed{border-left-color:#c94a36!important}
.kp21f-shell.customer .aiseo-all-section-layer-title b,
.kp21f-shell.customer .aiseo-all-section-layer-title strong,
.kp21f-shell.customer .aiseo-all-section-layer-title small{display:block!important}
.kp21f-shell.customer .aiseo-all-section-layer-title b{
 color:#0b63ce!important;font-size:11px!important;text-transform:uppercase!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-title strong{
 color:#102a56!important;font-size:14px!important;margin:2px 0!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-title small{color:#667085!important}
.kp21f-shell.customer .aiseo-all-section-layer-stats{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-stats span{
 background:#f1f5f9!important;border-radius:8px!important;padding:7px 8px!important;
 color:#667085!important;font-size:10px!important;
}
.kp21f-shell.customer .aiseo-all-section-layer-stats b{
 display:block!important;color:#102a56!important;font-size:13px!important;margin-top:2px!important;
}
@media(max-width:1100px){
 .kp21f-shell.customer .aiseo-all-section-layer-grid{grid-template-columns:1fr!important}
}
@media(max-width:720px){
 .kp21f-shell.customer .aiseo-all-section-layer-card{grid-template-columns:1fr!important}
 .kp21f-shell.customer .aiseo-all-section-layer-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}


/* v8.9.116 — Profile / Dashboard uses the same Customer progress + Layer Grid contract. */
.kp21f-shell.customer .aiseo-all-section-layers + .aiseo-foundation-single-grid{
 margin-top:0!important;
}
.kp21f-shell.customer .aiseo-foundation-single-grid{
 border:1px solid #d8e2ef!important;
 border-left:5px solid #0b63ce!important;
 border-radius:14px!important;
 box-shadow:none!important;
}
.kp21f-shell.customer .aiseo-foundation-single-grid .kp21f-kicker{
 color:#0b63ce!important;
}


/* v8.9.118 — Single Customer flow:
   Section -> Sub-Section -> Section Work Progress -> actual Layer cards/content.
   Retired summary Layer grids must never render in Customer Panel. */
.kp21f-shell.customer .aiseo-subsection-layer-card,
.kp21f-shell.customer .aiseo-all-section-layers{
 display:none!important;
}


/* ACT v8.9.124 — compact Progress + Layer report/review surfaces.
   Section and Sub-Section navigation card heights are intentionally unchanged.
   Working/input/output tables for Layers 1–60 are intentionally unchanged. */
.kp21f-shell .aiseo-customer-section-progress{
  padding-top:11px!important;
  padding-bottom:11px!important;
  margin-top:8px!important;
  margin-bottom:8px!important;
}
.kp21f-shell .aiseo-customer-section-progress>.kp21f-sectionhead{
  gap:8px!important;
}
.kp21f-shell .aiseo-customer-section-progress .kp21f-sectionhead p{
  margin:2px 0!important;
  line-height:1.2!important;
}
.kp21f-shell .aiseo-customer-section-progress .aiseo-progress-period-row{
  margin-top:7px!important;
  margin-bottom:6px!important;
  padding-top:7px!important;
  padding-bottom:7px!important;
  gap:8px!important;
}
.kp21f-shell .aiseo-customer-section-progress .aiseo-section-layer-track{
  margin:8px 0 5px!important;
  gap:3px!important;
}
.kp21f-shell .aiseo-customer-section-progress .aiseo-progress-seg{
  height:15px!important;
}
.kp21f-shell .aiseo-customer-section-progress .aiseo-section-progress-legend{
  gap:10px!important;
  margin:0 0 8px!important;
  line-height:1.2!important;
}
.kp21f-shell .aiseo-customer-section-progress .kp21f-taskstats{
  gap:6px!important;
  margin-top:6px!important;
  margin-bottom:0!important;
}
.kp21f-shell .aiseo-customer-section-progress .kp21f-taskstats>span{
  padding-top:6px!important;
  padding-bottom:6px!important;
  min-height:0!important;
}

.kp21f-shell .aiseo-uniform-layer-head{
  padding-top:11px!important;
  padding-bottom:11px!important;
  margin-top:8px!important;
  margin-bottom:7px!important;
}
.kp21f-shell .aiseo-uniform-layer-head>.kp21f-sectionhead{
  gap:8px!important;
}
.kp21f-shell .aiseo-uniform-layer-head .kp21f-sectionhead p{
  margin:2px 0!important;
  line-height:1.2!important;
}
.kp21f-shell .aiseo-uniform-layer-head h2,
.kp21f-shell .aiseo-uniform-layer-head h3{
  margin-top:0!important;
  margin-bottom:4px!important;
}
.kp21f-shell .aiseo-uniform-layer-head .aiseo-container-flow{
  gap:6px!important;
  margin-top:7px!important;
}
.kp21f-shell .aiseo-uniform-layer-head .aiseo-container-flow>div{
  padding:6px 8px!important;
  gap:2px!important;
  min-height:0!important;
}
.kp21f-shell .aiseo-uniform-layer-head .aiseo-container-flow small{
  line-height:1.15!important;
}
.kp21f-shell .aiseo-uniform-layer-head .kp21f-masterprogress{
  margin-top:6px!important;
  height:5px!important;
}

.kp21f-shell .aiseo-uniform-container.output,
.kp21f-shell .aiseo-uniform-container.review{
  padding-top:10px!important;
  padding-bottom:10px!important;
  margin-top:6px!important;
  margin-bottom:6px!important;
}
.kp21f-shell .aiseo-uniform-container.output>.kp21f-sectionhead,
.kp21f-shell .aiseo-uniform-container.review>.kp21f-sectionhead{
  gap:7px!important;
}
.kp21f-shell .aiseo-uniform-container.output .kp21f-sectionhead p,
.kp21f-shell .aiseo-uniform-container.review .kp21f-sectionhead p{
  margin:2px 0!important;
  line-height:1.2!important;
}
.kp21f-shell .aiseo-uniform-container.output h3,
.kp21f-shell .aiseo-uniform-container.review h3{
  margin-top:0!important;
  margin-bottom:4px!important;
}
/* Do not compact actual working/task data grids. */
.kp21f-shell .aiseo-uniform-container.task,
.kp21f-shell .aiseo-social-blog,
.kp21f-shell .aiseo-task-grid,
.kp21f-shell .kp21f-tablewrap{
  --aiseo-working-grid-height-preserved:1;
}


/* ACT v8.9.125 — enforced compact summary layout.
   These selectors intentionally match/exceed earlier customer-specific !important rules.
   Section and Sub-Section navigation grids remain untouched. Working Layer grids remain untouched. */

/* Section Work Progress — one dense horizontal summary on desktop. */
.kp21f-shell.customer .aiseo-customer-section-progress{
  padding:12px 18px!important;
  margin:8px 0!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress>.kp21f-sectionhead{
  margin-bottom:7px!important;
  gap:8px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-main-head{
  margin-bottom:7px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-period-row{
  grid-template-columns:minmax(220px,.8fr) minmax(320px,1.2fr)!important;
  gap:12px!important;
  padding:7px 12px!important;
  margin:0 0 7px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-period-row>div>strong{
  margin-top:2px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-section-layer-track{
  margin:5px 0 3px!important;
  gap:3px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-seg{
  height:10px!important;
  border-radius:3px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-section-progress-legend{
  gap:10px!important;
  margin:0 0 6px!important;
  line-height:1.1!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:7px!important;
  margin:4px 0 0!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats>span{
  padding:7px 10px!important;
  min-height:0!important;
  border-radius:10px!important;
  line-height:1.05!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats>span b{
  margin-bottom:1px!important;
}

/* Layer report/review summary card — compact by about half, font sizes unchanged. */
.kp21f-shell.customer .aiseo-customer-layer-card,
.kp21f-shell.customer .aiseo-uniform-layer-head{
  padding:12px 16px!important;
  margin:0 0 8px!important;
  border-radius:14px!important;
}
.kp21f-shell.customer .aiseo-customer-layer-card .kp21f-sectionhead,
.kp21f-shell.customer .aiseo-uniform-layer-head .kp21f-sectionhead{
  margin-bottom:7px!important;
  gap:8px!important;
}
.kp21f-shell.customer .aiseo-uniform-layer-head .kp21f-sectionhead p{
  margin:1px 0!important;
  line-height:1.15!important;
}
.kp21f-shell.customer .aiseo-uniform-layer-head h2,
.kp21f-shell.customer .aiseo-uniform-layer-head h3{
  margin:0 0 3px!important;
}
.kp21f-shell.customer .aiseo-container-flow{
  gap:7px!important;
  margin:5px 0 6px!important;
}
.kp21f-shell.customer .aiseo-container-flow>div{
  padding:7px 10px!important;
  border-radius:10px!important;
}
.kp21f-shell.customer .aiseo-container-flow>div>small{
  margin-top:1px!important;
  line-height:1.1!important;
}
.kp21f-shell.customer .kp21f-masterprogress{
  height:5px!important;
  margin-top:4px!important;
}

/* Generic ACT summary cards for Admin/Team also stay compact, without touching working tables. */
.kp21f-shell:not(.customer) .aiseo-customer-section-progress,
.kp21f-shell:not(.customer) .aiseo-uniform-layer-head{
  padding-top:10px!important;
  padding-bottom:10px!important;
  margin-top:6px!important;
  margin-bottom:6px!important;
}
.kp21f-shell:not(.customer) .aiseo-uniform-layer-head .aiseo-container-flow>div{
  padding-top:7px!important;
  padding-bottom:7px!important;
}
@media(max-width:1100px){
  .kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  .kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-period-row{
    grid-template-columns:1fr!important;
  }
}


/* ACT v8.9.127 — full Today’s Work Dashboard visual */
.aiseo-dashboard-app{
 display:grid;
 grid-template-columns:210px minmax(0,1fr);
 border:1px solid #e1e6ef;
 border-radius:16px;
 overflow:hidden;
 background:#fff;
 margin:12px 0 18px;
 box-shadow:0 6px 24px rgba(16,42,86,.06);
}
.aiseo-dashboard-sidebar{
 background:#fbfcfe;
 border-right:1px solid #e6eaf0;
 padding:16px 12px;
 min-width:0;
}
.aiseo-dashboard-brand{
 display:flex;
 align-items:center;
 gap:9px;
 padding:2px 8px 16px;
 border-bottom:1px solid #e7ebf1;
 margin-bottom:12px;
}
.aiseo-dashboard-brand>span{
 width:34px;height:34px;border-radius:50%;
 display:inline-flex;align-items:center;justify-content:center;
 background:#0b63ce;color:#fff;font-weight:800;
}
.aiseo-dashboard-brand>b{font-size:19px;color:#102a56}
.aiseo-dashboard-sidebar nav{display:grid;gap:5px}
.aiseo-dashboard-sidebar nav a{
 text-decoration:none!important;
 color:#334155!important;
 padding:10px 11px;
 border-radius:8px;
 font-weight:700;
 transition:background .12s ease,color .12s ease,padding-left .12s ease;
}
.aiseo-dashboard-sidebar nav a:hover{background:#eef3fb!important;padding-left:14px}
.aiseo-dashboard-sidebar nav a.active{
 background:#0b63ce!important;
 color:#fff!important;
 box-shadow:0 2px 8px rgba(11,99,206,.25);
}
.aiseo-dashboard-main{padding:18px;min-width:0}
.aiseo-dashboard-toolbar{
 display:flex;justify-content:space-between;gap:12px;align-items:end;
 border-bottom:1px solid #edf0f4;padding-bottom:14px;margin-bottom:16px;
}
.aiseo-dashboard-selects{display:flex;gap:10px;flex-wrap:wrap}
.aiseo-dashboard-selects label{display:grid;gap:4px;font-size:11px;font-weight:800;color:#667085;min-width:210px;letter-spacing:.03em;text-transform:uppercase}
.aiseo-dashboard-selects select{padding:9px 10px!important;border-radius:8px!important;border:1px solid #dde3ec!important;transition:border-color .12s ease}
.aiseo-dashboard-selects select:hover,.aiseo-dashboard-selects select:focus{border-color:#0b63ce!important;outline:none}
.aiseo-dashboard-role{
 border:1px solid #bfd5f3;border-radius:9px;padding:9px 12px;color:#0b63ce;background:#f7fbff;white-space:nowrap;font-weight:700;
}
.aiseo-dashboard-heading{
 display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:14px
}
.aiseo-dashboard-heading h2{margin:0 0 4px!important;font-size:25px!important;letter-spacing:-.01em}
.aiseo-dashboard-heading p{margin:0!important;color:#667085}
.aiseo-dashboard-date{
 border:1px solid #d5ecdf;background:#f4fbf8;border-radius:10px;padding:9px 14px;display:grid;gap:3px;text-align:right;white-space:nowrap
}
.aiseo-dashboard-date b{color:#087f5b}.aiseo-dashboard-date span{font-size:11px;color:#667085;display:inline-flex;align-items:center;gap:4px}
.aiseo-dashboard-date span::before{content:'';width:6px;height:6px;border-radius:50%;background:#087f5b;display:inline-block}

/* v8.9.216 — Admin sidebar Customer/Month picker + nested Section/Sub-Section nav */
.aiseo-dashboard-heading-right{display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.aiseo-sidebar-picker{display:grid;gap:8px;padding:0 8px 14px;margin-bottom:10px;border-bottom:1px solid #e7ebf1}
.aiseo-sidebar-picker label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#667085;letter-spacing:.03em;text-transform:uppercase}
.aiseo-sidebar-picker select{width:100%;padding:8px 9px!important;border-radius:8px!important;border:1px solid #dde3ec!important;font-size:12px!important}
.aiseo-sidebar-picker select:hover,.aiseo-sidebar-picker select:focus{border-color:#0b63ce!important;outline:none}
.aiseo-sidebar-section{display:grid}
.aiseo-sidebar-subs{display:grid;gap:2px;margin:0 0 4px 12px;padding-left:9px;border-left:2px solid #e7ebf1}
.aiseo-sidebar-subs a{text-decoration:none!important;color:#667085!important;padding:6px 9px!important;border-radius:7px;font-weight:600!important;font-size:12.5px;transition:background .12s ease,color .12s ease}
.aiseo-sidebar-subs a:hover{background:#eef3fb!important;color:#0b63ce!important;padding-left:11px!important}
.aiseo-admin-home-link{margin:0 0 16px}
.aiseo-admin-home-link .kp21f-btn{text-decoration:none!important}
@media(max-width:960px){
 .aiseo-sidebar-picker{padding:10px 8px 14px}
 .aiseo-sidebar-subs{margin-left:6px}
}
.aiseo-dashboard-metrics{
 display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:10px 0 14px
}
.aiseo-dashboard-metric{
 border:1px solid #e2e7ed;border-left:4px solid #b9c3d1;border-radius:12px;background:#fff;padding:12px 14px;min-width:0;
 transition:transform .14s ease,box-shadow .14s ease;
}
.aiseo-dashboard-metric:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(16,42,86,.08)}
.aiseo-dashboard-metric span{display:block;font-size:11px;font-weight:800;color:#667085;line-height:1.15;text-transform:uppercase;letter-spacing:.03em}
.aiseo-dashboard-metric strong{display:block;font-size:26px;line-height:1.05;margin-top:6px;color:#102a56;font-variant-numeric:tabular-nums}
.aiseo-dashboard-metric.due{border-left-color:#0b63ce}
.aiseo-dashboard-metric.completed{border-left-color:#149b62}.aiseo-dashboard-metric.completed strong{color:#149b62}
.aiseo-dashboard-metric.progress{border-left-color:#d98e04}.aiseo-dashboard-metric.progress strong{color:#d98e04}
.aiseo-dashboard-metric.pending{border-left-color:#8a94a6}
.aiseo-dashboard-metric.review{border-left-color:#d14343}.aiseo-dashboard-metric.review strong{color:#d14343}
.aiseo-dashboard-metric.overdue{border-left-color:#b3261e;background:#fdf5f4}.aiseo-dashboard-metric.overdue strong{color:#b3261e}
.aiseo-dashboard-filters{
 display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) minmax(180px,1.2fr) auto auto;
 gap:8px;margin:8px 0 14px;align-items:center;background:#fafbfd;border:1px solid #eceff3;border-radius:12px;padding:10px
}
.aiseo-dashboard-filters select,.aiseo-dashboard-filters input{
 padding:9px 10px!important;min-width:0;border-radius:8px!important;border:1px solid #dde3ec!important
}
.aiseo-dashboard-filters select:hover,.aiseo-dashboard-filters input:hover,
.aiseo-dashboard-filters select:focus,.aiseo-dashboard-filters input:focus{border-color:#0b63ce!important;outline:none}
.aiseo-dashboard-filters .kp21f-btn{border-radius:8px}
.aiseo-dashboard-tablecard{
 border:1px solid #e2e7ed;border-radius:12px;overflow:hidden;background:#fff
}
.aiseo-dashboard-table-title{
 padding:12px 14px;font-weight:800;background:#fafbfc;border-bottom:1px solid #e7ebf0;display:flex;align-items:center;justify-content:space-between
}
.aiseo-dashboard-tablecard .kp21f-tablewrap{max-height:640px;overflow:auto}
.aiseo-dashboard-tablecard .kp21f-table thead th{
 position:sticky;top:0;z-index:2;background:#f8f9fc;box-shadow:0 1px 0 #e7ebf0
}
.aiseo-dashboard-tablecard .kp21f-table th,
.aiseo-dashboard-tablecard .kp21f-table td{
 padding-top:10px!important;padding-bottom:10px!important;vertical-align:middle!important
}
.aiseo-dashboard-tablecard .kp21f-table tbody tr:nth-child(even){background:#fbfcfe}
.aiseo-dashboard-tablecard .kp21f-table tbody tr:hover{background:#eef5ff}
.aiseo-layer-pill{
 display:inline-flex;align-items:center;justify-content:center;
 min-width:30px;padding:3px 6px;border:1px solid #b9d1f3;border-radius:6px;background:#f2f7ff;color:#0b63ce;font-weight:800
}
.aiseo-task-progress{min-width:90px}
.aiseo-task-progress>span{font-size:12px;font-weight:700}
.aiseo-task-progress>i{display:block;height:6px;background:#e7ebef;border-radius:999px;overflow:hidden;margin-top:4px}
.aiseo-task-progress>i>b{display:block;height:100%;background:#149b62;transition:width .2s ease}
.aiseo-dashboard-lower{
 display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:14px;margin-top:14px
}
.aiseo-dashboard-quick,.aiseo-dashboard-activity{
 border:1px solid #e2e7ed;border-radius:12px;padding:14px;background:#fff;min-width:0
}
.aiseo-dashboard-quick h3,.aiseo-dashboard-activity h3{margin:0 0 9px!important}
.aiseo-dashboard-quick h3 small{font-weight:400;color:#667085}
.aiseo-dashboard-quickgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.aiseo-dashboard-quickgrid a{
 text-decoration:none!important;border:1px solid #e2e7ed;border-radius:9px;padding:9px 10px;display:grid;gap:3px;color:#334155!important;
 transition:border-color .12s ease,background .12s ease
}
.aiseo-dashboard-quickgrid a:hover{border-color:#0b63ce;background:#f7fbff}
.aiseo-dashboard-quickgrid a span{font-size:11px;color:#0b63ce}
.aiseo-activity-row{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px 0;border-top:1px solid #edf0f3}
.aiseo-activity-row:first-of-type{border-top:0}
.aiseo-activity-row .dot{width:8px;height:8px;border-radius:50%;background:#149b62}
.aiseo-activity-row div{display:grid;gap:2px}.aiseo-activity-row small{color:#667085}.aiseo-activity-row time{font-size:11px;color:#667085;white-space:nowrap}
.aiseo-role-today{padding:13px 16px!important;margin:10px 0!important}
.aiseo-role-today .aiseo-dashboard-metrics{margin-bottom:9px}
.aiseo-review-due-list{display:grid;gap:6px;margin-top:8px}
.aiseo-review-due-list a{display:flex;justify-content:space-between;gap:12px;text-decoration:none!important;border:1px solid #e4e8ed;border-radius:8px;padding:8px 10px;transition:border-color .12s ease}
.aiseo-review-due-list a:hover{border-color:#0b63ce}
@media(max-width:1250px){
 .aiseo-dashboard-app{grid-template-columns:170px minmax(0,1fr)}
 .aiseo-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
 .aiseo-dashboard-filters{grid-template-columns:repeat(3,minmax(140px,1fr))}
}
@media(max-width:900px){
 .aiseo-dashboard-app{display:block}
 .aiseo-dashboard-sidebar{border-right:0;border-bottom:1px solid #e6eaf0}
 .aiseo-dashboard-sidebar nav{display:flex;overflow-x:auto}
 .aiseo-dashboard-sidebar nav a{flex:0 0 auto}
 .aiseo-sidebar-picker{display:flex;overflow-x:auto;border-bottom:0;padding-bottom:8px}
 .aiseo-sidebar-picker label{min-width:170px}
 .aiseo-sidebar-section{flex:0 0 auto}
 .aiseo-sidebar-subs{display:flex;overflow-x:auto;margin:2px 0 6px;border-left:0;padding-left:0}
 .aiseo-dashboard-lower{grid-template-columns:1fr}
 .aiseo-dashboard-quickgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .aiseo-dashboard-main{padding:11px}
 .aiseo-dashboard-toolbar,.aiseo-dashboard-heading{display:grid}
 .aiseo-dashboard-selects{display:grid}
 .aiseo-dashboard-selects label{min-width:0}
 .aiseo-dashboard-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .aiseo-dashboard-filters{grid-template-columns:1fr}
 .aiseo-dashboard-quickgrid{grid-template-columns:1fr}
 .aiseo-dashboard-date{text-align:left;white-space:normal}
}

.aiseo-dashboard-pagination{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 12px;border-top:1px solid #e7ebf0;color:#667085}
.aiseo-dashboard-pagination>div{display:flex;gap:5px}
.aiseo-dashboard-pagination a{min-width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dbe2ea;border-radius:7px;text-decoration:none!important;color:#334155!important}
.aiseo-dashboard-pagination a.active{background:#0b63ce!important;color:#fff!important;border-color:#0b63ce!important}


/* ACT v8.9.129 — Customer dashboard navigation + vertical Recent Activity */
.kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-app{
  margin-left:-14px!important;
  width:calc(100% + 14px)!important;
  grid-template-columns:196px minmax(0,1fr)!important;
}
.kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-sidebar{
  padding-left:8px!important;
  padding-right:10px!important;
}
.kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-main{
  padding-top:28px!important;
}
.kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-toolbar{
  position:relative!important;
  z-index:1!important;
}
.aiseo-customer-recent-activity{
  width:100%!important;
  margin-top:12px!important;
  box-sizing:border-box!important;
}
.aiseo-customer-recent-activity .aiseo-activity-source-note{
  margin:0 0 6px!important;
  color:#667085!important;
}
.aiseo-customer-recent-activity .aiseo-activity-row-vertical{
  grid-template-columns:10px minmax(0,1fr) auto!important;
  padding:11px 2px!important;
  align-items:flex-start!important;
}
.aiseo-customer-recent-activity .aiseo-activity-copy{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:3px!important;
}
.aiseo-customer-recent-activity .aiseo-activity-copy b,
.aiseo-customer-recent-activity .aiseo-activity-copy small,
.aiseo-customer-recent-activity .aiseo-activity-copy em{
  display:block!important;
  width:100%!important;
}
.aiseo-customer-recent-activity .aiseo-activity-copy em{
  font-style:normal!important;
  font-size:11px!important;
  color:#667085!important;
}
@media(max-width:900px){
  .kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-app{
    margin-left:0!important;
    width:100%!important;
  }
  .kp21f-shell.customer.aiseo-customer-dashboard-default .aiseo-dashboard-main{
    padding-top:16px!important;
  }
}


/* AI-SEO v8.9.145 — Customer breadcrumb alignment + compact Section Work Progress + outlined expanded Layer surfaces. */
/* Dashboard and Profile now reserve the same breadcrumb canvas used by the section pages. */
.kp21f-shell.customer.aiseo-customer-dashboard-default>.kp21f-customer-breadcrumb-space,
.kp21f-shell.customer>.kp21f-customer-breadcrumb-space{
  display:block!important;
}

/* Section Work Progress: remove the redundant PROGRESS kicker, keep title + section context on one line,
   and reduce the vertical footprint by roughly 30% without shrinking text. */
.kp21f-shell.customer .aiseo-customer-section-progress{
  padding:8px 14px!important;
  margin:6px 0!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress>.kp21f-sectionhead,
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-main-head{
  margin-bottom:4px!important;
  gap:8px!important;
  align-items:center!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  min-width:0!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline h2{
  margin:0!important;
  white-space:nowrap!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline p{
  margin:0!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-overall>strong{
  font-size:24px!important;
  line-height:1!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-period-row{
  padding:5px 10px!important;
  margin:0 0 4px!important;
  gap:10px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-section-layer-track{
  margin:3px 0 2px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-seg{
  height:7px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .aiseo-section-progress-legend{
  margin:0 0 4px!important;
  gap:9px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats{
  margin:2px 0 0!important;
  gap:5px!important;
}
.kp21f-shell.customer .aiseo-customer-section-progress .kp21f-taskstats>span{
  padding:5px 8px!important;
  border-radius:9px!important;
}

/* Expanded Layer: visually separate Output, Task and Review with full outlines. */
.kp21f-shell.customer .aiseo-uniform-container.output,
.kp21f-shell.customer .aiseo-uniform-container.task,
.kp21f-shell.customer .aiseo-uniform-container.review,
.kp21f-shell.customer .aiseo-layer-review-box{
  border:1px solid #b9c9df!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 1px 2px rgba(16,42,86,.04)!important;
  overflow:hidden!important;
}
.kp21f-shell.customer .aiseo-uniform-container.output{
  border-left:4px solid #0b63ce!important;
}
.kp21f-shell.customer .aiseo-uniform-container.task{
  border-left:4px solid #e39a00!important;
}
.kp21f-shell.customer .aiseo-uniform-container.review,
.kp21f-shell.customer .aiseo-layer-review-box{
  border-left:4px solid #149b62!important;
}
.kp21f-shell.customer .aiseo-uniform-container.output,
.kp21f-shell.customer .aiseo-uniform-container.task,
.kp21f-shell.customer .aiseo-uniform-container.review{
  padding-left:14px!important;
  padding-right:14px!important;
}
.kp21f-shell.customer .aiseo-layer-review-box{
  padding:12px 14px!important;
}

@media(max-width:782px){
  .kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline{
    display:block!important;
  }
  .kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline h2,
  .kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline p{
    white-space:normal!important;
  }
  .kp21f-shell.customer .aiseo-customer-section-progress .aiseo-progress-titleline p{
    margin-top:2px!important;
  }
}


/* AI-SEO v8.9.146 — Profile breadcrumb/section-grid alignment + Admin dashboard return navigation. */
/* Customer Profile uses the same compact shell order as every Customer section: breadcrumb canvas → section grid → page content. */
.kp21f-shell.customer.aiseo-customer-profile-page{
  padding-top:36px!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.kp21f-customer-breadcrumb-space{
  margin-bottom:10px!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-internal-links{
  margin-top:0!important;
  margin-bottom:10px!important;
  clear:both!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-preview-topbar{
  margin-top:0!important;
}

/* Admin Profile now exposes the same section grid used on every Admin section plus an explicit Dashboard return. */
.aiseo-internal-links-admin .aiseo-internal-links-titlebar{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 12px!important;
}
.aiseo-internal-links-admin .aiseo-internal-links-titlebar .aiseo-internal-links-title{
  margin:0!important;
}
.aiseo-internal-links-admin .aiseo-admin-dashboard-return{
  flex:0 0 auto!important;
  text-decoration:none!important;
}
.aiseo-admin-profile>.aiseo-internal-links{
  margin-top:0!important;
}
@media(max-width:782px){
  .aiseo-internal-links-admin .aiseo-internal-links-titlebar{
    align-items:flex-start!important;
  }
}


/* AI-SEO v8.9.147 — Customer Profile blank-space hotfix. */
/* The legacy profile welcome/topbar sat between the 7-section grid and Section Work Progress. Collapse it on Profile only so the progress card follows the section grid with the same compact rhythm as other Customer pages. */
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-preview-topbar{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-internal-links{
  margin-bottom:10px!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-customer-section-progress{
  margin-top:0!important;
}


/* AI-SEO v8.9.148 — Customer Profile structural spacing fix.
   The legacy welcome/topbar is removed from Profile markup. The section grid is followed directly by Section Work Progress. */
.kp21f-shell.customer.aiseo-customer-profile-page{
  position:relative!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.kp21f-customer-breadcrumb-space{
  position:relative!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.kp21f-customer-breadcrumb-space .aiseo-profile-signout-utility{
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  z-index:3!important;
  margin:0!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-internal-links{
  margin-bottom:8px!important;
}
.kp21f-shell.customer.aiseo-customer-profile-page>.aiseo-internal-links + .aiseo-customer-section-progress,
.kp21f-shell.customer.aiseo-customer-profile-page>.kp21f-alert + .aiseo-customer-section-progress{
  margin-top:0!important;
}
@media(max-width:600px){
  .kp21f-shell.customer.aiseo-customer-profile-page>.kp21f-customer-breadcrumb-space .aiseo-profile-signout-utility{
    right:8px!important;
  }
}
.aiseo-layer21-optimo,.aiseo-layer21-admin-prompt{margin-top:16px}.kp21-optimo-step{display:grid;grid-template-columns:minmax(0,1fr) auto 150px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #e5e7eb}.kp21-optimo-step:last-of-type{border-bottom:0}.kp21-optimo-prompt{width:100%;margin-top:6px;font-family:inherit}.kp21-optimo-state,.kp21-section-state{font-size:12px;font-weight:600;color:#475467}.kp21-layer21-section-list{display:grid;gap:14px}.kp21-layer21-section{padding:14px;border:1px solid #d8dee9;border-radius:10px;background:#fff}.kp21-section-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.kp21-section-head span{font-size:12px;color:#667085}.kp21-section-output{font-family:inherit}.kp21-editor-intro-field{grid-column:1/-1}.kp21-editor-toolbar{display:flex;gap:5px;flex-wrap:wrap;padding:8px;border:1px solid #cfd5e1;border-bottom:0;background:#f8fafc;border-radius:8px 8px 0 0}.kp21-visual-editor{box-sizing:border-box;width:100%;min-height:480px;padding:18px;border:1px solid #cfd5e1;border-radius:0 0 8px 8px;background:#fff;overflow:auto;line-height:1.65;color:#1f2937}.kp21-visual-editor:focus{outline:2px solid #2271b1;outline-offset:-2px}.kp21-visual-editor:empty:before{content:attr(data-placeholder);color:#98a2b3}.kp21-visual-editor h1,.kp21-visual-editor h2,.kp21-visual-editor h3{line-height:1.25}.kp21-html-editor{box-sizing:border-box;width:100%;min-height:480px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:900px){.kp21-optimo-step{grid-template-columns:1fr}.kp21-section-head{display:block}}
/* Layer 21 semantic heading hierarchy — v8.9.161; shared by Admin editor and Customer review */
.aiseo-customer-review-card .aiseo-layer21-customer-blog{box-sizing:border-box;width:100%;padding:24px;background:#fff;color:#172033;font-size:17px;line-height:1.72;overflow-x:auto}.aiseo-customer-review-card .aiseo-layer21-customer-blog p{margin:0 0 18px}.aiseo-customer-review-card .aiseo-layer21-customer-blog ul,.aiseo-customer-review-card .aiseo-layer21-customer-blog ol{margin:12px 0 22px;padding-left:28px}.aiseo-customer-review-card .aiseo-layer21-customer-blog li{margin:6px 0}.aiseo-customer-review-card .aiseo-layer21-customer-blog strong{font-weight:800;color:#111827}@media(max-width:782px){.aiseo-customer-review-card .aiseo-layer21-customer-blog{padding:16px;font-size:15px}.aiseo-customer-review-card .aiseo-layer21-customer-blog h1{font-size:27px}.aiseo-customer-review-card .aiseo-layer21-customer-blog h2{font-size:22px}.aiseo-customer-review-card .aiseo-layer21-customer-blog h3{font-size:19px}}
.aiseo-layer23-customer-blog-editor{display:block;width:100%;margin:18px 0 0;border:1px solid #d8dee9;border-radius:10px;background:#fff;overflow:hidden}.aiseo-layer23-customer-blog-editor>summary{padding:12px 16px;cursor:pointer;font-weight:700;background:#f8fafc}.aiseo-layer23-customer-blog{box-sizing:border-box;width:100%;max-width:none;min-height:480px;padding:30px;background:#fff;color:#172033;font-size:17px;line-height:1.72;overflow-x:auto}.aiseo-layer23-customer-blog p{margin:0 0 18px}@media(max-width:782px){.aiseo-layer23-customer-blog{min-height:320px;padding:16px;font-size:15px}}
.aiseo-layer21-full-width-editor{width:100%;max-width:none;margin:18px 0}.aiseo-layer21-full-width-editor .aiseo-layer21-customer-blog{min-height:560px}
.kp21-visual-editor h1,.kp21-visual-editor h2,.kp21-visual-editor h3,.kp21-visual-editor h4,.kp21f-blog-preview h1,.kp21f-blog-preview h2,.kp21f-blog-preview h3,.kp21f-blog-preview h4{line-height:1.25;clear:both}.kp21-visual-editor h1,.kp21f-blog-preview h1{font-size:34px;font-weight:850;color:#102a56;border-bottom:4px solid #1d4ed8;padding-bottom:10px;margin:0 0 24px}.kp21-visual-editor h2,.kp21f-blog-preview h2{font-size:27px;font-weight:800;color:#173b72;border-left:6px solid #2563eb;padding:8px 12px;margin:30px 0 14px;background:#eff6ff}.kp21-visual-editor h3,.kp21f-blog-preview h3{font-size:22px;font-weight:780;color:#27517f;margin:24px 0 10px;padding-bottom:6px;border-bottom:2px solid #93c5fd}.kp21-visual-editor h4,.kp21f-blog-preview h4{font-size:18px;font-weight:750;color:#334155;margin:20px 0 8px}.kp21-visual-editor .aiseo-faq-title,.kp21f-blog-preview .aiseo-faq-title{margin-top:34px;background:#eef2ff;border-left-color:#4f46e5;color:#312e81}.kp21-visual-editor table,.kp21f-blog-preview table{width:100%;border-collapse:collapse;margin:14px 0}.kp21-visual-editor th,.kp21-visual-editor td,.kp21f-blog-preview th,.kp21f-blog-preview td{border:1px solid #cbd5e1;padding:8px;text-align:left}
.aiseo-bv-note{border:1px solid #d5e6fb;background:#f4f9ff;border-radius:10px;padding:10px 12px;font-size:13px;color:#334155;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.aiseo-bv-copy-all{white-space:nowrap}
.aiseo-bv-combined{box-sizing:border-box;width:100%;border:1px solid #cfd5e1;border-radius:8px;background:#fff;overflow:hidden}
.aiseo-bv-c-title,.aiseo-bv-c-desc,.aiseo-bv-c-intro,.aiseo-bv-c-body{box-sizing:border-box;width:100%;padding:12px 16px;outline:none}
.aiseo-bv-c-title{font-size:22px;font-weight:800;color:#102a56;border-bottom:1px solid #eef1f5;min-height:1.4em}
.aiseo-bv-c-desc{font-size:13px;font-style:italic;color:#475467;border-bottom:1px solid #eef1f5;min-height:1.4em}
.aiseo-bv-c-intro{font-size:14px;line-height:1.6;color:#1f2937;border-bottom:2px dashed #d8dee9;min-height:50px}
.aiseo-bv-c-body{font-size:14px;line-height:1.65;color:#1f2937;min-height:320px}
.aiseo-bv-c-title:empty:before,.aiseo-bv-c-desc:empty:before,.aiseo-bv-c-intro:empty:before,.aiseo-bv-c-body:empty:before{content:attr(data-placeholder);color:#98a2b3;font-style:normal}
.aiseo-bv-c-title:focus,.aiseo-bv-c-desc:focus,.aiseo-bv-c-intro:focus,.aiseo-bv-c-body:focus{background:#f7faff}
.aiseo-bv-wordcount{color:#667085}
.aiseo-bv-advanced{border:1px dashed #dde3ec;border-radius:8px;padding:6px 10px}
.aiseo-bv-advanced summary{cursor:pointer;font-size:13px;color:#475467}

/* v8.9.231 -- Customer Dashboard: name under the brand, in the sidebar. */
.aiseo-dashboard-customer-name{
 padding:0 8px 14px;
 margin-top:-6px;
 font-size:13px;
 font-weight:700;
 color:#475467;
 word-break:break-word;
}

/* v8.9.231 -- Customer Dashboard: remove the empty breadcrumb-safe card (an internal spacer,
   not the theme's own breadcrumb) that used to sit above the sidebar/content. Collapsing only
   the dashboard's own instance -- the Profile page's breadcrumb-space still carries the Sign
   out control and is left untouched. Must come after the v8.9.145 rule that forces it visible. */
.kp21f-shell.customer.aiseo-customer-dashboard-default>.kp21f-customer-breadcrumb-space{
 display:none!important;
 height:0!important;
 min-height:0!important;
 margin:0!important;
 padding:0!important;
 border:0!important;
 overflow:hidden!important;
}

/* v8.9.231 -- Best-effort: hide a theme-rendered breadcrumb bar above the Customer Dashboard,
   if the active theme/SEO plugin adds one outside this plugin's own markup. Scoped with :has()
   so it only ever applies on a page that actually renders the Customer Dashboard shell, and
   only to the common breadcrumb containers listed below -- verify after install and tell us
   if the live theme uses a different breadcrumb class so this list can be extended. */
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .breadcrumb,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .breadcrumbs,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) nav.breadcrumb,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) nav.breadcrumbs,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .ast-breadcrumbs,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .elementor-breadcrumbs,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .rank-math-breadcrumbs,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .yoast-breadcrumb,
body:has(.kp21f-shell.customer.aiseo-customer-dashboard-default) .woocommerce-breadcrumb{
 display:none!important;
}

/* v8.9.231 -- Customer sidebar Section/Sub-Section nesting (mirrors the existing Admin
   sidebar look, .aiseo-sidebar-section / .aiseo-sidebar-subs, already styled above). */
.aiseo-dashboard-sidebar .aiseo-sidebar-section{margin-bottom:2px}

/* v8.9.233 -- Customer Layer page: the separate detailed Task-table card is gone for
   Customer (KP21_Layer_Container::render_task_grid()); this compact line takes its place,
   rendered immediately after whichever Output card that Layer already shows so it reads as
   the tail end of that card rather than a new one -- deliberately borderless/flush, no
   separate .kp21f-card wrapper. */
.aiseo-customer-task-status{
 display:flex;
 align-items:center;
 gap:10px;
 flex-wrap:wrap;
 margin-top:-1px;
 padding:10px 20px 16px;
 background:#fff;
 border:1px solid #e4e8ed;
 border-top:none;
 border-radius:0 0 14px 14px;
}
.aiseo-customer-task-status strong{font-size:15px;color:#0b1220}
.aiseo-customer-task-status small{color:#667085}
