/* Floor-1 view — hand-drawn style: drawing-paper ground, 2B pencil lines, airy watercolor washes */
#f1view{--char:#3f4650;--char2:#5b6470;--ink:#3f3a36;--sage:#8fae86;--sage-d:#5f7f63;--blue:#6e8496;--cream:#efe1c6;--peach:#d9a17f}
#f1view{position:fixed;inset:0;z-index:100;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;
  background:#f6eee0 url(paper.jpg) repeat;background-size:512px;color:var(--ink);font-family:'Mali',system-ui,sans-serif;
  opacity:0;visibility:hidden;transform:translateY(26px) scale(.985);transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.25,1),visibility 0s linear .7s}
#f1view.open{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease,transform .7s cubic-bezier(.2,.8,.25,1),visibility 0s}
#f1view *{box-sizing:border-box}
#f1view .f1-wrap{max-width:1080px;margin:0 auto;padding:0 22px 80px}
/* sticky top bar */
#f1view .f1-top{position:sticky;top:0;z-index:5;background:rgba(246,238,224,.92);backdrop-filter:blur(2px);padding:10px 0 8px}
#f1view .f1-top .row{max-width:1080px;margin:0 auto;padding:0 22px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#f1view .f1-top h1{margin:0 6px 0 4px;font-size:clamp(17px,2.4vw,22px);color:#6a4f3c;font-weight:700}
#f1view .f1-nav{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
#f1view .f1-top .rule{max-width:1080px;margin:6px auto 0;padding:0 22px;height:8px}
/* pencil-bordered thing: svg is injected by JS */
#f1view .sk{position:relative;isolation:isolate}
#f1view .sk>svg.pencil{position:absolute;left:-4px;top:-4px;pointer-events:none;overflow:visible;z-index:2}
#f1view .wash{background-repeat:no-repeat;background-size:100% 100%}
#f1view .w-green{background-image:url(wash_green_10.png)} #f1view .w-cream{background-image:url(wash_cream_11.png)}
#f1view .w-blue{background-image:url(wash_blue_12.png)} #f1view .w-peach{background-image:url(wash_peach_13.png)}
#f1view .w-green2{background-image:url(wash_green_20.png)} #f1view .w-cream2{background-image:url(wash_cream_21.png)}
#f1view .w-blue2{background-image:url(wash_blue_22.png)} #f1view .w-peach2{background-image:url(wash_peach_23.png)}
#f1view .w-band-g{background-image:url(wash_green_31.png)} #f1view .w-band-b{background-image:url(wash_blue_32.png)} #f1view .w-band-c{background-image:url(wash_cream_33.png)}
/* soft pencil buttons */
#f1view .pbtn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:0;background:transparent;font:inherit;font-size:14px;font-weight:600;
  color:var(--ink);text-decoration:none;cursor:pointer;border-radius:12px;transition:transform .2s}
#f1view .pbtn:hover{transform:translateY(-1px) rotate(-.4deg)}
#f1view .pbtn.small{font-size:12.5px;padding:5px 11px}
#f1view .pbtn.on{font-weight:700}
#f1view .pbtn .ar{opacity:.65}
/* sections */
#f1view .f1-sec{margin:44px 0 0;scroll-margin-top:70px}
#f1view .f1-h2{display:flex;align-items:baseline;gap:10px;margin:0 0 4px;font-size:clamp(22px,3vw,30px);color:#5a4434;font-weight:700}
#f1view .f1-h2 .num{font-size:.6em;color:var(--sage-d);font-weight:600}
#f1view .f1-sub{margin:0 0 14px;opacity:.75;font-size:14.5px;line-height:1.6}
#f1view .f1-h3{font-size:18px;margin:26px 0 8px;color:#5a4434}
#f1view .divider{height:12px;margin:30px 0 0}
#f1view .tag{display:inline-block;font-size:11px;padding:1px 8px 2px;border-radius:9px;margin-left:5px;vertical-align:2px;font-weight:500;white-space:nowrap;
  background:rgba(232,206,160,.55);color:#6a4f3c;border:1px dashed rgba(63,70,80,.45)}
