/* Shared interface language from Studio Gestão and Jump Metrics.
   Artwork canvases, business rules and the original applications are untouched. */
:root { --jump-action:linear-gradient(135deg,#c90a20,#df3c12); }
body.central-interface {
  --navy:#062e59; --navy-2:#0b447a; --red:#e20b22; --orange:#f47b12;
  --ink:#152235; --muted:#607086; --soft:#f4f6f9; --card:#fff;
  --line:#e3e8ef; --radius:18px; --shadow:0 5px 18px rgba(6,46,89,.045);
  --jump-action:linear-gradient(135deg,#c90a20,#df3c12);
}
body { font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
/* Central shell */
.app { grid-template-columns:264px minmax(0,1fr); }
.side { background:linear-gradient(180deg,#041f3d,#062e59); padding:22px 15px; gap:22px; overflow-y:auto; }
.side-brand { padding:0 10px 22px; border-bottom:1px solid #ffffff18; }
.brand-text { font-size:14px; letter-spacing:.02em; }
.brand-text small { font-size:12px; line-height:1.5; }
.side-brand .monogram { background:linear-gradient(135deg,#e20b22,#f47b12); color:#fff; width:44px; height:44px; flex:none; border-radius:13px; }
.nav { gap:4px; }
.nav-label { padding:17px 12px 7px; color:#a9bdd2; font-size:10px; letter-spacing:.12em; }
.nav button { min-height:44px; padding:11px 12px; border-radius:11px; color:#c4d2e1; font-size:13px; font-weight:700; opacity:1; }
.nav button:hover,.nav button.active { background:linear-gradient(90deg,#e20b2238,#f47b121a); color:#fff; box-shadow:none; }
.nav button.active { box-shadow:inset 3px 0 #f47b12; }
.nav .icon { display:grid; place-items:center; width:22px; flex:none; }
.nav .icon svg { display:block; width:20px; height:20px; }
.side-actions .note { color:#b7c8da; opacity:1; font-size:11px; }
.logout { min-height:42px; background:#ffffff08; font-size:13px; }
.main { max-width:1680px; padding:28px 30px 44px; }
.top { background:#fff; border-bottom:1px solid var(--line); margin:-28px -30px 26px; padding:21px 30px; min-height:104px; }
.top-eyebrow { color:var(--muted); font-size:10px; letter-spacing:.12em; }
.top h1 { color:var(--navy); font-size:28px; font-weight:800; letter-spacing:-.035em; }
.top p { font-size:14px; line-height:1.5; }
.badge { font-size:10px; letter-spacing:.025em; }
.hero { background:linear-gradient(125deg,#062e59,#0b447a); padding:28px; border-radius:18px; }
.hero h2 { font-size:32px; font-weight:800; line-height:1.12; }
.hero p { font-size:15px; opacity:.9; line-height:1.6; }
.hero-kicker { font-size:11px; color:#ffd6b2; }
.hero-next { border:1px solid #ffffff28; background:#ffffff0f; padding:20px; }
.hero-next strong { font-size:18px; }
.hero-next span { font-size:13px; }
.card,.metric-card,.focus-card,.attention-stat,.business-card,.agenda-item,.alert-row,.finance-period-panel,.existing-system { border-color:var(--line); border-radius:18px; box-shadow:var(--shadow); }
.card,.focus-card,.business-card { padding:22px; }
.card-title h3,.focus-title h3,.agenda-section-title h3 { font-size:17px; color:var(--navy); }
.card-title span,.quiet-note,.live-time,.focus-empty,.empty { font-size:13px; line-height:1.6; }
.attention-stat { padding:20px; }
.attention-stat strong { font-size:30px; }
.attention-stat b { font-size:14px; }
.attention-stat span { font-size:13px; }
.focus-row { padding:16px 0; }
.focus-row h4,.mini-title { font-size:14px; font-weight:700; }
.focus-row p,.mini-meta,.agenda-meta,.agenda-reminder { font-size:12px; line-height:1.6; }
.focus-row time,.mini-time { font-size:13px; }
.focus-row .state { font-size:10px; }
.text-action { font-size:13px; min-height:38px; }
.section-head { margin-bottom:22px; }
.section-head h2 { color:var(--navy); font-size:26px; font-weight:800; }
.section-head p { font-size:14px; }
.metric-card { padding:20px; }
.metric-label { font-size:12px; text-transform:none; letter-spacing:0; }
.metric-value { font-size:30px; font-weight:800; }
.metric-caption { font-size:12px; }
.action-btn,.secondary-btn { min-height:44px; padding:11px 15px; border-radius:12px; font-size:13px; font-weight:750; }
.action-btn:not(.light):not(.outline):not(.danger):not(.warning):not(.success),.primary { background:var(--jump-action); color:#fff; box-shadow:0 6px 16px #e20b221a; }
.action-btn.outline,.secondary-btn { background:#fff; border:1px solid #cbd7e4; color:var(--navy); }
.action-btn.small { min-height:36px; font-size:12px; }
.action-btn:disabled,.primary:disabled { box-shadow:none; }
.toolbar input,.toolbar select,.finance-period-panel input,.form-grid input,.form-grid select,.form-grid textarea { min-height:44px; border-color:var(--line); border-radius:11px; font-size:14px; }
input:focus-visible,select:focus-visible,textarea:focus-visible { outline:2px solid var(--navy); outline-offset:2px; }
.form-grid label,.finance-period-panel label { font-size:12px; }
.table { border-radius:14px; }
th,td { padding:14px 12px; font-size:13px; }
th { background:#f8fafc; font-size:11px; letter-spacing:.04em; }
.status-chip,.tag { font-size:10px; letter-spacing:.02em; }
.agenda-item { padding:20px; }
.agenda-title { font-size:15px; }
.agenda-time { font-size:15px; }
.agenda-day { font-size:11px; }
.alert-row h3 { font-size:16px; color:var(--navy); }
.alert-row p,.callout,.integration-row small { font-size:13px; line-height:1.6; }
.integration-row strong { font-size:15px; }
.integration-state { font-size:11px; }
.personal-grid { gap:18px; }
.personal-grid h3,.existing-system h2 { color:var(--navy); }
.personal-grid p,.existing-system p { font-size:15px; line-height:1.7; }
.marketing-tabs { background:#eaf0f5; padding:5px; gap:4px; border-radius:13px; }
.marketing-tabs button { min-height:44px; font-size:13px; font-weight:650; padding:11px 16px; }
.marketing-tabs button[aria-selected=true] { color:var(--navy); border-radius:10px; background:#fff; box-shadow:0 3px 9px #062e590d; }
/* Login: same split composition as the existing systems. */
.login { grid-template-columns:1.05fr 1fr; padding:0; background:#f4f6f9; align-items:stretch; }
.central-login-brand { display:flex; flex-direction:column; justify-content:space-between; gap:36px; padding:clamp(28px,5vw,72px); color:#fff; background:radial-gradient(circle at 12% 0,#f47b1259,transparent 36%),linear-gradient(145deg,#bd1026,#062e59 72%); }
.central-login-brand img { width:180px; height:139px; object-fit:contain; }
.central-login-kicker { font-size:11px; font-weight:800; letter-spacing:.14em; color:#ffd4b5; }
.central-login-brand h2 { font-size:clamp(36px,4vw,60px); line-height:1.04; letter-spacing:-.045em; margin:18px 0; }
.central-login-brand p { color:#e0e8f0; font-size:17px; line-height:1.7; max-width:540px; }
.central-login-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.central-login-tags span { border:1px solid #ffffff30; background:#ffffff0a; padding:9px 12px; border-radius:99px; font-size:12px; }
.central-login-brand small { color:#c2d2e2; font-size:12px; }
.central-login-panel { display:grid; place-items:center; padding:32px; }
.login-card { width:min(470px,100%); padding:34px; border:1px solid var(--line); border-radius:24px; box-shadow:0 20px 60px #062e5912; }
.login h1 { color:var(--navy); font-size:30px; line-height:1.15; }
.login-card p { font-size:15px; line-height:1.6; }
.login-mark { font-size:11px; color:#a44805; }
.login-card .signature strong { font-size:16px; letter-spacing:.04em; }
.login-card .signature small { font-size:13px; }
.login .field { margin-bottom:16px; }
.login .field input { min-height:48px; font-size:16px; border-color:var(--line); }
.login .primary { min-height:48px; margin-top:4px; }
.login-foot,.login-error { font-size:12px; line-height:1.5; }
/* Marketing controls only: generated artwork retains its own typography. */
.workspace-v2 { --navy:#062e59; --line:#e3e8ef; --shadow:0 5px 18px rgba(6,46,89,.045); --sj-blue:#062e59; --sj-paper:#f4f6f9; --sj-line:#e3e8ef; --sj-text:#152235; --sj-muted:#607086; }
.decision-head,.decision-footer,.today-focus { background:linear-gradient(125deg,#062e59,#0b447a); border-radius:18px; box-shadow:none; }
.decision-head { padding:26px; }
.decision-head h2 { font-family:Inter,system-ui,sans-serif; font-size:32px; font-weight:800; line-height:1.12; letter-spacing:-.035em; }
.decision-head span,.decision-footer span { font-size:11px; letter-spacing:.08em; }
.decision-mode { font-size:11px; }
.decision-summary { gap:14px; }
.decision-summary > div,.decision-summary > p,.decision-piece,.revision-panel,.save-indicator { border-color:var(--line); border-radius:18px; box-shadow:var(--shadow); }
.decision-summary strong { color:var(--navy); font-size:28px; }
.decision-summary span { font-size:12px; text-transform:none; }
.decision-piece-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,520px),1fr)); gap:18px; }
.decision-piece { min-height:400px; grid-template-columns:minmax(170px,40%) minmax(0,1fr); }
.decision-piece > header { padding:15px 20px; min-height:64px; flex-wrap:wrap; }
.decision-piece > header span { font-size:13px; }
.decision-piece > header b { font-size:10px; letter-spacing:.025em; }
.decision-piece time { color:var(--navy); font-size:21px; }
.decision-preview { background:#f4f6f9; padding:16px; }
.decision-piece-copy { padding:22px; }
.decision-piece-copy h3 { font-family:Inter,system-ui,sans-serif; font-size:21px; line-height:1.25; font-weight:750; letter-spacing:-.025em; }
.decision-piece-copy p { font-size:14px; line-height:1.65; }
.decision-piece-copy > span { font-size:11px; }
.decision-piece-action { font-size:13px; min-height:44px; margin:0 20px 20px; }
.decision-footer { padding:26px; flex-wrap:wrap; }
.decision-footer h3 { font-size:25px; font-weight:750; }
.decision-footer p { font-size:14px; }
.decision-actions { min-width:0; width:min(100%,610px); }
.decision-actions button { font-size:13px; letter-spacing:0; min-height:48px; }
.decision-approve { background:var(--jump-action); color:#fff; box-shadow:none; }
@media(min-width:1800px) { .main { padding-left:40px; padding-right:40px; }.top { margin-left:-40px; margin-right:-40px; padding-left:40px; padding-right:40px; } }
@media(max-width:1100px) { .app { grid-template-columns:230px minmax(0,1fr); }.main { padding:24px; }.top { margin:-24px -24px 24px; padding:20px 24px; }.today-actions { grid-template-columns:1fr; }.attention-stat { padding:16px; }.section-head { align-items:flex-start; flex-wrap:wrap; } }
@media(max-width:780px) {
 .app { display:block; }.side { position:static; height:auto; overflow:visible; padding:16px; gap:16px; }.side-brand { display:flex; padding:0; border:0; padding-right:104px; }.side-brand .monogram { width:36px; height:36px; }.brand-text { font-size:12px; }.brand-text small { font-size:11px; }
 .side-actions { display:block; top:17px; right:16px; }.side-actions .note { display:none; }.logout { font-size:11px; min-height:36px; padding:8px 10px; }
 .nav { display:flex; overflow-x:auto; padding-bottom:5px; }.nav button { flex:none; min-height:44px; padding:10px 12px; font-size:13px; }.nav-label { display:none; }.nav button.active { box-shadow:inset 0 -3px #f47b12; }
 .main { padding:20px 16px 32px; }.top { margin:-20px -16px 22px; padding:20px 16px; min-height:0; }.top h1 { font-size:26px; }.top p { font-size:13px; }.badge { display:none; }
 .hero { padding:22px; }.hero h2 { font-size:28px; }.hero p { font-size:14px; }.metrics { grid-template-columns:1fr; }.metric-value { font-size:28px; }
 .section-head { flex-direction:column; gap:14px; }.section-head .action-row { width:100%; }.action-row { flex-wrap:wrap; }.attention-stat span { display:block; }.focus-card,.card { padding:18px; }
 .login { display:block; }.central-login-brand { padding:26px 24px; gap:18px; }.central-login-brand img { width:108px; height:83px; }.central-login-brand h2 { font-size:32px; margin:12px 0; }.central-login-brand p { font-size:14px; margin-bottom:0; }.central-login-tags,.central-login-brand > small { display:none; }.central-login-panel { padding:22px 16px 36px; }.login-card { padding:26px; }
 .decision-head { padding:22px; }.decision-head h2 { font-size:28px!important; }.decision-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }.decision-summary > div { padding:14px 10px; }.decision-summary strong { font-size:24px; }.decision-summary > p { grid-column:1/-1; }
 .decision-piece { display:block; }.decision-piece-copy { padding:20px; }.decision-piece-copy h3 { font-size:22px; }.decision-preview .final-art-preview:not(.final-art-preview--carousel) img { max-height:480px; }.decision-piece-action { width:calc(100% - 40px); }.decision-actions { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .action-btn,.secondary-btn { transition:none; } }

/* RC15 — agenda editor shares the Central visual language. */
.agenda-editor{width:min(720px,calc(100vw - 32px));max-height:90dvh;overflow:auto;border:1px solid #dbe5ef;border-radius:24px;padding:28px;color:#072a48;background:#fff;box-shadow:0 24px 80px #00192f55}
.agenda-editor::backdrop{background:#001b35aa}
.agenda-editor .modal-head p{color:#526a81;font-size:13px;margin-top:8px}
.agenda-editor .form-grid label{font-size:14px}
.agenda-editor input:focus,.agenda-editor select:focus,.agenda-editor textarea:focus{outline:2px solid #ff8b19;outline-offset:2px}
.agenda-editor .agenda-weekdays{display:flex;gap:14px;flex-wrap:wrap;border:1px solid #dbe5ef;border-radius:12px;padding:14px}
.agenda-editor .agenda-weekdays label{display:flex;align-items:center;gap:6px}
.agenda-editor .agenda-weekdays input{width:18px;height:18px}
.agenda-editor [hidden]{display:none!important}
.agenda-editor #agendaEditorError{color:#b42318;white-space:pre-wrap}
.agenda-editor .callout,#agendaSaveNotice{background:#eff7ff;border:1px solid #bed6eb;padding:14px;border-radius:12px;line-height:1.5}
@media(max-width:600px){.agenda-editor{padding:20px}.agenda-editor .form-grid{grid-template-columns:1fr}.agenda-editor .modal-actions{flex-wrap:wrap}}
