/* My Daily Thing: the site.
   Colors, type and shapes are the tokens of the brand's design system
   (ios/Logo/marca/design-system/project/tokens.json). No gradients, no
   shadows: a block is set apart by a line or by the change from bg to card. */

@font-face {
  font-family: "Playfair Display";
  src: url("assets/fonts/playfair-display-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --ring-blue: #3B82F6;
  --ring-teal: #22B8B0;
  --ring-mint: #A7F0D0;
  --icon-white: #FFFFFF;
  --icon-black: #000000;
  --widget-ground: #0F1F3A;
  --widget-ink: #F1F5FB;
  --widget-accent: #60A5FA;

  --bg: #F3F6FB;
  --card: #FFFFFF;
  --soft: #E8EEF7;
  --line: #D3DCEA;
  --ink: #0F1F3A;
  --muted: #55637C;
  --accent: #2563EB;
  --on-accent: #FFFFFF;
  --accent-soft: #D9E7FE;
  --on-accent-soft: #1E40AF;
  --ring-open: #3B82F6;
  --ring-done: #0D9488;
  --done: #0F766E;
  --danger: #C2412A;
  --focus: #2563EB;
  --logo-letters: #0F1F3A;
  --hero: var(--ink);
  --on-hero: var(--bg);

  --space-4: 4px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-18: 18px;
  --space-24: 24px;
  --space-32: 32px;
  --radius-soft-button: 9px;
  --radius-note: 10px;
  --radius-button: 12px;
  --radius-card: 18px;
  --radius-block: 26px;
  --radius-pill: 999px;
  --size-button: 48px;
  --size-tap: 44px;
  --size-soft-button: 34px;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1322;
    --card: #121E36;
    --soft: #1B2A49;
    --line: #2A3A5C;
    --ink: #F1F5FB;
    --muted: #A3B1CB;
    --accent: #60A5FA;
    --on-accent: #0F1F3A;
    --accent-soft: #1E3A70;
    --on-accent-soft: #BFD7FF;
    --ring-done: #22B8B0;
    --done: #5EEAD4;
    --danger: #F0896B;
    --focus: #9CC4FF;
    --logo-letters: #FFFFFF;
  }
}

/* A block that is dark whatever the theme: the opening. Same values as the
   dark theme above. */
.on-dark {
  color-scheme: dark;
  --bg: #0A1322;
  --card: #121E36;
  --soft: #1B2A49;
  --line: #2A3A5C;
  --ink: #F1F5FB;
  --muted: #A3B1CB;
  --accent: #60A5FA;
  --on-accent: #0F1F3A;
  --accent-soft: #1E3A70;
  --on-accent-soft: #BFD7FF;
  --ring-done: #22B8B0;
  --done: #5EEAD4;
  --danger: #F0896B;
  --focus: #9CC4FF;
  --logo-letters: #FFFFFF;
  color: var(--ink);
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 var(--font-text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, figure, table { margin: 0; }
ul { padding: 0; list-style: none; }
svg { display: block; }
button, input { font: inherit; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(100% - 2 * var(--gutter), 1120px); margin-inline: auto; }

/* --- Type --- */
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; }
.display--xl { font-size: clamp(2.75rem, 1.6rem + 5vw, 5.25rem); line-height: 1.03; }
.display--lg { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.375rem); line-height: 1.1; }
.lede { max-width: 33em; font-size: clamp(1.125rem, 1.03rem + 0.42vw, 1.375rem); line-height: 1.5; text-wrap: pretty; }
.body { max-width: 31em; color: var(--muted); font-size: 1.125rem; line-height: 1.55; text-wrap: pretty; }
.eyebrow { display: flex; align-items: center; gap: var(--space-10); color: var(--muted); font: 700 12px/16px var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; }
.fineprint { color: var(--muted); font: 400 13px/18px var(--font-text); }

/* A small ring in front of a section's label: how far down the page it is. */
.mini-ring { flex: none; }
.mini-ring__track { fill: none; stroke: currentColor; stroke-opacity: 0.2; stroke-width: 3; }
.mini-ring__turn { fill: none; stroke: var(--ring-open); stroke-width: 3; stroke-linecap: round; }
.mini-ring__turn.is-done { stroke: var(--ring-done); }

