:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-hover: #eceef2;
  --border: #e1e4e8;
  --text-primary: #1f2328;
  --text-muted: #656d76;
  --accent: #6c5ce7;
  --accent-hover: #5849be;
  --danger: #d9383a;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
}

[data-theme="dark"] {
  --bg-primary: #1e1e1e;
  --bg-secondary: #161616;
  --bg-hover: #2a2a2a;
  --border: #303030;
  --text-primary: #dcddde;
  --text-muted: #8e8e93;
  --accent: #7f6df2;
  --accent-hover: #9384f5;
  --danger: #e05252;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
}

/* =========================================================
   KUNCI LAYAR UTAMA & EFEK BLUR (KODE: 1991)
   ========================================================= */
.app-shell {
  display: flex;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  transition: filter 0.3s ease, transform 0.3s ease;
}

body.locked .app-shell {
  filter: blur(16px) brightness(0.92);
  pointer-events: none;
  user-select: none;
}

.lock-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(240, 242, 245, 0.55);
  backdrop-filter: blur(4px);
  padding: 16px;
}

[data-theme="dark"] .lock-overlay {
  background: rgba(15, 15, 18, 0.45);
}

.lock-overlay.hidden {
  display: none;
}

.lock-card {
  width: 100%;
  max-width: 340px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.lock-icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.lock-card h2 {
  font-size: 19px;
  margin-bottom: 6px;
}

.lock-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

#lock-pin {
  width: 100%;
  padding: 12px;
  font-size: 22px;
  letter-spacing: 8px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  margin-bottom: 8px;
}

#lock-pin:focus {
  border-color: var(--accent);
}

.lock-error {
  min-height: 18px;
  font-size: 12.5px;
  color: var(--danger);
  margin-bottom: 10px;
}

.lock-submit {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.28s ease-in-out;
}

/* =========================================================
   SIDEBAR / MENU SAMPING
   ========================================================= */
.sidebar {
  width: 270px;
  min-width: 270px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  z-index: 20;
}

.sidebar.collapsed {
  display: none;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.sidebar-actions button,
.topbar button,
.modal-header button,
.modal-actions button {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 6px;
  padding: 4px 9px;
  cursor: pointer;
}

.sidebar-actions button:hover,
.topbar button:hover,
.modal-actions button:hover {
  background: var(--bg-hover);
}

.search-box {
  padding: 10px 12px 6px;
}

.search-box input {
  width: 100%;
  padding: 7px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  outline: none;
}

.sidebar-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px 10px;
  border-bottom: 1px solid var(--border);
}

.tool-btn {
  flex: 1 1 calc(50% - 4px);
  font-size: 12px;
  padding: 6px 8px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool-btn:hover {
  border-color: var(--accent);
}

.tool-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  font-weight: 600;
}

/* Panel Daftar Tag Buka-Tutup di Bagian Atas */
.tag-drawer {
  padding: 10px 12px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  max-height: 180px;
  overflow-y: auto;
}

.tag-drawer.hidden {
  display: none;
}

.tag-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.tag-clear-btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
}

.tag-clear-btn:hover {
  text-decoration: underline;
}

.sidebar-section {
  flex: 1;
  padding: 10px 12px;
  overflow-y: auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.note-list {
  list-style: none;
}

.note-item {
  padding: 7px 9px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-item:hover {
  background: var(--bg-hover);
}

.note-item.active {
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
}

.note-item.pdf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.note-item-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

[data-theme="dark"] .pdf-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag-pill {
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
}

.tag-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.sidebar-footer {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================================
   AREA UTAMA, TOPBAR & TOOLBAR EDITOR
   ========================================================= */
.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 50px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: var(--bg-primary);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

#note-title-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 17px;
  font-weight: 600;
  outline: none;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mode-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.mode-switch button {
  border: none;
  border-radius: 0;
  font-size: 12px;
  padding: 5px 9px;
}

.mode-switch button.active {
  background: var(--accent);
  color: #ffffff;
}

.primary-btn {
  background: var(--accent) !important;
  color: #ffffff !important;
  border-color: var(--accent) !important;
  font-weight: 600;
}

.danger-btn:hover {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}

.workspace {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.editor-pane {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-right: 1px solid var(--border);
}

.preview-pane {
  flex: 1;
  height: 100%;
  overflow-y: auto;
  min-width: 0;
  padding: 24px 32px;
}

.workspace.mode-edit .preview-pane {
  display: none;
}

.workspace.mode-edit .editor-pane {
  border-right: none;
}

.workspace.mode-read .editor-pane {
  display: none;
}

.editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 14px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
}

.tb-btn,
.tb-select {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 12.5px;
  cursor: pointer;
  outline: none;
}

.tb-btn:hover,
.tb-select:hover {
  border-color: var(--accent);
  background: var(--bg-hover);
}

.tb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.upload-indicator {
  font-size: 12px;
  color: var(--accent);
  margin-left: auto;
}

#editor {
  flex: 1;
  width: 100%;
  padding: 20px 24px;
  background: var(--bg-primary);
  color: var(--text-primary);
  border: none;
  resize: none;
  outline: none;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  overflow-y: auto;
}

.editor-pane.drag-over #editor {
  background: rgba(108, 92, 231, 0.06);
  outline: 2px dashed var(--accent);
  outline-offset: -8px;
}

/* =========================================================
   MARKDOWN PREVIEW, KATEX, BLOK WARNA (46), WIKILINKS & BACKLINKS
   ========================================================= */
.markdown-body {
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.75;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  margin: 1.3em 0 0.5em;
  line-height: 1.3;
}

.markdown-body p {
  margin-bottom: 1em;
}

.markdown-body ul,
.markdown-body ol {
  margin: 0 0 1em 1.5em;
}

.markdown-body a {
  color: var(--accent);
  text-decoration: underline;
  word-break: break-word;
}

.markdown-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 12px 0;
  display: block;
}

