/* ---- Landing ----------------------------------------------------------------
   The front door, as the hub has always had it: a wordmark, a panel that
   explains itself, and the four things the hub does. */
.landing { position: relative; min-height: 100dvh; height: 100dvh; overflow-y: auto; background: var(--bg); }
.landing-inner { position: relative; z-index: 1; }
.landing-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px; border-bottom: 1px solid var(--glass-brd); }
.brand { display: flex; align-items: center; gap: 9px; color: var(--text); }
.landing-inner { max-width: 1040px; margin: 0 auto; padding: 78px 28px 60px; }
.rise { animation: riseIn .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero { text-align: center; margin-bottom: 74px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border: 1px solid var(--glass-brd); border-radius: 22px; margin-bottom: 30px; font-size: 12px; color: var(--text-2); }
.brand-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10px; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(52px, 9vw, 104px); line-height: .98; letter-spacing: -.035em; margin: 0 0 24px; }
.hero p { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--text-2); margin: 0 auto 34px; max-width: 540px; text-wrap: pretty; }
.hero .btn-lg { height: 46px; padding: 0 24px; border-radius: 11px; font-size: 14.5px; }
.hero-note { margin: 0 auto !important; font-size: 12.5px !important; color: var(--text-3) !important; }
.home-panels { display: flex; flex-wrap: wrap; border: 1px solid var(--glass-brd); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); margin-bottom: 72px; min-height: 290px; }
.home-panels-tabs { flex: 1 1 240px; min-width: 0; padding: 26px 22px; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; position: relative; }
.home-panels-tabs button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 12px; border: none; border-radius: 11px; text-align: left; background: transparent; color: var(--text-2); transition: background .25s var(--ease), color .25s var(--ease); }
.home-panels-tabs button.on { background: var(--accent-soft); color: var(--text); }
.home-panels-tabs button b { display: block; font-size: 13.5px; font-weight: 500; }
.home-panels-tabs button span.ellipsis { display: block; font-size: 11.5px; color: var(--text-3); }
.home-panels-tabs .dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--border-strong); transition: all .3s var(--ease); }
.home-panels-tabs button.on .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.home-panels-bar { height: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.home-panels-bar i { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.home-panels-body { flex: 2 1 400px; min-width: 0; padding: 34px 34px 30px; display: flex; flex-direction: column; justify-content: center; position: relative; animation: slideIn .45s var(--ease) both; }
@keyframes slideIn { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.home-panels-body .kicker, .home-feature .kicker { font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--accent); margin-bottom: 13px; }
.home-panels-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
.home-panels-body p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.68; color: var(--text-2); }
.home-panels-body ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; }
.home-panels-body li { font-size: 13px; line-height: 1.55; color: var(--text-3); }
.home-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 14px; margin-bottom: 64px; }
.home-feature { padding: 24px 22px 26px; border: 1px solid var(--glass-brd); border-radius: 16px; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.home-feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.home-feature .icon { font-size: 22px; line-height: 1; margin-bottom: 14px; color: var(--text); }
.home-feature .kicker { letter-spacing: .11em; margin-bottom: 8px; }
.home-feature h3 { font-family: var(--font-display); font-weight: 400; font-size: 18px; margin: 0 0 8px; line-height: 1.25; }
.home-feature p { margin: 0; font-size: 12.5px; line-height: 1.62; color: var(--text-2); }
.home-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-bottom: 58px; }
.home-stats > div { padding: 24px 20px; text-align: center; }
.home-stats .v { font-family: var(--font-display); font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--accent); margin-bottom: 7px; }
.home-stats .k { font-size: 11.5px; line-height: 1.5; color: var(--text-3); }
.home-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 26px; border-top: 1px solid var(--border); flex-wrap: wrap; font-size: 12px; color: var(--text-3); }
@media (max-width: 700px) { .landing-inner { padding: 48px 18px 40px; } .home-panels-tabs { border-right: none; border-bottom: 1px solid var(--border); } .home-panels-body { padding: 24px 20px; } }
.feature-icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }
.feature-icon svg { width: 20px; height: 20px; }

.auth-card { width: 100%; max-width: 420px; }
.oauth-btn { gap: 10px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12px; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---- Home dashboard ----------------------------------------------------------- */
.dash { flex: 1; overflow-y: auto; }
.dash-inner { max-width: 1100px; margin: 0 auto; padding: 32px 28px 60px; }
.dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 24px; }
.dash-grid > .span-7 { grid-column: span 7; } .dash-grid > .span-5 { grid-column: span 5; }
.dash-grid > .span-12 { grid-column: span 12; } .dash-grid > .span-6 { grid-column: span 6; }
@media (max-width: 900px) { .dash-grid > * { grid-column: span 12 !important; } .dash-inner { padding: 22px 16px 40px; } }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.quick button { display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; border-radius: 13px; border: 1px solid var(--glass-brd); background: var(--glass-2); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease); }
.quick button:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.quick .q-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.quick .q-icon svg { width: 18px; height: 18px; }
@media (max-width: 900px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quick { gap: 10px; margin-top: 16px; } .quick button { padding: 12px; gap: 10px; } .quick .q-icon { width: 32px; height: 32px; } .quick .tiny { display: none; } }

/* ---- Home: this week ---------------------------------------------------------- */
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 10px 12px 4px; }
.week-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--text-2); transition: background .15s, border-color .15s; }
.week-day:hover { background: var(--hover); }
.week-day .wd { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.week-day .dn { font-size: 17px; font-weight: 600; color: var(--text); }
.week-day.today .dn { color: var(--accent); }
.week-day.on { background: var(--accent-soft); border-color: var(--accent); }
.week-day .dots { display: flex; gap: 3px; height: 5px; }
.week-day .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
