/* Living Point | Vida Divina Studio. Central editorial controls, v1. */
.vde-editor-page{margin:18px 0 26px}
.vde-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:23px;border:1px solid rgba(241,218,167,.24);background:radial-gradient(circle at 88% 21%,rgba(233,197,131,.26),transparent 40%),linear-gradient(110deg,#54283a 0%,#6e3649 48%,#2e674c 100%);padding:clamp(22px,4vw,38px);color:#fffaf0;box-shadow:0 18px 39px rgba(63,42,37,.14)}
.vde-hero .eyebrow{color:#f3d6ae}.vde-hero h2{font-size:clamp(2.2rem,4vw,3.5rem);line-height:1.1;margin:8px 0 13px;color:#fff8e8}.vde-hero p:not(.eyebrow){color:#f4e9da;font-size:.87rem;line-height:1.75;max-width:720px}.vde-hero .flex{margin-top:18px;flex-wrap:wrap;gap:8px}.vde-hero .btn{white-space:normal}
.vde-toolbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.7fr) minmax(170px,.65fr);align-items:end;gap:12px;border:1px solid #dfe7d9;background:#f5f8f1;padding:16px;border-radius:18px;margin:17px 0 12px}
.vde-toolbar .field{margin:0;min-width:0}.vde-toolbar .field input,.vde-toolbar .field select{width:100%}
.vde-toolbar label{font-size:.74rem;color:#56705e;font-weight:800;display:block;margin-bottom:5px}
.vde-result-count{font-weight:800;color:#59755d;font-size:.77rem;margin:12px 0 15px}
.vde-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.vde-copy-card{min-width:0;border:1px solid #e2e9de;background:#fffdfa;border-radius:18px;padding:17px;display:flex;flex-direction:column;gap:8px;box-shadow:0 7px 20px rgba(40,64,43,.06)}
.vde-copy-card[hidden]{display:none!important}
.vde-card-row{display:flex;align-items:start;justify-content:space-between;gap:10px;flex-wrap:wrap}
.vde-card-row>div{min-width:0;flex:1 1 190px}
.vde-card-row strong{display:block;font:800 .9rem/1.35 "DM Sans",Arial,sans-serif;color:#2f5b42;overflow-wrap:anywhere}
.vde-card-row small{font-size:.68rem;line-height:1.5;color:#819083;margin-top:4px;display:block;overflow-wrap:anywhere}
.vde-copy-card p{font-size:.76rem;line-height:1.65;color:#647b68;flex:1 1 auto;margin:3px 0 0;overflow-wrap:anywhere}
.vde-status{white-space:nowrap;font-size:.68rem;font-weight:800;color:#64786b;background:#eff1ed;border-radius:30px;padding:5px 10px}
.vde-status.live{color:#2b754e;background:#e1f1e4}.vde-status.draft{color:#825d34;background:#f8e9cf}
.vde-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:9px}
.vde-card-actions small{font-size:.66rem;color:#849083;line-height:1.5}
.vde-card-actions .btn{font-size:.75rem}
.vde-sec-title{display:flex;flex-direction:column;gap:3px;margin:24px 0 14px}
.vde-sec-title h2{font-size:clamp(1.9rem,3.4vw,2.6rem);margin:0;color:#325e46}
.vde-sec-title p{font-size:.82rem;line-height:1.7;color:#657d68;margin:4px 0;max-width:800px}
.vde-model-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.vde-history-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #e3e9de;border-radius:12px;margin:8px 0;background:#fffdfa}
.vde-history-line>div{min-width:0}.vde-history-line strong{display:block;color:#41674b;font-size:.82rem}.vde-history-line small{display:block;color:#7b8c7a;margin-top:4px;font-size:.7rem}
.vde-history-line .btn{flex-shrink:0}
.vde-empty{padding:19px;border:1px dashed #d1dcd2;border-radius:13px;color:#637b65;background:#f7f9f4}
.vde-edit-dialog .field{margin:11px 0}.vde-edit-dialog input,.vde-edit-dialog select,.vde-edit-dialog textarea{width:100%}
.vde-edit-dialog label{display:block;font-size:.79rem;font-weight:750;color:#4a7157;margin-bottom:6px}
.vde-edit-dialog .field small{display:block;text-align:right;font-size:.7rem;color:#6f8a75;margin-top:4px}
.vde-key-path{font-size:.73rem;color:#6b8a71;letter-spacing:.04em}
.vde-buttons{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.vde-live-preview{border:1px solid #dce8d6;background:#eef5eb;border-radius:13px;padding:15px;font-size:.8rem}
.vde-live-preview strong{display:block;color:#345d44;margin-bottom:8px}
.vde-live-preview #vde-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;color:#335f47}
.vde-mode-switch{position:fixed;bottom:max(82px,env(safe-area-inset-bottom,0px) + 70px);right:14px;z-index:500;background:#f1d69f;color:#3e372e;border:1px solid #c8a878;border-radius:999px;box-shadow:0 8px 25px rgba(37,46,34,.21);padding:12px 19px;font-size:.78rem;font-weight:800;cursor:pointer}
.vde-mode-switch:hover{background:#f9e6bb}
.vde-mode-switch:focus-visible{outline:3px solid #277f56;outline-offset:3px}
.vde-is-editing [data-vde-key]{outline:2px dashed #e0af52!important;outline-offset:2px;cursor:crosshair!important;position:relative;box-shadow:0 0 0 4px rgba(240,213,154,.22)}
.vde-is-editing [data-vde-key]:hover{outline:3px solid #b66641!important;outline-offset:4px;background-color:rgba(250,224,159,.08)!important}
.vde-is-editing [data-vde-key]:focus-visible{outline:3px solid #6f976f!important;outline-offset:3px}
@media(max-width:900px){.vde-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.vde-toolbar .field:first-child{grid-column:span 2}.vde-model-list,.vde-cards{grid-template-columns:1fr}}
@media(max-width:580px){.vde-toolbar{grid-template-columns:1fr}.vde-toolbar .field:first-child{grid-column:1}.vde-hero{padding:25px 19px}.vde-hero h2{font-size:2.35rem}.vde-card-row{gap:7px}.vde-mode-switch{bottom:max(88px,env(safe-area-inset-bottom,0px) + 78px);right:10px;padding:11px 14px;font-size:.72rem}.vde-history-line{flex-wrap:wrap}.vde-history-line .btn{width:100%}}
@media(prefers-reduced-motion:reduce){.vde-mode-switch,.vde-copy-card{transition:none}}

/* Identificação inequívoca de privilégios editoriais */
.vde-authority{display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin:14px 0 20px;padding:17px 19px;border:1px solid #cfa75e;border-left:5px solid #be8d37;border-radius:15px;background:linear-gradient(112deg,#fff5da,#f5f8ed);box-shadow:0 7px 19px rgba(55,53,28,.08);color:#304f38}
.vde-authority .vde-authority-icon{display:grid;flex-shrink:0;place-items:center;border-radius:12px;width:43px;height:43px;background:#e9dbb8;color:#3b5840;font-size:25px;font-weight:800}
.vde-authority>div{flex:1 1 290px;min-width:0}
.vde-authority strong{display:block;color:#28533d;font-size:.84rem;letter-spacing:.085em;font-weight:900;line-height:1.4}
.vde-authority p{color:#556f55;font-size:.77rem;line-height:1.6;margin:4px 0 0}
.vde-authority-state{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:20px;color:#205941;font-size:.7rem;font-weight:850;background:#e3eddd;border:1px solid #b3cbb2;letter-spacing:.04em}
.vde-authority-state:before{content:"✓";font-size:.92rem}
.vde-authority.compact{margin:6px 0 17px;padding:12px 14px;border-radius:12px}
.vde-authority.compact .vde-authority-icon{width:35px;height:35px;font-size:19px}
.vde-authority.compact strong{font-size:.72rem}
.vde-authority.compact p{font-size:.71rem}
.vde-live-ribbon{position:sticky;top:0;z-index:110;display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;line-height:1.5;padding:9px 17px;background:#144933;color:#fff9e9;border-bottom:3px solid #e4c27e;box-shadow:0 5px 15px rgba(14,44,26,.19);font-size:.77rem;text-align:center}
.vde-live-ribbon strong{font-weight:900;color:#ffe1a9;letter-spacing:.08em}
.vde-live-ribbon span{color:#f0f6ea}
.vde-proof-tools{margin:18px 0;padding:17px;border-radius:15px;border:1px solid #cbdbc8;background:linear-gradient(132deg,#f4f8f1,#fffef9)}
.vde-proof-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.vde-proof-heading>div{flex:1 1 230px}
.vde-proof-heading strong{display:block;color:#28563b;font-size:.87rem;font-weight:850;line-height:1.45}
.vde-proof-heading p{font-size:.76rem;line-height:1.7;color:#627a64;margin:6px 0}
.vde-proof-private{display:inline-flex;align-items:center;padding:5px 9px;border:1px solid #bed4be;background:#e5f3e5;color:#36664a;border-radius:30px;font-size:.66rem;font-weight:800}
.vde-proof-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.vde-proof-actions .btn{font-size:.76rem;white-space:normal;text-align:center;min-height:35px}
.vde-proof-footnote{font-size:.7rem;line-height:1.65;color:#6e8272;margin:8px 0}
.vde-proof-results{margin:13px 0 5px;border:1px solid #d4e4cf;border-radius:12px;background:#fffdf8;padding:13px;display:grid;gap:9px}
.vde-proof-results>strong{font-size:.8rem;color:#365b40}
.vde-proof-result{display:flex;align-items:start;gap:10px;padding:9px 11px;border:1px solid #e4e9db;background:#f9faf5;border-radius:10px}
.vde-proof-result.warning{background:#fff5e7;border-color:#edd1a5}
.vde-proof-result.ok{background:#edf6ea;border-color:#c4dec3}
.vde-proof-result .vde-proof-signal{width:22px;height:22px;display:grid;place-items:center;border-radius:99px;background:#e6efdf;color:#376445;flex-shrink:0;font-size:.8rem;font-weight:850}
.vde-proof-result.warning .vde-proof-signal{background:#eac58b;color:#704019}
.vde-proof-result strong{font-size:.75rem;color:#3b6247}
.vde-proof-result p{font-size:.74rem;color:#627468;line-height:1.6;margin:3px 0 0}
#vde-proof-ai-results:not(:empty){margin:12px 0;display:block;border:1px solid #d0dec8;border-radius:12px;background:#eff4e9;padding:14px;font-size:.76rem;color:#3b5f48;line-height:1.65}
.vde-ai-result{display:grid;gap:10px}
.vde-ai-result strong{font-size:.84rem;color:#28563d}
.vde-ai-result p{margin:0;color:#5b7460;line-height:1.6}
.vde-ai-result label{font-size:.76rem;font-weight:800;color:#385b43}
.vde-ai-result textarea{width:100%;min-height:115px;padding:12px;line-height:1.6;border-radius:11px;border:1px solid #c1d1be;background:#fff;resize:vertical;font-family:inherit;font-size:.86rem}
.vde-ai-result .btn{justify-self:start;white-space:normal}
.vde-proof-tools button:focus-visible{outline:3px solid #b99f64;outline-offset:3px}
@media(max-width:680px){.vde-authority{padding:13px 12px;gap:9px}.vde-authority>div{flex-basis:calc(100% - 60px)}.vde-authority-state{margin-left:45px;font-size:.66rem}.vde-live-ribbon{font-size:.69rem;padding:8px 11px}.vde-proof-actions{flex-direction:column;align-items:stretch}.vde-proof-actions .btn{width:100%}.vde-proof-tools{padding:13px}.vde-ai-result .btn{width:100%}}

/* Modal editorial: leitura e escrita lado a lado, sem intermináveis deslocações. */
.overlay:has(.vde-edit-dialog){padding:clamp(7px,2vw,24px)}
.overlay:has(.vde-edit-dialog)>.modal{width:min(1060px,100%);max-height:calc(100dvh - 26px);padding:clamp(15px,2.4vw,26px);scrollbar-gutter:stable;overscroll-behavior:contain;overflow-x:hidden}
.overlay:has(.vde-edit-dialog)>.modal>.flex:first-child{position:sticky;top:-26px;z-index:5;padding:9px 0 12px;background:#fffefa;border-bottom:1px solid #e6ecdf;margin-bottom:10px}
.overlay:has(.vde-edit-dialog)>.modal>.flex:first-child h3{margin:0;font-size:clamp(1.45rem,2.7vw,2rem)}
.overlay:has(.vde-edit-dialog)>.modal>.flex:first-child .btn{flex-shrink:0}
.vde-edit-dialog{gap:11px}
.vde-edit-dialog .vde-authority.compact{padding:9px 13px;margin:0;box-shadow:none}
.vde-edit-dialog .vde-authority.compact .vde-authority-icon{width:30px;height:30px;font-size:17px}
.vde-edit-dialog .vde-authority.compact .vde-authority-state{font-size:.61rem}
.vde-edit-dialog .vde-key-path{font-weight:800;margin:0 0 4px;color:#53715c}
.vde-editor-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:clamp(12px,2vw,21px)}
.vde-editor-primary,.vde-editor-secondary{display:flex;flex-direction:column;gap:11px;min-width:0}
.vde-editor-primary>.field{margin:0}
.vde-editor-primary textarea#vde-main-text{min-height:230px;line-height:1.64;resize:vertical;font-size:.9rem}
.vde-original-status{border-left:3px solid #adbf9d;background:#f2f7ef;padding:9px 12px;border-radius:0 10px 10px 0;color:#45694d;font-size:.75rem;line-height:1.55}
.vde-original-source{border:1px solid #d4e4cd;background:#f7faf3;border-radius:11px;padding:12px}
.vde-original-source[hidden]{display:none}
.vde-original-source strong{color:#355b41;font-size:.78rem}
.vde-original-source p{white-space:pre-wrap;line-height:1.65;font-size:.8rem;color:#536b59;max-height:140px;overflow:auto;overflow-wrap:anywhere}
.vde-original-source .btn{margin-top:9px}
.vde-editor-secondary>.vde-live-preview{padding:13px;min-height:86px;margin:0}
.vde-live-preview #vde-preview{font-size:.85rem;line-height:1.6;min-height:28px}
.vde-editor-secondary>.vde-proof-tools{padding:13px;margin:0}
.vde-editor-secondary .vde-proof-heading>div p{margin:4px 0 2px}
.vde-editor-secondary .vde-proof-tools .vde-proof-actions{margin:9px 0}
.vde-proof-detail-summary{color:#55705b;cursor:pointer;font-weight:750;font-size:.74rem;text-underline-offset:3px}
.vde-proof-detail-summary:focus-visible{outline:2px solid #85a58a;outline-offset:3px}
.vde-editor-note{background:#f4f7f0;padding:9px 12px;border-radius:9px;font-size:.72rem;color:#647665;line-height:1.5;margin:0}
.vde-edit-dialog .vde-buttons{position:sticky;bottom:-26px;z-index:5;display:flex;gap:11px;background:#fffefa;border-top:1px solid #dfe8db;margin:0;padding:13px 0 5px;box-shadow:0 -12px 20px -22px #164b33}
.vde-edit-dialog .vde-buttons .btn{flex:1 1 180px;white-space:normal;text-align:center;min-height:43px}
@media(max-width:760px){.vde-editor-columns{grid-template-columns:1fr}.vde-editor-primary textarea#vde-main-text{min-height:150px}.vde-editor-secondary .vde-proof-heading p{font-size:.72rem}.vde-edit-dialog .vde-buttons{bottom:-15px}.vde-edit-dialog .vde-authority.compact .vde-authority-state{margin-left:0}.vde-edit-dialog .vde-authority.compact p{line-height:1.4}}
@media(max-width:480px){.overlay:has(.vde-edit-dialog)>.modal{max-height:calc(100dvh - 14px);padding:14px;border-radius:15px}.overlay:has(.vde-edit-dialog)>.modal>.flex:first-child{top:-14px}.vde-edit-dialog .vde-buttons .btn{flex:1 1 120px;font-size:.77rem;padding:11px 8px}.vde-edit-dialog .vde-authority.compact .vde-authority-state{font-size:.59rem}}

/* Direct editing is a content tool: menus remain true navigation controls. */
.vde-direct-guide{display:flex;flex-direction:column;gap:12px;margin:16px 0 20px;padding:18px 22px;border:1px solid #b6d2ba;border-left:4px solid #32734e;background:linear-gradient(115deg,#edf6e9,#fffaf0);border-radius:15px;box-shadow:0 5px 16px rgba(31,77,43,.07)}
.vde-direct-guide>div:first-child strong{display:block;color:#2d5d40;font-size:1rem;line-height:1.35;margin-bottom:5px}
.vde-direct-guide>div:first-child p{color:#5c7360;font-size:.79rem;line-height:1.62;margin:5px 0}
.vde-guide-pages{display:grid;grid-template-columns:repeat(auto-fit,minmax(146px,1fr));gap:8px}
.vde-guide-pages a{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #d2dfce;background:#fffefb;border-radius:11px;padding:11px 13px;text-decoration:none;font-size:.76rem;font-weight:800;line-height:1.35;color:#366048;min-width:0;overflow-wrap:anywhere}
.vde-guide-pages a:hover{background:#e8f3e6;border-color:#9abda0}
.vde-guide-pages a:focus-visible{outline:3px solid #c4a569;outline-offset:3px}
.vde-guide-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.vde-guide-actions .btn{white-space:normal;text-align:center}
.vde-ribbon-back{display:inline-block;border:1px solid rgba(240,225,177,.5);border-radius:99px;padding:3px 9px;color:#fff7d6;text-decoration:none;font-size:.7rem;font-weight:850}
.vde-ribbon-back:hover{background:rgba(249,243,219,.14);color:white}
.vde-ribbon-back:focus-visible{outline:3px solid #f3d08c;outline-offset:3px}
.vde-ribbon-count{font-size:.66rem;color:#dbe9dc;opacity:.94;font-weight:650}
.vde-is-editing :is(.app-side,.bottom-nav,.site-header,.mobile-menu,.app-header-mobile) [data-vde-key]{outline:0!important;box-shadow:none!important;cursor:default!important}
.vde-is-editing [data-vde-key]{touch-action:manipulation}
@media(max-width:720px){.vde-direct-guide{padding:14px 13px}.vde-guide-pages{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.vde-guide-pages a{padding:10px 9px;font-size:.7rem}.vde-guide-actions .btn{flex:1 1 130px}.vde-ribbon-count{width:100%;text-align:center}.vde-ribbon-back{margin:auto}}
@media(max-width:340px){.vde-guide-pages{grid-template-columns:1fr}}

/* Ações de filtragem do Centro Editorial com resposta imediata e distinguível. */
.vde-results-anchor{scroll-margin-top:66px;outline:none}
.vde-results-anchor:focus-visible{outline:2px solid #8fb898;outline-offset:4px;border-radius:12px}
.vde-guide-actions .btn.vde-guide-current{background:#255d42;color:#fff9eb;border-color:#255d42;box-shadow:0 0 0 2px #f2ddaa}
.vde-guide-actions .btn[aria-pressed="true"]:focus-visible{outline:3px solid #c8a66e;outline-offset:3px}
.vde-active-filter{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin:15px 0 9px;padding:12px 15px;background:#eaf4e7;border:1px solid #a7c7ae;border-left:4px solid #2d7650;border-radius:12px;color:#345940}
.vde-active-filter[hidden]{display:none}
.vde-active-filter>div{display:flex;flex-direction:column;gap:3px;flex:1 1 190px}
.vde-active-filter strong{font-size:.91rem;color:#245b40}
.vde-active-filter span{font-size:.76rem;line-height:1.55;color:#486951}
.vde-active-filter .btn{white-space:normal;flex-shrink:0}
@media(max-width:620px){.vde-results-anchor{scroll-margin-top:108px}.vde-active-filter .btn{width:100%}.vde-active-filter{padding:12px}}
