body.terminal {
  --k-work: #52e3a8;
  --k-break: #ffc35e;
  --k-official: #7ab4ff;
  --k-private: #d4a6ff;
  --k-away: #c3c9d4;
  --ink: #f3f5fb;
  --ink-2: rgb(243 245 251 / .7);
  --ink-3: rgb(243 245 251 / .42);
  --glass: rgb(255 255 255 / .075);
  --glass-line: rgb(255 255 255 / .1);
  --night: #0a0f22;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.6 2.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");

  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  color: var(--ink);
  background: var(--sky-base);
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: --sky-base 8s linear, --sky-glow 8s linear;
}

/* ---------- sky ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -12%, color-mix(in oklab, var(--sky-glow) 62%, transparent), transparent 66%),
    radial-gradient(70% 45% at 90% 112%, color-mix(in oklab, var(--sky-glow) 26%, transparent), transparent 72%),
    var(--sky-base);
}
.sky::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wash {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle at var(--x) var(--y), color-mix(in oklab, var(--c) 75%, transparent), color-mix(in oklab, var(--c) 22%, transparent) 55%, transparent 80%);
}

/* ---------- layout ---------- */

.t-app {
  --dial: min(86vw, 50dvh, 600px);
  position: relative;
  z-index: 1;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.t-app[data-screen='pin'], .t-app[data-screen='unpaired'] { --dial: min(46vw, 21dvh, 240px); }
.t-app[data-screen='person'] { --dial: min(52vw, 25dvh, 290px); }
.t-app[data-screen='done'] { --dial: min(60vw, 29dvh, 330px); }

.t-top {
  view-transition-name: top;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
}
.brand { display: flex; align-items: center; min-width: 0; color: var(--ink); }
.brand .logo { display: block; width: auto; height: 26px; }
.t-tools { display: flex; gap: 4px; }
.icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink-3);
}
.icon-btn:active { background: var(--glass); color: var(--ink); }

.t-dial {
  view-transition-name: dial;
  position: relative;
  justify-self: center;
  align-self: center;
  width: var(--dial);
  aspect-ratio: 1;
}
.t-app[data-screen='idle'] .t-dial { cursor: pointer; }
.dial-svg, .dial-svg > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.t-panel {
  view-transition-name: panel;
  justify-self: center;
  width: min(100%, 500px);
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: center;
}

@media (orientation: landscape) and (min-width: 760px) {
  .t-app {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: clamp(24px, 5vw, 88px);
  }
  .t-top { grid-column: 1 / -1; }
  .t-app[data-screen] { --dial: min(46vw, 76dvh, 640px); }
  .t-app[data-screen='pin'], .t-app[data-screen='unpaired'], .t-app[data-screen='person'], .t-app[data-screen='done'] { --dial: min(40vw, 66dvh, 520px); }
  .t-panel { justify-self: start; }
}

/* ---------- dial ---------- */