/* --- Actions --- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); min-height: var(--size-button); padding: 0 20px; border: 0; border-radius: var(--radius-button); background: var(--accent); color: var(--on-accent); font: 700 16px/21px var(--font-text); text-decoration: none; white-space: nowrap; cursor: pointer; }
.button:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
.button:active { opacity: 0.78; }
.button--soft { min-height: var(--size-tap); padding: 0 var(--space-16); background: var(--soft); color: var(--ink); font-size: 15px; }
.button--soft:hover { background: var(--line); }
.text-button { display: inline-flex; align-items: center; min-height: var(--size-tap); padding: 0; border: 0; background: none; color: var(--accent); font: 600 15px/22px var(--font-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.notify { display: flex; flex-wrap: wrap; gap: var(--space-10); width: 100%; max-width: 480px; }
.notify__field { flex: 1 1 220px; min-width: 0; min-height: var(--size-button); padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-button); background: var(--card); color: var(--ink); font: 400 17px/22px var(--font-text); }
.notify__field::placeholder { color: var(--muted); opacity: 0.8; }
@media (max-width: 479px) {
  .notify .button { flex: 1 1 100%; }
}
.notify__status { flex-basis: 100%; min-height: 18px; color: var(--muted); font: 400 13px/18px var(--font-text); }

/* --- Header --- */
/* The header sits over the top of the opening, which is dark and runs to the top of the page. */
.site-header { position: absolute; z-index: 1; top: 0; left: 0; right: 0; padding-block: var(--space-16); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-16); }
.brand { display: block; color: var(--logo-letters); }
.brand__logo { width: 145px; height: auto; }

/* --- Opening --- */
/* The rings behind the phone run past the section's edges and are cut there. */
.hero { position: relative; isolation: isolate; overflow: clip; padding-block: calc(108px + clamp(16px, 3vw, 32px)) clamp(64px, 9vw, 120px); background: var(--bg); }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.hero__demo { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); }
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 72px; }
}

.phone-stage { position: relative; display: flex; justify-content: center; width: 100%; }
.hero-rings { position: absolute; z-index: -1; top: 50%; left: 50%; width: 690px; height: auto; aspect-ratio: 1; translate: -50% -50%; pointer-events: none; }
/* On wide screens the symbol fills the opening: it is 1.25 times as tall as
   the section, so the section cuts 10% of it at the top and at the bottom,
   and the page's right edge cuts 20% of it. --hero-h comes from main.js. */
@media (min-width: 940px) {
  .phone-stage { position: static; }
  .hero-rings { top: calc(var(--hero-h, 800px) * -0.125); left: calc(100% - var(--hero-h, 800px)); width: calc(var(--hero-h, 800px) * 1.25); translate: none; }
}
/* Each ring is faded as one piece, so the end that rides over its own ring
   looks as it does in the logo. */
