@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');

html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  flex: none;
  font-family: 'Lato', sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #f7f8fa;
}

* {
  box-sizing: border-box;
}

.mySvg {
  display: block;
  height: 100%;
  width: 100%;
}

#container {
  height: 70vh;
  flex: 0 0 70vh;
  min-height: 0;
  position: relative;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border-radius: 0 0 18px 18px;
  overflow: hidden;
}

#tip {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-top: 20%;
}

.loading-spinner {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.loading-message {
  text-align: center;
}

.app-control-button {
  position: absolute;
  top: 10px;
  z-index: 1001;
  font-size: 18px;
  padding: 6px 16px;
}

#resetZoomBtn {
  right: 30px;
}

#zoomInBtn {
  right: 270px;
}

#zoomOutBtn {
  right: 320px;
}

#panModeBtn {
  right: 160px;
}

#showSynopsisBtn {
  left: 30px;
}

#guideBtn {
  left: 120px;
}

#authorModeBtn {
  left: 220px;
}

#aiStoryInsightBtn {
  left: 400px;
}

.hidden-file-input {
  display: none;
}

#storySynopsisModal {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 32, 40, 0.32);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.story-synopsis-dialog {
  background: #fff;
  border-radius: 16px;
  max-width: 600px;
  width: 30vw;
  min-width: 320px;
  min-height: 30vh;
  max-height: 60vh;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  padding: 32px 28px 24px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.story-synopsis-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  z-index: 1;
}

.story-synopsis-title {
  margin-top: 0;
  margin-bottom: 18px;
  text-align: center;
  color: #2d3a4b;
}

.story-synopsis-content {
  font-size: 18px;
  color: #2d3a4b;
  line-height: 1.6;
  text-align: left;
}

.filter-panel-title {
  margin-bottom: 18px;
  color: #2d3a4b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.event-filters-combined {
  width: 100%;
  max-width: 1600px;
  text-align: center;
  margin-bottom: 8px;
}

.filter-section-label {
  font-size: 16px;
  font-weight: 600;
  color: #2d3a4b;
  background: #f0f4f8;
  border-radius: 8px;
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 15px;
}

#videoEventTypeFilters,
#eventTypeFilters {
  width: 100%;
  max-width: 1600px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 8px;
}

#videoEventTypeFilters {
  margin-bottom: 30px;
}

#filterPanel label {
  background: #f0f4f8;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 0 8px 8px 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: background 0.2s;
}
#filterPanel label:hover {
  background: #e3eaf2;
}
#filterPanel input[type='checkbox'] {
  margin-right: 8px;
  accent-color: #3b82f6;
}
#filterPanel button {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 16px;
  margin: 0 8px 8px 0;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background 0.2s;
}
#filterPanel button:hover {
  background: #2563eb;
}
.event-filter-actions {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.event-filter-actions button {
  margin: 0 !important;
  white-space: nowrap;
}
@media (max-width: 900px) {
  #filterPanel {
    padding: 18px 2vw 8px 2vw !important;
  }
  #eventTypeFilters {
    max-width: 100%;
  }
}
#filterPanel {
  position: fixed !important;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  min-width: 0;
  min-height: 0;
  height: 30vh;
  background: #fff;
  box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.08);
  border-radius: 18px 18px 0 0;
  margin-top: 0;
  padding: 32px 4vw 16px 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 2000;
}
body {
  padding-bottom: 0;
}
#authoringPanel,
#authoringPanel div,
#aiInsightPanel div,
#guidePanel,
#guidePanel div {
  width: auto;
  height: auto;
  overflow-x: visible;
}
#authoringPanel {
  position: fixed;
  top: 58px;
  right: 24px;
  width: 360px;
  max-height: calc(68vh - 72px);
  overflow-y: auto;
  z-index: 2600;
  display: none;
  background: #ffffff;
  border: 1px solid #d7dee8;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  color: #1f2937;
}
#aiInsightPanel {
  position: absolute;
  top: 58px;
  left: 24px;
  width: 380px;
  max-height: calc(100% - 84px);
  overflow-y: auto;
  z-index: 2600;
  display: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d7dee8;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
  color: #1f2937;
  backdrop-filter: blur(6px);
}
#guidePanel {
  position: fixed;
  top: 58px;
  left: 24px;
  width: 430px;
  max-height: calc(70vh - 84px);
  overflow-y: auto;
  z-index: 2750;
  display: none;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #d7dee8;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  border-radius: 8px;
  padding: 16px;
  color: #1f2937;
}
.guide-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.guide-panel-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 22px;
}
.guide-panel-header span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}
#guideCloseBtn {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 20px;
  line-height: 22px;
  cursor: pointer;
}
#guideCloseBtn:hover {
  background: #f1f5f9;
  color: #111827;
}
.guide-tab-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.guide-tab-row button,
.guide-action-grid button,
.guide-secondary-action {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 9px;
}
.guide-tab-row button.is-active,
.guide-action-grid button:hover,
.guide-secondary-action:hover {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}
.guide-section {
  display: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}
