{
  "version": 1,
  "id": "scn_showcase_rainfall",
  "name": "Rainfall Room",
  "icon": "cloud.fill",
  "tint": "#3D6E9E",
  "settings": {
    "description": "Rain room, café and shop, Bangkok"
  },
  "assets": [
    {
      "id": "rainfall-front-today",
      "type": "daslab/webview",
      "name": "Rainfall Room today",
      "fields": {
        "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.hero { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(96px, var(--place, 36%)) minmax(0, 1fr); }\n.hero.front { --place: 26%; }\n.hero .place { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 12px; }\n.hero .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.hero .panel { display: flex; flex-direction: column; min-height: 0; }\n.hero .panel > .figs { margin-top: auto; padding-top: 12px; }\n:root[data-cell=\"tile\"] .hero .place { margin: -16px -16px 0; border-radius: 0; }\n@media (max-width: 719px) { .hero .figs, .hero .sub { display: none; } }\n@media (min-width: 720px) {\n  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: none; gap: 28px; }\n  :root[data-cell=\"tile\"] .hero .place { margin: -16px 0 -16px -16px; }\n}\n\n\n.scenes { flex: 1; display: flex; flex-direction: column; list-style: none; margin: 6px 0 0; padding: 0; }\n.scenes li { flex: 1 0 auto; max-height: 64px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; border-bottom: 1px solid var(--border); }\n.scenes li:last-child { border-bottom: 0; }\n.scenes .ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-well); color: var(--text); }\n.scenes .ico svg { width: 16px; height: 16px; }\n.scenes li > span:nth-child(2) { min-width: 0; font-size: 13.5px; line-height: 18px; font-weight: 600; }\n.scenes small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; line-height: 17px; font-weight: 400; color: var(--text-secondary); }\n.scenes .state { white-space: nowrap; }\nimg.via { width: 14px; height: 14px; margin: 0 5px 0 0; border: 0; border-radius: 3px; vertical-align: -2px; object-fit: contain; }</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"hero front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/rainfall/venue-front.jpg\" alt=\"The venue's dark doorway in a converted warehouse, a short queue outside\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 11l9-7 9 7v9a2 2 0 01-2 2h-4v-7H10v7H6a2 2 0 01-2-2v-9z\"/></svg><span>Rainfall Room today</span><span class=\"state ok\">Saturday 2:40pm</span></p>\n    <ul class=\"scenes\">\n      <li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 10h18M8 3v4M16 3v4\"/></svg></span><span>Today<small>1,284 booked · 512 through the door so far</small></span><span class=\"state info\">3pm full</span></li>\n      <li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M2 8c2-2 4-2 6 0s4 2 6 0 4-2 6 0M2 14c2-2 4-2 6 0s4 2 6 0 4-2 6 0M2 20c2-2 4-2 6 0s4 2 6 0 4-2 6 0\"/></svg></span><span>The room<small>31 of 40 in the rain · 81%, 24.6°C</small></span><span class=\"state warn\">Drain C slow</span></li>\n      <li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"2\" y=\"6\" width=\"20\" height=\"13\" rx=\"2\"/><path d=\"M2 11h20M6 16h4\"/></svg></span><span>Tickets<small>฿540,000 today · <img class=\"via\" src=\"https://daslab.run/api/logo/v9/gmail\" alt=\"\">a school asks for Thursday 10am</small></span><span class=\"state warn\">Group waits</span></li>\n      <li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z\"/></svg></span><span>Reviews<small><img class=\"via\" src=\"https://daslab.run/api/logo/v9/google_business_profile\" alt=\"\">4.8 from 96 this week · six new today</small></span><span class=\"state ok\">Up from 4.7</span></li>\n      <li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg></span><span>Team<small><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">Six on the day shift · the café is one short</small></span><span class=\"state warn\">One short</span></li>\n    </ul>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
        "style": "house"
      },
      "layout": {
        "sortOrder": 0,
        "size": "xlarge"
      }
    },
    {
      "id": "rainfall-front-waits",
      "type": "daslab/webview",
      "name": "Waits for a yes",
      "fields": {
        "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M4 6.5l1.5 1.5L8.5 5M4 12.5l1.5 1.5L8.5 11M4 18.5l1.5 1.5L8.5 17M12 6.5h8M12 12.5h8M12 18.5h8\"/></svg><span>Waits for a yes</span><span class=\"state warn\">4 wait for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> A school asks ฿200 a student for 60 on Thursday. Can we?</p><p class=\"did\">Drafted ฿250, teachers free: ฿15,000. Thursday 10am has 112 places.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> The café queue is long. Can someone help Mint?</p><p class=\"did\">Asked in Rainfall team. Earn can be in at 3pm instead of 4pm, ฿150 extra.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><div><p class=\"ask\"><b>Fon</b> Order the filters for the change on 28 November.</p><p class=\"did\">2 UV lamps and a sand filter cartridge from Nam Sai Supply, ฿18,400. Over ฿10,000, so it asks.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> Reply to today's reviews.</p><p class=\"did\">Six replies drafted, one per review, each in the language it was written in.</p></div><span class=\"state warn\">Waits for Korn</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
        "style": "house"
      },
      "layout": {
        "sortOrder": 1,
        "size": "large"
      }
    },
    {
      "id": "rainfall-front-people",
      "type": "daslab/webview",
      "name": "People",
      "fields": {
        "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n\n.crew { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }\n\n.plan > li { grid-template-columns: 3em 1fr auto; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"9\" cy=\"8\" r=\"3.5\"/><path d=\"M3 21a6 6 0 0112 0\"/><circle cx=\"17\" cy=\"9\" r=\"2.5\"/><path d=\"M14 21a4 4 0 017-2.5\"/></svg><span>People</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">Rainfall team, 14</span></p>\n<ul class=\"crew\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><span><b>Korn</b><small>Owner</small></span><span class=\"state ok\">In today</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><span><b>Ploy</b><small>Front door, shift lead</small></span><span class=\"state ok\">On the door</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><span><b>Fon</b><small>Technician</small></span><span class=\"state ok\">On call</span></li></ul>\n<p class=\"day\">Day shift · 10am to 6pm</p>\n<ul class=\"plan\">\n  <li><b>Door</b><span>Ploy and Nont<small>queue about 6 minutes</small></span><span class=\"state ok\">Two on</span></li>\n  <li><b>Room</b><span>Beam and Fah<small>a group of 12 every 5 minutes</small></span><span class=\"state ok\">Two on</span></li>\n  <li><b>Café</b><span>Mint<small>Tong is off sick · Earn in at 4pm</small></span><span class=\"state warn\">One short</span></li>\n  <li><b>Shop</b><span>Ice<small>postcards and prints restocked at noon</small></span><span class=\"state ok\">One on</span></li>\n</ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
        "style": "house"
      },
      "layout": {
        "sortOrder": 2,
        "size": "large"
      }
    }
  ],
  "scenes": [
    {
      "id": "scn_showcase_rainfall_today",
      "slug": "today",
      "name": "Today",
      "icon": "sun.max.fill",
      "tint": "#3D6E9E",
      "settings": {
        "description": "1,284 visitors today and the 3pm slot is full. A school group waits for a yes."
      },
      "assets": [
        {
          "id": "rainfall-today",
          "type": "daslab/webview",
          "name": "Dry in the rain",
          "fields": {
            "html": "<style>.cover .hero { position: relative; margin: 0 0 18px; }\n.cover .hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }\n/* A scrim under the title so it reads over any photo. */\n.cover .hero figcaption { position: absolute; inset: auto 0 0 0; max-width: none; padding: 40px 18px 14px; border-radius: 0 0 14px 14px; background: linear-gradient(to bottom, transparent, rgb(0 0 0 / .72)); }\n.cover .hero h1 { margin: 0; color: #fff; }\n.cover .hero .kicker { margin: 0 0 4px; color: rgb(255 255 255 / .85); }\n.cover .hero .state { color: rgb(255 255 255 / .85); }\n.cover .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }</style>\n<main data-tile=\"own\" class=\"cover\">\n  <figure class=\"hero\"><img src=\"https://daslab.run/marketing/showcase/rainfall/rain-room.jpg\" alt=\"Visitors as silhouettes walking through falling rain, lit from above\">\n    <figcaption><p class=\"kicker\">Tickets · door cameras · 2:40pm</p><h1>Dry in the rain</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>Visitors today</dt><dd>1,284</dd><dd>512 through the door so far</dd></div>\n    <div><dt>3pm slot</dt><dd>150<small>/150</small></dd><dd><span class=\"state info\">Full</span></dd></div>\n    <div><dt>Rating this week</dt><dd>4.8</dd><dd>From 96 reviews</dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "rainfall-today-work",
          "type": "daslab/webview",
          "name": "Asked today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Asked today</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">2 wait for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> The café queue is long. Can someone help Mint?</p><p class=\"did\">Asked in Rainfall team. Earn can be in at 3pm instead of 4pm, ฿150 extra.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> A school asks ฿200 a student for 60 on Thursday. Can we?</p><p class=\"did\">Drafted ฿250, teachers free: ฿15,000. Thursday 10am has 112 places.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> How is today going?</p><p class=\"did\">512 through the door by 2:40pm, of 1,284 booked. 3pm is full, 4pm has 4 left.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> How long is the queue at the door?</p><p class=\"did\">About 6 minutes. A group of 12 goes in every 5 minutes.</p></div><span class=\"state ok\">Done</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "rainfall-hours",
          "type": "daslab/webview",
          "name": "Tickets by hour",
          "fields": {
            "html": "<style>.hours { margin: 14px 0 6px; }\n.hours svg { display: block; width: 100%; height: auto; }\n.hours .col { fill: var(--accent); }\n.hours .col.done { opacity: .35; }\n.hours .cap { stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 3 3; }\n.hours .tag { font: 500 9px var(--brand-mono); fill: var(--text-dim); text-anchor: end; }\n.hours .val { font: 500 8px var(--brand-mono); fill: var(--text-secondary); text-anchor: middle; }\n.hours .val.full { font-weight: 700; fill: var(--text); }\n.hours .axis { font: 500 9px var(--brand-mono); fill: var(--text-dim); text-anchor: middle; }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Tickets by hour · today · 150 a slot</p>\n  <h1>3pm is full, 4pm nearly</h1>\n  <figure class=\"hours\">\n    <svg viewBox=\"0 0 320 160\" role=\"img\" aria-label=\"Tickets booked per hourly slot from 10am to 8pm, rising to 150 of 150 at 3pm and 146 at 4pm\">\n      <line class=\"cap\" x1=\"8\" y1=\"28\" x2=\"312\" y2=\"28\"/>\n      <text class=\"tag\" x=\"312\" y=\"22\">150 a slot</text>\n      <rect class=\"col done\" x=\"12.3\" y=\"87.6\" width=\"19\" height=\"44.4\" rx=\"2\"/><text class=\"val\" x=\"21.8\" y=\"83.6\">64</text><text class=\"axis\" x=\"21.8\" y=\"148\">10am</text><rect class=\"col done\" x=\"40.0\" y=\"68.2\" width=\"19\" height=\"63.8\" rx=\"2\"/><text class=\"val\" x=\"49.5\" y=\"64.2\">92</text><text class=\"axis\" x=\"49.5\" y=\"148\">11</text><rect class=\"col done\" x=\"67.6\" y=\"50.2\" width=\"19\" height=\"81.8\" rx=\"2\"/><text class=\"val\" x=\"77.1\" y=\"46.2\">118</text><text class=\"axis\" x=\"77.1\" y=\"148\">12</text><rect class=\"col done\" x=\"95.2\" y=\"41.2\" width=\"19\" height=\"90.8\" rx=\"2\"/><text class=\"val\" x=\"104.7\" y=\"37.2\">131</text><text class=\"axis\" x=\"104.7\" y=\"148\">1</text><rect class=\"col\" x=\"122.9\" y=\"33.5\" width=\"19\" height=\"98.5\" rx=\"2\"/><text class=\"val\" x=\"132.4\" y=\"29.5\">142</text><text class=\"axis\" x=\"132.4\" y=\"148\">2</text><rect class=\"col\" x=\"150.5\" y=\"28.0\" width=\"19\" height=\"104.0\" rx=\"2\"/><text class=\"val full\" x=\"160.0\" y=\"24.0\">150</text><text class=\"axis\" x=\"160.0\" y=\"148\">3</text><rect class=\"col\" x=\"178.1\" y=\"30.8\" width=\"19\" height=\"101.2\" rx=\"2\"/><text class=\"val\" x=\"187.6\" y=\"26.8\">146</text><text class=\"axis\" x=\"187.6\" y=\"148\">4</text><rect class=\"col\" x=\"205.8\" y=\"36.3\" width=\"19\" height=\"95.7\" rx=\"2\"/><text class=\"val\" x=\"215.3\" y=\"32.3\">138</text><text class=\"axis\" x=\"215.3\" y=\"148\">5</text><rect class=\"col\" x=\"233.4\" y=\"42.6\" width=\"19\" height=\"89.4\" rx=\"2\"/><text class=\"val\" x=\"242.9\" y=\"38.6\">129</text><text class=\"axis\" x=\"242.9\" y=\"148\">6</text><rect class=\"col\" x=\"261.0\" y=\"60.6\" width=\"19\" height=\"71.4\" rx=\"2\"/><text class=\"val\" x=\"270.5\" y=\"56.6\">103</text><text class=\"axis\" x=\"270.5\" y=\"148\">7</text><rect class=\"col\" x=\"288.7\" y=\"82.8\" width=\"19\" height=\"49.2\" rx=\"2\"/><text class=\"val\" x=\"298.2\" y=\"78.8\">71</text><text class=\"axis\" x=\"298.2\" y=\"148\">8pm</text>\n    </svg>\n  </figure>\n  <p class=\"foot\">Faded slots are done · ticket system and door cameras</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "rainfall-shift",
          "type": "daslab/webview",
          "name": "On shift",
          "fields": {
            "html": "<style>.shift, .plant { margin-top: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Day shift · 10am to 6pm · six in</p>\n  <h1>One short in the café</h1>\n  <ul class=\"items shift\">\n    <li><h3>Front door <span class=\"state ok\">Two on</span></h3><p>Ploy and Nont · queue about 6 minutes</p></li>\n    <li><h3>The room <span class=\"state ok\">Two on</span></h3><p>Beam and Fah · a group of 12 every 5 minutes</p></li>\n    <li><h3>Café <span class=\"state warn\">One short</span></h3><p>Mint alone, Tong is off sick · Earn in at 4pm</p></li>\n    <li><h3>Shop <span class=\"state ok\">One on</span></h3><p>Ice · postcards and prints restocked at noon</p></li>\n  </ul>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "rainfall-school",
          "type": "daslab/webview",
          "name": "School group",
          "fields": {
            "html": "<style>.request { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; }\n.request img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; flex: none; }\n.request h3 { margin: 0; font-size: 15px; }\n.request p { margin: 2px 0 0; font-size: 13px; color: var(--text-secondary); }\n.request .quote { margin-top: 6px; color: var(--text); }\n.offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }\n.offer > div { padding-top: 8px; border-top: 2px solid var(--border); }\n.offer span { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.offer b { display: block; margin-top: 2px; font-size: 17px; line-height: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }\n.offer .pick { border-top-color: var(--accent); }\n.ask { margin-top: 14px; font-size: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Group booking · email · <span class=\"state warn\">Waiting</span></p>\n  <h1>60 students, Thursday</h1>\n  <div class=\"request\">\n    <img src=\"https://daslab.run/marketing/showcase/rainfall/school-group.jpg\" alt=\"Students in white school shirts, seen from behind at the edge of the rain\">\n    <div>\n      <h3>Year 9 art class, 10am</h3>\n      <p>60 students and 4 teachers, a school in Bang Na</p>\n      <p class=\"quote\">\"It is their end of term trip. Could you do ฿200 a student?\"</p>\n    </div>\n  </div>\n  <div class=\"offer\">\n    <div><span>Usual, ฿300</span><b>฿18,000</b></div>\n    <div><span>They ask, ฿200</span><b>฿12,000</b></div>\n    <div class=\"pick\"><span>Drafted, ฿250</span><b>฿15,000</b></div>\n  </div>\n  <p class=\"ask\"><span class=\"state warn\">Waits for your yes</span> · teachers free · 38 of 150 booked at 10am</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        },
        {
          "id": "rainfall-post",
          "type": "daslab/note",
          "name": "Tonight's post",
          "fields": {
            "content": "**Tonight's post, so far.** It goes to Rainfall team on LINE at 9:15pm.\n\n**Saturday:** 512 visitors through the door by 2:40pm, of 1,284 booked. The 3pm slot is full and 4pm has 4 tickets left.\n\n**Six new reviews, average 4.8.**\n\n- 5 stars: \"We walked through the rain and stayed dry. The kids want to go back.\"\n- 5 stars: \"Go in the afternoon, the light from above is beautiful.\"\n- 4 stars: \"A lovely room. The café queue was long.\"\n\nThe other three are in Reviews."
          },
          "layout": {
            "sortOrder": 5,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_rainfall_room",
      "slug": "room",
      "name": "The room",
      "icon": "water.waves",
      "tint": "#2F8F9D",
      "settings": {
        "description": "31 people in the rain now. Floor drain C runs slow."
      },
      "assets": [
        {
          "id": "rainfall-doors",
          "type": "daslab/webview",
          "name": "The rain is on",
          "fields": {
            "html": "<style>.cover .hero { position: relative; margin: 0 0 18px; }\n.cover .hero img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }\n/* A scrim under the title so it reads over any photo. */\n.cover .hero figcaption { position: absolute; inset: auto 0 0 0; max-width: none; padding: 40px 18px 14px; border-radius: 0 0 14px 14px; background: linear-gradient(to bottom, transparent, rgb(0 0 0 / .72)); }\n.cover .hero h1 { margin: 0; color: #fff; }\n.cover .hero .kicker { margin: 0 0 4px; color: rgb(255 255 255 / .85); }\n.cover .hero .state { color: rgb(255 255 255 / .85); }\n.cover .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }</style>\n<main data-tile=\"own\" class=\"cover\">\n  <figure class=\"hero\"><img src=\"https://daslab.run/marketing/showcase/rainfall/entrance.jpg\" alt=\"The dark doorway into the rain, a small camera above it\">\n    <figcaption><p class=\"kicker\">Door cameras · in and out</p><h1>The rain is on</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>In the room now</dt><dd>31</dd><dd>Of 40 allowed</dd></div>\n    <div><dt>In since 10am</dt><dd>512</dd><dd>481 out again</dd></div>\n    <div><dt>Average walk</dt><dd>11<small>min</small></dd><dd>Door to door</dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "rainfall-room-work",
          "type": "daslab/webview",
          "name": "Asked today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Asked today</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">1 waits for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><div><p class=\"ask\"><b>Fon</b> Drain C is 12% slower. Can it wait till Monday?</p><p class=\"did\">Yes: the floor clears between groups. Booked for Monday at 9am, before we open.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><div><p class=\"ask\"><b>Fon</b> Order the filters for the change on 28 November.</p><p class=\"did\">2 UV lamps and a sand filter cartridge from Nam Sai Supply, ฿18,400. Over ฿10,000, so it asks.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> How many are in the rain now?</p><p class=\"did\">31 of 40. The 3pm groups go in every 5 minutes.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> Is the air all right with this many inside?</p><p class=\"did\">81% and 24.6°C, inside the range we keep since 10am.</p></div><span class=\"state ok\">Done</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "rainfall-air",
          "type": "daslab/webview",
          "name": "Room air",
          "fields": {
            "html": "<style>.air { margin: 14px 0 6px; }\n.air svg { display: block; width: 100%; height: auto; }\n.air .band { fill: var(--ok); opacity: .12; }\n.air .line { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }\n.air .dot { fill: var(--accent); }\n.air .val { font: 600 11px var(--brand-mono); fill: var(--text); text-anchor: end; }\n.air .lab { font: 500 9px var(--brand-mono); fill: var(--text-secondary); }\n.air .axis { font: 500 9px var(--brand-mono); fill: var(--text-dim); }\n.air .axis.mid { text-anchor: middle; }\n.air .axis.end { text-anchor: end; }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Room air · 2 sensors · <span class=\"state ok\">In range</span></p>\n  <h1>81% humidity, 24.6°C</h1>\n  <figure class=\"air\">\n    <svg viewBox=\"0 0 320 156\" role=\"img\" aria-label=\"Humidity from 62 to 83 percent and temperature from 23.1 to 25.1 degrees, every half hour from 8am to 2:30pm, both inside the range we keep\">\n      <text class=\"lab\" x=\"8\" y=\"10\">Humidity, %</text>\n      <rect class=\"band\" x=\"8\" y=\"24\" width=\"292\" height=\"24\"/>\n      <polyline class=\"line\" points=\"8.0,60.8 30.5,59.2 52.9,59.2 75.4,54.4 97.8,44.8 120.3,38.4 142.8,35.2 165.2,33.6 187.7,32.0 210.1,30.4 232.6,28.8 255.1,27.2 277.5,28.8 300.0,30.4\"/>\n      <circle class=\"dot\" cx=\"300\" cy=\"30.4\" r=\"3.5\"/>\n      <text class=\"val\" x=\"300\" y=\"21\">81%</text>\n      <text class=\"lab\" x=\"8\" y=\"84\">Temperature, °C</text>\n      <rect class=\"band\" x=\"8\" y=\"99.6\" width=\"292\" height=\"28.8\"/>\n      <polyline class=\"line\" points=\"8.0,127.4 30.5,126.5 52.9,124.6 75.4,122.6 97.8,119.8 120.3,117.8 142.8,115.9 165.2,114.0 187.7,113.0 210.1,111.1 232.6,109.2 255.1,108.2 277.5,111.1 300.0,113.0\"/>\n      <circle class=\"dot\" cx=\"300\" cy=\"113\" r=\"3.5\"/>\n      <text class=\"val\" x=\"300\" y=\"104\">24.6°</text>\n      <text class=\"axis\" x=\"8\" y=\"152\">8am</text><text class=\"axis mid\" x=\"142.8\" y=\"152\">11am</text><text class=\"axis end\" x=\"300\" y=\"152\">2:30pm</text>\n    </svg>\n  </figure>\n  <p class=\"foot\">Shaded: the range we keep · rain on at 9:30am</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "rainfall-pumps",
          "type": "daslab/webview",
          "name": "Pumps and drain",
          "fields": {
            "html": "<style>.shift, .plant { margin-top: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Pumps and drain · Modbus · 2:40pm</p>\n  <h1>One drain runs slow</h1>\n  <ul class=\"items plant\">\n    <li><h3>Pump 1, rain field <span class=\"state ok\">Running</span></h3><p>2.4 bar · 38 litres a minute</p></li>\n    <li><h3>Pump 2, rain field <span class=\"state ok\">Running</span></h3><p>2.3 bar · 37 litres a minute</p></li>\n    <li><h3>Tracking cameras <span class=\"state ok\">Online</span></h3><p>8 of 8 · rain stops within 30 cm of a person</p></li>\n    <li><h3>Floor drain C <span class=\"state warn\">Slow</span></h3><p>12% slower than last week · Fon clears it Monday</p></li>\n  </ul>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "rainfall-counts",
          "type": "daslab/table",
          "name": "Door counts by hour",
          "fields": {
            "columns": [
              {
                "id": "hour",
                "name": "Hour",
                "type": "text"
              },
              {
                "id": "in",
                "name": "In",
                "type": "number"
              },
              {
                "id": "out",
                "name": "Out",
                "type": "number"
              },
              {
                "id": "most",
                "name": "Most inside",
                "type": "number"
              }
            ],
            "rows": [
              {
                "hour": "10am",
                "in": 61,
                "out": 38,
                "most": 25
              },
              {
                "hour": "11am",
                "in": 90,
                "out": 84,
                "most": 31
              },
              {
                "hour": "12pm",
                "in": 116,
                "out": 111,
                "most": 35
              },
              {
                "hour": "1pm",
                "in": 128,
                "out": 125,
                "most": 38
              },
              {
                "hour": "2pm, so far",
                "in": 117,
                "out": 123,
                "most": 37
              }
            ]
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        },
        {
          "id": "rainfall-check",
          "type": "daslab/note",
          "name": "Morning check",
          "fields": {
            "content": "**Saturday, 9:15am.** Fon's check before opening.\n\n- **Pumps 1 and 2:** 2.4 and 2.3 bar, no leaks at the joints.\n- **Tracking cameras:** 8 of 8 online. The walk test passed: the rain stopped within 30 cm on every pass.\n- **Water:** tank at 74%, UV filter on, chlorine 0.4 ppm.\n- **Floor drain C** clears 12% slower than last week, with lint and grit in the grate. Fon clears it on Monday at 9am, before we open.\n\nNext filter change: 28 November."
          },
          "layout": {
            "sortOrder": 5,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_rainfall_tickets",
      "slug": "tickets",
      "name": "Tickets",
      "icon": "creditcard.fill",
      "tint": "#5B6EB5",
      "settings": {
        "description": "1,284 booked today at ฿450 adults, ฿300 students. Thursday 10am has room for the school group."
      },
      "assets": [
        {
          "id": "rainfall-tickets-today",
          "type": "daslab/webview",
          "name": "Tickets today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.hero { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(96px, var(--place, 36%)) minmax(0, 1fr); }\n.hero.front { --place: 26%; }\n.hero .place { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 12px; }\n.hero .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.hero .panel { display: flex; flex-direction: column; min-height: 0; }\n.hero .panel > .figs { margin-top: auto; padding-top: 12px; }\n:root[data-cell=\"tile\"] .hero .place { margin: -16px -16px 0; border-radius: 0; }\n@media (max-width: 719px) { .hero .figs, .hero .sub { display: none; } }\n@media (min-width: 720px) {\n  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: none; gap: 28px; }\n  :root[data-cell=\"tile\"] .hero .place { margin: -16px 0 -16px -16px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"hero\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/rainfall/ticket-desk.jpg\" alt=\"The ticket desk, a visitor holding up a phone to the scanner\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"2\" y=\"6\" width=\"20\" height=\"13\" rx=\"2\"/><path d=\"M2 11h20M6 16h4\"/></svg><span>Tickets today</span><span class=\"state info\">3pm full</span></p>\n    <p class=\"reading\">1,284<small class=\"word\">tickets</small><span class=\"also\">฿540,000</span></p>\n    <p class=\"sub\">1,032 adults at ฿450 · 252 students at ฿300</p>\n    <div class=\"visual\"><div class=\"bars\"><div class=\"col\"><i class=\"ghost\" style=\"--h:47.9%\"></i><i style=\"--h:49.2%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:42.5%\"></i><i style=\"--h:46.3%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:49.9%\"></i><i style=\"--h:51.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:53.3%\"></i><i style=\"--h:54.7%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:64.7%\"></i><i style=\"--h:66.8%\"></i></div><div class=\"col now\"><i class=\"ghost\" style=\"--h:79.5%\"></i><i style=\"--h:77.8%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:78.5%\"></i><i style=\"--h:75.2%\"></i></div></div><p class=\"bar-labels\"><span>Mon</span><span>Tue</span><span>Wed</span><span>Thu</span><span>Fri</span><span>Sat</span><span>Sun</span></p></div>\n    <dl class=\"stats figs\"><div><dt>Through the door</dt><dd>512</dd></div><div><dt>Left today</dt><dd>366</dd></div><div><dt>Sunday so far</dt><dd>1,240</dd></div></dl>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "rainfall-tickets-work",
          "type": "daslab/webview",
          "name": "Asked today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Asked today</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/gmail\" alt=\"\">1 waits for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> A school asks ฿200 a student for 60 on Thursday. Can we?</p><p class=\"did\">Drafted ฿250, teachers free: ฿15,000 instead of ฿18,000. Thursday 10am has 112 places.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> How much have we taken today?</p><p class=\"did\">฿540,000 from 1,284 tickets: 1,032 adults at ฿450 and 252 students at ฿300.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> A family wants to move from 3pm to 5pm tomorrow. Can they?</p><p class=\"did\">Sunday 5pm has 31 places. Moved their 4 tickets and emailed the new QR codes.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> Which days have room next week?</p><p class=\"did\">Monday to Thursday mornings are under half full. Thursday 10am has 112 places.</p></div><span class=\"state ok\">Done</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "rainfall-tickets-thursday",
          "type": "daslab/webview",
          "name": "Thursday",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 10h18M8 3v4M16 3v4\"/></svg><span>Thursday</span><span class=\"state warn\">School group waits</span></p>\n<p class=\"reading\">112<small class=\"word\">places at 10am</small></p>\n<p class=\"sub\">The school group is 64 with its teachers</p>\n<div class=\"visual\"><div class=\"bars\"><div class=\"col\"><i class=\"ghost\" style=\"--h:68.0%\"></i><i style=\"--h:25.3%\"></i></div><div class=\"col\"><i style=\"--h:36.0%\"></i></div><div class=\"col\"><i style=\"--h:44.0%\"></i></div><div class=\"col\"><i style=\"--h:48.0%\"></i></div><div class=\"col\"><i style=\"--h:54.0%\"></i></div><div class=\"col\"><i style=\"--h:63.3%\"></i></div><div class=\"col\"><i style=\"--h:60.0%\"></i></div><div class=\"col\"><i style=\"--h:56.0%\"></i></div><div class=\"col\"><i style=\"--h:51.3%\"></i></div><div class=\"col\"><i style=\"--h:40.0%\"></i></div><div class=\"col\"><i style=\"--h:28.0%\"></i></div></div><p class=\"bar-labels\"><span>10am</span><span></span><span></span><span></span><span></span><span>3pm</span><span></span><span></span><span></span><span></span><span>8pm</span></p></div>\n<p class=\"caption\">In grey at 10am: the school group, once Korn says yes · 150 a slot</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "rainfall-tickets-prices",
          "type": "daslab/webview",
          "name": "Prices",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.plan > li { grid-template-columns: 3em 1fr auto; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"6\" width=\"18\" height=\"12\" rx=\"2\"/><circle cx=\"12\" cy=\"12\" r=\"2.5\"/><path d=\"M6 9h.01M18 15h.01\"/></svg><span>Prices</span><span class=\"state ok\">Since 1 October</span></p>\n<p class=\"reading\">฿421<small class=\"word\">a ticket</small><span class=\"also\">on average today</span></p>\n<ul class=\"plan\">\n  <li><b>฿450</b><span>Adult<small>1,032 today</small></span><span class=\"state ok\">On sale</span></li>\n  <li><b>฿300</b><span>Student<small>252 today · student card at the door</small></span><span class=\"state ok\">On sale</span></li>\n  <li><b>฿300</b><span>School group, 20 or more<small>a student · teachers ฿450</small></span><span class=\"state info\">On request</span></li>\n  <li><b>฿250</b><span>Bang Na school, drafted<small>60 students, Thursday 10am, teachers free</small></span><span class=\"state warn\">Waits for Korn</span></li>\n</ul>\n<p class=\"caption\">The usual for the school: <b>฿18,000</b> · they ask ฿12,000 · drafted <b>฿15,000</b></p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_rainfall_reviews",
      "slug": "reviews",
      "name": "Reviews",
      "icon": "star.fill",
      "tint": "#E0A23B",
      "settings": {
        "description": "4.8 this week from 96 reviews. Six new today."
      },
      "assets": [
        {
          "id": "rainfall-reviews-week",
          "type": "daslab/webview",
          "name": "Reviews this week",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.hero { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(96px, var(--place, 36%)) minmax(0, 1fr); }\n.hero.front { --place: 26%; }\n.hero .place { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 12px; }\n.hero .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.hero .panel { display: flex; flex-direction: column; min-height: 0; }\n.hero .panel > .figs { margin-top: auto; padding-top: 12px; }\n:root[data-cell=\"tile\"] .hero .place { margin: -16px -16px 0; border-radius: 0; }\n@media (max-width: 719px) { .hero .figs, .hero .sub { display: none; } }\n@media (min-width: 720px) {\n  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: none; gap: 28px; }\n  :root[data-cell=\"tile\"] .hero .place { margin: -16px 0 -16px -16px; }\n}\n\n\n.spread { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }\n.spread li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 2.4em; align-items: center; gap: 12px; margin: 0; font-size: 13px; line-height: 17px; }\n.spread.mentions li { grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 2.4em; }\n.spread span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-secondary); }\n.spread i { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--accent) calc(var(--v) * 100%), var(--bg-well) 0); }\n.spread .warn i { background: linear-gradient(to right, var(--warn) calc(var(--v) * 100%), var(--bg-well) 0); }\n.spread b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"hero\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/rainfall/rain-room.jpg\" alt=\"Visitors as silhouettes walking through the rain, lit from above\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 2l3 7 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z\"/></svg><span>Reviews</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/google_business_profile\" alt=\"\">Google</span></p>\n    <p class=\"reading\">4.8<span class=\"also\">96 this week</span></p>\n    <ul class=\"spread\"><li><span>5 stars</span><i style=\"--v:0.844\"></i><b>81</b></li><li><span>4 stars</span><i style=\"--v:0.115\"></i><b>11</b></li><li><span>3 stars</span><i style=\"--v:0.031\"></i><b>3</b></li><li><span>2 stars</span><i style=\"--v:0.010\"></i><b>1</b></li><li><span>1 star</span><i style=\"--v:0.000\"></i><b>0</b></li></ul>\n    <dl class=\"stats figs\"><div><dt>New today</dt><dd>6</dd></div><div><dt>Replied</dt><dd>90<small class=\"word\">of 96</small></dd></div><div><dt>Last week</dt><dd>4.7</dd></div></dl>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "rainfall-reviews-work",
          "type": "daslab/webview",
          "name": "Asked today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Asked today</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/google_business_profile\" alt=\"\">1 waits for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> Reply to today's reviews.</p><p class=\"did\">Six replies drafted, one per review, each in the language it was written in.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> A review says the floor by the exit was wet. When?</p><p class=\"did\">The 1pm slot. Drain C runs 12% slow, and Fon clears it Monday. A sign is up at the exit.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> What do people mention most this week?</p><p class=\"did\">The light from above, 31 times. Staying dry, 24. The café queue, 9.</p></div><span class=\"state ok\">Done</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "rainfall-reviews-new",
          "type": "daslab/webview",
          "name": "New today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.plan > li { grid-template-columns: 2em 1fr auto; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 4h14a2 2 0 012 2v8a2 2 0 01-2 2h-8l-5 4v-4H3a2 2 0 01-2-2V6a2 2 0 012-2z\"/></svg><span>New today</span><span class=\"state warn\">6 replies wait</span></p>\n<ul class=\"plan\">\n  <li><b>5★</b><span>“Magical. Mind the wet floor by the exit.”<small>1pm slot</small></span><span class=\"state info\">Drafted</span></li>\n  <li><b>5★</b><span>“Go in the afternoon, the light from above is beautiful.”<small>1pm slot</small></span><span class=\"state info\">Drafted</span></li>\n  <li><b>5★</b><span>“The staff helped my mother and her wheelchair the whole way.”<small>12pm slot</small></span><span class=\"state info\">Drafted</span></li>\n  <li><b>4★</b><span>“A lovely room. The café queue was long.”<small>12pm slot</small></span><span class=\"state info\">Drafted</span></li>\n  <li><b>5★</b><span>“Booked the 11am and walked straight in.”<small>11am slot</small></span><span class=\"state info\">Drafted</span></li>\n  <li><b>5★</b><span>“We walked through the rain and stayed dry. The kids want to go back.”<small>10am slot</small></span><span class=\"state info\">Drafted</span></li>\n</ul>\n<p class=\"caption\">Average 4.8 · a reply drafted for each</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "rainfall-reviews-mentions",
          "type": "daslab/webview",
          "name": "Mentioned this week",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.spread { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }\n.spread li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 2.4em; align-items: center; gap: 12px; margin: 0; font-size: 13px; line-height: 17px; }\n.spread.mentions li { grid-template-columns: minmax(0, 11em) minmax(0, 1fr) 2.4em; }\n.spread span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--text-secondary); }\n.spread i { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--accent) calc(var(--v) * 100%), var(--bg-well) 0); }\n.spread .warn i { background: linear-gradient(to right, var(--warn) calc(var(--v) * 100%), var(--bg-well) 0); }\n.spread b { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M6 20V10M12 20V4M18 20v-6\"/></svg><span>Mentioned this week</span><span class=\"state ok\">96 reviews</span></p>\n<ul class=\"spread mentions\"><li><span>The light from above</span><i style=\"--v:1.000\"></i><b>31</b></li><li><span>Staying dry</span><i style=\"--v:0.774\"></i><b>24</b></li><li><span>The kids</span><i style=\"--v:0.452\"></i><b>14</b></li><li class=\"warn\"><span>The café queue</span><i style=\"--v:0.290\"></i><b>9</b></li><li><span>The staff</span><i style=\"--v:0.258\"></i><b>8</b></li><li class=\"warn\"><span>Wet floor by the exit</span><i style=\"--v:0.097\"></i><b>3</b></li></ul>\n<p class=\"caption\">Two to fix: <b>the café queue</b> and <b>the wet floor</b> by the exit</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_rainfall_team",
      "slug": "team",
      "name": "Team",
      "icon": "bubble.left.and.bubble.right.fill",
      "tint": "#4E9A5B",
      "settings": {
        "description": "Rainfall team on LINE, 14 people. The day's visitors and new reviews go there at 9:15pm."
      },
      "assets": [
        {
          "id": "rainfall-team-group",
          "type": "daslab/webview",
          "name": "Rainfall team",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.hero { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(96px, var(--place, 36%)) minmax(0, 1fr); }\n.hero.front { --place: 26%; }\n.hero .place { position: relative; min-height: 0; margin: 0; overflow: hidden; border-radius: 12px; }\n.hero .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.hero .panel { display: flex; flex-direction: column; min-height: 0; }\n.hero .panel > .figs { margin-top: auto; padding-top: 12px; }\n:root[data-cell=\"tile\"] .hero .place { margin: -16px -16px 0; border-radius: 0; }\n@media (max-width: 719px) { .hero .figs, .hero .sub { display: none; } }\n@media (min-width: 720px) {\n  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: none; gap: 28px; }\n  :root[data-cell=\"tile\"] .hero .place { margin: -16px 0 -16px -16px; }\n}\n\n\n.feed { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }\n.feed li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; margin: 0; }\n.feed li > img, .feed .avatar { width: 30px; height: 30px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.feed .avatar { display: grid; place-items: center; background: var(--accent); color: #fff; }\n.feed .avatar svg { width: 16px; height: 16px; }\n.feed p { max-width: none; margin: 0; font-size: 13px; line-height: 18px; }\n.feed .from { font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.feed .from b { font-weight: 600; color: var(--text); }\n@media (max-width: 719px) { .feed li:nth-child(-n+2) { display: none; } }</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"hero\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/rainfall/team.jpg\" alt=\"The day shift gathered by the dark entrance before opening\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Rainfall team</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">14 people</span></p>\n    <ul class=\"feed\">\n      <li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><div><p class=\"from\"><b>Fon</b> 9:15am</p><p>Morning check done. Pumps 2.4 and 2.3 bar, 8 of 8 cameras. Drain C is slow, I clear it Monday.</p></div></li>\n      <li><span class=\"avatar\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M17.5 18.5h-11a4.5 4.5 0 01-.4-9A6 6 0 0118 8.7a4.9 4.9 0 01-.5 9.8z\"/></svg></span><div><p class=\"from\"><b>Rainfall Room</b> 10:00am</p><p>Doors open. 1,226 booked for today, 3pm nearly full.</p></div></li>\n      <li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"from\"><b>Ploy</b> 1:10pm</p><p>Floor by the exit is wet again. The sign is up.</p></div></li>\n      <li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"from\"><b>Ploy</b> 2:20pm</p><p>The café queue is long. Can someone help Mint?</p></div></li>\n      <li><span class=\"avatar\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M17.5 18.5h-11a4.5 4.5 0 01-.4-9A6 6 0 0118 8.7a4.9 4.9 0 01-.5 9.8z\"/></svg></span><div><p class=\"from\"><b>Rainfall Room</b> 2:21pm</p><p>Earn can be in at 3pm instead of 4pm, ฿150 extra. Waiting for Korn's yes.</p></div></li>\n    </ul>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "rainfall-team-work",
          "type": "daslab/webview",
          "name": "Asked today",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 5h11a2 2 0 012 2v6a2 2 0 01-2 2H7l-4 3z\"/><path d=\"M21 11v8l-3-2h-5\"/></svg><span>Asked today</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">1 waits for Korn</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> The café queue is long. Can someone help Mint?</p><p class=\"did\">Asked in Rainfall team. Earn can be in at 3pm instead of 4pm, ฿150 extra.</p></div><span class=\"state warn\">Waits for Korn</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-korn.jpg\" alt=\"\"><div><p class=\"ask\"><b>Korn</b> Post the day's visitors and new reviews every evening.</p><p class=\"did\">Every day at 9:15pm to Rainfall team, after the last group is out.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-fon.jpg\" alt=\"\"><div><p class=\"ask\"><b>Fon</b> Remind me about drain C on Monday.</p><p class=\"did\">A LINE message to Fon at 8:45am on Monday, with the morning check list.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/rainfall/face-ploy.jpg\" alt=\"\"><div><p class=\"ask\"><b>Ploy</b> Who is on tomorrow?</p><p class=\"did\">Ploy and Nont on the door, Beam and Fah in the room, Mint and Earn in the café, Ice in the shop.</p></div><span class=\"state ok\">Done</span></li></ul></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "rainfall-team-tomorrow",
          "type": "daslab/webview",
          "name": "Tomorrow",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.plan > li { grid-template-columns: 3em 1fr auto; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 10h18M8 3v4M16 3v4\"/></svg><span>Tomorrow</span><span class=\"state ok\">Sunday · 7 on</span></p>\n<ul class=\"plan\">\n  <li><b>Door</b><span>Ploy and Nont<small>10am to 6pm</small></span><span class=\"state ok\">Two on</span></li>\n  <li><b>Room</b><span>Beam and Fah<small>a group of 12 every 5 minutes</small></span><span class=\"state ok\">Two on</span></li>\n  <li><b>Café</b><span>Mint and Earn<small>Tong, if he is well</small></span><span class=\"state ok\">Two on</span></li>\n  <li><b>Shop</b><span>Ice<small>10am to 6pm</small></span><span class=\"state ok\">One on</span></li>\n  <li><b>Tech</b><span>Fon<small>on call · drain C on Monday</small></span><span class=\"state info\">On call</span></li>\n</ul>\n<p class=\"caption\"><b>1,240 booked</b> for Sunday so far</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "rainfall-team-posts",
          "type": "daslab/webview",
          "name": "Posts to the group",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.plan > li { grid-template-columns: 4.2em 1fr auto; }\n.preview { max-width: none; margin-top: 4px; padding: 10px 12px; border-radius: 12px; background: var(--bg-well); font-size: 13px; line-height: 18px; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M22 2L2 11l7 3 9-7-7 9 7 3z\"/></svg><span>Posts to the group</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">Rainfall team</span></p>\n<ul class=\"plan\">\n  <li><b>10:00am</b><span>Doors open<small>the day's bookings</small></span><span class=\"state ok\">Daily</span></li>\n  <li><b>9:15pm</b><span>The day's visitors and new reviews<small>after the last group is out</small></span><span class=\"state ok\">Daily</span></li>\n  <li><b>Mon</b><span>Drain C, for Fon<small>8:45am, before opening</small></span><span class=\"state info\">Once</span></li>\n  <li><b>Fri</b><span>Next week's shifts<small>5pm, from the rota</small></span><span class=\"state ok\">Weekly</span></li>\n</ul>\n<p class=\"day\">Tonight at 9:15pm, so far</p>\n<p class=\"preview\">Saturday: 512 visitors through the door by 2:40pm, of 1,284 booked. The 3pm slot is full. Six new reviews, average 4.8.</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        }
      ]
    }
  ]
}
