{
  "version": 1,
  "id": "scn_showcase_lagoon",
  "name": "Lagoon House",
  "icon": "sun.max.fill",
  "tint": "#1F8A8A",
  "settings": {
    "description": "24 pool villas, Koh Samui"
  },
  "assets": [
    {
      "id": "lagoon-front",
      "type": "daslab/webview",
      "name": "24 villas",
      "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.front { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(64px, 1fr) auto; }\n.front .place { margin: 0; min-height: 0; overflow: hidden; border-radius: 12px; }\n.front .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n:root[data-cell=\"tile\"] .front .place { margin: -16px -16px 0; border-radius: 0; }\n.front .panel { display: flex; flex-direction: column; min-height: 0; }\n.front .reading { margin-top: 6px; }\n.front .end { margin-top: auto; padding-top: 12px; }\n@media (max-width: 719px) { .front .sub, .front .caption { display: none; } }\n@media (min-width: 720px) {\n  .front { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); grid-template-rows: none; gap: 24px; }\n  :root[data-cell=\"tile\"] .front .place { margin: -16px 0 -16px -16px; }\n  .front .reading { margin-top: 14px; font-size: 60px; line-height: 64px; }\n}\n\n.villas { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }\n.villas li { position: relative; display: grid; place-items: center; height: 30px; margin: 0; border-radius: 7px; background: var(--bg-well); font: 500 11.5px/1 var(--brand-mono); color: var(--text-secondary); }\n.villas .ready, .legend .ready::before { background: color-mix(in oklab, var(--ok) 32%, var(--bg-well)); }\n.villas .clean, .legend .clean::before { background: color-mix(in oklab, var(--info) 32%, var(--bg-well)); }\n.villas .next, .legend .next::before { background: color-mix(in oklab, var(--warn) 32%, var(--bg-well)); }\n.villas :is(.ready, .clean, .next, .late) { color: var(--text); }\n.villas .late, .legend .late::before { box-shadow: inset 0 0 0 1.5px var(--warn); }\n.villas .empty, .legend .empty::before { background: transparent; box-shadow: inset 0 0 0 1px var(--border); color: var(--text-dim); }\n.villas .ac::after { content: \"\"; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--alert); }\n.legend { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; max-width: none; font-size: 11.5px; line-height: 16px; color: var(--text-secondary); }\n.legend span::before { content: \"\"; display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; background: var(--bg-well); }\n.legend .ac::before { width: 6px; height: 6px; border-radius: 50%; vertical-align: 1px; background: var(--alert); }\n.who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; max-width: none; font-size: 12.5px; line-height: 20px; color: var(--text-secondary); }\n.who > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }\n.who img { width: 22px; height: 22px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.who b { font-weight: 600; color: var(--text); }\n@media (min-width: 720px) {\n  .villas { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: auto; }\n  .villas li { height: 38px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/lagoon/villas-dusk.jpg\" alt=\"Villa roofs among palms on a hillside at dusk, the sea beyond\"></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>24 villas</span><span class=\"state ok\">Saturday, 11:40am</span></p>\n    <p class=\"reading\">22<small class=\"word\">of 24</small><span class=\"also\">in tonight</span></p>\n    <p class=\"sub\">94% this week · 6 arriving, the first at 2:15pm</p>\n    <ol class=\"villas\" aria-label=\"Villas 1 to 24: 16 stay in, 8 and 12 ready for arrivals, 3 and 14 being cleaned, 19 and 22 next to clean, 11 leaving, 5 empty; the AC is on with nobody in at 9 and 17\"><li class=\"in\">1</li><li class=\"in\">2</li><li class=\"clean\">3</li><li class=\"in\">4</li><li class=\"empty\">5</li><li class=\"in\">6</li><li class=\"in\">7</li><li class=\"ready\">8</li><li class=\"in ac\">9</li><li class=\"in\">10</li><li class=\"late\">11</li><li class=\"ready\">12</li><li class=\"in\">13</li><li class=\"clean\">14</li><li class=\"in\">15</li><li class=\"in\">16</li><li class=\"in ac\">17</li><li class=\"in\">18</li><li class=\"next\">19</li><li class=\"in\">20</li><li class=\"in\">21</li><li class=\"next\">22</li><li class=\"in\">23</li><li class=\"in\">24</li></ol>\n<p class=\"legend\"><span class=\"in\">In 16</span><span class=\"ready\">Ready 2</span><span class=\"clean\">Cleaning 2</span><span class=\"next\">To clean 2</span><span class=\"late\">Leaving 1</span><span class=\"empty\">Empty 1</span><span class=\"ac\">AC, nobody in</span></p>\n    <p class=\"who\"><span><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><b>Khun Lek's team</b> in 3 and 14</span><span><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><b>Khun Wit</b> at 17</span></p>\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": "lagoon-front-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 you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Wit</b> Villa 17's key-card switch doesn't cut the AC. Order a new one?</p><p class=\"did\">฿1,450 from the electrical shop in Chaweng, there by 3pm. Fitted while the guests are out.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Villa 3 is out at 11, guests at 2:15. Can we make it?</p><p class=\"did\">Two housekeepers on it since 11:05. Ready at 2pm, the welcome fruit at 1:45.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 11 asks to keep the villa until 4pm, free.</p><p class=\"did\">Nobody arrives there until tomorrow; usually ฿3,000. Reply drafted for your yes.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 9 wants dinner on the beach tonight, 7:30pm.</p><p class=\"did\">Asked the kitchen: a set menu for two, ฿4,800, at the north end of the beach.</p></div><span class=\"state info\">Asked the kitchen</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": "lagoon-front-yes",
      "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; }\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 { margin-top: 12px; }\n.day + .plan { margin-top: 0; }\n.plan > li { grid-template-columns: 3.6em minmax(0, 1fr) auto; align-items: start; }\n.plan small { display: block; margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis; }\n.plan .state:empty { display: none; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M8 12.5l3 3 5-7\"/></svg><span>Waits for a yes</span><span class=\"state warn\">4 open</span></p>\n<p class=\"reading\">4<small class=\"word\">to decide</small></p>\n<p class=\"sub\">Three for you, one for Khun Mai</p>\n<ul class=\"plan\">\n  <li><b>Free</b><span>Villa 11 until 4pm<small>Late check-out · usually ฿3,000</small></span><span class=\"state warn\">You</span></li>\n  <li><b>฿1,450</b><span>Key-card switch, villa 17<small>Fitted by 5pm · the AC stops running empty</small></span><span class=\"state warn\">You</span></li>\n  <li><b>Reply</b><span>3 stars from villa 7<small>Drafted · on Google</small></span><span class=\"state warn\">You</span></li>\n  <li><b>Note</b><span>Villa 9's terrace door<small>AC on, door open · drafted for WhatsApp</small></span><span class=\"state warn\">Khun Mai</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"
      }
    },
    {
      "id": "lagoon-front-people",
      "type": "daslab/webview",
      "name": "On 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.crew { margin-bottom: 4px; }\n.plan > li { grid-template-columns: 1.6em minmax(0, 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=\"12\" cy=\"9\" r=\"3\"/><circle cx=\"5\" cy=\"11\" r=\"2.5\"/><circle cx=\"19\" cy=\"11\" r=\"2.5\"/><path d=\"M2 21a4 4 0 016-4M22 21a4 4 0 00-6-4M7 21a6 6 0 0110 0\"/></svg><span>On today</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">28 of 34</span></p>\n<ul class=\"crew\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><span><b>Khun Mai</b><small>Guest concierge</small></span><span class=\"state ok\">Till 6pm</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><span><b>Khun Lek</b><small>Head of housekeeping</small></span><span class=\"state info\">Villa 3</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><span><b>Khun Wit</b><small>Maintenance</small></span><span class=\"state info\">Villa 17</span></li></ul>\n<ul class=\"plan\">\n  <li><b>10</b><span>Housekeeping<small>of 12 · Khun Lek</small></span><span class=\"state \">Till 4pm</span></li>\n  <li><b>8</b><span>Kitchen<small>of 10 · a beach dinner at 7:30pm</small></span><span class=\"state \">From 3pm</span></li>\n  <li><b>4</b><span>Front desk and concierge<small>of 5 · Khun Mai</small></span><span class=\"state \">Till 6pm</span></li>\n  <li><b>4</b><span>Pools and gardens<small>of 4</small></span><span class=\"state \">Till 3pm</span></li>\n  <li><b>2</b><span>Maintenance<small>of 3 · Khun Wit</small></span><span class=\"state \">Till 5pm</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": 3,
        "size": "large"
      }
    }
  ],
  "scenes": [
    {
      "id": "scn_showcase_lagoon_today",
      "slug": "today",
      "name": "Today",
      "icon": "sun.max.fill",
      "tint": "#1F8A8A",
      "settings": {
        "description": "Six arrivals today, villa 3 ready at 2pm. A late check-out waits for your yes."
      },
      "assets": [
        {
          "id": "lagoon-today",
          "type": "daslab/webview",
          "name": "Saturday on Samui",
          "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/lagoon/villa-pool.jpg\" alt=\"A pool villa at golden hour, palms and the sea behind\">\n    <figcaption><p class=\"kicker\">Front desk · Saturday, 11:40am</p><h1>Saturday on Samui</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>Occupancy this week</dt><dd>94<small>%</small></dd><dd>158 of 168 villa nights</dd></div>\n    <div><dt>Arrivals today</dt><dd>6</dd><dd>15 guests, first at 2:15pm</dd></div>\n    <div><dt>Villa 3 ready</dt><dd>2<small>pm</small></dd><dd><span class=\"state info\">Cleaning now</span></dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "lagoon-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=\"\">1 waits for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Villa 3 is out at 11, guests at 2:15. Can we make it?</p><p class=\"did\">Two housekeepers on it since 11:05. Ready at 2pm, the welcome fruit at 1:45.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 11 asks to keep the villa until 4pm, free.</p><p class=\"did\">Nobody arrives there until tomorrow; usually ฿3,000. Reply drafted for your yes.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> If villa 11 stays until 4, who turns it?</p><p class=\"did\">Two from the afternoon shift, 4pm to 6pm. The next guests arrive tomorrow.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 9 wants dinner on the beach tonight, 7:30pm.</p><p class=\"did\">Asked the kitchen: a set menu for two, ฿4,800, at the north end of the beach.</p></div><span class=\"state info\">Asked the kitchen</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": "lagoon-arrivals",
          "type": "daslab/webview",
          "name": "Arrivals",
          "fields": {
            "html": "<style>.arrivals { margin-top: 14px; }\n.arrivals > li { display: grid; grid-template-columns: 4.4em minmax(0, 1fr) auto; align-items: baseline; column-gap: 10px; padding: 8px 0; }\n.arrivals > li:first-child { padding-top: 0; }\n.arrivals > li:last-child { padding-bottom: 0; }\n.arrivals h3 + p { margin: 0; font-variant-numeric: tabular-nums; }\n.foot { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Arrivals · today · booking system</p>\n  <h1>Two ready, four to go</h1>\n  <ul class=\"items arrivals\">\n    <li><h3>Villa 3</h3><p>2:15pm · 4 guests</p><span class=\"state info\">Cleaning</span></li>\n    <li><h3>Villa 8</h3><p>2:40pm · 2 guests</p><span class=\"state ok\">Ready</span></li>\n    <li><h3>Villa 12</h3><p>3:30pm · 2 guests</p><span class=\"state ok\">Ready</span></li>\n    <li><h3>Villa 14</h3><p>4:00pm · 3 guests</p><span class=\"state info\">Cleaning</span></li>\n    <li><h3>Villa 19</h3><p>5:15pm · 2 guests</p><span class=\"state warn\">Waiting</span></li>\n    <li><h3>Villa 22</h3><p>7:30pm · 2 guests</p><span class=\"state warn\">Waiting</span></li>\n  </ul>\n  <p class=\"foot\">Check-in from 2pm · waiting: empty, next in line to clean</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "lagoon-housekeeping",
          "type": "daslab/webview",
          "name": "Housekeeping order",
          "fields": {
            "html": "<style>.turns { margin-top: 14px; }\n.turns > li { padding: 8px 0 8px 32px; }\n.foot { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Housekeeping · LINE · posted 7:00am</p>\n  <h1>Villa 3 first, by 2pm</h1>\n  <ol class=\"steps turns\">\n    <li><b>Villa 3</b> · guests at 2:15pm</li>\n    <li><b>Villa 8</b> · guests at 2:40pm</li>\n    <li><b>Villa 14</b> · guests at 4pm</li>\n    <li><b>Villa 19</b> · guests at 5:15pm</li>\n    <li><b>Villa 22</b> · guests at 7:30pm</li>\n    <li><b>Villa 11</b> · last, empty until tomorrow</li>\n  </ol>\n  <p class=\"foot\">In this order as each one empties, then the 16 stay-overs</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "lagoon-late",
          "type": "daslab/webview",
          "name": "Late check-out",
          "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 p { margin: 4px 0 0; font-size: 13px; color: var(--text-secondary); }\n.request .quote { margin: 0; font-size: 14px; color: var(--text); }\n.day { margin: 14px 0 0; }\n.day svg { display: block; width: 100%; height: auto; }\n.day .track { fill: var(--border); }\n.day .in { fill: var(--text-dim); }\n.day .asked { fill: var(--warn); opacity: .5; }\n.day .clean { fill: var(--accent); opacity: .35; }\n.day .tick { stroke: var(--text); stroke-width: 1.5; }\n.day .lab { font: 500 9px var(--brand-mono); fill: var(--text-secondary); }\n.day .lab.mid { text-anchor: middle; }\n.day .lab.end { text-anchor: end; }\n.ask { margin-top: 12px; font-size: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Guest concierge · LINE · <span class=\"state warn\">Waiting</span></p>\n  <h1>Villa 11 until 4pm?</h1>\n  <div class=\"request\">\n    <img src=\"https://daslab.run/marketing/showcase/lagoon/villa-terrace.jpg\" alt=\"Packed suitcases by the open glass door of a villa, the pool outside\">\n    <div>\n      <p class=\"quote\">\"Our flight is at 8pm. Could we keep the villa until 4pm, at no charge?\"</p>\n      <p>Villa 11 · 9 nights · their second stay</p>\n    </div>\n  </div>\n  <figure class=\"day\">\n    <svg viewBox=\"0 0 320 60\" role=\"img\" aria-label=\"Villa 11 today: the usual check-out at 11am, asked until 4pm, cleaned 4 to 6pm, next guest tomorrow\">\n      <rect class=\"track\" x=\"0\" y=\"24\" width=\"320\" height=\"10\" rx=\"5\"/>\n      <rect class=\"in\" x=\"0\" y=\"24\" width=\"32\" height=\"10\" rx=\"5\"/>\n      <rect class=\"asked\" x=\"32\" y=\"24\" width=\"160\" height=\"10\"/>\n      <rect class=\"clean\" x=\"192\" y=\"24\" width=\"64\" height=\"10\"/>\n      <line class=\"tick\" x1=\"32\" y1=\"19\" x2=\"32\" y2=\"39\"/>\n      <text class=\"lab\" x=\"36\" y=\"16\">Asked: until 4pm</text><text class=\"lab\" x=\"196\" y=\"16\">Clean</text>\n      <text class=\"lab mid\" x=\"32\" y=\"52\">11am usual</text><text class=\"lab mid\" x=\"192\" y=\"52\">4pm</text><text class=\"lab end\" x=\"320\" y=\"52\">Next guest tomorrow</text>\n    </svg>\n  </figure>\n  <p class=\"ask\"><span class=\"state warn\">Waits for your yes</span> · usually ฿3,000 · nobody in until tomorrow</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        },
        {
          "id": "lagoon-requests",
          "type": "daslab/table",
          "name": "Guest requests today",
          "fields": {
            "columns": [
              {
                "id": "time",
                "name": "Time",
                "type": "text"
              },
              {
                "id": "villa",
                "name": "Villa",
                "type": "number"
              },
              {
                "id": "request",
                "name": "Request",
                "type": "text"
              },
              {
                "id": "status",
                "name": "Status",
                "type": "text"
              }
            ],
            "rows": [
              {
                "time": "7:05am",
                "villa": 6,
                "request": "Airport taxi tomorrow, 5:30am",
                "status": "Booked"
              },
              {
                "time": "8:20am",
                "villa": 15,
                "request": "Birthday cake tonight, 7pm",
                "status": "Ordered"
              },
              {
                "time": "9:10am",
                "villa": 20,
                "request": "Extra pillows",
                "status": "Done"
              },
              {
                "time": "9:45am",
                "villa": 11,
                "request": "Late check-out, 4pm, free",
                "status": "Waits for your yes"
              },
              {
                "time": "10:30am",
                "villa": 2,
                "request": "Longtail boat to Koh Tan, Sunday",
                "status": "Booked"
              },
              {
                "time": "11:15am",
                "villa": 9,
                "request": "Dinner for two on the beach, 7:30pm",
                "status": "Asked the kitchen"
              }
            ]
          },
          "layout": {
            "sortOrder": 5,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_lagoon_energy",
      "slug": "energy",
      "name": "Energy",
      "icon": "bolt.fill",
      "tint": "#D9A21B",
      "settings": {
        "description": "฿12,782 saved this month. Two ACs are cooling no one."
      },
      "assets": [
        {
          "id": "lagoon-energy",
          "type": "daslab/webview",
          "name": "Less power, same guests",
          "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/lagoon/villas-dusk.jpg\" alt=\"Villa roofs among palms at dusk, a few windows lit, the sea beyond\">\n    <figcaption><p class=\"kicker\">Smart meters · 24 villas</p><h1>Less power, same guests</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>Saved this month</dt><dd>฿12,782</dd><dd>Since 3 Nov</dd></div>\n    <div><dt>Yesterday</dt><dd>1,640<small>kWh</small></dd><dd>October averaged 1,860</dd></div>\n    <div><dt>AC, nobody in</dt><dd>2</dd><dd><span class=\"state warn\">Villas 9 and 17</span></dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "lagoon-energy-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 a yes</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Wit</b> Villa 17's AC runs with nobody in. Why?</p><p class=\"did\">Its key-card switch doesn't cut the power: 2.1 kW since 10:55am. A new one is ฿1,450.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 9's terrace door is open with the AC on. Tell them?</p><p class=\"did\">A note drafted for their WhatsApp: the AC pauses while the door is open.</p></div><span class=\"state warn\">Waits for Khun Mai</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Can the AC stay off while we clean?</p><p class=\"did\">Held at 27°C during a clean since 3 Nov. Villa 3 until 2pm.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Wit</b> Did the pumps run on the night rate?</p><p class=\"did\">All 25, between 10pm and 8am. ฿3,100 saved since 3 Nov.</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": "lagoon-kwh",
          "type": "daslab/webview",
          "name": "Power by day",
          "fields": {
            "html": "<style>.kwh { margin: 14px 0 6px; }\n.kwh svg { display: block; width: 100%; height: auto; }\n.kwh .saved { fill: var(--ok); opacity: .16; }\n.kwh .avg { stroke: var(--text-dim); stroke-width: 1.25; stroke-dasharray: 4 4; }\n.kwh .rule { stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 2 3; }\n.kwh .tag { font: 500 9px var(--brand-mono); fill: var(--text-secondary); }\n.kwh .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.kwh .dot { fill: var(--accent); }\n.kwh .val { font: 600 11px var(--brand-mono); fill: var(--text); text-anchor: end; }\n.kwh .axis { font: 500 9px var(--brand-mono); fill: var(--text-dim); }\n.kwh .axis.mid { text-anchor: middle; }\n.kwh .axis.end { text-anchor: end; }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Power by day · kWh · 1 to 13 Nov</p>\n  <h1>Down since the AC rule</h1>\n  <figure class=\"kwh\">\n    <svg viewBox=\"0 0 320 150\" role=\"img\" aria-label=\"Daily power from 1 to 13 November, near October's 1,860 kWh a day until 3 November, then between 1,630 and 1,700\">\n      <polygon class=\"saved\" points=\"79,35.6 304,35.6 304.0,88.4 281.5,86.0 259.0,90.8 236.5,83.6 214.0,78.8 191.5,88.4 169.0,86.0 146.5,74.0 124.0,81.2 101.5,76.4 79.0,52.4\"/><line class=\"avg\" x1=\"34\" y1=\"35.6\" x2=\"304\" y2=\"35.6\"/><text class=\"axis end\" x=\"30\" y=\"38.6\">1,860</text><line class=\"rule\" x1=\"79\" y1=\"14\" x2=\"79\" y2=\"122\"/><text class=\"tag\" x=\"83\" y=\"24\">AC rule, 3 Nov</text><polyline class=\"line\" points=\"34.0,33.2 56.5,38.0 79.0,52.4 101.5,76.4 124.0,81.2 146.5,74.0 169.0,86.0 191.5,88.4 214.0,78.8 236.5,83.6 259.0,90.8 281.5,86.0 304.0,88.4\"/><circle class=\"dot\" cx=\"304\" cy=\"88.4\" r=\"4\"/><text class=\"val\" x=\"304\" y=\"106.4\">1,640</text><text class=\"axis\" x=\"34\" y=\"142\">1 Nov</text><text class=\"axis mid\" x=\"169\" y=\"142\">7 Nov</text><text class=\"axis end\" x=\"304\" y=\"142\">13 Nov</text>\n    </svg>\n  </figure>\n  <p class=\"foot\">Dashed: October's average · shaded: what the rule saved</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "lagoon-ac",
          "type": "daslab/webview",
          "name": "AC by villa",
          "fields": {
            "html": "<style>.ac { margin-top: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Smart meters · AC by villa · 11:40am</p>\n  <h1>Two ACs cooling no one</h1>\n  <ul class=\"items ac\">\n    <li><h3>Villa 17 <span class=\"state alert\">On, empty</span></h3><p>2.1 kW since 10:55am · Khun Wit told</p></li>\n    <li><h3>Villa 9 <span class=\"state warn\">On, door open</span></h3><p>Guests out 11am to 4pm, terrace door open</p></li>\n    <li><h3>Villa 3 <span class=\"state info\">On, cleaning</span></h3><p>Housekeeping in · held at 27°C until 2pm</p></li>\n    <li><h3>Villa 8 <span class=\"state ok\">Off</span></h3><p>Off after the clean · cools from 2:10pm</p></li>\n  </ul>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "lagoon-pumps",
          "type": "daslab/webview",
          "name": "Pool pumps",
          "fields": {
            "html": "<style>.pumps { margin: 14px 0 6px; }\n.pumps svg { display: block; width: 100%; height: auto; }\n.pumps .night { fill: var(--info); opacity: .09; }\n.pumps .tag { font: 500 9px var(--brand-mono); fill: var(--info); text-anchor: end; }\n.pumps .lab { font-size: 10px; font-weight: 500; fill: var(--text-secondary); }\n.pumps .run { fill: var(--accent); }\n.pumps .run.before { fill: none; stroke: var(--text-dim); stroke-width: 1; stroke-dasharray: 3 3; }\n.pumps .axis { font: 500 9px var(--brand-mono); fill: var(--text-dim); }\n.pumps .axis.mid { text-anchor: middle; }\n.pumps .axis.end { text-anchor: end; }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Pool pumps · 25 on timers · <span class=\"state ok\">On schedule</span></p>\n  <h1>Pumps run at night</h1>\n  <figure class=\"pumps\">\n    <svg viewBox=\"0 0 320 134\" role=\"img\" aria-label=\"Pump hours from 9am to 9am: villa pools 1 to 12 from 10pm to 3am, 13 to 24 from 3am to 8am, the main pool from 10pm to 6am, all inside the night rate; until 3 November all ran 9am to 2pm\">\n      <rect class=\"night\" x=\"173.3\" y=\"0\" width=\"146.7\" height=\"120\"/><text class=\"tag\" x=\"316\" y=\"11\">Night rate, 10pm to 9am</text><text class=\"lab\" x=\"0\" y=\"12\">Villa pools 1 to 12</text><rect class=\"run\" x=\"173.3\" y=\"17\" width=\"66.7\" height=\"10\" rx=\"3\"/><text class=\"lab\" x=\"0\" y=\"42\">Villa pools 13 to 24</text><rect class=\"run\" x=\"240.0\" y=\"47\" width=\"66.7\" height=\"10\" rx=\"3\"/><text class=\"lab\" x=\"0\" y=\"72\">Main pool</text><rect class=\"run\" x=\"173.3\" y=\"77\" width=\"106.7\" height=\"10\" rx=\"3\"/><text class=\"lab\" x=\"0\" y=\"102\">Until 3 Nov: all 25</text><rect class=\"run before\" x=\"0.0\" y=\"107\" width=\"66.7\" height=\"10\" rx=\"3\"/><text class=\"axis\" x=\"0.0\" y=\"132\">9am</text><text class=\"axis mid\" x=\"66.7\" y=\"132\">2pm</text><text class=\"axis mid\" x=\"173.3\" y=\"132\">10pm</text><text class=\"axis mid\" x=\"240.0\" y=\"132\">3am</text><text class=\"axis end\" x=\"320\" y=\"132\">9am</text>\n    </svg>\n  </figure>\n  <p class=\"foot\">Moved off the day rate on 3 Nov · ฿3,100 saved since</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        },
        {
          "id": "lagoon-savings",
          "type": "daslab/note",
          "name": "Savings this month",
          "fields": {
            "content": "**Saturday, 7:00am.** November so far, 1 to 13 Nov, with occupancy close to October's.\n\n- **AC off in empty villas, from 3 Nov.** When a villa's meter shows the AC on with nobody in for 30 minutes, Khun Wit or housekeeping hears on LINE. We used 22,120 kWh, 2,060 under October's 1,860 a day. At ฿4.70 a kWh that is **฿9,682**.\n- **Pool pumps on the night rate, from 3 Nov.** The 25 pumps run between 10pm and 8am, not 9am to 2pm. Same power, cheaper hours: **฿3,100**.\n\n**฿12,782 saved so far.** At this pace November ends about ฿33,000 under October."
          },
          "layout": {
            "sortOrder": 5,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_lagoon_guests",
      "slug": "guests",
      "name": "Guests",
      "icon": "bubble.left.and.bubble.right.fill",
      "tint": "#3C9D7A",
      "settings": {
        "description": "54 guests in 22 villas tonight. Six requests today on LINE and WhatsApp, one waits for your yes."
      },
      "assets": [
        {
          "id": "lagoon-guests",
          "type": "daslab/webview",
          "name": "Guests tonight",
          "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.front { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(64px, 1fr) auto; }\n.front .place { margin: 0; min-height: 0; overflow: hidden; border-radius: 12px; }\n.front .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n:root[data-cell=\"tile\"] .front .place { margin: -16px -16px 0; border-radius: 0; }\n.front .panel { display: flex; flex-direction: column; min-height: 0; }\n.front .reading { margin-top: 6px; }\n.front .end { margin-top: auto; padding-top: 12px; }\n@media (max-width: 719px) { .front .sub, .front .caption { display: none; } }\n@media (min-width: 720px) {\n  .front { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); grid-template-rows: none; gap: 24px; }\n  :root[data-cell=\"tile\"] .front .place { margin: -16px 0 -16px -16px; }\n  .front .reading { margin-top: 14px; font-size: 60px; line-height: 64px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/lagoon/beach-dinner.jpg\" alt=\"A table for two set on the sand at dusk, lanterns and the calm sea\"></figure>\n  <div class=\"panel\">\n    <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>Guests tonight</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/whatsapp\" alt=\"\">Concierge</span></p>\n    <p class=\"reading\">54<small class=\"word\">guests</small></p>\n    <p class=\"sub\">In 22 villas · 15 of them arriving today</p>\n    <div class=\"end\">\n      <dl class=\"stats figs\"><div><dt>Requests today</dt><dd>6</dd></div><div><dt>First reply</dt><dd>4<small class=\"word\">min</small></dd></div><div><dt>Back again</dt><dd>7<small class=\"word\">villas</small></dd></div></dl>\n      <p class=\"caption\"><b>Villa 9</b> dines on the beach at 7:30pm</p>\n    </div>\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": "lagoon-guests-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 you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 11 asks to keep the villa until 4pm, free. Their flight is at 8pm.</p><p class=\"did\">Nobody arrives there until tomorrow; usually ฿3,000. Reply drafted for your yes.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 9 wants dinner on the beach tonight, 7:30pm.</p><p class=\"did\">Asked the kitchen: a set menu for two, ฿4,800, at the north end of the beach.</p></div><span class=\"state info\">Asked the kitchen</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Villa 20 wants more pillows. Feather or foam?</p><p class=\"did\">Foam: their booking says no feathers. Two delivered at 9:10am.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 15's birthday cake: which flavour?</p><p class=\"did\">Mango and coconut, from their booking note. Ordered for 7pm, ฿1,200.</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": "lagoon-guest-requests",
          "type": "daslab/webview",
          "name": "Requests 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 { margin-top: 12px; }\n.day + .plan { margin-top: 0; }\n.plan > li { grid-template-columns: 3.6em minmax(0, 1fr) auto; align-items: start; }\n.plan small { display: block; margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis; }\n.plan .state:empty { display: none; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"5\" cy=\"6\" r=\"1.5\"/><circle cx=\"5\" cy=\"12\" r=\"1.5\"/><circle cx=\"5\" cy=\"18\" r=\"1.5\"/><path d=\"M10 6h11M10 12h11M10 18h11\"/></svg><span>Requests today</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/whatsapp\" alt=\"\">6 today</span></p>\n<ul class=\"plan\">\n  <li><b>11:15</b><span>Villa 9<small>Dinner for two on the beach, 7:30pm</small></span><span class=\"state info\">Kitchen</span></li>\n  <li><b>10:30</b><span>Villa 2<small>Longtail boat to Koh Tan, Sunday</small></span><span class=\"state ok\">Booked</span></li>\n  <li><b>9:45</b><span>Villa 11<small>Late check-out, 4pm, free</small></span><span class=\"state warn\">Waits for you</span></li>\n  <li><b>9:10</b><span>Villa 20<small>Extra pillows, foam</small></span><span class=\"state ok\">Done</span></li>\n  <li><b>8:20</b><span>Villa 15<small>Birthday cake tonight, 7pm</small></span><span class=\"state ok\">Ordered</span></li>\n  <li><b>7:05</b><span>Villa 6<small>Airport taxi tomorrow, 5:30am</small></span><span class=\"state ok\">Booked</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"
          }
        },
        {
          "id": "lagoon-villa-11",
          "type": "daslab/webview",
          "name": "Villa 11's reply",
          "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.item { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px; border-radius: 14px; background: var(--bg-well); }\n.item img { width: 52px; height: 52px; flex: none; margin: 0; object-fit: cover; border: 0; border-radius: 10px; }\n.item div { flex: 1; min-width: 0; }\n.item h3 { font-size: 14px; line-height: 20px; }\n.item p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.quote { margin-top: 14px; font-size: 15px; line-height: 21px; color: var(--text); }\n.meta { margin-top: 4px; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.draft { margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--accent); border-radius: 14px; border-top-right-radius: 4px; font-size: 13px; line-height: 18px; }\n.draft b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }\n.figs { margin-top: 14px; }\n.end { margin-top: auto; padding-top: 12px; }</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>Villa 11</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">Waits for you</span></p>\n<div class=\"item\"><img src=\"https://daslab.run/marketing/showcase/lagoon/villa-terrace.jpg\" alt=\"Packed suitcases by the open glass door of a villa\"><div><h3>Until 4pm, at no charge?</h3><p>Flight at 8pm · 9 nights · their second stay</p></div></div>\n<p class=\"draft\"><b>Reply, drafted</b>Of course, the villa is yours until 4pm. Shall we book your taxi to the airport for 6pm?</p>\n<dl class=\"stats figs\"><div><dt>Usually</dt><dd>฿3,000</dd></div><div><dt>Next guest</dt><dd>Sunday</dd></div><div><dt>Clean from</dt><dd>4pm</dd></div></dl>\n<div class=\"end\"><p class=\"actions\"><button type=\"button\">Charge ฿1,500</button><button type=\"button\" class=\"primary\">Yes, send</button></p></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": 3,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_lagoon_reviews",
      "slug": "reviews",
      "name": "Reviews",
      "icon": "star.fill",
      "tint": "#E0A23B",
      "settings": {
        "description": "4.9 this month from 41 reviews. The reply to a 3-star review waits for your yes."
      },
      "assets": [
        {
          "id": "lagoon-reviews",
          "type": "daslab/webview",
          "name": "Reviews this month",
          "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.front { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(64px, 1fr) auto; }\n.front .place { margin: 0; min-height: 0; overflow: hidden; border-radius: 12px; }\n.front .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n:root[data-cell=\"tile\"] .front .place { margin: -16px -16px 0; border-radius: 0; }\n.front .panel { display: flex; flex-direction: column; min-height: 0; }\n.front .reading { margin-top: 6px; }\n.front .end { margin-top: auto; padding-top: 12px; }\n@media (max-width: 719px) { .front .sub, .front .caption { display: none; } }\n@media (min-width: 720px) {\n  .front { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); grid-template-rows: none; gap: 24px; }\n  :root[data-cell=\"tile\"] .front .place { margin: -16px 0 -16px -16px; }\n  .front .reading { margin-top: 14px; font-size: 60px; line-height: 64px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/lagoon/pool-breakfast.jpg\" alt=\"A floating breakfast tray in a villa pool, morning sun on the water\"></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 and booking sites</span></p>\n    <p class=\"reading\">4.9<span class=\"also\">from 41</span></p>\n    <p class=\"sub\">November so far · 37 five stars, 3 four, 1 three</p>\n    <div class=\"end\">\n      <dl class=\"stats figs\"><div><dt>Replied</dt><dd>40<small class=\"word\">of 41</small></dd></div><div><dt>Five stars</dt><dd>37</dd></div><div><dt>Breakfast in the pool</dt><dd>18<small class=\"word\">times</small></dd></div></dl>\n      <p class=\"caption\"><b>Villa 7's</b> 3 stars: the reply waits for you</p>\n    </div>\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": "lagoon-reviews-work",
          "type": "daslab/webview",
          "name": "Asked 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; }</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 this week</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">1 waits for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 7 gave us 3 stars: they waited 50 minutes for the villa. Reply?</p><p class=\"did\">Drafted: sorry for the wait; since this week housekeeping turns villas in the order guests arrive.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Did anyone mention housekeeping?</p><p class=\"did\">9 reviews this month: spotless 4 times, the towel animals 3. Shared in the housekeeping LINE group.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> What do guests mention most this month?</p><p class=\"did\">Breakfast in the pool 18 times, the staff by name 14, the beach dinner 7. Slow check-in 3.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Reply to yesterday's five-star reviews.</p><p class=\"did\">Four replies posted, each with a line about their stay.</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": "lagoon-three-stars",
          "type": "daslab/webview",
          "name": "3 stars, villa 7",
          "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.item { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px; border-radius: 14px; background: var(--bg-well); }\n.item img { width: 52px; height: 52px; flex: none; margin: 0; object-fit: cover; border: 0; border-radius: 10px; }\n.item div { flex: 1; min-width: 0; }\n.item h3 { font-size: 14px; line-height: 20px; }\n.item p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.quote { margin-top: 14px; font-size: 15px; line-height: 21px; color: var(--text); }\n.meta { margin-top: 4px; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.draft { margin-top: 12px; padding: 10px 12px; border: 1px dashed var(--accent); border-radius: 14px; border-top-right-radius: 4px; font-size: 13px; line-height: 18px; }\n.draft b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--text-secondary); }\n.figs { margin-top: 14px; }\n.end { margin-top: auto; padding-top: 12px; }</style>\n<main data-tile=\"own\" class=\"tile\"><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>3 stars, villa 7</span><span class=\"state warn\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/google_business_profile\" alt=\"\">Waits for you</span></p>\n<p class=\"quote\">\"Lovely villa and lovely staff, but we waited 50 minutes for it on arrival.\"</p>\n<p class=\"meta\">Posted Thursday · stayed 1 to 8 Nov</p>\n<p class=\"draft\"><b>Reply, drafted</b>Thank you, and we are sorry about the wait. Since this week housekeeping turns the villas in the order guests arrive, so yours would have been first.</p>\n<dl class=\"stats figs\"><div><dt>3 stars or under</dt><dd>1<small class=\"word\">of 41</small></dd></div><div><dt>Slow check-in</dt><dd>3<small class=\"word\">times</small></dd></div><div><dt>Replied</dt><dd>40<small class=\"word\">of 41</small></dd></div></dl>\n<div class=\"end\"><p class=\"actions\"><button type=\"button\">Edit</button><button type=\"button\" class=\"primary\">Post reply</button></p></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": 2,
            "size": "large"
          }
        },
        {
          "id": "lagoon-rating",
          "type": "daslab/webview",
          "name": "Rating by month",
          "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=\"M6 20V10M12 20V4M18 20v-6\"/></svg><span>Rating by month</span><span class=\"state ok\">Up since June</span></p>\n<p class=\"reading\">4.9<span class=\"also\">from 4.6 in June</span></p>\n<div class=\"visual\"><div class=\"bars\"><div class=\"col\"><i style=\"--h:60.0%\"></i></div><div class=\"col\"><i style=\"--h:70.0%\"></i></div><div class=\"col\"><i style=\"--h:70.0%\"></i></div><div class=\"col\"><i style=\"--h:80.0%\"></i></div><div class=\"col\"><i style=\"--h:80.0%\"></i></div><div class=\"col now\"><i style=\"--h:90.0%\"></i></div></div><p class=\"bar-labels\"><span>Jun</span><span>Jul</span><span>Aug</span><span>Sep</span><span>Oct</span><span>Nov</span></p></div>\n<p class=\"caption\">Bars from 4.0 · November so far, 41 reviews</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": "lagoon-mentions",
          "type": "daslab/webview",
          "name": "Mentioned most",
          "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.lots { list-style: none; margin: auto 0 0; padding: 12px 0 0; display: flex; flex-direction: column; gap: 9px; }\n.lots li { display: grid; grid-template-columns: 10.5em 1fr 2.4em; align-items: center; gap: 10px; margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.lots i { height: 8px; border-radius: 4px; background: linear-gradient(to right, var(--accent) calc(var(--v) * 100%), var(--bg-well) 0); }\n.lots b { text-align: right; font: 600 12.5px var(--brand-mono); color: var(--text); }</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>Mentioned most</span><span class=\"state ok\">41 reviews</span></p>\n<p class=\"reading\">18<small class=\"word\">times</small></p>\n<p class=\"sub\">Breakfast in the pool, the most this month</p>\n<ul class=\"lots\"><li><span>Breakfast in the pool</span><i style=\"--v:1.00\"></i><b>18</b></li><li><span>Staff by name</span><i style=\"--v:0.78\"></i><b>14</b></li><li><span>Beach dinner</span><i style=\"--v:0.39\"></i><b>7</b></li><li><span>The view</span><i style=\"--v:0.33\"></i><b>6</b></li><li><span>Slow check-in</span><i style=\"--v:0.17\"></i><b>3</b></li></ul>\n<p class=\"caption\">Khun Mai by name in 9 of them</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": 4,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_lagoon_maintenance",
      "slug": "maintenance",
      "name": "Maintenance",
      "icon": "wrench.and.screwdriver.fill",
      "tint": "#7A6E62",
      "settings": {
        "description": "Three jobs open for Khun Wit. Villa 17's key-card switch is first; the ฿1,450 part waits for your yes."
      },
      "assets": [
        {
          "id": "lagoon-maintenance",
          "type": "daslab/webview",
          "name": "Khun Wit's jobs",
          "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.front { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(64px, 1fr) auto; }\n.front .place { margin: 0; min-height: 0; overflow: hidden; border-radius: 12px; }\n.front .place img { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n:root[data-cell=\"tile\"] .front .place { margin: -16px -16px 0; border-radius: 0; }\n.front .panel { display: flex; flex-direction: column; min-height: 0; }\n.front .reading { margin-top: 6px; }\n.front .end { margin-top: auto; padding-top: 12px; }\n@media (max-width: 719px) { .front .sub, .front .caption { display: none; } }\n@media (min-width: 720px) {\n  .front { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); grid-template-rows: none; gap: 24px; }\n  :root[data-cell=\"tile\"] .front .place { margin: -16px 0 -16px -16px; }\n  .front .reading { margin-top: 14px; font-size: 60px; line-height: 64px; }\n}\n\n.villas { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }\n.villas li { position: relative; display: grid; place-items: center; height: 30px; margin: 0; border-radius: 7px; background: var(--bg-well); font: 500 11.5px/1 var(--brand-mono); color: var(--text-secondary); }\n.villas .ready, .legend .ready::before { background: color-mix(in oklab, var(--ok) 32%, var(--bg-well)); }\n.villas .clean, .legend .clean::before { background: color-mix(in oklab, var(--info) 32%, var(--bg-well)); }\n.villas .next, .legend .next::before { background: color-mix(in oklab, var(--warn) 32%, var(--bg-well)); }\n.villas :is(.ready, .clean, .next, .late) { color: var(--text); }\n.villas .late, .legend .late::before { box-shadow: inset 0 0 0 1.5px var(--warn); }\n.villas .empty, .legend .empty::before { background: transparent; box-shadow: inset 0 0 0 1px var(--border); color: var(--text-dim); }\n.villas .ac::after { content: \"\"; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--alert); }\n.legend { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; max-width: none; font-size: 11.5px; line-height: 16px; color: var(--text-secondary); }\n.legend span::before { content: \"\"; display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; background: var(--bg-well); }\n.legend .ac::before { width: 6px; height: 6px; border-radius: 50%; vertical-align: 1px; background: var(--alert); }\n.who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; max-width: none; font-size: 12.5px; line-height: 20px; color: var(--text-secondary); }\n.who > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }\n.who img { width: 22px; height: 22px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.who b { font-weight: 600; color: var(--text); }\n@media (min-width: 720px) {\n  .villas { grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: auto; }\n  .villas li { height: 38px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/lagoon/villa-ac.jpg\" alt=\"A technician's toolbox on a villa deck by an outdoor AC unit\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 21l6-6M14 4l6 6-3 3-6-6zM4 14l6 6\"/></svg><span>Maintenance</span><span class=\"state warn\">1 waits for you</span></p>\n    <p class=\"reading\">3<small class=\"word\">jobs open</small></p>\n    <p class=\"sub\">Khun Wit and two technicians · 11 closed this week</p>\n    <div class=\"end\">\n      <dl class=\"stats figs\"><div><dt>Closed this week</dt><dd>11</dd></div><div><dt>Oldest open</dt><dd>2<small class=\"word\">days</small></dd></div><div><dt>Parts in November</dt><dd>฿8,940</dd></div></dl>\n      <p class=\"who\"><span><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><b>Khun Wit</b> at villa 17 now</span></p>\n    </div>\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": "lagoon-maintenance-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 you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Wit</b> Villa 17's key-card switch doesn't cut the AC. Order a new one?</p><p class=\"did\">฿1,450 from the electrical shop in Chaweng, there by 3pm. Fitted while the guests are out.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-lek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Lek</b> Villa 21's shower drains slowly.</p><p class=\"did\">A job for Khun Wit: today by 5pm, after villa 17.</p></div><span class=\"state info\">Open</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-mai.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Mai</b> Villa 4's TV remote is dead.</p><p class=\"did\">New batteries at 10:20am, by Khun Wit.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/lagoon/face-wit.jpg\" alt=\"\"><div><p class=\"ask\"><b>Khun Wit</b> When are the pool pumps due a service?</p><p class=\"did\">Villas 13 to 24 on Tuesday. The filters were last changed on 14 August.</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": "lagoon-jobs",
          "type": "daslab/webview",
          "name": "Open jobs",
          "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 { margin-top: 12px; }\n.day + .plan { margin-top: 0; }\n.plan > li { grid-template-columns: 3.6em minmax(0, 1fr) auto; align-items: start; }\n.plan small { display: block; margin: 1px 0 0; overflow: hidden; text-overflow: ellipsis; }\n.plan .state:empty { display: none; }</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>Jobs by villa</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/line\" alt=\"\">Khun Wit's group</span></p>\n<p class=\"day\">Open</p>\n<ul class=\"plan\">\n  <li><b>17</b><span>Key-card switch<small>The AC runs with nobody in · part ฿1,450</small></span><span class=\"state warn\">Waits for you</span></li>\n  <li><b>21</b><span>Shower drains slowly<small>Today by 5pm, after villa 17</small></span><span class=\"state info\">Today</span></li>\n  <li><b>6</b><span>Terrace light flickers<small>Sunday, after check-out · open 2 days</small></span><span class=\"state \">Sunday</span></li>\n</ul>\n<p class=\"day\">Done today</p>\n<ul class=\"plan\">\n  <li><b>4</b><span>TV remote<small>New batteries · 10:20am</small></span><span class=\"state ok\">Done</span></li>\n  <li><b>12</b><span>Pool light<small>New bulb before the 3:30pm arrival · 9:30am</small></span><span class=\"state ok\">Done</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"
          }
        },
        {
          "id": "lagoon-kit",
          "type": "daslab/webview",
          "name": "Kit across 24 villas",
          "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\"><circle cx=\"12\" cy=\"12\" r=\"3\"/><path d=\"M19 12a7 7 0 00-.2-1.7l2-1.5-2-3.4-2.3.9a7 7 0 00-3-1.7L13 2h-4l-.5 2.6a7 7 0 00-3 1.7L3.2 5.4 1.2 8.8l2 1.5a7 7 0 000 3.4l-2 1.5 2 3.4 2.3-.9a7 7 0 003 1.7L9 22h4l.5-2.6a7 7 0 003-1.7l2.3.9 2-3.4-2-1.5A7 7 0 0019 12z\"/></svg><span>Kit across 24 villas</span><span class=\"state warn\">1 to fix</span></p>\n<div class=\"visual\"><ul class=\"things\"><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 3v18M4.2 7.5l15.6 9M19.8 7.5l-15.6 9M12 3l-2-1.5M12 3l2-1.5M12 21l-2 1.5M12 21l2 1.5\"/></svg></span><span class=\"state ok\">Working</span><h3>AC units</h3><p>48, two a villa</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"7.5\" cy=\"15.5\" r=\"4.5\"/><path d=\"M10.7 12.3L20 3M16.5 6.5l3 3M14 9l2 2\"/></svg></span><span class=\"state warn\">Villa 17</span><h3>Key-card switches</h3><p>23 of 24 cut the power</p></li><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 class=\"state ok\">Night rate</span><h3>Pool pumps</h3><p>25 · 10pm to 8am</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M13 2L4 14h7l-1 8 9-12h-7l1-8z\"/></svg></span><span class=\"state ok\">Ready</span><h3>Generator</h3><p>Tested last Sunday</p></li></ul></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": 3,
            "size": "large"
          }
        }
      ]
    }
  ]
}