.dial .track { fill: none; stroke: rgb(255 255 255 / .07); }
.dial .elapsed { fill: none; stroke: rgb(255 255 255 / .1); }
.dial .seg { fill: none; stroke: var(--k); filter: drop-shadow(0 0 7px color-mix(in oklab, var(--k) 55%, transparent)); }
.dial .seg.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
.dial .tick { stroke: var(--ink-3); stroke-width: 1.5; stroke-linecap: round; }
.dial .tick.major { stroke: var(--ink-2); stroke-width: 2.5; }
.dial .hour { fill: var(--ink-3); font-family: var(--font-display); font-size: 15px; text-anchor: middle; dominant-baseline: central; }
.dial .daylight { fill: none; stroke: #ffd27a; stroke-opacity: .55; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: .5 6; }
.dial .daylight-end { fill: #ffd27a; fill-opacity: .8; }
.dial .sec-track { fill: none; stroke: rgb(255 255 255 / .05); }
.dial .sec { transform-origin: 200px 200px; animation: spin 60s linear infinite; }
.dial .sec-dot { fill: var(--ink-2); }
.dial .sun { fill: #fff; }
.dial .sun-halo { fill: url(#halo); transform-box: fill-box; transform-origin: center; animation: breathe 5s ease-in-out infinite; }
.dial .pdot {
  fill: var(--k);
  stroke: var(--sky-base);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
}
.dial.enter .pdot { animation: pop .7s var(--spring) both; animation-delay: calc(var(--i) * 70ms + 250ms); }
.dial .pulse { fill: none; stroke: var(--k); stroke-width: 3; transform-box: fill-box; transform-origin: center; animation: ripple 1.8s var(--ease-out) .3s both; }
.dial .pulse.late { animation-delay: .75s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.18); opacity: .7; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ripple { from { transform: scale(.4); opacity: 1; } to { transform: scale(5.5); opacity: 0; } }

.dial-center {
  position: absolute;
  inset: 16%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  pointer-events: none;
}
.clock {
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: calc(var(--dial) * .17);
  line-height: .92;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}
.clock-s {
  width: 1.35em;
  margin: .2em 0 0 .25em;
  font-size: .26em;
  font-weight: 400;
  letter-spacing: 0;
  text-align: left;
  color: var(--ink-3);
}
.clock-date { margin-top: calc(var(--dial) * .04); font-size: max(13px, calc(var(--dial) * .036)); color: var(--ink-2); }
.t-app:not([data-screen="idle"]) .clock-date { display: none; }
html:has(body.terminal) { overflow: hidden; }
.center-total { font-family: var(--font-display); font-weight: 300; font-size: calc(var(--dial) * .17); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.center-label { margin-top: 6px; font-size: max(12px, calc(var(--dial) * .045)); color: var(--ink-2); }

/* ---------- idle ---------- */

.idle { display: grid; justify-items: center; gap: 18px; width: 100%; }
.presence { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; min-height: 22px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15px; }
.presence li { display: inline-flex; align-items: center; gap: 8px; }
.presence i { width: 9px; height: 9px; border-radius: 50%; background: var(--k); box-shadow: 0 0 12px var(--k); }
.presence b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.start {
  position: relative;
  width: min(100%, 360px);
  height: 78px;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  background: var(--ink);
  color: var(--night);
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: 0 14px 44px -12px color-mix(in oklab, var(--sky-glow) 85%, transparent);
  transition: transform .25s var(--ease-out);
}
.start::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, color-mix(in oklab, var(--sky-glow) 45%, white) 50%, transparent 62%);
  opacity: .55;
  transform: translateX(-100%);
  animation: sheen 6s var(--ease-in-out) 1.5s infinite;
}
.start > span { position: relative; }
.start:active { transform: scale(.97); }
.start:disabled { opacity: .45; }
.start:disabled::before { animation: none; }
.idle-note { margin: 0; color: var(--ink-3); font-size: 14px; text-align: center; }
@keyframes sheen { 0%, 72% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- keypad ---------- */

.pin { display: grid; justify-items: center; gap: 4px; width: 100%; }
.t-lead { margin: 0; min-height: 1.45em; color: var(--ink-2); font-size: 17px; text-align: center; text-wrap: balance; }
.t-lead.error { color: #ffb3a7; }
.dots { display: flex; align-items: center; justify-content: center; gap: 12px; height: 44px; margin-bottom: 8px; }
.dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid var(--ink-3);
  transition: width .5s var(--spring), background-color .2s, border-color .2s;
}
.dot.on { width: 34px; background: var(--ink); border-color: var(--ink); }
.dots.checking .dot { animation: wave .7s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * 110ms); }
.dots.error { animation: shake .45s; }
.dots.error .dot { background: #ff8f80; border-color: #ff8f80; }
@keyframes wave { to { transform: translateY(-9px); opacity: .45; } }
@keyframes shake { 15%, 55% { transform: translateX(-12px); } 35%, 75% { transform: translateX(10px); } 90% { transform: translateX(-3px); } }

.keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2.2vw, 14px); width: min(100%, 360px); }
.key {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(56px, 9dvh, 80px);
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--glass);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .05);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 4dvh, 32px);
  font-weight: 300;
  touch-action: manipulation;
}
.key::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), color-mix(in oklab, var(--sky-glow) 55%, white) 0, transparent 70%);
}
.key.ping::after { animation: ping .55s var(--ease-out); }
.key-fn { background: transparent; box-shadow: none; color: var(--ink-2); font-family: var(--font-ui); font-size: 16px; font-weight: 500; }
.key-fn:empty { visibility: hidden; }
@keyframes ping { from { opacity: .6; } to { opacity: 0; } }


/* ---------- person ---------- */