#f1view .tag.temp{background:rgba(217,161,127,.32);color:#8a4c33}
#f1view .tag.rec{background:rgba(143,174,134,.35);color:#3f5e44}
#f1view .tag.spicy{background:rgba(217,120,100,.2);color:#9a4a3a}
#f1view .tag.ex{background:rgba(110,132,150,.18);color:#4a5a6a}
/* hero */
#f1view .f1-hero{display:grid;grid-template-columns:1.6fr 1fr;gap:26px;align-items:center;margin-top:18px}
#f1view .f1-hero .pic{padding:10px}
#f1view .f1-hero .pic img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
#f1view .f1-hero .intro{padding:26px 24px}
#f1view .f1-hero .intro p{line-height:1.7;margin:0 0 10px;font-size:15px}
#f1view .f1-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
/* menu */
#f1view .f1-menu{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;align-items:start}
#f1view .mcat{margin:0 0 26px;padding:22px 22px 14px}
#f1view .mcat h3{margin:0 0 2px;font-size:20px;color:#5a4434}
#f1view .mcat .en{font-size:12.5px;opacity:.6;margin-bottom:8px}
#f1view .mi{padding:8px 0 9px;position:relative}
#f1view .mi+.mi{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='4' preserveAspectRatio='none'><path d='M0 2 Q 40 1 80 2.3 T 160 1.8 T 240 2.4 T 300 1.7' stroke='%233f4650' stroke-opacity='.35' stroke-width='.9' fill='none'/></svg>") top/100% 4px no-repeat}
#f1view .mi .l1{display:flex;align-items:baseline;gap:8px}
#f1view .mi .th{font-weight:600;font-size:15.5px}
#f1view .mi .dots{flex:1;border-bottom:1.5px dotted rgba(63,70,80,.4);transform:translateY(-4px);min-width:16px}
#f1view .mi .price{font-weight:700;font-size:16px;color:#5a4434;white-space:nowrap}
#f1view .mi .enn{font-size:13px;opacity:.75}
#f1view .mi .desc{font-size:12.5px;opacity:.62;line-height:1.5;margin-top:2px}
#f1view .extras{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}
#f1view .extras .mi{padding:5px 0}
#f1view .extras .mi .th{font-size:14px;font-weight:500}
#f1view .menu-note{font-size:12.5px;opacity:.7;margin:-6px 0 18px}
/* pitch cards */
#f1view .card{padding:22px 22px 18px;margin:0 0 18px;background-color:transparent;border-radius:0;font-size:inherit}
#f1view .card b{display:inline;font-size:inherit}
#f1view .grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}
#f1view .grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
#f1view .big{font-size:clamp(26px,3.6vw,36px);font-weight:700;color:#4c3a2e;line-height:1.15}
#f1view .lbl2{font-size:13px;opacity:.72}
#f1view .note{font-size:12px;opacity:.66;line-height:1.55;margin-top:8px}
#f1view .sample{display:inline-block;font-size:11.5px;color:#8a4c33;border:1px dashed rgba(138,76,51,.55);border-radius:9px;padding:1px 9px;background:rgba(217,161,127,.18)}
#f1view .rules li,#f1view .handlist li{list-style:none;position:relative;padding:4px 0 4px 28px;line-height:1.55;font-size:14.5px}
#f1view .rules,#f1view .handlist{margin:6px 0;padding:0}
#f1view .rules li svg,#f1view .handlist li svg{position:absolute;left:0;top:6px}
/* cost bars */
#f1view .crow{display:grid;grid-template-columns:minmax(150px,1.2fr) 2fr auto;gap:12px;align-items:center;margin:9px 0}
#f1view .crow .nm{font-size:14px}
#f1view .wbar{height:20px;position:relative}
#f1view .wbar>i{position:absolute;left:0;top:0;bottom:0;display:block;background-size:100% 100%;background-repeat:no-repeat;transition:width .5s ease}
#f1view .crow .v{font-weight:600;font-size:14px;white-space:nowrap}
#f1view .equip{display:grid;grid-template-columns:1fr 1fr;gap:4px 22px}
#f1view .equip li{font-size:14px}
#f1view .equip li b{font-weight:600;float:right;opacity:.85}
/* process flow */
#f1view .flow{display:flex;align-items:flex-start;justify-content:space-between;gap:4px;margin:10px 0 6px}
#f1view .fnode{flex:1;text-align:center;min-width:0}
#f1view .fnode .ic{width:92px;height:92px;margin:0 auto 6px;position:relative;display:grid;place-items:center;background-size:100% 100%}
#f1view .fnode .ic svg{width:58px;height:58px}
#f1view .fnode b{display:block;font-size:15px}
#f1view .fnode span{display:block;font-size:12px;opacity:.68;line-height:1.4;padding:0 4px}
#f1view .farrow{flex:0 0 64px;text-align:center;padding-top:28px}
#f1view .farrow svg{width:64px;height:30px}
#f1view .farrow small{display:block;font-size:11px;opacity:.6;margin-top:-2px}
/* sliders */
#f1view .sl{margin:14px 0 6px}
#f1view .sl .top{display:flex;justify-content:space-between;align-items:baseline;font-size:14px}
#f1view .sl .top b{font-size:18px;color:#4c3a2e}
#f1view input.pencil{-webkit-appearance:none;appearance:none;width:100%;height:26px;background:transparent;cursor:pointer;margin:2px 0 0}
#f1view input.pencil::-webkit-slider-runnable-track{height:10px;background:var(--track) center/100% 10px no-repeat}
#f1view input.pencil::-moz-range-track{height:10px;background:var(--track) center/100% 10px no-repeat}
#f1view input.pencil::-webkit-slider-thumb{-webkit-appearance:none;width:24px;height:24px;margin-top:-7px;border-radius:47% 53% 50% 46%;
  background:radial-gradient(circle at 40% 38%,rgba(255,255,255,.5),rgba(143,174,134,.85) 55%,rgba(95,127,99,.9));border:1.6px solid rgba(63,70,80,.8)}
