*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#eef3f9;color:#1a1d21;line-height:1.5;font-size:14px}.hero{background:linear-gradient(120deg,#1a7bf3 0%,#0a5bd3 55%,#6a3df0 100%);color:#fff;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.12);top:-160px;left:-80px}.hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,255,255,.10);bottom:-140px;left:38%}.hero-inner{position:relative;z-index:1;display:flex;align-items:stretch;max-width:1100px;margin:0 auto;padding:18px 16px 34px;gap:12px}.hero-brand{flex:1;display:flex;gap:12px;align-items:flex-start;min-width:0}.fb-logo{position:relative;flex:none;width:56px;height:56px;border-radius:50%;background:#0f6cf0;border:2px solid rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.25)}.fb-logo .fb-f{color:#fff;font-weight:900;font-size:32px;line-height:1;font-family:Arial,sans-serif}.fb-logo .fb-plane{position:absolute;right:-4px;bottom:-2px;width:22px;height:22px;fill:#fff;filter:drop-shadow(0 2px 3px rgba(0,0,0,.35));transform:rotate(12deg)}.fb-logo.sm{width:48px;height:48px}.fb-logo.sm .fb-f{font-size:27px}.fb-logo.sm .fb-plane{width:19px;height:19px}.hero-text{min-width:0}.hero h1{margin:2px 0 0;font-size:26px;letter-spacing:.2px;line-height:1.15}.header-desc{margin:6px 0 0;color:rgba(255,255,255,.92);font-size:13px;line-height:1.45}.hero-tagline{margin:10px 0 0;font-family:cursive;font-style:italic;font-size:16px;color:#fff;text-decoration:none;padding-bottom:12px;background:url('data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 200 12%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27M2 9 Q 100 -2 198 7%27 stroke=%27%2338e1ff%27 stroke-width=%274%27 fill=%27none%27 stroke-linecap=%27round%27/%3E%3C/svg%3E') no-repeat left bottom/100% 10px;transform:rotate(-1.2deg);transform-origin:left center}.hero-photo{width:46%;max-width:280px;object-fit:cover;object-position:center;-webkit-mask-image:linear-gradient(to right,transparent,#000 38%);mask-image:linear-gradient(to right,transparent,#000 38%)}.hero .fb-logo{filter:drop-shadow(0 0 8px rgba(255,255,255,.7)) drop-shadow(0 0 20px rgba(125,211,252,.85))}.fb-pill{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);padding:1px 10px;border-radius:999px;white-space:nowrap}.hero h1{font-family:'Baloo 2','Arial Black',sans-serif}main{max-width:1100px;margin:-26px auto 0;padding:0 14px 8px;position:relative;z-index:2}#tabs{background:#fff;border-radius:20px;box-shadow:0 12px 32px rgba(16,24,40,.14);display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:10px;margin-bottom:16px}#tabs button{border:0;background:transparent;padding:10px 2px;border-radius:14px;cursor:pointer;font-weight:600;color:#5b6472;font-size:12px;display:flex;flex-direction:column;align-items:center;gap:5px;position:relative}#tabs button svg{width:22px;height:22px;fill:currentColor}#tabs button:not(:nth-child(4n+1)):before{content:"";position:absolute;left:-2px;top:18%;bottom:18%;width:1px;background:#eef1f5}#tabs button.active{background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;box-shadow:0 6px 16px rgba(24,119,242,.4)}#tabs button.active:before{display:none}.card{background:#fff;border:1px solid #e8edf3;border-radius:20px;padding:18px;margin-bottom:16px;box-shadow:0 8px 28px rgba(16,24,40,.08)}.card h2{margin:0 0 10px;font-size:17px}.card h3{margin:0 0 8px;font-size:15px}.welcome{background:linear-gradient(90deg,#1a7bf3,#7a3cff);border-radius:20px;padding:18px;margin-bottom:16px;color:#fff;display:flex;justify-content:space-between;gap:10px;overflow:hidden;position:relative;box-shadow:0 10px 28px rgba(24,119,242,.35)}.welcome-hi{font-size:14px}.welcome-name{font-size:26px;font-weight:800;line-height:1.2}.welcome-pill{display:inline-block;margin-top:9px;background:rgba(255,255,255,.22);padding:6px 12px;border-radius:999px;font-size:12px}.welcome-art{position:relative;flex:none;width:110px}.wa-card{position:absolute;background:rgba(255,255,255,.22);border-radius:12px;width:64px;height:64px;display:flex;align-items:center;justify-content:center}.wa-a{right:26px;top:2px;transform:rotate(-8deg)}.wa-b{right:0;bottom:0;transform:rotate(10deg);background:rgba(255,255,255,.32)}.wa-card .fb-mini{color:#fff;font-weight:900;font-size:30px;font-family:Arial,sans-serif}.wa-plane{position:absolute;right:52px;bottom:6px;width:26px;height:26px;fill:#fff;transform:rotate(14deg);filter:drop-shadow(0 2px 3px rgba(0,0,0,.3))}.search-card label{font-weight:700;font-size:14px}.search-row{display:flex;gap:8px;align-items:center;margin-top:8px}.search-row input{flex:1;min-width:0;margin:0}.search-row .user-ic{flex:none;color:#98a2b3}.search-btn{flex:none;width:48px;height:48px;border-radius:14px;border:0;background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;font-size:19px;cursor:pointer;box-shadow:0 6px 16px rgba(24,119,242,.35)}.pagelist{display:flex;flex-direction:column;gap:14px}.connect-card{display:flex;gap:12px;align-items:center}.connect-text{flex:1;min-width:0}.connect-btn{white-space:nowrap;border:0;border-radius:999px;padding:11px 18px;background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;font-weight:700;cursor:pointer;box-shadow:0 6px 16px rgba(24,119,242,.35)}.page-card{padding:16px}.page-top{display:flex;gap:12px;align-items:flex-start}.page-photo-wrap{position:relative;flex:none}.page-photo{width:64px;height:64px;border-radius:50%;object-fit:cover;background:#e8eefb;display:block}.page-dot{position:absolute;right:0;bottom:2px;width:14px;height:14px;border-radius:50%;background:#cbd5e1;border:2px solid #fff}.page-dot.on{background:#22c55e}.page-main{flex:1;min-width:0}.page-name{font-size:16px}.page-badges{display:flex;gap:6px;flex-wrap:wrap;margin:5px 0}.badge{display:inline-block;padding:3px 10px;border-radius:999px;background:#eef2ff;font-size:11px;font-weight:600;color:#3538cd}.badge .dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:5px}.badge.st-connected{background:#dcfce7;color:#067647}.badge.st-pending{background:#fef0c7;color:#93370d}.badge.st-disconnected{background:#fee4e2;color:#b42318}.badge.fbconn{background:#e8f0fe;color:#1877f2}.badge.published{background:#dcfce7;color:#067647}.badge.failed{background:#fee4e2;color:#b42318}.badge.queued,.badge.scheduled{background:#fef0c7;color:#93370d}.page-menu{margin-left:auto;color:#98a2b3;font-size:22px;line-height:1;flex:none}.page-status{margin:10px 0}.page-actions{display:flex;gap:10px}.page-actions .primary{flex:1.4}.page-actions .ghost{flex:1}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;background:#fff;border:1px solid #e6eaf0;border-radius:999px;padding:6px;box-shadow:0 4px 16px rgba(16,24,40,.05);width:fit-content;max-width:100%}.tabs button{border:0;background:transparent;padding:8px 12px;border-radius:999px;cursor:pointer;font-weight:600;color:#475467;font-size:13px}.tabs button.active{background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;box-shadow:0 4px 12px rgba(24,119,242,.4)}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #d0d5dd;border-radius:14px;margin:6px 0;font:inherit;background:#fbfcfe;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:none;border-color:#1877f2;box-shadow:0 0 0 3px rgba(24,119,242,.18);background:#fff}input[type=checkbox]{width:auto;margin:0;flex:none;accent-color:#1877f2;transform:scale(1.15)}#pageChecks label{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px}#pageChecks label:nth-child(odd){background:#f8fafd}label:has(input[type=checkbox]){display:flex;align-items:center;gap:8px}button{font:inherit;transition:transform .1s,box-shadow .15s}button:active{transform:translateY(1px)}button.primary{background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;border:0;padding:12px 18px;border-radius:12px;cursor:pointer;font-weight:700;box-shadow:0 6px 16px rgba(24,119,242,.35)}button.ghost{background:#fff;border:1px solid #d0d5dd;padding:9px 13px;border-radius:999px;cursor:pointer;font-weight:600}button.danger{color:#b42318;border-color:#f3b8b0}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.cal .day{background:#fff;border:1px solid #e2e5e9;border-radius:12px;min-height:92px;padding:6px;overflow:hidden}.cal .day.today{border-color:#1877f2;box-shadow:0 0 0 2px rgba(24,119,242,.15)}.chip{display:block;background:#e8f0fe;border-radius:8px;padding:4px 6px;font-size:12px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:grab}.media-thumb{width:100%;max-height:160px;object-fit:cover;border-radius:12px}.fb-preview{border:1px solid #e2e5e9;border-radius:16px;padding:14px;background:#fbfcfe}.fb-preview video{width:100%;border-radius:12px}.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}small{color:#667085;font-size:12px}.hidden{display:none!important}.foot{text-align:center;color:#667085;font-size:12px;padding:6px 0 24px}.foot .wave{display:block;width:100%;height:44px;margin-bottom:8px}@media(max-width:600px){.cal .day{min-height:70px;font-size:12px}.hero h1{font-size:22px}.welcome-name{font-size:22px}#tabs button{font-size:11px;padding:8px 2px}#tabs button svg{width:20px;height:20px}main{padding:0 12px 8px}.card{padding:16px;border-radius:18px}#createPostBtn,#bulkBtn,#toStep2Btn,#addGroupBtn{width:100%}}.comp-head{display:flex;gap:10px;align-items:center;margin-bottom:14px}.comp-head h2{margin:0;font-size:18px}.step-num{width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#1877f2,#0a5bd3);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none;font-size:15px}.send-row{display:flex;gap:10px;align-items:center;margin-bottom:14px}.send-ic{font-size:20px;flex:none}.send-to{flex:1;min-width:0;font-size:14px}.fld-label{display:block;font-weight:700;font-size:14px;margin:16px 0 4px}.char-count{text-align:right;color:#667085;font-size:12px;margin-top:2px}.file-row{display:flex;gap:8px;align-items:center}.file-btn{flex:none;border:0;border-radius:12px;padding:11px 14px;background:#eef2f7;font-weight:700;cursor:pointer;font-size:13px}.file-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#344054;font-size:13px}.file-clear{flex:none}.file-hidden{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}.info-note{background:#eef4ff;border-radius:12px;padding:10px 12px;font-size:12px;color:#344054;margin-top:10px}.check-row{display:flex;gap:8px;align-items:center;margin:14px 0;font-weight:600;font-size:14px}.comp-step #createPostBtn{width:100%;margin-top:16px;padding:14px;font-size:15px}.page-photo{width:96px;height:96px}.page-dot{width:18px;height:18px;border-width:3px}.page-name{font-size:22px}.page-card{position:relative}.page-menu-btn{background:none;border:0;cursor:pointer;color:#98a2b3;font-size:28px;line-height:1;padding:2px 10px;margin-left:auto;flex:none}.page-menu-pop{position:absolute;top:12px;right:12px;background:#fff;border-radius:14px;box-shadow:0 12px 32px rgba(15,40,90,.18);padding:6px;z-index:20;min-width:190px}.page-menu-pop button{display:block;width:100%;text-align:left;background:none;border:0;cursor:pointer;padding:11px 14px;font-size:15px;color:#1f2937;border-radius:9px}.page-menu-pop button:hover{background:#eef3ff}.page-menu-pop button.danger{color:#dc2626}#pageList .page-card{margin-bottom:8px}#pageList .page-name{font-size:18px}#pageList .page-photo{width:72px;height:72px}#pageList .page-card{padding:12px}.seg-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.seg-row>span{font-weight:600}.seg{display:flex;gap:8px;flex-wrap:wrap}.seg button{border:1px solid #d0d5dd;background:#fbfcfe;border-radius:999px;padding:8px 14px;font-weight:700;cursor:pointer;color:#1a1d21}.seg button.on{background:#1877f2;border-color:#1877f2;color:#fff}body.dark{background:#0f1420;color:#e6e9f0;color-scheme:dark}body.dark .card{background:#1a2236;border-color:#2a3550;color:#e6e9f0}body.dark input,body.dark select,body.dark textarea{background:#121a2e;border-color:#2a3550;color:#e6e9f0}body.dark #tabs{background:#1a2236}body.dark #tabs button{color:#9aa7bd}body.dark small{color:#9aa7bd}body.dark .badge{background:#232f4d;color:#a5b4fc}body.dark .badge.fbconn{background:#232f4d;color:#8ab4ff}body.dark .st-connected{background:#123524;color:#6ee7a0}body.dark .st-pending{background:#3a2c10;color:#fcd34d}body.dark .st-disconnected{background:#3d1512;color:#fca5a5}body.dark .page-menu-pop{background:#1a2236}body.dark .page-menu-pop button{color:#e6e9f0}body.dark .page-menu-pop button:hover{background:#232f4d}body.dark .page-menu-pop button.danger{color:#f87171}body.dark .cal .day{background:#1a2236;border-color:#2a3550}body.dark .char-count{color:#9aa7bd}body.dark .foot{color:#9aa7bd}body.dark .file-btn{background:#232f4d;color:#e6e9f0}body.dark .seg button{background:#1a2236;border-color:#2a3550;color:#e6e9f0}body.dark .seg button.on{background:#1877f2;border-color:#1877f2;color:#fff}body.dark #loginScreen a{background:#1a2236;color:#e6e9f0}body.dark .welcome-pill{background:rgba(255,255,255,.12);color:#e6e9f0}body.view-desktop .cal .day{min-height:92px;font-size:14px}body.view-desktop .hero h1{font-size:26px}body.view-desktop .welcome-name{font-size:26px}body.view-desktop #tabs button{font-size:12px;padding:10px 2px}body.view-desktop #tabs button svg{width:22px;height:22px}body.view-desktop main{padding:0 14px 8px;min-width:900px}body.view-desktop .hero{min-width:900px}body.view-desktop .hero-inner{min-width:900px}body.view-desktop .foot{min-width:900px}body.view-desktop .card{padding:18px;border-radius:20px}body.view-desktop #createPostBtn,body.view-desktop #bulkBtn,body.view-desktop #toStep2Btn,body.view-desktop #addGroupBtn{width:auto}body.view-mobile main{max-width:520px}body.view-mobile .hero-inner{max-width:520px}body.view-mobile .cal .day{min-height:70px;font-size:12px}body.view-mobile .hero h1{font-size:22px}body.view-mobile .welcome-name{font-size:22px}body.view-mobile #tabs button{font-size:11px;padding:8px 2px}body.view-mobile #tabs button svg{width:20px;height:20px}body.view-mobile #createPostBtn,body.view-mobile #bulkBtn,body.view-mobile #toStep2Btn,body.view-mobile #addGroupBtn{width:100%}body.dark .ghost{background:#232f4d;color:#e6e9f0;border-color:#2a3550}body.dark .ghost.danger{color:#f87171;border-color:#5b2a2a}body.dark #pageChecks label:nth-child(odd){background:#232f4d}body.dark .chip{background:#232f4d;color:#a5b4fc}body.dark .tabs{background:#1a2236;border-color:#2a3550}body.dark .tabs button{color:#9aa7bd}body.dark .tabs button.active{color:#fff}body.dark .fb-preview{background:#1a2236;border-color:#2a3550}body.dark .info-note{background:#232f4d;color:#c7d2fe}body.dark .badge.published{background:#123524;color:#6ee7a0}body.dark .badge.failed{background:#3d1512;color:#fca5a5}body.dark .badge.scheduled{background:#3a2c10;color:#fcd34d}body.dark div[style*='fdecea']{background:#3d1512!important}
@media (min-width:901px){body.view-mobile main{max-width:1100px}body.view-mobile .hero-inner{max-width:1100px}body.view-mobile .hero h1{font-size:26px}body.view-mobile .welcome-name{font-size:26px}body.view-mobile #tabs button{font-size:12px;padding:10px 2px}body.view-mobile #tabs button svg{width:22px;height:22px}body.view-mobile #createPostBtn,body.view-mobile #bulkBtn,body.view-mobile #toStep2Btn,body.view-mobile #addGroupBtn{width:auto}body.view-mobile .cal .day{min-height:92px;font-size:14px}body.view-desktop main,body.view-desktop .hero,body.view-desktop .hero-inner,body.view-desktop .foot{min-width:0}}
@media (min-width:901px){body.view-mobile main,body.view-mobile .hero-inner,body.view-desktop main,body.view-desktop .hero-inner{max-width:1600px}}