.markdown-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  color: var(--text-muted);
  margin: 1em 0;
}

.markdown-body code {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.markdown-body pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1em;
}

.markdown-body pre code {
  border: none;
  padding: 0;
  background: transparent;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  padding: 4px 0;
}

.markdown-body table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1em;
}

.markdown-body th,
.markdown-body td {
  border: 1px solid var(--border);
  padding: 8px 12px;
}

/* Styling Rumus KaTeX Inline & Block */
.katex-display-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.1rem 0;
}

.markdown-body .katex-display {
  margin: 0 !important;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border);
  overflow-x: auto;
  overflow-y: hidden;
}

.markdown-body .katex {
  color: var(--text-primary) !important;
  font-size: 1.05em !important;
}

.katex-display::-webkit-scrollbar {
  height: 6px;
}

.katex-display::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.wikilink {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent);
  font-weight: 500;
  cursor: pointer;
}

.wikilink.broken {
  color: var(--text-muted);
  border-bottom-color: var(--text-muted);
}

.inline-tag {
  color: var(--accent);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.88em;
}

/* Tanda #tag disembunyikan saat Mode Baca, tampil hanya saat Mode Edit / Split */
.workspace.mode-read .inline-tag {
  display: none;
}

.workspace:not(.mode-read) .inline-tag {
  display: inline-block;
}

/* Blok Warna Background Paragraf (::: bg-<warna> ... :::) - 46 Warna */
.bg-block {
  padding: 14px 18px;
  border-radius: 8px;
  margin: 14px 0;
  border-left: 4px solid transparent;
  line-height: 1.7;
}

.bg-block > *:last-child {
  margin-bottom: 0;
}

.bg-block > *:first-child {
  margin-top: 0;
}

