/* ─── MAIN ─── */
.main {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    scroll-behavior: smooth;
}

.main::-webkit-scrollbar {
    width: 6px;
}

.main::-webkit-scrollbar-track {
    background: transparent;
}

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

/* ─── HEADER ─── */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--bg-base);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.page-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.date-chip {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-tertiary);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Search Bar Base */
.search-wrap {
    position: relative;
    margin-right: 8px;
}

.search-wrap svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--text-tertiary);
}

.search-wrap input {
    background: var(--bg-active);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 12px 6px 30px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 12px;
    width: 140px;
    transition: all 0.2s;
    outline: none;
}

.search-wrap input:focus {
    border-color: var(--accent-purple);
    width: 180px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    border: medium none;
    outline: none;
    line-height: 1.2;
}

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

.btn-primary {
    background: var(--accent-purple);
    color: #fff;
    box-shadow: 0 0 0 0 var(--accent-purple-glow);
}

.btn-primary:hover {
    background: #8d7fff;
    box-shadow: 0 0 20px var(--accent-purple-glow);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* ─── CONTENT ─── */
.content {
    padding: 28px 32px;
    display: flex;
    gap: 24px;
}

.col-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#today-default-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.col-side {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}