/* ===== Editor ===== */
.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.editor-header h2 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.editor-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.editor-form .form-row>.form-group {
    flex: 1;
}

.editor-form .form-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.editor-form .form-label svg {
    color: var(--accent);
    flex-shrink: 0;
}

.editor-actions {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding: 20px 0;
    justify-content: flex-end;
}

/* ===== Editor Options Toggle ===== */
.editor-options {
    background: var(--bg-secondary);
    border: none;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
    transition: background 0.3s var(--ease);
}

.toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    user-select: none;
}

.toggle-label.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-label input[type="checkbox"] {
    appearance: none;
    width: 38px;
    height: 22px;
    background: var(--bg-tertiary);
    border-radius: 22px;
    position: relative;
    cursor: inherit;
    outline: none;
    transition: background 0.3s var(--ease);
}

.toggle-label input[type="checkbox"]::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: none;
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.toggle-label input[type="checkbox"]:checked {
    background: var(--accent);
}

.toggle-label input[type="checkbox"]:checked::after {
    transform: translateX(16px);
}

.toggle-text {
    position: relative;
    top: 1px;
}

/* ===== Section Title ===== */
.editor-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 20px;
}

.editor-section-title svg {
    color: var(--accent);
    padding: 6px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    border-radius: 10px;
    width: 18px;
    height: 18px;
    box-sizing: content-box;
}

/* ===== Settings Card ===== */
.settings-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    margin-bottom: 16px;
    border: none;
    transition: all 0.3s var(--ease);
}

.settings-card:hover {
    background: var(--bg-tertiary);
}

.settings-card .settings-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 18px;
    cursor: pointer;
    user-select: none;
}

.settings-card .settings-card-title svg {
    color: var(--text-secondary);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.settings-card:hover .settings-card-title svg {
    color: var(--accent);
}

.settings-card .settings-card-title .settings-toggle-icon {
    margin-left: auto;
    color: var(--text-tertiary);
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    width: 16px;
    height: 16px;
}

.settings-card.collapsed .settings-card-title .settings-toggle-icon {
    transform: rotate(-90deg);
}

.settings-card.collapsed .settings-card-title {
    margin-bottom: 0;
}

.settings-card .settings-card-body {
    transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin 0.3s ease;
    overflow: hidden;
    max-height: 800px;
    opacity: 1;
}

.settings-card.collapsed .settings-card-body {
    max-height: 0;
    opacity: 0;
}

/* ===== New Page Actions ===== */
.new-page-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: flex-end;
}