.hero-rings__ring--1 { opacity: 0.28; }
.hero-rings__ring--2 { opacity: 0.24; }
.hero-rings__ring--3 { opacity: 0.14; }
.hero-rings__arc { fill: none; stroke-width: 18; stroke-dasharray: 1.02 1; animation: ring-draw 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-rings__head { fill: none; stroke-width: 18; stroke-linecap: round; animation: ring-head 0.2s linear both; }
.hero-rings__ring--1 .hero-rings__arc { stroke-dasharray: 1; animation-delay: 0.36s; }
.hero-rings__ring--2 .hero-rings__arc { animation-delay: 0.18s; }
.hero-rings__ring--2 .hero-rings__head { animation-delay: 1.04s; }
/* The inner ring's end sits behind the phone; only a corner of its shade would show. */
.hero-rings__ring--3 .hero-rings__head { display: none; }

/* A phone with its lock screen. A plain frame, with nothing that belongs
   to one maker's phone: no sensor housing, no side buttons. */
.phone { width: min(100%, 316px); padding: 10px; border-radius: 56px; background: var(--icon-black); outline: 1px solid var(--line); outline-offset: -1px; }
.phone__screen { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; aspect-ratio: 296 / 596; padding: 52px 10px 30px; border-radius: 46px; overflow: hidden; color: var(--icon-white); font-family: var(--font-text); }
.phone__wallpaper { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.phone__bar { position: absolute; bottom: 9px; left: 32%; width: 36%; height: 5px; border-radius: var(--radius-pill); background: var(--icon-white); opacity: 0.72; }
.lock__date { font: 600 17px/22px var(--font-text); opacity: 0.92; }
.lock__clock { font: 700 82px/1.05 var(--font-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; opacity: 0.94; }
.phone .mdt-activity { width: 100%; margin-top: auto; padding: var(--space-12) 14px; }
.phone .mdt-activity.is-away { visibility: hidden; }
.phone .mdt-activity__clock { width: auto; min-width: 62px; font-size: 26px; }
.phone .mdt-activity__start, .phone .mdt-activity__skip { font-size: 14px; }
/* The things take turns on the lock screen: a short, dry move. */
.phone .mdt-activity__text { transition: opacity 0.16s ease-out, transform 0.16s ease-out; }
.phone .mdt-activity__text.is-leaving { opacity: 0; transform: translateY(-6px); }
.phone .mdt-activity__text.is-entering { opacity: 0; transform: translateY(6px); transition: none; }
.phone .mdt-widget__title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.examples { display: flex; justify-content: center; margin-block: -8px -10px; }
.examples__dot { position: relative; width: 24px; height: var(--size-tap); padding: 0; border: 0; background: none; cursor: pointer; }
.examples__dot::before { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--muted); opacity: 0.5; translate: -50% -50%; transition: width 0.2s ease-out; }
.examples__dot[aria-pressed="true"]::before { width: 20px; background: var(--accent); opacity: 1; }
.examples__dot:disabled { cursor: default; }
.examples__dot:disabled::before { opacity: 0.25; }
.demo-caption { max-width: 340px; min-height: 66px; color: var(--muted); font: 400 15px/22px var(--font-text); text-align: center; text-wrap: pretty; }
.demo-caption strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.demo-caption .text-button { display: flex; width: fit-content; margin: 0 auto; }

/* --- Sections --- */
.band { padding-block: clamp(72px, 10vw, 136px); }
.band--card { border-block: 1px solid var(--line); background: var(--card); }
.band--invert { background: var(--hero); color: var(--on-hero); }
.band--invert .eyebrow, .band--invert .body { color: inherit; opacity: 0.72; }
.band--invert .mini-ring__turn { stroke: var(--ring-teal); }
.band__head { display: flex; flex-direction: column; gap: 20px; max-width: 46rem; }

.feature { display: grid; gap: 40px; align-items: center; }
.feature__text { display: flex; flex-direction: column; gap: 20px; }
.feature__visual { display: flex; flex-direction: column; align-items: center; gap: var(--space-16); }
@media (min-width: 940px) {
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px; }
  .feature--flip .feature__text { order: 2; }
}

/* A slice of an app screen. */
.screen { width: min(100%, 402px); padding: var(--space-16); border: 1px solid var(--line); border-radius: 32px; background: var(--bg); }
.screen .mdt-next { border-color: transparent; }
.is-swapping { animation: swap-in 0.22s ease-out; }
@keyframes swap-in { from { opacity: 0.35; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* The friend's lines, less patient on the way down. */
.ladder { margin-top: 48px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ladder__row { display: grid; gap: 6px 32px; padding-block: 22px; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.ladder__when { font: 700 12px/16px var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.66; }
.ladder__line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.2; text-wrap: balance; }
.ladder__note { margin-top: 20px; font: 400 13px/18px var(--font-text); opacity: 0.66; }
@media (min-width: 760px) {
  .ladder__row { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; }
}

/* Side by side with a to-do list. */
.compare { width: 100%; margin-top: 48px; border-collapse: separate; border-spacing: 0; text-align: left; }
.compare th, .compare td { padding: var(--space-18) 20px; border-bottom: 1px solid var(--line); vertical-align: top; font: 400 17px/24px var(--font-text); }
.compare thead th { color: var(--muted); font: 700 12px/16px var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; }
.compare tbody th { width: 24%; padding-left: 0; color: var(--muted); font-weight: 400; }
.compare td { width: 30%; }
.compare .is-ours { width: 46%; border-inline: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; }
.compare thead .is-ours { border-top: 1px solid var(--line); border-radius: var(--radius-card) var(--radius-card) 0 0; font-weight: 700; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:last-child .is-ours { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius-card) var(--radius-card); }
.pull { margin-top: 48px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.1rem + 1.3vw, 2.125rem); line-height: 1.2; text-wrap: balance; }
@media (max-width: 719px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tr { padding: var(--space-16) 0; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare tbody th { width: auto; padding: 0 0 var(--space-8); border: 0; font: 700 12px/16px var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; }
  .compare td, .compare .is-ours, .compare tbody tr:last-child .is-ours { width: auto; display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: var(--space-12); padding: 6px 0; border: 0; border-radius: 0; background: none; }
  .compare td::before { content: attr(data-label); color: var(--muted); font: 400 13px/24px var(--font-text); }
}

/* --- Closing and footer --- */
.closing__inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-24); text-align: center; }
.closing .notify { justify-content: center; }
.closing .notify__status { text-align: center; }
.rings { width: 92px; height: 92px; }
.rings__arc { fill: none; stroke-width: 18; stroke-dasharray: 1; stroke-dashoffset: 0; }
.rings__arc--1 { stroke-linecap: round; }
.rings__head { fill: none; stroke-width: 18; stroke-linecap: round; }
.rings.is-waiting .rings__arc, .rings.is-waiting .rings__head { opacity: 0; }
.rings.is-drawing .rings__arc { animation: ring-draw 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.rings.is-drawing .rings__arc--2 { animation-delay: 0.18s; }
.rings.is-drawing .rings__arc--3 { animation-delay: 0.36s; }
.rings.is-drawing .rings__head { animation: ring-head 0.16s linear both; }
.rings.is-drawing .rings__head--2 { animation-delay: 0.74s; }
.rings.is-drawing .rings__head--3 { animation-delay: 0.92s; }
@keyframes ring-draw { 0% { stroke-dashoffset: 1; opacity: 0; } 2% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ring-head { from { opacity: 0; } to { opacity: 1; } }

.site-footer { padding-block: 40px 56px; color: var(--muted); font: 400 13px/18px var(--font-text); }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-16) var(--space-32); }
.site-footer__brand { display: flex; align-items: center; gap: var(--space-10); color: var(--ink); font: 600 15px/20px var(--font-text); }
.site-footer__brand svg { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .phone .mdt-activity__text, .examples__dot::before { transition: none; }
  .is-swapping, .rings.is-drawing .rings__arc, .rings.is-drawing .rings__head, .hero-rings__arc, .hero-rings__head { animation: none; }
}

/* --- The app's own pieces, as the design system draws them --- */
.mdt-stack { display: flex; flex-direction: column; gap: var(--space-12); }

.mdt-button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: var(--size-button); padding: 0 var(--space-12); border: 0; border-radius: var(--radius-button); background: var(--accent); color: var(--on-accent); font: 700 16px/21px var(--font-text); text-align: center; }
.mdt-button--quiet { width: auto; min-height: var(--size-tap); padding: 0; background: none; color: var(--ink); opacity: 0.88; font: 600 15px/20px var(--font-text); }
.mdt-button--secondary { background: var(--soft); color: var(--ink); }

.mdt-card { box-sizing: border-box; padding: var(--space-16); border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--card); color: var(--ink); }
.mdt-card--hero { padding: var(--space-18); border: 0; background: var(--hero); color: var(--on-hero); }
.mdt-card--hero .mdt-button--quiet { color: var(--on-hero); }
.mdt-card--hero .mdt-note { background: var(--soft); }

