/* D7HS Build 326 — estrutura principal profissional */
:root{--d7-shell-width:1560px;--d7-content-pad:clamp(18px,2.3vw,34px)}
.app{min-height:100vh;background:var(--d7-canvas,#f2f5f8)}
.app>aside{position:sticky!important;top:0!important;height:100vh!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ffffff2b transparent}
.app>main{position:relative;isolation:isolate;background:linear-gradient(180deg,#edf2f7 0,#f6f8fa 310px,#f2f5f8 100%)!important}
.app>main:before{content:"";position:absolute;z-index:-1;inset:0 0 auto;height:280px;background:linear-gradient(135deg,#dfe8f2aa,#f4f7fa00);pointer-events:none}
.top{min-height:92px!important;gap:22px!important}.top>div:first-child{min-width:240px}.top h1{margin-bottom:4px!important}.top p{max-width:620px!important}
.top .global-search,.top .top-search,.top [class*="search"]{min-width:0}
.nav-section-context{max-width:var(--d7-shell-width);margin-right:auto!important;margin-left:auto!important;padding:0 2px}
.workspace-frame{width:100%;max-width:var(--d7-shell-width);margin:0 auto}
.module-page,.page.active,.card.active-page{animation:d7-page-enter .22s ease both}
@keyframes d7-page-enter{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}
.module-page:not(#dashboard),.page.active:not(#dashboard){border:1px solid #dce4ec!important;border-radius:18px!important;box-shadow:0 10px 30px rgba(8,39,70,.07)!important}
.module-page>.workflow-head,.module-page>.dashboard-hero,.module-page>.agenda-head,.page.active>.workflow-head{margin:-1px -1px 22px!important;padding:20px 23px!important;border-radius:18px 18px 0 0!important}
.module-page>.workflow-head h2,.module-page>.dashboard-hero h2,.module-page>.agenda-head h2{margin:0 0 5px!important;color:#fff!important;font-size:22px!important}.module-page>.workflow-head p,.module-page>.dashboard-hero p,.module-page>.agenda-head p{color:#dce8f4!important}
.module-page>.workflow-head .hint{color:#dce8f4!important}.module-page>.workflow-head .pill{border-color:#ffffff38!important;background:#ffffff16!important;color:#fff!important}
.workspace-identity{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:var(--d7-shell-width);margin:0 auto 14px;padding:10px 14px;border:1px solid #dbe3eb;border-radius:12px;background:#ffffffd9;box-shadow:0 6px 18px #0827460a;backdrop-filter:blur(8px)}
.workspace-identity-copy{display:flex;align-items:center;gap:9px;min-width:0}.workspace-identity-icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#eaf0f6;color:var(--d7-navy);font-weight:950}.workspace-identity-copy div{min-width:0}.workspace-identity-copy small{display:block;color:#7b8998;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase}.workspace-identity-copy strong{display:block;overflow:hidden;color:var(--d7-navy);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.workspace-identity-status{display:flex;align-items:center;gap:6px;color:#5f6f80;font-size:10px;font-weight:750;white-space:nowrap}.workspace-identity-status:before{content:"";width:7px;height:7px;border-radius:50%;background:#25a879;box-shadow:0 0 0 3px #25a8791f}
.module-page .tabs,.module-page .finance-nav,.module-page .sales-nav{scrollbar-width:thin}.module-page .tabs{gap:7px!important}
@media(max-width:1000px){.top{min-height:84px!important}.module-page>.workflow-head,.module-page>.dashboard-hero,.module-page>.agenda-head{padding:18px!important}}
@media(max-width:760px){.app>aside{position:fixed!important;height:auto!important;overflow:visible!important}.app>main{background:#f2f5f8!important}.top{min-height:74px!important}.workspace-identity{margin-bottom:12px;padding:9px 11px}.workspace-identity-status{font-size:0}.workspace-identity-status:after{content:"Online";font-size:9px}.module-page:not(#dashboard),.page.active:not(#dashboard){border-radius:15px!important}.module-page>.workflow-head,.module-page>.dashboard-hero,.module-page>.agenda-head,.page.active>.workflow-head{margin:-1px -1px 17px!important;padding:16px!important;border-radius:15px 15px 0 0!important}.module-page>.workflow-head h2,.module-page>.dashboard-hero h2,.module-page>.agenda-head h2{font-size:19px!important}}
@media(prefers-reduced-motion:reduce){.module-page,.page.active,.card.active-page{animation:none!important}}
@media print{.workspace-identity{display:none!important}.app>main{background:#fff!important}}
