.cw-header,
.cw-footer {
  font-family: Inter, Arial, sans-serif;
  color: #173d35;
}
.cw-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px max(24px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #d7ded9;
  background: #faf9f5;
  width: 100%;
}
.cw-wordmark {
  font-size: 22px;
  font-weight: 750;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.cw-desktop-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.cw-header a {
  color: inherit;
  text-decoration: none;
}
.cw-talk {
  padding: 11px 18px;
  background: #173d35;
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.cw-mobile-nav {
  display: none;
}
.cw-footer {
  padding: 36px max(24px, calc((100vw - 1200px) / 2));
  border-top: 1px solid #d7ded9;
  background: #faf9f5;
}
.cw-footer p {
  max-width: 760px;
  line-height: 1.6;
}
.cw-footer nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}
.cw-footer a {
  color: inherit;
}
.cw-header a:focus-visible,
.cw-mobile-nav summary:focus-visible {
  outline: 3px solid #b77c2c;
  outline-offset: 4px;
}
@media (max-width: 780px) {
  .cw-header {
    padding: 18px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .cw-wordmark {
    font-size: 20px;
  }
  .cw-desktop-nav {
    display: none;
  }
  .cw-talk {
    margin-left: auto;
    font-size: 14px;
  }
  .cw-mobile-nav {
    display: block;
    flex-basis: 100%;
  }
  .cw-mobile-nav summary {
    cursor: pointer;
    padding: 10px 0;
  }
  .cw-mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 0;
  }
  .cw-footer {
    padding: 28px 20px;
  }
}
.content-panel {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px;
}
.content-form {
  display: grid;
  gap: 18px;
}
.content-form label {
  display: grid;
  gap: 7px;
}
.content-form input,
.content-form textarea,
.content-form select {
  font: inherit;
  padding: 10px;
  border: 1px solid #aebbb4;
  border-radius: 5px;
  max-width: 100%;
  box-sizing: border-box;
}
.content-form textarea {
  min-height: 110px;
}
.content-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.content-preview {
  width: 100%;
  height: 620px;
  border: 1px solid #bdc8c1;
  background: white;
}
.content-row {
  padding: 18px;
  border-bottom: 1px solid #d7ded9;
}
.audience-notes {
  padding: 40px max(24px, calc((100vw - 1100px) / 2));
}
.audience-notes article {
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}
.content-error {
  color: #982a20;
}
.session-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  border: 1px solid #ddd;
}
.session-editor label {
  min-width: 0;
}
@media (max-width: 650px) {
  .session-editor {
    grid-template-columns: 1fr;
  }
  .content-panel {
    padding: 16px;
  }
}
.content-panel {
  min-width: 0;
}
.content-panel h1 {
  font-size: 34px;
  line-height: 1.2;
}
.content-panel h2 {
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: normal;
}
.content-panel h3 {
  font-size: 21px;
}
.content-panel button {
  font: inherit;
  padding: 10px 14px;
  border: 1px solid #9aafa2;
  border-radius: 5px;
  background: #f4f6f1;
  color: #173d35;
  cursor: pointer;
}
.content-panel button:disabled {
  opacity: 0.5;
  cursor: default;
}
.content-panel fieldset {
  min-width: 0;
  padding: 18px;
  border: 1px solid #c5d0c9;
  display: grid;
  gap: 14px;
}
.content-panel input[type="checkbox"] {
  width: auto;
}
.content-form input:disabled {
  background: #eee;
}
.content-preview {
  display: block;
}
.content-panel button:focus-visible {
  outline: 3px solid #bd8b37;
  outline-offset: 3px;
}

/* Admin publishing workspace */
.admin-nav-heading { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: #64766d; margin: 22px 12px 8px; }
.admin-sidebar nav > div { min-width: 0; }
.admin-sidebar .admin-tab { width: 100%; }
.content-editor-toolbar { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px; background: #fff; border: 1px solid #c5d0c9; box-shadow: 0 4px 12px #173d3512; }
.content-editor-toolbar span { flex: 1 1 100%; font-weight: 600; }
.content-editor-toolbar a { color: #173d35; padding: 10px; text-decoration: underline; }
.content-review, #content-review { scroll-margin-top: 145px; }
.content-row { overflow-wrap: anywhere; }
.content-actions label { display: grid; gap: 6px; }
.content-actions input, .content-actions select { font: inherit; padding: 10px; border: 1px solid #aebbb4; border-radius: 5px; max-width: 100%; }
@media (max-width: 600px) { .content-panel { padding: 16px; } .content-editor-toolbar { gap: 6px; padding: 10px; } .content-actions label { width: 100%; } .content-row .status-pill { white-space: normal; } }

.content-panel .content-editor-fields { border: 0; padding: 0; gap: 18px; }
