/* Prévia: menu em oito grupos e temas. */
:root{--pv-bg:#f6f8fc;--pv-surface:#fff;--pv-soft:#f3f6fb;--pv-text:#18253e;--pv-muted:#7e8ba1;--pv-line:#e8edf5;--pv-selected:#edf4ff;--pv-sidebar:#fff;--pv-shadow:0 4px 18px #11244304}.sidebar.preview-sidebar{width:270px;background:var(--pv-sidebar);color:var(--pv-text);padding:27px 16px 14px;border-right:1px solid var(--pv-line);height:100dvh;overflow:hidden}.shell,.xp-compact .shell{margin-left:270px}.preview-brand{display:flex;align-items:center;gap:11px;padding:0 8px 22px}.preview-brand-mark{width:37px;height:39px;border-radius:12px;background:var(--brand);display:grid;place-items:center;color:#fff;font-size:25px;font-weight:700;box-shadow:0 6px 15px #147bff22}.preview-brand strong{font-size:19px;font-weight:750;letter-spacing:-.5px;color:var(--pv-text)}.preview-brand span{display:block;font-size:10px;color:var(--pv-muted);margin-top:4px;letter-spacing:.15px}.preview-workspace{display:flex;align-items:center;gap:7px;background:var(--pv-soft);border:1px solid var(--pv-line);padding:10px;border-radius:10px;font-size:9px;color:var(--pv-muted);margin-bottom:22px}.preview-workspace>i{width:6px;height:6px;border-radius:50%;background:#30be86}.preview-workspace small{margin-left:auto;background:var(--pv-surface);border:1px solid var(--pv-line);color:var(--pv-muted);font-size:8px;padding:2px 5px;border-radius:4px}.preview-nav-caption{font-size:9px;font-weight:600;letter-spacing:1.5px;color:#9aa6b9;padding:0 13px 11px}.preview-menu{overflow-y:auto;min-height:80px;flex:1;scrollbar-width:thin;scrollbar-color:#dbe2ef transparent;padding-right:3px}.preview-nav-group{margin:0 0 5px}.preview-group-button{background:transparent;color:var(--pv-text);display:flex;align-items:center;width:100%;padding:12px 10px;gap:9px;border-radius:10px;font-weight:550;font-size:11px;text-align:left;line-height:1.5;min-height:45px}.preview-group-button:hover{background:var(--pv-soft);filter:none}.preview-group-icon{width:19px;height:20px;display:flex;align-items:center;color:#8695ad;flex-shrink:0}.preview-group-icon svg{width:19px;height:19px}.preview-chevron{margin-left:auto;width:12px;height:15px;color:#9aa8bc;flex-shrink:0;transition:transform .18s}.preview-chevron svg{width:12px;height:12px}.preview-group-button.expanded .preview-chevron{transform:rotate(90deg)}.preview-group-button.expanded{background:var(--pv-soft)}.preview-nav-group.current .preview-group-icon,.preview-nav-group.current .preview-group-button{color:var(--brand)}.preview-submenu{padding:4px 0 6px 18px;position:relative}.preview-submenu[hidden]{display:none!important}.preview-submenu:before{position:absolute;content:'';left:19px;top:6px;bottom:12px;width:1px;background:var(--pv-line)}.preview-subitem{display:flex;align-items:center;width:calc(100% - 9px);margin-left:9px;margin-bottom:2px;gap:9px;padding:9px 10px;text-align:left;background:transparent;color:#7a8aa4;font-size:11px;font-weight:450;border-radius:8px;min-height:36px;position:relative}.preview-dot{width:4px;height:4px;border-radius:50%;background:#c9d3e2;flex-shrink:0}.preview-subitem:hover{background:var(--pv-soft);filter:none}.preview-subitem.selected{background:var(--pv-selected);color:var(--brand);font-weight:650}.preview-subitem.selected .preview-dot{background:var(--brand);box-shadow:0 0 0 3px #147bff12}.preview-sidebar-bottom{padding-top:12px;border-top:1px solid var(--pv-line);margin-top:14px;flex-shrink:0}.preview-status{display:flex;align-items:center;gap:7px;font-size:9px;color:var(--pv-muted);padding:0 8px 13px}.preview-status>span{width:5px;height:5px;background:#daa335;border-radius:50%}.preview-user{display:flex;align-items:center;width:100%;gap:9px;background:var(--pv-soft);text-align:left;padding:10px;border:1px solid var(--pv-line);border-radius:11px;color:var(--pv-text)}.preview-user-avatar,.preview-top-avatar{background:#e7effe;color:var(--brand);display:grid;place-items:center;border-radius:50%;font-size:12px;font-weight:700;width:33px;height:33px;flex-shrink:0}.preview-user>span:nth-child(2){flex:1}.preview-user strong{display:block;font-size:11px;font-weight:650}.preview-user small{display:block;font-size:9px;color:var(--pv-muted);margin-top:2px;font-weight:400}.preview-user i svg{width:13px;height:13px;color:#91a0b6}.preview-logout{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:7px;background:transparent;color:var(--pv-muted);font-size:10px;font-weight:450;width:100%;padding:8px}.preview-logout svg{width:14px;height:14px}.topbar{background:var(--pv-surface);border-bottom-color:var(--pv-line);padding-left:28px;padding-right:28px}.topbar .crumb{font-size:11px;color:var(--pv-muted)}.topbar .crumb strong{font-weight:550;color:var(--pv-text)}.preview-crumb-slash{color:#bdc7d8;padding:0 11px}.preview-top-button{width:34px;height:34px;display:grid;place-items:center;background:transparent;color:#7b8aa3;border:1px solid transparent;padding:7px;border-radius:10px}.preview-top-button:hover{background:var(--pv-soft);border-color:var(--pv-line)}.preview-top-button svg{width:20px;height:20px}.preview-top-divider{height:22px;width:1px;background:var(--pv-line);margin:0 8px}.preview-top-avatar{margin-left:9px;width:35px;height:35px;padding:0}.preview-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.preview-page-eyebrow{text-transform:uppercase;letter-spacing:1.5px;font-size:9px;color:var(--pv-muted)}.preview-page-heading h1{font-size:29px;color:var(--pv-text);margin:10px 0 6px}.preview-page-heading p{font-size:12px;color:var(--pv-muted);margin:0}.preview-design-badge{color:#5d80b0;background:var(--pv-selected);border:1px solid var(--pv-line);font-size:10px;white-space:nowrap;padding:6px 10px;border-radius:7px}.preview-placeholder{background:var(--pv-surface);border:1px solid var(--pv-line);box-shadow:var(--pv-shadow);border-radius:18px;padding:56px 24px;text-align:center;max-width:1000px}.preview-placeholder-icon{width:58px;height:58px;display:grid;place-items:center;border:1px solid var(--pv-line);background:var(--pv-soft);color:var(--brand);border-radius:17px;margin:0 auto 24px}.preview-placeholder-icon svg{width:27px;height:27px}.preview-placeholder h2{font-size:22px;font-weight:650;color:var(--pv-text)}.preview-placeholder p{color:var(--pv-muted);font-size:12px;line-height:1.9;max-width:470px;margin:0 auto 20px}.preview-pending-label{display:table;margin:0 auto 25px;background:#fff6dd;color:#a18336;border:1px solid #f1e5c1;border-radius:6px;padding:5px 8px;font-size:10px}.preview-return{display:flex;gap:8px;align-items:center;justify-content:center;margin:auto;padding:11px 16px;background:var(--brand);color:white;font-size:11px;border-radius:10px}.preview-return svg{width:15px;height:15px}.preview-related-title{font-size:11px;color:var(--pv-muted);margin-top:26px;margin-bottom:12px}.preview-related{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;max-width:1000px}.preview-related button{background:var(--pv-surface);border:1px solid var(--pv-line);padding:17px;border-radius:11px;display:flex;align-items:center;justify-content:space-between;text-align:left;font-size:11px;font-weight:500;color:var(--pv-text)}.preview-related svg{width:14px;height:14px;color:var(--pv-muted);flex-shrink:0;margin-left:10px}.preview-search-result{display:block;width:100%;background:var(--pv-soft);color:var(--pv-text);border:1px solid var(--pv-line);border-radius:8px;padding:12px;margin:8px 0;text-align:left}.preview-search-result strong{display:block;font-size:12px}.preview-search-result small{font-size:10px;color:var(--pv-muted);font-weight:400}#previewMenuResults{max-height:55vh;overflow-y:auto;margin-top:14px}#previewBackdrop{display:none}.main{background:var(--pv-bg);min-height:calc(100dvh - 76px)}.att-page .main{background:var(--pv-surface)}body{background:var(--pv-bg)}
/* Tema escuro: fundo, conversa, menus, formulários e janelas. */
html[data-theme=dark]{--pv-bg:#0e1624;--pv-surface:#141e30;--pv-soft:#1b273b;--pv-text:#e2e9f4;--pv-muted:#8e9fb8;--pv-line:#25324a;--pv-selected:#1c3458;--pv-sidebar:#111b2b;--pv-shadow:none;--bg:#0e1624;--ink:#e2e9f4;--muted:#8e9fb8;--line:#25324a;--xp-line:#25324a;--xp-ink:#e2e9f4;--xp-muted:#8e9fb8}html[data-theme=dark] body{color:var(--pv-text)}html[data-theme=dark] .xp-ui{--xp-line:#25324a;--xp-ink:#e2e9f4;--xp-muted:#8e9fb8}html[data-theme=dark] .att-title h1,html[data-theme=dark] .att-contact-person h2{color:var(--pv-text)}html[data-theme=dark] .att-title p,html[data-theme=dark] .att-contact-person p,html[data-theme=dark] .att-contact-person small,html[data-theme=dark] .att-preview,html[data-theme=dark] .att-thread-meta,html[data-theme=dark] .att-legend span{color:var(--pv-muted)}html[data-theme=dark] .att-tabs.xp-tabs{border-color:var(--pv-line)}html[data-theme=dark] .att-tabs.xp-tabs button{color:#9aabc4}html[data-theme=dark] .att-tabs.xp-tabs button.active{background:#203957;color:#7aafff}html[data-theme=dark] .att-layout,html[data-theme=dark] .att-layout .chatlist,html[data-theme=dark] .att-layout .chatpane,html[data-theme=dark] .att-layout .chathead,html[data-theme=dark] .att-layout .chatcontrols,html[data-theme=dark] .att-layout #chatMessages,html[data-theme=dark] .att-thread,html[data-theme=dark] .att-legend{background:var(--pv-surface);border-color:var(--pv-line)!important}html[data-theme=dark] .att-thread.selected{background:#1b2d4b}html[data-theme=dark] .att-thread:hover{background:#1b2b43}html[data-theme=dark] .att-thread-main{color:var(--pv-text)!important}html[data-theme=dark] .att-searchbar,html[data-theme=dark] .att-search,html[data-theme=dark] .att-filters,html[data-theme=dark] .att-layout .xp-day:before,html[data-theme=dark] .att-layout .xp-day:after{border-color:var(--pv-line)}html[data-theme=dark] .att-search,html[data-theme=dark] .att-filters{background:var(--pv-surface)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--pv-soft);border-color:#33425b;color:var(--pv-text)}html[data-theme=dark] .att-search input,html[data-theme=dark] .att-layout #chatText{background:transparent;color:var(--pv-text)}html[data-theme=dark] .att-icon-button,html[data-theme=dark] button.secondary{background:var(--pv-soft);color:#a6b7d0}html[data-theme=dark] .att-searchbar .att-icon-button{background:transparent}html[data-theme=dark] .att-icon-button.active{background:#203957;color:#83b4ff}html[data-theme=dark] .att-avatar{background:linear-gradient(140deg,#293a54,#23314b);border-color:#35445d;color:#a7c4f0}html[data-theme=dark] .att-channel{border-color:var(--pv-surface)}html[data-theme=dark] .att-tag.whatsapp{background:#183c31;color:#8fdfac}html[data-theme=dark] .att-tag.webchat,html[data-theme=dark] .att-purple{background:#34294f;color:#c5a8fa}html[data-theme=dark] .att-tag.instagram{background:#442941;color:#edadd7}html[data-theme=dark] .att-blue{background:#203957;color:#9dc3ff}html[data-theme=dark] .att-red{background:#4a2938;color:#ffa6b5}html[data-theme=dark] .att-orange{background:#433926;color:#e8c893}html[data-theme=dark] .att-message .bubble{background:#223046;color:#e0e7f2}html[data-theme=dark] .att-message .bubble.out{background:#203c64;color:#e2edff}html[data-theme=dark] .att-layout .xp-day:before,html[data-theme=dark] .att-layout .xp-day:after{background:var(--pv-line)}html[data-theme=dark] .att-layout #chatComposer{background:#182337;border-color:#33425b}html[data-theme=dark] .att-layout #chatComposer .rich-selected:not(:empty){background:#1a273b;border-color:#33425b;color:var(--pv-text)}html[data-theme=dark] .att-layout #chatComposer [data-action="assistant:rewrite"]{background:var(--pv-soft);color:#acbdd8}html[data-theme=dark] .att-claim:not(.att-main-action){background:#163b31;color:#89d9ae;border-color:#28614c}html[data-theme=dark] .att-layout .att-main-action{color:#fff}html[data-theme=dark] dialog{background:var(--pv-surface);border-color:var(--pv-line);color:var(--pv-text)}html[data-theme=dark] dialog h2,html[data-theme=dark] dialog h3,html[data-theme=dark] label{color:var(--pv-text)}html[data-theme=dark] .panel,html[data-theme=dark] .note,html[data-theme=dark] .rich-emojis>div{background:var(--pv-soft);border-color:var(--pv-line);color:var(--pv-text)}html[data-theme=dark] .contexthelp>div{background:#223149;border-color:#35445b;color:#dce5f5}html[data-theme=dark] .preview-pending-label{background:#3c3425;color:#ddc38a;border-color:#594c2e}html[data-theme=dark] .preview-user-avatar,html[data-theme=dark] .preview-top-avatar{background:#243b5e;color:#98beff}html[data-theme=dark] .preview-workspace small{color:#acbbd0}
@media(max-width:900px){.sidebar.preview-sidebar{width:270px;transform:translateX(-100%);transition:transform .2s;z-index:40;padding-top:22px}.sidebar.preview-sidebar.show{transform:translateX(0)}.shell,.xp-compact .shell{margin-left:0}.topbar{padding:0 14px;height:65px}.topbar .mobilemenu{display:inline-flex;background:var(--pv-soft);color:var(--pv-text)}.preview-top-button{width:33px;height:33px}.preview-top-divider{margin:0 3px}.preview-top-avatar{margin-left:3px}.preview-mobile-nav #previewBackdrop{display:block;position:fixed;inset:0;z-index:35;background:#06112688;border:0;border-radius:0}.preview-page-heading{flex-wrap:wrap;margin-bottom:20px}.preview-page-heading h1{font-size:24px}.preview-placeholder{padding:38px 18px}.preview-placeholder h2{font-size:19px}.preview-related{grid-template-columns:1fr}.main{padding:24px 18px}.att-page .main{padding-top:18px}.att-layout.chatlayout{height:calc(100dvh - 186px)}}
@media(prefers-reduced-motion:reduce){.preview-chevron,.sidebar.preview-sidebar{transition:none}}

.preview-future{margin-top:20px;max-width:1000px;padding:18px 20px;background:var(--pv-surface);border:1px solid var(--pv-line);border-radius:12px}.preview-future strong{font-size:12px;color:var(--pv-text)}.preview-future p{font-size:12px;color:var(--pv-muted);margin:8px 0}.preview-future small{font-size:10px;color:var(--pv-muted)}
/* Ajustes do ambiente real: nenhuma identidade ou indicação fictícia. */
.workspace-sidebar .brand{padding:0 9px 25px;color:var(--pv-text)}.workspace-sidebar .brand small{color:var(--pv-muted)}.workspace-sidebar .sideuser{border-color:var(--pv-line);margin:0 0 7px;padding:6px 8px}.workspace-sidebar .sideuser>div:last-child{color:var(--pv-text)!important}.workspace-sidebar .preview-sidebar-bottom>.navbutton{color:var(--pv-muted);font-size:11px;margin:0}.workspace-sidebar .preview-subitem{box-shadow:none!important;gap:9px!important;color:var(--pv-muted)}.workspace-sidebar .preview-subitem.selected{color:var(--brand)}.workspace-sidebar .preview-submenu[hidden]{display:none!important}.workspace-sidebar .preview-subitem .preview-dot{min-width:4px}.ws-ui .topbar{flex-wrap:nowrap}#workspaceBackdrop{display:none}.ws-ui .preview-sidebar{display:flex}.ws-ui .xp-compact .sidebar{width:270px}.ws-ui.xp-compact .sidebar{width:270px}.ws-ui.xp-compact .sidebar .brand{font-size:18px}.ws-ui.xp-compact .sidebar .navbutton{font-size:11px;justify-content:flex-start}.ws-ui.xp-compact .sidebar .sideuser{visibility:visible}.cx-unallocated{margin-top:20px;padding:18px;background:var(--pv-surface);border:1px solid var(--pv-line);border-radius:12px}.cx-unallocated>summary{font-size:12px;font-weight:650;cursor:pointer;color:var(--pv-text)}.cx-unallocated>p{font-size:11px;color:var(--pv-muted);margin:12px 0}.cx-unallocated .heading{display:flex!important}.cx-unallocated .heading h1{font-size:18px}.cx-unallocated .suitechannels{display:grid}.cx-page .heading{display:flex}.cx-original-extra{margin-top:16px}.cx-original-extra:empty{display:none}.ws-ui .preview-submenu .navbutton{width:calc(100% - 9px)}.ws-ui .preview-submenu .navbutton .preview-dot{display:block}.ws-ui .preview-menu{scrollbar-gutter:stable}
html[data-theme=dark] .heading h1,html[data-theme=dark] .stat .value,html[data-theme=dark] .taskcard h3,html[data-theme=dark] .panel h2{color:var(--pv-text)}html[data-theme=dark] .stat,html[data-theme=dark] .taskcard,html[data-theme=dark] .kanbancol,html[data-theme=dark] .suitecard{background:var(--pv-surface);border-color:var(--pv-line)}html[data-theme=dark] th,html[data-theme=dark] .tablewrap,html[data-theme=dark] td{border-color:var(--pv-line)}html[data-theme=dark] th{background:var(--pv-soft);color:var(--pv-muted)}html[data-theme=dark] td{color:var(--pv-text)}html[data-theme=dark] .modalhead{border-color:var(--pv-line)}html[data-theme=dark] .formgrid label{color:var(--pv-text)}html[data-theme=dark] #toast{background:#273953;color:#f0f5ff}
@media(max-width:900px){.preview-mobile-nav #workspaceBackdrop{display:block;position:fixed;inset:0;z-index:35;border-radius:0;background:#06112688}.workspace-sidebar{z-index:40!important}.ws-ui .topbar{padding:0 12px}.ws-ui #xpTools button{font-size:10px;padding:7px}.ws-ui #workspaceTheme{min-width:32px}.ws-ui .topbar .crumb{display:none}}

html[data-theme=dark] .lanehead,html[data-theme=dark] .count,html[data-theme=dark] .task,html[data-theme=dark] .suitecard,html[data-theme=dark] .flownode,html[data-theme=dark] .rich-emojis button,html[data-theme=dark] .ig-studio .panel,html[data-theme=dark] .ig-stat,html[data-theme=dark] .ig-feed-card,html[data-theme=dark] .ig-preview,html[data-theme=dark] .ig-day,html[data-theme=dark] .ig-comment-card,html[data-theme=dark] .ig-dm-bubble{background:var(--pv-surface);border-color:var(--pv-line);color:var(--pv-text)}html[data-theme=dark] .suiteflowviewport{background:#101b2d}html[data-theme=dark] .flowhandle{background:var(--pv-soft);color:var(--pv-text)}
.att-layout #officialTemplateButton{grid-column:1/-1;grid-row:3;justify-self:start;padding:5px 9px;font-size:10px}.att-layout #chatComposer:has(#officialTemplateButton) .error{grid-row:4}
