/**
 * Mac Finder Style Directory Browser
 * macOS Sierra authentic styling based on Apple Design Resources
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --font-scale: 1;
    --system-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    
    /* macOS Sierra Colors */
    --color-window-bg: #ECECEC;
    --color-sidebar-bg: #F5F5F5;
    --color-content-bg: #FFFFFF;
    --color-border: #C8C8C8;
    --color-border-light: #E0E0E0;
    --color-text: #333333;
    --color-text-secondary: #8A8A8A;
    --color-selection: #0A84FF;
    --color-selection-light: #B4D7FF;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--system-font);
    font-size: calc(13px * var(--font-scale));
    color: var(--color-text);
    background: #6E6E6E;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   macOS Sierra Push Buttons
   Reference: Push buttons from design specs
   ============================================ */
.macos-btn {
    font-family: var(--system-font);
    font-size: calc(13px * var(--font-scale));
    font-weight: 400;
    border: none;
    border-radius: 5px;
    padding: calc(3px * var(--font-scale)) calc(16px * var(--font-scale));
    min-height: calc(22px * var(--font-scale));
    background: linear-gradient(180deg, #FEFEFE 0%, #F2F2F2 100%);
    box-shadow: 
        0 0 0 0.5px rgba(0,0,0,0.12),
        0 1px 1px rgba(0,0,0,0.06),
        0 0.5px 0 rgba(255,255,255,0.5) inset;
    color: #333;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: calc(4px * var(--font-scale));
    white-space: nowrap;
    text-decoration: none !important;
    transition: all 0.1s ease;
}

.macos-btn:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F8F8 100%);
}

