:root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --bg: #f8fafc;
    --surface: #ffffff;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--bg);
    color: var(--text);
    outline: none;
    cursor: pointer;
    font-weight: 500;
}

.layout {
    display: grid;
    grid-template-columns: 220px 1fr 300px;
    gap: 30px;
    padding: 30px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.nav-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-item {
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.nav-item:hover {
    background: var(--border);
}

.nav-item.active {
    background: var(--primary-light);
    color: var(--primary);
}

.main-workspace {
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: var(--text);
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.jotno-ad-placeholder {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.jotno-ad-placeholder::before {
    content: 'ADVERTISEMENT';
    position: absolute;
    top: 4px;
    right: 6px;
    font-size: 9px;
    letter-spacing: 0.5px;
    color: #cbd5e1;
    z-index: 10;
    pointer-events: none;
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: 15px;
}