.dashboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: stretch;
    justify-content: center;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.dashboard-section {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.dashboard-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    padding: 1rem 1.25rem;
    flex: 1 1 100%;
    max-width: 100%;
}

.not-authorized-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: #0f172a;
}

.not-authorized-title {
    font-weight: 700;
    font-size: 1rem;
}

.not-authorized-text {
    color: #475569;
    font-size: 0.9rem;
}

.weather-card {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
}

.revenue-card {
    background: linear-gradient(135deg, #ecfdf3 0%, #f7fee7 100%);
}

.schedule-card {
    background: #ffffff;
}

.weather-row {
    align-items: center;
}

.weather-hero {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.weather-hero-row,
.revenue-hero-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
}

.hero-chart {
    flex: 1 1 auto;
    min-width: 260px;
    max-width: none;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    position: relative;
}

.hero-chart-svg {
    width: 100%;
    height: 120px;
}

.hero-chart-line {
    fill: none;
    stroke: #2563eb;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hero-chart-axis {
    stroke: #e2e8f0;
    stroke-width: 1;
}

.hero-chart-baseline {
    stroke: #e2e8f0;
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.hero-chart-zero {
    stroke: #ef4444;
    stroke-width: 1;
    stroke-dasharray: 3 4;
}

.hero-chart-icon {
    font-size: 14px;
}

.hero-chart-x-label,
.hero-chart-y-label {
    fill: #64748b;
    font-size: 10px;
}

.hero-chart-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-chart-y span {
    position: absolute;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 10px;
    background: rgba(255, 255, 255, 0.75);
    padding: 0 2px;
    border-radius: 4px;
}

.hero-chart-x span {
    position: absolute;
    bottom: 2px;
    transform: translateX(-50%);
    color: #64748b;
    font-size: 10px;
}

.hero-chart-icons span {
    position: absolute;
    top: 72%;
    transform: translateX(-50%);
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.15));
}

.hero-chart-y-label.zero {
    color: #ef4444;
    font-weight: 700;
}

.revenue-line {
    stroke: #16a34a;
}

.weather-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.weather-hero-icon-glyph {
    font-size: 1.8rem;
    color: #2563eb;
}

.weather-hero-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.weather-hero-temp {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.weather-hero-meta {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1f2937;
}

.weather-hero-sub {
    font-size: 0.8rem;
    color: #475569;
}

.forecast-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #cbd5f5;
}

.forecast-tile {
    flex: 1 1 90px;
    min-width: 90px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    text-align: center;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.forecast-icon {
    font-size: 1.1rem;
    margin: 0.15rem 0 0.1rem;
}

.forecast-date {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.82rem;
}

.forecast-value {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.98rem;
}

.forecast-meta {
    color: #475569;
    font-size: 0.75rem;
}

.forecast-sub {
    color: #64748b;
    font-size: 0.7rem;
}

@media (max-width: 980px) {
    .hero-chart {
        display: none;
    }
}

.revenue-hero {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.revenue-hero-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
}

.revenue-hero-meta {
    font-size: 0.85rem;
    color: #475569;
}

.revenue-strip {
    border-top-color: #bbf7d0;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-day {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.schedule-day-label {
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.02em;
}

.schedule-entry {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f8fafc;
}

.schedule-entry.own {
    border-color: #2563eb;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
    background: #e0f2fe;
}

.schedule-time {
    font-weight: 700;
    color: #0f172a;
    min-width: 88px;
}

.schedule-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.schedule-title {
    font-weight: 600;
    color: #0f172a;
}

.schedule-meta {
    color: #475569;
    font-size: 0.9rem;
}

@media (min-width: 640px) {
    .dashboard-card {
        flex: 1 1 calc(50% - 1.25rem);
    }
}

@media (min-width: 1024px) {
    .dashboard-card {
        flex: 1 1 calc(25% - 1.25rem);
    }
}
