@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");
:root {
  font-family: "DM Sans", system-ui, sans-serif;
  color: #1d333b;
  background: #f5f7f9;
  font-synthesis: none;
  --ink: #173b44;
  --muted: #677981;
  --line: #dce4e8;
  --gold: #e6b56a;
  --green: #11734f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 16px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}
button,
a.button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a {
  color: #145e75;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #b97612;
  outline-offset: 3px;
}
.app {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 242px;
  flex: none;
  background: #10343e;
  color: white;
  padding: 38px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font:
    700 32px "Manrope",
    sans-serif;
  letter-spacing: -1.2px;
  padding: 0 10px;
}
.monogram {
  font-family: Georgia, serif;
  color: var(--gold);
  font-size: 46px;
  line-height: 1;
}
.brand-sub {
  display: block;
  font:
    600 11px "DM Sans",
    sans-serif;
  letter-spacing: 4px;
  margin-top: 3px;
  color: #b6c9cd;
}
.workspace-label {
  color: #a8c1c7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin: 57px 12px 16px;
}
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: transparent;
  color: #c9d8db;
  text-align: left;
  padding: 14px 14px;
  border-radius: 8px;
  font-size: 15px;
  margin: 4px 0;
}
.nav span {
  font-size: 22px;
  width: 22px;
  text-align: center;
}
.nav.active {
  color: white;
  background: #26505a;
  box-shadow: inset 3px 0 var(--gold);
}
.nav:hover {
  background: #234a54;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #31545d;
  padding: 24px 4px 0;
  display: flex;
  gap: 10px;
  font-size: 13px;
  align-items: center;
}
.sidebar-bottom small {
  display: block;
  color: #a7bfc5;
  font-size: 12px;
  margin-top: 5px;
}
.mini-mark {
  border: 1px solid #57727a;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  text-align: center;
  padding-top: 3px;
  color: var(--gold);
  font-size: 20px;
}
main {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--line);
  padding: 0 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  font-size: 14px;
  color: var(--muted);
}
#content {
  max-width: 1240px;
  margin: auto;
  padding: 38px 46px 50px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #78725e;
  margin: 0 0 11px;
}
h1 {
  font:
    700 clamp(25px, 2.25vw, 36px)/1.25 "Manrope",
    sans-serif;
  letter-spacing: -1.1px;
  margin: 0 0 9px;
}
h2 {
  font:
    700 19px "Manrope",
    sans-serif;
  margin: 0 0 19px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
p {
  line-height: 1.6;
}
p.muted,
.page-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 0;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  margin-bottom: 22px;
  box-shadow: 0 2px 3px #173b4403;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 21px;
}
.panel-heading h2 {
  margin: 0;
}
.step {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  color: #879398;
}
.dropzone {
  border: 1.5px dashed #bdcdd2;
  border-radius: 9px;
  background: #f9fbfc;
  min-height: 218px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 26px;
}
.dropzone.drag {
  background: #e3f1f2;
  border-color: #1b6b70;
}
.dropzone strong {
  font-size: 17px;
}
.dropzone span:not(.upload-glyph) {
  font-size: 13px;
  color: var(--muted);
}
.upload-glyph {
  font-size: 25px;
  background: #e7eff1;
  border-radius: 12px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #37636f;
  margin-bottom: 3px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid #ccd8dd;
  color: var(--ink);
  border-radius: 7px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  min-height: 41px;
  white-space: normal;
}
.button:hover {
  background: #f0f5f6;
}
.button.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.button.primary:hover {
  background: #245762;
}
.button.gold {
  background: var(--gold);
  color: #303424;
  border-color: var(--gold);
}
.button.small {
  padding: 7px 11px;
  min-height: 34px;
  font-size: 13px;
}
.button.full {
  width: 100%;
}
.button.danger {
  color: #a33e37;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 23px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label,
.field-label {
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea,
input.text {
  border: 1px solid #d2dde1;
  border-radius: 7px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  min-height: 44px;
}
.field textarea {
  resize: vertical;
  min-height: 94px;
}
.field small,
.helper {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.destination {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-top: 1px solid #e8edef;
  padding: 17px 0;
}
.destination:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.destination-content {
  flex: 1;
  min-width: 0;
}
.destination strong {
  font-size: 14px;
  display: block;
  margin: 2px 0 5px;
}
.destination small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  display: block;
}
.destination input {
  margin-top: 9px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.service-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  font-weight: 700;
  border-radius: 9px;
  flex: none;
  font-size: 16px;
}
.youtube {
  background: #ffeded;
  color: #d33333;
}
.website {
  background: #e5eff5;
  color: #29718a;
}
.email {
  background: #f3edf9;
  color: #805ca3;
}
.whatsapp {
  background: #e5f4eb;
  color: #29835a;
}
.transfer {
  background: #f1f1ed;
  color: #333;
}
.audio {
  background: #fff2dc;
  color: #a57523;
}
.badge {
  display: inline-block;
  font-size: 12px;
  border: 1px solid var(--line);
  background: #f8fafb;
  border-radius: 5px;
  padding: 5px 8px;
  color: #5d737c;
  white-space: nowrap;
}
.badge.ready,
.badge.sent,
.badge.submitted,
.badge.complete {
  background: #eaf6ef;
  color: #236a4c;
  border-color: #c8e4d4;
}
.badge.error,
.badge.failed,
.badge.blocked {
  background: #fff0ed;
  color: #9e4e40;
  border-color: #f1d2c9;
}
.badge.waiting,
.badge.running,
.badge.processing,
.badge.manual,
.badge.review {
  background: #fff6e5;
  color: #865e21;
  border-color: #ebd9b6;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.savebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 24px;
}
.savebar p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.accent-panel {
  background: #173d47;
  color: white;
  border: 0;
}
.accent-panel p {
  color: #c4d6da;
  font-size: 14px;
  margin-bottom: 0;
}
.accent-panel .eyebrow {
  color: var(--gold);
}
.empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
}
.empty h2 {
  color: var(--ink);
  margin-top: 18px;
}
.library-row {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.library-row:first-child {
  border-top: 0;
}
.library-row h3 {
  margin-bottom: 6px;
}
.library-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.connection-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 13px;
}
.connection-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.connection-card .actions {
  margin-top: auto;
  padding-top: 5px;
}
.connection-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}
.connection-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.connection-title h2 {
  margin: 0;
  font-size: 17px;
}
.notice {
  padding: 13px 20px;
  border: 1px solid #eddbb7;
  background: #fff8e9;
  color: #775a2f;
  border-radius: 8px;
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
}
.notice.info {
  background: #eaf2f5;
  border-color: #cedee6;
  color: #3e6474;
}
#notice:empty {
  display: none;
}
#notice .notice {
  margin: 15px 46px 0;
}
.progress {
  width: 100%;
  height: 7px;
  accent-color: #1a6571;
  margin-top: 10px;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.meta-line {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.delivery {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.delivery small {
  display: block;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 5px;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  font-weight: 500;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 8px;
  border-bottom: 1px solid #edf0f2;
}
video,
audio {
  width: 100%;
  margin-top: 15px;
}
video {
  max-height: 320px;
  background: #122e37;
  border-radius: 8px;
}
footer {
  max-width: 1240px;
  margin: auto;
  padding: 15px 46px 25px;
  color: #92a0a6;
  font-size: 10px;
  letter-spacing: 2px;
  display: flex;
  justify-content: space-between;
}
footer span {
  font-size: 12px;
  letter-spacing: 0;
}
dialog {
  border: 0;
  border-radius: 14px;
  padding: 30px;
  max-width: 560px;
  width: calc(100% - 32px);
  box-shadow: 0 25px 100px #0004;
  color: var(--ink);
}
dialog::backdrop {
  background: #102b3977;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 23px;
}
dialog p,
dialog li {
  font-size: 15px;
  line-height: 1.65;
  color: #546b75;
}
dialog ol {
  padding-left: 22px;
}
dialog .actions {
  justify-content: flex-end;
}
#toast {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  padding: 14px 22px;
  border-radius: 9px;
  color: white;
  background: #173e48;
  box-shadow: 0 5px 25px #0002;
  z-index: 20;
  font-size: 14px;
}
.login {
  max-width: 440px;
  margin: 80px auto;
}
.share-shell {
  max-width: 840px;
  margin: 50px auto;
  padding: 20px;
}
.share-brand {
  color: var(--ink);
  margin-bottom: 40px;
}
.share-shell h1 {
  margin-top: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 0.7fr auto;
  gap: 14px;
  align-items: end;
}
.share-message {
  white-space: pre-wrap;
  background: #f0f5f6;
  border-radius: 8px;
  padding: 17px;
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.quiet {
  font-size: 13px;
  color: var(--muted);
}
.file-info {
  overflow-wrap: anywhere;
}
.file-icon {
  font-size: 28px;
  color: #27748b;
}
.subtle-link {
  border: 0;
  background: transparent;
  text-decoration: underline;
  color: #466976;
  font-size: 13px;
  cursor: pointer;
}
.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.5;
}
.checkbox-line input {
  accent-color: var(--ink);
  margin-top: 4px;
  flex: none;
}
.help-links {
  display: flex;
  gap: 16px;
  font-size: 13px;
  margin-top: 18px;
}
.busy {
  opacity: 0.7;
  pointer-events: none;
}
@media (min-width: 1450px) {
  #content {
    padding-top: 48px;
  }
  .sidebar {
    width: 264px;
  }
  .panel {
    padding: 30px;
  }
  .dropzone {
    min-height: 238px;
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 208px;
    padding: 30px 15px;
  }
  #content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  .form-row .button {
    align-self: end;
  }
  .page-heading {
    align-items: start;
  }
  h1 {
    font-size: 28px;
  }
}
@media (max-width: 720px) {
  .app {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    width: 100%;
    padding: 17px 18px;
  }
  .brand {
    font-size: 24px;
    padding: 0;
  }
  .monogram {
    font-size: 33px;
  }
  .brand-sub {
    font-size: 9px;
    letter-spacing: 3px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    overflow: auto;
  }
  .nav {
    font-size: 12px;
    padding: 10px 8px;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    margin: 0;
    min-width: max-content;
  }
  .nav span {
    font-size: 17px;
    width: 18px;
  }
  .topbar {
    height: 58px;
    padding: 0 18px;
    font-size: 12px;
  }
  #content {
    padding: 26px 18px;
  }
  .panel {
    padding: 20px;
  }
  .page-heading {
    display: block;
    margin-bottom: 23px;
  }
  .page-heading > .button {
    margin-top: 15px;
  }
  h1 {
    font-size: 27px;
  }
  .grid > aside,
  .connection-grid {
    display: block;
  }
  .connection-card {
    margin-bottom: 16px;
  }
  .fields {
    gap: 15px;
  }
  .savebar {
    align-items: start;
    flex-direction: column;
  }
  .savebar .button {
    width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .library-row {
    align-items: start;
  }
  .library-row .actions {
    margin: 0;
  }
  footer {
    padding: 10px 18px 24px;
    font-size: 9px;
    letter-spacing: 1px;
  }
  footer span {
    font-size: 11px;
  }
  #notice .notice {
    margin: 14px 18px 0;
  }
  .detail-heading {
    display: block;
  }
  .detail-heading .badge {
    margin-bottom: 15px;
  }
}
/* Alamdu identity and controls */
:root {
  --ink: #262b2d;
  --gold: #d8ad5b;
  --muted: #6b777d;
}
.sidebar {
  background: #1a1d1f;
}
.brand {
  flex-direction: column;
  gap: 13px;
}
.brand-logo {
  width: 125px;
  height: 116px;
  object-fit: contain;
}
.studio-word {
  font:
    600 11px "DM Sans",
    sans-serif;
  letter-spacing: 5px;
  color: #dbbc80;
}
.workspace-label {
  margin-top: 35px;
}
.nav.active {
  background: #343738;
}
.nav:hover {
  background: #303436;
}
.sidebar-bottom {
  border-color: #444746;
}
.accent-panel {
  background: #292d2e;
}
.share-logo {
  width: 105px;
  height: 100px;
  object-fit: contain;
}
.selected-file {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 17px;
  padding: 15px;
  background: #f2f5f6;
  border-radius: 8px;
}
.selected-file small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}
.auto-options {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
#thumbnail-canvas,
.thumbnail-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 9px;
  margin-top: 20px;
}
#thumbnail-canvas[hidden] {
  display: none;
}
.format-toggle {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #d8dfe2;
  border-radius: 8px;
  background: #f1f4f5;
}
.format-toggle button {
  border: 0;
  background: transparent;
  color: #576b76;
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
.format-toggle button[aria-pressed="true"] {
  background: #29383f;
  color: white;
  box-shadow: 0 1px 3px #0002;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.stat {
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.stat-label {
  color: var(--muted);
  font-size: 14px;
}
.stat-value {
  font:
    700 36px "Manrope",
    sans-serif;
  margin-top: 12px;
}
.stat-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.analytics-date {
  font-size: 13px;
  color: var(--muted);
}
.analytics-controls {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.chart-bars {
  height: 150px;
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 20px 0;
}
.chart-column {
  flex: 1;
  background: #c8a452;
  border-radius: 3px 3px 0 0;
  min-height: 2px;
}
.metric-note {
  font-size: 13px;
  color: #71808a;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .brand {
    flex-direction: row;
    justify-content: start;
    gap: 18px;
  }
  .brand-logo {
    width: 65px;
    height: 59px;
  }
  .sidebar {
    padding-bottom: 10px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-value {
    font-size: 30px;
  }
  .format-toggle button {
    padding: 8px 10px;
  }
  .sidebar nav {
    margin-top: 13px;
  }
  .share-logo {
    width: 85px;
    height: 80px;
  }
}
.field input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 17px;
  padding: 0;
  flex: none;
}
.field .checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
}
.delivery {
  flex-wrap: wrap;
}
.delivery .badge {
  align-self: flex-start;
}
[hidden] {
  display: none !important;
}
.session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.guide-fields {
  display: grid;
  grid-template-columns: 100px minmax(160px, 1fr) 150px auto;
  gap: 14px;
  align-items: end;
  margin: 25px 0;
}
.guide-fields input,
.guide-fields select {
  width: 100%;
}
.pdf-example {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #f5eedb;
  border: 1px solid #d5b570;
  border-radius: 9px;
  padding: 18px;
  margin: 23px 0;
}
.pdf-example > span,
.letter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background: #c9a250;
  color: #15191c;
  font-weight: 700;
}
.pdf-example small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}
.table-scroll {
  overflow-x: auto;
}
.table-scroll table {
  width: 100%;
  border-collapse: collapse;
}
.table-scroll th,
.table-scroll td {
  padding: 15px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.table-scroll th {
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .guide-fields {
    grid-template-columns: 100px minmax(150px, 1fr);
  }
}
@media (max-width: 540px) {
  .guide-fields {
    grid-template-columns: 1fr;
  }
  .session-actions {
    gap: 5px;
  }
}
/* Saved publishing queue */
.queued-file { padding: 14px 0; border-bottom: 1px solid #e4dfd4; }
.queued-file input { width: 100%; margin-top: 6px; padding: 12px; border: 1px solid #dce0de; border-radius: 7px; background: #fff; color: #263537; font: inherit; }
.queued-file label { display: block; font-size: 13px; }
.queued-file .selected-file { display: flex; align-items: center; gap: 12px; }
.queued-file .selected-file > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.schedule-note { color: #8c651f; font-weight: 600; }
.badge.scheduled { background: #f5ebd4; color: #785615; }
.timing-panel select, .timing-panel input { width: 100%; }
.calendar-page .table-wrap { overflow-x:auto; }
.calendar-page table { width:100%; border-collapse:collapse; }
.calendar-page th,.calendar-page td { padding:16px 12px; text-align:start; border-bottom:1px solid var(--border); }
.calendar-page th { color:var(--muted); font-size:13px; }
.calendar-number { display:inline-flex; gap:5px; white-space:nowrap; padding:6px 10px; border:1px solid #c7a05b; border-radius:7px; background:#f2e5c8; color:#554019; font-weight:700; }
.calendar-number.planned { background:#faf7f0; border-color:#ded3bd; }
.calendar-planned { display:block; color:var(--muted); font-size:12px; margin-top:5px; }

/* Private help handoff: never covers the publishing controls. */
.support-launch { position:fixed; right:22px; bottom:20px; z-index:50; box-shadow:0 5px 24px #10343e30; border-radius:28px; }
.support-launch[hidden] { display:none; }
.support-dialog { width:min(520px,calc(100vw - 28px)); max-height:calc(100dvh - 32px); margin:auto; padding:26px; border:1px solid var(--line); border-radius:18px; color:var(--ink); box-shadow:0 18px 70px #102f3d40; overflow:auto; }
.support-dialog::backdrop { background:#102f3d55; }
.support-header { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; }
.support-header h2 { margin:0; }
.support-header .eyebrow { margin:0 0 7px; font-size:10px; }
.support-dialog > p { line-height:1.6; }
.support-dialog > label { display:block; margin:18px 0 8px; font-weight:600; }
.support-dialog textarea { width:100%; padding:13px; border:1px solid var(--line); border-radius:9px; resize:vertical; min-height:120px; max-height:40vh; color:var(--ink); background:#fafcfc; }
.support-dialog .support-context { display:flex; gap:9px; align-items:center; font-size:13px; font-weight:400; }
.support-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:16px; }
.support-actions .button { flex:1; justify-content:center; white-space:nowrap; text-align:center; }
.support-device-note { padding-top:10px; border-top:1px solid var(--line); }
main > footer { padding-bottom:85px; }
@media(max-width:540px){ .support-dialog { padding:20px; } .support-launch { right:14px; bottom:14px; } .support-actions { flex-direction:column; } }

/* Full lecture transcripts */
.transcript-list small { display:block; color:var(--muted); font-size:12px; margin-top:6px; max-width:480px; }
.transcript-editor > label {display:block; font-weight:600; margin:18px 0 10px;}
.transcript-editor textarea,.transcript-original {width:100%; padding:20px; font-family:Arial,sans-serif; font-size:18px; line-height:1.9; border:1px solid var(--line); border-radius:9px; resize:vertical; tab-size:4; color:var(--ink); background:white;}
.transcript-editor audio {width:100%; margin:12px 0;}
.transcript-editor .actions {flex-wrap:wrap; margin-top:18px;}
#transcript-save-status {font-size:13px; color:var(--muted);}
#transcript-connection-form .checkbox-line {margin:16px 0;}
#transcript-connection-form input[type=password],#transcript-connection-form textarea,#transcript-connection-form select {width:100%;}

.transcript-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 22px}.transcript-tabs .button{min-width:160px;text-align:center}.transcript-tabs [aria-current="page"]{box-shadow:0 2px 8px #10343e20}
/* Keep every navigation button reachable on shorter desktop screens. */
@media (min-width:721px){.sidebar{height:100dvh;overflow-y:auto;overscroll-behavior:contain}.sidebar>*{flex-shrink:0}.sidebar-bottom{margin-top:24px}}
