:root {
  --ink: #122648;
  --muted: #657080;
  --paper: #f8f5f0;
  --surface: #ffffff;
  --line: #e1e6ec;
  --green: #1b3866;
  --green-dark: #122648;
  --green-soft: #edf5e3;
  --lime: #76b82a;
  --lime-dark: #5b9a1c;
  --lime-soft: #edf5e3;
  --yellow: #f6b829;
  --amber: #a76813;
  --amber-soft: #fff4df;
  --red: #9e3d3d;
  --red-soft: #fdecec;
  --blue-soft: #eef3f8;
  --shadow: 0 18px 50px rgba(27, 56, 102, .10);
  font-family: Raleway, "Avenir Next", Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg, #fbfaf7 0, var(--paper) 420px); color: var(--ink); }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }
.topbar { min-height: 88px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px, 4vw, 64px); background: var(--surface); border-top: 4px solid var(--lime); border-bottom: 1px solid var(--line); box-shadow: 0 3px 18px rgba(27,56,102,.035); }
.brand { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.brand-logo { display: block; width: 104px; height: 64px; object-fit: contain; }
.product-name { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 16px; }
.product-name strong { font-size: 15px; letter-spacing: -.01em; }
.account span { display: flex; flex-direction: column; }
.brand small, .account small { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.account { display: flex; align-items: center; gap: 18px; text-align: right; }
.account form { margin: 0; }
.link-button { appearance: none; border: 0; background: none; color: var(--green); cursor: pointer; padding: 4px; font: inherit; }
.nav { display: flex; gap: 4px; padding: 8px clamp(22px, 4vw, 64px); background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
.nav a { position: relative; padding: 10px 14px 12px; border-radius: 7px; color: #4e5f73; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav a:hover { background: var(--lime-soft); color: var(--green-dark); }
.nav a.active { color: var(--green); }
.nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--lime); }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.page-heading { margin-bottom: 30px; max-width: 760px; }.page-heading.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.page-heading h1 { font-family: "Inter Tight", Raleway, "Avenir Next", ui-sans-serif, sans-serif; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.045em; margin: 8px 0 12px; font-weight: 600; }
.page-heading p, .lede { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.compact-heading h1 { font-size: clamp(34px, 4vw, 48px); }.compact-heading { margin-top: 18px; }
.eyebrow { color: var(--lime-dark); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; }
.connection-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); font-size: 13px; white-space: nowrap; }.connection-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }.connection-pill.online span { background: #38a169; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin: 28px 0; }
.metric-card { min-height: 145px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); box-shadow: 0 6px 20px rgba(27,56,102,.035); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }.metric-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d7b7; color: var(--ink); }.metric-card span { color: var(--muted); font-size: 13px; }.metric-card strong { font-family: "Inter Tight", Raleway, sans-serif; font-size: 46px; font-weight: 600; }.metric-card.quiet { background: #f1f3f6; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; box-shadow: 0 8px 28px rgba(27,56,102,.035); margin-bottom: 20px; overflow: hidden; }.panel h2 { font-family: "Inter Tight", Raleway, sans-serif; font-size: 19px; margin: 0 0 10px; }.panel p { line-height: 1.55; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }.panel-heading h2 { margin: 4px 0 0; }.panel-heading p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.item-list { display: flex; flex-direction: column; }.list-item { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 15px 0; border-top: 1px solid var(--line); color: var(--ink); }.list-item:first-child { border-top: 0; }.list-item div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }.list-item span:not(.status) { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 440px; }
.status { display: inline-flex; width: fit-content; align-items: center; padding: 5px 9px; border-radius: 99px; background: var(--blue-soft); color: #315d7c; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }.status.pending,.status.queued,.status.succeeded,.status.published,.status.replied,.status.liked,.status.manual { background: var(--lime-soft); color: var(--lime-dark); }.status.sensitive,.status.warning,.status.unknown,.status.publish_unknown,.status.reply_unknown { background: var(--amber-soft); color: var(--amber); }.status.failed,.status.error { background: var(--red-soft); color: var(--red); }.status.cancelled,.status.ignored,.status.skipped { background: #eff1ef; color: #59635f; }
.empty { padding: 25px 0; color: var(--muted); }.empty.roomy { padding: 50px 0; text-align: center; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }.content-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fbfcfa; }.content-card img { width: 100%; aspect-ratio: 1.91/1; object-fit: cover; display: block; }.content-card-body { padding: 20px; }.content-card h3 { margin: 12px 0 8px; font-size: 19px; }.content-card p { color: var(--muted); font-size: 14px; white-space: pre-line; }.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.button { appearance: none; border: 1px solid transparent; border-radius: 8px; padding: 11px 16px; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; transition: background .15s ease, border-color .15s ease, transform .15s ease; }.button.primary { background: var(--green); color: white; }.button.primary:hover { background: var(--green-dark); transform: translateY(-1px); }.button.secondary { border-color: #cbd4df; background: white; color: var(--green); }.button.secondary:hover { background: var(--lime-soft); border-color: #b8cc9e; }.button.danger-quiet { background: var(--red-soft); color: var(--red); }.button.wide { width: 100%; }.button.small { padding: 7px 10px; font-size: 12px; }.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; font-size: 13px; }th { color: var(--muted); font-weight: 600; text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }td small { display: block; color: var(--muted); margin-top: 4px; max-width: 360px; overflow-wrap: anywhere; }
.review-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr); gap: 22px; align-items: start; }.action-column { position: sticky; top: 18px; }.preview-panel { padding: 0; }.preview-panel .panel-heading { padding: 22px 24px 0; }.hero-image { width: 100%; display: block; }.post-copy { white-space: pre-line; padding: 28px; line-height: 1.65; font-size: 16px; }
.stacked-form { display: flex; flex-direction: column; gap: 16px; }.stacked-form label, label.check { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 650; }input, textarea { width: 100%; border: 1px solid #cbd4df; border-radius: 8px; padding: 11px 12px; font: inherit; color: var(--ink); background: white; }textarea { resize: vertical; line-height: 1.5; }input:focus, textarea:focus { outline: 3px solid rgba(118,184,42,.20); border-color: var(--lime-dark); }.check { flex-direction: row !important; align-items: flex-start; font-weight: 500 !important; line-height: 1.4; margin-bottom: 14px; }.check input { width: auto; margin-top: 3px; accent-color: var(--lime-dark); }
.decision-panel { border-color: #cbdcae; }.top-gap { margin-top: 12px; }.button-row { display: flex; gap: 8px; flex-wrap: wrap; }.button-row form { margin: 0; }.approval-form { display: flex; flex-direction: column; gap: 7px; min-width: 150px; }.compact-check { display: flex; align-items: flex-start; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.3; }.compact-check input { width: auto; margin: 1px 0 0; accent-color: var(--lime-dark); }
.notice { background: var(--blue-soft); border-left: 4px solid var(--green); padding: 13px 15px; margin: 0 0 20px; border-radius: 6px; font-size: 13px; }.notice.warning { background: var(--amber-soft); border-color: var(--amber); }.notice.compact { margin: 12px 0; padding: 10px 12px; }
.back-link { font-size: 13px; font-weight: 650; }.conversation-list { display: flex; flex-direction: column; }.conversation { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: start; color: var(--ink); padding: 18px 0; border-top: 1px solid var(--line); }.conversation:first-child { border-top: 0; }.conversation-body p { margin: 8px 0; }.conversation-body small { color: var(--muted); }.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--lime-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }.member-label { display: flex; gap: 12px; align-items: center; }.member-label div { display: flex; flex-direction: column; }.member-label small { color: var(--muted); margin-top: 2px; }blockquote { margin: 22px 0; padding: 18px 20px; background: #fafbf7; border-left: 3px solid var(--lime); font-size: 17px; line-height: 1.55; }.context-box { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 13px; }.suggestion { margin-top: 22px; padding: 20px; border: 1px solid #cbdcae; background: var(--lime-soft); border-radius: 12px; }.suggestion p { margin-bottom: 0; white-space: pre-line; }
.connection-summary { display: flex; gap: 15px; align-items: center; }.connection-summary h2,.connection-summary p { margin: 0; }.connection-summary p { color: var(--muted); margin-top: 3px; }.large-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px var(--red-soft); }.large-dot.online { background: #38a169; box-shadow: 0 0 0 7px var(--green-soft); }.details { margin-top: 24px; }.details div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }.details dt { color: var(--muted); }.details dd { margin: 0; overflow-wrap: anywhere; }
.flash-stack { margin-bottom: 18px; }.flash { padding: 13px 16px; border-radius: 9px; margin-bottom: 8px; background: var(--blue-soft); }.flash.success { background: var(--lime-soft); }.flash.error { background: var(--red-soft); color: var(--red); }.error-text { color: var(--red) !important; }.error-page { text-align: center; padding: 70px 20px; }.error-page h1 { font: 600 90px/1 "Inter Tight",Raleway,sans-serif; margin: 14px 0; }.error-page p { color: var(--muted); margin-bottom: 24px; }
.signed-out .topbar { display: none; }.signed-out .shell { width: min(1120px, calc(100% - 40px)); min-height: calc(100vh - 62px); padding: clamp(28px, 6vh, 76px) 0; display: grid; align-items: center; }.login-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .82fr); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }.login-brand-panel { position: relative; min-height: 570px; padding: clamp(38px, 6vw, 72px); background: var(--green); color: white; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }.login-brand-panel::before { content: ""; position: absolute; width: 330px; height: 330px; right: -160px; bottom: -170px; border: 42px solid rgba(118,184,42,.9); border-radius: 50%; }.login-logo-wrap { position: relative; z-index: 1; width: 212px; padding: 13px 18px; background: white; border-radius: 14px; box-shadow: 0 12px 32px rgba(5,20,42,.18); }.login-logo-wrap img { display: block; width: 100%; height: auto; }.product-kicker { position: relative; z-index: 1; margin-top: 42px; color: #cbe6a9; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 800; }.login-brand-panel h1 { position: relative; z-index: 1; font-family: "Inter Tight", Raleway, sans-serif; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.045em; margin: 12px 0 18px; font-weight: 600; }.login-brand-panel p { position: relative; z-index: 1; max-width: 470px; color: #e3eaf3; font-size: 17px; line-height: 1.55; margin: 0; }.brand-swoop { position: absolute; width: 190px; height: 65px; right: 50px; top: 68px; border-bottom: 8px solid var(--yellow); border-radius: 0 0 50% 50%; transform: rotate(-8deg); opacity: .9; }.login-card { width: auto; background: var(--surface); padding: clamp(38px, 5vw, 66px); margin: 0; align-self: center; }.login-card h2 { font-family: "Inter Tight", Raleway, sans-serif; font-size: clamp(32px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; margin: 10px 0 14px; }.login-card .stacked-form { margin-top: 28px; }.microcopy { color: var(--muted); font-size: 12px; line-height: 1.5; }.footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px clamp(22px,4vw,64px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; background: var(--surface); }
@media (max-width: 900px) { .metric-grid { grid-template-columns: repeat(2,1fr); }.two-column,.review-grid { grid-template-columns: 1fr; }.action-column { position: static; }.card-grid { grid-template-columns: 1fr; }.login-layout { grid-template-columns: 1fr; }.login-brand-panel { min-height: 350px; }.login-card { width: 100%; }.brand-swoop { right: 28px; } }
@media (max-width: 620px) { .shell { width: min(100% - 24px,1180px); padding-top: 30px; }.topbar { padding: 0 16px; }.brand-logo { width: 88px; height: 54px; }.product-name { padding-left: 12px; }.product-name small { display: none; }.account span { display: none; }.page-heading.split { align-items: flex-start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric-card { min-height: 112px; padding: 16px; }.metric-card strong { font-size: 36px; }.conversation { grid-template-columns: 38px 1fr; }.conversation > .status { grid-column: 2; }.footer { flex-direction: column; }.nav { padding-inline: 10px; }.signed-out .shell { width: min(100% - 24px,1120px); padding: 12px 0 28px; }.login-layout { border-radius: 16px; }.login-brand-panel { min-height: 310px; padding: 32px 26px; }.login-logo-wrap { width: 160px; }.product-kicker { margin-top: 28px; }.login-brand-panel h1 { font-size: 36px; }.login-brand-panel p { font-size: 15px; }.login-card { padding: 34px 26px; }.brand-swoop { display: none; } }
