:root {
  --navy: #04123f;
  --navy-2: #07102f;
  --blue: #4e6fff;
  --button-primary: #6666ff;
  --cyan: #30cfd2;
  --ink: #101a3c;
  --muted: #65718d;
  --line: #dfe4ee;
  --paper: #ffffff;
  --canvas: #eef1f6;
  --warm: #f5f2df;
  --pale-blue: #eef1ff;
  --sidebar: 224px;
  --inspector: 316px;
  --shadow: 0 16px 42px rgba(4, 18, 63, .10);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--canvas); }

body {
  margin: 0;
  min-width: 1180px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
}

button, input { font: inherit; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; opacity: .52; }

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 22px 15px 16px;
  background: var(--navy-2);
  color: #fff;
  border-right: 1px solid rgba(255,255,255,.06);
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 9px 24px;
}

.product-mark img { width: 31px; height: 31px; object-fit: contain; }

.product-mark strong,
.product-mark span { display: block; line-height: 1.05; }

.product-mark strong { font-size: 15px; letter-spacing: -.2px; }
.product-mark span { margin-top: 3px; color: #8fa3ff; font-size: 11px; font-weight: 700; letter-spacing: .9px; text-transform: uppercase; }

.primary-nav { display: grid; gap: 5px; }

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 11px;
  color: #b9c4e8;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 650;
}