#f1view input.pencil::-moz-range-thumb{width:22px;height:22px;border-radius:47% 53% 50% 46%;background:radial-gradient(circle at 40% 38%,rgba(255,255,255,.5),rgba(143,174,134,.85) 55%,rgba(95,127,99,.9));border:1.6px solid rgba(63,70,80,.8)}
#f1view .seg{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 6px}
/* P&L */
#f1view .pl{width:100%;border-collapse:collapse;font-size:14px}
#f1view .pl td{padding:7px 4px;vertical-align:middle}
#f1view .pl td.n{text-align:right;white-space:nowrap;font-weight:600}
#f1view .pl td.p{text-align:right;opacity:.65;font-size:12.5px;width:56px}
#f1view .pl td.b{width:34%}
#f1view .pl tr+tr td{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='4' preserveAspectRatio='none'><path d='M0 2 Q 50 1.2 100 2.2 T 200 1.6 T 300 2.2' stroke='%233f4650' stroke-opacity='.28' stroke-width='.8' fill='none'/></svg>") top/100% 3px no-repeat}
#f1view .pl tr.net td{font-size:16px;font-weight:700;color:#3f5e44}
#f1view .pl tr.net.neg td{color:#9a4a3a}
#f1view .status{margin-top:10px;font-size:13.5px;padding:10px 14px}
/* scenario chart */
#f1view .schart{position:relative;height:240px;margin:6px 0 0}
#f1view .schart .plot{position:absolute;left:0;right:0;top:26px;bottom:26px}
#f1view .schart .zero{position:absolute;left:0;right:0;height:12px}
#f1view .sc{position:absolute;top:0;bottom:0;width:26%}
#f1view .sc .barw{position:absolute;left:18%;width:64%}
#f1view .sc .val{position:absolute;left:0;right:0;text-align:center;font-size:13.5px;font-weight:700;white-space:nowrap}
#f1view .slabels{position:relative;height:22px;font-weight:700;font-size:14px;margin-top:2px}
#f1view .slabels span{position:absolute;top:0;width:26%;text-align:center}
#f1view .slabels span:nth-child(1){left:4%}#f1view .slabels span:nth-child(2){left:39%}#f1view .slabels span:nth-child(3){left:74%}
#f1view .stable{width:100%;border-collapse:collapse;font-size:13.5px;margin-top:40px}
#f1view .stable th,#f1view .stable td{padding:7px 6px;text-align:right}
#f1view .stable th:first-child,#f1view .stable td:first-child{text-align:left;opacity:.8}
#f1view .stable tr+tr td{background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='4' preserveAspectRatio='none'><path d='M0 2 Q 50 1.2 100 2.2 T 200 1.6 T 300 2.2' stroke='%233f4650' stroke-opacity='.28' stroke-width='.8' fill='none'/></svg>") top/100% 3px no-repeat}
#f1view .pos{color:#3f5e44}#f1view .neg{color:#9a4a3a}
#f1view .foot{margin-top:46px;text-align:center;font-size:13px;opacity:.7}
@media (max-width:760px){
  #f1view .f1-wrap{padding:0 14px 60px}
  #f1view .f1-top .row{padding:0 14px;gap:6px}
  #f1view .f1-top .rule{padding:0 14px}
  #f1view .f1-nav{margin-left:0;width:100%}
  #f1view .f1-hero{grid-template-columns:1fr;gap:6px;margin-top:8px}
  #f1view .f1-hero .intro{padding:18px 16px}
  #f1view .f1-sec{margin-top:30px}
  #f1view .mcat{padding:18px 16px 10px}
  #f1view .grid2,#f1view .grid3{grid-template-columns:1fr;gap:12px}
  #f1view .card{padding:18px 16px 14px}
  #f1view .crow{grid-template-columns:1fr auto;gap:2px 10px}
  #f1view .crow .wbar{grid-column:1/3;grid-row:2}
  #f1view .equip{grid-template-columns:1fr}
  #f1view .extras{grid-template-columns:1fr 1fr}
  #f1view .flow{flex-direction:column;align-items:stretch;gap:0}
  #f1view .fnode{display:grid;grid-template-columns:76px 1fr;text-align:left;align-items:center;gap:10px}
  #f1view .fnode .ic{width:72px;height:72px;margin:0}
  #f1view .fnode .ic svg{width:44px;height:44px}
  #f1view .farrow{flex:0 0 auto;padding:0 0 0 22px;text-align:left;display:flex;align-items:center;gap:6px}
  #f1view .farrow svg{width:30px;height:34px;transform:rotate(90deg)}
  #f1view .schart{height:210px}
  #f1view .f1-menu{grid-template-columns:1fr}
}