.guide-section.is-active {
  display: block;
}
.guide-section h4 {
  margin: 0 0 8px 0;
  color: #1f2937;
  font-size: 17px;
}
.guide-section p,
.guide-section li {
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.guide-section code {
  background: #f1f5f9;
  border-radius: 4px;
  color: #0f172a;
  font-size: 12px;
  padding: 1px 4px;
}
.guide-section ul,
.guide-section ol {
  margin: 8px 0 0 18px;
  padding: 0;
}
.guide-section li + li {
  margin-top: 5px;
}
.guide-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}
.guide-secondary-action {
  width: 100%;
  margin-top: 10px;
}
.guide-checklist {
  border-top: 1px solid #e2e8f0;
  margin-top: 12px;
  padding-top: 10px;
}
.guide-checklist strong {
  display: block;
  color: #1f2937;
  font-size: 13px;
  margin-bottom: 8px;
}
.guide-checklist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
  margin-top: 6px;
}
.guide-checklist-row::before {
  content: '';
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
  background: #ffffff;
}
.guide-checklist-row.is-complete {
  color: #0f766e;
  font-weight: 700;
}
.guide-checklist-row.is-complete::before {
  background: #0f766e;
  border-color: #0f766e;
  box-shadow: inset 0 0 0 3px #ffffff;
}
.guide-note {
  border-left: 3px solid #0f766e;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 10px;
  padding: 8px 10px;
}
.guide-legend-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.guide-legend-item {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #edf2f7;
  border-radius: 7px;
  padding: 8px;
}
.guide-legend-item strong {
  display: block;
  color: #111827;
  font-size: 13px;
  margin-bottom: 2px;
}
.guide-legend-item p {
  margin: 0;
  font-size: 12px;
}
.guide-event-legend {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.guide-event-legend strong {
  display: block;
  color: #1f2937;
  font-size: 13px;
  margin-bottom: 7px;
}
.guide-event-legend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.guide-event-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  background: #f0f4f8;
  color: #1f2937;
  font-size: 12px;
  padding: 6px 9px;
}
.guide-event-chip img,
.guide-event-chip svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.guide-event-chip .guide-event-fallback-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid #0f766e;
  border-radius: 999px;
  background: #ffffff;
}
#coachMarkOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3300;
  pointer-events: none;
}
#coachMarkOverlay.is-active {
  display: block;
}
.coach-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.18);
}
#coachTargetFrame {
  position: absolute;
  border: 2px solid #0f766e;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.16);
  transition: left 0.16s ease, top 0.16s ease, width 0.16s ease,
    height 0.16s ease;
}
#coachCard {
  position: absolute;
  width: min(320px, calc(100vw - 32px));
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
  color: #1f2937;
  padding: 14px;
}
.coach-step-count {
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}
#coachCard h4 {
  margin: 0 0 6px 0;
  color: #111827;
  font-size: 18px;
}
#coachCard p {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.coach-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.coach-actions button {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 9px;
}
.coach-actions button:hover:not(:disabled) {
  border-color: #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
}
.coach-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
#coachNextBtn {
  background: #0f766e;
  border-color: #0f766e;
  color: #ffffff;
}
#coachNextBtn:hover:not(:disabled) {
  background: #115e59;
  border-color: #115e59;
  color: #ffffff;
}
.guide-storyline-swatch {
  flex: 0 0 auto;
  display: grid;
  gap: 3px;
  width: 46px;
}
.guide-storyline-swatch span {
  display: block;
  height: 3px;
  border-radius: 999px;
}
.guide-storyline-swatch .cyan {
  background: #40c4d4;
}
.guide-storyline-swatch .red {
  background: #ff4048;
}
.guide-storyline-swatch .yellow {
  background: #ffd86a;
}
.guide-storyline-swatch .purple {
  background: #b7a7e8;
}
.guide-band-swatch {
  flex: 0 0 auto;
  display: grid;
  gap: 4px;
  width: 54px;
}
.guide-band-label {
  display: block;
  height: 12px;
  border: 2px solid #0f766e;
  border-radius: 4px;
  background: #ffffff;
}
.guide-band-rail {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.55);
}
.guide-band-rail span {
  width: 7px;
  height: 7px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #0f766e;
}
.guide-icon-swatch,
.guide-dot-swatch,
.guide-video-swatch,
.guide-filter-swatch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f8fafc;
  border: 2px solid #0f766e;
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
}
.guide-dot-swatch {
  width: 16px;
  height: 16px;
  margin: 6px;
  background: #0f766e;
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #0f766e;
}
.guide-video-swatch {
  border-color: #3b82f6;
  color: #3b82f6;
}
.guide-filter-swatch {
  border-color: #3b82f6;
  background: #eff6ff;
  color: #3b82f6;
}
.authoring-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.ai-window-titlebar {
  cursor: move;
  user-select: none;
}
.ai-window-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.ai-window-refresh {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 8px;
}
.ai-window-refresh:hover {
  background: #f8fafc;
}
.ai-window-refresh:disabled {
  cursor: wait;
  opacity: 0.6;
}
.authoring-panel-header h3,
#authoringPanel h4 {
  margin: 0;
  color: #1f2937;
}
#selectedEventCount {
  font-size: 13px;
  font-weight: 700;
  color: #0f766e;
  white-space: nowrap;
}
#aiInsightCount {
  font-size: 13px;
  font-weight: 700;
  color: #6d28d9;
  white-space: nowrap;
}
.ai-window-close {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  color: #475569;
  font-size: 20px;
  line-height: 22px;
  cursor: pointer;
}
.ai-window-close:hover {
  background: #f1f5f9;
  color: #111827;
}
.authoring-status,
.authoring-empty {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}
.authoring-status {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
}
.authoring-layer-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}
.authoring-layer-row label {
  flex: 1;
  min-width: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}
