
.afcp-portal{
 --af-bg:#11161d;--af-surface:#171e27;--af-surface2:#1b2430;--af-line:#2b3542;--af-text:#f8fafc;--af-muted:#98a2b3;
 --af-green:#27b377;--af-red:#d95a6b;--af-amber:#c99736;--af-accent:#246bfd;
 position:relative;overflow:hidden;background:var(--af-bg);color:var(--af-text);border:1px solid var(--af-line);border-radius:12px;
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
.afcp-portal *{box-sizing:border-box}.afcp-portal button,.afcp-portal input{font:inherit}
.afcp-topbar{display:flex;align-items:center;justify-content:space-between;padding:15px 20px;border-bottom:1px solid var(--af-line);background:var(--af-surface)}
.afcp-brand{display:flex;align-items:center;gap:10px}.afcp-brandmark,.afcp-account-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;background:var(--af-accent);font-size:15px;font-weight:900;color:#fff;overflow:hidden}
.afcp-brandmark img,.afcp-account-icon img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}.afcp-brand b,.afcp-brand>div>span{display:block}.afcp-brand b{font-size:12px}.afcp-brand>div>span{font-size:8px;color:var(--af-muted);margin-top:2px}
.afcp-top-actions{display:flex;align-items:center;gap:7px}.afcp-system-pill{display:inline-flex;align-items:center;gap:6px;font-size:8px;color:var(--af-green);font-weight:800}.afcp-system-pill i{width:6px;height:6px;border-radius:50%;background:var(--af-green)}
.afcp-outline,.afcp-primary,.afcp-refresh,.afcp-copy,.afcp-token,.afcp-copy-obs,.afcp-copy-all,.afcp-collapse,.afcp-density{
 display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid var(--af-line);border-radius:8px;background:var(--af-surface2);color:#fff!important;text-decoration:none!important;cursor:pointer;font-size:9px;font-weight:750
}
.afcp-primary,.afcp-token{background:var(--af-accent);border-color:var(--af-accent)}button:disabled{opacity:.45;cursor:not-allowed}
.afcp-hero{display:flex;justify-content:space-between;gap:26px;align-items:center;padding:24px 22px 18px}.afcp-hero-copy{max-width:760px}.afcp-eyebrow{font-size:8px;color:#7eaaff;font-weight:900;letter-spacing:.08em}.afcp-hero h1{margin:6px 0 8px;color:#fff!important;font-size:34px;letter-spacing:-.035em;line-height:1}.afcp-hero p{margin:0;color:var(--af-muted);font-size:11px;line-height:1.65;max-width:700px}
.afcp-hero-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.afcp-hero-chips span{padding:4px 6px;border:1px solid var(--af-line);border-radius:6px;background:var(--af-surface);font-size:7px;color:var(--af-muted);font-weight:800;text-transform:uppercase}
.afcp-account{display:flex;align-items:center;gap:10px;min-width:210px;padding:12px;border:1px solid var(--af-line);border-radius:10px;background:var(--af-surface)}.afcp-account span,.afcp-account b,.afcp-account em{display:block}.afcp-account span{font-size:7px;color:var(--af-muted);text-transform:uppercase}.afcp-account b{font-size:14px;margin:2px 0}.afcp-account em{font-size:8px;font-style:normal;font-weight:800}.green{color:var(--af-green)}.red{color:var(--af-red)}
.afcp-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0 22px 20px}.afcp-stat-card{padding:13px;border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface)}.afcp-stat-card span,.afcp-stat-card small{display:block;color:var(--af-muted);font-size:8px}.afcp-stat-card span{font-weight:800;text-transform:uppercase}.afcp-stat-card b{display:block;font-size:22px;margin:5px 0;letter-spacing:-.03em}.afcp-stat-card sup{font-size:8px;color:var(--af-muted)}
.afcp-section-head{display:flex;justify-content:space-between;align-items:end;gap:14px;padding:18px 22px 10px;border-top:1px solid var(--af-line)}.afcp-section-head span{font-size:8px;color:#7eaaff;font-weight:900}.afcp-section-head h2{margin:3px 0 2px;color:#fff!important;font-size:19px}.afcp-section-head p{margin:0;color:var(--af-muted);font-size:9px}
.afcp-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:center;margin:0 22px 10px;padding:8px;border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface)}
.afcp-search{display:flex;align-items:center;gap:6px;height:34px;padding:0 9px;border:1px solid var(--af-line);border-radius:7px;background:#10151c}.afcp-search input{width:100%;border:0!important;background:transparent!important;color:#fff!important;outline:0!important;box-shadow:none!important;font-size:9px}.afcp-search span{color:#768599}
.afcp-filters{display:flex;gap:3px}.afcp-filter{min-height:30px;padding:4px 9px;border:1px solid transparent;border-radius:7px;background:transparent;color:#7d8ca0;font-size:8px;font-weight:800;cursor:pointer}.afcp-filter.active{background:var(--af-surface2);border-color:var(--af-line);color:#fff}
.afcp-toolbar-right{display:flex;align-items:center;gap:8px;justify-content:flex-end}.afcp-toolbar-right>span{font-size:7px;color:#768599;white-space:nowrap}
.afcp-global-status{margin:0 22px 10px;padding:9px 10px;border:1px solid #33465e;border-radius:8px;background:#172537;color:#cfe0f4;font-size:9px}.afcp-global-status.bad{border-color:#61313a;background:#2a171b;color:#ffc8d0}
.afcp-stream-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 22px 24px}.afcp-stream{background:var(--af-surface);border:1px solid var(--af-line);border-radius:10px;padding:14px}.afcp-stream.is-live{border-color:#285940}.afcp-stream.has-error{border-color:#693743}.afcp-stream[hidden]{display:none!important}
.afcp-stream-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.afcp-stream h3{margin:7px 0 4px;color:#fff!important;font-size:15px}.afcp-live-dot{display:inline-flex;font-size:7px;color:var(--af-amber);font-weight:900}.afcp-live-dot.live{color:var(--af-green)}.afcp-live-dot.offline{color:#dd7380}.afcp-slug{display:flex;gap:6px;align-items:center}.afcp-slug span{font-size:7px;color:#748296;text-transform:uppercase}.afcp-stream code{background:none;color:#8997a8;padding:0;font-size:8px}
.afcp-card-tools{display:flex;gap:5px}.afcp-collapse{width:32px;padding:0;font-size:13px}.afcp-stream-body{overflow:hidden;max-height:1000px;opacity:1}.afcp-stream.collapsed .afcp-stream-body{max-height:0;opacity:0}.afcp-stream.collapsed{padding-bottom:12px}
.afcp-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.afcp-metrics>div{padding:9px;border:1px solid var(--af-line);border-radius:8px;background:#131a22;min-width:0}.afcp-metrics span{display:block;font-size:7px;color:#738297;text-transform:uppercase}.afcp-metrics b{display:block;margin-top:4px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.afcp-metrics-8 .v-viewers{color:#7fb1ff}.afcp-stream.is-live .v-uptime{color:var(--af-green)}
.afcp-actions{display:flex;gap:14px;border-bottom:1px solid var(--af-line)}.afcp-tab{position:relative;padding:8px 0;border:0;background:none;color:#758399;font-size:8px;font-weight:800;cursor:pointer}.afcp-tab.active{color:#fff}.afcp-tab.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--af-accent)}
.afcp-tabpane{display:none;padding-top:10px}.afcp-tabpane.active{display:block}.afcp-linkrow{display:block;margin-bottom:8px}.afcp-linkrow>span{display:block;margin-bottom:4px;font-size:7px;color:#768599;font-weight:750}.afcp-linkrow>div,.afcp-generated{display:flex;gap:6px}.afcp-linkrow input,.afcp-generated input{flex:1;min-width:0;height:34px;padding:0 9px;border:1px solid var(--af-line);border-radius:7px;background:#0f141b;color:#d7e1ed;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:8px}
.afcp-playback-actions{display:flex;gap:7px;flex-wrap:wrap}.afcp-token-result{margin-top:8px}.afcp-generated button{border:1px solid var(--af-line);border-radius:7px;background:var(--af-surface2);color:#fff;font-size:8px;font-weight:750}.afcp-token-result small,.afcp-help,.afcp-permission-note{display:block;margin-top:6px;font-size:8px;color:#7e8c9f}.afcp-permission-note{padding:8px;border:1px solid var(--af-line);border-radius:7px;background:#131a22}
.afcp-empty{grid-column:1/-1;padding:28px;border:1px dashed var(--af-line);border-radius:9px;text-align:center;color:var(--af-muted);font-size:9px}
.afcp-filter-empty{grid-column:1/-1}
.afcp-portal.compact .afcp-stream{padding:11px}.afcp-portal.compact .afcp-metrics>div{padding:7px}.afcp-portal.compact .afcp-linkrow{margin-bottom:5px}
.afcp-login{max-width:520px;margin:42px auto;padding:30px;border:1px solid #e1e6ec;border-radius:12px;background:#fff;text-align:center;box-shadow:0 8px 30px rgba(16,24,40,.06);font-family:Inter,system-ui,sans-serif}.afcp-login-mark{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 12px;border-radius:9px;background:#246bfd;color:#fff;font-size:16px;font-weight:900}.afcp-login h2{margin:0 0 6px;font-size:22px}.afcp-login p{color:#667085;font-size:11px}.afcp-login a{display:inline-flex;min-height:38px;align-items:center;padding:0 13px;border-radius:8px;background:#246bfd;color:#fff;font-size:9px;font-weight:800}
.theme-light{--af-bg:#fff;--af-surface:#fff;--af-surface2:#f8fafc;--af-line:#e4e7ec;--af-text:#111827;--af-muted:#667085;background:#fff;color:#111827}.theme-light .afcp-hero h1,.theme-light .afcp-section-head h2,.theme-light .afcp-stream h3{color:#111827!important}.theme-light .afcp-search,.theme-light .afcp-metrics>div,.theme-light .afcp-permission-note{background:#f8fafc}.theme-light .afcp-search input,.theme-light .afcp-linkrow input,.theme-light .afcp-generated input{background:#fff!important;color:#1f2937!important}.theme-light .afcp-outline,.theme-light .afcp-refresh,.theme-light .afcp-copy,.theme-light .afcp-copy-all,.theme-light .afcp-collapse,.theme-light .afcp-copy-obs,.theme-light .afcp-density{background:#fff;color:#344054!important}
@media(max-width:1040px){.afcp-stream-list{grid-template-columns:1fr}.afcp-summary{grid-template-columns:1fr 1fr}.afcp-toolbar{grid-template-columns:1fr 1fr}.afcp-toolbar-right{grid-column:1/-1;justify-content:space-between}}
@media(max-width:700px){.afcp-hero{display:block}.afcp-account{margin-top:14px;min-width:0}.afcp-summary{grid-template-columns:1fr 1fr}.afcp-toolbar{display:flex;flex-direction:column;align-items:stretch}.afcp-filters{justify-content:stretch}.afcp-filter{flex:1}.afcp-metrics{grid-template-columns:1fr 1fr}.afcp-stream-head{display:block}.afcp-card-tools{margin-top:9px}.afcp-section-head{display:block}.afcp-section-head .afcp-primary{margin-top:10px;width:100%}}
@media(max-width:430px){.afcp-summary,.afcp-metrics{grid-template-columns:1fr}.afcp-linkrow>div,.afcp-generated{display:block}.afcp-linkrow button,.afcp-generated button{width:100%;margin-top:5px}.afcp-playback-actions{display:grid}}

/* v10 Plyr integration */
.afcp-preview-player{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 10px;border:1px solid var(--af-accent);border-radius:8px;background:var(--af-accent);color:#fff;cursor:pointer;font-size:9px;font-weight:800}
.afcp-player-modal[hidden]{display:none!important}.afcp-player-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:20px}.afcp-player-backdrop{position:absolute;inset:0;background:rgba(3,7,12,.76);backdrop-filter:blur(4px)}.afcp-player-dialog{position:relative;width:min(980px,100%);overflow:hidden;border:1px solid #2c3744;border-radius:12px;background:#0f151d;box-shadow:0 30px 90px rgba(0,0,0,.45);color:#fff}.afcp-player-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;border-bottom:1px solid #283340}.afcp-player-dialog header span{display:block;color:#74a8ff;font-size:7px;font-weight:900;letter-spacing:.1em}.afcp-player-dialog h3{margin:2px 0 0;color:#fff!important;font-size:14px}.afcp-player-close{width:34px;height:34px;border:1px solid #344150;border-radius:8px;background:#151e28;color:#fff;cursor:pointer;font-size:20px;line-height:1}.afcp-player-shell{background:#000}.afcp-player-dialog footer{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-top:1px solid #283340;color:#8f9eaf;font-size:8px}.afcp-player-live{display:inline-flex;align-items:center;gap:6px}.afcp-player-live i{width:6px;height:6px;border-radius:50%;background:#28b778}.afcp-player-open{overflow:hidden}
.afcp-player-shell .plyr{--plyr-color-main:var(--af-accent);background:#000}.afcp-player-shell .plyr__control--overlaid{background:var(--plyr-color-main)}.afcp-player-shell .plyr--video{border-radius:0}
.afcp-inline-player{overflow:hidden;border:1px solid var(--af-line);border-radius:10px;background:#0f151d}.afcp-inline-player-head{display:flex;align-items:center;gap:9px;padding:10px 12px;border-bottom:1px solid #293440;color:#fff}.afcp-inline-player-head span{padding:4px 6px;border-radius:5px;background:#d9465f;font-size:7px;font-weight:900}.afcp-inline-player-head b{font-size:10px}.afcp-inline-player .plyr{--plyr-color-main:var(--af-accent);background:#000}
@media(max-width:640px){.afcp-player-modal{padding:8px}.afcp-player-dialog{border-radius:9px}.afcp-playback-actions{display:grid}.afcp-playback-actions>*{width:100%}}

/* v11 client dashboard + billing */
.afcp-dashboard-shell{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:720px}.afcp-client-nav{display:flex;flex-direction:column;padding:14px;border-right:1px solid var(--af-line);background:var(--af-surface)}.afcp-nav-account{display:flex;align-items:center;gap:9px;padding:8px 6px 15px;border-bottom:1px solid var(--af-line)}.afcp-nav-logo{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:var(--af-accent);overflow:hidden;color:#fff;font-weight:900}.afcp-nav-logo img{width:100%;height:100%;object-fit:contain;background:#fff;padding:4px}.afcp-nav-account b,.afcp-nav-account span{display:block}.afcp-nav-account b{font-size:10px}.afcp-nav-account span{font-size:8px;color:var(--af-muted);margin-top:2px}.afcp-client-nav nav{display:grid;gap:3px;margin-top:14px}.afcp-nav-item{width:100%;min-height:38px;border:0;border-radius:7px;padding:0 10px;background:transparent;color:var(--af-muted);text-align:left;font-size:9px;font-weight:800;cursor:pointer}.afcp-nav-item:hover,.afcp-nav-item.active{background:var(--af-surface2);color:var(--af-text)}.afcp-nav-item.active{box-shadow:inset 2px 0 0 var(--af-accent)}.afcp-nav-bottom{margin-top:auto;padding:13px 6px 4px;display:grid;gap:8px}.afcp-nav-bottom .afcp-outline{width:100%}.afcp-nav-status{display:inline-flex;align-items:center;gap:6px;color:var(--af-green);font-size:8px;font-weight:800}.afcp-nav-status i{width:6px;height:6px;border-radius:50%;background:var(--af-green)}
.afcp-dashboard-main{min-width:0}.afcp-dashboard-view{display:none}.afcp-dashboard-view.active{display:block}.afcp-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 22px 24px}.afcp-overview-card{padding:14px;border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface)}.afcp-overview-card>span,.afcp-page-title>span,.afcp-billing-card>span{font-size:7px;color:var(--af-muted);font-weight:900;letter-spacing:.07em}.afcp-overview-card h3{margin:6px 0 4px;font-size:13px}.afcp-overview-card p{margin:0;color:var(--af-muted);font-size:8px;line-height:1.5}
.afcp-page-title{padding:24px 22px 14px;border-bottom:1px solid var(--af-line)}.afcp-page-title h2{margin:4px 0 3px;color:var(--af-text)!important;font-size:23px;letter-spacing:-.03em}.afcp-page-title p{margin:0;color:var(--af-muted);font-size:10px}
.afcp-billing-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:18px 22px 10px}.afcp-billing-card{padding:18px;border:1px solid var(--af-line);border-radius:10px;background:var(--af-surface)}.afcp-billing-card.primary{border-color:color-mix(in srgb,var(--af-accent) 32%,var(--af-line))}.afcp-billing-card h3{margin:6px 0 12px;font-size:15px}.afcp-billing-card strong{display:block;font-size:29px;letter-spacing:-.04em}.afcp-billing-card strong small{font-size:9px;color:var(--af-muted);font-weight:700}.afcp-billing-card p{margin:0;color:var(--af-muted);font-size:9px}.afcp-billing-status{display:inline-flex;margin-top:13px;padding:4px 7px;border-radius:999px;background:#28313c;color:#b7c3d1;font-size:8px;font-weight:800}.afcp-billing-status.active,.afcp-billing-status.trialing{background:#183a2d;color:#82dfb6}.afcp-billing-status.past_due,.afcp-billing-status.unpaid,.afcp-billing-status.canceled{background:#3b2027;color:#f1a0ad}.afcp-billing-actions{display:flex;gap:8px;padding:8px 22px 18px}.afcp-inline-message{padding:0 22px 20px;color:var(--af-muted);font-size:9px}
.afcp-account-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px 22px 24px;max-width:820px}.afcp-account-form label>span,.afcp-account-readonly>span{display:block;margin-bottom:5px;color:var(--af-muted);font-size:8px;font-weight:800}.afcp-account-form input{width:100%;height:38px;border:1px solid var(--af-line);border-radius:7px;background:#10151c;color:var(--af-text);padding:0 10px}.afcp-account-readonly{padding:10px;border:1px solid var(--af-line);border-radius:7px;background:var(--af-surface)}.afcp-account-readonly code,.afcp-account-readonly b{font-size:9px;color:var(--af-text)}#afcp-account-message{align-self:center;color:var(--af-muted);font-size:9px}
.theme-light .afcp-client-nav,.theme-light .afcp-overview-card,.theme-light .afcp-billing-card,.theme-light .afcp-account-readonly{background:#fff}.theme-light .afcp-account-form input{background:#fff;color:#1f2937}
@media(max-width:900px){.afcp-dashboard-shell{grid-template-columns:1fr}.afcp-client-nav{position:static;border-right:0;border-bottom:1px solid var(--af-line);padding:10px 14px}.afcp-client-nav nav{display:flex;overflow:auto;margin-top:10px}.afcp-nav-item{min-width:100px;text-align:center}.afcp-nav-item.active{box-shadow:inset 0 -2px 0 var(--af-accent)}.afcp-nav-bottom{display:none}.afcp-overview-grid{grid-template-columns:1fr}.afcp-billing-grid{grid-template-columns:1fr}}@media(max-width:600px){.afcp-account-form{grid-template-columns:1fr}.afcp-billing-actions{display:grid}.afcp-billing-actions>*{width:100%}}

/* v12 Support Center */
.afcp-support-layout{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:12px;padding:18px 22px}.afcp-support-compose,.afcp-support-tickets{border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface);padding:15px}.afcp-support-compose h3,.afcp-support-tickets h3{margin:0 0 12px;font-size:14px}.afcp-support-compose label{display:block;margin-bottom:10px}.afcp-support-compose label>span{display:block;margin-bottom:5px;color:var(--af-muted);font-size:8px;font-weight:800}.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,.afcp-ticket-reply textarea{width:100%;border:1px solid var(--af-line);border-radius:7px;background:#10151c;color:var(--af-text);padding:9px;font-size:9px}.afcp-support-compose input,.afcp-support-compose select{height:38px}.afcp-support-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.afcp-support-email-note{margin-top:11px;padding-top:10px;border-top:1px solid var(--af-line);color:var(--af-muted);font-size:8px}.afcp-support-tickets-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.afcp-support-tickets-head h3{margin:0}.afcp-support-tickets-head span{display:block;margin-top:2px;color:var(--af-muted);font-size:8px}.afcp-ticket-list{display:grid;gap:5px}.afcp-ticket-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px;border:1px solid var(--af-line);border-radius:7px;background:transparent;color:var(--af-text);text-align:left;cursor:pointer}.afcp-ticket-row:hover{background:var(--af-surface2)}.afcp-ticket-row b,.afcp-ticket-row span,.afcp-ticket-row small{display:block}.afcp-ticket-row b{font-size:9px}.afcp-ticket-row>div:first-child span{margin-top:3px;color:var(--af-muted);font-size:7px}.afcp-ticket-row>div:last-child{text-align:right}.afcp-ticket-row small{margin-top:4px;color:var(--af-muted);font-size:7px}.afcp-ticket-status{display:inline-flex!important;padding:3px 6px;border-radius:999px;background:#29323d;color:#bdc8d5;font-size:7px!important;font-weight:800;text-transform:capitalize}.afcp-ticket-status.open,.afcp-ticket-status.in_progress{background:#253c63;color:#9fc0ff}.afcp-ticket-status.waiting_client{background:#473a20;color:#eccd84}.afcp-ticket-status.resolved,.afcp-ticket-status.closed{background:#19382c;color:#8ce0b8}.afcp-ticket-empty,.afcp-ticket-loading{padding:24px;text-align:center;color:var(--af-muted);font-size:9px}.afcp-ticket-detail{margin:0 22px 24px;border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface);overflow:hidden}.afcp-ticket-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px;border-bottom:1px solid var(--af-line)}.afcp-ticket-detail-head span{font-size:7px;color:var(--af-muted);font-weight:850}.afcp-ticket-detail-head h3{margin:3px 0;font-size:15px}.afcp-ticket-detail-head p{margin:0;color:var(--af-muted);font-size:8px}.afcp-ticket-thread{display:grid;gap:8px;padding:14px}.afcp-ticket-message{max-width:82%;padding:10px 11px;border:1px solid var(--af-line);border-radius:8px;background:var(--af-surface2)}.afcp-ticket-message.client{margin-left:auto}.afcp-ticket-message.staff{margin-right:auto;border-color:color-mix(in srgb,var(--af-accent) 25%,var(--af-line))}.afcp-ticket-message header{display:flex;justify-content:space-between;gap:12px;margin-bottom:6px}.afcp-ticket-message header b{font-size:8px}.afcp-ticket-message header span{color:var(--af-muted);font-size:7px}.afcp-ticket-message p{margin:0;font-size:9px;line-height:1.55}.afcp-ticket-reply{display:grid;gap:8px;padding:14px;border-top:1px solid var(--af-line)}.afcp-ticket-reply .afcp-primary{justify-self:start}.afcp-ticket-reply span,#afcp-support-message{color:var(--af-muted);font-size:8px}
.theme-light .afcp-support-compose,.theme-light .afcp-support-tickets,.theme-light .afcp-ticket-detail{background:#fff}.theme-light .afcp-support-compose input,.theme-light .afcp-support-compose select,.theme-light .afcp-support-compose textarea,.theme-light .afcp-ticket-reply textarea{background:#fff;color:#1f2937}.theme-light .afcp-ticket-status{background:#eef1f4;color:#596777}.theme-light .afcp-ticket-status.open,.theme-light .afcp-ticket-status.in_progress{background:#edf3ff;color:#245ec0}.theme-light .afcp-ticket-status.waiting_client{background:#fff7e6;color:#805f16}.theme-light .afcp-ticket-status.resolved,.theme-light .afcp-ticket-status.closed{background:#eaf8f2;color:#176c4d}
@media(max-width:900px){.afcp-support-layout{grid-template-columns:1fr}}@media(max-width:520px){.afcp-support-two{grid-template-columns:1fr}.afcp-ticket-row{grid-template-columns:1fr}.afcp-ticket-row>div:last-child{text-align:left}.afcp-ticket-message{max-width:94%}}
/* v13.1 live viewer locations */
.afcp-viewer-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.afcp-viewer-summary section{padding:18px;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:rgba(15,23,42,.46)}.afcp-viewer-summary span{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;opacity:.65}.afcp-viewer-summary b{display:block;margin-top:7px;font-size:24px}.afcp-viewer-summary small{display:block;margin-top:5px;opacity:.55}.afcp-viewer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 10px}.afcp-viewer-note{padding:12px 14px;border-radius:12px;background:rgba(47,125,246,.09);border:1px solid rgba(47,125,246,.2);font-size:13px;opacity:.82;margin-bottom:14px}.afcp-viewer-table-wrap{overflow:auto;border:1px solid rgba(148,163,184,.16);border-radius:16px}.afcp-viewer-table{width:100%;border-collapse:collapse;min-width:780px}.afcp-viewer-table th,.afcp-viewer-table td{padding:14px 16px;text-align:left;border-bottom:1px solid rgba(148,163,184,.12);vertical-align:middle}.afcp-viewer-table th{font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.55;background:rgba(15,23,42,.45)}.afcp-viewer-table td small{display:block;margin-top:3px;opacity:.55}.afcp-viewer-table code{font-size:12px}.afcp-viewer-location{display:flex;align-items:center;gap:10px}.afcp-flag{display:grid;place-items:center;min-width:34px;height:28px;border-radius:8px;background:rgba(148,163,184,.1);font-size:11px;font-weight:800}.afcp-live-viewer{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.afcp-live-viewer i{width:8px;height:8px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12)}.afcp-viewer-empty{padding:22px;text-align:center}.afcp-viewer-empty b,.afcp-viewer-empty span{display:block}.afcp-viewer-empty span{margin-top:6px;opacity:.6}@media(max-width:760px){.afcp-viewer-summary{grid-template-columns:1fr}.afcp-viewer-toolbar{align-items:stretch;flex-direction:column}}

.afcp-public-packages{max-width:1200px;margin:0 auto;padding:54px 20px 70px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.afcp-package-intro{text-align:center;max-width:700px;margin:0 auto 34px}.afcp-package-intro>span{font-size:12px;font-weight:800;letter-spacing:.14em;color:#246bfd}.afcp-package-intro h2{font-size:clamp(32px,5vw,54px);line-height:1.02;margin:9px 0 13px;color:#0f172a}.afcp-package-intro p{font-size:17px;color:#64748b}.afcp-package-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.afcp-package-card{position:relative;background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:26px;box-shadow:0 14px 35px rgba(15,23,42,.06);display:flex;flex-direction:column}.afcp-package-card.featured{border-color:#246bfd;box-shadow:0 18px 45px rgba(36,107,253,.12)}.afcp-package-popular{position:absolute;right:18px;top:18px;padding:6px 9px;border-radius:999px;background:#eaf1ff;color:#1457d8;font-size:10px;font-weight:900;letter-spacing:.08em}.afcp-package-head>span{font-size:12px;font-weight:800;color:#64748b;letter-spacing:.04em}.afcp-package-head h3{font-size:28px;margin:7px 0 15px;color:#0f172a}.afcp-package-price{font-size:25px;font-weight:850;color:#0f172a}.afcp-package-price small{font-size:12px;font-weight:600;color:#64748b}.afcp-platforms{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 8px}.afcp-platforms span{font-size:11px;font-weight:750;padding:7px 9px;border-radius:8px;background:#f1f5f9;color:#334155}.afcp-package-card ul{list-style:none;padding:0;margin:17px 0 24px;display:grid;gap:10px;flex:1}.afcp-package-card li{position:relative;padding-left:22px;color:#334155}.afcp-package-card li:before{content:"✓";position:absolute;left:0;color:#16a34a;font-weight:900}.afcp-package-cta{display:block;text-align:center;text-decoration:none;background:#0f172a;color:#fff!important;padding:13px 16px;border-radius:11px;font-weight:800}.afcp-package-card.featured .afcp-package-cta{background:#246bfd}@media(max-width:900px){.afcp-package-grid{grid-template-columns:1fr}.afcp-public-packages{padding-top:34px}}

/* v14.7 — AWOBAZ Client Workspace redesign */
html.afcp-client-app-html,html.afcp-client-app-html body{margin:0!important;padding:0!important;overflow:hidden!important;background:#0b1020!important}
body.afcp-client-app #wpadminbar{display:none!important}
body.afcp-client-app{background:#0b1020!important}
body.afcp-client-app .afcp-portal{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100vw!important;height:100dvh!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.afcp-portal{
 --af-bg:#0b1020;--af-surface:#111827;--af-surface2:#172033;--af-line:#263247;--af-text:#eef4ff;--af-muted:#8fa0b8;
 --af-green:#34d399;--af-red:#fb7185;--af-amber:#fbbf24;--af-accent:#3b82f6;
 color:var(--af-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;line-height:1.45;
 background:radial-gradient(circle at 80% -10%,rgba(59,130,246,.12),transparent 30%),var(--af-bg)
}
.afcp-portal *{box-sizing:border-box}.afcp-portal button,.afcp-portal input,.afcp-portal textarea,.afcp-portal select{font:inherit}
.afcp-dashboard-shell{display:grid!important;grid-template-columns:252px minmax(0,1fr)!important;height:100%!important;min-height:0!important}
.afcp-client-nav{position:relative!important;display:flex!important;flex-direction:column!important;min-height:0!important;padding:22px 16px 16px!important;background:#0d1424!important;border-right:1px solid rgba(148,163,184,.15)!important;overflow:hidden!important}
.afcp-nav-account{display:flex!important;align-items:center!important;gap:12px!important;padding:0 6px 22px!important;border-bottom:1px solid rgba(148,163,184,.12)!important}
.afcp-nav-logo{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;border-radius:12px!important;overflow:hidden!important;background:var(--af-accent)!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 24px rgba(59,130,246,.2)!important}
.afcp-nav-logo img{width:100%!important;height:100%!important;object-fit:contain!important;padding:5px!important;background:#fff!important}
.afcp-nav-account b{display:block!important;color:#f8fbff!important;font-size:14px!important;line-height:1.2!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:160px!important}
.afcp-nav-account span{display:block!important;margin-top:4px!important;color:#71839d!important;font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:160px!important}
.afcp-client-nav nav{display:grid!important;gap:4px!important;margin-top:22px!important}
.afcp-nav-item{position:relative!important;width:100%!important;min-height:42px!important;padding:0 12px 0 42px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#8ea0b8!important;text-align:left!important;font-size:13px!important;font-weight:650!important;cursor:pointer!important;transition:background .16s ease,color .16s ease,transform .16s ease!important}
.afcp-nav-item:before{position:absolute!important;left:13px!important;top:50%!important;width:18px!important;transform:translateY(-50%)!important;color:#62748f!important;font-size:15px!important;text-align:center!important}
.afcp-nav-item[data-view="overview"]:before{content:"⌂"}.afcp-nav-item[data-view="streams"]:before{content:"◫"}.afcp-nav-item[data-view="viewers"]:before{content:"◎"}.afcp-nav-item[data-view="billing"]:before{content:"▣"}.afcp-nav-item[data-view="account"]:before{content:"○"}.afcp-nav-item[data-view="support"]:before{content:"?"}
.afcp-nav-item:hover{background:rgba(148,163,184,.07)!important;color:#e7eef9!important;transform:translateX(1px)!important}
.afcp-nav-item.active{background:rgba(59,130,246,.13)!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(59,130,246,.16)!important}
.afcp-nav-item.active:before{color:#73a8ff!important}
.afcp-nav-bottom{margin-top:auto!important;padding:16px 6px 0!important;border-top:1px solid rgba(148,163,184,.12)!important;display:grid!important;gap:10px!important}
.afcp-nav-status{display:flex!important;align-items:center!important;gap:8px!important;color:#7f90a8!important;font-size:11px!important}.afcp-nav-status i{width:7px!important;height:7px!important;border-radius:50%!important;background:var(--af-green)!important;box-shadow:0 0 0 4px rgba(52,211,153,.1)!important}
.afcp-dashboard-main{min-width:0!important;min-height:0!important;height:100%!important;overflow:auto!important;background:transparent!important;scrollbar-width:thin!important;scrollbar-color:#34445d transparent!important}
.afcp-dashboard-view{display:none!important;min-height:100%!important;padding-bottom:34px!important}.afcp-dashboard-view.active{display:block!important}
.afcp-topbar{position:sticky!important;top:0!important;z-index:20!important;height:66px!important;padding:0 30px!important;border-bottom:1px solid rgba(148,163,184,.12)!important;background:rgba(11,16,32,.86)!important;backdrop-filter:blur(16px)!important;-webkit-backdrop-filter:blur(16px)!important}
.afcp-brand{gap:10px!important}.afcp-brandmark{width:34px!important;height:34px!important;border-radius:9px!important}.afcp-brand b{font-size:13px!important;color:#f5f9ff!important}.afcp-brand>div>span{margin-top:1px!important;font-size:10px!important;color:#73849d!important}
.afcp-top-actions{gap:9px!important}.afcp-system-pill{font-size:11px!important;color:#8da0ba!important;font-weight:650!important}.afcp-system-pill i{width:7px!important;height:7px!important;background:var(--af-green)!important;box-shadow:0 0 0 4px rgba(52,211,153,.1)!important}
.afcp-outline,.afcp-primary,.afcp-refresh,.afcp-copy,.afcp-token,.afcp-copy-obs,.afcp-copy-all,.afcp-collapse,.afcp-density{min-height:36px!important;padding:0 12px!important;border:1px solid #2d3a50!important;border-radius:8px!important;background:#152035!important;color:#eaf1fb!important;font-size:12px!important;font-weight:700!important;box-shadow:none!important;transition:background .15s,border-color .15s,transform .15s!important}
.afcp-outline:hover,.afcp-refresh:hover,.afcp-copy:hover,.afcp-copy-obs:hover,.afcp-copy-all:hover,.afcp-density:hover{background:#1b2942!important;border-color:#3c4e69!important;transform:translateY(-1px)!important}.afcp-primary,.afcp-token{background:var(--af-accent)!important;border-color:var(--af-accent)!important;color:#fff!important}.afcp-primary:hover,.afcp-token:hover{filter:brightness(1.07)!important;transform:translateY(-1px)!important}
.afcp-hero{display:grid!important;grid-template-columns:minmax(0,1fr) 250px!important;align-items:center!important;gap:28px!important;padding:34px 30px 24px!important}.afcp-hero-copy{max-width:760px!important}.afcp-eyebrow{font-size:10px!important;letter-spacing:.16em!important;color:#73a8ff!important}.afcp-hero h1{margin:8px 0 10px!important;color:#f8fbff!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.05!important;letter-spacing:-.035em!important}.afcp-hero p{max-width:680px!important;color:#90a0b8!important;font-size:14px!important;line-height:1.65!important}.afcp-hero-chips{gap:7px!important;margin-top:16px!important}.afcp-hero-chips span{padding:6px 8px!important;border:1px solid rgba(148,163,184,.15)!important;border-radius:7px!important;background:rgba(17,24,39,.7)!important;color:#8394ad!important;font-size:10px!important;letter-spacing:.035em!important;text-transform:none!important}
.afcp-account{min-width:0!important;padding:16px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:linear-gradient(145deg,rgba(24,34,54,.94),rgba(17,24,39,.94))!important;box-shadow:0 14px 35px rgba(0,0,0,.12)!important}.afcp-account-icon{width:40px!important;height:40px!important;border-radius:10px!important}.afcp-account span{font-size:10px!important;letter-spacing:.08em!important;color:#73839c!important}.afcp-account b{margin:4px 0!important;color:#f3f7fd!important;font-size:15px!important}.afcp-account em{font-size:11px!important}
.afcp-summary{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;padding:0 30px 26px!important}.afcp-stat-card{padding:18px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:rgba(17,24,39,.72)!important;box-shadow:0 8px 26px rgba(0,0,0,.08)!important}.afcp-stat-card span{font-size:10px!important;letter-spacing:.07em!important;color:#74849d!important}.afcp-stat-card b{margin:8px 0 5px!important;color:#f7faff!important;font-size:28px!important;font-weight:750!important}.afcp-stat-card small{font-size:11px!important;color:#6f8098!important}.afcp-stat-card sup{font-size:11px!important;color:#7f90a7!important}
.afcp-overview-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;padding:0 30px!important}.afcp-overview-card{padding:18px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-overview-card>span{font-size:10px!important;letter-spacing:.1em!important;color:#6f819b!important}.afcp-overview-card h3{margin:7px 0 6px!important;color:#eff5ff!important;font-size:16px!important}.afcp-overview-card p{margin:0!important;color:#8495ad!important;font-size:12px!important;line-height:1.6!important}
.afcp-section-head,.afcp-page-title{padding:34px 30px 18px!important;border:0!important}.afcp-section-head{align-items:center!important}.afcp-section-head span,.afcp-page-title>span{font-size:10px!important;letter-spacing:.14em!important;color:#70a5ff!important;font-weight:800!important}.afcp-section-head h2,.afcp-page-title h2{margin:6px 0 4px!important;color:#f6f9ff!important;font-size:26px!important;letter-spacing:-.025em!important}.afcp-section-head p,.afcp-page-title p{margin:0!important;color:#8293aa!important;font-size:13px!important}
.afcp-toolbar{grid-template-columns:minmax(260px,1fr) auto auto!important;gap:10px!important;margin:0 30px 14px!important;padding:10px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:11px!important;background:#10182a!important}.afcp-search{height:38px!important;padding:0 11px!important;border:1px solid #2a3850!important;border-radius:8px!important;background:#0d1423!important}.afcp-search input{font-size:12px!important}.afcp-filter{min-height:34px!important;padding:0 11px!important;border-radius:7px!important;font-size:11px!important}.afcp-filter.active{background:#1b2942!important}.afcp-toolbar-right>span{font-size:10px!important;color:#70819a!important}
.afcp-global-status{margin:0 30px 14px!important;padding:11px 13px!important;border-radius:9px!important;font-size:12px!important}.afcp-stream-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:0 30px 32px!important}.afcp-stream{padding:18px!important;border:1px solid rgba(148,163,184,.15)!important;border-radius:13px!important;background:#10182a!important;box-shadow:0 10px 30px rgba(0,0,0,.09)!important}.afcp-stream.is-live{border-color:rgba(52,211,153,.35)!important}.afcp-stream.has-error{border-color:rgba(251,113,133,.4)!important}.afcp-stream h3{margin:7px 0 5px!important;color:#f4f8ff!important;font-size:17px!important}.afcp-live-dot{font-size:10px!important;letter-spacing:.035em!important}.afcp-slug span{font-size:9px!important}.afcp-stream code{font-size:11px!important;color:#8798b1!important}.afcp-card-tools{flex-wrap:wrap!important;justify-content:flex-end!important}.afcp-collapse{width:36px!important;padding:0!important}
.afcp-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin:16px 0!important}.afcp-metrics>div{padding:11px!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:9px!important;background:#0d1423!important}.afcp-metrics span{font-size:9px!important;letter-spacing:.04em!important;color:#6f819b!important}.afcp-metrics b{margin-top:5px!important;color:#e9f0fa!important;font-size:12px!important}
.afcp-actions{gap:20px!important;border-color:rgba(148,163,184,.13)!important}.afcp-tab{padding:10px 0!important;color:#788aa3!important;font-size:11px!important}.afcp-linkrow{margin-bottom:10px!important}.afcp-linkrow>span{margin-bottom:5px!important;font-size:10px!important;color:#73849d!important}.afcp-linkrow input,.afcp-generated input{height:38px!important;padding:0 11px!important;border:1px solid #29374d!important;border-radius:8px!important;background:#0c1321!important;color:#dbe7f7!important;font-size:11px!important}.afcp-help,.afcp-permission-note,.afcp-token-result small{font-size:11px!important;line-height:1.55!important}.afcp-permission-note{padding:11px!important;border-radius:8px!important;background:#101a2d!important}
.afcp-viewer-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 30px 16px!important}.afcp-viewer-summary section{padding:18px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-viewer-summary span{font-size:10px!important}.afcp-viewer-summary b{font-size:23px!important}.afcp-viewer-summary small{font-size:11px!important}.afcp-viewer-toolbar{margin:0 30px 12px!important}.afcp-viewer-note{margin:0 30px 14px!important;padding:11px 13px!important;border-radius:9px!important;font-size:11px!important}.afcp-viewer-table-wrap{margin:0 30px 30px!important;border-radius:12px!important;border-color:rgba(148,163,184,.14)!important;background:#10182a!important}.afcp-viewer-table th,.afcp-viewer-table td{padding:13px 14px!important}.afcp-viewer-table th{font-size:10px!important;background:#0e1626!important}.afcp-viewer-table td{font-size:12px!important}
.afcp-billing-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;padding:0 30px 16px!important}.afcp-billing-card{padding:20px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-billing-card.primary{background:linear-gradient(145deg,#12203b,#10182a)!important;border-color:rgba(59,130,246,.28)!important}.afcp-billing-card>span{font-size:10px!important;letter-spacing:.1em!important;color:#73849d!important}.afcp-billing-card h3{margin:8px 0!important;font-size:18px!important;color:#f3f7fd!important}.afcp-billing-card strong{font-size:25px!important;color:#fff!important}.afcp-billing-card p{font-size:12px!important;color:#8192aa!important}.afcp-billing-actions{padding:0 30px 16px!important;display:flex!important;gap:9px!important}.afcp-inline-message{margin:0 30px!important;font-size:12px!important;color:#8ca0ba!important}
.afcp-account-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin:0 30px 30px!important;padding:22px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-account-form label>span{display:block!important;margin-bottom:6px!important;color:#8596ad!important;font-size:11px!important;font-weight:700!important}.afcp-account-form input{width:100%!important;height:40px!important;padding:0 11px!important;border:1px solid #2a3850!important;border-radius:8px!important;background:#0d1423!important;color:#e8f0fb!important;font-size:12px!important}.afcp-account-readonly{padding:12px!important;border:1px solid rgba(148,163,184,.12)!important;border-radius:8px!important;background:#0d1423!important}.afcp-account-readonly span{display:block!important;color:#73849d!important;font-size:10px!important}.afcp-account-readonly code,.afcp-account-readonly b{display:block!important;margin-top:4px!important;color:#e4ecf8!important;font-size:12px!important}
.afcp-support-layout{grid-template-columns:minmax(320px,420px) minmax(0,1fr)!important;gap:14px!important;padding:0 30px 18px!important}.afcp-support-compose,.afcp-support-tickets{padding:20px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-support-compose h3,.afcp-support-tickets h3{font-size:16px!important;color:#f0f5fd!important}.afcp-support-compose label>span{font-size:10px!important}.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,.afcp-ticket-reply textarea{border-color:#2a3850!important;border-radius:8px!important;background:#0d1423!important;color:#e6eef8!important;font-size:12px!important}.afcp-support-compose input,.afcp-support-compose select{height:40px!important}.afcp-ticket-row{padding:12px!important;border-radius:8px!important}.afcp-ticket-row b{font-size:12px!important}.afcp-ticket-row>div:first-child span,.afcp-ticket-row small{font-size:10px!important}.afcp-ticket-status{font-size:9px!important}.afcp-ticket-detail{margin:0 30px 30px!important;border-radius:12px!important;background:#10182a!important}.afcp-ticket-message p{font-size:12px!important}.afcp-ticket-message header b{font-size:11px!important}.afcp-ticket-message header span{font-size:10px!important}
.afcp-player-modal{z-index:2147483100!important}
.theme-light{--af-bg:#f4f7fb;--af-surface:#fff;--af-surface2:#f7f9fc;--af-line:#dfe6ef;--af-text:#102036;--af-muted:#65758b!important;background:#f4f7fb!important;color:#102036!important}.theme-light .afcp-client-nav{background:#fff!important}.theme-light .afcp-dashboard-main{background:#f4f7fb!important}.theme-light .afcp-topbar{background:rgba(255,255,255,.9)!important}.theme-light .afcp-nav-account b,.theme-light .afcp-hero h1,.theme-light .afcp-section-head h2,.theme-light .afcp-page-title h2,.theme-light .afcp-stream h3{color:#102036!important}.theme-light .afcp-overview-card,.theme-light .afcp-stat-card,.theme-light .afcp-stream,.theme-light .afcp-billing-card,.theme-light .afcp-account-form,.theme-light .afcp-support-compose,.theme-light .afcp-support-tickets,.theme-light .afcp-viewer-summary section,.theme-light .afcp-viewer-table-wrap{background:#fff!important}.theme-light .afcp-search,.theme-light .afcp-metrics>div,.theme-light .afcp-linkrow input,.theme-light .afcp-account-form input,.theme-light .afcp-support-compose input,.theme-light .afcp-support-compose select,.theme-light .afcp-support-compose textarea{background:#f8fafc!important;color:#223147!important}
@media(max-width:1180px){.afcp-dashboard-shell{grid-template-columns:220px minmax(0,1fr)!important}.afcp-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.afcp-stream-list{grid-template-columns:1fr!important}.afcp-hero{grid-template-columns:1fr!important}.afcp-account{max-width:320px!important}.afcp-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:820px){html.afcp-client-app-html,html.afcp-client-app-html body{overflow:auto!important}.afcp-portal{overflow:auto!important}.afcp-dashboard-shell{display:block!important;height:auto!important;min-height:100%!important}.afcp-client-nav{position:sticky!important;top:0!important;z-index:40!important;display:block!important;padding:10px 12px!important;border-right:0!important;border-bottom:1px solid rgba(148,163,184,.15)!important}.afcp-nav-account{padding:2px 2px 9px!important;border:0!important}.afcp-nav-logo{width:34px!important;height:34px!important}.afcp-client-nav nav{display:flex!important;gap:5px!important;margin-top:4px!important;overflow-x:auto!important;padding-bottom:2px!important}.afcp-nav-item{flex:0 0 auto!important;width:auto!important;min-width:auto!important;min-height:36px!important;padding:0 12px 0 32px!important}.afcp-nav-item:before{left:10px!important}.afcp-nav-bottom{display:none!important}.afcp-dashboard-main{height:auto!important;overflow:visible!important}.afcp-topbar{position:relative!important;height:auto!important;min-height:58px!important;padding:10px 18px!important}.afcp-system-pill,.afcp-top-actions .afcp-outline:not(:last-child){display:none!important}.afcp-hero,.afcp-section-head,.afcp-page-title{padding-left:18px!important;padding-right:18px!important}.afcp-summary,.afcp-overview-grid,.afcp-stream-list{padding-left:18px!important;padding-right:18px!important}.afcp-toolbar,.afcp-global-status,.afcp-viewer-summary,.afcp-viewer-toolbar,.afcp-viewer-note,.afcp-viewer-table-wrap,.afcp-billing-grid,.afcp-billing-actions,.afcp-inline-message,.afcp-account-form,.afcp-support-layout,.afcp-ticket-detail{margin-left:18px!important;margin-right:18px!important}.afcp-toolbar{grid-template-columns:1fr!important}.afcp-toolbar-right{justify-content:space-between!important}.afcp-overview-grid,.afcp-billing-grid{grid-template-columns:1fr!important}.afcp-support-layout{grid-template-columns:1fr!important}.afcp-account-form{grid-template-columns:1fr!important}.afcp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.afcp-top-actions .afcp-system-pill{display:none!important}.afcp-brand>div>span{display:none!important}.afcp-hero{padding-top:24px!important}.afcp-summary{grid-template-columns:1fr!important}.afcp-hero h1{font-size:29px!important}.afcp-card-tools{width:100%!important;margin-top:10px!important;justify-content:flex-start!important}.afcp-stream-head{display:block!important}.afcp-billing-actions{display:grid!important}.afcp-billing-actions>*{width:100%!important}.afcp-viewer-summary{grid-template-columns:1fr!important}}

/* v14.8 workspace refinements */
.afcp-service-alert{margin:18px 30px 0!important;padding:14px 16px!important;border:1px solid rgba(245,158,11,.26)!important;border-radius:11px!important;background:rgba(120,53,15,.16)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}.afcp-service-alert b{display:block!important;color:#f8d48a!important;font-size:13px!important}.afcp-service-alert span{display:block!important;margin-top:3px!important;color:#aebbd0!important;font-size:11px!important;line-height:1.5!important}.afcp-alert-action,.afcp-card-link,.afcp-quick-actions button{border:0!important;background:transparent!important;color:#7fb0ff!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important}.afcp-alert-action{flex:0 0 auto!important;padding:8px 11px!important;border:1px solid rgba(127,176,255,.25)!important;border-radius:8px!important;background:#111d31!important}
.afcp-overview-card{position:relative!important}.afcp-card-link{margin-top:12px!important;padding:0!important}.afcp-overview-detail-grid{display:grid!important;grid-template-columns:1.15fr .85fr!important;gap:12px!important;padding:0 30px 24px!important}.afcp-detail-card{padding:18px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:12px!important;background:#10182a!important}.afcp-detail-card>div>span,.afcp-onboarding span{font-size:9px!important;letter-spacing:.12em!important;font-weight:800!important;color:#667b98!important}.afcp-detail-card h3,.afcp-onboarding h3{margin:6px 0 0!important;color:#edf4ff!important;font-size:15px!important}.afcp-entitlements{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:14px!important}.afcp-entitlements span{padding:7px 9px!important;border:1px solid rgba(96,165,250,.2)!important;border-radius:7px!important;background:#0c1525!important;color:#bcd5fb!important;font-size:10px!important;font-weight:700!important}.afcp-quick-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:14px!important}.afcp-quick-actions button{padding:8px 10px!important;border:1px solid rgba(148,163,184,.14)!important;border-radius:8px!important;background:#0d1626!important}.afcp-onboarding{margin:0 30px 28px!important;padding:18px 20px!important;border:1px dashed rgba(96,165,250,.28)!important;border-radius:12px!important;background:linear-gradient(135deg,rgba(25,49,83,.35),rgba(15,24,42,.8))!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important}.afcp-onboarding p{margin:6px 0 0!important;color:#8396b1!important;font-size:11px!important;line-height:1.55!important}.theme-light .afcp-detail-card,.theme-light .afcp-onboarding{background:#fff!important}.theme-light .afcp-detail-card h3,.theme-light .afcp-onboarding h3{color:#102036!important}
@media(max-width:820px){.afcp-service-alert,.afcp-overview-detail-grid,.afcp-onboarding{margin-left:18px!important;margin-right:18px!important}.afcp-overview-detail-grid{grid-template-columns:1fr!important;padding-left:0!important;padding-right:0!important}.afcp-service-alert,.afcp-onboarding{align-items:flex-start!important;flex-direction:column!important}}

/* v14.9 account-state polish */
.afcp-login a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border-radius:9px;background:var(--af-accent,#2f7df6);color:#fff;text-decoration:none;font-weight:700}
.afcp-login a:hover{filter:brightness(1.06);color:#fff}
.afcp-service-alert{box-shadow:0 10px 30px rgba(0,0,0,.12)}
.afcp-overview-card,.afcp-detail-card,.afcp-stat-card{transition:border-color .16s ease,transform .16s ease}
.afcp-overview-card:hover,.afcp-detail-card:hover{transform:translateY(-1px)}
@media (max-width:680px){.afcp-dashboard-main{padding-bottom:28px}.afcp-top-actions .afcp-outline{min-height:38px}.afcp-hero h1{font-size:clamp(25px,8vw,34px)}}

.afcp-domain-lock{margin-top:16px;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:12px;background:rgba(9,14,24,.58);display:grid;gap:10px}.afcp-domain-lock>div:first-child{display:flex;flex-direction:column;gap:3px}.afcp-domain-lock b{font-size:13px}.afcp-domain-lock small{color:#8492a6;font-size:11px}.afcp-domain-lock label{display:flex;gap:8px;align-items:center;font-size:12px}.afcp-domain-list{width:100%;box-sizing:border-box;border:1px solid #243249!important;background:#0a101b!important;color:#e5edf8!important;border-radius:9px!important;padding:10px!important;resize:vertical}.afcp-domain-actions{display:flex;align-items:center;gap:10px}.afcp-save-domains{border:1px solid #2d3c55;background:#101827;color:#fff;border-radius:8px;padding:8px 12px;cursor:pointer}.afcp-domain-message{font-size:11px;color:#91a4be}.afcp-player-shell .awobaz-player{border-radius:10px}


/* v15.4 Audience analytics */
.afcp-analytics-ranges{display:flex;gap:4px;width:max-content;margin:0 0 14px;padding:3px;border:1px solid var(--af-line);border-radius:9px;background:var(--af-surface2)}
.afcp-range{min-width:62px;height:31px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--af-muted);font-size:8px;font-weight:800;cursor:pointer}
.afcp-range.active{background:var(--af-accent);color:#fff;box-shadow:0 4px 12px rgba(36,107,253,.22)}
.afcp-history-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.afcp-analytics-panel{margin-top:12px;padding:14px;border:1px solid var(--af-line);border-radius:10px;background:var(--af-surface)}
.afcp-analytics-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.afcp-analytics-panel-head span{font-size:7px;font-weight:800;letter-spacing:.08em;color:var(--af-muted)}
.afcp-analytics-panel-head h3{margin:3px 0 0!important;font-size:12px!important;color:var(--af-text)!important}
.afcp-analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.afcp-audience-chart{height:190px;display:flex;align-items:stretch;gap:5px;padding-top:8px;overflow-x:auto}
.afcp-chart-col{flex:1 0 28px;min-width:28px;display:grid;grid-template-rows:18px 1fr 18px;gap:4px;text-align:center}
.afcp-chart-col>span{font-size:7px;color:var(--af-muted)}
.afcp-chart-col>div{position:relative;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--af-line)}
.afcp-chart-col i{display:block;width:65%;min-height:3px;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,var(--af-accent),#7faeff)}
.afcp-chart-col small{font-size:6px;color:var(--af-muted);white-space:nowrap}
.afcp-chart-empty{display:grid;place-items:center;min-height:90px;width:100%;color:var(--af-muted);font-size:9px;text-align:center}
.afcp-ranking-list{display:grid;gap:8px}
.afcp-rank-row{display:grid;grid-template-columns:20px minmax(0,1fr) 48px;align-items:center;gap:8px}
.afcp-rank-num{font-size:7px;color:var(--af-muted);text-align:center}
.afcp-rank-main>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}
.afcp-rank-main b{font-size:8px;color:var(--af-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afcp-rank-main small{font-size:6px;color:var(--af-muted);white-space:nowrap}
.afcp-rank-bar{height:3px;margin-top:4px;border-radius:3px;background:var(--af-line);overflow:hidden}
.afcp-rank-bar i{display:block;height:100%;border-radius:3px;background:var(--af-accent)}
.afcp-rank-row strong{font-size:8px;color:var(--af-text);text-align:right}
@media(max-width:900px){.afcp-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.afcp-analytics-grid{grid-template-columns:1fr}}
@media(max-width:520px){.afcp-analytics-ranges{width:100%}.afcp-range{flex:1;min-width:0;padding:0 7px}.afcp-history-summary{grid-template-columns:1fr 1fr}.afcp-audience-chart{height:160px}}


/* v15.6 realtime audience refresh */
.afcp-audience-title{display:flex!important;align-items:flex-start;justify-content:space-between;gap:18px}
.afcp-live-clock{min-width:148px;padding:10px 12px;border:1px solid var(--af-line);border-radius:10px;background:linear-gradient(180deg,var(--af-surface),var(--af-surface2));text-align:right}
.afcp-live-clock>span{display:block;font-size:6px;font-weight:800;letter-spacing:.12em;color:var(--af-muted)}
.afcp-live-clock>b{display:block;margin-top:2px;font-size:16px;letter-spacing:-.02em;color:var(--af-text);font-variant-numeric:tabular-nums}
.afcp-live-clock>small{display:inline-flex;align-items:center;gap:5px;margin-top:3px;font-size:7px;color:var(--af-muted)}
.afcp-live-clock>small.live{color:#4ade80}.afcp-live-clock>small.live:before{content:"";width:6px;height:6px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.12)}
.afcp-map-panel{overflow:hidden}.afcp-live-map{position:relative;height:265px;overflow:hidden;border:1px solid var(--af-line);border-radius:9px;background:radial-gradient(circle at 65% 30%,rgba(36,107,253,.13),transparent 28%),radial-gradient(circle at 25% 65%,rgba(78,171,255,.08),transparent 25%),#0b1019}
.afcp-map-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:10% 20%;mask-image:linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%)}
.afcp-live-map:after{content:"GLOBAL VIEW";position:absolute;left:12px;bottom:9px;font-size:6px;font-weight:800;letter-spacing:.14em;color:rgba(255,255,255,.28)}
.afcp-map-dot{position:absolute;transform:translate(-50%,-50%);z-index:3;border:0;background:transparent;padding:0;cursor:default;color:#fff}.afcp-map-dot i{display:block;width:9px;height:9px;border-radius:50%;background:#5d93ff;border:2px solid #d8e5ff;box-shadow:0 0 0 5px rgba(67,123,255,.16),0 0 18px rgba(67,123,255,.5)}
.afcp-map-dot span{position:absolute;left:12px;top:-4px;max-width:100px;padding:3px 5px;border-radius:5px;background:rgba(5,9,15,.78);font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.75}
.afcp-viewer-table td small{display:block;margin-top:2px;color:var(--af-muted);font-size:6px}
.afcp-history-summary section{min-height:82px}.afcp-history-summary section b{font-variant-numeric:tabular-nums}
@media(max-width:700px){.afcp-audience-title{display:block!important}.afcp-live-clock{margin-top:12px;text-align:left}.afcp-live-map{height:210px}.afcp-map-dot span{display:none}}


/* v15.7 runtime diagnostics + refined audience UI */
.afcp-audience-health{margin:10px 0;padding:10px 12px;border:1px solid rgba(245,158,11,.28);border-radius:9px;background:rgba(245,158,11,.07);color:#d9a441;font-size:8px;line-height:1.55}
.afcp-live-map{background:
 radial-gradient(circle at 20% 25%,rgba(36,107,253,.10),transparent 28%),
 radial-gradient(circle at 78% 68%,rgba(34,197,94,.06),transparent 24%),
 linear-gradient(180deg,rgba(8,17,31,.88),rgba(6,13,24,.96))}
.afcp-map-grid{opacity:.65}
.afcp-map-dot i{box-shadow:0 0 0 4px rgba(36,107,253,.14),0 0 16px rgba(36,107,253,.4)}


/* v16 automatic playback security */
.afcp-security-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:10px 0 12px;padding:12px 14px;border:1px solid rgba(45,212,191,.18);border-radius:10px;background:rgba(16,185,129,.055)}
.afcp-security-strip div{display:grid;gap:2px}
.afcp-security-strip span{font-size:7px;font-weight:800;letter-spacing:.09em;color:#5eead4}
.afcp-security-strip b{font-size:10px;color:var(--af-text)}
.afcp-security-strip small{font-size:7px;color:var(--af-muted)}
.afcp-security-strip>strong{font-size:7px;letter-spacing:.06em;color:#5eead4;border:1px solid rgba(45,212,191,.22);padding:5px 7px;border-radius:999px;background:rgba(16,185,129,.08)}

.afcp-viewer-count-setting{margin-top:14px;padding:14px 16px;border:1px solid var(--afcp-border,#263247);border-radius:12px;background:rgba(15,23,42,.52);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;align-items:center}.afcp-viewer-count-setting b{display:block;font-size:13px}.afcp-viewer-count-setting small{display:block;margin-top:4px;line-height:1.45;color:var(--afcp-muted,#94a3b8)}.afcp-viewer-count-message{grid-column:1/-1;font-size:12px;color:var(--afcp-muted,#94a3b8)}.afcp-switch-label{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;white-space:nowrap}.afcp-switch-label input{width:18px;height:18px;accent-color:var(--afcp-accent,#246bfd)}@media(max-width:640px){.afcp-viewer-count-setting{grid-template-columns:1fr}.afcp-viewer-count-message{grid-column:1}.afcp-switch-label{justify-self:start}}

/* v17.0 Professional Broadcast Console refresh */
.afcp-portal{
 --af-bg:#090e18;--af-surface:#101827;--af-surface2:#151f31;--af-line:#263247;
 --af-text:#f6f8fc;--af-muted:#91a0b7;--af-soft:#6f809a;--af-green:#3ccf91;--af-red:#f06c7d;
 min-height:720px;border-radius:18px!important;border-color:rgba(148,163,184,.14)!important;
 box-shadow:0 24px 80px rgba(2,8,23,.22)!important;background:linear-gradient(145deg,#0a101c,#0b1220)!important;
}
.afcp-dashboard-shell{grid-template-columns:236px minmax(0,1fr)!important;min-height:720px!important}
.afcp-client-nav{padding:18px 14px!important;background:linear-gradient(180deg,#0b1220 0%,#0a101b 100%)!important}
.afcp-nav-account{padding:4px 5px 18px!important;gap:11px!important}.afcp-nav-logo{width:38px!important;height:38px!important;border-radius:10px!important}
.afcp-nav-account b{font-size:13px!important;max-width:150px!important}.afcp-nav-account span{font-size:10px!important;max-width:150px!important;color:#7889a3!important}
.afcp-client-nav nav{margin-top:15px!important;gap:3px!important}.afcp-nav-item{min-height:40px!important;font-size:12px!important;border-radius:8px!important;padding-left:39px!important}
.afcp-nav-item:before{left:12px!important;font-size:14px!important}.afcp-nav-item.active{background:linear-gradient(90deg,rgba(47,125,246,.17),rgba(47,125,246,.07))!important}
.afcp-nav-bottom{padding-top:14px!important}.afcp-nav-status{font-size:10px!important}
.afcp-dashboard-main{background:radial-gradient(circle at 76% 0%,rgba(47,125,246,.055),transparent 30%),#0b111d!important}
.afcp-topbar{height:62px!important;padding:0 26px!important;background:rgba(11,17,29,.9)!important}.afcp-brand b{font-size:12px!important}.afcp-brand>div>span{font-size:9px!important}
.afcp-outline,.afcp-primary,.afcp-refresh,.afcp-copy,.afcp-token,.afcp-copy-obs,.afcp-copy-all,.afcp-collapse,.afcp-density,.afcp-save-domains,.afcp-preview-player,.afcp-alert-action,.afcp-card-link{
 min-height:36px!important;padding:0 12px!important;border-radius:8px!important;font-size:11px!important;font-weight:700!important;letter-spacing:0!important
}
.afcp-hero{grid-template-columns:minmax(0,1fr) 230px!important;padding:30px 26px 22px!important;gap:22px!important}.afcp-hero h1{font-size:clamp(28px,3vw,38px)!important}.afcp-hero p{font-size:13px!important;max-width:650px!important}.afcp-hero-chips span{font-size:9px!important;padding:5px 8px!important}
.afcp-account{padding:14px!important;border-radius:11px!important}.afcp-account b{font-size:14px!important}.afcp-account span,.afcp-account em{font-size:10px!important}
.afcp-summary{gap:10px!important;padding:0 26px 22px!important}.afcp-stat-card{padding:16px!important;border-radius:11px!important;background:linear-gradient(180deg,rgba(18,27,43,.95),rgba(14,22,36,.95))!important}.afcp-stat-card span{font-size:9px!important}.afcp-stat-card b{font-size:25px!important;margin:7px 0 4px!important}.afcp-stat-card small{font-size:10px!important}
.afcp-overview-grid{gap:10px!important;padding:0 26px!important}.afcp-overview-card{padding:16px!important;border-radius:11px!important;background:#101827!important}.afcp-overview-card>span{font-size:9px!important}.afcp-overview-card h3{font-size:15px!important}.afcp-overview-card p{font-size:11px!important}.afcp-card-link{margin-top:13px!important;border:1px solid #2b3a52!important;background:#151f31!important;color:#dce7f7!important;cursor:pointer!important}
.afcp-page-title,.afcp-section-head{padding:28px 26px 16px!important}.afcp-page-title h2,.afcp-section-head h2{font-size:23px!important}.afcp-page-title p,.afcp-section-head p{font-size:12px!important}.afcp-page-title>span,.afcp-section-head span{font-size:9px!important}
.afcp-toolbar{margin:0 26px 12px!important}.afcp-stream-list{gap:12px!important;padding:0 26px 28px!important}.afcp-stream{padding:16px!important;border-radius:11px!important}.afcp-stream h3{font-size:14px!important}.afcp-live-dot{font-size:9px!important}.afcp-stream code,.afcp-slug span{font-size:9px!important}
.afcp-metrics{gap:5px!important}.afcp-metrics>div{padding:9px!important}.afcp-metrics span{font-size:8px!important}.afcp-metrics b{font-size:11px!important}.afcp-tab{font-size:10px!important;padding:10px 0!important}.afcp-actions{gap:17px!important}
.afcp-linkrow>span{font-size:9px!important}.afcp-linkrow input,.afcp-generated input{height:36px!important;font-size:10px!important}.afcp-help,.afcp-permission-note,.afcp-token-result small{font-size:10px!important;line-height:1.5!important}
.afcp-security-strip{padding:13px!important}.afcp-security-strip span{font-size:8px!important}.afcp-security-strip b{font-size:12px!important}.afcp-security-strip small{font-size:9px!important;line-height:1.45!important}.afcp-security-strip>strong{font-size:8px!important}
.afcp-domain-lock{padding:13px!important}.afcp-domain-lock b{font-size:12px!important}.afcp-domain-lock small{font-size:10px!important}.afcp-domain-lock label{font-size:11px!important}.afcp-domain-list{font-size:11px!important;line-height:1.5!important}.afcp-domain-message{font-size:10px!important}
.afcp-viewer-count-setting b{font-size:12px!important}.afcp-viewer-count-setting small,.afcp-viewer-count-message,.afcp-switch-label{font-size:10px!important}
.afcp-billing-grid,.afcp-account-form,.afcp-support-layout,.afcp-viewer-summary,.afcp-viewer-toolbar,.afcp-viewer-note,.afcp-viewer-table-wrap,.afcp-analytics-ranges,.afcp-analytics-grid,.afcp-history-summary{margin-left:26px!important;margin-right:26px!important}
.afcp-billing-card,.afcp-support-compose,.afcp-support-tickets,.afcp-ticket-detail,.afcp-account-form{border-radius:12px!important;background:#101827!important;border-color:rgba(148,163,184,.14)!important}
.afcp-billing-card span,.afcp-billing-status,.afcp-account-form label>span,.afcp-support-compose label>span{font-size:9px!important}.afcp-billing-card h3,.afcp-support-compose h3,.afcp-support-tickets h3{font-size:15px!important}.afcp-billing-card p{font-size:11px!important}.afcp-billing-card strong{font-size:27px!important}
.afcp-account-form input,.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea{font-size:12px!important;min-height:40px!important;border-radius:8px!important;background:#0c1422!important;border-color:#28364d!important;color:#eef4ff!important}.afcp-support-compose textarea{min-height:145px!important}
.afcp-account-readonly span{font-size:9px!important}.afcp-account-readonly code,.afcp-account-readonly b{font-size:11px!important}
.afcp-viewer-table{font-size:11px!important}.afcp-viewer-table th{font-size:9px!important;letter-spacing:.06em!important}.afcp-viewer-table td small{font-size:9px!important}.afcp-viewer-note,.afcp-viewer-toolbar{font-size:10px!important}
.afcp-analytics-panel{border-radius:11px!important}.afcp-analytics-panel-head span{font-size:8px!important}.afcp-analytics-panel-head h3{font-size:13px!important}.afcp-range{font-size:10px!important}.afcp-chart-col>span,.afcp-rank-num{font-size:9px!important}.afcp-chart-col small,.afcp-rank-main small{font-size:8px!important}.afcp-rank-main b,.afcp-rank-row strong{font-size:10px!important}.afcp-chart-empty{font-size:10px!important}
.afcp-public-packages{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}.afcp-package-intro h2{font-size:clamp(28px,4vw,42px)!important}.afcp-package-intro p{font-size:14px!important}.afcp-package-card{border-radius:16px!important}.afcp-package-card h3{font-size:20px!important}.afcp-package-card li,.afcp-package-card p{font-size:12px!important}.afcp-package-cta{min-height:42px!important;font-size:12px!important}
.afcp-login{border-radius:16px!important;padding:34px!important}.afcp-login h2{font-size:24px!important}.afcp-login p{font-size:13px!important;line-height:1.6!important}
.afcp-player-dialog{border-radius:16px!important;overflow:hidden!important}.afcp-player-dialog header h3{font-size:16px!important}.afcp-player-dialog header span,.afcp-player-dialog footer{font-size:10px!important}
@media(max-width:1080px){.afcp-dashboard-shell{grid-template-columns:210px minmax(0,1fr)!important}.afcp-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.afcp-overview-grid{grid-template-columns:1fr 1fr!important}.afcp-stream-list{grid-template-columns:1fr!important}.afcp-hero{grid-template-columns:1fr!important}.afcp-account{max-width:360px!important}}
@media(max-width:760px){
 .afcp-portal{border-radius:0!important;border-left:0!important;border-right:0!important;min-height:100vh!important}.afcp-dashboard-shell{display:block!important;min-height:100vh!important}.afcp-dashboard-main{padding-bottom:76px!important}
 .afcp-client-nav{position:fixed!important;z-index:80!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;height:68px!important;min-height:0!important;padding:6px 8px calc(6px + env(safe-area-inset-bottom))!important;border:0!important;border-top:1px solid rgba(148,163,184,.16)!important;background:rgba(8,13,23,.96)!important;backdrop-filter:blur(18px)!important;-webkit-backdrop-filter:blur(18px)!important}
 .afcp-nav-account,.afcp-nav-bottom{display:none!important}.afcp-client-nav nav{display:flex!important;justify-content:space-around!important;gap:2px!important;margin:0!important;height:100%!important;overflow-x:auto!important}.afcp-nav-item{flex:1 0 62px!important;min-width:62px!important;min-height:54px!important;padding:29px 4px 4px!important;text-align:center!important;font-size:8px!important;border-radius:8px!important;white-space:nowrap!important}.afcp-nav-item:before{left:50%!important;top:10px!important;transform:translateX(-50%)!important;font-size:15px!important}.afcp-nav-item:hover{transform:none!important}
 .afcp-topbar{height:56px!important;padding:0 16px!important}.afcp-brand>div>span,.afcp-system-pill{display:none!important}.afcp-top-actions{gap:5px!important}.afcp-top-actions .afcp-outline{min-height:32px!important;padding:0 9px!important;font-size:9px!important}.afcp-top-actions .afcp-outline:first-of-type{display:none!important}
 .afcp-hero{padding:24px 18px 17px!important}.afcp-hero h1{font-size:29px!important}.afcp-hero p{font-size:12px!important}.afcp-hero-chips{gap:5px!important}.afcp-hero-chips span{font-size:8px!important}.afcp-account{width:100%!important;max-width:none!important}
 .afcp-summary,.afcp-overview-grid{padding-left:18px!important;padding-right:18px!important}.afcp-summary{grid-template-columns:1fr 1fr!important}.afcp-overview-grid{grid-template-columns:1fr!important}.afcp-stat-card{padding:14px!important}.afcp-stat-card b{font-size:22px!important}
 .afcp-page-title,.afcp-section-head{padding-left:18px!important;padding-right:18px!important}.afcp-toolbar{grid-template-columns:1fr!important;margin-left:18px!important;margin-right:18px!important}.afcp-filters{overflow-x:auto!important}.afcp-toolbar-right{justify-content:space-between!important}.afcp-stream-list{padding-left:18px!important;padding-right:18px!important}
 .afcp-billing-grid,.afcp-account-form,.afcp-support-layout,.afcp-viewer-summary,.afcp-viewer-toolbar,.afcp-viewer-note,.afcp-viewer-table-wrap,.afcp-analytics-ranges,.afcp-analytics-grid,.afcp-history-summary{margin-left:18px!important;margin-right:18px!important}.afcp-billing-grid,.afcp-support-layout{grid-template-columns:1fr!important}.afcp-account-form{grid-template-columns:1fr!important}.afcp-support-two{grid-template-columns:1fr!important}
 .afcp-viewer-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.afcp-viewer-table{min-width:760px!important}
}
@media(max-width:480px){.afcp-summary{grid-template-columns:1fr!important}.afcp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.afcp-security-strip{align-items:flex-start!important;flex-direction:column!important}.afcp-billing-card strong{font-size:23px!important}}


/* v18.0 — full dashboard rebuild */
.afcp-v18-overview{background:#0a0f18!important;min-height:100%}
.afcp-v18-header{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid #1c2736;background:#0d141f;position:sticky;top:0;z-index:15}
.afcp-v18-brandline{display:flex;align-items:center;gap:11px}.afcp-v18-brandline .afcp-brandmark{width:38px;height:38px;border-radius:10px}.afcp-v18-brandline b,.afcp-v18-brandline span{display:block}.afcp-v18-brandline b{font-size:14px;color:#f8fafc}.afcp-v18-brandline span{font-size:10px;color:#718096;margin-top:2px}
.afcp-v18-header-actions{display:flex;align-items:center;gap:9px}.afcp-v18-online{display:inline-flex;align-items:center;gap:7px;color:#9ae6b4;font-size:11px;font-weight:700;margin-right:5px}.afcp-v18-online i{width:7px;height:7px;border-radius:99px;background:#38c780;box-shadow:0 0 0 4px rgba(56,199,128,.11)}
.afcp-v18-content{padding:30px;max-width:1500px;margin:0 auto}.afcp-v18-welcome{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:24px}.afcp-v18-kicker{display:block;color:#5d8fff;font-size:10px;font-weight:900;letter-spacing:.14em}.afcp-v18-welcome h1{font-size:32px!important;line-height:1.12!important;letter-spacing:-.035em!important;margin:7px 0 7px!important;color:#f8fafc!important}.afcp-v18-welcome p{font-size:13px!important;color:#8795a9!important;margin:0!important}
.afcp-v18-planbox{min-width:210px;border:1px solid #223048;background:#101925;border-radius:14px;padding:13px 15px}.afcp-v18-planbox>span{display:block;font-size:9px;color:#72839a;font-weight:800;letter-spacing:.1em}.afcp-v18-planbox>b{display:block;font-size:15px;margin:3px 0 7px}.afcp-v18-planbox em{font-size:10px;font-style:normal;font-weight:800;display:flex;align-items:center;gap:6px}.afcp-v18-planbox em i{width:6px;height:6px;border-radius:50%}.afcp-v18-planbox .is-active{color:#6ee7a8}.afcp-v18-planbox .is-active i{background:#34d399}.afcp-v18-planbox .is-paused{color:#fca5a5}.afcp-v18-planbox .is-paused i{background:#fb7185}
.afcp-v18-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}.afcp-v18-kpi{display:flex;align-items:center;gap:13px;min-height:104px;padding:17px;border:1px solid #1d2a3b;border-radius:14px;background:#0f1723;box-shadow:0 10px 24px rgba(0,0,0,.12)}.afcp-v18-kpi.primary{border-color:#284b8e;background:linear-gradient(145deg,#11213b,#0e1724)}.afcp-v18-kpi-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:10px;background:#172338;color:#7ba8ff;font-size:15px}.afcp-v18-kpi span,.afcp-v18-kpi small{display:block}.afcp-v18-kpi span{font-size:10px;color:#8190a5;font-weight:700}.afcp-v18-kpi b{display:block;font-size:23px;letter-spacing:-.025em;line-height:1.15;margin:3px 0;color:#f8fafc}.afcp-v18-kpi b sup{font-size:11px;color:#8795a9}.afcp-v18-kpi small{font-size:9px;color:#66758b}
.afcp-v18-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(300px,.75fr);gap:14px}.afcp-v18-sidecol{display:grid;gap:14px}.afcp-v18-panel{border:1px solid #1d2a3b;border-radius:14px;background:#0f1723;overflow:hidden}.afcp-v18-panel-head{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;border-bottom:1px solid #1b2737}.afcp-v18-panel-head span{display:block;color:#67778e;font-size:9px;font-weight:900;letter-spacing:.12em}.afcp-v18-panel-head h2{margin:3px 0 0!important;font-size:16px!important;color:#f1f5f9!important}.afcp-v18-panel-head>button,.afcp-v18-panel-foot button,.afcp-v18-port-row>button{border:1px solid #2a3a51;background:#151f2e;color:#dce7f7;border-radius:8px;padding:7px 10px;font-size:10px;font-weight:750;cursor:pointer}
.afcp-v18-channel-list{padding:6px 10px}.afcp-v18-channel{width:100%;display:grid;grid-template-columns:12px minmax(0,1fr) 80px 76px;gap:12px;align-items:center;padding:12px 9px;border:0;border-bottom:1px solid #172231;background:transparent;color:#e8eef7;text-align:left;cursor:pointer}.afcp-v18-channel:last-child{border-bottom:0}.afcp-v18-channel:hover{background:#121d2b;border-radius:9px}.afcp-v18-channel-dot{width:8px;height:8px;border-radius:50%;background:#536174}.afcp-v18-channel.is-live .afcp-v18-channel-dot{background:#34d399;box-shadow:0 0 0 4px rgba(52,211,153,.09)}.afcp-v18-channel-name b,.afcp-v18-channel-name small,.afcp-v18-channel-viewers b,.afcp-v18-channel-viewers small{display:block}.afcp-v18-channel-name b{font-size:12px}.afcp-v18-channel-name small{font-size:9px;color:#67778d;margin-top:2px}.afcp-v18-channel-viewers{text-align:right}.afcp-v18-channel-viewers b{font-size:12px}.afcp-v18-channel-viewers small{font-size:8px;color:#65758b}.afcp-v18-channel-state{justify-self:end;padding:4px 7px;border-radius:999px;background:#1e293b;color:#94a3b8;font-size:8px;font-weight:850;text-transform:uppercase}.afcp-v18-channel.is-live .afcp-v18-channel-state{background:#102e24;color:#6ee7a8}.afcp-v18-panel-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 18px;border-top:1px solid #1b2737;background:#0c141f}.afcp-v18-panel-foot span{font-size:9px;color:#63748a}.afcp-v18-empty{padding:28px;text-align:center;color:#6f8097;font-size:11px}
.afcp-v18-health{min-height:220px}.afcp-v18-health-row{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-bottom:1px solid #182332}.afcp-v18-health-row span{font-size:10px;color:#7d8ca1}.afcp-v18-health-row b{font-size:10px;color:#dce6f3}.afcp-v18-health-row b.ok{color:#6ee7a8}.afcp-v18-health-row b.warn{color:#fda4af}.afcp-v18-fullbtn{display:block;width:calc(100% - 36px);margin:14px 18px 16px;height:36px;border:1px solid #2a3b55;border-radius:8px;background:#151f31;color:#e6edf7;font-size:10px;font-weight:750;cursor:pointer}
.afcp-v18-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px}.afcp-v18-actions-grid button{display:flex;align-items:center;gap:9px;min-height:62px;padding:10px;border:1px solid #1f2c3e;border-radius:10px;background:#101a28;color:#e6edf7;text-align:left;cursor:pointer}.afcp-v18-actions-grid button:hover{border-color:#31558e;background:#132137}.afcp-v18-actions-grid i{width:29px;height:29px;flex:0 0 29px;display:grid;place-items:center;border-radius:8px;background:#172641;color:#7fa9f8;font-style:normal}.afcp-v18-actions-grid b,.afcp-v18-actions-grid small{display:block}.afcp-v18-actions-grid b{font-size:10px}.afcp-v18-actions-grid small{font-size:8px;color:#687a91;margin-top:2px}
.afcp-v18-bottom-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:14px;margin-top:14px}.afcp-v18-platform-list{display:flex;gap:8px;flex-wrap:wrap;padding:17px}.afcp-v18-platform-list span{padding:7px 10px;border-radius:8px;background:#152134;border:1px solid #26364c;color:#b8c6d8;font-size:9px;font-weight:750}.afcp-v18-port-row{display:grid;grid-template-columns:1fr 1fr auto;gap:8px;align-items:end;padding:15px 17px}.afcp-v18-port-row>div{padding:10px 12px;border:1px solid #1f2d40;border-radius:9px;background:#0c141f}.afcp-v18-port-row span,.afcp-v18-port-row b{display:block}.afcp-v18-port-row span{font-size:8px;color:#687991;font-weight:850}.afcp-v18-port-row b{font-size:15px;margin-top:2px}.afcp-v18-onboarding{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:18px;border:1px solid #294877;border-radius:14px;background:#101c2e}.afcp-v18-onboarding span{font-size:9px;color:#74a3f8;font-weight:900}.afcp-v18-onboarding h3{font-size:15px!important;margin:4px 0!important}.afcp-v18-onboarding p{font-size:10px!important;color:#7f8fa5!important;margin:0!important}
@media(max-width:1120px){.afcp-v18-kpis{grid-template-columns:1fr 1fr}.afcp-v18-grid{grid-template-columns:1fr}.afcp-v18-sidecol{grid-template-columns:1fr 1fr}.afcp-v18-bottom-grid{grid-template-columns:1fr}}
@media(max-width:760px){.afcp-v18-header{height:58px;padding:0 16px}.afcp-v18-header-actions .afcp-v18-online,.afcp-v18-header-actions .afcp-outline:first-of-type{display:none}.afcp-v18-content{padding:20px 16px 88px}.afcp-v18-welcome{display:block}.afcp-v18-planbox{margin-top:16px;min-width:0}.afcp-v18-welcome h1{font-size:27px!important}.afcp-v18-kpis{grid-template-columns:1fr 1fr}.afcp-v18-kpi{min-height:96px;padding:13px}.afcp-v18-kpi-icon{display:none}.afcp-v18-kpi b{font-size:20px}.afcp-v18-sidecol{grid-template-columns:1fr}.afcp-v18-channel{grid-template-columns:10px minmax(0,1fr) 62px}.afcp-v18-channel-state{display:none}.afcp-v18-bottom-grid{grid-template-columns:1fr}.afcp-v18-port-row{grid-template-columns:1fr 1fr}.afcp-v18-port-row>button{grid-column:1/-1}.afcp-v18-actions-grid{grid-template-columns:1fr 1fr}}
@media(max-width:440px){.afcp-v18-kpis{grid-template-columns:1fr}.afcp-v18-actions-grid{grid-template-columns:1fr}.afcp-v18-channel-viewers{display:none}.afcp-v18-channel{grid-template-columns:10px 1fr}.afcp-v18-onboarding{align-items:flex-start;flex-direction:column}}

/* v19 clean broadcast SaaS UI */
.afcp-portal{--af-bg:#f6f7f9;--af-surface:#fff;--af-surface2:#f8fafc;--af-line:#e5e7eb;--af-text:#111827;--af-muted:#667085;background:#f6f7f9!important;color:#111827!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.afcp-dashboard-shell{grid-template-columns:236px minmax(0,1fr)!important;background:#f6f7f9!important}
.afcp-client-nav{background:#101828!important;border-right:0!important;padding:20px 14px!important}
.afcp-nav-account{padding:4px 6px 22px!important;border-bottom:1px solid rgba(255,255,255,.09)!important;margin-bottom:14px!important}.afcp-nav-logo{width:40px!important;height:40px!important;border-radius:10px!important;background:#fff!important}.afcp-nav-account b{color:#fff!important;font-size:13px!important}.afcp-nav-account span{color:#98a2b3!important;font-size:10px!important}
.afcp-client-nav nav{gap:4px!important}.afcp-nav-item{display:flex!important;align-items:center!important;gap:11px!important;width:100%!important;min-height:44px!important;padding:0 12px!important;border-radius:8px!important;color:#98a2b3!important;font-size:12px!important;font-weight:650!important}.afcp-nav-item:before{display:none!important}.afcp-nav-item:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}.afcp-nav-item.active{background:#1d2939!important;color:#fff!important;box-shadow:none!important}.afcp-ni{display:grid;width:20px;height:20px;place-items:center;font-size:13px}
.afcp-nav-bottom{border-top:1px solid rgba(255,255,255,.09)!important;padding:16px 6px 0!important}.afcp-nav-status{color:#98a2b3!important;font-size:10px!important}
.afcp-dashboard-main,.afcp-v19-overview,.afcp-dashboard-view{background:#f6f7f9!important;color:#101828!important}
.afcp-v18-header{height:68px!important;padding:0 32px!important;background:#fff!important;border-bottom:1px solid #e5e7eb!important;box-shadow:none!important}.afcp-v18-brandline .afcp-brandmark{display:none!important}.afcp-v18-brandline b{color:#101828!important;font-size:14px!important}.afcp-v18-brandline span{color:#667085!important}
.afcp-v18-online{color:#027a48!important;background:#ecfdf3!important;border:1px solid #abefc6!important;border-radius:999px!important;padding:6px 10px!important}.afcp-v18-online i{background:#12b76a!important;box-shadow:none!important}.afcp-v18-header .afcp-outline{background:#fff!important;color:#344054!important;border:1px solid #d0d5dd!important}
.afcp-v18-content{padding:30px 32px 42px!important;max-width:1440px!important}.afcp-v18-welcome{align-items:center!important;margin-bottom:24px!important}.afcp-v18-kicker{color:#475467!important}.afcp-v18-welcome h1{color:#101828!important;font-size:28px!important}.afcp-v18-welcome p{color:#667085!important;font-size:12px!important}
.afcp-v18-planbox,.afcp-v18-kpi,.afcp-v18-kpi.primary,.afcp-v18-panel{background:#fff!important;border:1px solid #e4e7ec!important;border-radius:12px!important;box-shadow:0 1px 2px rgba(16,24,40,.04)!important}.afcp-v18-planbox>b,.afcp-v18-kpi b,.afcp-v18-panel-head h2{color:#101828!important}.afcp-v18-planbox>span,.afcp-v18-kpi span,.afcp-v18-kpi small,.afcp-v18-panel-head span{color:#667085!important}
.afcp-v18-kpis{gap:14px!important;margin-bottom:18px!important}.afcp-v18-kpi{min-height:112px!important;padding:18px!important}.afcp-v18-kpi-icon{background:#f2f4f7!important;color:#344054!important}.afcp-v18-grid{gap:16px!important}.afcp-v18-panel-head{border-bottom:1px solid #eaecf0!important}.afcp-v18-panel-head>button,.afcp-v18-panel-foot button,.afcp-v18-port-row>button{background:#fff!important;color:#344054!important;border:1px solid #d0d5dd!important}
.afcp-v18-channel{border-bottom:1px solid #f0f2f5!important;color:#344054!important}.afcp-v18-channel:hover{background:#f9fafb!important}.afcp-v18-channel-name b,.afcp-v18-channel-viewers b{color:#101828!important}.afcp-v18-channel-name small,.afcp-v18-channel-viewers small{color:#98a2b3!important}.afcp-v18-channel-state{background:#f2f4f7!important;color:#667085!important}.afcp-v18-channel.is-live .afcp-v18-channel-state{background:#ecfdf3!important;color:#027a48!important}.afcp-v18-panel-foot{background:#fcfcfd!important;border-color:#eaecf0!important}
.afcp-v18-health-row{border-color:#f0f2f5!important}.afcp-v18-health-row span{color:#667085!important}.afcp-v18-health-row b{color:#344054!important}.afcp-v18-fullbtn,.afcp-primary,.afcp-token{background:#101828!important;border-color:#101828!important;color:#fff!important}
.afcp-v18-actions-grid button{background:#fff!important;color:#344054!important;border-color:#eaecf0!important}.afcp-v18-actions-grid i,.afcp-v18-platform-list span,.afcp-v18-port-row>div{background:#f8fafc!important;color:#344054!important;border-color:#e4e7ec!important}
.afcp-page-title h2,.afcp-section-head h2,.afcp-stream h3,.afcp-billing-card h3,.afcp-support-compose h3,.afcp-support-tickets h3{color:#101828!important}.afcp-page-title p,.afcp-section-head p{color:#667085!important}
.afcp-toolbar,.afcp-stream,.afcp-billing-card,.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-summary section,.afcp-viewer-table-wrap,.afcp-ticket-detail{background:#fff!important;border-color:#e4e7ec!important;box-shadow:0 1px 2px rgba(16,24,40,.035)!important}
.afcp-metrics>div,.afcp-permission-note,.afcp-account-readonly{background:#f9fafb!important;border-color:#eaecf0!important}.afcp-metrics b,.afcp-account-readonly code,.afcp-account-readonly b{color:#344054!important}.afcp-actions{border-color:#e4e7ec!important}.afcp-tab{color:#667085!important}.afcp-tab.active{color:#101828!important}
.afcp-search,.afcp-linkrow input,.afcp-generated input,.afcp-account-form input,.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,.afcp-ticket-reply textarea{background:#fff!important;color:#344054!important;border-color:#d0d5dd!important}.afcp-viewer-table th{background:#f9fafb!important;color:#475467!important}.afcp-viewer-table td{color:#344054!important;border-color:#eaecf0!important}
.afcp-billing-card.primary{background:#101828!important;border-color:#101828!important}.afcp-billing-card.primary h3,.afcp-billing-card.primary strong{color:#fff!important}.afcp-billing-card.primary p,.afcp-billing-card.primary>span{color:#98a2b3!important}
.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density{background:#fff!important;color:#344054!important;border-color:#d0d5dd!important}
@media(max-width:820px){.afcp-client-nav{background:#101828!important}.afcp-nav-item{width:auto!important;padding:0 11px!important}.afcp-ni{display:none!important}.afcp-v18-content,.afcp-v18-header{padding-left:18px!important;padding-right:18px!important}}

/* v20 — icon-driven broadcast UI refinement */
.afcp-client-nav{padding:18px 12px!important}
.afcp-nav-account{display:flex!important;align-items:center!important;gap:11px!important;padding:4px 8px 18px!important}
.afcp-nav-logo{box-shadow:0 0 0 1px rgba(255,255,255,.08)!important}
.afcp-nav-account b{font-size:13px!important;letter-spacing:-.01em!important}
.afcp-nav-account span{font-size:10px!important}
.afcp-nav-item{min-height:42px!important;padding:0 10px!important;border-radius:7px!important;font-size:12px!important;letter-spacing:-.005em!important}
.afcp-ni{width:18px!important;height:18px!important;flex:0 0 18px!important;color:currentColor!important}
.afcp-ni svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.afcp-nav-item.active .afcp-ni svg{stroke-width:2}
.afcp-nav-item.active{background:#1f2937!important}
.afcp-nav-item:hover{background:#182230!important}
.afcp-nav-bottom{padding:14px 8px 0!important}
.afcp-v18-header{height:64px!important}
.afcp-v18-brandline b{font-size:13px!important;font-weight:700!important}
.afcp-v18-brandline span{font-size:9.5px!important}
.afcp-v18-content{padding-top:26px!important}
.afcp-v18-welcome h1{font-size:26px!important;font-weight:750!important}
.afcp-v18-welcome p{max-width:720px!important;line-height:1.6!important}
.afcp-v18-kicker{font-size:9.5px!important;font-weight:750!important;letter-spacing:.11em!important}
.afcp-v18-planbox{border-radius:10px!important}
.afcp-v18-kpi{border-radius:10px!important;min-height:104px!important}
.afcp-v18-kpi-icon{width:34px!important;height:34px!important;border-radius:7px!important}
.afcp-v18-kpi b{font-size:22px!important}
.afcp-v18-panel{border-radius:10px!important}
.afcp-v18-panel-head{padding:15px 16px!important}
.afcp-v18-panel-head h2{font-size:14px!important;font-weight:720!important}
.afcp-v18-channel-list{padding:2px 8px!important}
.afcp-v18-channel{padding:12px 8px!important}
.afcp-v18-channel-name b{font-size:12px!important}
.afcp-v18-channel-name small,.afcp-v18-channel-viewers small{font-size:9.5px!important}
.afcp-v18-channel-state{font-size:9px!important;font-weight:750!important;letter-spacing:.04em!important}
.afcp-v18-actions-grid button{border-radius:8px!important;min-height:82px!important}
.afcp-v18-actions-grid i{width:34px!important;height:34px!important;border-radius:7px!important}
.afcp-v18-fullbtn{border-radius:8px!important}
.afcp-page-title h2,.afcp-section-head h2{font-size:20px!important;letter-spacing:-.015em!important}
.afcp-toolbar,.afcp-stream,.afcp-billing-card,.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-summary section,.afcp-viewer-table-wrap,.afcp-ticket-detail{border-radius:10px!important}
.afcp-primary,.afcp-token,.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density{border-radius:7px!important}
.afcp-search,.afcp-linkrow input,.afcp-generated input,.afcp-account-form input,.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,.afcp-ticket-reply textarea{border-radius:7px!important}
.afcp-viewer-table th{font-size:9.5px!important;text-transform:uppercase!important;letter-spacing:.06em!important}
.afcp-viewer-table td{font-size:11px!important}
.afcp-billing-card.primary{box-shadow:none!important}

/* consistent focus/hover behavior */
.afcp-nav-item,.afcp-primary,.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density,.afcp-v18-actions-grid button,.afcp-v18-panel-head>button,.afcp-v18-panel-foot button,.afcp-v18-port-row>button{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important}
.afcp-primary:hover,.afcp-token:hover,.afcp-v18-fullbtn:hover{background:#0b1220!important}
.afcp-outline:hover,.afcp-refresh:hover,.afcp-copy:hover,.afcp-copy-all:hover,.afcp-collapse:hover,.afcp-copy-obs:hover,.afcp-density:hover,.afcp-v18-panel-head>button:hover,.afcp-v18-panel-foot button:hover,.afcp-v18-port-row>button:hover{background:#f8fafc!important;border-color:#98a2b3!important}
.afcp-v18-actions-grid button:hover{transform:translateY(-1px)!important;box-shadow:0 2px 6px rgba(16,24,40,.06)!important}

/* mobile keeps clean compact nav */
@media(max-width:820px){
  .afcp-client-nav{padding:8px 10px!important}
  .afcp-nav-item{min-height:40px!important;font-size:11px!important}
  .afcp-ni{display:block!important;width:17px!important;height:17px!important}
  .afcp-ni svg{width:17px;height:17px}
}


/* v22 — refined AWOBAZ color system */
.afcp-portal{--af-brand:#2563eb;--af-brand-soft:#eff6ff;--af-brand-line:#bfdbfe;--af-success:#16a34a;--af-success-soft:#ecfdf3;--af-warning:#d97706;--af-warning-soft:#fff7ed;--af-danger:#dc2626;--af-danger-soft:#fef2f2}
.afcp-client-nav{background:linear-gradient(180deg,#0b1220 0%,#101828 100%)!important}
.afcp-nav-item.active{background:#1d4ed8!important;color:#fff!important;box-shadow:0 4px 14px rgba(37,99,235,.22)!important}
.afcp-nav-item:hover{background:#172554!important;color:#fff!important}
.afcp-nav-item.active .afcp-ni{color:#fff!important}
.afcp-v18-kicker{color:#2563eb!important}
.afcp-v18-online{color:#067647!important;background:#ecfdf3!important;border-color:#a6f4c5!important}
.afcp-v18-header .afcp-outline:hover{border-color:#93c5fd!important;background:#eff6ff!important;color:#1d4ed8!important}
.afcp-v18-planbox{border-top:3px solid #2563eb!important;padding-top:10px!important}
.afcp-v18-kpi{position:relative!important;overflow:hidden!important}
.afcp-v18-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#cbd5e1}
.afcp-v18-kpi:nth-child(1):before{background:#2563eb}.afcp-v18-kpi:nth-child(2):before{background:#16a34a}.afcp-v18-kpi:nth-child(3):before{background:#7c3aed}.afcp-v18-kpi:nth-child(4):before{background:#d97706}
.afcp-v18-kpi:nth-child(1) .afcp-v18-kpi-icon{background:#eff6ff!important;color:#2563eb!important}.afcp-v18-kpi:nth-child(2) .afcp-v18-kpi-icon{background:#ecfdf3!important;color:#16a34a!important}.afcp-v18-kpi:nth-child(3) .afcp-v18-kpi-icon{background:#f5f3ff!important;color:#7c3aed!important}.afcp-v18-kpi:nth-child(4) .afcp-v18-kpi-icon{background:#fff7ed!important;color:#d97706!important}
.afcp-v18-panel-head>button:hover,.afcp-v18-panel-foot button:hover,.afcp-v18-port-row>button:hover{border-color:#93c5fd!important;color:#1d4ed8!important;background:#eff6ff!important}
.afcp-v18-channel.is-live .afcp-v18-channel-state{background:#ecfdf3!important;color:#067647!important;border:1px solid #abefc6!important}
.afcp-v18-actions-grid button:hover{border-color:#bfdbfe!important;background:#f8fbff!important}.afcp-v18-actions-grid button:hover i{background:#eff6ff!important;color:#2563eb!important}
.afcp-v18-fullbtn,.afcp-primary,.afcp-token{background:#2563eb!important;border-color:#2563eb!important}.afcp-v18-fullbtn:hover,.afcp-primary:hover,.afcp-token:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}
.afcp-tab.active{color:#1d4ed8!important;border-color:#2563eb!important}
.afcp-billing-card.primary{background:linear-gradient(145deg,#172554,#1e3a8a)!important;border-color:#1d4ed8!important}
.afcp-search:focus,.afcp-linkrow input:focus,.afcp-generated input:focus,.afcp-account-form input:focus,.afcp-support-compose input:focus,.afcp-support-compose select:focus,.afcp-support-compose textarea:focus,.afcp-ticket-reply textarea:focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;outline:none!important}
@media(max-width:820px){.afcp-client-nav{background:rgba(11,18,32,.98)!important}.afcp-nav-item.active{background:#1d4ed8!important}}

/* v23 premium color system — AWOBAZ Broadcast Cloud */
.afcp-portal{
 --brand:#2563eb;--brand-dark:#1d4ed8;--brand-soft:#eff6ff;
 --nav:#0b1220;--nav2:#111c31;--nav-active:#172554;
 --live:#16a34a;--live-soft:#ecfdf3;
 --cyan:#0891b2;--purple:#7c3aed;--amber:#d97706;--danger:#dc2626;
 --ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--page:#f4f7fb;
 background:var(--page)!important;color:var(--ink)!important
}
.afcp-dashboard-main,.afcp-v19-overview,.afcp-dashboard-view{background:linear-gradient(180deg,#f8fbff 0,#f4f7fb 240px)!important}
.afcp-client-nav{background:linear-gradient(180deg,#09111f 0%,#0f1b30 100%)!important}
.afcp-nav-item{color:#a9b7cc!important}.afcp-nav-item:hover{background:#15233b!important;color:#fff!important}
.afcp-nav-item.active{background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;color:#fff!important;box-shadow:0 6px 18px rgba(37,99,235,.22)!important}
.afcp-nav-item.active:after{content:"";position:absolute;left:0;width:3px;height:20px;border-radius:0 3px 3px 0;background:#93c5fd}
.afcp-nav-bottom{border-color:rgba(148,163,184,.16)!important}
.afcp-v18-header{background:rgba(255,255,255,.96)!important;border-color:#dbe5f0!important}
.afcp-v18-kicker{color:#2563eb!important}.afcp-v18-welcome h1{color:#0f172a!important}
.afcp-v18-online{color:#15803d!important;background:#f0fdf4!important;border-color:#bbf7d0!important}
.afcp-v18-planbox{border-top:3px solid #2563eb!important}
.afcp-v18-kpi{position:relative;overflow:hidden!important;border-color:#e2e8f0!important}
.afcp-v18-kpi:after{content:"";position:absolute;inset:auto -28px -35px auto;width:88px;height:88px;border-radius:50%;background:rgba(37,99,235,.055)}
.afcp-v18-kpi:nth-child(1){border-top:3px solid #2563eb!important}.afcp-v18-kpi:nth-child(1) .afcp-v18-kpi-icon{background:#eff6ff!important;color:#2563eb!important}
.afcp-v18-kpi:nth-child(2){border-top:3px solid #16a34a!important}.afcp-v18-kpi:nth-child(2) .afcp-v18-kpi-icon{background:#f0fdf4!important;color:#16a34a!important}
.afcp-v18-kpi:nth-child(3){border-top:3px solid #0891b2!important}.afcp-v18-kpi:nth-child(3) .afcp-v18-kpi-icon{background:#ecfeff!important;color:#0891b2!important}
.afcp-v18-kpi:nth-child(4){border-top:3px solid #7c3aed!important}.afcp-v18-kpi:nth-child(4) .afcp-v18-kpi-icon{background:#f5f3ff!important;color:#7c3aed!important}
.afcp-v18-panel{border-color:#dde6f0!important}.afcp-v18-panel-head{background:linear-gradient(180deg,#fff,#fbfdff)!important}
.afcp-v18-channel.is-live{background:linear-gradient(90deg,#f0fdf4 0,#fff 18%)!important}
.afcp-v18-channel.is-live .afcp-v18-channel-state{background:#dcfce7!important;color:#15803d!important;border:1px solid #bbf7d0!important}
.afcp-v18-fullbtn,.afcp-primary,.afcp-token{background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;border-color:#2563eb!important;box-shadow:0 3px 10px rgba(37,99,235,.15)!important}
.afcp-v18-fullbtn:hover,.afcp-primary:hover,.afcp-token:hover{background:linear-gradient(135deg,#1e40af,#1d4ed8)!important;box-shadow:0 5px 14px rgba(37,99,235,.24)!important}
.afcp-v18-actions-grid button:hover{border-color:#bfdbfe!important;background:#f8fbff!important}
.afcp-v18-actions-grid button:nth-child(1) i{background:#eff6ff!important;color:#2563eb!important}
.afcp-v18-actions-grid button:nth-child(2) i{background:#f0fdf4!important;color:#16a34a!important}
.afcp-v18-actions-grid button:nth-child(3) i{background:#ecfeff!important;color:#0891b2!important}
.afcp-v18-actions-grid button:nth-child(4) i{background:#f5f3ff!important;color:#7c3aed!important}
.afcp-stream{border-left:3px solid #cbd5e1!important}.afcp-stream:hover{border-left-color:#2563eb!important}
.afcp-billing-card.primary{background:linear-gradient(145deg,#0f172a,#172554)!important;border-color:#1e3a8a!important}
.afcp-viewer-summary section:nth-child(1){border-top:3px solid #2563eb!important}.afcp-viewer-summary section:nth-child(2){border-top:3px solid #0891b2!important}.afcp-viewer-summary section:nth-child(3){border-top:3px solid #7c3aed!important}
.afcp-tab.active{color:#2563eb!important;border-color:#2563eb!important}
.afcp-search:focus,.afcp-linkrow input:focus,.afcp-generated input:focus,.afcp-account-form input:focus,.afcp-support-compose input:focus,.afcp-support-compose select:focus,.afcp-support-compose textarea:focus{border-color:#60a5fa!important;box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;outline:0!important}
.afcp-viewer-table th{background:#f1f5f9!important;color:#475569!important}
.afcp-viewer-table tbody tr:hover td{background:#f8fbff!important}
.afcp-status-live,.afcp-live{color:#15803d!important}.afcp-status-offline,.afcp-offline{color:#94a3b8!important}
.afcp-alert,.afcp-warning{background:#fffbeb!important;border-color:#fde68a!important;color:#92400e!important}
.afcp-error{background:#fef2f2!important;border-color:#fecaca!important;color:#991b1b!important}

/* WP master admin */
.afcp-admin-wrap{--afcp-blue:#2563eb;--afcp-green:#16a34a;--afcp-cyan:#0891b2;--afcp-purple:#7c3aed;--afcp-amber:#d97706}
.afcp-admin-wrap .button-primary{background:#2563eb!important;border-color:#2563eb!important}.afcp-admin-wrap .button-primary:hover{background:#1d4ed8!important;border-color:#1d4ed8!important}
.afcp-master-kpis>div:nth-child(1){border-top:3px solid #2563eb!important}.afcp-master-kpis>div:nth-child(2){border-top:3px solid #16a34a!important}.afcp-master-kpis>div:nth-child(3){border-top:3px solid #0891b2!important}.afcp-master-kpis>div:nth-child(4){border-top:3px solid #7c3aed!important}.afcp-master-kpis>div:nth-child(5){border-top:3px solid #2563eb!important}.afcp-master-kpis>div:nth-child(6){border-top:3px solid #d97706!important}


/* v24 — real-time audience location cards */
.afcp-map-panel .afcp-analytics-panel-head small{display:block;margin-top:4px;color:#64748b;font-size:10px;font-weight:500}
.afcp-live-location-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 14px 0}
.afcp-live-location-card{display:flex;align-items:center;gap:10px;min-height:72px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:9px;background:linear-gradient(180deg,#fff,#fbfdff);box-shadow:0 1px 2px rgba(15,23,42,.03)}
.afcp-live-location-flag{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:9px;background:#f1f5f9;font-size:21px;line-height:1}
.afcp-live-location-main{min-width:0;flex:1}.afcp-live-location-main>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.afcp-live-location-main b{overflow:hidden;color:#0f172a;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.afcp-live-location-main strong{color:#16a34a;font-size:13px;font-weight:800}.afcp-live-location-main small,.afcp-live-location-main span{display:block;overflow:hidden;margin-top:2px;color:#64748b;font-size:8.5px;text-overflow:ellipsis;white-space:nowrap}.afcp-live-location-main span{color:#94a3b8}
.afcp-live-location-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:70px;border:1px dashed #cbd5e1;border-radius:9px;background:#f8fafc;color:#64748b}.afcp-live-location-empty b{color:#334155;font-size:11px}.afcp-live-location-empty span{margin-top:3px;font-size:9px}
.afcp-map-panel .afcp-live-map{margin:12px 14px 14px;height:220px}
@media(max-width:1100px){.afcp-live-location-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.afcp-live-location-strip{grid-template-columns:1fr;padding:10px 10px 0}.afcp-map-panel .afcp-live-map{margin:10px;height:190px}.afcp-live-location-card{min-height:66px}}


/* v26 master admin refinement */
.afcp-master-toolbar-v26{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 12px;padding:12px;background:#fff;border:1px solid #dfe7f1;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04)}
.afcp-master-filter-group{display:flex;flex-wrap:wrap;gap:7px}
.afcp-master-filter{min-height:34px!important;border-radius:8px!important;border-color:#d6deea!important;color:#475569!important;background:#fff!important;font-weight:650!important}
.afcp-master-filter:hover{border-color:#93c5fd!important;background:#f8fbff!important;color:#1d4ed8!important}
.afcp-master-filter.is-active{background:#eff6ff!important;border-color:#93c5fd!important;color:#1d4ed8!important;box-shadow:inset 0 0 0 1px rgba(37,99,235,.05)!important}
.afcp-master-searchbox{position:relative;min-width:280px}
.afcp-master-searchbox .dashicons{position:absolute;left:10px;top:8px;color:#94a3b8;font-size:17px;width:17px;height:17px}
#afcp-master-search{width:100%;min-height:36px;padding:0 12px 0 34px;border:1px solid #d6deea;border-radius:8px;background:#fbfdff;color:#0f172a}
#afcp-master-search:focus{border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.10);outline:0}
.afcp-master-table-wrap{overflow:auto;border:1px solid #dfe7f1;border-radius:12px;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.04)}
.afcp-master-table-wrap table{border:0!important;margin:0!important}
.afcp-master-table-wrap thead th{position:sticky;top:0;z-index:2;background:#f8fafc!important;color:#475569!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.055em;border-bottom:1px solid #dfe7f1!important}
.afcp-master-stream-row td{vertical-align:middle!important;border-bottom:1px solid #edf1f6!important}
.afcp-master-stream-row:hover td{background:#f8fbff!important}
.afcp-master-stream-row.is-live td:first-child{box-shadow:inset 3px 0 0 #22c55e}
.afcp-master-stream-row.has-viewers td{background-image:linear-gradient(90deg,rgba(34,197,94,.025),transparent 18%)}
.afcp-master-stream-row.is-unassigned td:first-child{box-shadow:inset 3px 0 0 #f59e0b}
.afcp-status-badge{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:5px 9px!important;border-radius:999px!important;font-size:10px!important;font-weight:750!important;letter-spacing:.03em!important}
.afcp-status-badge.live{background:#ecfdf3!important;color:#15803d!important;border:1px solid #bbf7d0!important}
.afcp-status-badge.live i{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.10);animation:afcpLivePulse 1.7s ease-out infinite}
.afcp-status-badge.offline{background:#f8fafc!important;color:#64748b!important;border:1px solid #e2e8f0!important}
@keyframes afcpLivePulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.28)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}

/* make live audience easier to scan */
.afcp-live-location-grid{gap:12px!important}
.afcp-live-location-card{border-radius:10px!important;border:1px solid #e2e8f0!important;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}
.afcp-live-location-card:hover{border-color:#bfdbfe!important;box-shadow:0 5px 14px rgba(37,99,235,.07)!important;transform:translateY(-1px)}
.afcp-live-location-card .afcp-location-viewers{color:#1d4ed8!important;font-weight:800!important}
.afcp-live-location-card .afcp-location-percent{background:#eff6ff!important;color:#2563eb!important;border-radius:999px!important;padding:3px 7px!important}
.afcp-live-location-card .afcp-location-stream{color:#475569!important}
.afcp-live-location-card .afcp-location-device{color:#64748b!important}

@media(max-width:782px){
 .afcp-master-toolbar-v26{align-items:stretch;flex-direction:column}
 .afcp-master-searchbox{min-width:0;width:100%}
 .afcp-master-filter-group{overflow:auto;flex-wrap:nowrap;padding-bottom:2px}
 .afcp-master-filter{white-space:nowrap}
}

/* v27 Full Broadcast Theme */
.afcp-portal{--v27-navy:#07111f;--v27-navy2:#0d1b2f;--v27-blue:#2563eb;--v27-green:#16a34a;--v27-cyan:#0891b2;--v27-violet:#7c3aed;--v27-amber:#d97706;--v27-page:#f3f6fa;--v27-card:#fff;--v27-line:#e2e8f0;--v27-ink:#0f172a;--v27-muted:#64748b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;background:var(--v27-page)!important}
.afcp-dashboard-shell{min-height:760px!important;background:var(--v27-page)!important}
.afcp-client-nav{background:linear-gradient(180deg,#07111f 0%,#0b1729 100%)!important;box-shadow:12px 0 30px rgba(15,23,42,.05)!important}
.afcp-nav-account{border-color:rgba(148,163,184,.14)!important}.afcp-nav-logo{border-radius:12px!important;box-shadow:0 8px 22px rgba(0,0,0,.16)!important}.afcp-nav-item{position:relative!important;color:#aab7ca!important;font-weight:650!important}.afcp-nav-item.active{background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;box-shadow:0 8px 18px rgba(37,99,235,.22)!important}
.afcp-dashboard-main,.afcp-dashboard-view{background:radial-gradient(circle at 80% -10%,rgba(59,130,246,.085),transparent 28%),linear-gradient(180deg,#f8fbff 0,#f3f6fa 340px)!important}.afcp-v18-header{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);background:rgba(255,255,255,.92)!important}.afcp-v18-content{max-width:1500px!important}
.afcp-v18-welcome h1,.afcp-page-title h2{font-weight:780!important;letter-spacing:-.03em!important}.afcp-v18-kicker,.afcp-page-title>span,.afcp-page-title>div>span{color:#2563eb!important;font-weight:800!important;letter-spacing:.12em!important}
.afcp-v18-kpi,.afcp-v18-panel,.afcp-analytics-panel,.afcp-stream,.afcp-billing-card,.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-table-wrap{border-color:#dde6f0!important;border-radius:13px!important;box-shadow:0 4px 16px rgba(15,23,42,.035)!important}.afcp-v18-kpi:hover,.afcp-v18-panel:hover,.afcp-analytics-panel:hover{box-shadow:0 10px 28px rgba(15,23,42,.065)!important}
.afcp-analytics-panel{overflow:hidden!important;background:#fff!important}.afcp-analytics-panel-head{padding:17px 18px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;border-bottom:1px solid #edf2f7!important}.afcp-analytics-panel-head h3{font-size:15px!important;color:#0f172a!important;letter-spacing:-.012em!important}.afcp-analytics-panel-head>div>span{color:#2563eb!important;font-size:9px!important;font-weight:800!important;letter-spacing:.11em!important}.afcp-analytics-panel-head small{display:block;margin-top:3px;color:#64748b!important}
.afcp-live-command{border:1px solid #dbe7f5!important}.afcp-live-command .afcp-analytics-panel-head{background:linear-gradient(110deg,#0b1730 0%,#102a56 58%,#123b70 100%)!important;border:0!important}.afcp-live-command .afcp-analytics-panel-head h3{color:#fff!important;font-size:18px!important}.afcp-live-command .afcp-analytics-panel-head>div>span{color:#93c5fd!important}.afcp-live-command .afcp-analytics-panel-head small{color:#bfdbfe!important}.afcp-live-command .afcp-analytics-panel-head>span{background:#16a34a!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;padding:6px 10px!important;font-weight:800!important}
.afcp-live-command-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#e8eef6;border-bottom:1px solid #e2e8f0}.afcp-live-command-kpis>div{padding:14px 16px;background:#fff}.afcp-live-command-kpis span{display:block;color:#64748b;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.075em}.afcp-live-command-kpis b{display:block;margin-top:4px;color:#0f172a;font-size:21px;line-height:1;font-weight:800}.afcp-live-command-kpis small{display:block;margin-top:5px;color:#94a3b8;font-size:9px}
.afcp-live-location-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:10px!important;padding:14px 14px 2px!important}.afcp-live-location-card{display:flex!important;align-items:flex-start!important;gap:11px!important;min-width:0!important;padding:13px!important;border:1px solid #e2e8f0!important;border-radius:11px!important;background:#fff!important;transition:.18s ease!important}.afcp-live-location-card:hover{transform:translateY(-2px)!important;border-color:#bfdbfe!important;box-shadow:0 8px 20px rgba(37,99,235,.08)!important}
.afcp-live-location-flag{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;font-size:21px}.afcp-live-location-main{min-width:0;flex:1}.afcp-live-location-main>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.afcp-live-location-main b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#0f172a!important;font-size:12px!important}.afcp-live-location-main strong{color:#16a34a!important;font-size:15px!important}.afcp-live-location-main small{display:block;margin-top:3px;color:#64748b!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.afcp-live-location-main>span{display:block;margin-top:6px;color:#475569!important;font-size:9.5px!important}.afcp-live-location-main em{display:block;margin-top:5px;color:#64748b;font-style:normal;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.afcp-live-map{margin:14px!important;border-radius:12px!important;border:1px solid #dce6f1!important;background:linear-gradient(rgba(37,99,235,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,.035) 1px,transparent 1px),radial-gradient(circle at 50% 48%,#fafdff,#eef5fb)!important;background-size:32px 32px,32px 32px,auto!important}.afcp-map-dot i{background:#16a34a!important;box-shadow:0 0 0 5px rgba(22,163,74,.13)!important}
.afcp-live-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:13px 14px!important;margin-top:14px!important;border:1px solid #dfe7f1!important;border-radius:12px!important;background:#fff!important}.afcp-live-toolbar>div:first-child{display:flex;flex-direction:column;gap:2px}.afcp-live-toolbar>div:first-child b{color:#0f172a;font-size:12px}.afcp-live-toolbar>div:first-child span{color:#64748b;font-size:9.5px}.afcp-live-table-tools{display:flex;align-items:center;gap:8px}#afcp-live-viewer-search{min-width:310px;height:36px;padding:0 12px;border:1px solid #d6deea;border-radius:8px;background:#fbfdff;color:#0f172a}#afcp-live-viewer-search:focus{outline:0;border-color:#60a5fa;box-shadow:0 0 0 3px rgba(37,99,235,.10)}
.afcp-viewer-table-wrap{margin-top:10px!important;overflow:auto!important}.afcp-viewer-table{min-width:1180px!important}.afcp-viewer-table thead th{position:sticky;top:0;z-index:2;background:#f8fafc!important;color:#475569!important;border-bottom:1px solid #dde6f0!important}.afcp-live-session-row td{background:#fff;transition:background .15s ease}.afcp-live-session-row:hover td{background:#f8fbff!important}.afcp-live-session-row td:first-child{box-shadow:inset 3px 0 0 #16a34a}.afcp-viewer-location em{display:block;margin-top:2px;color:#7c3aed;font-size:8.5px;font-style:normal}.afcp-viewer-table td b{color:#1e293b!important}.afcp-viewer-table td small{display:block;color:#94a3b8!important;margin-top:2px}.afcp-viewer-table code{padding:3px 6px;border-radius:5px;background:#f1f5f9!important;color:#475569!important}
.afcp-stream{transition:.18s ease!important}.afcp-stream:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(15,23,42,.07)!important}.afcp-actions{background:#fbfdff!important}.afcp-tab.active{color:#2563eb!important;box-shadow:inset 0 -2px #2563eb!important}.afcp-primary,.afcp-token,.afcp-v18-fullbtn{background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;box-shadow:0 5px 13px rgba(37,99,235,.16)!important}.afcp-billing-card.primary{background:linear-gradient(145deg,#081426,#132958 75%,#173a75)!important}.afcp-viewer-note{border-left:3px solid #3b82f6!important;background:#eff6ff!important;color:#475569!important}.afcp-audience-health{border-left:3px solid #d97706!important;background:#fffbeb!important;color:#92400e!important}
@media(max-width:1100px){.afcp-live-command-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.afcp-live-location-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:820px){.afcp-dashboard-shell{display:block!important}.afcp-live-toolbar{align-items:stretch!important;flex-direction:column!important}.afcp-live-table-tools{align-items:stretch;flex-direction:column}#afcp-live-viewer-search{min-width:0;width:100%}.afcp-live-location-strip{grid-template-columns:1fr!important}}
@media(max-width:520px){.afcp-live-command-kpis{grid-template-columns:1fr 1fr}.afcp-v18-welcome h1,.afcp-page-title h2{font-size:23px!important}}


/* =========================================================
   v28 — Final Color + UX Stabilization
   ========================================================= */
.afcp-portal{
 --v28-page:#f5f7fb;
 --v28-surface:#ffffff;
 --v28-surface-soft:#f8fafc;
 --v28-border:#dfe5ec;
 --v28-border-strong:#cbd5e1;
 --v28-text:#0f172a;
 --v28-muted:#64748b;
 --v28-muted-2:#94a3b8;
 --v28-blue:#2563eb;
 --v28-blue-dark:#1d4ed8;
 --v28-blue-soft:#eff6ff;
 --v28-cyan:#0891b2;
 --v28-green:#16a34a;
 --v28-green-soft:#ecfdf3;
 --v28-amber:#d97706;
 --v28-amber-soft:#fffbeb;
 --v28-red:#dc2626;
 --v28-red-soft:#fef2f2;
 --v28-purple:#7c3aed;
 --v28-navy:#08111f;
 --v28-navy-2:#101c31;
 --v28-shadow:0 6px 22px rgba(15,23,42,.055);
 background:var(--v28-page)!important;
 color:var(--v28-text)!important
}

/* Sidebar */
.afcp-client-nav{
 background:linear-gradient(180deg,#07111f 0%,#0d1727 48%,#101c31 100%)!important;
 border-right:1px solid rgba(148,163,184,.08)!important
}
.afcp-nav-account{padding-top:8px!important}
.afcp-nav-logo{background:#fff!important;border:1px solid rgba(255,255,255,.14)!important}
.afcp-nav-account b{font-size:13px!important;color:#f8fafc!important}
.afcp-nav-account span{color:#94a3b8!important}
.afcp-nav-item{
 color:#a7b4c7!important;
 border:1px solid transparent!important;
 border-radius:9px!important;
 min-height:43px!important
}
.afcp-nav-item:hover{
 color:#fff!important;
 background:#132238!important;
 border-color:rgba(148,163,184,.07)!important
}
.afcp-nav-item.active{
 color:#fff!important;
 background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 70%,#3b82f6 100%)!important;
 border-color:rgba(147,197,253,.15)!important;
 box-shadow:0 7px 18px rgba(37,99,235,.20)!important
}
.afcp-nav-item.active:after{
 width:3px!important;height:22px!important;left:-1px!important;
 background:#bfdbfe!important
}

/* Main shell */
.afcp-dashboard-main,.afcp-dashboard-view{
 background:
 radial-gradient(circle at 76% -15%,rgba(59,130,246,.075),transparent 31%),
 linear-gradient(180deg,#f9fbff 0,#f5f7fb 320px)!important
}
.afcp-v18-header{
 height:66px!important;
 background:rgba(255,255,255,.94)!important;
 border-color:#e4eaf1!important;
 box-shadow:0 1px 0 rgba(15,23,42,.02)!important
}
.afcp-v18-content{padding-top:28px!important}
.afcp-v18-welcome{margin-bottom:22px!important}
.afcp-v18-welcome h1{
 color:#0f172a!important;
 font-size:27px!important;
 font-weight:780!important;
 letter-spacing:-.035em!important
}
.afcp-v18-welcome p{
 color:#64748b!important;
 font-size:12px!important;
 line-height:1.65!important
}
.afcp-v18-kicker{
 color:#2563eb!important;
 font-size:9px!important;
 font-weight:800!important;
 letter-spacing:.13em!important
}

/* Cards */
.afcp-v18-kpi,.afcp-v18-panel,.afcp-analytics-panel,.afcp-stream,.afcp-billing-card,
.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-table-wrap,
.afcp-ticket-detail,.afcp-toolbar{
 background:#fff!important;
 border:1px solid var(--v28-border)!important;
 box-shadow:0 4px 16px rgba(15,23,42,.038)!important
}
.afcp-v18-kpi,.afcp-v18-panel,.afcp-analytics-panel,.afcp-stream,.afcp-billing-card,
.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-table-wrap{
 border-radius:12px!important
}
.afcp-v18-kpi:hover,.afcp-v18-panel:hover,.afcp-analytics-panel:hover,.afcp-stream:hover{
 box-shadow:var(--v28-shadow)!important
}
.afcp-v18-kpi b,.afcp-v18-panel-head h2,.afcp-stream h3,.afcp-billing-card h3{
 color:#0f172a!important
}
.afcp-v18-kpi span,.afcp-v18-kpi small,.afcp-v18-panel-head span,
.afcp-stream p,.afcp-billing-card p{color:#64748b!important}

/* KPI colors */
.afcp-v18-kpi:nth-child(1){border-top:3px solid #2563eb!important}
.afcp-v18-kpi:nth-child(2){border-top:3px solid #16a34a!important}
.afcp-v18-kpi:nth-child(3){border-top:3px solid #0891b2!important}
.afcp-v18-kpi:nth-child(4){border-top:3px solid #7c3aed!important}
.afcp-v18-kpi:nth-child(1) .afcp-v18-kpi-icon{background:#eff6ff!important;color:#2563eb!important}
.afcp-v18-kpi:nth-child(2) .afcp-v18-kpi-icon{background:#ecfdf3!important;color:#16a34a!important}
.afcp-v18-kpi:nth-child(3) .afcp-v18-kpi-icon{background:#ecfeff!important;color:#0891b2!important}
.afcp-v18-kpi:nth-child(4) .afcp-v18-kpi-icon{background:#f5f3ff!important;color:#7c3aed!important}

/* Live status */
.afcp-v18-online,.afcp-live-viewer,.afcp-status-badge.live{
 background:#ecfdf3!important;
 color:#15803d!important;
 border-color:#bbf7d0!important
}
.afcp-status-badge.offline{
 background:#f8fafc!important;
 color:#64748b!important;
 border-color:#e2e8f0!important
}
.afcp-v18-channel.is-live{
 background:linear-gradient(90deg,#f0fdf4 0%,#fff 24%)!important
}
.afcp-v18-channel.is-live .afcp-v18-channel-state{
 background:#dcfce7!important;color:#15803d!important;border-color:#bbf7d0!important
}

/* Buttons */
.afcp-primary,.afcp-token,.afcp-v18-fullbtn,
.afcp-admin-wrap .button-primary{
 background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;
 border-color:#2563eb!important;
 color:#fff!important;
 box-shadow:0 4px 12px rgba(37,99,235,.16)!important
}
.afcp-primary:hover,.afcp-token:hover,.afcp-v18-fullbtn:hover,
.afcp-admin-wrap .button-primary:hover{
 background:linear-gradient(135deg,#1e40af,#1d4ed8)!important;
 border-color:#1d4ed8!important;
 box-shadow:0 6px 16px rgba(37,99,235,.23)!important
}
.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density,
.afcp-v18-panel-head>button,.afcp-v18-panel-foot button,.afcp-v18-port-row>button{
 background:#fff!important;color:#334155!important;border:1px solid #cfd8e3!important
}
.afcp-outline:hover,.afcp-refresh:hover,.afcp-copy:hover,.afcp-copy-all:hover,.afcp-collapse:hover,
.afcp-copy-obs:hover,.afcp-density:hover,.afcp-v18-panel-head>button:hover,.afcp-v18-panel-foot button:hover{
 background:#f8fafc!important;border-color:#94a3b8!important;color:#0f172a!important
}

/* Forms */
.afcp-search,.afcp-linkrow input,.afcp-generated input,.afcp-account-form input,
.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,
.afcp-ticket-reply textarea,#afcp-live-viewer-search,#afcp-master-search{
 background:#fff!important;
 color:#0f172a!important;
 border:1px solid #cfd8e3!important;
 border-radius:8px!important
}
.afcp-search:focus,.afcp-linkrow input:focus,.afcp-generated input:focus,.afcp-account-form input:focus,
.afcp-support-compose input:focus,.afcp-support-compose select:focus,.afcp-support-compose textarea:focus,
.afcp-ticket-reply textarea:focus,#afcp-live-viewer-search:focus,#afcp-master-search:focus{
 border-color:#60a5fa!important;
 box-shadow:0 0 0 3px rgba(37,99,235,.10)!important;
 outline:0!important
}

/* Analytics */
.afcp-live-command{
 border:1px solid #dbe4ef!important;
 box-shadow:0 8px 24px rgba(15,23,42,.05)!important
}
.afcp-live-command .afcp-analytics-panel-head{
 background:linear-gradient(120deg,#0a1730 0%,#0f2850 55%,#163d71 100%)!important
}
.afcp-live-command .afcp-analytics-panel-head h3{color:#fff!important}
.afcp-live-command .afcp-analytics-panel-head small{color:#c7d8f2!important}
.afcp-live-command-kpis{background:#e7edf5!important}
.afcp-live-command-kpis>div{background:#fff!important}
.afcp-live-command-kpis>div:nth-child(1){box-shadow:inset 0 3px #2563eb}
.afcp-live-command-kpis>div:nth-child(2){box-shadow:inset 0 3px #16a34a}
.afcp-live-command-kpis>div:nth-child(3){box-shadow:inset 0 3px #0891b2}
.afcp-live-command-kpis>div:nth-child(4){box-shadow:inset 0 3px #7c3aed}
.afcp-live-location-card{
 background:#fff!important;
 border-color:#e1e8f0!important
}
.afcp-live-location-card:hover{
 border-color:#bfdbfe!important;
 box-shadow:0 8px 22px rgba(37,99,235,.075)!important
}
.afcp-live-location-main strong{color:#16a34a!important}
.afcp-live-location-main em{color:#64748b!important}
.afcp-live-map{
 border-color:#dbe5f0!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)!important
}

/* Tables */
.afcp-viewer-table th,.afcp-master-table-wrap thead th{
 background:#f8fafc!important;
 color:#475569!important;
 border-bottom:1px solid #dfe5ec!important
}
.afcp-viewer-table td,.afcp-master-stream-row td{
 color:#334155!important;
 border-color:#edf1f5!important
}
.afcp-viewer-table tbody tr:hover td,.afcp-master-stream-row:hover td{
 background:#f8fbff!important
}
.afcp-live-session-row td:first-child{box-shadow:inset 3px 0 0 #16a34a!important}

/* Billing */
.afcp-billing-card.primary{
 background:linear-gradient(145deg,#081425 0%,#112650 62%,#183b72 100%)!important;
 border-color:#183b72!important;
 box-shadow:0 10px 28px rgba(13,31,62,.18)!important
}
.afcp-billing-card.primary h3,.afcp-billing-card.primary strong{color:#fff!important}
.afcp-billing-card.primary p,.afcp-billing-card.primary span{color:#bfcee4!important}

/* Alerts / notes */
.afcp-viewer-note{
 background:#eff6ff!important;color:#334155!important;border-left:3px solid #3b82f6!important
}
.afcp-audience-health{
 background:#fffbeb!important;color:#92400e!important;border-left:3px solid #d97706!important
}
.afcp-error{
 background:#fef2f2!important;color:#991b1b!important;border-color:#fecaca!important
}
.afcp-warning,.afcp-alert{
 background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important
}

/* Action grid */
.afcp-v18-actions-grid button{
 background:#fff!important;border-color:#e1e7ee!important;color:#334155!important
}
.afcp-v18-actions-grid button:hover{
 background:#f8fbff!important;border-color:#bfdbfe!important;color:#1e3a8a!important
}
.afcp-v18-actions-grid button:nth-child(1) i{background:#eff6ff!important;color:#2563eb!important}
.afcp-v18-actions-grid button:nth-child(2) i{background:#ecfdf3!important;color:#16a34a!important}
.afcp-v18-actions-grid button:nth-child(3) i{background:#ecfeff!important;color:#0891b2!important}
.afcp-v18-actions-grid button:nth-child(4) i{background:#f5f3ff!important;color:#7c3aed!important}

/* Master admin */
.afcp-admin-wrap{
 --admin-blue:#2563eb;
 --admin-green:#16a34a;
 --admin-cyan:#0891b2;
 --admin-purple:#7c3aed;
 --admin-amber:#d97706
}
.afcp-admin-wrap h1{color:#0f172a!important}
.afcp-master-kpis>div{
 background:#fff!important;border:1px solid #dfe5ec!important;border-radius:12px!important;
 box-shadow:0 4px 15px rgba(15,23,42,.04)!important
}
.afcp-master-kpis>div:nth-child(1){border-top:3px solid #2563eb!important}
.afcp-master-kpis>div:nth-child(2){border-top:3px solid #16a34a!important}
.afcp-master-kpis>div:nth-child(3){border-top:3px solid #0891b2!important}
.afcp-master-kpis>div:nth-child(4){border-top:3px solid #7c3aed!important}
.afcp-master-kpis>div:nth-child(5){border-top:3px solid #2563eb!important}
.afcp-master-kpis>div:nth-child(6){border-top:3px solid #d97706!important}
.afcp-master-toolbar-v26{
 background:#fff!important;border-color:#dfe5ec!important;box-shadow:0 3px 12px rgba(15,23,42,.035)!important
}
.afcp-master-filter{
 background:#fff!important;color:#475569!important;border-color:#d7dfe8!important
}
.afcp-master-filter.is-active{
 background:#eff6ff!important;color:#1d4ed8!important;border-color:#93c5fd!important
}
.afcp-master-table-wrap{
 border-color:#dfe5ec!important;box-shadow:0 5px 18px rgba(15,23,42,.045)!important
}

/* Responsive cleanup */
@media(max-width:1100px){
 .afcp-v18-content{padding-left:22px!important;padding-right:22px!important}
}
@media(max-width:820px){
 .afcp-client-nav{border-right:0!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important}
 .afcp-v18-header{height:auto!important;min-height:58px!important}
 .afcp-v18-content{padding:20px 16px 34px!important}
 .afcp-v18-welcome{align-items:flex-start!important;gap:12px!important}
 .afcp-v18-planbox{width:100%!important;min-width:0!important}
 .afcp-live-toolbar{gap:10px!important}
}
@media(max-width:520px){
 .afcp-v18-welcome h1{font-size:23px!important}
 .afcp-v18-kpis{grid-template-columns:1fr 1fr!important}
 .afcp-v18-kpi{min-height:96px!important}
 .afcp-live-command-kpis{grid-template-columns:1fr 1fr!important}
}


/* =========================================================
   v29 — Billing rebuild
   ========================================================= */
.afcp-billing-v29-grid{
 display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
 gap:16px;margin-bottom:16px
}
.afcp-billing-v29-row{
 display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px
}
.afcp-billing-card{padding:0!important;overflow:hidden!important}
.afcp-billing-card-head{
 display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
 padding:18px 18px 14px;border-bottom:1px solid #edf1f5
}
.afcp-billing-card-head>div>span{
 display:block;color:#2563eb;font-size:9px;font-weight:800;letter-spacing:.11em
}
.afcp-billing-card-head h3{
 margin:4px 0 0!important;font-size:16px!important;letter-spacing:-.018em!important
}
.afcp-plan-summary-v29{
 background:linear-gradient(145deg,#081426 0%,#112754 64%,#17427f 100%)!important;
 border-color:#1a3f75!important;
 box-shadow:0 12px 30px rgba(15,32,64,.19)!important
}
.afcp-plan-summary-v29 .afcp-billing-card-head{border-color:rgba(255,255,255,.10)}
.afcp-plan-summary-v29 .afcp-billing-card-head>div>span{color:#93c5fd!important}
.afcp-plan-summary-v29 h3{color:#fff!important}
.afcp-plan-status-v29{
 display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;
 font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em
}
.afcp-plan-status-v29.active{background:rgba(34,197,94,.14);color:#86efac;border:1px solid rgba(134,239,172,.22)}
.afcp-plan-price-v29{display:flex;align-items:flex-end;gap:7px;padding:18px}
.afcp-plan-price-v29 strong{color:#fff!important;font-size:34px;line-height:1;font-weight:800;letter-spacing:-.04em}
.afcp-plan-price-v29 span{color:#bfcee4!important;font-size:10px;padding-bottom:4px}
.afcp-plan-meta-v29{
 display:grid;grid-template-columns:1fr 1fr;gap:1px;
 background:rgba(255,255,255,.09);margin:0 18px;border-radius:10px;overflow:hidden
}
.afcp-plan-meta-v29>div{padding:12px;background:rgba(8,20,38,.48)}
.afcp-plan-meta-v29 span{display:block;color:#9fb1c9!important;font-size:9px}
.afcp-plan-meta-v29 b{display:block;margin-top:4px;color:#fff!important;font-size:11px}
.afcp-plan-actions-v29{display:flex;gap:8px;padding:16px 18px 18px}
.afcp-plan-summary-v29 .afcp-outline{
 background:rgba(255,255,255,.08)!important;color:#fff!important;
 border-color:rgba(255,255,255,.18)!important
}
.afcp-plan-summary-v29 .afcp-outline:hover{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.28)!important}

.afcp-usage-v29{padding-bottom:16px!important}
.afcp-usage-row-v29{padding:14px 18px 4px}
.afcp-usage-row-v29>div:first-child{display:flex;justify-content:space-between;gap:12px}
.afcp-usage-row-v29 span{color:#64748b;font-size:10px;font-weight:650}
.afcp-usage-row-v29 b{color:#0f172a;font-size:11px}
.afcp-usage-bar-v29{height:7px;margin-top:8px;background:#eef2f7;border-radius:999px;overflow:hidden}
.afcp-usage-bar-v29 i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2563eb,#3b82f6)}
.afcp-usage-row-v29:nth-of-type(3) .afcp-usage-bar-v29 i{background:linear-gradient(90deg,#0891b2,#22c55e)}
.afcp-usage-note-v29{display:block;padding:8px 18px 0;color:#94a3b8;font-size:9px}

.afcp-billing-health-v29{
 display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800
}
.afcp-billing-health-v29.good{background:#ecfdf3;color:#15803d;border:1px solid #bbf7d0}
.afcp-billing-health-grid-v29{
 display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#edf1f5
}
.afcp-billing-health-grid-v29>div{padding:15px 17px;background:#fff}
.afcp-billing-health-grid-v29 span{display:block;color:#64748b;font-size:9px}
.afcp-billing-health-grid-v29 b{display:block;margin-top:4px;color:#0f172a;font-size:12px}

.afcp-billing-actions-v29{
 display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:16px
}
.afcp-billing-actions-v29 button{min-height:42px!important;text-align:left!important;padding-left:13px!important}

.afcp-invoices-v29{margin-bottom:16px}
.afcp-billing-table-wrap-v29{overflow:auto}
.afcp-billing-table-v29{width:100%;border-collapse:collapse;min-width:760px}
.afcp-billing-table-v29 th{
 padding:11px 14px;text-align:left;background:#f8fafc;color:#64748b;
 font-size:9px;text-transform:uppercase;letter-spacing:.07em;border-bottom:1px solid #e2e8f0
}
.afcp-billing-table-v29 td{padding:13px 14px;color:#334155;font-size:10px;border-bottom:1px solid #edf1f5}
.afcp-billing-table-v29 tbody tr:hover td{background:#f8fbff}
.afcp-billing-empty-v29{padding:22px;text-align:center;color:#94a3b8}

.afcp-billing-notice-v29{
 display:flex;align-items:center;justify-content:space-between;gap:16px;
 padding:15px 16px;border:1px solid #cfe0f7;border-radius:11px;
 background:linear-gradient(90deg,#eff6ff,#f8fbff)
}
.afcp-billing-notice-v29 b{display:block;color:#1e3a8a;font-size:11px}
.afcp-billing-notice-v29 span{display:block;margin-top:3px;color:#64748b;font-size:9.5px}

@media(max-width:980px){
 .afcp-billing-v29-grid,.afcp-billing-v29-row{grid-template-columns:1fr}
}
@media(max-width:600px){
 .afcp-plan-meta-v29,.afcp-billing-health-grid-v29,.afcp-billing-actions-v29{grid-template-columns:1fr}
 .afcp-plan-actions-v29,.afcp-billing-notice-v29{align-items:stretch;flex-direction:column}
 .afcp-plan-price-v29 strong{font-size:29px}
}


/* =========================================================
   v30 — Overall Product Polish / Broadcast SaaS UI
   ========================================================= */
.afcp-portal{
 --v30-bg:#f4f7fb;
 --v30-card:#ffffff;
 --v30-card-soft:#f8fafc;
 --v30-line:#e3e8ef;
 --v30-line-strong:#cfd8e3;
 --v30-text:#0f172a;
 --v30-muted:#64748b;
 --v30-muted2:#94a3b8;
 --v30-blue:#2563eb;
 --v30-blue-dark:#1d4ed8;
 --v30-blue-soft:#eff6ff;
 --v30-green:#16a34a;
 --v30-green-soft:#ecfdf3;
 --v30-cyan:#0891b2;
 --v30-violet:#7c3aed;
 --v30-amber:#d97706;
 --v30-red:#dc2626;
 --v30-navy:#07111f;
 --v30-navy2:#0d1729;
 --v30-shadow-sm:0 2px 8px rgba(15,23,42,.035);
 --v30-shadow:0 10px 28px rgba(15,23,42,.06);
 --v30-radius:12px;
 background:var(--v30-bg)!important;
 color:var(--v30-text)!important;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility
}

/* sidebar */
.afcp-dashboard-shell{grid-template-columns:232px minmax(0,1fr)!important}
.afcp-client-nav{
 background:linear-gradient(180deg,#07111f 0%,#0b1525 55%,#0e1c31 100%)!important;
 padding:18px 12px!important;
 box-shadow:10px 0 28px rgba(15,23,42,.045)!important
}
.afcp-nav-account{padding:5px 8px 18px!important;margin-bottom:12px!important}
.afcp-nav-account b{font-size:12.5px!important;font-weight:720!important}
.afcp-nav-account span{font-size:9.5px!important;color:#90a0b5!important}
.afcp-nav-item{
 min-height:42px!important;
 padding:0 10px!important;
 gap:10px!important;
 font-size:11.5px!important;
 border-radius:8px!important;
 color:#a8b4c6!important
}
.afcp-nav-item:hover{background:#132137!important;color:#fff!important}
.afcp-nav-item.active{
 background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;
 color:#fff!important;
 box-shadow:0 7px 18px rgba(37,99,235,.20)!important
}
.afcp-nav-bottom{padding-top:14px!important}

/* top bar */
.afcp-v18-header{
 min-height:64px!important;
 padding:0 30px!important;
 background:rgba(255,255,255,.96)!important;
 border-bottom:1px solid #e7ebf1!important;
 backdrop-filter:blur(12px);
 -webkit-backdrop-filter:blur(12px)
}
.afcp-v18-brandline b{font-size:12.5px!important}
.afcp-v18-brandline span{font-size:9px!important;color:#64748b!important}
.afcp-v18-online{font-size:9px!important;padding:5px 9px!important}
.afcp-v18-header .afcp-outline{min-height:32px!important;padding:0 10px!important}

/* page layout */
.afcp-dashboard-main,.afcp-dashboard-view{
 background:
 radial-gradient(circle at 80% -16%,rgba(59,130,246,.065),transparent 30%),
 linear-gradient(180deg,#fafcff 0,#f4f7fb 330px)!important
}
.afcp-v18-content{max-width:1480px!important;padding:26px 30px 42px!important}
.afcp-v18-welcome{margin-bottom:20px!important}
.afcp-v18-welcome h1,.afcp-page-title h2{
 font-size:26px!important;
 line-height:1.12!important;
 font-weight:780!important;
 letter-spacing:-.035em!important;
 color:#0f172a!important
}
.afcp-v18-welcome p,.afcp-page-title p{
 max-width:760px!important;
 font-size:11.5px!important;
 line-height:1.65!important;
 color:#64748b!important
}
.afcp-v18-kicker,.afcp-page-title>div>span{
 color:#2563eb!important;
 font-size:8.8px!important;
 font-weight:820!important;
 letter-spacing:.12em!important
}

/* base card system */
.afcp-v18-kpi,.afcp-v18-panel,.afcp-analytics-panel,.afcp-stream,.afcp-billing-card,
.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-table-wrap,
.afcp-ticket-detail,.afcp-toolbar,.afcp-planbox{
 background:#fff!important;
 border:1px solid var(--v30-line)!important;
 border-radius:var(--v30-radius)!important;
 box-shadow:var(--v30-shadow-sm)!important
}
.afcp-v18-kpi:hover,.afcp-v18-panel:hover,.afcp-stream:hover,.afcp-analytics-panel:hover{
 box-shadow:var(--v30-shadow)!important
}
.afcp-v18-panel-head,.afcp-analytics-panel-head,.afcp-billing-card-head{
 background:linear-gradient(180deg,#fff,#fbfcfe)!important;
 border-bottom:1px solid #edf1f5!important
}
.afcp-v18-panel-head h2,.afcp-analytics-panel-head h3,.afcp-billing-card-head h3{
 font-weight:730!important;
 letter-spacing:-.016em!important
}

/* dashboard KPIs */
.afcp-v18-kpis{gap:12px!important}
.afcp-v18-kpi{min-height:102px!important;padding:16px!important}
.afcp-v18-kpi-icon{width:34px!important;height:34px!important;border-radius:8px!important}
.afcp-v18-kpi b{font-size:22px!important;letter-spacing:-.02em!important}
.afcp-v18-kpi span{font-size:10px!important}
.afcp-v18-kpi small{font-size:8.8px!important}
.afcp-v18-kpi:nth-child(1){border-top:3px solid #2563eb!important}
.afcp-v18-kpi:nth-child(2){border-top:3px solid #16a34a!important}
.afcp-v18-kpi:nth-child(3){border-top:3px solid #0891b2!important}
.afcp-v18-kpi:nth-child(4){border-top:3px solid #7c3aed!important}

/* stream list */
.afcp-v18-channel-list{padding:2px 8px!important}
.afcp-v18-channel{padding:11px 8px!important}
.afcp-v18-channel-name b{font-size:11.5px!important}
.afcp-v18-channel-name small,.afcp-v18-channel-viewers small{font-size:8.8px!important}
.afcp-v18-channel-state{
 font-size:8.5px!important;
 font-weight:800!important;
 border-radius:999px!important;
 padding:4px 7px!important
}
.afcp-v18-channel.is-live{
 background:linear-gradient(90deg,#f0fdf4 0%,#fff 22%)!important
}

/* tabs */
.afcp-actions{background:#fbfcfe!important;border-color:#e7ebf0!important}
.afcp-tab{font-size:10px!important;color:#64748b!important}
.afcp-tab.active{color:#2563eb!important;box-shadow:inset 0 -2px #2563eb!important}

/* buttons */
.afcp-primary,.afcp-token,.afcp-v18-fullbtn{
 min-height:36px!important;
 border-radius:8px!important;
 font-size:10.5px!important;
 font-weight:730!important;
 background:linear-gradient(135deg,#1d4ed8,#2563eb)!important;
 border-color:#2563eb!important;
 box-shadow:0 4px 11px rgba(37,99,235,.15)!important
}
.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density{
 min-height:34px!important;
 border-radius:8px!important;
 font-size:10px!important;
 background:#fff!important;
 color:#334155!important;
 border-color:#cfd8e3!important
}

/* forms */
.afcp-search,.afcp-linkrow input,.afcp-generated input,.afcp-account-form input,
.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea,
.afcp-ticket-reply textarea,#afcp-live-viewer-search,#afcp-master-search{
 min-height:36px!important;
 border-radius:8px!important;
 font-size:10.5px!important;
 border-color:#cfd8e3!important;
 background:#fff!important
}
.afcp-account-form label,.afcp-support-compose label{font-size:9.5px!important;color:#475569!important}

/* live analytics */
.afcp-live-command{
 overflow:hidden!important;
 border-color:#dbe4ef!important;
 box-shadow:0 10px 26px rgba(15,23,42,.05)!important
}
.afcp-live-command .afcp-analytics-panel-head{
 background:linear-gradient(118deg,#09162e 0%,#10294f 58%,#173d70 100%)!important
}
.afcp-live-command .afcp-analytics-panel-head h3{
 font-size:17px!important;
 color:#fff!important
}
.afcp-live-command .afcp-analytics-panel-head small{color:#c6d4ea!important}
.afcp-live-command-kpis>div{padding:13px 15px!important}
.afcp-live-command-kpis b{font-size:20px!important}
.afcp-live-location-strip{
 grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
 gap:9px!important;
 padding:13px 13px 2px!important
}
.afcp-live-location-card{padding:12px!important;border-radius:10px!important}
.afcp-live-location-flag{width:34px;height:34px;flex-basis:34px;font-size:19px!important}
.afcp-live-location-main b{font-size:11px!important}
.afcp-live-location-main strong{font-size:14px!important}
.afcp-live-map{margin:13px!important}

/* viewer table */
.afcp-live-toolbar{padding:12px 13px!important}
.afcp-live-toolbar>div:first-child b{font-size:11px!important}
.afcp-live-table-tools{gap:7px!important}
.afcp-viewer-table{font-size:10px!important}
.afcp-viewer-table th{font-size:8.8px!important}
.afcp-viewer-table td{padding:11px 12px!important}

/* billing */
.afcp-billing-v29-grid,.afcp-billing-v29-row{gap:14px!important}
.afcp-plan-summary-v29{
 background:linear-gradient(145deg,#081426 0%,#112754 64%,#17427f 100%)!important;
 border-color:#1b3f75!important
}
.afcp-plan-price-v29 strong{font-size:32px!important}
.afcp-plan-meta-v29>div{padding:11px!important}
.afcp-usage-row-v29{padding:13px 17px 4px!important}
.afcp-billing-actions-v29{gap:8px!important}
.afcp-billing-table-v29 th{font-size:8.8px!important}
.afcp-billing-table-v29 td{font-size:9.8px!important}
.afcp-billing-notice-v29{border-radius:10px!important}

/* support */
.afcp-support-compose textarea,.afcp-ticket-reply textarea{min-height:110px!important}
.afcp-support-tickets table th{background:#f8fafc!important;color:#475569!important}
.afcp-support-tickets table td{border-color:#edf1f5!important}
.afcp-ticket-detail{overflow:hidden!important}

/* account */
.afcp-account-readonly{background:#f8fafc!important;border-color:#e4e9ef!important}
.afcp-account-readonly code{background:#eef2f7!important;color:#475569!important}

/* universal status */
.afcp-live-viewer,.afcp-status-badge.live,.afcp-v18-online{
 background:#ecfdf3!important;
 color:#15803d!important;
 border-color:#bbf7d0!important
}
.afcp-error{background:#fef2f2!important;color:#991b1b!important;border-color:#fecaca!important}
.afcp-warning,.afcp-alert{background:#fffbeb!important;color:#92400e!important;border-color:#fde68a!important}

/* mobile */
@media(max-width:1100px){
 .afcp-v18-content{padding-left:20px!important;padding-right:20px!important}
}
@media(max-width:820px){
 .afcp-dashboard-shell{display:block!important}
 .afcp-client-nav{padding:8px 10px!important;box-shadow:0 8px 20px rgba(15,23,42,.08)!important}
 .afcp-v18-header{padding:8px 16px!important}
 .afcp-v18-content{padding:18px 15px 32px!important}
 .afcp-v18-welcome{gap:10px!important}
 .afcp-v18-planbox{width:100%!important}
 .afcp-billing-v29-grid,.afcp-billing-v29-row{grid-template-columns:1fr!important}
}
@media(max-width:540px){
 .afcp-v18-welcome h1,.afcp-page-title h2{font-size:22px!important}
 .afcp-v18-kpis{grid-template-columns:1fr 1fr!important;gap:9px!important}
 .afcp-v18-kpi{min-height:92px!important;padding:13px!important}
 .afcp-live-command-kpis{grid-template-columns:1fr 1fr!important}
 .afcp-live-location-strip{grid-template-columns:1fr!important}
 .afcp-plan-actions-v29,.afcp-billing-notice-v29{flex-direction:column!important;align-items:stretch!important}
}

/* v31 functional billing states */
.afcp-billing-runtime-message{margin:0 0 14px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:9px;background:#eff6ff;color:#1e3a8a;font-size:10px;font-weight:650}
.afcp-billing-runtime-message.is-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}
.afcp-plan-status-v29.pending,.afcp-billing-health-v29.warn{background:#fffbeb!important;color:#92400e!important;border:1px solid #fde68a!important}
.afcp-invoice-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8.5px;font-weight:800;text-transform:capitalize;border:1px solid #e2e8f0;background:#f8fafc;color:#475569}
.afcp-invoice-status.status-paid{background:#ecfdf3;color:#15803d;border-color:#bbf7d0}
.afcp-invoice-status.status-open{background:#fffbeb;color:#92400e;border-color:#fde68a}
.afcp-invoice-status.status-uncollectible,.afcp-invoice-status.status-void{background:#fef2f2;color:#991b1b;border-color:#fecaca}
.afcp-invoice-open{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;min-height:30px!important;padding:0 9px!important}


/* =========================================================
   v32 — Product Hardening + UX Consistency
   ========================================================= */

/* global rhythm */
.afcp-portal *{box-sizing:border-box}
.afcp-portal button,.afcp-portal input,.afcp-portal select,.afcp-portal textarea{font:inherit}
.afcp-portal button{cursor:pointer}
.afcp-portal button:disabled{cursor:not-allowed;opacity:.6}
.afcp-portal a{color:inherit}
.afcp-portal h1,.afcp-portal h2,.afcp-portal h3,.afcp-portal p{margin-top:0}

/* stronger visual hierarchy */
.afcp-page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}
.afcp-page-title h2{margin-bottom:6px!important}
.afcp-page-title p{margin-bottom:0!important}
.afcp-section-head{padding-bottom:12px!important;margin-bottom:14px!important}
.afcp-section-head h2{font-size:17px!important}
.afcp-section-head p{font-size:10px!important;line-height:1.55!important}

/* cards stay calm and consistent */
.afcp-v18-panel,.afcp-stream,.afcp-billing-card,.afcp-account-form,.afcp-support-compose,
.afcp-support-tickets,.afcp-ticket-detail,.afcp-analytics-panel,.afcp-viewer-table-wrap{
 overflow:hidden!important
}
.afcp-v18-panel-head,.afcp-billing-card-head,.afcp-analytics-panel-head{
 min-height:58px!important
}

/* Stream cards */
.afcp-stream{border-left:3px solid #cbd5e1!important}
.afcp-stream:hover{border-left-color:#2563eb!important}
.afcp-stream.is-live,.afcp-stream.live{border-left-color:#16a34a!important}
.afcp-metrics{gap:8px!important}
.afcp-metrics>div{padding:10px 11px!important;border-radius:8px!important}
.afcp-metrics span{font-size:8.8px!important}
.afcp-metrics b{font-size:11px!important}

/* better actions */
.afcp-primary,.afcp-token,.afcp-v18-fullbtn,
.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density{
 transition:transform .15s ease,box-shadow .15s ease,background-color .15s ease,border-color .15s ease,color .15s ease!important
}
.afcp-primary:active,.afcp-token:active,.afcp-v18-fullbtn:active,
.afcp-outline:active,.afcp-refresh:active,.afcp-copy:active,.afcp-copy-all:active,.afcp-collapse:active,.afcp-copy-obs:active,.afcp-density:active{
 transform:translateY(1px)!important
}

/* tables */
.afcp-viewer-table tbody tr:last-child td,
.afcp-billing-table-v29 tbody tr:last-child td,
.afcp-support-tickets tbody tr:last-child td{border-bottom:0!important}
.afcp-viewer-table td,.afcp-billing-table-v29 td{line-height:1.35!important}

/* empty states */
.afcp-empty-state-v32{
 display:flex;flex-direction:column;align-items:center;justify-content:center;
 min-height:96px;padding:18px;text-align:center;color:#64748b
}
.afcp-empty-state-v32 b{color:#334155;font-size:11px}
.afcp-empty-state-v32 span{display:block;margin-top:4px;color:#94a3b8;font-size:9.5px;line-height:1.5}

/* toast */
.afcp-global-toast-v32{
 position:fixed;right:22px;bottom:22px;z-index:999999;
 max-width:360px;padding:11px 13px;border:1px solid #bfdbfe;border-radius:10px;
 background:#eff6ff;color:#1e3a8a;box-shadow:0 12px 30px rgba(15,23,42,.12);
 font-size:10px;font-weight:650
}
.afcp-global-toast-v32[hidden]{display:none!important}
.afcp-global-toast-v32.is-success{background:#ecfdf3;border-color:#bbf7d0;color:#166534}
.afcp-global-toast-v32.is-warn{background:#fffbeb;border-color:#fde68a;color:#92400e}
.afcp-global-toast-v32.is-error{background:#fef2f2;border-color:#fecaca;color:#991b1b}

/* account/support forms */
.afcp-account-form,.afcp-support-compose{padding:18px!important}
.afcp-account-form .afcp-form-row,.afcp-support-compose .afcp-form-row{gap:12px!important}
.afcp-support-compose textarea,.afcp-ticket-reply textarea{resize:vertical!important}
.afcp-support-compose input::placeholder,.afcp-support-compose textarea::placeholder,
.afcp-account-form input::placeholder,#afcp-live-viewer-search::placeholder,#afcp-master-search::placeholder{
 color:#a0aec0!important
}

/* analytics readability */
.afcp-live-location-main span,.afcp-live-location-main small,.afcp-live-location-main em{
 line-height:1.45!important
}
.afcp-live-command-kpis>div{min-height:78px!important}
.afcp-live-command-kpis b{font-variant-numeric:tabular-nums}
.afcp-viewer-table code{font-size:9px!important}

/* billing safeguards */
.afcp-billing-health-grid-v29>div,.afcp-plan-meta-v29>div{min-width:0}
.afcp-billing-health-grid-v29 b,.afcp-plan-meta-v29 b{
 overflow-wrap:anywhere
}
.afcp-plan-price-v29 strong{font-variant-numeric:tabular-nums}
.afcp-usage-bar-v29{box-shadow:inset 0 0 0 1px rgba(148,163,184,.08)}
.afcp-billing-runtime-message{line-height:1.5!important}

/* focus accessibility */
.afcp-portal button:focus-visible,.afcp-portal a:focus-visible,.afcp-portal input:focus-visible,
.afcp-portal select:focus-visible,.afcp-portal textarea:focus-visible{
 outline:2px solid #60a5fa!important;
 outline-offset:2px!important
}

/* motion reduction */
@media(prefers-reduced-motion:reduce){
 .afcp-portal *{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* tablets */
@media(max-width:980px){
 .afcp-v18-grid,.afcp-v18-bottom-grid{grid-template-columns:1fr!important}
 .afcp-v18-sidecol{grid-template-columns:1fr 1fr!important;display:grid!important}
 .afcp-live-location-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* phones */
@media(max-width:820px){
 .afcp-client-nav{position:sticky!important;top:0;z-index:50}
 .afcp-nav-account{display:none!important}
 .afcp-client-nav nav{
   display:flex!important;gap:4px!important;overflow-x:auto!important;
   padding-bottom:2px!important;scrollbar-width:none
 }
 .afcp-client-nav nav::-webkit-scrollbar{display:none}
 .afcp-nav-item{flex:0 0 auto!important;width:auto!important;padding:0 11px!important}
 .afcp-nav-bottom{display:none!important}
 .afcp-v18-sidecol{grid-template-columns:1fr!important}
 .afcp-live-location-strip{grid-template-columns:1fr!important}
 .afcp-page-title{flex-direction:column!important;gap:8px!important}
 .afcp-global-toast-v32{left:14px;right:14px;bottom:14px;max-width:none}
}

/* small phones */
@media(max-width:520px){
 .afcp-v18-kpis{grid-template-columns:1fr!important}
 .afcp-live-command-kpis{grid-template-columns:1fr!important}
 .afcp-billing-actions-v29{grid-template-columns:1fr!important}
 .afcp-plan-meta-v29,.afcp-billing-health-grid-v29{grid-template-columns:1fr!important}
 .afcp-v18-content{padding-left:12px!important;padding-right:12px!important}
}


/* =========================================================
   v32.2 — Payment flow + billing UX refinement
   ========================================================= */
.afcp-billing-title-v322{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important}
.afcp-billing-secure-v322{display:flex;align-items:center;gap:10px;flex:0 0 auto;padding:10px 12px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.afcp-lock-v322{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#ecfdf3;color:#067647;font-size:14px;font-weight:900}
.afcp-billing-secure-v322 b,.afcp-billing-secure-v322 small{display:block}.afcp-billing-secure-v322 b{font-size:10.5px;color:#101828}.afcp-billing-secure-v322 small{margin-top:2px;color:#667085;font-size:9px}
.afcp-payment-return-v322{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px;padding:14px 15px;border-radius:10px;border:1px solid #abefc6;background:#ecfdf3}
.afcp-payment-return-v322.is-cancel{border-color:#fedf89;background:#fffaeb}.afcp-payment-return-v322 b{display:block;color:#101828;font-size:11px}.afcp-payment-return-v322 span{display:block;margin-top:3px;color:#475467;font-size:9.5px;line-height:1.45}
.afcp-payment-flow-v322{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:16px;background:#fff;border:1px solid #e4e7ec;border-radius:10px;overflow:hidden;box-shadow:0 1px 2px rgba(16,24,40,.035)}
.afcp-payment-flow-v322>div{position:relative;display:flex;align-items:center;gap:10px;min-width:0;padding:13px 15px;border-right:1px solid #eaecf0}.afcp-payment-flow-v322>div:last-child{border-right:0}
.afcp-payment-flow-v322 i{display:grid;place-items:center;width:25px;height:25px;flex:0 0 25px;border-radius:999px;background:#f2f4f7;color:#475467;font-style:normal;font-size:9px;font-weight:800}.afcp-payment-flow-v322 .is-current i{background:#101828;color:#fff}
.afcp-payment-flow-v322 b,.afcp-payment-flow-v322 small{display:block;white-space:normal}.afcp-payment-flow-v322 b{color:#101828;font-size:10px}.afcp-payment-flow-v322 small{margin-top:2px;color:#667085;font-size:8.8px;line-height:1.35}
.afcp-plan-actions-v29>button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:52px!important;padding:10px 13px!important;line-height:1.2!important}.afcp-plan-actions-v29>button span{font-size:10.5px;font-weight:750}.afcp-plan-actions-v29>button small{margin-top:3px;font-size:8.5px;font-weight:500;opacity:.72}
.afcp-plan-summary-v29 .afcp-primary{background:#fff!important;color:#101828!important;border-color:#fff!important}.afcp-plan-summary-v29 .afcp-primary:hover{background:#f2f4f7!important}
.afcp-billing-actions-v29 button{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:58px!important;padding:10px 12px!important}.afcp-billing-actions-v29 button b{font-size:10px;color:#101828}.afcp-billing-actions-v29 button span{margin-top:3px;color:#667085;font-size:8.7px;font-weight:500}
.afcp-billing-runtime-message{margin:0 0 16px!important;padding:12px 14px!important;border:1px solid #bfdbfe!important;border-radius:9px!important;background:#eff6ff!important;color:#1e3a8a!important;font-size:10px!important}.afcp-billing-runtime-message.is-error{border-color:#fecaca!important;background:#fef2f2!important;color:#b42318!important}
.afcp-billing-table-v29 .afcp-invoice-open{display:inline-flex!important;min-height:30px!important;align-items:center!important;padding:5px 9px!important;text-decoration:none!important}
.afcp-billing-card button:disabled{opacity:.58!important;cursor:wait!important}
@media(max-width:820px){.afcp-billing-title-v322{align-items:flex-start!important;flex-direction:column!important}.afcp-billing-secure-v322{width:100%;box-sizing:border-box}.afcp-payment-flow-v322{grid-template-columns:1fr}.afcp-payment-flow-v322>div{border-right:0;border-bottom:1px solid #eaecf0}.afcp-payment-flow-v322>div:last-child{border-bottom:0}}
@media(max-width:600px){.afcp-payment-return-v322{align-items:stretch;flex-direction:column}.afcp-payment-return-v322 button{width:100%!important}.afcp-plan-actions-v29>button,.afcp-billing-actions-v29 button{width:100%!important}.afcp-billing-card-head{padding:15px 14px 12px!important}.afcp-plan-price-v29{padding:16px 14px!important}.afcp-plan-meta-v29{margin:0 14px!important}.afcp-plan-actions-v29{padding:14px!important}}

/* =========================================================
   v32.3 — Unified AWOBAZ brand color system
   Navy + broadcast orange, with semantic status colors.
   ========================================================= */
.afcp-portal{
 --aw-navy:#07182f;--aw-navy-2:#0b2342;--aw-orange:#f47a1f;--aw-orange-dark:#d95f0b;
 --aw-blue:#174b86;--aw-soft:#f7f9fc;--aw-line:#dce4ed;--aw-ink:#10243e;--aw-muted:#68798e;
 --aw-success:#1c9b61;--aw-success-soft:#edf9f3;--aw-warning:#bd7611;--aw-warning-soft:#fff8e8;
 --aw-danger:#c64848;--aw-danger-soft:#fff2f1;
 --af-green:#1c9b61;--af-red:#c64848;--af-amber:#bd7611
}
.afcp-client-nav{background:linear-gradient(180deg,#061429 0%,#07182f 100%)!important}
.afcp-nav-item{color:#a9b8c9!important}.afcp-nav-item:hover{background:rgba(255,255,255,.055)!important;color:#fff!important}
.afcp-nav-item.active{background:#f47a1f!important;color:#fff!important;box-shadow:0 5px 16px rgba(244,122,31,.20)!important}
.afcp-dashboard-main,.afcp-v19-overview,.afcp-dashboard-view{background:#f5f7fa!important;color:#10243e!important}
.afcp-v18-header{border-bottom-color:#dfe6ee!important}.afcp-v18-welcome h1,.afcp-page-title h2,.afcp-section-head h2{color:#10243e!important}
.afcp-v18-kicker,.afcp-section-head>span,.afcp-eyebrow{color:#d95f0b!important}
.afcp-v18-planbox,.afcp-v18-kpi,.afcp-v18-panel,.afcp-billing-card,.afcp-support-compose,.afcp-support-tickets,.afcp-account-form,.afcp-viewer-table-wrap{border-color:#dce4ed!important;box-shadow:0 2px 8px rgba(7,24,47,.045)!important}
.afcp-v18-planbox{border-top:3px solid #f47a1f!important}
.afcp-v18-kpi:before{background:#cfd9e4!important}.afcp-v18-kpi:nth-child(1):before{background:#f47a1f!important}.afcp-v18-kpi:nth-child(2):before{background:#1c9b61!important}.afcp-v18-kpi:nth-child(3):before{background:#174b86!important}.afcp-v18-kpi:nth-child(4):before{background:#bd7611!important}
.afcp-v18-kpi:nth-child(1) .afcp-v18-kpi-icon{background:#fff3e9!important;color:#d95f0b!important}.afcp-v18-kpi:nth-child(2) .afcp-v18-kpi-icon{background:#edf9f3!important;color:#188253!important}.afcp-v18-kpi:nth-child(3) .afcp-v18-kpi-icon{background:#eef4fa!important;color:#174b86!important}.afcp-v18-kpi:nth-child(4) .afcp-v18-kpi-icon{background:#fff7e6!important;color:#a9680d!important}
.afcp-v18-fullbtn,.afcp-primary,.afcp-token{background:#f47a1f!important;border-color:#f47a1f!important;color:#fff!important;box-shadow:none!important}
.afcp-v18-fullbtn:hover,.afcp-primary:hover,.afcp-token:hover{background:#d95f0b!important;border-color:#d95f0b!important;box-shadow:0 6px 16px rgba(217,95,11,.18)!important}
.afcp-outline:hover,.afcp-refresh:hover,.afcp-copy:hover,.afcp-copy-all:hover,.afcp-density:hover{border-color:#e8b68d!important;background:#fff7f0!important;color:#b74c06!important}
.afcp-tab.active{color:#d95f0b!important;border-color:#f47a1f!important}.afcp-tab.active:after{background:#f47a1f!important}
.afcp-search:focus-within,.afcp-linkrow input:focus,.afcp-generated input:focus,.afcp-account-form input:focus,.afcp-support-compose input:focus,.afcp-support-compose select:focus,.afcp-support-compose textarea:focus{border-color:#e99a5e!important;box-shadow:0 0 0 3px rgba(244,122,31,.10)!important;outline:0!important}
.afcp-stream{border-left:3px solid #cfd8e3!important}.afcp-stream:hover{border-left-color:#f47a1f!important}.afcp-stream.is-live{border-left-color:#1c9b61!important}
.afcp-v18-channel.is-live{background:linear-gradient(90deg,#eefaf4 0,#fff 18%)!important}.afcp-v18-channel.is-live .afcp-v18-channel-state,.afcp-status-live,.afcp-live{background:#edf9f3!important;color:#16784b!important;border-color:#bfe5d0!important}
.afcp-billing-card.primary,.afcp-plan-summary-v29{background:linear-gradient(145deg,#07182f,#0b2a4d)!important;border-color:#123a64!important}
.afcp-plan-summary-v29 .afcp-primary{background:#f47a1f!important;color:#fff!important;border-color:#f47a1f!important}.afcp-plan-summary-v29 .afcp-primary:hover{background:#d95f0b!important}
.afcp-billing-secure-v322{border-color:#dce4ed!important;background:#fff!important}.afcp-lock-v322{background:#edf9f3!important;color:#16784b!important}
.afcp-payment-flow-v322{border-color:#dce4ed!important}.afcp-payment-flow-v322 .is-current i{background:#07182f!important;color:#fff!important}.afcp-payment-flow-v322 .is-current b{color:#d95f0b!important}
.afcp-payment-return-v322{background:#edf9f3!important;border-color:#bfe5d0!important}.afcp-payment-return-v322.is-cancel{background:#fff8e8!important;border-color:#f1d59c!important}
.afcp-billing-runtime-message{background:#fff6ee!important;border-color:#f1c59f!important;color:#9d460b!important}.afcp-billing-runtime-message.is-error{background:#fff2f1!important;border-color:#efc2be!important;color:#a63434!important}
.afcp-alert,.afcp-warning{background:#fff8e8!important;border-color:#f0d49b!important;color:#8d590e!important}.afcp-error{background:#fff2f1!important;border-color:#efc2be!important;color:#a63434!important}
.afcp-login-mark,.afcp-login a{background:#f47a1f!important}.afcp-login a:hover{background:#d95f0b!important;filter:none!important}
.afcp-public-packages .afcp-package-intro>span{color:#d95f0b!important}.afcp-public-packages .afcp-package-card.featured{border-color:#f0a46b!important;box-shadow:0 18px 42px rgba(244,122,31,.12)!important}.afcp-public-packages .afcp-package-popular{background:#fff2e7!important;color:#b94b05!important}.afcp-public-packages .afcp-package-card.featured .afcp-package-cta{background:#f47a1f!important}.afcp-public-packages .afcp-package-card.featured .afcp-package-cta:hover{background:#d95f0b!important}
.afcp-viewer-summary section:nth-child(1){border-top-color:#f47a1f!important}.afcp-viewer-summary section:nth-child(2){border-top-color:#1c9b61!important}.afcp-viewer-summary section:nth-child(3){border-top-color:#174b86!important}
.afcp-live-location-main strong{color:#188253!important}.afcp-master-filter:hover,.afcp-master-filter.is-active{border-color:#efb88e!important;background:#fff7f0!important;color:#b94b05!important}
#afcp-master-search:focus{border-color:#e99a5e!important;box-shadow:0 0 0 3px rgba(244,122,31,.10)!important}
@media(max-width:820px){.afcp-client-nav{background:#07182f!important}.afcp-nav-item.active{background:#f47a1f!important}}

/* v32.4 billing behavior states */
.afcp-plan-status-v29.danger,.afcp-billing-health-v29.danger{background:#fff1f2!important;color:#b42318!important;border-color:#fecdd3!important}
.afcp-plan-status-v29.warn,.afcp-billing-health-v29.warn{background:#fff7ed!important;color:#b54708!important;border-color:#fed7aa!important}
[data-billing-action].is-loading{cursor:wait;opacity:.78;pointer-events:none}
[data-billing-action][aria-busy="true"]{position:relative}
#afcp-billing-message[role="alert"]{border-color:#fecaca;background:#fff7f7;color:#991b1b}
@media (max-width:640px){.afcp-plan-actions-v29 button,.afcp-billing-actions-v29 button{min-height:52px}.afcp-payment-return-v322{align-items:flex-start}.afcp-payment-return-v322 button{width:100%}}

/* v37 dashboard, billing and analytics polish */
.afcp-overview-insights-v37{margin:20px 0;padding:20px;border:1px solid rgba(148,163,184,.14);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));box-shadow:0 18px 50px rgba(0,0,0,.16)}
.afcp-overview-insights-v37 .afcp-v18-panel-head{margin-bottom:16px}
.afcp-overview-insight-grid-v37{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.afcp-overview-insight-grid-v37 article{min-width:0;padding:17px;border:1px solid rgba(148,163,184,.13);border-radius:16px;background:rgba(7,11,18,.38)}
.afcp-overview-insight-grid-v37 article span,.afcp-overview-insight-grid-v37 article small{display:block;color:var(--af-muted,#91a0b5)}
.afcp-overview-insight-grid-v37 article span{font-size:11px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.afcp-overview-insight-grid-v37 article b{display:block;margin:8px 0 5px;font-size:24px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--af-text,#f8fafc)}
.afcp-overview-insight-grid-v37 article small{font-size:12px}
.afcp-inline-card-v37{margin-top:18px;padding:18px;border:1px solid color-mix(in srgb,var(--af-accent) 32%,rgba(148,163,184,.16));border-radius:16px;background:rgba(5,9,15,.55)}
.afcp-inline-card-v37[hidden]{display:none!important}
.afcp-inline-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.afcp-inline-card-head span{display:block;margin-bottom:4px;color:var(--af-accent);font-size:10px;font-weight:900;letter-spacing:.1em}
.afcp-inline-card-head b{font-size:14px;color:var(--af-text,#f8fafc)}
.afcp-inline-card-close{border:0;background:transparent;color:var(--af-muted,#91a0b5);font-size:25px;line-height:1;cursor:pointer}
.afcp-card-element-v37{padding:14px;border:1px solid rgba(148,163,184,.2);border-radius:12px;background:#fff;min-height:48px}
.afcp-inline-card-actions{display:flex;align-items:center;gap:12px;margin-top:14px;flex-wrap:wrap}
.afcp-inline-card-actions small{max-width:470px;color:var(--af-muted,#91a0b5);line-height:1.45}
.afcp-card-message-v37{margin-top:10px;min-height:20px;font-size:13px;color:#8ee3b0}
.afcp-card-message-v37.is-error{color:#ff9a9a}
.afcp-billing-v29-grid,.afcp-billing-v29-row{align-items:stretch}
.afcp-billing-card{box-shadow:0 16px 45px rgba(0,0,0,.12)}
.afcp-v18-kpi,.afcp-v18-panel{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
@media (hover:hover){.afcp-v18-kpi:hover,.afcp-v18-panel:hover{transform:translateY(-1px);border-color:rgba(148,163,184,.24);box-shadow:0 18px 46px rgba(0,0,0,.16)}}
@media(max-width:980px){.afcp-overview-insight-grid-v37{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.afcp-overview-insights-v37{padding:15px;border-radius:16px}.afcp-overview-insight-grid-v37{grid-template-columns:1fr 1fr;gap:9px}.afcp-overview-insight-grid-v37 article{padding:13px}.afcp-overview-insight-grid-v37 article b{font-size:20px}.afcp-inline-card-v37{padding:14px}.afcp-inline-card-actions{align-items:stretch}.afcp-inline-card-actions .afcp-primary{width:100%}}

/* v38.0 — state-driven billing redesign */
.afcp-billing-state-v38{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin:0 0 18px;padding:18px 20px;border:1px solid #dce4ed;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(7,24,47,.05)}
.afcp-billing-state-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#edf3f8;color:#07182f;font-size:18px;font-weight:900}
.afcp-billing-state-copy{min-width:0}.afcp-billing-state-copy>span{display:block;margin-bottom:4px;color:#667085;font-size:9px;font-weight:800;letter-spacing:.1em}.afcp-billing-state-copy h3{margin:0;color:#101828;font-size:16px;line-height:1.2}.afcp-billing-state-copy p{margin:5px 0 0;max-width:720px;color:#667085;font-size:10.5px;line-height:1.5}
.afcp-billing-state-facts{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:10px}.afcp-billing-state-facts>div{padding:10px 12px;border-left:1px solid #eaecf0}.afcp-billing-state-facts span,.afcp-billing-state-facts b{display:block}.afcp-billing-state-facts span{color:#667085;font-size:8.5px}.afcp-billing-state-facts b{margin-top:3px;color:#101828;font-size:10px}
.afcp-billing-state-v38[data-tone="good"]{border-color:#bfe5d0;background:#f7fcf9}.afcp-billing-state-v38[data-tone="good"] .afcp-billing-state-icon{background:#ddf5e7;color:#16784b}
.afcp-billing-state-v38[data-tone="danger"]{border-color:#efc2be;background:#fff7f6}.afcp-billing-state-v38[data-tone="danger"] .afcp-billing-state-icon{background:#fee4e2;color:#b42318}
.afcp-billing-state-v38[data-tone="warn"]{border-color:#f1d59c;background:#fffbf2}.afcp-billing-state-v38[data-tone="warn"] .afcp-billing-state-icon{background:#fef0c7;color:#b54708}
.afcp-billing-card.primary .afcp-plan-actions-v29{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important}
.afcp-billing-card [data-billing-action="manage"]{min-height:62px!important}
.afcp-billing-card [data-billing-action="payment"]{min-height:62px!important}
.afcp-billing-card.is-manual [data-billing-action="payment"]{display:none!important}
.afcp-billing-card.is-action-required{border-color:#efc2be!important;box-shadow:0 0 0 3px rgba(180,35,24,.04)!important}
@media(max-width:960px){.afcp-billing-state-v38{grid-template-columns:auto minmax(0,1fr)}.afcp-billing-state-facts{grid-column:1/-1;width:100%}}
@media(max-width:620px){.afcp-billing-state-v38{grid-template-columns:1fr;padding:15px}.afcp-billing-state-icon{width:36px;height:36px}.afcp-billing-state-facts{grid-template-columns:1fr}.afcp-billing-state-facts>div{border-left:0;border-top:1px solid #eaecf0;padding:9px 0}.afcp-billing-card.primary .afcp-plan-actions-v29{grid-template-columns:1fr!important}}

/* =========================================================
   v40.1 — Final unified AWOBAZ dashboard design system
   One palette wins over legacy redesign layers.
   ========================================================= */
.afcp-portal{
  --af-bg:#f4f7fb!important;
  --af-surface:#ffffff!important;
  --af-surface2:#f8fafc!important;
  --af-line:#e2e8f0!important;
  --af-text:#10243e!important;
  --af-muted:#64748b!important;
  --af-accent:#f47a1f!important;
  --af-green:#16a36a!important;
  --af-red:#c94141!important;
  --af-amber:#b87513!important;
  --aw-brand:#f47a1f;
  --aw-brand-hover:#d95f0b;
  --aw-navy:#07182f;
  --aw-navy-2:#0b2342;
  --aw-blue:#174b86;
  --aw-page:#f4f7fb;
  --aw-card:#fff;
  --aw-line:#e2e8f0;
  --aw-ink:#10243e;
  --aw-muted:#64748b;
  background:var(--aw-page)!important;color:var(--aw-ink)!important;border-color:var(--aw-line)!important;
}
.afcp-dashboard-shell{background:var(--aw-page)!important}
.afcp-client-nav{background:linear-gradient(180deg,#06152b 0%,#07182f 58%,#081426 100%)!important;border-color:rgba(255,255,255,.09)!important;box-shadow:10px 0 34px rgba(7,24,47,.08)!important}
.afcp-nav-account{border-color:rgba(255,255,255,.10)!important}.afcp-nav-account b{color:#fff!important}.afcp-nav-account span{color:#9fb0c5!important}
.afcp-nav-logo{background:#fff!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 8px 24px rgba(0,0,0,.18)!important}
.afcp-nav-item{color:#a9b8c9!important;border:1px solid transparent!important}.afcp-nav-item:hover{background:rgba(255,255,255,.06)!important;color:#fff!important;border-color:rgba(255,255,255,.05)!important;transform:none!important}
.afcp-nav-item.active{background:linear-gradient(135deg,#f47a1f,#e46610)!important;color:#fff!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 7px 18px rgba(244,122,31,.22)!important}
.afcp-nav-item.active:after{background:#ffd2ae!important}.afcp-nav-status{color:#a9b8c9!important}
.afcp-dashboard-main,.afcp-dashboard-view,.afcp-v19-overview{background:radial-gradient(circle at 85% -5%,rgba(244,122,31,.055),transparent 22%),linear-gradient(180deg,#f9fbfd 0,#f4f7fb 300px)!important;color:var(--aw-ink)!important}
.afcp-v18-header,.afcp-topbar{background:rgba(255,255,255,.94)!important;border-color:#e4eaf1!important;box-shadow:0 1px 0 rgba(15,23,42,.02)!important}
.afcp-v18-welcome h1,.afcp-page-title h2,.afcp-section-head h2,.afcp-stream h3,.afcp-billing-card h3,.afcp-overview-card h3{color:var(--aw-ink)!important}
.afcp-v18-kicker,.afcp-page-title>span,.afcp-section-head>span,.afcp-eyebrow,.afcp-analytics-panel-head>div>span{color:#cf5d0b!important}
.afcp-v18-kpi,.afcp-v18-panel,.afcp-overview-card,.afcp-stat-card,.afcp-stream,.afcp-billing-card,.afcp-account-form,.afcp-support-compose,.afcp-support-tickets,.afcp-viewer-summary section,.afcp-viewer-table-wrap,.afcp-ticket-detail,.afcp-toolbar,.afcp-analytics-panel{
  background:#fff!important;border:1px solid #e1e7ef!important;border-radius:14px!important;box-shadow:0 4px 15px rgba(7,24,47,.045)!important;
}
.afcp-v18-kpi:hover,.afcp-v18-panel:hover,.afcp-overview-card:hover,.afcp-stream:hover,.afcp-analytics-panel:hover{transform:translateY(-1px)!important;border-color:#d5dde7!important;box-shadow:0 10px 28px rgba(7,24,47,.075)!important}
.afcp-v18-kpi:before{height:3px!important}.afcp-v18-kpi:nth-child(1):before{background:#f47a1f!important}.afcp-v18-kpi:nth-child(2):before{background:#16a36a!important}.afcp-v18-kpi:nth-child(3):before{background:#174b86!important}.afcp-v18-kpi:nth-child(4):before{background:#b87513!important}
.afcp-primary,.afcp-token,.afcp-v18-fullbtn{background:linear-gradient(135deg,#f47a1f,#e46710)!important;border-color:#e46710!important;color:#fff!important;box-shadow:0 5px 14px rgba(244,122,31,.16)!important}
.afcp-primary:hover,.afcp-token:hover,.afcp-v18-fullbtn:hover{background:linear-gradient(135deg,#e66c14,#d95f0b)!important;border-color:#d95f0b!important;box-shadow:0 7px 17px rgba(217,95,11,.20)!important}
.afcp-outline,.afcp-refresh,.afcp-copy,.afcp-copy-all,.afcp-collapse,.afcp-copy-obs,.afcp-density{background:#fff!important;border-color:#d9e1ea!important;color:#334155!important;box-shadow:none!important}
.afcp-outline:hover,.afcp-refresh:hover,.afcp-copy:hover,.afcp-copy-all:hover,.afcp-collapse:hover,.afcp-copy-obs:hover,.afcp-density:hover{background:#fff8f2!important;border-color:#efbb94!important;color:#b94b05!important}
.afcp-search,.afcp-metrics>div,.afcp-permission-note,.afcp-linkrow input,.afcp-generated input,.afcp-account-form input,.afcp-support-compose input,.afcp-support-compose select,.afcp-support-compose textarea{background:#f8fafc!important;border-color:#dfe6ee!important;color:#26384d!important}
.afcp-search input{color:#26384d!important}.afcp-search:focus-within,.afcp-linkrow input:focus,.afcp-generated input:focus,.afcp-account-form input:focus,.afcp-support-compose input:focus,.afcp-support-compose select:focus,.afcp-support-compose textarea:focus{border-color:#f09a59!important;box-shadow:0 0 0 3px rgba(244,122,31,.11)!important}
.afcp-tab{color:#64748b!important}.afcp-tab.active{color:#c85407!important}.afcp-tab.active:after{background:#f47a1f!important}
.afcp-stream{border-left:3px solid #cbd5e1!important}.afcp-stream.is-live{border-left-color:#16a36a!important}.afcp-stream.has-error{border-left-color:#c94141!important}.afcp-stream:hover{border-left-color:#f47a1f!important}.afcp-stream.is-live:hover{border-left-color:#16a36a!important}
.afcp-live-dot.live,.green{color:#16865a!important}.red{color:#b83d3d!important}.afcp-global-status{background:#eff6ff!important;border-color:#c9dbef!important;color:#315574!important}.afcp-global-status.bad{background:#fff3f2!important;border-color:#efc3bf!important;color:#a63a36!important}
.afcp-live-command .afcp-analytics-panel-head{background:linear-gradient(120deg,#07182f 0%,#0d2d53 65%,#174b86 100%)!important}.afcp-live-command .afcp-analytics-panel-head h3{color:#fff!important}.afcp-live-command .afcp-analytics-panel-head>div>span{color:#ffbb84!important}.afcp-live-command .afcp-analytics-panel-head small{color:#cad8e8!important}
.afcp-viewer-note{background:#f1f6fb!important;border-left-color:#174b86!important;color:#526579!important}.afcp-audience-health{background:#fff8e8!important;border-left-color:#b87513!important;color:#8c5b10!important}

/* Billing becomes a clean financial workspace */
.afcp-billing-state-v38{background:#fff!important;border-color:#dde5ee!important;border-radius:14px!important;box-shadow:0 4px 15px rgba(7,24,47,.045)!important}.afcp-billing-state-icon{background:#fff1e5!important;color:#c85407!important}.afcp-billing-state-copy h3,.afcp-billing-state-facts b{color:#10243e!important}.afcp-billing-state-copy>span{color:#c85407!important}
.afcp-billing-state-v38[data-tone="good"]{background:#f7fcf9!important;border-color:#bfe5d0!important}.afcp-billing-state-v38[data-tone="good"] .afcp-billing-state-icon{background:#e5f8ee!important;color:#16865a!important}
.afcp-billing-state-v38[data-tone="warn"]{background:#fffaf0!important;border-color:#edd9aa!important}.afcp-billing-state-v38[data-tone="danger"]{background:#fff6f5!important;border-color:#efc8c4!important}
.afcp-plan-summary-v29,.afcp-billing-card.primary{background:linear-gradient(145deg,#07182f 0%,#0b2342 62%,#103866 100%)!important;border-color:#164773!important;box-shadow:0 16px 34px rgba(7,24,47,.15)!important}.afcp-plan-summary-v29 h3,.afcp-plan-summary-v29 strong,.afcp-plan-summary-v29 b,.afcp-plan-summary-v29 .afcp-billing-card-head h3{color:#fff!important}.afcp-plan-summary-v29 span,.afcp-plan-summary-v29 small{color:#c4d2e3!important}.afcp-plan-summary-v29 .afcp-primary{background:#f47a1f!important;border-color:#f47a1f!important;color:#fff!important}.afcp-plan-summary-v29 .afcp-primary:hover{background:#df650c!important;border-color:#df650c!important}.afcp-plan-summary-v29 .afcp-outline{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}.afcp-plan-summary-v29 .afcp-outline:hover{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.26)!important;color:#fff!important}
.afcp-inline-card-v37{background:#fff!important;border-color:#e4eaf1!important;box-shadow:0 8px 25px rgba(7,24,47,.08)!important}.afcp-inline-card-head b{color:#10243e!important}.afcp-inline-card-head span{color:#c85407!important}.afcp-inline-card-close{color:#64748b!important}.afcp-card-message-v37{color:#16865a!important}.afcp-card-message-v37.is-error{color:#b83d3d!important}
.afcp-billing-secure-v322{border-color:#dde5ee!important}.afcp-lock-v322{background:#e9f8f0!important;color:#16865a!important}.afcp-payment-flow-v322{border-color:#dde5ee!important}.afcp-payment-flow-v322 .is-current i{background:#f47a1f!important}.afcp-payment-flow-v322 .is-current b{color:#b94b05!important}
.afcp-plan-status-v29.active,.afcp-billing-health-v29.good{background:#e9f8f0!important;color:#16865a!important;border-color:#bde7d0!important}.afcp-plan-status-v29.warn,.afcp-billing-health-v29.warn{background:#fff7e7!important;color:#9b620f!important;border-color:#eed59d!important}.afcp-plan-status-v29.danger,.afcp-billing-health-v29.danger{background:#fff1f0!important;color:#b33d38!important;border-color:#efc6c2!important}

/* Accessible selections and keyboard focus */
.afcp-portal ::selection{background:rgba(244,122,31,.23);color:#07182f}.afcp-portal button:focus-visible,.afcp-portal a:focus-visible,.afcp-portal input:focus-visible,.afcp-portal select:focus-visible,.afcp-portal textarea:focus-visible{outline:3px solid rgba(244,122,31,.28)!important;outline-offset:2px!important}
@media(max-width:820px){.afcp-client-nav{background:#07182f!important;box-shadow:0 7px 24px rgba(7,24,47,.13)!important}.afcp-nav-item.active{background:#f47a1f!important}.afcp-v18-content,.afcp-page-title,.afcp-section-head{padding-left:14px!important;padding-right:14px!important}.afcp-billing-state-v38,.afcp-billing-secure-v322{border-radius:12px!important}}
@media(max-width:600px){.afcp-v18-kpi,.afcp-v18-panel,.afcp-stream,.afcp-billing-card,.afcp-analytics-panel{border-radius:12px!important}.afcp-plan-summary-v29,.afcp-billing-card.primary{box-shadow:0 10px 25px rgba(7,24,47,.13)!important}}

/* v41 public signup flow */
.afcp-public-start{max-width:1120px;margin:0 auto;padding:28px 0 56px}
.afcp-start-card{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.75fr);gap:24px;align-items:stretch}
.afcp-start-summary,.afcp-start-action{border:1px solid #e2e8f0;border-radius:18px;background:#fff;padding:32px;box-shadow:0 16px 44px rgba(15,23,42,.08)}
.afcp-start-summary>span,.afcp-start-action>span{display:block;font-size:11px;font-weight:900;letter-spacing:.12em;color:#64748b;margin-bottom:10px}
.afcp-start-summary h2,.afcp-start-action h3{margin:0 0 8px;color:#0f172a;letter-spacing:-.025em}.afcp-start-summary h2{font-size:32px}.afcp-start-action h3{font-size:24px}
.afcp-start-summary p,.afcp-start-action p{color:#64748b;line-height:1.65}.afcp-start-summary>strong{display:block;font-size:22px;color:#0f172a;margin:20px 0}
.afcp-start-summary ul{list-style:none;margin:20px 0 0;padding:0;border-top:1px solid #edf2f7}.afcp-start-summary li{padding:11px 0;border-bottom:1px solid #edf2f7;color:#334155;font-weight:650}.afcp-start-summary li:before{content:'✓';margin-right:9px;color:var(--af-accent,#f47a1f);font-weight:900}
.afcp-start-action{display:flex;flex-direction:column;justify-content:center}.afcp-start-action .afcp-package-cta{width:100%;border:0;cursor:pointer;text-align:center;box-sizing:border-box}.afcp-start-secondary{display:block;text-align:center;margin-top:12px;padding:12px 14px;border:1px solid #dbe3ee;border-radius:10px;color:#334155;font-weight:800}.afcp-start-secondary:hover{background:#f8fafc}
.afcp-start-error,.afcp-start-message{margin-top:14px;padding:12px 14px;border-radius:10px;font-size:14px;line-height:1.5}.afcp-start-error{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.afcp-start-message{color:#b91c1c;padding-left:0;padding-right:0}
.afcp-start-checkout[disabled]{opacity:.7;cursor:wait}
@media(max-width:800px){.afcp-public-start{padding:16px 0 36px}.afcp-start-card{grid-template-columns:1fr}.afcp-start-summary,.afcp-start-action{padding:22px;border-radius:14px}.afcp-start-summary h2{font-size:27px}}
