/* AL-HARAMEEN — almanac.css: the seasonal almanac of the calendar page (hrm-almanac.js) */
.alm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 18px;
  background: linear-gradient(180deg, #fff, #faf6ea); border: 1px solid var(--line, #e3ddd0); border-radius: 22px; padding: 22px; box-shadow: 0 12px 34px rgba(14,91,56,.07); }
.alm-fig { margin: 0; display: grid; gap: 10px; justify-items: center; }
.alm-wheel { width: 100%; max-width: 440px; height: auto; display: block; filter: drop-shadow(0 10px 22px rgba(10,42,29,.25)); }
.alm-wheel path[data-ring] { transition: filter .2s, opacity .2s; }
.alm-wheel path[data-ring="z"].on { fill: #c9a544; }
.alm-wheel path[data-ring="m"].on { fill: #c9a544; }
.alm-wheel path[data-ring="f"].on { filter: brightness(1.12) saturate(1.3); stroke: #fff; stroke-width: 2.4; }
.alm-tz { fill: #e9f2ec; font-family: var(--font-head, sans-serif); font-weight: 700; }
.alm-tm { fill: #3d4b42; font-family: Rubik, sans-serif; font-weight: 700; }
.alm-tf { fill: #1f2a22; font-family: var(--font-head, sans-serif); font-weight: 800; }
.alm-c1 { font: 700 13px var(--font-head, sans-serif); fill: #6b7a70; }
.alm-c2 { font: 800 25px var(--font-head, sans-serif); fill: #0b3d27; }
.alm-c3 { font: 700 13px var(--font-head, sans-serif); fill: #8a6d12; }
.alm-hand { transition: transform .5s cubic-bezier(.3,.7,.3,1); }
.alm-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 13px; color: var(--ink-soft, #5b665f); font-weight: 700; }
.alm-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; border: 1px solid rgba(0,0,0,.15); }
.alm-cards { display: grid; gap: 12px; }
.alm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.alm-date { margin: 0; font: 800 17px var(--font-head, sans-serif); color: var(--green-900, #0b3d27); }
.alm-card { background: #fff; border: 1px solid var(--line, #e3ddd0); border-radius: 16px; padding: 14px 16px; border-inline-start: 5px solid var(--green-700, #0e5b38); }
.alm-card-m { border-inline-start-color: #c9a544; }
.alm-card-f { border-inline-start-color: #e8834f; }
.alm-card h3 { margin: 0; font: 700 13px var(--font-head, sans-serif); color: var(--ink-soft, #5b665f); }
.alm-name { margin: 2px 0 0; font: 800 23px/1.3 var(--font-head, sans-serif); color: var(--ink, #17211b); }
.alm-day { margin: 4px 0 6px; font: 700 14px var(--font-head, sans-serif); color: var(--green-700, #0e5b38); }
.alm-bar { height: 6px; border-radius: 99px; background: #eee6d1; overflow: hidden; }
.alm-bar i { display: block; height: 100%; background: linear-gradient(90deg, #0e5b38, #c9a544); border-radius: 99px; }
[dir="rtl"] .alm-bar i { background: linear-gradient(270deg, #0e5b38, #c9a544); margin-inline-start: 0; }
.alm-range, .alm-next, .alm-extra { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-soft, #5b665f); line-height: 1.6; }
.alm-next { color: var(--ink, #17211b); font-weight: 700; }
.alm-note { margin: 2px 4px 0; font-size: 12.5px; color: var(--ink-soft, #5b665f); }
.cal-cell[data-g] { cursor: pointer; }
.cal-cell.alm-pick { outline: 3px solid #c9a544; outline-offset: -3px; }
@media (max-width: 900px) { .alm { grid-template-columns: 1fr; padding: 14px; gap: 16px; } .alm-wheel { max-width: 360px; } }
@media (prefers-reduced-motion: reduce) { .alm-hand { transition: none; } }
.alm-today[hidden] { display: none !important; }