.person { display: grid; gap: 14px; width: 100%; }
.person-head { display: flex; align-items: center; gap: 14px; }
.avatar-lg {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--c);
  color: var(--night);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--c) 30%, transparent);
}
.t-title { margin: 0; font-family: var(--font-display); font-size: clamp(22px, 5.4vw, 30px); font-weight: 500; line-height: 1.15; letter-spacing: -.02em; }
.t-sub { margin: 4px 0 0; color: var(--ink-2); font-size: 15px; }
.t-sub.warn { color: #ffd08f; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; background: var(--glass); }
.stat { display: grid; padding: 12px 16px; }
.stat + .stat { border-left: 1px solid var(--glass-line); }
.stat-v { font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }
.stat-l { color: var(--ink-2); font-size: 13px; }

.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.act {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 102px;
  padding: 16px;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  background: color-mix(in oklab, var(--k) 14%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--k) 45%, transparent);
  transition: transform .2s var(--ease-out);
}
.act:active { transform: scale(.97); }
.act.main { grid-column: 1 / -1; min-height: 112px; background: var(--k); color: var(--night); box-shadow: 0 14px 44px -14px var(--k); }
.act.main + .act:last-child { grid-column: 1 / -1; min-height: 72px; grid-template-columns: auto 1fr; align-items: center; align-content: center; }
.act-glyph {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3.5px solid var(--k);
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-45deg);
}
.act.main .act-glyph { border-color: var(--night); border-left-color: transparent; border-bottom-color: transparent; }
.act-label { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
.act-sub { display: block; margin-top: 2px; font-size: 13.5px; opacity: .72; }
.act.is-busy { animation: busy .8s var(--ease-in-out) infinite alternate; }
@keyframes busy { to { opacity: .55; } }

.ghost {
  justify-self: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  font-size: 16px;
  font-weight: 500;
}
.ghost:active { background: var(--glass); }

.person > *, .done > * { animation: rise .55s var(--ease-out) both; }
.person > :nth-child(2), .done > :nth-child(2) { animation-delay: .06s; }
.person > :nth-child(3), .done > :nth-child(3) { animation-delay: .12s; }
.person > :nth-child(4), .done > :nth-child(4) { animation-delay: .18s; }
.person > :nth-child(5), .done > :nth-child(5) { animation-delay: .24s; }
.done > .stamp-wrap { animation: none; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- done: the stamp ---------- */

.done { display: grid; justify-items: center; gap: 8px; width: 100%; text-align: center; }
.stamp-wrap { position: relative; display: grid; place-items: center; padding: 12px 0 8px; }
.stamp {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 16px 28px 14px;
  border: 3.5px solid currentColor;
  border-radius: 20px;
  color: var(--k);
  transform: rotate(-4deg);
  -webkit-mask-image: var(--grain);
  mask-image: var(--grain);
  -webkit-mask-size: 220px;
  mask-size: 220px;
}
.stamp::before { content: ''; position: absolute; inset: 5px; border: 1.5px solid currentColor; border-radius: 14px; }
.stamp-time { font-family: var(--font-display); font-size: clamp(54px, 15vw, 92px); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stamp-label { font-family: var(--font-display); font-size: 17px; font-weight: 500; }
.stamp-date { font-size: 13px; font-weight: 600; opacity: .85; font-variant-numeric: tabular-nums; }
.stamp-wave { position: absolute; inset: 4px -8px; border: 2px solid var(--k); border-radius: 28px; opacity: 0; transform: rotate(-4deg); pointer-events: none; }
.done-title { margin: 6px 0 0; font-family: var(--font-display); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.done-msg { margin: 0; color: var(--ink-2); font-size: 16px; }
.countdown { width: min(220px, 60%); height: 3px; margin-top: 4px; border-radius: 3px; overflow: hidden; background: var(--glass); }
.countdown i { display: block; height: 100%; background: var(--ink-2); transform-origin: left; animation: countdown var(--t, 7s) linear forwards; }
@keyframes countdown { to { transform: scaleX(0); } }

/* ---------- misc ---------- */

.t-offline {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 50%;
  z-index: 20;
  translate: -50% 0;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 16px;
  background: #43202a;
  color: #ffdcd5;
  font-size: 14px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .35);
}
.boot { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--glass); border-top-color: var(--ink-2); animation: spin 1s linear infinite; }

::view-transition-group(dial) { animation-duration: .65s; animation-timing-function: var(--spring-soft); }
::view-transition-old(panel) { animation: vt-out .22s var(--ease-out) both; }
::view-transition-new(panel) { animation: vt-in .5s var(--ease-out) .05s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }

.person-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
.foot-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); }
button.stats { width: 100%; padding: 0; border: 0; color: inherit; text-align: left; transition: transform .2s var(--ease-out); }
button.stats:active { transform: scale(.98); }

/* ---------- personal overview ("Moj pregled") ---------- */

