:root{--fap-bg:#f5f7fb;--fap-card:#fff;--fap-text:#101828;--fap-muted:#667085;--fap-line:#e8ecf3;--fap-brand:#635bff;--fap-brand-2:#7c3aed;--fap-blue:#2563eb;--fap-green:#12b76a;--fap-red:#d92d20;--fap-amber:#f79009;--fap-sidebar:#0e1424;--fap-sidebar-2:#151c2f;--fap-radius:18px;--fap-shadow:0 12px 35px rgba(16,24,40,.07)}
.afp-saas-dashboard-page{background:var(--fap-bg)!important}.afp-saas-dashboard-page #masthead,.afp-saas-dashboard-page header.site-header,.afp-saas-dashboard-page #colophon,.afp-saas-dashboard-page footer.site-footer{display:none!important}.afp-saas-dashboard-page #content,.afp-saas-dashboard-page .site-content,.afp-saas-dashboard-page .ast-container,.afp-saas-dashboard-page .site-main,.afp-saas-dashboard-page article,.afp-saas-dashboard-page .entry-content{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}.afp-saas-dashboard-page .entry-header{display:none!important}.afp-saas-dashboard-page .entry-content>p:empty{display:none!important}
.fap-app,.fap-app *{box-sizing:border-box}.fap-app{min-height:100vh;background:var(--fap-bg);color:var(--fap-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;display:flex;font-size:14px;line-height:1.45}.fap-app svg{width:20px;height:20px;display:block;fill:currentColor}.fap-sidebar{position:fixed;z-index:50;inset:0 auto 0 0;width:258px;background:linear-gradient(180deg,var(--fap-sidebar),#0b1020);color:#d7dcef;padding:22px 15px 16px;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.04)}.fap-brand{display:flex;align-items:center;gap:11px;padding:3px 8px 20px}.fap-brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#7868ff,#4f46e5);display:flex;align-items:center;justify-content:center;color:#fff;box-shadow:0 8px 25px rgba(99,91,255,.35)}.fap-brand-mark svg{width:23px;height:23px}.fap-brand>span:last-child{display:flex;flex-direction:column;line-height:1.05}.fap-brand strong{font-size:16px;color:#fff;letter-spacing:-.02em}.fap-brand small{font-size:11px;color:#8992ad;margin-top:4px;text-transform:uppercase;letter-spacing:.12em}.fap-nav{display:flex;flex-direction:column;gap:3px;overflow:auto;padding:0 2px 15px;scrollbar-width:none}.fap-nav::-webkit-scrollbar{display:none}.fap-nav-label{font-size:10px;font-weight:800;color:#66718e;text-transform:uppercase;letter-spacing:.12em;padding:17px 11px 6px}.fap-nav-item{min-height:42px;display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:10px;color:#9fa8c0!important;text-decoration:none!important;transition:.16s ease;font-weight:600}.fap-nav-item>span{width:20px;opacity:.85}.fap-nav-item strong{font-size:13px;font-weight:650;flex:1}.fap-nav-item em{font-size:9px;font-style:normal;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.08);color:#aeb7cc}.fap-nav-item:hover{background:rgba(255,255,255,.055);color:#fff!important}.fap-nav-item.is-active{background:linear-gradient(90deg,rgba(99,91,255,.22),rgba(99,91,255,.08));color:#fff!important;box-shadow:inset 3px 0 0 #7c72ff}.fap-nav-item.is-active>span{color:#9b94ff}.fap-sidebar-foot{margin-top:auto;border-top:1px solid rgba(255,255,255,.07);padding-top:13px}.fap-plan-mini{background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.06);border-radius:12px;padding:10px;display:flex;gap:9px;align-items:center;margin-bottom:8px}.fap-plan-icon{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:rgba(99,91,255,.18);color:#9b94ff}.fap-plan-mini div,.fap-user-mini span{min-width:0;display:flex;flex-direction:column}.fap-plan-mini strong,.fap-user-mini strong{font-size:11px;color:#e9ecf5}.fap-plan-mini small,.fap-user-mini small{font-size:9px;color:#78829c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-user-mini{display:flex;align-items:center;gap:9px;padding:9px;border-radius:11px;text-decoration:none!important;color:inherit!important}.fap-user-mini:hover{background:rgba(255,255,255,.04)}.fap-user-mini span{flex:1}.fap-user-mini>svg{width:14px;height:14px;color:#59647e}.fap-avatar,.fap-user-mini img,.fap-top-avatar img{border-radius:50%;object-fit:cover}.fap-main{margin-left:258px;min-width:0;width:calc(100% - 258px)}.fap-topbar{height:68px;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--fap-line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:30}.fap-top-title{display:flex;align-items:center;gap:8px}.fap-top-title span{color:#98a2b3;font-size:12px}.fap-top-title span:after{content:'/';margin-left:8px;color:#d0d5dd}.fap-top-title strong{font-size:13px}.fap-top-actions{margin-left:auto;display:flex;align-items:center;gap:10px}.fap-system-pill{height:30px;display:flex;align-items:center;gap:7px;border:1px solid #e7ebf0;border-radius:999px;padding:0 11px;color:#667085;font-size:11px;font-weight:600;background:#fff}.fap-system-pill i,.fap-status-pill i,.fap-live-badge i{width:7px;height:7px;border-radius:50%;background:var(--fap-green);box-shadow:0 0 0 3px rgba(18,183,106,.12)}.fap-icon-button,.fap-top-avatar{width:36px;height:36px;border:1px solid #e7ebf0;background:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#667085!important;text-decoration:none!important}.fap-icon-button svg{width:17px;height:17px}.fap-top-avatar{border-radius:50%;overflow:hidden}.fap-top-avatar img{width:100%;height:100%}.fap-mobile-menu{display:none;border:0;background:none;padding:8px;margin-left:-7px;margin-right:4px;color:#344054}.fap-content{max-width:1540px;margin:0 auto}.fap-page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:25px;margin-bottom:26px}.fap-page-head h1{font-size:27px;line-height:1.2;letter-spacing:-.035em;margin:5px 0 7px;color:var(--fap-text);font-weight:750}.fap-page-head p{margin:0;color:var(--fap-muted);max-width:720px;font-size:13px}.fap-eyebrow,.fap-panel-kicker{font-size:9px;font-weight:800;letter-spacing:.13em;color:#8a94a6}.fap-primary-btn,.fap-secondary-btn,.fap-danger-btn{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:9px 14px;border:0;font:inherit;font-size:12px;font-weight:700;text-decoration:none!important;cursor:pointer;transition:.16s ease}.fap-primary-btn{background:linear-gradient(135deg,#635bff,#554ddf);color:#fff!important;box-shadow:0 7px 18px rgba(99,91,255,.22)}.fap-primary-btn:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(99,91,255,.28)}.fap-primary-btn svg,.fap-secondary-btn svg{width:16px;height:16px}.fap-secondary-btn{background:#fff;color:#344054!important;border:1px solid #dfe4eb}.fap-danger-btn{background:#fff5f4;color:#b42318!important;border:1px solid #fee4e2}.fap-text-link{font-size:11px;font-weight:700;color:#635bff!important;text-decoration:none!important}.fap-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.fap-metric{background:var(--fap-card);border:1px solid var(--fap-line);border-radius:14px;padding:17px;display:flex;gap:12px;align-items:center;min-width:0;box-shadow:0 4px 18px rgba(16,24,40,.025)}.fap-metric-icon{width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#f0efff;color:#635bff;flex:0 0 auto}.fap-metric-icon.positive{background:#ecfdf3;color:#079455}.fap-metric-icon.warning{background:#fff7ed;color:#ea580c}.fap-metric-icon.neutral{background:#f2f4f7;color:#475467}.fap-metric-icon svg{width:19px;height:19px}.fap-metric>div{display:grid;min-width:0}.fap-metric small{font-size:10px;color:#98a2b3;font-weight:650}.fap-metric strong{font-size:20px;line-height:1.25;letter-spacing:-.03em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-metric span:last-child{font-size:10px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);gap:18px}.fap-panel{background:var(--fap-card);border:1px solid var(--fap-line);border-radius:var(--fap-radius);padding:20px;box-shadow:0 5px 22px rgba(16,24,40,.035);min-width:0}.fap-panel-large{min-width:0}.fap-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:17px}.fap-panel-head h2{font-size:15px;line-height:1.3;margin:3px 0 0;color:#172033;font-weight:720;letter-spacing:-.015em}.fap-progress-count,.fap-count-badge{font-size:10px;font-weight:700;color:#667085;background:#f7f8fa;border:1px solid #eceff3;border-radius:999px;padding:5px 8px;white-space:nowrap}.fap-setup-list{display:grid}.fap-setup-row{display:grid;grid-template-columns:38px 1fr 20px;gap:11px;align-items:center;padding:13px 2px;border-top:1px solid #f0f2f5;text-decoration:none!important;color:inherit!important}.fap-setup-row:first-child{border-top:0}.fap-setup-row:hover .fap-setup-arrow{transform:translateX(2px);color:#635bff}.fap-setup-icon{width:34px;height:34px;border-radius:10px;background:#f4f5f7;display:flex;align-items:center;justify-content:center;color:#667085}.fap-setup-icon.done{background:#ecfdf3;color:#079455}.fap-setup-icon svg{width:16px;height:16px}.fap-setup-row>span:nth-child(2){display:flex;flex-direction:column}.fap-setup-row strong{font-size:12px}.fap-setup-row small{font-size:10px;color:#98a2b3;margin-top:2px}.fap-setup-arrow{transition:.15s;color:#b3bac5}.fap-setup-arrow svg{width:16px}.fap-page-preview{background:linear-gradient(145deg,#11192c,#1c2741);border-radius:14px;padding:20px;color:#fff;min-height:186px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;position:relative;overflow:hidden}.fap-page-preview:before{content:"";position:absolute;width:160px;height:160px;border-radius:50%;background:rgba(99,91,255,.17);filter:blur(4px);right:-60px;top:-70px}.fap-page-preview.is-empty{background:linear-gradient(145deg,#f5f7fa,#edf0f5);color:#344054}.fap-page-preview-icon{width:48px;height:48px;border-radius:14px;background:#1877f2;color:#fff;display:flex;align-items:center;justify-content:center;margin-bottom:11px}.fap-page-preview-icon svg{width:27px;height:27px}.fap-page-preview strong{font-size:14px;max-width:95%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-page-preview small{font-size:9px;color:#9ba6bc;margin-top:3px}.fap-live-badge{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:4px 8px;font-size:9px}.fap-pipeline-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fap-pipeline{border:1px solid #edf0f4;border-radius:13px;padding:14px;display:grid;grid-template-columns:38px 1fr auto;gap:10px;align-items:center}.fap-module-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center}.fap-module-icon.news{background:#eff8ff;color:#175cd3}.fap-module-icon.ai{background:#f4f3ff;color:#6938ef}.fap-module-icon svg{width:18px}.fap-pipeline div{min-width:0}.fap-pipeline strong{display:block;font-size:11px}.fap-pipeline p{margin:3px 0 0;font-size:9px;color:#98a2b3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-chip{display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:750}.fap-chip.muted{background:#f2f4f7;color:#667085}.fap-chip.success{background:#ecfdf3;color:#027a48}.fap-chip.accent{background:#eeecff;color:#5d50d8}.fap-activity-list{display:grid}.fap-activity{display:grid;grid-template-columns:12px 1fr;gap:9px;padding:10px 2px;border-top:1px solid #f1f3f5}.fap-activity:first-child{border-top:0}.fap-activity-dot{width:7px;height:7px;border-radius:50%;background:#98a2b3;margin-top:5px}.fap-activity-dot.success{background:#12b76a}.fap-activity-dot.error{background:#f04438}.fap-activity-dot.warning{background:#f79009}.fap-activity div{display:flex;flex-direction:column}.fap-activity strong{font-size:10px;font-weight:650}.fap-activity small{font-size:9px;color:#98a2b3;margin-top:2px}.fap-two-col{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px}.fap-status-pill{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:750}.fap-status-pill.on{background:#ecfdf3;color:#027a48}.fap-status-pill.off{background:#f2f4f7;color:#667085}.fap-status-pill.off i{background:#98a2b3;box-shadow:none}.fap-connect-hero{text-align:center;padding:22px 10px 10px}.fap-connect-hero>span{width:54px;height:54px;margin:0 auto 12px;border-radius:16px;background:#1877f2;color:white;display:flex;align-items:center;justify-content:center}.fap-connect-hero>span svg{width:30px;height:30px}.fap-connect-hero h3{font-size:15px;margin:0 0 6px}.fap-connect-hero p{font-size:11px;color:#667085;max-width:390px;margin:0 auto 18px}.fap-account-card{border:1px solid #e8ecf2;border-radius:13px;padding:14px;display:grid;grid-template-columns:42px 1fr auto;gap:11px;align-items:center}.fap-account-avatar{width:42px;height:42px;border-radius:12px;background:#eef4ff;color:#175cd3;display:flex;align-items:center;justify-content:center}.fap-account-avatar svg{width:20px}.fap-account-card div{display:flex;flex-direction:column}.fap-account-card strong{font-size:12px}.fap-account-card small{font-size:9px;color:#98a2b3}.fap-button-row{display:flex;gap:8px;margin-top:13px}.fap-page-list{display:grid;gap:8px;max-height:410px;overflow:auto;padding-right:2px}.fap-page-option{display:grid;grid-template-columns:38px 1fr 18px;gap:10px;align-items:center;border:1px solid #e7ebf0;border-radius:12px;padding:11px;cursor:pointer;transition:.15s}.fap-page-option:hover,.fap-page-option.is-selected{border-color:#aaa5ff;background:#faf9ff;box-shadow:0 0 0 2px rgba(99,91,255,.06)}.fap-page-option input{position:absolute;opacity:0;pointer-events:none}.fap-page-letter{width:36px;height:36px;border-radius:10px;background:#eaf2ff;color:#175cd3;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}.fap-page-copy{display:flex;flex-direction:column;min-width:0}.fap-page-copy strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-page-copy small{font-size:9px;color:#98a2b3}.fap-radio-dot{width:16px;height:16px;border:1.5px solid #c8ced8;border-radius:50%;position:relative}.fap-page-option.is-selected .fap-radio-dot{border-color:#635bff}.fap-page-option.is-selected .fap-radio-dot:after{content:"";position:absolute;inset:3px;background:#635bff;border-radius:50%}.fap-form-actions{display:flex;justify-content:flex-end;margin-top:16px;padding-top:15px;border-top:1px solid #eef1f4}.fap-form-actions.sticky{position:sticky;bottom:16px;border:0;pointer-events:none}.fap-form-actions.sticky button{pointer-events:auto;box-shadow:0 8px 30px rgba(99,91,255,.32)}.fap-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fap-form-grid.three{grid-template-columns:1.2fr 1fr 1fr}.fap-field{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:650}.fap-field small{font-size:9px;font-weight:400;color:#98a2b3;margin-bottom:4px}.fap-field input,.fap-field select{width:100%;height:40px;border:1px solid #dfe4ea;border-radius:9px;background:#fff;padding:0 11px;color:#344054;font:inherit;font-size:11px;font-weight:400;outline:none}.fap-field input:focus,.fap-field select:focus{border-color:#928cff;box-shadow:0 0 0 3px rgba(99,91,255,.09)}.fap-field input:disabled{background:#f7f8fa;color:#98a2b3}.fap-switch{display:inline-flex;align-items:center}.fap-switch input{display:none}.fap-switch span{width:38px;height:22px;border-radius:999px;background:#d0d5dd;position:relative;cursor:pointer;transition:.2s}.fap-switch span:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.2s}.fap-switch input:checked+span{background:#635bff}.fap-switch input:checked+span:after{transform:translateX(16px)}.fap-health-list{display:grid}.fap-health-list>div{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid #f0f2f5;font-size:10px}.fap-health-list>div:first-child{border-top:0}.fap-health-list span{display:flex;align-items:center;gap:7px;color:#667085}.fap-health-list i{width:7px;height:7px;border-radius:50%}.fap-health-list i.green{background:#12b76a}.fap-health-list i.amber{background:#f79009}.fap-health-list strong{font-size:10px}.fap-section-gap{height:18px}.fap-engine-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fap-engine-card{border:1px solid #e8ecf1;border-radius:13px;padding:14px;display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:11px;color:inherit!important;text-decoration:none!important;transition:.15s}.fap-engine-card:hover{border-color:#c9c5ff;transform:translateY(-1px);box-shadow:0 8px 22px rgba(16,24,40,.05)}.fap-engine-card strong{font-size:12px}.fap-engine-card p{font-size:9px;color:#98a2b3;margin:3px 0 0}.fap-empty-state{padding:32px 15px;text-align:center;color:#98a2b3}.fap-empty-state>svg{width:30px;height:30px;margin:0 auto 8px;color:#c0c6d0}.fap-empty-state strong{display:block;color:#475467;font-size:12px}.fap-empty-state p{font-size:10px;max-width:340px;margin:5px auto 0}.fap-empty-state.compact{padding:24px 10px}.fap-module-hero,.fap-photocard-hero{min-height:320px;display:grid;grid-template-columns:95px 1fr;gap:26px;align-items:center;max-width:850px;margin:0 auto;padding:30px}.fap-big-module-icon{width:86px;height:86px;border-radius:24px;background:linear-gradient(145deg,#f0efff,#e4e1ff);color:#635bff;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #dcd8ff}.fap-big-module-icon svg{width:40px;height:40px}.fap-module-hero h2,.fap-photocard-hero h2{font-size:22px;letter-spacing:-.03em;margin:5px 0 10px}.fap-module-hero p,.fap-photocard-hero p{color:#667085;font-size:12px;max-width:660px}.fap-feature-list,.fap-feature-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:15px}.fap-feature-list span,.fap-feature-pills span{display:inline-flex;align-items:center;gap:5px;background:#f7f8fa;border:1px solid #eceff3;border-radius:999px;padding:6px 9px;font-size:9px;font-weight:650;color:#475467}.fap-feature-list svg{width:12px;height:12px;color:#12b76a}.fap-plan-panel{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.fap-plan-panel h2{font-size:20px;margin:4px 0}.fap-plan-panel p{color:#667085;font-size:11px;max-width:580px}.fap-plan-price{padding:9px 12px;border-radius:10px;background:#f4f3ff;color:#5925dc;font-size:11px;font-weight:750}.fap-profile-row{display:flex;align-items:center;gap:12px;padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid #eef1f4}.fap-profile-row div{display:flex;flex-direction:column}.fap-profile-row strong{font-size:12px}.fap-profile-row small{font-size:10px;color:#98a2b3}.fap-toast{display:flex;align-items:center;gap:9px;background:#ecfdf3;color:#027a48;border:1px solid #abefc6;padding:10px 12px;border-radius:11px;margin-bottom:18px;font-size:11px;font-weight:650;transition:.35s ease}.fap-toast>span{width:22px;height:22px;border-radius:50%;background:#d1fadf;display:flex;align-items:center;justify-content:center}.fap-toast svg{width:13px}.fap-toast button{margin-left:auto;border:0;background:none;font-size:18px;color:#039855;cursor:pointer}.fap-toast.is-hiding{opacity:0;transform:translateY(-5px)}.fap-overlay{display:none}.fap-login-page{min-height:100vh;background:radial-gradient(circle at top right,#e9e7ff 0,transparent 36%),#f6f7fb;display:flex;align-items:center;justify-content:center;padding:24px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.fap-login-card{width:min(420px,100%);background:white;border:1px solid #e7ebf0;border-radius:22px;padding:30px;box-shadow:0 22px 70px rgba(16,24,40,.1)}.fap-login-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px}.fap-login-brand .fap-brand-mark{width:36px;height:36px}.fap-login-card h1{font-size:25px;letter-spacing:-.04em;margin:0 0 5px}.fap-login-card>p{font-size:12px;color:#667085;margin:0 0 20px}.fap-login-card label{font-size:11px;font-weight:650;color:#344054}.fap-login-card input[type=text],.fap-login-card input[type=password]{width:100%;border:1px solid #dfe4ea;border-radius:9px;height:42px;padding:0 10px;margin-top:5px}.fap-login-card input[type=submit]{width:100%;border:0;border-radius:9px;background:#635bff;color:white;font-weight:700;height:42px;cursor:pointer}.fap-login-card .login-remember{font-size:10px;color:#667085}
@media(max-width:1180px){.fap-metrics{grid-template-columns:1fr 1fr}.fap-dashboard-grid,.fap-two-col{grid-template-columns:1fr}.fap-pipeline-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.fap-sidebar{transform:translateX(-100%);transition:.22s ease}.fap-main{margin-left:0;width:100%}.fap-app.fap-menu-open .fap-sidebar{transform:translateX(0)}.fap-overlay{position:fixed;z-index:45;inset:0;background:rgba(8,13,24,.48);backdrop-filter:blur(2px)}.fap-app.fap-menu-open .fap-overlay{display:block}.fap-mobile-menu{display:block}.fap-content{padding:26px 20px 42px}.fap-topbar{padding:0 20px}}
@media(max-width:650px){.fap-content{padding:22px 14px 36px}.fap-topbar{height:60px;padding:0 14px}.fap-system-pill{display:none}.fap-top-title span{display:none}.fap-top-title span:after{display:none}.fap-page-head{display:block}.fap-page-head>.fap-primary-btn,.fap-page-head>.fap-secondary-btn,.fap-page-head>.fap-status-pill,.fap-page-head>.fap-chip{margin-top:14px}.fap-page-head h1{font-size:23px}.fap-metrics{grid-template-columns:1fr 1fr;gap:9px}.fap-metric{padding:13px;align-items:flex-start}.fap-metric-icon{width:34px;height:34px}.fap-metric strong{font-size:17px}.fap-dashboard-grid,.fap-pipeline-grid,.fap-engine-cards,.fap-two-col,.fap-form-grid,.fap-form-grid.three{grid-template-columns:1fr}.fap-panel{padding:16px;border-radius:15px}.fap-pipeline{grid-template-columns:34px 1fr}.fap-pipeline>.fap-chip{display:none}.fap-engine-card{grid-template-columns:38px 1fr}.fap-engine-card>.fap-chip{display:none}.fap-module-hero,.fap-photocard-hero{grid-template-columns:1fr;padding:12px;gap:16px;min-height:0}.fap-big-module-icon{width:64px;height:64px;border-radius:18px}.fap-big-module-icon svg{width:30px;height:30px}.fap-module-hero h2,.fap-photocard-hero h2{font-size:18px}.fap-plan-panel{display:block}.fap-plan-price{display:inline-block;margin-top:10px}}
@media(max-width:430px){.fap-metrics{grid-template-columns:1fr}.fap-top-actions .fap-icon-button{display:none}}

/* 3.2.0 reference-aligned premium dashboard */
.fap-app{background:#f8f9fc}.fap-main{background:linear-gradient(180deg,#fbfcff 0,#f7f8fc 100%)}
.fap-content{max-width:1180px;margin:0 auto}
.fap-topbar{background:rgba(255,255,255,.94);border-bottom:1px solid #e9ecf3;backdrop-filter:blur(12px)}
.fap-upgrade-btn{height:36px;padding:0 13px;border:1px solid #7c3aed;border-radius:9px;color:#6d28d9!important;display:inline-flex;align-items:center;gap:7px;text-decoration:none!important;font-size:10px;font-weight:750;background:white}.fap-upgrade-btn svg{width:14px;height:14px}
.fap-top-profile{display:flex;align-items:center;gap:9px;text-decoration:none!important;color:#101828!important;padding-left:5px}.fap-top-profile-avatar{width:34px!important;height:34px!important;border-radius:50%!important}.fap-top-profile span{display:flex;flex-direction:column;line-height:1.15}.fap-top-profile strong{font-size:10px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fap-top-profile small{font-size:8px;color:#7f56d9;margin-top:3px}
.fap-welcome-hero{position:relative;min-height:142px;border:1px solid #ded8ff;border-radius:17px;overflow:hidden;background:linear-gradient(115deg,#fff 0,#fbfaff 46%,#eeeaff 100%);display:flex;align-items:center;padding:26px 31px;margin-bottom:22px;box-shadow:0 7px 24px rgba(82,65,173,.04)}
.fap-welcome-copy{position:relative;z-index:3;max-width:580px}.fap-hero-kicker{display:none}.fap-welcome-copy h1{font-size:21px;line-height:1.2;letter-spacing:-.035em;margin:0 0 10px;color:#111827}.fap-welcome-copy p{font-size:11px;color:#475467;margin:0;max-width:530px}
.fap-hero-art{position:absolute;right:0;top:0;width:47%;height:100%;overflow:hidden}.fap-art-orb{position:absolute;border-radius:999px;background:rgba(124,58,237,.08)}.fap-art-orb.one{width:190px;height:190px;right:15px;top:-72px}.fap-art-orb.two{width:120px;height:120px;left:14px;bottom:-65px}.fap-art-window{position:absolute;background:rgba(255,255,255,.92);border:1px solid rgba(124,58,237,.18);box-shadow:0 14px 35px rgba(76,29,149,.14);border-radius:9px}.fap-art-window.back{width:140px;height:78px;right:136px;top:38px;transform:rotate(-7deg);padding:13px}.fap-art-window.back span{display:block;height:5px;background:#ebe8ff;border-radius:9px;margin-bottom:7px}.fap-art-window.back span:nth-child(2){width:68%;background:#ddd7ff}.fap-art-window.front{width:220px;height:112px;right:30px;top:23px;transform:rotate(-7deg);padding:10px}.fap-art-top{display:flex;align-items:center;gap:5px;height:16px}.fap-art-top b{width:52px;height:5px;background:#7c3aed;border-radius:9px;margin-right:auto}.fap-art-top i{width:5px;height:5px;background:#e4e0ff;border-radius:50%}.fap-art-body{display:grid;grid-template-columns:38px 1fr;height:76px;gap:8px}.fap-art-side{background:linear-gradient(180deg,#21163b,#4c1d95);border-radius:5px}.fap-art-chart{background:#fafaff;border:1px solid #eeeaff;border-radius:5px;display:flex;align-items:flex-end;gap:6px;padding:12px}.fap-art-chart span{flex:1;background:linear-gradient(180deg,#8b5cf6,#c4b5fd);border-radius:3px 3px 0 0}.fap-art-chart span:nth-child(1){height:28%}.fap-art-chart span:nth-child(2){height:55%}.fap-art-chart span:nth-child(3){height:40%}.fap-art-chart span:nth-child(4){height:75%}.fap-art-bolt{position:absolute;right:208px;top:9px;width:30px;height:30px;border-radius:8px;background:linear-gradient(145deg,#8b5cf6,#6d28d9);color:white;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(109,40,217,.3);z-index:4}.fap-art-bolt svg{width:16px;height:16px}
.fap-metrics{gap:14px;margin-bottom:22px}.fap-metric{border-color:#e8ebf2;border-radius:14px;padding:17px;background:#fff;box-shadow:0 7px 22px rgba(16,24,40,.045)}.fap-metric-icon{border-radius:50%}.fap-dashboard-grid{gap:18px}.fap-panel{border-color:#e7eaf1;border-radius:16px;box-shadow:0 6px 20px rgba(16,24,40,.035)}.fap-workflow-panel .fap-setup-list{margin-top:4px}.fap-setup-row{min-height:58px}.fap-connection-panel .fap-page-preview{min-height:222px;background:radial-gradient(circle at 15% 65%,rgba(139,92,246,.13),transparent 27%),radial-gradient(circle at 85% 40%,rgba(124,58,237,.16),transparent 30%),linear-gradient(145deg,#18142f,#272044);border:0;color:white}.fap-connection-panel .fap-page-preview small{color:#cbc5e8}.fap-connection-panel .fap-page-preview-icon{box-shadow:0 8px 24px rgba(24,119,242,.32)}
@media(max-width:900px){.fap-content{max-width:none;padding:22px 18px 38px}.fap-top-profile span{display:none}.fap-welcome-hero{min-height:132px}.fap-hero-art{width:42%;opacity:.9}.fap-art-window.front{right:-15px}.fap-art-window.back{right:80px}.fap-art-bolt{right:140px}}
@media(max-width:650px){.fap-content{padding:16px 12px 30px}.fap-topbar{padding:0 12px}.fap-upgrade-btn span{display:none}.fap-upgrade-btn{width:36px;padding:0;justify-content:center}.fap-welcome-hero{min-height:154px;padding:21px 20px;align-items:flex-start;margin-bottom:14px}.fap-welcome-copy{max-width:77%;z-index:5}.fap-welcome-copy h1{font-size:19px;margin-bottom:8px}.fap-welcome-copy p{font-size:10px;line-height:1.55}.fap-hero-art{width:48%;opacity:.48;right:-38px}.fap-art-window.front{width:190px;right:-40px;top:36px}.fap-art-window.back,.fap-art-bolt{display:none}.fap-metrics{grid-template-columns:1fr 1fr!important;gap:9px;margin-bottom:14px}.fap-metric{padding:12px;min-height:94px}.fap-metric strong{font-size:15px}.fap-dashboard-grid{gap:12px}.fap-panel{padding:14px;border-radius:14px}.fap-connection-panel .fap-page-preview{min-height:190px}.fap-top-profile-avatar{width:32px!important;height:32px!important}}
@media(max-width:390px){.fap-welcome-copy{max-width:90%}.fap-hero-art{opacity:.25}.fap-metrics{grid-template-columns:1fr!important}.fap-metric{min-height:auto}.fap-top-title strong{font-size:10px}}
/* 3.4 design-system refinement */
.fap-app{--fap-purple:#6f42e8;--fap-purple-soft:#f3efff;--fap-border:#e7eaf1;--fap-text:#101828;--fap-muted:#667085;--fap-bg:#f6f7fb}.fap-content{background:radial-gradient(circle at 82% 2%,rgba(124,58,237,.045),transparent 28%)}.fap-page-head{margin-bottom:18px}.fap-page-head h1{font-size:22px!important;letter-spacing:-.035em!important}.fap-page-head p{max-width:720px;line-height:1.55}.fap-panel{transition:box-shadow .18s,border-color .18s}.fap-panel:hover{border-color:#dde1ec}.fap-primary-btn,.fap-secondary-btn{min-height:36px;border-radius:9px!important;font-weight:750!important}.fap-primary-btn{box-shadow:0 6px 14px rgba(109,40,217,.17)}.fap-nav-item{border-radius:9px!important}.fap-nav-item.is-active{box-shadow:inset 3px 0 0 #8b5cf6,0 5px 16px rgba(92,56,181,.13)}.fap-status-pill{box-shadow:0 2px 7px rgba(16,24,40,.04)}.fap-topbar{backdrop-filter:blur(14px);background:rgba(255,255,255,.92)!important}.fap-sidebar{box-shadow:12px 0 35px rgba(15,23,42,.06)}
@media(max-width:650px){.fap-page-head{gap:12px!important}.fap-page-head h1{font-size:20px!important}.fap-page-head p{font-size:10px!important}.fap-content{padding-bottom:76px!important}}

/* 4.1 clean light SaaS shell */
.afp-saas-dashboard-page{background:#f6f8fc!important}.afp-saas-dashboard-page #wpadminbar{display:none!important}html:has(.afp-saas-dashboard-page){margin-top:0!important}.fap-app{display:block;min-height:100vh;background:#f6f8fc;font-size:15px;color:#0f172a}.fap-main{margin-left:0!important;width:100%!important;min-width:0}.fap-sidebar,.fap-sidebar-foot,.fap-top-title{display:none!important}.fap-topbar{height:78px;position:sticky;top:0;z-index:60;padding:0!important;background:rgba(255,255,255,.96)!important;border-bottom:1px solid #e6eaf0!important;box-shadow:0 5px 24px rgba(15,23,42,.035);backdrop-filter:blur(16px)}.fap-topbar-inner{width:min(100% - 40px,1480px);height:100%;margin:0 auto;display:flex;align-items:center;gap:22px}.fap-brand{padding:0!important;display:flex;align-items:center;flex:0 0 auto}.fap-brand img{display:block;width:184px;height:auto}.fap-topnav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1;min-width:0}.fap-topnav .fap-nav-item{min-height:42px;padding:8px 11px;border-radius:10px!important;color:#64748b!important;gap:7px;white-space:nowrap;box-shadow:none!important}.fap-topnav .fap-nav-item>span{width:17px}.fap-topnav .fap-nav-item svg{width:16px;height:16px}.fap-topnav .fap-nav-item strong{font-size:12px;font-weight:700;flex:0 1 auto}.fap-topnav .fap-nav-item em{font-size:8px;background:#fff1f2;color:#e11d48;padding:2px 5px}.fap-topnav .fap-nav-item:hover{background:#f4f6fa;color:#111827!important}.fap-topnav .fap-nav-item.is-active{background:#eef2ff!important;color:#4338ca!important;box-shadow:none!important}.fap-top-actions{margin-left:auto;gap:10px;flex:0 0 auto}.fap-plan-pill{display:flex;align-items:center;gap:8px;text-decoration:none!important;border:1px solid #e1e6ef;border-radius:11px;background:#fff;padding:8px 11px;color:#475569!important;line-height:1}.fap-plan-pill span{font-size:10px;font-weight:800;color:#7c3aed;text-transform:uppercase;letter-spacing:.04em}.fap-plan-pill strong{font-size:11px;color:#111827}.fap-icon-button{width:40px;height:40px;border-radius:11px}.fap-top-profile{padding:0 0 0 2px;gap:9px}.fap-top-profile-avatar{width:40px!important;height:40px!important}.fap-top-profile strong{font-size:12px;max-width:135px}.fap-top-profile small{font-size:10px;color:#94a3b8;margin-top:4px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.fap-mobile-menu{order:2;margin-left:auto;margin-right:0;border:1px solid #e3e8ef;background:#fff;border-radius:10px;width:40px;height:40px;padding:9px}.fap-overlay{display:none}
.fap-content{max-width:1480px!important;margin:0 auto!important;background:transparent!important}.fap-page-head{margin-bottom:24px}.fap-page-head h1{font-size:31px!important;line-height:1.18!important;margin:5px 0 9px!important}.fap-page-head p{font-size:15px!important;line-height:1.65!important;max-width:840px}.fap-eyebrow,.fap-panel-kicker{font-size:10px}.fap-panel{border-radius:18px;padding:24px;box-shadow:0 8px 26px rgba(15,23,42,.04);border-color:#e5eaf1}.fap-panel-head h2{font-size:18px}.fap-panel-head{margin-bottom:19px}.fap-metrics{gap:16px;margin-bottom:22px}.fap-metric{padding:20px;border-radius:16px;min-height:104px}.fap-metric-icon{width:48px;height:48px}.fap-metric-icon svg{width:22px;height:22px}.fap-metric small{font-size:12px}.fap-metric strong{font-size:24px}.fap-metric span:last-child{font-size:12px}.fap-dashboard-grid{grid-template-columns:minmax(0,1.45fr) minmax(340px,.85fr);gap:20px}.fap-setup-row{min-height:68px;grid-template-columns:44px 1fr 22px}.fap-setup-icon{width:40px;height:40px}.fap-setup-row strong{font-size:14px}.fap-setup-row small{font-size:12px}.fap-welcome-hero{min-height:190px;border-radius:22px;padding:34px 38px;margin-bottom:24px;background:linear-gradient(110deg,#ffffff 0,#f9fbff 50%,#eef2ff 100%);border-color:#dce3f0}.fap-welcome-copy{max-width:650px}.fap-hero-kicker{display:block;font-size:10px;font-weight:850;letter-spacing:.12em;color:#6366f1;margin-bottom:10px}.fap-welcome-copy h1{font-size:32px!important;line-height:1.15!important;margin:0 0 12px!important}.fap-welcome-copy p{font-size:15px!important;line-height:1.65!important;max-width:620px}.fap-hero-art{width:40%}.fap-primary-btn,.fap-secondary-btn,.fap-danger-btn{min-height:44px;font-size:13px;padding:10px 17px}.fap-text-link{font-size:13px}.fap-form-grid label,.fap-field label{font-size:13px}.fap-form-grid input,.fap-form-grid select,.fap-form-grid textarea,.fap-field input,.fap-field select,.fap-field textarea{font-size:14px!important;min-height:44px}.fap-chip,.fap-status-pill{font-size:11px}.fap-empty-state strong{font-size:15px}.fap-empty-state p{font-size:13px}
/* normalize Source Engine sizing inside the dashboard */
.fap-content .faps-kpi span,.fap-content .faps-kpi small{font-size:11px}.fap-content .faps-kpi strong{font-size:24px}.fap-content .faps-workspace-tabs button{font-size:13px;padding:10px 16px}.fap-content .faps-hero-pro h2{font-size:24px}.fap-content .faps-hero-pro p,.fap-content .faps-pro-card p,.fap-content .faps-section-top p{font-size:13px}.fap-content .faps-mini-label{font-size:10px}.fap-content .faps-pro-card h3{font-size:17px}.fap-content .faps-mode-card strong,.fap-content .faps-source-copy strong{font-size:13px}.fap-content .faps-mode-card small,.fap-content .faps-source-copy small{font-size:11px}.fap-content .faps-check-grid span,.fap-content .faps-source-filter,.fap-content .faps-connection-badge{font-size:11px}.fap-content .faps-source-search{font-size:13px!important}.fap-content .faps-field-pro>span{font-size:12px}.fap-content .faps-field-pro>small{font-size:11px}.fap-content .faps-field-pro input,.fap-content .faps-field-pro select{font-size:13px!important;min-height:42px}.fap-content .faps-user-source{padding:15px}.fap-content .faps-source-icon{width:44px;height:44px}.fap-content .faps-savebar{background:rgba(255,255,255,.96);border:1px solid #e2e8f0;box-shadow:0 12px 34px rgba(15,23,42,.10)}.fap-content .faps-savebar strong{color:#111827;font-size:13px}.fap-content .faps-savebar span{color:#64748b;font-size:11px}
/* normalize PhotoCard sizing inside the dashboard */
.fap-content .fapc-kpis span,.fap-content .fapc-kpis small{font-size:11px}.fap-content .fapc-kpis strong{font-size:17px}.fap-content .fapc-library-head h2,.fap-content .fapc-preview-head h2{font-size:19px}.fap-content .fapc-library-head p{font-size:12px}.fap-content .fapc-filter-row button{font-size:11px;padding:8px 11px}.fap-content .fapc-search input{font-size:12px!important}.fap-content .fapc-card-meta strong{font-size:13px}.fap-content .fapc-card-meta small{font-size:10px}.fap-content .fapc-template-type{font-size:9px}.fap-content .fapc-fb-head strong{font-size:12px}.fap-content .fapc-fb-head small,.fap-content .fapc-facebook-card>p{font-size:10px}.fap-content .fapc-preview-stage{font-size:12px}.fap-content .fapc-savebar{background:rgba(255,255,255,.96);border:1px solid #e2e8f0;box-shadow:0 12px 34px rgba(15,23,42,.10)}.fap-content .fapc-savebar strong{color:#111827;font-size:13px}.fap-content .fapc-savebar span{color:#64748b;font-size:11px}
@media(max-width:1180px){.fap-topbar-inner{width:min(100% - 28px,1480px);gap:12px}.fap-brand img{width:164px}.fap-topnav{gap:1px}.fap-topnav .fap-nav-item{padding:8px}.fap-topnav .fap-nav-item strong{font-size:11px}.fap-plan-pill{display:none}.fap-content{padding-left:20px!important;padding-right:20px!important}.fap-welcome-copy h1{font-size:29px!important}}
@media(max-width:900px){.fap-topbar{height:70px}.fap-topbar-inner{width:calc(100% - 24px)}.fap-brand img{width:174px}.fap-mobile-menu{display:flex;align-items:center;justify-content:center}.fap-top-actions{margin-left:0}.fap-top-actions .fap-top-profile span{display:none}.fap-topnav{position:fixed;z-index:70;top:70px;right:12px;width:min(360px,calc(100vw - 24px));max-height:calc(100vh - 86px);overflow:auto;display:flex;flex-direction:column;align-items:stretch;background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:10px;box-shadow:0 20px 60px rgba(15,23,42,.16);transform:translateY(-10px);opacity:0;pointer-events:none;transition:.18s}.fap-app.fap-menu-open .fap-topnav{transform:none;opacity:1;pointer-events:auto}.fap-topnav .fap-nav-item{min-height:48px;padding:11px 12px}.fap-topnav .fap-nav-item strong{font-size:13px}.fap-overlay{position:fixed;z-index:55;inset:70px 0 0;background:rgba(15,23,42,.16)}.fap-app.fap-menu-open .fap-overlay{display:block}.fap-content{padding-top:24px!important}.fap-dashboard-grid{grid-template-columns:1fr}.fap-hero-art{width:43%;opacity:.75}}
@media(max-width:640px){.fap-topbar-inner{width:calc(100% - 20px)}.fap-brand img{width:154px}.fap-top-actions .fap-icon-button{display:none}.fap-top-profile-avatar{width:36px!important;height:36px!important}.fap-content{padding:18px 12px 44px!important}.fap-page-head h1{font-size:26px!important}.fap-page-head p{font-size:14px!important}.fap-welcome-hero{min-height:210px;padding:26px 22px}.fap-welcome-copy{max-width:88%}.fap-welcome-copy h1{font-size:27px!important}.fap-welcome-copy p{font-size:14px!important}.fap-hero-art{width:58%;right:-70px;opacity:.25}.fap-metrics{grid-template-columns:1fr 1fr!important;gap:10px}.fap-metric{min-height:100px;padding:15px;display:block}.fap-metric-icon{width:40px;height:40px;margin-bottom:10px}.fap-metric strong{font-size:21px}.fap-panel{padding:18px;border-radius:16px}.fap-content .faps-kpis,.fap-content .fapc-kpis{grid-template-columns:1fr 1fr}.fap-content .faps-user-source-grid{grid-template-columns:1fr}.fap-content .fapc-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.fap-top-actions .fap-top-profile{display:none}.fap-welcome-copy{max-width:100%}.fap-hero-art{display:none}.fap-metrics{grid-template-columns:1fr!important}.fap-content .faps-kpis,.fap-content .fapc-kpis{grid-template-columns:1fr}.fap-content .fapc-template-grid{grid-template-columns:1fr 1fr}.fap-page-head h1{font-size:24px!important}}

/* 4.1.1 light sidebar restoration */
.afp-saas-dashboard-page{background:#f7f8fc!important}
.fap-mini-action.is-running{opacity:.78;pointer-events:none}
.fap-chip.is-generating{background:#fff7ed!important;color:#c2410c!important}
.fap-app{display:flex!important;background:#f7f8fc!important;color:#111827!important}
.fap-sidebar{display:flex!important;width:264px!important;background:linear-gradient(180deg,#ffffff 0%,#fbfcff 100%)!important;color:#334155!important;border-right:1px solid #e5e9f2!important;box-shadow:8px 0 30px rgba(15,23,42,.035)!important;padding:20px 15px 16px!important}
.fap-sidebar .fap-brand{display:flex!important;padding:2px 8px 22px!important;border-bottom:1px solid #eef1f6;margin-bottom:8px}
.fap-sidebar .fap-brand img{width:185px!important;height:auto!important}
.fap-nav{display:flex!important;flex-direction:column;gap:4px!important;padding:2px 2px 16px!important}
.fap-nav-label{color:#94a3b8!important;font-size:10px!important;letter-spacing:.11em!important;padding:16px 11px 6px!important}
.fap-sidebar .fap-nav-item{min-height:44px!important;padding:10px 12px!important;border-radius:11px!important;color:#64748b!important;gap:11px!important;box-shadow:none!important}
.fap-sidebar .fap-nav-item>span{width:20px!important;color:#94a3b8!important}
.fap-sidebar .fap-nav-item strong{font-size:13px!important;font-weight:700!important;color:inherit!important}
.fap-sidebar .fap-nav-item em{background:#f1f5f9!important;color:#64748b!important;font-size:9px!important}
.fap-sidebar .fap-nav-item:hover{background:#f5f7fb!important;color:#172033!important}
.fap-sidebar .fap-nav-item:hover>span{color:#6366f1!important}
.fap-sidebar .fap-nav-item.is-active{background:linear-gradient(90deg,#f0edff 0%,#f7f5ff 100%)!important;color:#5b3fd6!important;box-shadow:inset 3px 0 0 #7c5cff!important}
.fap-sidebar .fap-nav-item.is-active>span{color:#6d4cff!important}
.fap-sidebar-foot{display:block!important;border-top:1px solid #eef1f6!important;padding-top:14px!important}
.fap-plan-mini{background:#f8f7ff!important;border:1px solid #e8e4ff!important;color:#334155!important}
.fap-plan-icon{background:#eeeaff!important;color:#6d4cff!important}
.fap-plan-mini strong,.fap-user-mini strong{color:#172033!important}
.fap-plan-mini small,.fap-user-mini small{color:#94a3b8!important}
.fap-user-mini{color:#334155!important}.fap-user-mini:hover{background:#f7f8fb!important}.fap-user-mini>svg{color:#94a3b8!important}
.fap-main{margin-left:264px!important;width:calc(100% - 264px)!important;min-width:0!important}
.fap-topbar{height:72px!important;padding:0 30px!important;background:rgba(255,255,255,.94)!important;border-bottom:1px solid #e7ebf2!important;box-shadow:none!important}
.fap-topbar-inner,.fap-topnav{display:none!important}
.fap-top-title{display:flex!important}.fap-top-title span{font-size:12px!important;color:#94a3b8!important}.fap-top-title strong{font-size:14px!important;color:#172033!important}
.fap-top-actions{display:flex!important;margin-left:auto!important}
.fap-content{max-width:1500px!important}
.fap-welcome-hero{background:linear-gradient(120deg,#ffffff 0%,#fbfcff 52%,#f2efff 100%)!important;border:1px solid #e5e9f2!important;box-shadow:0 10px 30px rgba(15,23,42,.035)!important}
.fap-panel,.fap-metric{background:#fff!important;border-color:#e6eaf1!important;box-shadow:0 7px 24px rgba(15,23,42,.035)!important}
.fap-page-preview.is-empty{background:linear-gradient(145deg,#ffffff,#f6f8fc)!important;border:1px dashed #dbe1eb!important}
.fap-content .faps-savebar,.fap-content .fapc-savebar{background:rgba(255,255,255,.98)!important}
.fap-overlay{display:none}
@media(max-width:900px){
  .fap-sidebar{transform:translateX(-100%)!important;transition:.22s ease!important;z-index:80!important}
  .fap-main{margin-left:0!important;width:100%!important}
  .fap-app.fap-menu-open .fap-sidebar{transform:translateX(0)!important}
  .fap-overlay{position:fixed!important;z-index:70!important;inset:0!important;background:rgba(15,23,42,.22)!important;backdrop-filter:blur(2px)}
  .fap-app.fap-menu-open .fap-overlay{display:block!important}
  .fap-mobile-menu{display:flex!important;align-items:center;justify-content:center;margin:0 10px 0 0!important;order:initial!important}
  .fap-topbar{height:68px!important;padding:0 18px!important}
  .fap-content{padding:24px 18px 48px!important}
}
@media(max-width:640px){
  .fap-sidebar{width:min(286px,86vw)!important}
  .fap-topbar{padding:0 12px!important}
  .fap-top-title span{display:none!important}.fap-top-title span:after{display:none!important}
  .fap-plan-pill{display:none!important}.fap-top-profile span{display:none!important}
  .fap-content{padding:18px 12px 42px!important}
}

/* 4.2.0 root-app + wider polished workspace */
.fapa-root-app{margin:0!important;background:#f6f8fc!important;overflow-x:hidden}
.fapa-root-app .fap-app{width:100%!important;min-height:100vh!important}
.fapa-root-app .fap-main{min-height:100vh!important}
.fap-content{max-width:none!important;width:100%!important;margin:0!important}
.fap-page-head{max-width:none!important;margin-bottom:28px!important}
.fap-page-head h1{font-size:32px!important}.fap-page-head p{font-size:15px!important;max-width:900px!important}
.fap-dashboard-grid{grid-template-columns:minmax(0,1.6fr) minmax(380px,.8fr)!important;gap:22px!important}
.fap-metrics{gap:18px!important;margin-bottom:22px!important}
.fap-metric{min-height:112px!important;padding:21px!important;border-radius:17px!important}
.fap-metric small{font-size:12px!important}.fap-metric strong{font-size:25px!important}.fap-metric span:last-child{font-size:12px!important}
.fap-panel{padding:25px!important;border-radius:19px!important}.fap-panel-head h2{font-size:18px!important}
.fap-setup-row{min-height:70px!important}.fap-setup-row strong{font-size:14px!important}.fap-setup-row small{font-size:12px!important}
.fap-topbar{padding-left:42px!important;padding-right:42px!important}
.fap-top-title strong{font-size:15px!important}.fap-top-actions{gap:12px!important}
.fap-nav-item strong{font-size:14px!important}.fap-sidebar{width:270px!important}.fap-main{margin-left:270px!important;width:calc(100% - 270px)!important}
.fap-sidebar .fap-brand img{width:190px!important}
.fap-content .faps-pro-card,.fap-content .fapc-library,.fap-content .fapc-preview-pane{border-radius:18px!important}
@media(max-width:1280px){.fap-content{padding:30px 28px 60px!important}.fap-dashboard-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr)!important}.fap-sidebar{width:250px!important}.fap-main{margin-left:250px!important;width:calc(100% - 250px)!important}}
@media(max-width:900px){.fap-main{margin-left:0!important;width:100%!important}.fap-dashboard-grid{grid-template-columns:1fr!important}.fap-content{padding:24px 18px 50px!important}.fap-topbar{padding-left:18px!important;padding-right:18px!important}}
@media(max-width:640px){.fap-content{padding:18px 12px 44px!important}.fap-page-head h1{font-size:27px!important}.fap-metrics{gap:10px!important}.fap-metric{min-height:102px!important;padding:16px!important}.fap-panel{padding:18px!important}}
.fap-history-table-wrap{overflow:auto}.fap-history-table{width:100%;border-collapse:collapse;min-width:760px}.fap-history-table th{text-align:left;padding:13px;color:#667085;font-size:12px}.fap-history-table td{padding:13px;border-top:1px solid #edf0f5;vertical-align:middle}.fap-history-table td .fap-dt-stack{display:block;min-width:0}.fap-history-table td .fap-dt-date{display:block;color:#101828;font-size:12px;line-height:1.2;font-weight:600}.fap-history-table td .fap-dt-time{display:block;color:#667085;font-size:11px;line-height:1.2;margin-top:2px}.fap-error-text{display:block;color:#b42318;margin-top:5px}.fap-mini-action{display:inline-flex;padding:6px 9px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:700;margin-right:6px}.fap-mini-action.view{background:#eef4ff;color:#175cd3}.fap-mini-action.approve{background:#ecfdf3;color:#067647}.fap-mini-action.reject{background:#fef3f2;color:#b42318}.fap-simple-chart{height:220px;display:flex;gap:16px;align-items:end;padding:20px 10px 0}.fap-chart-col{height:100%;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.fap-chart-bar{width:min(42px,80%);min-height:5px;border-radius:10px 10px 4px 4px;background:linear-gradient(180deg,#7c5cff,#5b43ea);position:relative}.fap-chart-bar span{position:absolute;top:-22px;left:50%;transform:translateX(-50%);font-size:11px;font-weight:700;color:#475467}.fap-chart-col small{font-size:11px;color:#667085}
.fap-history-table td small{display:block;margin-top:5px;color:#667085;font-size:11px;max-width:520px}.fap-collected-layout{display:grid;grid-template-columns:minmax(280px,.55fr) 1fr;gap:18px;align-items:start;margin-bottom:20px}.fap-collected-media{min-height:220px;border:1px solid #e8ecf2;border-radius:14px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.fap-collected-media img{width:100%;height:100%;max-height:360px;object-fit:contain;background:#fff}.fap-collected-media div{display:grid;place-items:center;gap:8px;color:#98a2b3;font-size:12px}.fap-collected-media svg{width:34px;height:34px}.fap-collected-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fap-collected-meta span{border:1px solid #edf0f5;border-radius:12px;padding:12px;background:#fbfcfe;color:#344054;font-size:12px;min-width:0}.fap-collected-meta strong{display:block;color:#98a2b3;font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-bottom:4px}.fap-collected-meta .fap-secondary-btn{grid-column:1/-1}.fap-collected-copy{display:grid;grid-template-columns:1fr 1fr;gap:16px}.fap-collected-copy section{min-width:0}.fap-collected-copy div{margin-top:8px;border:1px solid #edf0f5;border-radius:13px;background:#fbfcfe;padding:15px;max-height:520px;overflow:auto;white-space:normal;color:#344054;font-size:13px;line-height:1.65}@media(max-width:900px){.fap-collected-layout,.fap-collected-copy{grid-template-columns:1fr}.fap-collected-meta{grid-template-columns:1fr}}
.fap-preview-modal{position:fixed;inset:0;z-index:9999;display:none}.fap-preview-modal:target,.fap-preview-modal.is-open{display:block}.fap-preview-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.56);backdrop-filter:blur(3px)}.fap-preview-dialog{position:relative;width:min(1080px,calc(100vw - 34px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:18px;border:1px solid #e5eaf1;box-shadow:0 24px 80px rgba(15,23,42,.24);padding:22px}.fap-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f5;padding-bottom:16px;margin-bottom:18px}.fap-preview-head h2{font-size:22px;line-height:1.25;margin:4px 0 6px;color:#101828}.fap-preview-head p{margin:0;color:#667085;font-size:12px}.fap-preview-head .fap-icon-button{font-size:24px;line-height:1}.fap-preview-grid{display:grid;grid-template-columns:minmax(280px,.6fr) 1fr;gap:18px}.fap-preview-image{min-height:260px;border:1px solid #e8ecf2;border-radius:14px;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden}.fap-preview-image img{width:100%;height:100%;max-height:420px;object-fit:contain;background:#fff}.fap-preview-image span{display:grid;place-items:center;gap:8px;color:#98a2b3;font-size:12px}.fap-preview-image svg{width:36px;height:36px}.fap-preview-text{display:grid;gap:14px;align-content:start}.fap-preview-text section div{margin-top:8px;border:1px solid #edf0f5;border-radius:13px;background:#fbfcfe;padding:14px;max-height:330px;overflow:auto;color:#344054;font-size:13px;line-height:1.65}@media(max-width:820px){.fap-preview-grid{grid-template-columns:1fr}.fap-preview-dialog{padding:16px}.fap-preview-head h2{font-size:18px}}

/* Smart sidebar/header refresh */
.fap-sidebar{background:#fbfbfc!important;border-right:1px solid #e4e7ec!important;box-shadow:none!important;padding:18px 12px 14px!important}
.fap-sidebar .fap-brand{height:58px;padding:0 8px 14px!important;margin-bottom:10px!important;border-bottom:1px solid #eceff3!important}
.fap-sidebar .fap-brand img{width:174px!important}
.fap-nav{gap:2px!important;padding:0 0 14px!important}
.fap-nav-label{padding:18px 10px 7px!important;color:#8a94a6!important;font-size:11px!important;letter-spacing:0!important;text-transform:none!important;font-weight:650!important}
.fap-sidebar .fap-nav-item{--nav-accent:#635bff;--nav-soft:#f3f1ff;min-height:34px!important;padding:7px 8px!important;border-radius:9px!important;color:#5f687a!important;gap:9px!important}
.fap-sidebar .fap-nav-item>span{width:27px!important;height:27px!important;border-radius:8px!important;background:var(--nav-soft)!important;color:var(--nav-accent)!important;display:grid!important;place-items:center!important;opacity:1!important}
.fap-sidebar .fap-nav-item svg{width:15px!important;height:15px!important}
.fap-sidebar .fap-nav-item strong{font-size:13px!important;font-weight:650!important}
.fap-sidebar .fap-nav-item em{background:#eef2f7!important;color:#64748b!important}
.fap-sidebar .fap-nav-item:hover{background:#f0f2f5!important;color:#111827!important}
.fap-sidebar .fap-nav-item.is-active{background:var(--nav-soft)!important;color:#111827!important;box-shadow:none!important}
.fap-sidebar .fap-nav-item.is-active:before{content:"";width:3px;height:18px;border-radius:99px;background:var(--nav-accent);margin-left:-2px}
.fap-nav-overview{--nav-accent:#635bff;--nav-soft:#f0edff}.fap-nav-facebook{--nav-accent:#1877f2;--nav-soft:#edf6ff}.fap-nav-automation{--nav-accent:#f97316;--nav-soft:#fff3e8}.fap-nav-schedule{--nav-accent:#0ea5e9;--nav-soft:#eaf7ff}.fap-nav-history{--nav-accent:#14b8a6;--nav-soft:#e9fbf8}.fap-nav-news{--nav-accent:#22c55e;--nav-soft:#ecfdf3}.fap-nav-collected{--nav-accent:#64748b;--nav-soft:#f1f5f9}.fap-nav-ai{--nav-accent:#a855f7;--nav-soft:#faf0ff}.fap-nav-photocard{--nav-accent:#f43f5e;--nav-soft:#fff1f4}.fap-nav-usage{--nav-accent:#eab308;--nav-soft:#fef9c3}.fap-nav-settings{--nav-accent:#475569;--nav-soft:#f1f5f9}
.fap-sidebar-foot{border-top:1px solid #eceff3!important;padding-top:12px!important}
.fap-plan-mini{background:linear-gradient(135deg,#f6f3ff,#fff)!important;border-color:#e7ddff!important;border-radius:13px!important}
.fap-plan-icon{background:#7c3aed!important;color:#fff!important}
.fap-user-mini{padding:9px 7px!important;border-radius:10px!important}
.fap-topbar{height:60px!important;background:rgba(255,255,255,.92)!important;border-bottom:1px solid #e6e8ee!important;padding-left:28px!important;padding-right:28px!important;gap:18px!important}
.fap-top-title{min-width:180px!important}.fap-top-title span{font-size:12px!important;color:#8a94a6!important}.fap-top-title strong{font-size:15px!important}
.fap-smart-command{margin:0 auto; width:min(430px,34vw);height:36px;border:1px solid #e3e7ee;border-radius:12px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 9px;color:#8a94a6;box-shadow:0 1px 2px rgba(15,23,42,.03)}
.fap-smart-command span{width:22px;height:22px;border-radius:7px;background:#f3f1ff;color:#6d4cff;display:grid;place-items:center}.fap-smart-command svg{width:13px;height:13px}.fap-smart-command input{min-width:0;flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:12px;color:#111827}.fap-smart-command input::placeholder{color:#8a94a6}.fap-smart-command kbd{min-width:22px;height:22px;border:1px solid #e4e7ec;border-radius:7px;background:#f8fafc;color:#64748b;font-size:12px;display:grid;place-items:center}
.fap-plan-pill{height:34px;border-radius:11px!important;background:#fff!important;border-color:#e4e7ec!important}.fap-icon-button{width:36px!important;height:36px!important;border-radius:11px!important}.fap-notify-button{position:relative}.fap-notify-button i{position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:50%;background:#22c55e;border:2px solid #fff}
.fap-notify-wrap{position:relative;display:flex;align-items:center}
.fap-notify-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:80;width:min(364px,calc(100vw - 28px));background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 20px 48px rgba(15,23,42,.14);padding:14px 14px 12px}
.fap-notify-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:12px;border-bottom:1px solid #edf0f4}
.fap-notify-head strong{display:block;font-size:13px;color:#111827;font-weight:750;letter-spacing:-.01em}
.fap-notify-head span{display:block;margin-top:3px;font-size:10px;color:#6b7280}
.fap-notify-head-dot,.fap-notify-item-dot{width:9px;height:9px;border-radius:50%;background:linear-gradient(135deg,#635bff,#7c3aed);box-shadow:0 0 0 4px rgba(99,91,255,.08);flex:0 0 auto}
.fap-notify-list{display:grid;gap:12px;padding-top:12px}
.fap-notify-item{display:grid;grid-template-columns:9px 1fr;gap:10px;align-items:flex-start}
.fap-notify-item strong{display:block;font-size:12px;line-height:1.35;color:#111827;font-weight:700}
.fap-notify-item span{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#667085}
.fap-top-profile{display:flex!important;align-items:center!important;gap:10px!important;text-decoration:none!important;color:#111827!important}.fap-top-profile span{display:flex;flex-direction:column;line-height:1.1}.fap-top-profile strong{font-size:12px!important;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-top-profile small{font-size:10px!important;color:#8a94a6!important;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:1180px){.fap-smart-command{display:none}.fap-top-title{min-width:0!important}}
@media(max-width:900px){.fap-topbar{height:62px!important;padding-left:14px!important;padding-right:14px!important}.fap-sidebar{padding-top:14px!important}.fap-mobile-menu{width:36px!important;height:36px!important;border-radius:10px!important}}

/* 4.4.0 automation runtime controls */
.fap-runtime-panel{background:linear-gradient(120deg,#17132e 0%,#2b1b58 58%,#4e2fa5 100%);border-radius:20px;padding:24px 26px;color:#fff;box-shadow:0 14px 34px rgba(67,47,145,.16)}
.fap-runtime-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.fap-runtime-head h2{margin:4px 0 5px;font-size:22px;color:#fff}.fap-runtime-head p{margin:0;color:#d8d2f4;font-size:13px}.fap-runtime-head .fap-panel-kicker{color:#bfb5f4}.fap-runtime-state{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.1);font-size:11px;font-weight:800}.fap-runtime-state i{width:8px;height:8px;border-radius:50%;background:#98a2b3}.fap-runtime-state.on i{background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.15)}
.fap-runtime-grid{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(200px,.8fr) minmax(420px,1.45fr);gap:14px}.fap-runtime-stat{padding:16px 17px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.08);border-radius:15px;display:flex;flex-direction:column}.fap-runtime-stat span{font-size:11px;color:#cfc8ed}.fap-runtime-stat strong{font-size:25px;margin:5px 0 2px;letter-spacing:-.03em;color:#fff}.fap-runtime-stat small{font-size:11px;color:#bdb5da}.fap-runtime-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fap-action-big{min-height:76px!important;justify-content:flex-start!important;text-align:left!important;padding:14px 16px!important}.fap-action-big>svg{width:23px!important;height:23px!important;flex:0 0 auto}.fap-action-big>span{display:flex;flex-direction:column;gap:2px}.fap-action-big strong{font-size:13px}.fap-action-big small{font-size:10px;font-weight:500;opacity:.75}.fap-runtime-panel .fap-secondary-btn{background:#fff!important;border-color:#fff!important}.fap-runtime-panel .fap-primary-btn{background:linear-gradient(135deg,#7c5cff,#5b43ea)!important;border:1px solid rgba(255,255,255,.18)!important}.fap-action-big.is-disabled{opacity:.55;pointer-events:none}
@media(max-width:1120px){.fap-runtime-grid{grid-template-columns:1fr 1fr}.fap-runtime-actions{grid-column:1/-1}}
@media(max-width:640px){.fap-runtime-panel{padding:20px 16px;border-radius:17px}.fap-runtime-head{display:block}.fap-runtime-state{margin-top:12px}.fap-runtime-grid{grid-template-columns:1fr}.fap-runtime-actions{grid-column:auto;grid-template-columns:1fr}.fap-action-big{min-height:68px!important}}

/* Live automation operations console */
.fap-live-console{margin-top:18px;background:#fff;border:1px solid #e7e9f2;border-radius:18px;box-shadow:0 12px 32px rgba(25,22,61,.06);overflow:hidden}.fap-live-console-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #edf0f6}.fap-live-console-head h2{margin:4px 0 4px;font-size:22px}.fap-live-console-head p{margin:0;color:#6f7890}.fap-live-dot{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#effcf4;color:#17844b;font-weight:700;font-size:12px}.fap-live-dot i{width:8px;height:8px;border-radius:50%;background:#23c875;box-shadow:0 0 0 5px rgba(35,200,117,.12)}.fap-live-events{max-height:390px;overflow:auto;padding:8px 24px 16px}.fap-live-event{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid #f0f2f7}.fap-live-event:last-child{border-bottom:0}.fap-live-event>i{width:11px;height:11px;border-radius:50%;margin-top:5px;background:#8b93a8;flex:0 0 auto}.fap-live-event.status-running>i{background:#6a55ff;box-shadow:0 0 0 5px rgba(106,85,255,.1)}.fap-live-event.status-success>i,.fap-live-event.status-published>i,.fap-live-event.status-captured>i,.fap-live-event.status-queued>i{background:#18b76a}.fap-live-event.status-error>i,.fap-live-event.status-failed>i{background:#e5484d}.fap-live-event.status-skipped>i,.fap-live-event.status-fallback>i{background:#f3a31b}.fap-live-copy{min-width:0;flex:1}.fap-live-copy>div{display:flex;align-items:center;gap:9px;margin-bottom:4px}.fap-live-copy b{text-transform:uppercase;letter-spacing:.06em;font-size:10px;color:#7257ff}.fap-live-copy span{font-size:11px;padding:3px 7px;border-radius:999px;background:#f3f4f8;color:#5f687d}.fap-live-copy time{margin-left:auto;font-size:11px;color:#99a0b2}.fap-live-copy strong{display:block;font-size:14px;margin:1px 0 3px;color:#14172a}.fap-live-copy p{margin:0;color:#687086;font-size:13px;line-height:1.45}.fap-live-empty{text-align:center;padding:30px;color:#8790a5}@media(max-width:760px){.fap-live-console-head{padding:18px}.fap-live-events{padding:6px 18px 14px}.fap-live-copy>div{flex-wrap:wrap}.fap-live-copy time{margin-left:0;width:100%}}

.fap-readonly-value{min-height:44px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;padding:12px 14px;font-weight:800;color:#172033;display:flex;align-items:center}.fap-field-readonly{display:flex;flex-direction:column;gap:6px}

/* 4.7 live post report */
.fap-run-report{display:grid;grid-template-columns:1fr 92px;gap:18px;align-items:center;padding:22px 24px 18px;border-bottom:1px solid #edf0f6;background:linear-gradient(135deg,#fff 0%,#fcfbff 60%,#fff7fc 100%)}
.fap-report-copy>span{display:block;font-size:10px;font-weight:800;letter-spacing:.1em;color:#7d8497;margin-bottom:6px}.fap-report-copy h3{margin:0 0 6px;font-size:22px;color:#18172d}.fap-report-copy p{margin:0;color:#687086;font-size:14px;line-height:1.5}.fap-report-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.fap-report-meta span{font-size:10px;padding:5px 8px;border-radius:999px;background:#f3f1ff;color:#5d45d8;font-weight:700}.fap-report-ring{--p:0;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#7057ff calc(var(--p)*1%),#edf0f7 0);position:relative}.fap-report-ring:after{content:"";position:absolute;inset:8px;background:#fff;border-radius:50%}.fap-report-ring b{position:relative;z-index:1;font-size:15px}.fap-report-bar{grid-column:1/-1;height:7px;border-radius:999px;background:#e9edf5;overflow:hidden}.fap-report-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#27a9ff,#7057ff,#e84fb5);transition:width .35s ease}.fap-run-report.is-completed .fap-report-ring{background:conic-gradient(#21bd70 calc(var(--p)*1%),#e8f5ee 0)}.fap-run-report.is-failed .fap-report-ring{background:conic-gradient(#e5484d calc(var(--p)*1%),#fae9ea 0)}.fap-live-dot.is-failed{background:#fff0f0;color:#b42318}.fap-live-dot.is-completed{background:#ecfdf3;color:#027a48}.fap-live-copy em{display:inline-block;margin-top:7px;font-style:normal;font-size:10px;font-weight:700;padding:5px 8px;border-radius:8px;background:#ecfdf3;color:#027a48}.fap-live-event.status-published{background:linear-gradient(90deg,rgba(236,253,243,.7),transparent);border-radius:10px;padding-left:10px;padding-right:10px}@media(max-width:760px){.fap-run-report{grid-template-columns:1fr 70px;padding:18px}.fap-report-ring{width:64px;height:64px}.fap-report-copy h3{font-size:19px}.fap-report-copy p{font-size:12px}}

/* ElevenLabs-style dashboard shell */
.fap-app{background:#fff!important;color:#0a0a0a!important;font-size:14px!important}
.fap-sidebar{width:255px!important;background:#fafafa!important;border-right:1px solid #e5e5e5!important;box-shadow:none!important;padding:18px 11px 10px!important;color:#666!important;transition:width .24s cubic-bezier(.4,0,.2,1),padding .24s cubic-bezier(.4,0,.2,1),transform .24s cubic-bezier(.4,0,.2,1)!important;will-change:width,padding}
.fap-main{margin-left:255px!important;width:calc(100% - 255px)!important;background:#fff!important;transition:margin-left .24s cubic-bezier(.4,0,.2,1),width .24s cubic-bezier(.4,0,.2,1)!important;will-change:margin-left,width}
.fap-sidebar .fap-brand{height:46px!important;padding:0 8px 14px!important;margin:0 0 4px!important;border:0!important}
.fap-sidebar .fap-brand img{width:206px!important;filter:grayscale(1) contrast(1.25)!important}
.fap-brand-collapsed-mark{display:none!important}
.fap-nav{gap:1px!important;padding:0!important}
.fap-nav-label{padding:18px 7px 7px!important;color:#757575!important;font-size:14px!important;line-height:1!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important}
.fap-sidebar .fap-nav-item{min-height:36px!important;padding:7px 9px!important;border-radius:9px!important;color:#6f6f6f!important;gap:10px!important;background:transparent!important;box-shadow:none!important}
.fap-sidebar .fap-nav-item:before{display:none!important}
.fap-sidebar .fap-nav-item>span{width:18px!important;height:18px!important;background:transparent!important;color:#777!important;border-radius:0!important;display:grid!important;place-items:center!important}
.fap-sidebar .fap-nav-item svg{width:17px!important;height:17px!important}
.fap-sidebar .fap-nav-item strong{font-size:14px!important;font-weight:500!important;color:inherit!important}
.fap-sidebar .fap-nav-item em{margin-left:auto;background:#ededed!important;color:#777!important;border-radius:999px!important;font-size:10px!important;padding:2px 6px!important}
.fap-sidebar .fap-nav-item:hover{background:#f0f0f0!important;color:#171717!important}
.fap-sidebar .fap-nav-item:hover>span{color:#171717!important}
.fap-sidebar .fap-nav-item.is-active{background:#ececec!important;color:#111!important;box-shadow:none!important}
.fap-sidebar .fap-nav-item.is-active>span{color:#111!important}
.fap-sidebar button.fap-nav-item{border:0!important;width:100%!important;font:inherit!important;text-align:left!important;cursor:pointer!important}
.fap-nav-parent{font-weight:600!important}
.fap-nav-parent>svg{width:14px!important;height:14px!important;margin-left:auto!important;color:#888!important;transition:transform .18s ease!important}.fap-nav-parent.is-open>svg{transform:rotate(90deg)}
.fap-nav-subgroup{display:none!important;gap:1px!important;margin:2px 0 6px 18px!important;padding-left:12px!important;border-left:1px solid #e2e2e2!important}
.fap-nav-subgroup.is-open{display:grid!important}
.fap-sidebar .fap-nav-subitem{min-height:32px!important;padding:6px 8px!important;border-radius:8px!important}
.fap-sidebar .fap-nav-subitem>span{width:16px!important;height:16px!important}
.fap-sidebar .fap-nav-subitem svg{width:15px!important;height:15px!important}
.fap-sidebar .fap-nav-subitem strong{font-size:13px!important}
.fap-nav-item.is-muted{color:#888!important}.fap-nav-item.is-muted em{background:#f1f1f1!important;color:#777!important}
.fap-sidebar-foot{border-top:0!important;margin-top:auto!important;padding-top:14px!important}
.fap-plan-mini{min-height:114px!important;align-items:flex-start!important;background:#fff!important;border:1px solid #e5e5e5!important;border-radius:14px!important;padding:13px!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important}
.fap-plan-icon{width:34px!important;height:34px!important;border-radius:50%!important;background:#f0f0f0!important;color:#555!important}
.fap-plan-mini strong{color:#111!important;font-size:14px!important;font-weight:600!important}.fap-plan-mini small{white-space:normal!important;color:#777!important;font-size:12px!important;line-height:1.25!important;margin-top:3px}
.fap-user-mini{min-height:42px!important;padding:7px 8px!important;border-radius:9px!important;color:#666!important}.fap-user-mini:hover{background:#eee!important}.fap-user-mini strong{font-size:13px!important;color:#333!important}.fap-user-mini small{font-size:11px!important;color:#777!important}
.fap-sidebar .fap-brand img,.fap-sidebar .fap-nav-item strong,.fap-sidebar .fap-nav-item em,.fap-sidebar .fap-nav-label,.fap-plan-mini div,.fap-user-mini span,.fap-user-mini>svg{transition:opacity .16s ease,transform .24s cubic-bezier(.4,0,.2,1),max-width .24s cubic-bezier(.4,0,.2,1)!important}
.fap-sidebar .fap-nav-item strong{max-width:170px;white-space:nowrap;overflow:hidden}.fap-sidebar .fap-nav-item em{max-width:52px}.fap-plan-mini div,.fap-user-mini span{max-width:170px;overflow:hidden}
.fap-topbar{height:60px!important;padding:0 20px!important;background:#fff!important;border-bottom:1px solid #e5e5e5!important;box-shadow:none!important;backdrop-filter:none!important;gap:16px!important}
.fap-top-title{min-width:160px!important;gap:12px!important}.fap-top-title span{display:none!important}.fap-top-title strong{font-size:15px!important;font-weight:500!important;color:#151515!important}
.fap-top-title:before{display:none!important}
.fap-sidebar-toggle{appearance:none!important;-webkit-appearance:none!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:8px!important;display:grid!important;place-items:center!important;color:#666!important;cursor:pointer!important;margin-left:-3px!important;box-shadow:none!important}.fap-sidebar-toggle:hover{background:#eee!important;color:#111!important}.fap-sidebar-toggle svg{width:28px!important;height:28px!important;fill:none!important;stroke:currentColor!important}
.fap-smart-command{position:absolute;left:50%;transform:translateX(-50%);width:min(520px,36vw)!important;height:34px!important;border:1px solid #dedede!important;border-radius:11px!important;background:#fff!important;box-shadow:none!important;color:#777!important;padding:0 8px!important}
.fap-smart-command span{background:transparent!important;color:#777!important;width:18px!important;height:18px!important}.fap-smart-command svg{width:16px!important;height:16px!important}.fap-smart-command input{font-size:14px!important;color:#111!important}.fap-smart-command kbd{height:22px!important;min-width:44px!important;border-radius:8px!important;background:#fafafa!important;border-color:#e1e1e1!important;color:#777!important}.fap-smart-command kbd:before{content:"ctrl ";font-size:10px;color:#999}
.fap-top-actions{gap:8px!important;margin-left:auto!important}
.fap-mobile-brand{display:none!important}
.fap-smart-command{display:none!important}
.fap-top-chip,.fap-plan-pill,.fap-icon-button{height:34px!important;border:1px solid rgb(229,229,229)!important;background:rgb(255,255,255)!important;border-radius:10px!important;color:rgb(15,15,16)!important;text-decoration:none!important;box-shadow:none!important;font-family:Inter,system-ui,sans-serif!important;font-size:13px!important;font-weight:500!important;line-height:20px!important}
.fap-top-chip{display:inline-flex;align-items:center;gap:6px;padding:0 11px}.fap-top-chip svg{width:15px!important;height:15px!important}
.fap-top-chip.is-active{border-color:#c7d2fe!important;background:#eef2ff!important;color:#4338ca!important}
.fap-plan-pill{padding:0 10px!important;gap:7px!important}.fap-plan-pill span{font-size:13px!important;color:rgb(15,15,16)!important;font-weight:500!important;letter-spacing:0!important}.fap-plan-pill strong{font-size:13px!important;color:rgb(15,15,16)!important;font-weight:500!important}
.fap-icon-button{width:34px!important;padding:0!important}.fap-icon-button svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important}.fap-notify-button i{position:absolute;right:8px;top:8px;width:7px;height:7px;border-radius:50%;background:#22c55e;border:2px solid #fff}
.fap-notify-wrap{position:relative;display:flex;align-items:center}
.fap-notify-panel{position:absolute;top:calc(100% + 10px);right:0;z-index:80;width:min(360px,calc(100vw - 24px));background:#fff;border:1px solid #e5e5e5;border-radius:14px;box-shadow:0 18px 42px rgba(15,23,42,.14);padding:13px}
.fap-notify-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding-bottom:11px;border-bottom:1px solid #eceff3}
.fap-notify-head strong{display:block;font-size:13px;color:#111;font-weight:700;letter-spacing:-.01em}
.fap-notify-head span{display:block;margin-top:3px;font-size:10px;color:#6f6f6f}
.fap-notify-head-dot,.fap-notify-item-dot{width:9px;height:9px;border-radius:50%;background:#635bff;box-shadow:0 0 0 4px rgba(99,91,255,.08);flex:0 0 auto}
.fap-notify-list{display:grid;gap:12px;padding-top:12px}
.fap-notify-item{display:grid;grid-template-columns:9px 1fr;gap:10px;align-items:flex-start}
.fap-notify-item strong{display:block;font-size:12px;line-height:1.35;color:#111;font-weight:600}
.fap-notify-item span{display:block;margin-top:3px;font-size:11px;line-height:1.45;color:#6f6f6f}
.fap-top-profile{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid rgb(229,229,229)!important;border-radius:50%!important;background:rgb(255,255,255)!important;color:rgb(15,15,16)!important;text-decoration:none!important;overflow:hidden!important;font-family:Inter,system-ui,sans-serif!important}
.fap-top-profile span:not(.fap-top-profile-avatar){display:none!important}
.fap-top-profile-avatar{width:30px!important;height:30px!important;border-radius:50%!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:#f1f1f1!important;color:#111!important;font-size:13px!important;font-weight:700!important;line-height:30px!important;text-align:center!important}
.fap-top-profile img.fap-top-profile-avatar{display:block!important}
.fap-content{max-width:none!important;width:100%!important;margin:0!important;background:#fff!important;padding:65px 80px 72px!important}
@media(max-width:1180px){.fap-smart-command{position:static;transform:none;width:320px!important;margin:0!important}.fap-top-chip{display:none!important}}
@media(max-width:900px){.fap-main{margin-left:0!important;width:100%!important}.fap-topbar{height:60px!important}.fap-smart-command{display:none!important}.fap-sidebar{width:min(255px,86vw)!important}.fap-content{padding-top:24px!important}}
@media(max-width:640px){.fap-sidebar-toggle{display:none!important}.fap-top-actions>a:not(.fap-mobile-brand){display:none!important}.fap-mobile-brand{display:flex!important;align-items:center!important;justify-content:flex-end!important;text-decoration:none!important}.fap-mobile-brand img{width:116px!important;height:auto!important;display:block!important}.fap-top-title{min-width:0!important;flex:1!important}.fap-top-actions{margin-left:auto!important}.fap-topbar{gap:10px!important}}

.fap-app.is-sidebar-collapsed .fap-sidebar{width:56px!important;padding:18px 7px 10px!important;align-items:center!important}
.fap-app.is-sidebar-collapsed .fap-main{margin-left:56px!important;width:calc(100% - 56px)!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-brand{width:42px!important;height:44px!important;padding:0!important;margin-bottom:12px!important;overflow:hidden!important;justify-content:center!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-brand img{opacity:0!important;max-width:0!important;transform:translateX(-8px)!important;pointer-events:none!important}
.fap-app.is-sidebar-collapsed .fap-brand-collapsed-mark{display:grid!important;width:32px!important;height:32px!important;border-radius:9px!important;background:#4b4b4b!important;color:#fff!important;place-items:center!important}
.fap-app.is-sidebar-collapsed .fap-brand-collapsed-mark svg{width:20px!important;height:20px!important}
.fap-app.is-sidebar-collapsed .fap-nav{align-items:center!important;width:100%!important}
.fap-app.is-sidebar-collapsed .fap-nav-parent>svg{display:none!important}
.fap-app.is-sidebar-collapsed .fap-nav-subgroup{margin:2px 0 6px!important;padding-left:0!important;border-left:0!important;place-items:center!important;width:100%!important}
.fap-app.is-sidebar-collapsed .fap-nav-label{height:18px!important;width:100%!important;padding:9px 0!important;font-size:0!important}
.fap-app.is-sidebar-collapsed .fap-nav-label:after{display:none!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item{width:42px!important;height:38px!important;min-height:38px!important;padding:0!important;justify-content:center!important;gap:0!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item>span{width:24px!important;height:24px!important;color:#777!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item svg{width:21px!important;height:21px!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item.is-active{background:#eee!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item.is-active>span{color:#111!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item strong,.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item em,.fap-app.is-sidebar-collapsed .fap-sidebar-foot .fap-plan-mini div,.fap-app.is-sidebar-collapsed .fap-user-mini span,.fap-app.is-sidebar-collapsed .fap-user-mini>svg{opacity:0!important;max-width:0!important;transform:translateX(-6px)!important;overflow:hidden!important;pointer-events:none!important}
.fap-app.is-sidebar-collapsed .fap-sidebar-foot{width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important}
.fap-app.is-sidebar-collapsed .fap-plan-mini{width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;justify-content:center!important;border-radius:11px!important}
.fap-app.is-sidebar-collapsed .fap-plan-icon{width:30px!important;height:30px!important}
.fap-app.is-sidebar-collapsed .fap-user-mini{width:42px!important;height:42px!important;padding:0!important;justify-content:center!important}
.fap-app.is-sidebar-collapsed .fap-sidebar-toggle svg{transform:scaleX(-1)}
@media(max-width:900px){.fap-app.is-sidebar-collapsed .fap-main{margin-left:0!important;width:100%!important}.fap-app.is-sidebar-collapsed .fap-sidebar{width:min(255px,86vw)!important;align-items:stretch!important}.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item strong{display:block!important}}

/* collapsed sidebar polish */
.fap-app.is-sidebar-collapsed .fap-sidebar{width:56px!important;padding:14px 8px 12px!important;align-items:center!important;overflow:hidden!important}
.fap-app.is-sidebar-collapsed .fap-main{margin-left:56px!important;width:calc(100% - 56px)!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-brand{width:40px!important;height:42px!important;margin:0 0 16px!important;padding:0!important;border:0!important;display:grid!important;place-items:center!important}
.fap-app.is-sidebar-collapsed .fap-brand-collapsed-mark{display:grid!important;width:34px!important;height:34px!important;border-radius:9px!important;background:#4b4b4b!important;color:#fff!important;place-items:center!important}
.fap-app.is-sidebar-collapsed .fap-brand-collapsed-mark svg{width:20px!important;height:20px!important}
.fap-app.is-sidebar-collapsed .fap-nav{width:100%!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;padding:0!important;overflow:visible!important}
.fap-app.is-sidebar-collapsed .fap-nav-label,.fap-app.is-sidebar-collapsed .fap-nav-subgroup{display:none!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item{width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border-radius:8px!important;display:grid!important;place-items:center!important;gap:0!important;box-shadow:none!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item>span{width:20px!important;height:20px!important;margin:0!important;display:grid!important;place-items:center!important;color:#777!important;opacity:1!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item svg{width:18px!important;height:18px!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item strong,.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item em,.fap-app.is-sidebar-collapsed .fap-nav-parent>svg{display:none!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item.is-active{background:#f1f1f1!important;color:#0f0f10!important}
.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item.is-active>span{color:#0f0f10!important}
.fap-app.is-sidebar-collapsed .fap-sidebar-foot{width:100%!important;margin-top:auto!important;padding:0!important;border:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important}
.fap-app.is-sidebar-collapsed .fap-plan-mini,.fap-app.is-sidebar-collapsed .fap-user-mini{width:38px!important;height:38px!important;min-height:38px!important;margin:0!important;padding:0!important;border-radius:10px!important;display:grid!important;place-items:center!important}
.fap-app.is-sidebar-collapsed .fap-plan-icon{width:30px!important;height:30px!important;margin:0!important}
.fap-app.is-sidebar-collapsed .fap-sidebar-foot .fap-plan-mini div,.fap-app.is-sidebar-collapsed .fap-user-mini span,.fap-app.is-sidebar-collapsed .fap-user-mini>svg{display:none!important}
@media(max-width:900px){.fap-app.is-sidebar-collapsed .fap-main{margin-left:0!important;width:100%!important}.fap-app.is-sidebar-collapsed .fap-sidebar{width:min(255px,86vw)!important;align-items:stretch!important;overflow:auto!important}.fap-app.is-sidebar-collapsed .fap-sidebar .fap-nav-item strong{display:block!important}}

.fap-sidebar .fap-brand img{filter:none!important;opacity:1!important}

/* AI Post Automation setup */
.fap-ai-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.85fr);gap:20px;align-items:start}
.fap-field textarea{width:100%;min-height:96px;border:1px solid #dfe4ea;border-radius:9px;background:#fff;padding:10px 11px;color:#344054;font:inherit;font-size:12px;font-weight:400;line-height:1.45;outline:none;resize:vertical}
.fap-field textarea:focus{border-color:#928cff;box-shadow:0 0 0 3px rgba(99,91,255,.09)}
.fap-ai-days{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.fap-ai-days>span{font-size:11px;font-weight:700;color:#344054;margin-right:4px}
.fap-ai-days label,.fap-ai-pillars label,.fap-ai-toggle-row label{display:inline-flex;align-items:center;gap:7px;cursor:pointer}
.fap-ai-days input,.fap-ai-pillars input,.fap-ai-toggle-row input{position:absolute;opacity:0;pointer-events:none}
.fap-ai-days label span,.fap-ai-pillars label span,.fap-ai-toggle-row label span{display:inline-flex;align-items:center;min-height:31px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:6px 10px;font-size:11px;font-weight:700;color:#667085;transition:.15s ease}
.fap-ai-days input:checked+span,.fap-ai-pillars input:checked+span,.fap-ai-toggle-row input:checked+span{border-color:#b9b4ff;background:#f4f3ff;color:#4f46e5;box-shadow:0 0 0 2px rgba(99,91,255,.06)}
.fap-ai-pillars{display:flex;flex-wrap:wrap;gap:8px}
.fap-ai-note{grid-column:span 2;border:1px solid #eceff3;background:#f8fafc;border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:3px}
.fap-ai-note strong{font-size:12px;color:#172033}.fap-ai-note span{font-size:11px;color:#667085;line-height:1.45}
.fap-ai-toggle-row{margin-top:12px}
.fap-ai-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:-8px 0 18px}.fap-ai-tabs a{min-height:36px;display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:999px;background:#fff;padding:8px 18px;color:#667085!important;text-decoration:none!important;font-size:15px;font-weight:500}.fap-ai-tabs a.is-active{border-color:#b9b4ff;background:#f4f3ff;color:#4f46e5!important;box-shadow:0 0 0 2px rgba(99,91,255,.06)}
.fap-chip.reject{background:#fef3f2;color:#b42318}
.fap-panel-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.fap-panel-actions form{margin:0}
.fap-inline-form{display:inline;margin:0}.fap-inline-form button{border:0;cursor:pointer;font:inherit}
.fap-ai-thumb{width:58px;height:58px;border-radius:10px;object-fit:cover;border:1px solid #e5e7eb;background:#f8fafc;display:block}
@media(max-width:1100px){.fap-ai-layout{grid-template-columns:1fr}.fap-ai-note{grid-column:auto}}

body.fap-ai-planner-open{overflow:hidden!important}
.fap-ai-planner-open{background:linear-gradient(135deg,#635bff,#554ddf)!important;color:#fff!important;border:0!important;box-shadow:0 7px 18px rgba(99,91,255,.22)!important}
.fap-ai-planner-open:hover{color:#fff!important;transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(99,91,255,.28)!important}
.fap-ai-planner-open svg{color:#fff!important;fill:currentColor!important}
.fap-primary-btn[data-fap-ai-run-now] [data-fap-ai-run-icon]{display:inline-flex;align-items:center;justify-content:center}.fap-primary-btn[data-fap-ai-run-now].is-writing [data-fap-ai-run-icon]{animation:fap-writing-pen .72s ease-in-out infinite;transform-origin:70% 70%}.fap-primary-btn[data-fap-ai-run-now].is-writing{cursor:wait;box-shadow:0 10px 26px rgba(99,91,255,.28)}.fap-primary-btn[data-fap-ai-run-now].is-complete{background:linear-gradient(135deg,#12b76a,#079455)!important;box-shadow:0 10px 24px rgba(18,183,106,.22)!important}.fap-primary-btn[data-fap-ai-run-now].is-limit{background:linear-gradient(135deg,#7c3aed,#4f46e5)!important;box-shadow:0 10px 24px rgba(99,91,255,.25)!important}.fap-primary-btn[data-fap-ai-run-now].is-failed{background:linear-gradient(135deg,#f04438,#d92d20)!important;box-shadow:0 10px 24px rgba(240,68,56,.22)!important}.fap-ai-run-modal{position:fixed;z-index:100000;inset:0;display:grid;place-items:center;padding:20px}.fap-ai-run-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(5px)}.fap-ai-run-dialog{position:relative;width:min(440px,100%);background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;box-shadow:0 24px 80px rgba(15,23,42,.22)}.fap-ai-run-dialog h2{margin:5px 0 8px;font-size:21px;letter-spacing:-.03em}.fap-ai-run-dialog p{margin:0;color:#667085;font-size:13px;line-height:1.55}.fap-ai-run-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#475467;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}.fap-ai-run-close:hover{background:#dc2626;border-color:#dc2626;color:#fff;box-shadow:0 8px 18px rgba(220,38,38,.2);transform:translateY(-1px)}.fap-ai-run-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}@keyframes fap-writing-pen{0%,100%{transform:translate(0,0) rotate(-8deg)}45%{transform:translate(2px,-1px) rotate(8deg)}70%{transform:translate(-1px,1px) rotate(-3deg)}}
.fap-panel-actions form.is-ai-running{position:relative;cursor:wait}.fap-panel-actions form.is-ai-running:before,.fap-panel-actions form.is-ai-running:after{position:absolute;left:50%;opacity:0;pointer-events:none;transform:translate(-50%,6px);transition:opacity .16s ease,transform .16s ease;z-index:20}.fap-panel-actions form.is-ai-running:before{content:"";bottom:calc(100% + 4px);border:6px solid transparent;border-top-color:#172033}.fap-panel-actions form.is-ai-running:after{content:attr(data-fap-run-tooltip);bottom:calc(100% + 16px);width:max-content;max-width:245px;background:#172033;color:#fff;border-radius:9px;padding:8px 10px;font-size:11px;font-weight:750;line-height:1.35;box-shadow:0 12px 26px rgba(15,23,42,.18);text-align:center}.fap-panel-actions form.is-ai-running:hover:before,.fap-panel-actions form.is-ai-running:hover:after,.fap-panel-actions form.is-ai-running:focus-within:before,.fap-panel-actions form.is-ai-running:focus-within:after{opacity:1;transform:translate(-50%,0)}.fap-panel-actions form.is-ai-running [data-fap-ai-run-now]{pointer-events:none}
.fap-primary-btn[data-fap-ai-run-now].is-writing{background:linear-gradient(135deg,#635bff,#554ddf)!important;color:#fff!important;opacity:1!important;cursor:wait;box-shadow:0 12px 28px rgba(99,91,255,.32)!important;filter:none!important}.fap-primary-btn[data-fap-ai-run-now].is-writing [data-fap-ai-run-icon]{animation:none!important;transform:none!important;width:18px;height:18px}.fap-writing-pen-wrap{position:relative;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;overflow:visible}.fap-writing-pen-svg{position:relative;z-index:2;width:18px!important;height:18px!important;animation:fap-writing-pen 1.15s cubic-bezier(.5,0,.2,1) infinite;transform-origin:78% 72%;filter:drop-shadow(0 1px 1px rgba(0,0,0,.16))}.fap-writing-pen-svg .fap-pen-body{fill:#fff}.fap-writing-pen-svg .fap-pen-cap{fill:#dbeafe}.fap-writing-pen-svg .fap-pen-line{fill:none;stroke:#635bff;stroke-width:1.4;stroke-linecap:round}.fap-writing-stroke{position:absolute;left:2px;right:1px;bottom:-2px;height:2px;border-radius:99px;background:#fff;opacity:.95;transform-origin:left center;animation:fap-writing-stroke 1.15s cubic-bezier(.5,0,.2,1) infinite;box-shadow:0 0 0 1px rgba(255,255,255,.18)}@keyframes fap-writing-pen{0%{transform:translate(-2px,-2px) rotate(-28deg)}18%{transform:translate(-1px,2px) rotate(-17deg)}34%{transform:translate(4px,3px) rotate(-12deg)}52%{transform:translate(4px,-2px) rotate(28deg)}72%{transform:translate(-2px,-3px) rotate(348deg)}88%{transform:translate(-1px,2px) rotate(-17deg)}100%{transform:translate(4px,3px) rotate(-12deg)}}@keyframes fap-writing-stroke{0%,14%{transform:scaleX(0);opacity:.45}38%{transform:scaleX(1);opacity:1}50%,68%{transform:scaleX(1);opacity:.75}80%,100%{transform:scaleX(0);opacity:.4}}
.fap-panel-actions form.is-ai-running:focus-within:before,.fap-panel-actions form.is-ai-running:focus-within:after{opacity:0;transform:translate(-50%,6px)}.fap-panel-actions form.is-ai-running:hover:before,.fap-panel-actions form.is-ai-running:hover:after{opacity:1;transform:translate(-50%,0)}.fap-primary-btn[data-fap-ai-run-now].is-writing{position:relative;overflow:hidden}.fap-primary-btn[data-fap-ai-run-now].is-writing [data-fap-ai-run-icon]{width:22px!important;height:22px!important;overflow:visible!important}.fap-primary-btn[data-fap-ai-run-now].is-writing:after{content:"";position:absolute;left:10px;right:10px;bottom:5px;height:2px;border-radius:99px;background:linear-gradient(90deg,transparent,#fff,transparent);transform:translateX(-115%);animation:fap-writing-button-line 1.65s cubic-bezier(.58,0,.2,1) infinite;opacity:.86}.fap-writing-orbit-icon{position:relative;width:22px;height:22px;display:inline-grid;place-items:center;flex:0 0 22px}.fap-writing-orbit-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 20deg,transparent 0 42deg,#fff 96deg,#c7d2fe 154deg,transparent 230deg 360deg);animation:fap-writing-orbit-ring 1.35s cubic-bezier(.58,0,.2,1) infinite}.fap-writing-orbit-ring:after{content:"";position:absolute;inset:2px;border-radius:50%;background:linear-gradient(135deg,#635bff,#554ddf)}.fap-writing-nib{position:relative;z-index:2;width:11px;height:5px;border-radius:999px;background:#fff;box-shadow:inset -2px 0 0 #dbeafe;transform:rotate(-18deg);animation:fap-writing-nib 1.35s cubic-bezier(.58,0,.2,1) infinite}.fap-writing-nib:after{content:"";position:absolute;right:-3px;top:1px;border-left:4px solid #fff;border-top:2px solid transparent;border-bottom:2px solid transparent}.fap-writing-track{position:absolute;z-index:1;left:5px;right:5px;bottom:3px;height:2px;border-radius:99px;background:#fff;transform-origin:left center;animation:fap-writing-track 1.35s cubic-bezier(.58,0,.2,1) infinite}@keyframes fap-writing-orbit-ring{0%{transform:rotate(0deg);opacity:.65}38%{transform:rotate(235deg);opacity:1}58%{transform:rotate(310deg);opacity:.85}100%{transform:rotate(720deg);opacity:.65}}@keyframes fap-writing-nib{0%,100%{transform:translate(-2px,-2px) rotate(-20deg)}18%{transform:translate(-1px,2px) rotate(-12deg)}38%{transform:translate(3px,2px) rotate(-9deg)}58%{transform:translate(2px,-2px) rotate(30deg)}76%{transform:translate(-2px,-3px) rotate(340deg)}}@keyframes fap-writing-track{0%,15%{transform:scaleX(0);opacity:.35}38%{transform:scaleX(1);opacity:1}58%,100%{transform:scaleX(0);opacity:.35}}@keyframes fap-writing-button-line{0%{transform:translateX(-115%)}44%{transform:translateX(0)}78%,100%{transform:translateX(115%)}}
.fap-ai-planner-modal[hidden]{display:none!important}
.fap-ai-planner-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important;background:rgba(15,23,42,.52)!important;backdrop-filter:blur(5px)!important}
.fap-ai-planner-backdrop{position:absolute!important;inset:0!important}
.fap-ai-planner-dialog{position:relative!important;width:min(760px,100%)!important;max-height:calc(100vh - 44px)!important;overflow:auto!important;background:#fff!important;border:1px solid #dde3ec!important;border-radius:12px!important;box-shadow:0 28px 90px rgba(15,23,42,.26)!important}
.fap-ai-planner-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:22px 24px!important;border-bottom:1px solid #edf1f6!important}
.fap-ai-planner-head h2{margin:4px 0 0!important;font-size:24px!important;line-height:1.15!important;color:#111827!important}
.fap-ai-planner-close{width:38px!important;height:38px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#334155!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important}
.fap-ai-planner-close:before{content:"\00d7"!important;font-size:24px!important;line-height:1!important;font-weight:700!important}
.fap-ai-planner-form{padding:22px 24px 24px!important}
.fap-ai-planner-form textarea{min-height:124px!important;resize:vertical!important}
.fap-ai-planner-progress{display:grid!important;grid-template-columns:58px 1fr!important;gap:14px!important;align-items:center!important;margin-top:16px!important;padding:15px!important;border:1px solid #ddd6fe!important;border-radius:10px!important;background:#fbfaff!important;color:#312e81!important}
.fap-ai-planner-progress[hidden]{display:none!important}
.fap-ai-writing-orbit{width:48px!important;height:48px!important;border-radius:50%!important;position:relative!important;background:conic-gradient(#635bff,#8b5cf6,#06b6d4,#635bff)!important;animation:fapPlannerSpin 1.35s linear infinite!important}
.fap-ai-writing-orbit:after{content:""!important;position:absolute!important;inset:8px!important;background:#fff!important;border-radius:50%!important}
.fap-ai-writing-orbit i{position:absolute!important;width:7px!important;height:7px!important;border-radius:50%!important;background:#fff!important;z-index:2!important;box-shadow:0 0 0 3px rgba(99,91,255,.14)!important}
.fap-ai-writing-orbit i:nth-child(1){top:3px!important;left:21px!important}.fap-ai-writing-orbit i:nth-child(2){right:5px!important;bottom:11px!important}.fap-ai-writing-orbit i:nth-child(3){left:7px!important;bottom:11px!important}
.fap-ai-planner-progress strong{display:block!important;font-size:15px!important;color:#171247!important}.fap-ai-planner-progress span{display:block!important;margin-top:3px!important;font-size:12px!important;color:#6b5dc7!important}
.fap-ai-planner-error{margin-top:14px!important;border:1px solid #fecaca!important;background:#fff5f5!important;color:#b42318!important;border-radius:10px!important;padding:11px 12px!important;font-size:13px!important;font-weight:650!important}
.fap-ai-planner-error[hidden]{display:none!important}
.fap-ai-planner-error strong{display:block!important;margin-bottom:9px!important;color:#b42318!important}
.fap-ai-support-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;border-radius:9px!important;background:#16a34a!important;color:#fff!important;text-decoration:none!important;padding:8px 12px!important;font-size:12px!important;font-weight:800!important}
.fap-ai-planner-actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-top:16px!important;padding-top:16px!important;border-top:1px solid #edf1f6!important}
.fap-ai-planner-form.is-generating .fap-primary-btn{opacity:.72!important;cursor:wait!important;transform:none!important}
.fap-ai-planner-form.is-added .fap-ai-planner-progress{border-color:#abefc6!important;background:#ecfdf3!important;color:#027a48!important}.fap-ai-planner-form.is-added .fap-ai-planner-progress strong{color:#027a48!important}.fap-ai-planner-form.is-added .fap-ai-planner-progress span{color:#039855!important}
@keyframes fapPlannerSpin{to{transform:rotate(360deg)}}
@media(max-width:640px){.fap-ai-planner-modal{padding:0!important;align-items:stretch!important}.fap-ai-planner-dialog{max-height:none!important;min-height:100vh!important;border-radius:0!important;border:0!important}.fap-ai-planner-head,.fap-ai-planner-form{padding-left:18px!important;padding-right:18px!important}.fap-ai-planner-actions{align-items:stretch!important;flex-direction:column!important}.fap-ai-planner-actions .fap-primary-btn{width:100%!important}}

/* Keep the planner anchored to the viewport and scroll its content on small screens. */
.fap-ai-planner-modal{
  align-items:flex-start!important;
  overflow-y:auto!important;
  padding:clamp(14px,4vh,40px) 18px!important;
}
.fap-ai-planner-dialog{
  width:min(760px,100%)!important;
  max-height:calc(100dvh - 28px)!important;
  min-width:0!important;
  margin:0 auto!important;
}
.fap-ai-planner-head,.fap-ai-planner-form{min-width:0!important}
@media(max-width:640px){
  .fap-ai-planner-modal{
    align-items:flex-start!important;
    padding:10px 0!important;
  }
  .fap-ai-planner-dialog{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:calc(100dvh - 20px)!important;
    margin:0!important;
    border-radius:0 0 12px 12px!important;
  }
  .fap-ai-planner-head{
    position:sticky!important;
    top:0!important;
    z-index:3!important;
    background:#fff!important;
  }
  .fap-ai-planner-form .fap-form-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
  }
  .fap-ai-planner-head,.fap-ai-planner-form{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .fap-ai-planner-form{
    padding-bottom:calc(22px + env(safe-area-inset-bottom))!important;
  }
}
@supports not (height:100dvh){
  .fap-ai-planner-dialog{max-height:calc(100vh - 28px)!important}
  @media(max-width:640px){.fap-ai-planner-dialog{max-height:calc(100vh - 20px)!important}}
}

.fap-time-control{
  grid-column:1/-1!important;
  min-width:0!important;
  position:relative!important;
}
.fap-time-control>input[data-fap-time-display]{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  border:1px solid #dfe4ea!important;
  border-radius:9px!important;
  background:#fff!important;
  padding:0 12px!important;
  color:#344054!important;
  font:inherit!important;
  font-size:14px!important;
  font-weight:400!important;
  line-height:44px!important;
  outline:none!important;
}
.fap-time-control>input[data-fap-time-display]:focus{
  border-color:#928cff!important;
  box-shadow:0 0 0 3px rgba(99,91,255,.09)!important;
}
.fap-time-control>input[data-fap-time-display]::placeholder{color:#98a2b3!important;opacity:1!important}
@media(max-width:1100px){
  .fap-ai-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .fap-ai-limit-field .fap-limit-lock{min-width:0!important}
}
@media(max-width:760px){
  .fap-ai-master-grid{grid-template-columns:minmax(0,1fr)!important}
  .fap-ai-limit-field .fap-limit-lock{min-width:0!important}
}

/* sidebar footer cleanup */
.fap-sidebar{overflow:hidden!important}
.fap-nav{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
.fap-sidebar-foot{margin-top:auto!important;width:100%!important;border-top:0!important;padding:10px 0 0!important;display:grid!important;gap:10px!important;flex:0 0 auto!important}
.fap-plan-mini{width:100%!important;min-height:78px!important;margin:0!important;padding:14px 12px!important;border-radius:12px!important;background:#fff!important;border:1px solid #e5e5e5!important;box-shadow:0 1px 3px rgba(15,23,42,.08)!important;display:flex!important;align-items:flex-start!important;gap:10px!important;color:#0f0f10!important;text-decoration:none!important;overflow:hidden!important}
.fap-plan-icon{width:32px!important;height:32px!important;min-width:32px!important;border-radius:50%!important;background:#f2f2f2!important;color:#555!important;display:grid!important;place-items:center!important}
.fap-plan-mini div{min-width:0!important;display:grid!important;gap:2px!important}
.fap-plan-mini strong{font-size:13px!important;font-weight:600!important;color:#0f0f10!important;line-height:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fap-plan-mini small{font-size:11px!important;font-weight:400!important;color:#667085!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fap-user-mini{width:100%!important;min-height:42px!important;margin:0!important;padding:6px 8px!important;border-radius:10px!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) 14px!important;align-items:center!important;gap:8px!important;color:#0f0f10!important;text-decoration:none!important;overflow:hidden!important}
.fap-user-mini .fap-avatar{width:32px!important;height:32px!important;min-width:32px!important}
.fap-user-mini span{min-width:0!important;display:grid!important;gap:0!important}
.fap-user-mini strong{font-size:12px!important;font-weight:600!important;color:#0f0f10!important;line-height:15px!important;white-space:normal!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
.fap-user-mini small{font-size:10px!important;color:#667085!important;line-height:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fap-user-mini>svg{width:14px!important;height:14px!important;color:#94a3b8!important}
.fap-app.is-sidebar-collapsed .fap-sidebar-foot{padding:0!important;gap:10px!important;align-items:center!important}
.fap-app.is-sidebar-collapsed .fap-plan-mini,.fap-app.is-sidebar-collapsed .fap-user-mini{width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;display:grid!important;grid-template-columns:1fr!important;place-items:center!important}
.fap-app.is-sidebar-collapsed .fap-plan-mini div,.fap-app.is-sidebar-collapsed .fap-user-mini span,.fap-app.is-sidebar-collapsed .fap-user-mini>svg{display:none!important}
.fap-field{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 12px!important}
.fap-field>span{font-size:14px!important;font-weight:500!important}
.fap-field>small{justify-self:end;text-align:right;margin:0 0 4px!important}
.fap-field>input,.fap-field>select,.fap-field>textarea{grid-column:1/-1;font-weight:400!important}

.fap-package-builder{margin-top:20px!important}.fap-package-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px}.fap-package-tab{min-height:58px;border:1px solid #e4e7ec;background:#fff;border-radius:10px;padding:10px 12px;display:flex;align-items:center;gap:10px;color:#475467;cursor:pointer;font:inherit;text-align:left;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.fap-package-tab:hover{border-color:#c7d2fe;background:#fbfcff;transform:translateY(-1px)}.fap-package-tab span{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#f2f4f7;color:#475467;flex:0 0 auto}.fap-package-tab span svg{width:17px;height:17px}.fap-package-tab strong{font-size:13px;font-weight:750;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-package-tab.is-active{border-color:#8b8cf6;background:#f7f7ff;box-shadow:0 8px 22px rgba(79,70,229,.08);color:#312e81}.fap-package-tab.is-active span{background:#4f46e5;color:#fff}.fap-package-panel[hidden]{display:none!important}.fap-package-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.fap-package-card{min-height:168px;border:1px solid #e6eaf0;background:linear-gradient(180deg,#fff,#fbfcfe);border-radius:8px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;gap:18px;box-shadow:0 5px 18px rgba(15,23,42,.035)}.fap-package-card-icon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#ecfdf3;color:#067647}.fap-package-card-icon svg{width:16px;height:16px}.fap-package-card h3{font-size:16px;line-height:1.25;margin:5px 0 6px;color:#111827;font-weight:760}.fap-package-card p{margin:0;color:#667085;font-size:12px;line-height:1.55}@media(max-width:1180px){.fap-package-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.fap-package-tabs{grid-template-columns:1fr 1fr;gap:8px}.fap-package-tab{min-height:52px;padding:9px}.fap-package-tab span{width:30px;height:30px}.fap-package-card-grid{grid-template-columns:1fr}.fap-package-card{min-height:140px;padding:14px}}

.fap-app,.fap-app *{font-family:Inter!important}.fap-price-badge{display:inline-flex;align-items:center;height:34px;border-radius:999px;padding:0 13px;background:#ecfdf3;color:#047857;border:1px solid #bbf7d0;font-size:12px;font-weight:800}.fap-news-plan-hero{margin-bottom:16px;border:1px solid #dbeafe;background:linear-gradient(135deg,#ffffff,#f8fbff);border-radius:10px;padding:18px;display:flex;align-items:flex-end;justify-content:space-between;gap:18px}.fap-news-plan-hero h2{margin:4px 0 6px;font-size:22px;line-height:1.18}.fap-news-plan-hero p{margin:0;color:#64748b;font-size:13px}.fap-news-plan-hero strong{font-size:28px;line-height:1;color:#111827;white-space:nowrap}.fap-news-plan-hero strong span{font-size:12px;color:#64748b}.fap-package-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.fap-package-card-top>span{display:inline-flex;align-items:center;height:26px;border-radius:999px;background:#eef2ff;color:#4338ca;padding:0 9px;font-size:11px;font-weight:800}.fap-news-package-card{min-height:210px;background:linear-gradient(180deg,#fff,#f9fbff)}.fap-news-package-card h3{font-size:18px}.fap-news-package-card p{font-size:13px;color:#475569}@media(max-width:640px){.fap-news-plan-hero{display:block}.fap-news-plan-hero strong{display:block;margin-top:14px}.fap-price-badge{margin-top:12px}}

html body.afp-saas-dashboard-page,html body.afp-saas-dashboard-page *:not(svg):not(path){font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}.fap-app h1,.fap-app h2,.fap-app h3,.fap-app h4,.fap-app strong,.fap-app a,.fap-app button,.fap-app p,.fap-app span,.fap-app small,.fap-app div{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}

.fap-billing-toggle{width:max-content;margin:0 auto 24px;display:flex;align-items:center;gap:13px;border:1px solid #dbe3f0;background:#fff;border-radius:999px;padding:6px 8px 6px 18px;box-shadow:0 10px 28px rgba(15,23,42,.06);font-weight:600;color:#64748b}.fap-billing-toggle b{width:52px;height:30px;border-radius:999px;background:#4f46e5;position:relative;box-shadow:inset 0 1px 4px rgba(0,0,0,.18)}.fap-billing-toggle b i{position:absolute;width:24px;height:24px;border-radius:50%;background:#fff;right:3px;top:3px}.fap-billing-toggle strong{color:#3158f8;font-weight:700}.fap-billing-toggle em{font-style:normal;background:#12b76a;color:#fff;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800}.fap-news-pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.fap-news-price-card{position:relative;min-height:545px;border:1px solid #e5eaf1;background:#fff;border-radius:16px;padding:28px 22px 20px;text-align:center;box-shadow:0 18px 45px rgba(15,23,42,.08);display:flex;flex-direction:column}.fap-news-price-card.is-popular{border:2px solid #3158f8;transform:translateY(-12px)}.fap-popular-badge{position:absolute;top:10px;left:50%;transform:translateX(-50%);height:30px;display:inline-flex;align-items:center;gap:6px;padding:0 14px;border-radius:8px;background:#3158f8;color:#fff;font-size:13px;font-weight:800;box-shadow:0 8px 18px rgba(49,88,248,.22)}.fap-popular-badge svg{width:14px;height:14px}.fap-news-price-icon{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#eef2ff;color:#3158f8}.fap-news-price-icon svg{width:31px;height:31px}.fap-news-price-card h3{font-size:24px;line-height:1.2;margin:0 0 6px;font-weight:800;color:#3158f8}.fap-news-price{font-size:38px;line-height:1.05;font-weight:850;color:#3158f8}.fap-news-price span{font-size:28px;margin-right:2px}.fap-news-price small{font-size:13px;color:#64748b;font-weight:600}.fap-news-price-card p{margin:6px 0 18px;color:#64748b;font-size:14px}.fap-news-price-card ul{list-style:none;margin:0;padding:18px 0 20px;border-top:1px solid #edf1f7;text-align:left;display:grid;gap:10px}.fap-news-price-card li{display:flex;align-items:center;gap:10px;font-size:13px;color:#0f172a}.fap-news-price-card li svg{width:16px;height:16px;min-width:16px;background:#3158f8;color:#fff;border-radius:50%;padding:3px}.fap-plan-select{margin-top:auto;height:38px;border:1px solid currentColor;border-radius:8px;display:flex;align-items:center;justify-content:center;text-decoration:none!important;font-size:14px;font-weight:800;color:#3158f8}.fap-news-price-card.is-popular .fap-plan-select{background:#3158f8;color:#fff;box-shadow:0 10px 22px rgba(49,88,248,.24)}.fap-news-price-card.tone-violet h3,.fap-news-price-card.tone-violet .fap-news-price,.fap-news-price-card.tone-violet .fap-plan-select{color:#7c3aed}.fap-news-price-card.tone-violet .fap-news-price-icon{background:#f4f0ff;color:#7c3aed}.fap-news-price-card.tone-violet li svg{background:#7c3aed}.fap-news-price-card.tone-green h3,.fap-news-price-card.tone-green .fap-news-price,.fap-news-price-card.tone-green .fap-plan-select{color:#059669}.fap-news-price-card.tone-green .fap-news-price-icon{background:#ecfdf5;color:#059669}.fap-news-price-card.tone-green li svg{background:#059669}@media(max-width:1180px){.fap-news-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fap-news-price-card.is-popular{transform:none}}@media(max-width:640px){.fap-billing-toggle{width:100%;justify-content:center;flex-wrap:wrap}.fap-news-pricing-grid{grid-template-columns:1fr}.fap-news-price-card{min-height:0}}

.fap-package-tab{align-items:center}.fap-package-tab strong{display:block}.fap-package-tab small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#64748b;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fap-package-tab.is-active small{color:#475569}.fap-package-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0 24px}.fap-package-toolbar h2{margin:4px 0 5px;font-size:24px;line-height:1.18}.fap-package-toolbar p{margin:0;color:#64748b;font-size:14px;max-width:620px}.fap-package-toolbar .fap-billing-toggle{margin:0;flex:0 0 auto}@media(max-width:760px){.fap-package-toolbar{display:block}.fap-package-toolbar .fap-billing-toggle{margin-top:16px;width:100%}.fap-package-tab small{display:none}}

.fap-pricing-head{align-items:center!important}.fap-pricing-head h1{font-size:38px!important;font-weight:500!important;letter-spacing:0!important}.fap-pricing-head .fap-billing-toggle{margin:0!important;border-radius:8px!important;background:#f3f4f6!important;border:0!important;box-shadow:none!important;padding:4px!important;gap:0!important}.fap-pricing-head .fap-billing-toggle span,.fap-pricing-head .fap-billing-toggle strong{height:40px;display:flex;align-items:center;padding:0 18px;border-radius:7px;font-size:14px}.fap-pricing-head .fap-billing-toggle strong{background:#fff;color:#111827;box-shadow:0 1px 4px rgba(15,23,42,.12)}.fap-n8n-style-grid{gap:16px!important}.fap-n8n-price-card{position:relative;border:1px solid #d9e0ea;border-radius:8px;background:#fff;text-align:left;min-height:680px;display:flex;flex-direction:column;overflow:hidden}.fap-n8n-price-card.is-popular{border:2px solid #3158f8}.fap-n8n-price-card header{min-height:118px;padding:28px 24px 22px;border-bottom:1px solid #d9e0ea}.fap-n8n-price-card header h3{margin:0 0 6px;font-size:24px;line-height:1.15;font-weight:750;color:#3f4651}.fap-n8n-price-card header p{margin:0;color:#667085;font-size:14px;line-height:1.2;max-width:280px}.fap-n8n-price-body{padding:14px 24px 22px;display:flex;flex-direction:column;flex:1}.fap-save-badge{width:max-content;background:#19a463;color:#fff;border-radius:4px;padding:4px 7px;font-size:10px;font-weight:850;margin-bottom:8px}.fap-n8n-price-card .fap-news-price{font-size:38px;color:#3f4651;font-weight:650;letter-spacing:-.02em}.fap-n8n-price-card .fap-news-price span{font-size:30px}.fap-n8n-price-card .fap-news-price small{font-size:15px;font-weight:400;color:#667085}.fap-n8n-price-card .fap-news-price+p{margin:4px 0 28px;font-size:15px;color:#667085}.fap-n8n-price-card .fap-plan-select{height:40px;border-radius:4px;background:#2e9d60;color:#fff!important;border:0;margin-bottom:16px}.fap-n8n-price-card.is-popular .fap-plan-select{background:#3158f8!important;box-shadow:none!important}.fap-plan-quota{border:1px solid #dfe5ec;border-radius:5px;padding:18px 14px;margin-bottom:22px;display:grid;gap:12px}.fap-plan-quota strong{font-size:15px;color:#3f4651;font-weight:700}.fap-includes-label{font-size:14px;color:#667085;margin-bottom:12px}.fap-n8n-price-card ul{border:0!important;padding:0!important;margin:0!important;gap:13px!important}.fap-n8n-price-card li{font-size:16px!important;color:#3f4651!important;line-height:1.25}.fap-n8n-price-card li svg{background:transparent!important;color:#19a463!important;padding:0!important;border-radius:0!important;width:16px!important;height:16px!important}.fap-n8n-price-card .fap-popular-badge{top:12px;border-radius:5px;background:#3158f8}@media(max-width:1180px){.fap-n8n-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-n8n-price-card{min-height:0}}@media(max-width:640px){.fap-pricing-head{display:block!important}.fap-pricing-head h1{font-size:30px!important}.fap-pricing-head .fap-billing-toggle{margin-top:14px!important;width:100%!important}.fap-n8n-style-grid{grid-template-columns:1fr!important}.fap-n8n-price-card header{min-height:0}.fap-n8n-price-card li{font-size:14px!important}}

.fap-n8n-style-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}.fap-n8n-price-card{border:1px solid #d9e0ea!important;border-radius:8px!important;box-shadow:none!important;min-height:640px!important;overflow:hidden!important}.fap-n8n-price-card.is-popular{border:2px solid #3158f8!important;transform:none!important}.fap-n8n-price-card header{padding:26px 24px 22px!important;min-height:118px!important}.fap-n8n-price-body{padding:14px 24px 22px!important}.fap-n8n-price-card .fap-news-price{font-size:38px!important;line-height:1.1!important;color:#3f4651!important;font-weight:650!important;margin-top:4px!important}.fap-n8n-price-card .fap-news-price span{font-size:18px!important;margin-left:3px!important;color:#667085!important;font-weight:500!important}.fap-n8n-price-card .fap-news-price small{font-size:15px!important;color:#667085!important;font-weight:400!important}.fap-n8n-price-card .fap-plan-select{margin:20px 0 16px!important;height:40px!important;border-radius:4px!important;background:#2e9d60!important;color:#fff!important;border:0!important;font-size:14px!important}.fap-n8n-price-card.is-popular .fap-plan-select{background:#3158f8!important}.fap-plan-quota{border:1px solid #dfe5ec!important;border-radius:5px!important;padding:18px 14px!important;margin-bottom:22px!important}.fap-n8n-price-card ul{list-style:none!important;margin:0!important;padding:0!important;border:0!important;display:grid!important;gap:12px!important}.fap-n8n-price-card ul li{list-style:none!important;display:flex!important;align-items:flex-start!important;gap:10px!important;margin:0!important;padding:0!important;font-size:15px!important;line-height:1.3!important;color:#3f4651!important}.fap-n8n-price-card ul li::marker{content:""!important}.fap-n8n-price-card ul li svg{width:16px!important;height:16px!important;min-width:16px!important;color:#19a463!important;background:transparent!important;padding:0!important;margin-top:2px!important}.fap-n8n-price-card header h3{font-size:24px!important;color:#3f4651!important}.fap-popular-badge{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important}.fap-package-builder{padding:24px!important}.fap-package-tabs{margin-bottom:28px!important}@media(max-width:1180px){.fap-n8n-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-n8n-price-card{min-height:0!important}}@media(max-width:640px){.fap-n8n-style-grid{grid-template-columns:1fr!important}}

.fap-pricing-head .fap-billing-toggle button{border:0;background:transparent;height:40px;padding:0 18px;border-radius:7px;font:inherit;font-size:14px;font-weight:600;color:#475569;cursor:pointer}.fap-pricing-head .fap-billing-toggle button.is-active{background:#fff;color:#111827;font-weight:800;box-shadow:0 1px 4px rgba(15,23,42,.12)}.fap-news-price b{font:inherit;color:inherit}.fap-news-price .fap-currency{font-size:.72em!important;margin-right:3px!important;color:inherit!important;font-weight:700!important}.fap-plan-select{font-weight:800!important;text-align:center!important}.fap-save-badge{visibility:hidden!important}
.fap-pricing-head h1{font-size:35px!important;font-weight:600!important;line-height:normal!important;letter-spacing:-.9px!important}
.fap-pricing-head-copy{transition:opacity .18s ease,transform .18s ease}.fap-pricing-head.is-changing .fap-pricing-head-copy{opacity:.2;transform:translateY(6px)}.fap-pricing-head.is-settling .fap-pricing-head-copy{animation:fapPricingHeadIn .22s ease both}.fap-package-panel.is-entering{animation:fapPricingPanelIn .24s ease both}.fap-package-panel.is-entering .fap-n8n-price-card{animation:fapPricingCardIn .28s ease both}.fap-package-panel.is-entering .fap-n8n-price-card:nth-child(2){animation-delay:.03s}.fap-package-panel.is-entering .fap-n8n-price-card:nth-child(3){animation-delay:.06s}.fap-package-panel.is-entering .fap-n8n-price-card:nth-child(4){animation-delay:.09s}@keyframes fapPricingHeadIn{from{opacity:.2;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes fapPricingPanelIn{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes fapPricingCardIn{from{opacity:.25;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

html body.afp-saas-dashboard-page,html body.afp-saas-dashboard-page *:not(svg):not(path),html body.afp-saas-dashboard-page input,html body.afp-saas-dashboard-page button,html body.afp-saas-dashboard-page select,html body.afp-saas-dashboard-page textarea{font-family:Inter,sans-serif!important}.fap-popular-badge{display:none!important}.fap-n8n-price-card.is-popular{border:1px solid #d9e0ea!important}.fap-news-price .fap-currency{font-size:18px!important;margin-right:7px!important;color:#3f4651!important;font-weight:800!important;vertical-align:baseline!important}.fap-news-price b{font-family:Inter,sans-serif!important}.fap-pricing-head .fap-billing-toggle button,.fap-pricing-head .fap-billing-toggle span,.fap-pricing-head .fap-billing-toggle strong{font-family:Inter,sans-serif!important}

.fap-year-total{margin:4px 0 28px!important;color:#667085!important;font-size:15px!important}.fap-news-price small{white-space:nowrap!important}


.fap-n8n-price-card header p{display:block!important;visibility:visible!important;color:#475569!important;font-size:14px!important;line-height:1.25!important;margin-top:6px!important;max-width:260px!important}.fap-n8n-price-card header{padding-bottom:24px!important;min-height:132px!important}
.fap-save-badge{display:none!important}.fap-n8n-price-body{padding-top:18px!important}.fap-n8n-price-card .fap-news-price{margin-top:0!important}.fap-n8n-price-card .fap-news-price+p{margin:4px 0 12px!important}.fap-year-total{margin:4px 0 12px!important}.fap-n8n-price-card .fap-plan-select{margin:8px 0 16px!important}
.fap-news-price .fap-currency{font:inherit!important;font-size:1em!important;font-weight:inherit!important;line-height:inherit!important;margin-right:0!important;color:#3f4651!important;vertical-align:baseline!important}.fap-news-price b{margin-left:0!important}.fap-year-total{min-height:0!important}
.fap-news-price{display:flex!important;align-items:baseline!important;gap:0!important}.fap-news-price .fap-currency{font-size:1.22em!important;font-weight:800!important;line-height:.9!important;margin-right:1px!important;transform:translateY(.02em)!important}.fap-news-price small{margin-left:2px!important}.fap-n8n-price-card [data-fap-price-total]:empty{display:none!important;margin:0!important}.fap-year-total:empty{display:none!important;margin:0!important}.fap-year-total{margin:2px 0 10px!important}
.fap-package-tab{align-items:center!important}.fap-package-tab strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fap-package-tabs .fap-package-tab,.fap-package-tabs .fap-package-tab:hover,.fap-package-tabs .fap-package-tab:focus{color:#334155!important}.fap-package-tabs .fap-package-tab strong,.fap-package-tabs .fap-package-tab:hover strong,.fap-package-tabs .fap-package-tab:focus strong{color:#334155!important}.fap-package-tabs .fap-package-tab.is-active,.fap-package-tabs .fap-package-tab.is-active strong{color:#312e81!important}
/* Pricing responsive hardening */
html body.afp-saas-dashboard-page{overflow-x:hidden!important}.afp-saas-dashboard-page .fap-content{width:100%!important;min-width:0!important}.fap-pricing-head,.fap-package-builder,.fap-package-tabs,.fap-package-panel,.fap-news-pricing-grid,.fap-n8n-price-card{min-width:0!important}.fap-package-builder{width:100%!important;max-width:100%!important;overflow:hidden!important}.fap-package-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}.fap-package-tab{width:100%!important;min-width:0!important}.fap-package-tab strong{white-space:nowrap!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}.fap-n8n-style-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important}.fap-n8n-price-card{width:100%!important;min-width:0!important}.fap-news-price{max-width:100%!important;flex-wrap:nowrap!important}.fap-news-price small{min-width:0!important;white-space:nowrap!important}
@media(max-width:1180px){.fap-package-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-n8n-style-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-n8n-price-card{min-height:0!important}}
@media(max-width:760px){.fap-content{padding-left:14px!important;padding-right:14px!important}.fap-pricing-head{display:block!important;margin-bottom:18px!important}.fap-pricing-head h1{font-size:30px!important;line-height:1.12!important;margin-bottom:8px!important}.fap-pricing-head p{font-size:14px!important;line-height:1.5!important;max-width:100%!important}.fap-pricing-head .fap-billing-toggle{width:100%!important;max-width:360px!important;margin-top:14px!important}.fap-pricing-head .fap-billing-toggle button{flex:1 1 0!important;min-width:0!important;padding:0 10px!important;white-space:nowrap!important}.fap-package-builder{padding:16px!important;border-radius:14px!important}.fap-package-tabs{grid-template-columns:1fr!important;gap:8px!important;margin-bottom:18px!important}.fap-package-tab{min-height:50px!important;padding:9px 10px!important}.fap-package-tab span{width:32px!important;height:32px!important}.fap-package-tab strong{white-space:normal!important;line-height:1.25!important}.fap-n8n-style-grid{grid-template-columns:1fr!important;gap:14px!important}.fap-n8n-price-card{min-height:0!important;border-radius:8px!important}.fap-n8n-price-card header{min-height:0!important;padding:20px 20px 18px!important}.fap-n8n-price-card header h3{font-size:24px!important}.fap-n8n-price-card header p{font-size:14px!important;max-width:100%!important}.fap-n8n-price-body{padding:18px 20px 20px!important}.fap-n8n-price-card .fap-news-price{font-size:36px!important}.fap-n8n-price-card .fap-news-price small{font-size:14px!important}.fap-plan-quota{padding:16px 14px!important}.fap-n8n-price-card ul li{font-size:15px!important}}
@media(max-width:420px){.fap-content{padding-left:10px!important;padding-right:10px!important}.fap-pricing-head h1{font-size:27px!important}.fap-pricing-head .fap-billing-toggle button{font-size:13px!important;padding:0 8px!important}.fap-package-builder{padding:12px!important}.fap-package-tab{padding:8px!important}.fap-n8n-price-card header{padding:18px 16px 16px!important}.fap-n8n-price-body{padding:16px!important}.fap-n8n-price-card .fap-news-price{font-size:32px!important}.fap-n8n-price-card .fap-news-price small{font-size:13px!important}.fap-plan-select{height:38px!important}.fap-plan-quota strong{font-size:14px!important}.fap-n8n-price-card ul li{font-size:14px!important}}
/* Mobile pricing tabs: 2 columns */
@media(max-width:760px){.fap-package-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.fap-package-tab{min-height:52px!important;width:100%!important;gap:8px!important}.fap-package-tab span{width:32px!important;height:32px!important;flex:0 0 32px!important}.fap-package-tab strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:13px!important}}
@media(max-width:360px){.fap-package-tab{gap:7px!important;padding:8px 7px!important}.fap-package-tab span{width:30px!important;height:30px!important;flex-basis:30px!important}.fap-package-tab strong{font-size:12px!important}}
/* Select plan payment modal */
body.fap-plan-modal-open{overflow:hidden!important}.fap-plan-modal[hidden]{display:none!important}.fap-plan-modal{position:fixed!important;inset:0!important;z-index:999999!important;background:rgba(15,23,42,.58)!important;display:flex!important;align-items:stretch!important;justify-content:center!important;padding:24px!important;overflow:auto!important}.fap-plan-modal-panel{width:min(1120px,100%)!important;min-height:calc(100vh - 48px)!important;background:#fff!important;border:1px solid #d9e0ea!important;border-radius:12px!important;box-shadow:0 30px 90px rgba(15,23,42,.28)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important}.fap-plan-modal-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:24px 28px!important;border-bottom:1px solid #e5eaf1!important}.fap-plan-modal-head h2{margin:4px 0 6px!important;font-size:28px!important;line-height:1.15!important;color:#111827!important}.fap-plan-modal-head p{margin:0!important;color:#475569!important;font-size:14px!important}.fap-plan-modal-close{width:40px!important;height:40px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#334155!important;font-size:24px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important}.fap-plan-modal-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(340px,.82fr)!important;gap:18px!important;padding:24px 28px!important;flex:1!important;overflow:auto!important}.fap-plan-modal-card{border:1px solid #d9e0ea!important;border-radius:8px!important;background:#fff!important;padding:20px!important;min-width:0!important}.fap-plan-modal-card h3{margin:0 0 14px!important;font-size:20px!important;color:#1f2937!important}.fap-plan-modal-price{display:flex!important;align-items:baseline!important;gap:8px!important;margin-bottom:18px!important}.fap-plan-modal-price span{font-size:36px!important;line-height:1!important;font-weight:800!important;color:#334155!important}.fap-plan-modal-price small{font-size:14px!important;color:#64748b!important}.fap-plan-modal-list{display:grid!important;gap:10px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;padding:14px!important;margin-bottom:18px!important}.fap-plan-modal-list span{font-size:14px!important;font-weight:750!important;color:#1f2937!important}.fap-plan-modal-features{display:grid!important;gap:10px!important;margin:0!important;padding:0!important;list-style:none!important}.fap-plan-modal-features li{font-size:14px!important;color:#334155!important;line-height:1.35!important}.fap-pay-option{display:flex!important;align-items:center!important;gap:12px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;padding:12px!important;margin-bottom:10px!important;cursor:pointer!important}.fap-pay-option input{width:18px!important;height:18px!important;flex:0 0 auto!important}.fap-pay-option span{display:grid!important;gap:3px!important;min-width:0!important}.fap-pay-option strong{font-size:14px!important;color:#111827!important}.fap-pay-option small{font-size:12px!important;color:#64748b!important}.fap-bank-details{display:grid!important;gap:6px!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:8px!important;padding:13px!important;margin:12px 0!important;color:#475569!important;font-size:13px!important}.fap-bank-details strong{color:#111827!important}.fap-paid-check{display:flex!important;align-items:center!important;gap:10px!important;margin-top:14px!important;font-size:14px!important;font-weight:650!important;color:#334155!important}.fap-paid-check input{width:18px!important;height:18px!important}.fap-plan-modal-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;padding:18px 28px!important;border-top:1px solid #e5eaf1!important;background:#fff!important}.fap-plan-modal-actions button{min-width:160px!important}.fap-plan-modal-actions [disabled]{opacity:.55!important;cursor:not-allowed!important;transform:none!important}
@media(max-width:820px){.fap-plan-modal{padding:0!important}.fap-plan-modal-panel{min-height:100vh!important;border-radius:0!important;border:0!important}.fap-plan-modal-head{padding:18px!important}.fap-plan-modal-head h2{font-size:24px!important}.fap-plan-modal-grid{grid-template-columns:1fr!important;padding:18px!important;gap:14px!important}.fap-plan-modal-card{padding:16px!important}.fap-plan-modal-actions{position:sticky!important;bottom:0!important;padding:14px 18px!important}.fap-plan-modal-actions button{min-width:0!important;flex:1 1 0!important}}
@media(max-width:420px){.fap-plan-modal-head{padding:16px!important}.fap-plan-modal-grid{padding:14px!important}.fap-plan-modal-price span{font-size:31px!important}.fap-plan-modal-actions{padding:12px 14px!important}.fap-plan-modal-actions button{font-size:13px!important;padding-left:10px!important;padding-right:10px!important}}.fap-plan-modal-close{padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:40px!important;text-align:center!important;font-size:0!important;appearance:none!important}
.fap-plan-modal-close:before{content:"\00d7"!important;display:block!important;font-size:24px!important;line-height:1!important;font-weight:700!important;transform:translateY(-1px)!important}
.fap-order-page-field{display:grid!important;gap:6px!important;margin:0 0 16px!important}.fap-order-page-field span{font-size:12px!important;font-weight:750!important;color:#475569!important}.fap-order-page-field select{width:100%!important;height:42px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;background:#fff!important;color:#1f2937!important;padding:0 12px!important;font:inherit!important;font-weight:400!important}
.fap-admin-viewing{display:flex!important;align-items:center!important;gap:10px!important;margin:0 0 16px!important;padding:10px 12px!important;border:1px solid #bfdbfe!important;border-radius:8px!important;background:#eff6ff!important;color:#1e3a8a!important}.fap-admin-viewing strong{font-weight:800!important}.fap-admin-viewing span{font-size:13px!important}.fap-admin-viewing a{margin-left:auto!important;color:#1d4ed8!important;font-weight:800!important;text-decoration:none!important}
.fap-order-customer{margin:0 0 18px!important}.fap-order-customer h3{margin:0 0 12px!important}.fap-order-customer-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}.fap-order-customer-grid .fap-field:last-child{grid-column:1/-1!important}.fap-order-customer-grid .fap-field{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}.fap-order-customer-grid .fap-field>span{font-size:12px!important;font-weight:750!important;color:#475569!important}.fap-order-customer-grid .fap-field>input{width:100%!important;height:42px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;background:#fff!important;color:#1f2937!important;padding:0 12px!important;font:inherit!important;font-weight:400!important}.fap-order-customer-grid .fap-field>input:focus{border-color:#928cff!important;box-shadow:0 0 0 3px rgba(99,91,255,.09)!important;outline:none!important}@media(max-width:560px){.fap-order-customer-grid{grid-template-columns:1fr!important}}
.fap-terms-check{display:flex!important;align-items:flex-start!important;gap:10px!important;margin-top:12px!important;font-size:13px!important;line-height:1.45!important;font-weight:650!important;color:#334155!important}.fap-terms-check input{width:18px!important;height:18px!important;margin-top:1px!important;flex:0 0 auto!important}.fap-terms-check a{color:#4f46e5!important;font-weight:800!important;text-decoration:none!important}.fap-terms-check a:hover{text-decoration:underline!important}
.fap-terms-check.is-error{color:#b42318!important}.fap-terms-check.is-error input{outline:3px solid rgba(240,68,56,.16)!important;outline-offset:2px!important}.fap-terms-error{display:flex!important;align-items:center!important;gap:7px!important;margin:8px 0 0 28px!important;padding:8px 10px!important;border:1px solid #fecdca!important;border-radius:7px!important;background:#fff6f5!important;color:#b42318!important;font-size:12px!important;line-height:1.4!important}.fap-terms-error[hidden]{display:none!important}.fap-terms-error>span{display:grid!important;place-items:center!important;width:17px!important;height:17px!important;flex:0 0 auto!important;border-radius:50%!important;background:#f04438!important;color:#fff!important;font-size:11px!important;font-weight:900!important}.fap-terms-error strong{font-weight:800!important}

/* Keep documentation inside the dashboard shell. */
.fap-content:has(>.fap-docs-view){padding-top:24px!important;padding-bottom:24px!important}
.fap-docs-view{
	display:grid;
	grid-template-columns:270px minmax(0,1fr);
	width:100%;
	height:calc(100vh - 126px);
	height:calc(100dvh - 126px);
	min-height:620px;
	overflow:hidden;
	border:1px solid #e2e8f0;
	border-radius:8px;
	background:#fff;
}
.fap-docs-sidebar{min-width:0;overflow:auto;border-right:1px solid #e2e8f0;background:#f8fafc;padding:22px 14px}
.fap-docs-sidebar-head{display:grid;gap:4px;padding:0 10px 15px;border-bottom:1px solid #e2e8f0;margin-bottom:10px}
.fap-docs-sidebar-head strong{font-size:16px;color:#172033}
.fap-docs-sidebar nav{display:grid;gap:3px}
.fap-docs-sidebar nav a{display:flex;align-items:center;gap:10px;min-height:42px;padding:9px 10px;border-radius:7px;color:#475569!important;text-decoration:none!important;font-size:13px;font-weight:700;transition:.15s ease}
.fap-docs-sidebar nav a:hover,.fap-docs-sidebar nav a.is-active{background:#eef2ff;color:#4338ca!important}
.fap-docs-sidebar nav a>span{display:grid;place-items:center;width:24px;height:24px;flex:0 0 auto}
.fap-docs-sidebar nav svg{width:16px!important;height:16px!important}
.fap-demo-sidebar-subnav{display:none;gap:2px;margin:-1px 0 9px 24px;padding:2px 0 2px 20px;border-left:1px solid #dbe3ee}
.fap-demo-sidebar-subnav.is-open{display:grid}
.fap-docs-sidebar nav .fap-demo-sidebar-subnav a{min-height:30px;padding:1px;font-size:12px;font-weight:750;line-height:1.25}
.fap-docs-sidebar nav .fap-demo-sidebar-subnav .fap-demo-category-link{color:#334155!important;font-weight:800}
.fap-docs-sidebar nav .fap-demo-sidebar-subnav .fap-demo-child-link{margin-left:10px;color:#64748b!important;font-size:11px}
.fap-docs-content{min-width:0;overflow:auto;overflow-anchor:none;padding:38px 46px 64px;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:#98a2b3 #f8fafc}
.fap-docs-content::-webkit-scrollbar{width:9px}.fap-docs-content::-webkit-scrollbar-track{background:#f8fafc}.fap-docs-content::-webkit-scrollbar-thumb{background:#98a2b3;border:2px solid #f8fafc;border-radius:8px}
.fap-docs-intro{max-width:800px;padding-bottom:34px;border-bottom:1px solid #e5eaf1}
.fap-docs-intro h1{margin:7px 0 10px;font-size:32px;line-height:1.15;color:#111827}
.fap-docs-intro p{margin:0;color:#64748b;font-size:15px;line-height:1.65}
.fap-docs-topic{max-width:900px;padding:38px 0;border-bottom:1px solid #e5eaf1;scroll-margin-top:20px}
.fap-docs-topic:last-child{border-bottom:0}
.fap-docs-topic-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:13px}
.fap-docs-topic-head>span{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;background:#eef2ff;color:#4f46e5}
.fap-docs-topic-head>span svg{width:20px!important;height:20px!important}
.fap-docs-topic-head small{display:block;margin-bottom:2px;color:#94a3b8;font-size:9px;font-weight:850;letter-spacing:.1em}
.fap-docs-topic-head h2{margin:0;color:#172033;font-size:21px;line-height:1.25}
.fap-docs-topic-head>a{display:inline-flex;align-items:center;gap:5px;color:#4f46e5!important;text-decoration:none!important;font-size:12px;font-weight:800;white-space:nowrap}
.fap-docs-topic-head>a svg{width:15px!important;height:15px!important}
.fap-docs-summary{max-width:760px;margin:18px 0 22px;color:#475569;font-size:14px;line-height:1.65}
.fap-demo-view .fap-demo-topic:not(.is-active-demo-topic){display:none}
.fap-demo-view .fap-docs-topic{max-width:1180px}
.fap-demo-view .fap-docs-summary{max-width:920px}
.fap-docs-steps{display:grid;gap:0;margin:0;padding:0;list-style:none;max-width:800px}
.fap-docs-steps li{display:grid;grid-template-columns:30px minmax(0,1fr);gap:12px;padding:15px 0;border-top:1px solid #edf1f6}
.fap-docs-steps li>span{display:grid;place-items:center;width:25px;height:25px;margin-top:1px;border-radius:50%;background:#f1f5f9;color:#475569;font-size:11px;font-weight:850}
.fap-docs-steps strong{display:block;color:#1e293b;font-size:14px}
.fap-docs-steps p{margin:4px 0 0;color:#64748b;font-size:13px;line-height:1.55}
.fap-demo-empty{max-width:760px;border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;padding:18px;color:#475569}
.fap-demo-empty strong{display:block;color:#172033;font-size:15px}
.fap-demo-empty p{margin:5px 0 0;font-size:13px;line-height:1.55}
.fap-demo-categories{display:grid;gap:26px;max-width:1180px}
.fap-demo-category{display:grid;gap:12px}
.fap-demo-category[hidden]{display:none!important}
.fap-demo-category-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.fap-demo-category h3{margin:0;color:#172033;font-size:15px;line-height:1.3}
.fap-demo-subcategory{display:flex;align-items:center;gap:8px;margin:0;color:#64748b;font-size:12px;font-weight:800;white-space:nowrap}
.fap-demo-subcategory select{min-height:34px;max-width:220px;border:1px solid #dbe3ee;border-radius:7px;background:#fff;color:#172033;font-size:13px;font-weight:750;padding:0 32px 0 10px}
.fap-demo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fap-demo-grid.fap-demo-photocard-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.fap-demo-photocard h3{padding:14px 16px;overflow-wrap:anywhere}
.fap-demo-photocard button{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in}
.fap-demo-photocard button:focus-visible{outline:3px solid #4f46e5;outline-offset:-3px}
.fap-demo-photocard button img{display:block;width:100%;max-width:100%;height:auto;object-fit:contain}
.fap-photocard-modal{width:min(1100px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:0;border:1px solid #dbe3ee;border-radius:12px;background:#fff;color:#172033;box-sizing:border-box;overflow:auto}
.fap-photocard-modal::backdrop{background:rgba(15,23,42,.8)}
.fap-photocard-modal-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px}
.fap-photocard-modal-head h3{margin:0;font-size:18px;overflow-wrap:anywhere}
.fap-photocard-modal button{border:1px solid #dbe3ee;border-radius:7px;background:#fff;color:#172033;padding:9px 14px;font:inherit;cursor:pointer}
.fap-photocard-modal button:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}
.fap-photocard-modal button:disabled{opacity:.4;cursor:default}
.fap-photocard-modal-head button{flex-shrink:0;font-size:24px;line-height:1}
.fap-photocard-modal-stage{display:flex;align-items:center;justify-content:center;background:#f1f5f9;touch-action:pan-y pinch-zoom}
.fap-photocard-modal-stage img{display:block;width:100%;height:calc(100dvh - 190px);max-width:100%;object-fit:contain}
.fap-photocard-modal-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px}
.fap-photocard-modal-controls span{font-size:13px;color:#64748b}
.fap-demo-card{min-width:0;overflow:hidden;border:1px solid #e2e8f0;border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(15,23,42,.045)}
.fap-demo-card[hidden]{display:none!important}
.fap-demo-card img{display:block;width:100%;height:auto;object-fit:contain;background:#f8fafc}
.fap-demo-card>div{display:grid;gap:8px;padding:15px}
.fap-demo-card-content{position:relative;color:#475569;font-size:15px;line-height:1.78;overflow:hidden;overflow-wrap:anywhere;transition:max-height .22s ease}
.fap-demo-card:not(.is-open) .fap-demo-card-content:after{content:"";position:absolute;left:0;right:0;bottom:0;height:1.8em;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}
.fap-demo-card-content p{margin:0 0 18px}
.fap-demo-card-content p+blockquote,.fap-demo-card-content p+ol,.fap-demo-card-content p+p,.fap-demo-card-content p+ul{margin-top:18px}
.fap-demo-card-content p:empty{min-height:1em}
.fap-demo-card-content br+br{display:block;content:"";margin-top:18px}
.fap-demo-card-content p:last-child{margin-bottom:0}
.fap-demo-card-content ul,.fap-demo-card-content ol{margin:8px 0 0 18px;padding:0}
.fap-demo-card-content img{height:auto;aspect-ratio:auto;border-radius:6px}
.fap-demo-more{justify-self:start;border:0;background:transparent;color:#4f46e5!important;padding:0;font:inherit;font-size:13px;font-weight:850;line-height:1.5;cursor:pointer}
.fap-demo-more:hover{text-decoration:underline}
.fap-demo-subcategory-empty{border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;padding:13px;color:#64748b;font-size:13px;font-weight:750}
@media(max-width:1450px){
	.fap-demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
	.fap-content:has(>.fap-docs-view){padding:14px!important}
	.fap-docs-view{grid-template-columns:210px minmax(0,1fr);height:calc(100vh - 88px);height:calc(100dvh - 88px);min-height:520px}
	.fap-docs-sidebar{padding:16px 10px}
	.fap-docs-content{padding:30px 28px 50px}
	.fap-demo-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
	.fap-content:has(>.fap-docs-view){padding:8px!important}
	.fap-docs-view{display:flex;flex-direction:column;height:calc(100vh - 76px);height:calc(100dvh - 76px);min-height:480px;border-radius:6px}
	.fap-docs-sidebar{flex:0 0 auto;overflow:hidden;border-right:0;border-bottom:1px solid #e2e8f0;padding:10px}
	.fap-docs-sidebar-head{display:none}
	.fap-docs-sidebar nav{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
	.fap-docs-sidebar nav::-webkit-scrollbar{display:none}
	.fap-docs-sidebar nav a{min-height:36px;padding:7px 10px;white-space:nowrap;background:#fff;border:1px solid #e2e8f0}
	.fap-docs-sidebar nav a>span{width:18px;height:18px}
	.fap-demo-sidebar-subnav{display:none;gap:6px;margin:0;padding:0;border-left:0}
	.fap-demo-sidebar-subnav.is-open{display:flex}
	.fap-docs-sidebar nav .fap-demo-sidebar-subnav a{min-height:36px;padding:1px}
	.fap-docs-sidebar nav .fap-demo-sidebar-subnav .fap-demo-child-link{margin-left:0}
	.fap-docs-content{flex:1;padding:26px 18px 44px}
	.fap-docs-intro{padding-bottom:26px}
	.fap-docs-intro h1{font-size:27px}
	.fap-docs-intro p{font-size:14px}
	.fap-docs-topic{padding:30px 0}
	.fap-docs-topic-head{grid-template-columns:38px minmax(0,1fr)}
	.fap-docs-topic-head>span{width:38px;height:38px}
	.fap-docs-topic-head h2{font-size:19px}
	.fap-docs-topic-head>a{grid-column:2;margin-top:5px;justify-self:start}
	.fap-demo-categories{gap:22px}
	.fap-demo-category-head{align-items:flex-start;flex-direction:column}
	.fap-demo-subcategory{width:100%;justify-content:space-between}
	.fap-demo-subcategory select{max-width:none;flex:1}
	.fap-demo-card>div{padding:13px}
}
.fap-plan-modal-card>.fap-order-customer{margin-top:18px!important;padding-top:18px!important;border-top:1px solid #edf1f6!important}.fap-plan-modal-card>.fap-order-customer .fap-order-customer-grid{grid-template-columns:1fr 1fr!important}.fap-plan-modal-card>.fap-order-customer .fap-order-customer-grid .fap-field:last-child{grid-column:1/-1!important}
/* Order received page */
.fap-order-received{max-width:980px!important;margin:0 auto!important;background:#fff!important;border:1px solid #e2e8f0!important;border-radius:18px!important;padding:34px!important;box-shadow:0 16px 44px rgba(15,23,42,.06)!important}.fap-order-success-mark{width:58px!important;height:58px!important;border-radius:16px!important;background:#ecfdf3!important;color:#079455!important;display:grid!important;place-items:center!important;margin-bottom:18px!important}.fap-order-success-mark svg{width:28px!important;height:28px!important}.fap-order-received h1{font-size:32px!important;line-height:1.15!important;margin:6px 0 12px!important;color:#111827!important;font-weight:750!important}.fap-order-received>p{font-size:15px!important;line-height:1.65!important;color:#475569!important;max-width:760px!important;margin:0 0 22px!important}.fap-order-summary-card{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:22px 0!important}.fap-order-summary-card>div{border:1px solid #e2e8f0!important;border-radius:10px!important;padding:14px!important;background:#f8fafc!important;min-width:0!important}.fap-order-summary-card span,.fap-order-summary-card small{display:block!important;font-size:12px!important;color:#64748b!important;line-height:1.35!important}.fap-order-summary-card strong{display:block!important;margin-top:5px!important;font-size:15px!important;color:#111827!important;line-height:1.35!important;overflow-wrap:anywhere!important}.fap-order-lines{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:10px 0 22px!important}.fap-order-lines span{border:1px solid #dbeafe!important;background:#eff6ff!important;color:#1e40af!important;border-radius:999px!important;padding:7px 10px!important;font-size:12px!important;font-weight:800!important}.fap-order-next{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;border-top:1px solid #edf1f6!important;padding-top:20px!important}.fap-order-next strong{width:100%!important;font-size:16px!important;color:#111827!important}.fap-order-next span{width:100%!important;font-size:13px!important;color:#64748b!important}@media(max-width:720px){.fap-order-received{padding:24px 18px!important;border-radius:14px!important}.fap-order-summary-card{grid-template-columns:1fr!important}.fap-order-received h1{font-size:26px!important}.fap-order-next .fap-primary-btn,.fap-order-next .fap-secondary-btn{width:100%!important;justify-content:center!important}}/* Customer order status */
.fap-customer-orders-panel{margin-top:18px!important}.fap-my-orders-wrap{width:100%!important;overflow:auto!important;border:1px solid #e5eaf1!important;border-radius:12px!important}.fap-my-orders-table{width:100%!important;border-collapse:collapse!important;background:#fff!important;min-width:860px!important}.fap-my-orders-table th{background:#f8fafc!important;color:#475569!important;font-size:11px!important;font-weight:800!important;text-align:left!important;padding:12px 14px!important;border-bottom:1px solid #e5eaf1!important}.fap-my-orders-table td{padding:14px!important;border-bottom:1px solid #edf1f6!important;vertical-align:middle!important;color:#111827!important}.fap-my-orders-table tr:last-child td{border-bottom:0!important}.fap-my-orders-table td strong{display:block!important;font-size:13px!important;line-height:1.35!important;color:#111827!important}.fap-my-orders-table td small{display:block!important;margin-top:3px!important;font-size:11px!important;line-height:1.35!important;color:#64748b!important;overflow-wrap:anywhere!important}.fap-order-pay-label{display:inline-flex!important;font-size:12px!important;font-weight:800!important;color:#334155!important}.fap-customer-status{display:inline-flex!important;align-items:center!important;border-radius:999px!important;padding:5px 9px!important;font-size:11px!important;font-weight:850!important;white-space:nowrap!important}.fap-customer-status.is-pending{background:#f4f3ff!important;color:#5b21b6!important}.fap-customer-status.is-approved{background:#ecfdf3!important;color:#027a48!important}.fap-customer-status.is-rejected{background:#fff1f3!important;color:#b42318!important}@media(max-width:760px){.fap-my-orders-wrap{overflow:visible!important;border:0!important}.fap-my-orders-table{min-width:0!important;border-collapse:separate!important;border-spacing:0 10px!important}.fap-my-orders-table thead{display:none!important}.fap-my-orders-table,.fap-my-orders-table tbody,.fap-my-orders-table tr,.fap-my-orders-table td{display:block!important;width:100%!important}.fap-my-orders-table tr{border:1px solid #e5eaf1!important;border-radius:12px!important;background:#fff!important;padding:10px 12px!important}.fap-my-orders-table td{border:0!important;padding:8px 0!important;display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;gap:12px!important;align-items:start!important}.fap-my-orders-table td:before{content:attr(data-label)!important;font-size:11px!important;font-weight:800!important;color:#64748b!important}.fap-my-orders-table td[data-label="Action"]{grid-template-columns:1fr!important}.fap-my-orders-table td[data-label="Action"]:before{display:none!important}.fap-my-orders-table .fap-mini-action{width:100%!important;justify-content:center!important;text-align:center!important}}
/* Per-feature Facebook Page targets */
.fap-feature-target-panel{margin-top:18px!important}.fap-feature-target-panel .fap-panel-head p{margin:5px 0 0!important;color:#64748b!important;font-size:13px!important}.fap-feature-target-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}.fap-feature-page-field select{min-height:44px!important}.fap-feature-page-field small{max-width:270px!important}.fap-feature-target-panel .fap-form-actions{margin-top:16px!important}@media(max-width:1180px){.fap-feature-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:640px){.fap-feature-target-grid{grid-template-columns:1fr!important}.fap-feature-target-panel{margin-top:14px!important}.fap-feature-page-field small{justify-self:start!important;text-align:left!important}}
/* Facebook Pages feature target cards */
.fap-feature-target-panel{margin-top:18px!important}
.fap-feature-target-panel .fap-panel-head p{margin:5px 0 0!important;color:#64748b!important;font-size:13px!important}
.fap-feature-target-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;align-items:stretch!important}
.fap-feature-target-card{display:grid!important;gap:10px!important;align-content:start!important;border:1px solid #dfe5ec!important;border-radius:10px!important;background:#fff!important;padding:14px!important;min-width:0!important;box-shadow:0 8px 22px rgba(15,23,42,.035)!important}
.fap-feature-target-card-head{display:flex!important;align-items:center!important;gap:10px!important;color:#111827!important;font-weight:800!important;min-width:0!important}
.fap-feature-target-card-head i{width:34px!important;height:34px!important;border-radius:8px!important;background:#f2f4f7!important;color:#475467!important;display:grid!important;place-items:center!important;flex:0 0 34px!important;font-style:normal!important}
.fap-feature-target-card-head svg{width:17px!important;height:17px!important}
.fap-feature-target-card-head strong{font-size:14px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.fap-feature-target-card small{font-size:12px!important;line-height:1.35!important;color:#64748b!important;max-width:none!important}
.fap-feature-target-card select{width:100%!important;min-height:44px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;background:#fff!important;color:#111827!important;padding:0 12px!important;font:inherit!important;font-weight:650!important}
.fap-feature-target-card select:disabled{background:#f8fafc!important;color:#667085!important;cursor:not-allowed!important}
.fap-feature-target-panel .fap-form-actions{margin-top:16px!important}
@media(max-width:1180px){.fap-feature-target-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.fap-feature-target-grid{grid-template-columns:1fr!important}.fap-feature-target-panel{margin-top:14px!important}.fap-feature-target-card{padding:12px!important}.fap-feature-target-card-head strong{white-space:normal!important}}

/* eCommerce Automation module */
.fap-ecommerce-layout{display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr)!important;gap:18px!important;align-items:stretch!important}
.fap-field-wide{grid-column:1/-1!important}
.fap-field textarea{width:100%!important;border:1px solid #dfe4ea!important;border-radius:9px!important;background:#fff!important;padding:12px!important;color:#344054!important;font:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.45!important;outline:none!important;resize:vertical!important;min-height:150px!important}
.fap-field textarea:focus{border-color:#928cff!important;box-shadow:0 0 0 3px rgba(99,91,255,.09)!important}
.fap-ecommerce-run-card{display:grid!important;gap:13px!important;align-content:start!important;min-height:300px!important}
.fap-big-module-icon.small{width:58px!important;height:58px!important;border-radius:16px!important}.fap-big-module-icon.small svg{width:28px!important;height:28px!important}
.fap-ecommerce-run-card strong{font-size:18px!important;line-height:1.3!important;color:#111827!important;overflow-wrap:anywhere!important}.fap-ecommerce-run-card p{margin:0!important;color:#64748b!important;font-size:13px!important;line-height:1.55!important}.fap-run-error{border:1px solid #fecdd3!important;background:#fff1f2!important;color:#be123c!important;border-radius:10px!important;padding:10px 12px!important;font-size:12px!important;line-height:1.45!important}.fap-ecommerce-history{display:grid!important;gap:10px!important}.fap-ecommerce-history-row{display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;gap:6px 14px!important;border:1px solid #e5eaf1!important;border-radius:12px!important;padding:13px 14px!important;background:#fff!important}.fap-ecommerce-history-row span{grid-row:1/3!important;align-self:start!important;display:inline-flex!important;justify-content:center!important;border-radius:999px!important;background:#f4f3ff!important;color:#5b21b6!important;padding:6px 8px!important;font-size:11px!important;font-weight:850!important}.fap-ecommerce-history-row strong{font-size:14px!important;color:#111827!important;line-height:1.35!important}.fap-ecommerce-history-row small{font-size:12px!important;color:#64748b!important;overflow-wrap:anywhere!important}
@media(max-width:980px){.fap-ecommerce-layout{grid-template-columns:1fr!important}.fap-ecommerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){.fap-ecommerce-metrics{grid-template-columns:1fr!important}.fap-ecommerce-history-row{grid-template-columns:1fr!important}.fap-ecommerce-history-row span{grid-row:auto!important;justify-self:start!important}.fap-field-wide{grid-column:auto!important}}

/* eCommerce Automation tabs */
.fap-ecommerce-tabs{display:flex;gap:10px;margin:18px 0 20px;overflow-x:auto;padding:2px 0 4px}
.fap-ecommerce-tabs a{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px;border:1px solid #dbe5f0;border-radius:8px;background:#fff;color:#334155;font-weight:800;text-decoration:none;white-space:nowrap;box-shadow:0 8px 18px rgba(15,23,42,.05);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease}
.fap-ecommerce-tabs a svg{width:18px;height:18px;color:#64748b}
.fap-ecommerce-tabs a.active{background:#f5f3ff;border-color:#6d5dfc;color:#140a65;box-shadow:0 8px 18px rgba(91,75,242,.12),inset 0 -2px 0 #6d5dfc}
.fap-ecommerce-tabs a.active svg{color:#5b4bf2}
.fap-api-note{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:14px;padding:14px 16px;border:1px solid #dbe5f0;border-radius:8px;background:#f8fafc;color:#475569;font-size:13px}
.fap-api-note strong{color:#172033;font-size:14px}
.fap-ecommerce-history-row a{justify-self:end;color:#4f46e5;font-weight:800;text-decoration:none}
@media (max-width: 760px){.fap-ecommerce-tabs{display:grid;grid-template-columns:1fr;gap:8px;border-bottom:0}.fap-ecommerce-tabs a{border:1px solid #dbe5f0;border-radius:8px}.fap-api-note{align-items:flex-start;flex-direction:column}.fap-ecommerce-history-row a{justify-self:start}}
/* eCommerce setup feedback */
.fap-toast.is-error{background:#fff1f2!important;color:#be123c!important;border-color:#fecdd3!important}
.fap-toast.is-error>span{background:#ffe4e6!important;color:#be123c!important}
.fap-toast.is-error button{color:#be123c!important}
.fap-run-warning{border:1px solid #fde68a!important;background:#fffbeb!important;color:#92400e!important;border-radius:10px!important;padding:10px 12px!important;font-size:12px!important;line-height:1.45!important}
.fap-primary-btn:disabled{opacity:.55!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}
.fap-app a:focus,.fap-app button:focus,.fap-app [role=button]:focus{outline:none!important}.fap-app a:focus-visible,.fap-app button:focus-visible,.fap-app [role=button]:focus-visible{outline:2px solid rgba(99,91,255,.55)!important;outline-offset:2px!important;box-shadow:0 0 0 4px rgba(99,91,255,.1)!important}

/* Feature usage summary */
.fap-ecommerce-head{align-items:flex-start!important}
.fap-ecommerce-head-side{display:grid!important;justify-items:end!important;gap:10px!important;min-width:min(430px,100%)!important}
.fap-feature-usage-card{width:min(430px,100%)!important;border:1px solid #dfe5ec!important;border-radius:12px!important;background:#fff!important;padding:14px 15px!important;box-shadow:0 10px 28px rgba(15,23,42,.055)!important;color:#172033!important}
.fap-feature-usage-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.fap-feature-usage-top span{font-size:11px!important;font-weight:850!important;color:#4f46e5!important;text-transform:uppercase!important;letter-spacing:.08em!important;white-space:nowrap!important}
.fap-feature-usage-top strong{font-size:14px!important;font-weight:850!important;color:#172033!important;white-space:nowrap!important}
.fap-feature-usage-progress{height:8px!important;border-radius:999px!important;background:#eef2f7!important;overflow:hidden!important;margin-bottom:11px!important}
.fap-feature-usage-progress i{display:block!important;height:100%!important;border-radius:999px!important;background:#635bff!important;min-width:4px!important;transition:width .2s ease!important}
.fap-feature-usage-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-bottom:10px!important}
.fap-feature-usage-stats span{border:1px solid #edf1f5!important;border-radius:9px!important;background:#f8fafc!important;padding:7px 6px!important;text-align:center!important;font-size:10px!important;font-weight:750!important;color:#64748b!important;line-height:1.25!important;min-width:0!important}
.fap-feature-usage-stats b{display:block!important;font-size:14px!important;color:#172033!important;line-height:1.1!important;margin-bottom:2px!important}
.fap-feature-usage-card p{margin:0!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important}
.fap-feature-usage-card a{display:inline-flex!important;margin-top:8px!important;color:#4f46e5!important;font-size:12px!important;font-weight:850!important;text-decoration:none!important}
@media(max-width:900px){.fap-ecommerce-head{display:grid!important}.fap-ecommerce-head-side{justify-items:start!important;width:100%!important}.fap-feature-usage-card{width:100%!important}}
@media(max-width:560px){.fap-feature-usage-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-feature-usage-top{align-items:flex-start!important;flex-direction:column!important;gap:5px!important}}
/* eCommerce header + usage format */
.fap-ecommerce-head{display:grid!important;grid-template-columns:minmax(0,1fr) 430px!important;gap:28px!important;align-items:start!important;margin-bottom:22px!important}
.fap-ecommerce-head>div:first-child{padding-top:42px!important;min-width:0!important}
.fap-ecommerce-head-side{display:grid!important;justify-items:end!important;gap:10px!important;min-width:0!important;width:100%!important}
.fap-ecommerce-head-side>.fap-status-pill{justify-self:end!important;margin-right:0!important}
.fap-feature-usage-card{width:100%!important;max-width:430px!important;border:1px solid #dfe5ec!important;border-radius:12px!important;background:#fff!important;padding:15px 16px!important;box-shadow:0 10px 28px rgba(15,23,42,.055)!important;color:#172033!important}
.fap-ecommerce-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:0 0 22px!important;align-items:stretch!important}
.fap-ecommerce-metrics .fap-metric{min-height:112px!important;padding:20px 22px!important;border-radius:14px!important;overflow:hidden!important}
.fap-ecommerce-metrics .fap-metric strong{font-size:24px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
.fap-ecommerce-metrics .fap-metric span:last-child{font-size:12px!important;line-height:1.3!important;color:#64748b!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
@media(max-width:1180px){.fap-ecommerce-head{grid-template-columns:1fr!important}.fap-ecommerce-head>div:first-child{padding-top:0!important}.fap-ecommerce-head-side{justify-items:start!important}.fap-feature-usage-card{max-width:100%!important}.fap-ecommerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.fap-ecommerce-metrics{grid-template-columns:1fr!important}.fap-ecommerce-metrics .fap-metric{min-height:96px!important;padding:16px!important}.fap-ecommerce-metrics .fap-metric strong{font-size:22px!important}.fap-feature-usage-card{padding:14px!important}}
/* Final eCommerce summary alignment */
.fap-ecommerce-head{grid-template-columns:minmax(0,1fr) minmax(360px,430px)!important;column-gap:34px!important;margin-bottom:18px!important}
.fap-ecommerce-head>div:first-child{padding-top:46px!important}
.fap-ecommerce-head h1{margin-top:6px!important;margin-bottom:10px!important}
.fap-ecommerce-head p{font-size:14px!important;line-height:1.55!important;color:#475569!important}
.fap-ecommerce-head-side>.fap-status-pill{margin-bottom:4px!important;background:#ecfdf3!important;color:#027a48!important;border:0!important;box-shadow:0 8px 18px rgba(16,185,129,.12)!important}
.fap-feature-usage-card{border-color:#d8e1ec!important;border-radius:12px!important;padding:18px!important;box-shadow:0 12px 30px rgba(15,23,42,.06)!important}
.fap-feature-usage-top{margin-bottom:12px!important}.fap-feature-usage-progress{height:7px!important;margin-bottom:13px!important}.fap-feature-usage-stats{gap:9px!important}.fap-feature-usage-stats span{min-height:45px!important;display:grid!important;place-items:center!important;padding:7px 4px!important}.fap-feature-usage-card p{margin-top:2px!important;max-width:340px!important}.fap-feature-usage-card a{margin-top:9px!important}
.fap-ecommerce-metrics{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin-top:2px!important;margin-bottom:24px!important;clear:both!important}
.fap-ecommerce-metrics .fap-metric{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:16px!important;align-items:center!important;min-height:112px!important;padding:22px 24px!important;border:1px solid #dfe5ec!important;border-radius:14px!important;background:#fff!important;box-shadow:0 10px 26px rgba(15,23,42,.04)!important}
.fap-ecommerce-metrics .fap-metric-icon{width:48px!important;height:48px!important;border-radius:999px!important}.fap-ecommerce-metrics .fap-metric-icon svg{width:22px!important;height:22px!important}
.fap-ecommerce-metrics .fap-metric small{font-size:12px!important;font-weight:800!important;color:#98a2b3!important;line-height:1.2!important;margin-bottom:3px!important}
.fap-ecommerce-metrics .fap-metric strong{font-size:24px!important;font-weight:850!important;line-height:1.15!important;color:#020617!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
.fap-ecommerce-metrics .fap-metric span:last-child{font-size:12px!important;line-height:1.25!important;color:#475569!important;margin-top:3px!important}
@media(max-width:1180px){.fap-ecommerce-head{grid-template-columns:1fr!important}.fap-ecommerce-head>div:first-child{padding-top:0!important}.fap-ecommerce-head-side{justify-items:start!important}.fap-ecommerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.fap-ecommerce-metrics{grid-template-columns:1fr!important}.fap-ecommerce-metrics .fap-metric{grid-template-columns:42px minmax(0,1fr)!important;min-height:96px!important;padding:17px!important}.fap-ecommerce-metrics .fap-metric-icon{width:42px!important;height:42px!important}.fap-ecommerce-head p{font-size:13px!important}}
/* eCommerce metrics row final */
.fap-ecommerce-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important;margin-bottom:26px!important}
.fap-ecommerce-head>div:first-child{padding-top:0!important;min-width:0!important}
.fap-ecommerce-head>.fap-status-pill{flex:0 0 auto!important;background:#ecfdf3!important;color:#027a48!important;border:0!important;box-shadow:0 8px 18px rgba(16,185,129,.12)!important}
.fap-ecommerce-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr)) minmax(320px,1.35fr)!important;gap:14px!important;margin:0 0 24px!important;align-items:stretch!important;clear:both!important}
.fap-ecommerce-metrics .fap-metric{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;column-gap:16px!important;align-items:center!important;min-height:104px!important;padding:18px 20px!important;border:1px solid #dfe5ec!important;border-radius:8px!important;background:#fff!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important;overflow:hidden!important}
.fap-ecommerce-metrics .fap-metric-icon{width:48px!important;height:48px!important;border-radius:999px!important;background:#f3efff!important;color:#635bff!important}
.fap-ecommerce-metrics .fap-metric-icon.warning{background:#fff4e8!important;color:#f97316!important}.fap-ecommerce-metrics .fap-metric-icon.neutral{background:#f3efff!important;color:#635bff!important}.fap-ecommerce-metrics .fap-metric-icon svg{width:22px!important;height:22px!important}
.fap-ecommerce-metrics .fap-metric small{font-size:11px!important;font-weight:800!important;color:#94a3b8!important;line-height:1.2!important;margin-bottom:3px!important}
.fap-ecommerce-metrics .fap-metric strong{font-size:22px!important;font-weight:850!important;line-height:1.15!important;color:#020617!important;white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important}
.fap-ecommerce-metrics .fap-metric span:last-child{font-size:12px!important;line-height:1.25!important;color:#475569!important;margin-top:3px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.fap-ecommerce-metrics>.fap-feature-usage-card{width:100%!important;max-width:none!important;min-height:104px!important;border-radius:8px!important;padding:15px 16px!important;align-self:stretch!important;box-shadow:0 8px 24px rgba(15,23,42,.045)!important}
.fap-ecommerce-metrics .fap-feature-usage-top{margin-bottom:9px!important}.fap-ecommerce-metrics .fap-feature-usage-progress{height:7px!important;margin-bottom:11px!important}.fap-ecommerce-metrics .fap-feature-usage-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-bottom:8px!important}.fap-ecommerce-metrics .fap-feature-usage-stats span{min-height:44px!important;border-radius:8px!important}.fap-ecommerce-metrics .fap-feature-usage-card p{font-size:12px!important;line-height:1.4!important;margin:0!important}.fap-ecommerce-metrics .fap-feature-usage-card a{margin-top:7px!important}
@media(max-width:1280px){.fap-ecommerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-ecommerce-metrics>.fap-feature-usage-card{grid-column:1/-1!important}}
@media(max-width:620px){.fap-ecommerce-head{display:grid!important}.fap-ecommerce-metrics{grid-template-columns:1fr!important}.fap-ecommerce-metrics>.fap-feature-usage-card{grid-column:auto!important}.fap-ecommerce-metrics .fap-metric{grid-template-columns:42px minmax(0,1fr)!important;min-height:92px!important;padding:16px!important}.fap-ecommerce-metrics .fap-metric-icon{width:42px!important;height:42px!important}.fap-ecommerce-metrics .fap-feature-usage-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* Usage card top upgrade link */
.fap-feature-usage-top{display:grid!important;grid-template-columns:auto 1fr auto!important;align-items:center!important;gap:10px!important}
.fap-feature-usage-top a{justify-self:end!important;color:#4f46e5!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important;white-space:nowrap!important}
.fap-feature-usage-top strong{justify-self:end!important}
.fap-feature-usage-card>a{display:none!important}
@media(max-width:560px){.fap-feature-usage-top{grid-template-columns:1fr auto!important}.fap-feature-usage-top a{grid-column:1/2!important;justify-self:start!important}.fap-feature-usage-top strong{grid-column:2/3!important;grid-row:1/3!important}}
/* eCommerce row without queue card */
.fap-ecommerce-metrics{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(420px,1.45fr)!important}
.fap-ecommerce-metrics>.fap-feature-usage-card{min-height:104px!important;padding:18px 20px!important}
@media(max-width:1280px){.fap-ecommerce-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fap-ecommerce-metrics>.fap-feature-usage-card{grid-column:1/-1!important}}
@media(max-width:620px){.fap-ecommerce-metrics{grid-template-columns:1fr!important}.fap-ecommerce-metrics>.fap-feature-usage-card{grid-column:auto!important}}
/* Free trial compact top action */
.fap-feature-usage-card p{display:none!important}
.fap-feature-usage-top{grid-template-columns:auto 1fr auto!important;margin-bottom:14px!important}
.fap-feature-usage-top a{justify-self:end!important;border:0!important;background:transparent!important;color:#4f46e5!important;padding:0!important;font-size:12px!important;font-weight:850!important;line-height:1!important;text-decoration:none!important;white-space:nowrap!important}
.fap-feature-usage-top strong{margin-left:8px!important;font-size:16px!important}
.fap-ecommerce-metrics .fap-feature-usage-stats{margin-bottom:0!important}
/* Final metric text size */
.fap-ecommerce-metrics .fap-metric strong{
	font-size:20px!important;
	font-weight:600!important;
	line-height:1.40!important;
}
/* eCommerce history actions */
.fap-ecommerce-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;grid-column:2!important;grid-row:1/3!important;align-self:center!important}
.fap-ecommerce-actions .fap-mini-action{margin:0!important;border-radius:8px!important;padding:8px 12px!important;min-width:72px!important;justify-content:center!important;text-align:center!important}
@media(max-width:560px){.fap-ecommerce-actions{grid-column:auto!important;grid-row:auto!important;justify-content:flex-start!important;flex-wrap:wrap!important}.fap-ecommerce-actions .fap-mini-action{flex:1 1 92px!important}}
/* eCommerce history desktop layout */
.fap-ecommerce-history-row{grid-template-columns:112px minmax(360px,1fr) auto!important;align-items:center!important;column-gap:16px!important;min-height:104px!important}
.fap-ecommerce-history-row span{grid-column:1!important;grid-row:1/3!important;align-self:start!important}
.fap-ecommerce-history-row strong{grid-column:2!important;grid-row:1!important;display:block!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;font-size:15px!important;line-height:1.35!important}
.fap-ecommerce-history-row small{grid-column:2!important;grid-row:2!important;display:block!important;margin-top:4px!important;font-size:12px!important;line-height:1.35!important;color:#64748b!important}
.fap-ecommerce-actions{grid-column:3!important;grid-row:1/3!important;align-self:center!important;justify-self:end!important;white-space:nowrap!important}
@media(max-width:760px){.fap-ecommerce-history-row{grid-template-columns:1fr!important;min-height:0!important}.fap-ecommerce-history-row span,.fap-ecommerce-history-row strong,.fap-ecommerce-history-row small,.fap-ecommerce-actions{grid-column:auto!important;grid-row:auto!important}.fap-ecommerce-history-row strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.fap-ecommerce-actions{justify-self:start!important;white-space:normal!important}}
/* eCommerce history compact gap */
.fap-ecommerce-history-row{grid-template-columns:128px minmax(360px,1fr) auto!important;column-gap:8px!important}
/* eCommerce history tighter title/date spacing */
.fap-ecommerce-history-row{min-height:82px!important;row-gap:2px!important;align-content:center!important}
.fap-ecommerce-history-row strong{align-self:end!important;line-height:1.25!important}
.fap-ecommerce-history-row small{align-self:start!important;margin-top:0!important;line-height:1.2!important}
/* eCommerce history balanced title/date spacing */
.fap-ecommerce-history-row{min-height:90px!important;row-gap:4px!important}
.fap-ecommerce-history-row small{margin-top:4px!important;line-height:1.25!important}
/* News Automation engine health readability */
.fap-health-list>div,
.fap-health-list strong{
	font-size:15px!important;
	line-height:1.35!important;
}
/* Activity log readability */
.fap-activity strong{
	font-size:12px!important;
	line-height:1.35!important;
}
.fap-activity small{
	font-size:11px!important;
	line-height:1.35!important;
}
/* Manual PhotoCard preview flow */
.fap-inline-warning{
	display:flex!important;
	align-items:center!important;
	gap:10px!important;
	margin:-8px 0 18px!important;
	padding:12px 14px!important;
	border:1px solid #fedf89!important;
	border-radius:12px!important;
	background:#fffbeb!important;
	color:#92400e!important;
	font-size:14px!important;
	font-weight:700!important;
	line-height:1.4!important;
}
.fap-inline-warning svg{width:18px!important;height:18px!important;flex:0 0 auto!important}
.fap-history-thumb{
	width:74px!important;
	height:74px!important;
	display:block!important;
	border:1px solid #e5eaf1!important;
	border-radius:10px!important;
	overflow:hidden!important;
	background:#f8fafc!important;
	box-shadow:0 4px 12px rgba(15,23,42,.06)!important;
}
.fap-history-thumb img{
	width:100%!important;
	height:100%!important;
	display:block!important;
	object-fit:cover!important;
}
.fap-history-no-thumb{
	display:inline-flex!important;
	align-items:center!important;
	min-height:28px!important;
	color:#98a2b3!important;
	font-size:11px!important;
	font-weight:700!important;
}
.fap-history-generating{
	display:inline-flex!important;
	align-items:center!important;
	gap:7px!important;
	min-height:30px!important;
	padding:6px 9px!important;
	border-radius:999px!important;
	background:#f4f3ff!important;
	color:#635bff!important;
	font-size:12px!important;
	font-weight:800!important;
	white-space:nowrap!important;
}
.fap-history-generating i{
	width:8px!important;
	height:8px!important;
	border-radius:50%!important;
	background:#635bff!important;
	box-shadow:0 0 0 0 rgba(99,91,255,.45)!important;
	animation:fapPulse 1.2s infinite!important;
}
.fap-history-failed{
	display:inline-flex!important;
	align-items:center!important;
	min-height:30px!important;
	padding:6px 9px!important;
	border-radius:999px!important;
	background:#fff1f3!important;
	color:#c01048!important;
	font-size:12px!important;
	font-weight:800!important;
}
.fap-preview-generating{
	color:#635bff!important;
	font-weight:800!important;
}
@keyframes fapPulse{
	70%{box-shadow:0 0 0 8px rgba(99,91,255,0)}
	100%{box-shadow:0 0 0 0 rgba(99,91,255,0)}
}
.fap-history-table{min-width:920px!important}
.fap-form-grid{
	align-items:start!important;
}
.fap-form-grid>.fap-field{
	align-self:start!important;
	align-content:start!important;
}
.fap-ai-provider-layout{
	display:grid!important;
	grid-template-columns:minmax(0,2fr) minmax(320px,1fr)!important;
	gap:14px!important;
	align-items:start!important;
}
.fap-ai-provider-main{
	display:grid!important;
	gap:18px!important;
	align-content:start!important;
	min-width:0!important;
}
.fap-ai-note-stack{
	display:grid!important;
	gap:12px!important;
}
.fap-ai-provider-keys{
	align-self:start!important;
	min-width:0!important;
}
@media(max-width:1100px){
	.fap-ai-provider-layout{
		grid-template-columns:1fr!important;
	}
}
.fap-ai-provider-layout{
	grid-template-columns:minmax(0,1.45fr) minmax(560px,1fr)!important;
}
.fap-ai-provider-keys textarea{
	white-space:pre!important;
	overflow:auto!important;
}
@media(max-width:1200px){
	.fap-ai-provider-layout{
		grid-template-columns:1fr!important;
	}
}
.fap-limit-lock{
	gap:6px!important;
	font-weight:400!important;
}
.fap-ai-master-grid{
	grid-template-columns:minmax(270px,1.2fr) minmax(270px,1fr) minmax(270px,1.1fr)!important;
}
.fap-ai-limit-field .fap-limit-lock{
	min-width:270px!important;
	padding-left:16px!important;
	padding-right:16px!important;
}
.fap-limit-lock strong{
	font-size:18px!important;
	line-height:1!important;
	color:#111827!important;
}
.fap-limit-lock span{
	font-size:12px!important;
	color:#64748b!important;
}
.fap-ai-quota-panel{
	align-self:start!important;
	min-width:0!important;
}
.fap-ai-quota-panel .fap-feature-usage-card{
	width:100%!important;
	max-width:none!important;
	min-height:210px!important;
	box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}
.fap-ai-quota-panel .fap-feature-usage-top{
	grid-template-columns:1fr auto!important;
	margin-bottom:12px!important;
}
.fap-ai-quota-panel .fap-feature-usage-card p{
	display:block!important;
	margin:12px 0 0!important;
	max-width:none!important;
	color:#64748b!important;
	font-size:12px!important;
	line-height:1.5!important;
}
.fap-ai-quota-panel .fap-feature-upgrade-btn{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	min-height:38px!important;
	margin-top:12px!important;
	border-radius:9px!important;
	background:#635bff!important;
	color:#fff!important;
	padding:9px 14px!important;
	font-size:12px!important;
	font-weight:800!important;
	text-decoration:none!important;
	box-shadow:0 7px 18px rgba(99,91,255,.22)!important;
}
.fap-n8n-price-card.is-active-plan{
	border-color:#635bff!important;
	box-shadow:0 12px 30px rgba(99,91,255,.1)!important;
}
.fap-active-plan-badge{
	position:absolute!important;
	top:14px!important;
	right:16px!important;
	z-index:2!important;
	display:inline-flex!important;
	align-items:center!important;
	min-height:26px!important;
	border-radius:999px!important;
	background:#ecfdf3!important;
	color:#027a48!important;
	border:1px solid #abefc6!important;
	padding:5px 9px!important;
	font-size:11px!important;
	font-weight:850!important;
}
.fap-n8n-price-card .fap-plan-select.is-active-plan,
.fap-n8n-price-card .fap-plan-select.is-active-plan:disabled{
	background:#eef2f7!important;
	color:#475569!important;
	cursor:not-allowed!important;
	border:1px solid #d9e0ea!important;
	box-shadow:none!important;
	opacity:1!important;
}
.fap-ai-manual-schedule{
	display:none!important;
	margin-top:18px!important;
	border:1px solid #e5eaf1!important;
	border-radius:14px!important;
	background:#fbfcff!important;
	padding:16px!important;
}
.fap-ai-manual-schedule.is-open{
	display:block!important;
}
.fap-manual-head{
	display:flex!important;
	align-items:flex-start!important;
	justify-content:space-between!important;
	gap:14px!important;
	margin-bottom:14px!important;
}
.fap-manual-head h3{
	margin:3px 0 0!important;
	font-size:16px!important;
	line-height:1.25!important;
	color:#111827!important;
}
.fap-manual-head em{
	font-style:normal!important;
	border:1px solid #ddd6fe!important;
	background:#f5f3ff!important;
	color:#5b21b6!important;
	border-radius:999px!important;
	padding:6px 9px!important;
	font-size:11px!important;
	font-weight:800!important;
	white-space:nowrap!important;
}
.fap-manual-head-actions{
	display:flex!important;
	align-items:center!important;
	justify-content:flex-end!important;
	flex-wrap:wrap!important;
	gap:8px!important;
	min-width:0!important;
}
.fap-manual-distribute{
	min-height:34px!important;
	padding:7px 11px!important;
	border-radius:8px!important;
	font-size:11px!important;
	white-space:nowrap!important;
}
.fap-manual-distribute svg{
	width:14px!important;
	height:14px!important;
}
.fap-manual-distribute.is-complete{
	border-color:#12b76a!important;
	background:#ecfdf3!important;
	color:#027a48!important;
}
.fap-manual-feedback{
	margin:-3px 0 12px!important;
	border:1px solid transparent!important;
	border-radius:8px!important;
	padding:8px 10px!important;
	font-size:11px!important;
	font-weight:700!important;
	line-height:1.4!important;
}
.fap-manual-feedback[hidden]{display:none!important}
.fap-manual-feedback.is-success{
	border-color:#abefc6!important;
	background:#ecfdf3!important;
	color:#027a48!important;
}
.fap-manual-feedback.is-error{
	border-color:#fecaca!important;
	background:#fff5f5!important;
	color:#b42318!important;
}
.fap-manual-grid{
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	gap:10px!important;
	max-height:420px!important;
	overflow:auto!important;
	padding-right:2px!important;
}
.fap-manual-slot{
	display:grid!important;
	grid-template-columns:minmax(90px,.75fr) minmax(0,1fr) minmax(0,1fr)!important;
	align-items:end!important;
	gap:10px!important;
	border:1px solid #e5eaf1!important;
	border-radius:10px!important;
	background:#fff!important;
	padding:10px!important;
}
.fap-manual-slot strong{
	align-self:center!important;
	font-size:12px!important;
	color:#172033!important;
}
.fap-manual-slot label{
	display:grid!important;
	gap:4px!important;
	font-size:10px!important;
	font-weight:700!important;
	color:#64748b!important;
}
.fap-manual-slot input{
	width:100%!important;
	min-height:38px!important;
	border:1px solid #dfe4ea!important;
	border-radius:8px!important;
	background:#fff!important;
	padding:0 9px!important;
	color:#344054!important;
	font:inherit!important;
	font-size:13px!important;
	font-weight:400!important;
}
@media(max-width:900px){
	.fap-manual-grid{
		grid-template-columns:1fr!important;
		max-height:none!important;
	}
}
@media(max-width:560px){
	.fap-manual-head{
		display:grid!important;
	}
	.fap-manual-head-actions{
		justify-content:flex-start!important;
	}
	.fap-manual-slot{
		grid-template-columns:1fr!important;
	}
}
.fap-pricing-head h1{
	font-size:35px!important;
	font-weight:600!important;
	line-height:normal!important;
	letter-spacing:-.9px!important;
}

.fap-content{position:relative}.fap-content.is-ajax-loading{opacity:.82;pointer-events:none;transition:opacity .08s ease}.fap-app.is-ajax-loading .fap-main:before{content:"";position:fixed;left:255px;right:0;top:0;height:3px;z-index:90;background:linear-gradient(90deg,#635bff,#22c55e,#635bff);background-size:180% 100%;animation:fapAjaxBar .7s linear infinite}@keyframes fapAjaxBar{0%{background-position:0 0}100%{background-position:180% 0}}@media(max-width:900px){.fap-app.is-ajax-loading .fap-main:before{left:0}}
.fap-ai-disclaimer{
	display:flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:9px!important;
	width:max-content!important;
	max-width:100%!important;
	margin:96px auto 0!important;
	padding:8px 12px!important;
	border:1px solid #eef1f5!important;
	border-radius:999px!important;
	background:#fff!important;
	color:#64748b!important;
	font-size:12px!important;
	font-weight:650!important;
	line-height:1.45!important;
}
.fap-ai-disclaimer svg{
	width:16px!important;
	height:16px!important;
	color:#635bff!important;
	flex:0 0 auto!important;
}
.fap-ai-disclaimer span{
	overflow-wrap:anywhere!important;
}
.fap-app .fap-page-head > div,
.fap-app .fap-pricing-head-copy{
	max-width:640px!important;
	min-width:0!important;
}
.fap-app .fap-page-head h1,
.fap-app .fap-page-head p,
.fap-app .fap-pricing-head h1,
.fap-app .fap-pricing-head p{
	font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
}
.fap-app .fap-page-head h1,
.fap-app .fap-pricing-head h1{
	font-size:30px!important;
	line-height:1.16!important;
	letter-spacing:0!important;
	font-weight:700!important;
	max-width:100%!important;
}
.fap-app .fap-page-head p,
.fap-app .fap-pricing-head p{
	max-width:600px!important;
	font-size:14px!important;
	line-height:1.65!important;
	font-weight:400!important;
	color:#5b6475!important;
}
.fap-ai-library-head h1{
	display:none!important;
}
.fap-ai-library-head p{
	max-width:760px!important;
	font-family:"Noto Serif Bengali","Inter",Georgia,serif!important;
	font-size:16px!important;
	line-height:1.55!important;
	font-weight:500!important;
	display:-webkit-box!important;
	-webkit-box-orient:vertical!important;
	-webkit-line-clamp:2!important;
	overflow:hidden!important;
}

/* AI Library table restored grid borders */
.fap-history-table-wrap{
	border:1px solid #d0d7e2!important;
	border-radius:0!important;
	background:#fff!important;
}
.fap-ai-library-panel .fap-history-table-wrap{
	max-height:680px;
	max-height:min(68vh,680px);
	overflow-x:auto!important;
	overflow-y:auto!important;
	scrollbar-width:thin;
	scrollbar-color:#98a2b3 #f2f4f7;
}
.fap-ai-library-panel .fap-history-table-wrap::-webkit-scrollbar{width:9px;height:9px}
.fap-ai-library-panel .fap-history-table-wrap::-webkit-scrollbar-track{background:#f2f4f7}
.fap-ai-library-panel .fap-history-table-wrap::-webkit-scrollbar-thumb{
	background:#98a2b3;
	border:2px solid #f2f4f7;
	border-radius:8px;
}
.fap-ai-library-panel .fap-history-table thead{
	position:sticky;
	top:0;
	z-index:2;
	background:#fff;
}
.fap-history-table{
	border-collapse:collapse!important;
	table-layout:fixed!important;
	width:100%!important;
}
.fap-history-table th{
	border-bottom:1px solid #d0d7e2!important;
}
.fap-history-table th,
.fap-history-table td{
	border-right:1px solid #d0d7e2!important;
}
.fap-history-table th:last-child,
.fap-history-table td:last-child{
	border-right:0!important;
}
.fap-history-table td{
	border-top:1px solid #d0d7e2!important;
	vertical-align:top!important;
}
.fap-history-table td.fap-ai-actions-cell{
	padding-top:16px!important;
	padding-bottom:16px!important;
}
.fap-history-table td .fap-dt-stack{
	display:block!important;
	padding:0!important;
	border:0!important;
	border-radius:0!important;
	background:transparent!important;
	box-shadow:none!important;
}
.fap-history-table th:nth-child(1),
.fap-history-table td.fap-ai-content-cell{
	width:42%!important;
}
.fap-history-table th:nth-child(2),
.fap-history-table td:nth-child(2){
	width:8%!important;
}
.fap-history-table th:nth-child(3),
.fap-history-table td:nth-child(3){
	width:12%!important;
}
.fap-history-table th:nth-child(4),
.fap-history-table td:nth-child(4){
	width:10%!important;
}
.fap-history-table th:nth-child(5),
.fap-history-table td:nth-child(5){
	width:10%!important;
}
.fap-history-table th:nth-child(6),
.fap-history-table td:nth-child(6){
	width:18%!important;
}
.fap-ai-content-title,
.fap-ai-content-preview{
	display:block!important;
	font-family:"Noto Serif Bengali","Inter",Georgia,serif!important;
	max-width:100%!important;
	overflow-wrap:anywhere!important;
	word-break:normal!important;
	letter-spacing:0!important;
}
.fap-ai-content-title{
	margin:0!important;
	color:#101828!important;
	font-size:13px!important;
	line-height:1.55!important;
	font-weight:700!important;
}
.fap-ai-content-preview{
	margin-top:0!important;
	color:#4e525c!important;
	font-size:14px!important;
	line-height:1.6!important;
	font-weight:500!important;
	display:-webkit-box!important;
	-webkit-box-orient:vertical!important;
	-webkit-line-clamp:2!important;
	overflow:hidden!important;
}
.fap-ai-actions-wrap{
	display:flex!important;
	flex-wrap:nowrap!important;
	gap:8px!important;
	align-items:center!important;
	justify-content:flex-start!important;
	overflow-x:auto!important;
	scrollbar-width:none!important;
	padding-bottom:2px!important;
}
.fap-ai-actions-wrap::-webkit-scrollbar{
	display:none!important;
}
.fap-ai-actions-wrap .fap-inline-form,
.fap-ai-actions-wrap > a{
	display:inline-flex!important;
	margin:0!important;
	flex:0 0 auto!important;
}
.fap-ai-actions-wrap .fap-mini-action{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:6px!important;
	min-height:34px!important;
	padding:7px 11px!important;
	border-radius:9px!important;
	font-size:12px!important;
	font-weight:750!important;
	line-height:1!important;
	letter-spacing:0!important;
	white-space:nowrap!important;
	box-shadow:0 1px 0 rgba(15,23,42,.03)!important;
}
.fap-ai-actions-wrap .fap-mini-action.icon-only{
	min-width:34px!important;
	width:auto!important;
	max-width:34px!important;
	padding:0 10px!important;
	gap:0!important;
	overflow:hidden!important;
	transition:max-width .28s cubic-bezier(.22,1,.36,1),padding .28s cubic-bezier(.22,1,.36,1),background .2s ease,box-shadow .2s ease,transform .2s ease!important;
	justify-content:center!important;
}
.fap-ai-actions-wrap .fap-mini-action.icon-only:hover,
.fap-ai-actions-wrap .fap-mini-action.icon-only:focus-visible{
	max-width:160px!important;
	padding:0 12px!important;
	justify-content:flex-start!important;
}
.fap-ai-actions-wrap .fap-mini-action svg{
	width:14px!important;
	height:14px!important;
	flex:0 0 auto!important;
}
.fap-ai-actions-wrap .fap-mini-action.view{
	background:#eef4ff!important;
	color:#175cd3!important;
}
.fap-ai-actions-wrap .fap-mini-action.approve{
	background:#ecfdf3!important;
	color:#067647!important;
}
.fap-ai-actions-wrap .fap-mini-action.reject{
	background:#fff1f2!important;
	color:#be123c!important;
}
.fap-ai-actions-wrap .fap-mini-action:hover{
	transform:translateY(-1px);
	box-shadow:0 6px 14px rgba(15,23,42,.08)!important;
}
.fap-ai-actions-wrap .fap-mini-action.icon-only span{
	display:inline-block!important;
	max-width:0!important;
	overflow:hidden!important;
	opacity:0!important;
	transform:translateX(-4px)!important;
	white-space:nowrap!important;
	transition:max-width .28s cubic-bezier(.22,1,.36,1),opacity .2s ease,transform .28s cubic-bezier(.22,1,.36,1),margin-left .28s cubic-bezier(.22,1,.36,1)!important;
}
.fap-ai-actions-wrap .fap-mini-action.icon-only:hover span,
.fap-ai-actions-wrap .fap-mini-action.icon-only:focus-visible span{
	max-width:120px!important;
	opacity:1!important;
	transform:translateX(0)!important;
	margin-left:6px!important;
}
@media(max-width:760px){
	.fap-ai-actions-wrap{
		flex-wrap:wrap!important;
		overflow:visible!important;
	}
}

/* Active package merge summary */
.fap-active-packages{
	display:grid!important;
	grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;
	gap:10px!important;
	margin:0 0 14px!important;
}
.fap-active-package-card{
	border:1px solid #d7f2df!important;
	border-radius:12px!important;
	background:#f0fdf4!important;
	padding:12px 14px!important;
	display:grid!important;
	gap:4px!important;
	min-width:0!important;
}
.fap-active-package-card span{
	color:#027a48!important;
	font-size:10px!important;
	font-weight:850!important;
	text-transform:uppercase!important;
	letter-spacing:.08em!important;
}
.fap-active-package-card strong{
	color:#064e3b!important;
	font-size:16px!important;
	line-height:1.25!important;
}
.fap-active-package-card small{
	color:#166534!important;
	font-size:11px!important;
	line-height:1.35!important;
	overflow-wrap:anywhere!important;
}
.fap-expiry-countdown{
	color:#027a48!important;
	font-weight:800!important;
}
.fap-expiry-countdown.is-expired{
	color:#b42318!important;
}
.fap-regular-price{
	display:flex!important;
	align-items:center!important;
	gap:8px!important;
	min-height:24px!important;
	margin:0 0 6px!important;
	color:#667085!important;
	font-size:13px!important;
	line-height:1.2!important;
	white-space:normal!important;
}
.fap-regular-price span{
	font-weight:650!important;
}
.fap-regular-price del{
	color:#7b8494!important;
	font-weight:600!important;
	text-decoration-color:#a9b1bf!important;
	text-decoration-thickness:1px!important;
	text-underline-offset:2px!important;
}
.fap-regular-price strong{
	display:inline-flex!important;
	align-items:center!important;
	min-height:22px!important;
	border-radius:999px!important;
	background:#ecfdf3!important;
	color:#027a48!important;
	padding:3px 8px!important;
	font-size:11px!important;
	font-weight:850!important;
	white-space:nowrap!important;
}

/* Keep account avatars stable in both the sidebar and compact top bar. */
.fapa-avatar-shell{
	box-sizing:border-box!important;
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	flex:0 0 auto!important;
	overflow:hidden!important;
	border-radius:50%!important;
	line-height:1!important;
	text-align:center!important;
	background:#eef2ff!important;
	color:#4338ca!important;
}
.fapa-avatar-shell.fapa-avatar-fallback{font-size:14px!important;font-weight:700!important}
.fapa-avatar-shell > img.fapa-avatar-image{
	display:block!important;
	width:100%!important;
	height:100%!important;
	object-fit:cover!important;
	border-radius:50%!important;
}
.fapa-avatar-shell > .fapa-avatar-fallback{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:100%!important;
	height:100%!important;
	font-size:14px!important;
	font-weight:700!important;
	line-height:1!important;
	text-align:center!important;
	white-space:nowrap!important;
}
.fapa-avatar-shell > [hidden]{display:none!important}
.fap-user-mini > .fapa-avatar-shell,
.fap-profile-row > .fapa-avatar-shell,
.fap-top-profile > .fapa-avatar-shell{
	box-sizing:border-box!important;
	flex:0 0 auto!important;
	overflow:hidden!important;
	border-radius:50%!important;
}
.fap-user-mini > .fapa-avatar-shell{width:32px!important;height:32px!important}
.fap-top-profile > .fapa-avatar-shell{width:32px!important;height:32px!important}
.fap-top-profile > .fapa-avatar-shell:not(.fapa-avatar-fallback){display:block!important}
.fap-top-profile .fapa-avatar-shell > .fapa-avatar-fallback{
	display:inline-flex!important;
}
.fap-top-profile .fapa-avatar-shell > .fapa-avatar-fallback[hidden]{display:none!important}
.fap-user-mini > .fap-avatar,
.fap-profile-row > .fap-avatar,
.fap-top-profile > .fap-top-profile-avatar{
	box-sizing:border-box!important;
	flex:0 0 auto!important;
	overflow:hidden!important;
	border-radius:50%!important;
}
.fap-user-mini > span.fapa-avatar-fallback,
.fap-profile-row > span.fapa-avatar-fallback,
.fap-top-profile > span.fapa-avatar-fallback{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	text-align:center!important;
	line-height:1!important;
	font-size:14px!important;
	font-weight:700!important;
	white-space:nowrap!important;
}
.fap-user-mini > img.fap-avatar,
.fap-profile-row > img.fap-avatar,
.fap-top-profile > img.fap-top-profile-avatar{
	display:block!important;
	object-fit:cover!important;
}

/* Feature-level 30-day usage charts. */
.fap-feature-usage-section{margin-top:22px}
.fap-feature-usage-section>.fap-panel-head{margin-bottom:14px}
.fap-feature-usage-section>.fap-panel-head p{margin:4px 0 0;color:#98a2b3;font-size:10px}
.fap-feature-usage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.fap-feature-usage-card{min-width:0;padding:17px;border:1px solid #e7eaf1;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(16,24,40,.035)}
.fap-feature-usage-card.is-inactive{background:#fbfbfc}
.fap-feature-usage-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.fap-feature-usage-card-head h3{margin:3px 0 0;font-size:14px;line-height:1.25;color:#172033}
.fap-feature-usage-status{display:inline-flex;align-items:center;min-height:22px;padding:4px 8px;border-radius:999px;background:#ecfdf3;color:#027a48;font-size:9px;font-weight:750;white-space:nowrap}
.fap-feature-usage-card.is-inactive .fap-feature-usage-status{background:#f2f4f7;color:#667085}
.fap-feature-usage-total{display:flex;align-items:baseline;gap:7px;margin-top:14px}
.fap-feature-usage-total strong{font-size:24px;line-height:1;color:#101828}
.fap-feature-usage-total span{font-size:10px;color:#98a2b3}
.fap-feature-usage-chart{height:170px;display:grid;grid-template-columns:repeat(30,minmax(7px,1fr));align-items:end;gap:3px;margin-top:12px;padding:12px 0 22px;border-bottom:1px solid #edf0f4;overflow:hidden}
.fap-feature-usage-day{height:100%;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}
.fap-feature-usage-day:hover .fap-feature-usage-bar{background:#4f46e5}
.fap-feature-usage-bar{position:relative;width:100%;min-height:2px;border-radius:4px 4px 2px 2px;background:#8b7cf6;transition:background .15s ease}
.fap-feature-usage-bar i{position:absolute;left:0;right:0;bottom:0;display:block;border-radius:4px 4px 2px 2px;background:#12b76a}
.fap-feature-usage-bar b{position:absolute;left:0;right:0;display:block;border-radius:2px;background:#f04438}
.fap-feature-usage-day small{height:12px;color:#98a2b3;font-size:8px;line-height:12px;white-space:nowrap}
.fap-feature-usage-legend{display:flex;flex-wrap:wrap;gap:10px 14px;margin-top:12px;color:#667085;font-size:9px}
.fap-feature-usage-legend span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.fap-feature-usage-legend i{width:7px;height:7px;border-radius:2px;background:#8b7cf6}
.fap-feature-usage-legend i.published{background:#12b76a}
.fap-feature-usage-legend i.failed{background:#f04438}
.fap-feature-usage-legend b{color:#344054;font-weight:750}
@media(max-width:900px){.fap-feature-usage-grid{grid-template-columns:1fr}}
@media(max-width:520px){.fap-feature-usage-card{padding:14px}.fap-feature-usage-chart{gap:2px}.fap-feature-usage-total strong{font-size:21px}}

/* Keep the selected feature card content comfortably inside its border. */
.fap-feature-usage-card{padding:24px!important}
@media(max-width:520px){.fap-feature-usage-card{padding:18px!important}}

html body.afp-saas-dashboard-page .fap-app .fap-feature-usage-section .fap-feature-usage-grid > article.fap-feature-usage-card.is-active,
html body.afp-saas-dashboard-page .fap-app .fap-feature-usage-section .fap-feature-usage-grid > article.fap-feature-usage-card.is-inactive{
	padding:24px!important;
}
@media(max-width:520px){
	html body.afp-saas-dashboard-page .fap-app .fap-feature-usage-section .fap-feature-usage-grid > article.fap-feature-usage-card.is-active,
	html body.afp-saas-dashboard-page .fap-app .fap-feature-usage-section .fap-feature-usage-grid > article.fap-feature-usage-card.is-inactive{
		padding:18px!important;
	}
}

/* Final responsive overrides for the AI setup fields. */
.fap-ai-master-grid{
	grid-template-columns:repeat(3,minmax(0,1fr))!important;
	width:100%!important;
	min-width:0!important;
}
.fap-ai-master-grid>.fap-field{
	min-width:0!important;
}
.fap-ai-master-grid>.fap-field>input,
.fap-ai-master-grid>.fap-field>select,
.fap-ai-master-grid>.fap-field>.fap-readonly-value,
.fap-ai-master-grid>.fap-field>.fap-time-control{
	width:100%!important;
	max-width:100%!important;
	min-width:0!important;
	box-sizing:border-box!important;
}
.fap-field>.fap-readonly-value,
.fap-ai-limit-field>.fap-limit-lock{
	grid-column:1/-1!important;
	width:100%!important;
	min-width:0!important;
	box-sizing:border-box!important;
}
.fap-ai-limit-field>span{
	white-space:nowrap!important;
}
@media(max-width:1100px){
	.fap-ai-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
	.fap-ai-limit-field .fap-limit-lock{min-width:0!important}
}
@media(max-width:760px){
	.fap-ai-master-grid{grid-template-columns:minmax(0,1fr)!important}
	.fap-ai-limit-field .fap-limit-lock{min-width:0!important}
}

/* Consistent AM/PM display with a native clock picker. */
.fap-time-control>input[data-fap-time-display]{
	padding-right:46px!important;
}
.fap-time-control>input[data-fap-time-picker]{
	position:absolute!important;
	width:1px!important;
	height:1px!important;
	min-width:1px!important;
	min-height:1px!important;
	right:10px!important;
	top:50%!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	opacity:0!important;
	pointer-events:none!important;
	transform:translateY(-50%)!important;
}
.fap-time-picker-button{
	position:absolute!important;
	top:50%!important;
	right:5px!important;
	width:34px!important;
	height:34px!important;
	min-width:34px!important;
	min-height:34px!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	border-radius:7px!important;
	background:transparent!important;
	color:#667085!important;
	display:grid!important;
	place-items:center!important;
	cursor:pointer!important;
	transform:translateY(-50%)!important;
	box-shadow:none!important;
}
.fap-time-picker-button:hover,
.fap-time-picker-button:focus-visible{
	background:#f2f4f7!important;
	color:#344054!important;
	outline:none!important;
}
.fap-time-picker-button:focus-visible{
	box-shadow:0 0 0 3px rgba(99,91,255,.12)!important;
}
.fap-time-picker-button svg{
	width:17px!important;
	height:17px!important;
	fill:none!important;
	stroke:currentColor!important;
}

/* Let manual time cards respond to their panel width, not only the viewport. */
.fap-manual-grid{
	grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important;
}
.fap-manual-slot{
	grid-template-columns:repeat(2,minmax(0,1fr))!important;
	align-items:start!important;
}
.fap-manual-slot>strong{
	grid-column:1/-1!important;
	align-self:start!important;
	margin:0 0 2px!important;
}
.fap-manual-slot>label{
	min-width:0!important;
}
.fap-manual-slot .fap-time-control,
.fap-manual-slot .fap-time-control>input[data-fap-time-display]{
	width:100%!important;
	max-width:100%!important;
	min-width:0!important;
	box-sizing:border-box!important;
}
@media(max-width:420px){
	.fap-manual-slot{
		grid-template-columns:minmax(0,1fr)!important;
	}
	.fap-manual-slot>strong{
		grid-column:auto!important;
	}
}

/* Keep the four AI summary metrics readable on compact monitors. */
@media(max-width:1440px){
	.fap-metrics{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}
	.fap-metric strong,
	.fap-metric span:last-child{
		white-space:normal!important;
		overflow:visible!important;
		text-overflow:clip!important;
	}
}
@media(max-width:520px){
	.fap-metrics{
		grid-template-columns:minmax(0,1fr)!important;
	}
}

/* Recent AI drafts: switch the wide table to touch-friendly cards. */
@media(max-width:1100px){
	.fap-ai-library-panel>.fap-panel-head{
		display:grid!important;
		grid-template-columns:minmax(0,1fr)!important;
		gap:14px!important;
		align-items:start!important;
	}
	.fap-ai-library-panel .fap-panel-actions{
		display:flex!important;
		flex-wrap:wrap!important;
		justify-content:flex-start!important;
		align-items:center!important;
		width:100%!important;
		gap:10px!important;
	}
	.fap-ai-library-panel .fap-panel-actions form{
		margin:0!important;
	}
	.fap-ai-library-panel .fap-history-table-wrap{
		max-height:none!important;
		overflow:visible!important;
		border:0!important;
		background:transparent!important;
	}
	.fap-ai-library-panel .fap-history-table{
		display:block!important;
		width:100%!important;
		min-width:0!important;
		border:0!important;
		background:transparent!important;
	}
	.fap-ai-library-panel .fap-history-table thead{
		display:none!important;
	}
	.fap-ai-library-panel .fap-history-table tbody{
		display:grid!important;
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:12px!important;
		width:100%!important;
	}
	.fap-ai-library-panel .fap-history-table tr{
		display:grid!important;
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		align-content:start!important;
		min-width:0!important;
		border:1px solid #d8e0eb!important;
		border-radius:8px!important;
		background:#fff!important;
		overflow:hidden!important;
		box-shadow:0 8px 24px rgba(15,23,42,.04)!important;
	}
	.fap-ai-library-panel .fap-history-table td,
	.fap-ai-library-panel .fap-history-table td:nth-child(n){
		display:block!important;
		width:auto!important;
		min-width:0!important;
		padding:12px 14px!important;
		border:0!important;
		border-top:1px solid #eef2f6!important;
		background:#fff!important;
		vertical-align:top!important;
		text-align:left!important;
		box-sizing:border-box!important;
	}
	.fap-ai-library-panel .fap-history-table td::before{
		content:attr(data-label)!important;
		display:block!important;
		margin:0 0 7px!important;
		color:#8491a7!important;
		font-size:10px!important;
		line-height:1.2!important;
		font-weight:800!important;
		letter-spacing:.08em!important;
		text-transform:uppercase!important;
	}
	.fap-ai-library-panel .fap-history-table td.fap-ai-content-cell{
		grid-column:1/-1!important;
		padding:15px 16px!important;
		border-top:0!important;
	}
	.fap-ai-library-panel .fap-history-table td.fap-ai-actions-cell{
		grid-column:1/-1!important;
		padding:11px 14px!important;
		background:#f8fafc!important;
	}
	.fap-ai-library-panel .fap-ai-content-preview{
		-webkit-line-clamp:3!important;
		font-size:14px!important;
		line-height:1.55!important;
	}
	.fap-ai-library-panel .fap-ai-thumb{
		width:54px!important;
		height:54px!important;
		object-fit:cover!important;
	}
	.fap-ai-library-panel .fap-ai-actions-wrap{
		flex-wrap:wrap!important;
		overflow:visible!important;
		padding:0!important;
	}
	.fap-ai-library-panel .fap-ai-actions-wrap .fap-mini-action.icon-only{
		width:auto!important;
		max-width:none!important;
		min-width:34px!important;
		padding:0 11px!important;
		gap:6px!important;
	}
	.fap-ai-library-panel .fap-ai-actions-wrap .fap-mini-action.icon-only span{
		max-width:120px!important;
		opacity:1!important;
		transform:none!important;
		margin-left:0!important;
	}
}

@media(max-width:760px){
	.fap-ai-library-panel{
		padding:14px!important;
	}
	.fap-ai-library-panel .fap-history-table tbody{
		grid-template-columns:minmax(0,1fr)!important;
	}
	.fap-ai-library-panel .fap-panel-actions{
		display:grid!important;
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
	}
	.fap-ai-library-panel .fap-panel-actions .fap-count-badge{
		grid-column:1/-1!important;
		justify-self:start!important;
	}
	.fap-ai-library-panel .fap-panel-actions form,
	.fap-ai-library-panel .fap-panel-actions button{
		width:100%!important;
		min-width:0!important;
	}
	.fap-ai-library-panel .fap-panel-actions form:only-of-type{
		grid-column:1/-1!important;
	}
}

@media(max-width:480px){
	.fap-ai-library-panel .fap-panel-actions{
		grid-template-columns:minmax(0,1fr)!important;
	}
	.fap-ai-library-panel .fap-history-table tr{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		grid-template-areas:
			"content content"
			"image status"
			"niche updated"
			"actions actions"!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(1){
		grid-area:content!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(2){
		grid-area:image!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(3){
		grid-area:niche!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(2),
	.fap-ai-library-panel .fap-history-table td:nth-child(3){
		border-right:1px solid #eef2f6!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(4){
		grid-area:status!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(5){
		grid-area:updated!important;
	}
	.fap-ai-library-panel .fap-history-table td:nth-child(6){
		grid-area:actions!important;
	}
}

/* Keep the compact mobile brand visually flush with the right edge. */
@media(max-width:640px){
	.fap-topbar{
		padding-left:12px!important;
		padding-right:8px!important;
	}
	.fap-top-title{
		min-width:0!important;
		flex:1 1 auto!important;
	}
	.fap-top-actions{
		margin-left:auto!important;
		flex:0 0 auto!important;
	}
	.fap-mobile-brand{
		margin-left:auto!important;
		justify-content:flex-end!important;
	}
	.fap-mobile-brand img{
		width:106px!important;
		max-width:106px!important;
		height:auto!important;
	}
	.fap-metrics[data-fap-ai-status]{
		display:grid!important;
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:10px!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric{
		min-width:0!important;
		padding:13px!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric[data-fap-ai-stat="daily"]{
		order:1!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric[data-fap-ai-stat="requests"]{
		order:2!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric[data-fap-ai-stat="ready"]{
		order:3!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric[data-fap-ai-stat="next_run"]{
		order:4!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric strong{
		font-size:20px!important;
		line-height:1.18!important;
		white-space:normal!important;
		overflow:visible!important;
		text-overflow:clip!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric small{
		font-size:11px!important;
		line-height:1.25!important;
	}
	.fap-metrics[data-fap-ai-status] .fap-metric span:last-child{
		font-size:10px!important;
		line-height:1.35!important;
		white-space:normal!important;
	}
	.fap-ai-master-grid{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:13px 10px!important;
	}
	.fap-ai-master-grid>.fap-field:not(.fap-ai-time-field){
		grid-column:1/-1!important;
	}
	.fap-ai-master-grid>.fap-ai-time-field{
		grid-column:auto!important;
	}
	.fap-ai-master-grid>.fap-ai-time-field input[data-fap-time-display]{
		padding-left:10px!important;
		padding-right:36px!important;
		font-size:13px!important;
	}
	.fap-ai-master-grid>.fap-ai-time-field .fap-time-picker-button{
		right:2px!important;
		width:30px!important;
		min-width:30px!important;
	}
	.fap-manual-slot{
		grid-template-columns:repeat(2,minmax(0,1fr))!important;
		gap:10px!important;
	}
	.fap-manual-slot>strong{
		grid-column:1/-1!important;
	}
	.fap-manual-slot .fap-time-control>input[data-fap-time-display]{
		padding-left:10px!important;
		padding-right:36px!important;
		font-size:13px!important;
	}
	.fap-manual-slot .fap-time-picker-button{
		right:2px!important;
		width:30px!important;
		min-width:30px!important;
	}
	.fap-time-control>input[data-fap-time-picker]{
		left:0!important;
		right:auto!important;
	}
}

/* Keep AI draft actions on one stable row in every viewport. */
.fap-ai-edit-actions{
	display:flex!important;
	align-items:center!important;
	justify-content:flex-end!important;
	flex-wrap:nowrap!important;
	gap:10px!important;
	width:100%!important;
}
.fap-ai-edit-actions .fap-ai-edit-post-form{
	display:inline-flex!important;
	margin:0 auto 0 0!important;
}
.fap-ai-edit-actions .fap-primary-btn,
.fap-ai-edit-actions .fap-secondary-btn{
	flex:0 0 auto!important;
	white-space:nowrap!important;
}
.fap-preview-modal[hidden]{
	display:none!important;
}
.fap-ai-post-now-button{
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	gap:7px!important;
	border:1px solid rgba(24,119,242,.18)!important;
	border-radius:8px!important;
	background:rgba(24,119,242,.035)!important;
	color:#1877f2!important;
	box-shadow:none!important;
}
.fap-ai-post-now-button:hover,
.fap-ai-post-now-button:focus-visible{
	border-color:rgba(24,119,242,.28)!important;
	background:rgba(24,119,242,.07)!important;
	color:#1468d2!important;
}
.fap-ai-post-now-button svg{
	width:15px!important;
	height:15px!important;
	flex:0 0 auto!important;
}
@media(max-width:480px){
	.fap-ai-edit-actions{
		gap:8px!important;
	}
	.fap-ai-edit-actions .fap-primary-btn,
	.fap-ai-edit-actions .fap-secondary-btn{
		min-height:40px!important;
		padding-left:12px!important;
		padding-right:12px!important;
		font-size:12px!important;
	}
}

/* Five pricing tabs: equal desktop columns, one swipeable row on smaller screens. */
.fap-package-builder .fap-package-tabs {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px!important;
    max-width:100%;
    min-width:0;
}
.fap-package-builder .fap-package-tab {
    min-width:0!important;
    gap:8px!important;
    padding:10px!important;
}
.fap-package-builder .fap-package-tab strong {
    white-space:nowrap!important;
    font-size:13px!important;
}
@media(max-width:1200px) {
    .fap-package-builder .fap-package-tabs {
        display:flex!important;
        flex-wrap:nowrap!important;
        overflow-x:auto;
        overscroll-behavior-x:contain;
        scroll-snap-type:x proximity;
        scrollbar-width:thin;
        padding-bottom:8px;
    }
    .fap-package-builder .fap-package-tab {
        flex:0 0 auto!important;
        width:auto!important;
        min-height:52px!important;
        scroll-snap-align:start;
    }
    .fap-package-builder .fap-package-tab strong {
        overflow:visible!important;
        text-overflow:clip!important;
    }
}

.fap-facebook-line{margin-top:16px}.fap-facebook-line>small{color:#667085;font-size:11px}.fap-facebook-line svg{display:block;width:100%;height:110px;margin-top:8px}.fap-live-usage-updated{font-size:12px;color:#667085;text-align:right}
.fap-nav-greetings-subgroup{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.fap-nav-greetings-subgroup .fap-nav-subitem{min-height:34px!important;padding:7px 10px!important;color:#667085!important;transition:background .15s,color .15s}.fap-nav-greetings-subgroup .fap-nav-subitem:hover{background:#f0f3f8!important;color:#26364b!important}.fap-nav-greetings-subgroup .fap-nav-subitem.is-active{background:#eef5f1!important;color:#244d40!important;font-weight:700;box-shadow:inset 2px 0 #477c61}.fap-nav-greetings-subgroup .fap-nav-subitem strong{font-size:12px!important}
