/* Fio de Ariadne — relatório executivo 4 páginas / geração local */
body.exec-open{overflow:hidden}
.exec-overlay{display:none;position:fixed;inset:0;z-index:200;background:#e8e6df;overflow:auto;color:#153228}
.exec-overlay.is-open{display:block}
.exec-toolbar{position:sticky;z-index:201;top:0;background:#132c24;color:#f5efe0;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 25px;box-shadow:0 7px 28px #142b2930}
.exec-toolbar div:first-child{display:flex;flex-direction:column;gap:2px}.exec-toolbar strong{font:600 18px/1.2 Georgia,serif}.exec-toolbar small{font-size:11px;color:#ddc49a;letter-spacing:.05em}.exec-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap}
.exec-toolbar button{padding:10px 13px;border-radius:9px;font-size:12px;font-weight:700;border:1px solid #789181;color:#fff;background:transparent}
.exec-toolbar button.main-action{background:#d6a95b;border:1px solid #d6a95b;color:#182a22}
.exec-toolbar button:hover{filter:brightness(1.08)}
.exec-guide{text-align:center;font-size:12px;color:#68756b;margin:15px auto 5px;max-width:1050px;padding:0 12px}
.exec-pages{display:grid;gap:20px;padding:12px 16px 40px;justify-items:center}
.exec-page{width:1122px;height:793px;max-width:100%;flex:none;box-sizing:border-box;overflow:hidden;background:#f6f2ea;position:relative;box-shadow:0 15px 40px #151b1740;font-family:Arial,'Segoe UI',sans-serif;color:#15332a;padding:30px 39px 29px;display:flex;flex-direction:column}
.exec-page *{box-sizing:border-box}.exec-page h1,.exec-page h2,.exec-page h3,.exec-page p{margin:0;letter-spacing:0}.exec-page h1,.exec-page .exec-serif{font-family:Georgia,'Times New Roman',serif;font-weight:500}.exec-page h2{font-size:22px;color:#17362c}.exec-page h3{font-size:13px;color:#263e35}.exec-page p{font-size:12px;line-height:1.48}.exec-page .exec-tag{font-size:10px;letter-spacing:1.35px;font-weight:800;text-transform:uppercase;color:#b48031}
.exec-hero{margin:-30px -39px 21px;background:#102c23;color:#f9f6e8;padding:29px 39px 24px;height:168px;flex-shrink:0;position:relative;overflow:hidden}.exec-hero:after{content:'';display:block;position:absolute;width:280px;height:145px;border-radius:50%;border:1px solid #c9a0525c;right:-75px;top:-59px;box-shadow:0 0 0 30px #ba994014,0 0 0 62px #ba994010}.exec-hero .exec-tag{color:#e4bb70}.exec-hero h1{font-size:45px;color:white;margin:13px 0 5px}.exec-hero p{color:#d5ded2;font-size:13px}
.exec-meta{display:flex;justify-content:space-between;gap:16px;align-items:center;color:#62756a;font-size:10px;min-height:20px;margin-bottom:14px}.exec-meta span:first-child{color:#9a6f37;font-weight:800;letter-spacing:.13em}
.exec-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.exec-kpi{background:#fff;border:1px solid #dcd7c8;border-radius:12px;padding:15px 16px;min-height:97px}.exec-kpi small{display:block;color:#68786c;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;min-height:16px}.exec-kpi b{font:500 30px/1.3 Georgia,serif;color:#143328;display:block;margin-top:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exec-kpi span{font-size:10px;color:#a07135}
.exec-cols{display:grid;grid-template-columns:1.35fr 1fr;gap:16px;flex:1;min-height:0;margin-top:15px}.exec-panel{border:1px solid #ded7c8;border-radius:15px;background:#fff;padding:18px 20px;min-height:0}.exec-panel h2{font-size:16px;color:#14392c;margin-bottom:3px}.exec-sub{color:#7a857b;font-size:10px!important;margin-bottom:14px!important}.exec-dark{background:#112d24;border-color:#112d24;color:#fff}.exec-dark h2,.exec-dark h3{color:#fff}.exec-dark p{color:#dae1d5}.exec-dark .exec-tag{color:#dbb36d}
.exec-bars{display:grid;gap:7px}.exec-bar-row{display:grid;grid-template-columns:146px 1fr 44px;gap:10px;align-items:center;font-size:11px}.exec-bar-row .exec-bar-name{font-weight:700}.exec-bar-row b{text-align:right;font-size:11px;font-weight:800;color:#895828}.exec-track{height:10px;border-radius:15px;background:#ece9df;overflow:hidden}.exec-track>i{display:block;height:100%;background:#b48b42;border-radius:12px}.exec-bar-row.low .exec-track>i{background:#a85b44}.exec-bar-row.low b{color:#a85b44}.exec-bar-row.no-data .exec-track>i{background:#a9a9a2}.exec-foot{border-top:1px solid #dedbd0;margin-top:auto;padding-top:12px;display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#64796d}.exec-foot b{color:#173b2d;font-size:10px}
.exec-focus-title{font:500 29px/1.13 Georgia,serif;color:#fff;margin:10px 0 13px}.exec-focus-label{font-size:10px;letter-spacing:.12em;color:#e6b96c;font-weight:800}.exec-focus-text{font-size:12px!important;line-height:1.6!important}.exec-rule{border-top:1px solid #ffffff37;margin:15px 0}.exec-note{background:#eee9dd;border:1px solid #e0d5c2;border-radius:13px;padding:14px 17px;margin-top:13px}.exec-note strong{font-size:11px;color:#966d33}.exec-note p{margin-top:5px;font-size:11px;line-height:1.45}
.exec-section-top{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:16px}.exec-section-top h1{font:500 33px Georgia,serif;color:#142f25;margin:0 0 5px}.exec-section-top p{font-size:12px;color:#67766b}.exec-counter{background:#eae1d0;border:1px solid #ddceb1;padding:10px 12px;border-radius:11px;color:#6a5335;font-size:11px;white-space:nowrap}
.exec-practices{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;flex:1;min-height:0}.exec-practice-area{border:1px solid #dedbd0;background:#fff;border-radius:12px;padding:12px 13px 8px;min-width:0}.exec-area-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e2d8;padding-bottom:6px;margin-bottom:4px}.exec-area-title strong{font-size:11px;color:#183e2c}.exec-area-title span{font-size:11px;color:#ae7731;font-weight:800}.exec-practice-row{display:grid;grid-template-columns:1fr 70px;align-items:center;gap:6px;min-height:26px;border-bottom:1px solid #f1eee6}.exec-practice-row:last-child{border-bottom:0}.exec-practice-row .txt{font-size:9px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.exec-scale{display:flex;gap:3px;justify-content:flex-end;align-items:center}.exec-scale i{display:inline-block;width:10px;height:10px;border-radius:3px;background:#e7e8e1}.exec-scale i.filled{background:#327351}.exec-scale i.low{background:#b26a47}.exec-scale span{font-size:9px;min-width:23px;text-align:right;color:#51695a;font-weight:700}
.exec-step-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:16px 0}.exec-step-card{border:1px solid #ddd6c5;border-radius:13px;background:white;padding:16px 16px 13px;min-height:192px}.exec-step-card .num{font:500 30px Georgia,serif;color:#bd9558}.exec-step-card h3{font-size:14px;line-height:1.25;margin:11px 0;color:#183b2f;min-height:36px}.exec-step-card p{font-size:11px;line-height:1.5;color:#425b4c}.exec-step-card small{display:block;color:#9d6c37;font-weight:800;font-size:10px;margin-top:12px}
.exec-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}.exec-timeline>div{border-top:4px solid #bfa169;background:#eaece6;border-radius:0 0 10px 10px;padding:12px 15px;min-height:126px}.exec-timeline span{color:#94632d;font-size:10px;font-weight:800}.exec-timeline p{margin-top:7px!important;color:#2f493a}
.exec-alert-box{background:#fcf3e6;border:1px solid #e6c99e;border-left:4px solid #c1944c;padding:11px 14px;border-radius:9px;margin-top:13px;font-size:11px}.exec-alert-box p{font-size:11px}.exec-alert-box strong{color:#91642d}
.exec-evolution{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;flex:1;min-height:0}.exec-evo-row{display:grid;grid-template-columns:145px minmax(0,1fr) 52px;align-items:center;gap:7px;margin:10px 0;font-size:11px}.exec-evo-row span{font-weight:700}.exec-evo-track{height:13px;background:#eae8df;border-radius:7px;position:relative;overflow:hidden}.exec-evo-track .goal{position:absolute;height:100%;background:#d7bd81;left:0;border-radius:7px}.exec-evo-track .base{position:absolute;height:100%;background:#2d654f;left:0;border-radius:7px}.exec-evo-row strong{font-size:11px;text-align:right;color:#9b6d31}.exec-evo-edit{display:grid;grid-template-columns:1fr 70px;gap:7px;align-items:center;padding:5px 0;border-bottom:1px solid #e7e4da}.exec-evo-edit label{font-size:11px;font-weight:700}.exec-evo-edit input{width:100%;height:29px;text-align:center;border:1px solid #cabd9e;border-radius:6px;color:#235040;font-weight:700;background:#fff}.exec-evo-legend{display:flex;gap:12px;align-items:center;color:#546458;font-size:10px;margin-bottom:10px}.exec-evo-legend i{width:11px;height:11px;border-radius:3px;display:inline-block;margin-right:4px}.exec-scope-note{background:#eff1ea;border-radius:9px;padding:11px 13px;margin-top:8px;font-size:11px;line-height:1.4}
@media(max-width:1140px){.exec-page{transform-origin:top center}} 
@media(max-width:700px){.exec-toolbar{padding:12px;align-items:flex-start;flex-direction:column}.exec-toolbar-actions{width:100%}.exec-toolbar button{flex:1;padding:10px 7px}.exec-guide{font-size:11px}.exec-pages{padding:8px;gap:14px}.exec-page{width:1122px;max-width:none;transform:scale(calc((100vw - 16px) / 1122));transform-origin:top left;margin-bottom:calc(-793px + (100vw - 16px)*.707);justify-self:start}.exec-page:last-child{margin-bottom:0}} 
@media print{
 @page{size:A4 landscape;margin:0}
 html,body{margin:0!important;padding:0!important;overflow:visible!important;background:white!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
 body.print-executive>.app,body.print-executive>.mini-fab,body.print-executive>.discovery-dialog{display:none!important}
 body.print-executive #executive-overlay{display:block!important;position:static!important;inset:auto!important;overflow:visible!important;background:white!important;margin:0!important;padding:0!important}
 body.print-executive #executive-overlay .exec-toolbar,body.print-executive #executive-overlay .exec-guide{display:none!important}
 body.print-executive #executive-overlay .exec-pages{display:block!important;padding:0!important;margin:0!important;gap:0!important}
 body.print-executive #executive-overlay .exec-page{display:flex!important;width:297mm!important;max-width:297mm!important;height:210mm!important;min-height:210mm!important;margin:0!important;padding:8mm 10mm 7mm!important;transform:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;break-after:page;page-break-after:always;overflow:hidden!important}
 body.print-executive #executive-overlay .exec-page:last-child{break-after:auto;page-break-after:auto}
 body.print-executive #executive-overlay .exec-hero{margin:-8mm -10mm 5mm!important;padding:8mm 10mm 6mm!important}
 body.print-executive #executive-overlay .exec-evo-edit input{border:0;background:transparent}
 body.print-executive #executive-overlay .exec-practice-row .txt{white-space:normal;font-size:8px;line-height:1.19}
}
/* Ajustes de paginação verificados no relatório A4 horizontal */
.exec-page[data-exec-page="2"] .exec-section-top{margin-bottom:10px}
.exec-page[data-exec-page="2"] .exec-practices{gap:7px 11px}
.exec-page[data-exec-page="2"] .exec-practice-area{padding:8px 11px 6px}
.exec-page[data-exec-page="2"] .exec-area-title{margin-bottom:3px;padding-bottom:5px}
.exec-page[data-exec-page="2"] .exec-practice-row{min-height:20px}
.exec-page[data-exec-page="2"] .exec-practice-row .txt{font-size:9px}
.exec-page[data-exec-page="2"] .exec-scope-note{padding:7px 10px;font-size:9px;margin-top:6px!important}
.exec-page[data-exec-page="4"] .exec-evolution{flex:none;height:360px}
.exec-page[data-exec-page="4"] .exec-evolution .exec-panel{padding:12px 15px}
.exec-page[data-exec-page="4"] .exec-evo-edit{padding:2px 0}
.exec-page[data-exec-page="4"] .exec-evo-edit input{height:25px}
.exec-page[data-exec-page="4"] .exec-evo-row{margin:7px 0}
.exec-page[data-exec-page="4"] .exec-timeline>div{min-height:100px}
@media(max-width:700px){.exec-pages{display:block;overflow:hidden}.exec-page{transform:scale(var(--exec-scale,.4));transform-origin:top left;margin-bottom:var(--exec-neg-space,-475px)}.exec-page:last-child{margin-bottom:0}}
