#commissary-app-root {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111;
}

.cs-app-shell {
    border: 1px solid #ddd;
    background: #fff;
    padding: 16px;
    border-radius: 4px;
}

.cs-app-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.cs-title-block h2 {
    margin: 0 0 4px;
    font-size: 1.4rem;
}

.cs-title-block .cs-subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
}

.cs-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.cs-controls button {
    padding: 4px 8px;
    font-size: 0.9rem;
}

.cs-controls input[type="date"] {
    font-size: 0.9rem;
    padding: 3px 6px;
}

.cs-app-body {
    margin-top: 8px;
}

.cs-loading {
    font-size: 0.95rem;
    color: #555;
}

.cs-error {
    color: #b00020;
    font-weight: 500;
}

.cs-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.cs-resource-block {
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px 10px;
    background: #fafafa;
}

.cs-resource-header h3 {
    margin: 0 0 4px;
    font-size: 1rem;
}

.cs-resource-empty {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #666;
}

.cs-booking-list {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.cs-booking-item {
    padding: 6px 4px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.cs-booking-item:first-child {
    border-top: none;
}

.cs-booking-time {
    font-weight: 600;
}

.cs-booking-company {
    color: #333;
}

.cs-booking-status {
    font-size: 0.8rem;
    color: #555;
}


/* Resource images in booking UI */
.cs-resource-main-image {
    margin: 6px 0 10px 0;
}

.cs-resource-main-image img {
    width: 100%;
    max-width: 260px;
    height: auto;
    display: block;
    border-radius: 3px;
}

.cs-resource-main-image-caption {
    margin-top: 2px;
    font-size: 0.85rem;
    color: #666;
}


.cs-menu-list button.cs-menu-active {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.cs-banner-container {
    margin: 8px 0 12px 0;
    padding: 6px 10px;
    background-color: #fffbcc;
    border: 1px solid #e6d888;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
}


.cs-resource-block.cs-resource-booked {
    background-color: #f7f7f7;
    border-color: #d0d0d0;
}

.cs-resource-block.cs-resource-booked .cs-resource-header h4 {
    font-weight: 700;
}
