@import "tailwindcss";

:root {
  --background: #eff5fb;
  --foreground: #0f172a;
  --surface: #ffffff;
  --muted: #5f7187;
  --primary: #2563eb;
  --primary-strong: #163ea5;
  --primary-soft: #dbeafe;
  --line: rgba(148, 163, 184, 0.24);
}

@keyframes file-drawer-viewer-open {
  from {
    opacity: 0;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes file-drawer-viewer-next {
  from {
    opacity: 0;
    transform: translate3d(36px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes file-drawer-viewer-prev {
  from {
    opacity: 0;
    transform: translate3d(-36px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.file-drawer-viewer-open {
  animation: file-drawer-viewer-open 180ms ease-out both;
}

.file-drawer-viewer-next {
  animation: file-drawer-viewer-next 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.file-drawer-viewer-prev {
  animation: file-drawer-viewer-prev 240ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 1024px) {
  .om-partner-hero-grid {
    grid-template-columns: minmax(0, 1fr) 430px;
  }
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --font-sans: var(--font-pretendard);
  --font-mono: var(--font-pretendard);
}

@layer base {
  * {
    box-sizing: border-box;
  }

  html {
    background:
      radial-gradient(circle at top left, rgba(96, 165, 250, 0.25), transparent 32%),
      radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 26%),
      linear-gradient(180deg, #f7fbff 0%, #eef4fa 48%, #f7fbff 100%);
  }

  body {
    background: transparent;
    color: var(--foreground);
    font-family: var(--font-pretendard), sans-serif;
  }

  button {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
  }

  a {
    text-decoration: none;
  }

  button,
  a,
  [role="button"] {
    -webkit-tap-highlight-color: transparent;
  }

  button:focus,
  button:focus-visible,
  a:focus,
  a:focus-visible,
  [role="button"]:focus,
  [role="button"]:focus-visible {
    outline: none;
  }

  button::-moz-focus-inner {
    border: 0;
    padding: 0;
  }

  ::selection {
    background: rgba(37, 99, 235, 0.18);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes review-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes toast-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes auth-route-enter {
  from {
    transform: translate3d(10px, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes auth-route-exit {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-8px, 0, 0);
  }
}

.auth-route-frame {
  will-change: transform;
}

.auth-route-frame.auth-route-entering {
  animation: auth-route-enter 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.auth-route-leaving .auth-route-frame {
  pointer-events: none;
  animation: auth-route-exit 180ms cubic-bezier(0.4, 0, 1, 1) both;
}

@keyframes domain-tour-dash {
  to {
    stroke-dashoffset: -34;
  }
}

@keyframes domain-tour-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 2px rgba(142, 182, 255, 0.9), 0 0 0 8px rgba(47, 109, 246, 0.12);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.95), 0 0 0 13px rgba(47, 109, 246, 0.2);
  }
}

@keyframes domain-tour-bubble-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.om-domain-tour-line {
  fill: none;
  stroke: rgba(142, 182, 255, 0.95);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 7 7;
  animation: domain-tour-dash 1.25s linear infinite;
}

.om-domain-tour-spotlight {
  border: 2px dashed rgba(255, 255, 255, 0.96);
  animation: domain-tour-pulse 1.8s ease-in-out infinite;
}

.om-domain-tour-bubble {
  animation: domain-tour-bubble-in 220ms ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .om-domain-tour-line,
  .om-domain-tour-spotlight,
  .om-domain-tour-bubble,
  .auth-route-frame.auth-route-entering,
  .auth-route-leaving .auth-route-frame {
    animation: none;
  }
}

@layer utilities {
  .text-balance {
    text-wrap: balance;
  }

  .om-page-title {
    font-size: 28px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: -0.05em;
  }

  @media (min-width: 640px) {
    .om-page-title {
      font-size: 32px;
    }
  }

  .om-btn-primary {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.75rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #2f6df6, #245de3);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 18px 40px rgba(47, 109, 246, 0.22);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      filter 0.2s ease,
      opacity 0.2s ease;
  }

  .om-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 24px 50px rgba(47, 109, 246, 0.28);
    filter: saturate(1.03);
  }

  .om-btn-primary:disabled,
  .om-btn-primary[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    filter: none;
    box-shadow: 0 18px 40px rgba(47, 109, 246, 0.16);
  }

  .om-btn-secondary {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.65rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid #d7e3fb;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    color: #2f6df6;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(25, 38, 72, 0.06);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease,
      background 0.2s ease,
      opacity 0.2s ease;
  }

  .om-btn-secondary:hover {
    transform: translateY(-1px);
    border-color: #bfd4ff;
    background: linear-gradient(180deg, #ffffff 0%, #f0f6ff 100%);
    box-shadow: 0 16px 34px rgba(25, 38, 72, 0.08);
    color: #245de3;
  }

  .om-btn-secondary:disabled,
  .om-btn-secondary[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 10px 24px rgba(25, 38, 72, 0.04);
  }

  .om-btn-danger {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 0.65rem;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    border-radius: 14px;
    border: 1px solid #f0cfd7;
    background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
    color: #b24c64;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(25, 38, 72, 0.06);
    transition:
      transform 0.2s ease,
      box-shadow 0.2s ease,
      border-color 0.2s ease,
      color 0.2s ease,
      background 0.2s ease,
      opacity 0.2s ease;
  }

  .om-btn-danger:hover {
    transform: translateY(-1px);
    border-color: #ebb8c6;
    background: linear-gradient(180deg, #ffffff 0%, #fff1f4 100%);
    box-shadow: 0 16px 34px rgba(178, 76, 100, 0.12);
    color: #a13d57;
  }

  .om-btn-danger:disabled,
  .om-btn-danger[aria-disabled="true"] {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: 0 10px 24px rgba(25, 38, 72, 0.04);
  }

  .om-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    white-space: nowrap;
    border-radius: 10px;
    border: 1px solid #e2e9f4;
    background: #fff;
    color: #536783;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
  }

  .om-badge-sm {
    min-height: 24px;
    padding: 0 10px;
    font-size: 11px;
  }

  .om-badge-md {
    min-height: 28px;
    padding: 0 11px;
    font-size: 12px;
  }

  .om-badge-lg {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .om-badge-info {
    border-color: #dce5f7;
    background: #f8fbff;
    color: #4568b0;
  }

  .om-badge-muted {
    border-color: #e4eaf4;
    background: #fff;
    color: #5a6f95;
  }

  .om-badge-soft {
    border-color: #eef2f8;
    background: #f6f8fc;
    color: #60728f;
  }

  .om-badge-glass {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
  }

  .om-badge-success {
    border-color: #dceadf;
    background: #f7fbf8;
    color: #2d8153;
  }

  .om-badge-warning {
    border-color: #f0dfbc;
    background: #fff9ef;
    color: #9b690d;
  }

  .om-badge-danger {
    border-color: #efd8de;
    background: #fff6f8;
    color: #b04c63;
  }

  .panel-surface {
    @apply rounded-[32px] border border-white/70 bg-white/85 shadow-[0_20px_70px_rgba(15,23,42,0.08)] backdrop-blur-xl;
  }

  .panel-muted {
    @apply rounded-[28px] border bg-slate-50/90 shadow-[0_16px_50px_rgba(37,99,235,0.08)];
  }

  .om-setup-page {
    background: #ffffff;
    padding: 0 !important;
    width: 100%;
    min-width: 0;
  }

  .om-setup-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
  }

  .om-settings-layout {
    display: block;
    min-height: 100%;
    height: 100%;
    min-width: 0;
    width: 100%;
    background: #f6f8fc;
    overflow: hidden;
  }

  .om-settings-sidebar {
    border-bottom: 1px solid #e7edf8;
    background: #ffffff;
    padding: 24px 20px;
  }

  .om-settings-sidebar-nav {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .om-settings-sidebar-link {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    border-radius: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1;
    transition:
      color 0.18s ease,
      opacity 0.18s ease;
  }

  @keyframes om-floating-notice-in {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes om-floating-notice-out {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-12px);
    }
  }

  .om-floating-notice {
    animation:
      om-floating-notice-in 280ms ease-out both,
      om-floating-notice-out 320ms ease-in 2.7s both;
  }

  .om-settings-sidebar-link-icon {
    display: inline-flex;
    height: 20px;
    width: 20px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    opacity: 0.88;
  }

  .om-settings-sidebar-link-idle {
    color: #5b6e8d;
  }

  .om-settings-sidebar-link-idle:hover {
    color: #2f6df6;
  }

  .om-settings-sidebar-link-active {
    color: #2f6df6;
    font-weight: 600;
  }

  .om-settings-main {
    min-width: 0;
    min-height: 0;
    height: 100%;
    background: white;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .om-settings-main-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    min-width: 0;
    min-height: 100%;
  }

  .om-setup-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid #e4ebf8;
    padding: 28px 20px 24px;
    width: 100%;
    min-width: 0;
  }

  .om-setup-header-copy {
    min-width: 0;
  }

  .om-setup-header-description {
    margin-top: 12px;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.85;
    color: #6a7b98;
    text-wrap: balance;
  }

  .om-setup-content {
    padding: 24px 20px 36px;
    width: 100%;
    min-width: 0;
  }

  .om-settings-main-inner-compact .om-setup-header {
    gap: 8px;
    border-bottom-color: #edf1f6;
    padding: 16px 12px 12px;
  }

  .om-settings-main-inner-compact .om-page-title {
    font-size: 16px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #111a33;
  }

  .om-settings-main-inner-compact .om-setup-header-description {
    margin-top: 6px;
    max-width: none;
    font-size: 13px;
    line-height: 1.55;
    color: #7c879b;
    text-wrap: initial;
  }

  .om-settings-main-inner-compact .om-setup-content {
    padding: 0;
  }

  .om-settings-main-inner-compact .om-setup-panel {
    border-width: 0 0 1px;
    border-color: #edf1f6;
    border-radius: 0;
    box-shadow: none;
  }

  .om-settings-main-inner-compact .om-setup-subpanel {
    border-top: 0;
  }

  .om-settings-main-inner-compact .om-setup-subpanel-box:first-child {
    border-top: 0;
  }

  .om-setup-panel {
    border: 1px solid #e3ebf8;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(20, 34, 64, 0.05);
  }

  .om-setup-subpanel {
    border: 0;
    border-top: 1px solid #edf2fb;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .om-setup-subpanel-box {
    border: 0;
    border-top: 1px solid #edf2fb;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  @media (min-width: 640px) {
    .om-settings-sidebar {
      padding: 28px 24px;
    }

    .om-setup-header {
      padding: 32px 24px 24px;
    }

    .om-setup-content {
      padding: 24px 24px 40px;
    }

    .om-settings-main-inner-compact .om-setup-header {
      padding: 16px 16px 12px;
    }
  }

  @media (min-width: 1280px) {
    .om-settings-layout {
      display: grid;
      grid-template-columns: 280px minmax(0, 1fr);
      align-items: stretch;
    }

    .om-settings-sidebar {
      min-height: 100%;
      border-right: 1px solid #e7edf8;
      border-bottom: 0;
      padding: 24px 20px 12px;
    }

    .om-settings-layout-compact-nav {
      grid-template-columns: 64px minmax(0, 1fr);
    }

    .om-settings-layout-compact-nav .om-settings-sidebar {
      position: relative;
      z-index: 20;
      box-sizing: border-box;
      width: 64px;
      min-width: 64px;
      overflow: hidden;
      padding: 12px 8px;
      transition: width 180ms cubic-bezier(0.22, 1, 0.36, 1), padding 180ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .om-settings-layout-compact-nav .om-settings-sidebar:hover,
    .om-settings-layout-compact-nav .om-settings-sidebar:focus-within {
      width: 280px;
      padding: 12px 20px;
    }

    .om-settings-layout-compact-nav .om-settings-sidebar-nav {
      gap: 4px;
    }

    .om-settings-layout-compact-nav .om-settings-sidebar-link {
      justify-content: center;
      padding-inline: 8px;
    }

    .om-settings-layout-compact-nav .om-settings-sidebar-link-label {
      display: none;
    }

    .om-settings-layout-compact-nav .om-settings-sidebar:hover .om-settings-sidebar-link,
    .om-settings-layout-compact-nav .om-settings-sidebar:focus-within .om-settings-sidebar-link {
      justify-content: flex-start;
      padding-inline: 12px;
    }

    .om-settings-layout-compact-nav .om-settings-sidebar:hover .om-settings-sidebar-link-label,
    .om-settings-layout-compact-nav .om-settings-sidebar:focus-within .om-settings-sidebar-link-label {
      display: inline;
    }

    .om-setup-header {
      padding: 36px 32px 28px;
    }

    .om-setup-content {
      padding: 28px 32px 44px;
    }

    .om-settings-main-inner-compact .om-setup-header {
      padding: 24px 20px 12px;
    }
  }

  .fade-up {
    animation: fade-up 0.7s ease-out both;
  }

  .review-marquee-mask {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  }

  .review-marquee-track {
    animation: review-marquee 86s linear infinite;
    will-change: transform;
  }

  .review-marquee-mask:hover .review-marquee-track {
    animation-play-state: paused;
  }

  .toast-rise {
    animation: toast-rise 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

.mail-workspace .om-btn-primary,
.mail-workspace .om-btn-secondary,
.mail-workspace .om-btn-danger {
  height: 40px;
  min-height: 40px;
  font-size: 13px;
}

.mail-workspace .om-auto-send-submit.om-btn-primary,
.mail-workspace .om-auto-send-submit.om-btn-primary:hover,
.mail-workspace .om-auto-send-submit.om-btn-primary:disabled {
  box-shadow: none;
}

.official-compose-editor .ql-toolbar.ql-snow {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  font-family: var(--font-pretendard), sans-serif;
  position: relative;
  z-index: 20;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #fcfdff;
  background-clip: padding-box;
}

.official-compose-editor .ql-toolbar .ql-formats {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 0;
  padding-right: 8px;
  border-right: 1px solid #edf2fb;
}

.official-compose-editor .ql-toolbar .ql-formats:last-child {
  padding-right: 0;
  border-right: 0;
}

.official-compose-editor .ql-toolbar.ql-snow button {
  display: inline-flex;
  height: 32px;
  width: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.official-compose-editor .ql-toolbar.ql-snow button svg {
  height: 18px;
  width: 18px;
}

.official-compose-editor .ql-toolbar.ql-snow .compose-toolbar-html-button {
  width: auto;
  padding: 0 10px;
  color: #526784;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.official-compose-editor .ql-toolbar.ql-snow .compose-toolbar-html-button:hover,
.official-compose-editor .ql-toolbar.ql-snow .compose-toolbar-html-button:focus {
  color: #2f6df6;
}

.official-compose-editor .ql-picker {
  color: #5d6e8a;
}

.official-compose-editor .ql-toolbar .ql-picker {
  display: inline-flex;
  float: none;
  height: 32px;
  align-items: center;
  min-width: 0;
  vertical-align: middle;
}

.official-compose-editor .ql-toolbar .ql-picker.ql-font {
  min-width: 136px;
}

.official-compose-editor .ql-toolbar .ql-picker.ql-size {
  min-width: 88px;
}

.official-compose-editor .ql-snow .ql-picker-label {
  box-sizing: border-box;
  display: inline-flex;
  height: 32px;
  min-width: 0;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #e2eaf8;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 0 30px 0 12px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.official-compose-editor .ql-snow .ql-picker-label svg {
  right: 10px;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label {
  min-width: 136px;
}

.official-compose-editor .ql-snow .ql-picker.ql-size .ql-picker-label {
  min-width: 88px;
}

.official-compose-editor .ql-snow .ql-picker.ql-expanded {
  position: relative;
  z-index: 24;
}

.official-compose-editor .ql-snow .ql-picker-options {
  margin-top: 8px;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid #e2eaf7;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(20, 34, 64, 0.14);
}

.official-compose-editor .ql-snow .ql-picker.ql-expanded .ql-picker-options {
  z-index: 25;
}

.official-compose-editor .ql-snow .ql-picker-item {
  display: flex;
  min-height: 36px;
  align-items: center;
  border-radius: 10px;
  padding: 0 10px;
  color: #344767;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item::before,
.official-compose-editor .ql-snow .ql-picker.ql-size .ql-picker-label::before,
.official-compose-editor .ql-snow .ql-picker.ql-size .ql-picker-item::before {
  content: attr(data-label);
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Pretendard"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Pretendard"]::before {
  font-family: var(--font-pretendard), sans-serif;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Arial"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Arial"]::before {
  font-family: Arial, sans-serif;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Malgun Gothic"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Malgun Gothic"]::before {
  content: "맑은 고딕";
  font-family: "Malgun Gothic", sans-serif;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Nanum Gothic"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Nanum Gothic"]::before {
  content: "나눔고딕";
  font-family: "Nanum Gothic", sans-serif;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="Georgia"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="Georgia"]::before {
  content: "Georgia";
  font-family: Georgia, serif;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
  content: "Monospace";
  font-family: monospace;
}

.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-label::before,
.official-compose-editor .ql-snow .ql-picker.ql-font .ql-picker-item::before {
  content: attr(data-label);
}

.official-compose-editor .compose-toolbar-size-control {
  display: inline-flex;
  height: 32px;
  min-width: 78px;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  border: 1px solid #e2eaf8;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 0 10px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.official-compose-editor .compose-toolbar-size-control:focus-within {
  border-color: #c8dafd;
  background: #f7faff;
  box-shadow: 0 10px 24px rgba(25, 38, 72, 0.06);
}

.official-compose-editor .compose-toolbar-size-input {
  width: 28px;
  border: 0;
  background: transparent;
  color: #344767;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  outline: none;
}

.official-compose-editor .compose-toolbar-size-suffix {
  color: #7b8ca7;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.official-compose-editor .compose-toolbar-swatch-button {
  position: relative;
  display: inline-flex;
  height: 32px;
  width: auto;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  border: 1px solid #e2eaf8;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  padding: 0 10px;
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease;
}

.official-compose-editor .compose-toolbar-swatch-button:hover,
.official-compose-editor .compose-toolbar-swatch-button:focus-within {
  border-color: #c8dafd;
  background: #f7faff;
  box-shadow: 0 10px 24px rgba(25, 38, 72, 0.06);
}

.official-compose-editor .compose-toolbar-swatch-input {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  opacity: 0;
}

.official-compose-editor .compose-toolbar-swatch-label {
  color: #344767;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.official-compose-editor .compose-toolbar-swatch-chip {
  height: 12px;
  width: 12px;
  border-radius: 999px;
  border: 1px solid rgba(79, 98, 128, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.official-compose-editor .compose-toolbar-swatch-chip-wide {
  width: 18px;
  border-radius: 999px;
}

.official-compose-editor .ql-snow .ql-picker.ql-expanded .ql-picker-label,
.official-compose-editor .ql-snow .ql-picker-label:hover,
.official-compose-editor .ql-snow .ql-picker-label.ql-active {
  border-color: #c8dafd;
  background: #f7faff;
  box-shadow: 0 10px 24px rgba(25, 38, 72, 0.06);
}

.official-compose-editor .ql-snow .ql-picker-item:hover,
.official-compose-editor .ql-snow .ql-picker-item.ql-selected {
  background: #eef4ff;
  color: #2f6df6;
}

.official-compose-editor .ql-toolbar.ql-snow button:hover,
.official-compose-editor .ql-toolbar.ql-snow button:focus,
.official-compose-editor .ql-toolbar.ql-snow button.ql-active {
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(47, 109, 246, 0.08);
}

.official-compose-editor .ql-container.ql-snow {
  border: 0;
  font-family: var(--font-pretendard), sans-serif;
  overflow: visible;
  position: relative;
  z-index: 1;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #fcfdff;
}

.official-compose-editor .ql-editor {
  min-height: 360px;
  padding: 20px;
  color: #223250;
  font-size: 15px;
  line-height: 2;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #fcfdff;
}

.official-compose-html-editor {
  caret-color: #2f6df6;
}

.official-compose-html-editor:focus {
  box-shadow: 0 0 0 2px rgba(47, 109, 246, 0.12);
}

.official-compose-html-editor table {
  max-width: 100%;
}

.official-compose-html-editor img {
  max-width: 100%;
}

.official-compose-editor .ql-editor.ql-blank::before {
  left: 20px;
  right: 20px;
  color: #a0adc2;
  font-style: normal;
}

.mail-signature-editor p,
.mail-signature-editor div,
.mail-signature-editor blockquote,
.mail-signature-editor ul,
.mail-signature-editor ol {
  margin: 0 0 4px;
}

.mail-signature-editor ul,
.mail-signature-editor ol {
  padding-left: 22px;
}

.mail-signature-editor a {
  color: #2f6df6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.official-compose-editor .ql-snow .ql-stroke {
  stroke: #5d6e8a;
}

.official-compose-editor .ql-snow .ql-fill {
  fill: #5d6e8a;
}

.official-compose-editor .ql-snow button:hover,
.official-compose-editor .ql-snow button:focus,
.official-compose-editor .ql-snow button.ql-active,
.official-compose-editor .ql-snow .ql-picker-label:hover,
.official-compose-editor .ql-snow .ql-picker-label.ql-active {
  color: #2f6df6;
}

.official-compose-editor .ql-snow button:hover .ql-stroke,
.official-compose-editor .ql-snow button:focus .ql-stroke,
.official-compose-editor .ql-snow button.ql-active .ql-stroke,
.official-compose-editor .ql-snow .ql-picker-label:hover .ql-stroke,
.official-compose-editor .ql-snow .ql-picker-label.ql-active .ql-stroke {
  stroke: #2f6df6;
}

.official-compose-editor .ql-snow button:hover .ql-fill,
.official-compose-editor .ql-snow button:focus .ql-fill,
.official-compose-editor .ql-snow button.ql-active .ql-fill,
.official-compose-editor .ql-snow .ql-picker-label:hover .ql-fill,
.official-compose-editor .ql-snow .ql-picker-label.ql-active .ql-fill {
  fill: #2f6df6;
}

.official-compose-editor .ql-tooltip {
  display: flex;
  width: max-content;
  min-width: 280px;
  max-width: calc(100% - 24px);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  z-index: 30;
  border: 1px solid #dfe8f8;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px rgba(18, 32, 65, 0.14);
}

.official-compose-editor .ql-tooltip.ql-hidden {
  display: none;
}

.official-compose-editor .ql-snow .ql-tooltip::before {
  content: "링크:";
  margin-right: 0;
  color: #7f8da3;
  font-size: 12px;
}

.official-compose-editor .ql-snow .ql-tooltip[data-mode="link"]::before {
  content: "링크 입력:";
}

.official-compose-editor .ql-snow .ql-tooltip[data-mode="video"]::before {
  content: "동영상 주소:";
}

.official-compose-editor .ql-snow .ql-tooltip[data-mode="formula"]::before {
  content: "수식 입력:";
}

.official-compose-editor .ql-tooltip .ql-preview {
  min-width: 0;
  max-width: 220px;
  overflow: hidden;
  color: #2f6df6;
  font-size: 13px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-compose-editor .ql-tooltip input[type="text"] {
  height: 38px;
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  border: 1px solid #e2eaf8;
  background: #fbfcff;
  padding: 0 12px;
  color: #223250;
  font-size: 13px;
  outline: none;
}

.official-compose-editor .ql-tooltip input[type="text"]:focus {
  border-color: #cbdcff;
  background: #ffffff;
}

.official-compose-editor .ql-tooltip .ql-action,
.official-compose-editor .ql-tooltip .ql-remove {
  display: inline-flex;
  height: 32px;
  min-width: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #f7faff;
  color: #5d6e8a;
  padding: 0 10px;
  text-decoration: none;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.official-compose-editor .ql-tooltip .ql-action:hover,
.official-compose-editor .ql-tooltip .ql-remove:hover {
  background: #eef4ff;
  color: #2f6df6;
}

.official-compose-editor .ql-snow .ql-tooltip a.ql-action::after {
  content: "수정";
  margin-left: 0;
  padding-right: 0;
  border-right: 0;
}

.official-compose-editor .ql-snow .ql-tooltip a.ql-remove::before {
  content: "삭제";
  margin-left: 0;
}

.official-compose-editor .ql-snow .ql-tooltip.ql-editing a.ql-action::after {
  content: "저장";
}

@media (max-width: 639px) {
  .official-compose-editor .ql-tooltip {
    min-width: 0;
    max-width: calc(100% - 16px);
    gap: 6px;
    padding: 8px;
  }

  .official-compose-editor .ql-tooltip::before {
    display: none;
  }

  .official-compose-editor .ql-tooltip .ql-preview {
    max-width: min(160px, 44vw);
  }
}

.official-blog-editor .ql-container.ql-snow {
  border: 0;
  font-family: var(--font-pretendard), sans-serif;
}

.official-blog-editor .ql-editor {
  width: 100%;
  max-width: 1080px;
  min-height: 520px;
  margin: 0 auto;
  padding: 30px 32px 120px 80px;
  color: #344767;
  font-size: 16px;
  line-height: 1.9;
  outline: none;
}

.official-blog-editor[data-full-width="true"] .ql-editor {
  max-width: none;
}

.official-blog-editor .ql-editor.ql-blank::before {
  left: 80px;
  right: 32px;
  color: #9aa8ba;
  font-style: normal;
}

.official-blog-editor .ql-editor h1,
.official-blog-editor .ql-editor h2,
.official-blog-editor .ql-editor h3,
.official-blog-editor .ql-editor h4 {
  margin: 2.25rem 0 0.8rem;
  color: #16233c;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.28;
}

.official-blog-editor .ql-editor h1 {
  font-size: 30px;
}

.official-blog-editor .ql-editor h2 {
  font-size: 24px;
}

.official-blog-editor .ql-editor h3 {
  font-size: 20px;
}

.official-blog-editor .ql-editor h4 {
  font-size: 17px;
}

.official-blog-editor .ql-editor p,
.official-blog-editor .ql-editor ol,
.official-blog-editor .ql-editor ul {
  margin: 0 0 0.95rem;
}

.official-blog-editor .ql-editor p,
.official-blog-editor .ql-editor h1,
.official-blog-editor .ql-editor h2,
.official-blog-editor .ql-editor h3,
.official-blog-editor .ql-editor h4,
.official-blog-editor .ql-editor blockquote,
.official-blog-editor .ql-editor li,
.official-blog-editor .ql-editor .ql-code-block,
.official-blog-editor .ql-editor pre.ql-syntax {
  border-radius: 8px;
  transition: background-color 0.14s ease, box-shadow 0.14s ease;
}

.official-blog-editor .ql-editor > p:hover,
.official-blog-editor .ql-editor > h1:hover,
.official-blog-editor .ql-editor > h2:hover,
.official-blog-editor .ql-editor > h3:hover,
.official-blog-editor .ql-editor > h4:hover,
.official-blog-editor .ql-editor > blockquote:hover,
.official-blog-editor .ql-editor > ol:hover,
.official-blog-editor .ql-editor > ul:hover {
  background: rgba(45, 50, 57, 0.026);
}

.official-blog-editor .ql-editor .blog-editor-drop-before,
.official-blog-editor .ql-editor .blog-editor-drop-after,
.official-blog-editor .ql-editor .blog-editor-drop-left,
.official-blog-editor .ql-editor .blog-editor-drop-right {
  --blog-drop-space: 14px;
  position: relative;
  background: transparent;
  box-shadow: none;
  transition:
    padding 0.14s ease,
    opacity 0.14s ease;
}

.official-blog-editor .ql-editor .blog-editor-drop-before {
  padding-top: calc(var(--blog-drop-padding-top, 0px) + var(--blog-drop-space)) !important;
}

.official-blog-editor .ql-editor .blog-editor-drop-after {
  padding-bottom: calc(var(--blog-drop-padding-bottom, 0px) + var(--blog-drop-space)) !important;
}

.official-blog-editor .ql-editor .blog-editor-drop-left {
  padding-left: calc(var(--blog-drop-padding-left, 0px) + var(--blog-drop-space)) !important;
}

.official-blog-editor .ql-editor .blog-editor-drop-right {
  padding-right: calc(var(--blog-drop-padding-right, 0px) + var(--blog-drop-space)) !important;
}

.official-blog-editor .blog-editor-drop-indicator {
  position: absolute;
  z-index: 12;
  border-radius: 999px;
  background: #9da9ba;
  pointer-events: none;
  transition:
    left 0.12s ease,
    top 0.12s ease,
    width 0.12s ease,
    height 0.12s ease,
    opacity 0.12s ease;
}

.official-blog-editor .blog-editor-selection-rect {
  position: fixed;
  z-index: 70;
  border: 1px solid rgba(35, 131, 226, 0.5);
  border-radius: 3px;
  background: rgba(35, 131, 226, 0.08);
  pointer-events: none;
}

.official-blog-editor .ql-editor [data-block-selected="true"] {
  border-radius: 3px;
  background: rgba(35, 131, 226, 0.13) !important;
  box-shadow: inset 0 0 0 1px rgba(35, 131, 226, 0.04);
}

.official-blog-editor .ql-editor .blog-rich-block[data-block-selected="true"],
.official-blog-editor .ql-editor .blog-image-layout[data-block-selected="true"],
.official-blog-editor .ql-editor table[data-block-selected="true"] {
  outline: 3px solid rgba(35, 131, 226, 0.13);
  outline-offset: 1px;
}

.official-blog-editor .ql-editor .blog-editor-dragging-block {
  opacity: 0.46;
  transform: scale(0.992);
}

.official-blog-editor .ql-editor ol,
.official-blog-editor .ql-editor ul {
  padding-left: 1.55rem;
}

.official-blog-editor .ql-editor li {
  padding-left: 0.15rem;
}

.official-blog-editor .ql-editor li[data-list="checked"],
.official-blog-editor .ql-editor li[data-list="unchecked"] {
  list-style: none;
}

.official-blog-editor .ql-editor li[data-list="checked"]::before,
.official-blog-editor .ql-editor li[data-list="unchecked"]::before {
  display: inline-flex;
  height: 16px;
  width: 16px;
  margin-right: 8px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e3;
  border-radius: 4px;
  color: white;
  content: "";
  vertical-align: -2px;
}

.official-blog-editor .ql-editor li[data-list="checked"]::before {
  border-color: #2f6df6;
  background: #2f6df6;
  content: "✓";
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block {
  position: relative;
  display: block;
  margin: 1.25rem 0;
  border: 1px solid #e2e7ee;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
  color: #344767;
  box-shadow: 0 1px 2px rgba(28, 40, 58, 0.03);
}

.official-blog-editor .ql-editor .blog-rich-block__label {
  display: block;
  margin-bottom: 9px;
  color: #8a94a4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.official-blog-editor .ql-editor .blog-rich-block__header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__title {
  width: 100%;
  min-width: 80px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #26364f;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  outline: none;
}

.official-blog-editor .ql-editor .blog-rich-block__body {
  display: block;
  width: 100%;
  min-height: 28px;
  margin-top: 8px;
  resize: vertical;
  border: 0;
  background: transparent;
  padding: 0;
  white-space: pre-wrap;
  color: #5b6b82;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  outline: none;
}

.official-blog-editor .ql-editor .blog-rich-block__url {
  display: block;
  width: 100%;
  min-height: 24px;
  margin-top: 10px;
  border: 0;
  border-top: 1px solid #edf1f6;
  background: transparent;
  padding-top: 9px;
  color: #2f6df6;
  font-family: inherit;
  font-size: 12px;
  outline: none;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle {
  margin: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle summary {
  cursor: pointer;
  color: #26364f;
  font-size: 15px;
  font-weight: 650;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle .blog-rich-block__body {
  margin-left: 22px;
  padding-top: 2px;
}

.official-blog-editor .ql-editor .blog-rich-block__callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  border-radius: 8px;
  background: #f6f7f9;
  padding: 12px 14px;
}

.official-blog-editor .ql-editor .blog-rich-block__callout .blog-rich-block__body {
  margin-top: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__emoji {
  width: 30px;
  min-width: 22px;
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  outline: none;
}

.official-blog-editor .ql-editor .blog-rich-block__body--table,
.official-blog-editor .ql-editor .blog-rich-block__body--database-table,
.official-blog-editor .ql-editor .blog-rich-block__body--database-chart,
.official-blog-editor .ql-editor .blog-rich-block__body--math,
.official-blog-editor .ql-editor .blog-rich-block__body--mermaid {
  border-radius: 8px;
  background: #f6f7f9;
  padding: 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__toc {
  display: block;
  color: #37352f;
  font-size: 14px;
}

.official-blog-editor .ql-editor .blog-rich-block__toc > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__toc ol {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.official-blog-editor .ql-editor .blog-rich-block__toc li {
  min-height: 28px;
  margin: 0;
  padding: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__toc li[data-level="2"] {
  padding-left: 18px;
}

.official-blog-editor .ql-editor .blog-rich-block__toc li[data-level="3"] {
  padding-left: 36px;
}

.official-blog-editor .ql-editor .blog-rich-block__toc li[data-level="4"] {
  padding-left: 54px;
}

.official-blog-editor .ql-editor .blog-rich-block__toc button {
  display: block;
  width: 100%;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 3px 5px;
  color: #53524f;
  font-size: 14px;
  text-align: left;
}

.official-blog-editor .ql-editor .blog-rich-block__toc button:hover {
  background: rgba(55, 53, 47, 0.06);
}

.official-blog-editor .ql-editor .blog-rich-block__toc-empty {
  color: #9b9a97;
  font-size: 13px;
}

.official-blog-editor .ql-editor .blog-rich-block--audio {
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-placeholder,
.official-blog-editor .ql-editor .blog-rich-block__audio-player {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #f5f6f8;
  color: #526071;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-placeholder {
  display: flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  transition: background-color 140ms ease, color 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-placeholder:hover {
  background: #eef0f3;
  color: #2f3f57;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-icon {
  display: inline-flex;
  height: 25px;
  width: 25px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #778397;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-icon svg {
  display: block;
  height: 25px;
  width: 25px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-player {
  position: relative;
  padding: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-title {
  display: flex;
  min-width: 0;
  align-items: center;
  padding-right: 56px;
  color: #34445c;
  font-size: 13px;
  font-weight: 650;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-player audio {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 10px;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-replace {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 5px 7px;
  color: #7a879a;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
}

.official-blog-editor .ql-editor .blog-rich-block__audio-replace:hover {
  background: #e9ecf1;
  color: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block {
  margin: 0.85rem 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.official-blog-editor .ql-editor .blog-rich-block input,
.official-blog-editor .ql-editor .blog-rich-block textarea,
.official-blog-editor .ql-editor .blog-rich-block button {
  font-family: inherit;
}

.official-blog-editor .ql-editor .blog-rich-block input,
.official-blog-editor .ql-editor .blog-rich-block textarea {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  color: #26364f;
  outline: none;
}

.official-blog-editor .ql-editor .blog-rich-block input::placeholder,
.official-blog-editor .ql-editor .blog-rich-block textarea::placeholder {
  color: #a7adb7;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle {
  display: block;
  margin: 0;
  padding: 6px;
  border-radius: 6px;
  transition: background-color 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle:hover {
  background: rgba(55, 53, 47, 0.025);
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-summary {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  min-height: 28px;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-summary > button {
  display: inline-flex;
  height: 24px;
  width: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  color: #6f7782;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-summary > button:hover {
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-summary svg {
  height: 12px;
  width: 12px;
  opacity: 0.58;
  transition: transform 200ms ease-out;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle[data-open="true"] .blog-rich-block__toggle-summary svg {
  transform: rotate(90deg);
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-title {
  min-width: 0;
  min-height: 28px;
  padding: 2px !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-title--h1 {
  font-size: 28px;
  font-weight: 700;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-title--h2 {
  font-size: 22px;
  font-weight: 700;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-title--h3 {
  font-size: 18px;
  font-weight: 650;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle-body {
  min-height: 34px;
  margin-left: 32px;
  resize: vertical;
  padding: 3px 2px !important;
  color: #4f5f75;
  font-size: 14px;
  line-height: 1.65;
  animation: blog-widget-reveal 160ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.official-blog-editor .ql-editor .blog-rich-block__toggle[data-open="false"] .blog-rich-block__toggle-body {
  display: none;
}

.official-blog-editor .ql-editor .blog-rich-block__callout {
  position: relative;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  border-radius: 10px;
  background: rgba(55, 53, 47, 0.06);
  padding: 12px;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__callout:hover {
  background: rgba(55, 53, 47, 0.075);
}

.official-blog-editor .ql-editor .blog-rich-block__emoji {
  display: inline-flex;
  height: 24px;
  width: 24px;
  min-width: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  font-size: 20px;
  text-align: center;
  transition: background-color 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__emoji:hover {
  background: rgba(55, 53, 47, 0.1);
}

.official-blog-editor .ql-editor .blog-rich-block__callout-body {
  min-height: 26px;
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
  outline: none;
  padding: 2px !important;
  color: #37352f;
  font-size: 14px;
  line-height: 1.65;
}

.official-blog-editor .ql-editor .blog-rich-block__inline-editor:empty::before {
  color: #a1a09c;
  content: attr(data-placeholder);
  pointer-events: none;
}

.official-blog-editor .ql-editor .blog-rich-block__emoji-palette {
  position: absolute;
  left: 10px;
  top: 46px;
  z-index: 16;
  display: grid;
  grid-template-columns: repeat(6, 32px);
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  padding: 6px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  animation: blog-editor-menu-in 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.official-blog-editor .ql-editor .blog-rich-block__emoji-palette button {
  display: inline-flex;
  height: 32px;
  width: 32px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  font-size: 18px;
}

.official-blog-editor .ql-editor .blog-rich-block__emoji-palette button:hover,
.official-blog-editor .ql-editor .blog-rich-block__emoji-palette button[data-active="true"] {
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__table-shell {
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: clip !important;
  padding: 8px 16px 16px 8px;
  scrollbar-width: thin;
}

.official-blog-editor .ql-editor .blog-rich-block__table-row-handle {
  position: absolute;
  left: -7px;
  top: 50%;
  height: 18px;
  width: 6px;
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  background: rgba(55, 53, 47, 0.24);
  padding: 0;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__table-column-handles {
  display: grid;
  min-width: 480px;
  height: 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button {
  position: relative;
  cursor: pointer;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button::after {
  position: absolute;
  left: 50%;
  top: 1px;
  height: 5px;
  width: 18px;
  border-radius: 3px;
  background: rgba(55, 53, 47, 0.24);
  content: "";
  transform: translateX(-50%);
}

.official-blog-editor .ql-editor .blog-rich-block__table-grid {
  display: grid;
  min-width: 480px;
  border-left: 1px solid rgba(55, 53, 47, 0.16);
  border-top: 1px solid rgba(55, 53, 47, 0.16);
}

.official-blog-editor .ql-editor .blog-rich-block__table-cell {
  position: relative;
  display: flex;
  min-height: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(55, 53, 47, 0.16);
  border-right: 1px solid rgba(55, 53, 47, 0.16);
  background: #fff;
}

.official-blog-editor .ql-editor .blog-rich-block__table-cell--header {
  background: rgba(55, 53, 47, 0.035);
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__table-cell input {
  min-width: 84px;
  height: 100%;
  padding: 6px 8px;
  color: #37352f;
  font-size: 14px;
  line-height: 1.45;
}

.official-blog-editor .ql-editor .blog-rich-block__table-resize {
  position: absolute;
  bottom: 0;
  right: -2px;
  top: 0;
  z-index: 2;
  width: 5px;
  cursor: col-resize;
  border: 0;
  background: transparent;
  padding: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__table-resize:hover {
  background: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block__table-add-column,
.official-blog-editor .ql-editor .blog-rich-block__table-add-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  cursor: pointer;
  border: 0;
  border-radius: 3px;
  background: rgba(55, 53, 47, 0.06);
  color: #787774;
  font-size: 14px;
  opacity: 0;
  transition: background-color 150ms ease, opacity 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__table-add-column svg,
.official-blog-editor .ql-editor .blog-rich-block__table-add-row svg {
  height: 16px;
  width: 16px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__table-add-column {
  bottom: 16px;
  right: 0;
  top: 8px;
  width: 16px;
}

.official-blog-editor .ql-editor .blog-rich-block__table-add-row {
  bottom: 0;
  left: 8px;
  right: 16px;
  height: 16px;
}

.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button[data-hovered="true"],
.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button[data-menu-open="true"],
.official-blog-editor .ql-editor .blog-rich-block__table-row-handle[data-hovered="true"],
.official-blog-editor .ql-editor .blog-rich-block__table-row-handle[data-menu-open="true"],
.official-blog-editor .ql-editor .blog-rich-block__table-shell:hover .blog-rich-block__table-add-column,
.official-blog-editor .ql-editor .blog-rich-block__table-shell:hover .blog-rich-block__table-add-row {
  opacity: 1;
}

.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button:hover::after,
.official-blog-editor .ql-editor .blog-rich-block__table-column-handles button[data-menu-open="true"]::after,
.official-blog-editor .ql-editor .blog-rich-block__table-row-handle:hover,
.official-blog-editor .ql-editor .blog-rich-block__table-row-handle[data-menu-open="true"] {
  background: rgba(55, 53, 47, 0.42);
}

.official-blog-editor .ql-editor .blog-rich-block__table-add-column:hover,
.official-blog-editor .ql-editor .blog-rich-block__table-add-row:hover {
  background: rgba(55, 53, 47, 0.12);
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu {
  position: fixed;
  z-index: 10020;
  display: flex;
  min-width: 180px;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(55, 53, 47, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu > strong {
  padding: 6px 8px 5px;
  color: #787774;
  font-size: 11px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu > button {
  width: 100%;
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 7px 9px;
  color: #37352f;
  font-size: 13px;
  text-align: left;
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu > button:hover {
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu > button[data-danger="true"] {
  color: #eb5757;
}

.official-blog-editor .ql-editor .blog-rich-block__table-menu > button:disabled {
  cursor: not-allowed;
  color: #b3b1ad;
}

.official-blog-editor .ql-editor .blog-rich-block__media-placeholder,
.official-blog-editor .ql-editor .blog-rich-block__audio-player,
.official-blog-editor .ql-editor .blog-rich-block__file-row {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #f5f6f8;
  color: #526071;
}

.official-blog-editor .ql-editor .blog-rich-block__media-placeholder,
.official-blog-editor .ql-editor .blog-rich-block__file-row {
  display: flex;
  min-height: 48px;
  cursor: pointer;
  align-items: center;
  padding: 12px;
  font-size: 14px;
  text-align: left;
  transition: background-color 140ms ease, color 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__media-placeholder:hover,
.official-blog-editor .ql-editor .blog-rich-block__file-row:hover {
  background: #eef0f3;
  color: #2f3f57;
}

.official-blog-editor .ql-editor .blog-rich-block__media-icon,
.official-blog-editor .ql-editor .blog-rich-block__document-icon {
  display: inline-flex;
  height: 25px;
  width: 25px;
  flex: 0 0 25px;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: #778397;
}

.official-blog-editor .ql-editor .blog-rich-block__media-icon svg,
.official-blog-editor .ql-editor .blog-rich-block__document-icon svg {
  display: block;
  height: 25px;
  width: 25px;
}

.official-blog-editor .ql-editor .blog-rich-block__file-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.official-blog-editor .ql-editor .blog-rich-block__file-copy strong {
  overflow: hidden;
  color: #37455a;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.official-blog-editor .ql-editor .blog-rich-block__file-copy small {
  margin-top: 2px;
  color: #8b95a3;
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block__video-player {
  position: relative;
  width: var(--blog-video-width, 100%);
  margin: 0 auto;
  overflow: visible;
  transition: width 140ms ease, margin 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__video-player[data-align="left"] {
  margin-left: 0;
  margin-right: auto;
}

.official-blog-editor .ql-editor .blog-rich-block__video-player[data-align="right"] {
  margin-left: auto;
  margin-right: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__video-player video {
  display: block;
  width: 100%;
  max-height: 560px;
  border-radius: 10px;
  background: #16191f;
  box-shadow: 0 0 0 1px rgba(55, 53, 47, 0.09);
}

.official-blog-editor .ql-editor .blog-rich-block__video-player figcaption {
  padding: 7px 2px 0;
}

.official-blog-editor .ql-editor .blog-rich-block__video-player figcaption input {
  width: 100%;
  height: 28px;
  border: 0;
  background: transparent;
  color: #7b8491;
  font-size: 12px;
  line-height: 28px;
  outline: none;
  text-align: center;
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 8;
  display: flex;
  max-width: min(256px, calc(100vw - 32px));
  align-items: center;
  gap: 0;
  overflow-x: auto;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  opacity: 0;
  padding: 2px;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 130ms ease, transform 130ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button {
  display: inline-flex;
  height: 24px;
  width: 24px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  color: #586474;
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button:nth-child(4),
.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button:nth-child(7) {
  margin-left: 3px;
  box-shadow: -3px 0 0 -2px rgba(55, 53, 47, 0.14);
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button:hover,
.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button[data-active="true"] {
  background: #f0f1f2;
  color: #222c3a;
}

.official-blog-editor .ql-editor .blog-rich-block__video-toolbar button:last-child:hover {
  color: #d14343;
}

.official-blog-editor .ql-editor .blog-rich-block__video-resize {
  position: absolute;
  top: 0;
  z-index: 7;
  display: flex;
  height: 100%;
  width: 15px;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  border: 0;
  background: transparent;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transition: opacity 130ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__video-resize::after {
  width: 6px;
  height: 48px;
  max-height: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(74, 85, 101, 0.64);
  box-shadow: 0 1px 4px rgba(20, 30, 48, 0.18);
  content: "";
}

.official-blog-editor .ql-editor .blog-rich-block__video-resize--left {
  left: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__video-resize--right {
  right: 0;
}

.official-blog-editor .ql-editor .blog-rich-block--video:hover .blog-rich-block__video-toolbar,
.official-blog-editor .ql-editor .blog-rich-block--video[data-rich-media-selected="true"] .blog-rich-block__video-toolbar,
.official-blog-editor .ql-editor .blog-rich-block--video.blog-rich-block--resizing .blog-rich-block__video-toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.official-blog-editor .ql-editor .blog-rich-block--video:hover .blog-rich-block__video-resize,
.official-blog-editor .ql-editor .blog-rich-block--video[data-rich-media-selected="true"] .blog-rich-block__video-resize,
.official-blog-editor .ql-editor .blog-rich-block--video.blog-rich-block--resizing .blog-rich-block__video-resize {
  opacity: 1;
  pointer-events: auto;
}

.official-blog-editor .ql-editor .blog-rich-block__database-header {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 8px 4px 0;
}

.official-blog-editor .ql-editor .blog-rich-block__database-title {
  min-width: 0;
  color: #37352f;
  font-size: 24px;
  font-weight: 600;
  line-height: 31px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view {
  display: inline-flex;
  height: 28px;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  padding: 0 7px;
  color: #5f5e5a;
  font-size: 12px;
  font-weight: 500;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view:hover {
  background: rgba(55, 53, 47, 0.06);
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-icon {
  display: inline-flex;
  height: 16px;
  width: 16px;
  align-items: center;
  justify-content: center;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-icon svg {
  height: 16px;
  width: 16px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__database-tools {
  display: flex;
  align-items: center;
  gap: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__database-tools > button {
  display: inline-flex;
  height: 28px;
  width: 28px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0;
  color: #6f6e69;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__database-tools > button svg {
  height: 16px;
  width: 16px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__database-tools > button:nth-child(3) svg {
  height: 20px;
  width: 20px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-tools > button:hover {
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__database-create {
  display: inline-flex;
  height: 28px;
  overflow: hidden;
  margin-left: 6px;
  border-radius: 6px;
  background: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block__database-create button {
  display: inline-flex;
  height: 28px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__database-create button + button {
  width: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__database-create svg {
  height: 13px;
  width: 13px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__database-search {
  height: 34px;
  margin-top: 7px;
  border-radius: 6px !important;
  background: rgba(55, 53, 47, 0.055) !important;
  padding: 6px 9px !important;
  font-size: 12px;
  animation: blog-widget-reveal 150ms ease both;
}

.official-blog-editor .ql-editor .blog-rich-block__database-panel {
  position: fixed;
  z-index: 10050;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 10px;
  width: min(300px, calc(100vw - 16px));
  max-height: min(420px, 70vh);
  overflow-y: auto;
  margin: 0;
  border: 1px solid rgba(55, 53, 47, 0.11);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  color: #787774;
  font-size: 11px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
  animation: blog-widget-reveal 150ms ease both;
}

.official-blog-editor .ql-editor .blog-rich-block__database-panel strong {
  color: #37352f;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-panel input {
  grid-column: 1 / -1;
  height: 30px;
  margin-top: 4px;
  border-radius: 5px !important;
  background: rgba(55, 53, 47, 0.055) !important;
  padding: 5px 8px !important;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-search::-webkit-search-cancel-button {
  cursor: pointer;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-content {
  display: grid;
  gap: 1px;
  margin-top: 6px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-item {
  display: flex;
  min-height: 34px;
  align-items: center;
  border-bottom: 1px solid rgba(55, 53, 47, 0.1);
  padding: 5px 4px;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__database-item:hover {
  background: rgba(55, 53, 47, 0.035);
}

.official-blog-editor .ql-editor .blog-rich-block__database-item .blog-rich-block__document-icon {
  height: 20px;
  width: 20px;
  flex-basis: 20px;
  margin-right: 7px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-item .blog-rich-block__document-icon svg {
  height: 18px;
  width: 18px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-item input,
.official-blog-editor .ql-editor .blog-rich-block__database-inline-editor {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  outline: none;
  font-size: 13px;
  line-height: 1.65;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 260px));
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 15px;
  scrollbar-width: thin;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-column {
  min-width: 220px;
  border-radius: 10px;
  background: rgba(55, 53, 47, 0.035);
  padding: 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-column > header {
  display: flex;
  height: 32px;
  align-items: center;
  gap: 5px;
  padding: 0 4px 6px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-status {
  display: inline-flex;
  height: 20px;
  align-items: center;
  border-radius: 999px;
  background: rgba(120, 119, 116, 0.18);
  padding: 0 8px;
  color: #62615d;
  font-size: 12px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__database-status::before {
  height: 7px;
  width: 7px;
  margin-right: 5px;
  border-radius: 999px;
  background: #989792;
  content: "";
}

.official-blog-editor .ql-editor .blog-rich-block__database-status--1 {
  background: rgba(47, 109, 246, 0.12);
  color: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block__database-status--1::before {
  background: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block__database-status--2 {
  background: rgba(37, 158, 104, 0.13);
  color: #23845d;
}

.official-blog-editor .ql-editor .blog-rich-block__database-status--2::before {
  background: #2aa675;
}

.official-blog-editor .ql-editor .blog-rich-block__database-count {
  color: #989792;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-column > header button {
  display: inline-flex;
  height: 24px;
  width: 24px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 0;
  color: #787774;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-column > header button:hover {
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-column > header svg,
.official-blog-editor .ql-editor .blog-rich-block__database-board-add svg {
  height: 14px;
  width: 14px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-card {
  min-height: 42px;
  margin-bottom: 6px;
  border: 1px solid rgba(55, 53, 47, 0.11);
  border-radius: 8px;
  background: #fff;
  padding: 9px 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
  transition: background-color 130ms ease, box-shadow 130ms ease, transform 130ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-card:hover {
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-card input {
  font-size: 13px;
  font-weight: 500;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-add {
  display: flex;
  width: 100%;
  height: 32px;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 0 7px;
  color: #787774;
  font-size: 12px;
  text-align: left;
}

.official-blog-editor .ql-editor .blog-rich-block__database-board-add:hover {
  background: rgba(55, 53, 47, 0.06);
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-content--board {
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-top: 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-content--board .blog-rich-block__database-item,
.official-blog-editor .ql-editor .blog-rich-block__database-view-content--gallery .blog-rich-block__database-item {
  min-height: 76px;
  align-items: flex-start;
  border: 1px solid rgba(55, 53, 47, 0.13);
  border-radius: 7px;
  padding: 10px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-content--gallery {
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 9px;
  padding-top: 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__database-view-content--timeline .blog-rich-block__database-item {
  margin-left: 92px;
  border-left: 2px solid #c7d9fb;
  padding-left: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__chart {
  display: grid;
  gap: 10px;
  padding: 16px 4px 8px;
}

.official-blog-editor .ql-editor .blog-rich-block__chart > div {
  display: grid;
  grid-template-columns: 120px minmax(120px, 1fr) 30px;
  align-items: center;
  gap: 10px;
  color: #787774;
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block__chart-input {
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__chart-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(55, 53, 47, 0.08);
}

.official-blog-editor .ql-editor .blog-rich-block__chart-track > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f6df6;
  transition: width 220ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block--database-calendar {
  overflow-x: auto;
}

.official-blog-editor .ql-editor .blog-rich-block__calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(74px, 1fr));
  min-width: 560px;
  overflow: hidden;
  border-left: 1px solid rgba(55, 53, 47, 0.12);
  border-top: 1px solid rgba(55, 53, 47, 0.12);
}

.official-blog-editor .ql-editor .blog-rich-block__calendar-day,
.official-blog-editor .ql-editor .blog-rich-block__calendar-cell {
  border-bottom: 1px solid rgba(55, 53, 47, 0.12);
  border-right: 1px solid rgba(55, 53, 47, 0.12);
}

.official-blog-editor .ql-editor .blog-rich-block__calendar-day {
  padding: 5px;
  color: #787774;
  font-size: 10px;
  text-align: center;
}

.official-blog-editor .ql-editor .blog-rich-block__calendar-cell {
  position: relative;
  min-height: 66px;
  padding: 20px 5px 5px;
}

.official-blog-editor .ql-editor .blog-rich-block__calendar-cell::before {
  position: absolute;
  right: 5px;
  top: 3px;
  color: #a1a09c;
  content: attr(data-day);
  font-size: 9px;
}

.official-blog-editor .ql-editor .blog-rich-block__calendar-cell input {
  border-radius: 4px;
  background: #eef3fd;
  padding: 3px 4px;
  font-size: 10px;
}

.official-blog-editor .ql-editor .blog-rich-block__columns {
  display: grid;
  align-items: stretch;
  gap: 0;
}

.official-blog-editor .ql-editor .blog-rich-block__column {
  min-width: 0;
  min-height: 64px;
  border-radius: 4px;
  padding: 8px 6px;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__column:hover {
  background: rgba(55, 53, 47, 0.035);
}

.official-blog-editor .ql-editor .blog-rich-block__column-editor {
  min-height: 48px;
  width: 100%;
  cursor: text;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
  outline: none;
  font-size: 14px;
  line-height: 1.7;
}

.official-blog-editor .ql-editor .blog-rich-block__column-editor:empty::before {
  color: #a1a09c;
  content: attr(data-placeholder);
  pointer-events: none;
}

.official-blog-editor .ql-editor .blog-rich-block__column-resize {
  position: relative;
  display: flex;
  width: 18px;
  cursor: col-resize;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  opacity: 0;
  transition: opacity 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__column-resize::after {
  height: 48px;
  width: 3px;
  max-height: 70%;
  border-radius: 999px;
  background: rgba(55, 53, 47, 0.22);
  content: "";
  transition: background-color 140ms ease, width 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__columns:hover .blog-rich-block__column-resize,
.official-blog-editor .ql-editor .blog-rich-block--resizing .blog-rich-block__column-resize {
  opacity: 1;
}

.official-blog-editor .ql-editor .blog-rich-block__column-resize:hover::after,
.official-blog-editor .ql-editor .blog-rich-block--resizing .blog-rich-block__column-resize::after {
  width: 4px;
  background: #2f6df6;
}

.official-blog-editor .ql-editor .blog-rich-block__tabs {
  overflow: hidden;
  border: 1px solid rgba(55, 53, 47, 0.15);
  border-radius: 16px;
}

.official-blog-editor .ql-editor .blog-rich-block__tabs-list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 12px 10px;
  scrollbar-width: none;
}

.official-blog-editor .ql-editor .blog-rich-block__tabs-list button {
  display: inline-flex;
  height: 32px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0 10px;
  color: #787774;
  font-size: 13px;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__tabs-list button:hover {
  background: rgba(55, 53, 47, 0.05);
}

.official-blog-editor .ql-editor .blog-rich-block__tabs-list button[data-active="true"] {
  background: rgba(55, 53, 47, 0.08);
  color: #37352f;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__tabs-list button svg {
  height: 14px;
  width: 14px;
  fill: currentColor;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel {
  min-height: 72px;
  padding: 0 16px 16px;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-title {
  font-size: 14px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel textarea {
  min-height: 48px;
  margin-top: 7px;
  resize: vertical;
  color: #5c5b57;
  font-size: 14px;
  line-height: 1.6;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel-tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel:hover .blog-rich-block__tab-panel-tools,
.official-blog-editor .ql-editor .blog-rich-block__tab-panel:focus-within .blog-rich-block__tab-panel-tools {
  opacity: 1;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel-tools button {
  height: 26px;
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 0 7px;
  color: #8a8985;
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel-tools button:hover:not(:disabled) {
  background: rgba(55, 53, 47, 0.07);
  color: #d14343;
}

.official-blog-editor .ql-editor .blog-rich-block__tab-panel-tools button:disabled {
  cursor: default;
  opacity: 0.4;
}

.official-blog-editor .ql-editor .blog-rich-block__page {
  display: grid;
  grid-template-columns: 26px minmax(120px, 1fr) minmax(90px, 0.55fr);
  align-items: center;
  min-height: 36px;
  border-radius: 5px;
  padding: 4px 6px;
  transition: background-color 150ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__page:hover {
  background: rgba(55, 53, 47, 0.05);
}

.official-blog-editor .ql-editor .blog-rich-block__page .blog-rich-block__document-icon {
  height: 20px;
  width: 20px;
  flex-basis: 20px;
  margin-right: 5px;
}

.official-blog-editor .ql-editor .blog-rich-block__page-title {
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(55, 53, 47, 0.24);
  text-underline-offset: 3px;
}

.official-blog-editor .ql-editor .blog-rich-block__page-url {
  color: #a09f9b;
  font-size: 11px;
  text-align: right;
}

.official-blog-editor .ql-editor .blog-rich-block__button-shell {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.official-blog-editor .ql-editor .blog-rich-block__button-preview {
  display: inline-flex;
  min-width: 50px;
  height: 32px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(55, 53, 47, 0.16);
  border-radius: 6px;
  background: #fff;
  padding: 0 12px;
  color: #37352f;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

.official-blog-editor .ql-editor .blog-rich-block__button-preview:hover {
  background: rgba(55, 53, 47, 0.04);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.official-blog-editor .ql-editor .blog-rich-block__button-preview[data-invalid="true"]::after {
  margin-left: 6px;
  color: #d14343;
  content: "!";
  font-size: 12px;
  font-weight: 700;
}

.official-blog-editor .ql-editor .blog-rich-block__button-editor {
  position: fixed;
  z-index: 10050;
  display: flex;
  width: min(408px, calc(100vw - 16px));
  max-height: min(520px, 70vh);
  overflow-y: auto;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  border: 1px solid rgba(55, 53, 47, 0.14);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.06);
  animation: blog-widget-reveal 150ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.official-blog-editor .ql-editor .blog-rich-block__button-editor-header {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(55, 53, 47, 0.12);
  padding-bottom: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__button-icon {
  display: inline-flex;
  height: 28px;
  width: 28px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: #fff;
  padding: 0;
  color: #6f6e69;
  font-size: 16px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.12);
}

.official-blog-editor .ql-editor .blog-rich-block__button-title {
  min-height: 28px;
  padding: 4px !important;
  font-size: 14px;
  font-weight: 500;
}

.official-blog-editor .ql-editor .blog-rich-block__button-condition {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 4px 0;
  color: #787774;
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block__button-condition strong {
  display: block;
  border-radius: 6px;
  background: rgba(55, 53, 47, 0.055);
  padding: 9px 10px;
  color: #37352f;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__button-action {
  display: grid;
  gap: 5px;
  color: #787774;
  font-size: 11px;
}

.official-blog-editor .ql-editor .blog-rich-block__button-url {
  height: 34px;
  border-radius: 6px !important;
  background: rgba(55, 53, 47, 0.055) !important;
  padding: 7px 9px !important;
  color: #37352f !important;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-rich-block__button-done {
  height: 32px;
  cursor: pointer;
  border: 0;
  border-radius: 6px;
  background: #2f6df6;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__button-done:hover {
  background: #245ed8;
}

.official-blog-editor .ql-editor .blog-rich-block__breadcrumb {
  min-height: 30px;
  resize: none;
  color: #8a8985 !important;
  font-size: 12px;
  line-height: 30px;
}

.official-blog-editor .ql-editor .blog-rich-block__code-widget {
  position: relative;
  border-radius: 5px;
  background: rgba(55, 53, 47, 0.055);
  padding: 28px 12px 10px;
}

.official-blog-editor .ql-editor .blog-rich-block__code-widget > span {
  position: absolute;
  left: 12px;
  top: 8px;
  color: #8a8985;
  font-size: 10px;
  font-weight: 600;
}

.official-blog-editor .ql-editor .blog-rich-block__code-input {
  min-height: 60px;
  resize: vertical;
  color: #37352f !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important;
  font-size: 12px;
  line-height: 1.6;
}

@keyframes blog-widget-reveal {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .official-blog-editor .ql-editor .blog-rich-block__database-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .official-blog-editor .ql-editor .blog-rich-block__database-tools {
    grid-column: 1 / -1;
    overflow-x: auto;
  }

  .official-blog-editor .ql-editor .blog-rich-block__database-view-content--board,
  .official-blog-editor .ql-editor .blog-rich-block__database-view-content--gallery {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    overflow-x: auto;
  }

  .official-blog-editor .ql-editor .blog-rich-block__columns {
    grid-template-columns: 1fr !important;
  }

  .official-blog-editor .ql-editor .blog-rich-block__column-resize {
    display: none;
  }

  .official-blog-editor .ql-editor .blog-rich-block__database-board {
    grid-template-columns: repeat(3, 220px);
  }

  .official-blog-editor .ql-editor .blog-rich-block__tabs {
    border-radius: 12px;
  }

  .official-blog-editor .ql-editor .blog-rich-block__button-editor {
    width: calc(100vw - 16px);
  }

  .official-blog-editor .ql-editor .blog-rich-block__page {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .official-blog-editor .ql-editor .blog-rich-block__page-url {
    display: none;
  }
}

.official-blog-editor .ql-editor blockquote {
  margin: 1.6rem 0;
  border-left: 0;
  padding: 0.2rem 0;
  color: #526784;
}

.official-blog-editor .ql-editor pre.ql-syntax,
.official-blog-editor .ql-editor .ql-code-block-container {
  margin: 1.6rem 0;
  border-radius: 10px;
  background: #f5f8fd;
  color: #31425e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
}

.official-blog-editor .ql-editor pre.ql-syntax {
  padding: 16px;
  white-space: pre-wrap;
}

.official-blog-editor .ql-editor .ql-code-block {
  padding-left: 16px;
  padding-right: 16px;
}

.official-blog-editor .ql-editor .ql-code-block:first-child {
  padding-top: 16px;
  border-radius: 10px 10px 0 0;
}

.official-blog-editor .ql-editor .ql-code-block:last-child {
  padding-bottom: 16px;
  border-radius: 0 0 10px 10px;
}

.official-blog-editor .ql-editor a {
  color: #2f6df6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.official-blog-editor .ql-editor code {
  border-radius: 5px;
  background: #f0f4fa;
  padding: 0.12em 0.36em;
  color: #30527f;
  font-size: 0.88em;
}

.official-blog-editor .ql-editor img {
  display: block;
  width: auto;
  max-width: min(100%, 760px);
  height: auto;
  margin: 1.6rem 0;
  border: 1px solid #e3eaf4;
  border-radius: 12px;
  background: #f7faff;
  box-shadow: 0 14px 34px rgba(23, 44, 82, 0.1);
}

.official-blog-editor .ql-editor .blog-image-layout {
  display: block;
  position: relative;
  width: 100%;
  margin: 1.6rem 0;
  user-select: none;
}

.official-blog-editor .ql-editor .blog-image-layout__canvas {
  position: relative;
  transition: width 200ms cubic-bezier(0.2, 0, 0, 1);
}

.official-blog-editor .ql-editor .blog-image-layout__canvas--single {
  width: var(--blog-image-layout-width, 100%);
  max-width: 100%;
}

.official-blog-editor .ql-editor .blog-image-layout[data-image-align="left"] .blog-image-layout__canvas--single {
  margin-left: 0;
  margin-right: auto;
}

.official-blog-editor .ql-editor .blog-image-layout[data-image-align="center"] .blog-image-layout__canvas--single {
  margin-right: auto;
  margin-left: auto;
}

.official-blog-editor .ql-editor .blog-image-layout[data-image-align="right"] .blog-image-layout__canvas--single {
  margin-right: 0;
  margin-left: auto;
}

.official-blog-editor .ql-editor .blog-image-layout--resizing .blog-image-layout__canvas {
  will-change: width;
  transition: none;
}

.official-blog-editor .ql-editor .blog-image-layout__canvas--grid {
  display: grid;
  grid-template-columns: minmax(0, var(--blog-image-grid-left, 50fr)) minmax(0, var(--blog-image-grid-right, 50fr));
  gap: 12px;
}

.official-blog-editor .ql-editor .blog-image-layout__figure {
  position: relative;
  margin: 0;
}

.official-blog-editor .ql-editor .blog-image-layout__figure img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  border: 1px solid #e3eaf4;
  border-radius: 10px;
  background: #f7faff;
  box-shadow: 0 14px 34px rgba(23, 44, 82, 0.1);
}

.official-blog-editor .ql-editor .blog-image-layout__figure figcaption {
  padding: 7px 2px 0;
  color: #8492a6;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.official-blog-editor .ql-editor .blog-image-layout__figure figcaption input {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: transparent;
  padding: 2px 4px;
  color: #8492a6;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  outline: none;
}

.official-blog-editor .ql-editor .blog-image-layout__figure figcaption input:focus {
  background: rgba(55, 53, 47, 0.055);
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle {
  position: absolute;
  z-index: 3;
  display: block;
  width: 15px;
  min-width: 15px;
  height: 100%;
  min-height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  transition: opacity 0.16s ease;
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: min(48px, calc(100% - 8px));
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: rgba(55, 53, 47, 0.38);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
  content: "";
  transform: translate(-50%, -50%);
  transition: background-color 0.14s ease;
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle:hover::before,
.official-blog-editor .ql-editor .blog-image-layout__resize-handle:focus-visible::before,
.official-blog-editor .ql-editor .blog-image-layout--resizing .blog-image-layout__resize-handle::before {
  background: rgba(55, 53, 47, 0.62);
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle:focus-visible {
  outline: none;
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle--grid {
  top: 0;
  left: var(--blog-image-divider-position, 50%);
  cursor: col-resize;
  transform: translateX(-50%);
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle--grid::before {
  top: 6px;
  bottom: 6px;
  width: 2px;
  height: auto;
  border: 0;
  border-radius: 0;
  background: rgba(55, 53, 47, 0.28);
  box-shadow: none;
  transform: translateX(-50%);
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle--single.blog-image-layout__resize-handle--left {
  top: 0;
  left: 0;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.official-blog-editor .ql-editor .blog-image-layout__resize-handle--single.blog-image-layout__resize-handle--right {
  top: 0;
  left: 100%;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.official-blog-editor .ql-editor .blog-image-layout:hover .blog-image-layout__resize-handle,
.official-blog-editor .ql-editor .blog-image-layout[data-image-layout-selected="true"] .blog-image-layout__resize-handle,
.official-blog-editor .ql-editor .blog-image-layout--resizing .blog-image-layout__resize-handle {
  opacity: 1;
}

.official-blog-editor .ql-editor .blog-image-layout__toolbar {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  display: flex;
  gap: 2px;
  padding: 2px;
  border: 1px solid rgba(55, 53, 47, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-3px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.official-blog-editor .ql-editor .blog-image-layout:hover .blog-image-layout__toolbar,
.official-blog-editor .ql-editor .blog-image-layout[data-image-layout-selected="true"] .blog-image-layout__toolbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.official-blog-editor .ql-editor .blog-image-layout__toolbar button {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #6f6e69;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.official-blog-editor .ql-editor .blog-image-layout__toolbar button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-blog-editor .ql-editor .blog-image-layout__toolbar button:hover,
.official-blog-editor .ql-editor .blog-image-layout__toolbar button:focus-visible,
.official-blog-editor .ql-editor .blog-image-layout__toolbar button[data-active="true"] {
  background: rgba(55, 53, 47, 0.08);
  color: #37352f;
  outline: none;
}

.official-blog-editor .ql-editor .blog-image-layout__popover {
  position: absolute;
  top: 44px;
  right: 8px;
  z-index: 5;
  width: 180px;
  overflow: hidden;
  border: 1px solid rgba(55, 53, 47, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.99);
  padding: 4px;
  box-shadow: 0 7px 24px rgba(15, 23, 42, 0.15);
  animation: blog-widget-reveal 140ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.official-blog-editor .ql-editor .blog-image-layout__popover button {
  display: flex;
  width: 100%;
  min-height: 32px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  padding: 5px 8px;
  color: #37352f;
  font-size: 12px;
  text-align: left;
}

.official-blog-editor .ql-editor .blog-image-layout__popover button:hover,
.official-blog-editor .ql-editor .blog-image-layout__popover button[data-active="true"] {
  background: rgba(55, 53, 47, 0.075);
}

.official-blog-editor .ql-editor .blog-image-layout__popover button svg {
  width: 15px;
  height: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.official-blog-editor .ql-editor .blog-image-layout__popover button span:first-of-type {
  flex: 1;
}

.official-blog-editor .ql-editor .blog-image-layout__popover-danger {
  color: #d14343 !important;
}

.blog-editor-image-preview {
  position: fixed;
  inset: 0;
  z-index: 10100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 22, 26, 0.82);
  padding: 44px;
  backdrop-filter: blur(5px);
  animation: blog-widget-reveal 140ms ease both;
}

.blog-editor-image-preview img {
  display: block;
  width: auto;
  max-width: min(92vw, 1440px);
  height: auto;
  max-height: 88vh;
  border: 0;
  border-radius: 8px;
  background: transparent;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.blog-editor-image-preview button {
  position: fixed;
  top: 16px;
  right: 18px;
  height: 34px;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  padding: 0 12px;
  color: #fff;
  font-size: 12px;
}

.official-blog-editor .ql-editor .blog-native-table {
  table-layout: fixed;
  width: 100%;
  margin: 1rem 0;
  border: 0;
  border-collapse: collapse;
  color: #37352f;
}

.official-blog-editor .ql-editor .blog-native-table td {
  min-width: 84px;
  height: 36px;
  border: 1px solid #e1e1df;
  background: #fff;
  padding: 7px 9px;
  color: #37352f;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
  vertical-align: top;
  white-space: break-spaces;
  word-break: break-word;
  transition: background-color 120ms ease;
}

.official-blog-editor .ql-editor .blog-native-table td:hover {
  background: #fafafa;
}

.official-blog-editor .ql-editor .blog-native-table td:focus {
  background: #fff;
  outline: 2px solid rgba(35, 131, 226, 0.16);
  outline-offset: -2px;
}

.blog-editor-native-table-add {
  position: absolute;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: #f1f1ef;
  padding: 0;
  color: #787774;
  opacity: 0;
  cursor: pointer;
  transition:
    background-color 120ms ease,
    color 120ms ease,
    opacity 120ms ease;
}

.official-blog-editor:hover .blog-editor-native-table-add,
.blog-editor-native-table-add:focus-visible {
  opacity: 1;
}

.blog-editor-native-table-add:hover,
.blog-editor-native-table-add:focus-visible {
  background: #e7e7e5;
  color: #37352f;
  outline: none;
}

.blog-editor-native-table-add--column {
  width: 16px;
  min-height: 36px;
}

.blog-editor-native-table-add--row {
  height: 16px;
  min-width: 84px;
}

.blog-editor-native-table-add span {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) {
  table-layout: fixed;
  width: 100%;
  margin: 1.75rem 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  color: #344767;
}

.official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td {
  min-width: 0;
  height: auto;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #344767;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  vertical-align: top;
  transition: background-color 0.15s ease;
}

.official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td:first-child {
  width: var(--blog-column-left, 50%);
  padding: 3px 14px 3px 0;
}

.official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td:last-child {
  width: var(--blog-column-right, 50%);
  padding: 3px 0 3px 14px;
}

.official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td:hover {
  background: rgba(45, 50, 57, 0.026);
}

.official-blog-editor .ql-editor table:has(td[data-row*="-heading_"]) td:first-child,
.official-blog-editor .ql-editor table:has(td[data-row*="_heading-"]) td:last-child {
  color: #16233c;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.28;
}

.official-blog-editor .ql-editor table:has(td[data-row*="-quote_"]) td:first-child,
.official-blog-editor .ql-editor table:has(td[data-row*="_quote-"]) td:last-child {
  color: #526784;
  font-style: italic;
}

.official-blog-editor .ql-editor table:has(td[data-row*="-code_"]) td:first-child,
.official-blog-editor .ql-editor table:has(td[data-row*="_code-"]) td:last-child {
  border-radius: 8px;
  background: #f5f8fd;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.blog-editor-column-resize-control {
  position: absolute;
  z-index: 7;
  width: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: col-resize;
}

.blog-editor-column-resize-control::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 50%;
  width: 1px;
  border-radius: 999px;
  background: #d8dde5;
  content: "";
  transform: translateX(-50%);
  transition: width 0.16s ease, background-color 0.16s ease;
}

.blog-editor-column-resize-control:hover::before,
.blog-editor-column-resize-control:focus-visible::before {
  width: 3px;
  background: #2f6df6;
}

.blog-editor-column-resize-control:focus-visible {
  outline: none;
}

.blog-editor-column-unstack {
  position: absolute;
  z-index: 8;
  padding: 5px 7px;
  border: 1px solid #dfe4eb;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.1);
  color: #667085;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.14s ease, color 0.14s ease;
}

.blog-editor-column-unstack:hover,
.blog-editor-column-unstack:focus-visible {
  background: #f1f3f5;
  color: #2f6df6;
  outline: none;
}

.blog-markdown-image-grid {
  display: grid;
  gap: 16px;
}

.blog-markdown-columns {
  display: grid;
  gap: 28px;
}

.official-blog-editor .blog-editor-table-divider {
  color: #afbdd0;
}

.blog-editor-block-controls {
  position: absolute;
  left: 15px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 1px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.blog-editor-block-controls button {
  display: inline-flex;
  height: 26px;
  width: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #7586a2;
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.14s ease;
}

.blog-editor-block-controls button:hover,
.blog-editor-block-controls button:focus-visible {
  background: #eef2f7;
  color: #526784;
  outline: none;
}

.blog-editor-block-controls-visible,
.blog-editor-block-controls:focus-within {
  opacity: 1;
  transform: translateX(0);
}

.blog-editor-grip {
  display: grid;
  grid-template-columns: repeat(2, 2px);
  gap: 2px;
}

.blog-editor-grip i {
  height: 2px;
  width: 2px;
  border-radius: 999px;
  background: currentColor;
}

.blog-editor-inline-menu,
.blog-editor-block-menu,
.blog-editor-block-insert-menu,
.blog-editor-media-menu {
  position: fixed;
  z-index: 80;
  border: 1px solid #dfe8f8;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(18, 32, 65, 0.16);
  backdrop-filter: blur(16px);
  animation: blog-editor-menu-in 0.14s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.blog-editor-media-menu {
  position: fixed;
  z-index: 90;
  width: 302px;
  max-width: calc(100vw - 24px);
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.blog-editor-media-menu__tabs {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  border: 0;
  padding: 0;
}

.blog-editor-media-menu__tabs button {
  position: relative;
  display: inline-flex;
  height: 34px;
  min-width: 0;
  flex: 1;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe7f2;
  border-radius: 10px 10px 0 0;
  background: #edf2f8;
  padding: 0 14px;
  color: #697991;
  font-size: 13px;
  font-weight: 650;
  transition:
    height 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

.blog-editor-media-menu__tabs button[aria-selected="true"] {
  z-index: 1;
  height: 38px;
  margin-bottom: -1px;
  border-color: #d8e3f3;
  border-bottom-color: #fff;
  background: #fff;
  color: #2f6df6;
  box-shadow: 0 -4px 12px rgba(47, 109, 246, 0.07);
}

.blog-editor-media-menu__tabs button:not([aria-selected="true"]):hover {
  background: #e6edf7;
  color: #2f6df6;
}

.blog-editor-media-menu__content {
  border: 1px solid #d8e3f3;
  border-radius: 0 10px 10px 10px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 18px 42px rgba(18, 32, 65, 0.18);
  padding: 20px 12px 16px;
}

.blog-editor-media-menu__upload {
  display: flex;
  min-height: 38px;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #2f82dc;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 140ms ease;
}

.blog-editor-media-menu__upload:hover {
  background: #2675ca;
}

.blog-editor-media-menu__upload:disabled {
  cursor: wait;
  opacity: 0.62;
}

.blog-editor-media-menu__content input {
  display: block;
  height: 38px;
  width: 100%;
  border: 1px solid #d9dfe8;
  border-radius: 7px;
  background: #fff;
  padding: 0 10px;
  color: #34445c;
  font-size: 12px;
  outline: none;
}

.blog-editor-media-menu__content input:focus {
  border-color: #82b3f5;
  box-shadow: 0 0 0 2px rgba(47, 130, 220, 0.12);
}

.blog-editor-media-menu__content p {
  margin: 9px 2px 0;
  color: #8a96a7;
  font-size: 10px;
  line-height: 1.5;
}

@keyframes blog-editor-menu-in {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.blog-editor-inline-menu {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 4px;
}

.blog-editor-block-menu {
  width: 274px;
  padding: 5px;
}

.blog-editor-block-insert-menu {
  width: 324px;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
}

.blog-editor-block-insert-scroll {
  max-height: min(448px, 48vh);
  overflow-y: auto;
  padding: 2px 5px;
  overscroll-behavior: contain;
}

.blog-editor-block-action-menu {
  width: 274px;
  max-width: calc(100vw - 24px);
  padding: 0;
  overflow: hidden;
}

@media (max-width: 639px) {
  .blog-markdown-video {
    width: 100% !important;
  }

  .official-blog-editor .ql-editor {
    min-height: 420px;
    padding: 24px 20px 120px 58px;
    font-size: 15px;
  }

  .official-blog-editor .ql-editor.ql-blank::before {
    left: 58px;
    right: 20px;
  }

  .official-blog-editor .ql-editor h1 {
    font-size: 27px;
  }

  .official-blog-editor .ql-editor h2 {
    font-size: 22px;
  }

  .blog-editor-block-controls {
    left: 8px;
  }

  .official-blog-editor .ql-editor .blog-rich-block__video-player {
    width: 100% !important;
  }

  .official-blog-editor .ql-editor .blog-rich-block__video-toolbar {
    max-width: calc(100vw - 20px);
  }

  .official-blog-editor .ql-editor .blog-image-layout__canvas--grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .official-blog-editor .ql-editor .blog-image-layout__resize-handle--grid {
    display: none;
  }

  .blog-markdown-columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }

  .blog-editor-column-resize-control {
    display: none;
  }

  .official-blog-editor .ql-editor .blog-image-layout__toolbar {
    top: 6px;
    right: 6px;
  }

  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]),
  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) tbody,
  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) tr,
  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td {
    display: block !important;
    width: 100% !important;
  }

  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td:first-child,
  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td:last-child {
    padding: 3px 0;
  }

  .official-blog-editor .ql-editor table:has(td[data-row^="columns-"]) td + td {
    margin-top: 18px;
  }

  .blog-markdown-image-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px;
  }

  .blog-markdown-image-single {
    width: 100% !important;
  }
}
/* Empty or blocked AdSense inventory must not leave a large blank gap in articles. */
.adsense-content-shell[data-adsense-state="timeout"],
.adsense-content-shell[data-adsense-state="unfilled"] {
  display: none;
}
