/* Tanah Mympi guest app v2: photos, shop, instructions, book, island */
body.noscroll { overflow: hidden; }
.link { background: none; border: 0; padding: 0; min-height: 44px; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; font-size: 0.95rem; text-align: left; }
.btn.sm { min-height: 44px; padding: 8px 18px; font-size: 0.95rem; }
.sec-title { font-size: var(--fs-h3); color: var(--teal); margin: 22px 0 8px; }
.cap { text-transform: capitalize; }

/* today strip */
.today { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 10px; padding: 8px 14px; background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius-pill); font-size: 0.92rem; width: fit-content; max-width: 100%; }
.today .tl { font-family: var(--font-display); color: var(--teal); font-size: 1.05rem; margin-right: 2px; }
.today .sep { color: var(--sand); }

/* segmented control */
.seg { display: flex; background: var(--sand-light); border-radius: var(--radius-pill); padding: 4px; margin: 4px 0 14px; }
.seg button { flex: 1; min-height: 44px; border: 0; background: none; border-radius: var(--radius-pill); color: var(--navy); }
.seg button.on { background: var(--white); color: var(--teal); box-shadow: var(--shadow); font-weight: 600; }

/* photos in list rows */
.item .hit { display: flex; gap: 12px; align-items: center; min-width: 0; flex: 1; cursor: pointer; border-radius: 10px; }
.item .hit:focus-visible, .pcard .hit:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }
.item .th { width: 68px; height: 68px; aspect-ratio: 1; flex: none; }
.item .th.tm-photo-empty span { font-size: 1.5rem; }
.low { font-size: 0.82rem; color: var(--warn); margin-top: 2px; }
.low.off { color: var(--muted); }
.add.wide { padding: 0 16px; font-size: 0.95rem; white-space: nowrap; }

/* shop grid */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 10px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: repeat(3, 1fr); } }
.pcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand-light); border-radius: var(--radius); padding: 8px 8px 10px; box-shadow: var(--shadow); }
.pcard .hit { flex: 1; cursor: pointer; display: block; }
.pcard .pth { aspect-ratio: 1; width: 100%; }
.pcard .pn { font-weight: 500; margin-top: 8px; line-height: 1.2; }
.pcard .pp { color: var(--teal); font-size: 0.95rem; margin-top: 2px; }
.pcard .po { font-size: 0.82rem; color: var(--muted); }
.pcard .ctl { margin-top: 8px; }
.pcard .add { width: 100%; }
.pcard .step { width: 100%; justify-content: space-between; }
.pcard.off { opacity: 0.6; }
.pcard .na { display: block; text-align: center; padding: 10px 0; }

