:root{
  --appos-theme-sidebar:var(--appos-sidebar-custom,#0f172a);
  --appos-theme-bg:var(--appos-bg,#f4f7fb);
  --appos-theme-surface:var(--appos-surface,#fff);
  --appos-theme-text:var(--appos-text,#0f172a);
  --appos-theme-muted:#64748b;
  --appos-theme-border:rgba(15,23,42,.10);
  --appos-theme-primary:var(--appos-brand-1,#58a6ff);
  --appos-theme-secondary:var(--appos-brand-2,#6366f1);
  --appos-theme-sidebar-width:264px;
  --appos-theme-topbar-height:72px;
}

html{scroll-behavior:smooth}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--appos-theme-text);background:var(--appos-theme-bg);line-height:1.55}a{color:var(--appos-theme-secondary)}img{max-width:100%;height:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Site público */
.appos-site-header{position:sticky;top:0;z-index:40;border-bottom:1px solid var(--appos-theme-border);background:rgba(255,255,255,.92);backdrop-filter:blur(14px)}.appos-site-header__inner,.appos-site-footer__inner,.appos-public-main{width:min(1180px,calc(100% - 32px));margin-inline:auto}.appos-site-header__inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.appos-site-menu ul{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}.appos-site-menu a{text-decoration:none;color:var(--appos-theme-text);font-weight:650}.appos-public-main{min-height:60vh;padding:48px 0}.appos-public-card{padding:28px;border-radius:18px;background:var(--appos-theme-surface);border:1px solid var(--appos-theme-border);box-shadow:0 16px 44px rgba(15,23,42,.06)}.appos-site-footer{padding:28px 0;border-top:1px solid var(--appos-theme-border);background:#fff;color:var(--appos-theme-muted)}.appos-site-footer__inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}

/* Marca */
.appos-theme-brand{display:flex;align-items:center;gap:12px;min-width:0;color:inherit;text-decoration:none}.appos-theme-brand img{width:42px;height:42px;object-fit:contain}.appos-theme-brand__mark{display:grid;place-items:center;flex:0 0 auto;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--appos-theme-primary),var(--appos-theme-secondary));color:#fff;font-size:20px;font-weight:900;box-shadow:0 10px 24px color-mix(in srgb,var(--appos-theme-primary) 30%,transparent)}.appos-theme-brand__text{display:grid;min-width:0}.appos-theme-brand__text strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.appos-theme-brand__text small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#94a3b8;font-size:11px}.appos-theme-brand.is-compact .appos-theme-brand__text small{display:none}

/* Shell operacional */
body.appos-theme-private{overflow-x:hidden}.appos-theme-shell{min-height:100vh;background:var(--appos-theme-bg)}.appos-theme-sidebar{position:fixed;inset:0 auto 0 0;z-index:70;display:flex;flex-direction:column;width:var(--appos-theme-sidebar-width);padding:20px 16px;background:var(--appos-theme-sidebar);color:#e2e8f0;box-shadow:10px 0 36px rgba(15,23,42,.16);transition:transform .25s ease}.appos-theme-sidebar__head{padding:0 8px 22px;border-bottom:1px solid rgba(255,255,255,.09)}.appos-theme-sidebar .appos-theme-brand{color:#fff}.appos-theme-sidebar__body{flex:1;min-height:0;overflow:auto;padding:18px 0}.appos-theme-sidebar__footer{padding:16px 8px 0;border-top:1px solid rgba(255,255,255,.09)}
.appos-theme-nav{display:grid;gap:6px}.appos-theme-nav__item{display:flex;align-items:center;gap:12px;min-height:45px;padding:9px 12px;border-radius:11px;color:#cbd5e1;text-decoration:none;font-size:14px;font-weight:650;transition:background .18s ease,color .18s ease,transform .18s ease}.appos-theme-nav__item:hover{background:rgba(255,255,255,.08);color:#fff;transform:translateX(2px)}.appos-theme-nav__item.is-active{background:linear-gradient(135deg,color-mix(in srgb,var(--appos-theme-primary) 88%,transparent),color-mix(in srgb,var(--appos-theme-secondary) 88%,transparent));color:#fff;box-shadow:0 10px 22px rgba(0,0,0,.17)}.appos-theme-nav__icon{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:rgba(255,255,255,.10);font-size:14px}.appos-theme-user{display:flex;align-items:center;gap:10px}.appos-theme-user__avatar{display:grid;place-items:center;flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.12);font-weight:800}.appos-theme-user__meta{display:grid;min-width:0;flex:1}.appos-theme-user__meta strong,.appos-theme-user__meta small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.appos-theme-user__meta small{color:#94a3b8}.appos-theme-logout{color:#cbd5e1;text-decoration:none;font-size:12px;font-weight:700}.appos-theme-logout:hover{color:#fff}
.appos-theme-workspace{min-height:100vh;margin-left:var(--appos-theme-sidebar-width)}.appos-theme-topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:16px;min-height:var(--appos-theme-topbar-height);padding:0 28px;border-bottom:1px solid var(--appos-theme-border);background:rgba(255,255,255,.88);backdrop-filter:blur(14px)}.appos-theme-topbar h1{margin:0;font-size:clamp(18px,2vw,24px);line-height:1.2}.appos-theme-topbar__spacer{flex:1}.appos-theme-topbar__link{display:inline-flex;align-items:center;min-height:38px;padding:0 13px;border-radius:10px;background:#fff;border:1px solid var(--appos-theme-border);color:var(--appos-theme-text);text-decoration:none;font-size:13px;font-weight:700}.appos-theme-menu-toggle{display:none;width:42px;height:42px;border:1px solid var(--appos-theme-border);border-radius:11px;background:#fff;color:var(--appos-theme-text);font-size:22px;cursor:pointer}.appos-theme-content{padding:26px}.appos-theme-content__inner{width:min(1540px,100%);margin-inline:auto}.appos-theme-content .appos-module-menu-wrap{display:none!important}.appos-theme-content .elementor{width:100%}.appos-theme-overlay{display:none;position:fixed;inset:0;z-index:60;background:rgba(15,23,42,.54);border:0}

/* Login */
body.appos-theme-login{min-height:100vh;background:
radial-gradient(circle at 15% 15%,color-mix(in srgb,var(--appos-theme-primary) 22%,transparent),transparent 34%),
radial-gradient(circle at 85% 80%,color-mix(in srgb,var(--appos-theme-secondary) 20%,transparent),transparent 38%),
linear-gradient(145deg,#eef4ff,#f8fafc 48%,#f4f1ff)}.appos-theme-login-layout{min-height:100vh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(420px,560px)}.appos-theme-login-hero{display:flex;flex-direction:column;justify-content:space-between;padding:56px clamp(32px,6vw,96px);background:linear-gradient(150deg,color-mix(in srgb,var(--appos-theme-sidebar) 95%,#000),color-mix(in srgb,var(--appos-theme-secondary) 75%,#0f172a));color:#fff}.appos-theme-login-hero .appos-theme-brand{color:#fff}.appos-theme-login-hero__copy{max-width:680px}.appos-theme-login-hero__banner{display:block;width:min(100%,440px);max-height:300px;margin:0 0 22px;object-fit:contain;object-position:left center;border-radius:18px;box-shadow:0 22px 55px rgba(15,23,42,.24)}.appos-theme-login-hero__copy h2{max-width:640px;margin:0 0 18px;font-size:clamp(36px,4.5vw,64px);line-height:1.02;letter-spacing:-.045em}.appos-theme-login-hero__copy p{max-width:560px;margin:0;color:#cbd5e1;font-size:clamp(16px,1.5vw,20px)}.appos-theme-login-hero__footer{color:#94a3b8;font-size:13px}.appos-theme-login-panel{display:grid;place-items:center;padding:40px 32px}.appos-theme-login-panel__content{display:grid;place-items:center;width:100%}.appos-theme-login-mobile-head{display:none}.appos-theme-login-panel .appos-login-card{width:100%;margin:0;padding:38px;border-radius:24px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.92);box-shadow:0 30px 90px rgba(15,23,42,.18);backdrop-filter:blur(18px)}.appos-theme-login-panel .appos-login-brand{display:none}


@media (max-height:820px) and (min-width:981px){.appos-theme-login-hero{padding-top:34px;padding-bottom:34px}.appos-theme-login-hero__banner{width:min(100%,330px);max-height:220px;margin-bottom:14px}.appos-theme-login-hero__copy h2{font-size:clamp(34px,4vw,54px)}.appos-theme-login-hero__copy p{font-size:16px}}
@media (max-width:980px){
  .appos-theme-sidebar{transform:translateX(-105%)}body.appos-menu-open .appos-theme-sidebar{transform:translateX(0)}.appos-theme-workspace{margin-left:0}.appos-theme-menu-toggle{display:grid;place-items:center}body.appos-menu-open .appos-theme-overlay{display:block}.appos-theme-content{padding:18px}.appos-theme-topbar{padding:0 18px}.appos-theme-login-layout{grid-template-columns:1fr}.appos-theme-login-hero{display:none}.appos-theme-login-panel{display:flex;min-height:100vh;padding:0;align-items:stretch;justify-content:flex-start;flex-direction:column;background:linear-gradient(145deg,#eef4ff,#f8fafc 48%,#f4f1ff)}.appos-theme-login-mobile-head{display:flex;align-items:center;flex:0 0 auto;min-height:82px;padding:4px 16px;background:#121a3f;border-bottom:1px solid rgba(255,255,255,.09);box-shadow:0 10px 28px rgba(15,23,42,.16)}.appos-theme-login-mobile-head img{display:block;width:166px;height:74px;max-width:100%;object-fit:contain;object-position:left center}.appos-theme-login-panel__content{flex:1;padding:34px 32px}
}
@media (max-width:640px){.appos-theme-topbar__link{display:none}.appos-theme-content{padding:12px}.appos-theme-login-panel__content{padding:22px 14px}.appos-theme-login-mobile-head{min-height:76px;padding:1px 10px}.appos-theme-login-mobile-head img{width:166px;height:74px}.appos-theme-login-panel .appos-login-card{padding:26px 20px;border-radius:18px}.appos-site-header__inner,.appos-site-footer__inner,.appos-public-main{width:min(100% - 22px,1180px)}.appos-site-menu{display:none}}

/* PWA comercial e ativação */
.appos-theme-kicker,.appos-license-eyebrow{margin:0 0 12px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:850;color:#93c5fd}.appos-activation-features{display:grid;gap:10px;margin-top:28px;color:#dbeafe;font-weight:700}.appos-theme-activation .appos-theme-login-panel__content{align-items:center}.appos-license-card{width:min(100%,520px);padding:36px;border:1px solid rgba(255,255,255,.9);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 30px 90px rgba(15,23,42,.18);backdrop-filter:blur(18px)}.appos-license-card__head{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.appos-license-card__icon{display:grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border-radius:15px;background:linear-gradient(135deg,var(--appos-theme-primary),var(--appos-theme-secondary));color:#fff;font-size:22px;font-weight:900;box-shadow:0 12px 30px color-mix(in srgb,var(--appos-theme-primary) 28%,transparent)}.appos-license-card h1{margin:0 0 6px;font-size:30px;line-height:1.1}.appos-license-card__head p:last-child{margin:0;color:var(--appos-theme-muted)}.appos-license-eyebrow{color:var(--appos-theme-secondary);margin-bottom:6px}.appos-license-form{display:grid;gap:10px}.appos-license-form label{margin-top:6px;font-size:13px;font-weight:800}.appos-license-form input{width:100%;min-height:50px;padding:0 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font:inherit;outline:none;transition:border-color .18s,box-shadow .18s}.appos-license-form input:focus{border-color:var(--appos-theme-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--appos-theme-primary) 18%,transparent)}.appos-license-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:10px;padding:0 18px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--appos-theme-primary),var(--appos-theme-secondary));color:#fff!important;text-decoration:none;font:inherit;font-weight:850;cursor:pointer;box-shadow:0 14px 28px color-mix(in srgb,var(--appos-theme-secondary) 24%,transparent);transition:transform .18s,filter .18s}.appos-license-primary:hover{transform:translateY(-1px);filter:brightness(1.05)}.appos-license-help{margin:16px 0 0;color:var(--appos-theme-muted);font-size:12px;line-height:1.55}.appos-license-alert{margin:0 0 18px;padding:13px 14px;border-radius:12px;font-size:13px;line-height:1.5}.appos-license-alert.is-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.appos-license-alert.is-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.appos-license-alert.is-warning{background:#fffbeb;color:#92400e;border:1px solid #fde68a}.appos-license-status{display:grid;gap:7px;margin:0 0 18px;padding:18px;border-radius:14px}.appos-license-status.is-active{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.appos-license-status.is-locked{background:#f8fafc;border:1px solid #e2e8f0;color:#334155}.appos-license-status strong{font-size:16px}.appos-license-status span{font-size:13px}.appos-license-secondary-form{text-align:center}.appos-license-link{margin-top:14px;border:0;background:transparent;color:#64748b;text-decoration:underline;font:inherit;font-size:12px;cursor:pointer}.appos-license-vendor-form{margin-top:8px;padding-top:4px}.appos-pwa-install[hidden]{display:none!important}

@media (display-mode:standalone){.appos-theme-topbar{padding-top:env(safe-area-inset-top);min-height:calc(var(--appos-theme-topbar-height) + env(safe-area-inset-top))}.appos-theme-sidebar{padding-top:calc(20px + env(safe-area-inset-top));padding-bottom:calc(20px + env(safe-area-inset-bottom))}.appos-theme-content{padding-bottom:calc(26px + env(safe-area-inset-bottom))}}
@media (max-width:640px){.appos-license-card{padding:26px 20px;border-radius:18px}.appos-license-card__head{gap:12px}.appos-license-card h1{font-size:26px}.appos-theme-topbar .appos-pwa-install{display:none!important}}

/* AppOS 10.3 — instalação PWA e compartilhamento */
.appos-theme-nav__pwa{width:100%;margin-top:8px;border:1px solid rgba(147,197,253,.25);background:linear-gradient(135deg,rgba(59,130,246,.20),rgba(99,102,241,.18));font:inherit;cursor:pointer;text-align:left}.appos-theme-nav__pwa:hover{border-color:rgba(147,197,253,.5)}.appos-theme-nav__icon--image{overflow:hidden;background:#fff}.appos-theme-nav__icon--image img{display:block;width:24px;height:24px;object-fit:contain}
.appos-pwa-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:20px}.appos-pwa-modal__backdrop{position:absolute;inset:0;background:rgba(15,23,42,.68);backdrop-filter:blur(6px)}.appos-pwa-modal__card{position:relative;width:min(100%,560px);max-height:min(92vh,760px);overflow:auto;padding:30px;border:1px solid rgba(255,255,255,.88);border-radius:24px;background:#fff;color:#0f172a;box-shadow:0 30px 100px rgba(15,23,42,.35)}.appos-pwa-modal__close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#334155;font-size:24px;cursor:pointer}.appos-pwa-modal__brand{display:flex;align-items:center;gap:16px;padding-right:42px}.appos-pwa-modal__brand img{width:74px;height:74px;object-fit:contain}.appos-pwa-modal__brand small{display:block;margin-bottom:5px;color:#64748b;font-size:11px;font-weight:850;letter-spacing:.13em}.appos-pwa-modal__brand h2{margin:0;font-size:28px;line-height:1.1}.appos-pwa-modal__status{margin:22px 0;padding:15px 16px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a8a;line-height:1.55}.appos-pwa-modal__actions{display:flex;flex-wrap:wrap;gap:10px}.appos-pwa-modal__actions button,.appos-pwa-modal__actions a,.appos-pwa-modal__whatsapp{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:#0f172a;text-decoration:none;font:inherit;font-weight:800;cursor:pointer}.appos-pwa-modal__actions .appos-pwa-modal__primary{border-color:transparent;background:linear-gradient(135deg,#3b82f6,#6366f1);color:#fff;box-shadow:0 12px 24px rgba(79,70,229,.22)}.appos-pwa-modal__share{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:24px;padding-top:22px;border-top:1px solid #e2e8f0}.appos-pwa-modal__share label{display:grid;gap:7px;color:#334155;font-size:12px;font-weight:800}.appos-pwa-modal__share input{width:100%;min-height:44px;padding:0 12px;border:1px solid #cbd5e1;border-radius:10px;font:inherit}.appos-pwa-modal__whatsapp{border-color:#16a34a;background:#16a34a;color:#fff}.appos-pwa-modal__note{margin:16px 0 0;color:#64748b;font-size:12px;line-height:1.55}
@media (max-width:640px){.appos-pwa-modal{padding:10px}.appos-pwa-modal__card{padding:24px 18px;border-radius:18px}.appos-pwa-modal__brand img{width:60px;height:60px}.appos-pwa-modal__brand h2{font-size:24px}.appos-pwa-modal__share{grid-template-columns:1fr}.appos-pwa-modal__actions>*{flex:1 1 180px}}