/* ================= v5: no watercolor behind text — clean paper + pencil lines only ================= */
#f1view .wash:not(.barw){background-image:none!important}
#f1view .card,#f1view .f1-hero .intro{background-color:rgba(255,253,248,.55)}
#f1view .status{background-color:rgba(255,253,248,.7)}
#f1view .fnode .ic{background:none}
/* menu pages, laid out like the printed menu */
#f1view .f1-menu{display:block;max-width:820px;margin:0 auto}
#f1view .mpage{background:#fffdf9;padding:38px 44px 34px;margin:0 0 34px;scroll-margin-top:70px}
#f1view .mtitle{margin:0;text-align:right;font-size:clamp(30px,5.4vw,52px);line-height:1.08;letter-spacing:.14em;font-weight:600;color:#2f3338;text-transform:uppercase}
#f1view .mth{text-align:right;font-size:14px;opacity:.55;margin:4px 2px 18px;letter-spacing:.05em}
#f1view .zz{display:grid;grid-template-columns:42% 1fr;gap:4px 26px;align-items:center;margin:8px 0 14px}
#f1view .zz.r{grid-template-columns:1fr 42%}
#f1view .zz.r .dpic{order:2}
#f1view .zz.l .ztxt{padding-left:4px}
#f1view .zz.r .ztxt{padding-left:12%}
#f1view .dpic{position:relative;aspect-ratio:3/2}
#f1view .dpic img{width:100%;height:100%;object-fit:contain;display:block;mix-blend-mode:multiply}
#f1view .dpic .plate{width:100%;height:100%;display:block}
#f1view .zen{font-weight:700;font-size:clamp(17px,2.3vw,23px);line-height:1.18;color:#2f3338;max-width:15em}
#f1view .zth{display:flex;align-items:baseline;gap:22px;margin:5px 0 3px;font-size:15px}
#f1view .zth b{font-size:17px;font-weight:600;color:#2f3338;white-space:nowrap}
#f1view .zdesc{font-size:12.5px;line-height:1.5;opacity:.78;max-width:30em}
#f1view .zen .tag{font-size:10.5px;font-weight:500;vertical-align:4px}
#f1view svg.bike{display:block;width:36px;height:22px;margin:0 0 3px}
#f1view svg.chili{display:inline-block;width:20px;height:20px;vertical-align:-3px;margin-left:6px}
/* sandwich groups: one picture + text-only items in a 2-col grid + shared description */
#f1view .swg{display:grid;grid-template-columns:38% 1fr;gap:16px 26px;align-items:center;margin:6px 0 26px}
#f1view .swg.r{grid-template-columns:1fr 38%}
#f1view .swg.r .dpic{order:2}
#f1view .swgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px 22px}
#f1view .sw .zen{font-size:clamp(15px,1.9vw,19px)}
#f1view .sw .zth{margin:3px 0 0;font-size:13.5px}
#f1view .sw .swp{font-size:15.5px;font-weight:600;color:#2f3338}
#f1view .zdesc.shared{margin-top:16px;font-size:13px;max-width:none}
#f1view .zdesc.shared b{opacity:1;color:#2f3338}
/* add extra */
#f1view .extra{margin-top:22px;padding-top:14px;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='4' preserveAspectRatio='none'><path d='M0 2 Q 40 1 80 2.3 T 160 1.8 T 240 2.4 T 300 1.7' stroke='%233f4650' stroke-opacity='.45' stroke-width='1' fill='none'/></svg>") top/100% 4px no-repeat}
#f1view .extra h4{margin:0 0 8px;font-size:19px;color:#2f3338}
#f1view .extra h4 i{font-weight:400;font-size:15px}
#f1view .extra h4 span{font-weight:400;font-size:12.5px;opacity:.55;margin-left:6px}
#f1view .exgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px 26px;font-size:13.5px}
#f1view .excol>div{display:flex;justify-content:space-between;gap:8px;padding:1px 0}
#f1view .exgrid b{font-weight:600}
#f1view .recfoot{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:14px;font-size:13px}
#f1view .recfoot svg.bike{margin:0}
#f1view .recfoot b{letter-spacing:.06em}
@media (max-width:760px){
  #f1view .mpage{padding:26px 18px 22px;margin:0 0 24px}
  #f1view .mth{margin-bottom:12px}
  #f1view .zz,#f1view .zz.r{grid-template-columns:40% 1fr;gap:4px 14px}
  #f1view .zz.r{grid-template-columns:1fr 40%}
  #f1view .zz.r .ztxt{padding-left:0}
  #f1view .zth{gap:10px;font-size:13.5px}
  #f1view .zth span{min-width:0}
  #f1view .zdesc{font-size:12px}
  #f1view .swg,#f1view .swg.r{grid-template-columns:1fr;gap:8px}
  #f1view .swg .dpic,#f1view .swg.r .dpic{order:0;width:62%;margin:0 auto}
  #f1view .swgrid{gap:12px 14px}
  #f1view .exgrid{grid-template-columns:1fr 1fr;gap:3px 18px}
}


/* isolate from the building-site class names */
#f1view .flow{flex-direction:row;align-items:flex-start}
#f1view .seg{background:transparent;padding:0;border-radius:0}
#f1view .seg button{flex:0 0 auto;background:transparent;box-shadow:none;border-radius:12px}
#f1view .sl{display:block}
#f1view .rules{display:block;grid-template-columns:none}
@media (max-width:760px){
  #f1view .flow{flex-direction:column;align-items:stretch}
}
