    :root {
        --bg: #f7f7f9;
        --bg-panel: #ffffff;
        --border: #d0d0dd;
        --accent: #3b82f6;
        --accent-soft: #dbeafe;
        --text: #111827;
        --muted: #6b7280;
        --added: #dcfce7;
        --removed: #fee2e2;
        --changed: #fef9c3;
        --line-border: #e5e7eb;
        --scrollbar: #cbd5f5;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background: radial-gradient(circle at top left, #eef2ff, #f9fafb);
        color: var(--text);
    }

    .app {
        max-width: 1400px;
        margin: 0 auto;
        padding: 16px 16px 32px;
    }

    header {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
    }

    header h1 {
        font-size: 1.4rem;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    header h1 span.logo {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        background: linear-gradient(135deg, #3b82f6, #22c55e);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
        font-size: 0.9rem;
    }

    header .subtitle {
        font-size: 0.85rem;
        color: var(--muted);
    }

    .toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    button, label.button-like {
        border-radius: 999px;
        border: 1px solid var(--border);
        background: #ffffff;
        padding: 6px 12px;
        font-size: 0.85rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--text);
        transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.05s;
    }

    button.primary {
        background: var(--accent);
        color: #ffffff;
        border-color: var(--accent);
        box-shadow: 0 1px 4px rgba(59, 130, 246, 0.35);
    }

    button:hover, label.button-like:hover {
        background: var(--accent-soft);
        border-color: var(--accent);
    }

    button.primary:hover {
        background: #2563eb;
    }

    button:active, label.button-like:active {
        transform: translateY(1px);
        box-shadow: none;
    }

    button:disabled {
        opacity: 0.5;
        cursor: default;
        box-shadow: none;
    }

    label.button-like input[type="file"] {
        display: none;
    }

    .toolbar-group {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .toolbar-group span.label {
        font-size: 0.8rem;
        color: var(--muted);
    }

    .main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr);
        gap: 0;
        margin-top: 10px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(148, 163, 184, 0.35);
        overflow: hidden;
        position: relative;
    }

    .panel {
        position: relative;
        display: flex;
        flex-direction: column;
        background: var(--bg-panel);
    }

    .panel-header {
        padding: 8px 10px;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        background: linear-gradient(to bottom, #f9fafb, #f3f4f6);
    }

    .panel-header .title {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--muted);
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .panel-header .hint {
        font-size: 0.75rem;
        color: var(--muted);
    }

    .drop-zone {
        flex: 1;
        position: relative;
        border-right: 1px solid var(--border);
        display: flex;
        flex-direction: column;
    }

    .panel-right .drop-zone {
        border-right: none;
        border-left: 1px solid var(--border);
    }

    .drop-overlay {
        position: absolute;
        inset: 0;
        border-radius: 0;
        border: 2px dashed var(--accent);
        background: rgba(219, 234, 254, 0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 5;
        pointer-events: none;
        font-size: 0.9rem;
        color: var(--accent);
        font-weight: 500;
    }

    .drop-zone.drag-over .drop-overlay {
        display: flex;
    }

    .editor-wrapper {
        position: relative;
        flex: 1;
        display: flex;
        overflow: hidden;
    }

    .editor {
        flex: 1;
        padding: 8px 0 8px 0;
        overflow: auto;
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
        font-size: 0.85rem;
        line-height: 1.4;
        background: var(--bg-panel);
        scrollbar-color: var(--scrollbar) transparent;
    }

    .editor::-webkit-scrollbar {
        width: 10px;
    }
    .editor::-webkit-scrollbar-track {
        background: transparent;
    }
    .editor::-webkit-scrollbar-thumb {
        background: var(--scrollbar);
        border-radius: 999px;
    }

    .line {
        display: flex;
        align-items: flex-start;
        border-bottom: 1px solid var(--line-border);
        padding: 0 8px;
        white-space: pre;
    }

    .line-number {
        width: 3ch;
        text-align: right;
        margin-right: 8px;
        color: var(--muted);
        font-size: 0.75rem;
        user-select: none;
        flex-shrink: 0;
    }

    .line-content {
        flex: 1;
        min-height: 1.2em;
        outline: none;
    }

    .line.added {
        background: var(--added);
    }

    .line.removed {
        background: var(--removed);
    }

    .line.changed {
        background: var(--changed);
    }

    .gutter {
        width: 10px;
        background: linear-gradient(to bottom, #e5e7eb, #d1d5db);
        border-left: 1px solid #cbd5e1;
        border-right: 1px solid #cbd5e1;
        position: relative;
    }

    .gutter::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(to bottom, rgba(255,255,255,0.4) 1px, transparent 1px);
        background-size: 100% 6px;
        opacity: 0.4;
        pointer-events: none;
    }

    .sync-buttons {
        display: flex;
        flex-direction: column;
        gap: 4px;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
    }

    .sync-buttons button {
        padding: 4px 6px;
        font-size: 0.7rem;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.85);
        color: #e5e7eb;
        border-color: rgba(15, 23, 42, 0.9);
    }

    .sync-buttons button:hover {
        background: #111827;
    }

    .minimap-container {
        position: absolute;
        top: 52px;
        right: 8px;
        width: 80px;
        bottom: 12px;
        pointer-events: none;
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
        z-index: 4;
    }

    .minimap {
        width: 80px;
        border-radius: 10px;
        background: rgba(15, 23, 42, 0.04);
        border: 1px solid rgba(148, 163, 184, 0.7);
        overflow: hidden;
        position: relative;
        pointer-events: auto;
        cursor: pointer;
    }

    .minimap-track {
        position: absolute;
        inset: 0;
    }

    .minimap-line {
        width: 100%;
        height: 2px;
        background: rgba(148, 163, 184, 0.6);
    }

    .minimap-line.added {
        background: rgba(34, 197, 94, 0.8);
    }

    .minimap-line.removed {
        background: rgba(239, 68, 68, 0.8);
    }

    .minimap-line.changed {
        background: rgba(234, 179, 8, 0.9);
    }

    .minimap-viewport {
        position: absolute;
        left: 0;
        right: 0;
        border: 1px solid rgba(59, 130, 246, 0.9);
        background: rgba(191, 219, 254, 0.25);
        border-radius: 4px;
        pointer-events: none;
    }

    .status-bar {
        margin-top: 8px;
        font-size: 0.8rem;
        color: var(--muted);
        display: flex;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .status-bar span strong {
        color: var(--text);
    }

    @media (max-width: 900px) {
        .main {
            grid-template-columns: minmax(0, 1fr);
        }
        .gutter {
            display: none;
        }
        .sync-buttons {
            right: 8px;
            left: auto;
            transform: none;
        }
        .minimap-container {
            display: none;
        }
    }

                body {
              margin: 0;
              font-family: Arial, Helvetica, sans-serif;
            }

            .topnav {
              overflow: hidden;
              background-color: #ffffff;
            }

            .topnav a {
              float: left;
              color: #1a1a1a;
              text-align: center;
              padding: 12px 14px;
              text-decoration: none;
              font-size: 17px;
            }

            .topnav a:hover {
              background-color: #ddd;
              color: black;
            }

            .topnav a.active {
              background-color: #ffffff;
              color: black;
            }
								   
            .topnav-right {
              float: right;
            }

            .imager img {
              border: 1px solid #ddd;
              width: 150px;
              border-radius: 10%;
              margin: 20px;
            }

            .imager img:hover {
              box-shadow: 0 0 2px 1px rgba(151, 161, 165, 0.5);
									   
            }    
