/* Circle shared styles. Load after Bootstrap. Page classes are assigned in HTML.
   Common rules are defined once; scoped overrides preserve each original layout. */
:root {
  --blue: #1877f2;
  --ink: #182235;
  --muted: #697386;
  --surface: #f2f4f8;
  --border: #e7ebf2;
  --focus-ring: #98bff9;
}
* { box-sizing:border-box; }
body:where(.view-login,.view-generate,.view-photos) { margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:var(--surface); }
:where(.view-login,.view-generate,.view-photos) .page { min-height:calc(100svh - 88px);display:flex;align-items:center;padding:72px 24px;position:relative;overflow:hidden; }
:where(.view-login,.view-generate,.view-photos) .page::before { content:"";position:absolute;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,#e2edff 0%,transparent 68%);top:-340px;right:-160px;pointer-events:none; }
:where(.view-login,.view-generate,.view-photos) .layout { width:100%;max-width:1060px;margin:auto;display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center;position:relative; }
:where(.view-login,.view-generate,.view-photos) .brand { color:var(--blue);font-size:66px;font-weight:800;letter-spacing:-3px;line-height:1;margin:0 0 27px; }
:where(.view-login,.view-generate,.view-photos) .brand span { display:inline-block;width:13px;height:13px;background:var(--blue);border-radius:50%;margin-left:4px; }
:where(.view-login,.view-generate,.view-photos) .intro h1 { font-size:36px;font-weight:600;letter-spacing:-1.2px;line-height:1.23;margin:0 0 20px;max-width:460px; }
:where(.view-login,.view-generate,.view-photos) .intro p { font-size:18px;color:var(--muted);line-height:1.65;max-width:405px;margin:0; }
:where(.view-login,.view-generate,.view-photos) .community { display:flex;align-items:center;gap:14px;margin-top:38px; }
:where(.view-login,.view-generate,.view-photos) .avatars { display:flex;padding-left:4px; }
:where(.view-login,.view-generate,.view-photos) .avatar { width:39px;height:39px;border:3px solid var(--surface);border-radius:50%;margin-left:-5px;display:grid;place-items:center;font-size:12px;font-weight:700;color:#455777;background:#dbe7fb; }
:where(.view-login,.view-generate,.view-photos) .avatar:nth-child(2) { background:#f7dfd0;color:#945e47; }
:where(.view-login,.view-generate,.view-photos) .avatar:nth-child(3) { background:#d5eadd;color:#39785c; }
:where(.view-login,.view-generate,.view-photos) .avatar:nth-child(4) { background:#e5dcf4;color:#7455a0; }
:where(.view-login,.view-generate,.view-photos) .community small { font-size:12px;line-height:1.6;color:var(--muted); }
:where(.view-login,.view-generate,.view-photos) .community strong { color:#40506b;display:block;font-size:13px; }
:where(.view-login,.view-generate,.view-photos) .auth-card { background:white;border:1px solid var(--border);border-radius:16px;padding:32px;box-shadow:0 16px 45px #2336530b,0 3px 8px #23365306; }
:where(.view-login,.view-generate,.view-photos) .auth-card h2 { font-size:25px;font-weight:700;letter-spacing:-.6px;margin:0 0 8px; }
:where(.view-login,.view-generate,.view-photos) .subtitle { font-size:14px;color:var(--muted);margin:0 0 27px; }
:where(.view-login,.view-generate,.view-photos) label { display:block;font-size:13px;font-weight:600;margin-bottom:8px; }
:where(.view-login,.view-generate,.view-photos) .field { margin-bottom:18px; }
:where(.view-login,.view-generate,.view-photos) .form-control { width:100%;height:53px;border:1px solid #dbe0e8;border-radius:8px;font-size:15px;padding:14px 15px;background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s; }
:where(.view-login,.view-generate,.view-photos) .form-control::placeholder { color:#939baa; }
:where(.view-login,.view-generate,.view-photos) .form-control:focus { border-color:var(--blue);outline:0;box-shadow:0 0 0 3px #1877f21a; }
:where(.view-login,.view-generate,.view-photos) .password-wrap { position:relative; }
:where(.view-login,.view-generate,.view-photos) .password-wrap input { padding-right:65px; }
:where(.view-login,.view-generate,.view-photos) .reveal { position:absolute;top:0;right:5px;height:53px;padding:0 10px;border:0;background:none;color:#617087;font-size:12px;font-weight:600; }
:where(.view-login,.view-generate,.view-photos) button { cursor:pointer;font-family:inherit; }
:where(.view-login,.view-generate,.view-photos) button:focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
:where(.view-login,.view-generate,.view-photos) .options { display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 23px;font-size:12px; }
:where(.view-login,.view-generate,.view-photos) .remember { display:flex;align-items:center;gap:7px;margin:0;font-weight:400;color:#586375;font-size:12px; }
:where(.view-login,.view-generate,.view-photos) .remember input { width:15px;height:15px;accent-color:var(--blue); }
:where(.view-login,.view-generate,.view-photos) .text-link { background:none;border:0;padding:0;color:#146bd9;font-size:inherit;font-weight:500; }
:where(.view-login,.view-generate,.view-photos) .text-link:hover { text-decoration:underline; }
:where(.view-login,.view-generate,.view-photos) .btn { border-radius:8px;font-size:16px;font-weight:700;padding:13px 18px;line-height:1.5;border:1px solid transparent;transition:background .15s,transform .15s; }
:where(.view-login,.view-generate,.view-photos) .btn:active { transform:translateY(1px); }
:where(.view-login,.view-generate,.view-photos) .btn-primary { width:100%;background:var(--blue);color:#fff;box-shadow:0 4px 9px #1877f226; }
:where(.view-login,.view-generate,.view-photos) .btn-primary:hover { background:#1266d5; }
:where(.view-login,.view-generate,.view-photos) .divider { display:flex;align-items:center;gap:14px;color:#929aa7;font-size:12px;margin:24px 0; }
:where(.view-login,.view-generate,.view-photos) .divider::before,
:where(.view-login,.view-generate,.view-photos) .divider::after { content:"";height:1px;background:#e9ecf1;flex:1; }
:where(.view-login,.view-generate,.view-photos) .btn-success { display:block;width:100%;color:#fff;background:#2fa541; }
:where(.view-login,.view-generate,.view-photos) .btn-success:hover { background:#278c37; }
:where(.view-login,.view-generate,.view-photos) .below { text-align:center;font-size:12px;color:#818a99;margin:22px 0 0; }
:where(.view-login,.view-generate,.view-photos) .below strong { color:#596477;font-weight:500; }
:where(.view-login,.view-generate,.view-photos) .back { display:block;margin:20px auto 0;font-size:13px; }
:where(.view-login,.view-generate,.view-photos) .notice { font-size:13px;line-height:1.5;padding:12px;background:#edf5ff;color:#1d5295;border-radius:8px;margin-top:16px; }
body:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-pages,.view-prompts,.view-manage-account) { margin:0;background:var(--surface);color:var(--ink);font-family:Arial,Helvetica,sans-serif; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) button,
:where(.view-scheduled-posts,.view-scheduled-posts-basic) input { font:inherit; }
body:where(.view-topics) { margin:0;background:var(--surface);color:var(--ink);font-family:Arial, Helvetica, sans-serif; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) button,
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) input,
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) textarea { font:inherit; }
body:where(.public-page) { margin:0;background:var(--surface);font-family:Arial,Helvetica,sans-serif;color:var(--ink); }
:where(.public-page) a { color:#146bd9;text-decoration:none; }
:where(.public-page) a:hover { text-decoration:underline; }
:where(.public-page) button,
:where(.public-page) input,
:where(.public-page) textarea,
:where(.public-page) select { font:inherit; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account,.view-about,.view-contact,.view-privacy,.view-terms) button { cursor:pointer; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) button:disabled { cursor:default; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) button:focus-visible,
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) a:focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
:where(.view-login,.view-generate,.view-photos,.view-scheduled-posts,.view-scheduled-posts-basic,.view-pages,.view-prompts,.view-manage-account,.view-about,.view-contact,.view-privacy,.view-terms) [hidden] { display:none!important; }
@media(max-width:900px) {
  :where(.view-login,.view-generate,.view-photos) .layout { gap:40px; }
  :where(.view-login,.view-generate,.view-photos) .intro h1 { font-size:31px; }
  :where(.view-login,.view-generate,.view-photos) .brand { font-size:58px; }
}
@media(max-width:700px) {
  :where(.view-login,.view-generate,.view-photos) .page { padding:44px 20px; }
  :where(.view-login,.view-generate,.view-photos) .layout { grid-template-columns:1fr;max-width:420px;gap:30px; }
  :where(.view-login,.view-generate,.view-photos) .intro { text-align:center; }
  :where(.view-login,.view-generate,.view-photos) .brand { font-size:52px;margin-bottom:18px; }
  :where(.view-login,.view-generate,.view-photos) .intro h1 { font-size:26px;letter-spacing:-.7px;margin-bottom:12px; }
  :where(.view-login,.view-generate,.view-photos) .intro p { font-size:15px;margin:auto; }
  :where(.view-login,.view-generate,.view-photos) .community { display:none; }
  :where(.view-login,.view-generate,.view-photos) .auth-card { padding:26px; }
}
@media(prefers-reduced-motion:reduce) {
  :where(.view-login,.view-generate,.view-photos),
:where(.view-login,.view-generate,.view-photos) * { transition:none!important; }
}
:where(.view-generate,.view-photos) .layout { display:block;max-width:680px; }
:where(.view-generate,.view-photos) .intro { text-align:center;margin-bottom:30px; }
:where(.view-generate,.view-photos) .brand { font-size:52px;margin-bottom:0; }
:where(.view-generate,.view-photos) .auth-card h1 { font-size:25px;font-weight:700;letter-spacing:-.6px;margin:0 0 8px; }
:where(.view-generate,.view-photos) textarea.form-control { height:180px;min-height:180px;max-height:560px;resize:vertical;line-height:1.65;overflow-y:auto;font-family:inherit; }
:where(.view-generate,.view-photos) .input-meta { display:flex;justify-content:space-between;gap:16px;margin:10px 0 24px;font-size:12px;line-height:1.5;color:var(--muted); }
:where(.view-generate,.view-photos) .input-meta span:last-child { white-space:nowrap; }
:where(.view-generate,.view-photos) .subtitle { line-height:1.6; }
:where(.view-generate,.view-photos) .generate-icon { vertical-align:-3px;margin-right:7px; }
@media(max-width:700px) {
  :where(.view-generate,.view-photos) .layout { max-width:520px; }
  :where(.view-generate,.view-photos) .auth-card { padding:24px; }
  :where(.view-generate,.view-photos) .input-meta { font-size:11px; }
}
:where(.view-topics) [hidden] { display:none !important; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .brand { font-weight:800;color:var(--blue);line-height:1; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .brand span { display:inline-block;background:var(--blue);border-radius:50%; }
:where(.workspace-page) .topbar { background:#fff;border-bottom:1px solid var(--border);position:relative;z-index:10; }
:where(.workspace-page) .topbar-inner { max-width:1060px;margin:auto;padding:16px 24px;display:flex;align-items:center;gap:18px; }
:where(.workspace-page) .topbar .brand { font-size:35px;letter-spacing:-1.8px;margin:0;text-decoration:none; }
:where(.workspace-page) .topbar .brand span { width:8px;height:8px;margin-left:3px; }
:where(.workspace-page) .menu-toggle { display:flex;align-items:center;gap:8px;background:var(--surface);border:1px solid var(--border);border-radius:9px;color:#516077;padding:10px 12px;font-size:13px;min-height:42px; }
:where(.workspace-page) .menu-toggle:hover,
:where(.workspace-page) .menu-toggle[aria-expanded="true"] { background:#eaf2ff;color:#146bd9; }
:where(.workspace-page) .user-area { position:relative;margin-left:auto; }
:where(.workspace-page) .user-toggle { display:flex;align-items:center;gap:10px;background:none;border:0;padding:3px;border-radius:28px; }
:where(.workspace-page) .user-avatar { width:40px;height:40px;display:grid;place-items:center;background:#e5efff;color:#146bd9;border:2px solid #d6e5fc;border-radius:50%;overflow:hidden;font-weight: 700;font-size: 13px;}
:where(.workspace-page) .user-avatar img {width: 100%; height: 100%; object-fit: cover; display: block; }
:where(.workspace-page) .user-label { font-size:13px;font-weight:600;color:#40506b; }
:where(.workspace-page) .chevron { color:#718097;margin-right:5px;transition:transform .15s; }
:where(.workspace-page) [aria-expanded="true"] .chevron { transform:rotate(180deg); }
:where(.workspace-page) .account-dropdown { position:absolute;top:calc(100% + 12px);right:0;width:248px;max-width:calc(100vw - 40px);background:#fff;border:1px solid var(--border);border-radius:12px;padding:8px;box-shadow:0 12px 36px #2336531a; }
:where(.workspace-page) .dropdown-heading { padding:10px 12px 14px;border-bottom:1px solid #edf0f4;margin-bottom:6px; }
:where(.workspace-page) .dropdown-heading strong { display:block;font-size:14px; }
:where(.workspace-page) .dropdown-heading small { display:block;color:var(--muted);font-size:12px;margin-top:5px; }
:where(.workspace-page) .nav-item-link { display:block;text-align:left;width:100%;padding:11px 12px;border:0;border-radius:7px;background:transparent;color:#45536a;text-decoration:none;font-size:14px; }
:where(.workspace-page) .nav-item-link:hover,
:where(.workspace-page) .nav-item-link:focus-visible { background:#f0f5ff;color:#146bd9; }
:where(.workspace-page) .nav-item-link[aria-current="page"] { background:#eaf2ff;color:#146bd9;font-weight:600; }
:where(.workspace-page) .logout-link { color:#b64a4a; }
:where(.view-generate,.view-photos,.view-scheduled-posts,.view-scheduled-posts-basic,.view-pages,.view-prompts,.view-manage-account) .site-navigation { position:fixed;top:76px;bottom:0;left:0;width:270px;max-width:85vw;margin:0;padding:24px 16px;background:#fff;border-right:1px solid var(--border);z-index:20;overflow-y:auto;transform:translateX(-100%);visibility:hidden;transition:transform .24s ease,visibility .24s; }
:where(.view-topics) .site-navigation { position:fixed;top:76px;bottom:0;left:0;width:270px;max-width:85vw;margin:0;padding:24px 16px;background:#fff;border-right:1px solid var(--border);z-index:20;overflow-y:auto;transform:translateX(-100%);visibility:hidden;transition:transform .24s ease, visibility .24s; }
:where(.workspace-page) .site-navigation.is-open { transform:translateX(0);visibility:visible; }
:where(.workspace-page) .sidebar-heading { display:flex;align-items:center;justify-content:space-between;padding:0 8px 20px; }
:where(.workspace-page) .sidebar-heading strong { font-size:12px;color:var(--muted);letter-spacing:1.2px; }
:where(.workspace-page) .sidebar-close { width:34px;height:34px;border:0;border-radius:8px;background:var(--surface);color:#516077;font-size:23px;line-height:1; }
:where(.workspace-page) .sidebar-close:hover { background:#eaf2ff;color:#146bd9; }
:where(.view-generate,.view-photos,.view-scheduled-posts,.view-scheduled-posts-basic,.view-pages,.view-prompts,.view-manage-account) .sidebar-backdrop { position:fixed;inset:76px 0 0;z-index:5;background:#18223540;opacity:0;visibility:hidden;transition:opacity .24s,visibility .24s; }
:where(.view-topics) .sidebar-backdrop { position:fixed;inset:76px 0 0;z-index:5;background:#18223540;opacity:0;visibility:hidden;transition:opacity .24s, visibility .24s; }
:where(.workspace-page) .page { transition:margin-left .24s ease; }
@media(min-width:1000px) {
  body:where(.workspace-page).sidebar-open .page { margin-left:270px; }
}
@media(max-width:999px) {
  body:where(.workspace-page).sidebar-open .sidebar-backdrop { opacity:1;visibility:visible; }
}
@media(max-width:700px) {
  :where(.workspace-page) .site-navigation { top:72px; }
  :where(.workspace-page) .sidebar-backdrop { top:72px; }
}
:where(.workspace-page) .nav-links { display:flex;flex-direction:column;gap:8px;padding-top:14px;border-top:1px solid #edf0f4; }
:where(.workspace-page) .nav-links .nav-item-link { width:100%; }
:where(.workspace-page) .page { min-height:calc(100svh - 164px); }
:where(.workspace-page) .section-label { color:#146bd9;font-size:11px;font-weight:700;letter-spacing:1.5px;margin:0 0 15px; }
:where(.workspace-page) .login-gate { text-align:center; }
:where(.workspace-page) .login-gate .btn { display:block;text-decoration:none;margin-top:22px; }
:where(.workspace-page) a:focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
@media(max-width:700px) {
  :where(.workspace-page) .topbar-inner { padding:14px 20px;gap:12px; }
  :where(.workspace-page) .user-label { display:none; }
  :where(.workspace-page) .nav-links { flex-direction:column; }
  :where(.workspace-page) .nav-links .nav-item-link { width:100%; }
  :where(.workspace-page) .page { padding-top:40px; }
}
:where(.view-photos,.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .topbar { position:sticky;top:0; }
:where(.view-photos) .page { display:block;padding:42px 24px 60px;overflow:visible; }
:where(.view-photos) .page::before { display:none; }
:where(.view-photos) .gallery-shell { max-width:1352px;margin:auto; }
:where(.view-photos) .gallery-heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px; }
:where(.view-photos) h1 { scroll-margin-top:100px;font-size:30px;font-weight:700;letter-spacing:-.8px;margin:0 0 8px; }
:where(.view-photos) .gallery-heading p { color:var(--muted);font-size:14px;margin:0;line-height:1.6; }
:where(.view-photos) .new-link { width:auto;white-space:nowrap;text-decoration:none;font-size:13px;padding:11px 16px; }
:where(.view-photos) .gallery-toolbar { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:22px; }
:where(.view-photos) .filters { display:flex;padding:4px;background:#e8ecf2;border-radius:9px;gap:3px; }
:where(.view-photos) .filter { border:0;background:none;padding:8px 13px;border-radius:6px;color:#5d6879;font-size:12px; }
:where(.view-photos) .filter[aria-pressed="true"] { background:#fff;color:#146bd9;box-shadow:0 1px 4px #23365310;font-weight:600; }
:where(.view-photos) .timezone { color:var(--muted);font-size:12px; }
:where(.view-photos) .photo-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px; }
@media(min-width:768px) {
  :where(.view-photos) .photo-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(min-width:992px) {
  :where(.view-photos) .photo-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
:where(.view-photos) .photo-card { min-width:0;background:#fff;border:1px solid #e1e7ef;border-radius:13px;box-shadow:0 3px 12px #23365305;overflow:hidden;container-type:inline-size; }
:where(.view-photos) .photo-wrap { aspect-ratio:4/5;background:linear-gradient(145deg,#d6e6ef,#9fb8b0);position:relative;overflow:hidden; }
:where(.view-photos) .photo-wrap img { display:block;width:100%;height:100%;object-fit:cover; }
:where(.view-photos) .photo-wrap .fallback { position:absolute;inset:0;display:grid;place-items:center;color:#405d63;font-size:13px;text-align:center;padding:18px; }
:where(.view-photos) .photo-card.inactive .photo-wrap img { opacity:.75; }
:where(.view-photos) .photo-body { padding:16px; }
:where(.view-photos) .caption { font-size:14px;color:#35445a;line-height:1.55;margin:0 0 15px;min-height:66px;overflow-wrap:anywhere; }
:where(.view-photos) .status-row { display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:8px; }
:where(.view-photos) .post-id { color:#8a94a3;font-size:11px; }
:where(.view-photos) .status-switch { display:flex;gap:7px;align-items:center;margin:0;cursor:pointer;font-size:12px;font-weight:500;color:#576579;min-height:30px; }
:where(.view-photos) .status-switch input { appearance:none;width:30px;height:18px;background:#ccd3de;border-radius:20px;position:relative;cursor:pointer;flex-shrink:0;margin:0; }
:where(.view-photos) .status-switch input::after { content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;background:white;border-radius:50%;transition:transform .15s; }
:where(.view-photos) .status-switch input:checked { background:var(--blue); }
:where(.view-photos) .status-switch input:checked::after { transform:translateX(12px); }
:where(.view-photos) .status-switch input:focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
:where(.view-photos) .schedule { border-top:1px solid #edf0f4;padding-top:14px; }
:where(.view-photos) .schedule-fields { display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px; }
:where(.view-photos) .schedule label { font-size:11px;color:#788395;margin-bottom:5px;font-weight:500; }
:where(.view-photos) .schedule input { display:block;width:100%;min-width:0;max-width:100%;height:38px;padding:7px;font:12px Arial,sans-serif;border:1px solid #dce2eb;border-radius:6px;background:white;color:#43516a; }
:where(.view-photos) .schedule input:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-photos) .schedule-save { width:100%;margin-top:9px;padding:9px;border:1px solid #d8e7fd;border-radius:6px;background:#eef5ff;color:#146bd9;font-size:12px;font-weight:600; }
:where(.view-photos) .schedule-save:hover { background:#e2eeff; }
:where(.view-photos) .schedule-note { margin:8px 0 0;color:#708097;font-size:11px;line-height:1.5;min-height:33px;overflow-wrap:anywhere; }
:where(.view-photos) .card-actions { display:flex;align-items:center;gap:8px;margin-top:10px;padding-top:12px;border-top:1px solid #edf0f4; }
:where(.view-photos) .regenerate { display:flex;align-items:center;justify-content:center;gap:6px;flex:1;border:1px solid #e0e5ee;background:white;color:#536279;font-size:12px;border-radius:7px;min-height:38px;padding:8px; }
:where(.view-photos) .regenerate:hover { background:#f2f7ff;color:#146bd9; }
:where(.view-photos) .delete { display:grid;place-items:center;flex-shrink:0;width:38px;min-height:38px;border:0;background:#fff2f2;color:#c15c5c;border-radius:7px; }
:where(.view-photos) .delete:hover { background:#ffe3e3; }
:where(.view-photos) .card-actions svg { width:15px;height:15px;flex-shrink:0; }
:where(.view-photos) .empty { background:#fff;border:1px dashed #d6deeb;padding:45px 20px;text-align:center;border-radius:12px;color:var(--muted); }
:where(.view-photos) .toast-bar { position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#182b48;color:white;padding:14px 18px;border-radius:10px;display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(100vw - 32px);z-index:40;box-shadow:0 8px 30px #18223533;font-size:13px; }
:where(.view-photos) .toast-bar button { border:0;color:#abd0ff;background:none;font-weight:600;padding:5px; }
:where(.view-photos) .toast-bar .dismiss { color:white;font-size:20px; }
@container(max-width:260px) {
  :where(.view-photos) .schedule-fields { grid-template-columns:minmax(0,1fr); }
  :where(.view-photos) .photo-body { padding:12px; }
  :where(.view-photos) .caption { font-size:13px; }
  :where(.view-photos) .status-row { flex-wrap:wrap; }
}
@media(max-width:575px) {
  :where(.view-photos) .page { padding:28px 12px 50px; }
  :where(.view-photos) .photo-grid { gap:10px; }
  :where(.view-photos) .gallery-heading { align-items:flex-start;gap:12px; }
  :where(.view-photos) h1 { font-size:26px; }
  :where(.view-photos) .gallery-heading p { font-size:12px; }
  :where(.view-photos) .new-link { font-size:12px;padding:9px 11px; }
  :where(.view-photos) .regenerate { font-size:11px;padding:6px 3px;gap:3px; }
  :where(.view-photos) .delete { width:30px; }
  :where(.view-photos) .card-actions { gap:4px; }
}
:where(.view-photos) .pagination-bar { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px;padding:20px;margin-top:28px;background:#fff;border:1px solid #e1e7ef;border-radius:12px;box-shadow:0 3px 12px #23365305; }
:where(.view-photos) .page-summary { font-size:13px;color:#516077;line-height:1.7;margin:0; }
:where(.view-photos) .page-summary small { display:block;color:#8992a1;font-size:11px; }
:where(.view-photos) .page-tools,
:where(.view-photos) .page-navigation,
:where(.view-photos) .page-jump,
:where(.view-photos) .page-size { display:flex;align-items:center;gap:8px; }
:where(.view-photos) .page-tools { flex-wrap:wrap;gap:16px; }
:where(.view-photos) .page-size,
:where(.view-photos) .page-jump { margin:0;font-size:12px;color:var(--muted); }
:where(.view-photos) .page-control { display:grid;place-items:center;width:36px;height:36px;border:1px solid #e1e7ef;border-radius:7px;background:white;color:#516077; }
:where(.view-photos) .page-control:hover:not(:disabled) { background:#edf5ff;color:#146bd9;border-color:#c7dcfb; }
:where(.view-photos) .page-control:disabled { opacity:.35;cursor:default; }
:where(.view-photos) .page-control svg { width:16px;height:16px; }
:where(.view-photos) .page-position { font-size:12px;color:#536279;padding:0 6px;white-space:nowrap;font-variant-numeric:tabular-nums; }
:where(.view-photos) .page-size select,
:where(.view-photos) .page-jump input { min-height:36px;border:1px solid #dce2eb;border-radius:7px;color:#35445a;background:#fff;padding:7px 9px;font:12px Arial,sans-serif; }
:where(.view-photos) .page-jump label { margin:0;font-size:12px;font-weight:400;white-space:nowrap; }
:where(.view-photos) .page-jump input { width:78px; }
:where(.view-photos) .page-jump button { min-height:36px;background:var(--blue);color:white;border:0;border-radius:7px;padding:7px 13px;font-size:12px;font-weight:600; }
:where(.view-photos) .page-jump button:disabled { opacity:.4;cursor:default; }
:where(.view-photos) .page-jump input:focus,
:where(.view-photos) .page-size select:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
@media(max-width:700px) {
  :where(.view-photos) .pagination-bar { padding:16px;gap:14px; }
  :where(.view-photos) .page-tools { width:100%;justify-content:space-between; }
  :where(.view-photos) .page-navigation { gap:5px; }
}
@media(max-width:420px) {
  :where(.view-photos) .page-tools { justify-content:center; }
  :where(.view-photos) .page-summary { width:100%; }
}
:where(.view-photos) .photo-search { display:flex;align-items:center;gap:8px;margin-left:auto;max-width:100%; }
:where(.view-photos) .search-toggle { width:40px;height:40px;display:grid;place-items:center;border:1px solid #dce2eb;border-radius:9px;background:white;color:#637188;flex-shrink:0; }
:where(.view-photos) .search-toggle:hover,
:where(.view-photos) .search-toggle[aria-expanded="true"] { background:#edf5ff;color:#146bd9;border-color:#ccdef8; }
:where(.view-photos) .search-toggle svg { width:18px;height:18px; }
:where(.view-photos) .search-box { min-width:0; }
:where(.view-photos) .search-box input { width:240px;max-width:100%;height:40px;border:1px solid #dce2eb;border-radius:8px;padding:9px 12px;background:white;color:#35445a;font:13px Arial,sans-serif; }
:where(.view-photos) .search-box input:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
@media(max-width:575px) {
  :where(.view-photos) .photo-search.is-open { width:100%; }
  :where(.view-photos) .photo-search.is-open .search-box { flex:1; }
  :where(.view-photos) .search-box input { width:100%; }
}
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .topbar-inner { max-width:1248px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .page { min-height:calc(100svh - 164px);padding:40px 24px 70px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-shell { max-width:1200px;margin:auto; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topics-shell { max-width:1200px;margin:auto; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .heading { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .eyebrow { font-size:11px;font-weight:700;letter-spacing:1.5px;color:#146bd9;margin:0 0 12px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) h1 { font-size:30px;letter-spacing:-.8px;margin:0 0 10px;font-weight:700;scroll-margin-top:100px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .heading p:last-child { font-size:14px;color:var(--muted);margin:0;line-height:1.6; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .primary-link { display:inline-block;background:var(--blue);color:white;padding:12px 17px;text-decoration:none;font-weight:600;font-size:13px;border-radius:8px;white-space:nowrap; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .primary-link:hover { background:#1266d5;color:white; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-toolbar { display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px;flex-wrap:wrap; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-count { font-size:13px;color:#536279; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .sort-label { display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;padding:8px 11px;font-size:12px;color:var(--muted); }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .sort-label svg { width:15px;height:15px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .toolbar-right { display:flex;align-items:center;gap:12px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .save-status { font-size:11px;color:#758499; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-card { background:white;border:1px solid #e1e7ef;border-radius:13px;box-shadow:0 3px 12px #23365305;overflow:hidden; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .list-heading { display:grid;grid-template-columns:42px minmax(0,1fr) 205px;gap:14px;padding:14px 20px;background:#fafbfd;color:#7b8697;font-size:11px;letter-spacing:.7px;border-bottom:1px solid #e7ecf2; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-list { list-style:none;margin:0;padding:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row { display:grid;grid-template-columns:42px minmax(0,1fr) 205px;gap:14px;align-items:center;padding:17px 20px;border-bottom:1px solid #edf0f4;background:white;min-height:115px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row:last-child { border-bottom:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row:hover { background:#fcfdff; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle { display:grid;place-items:center;width:38px;height:42px;background:transparent;border:1px solid transparent;border-radius:8px;color:#9aa5b4;cursor:grab;touch-action:none;user-select:none; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle svg { width:21px;height:21px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle:hover,
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle:focus-visible { background:#edf5ff;color:var(--blue);border-color:#d6e7ff; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle:active { cursor:grabbing; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-content { display:flex;align-items:center;gap:16px;min-width:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .thumbnail { width:60px;aspect-ratio:4/5;flex-shrink:0;background:linear-gradient(145deg,#d6e6ef,#9fb8b0);border-radius:7px;overflow:hidden;position:relative; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .thumbnail img { width:100%;height:100%;object-fit:cover;display:block; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .fallback { position:absolute;inset:0;display:grid;place-items:center;color:#61777d;font-size:9px;text-align:center;padding:5px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .caption { font-size:14px;line-height:1.55;margin:0 0 8px;color:#35445a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-meta { font-size:11px;color:#8792a2; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-meta span { margin:0 7px;color:#c0c7d1; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-cell { padding-left:18px;border-left:1px solid #edf0f4;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-date { font-size:13px;color:#43516a;display:block;line-height:1.5; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-time { display:block;font-size:18px;font-weight:600;color:#243a59;letter-spacing:-.3px;margin-top:2px;font-variant-numeric:tabular-nums; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .position { font-size:11px;color:#98a2af; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help { display:flex;align-items:flex-start;gap:10px;padding:16px 20px;background:#f8faff;border-top:1px solid #e7ecf2;color:#687c96;font-size:12px;line-height:1.65; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help svg { flex-shrink:0;width:16px;height:16px;margin-top:2px;color:#6a96d2; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help p { margin:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help strong { font-weight:500;color:#42618b; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .bottom-note { display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;font-size:11px;color:#8a95a5;margin-top:16px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-placeholder { background:#eaf3ff!important;outline:2px dashed #92bdf7;outline-offset:-3px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-placeholder>* { opacity:.3; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-ghost { position:fixed;z-index:100;pointer-events:none;box-shadow:0 12px 38px #243a5933;border:1px solid #a7c8f7;border-radius:10px;background:white;opacity:.96;margin:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .dragging-queue { user-select:none;cursor:grabbing; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .dragging-queue * { cursor:grabbing!important; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .empty { padding:45px;text-align:center;color:#78869a;font-size:14px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .notice-bar { position:fixed;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:15px;width:max-content;max-width:calc(100vw - 32px);padding:14px 18px;border-radius:10px;background:#182b48;color:white;font-size:13px;box-shadow:0 8px 30px #18223533;z-index:50; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .notice-bar button { border:0;background:none;color:#abd0ff;font-size:13px;font-weight:600;padding:6px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .notice-bar .dismiss { color:white;font-size:20px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .subtext { font-size:14px;color:var(--muted);margin:0;line-height:1.6; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .primary-button { background:var(--blue);color:#fff;border:1px solid var(--blue);padding:11px 16px;border-radius:8px;font-size:13px;font-weight:600;white-space:nowrap; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .primary-button:hover { background:#1266d5; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topics-toolbar { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:17px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .filters { display:flex;gap:3px;padding:4px;border-radius:9px;background:#e8ecf2; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .filter { border:0;background:none;color:#667286;padding:8px 13px;font-size:12px;border-radius:6px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .filter[aria-pressed="true"] { background:white;color:#146bd9;font-weight:600;box-shadow:0 1px 4px #23365310; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-count { font-size:12px;color:#8290a3; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topics-card { background:white;border:1px solid #e1e7ef;border-radius:13px;overflow:hidden;box-shadow:0 3px 12px #23365305; }
:where(.view-topics) .list-heading,
:where(.view-topics) .topic-row { display:grid;grid-template-columns:38px minmax(0, 1fr) 106px 86px;gap:20px;align-items:center;padding:20px 24px; }
:where(.view-pages,.view-prompts,.view-manage-account) .list-heading,
:where(.view-pages,.view-prompts,.view-manage-account) .topic-row { display:grid;grid-template-columns:38px minmax(0,1fr) 106px 86px;gap:20px;align-items:center;padding:20px 24px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .list-heading { padding-top:14px;padding-bottom:14px;background:#fafbfd;border-bottom:1px solid #e7ecf2;font-size:11px;letter-spacing:.6px;color:#8290a3; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .list-heading span:last-child { text-align:right; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-list { list-style:none;margin:0;padding:0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-row { border-bottom:1px solid #edf0f4;min-height:91px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-row:last-child { border:0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-row:hover { background:#fcfdff; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .row-number { font-size:12px;color:#9aa6b6;font-variant-numeric:tabular-nums; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-link { min-width:0;width:100%;text-align:left;background:none;border:0;padding:4px 0;color:#35445a; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-link:hover .topic-text { color:#146bd9; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-text { display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;overflow-wrap:anywhere;font-size:14px;line-height:1.55; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-type { display:block;color:#99a3b1;font-size:10px;margin-top:6px;letter-spacing:.2px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .status { font-size:11px;color:#8d99a9; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .status.generated { color:#367759;background:#edf7f0;display:inline-block;padding:6px 9px;border-radius:6px;white-space:nowrap; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .row-actions { display:flex;justify-content:flex-end;gap:8px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon { display:grid;place-items:center;width:36px;height:36px;border-radius:7px;border:1px solid #dce7f8;background:#f1f6ff;color:var(--blue);flex-shrink:0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon svg { width:17px;height:17px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon:hover { background:#e1edff; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon.delete { background:#fff;border-color:#e8eaf0;color:#8993a2; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon.delete:hover { color:#c15c5c;background:#fff2f2;border-color:#f1d6d6; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .empty { text-align:center;padding:40px 20px;color:#8390a2;font-size:14px;margin:0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .list-foot { border-top:1px solid #edf0f4;background:#fafbfd;padding:15px 24px;color:#8a95a5;font-size:11px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-dialog { width:660px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);padding:0;border:1px solid #e1e7ef;border-radius:15px;background:white;color:var(--ink);box-shadow:0 24px 80px #18223533;overflow-y:auto; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-dialog::backdrop { background:#18223566; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-heading { position:sticky;top:0;z-index:1;background:white;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 26px;border-bottom:1px solid #edf0f4; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-heading h2 { font-size:21px;letter-spacing:-.5px;margin:0;font-weight:700; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-heading p { font-size:12px;color:#8490a2;margin:6px 0 0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .close-modal { border:0;width:34px;height:34px;border-radius:7px;background:var(--surface);color:#66768d;font-size:23px;line-height:1; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-form { padding:24px 26px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-form label { display:block;font-size:13px;font-weight:600;color:#4b5b73;margin:0 0 9px; }
:where(.view-topics) .topic-form textarea { display:block;box-sizing:border-box;width:100%;min-height:130px;max-height:440px;resize:vertical;padding:13px 14px;border:1px solid #dbe2ed;border-radius:8px;background:white;color:#34445c;font:14px/1.65 Arial, sans-serif;overflow-y:auto; }
:where(.view-pages,.view-prompts,.view-manage-account) .topic-form textarea { display:block;box-sizing:border-box;width:100%;min-height:130px;max-height:440px;resize:vertical;padding:13px 14px;border:1px solid #dbe2ed;border-radius:8px;background:white;color:#34445c;font:14px/1.65 Arial,sans-serif;overflow-y:auto; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-form textarea:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .form-field { margin-bottom:23px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .field-help { font-size:11px;color:#96a0ae;margin:8px 0 0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-actions { display:flex;justify-content:flex-end;gap:10px;align-items:center;padding-top:18px;border-top:1px solid #edf0f4; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .secondary-button { padding:11px 14px;background:white;border:1px solid #dde3ec;border-radius:8px;color:#6b788c;font-size:13px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-actions .primary-button { display:flex;align-items:center;gap:7px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-actions svg { width:16px;height:16px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .form-feedback { font-size:12px;line-height:1.6;color:#47678d;margin:14px 0 0; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .notice-bar { position:fixed;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);display:flex;align-items:center;gap:15px;padding:14px 18px;background:#182b48;color:white;border-radius:10px;box-shadow:0 8px 30px #18223533;font-size:13px;z-index:50; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .notice-bar button { border:0;background:none;color:#abd0ff;font-size:13px;font-weight:600;padding:5px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .notice-bar .dismiss { font-size:20px;color:white; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .login-gate { max-width:600px;margin:50px auto;background:#fff;border-radius:13px;border:1px solid #e1e7ef;padding:35px; }
:where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .login-gate a { display:inline-block;text-decoration:none;margin-top:15px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .login-gate { max-width:600px;margin:50px auto;background:#fff;padding:35px;border:1px solid #e1e7ef;border-radius:14px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row time { white-space:nowrap; }
body:where(.view-topics,.view-pages,.view-prompts,.view-manage-account).modal-open { overflow:hidden; }
@media(max-width:700px) {
  :where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .page { padding:28px 12px 60px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .heading { gap:14px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) h1 { font-size:25px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .heading p:last-child { font-size:12px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .primary-link { font-size:12px;padding:10px 12px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .list-heading,
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row { grid-template-columns:30px minmax(0,1fr) 122px;gap:8px;padding-left:10px;padding-right:12px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle { width:30px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-content { gap:10px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .thumbnail { width:44px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .caption { font-size:12px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-cell { padding-left:10px;grid-template-columns:1fr; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-date { font-size:11px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-time { font-size:15px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .position { display:none; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .save-status { display:none; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-meta { font-size:10px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-meta .type { display:none; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help { padding:14px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .heading { gap:15px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) h1 { font-size:26px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .subtext { font-size:12px; }
  :where(.view-topics) .list-heading,
:where(.view-topics) .topic-row { grid-template-columns:24px minmax(0, 1fr) 82px 72px;gap:10px;padding:16px 12px; }
  :where(.view-pages,.view-prompts,.view-manage-account) .list-heading,
:where(.view-pages,.view-prompts,.view-manage-account) .topic-row { grid-template-columns:24px minmax(0,1fr) 82px 72px;gap:10px;padding:16px 12px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-text { font-size:12px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon { width:32px;height:34px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .row-actions { gap:6px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .status.generated { font-size:10px;padding:5px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-type { font-size:9px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic,.view-topics,.view-pages,.view-prompts,.view-manage-account) .list-heading { font-size:10px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .modal-heading { padding:20px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-form { padding:20px; }
}
@media(max-width:420px) {
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row,
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .list-heading { grid-template-columns:24px minmax(0,1fr) 99px;gap:6px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .drag-handle { width:24px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-content { gap:7px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .thumbnail { width:36px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .caption { -webkit-line-clamp:3;font-size:11px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-cell { padding-left:7px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-date { font-size:10px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .schedule-time { font-size:14px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .post-meta { font-size:9px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-row { min-height:100px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .heading { align-items:flex-start; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .sort-label { font-size:11px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .queue-help { font-size:11px; }
}
@media(prefers-reduced-motion:reduce) {
  :where(.view-scheduled-posts,.view-scheduled-posts-basic),
:where(.view-scheduled-posts,.view-scheduled-posts-basic) * { transition:none!important;scroll-behavior:auto!important; }
}
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting { display:flex;align-items:center;gap:8px;padding:5px 8px 5px 11px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;font-size:12px;color:var(--muted);margin:0; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting svg { width:16px;height:16px;flex-shrink:0;color:#7590b2; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting select { font:12px Arial,sans-serif;color:#146bd9;background:#f0f6ff;border:0;border-radius:5px;padding:6px 26px 6px 8px;max-width:100%;cursor:pointer; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting select:focus-visible { outline:2px solid var(--focus-ring);outline-offset:2px; }
:where(.view-scheduled-posts,.view-scheduled-posts-basic) .toolbar-right { flex-wrap:wrap;justify-content:flex-end;gap:10px; }
@media(max-width:575px) {
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .toolbar-right { justify-content:flex-start;width:100%;gap:8px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting { gap:6px; }
  :where(.view-scheduled-posts,.view-scheduled-posts-basic) .interval-setting select { font-size:11px;padding-right:8px; }
}
:where(.view-scheduled-posts) button.thumbnail { display:block;border:0;padding:0;cursor:pointer; }
:where(.view-scheduled-posts) button.thumbnail:hover { box-shadow:0 0 0 3px #c7dfff; }
:where(.view-scheduled-posts) button.thumbnail:focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
:where(.view-scheduled-posts) .post-drawer { position:fixed;inset:0 0 0 auto;margin:0 0 0 auto;width:520px;max-width:100vw;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid #dfe6ef;background:var(--surface);color:var(--ink);box-shadow:-12px 0 45px #18223522;overflow-y:auto;overscroll-behavior:contain; }
:where(.view-scheduled-posts) .post-drawer[open] { animation:drawer-in .22s ease-out; }
:where(.view-scheduled-posts) .post-drawer::backdrop { background:#18223555; }
@keyframes drawer-in {from{transform:translateX(100%)}to{transform:translateX(0)}}
:where(.view-scheduled-posts) .drawer-heading { position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;background:#fff;border-bottom:1px solid #e1e7ef; }
:where(.view-scheduled-posts) .drawer-heading h2 { font-size:18px;font-weight:700;letter-spacing:-.3px;margin:0; }
:where(.view-scheduled-posts) .drawer-heading p { font-size:11px;color:#8792a2;margin:5px 0 0; }
:where(.view-scheduled-posts) .icon-button { width:34px;height:34px;display:grid;place-items:center;flex-shrink:0;border:0;border-radius:7px;background:var(--surface);color:#637188; }
:where(.view-scheduled-posts) .icon-button:hover { background:#e7f0ff;color:var(--blue); }
:where(.view-scheduled-posts) .icon-button svg { width:17px;height:17px; }
:where(.view-scheduled-posts) .drawer-body { padding:22px; }
:where(.view-scheduled-posts) .facebook-preview { border:1px solid #dfe4eb;background:white;border-radius:10px;overflow:hidden;box-shadow:0 2px 5px #18223508; }
:where(.view-scheduled-posts) .post-author { display:flex;align-items:center;gap:10px;padding:16px 16px 12px; }
:where(.view-scheduled-posts) .page-avatar { width:40px;height:40px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:var(--blue);color:#fff;font-size:26px;font-weight:800; }
:where(.view-scheduled-posts) .author-name { font-size:14px;font-weight:600;display:block;color:#202c3e; }
:where(.view-scheduled-posts) .author-meta { font-size:11px;color:#7c8796;margin-top:4px;display:block;line-height:1.5; }
:where(.view-scheduled-posts) .caption-preview-wrap { padding:0 16px 16px; }
:where(.view-scheduled-posts) .caption-preview-row { display:flex;align-items:flex-start;gap:10px; }
:where(.view-scheduled-posts) .full-caption { flex:1;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6;color:#283548;margin:0; }
:where(.view-scheduled-posts) .edit-caption { background:transparent;width:30px;height:30px; }
:where(.view-scheduled-posts) .caption-editor textarea { display:block;resize:vertical;width:100%;min-height:145px;max-height:450px;border:1px solid #c9d8ee;border-radius:8px;background:white;color:#283548;font:14px/1.6 Arial,sans-serif;padding:12px; }
:where(.view-scheduled-posts) .caption-editor textarea:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-scheduled-posts) .editor-actions { display:flex;justify-content:flex-end;gap:8px;margin-top:10px; }
:where(.view-scheduled-posts) .editor-actions button { border-radius:6px;padding:8px 15px;font-size:12px;font-weight:600;min-height:35px; }
:where(.view-scheduled-posts) .cancel-edit { border:1px solid #e1e7ef;background:white;color:var(--muted); }
:where(.view-scheduled-posts) .update-caption { border:1px solid var(--blue);background:var(--blue);color:white; }
:where(.view-scheduled-posts) .update-caption:hover { background:#1266d5; }
:where(.view-scheduled-posts) .preview-media { background:#e9edf2;aspect-ratio:4/5;position:relative; }
:where(.view-scheduled-posts) .preview-media img { display:block;width:100%;height:100%;object-fit:contain; }
:where(.view-scheduled-posts) .preview-fallback { position:absolute;inset:0;display:grid;place-items:center;text-align:center;color:#78869a;font-size:13px;padding:25px; }
:where(.view-scheduled-posts) .post-reactions { display:flex;justify-content:space-around;border-top:1px solid #edf0f4;padding:13px 8px;font-size:12px;color:#7a8594;background:#fff; }
:where(.view-scheduled-posts) .post-reactions span { display:flex;gap:6px;align-items:center; }
:where(.view-scheduled-posts) .post-reactions svg { width:16px;height:16px; }
:where(.view-scheduled-posts) .preview-feedback { margin:15px 0 0;color:#416587;font-size:12px;line-height:1.6; }
:where(.view-scheduled-posts) .preview-hint { font-size:11px;color:#8995a6;line-height:1.6;text-align:center;margin:16px 0 0; }
body:where(.view-scheduled-posts).preview-open { overflow:hidden; }
@media(max-width:575px) {
  :where(.view-scheduled-posts) .drawer-body { padding:14px; }
  :where(.view-scheduled-posts) .drawer-heading { padding:17px; }
  :where(.view-scheduled-posts) .post-drawer { width:100%; }
}
@media(prefers-reduced-motion:reduce) {
  :where(.view-scheduled-posts) .post-drawer[open] { animation:none; }
}
@media(max-width:420px) {
  :where(.view-topics) .list-heading,
:where(.view-topics) .topic-row { grid-template-columns:18px minmax(0, 1fr) 66px 60px;gap:7px;padding:15px 10px; }
  :where(.view-pages,.view-prompts,.view-manage-account) .list-heading,
:where(.view-pages,.view-prompts,.view-manage-account) .topic-row { grid-template-columns:18px minmax(0,1fr) 66px 60px;gap:7px;padding:15px 10px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .row-number { font-size:10px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .row-actions { gap:4px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .action-icon { width:28px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .status.generated { font-size:9px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .primary-button { padding:10px 12px;font-size:12px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .filter { padding:8px 10px; }
  :where(.view-topics,.view-pages,.view-prompts,.view-manage-account) .topic-dialog { max-height:calc(100dvh - 24px); }
}
@media(prefers-reduced-motion:reduce) {
  :where(.view-topics),
:where(.view-topics) * { transition:none !important; }
  :where(.view-pages,.view-prompts,.view-manage-account),
:where(.view-pages,.view-prompts,.view-manage-account) * { transition:none!important; }
}
:where(.view-pages) .manager { display:grid;grid-template-columns:350px minmax(0,1fr);gap:26px;align-items:start; }
:where(.view-pages) .form-card,
:where(.view-pages) .page-card { background:white;border:1px solid #e1e7ef;border-radius:13px;box-shadow:0 3px 12px #23365305; }
:where(.view-pages) .form-card { padding:26px;position:sticky;top:100px; }
:where(.view-pages) .form-card h2 { font-size:21px;font-weight:700;letter-spacing:-.5px;margin:0 0 8px; }
:where(.view-pages) .form-intro { font-size:12px;line-height:1.7;color:#8390a2;margin:0 0 24px; }
:where(.view-pages) .form-card label { display:block;font-size:12px;font-weight:600;color:#536279;margin:0 0 8px; }
:where(.view-pages) .page-input { width:100%;min-height:46px;padding:12px;border:1px solid #dbe2ed;border-radius:8px;background:white;color:#35445a;font:13px/1.6 Arial,sans-serif; }
:where(.view-pages) .page-input:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-pages) .page-input::placeholder { color:#a1a9b6; }
:where(.view-pages) textarea.page-input { min-height:140px;max-height:360px;resize:vertical; }
:where(.view-pages) .page-field { margin-bottom:19px; }
:where(.view-pages) .field-note { font-size:11px;color:#94a0b0;line-height:1.65;margin:7px 0 0; }
:where(.view-pages) .save-actions { display:flex;gap:8px;margin-top:23px; }
:where(.view-pages) .save-actions .primary-button { flex:1; }
:where(.view-pages) .saved-header { display:flex;align-items:center;justify-content:space-between;gap:15px;margin:3px 0 18px; }
:where(.view-pages) .saved-header h2 { font-size:17px;margin:0;font-weight:700; }
:where(.view-pages) .count-pill { display:grid;place-items:center;background:#e7eef8;border-radius:18px;min-width:28px;height:25px;padding:0 8px;color:#627b9e;font-size:12px; }
:where(.view-pages) .saved-list { list-style:none;padding:0;margin:0;display:grid;gap:16px; }
:where(.view-pages) .page-card { padding:22px; }
:where(.view-pages) .page-top { display:flex;align-items:flex-start;gap:13px; }
:where(.view-pages) .page-avatar { width:46px;height:46px;border-radius:12px;display:grid;place-items:center;flex-shrink:0;background:#e9f2ff;color:var(--blue);font-size:15px;font-weight:700; }
:where(.view-pages) .page-details { flex:1;min-width:0; }
:where(.view-pages) .page-details h3 { font-size:16px;line-height:1.45;overflow-wrap:anywhere;font-weight:600;margin:0 0 5px; }
:where(.view-pages) .page-link { display:block;color:#8695aa;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-decoration:none; }
:where(.view-pages) .page-link:hover { color:#146bd9;text-decoration:underline; }
:where(.view-pages) .page-actions { display:flex;gap:5px; }
:where(.view-pages) .page-description { font-size:13px;line-height:1.7;color:#76849a;margin:17px 0 20px;white-space:pre-wrap;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
:where(.view-pages) .page-bottom { display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #edf0f4;padding-top:16px; }
:where(.view-pages) .connection { font-size:11px;color:#8996a7;display:flex;align-items:center;gap:6px; }
:where(.view-pages) .connection::before { content:'';width:6px;height:6px;background:#c0c8d5;border-radius:50%; }
:where(.view-pages) .token-button { display:flex;align-items:center;gap:7px;padding:9px 12px;background:#edf5ff;border:1px solid #d7e7fc;border-radius:7px;color:#146bd9;font-size:12px;font-weight:600; }
:where(.view-pages) .token-button:hover { background:#e1eeff; }
:where(.view-pages) .token-button svg { width:15px;height:15px; }
:where(.view-pages) .manager-note { padding:17px 19px;background:#eaf2ff;border:1px solid #dce9fc;color:#6381a7;line-height:1.7;font-size:12px;border-radius:10px;margin-top:20px; }
:where(.view-pages) .manager-note strong { display:block;color:#3d6294;margin-bottom:4px; }
:where(.view-pages) .empty-pages { background:#fff;border:1px dashed #d7e0ed;border-radius:13px;padding:50px 25px;text-align:center;color:#8795a8;font-size:13px;line-height:1.75; }
:where(.view-pages) .empty-pages strong { display:block;font-size:16px;color:#536b8c;margin-bottom:6px; }
:where(.view-pages) .token-dialog { padding:0;border:1px solid #e1e7ef;border-radius:15px;width:490px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);overflow-y:auto;box-shadow:0 24px 80px #18223533;color:var(--ink); }
:where(.view-pages) .token-dialog::backdrop { background:#18223566; }
:where(.view-pages) .token-body { padding:25px; }
:where(.view-pages) .token-target { font-size:15px;font-weight:600;color:#35445a;overflow-wrap:anywhere;margin:0 0 12px; }
:where(.view-pages) .token-copy { font-size:13px;color:#7a899f;line-height:1.8; }
:where(.view-pages) .token-steps { counter-reset:step;list-style:none;padding:0;margin:22px 0;display:grid;gap:15px; }
:where(.view-pages) .token-steps li { display:flex;align-items:center;gap:12px;font-size:12px;color:#63768f;line-height:1.6; }
:where(.view-pages) .token-steps li::before { counter-increment:step;content:counter(step);width:27px;height:27px;display:grid;place-items:center;border-radius:50%;flex-shrink:0;background:#eaf2ff;color:var(--blue);font-weight:600; }
:where(.view-pages) .token-body .primary-button { width:100%; }
:where(.view-pages) .feedback-box { font-size:12px;line-height:1.7;color:#47698e;margin:16px 0 0;padding:12px;background:#edf5ff;border-radius:8px; }
:where(.view-manage-account) .account-layout { display:grid;grid-template-columns:205px minmax(0,1fr);gap:24px;align-items:start; }
:where(.view-manage-account) .account-nav { position:sticky;top:100px;background:white;border:1px solid #e1e7ef;border-radius:13px;padding:12px; }
:where(.view-manage-account) .account-nav button { display:flex;align-items:center;gap:12px;width:100%;border:0;border-radius:8px;background:none;text-align:left;color:#78869b;font-size:13px;padding:14px;margin:3px 0; }
:where(.view-manage-account) .account-nav button[aria-selected=true] { background:#edf5ff;color:var(--blue);font-weight:600; }
:where(.view-manage-account) .account-nav button:last-child { color:#bb6363; }
:where(.view-manage-account) .account-nav svg { width:18px;height:18px;flex-shrink:0; }
:where(.view-manage-account) .settings-panel { min-width:0;background:white;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 3px 12px #23365305;padding:30px; }
:where(.view-manage-account) .panel-title { font-size:22px;letter-spacing:-.5px;font-weight:700;margin:0 0 8px; }
:where(.view-manage-account) .panel-subtitle { font-size:13px;color:#8290a3;line-height:1.7;margin:0 0 26px; }
:where(.view-manage-account) .profile-intro { display:flex;gap:13px;align-items:center;padding-bottom:25px;margin-bottom:26px;border-bottom:1px solid #edf0f4; }
:where(.view-manage-account) .profile-monogram { width:54px;height:54px;display:grid;place-items:center;border-radius:15px;background:#eaf2ff;color:var(--blue);font-size:18px;font-weight:700; }
:where(.view-manage-account) .profile-intro strong { display:block;font-size:15px; }
:where(.view-manage-account) .profile-intro small { display:block;font-size:12px;color:#8d99a9;margin-top:5px; }
:where(.view-manage-account) .settings-grid { display:grid;grid-template-columns:1fr 1fr;gap:22px; }
:where(.view-manage-account) .settings-field { min-width:0; }
:where(.view-manage-account) .settings-field.full { grid-column:1/-1; }
:where(.view-manage-account) .settings-field label,
:where(.view-manage-account) .field-label { display:block;font-size:12px;font-weight:600;color:#526279;margin:0 0 8px; }
:where(.view-manage-account) .settings-control { display:block;width:100%;min-width:0;height:46px;padding:11px 13px;border:1px solid #dbe2ed;border-radius:8px;background:white;color:#34445c;font:13px Arial,sans-serif; }
:where(.view-manage-account) .settings-control:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-manage-account) .email-label { display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px; }
:where(.view-manage-account) .email-label label { margin:0; }
:where(.view-manage-account) .verify-indicator { border:0;border-radius:20px;padding:4px 9px;background:#fff6e7;color:#a67b38;font-size:10px; }
:where(.view-manage-account) .verify-indicator:hover { background:#ffebc8; }
:where(.view-manage-account) .verify-indicator.verified { background:#edf7f0;color:#367759; }
:where(.view-manage-account) .helper { font-size:11px;color:#99a3b2;line-height:1.65;margin:8px 0 0; }
:where(.view-manage-account) .phone-row { display:flex;gap:8px; }
:where(.view-manage-account) .dial-picker { position:relative;flex-shrink:0; }
:where(.view-manage-account) .dial-picker summary { height:46px;display:flex;align-items:center;gap:7px;list-style:none;border:1px solid #dbe2ed;border-radius:8px;padding:8px 10px;color:#536b8c;cursor:pointer;font-size:12px; }
:where(.view-manage-account) .dial-picker summary::-webkit-details-marker { display:none; }
:where(.view-manage-account) .dial-menu { position:absolute;top:52px;left:0;width:240px;max-width:70vw;max-height:240px;overflow:auto;background:white;border:1px solid #dce3ef;box-shadow:0 8px 25px #23365318;border-radius:9px;padding:6px;z-index:4; }
:where(.view-manage-account) .dial-option { border:0;background:white;border-radius:5px;width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:10px;font-size:12px;color:#61748d; }
:where(.view-manage-account) .dial-option:hover { background:#edf5ff; }
:where(.view-manage-account) .flag { width:22px;height:15px;display:block;flex-shrink:0;border:1px solid #dce2eb; }
:where(.view-manage-account) .save-row { border-top:1px solid #edf0f4;margin-top:28px;padding-top:20px;display:flex;justify-content:flex-end; }
:where(.view-manage-account) .settings-feedback { font-size:12px;line-height:1.7;color:#486a91;margin:16px 0 0; }
:where(.view-manage-account) .password-wrap { position:relative; }
:where(.view-manage-account) .password-wrap input { padding-right:60px; }
:where(.view-manage-account) .reveal { position:absolute;right:6px;top:0;height:46px;border:0;background:none;font-size:11px;color:#8796aa;padding:0 10px; }
:where(.view-manage-account) .security-fields { max-width:500px;display:grid;gap:22px; }
:where(.view-manage-account) .option-list { display:grid; }
:where(.view-manage-account) .option-row { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0;border-bottom:1px solid #edf0f4; }
:where(.view-manage-account) .option-row:first-child { padding-top:0; }
:where(.view-manage-account) .option-row:last-child { border:0; }
:where(.view-manage-account) .option-row strong { font-size:14px;color:#455970;display:block;margin-bottom:7px; }
:where(.view-manage-account) .option-row p { font-size:12px;color:#8b98aa;line-height:1.7;margin:0; }
:where(.view-manage-account) .pill-toggle { display:flex;align-items:center;gap:8px;cursor:pointer;flex-shrink:0; }
:where(.view-manage-account) .pill-toggle input { appearance:none;width:46px;height:26px;background:#d8dfe9;border-radius:30px;margin:0;position:relative;cursor:pointer; }
:where(.view-manage-account) .pill-toggle input:before { content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .15s; }
:where(.view-manage-account) .pill-toggle input:checked { background:var(--blue); }
:where(.view-manage-account) .pill-toggle input:checked:before { transform:translateX(20px); }
:where(.view-manage-account) .pill-toggle span { font-size:11px;color:#8a98aa;min-width:19px; }
:where(.view-manage-account) .plans-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
:where(.view-manage-account) .plan-card { display:flex;flex-direction:column;position:relative;min-width:0;padding:24px 16px 18px;border:1px solid #dfe5ef;border-radius:12px;cursor:pointer;background:#fff; }
:where(.view-manage-account) .plan-card:has(input:checked) { border-color:var(--blue);box-shadow:0 0 0 2px #1877f218;background:#fcfdff; }
:where(.view-manage-account) .plan-card input { position:absolute;top:23px;right:14px;accent-color:var(--blue);width:16px;height:16px; }
:where(.view-manage-account) .plan-badge { font-size:9px;letter-spacing:.5px;position:absolute;top:-11px;left:13px;padding:5px 9px;border-radius:20px;background:var(--blue);color:white;font-weight:700; }
:where(.view-manage-account) .plan-badge.elite { background:#263c5c; }
:where(.view-manage-account) .plan-name { font-size:21px;font-weight:700;letter-spacing:-.6px;display:block;margin-bottom:9px; }
:where(.view-manage-account) .plan-tagline { font-size:11px;line-height:1.6;color:#94a0b1;min-height:38px;display:block; }
:where(.view-manage-account) .plan-price { font-size:12px;color:#647b9a;display:block;margin:18px 0;padding-bottom:17px;border-bottom:1px solid #edf0f4; }
:where(.view-manage-account) .plan-features { padding:0;list-style:none;display:grid;gap:13px;margin:0;font-size:11px;color:#71839b;line-height:1.65; }
:where(.view-manage-account) .plan-features li:before { content:'✓';color:var(--blue);margin-right:6px; }
:where(.view-manage-account) .plan-info { font-size:11px;color:#96a2b2;line-height:1.7;margin:24px 0; }
:where(.view-manage-account) .deactivate-note { background:#fff7f7;border:1px solid #f0dede;border-radius:10px;padding:22px;margin-bottom:25px; }
:where(.view-manage-account) .deactivate-note h3 { font-size:15px;font-weight:600;color:#a25f5f;margin:0 0 14px; }
:where(.view-manage-account) .deactivate-note ul { font-size:13px;color:#aa8383;line-height:1.8;padding-left:18px;margin:0; }
:where(.view-manage-account) .deactivate-note li+li { margin-top:7px; }
:where(.view-manage-account) .danger-button { background:#d95555;border:1px solid #d95555;color:white;padding:11px 19px;border-radius:8px;font-size:13px;font-weight:600; }
:where(.view-manage-account) .danger-button:disabled { opacity:.4;cursor:not-allowed; }
:where(.view-manage-account) .danger-button:not(:disabled):hover { background:#c74444; }
:where(.view-manage-account) .verify-body { padding:26px; }
:where(.view-manage-account) .verify-body p { font-size:13px;color:#8493a6;line-height:1.8;margin:0 0 22px; }
:where(.view-manage-account) .verify-body .primary-button { margin-top:20px;width:100%; }
:where(.view-manage-account) .verify-body .settings-feedback { margin-top:15px; }
:where(.view-pages,.view-manage-account) .sr-label { position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0); }
@media(max-width:1000px) {
  :where(.view-pages) .manager { grid-template-columns:310px minmax(0,1fr);gap:18px; }
  :where(.view-pages) .form-card,
:where(.view-pages) .page-card { padding:20px; }
}
@media(max-width:800px) {
  :where(.view-pages) .manager { grid-template-columns:1fr; }
  :where(.view-pages) .form-card { position:static; }
  :where(.view-pages) .page-card { padding:20px; }
}
@media(max-width:420px) {
  :where(.view-pages) .page-avatar { width:38px;height:38px; }
  :where(.view-pages) .page-top { gap:9px; }
  :where(.view-pages) .page-details h3 { font-size:14px; }
  :where(.view-pages) .page-actions { gap:3px; }
  :where(.view-pages) .page-bottom { align-items:flex-start;flex-direction:column; }
  :where(.view-pages) .token-button { width:100%;justify-content:center; }
}
:where(.view-pages) .saved-header { flex-wrap:wrap; }
:where(.view-pages) .saved-heading,
:where(.view-pages) .page-tools { display:flex;align-items:center;gap:10px; }
:where(.view-pages) .page-tools { margin-left:auto; }
:where(.view-pages) .page-search { position:relative;display:flex;align-items:center; }
:where(.view-pages) .page-search svg { position:absolute;left:12px;width:16px;height:16px;color:#8795aa;pointer-events:none; }
:where(.view-pages) .page-search input { width:210px;min-height:40px;padding:9px 12px 9px 36px;border:1px solid #dbe2ed;border-radius:9px;font:12px Arial;background:#fff;color:#35445a; }
:where(.view-pages) .page-search input:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-pages) .sort-dropdown { position:relative; }
:where(.view-pages) .sort-dropdown summary { list-style:none;cursor:pointer;display:flex;align-items:center;gap:7px;min-height:40px;padding:9px 12px;border:1px solid #dbe2ed;border-radius:9px;background:white;color:#536279;font-size:12px; }
:where(.view-pages) .sort-dropdown summary::-webkit-details-marker { display:none; }
:where(.view-pages) .sort-dropdown summary svg { width:15px;height:15px; }
:where(.view-pages) .sort-dropdown[open] summary { background:#edf5ff;color:var(--blue);border-color:#bad5fa; }
:where(.view-pages) .sort-menu { position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:190px;background:white;border:1px solid #e1e7ef;border-radius:12px;padding:8px;box-shadow:0 12px 35px #23365320; }
:where(.view-pages) .sort-label { padding:8px 10px;color:#8a98aa;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:1px; }
:where(.view-pages) .sort-menu label { display:flex;align-items:center;gap:10px;cursor:pointer;padding:11px 10px;border-radius:7px;color:#536279;font-size:13px; }
:where(.view-pages) .sort-menu label:hover { background:#f1f6ff; }
:where(.view-pages) .sort-menu input { accent-color:var(--blue); }
:where(.view-pages) .results-summary { font-size:11px;color:#8996a7;margin:-6px 0 16px; }
:where(.view-pages) .added-date { display:block;font-size:10px;color:#97a3b2;margin-top:8px; }
:where(.view-pages) .clear-search { margin-top:15px;border:0;border-radius:7px;padding:9px 14px;background:#edf5ff;color:var(--blue);font-size:12px;cursor:pointer; }
@media(max-width:480px) {
  :where(.view-pages) .page-tools { width:100%;margin-left:0; }
  :where(.view-pages) .page-search { flex:1;min-width:0; }
  :where(.view-pages) .page-search input { width:100%; }
  :where(.view-pages) .saved-header { gap:14px; }
  :where(.view-pages) .sort-menu { left:0;right:auto; }
}
:where(.view-prompts) .prompt-header,
:where(.view-prompts) .prompt-row { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 90px;gap:24px;align-items:center;padding:21px 24px; }
:where(.view-prompts) .prompt-header { padding-top:14px;padding-bottom:14px;background:#fafbfd;border-bottom:1px solid #e7ecf2;color:#8290a3;font-size:11px;letter-spacing:.7px; }
:where(.view-prompts) .prompt-header span:last-child { text-align:right; }
:where(.view-prompts) .prompt-row { border-bottom:1px solid #edf0f4;min-height:85px; }
:where(.view-prompts) .prompt-row:last-child { border:0; }
:where(.view-prompts) .prompt-row:hover { background:#fcfdff; }
:where(.view-prompts) .prompt-name { background:none;border:0;padding:3px 0;color:#35445a;font-size:14px;font-weight:600;display:block;text-align:left;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden; }
:where(.view-prompts) .prompt-name:hover { color:#146bd9; }
:where(.view-prompts) .prompt-meta { font-size:11px;color:#99a4b4;display:block;margin-top:6px; }
:where(.view-prompts) .belongs-to { display:flex;align-items:center;gap:9px;min-width:0;color:#73849b;font-size:12px; }
:where(.view-prompts) .page-mark { width:28px;height:28px;border-radius:8px;background:#edf4ff;color:#6e94c7;display:grid;place-items:center;flex-shrink:0;font-size:11px;font-weight:700; }
:where(.view-prompts) .page-name { overflow:hidden;white-space:nowrap;text-overflow:ellipsis; }
:where(.view-prompts) .page-missing { color:#aa8554; }
:where(.view-prompts) .prompt-control { width:100%;min-height:46px;padding:12px 14px;border:1px solid #dbe2ed;border-radius:8px;color:#34445c;background:white;font:14px/1.5 Arial,sans-serif; }
:where(.view-prompts) .prompt-control:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-prompts) .topic-form textarea { min-height:250px;max-height:450px; }
:where(.view-prompts) .page-help { font-size:12px;line-height:1.7;color:#8190a5;margin:10px 0 0; }
:where(.view-prompts) .page-help a { color:#146bd9; }
:where(.view-prompts) .empty-symbol { margin:0 auto 15px;width:46px;height:46px;border-radius:12px;background:#edf4ff;color:var(--blue);display:grid;place-items:center;font-size:23px; }
:where(.view-prompts) .empty strong { display:block;font-size:17px;color:#536b8c;margin-bottom:8px; }
:where(.view-prompts) .empty p { font-size:13px;color:#8795a8;line-height:1.7;margin:0; }
:where(.view-prompts) .modal-actions button:disabled { opacity:.45;cursor:default; }
:where(.view-prompts) .prompt-legend { display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;font-size:12px;color:#8a96a6; }
:where(.view-prompts) .prompt-legend a { color:#146bd9;text-decoration:none; }
:where(.view-prompts) .action-icon.edit { background:#fff;border-color:#e1e7ef;color:#7288a6; }
:where(.view-prompts) .action-icon.edit:hover { background:#edf5ff;color:var(--blue); }
@media(max-width:700px) {
  :where(.view-prompts) .prompt-header,
:where(.view-prompts) .prompt-row { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 72px;gap:12px;padding:17px 14px; }
  :where(.view-prompts) .prompt-name { font-size:13px; }
  :where(.view-prompts) .belongs-to { font-size:11px;gap:6px; }
  :where(.view-prompts) .page-mark { width:24px;height:24px; }
  :where(.view-prompts) .prompt-header { font-size:10px; }
}
@media(max-width:420px) {
  :where(.view-prompts) .prompt-header,
:where(.view-prompts) .prompt-row { grid-template-columns:minmax(0,1fr) minmax(0,.9fr) 60px;gap:8px;padding:16px 10px; }
  :where(.view-prompts) .page-mark { display:none; }
  :where(.view-prompts) .topic-form textarea { min-height:220px; }
}
:where(.view-prompts) .page-filter { display:flex;align-items:center;gap:10px; }
:where(.view-prompts) .page-filter label { font-size:12px;color:#75869c; }
:where(.view-prompts) .page-filter select { max-width:260px;padding:11px 34px 11px 13px;border:1px solid #dbe2ed;border-radius:9px;background:#fff;color:#405574;font:12px Arial;min-height:40px; }
:where(.view-prompts) .page-filter select:focus,
:where(.view-prompts) .jump-form input:focus { outline:2px solid var(--focus-ring);outline-offset:1px; }
:where(.view-prompts) .pagination-footer { display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:20px 24px;border-top:1px solid #e7ecf2;background:#fcfdff; }
:where(.view-prompts) .pagination-footer>span { font-size:11px;color:#8190a5; }
:where(.view-prompts) .pagination-controls { display:flex;align-items:center;gap:5px; }
:where(.view-prompts) .pagination-controls button,
:where(.view-prompts) .jump-form button { border:1px solid #e0e6ef;background:#fff;border-radius:7px;min-width:33px;height:33px;font-size:12px;color:#637994;cursor:pointer; }
:where(.view-prompts) .pagination-controls button:hover:not(:disabled),
:where(.view-prompts) .jump-form button:hover { background:#edf5ff;color:var(--blue); }
:where(.view-prompts) .pagination-controls button[aria-current="page"] { background:var(--blue);border-color:var(--blue);color:white; }
:where(.view-prompts) .pagination-controls button:disabled { opacity:.35;cursor:default; }
:where(.view-prompts) .pagination-controls .ellipsis { font-size:12px;color:#99a4b4;padding:0 3px; }
:where(.view-prompts) .jump-form { display:flex;align-items:center;gap:7px;color:#8290a3;font-size:11px; }
:where(.view-prompts) .jump-form input { width:51px;height:33px;border:1px solid #dbe2ed;border-radius:7px;text-align:center;font:12px Arial;color:#405574; }
:where(.view-prompts) .manage-pages-footer { display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:19px;font-size:11px;color:#94a0b0; }
:where(.view-prompts) .manage-pages-footer a { color:var(--blue);text-decoration:none; }
:where(.view-prompts) .manage-pages-footer a:hover { text-decoration:underline; }
:where(.view-prompts) .prompt-row>div:first-child { min-width:0; }
@media(max-width:600px) {
  :where(.view-prompts) .prompt-legend { gap:16px;align-items:flex-start;flex-wrap:wrap; }
  :where(.view-prompts) .page-filter { margin-left:auto; }
  :where(.view-prompts) .page-filter select { max-width:200px; }
  :where(.view-prompts) .pagination-footer { padding:17px 14px;justify-content:center; }
  :where(.view-prompts) .pagination-footer>span { width:100%;text-align:center; }
  :where(.view-prompts) .manage-pages-footer { font-size:11px; }
}
@media(max-width:380px) {
  :where(.view-prompts) .page-filter { width:100%;margin:0; }
  :where(.view-prompts) .page-filter select { flex:1;min-width:0; }
}
@media(max-width:1050px) {
  :where(.view-manage-account) .account-layout { grid-template-columns:175px minmax(0,1fr);gap:18px; }
  :where(.view-manage-account) .settings-panel { padding:24px; }
  :where(.view-manage-account) .plans-grid { grid-template-columns:1fr;gap:24px; }
  :where(.view-manage-account) .plan-card { padding:23px; }
  :where(.view-manage-account) .plan-tagline { min-height:0; }
}
@media(max-width:700px) {
  :where(.view-manage-account) .account-layout { grid-template-columns:1fr; }
  :where(.view-manage-account) .account-nav { position:static;display:flex;overflow:auto;padding:7px;gap:3px; }
  :where(.view-manage-account) .account-nav button { width:auto;white-space:nowrap;padding:11px;gap:7px;font-size:12px;margin:0; }
  :where(.view-manage-account) .account-nav svg { width:16px; }
  :where(.view-manage-account) .settings-panel { padding:23px; }
  :where(.view-manage-account) .settings-grid { grid-template-columns:1fr; }
  :where(.view-manage-account) .settings-field.full { grid-column:auto; }
  :where(.view-manage-account) .option-row { gap:15px; }
}
:where(.public-page) :focus-visible { outline:3px solid var(--focus-ring);outline-offset:3px; }
:where(.public-page) .site-header { background:white;border-bottom:1px solid #e5eaf1;position:sticky;top:0;z-index:10; }
:where(.public-page) .header-inner { max-width:1120px;margin:auto;padding:20px 24px;display:flex;align-items:center;gap:26px;flex-wrap:wrap; }
:where(.public-page) .brand { font-size:35px;font-weight:800;letter-spacing:-1.8px;color:var(--blue);line-height:1; }
:where(.public-page) .brand:hover { text-decoration:none; }
:where(.public-page) .brand span { display:inline-block;width:8px;height:8px;background:var(--blue);border-radius:50%;margin-left:3px; }
:where(.public-page) .public-nav { display:flex;align-items:center;gap:24px;margin-left:auto; }
:where(.public-page) .public-nav a { font-size:13px;color:var(--muted); }
:where(.public-page) .public-nav a[aria-current=page] { color:#146bd9;font-weight:700; }
:where(.public-page) .button { display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid var(--blue);background:var(--blue);color:white;white-space:nowrap; }
:where(.public-page) .button:hover { background:#1266d5;color:#fff;text-decoration:none; }
:where(.public-page) .menu-button { display:none;border:1px solid #e1e7ef;background:var(--surface);color:#596a83;padding:9px 11px;border-radius:8px;font-size:13px; }
:where(.public-page) .container-page { max-width:1120px;margin:auto;padding:50px 24px 68px;min-height:calc(100svh - 180px); }
:where(.public-page) .eyebrow { font-size:11px;letter-spacing:1.7px;font-weight:700;color:#146bd9;margin:0 0 15px; }
:where(.public-page) h1 { font-size:42px;font-weight:700;letter-spacing:-1.5px;margin:0 0 17px;line-height:1.15; }
:where(.public-page) h2 { font-size:21px;font-weight:700;letter-spacing:-.45px;margin:0 0 14px; }
:where(.public-page) h3 { font-size:16px;font-weight:600;margin:0 0 10px; }
:where(.public-page) .lead-copy { font-size:16px;color:#728097;line-height:1.75;max-width:640px;margin:0; }
:where(.public-page) .hero { margin-bottom:36px; }
:where(.public-page) .page-label { font-size:12px;color:#8994a5;margin-top:18px; }
:where(.public-page) .card-surface { background:#fff;border:1px solid #e1e7ef;border-radius:14px;box-shadow:0 4px 18px #23365305;padding:32px; }
:where(.public-page) .legal-layout { display:grid;grid-template-columns:215px minmax(0,1fr);gap:28px;align-items:start; }
:where(.public-page) .toc { position:sticky;top:110px;padding:23px 18px; }
:where(.public-page) .toc strong { display:block;font-size:10px;letter-spacing:1.1px;color:#8a96a6;margin:0 12px 14px; }
:where(.public-page) .toc a { display:block;border-radius:6px;font-size:12px;color:#65758c;padding:9px 12px;line-height:1.5; }
:where(.public-page) .toc a:hover { background:#edf5ff;color:#146bd9;text-decoration:none; }
:where(.public-page) .legal section+section { border-top:1px solid #edf0f4;margin-top:28px;padding-top:28px; }
:where(.public-page) .legal section { scroll-margin-top:110px; }
:where(.public-page) .legal p,
:where(.public-page) .legal li { font-size:14px;color:#64728a;line-height:1.85; }
:where(.public-page) .legal p:last-child { margin-bottom:0; }
:where(.public-page) .legal ul { padding-left:19px; }
:where(.public-page) .legal li { padding-left:4px;margin-bottom:6px; }
:where(.public-page) .draft-note { background:#edf5ff;color:#4f6c94;border:1px solid #d8e7fd;border-radius:9px;padding:14px 17px;font-size:12px;line-height:1.7;margin-bottom:26px; }
:where(.public-page) .placeholder { color:#59749a;background:#eef4fc;border-radius:3px;padding:1px 4px;overflow-wrap:anywhere; }
:where(.public-page) .two-columns { display:grid;grid-template-columns:1fr 1.15fr;gap:36px;align-items:start; }
:where(.public-page) .intro-column { padding:15px 0; }
:where(.public-page) .small-card { padding:22px;border-radius:11px;background:#eaf2ff;margin-top:25px; }
:where(.public-page) .small-card p { font-size:13px;line-height:1.7;color:#61799b;margin:0; }
:where(.public-page) .small-card h3 { color:#42678f; }
:where(.public-page) .form-label { display:block;font-size:13px;font-weight:600;color:#4b5b73;margin:0 0 8px; }
:where(.public-page) .form-field { margin-bottom:20px; }
:where(.public-page) .form-control,
:where(.public-page) .form-select { box-sizing:border-box;width:100%;min-height:46px;padding:12px 14px;background:#fff;color:#34445c;border:1px solid #dbe2ed;border-radius:8px;font-size:14px;line-height:1.5; }
:where(.public-page) .form-control:focus,
:where(.public-page) .form-select:focus { outline:2px solid var(--focus-ring);border-color:var(--blue); }
:where(.public-page) textarea.form-control { min-height:160px;max-height:420px;resize:vertical; }
:where(.public-page) .form-pair { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
:where(.public-page) .form-hint { font-size:11px;color:#8a96a6;line-height:1.65;margin:16px 0 0; }
:where(.public-page) .feedback { background:#edf5ff;border-radius:8px;padding:13px;font-size:13px;color:#42678f;line-height:1.6;margin-top:16px; }
:where(.public-page) .contact-links { display:grid;gap:22px;margin-top:30px; }
:where(.public-page) .contact-links h3 { font-size:14px; }
:where(.public-page) .contact-links p { margin:0;font-size:13px;line-height:1.8;color:#748198; }
:where(.public-page) .about-hero { display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center;padding:8px 0 40px; }
:where(.public-page) .about-hero h1 { font-size:46px; }
:where(.public-page) .about-hero .button { margin-top:24px; }
:where(.public-page) .workflow { background:#fff;border:1px solid #e1e7ef;padding:25px;border-radius:16px;box-shadow:0 15px 45px #23365308;transform:rotate(1deg); }
:where(.public-page) .workflow-tag { font-size:10px;letter-spacing:1.2px;color:#8493a8;font-weight:700;margin-bottom:18px; }
:where(.public-page) .workflow-item { display:flex;align-items:center;gap:15px;padding:15px 0; }
:where(.public-page) .workflow-item+.workflow-item { border-top:1px solid #edf0f4; }
:where(.public-page) .step { width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#eaf2ff;color:var(--blue);font-size:14px;font-weight:700;flex-shrink:0; }
:where(.public-page) .workflow-item strong { font-size:14px;display:block;margin-bottom:5px; }
:where(.public-page) .workflow-item small { font-size:12px;color:#8a96a6; }
:where(.public-page) .feature-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px; }
:where(.public-page) .feature-grid p { font-size:14px;color:#748198;line-height:1.75;margin:0; }
:where(.public-page) .feature-grid .card-surface { padding:25px; }
:where(.public-page) .feature-number { font-size:11px;color:var(--blue);font-weight:700;margin-bottom:17px; }
:where(.public-page) .wide-note { margin-top:28px;display:flex;justify-content:space-between;align-items:center;gap:20px; }
:where(.public-page) .wide-note p { font-size:14px;color:#748198;margin:0;line-height:1.7; }
:where(.public-page) .skip-link { position:absolute;left:16px;top:-60px;background:#fff;padding:10px;border:2px solid var(--blue);z-index:50; }
:where(.public-page) .skip-link:focus { top:8px; }
@media(max-width:800px) {
  :where(.public-page) .header-inner { gap:15px; }
  :where(.public-page) .menu-button { display:block;margin-left:auto; }
  :where(.public-page) .public-nav { display:none;order:5;flex-basis:100%;margin:0;gap:5px;flex-direction:column;align-items:stretch;padding-top:10px;border-top:1px solid #edf0f4; }
  :where(.public-page) .public-nav.is-open { display:flex; }
  :where(.public-page) .public-nav a { padding:10px; }
  :where(.public-page) .legal-layout { grid-template-columns:1fr; }
  :where(.public-page) .toc { position:static;display:flex;flex-wrap:wrap;padding:16px; }
  :where(.public-page) .toc strong { width:100%;margin-bottom:8px; }
  :where(.public-page) .toc a { padding:7px 10px; }
  :where(.public-page) .two-columns,
:where(.public-page) .about-hero { grid-template-columns:1fr;gap:25px; }
  :where(.public-page) .about-hero { padding-bottom:25px; }
  :where(.public-page) .workflow { transform:none; }
  :where(.public-page) .feature-grid { grid-template-columns:1fr; }
  :where(.public-page) .container-page { padding-top:34px; }
  :where(.public-page) .about-hero h1,
:where(.public-page) h1 { font-size:35px; }
  :where(.public-page) .wide-note { align-items:flex-start;flex-direction:column; }
}
@media(max-width:480px) {
  :where(.public-page) .header-inner { padding:16px; }
  :where(.public-page) .container-page { padding-left:16px;padding-right:16px; }
  :where(.public-page) .brand { font-size:31px; }
  :where(.public-page) .card-surface { padding:23px; }
  :where(.public-page) .form-pair { grid-template-columns:1fr;gap:0; }
  :where(.public-page) .lead-copy { font-size:14px; }
  :where(.public-page) .button { padding:10px 14px; }
  :where(.public-page) .hero { margin-bottom:26px; }
}



/* Dashboard */
body.view-dashboard {
  margin:0;
  background:var(--surface);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
}
.view-dashboard [hidden] {display:none!important}
.view-dashboard .topbar {position:sticky;top:0}
.view-dashboard .topbar-inner {max-width:1248px}
.view-dashboard .brand {
  font-weight:800;
  color:var(--blue);
  line-height:1;
}
.view-dashboard .brand span {
  display:inline-block;
  background:var(--blue);
  border-radius:50%;
}
.view-dashboard .site-navigation {
  position:fixed;
  top:76px;
  bottom:0;
  left:0;
  width:270px;
  max-width:85vw;
  margin:0;
  padding:24px 16px;
  background:white;
  border-right:1px solid var(--border);
  z-index:20;
  overflow-y:auto;
  transform:translateX(-100%);
  visibility:hidden;
  transition:transform .24s ease,visibility .24s;
}
.view-dashboard .site-navigation.is-open {
  transform:translateX(0);
  visibility:visible;
}
.view-dashboard .dash-main {padding:38px 24px 60px}
.dash-shell {max-width:1200px;margin:auto}
.dash-heading,
.dash-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.dash-heading {margin-bottom:28px}
.dash-heading h1 {
  margin:0 0 8px;
  font-size:32px;
  font-weight:700;
  letter-spacing:-1px;
}
.dash-heading p {
  margin:0;
  color:var(--muted);
  font-size:13px;
}
.dash-heading .dash-eyebrow {
  margin-bottom:10px;
  color:var(--blue);
  font-size:10px;
  font-weight:700;
  letter-spacing:1.5px;
}
.dash-demo {
  padding:7px 11px;
  border-radius:20px;
  background:#e8effa;
  color:#637c9e;
  font-size:11px;
  white-space:nowrap;
}
.dash-columns {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
  gap:22px;
  margin-bottom:24px;
}
.dash-panel {
  min-width:0;
  overflow:hidden;
  background:white;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:0 4px 18px #23365305;
}
.dash-shell > .dash-panel {margin-top:24px}
.dash-panel-head {
  align-items:flex-start;
  flex-wrap:wrap;
  padding:23px 24px;
  border-bottom:1px solid var(--border);
}
.dash-panel-head h2 {
  margin:0 0 6px;
  font-size:17px;
  font-weight:700;
}
.dash-panel-head p {
  margin:0;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.dash-links {
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  margin-left:auto;
  padding-top:3px;
  font-size:11px;
  white-space:nowrap;
}
.dash-panel a {color:var(--blue);text-decoration:none}
.dash-panel a:hover {text-decoration:underline}
.dash-panel a:focus-visible {
  outline:3px solid var(--focus-ring);
  outline-offset:3px;
}
.dash-list {list-style:none;padding:0;margin:0}
.dash-list li {
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px 24px;
  border-bottom:1px solid #edf0f5;
}
.dash-list li:last-child {border-bottom:0}
.dash-list li:hover {background:#fafcff}
.dash-truncate {
  display:block;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}
.dash-topics .dash-truncate {
  flex:1;
  color:#40516a;
  font-size:12px;
}
.dash-number {
  flex-shrink:0;
  width:20px;
  font-size:10px;
  color:#9aa7b8;
  font-variant-numeric:tabular-nums;
}
.dash-status {
  display:inline-block;
  flex-shrink:0;
  padding:4px 7px;
  border-radius:5px;
  background:#f1f3f6;
  color:#8a97a9;
  font-size:9px;
  white-space:nowrap;
}
.dash-status.is-generated {
  background:#edf5ff;
  color:#517eaf;
}
.dash-pages li {padding-block:21px}
.dash-avatar {
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:40px;
  height:40px;
  border-radius:11px;
  background:#eaf2ff;
  color:var(--blue);
  font-size:12px;
  font-weight:700;
}
.dash-pages a {flex:1;min-width:0}
.dash-pages strong {
  display:block;
  font-size:13px;
  font-weight:600;
  color:#40516a;
  overflow-wrap:anywhere;
}
.dash-pages small,
.dash-queue-copy small {
  display:block;
  margin-top:5px;
  font-size:10px;
  color:#94a0b1;
}
.dash-arrow {font-size:14px;color:#9caabe}
.dash-panel-note {
  margin:0;
  padding:18px 24px;
  border-top:1px solid var(--border);
  font-size:11px;
  line-height:1.7;
  color:#8997aa;
}
.dash-queue li {gap:16px}
.dash-thumb {flex-shrink:0}
.dash-thumb img {
  display:block;
  width:48px;
  height:60px;
  object-fit:cover;
  border-radius:7px;
  background:var(--surface);
}
.dash-queue-copy {flex:1;min-width:0}
.dash-queue-copy > a {font-size:13px;color:#40516a}
.dash-queue time {min-width:105px;text-align:right}
.dash-queue time strong {
  display:block;
  font-size:12px;
  font-weight:500;
}
.dash-queue time span {
  display:block;
  margin-top:5px;
  font-size:11px;
  color:#8997aa;
}
.dash-photo-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  padding:24px;
}
.dash-photo {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
}
.dash-photo > a {display:block;background:var(--surface)}
.dash-photo img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
}
.dash-photo-body {padding:13px}
.dash-photo-body p {
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:40px;
  margin:0 0 13px;
  color:#63738a;
  font-size:12px;
  line-height:1.65;
}
.dash-photo-body > div {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.dash-photo-body time {font-size:10px;color:#94a0b1}
.dash-gate {
  max-width:700px;
  margin:60px auto;
  padding:35px;
  text-align:center;
}
@media (max-width:1199px) {
  .dash-photo-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:850px) {
  .dash-columns {grid-template-columns:1fr}
}
@media (max-width:767px) {
  .dash-photo-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    padding:16px;
  }
}
@media (max-width:600px) {
  .view-dashboard .site-navigation {top:72px}
  .view-dashboard .dash-main {padding:26px 12px 40px}
  .dash-heading {align-items:flex-start}
  .dash-heading h1 {font-size:27px}
  .dash-panel-head {padding:18px 16px;gap:12px}
  .dash-list li {padding:13px 16px;gap:10px}
  .dash-queue .dash-status {display:none}
  .dash-queue time {min-width:86px}
  .dash-queue time strong {font-size:10px}
}
/* Shared site footer — all pages */
body > footer,
.site-footer {
  min-height:88px;
  margin:0;
  padding:25px 24px;
  background:#fff;
  border-top:1px solid var(--border);
  color:#8992a1;
  font-size:12px;
  line-height:1.6;
  transition:margin-left .24s ease;
}
.footer-inner {
  width:100%;
  max-width:1200px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.footer-note {
  margin:0;
  color:#8992a1;
  font-size:11px;
}
.footer-links {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 20px;
}
.footer-links a {
  color:#7e8a9c;
  text-decoration:none;
}
.footer-links a:hover {
  color:var(--blue);
  text-decoration:underline;
}
.footer-links a:focus-visible {
  outline:3px solid var(--focus-ring);
  outline-offset:4px;
  border-radius:2px;
}
@media (min-width:1000px) {
  body.workspace-page.sidebar-open > footer {
    margin-left:270px;
  }
}
@media (max-width:700px) {
  body > footer,
  .site-footer { padding:22px 16px; }
  .footer-inner {
    justify-content:center;
    text-align:center;
    gap:12px 18px;
  }
  .footer-links { justify-content:center;gap:10px 16px; }
}
@media (prefers-reduced-motion:reduce) {
  body > footer,
  .site-footer { transition:none; }
}

/* Delete confirmation */
/* =========================================================
   SITE-WIDE REUSABLE CONFIRMATION DIALOG
   Used by Pages, Prompts, Photos, Topics, etc.
   ========================================================= */

#site-confirm-dialog {
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 1px solid #e1e7ef;
    border-radius: 15px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 24px 80px #18223533;
    overflow: hidden;
}

#site-confirm-dialog::backdrop {
    background: #18223566;
}


/* Header */

#site-confirm-dialog .modal-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 22px 26px;

    background: #fff;
    border-bottom: 1px solid #edf0f4;
}

#site-confirm-dialog .modal-heading h2 {
    margin: 0;

    color: var(--ink);

    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

#site-confirm-dialog .modal-heading p {
    margin: 6px 0 0;

    color: #8490a2;

    font-size: 12px;
}


/* Close */

#site-confirm-dialog .close-modal {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: var(--surface);
    color: #66768d;

    font: inherit;
    font-size: 23px;
    line-height: 1;

    cursor: pointer;
}

#site-confirm-dialog .close-modal:hover {
    background: #e8edf4;
}


/* Body */

#site-confirm-dialog .token-body {
    padding: 25px;
}

#site-confirm-dialog .token-copy {
    margin: 0;

    color: #7a899f;

    font-size: 13px;
    line-height: 1.7;
}


/* Buttons */

#site-confirm-dialog .confirm-delete-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;
    margin-top: 26px;
}

#site-confirm-dialog .secondary-button {
    min-height: 42px;

    padding: 0 18px;

    border: 1px solid #dde3ec;
    border-radius: 8px;

    background: #fff;
    color: #6b788c;

    font: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

#site-confirm-dialog .secondary-button:hover {
    background: #f7f8fa;
}


/* Destructive confirm button */

#site-confirm-dialog .danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 18px;

    border: 1px solid #dc2626;
    border-radius: 8px;

    background: #dc2626;
    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

#site-confirm-dialog .danger-button:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

#site-confirm-dialog .danger-button:focus-visible {
    outline: none;

    box-shadow:
        0 0 0 3px rgba(220, 38, 38, 0.18);
}


/* Mobile */

@media (max-width: 575px) {

    #site-confirm-dialog {
        width: calc(100vw - 24px);
    }

    #site-confirm-dialog .modal-heading {
        padding: 19px 20px;
    }

    #site-confirm-dialog .token-body {
        padding: 20px;
    }

    #site-confirm-dialog .confirm-delete-actions {
        flex-direction: column-reverse;
    }

    #site-confirm-dialog .confirm-delete-actions button {
        width: 100%;
    }
}

.prompt-logo-existing {
    margin-bottom: 12px;
}

.prompt-logo-existing img {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 6px;
    margin-bottom: 6px;
}

.prompt-logo-existing span {
    font-size: 12px;
    color: #777;
}


.content-image-existing {
    margin-bottom: 12px;
}

.content-image-existing img {
    display: block;
    width: 120px;
    height: 90px;
    object-fit: contain;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 6px;
    margin-bottom: 6px;
    background: #fff;
}

.content-image-existing span {
    font-size: 12px;
    color: #6c757d;
}

.topics-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topics-toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}

.page-filter {
    min-width: 190px;
}

.page-filter .form-select {
    width: 100%;
    min-width: 190px;
    height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px;
    border-radius: 8px;
}

.topic-count {
    white-space: nowrap;
}

@media (max-width: 768px) {

    .topics-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .topics-toolbar-right {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .page-filter {
        flex: 1;
        min-width: 0;
    }

    .page-filter .form-select {
        min-width: 0;
    }
}

.action-icon.is-generating {
    cursor: wait;
    opacity: 0.7;
}

.action-icon.is-generating svg {
    animation: ai-generate-spin 1.4s linear infinite;
}

@keyframes ai-generate-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Database-backed photos feature */
#media-feature .media-filter-tools {display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-left:auto}
#media-feature .media-filter-tools label {font-size:12px;display:grid;gap:5px}
#media-feature .media-filter-tools input,#media-feature .media-filter-tools select {padding:9px;border:1px solid #dce2eb;border-radius:8px;background:white;max-width:240px}
#media-feature .media-preview {display:block;width:100%;padding:0;border:0;cursor:zoom-in;text-align:left}
#media-feature .caption {max-height:110px;overflow:auto;white-space:pre-wrap}
#media-feature .media-page-name {font-size:12px;color:#708097;margin-bottom:8px}
#media-feature button:disabled {opacity:.5;cursor:not-allowed}
#media-feature .media-lightbox .modal-content {background:#101419;color:white}
#media-feature .media-lightbox .modal-body {display:flex;flex-direction:column;align-items:center;gap:16px;overflow:auto}
#media-feature .media-lightbox img {max-width:100%;max-height:calc(100dvh - 160px);object-fit:contain}
#media-feature .media-lightbox p {max-width:800px;white-space:pre-wrap}
#media-feedback {min-height:24px;color:#43516a}

/* Photos toolbar: do not inherit full-width login buttons. */
body.view-photos .topbar-inner {display:flex;align-items:center;gap:18px;padding:16px 24px;}
body.view-photos .topbar button, body.view-photos .topbar a {font-family:inherit;}
#media-feature .media-filter-tools {align-items:flex-end;flex:0 1 auto;}
#media-feature .media-filter-tools .btn-primary {width:auto;flex:0 0 auto;min-height:40px;padding:9px 16px;font-size:13px;}
#media-feature .media-filter-tools label {margin:0;}
#media-feature .media-filter-tools input, #media-feature .media-filter-tools select {min-height:40px;font-family:inherit;}
#media-feature .media-filter-tools input[type="search"] {width:180px;}
#media-feature .media-filter-tools select[name="page_id"] {width:190px;}
#media-feature .gallery-toolbar {align-items:flex-end;}
@media(max-width:700px) {
  body.view-photos .topbar-inner {padding:14px 20px;gap:12px;}
  #media-feature .media-filter-tools {width:100%;margin-left:0;}
  #media-feature .media-filter-tools input[type="search"], #media-feature .media-filter-tools select[name="page_id"] {max-width:100%;}
}

/* Full-image viewer with a separate details panel. */
#media-feature .media-lightbox .media-viewer {display:grid;grid-template-columns:minmax(0,1fr) 360px;height:100dvh;overflow:hidden;background:#0b0d10;border:0;border-radius:0;}
#media-feature .media-viewer-stage {position:relative;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:64px 24px 24px;overflow:hidden;}
#media-feature .media-lightbox .media-viewer-stage img {display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;}
#media-feature .media-lightbox .media-viewer-stage img[hidden] {display:none;}
#media-feature .viewer-icon {position:absolute;top:16px;display:grid;place-items:center;width:40px;height:40px;padding:8px;border:0;border-radius:50%;background:#ffffff24;color:#fff;text-decoration:none;z-index:1;}
#media-feature .viewer-close {left:16px;}
#media-feature .viewer-download {right:16px;}
#media-feature .viewer-icon:hover {background:#ffffff40;color:white;}
#media-feature .viewer-icon svg, #media-feature .viewer-copy svg {width:21px;height:21px;}
#media-feature .media-viewer-info {min-width:0;background:#fff;color:#182235;padding:28px 24px;overflow-y:auto;}
#media-feature .media-viewer-info h2 {font-size:20px;margin:0 0 24px;}
#media-feature .viewer-meta {margin:0 0 24px;font-size:13px;}
#media-feature .viewer-meta div {display:grid;grid-template-columns:75px 1fr;gap:12px;margin:12px 0;}
#media-feature .viewer-meta dt {color:#697386;font-weight:500;}
#media-feature .viewer-meta dd {margin:0;overflow-wrap:anywhere;}
#media-feature .viewer-text-section {padding:20px 0;border-top:1px solid #e7ebf2;}
#media-feature .viewer-section-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
#media-feature .viewer-section-heading h3 {font-size:14px;font-weight:700;margin:0;}
#media-feature .viewer-copy {display:grid;place-items:center;background:#f2f4f8;color:#536279;border:0;border-radius:8px;width:34px;height:34px;padding:6px;flex-shrink:0;}
#media-feature .viewer-copy:hover {color:#1877f2;background:#eaf2ff;}
#media-feature .media-lightbox .media-viewer-info p {max-width:none;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65;}
#media-feature #media-lightbox-feedback {color:#146bd9;min-height:24px;}
@media(max-width:767px) {
 #media-feature .media-lightbox .media-viewer {grid-template-columns:1fr;grid-template-rows:55dvh minmax(0,1fr);}
 #media-feature .media-viewer-stage {padding:60px 12px 12px;}
 #media-feature .media-viewer-info {padding:20px;}
}

#media-feature .viewer-previous,#media-feature .viewer-next {top:50%;transform:translateY(-50%);width:44px;height:44px;background:#20252bcc;}
#media-feature .viewer-previous {left:12px;}
#media-feature .viewer-next {right:12px;}
#media-feature .viewer-previous:disabled,#media-feature .viewer-next:disabled {opacity:.25;cursor:default;}
#media-feature .media-viewer-stage {padding-left:64px;padding-right:64px;}

/* Database-backed media scheduling */
#media-feature .schedule-note {transition:opacity .7s ease;}
#media-feature .schedule-note.schedule-success {color:#15803d;font-weight:600;}
#media-feature .schedule-note.schedule-error {color:#b42318;}
#media-feature .schedule-note.schedule-fading {opacity:0;}
#schedule-feature .queue-toolbar select {border:1px solid #dce2eb;border-radius:7px;padding:8px;background:white;font:inherit;max-width:220px;}
#schedule-feature .toolbar-right label {font-size:12px;}
#schedule-feature .scheduler-editor {display:grid;gap:14px;margin-top:20px;}
#schedule-feature .scheduler-editor label {display:grid;gap:6px;font-size:12px;color:#536279;}
#schedule-feature .scheduler-editor textarea,#schedule-feature .scheduler-editor input {width:100%;padding:10px;border:1px solid #c9d8ee;border-radius:8px;font:14px/1.5 Arial,sans-serif;}
#schedule-feature .scheduler-cancel {margin-top:14px;}
#schedule-feature .scheduler-cancel-button {padding:10px 14px;border:1px solid #efcccc;border-radius:7px;color:#b42318;background:#fff2f2;}
#schedule-feature .scheduler-preview .modal-dialog {margin:0 0 0 auto;max-width:520px;height:100dvh;}
#schedule-feature .scheduler-preview .modal-content {height:100dvh;border-radius:0;background:#f6f8fc;}
#schedule-feature .scheduler-preview .drawer-heading {position:static;}
#schedule-feature .scheduler-pagination {margin-top:20px;}
#schedule-feature .queue-row[draggable="true"] {cursor:grab;}
#schedule-feature .queue-list[aria-busy="true"] {opacity:.65;pointer-events:none;}
#schedule-feature .scheduler-alert {padding:12px 16px;border-radius:8px;margin-bottom:18px;transition:opacity .7s;}
#schedule-feature .scheduler-success {background:#ecfdf3;color:#15803d;}
#schedule-feature .scheduler-error {background:#fff2f2;color:#b42318;}
#schedule-feature .scheduler-fading {opacity:0;}
#schedule-feature button:disabled {opacity:.4;cursor:not-allowed;}
#schedule-feature .preview-media p {padding:20px;}
@media(prefers-reduced-motion:reduce) {#media-feature .schedule-note,#schedule-feature .scheduler-alert {transition:none;}}

/* One-page schedules toolbar and independent date controls */
#schedule-feature .filters {display:flex;padding:4px;background:#e8ecf2;border-radius:9px;gap:3px;flex-wrap:wrap;}
#schedule-feature .filter {border:0;background:none;padding:8px 13px;border-radius:6px;color:#5d6879;font-size:12px;}
#schedule-feature .filter[aria-pressed="true"] {background:#fff;color:#146bd9;box-shadow:0 1px 4px #23365310;font-weight:600;}
#schedule-feature .toolbar-right .interval-setting {display:flex;align-items:center;gap:8px;padding:5px 8px 5px 11px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;font-size:12px;color:var(--muted);margin:0;}
#schedule-feature .toolbar-right .interval-setting svg {width:16px;height:16px;flex-shrink:0;color:#7590b2;}
#schedule-feature .toolbar-right .interval-setting select {font:12px Arial,sans-serif;color:#146bd9;background:#f0f6ff;border:0;border-radius:5px;padding:6px 26px 6px 8px;max-width:100%;cursor:pointer;}
#schedule-feature .schedule-page-picker {display:flex;align-items:center;gap:8px;}
#schedule-feature .schedule-cell {grid-template-columns:minmax(0,1fr) auto;}
#schedule-feature .schedule-date-editor {grid-column:1/-1;text-align:left;font-size:11px;min-width:0;margin-top:5px;}
#schedule-feature .schedule-date-editor summary {color:#146bd9;cursor:pointer;}
#schedule-feature .schedule-date-editor form {display:grid;gap:6px;margin-top:8px;}
#schedule-feature .schedule-date-editor input {width:100%;min-width:0;border:1px solid #dce2eb;border-radius:6px;padding:6px;font:11px Arial,sans-serif;}
#schedule-feature .schedule-date-editor button {background:#eef5ff;border:1px solid #d8e7fd;border-radius:6px;padding:6px;color:#146bd9;font:11px Arial,sans-serif;}
@media(max-width:700px) {#schedule-feature .schedule-filters {align-items:flex-start;}#schedule-feature .schedule-page-picker {flex-wrap:wrap;}#schedule-feature .schedule-cell {grid-template-columns:1fr;}}

/* Template-style scheduling drag preview and destination placeholder */
#schedule-feature .drag-handle {touch-action:none;cursor:grab;}
#schedule-feature .queue-row.drag-placeholder {background:#eaf3ff!important;outline:2px dashed #6aa8f7;outline-offset:-3px;border-radius:9px;}
#schedule-feature .queue-row.drag-placeholder > * {opacity:.3;filter:blur(.6px);}
#schedule-feature .scheduler-drag-ghost {position:fixed;z-index:1080;pointer-events:none;list-style:none;margin:0;background:#fff;border:1px solid #a7c8f7;border-radius:10px;box-shadow:0 12px 38px #243a5933;opacity:.94;overflow:hidden;cursor:grabbing;}
#schedule-feature .scheduler-drag-ghost > * {filter:blur(.25px);}
body.dragging-queue,body.dragging-queue * {user-select:none!important;cursor:grabbing!important;}

/* Server-paginated topics: status tabs, schedule-style sorting and pagination. */
#contents-panel .filters a.filter {text-decoration:none;display:inline-block;}
#contents-panel .filters a.filter[aria-current="page"] {background:#fff;color:#146bd9;box-shadow:0 1px 4px #23365310;font-weight:600;}
#contents-panel .topics-toolbar-right {flex-wrap:wrap;}
#contents-panel .topics-sort {margin:0;}
#contents-panel .interval-setting {display:flex;align-items:center;gap:8px;padding:5px 8px 5px 11px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;font-size:12px;color:var(--muted);margin:0;}
#contents-panel .interval-setting svg {width:16px;height:16px;color:#7590b2;}
#contents-panel .interval-setting select {font:12px Arial,sans-serif;color:#146bd9;background:#f0f6ff;border:0;border-radius:5px;padding:6px 26px 6px 8px;cursor:pointer;}
#contents-panel .topics-pagination {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px;}
#contents-panel .topics-page-summary {font-size:12px;color:#637188;}
#contents-panel .topics-page-links {display:flex;gap:5px;align-items:center;flex-wrap:wrap;}
#contents-panel .topic-page {display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:6px 10px;border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#536279;text-decoration:none;font-size:12px;}
#contents-panel .topic-page.current {background:#146bd9;border-color:#146bd9;color:#fff;}
#contents-panel a.topic-page:hover {border-color:#146bd9;}
#contents-panel .topic-page.disabled {opacity:.45;}
#contents-panel .topic-page-gap {padding:0 4px;color:#637188;}

/* Match the Facebook page picker to the adjacent Sort control. */
#contents-panel .topics-page-filter {margin:0;min-width:0;max-width:100%;}
#contents-panel .topics-page-filter .interval-setting {white-space:nowrap;}
#contents-panel .topics-page-filter select {min-width:0;width:auto;max-width:240px;}
#contents-panel .interval-setting svg {flex-shrink:0;}
#contents-panel .interval-setting:focus-within {border-color:#9dc4f7;}
@media(max-width:480px) {
    #contents-panel .topics-page-filter {width:100%;}
    #contents-panel .topics-page-filter select {flex:1;max-width:100%;}
}

/* Media search above matching compact dropdown controls. */
#media-feature .media-controls {margin-bottom:18px;}
#media-feature .media-search {display:flex;align-items:center;gap:10px;width:100%;margin:0 0 16px;padding:0 13px;border:1px solid #dce2eb;border-radius:8px;background:#fff;}
#media-feature .media-search svg {width:18px;height:18px;flex-shrink:0;color:#7590b2;}
#media-feature .media-search input {width:100%;min-width:0;height:42px;padding:10px 0;border:0;background:transparent;box-shadow:none;font:13px Arial,sans-serif;color:#344256;outline:none;}
#media-feature .media-search:focus-within {border-color:#9dc4f7;box-shadow:0 0 0 2px #eaf3ff;}
#media-feature .gallery-toolbar {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
#media-feature .media-filter-tools {display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-left:auto;}
#media-feature .media-filter-tools label.media-setting {display:flex;align-items:center;gap:8px;padding:5px 8px 5px 11px;border:1px solid #e1e7ef;border-radius:7px;background:#fff;color:#637188;font:12px Arial,sans-serif;white-space:nowrap;margin:0;}
#media-feature .media-setting svg {width:16px;height:16px;flex-shrink:0;color:#7590b2;}
#media-feature .media-filter-tools label.media-setting select {appearance:auto;width:auto;min-width:0;max-width:220px;height:28px;min-height:28px;margin:0;padding:4px 8px;border:0;border-radius:5px;background:#f0f6ff;color:#146bd9;font:12px Arial,sans-serif;box-shadow:none;cursor:pointer;}
#media-feature .media-setting:focus-within {outline:2px solid #bad5fa;outline-offset:2px;}
@media(max-width:700px) {#media-feature .media-filter-tools {width:100%;margin-left:0;}}
@media(max-width:480px) {#media-feature .media-setting:first-child {width:100%;}#media-feature .media-setting:first-child select {flex:1;max-width:100%;}}

#schedule-feature .schedule-search {display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:0 13px;border:1px solid #dce2eb;border-radius:8px;background:#fff;}
#schedule-feature .schedule-search svg {width:18px;height:18px;flex-shrink:0;color:#7590b2;}
#schedule-feature .schedule-search input {width:100%;min-width:0;height:42px;padding:10px 0;border:0;background:transparent;box-shadow:none;font:13px Arial,sans-serif;color:#344256;outline:none;}
#schedule-feature .schedule-search:focus-within {border-color:#9dc4f7;box-shadow:0 0 0 2px #eaf3ff;}
#schedule-feature .schedule-filters {display:flex;align-items:center;flex-wrap:wrap;gap:12px;}
#schedule-feature .toolbar-right {display:flex;align-items:center;flex-wrap:wrap;gap:10px;}
#schedule-feature .toolbar-right label.interval-setting {display:flex;align-items:center;gap:8px;padding:5px 8px 5px 11px;background:#fff;border:1px solid #e1e7ef;border-radius:7px;font:12px Arial,sans-serif;color:#637188;white-space:nowrap;margin:0;}
#schedule-feature .toolbar-right .interval-setting svg {width:16px;height:16px;flex-shrink:0;color:#7590b2;}
#schedule-feature .toolbar-right .interval-setting select {appearance:auto;width:auto;min-width:0;max-width:220px;height:28px;min-height:28px;padding:4px 8px;border:0;border-radius:5px;background:#f0f6ff;color:#146bd9;font:12px Arial,sans-serif;box-shadow:none;cursor:pointer;}
#schedule-feature .scheduler-pagination {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:20px;}
#schedule-feature .schedule-page-summary {font-size:12px;color:#637188;}
#schedule-feature .schedule-page-links {display:flex;align-items:center;gap:5px;flex-wrap:wrap;}
#schedule-feature .schedule-page {display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:6px 10px;border:1px solid #dce2eb;border-radius:7px;background:#fff;color:#536279;text-decoration:none;font-size:12px;}
#schedule-feature .schedule-page.current {background:#146bd9;border-color:#146bd9;color:#fff;}
#schedule-feature .schedule-page.disabled {opacity:.45;}
@media(max-width:700px) {#schedule-feature .toolbar-right {width:100%;}}
@media(max-width:480px) {#schedule-feature .toolbar-right label.interval-setting:first-child {width:100%;}#schedule-feature #schedule-page {flex:1;max-width:100%;}}

#contents-panel .topics-search-form {margin:0 0 16px;}
#contents-panel .topics-search {display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:0 13px;border:1px solid #dce2eb;border-radius:8px;background:#fff;}
#contents-panel .topics-search svg {width:18px;height:18px;flex-shrink:0;color:#7590b2;}
#contents-panel .topics-search input {width:100%;min-width:0;height:42px;padding:10px 0;border:0;background:transparent;box-shadow:none;font:13px Arial,sans-serif;color:#344256;outline:none;}
#contents-panel .topics-search:focus-within {border-color:#9dc4f7;box-shadow:0 0 0 2px #eaf3ff;}