/* item sheet + instructions */
.bigph { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; margin-bottom: 10px; }
.bigph.tm-photo-empty span { font-size: 4rem; }
.ip { font-size: 1.15rem; color: var(--teal); }
.idesc { margin: 6px 0 0; color: var(--navy); }
.qtyrow { display: flex; align-items: center; gap: 14px; }
.qchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.qc { min-height: 44px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--sand); background: var(--white); font-size: 0.95rem; }
.qc.on { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.instr .input { min-height: 44px; font-size: 1rem; margin-top: 0; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.ilabel { font-size: 0.9rem; color: var(--muted); margin: 10px 0 6px; }
.inote { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 6px; padding: 8px 12px; background: var(--sand-light); border-radius: 10px; font-size: 0.95rem; }
.inote .il { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); width: 100%; }
.inote .it { flex: 1; min-width: 0; word-break: break-word; }
.cl .link { margin-top: 2px; }

/* cart: delivery point, discount */
.loc small { display: block; font-size: 0.78rem; opacity: 0.85; line-height: 1.1; }
.loc:has(small) { padding-top: 4px; padding-bottom: 4px; }
.dp { margin-top: 18px; padding: 14px; background: var(--white); border: 2px solid var(--sand); border-radius: var(--radius); }
.dp.need { border-color: var(--warn); }
.dp h4 { font-size: 1.35rem; }
.req { font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--danger); vertical-align: middle; margin-left: 4px; }
.dcrow { display: flex; gap: 8px; }
.dcrow .input { flex: 1; text-transform: uppercase; }
.dcrow .btn { flex: none; }
.dcok { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #e6f1ea; border: 1px solid #b9d8c7; color: #1f5a40; border-radius: 10px; padding: 6px 14px; }
.sumrow.disc, .bo li.disc { color: var(--success); }
.sheet .sf .sumrow { padding: 2px 0; font-size: 0.95rem; }
.order .tot.sub { border-top: 0; margin-top: 4px; padding-top: 0; font-weight: 400; color: var(--success); }
.order li .ln b { font-weight: 600; font-style: normal; }

/* bill extras */
.splitnote { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
.adj .sumrow.neg { color: var(--success); }

/* book + island shared */
.back { margin: 4px 0 6px; }
.tcard { display: flex; gap: 14px; align-items: flex-start; padding: 12px; }
.tcard .tph { width: 92px; height: 92px; aspect-ratio: 1; flex: none; }
.tcard .tb { min-width: 0; flex: 1; }
.tcard .t, .bk .t { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.15; }
.tcard .desc { font-size: 0.92rem; color: var(--muted); margin-top: 4px; }
.flowhead { margin-bottom: 4px; }
.eqcat { font-size: 1.2rem; margin: 20px 0 8px; color: var(--navy); border-bottom: 1px solid var(--sand-light); padding-bottom: 4px; }
.avail { font-size: 0.85rem; color: var(--success); margin-top: 4px; }
.avail.none { color: var(--danger); }
.bk .r { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.bk .w { color: var(--navy); margin: 2px 0; }
.pill.ok { background: #e6f1ea; color: #1f5a40; }
.pill.warn { background: #fbf1dc; color: #7a5410; }
.askrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.askrow span { flex: 1 0 100%; font-size: 0.95rem; }
.days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px 6px; margin: 0 -16px; -webkit-overflow-scrolling: touch; }
.days::-webkit-scrollbar { display: none; }
.day { flex: none; width: 66px; min-height: 76px; border-radius: 14px; border: 1px solid var(--sand); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2; }
.day .dw, .day .dm { font-size: 0.78rem; color: var(--muted); }
.day .dd { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.day.on { background: var(--teal); border-color: var(--teal); }
.day.on .dw, .day.on .dm, .day.on .dd { color: var(--cream); }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { min-height: 48px; border-radius: 12px; border: 1px solid var(--sand); background: var(--white); font-variant-numeric: tabular-nums; }
.slot.on { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.slot:disabled { background: var(--sand-light); color: var(--muted); text-decoration: line-through; opacity: 0.6; cursor: not-allowed; }
.slotopts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sopt { min-height: 64px; border-radius: 14px; border: 1px solid var(--sand); background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px; }
.sopt small { color: var(--muted); font-size: 0.8rem; }
.sopt.on { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.sopt.on small { color: var(--cream); }
.sopt:disabled { background: var(--sand-light); opacity: 0.6; cursor: not-allowed; }
.confirmbox { margin-top: 20px; padding: 16px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); }
.step button:disabled { opacity: 0.4; }

/* lists, guide, faq */
.list { padding: 0; overflow: hidden; }
.lrow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px; background: none; border: 0; border-bottom: 1px solid var(--sand-light); text-align: left; }
.lrow:last-child { border-bottom: 0; }
.lrow > span:first-child:not(.sw):not(.mpin) { flex: 1; }
.lrow svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.lrow.on { background: #e6eef1; }
.lt { flex: 1; min-width: 0; }
.lt small { display: block; color: var(--muted); font-size: 0.85rem; }
.sw { display: inline-block; width: 14px; height: 14px; border-radius: 4px; flex: none; margin-right: 2px; vertical-align: -1px; }
.reader { padding-top: 6px; }
.reader .rcat { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.reader h2 { font-size: var(--fs-h1); color: var(--teal); margin-bottom: 10px; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 4px; }
.faqi { border-bottom: 1px solid var(--sand-light); }
.faqi:last-child { border-bottom: 0; }
.faqq { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 10px 16px; background: none; border: 0; text-align: left; font-weight: 500; }
.faqq svg { width: 20px; height: 20px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform 0.15s; }
.faqq svg.up { transform: rotate(180deg); }
.faqa { padding: 0 16px 6px; }
.faqa .prose p:last-child { margin-bottom: 8px; }
#faqSearch { margin-bottom: 4px; }

/* map */
.mapbox { margin-top: 2px; }
.mapvp { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--sand); background: var(--sand-light); touch-action: none; user-select: none; -webkit-user-select: none; min-height: 160px; }
.mapvp .state { padding: 40px 16px; }
.mapstage { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.mapstage.anim { transition: transform 0.22s ease-out; }
.mapstage img { width: 100%; height: 100%; display: block; pointer-events: none; -webkit-user-drag: none; }
.mapsvg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.trg .tr { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; opacity: 0.95; }
.trg .trhit { fill: none; stroke: transparent; stroke-width: 22; pointer-events: stroke; cursor: pointer; }
.trg.on .tr { stroke-width: 7; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.9)); }
.trg.dim .tr { opacity: 0.35; }
.anchor { position: absolute; width: 0; height: 0; transform: scale(var(--inv, 1)); transform-origin: 0 0; }
.pin { position: absolute; left: -22px; top: -44px; width: 44px; height: 44px; padding: 0; border: 0; background: none; display: flex; align-items: flex-end; justify-content: center; }
.pin svg, .mpin svg { fill: var(--teal); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.pin svg circle, .mpin svg circle { fill: #fff; stroke: none; }
.pin.on { z-index: 3; }
.pin.on svg { fill: var(--warn); transform: scale(1.2); transform-origin: 50% 100%; }
.mpin { flex: none; width: 22px; display: inline-flex; justify-content: center; }
.mpin svg { width: 18px; height: 22px; }
.mapctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 5; }
.mapctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sand); background: var(--white); box-shadow: var(--shadow); font-size: 1.5rem; line-height: 1; color: var(--teal); }
.mcard { position: relative; margin-top: 12px; padding: 14px 52px 14px 16px; border-color: var(--sky); }
.mcard .x { position: absolute; right: 2px; top: 2px; }
.mcard .mt { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--teal); }
.mcard .mc { color: var(--muted); font-size: 0.9rem; }
.mcard p { margin: 6px 0 0; }

/* tips */
.qc small { display: block; font-size: 0.74rem; line-height: 1.1; opacity: 0.85; }
.qc:has(small) { padding-top: 4px; padding-bottom: 4px; }
.tipbox h4 { font-size: 1.35rem; }
.tipbox .qchips { margin-bottom: 8px; }
.tipother { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; }
.tipother span { color: var(--muted); }
.tipother .input { flex: 1; min-height: 44px; }
.tips { margin-top: 8px; padding-top: 6px; border-top: 1px solid var(--sand-light); }
.tiph { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 4px; }
.tiprow { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; }
.tiprow .tl { min-width: 0; }
.tiprow .tl small { display: block; color: var(--muted); font-size: 0.85rem; word-break: break-word; }
.tiprow .link { flex: none; font-size: 0.88rem; }
.tiprow .link:disabled { opacity: 0.5; }
.tipsum { font-size: 0.95rem; }
.order .tot.sub.tipl { color: var(--navy); }

/* due-back notices */
.dueroot { position: sticky; top: 0; z-index: 40; }
.dueroot:empty { display: none; }
.duebn { display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; background: #fbf1dc; color: #5c3f0a; border-bottom: 1px solid #e9d3a0; font-size: 0.95rem; }
.duebn + .duebn { padding-top: 10px; }
.duebn p { flex: 1; margin: 0; line-height: 1.35; }
.duebn .dx { flex: none; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid currentColor; background: none; color: inherit; border-radius: var(--radius-pill); font-size: 0.9rem; }
.duebn.late { background: #f8e6c4; }
.duebn.urgent { background: #f6dcd5; color: #6e2414; border-bottom: 2px solid var(--danger); font-weight: 600; box-shadow: var(--shadow); }
.tab .badge.dot { min-width: 10px; width: 10px; height: 10px; padding: 0; top: 9px; left: calc(50% + 10px); background: var(--danger); }
.pill.late { background: #f6dcd5; color: #6e2414; }
.eqdue { margin-top: 6px; font-size: 0.95rem; color: #7a5410; }
.eqdue.late { color: #6e2414; }
.eqdue.soft { color: var(--muted); font-size: 0.9rem; }
.duemodal { position: fixed; inset: 0; z-index: 90; background: rgba(47, 56, 80, 0.55); display: flex; align-items: center; justify-content: center; padding: 20px; animation: fade 0.15s; }
.dueCard { background: var(--cream); border-radius: 22px; padding: 24px 22px 22px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); margin-bottom: env(safe-area-inset-bottom); }
.dueCard h2 { font-size: var(--fs-h2); color: var(--teal); margin-bottom: 8px; }
.dueCard p { margin: 0 0 18px; line-height: 1.45; }

/* surf cams */
#camsHost .today { margin: 0 0 14px; }
.cam { padding: 14px; }
.camname { font-size: var(--fs-h3); color: var(--teal); margin: 0; }
.camd { margin: 4px 0 10px; color: var(--muted); font-size: 0.95rem; }
.camname + .camframe, .camname + .camimgb { margin-top: 10px; }
.camframe { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--sand-light); }
button.camframe { cursor: zoom-in; }
.camframe img { width: 100%; height: 100%; object-fit: cover; display: block; }
.camframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.camframe video { width: 100%; height: 100%; display: block; background: #000; object-fit: contain; }
.camoff, .camlink { display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; color: var(--muted); }
.camoff p, .camlink p { margin: 0 0 10px; }
a.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.camopen { display: inline-flex; align-items: center; margin-top: 4px; }
.cammeta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 0.88rem; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--danger); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.78rem; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: camPulse 1.6s ease-in-out infinite; }
@keyframes camPulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .live i { animation: none; } }
@media (min-width: 720px) { #camsHost { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; align-items: start; } #camsHost > .state, #camsHost > .today { grid-column: 1 / -1; } }
.camfull { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.92); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.camfull img { max-width: 100%; max-height: 100%; object-fit: contain; }
.camclose { position: absolute; top: calc(env(safe-area-inset-top) + 8px); right: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.9); color: var(--navy); font-size: 1.8rem; line-height: 1; }

/* ---------- your usual (one-tap favourite) ---------- */
.hrt { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.hrt.on, .favmk .hrt { fill: currentColor; }
.ucard { margin: 4px 0 6px; padding: 14px 16px 16px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); box-shadow: var(--shadow); }
.ucard.skel { min-height: 196px; background: var(--sand-light); box-shadow: none; }
.ucard .ur { display: flex; gap: 14px; align-items: center; }
.ucard .uph { width: 72px; height: 72px; aspect-ratio: 1; flex: none; border-radius: 14px; }
.ucard .uph.tm-photo-empty span { font-size: 1.7rem; }
.ucard .ux { min-width: 0; flex: 1; }
.ucard .ul { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.ucard .ul .link { font-size: 0.9rem; letter-spacing: 0; text-transform: none; padding: 0 2px; }
.ucard .un { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; color: var(--teal); overflow-wrap: anywhere; }
.ucard .ud { font-size: 0.92rem; color: var(--muted); overflow-wrap: anywhere; }
.ucard .up { font-size: 0.95rem; color: var(--navy); }
.ucard .uw { margin: 8px 0 10px; font-size: 0.95rem; color: var(--muted); min-height: 44px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ucard .uw .link { font-weight: 600; }
.ucard .ua { position: relative; min-height: 52px; display: flex; }
.ucard .ua .btn { width: 100%; min-height: 52px; font-size: 1.1rem; }
.ucard .ucount { position: relative; width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--teal); background: var(--sand-light); overflow: hidden; }
.ucard .ubar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--sand); }
.ucard .ubar i { display: block; height: 100%; width: 0; background: var(--teal); }
.ucard .ut { min-width: 0; color: var(--teal); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ucard .ucount .btn { width: auto; min-height: 48px; padding: 0 22px; font-size: 1rem; flex: none; }
.ucard .udone { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
.ucard .udone .ok { display: inline-flex; align-items: center; gap: 8px; color: var(--success); font-weight: 600; }
.ucard .udone .ok svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ucard .udone .btn { width: auto; flex: none; font-size: 1rem; }
.ucard .err { margin: 8px 0 0; }
.ucard.sug p { margin: 0 0 12px; font-size: 1.05rem; }
.ucard.sug .btn { width: 100%; min-height: 52px; }
.ucard.sug .link { display: block; margin: 4px auto 0; text-align: center; }
.uinvite { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; margin: 4px 0 6px; padding: 0 16px; background: none; border: 1px dashed var(--sand); border-radius: var(--radius); color: var(--muted); font-size: 0.95rem; }
.uinvite:active { background: var(--sand-light); }
.favmk { display: inline-flex; vertical-align: -3px; margin-left: 6px; color: var(--teal); }
.favmk .hrt { width: 15px; height: 15px; }
.favmk .sr, .favtog .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.favtog { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 14px; padding: 0 16px; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-pill); color: var(--navy); font-size: 1rem; text-align: left; }
.favtog.on { border-color: var(--teal); color: var(--teal); }
.favtog:disabled { opacity: 0.6; }
.upick .usearch { margin-bottom: 8px; }
.upick .uchosen { background: var(--white); border: 1px solid var(--teal); border-radius: var(--radius); padding: 12px 14px 14px; margin: 6px 0 4px; }
.upick .uchosen h4 { margin-top: 12px; }
.upick .uchosen .un { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal); }
.upick .urows { display: flex; flex-direction: column; }
.upick .urow { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 6px 4px; background: none; border: 0; border-bottom: 1px solid var(--sand-light); text-align: left; }
.upick .urow .th { width: 44px; height: 44px; aspect-ratio: 1; flex: none; border-radius: 10px; }
.upick .urow .th.tm-photo-empty span { font-size: 1.1rem; }
.upick .urow .nm { flex: 1; min-width: 0; font-size: 1.02rem; }
.upick .urow .pr { color: var(--muted); font-size: 0.9rem; }
.upick .urow.on .nm { color: var(--teal); font-weight: 600; }
.upick .urow[hidden] { display: none; }
.upick .unone { color: var(--muted); margin: 14px 0 0; }
.upick h4.ugh { margin: 16px 0 2px; }
.sheet .sf .link.rm { display: block; margin: 6px auto 0; color: var(--danger); }
@media (min-width: 700px) { .ucard .ph { width: 88px; } .ucard .uph { width: 88px; height: 88px; } }

/* ---------- share the app ---------- */
.whobar { gap: 8px; }
.sharepill { flex: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--teal); border-radius: 999px; background: #fff; color: var(--teal); font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.sharepill svg { width: 18px; height: 18px; flex: none; }
.sharepill:active { background: var(--teal); color: #fff; }
@media (max-width: 359px) {
  .sharepill { width: 44px; padding: 0; justify-content: center; }
  .sharepill .sl { display: none; }
}
.sh-link { min-height: 44px; padding: 0 14px; border: 0; background: transparent; color: var(--teal); font: inherit; font-size: 0.9rem; text-decoration: underline; cursor: pointer; }
#shareRoot .sh-back { position: fixed; inset: 0; z-index: 70; background: rgba(47, 56, 80, 0.45); display: flex; align-items: flex-end; justify-content: center; }
#shareRoot .sh-box { background: var(--cream); width: 100%; max-width: 640px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; border-radius: 22px 22px 0 0; padding: 20px 18px calc(18px + env(safe-area-inset-bottom)); }
#shareRoot h2 { margin: 0 0 14px; }
.sh-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.sh-card { background: #fff; border: 1px solid var(--sand); border-radius: 16px; padding: 16px; text-align: center; min-width: 0; }
.sh-card h3 { margin: 0; }
.sh-sub { margin: 4px 0 12px; color: var(--muted); font-size: 0.9rem; }
.sh-qr { box-sizing: border-box; width: 236px; max-width: 100%; margin: 0 auto; padding: 16px; background: #fff; border: 1px solid var(--sand); border-radius: 12px; }
.sh-qr svg { display: block; width: 100%; height: auto; shape-rendering: crispEdges; }
.sh-addr { margin: 12px 0; font-size: 0.95rem; word-break: break-all; user-select: all; -webkit-user-select: all; }
.sh-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sh-card .btn, .sh-foot .btn, .sh-state .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.sh-note { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
.sh-foot { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }
.sh-state { text-align: center; padding: 28px 8px; color: var(--muted); }
.sh-state .spinner { margin: 0 auto 10px; }
@media (min-width: 640px) {
  #shareRoot .sh-back { align-items: center; }
  #shareRoot .sh-box { border-radius: 22px; }
  .sh-cards { grid-template-columns: 1fr 1fr; }
}
@media print {
  body.print-share > *:not(#shareRoot) { display: none !important; }
  body.print-share #shareRoot .sh-back { position: static; background: none; display: block; }
  body.print-share #shareRoot .sh-box { max-width: none; max-height: none; overflow: visible; padding: 0; background: #fff; border-radius: 0; }
  body.print-share .sh-noprint { display: none !important; }
  body.print-share .sh-cards { grid-template-columns: 1fr 1fr; gap: 12mm; }
  body.print-share .sh-card { break-inside: avoid; border: 1px solid #000; }
  body.print-share .sh-qr { width: 70mm; border: 0; }
}
