.row400{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.5rem 0;border-bottom:1px solid #79b09b35}
.plan400{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:.85rem 0;padding:6px;background:#142b28;border:1px solid #73ae96;border-radius:9px}.plan400 span{display:grid;place-items:center;min-height:42px;text-align:center;padding:4px;background:#355549;color:#e9f5e5;font-size:.80rem;border-radius:3px}
.scene400{width:min(100%,400px);height:132px;margin:0 auto 12px;border-radius:10px;background:linear-gradient(#253c56 0 80%,#37493b 80%);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:10px;padding:26px 16% 13px;box-sizing:border-box;box-shadow:inset 0 -18px #566f5c}.scene400 i{background:#ffd590;border:5px solid #756a65;border-radius:2px;box-shadow:0 0 13px #f6c67b68}.scene400 i:nth-last-child(2){box-shadow:none;background:#36555d}.house400 .action-row{flex-wrap:wrap}
.shared400{position:absolute;pointer-events:auto;z-index:9;display:flex;gap:5px;right:var(--right,12px);top:calc(var(--top,12px) + 155px);max-width:60vw;padding:3px;background:#123029dd;border-radius:8px}.shared400 button{padding:.4rem .6rem;min-height:34px;font-size:.84rem}.shared400[hidden]{display:none}
@media (orientation:portrait){.shared400{top:calc(var(--top,10px) + 220px)}}

.house-plan400{margin:1rem 0;color:#c1d8cd;text-align:center}.house-plan400 figcaption{font-size:.81rem}
.house-plan400 .plan400{margin:.4rem 0;border-color:#79a48f}.house-plan400 .plan400 span{min-height:38px}
.house-plan400 .terrace{background:#476e52!important;border:1px solid #a7bc78}

.shared400.home-drink400{top:auto;right:auto;left:50%;bottom:calc(112px + env(safe-area-inset-bottom,0px));transform:translateX(-50%)}
@media (orientation:portrait){.shared400.home-drink400{bottom:calc(148px + env(safe-area-inset-bottom,0px))}}

.tv-live400{display:block;width:min(100%,512px);height:auto;margin:0 auto .9rem;border:1px solid #6e9185;border-radius:10px;background:#172b2a}

.vehicle-price .dealer-promo400{display:block;color:#efca84;font-weight:800;margin:.18em 0}

/* QD Phone and in-world controls for the sidewalk tea stall. */
.venture-phone,.venture-panel{display:grid;gap:10px;color:#eef4e7;min-width:0}
.venture-phone{padding:2px 0 12px}
.venture-head,.venture-cover{border-radius:17px;overflow:hidden;border:1px solid #4a7164;background:#14322b;position:relative}
.venture-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:13px 14px}
.venture-head span,.venture-cover span{color:#bce998;font-size:10px;font-weight:800;letter-spacing:.15em}
.venture-head h2,.venture-cover h2{font-size:clamp(17px,3.7vw,23px);line-height:1.08;margin:4px 0 0;overflow-wrap:anywhere}
.venture-head b{color:#f6d692;font-size:12px}
.venture-cover img{display:block;width:100%;height:auto;aspect-ratio:2.08;object-fit:cover}
.venture-cover>div{position:absolute;bottom:0;left:0;right:0;padding:18px 13px 13px;background:linear-gradient(0deg,#102921 18%,transparent)}
.venture-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.venture-tabs button{min-height:38px;padding:5px;font-size:12px}
.venture-card{border:1px solid #44665b;border-radius:13px;background:#18342b;padding:11px;min-width:0}
.venture-card h3{font-size:14px;line-height:1.25;margin:0 0 8px}
.venture-card p,.venture-panel p,.venture-phone>p{margin:6px 0;color:#c1d5c7;line-height:1.38;font-size:12px}
.venture-card .action-row,.venture-panel .action-row{display:flex;flex-wrap:wrap;gap:6px;margin:5px 0}
.venture-card button,.venture-panel button{min-height:34px;padding:4px 9px;font-size:12px}
.venture-card button:disabled,.venture-panel button:disabled{opacity:.48}
.venture-inputs{display:flex;align-items:flex-end;flex-wrap:wrap;gap:6px;margin-top:7px}
.venture-field{display:grid;flex:1 1 82px;min-width:0;gap:4px;color:#d1e3d5;font-size:11px}
.venture-field input,.venture-field select{width:100%;min-width:0;background:#0f2420;color:#edf7e8;border:1px solid #52776a;border-radius:7px;padding:6px;font:inherit;font-size:16px;min-height:35px}
.venture-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:6px 0}
.venture-metrics>div{background:#0e241e;border-radius:7px;padding:5px 7px;min-width:0}
.venture-metrics dt{color:#a9c4b5;font-size:11px;line-height:1.13}
.venture-metrics dd{margin:3px 0 0;font-size:12px;font-weight:750;overflow-wrap:anywhere}
.venture-list{display:grid;gap:6px}
.venture-line,.venture-chart{display:flex;align-items:center;gap:8px;justify-content:space-between;border-top:1px solid #49665b66;padding:6px 0;font-size:12px}
.venture-line span:first-child{flex:1;min-width:0}
.venture-line small{display:inline-block;margin-left:2px;color:#b2c6bb;font-size:10px}
.venture-chart meter{width:40%;min-width:36px;height:14px;accent-color:#b4e68d}
.venture-panel .venture-quote{background:#112821;border-left:3px solid #b5eb88;padding:8px;color:#ecf2d4}
.venture-review{border-top:1px solid #49665b66;padding:8px 0;font-size:12px}
.venture-review small{color:#a8bfb0;font-size:10px}
.venture-review p{margin:3px 0}
.venture-card .venture-warn,.venture-line small.venture-warn,.venture-alert{color:#f7ce88}
.venture-hud,.pickup-hud400{position:absolute;z-index:13;pointer-events:none}
.venture-hud{
  left:var(--side);top:var(--top);width:max-content;max-width:calc(100% - var(--side) - var(--right));
  transform-origin:top left;box-sizing:border-box;padding:7px;border:1px solid #638275;border-radius:12px;
  color:#f3f6e9;background:#0c231eec;box-shadow:0 6px 18px #0004
}
.venture-hud [data-venture-short400]{display:flex;gap:5px}
#venture-hud-body400{width:min(258px,calc(100vw - 32px))}
.venture-hud-title400{display:flex;align-items:flex-start;justify-content:space-between;gap:6px}
.venture-hud-title400 b{min-width:0;font-size:.88rem;line-height:1.18;overflow-wrap:anywhere}
.venture-hud-title400 strong{color:#f6d78c;font-size:.73rem;white-space:nowrap}
.venture-hud-date400{display:block;color:#c6d9cf;font-size:.7rem;margin-top:3px}
.venture-hud-badges400{display:flex;flex-wrap:wrap;gap:3px;margin:5px 0;font-size:.67rem}
.venture-hud-badges400>*{padding:3px 4px;border-radius:5px;background:#214238;line-height:1.1}
.venture-hud-badges400 b{color:#d3ffad}
.venture-hud .venture-metrics{gap:3px;margin:4px 0}
.venture-hud .venture-metrics>div{padding:4px 6px;background:#15332a}
.venture-hud .venture-metrics dt{font-size:.65rem}
.venture-hud .venture-metrics dd{font-size:.72rem;margin-top:2px}
.venture-hud-stock400{font-size:.69rem;color:#f5d188;margin:4px 0;overflow-wrap:anywhere}
.venture-hud-stock400:empty{display:none}
.venture-hud[aria-label] button,.pickup-hud400 button:not(:disabled){pointer-events:auto;touch-action:manipulation}
.venture-hud .action-row{gap:4px;margin:5px 0 0;flex-wrap:nowrap}
.venture-hud button{min-height:36px;min-width:0;margin:0;padding:4px 7px;font-size:.75rem;line-height:1.15}
.venture-hud-options400{display:flex;align-items:center;gap:5px;margin-top:4px}
.venture-hud-size400{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-right:auto;font-size:.72rem}
.venture-hud-size400>button{min-width:34px;font-size:1rem}
body.touch-mode .venture-hud button{min-height:40px}
.pickup-hud400{display:grid;gap:4px;justify-items:center;width:min(260px,calc(100% - var(--side) - var(--right)));text-align:center}
.pickup-hud400 p{max-width:100%;margin:0;padding:5px 8px;border-radius:8px;background:#10291fe8;color:#e3f2e8;
  font-size:.78rem;line-height:1.22;overflow-wrap:anywhere}
.pickup-hud400 p:empty{display:none}
.pickup-hud400 button{min-height:44px;max-width:100%;justify-content:center;font-size:.87rem;overflow-wrap:anywhere}
.pickup-hud400 button:disabled{pointer-events:none}
@media(max-width:360px){
  .venture-hud .action-row button{padding-inline:5px}
}
.venture-labels{position:fixed;inset:0;z-index:3;pointer-events:none}
.venture-world-label{position:absolute;transform:translate(-50%,-100%);display:grid;gap:2px;justify-items:center;color:#f2f5e6;background:#17342ce8;
  border:1px solid #92af9466;border-radius:8px;font-size:10px;padding:4px 6px;text-align:center;max-width:164px}
button.venture-world-label{pointer-events:auto;touch-action:manipulation;cursor:pointer;min-height:44px;z-index:1}
button.venture-world-label:focus-visible{outline:2px solid #ddffc4;outline-offset:2px}
.venture-world-label small{font-size:10px;color:#f4e2ba;line-height:1.21}
.venture-world-label.sign{border:1px solid #cfb676;color:#f9d58f;font-size:12px;font-weight:800;white-space:normal;min-width:130px;max-width:230px;padding:5px 9px}
.venture-world-label.order,.venture-world-label.bill{border-color:#b8e58d;color:#e3ffb8}
.venture-world-label.dirty{color:#ffd298}
.venture-inside .hud-head,.venture-inside .map-card,.venture-inside .bottom .instrument,.venture-inside #arrival-hud,
.venture-inside #room394-online,.venture-inside #pet-walk-key,.venture-inside #trip-review-notice{display:none!important}
.venture-inside #context-tip{display:none}
/* Transaction filters and per-item stock ordering on QD Phone. */
.ledger400{min-width:0}
.ledger-tabs400{display:flex;gap:.35rem;max-width:100%;overflow-x:auto;padding:.2rem .12rem .55rem;margin-bottom:.25rem;scrollbar-width:thin}
.ledger-tabs400 button{flex:0 0 auto;min-height:44px;padding:.38rem .62rem;white-space:nowrap;font-size:.78rem}
.ledger-entry400{border-top:1px solid #8bb5a945}
.ledger-entry400 summary{display:flex;justify-content:space-between;align-items:center;gap:.6rem;cursor:pointer;min-height:48px;padding:.6rem .15rem;list-style:none}
.ledger-entry400 summary::-webkit-details-marker{display:none}
.ledger-entry400 summary::after{content:"+";flex:none;color:#9bcfb8}
.ledger-entry400[open] summary::after{content:"−"}
.ledger-entry400 summary span{min-width:0;flex:1}
.ledger-entry400 summary b{white-space:nowrap}
.ledger-entry400 summary small,.venture-cart-line400 small{display:block;color:#b0c6c0}
.ledger-detail400{padding:.7rem;background:#0a211ecf;border-radius:.65rem;margin-bottom:.5rem;font-size:.85rem}
.ledger-detail400 p{margin:.5rem 0 .3rem}
.ledger-detail400 small{color:#b0c6c0}
.ledger-line400{display:flex;justify-content:space-between;gap:.6rem;padding:.21rem 0}
.ledger-line400 b{flex:none;text-align:right}
.ledger-more400{margin-top:.55rem}
.venture-stock-item400{padding:.55rem 0;border-top:1px solid #93bcb643}
.venture-stock-item400 p{margin:.24rem 0;font-size:.81rem}
.venture-stock-item400 .venture-stock-promo400{color:#a8edb0}
.venture-cart-line400{display:flex;align-items:center;justify-content:space-between;gap:.5rem}
.venture-qty400{display:grid;grid-template-columns:42px minmax(3ch,4.1rem) 42px;gap:.25rem;align-items:center}
.venture-qty400 input{width:100%;min-width:0;text-align:center}
.venture-qty400 button{min-height:42px;padding:0}
.venture-cart-summary400{position:sticky;bottom:0;z-index:1;background:#132f2d;padding:.6rem;border:1px solid #79b4a15e;border-radius:.65rem;margin-top:.55rem}
.venture-cart-summary400 p{margin:0 0 .42rem}
.venture-price-effect400{flex-basis:100%;margin:.18rem 0;color:#b7ddd1}
@media(max-width:420px){.ledger-line400,.ledger-entry400 summary{gap:.4rem}.ledger-detail400{padding:.55rem}.venture-qty400{grid-template-columns:40px 3.1rem 40px}}

.venture-hire small:last-child {display:block; margin:4px 0 0; font-size:.78rem; line-height:1.35}
.venture-hire button {flex:none}
.venture-worker-status {margin:8px 0; display:grid; gap:4px}
.venture-worker-status div {padding:6px 8px; border-radius:7px; background:#0e241e}
.venture-worker-status dt {font-size:.75rem; color:#b8d0c2}
.venture-worker-status dd {margin:3px 0 0; font-size:.85rem; line-height:1.25}
.venture-shift-row, .venture-shift-history {border-top:1px solid #49665b66; padding:7px 0}
.venture-shift-row>small {display:block; margin-top:3px; color:#b8d0c2}
.venture-shift-history summary {cursor:pointer; font-size:.85rem}
.venture-world-label.worker {max-width:138px; color:#e4ffcf}

.venture-device400{align-items:flex-start}
.venture-device400>div{min-width:0}
.venture-device400 p{margin:4px 0 1px;font-size:.76rem;line-height:1.35}
.venture-device400 button{flex:none}

.venture-hud .venture-hud-move401:not([hidden]){display:flex;gap:5px;margin:0 0 5px;justify-content:space-between}
.venture-hud[aria-label] [data-venture-drag401]{touch-action:none;cursor:grab}
.venture-hud [data-venture-drag401]:active{cursor:grabbing}
body #venture-hud400:has([data-venture-move401]:not([hidden])){z-index:36}
.venture-review details{margin-top:8px}
.venture-review details>summary{cursor:pointer}
[data-door-handoff401]{margin-bottom:6px}

.venture-hud .venture-move-icon401{padding-inline:0;min-width:29px}
.venture-hud-move401 button{white-space:nowrap}
.venture-review-status401{color:#d5f3a6;font-weight:700}
.venture-phone details>summary{cursor:pointer}

.venture-hud .venture-clean-btn401{min-height:0;margin:0;font:inherit;color:#e1f2d4;border:1px solid #537263;padding:2px 4px}
body.touch-mode .venture-hud .venture-clean-btn401{min-height:0}
.venture-hud .venture-clean-btn401.is-clean401{background:#345c36;color:#dbfdb8}
.venture-hygiene-score401{display:block;padding:6px 0;font-size:1.12rem;color:#dbfdb8}
.venture-order-notes401 {
  margin-block: .4rem;
  color: #e9ca81;
  font-weight: 700;
}
.review-form401 {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}
.review-form401 label:not(.review-gift401) {
  display: grid;
  gap: 4px;
}
.review-form401 textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 9px;
  resize: vertical;
  color: inherit;
  font: inherit;
  background: #102921;
  border: 1px solid #496157;
  border-radius: 8px;
}
.review-gift401 {
  display: flex;
  align-items: center;
  gap: 6px;
}
.review-gift401 input {
  accent-color: #a4ef75;
}
.review-reply-text401 {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-suggestions401 {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.review-suggestions401 legend {
  padding: 0;
  margin-bottom: 5px;
  font-weight: 700;
}
.review-suggestions401 > div,
.review-suggestions-more401 > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.review-suggestions-more401 {
  margin-top: 5px;
}
.review-suggestions-more401 > div {
  margin-top: 5px;
}
.review-suggestions401 button {
  min-height: 34px;
  max-width: 100%;
  padding: 6px 9px;
  text-align: left;
  white-space: normal;
}
.review-form-compact401 {
  gap: 5px;
}
.review-form-compact401 .review-suggestions-more401 {
  margin: 0;
}
.review-actions-compact401 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.review-actions-compact401 .review-gift401 {
  min-height: 40px;
}
.review-actions-compact401 button {
  margin-inline-start: auto;
}
