{
  "version": 1,
  "id": "scn_showcase_fogo",
  "name": "Fogo Roastery",
  "icon": "cup.and.saucer.fill",
  "tint": "#C8553D",
  "settings": {
    "description": "Roastery and café, Porto"
  },
  "assets": [],
  "scenes": [
    {
      "id": "scn_showcase_fogo_roasting",
      "slug": "roasting",
      "name": "Roasting",
      "icon": "flame.fill",
      "tint": "#C8553D",
      "settings": {
        "description": "Batch 14 on profile · Guji reorder waiting"
      },
      "assets": [
        {
          "id": "fogo-batch",
          "type": "daslab/webview",
          "name": "Roaster",
          "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.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.batch { display: grid; gap: 16px; flex: 1; min-height: 0; grid-template-rows: minmax(150px, 44%) 1fr; }\n.batch .panel { display: flex; flex-direction: column; min-height: 0; }\n.batch .phases { margin-top: 16px; }\n.batch .figs { margin-top: auto; padding-top: 12px; }\n:root[data-cell=\"tile\"] .batch .cam { margin: -16px -16px 0; border-radius: 0; }\n@media (max-width: 719px) { .batch .sub, .batch .ends { display: none; } .batch .reading { margin-top: 6px; } }\n@media (min-width: 720px) {\n  .batch { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: none; gap: 28px; }\n  :root[data-cell=\"tile\"] .batch .cam { margin: -16px 0 -16px -16px; }\n  .batch .reading { margin-top: 16px; font-size: 72px; line-height: 76px; }\n  .batch .phases { margin-top: 28px; }\n  .batch .meter .seg i { height: 12px; }\n}</style>\n<main data-tile=\"own\" class=\"tile\"><div class=\"batch\">\n  <figure class=\"cam live\"><img src=\"https://daslab.run/marketing/showcase/fogo/roast-drum.jpg\" alt=\"Coffee beans pouring out of the drum roaster\"><span class=\"chip\">Drum camera</span><time data-live-clock=\"11:39:12\">11:39:12</time></figure>\n  <div class=\"panel\">\n    <p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M12 22c4 0 7-3 7-7 0-4-3-6-3-9 0 2-3 4-5 4 0-2 1-4 1-6-3 2-6 5-6 11 0 4 3 7 6 7z\"/></svg><span>Roaster</span><span class=\"state ok\">Roasting</span></p>\n    <p class=\"reading\">9:12<small class=\"word\">of 12:00</small></p>\n    <p class=\"sub\">Batch 14 · Guji, natural · 12 kg</p>\n    <div class=\"phases\"><div class=\"meter\"><div class=\"seg\" style=\"--w:5;--f:1.000\"><span>Drying</span><i></i></div><div class=\"seg\" style=\"--w:4;--f:1.000\"><span>Browning</span><i></i></div><div class=\"seg now\" style=\"--w:3;--f:0.067\"><span>Development</span><i></i></div></div><p class=\"ends\"><span>0:00</span><span>Drop 12:00</span></p></div>\n    <dl class=\"stats figs\"><div><dt>Bean temp</dt><dd>197<small>°C</small></dd></div><div><dt>First crack</dt><dd>9:00</dd></div><div><dt>Today</dt><dd>14<small class=\"word\">of 17</small></dd></div></dl>\n  </div>\n</div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 0,
            "size": "xlarge"
          }
        },
        {
          "id": "fogo-curve",
          "type": "daslab/webview",
          "name": "Bean temp",
          "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.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 3v18h18\"/><path d=\"M6.5 15l4-4 3 3 6-7\"/></svg><span>Bean temp</span><span class=\"state ok\">On profile</span></p>\n<p class=\"reading\">197<small>°C</small><span class=\"also\">+10°/min</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=\"750\" y=\"0\" width=\"250\" height=\"400\"/>\n    <line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"344.82758620689657\" y2=\"344.82758620689657\" vector-effect=\"non-scaling-stroke\"/><line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"206.89655172413794\" y2=\"206.89655172413794\" vector-effect=\"non-scaling-stroke\"/><line class=\"grid\" x1=\"0\" x2=\"1000\" y1=\"68.9655172413793\" y2=\"68.9655172413793\" vector-effect=\"non-scaling-stroke\"/>\n    <polyline class=\"target\" points=\"0.0,60.7 41.7,201.4 83.3,317.2 125.0,358.6 166.7,350.3 250.0,303.4 333.3,256.6 416.7,212.4 500.0,176.6 583.3,140.7 666.7,110.3 750.0,82.8 833.3,63.4 916.7,49.7 1000.0,38.6\" vector-effect=\"non-scaling-stroke\"/>\n    <polyline class=\"line\" points=\"0.0,66.2 41.7,206.9 83.3,320.0 125.0,361.4 166.7,353.1 250.0,306.2 333.3,259.3 416.7,215.2 500.0,176.6 583.3,140.7 666.7,110.3 750.0,82.8 766.7,77.2\" vector-effect=\"non-scaling-stroke\"/>\n  </svg>\n  <span class=\"span-label\" style=\"left:75.00%\">Development</span>\n  <b class=\"dot\" style=\"left:76.67%;top:19.31%\"></b>\n</div>\n  <span class=\"grid-label\" style=\"top:86.21%\">100°</span><span class=\"grid-label\" style=\"top:51.72%\">150°</span><span class=\"grid-label\" style=\"top:17.24%\">200°</span>\n</div>\n<p class=\"x-labels\"><span style=\"left:0.00%\">0:00</span><span style=\"left:50.00%\">6:00</span><span style=\"left:100.00%\">12:00</span></p></div>\n<p class=\"caption\">First crack at <b>9:00</b> · profile dashed</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": 1,
            "size": "large"
          }
        },
        {
          "id": "fogo-machines",
          "type": "daslab/webview",
          "name": "Machines",
          "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.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"5\" y=\"5\" width=\"14\" height=\"14\" rx=\"2\"/><rect x=\"9\" y=\"9\" width=\"6\" height=\"6\"/><path d=\"M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3\"/></svg><span>Machines</span><span class=\"state ok\">All online</span></p>\n<div class=\"visual\"><ul class=\"things\"><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"5\" y=\"5\" width=\"14\" height=\"14\" rx=\"2\"/><rect x=\"9\" y=\"9\" width=\"6\" height=\"6\"/><path d=\"M9 2v3M15 2v3M9 19v3M15 19v3M2 9h3M2 15h3M19 9h3M19 15h3\"/></svg></span><span class=\"state ok\">On</span><h3>Raspberry Pi</h3><p>Roaster probe · 197°C</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"6\" width=\"13\" height=\"12\" rx=\"2\"/><path d=\"M16 10l5-3v10l-5-3\"/></svg></span><span class=\"state ok\">On</span><h3>NVIDIA Jetson</h3><p>Drum camera · 30 fps</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M7 8V3h10v5\"/><rect x=\"3\" y=\"8\" width=\"18\" height=\"9\" rx=\"2\"/><path d=\"M7 14h10v7H7z\"/></svg></span><span class=\"state ok\">On</span><h3>Mac mini</h3><p>Label printer · 38 today</p></li><li><span class=\"ico\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><rect x=\"3\" y=\"5\" width=\"18\" height=\"13\" rx=\"2\"/><path d=\"M8 21h8M12 18v3\"/></svg></span><span class=\"state ok\">On</span><h3>Windows PC</h3><p>Packing scale · 12.0 kg</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": 2,
            "size": "large"
          }
        },
        {
          "id": "fogo-reorder",
          "type": "daslab/webview",
          "name": "Guji reorder",
          "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.actions { display: flex; gap: 8px; max-width: none; }\n.actions button { flex: 1; min-height: 40px; border-radius: 10px; font-weight: 600; }\n\n\n.item { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px; border-radius: 14px; background: var(--bg-well); }\n.item img { width: 52px; height: 52px; flex: none; margin: 0; object-fit: cover; border: 0; border-radius: 10px; }\n.item div { flex: 1; min-width: 0; }\n.item h3 { font-size: 14px; line-height: 20px; }\n.item p { margin: 0; font-size: 12.5px; line-height: 16px; color: var(--text-secondary); }\n.item b { font: 600 15px/20px var(--brand-text); }\n.end { margin-top: auto; padding-top: 12px; }</style>\n<main data-tile=\"own\" class=\"tile\"><p class=\"head\"><svg class=\"glyph\" viewBox=\"0 0 24 24\" aria-hidden=\"true\"><path d=\"M3 4h2l2.5 12h11l2-9H6\"/><circle cx=\"9\" cy=\"20\" r=\"1.5\"/><circle cx=\"18\" cy=\"20\" r=\"1.5\"/></svg><span>Reorder</span><span class=\"state warn\">Waits for you</span></p>\n<p class=\"reading\">€1,296</p>\n<p class=\"sub\">3 sacks · 180 kg · Origo Green Coffee</p>\n<div class=\"item\"><img src=\"https://daslab.run/marketing/showcase/fogo/roast-sacks.jpg\" alt=\"Jute sacks of green coffee\"><div><h3>Ethiopia Guji, natural</h3><p>60 kg sack · €7.20 per kg</p></div><b>×3</b></div>\n<p class=\"caption\"><b>2 sacks left</b> · runs out Thursday</p>\n<div class=\"end\"><p class=\"actions\"><button type=\"button\">Not now</button><button type=\"button\" class=\"primary\">Approve</button></p><p class=\"source\">Filled in at origo-green-coffee.example</p></div></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 3,
            "size": "large"
          }
        },
        {
          "id": "fogo-store",
          "type": "daslab/webview",
          "name": "Green store",
          "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.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.history { display: flex; flex-direction: column; flex: 1; min-height: 0; margin-top: 20px; }\n.history .bars { gap: 3px; }\n.history .col i { background: var(--border); }\n.history .col.now i:not(.ghost) { opacity: 1; background: var(--accent); }\n.history .bar-labels { gap: 3px; }\n.history .bar-labels span { overflow: visible; }</style>\n<main data-tile=\"own\" class=\"tile\"><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>Green store</span><span class=\"state ok\">In range</span></p>\n<p class=\"reading\">58<small>%</small><span class=\"also\">19°C</span></p>\n<div class=\"visual\">\n  <div class=\"range\"><i class=\"band\" style=\"left:28.6%;right:calc(100% - 71.4%)\"></i><b style=\"left:51.4%\"></b></div>\n<p class=\"range-scale\"><span style=\"left:0\">40%</span><span style=\"left:28.6%\">50</span><span style=\"left:71.4%\">65</span><span style=\"left:100%\">75%</span></p>\n  <div class=\"history\"><div class=\"bars\"><div class=\"col\"><i style=\"--h:64.7%\"></i></div><div class=\"col\"><i style=\"--h:70.6%\"></i></div><div class=\"col\"><i style=\"--h:70.6%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col\"><i style=\"--h:82.4%\"></i></div><div class=\"col\"><i style=\"--h:88.2%\"></i></div><div class=\"col\"><i style=\"--h:94.1%\"></i></div><div class=\"col\"><i style=\"--h:88.2%\"></i></div><div class=\"col\"><i style=\"--h:82.4%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col\"><i style=\"--h:70.6%\"></i></div><div class=\"col\"><i style=\"--h:64.7%\"></i></div><div class=\"col\"><i style=\"--h:58.8%\"></i></div><div class=\"col\"><i style=\"--h:52.9%\"></i></div><div class=\"col\"><i style=\"--h:58.8%\"></i></div><div class=\"col\"><i style=\"--h:64.7%\"></i></div><div class=\"col\"><i style=\"--h:70.6%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col\"><i style=\"--h:82.4%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col\"><i style=\"--h:70.6%\"></i></div><div class=\"col\"><i style=\"--h:76.5%\"></i></div><div class=\"col now\"><i style=\"--h:76.5%\"></i></div></div><p class=\"bar-labels\"><span>-24h</span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span>-12h</span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span>Now</span></p></div>\n</div>\n<p class=\"caption\">54–61% over the last 24 hours</p></main><script>(function(){\nif(!window.__DASLAB_REPLAY__)return;\nvar at=0,playing=false,speed=1,since=0;\nfunction lerp(k,s){if(s<=k[0][0])return k[0][1];for(var i=1;i<k.length;i++){if(s<=k[i][0]){var a=k[i-1],b=k[i];return a[1]+(b[1]-a[1])*(s-a[0])/(b[0]-a[0]);}}return k[k.length-1][1];}\nfunction step(k,s){var v=k[0][1];for(var i=0;i<k.length;i++){if(s>=k[i][0])v=k[i][1];}return v;}\nfunction hms(x){x=Math.floor(x);var h=Math.floor(x/3600)%24,m=Math.floor(x/60)%60,c=x%60;return(h<10?\"0\":\"\")+h+\":\"+(m<10?\"0\":\"\")+m+\":\"+(c<10?\"0\":\"\")+c;}\nfunction ms(x){x=Math.floor(x);return Math.floor(x/60)+\":\"+(x%60<10?\"0\":\"\")+(x%60);}\nfunction secs(t){var p=t.split(\":\").map(Number);return p[0]*3600+p[1]*60+(p[2]||0);}\nfunction J(el,a){var c=el.__k||(el.__k={});return c[a]||(c[a]=JSON.parse(el.getAttribute(a)));}\nfunction draw(s){\ndocument.querySelectorAll(\"[data-live-clock]\").forEach(function(el){el.textContent=hms(secs(el.getAttribute(\"data-live-clock\"))+s);});\ndocument.querySelectorAll(\"[data-live-timer]\").forEach(function(el){el.textContent=ms(Number(el.getAttribute(\"data-live-timer\"))+s);});\ndocument.querySelectorAll(\"[data-live-num]\").forEach(function(el){el.textContent=lerp(J(el,\"data-live-num\"),s).toFixed(Number(el.getAttribute(\"data-digits\")||0));});\ndocument.querySelectorAll(\"[data-live-text]\").forEach(function(el){el.textContent=step(J(el,\"data-live-text\"),s);});\ndocument.querySelectorAll(\"[data-live-class]\").forEach(function(el){el.setAttribute(\"class\",step(J(el,\"data-live-class\"),s));});\ndocument.querySelectorAll(\"[data-live-var]\").forEach(function(el){el.style.setProperty(el.getAttribute(\"data-live-var\"),lerp(J(el,\"data-live-keys\"),s));});\ndocument.querySelectorAll(\"[data-live-show]\").forEach(function(el){var w=J(el,\"data-live-show\");el.hidden=!(s>=w[0]&&s<w[1]);});\n}\nfunction tick(){draw(at+(playing?(performance.now()-since)/1000*speed:0));requestAnimationFrame(tick);}\naddEventListener(\"message\",function(e){var d=e.data;if(e.source!==parent||!d||d.type!==\"daslab:replay-clock\")return;at=Math.max(0,Number(d.elapsed)||0)/1000;playing=!!d.playing;speed=Number(d.speed)||1;since=performance.now();});\ndraw(0);requestAnimationFrame(tick);\n})();</script>",
            "style": "house"
          },
          "layout": {
            "sortOrder": 4,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_fogo_cafe",
      "slug": "cafe",
      "name": "Café",
      "icon": "cup.and.saucer",
      "tint": "#8E5A3C",
      "settings": {
        "description": "142 drinks by 11:40 · 6 wholesale orders"
      },
      "assets": [
        {
          "id": "fogo-today",
          "type": "daslab/webview",
          "name": "Café 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.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 { display: flex; flex-direction: column; flex: 1; min-height: 0; }\n.day .bars { gap: 10px; }\n.day .bar-labels { gap: 10px; }\n.day .panel { display: flex; flex-direction: column; }\n.day .figs { margin-top: 14px; }\n.day .legend { display: flex; gap: 16px; margin-top: 10px; max-width: none; font-size: 12px; line-height: 16px; color: var(--text-secondary); }\n.day .legend span::before { content: \"\"; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }\n.day .legend .today::before { background: var(--accent); }\n.day .legend .last::before { background: var(--bg-well); }\n@media (max-width: 719px) { .day .figs { display: none; } }\n@media (min-width: 720px) {\n  .day { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }\n  .day .panel .figs { margin-top: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }\n  .day .visual { margin-top: 12px; }\n  .day .reading { font-size: 56px; line-height: 60px; }\n}</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>Café today</span><span class=\"state ok\">Open</span></p>\n<div class=\"day\">\n  <div class=\"panel\">\n    <p class=\"reading\">142<small class=\"word\">drinks</small></p>\n    <p class=\"sub\">+24 on last Saturday by now</p>\n    <dl class=\"stats figs\"><div><dt>Sales</dt><dd>€806</dd></div><div><dt>Bags sold</dt><dd>16</dd></div><div><dt>Busiest</dt><dd>10–11</dd></div></dl>\n  </div>\n  <div class=\"visual\"><div class=\"bars\"><div class=\"col\"><i class=\"ghost\" style=\"--h:36.0%\"></i><i style=\"--h:42.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:68.0%\"></i><i style=\"--h:78.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:82.0%\"></i><i style=\"--h:94.0%\"></i></div><div class=\"col now\"><i class=\"ghost\" style=\"--h:76.0%\"></i><i style=\"--h:70.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:60.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:52.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:48.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:54.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:44.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:30.0%\"></i></div><div class=\"col\"><i class=\"ghost\" style=\"--h:16.0%\"></i></div></div><p class=\"bar-labels\"><span>8</span><span></span><span>10</span><span></span><span>12</span><span></span><span>14</span><span></span><span>16</span><span></span><span>18</span></p>\n    <p class=\"legend\"><span class=\"today\">Today</span><span class=\"last\">Last Saturday</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": "fogo-wholesale",
          "type": "daslab/table",
          "name": "Wholesale orders",
          "fields": {
            "columns": [
              {
                "id": "cafe",
                "name": "Café",
                "type": "text"
              },
              {
                "id": "coffee",
                "name": "Coffee",
                "type": "text"
              },
              {
                "id": "kg",
                "name": "Kg",
                "type": "number"
              },
              {
                "id": "roast",
                "name": "Roast on",
                "type": "text"
              },
              {
                "id": "status",
                "name": "Status",
                "type": "text"
              }
            ],
            "rows": [
              {
                "cafe": "Casa Ribeira",
                "coffee": "House blend",
                "kg": 12,
                "roast": "Monday",
                "status": "Confirmed"
              },
              {
                "cafe": "Miradouro",
                "coffee": "Guji, natural",
                "kg": 6,
                "roast": "Monday",
                "status": "Confirmed"
              },
              {
                "cafe": "Bica & Co.",
                "coffee": "House blend",
                "kg": 10,
                "roast": "Tuesday",
                "status": "Confirmed"
              },
              {
                "cafe": "Leme",
                "coffee": "Huila, washed",
                "kg": 5,
                "roast": "Tuesday",
                "status": "New today"
              },
              {
                "cafe": "Pátio 7",
                "coffee": "Decaf",
                "kg": 3,
                "roast": "Wednesday",
                "status": "New today"
              },
              {
                "cafe": "Foz Bakery",
                "coffee": "House blend",
                "kg": 8,
                "roast": "Wednesday",
                "status": "Asked about price"
              }
            ]
          },
          "layout": {
            "sortOrder": 1,
            "size": "large"
          }
        },
        {
          "id": "fogo-brief",
          "type": "daslab/note",
          "name": "Morning brief",
          "fields": {
            "content": "**Saturday, 8:00.** Yesterday the café sold 131 drinks and 7 kg of beans, the best Friday this month. Six wholesale orders came in overnight; two are new (Leme, Pátio 7) and are on Monday's roast plan. Guji is down to two sacks: the reorder for three more is filled in on Origo's site and waits for your yes. The green store held 54 to 61% all night."
          },
          "layout": {
            "sortOrder": 2,
            "size": "large"
          }
        }
      ]
    },
    {
      "id": "scn_showcase_fogo_green",
      "slug": "green",
      "name": "Green coffee",
      "icon": "leaf.fill",
      "tint": "#5B8C51",
      "settings": {
        "description": "Four lots in the store. Guji runs out Thursday."
      },
      "assets": []
    },
    {
      "id": "scn_showcase_fogo_shop",
      "slug": "shop",
      "name": "Shop",
      "icon": "bag.fill",
      "tint": "#B07D48",
      "settings": {
        "description": "38 bags sold online this week."
      },
      "assets": []
    },
    {
      "id": "scn_showcase_fogo_brief",
      "slug": "brief",
      "name": "Morning brief",
      "icon": "sun.max.fill",
      "tint": "#E0A23B",
      "settings": {
        "description": "Posted to #roastery every day at 8:00."
      },
      "assets": []
    }
  ]
}
