/* Funbuild admin v4 · the live shell. Only what the design pages did not need: one screen filling one window (the
   1440×900 stage scaled as one picture, never a scroll), the sign-in sheet, toasts, the waiting state. Same tokens. */
html,body.lv4{height:100%;margin:0;overflow:hidden;background:var(--cloud,#eef1f5)}
body.lv4{background-image:radial-gradient(rgba(13,27,46,.07) 1px,transparent 1.2px);background-size:22px 22px}
#app{position:fixed;inset:0;display:grid;place-items:center}
.lv-stage{width:min(100vw,calc(100vh * 1440 / 900));display:block}
.lv-stage .scr{width:100%;border-radius:0;box-shadow:none}
@media (min-width:1500px) and (min-height:940px){.lv-stage{width:min(calc(100vw - 40px),calc((100vh - 40px) * 1440 / 900))}.lv-stage .scr{border-radius:22px;box-shadow:0 0 0 1px rgba(13,27,46,.08),0 30px 80px rgba(13,27,46,.16)}}

/* contractors have no photo: the design's initials circle, the size of the face it replaces */
.fc.lv-ini{display:inline-grid;place-items:center;border-radius:50%;object-fit:initial;font-weight:700;letter-spacing:.02em;background:linear-gradient(160deg,#e9edf2,#d5dce6);color:var(--steel,#3d4b5f);font-size:clamp(9px,36%,15px);line-height:1;overflow:hidden;text-transform:uppercase}
[class*="dark"] .fc.lv-ini,.d3 .fc.lv-ini,.dq .fc.lv-ini,.cl .fc.lv-ini,.on-dark .fc.lv-ini{background:linear-gradient(160deg,#2a4669,#1b3150);color:#cfe0f5}

/* the waiting state: the top bar, Alma's orb breathing */
.lv-wait{position:absolute;inset:80px 0 0;display:grid;place-items:center;align-content:center;gap:18px}
.lv-wait .lv-orb{animation:lvBreath 1.6s ease-in-out infinite}
.lv-bars{display:flex;gap:6px}.lv-bars i{width:46px;height:8px;border-radius:8px;background:rgba(13,27,46,.08);animation:lvBar 1.2s ease-in-out infinite}
.lv-bars i:nth-child(2){animation-delay:.15s}.lv-bars i:nth-child(3){animation-delay:.3s}
@keyframes lvBreath{50%{transform:scale(1.06);opacity:.85}}
@keyframes lvBar{50%{background:rgba(13,27,46,.16)}}
.lv-fail{position:absolute;left:50%;top:50%;transform:translate(-50%,-30%);width:420px;padding:24px;border-radius:22px;background:rgba(255,255,255,.86);backdrop-filter:blur(20px);box-shadow:0 0 0 1px rgba(13,27,46,.06),0 24px 60px -30px rgba(13,27,46,.4);display:flex;flex-direction:column;gap:8px;text-align:start;z-index:50}
.lv-fail b{font-size:20px;font-weight:600}.lv-fail span{color:var(--steel,#5b6778);font-size:15px}.lv-fail .btn{align-self:flex-start;margin-top:8px}
/* a screen whose live version is not built yet: its demo, marked */
.lv-sample{position:absolute;z-index:60;top:72px;inset-inline-end:24px;padding:6px 12px;border-radius:999px;background:#0d1b2e;color:#ffc21a;font:600 12.5px "Inter Tight","IBM Plex Sans Hebrew",sans-serif;letter-spacing:.02em;box-shadow:0 10px 24px -12px rgba(13,27,46,.6)}

/* sign-in, the design's glass card on the dotted cloud */
.lv-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:16px;font-family:"IBM Plex Sans Hebrew","Inter Tight",sans-serif;color:var(--ink,#0d1b2e);
  background:radial-gradient(120% 90% at 85% 0%,#fbf3dc 0,rgba(251,243,220,0) 46%),radial-gradient(90% 70% at 0% 100%,#e8ecf1 0,rgba(232,236,241,0) 60%),var(--cloud,#eef1f5)}
.lv-gate[hidden]{display:none}
.lv-card{width:min(420px,100%);border-radius:28px;background:rgba(255,255,255,.84);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid #fff;box-shadow:0 30px 70px -34px rgba(13,27,46,.45),0 0 0 1px rgba(13,27,46,.05);padding:26px 26px 22px;display:flex;flex-direction:column;gap:12px;animation:lvIn .28s cubic-bezier(.16,1,.3,1) both}
.lv-brand{display:flex;align-items:center;gap:10px;font:600 18px "Inter Tight",sans-serif;letter-spacing:-.035em;align-self:flex-end}
.lv-brand svg{width:30px;height:30px}.lv-brand .fb-w b{font-weight:700}.lv-brand .fb-w span{font-weight:400}
.lv-brand small{font:500 12.5px "IBM Plex Sans Hebrew";letter-spacing:0;color:var(--steel,#5b6778);padding:3px 9px;border-radius:999px;background:rgba(13,27,46,.05)}
.lv-card h1{margin:6px 0 0;font:500 28px/1.15 "IBM Plex Sans Hebrew";letter-spacing:-.01em}
.lv-lead{margin:0;font-size:15px;line-height:1.5;color:var(--steel,#5b6778)}
.lv-card label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500}
.lv-in{height:52px;font:500 18px "IBM Plex Sans Hebrew";border-radius:14px;border:1px solid rgba(13,27,46,.14);background:#fff;padding:0 14px;direction:ltr;text-align:right;outline:none}
.lv-in:focus{border-color:#3B6CF6;box-shadow:0 0 0 4px rgba(59,108,246,.14)}
.lv-in.lv-code{text-align:center;letter-spacing:.42em;font:600 24px "IBM Plex Mono",ui-monospace,monospace}
.lv-cta{width:100%;height:50px;justify-content:center;font-size:16px}.lv-cta[disabled]{opacity:.55}
.lv-row{display:flex;justify-content:space-between;gap:10px}.lv-row button{border:0;background:none;padding:4px 0;font:600 13.5px "IBM Plex Sans Hebrew";color:var(--ink,#0d1b2e);text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.lv-row button[disabled]{color:var(--steel,#5b6778);text-decoration:none}
.lv-err{min-height:0;margin:0;font-size:13.5px;color:#a8432c}.lv-err:empty{display:none}
.lv-foot{margin:2px 0 0;font-size:12.5px;color:var(--steel,#5b6778);text-align:center}

/* toasts */
.lv-toasts{position:fixed;z-index:1100;inset-inline:0;bottom:22px;display:flex;flex-direction:column;align-items:center;gap:8px;pointer-events:none;padding:0 16px}
.lv-toast{pointer-events:auto;display:flex;align-items:center;gap:10px;max-width:min(520px,100%);padding:11px 16px 11px 14px;border-radius:16px;background:rgba(13,27,46,.92);color:#fff;font:500 14.5px "IBM Plex Sans Hebrew","Inter Tight",sans-serif;box-shadow:0 18px 40px -18px rgba(13,27,46,.7);animation:lvIn .24s cubic-bezier(.16,1,.3,1) both}
.lv-toast i{width:9px;height:9px;border-radius:50%;background:#4FDDB0;flex:none}.lv-toast.bad i{background:#FF8A6E}

/* the jump list and the me-menu grow from the top bar */
.lv-pop{position:absolute;z-index:80;min-width:300px;max-width:420px;padding:10px;border-radius:20px;background:rgba(255,255,255,.94);backdrop-filter:blur(24px);box-shadow:0 0 0 1px rgba(13,27,46,.07),0 28px 60px -26px rgba(13,27,46,.45);animation:lvIn .2s cubic-bezier(.16,1,.3,1) both}
.lv-jump{width:400px}.lv-jq{margin:0 0 6px}.lv-jq input{flex:1;border:0;background:none;outline:none;font:inherit;font-size:15px}
.lv-jl{display:flex;flex-direction:column;max-height:560px;overflow:auto}
.lv-jl .ask-r{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:8px 10px;border-radius:12px;text-align:start;cursor:pointer;font:inherit}
.lv-jl .ask-r:hover{background:rgba(13,27,46,.05)}.lv-jl .ask-r span{display:flex;flex-direction:column;font-size:12px;color:var(--steel,#5b6778)}.lv-jl .ask-r b{font-size:14.5px;color:var(--ink,#0d1b2e);font-weight:600}
.lv-jl .ask-r i{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(13,27,46,.05)}.lv-jl .ask-r i svg{width:14px;height:14px}
[dir=rtl] .lv-jl .ask-r i svg{transform:scaleX(-1)}
.lv-me{display:flex;flex-direction:column;gap:10px;min-width:240px}.lv-mehd{display:flex;align-items:center;gap:10px}.lv-mehd .fc{width:38px;height:38px;border-radius:50%;object-fit:cover}
.lv-mehd span{display:flex;flex-direction:column;font-size:12.5px;color:var(--steel,#5b6778)}.lv-mehd b{font-size:15px;color:var(--ink,#0d1b2e)}
.topbar .tb-ask,.topbar .tb-me{cursor:pointer}
@keyframes lvIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lv-card,.lv-toast,.lv-pop,.lv-wait .lv-orb,.lv-bars i{animation:none}}
