:root {
  --ink: #16201e;
  --muted: #66706c;
  --paper: #f4f0e7;
  --paper-deep: #ebe5d8;
  --white: #fffdf8;
  --forest: #12201d;
  --forest-2: #1a2d29;
  --sage: #91a79b;
  --gold: #c98e55;
  --blue: #668da3;
  --line: rgba(28, 42, 38, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --shadow: 0 18px 55px rgba(41, 37, 29, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); min-height: 100vh; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ambient-stars { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.ambient-stars i { position: absolute; width: 2px; height: 2px; background: rgba(255,255,255,.5); border-radius: 50%; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 272px; color: #dce3df;
  background:
    radial-gradient(circle at 10% 75%, rgba(93,132,113,.18), transparent 28%),
    linear-gradient(160deg, #152521, #0d1715 72%);
  display: flex; flex-direction: column; padding: 34px 24px 24px; z-index: 20;
}
.sidebar::before { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.brand { display: flex; align-items: center; gap: 14px; padding: 0 8px 36px; border-bottom: 1px solid rgba(255,255,255,.1); position: relative; }
.brand strong { display: block; font: 600 18px/1 var(--serif); letter-spacing: .18em; color: #fff; }
.brand small { display: block; font-size: 8px; letter-spacing: .17em; color: #82928c; margin-top: 7px; }
.brand-mark { width: 36px; height: 36px; position: relative; border: 1px solid #73847d; border-radius: 50%; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid #9ab0a5; }
.brand-mark::before { width: 22px; height: 9px; left: 6px; top: 12px; transform: rotate(-25deg); }
.brand-mark::after { width: 3px; height: 3px; left: 15px; top: 15px; background: #d5aa74; border: none; box-shadow: 9px -5px #fff, -7px 7px #fff; }

.primary-nav { padding-top: 28px; display: grid; gap: 5px; position: relative; }
.nav-item {
  border: 0; background: transparent; color: #8f9d97; padding: 13px 13px; display: flex; align-items: center;
  gap: 13px; border-radius: 5px; cursor: pointer; text-align: left; font-size: 13px; transition: .2s ease;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.045); }
.nav-item.active { color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 2px 0 #d4a46e; }
.nav-item svg { width: 18px; }
.nav-item b { margin-left: auto; font-size: 10px; min-width: 20px; text-align: center; border-radius: 8px; padding: 2px 5px; background: #344640; color: #b8c2be; }
.sidebar-spacer { flex: 1; }
.dark-site-card { position: relative; padding: 18px; min-height: 158px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); overflow: hidden; margin: 20px 0; }
.dark-site-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent, rgba(96,132,116,.12)); pointer-events: none; }
.dark-site-card small { font-size: 8px; letter-spacing: .16em; color: #778882; }
.dark-site-card strong { display: block; margin-top: 8px; font: 20px/1 var(--serif); color: #f5f0e6; }
.dark-site-card p { font-size: 10px; color: #88978f; }
.dark-site-card button { padding: 0; border: 0; background: none; color: #d7b185; font-size: 10px; cursor: pointer; position: absolute; bottom: 16px; z-index: 2; }
.dark-site-card button svg { width: 13px; vertical-align: middle; margin-left: 5px; }
.mini-sky { position: absolute; right: -7px; top: 0; width: 105px; height: 100px; opacity: .7; }
.mini-sky i { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; box-shadow: 0 0 5px #fff; }
.mini-sky i:nth-of-type(1) { left: 18px; top: 22px; }.mini-sky i:nth-of-type(2) { left: 50px; top: 36px; }.mini-sky i:nth-of-type(3) { left: 75px; top: 18px; }.mini-sky i:nth-of-type(4) { left: 84px; top: 61px; }
.constellation-line { position: absolute; height: 1px; background: rgba(255,255,255,.25); transform-origin: left; }
.line-a { width: 36px; left: 19px; top: 23px; transform: rotate(23deg); }.line-b { width: 33px; left: 51px; top: 37px; transform: rotate(-34deg); }
.profile { padding: 20px 4px 0; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; position: relative; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: #344a42; display: grid; place-items: center; color: #e7decf; font: 11px var(--serif); }
.profile strong { display: block; font: 12px var(--serif); color: #e5e2dc; }.profile small { display: block; color: #718078; font-size: 9px; margin-top: 4px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #86a994; box-shadow: 0 0 0 3px rgba(134,169,148,.1); }

.app-shell { margin-left: 272px; min-height: 100vh; }
.topbar { height: 82px; padding: 0 42px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(244,240,231,.88); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10; }
.date-lockup small { display: block; font-size: 7px; letter-spacing: .2em; color: #9a968c; margin-bottom: 6px; }.date-lockup strong { font: 11px var(--serif); letter-spacing: .09em; }
.topbar-actions { display: flex; align-items: center; gap: 14px; }
.search-box { width: 250px; height: 39px; display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 4px; padding: 0 11px; }
.search-box svg { width: 16px; color: #7f8883; }.search-box input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 11px; color: var(--ink); }
.search-box kbd { white-space: nowrap; color: #969990; border: 1px solid #d7d4cb; background: #f8f6f0; border-radius: 3px; padding: 2px 5px; font: 9px var(--sans); }
.primary-button, .outline-button, .ghost-button { border-radius: 3px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: .2s; }
.primary-button { border: 1px solid var(--forest); background: var(--forest); color: #fff; height: 40px; padding: 0 17px; font-size: 10px; letter-spacing: .04em; box-shadow: 0 5px 14px rgba(18,32,29,.13); }
.primary-button:hover { background: #243a35; transform: translateY(-1px); }.primary-button svg { width: 14px; }
.menu-button { display: none; border: 0; background: transparent; }

main { padding: 43px 42px 65px; max-width: 1680px; margin: 0 auto; }
.view { display: none; animation: reveal .35s ease both; }.view.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.eyebrow { font-size: 8px; letter-spacing: .2em; color: #8c8a82; margin: 0 0 12px; font-weight: 700; }
.page-heading h1, .subpage-head h1 { font: 400 38px/1 var(--serif); margin: 0 0 11px; letter-spacing: -.025em; }
.page-heading > div > p:last-child, .subpage-head > div > p:last-child { margin: 0; font: italic 14px var(--serif); color: #777870; }
.conditions-strip { display: flex; border: 1px solid var(--line); background: rgba(255,255,255,.38); padding: 12px 2px; }
.conditions-strip > div { display: flex; align-items: center; gap: 9px; padding: 0 18px; border-right: 1px solid var(--line); }.conditions-strip > div:last-child { border: 0; }
.conditions-strip svg, .meter-icon { color: #71867b; width: 20px; }
.conditions-strip small, .conditions-strip strong { display: block; }.conditions-strip small { font-size: 7px; letter-spacing: .14em; color: #9b988f; margin-bottom: 4px; }.conditions-strip strong { font: 11px var(--serif); white-space: nowrap; }

.dashboard-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 380px 330px; gap: 18px; }
.panel { background: rgba(255,253,248,.68); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tonight-card { position: relative; overflow: hidden; color: white; grid-column: span 2; box-shadow: var(--shadow); min-height: 360px; }
.tonight-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) brightness(.65); transform: scale(1.02); transition: 1s ease; }
.tonight-card:hover img { transform: scale(1.055); }
.image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,14,.92) 0%, rgba(8,18,16,.66) 46%, rgba(5,10,9,.1) 100%); }
.tonight-copy { position: relative; z-index: 2; padding: 36px 40px; width: 68%; height: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.section-label { font-size: 8px; letter-spacing: .2em; color: #d7c1a6; margin-bottom: 20px; }.section-label span { display: inline-block; vertical-align: middle; width: 22px; height: 1px; background: #d7a66d; margin-right: 8px; }
.tonight-copy h2 { font: 400 36px/1.05 var(--serif); margin: 0 0 14px; letter-spacing: -.025em; }.tonight-copy h2 em { color: #d8ad7b; }
.tonight-copy > p { max-width: 480px; color: #b8c1bd; font: 12px/1.7 var(--serif); margin: 0 0 21px; }
.tonight-meta { display: flex; margin-bottom: 22px; }.tonight-meta div { padding-right: 24px; margin-right: 24px; border-right: 1px solid rgba(255,255,255,.14); }.tonight-meta div:last-child { border: 0; }
.tonight-meta small, .tonight-meta strong { display: block; }.tonight-meta small { font-size: 6px; letter-spacing: .16em; color: #788983; margin-bottom: 6px; }.tonight-meta strong { font: 10px var(--serif); }
.ghost-button { height: 38px; padding: 0 16px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: white; font-size: 9px; letter-spacing: .05em; backdrop-filter: blur(5px); }.ghost-button:hover { border-color: #d6aa78; background: rgba(214,170,120,.12); }.ghost-button svg { width: 13px; }
.image-credit { position: absolute; bottom: 14px; right: 16px; z-index: 2; color: rgba(255,255,255,.55); font-size: 6px; letter-spacing: .14em; }

.panel-head { display: flex; justify-content: space-between; align-items: flex-start; }
.panel-head h3 { font: 400 23px/1 var(--serif); margin: 0; }.panel-head .eyebrow { margin-bottom: 9px; }
.moon-card { position: relative; padding: 26px; overflow: hidden; background: linear-gradient(145deg, #f7f3eb, #e7e2d8); }
.live-pill { font-size: 7px; letter-spacing: .1em; color: #6f7f77; border: 1px solid #cfd4cf; padding: 5px 7px; border-radius: 12px; }.live-pill i { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #7fa18f; margin-right: 4px; }
.moon-visual { position: relative; height: 194px; display: grid; place-items: center; }
.moon-disc { width: 116px; height: 116px; border-radius: 50%; background: radial-gradient(circle at 36% 32%, #fffdf3, #ddd8cc 60%, #a9a99f); box-shadow: 0 14px 35px rgba(42,52,49,.18), inset -10px -8px 18px rgba(80,78,69,.13); position: relative; overflow: hidden; }
.moon-disc::after, .moon-disc::before { content:""; position:absolute; border-radius: 50%; background: rgba(90,91,85,.1); box-shadow: inset 2px 2px 3px rgba(255,255,255,.2); }
.moon-disc::before { width: 21px; height: 21px; left: 24px; top: 47px; box-shadow: 46px -25px 0 rgba(90,91,85,.08), 51px 21px 0 rgba(90,91,85,.09); }.moon-disc::after { width: 12px; height: 12px; left: 59px; top: 22px; }
.moon-disc span { position: absolute; inset: -4px; border-radius: 50%; background: #343f3b; transform: translateX(100%); opacity: .75; transition: .5s; }
.moon-orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(58,75,69,.09); border-radius: 50%; transform: translate(-50%,-50%) rotate(-18deg); }
.orbit-one { width: 165px; height: 80px; }.orbit-two { width: 205px; height: 112px; }.orbit-two::after { content: ""; position: absolute; width: 4px; height: 4px; background: #7b9185; border-radius: 50%; top: 12px; right: 27px; }
.moon-stats { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); padding-top: 17px; text-align: center; }
.moon-stats div { border-right: 1px solid var(--line); }.moon-stats div:last-child { border: 0; }.moon-stats strong { display: block; font: 16px var(--serif); }.moon-stats small { display: block; font-size: 7px; color: #918f87; margin-top: 6px; }

.events-panel { grid-row: 2; padding: 27px; }
.text-button, .icon-button { border: 0; background: none; cursor: pointer; color: #68756f; }.text-button { font-size: 8px; letter-spacing: .06em; padding: 6px 0; }.text-button svg { width: 12px; vertical-align: middle; margin-left: 5px; }
.event-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 15px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }.event-row:last-child { border: 0; padding-bottom: 0; }
.event-date { border: 1px solid var(--line); text-align: center; padding: 7px 4px 5px; }.event-date strong { display: block; font: 19px var(--serif); }.event-date small { font-size: 6px; letter-spacing: .14em; color: #8b8c85; }
.event-type { font-size: 6px; letter-spacing: .14em; font-weight: 700; }.event-type.meteor { color: #ad6a54; }.event-type.conjunction { color: #5e8293; }.event-type.lunar { color: #96743f; }
.event-row h4 { margin: 5px 0 4px; font: 14px var(--serif); }.event-row p { margin: 0; font-size: 8px; color: #85857f; }
.weather-badge { font-size: 8px; color: #65716d; }.weather-badge svg { width: 13px; vertical-align: middle; }
.recent-panel { grid-row: 2; padding: 27px; grid-column: 2; }
.icon-button { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; padding: 0; }.icon-button svg { width: 14px; }
.recent-grid { margin-top: 20px; display: grid; gap: 10px; }
.recent-item { display: grid; grid-template-columns: 53px 1fr auto; gap: 12px; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--line); cursor: pointer; }
.recent-item:last-child { border: 0; }.recent-thumb { width: 53px; height: 45px; background-size: cover; background-position: center; filter: saturate(.75); }
.recent-item small { display: block; font-size: 6px; color: #96958e; letter-spacing: .1em; margin-bottom: 4px; }.recent-item strong { font: 13px var(--serif); }.recent-item p { font-size: 8px; color: #737873; margin: 4px 0 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 165px; }
.rating { color: #bd8a55; font-size: 8px; letter-spacing: 1px; }
.progress-panel { grid-row: 2; padding: 27px; grid-column: 3; }
.year-progress { font: italic 9px var(--serif); color: #7b837f; }
.progress-body { display: grid; grid-template-columns: 115px 1fr; gap: 24px; align-items: center; margin-top: 18px; }
.ring-chart { width: 108px; height: 108px; border-radius: 50%; background: conic-gradient(#446359 0 58%, #dcd9cf 58%); display: grid; place-items: center; position: relative; }.ring-chart::before { content:""; position: absolute; width: 82px; height: 82px; background: #f8f5ee; border-radius: 50%; }.ring-chart span { position: relative; text-align: center; }.ring-chart strong, .ring-chart small { display: block; }.ring-chart strong { font: 25px var(--serif); }.ring-chart small { font-size: 6px; color: #96938a; letter-spacing: .13em; margin-top: 4px; }
.progress-stats div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); }.progress-stats span { font-size: 8px; color: #858780; }.progress-stats strong { font: 15px var(--serif); }.progress-stats strong small { font-size: 7px; color: #92948c; }
.month-bars { height: 72px; border-top: 1px solid var(--line); margin-top: 19px; display: flex; gap: 8px; align-items: flex-end; padding-top: 10px; }
.month-bars i { flex: 1; height: var(--h); max-height: 48px; background: #d7d5cc; position: relative; min-height: 3px; }.month-bars i.current { background: #567369; }.month-bars small { position: absolute; bottom: -16px; width: 100%; text-align: center; font: normal 6px var(--sans); color: #99978f; }

.subpage-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; }.subpage-head h1 { font-size: 44px; }
.toolbar { display: flex; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 11px 0; margin-bottom: 20px; }
.filter-tabs { display: flex; gap: 4px; }.filter-tabs button { border: 0; background: none; padding: 9px 15px; font-size: 9px; color: #858880; cursor: pointer; }.filter-tabs button.active { background: var(--forest); color: #fff; }
.outline-button { background: transparent; border: 1px solid var(--line); height: 35px; padding: 0 14px; font-size: 9px; }.outline-button:hover { border-color: #7c8983; }.outline-button svg { width: 13px; }
.observation-list { display: grid; gap: 1px; border: 1px solid var(--line); }
.log-entry { display: grid; grid-template-columns: 105px 1.35fr 1fr 110px; align-items: center; gap: 25px; padding: 20px 24px; background: rgba(255,253,248,.56); border-bottom: 1px solid var(--line); transition: .2s; }
.log-entry:last-child { border: 0; }.log-entry:hover { background: #fffdf8; transform: translateX(2px); }
.log-date strong { display: block; font: 22px var(--serif); }.log-date small { font-size: 7px; letter-spacing: .13em; color: #8d8e87; }
.log-title small { font-size: 7px; color: #668375; letter-spacing: .14em; }.log-title h3 { margin: 6px 0; font: 20px var(--serif); }.log-title p, .log-notes { font-size: 9px; line-height: 1.6; color: #7c807a; margin: 0; }
.log-rating { text-align: right; }.log-rating strong { display: block; font: 11px var(--serif); margin-bottom: 5px; }
.empty-state { padding: 70px 20px; text-align: center; font: italic 17px var(--serif); color: #858780; background: rgba(255,255,255,.4); }

.calendar-legend { display: flex; gap: 18px; font-size: 8px; color: #777c76; }.calendar-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; }.meteor-dot { background: #b96f55; }.lunar-dot { background: #c19a5e; }.planet-dot { background: #638aa1; }
.calendar-layout { display: grid; grid-template-columns: 1.5fr .75fr; gap: 18px; }
.month-card { padding: 28px; }
.month-switch { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }.month-switch button { border: 1px solid var(--line); background: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }.month-switch h3 { font: 24px var(--serif); margin: 0; }.month-switch h3 em { color: #8b8d85; font-weight: normal; }
.weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }.weekdays span { text-align: center; font-size: 7px; color: #9c9a91; padding: 8px; letter-spacing: .12em; }
.day { min-height: 75px; border-right: 1px solid var(--line); border-top: 1px solid var(--line); padding: 10px; position: relative; font: 11px var(--serif); }.day:nth-child(7n) { border-right: 0; }.day.muted { color: #bbb7ad; }.day.today { background: rgba(70,100,90,.07); }.day.today::after { content:"TODAY"; position:absolute; top:10px; right:8px; font: 6px var(--sans); letter-spacing:.1em; color:#557568; }
.day-event { display: block; margin-top: 8px; font: 7px/1.25 var(--sans); padding-left: 7px; border-left: 2px solid; }.day-event.meteor { border-color:#b96f55; color:#935641; }.day-event.planet { border-color:#638aa1; color:#52788f; }.day-event.lunar { border-color:#c19a5e; color:#8d6c38; }
.featured-event { position: relative; color: white; min-height: 560px; overflow: hidden; }.featured-event img { position: absolute; width:100%; height:100%; object-fit:cover; filter:brightness(.55) saturate(.72); }.featured-event::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(6,14,12,.95),transparent 80%); }
.featured-copy { position:absolute; z-index:2; left:30px; right:30px; bottom:30px; }.featured-copy h2 { font: 34px/1.05 var(--serif); margin: 12px 0; }.featured-copy p { font: 12px/1.6 var(--serif); color:#c4ccc8; }
.featured-copy dl { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid rgba(255,255,255,.2); padding-top:18px; margin:20px 0 0; }.featured-copy dt { font-size:6px; color:#8ea099; letter-spacing:.13em; }.featured-copy dd { margin:6px 0 0; font:10px var(--serif); }

.catalogue-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: 260px; gap: 18px; }
.object-card { position: relative; overflow: hidden; color: white; }.object-card.large { grid-row: span 2; }.object-card.wide { grid-column: span 2; }
.object-card img { width:100%; height:100%; object-fit:cover; filter:brightness(.65) saturate(.78); transition:.7s; }.object-card:hover img { transform:scale(1.05); filter:brightness(.72) saturate(.9); }
.object-card::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg,rgba(6,14,12,.9),transparent 65%); }
.object-card div { position:absolute; z-index:2; left:24px; right:24px; bottom:23px; }.object-card small { font-size:6px; letter-spacing:.15em; color:#b9c8c1; }.object-card h2 { font:29px var(--serif); margin:7px 0 2px; }.object-card p { margin:0 0 10px; font:italic 12px var(--serif); color:#d7dbd8; }.object-card span { font-size:7px; color:#8fa39b; }

.notes-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }.note-card { min-height:240px; background:#fffdf8; border:1px solid var(--line); padding:28px; box-shadow:var(--shadow); position:relative; }.note-card::before { content:""; position:absolute; top:0; left:25px; width:28px; height:2px; background:#7b9588; }.note-card.pinned::before { background:#c58c52; }.note-card span { font-size:7px; letter-spacing:.16em; color:#7d8d85; }.note-card h3 { font:24px var(--serif); margin:25px 0 13px; }.note-card p { font:13px/1.75 var(--serif); color:#6f746f; }.note-card small { position:absolute; bottom:25px; left:28px; font-size:6px; letter-spacing:.13em; color:#a09d94; }.note-card.quote { grid-column:span 2; background:var(--forest); color:white; }.note-card blockquote { font:italic 28px/1.35 var(--serif); margin:28px 0; max-width:670px; color:#e8e2d9; }.note-card.quote small { color:#788c83; }

footer { margin: 0 42px; min-height: 66px; border-top: 1px solid var(--line); display:flex; justify-content:space-between; align-items:center; color:#99978f; font-size:7px; letter-spacing:.13em; }.footer i, footer i { display:inline-block; width:5px; height:5px; background:#789888; border-radius:50%; margin:0 6px; }

.modal-backdrop { position:fixed; inset:0; background:rgba(5,12,10,.72); z-index:50; display:grid; place-items:center; padding:20px; opacity:0; visibility:hidden; transition:.25s; backdrop-filter:blur(5px); }.modal-backdrop.open { opacity:1; visibility:visible; }
.modal { width:min(650px,100%); background:var(--paper); padding:32px; box-shadow:0 30px 90px rgba(0,0,0,.3); transform:translateY(10px); transition:.25s; }.modal-backdrop.open .modal { transform:none; }
.modal-head { display:flex; justify-content:space-between; align-items:flex-start; border-bottom:1px solid var(--line); padding-bottom:20px; margin-bottom:23px; }.modal-head h2 { margin:0; font:30px var(--serif); }.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }.form-grid .span-2 { grid-column:span 2; }.form-grid label { font-size:8px; letter-spacing:.1em; color:#777b75; }.form-grid input,.form-grid select,.form-grid textarea { width:100%; display:block; margin-top:8px; border:1px solid var(--line); background:#fffdf8; padding:11px 12px; outline:none; border-radius:2px; font-size:11px; color:var(--ink); }.form-grid textarea { resize:vertical; line-height:1.5; }.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus { border-color:#6f8c7e; box-shadow:0 0 0 2px rgba(111,140,126,.09); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; border-top:1px solid var(--line); padding-top:20px; margin-top:24px; }
.toast { position:fixed; z-index:70; right:28px; bottom:28px; background:var(--forest); color:#fff; padding:14px 18px; display:flex; gap:10px; align-items:center; font-size:10px; box-shadow:0 15px 50px rgba(0,0,0,.25); transform:translateY(80px); opacity:0; transition:.35s; }.toast.show { transform:none; opacity:1; }.toast svg { width:15px; color:#9fc0af; }

@media (max-width: 1180px) {
  .sidebar { width: 225px; padding-left:18px; padding-right:18px; }.app-shell { margin-left:225px; }
  .dashboard-grid { grid-template-columns:1.4fr 1fr; grid-template-rows:auto; }.tonight-card { grid-column:1 / -1; }.moon-card { grid-column:2; grid-row:2; }.events-panel { grid-column:1; grid-row:2; }.recent-panel { grid-column:1; grid-row:3; }.progress-panel { grid-column:2; grid-row:3; }
  .conditions-strip { display:none; }.catalogue-grid { grid-template-columns:repeat(2,1fr); }.notes-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 820px) {
  .sidebar { transform:translateX(-100%); transition:.3s; width:272px; }.sidebar.open { transform:none; box-shadow:20px 0 60px rgba(0,0,0,.25); }.app-shell { margin-left:0; }
  .topbar { height:68px; padding:0 18px; }.menu-button { display:grid; place-items:center; }.date-lockup { display:none; }.search-box { width:180px; }.primary-button { padding:0 12px; }
  main { padding:28px 18px 50px; }.page-heading { align-items:flex-start; }.page-heading h1 { font-size:31px; }
  .tonight-copy { width:90%; padding:30px; }.tonight-meta div { padding-right:12px; margin-right:12px; }.dashboard-grid { display:block; }.dashboard-grid > * { margin-bottom:16px; }.moon-card,.events-panel,.recent-panel,.progress-panel { min-height:auto; }
  .subpage-head { align-items:flex-start; }.subpage-head h1 { font-size:36px; }.calendar-layout { grid-template-columns:1fr; }.featured-event { min-height:500px; }.catalogue-grid { grid-template-columns:1fr; grid-auto-rows:300px; }.object-card.large { grid-row:span 1; }.object-card.wide { grid-column:span 1; }.notes-grid { grid-template-columns:1fr; }.note-card.quote { grid-column:span 1; }
  .log-entry { grid-template-columns:80px 1fr auto; }.log-notes { display:none; }.calendar-legend { display:none; } footer { margin:0 18px; } footer span:last-child { display:none; }
}
@media (max-width: 560px) {
  .topbar .search-box { display:none; }.topbar-actions { margin-left:auto; }.topbar .primary-button { font-size:0; width:40px; padding:0; }.topbar .primary-button svg { width:16px; }
  .tonight-card { min-height:520px; }.tonight-copy { width:100%; padding:28px 24px; justify-content:flex-end; }.tonight-copy h2 { font-size:33px; }.tonight-meta { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.tonight-meta div { border:0; }
  .subpage-head { display:block; }.subpage-head .primary-button { margin-top:20px; }.filter-tabs button { padding:8px; }.toolbar > .outline-button { display:none; }.log-entry { grid-template-columns:65px 1fr; padding:17px 14px; gap:12px; }.log-rating { display:none; }
  .month-card { padding:14px 8px; }.day { min-height:56px; padding:6px; }.day-event { font-size:0; width:5px; height:5px; border:0; border-radius:50%; background:#a66550; padding:0; }.featured-copy dl { gap:8px; }
  .form-grid { grid-template-columns:1fr; }.form-grid .span-2 { grid-column:span 1; }.modal { padding:24px 19px; max-height:94vh; overflow:auto; }
}