.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { color: #fff; background: rgba(78,111,255,.22); }
.nav-icon { width: 18px; color: var(--cyan); text-align: center; }

.sidebar-section { margin-top: 28px; }

.sidebar-label {
  padding: 0 10px 9px;
  color: #7483b2;
  font-size: 10px;
  line-height: 14px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.publication-item {
  display: grid;
  grid-template-columns: 8px 1fr;
  align-items: center;
  gap: 11px;
  padding: 10px;
  color: #abb6da;
  text-decoration: none;
  border-radius: 8px;
}

.publication-item:hover { background: rgba(255,255,255,.05); }
.publication-item.active { background: rgba(255,255,255,.06); color: #fff; }
.publication-item strong, .publication-item small { display: block; }
.publication-item strong { font-size: 12px; line-height: 16px; }
.publication-item small { margin-top: 2px; color: #7f8db8; font-size: 10px; line-height: 13px; }
.edition-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 5px 9px 12px 24px; }
.edition-links a { display: grid; place-items: center; padding: 7px 3px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 6px; color: #9ba6c7; font-size: 9px; line-height: 12px; text-decoration: none; }
.edition-links a span { color: #6f7ba1; font-size: 7px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.edition-links a:hover { border-color: rgba(87,219,221,.35); color: #fff; }
.edition-links a.active { border-color: rgba(87,219,221,.48); background: rgba(87,219,221,.1); color: #fff; }
.edition-links a.active span { color: var(--cyan); }
.publication-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.publication-dot.weekly { background: var(--cyan); }
.publication-dot.org { background: #f5cc4f; }
.publication-dot.asima { background: #ec73e3; }

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 13px 10px 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.sidebar-footer strong, .sidebar-footer small { display: block; }
.sidebar-footer strong { color: #dbe1f8; font-size: 11px; line-height: 14px; }
.sidebar-footer small { margin-top: 3px; color: #7988b5; font-size: 9px; line-height: 12px; }
.connection-dot { width: 8px; height: 8px; border-radius: 50%; background: #f1b64c; box-shadow: 0 0 0 4px rgba(241,182,76,.13); }

.workspace { min-width: 0; }

.topbar {
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 17px 27px 16px 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs { color: #7a849d; font-size: 11px; font-weight: 650; }
.breadcrumbs span { padding: 0 5px; color: #b1b7c6; }

.edition-title-row { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.edition-title-row h1 { margin: 0; color: var(--ink); font-size: 21px; line-height: 26px; letter-spacing: -.45px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f5f0e3;
  color: #866821;
  font-size: 10px;
  line-height: 12px;
  font-weight: 800;
}

.status-pill > span { width: 6px; height: 6px; border-radius: 50%; background: #d49a21; }
.status-pill.approved { background: #e5f7ef; color: #197653; }
.status-pill.approved > span { background: #20a774; }

.top-actions { display: flex; align-items: center; gap: 8px; }

.button {
  min-height: 39px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 750;
}

.button.ghost { background: #fff; border-color: #d8deea; color: #42506f; }
.button.ghost:not(:disabled):hover { border-color: #b8c2d8; background: #fafbfe; }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 6px 14px rgba(78,111,255,.18); }
.button.primary:hover { background: #405fef; }
.button.primary.approved { background: #13845c; }

.editor-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 27px 7px 30px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(7,16,47,.035);
  backdrop-filter: blur(12px);
}

.mode-switch, .viewport-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: #eef1f6;
  border-radius: 7px;
}

.mode-button, .viewport-button {
  min-width: 62px;
  height: 29px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #6a748c;
  font-size: 10px;
  font-weight: 800;
}

.mode-button.active, .viewport-button.active { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(4,18,63,.11); }

.format-tools { display: flex; align-items: center; gap: 2px; padding-left: 8px; border-left: 1px solid var(--line); }
.format-tools button { min-width: 29px; height: 29px; border: 0; border-radius: 5px; background: transparent; color: #53607d; font-size: 11px; }
.format-tools button:hover { background: #eef1f6; color: var(--ink); }
.toolbar-spacer { flex: 1; }

.save-state { display: inline-flex; align-items: center; gap: 7px; color: #7a849b; font-size: 10px; font-weight: 700; }
.save-dot { width: 6px; height: 6px; border-radius: 50%; background: #31aa7e; }
.save-state.saving .save-dot { background: #e3a934; animation: pulse 1s infinite; }

@keyframes pulse { 50% { opacity: .42; } }

.editor-grid {
  display: grid;
  grid-template-columns: minmax(660px, 1fr) var(--inspector);
  align-items: start;
  min-height: calc(100vh - 137px);
}

.canvas-column { min-width: 0; padding: 24px 28px 64px; }

.delivery-card {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 0 auto 18px;
  padding: 15px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.field-group { position: relative; min-width: 0; }
.field-group + .field-group { padding-left: 20px; border-left: 1px solid var(--line); }
.field-group label { display: block; margin-bottom: 4px; color: #7a849b; font-size: 9px; line-height: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.field-group input { width: calc(100% - 34px); padding: 3px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; line-height: 18px; font-weight: 650; }
.field-group input:focus { box-shadow: 0 2px 0 var(--blue); }
.character-count { position: absolute; right: 0; bottom: 4px; color: #a0a8ba; font-size: 9px; }

.newsletter-stage {
  width: 100%;
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 18px 0 52px;
  transition: padding .2s ease;
}

.newsletter-stage.mobile { padding-top: 10px; }

.newsletter {
  width: 640px;
  flex: 0 0 640px;
  overflow: hidden;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  transform-origin: top center;
  transition: width .24s ease, flex-basis .24s ease;
}

.newsletter-stage.mobile .newsletter { width: 390px; flex-basis: 390px; }

.edition-strap {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 34px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  line-height: 15px;
  font-weight: 850;
  letter-spacing: 1.15px;
  text-transform: uppercase;
}

.newsletter-brand {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 34px;
  border-bottom: 1px solid var(--line);
}

.newsletter-brand img { width: 194px; height: auto; }
.brand-promise {
  min-width: 215px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  padding: 6px 0 6px 18px;
  border-left: 5px solid var(--cyan);
  color: var(--navy);
  text-align: left;
}
.brand-promise strong { color: var(--blue); font-size: 34px; line-height: 32px; font-weight: 850; letter-spacing: -2px; white-space: nowrap; }
.brand-promise span { font-size: 10px; line-height: 15px; font-weight: 850; letter-spacing: .9px; text-transform: uppercase; }

.newsletter-hero { padding: 50px 34px 54px; background: var(--navy); color: #fff; }
.newsletter-hero h2 { max-width: 550px; margin: 17px 0 0; font-size: 66px; line-height: 63px; font-weight: 850; letter-spacing: -3.4px; }

.eyebrow { font-size: 12px; line-height: 16px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.eyebrow.cyan { color: var(--cyan); }
.eyebrow.blue { color: var(--blue); }
.eyebrow.ochre { color: #7b661c; }
.eyebrow.white { color: #fff; }

.hero-kicker { display: flex; align-items: center; gap: 15px; margin-top: 24px; color: var(--blue); font-size: 22px; line-height: 28px; font-weight: 850; }
.kicker-block { width: 54px; height: 5px; flex: 0 0 54px; background: var(--cyan); }

.newsletter-section { padding: 43px 34px 42px; }
.history-section h3 { max-width: 535px; margin: 11px 0 0; font-size: 38px; line-height: 41px; letter-spacing: -1.4px; }
.history-section .lead { max-width: 525px; margin: 15px 0 0; color: #506080; font-size: 16px; line-height: 26px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 31px; }
.stat-card { padding: 27px 25px; border-top: 5px solid var(--blue); }
.stat-card.pale { background: var(--pale-blue); }
.stat-card.cyan-card { background: var(--cyan); border-top-color: var(--navy); }
.stat-number { font-size: 59px; line-height: 59px; font-weight: 850; letter-spacing: -3px; }
.stat-caption { margin-top: 9px; color: var(--blue); font-size: 12px; line-height: 17px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.cyan-card .stat-caption { color: #18315c; }

.decoded-section {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 42px;
  padding: 42px 34px;
  background: var(--warm);
  border-top: 1px solid #e2dab1;
  border-bottom: 1px solid #e2dab1;
}

.decoded-heading h3 { margin: 12px 0 0; font-size: 28px; line-height: 30px; letter-spacing: -1px; }
.decoded-copy p { margin: 0; color: #4d4a35; font-size: 15px; line-height: 24px; }
.decoded-copy p.small { margin-top: 13px; color: #6b6543; font-size: 13px; line-height: 21px; }
.source-link { display: inline-block; margin-top: 16px; color: var(--navy); font-size: 12px; line-height: 18px; font-weight: 850; text-decoration: none; border-bottom: 2px solid var(--blue); }

.scale-section {
  display: grid;
  grid-template-columns: 1fr 34%;
  gap: 25px 30px;
  padding: 39px 34px;
  background: var(--blue);
}

.scale-section h3 { margin: 9px 0 0; font-size: 28px; line-height: 32px; letter-spacing: -.9px; }
.scale-stat strong, .scale-stat span { display: block; }
.scale-stat strong { color: #fff; font-size: 31px; line-height: 32px; letter-spacing: -1.3px; }
.scale-stat span { margin-top: 5px; color: #dce2ff; font-size: 12px; line-height: 17px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.scale-source { grid-column: 1 / -1; width: max-content; color: #fff; font-size: 14px; line-height: 20px; }

.cause-section { padding: 43px 34px 46px; background: var(--navy); color: #fff; }
.cause-section .org-logo { width: 214px; height: auto; }
.cause-eyebrow { margin-top: 29px; }
.cause-section > h3 { max-width: 540px; margin: 12px 0 0; font-size: 48px; line-height: 49px; letter-spacing: -2px; }
.cause-grid { display: grid; grid-template-columns: 42% 1fr; gap: 34px; margin-top: 28px; }
.cause-stat { padding: 24px; background: var(--cyan); color: var(--navy); }
.cause-stat strong, .cause-stat span { display: block; }
.cause-stat strong { font-size: 42px; line-height: 44px; letter-spacing: -2px; }
.cause-stat span { margin-top: 9px; color: #18315c; font-size: 12px; line-height: 17px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; }
.cause-copy p { margin: 0; color: #c8d0ed; font-size: 15px; line-height: 24px; }
.newsletter-button { display: inline-block; min-width: 150px; margin-top: 19px; padding: 16px 22px; border-radius: 10px; background: var(--button-primary); color: #fff; font-size: 16px; line-height: 16px; font-weight: 700; text-align: center; text-decoration: none; }

.reply-section { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 39px 34px 41px; }
.reply-section h3 { max-width: 405px; margin: 9px 0 0; font-size: 24px; line-height: 29px; letter-spacing: -.6px; }
.reply-section p { margin: 11px 0 0; color: #5d6a84; font-size: 16px; line-height: 25px; }
.reply-section .newsletter-button { margin: 0; }

.newsletter-footer { padding: 30px 34px 34px; background: var(--navy-2); color: #c8d0ed; }
.newsletter-footer > p { margin: 0; color: #fff; font-size: 14px; line-height: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; color: var(--cyan); font-size: 14px; line-height: 21px; }
.footer-links a { color: var(--cyan); }
.legal-copy { position: relative; margin-top: 22px; padding-top: 22px; border-top: 1px solid #26335e; }
.legal-copy p { margin: 0 0 11px; color: #bdc6e0; font-size: 12px; line-height: 19px; }
.legal-copy p.copyright { margin: 6px 0 0; color: #7f8bb6; }
.lock-label { display: none; position: absolute; top: -10px; right: 0; padding: 3px 7px; background: #26335e; color: #c8d0ed; border-radius: 4px; font-size: 8px; line-height: 12px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }

[data-editable] { min-width: 2px; border-radius: 3px; transition: outline-color .15s ease, background .15s ease; }
.edit-mode [data-editable]:hover { outline: 1px dashed rgba(78,111,255,.72); outline-offset: 4px; }
.edit-mode [data-editable]:focus { outline: 2px solid var(--cyan); outline-offset: 5px; background: rgba(255,255,255,.065); }
.edit-mode .history-section [data-editable]:focus,
.edit-mode .decoded-section [data-editable]:focus,
.edit-mode .reply-section [data-editable]:focus { background: rgba(78,111,255,.07); }
.edit-mode .locked-block:hover { outline: 1px dashed rgba(167,178,208,.45); outline-offset: 6px; }
.edit-mode .locked-block:hover .lock-label { display: block; }
.preview-mode [data-editable] { cursor: default; }

.newsletter-stage.mobile .edition-strap { padding: 11px 22px; }
.newsletter-stage.mobile .newsletter-brand { padding: 24px 22px; }
.newsletter-stage.mobile .newsletter-brand img { width: 174px; }
.newsletter-stage.mobile .brand-promise { min-width: 168px; gap: 10px; padding-left: 12px; border-left-width: 4px; }
.newsletter-stage.mobile .brand-promise strong { font-size: 27px; line-height: 26px; }
.newsletter-stage.mobile .brand-promise span { font-size: 8px; line-height: 12px; letter-spacing: .7px; }
.newsletter-stage.mobile .newsletter-hero { padding: 42px 22px 45px; }
.newsletter-stage.mobile .newsletter-hero h2 { font-size: 48px; line-height: 47px; letter-spacing: -2px; }
.newsletter-stage.mobile .hero-kicker { font-size: 18px; line-height: 24px; }
.newsletter-stage.mobile .newsletter-section { padding: 38px 22px; }
.newsletter-stage.mobile .history-section h3 { font-size: 32px; line-height: 35px; }
.newsletter-stage.mobile .stat-grid { grid-template-columns: 1fr; gap: 14px; }
.newsletter-stage.mobile .stat-number { font-size: 54px; line-height: 54px; }
.newsletter-stage.mobile .decoded-section { grid-template-columns: 1fr; gap: 24px; padding: 37px 22px; }
.newsletter-stage.mobile .scale-section { grid-template-columns: 1fr; gap: 22px; padding: 36px 22px; }
.newsletter-stage.mobile .scale-source { grid-column: 1; width: auto; }
.newsletter-stage.mobile .cause-section { padding: 39px 22px 42px; }
.newsletter-stage.mobile .cause-section .org-logo { width: 190px; }
.newsletter-stage.mobile .cause-section > h3 { font-size: 39px; line-height: 40px; }
.newsletter-stage.mobile .cause-grid { grid-template-columns: 1fr; gap: 18px; }
.newsletter-stage.mobile .cause-copy .newsletter-button { display: block; text-align: center; }
.newsletter-stage.mobile .reply-section { grid-template-columns: 1fr; gap: 20px; padding: 37px 22px; }
.newsletter-stage.mobile .reply-section .newsletter-button { display: block; text-align: center; }
.newsletter-stage.mobile .newsletter-footer { padding: 30px 22px 34px; }

.inspector {
  position: sticky;
  top: 52px;
  max-height: calc(100vh - 52px);
  overflow: auto;
  padding: 18px 17px 48px;
  background: #f8f9fc;
  border-left: 1px solid var(--line);
}

.inspector-card { padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 3px 10px rgba(7,16,47,.025); }
.inspector-card + .inspector-card { margin-top: 12px; }
.card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-heading h2 { margin: 3px 0 0; color: var(--ink); font-size: 14px; line-height: 19px; letter-spacing: -.15px; }
.overline { color: #8b94a9; font-size: 8px; line-height: 11px; font-weight: 850; letter-spacing: .9px; text-transform: uppercase; }
.edit-indicator { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--pale-blue); color: var(--blue); font-size: 13px; }
.selected-field-card > p { margin: 13px 0 0; color: #6b7690; font-size: 11px; line-height: 17px; }
.selected-meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line); color: #8a93a7; font-size: 9px; font-weight: 700; }

.link-editor { margin-top: 13px; }
.link-editor label { display: block; margin-bottom: 5px; color: #78829a; font-size: 9px; font-weight: 800; }
.link-editor input { width: 100%; height: 35px; padding: 0 9px; border: 1px solid #d6ddea; border-radius: 6px; outline: 0; color: #34415e; font-size: 10px; }
.link-editor input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,111,255,.11); }

.check-score, .verified-count { min-width: 34px; padding: 4px 7px; border-radius: 999px; background: #eef1f6; color: #65718a; font-size: 9px; line-height: 12px; font-weight: 850; text-align: center; }
.check-score.complete, .verified-count { background: #e5f7ef; color: #197653; }
.checklist { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 18px 1fr; align-items: center; color: #727d94; font-size: 10px; line-height: 15px; }
.check-icon { width: 16px; height: 16px; display: grid; place-items: center; border-radius: 50%; background: #edf0f5; color: #a3abbb; font-size: 8px; font-weight: 900; }
.checklist li.complete { color: #3c4a66; }
.checklist li.complete .check-icon { background: #dff5eb; color: #16865c; }
.review-confirmation { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); color: #4e5a75; font-size: 10px; line-height: 15px; font-weight: 700; }
.review-confirmation input { width: 15px; height: 15px; accent-color: var(--blue); }

.sources-list { display: grid; gap: 9px; margin-top: 14px; }
.source-card { padding: 11px; background: #f7f9fc; border: 1px solid #e7eaf1; border-radius: 7px; }
.source-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.source-card strong { color: #303d5b; font-size: 10px; line-height: 14px; }
.source-card a { color: var(--blue); font-size: 9px; font-weight: 800; text-decoration: none; }
.source-card p { margin: 6px 0 0; color: #788299; font-size: 9px; line-height: 14px; }
.source-status { color: #16865c; font-size: 8px; font-weight: 850; text-transform: uppercase; }
.source-editor { display: none; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #e3e7ef; }
.source-card.editing .source-editor { display: grid; }
.source-card.editing > p,
.source-card.editing > a { display: none; }
.source-editor label { display: grid; gap: 4px; color: #747f96; font-size: 8px; line-height: 11px; font-weight: 800; }
.source-editor input,
.source-editor textarea { width: 100%; padding: 7px 8px; border: 1px solid #d7ddea; border-radius: 5px; outline: 0; color: #34415e; background: #fff; font: inherit; font-size: 9px; line-height: 13px; resize: vertical; }
.source-editor textarea { min-height: 58px; }
.source-editor input:focus,
.source-editor textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(78,111,255,.1); }

.text-button { padding: 0; border: 0; background: transparent; color: var(--blue); font-size: 9px; font-weight: 850; }
.text-button:hover { text-decoration: underline; }
.revisions-list { display: grid; gap: 8px; margin-top: 14px; }
.revision-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid #edf0f5; }
.revision-row:last-child { padding-bottom: 0; border-bottom: 0; }
.revision-row strong, .revision-row small { display: block; }
.revision-row strong { color: #414d68; font-size: 9px; line-height: 13px; }
.revision-row small { margin-top: 2px; color: #929bad; font-size: 8px; line-height: 11px; }
.revision-row button { padding: 3px 0; border: 0; background: transparent; color: var(--blue); font-size: 8px; font-weight: 850; }
.empty-state { color: #929bad; font-size: 9px; line-height: 14px; }

.toast {
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 100;
  max-width: 320px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--navy-2);
  color: #fff;
  box-shadow: 0 14px 34px rgba(4,18,63,.28);
  font-size: 11px;
  line-height: 16px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 1330px) {
  :root { --sidebar: 206px; --inspector: 294px; }
  .canvas-column { padding-left: 18px; padding-right: 18px; }
  .editor-grid { grid-template-columns: minmax(650px, 1fr) var(--inspector); }
}

@media (max-width: 1180px) {
  body { min-width: 980px; }
  :root { --sidebar: 76px; --inspector: 286px; }
  .product-mark { justify-content: center; padding-left: 0; padding-right: 0; }
  .product-mark > div, .nav-item:not(.active) { font-size: 0; }
  .nav-item { justify-content: center; padding: 0; }
  .nav-item.active { font-size: 0; }
  .nav-icon { font-size: 15px; }
  .sidebar-label, .publication-item span:last-child, .sidebar-footer div, .edition-links { display: none; }
  .publication-item { display: flex; justify-content: center; }
  .sidebar-footer { justify-content: center; }
}
