/* MoveConsole — the "By move type" pages (local, long-distance, commercial & office, moving & storage, loading help).
   Loaded after site.css and hub.css; the scripted stages live in assets/moves.js. Every screen drawn here follows the
   live admin (G:\Ext\PHP Apache\htdocs\moving) — its labels, its fields and the numbers its calculator gives. */

/* ---------- a drawn stage: a fixed canvas scaled to its box ----------
   Each stage sets its own aspect ratio and canvas size; narrow boxes (< 760px) switch to a taller canvas. Cards carry
   their label above them, clear of the screen; beams run between the cards. */
.mt-stage{
  position: relative; border-radius: 40px; overflow: hidden;
  background: radial-gradient(60% 55% at 20% 0%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 70%), linear-gradient(180deg, var(--pv1), var(--pv2));
}
.mt-stage::before{
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--accent) 22%, transparent) 1.1px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%); mask-image: radial-gradient(75% 70% at 50% 45%, #000 30%, transparent 100%);
}
.mt-stage.narrow{ border-radius: 28px; }
.mt-canvas{ position: absolute; left: 0; top: 0; transform-origin: 0 0; font-family: var(--font-ui); color: #17171f; }
.mt-stage .pv-step{ z-index: 6; left: 24px; top: 18px; }
.mt-stage.narrow .pv-step{ left: 20px; top: 16px; }
.mt-stage .pv-cursor, .mt-stage .pv-ripple{ z-index: 7; }
.mt-stage svg{ display: block; }
/* drawn icons round their line ends: the dot of an "!" or an "i" is a zero-length segment that only a round cap draws */
.mt-stage svg, .fc-vis svg, .duo-vis svg, .msd svg, .msl svg{ stroke-linecap: round; stroke-linejoin: round; }
.mt-card{ position: absolute; z-index: 2; box-sizing: border-box; border-radius: 16px; background: #fff; box-shadow: 0 40px 80px -46px rgba(46, 18, 6, .45), 0 0 0 1px rgba(23, 23, 31, .07); }
.mt-in{ position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: inherit; overflow: hidden; }
.mt-card::after{ content: ""; position: absolute; inset: -5px; border-radius: 21px; pointer-events: none; opacity: 0; }
.mt-card.ping::after{ animation: ivs-ping 1s var(--ease); }
/* a screen's label: above it, 10px clear */
.mt-tag{
  position: absolute; z-index: 3; left: 0; top: -38px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px 0 9px;
  border-radius: 99px; background: var(--c, #186ff2); color: #fff; font: 600 12px/1 var(--font); white-space: nowrap;
  box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--c, #186ff2) 80%, transparent); transition: background-color .35s var(--ease);
}
.mt-tag .ico{ width: 14px; height: 14px; }
.mt-tag.cust{ --c: #6b4de6; }
.mt-tag.crew{ --c: #0e8f74; }
.mt-tag.synced{ background: #16a34a; }
.mt-beams{ position: absolute; left: 0; top: 0; z-index: 5; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.mt-beam{ fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--accent) 55%, transparent)); }
.mt-beam-dot{ fill: #fff; stroke: var(--accent); stroke-width: 3; }
.mt-beam-end{ fill: none; stroke: var(--accent); stroke-width: 2; }
.mt-delta{
  position: absolute; z-index: 4; padding: 4px 8px; border-radius: 99px; background: var(--accent); color: #fff;
  font: 700 11px/1 var(--font-mono); font-style: normal; white-space: nowrap; opacity: 0; pointer-events: none;
}
.mt-delta.on{ animation: ivs-delta 2.4s var(--ease) forwards; }

/* ---------- what is built in: one tile per capability, each with where it lives in the product ---------- */
.mt-built{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt-b{ display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: 24px; background: var(--oat); }
.mt-b-ic{ display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--accent); }
.mt-b-ic .ico{ width: 19px; height: 19px; }
.mt-b b{ font-size: 17px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.mt-b p{ margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.mt-b-where{
  margin-top: auto; display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; min-height: 26px; padding: 4px 10px; box-sizing: border-box;
  border-radius: 8px; background: #fff; font: 500 11.5px/1.3 var(--font-mono); color: var(--muted);
}
.mt-b-where::before{ content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- the other move types ---------- */
.mt-types{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.mt-ty{ display: flex; flex-direction: column; gap: 12px; min-height: 176px; padding: 20px 20px 18px; border-radius: 24px; background: var(--oat); transition: background-color .3s var(--ease), transform .4s var(--ease); }
.mt-ty:hover{ background: color-mix(in srgb, var(--c) 9%, #fff); transform: translateY(-2px); }
.mt-code{
  align-self: flex-start; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px;
  background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 28%, transparent);
  font: 700 11px/1 var(--font-mono); letter-spacing: .04em; white-space: nowrap;
}
.mt-ty b{ font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.mt-ty small{ font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.mt-ty .ico{ margin-top: auto; align-self: flex-end; width: 18px; height: 18px; color: var(--c); transition: transform .35s var(--ease); }
.mt-ty:hover .ico{ transform: translateX(3px); }

/* ============================================================
   Local moves
   ============================================================ */
/* ---------- hero: the date she picks, the estimate that follows, the crew's timer, the bill ---------- */
.lm{ aspect-ratio: 1240 / 700; margin-top: clamp(36px, 4.5vw, 56px); }
.lm.narrow{ aspect-ratio: 640 / 1210; }
.lm .mt-canvas{ width: 1240px; height: 700px; }
.lm.narrow .mt-canvas{ width: 640px; height: 1210px; }
.lm-form{ left: 24px; top: 108px; width: 392px; height: 560px; }
.lm-est{ left: 448px; top: 108px; width: 392px; height: 560px; }
.lm-crew{ position: absolute; z-index: 2; left: 900px; top: 108px; width: 288px; height: 560px; box-sizing: border-box; padding: 8px; border-radius: 44px; background: #141519; box-shadow: 0 50px 90px -40px rgba(46, 18, 6, .55), 0 0 0 1px rgba(23, 23, 31, .12), inset 0 0 0 1.5px #34353b; }
.lm-crew .mt-tag{ left: 50%; translate: -50% 0; }
.lm.narrow .lm-form{ left: 20px; top: 108px; width: 600px; height: 548px; }
.lm.narrow .lm-est{ left: 20px; top: 706px; width: 600px; height: 476px; }
.lm.narrow .lm-crew{ display: none; }

/* her request: the booking form's first step */
.lmf-top{ flex: none; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 18px; border-bottom: 1px solid #f0f0f3; }
.lmf-brand{ display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.lmf-brand i{ display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #17171f; color: #fff; font: 700 11px/1 var(--font-ui); font-style: normal; }
.lmf-top small{ font-size: 11.5px; color: #9a9aa8; }
.lmf-steps{ flex: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 12px 18px 0; }
.lmf-steps i{ height: 4px; border-radius: 4px; background: #ececf0; }
.lmf-steps i.on{ background: #186ff2; }
.lmf-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 12px 18px 16px; }
.lmf-h{ font-size: 15px; font-weight: 600; }
.lmf-h small{ display: block; margin-top: 3px; font-size: 11.5px; font-weight: 500; color: #9a9aa8; }
.lmf-k{ margin: 12px 0 7px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a3a3b0; }
.lmf-cal{ position: relative; padding: 10px 10px 8px; border: 1px solid #ececef; border-radius: 12px; }
.lmf-mon{ display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px; font-size: 13px; font-weight: 600; }
.lmf-mon svg{ width: 14px; height: 14px; fill: none; stroke: #a3a3b0; stroke-width: 2; }
.lmf-grid{ display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.lmf-grid > span{ display: grid; place-items: center; height: 30px; border-radius: 8px; font: 600 12px/1 var(--font-ui); font-variant-numeric: tabular-nums; }
.lmf-grid > .dow{ height: 18px; font-size: 10px; font-weight: 600; color: #a3a3b0; }
.lmf-grid > .past{ color: #c9c9d4; background: #f7f7f9; }
.lmf-grid > [data-t="discount"]{ background: #e6f5ef; color: #1f7a5c; }
.lmf-grid > [data-t="regular"]{ background: #eef4fe; color: #186ff2; }
.lmf-grid > [data-t="subpeak"]{ background: #fbf3e2; color: #976611; }
.lmf-grid > [data-t="peak"]{ background: #fdeef0; color: #c0454b; }
.lmf-grid > [data-t="high"]{ background: #f1ecfe; color: #6b4de6; }
.lmf-grid > .sel{ color: #fff; box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor; }
.lmf-grid > .sel[data-t="discount"]{ background: #1f7a5c; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f7a5c; }
.lmf-grid > .sel[data-t="peak"]{ background: #c0454b; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #c0454b; }
.lmf-tip{
  position: absolute; z-index: 2; left: 0; top: 0; translate: -50% -100%; padding: 5px 9px; border-radius: 7px; background: #17171f; color: #fff;
  font: 600 11px/1 var(--font-ui); white-space: nowrap; opacity: 0; transition: opacity .25s;
}
.lmf-tip.on{ opacity: 1; }
.lmf-tip::after{ content: ""; position: absolute; left: 50%; bottom: -4px; margin-left: -4px; border: 4px solid transparent; border-bottom: 0; border-top-color: #17171f; }
.lmf-slots{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lmf-slots > span{ display: flex; align-items: center; justify-content: center; height: 34px; border: 1px solid #e4e4e9; border-radius: 9px; font-size: 12px; font-weight: 600; color: #4b4b58; white-space: nowrap; }
.lmf-slots > span.on{ border-color: #186ff2; background: #f4f8ff; color: #186ff2; }
.lmf-slots > .flex{ justify-content: flex-start; gap: 7px; padding: 0 10px; border-style: dashed; font-weight: 500; color: #8b8b98; }
.lmf-slots > .flex i{ width: 14px; height: 14px; border: 1.5px solid #c9c9d4; border-radius: 4px; }
.lmf-go{ margin-top: auto; display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 10px; background: #186ff2; color: #fff; font-size: 13px; font-weight: 600; }

/* the job in the office: its System Estimate */
.lme-head{ flex: none; display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 16px; border-bottom: 1px solid #f0f0f3; }
.lme-av{ flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #e8edf6; color: #4d6ba0; font: 600 12px/1 var(--font-ui); font-style: normal; }
.lme-who{ flex: 1; min-width: 0; }
.lme-who b{ display: block; font-size: 14px; font-weight: 600; }
.lme-who small{ display: block; margin-top: 3px; font-size: 11.5px; color: #9a9aa8; white-space: nowrap; }
.lme-code{ flex: none; height: 20px; padding: 0 7px; border-radius: 5px; background: #2563eb18; color: #2563eb; box-shadow: inset 0 0 0 1px #2563eb35; font: 700 10px/20px var(--font-mono); letter-spacing: .03em; }
.lme-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; }
.lme-k{ display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #9a9aa8; }
.lme-rate{ display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 12px; border: 1px solid #ececef; border-radius: 11px; }
.lme-rate em{ height: 20px; padding: 0 6px; border-radius: 5px; background: #eef4fe; color: #186ff2; font: 700 9.5px/20px var(--font-ui); font-style: normal; letter-spacing: .05em; }
.lme-rate b{ display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.lme-rate b i{ width: 8px; height: 8px; border-radius: 50%; background: var(--tc, #186ff2); transition: background-color .35s; }
.lme-rate small{ font-size: 11.5px; font-weight: 500; color: #9a9aa8; }
.lme-rate strong{ margin-left: auto; font: 600 12.5px/1 var(--font-mono); }
.lme-g{ border-radius: 11px; overflow: hidden; }
.lme-gh{ display: flex; align-items: center; gap: 7px; padding: 8px 11px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.lme-gh b, .lme-gr b{ margin-left: auto; font: 600 12.5px/1 var(--font-mono); letter-spacing: 0; border-radius: 4px; }
.lme-gr{ display: flex; align-items: center; gap: 10px; padding: 8px 11px; font-size: 12px; color: #3c3c48; }
.lme-gr span{ min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lme-g.labor .lme-gh{ background: #f6ecd4; color: #8a6420; } .lme-g.labor .lme-gr{ background: #fdf8ec; }
.lme-g.travel .lme-gh{ background: #fbe7ee; color: #a8406a; } .lme-g.travel .lme-gr{ background: #fdf4f7; }
.lme-g.fuel .lme-gh{ background: #e8eef9; color: #3d5e98; } .lme-g.fuel .lme-gr{ background: #f5f8fd; }
.lme-total{ position: relative; margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: #eef4fe; }
.lme-total > span{ font-size: 14px; font-weight: 600; }
.lme-total > em{ height: 20px; padding: 0 7px; border-radius: 99px; background: #16a34a; color: #fff; font: 600 10px/20px var(--font-ui); font-style: normal; opacity: 0; transition: opacity .3s; }
.lme-total.final > em{ opacity: 1; }
.lme-total > b{ margin-left: auto; font: 700 19px/1.2 var(--font-mono); letter-spacing: -.02em; color: #186ff2; border-radius: 6px; }
.lme-total .mt-delta{ right: 12px; top: -12px; }
.lme-meta{ text-align: center; font-size: 11px; color: #9a9aa8; }

/* move day: the crew app's job screen and its timer */
.lmc-screen{ position: relative; height: 100%; display: flex; flex-direction: column; border-radius: 36px; overflow: hidden; background: #f6f6f8; }
.lmc-status{ flex: none; position: relative; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 22px 0 26px; background: #fff; font: 600 12px/1 var(--font-ui); }
.lmc-status i{ position: absolute; left: 50%; top: 9px; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #000; }
.lmc-status svg{ height: 10px; width: auto; fill: #17171f; }
.lmc-status span:last-child{ display: flex; gap: 4px; }
.lmc-head{ flex: none; padding: 6px 16px 12px; background: #fff; border-bottom: 1px solid #ececef; }
.lmc-head small{ display: block; font: 600 10.5px/1 var(--font-mono); color: #186ff2; }
.lmc-head b{ display: block; margin-top: 5px; font-size: 16px; font-weight: 600; }
.lmc-head span{ display: block; margin-top: 4px; font-size: 11.5px; color: #8b8b98; }
.lmc-body{ flex: 1; min-height: 0; padding: 12px; }
.lmc-timer{ padding: 16px; border: 1px solid #cdeede; border-radius: 18px; background: #f0fbf6; transition: background-color .3s, border-color .3s; }
.lmc-timer.idle{ border-color: #ececef; background: #fff; }
.lmc-st{ display: flex; align-items: center; gap: 7px; }
.lmc-st i{ width: 8px; height: 8px; border-radius: 50%; background: #1f7a5c; }
.lmc-timer.idle .lmc-st i{ background: #c9c9d4; }
.lmc-st b{ font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1f7a5c; white-space: nowrap; }
.lmc-st small{ text-align: right; line-height: 1.3; }
.lmc-timer.idle .lmc-st b{ color: #8b8b98; }
.lmc-st small{ margin-left: auto; font-size: 11px; font-weight: 500; color: #4a8f75; }
.lmc-time{ margin: 12px 0 14px; font: 600 38px/1 var(--font-mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lmc-btns{ display: flex; gap: 8px; }
.lmc-btns span{ flex: 1; display: flex; align-items: center; justify-content: center; height: 42px; border-radius: 12px; font-size: 13px; font-weight: 600; }
.lmc-btns .pause{ border: 1.5px solid #f0e6c8; background: #fff; color: #976611; }
.lmc-btns .finish{ background: #17171f; color: #fff; }
.lmc-btns .start{ background: #1f7a5c; color: #fff; }
.lmc-rows{ margin-top: 12px; display: grid; gap: 6px; }
.lmc-rows > div{ display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: #fff; font-size: 11.5px; color: #6b6b78; }
.lmc-rows b{ font-weight: 600; color: #17171f; }
/* the finish sheet over the job screen */
.lmc-sheet{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 16px 20px; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -18px 40px -16px rgba(23, 23, 31, .3); transform: translateY(105%); transition: transform .5s var(--ease); }
.lmc-sheet.on{ transform: none; }
.lmc-sheet > b{ display: block; font-size: 15px; font-weight: 600; }
.lmc-sheet > p{ margin: 4px 0 12px; font-size: 11.5px; line-height: 1.45; color: #8b8b98; }
.lmc-cmp{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lmc-cmp > div{ padding: 9px 10px; border-radius: 10px; background: #f6f6f8; }
.lmc-cmp small{ display: block; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a3a3b0; }
.lmc-cmp b{ display: block; margin-top: 4px; font: 600 13px/1.2 var(--font-mono); }
.lmc-new{ display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px; border-radius: 11px; background: #eef4fe; font-size: 12.5px; font-weight: 600; }
.lmc-new b{ font: 700 18px/1 var(--font-mono); color: #186ff2; }
.lmc-done{ display: flex; align-items: center; justify-content: center; height: 42px; margin-top: 10px; border-radius: 12px; background: #1f7a5c; color: #fff; font-size: 13px; font-weight: 600; }

/* before the request arrives, the office card is a slot */
.lm-est .lme-body > *, .lm-est .lme-who small{ transition: opacity .45s var(--ease); }
.lm-est.blank .lme-body > *:not(.lme-k){ opacity: .16; }

/* ---------- hours: Settings → Speed Matrix, and one request through it ---------- */
.lsm{ display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 14px; align-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.lsm-card, .lsm-calc{ border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(6, 26, 63, .4), 0 0 0 1px rgba(23, 23, 31, .06); }
.lsm-card{ padding: 16px; }
.lsm-head{ display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.lsm-head b{ font-size: 15px; font-weight: 600; }
.lsm-head small{ font-size: 12.5px; color: #9a9aa8; }
.lsm-tabs{ display: flex; gap: 2px; margin-bottom: 10px; padding: 3px; border-radius: 9px; background: #f4f4f6; }
.lsm-tabs span{ flex: 1; display: grid; place-items: center; height: 24px; border-radius: 6px; font: 600 11px/1 var(--font-mono); color: #8b8b98; }
.lsm-tabs span.on{ background: #fff; color: #186ff2; box-shadow: 0 1px 2px rgba(23, 23, 31, .1); }
.lsm-rows > div{ display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 9px; font-size: 12.5px; transition: background-color .35s var(--ease), box-shadow .35s var(--ease); }
.lsm-rows span{ flex: 1; font-weight: 500; color: #2c2c38; }
.lsm-rows b{ width: 64px; height: 28px; display: grid; place-items: center; border: 1px solid #e4e4e9; border-radius: 7px; font: 600 12.5px/1 var(--font-mono); }
.lsm-rows em{ width: 40px; text-align: right; font: 600 11.5px/1 var(--font-mono); font-style: normal; color: #8b8b98; }
.lsm-rows > div.on{ background: #eef4fe; box-shadow: inset 0 0 0 1.5px #c9dcfb; }
.lsm-rows > div.on b{ border-color: #186ff2; color: #186ff2; }
.lsm-calc{ display: grid; gap: 14px; padding: 18px; }
.lsm-k{ font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #a3a3b0; }
.lsm-eq{ display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px 10px; }
.lsm-eq > span{ display: grid; gap: 4px; }
.lsm-eq b{ font: 700 24px/1 var(--font-mono); letter-spacing: -.02em; }
.lsm-eq small{ font-size: 11px; color: #9a9aa8; }
.lsm-eq i{ font: 500 20px/1 var(--font-ui); font-style: normal; color: #b0b0bb; padding-top: 2px; }
.lsm-to{ display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 10px; background: #f6f6f8; font-size: 12.5px; color: #6b6b78; }
.lsm-to b{ font-weight: 600; color: #17171f; }
.lsm-res{ display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 11px; background: #eef4fe; font-size: 13px; font-weight: 600; }
.lsm-res b{ font: 700 18px/1 var(--font-mono); color: #186ff2; }

/* ---------- the bill: price control, and the portal's balance choice ---------- */
.lpc, .lpp{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.lpc-card{ box-sizing: border-box; width: min(100%, 400px); padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(6, 26, 63, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.lpc-row{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f3; font-size: 13px; font-weight: 500; color: #4b4b58; }
.lpc-row small{ font-size: 11.5px; font-weight: 450; color: #9a9aa8; }
.lpc-sel, .lpc-in{ display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; box-sizing: border-box; border: 1px solid #e4e4e9; border-radius: 8px; font: 600 13px/1 var(--font-ui); color: #17171f; white-space: nowrap; }
.lpc-in{ font-family: var(--font-mono); }
.lpc-sel svg{ width: 13px; height: 13px; fill: none; stroke: #9a9aa8; stroke-width: 2; }
.lpc-total{ display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px; border-radius: 11px; background: #eef4fe; font-size: 13px; font-weight: 600; }
.lpc-total b{ font: 700 16px/1 var(--font-mono); color: #186ff2; }
.lpc-lock{ display: flex; align-items: center; gap: 11px; margin-top: 10px; padding: 12px; border-radius: 11px; background: #17171f; color: #fff; }
.lpc-lock svg{ flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.lpc-lock b{ display: block; font-size: 13px; font-weight: 600; }
.lpc-lock small{ display: block; margin-top: 2px; font-size: 11.5px; color: rgba(255, 255, 255, .62); }
/* the portal's balance card (assets/ui/portal-balance), on the gradient */
.lpp-ui{ width: min(100%, 440px); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(6, 26, 63, .4); }

/* ---------- a day of local moves on one truck: the day view, drawn ---------- */
.lmd{ aspect-ratio: 1240 / 590; }
.lmd.narrow{ aspect-ratio: 640 / 592; }
.lmd .mt-canvas{ width: 1240px; height: 590px; }
.lmd.narrow .mt-canvas{ width: 640px; height: 592px; }
.lmd-win{ left: 24px; top: 108px; width: 1192px; height: 456px; }
.lmd.narrow .lmd-win{ left: 20px; top: 108px; width: 600px; height: 462px; }
.lmd-bar{ flex: none; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-bottom: 1px solid #ececef; }
.lmd-bar .back{ display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid #e4e4e9; border-radius: 9px; font-size: 12.5px; font-weight: 600; }
.lmd-booked{ display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 8px; background: #e6f5ef; color: #1f7a5c; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lmd-date{ margin: 0 auto; text-align: center; }
.lmd-date b{ display: block; font-size: 14.5px; font-weight: 600; }
.lmd-date small{ display: block; font-size: 11px; color: #9a9aa8; }
.lmd-legend{ display: flex; gap: 12px; font-size: 11.5px; color: #6b6b78; }
.lmd-legend i{ display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 3px; vertical-align: 0; }
.lmd-grid{ position: relative; flex: 1; min-height: 0; }
.lmd-hours{ position: absolute; left: 148px; right: 0; top: 0; height: 30px; border-bottom: 1px solid #ececef; }
.lmd-hours span{ position: absolute; top: 9px; font-size: 10.5px; font-weight: 600; color: #a3a3b0; translate: -50% 0; white-space: nowrap; }
.lmd-row{ position: absolute; left: 0; right: 0; height: 92px; border-bottom: 1px solid #f0f0f3; }
.lmd-row > .lab{ position: absolute; left: 0; top: 0; bottom: 0; width: 148px; box-sizing: border-box; padding: 18px 14px; border-right: 1px solid #ececef; }
.lmd-row > .lab b{ display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; background: var(--rc, #4f46e5); color: #fff; font-size: 11px; font-weight: 700; }
.lmd-row > .lab small{ display: block; margin-top: 6px; font-size: 11px; color: #9a9aa8; }
.lmd-row.un{ background: #fffbf3; }
.lmd-row.un > .lab b{ background: none; padding: 0; color: #b47a1c; font-size: 11px; letter-spacing: .06em; }
.lmd-job{
  position: absolute; z-index: 2; top: 12px; height: 66px; box-sizing: border-box; padding: 9px 11px; border-radius: 10px;
  border-left: 3px solid var(--jc, #2563eb); background: #fff; box-shadow: 0 0 0 1px #e8e8ee, 0 10px 22px -16px rgba(23, 23, 31, .4); overflow: hidden;
}
.lmd-job .top{ display: flex; align-items: center; gap: 6px; font: 600 10.5px/1 var(--font-mono); color: #6b6b78; }
.lmd-job .top em{ height: 16px; padding: 0 5px; border-radius: 4px; background: #2563eb18; color: #2563eb; box-shadow: inset 0 0 0 1px #2563eb35; font: 700 9px/16px var(--font-mono); font-style: normal; }
.lmd-job .top .crew{ margin-left: auto; font-family: var(--font-ui); font-weight: 600; color: #1f7a5c; }
.lmd-job b{ display: block; margin-top: 5px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lmd-job small{ display: block; margin-top: 3px; font: 500 10.5px/1 var(--font-mono); color: #9a9aa8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* the arrival window, and the striped tail of time the job may not need */
.lmd-win-strip{ position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 0 3px 0 0; background: #e8a33d; }
.lmd-tail{
  position: absolute; z-index: 1; top: 12px; height: 66px; border-radius: 0 10px 10px 0;
  background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--jc, #2563eb) 14%, transparent) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jc, #2563eb) 20%, transparent);
}
.lmd-tail span{ position: absolute; right: 8px; bottom: 6px; font-size: 9.5px; font-weight: 600; color: color-mix(in srgb, var(--jc, #2563eb) 70%, #17171f); white-space: nowrap; }
.lmd-drive{
  position: absolute; z-index: 1; top: 26px; height: 38px; display: grid; place-items: center; box-sizing: border-box; border: 1px dashed #c9c9d4; border-radius: 9px;
  background: #fafafb; font: 600 10px/1.1 var(--font-ui); color: #8b8b98; text-align: center;
}
.lmd-drive svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lmd-assign{ position: absolute; z-index: 3; right: 10px; top: 50%; translate: 0 -50%; height: 22px; padding: 0 8px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px #c9dcfb; color: #186ff2; font-size: 10.5px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.lmd-new{ z-index: 4; transition: box-shadow .3s var(--ease); }
/* a narrow day view: the trucks' column and the bar make room for the hours */
.lmd.narrow .lmd-legend, .lmd.narrow .lmd-bar .back{ display: none; }
.lmd.narrow .lmd-date{ margin: 0 0 0 auto; text-align: right; }
.lmd.narrow .lmd-hours{ left: 112px; }
.lmd.narrow .lmd-row > .lab{ width: 112px; padding: 16px 10px; }
.lmd-job.lifted{ box-shadow: 0 0 0 2px #186ff2, 0 22px 34px -14px rgba(24, 111, 242, .55); }
.lmd-win-strip.hot{ animation: lmd-hot 1.8s var(--ease); }
@keyframes lmd-hot{ 25%, 70%{ height: 9px; background: #f59e0b; box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); } }

@media (max-width: 860px){
  .lsm{ grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   Long-distance moves
   ============================================================ */
/* ---------- hero: a long trip, recognized and split into days — each day priced on its own ---------- */
.ldh{ aspect-ratio: 1240 / 744; margin-top: clamp(36px, 4.5vw, 56px); }
.ldh.narrow{ aspect-ratio: 640 / 1460; }
.ldh .mt-canvas{ width: 1240px; height: 744px; }
.ldh.narrow .mt-canvas{ width: 640px; height: 1460px; }
.ld-job{ left: 24px; top: 108px; width: 700px; height: 612px; }
.ld-est{ left: 756px; top: 108px; width: 460px; height: 612px; }
.ldh.narrow .ld-job{ left: 20px; top: 108px; width: 600px; height: 610px; }
.ldh.narrow .ld-est{ left: 20px; top: 766px; width: 600px; height: 670px; }
.ldj-head{ flex: none; display: flex; align-items: center; gap: 11px; height: 62px; padding: 0 18px; border-bottom: 1px solid #f0f0f3; }
.ldj-av{ flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #e8edf6; color: #4d6ba0; font: 600 12.5px/1 var(--font-ui); font-style: normal; }
.ldj-who{ flex: 1; min-width: 0; }
.ldj-who b{ display: block; font-size: 14.5px; font-weight: 600; }
.ldj-who small{ display: block; margin-top: 3px; font-size: 11.5px; color: #9a9aa8; }
.mt-chip{ flex: none; height: 22px; padding: 0 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent); font: 700 10.5px/22px var(--font-mono); letter-spacing: .04em; white-space: nowrap; transition: background-color .4s, color .4s, box-shadow .4s; }
.ldj-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; }
.ldj-route{ display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #ececef; border-radius: 13px; }
.ldj-route small{ display: block; font-size: 10px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.ldj-route b{ display: block; margin-top: 5px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ldj-route span.zip{ display: block; margin-top: 2px; font: 500 11.5px/1 var(--font-mono); color: #9a9aa8; }
.ldj-route .to{ text-align: right; }
.ldj-route .to b:empty::before{ content: "Destination…"; color: #c9c9d4; font-weight: 500; }
.ldj-mid{ display: grid; justify-items: center; gap: 4px; }
.ldj-mid i{ display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #e4e4e9; border-radius: 9px; color: #9a9aa8; }
.ldj-mid i svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.ldj-mid b{ margin: 0; font: 600 11.5px/1 var(--font-mono); color: #9a9aa8; }
.ldj-mid em{ font-size: 10.5px; font-style: normal; color: #b0b0bb; white-space: nowrap; }
.ldj-md{ display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #f7f7f9; }
.ldj-md span{ flex: 1; }
.ldj-md b{ display: block; font-size: 13.5px; font-weight: 600; }
.ldj-md small{ display: block; margin-top: 2px; font-size: 11.5px; color: #9a9aa8; }
.ldj-tog{ flex: none; position: relative; width: 38px; height: 22px; border-radius: 11px; background: #d7d7de; transition: background-color .3s; }
.ldj-tog::after{ content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .3s var(--ease); }
.ldj-tog.on{ background: #1f7a5c; }
.ldj-tog.on::after{ transform: translateX(16px); }
.ldj-k{ display: flex; align-items: center; justify-content: space-between; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.ldj-sess{ display: grid; gap: 6px; }
.ldj-s{ display: grid; grid-template-columns: 126px minmax(0, 1fr) 132px 74px 86px; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border: 1px solid #ececef; border-radius: 10px; font-size: 12px; color: #4b4b58; white-space: nowrap; }
.ldj-s > b{ display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--sc); }
.ldj-s > b i{ display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--sb); }
.ldj-s > b svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ldj-s .tm{ font-family: var(--font-mono); font-size: 11.5px; }
.ldj-s .rt{ justify-self: end; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #17171f; }
.ldj-s .rt i{ width: 7px; height: 7px; border-radius: 50%; background: var(--tc, #186ff2); }
.ldj-s .span{ grid-column: 2 / 5; color: #6d3fd4; font-weight: 500; }
.ldj-s.new{ animation: ivp-in .45s var(--ease); }
.ldj-s.hot{ border-color: #c9dcfb; background: #f7faff; }
.ldj-btns{ display: flex; gap: 8px; margin-top: auto; }
.ldj-btns span{ display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px dashed #c9d3e6; border-radius: 9px; color: #186ff2; font-size: 12px; font-weight: 600; }
.ldj-btns svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ldj-warn{ font-size: 11.5px; color: #b45309; }
/* the job's System Estimate: one card per session, as the drawer draws them */
.lde-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.lde-k{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #9a9aa8; }
.lde-k .mt-chip{ height: 20px; line-height: 20px; font-size: 9.5px; }
.lde-ph{ border: 1px solid var(--pb); border-radius: 11px; overflow: hidden; background: var(--pbg); }
.lde-ph.new{ animation: ivp-in .45s var(--ease); }
.lde-ph > div:first-child{ display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--phd); }
.lde-ph > div:first-child span{ display: inline-flex; align-items: center; gap: 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ptx); }
.lde-ph > div:first-child span i{ display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: var(--pic); }
.lde-ph > div:first-child svg{ width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lde-ph > div:first-child b{ font: 700 12.5px/1 var(--font-mono); color: var(--ptx); }
.lde-ph > div:last-child{ padding: 8px 12px; }
.lde-ph p{ margin: 0; font-size: 12px; color: #5b5b68; }
.lde-ph small{ display: block; margin-top: 2px; font-size: 11px; color: #a3a3b0; }
.lde-ph[data-t="loading"]{ --pb: #d6e4f5; --pbg: #f6f9fd; --phd: #e7eff9; --ptx: #2563a8; --pic: #c4d9ef; }
.lde-ph[data-t="unloading"]{ --pb: #d9ecdf; --pbg: #f4faf6; --phd: #e3f2ea; --ptx: #1f7a5c; --pic: #bfe4d1; }
.lde-ph[data-t="overnight"]{ --pb: #e4dcf5; --pbg: #f8f6fd; --phd: #efe9fb; --ptx: #6d3fd4; --pic: #d7c9f2; }
.lde-ph[data-t="driving"]{ --pb: #f0e6cf; --pbg: #fdfaf2; --phd: #faf1dd; --ptx: #8a5d10; --pic: #f0d99a; }
.lde-sum{ position: relative; margin-top: auto; display: grid; gap: 4px; padding: 13px 14px; border-radius: 12px; background: #fff3ec; }
.lde-sum div{ display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.lde-sum b{ font: 700 19px/1.2 var(--font-mono); letter-spacing: -.02em; color: var(--accent); border-radius: 6px; }
.lde-sum small{ font-size: 11px; color: #9a8478; }

/* ---------- three days on the calendar, and the crew app between them ---------- */
.ldw{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; position: relative; width: min(100%, 560px); font-family: var(--font-ui); color: #17171f; }
.ldw-day{ display: flex; flex-direction: column; gap: 6px; min-height: 176px; padding: 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ececef; }
.ldw-day > b{ font-size: 12px; font-weight: 600; }
.ldw-day > b small{ margin-left: 4px; font-weight: 500; color: #9a9aa8; }
.ldw-card{ padding: 8px 9px; border-radius: 9px; border-left: 3px solid #ea580c; background: #fff7f2; box-shadow: inset 0 0 0 1px #f9dccb; }
.ldw-card .top{ display: flex; align-items: center; gap: 5px; font: 600 10px/1 var(--font-mono); color: #9a8478; }
.ldw-card .top em{ padding: 2px 4px; border-radius: 4px; background: #ea580c18; color: #ea580c; box-shadow: inset 0 0 0 1px #ea580c35; font-style: normal; font-weight: 700; font-size: 9px; }
.ldw-card b{ display: block; margin-top: 5px; font-size: 12px; font-weight: 600; }
.ldw-card small{ display: block; margin-top: 3px; font-size: 10.5px; color: #8b8b98; }
.ldw-truck{ display: inline-flex; align-items: center; gap: 5px; margin-top: auto; align-self: flex-start; height: 22px; padding: 0 8px; border-radius: 6px; background: #f4f4f6; font-size: 10.5px; font-weight: 600; color: #5b5b68; }
.ldw-night{ position: absolute; z-index: 1; height: 26px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed #b9a6ec; border-radius: 99px; background: #f8f6fd; color: #6d3fd4; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ldw-night svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ldf-phone{ width: min(100%, 300px); box-sizing: border-box; padding: 7px; border-radius: 40px; background: #141519; box-shadow: 0 40px 70px -40px rgba(46, 18, 6, .5), inset 0 0 0 1.5px #34353b; }
.ldf-screen{ border-radius: 33px; overflow: hidden; background: #f6f6f8; font-family: var(--font-ui); color: #17171f; }
.ldf-head{ padding: 30px 16px 12px; background: #fff; border-bottom: 1px solid #ececef; }
.ldf-head small{ display: block; font: 600 10.5px/1 var(--font-mono); color: #ea580c; }
.ldf-head b{ display: block; margin-top: 5px; font-size: 15px; font-weight: 600; }
.ldf-head span{ display: block; margin-top: 4px; font-size: 11.5px; color: #8b8b98; }
.ldf-body{ display: grid; gap: 8px; padding: 12px; }
.ldf-day{ display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fff; font-size: 12px; }
.ldf-day i{ flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #e6f5ef; color: #1f7a5c; font: 700 11px/1 var(--font-mono); font-style: normal; }
.ldf-day span{ flex: 1; }
.ldf-day b{ font: 600 12px/1 var(--font-mono); }
.ldf-day.now i{ background: #17171f; color: #fff; }
.ldf-timer{ padding: 14px; border: 1px solid #cdeede; border-radius: 16px; background: #f0fbf6; }
.ldf-timer .st{ display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1f7a5c; }
.ldf-timer .st i{ width: 8px; height: 8px; border-radius: 50%; background: #1f7a5c; }
.ldf-timer .tm{ margin: 10px 0 12px; font: 600 32px/1 var(--font-mono); letter-spacing: -.03em; }
.ldf-timer .btns{ display: flex; gap: 7px; }
.ldf-timer .btns span{ flex: 1; display: grid; place-items: center; height: 38px; border-radius: 11px; font-size: 12.5px; font-weight: 600; }
.ldf-timer .done{ background: #fff; box-shadow: inset 0 0 0 1.5px #c9dcfb; color: #186ff2; }
.ldf-timer .fin{ background: #17171f; color: #fff; }
.ldf-sum{ display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 11px; background: #fff; font-size: 12px; color: #6b6b78; }
.ldf-sum b{ font: 600 12px/1 var(--font-mono); color: #17171f; }

/* ---------- what the customer sees: the portal's Move schedule ---------- */
.ldp{ display: grid; place-items: center; padding: clamp(16px, 2.4vw, 28px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
/* the portal's move card, multi-day (assets/ui/portal-schedule) */
.ldp-ui{ width: min(100%, 560px); border-radius: 16px; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4); }

/* ---------- the settings that make a trip long distance: Basic Rates and Fuel Settings ---------- */
.lds{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.lds-card{ box-sizing: border-box; width: min(100%, 420px); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.lds-h b{ display: block; font-size: 14px; font-weight: 600; }
.lds-h small{ display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: #9a9aa8; }
.lds-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.lds-f small{ display: block; margin-bottom: 6px; font-size: 11px; font-weight: 600; color: #6b6b78; }
.lds-f b{ display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 11px; box-sizing: border-box; border: 1px solid #e4e4e9; border-radius: 8px; font: 600 13px/1 var(--font-mono); }
.lds-f b span{ font-family: var(--font-ui); font-size: 11.5px; font-weight: 500; color: #9a9aa8; }
.lds-f em{ display: block; margin-top: 5px; font-size: 11px; font-style: normal; color: #9a9aa8; }
.lds-f.hot b{ border-color: #ea580c; box-shadow: 0 0 0 3px #ea580c22; }
.lds-out{ display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 11px 12px; border-radius: 11px; background: #fff3ec; font-size: 12.5px; color: #6b4a3a; }
.lds-out b{ font: 700 14px/1 var(--font-mono); color: #ea580c; white-space: nowrap; }
.lds-flip{ display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 11px; background: #f7f7f9; font-size: 12.5px; color: #4b4b58; }
.lds-flip > span:first-child{ flex: 1; }
.lds-flip svg{ width: 14px; height: 14px; fill: none; stroke: #b0b0bb; stroke-width: 2; }

/* ---------- responsive ---------- */
@media (max-width: 1100px){
  .mt-built, .mt-types{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .ldw{ grid-template-columns: minmax(0, 1fr); }
  .ldw-day{ min-height: 0; }
  .ldw-night{ display: none; }
  .lds-grid{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px){
  .mt-built, .mt-types{ grid-template-columns: 1fr; }
}
.lds-pm b{ border-color: transparent; background: #f6f5fe; font: 600 12.5px/1 var(--font-ui); color: #4b3fd4; }
/* a phone: a session's time or nights go under its name, so the schedule never widens the page */
@media (max-width: 560px){
  .ldp{ padding: 12px; }
}

/* ============================================================
   Commercial & office moves
   ============================================================ */
/* ---------- hero: one price for an office — set, locked, paid, signed on site, closed as agreed ---------- */
.cmh{ aspect-ratio: 1240 / 760; margin-top: clamp(36px, 4.5vw, 56px); }
.cmh.narrow{ aspect-ratio: 640 / 1530; }
.cmh .mt-canvas{ width: 1240px; height: 760px; }
.cmh.narrow .mt-canvas{ width: 640px; height: 1530px; }
.cm-job{ left: 24px; top: 108px; width: 868px; height: 628px; }
.cm-crew{ position: absolute; z-index: 2; left: 924px; top: 122px; width: 288px; height: 600px; box-sizing: border-box; padding: 8px; border-radius: 44px; background: #141519; box-shadow: 0 50px 90px -40px rgba(46, 18, 6, .55), 0 0 0 1px rgba(23, 23, 31, .12), inset 0 0 0 1.5px #34353b; }
.cm-crew .mt-tag{ left: 50%; translate: -50% 0; }
.cmh.narrow .cm-job{ left: 20px; top: 108px; width: 600px; height: 746px; }
.cmh.narrow .cm-crew{ left: 176px; top: 930px; height: 576px; }

/* the job in the office: the Details and Payments tabs, the System Estimate beside them (as the drawer lays them out) */
.cmj-body{ position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.cmj-main{ display: flex; flex-direction: column; min-width: 0; min-height: 0; border-right: 1px solid #f0f0f3; }
.cmj-tabs{ flex: none; display: flex; gap: 18px; height: 42px; padding: 0 18px; border-bottom: 1px solid #ececef; overflow: hidden; }
.cmj-tabs span{ position: relative; flex: none; display: flex; align-items: center; font-size: 12.5px; font-weight: 500; color: #8b8b98; transition: color .3s; }
.cmj-tabs span.on{ color: #17171f; font-weight: 600; }
.cmj-tabs span.on::after{ content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: #186ff2; }
.cmj-pane{ position: relative; flex: 1; min-height: 0; padding: 16px 18px; overflow: hidden; }
.cmj-pane[hidden]{ display: none; }

/* Details: the fields the job is edited in (admin.tpl.php) */
.cmd{ display: grid; gap: 14px; }
.cmd-row{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px; gap: 12px; }
.cmd-f{ min-width: 0; }
.cmd-f > small{ display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; color: #6b6b78; white-space: nowrap; }
.cmd-f > small i{ font-style: normal; font-weight: 400; color: #b0b0bb; }
.cmd-in{ position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 11px; box-sizing: border-box; border: 1px solid #e4e4e9; border-radius: 8px; background: #fff; font-size: 13px; color: #17171f; white-space: nowrap; transition: border-color .25s, box-shadow .25s; }
.cmd-in.mono{ font-family: var(--font-mono); font-size: 12.5px; }
.cmd-in.ph{ color: #b0b0bb; }
.cmd-in > svg{ flex: none; width: 13px; height: 13px; fill: none; stroke: #9a9aa8; stroke-width: 2; }
.cmd-in.hot{ border-color: #186ff2; box-shadow: 0 0 0 3px rgba(24, 111, 242, .14); }
.cmd-in .cur{ margin-right: 4px; font-style: normal; color: #9a9aa8; }
.cmd-in .sel{ border-radius: 3px; background: rgba(24, 111, 242, .2); }
.cmd-dd{ position: absolute; left: -1px; right: -1px; top: 40px; z-index: 4; padding: 4px; border-radius: 10px; background: #fff; box-shadow: 0 18px 36px -14px rgba(23, 23, 31, .32), 0 0 0 1px #ececef; opacity: 0; translate: 0 -4px; transition: opacity .2s, translate .2s; pointer-events: none; }
.cmd-dd.on{ opacity: 1; translate: 0 0; }
.cmd-dd span{ display: flex; align-items: center; height: 30px; padding: 0 9px; border-radius: 7px; font-family: var(--font-ui); font-size: 12.5px; }
.cmd-dd span.on{ background: #eef4fe; color: #186ff2; font-weight: 600; }
.cmd-sec{ margin-bottom: -4px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.cmd-addr{ display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; }
.cmd-acc{ display: grid; grid-template-columns: 92px minmax(0, 1fr) 92px minmax(0, 1fr); gap: 10px; }
.cmd-save{ justify-self: end; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: #186ff2; color: #fff; font-size: 12.5px; font-weight: 600; opacity: .4; transition: opacity .3s; }
.cmd-save.on{ opacity: 1; }

/* Payments (js/payments-drawer.js): the contract card, FINANCIALS, Review & Close, recording a payment, the history */
.cmp{ display: flex; flex-direction: column; gap: 12px; }
.cmp[hidden], .cmp [hidden]{ display: none; }
.cmp-con{ display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 14px; box-sizing: border-box; border: 1px solid #ececef; border-radius: 11px; transition: background-color .4s, border-color .4s; }
.cmp-con > i{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f2f2f5; color: #8b8b98; transition: background-color .4s, color .4s; }
.cmp-con > i svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmp-con > span{ flex: 1; min-width: 0; }
.cmp-con b{ display: block; font-size: 13.5px; font-weight: 600; }
.cmp-con small{ display: block; margin-top: 2px; font-size: 11.5px; color: #9a9aa8; }
.cmp-con em{ display: none; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid #c9dcfb; border-radius: 8px; background: #fff; color: #186ff2; font-size: 12px; font-weight: 600; font-style: normal; }
.cmp-con em svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cmp-con .ok{ display: none; }
.cmp-con.signed .ok{ display: block; }
.cmp-con.signed .doc{ display: none; }
.cmp-con.signed{ border-color: #d6ecdf; background: #f4fbf7; }
.cmp-con.signed > i{ background: #e6f5ef; color: #1f7a5c; }
.cmp-con.signed small{ color: #1f7a5c; }
.cmp-con.signed em{ display: inline-flex; }
.cmp-fin{ padding: 13px 16px 14px; border: 1px solid #ececef; border-radius: 12px; }
.cmp-fh{ display: flex; align-items: center; gap: 12px; height: 30px; margin-bottom: 10px; }
.cmp-fh > span:first-child{ flex: 1; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.cmp-lock{ display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 550; color: #186ff2; }
.cmp-adj{ display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; box-sizing: border-box; border: 1px solid #c9dcfb; border-radius: 8px; background: #eef4fe; color: #186ff2; font-size: 12px; font-weight: 600; }
.cmp-lock svg, .cmp-adj svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.cmp-grid{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 18px; }
.cmp-v{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cmp-v > small{ display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: #9a9aa8; }
.cmp-v > b{ align-self: flex-start; font: 600 17px/1.15 var(--font-mono); color: #17171f; white-space: nowrap; border-radius: 5px; }
.cmp-v > b em{ margin-left: 5px; font: 400 10.5px/1 var(--font-ui); font-style: normal; color: #b0b0bb; }
.cmp-v > span{ display: flex; align-items: center; gap: 8px; }
.cmp-v > span b{ font: 600 14px/1.15 var(--font-mono); border-radius: 5px; }
.cmp-v > i{ font-size: 10.5px; font-style: normal; color: #9a9aa8; }
.cmp-v .due{ color: #a85a1e; }
.cmp-chip{ display: inline-flex; align-items: center; gap: 4px; height: 18px; padding: 0 6px; border-radius: 5px; font: 600 9.5px/1 var(--font-ui); letter-spacing: .03em; }
.cmp-chip svg{ width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.6; }
.cmp-chip.lock{ background: #eef4fe; color: #186ff2; }
.cmp-chip.closed, .cmp-chip.paid{ background: #e6f5ef; color: #1f7a5c; }
.cmp-chip.pend{ background: #faf1dd; color: #8a5d10; }
.cmp-rc{ padding: 11px 13px 12px; border: 1px solid #f6e2b8; border-radius: 11px; background: #fef8ec; }
.cmp-rc > div:first-child{ display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #8a5d10; }
.cmp-rc > div:first-child svg{ width: 15px; height: 15px; fill: none; stroke: #c58a1e; stroke-width: 2; }
.cmp-rc > div:first-child em{ white-space: nowrap; height: 18px; padding: 0 6px; border-radius: 5px; background: #faf1dd; font: 600 9.5px/18px var(--font-ui); font-style: normal; letter-spacing: .03em; }
.cmp-rc p{ margin: 0 0 9px; font-size: 11.5px; line-height: 1.45; color: #976611; }
.cmp-rc p b{ font-family: var(--font-mono); }
.cmp-rc-row{ display: flex; gap: 8px; }
.cmp-rc-row > span{ display: flex; align-items: center; height: 32px; padding: 0 10px; box-sizing: border-box; border: 1px solid #e8d9b4; border-radius: 8px; background: #fff; font-size: 12px; color: #17171f; white-space: nowrap; }
.cmp-rc-row .t{ width: 104px; font: 600 12.5px/1 var(--font-mono); }
.cmp-rc-row .n{ flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #b9a87f; }
.cmp-rc-row .go{ border: 0; background: #8a5d10; color: #fff; font-weight: 600; }
.cmp-done{ display: flex; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid #d6ecdf; border-radius: 11px; background: #f4fbf7; }
.cmp-done > i{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e6f5ef; color: #1f7a5c; }
.cmp-done > i svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.cmp-done > span{ flex: 1; min-width: 0; }
.cmp-done b{ display: block; font-size: 13px; font-weight: 600; }
.cmp-done b em{ font-family: var(--font-mono); font-style: normal; }
.cmp-done small{ display: block; margin-top: 2px; font-size: 11.5px; color: #1f7a5c; }
.cmp-done > u{ font-size: 11.5px; font-weight: 550; color: #9a9aa8; }
.cmp-act{ display: flex; gap: 10px; }
.cmp-act span{ flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; height: 38px; border-radius: 9px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.cmp-act svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cmp-act .rec{ background: #186ff2; color: #fff; }
.cmp-act .link{ box-shadow: inset 0 0 0 1px #c9dcfb; background: #fff; color: #186ff2; }
.cmp-rec{ padding: 12px 14px 13px; border: 1px solid #c9dcfb; border-radius: 11px; background: #f7faff; }
.cmp-rec > b{ display: block; margin-bottom: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #186ff2; }
.cmp-rec-g{ display: grid; grid-template-columns: 112px minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.cmp-rec .cmd-in{ height: 34px; font-size: 12.5px; }
.cmp-rec .cmd-dd{ top: auto; bottom: 38px; translate: 0 4px; }
.cmp-rec-foot{ display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.cmp-rec-foot span{ display: flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.cmp-rec-foot .cancel{ box-shadow: inset 0 0 0 1px #e4e4e9; background: #fff; color: #4b4b58; }
.cmp-rec-foot .save{ background: #186ff2; color: #fff; }
.cmp-hk{ margin-bottom: -4px; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.cmp-hist{ border: 1px solid #ececef; border-radius: 11px; overflow: hidden; }
.cmp-h-empty{ padding: 13px; text-align: center; font-size: 12px; color: #9a9aa8; }
.cmp-h-row{ display: flex; align-items: center; gap: 11px; padding: 10px 13px; }
.cmp-h-row + .cmp-h-row{ border-top: 1px solid #f4f4f6; }
.cmp-h-row.new{ animation: ivp-in .45s var(--ease); }
.cmp-h-row > i{ flex: none; width: 7px; height: 7px; border-radius: 50%; background: #1f7a5c; }
.cmp-h-row > span{ flex: 1; min-width: 0; font-size: 12.5px; }
.cmp-h-row > span b{ font-weight: 600; }
.cmp-h-row > span em{ margin-left: 6px; font-style: normal; color: #9a9aa8; }
.cmp-h-row > span small{ display: block; margin-top: 2px; font-size: 11px; color: #9a9aa8; }
.cmp-h-row > b{ font: 600 12.5px/1 var(--font-mono); color: #1f7a5c; }

/* the System Estimate beside the tabs (js/admin/drawer.js: LABOR, TRAVEL TIME, EXTRA, the total) */
.cmj-side{ display: flex; flex-direction: column; gap: 7px; min-height: 0; padding: 14px 16px 16px; background: #fcfcfd; }
.cmj-side .lme-rate{ height: 40px; background: #fff; }
.cme-g{ border-radius: 10px; overflow: hidden; }
.cme-gh{ display: flex; align-items: center; padding: 7px 10px; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.cme-gh b{ margin-left: auto; font: 600 11.5px/1 var(--font-mono); letter-spacing: 0; border-radius: 4px; }
.cme-gr{ display: flex; align-items: center; gap: 8px; padding: 6px 10px; font-size: 11px; color: #3c3c48; }
.cme-gr span{ flex: 1; min-width: 0; line-height: 1.4; }
.cme-gr span em{ display: inline-block; margin-left: 4px; padding: 1px 4px; border-radius: 4px; background: #d9f6e4; color: #067647; font: 600 8px/1.4 var(--font-ui); font-style: normal; letter-spacing: .02em; text-transform: uppercase; vertical-align: 1px; }
.cme-gr b{ font: 600 11px/1 var(--font-mono); white-space: nowrap; border-radius: 4px; }
.cme-g.labor .cme-gh{ background: #f6ecd4; color: #8a6420; } .cme-g.labor .cme-gr{ background: #fdf8ec; }
.cme-g.travel .cme-gh{ background: #fbe7ee; color: #a8406a; } .cme-g.travel .cme-gr{ background: #fdf4f7; }
.cme-g.extra .cme-gh{ background: #eaeef6; color: #4d5b73; } .cme-g.extra .cme-gr{ background: #f6f8fb; }
.cme-tot{ margin-top: 4px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 11px; background: #eef4fe; font-size: 13px; font-weight: 600; }
.cme-tot b{ font: 700 16px/1.2 var(--font-mono); letter-spacing: -.02em; color: #186ff2; border-radius: 5px; white-space: nowrap; }
.cme-meta{ text-align: center; font-size: 10.5px; line-height: 1.4; color: #9a9aa8; }

/* the office's modal, and its toast */
.cm-veil{ position: absolute; inset: 0; z-index: 5; background: rgba(23, 23, 31, .3); opacity: 0; transition: opacity .3s; pointer-events: none; }
.cm-veil.on{ opacity: 1; }
.cm-modal{ position: absolute; z-index: 6; left: 50%; top: 50%; width: 340px; box-sizing: border-box; padding: 18px; border-radius: 14px; background: #fff; box-shadow: 0 24px 64px rgba(23, 23, 31, .24), 0 0 0 1px #ececef; translate: -50% -46%; opacity: 0; transition: opacity .3s, translate .35s var(--ease); pointer-events: none; }
.cm-modal.on{ opacity: 1; translate: -50% -50%; }
.cm-modal > b{ display: block; font-size: 15px; font-weight: 600; }
.cm-modal > p{ margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #8b8b98; }
.cm-mf{ margin-top: 14px; }
.cm-mf > small, .cm-mf > div > small{ display: block; margin-bottom: 6px; font-size: 11.5px; font-weight: 600; color: #6b6b78; }
.cm-mf > small i{ font-style: normal; color: #c0454b; }
.cm-mf > div{ display: flex; align-items: center; justify-content: space-between; }
.cm-mf > em{ display: block; margin-top: 5px; font-size: 10.5px; font-style: normal; color: #9a9aa8; }
.cm-seg{ display: inline-flex; gap: 2px; margin-bottom: 6px; padding: 2px; border-radius: 8px; background: #f2f2f5; }
.cm-seg span{ display: grid; place-items: center; height: 22px; padding: 0 11px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #8b8b98; }
.cm-seg span.on{ background: #186ff2; color: #fff; }
.cm-mfoot{ display: flex; gap: 8px; margin-top: 18px; }
.cm-mfoot span{ flex: 1; display: grid; place-items: center; height: 36px; border-radius: 9px; font-size: 12.5px; font-weight: 600; }
.cm-mfoot .cancel{ box-shadow: inset 0 0 0 1px #ececef; color: #4b4b58; }
.cm-mfoot .save{ background: #186ff2; color: #fff; }
.cm-toast{ position: absolute; z-index: 7; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 10px; background: #17171f; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; translate: -50% 12px; opacity: 0; transition: opacity .3s, translate .35s var(--ease); pointer-events: none; }
.cm-toast.on{ opacity: 1; translate: -50% 0; }
.cm-toast i{ display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #16a34a; }
.cm-toast i svg{ width: 10px; height: 10px; fill: none; stroke: #fff; stroke-width: 3; }
.cm-toast .bad{ display: none; }
.cm-toast.warn i{ background: #e5484d; }
.cm-toast.warn .ok{ display: none; }
.cm-toast.warn .bad{ display: block; }

/* a narrow hero: the System Estimate shrinks to its total, under the tabs */
.cmh.narrow .cmj-body{ grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
.cmh.narrow .cmj-main{ border-right: 0; border-bottom: 1px solid #f0f0f3; }
.cmh.narrow .cmj-side{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 18px 14px; }
.cmh.narrow .cmj-side > .lme-k, .cmh.narrow .cmj-side > .lme-rate, .cmh.narrow .cme-g{ display: none; }
.cmh.narrow .cme-tot{ margin: 0; }

/* the foreman's phone: the timer, the foreman tools and the contract wizard (crew.php) */
.lmc-timer.stopped{ border-color: #e7e7ec; background: #f7f7f9; }
.lmc-timer.stopped .lmc-st i{ background: #6b6b78; }
.lmc-timer.stopped .lmc-st b{ color: #6b6b78; }
.lmc-timer.stopped .lmc-st small{ color: #a3a3b0; }
.lmc-btns .close{ background: #17171f; color: #fff; }
.cmc-tools{ margin-top: 14px; }
.cmc-tools > small{ display: block; margin: 0 0 2px 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #186ff2; }
.cmc-row{ display: flex; align-items: center; gap: 10px; margin-top: 7px; padding: 9px 10px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #ececef; }
.cmc-row > i{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eef4fe; color: #186ff2; }
.cmc-row > i svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cmc-row > span{ flex: 1; min-width: 0; }
.cmc-row b{ display: block; font-size: 12.5px; font-weight: 600; }
.cmc-row small{ display: block; margin-top: 1px; font-size: 10.5px; color: #8a8a97; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmc-row > em{ flex: none; padding: 2px 7px; border-radius: 6px; background: #fbf3e2; color: #976611; font-size: 10px; font-weight: 600; font-style: normal; transition: background-color .35s, color .35s; }
.cmc-row > em.ok{ background: #e6f5ef; color: #1f7a5c; }
.cmc-row > svg{ flex: none; width: 14px; height: 14px; fill: none; stroke: #c2c2cc; stroke-width: 2; }
.cmc-row.sign > i{ background: #e6f5ef; color: #1f7a5c; }
.cmc-row.dark{ background: #17171f; box-shadow: none; }
.cmc-row.dark > i{ background: rgba(255, 255, 255, .12); color: #fff; }
.cmc-row.dark b{ color: #fff; }
.cmc-row.dark small{ color: rgba(255, 255, 255, .5); }
.cmc-row.dark > svg{ stroke: rgba(255, 255, 255, .5); }
.cmw{ position: absolute; left: 0; right: 0; top: 40px; bottom: 0; z-index: 3; display: flex; flex-direction: column; background: #f4f5f7; opacity: 0; transition: opacity .3s; pointer-events: none; }
.cmw.on{ opacity: 1; }
.cmw-head{ flex: none; padding: 8px 14px 12px; background: #fff; border-bottom: 1px solid #ececef; }
.cmw-top{ display: flex; align-items: center; }
.cmw-top svg{ width: 18px; height: 18px; fill: none; stroke: #17171f; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.cmw-top b{ flex: 1; margin-right: 18px; text-align: center; font-size: 13.5px; font-weight: 600; }
.cmw-prog{ display: flex; gap: 5px; margin-top: 10px; }
.cmw-prog i{ flex: 1; height: 3px; border-radius: 2px; background: #186ff2; }
.cmw-body{ flex: 1; min-height: 0; padding: 14px 12px 0; overflow: hidden; }
.cmw-body > b{ display: block; font-size: 15px; font-weight: 600; }
.cmw-body > p{ margin: 3px 0 12px; font-size: 11px; color: #8a8a97; }
.cmw-total{ display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #c9dcfb; border-radius: 10px; background: #f7faff; }
.cmw-total > span{ flex: 1; display: grid; gap: 2px; }
.cmw-total small{ font-size: 9px; font-weight: 600; letter-spacing: .06em; color: #8a8a97; }
.cmw-total em{ font-size: 10px; font-style: normal; color: #8a8a97; }
.cmw-total > b{ font: 700 16px/1 var(--font-mono); color: #186ff2; }
.cmw-sig + .cmw-sig{ margin-top: 10px; }
.cmw-lab{ display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 10.5px; font-weight: 600; color: #5b5b68; }
.cmw-lab em{ font-style: normal; color: #186ff2; }
.cmw-pad{ position: relative; height: 92px; box-sizing: border-box; border: 1.5px solid #ececef; border-radius: 11px; background: #fff; transition: border-color .3s; }
.cmw-pad.signed{ border-color: #186ff2; }
.cmw-pad > span{ position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; color: #c9c9d2; transition: opacity .2s; }
.cmw-pad.signed > span{ opacity: 0; }
.cmw-pad svg{ position: absolute; left: 14px; top: 8px; width: calc(100% - 28px); height: calc(100% - 16px); overflow: visible; }
.cmw-pad path{ fill: none; stroke: #17171f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmw-foot{ flex: none; padding: 10px 12px 16px; background: #fff; border-top: 1px solid #ececef; }
.cmw-btn{ display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 11px; background: #e7e7ec; color: #a3a3b0; font-size: 12.5px; font-weight: 600; transition: background-color .3s, color .3s; }
.cmw-btn.go{ background: #1f7a5c; color: #fff; }
.cmw-btn.dark{ background: #17171f; color: #fff; }
.cmw-done{ position: absolute; left: 0; right: 0; top: 0; bottom: 67px; display: flex; flex-direction: column; align-items: center; padding: 64px 22px 0; text-align: center; background: #f4f5f7; opacity: 0; transition: opacity .3s; }
.cmw-done.on{ opacity: 1; }
.cmw-done > i{ display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%; background: #e6f5ef; }
.cmw-done > i svg{ width: 30px; height: 30px; fill: none; stroke: #1f7a5c; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cmw-done b{ font-size: 15px; font-weight: 600; }
.cmw-done p{ margin: 6px 0 0; font-size: 11.5px; line-height: 1.45; color: #8a8a97; }

/* ---------- the office, item by item: the job's Items tab, drawn (js/admin/items-picker.js) ---------- */
.cmo{ padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.cmo-card{ border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); overflow: hidden; }
.cmo-top{ display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-bottom: 1px solid #f0f0f3; }
.cmo-top > span{ flex: 1; min-width: 0; }
.cmo-top > span b{ display: block; font-size: 14px; font-weight: 600; }
.cmo-top > span small{ display: block; margin-top: 2px; font-size: 11.5px; color: #9a9aa8; }
.cmo-stats{ display: flex; align-items: center; gap: 14px; }
.cmo-stats > span{ display: grid; gap: 3px; text-align: right; }
.cmo-stats b{ font: 700 15px/1 var(--font-mono); }
.cmo-stats small{ font-size: 10.5px; color: #9a9aa8; }
.cmo-stats > i{ width: 1px; height: 26px; background: #ececef; }
.cmo-rooms{ display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px 16px; }
.cmo-room{ display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 9px; border: 1px solid #ececef; border-radius: 10px; transition: border-color .3s, background-color .3s; }
.cmo-room > i{ flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #f2f2f5; color: #8b8b98; transition: background-color .3s, color .3s; }
.cmo-room > i svg{ width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cmo-room > span{ min-width: 0; }
.cmo-room b{ display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmo-room small{ display: block; margin-top: 1px; font-size: 10.5px; color: #9a9aa8; white-space: nowrap; }
.cmo-room.on{ border-color: #c9dcfb; background: #f4f8ff; }
.cmo-room.on > i{ background: #186ff2; color: #fff; }
.cmo-cur{ display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 0 16px 8px; font-size: 12.5px; font-weight: 600; }
.cmo-cur small{ font-size: 11px; font-weight: 500; color: #9a9aa8; }
.cmo-list{ display: grid; gap: 6px; min-height: 274px; align-content: start; padding: 0 16px 16px; }
.cmo-it{ display: flex; align-items: center; gap: 11px; padding: 5px 12px 5px 5px; border: 1px solid #f0f0f3; border-radius: 10px; }
.cmo-it.new{ animation: ivp-in .45s var(--ease) backwards; }
.cmo-it img{ flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: contain; background: #f6f6f8; }
.cmo-it > span{ flex: 1; min-width: 0; }
.cmo-it > span b{ display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmo-it > span small{ display: block; margin-top: 3px; font: 500 10.5px/1 var(--font-mono); color: #9a9aa8; }
.cmo-it > em{ flex: none; height: 24px; padding: 0 8px; border-radius: 7px; background: #f4f4f6; font: 600 11.5px/24px var(--font-mono); font-style: normal; color: #2c2c38; }
.cmo-it > strong{ flex: none; width: 66px; text-align: right; font: 600 12px/1 var(--font-mono); color: #6b6b78; }
.cmo-out{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.cmo-o{ padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 23, 31, .06); }
.cmo-o small{ display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a3a3b0; }
.cmo-o b{ display: block; margin-top: 7px; font: 700 18px/1 var(--font-mono); letter-spacing: -.02em; }
.cmo-o em{ display: block; margin-top: 6px; font-size: 11px; line-height: 1.35; font-style: normal; color: #8b8b98; }

/* ---------- two ways to promise a price: the job's fields and what the close-out allows ---------- */
.cmq{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.cmq, .cmk, .cmy, .cmq-card, .cmy-card, .cmk-paper{ grid-template-columns: minmax(0, 1fr); }
.cmq-card{ box-sizing: border-box; display: grid; gap: 12px; width: min(100%, 430px); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.cmq-f2{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.cmq-v{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 11px; background: #f7f7f9; }
.cmq-v > span{ display: grid; gap: 3px; }
.cmq-v small{ display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; white-space: nowrap; font-size: 11.5px; color: #9a9aa8; }
.cmq-v i{ font-size: 10.5px; font-style: normal; color: #9a9aa8; }
.cmq-v > b{ font: 600 16px/1 var(--font-mono); }
.cmq-err{ display: flex; gap: 9px; padding: 10px 12px; border-radius: 10px; background: #fdeef0; color: #a3343a; font-size: 11.5px; line-height: 1.45; }
.cmq-err svg{ flex: none; width: 15px; height: 15px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- a change to a locked price: the reason it needs, and the job's Activity History ---------- */
.cmx{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.cmx-modal, .cmx-act{ box-sizing: border-box; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); }
.cmx-modal{ padding: 18px; }
.cmx-modal > b{ display: block; font-size: 15px; font-weight: 600; }
.cmx-modal > p{ margin: 4px 0 0; font-size: 11.5px; line-height: 1.5; color: #8b8b98; }
.cmx-modal .cmd-in{ min-height: 36px; }
.cmx-modal .cmd-in.typing::after{ content: ""; width: 1.5px; height: 15px; margin-left: 1px; background: #186ff2; animation: cmx-caret 1s steps(1) infinite; }
.cmx-modal .cmd-in.typing{ justify-content: flex-start; }
@keyframes cmx-caret{ 50%{ opacity: 0; } }
.cmx-act{ padding: 14px 14px 2px; }
.cmx-fin{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 10px 12px; border-radius: 11px; background: #f7f7f9; }
.cmx-fin small{ display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: 11.5px; color: #9a9aa8; }
.cmx-fin b{ font: 600 15px/1 var(--font-mono); border-radius: 5px; white-space: nowrap; }
.cmx-fin b em{ margin-left: 5px; font: 400 10.5px/1 var(--font-ui); font-style: normal; color: #b0b0bb; }
.cmx-list{ display: grid; }
.cmx-list .ofa-e.new{ animation: ivp-in .5s var(--ease); }

/* ---------- signed on site, paid like a business ---------- */
.cmk{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.cmk-paper{ box-sizing: border-box; display: grid; gap: 12px; width: min(100%, 410px); padding: 18px 20px 20px; border-radius: 8px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .45), 0 0 0 1px rgba(23, 23, 31, .07); font-family: var(--font-ui); color: #17171f; }
.cmk-hd{ display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid #17171f; }
.cmk-hd b{ display: block; font-size: 13px; font-weight: 700; }
.cmk-hd small{ display: block; margin-top: 2px; font-size: 10px; color: #8b8b98; }
.cmk-hd em{ font: 600 11px/1 var(--font-mono); font-style: normal; color: #6b6b78; }
.cmk-h{ text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.cmk-sec > small{ display: block; margin-bottom: 4px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8b8b98; }
.cmk-rows > div{ display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed #ececef; font-size: 11.5px; color: #4b4b58; }
.cmk-rows b{ font: 600 11.5px/1.3 var(--font-mono); color: #17171f; white-space: nowrap; }
.cmk-lines{ display: grid; gap: 6px; padding-top: 2px; }
.cmk-lines i{ height: 5px; border-radius: 3px; background: #efeff2; }
.cmk-lines i:nth-child(2){ width: 92%; } .cmk-lines i:nth-child(3){ width: 74%; }
.cmk-init{ display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 10.5px; color: #8b8b98; }
.cmk-init > span{ display: grid; place-items: center; width: 42px; height: 26px; border: 1px solid #c9dcfb; border-radius: 6px; font: italic 600 13px/1 Georgia, serif; color: #1f2a6b; }
.cmk-sigs{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-top: 4px; }
.cmk-sig svg{ display: block; width: 100%; height: 38px; }
.cmk-sig path{ fill: none; stroke: #1f2a6b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cmk-sig small{ display: block; padding-top: 5px; border-top: 1px solid #17171f; font-size: 10px; color: #6b6b78; }
.cmk-ok{ display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: #1f7a5c; }
.cmk-ok svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cmy{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.cmy-card{ box-sizing: border-box; display: grid; gap: 12px; width: min(100%, 430px); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.cmy-card .cmp-rec-g{ grid-template-columns: 104px minmax(0, 1fr) minmax(0, 1fr); }

/* ---------- commercial: responsive ---------- */
@media (max-width: 860px){
  .cmx{ grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px){
  .cmo-rooms{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmo-out{ grid-template-columns: minmax(0, 1fr); }
  .cmo-top{ flex-wrap: wrap; }
  .cmo-it > strong{ display: none; }
  .cmy-card .cmp-rec-g, .cmq-f2{ grid-template-columns: minmax(0, 1fr); }
  .cmq .cmp-rc-row .n{ display: none; }
  .cmq .cmp-rc-row .t{ flex: 1; }
}

/* ============================================================
   Moving & storage
   ============================================================ */
/* ---------- hero: one storage account from move-in to move-out, in the office and in her portal ---------- */
.msh{ aspect-ratio: 1240 / 760; margin-top: clamp(36px, 4.5vw, 56px); }
.msh.narrow{ aspect-ratio: 640 / 1480; }
.msh .mt-canvas{ width: 1240px; height: 760px; }
.msh.narrow .mt-canvas{ width: 640px; height: 1480px; }
.ms-acct{ left: 24px; top: 108px; width: 880px; height: 628px; }
.ms-phone{ position: absolute; z-index: 2; left: 928px; top: 122px; width: 288px; height: 600px; box-sizing: border-box; padding: 8px; border-radius: 44px; background: #141519; box-shadow: 0 50px 90px -40px rgba(46, 18, 6, .55), 0 0 0 1px rgba(23, 23, 31, .12), inset 0 0 0 1.5px #34353b; }
.ms-phone .mt-tag{ left: 50%; translate: -50% 0; }
.msh.narrow .ms-acct{ left: 20px; top: 108px; width: 600px; height: 700px; }
.msh.narrow .ms-phone{ left: 176px; top: 878px; height: 576px; }

/* the storage account (js/admin/storage-page.js): header, lifecycle rail, Overview / Invoices */
.msa-head{ flex: none; display: flex; align-items: center; gap: 10px; height: 70px; padding: 0 16px 0 14px; border-bottom: 1px solid #ececef; }
.msa-x{ flex: none; display: grid; place-items: center; width: 28px; height: 28px; color: #8b8b98; }
.msa-x svg, .msa-ic svg, .msa-edit svg, .msa-pri svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.msa-t{ flex: 1; min-width: 0; }
.msa-t > div:first-child{ display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.msa-t .id{ font: 600 12.5px/1 var(--font-mono); color: #186ff2; }
.msa-t .sep{ color: #c2c2cc; }
.msa-t b{ font-size: 15.5px; font-weight: 650; }
.msa-ty{ display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 5px; background: #eaf1fb; color: #2563a8; font: 700 9.5px/1 var(--font-ui); letter-spacing: .05em; }
.msa-sub{ display: flex; align-items: center; gap: 7px; margin-top: 5px; font-size: 11.5px; color: #8b8b98; white-space: nowrap; overflow: hidden; }
.msa-sub .sep{ color: #dcdce2; }
.msa-sub .job{ font-family: var(--font-mono); font-weight: 600; color: #186ff2; }
.msa-bal{ display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--bc, #8b8b98); transition: color .35s; }
.msa-bal::before{ content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.msa-ic{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; box-sizing: border-box; border: 1px solid #ececef; border-radius: 8px; color: #6b6b78; }
.msa-edit{ flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; box-sizing: border-box; border: 1px solid #c9dcfb; border-radius: 8px; color: #186ff2; font-size: 12px; font-weight: 550; }
.msa-pri{ flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 8px; background: #186ff2; color: #fff; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.msa-pri[hidden]{ display: none; }
.msa-body{ position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: 212px minmax(0, 1fr); }
.msa-rail{ min-height: 0; padding: 15px 16px; border-right: 1px solid #f1f1f4; overflow: hidden; }
.msa-k{ margin: 16px 0 8px; font-size: 10px; font-weight: 700; letter-spacing: .07em; color: #a3a3b0; }
.msa-k:first-child{ margin-top: 0; }
.msa-cust{ display: flex; align-items: center; gap: 10px; }
.msa-cust i{ flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #e8f1fe; color: #186ff2; font: 700 11.5px/1 var(--font-ui); font-style: normal; }
.msa-cust b{ display: block; font-size: 13px; font-weight: 650; }
.msa-cust small{ display: block; margin-top: 2px; font-size: 11px; color: #9a9aa8; }
.msa-life{ display: flex; flex-direction: column; }
.msa-st{ position: relative; display: flex; align-items: center; gap: 10px; height: 34px; }
.msa-st > i{ position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 22px; height: 22px; box-sizing: border-box; border: 1px solid #e8e8ec; border-radius: 7px; background: #fff; color: #c8c8d0; transition: background-color .35s, color .35s, border-color .35s; }
.msa-st > i svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.msa-st > b{ font-size: 12.5px; font-weight: 500; color: #b0b0bb; transition: color .35s; }
.msa-st:not(:last-child)::after{ content: ""; position: absolute; left: 10px; top: 25px; width: 2px; height: 18px; border-radius: 1px; background: #ececef; transition: background-color .35s; }
.msa-st.done > i{ border-color: #cfe9dd; background: #e6f5ef; color: #1f7a5c; }
.msa-st.done > b{ color: #5b5b68; }
.msa-st.done::after{ background: #cfe9dd; }
.msa-st.cur > i{ border-color: var(--sc); background: var(--sb); color: var(--sc); }
.msa-st.cur > b{ font-weight: 650; color: #17171f; }
.msa-f{ display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f6f6f8; font-size: 11px; color: #9a9aa8; }
.msa-f b{ font-weight: 550; color: #3c3c48; text-align: right; white-space: nowrap; }
.msa-f b.mono{ font-family: var(--font-mono); font-size: 10.5px; }
.msa-main{ display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.msa-tabs{ flex: none; display: flex; gap: 4px; height: 44px; padding: 0 12px; border-bottom: 1px solid #ececef; }
.msa-tabs span{ position: relative; display: flex; align-items: center; padding: 0 9px; font-size: 12.5px; font-weight: 500; color: #8b8b98; white-space: nowrap; }
.msa-tabs span.on{ font-weight: 600; color: #17171f; }
.msa-tabs span.on::after{ content: ""; position: absolute; left: 9px; right: 9px; bottom: -1px; height: 2px; border-radius: 2px; background: #186ff2; }
.msa-pane{ flex: 1; min-height: 0; padding: 16px 18px; overflow: hidden; }
.msa-pane[hidden]{ display: none; }
.mso-k{ display: flex; align-items: center; margin: 16px 0 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #a3a3b0; }
.mso-k:first-child{ margin-top: 0; }
.mso-k span{ margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: #186ff2; }
.mso-cards{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mso-card{ min-width: 0; padding: 12px 13px; border: 1px solid #ececef; border-radius: 11px; }
.mso-card small{ display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; color: #a3a3b0; }
.mso-card b{ display: block; margin-top: 7px; font: 700 18px/1.1 var(--font-mono); letter-spacing: -.02em; color: var(--vc, #17171f); border-radius: 5px; transition: color .35s; }
.mso-card em{ display: block; margin-top: 5px; font-size: 11px; font-style: normal; color: #9a9aa8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mso-items{ display: flex; flex-wrap: wrap; gap: 6px; }
.mso-items > span{ display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border: 1px solid #ececef; border-radius: 8px; font-size: 11px; color: #3c3c48; white-space: nowrap; }
.mso-items > span i{ width: 6px; height: 6px; border-radius: 50%; background: #186ff2; }
.mso-items > span i.big{ background: #d99a2b; }
.mso-items > span em{ font-style: normal; color: #9a9aa8; }
.mso-items > span small{ font: 500 10.5px/1 var(--font-mono); color: #8b8b98; }
.mso-jobs{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.mso-job{ min-width: 0; min-height: 96px; box-sizing: border-box; padding: 11px 13px; border: 1px solid #ececef; border-radius: 11px; transition: border-color .35s, background-color .35s; }
.mso-job > small{ display: flex; align-items: center; gap: 7px; margin-bottom: 8px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8b8b98; }
.mso-job > small svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; }
.mso-job .id{ font: 600 12.5px/1 var(--font-mono); color: #186ff2; }
.mso-job .st{ margin-left: 7px; font-size: 10.5px; color: #8b8b98; }
.mso-job p{ margin: 4px 0 0; font-size: 11.5px; color: #9a9aa8; }
.mso-job .btn{ display: inline-flex; align-items: center; height: 26px; margin-top: 9px; padding: 0 10px; box-sizing: border-box; border: 1px solid #e4e4e9; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: #3c3c48; }
.mso-job.new{ border-color: #c9dcfb; background: #f7faff; }
.msi-k{ display: flex; align-items: center; margin-bottom: 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: #a3a3b0; }
.msi-k span{ margin-left: auto; font-size: 11.5px; font-weight: 600; letter-spacing: 0; color: #186ff2; }
.msi-k + .msi-k, .msi-list + .msi-k{ margin-top: 18px; }
.msi-row{ display: flex; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid #f4f4f6; }
.msi-row.new{ animation: ivp-in .45s var(--ease); }
.msi-row > span{ flex: 1; min-width: 0; }
.msi-row > span > b{ font: 600 12.5px/1 var(--font-mono); color: #186ff2; }
.msi-row > span small{ display: block; margin-top: 4px; font-size: 11px; color: #9a9aa8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msi-row > strong{ font: 650 12.5px/1 var(--font-mono); white-space: nowrap; }
.msi-row > u{ font-size: 10.5px; font-weight: 600; text-decoration: none; color: #c0454b; }
.msi-chip{ display: inline-flex; align-items: center; height: 17px; margin-left: 8px; padding: 0 6px; border-radius: 5px; font: 700 9.5px/1 var(--font-ui); vertical-align: 1px; }
.msi-chip.issued{ background: #eaf1fb; color: #2563a8; }
.msi-chip.paid{ background: #e6f5ef; color: #1f7a5c; }
.msi-pay{ display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #f4f4f6; font-size: 12px; color: #3c3c48; }
.msi-pay.new{ animation: ivp-in .45s var(--ease); }
.msi-pay > i{ flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #e6f5ef; color: #1f7a5c; }
.msi-pay > i svg{ width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; }
.msi-pay > span{ flex: 1; }
.msi-pay > span em{ font-style: normal; color: #9a9aa8; }
.msi-pay > b{ font: 650 12px/1 var(--font-mono); color: #1f7a5c; }
.msi-none{ padding: 16px 2px; text-align: center; font-size: 12px; color: #9a9aa8; }
.cm-modal .msm-sec{ margin-top: 12px; padding-top: 10px; border-top: 1px dashed #ececef; }
.cm-modal .msm-sec > small{ display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #a3a3b0; }
.cm-modal .msm-sec .cmd-in + .cmd-in{ margin-top: 7px; }
.cm-modal.wide{ width: 360px; }

/* her portal on a phone: the Storage tab (js/portal.js renderStorageTab) */
/* her portal on the phone: the Storage tab from the portal's design (assets/ui/portal-storage-phone), scaled to the screen */
.msp-ui{ position: relative; flex: 1; min-height: 0; overflow: hidden; }
.msp-toast{ position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 54px; display: flex; align-items: center; gap: 8px; padding: 10px 11px; border-radius: 11px; background: #17171f; color: #fff; font-size: 11px; font-weight: 600; line-height: 1.35; translate: 0 12px; opacity: 0; transition: opacity .3s, translate .35s var(--ease); }
.msp-toast.on{ opacity: 1; translate: 0 0; }

/* a narrow hero: the lifecycle becomes a strip above the tabs */
.msh.narrow .msa-body{ grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
.msh.narrow .msa-rail{ padding: 11px 16px; border-right: 0; border-bottom: 1px solid #f1f1f4; }
.msh.narrow .msa-rail > :not(.msa-life){ display: none; }
.msh.narrow .msa-life{ flex-direction: row; justify-content: space-between; }
.msh.narrow .msa-st{ height: 26px; gap: 7px; }
.msh.narrow .msa-st::after{ display: none; }
.msh.narrow .msa-head .msa-ic, .msh.narrow .msa-head .msa-edit{ display: none; }
.msh.narrow .msa-sub > span:first-child, .msh.narrow .msa-sub > span:first-child + .sep{ display: none; }

/* ---------- the storage desk: the Storage page, drawn (accounts, facilities, billing) ---------- */
.msd{ padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.msd-win{ border-radius: 16px; background: #fafafb; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); overflow: hidden; }
.msd-in{ display: grid; gap: 14px; padding: 18px; }
.msd-kpis{ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.msd-kpi{ min-width: 0; padding: 12px 13px; border: 1px solid #ececef; border-radius: 12px; background: #fff; }
.msd-kpi > div{ display: flex; align-items: center; gap: 7px; }
.msd-kpi > div i{ flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--kb); color: var(--kc); }
.msd-kpi > div i svg{ width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.msd-kpi > div span{ font-size: 9px; font-weight: 700; letter-spacing: .07em; line-height: 1.2; color: #a3a3b0; }
.msd-kpi > b{ display: block; margin-top: 10px; font: 700 19px/1 var(--font-mono); letter-spacing: -.025em; white-space: nowrap; }
.msd-kpi > small{ display: block; margin-top: 5px; font-size: 10.5px; color: #9a9aa8; }
.msd-tabs{ justify-self: start; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: #efeff2; }
.msd-tabs span{ display: inline-flex; align-items: center; gap: 7px; height: 29px; padding: 0 13px; border-radius: 7px; font-size: 12px; font-weight: 600; color: #6b6b78; transition: background-color .25s, color .25s, box-shadow .25s; }
.msd-tabs span em{ display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 5px; background: #e4e4ea; font: 650 10px/1 var(--font-mono); font-style: normal; }
.msd-tabs span.on{ background: #fff; color: #17171f; box-shadow: 0 1px 2px rgba(23, 23, 31, .1); }
.msd-pane{ display: grid; gap: 12px; min-height: 352px; align-content: start; }
.msd-pane[hidden]{ display: none; }
.msd-pane.in{ animation: msd-in .45s var(--ease); }
@keyframes msd-in{ from{ opacity: 0; transform: translateY(6px); } }
.msd-tbl{ border: 1px solid #ececef; border-radius: 13px; background: #fff; overflow: hidden; }
.msd-tr{ display: grid; grid-template-columns: minmax(0, 1.6fr) 96px minmax(0, 1fr) 54px 92px 84px 84px; align-items: center; gap: 8px; padding: 9px 14px; border-top: 1px solid #f4f4f6; font-size: 12px; color: #5b5b68; }
.msd-tr.h{ border-top: 0; background: #fbfbfc; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; color: #a3a3b0; }
.msd-tr .r{ text-align: right; }
.msd-tr > :last-child{ padding-left: 12px; }
.msd-tr .m{ font-family: var(--font-mono); font-weight: 600; color: #17171f; }
.msd-tr .bad{ color: #c0454b; }
.msd-tr .mute{ color: #9a9aa8; }
.msd-who{ display: flex; align-items: center; gap: 9px; min-width: 0; }
.msd-who > i{ flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #e8f1fe; color: #186ff2; font: 700 10.5px/1 var(--font-ui); font-style: normal; }
.msd-who > span{ min-width: 0; }
.msd-who b{ display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #17171f; white-space: nowrap; }
.msd-who b em{ height: 15px; padding: 0 5px; border-radius: 4px; background: #eaf1fb; color: #2563a8; font: 700 8.5px/15px var(--font-ui); font-style: normal; letter-spacing: .05em; }
.msd-who b em.lt{ background: #f3edfb; color: #8b5cf6; }
.msd-who small{ display: block; margin-top: 2px; font: 500 10.5px/1 var(--font-mono); color: #9a9aa8; }
.msd-who small u{ text-decoration: none; color: #186ff2; font-weight: 600; }
.msd-st{ display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--sb); color: var(--sc); font: 700 9.5px/1 var(--font-ui); letter-spacing: .03em; }
.msd-st::before{ content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.msd-mo{ text-align: right; }
.msd-mo b{ display: block; font: 650 12px/1 var(--font-mono); color: #17171f; }
.msd-mo small{ display: block; margin-top: 3px; font-size: 10px; color: #b0b0bb; }
.msd-fac{ border: 1px solid #ececef; border-radius: 13px; background: #fff; overflow: hidden; }
.msd-fac > div:first-child{ display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #f4f4f6; }
.msd-fac > div:first-child > i{ flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #fff3e0; color: #d99a2b; }
.msd-fac > div:first-child > i svg{ width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.msd-fac > div:first-child > span{ flex: 1; min-width: 0; }
.msd-fac > div:first-child > span b{ display: block; font-size: 13.5px; font-weight: 650; }
.msd-fac > div:first-child > span small{ display: block; margin-top: 3px; font-size: 11px; color: #9a9aa8; }
.msd-met{ display: flex; gap: 18px; }
.msd-met > div{ text-align: right; }
.msd-met small{ display: block; font-size: 9px; font-weight: 700; letter-spacing: .07em; color: #a3a3b0; }
.msd-met b{ display: block; margin-top: 4px; font: 700 15px/1 var(--font-mono); }
.msd-bar{ padding: 12px 16px 14px; }
.msd-bar > div{ height: 8px; border-radius: 6px; background: #f0f0f3; overflow: hidden; }
.msd-bar > div > i{ display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #4f8ff7, #186ff2); }
.msd-bar > p{ display: flex; justify-content: space-between; margin: 7px 0 0; font-size: 11px; color: #9a9aa8; }
.msd-bill{ display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.msd-age, .msd-pd{ border: 1px solid #ececef; border-radius: 13px; background: #fff; }
.msd-age{ padding: 14px 16px; }
.msd-age > div:first-child{ display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 11px; font-weight: 650; letter-spacing: .05em; color: #5b5b68; }
.msd-age > div:first-child b{ margin-left: auto; font: 700 13px/1 var(--font-mono); letter-spacing: 0; color: #c0454b; }
.msd-age > div:first-child small{ font-size: 11px; font-weight: 400; letter-spacing: 0; color: #9a9aa8; }
.msd-agebar{ display: flex; gap: 2px; height: 10px; border-radius: 6px; background: #f0f0f3; overflow: hidden; }
.msd-buckets{ display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 12px; }
.msd-buckets > div{ min-width: 0; padding: 9px 9px; border: 1px solid #f0f0f3; border-radius: 9px; background: #fbfbfc; }
.msd-buckets small{ display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 650; color: #8b8b98; white-space: nowrap; }
.msd-buckets small::before{ content: ""; flex: none; width: 6px; height: 6px; border-radius: 2px; background: var(--c); }
.msd-buckets b{ display: block; margin-top: 6px; font: 700 12.5px/1 var(--font-mono); }
.msd-buckets em{ display: block; margin-top: 3px; font-size: 9.5px; font-style: normal; color: #b0b0bb; }
.msd-pd > div:first-child{ display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #f4f4f6; font-size: 11px; font-weight: 650; letter-spacing: .05em; color: #5b5b68; }
.msd-pd > div:first-child em{ height: 18px; padding: 0 7px; border-radius: 5px; background: #fdeef0; color: #c0454b; font: 700 10px/18px var(--font-ui); font-style: normal; }
.msd-pd > div + div{ display: flex; align-items: center; gap: 10px; padding: 11px 14px; }
.msd-pd > div + div span{ flex: 1; min-width: 0; }
.msd-pd > div + div span b{ display: block; font-size: 12.5px; font-weight: 600; }
.msd-pd > div + div span small{ display: block; margin-top: 2px; font-size: 11px; color: #c0454b; }
.msd-pd > div + div > b{ font: 650 12.5px/1 var(--font-mono); }

/* ---------- three legs: the move-in job, the account, the move-out job ---------- */
.msl{ display: grid; grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr) 52px minmax(0, 1fr); align-items: stretch; padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.msl-c{ display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); }
.msl-c > small{ font-size: 10px; font-weight: 700; letter-spacing: .07em; color: #a3a3b0; }
.msl-c > b{ display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 650; }
.msl-c > b .id{ font: 600 12.5px/1 var(--font-mono); color: #186ff2; }
.msl-tog{ display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #dfdfe6; border-radius: 11px; }
.msl-tog > span{ flex: 1; min-width: 0; }
.msl-tog b{ display: block; font-size: 12.5px; font-weight: 600; }
.msl-tog small{ display: block; margin-top: 2px; font-size: 11px; line-height: 1.35; color: #9a9aa8; }
.msl-tog > i{ flex: none; position: relative; width: 34px; height: 20px; border-radius: 10px; background: #1f7a5c; }
.msl-tog > i::after{ content: ""; position: absolute; top: 2px; left: 16px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.msl-row{ display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f4f4f6; font-size: 11.5px; color: #9a9aa8; }
.msl-row b{ font-weight: 550; color: #3c3c48; text-align: right; }
.msl-row b.mono{ font-family: var(--font-mono); font-size: 11px; }
.msl-btn{ margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 8px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.msl-btn svg{ width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.msl-btn.green{ background: #e6f5ef; color: #1f7a5c; box-shadow: inset 0 0 0 1px #bfe3d3; }
.msl-btn.blue{ background: #186ff2; color: #fff; }
.msl-note{ margin-top: auto; padding: 9px 11px; border-radius: 10px; background: #eaf1fb; font-size: 11.5px; line-height: 1.45; color: #2563a8; }
.msl-ar{ display: grid; place-items: center; color: var(--accent); }
.msl-ar svg{ width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- pricing: Settings → Storage Billing, and one account's own price ---------- */
.msb{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.msb, .msb-card{ grid-template-columns: minmax(0, 1fr); }
.msb-card{ box-sizing: border-box; display: grid; gap: 12px; width: min(100%, 440px); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.msb-h{ display: flex; align-items: flex-start; gap: 11px; }
.msb-h > i{ flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e6f5ef; color: #1f7a5c; }
.msb-h > i svg{ width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.msb-h b{ display: block; font-size: 14px; font-weight: 600; }
.msb-h small{ display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: #9a9aa8; }
.msb-g{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 12px; }
.msb-g.three{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.msb-card .cmd-f > em{ display: block; margin-top: 5px; font-size: 10.5px; line-height: 1.35; font-style: normal; color: #9a9aa8; }
.msb-g .cmd-f > small{ white-space: normal; }
.msb-seg{ display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: #f4f4f6; }
.msb-seg span{ flex: 1; display: grid; place-items: center; height: 28px; border-radius: 7px; font-size: 12px; font-weight: 550; color: #8b8b98; }
.msb-seg span.on{ background: #fff; color: #17171f; font-weight: 600; box-shadow: 0 1px 2px rgba(23, 23, 31, .12); }
.msb-out{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 11px; background: #eef4fe; font-size: 12px; color: #3c4a66; }
.msb-out b{ font: 700 14px/1 var(--font-mono); color: #186ff2; white-space: nowrap; }

/* ---------- what she sees: the portal's Storage tab on a desktop ---------- */
.msq{ padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.msq-ui{ width: 100%; }

/* ============================================================
   Loading help
   ============================================================ */
/* ---------- hero: a loading-only job — its type, its hours, its rate, the crew's timer, the bill ---------- */
.lhh{ aspect-ratio: 1240 / 700; margin-top: clamp(36px, 4.5vw, 56px); }
.lhh.narrow{ aspect-ratio: 640 / 1160; }
.lhh .mt-canvas{ width: 1240px; height: 700px; }
.lhh.narrow .mt-canvas{ width: 640px; height: 1160px; }
.lh-job{ left: 24px; top: 108px; width: 400px; height: 560px; }
.lh-est{ left: 448px; top: 108px; width: 392px; height: 560px; }
.lh-crew{ position: absolute; z-index: 2; left: 900px; top: 108px; width: 288px; height: 560px; box-sizing: border-box; padding: 8px; border-radius: 44px; background: #141519; box-shadow: 0 50px 90px -40px rgba(46, 18, 6, .55), 0 0 0 1px rgba(23, 23, 31, .12), inset 0 0 0 1.5px #34353b; }
.lh-crew .mt-tag{ left: 50%; translate: -50% 0; }
.lhh.narrow .lh-job{ left: 20px; top: 108px; width: 600px; height: 470px; }
.lhh.narrow .lh-est{ left: 20px; top: 646px; width: 600px; height: 490px; }
.lhh.narrow .lh-crew{ display: none; }
.lhj-body{ flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px 18px 18px; }
.lhj-row{ display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 12px; }
.lhj-dur{ padding: 12px 13px 13px; border: 1px solid #ececef; border-radius: 12px; }
.lhj-dur > div:first-child{ display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lhj-dur > div:first-child small{ font-size: 10.5px; font-weight: 600; letter-spacing: .07em; color: #a3a3b0; }
.lhj-dur > div:first-child em{ display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 5px; background: var(--db, #e6f5ef); color: var(--dc, #1f7a5c); font: 700 9.5px/1 var(--font-ui); font-style: normal; letter-spacing: .04em; transition: background-color .3s, color .3s; }
.lhj-dur > div:first-child u{ margin-left: auto; font-size: 10.5px; font-weight: 600; text-decoration: none; color: #186ff2; }
.lhj-dur > div:first-child u[hidden]{ display: none; }
.lhj-dur > div:last-child{ display: flex; align-items: center; gap: 7px; font-size: 12px; color: #9a9aa8; white-space: nowrap; }
.lhj-dur .cmd-in{ justify-content: center; width: 52px; padding: 0 6px; }
.lhj-dur .cmd-in.end{ width: auto; flex: 1; border-style: dashed; color: #6b6b78; }
.lhj-dur > div:last-child svg{ width: 13px; height: 13px; fill: none; stroke: #c2c2cc; stroke-width: 2; }
.lhj-save{ margin-top: auto; align-self: flex-end; display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9px; background: #186ff2; color: #fff; font-size: 12.5px; font-weight: 600; opacity: .4; transition: opacity .3s; }
.lhj-save.on{ opacity: 1; }
.lh-est .lme-rate{ position: relative; }
.lh-est .lme-rate svg.chev{ width: 13px; height: 13px; margin-left: 8px; fill: none; stroke: #9a9aa8; stroke-width: 2; }
.lh-rd{ position: absolute; left: -1px; right: -1px; top: 46px; z-index: 4; padding: 4px; border-radius: 11px; background: #fff; box-shadow: 0 18px 36px -14px rgba(23, 23, 31, .32), 0 0 0 1px #ececef; opacity: 0; translate: 0 -4px; transition: opacity .2s, translate .2s; pointer-events: none; }
.lh-rd.on{ opacity: 1; translate: 0 0; }
.lh-rd > span{ display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; }
.lh-rd > span em{ font-style: normal; font-size: 11.5px; color: #9a9aa8; }
.lh-rd > span b{ margin-left: auto; font: 600 12px/1 var(--font-mono); color: #4b4b58; }
.lh-rd > span.on{ background: #f4f8ff; color: #186ff2; font-weight: 600; }
.lh-est .lme-total > b{ font-size: 18px; }
.lhc-cmp{ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.lhc-cmp > div{ padding: 9px 10px; border-radius: 10px; background: #f6f6f8; }
.lhc-cmp > div.act{ background: #eef4fe; }
.lhc-cmp small{ display: block; font-size: 10px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #a3a3b0; }
.lhc-cmp > div.act small{ color: #186ff2; }
.lhc-cmp b{ display: block; margin-top: 4px; font: 600 13px/1.2 var(--font-mono); }
.lhc-cmp em{ display: block; margin-top: 2px; font: 500 11.5px/1.2 var(--font-mono); font-style: normal; color: #8b8b98; }
.lhc-new{ display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 11px 12px; border-radius: 11px; background: #17171f; color: #fff; }
.lhc-new small{ display: block; font-size: 10.5px; color: rgba(255, 255, 255, .55); }
.lhc-new b{ display: block; margin-top: 3px; font: 600 18px/1 var(--font-mono); }
.lhc-new > div:last-child{ text-align: right; }
.lhc-new > div:last-child b{ font-size: 13px; color: #7fd8b4; }
.lhc-soft{ display: flex; align-items: center; justify-content: center; height: 36px; margin-top: 7px; border-radius: 11px; background: #f2f2f5; color: #5b5b68; font-size: 12.5px; font-weight: 600; }

/* ---------- on the board: a day with moves and loading jobs (the day view, drawn), and the Jobs filters ---------- */
.lhb{ border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); overflow: hidden; font-family: var(--font-ui); color: #17171f; width: 100%; }
.lhb-bar{ display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 14px; border-bottom: 1px solid #ececef; }
.lhb-bar b{ font-size: 13.5px; font-weight: 600; }
.lhb-bar small{ font-size: 11px; color: #9a9aa8; }
.lhb-bar .lmd-booked{ margin-left: auto; height: 24px; font-size: 11px; }
.lhb-hours{ position: relative; height: 24px; margin-left: 96px; border-bottom: 1px solid #ececef; }
.lhb-hours span{ position: absolute; top: 7px; translate: -50% 0; font-size: 9.5px; font-weight: 600; color: #a3a3b0; white-space: nowrap; }
.lhb-row{ position: relative; height: 66px; border-bottom: 1px solid #f0f0f3; }
.lhb-row:last-child{ border-bottom: 0; }
.lhb-row > .lab{ position: absolute; left: 0; top: 0; bottom: 0; width: 96px; box-sizing: border-box; padding: 12px 10px; border-right: 1px solid #ececef; }
.lhb-row > .lab b{ display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: var(--rc); color: #fff; font-size: 10px; font-weight: 700; white-space: nowrap; }
.lhb-row > .lab small{ display: block; margin-top: 5px; font: 500 10px/1 var(--font-mono); color: #9a9aa8; }
.lhb-lane{ position: absolute; left: 96px; right: 0; top: 0; bottom: 0; }
.lhb-job{ position: absolute; top: 9px; bottom: 9px; box-sizing: border-box; padding: 7px 9px; border-left: 3px solid var(--jc); border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px #e8e8ee, 0 8px 18px -14px rgba(23, 23, 31, .4); overflow: hidden; }
.lhb-job .top{ display: flex; align-items: center; gap: 5px; font: 600 9.5px/1 var(--font-mono); color: #6b6b78; white-space: nowrap; }
.lhb-job .top em{ height: 14px; padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, var(--jc) 10%, #fff); color: var(--jc); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--jc) 25%, transparent); font: 700 8.5px/14px var(--font-mono); font-style: normal; }
.lhb-job b{ display: block; margin-top: 4px; font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lhb-job.hot{ box-shadow: 0 0 0 2px var(--jc), 0 12px 22px -14px color-mix(in srgb, var(--jc) 70%, transparent); }
.lhf{ box-sizing: border-box; width: min(100%, 360px); border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.lhf-h{ display: flex; align-items: center; padding: 12px 14px; border-bottom: 1px solid #f1f1f4; font-size: 13.5px; font-weight: 600; }
.lhf-h span{ margin-left: auto; font-size: 12px; font-weight: 500; color: #8b8b98; }
.lhf-b{ display: grid; gap: 13px; padding: 13px 14px 16px; }
.lhf-b small{ display: block; margin-bottom: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .05em; color: #a3a3b0; }
.lhf-dates{ display: flex; align-items: center; gap: 7px; }
.lhf-dates .cmd-in{ flex: 1; height: 34px; font-size: 12px; }
.lhf-dates svg{ width: 13px; height: 13px; fill: none; stroke: #c2c2cc; stroke-width: 2; }
.lhf-list{ margin-top: 5px; padding: 4px; border-radius: 10px; box-shadow: 0 0 0 1px #ececef, 0 14px 30px -18px rgba(23, 23, 31, .3); }
.lhf-list span{ display: flex; align-items: center; gap: 8px; height: 29px; padding: 0 9px; border-radius: 7px; font-size: 12px; color: #3c3c48; }
.lhf-list span i{ width: 8px; height: 8px; border-radius: 3px; background: var(--c, #c9c9d4); }
.lhf-list span.on{ background: #f4f8ff; color: #186ff2; font-weight: 600; }
.lhf-list span.on::after{ content: "✓"; margin-left: auto; font-size: 11px; }
.lhf-seg{ display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: #f2f2f5; }
.lhf-seg span{ flex: 1; display: grid; place-items: center; height: 26px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: #8b8b98; }
.lhf-seg span.on{ background: #fff; color: #17171f; box-shadow: 0 1px 2px rgba(23, 23, 31, .1); }

/* ---------- a rate for labor-only work: Settings → Tariff Rates ---------- */
.lhr{ padding: clamp(14px, 2.2vw, 26px); border-radius: 30px; background: linear-gradient(180deg, var(--pv1), var(--pv2)); font-family: var(--font-ui); color: #17171f; }
.lhr-card{ border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); overflow: hidden; }
.lhr-h{ display: flex; align-items: flex-start; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #f1f1f4; }
.lhr-h > span{ flex: 1; min-width: 0; }
.lhr-h b{ display: block; font-size: 14px; font-weight: 600; }
.lhr-h small{ display: block; margin-top: 3px; font-size: 11.5px; line-height: 1.4; color: #9a9aa8; }
.lhr-h em{ flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 11px; border-radius: 8px; background: #186ff2; color: #fff; font-size: 11.5px; font-weight: 600; font-style: normal; }
.lhr-list{ display: grid; gap: 8px; padding: 12px 14px 14px; }
.lhr-row{ display: grid; grid-template-columns: 124px repeat(5, minmax(0, 1fr)); align-items: center; gap: 8px; min-height: 46px; padding: 6px 12px; box-sizing: border-box; border: 1px solid #ececef; border-radius: 11px; font-size: 11.5px; color: #8b8b98; white-space: nowrap; transition: border-color .35s, background-color .35s; }
.lhr-row b{ font: 600 12px/1 var(--font-mono); color: #17171f; }
.lhr-row .nm{ display: inline-flex; align-items: center; gap: 6px; justify-self: start; height: 26px; padding: 0 10px; border-radius: 7px; background: color-mix(in srgb, var(--c) 9%, #fff); color: var(--c); font-size: 12px; font-weight: 600; }
.lhr-row .nm i{ width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.lhr-row .nm svg{ width: 11px; height: 11px; fill: var(--c); }
.lhr-row.def{ border-color: color-mix(in srgb, var(--c) 25%, #fff); background: color-mix(in srgb, var(--c) 4%, #fff); }
.lhr-row.hot{ border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 14%, transparent); }
.lhr-cmp{ display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; margin-top: 12px; }
.lhr-cmp > div{ padding: 12px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 23, 31, .06); }
.lhr-cmp > div.on{ box-shadow: 0 0 0 1.5px var(--accent); }
.lhr-cmp small{ display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #a3a3b0; }
.lhr-cmp b{ display: block; margin-top: 6px; font: 700 17px/1 var(--font-mono); letter-spacing: -.02em; }
.lhr-cmp em{ display: block; margin-top: 5px; font-size: 11px; font-style: normal; color: #8b8b98; }
.lhr-cmp > svg{ width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the crew's timer and your minimum ---------- */
.lht{ place-items: center; background: linear-gradient(180deg, var(--pv1), var(--pv2)); }
.lht, .lht-card{ grid-template-columns: minmax(0, 1fr); }
.lht-card{ box-sizing: border-box; display: grid; gap: 10px; width: min(100%, 380px); padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 30px 60px -36px rgba(46, 18, 6, .4), 0 0 0 1px rgba(23, 23, 31, .06); font-family: var(--font-ui); color: #17171f; }
.lht-card > b{ font-size: 16px; font-weight: 600; }
.lht-card > p{ margin: -4px 0 2px; font-size: 12px; color: #8a8a97; }
.lht-card .lhc-new, .lht-card .lhc-soft{ margin-top: 0; }
.lht-done{ display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 11px; background: #1f7a5c; color: #fff; font-size: 13px; font-weight: 600; }
.lht-done svg{ width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.lht-out{ display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 12px; border-radius: 11px; background: #eef4fe; font-size: 12px; color: #3c4a66; }
.lht-out b{ font: 700 14px/1 var(--font-mono); color: #186ff2; white-space: nowrap; }

/* ---------- moving & storage: responsive ---------- */
@media (max-width: 1100px){
  .msd-kpis{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px){
  .msl{ grid-template-columns: minmax(0, 1fr); }
  .msl-ar{ height: 40px; }
  .msl-ar svg{ rotate: 90deg; }
}
@media (max-width: 860px){
  .msd-bill{ grid-template-columns: minmax(0, 1fr); }
  .msd-tbl{ overflow-x: auto; }
  .msd-tr{ min-width: 640px; }
}
@media (max-width: 640px){
  .msd-in{ padding: 12px; }
  .msd-kpis{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .msd-fac > div:first-child{ flex-wrap: wrap; }
  .msd-met{ width: 100%; justify-content: space-between; }
  .msd-buckets{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .msb-g, .msb-g.three{ grid-template-columns: minmax(0, 1fr); }
  .lhr-row{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 6px; }
  .lhr-row .nm{ grid-column: 1 / -1; }
  .lhr-cmp{ grid-template-columns: minmax(0, 1fr); }
  .lhr-cmp > svg{ justify-self: center; rotate: 90deg; }
}
@media (max-width: 860px){
  .lhb-wrap{ overflow-x: auto; }
  .lhb-wrap .lhb{ min-width: 560px; }
}

/* the loading page's settings cards highlight in its own colour */
.hub-teal .lds-f.hot b{ border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.lme-gr span em{ display: inline-block; margin-left: 5px; padding: 1px 5px; border-radius: 4px; background: #d9f6e4; color: #067647; font: 600 8.5px/1.4 var(--font-ui); font-style: normal; letter-spacing: .03em; text-transform: uppercase; vertical-align: 1px; }