/* Gelap (8) */
.bg-black    { background-color: #18181b; border-left-color: #71717a; color: #f4f4f5; }
.bg-navy     { background-color: #1e3a8a; border-left-color: #60a5fa; color: #eff6ff; }
.bg-charcoal { background-color: #27272a; border-left-color: #a1a1aa; color: #fafafa; }
.bg-midnight { background-color: #0f172a; border-left-color: #38bdf8; color: #f1f5f9; }
.bg-espresso { background-color: #2c1d16; border-left-color: #a16207; color: #fef3c7; }
.bg-forest   { background-color: #143322; border-left-color: #34d399; color: #ecfdf5; }
.bg-maroon   { background-color: #3b1219; border-left-color: #fb7185; color: #ffe4e6; }
.bg-plum     { background-color: #2e1042; border-left-color: #c084fc; color: #f3e8ff; }

/* Netral & Hangat (8) */
.bg-white    { background-color: #ffffff; border-left-color: #94a3b8; color: #1f2328; border-top: 1px solid var(--border); border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.bg-slate    { background-color: #e2e8f0; border-left-color: #475569; color: #0f172a; }
.bg-zinc     { background-color: #e4e4e7; border-left-color: #52525b; color: #18181b; }
.bg-stone    { background-color: #e7e5e4; border-left-color: #57534e; color: #1c1917; }
.bg-silver   { background-color: #f1f5f9; border-left-color: #64748b; color: #1e293b; }
.bg-cream    { background-color: #fdf8ee; border-left-color: #d4a373; color: #3f2e21; }
.bg-ivory    { background-color: #fffff0; border-left-color: #ca8a04; color: #292524; }
.bg-sand     { background-color: #f5efe6; border-left-color: #b08968; color: #3d2c1e; }

/* Biru & Cyan (6) */
.bg-sky      { background-color: #e0f2fe; border-left-color: #0284c7; color: #082f49; }
.bg-blue     { background-color: #dbeafe; border-left-color: #2563eb; color: #172554; }
.bg-cobalt   { background-color: #dbeafe; border-left-color: #1d4ed8; color: #1e3a8a; }
.bg-cyan     { background-color: #cffafe; border-left-color: #0891b2; color: #083344; }
.bg-aqua     { background-color: #e0f7fa; border-left-color: #00acc1; color: #004d40; }
.bg-teal     { background-color: #ccfbf1; border-left-color: #0d9488; color: #042f2e; }

/* Hijau (6) */
.bg-emerald  { background-color: #d1fae5; border-left-color: #059669; color: #022c22; }
.bg-green    { background-color: #dcfce7; border-left-color: #16a34a; color: #052e16; }
.bg-mint     { background-color: #d8f3dc; border-left-color: #40916c; color: #081c15; }
.bg-lime     { background-color: #ecfccb; border-left-color: #65a30d; color: #1a2e05; }
.bg-sage     { background-color: #e6efe6; border-left-color: #6b8e6b; color: #1f331f; }
.bg-olive    { background-color: #eef1da; border-left-color: #7c8429; color: #2c3008; }

/* Kuning, Emas & Oranye (7) */
.bg-amber    { background-color: #fef3c7; border-left-color: #d97706; color: #451a03; }
.bg-yellow   { background-color: #fef9c3; border-left-color: #ca8a04; color: #422006; }
.bg-gold     { background-color: #fef08a; border-left-color: #eab308; color: #422006; }
.bg-ochre    { background-color: #fde68a; border-left-color: #b45309; color: #451a03; }
.bg-bronze   { background-color: #f3e5d8; border-left-color: #9a5b28; color: #3b1f0b; }
.bg-orange   { background-color: #ffedd5; border-left-color: #ea580c; color: #431407; }
.bg-peach    { background-color: #ffe5d9; border-left-color: #f4845f; color: #4a190c; }

/* Merah & Pink (5) */
.bg-rose     { background-color: #ffe4e6; border-left-color: #e11d48; color: #4c0519; }
.bg-red      { background-color: #fee2e2; border-left-color: #dc2626; color: #450a0a; }
.bg-coral    { background-color: #ffd6cc; border-left-color: #f25c54; color: #4a0e0a; }
.bg-salmon   { background-color: #ffddd2; border-left-color: #e26d5c; color: #4a150e; }
.bg-pink     { background-color: #fce7f3; border-left-color: #db2777; color: #500724; }

/* Ungu & Indigo (6) */
.bg-indigo     { background-color: #e0e7ff; border-left-color: #4f46e5; color: #1e1b4b; }
.bg-periwinkle { background-color: #e8edff; border-left-color: #6366f1; color: #1e1b4b; }
.bg-violet     { background-color: #ede9fe; border-left-color: #7c3aed; color: #2e1065; }
.bg-purple     { background-color: #f3e8ff; border-left-color: #9333ea; color: #3b0764; }
.bg-fuchsia    { background-color: #f5d0fe; border-left-color: #a21caf; color: #4a044e; }
.bg-magenta    { background-color: #fae8ff; border-left-color: #c026d3; color: #4a044e; }

/* Penyesuaian link, kode & KaTeX pada blok gelap */
.bg-black a, .bg-navy a, .bg-charcoal a, .bg-midnight a,
.bg-espresso a, .bg-forest a, .bg-maroon a, .bg-plum a {
  color: #93c5fd;
}

.bg-black code, .bg-navy code, .bg-charcoal code, .bg-midnight code,
.bg-espresso code, .bg-forest code, .bg-maroon code, .bg-plum code {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.bg-black .katex, .bg-navy .katex, .bg-charcoal .katex, .bg-midnight .katex,
.bg-espresso .katex, .bg-forest .katex, .bg-maroon .katex, .bg-plum .katex {
  color: #f8fafc !important;
}

/* Backlinks */
.backlinks-panel {
  max-width: 740px;
  margin: 40px auto 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.backlinks-panel h3 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.backlink-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
}

.backlink-card:hover {
  border-color: var(--accent);
}

.backlink-title {
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.backlink-snippet {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =========================================================
   STATUSBAR & MODALS
   ========================================================= */
.statusbar {
  height: 28px;
  padding: 0 14px;
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  padding: 16px;
}

.modal.hidden {
  display: none;
}

.modal-card {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.modal-header {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.link-card,
.pdf-card {
  width: 100%;
  max-width: 420px;
}

.pdf-message {
  font-size: 14px;
  color: var(--text-primary);
}

.pdf-filename {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-muted);
  word-break: break-all;
}

.modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.field-label input {
  padding: 9px 11px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  outline: none;
}

.field-label input:focus {
  border-color: var(--accent);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.modal-actions button {
  padding: 7px 14px;
}

.graph-card {
  width: 90vw;
  height: 82vh;
}

#graph-canvas {
  flex: 1;
  width: 100%;
  height: 100%;
  cursor: grab;
}

.switcher-card {
  width: 90%;
  max-width: 520px;
  align-self: flex-start;
  margin-top: 12vh;
}

#switcher-input {
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 15px;
  outline: none;
}

.switcher-results {
  list-style: none;
  max-height: 300px;
  overflow-y: auto;
}

.switcher-results li {
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.switcher-results li:hover {
  background: var(--bg-hover);
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar.collapsed {
    display: flex;
  }

  .mobile-only {
    display: inline-block;
  }

  .preview-pane {
    padding: 18px 16px;
  }

  #editor {
    padding: 14px 16px;
  }
}