.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--riom-surface);
    border-bottom: 1px solid var(--riom-border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-left .logo {
    font-weight: 700;
    color: var(--riom-primary);
    font-size: 1.25rem;
}
.header-left .activity-title {
    font-size: 0.875rem;
    color: var(--riom-text-muted);
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.progress-container {
    width: 300px;
}
.progress-text {
    font-size: 0.75rem;
    color: var(--riom-text-muted);
    margin-bottom: 0.25rem;
    text-align: center;
}
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--riom-border);
    border-radius: 4px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--riom-accent);
    transition: width 0.3s;
}

.timer {
    font-size: 2rem;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--riom-primary);
}
.timer.warning { color: var(--riom-warning); }
.timer.critical { color: var(--riom-danger); }

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

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.facilitator-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 2rem;
    padding: 2rem;
    height: calc(100vh - 73px);
}

.activity-pane {
    background: var(--riom-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem;
    overflow-y: auto;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.timer-controls {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--riom-border);
}

.content-block {
    margin-bottom: 2rem;
}
.content-block h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--riom-text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.large-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--riom-primary);
}

.private-notes {
    background: #fdfbf7;
    border: 1px dashed var(--riom-warning);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.capture-pane {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.capture-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.capture-header h3 {
    font-size: 1.25rem;
    color: var(--riom-primary);
}

.save-status {
    font-size: 0.75rem;
    color: var(--riom-text-muted);
}
.save-status.saving { color: var(--riom-warning); }
.save-status.error { color: var(--riom-danger); }

.capture-form {
    background: var(--riom-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.capture-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.board {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 0.5rem;
}

.voting-stats {
    background: var(--riom-surface);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    font-weight: 500;
}
.voting-board-contextual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}
.vote-item {
    background: var(--riom-surface);
    border-left: 4px solid var(--riom-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vote-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal.hidden { display: none; }
.modal-content {
    background: var(--riom-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}
.hidden { display: none !important; }