.authoring-layer-row select {
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px;
  background: #ffffff;
  color: #1f2937;
  font: inherit;
}
.authoring-layer-row button {
  flex: 0 0 auto;
  border: 1px solid #99f6e4;
  border-radius: 6px;
  background: #f0fdfa;
  color: #0f766e;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
}
.authoring-layer-row button:hover {
  background: #ccfbf1;
}
.authoring-list {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 8px;
  margin-bottom: 10px;
  background: #ffffff;
}
.authoring-list.compact {
  max-height: 110px;
}
.authoring-list.insight-list {
  max-height: 42vh;
}
.authoring-event-row,
.authoring-saved-row,
.ai-insight-row {
  padding: 8px 0;
  border-bottom: 1px solid #edf2f7;
}
.authoring-saved-row {
  cursor: pointer;
  border-radius: 6px;
  padding: 8px;
  margin: 0 -4px;
}
.authoring-saved-row:hover {
  background: #f8fafc;
}
.ai-insight-row {
  border-radius: 6px;
  padding: 10px 8px;
  margin: 0 -4px 8px -4px;
  background: #ffffff;
}
.ai-insight-row.is-active {
  background: #f5f3ff;
  outline: 1px solid #c4b5fd;
}
.ai-insight-row-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
}
.ai-insight-edit-field {
  display: block;
  flex: 1;
  min-width: 0;
  margin-top: 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}