.t-app[data-screen='me'] .t-dial { display: none; }
.t-app[data-screen='me'] .t-panel {
  grid-row: 2 / -1;
  align-content: start;
  width: min(100%, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.t-app[data-screen='me'] .t-panel::-webkit-scrollbar { display: none; }

.me { display: grid; gap: 18px; width: 100%; padding: 4px 0 8px; }
.me-head { display: flex; align-items: center; gap: 14px; }
.me-title { flex: 1; min-width: 0; }
.me-nav { display: flex; gap: 2px; }
.me-nav .icon-btn { color: var(--ink-2); }
.me-nav .icon-btn:disabled { opacity: .25; }

.me-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 20px; }
.me-ring-wrap { position: relative; width: clamp(140px, 40vw, 188px); aspect-ratio: 1; }
.me-ring { width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.me-ring-track { fill: none; stroke: var(--glass); stroke-width: 9; }
.me-ring-fill {
  fill: none;
  stroke: var(--c);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  filter: drop-shadow(0 0 10px color-mix(in oklab, var(--c) 65%, transparent));
  animation: ring-fill 1.6s var(--ease-out) .2s forwards;
}
@keyframes ring-fill { to { stroke-dashoffset: calc(100 - var(--p)); } }
.me-ring-center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.me-total { font-family: var(--font-display); font-size: clamp(28px, 8vw, 38px); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.me-of { margin-top: 2px; color: var(--ink-2); font-size: 12.5px; }
.me-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.me-fact { display: grid; gap: 1px; animation: rise .6s var(--ease-out) both; }
.me-fact:nth-child(2) { animation-delay: .07s; }
.me-fact:nth-child(3) { animation-delay: .14s; }
.me-fact:nth-child(4) { animation-delay: .21s; }
.me-fact:nth-child(5) { animation-delay: .28s; }
.me-fact-v { font-family: var(--font-display); font-size: 21px; font-variant-numeric: tabular-nums; }
.me-fact-v.pos { color: var(--k-work); }
.me-fact-v.neg { color: #ff9d8c; }
.me-fact-l { color: var(--ink-2); font-size: 12.5px; }

.me-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.me-wd { padding-bottom: 2px; color: var(--ink-3); font-size: 12px; text-align: center; }
.tile {
  position: relative;
  display: grid;
  align-content: space-between;
  aspect-ratio: .82;
  padding: 6px 7px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass);
  animation: tile-in .55s var(--ease-out) both;
  animation-delay: calc(var(--d) * 32ms + 120ms);
}
.tile-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in oklab, var(--c) 80%, transparent), color-mix(in oklab, var(--c) 30%, transparent));
  transform: scaleY(var(--f));
  transform-origin: bottom;
  animation: tile-fill 1.2s var(--spring-soft) both;
  animation-delay: calc(var(--d) * 32ms + 420ms);
}
.tile-fill::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: color-mix(in oklab, var(--c) 40%, white);
  opacity: .8;
}
.tile-n { position: relative; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.tile-h { position: relative; font-family: var(--font-display); font-size: 10.5px; text-align: right; font-variant-numeric: tabular-nums; text-shadow: 0 1px 4px rgb(0 0 0 / .35); }
.tile.off { background: transparent; box-shadow: inset 0 0 0 1px var(--glass); }
.tile.off .tile-n { color: var(--ink-3); }
.tile.future { opacity: .3; }
.tile.today { box-shadow: inset 0 0 0 2px var(--ink); }
.tile.warn { box-shadow: inset 0 0 0 2px #ffc35e; }
.tile.over::after { content: ''; position: absolute; top: 7px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; }
@keyframes tile-in { from { opacity: 0; transform: translateY(12px) scale(.88); } }
@keyframes tile-fill { from { transform: scaleY(0); } }

.me-h { margin: 4px 0 8px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.me-list ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.me-list li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  grid-template-areas: 'date bar total' 'date time total';
  align-items: center;
  gap: 4px 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--glass);
  animation: rise .5s var(--ease-out) both;
  animation-delay: calc(min(var(--d), 12) * 45ms + 650ms);
}
.ml-date { grid-area: date; font-weight: 600; }
.ml-bar { grid-area: bar; position: relative; height: 6px; border-radius: 3px; overflow: hidden; background: rgb(255 255 255 / .06); }
.ml-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--k); }
.ml-time { grid-area: time; color: var(--ink-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.ml-total { grid-area: total; font-family: var(--font-display); font-size: 17px; font-variant-numeric: tabular-nums; }
.me-empty { margin: 0; color: var(--ink-2); text-align: center; }

@media (orientation: landscape) and (min-width: 760px) {
  .t-app[data-screen='me'] .t-panel { grid-column: 1 / -1; width: min(100%, 1040px); }
  .me { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 40px; align-items: start; }
  .me-head, .me .person-foot, .me-list { grid-column: 1 / -1; }
  .me-hero { grid-template-columns: 1fr; justify-items: center; }
  .me-ring-wrap { width: clamp(180px, 22vw, 240px); }
  .me-facts { width: 100%; }
}
