.header .subtitle {
    font-size: 12px; color: var(--text-light); margin-left: 12px;
}

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

.header-right a {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}

.header-right a:hover {
    text-decoration: underline;
}

.sidebar {
    width: 240px;
    min-width: 240px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
}

.sidebar-section {
    padding: 16px 14px 8px;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-section-title:hover { color: var(--primary); }
.sidebar-section-title .section-arrow {
    font-size: 9px;
    transition: transform 0.2s;
}
.sidebar-section.collapsed .section-arrow { transform: rotate(-90deg); }
.sidebar-section.collapsed .sidebar-section-body { display: none; }
.sidebar-section-body { }

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 9px 12px;
    margin-bottom: 2px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.12s;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    border: 1px solid transparent;
}

.sidebar-item:hover {
    background: #f0f4ff;
}

.sidebar-item.active {
    background: #e8f0fe;
    border-color: var(--primary);
    font-weight: 600;
}

.sidebar-item.disabled {
    opacity: 0.4;
    cursor: default;
}

.sidebar-item.disabled:hover {
    background: transparent;
}

.sidebar-item .item-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.sidebar-item .item-label {
    flex: 1;
}

.sidebar-item .item-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 6px;
    flex-shrink: 0;
}

.tag-ok {
    background: #e8f5e9; color: #2e7d32;
}

.tag-wip {
    background: #fff3e0; color: #e65100;
}

.tag-new {
    background: #e3f2fd; color: #1565c0;
}

.main-content {
    flex: 1;
    position: relative;
    background: var(--bg);
}

.main-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.main-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
    text-align: center;
    padding: 40px;
}

.main-welcome h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.main-welcome p {
    font-size: 13px;
    max-width: 400px;
}

.footer {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 11px;
    color: var(--text-light);
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.sidebar {
    width: 180px; min-width: 180px;
}