.ai-insight-row-header .ai-insight-edit-field {
  margin-top: 0;
}
.ai-insight-edit-field input,
.ai-insight-edit-field textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 4px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 7px;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  background: #ffffff;
  resize: vertical;
}
.ai-insight-edit-field input[type='text'] {
  font-size: 14px;
  font-weight: 700;
}
.ai-insight-edit-field.compact {
  max-width: 140px;
}
.ai-insight-edit-field input[type='color'] {
  height: 30px;
  padding: 2px;
}
.ai-insight-meta {
  color: #64748b;
  font-size: 12px;
  margin-top: 3px;
}
.ai-insight-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.ai-insight-actions button {
  flex: 1;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  border-radius: 6px;
  padding: 5px 7px;
  font-size: 12px;
  cursor: pointer;
}
.ai-insight-actions button[data-action='accept'] {
  border-color: #99f6e4;
  color: #0f766e;
}
.ai-insight-actions button[data-action='reject'] {
  border-color: #fecaca;
  color: #b91c1c;
}
.authoring-saved-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.authoring-saved-row-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 6px;
}
.authoring-event-row:last-child,
.authoring-saved-row:last-child {
  border-bottom: none;
}
.authoring-event-row strong,
.authoring-saved-row strong {
  display: inline-block;
  margin-right: 8px;
  color: #111827;
}
.authoring-event-row span {
  color: #64748b;
  font-size: 12px;
}
.authoring-event-row p,
.authoring-saved-row p {
  margin: 4px 0 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.35;
}
.edit-snippet-btn,
.remove-snippet-btn,
.save-snippet-edit-btn,
.cancel-snippet-edit-btn {
  flex: 0 0 auto;
  background: #f8fafc;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  cursor: pointer;
}
.edit-snippet-btn {
  color: #0f766e;
  border: 1px solid #99f6e4;
}
.edit-snippet-btn:hover {
  background: #ccfbf1;
}
.remove-snippet-btn,
.cancel-snippet-edit-btn {
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.remove-snippet-btn:hover {
  background: #fee2e2;
}
.cancel-snippet-edit-btn:hover {
  background: #fee2e2;
}
.save-snippet-edit-btn {
  color: #ffffff;
  background: #0f766e;
  border: 1px solid #0f766e;
}
.save-snippet-edit-btn:hover {
  background: #0d5f59;
}
.authoring-saved-row.is-editing {
  cursor: default;
  background: #f8fafc;
  border: 1px solid #dbeafe;
}
.saved-snippet-edit-field {
  margin-bottom: 8px;
}
.saved-snippet-edit-field textarea {
  min-height: 96px;
}
.saved-snippet-edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.authoring-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}
.authoring-color-row input[type='color'] {
  width: 34px;
  height: 26px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
}
.authoring-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.authoring-actions button {
  flex: 1;
  min-width: 0;
  background: #0f766e;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 14px;
  cursor: pointer;
}
.authoring-actions button:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}
.authoring-field {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.authoring-field input,
.authoring-field textarea {
  width: 100%;
  box-sizing: border-box;
  margin-top: 5px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px;
  font: inherit;
  color: #1f2937;
  resize: vertical;
}
.authoring-field input[type='color'] {
  height: 34px;
  padding: 3px;
}