.mdt-section-label { margin: 0; color: var(--muted); font: 700 11px/13px var(--font-text); letter-spacing: 1.2px; text-transform: uppercase; }
.mdt-card--hero .mdt-section-label { color: var(--on-hero); opacity: 0.62; }
.mdt-note { margin: 0; padding: var(--space-10) var(--space-12); border-radius: var(--radius-note); background: var(--soft); color: var(--muted); font: 400 12px/16px var(--font-text); }
.mdt-pill { display: inline-block; padding: var(--space-4) 9px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--on-accent-soft); font: 800 11px/13px var(--font-text); letter-spacing: 0.8px; text-transform: uppercase; }

.mdt-rows { margin: 0; padding: 0 var(--space-16); border-radius: var(--radius-block); background: var(--card); list-style: none; }
.mdt-row { display: flex; align-items: center; gap: var(--space-8); min-height: var(--size-tap); padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); font: 400 17px/22px var(--font-text); }
.mdt-row:first-child { border-top: 0; }
.mdt-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-8); padding: 0 var(--space-16); }
.mdt-block-head__name { margin: 0; color: var(--ink); font: 700 20px/25px var(--font-text); }
.mdt-rotation-row { margin: 0 calc(var(--space-16) * -1); padding: var(--space-8) var(--space-16); border-radius: var(--radius-block) var(--radius-block) 0 0; background: var(--soft); }
.mdt-rotation-row__hours { color: var(--ink); font: 700 13px/18px var(--font-text); }
.mdt-list-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mdt-list-row__name { color: var(--ink); font: 700 16px/21px var(--font-text); }
.mdt-list-row__summary { color: var(--muted); font: 400 12px/16px var(--font-text); }
.mdt-footnote { margin: 0; padding: 0 var(--space-16); color: var(--muted); font: 400 12px/16px var(--font-text); }

