:root {
  --lav: #b9a7e8; --lav-d: #7c6bb0; --lav-s: #efe9fb;
  --pink: #f4b6cf; --pink-d: #d9739f; --pink-s: #fdeaf2;
  --cream: #fff8ee; --cream-2: #fdf1e1;
  --sage: #a9c8a1; --sage-d: #5f8f6a; --sage-s: #e8f3e5;
  --bg: #fbf5ef; --bg2: #f6eefb;
  --card: rgba(255, 255, 255, .72); --card-solid: #fffdfa;
  --text: #3a3350; --muted: #8a819f; --line: rgba(124, 107, 176, .16);
  --shadow: 0 10px 30px rgba(124, 107, 176, .13), 0 2px 6px rgba(124, 107, 176, .07);
  --danger: #d9534f; --warn: #e0a030; --ok: #5f9f6e;
  --radius: 20px; --side-w: 252px;
  --font: "Nunito", "Quicksand", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
[data-theme="dark"] {
  --bg: #1c1830; --bg2: #241d3b; --card: rgba(46, 38, 72, .72); --card-solid: #2a2342;
  --text: #f1ecff; --muted: #a79fc4; --line: rgba(185, 167, 232, .2);
  --lav-s: #3a3059; --pink-s: #4a2f45; --sage-s: #2f4235; --cream: #2a2342; --cream-2: #31294d;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: var(--text); font-size: 15px; line-height: 1.45;
  background: radial-gradient(1200px 600px at 10% -10%, var(--lav-s), transparent 60%), radial-gradient(900px 500px at 100% 0%, var(--pink-s), transparent 55%), var(--bg);
  background-attachment: fixed; overflow: hidden;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.app { display: flex; height: 100vh; height: 100dvh; }
/* sidebar */
.sidebar {
  width: var(--side-w); flex: none; padding: 16px 12px; display: flex; flex-direction: column; gap: 6px;
  background: var(--card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-right: 1px solid var(--line); transition: width .28s ease, transform .28s ease; overflow-y: auto; z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; font-weight: 800; font-size: 17px; white-space: nowrap; }
.brand .logo { width: 38px; height: 38px; border-radius: 13px; background: linear-gradient(135deg, var(--lav), var(--pink)); display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow); flex: none; }
.nav-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 0; background: none; width: 100%;
  text-align: left; color: var(--text); font-weight: 600; white-space: nowrap; transition: background .18s, transform .18s;
}
.nav-item:hover { background: var(--lav-s); transform: translateX(2px); }
.nav-item.active { background: linear-gradient(135deg, var(--lav-s), var(--pink-s)); color: var(--lav-d); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .nav-item.active { color: #fff; }
.nav-item .ic { width: 24px; text-align: center; font-size: 18px; flex: none; }
.nav-item .badge { margin-left: auto; background: var(--pink-d); color: #fff; font-size: 11px; border-radius: 99px; padding: 1px 7px; }
.sidebar.collapsed { width: 72px; }
.sidebar.collapsed .lbl, .sidebar.collapsed .brand span.t, .sidebar.collapsed .badge, .sidebar.collapsed .side-foot { display: none; }
.sidebar.collapsed .nav-item { justify-content: center; padding: 11px 0; }
.side-foot { margin-top: auto; padding: 10px; font-size: 12px; color: var(--muted); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-bottom: 1px solid var(--line); background: var(--card); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); z-index: 20; }
.topbar h1 { font-size: 18px; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.view { flex: 1; overflow-y: auto; padding: 22px; scroll-behavior: smooth; }
.view > .page { max-width: 1400px; margin: 0 auto; animation: pageIn .34s ease both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.btn { border: 0; border-radius: 14px; padding: 9px 16px; font-weight: 700; background: var(--lav-s); color: var(--lav-d); transition: transform .15s, box-shadow .15s, background .15s; display: inline-flex; align-items: center; gap: 6px; }
[data-theme="dark"] .btn { color: var(--text); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--lav-d), var(--pink-d)); color: #fff; }
.btn.good { background: var(--sage); color: #1e3a28; }
.btn.danger { background: #fde4e4; color: var(--danger); }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn.sm { padding: 5px 11px; font-size: 13px; border-radius: 11px; }
.btn.icon { padding: 8px 11px; }
.btn:disabled { opacity: .5; pointer-events: none; }
/* cards */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.card { background: var(--card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; transition: transform .2s, box-shadow .2s; min-width: 0; }
.card.hover:hover { transform: translateY(-3px); }
.card h2, .card h3 { margin: 0 0 10px; font-size: 16px; display: flex; align-items: center; gap: 8px; }
.card h2 .sub, .muted { color: var(--muted); font-weight: 600; font-size: 13px; }
.hero { background: linear-gradient(135deg, var(--lav-s), var(--pink-s) 60%, var(--sage-s)); border-radius: 26px; padding: 22px 26px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); margin-bottom: 16px; }
.hero h2 { margin: 0 0 4px; font-size: 24px; } .hero p { margin: 0; color: var(--muted); }
.hero .clock { margin-left: auto; text-align: right; } .hero .clock b { font-size: 30px; display: block; letter-spacing: -.5px; }
.stat { display: flex; flex-direction: column; gap: 2px; } .stat b { font-size: 26px; } .stat span { color: var(--muted); font-size: 13px; font-weight: 600; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--lav-s); color: var(--lav-d); white-space: nowrap; }
[data-theme="dark"] .pill { color: var(--text); }
.pill.p0 { background: #fde1e1; color: #b83a3a; } .pill.p1 { background: #fdebd2; color: #a56a14; } .pill.p2 { background: #e6eefc; color: #3f62a8; } .pill.p3 { background: var(--sage-s); color: var(--sage-d); }
.pill.overdue { background: #fde1e1; color: #b83a3a; } .pill.completed { background: var(--sage-s); color: var(--sage-d); } .pill.in_progress { background: #e6eefc; color: #3f62a8; } .pill.on_hold { background: #eee; color: #777; } .pill.scheduled { background: var(--lav-s); } .pill.not_started { background: var(--cream-2); color: var(--muted); }
.pill.tba { background: #fff3cd; color: #8a6a0a; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
/* progress */
.bar { height: 10px; border-radius: 99px; background: var(--lav-s); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--lav-d), var(--pink-d)); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.bar.sage > i { background: linear-gradient(90deg, var(--sage-d), var(--sage)); } .bar.warn > i { background: linear-gradient(90deg, var(--warn), #f4c46b); }
.ring { --p: 0; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--lav-d) calc(var(--p) * 1%), var(--lav-s) 0); display: grid; place-items: center; transition: --p .8s; flex: none; }
.ring::after { content: attr(data-l); width: 66px; height: 66px; border-radius: 50%; background: var(--card-solid); display: grid; place-items: center; font-weight: 800; font-size: 17px; }
/* tasks */
.task { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 15px; background: var(--card-solid); border: 1px solid var(--line); margin-bottom: 8px; transition: transform .18s, box-shadow .18s, opacity .3s; cursor: pointer; }
.task:hover { transform: translateX(3px); box-shadow: var(--shadow); }
.task.done { opacity: .62; } .task.done .tt { text-decoration: line-through; }
.task .tt { font-weight: 700; } .task .meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; align-items: center; color: var(--muted); font-size: 12.5px; }
.task .grow { flex: 1; min-width: 0; }
.chk { width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--lav); background: transparent; display: grid; place-items: center; flex: none; transition: all .2s; margin-top: 1px; padding: 0; color: #fff; }
.chk:hover { background: var(--lav-s); transform: scale(1.08); }
.chk.on { background: linear-gradient(135deg, var(--sage-d), var(--sage)); border-color: transparent; animation: pop .45s ease; }
.chk svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 3.4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s ease .05s; }
.chk.on svg { stroke-dashoffset: 0; }
@keyframes pop { 0% { transform: scale(.7); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.xp-pop { position: fixed; z-index: 200; pointer-events: none; font-weight: 900; font-size: 22px; color: var(--pink-d); text-shadow: 0 2px 10px rgba(255, 255, 255, .8); animation: xpUp 1.4s ease-out forwards; }
@keyframes xpUp { 0% { opacity: 0; transform: translateY(0) scale(.6); } 15% { opacity: 1; transform: translateY(-14px) scale(1.2); } 100% { opacity: 0; transform: translateY(-90px) scale(1); } }
/* forms */
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
input[type=text], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], select, textarea { width: 100%; border: 1px solid var(--line); background: var(--card-solid); border-radius: 12px; padding: 8px 11px; outline: none; color: var(--text); transition: box-shadow .15s, border-color .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--lav-d); box-shadow: 0 0 0 3px rgba(124, 107, 176, .2); }
textarea { min-height: 70px; resize: vertical; }
input[type=range] { width: 100%; accent-color: var(--lav-d); } input[type=checkbox] { accent-color: var(--lav-d); width: 16px; height: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .row.sp { justify-content: space-between; } .col { display: flex; flex-direction: column; gap: 8px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tab { border: 0; background: var(--card); padding: 8px 15px; border-radius: 99px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); }
.tab.active { background: linear-gradient(135deg, var(--lav-d), var(--pink-d)); color: #fff; border-color: transparent; }
/* modal */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(50, 40, 80, .38); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal { background: var(--card-solid); border-radius: 24px; width: min(760px, 100%); max-height: 92vh; overflow: auto; padding: 22px; box-shadow: 0 30px 80px rgba(60, 40, 110, .35); animation: rise .28s cubic-bezier(.2, .9, .3, 1.1); border: 1px solid var(--line); }
.modal.sm { width: min(480px, 100%); } .modal.lg { width: min(940px, 100%); }
@keyframes rise { from { transform: translateY(24px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.modal .foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; position: sticky; bottom: -22px; background: var(--card-solid); padding: 10px 0 2px; }
.toasts { position: fixed; bottom: 18px; right: 18px; z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.toast { background: var(--card-solid); border: 1px solid var(--line); border-left: 5px solid var(--lav-d); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); max-width: 340px; animation: rise .3s ease; }
.toast.good { border-left-color: var(--sage-d); } .toast.warn { border-left-color: var(--warn); } .toast.bad { border-left-color: var(--danger); }
.alert { padding: 10px 13px; border-radius: 13px; margin: 6px 0; font-size: 14px; }
.alert.warn { background: #fff3d6; color: #6e5008; } .alert.info { background: var(--lav-s); } .alert.bad { background: #fde4e4; color: #8c2b2b; } .alert.good { background: var(--sage-s); color: #2d5a3a; }
[data-theme="dark"] .alert.warn { background: #4a3d1c; color: #ffe2a1; } [data-theme="dark"] .alert.bad { background: #512a2e; color: #ffc4c4; }
.change { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; background: var(--card); }
.change .ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; font-size: 13px; margin: 6px 0; } .change .ba div { padding: 6px 8px; border-radius: 9px; background: var(--lav-s); } .change .ba div.n { background: var(--sage-s); }
.empty { text-align: center; color: var(--muted); padding: 22px; }
/* calendar */
.cal-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.cal-bar h2 { margin: 0 8px; font-size: 18px; min-width: 190px; }
.seg { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; } .seg button { border: 0; background: none; padding: 7px 13px; font-weight: 700; color: var(--muted); } .seg button.active { background: var(--lav-d); color: #fff; }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.fchip { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 4px 11px; font-size: 12.5px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; opacity: .5; }
.fchip.on { opacity: 1; background: var(--card-solid); }
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card-solid); }
.month .dh { text-align: center; padding: 8px; font-weight: 800; font-size: 12px; color: var(--muted); background: var(--lav-s); }
.month .cell { min-height: 108px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); padding: 4px; position: relative; cursor: pointer; transition: background .15s; min-width: 0; }
.month .cell:nth-child(7n + 1) { border-left: 0; } .month .cell:hover { background: var(--lav-s); } .month .cell.out { opacity: .45; } .month .cell.today { background: var(--pink-s); } .month .cell.rest { background: repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(169, 200, 161, .14) 8px, rgba(169, 200, 161, .14) 16px); }
.month .cell.dragover { outline: 3px dashed var(--lav-d); outline-offset: -3px; }
.month .dn { font-size: 12px; font-weight: 800; color: var(--muted); display: flex; justify-content: space-between; } .cell.today .dn b { background: var(--pink-d); color: #fff; border-radius: 99px; padding: 0 7px; }
.chip { display: block; font-size: 11.5px; font-weight: 700; padding: 2px 6px; border-radius: 7px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid; cursor: pointer; }
.chip.done { text-decoration: line-through; opacity: .55; } .chip.exam { background: #fde1e1; color: #b83a3a; border-color: #d9534f; } .chip.dl { background: #fff3d6; color: #6e5008; border-color: var(--warn); }
.tg { display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; background: var(--card-solid); overflow: hidden; }
.tg-head { display: contents; } .tg-head > div { padding: 8px 4px; text-align: center; font-weight: 800; background: var(--lav-s); font-size: 13px; border-left: 1px solid var(--line); } .tg-head > div:first-child { border-left: 0; }
.tg-head .today { background: var(--pink-s); color: var(--pink-d); }
.allday { display: contents; } .allday > div { padding: 3px; min-height: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); } .allday > div:first-child { border-left: 0; font-size: 10px; color: var(--muted); }
.tg-body { grid-column: 1 / -1; display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(0, 1fr)); position: relative; max-height: 62vh; overflow-y: auto; }
.tg-hours div { height: 52px; font-size: 11px; color: var(--muted); text-align: right; padding-right: 7px; transform: translateY(-7px); }
.tg-col { position: relative; border-left: 1px solid var(--line); background-image: linear-gradient(var(--line) 1px, transparent 1px); background-size: 100% 52px; }
.tg-col.sleep { background-color: rgba(124, 107, 176, .07); }
.ev { position: absolute; left: 2px; right: 2px; border-radius: 10px; padding: 3px 7px; font-size: 12px; font-weight: 700; overflow: hidden; border-left: 4px solid; cursor: grab; user-select: none; touch-action: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); transition: box-shadow .15s; }
.ev:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .18); z-index: 5; } .ev.dragging { opacity: .85; z-index: 20; cursor: grabbing; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); } .ev.done { opacity: .55; text-decoration: line-through; } .ev.examb { background: repeating-linear-gradient(45deg, #fde1e1, #fde1e1 8px, #fbd0d0 8px, #fbd0d0 16px); color: #b83a3a; border-color: #d9534f; cursor: default; }
.ev .rz { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; cursor: ns-resize; } .ev .rz::after { content: ""; display: block; width: 24px; height: 3px; border-radius: 3px; background: currentColor; opacity: .4; margin: 3px auto; }
.nowline { position: absolute; left: 0; right: 0; height: 2px; background: var(--pink-d); z-index: 4; pointer-events: none; } .nowline::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--pink-d); }
.agenda-day { margin-bottom: 14px; } .agenda-day h3 { margin: 0 0 6px; font-size: 14px; color: var(--lav-d); }
/* pet */
.pet-stage { position: relative; border-radius: 26px; overflow: hidden; height: 330px; display: grid; place-items: center; border: 1px solid var(--line); box-shadow: var(--shadow); }
.room { position: absolute; inset: 0; } .room .wall { position: absolute; inset: 0 0 32% 0; } .room .floor { position: absolute; inset: 68% 0 0 0; } .room .deco { position: absolute; font-size: 38px; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .15)); transition: transform .3s; } .room .deco:hover { transform: scale(1.15) rotate(-4deg); }
.pet-wrap { position: relative; z-index: 3; width: 230px; margin-top: 70px; cursor: pointer; } .pet-wrap svg { width: 100%; height: auto; overflow: visible; }
.pet-wrap.small { width: 120px; margin: 0; } .pet-wrap.tiny { width: 78px; margin: 0; }
.bubble { position: absolute; top: -34px; left: 50%; transform: translateX(-50%); background: #fff; color: #4a3d6b; border-radius: 16px; padding: 6px 12px; font-weight: 700; font-size: 13px; white-space: nowrap; box-shadow: var(--shadow); z-index: 4; animation: rise .3s ease; }
.pet-svg .eyes { transform-origin: 100px 98px; animation: blink 4.6s infinite; } @keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.pet-svg { animation: breathe 3.4s ease-in-out infinite; transform-origin: 50% 90%; } @keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.015, .985); } }
.pet-svg.jump { animation: jump .9s ease 2; } @keyframes jump { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-34px) scale(.97, 1.04); } 55% { transform: translateY(0) scale(1.05, .94); } }
.pet-svg.sleeping { animation: breathe 5s ease-in-out infinite; } .zzz { font-size: 22px; position: absolute; right: 14%; top: 8%; animation: zz 2.4s infinite; font-weight: 800; color: var(--lav-d); } @keyframes zz { 0% { opacity: 0; transform: translate(0, 10px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(10px, -20px); } }
.sparkle { animation: tw 2.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; } @keyframes tw { 0%, 100% { opacity: .4; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }
.shop-item { text-align: center; padding: 12px; } .shop-item .pv { font-size: 38px; height: 54px; display: grid; place-items: center; }
.badge-card { text-align: center; padding: 12px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--line); } .badge-card.locked { filter: grayscale(1); opacity: .5; } .badge-card .e { font-size: 34px; }
/* charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; } .chart text { fill: var(--muted); font-size: 11px; font-family: var(--font); } .chart .bar-r { transition: height .8s, y .8s; }
.legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 6px; } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }
/* module tracker */
.mod { padding: 12px; border-radius: 16px; background: var(--card-solid); border: 1px solid var(--line); margin-bottom: 10px; }
.stages { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; } .stg { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 3px 10px; font-size: 12px; font-weight: 700; color: var(--muted); } .stg.on { background: var(--sage); color: #1e3a28; border-color: transparent; }
.count { font-variant-numeric: tabular-nums; font-weight: 800; }
.timer-big { font-size: 74px; font-weight: 900; letter-spacing: -2px; font-variant-numeric: tabular-nums; text-align: center; }
.focus-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.ring-big { width: 300px; height: 300px; margin: 8px auto; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--pink-d) calc(var(--p) * 1%), var(--lav-s) 0); }
.ring-big > div { width: 262px; height: 262px; border-radius: 50%; background: var(--card-solid); display: grid; place-items: center; align-content: center; }
.hamb { display: none; }
.confetti { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; } table.t th { text-align: left; color: var(--muted); font-size: 12px; padding: 6px 8px; } table.t td { padding: 8px; border-top: 1px solid var(--line); vertical-align: top; }
.kbd { font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 0 5px; }
.noanim *, .noanim *::before, .noanim *::after { animation-duration: .001s !important; transition-duration: .001s !important; animation-iteration-count: 1 !important; }
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001s !important; transition-duration: .001s !important; } }
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .hamb { display: inline-flex; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: 270px; transform: translateX(-105%); box-shadow: 0 0 60px rgba(0, 0, 0, .3); background: var(--card-solid); }
  .sidebar.open { transform: none; } .sidebar.collapsed { width: 270px; } .sidebar.collapsed .lbl, .sidebar.collapsed .brand span.t { display: inline; } .sidebar.collapsed .nav-item { justify-content: flex-start; padding: 10px 12px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; } .view { padding: 12px; } .topbar { padding: 10px 12px; } .hero { flex-direction: column; align-items: flex-start; } .hero .clock { margin-left: 0; text-align: left; }
  .month .cell { min-height: 64px; } .chip { font-size: 10px; padding: 1px 3px; } .tg { grid-template-columns: 38px repeat(var(--cols), minmax(0, 1fr)); } .tg-body { grid-template-columns: 38px repeat(var(--cols), minmax(0, 1fr)); } .ev { font-size: 10px; padding: 2px 3px; }
  .timer-big { font-size: 56px; } .ring-big { width: 240px; height: 240px; } .ring-big > div { width: 208px; height: 208px; } .modal { padding: 16px; border-radius: 20px; } .cal-bar h2 { min-width: 0; width: 100%; }
  .change .ba { grid-template-columns: 1fr; }
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .35); z-index: 25; }
}
.card.row{flex-wrap:nowrap}