.macos-btn:active {
    background: linear-gradient(180deg, #E8E8E8 0%, #DFDFDF 100%);
    box-shadow: 
        0 0 0 0.5px rgba(0,0,0,0.15),
        0 1px 1px rgba(0,0,0,0.08) inset;
}

/* Action Button (Blue - OK, Save, etc.) */
.macos-btn.action {
    background: linear-gradient(180deg, #5BB2F9 0%, #1A8BF6 50%, #0A7FF5 100%);
    box-shadow: 
        0 0 0 0.5px rgba(0,80,200,0.4),
        0 1px 2px rgba(0,0,0,0.15),
        0 0.5px 0 rgba(255,255,255,0.25) inset;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 -0.5px 0 rgba(0,0,0,0.15);
}

.macos-btn.action:hover {
    background: linear-gradient(180deg, #6BBFFF 0%, #2B96FF 50%, #1A8BF6 100%);
}

.macos-btn.action:active {
    background: linear-gradient(180deg, #0A7FF5 0%, #0070E0 100%);
}

/* Small button */
.macos-btn.small {
    font-size: calc(11px * var(--font-scale));
    padding: calc(2px * var(--font-scale)) calc(10px * var(--font-scale));
    min-height: calc(18px * var(--font-scale));
}

/* ============================================
   Navigation Button Group (Back/Forward)
   ============================================ */
.nav-btn-group {
    display: inline-flex;
    background: linear-gradient(180deg, #FEFEFE 0%, #F2F2F2 100%);
    border-radius: 5px;
    box-shadow: 
        0 0 0 0.5px rgba(0,0,0,0.12),
        0 1px 1px rgba(0,0,0,0.06);
    overflow: hidden;
}

.nav-btn {
    width: calc(26px * var(--font-scale));
    height: calc(22px * var(--font-scale));
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4A4A4A;
    transition: all 0.1s ease;
    padding: 0;
    position: relative;
}

.nav-btn:first-child {
    border-right: 0.5px solid #D8D8D8;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(0,0,0,0.04);
}

.nav-btn:active:not(:disabled) {
    background: rgba(0,0,0,0.08);
}

.nav-btn:disabled {
    color: #C8C8C8;
    cursor: default;
}

.nav-btn svg {
    width: 8px;
    height: 13px;
}

/* ============================================
   Toolbar Button Group (Segmented Control)
   ============================================ */
.toolbar-btn-group {
    display: inline-flex;
    background: linear-gradient(180deg, #FEFEFE 0%, #F2F2F2 100%);
    border-radius: 5px;
    box-shadow: 
        0 0 0 0.5px rgba(0,0,0,0.12),
        0 1px 1px rgba(0,0,0,0.06);
    overflow: hidden;
}

.toolbar-btn {
    width: calc(26px * var(--font-scale));
    height: calc(22px * var(--font-scale));
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6E6E6E;
    transition: all 0.1s ease;
    padding: 0;
    border-right: 0.5px solid #D8D8D8;
}

.toolbar-btn:last-child {
    border-right: none;
}

.toolbar-btn:hover:not(.active) {
    background: rgba(0,0,0,0.04);
    color: #4A4A4A;
}

.toolbar-btn.active {
    background: linear-gradient(180deg, #5BB2F9 0%, #1A8BF6 50%, #0A7FF5 100%);
    color: #fff;
    box-shadow: 0 0.5px 1px rgba(0,0,0,0.15) inset;
}

.toolbar-btn svg {
    width: 14px;
    height: 14px;
}

/* ============================================
   Finder Window
   ============================================ */
.finder-window {
    width: 100%;
    max-width: 1000px;
    height: calc(100vh - 40px);
    max-height: 700px;
    background: var(--color-content-bg);
    border-radius: 6px;
    box-shadow: 
        0 0 0 1px rgba(0,0,0,0.1),
        0 20px 50px rgba(0,0,0,0.35),
        0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.finder-window.fullscreen {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
}

/* ============================================
   Title Bar
   ============================================ */
.title-bar {
    height: 22px;
    background: linear-gradient(180deg, #E8E8E8 0%, #D3D3D3 100%);
    border-bottom: 1px solid #B3B3B3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    flex-shrink: 0;
}

.title-bar-text {
    font-size: 13px;
    font-weight: 500;
    color: #4A4A4A;
}

/* ============================================
   Toolbar
   ============================================ */
.toolbar {
    height: 38px;
    background: linear-gradient(180deg, #E8E8E8 0%, #D8D8D8 100%);
    border-bottom: 1px solid #B3B3B3;
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
    flex-shrink: 0;
}

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

.toolbar-center {
    display: flex;
    justify-content: center;
    flex: 1;
}

.toolbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    width: calc(180px * var(--font-scale));
    height: 22px;
    background: #fff;
    border-radius: 5px;
    padding: 0 8px;
    box-shadow: 
        0 0 0 0.5px rgba(0,0,0,0.12),
        0 1px 2px rgba(0,0,0,0.04) inset;
}

.search-box:focus-within {
    box-shadow: 
        0 0 0 3px rgba(10, 132, 255, 0.3),
        0 0 0 0.5px rgba(10, 132, 255, 0.5);
}

.search-icon {
    width: 12px;
    height: 12px;
    color: #8E8E93;
    flex-shrink: 0;
}

.search-box input {
    border: none;
    outline: none;
    font-family: var(--system-font);
    font-size: calc(12px * var(--font-scale));
    padding: 0 6px;
    width: 100%;
    background: transparent;
    color: #333;
}

.search-box input::placeholder {
    color: #8E8E93;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    display: flex;
    flex: 1;
    overflow: hidden;
    background: var(--color-content-bg);
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    width: 150px;
    background: linear-gradient(180deg, #F5F5F5 0%, #EDEDED 100%);
    border-right: 1px solid #C4C4C4;
    overflow-y: auto;
    flex-shrink: 0;
    padding: 4px 0;
}

.sidebar-section {
    margin-bottom: 4px;
}

.sidebar-header {
    font-size: 11px;
    font-weight: 600;
    color: #8A8A8A;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 6px 10px 4px;
    display: flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    user-select: none;
}

.collapse-arrow {
    font-size: 10px;
    color: #8A8A8A;
    transition: transform 0.15s;
}

.sidebar-section.collapsed .collapse-arrow {
    transform: rotate(-90deg);
}

.sidebar-section.collapsed .sidebar-items {
    display: none;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 12px;
    cursor: pointer;
    margin: 1px 4px;
    border-radius: 4px;
    transition: background 0.1s;
}

.sidebar-item:hover {
    background: rgba(0,0,0,0.05);
}

.sidebar-item.active {
    background: var(--color-selection);
    color: #fff;
}

.sidebar-item.active .sidebar-icon {
    filter: brightness(0) invert(1);
}

.sidebar-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.sidebar-item span {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
}

/* ============================================
   Column Browser
   ============================================ */
.column-browser {
    flex: 1;
    display: flex;
    overflow: hidden;
    background: #fff;
    min-width: 0;
}

.columns-container {
    display: flex;
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
}

.columns-container::-webkit-scrollbar {
    height: 8px;
    background: #F5F5F5;
}

.columns-container::-webkit-scrollbar-thumb {
    background: #C0C0C0;
    border-radius: 4px;
}

/* ============================================
   Column
   ============================================ */
.column {
    min-width: 180px;
    max-width: 250px;
    width: 180px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #DFDFDF;
    background: #fff;
    flex-shrink: 0;
    position: relative;
}

.column-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.column-content::-webkit-scrollbar {
    width: 8px;
}

.column-content::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 4px;
}

.column-resize-handle {
    position: absolute;
    right: -3px;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: col-resize;
    z-index: 10;
}

.column-resize-handle:hover {
    background: rgba(10, 132, 255, 0.2);
}

/* ============================================
   Column Rows
   ============================================ */
.column-row {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px 4px 6px;
    cursor: default;
    user-select: none;
    min-height: 22px;
}

.column-row:hover {
    background: #F4F4F4;
}

.column-row.selected {
    background: var(--color-selection);
    color: #fff;
}

.column-row.selected-inactive {
    background: #D4D4D4;
    color: #333;
}

.row-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.column-row.selected .row-icon {
    filter: brightness(0) invert(1);
}

.row-name {
    flex: 1;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.row-arrow {
    font-size: 14px;
    color: #8E8E93;
    font-weight: 300;
    margin-right: 2px;
}

.column-row.selected .row-arrow {
    color: #fff;
}

.column-row[data-type="listing"] .row-arrow {
    display: none;
}

/* ============================================
   Preview Panel - Takes ALL remaining space in fullscreen
   ============================================ */
.preview-panel {
    width: 280px;
    min-width: 250px;
    background: #FAFAFA;
    border-left: 1px solid #DFDFDF;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

/* In fullscreen: Preview takes ALL remaining horizontal space */
.finder-window.fullscreen .preview-panel {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: none;
}

.preview-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.preview-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #8E8E93;
    text-align: center;
    gap: 12px;
}

.preview-placeholder p {
    font-size: 13px;
}

.preview-content::-webkit-scrollbar {
    width: 8px;
}

.preview-content::-webkit-scrollbar-thumb {
    background: #D0D0D0;
    border-radius: 4px;
}

/* ============================================
   Preview Card
   ============================================ */
.preview-card {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Fullscreen: 2-column layout for better space usage */
.finder-window.fullscreen .preview-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    grid-template-rows: auto auto 1fr;
    gap: 20px;
    align-items: start;
}

.preview-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 16px;
}

.finder-window.fullscreen .preview-header {
    grid-column: 1;
    grid-row: 1 / 4;
    margin-bottom: 0;
    position: sticky;
    top: 0;
}

/* Circular profile image */
.preview-image-wrapper {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.finder-window.fullscreen .preview-image-wrapper {
    width: 128px;
    height: 128px;
}

.preview-image-wrapper img.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image-wrapper .preview-icon-large {
    width: 50%;
    height: 50%;
}

.preview-name {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 2px;
}

.finder-window.fullscreen .preview-name {
    font-size: 18px;
}

.preview-type {
    font-size: 11px;
    color: #8E8E93;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Star Rating */
.preview-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
}

.stars {
    display: flex;
}

.star {
    width: 14px;
    height: 14px;
    color: #FFB800;
}

.star.empty {
    color: #D8D8D8;
}

.rating-text {
    font-size: 12px;
    color: #6A6A6A;
    margin-left: 4px;
}

/* Share link */
.share-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--color-selection);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: none !important;
}

.share-link:hover {
    background: rgba(10, 132, 255, 0.1);
}

/* Social Links */
.preview-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F0F0F0;
    border-radius: 50%;
    color: #6A6A6A;
    text-decoration: none !important;
    transition: all 0.15s;
}

.social-link:hover {
    background: var(--color-selection);
    color: #fff;
}

/* Action buttons */
.preview-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.finder-window.fullscreen .preview-actions {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 0;
}

.preview-actions .macos-btn {
    flex: 1;
}

/* Preview details */
.preview-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.finder-window.fullscreen .preview-details {
    grid-column: 2;
    grid-row: 2 / 4;
}

/* Preview Meta */
.preview-meta {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    padding: 12px;
}

.preview-meta-row {
    display: flex;
    padding: 5px 0;
    border-bottom: 1px solid #F0F0F0;
    font-size: 12px;
}

.preview-meta-row:last-child {
    border-bottom: none;
}

.preview-meta-label {
    width: 70px;
    color: #8A8A8A;
    flex-shrink: 0;
}

.preview-meta-value {
    flex: 1;
    color: #333;
}

.preview-meta-value a {
    color: var(--color-selection);
    text-decoration: none;
}

.preview-meta-value a:hover {
    text-decoration: underline;
}

/* Description */
.preview-description {
    font-size: 12px;
    color: #4A4A4A;
    line-height: 1.5;
    padding: 12px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
}

/* Business Hours */
.preview-hours {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    padding: 12px;
}

.preview-hours-title {
    font-size: 11px;
    font-weight: 600;
    color: #6A6A6A;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 3px 0;
}

.hours-day { color: #6A6A6A; }
.hours-time { color: #333; }
.hours-row.today { font-weight: 600; color: #34C759; }

/* Map */
.preview-map {
    background: #F0F0F0;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8A8A8A;
    font-size: 11px;
}

.finder-window.fullscreen .preview-map {
    height: 140px;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* ============================================
   Detail Panel
   ============================================ */
.detail-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.detail-panel.open {
    transform: translateY(0);
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: linear-gradient(180deg, #E8E8E8 0%, #D8D8D8 100%);
    border-bottom: 1px solid #B3B3B3;
}

.detail-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.detail-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Promo Flyer */
.promo-flyer {
    width: 100%;
    max-width: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.finder-window.fullscreen .promo-flyer {
    max-width: 450px;
    padding: 36px;
}

.promo-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.promo-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.finder-window.fullscreen .promo-title {
    font-size: 30px;
}

.promo-subtitle {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 18px;
}

.promo-offer {
    background: #fff;
    color: #764ba2;
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.promo-discount {
    font-size: 36px;
    font-weight: 800;
}

.finder-window.fullscreen .promo-discount {
    font-size: 48px;
}

.promo-terms {
    font-size: 10px;
    opacity: 0.7;
}

.promo-cta {
    background: #fff;
    color: #764ba2;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.15s;
}

.promo-cta:hover {
    transform: scale(1.02);
}

/* ============================================
   Status Bar
   ============================================ */
.status-bar {
    height: 22px;
    background: linear-gradient(180deg, #ECECEC 0%, #E0E0E0 100%);
    border-top: 1px solid #B3B3B3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    font-size: 11px;
    color: #6A6A6A;
    flex-shrink: 0;
}

.status-text {
    flex: 1;
}

.font-scale-control {
    display: flex;
    align-items: center;
    gap: 5px;
}

.font-scale-label {
    font-size: 10px;
    color: #8A8A8A;
}

.font-scale-slider {
    width: 70px;
    height: 3px;
    -webkit-appearance: none;
    background: #D0D0D0;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.font-scale-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(180deg, #5BB2F9 0%, #0A7FF5 100%);
    border: 0.5px solid #0070E0;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ============================================
   Loading & Empty States
   ============================================ */
.column-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: #8A8A8A;
    font-size: 11px;
    gap: 8px;
}

.column-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid #E0E0E0;
    border-top-color: var(--color-selection);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.column-empty {
    padding: 30px 16px;
    text-align: center;
    color: #8A8A8A;
    font-size: 11px;
}

.search-results-header {
    padding: 6px 10px;
    background: #F8F8F8;
    border-bottom: 1px solid #E8E8E8;
    font-size: 11px;
    color: #6A6A6A;
}

.search-results-header strong {
    color: #333;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 800px) {
    .preview-panel {
        width: 240px;
        min-width: 220px;
    }
    
    .sidebar {
        width: 130px;
    }
    
    .finder-window.fullscreen .preview-card {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .sidebar, .preview-panel {
        display: none;
    }
    
    .column {
        min-width: 150px;
        width: 150px;
    }
}
