/* Playground protos E: accountMenu (pm-), boardingStatus (pd-), grindToolbar (pt-), trackQueue (pq-), plantHealth (pl-).
   Built at a fixed design size and scaled to the stage. Motion lives in js/ui-protos-e.js (GSAP). */
.pm, .pd, .pt, .pq, .pl { overflow: hidden; color: #17181B; -webkit-tap-highlight-color: transparent; }
:where(.pm, .pd, .pt, .pq, .pl) button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
.pm button:focus-visible, .pd button:focus-visible, .pt button:focus-visible, .pq button:focus-visible, .pl button:focus-visible, .pt-track:focus-visible, .pq-in:focus-visible { outline: 2px solid #2E8BF0; outline-offset: 3px; }

/* ───────── 1 · account menu · 720 × 880 ───────── */
.pm { background: #F4F4F4; }
.pm::before { content: ""; position: absolute; left: -40px; top: 150px; width: 700px; bottom: -40px; background: #FAFAFA; border-radius: 0 54px 0 0; box-shadow: 0 0 0 1px rgba(0,0,0,.035); }
.pm-top { position: absolute; right: 70px; top: 58px; display: flex; align-items: center; gap: 24px; }
.pm-gift { display: inline-flex; align-items: center; gap: 12px; height: 74px; padding: 0 34px 0 36px; border-radius: 37px; background: #F0F0F0; box-shadow: inset 0 0 0 1px #E3E3E3; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.pm-av { position: relative; width: 78px; height: 78px; border-radius: 50%; padding: 0; }
.pm-ring { position: absolute; inset: -5px; border-radius: 50%; background: conic-gradient(from 20deg, #F68AB4, #FDB65C 38%, #F9A27A 62%, #F68AB4); }
.pm-face { position: absolute; inset: 0; border-radius: 50%; border: 4px solid #FAFAFA; background: radial-gradient(circle at 40% 30%, #6FD79A 0, #35B26E 55%, #1F8F53 100%); box-shadow: inset 0 -8px 14px rgba(0, 70, 30, .35); overflow: hidden; }
.pm-eye { position: absolute; top: 28px; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2.5px #fff, inset 0 0 0 5px #17181B; }
.pm-eye:nth-child(1) { left: 24px; } .pm-eye:nth-child(2) { left: 40px; }
.pm-mouth { position: absolute; left: 29px; top: 41px; width: 16px; height: 11px; border-radius: 8px 8px 9px 9px; background: #FF77B4; }
.pm-menu { position: absolute; right: 70px; top: 158px; width: 440px; padding: 12px; border-radius: 30px; background: #FDFDFD; transform-origin: 88% 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,.055), 0 1px 2px rgba(0,0,0,.04), 0 36px 64px -22px rgba(0,0,0,.2); }
.pm-hl { position: absolute; left: 12px; right: 12px; top: 0; height: 60px; border-radius: 20px; background: #F1F1F1; opacity: 0; pointer-events: none; }
.pm-it { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; width: 100%; height: 62px; padding: 0 18px; border-radius: 20px; text-align: left; font-size: 25px; letter-spacing: -.01em; color: #26272A; }
.pm-it svg { flex: none; width: 30px; height: 30px; }
.pm-it:focus-visible { outline-offset: -3px; }
.pm-pro { position: relative; overflow: hidden; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px 6px 12px; border-radius: 13px; background: #FBC8F7; box-shadow: inset 0 0 0 1.5px #F29BEE; color: #4B0E52; font-size: 21px; font-weight: 800; letter-spacing: .02em; }
.pm-sheen { position: absolute; top: 0; bottom: 0; left: 0; width: 60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); pointer-events: none; transform: translateX(-140%); }
.pm-sep { margin: 8px -12px; height: 1px; border: 0; background: #EEEEEE; }
.pm-note { position: absolute; left: 44px; bottom: 56px; margin: 0; font-size: 22px; color: #6b6e75; opacity: 0; }

/* ───────── 2 · boarding status · 1000 × 700 ───────── */
.pd { background: #FAFBFD; }
.pd-head, .pd-steps { position: absolute; left: 150px; width: 700px; background: #fff; border-radius: 28px; box-shadow: 0 0 0 1px #DCE3EC, 0 1px 2px rgba(20,40,80,.05), 0 24px 50px -28px rgba(30,60,120,.22); }
.pd-head { top: 86px; height: 86px; display: flex; align-items: center; gap: 24px; padding: 0 20px 0 18px; cursor: pointer; }
.pd-mark { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; border: 1.5px solid #EBCFF7; background: #FBF3FF; color: #B26BE6; font-size: 26px; font-weight: 500; }
.pd-title { display: flex; align-items: center; gap: 12px; font-size: 29px; letter-spacing: -.01em; white-space: nowrap; }
.pd-title b { font-weight: 500; } .pd-title i { font-style: normal; color: #9aa0a8; } .pd-title em { font-style: normal; color: #6b727b; }
.pd-state { position: relative; display: inline-block; min-width: 190px; height: 36px; line-height: 36px; }
.pd-state > span { position: absolute; left: 0; top: 0; line-height: 36px; }
.pd-grid { position: absolute; left: 170px; top: 188px; width: 660px; height: 160px; display: grid; grid-template-columns: repeat(30, 1fr); grid-template-rows: repeat(9, 1fr); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 50% 60% at 50% 40%, #000 30%, transparent 100%); pointer-events: none; }
.pd-grid i { width: 8px; height: 8px; border-radius: 2px; justify-self: center; align-self: center; background: #c7d3ea; }
.pd-steps { top: 366px; margin: 0; padding: 14px 0; list-style: none; }
.pd-steps li { display: flex; align-items: center; gap: 26px; height: 78px; padding: 0 40px 0 34px; }
.pd-ico { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #E4E7EC, 0 3px 8px rgba(30,40,60,.1); display: grid; place-items: center; }
.pd-ico svg { width: 36px; height: 36px; overflow: visible; }
.pd-lab { font-size: 27px; font-weight: 500; letter-spacing: -.005em; }
.pd-time { margin-left: auto; font: 500 20px/1 "Geist Mono", ui-monospace, monospace; color: #8b9199; font-variant-numeric: tabular-nums; }
.pd-replay { position: absolute; right: 150px; bottom: 34px; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 23px; background: #fff; box-shadow: 0 0 0 1px #DCE3EC; font-size: 19px; color: #4b5260; }

/* ───────── 3 · grind toolbar · 900 × 675 ───────── */
.pt { background: #F4F2F2; }
.pt-bar { position: absolute; left: 266px; top: 150px; display: flex; gap: 10px; }
.pt-add, .pt-grp { display: flex; align-items: center; height: 58px; border-radius: 20px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 10px 22px -10px rgba(40,30,30,.22); }
.pt-add { gap: 10px; padding: 0 26px 0 24px; font-size: 21px; color: #4a4a4c; }
.pt-grp { gap: 8px; padding: 0 10px 0 16px; font-size: 21px; color: #4a4a4c; }
.pt-type { display: inline-flex; align-items: center; gap: 12px; margin-right: 4px; }
.pt-dots { display: grid; grid-template-columns: repeat(3, 4px); gap: 2px; padding: 4px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px #8a8a8c; }
.pt-dots b { width: 4px; height: 4px; border-radius: 50%; background: #8a8a8c; }
.pt-val { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px 0 20px; border-radius: 14px; background: #F1F1F1; font-size: 22px; font-weight: 500; color: #1d1d1f; }
.pt-val svg { color: #9a9a9c; }
.pt-num { display: inline-block; min-width: 2ch; text-align: right; font-variant-numeric: tabular-nums; }
.pt-div { width: 1px; height: 34px; background: #E6E6E6; margin: 0 4px 0 6px; }
.pt-more { display: grid; place-items: center; width: 38px; height: 46px; color: #4a4a4c; }
.pt-pop { position: absolute; left: 200px; top: 236px; width: 500px; padding: 22px 20px 20px; border-radius: 26px; background: #fff; transform-origin: 67% 0; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 54px -22px rgba(50,40,40,.3); }
.pt-pl { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 21px; color: #2a2a2c; }
.pt-pl em { font-style: normal; font-size: 18px; color: #B8651B; }
.pt-track { position: relative; height: 54px; border-radius: 10px; background: #F1F1F1; cursor: ew-resize; touch-action: none; }
.pt-fill { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(90deg, #FFE9C9, #F7B766); transform-origin: 0 50%; }
.pt-thumb { position: absolute; left: 0; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: #B8651B; box-shadow: 0 0 0 3px rgba(255,255,255,.7); }
.pt-scale { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; font-size: 19px; color: #8a8a8c; }
.pt-ticks { flex: 1; display: flex; justify-content: space-between; align-items: center; height: 22px; }
.pt-ticks b { width: 2px; height: 14px; border-radius: 1px; background: #C9C9CB; transform-origin: 50% 50%; }

/* ───────── 4 · track queue · 900 × 750 ───────── */
.pq { background: #F4F4F4; }
.pq-phone { position: absolute; left: 190px; top: 0; width: 520px; height: 690px; border-radius: 0 0 74px 74px; background: #0A0A0B; border: 12px solid #0A0A0B; border-top: 0; box-shadow: 0 0 0 2px #38383B, 0 40px 60px -30px rgba(0,0,0,.4); overflow: hidden; }
.pq-art { position: absolute; left: 0; right: 0; top: 0; height: 470px; background: radial-gradient(70% 60% at 22% 105%, #0A0A0B 0 54%, transparent 55%), radial-gradient(34% 22% at 8% 8%, #E3BA90, transparent), linear-gradient(180deg, #EDEDED 0%, #C9C9C9 36%, #0A0A0B 96%); }
.pq-up { position: absolute; right: 54px; top: 120px; display: flex; align-items: center; gap: 12px; font-size: 21px; letter-spacing: .01em; color: #fff; }
.pq-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 6px; background: #E8791E; font-size: 17px; font-weight: 600; }
.pq-pg { position: absolute; right: 12px; top: 56px; display: flex; flex-direction: column; gap: 36px; }
.pq-pg b { width: 11px; height: 11px; border-radius: 50%; background: #4A4A4D; }
.pq-pg b:first-child { background: #EDEDED; }
.pq-row { position: absolute; left: 14px; right: 14px; bottom: 150px; display: flex; gap: 14px; align-items: center; height: 74px; }
.pq-sun, .pq-send { flex: none; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: #1C1C1E; color: #F2F2F3; }
.pq-field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 74px; padding: 0 24px; border-radius: 37px; background: #1C1C1E; cursor: text; }
.pq-tokens { display: inline-flex; gap: 8px; }
.pq-tok { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 14px; background: #3A3A3D; color: #F2F2F3; font-size: 21px; white-space: nowrap; box-sizing: border-box; }
.pq-ghost { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; padding: 0 14px; background: #E8791E; color: #fff; }
.pq-in { flex: 1; min-width: 40px; border: 0; outline: 0; background: transparent; color: #F4F4F5; font: inherit; font-size: 27px; caret-color: #E8791E; }
.pq-in::placeholder { color: #F4F4F5; opacity: .92; }
.pq-chips { position: absolute; left: 14px; right: 0; bottom: 78px; display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); cursor: grab; }
.pq-chips::-webkit-scrollbar { display: none; }
.pq-chip { flex: none; display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 10px 0 22px; border-radius: 22px; background: #1C1C1E; color: #CFCFD2; font-size: 25px; transition: background-color .2s, color .2s; }
.pq-chip i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #2C2C2E; color: #E7E7E9; transition: background-color .2s; }
.pq-chip i svg { width: 22px; height: 22px; overflow: visible; }
.pq-chip.is-on { background: #2D251C; color: #FFC58A; }
.pq-chip.is-on i { background: #E8791E; color: #fff; }
.pq-home { position: absolute; left: 50%; bottom: 16px; width: 230px; height: 8px; margin-left: -115px; border-radius: 4px; background: #fff; }

/* ───────── 5 · plant health · 900 × 900 ───────── */
.pl { background: #CFE8DA; }
.pl::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='220' height='220' filter='url(%23n)'/></svg>"); }
.pl-phone { position: absolute; left: 170px; top: 0; width: 560px; height: 800px; border-radius: 0 0 82px 82px; background: #fff; border: 14px solid #0A0A0B; border-top: 0; box-shadow: 0 0 0 2px #2c2c2f, 0 40px 60px -30px rgba(0,0,0,.4); overflow: hidden; }
.pl-photo { position: absolute; left: 0; right: 0; top: 0; height: 520px; overflow: hidden; }
.pl-img { position: absolute; inset: -4%; background: url(/assets/images/gatherly/photos/cowork.jpg) 50% 40% / cover; }
.pl-drops { position: absolute; inset: 0; pointer-events: none; }
.pl-drops b { position: absolute; top: 0; width: 8px; height: 18px; border-radius: 6px 6px 8px 8px; background: #A9D8FF; opacity: 0; }
.pl-seg { position: absolute; left: 10px; right: 10px; top: 478px; height: 150px; border-radius: 34px; background: rgba(235,235,236,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 -1px 0 rgba(255,255,255,.6); touch-action: none; }
.pl-thumb { position: absolute; left: 0; top: 12px; width: 168px; height: 74px; border-radius: 18px; background: #B7B7BA; cursor: grab; z-index: 2; touch-action: none; }
.pl-thumb:active { cursor: grabbing; }
.pl-thumb i { position: absolute; right: 18px; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: #fff; }
.pl-ticks { position: absolute; left: 84px; width: 344px; top: 12px; height: 74px; display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.pl-ticks b { width: 2px; height: 12px; border-radius: 1px; background: #8E8E91; transform-origin: 50% 50%; }
.pl-labs { position: absolute; left: 22px; right: 22px; bottom: 16px; display: flex; justify-content: space-between; z-index: 3; }
.pl-lab { font-size: 29px; letter-spacing: -.01em; color: #9A9A9D; padding: 6px 0; transition: color .2s; }
.pl-lab.is-on { color: #2F2F31; font-weight: 500; }
.pl-btns { position: absolute; left: 10px; right: 10px; top: 640px; display: flex; gap: 12px; }
.pl-water, .pl-share { height: 104px; border-radius: 38px; font-size: 29px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.pl-water { flex: 1.15; background: #202022; color: #fff; transition: background-color .25s; }
.pl-water.is-busy { background: #2f6fb5; }
.pl-share { flex: 1; background: #ECECED; color: #3B3B3D; }
.pl-home { position: absolute; left: 50%; bottom: 20px; width: 230px; height: 8px; margin-left: -115px; border-radius: 4px; background: #0A0A0B; }

@media (hover: hover) and (pointer: fine) {
  .pm-gift:hover, .pt-add:hover, .pd-replay:hover { background-color: #EAEAEA; }
  .pm-it:hover { color: #000; }
  .pq-chip:not(.is-on):hover { background: #232326; }
  .pl-share:hover { background: #E3E3E5; }
}
