.calendar-key{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem .75rem}.key{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .55rem;border-radius:.25rem;font-size:.8rem;font-weight:600}.key-major{background-color:#3498db;color:#fff}.key-minor{background-color:#27ae60;color:#fff}.key-rating{background-color:#ffc107;color:#212529}.key-sun{border:1px solid rgba(52,152,219,.4);background-color:#3498db26;color:#1f6fa8}.calendar-legend .key{padding:.1rem .4rem}.calendar-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));align-items:end;gap:1rem;padding:1rem;border:1px solid var(--line);border-radius:.375rem;background-color:var(--bg-secondary)}.calendar-controls.is-locked{opacity:.6;pointer-events:none}.calendar-controls .dropdown-menu{max-height:20rem;overflow-y:auto}.calendar-label{display:block;margin-bottom:.25rem;font-size:.8rem;font-weight:700}.calendar-nav{display:flex;gap:.5rem}.calendar-nav .btn{flex:1}.calendar-legend .card-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr));gap:1rem}.calendar-legend .card-body li{margin-bottom:.35rem}[data-theme=dark] .key-sun{color:#64b5f6}.calendar-container{width:100%}.calendar-scroll-wrapper{overflow-x:auto;min-width:100%}.calendar-weekday{padding:.75rem;text-align:center;font-weight:700;text-transform:uppercase;font-size:.875rem;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:.375rem;box-shadow:0 1px 2px #0000000d;margin-bottom:.5rem;color:#495057}.calendar-weekday.weekend{background-color:#e3f2fd;color:#1976d2;border-color:#bbdefb}.calendar-weekday.weekday{background-color:#f3e5f5;color:#7b1fa2;border-color:#ce93d8}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(120px,1fr));gap:.5rem;background-color:transparent;min-width:840px;padding:.5rem}.calendar-day{background-color:#fff;min-height:120px;padding:0;display:flex;flex-direction:column;border:1px solid #dee2e6;border-radius:.375rem;box-shadow:0 1px 3px #0000001a;transition:box-shadow .15s ease-in-out}.calendar-day:hover{box-shadow:0 4px 6px #00000026}.calendar-day.empty{background-color:#f8f9fa;border:1px solid #e9ecef;box-shadow:none}.calendar-day.empty:hover{box-shadow:none}.star-rating{font-size:1rem}.day-header{padding:.5rem;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dee2e6;font-weight:700}.day-header.weekend{background-color:#f8f9fa;color:#495057}.day-header.weekday{background-color:#f1f3f4;color:#495057}.day-number{font-size:.875rem}.moon-image{height:16px;width:16px;object-fit:contain}.moon-fallback{font-size:14px;color:#ffc107}.day-content{padding:.5rem;flex-grow:1;font-size:.75rem}@media (max-width: 576px){.calendar-weekday{font-size:.75rem;padding:.5rem}.calendar-grid{grid-template-columns:repeat(7,minmax(110px,1fr));min-width:770px}.calendar-day{min-height:140px}}.daily-rating{background-color:#ffc1071a;border-radius:.25rem;padding:.25rem;margin-bottom:.5rem}.daily-rating .fa-star{color:#ffc107;font-size:.75rem;margin-right:.1rem}.daily-rating .far.fa-star{color:#dee2e6}.rating{text-align:center}.fishing-times .time-period{margin-bottom:.25rem;line-height:1.2}.time-period.major{color:#3498db;font-weight:600}.time-period.major.font-weight-bold{background-color:#3498db26;border-radius:.25rem;padding:.1rem .25rem;font-weight:700;border:1px solid rgba(52,152,219,.3)}.time-period.minor{color:#27ae60;font-weight:500}.time-period.minor.font-weight-bold{background-color:#27ae6026;border-radius:.25rem;padding:.1rem .25rem;font-weight:700;border:1px solid rgba(39,174,96,.3)}.tide-times{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #eee}.tide-entry{margin-bottom:.15rem;line-height:1.1;color:#6c757d;font-size:.75rem}.tide-type{font-size:.65rem;font-weight:500}.celestial-times{margin-top:.5rem;padding-top:.5rem;border-top:1px solid #eee}.celestial-times div{margin-bottom:.25rem;line-height:1.2;color:#6c757d}[data-theme=dark] .calendar-container{background-color:var(--bg-primary);color:var(--text-primary)}[data-theme=dark] .calendar-grid{background-color:transparent}[data-theme=dark] .calendar-day{background-color:var(--card-bg);color:var(--text-primary);border-color:var(--border-color);box-shadow:0 1px 3px #ffffff0d}[data-theme=dark] .calendar-day:hover{box-shadow:0 4px 6px #ffffff1a}[data-theme=dark] .calendar-day.empty{background-color:var(--bg-secondary);border-color:var(--border-color);box-shadow:none}[data-theme=dark] .calendar-day.empty:hover{box-shadow:none}[data-theme=dark] .day-header{border-bottom-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .day-header.weekend,[data-theme=dark] .day-header.weekday{background-color:var(--bg-secondary);color:var(--text-primary)}[data-theme=dark] .calendar-weekday{background-color:var(--bg-secondary);color:var(--text-primary);border-color:var(--border-color);box-shadow:0 1px 2px #ffffff08}[data-theme=dark] .calendar-weekday.weekend{background-color:#1e88e526;color:#64b5f6;border-color:#1e88e54d}[data-theme=dark] .calendar-weekday.weekday{background-color:#7b1fa226;color:#ba68c8;border-color:#7b1fa24d}[data-theme=dark] .daily-rating{background-color:#ffc10726}[data-theme=dark] .time-period.major.font-weight-bold{background-color:#3498db33;border-color:#3498db66}[data-theme=dark] .time-period.minor.font-weight-bold{background-color:#27ae6033;border-color:#27ae6066}[data-theme=dark] .tide-times,[data-theme=dark] .celestial-times{border-top-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .star-rating .fas.fa-star{color:#ffc107}@media (max-width: 768px){.calendar-day{min-height:100px}.day-content{font-size:.7rem;padding:.25rem}.tide-times,.celestial-times{display:none}}@media (max-width: 992px){.calendar-day{min-height:110px}}.calendar-view-toggle{display:flex;justify-content:center;margin-bottom:1rem}.calendar-view-toggle .btn+.btn{margin-left:-1px;border-top-left-radius:0;border-bottom-left-radius:0}.calendar-view-toggle .btn:first-child:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.calendar-view-toggle .btn.active{background-color:#2176bd;border-color:#2176bd;color:#fff}.calendar-view-toggle .btn{font-weight:500;padding:.5rem 1.5rem}.calendar-list-container{display:flex;flex-direction:column;gap:1rem;padding:.5rem}.calendar-list-day{background-color:#fff;border:1px solid #dee2e6;border-radius:.5rem;padding:1rem;box-shadow:0 2px 4px #0000000d;transition:box-shadow .15s ease-in-out;position:relative}.calendar-list-day:hover{box-shadow:0 4px 8px #0000001a}.calendar-list-day.weekend{border-left:4px solid #1976d2}.calendar-list-day.weekday{border-left:4px solid #7b1fa2}.list-day-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:.75rem;margin-bottom:.75rem;border-bottom:2px solid #f1f3f4}.list-day-info{display:flex;align-items:center;gap:.75rem}.list-day-number{font-size:2rem;font-weight:700;color:#495057;min-width:50px;text-align:center}.list-day-text{display:flex;flex-direction:column}.list-day-name{font-size:1.125rem;font-weight:600;color:#212529}.list-day-date{font-size:.875rem;color:#6c757d}.list-day-moon{display:flex;align-items:center}.moon-image-list{height:40px;width:40px;object-fit:contain}.moon-fallback-list{font-size:2rem;color:#ffc107}.list-day-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.list-section-label{font-size:.75rem;font-weight:900;text-transform:uppercase;text-align:left;color:#6c757d;margin-bottom:.5rem;letter-spacing:.5px}.list-rating-section{text-align:center}.list-rating-section .rating{background-color:#ffc1071a;padding:.5rem;border-radius:.375rem}.list-fishing-section,.list-tide-section,.list-celestial-section{display:flex;flex-direction:column}.list-fishing-times,.list-tide-times,.list-celestial-times{display:flex;flex-direction:column;gap:.5rem}.list-time-period{display:flex;align-items:center;gap:.5rem;padding:.5rem;border-radius:.375rem;font-size:.875rem}.list-time-period.major{color:#3498db;background-color:#3498db1a}.list-time-period.minor{color:#27ae60;background-color:#27ae601a}.list-time-period.highlighted{font-weight:700;border:1px solid currentColor}.list-time-period .period-type{margin-left:auto;font-size:.75rem;font-weight:600;padding:.125rem .5rem;border-radius:.25rem;background-color:#0000000d}.list-time-period .star-action{font-size:.7rem;margin-left:.25rem}.star-action{color:#5d4603bd}.list-tide-entry{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;background-color:#f8f9fa;border-radius:.25rem;font-size:.875rem}.list-tide-entry .tide-level{margin-left:auto;font-weight:600}.list-sun-times,.list-moon-times{display:flex;align-items:center;gap:.5rem;padding:.375rem .5rem;background-color:#f8f9fa;border-radius:.25rem;font-size:.875rem}@media (max-width: 768px){.list-day-content{grid-template-columns:1fr}.list-day-number{font-size:1.5rem;min-width:40px}.list-day-name{font-size:1rem}.calendar-view-toggle .btn{padding:.375rem 1rem;font-size:.875rem}}[data-theme=dark] .star-action{color:#fbdf09}[data-theme=dark] .calendar-list-day{background-color:var(--card-bg);border-color:var(--border-color);color:var(--text-primary)}[data-theme=dark] .list-day-header{border-bottom-color:var(--border-color)}[data-theme=dark] .list-day-number,[data-theme=dark] .list-day-name{color:var(--text-primary)}[data-theme=dark] .list-day-date,[data-theme=dark] .list-section-label{color:var(--text-secondary)}[data-theme=dark] .list-time-period.major{background-color:#3498db33}[data-theme=dark] .list-time-period.minor{background-color:#27ae6033}[data-theme=dark] .list-tide-entry,[data-theme=dark] .list-sun-times,[data-theme=dark] .list-moon-times{background-color:var(--bg-secondary);color:var(--text-primary)}[data-theme=dark] .list-time-period .period-type{background-color:#ffffff0d}
