/* Daily workspace: content order is also the reading and keyboard order. */
.workspace-content #ma .hero-grid { grid-template-columns: minmax(0, 1fr); }
.workspace-more { margin-top: 1rem; }
.workspace-more > summary { color: #b6b3ba; cursor: pointer; font-size: .75rem; padding: .5rem .8rem; }
.workspace-more .workspace-nav { margin-top: .5rem; }
.score-overview { margin-bottom: 1.25rem; }
.score-overview .hero-score-wrap { justify-content: flex-start; }
.score-overview .overall-ring { width: 120px; height: 120px; }
.score-overview .overall-ring-inner b { font-size: 35px; }
.daily-primary { max-width: 58ch; margin: 1.2rem 0; font-size: clamp(1.08rem, 1.8vw, 1.3rem); line-height: 1.65; color: #f3eee5; }
.daily-context { margin: 1rem 0; color: #b6b3ba; }
.daily-context summary { width: fit-content; cursor: pointer; color: #dfbd85; }
.daily-context .hero-summary { margin-top: 1rem; font-size: .85rem; }
.daily-shortcuts { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.daily-shortcuts a { text-decoration: none; }
.daily-shortcuts .primary-btn, #checkin-form .primary-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .8rem 1.1rem; border: 1px solid #dfbd85; border-radius: 8px; background: #dfbd85; color: #171b2b; font: 600 .85rem/1.4 system-ui, sans-serif; cursor: pointer; }
.daily-shortcuts .primary-btn:hover, #checkin-form .primary-btn:hover { background: #ead1a9; border-color: #ead1a9; }
.daily-shortcuts .primary-btn:focus-visible, #checkin-form .primary-btn:focus-visible { outline: 2px solid #f3eee5; outline-offset: 3px; }
#checkin-fields:disabled .primary-btn { cursor: wait; }
.daily-rollover { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid #dfbd8570; border-radius: 12px; background: #20202d; }
.daily-rollover[hidden] { display: none; }
.daily-rollover p { margin: 0 0 .6rem; }
.daily-sky-grid, .daily-checkin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
.daily-sky-grid .panel, .daily-checkin-grid .panel { min-width: 0; }
.moon-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.moon-metrics strong { display: block; color: #dfbd85; font-family: Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.2; }
.moon-metrics span { display: block; color: #b6b3ba; font-size: .78rem; margin-top: .45rem; }
.daily-retrograde { font-size: .85rem; padding-top: 1rem; border-top: 1px solid #dfbd8526; }
.moon-events { list-style: none; margin: 1.1rem 0 1.5rem; padding: 0; }
.moon-events li { padding: .7rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem .7rem; border-bottom: 1px solid #dfbd851a; }
.moon-events strong { font-weight: 500; }
.moon-events time { color: #dfbd85; font-size: .85rem; }
.daily-events-card .tiny { margin-bottom: 0; }
#checkin-form fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
#checkin-form .checkin-scale { margin: 0 0 1.2rem; }
.checkin-scale legend { color: #f3eee5; font-size: .95rem; margin-bottom: .65rem; }
.checkin-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; }
.checkin-options label { min-width: 0; margin: 0; position: relative; }
.checkin-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkin-options label > span { display: flex; flex-direction: column; justify-content: center; min-height: 74px; box-sizing: border-box; border: 1px solid #dfbd852b; border-radius: 8px; padding: .45rem .15rem; cursor: pointer; text-align: center; background: #101421; }
.checkin-options b { font-size: 1.05rem; font-weight: 500; color: #dfbd85; }
.checkin-options small { font-size: .63rem; line-height: 1.2; color: #b6b3ba; margin-top: .3rem; overflow-wrap: anywhere; }
.checkin-options input:checked + span { background: #dfbd851c; border-color: #dfbd85; }
.checkin-options input:focus-visible + span { outline: 2px solid #dfbd85; outline-offset: 3px; }
#checkin-fields:disabled { opacity: .6; }
#checkin-fields:disabled .checkin-options label > span { cursor: wait; }
.checkin-note { display: block; font-size: .9rem; }
.checkin-note textarea { display: block; box-sizing: border-box; width: 100%; min-height: 84px; resize: vertical; border: 1px solid #dfbd8536; border-radius: 8px; background: #101421; color: #f3eee5; padding: .7rem; font: inherit; line-height: 1.5; margin: .65rem 0 1rem; }
.checkin-note textarea:focus { outline: 2px solid #dfbd85; outline-offset: 2px; }
.checkin-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; list-style: none; padding: 0; margin: 1.5rem 0 .8rem; }
.checkin-week li { min-width: 0; text-align: center; }
.checkin-week time { display: block; min-height: 2.8em; line-height: 1.4; color: #b6b3ba; font-size: .7rem; }
.checkin-week li[data-today] time { color: #dfbd85; font-weight: 600; }
.checkin-bars { display: flex; justify-content: center; align-items: end; height: 90px; gap: 3px; margin: .6rem 0; border-bottom: 1px solid #dfbd8526; }
.checkin-bars i { display: block; width: 10px; height: var(--bar-height); border-radius: 3px 3px 0 0; }
.checkin-bars .mood-bar { background: #dfbd85; }
.checkin-bars .energy-bar { background: #9caee1; }
.checkin-week small { color: #b6b3ba; font-size: .64rem; white-space: nowrap; }
.mood-key { color: #dfbd85; }
.energy-key { color: #9caee1; }
#holdnaptar .tiny, #daily-checkin .tiny { font-size: .75rem; line-height: 1.6; color: #b6b3ba; }
.site-version { box-sizing: border-box; padding-top: 1rem; padding-bottom: 1.25rem; margin-block: 0; font: 400 13px/1.6 system-ui, sans-serif; color: #b6b3ba; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1050px) { .daily-checkin-grid { grid-template-columns: 1fr; } }
@media (max-width: 1020px) { .workspace-priority { grid-template-columns: repeat(3, minmax(0, 1fr)); } .workspace-more { margin-top: .35rem; } .workspace-more > summary { padding: .5rem .3rem; } }
@media (max-width: 700px) { .daily-sky-grid { grid-template-columns: 1fr; } .daily-shortcuts { gap: .5rem; } .daily-shortcuts a { font-size: .8rem; } }
@media print { .daily-rollover, .daily-shortcuts, #checkin-form, #export-moon-calendar { display: none !important; } }
