{
  "version": 1,
  "id": "scn_showcase_greenrow",
  "name": "Green Row Farm",
  "icon": "leaf.fill",
  "tint": "#4F8A3C",
  "settings": {
    "description": "Family farm, tomatoes and herbs, Westland"
  },
  "assets": [
    {
      "id": "greenrow-front",
      "type": "daslab/webview",
      "name": "Six bays",
      "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.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 (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.cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); gap: 6px; }\n.cards[style*=\"--n:4\"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.cards li { position: relative; min-width: 0; margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--bg-well); }\n.cards li.low { box-shadow: inset 0 0 0 1.5px var(--warn); background: color-mix(in oklab, var(--warn) 14%, var(--bg-well)); }\n.cards b { display: block; font: 500 11.5px/16px var(--brand-mono); color: var(--text-secondary); }\n.cards li > img { position: absolute; top: 7px; right: 8px; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.cards .fig { display: block; font: 600 20px/24px var(--brand-display); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }\n.cards .fig small { margin-left: 2px; font: 500 12px var(--brand-text); color: var(--text-secondary); }\n.cards li > small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n@media (min-width: 720px) {\n  .cards, .cards[style*=\"--n:4\"] { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }\n  .cards li > small { white-space: normal; }\n  .front .cards { margin-top: auto; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/greenrow/farm-aerial.jpg\" alt=\"The farm from above: six glass bays side by side, the packing shed and the rain basin\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M7 21c-1-7 3-13 13-13 0 8-4 14-13 13z\"/></svg><span>Six bays</span><span class=\"state warn\">Heat warning</span></p>\n    <p class=\"reading\">1,840<small class=\"word\">kg</small><span class=\"also\">this week</span></p>\n    <p class=\"sub\">Week 29 · +4% on last week · 24°C in the glass</p>\n    <ul class=\"cards\" style=\"--n:6\"><li><b>Bay 1</b><span class=\"fig\">27<small>% soil</small></span><small>Vine · 420 kg</small></li><li><b>Bay 2</b><span class=\"fig\">25<small>% soil</small></span><small>Vine · 395 kg</small></li><li class=\"low\"><b>Bay 3</b><span class=\"fig\">18<small>% soil</small></span><small>Cherry · 260 kg</small></li><li><b>Bay 4</b><span class=\"fig\">29<small>% soil</small></span><small>Mixed · 345 kg</small></li><li><b>Bay 5</b><span class=\"fig\">26<small>% soil</small></span><small>Mixed · 330 kg</small></li><li><b>Bay 6</b><span class=\"fig\">31<small>% soil</small></span><small>Herbs · 90 kg</small></li></ul>\n    <p class=\"who\"><span><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><b>Joost</b> in bay 3</span><span><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><b>Marek's</b> pickers in 4 and 5</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": "greenrow-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/whatsapp\" alt=\"\">2 wait for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Bay 3 is at 18%. Water it now?</p><p class=\"did\">A 20 minute drip run, about 850 litres from the rain basin. In a heat warning it waits for your yes.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Van Leeuwen asks €9 a kg for basil and parsley, not €11.</p><p class=\"did\">12 kg on Tuesday: €108, not €132. They paid €11 the last three times.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> Tomorrow at 6:00 with four, or five?</p><p class=\"did\">Four: 619 kg takes about 3.5 hours, done by 9:30, before the glass passes 28°C.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Hotel Strandzicht wants 50 kg of cherry tomatoes on Monday.</p><p class=\"did\">Bay 3 has them. Reply drafted: €3.20 a kg, €160, delivered by 9:00.</p></div><span class=\"state warn\">Waits for Anouk</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": "greenrow-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: 4.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\">5 open</span></p>\n<p class=\"reading\">5<small class=\"word\">to decide</small></p>\n<p class=\"sub\">Four for you, one for Anouk</p>\n<ul class=\"plan\">\n  <li><b>850 l</b><span>Water bay 3 now<small>20 minute drip run · heat warning</small></span><span class=\"state warn\">You</span></li>\n  <li><b>€108</b><span>Herbs for Van Leeuwen at €9<small>12 kg on Tuesday · now €11 a kg</small></span><span class=\"state warn\">You</span></li>\n  <li><b>€60</b><span>Heat bonus for the pickers<small>€2 an hour until Sunday</small></span><span class=\"state warn\">You</span></li>\n  <li><b>1,200 l</b><span>Fogging until 19:00<small>Until Sunday · 11 days of water left</small></span><span class=\"state warn\">You</span></li>\n  <li><b>€160</b><span>Hotel Strandzicht, 50 kg cherry<small>Monday by 9:00 · reply drafted</small></span><span class=\"state warn\">Anouk</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": "greenrow-front-people",
      "type": "daslab/webview",
      "name": "The people",
      "fields": {
        "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.crew { margin-bottom: 4px; }\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=\"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>The people</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/whatsapp\" alt=\"\">7 on the farm</span></p>\n<ul class=\"crew\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><span><b>Joost</b><small>Grower</small></span><span class=\"state info\">Bay 3</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><span><b>Anouk</b><small>Packing, buyers</small></span><span class=\"state ok\">Shed</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><span><b>Marek</b><small>Lead picker</small></span><span class=\"state ok\">Bay 4</span></li></ul>\n<ul class=\"plan\">\n  <li><b>4</b><span>Pickers<small>Marek, Kasia, Tomasz, Ilona</small></span><span class=\"state \">Sat 6:00</span></li>\n  <li><b>2</b><span>Packing<small>Anouk, and Ilona after picking</small></span><span class=\"state \">Till 17:00</span></li>\n  <li><b>1</b><span>Reserve<small>Piotr, for Kasia on Monday</small></span><span class=\"state \">Mon 6:00</span></li>\n</ul>\n<p class=\"caption\">142 picking hours this week · nobody in the glass after 13:00 until Sunday</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"
      }
    }
  ],
  "scenes": [
    {
      "id": "scn_showcase_greenrow_greenhouses",
      "slug": "greenhouses",
      "name": "Greenhouses",
      "icon": "house.fill",
      "tint": "#4F8A3C",
      "settings": {
        "description": "Bay 3 is at 18% soil moisture. Watering it waits for a yes in the heat warning."
      },
      "assets": [
        {
          "id": "greenrow-bays",
          "type": "daslab/webview",
          "name": "Bay 3 is running dry",
          "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/greenrow/tomato-rows.jpg\" alt=\"Long rows of tomato plants in a glass greenhouse\">\n    <figcaption><p class=\"kicker\">Soil probes · 6 bays · <span class=\"state warn\">Heat warning</span></p><h1>Bay 3 is running dry</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>Bay 3 soil</dt><dd>18<small>%</small></dd><dd><span class=\"state warn\">Under 20%</span></dd></div>\n    <div><dt>In the glass</dt><dd>24<small>°C</small></dd><dd>30°C outside by 16:00</dd></div>\n    <div><dt>Picked this week</dt><dd>1,840<small>kg</small></dd><dd>+4% on last week</dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "greenrow-greenhouses-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/whatsapp\" alt=\"\">1 waits for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Bay 3 is at 18%. Water it now?</p><p class=\"did\">A 20 minute drip run, about 850 litres from the rain basin. In a heat warning it waits for your yes.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> Bay 3's south end looks limp. Is it the heat?</p><p class=\"did\">Dry as well: the south probe reads 16%, the north one 20%. Watering waits for your yes.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> How long does the rain basin last in this heat?</p><p class=\"did\">180,000 litres, about 12 days at this rate.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Are all the probes reporting?</p><p class=\"did\">12 of 12, two a bay, read every 10 minutes through the Raspberry Pi.</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": "greenrow-moisture",
          "type": "daslab/webview",
          "name": "Soil moisture by bay",
          "fields": {
            "html": "<style>.bays { margin: 18px 0 8px; }\n.plot { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: end; height: 190px; padding-top: 18px; }\n.plot i { position: relative; display: block; height: calc(var(--v) / 35 * 100%); border-radius: 4px 4px 0 0; background: var(--border); }\n.plot i.low { background: var(--warn); }\n.plot i b { position: absolute; bottom: 100%; left: 0; right: 0; padding-bottom: 4px; text-align: center; font: 500 11px/14px var(--brand-mono); color: var(--text-secondary); }\n/* The low bar's figure sits above the dashed line, not across it. */\n.plot i.low b { padding-bottom: 14px; color: var(--text); }\n.plot hr { position: absolute; left: -4px; right: -4px; bottom: calc(var(--v) / 35 * (100% - 18px)); z-index: 1; margin: 0; border: 0; border-top: 1.5px dashed var(--text); opacity: .55; }\n.names { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: none; margin: 6px 0 0; border-top: 1px solid var(--border); padding-top: 6px; }\n.names span { text-align: center; font: 500 10px/14px var(--brand-mono); color: var(--text-dim); }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Soil moisture · by bay · 11:40</p>\n  <h1>Five bays fine, one dry</h1>\n  <div class=\"bays\" role=\"img\" aria-label=\"Soil moisture by bay: bay 1 27%, bay 2 25%, bay 3 18%, bay 4 29%, bay 5 26%, bay 6 31%; the watering line is at 20%\">\n    <div class=\"plot\">\n      <hr style=\"--v:20\">\n      <i style=\"--v:27\"><b>27%</b></i><i style=\"--v:25\"><b>25%</b></i><i style=\"--v:18\" class=\"low\"><b>18%</b></i><i style=\"--v:29\"><b>29%</b></i><i style=\"--v:26\"><b>26%</b></i><i style=\"--v:31\"><b>31%</b></i>\n    </div>\n    <p class=\"names\"><span>Bay 1</span><span>Bay 2</span><span>Bay 3</span><span>Bay 4</span><span>Bay 5</span><span>Bay 6</span></p>\n  </div>\n  <p class=\"foot\">Dashed: water under 20% · two probes a bay, read every 10 minutes</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "greenrow-valves",
          "type": "daslab/webview",
          "name": "Valves and sensors",
          "fields": {
            "html": "<style>.kit { margin-top: 14px; }\n.kit > li { padding: 11px 0; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Raspberry Pi · 6 bays · <span class=\"state ok\">Online</span></p>\n  <h1>Valves and sensors</h1>\n  <ul class=\"items kit\">\n    <li><h3>Valve, bay 3 <span class=\"state warn\">Waiting</span></h3><p>Closed until you say yes · 20 minute run</p></li>\n    <li><h3>Valves, other bays <span class=\"state ok\">Closed</span></h3><p>Watered at 06:00 · all above 20%</p></li>\n    <li><h3>Soil probes <span class=\"state ok\">12 of 12</span></h3><p>Two a bay · read every 10 minutes</p></li>\n    <li><h3>Climate computer <span class=\"state ok\">On</span></h3><p>Fogging on · screens half closed for the heat</p></li>\n    <li><h3>Rain basin <span class=\"state ok\">OK</span></h3><p>180,000 litres · about 12 days of water</p></li>\n  </ul>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "greenrow-water",
          "type": "daslab/webview",
          "name": "Water bay 3",
          "fields": {
            "html": "<style>.run { display: flex; gap: 14px; align-items: center; margin: 14px 0 0; }\n.run img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; flex: none; }\n.run h3 { margin: 0; font-size: 15px; }\n.run p { margin: 2px 0 0; font-size: 13px; color: var(--text-secondary); }\n.run .qty { color: var(--text); }\n.gauge { margin: 18px 0 0; }\n.gauge p { position: relative; height: 16px; margin: 0; max-width: none; font: 500 10px/16px var(--brand-mono); color: var(--text-secondary); }\n.gauge p span, .gauge .rule-tag { white-space: nowrap; }\n.gauge .rule-tag { position: relative; left: calc(var(--v) / 40 * 100%); width: max-content; transform: translateX(-50%); margin-bottom: 4px; }\n.track { position: relative; height: 12px; border-radius: 6px; background: var(--border); }\n.track span { position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--v) / 40 * 100%); border-radius: 6px; }\n.track .after { background: color-mix(in oklab, var(--accent) 30%, transparent); }\n.track .now { background: var(--warn); }\n.track .rule { left: calc(var(--v) / 40 * 100%); width: 0; top: -4px; bottom: -4px; border-left: 2px solid var(--text); border-radius: 0; }\n.gauge .marks { margin-top: 6px; }\n.marks span { position: absolute; top: 0; }\n.marks .mark-now { right: calc(100% - var(--v) / 40 * 100%); }\n.marks .mark-after { left: calc(var(--v) / 40 * 100%); padding-left: 6px; color: var(--accent); }\n.facts { margin: 18px 0 0; }\n.facts > div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 13px; line-height: 20px; }\n.facts > div:last-child { border-bottom: 1px solid var(--border); }\n.facts dt { font-weight: 500; }\n.facts dd { margin: 0; color: var(--text-secondary); }\n.ask { margin-top: 14px; font-size: 14px; }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Valve, bay 3 · heat warning · <span class=\"state warn\">Waiting</span></p>\n  <h1>Water bay 3 now?</h1>\n  <div class=\"run\">\n    <img src=\"https://daslab.run/marketing/showcase/greenrow/drip-line.jpg\" alt=\"A drip emitter at the foot of a tomato plant\">\n    <div><h3>Bay 3, cherry tomatoes</h3><p>20 minute drip run · about 850 litres</p><p class=\"qty\">From 18% to about 25%</p></div>\n  </div>\n  <div class=\"gauge\" role=\"img\" aria-label=\"Soil moisture in bay 3: 18 percent now, the rule at 20, about 25 after watering\">\n    <p class=\"rule-tag\" style=\"--v:20\">Rule 20%</p>\n    <div class=\"track\"><span class=\"after\" style=\"--v:25\"></span><span class=\"now\" style=\"--v:18\"></span><span class=\"rule\" style=\"--v:20\"></span></div>\n    <p class=\"marks\"><span class=\"mark-now\" style=\"--v:18\">Now 18%</span><span class=\"mark-after\" style=\"--v:25\">After, about 25%</span></p>\n  </div>\n  <dl class=\"facts\">\n    <div><dt>Last watered</dt><dd>06:00, with the other bays</dd></div>\n    <div><dt>Heat warning</dt><dd>Until Sunday, 30°C outside by 16:00</dd></div>\n  </dl>\n  <p class=\"ask\"><span class=\"state warn\">Waits for your yes</span> · your rule in a heat warning</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_greenrow_harvest",
      "slug": "harvest",
      "name": "Harvest",
      "icon": "shippingbox.fill",
      "tint": "#C2452D",
      "settings": {
        "description": "1,840 kg picked this week. Four orders go out tomorrow."
      },
      "assets": [
        {
          "id": "greenrow-harvest",
          "type": "daslab/webview",
          "name": "The harvest this week",
          "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/greenrow/harvest-crates.jpg\" alt=\"Crates of ripe tomatoes on a trolley between greenhouse rows\">\n    <figcaption><p class=\"kicker\">Packing scale · week 29 · Friday</p><h1>The best week so far</h1></figcaption>\n  </figure>\n  <dl class=\"stats\">\n    <div><dt>Picked this week</dt><dd>1,840<small>kg</small></dd><dd>+4% on last week</dd></div>\n    <div><dt>Out tomorrow</dt><dd>619<small>kg</small></dd><dd>Four orders</dd></div>\n    <div><dt>Open orders</dt><dd>7</dd><dd>Four buyers and our stall</dd></div>\n  </dl>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "greenrow-harvest-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/whatsapp\" alt=\"\">2 wait for a yes</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Hotel Strandzicht wants 50 kg of cherry tomatoes on Monday.</p><p class=\"did\">Bay 3 has them. Reply drafted: €3.20 a kg, €160, delivered by 9:00.</p></div><span class=\"state warn\">Waits for Anouk</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Van Leeuwen asks €9 a kg for basil and parsley, not €11.</p><p class=\"did\">12 kg on Tuesday: €108, not €132. They paid €11 the last three times.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> Tomorrow at 6:00 with four, or five?</p><p class=\"did\">Four: 619 kg takes about 3.5 hours, done by 9:30, before the glass passes 28°C.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> What goes out tomorrow?</p><p class=\"did\">Four orders, 619 kg: 420 vine for Van Leeuwen, 35 cherry and 4 basil for Klaproos, 160 mixed for the stall. Labels print at 17:00.</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": "greenrow-weeks",
          "type": "daslab/webview",
          "name": "Harvest by week",
          "fields": {
            "html": "<style>.weeks { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; align-items: end; height: 170px; margin: 18px 0 10px; }\n.weeks > div { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }\n.weeks i { position: relative; display: block; height: calc(var(--v) / 2000 * (100% - 20px)); border-radius: 4px 4px 0 0; background: var(--border); }\n.weeks .now i { background: var(--accent); }\n.weeks i b { position: absolute; bottom: 100%; left: -10px; right: -10px; padding-bottom: 4px; text-align: center; font: 600 11px/14px var(--brand-mono); color: var(--text-secondary); }\n.weeks .now i b { color: var(--accent); }\n.weeks span { margin-top: 6px; text-align: center; font: 500 10px/14px var(--brand-mono); color: var(--text-dim); }\n.foot { font-size: 13px; color: var(--text-secondary); }</style>\n<main data-tile=\"own\">\n  <p class=\"kicker\">Picked · kg a week · weeks 22 to 29</p>\n  <h1>Up seven weeks running</h1>\n  <div class=\"weeks\" role=\"img\" aria-label=\"Kilograms picked each week, weeks 22 to 29: week 22 1,120, week 23 1,260, week 24 1,390, week 25 1,510, week 26 1,580, week 27 1,690, week 28 1,770, week 29 1,840\">\n    <div><i style=\"--v:1120\"><b>1,120</b></i><span>22</span></div><div><i style=\"--v:1260\"></i><span>23</span></div><div><i style=\"--v:1390\"></i><span>24</span></div><div><i style=\"--v:1510\"></i><span>25</span></div><div><i style=\"--v:1580\"></i><span>26</span></div><div><i style=\"--v:1690\"></i><span>27</span></div><div><i style=\"--v:1770\"></i><span>28</span></div><div class=\"now\"><i style=\"--v:1840\"><b>1,840</b></i><span>29</span></div>\n  </div>\n  <p class=\"foot\">Tomatoes and herbs · weighed at the packing scale</p>\n</main>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "greenrow-orders",
          "type": "daslab/table",
          "name": "Buyer orders",
          "fields": {
            "columns": [
              {
                "id": "buyer",
                "name": "Buyer",
                "type": "text"
              },
              {
                "id": "crop",
                "name": "Crop",
                "type": "text"
              },
              {
                "id": "kg",
                "name": "Kg",
                "type": "number"
              },
              {
                "id": "delivery",
                "name": "Delivery",
                "type": "text"
              },
              {
                "id": "status",
                "name": "Status",
                "type": "text"
              }
            ],
            "rows": [
              {
                "buyer": "Van Leeuwen Groente",
                "crop": "Vine tomatoes",
                "kg": 420,
                "delivery": "Saturday",
                "status": "Confirmed"
              },
              {
                "buyer": "Bistro Klaproos",
                "crop": "Cherry tomatoes",
                "kg": 35,
                "delivery": "Saturday",
                "status": "Confirmed"
              },
              {
                "buyer": "Our stall, Delft market",
                "crop": "Mixed tomatoes",
                "kg": 160,
                "delivery": "Saturday",
                "status": "Confirmed"
              },
              {
                "buyer": "Bistro Klaproos",
                "crop": "Basil",
                "kg": 4,
                "delivery": "Saturday",
                "status": "Confirmed"
              },
              {
                "buyer": "Coöp Westland Vers",
                "crop": "Vine tomatoes",
                "kg": 600,
                "delivery": "Monday",
                "status": "Confirmed"
              },
              {
                "buyer": "Hotel Strandzicht",
                "crop": "Cherry tomatoes",
                "kg": 50,
                "delivery": "Monday",
                "status": "New today"
              },
              {
                "buyer": "Van Leeuwen Groente",
                "crop": "Basil and parsley",
                "kg": 12,
                "delivery": "Tuesday",
                "status": "Asked about price"
              }
            ]
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "greenrow-tomorrow",
          "type": "daslab/note",
          "name": "What to pick tomorrow",
          "fields": {
            "content": "**Pick tomorrow, Saturday.** Four orders go out: 615 kg of tomatoes and 4 kg of basil, 619 kg in all. Start at 6:00 with the four pickers, before the glass warms: the heat warning holds until Sunday. Vine tomatoes from bays 1 and 2 first, 420 kg for Van Leeuwen Groente. Then cherry tomatoes from bay 3, 35 kg for Bistro Klaproos, and the mixed crates for our Delft stall from bays 4 and 5, 160 kg. Cut the basil in bay 6 last so it stays fresh. Monday's 650 kg for Coöp Westland Vers and Hotel Strandzicht is picked on Monday morning."
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_greenrow_climate",
      "slug": "climate",
      "name": "Climate",
      "icon": "sun.max",
      "tint": "#D49A2A",
      "settings": {
        "description": "24°C in the glass, 30°C outside by 16:00. Heat warning until Sunday, fogging on."
      },
      "assets": [
        {
          "id": "greenrow-climate",
          "type": "daslab/webview",
          "name": "In the glass",
          "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.glass { display: grid; gap: 14px; flex: 1; min-height: 0; grid-template-rows: minmax(90px, 32%) 1fr; }\n.glass .cam { min-height: 0; }\n:root[data-cell=\"tile\"] .glass .cam { margin: -16px -16px 0; border-radius: 0; }\n.glass .panel { display: flex; flex-direction: column; min-height: 0; }\n.glass .reading { margin-top: 6px; }\n.glass .visual { margin-top: 10px; min-height: 0; }\n.glass .figs { margin-top: 12px; }\n@media (max-width: 719px) { .glass .figs, .glass .caption { display: none; } }\n@media (min-width: 720px) {\n  .glass { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); grid-template-rows: none; gap: 24px; }\n  :root[data-cell=\"tile\"] .glass .cam { margin: -16px 0 -16px -16px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"glass\">\n  <figure class=\"cam live\"><img src=\"https://daslab.run/marketing/showcase/greenrow/glass-roof.jpg\" alt=\"Screens half drawn under the glass roof, fog over the tomato plants\"><span class=\"chip\">Roof camera</span><time data-live-clock=\"11:40:00\">11:40:00</time></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2M12 20v2M4 12H2M22 12h-2M5 5l1.5 1.5M17.5 17.5L19 19M5 19l1.5-1.5M17.5 6.5L19 5\"/></svg><span>In the glass</span><span class=\"state warn\">Heat warning</span></p>\n    <p class=\"reading\">24<small>°C</small><span class=\"also\">outside 25°C</span></p>\n    <div class=\"visual\"><div class=\"curve\"><div class=\"plot\">\n  <svg viewBox=\"0 0 1000 400\" preserveAspectRatio=\"none\" aria-hidden=\"true\">\n    <rect class=\"span\" x=\"666.6666666666666\" y=\"0\" width=\"333.33333333333337\" height=\"400\"/>\n    <line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"266.6666666666667\" y2=\"266.6666666666667\" vector-effect=\"non-scaling-stroke\"/><line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"155.55555555555554\" y2=\"155.55555555555554\" vector-effect=\"non-scaling-stroke\"/><line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"44.44444444444446\" y2=\"44.44444444444446\" vector-effect=\"non-scaling-stroke\"/>\n    <polyline class=\"target\" points=\"0.0,355.6 166.7,277.8 333.3,200.0 500.0,133.3 666.7,77.8 833.3,44.4 1000.0,88.9\" vector-effect=\"non-scaling-stroke\"/>\n    <polyline class=\"line\" points=\"0.0,328.9 83.3,302.2 166.7,271.1 250.0,242.2 333.3,213.3 416.7,191.1 472.5,177.8\" vector-effect=\"non-scaling-stroke\"/>\n  </svg>\n  <span class=\"span-label\" style=\"left:66.67%\">Over 28°C outside</span>\n  <b class=\"dot\" style=\"left:47.25%;top:44.44%\"></b>\n</div>\n  <span class=\"grid-label\" style=\"top:66.67%\">20°</span><span class=\"grid-label\" style=\"top:38.89%\">25°</span><span class=\"grid-label\" style=\"top:11.11%\">30°</span>\n</div>\n<p class=\"x-labels\"><span style=\"left:0.00%\">06:00</span><span style=\"left:50.00%\">12:00</span><span style=\"left:100.00%\">18:00</span></p></div>\n    <dl class=\"stats figs\"><div><dt>Humidity</dt><dd>73<small>%</small></dd></div><div><dt>Outside by 16:00</dt><dd>30<small>°C</small></dd></div><div><dt>Fogging</dt><dd>On</dd></div></dl>\n    <p class=\"caption\">Dashed: outside, forecast · screens close fully over 28°C</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": "greenrow-climate-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/whatsapp\" alt=\"\">1 waits for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Run the fogging until 19:00, not 17:00?</p><p class=\"did\">1,200 litres more from the basin a day: 11 days of water left, not 12.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Close the screens fully when the glass passes 28°C.</p><p class=\"did\">Set on the climate computer: fully closed over 28°C, half under 26°C. Fogging stays on.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Will the basil hold in this heat?</p><p class=\"did\">Bay 6 is at 23°C and 76% with the fogging. Basil wilts over 30°C. Cut tomorrow, last of the pick, as planned.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> Can we be out of the glass by 13:00 until Sunday?</p><p class=\"did\">Yes: tomorrow's 619 kg is done by 9:30. Nobody in after 13:00 until Sunday.</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": "greenrow-bay-climate",
          "type": "daslab/webview",
          "name": "Bays now",
          "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.cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); gap: 6px; }\n.cards[style*=\"--n:4\"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.cards li { position: relative; min-width: 0; margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--bg-well); }\n.cards li.low { box-shadow: inset 0 0 0 1.5px var(--warn); background: color-mix(in oklab, var(--warn) 14%, var(--bg-well)); }\n.cards b { display: block; font: 500 11.5px/16px var(--brand-mono); color: var(--text-secondary); }\n.cards li > img { position: absolute; top: 7px; right: 8px; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.cards .fig { display: block; font: 600 20px/24px var(--brand-display); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }\n.cards .fig small { margin-left: 2px; font: 500 12px var(--brand-text); color: var(--text-secondary); }\n.cards li > small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n@media (min-width: 720px) {\n  .cards, .cards[style*=\"--n:4\"] { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }\n  .cards li > small { white-space: normal; }\n  .front .cards { margin-top: auto; }\n}\n\n.cards { 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=\"M6 20V10M12 20V4M18 20v-6\"/></svg><span>Bays now</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/mqtt\" alt=\"\">Raspberry Pi · 11:40</span></p>\n<p class=\"reading\">23.2<small class=\"word\">to 24.6°C</small></p>\n<p class=\"sub\">All six under 26°C · humidity 70 to 76%</p>\n<ul class=\"cards\" style=\"--n:6\"><li><b>Bay 1</b><span class=\"fig\">24.2<small>°C</small></span><small>73% · Vine</small></li><li><b>Bay 2</b><span class=\"fig\">24.0<small>°C</small></span><small>74% · Vine</small></li><li><b>Bay 3</b><span class=\"fig\">24.6<small>°C</small></span><small>70% · Cherry</small></li><li><b>Bay 4</b><span class=\"fig\">23.9<small>°C</small></span><small>74% · Mixed</small></li><li><b>Bay 5</b><span class=\"fig\">24.1<small>°C</small></span><small>73% · Mixed</small></li><li><b>Bay 6</b><span class=\"fig\">23.2<small>°C</small></span><small>76% · Herbs</small></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": 2,
            "size": "large"
          }
        },
        {
          "id": "greenrow-heat",
          "type": "daslab/webview",
          "name": "Heat warning",
          "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=\"4\"/><path d=\"M12 2v2M12 20v2M4 12H2M22 12h-2M5 5l1.5 1.5M17.5 17.5L19 19M5 19l1.5-1.5M17.5 6.5L19 5\"/></svg><span>Heat warning</span><span class=\"state warn\">Until Sunday</span></p>\n<p class=\"reading\">31<small>°C</small><span class=\"also\">Saturday</span></p>\n<div class=\"visual\"><div class=\"bars\"><div class=\"col now\"><i style=\"--h:85.7%\"></i></div><div class=\"col\"><i style=\"--h:88.6%\"></i></div><div class=\"col\"><i style=\"--h:77.1%\"></i></div><div class=\"col\"><i style=\"--h:65.7%\"></i></div><div class=\"col\"><i style=\"--h:62.9%\"></i></div></div><p class=\"bar-labels\"><span>Fri</span><span>Sat</span><span>Sun</span><span>Mon</span><span>Tue</span></p></div>\n<p class=\"caption\">Highs outside, from the weather service · 23°C by Monday</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": "greenrow-climate-kit",
          "type": "daslab/webview",
          "name": "Climate computer",
          "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>Climate computer</span><span class=\"state ok\">On</span></p>\n<div class=\"visual\"><ul class=\"things\"><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><circle cx=\"12\" cy=\"12\" r=\"4\"/><path d=\"M12 2v2M12 20v2M4 12H2M22 12h-2M5 5l1.5 1.5M17.5 17.5L19 19M5 19l1.5-1.5M17.5 6.5L19 5\"/></svg></span><span class=\"state ok\">On</span><h3>Screens</h3><p>Half closed · full over 28°C</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M17.5 18.5h-11a4.5 4.5 0 01-.4-9A6 6 0 0118 8.7a4.9 4.9 0 01-.5 9.8z\"/></svg></span><span class=\"state ok\">On</span><h3>Fogging</h3><p>3 minutes in every 15</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 8h12a3 3 0 100-6M3 14h17a3 3 0 110 6M3 20h7\"/></svg></span><span class=\"state ok\">Auto</span><h3>Roof vents</h3><p>30% open</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\">OK</span><h3>Rain basin</h3><p>180,000 litres · 12 days</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": 4,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_greenrow_buyers",
      "slug": "buyers",
      "name": "Buyers",
      "icon": "shippingbox.and.arrow.forward",
      "tint": "#7A5C3E",
      "settings": {
        "description": "Four buyers and our Delft stall, seven open orders. Van Leeuwen's herb price waits for your yes."
      },
      "assets": [
        {
          "id": "greenrow-buyers",
          "type": "daslab/webview",
          "name": "Open orders",
          "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.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 (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/greenrow/delft-stall.jpg\" alt=\"The farm's market stall in Delft, crates of tomatoes and bunches of basil\"></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 4h2l2.5 12h11l2-9H6\"/><circle cx=\"9\" cy=\"20\" r=\"1.5\"/><circle cx=\"18\" cy=\"20\" r=\"1.5\"/></svg><span>Open orders</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/gmail\" alt=\"\">Orders by email</span></p>\n    <p class=\"reading\">€2,571</p>\n    <p class=\"sub\">Six buyer orders and 160 kg for our stall · 1,281 kg</p>\n    <div class=\"end\">\n      <dl class=\"stats figs\"><div><dt>Tomorrow</dt><dd>619<small class=\"word\">kg</small></dd></div><div><dt>Monday</dt><dd>650<small class=\"word\">kg</small></dd></div><div><dt>Tuesday</dt><dd>12<small class=\"word\">kg</small></dd></div></dl>\n      <p class=\"caption\"><b>Van Leeuwen</b> asks €9 a kg for herbs · 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": "greenrow-buyers-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/whatsapp\" alt=\"\">2 wait for a yes</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Van Leeuwen asks €9 a kg for basil and parsley, not €11.</p><p class=\"did\">12 kg on Tuesday: €108, not €132. They paid €11 the last three times.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Hotel Strandzicht wants 50 kg of cherry tomatoes on Monday.</p><p class=\"did\">Reply drafted: yes, €3.20 a kg, €160, delivered by 9:00.</p></div><span class=\"state warn\">Waits for Anouk</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Can bay 3 give 50 kg on Monday as well as Saturday's 35?</p><p class=\"did\">Yes: it picks about 43 kg a day, and Monday has two days of ripening.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> Send Coöp Westland Vers last week's invoice.</p><p class=\"did\">Sent from Gmail at 09:12: 1,200 kg of vine tomatoes, €2,460.</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": "greenrow-buyer-list",
          "type": "daslab/webview",
          "name": "Buyers",
          "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: 4.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>Buyers</span><span class=\"state ok\">4 and our stall</span></p>\n<ul class=\"plan\">\n  <li><b>600</b><span>Coöp Westland Vers<small>Cooperative · vine tomatoes, Monday</small></span><span class=\"state ok\">Confirmed</span></li>\n  <li><b>432</b><span>Van Leeuwen Groente<small>Wholesaler · vine Saturday, herbs Tuesday</small></span><span class=\"state warn\">Price asked</span></li>\n  <li><b>160</b><span>Our stall, Delft market<small>Mixed tomatoes, Saturday</small></span><span class=\"state ok\">Confirmed</span></li>\n  <li><b>50</b><span>Hotel Strandzicht<small>Cherry tomatoes, Monday</small></span><span class=\"state info\">New today</span></li>\n  <li><b>39</b><span>Bistro Klaproos<small>Cherry tomatoes and basil, Saturday</small></span><span class=\"state ok\">Confirmed</span></li>\n</ul>\n<p class=\"caption\">Kilograms open · 1,281 in all, read from the order emails</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "greenrow-herb-price",
          "type": "daslab/webview",
          "name": "Herb price",
          "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.figs { margin-top: 16px; }\n.end { margin-top: auto; padding-top: 12px; }\n.end .caption { margin: 0 0 10px; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"6\" width=\"18\" height=\"12\" rx=\"2\"/><circle cx=\"12\" cy=\"12\" r=\"2.5\"/><path d=\"M6 9h.01M18 15h.01\"/></svg><span>Herb price</span><span class=\"state warn\">Waits for you</span></p>\n<p class=\"reading\">€9<small class=\"word\">a kg</small><span class=\"also\">asked</span></p>\n<p class=\"sub\">Basil and parsley · 12 kg on Tuesday · Van Leeuwen Groente</p>\n<dl class=\"stats figs\"><div><dt>Our price</dt><dd>€11</dd></div><div><dt>Order at €9</dt><dd>€108</dd></div><div><dt>Last three</dt><dd>€11</dd></div></dl>\n<div class=\"end\">\n  <p class=\"caption\">Their herbs come from bay 6 · 90 kg this week</p>\n  <p class=\"actions\"><button type=\"button\">Offer €10</button><button type=\"button\" class=\"primary\">Accept €9</button></p>\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": 3,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_greenrow_team",
      "slug": "team",
      "name": "Team",
      "icon": "person.3.fill",
      "tint": "#5B6E8C",
      "settings": {
        "description": "Four pickers tomorrow from 6:00, done by 9:30 before the heat. Seven on the farm."
      },
      "assets": [
        {
          "id": "greenrow-team",
          "type": "daslab/webview",
          "name": "Tomorrow from 6:00",
          "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.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 (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.cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(min(var(--n), 3), minmax(0, 1fr)); gap: 6px; }\n.cards[style*=\"--n:4\"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n.cards li { position: relative; min-width: 0; margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--bg-well); }\n.cards li.low { box-shadow: inset 0 0 0 1.5px var(--warn); background: color-mix(in oklab, var(--warn) 14%, var(--bg-well)); }\n.cards b { display: block; font: 500 11.5px/16px var(--brand-mono); color: var(--text-secondary); }\n.cards li > img { position: absolute; top: 7px; right: 8px; width: 20px; height: 20px; margin: 0; border: 0; border-radius: 50%; object-fit: cover; }\n.cards .fig { display: block; font: 600 20px/24px var(--brand-display); font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }\n.cards .fig small { margin-left: 2px; font: 500 12px var(--brand-text); color: var(--text-secondary); }\n.cards li > small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n@media (min-width: 720px) {\n  .cards, .cards[style*=\"--n:4\"] { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }\n  .cards li > small { white-space: normal; }\n  .front .cards { margin-top: auto; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"front\">\n  <figure class=\"place\"><img src=\"https://daslab.run/marketing/showcase/greenrow/harvest-crates.jpg\" alt=\"Crates of ripe tomatoes on a trolley between greenhouse rows, a picker further down\"></figure>\n  <div class=\"panel\">\n    <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>Tomorrow from 6:00</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/whatsapp\" alt=\"\">Pickers' group</span></p>\n    <p class=\"reading\">4<small class=\"word\">pickers</small></p>\n    <p class=\"sub\">619 kg in four orders · done by about 9:30</p>\n    <ul class=\"cards\" style=\"--n:4\"><li><b>Bays 1 and 2</b><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><span class=\"fig\">420<small>kg</small></span><small>Marek, Kasia · vine</small></li><li><b>Bay 3</b><span class=\"fig\">35<small>kg</small></span><small>Tomasz · cherry</small></li><li><b>Bays 4 and 5</b><span class=\"fig\">160<small>kg</small></span><small>Tomasz, Ilona · mixed</small></li><li><b>Bay 6</b><span class=\"fig\">4<small>kg</small></span><small>Ilona · basil, last</small></li></ul>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "greenrow-team-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/whatsapp\" alt=\"\">1 waits for you</span></p>\n<ul class=\"asks\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> A heat bonus for the pickers until Sunday, €2 an hour?</p><p class=\"did\">Four pickers, about 30 hours to Sunday: €60.</p></div><span class=\"state warn\">Waits for you</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><div><p class=\"ask\"><b>Marek</b> Kasia can't come Monday. Who covers?</p><p class=\"did\">Piotr from the reserve list said yes: Monday, 6:00 to 12:00.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><div><p class=\"ask\"><b>Joost</b> Nobody in the glass after 13:00 until Sunday.</p><p class=\"did\">On the rota, and told the pickers' group at 07:10.</p></div><span class=\"state ok\">Done</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><div><p class=\"ask\"><b>Anouk</b> How many hours did the pickers do this week?</p><p class=\"did\">142: Marek 38, Kasia 36, Tomasz 36, Ilona 32. In the hours sheet for payroll.</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": "greenrow-team-people",
          "type": "daslab/webview",
          "name": "The people",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.day { margin: 10px 0 2px; font: 500 11.5px/16px var(--brand-mono); color: var(--text-dim); max-width: none; }\n.plan { list-style: none; margin: 0; padding: 0; }\n.plan > li { display: grid; grid-template-columns: 1.6em 1fr auto; align-items: baseline; gap: 8px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 13px; line-height: 18px; }\n.plan > li:last-child { border-bottom: 0; }\n.plan > li > b { font: 600 12px/18px var(--brand-mono); color: var(--text-secondary); }\n.plan > li > span:first-of-type { min-width: 0; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.plan small { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--text-secondary); }\n.plan > li.new { background: color-mix(in oklab, var(--accent) 7%, transparent); animation: row-in .5s ease-out; }\n@keyframes row-in { from { opacity: 0; transform: translateY(-6px); } }\n\n.crew { margin-bottom: 4px; }\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=\"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>The people</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/whatsapp\" alt=\"\">7 on the farm</span></p>\n<ul class=\"crew\"><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-joost.jpg\" alt=\"\"><span><b>Joost</b><small>Grower</small></span><span class=\"state info\">Bay 3</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-anouk.jpg\" alt=\"\"><span><b>Anouk</b><small>Packing, buyers</small></span><span class=\"state ok\">Shed</span></li><li><img src=\"https://daslab.run/marketing/showcase/greenrow/face-marek.jpg\" alt=\"\"><span><b>Marek</b><small>Lead picker</small></span><span class=\"state ok\">Bay 4</span></li></ul>\n<ul class=\"plan\">\n  <li><b>4</b><span>Pickers<small>Marek, Kasia, Tomasz, Ilona</small></span><span class=\"state \">Sat 6:00</span></li>\n  <li><b>2</b><span>Packing<small>Anouk, and Ilona after picking</small></span><span class=\"state \">Till 17:00</span></li>\n  <li><b>1</b><span>Reserve<small>Piotr, for Kasia on Monday</small></span><span class=\"state \">Mon 6:00</span></li>\n</ul>\n<p class=\"caption\">142 picking hours this week · nobody in the glass after 13:00 until Sunday</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        },
        {
          "id": "greenrow-hours",
          "type": "daslab/webview",
          "name": "Hours this week",
          "fields": {
            "html": "<style>.tile { display: flex; flex-direction: column; }\n.tile > * { margin-top: 0; }\n:root[data-cell=\"tile\"] .tile { height: 100vh; overflow: hidden; }\n.tile svg.glyph { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }\n\n.head { display: flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/20px var(--brand-text); color: var(--text-secondary); }\n.head > svg { width: 16px; height: 16px; flex: none; color: var(--text); }\n.head > span:first-of-type { color: var(--text); font-weight: 600; }\n.head > .state { margin-left: auto; }\n\n.reading { margin-top: 10px; font-family: var(--brand-display); font-weight: 600; font-size: 46px; line-height: 52px; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }\n.reading small { margin-left: 2px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading .also { margin-left: 14px; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-secondary); }\n.reading small.word, .figs small.word { margin-left: 0.3em; }\n.sub { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.visual { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-height: 200px; margin-top: 16px; }\n:root[data-cell=\"tile\"] .visual { min-height: 0; }\n.caption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--text-secondary); }\n.caption b { font-weight: 500; color: var(--text); }\n.source { margin-top: 10px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.figs { margin-top: 0; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n.tile .figs dd:first-of-type { font-size: 22px; line-height: 28px; }\n.tile .figs dt { margin-top: 2px; font-size: 12.5px; line-height: 16px; font-weight: 400; color: var(--text-secondary); }\n\n.meter { display: flex; gap: 4px; }\n.meter .seg { flex: var(--w) 1 0; min-width: 0; }\n.meter .seg span { display: block; overflow: hidden; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--text-dim); }\n.meter .seg.now span { color: var(--text); font-weight: 500; }\n.meter .seg i { display: block; height: 10px; margin-top: 6px; border-radius: 5px; background: linear-gradient(to right, var(--accent) calc(var(--f) * 100%), var(--bg-well) 0); }\n.ends { display: flex; justify-content: space-between; margin-top: 6px; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n\n.range { position: relative; height: 10px; border-radius: 5px; background: var(--bg-well); }\n.range .band { position: absolute; top: 0; bottom: 0; border-radius: 5px; background: color-mix(in oklab, var(--ok) 40%, var(--bg-well)); }\n.range b { position: absolute; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 4px solid var(--text); }\n.range-scale { position: relative; height: 16px; margin-top: 8px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.range-scale span { position: absolute; transform: translateX(-50%); }\n.range-scale span:first-child { transform: none; }\n.range-scale span:last-child { transform: translateX(-100%); }\n\n.things { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }\n.things li { position: relative; display: flex; flex-direction: column; min-height: 0; margin: 0; padding: 12px; border-radius: 14px; background: var(--bg-well); }\n.things .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); color: var(--text); }\n.things .ico svg { width: 18px; height: 18px; }\n.things .state { position: absolute; top: 12px; right: 12px; }\n.things h3 { margin-top: auto; font-size: 14px; line-height: 20px; }\n.things p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n\n.cam { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: #111; }\n.cam :is(img, video) { display: block; width: 100%; height: 100%; max-height: none; object-fit: cover; border: 0; border-radius: 0; }\n.cam.live video { animation: none; }\n.cam.live img { animation: cam-drift 18s ease-in-out infinite alternate; transform-origin: 62% 70%; }\n@keyframes cam-drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.09) translate(-1.5%, -1%); } }\n@media (prefers-reduced-motion: reduce) { .cam.live img { animation: none; } }\n.cam .chip { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgb(0 0 0 / .55); color: #fff; font: 500 12px/18px var(--brand-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }\n.cam time { position: absolute; right: 12px; bottom: 10px; font: 500 11.5px/16px var(--brand-mono); color: rgb(255 255 255 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }\n\n.bars { display: flex; align-items: flex-end; gap: 6px; flex: 1; min-height: 0; }\n.bars .col { position: relative; flex: 1; height: 100%; }\n.bars .col i { position: absolute; left: 0; right: 0; bottom: 0; height: var(--h); border-radius: 4px; background: var(--accent); }\n.bars .col i.ghost { left: -2px; right: -2px; background: var(--bg-well); }\n.bars .col.now i:not(.ghost) { opacity: .55; }\n.bar-labels { display: flex; gap: 6px; margin-top: 6px; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.bar-labels span { flex: 1; text-align: center; white-space: nowrap; }\n\n.curve { position: relative; flex: 1; min-height: 0; }\n.curve .plot { position: absolute; inset: 0 40px 0 0; }\n.curve svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }\n.curve .span { fill: var(--warn); opacity: .09; }\n.curve .grid { stroke: var(--border); stroke-width: 1; }\n.curve .target { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 5; }\n.curve .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }\n.curve .dot { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 22%, transparent); }\n.curve .span-label { position: absolute; top: 4px; margin-left: 6px; font: 500 11px/14px var(--brand-mono); color: var(--warn); }\n.curve .grid-label { position: absolute; right: 0; margin-top: -7px; font: 400 11px/14px var(--brand-mono); color: var(--text-dim); }\n.x-labels { position: relative; height: 16px; margin: 6px 40px 0 0; max-width: none; font: 400 11.5px/16px var(--brand-mono); color: var(--text-dim); }\n.x-labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n.x-labels span:first-child { transform: none; }\n.x-labels span:last-child { transform: translateX(-100%); }\n\n.state img.via { width: 14px; height: 14px; margin-right: 5px; border-radius: 3px; vertical-align: -2px; object-fit: contain; border: 0; }\n.state:has(> img.via)::before { display: none; }\n\n.asks, .crew { list-style: none; margin: 10px 0 0; padding: 0; }\n:root[data-cell=\"tile\"] .asks { flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(#000 calc(100% - 28px), transparent); mask-image: linear-gradient(#000 calc(100% - 28px), transparent); }\n.asks li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: start; gap: 10px; margin: 0; padding: 9px 0; border-bottom: 1px solid var(--border); }\n.asks li:last-child { border-bottom: 0; }\n.asks li > img, .crew li > img { width: 30px; height: 30px; margin: 1px 0 0; border: 0; border-radius: 50%; object-fit: cover; }\n.asks p { max-width: none; margin: 0; }\n.asks .ask { font-size: 13px; line-height: 18px; color: var(--text); }\n.asks .ask b { font-weight: 600; }\n.asks .did { margin-top: 2px; font-size: 12.5px; line-height: 17px; color: var(--text-secondary); }\n.asks .state { margin-top: 1px; white-space: nowrap; }\n.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }\n.crew li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin: 0; padding: 7px 0; }\n.crew b { display: block; font-size: 13px; line-height: 17px; font-weight: 600; }\n.crew small { display: block; font-size: 12px; line-height: 16px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.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: 4.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\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"16\" rx=\"2\"/><path d=\"M3 10h18M8 3v4M16 3v4\"/></svg><span>Hours this week</span><span class=\"state ok\"><img class=\"via\" src=\"https://daslab.run/api/logo/v9/google_sheets\" alt=\"\">Hours sheet</span></p>\n<p class=\"reading\">142<small class=\"word\">hours</small></p>\n<p class=\"sub\">Four pickers, week 29 · payroll on the 25th</p>\n<ul class=\"plan\">\n  <li><b>38</b><span>Marek<small>Lead picker · bays 1 and 2</small></span><span class=\"state \"></span></li>\n  <li><b>36</b><span>Kasia<small>Bays 1 and 2</small></span><span class=\"state info\">Off Mon</span></li>\n  <li><b>36</b><span>Tomasz<small>Bays 3 to 5</small></span><span class=\"state \"></span></li>\n  <li><b>32</b><span>Ilona<small>Bay 6, then packing</small></span><span class=\"state \"></span></li>\n  <li><b>+6</b><span>Piotr<small>Reserve · Monday 6:00 to 12:00, for Kasia</small></span><span class=\"state ok\">Said yes</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"
          }
        }
      ]
    }
  ]
}
