.jc-shell{--sheet:#1b231f;--rule:#3b4a3e;width:min(78rem,calc(100% - 3rem));margin:0 auto;padding:1.25rem 0 4rem;font-size:1rem}
.jc-shell [hidden]{display:none!important}
.jc-shell .jc-crumbs{display:flex;align-items:center;gap:.55rem;margin:0 0 .85rem;color:#c1cdbf;font-size:.92rem}
.jc-crumbs a:hover,.jc-links a:hover{text-decoration:underline}
.jc-hero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;min-height:13rem;border:1px solid var(--rule);border-radius:.7rem;background:#1a231d}
.jc-hero img{position:absolute;inset:0 0 0 auto;z-index:-2;width:66%;height:100%;object-fit:cover;object-position:50% 50%}
.jc-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#18221c 12%,#18221cf5 39%,#18221c98 70%,#10211725)}
.jc-hero>div{padding:clamp(1.35rem,4vw,3rem);max-width:49rem}
.jc-hero h1{font-size:clamp(2.2rem,4.7vw,4.15rem);line-height:1.02;text-wrap:balance}
.jc-hero p{margin:.85rem 0 0;max-width:42rem;line-height:1.55;color:#d4dfd1}
.jc-layout{display:grid;grid-template-columns:minmax(0,1.68fr) minmax(17rem,1fr);grid-template-areas:"inputs result";gap:1.25rem;align-items:start;margin:1.25rem 0}
.jc-main{grid-area:inputs;display:grid;gap:1rem;min-width:0;scroll-margin-top:5.5rem}
.jc-card{min-width:0;border:1px solid var(--rule);border-radius:.65rem;background:var(--sheet);padding:clamp(1rem,2.4vw,1.65rem)}
.jc-card h2{font-size:clamp(1.4rem,2.5vw,1.85rem);letter-spacing:-.03em}
.jc-editor-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:.8rem 1.4rem}
.jc-editor-head .jc-field{width:min(100%,16rem)}
.jc-card h3{margin:1.4rem 0 .8rem;font-size:1.16rem}
.jc-panel>h3:first-child{margin-top:0}
.jc-help,.jc-card .jc-help,.jc-note{margin:.65rem 0 0;color:#bdc9bc;line-height:1.5;font-size:.92rem}
.jc-field{display:flex;flex-direction:column;justify-content:flex-end;gap:.35rem;color:#e3e9df;font-size:.95rem;line-height:1.35;min-width:0}
.jc-field input,.jc-field select{margin:0;min-height:2.8rem;border:1px solid #49584c;background-color:#101712;font:inherit;width:100%;color:#edf4e7}
.jc-field input{padding:.62rem .7rem}
.jc-field select{appearance:none;padding:.62rem 2.1rem .62rem .7rem;background-image:linear-gradient(45deg,transparent 50%,#b4c3b4 50%),linear-gradient(135deg,#b4c3b4 50%,transparent 50%);background-size:5px 5px;background-position:calc(100% - 17px) 52%,calc(100% - 12px) 52%;background-repeat:no-repeat;text-overflow:ellipsis}
.jc-number{position:relative;display:block}
.jc-unit{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#aac495;font-variant-numeric:tabular-nums}
.jc-unit+input{padding-left:1.85rem}
.jc-shell input[aria-invalid=true]{border-color:#f6a17e}
.jc-pair,.jc-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:.9rem 0 .35rem}
.jc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin:1rem 0 1.3rem;padding:3px;border:1px solid var(--rule);border-radius:.45rem;background:#0f1511}
.jc-tabs button{border:0;line-height:1.25;background:transparent;color:#becabe;padding:.57rem .3rem;min-height:44px;font-weight:650;font-size:.92rem;scroll-margin-top:6rem}
.jc-tabs button[aria-selected=true]{background:#33422e;color:#d9f9b9;box-shadow:inset 0 -2px #b8e889}
.jc-tabs button:hover,.jc-shell .jc-quiet:hover,.jc-quantity button:hover{background:#2b372f;color:white}
.jc-check{display:flex;align-items:center;gap:.65rem;min-height:44px;margin:.45rem 0 0;font-size:.95rem;line-height:1.4;color:#dfebd8}
.jc-check input,.jc-item input{margin:0;flex:none;width:1.21rem;height:1.21rem;min-height:unset;accent-color:var(--lime)}
.jc-extra,.jc-guide details,.jc-breakdown{margin:.9rem 0;border-top:1px solid var(--rule)}
.jc-card summary{cursor:pointer;padding:.7rem 0;color:#e2ebdb;font-weight:650;line-height:1.4}
.jc-card summary:focus-visible{outline:2px solid var(--lime);outline-offset:2px}
.jc-extra[open]>summary{margin-bottom:.5rem}
.jc-subbar,.jc-actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap}
.jc-subbar{padding:.75rem 0;margin:.65rem 0 0;border-block:1px solid var(--rule)}
.jc-subbar strong{margin-right:auto;font-size:.96rem;color:#d4efb7;font-variant-numeric:tabular-nums}
.jc-shell button{min-height:44px}
.jc-shell button:disabled{opacity:.57;cursor:default}
.jc-shell .jc-quiet,.jc-shell .jc-undo{font-size:.92rem;padding:.45rem .75rem;border-color:#48594a;background:#202c23}
.jc-shell .jc-undo{color:var(--lime);background:transparent}
.jc-matches:empty,.jc-note:empty{display:none}
.jc-rows{margin-top:.65rem}
.jc-group{margin:.5rem 0;border:1px solid #3c493d;border-radius:.45rem;background:#151d18;overflow:clip}
.jc-group>summary{display:flex;align-items:center;gap:.6rem;min-height:46px;padding:.65rem .75rem;list-style:none;background:#232f26}
.jc-group>summary::-webkit-details-marker{display:none}
.jc-group>summary::before{content:"";width:.47rem;height:.47rem;flex:none;border-right:2px solid #b5c8ac;border-bottom:2px solid #b5c8ac;transform:rotate(-45deg)}
.jc-group[open]>summary::before{transform:rotate(45deg) translate(-1px,-1px)}
.jc-group>summary small{margin-left:auto;color:#b9c9b8;font-weight:500;white-space:nowrap}
.jc-entry{display:flex;align-items:center;gap:.55rem;padding:.15rem .65rem;border-top:1px solid #2e3a30;font-size:.95rem}
.jc-entry.jc-child{border-inline-start:3px solid #41563e}
.jc-child[data-depth="1"]{padding-inline-start:1rem}
.jc-child[data-depth="2"]{padding-inline-start:1.55rem}
.jc-child[data-depth="3"]{padding-inline-start:2.1rem}
.jc-child[data-depth="4"]{padding-inline-start:2.65rem}
.jc-entry.jc-picked{background:#253523}
.jc-item{display:flex;align-items:center;flex:1;gap:.65rem;min-width:0;min-height:3.4rem;color:#ebf1e7;font-size:.95rem;line-height:1.28}
label.jc-item{cursor:pointer}
.jc-entry img{flex:none;padding:2px;width:2.65rem;height:2.65rem;object-fit:contain}
.jc-item-copy{min-width:0;overflow-wrap:anywhere}
.jc-item-copy strong,.jc-item-copy small{display:block}
.jc-item-copy small{margin-top:.16rem;color:#b6c4b5;font-size:.85rem}
.jc-price{margin-left:auto;color:#d1e6bf;white-space:nowrap;font-size:.93rem;font-variant-numeric:tabular-nums}
.jc-quantity{display:flex;align-items:center;gap:2px;flex:none}
.jc-quantity button{min-width:2.3rem;padding:0;border-color:#435145;font-size:1.12rem}
.jc-quantity input{width:3.1rem;margin:0;padding:.3rem 0;text-align:center;min-height:44px;font-variant-numeric:tabular-nums}
.jc-result{grid-area:result;position:sticky;top:6.25rem;scroll-margin-top:6.4rem;border-top:3px solid #bddf8c;background:linear-gradient(151deg,#273725 0%,#1b241d 48%,#19221c);box-shadow:0 12px 30px #0002}
.jc-result h2{color:#d5eabe;font-size:1.3rem}
.jc-years{display:flex;align-items:baseline;gap:.6rem;line-height:1;margin:.9rem 0 .2rem}
.jc-years strong{font-variant-numeric:tabular-nums;font-size:clamp(3.2rem,6.5vw,5.25rem);color:var(--lime);letter-spacing:-.055em}
.jc-years>span{font-size:1.35rem;color:#e8f4dc;font-weight:650}
.jc-result>p{font-size:.93rem;color:#c6d3c5}
.jc-result progress{display:block;width:100%;height:.38rem;margin:1rem 0 .65rem;border:0;border-radius:4px;overflow:hidden;appearance:none;color:var(--lime);background:#39463b}
.jc-result progress::-webkit-progress-bar{background:#39463b}.jc-result progress::-webkit-progress-value{background:var(--lime)}.jc-result progress::-moz-progress-bar{background:var(--lime)}
.jc-ledger{margin:0;display:grid}
.jc-ledger>div{display:flex;align-items:baseline;justify-content:space-between;gap:.7rem;padding:.4rem 0;border-bottom:1px solid #344537}
.jc-ledger dt{color:#c3d2c2;line-height:1.38;font-size:.91rem}
.jc-ledger dd{margin:0;color:#f1f6e8;font-size:1.03rem;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.jc-result .jc-next{margin:.75rem 0 0;color:#ddedbf;font-weight:650}
.jc-breakdown{margin:.85rem 0}
.jc-breakdown summary{font-size:.94rem}
#jc-share{background:var(--lime);color:#14200c;border:1px solid transparent;font-weight:700}
#jc-share-field{margin-top:.7rem}
.jc-banner{margin:.8rem 0;border-inline-start:3px solid var(--lime);padding:.6rem 1rem;background:#293427;color:#dfebd8}
#jc-error{border-color:#e9a47e;color:#ffdfcd}
.jc-guide{margin-top:1.1rem}
.jc-guide>p{color:#c3cec1;margin:.8rem 0}
.jc-guide details p{color:#d2dccf;max-width:66rem}
.jc-links{display:flex;flex-wrap:wrap;gap:.35rem 1.25rem;margin-top:.7rem}
.jc-links a{color:var(--lime);text-decoration:underline;text-underline-offset:.2em;font-size:.93rem}
.jc-mobile-result,.jc-edit-jump{display:none}
@media(max-width:820px){
  .jc-edit-jump{display:inline-flex;align-items:center;min-height:44px;margin-top:.6rem;font-weight:650;color:var(--lime);text-decoration:underline;text-underline-offset:.2em}
  .jc-shell{width:calc(100% - 2rem);padding-bottom:4rem}
  .jc-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"result" "inputs";gap:.85rem}
  .jc-result{position:static;scroll-margin-top:5.5rem}
  .jc-mobile-result:not([hidden]){position:fixed;display:flex;align-items:center;gap:1rem;right:max(.7rem,env(safe-area-inset-right));bottom:max(.7rem,env(safe-area-inset-bottom));z-index:10;padding:.55rem .9rem;background:#243121;color:#eef6e6;border:1px solid #849b68;border-radius:2rem;box-shadow:0 3px 14px #0008;font-size:.92rem}
  .jc-mobile-result b{color:var(--lime)}
}
@media(max-width:520px){
  .jc-shell{width:calc(100% - 1.2rem)}
  .jc-hero{min-height:10rem}.jc-hero img{width:78%}.jc-hero::before{background:linear-gradient(90deg,#16231bf2,#17231bd9 58%,#152219a8)}
  .jc-hero>div{padding:1.05rem}
  .jc-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .jc-filters,.jc-pair{grid-template-columns:1fr}
  .jc-card{padding:.95rem}
  .jc-entry{padding:.2rem .4rem;gap:.2rem}.jc-item{gap:.35rem}.jc-entry img{width:2.2rem;height:2.2rem}
  .jc-quantity button{min-width:1.9rem}.jc-quantity input{width:2.35rem}
  .jc-child[data-depth]{padding-inline-start:.55rem}
  .jc-price{font-size:.85rem}
}

/* Lenny's black market uses the same photo and item sizes as the game board. */
.jt-panel{min-width:0;margin:1.1rem 0;padding:clamp(.85rem,2vw,1.4rem);border:1px solid var(--rule);border-radius:.7rem;background:#1a211e}
.jt-heading,.jt-toolbar,.jt-mapbar,.jt-actions,.jt-legend,.jt-camera,.jt-views{display:flex;align-items:center}
.jt-heading{justify-content:space-between;align-items:flex-start;gap:1rem}
.jt-heading h2{color:#f1f3ea;font-size:clamp(1.45rem,2.7vw,2.2rem)}
.jt-heading p{max-width:47rem;color:#c1cac0;margin-top:.25rem;font-size:.95rem;line-height:1.45}
.jt-totals{display:grid;align-content:center;justify-items:end;gap:.06rem;font-variant-numeric:tabular-nums;white-space:nowrap}
.jt-totals strong,.jt-totals b{color:#d5f8ac}
.jt-totals span{font-size:.92rem;color:#c5d0c3}
.jt-math{margin:.8rem 0;border:1px solid #435343;border-radius:.5rem;background:#141d17}
.jt-math>summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:center;gap:.45rem 1rem;padding:.7rem 1rem;cursor:pointer;list-style:none}
.jt-math>summary::-webkit-details-marker{display:none}
.jt-math-cell{display:grid;gap:.18rem;line-height:1.2;font-variant-numeric:tabular-nums}
.jt-math-cell small,.jt-math-toggle{font-size:.87rem;color:#c3d1c2}
.jt-math-cell b{color:#edf4e7;font-size:1.06rem;overflow-wrap:anywhere}
.jt-award b{color:#d1f58a}.jt-math-toggle{justify-self:end;text-decoration:underline;text-underline-offset:.22em}
.jt-math-toggle::after{content:'';display:inline-block;width:.44rem;height:.44rem;margin:0 .12rem .18rem .55rem;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}
.jt-math[open] .jt-math-toggle::after{transform:rotate(225deg);vertical-align:-.2rem}
.jt-math-detail{margin:0 1rem;padding:.65rem 0 .85rem;border-top:1px solid #39483c;color:#cbd6c9}
.jt-math-detail .jc-ledger{max-width:48rem}.jt-math-detail p{margin:0 0 .45rem}.jt-math-detail #jt-next{margin:.55rem 0}
.jt-dialog .jt-window{scroll-margin:1rem}
@media(max-width:700px){
  .jt-math>summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem .8rem;padding:.65rem .8rem}
  .jt-math-toggle{grid-column:1/-1;justify-self:start}
  .jt-math-detail{margin:0 .8rem}
}
.jt-toolbar{align-items:flex-end;flex-wrap:wrap;gap:.65rem 1rem;margin:1rem 0 .75rem}
.jt-find{flex:1 1 16rem;max-width:30rem}.jt-branches{flex:1 1 11rem;max-width:16rem}
.jt-filter{margin:0;white-space:nowrap}
.jt-views{flex:none;gap:2px;margin-left:auto;background:#111713;border:1px solid #425046;padding:2px;border-radius:.45rem}
.jt-views button,.jt-mapbar button{font-size:.93rem;padding:.4rem .8rem}
.jt-views button{border:0;background:transparent;min-height:40px}
.jt-views button[aria-pressed=true]{background:#35462e;color:#dbf8c5}
.jt-panel .jt-hits{max-width:33rem;margin-bottom:.35rem}
.jt-panel .jt-matches:not(:empty){margin:.35rem 0 .55rem}.jt-matches:empty{display:none}
.jt-window{position:relative;isolation:isolate;width:100%;height:clamp(24rem,54vh,37rem);overflow:clip;
  border:1px solid #6b7167;border-radius:.5rem;touch-action:none;user-select:none;cursor:grab;
  background-color:#393c3a;
  background-image:radial-gradient(ellipse at 42% 42%,#9c9b8e22,transparent 65%),radial-gradient(circle,#aaa79c32 .75px,transparent 1px),linear-gradient(125deg,#2f3533,#444543 55%,#333836);
  background-size:auto,12px 12px,auto}
.jt-window::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 0 0 3rem #14191443}
.jt-world{position:absolute;left:50%;top:50%;width:0;height:0;transform-origin:0 0;transform:scale(.48)}
.jt-wires{position:absolute;top:0;left:0;overflow:visible;pointer-events:none}
.jt-wires path{fill:none;stroke:#b7b8ad;stroke-width:var(--jt-wire);stroke-linecap:square;stroke-linejoin:round}
.jt-wires .jt-spine{stroke:#d4d1c2}
.jt-wires path.jt-lit{stroke:#d1f58d}
.jt-wires path.jt-muted{opacity:.22}
.jt-panel .jt-point{position:absolute;transform:translate(-50%,-50%);padding:0;margin:0;box-sizing:border-box;touch-action:none;user-select:none}
.jt-panel .jt-item{display:grid;place-items:center;width:100px;height:100px;min-height:0;border:3px solid #64645d;border-radius:6px;box-shadow:0 4px 6px #17181685;
  background:linear-gradient(145deg,#383a36,#242725);color:#edece2}
.jt-item img{position:absolute;inset:5%;width:90%;height:90%;min-width:0;min-height:0;object-fit:contain;opacity:.8;pointer-events:none}
.jt-item.jt-available{border-color:#d4c7a1;background:linear-gradient(145deg,#514f40,#32352f)}
.jt-item.jt-available img,.jt-item[aria-checked=true] img{opacity:1}
.jt-panel .jt-item[aria-checked=true]{border:4px solid #c5ee7f;background:linear-gradient(145deg,#4d6240,#2c3c28)}
.jt-item.jt-muted{opacity:.18;pointer-events:none}
.jt-tier{position:absolute;left:5px;top:3px;color:#fff4d9;font:700 19px/1.1 "Segoe UI",sans-serif;text-shadow:0 1px 3px #000;pointer-events:none}
.jt-tick{display:none;position:absolute;right:-2px;bottom:-2px;width:23px;height:23px;background:#d0f592;border-radius:5px 0 2px 0}
.jt-tick::after{content:"";position:absolute;left:7px;top:3px;width:6px;height:11px;border:solid #213119;border-width:0 3px 3px 0;transform:rotate(45deg)}
.jt-item[aria-checked=true] .jt-tick{display:block}
.jt-panel .jt-photo{width:156px;height:174px;min-height:0;z-index:1;border:0;border-radius:0;background:none;color:#242820;box-shadow:none}
.jt-photo>img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}
.jt-photo::before{content:"";position:absolute;z-index:1;left:26%;top:-6px;width:48%;height:12px;background:#c7c3b187;transform:rotate(-4deg);pointer-events:none}
.jt-photo>b,.jt-dealer>span{display:block;position:absolute;left:50%;top:95%;transform:translateX(-50%) rotate(-1deg);max-width:100%;padding:5px 12px;background:#e6e1d3;box-shadow:0 3px 3px #13181055;color:#242722;white-space:nowrap;font:bold 22px/1.18 "Segoe UI",sans-serif;letter-spacing:-.03em}
.jt-photo>small{position:absolute;top:8%;right:5%;padding:2px 6px;background:#292d28ee;border:1px solid #b4b5a0;border-radius:4px;color:#f6f1dc;font:700 17px/1.2 "Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
.jt-panel .jt-dealer{width:291px;height:310px;z-index:2}
.jt-dealer>span{top:97%;font-size:23px}
.jt-dealer::before{width:23%;height:18px;left:-4%;top:3%;transform:rotate(-35deg)}
.jt-dealer::after{content:"";position:absolute;width:23%;height:18px;right:-4%;top:3%;transform:rotate(35deg);background:#c7c3b187;pointer-events:none}
.jt-point:focus-visible,.jt-branch-active,.jt-item.jt-current{outline:4px solid #e4efcd;outline-offset:3px}
.jt-photo:hover,.jt-point:focus-visible{z-index:4}
.jt-caption{display:none;pointer-events:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);min-width:85px;max-width:175px;width:max-content;padding:3px 6px;background:#182019f5;color:#f1f3e8;border-radius:3px;font:650 16px/1.16 "Segoe UI",sans-serif;text-align:center;overflow-wrap:anywhere}
.jt-current .jt-caption,.jt-item:focus-visible .jt-caption,.jt-close .jt-caption{display:block}
@media(hover:hover){.jt-item:hover{z-index:4;outline:4px solid #f3edc8;outline-offset:2px}.jt-item:hover .jt-caption{display:block}}
.jt-window.jt-dragging,.jt-window.jt-dragging *{cursor:grabbing!important}
.jt-mapbar{gap:.4rem;flex-wrap:wrap;padding:.55rem 0 .25rem}
.jt-mapbar button{background:#242d27;border-color:#48554b}
.jt-camera{position:absolute;z-index:5;right:.45rem;top:.45rem;gap:.1rem;padding:2px;background:#1a221eeb;border:1px solid #6d776a;border-radius:.45rem;cursor:default}
.jt-camera button{width:44px;padding:0;font-weight:650;font-size:1.2rem}
.jt-camera output{display:block;min-width:3.1rem;margin:0;padding:0;text-align:center;background:none;border:0;color:#e3e7dd;font:650 .9rem/1.25 "Segoe UI",sans-serif;font-variant-numeric:tabular-nums}
#jt-expand{margin-left:auto}
.jt-legend{flex-wrap:wrap;gap:.25rem 1rem;margin:.5rem 0;color:#c0cbc0;font-size:.86rem}
.jt-legend>span{display:inline-flex;align-items:center;gap:.35rem}.jt-legend i{width:.82rem;height:.82rem;display:block;border:2px solid #7f8075;background:#383a36;border-radius:.15rem}
.jt-legend i.jt-ready{border-color:#d4c7a1;background:#514f40}.jt-legend i.jt-done{border-color:#c5ee7f;background:#526b3e}
.jt-inspector{display:flex;align-items:center;gap:.8rem;margin:.4rem 0;padding:.6rem .8rem;border-left:3px solid #b7cf9f;background:#26302a}
.jt-inspector img{width:46px;height:46px;object-fit:contain}
.jt-inspector div{min-width:0}.jt-inspector strong{font-size:1.02rem}.jt-inspector p{margin:0;color:#c8d3c7;font-size:.9rem;line-height:1.4}
.jt-inspector button{margin-left:auto;white-space:nowrap}
.jt-actions{gap:.55rem;flex-wrap:wrap;border-top:1px solid var(--rule);margin-top:.55rem;padding-top:.7rem}
.jt-actions span{font-size:.9rem;color:#d4dfca}
.jt-dialog[open]{inset:0;display:block;width:100%;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:0;border:0;border-radius:0;background:#151b17;color:var(--ink);overflow:auto}
.jt-dialog::backdrop{background:#141815}.jt-dialog>.jt-panel{min-height:100%;margin:0;border:0;border-radius:0}
.jt-dialog .jt-window{height:clamp(19rem,calc(100dvh - 19rem),84dvh)}
.jt-dialog .jt-heading{position:relative;padding-right:5.25rem}.jt-dialog .jt-heading #jt-expand{position:absolute;top:0;right:0;padding:.4rem .8rem}
body:has(.jt-dialog[open]){overflow:hidden}
.jc-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){
  .jt-heading{display:block}.jt-totals{display:flex;justify-content:space-between;gap:.45rem;flex-wrap:wrap;margin-top:.6rem}
  .jt-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .5rem;margin:.65rem 0}
  .jt-views{justify-self:end}.jt-views button{padding:.35rem .65rem}
  .jt-window{height:clamp(19rem,48svh,30rem)}.jt-world{transform:scale(.34)}
  .jt-mapbar{gap:.3rem}.jt-mapbar button{font-size:.87rem;padding:.35rem .6rem}
  .jt-camera button{width:40px;padding:0;font-size:1.14rem}.jt-camera output{min-width:2.5rem}
  .jt-legend{gap:.3rem .6rem}.jt-legend>span{font-size:.8rem}
  .jt-inspector{gap:.45rem;flex-wrap:wrap}.jt-inspector div{flex:1 1 10rem}.jt-inspector button{margin-left:0}
  .jt-dialog .jt-heading p{display:none}.jt-dialog .jt-heading{padding-right:4.2rem}
  .jt-dialog .jt-window{height:clamp(16rem,calc(100dvh - 18rem),74dvh)}
}
@media(max-width:420px){.jt-mapbar{gap:.25rem}.jt-mapbar button{flex:1;padding:.35rem .3rem}#jt-expand{margin:0}.jt-camera button{width:40px}.jt-heading h2{font-size:1.4rem}}