/* ===== Type Selector ===== */
.type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.type-card {
    padding: 24px 20px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.type-card:hover {
    border-color: var(--accent);
    background: var(--bg-hover);
}

.type-card.active {
    background: var(--accent-light);
    box-shadow: 0 0 0 2px var(--accent);
}

.type-card.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.type-card .type-icon {
    margin-bottom: 12px;
    color: var(--text-secondary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: 14px;
    transition: all 0.3s var(--ease);
}

.type-card:hover .type-icon {
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.type-card.active .type-icon {
    color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.type-card .type-icon svg {
    width: 24px;
    height: 24px;
}

.type-card .type-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.type-card .type-desc {
    font-size: 11px;
    color: var(--text-tertiary);
    line-height: 1.4;
}

/* ===== Style Selector ===== */
.style-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    gap: 12px;
    margin-bottom: 0;
    padding-top: 4px;
}

.style-selector.scrollable {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 2px 12px 2px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 2px;
}

.style-selector.scrollable::-webkit-scrollbar {
    height: 6px;
}

.style-selector.scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.style-selector.scrollable::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.style-selector.scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}
.style-card {
    position: relative;
    padding: 16px 12px;
    text-align: center;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 84px;
}

.style-selector.scrollable .style-card {
    flex: 0 0 145px;
    scroll-snap-align: start;
}

.style-card:hover {
    border-color: color-mix(in srgb, var(--text-tertiary) 40%, transparent);
}

.style-card.active {
    background: var(--accent-light);
    box-shadow: 0 0 0 2px var(--accent) !important;
}

.style-card.active::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.style-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

/* ===== Style Preview Text ===== */
.style-preview-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
    transition: all var(--duration) var(--ease);
}

/* --- Minimal --- */
.style-card.style-minimal .style-preview-text {
    font-family: -apple-system, 'SF Pro Display', sans-serif;
    color: #111827;
}

[data-theme="dark"] .style-card.style-minimal .style-preview-text {
    color: #f9fafb;
}

/* --- Material 3 --- */
.style-card.style-md3 {
    border-radius: 16px;
}

.style-card.style-md3 .style-preview-text {
    font-family: 'Google Sans', 'Roboto', sans-serif;
    color: #6750A4;
}

[data-theme="dark"] .style-card.style-md3 .style-preview-text {
    color: #D0BCFF;
}

/* --- Legal --- */
.style-card.style-legal .style-preview-text {
    font-family: 'Times New Roman', Times, serif;
    color: #1a1a1a;
    font-weight: 400;
    font-size: 24px;
}

[data-theme="dark"] .style-card.style-legal .style-preview-text {
    color: #d4d4d4;
}

/* --- Tech --- */
.style-card.style-tech {
    background: linear-gradient(135deg, #0a0a0f, #1a1a2e);
    border-color: rgba(67, 97, 238, 0.3);
}

.style-card.style-tech .style-preview-text {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    color: #4cc9f0;
    text-shadow: 0 0 8px rgba(76, 201, 240, 0.4);
}

.style-card.style-tech,
.style-card.style-tech .style-label {
    color: #7b8794;
}

.style-card.style-tech:hover {
    border-color: #4361ee;
}

/* --- Warm --- */
.style-card.style-warm {
    background: #fef7ed;
    border-color: #f3d5b5;
}

.style-card.style-warm .style-preview-text {
    font-family: 'Nunito', 'Rounded Mplus 1c', sans-serif;
    color: #d45d22;
}

.style-card.style-warm .style-label {
    color: #b08968;
}

[data-theme="dark"] .style-card.style-warm {
    background: #2a2420;
    border-color: #4a3f35;
}

[data-theme="dark"] .style-card.style-warm .style-preview-text {
    color: #f4a261;
}

[data-theme="dark"] .style-card.style-warm .style-label {
    color: #a08878;
}

/* --- Notion --- */
.style-card.style-notion {
    background: #ffffff;
}

.style-card.style-notion .style-preview-text {
    font-family: -apple-system, 'Segoe UI', sans-serif;
    color: #37352f;
}

.style-card.style-notion .style-label {
    color: #787774;
}

[data-theme="dark"] .style-card.style-notion {
    background: #191919;
}

[data-theme="dark"] .style-card.style-notion .style-preview-text {
    color: #e3e2de;
}

[data-theme="dark"] .style-card.style-notion .style-label {
    color: #9b9a97;
}

/* --- Glass --- */
.style-card.style-glass {
    background: linear-gradient(135deg, rgba(138, 180, 248, 0.15), rgba(168, 130, 255, 0.12));
    border-color: rgba(138, 180, 248, 0.25);
    backdrop-filter: blur(8px);
}

.style-card.style-glass .style-preview-text {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Brutal --- */
.style-card.style-brutal {
    background: #f0e6d3;
    border: 3px solid #1a1a1a;
    border-radius: 0;
    box-shadow: 3px 3px 0 #1a1a1a;
}

.style-card.style-brutal .style-preview-text {
    font-family: 'Inter', 'Arial', sans-serif;
    color: #1a1a1a;
    font-weight: 900;
    text-transform: uppercase;
}

.style-card.style-brutal .style-label {
    color: #444;
}

.style-card.style-brutal:hover {
    opacity: 0.9;
}

[data-theme="dark"] .style-card.style-brutal {
    background: #1a1a1a;
    border-color: #f0e6d3;
    box-shadow: 3px 3px 0 #f0e6d3;
}

[data-theme="dark"] .style-card.style-brutal .style-preview-text {
    color: #f0e6d3;
}

[data-theme="dark"] .style-card.style-brutal .style-label {
    color: #c0b4a0;
}

[data-theme="dark"] .style-card.style-brutal:hover {
    opacity: 0.9;
}

/* --- Terminal --- */
.style-card.style-terminal {
    background: #0a0a0a;
    border-color: #1a3a1a;
}

.style-card.style-terminal .style-preview-text {
    font-family: 'Courier New', Courier, monospace;
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.4);
}

.style-card.style-terminal,
.style-card.style-terminal .style-label {
    color: #a0a0a0;
}

.style-card.style-terminal:hover {
    border-color: #00ff00;
}

/* --- Academic --- */
.style-card.style-academic {
    background: #ffffff;
}

.style-card.style-academic .style-preview-text {
    font-family: 'Times New Roman', Times, serif;
    color: #111111;
    font-weight: 400;
    font-size: 26px;
    font-style: italic;
}

.style-card.style-academic .style-label {
    color: #555;
}

[data-theme="dark"] .style-card.style-academic {
    background: #1e1e1e;
}

[data-theme="dark"] .style-card.style-academic .style-preview-text {
    color: #dedede;
}

[data-theme="dark"] .style-card.style-academic .style-label {
    color: #999;
}

/* --- Journal --- */
.style-card.style-journal {
    background: #f9f6f0;
    border-color: #dcd0c0;
}

.style-card.style-journal .style-preview-text {
    font-family: 'Kaiti', 'STKaiti', cursive, sans-serif;
    color: #d48f76;
    font-size: 26px;
    transform: rotate(-2deg);
}

.style-card.style-journal .style-label {
    color: #8c7a6b;
}

[data-theme="dark"] .style-card.style-journal {
    background: #2c2925;
    border-color: #4d463e;
}

[data-theme="dark"] .style-card.style-journal .style-preview-text {
    color: #e5a38d;
}

[data-theme="dark"] .style-card.style-journal .style-label {
    color: #a3988f;
}

/* --- Cyberpunk --- */
.style-card.style-cyberpunk {
    background: #11052C;
    border-color: #ff007f;
    border-radius: 0;
}

.style-card.style-cyberpunk .style-preview-text {
    font-family: 'Rajdhani', 'Orbitron', 'Segoe UI', sans-serif;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 0px #ff007f, -1px -1px 0px #0ff0fc;
}

.style-card.style-cyberpunk .style-label {
    color: #00ffcc;
}

/* --- Retro --- */
.style-card.style-retro {
    background: #0000aa;
    border: 3px solid #ffffff;
    border-radius: 0;
    box-shadow: 4px 4px 0 #000;
}

.style-card.style-retro .style-preview-text {
    font-family: 'Press Start 2P', monospace;
    color: #ffff55;
    text-shadow: 2px 2px 0 #aa0000;
    font-size: 16px;
}

.style-card.style-retro .style-label {
    color: #aaaaaa;
}

/* --- Magazine --- */
.style-card.style-magazine {
    background: #fffcf8;
    border-color: #aaaaaa;
}

.style-card.style-magazine .style-preview-text {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #c0392b;
    font-size: 30px;
}

.style-card.style-magazine .style-label {
    color: #444444;
}

[data-theme="dark"] .style-card.style-magazine {
    background: #1a1a1a;
    border-color: #444;
}

[data-theme="dark"] .style-card.style-magazine .style-preview-text {
    color: #e74c3c;
}

/* --- Kids --- */
.style-card.style-kids {
    background: #fdf5e6;
    border: 3px solid #7cd3f7;
    border-radius: 16px;
}

.style-card.style-kids .style-preview-text {
    font-family: 'Nunito', 'Comic Sans MS', sans-serif;
    color: #ff8eaa;
    font-weight: 900;
    font-size: 26px;
    transform: rotate(-3deg);
    text-shadow: 2px 2px 0 #ffe4e1;
}

.style-card.style-kids .style-label {
    color: #8c7a6b;
}

[data-theme="dark"] .style-card.style-kids {
    background: #2a241c;
    border-color: #3b89b5;
}

[data-theme="dark"] .style-card.style-kids .style-preview-text {
    color: #e56d8a;
}

.style-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.vip-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #f5a623, #f7c948);
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ===== JSON Editor ===== */
.json-editor {
    font-family: var(--font-mono) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    tab-size: 2;
    white-space: pre;
    resize: vertical;
}

/* ===== Markdown Editor ===== */
.md-toolbar {
    display: flex;
    gap: 2px;
    padding: 6px 8px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.md-toolbar .btn svg {
    display: block;
}

/* ===== AI Menu ===== */
.ai-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 14px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover, var(--accent)));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: none;
}

