.finance-review{margin:20px 0 36px;min-width:0}.finance-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px}.finance-tabs [aria-current=page]{background:var(--surface);color:var(--ink);border-color:var(--line);box-shadow:var(--shadow-sm)}.finance-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:18px}.finance-delivery,.finance-timesheet,.finance-prepare{border:1px solid var(--line,#d9e2dd);background:var(--surface,#fff);border-radius:18px;padding:22px;margin-bottom:18px;min-width:0}.finance-delivery h3,.finance-timesheet h4{margin:0 0 12px}.finance-total{font-size:2rem;font-weight:750;font-variant-numeric:tabular-nums;margin:14px 0}.finance-message{white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}.finance-pdf img{width:100%;height:auto;border:1px solid var(--line);border-radius:6px;margin:14px 0}.finance-delivery>.button{margin:8px 8px 0 0}.finance-field{display:grid;gap:8px;margin:18px 0}.finance-field input,.finance-field select,.finance-field textarea{box-sizing:border-box;width:100%;font:inherit;font-size:16px;min-height:44px;padding:11px;border-radius:var(--radius-control);border:1px solid var(--faint);background:var(--surface);color:inherit}.finance-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;margin:18px 0;cursor:pointer}.finance-check input{width:21px;height:21px;flex-shrink:0;accent-color:var(--accent)}.finance-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:18px 0}.finance-day{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 4px;border-radius:var(--radius-coverage);background:var(--tint);color:var(--ink);font-size:.85rem;text-align:center}.finance-day input{height:22px;width:22px;accent-color:var(--accent)}.finance-review .form-error{color:var(--danger);overflow-wrap:anywhere}.finance-review :focus-visible{outline:3px solid var(--accent);outline-offset:4px}.finance-prepare summary{cursor:pointer;font-weight:650}.faro-world{background:#e8f2e8;border:1px solid #aec7b2;border-radius:24px;padding:28px;color:#233d37;overflow:hidden}.faro-world h2{font-size:1.8rem;margin:0 0 8px}.world-court{display:flex;gap:22px;justify-content:center;margin:28px 0 20px}.world-person{text-decoration:none!important;display:grid;justify-items:center;color:inherit!important;gap:5px;min-width:120px}.world-person svg{width:64px;height:84px}.world-person small{color:#4b6559}.world-map{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 28px;position:relative;padding:24px 0;background:radial-gradient(ellipse at center,#b7d9d8,transparent 70%)}.world-land{position:relative;display:flex;flex-direction:column;align-items:center;min-height:205px;padding:20px 14px 4px;text-decoration:none!important;color:#254937!important;text-align:center;border-radius:35% 38% 28% 30%;background:#d4e6bf;border:1px solid #9cb98c;transition:transform .18s ease-out,box-shadow .18s ease-out}.world-land:hover{transform:translateY(-4px);box-shadow:0 10px 20px #214d3920}.world-land-name{font-size:1.15rem;font-weight:750}.world-land>strong{font-size:.85rem;margin:7px 0;color:#38533a}.world-land>small{font-size:.75rem}.world-cottage{width:170px;max-width:100%;height:110px;align-self:center;margin-top:auto}.world-cottage svg{width:100%;height:100%}.world-guild{justify-content:center;background:#e8ddc3;border-color:#c6b187;min-height:205px}.world-guild .world-land-name{font-size:1.4rem}.world-courier{position:absolute;bottom:12px;left:10%;width:32px;animation:world-delivery 4s ease-in-out infinite alternate}.world-courier svg{width:100%;height:auto}.world-review{padding-top:22px;border-top:1px solid #aec7b2;margin-top:24px}.world-review p{max-width:66ch;line-height:1.6}@keyframes world-delivery{to{transform:translateX(50px)}}@media(prefers-reduced-motion:reduce){.world-courier{animation:none}.world-land{transition:none}}@media(max-width:700px){.finance-days{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-day{flex-direction:row;justify-content:space-between;padding:12px}.finance-delivery,.finance-timesheet,.finance-prepare{padding:16px}.finance-delivery>.button{width:100%;margin-right:0}.faro-world{padding:18px 14px}.world-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.world-land{min-height:180px;border-radius:20px}.world-land-name{font-size:1rem}.world-courier{display:none}.world-court{gap:12px}.world-cottage{width:130px}.finance-review,.finance-review *{box-sizing:border-box;max-width:100%}}@media(max-width:380px){.world-map{grid-template-columns:1fr}.world-court{justify-content:space-around}.world-person{min-width:0}}[data-theme=dark] .finance-day{background:var(--tint);color:var(--ink)}[data-theme=dark] .faro-world{background:#182f2a;color:#e2eee4;border-color:#4c6756}[data-theme=dark] .faro-world .muted,[data-theme=dark] .world-person small{color:#bfcec1}[data-theme=dark] .world-land{background:#36523b;color:#f2f5e9!important;border-color:#789473}[data-theme=dark] .world-land>strong{color:#d4e6c7}[data-theme=dark] .world-guild{background:#564e3b;border-color:#9b8d65}

.world-brand .client-mark{width:34px;height:34px;margin:0 0 8px;display:grid;place-items:center;border-radius:10px;background:#fff}.world-brand img{max-width:26px;max-height:26px}.world-crew{position:absolute;bottom:10px;right:12px;display:flex;gap:3px}.world-crew>span{display:block;width:24px;height:32px}.world-crew svg{width:100%;height:100%}
.world-realm{min-width:0;display:flex;flex-direction:column;gap:8px}.world-teams{display:grid;gap:8px}.world-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 6px 10px;border-radius:14px;background:#fff9e9;border:1px solid #cbbb92;gap:5px}.world-teammate{display:grid;justify-items:center;align-content:start;min-width:0;gap:3px;text-decoration:none!important;color:#334c48!important;text-align:center}.world-teammate>span{height:45px}.world-teammate svg{width:34px;height:45px}.world-teammate>strong{font-size:.78rem;overflow-wrap:anywhere}.world-teammate>small{font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.world-pair>span{grid-column:1/-1;font-size:.72rem;text-align:center;border-radius:8px;padding:5px;line-height:1.35}.world-qa-pass{background:#d4ead4;color:#20512a}.world-qa-pending{background:#f7e5bb;color:#63451c}.world-roster-empty{margin:0;padding:8px 12px;text-align:center;font-size:.8rem;color:#4b6559}.world-land[data-client-land=turno]{background:#cce6e2;border-color:#7ab4aa}.world-land[data-client-land=arlo]{background:#d8e9c1;border-color:#9fb97a}.world-land[data-client-land=elastic]{background:#f7d5ab;border-color:#d29c62}.world-land[data-client-land=confience]{background:#d7daf2;border-color:#9b9ac7}.world-land[data-client-land=linkedin]{background:#bbdeee;border-color:#78b1cf}.world-land[data-client-land=salvo]{background:#ead3e6;border-color:#bd98ba}.world-land[data-client-land=socialscout]{background:#f4cebd;border-color:#c3957f}[data-theme=dark] .world-pair{background:#263936;border-color:#677365}[data-theme=dark] .world-teammate{color:#ebefde!important}[data-theme=dark] .world-roster-empty{color:#bfcec1}[data-theme=dark] .world-qa-pass{background:#254b34;color:#d5ecd7}[data-theme=dark] .world-qa-pending{background:#574728;color:#fae6b7}[data-theme=dark] .world-land[data-client-land]{background:#304d47;border-color:#638f7d}[data-theme=dark] .world-land[data-client-land=elastic]{background:#58462c;border-color:#a1844b}[data-theme=dark] .world-land[data-client-land=confience]{background:#3d405c;border-color:#8480ad}[data-theme=dark] .world-land[data-client-land=linkedin]{background:#254d62;border-color:#6199b6}[data-theme=dark] .world-land[data-client-land=salvo]{background:#523b53;border-color:#a179a3}[data-theme=dark] .world-land[data-client-land=socialscout]{background:#574133;border-color:#a98067}

/* Desktop realm: a continuous landscape with a real review desk. */
main:has(.realm-shell){max-width:1840px;padding:24px 28px 34px}
.realm-shell{--realm-ink:var(--ink);--realm-muted:var(--muted);--realm-paper:var(--surface);--realm-line:var(--line);color:var(--realm-ink);margin:0;min-width:0}
.realm-shell *{box-sizing:border-box}
.realm-shell ::selection{background:#d6b96d;color:#243e36}
.realm-shell a,.realm-shell button{text-underline-offset:4px}
.realm-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 22px}
.realm-heading h1{font-size:clamp(1.75rem,2.6vw,2.8rem);font-weight:700;letter-spacing:-.035em;line-height:1.15;margin:0 0 8px;text-wrap:balance}
.realm-heading p{font-size:.93rem;color:var(--realm-muted);margin:0}
.realm-controls{display:flex;align-items:center;gap:8px}
.realm-shell .button{min-height:44px;font-size:.8rem;border-radius:10px;white-space:normal;text-align:center;line-height:1.35}
.realm-shell :is(button,a):focus-visible{outline:3px solid #775a94;outline-offset:4px}
.realm-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid var(--realm-line);border-radius:22px;overflow:hidden;box-shadow:0 12px 32px #263f3810;min-width:0;background:var(--realm-paper)}
.realm-canvas{position:relative;aspect-ratio:1080/860;min-width:0;isolation:isolate;overflow:hidden;background:#dce7bf}
.realm-backdrop{position:absolute;inset:0;pointer-events:none}
.realm-shell svg.realm-scenery{width:100%;height:100%;stroke:none;fill:none;display:block}
.realm-shell svg.realm-building{width:100%;height:auto;stroke:none;fill:none;overflow:visible;display:block}
.realm-shell svg.realm-sprite{width:100%;height:100%;stroke:none;fill:none;overflow:visible;display:block}
.realm-marker{position:absolute;left:var(--land-x);top:var(--land-y);transform:translate(-50%,-50%);width:24%;border:0;background:transparent;color:#283d33;padding:0;display:grid;justify-items:center;cursor:pointer;z-index:2;isolation:isolate;font-family:inherit}
.realm-building-wrap{display:block;width:75%;transition:transform .2s ease-out;filter:drop-shadow(0 4px 2px #4d66441a)}
.realm-marker:hover .realm-building-wrap{transform:translateY(-5px)}
.realm-marker[aria-pressed=true] .realm-label{background:#fffdf1;border-color:var(--land-color);box-shadow:0 3px 12px #293d3d24}
.realm-marker[aria-pressed=true] .realm-label:after{content:'';position:absolute;width:7px;height:7px;background:var(--land-color);border:2px solid #fffdf1;border-radius:50%;top:-5px;right:10px}
.realm-label{position:relative;display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;column-gap:6px;row-gap:2px;background:#fff9e9ed;border:1px solid #b5b58f;border-radius:10px;padding:7px 9px;min-width:0;width:100%;text-align:left;box-shadow:0 2px 5px #5066410d}
.realm-label>strong{font-size:clamp(.71rem,.9vw,.9rem);line-height:1.2;font-weight:750;overflow-wrap:anywhere}
.realm-state{grid-column:2;font-size:clamp(.63rem,.75vw,.73rem);line-height:1.3;color:#50604a}
.realm-logo{grid-row:1/3;display:grid;align-items:center;justify-items:center;width:24px;height:28px}
.realm-logo .client-mark{display:grid;place-items:center;width:24px;height:24px;margin:0;padding:3px;border-radius:6px;background:#fff}
.realm-logo :is(svg,img){display:block;width:20px;height:20px;max-width:100%;object-fit:contain}
.realm-logo .client-mark img{width:19px;height:19px}
.realm-marker[data-tone=ready] .realm-state{color:#2a623f;font-weight:700}
.realm-marker[data-tone=attention] .realm-state{color:#8c402e;font-weight:700}
.realm-marker[data-tone=working] .realm-state{color:#216476;font-weight:700}
.realm-map-crew{position:absolute;bottom:53px;left:0;display:flex;width:40%;height:43px;pointer-events:none}
.realm-map-crew>svg{width:50%!important;height:100%!important;filter:drop-shadow(0 1px 1px #273a3a14)}
.realm-marker.has-active-planner .realm-map-crew>svg:first-child{animation:realm-carry 3.5s cubic-bezier(.22,.61,.36,1) infinite alternate}
@keyframes realm-carry{0%{transform:translate(0,0)}50%{transform:translate(12px,-2px)}100%{transform:translate(24px,0)}}
.realm-citadel{position:absolute;left:49%;top:42%;width:22%;transform:translate(-50%,-50%);background:none;border:none;padding:0;color:#423a4c;display:grid;justify-items:center;cursor:pointer;z-index:3}
.realm-shell .realm-palace{width:100%;height:auto;stroke:none;fill:none;overflow:visible}
.realm-citadel strong{font-size:clamp(.8rem,1.05vw,1.1rem);padding:6px 8px 0;font-weight:750;line-height:1.2}
.realm-citadel small{font-size:clamp(.65rem,.8vw,.75rem);padding:2px 6px 4px;line-height:1.3}
.realm-citadel[aria-pressed=true] strong{text-decoration:underline;text-decoration-color:#aa88a7;text-underline-offset:4px;text-decoration-thickness:2px}
.realm-royal{position:absolute;bottom:38px;left:37%;width:31%;height:52%;max-height:75px;filter:drop-shadow(0 2px 1px #403d3226)}
.realm-alondra{position:absolute;left:57%;top:53%;width:8%;max-width:80px;color:#604531;text-decoration:none!important;display:grid;justify-items:center;z-index:2}
.realm-alondra .realm-sprite{height:auto!important;width:55%!important}
.realm-alondra span{font-size:clamp(.6rem,.8vw,.78rem);font-weight:700}
.realm-alondra small{font-size:clamp(.55rem,.68vw,.65rem);line-height:1.2;text-align:center}
.realm-desk{padding:25px 22px 20px;background:var(--realm-paper);border-left:1px solid var(--realm-line);min-width:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#b7ac89 transparent;max-height:850px;overscroll-behavior:contain}
.realm-desk h2{font-size:1.55rem;font-weight:700;letter-spacing:-.035em;line-height:1.15;margin:0 0 12px;text-wrap:balance}
.realm-desk h2:focus{outline:none}
.realm-desk h3{font-size:.85rem;margin:25px 0 12px;font-weight:750}
.realm-intro{font-size:.84rem;color:var(--realm-muted);line-height:1.55;margin:0 0 20px;max-width:65ch}
.realm-review-stack{display:grid;gap:10px;margin:0 0 16px}
.realm-result{display:grid;gap:7px;padding:13px 14px;background:#fffef8;border:1px solid #d8d1b7;border-radius:10px;text-decoration:none;color:var(--realm-ink);transition:background .15s}
.realm-result:hover{background:#f2ecd6}
.realm-result small{font-size:.7rem;color:#52624a;font-weight:600}
.realm-result strong{font-size:.85rem;line-height:1.4;overflow-wrap:anywhere}
.realm-result span{font-size:.7rem;color:#2e6548;font-weight:650}
.realm-desk>.button{width:100%;margin-top:8px}
.realm-history{list-style:none;padding:0;margin:0;display:grid;gap:12px}
.realm-history li{padding-bottom:11px;border-bottom:1px solid var(--realm-line);display:grid;grid-template-columns:1fr auto;gap:4px;font-size:.73rem;line-height:1.4}
.realm-history strong{font-size:.77rem}
.realm-history time{grid-column:1/-1;font-size:.67rem;color:var(--realm-muted)}
.realm-history li>span{text-transform:capitalize;color:var(--realm-muted)}
.realm-team{padding:8px 0 18px;margin:0 0 18px;border-bottom:1px solid var(--realm-line)}
.realm-team-people{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 14px}
.realm-agent{display:grid;justify-items:center;align-content:start;gap:4px;text-align:center;text-decoration:none;color:var(--realm-ink);min-width:0}
.realm-agent .realm-sprite{width:58px!important;height:78px!important;transition:transform .2s}
.realm-agent:hover .realm-sprite{transform:translateY(-3px)}
.realm-agent small{font-size:.7rem;font-weight:650;color:var(--realm-muted)}
.realm-agent strong{font-size:.77rem;line-height:1.4;overflow-wrap:anywhere}
.realm-verdict{font-size:.74rem;line-height:1.4;background:#f2e5c5;color:#725120;border-radius:7px;padding:8px 10px;margin:10px 0}
.realm-verdict.passed{color:#27563a;background:#e0edd7}
.realm-live,.realm-caution{font-size:.74rem;font-weight:650;line-height:1.5;margin:8px 0;color:#216476}
.realm-caution{color:#8c4a2f}
.realm-result-title{font-size:.84rem;line-height:1.45;margin:13px 0 6px;font-weight:650;overflow-wrap:anywhere}
.realm-source{display:block;font-size:.7rem;color:var(--realm-muted);line-height:1.45;margin:4px 0}
.realm-team>.button{width:100%;margin-top:16px}
.realm-desk-links{display:grid;gap:8px}
.realm-guild-art{max-width:180px;margin:30px auto}
.realm-foot{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--realm-muted);font-size:.72rem;margin-top:14px;line-height:1.5}
.realm-legend{display:flex;gap:16px;flex-wrap:wrap}
.realm-legend span{display:flex;align-items:center;gap:5px}
.realm-legend span:before{content:'';width:7px;height:7px;border-radius:50%;background:#71836b}
.realm-legend [data-tone=ready]:before{background:#347b4b}
.realm-legend [data-tone=working]:before{background:#2a7d93}
.realm-legend [data-tone=attention]:before{background:#b1593a}
.realm-empty{font-size:.85rem;line-height:1.6;margin:20px 0}
[data-theme=dark] .realm-shell{--realm-ink:var(--ink);--realm-muted:var(--muted);--realm-paper:var(--surface);--realm-line:var(--line)}
[data-theme=dark] .realm-canvas{background:#879d79}
[data-theme=dark] .realm-scenery{filter:brightness(.66) saturate(.72)}
[data-theme=dark] .realm-label{background:#2e4536f5;border-color:#7c8b64;color:#f1ebd4}
[data-theme=dark] .realm-marker[aria-pressed=true] .realm-label{background:#314e3d;border-color:#d9c681}
[data-theme=dark] .realm-marker .realm-state{color:#c9d5b7}
[data-theme=dark] .realm-marker[data-tone=ready] .realm-state{color:#c1e3b4}
[data-theme=dark] .realm-marker[data-tone=working] .realm-state{color:#b1e1e7}
[data-theme=dark] .realm-marker[data-tone=attention] .realm-state{color:#ffd0a1}
[data-theme=dark] .realm-citadel,[data-theme=dark] .realm-alondra{color:#f2e6b6}
[data-theme=dark] .realm-result{background:#30493c;border-color:#61735a}
[data-theme=dark] .realm-result:hover{background:#3c5744}
[data-theme=dark] .realm-result small{color:#d8dabb}
[data-theme=dark] .realm-result span{color:#c5e0b6}
[data-theme=dark] .realm-verdict{background:#594d2e;color:#f6db9b}
[data-theme=dark] .realm-verdict.passed{background:#36543c;color:#e0ebca}
[data-theme=dark] .realm-live{color:#b5e2df}
[data-theme=dark] .realm-caution{color:#ffcf9b}
@media(min-width:1600px){.realm-layout{grid-template-columns:minmax(0,1fr) 350px}.realm-desk{padding:30px;max-height:1000px}.realm-marker{width:22%}.realm-map-crew{bottom:58px}}
@media(max-width:1150px) and (min-width:901px){.realm-layout{grid-template-columns:minmax(0,1fr) 270px}.realm-desk{padding:20px 16px}.realm-label{grid-template-columns:18px minmax(0,1fr);padding:6px}.realm-logo,.realm-logo .client-mark{width:18px;height:20px}.realm-logo img{width:16px!important;height:16px!important}.realm-map-crew{height:32px;bottom:45px}.realm-royal{bottom:30px}}
@media(max-width:900px){main:has(.realm-shell){padding:22px 18px}.realm-layout{grid-template-columns:1fr}.realm-desk{border-left:0;border-top:1px solid var(--realm-line);max-height:none}.realm-heading{align-items:flex-start}.realm-heading p{max-width:36ch}.realm-label>strong{font-size:.78rem}.realm-state{font-size:.68rem}.realm-citadel strong{font-size:.9rem}.realm-citadel small{font-size:.7rem}.realm-alondra span{font-size:.7rem}.realm-alondra small{font-size:.6rem}.realm-royal{bottom:35px}.realm-review-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.realm-team-people{max-width:360px;margin:0 auto 16px}.realm-desk-links{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:550px){main:has(.realm-shell){padding:18px 12px 30px}.realm-heading{gap:10px;margin-bottom:16px}.realm-heading h1{font-size:1.7rem}.realm-heading p{font-size:.8rem;max-width:29ch}.realm-controls .button{padding:8px 11px}.realm-layout{border-radius:15px}.realm-canvas{aspect-ratio:auto;display:grid;grid-template-columns:1fr 1fr;gap:15px 10px;padding:14px 12px 20px;background:#dce7bf}.realm-backdrop{opacity:.32}.realm-marker{position:relative;left:auto;top:auto;transform:none;width:100%;align-self:end;grid-template-rows:auto 54px}.realm-building-wrap{width:100px}.realm-label{min-height:54px;grid-template-columns:22px minmax(0,1fr);padding:7px;align-self:stretch}.realm-label>strong{font-size:.8rem}.realm-state{font-size:.7rem}.realm-map-crew{height:32px;width:50px;left:2px;bottom:54px}.realm-citadel{position:relative;left:auto;top:auto;transform:none;width:125px;margin:auto;grid-column:1;grid-row:1}.realm-royal{bottom:34px;height:65px;width:42px;left:40px}.realm-alondra{position:relative;left:auto;top:auto;width:80px;margin:auto;max-width:none;grid-column:2;grid-row:1}.realm-alondra .realm-sprite{width:44px!important}.realm-citadel strong{font-size:.8rem}.realm-citadel small{font-size:.65rem}.realm-desk{padding:22px 17px;scroll-margin-top:95px}.realm-review-stack{grid-template-columns:1fr}.realm-desk-links{grid-template-columns:1fr}.realm-foot{font-size:.68rem}.realm-legend{gap:10px}.realm-heading .button{font-size:.75rem}.realm-team .button{white-space:normal}}
@media(prefers-reduced-motion:reduce){.realm-marker.has-active-planner .realm-map-crew>svg:first-child{animation:none}.realm-building-wrap,.realm-agent .realm-sprite,.realm-result{transition:none}}
@media(min-width:901px){.realm-canvas{aspect-ratio:auto;height:clamp(600px,calc(100dvh - 245px),900px)}.realm-building-wrap{max-width:165px}.realm-desk{max-height:clamp(600px,calc(100dvh - 245px),900px)}.realm-citadel{max-width:180px}}
[data-theme=dark] .realm-citadel strong,[data-theme=dark] .realm-citadel small,[data-theme=dark] .realm-alondra span,[data-theme=dark] .realm-alondra small{background:#233c31;color:#f2e6b6;border-radius:4px;padding:3px 6px}

/* Ambient life and evidence-bound journeys. No task completion is simulated. */
.realm-weather,.realm-travellers{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.realm-weather{z-index:0}
.realm-travellers{z-index:2}
.realm-cloud{position:absolute;width:13%;opacity:.55;animation:realm-cloud-drift 32s ease-in-out infinite alternate}
.realm-cloud-a{left:8%;top:5%}
.realm-cloud-b{left:60%;top:34%;width:10%;animation-duration:41s;animation-delay:-15s;opacity:.4}
.realm-cloud-c{left:72%;top:67%;width:14%;animation-duration:36s;animation-delay:-9s;opacity:.38}
.realm-cloud svg{width:100%;height:auto;stroke:none;fill:none}
.realm-water-current{animation:realm-stream 5s linear infinite;opacity:.6}
.realm-fox{transform-box:fill-box;transform-origin:center;animation:realm-fox-stroll 23s ease-in-out infinite}
.realm-rabbit{transform-box:fill-box;transform-origin:50% 100%;animation:realm-rabbit-nose 15s ease-in-out infinite}
.realm-eyes{transform-box:fill-box;transform-origin:center;animation:realm-blink 7.4s linear infinite}
.realm-map-crew>svg:nth-child(2) .realm-eyes{animation-delay:-2.4s}
.realm-alondra .realm-eyes{animation-delay:-4s}
.realm-wave{transform-origin:51px 58px;animation:realm-queen-wave 13s ease-in-out infinite}
.realm-traveller{position:absolute;left:0;top:0;width:34px;height:46px;transform:translate(var(--journey-start-x),var(--journey-start-y));animation:realm-work-journey 11s linear infinite;filter:drop-shadow(0 2px 1px #314c3b33)}
.realm-traveller .realm-sprite{animation:realm-walk-step .48s ease-in-out infinite alternate}
.realm-marker.has-active-planner .realm-map-crew>svg:first-child{opacity:.3;animation:none}
.realm-motion-note{flex-basis:100%;font-size:.68rem;color:var(--realm-muted)}
.realm-controls .realm-motion-control{min-width:108px}
@keyframes realm-cloud-drift{from{transform:translate3d(-20px,0,0)}to{transform:translate3d(65px,7px,0)}}
@keyframes realm-stream{to{stroke-dashoffset:-68}}
@keyframes realm-blink{0%,94%,98%,100%{transform:scaleY(1)}96%{transform:scaleY(.08)}}
@keyframes realm-queen-wave{0%,76%,100%{transform:rotate(0)}80%,88%{transform:rotate(-110deg)}84%,92%{transform:rotate(-75deg)}}
@keyframes realm-fox-stroll{0%,10%,90%,100%{transform:translate(0,0)}35%,55%{transform:translate(-17px,4px)}70%{transform:translate(-5px,1px)}}
@keyframes realm-rabbit-nose{0%,76%,100%{transform:scaleY(1) rotate(0)}80%,88%{transform:scaleY(.94) rotate(-4deg)}84%,92%{transform:scaleY(1) rotate(3deg)}}
@keyframes realm-work-journey{0%,8%,100%{transform:translate3d(var(--journey-start-x),var(--journey-start-y),0)}28%,74%{transform:translate3d(var(--journey-mid-x),var(--journey-mid-y),0)}48%,54%{transform:translate3d(var(--journey-end-x),var(--journey-end-y),0)}}
@keyframes realm-walk-step{from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-3px) rotate(2deg)}}
.realm-shell[data-motion=paused] *,.realm-shell[data-motion-visibility=hidden] *{animation-play-state:paused!important}
.realm-shell[data-motion=paused] .realm-marker:hover .realm-building-wrap{transform:none}
@media(max-width:550px){.realm-weather{display:none}.realm-travellers{display:none}.realm-controls{flex-direction:column;align-items:stretch;gap:6px}.realm-controls .realm-motion-control{min-width:0;font-size:.7rem}.realm-canvas .realm-eyes{animation-duration:10s}.realm-fox,.realm-rabbit,.realm-water-current{animation:none}.realm-wave{animation-duration:18s}.realm-motion-note{max-width:48ch}}
@media(prefers-reduced-motion:reduce){.realm-shell .realm-eyes,.realm-shell .realm-wave,.realm-shell .realm-cloud,.realm-shell .realm-water-current,.realm-shell .realm-fox,.realm-shell .realm-rabbit,.realm-shell .realm-traveller,.realm-shell .realm-traveller .realm-sprite{animation:none!important}.realm-shell .realm-travellers{display:none}.realm-marker:hover .realm-building-wrap{transform:none}.realm-marker .realm-building-wrap,.realm-agent .realm-sprite{transition:none}}
.realm-shell[data-travel=off] .realm-marker.has-active-planner .realm-map-crew>svg:first-child{opacity:1;animation:realm-carry 3.5s ease-in-out infinite alternate}@media(prefers-reduced-motion:reduce){.realm-shell .realm-marker.has-active-planner .realm-map-crew>svg:first-child{animation:none!important;opacity:1}}

/* Actual registered operations. Status words remain readable without motion. */
.realm-operation-crew{position:absolute;right:0;bottom:54px;display:flex;max-width:64%;height:33px;pointer-events:none;gap:0}
.realm-operation-figure{display:block;width:23px;height:33px;filter:drop-shadow(0 1px 1px #273a3a14)}
.realm-operation-figure svg{width:100%;height:100%}
.realm-operation-figure[data-state=stale]{opacity:.45}
.realm-operation-figure[data-state=failure]{filter:sepia(.8) saturate(2)}
.realm-shell[data-motion=playing][data-motion-visibility=visible] .realm-operation-figure[data-state=working]{animation:realm-carry 3.5s cubic-bezier(.22,.61,.36,1) infinite alternate}
.realm-operations{margin:20px 0;min-width:0}
.realm-operation-summary{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 16px}
.realm-operation-summary span{padding:5px 8px;border:1px solid var(--realm-line);border-radius:7px;font-size:.75rem;font-weight:650}
.realm-operation-list summary{cursor:pointer;padding:8px 0;font-size:.8rem;font-weight:700}
.realm-operation{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 11px;padding:14px 0;border-bottom:1px solid var(--realm-line);font-size:.79rem;min-width:0;overflow-wrap:anywhere}
.realm-operation-portrait{width:36px;height:46px;align-self:start}
.realm-operation-portrait svg{width:100%;height:100%}
.realm-operation>div{display:grid;gap:4px;min-width:0}
.realm-operation small{display:block;line-height:1.5;color:var(--realm-muted);font-size:.72rem}
.realm-operation-state{font-weight:750;color:var(--realm-ink)}
.realm-operation[data-state=working] .realm-operation-state{color:#216476}
.realm-operation[data-state=failure] .realm-operation-state{color:#983e29}
.realm-operation-qa,.realm-operation>.button{grid-column:2;margin:0}
.realm-operation-qa{line-height:1.5;font-size:.73rem}
.realm-operation>.button{justify-self:start;font-size:.76rem;min-height:38px}
.realm-source-checks{margin-top:16px;font-size:.77rem;line-height:1.5}
.realm-source-checks summary{cursor:pointer;padding:8px 0;font-weight:700}
.realm-source-checks p span{display:block;color:var(--realm-muted)}
[data-theme=dark] .realm-operation[data-state=working] .realm-operation-state{color:#93d9df}
[data-theme=dark] .realm-operation[data-state=failure] .realm-operation-state{color:#ffbd9e}
@media(max-width:550px){.realm-operation-crew{height:28px;bottom:62px;right:2px}.realm-operation-figure{width:20px;height:28px}.realm-operation>.button{min-height:44px}}
@media(prefers-reduced-motion:reduce){.realm-operation-figure{animation:none!important}}

/* Source stages are distinct: capture, original preservation, search admission. */
.realm-source-pipeline{margin:16px 0 24px;min-width:0}
.realm-source-pipeline h3{font-size:.94rem;margin:0 0 10px}
.realm-source-card{padding:13px 0;border-bottom:1px solid var(--realm-line);min-width:0;overflow-wrap:anywhere}
.realm-source-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:.83rem}
.realm-source-status{font-size:.7rem;color:var(--realm-muted)}
.realm-source-status[data-state=disconnected],.realm-source-status[data-state=error],.realm-source-status[data-state=expired]{color:#8c402e;font-weight:700}
.realm-source-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}
.realm-source-stage{min-width:0;font-size:.72rem;line-height:1.45}
.realm-source-stage small{display:block;color:var(--realm-muted);font-size:.68rem;margin-bottom:3px}
.realm-source-stage strong{display:block;font-weight:650}
.realm-source-stage[data-state=failed],.realm-source-stage[data-state=error]{color:#8c402e}
.realm-source-dates{font-size:.72rem;margin-top:9px;line-height:1.5}
.realm-source-dates summary{cursor:pointer;min-height:44px;display:list-item;align-content:center;width:fit-content}
.realm-source-dates dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 10px;margin:4px 0 8px}
.realm-source-dates dt{color:var(--realm-muted)}
.realm-source-dates dd{margin:0;font-variant-numeric:tabular-nums}
.realm-source-dates p{margin:7px 0}
.realm-source-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.realm-source-actions .button{font-size:.73rem;min-height:44px}
[data-theme=dark] .realm-source-status[data-state=disconnected],[data-theme=dark] .realm-source-status[data-state=error],[data-theme=dark] .realm-source-status[data-state=expired],[data-theme=dark] .realm-source-stage[data-state=failed],[data-theme=dark] .realm-source-stage[data-state=error]{color:#ffbd9e}
@media(max-width:360px){.realm-source-stages{grid-template-columns:1fr}.realm-source-dates dl{grid-template-columns:1fr;gap:2px}.realm-source-dates dd{margin-bottom:5px}}

/* Private Jobs guild: producer telemetry, never queue-derived motion or QA. */
.realm-job-map-crew>svg:first-child{animation:none;opacity:1}
.realm-job-map-crew>svg:nth-child(2){opacity:.48}
.realm-shell[data-travel=off][data-motion=playing][data-motion-visibility=visible] .realm-job-map-crew[data-state=working]>svg:first-child{animation:realm-carry 3.5s ease-in-out infinite alternate}
.realm-shell[data-travel=on] .realm-job-map-crew[data-state=working]>svg:first-child{opacity:.3}
.realm-job-map-crew[data-state=stale]>svg:first-child,.realm-job-map-crew[data-state=stopped]>svg:first-child,.realm-job-map-crew[data-state=unverified]>svg:first-child{opacity:.45}
.realm-jobs-worker{min-width:0;margin:18px 0 26px;overflow-wrap:anywhere}
.realm-job-pair{display:flex;gap:24px;align-items:end;margin:0 0 18px}
.realm-job-person{display:grid;justify-items:center;gap:6px;min-width:0;font-size:.76rem}
.realm-job-person>span{display:block;width:52px;height:70px}
.realm-job-person svg{width:100%;height:100%}
.realm-job-person[data-job-role=qa]>span{opacity:.5}
.realm-job-state{font-weight:750;font-size:1.08rem;margin:0 0 7px;line-height:1.4}
.realm-job-phase{font-size:.84rem;line-height:1.5;margin:0 0 8px}
.realm-job-heartbeat{display:block;color:var(--realm-muted);font-size:.72rem;line-height:1.5;margin-bottom:16px}
.realm-jobs-worker>.button{min-height:44px;white-space:normal;font-size:.8rem}
.realm-jobs-worker[data-state=working] .realm-job-state{color:#216476}
.realm-jobs-worker[data-state=failure] .realm-job-state,.realm-jobs-worker[data-state=overlap] .realm-job-state{color:#983e29}
.realm-shell[data-motion=playing][data-motion-visibility=visible] .realm-jobs-worker[data-state=working] .realm-job-person[data-job-role=worker]>span{animation:realm-walk-step .7s ease-in-out infinite alternate}
.realm-job-receipt{display:grid;gap:5px;padding:14px 0;border-top:1px solid var(--realm-line);font-size:.78rem;min-width:0}
.realm-job-receipt strong{font-size:.81rem}.realm-job-receipt time{color:var(--realm-muted);font-size:.72rem}
.realm-job-receipt .button{min-height:44px;justify-self:start;font-size:.76rem}
.realm-job-history summary{min-height:44px;align-content:center;cursor:pointer;font-size:.79rem;font-weight:650}
.realm-job-history dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;margin:8px 0;font-size:.78rem}.realm-job-history dd{margin:0;font-variant-numeric:tabular-nums}
[data-theme=dark] .realm-jobs-worker[data-state=working] .realm-job-state{color:#93d9df}
[data-theme=dark] .realm-jobs-worker[data-state=failure] .realm-job-state,[data-theme=dark] .realm-jobs-worker[data-state=overlap] .realm-job-state{color:#ffbd9e}
@media(prefers-reduced-motion:reduce){.realm-job-map-crew>svg,.realm-jobs-worker .realm-job-person>span{animation:none!important;opacity:1!important}}

/* Job review: one next action and one dated pair of conversation evidence. */
.job-review-reason{padding:20px 0 12px;min-width:0;max-width:72ch}
.job-review-reason h3{margin:0 0 8px;font-size:1.1rem}
.job-review-reason p{margin:8px 0;line-height:1.55;overflow-wrap:anywhere}
.job-review-navigation{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0 4px}
.job-review-navigation .button{min-height:44px}
.job-inline-context{min-width:0;margin:12px 0 24px}
.job-evidence-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0}
.job-evidence-card{min-width:0;border:1px solid var(--line,#d9e2dd);background:var(--surface,#fff);border-radius:16px;padding:18px}
.job-evidence-card h3{margin:0 0 6px;font-size:1rem}
.job-evidence-card p{margin:8px 0;line-height:1.55;overflow-wrap:anywhere}
.job-evidence-own{background:var(--surface,#fff)}
.job-evidence-preview{white-space:pre-line}
.job-evidence-card details{margin-top:12px}
.job-evidence-card summary,.job-assistant-tools summary{cursor:pointer;min-height:28px;padding:6px 0;text-decoration:underline;text-underline-offset:3px}
.job-assistant-tools{margin:12px 0}
.job-assistant-tools>.job-actions{margin-top:8px}
.job-review-open .job-heading{padding:0;margin:0 0 14px;background:none;min-height:0;border:0}
.job-review-open .job-heading h1{font-size:20px;margin:0;letter-spacing:-.025em}
.job-review-open .job-heading p,.job-review-open .job-heading .job-actions,.job-review-open .job-counters,.job-review-open .job-connection-toolbar{display:none}
.job-review-open .job-detail{margin:0 auto}
.job-card-next p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.job-detail,.job-detail *{min-width:0}
@media(max-width:700px){.job-evidence-pair{grid-template-columns:minmax(0,1fr)}.job-review-reason{padding-top:12px}.job-evidence-card{padding:16px}.job-review-navigation>.button{width:100%}}
