.kitchen-room{--paper:#f7f0e1;--panel:#fffcf3;--ink:#22483e;--accent:#a35629;--line:#c9ccb5;background-image:radial-gradient(ellipse at 95% 0,#e9cf9630,transparent 55%)}.kitchen-room .scene{background:linear-gradient(125deg,#f3f0d9,#e7eddb)}.lens-tabs{display:flex;gap:5px;margin:0 0 8px}.lens-tabs button{font:.69rem ui-monospace,monospace;padding:8px 12px;background:#fbf8e9;min-height:36px}.lens-tabs button[aria-pressed=true]{background:#264a40;color:#fff9e9;box-shadow:none;border-color:#264a40}.droplet-field{touch-action:pan-y;cursor:ew-resize;user-select:none;border-radius:15px}.droplet-field svg{width:100%;max-height:420px}.area-meter{margin-top:23px;border-top:1px solid var(--line);padding:20px 0}.area-meter>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.area-meter span{font-size:.77rem}.area-meter strong{font:400 2.6rem/1 Georgia,serif;color:var(--accent);font-variant-numeric:tabular-nums}.area-rail{height:19px;border:1px solid #bebea5;background:#e5e3cc;margin-top:12px;position:relative;border-radius:3px;overflow:hidden}.area-rail>span{display:block;height:100%;background:linear-gradient(90deg,#b77531,#e5ba5b);transition:width .5s cubic-bezier(.2,.7,.2,1);width:12.5%}.area-rail i{display:block;position:absolute;top:0;bottom:0;left:12.5%;border-left:1px dashed #443f2d}.rail-labels{display:flex;justify-content:space-between;margin-top:7px;gap:8px}.rail-labels span{font:.6rem/1.5 ui-monospace,monospace;color:var(--muted)}.coating-control{border-top:1px solid var(--line);padding-top:17px}.coating-control button{font-size:.79rem;background:#e8eddb}.coating-control p{font-size:.74rem;line-height:1.65;min-height:4.5em;margin:12px 0 16px}.reset{padding:0;min-height:30px;border:0;font-size:.72rem;text-decoration:underline;text-underline-offset:4px;font-weight:400}.surface-proof{display:flex;align-items:center;gap:20px;margin:25px 0}.surface-proof>div{flex:1;min-width:0}.surface-proof span{display:block;font:.65rem/1.6 ui-monospace,monospace;color:var(--muted);margin-bottom:10px}.proof-whole>div{width:72px;height:72px;border:1px solid #b7852b;border-radius:4px;background:linear-gradient(135deg,#f5d988,#d8a444)}.proof-pieces>div{display:grid;grid-template-columns:repeat(4,36px);gap:4px}.proof-pieces i{height:36px;border:1px solid #b7852b;border-radius:2px;background:linear-gradient(135deg,#f5d988,#d8a444)}.surface-proof strong{font:.69rem/1.6 ui-monospace,monospace;display:block;margin-top:10px}.surface-proof>.proof-equals{font:1.8rem Georgia,serif;margin:0;flex:0}.kitchen-room #worked .equation{padding:14px 19px;border-left:2px solid var(--accent);background:#f1e6ce}.kitchen-room .reading{background:#e7edd8}.kitchen-room .reading h3{color:#264a40}.kitchen-room .reveal-card{background:linear-gradient(130deg,#ebe8d4,#e2ead6)}
@media(max-width:950px){.kitchen-room .side-panel{padding:20px}.area-meter{margin-top:15px;padding-top:17px}.coating-control p{min-height:0}}
@media(max-width:700px){.surface-proof{display:grid;grid-template-columns:75px 20px minmax(0,1fr);gap:12px}}
@media(max-width:700px){.kitchen-room .side-panel{padding:19px}.droplet-field svg{max-height:none}.kitchen-room .scene-caption{font-size:.59rem}.kitchen-room .stats{padding-top:11px}.area-meter{margin-top:15px;padding-top:15px;padding-bottom:16px}.area-meter strong{font-size:2.4rem}.coating-control p{min-height:0}.surface-proof{gap:14px}.proof-pieces>div{grid-template-columns:repeat(4,29px)}.proof-pieces i{height:29px}.proof-whole>div{width:58px;height:58px}}

/* An illuminated inspection tray, with the measured drops on the same fixed scale. */
.kitchen-room .scene{background:radial-gradient(ellipse at 45% 35%,#365e51,#173e37 76%);color:#eef3db;box-shadow:inset 0 1px #eaf8d72b}
.kitchen-room .scene .lens-tabs{gap:7px;margin-bottom:16px}
.kitchen-room .scene .lens-tabs button{border:1px solid #92b09d77;background:#234c41;color:#dce8d0;min-height:40px}
.kitchen-room .scene .lens-tabs button[aria-pressed=true]{background:#eed897;color:#153d31;border-color:#eed897;box-shadow:0 2px 6px #0a261f4d}
.kitchen-room .droplet-field{filter:drop-shadow(0 9px 12px #0b2b2966)}
.kitchen-room .droplet-field:focus-visible{outline:3px solid #eed897;outline-offset:5px}
.kitchen-room .scene .scene-caption{color:#cadac3;font-size:.65rem;border-top-color:#91ad8966;line-height:1.6}
.kitchen-room .scene .stats{color:#d0dfc5;border-top-color:#91ad8966;padding-top:17px}
.kitchen-room .scene .stats strong{color:#fff1bf}
.kitchen-room .scene .stats span,.kitchen-room .scene .stats small{color:#cadac3}
.kitchen-room .bench{box-shadow:0 15px 38px #3b472617}
@media(max-width:700px){.kitchen-room .scene .lens-tabs button{min-height:44px}.kitchen-room .scene .scene-caption{font-size:.65rem}.drop-radius-guide{display:none}}

/* Ceramic, glass and linen frame the fixed-scale inspection drawing. */
.kitchen-room .bench{border-color:#9da98a;box-shadow:0 24px 50px #29463120,inset 0 1px #fff}
.kitchen-room .bench-heading{min-height:100px;background:#f1edda url('./bench-art.svg') 56% 47%/auto 126px no-repeat;border-bottom:3px double #b5bca0}
.kitchen-room .bench-heading>.kicker{max-width:185px;font-size:.65rem;line-height:1.7}
.kitchen-room .bench-heading>p:last-child{background:#f1eddacd;padding:5px 0 5px 8px}
.kitchen-room .scene{background:repeating-linear-gradient(93deg,#182e2700 0 51px,#162c242b 52px 53px,#d6d29c08 54px 55px),radial-gradient(ellipse at 30% 15%,#42624a,#1c3c33 78%);padding-top:21px;box-shadow:inset 0 1px #eaf8d72b,inset -7px 0 18px #10271d33}
.kitchen-room .lens-tabs button{border-radius:3px;box-shadow:0 3px 5px #0b201b40,inset 0 1px #f3f6ce20}
.kitchen-room .scene .lens-tabs button[aria-pressed=true]{box-shadow:0 3px 6px #0a261f66,inset 0 1px #fff4c6}
.kitchen-room .droplet-field{filter:drop-shadow(0 10px 9px #071e1b80)}
.kitchen-room .side-panel{background:repeating-linear-gradient(0deg,transparent 0 28px,#73875c09 28px 29px),#fffcf0;border-left-color:#b2bda1}
.kitchen-room .segment-row button{background:#f3f1dd;border-color:#b3bc9b;box-shadow:inset 0 1px #fffdf0,0 2px 2px #2946310d}
.kitchen-room .segment-row button[aria-pressed=true]{background:#e8d6a2;border-color:#ac9759;box-shadow:inset 0 -3px #ac7834}
.kitchen-room .area-rail{height:21px;border-radius:2px;background:repeating-linear-gradient(90deg,#f3edce 0 12.3%,#acb18b 12.4% 12.5%);box-shadow:inset 0 2px 4px #576b3c24}
.kitchen-room .area-rail>span{background:repeating-linear-gradient(90deg,transparent 0 7px,#ffffd222 7px 8px),linear-gradient(0deg,#a96624,#edc867 72%,#f5df97);box-shadow:inset 0 1px #fff4b4,inset 0 -2px #9f6628}
.kitchen-room .proof-whole>div,.kitchen-room .proof-pieces i{background:repeating-linear-gradient(0deg,transparent 0 6px,#c7983830 6px 7px),linear-gradient(135deg,#fff1b2,#e0b456);box-shadow:inset 0 1px #fff8d0,2px 3px 0 #b0914140}
.kitchen-room .reading{background:#e7edd8;border-top-color:#a6b592;box-shadow:inset 0 2px #fff6}
@media(max-width:950px){.kitchen-room .bench-heading{background-position:54% 49%;background-size:auto 112px}.kitchen-room .bench-heading>.kicker{max-width:155px}}
@media(max-width:700px){.kitchen-room .bench-heading{min-height:74px;background-size:auto 100px;background-position:55% 40%}.kitchen-room .bench-heading>.kicker{max-width:95px;line-height:1.6;font-size:.56rem;text-align:left}.kitchen-room .bench-heading>p:last-child{max-width:85px;font-size:.55rem;background:#f1eddeed}.kitchen-room .scene{padding-top:16px}}
@media(max-width:380px){.kitchen-room .bench-heading{background-size:auto 82px;background-position:52% 35%}.kitchen-room .bench-heading>.kicker{max-width:86px}}

/* The inspection lens changes the view, not the sphere calculation. */
.kitchen-room .tray-tools{display:flex;align-items:center;gap:12px;border-top:1px solid #91ad8966;margin-top:8px}
.kitchen-room .tray-tools .scene-caption{flex:1;min-width:0;margin:0;padding:12px 0;border:0;font:11px/1.6 'Segoe UI',Arial,sans-serif}
.kitchen-room #animate-changes{flex:none;min-height:44px;min-width:76px;padding:8px;font:10px/1.4 ui-monospace,monospace;border:1px solid #92b09d77;background:#234c41;color:#e7eed6}
.kitchen-room #animate-changes[aria-pressed=true]{background:#eed897;color:#153d31;border-color:#eed897}
.kitchen-room .droplet-field[data-can-inspect=true]{cursor:zoom-in}
.kitchen-room .droplet-field[data-detail=interface]{cursor:default}
#inspection-ring{display:none;fill:none;stroke:#fffbd1;stroke-width:2;stroke-dasharray:3 4;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px #173c32)}
#inspection-ring[data-active=true]{display:inline}
.oil-drop,.boundary-drop{transform-box:view-box;transform-origin:0 0}
html[data-kitchen-motion=off] .kitchen-room .area-rail>span{transition:none}
@media(max-width:700px){.kitchen-room .tray-tools{gap:8px}.kitchen-room .tray-tools .scene-caption{font-size:11px;line-height:1.6}}

/* Keep the measured surface on the same bench as the drops that produce it. */
.kitchen-room .scene .area-meter{
  margin:8px 0 0;
  padding:10px 12px 8px;
  border:1px solid #829e85;
  border-radius:7px;
  background:linear-gradient(115deg,#254c3c,#18392f);
  box-shadow:inset 0 1px #b5c6a32f;
  color:#fbf1d0;
}
.area-heading span{font-size:13px;font-weight:700}
.area-heading #scene-context{margin:2px 0 0;color:#d8e5cd;font-size:12px;line-height:1.35}
.kitchen-room .area-heading strong{font-size:34px;color:#f8d987}
.kitchen-room .area-meter .area-rail{height:11px;margin-top:7px}
.area-meter .rail-labels{margin-top:5px}
.area-meter .rail-labels span{
  display:flex;
  align-items:center;
  gap:5px;
  color:#d4e2ce;
  font-size:10px;
}
.rail-labels i{height:10px;border-left:1px dashed #f6d782}
.kitchen-room .scene .lens-tabs{margin:11px 0 0;flex-wrap:wrap}
.kitchen-room .scene .lens-tabs button{min-height:44px}
@media(max-width:700px){
  .kitchen-room .opening{gap:7px}
  .kitchen-room .opening .kicker{display:none}
  html.kitchen-room .opening h1{font-size:clamp(32px,8.7vw,39px)}
  .kitchen-room .opening .lede{font-size:13px;line-height:1.48}
  .kitchen-room .bench-heading{min-height:64px;align-items:center;padding:8px 13px;background-size:auto 87px}
  .kitchen-room .scene{padding:11px 12px 13px}
  .kitchen-room .quick-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    margin:0 0 6px;
  }
  .kitchen-room .quick-actions button{min-height:44px;padding:7px;font-size:12px}
  .kitchen-room .quick-actions #quick-split{
    background:#ead18b;
    color:#213f31;
    border-color:#e3cc91;
  }
  .kitchen-room .quick-actions #quick-join{
    background:#244b3c;
    color:#f8edd1;
    border-color:#889f88;
  }
  .kitchen-room .quick-actions button:enabled:hover{box-shadow:inset 0 0 0 2px #70988b}
}
@media(max-width:380px){
  .kitchen-room .bench-heading{background-size:auto 77px;background-position:55% center}
}
@media(max-width:700px){.boundary-callout{font-size:24px}.boundary-oil-label{font-size:25px}}