.ai-trigger-btn:hover {
    opacity: 0.9;
}

.ai-trigger-btn:disabled {
    opacity: 0.7;
    pointer-events: none;
    background: var(--text-tertiary);
    box-shadow: none;
}

.ai-menu {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    min-width: 240px;
}

.ai-menu-section {
    padding: 6px 14px;
    font-size: 11px;
    color: var(--text-tertiary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ai-menu-divider {
    height: 1px;
    background: var(--divider);
    margin: 4px 0;
}

.ai-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 16px;
    border: none;
    background: none;
    text-align: left;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.ai-menu-item:hover {
    background: var(--accent-light);
    color: var(--accent);
}

.ai-prompt-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.ai-prompt-dialog {
    background: var(--bg-card);
    border: none;
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
    animation: modalIn 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.ai-model-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ai-model-btn:hover {
    background: var(--accent-light);
}

.ai-model-btn.active {
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
    box-shadow: 0 0 0 2px var(--accent);
}

.ai-model-pts {
    font-size: 11px;
    opacity: 0.65;
    font-weight: 400;
}

.ai-model-tag {
    padding: 5px 12px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ai-model-tag:hover {
    background: var(--accent-light);
}

.ai-model-tag.active {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

.ai-usage-info {
    padding: 8px 14px;
    font-size: 11px;
    color: var(--text-tertiary);
}

.ai-model-list {
    padding: 0 6px 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ai-trigger-btn svg {
    vertical-align: -2px;
}

@keyframes aiSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.ai-spin {
    animation: aiSpin 1s linear infinite;
    vertical-align: -2px;
}

.md-editor-wrapper {
    display: flex;
    flex-direction: column;
}

.md-editor-wrapper.fullscreen {
    position: fixed;
    inset: 0;
    z-index: var(--z-fullscreen);
    background: var(--bg);
    padding: 16px;
}

body.editor-is-fullscreen .console-view .content-shell > *,
body.editor-is-fullscreen .console-view .editor-shell,
body.editor-is-fullscreen .console-view .main,
body.editor-is-fullscreen .console-view {
    z-index: auto !important;
    position: static !important;
}

body.editor-is-fullscreen header,
body.editor-is-fullscreen .header,
body.editor-is-fullscreen .top-bar,
body.editor-is-fullscreen .sidebar,
body.editor-is-fullscreen .tab-header,
body.editor-is-fullscreen .editor-header,
body.editor-is-fullscreen .console-panel-header {
    display: none !important;
}

.md-editor-wrapper.fullscreen .md-editor {
    flex: 1;
    min-height: 0;
}

.md-editor {
    display: flex;
    gap: 1px;
    background: var(--divider);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 550px;
    border: none;
    box-shadow: none;
    flex-direction: row;
}

.md-editor-mobile-tabs {
    display: none;
    border-bottom: none;
    background: var(--bg-card);
    width: 100%;
    flex-shrink: 0;
}

.md-editor-mobile-tabs .tab-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.md-editor-mobile-tabs .tab-btn.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.md-editor-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.md-editor-pane .pane-header {
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--divider);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-hint {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-tertiary);
    text-transform: none;
    letter-spacing: normal;
}

.preview-hint a {
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
}

.md-editor-pane textarea {
    flex: 1;
    width: 100%;
    border: none;
    resize: none;
    font-family: var(--font-mono);
    font-size: 14px;
    padding: 20px 24px;
    background: transparent;
    color: var(--text);
    line-height: 1.6;
}

.md-editor-pane textarea:focus {
    outline: none;
}

