/* The interactive Zest demo inside the 3D phone. Every class is scoped under .zs. */
.screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #fff8f1; isolation: isolate; transform: translateZ(1px); }
.screen > img.fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.zs { --z-bg: #fff8f1; --z-card: #fff; --z-text: #1d1b26; --z-muted: #6e6a7c; --z-line: #efe6da; --z-glass: rgba(255,255,255,.72); --z-chip: #f4ede4;
  position: absolute; inset: 0; font: 13px/1.35 var(--font); color: var(--z-text); background: var(--z-bg); user-select: none; -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .zs { --z-bg: #0e0b1a; --z-card: #1a1528; --z-text: #f2eff8; --z-muted: #a9a3bb; --z-line: #2b2440; --z-glass: rgba(34,28,52,.72); --z-chip: #251f38; } }
:root[data-theme="dark"] .zs { --z-bg: #0e0b1a; --z-card: #1a1528; --z-text: #f2eff8; --z-muted: #a9a3bb; --z-line: #2b2440; --z-glass: rgba(34,28,52,.72); --z-chip: #251f38; }
.zs button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.zs .press { transition: transform .3s cubic-bezier(.3,1.6,.5,1); } .zs .press:active { transform: scale(.94); }
.zs .status { position: absolute; top: 0; left: 0; right: 0; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 6px 26px 0 30px; font-weight: 700; font-size: 14px; z-index: 20; pointer-events: none;
  background: linear-gradient(var(--z-bg) 55%, color-mix(in srgb, var(--z-bg) 0%, transparent)); }
.zs .island { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; z-index: 21; transition: width .5s cubic-bezier(.3,1.4,.5,1); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: #fff; font-size: 11px; font-weight: 800; }
.zs .island.live { width: 150px; } .zs .island span { opacity: 0; transition: opacity .3s .2s; } .zs .island.live span { opacity: 1; }
.zs .sbar-icons { display: flex; gap: 5px; align-items: center; font-size: 11px; }
.zs .sbar-icons i { display: inline-block; width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; }
.zs .sbar-icons i::after { content: ""; position: absolute; inset: 1.5px 4px 1.5px 1.5px; background: #34c759; border-radius: 1px; }
.zs .view { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 48px 12px 96px; scrollbar-width: none; overscroll-behavior: contain; }
.zs .view::-webkit-scrollbar { display: none; }
.zs .view.enter { animation: zin .45s cubic-bezier(.2,.9,.3,1); }
@keyframes zin { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.zs .card { background: var(--z-card); border-radius: 20px; padding: 12px; margin-bottom: 10px; box-shadow: 0 6px 18px -10px rgba(80,40,10,.25); border: 0; }

/* Tab bar */
.zs .tabs { position: absolute; left: 10px; right: 10px; bottom: 16px; height: 58px; border-radius: 30px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--z-glass); backdrop-filter: blur(20px) saturate(1.8); -webkit-backdrop-filter: blur(20px) saturate(1.8); box-shadow: 0 10px 30px -10px rgba(0,0,0,.3), inset 0 0 0 1px rgba(255,255,255,.4); z-index: 15; padding: 4px; }
.zs .tabs button { border-radius: 26px; display: grid; place-items: center; align-content: center; gap: 1px; font-size: 10px; font-weight: 700; transition: background .3s; }
.zs .tabs button b { font-size: 18px; line-height: 1; filter: grayscale(1); opacity: .75; transition: all .3s; }
.zs .tabs button[aria-selected="true"] { background: color-mix(in srgb, var(--z-text) 9%, transparent); color: #ff6a1a; }
.zs .tabs button[aria-selected="true"] b { filter: none; opacity: 1; transform: scale(1.1); }
.zs .home-ind { position: absolute; bottom: 5px; left: 50%; translate: -50% 0; width: 110px; height: 4px; border-radius: 3px; background: var(--z-text); opacity: .7; z-index: 16; }

/* Today */
.zs .hdr { border-radius: 24px; padding: 12px 12px 14px; color: #1d1b26; background: linear-gradient(120deg, #4fa8ff, #7ee8fa 45%, #ffe29a 80%, #ffc07a); margin-bottom: 10px; position: relative; overflow: hidden; }
.zs .hdr.dusk { background: linear-gradient(120deg, #ff8a5c, #ff5fa2 55%, #8a5cff); color: #fff; }
.zs .hdr.night { background: linear-gradient(120deg, #1b1464, #4b3fbf 60%, #8a5cff); color: #fff; }
.zs .hdr-row { display: flex; align-items: center; gap: 5px; }
.zs .hdr-row .date { font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-right: auto; opacity: .75; }
.zs .hbtn { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.38); display: grid; place-items: center; font-size: 13px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.zs .hbtn.ava { background: #ffe6b3; }
.zs .hdr h2 { margin: 10px 0 0; font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.zs .hdr p { margin: 2px 0 0; font-size: 12px; opacity: .85; }
.zs .rings { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 10px 4px; }
.zs .ring { display: grid; justify-items: center; gap: 2px; font-size: 10px; color: var(--z-muted); font-weight: 600; }
.zs .ring b { color: var(--z-text); font-size: 11px; font-variant-numeric: tabular-nums; }
.zs .ring svg { width: 46px; height: 46px; rotate: -90deg; }
.zs .ring circle { fill: none; stroke-width: 6; }
.zs .ring .bg { stroke: color-mix(in srgb, var(--z-text) 9%, transparent); }
.zs .ring .fg { stroke-linecap: round; transition: stroke-dashoffset .9s cubic-bezier(.3,1.3,.5,1); }
.zs .ring .ico { position: relative; margin-top: -40px; height: 34px; display: grid; place-items: center; font-size: 13px; }
.zs .now { border-radius: 22px; padding: 12px; color: #fff; background: linear-gradient(135deg, #ff9a5a, #ff4fa0); margin-bottom: 10px; position: relative; overflow: hidden; }
.zs .now.lime { background: linear-gradient(135deg, #8fdc3a, #22b86a); } .zs .now.lagoon { background: linear-gradient(135deg, #3cc8f0, #2f80ed); }
.zs .now.phoenix { background: linear-gradient(135deg, #ff4d8d, #ff9f1c); } .zs .now.tomato { background: linear-gradient(135deg, #ff5f45, #ff2e63); }
.zs .now .lbl { font-size: 9px; font-weight: 800; letter-spacing: .14em; opacity: .85; }
.zs .now .it { display: flex; gap: 10px; align-items: center; margin: 8px 0 10px; }
.zs .now .em { font-size: 26px; } .zs .now h3 { margin: 0; font-size: 17px; font-weight: 800; } .zs .now small { opacity: .9; font-size: 11px; }
.zs .now .act { width: 100%; height: 38px; border-radius: 19px; background: #fff; color: #ff4f7e; font-weight: 800; font-size: 14px; position: relative; overflow: hidden; }
.zs .now.leave { animation: nowout .45s cubic-bezier(.5,0,.7,.4) forwards; }
@keyframes nowout { to { transform: translateX(110%) rotate(6deg); opacity: 0; } }
.zs .now.arrive { animation: nowin .55s cubic-bezier(.2,1.4,.4,1); }
@keyframes nowin { from { transform: translateY(30px) scale(.9); opacity: 0; } }
.zs .sec { font-size: 9px; font-weight: 800; letter-spacing: .14em; color: var(--z-muted); margin: 0 0 6px; display: flex; gap: 6px; align-items: center; }
.zs .row { display: flex; align-items: center; gap: 10px; padding: 7px 2px; transition: opacity .4s, transform .4s; }
.zs .row .em { font-size: 18px; width: 24px; text-align: center; }
.zs .row .tx { flex: 1; min-width: 0; } .zs .row .tx b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zs .row .tx small { color: var(--z-muted); font-size: 11px; }
.zs .circ { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #ff6b6b; flex: none; display: grid; place-items: center; font-size: 12px; color: #fff; transition: all .35s cubic-bezier(.3,1.6,.5,1); }
.zs .circ.done { background: #2bd67b; border-color: #2bd67b; transform: scale(1.1); }
.zs .row.gone { opacity: 0; transform: translateX(30px); }
.zs .hold { position: relative; overflow: hidden; }
.zs .hold::before { content: ""; position: absolute; inset: 0; background: var(--phoenix); transform: scaleX(var(--p, 0)); transform-origin: left; border-radius: inherit; opacity: .35; }
.zs .later { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 800; letter-spacing: .14em; color: var(--z-muted); padding: 12px; }
.zs .mini { position: absolute; left: 22px; right: 22px; bottom: 82px; height: 40px; border-radius: 20px; background: var(--tomato); color: #fff; display: flex; align-items: center; gap: 8px; padding: 0 14px; font-weight: 800; z-index: 14; box-shadow: 0 10px 20px -8px rgba(255,46,99,.6); animation: nowin .5s cubic-bezier(.2,1.4,.4,1); }
.zs .mini span { margin-left: auto; font-variant-numeric: tabular-nums; }

/* Common headers */
.zs .bar { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 10px; }
.zs .bar h2 { margin: 0; font-size: 16px; font-weight: 800; }
.zs .gpill { height: 30px; border-radius: 15px; padding: 0 12px; background: var(--z-glass); box-shadow: inset 0 0 0 1px var(--z-line); display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 12px; }
.zs .segm { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 20px; background: var(--z-chip); margin-bottom: 10px; }
.zs .segm button { height: 32px; border-radius: 17px; font-weight: 800; font-size: 13px; transition: all .35s cubic-bezier(.3,1.4,.5,1); }
.zs .segm button[aria-pressed="true"] { color: #fff; box-shadow: 0 4px 12px -4px rgba(0,0,0,.3); }
.zs .segm.lime button[aria-pressed="true"] { background: var(--lime); }
.zs .segm.elec button[aria-pressed="true"] { background: var(--electric); }
.zs .segm.mango button[aria-pressed="true"] { background: var(--mango); }
.zs .pills { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; }
.zs .pills::-webkit-scrollbar { display: none; }
.zs .pills button { flex: none; height: 28px; padding: 0 12px; border-radius: 14px; background: var(--z-chip); font-weight: 700; font-size: 11.5px; }
.zs .pills button[aria-pressed="true"] { background: var(--electric); color: #fff; }

/* Habits */
.zs .week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; padding: 8px 6px; text-align: center; }
.zs .week div { border-radius: 12px; padding: 4px 0; font-size: 9px; color: var(--z-muted); font-weight: 700; }
.zs .week div b { display: block; font-size: 15px; color: var(--z-text); } .zs .week div i { display: block; width: 4px; height: 4px; border-radius: 50%; background: #2bd67b; margin: 2px auto 0; }
.zs .week div.today { background: var(--lime); color: #fff; } .zs .week div.today b { color: #fff; } .zs .week div.today i { background: #fff; }
.zs .hrow { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 20px; background: var(--z-card); margin-bottom: 8px; box-shadow: 0 6px 18px -12px rgba(80,40,10,.3); transition: all .5s cubic-bezier(.2,.9,.3,1); }
.zs .hrow.done { opacity: .72; } .zs .hrow.done .tx b { text-decoration: line-through; color: var(--z-muted); }
.zs .chk { position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 22px; border: 2px dashed #f2c94c; background: #fff8dc; overflow: hidden; transition: all .4s cubic-bezier(.3,1.6,.5,1); }
.zs .chk .fill { position: absolute; left: 0; right: 0; bottom: 0; background: var(--lagoon); transition: height .5s cubic-bezier(.3,1.3,.5,1); z-index: 0; }
.zs .chk span { position: relative; z-index: 1; }
.zs .chk.done { border: 0; color: #fff; font-size: 20px; font-weight: 900; }
.zs .hrow .tx { flex: 1; min-width: 0; } .zs .hrow .tx b { display: block; font-size: 14px; }
.zs .hrow .tx small { font-size: 11px; color: var(--z-muted); } .zs .hrow .tx small.risk { color: #e0a100; font-weight: 600; }
.zs .flame { font-weight: 900; font-size: 13px; display: flex; gap: 2px; align-items: center; font-variant-numeric: tabular-nums; }
.zs .quit { border-radius: 24px; padding: 16px; color: #fff; background: var(--phoenix); margin-bottom: 10px; position: relative; overflow: hidden; }
.zs .quit .days { font-size: 52px; font-weight: 900; line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.zs .quit .clock { font-variant-numeric: tabular-nums; font-weight: 700; opacity: .9; }
.zs .quit .chips { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; } .zs .quit .chips > span { background: rgba(255,255,255,.25); border-radius: 12px; padding: 4px 9px; font-weight: 700; font-size: 11px; }
.zs .bigbtn { width: 100%; height: 44px; border-radius: 22px; font-weight: 800; font-size: 14px; margin-top: 8px; }
.zs .bigbtn.wave { background: var(--lagoon); color: #fff; } .zs .bigbtn.slip { box-shadow: inset 0 0 0 1.5px var(--z-line); color: var(--z-muted); }
.zs .bigbtn.pledge { background: var(--z-card); box-shadow: 0 6px 18px -10px rgba(0,0,0,.3); position: relative; overflow: hidden; }
.zs .bigbtn.pledge.ok { background: linear-gradient(135deg, #ff4d8d, #ff9f1c); color: #fff; }

/* Tasks */
.zs .trow { display: flex; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--z-line); }
.zs .trow:last-child { border-bottom: 0; }
.zs .tbox { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--pc, #ff8a00); flex: none; display: grid; place-items: center; color: #fff; font-size: 11px; transition: all .35s cubic-bezier(.3,1.6,.5,1); }
.zs .trow.done .tbox { background: var(--pc, #ff8a00); }
.zs .trow .tx { flex: 1; min-width: 0; } .zs .trow .tx b { display: block; font-size: 13.5px; font-weight: 650; position: relative; width: fit-content; max-width: 100%; }
.zs .trow .tx b::after { content: ""; position: absolute; left: 0; top: 52%; height: 1.5px; background: currentColor; width: 0; transition: width .4s ease; }
.zs .trow.done .tx b { color: var(--z-muted); } .zs .trow.done .tx b::after { width: 100%; }
.zs .trow small { color: var(--z-muted); font-size: 10.5px; }
.zs .due { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 10px; color: #fff; flex: none; }
.zs .overdue-h { color: #ff3b5c; font-size: 11px; font-weight: 700; margin: 2px 0 2px; }
.zs .qbar { position: absolute; left: 12px; right: 12px; bottom: 84px; z-index: 14; }
.zs .qbar form { display: flex; gap: 6px; align-items: center; height: 44px; border-radius: 22px; padding: 0 6px 0 14px; background: var(--z-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 8px 24px -10px rgba(0,0,0,.35), inset 0 0 0 1px var(--z-line); }
.zs .qbar input { flex: 1; min-width: 0; border: 0; background: none; font: 600 13.5px var(--font); color: var(--z-text); outline: none; }
.zs .qbar input::placeholder { color: var(--z-muted); }
.zs .qbar .go { width: 32px; height: 32px; border-radius: 50%; background: var(--electric); color: #fff; font-weight: 900; }
.zs .qchips { display: flex; gap: 5px; margin-bottom: 6px; flex-wrap: wrap; min-height: 0; }
.zs .qchips span { background: var(--z-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 12px; padding: 4px 9px; font-weight: 700; font-size: 11px; box-shadow: inset 0 0 0 1px var(--z-line); animation: nowin .4s cubic-bezier(.2,1.4,.4,1); }
.zs .toast { position: absolute; left: 50%; bottom: 140px; translate: -50% 0; z-index: 40; background: #1d1b26; color: #fff; padding: 8px 8px 8px 14px; border-radius: 18px; font-weight: 700; font-size: 12px; display: flex; gap: 10px; align-items: center; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); animation: toastin .45s cubic-bezier(.2,1.4,.4,1); max-width: 92%; }
.zs .toast button { background: rgba(255,255,255,.18); border-radius: 12px; padding: 4px 10px; color: #fff; font-weight: 800; }
@keyframes toastin { from { opacity: 0; transform: translateY(16px) scale(.9); } }

/* You */
.zs .cal { display: grid; justify-items: center; padding: 14px 10px 12px; }
.zs .cal .wrapr { position: relative; width: 150px; height: 150px; }
.zs .cal svg { width: 150px; height: 150px; rotate: -90deg; } .zs .cal circle { fill: none; stroke-width: 14; }
.zs .cal .mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.zs .cal .mid b { font-size: 30px; font-weight: 900; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .zs .cal .mid small { color: var(--z-muted); font-size: 11px; }
.zs .macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; margin-top: 10px; }
.zs .macros div { background: var(--z-chip); border-radius: 12px; padding: 6px 8px; font-size: 10.5px; font-weight: 700; }
.zs .macros i { display: block; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--z-text) 10%, transparent); margin-top: 4px; overflow: hidden; }
.zs .macros i::after { content: ""; display: block; height: 100%; width: var(--w); background: var(--c); border-radius: 3px; }
.zs .water { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; }
.zs .glass { position: relative; width: 62px; height: 84px; border-radius: 8px 8px 18px 18px; border: 2.5px solid #9ad8f5; overflow: hidden; background: color-mix(in srgb, #43e8ff 8%, var(--z-card)); }
.zs .glass .lvl { position: absolute; left: -20%; right: -20%; bottom: 0; background: var(--lagoon); transition: height .8s cubic-bezier(.3,1.3,.5,1); }
.zs .glass .lvl::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; border-radius: 50%; background: #6fe7ff; animation: slosh 3s ease-in-out infinite; }
@keyframes slosh { 50% { transform: translateX(8%) rotate(3deg); } }
.zs .water b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }
.zs .wbtns { display: flex; gap: 6px; margin-top: 6px; } .zs .wbtns button { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--lagoon); color: #fff; font-weight: 800; font-size: 12px; }
.zs .wbtns button.ghost { background: var(--z-chip); color: var(--z-text); }
.zs .insight { border-radius: 18px; padding: 12px; background: var(--z-card); margin-bottom: 10px; box-shadow: 0 6px 18px -12px rgba(80,40,10,.3); }
.zs .insight b { display: block; font-size: 13.5px; margin-bottom: 8px; }
.zs .bars2 { display: grid; gap: 5px; font-size: 10.5px; color: var(--z-muted); font-weight: 600; }
.zs .bars2 div { display: grid; grid-template-columns: 74px 1fr 28px; gap: 6px; align-items: center; }
.zs .bars2 i { height: 10px; border-radius: 5px; background: var(--c); width: 0; transition: width 1s cubic-bezier(.2,.9,.3,1); }
.zs .insight small { display: block; margin-top: 8px; color: var(--z-muted); font-size: 10px; }
.zs .wt-hero b { font-size: 34px; font-weight: 900; letter-spacing: -.03em; } .zs .wt-hero .delta { display: inline-block; background: var(--grape); color: #fff; padding: 2px 9px; border-radius: 10px; font-weight: 800; font-size: 11px; margin-left: 6px; }
.zs .wt-chart path.line { fill: none; stroke: url(#zgrape); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s .2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.zs .night { border-radius: 22px; padding: 18px 14px; color: #fff; background: var(--midnight); position: relative; overflow: hidden; min-height: 170px; }
.zs .night .star { position: absolute; width: 2px; height: 2px; background: #fff; border-radius: 50%; animation: tw 3s ease-in-out infinite; }
@keyframes tw { 50% { opacity: .2; } }
.zs .night h3 { margin: 0; font-size: 22px; font-weight: 900; }
.zs .night button { margin-top: 14px; height: 40px; border-radius: 20px; padding: 0 18px; background: rgba(255,255,255,.2); color: #fff; font-weight: 800; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }

/* Sheets */
.zs .sheet { position: absolute; inset: 0; z-index: 30; display: flex; flex-direction: column; animation: sheetin .5s cubic-bezier(.2,.9,.3,1); }
@keyframes sheetin { from { transform: translateY(100%); } }
.zs .sheet.out { animation: sheetout .35s cubic-bezier(.5,0,.7,.4) forwards; }
@keyframes sheetout { to { transform: translateY(100%); } }
.zs .focus { background: var(--tomato); color: #fff; padding: 52px 18px 26px; transition: background .8s; align-items: center; text-align: center; }
.zs .focus.brk { background: var(--mint); }
.zs .focus .top { display: flex; width: 100%; justify-content: space-between; }
.zs .focus .gbtn { height: 34px; border-radius: 17px; padding: 0 14px; background: rgba(255,255,255,.22); font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.zs .focus .phase { margin-top: 12px; display: inline-block; padding: 5px 12px; border-radius: 14px; background: rgba(255,255,255,.22); font-weight: 800; font-size: 12px; }
.zs .focus .dots { margin-top: 6px; letter-spacing: 3px; font-size: 13px; }
.zs .tomato { position: relative; width: 220px; height: 220px; margin: 18px auto 10px; }
.zs .tomato svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.zs .tomato circle { fill: none; } .zs .tomato .trk { stroke: rgba(255,255,255,.25); stroke-width: 12; } .zs .tomato .prg { stroke: #fff; stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.zs .tomato .body { position: absolute; inset: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ff6b6b, #c0193f 70%); box-shadow: inset -8px -12px 24px rgba(0,0,0,.25), 0 10px 30px rgba(120,0,30,.35); display: grid; place-content: center; overflow: hidden; transition: background .8s; }
.zs .focus.brk .tomato .body { background: radial-gradient(circle at 35% 30%, #8ff7d6, #19a98a 75%); }
.zs .tomato .body::before { content: ""; position: absolute; left: 22%; top: 12%; width: 36%; height: 18%; border-radius: 50%; background: rgba(255,255,255,.28); rotate: -20deg; }
.zs .tomato .leaf { position: absolute; top: 4px; left: 50%; translate: -50% 0; font-size: 26px; z-index: 2; }
.zs .tomato .t { font-size: 46px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; line-height: 1; position: relative; }
.zs .tomato small { font-weight: 700; opacity: .85; position: relative; }
.zs .fctrl { display: flex; gap: 16px; align-items: center; justify-content: center; margin-top: auto; }
.zs .fctrl .c { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 18px; font-weight: 900; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.zs .fctrl .play { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #ff2e63; font-size: 26px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.35); }
.zs .focus.brk .fctrl .play { color: #19a98a; }
.zs .fsub { display: flex; gap: 8px; justify-content: center; margin-top: 12px; } .zs .fsub button { height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(255,255,255,.22); font-weight: 800; font-size: 12px; }
.zs .fspeed { margin-top: 10px; font-size: 10px; opacity: .85; }
.zs .modal { background: color-mix(in srgb, #000 35%, transparent); justify-content: flex-end; animation: fadein .3s; }
@keyframes fadein { from { background: transparent; } }
.zs .panel { background: var(--z-bg); border-radius: 30px 30px 0 0; padding: 10px 14px 30px; max-height: 88%; overflow: auto; animation: sheetin .45s cubic-bezier(.2,.9,.3,1); }
.zs .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--z-line); margin: 0 auto 10px; }
.zs .panel h3 { margin: 4px 0 10px; font-size: 17px; }
.zs .panel input { width: 100%; height: 44px; border-radius: 14px; border: 1px solid var(--z-line); background: var(--z-card); padding: 0 12px; font: 600 14px var(--font); color: var(--z-text); outline: none; }
.zs .panel input:focus { border-color: #ff6a1a; }
.zs .sugs { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.zs .sugs button { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--z-chip); font-weight: 700; font-size: 12px; }
.zs .bubble { border-radius: 18px; padding: 10px 12px; margin: 8px 0; font-size: 12.5px; max-width: 90%; animation: nowin .4s cubic-bezier(.2,1.4,.4,1); }
.zs .bubble.me { background: var(--electric); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.zs .bubble.ai { background: var(--z-card); border-bottom-left-radius: 6px; box-shadow: 0 6px 16px -10px rgba(0,0,0,.3); }
.zs .bubble.ai ul { margin: 6px 0 0; padding-left: 16px; }
.zs .typing i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--z-muted); margin-right: 3px; animation: bob 1s infinite; }
.zs .typing i:nth-child(2) { animation-delay: .15s; } .zs .typing i:nth-child(3) { animation-delay: .3s; }
.zs .note { font-size: 10.5px; color: var(--z-muted); text-align: center; margin-top: 10px; }
.zs .breathe { background: linear-gradient(160deg, #0f2f4a, #155e8a); color: #fff; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.zs .orbb { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9ff3ff, #2f80ed); box-shadow: 0 0 60px rgba(67,232,255,.6); margin: 26px auto; animation: breath 16s ease-in-out infinite; }
@keyframes breath { 0% { transform: scale(.7); } 25% { transform: scale(1.25); } 50% { transform: scale(1.25); } 75% { transform: scale(.7); } 100% { transform: scale(.7); } }
.zs .breathe .count { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; }
.zs .breathe button { height: 40px; border-radius: 20px; padding: 0 16px; background: rgba(255,255,255,.18); color: #fff; font-weight: 800; margin: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.zs .fx { position: absolute; inset: 0; pointer-events: none; z-index: 50; width: 100%; height: 100%; }
.zs .hint { animation: hint 1.2s ease-in-out 3; position: relative; z-index: 2; }
@keyframes hint { 50% { box-shadow: 0 0 0 6px rgba(255,60,172,.45); } }
.zs .stamp { position: absolute; left: 50%; top: 40%; translate: -50% -50%; z-index: 45; background: var(--lime); color: #fff; font-weight: 900; font-size: 22px; padding: 14px 22px; border-radius: 22px; rotate: -8deg;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); animation: slam .7s cubic-bezier(.2,1.6,.4,1); pointer-events: none; text-align: center; }
@keyframes slam { from { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .zs .orbb { animation: none; } }

/* ---------- Android look (Material navigation bar, hole-punch camera) ---------- */
.zs.android .island { width: 13px; height: 13px; border-radius: 50%; top: 13px; padding: 0; }
.zs.android .island span { display: none; }
.zs.android .status { padding: 8px 20px 0 22px; font-size: 13px; }
.zs.android .tabs { left: 0; right: 0; bottom: 0; height: 80px; border-radius: 0; padding: 8px 4px 22px; background: var(--z-card);
  backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 -1px 0 var(--z-line); }
.zs.android .tabs button { border-radius: 0; gap: 4px; font-size: 11px; font-weight: 600; color: var(--z-muted); }
.zs.android .tabs button[aria-selected="true"] { background: none; color: var(--z-text); font-weight: 800; }
.zs.android .tabs b.pill { width: 58px; height: 30px; border-radius: 15px; display: grid; place-items: center; font-size: 17px;
  filter: none; opacity: 1; transition: background .3s; }
.zs.android .tabs button[aria-selected="true"] b.pill { background: rgba(255, 107, 107, .16); transform: none; }
.zs.android .home-ind { bottom: 7px; width: 96px; height: 4px; }
.zs.android .view { padding-bottom: 110px; }
.zs.android .mini { bottom: 92px; border-radius: 14px; }
.zs.android .qbar { bottom: 90px; }
.zs.android .toast { bottom: 150px; border-radius: 6px; }
.zs.android .card, .zs.android .hrow { border-radius: 16px; }
.zs .tabs svg { display: block; }
.zs .tabs button[aria-selected="true"] svg { color: #ff6a1a; }

/* Native screen layouts inside the browser demo */
.zs .scope-chip { flex: none; padding: 5px 6px; border-radius: 16px; background: rgba(255,255,255,.42); font-size: 10px; font-weight: 700; }
.zs .hdr-row .hbtn { flex-shrink: 0; width: 26px; height: 26px; }
.zs .day-card p { margin: 6px 0; color: var(--z-muted); font-size: 11px; }
.zs .day-card ol { margin: 6px 0 8px; padding-left: 16px; font-weight: 700; font-size: 11px; }
.zs .day-title { display: flex; justify-content: space-between; align-items: center; }
.zs .day-title button { color: var(--z-muted); min-width: 24px; font-size: 16px; }
.zs .day-plan { color: #b42c4a; background: #ffe1e5; border-radius: 12px; padding: 5px 10px; font-size: 11px; font-weight: 800; }
.zs .later-card { padding: 0 12px; }
.zs button.later { width: 100%; min-height: 38px; font-size: 11px; font-weight: 800; color: var(--z-muted); padding: 0; }
.zs .later-card .row:last-child { padding-bottom: 12px; }

.zs .task-search { width: 100%; margin-bottom: 9px; border: 1px solid var(--z-line); border-radius: 20px; padding: 8px 12px; background: var(--z-chip); color: var(--z-text); font: inherit; }
.zs .tasks-summary small, .zs .goals-summary small { display: block; margin-top: 2px; color: var(--z-muted); }
.zs .task-filters, .zs .goal-filters, .zs .you-segments { display: flex; overflow-x: auto; scrollbar-width: none; }
.zs .task-filters button, .zs .goal-filters button, .zs .you-segments button { flex: none; padding-inline: 10px; }
.zs .task-results { padding-bottom: 44px; }
.zs .goal-tabs button[aria-pressed="true"], .zs .goal-filters button[aria-pressed="true"], .zs .goal-fab { background: #8653c4; color: #fff; }
.zs .goals-summary, .zs .goal-card, .zs .goal-detail { display: flex; gap: 10px; align-items: center; }
.zs .goals-summary strong { font-size: 20px; color: var(--z-text); }
.zs .goal-card .goal-detail { flex: 1; min-width: 0; text-align: start; }
.zs .goal-detail small { display: block; color: var(--z-muted); }
.zs .goal-ring { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: conic-gradient(#9f70db var(--progress), var(--z-line) 0); }
.zs .goal-ring span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--z-card); }
.zs .goal-increment { border-radius: 14px; color: #63368d; background: #edddff; min-width: 34px; min-height: 30px; font-weight: 800; }
.zs .demo-fab { display: grid; place-items: center; width: 38px; height: 38px; margin: 6px 0 0 auto; border-radius: 50%; font-size: 23px; font-weight: 800; }
.zs .habit-fab { background: #a9e86d; color: #234407; }
.zs .habit-progress { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.zs .habit-progress span, .zs .habit-group .sec small { color: var(--z-muted); }
.zs .habit-group .sec { margin-top: 14px; justify-content: space-between; }
.zs .hrow.done { background: color-mix(in srgb, #54c89c 17%, var(--z-card)); }
.zs .hrow .chk.done { background: #4cce98; color: #123b2d; }
.zs .activity-hero strong { font-size: 30px; }

.zs .sheet-heading { display: grid; grid-template-columns: minmax(46px, 1fr) auto minmax(46px, 1fr); align-items: center; gap: 6px; margin: 0 0 12px; }
.zs .sheet-heading h3 { margin: 0; text-align: center; font-size: 14px; }
.zs .sheet-heading button { justify-self: start; border-radius: 20px; padding: 7px 9px; background: var(--z-card); font-weight: 700; font-size: 11px; }
.zs .sheet-heading button:last-child { justify-self: end; }
.zs .planner-panel { display: flex; flex-direction: column; height: 91%; max-height: 91%; padding: 12px 0 0; overflow: hidden; }
.zs .planner-panel .grab { display: none; }
.zs .planner-panel .sheet-heading { padding: 0 12px; margin-bottom: 8px; }
.zs .planner-scroll { flex: 1; overflow-y: auto; padding: 8px 12px; }
.zs .plan-summary p { margin: 3px 0 0; font-size: 11px; color: var(--z-muted); }
.zs .plan-timeline { position: relative; min-height: var(--timeline-height); font-size: 11px; }
.zs .plan-hour { position: absolute; top: var(--top); width: 100%; border-top: 1px solid var(--z-line); }
.zs .plan-hour span { display: block; width: 36px; padding-top: 3px; color: var(--z-muted); font-size: 9px; }
.zs .plan-block { position: absolute; top: var(--top); left: 38px; right: 0; min-height: var(--duration); display: flex; gap: 4px; align-items: center; text-align: start; padding: 3px 6px; border: 1px solid #f6a2a0; border-radius: 6px; background: #ffd9d6; color: #451f24; }
.zs .plan-block.fixed { background: #e8def7; border-color: #c1a5e4; }
.zs .plan-block.habit { background: #fff0bd; border-color: #e4ca7e; }
.zs .plan-block-title { display: grid; line-height: 1.2; min-width: 0; }
.zs .plan-block-title b { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zs .plan-block-title small { font-size: 8px; }
.zs .plan-options { position: sticky; top: 0; z-index: 2; display: grid; padding: 8px; border: 1px solid var(--z-line); text-align: start; }
.zs .plan-options p { margin: 4px 8px; }
.zs .plan-options button { padding: 7px; text-align: start; border-radius: 6px; }
.zs .plan-options button:hover, .zs .plan-options button:focus-visible { background: var(--z-chip); }
.zs .plan-actions { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 12px 16px; background: var(--z-card); }
.zs .plan-actions button, .zs .editor-save { border-radius: 18px; padding: 10px; font-weight: 800; }
.zs .plan-actions .apply-plan, .zs .editor-save { color: #fff; background: linear-gradient(120deg, #ff5e4b, #fa2469); width: 100%; }
.zs .plan-actions button:disabled { opacity: .55; cursor: default; }
.zs.android .planner-panel { height: 100%; max-height: 100%; border-radius: 0; padding-top: 42px; }
.zs.android:has(.modal:not(.out) .planner-panel) .status { z-index: 31; }
.zs.android:has(.modal:not(.out) .planner-panel) .island { z-index: 32; }
.zs.android .plan-timeline { display: grid; gap: 6px; min-height: 0; }
.zs.android .plan-block { position: static; min-height: 36px; width: 100%; border: 0; border-radius: 9px; padding: 5px 8px; gap: 6px; }
.zs.android .plan-gutter { flex: 0 0 46px; font-size: 9px; }
.zs.android .plan-block-title small { font-size: 9px; }
.zs.android .you-bar { justify-content: space-between; }

.zs .demo-editor { display: grid; gap: 10px; }
.zs .demo-editor label { display: grid; gap: 4px; font-weight: 700; }
.zs .demo-editor select { color: var(--z-text); background: var(--z-card); border: 1px solid var(--z-line); border-radius: 12px; padding: 8px; font: inherit; }
.zs .plus-field { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.zs .plus-field button { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--electric); color: #fff; }
.zs .plus-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.zs .plus-tiles button { display: grid; gap: 2px; padding: 7px; border-radius: 10px; background: var(--z-card); font-size: 20px; }
.zs .plus-tiles b { font-size: 11px; }

.zs .plan-summary .day-plan { margin-top: 8px; }
.zs:not(.android) .plan-block:not(.fixed) { touch-action: none; }
.zs .sheet.out { pointer-events: none; }
.zs .mini { background: #ffdfe7; color: #821337; padding: 0 6px 0 10px; }
.zs .mini button:first-child { flex: 1; display: flex; align-items: center; gap: 6px; }
.zs .mini .mini-pause { width: 28px; height: 28px; border-radius: 50%; color: #fff; background: #c12855; }
.zs .focus .focus-task, .zs .focus .focus-label { margin: 4px 0; min-height: 26px; height: auto; font-size: 11px; }
.zs .focus .body { color: inherit; }
.zs .focus-picks { display: grid; text-align: start; }
.zs .focus-picks button { padding: 10px 4px; border-bottom: 1px solid var(--z-line); text-align: start; }
.zs .slip-sheet { padding: 18px 14px; border-radius: 18px; background: #261a31; color: white; }
.zs .slip-sheet strong { font-size: 28px; }
.zs .slip-sheet button[data-close] { display: block; margin: 12px auto 0; }
.zs.android { font-family: Roboto, system-ui, sans-serif; }
.zs.android .hdr-row { flex-wrap: wrap; justify-content: flex-end; }
.zs.android .hdr-row .date { flex-basis: 100%; }
.zs.android .hdr h2 { margin-top: 5px; }
.zs.android .hdr:not(.dusk,.night) { background: linear-gradient(120deg, #56ccf2, #ffd86f); }
.zs.android .ring { position: relative; }
.zs.android .ring .ico { display: none; }
.zs.android .ring b { position: absolute; top: 16px; font-size: 9px; }
.zs.android .tabs button[aria-selected="true"] { color: #c45748; }
.zs.android .tabs button:not([aria-selected="true"]) .pill { opacity: .6; }

.zs .android-tasks-header { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.zs .android-tasks-header .gpill { padding: 0 6px; font-size: 10px; }
.zs .android-tasks-header .segm { margin: 0; flex: 1; min-width: 0; }
.zs .android-tasks-header .segm button { font-size: 10px; white-space: nowrap; }
.zs .fuel-week .week .today { background: #f49a21; }
.zs .fuel-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.zs .fuel-head small { border-radius: 12px; padding: 3px 6px; background: #fff0d5; color: #864600; font-size: 9px; }
.zs .cal .macros b { display: block; font-size: 13px; }
.zs .fuel-actions { display: flex; gap: 8px; width: 100%; margin-top: 8px; }
.zs .fuel-actions button { flex: 1; padding: 8px 4px; border-radius: 16px; color: #874100; background: #fff0d5; font-size: 11px; font-weight: 800; }
.zs .fuel-actions button:last-child { color: #301601; background: linear-gradient(120deg,#ffc34d,#ff8c19); }
.zs .activity-top { display: flex; align-items: center; gap: 10px; }
.zs .activity-hero.move { background: linear-gradient(130deg,#c5ef37,#22b7aa); color: #11383a; }
.zs .activity-hero.mind { background: linear-gradient(130deg,#d6c6fa,#91c5fa); color: #26333f; }
.zs .activity-hero [data-session], .zs button.activity-log { border-radius: 14px; padding: 9px; width: 100%; font-size: 11px; font-weight: 800; background: #ebfaf5; color: #184647; }
.zs .activity-hero.mind [data-session] { background: #5e72cf; color: #fff; }
.zs button.activity-log { margin-bottom: 10px; background: var(--z-chip); color: var(--z-text); }
.zs .activity-bars { height: 64px; display: flex; align-items: end; gap: 8px; padding-top: 7px; }
.zs .activity-bars i { flex: 1; height: var(--minutes); background: #ec8261; border-radius: 4px 4px 0 0; }
.zs .activity-bars i:nth-child(2n) { background: #a77df0; }
.zs .mind-options { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 7px; }
.zs .mind-options button { padding: 5px 8px; border-radius: 7px; background: #f5f3ff; font-size: 10px; }
.zs .mind-options button[aria-pressed="true"] { background: #3d63aa; color: #fff; }
.zs .demo-session { display: grid; gap: 10px; justify-items: center; }
.zs .demo-session strong { font-size: 32px; }
.zs button.quit-tracker { display: grid; gap: 5px; width: 100%; padding: 14px; text-align: start; color: #fff; background: var(--phoenix); }
.zs .quit-tracker strong { font-size: 24px; }
.zs .quit-pledge .bigbtn { margin-top: 2px; background: var(--z-chip); }
.zs .quit-pledge .bigbtn.ok { background: var(--phoenix); }
