/* Linguagem visual compartilhada por Proposta DDM, GCO e DDM Compliance. */
:root, :root[data-theme="light"] {
  color-scheme: light; --ink:#1c2434; --muted:#56647a; --paper:#f7f8fa; --line:#d9e0e9;
  --blue:#1a6bc8; --blue-deep:#0d4a96; --orange:#e8692a; --bg:var(--paper); --bg2:#fff; --bg3:#edf1f6;
  --text:var(--ink); --white:var(--ink); --card-bg:#fff; --card-border:var(--line); --input-bg:#fff;
  --input-border:var(--line); --border:var(--line); --nav-bg:rgba(255,255,255,.96); --radius:8px;
  --font-display:'Geist',sans-serif; --font-body:'Geist',sans-serif; --ddm-sidebar-width:240px;
}
:root[data-theme="dark"] {color-scheme:dark;--ink:#edf2f9;--muted:#a5b3c6;--paper:#111925;--line:#2b394c;--bg:var(--paper);--bg2:#182333;--bg3:#202e41;--text:var(--ink);--white:var(--ink);--card-bg:#182333;--card-border:var(--line);--input-bg:#152030;--input-border:var(--line);--border:var(--line);--nav-bg:rgba(24,35,51,.97);--blue:#75aff2;--blue-deep:#95c2f6}
html {background:var(--paper);scroll-padding-top:90px}
body {margin:0;font-family:'Geist',sans-serif!important;background:var(--paper);color:var(--ink);font-size:14px;line-height:1.6}
body::before,.hero-gradient,.hero-glow,.hero-glow-blue,.produto-card-glow {display:none!important}
h1,h2,h3,h4 {font-family:inherit!important;letter-spacing:-.03em;font-weight:600!important}
button,input,select,textarea {font-family:inherit!important}
a {text-underline-offset:4px}
:where(a,button,input,select,textarea):focus-visible {outline:3px solid #78b8ff!important;outline-offset:3px}
button:disabled {opacity:.5;cursor:not-allowed}
:where(input[type="email"],input[type="password"],input[type="text"],input[type="url"],input[type="tel"],input[type="date"],select,textarea) {background:var(--input-bg)!important;border:1px solid var(--line)!important;border-radius:6px!important;color:var(--ink)!important;font-size:14px!important;min-height:44px;box-shadow:none}
:where(input,select,textarea):focus {border-color:var(--blue)!important;box-shadow:0 0 0 3px #1a6bc815}
textarea {line-height:1.7;max-width:100%}
.form-group label,label {color:var(--muted);font-weight:500}
.form-group label span {color:var(--muted)}
:where(.btn-primary,.btn-blue,.btn-nav,.btn,.btn-filter) {background:#1a6bc8!important;color:#fff!important;min-height:44px;border-radius:6px!important;border:1px solid #1a6bc8!important;font-size:13px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;transition:background .18s,transform .18s}
:where(.btn-primary,.btn-blue,.btn-nav,.btn,.btn-filter):hover {background:#0d4a96!important;opacity:1!important}
:where(.btn-secondary,.btn-ghost,.btn-archive-toggle,.proto-open-btn) {border:1px solid var(--line)!important;border-radius:6px!important;min-height:42px;background:var(--card-bg)!important;color:var(--muted)!important;text-transform:none!important;letter-spacing:0!important;font-size:13px!important}
:where(.card,.login-card,.stat-card,.modal-box) {background:var(--card-bg);border:1px solid var(--line);border-radius:8px!important;box-shadow:none!important}
.card {padding:28px!important;margin-bottom:22px!important}
.card-title {color:var(--ink)!important;font-size:16px!important;font-weight:600!important;text-transform:none!important;letter-spacing:-.02em!important;margin-bottom:24px!important}
:where(.card-title,.eyebrow,.brand-eyebrow,.section-tag)::before {background:var(--orange)!important}
.eyebrow,.brand-eyebrow {font-size:11px!important;color:var(--muted)!important;font-weight:600;letter-spacing:.1em!important}
:where(.error-box,.errors,.alert-error) {background:#fff0ed!important;border:1px solid #f0c6bf!important;color:#a63527!important;border-radius:6px!important}
:where(.success-box,.alert-success) {background:#edf8f1!important;border:1px solid #badfc8!important;color:#246445!important;border-radius:6px!important}
.ddm-brand {display:flex;align-items:center;gap:14px;color:var(--ink);text-decoration:none!important;min-width:0}
.ddm-brand img {width:55px;height:36px;object-fit:contain}
.ddm-brand>span {font-size:13px;font-weight:600;line-height:1.4;letter-spacing:0;white-space:nowrap}
.ddm-logo-negative {display:none!important}
[data-theme="dark"] .ddm-logo-positive {display:none!important}
[data-theme="dark"] .ddm-logo-negative {display:block!important}
.ddm-sidebar {position:fixed;inset:0 auto 0 0;z-index:110;width:var(--ddm-sidebar-width);background:var(--card-bg);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 18px 22px;transition:width .2s,transform .2s}
.ddm-sidebar-brand {padding:0 8px 28px}
.ddm-product {display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:6px;padding:12px;margin-bottom:28px}
.ddm-product-icon {display:grid;place-items:center;width:34px;height:34px;background:#edf4fc;color:#1a6bc8;border-radius:5px;flex-shrink:0}
.ddm-product strong {display:block;font-size:12px;font-weight:600}
.ddm-product small {display:block;font-size:11px;color:var(--muted)}
.ddm-nav-label {font-size:10px;color:var(--muted);letter-spacing:.1em;padding:0 12px;margin:0 0 12px;font-weight:600}
.ddm-side-nav {display:grid;gap:7px;position:static!important;background:none!important;padding:0!important;border:0!important;backdrop-filter:none!important;width:auto!important;transform:none!important}
.ddm-nav-item {display:flex;align-items:center;gap:12px;min-height:46px;padding:11px 12px;border-left:3px solid transparent;border-radius:6px;color:var(--muted);text-decoration:none;font-size:13px;white-space:nowrap}
.ddm-nav-item svg {flex-shrink:0}
.ddm-nav-item:hover {background:var(--bg3);color:var(--ink)}
.ddm-nav-item.is-active {background:#eaf2fc;color:#1a6bc8;border-left-color:var(--orange);font-weight:500}
[data-theme="dark"] .ddm-nav-item.is-active {background:#213d5c;color:#a2ceff}
.ddm-sidebar-note {margin-top:auto;padding:28px 12px;color:var(--muted)}
.ddm-note-line {display:block;width:24px;height:2px;background:var(--orange);margin-bottom:14px}
.ddm-sidebar-note strong {font-size:12px;color:var(--ink);font-weight:500}
.ddm-sidebar-note p {font-size:12px;margin:7px 0 0;line-height:1.7}
.ddm-sidebar-user {display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 8px 0;margin-top:18px;min-width:0}
.ddm-sidebar-user>div {min-width:0}
.ddm-sidebar-user strong {display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}
.ddm-sidebar-user small {font-size:11px;color:var(--muted)}
.ddm-avatar {width:32px;height:32px;display:grid;place-items:center;background:#eaf2fc;color:#1a6bc8;border-radius:50%;font-size:12px;flex-shrink:0}
.ddm-app-page {padding-left:var(--ddm-sidebar-width);transition:padding .2s}
.ddm-app-page .main-header,.ddm-briefing-page .main-header {min-height:76px;padding:14px 36px;background:var(--card-bg);border-bottom:1px solid var(--line);backdrop-filter:none;position:relative;top:auto;z-index:20;gap:16px}
.ddm-app-page .main-header>.brand {display:flex;align-items:center;gap:14px;font-size:13px;font-weight:500;color:var(--muted)}
.ddm-app-page .main-header .brand>span {color:var(--muted)!important;font-size:13px}
.ddm-menu-button {display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--card-bg);color:var(--muted);cursor:pointer}
.ddm-nav-shade {display:none}
.ddm-app-page :where(.main-content,.content) {max-width:1480px;margin:0 auto;padding:32px 36px 72px;min-width:0}
.ddm-page-heading {display:flex;justify-content:space-between;gap:24px;align-items:center;margin:0 0 28px;padding:0 0 24px;border-bottom:1px solid var(--line)}
.ddm-page-heading h1 {margin:5px 0 7px;font-size:30px;line-height:1.25;color:var(--ink)}
.ddm-page-heading p {margin:0;color:var(--muted);font-size:13px}
.ddm-page-heading .ddm-kicker {font-size:10px;color:var(--muted);font-weight:600;letter-spacing:.1em;display:flex;gap:10px;align-items:center}
.ddm-kicker::before {content:'';height:2px;width:22px;background:var(--orange);display:inline-block}
.ddm-page-heading a {display:inline-flex;align-items:center;gap:8px;white-space:nowrap;text-decoration:none;padding:11px 16px}
.stats-row {gap:14px!important;margin-bottom:26px!important}
.stat-card {padding:23px!important;text-align:left!important;display:flex;flex-direction:column-reverse;gap:18px;min-height:124px}
.stat-card .stat-num {font-size:30px!important;font-weight:600!important;margin:0!important;color:var(--ink)!important}
.stat-card .stat-label {font-size:12px!important;text-transform:none!important;letter-spacing:0!important;color:var(--muted)!important}
.stat-card:first-child {background:#0d4a96!important;border-color:#0d4a96;border-top:3px solid var(--orange)!important}
.stat-card:first-child :is(.stat-num,.stat-label) {color:#fff!important}
.filters-bar {padding:18px!important;background:var(--card-bg);border:1px solid var(--line);border-radius:8px;gap:10px!important}
:where(.filters-bar input,.filters-bar select) {font-size:12px!important;min-width:0}
.proj-card,.project-card,.proj-link {border-color:var(--line)!important;border-radius:8px!important;box-shadow:none!important}
.proj-card,.project-card {background:var(--card-bg)!important}
.proj-title,.project-title {color:var(--ink)!important}
.info-item .lbl,.info-item label {color:var(--muted)!important;font-size:11px!important}
.info-item .val {color:var(--ink)!important;font-size:14px!important;overflow-wrap:anywhere}
.badge {border-radius:5px!important;font-size:11px!important;font-weight:500!important}
.stepper {padding-bottom:14px;gap:10px!important;overflow:auto}
.step-label {font-size:11px!important;color:var(--muted)!important}
.step-item.active .step-icon,.ps-item.active .ps-circle {background:#1a6bc8!important;color:#fff!important;border-color:#1a6bc8!important}
.step-icon,.ps-circle {border-radius:6px!important}
:where(.prompt-area,.result-area) {font-family:ui-monospace,monospace!important;background:var(--bg)!important;font-size:12px!important}
.tab-btn {border-radius:0!important;color:var(--muted)!important;background:none!important}
.tab-btn.active {border-bottom:2px solid var(--orange)!important;color:var(--blue)!important}
.theme-toggle {width:40px!important;height:40px!important;min-width:40px;border-radius:8px!important;background:var(--card-bg)!important;border:1px solid var(--line)!important;box-shadow:none!important;color:var(--muted)!important}
.theme-toggle svg {stroke:currentColor;max-width:18px;max-height:18px}
[data-theme="dark"] .theme-toggle .icon-moon {display:inline-flex!important}
[data-theme="dark"] .theme-toggle .icon-sun {display:none!important}
[data-theme="light"] .theme-toggle .icon-moon {display:none!important}
[data-theme="light"] .theme-toggle .icon-sun {display:inline-flex!important}
/* Acesso: mesmo cartão central do DDM Compliance, sem composição promocional. */
.ddm-access-page {min-height:100vh;padding:0!important;background:var(--paper)}
.ddm-access-page .login-wrap,.ddm-access-page .wrap {margin:0;min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 24px}
.ddm-access-page .login-card,.ddm-access-page .wrap>.card {width:100%;max-width:480px;background:var(--card-bg)!important;border:1px solid var(--line)!important;border-radius:12px!important;box-shadow:0 18px 50px #0c1a3010!important;padding:40px!important;margin:0!important}
.ddm-access-page .ddm-brand {margin-bottom:30px;gap:18px}
.ddm-access-page .ddm-brand img {width:64px;height:42px}
.ddm-access-page .ddm-brand>span {border-left:1px solid var(--line);padding-left:18px;font-size:13px;color:var(--muted);font-weight:600}
.ddm-access-page :where(.login-card h1,.wrap h1) {font-size:28px!important;line-height:1.25;margin:0 0 12px;font-weight:600;letter-spacing:-.03em}
.ddm-access-page .login-card>p,.ddm-access-page .subtitle {color:var(--muted)!important;line-height:1.7;font-size:13px}
.ddm-access-page .login-card .eyebrow,.ddm-access-page .wrap .eyebrow {margin-bottom:14px;font-size:10px!important}
.ddm-access-page .form-group {margin-bottom:20px}
.ddm-access-page .form-group label {font-size:13px;margin-bottom:8px;display:block}
.ddm-access-page .btn-primary,.ddm-access-page .btn {width:100%;margin-top:6px!important;min-height:44px}
.ddm-access-page .login-card form {margin-top:26px}
.ddm-access-page .theme-toggle {position:fixed;bottom:22px;right:22px}
@media(max-width:600px){.ddm-access-page .login-wrap,.ddm-access-page .wrap{padding:24px 18px;min-height:100dvh}.ddm-access-page .login-card,.ddm-access-page .wrap>.card{padding:28px 24px!important}.ddm-access-page :where(.login-card h1,.wrap h1){font-size:25px!important}}
/* Briefing: navegação lateral, título editorial e formulário centralizado. */
.ddm-briefing-page {padding-left:var(--ddm-sidebar-width)}
.ddm-briefing-page .main-header {display:flex;align-items:center;justify-content:space-between}
.ddm-briefing-page .page-wrapper {max-width:920px;margin:0 auto;padding:32px 36px 72px}
.ddm-briefing-page .page-wrapper>.brand {text-align:left;margin-bottom:28px}
.ddm-briefing-page .brand h1 {font-size:30px!important;color:var(--ink);margin-top:12px}
.ddm-briefing-page .brand p {color:var(--muted);font-size:13px}
.ddm-briefing-page .card {border-top:3px solid var(--orange);padding:32px!important}
.progress-wrap {padding:18px 22px!important;background:var(--card-bg);border:1px solid var(--line);border-radius:8px;margin-bottom:22px!important}
.progress-steps {gap:8px!important}
.ps-label {font-size:11px!important;color:var(--muted)!important}
.ps-circle {width:28px!important;height:28px!important;font-size:11px!important}
.progress-bar-outer {height:3px!important;margin-top:18px!important;background:var(--bg3)!important}
.progress-bar-inner {background:#1a6bc8!important}
.radio-card,.feedback-opt {border-radius:6px!important}
.radio-card label {border-radius:6px!important;border-color:var(--line)!important}
/* Página pública no mesmo sistema visual. */
.ddm-home nav {height:80px;padding:18px max(32px,calc((100vw - 1200px)/2));background:var(--nav-bg);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}
.ddm-home .nav-logo img {height:34px!important;width:auto!important}
.ddm-home .nav-links {gap:26px}
.ddm-home .nav-links a:not(.btn-nav) {font-size:12px;color:var(--muted)}
.ddm-home .hero {padding:145px max(32px,calc((100vw - 1200px)/2)) 70px;min-height:730px;display:grid;grid-template-columns:1.1fr 1fr;align-content:center;align-items:center;column-gap:75px;row-gap:0;text-align:left;position:relative}
.ddm-home .hero-badge {grid-column:1;justify-self:start;background:none;border:0;padding:0;color:var(--muted);font-size:10px;letter-spacing:.1em;display:flex;gap:10px;align-items:center;margin:0 0 24px}
.ddm-home .hero-badge::before {content:'';width:22px;height:2px;background:var(--orange)}
.ddm-home .hero h1 {grid-column:1;font-size:clamp(42px,4.6vw,66px);line-height:1.09;letter-spacing:-.05em;margin:0 0 24px;color:var(--ink)}
.ddm-home .hero h1 em {font-style:normal;color:#1a6bc8}
.ddm-home .hero>p {grid-column:1;color:var(--muted);font-size:15px;line-height:1.85;max-width:490px;margin:0 0 30px}
.ddm-home .hero-ctas {grid-column:1;justify-content:start;gap:12px;margin:0}
.ddm-home .hero-ctas a {display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:13px 20px}
.ddm-home .hero-scroll {display:none}
.ddm-hero-overview {grid-column:2;grid-row:1/6;align-self:center;background:var(--card-bg);border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 20px 55px #1c335b0a;transform:translateY(15px)}
.ddm-overview-top {padding:25px 28px;background:#0d4a96;color:#fff;border-top:3px solid var(--orange)}
.ddm-overview-top>span {font-size:10px;letter-spacing:.1em;color:#b9d4f3;display:block;margin-bottom:10px}
.ddm-overview-top strong {font-size:23px;font-weight:500;letter-spacing:-.03em;display:block;line-height:1.35}
.ddm-overview-body {padding:26px 28px}
.ddm-overview-body>p {font-size:11px;color:var(--muted);margin:0 0 24px}
.ddm-overview-step {display:flex;gap:14px;align-items:flex-start;margin-bottom:22px}
.ddm-overview-step>span {border:1px solid var(--line);border-radius:5px;color:#1a6bc8;font-size:11px;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0}
.ddm-overview-step strong {font-weight:500;font-size:13px;color:var(--ink);display:block}
.ddm-overview-step small {display:block;font-size:11px;color:var(--muted);margin-top:3px}
.ddm-overview-footer {padding:15px 28px;background:var(--bg);border-top:1px solid var(--line);font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}
.ddm-overview-footer span {width:6px;height:6px;border-radius:50%;background:#1a6bc8}
.ddm-home section {padding:76px max(32px,calc((100vw - 1200px)/2))}
.ddm-home .section-title {font-size:38px;line-height:1.2;letter-spacing:-.04em;color:var(--ink)}
.ddm-home .section-sub {font-size:14px;color:var(--muted)}
.ddm-home :where(.produto-card,.diferencial) {background:var(--card-bg);border:1px solid var(--line);border-radius:8px;padding:30px;box-shadow:none;transform:none}
.ddm-home .produto-card {border-top:3px solid var(--orange)}
.ddm-home .produto-card.azul {border-top-color:#1a6bc8}
.ddm-home .produto-icon {font-size:22px;margin-bottom:20px}
.ddm-home .produto-nome {font-size:25px;color:var(--ink)}
.ddm-home :where(.produto-desc,.produto-features li,.dif-desc,.passo-desc) {color:var(--muted)!important;font-size:13px;line-height:1.8}
.ddm-home .produto-cta {border-radius:6px;border-color:var(--line);color:#1a6bc8;background:#edf4fc;font-size:12px}
.ddm-home .diferenciais-grid {gap:16px;border:0;background:none}
.ddm-home .diferencial {border:1px solid var(--line)!important}
.ddm-home .cta-box {background:#0d4a96!important;border:0!important;border-top:3px solid var(--orange)!important;border-radius:10px;padding:52px}
.ddm-home .cta-box h2 {color:#fff;font-size:38px;line-height:1.2}
.ddm-home .cta-box p {color:#c8dcf3!important}
.ddm-home footer {background:var(--card-bg);border-top:1px solid var(--line);padding:26px max(32px,calc((100vw - 1200px)/2))}
.ddm-home .footer-logo img {height:28px;width:auto}
.ddm-home .stats {display:none}
body.ddm-sidebar-collapsed {--ddm-sidebar-width:76px}
.ddm-sidebar-collapsed .ddm-sidebar {padding-inline:12px}
.ddm-sidebar-collapsed .ddm-sidebar-brand {padding-inline:0}
.ddm-sidebar-collapsed .ddm-brand {justify-content:center}
.ddm-sidebar-collapsed .ddm-brand img {width:42px}
.ddm-sidebar-collapsed :is(.ddm-brand>span,.ddm-product,.ddm-nav-label,.ddm-sidebar-note,.ddm-nav-item>span,.ddm-sidebar-user>div) {display:none}
.ddm-sidebar-collapsed .ddm-side-nav {margin-top:32px}
.ddm-sidebar-collapsed .ddm-nav-item {justify-content:center;padding:12px 0}
.ddm-sidebar-collapsed .ddm-back-home {margin-top:auto}
.ddm-sidebar-collapsed .ddm-sidebar-user {justify-content:center;padding-inline:0}
@media(max-width:1100px){.stats-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ddm-home .hero{gap:36px}.ddm-home .nav-links{gap:18px}.ddm-home .hero h1{font-size:48px}.ddm-home .hero>p{font-size:14px}}
@media(max-width:800px){
  .ddm-app-page,.ddm-briefing-page{padding-left:0!important}.ddm-sidebar{width:240px!important;transform:translateX(-100%)}.ddm-nav-open .ddm-sidebar{transform:translateX(0)}
  .ddm-nav-open .ddm-nav-shade{display:block;position:fixed;inset:0;background:#11223c66;border:0;z-index:105;width:100%;height:100%}
  .ddm-app-page .main-header,.ddm-briefing-page .main-header{padding:16px 20px}.ddm-app-page :where(.main-content,.content),.ddm-briefing-page .page-wrapper{padding:24px 20px 70px}
  .ddm-page-heading h1{font-size:26px}.ddm-page-heading{gap:16px;align-items:flex-start}.ddm-page-heading .btn-primary{font-size:11px!important;padding:10px}
  .ddm-home .hero{display:flex;flex-direction:column;align-items:stretch;padding:125px 24px 48px;min-height:0}.ddm-home .hero-badge{margin:0 0 22px}.ddm-home .hero h1{font-size:48px}.ddm-home .hero>p{margin-bottom:26px}.ddm-home .hero-ctas{margin:0 0 32px;flex-wrap:wrap}.ddm-hero-overview{transform:none}.ddm-home nav{padding:16px 24px;height:76px}.ddm-home .nav-links li:not(:last-child):not(:nth-last-child(2)){display:none}.ddm-home .nav-links{gap:12px;display:flex}.ddm-home section{padding:48px 24px}.ddm-home .section-title{font-size:30px}.ddm-home .cta-box{padding:32px 24px}.ddm-home .cta-box h2{font-size:30px}.ddm-home footer{padding:26px 24px;gap:20px;flex-wrap:wrap}
  .ddm-home .produtos-grid,.ddm-home .diferenciais-grid{grid-template-columns:1fr}.ddm-home .passos{grid-template-columns:1fr 1fr}.ddm-home .hero-badge+.hero h1{font-size:44px}
  .ddm-sidebar-collapsed :is(.ddm-brand>span,.ddm-nav-label,.ddm-nav-item>span,.ddm-sidebar-user>div){display:initial}.ddm-sidebar-collapsed .ddm-product{display:flex}.ddm-sidebar-collapsed .ddm-nav-item{justify-content:flex-start;padding:11px 12px}.ddm-sidebar-collapsed .ddm-sidebar-brand{padding:0 8px 28px}.ddm-sidebar-collapsed .ddm-brand{justify-content:flex-start}
}
@media(max-width:480px){.card,.ddm-briefing-page .card{padding:22px!important}.ddm-page-heading{flex-direction:column}.stats-row{grid-template-columns:1fr 1fr!important}.stat-card{padding:18px!important}.ddm-briefing-page .progress-wrap{padding:14px 10px!important}.ps-label{font-size:9px!important}.ps-circle{width:24px!important;height:24px!important}.ddm-home .hero h1{font-size:42px}.ddm-home .hero-ctas a{flex:1 1 100%}.ddm-home .nav-logo img{height:27px!important}.ddm-home .nav-links .btn-nav{font-size:11px!important;padding:10px 12px}.ddm-home .passos{grid-template-columns:1fr}.ddm-home .stepper{overflow:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.reveal{opacity:1!important;transform:none!important}}
/* Remover o espaçamento do antigo formulário que era aplicado ao body. */
.ddm-app-page,.ddm-briefing-page {padding:0 0 0 var(--ddm-sidebar-width)}
.ddm-briefing-page .brand-eyebrow {display:flex;justify-content:flex-start!important;align-items:center;gap:10px;text-align:left}
.ddm-briefing-page .brand-eyebrow::after {display:none!important}
.ddm-briefing-page .brand h1 {margin-bottom:10px}
.ddm-home .hero {gap:0 75px}
@media(max-width:800px){
 .ddm-app-page,.ddm-briefing-page{padding:0!important}
 .ddm-sidebar{visibility:hidden}.ddm-nav-open .ddm-sidebar{visibility:visible}
 .ddm-home .hero{gap:0}
 .ddm-home .hero h1{margin-bottom:22px}.ddm-home .ddm-hero-overview{margin-top:0}
}
.ddm-page-heading>a {width:auto!important;flex:0 0 auto}
.ddm-page-heading>div {min-width:0}
.ddm-app-page .filters-bar input[type="text"] {flex:2 1 250px;width:auto!important}
.ddm-app-page .filters-bar select {flex:1 1 160px;width:auto!important}
.ddm-app-page .filters-bar input[type="date"] {width:140px!important;flex:0 1 140px}
.ddm-app-page .filters-bar .btn-filter {width:auto!important;padding:9px 16px;flex:0 0 auto}
.ddm-app-page .filters-bar .btn-archive-toggle {padding:9px 12px;flex:0 0 auto}
.ddm-app-page .proj-empresa {font-size:15px;font-weight:600}
.ddm-app-page .proj-meta {font-size:11px;color:var(--muted);gap:7px}
.ddm-app-page .proj-date {font-size:11px;color:var(--muted)}
.ddm-app-page .proj-card {padding:0;min-width:0}
.ddm-app-page .proj-link {min-width:0;padding:22px}
.ddm-app-page .proj-info {min-width:0}
.ddm-app-page .badge {text-transform:none;letter-spacing:0}
@media(max-width:600px){.ddm-app-page .filters-bar input[type="text"],.ddm-app-page .filters-bar select{flex:1 1 100%;width:100%!important}.ddm-app-page .proj-link{flex-direction:column;align-items:flex-start;gap:12px}.ddm-app-page .proj-right{flex-wrap:wrap;justify-content:flex-start;gap:8px}.ddm-app-page .proj-actions{opacity:1;flex-shrink:0}.ddm-app-page .proj-meta{flex-wrap:wrap}.ddm-app-page .main-header .client-name{display:none}}

/* Briefing público: uma única composição, da identidade ao formulário. */
.ddm-briefing-page.ddm-briefing-standalone {padding:0!important}
.ddm-briefing-page.ddm-briefing-standalone .page-wrapper {
    width:calc(100% - 48px);max-width:800px;margin:48px auto;padding:0;
    background:var(--card-bg);border:1px solid var(--line);border-radius:12px;
    box-shadow:0 8px 32px #1c243405;overflow:hidden;
}
.ddm-briefing-standalone .page-wrapper>.ddm-briefing-heading {
    display:flex;align-items:center;gap:22px;padding:28px 32px;margin:0;text-align:left;
}
.ddm-briefing-identity {display:flex;align-items:center;flex-shrink:0;border-right:1px solid var(--line);padding-right:22px;min-height:50px}
.ddm-briefing-identity .ddm-brand {margin:0;gap:0}
.ddm-briefing-identity .ddm-brand img {width:60px;height:40px}
.ddm-briefing-identity .ddm-brand>span {display:none}
.ddm-briefing-title {min-width:0}
.ddm-briefing-standalone .ddm-briefing-title h1 {font-size:25px!important;line-height:1.25;margin:0 0 6px!important;letter-spacing:-.035em}
.ddm-briefing-standalone .ddm-briefing-title p {font-size:12px;margin:0;color:var(--muted);line-height:1.6}
.ddm-briefing-page.ddm-briefing-standalone .progress-wrap {
    margin:0!important;padding:20px 32px!important;border:0;border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);border-radius:0;background:var(--paper);
}
.ddm-briefing-standalone .progress-steps {margin-bottom:0}
.ddm-briefing-standalone .progress-bar-outer {display:none}
.ddm-briefing-page.ddm-briefing-standalone .page-wrapper>.card {
    border:0!important;border-radius:0!important;padding:28px 32px!important;margin:0!important;box-shadow:none!important;
}
.ddm-briefing-standalone .step-eyebrow {font-size:10px;margin-bottom:10px}
.ddm-briefing-standalone .step-title {font-size:23px;margin-bottom:8px;line-height:1.3}
.ddm-briefing-standalone .step-desc {font-size:13px;color:var(--muted);margin-bottom:24px;line-height:1.6}
.ddm-briefing-standalone .form-group {margin-bottom:18px}
.ddm-briefing-standalone .form-group>label {font-size:12px;margin-bottom:7px}
.ddm-briefing-standalone .form-row {gap:16px}
.ddm-briefing-standalone .login-link {font-size:12px;margin-top:20px}
@media(max-width:600px){
 .ddm-briefing-page.ddm-briefing-standalone .page-wrapper{width:calc(100% - 32px);margin:24px auto}
 .ddm-briefing-standalone .page-wrapper>.ddm-briefing-heading{padding:22px 20px;gap:16px}
 .ddm-briefing-identity{padding-right:16px;min-height:46px}
 .ddm-briefing-identity .ddm-brand img{width:45px;height:32px}
 .ddm-briefing-standalone .ddm-briefing-title h1{font-size:20px!important}
 .ddm-briefing-standalone .ddm-briefing-title p{font-size:11px}
 .ddm-briefing-page.ddm-briefing-standalone .progress-wrap{padding:18px 12px!important}
 .ddm-briefing-page.ddm-briefing-standalone .page-wrapper>.card{padding:24px 20px!important}
 .ddm-briefing-standalone .step-title{font-size:21px}
}
/* Topo igual ao GCO: recolhimento na linha da marca, barra superior limpa. */
.ddm-sidebar .ddm-sidebar-brand {
    display:flex;align-items:center;justify-content:space-between;gap:8px;
    padding:4px 0 24px;min-height:60px;
}
.ddm-sidebar-brand .ddm-brand {min-width:0;gap:8px;flex:1}
.ddm-sidebar-brand .ddm-brand img {width:52px;height:32px;flex-shrink:0}
.ddm-sidebar-brand .ddm-brand>span {font-size:12px;font-weight:600;line-height:1.5;white-space:normal}
.ddm-sidebar-toggle {
    position:static;flex:0 0 28px;width:28px;height:28px;padding:0;border:0;
    display:inline-flex;align-items:center;justify-content:center;border-radius:6px;
    background:transparent;color:var(--muted);cursor:pointer;box-shadow:none;
}
.ddm-sidebar-toggle:hover {background:#eaf2fc;color:#0d4a96}
[data-theme="dark"] .ddm-sidebar-toggle:hover {background:#213d5c;color:#a2ceff}
.ddm-sidebar-toggle svg {width:16px;height:16px}
.ddm-app-page .main-header {min-height:64px;height:64px;padding:0 36px;display:flex;align-items:center;justify-content:space-between}
.ddm-app-page .main-header .header-left {min-width:0}
.ddm-app-page .ddm-mobile-sidebar-toggle {display:none}
.ddm-sidebar-collapsed {--ddm-sidebar-width:64px!important}
.ddm-sidebar-collapsed .ddm-sidebar .ddm-sidebar-brand {flex-direction:column;gap:8px;align-items:center;padding:0 0 24px}
.ddm-sidebar-collapsed .ddm-sidebar-brand .ddm-brand {flex:0 0 auto}
.ddm-sidebar-collapsed .ddm-sidebar-brand .ddm-brand img {width:42px;height:28px}
.ddm-sidebar-collapsed .ddm-sidebar-toggle svg {transform:rotate(180deg)}
@media(max-width:800px){
 .ddm-app-page .main-header{padding:0 20px}
 .ddm-app-page .ddm-mobile-sidebar-toggle{display:inline-flex;border:0;background:transparent}
 .ddm-sidebar-collapsed .ddm-sidebar .ddm-sidebar-brand{flex-direction:row;padding:4px 0 24px}
 .ddm-sidebar-collapsed .ddm-sidebar-brand .ddm-brand{flex:1;justify-content:flex-start}
 .ddm-sidebar-collapsed .ddm-sidebar-brand .ddm-brand img{width:52px;height:32px}
 .ddm-sidebar-collapsed .ddm-sidebar-toggle svg{transform:none}
}
/* Filtros com espaço reservado para a seta do select nativo. */
.ddm-app-page select {
    appearance:none;-webkit-appearance:none;
    padding:12px 44px 12px 16px!important;min-height:46px;line-height:1.4;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356647a' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
    background-repeat:no-repeat!important;background-position:right 15px center!important;background-size:16px 16px!important;
}
[data-theme="dark"] .ddm-app-page select {
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a5b3c6' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;
}
.ddm-app-page .filters-bar {gap:14px!important;padding:20px!important}
.ddm-app-page .filters-bar select {flex:1 1 200px;min-width:200px}
.ddm-app-page .filters-bar :is(input,.btn-filter,.btn-archive-toggle) {min-height:46px}
@media(max-width:600px){.ddm-app-page .filters-bar select{flex:1 1 100%;min-width:0;width:100%!important}.ddm-app-page .filters-bar{gap:12px!important;padding:16px!important}}
@media(forced-colors:active){.ddm-app-page select{appearance:auto;-webkit-appearance:auto;background-image:none!important;padding-right:16px!important}}
/* Primeiro acesso em destaque na entrada da área do cliente. */
.ddm-access-page .ddm-first-access {margin-top:24px;padding-top:22px;border-top:1px solid var(--line);text-align:center}
.ddm-access-page .ddm-first-access h2 {margin:0;font-size:15px;font-weight:600;line-height:1.5;color:var(--ink)}
.ddm-access-page .ddm-first-access p {margin:6px 0 16px;font-size:13px;line-height:1.6;color:var(--muted)}
.ddm-access-page .ddm-first-access-button {
    display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:46px;
    padding:12px 16px;border:1px solid transparent;border-radius:6px;background:#e8692a;
    color:#fff;font-size:13px;font-weight:600;line-height:1.5;text-decoration:none;
    transition:background-color .15s ease;
}
.ddm-access-page .ddm-first-access-button:hover {background:#c95016;color:#fff}
.ddm-access-page .ddm-first-access-button:focus-visible {outline:3px solid var(--blue);outline-offset:3px}