.mdt-icon { flex: none; display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; --icon-cut: var(--card); }
.mdt-card--hero .mdt-icon { --icon-cut: var(--hero); }
.mdt-timer { display: inline-flex; align-items: center; gap: var(--space-4); font: 700 12px/16px var(--font-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mdt-timer .mdt-icon { font-size: 11px; opacity: 0.7; }

.mdt-offer { display: flex; flex-direction: column; gap: var(--space-12); }
.mdt-offer__head { display: flex; align-items: center; gap: var(--space-8); }
.mdt-offer__head .mdt-section-label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mdt-offer__marks { display: flex; align-items: center; gap: var(--space-8); opacity: 0.88; }
.mdt-offer__title { font: 700 22px/28px var(--font-text); }
.mdt-offer__remark { font: 400 15px/20px var(--font-text); opacity: 0.8; }
.mdt-offer__actions { display: flex; align-items: center; gap: 22px; }
.mdt-more { display: flex; align-items: center; justify-content: flex-end; width: var(--size-tap); height: var(--size-tap); margin-left: auto; color: var(--on-hero); font-size: 17px; opacity: 0.88; }
.mdt-offer__hint { font: 400 12px/16px var(--font-text); opacity: 0.62; }

.mdt-upnext__head { display: flex; align-items: baseline; justify-content: space-between; padding: var(--space-4) var(--space-4) 0; }
.mdt-upnext__help { color: var(--muted); font: 400 11px/13px var(--font-text); }
.mdt-next { display: flex; align-items: center; gap: var(--space-12); width: 100%; padding: var(--space-12); text-align: left; cursor: pointer; font-family: var(--font-text); }
.mdt-next:hover { background: color-mix(in srgb, var(--card) 70%, var(--soft)); }
.mdt-next__icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--accent); font-size: 21px; }
.mdt-next__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mdt-next__title { color: var(--ink); font: 700 16px/21px var(--font-text); }
.mdt-next__detail { overflow: hidden; color: var(--muted); font: 400 12px/16px var(--font-text); white-space: nowrap; text-overflow: ellipsis; }
.mdt-next__arrow { color: var(--muted); font-size: 13px; }

.mdt-clock { font: 800 52px/1.1 var(--font-text); font-variant-numeric: tabular-nums; text-align: center; }
.mdt-session__sub { font: 400 12px/16px var(--font-text); text-align: center; opacity: 0.7; }

/* Outside the app: always dark, whatever the theme. */
.mdt-widget__list { display: flex; align-items: center; gap: 5px; min-width: 0; font: 700 10px/12px var(--font-text); letter-spacing: 0.8px; text-transform: uppercase; }
.mdt-widget__list > span { overflow: hidden; opacity: 0.62; white-space: nowrap; text-overflow: ellipsis; }
.mdt-widget__list .mdt-icon { color: var(--widget-accent); font-size: 12px; }
.mdt-widget__title { font: 600 17px/22px var(--font-text); }
.mdt-activity { display: flex; flex-direction: column; gap: var(--space-10); padding: 14px var(--space-16); border-radius: 22px; background: var(--widget-ground); color: var(--widget-ink); font-family: var(--font-text); }
.mdt-activity .mdt-icon { --icon-cut: var(--widget-ground); }
.mdt-activity__top { display: flex; align-items: center; gap: var(--space-12); }
.mdt-activity__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.mdt-activity__clock { width: 108px; color: var(--widget-accent); font: 800 28px/32px var(--font-text); font-variant-numeric: tabular-nums; text-align: right; }
.mdt-activity__buttons { display: flex; gap: var(--space-10); }
.mdt-activity__start, .mdt-activity__skip { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--size-tap); padding: 0; border: 0; border-radius: var(--radius-pill); font: 700 15px/20px var(--font-text); cursor: pointer; }
.mdt-activity__start { background: var(--widget-accent); color: var(--widget-ground); }
.mdt-activity__start:hover { background: color-mix(in srgb, var(--widget-accent) 86%, var(--icon-white)); }
.mdt-activity__skip { position: relative; background: none; color: var(--widget-ink); }
.mdt-activity__skip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--widget-ink); opacity: 0.14; }
.mdt-activity__skip:hover::before { opacity: 0.22; }
.mdt-activity__start:focus-visible, .mdt-activity__skip:focus-visible { outline-color: var(--icon-white); }
