:root {
  --paper: #eef1f6;
  --paper-2: #e3e7ee;
  --ink: #111111;
  --muted: #666862;
  --line: #111111;
  --surface: #ffffff;
  --dark: #111111;
  --green: #0c8f78;
  --green-soft: #c9f5ea;
  --rust: #e83b2e;
  --blue: #0b7bff;
  --yellow: #ffe100;
  --magenta: #ff1e8e;
  --violet: #7b51e8;
  --shadow: 4px 4px 0 #111111;
  --radius: 16px;
  --sidebar: 232px;
  font-family: "Avenir Next", "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.demo-ribbon { height: 27px; display: grid; place-items: center; background: var(--yellow); border-bottom: 2px solid var(--line); font: 700 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.app-shell { min-height: calc(100vh - 27px); display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: calc(100vh - 27px); padding: 24px 16px 16px; border-right: 2px solid var(--line); background: var(--surface); display: flex; flex-direction: column; z-index: 4; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 8px 22px; }
.brand-mark { width: 42px; height: 42px; border: 2px solid; border-radius: 13px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; font: 800 24px/1 Georgia, serif; }
.brand strong, .brand span { display: block; }
.brand strong { font: 700 21px/1 Georgia, serif; }
.brand span { margin-top: 3px; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .2em; }
.nav-label { margin: 18px 10px 7px; font: 700 9px/1 ui-monospace, monospace; letter-spacing: .13em; color: var(--muted); }
.nav-item { width: 100%; border: 0; background: transparent; border-radius: 11px; padding: 10px 11px; margin: 2px 0; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; text-align: left; font-weight: 700; }
.nav-item span { font-size: 17px; }
.nav-item b { min-width: 22px; padding: 4px 6px; background: var(--paper-2); border: 1px solid; border-radius: 999px; text-align: center; font: 800 9px/1 ui-monospace, monospace; }
.nav-item:hover { background: var(--paper); }
.nav-item.active { background: var(--yellow); border: 2px solid; padding: 8px 9px; box-shadow: 3px 3px 0 var(--ink); }
.sidebar-foot { margin-top: auto; }
.presence { margin: 0 4px 14px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: 700 10px/1 ui-monospace, monospace; }
.presence span { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--green); }
.profile, .mini-profile { display: flex; align-items: center; gap: 9px; }
.profile { padding: 12px 7px 4px; border-top: 1px solid var(--paper-2); }
.avatar { width: 34px; height: 34px; border: 2px solid; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font: 800 10px/1 ui-monospace, monospace; }
.profile strong, .profile small, .mini-profile strong, .mini-profile small { display: block; }
.profile strong, .mini-profile strong { font-size: 12px; }
.profile small, .mini-profile small { margin-top: 2px; color: var(--muted); font-size: 10px; }
.workspace { min-width: 0; }
.topbar { height: 66px; position: sticky; top: 0; z-index: 3; padding: 0 24px; border-bottom: 2px solid var(--line); background: rgba(255,255,255,.96); display: flex; align-items: center; gap: 18px; }
.breadcrumb { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; font-size: 13px; }
.breadcrumb span { color: var(--muted); }
.global-search { margin-left: auto; width: min(420px, 42vw); height: 39px; border: 2px solid; border-radius: 12px; background: var(--paper); display: flex; align-items: center; gap: 8px; padding: 0 10px; }
.global-search input, .queue-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; }
kbd { padding: 3px 6px; border: 1px solid; border-radius: 6px; background: white; box-shadow: 1px 1px 0; font-size: 10px; }
.square-button, .mobile-menu { width: 39px; height: 39px; border: 2px solid; border-radius: 11px; background: white; box-shadow: 2px 2px 0; }
.square-button { color: var(--rust); }
.mobile-menu { display: none; }
.view { display: none; padding: 30px 28px 56px; }
.view.active { display: block; }
.page-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 25px; }
.eyebrow { margin: 0 0 7px; font: 800 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .13em; color: var(--muted); }
h1 { margin: 0; max-width: 760px; font: 700 clamp(30px, 3.8vw, 52px)/.98 Georgia, "Times New Roman", serif; letter-spacing: -.035em; }
.page-head > div > p:last-child { margin: 10px 0 0; color: var(--muted); }
.primary-button, .outline-button, .send-button { min-height: 39px; border: 2px solid var(--line); border-radius: 11px; padding: 0 14px; font-weight: 800; white-space: nowrap; }
.primary-button { background: var(--blue); color: white; box-shadow: 3px 3px 0 var(--ink); }
.outline-button { background: white; }
.send-button { background: var(--ink); color: white; }
.send-button:disabled { background: var(--paper-2); color: #8c8f96; cursor: not-allowed; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.metric { position: relative; min-height: 116px; padding: 15px; border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }
.metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--accent); }
.metric.yellow { --accent: var(--yellow); } .metric.blue { --accent: var(--blue); } .metric.green { --accent: var(--green); } .metric.magenta { --accent: var(--magenta); }
.metric span { font: 800 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.metric strong { display: block; margin: 11px 0 6px; font: 700 34px/1 Georgia, serif; }
.metric small { color: var(--muted); }
.inbox-toolbar { min-height: 54px; display: flex; align-items: center; gap: 10px; padding: 7px; margin-bottom: 12px; border: 2px solid; border-radius: 14px; background: white; }
.segmented { display: flex; gap: 5px; }
.segmented button { border: 0; border-radius: 9px; background: transparent; padding: 8px 10px; font-weight: 800; }
.segmented button.active { background: var(--yellow); }
.segmented b { font: 800 9px/1 ui-monospace, monospace; }
.queue-search { margin-left: auto; min-width: 210px; display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: var(--paper); border-radius: 9px; }
.inbox-layout { height: min(720px, calc(100vh - 345px)); min-height: 600px; display: grid; grid-template-columns: minmax(260px, .82fr) minmax(430px, 1.5fr) minmax(245px, .78fr); gap: 12px; }
.panel { min-width: 0; border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }
.panel-title { height: 48px; padding: 0 13px; border-bottom: 2px solid; display: flex; align-items: center; justify-content: space-between; font: 800 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.panel-title button { border: 0; background: transparent; font-size: 18px; }
.queue-list { height: calc(100% - 48px); overflow-y: auto; }
.conversation-card { width: 100%; padding: 14px; border: 0; border-bottom: 1px solid var(--paper-2); background: white; text-align: left; }
.conversation-card:hover { background: #fffdf1; }
.conversation-card.active { background: var(--yellow); box-shadow: inset 6px 0 0 var(--ink); }
.conversation-card[hidden] { display: none; }
.conversation-top, .card-meta, .message-meta, .section-title, .draft-label { display: flex; align-items: center; justify-content: space-between; }
.channel, .priority, .health-chip, .deal-kind, .positive { padding: 4px 6px; border: 1px solid; border-radius: 999px; font: 800 8px/1 ui-monospace, monospace; letter-spacing: .06em; }
.channel.email { background: #d9eaff; } .channel.chatbot { background: var(--green-soft); } .channel.manual { background: #eee8ff; }.channel.instagram { background: #ffd8ea; }.channel.linkedin { background: #d7e9ff; }.channel.x-network { background: #e4e4e4; }
.conversation-top time { font: 700 9px/1 ui-monospace, monospace; color: var(--muted); }
.conversation-card > strong { display: block; margin-top: 11px; font-size: 12px; }
.conversation-card h3 { margin: 4px 0 6px; font: 700 16px/1.15 Georgia, serif; }
.conversation-card p { margin: 0 0 11px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.priority.high { background: #ffdcd7; } .priority.normal { background: #d9eaff; } .priority.low { background: var(--green-soft); }
.owner { width: 26px; height: 26px; border: 1px solid; border-radius: 50%; background: white; display: grid; place-items: center; font: 800 8px/1 ui-monospace, monospace; }
.owner.empty { color: var(--muted); }
.conversation-panel { display: flex; flex-direction: column; }
.conversation-head { padding: 17px 18px 14px; border-bottom: 1px solid var(--paper-2); display: flex; justify-content: space-between; gap: 12px; }
.conversation-head h2 { margin: 3px 0; font: 700 23px/1.05 Georgia, serif; }
.conversation-head p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.head-actions { display: flex; gap: 7px; align-items: flex-start; }
.icon-button { height: 39px; border: 2px solid; border-radius: 10px; background: white; font-weight: 800; }
.status-strip { min-height: 39px; padding: 7px 15px; border-bottom: 1px solid var(--paper-2); background: #fff9d9; display: flex; align-items: center; gap: 7px; font-size: 11px; }
.status-strip span:nth-of-type(2) { color: var(--muted); }
.status-strip button { margin-left: auto; border: 0; background: transparent; text-decoration: underline; font-weight: 700; }
.status-dot { width: 9px; height: 9px; border: 1px solid; border-radius: 50%; background: var(--rust); }
.timeline { flex: 1; overflow-y: auto; padding: 18px; background: #fafbfc; }
.date-divider { display: flex; align-items: center; gap: 10px; margin: 5px 0 17px; color: var(--muted); font: 800 8px/1 ui-monospace, monospace; }
.date-divider::before, .date-divider::after { content: ""; height: 1px; flex: 1; background: var(--paper-2); }
.message { max-width: 82%; padding: 14px; border: 2px solid; border-radius: 15px; background: white; box-shadow: 2px 2px 0 var(--ink); }
.message-meta { font-size: 11px; }
.message-meta time { color: var(--muted); font: 700 9px/1 ui-monospace, monospace; }
.message p { font-size: 13px; line-height: 1.45; }
.message small { color: var(--muted); font-size: 9px; }
.system-note { margin: 16px 0; padding: 10px 12px; border: 1px dashed; border-radius: 11px; background: var(--paper); display: flex; gap: 9px; }
.system-note > span { color: var(--blue); }
.system-note strong, .system-note p { display: block; margin: 0; font-size: 10px; }
.system-note p { margin-top: 2px; color: var(--muted); }
.draft-card { margin-left: 12%; padding: 14px; border: 2px solid; border-radius: 15px; background: var(--green-soft); box-shadow: 2px 2px 0; }
.draft-label span, .draft-label small { font: 800 8px/1 ui-monospace, monospace; letter-spacing: .08em; }
.draft-card p { font-size: 12px; line-height: 1.45; }
.text-button { padding: 0; margin-right: 12px; border: 0; background: transparent; text-decoration: underline; font-weight: 800; font-size: 10px; }
.composer { border-top: 2px solid; padding: 10px 13px 12px; }
.composer-tabs button { border: 0; padding: 6px 9px; background: transparent; font: 800 9px/1 ui-monospace, monospace; }
.composer-tabs button.active { background: var(--yellow); border-radius: 7px; }
.composer textarea { width: 100%; resize: none; border: 0; outline: 0; padding: 11px 2px; line-height: 1.4; }
.composer-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.composer-foot > div { display: flex; align-items: center; gap: 7px; }
.composer-foot span { color: var(--muted); font-size: 9px; }
.tool-button { height: 29px; border: 1px solid; border-radius: 8px; background: white; font-weight: 800; font-size: 10px; }
.context-panel { overflow-y: auto; }
.context-person { padding: 22px 16px 17px; text-align: center; border-bottom: 1px solid var(--paper-2); }
.large-avatar { width: 58px; height: 58px; margin: 0 auto 10px; border: 2px solid; border-radius: 18px; background: var(--blue); color: white; box-shadow: 3px 3px 0 var(--ink); display: grid; place-items: center; font: 800 17px/1 ui-monospace, monospace; }
.context-person h2 { margin: 0; font: 700 20px/1 Georgia, serif; }
.context-person p { margin: 5px 0 10px; color: var(--muted); font-size: 11px; }
.health-chip { background: var(--green-soft); }
.context-section { padding: 15px; border-bottom: 1px solid var(--paper-2); }
.section-title { margin-bottom: 11px; font: 800 9px/1 ui-monospace, monospace; letter-spacing: .1em; }
.section-title button { border: 0; background: transparent; text-decoration: underline; font-size: 9px; }
dl { margin: 0; } dl > div { margin: 9px 0; } dt { color: var(--muted); font-size: 9px; } dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 700; }
.opportunity-box { background: #fff9d9; }
.opportunity-box h3 { margin: 0; font: 700 15px/1.1 Georgia, serif; }
.opportunity-box p { margin: 4px 0 8px; color: var(--muted); font-size: 10px; }
.opportunity-box > strong { font: 700 18px/1 Georgia, serif; }
.progress { height: 7px; margin-top: 10px; border: 1px solid; border-radius: 999px; background: white; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--blue); }
.history { margin: 0; padding: 0; list-style: none; }
.history li { display: flex; gap: 9px; margin: 10px 0; }
.history i { width: 9px; height: 9px; margin-top: 3px; border: 2px solid; border-radius: 50%; background: var(--yellow); }
.history strong, .history small { display: block; font-size: 10px; }.history small { margin-top: 2px; color: var(--muted); }
.pipeline-board { min-width: 960px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.view[data-view-panel="pipeline"] { overflow-x: auto; }
.pipeline-column { min-height: 500px; padding: 11px; border: 2px solid; border-top: 10px solid var(--muted); border-radius: var(--radius); background: rgba(255,255,255,.62); }
.pipeline-column.blue-top { border-top-color: var(--blue); }.pipeline-column.yellow-top { border-top-color: var(--yellow); }.pipeline-column.green-top { border-top-color: var(--green); }
.pipeline-column header { padding: 3px 4px 12px; display: flex; justify-content: space-between; font: 800 9px/1 ui-monospace, monospace; letter-spacing: .08em; }
.pipeline-column header b { width: 23px; height: 23px; border: 1px solid; border-radius: 50%; display: grid; place-items: center; }
.deal-card { padding: 14px; border: 2px solid; border-radius: 13px; background: white; box-shadow: 3px 3px 0; }
.deal-card h3 { margin: 10px 0 5px; font: 700 18px/1.1 Georgia, serif; }.deal-card p { margin: 0 0 20px; color: var(--muted); font-size: 11px; }.deal-card strong, .deal-card small { display: block; }.deal-card small { margin-top: 13px; padding-top: 10px; border-top: 1px solid var(--paper-2); color: var(--muted); font-size: 9px; }
.deal-kind { background: var(--green-soft); }
.empty-state { margin-top: 4px; padding: 25px 12px; border: 2px dashed var(--muted); border-radius: 12px; color: var(--muted); text-align: center; font-size: 11px; }
.table-card, .chart-card { border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }
.table-tools { padding: 13px; border-bottom: 2px solid; display: flex; gap: 10px; }.table-tools .queue-search { margin: 0; flex: 1; }
table { width: 100%; border-collapse: collapse; } th, td { padding: 14px; border-bottom: 1px solid var(--paper-2); text-align: left; font-size: 11px; } th { background: var(--paper); font: 800 9px/1 ui-monospace, monospace; letter-spacing: .08em; } td strong, td small { display: block; } td small { margin-top: 3px; color: var(--muted); }.table-chip { padding: 4px 7px; border: 1px solid; border-radius: 999px; background: var(--green-soft); font-weight: 800; font-size: 9px; }
.automation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.automation-card { min-height: 260px; padding: 20px; border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); display: flex; flex-direction: column; }.automation-icon { width: 49px; height: 49px; border: 2px solid; border-radius: 14px; display: grid; place-items: center; font-size: 22px; }.automation-card div:nth-child(2) { margin-top: auto; }.automation-card span { font: 800 9px/1 ui-monospace, monospace; color: var(--muted); }.automation-card h3 { margin: 7px 0; font: 700 22px/1 Georgia, serif; }.automation-card p { color: var(--muted); font-size: 11px; line-height: 1.45; }.automation-card > b { margin-top: 13px; font: 800 9px/1 ui-monospace, monospace; }.automation-card.online .automation-icon { background: var(--green-soft); }.automation-card.planned .automation-icon { background: #d9eaff; }.automation-card.safe .automation-icon { background: var(--yellow); }
.report-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 16px; }.chart-card { min-height: 280px; padding: 20px; }.chart-card.wide { grid-column: 1 / -1; min-height: 180px; }.bar-chart > div { display: grid; grid-template-columns: 80px 1fr 45px; gap: 10px; align-items: center; margin: 23px 0; font-size: 11px; }.bar-chart i { height: 18px; border: 2px solid; border-radius: 6px; background: linear-gradient(90deg, var(--blue) var(--value), var(--paper-2) var(--value)); }.bar-chart b { font: 800 10px/1 ui-monospace, monospace; }.big-number { margin: 38px 0 8px; font: 700 66px/1 Georgia, serif; }.chart-card > p { color: var(--muted); }.positive { background: var(--green-soft); }.category-row { display: flex; height: 62px; border: 2px solid; border-radius: 13px; overflow: hidden; }.category-row span { width: var(--w); padding: 10px; background: var(--c); display: flex; align-items: flex-end; font: 800 9px/1 ui-monospace, monospace; }
.settings-list { max-width: 900px; border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); overflow: hidden; }.settings-list button { width: 100%; padding: 18px; border: 0; border-bottom: 1px solid var(--paper-2); background: white; display: flex; align-items: center; justify-content: space-between; text-align: left; }.settings-list button:hover { background: #fffdf1; }.settings-list b, .settings-list small { display: block; }.settings-list b { font: 700 18px/1 Georgia, serif; }.settings-list small { margin-top: 5px; color: var(--muted); }.settings-list strong { font-size: 25px; }

/* S2A.1 — modo operacional compacto */
.view[data-view-panel="atendimento"] { padding-top: 18px; }
.view[data-view-panel="atendimento"] .page-head { margin-bottom: 14px; align-items: center; }
.view[data-view-panel="atendimento"] h1 { max-width: none; font-size: clamp(30px, 3vw, 42px); }
.view[data-view-panel="atendimento"] .page-head > div > p:last-child { margin-top: 6px; }
.view[data-view-panel="atendimento"] .metric-grid { gap: 10px; margin-bottom: 12px; }
.view[data-view-panel="atendimento"] .metric { min-height: 84px; padding: 11px 13px; }
.view[data-view-panel="atendimento"] .metric strong { margin: 6px 0 2px; font-size: 27px; }
.view[data-view-panel="atendimento"] .inbox-toolbar { min-height: 48px; margin-bottom: 8px; }
.view[data-view-panel="atendimento"] .inbox-layout { height: min(760px, calc(100vh - 285px)); min-height: 540px; }

/* Social & Mercado */
.social-view .page-head { margin-bottom: 16px; }
.social-tabs { margin-bottom: 16px; padding: 6px; border: 2px solid; border-radius: 14px; background: white; display: flex; gap: 5px; overflow-x: auto; }
.social-tabs button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; white-space: nowrap; font-weight: 800; font-size: 11px; }
.social-tabs button.active { background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); }
.social-panel { display: none; }
.social-panel.active { display: block; }
.social-metrics .metric { min-height: 100px; }
.social-metrics .metric strong { font-size: 30px; }
.social-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 15px; }
.social-card, .paid-card, .social-inbox-card, .editorial-board > article, .connection-grid > article { border: 2px solid; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.social-card { padding: 18px; }
.campaign-focus { min-height: 300px; }
.campaign-title { display: flex; align-items: center; gap: 14px; margin: 14px 0 22px; }
.campaign-mark { width: 58px; height: 58px; flex: 0 0 auto; border: 2px solid; border-radius: 15px; background: var(--yellow); box-shadow: 3px 3px 0; display: grid; place-items: center; font: 800 16px/1 ui-monospace, monospace; }
.campaign-title span, .campaign-stats small { font: 800 8px/1 ui-monospace, monospace; letter-spacing: .08em; color: var(--muted); }
.campaign-title h2 { margin: 4px 0; font: 700 28px/1 Georgia, serif; }
.campaign-title p { margin: 0; color: var(--muted); font-size: 11px; }
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.journey span { min-height: 40px; padding: 8px 5px; border: 1px solid; border-radius: 8px; background: var(--paper); display: grid; place-items: center; text-align: center; font: 800 8px/1 ui-monospace, monospace; }
.journey span.done { background: var(--green-soft); }.journey span.current { background: var(--yellow); border-width: 2px; }
.campaign-stats { margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--paper-2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.campaign-stats strong { display: block; margin-top: 5px; font-size: 11px; }
.approval-card { background: #fff9d9; }
.approval-card .section-title b { width: 26px; height: 26px; border: 1px solid; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; }
.approval-card h3 { margin: 34px 0 8px; font: 700 25px/1 Georgia, serif; }
.approval-card p, .attribution-card p { color: var(--muted); font-size: 11px; line-height: 1.5; }
.approval-card .outline-button { margin-top: 25px; }
.channel-health ul { margin: 0; padding: 0; list-style: none; }
.channel-health li { padding: 10px 0; border-bottom: 1px solid var(--paper-2); display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; }
.channel-health li:last-child { border: 0; }
.channel-health li span strong, .channel-health li span small { display: block; }.channel-health li span strong { font-size: 11px; }.channel-health li span small { margin-top: 2px; color: var(--muted); font-size: 9px; }.channel-health li > b { font: 800 8px/1 ui-monospace, monospace; }
.platform { width: 32px; height: 32px; border: 1px solid; border-radius: 9px; display: grid; place-items: center; font: 800 10px/1 ui-monospace, monospace; font-style: normal; }
.platform.meta { background: #dce8ff; }.platform.linkedin { background: #cfe6ff; }.platform.x-network { background: #e7e7e7; }.platform.google { background: #fff1b8; }
.attribution-card { background: #f7f1ff; }
.attribution-flow { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 28px 0; }
.attribution-flow span { padding: 8px; border: 1px solid; border-radius: 8px; background: white; text-align: center; font: 800 8px/1 ui-monospace, monospace; }
.section-page-head { margin: 6px 0 17px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.section-page-head h2 { margin: 0; font: 700 clamp(26px, 3vw, 39px)/1 Georgia, serif; }
.editorial-board { min-width: 1020px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.social-panel[data-social-panel="calendario"] { overflow-x: auto; padding-bottom: 8px; }
.editorial-board > article { min-height: 440px; padding: 11px; background: rgba(255,255,255,.7); }
.editorial-board header { padding: 4px 3px 13px; display: flex; align-items: center; justify-content: space-between; font: 800 9px/1 ui-monospace, monospace; }.editorial-board header b { width: 23px; height: 23px; border: 1px solid; border-radius: 50%; display: grid; place-items: center; }
.content-ticket { margin-bottom: 10px; padding: 12px; border: 2px solid; border-radius: 11px; background: white; box-shadow: 2px 2px 0; }
.content-ticket span, .content-ticket strong, .content-ticket small { display: block; }.content-ticket span { font: 800 8px/1 ui-monospace, monospace; }.content-ticket strong { margin: 17px 0 22px; font: 700 16px/1.15 Georgia, serif; }.content-ticket small { color: var(--muted); font-size: 9px; }
.yellow-ticket { background: #fff6bd; }.green-ticket { background: var(--green-soft); }.blue-ticket { background: #d9eaff; }.magenta-ticket { background: #ffd8ea; }
.platform-list { font: 800 9px/1 ui-monospace, monospace; }.workflow-chip { padding: 5px 7px; border: 1px solid; border-radius: 999px; font: 800 8px/1 ui-monospace, monospace; }.workflow-chip.production { background: #d9eaff; }.workflow-chip.review { background: #fff1b8; }.workflow-chip.draft { background: #e7e7e7; }
.safety-banner { margin-top: 15px; padding: 14px 16px; border: 2px solid; border-radius: 14px; background: var(--green-soft); display: flex; align-items: center; gap: 12px; }.safety-banner > span { font-size: 22px; }.safety-banner strong, .safety-banner p { display: block; margin: 0; }.safety-banner p { margin-top: 3px; color: var(--muted); font-size: 10px; }.safety-banner button { margin-left: auto; }
.paid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.paid-card { min-height: 310px; padding: 18px; }.paid-card.meta-card { border-top: 10px solid var(--blue); }.paid-card.linkedin-card { border-top: 10px solid #075ec2; }.paid-card.google-card { border-top: 10px solid var(--yellow); }
.paid-card .section-title b { font: 800 8px/1 ui-monospace, monospace; }.paid-card h3 { margin: 30px 0 9px; font: 700 22px/1 Georgia, serif; }.paid-card > strong { font: 700 34px/1 Georgia, serif; }.paid-card > p { margin: 5px 0 25px; color: var(--muted); font-size: 10px; }.paid-card dl { display: grid; grid-template-columns: 1fr 1fr; }.paid-card dt { font: 800 8px/1 ui-monospace, monospace; }.paid-card dd { font: 700 18px/1 Georgia, serif; }.approval-lock { margin-top: 20px; padding: 9px; border: 1px solid; border-radius: 8px; background: #fff9d9; font: 800 8px/1 ui-monospace, monospace; }
.funnel-card { margin-top: 15px; }.funnel-row { display: flex; align-items: center; justify-content: space-around; gap: 15px; }.funnel-row div { text-align: center; }.funnel-row strong, .funnel-row small { display: block; }.funnel-row strong { font: 700 32px/1 Georgia, serif; }.funnel-row small { margin-top: 6px; font: 800 8px/1 ui-monospace, monospace; color: var(--muted); }
.social-inbox-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }.social-inbox-card { min-height: 220px; padding: 17px; }.social-inbox-card.urgent { background: #fff9d9; }.social-inbox-card h3 { margin: 28px 0 8px; font: 700 22px/1 Georgia, serif; }.social-inbox-card > p { min-height: 58px; color: var(--muted); font-size: 12px; line-height: 1.5; }.social-inbox-card .card-meta { gap: 8px; font-size: 9px; }
.social-report .bar-chart > div { margin: 18px 0; }
.connection-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }.connection-grid > article { min-height: 135px; padding: 18px; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 13px; }.connection-grid .platform { width: 48px; height: 48px; font-size: 14px; }.connection-grid h3 { margin: 0; font: 700 22px/1 Georgia, serif; }.connection-grid p { margin: 6px 0 0; color: var(--muted); font-size: 10px; }.connection-grid article > span { grid-column: 2; font: 800 8px/1 ui-monospace, monospace; }
.security-note { margin-top: 15px; max-width: 760px; padding: 18px; border: 2px solid; border-radius: 14px; background: #fff9d9; }.security-note strong { font: 700 20px/1 Georgia, serif; }.security-note p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.toast { position: fixed; right: 22px; bottom: 22px; max-width: 360px; padding: 13px 16px; border: 2px solid; border-radius: 12px; background: var(--yellow); box-shadow: var(--shadow); transform: translateY(120px); opacity: 0; transition: .2s ease; font-weight: 800; font-size: 11px; z-index: 20; }.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 1180px) {
  .inbox-layout { grid-template-columns: 280px minmax(430px, 1fr); }
  .context-panel { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: 1fr; }
  .paid-grid, .social-inbox-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --sidebar: 0px; }
  .app-shell { display: block; }
  .sidebar { position: fixed; left: -260px; width: 240px; transition: left .2s; box-shadow: 8px 0 0 rgba(17,17,17,.14); }
  body.menu-open .sidebar { left: 0; }
  .mobile-menu { display: inline-grid; place-items: center; }
  .topbar { padding: 0 12px; }.breadcrumb span, .breadcrumb b, kbd, .square-button { display: none; }.global-search { width: auto; flex: 1; }
  .view { padding: 22px 14px 45px; }.page-head { align-items: flex-start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; }
  .inbox-toolbar { flex-wrap: wrap; }.queue-search { margin-left: 0; flex: 1; }.inbox-layout { height: auto; min-height: 0; display: block; }.queue-panel { margin-bottom: 14px; }.queue-list { max-height: 330px; }.conversation-panel { min-height: 680px; }
  .automation-grid, .report-layout, .paid-grid, .social-inbox-grid, .connection-grid { grid-template-columns: 1fr; }.chart-card.wide { grid-column: auto; }.table-card { overflow-x: auto; } table { min-width: 720px; }
  .journey { grid-template-columns: repeat(3, 1fr); }.campaign-stats { grid-template-columns: 1fr; }.attribution-flow { flex-wrap: wrap; justify-content: flex-start; }.funnel-row { flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .metric-grid { grid-template-columns: 1fr; }.segmented { width: 100%; overflow-x: auto; }.segmented button { flex: 1; }.inbox-toolbar > .outline-button { display: none; }.conversation-head { flex-direction: column; }.message { max-width: 96%; }.draft-card { margin-left: 4%; }.composer-foot { align-items: flex-start; flex-direction: column; }.composer-foot > div:last-child { width: 100%; }.composer-foot > div:last-child button { flex: 1; }.category-row { height: auto; flex-direction: column; }.category-row span { width: 100%; min-height: 42px; }
}
