/* 2026.10.20.2: layout fixes and subtle depth, without floating side cards. */
.settings-side { position: static; top: auto; z-index: auto; }
.notification-actions { display: grid; gap: 14px; margin-top: 20px; }
.notification-actions .btn { min-height: 48px; padding: 12px 18px; line-height: 1.4; }
.settings-side [data-push-status] { margin-bottom: 0 !important; }
.settings-side > .alert { margin-bottom: 18px !important; }
.table thead th { background: #eef3ed; color: #355241; border-bottom: 1px solid #dce5d9; font-size: .75rem; font-weight: 650; padding: 14px 16px; }
.price-details .table td, .price-details .table tbody th { padding: 13px 16px; }
.price-details .table tbody tr:last-child > * { border-bottom: 0; }
.price-details .table-responsive { margin-top: 16px; border: 1px solid #e2e9df; border-radius: 12px; }
.price-details table { margin: 0; }
.app-header { box-shadow: 0 3px 14px #173d3204; }
.content-card, .summary-tile, .notification-preview-card { box-shadow: 0 3px 16px #173d3204; }
.current-card { background: radial-gradient(ellipse at 100% 0%, #326752 0, transparent 62%), #173d32; }
.hero-card { background: radial-gradient(ellipse at 100% 0%, #35684f 0, transparent 65%), #173d32; }
.section-heading h2 { text-wrap: balance; }
.option-card, .channel-card, .mode-card { border-radius: 14px; }
.mode-grid { grid-template-columns: 1fr; gap: 12px; }
.mode-card { padding: 18px 18px 18px 48px; }
.mode-card small { line-height: 1.6; }
.mode-card:hover, .quick-mode-card:hover { transform: none; border-color: #a1b7a0; box-shadow: 0 3px 14px #173d3207; }
.mode-card:has(input:checked), .option-card:has(input:checked), .channel-card:has(input:checked), .quick-mode-card.selected { background: #edf4ee; border-color: #8aa98b; box-shadow: none; }
.quick-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.btn { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.btn:focus-visible { box-shadow: 0 0 0 4px #326c5424; }
.data-health { display: flex; align-items: flex-start; gap: 14px; background: #eef3eb; border: 1px solid #dce6d5; border-radius: 14px; padding: 17px 20px; margin: 0 0 20px; }
.health-icon { flex: 0 0 32px; display: grid; place-items: center; background: #ffffffa0; width: 32px; height: 32px; border-radius: 10px; color: #42714b; font-size: 1.2rem; }
.data-health > div { flex: 1; min-width: 0; }
.data-health strong { font-size: .82rem; font-weight: 650; color: #355b3c; }
.data-health p { font-size: .77rem; color: #617258; margin: 3px 0 5px; line-height: 1.55; }
.data-health small { font-size: .69rem; color: #6a7c61; }
.data-health > a { flex-shrink: 0; font-size: .76rem; padding: 5px; }
.data-health[data-state=warning] { background: #fcf6e7; border-color: #e8ddbe; }
.data-health[data-state=warning] strong { color: #80622b; }
.chart-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 14px 22px; }
.remaining-toggle { display: inline-flex; align-items: center; gap: 8px; color: #586f52; font-size: .75rem; min-height: 44px; cursor: pointer; }
.remaining-toggle input { accent-color: #23634b; width: 16px; height: 16px; }
.text-button:disabled { opacity: .45; cursor: default; text-decoration: none; }
.quick-chip { min-height: 46px; }
.d-grid.gap-2 { gap: 12px !important; }
.notification-preview-card > a, .notification-preview-card > .text-button { display: inline-flex; align-items: center; min-height: 44px; margin-right: 22px; }
@media (max-width: 991px) {
    .mode-grid { grid-template-columns: 1fr; }
    .chart-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; }
    .chart-actions { width: 100%; justify-content: space-between; }
}
@media (max-width: 767px) {
    .nav-shell { flex-direction: row; }
    .quick-mode-grid { grid-template-columns: 1fr; }
    .data-health { padding: 15px; gap: 10px; flex-wrap: wrap; }
    .data-health > div { flex-basis: calc(100% - 44px); }
    .data-health > a { margin-left: 42px; padding: 6px 0; }
    .notification-actions { gap: 14px; margin-top: 22px; }
    .quick-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .quick-chip { white-space: normal; padding: 12px 10px; min-height: 48px; }
    .brand { font-size: .85rem; max-width: 65%; }
    .brand > span:last-child { overflow-wrap: anywhere; }
    .install-header { padding: 9px 10px; font-size: .7rem; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
