/* The journey told on the project's maquette (owner 01/11, option A «Obra»): the page's scroll builds it stage by stage,
   with cards in the app's language beside it. Without JavaScript the five stages stay as plain text. */
.project-journey [hidden]{display:none!important}
.obra-track{height:calc(100vh + 340vh);height:calc(100svh + 340vh)}
#workspace{scroll-margin-top:0}
.obra-stage{display:grid;gap:28px}
.obra-side,.obra-model{display:none}
.project-journey-panel+.project-journey-panel{margin-top:26px}
.is-interactive .project-journey-panel{margin-top:0}
.project-stage-label{font-size:12px;font-weight:500;letter-spacing:.04em;color:#cfe95a}
.project-journey-copy h3{margin:6px 0;font-size:clamp(26px,2.9vw,40px);line-height:1.08;letter-spacing:-.04em;font-weight:600}
.project-journey-copy p{margin:0;max-width:44ch;font-size:15px;line-height:1.6;color:#b4bab1}
.project-journey :is(button,[role=tabpanel]):focus-visible{outline:2px solid #cfe95a;outline-offset:4px}
/* The plans bar is not here: its margin would scroll the page, and with it the stage, on every focused control. */
.candidate-site .obra-stage :is(a,button,[tabindex]){scroll-margin:0}
.project-journey-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:4px;border:1px solid var(--b-tint-line);border-radius:18px;background:var(--b-tint)}
.project-journey-tabs button{display:flex;align-items:center;gap:8px;min-width:0;min-height:56px;padding:6px 10px;border:0;border-radius:14px;background:transparent;color:#b4bab1;font:500 13px Geist,system-ui,sans-serif;text-align:left;cursor:pointer}
.project-journey-tabs button:hover{background:#283025;color:#e5f4b6}
.project-journey-tabs button[aria-selected=true]{background:#303b24;color:#e5f4b6}
.project-step{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border:1px solid #4f5b45;border-radius:50%;font-size:10px;color:#cfe95a}
.project-tab-label{min-width:0;line-height:1.4;overflow-wrap:normal;word-break:normal}

.is-on .obra-stage{position:sticky;top:0;height:100vh;height:100svh;grid-template-columns:minmax(0,1.1fr) minmax(0,440px);align-items:center;padding-block:28px 20px}
.is-on .project-journey{display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:10px;height:100%;min-width:0;min-height:0}
.is-on .obra-model{position:relative;display:block;min-height:0}
.obra-still{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}
.obra-model canvas{position:relative;display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab}
.obra-model canvas:active{cursor:grabbing}
.is-on .obra-side{display:grid;align-content:safe center;gap:10px;min-width:0;max-height:100%;overflow:auto}
.obra-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.obra-head h2{margin:0;font-size:21px;line-height:1.15;letter-spacing:-.03em;font-weight:600;white-space:nowrap;color:var(--b-paper)}
.obra-tools{display:flex;align-items:center;gap:6px}
.obra-tools .b24-role-tabs button{min-width:66px;padding:0 10px}
.obra-tools .b24-reset{flex:none;width:44px;height:44px;border:1px solid var(--b-tint-line);border-radius:50%;background:var(--b-tint);color:var(--b-paper);font-size:18px;cursor:pointer}
.obra-cards{display:grid;gap:10px;min-width:0;outline:none}
.obra-side .b24-foot{margin:0;font-size:12px;color:#b4bab1}
.ob-card{display:grid;gap:9px;min-width:0;padding:14px 16px;border-radius:18px;background:#fff;color:#16181b;font-size:14px;line-height:1.4;box-shadow:0 18px 50px #0000004d}
.ob-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:16px;letter-spacing:-.01em}
.ob-top b,.ob-tt,.ob-et{font-weight:600}
.ob-et{font-size:12.5px}
.ob-dash{display:grid;grid-template-columns:repeat(12,1fr);gap:3px}
.ob-dash i{height:5px;border-radius:3px;background:#d7dad3}
.ob-dash i.ob-on{background:#16181b}
.ob-tk{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;letter-spacing:.1em}
.ob-vial{position:relative;flex:none;width:34px;height:12px;border-radius:6px;background:#16181b}
.ob-vial::after{content:"";position:absolute;left:12px;top:2.5px;width:14px;height:7px;border-radius:4px;background:#cfe95a}
.ob-turn{margin-left:auto;padding:3px 9px;border-radius:999px;background:#16181b;color:#fff;font-size:11.5px;letter-spacing:0;white-space:nowrap}
.ob-turn.ob-wait{background:#e8eae5;color:#5e635f}
.ob-tt{font-size:15.5px;letter-spacing:-.01em}
.ob-ds{font-size:13px;color:#5e635f}
.ob-q{padding:9px 11px;border-radius:12px;background:#eef6cc;font-size:13.5px}
.ob-q.ob-mine{background:#e8eae5}
.ob-q b{display:block;font-size:11.5px;font-weight:600;color:#56651a}
.ob-q.ob-mine b{color:#5e635f}
.ob-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-top:1px solid #eef0eb;font-size:13.5px}
.ob-row.ob-end{padding-bottom:0}
.ob-tt+.ob-row{border-top:0;padding-top:0}
.ob-chip{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:#e8eae5;color:#5e635f;font-size:12px;font-weight:600;white-space:nowrap}
.ob-chip.ob-g{background:#e7f2ec;color:#1a6e44}
.ob-chip.ob-l{background:#eef6cc;color:#56651a}
.ob-chip.ob-r{background:#fbe4e1;color:#b3261e}
.ob-chips,.ob-btns{display:flex;flex-wrap:wrap;gap:6px}
.ob-btn{justify-self:start;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:0;border-radius:22px;background:#16181b;color:#fff;font:600 14px Geist,system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.ob-btn.ob-ghost{background:transparent;color:#16181b;box-shadow:inset 0 0 0 1.5px #16181b}
.ob-bar{height:8px;border-radius:4px;background:#dfe2db;overflow:hidden}
.ob-bar i{display:block;width:62%;height:100%;background:#16181b}
.ob-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.ob-off{display:grid;gap:3px;padding:9px 10px;border:1px solid #e1e3de;border-radius:12px;background:#fff;color:#5e635f;font:400 12.5px/1.35 Geist,system-ui,sans-serif;text-align:left;cursor:pointer}
.ob-off b{color:#16181b;font-size:13.5px;font-weight:600}
.ob-off[aria-pressed=true]{border-color:#16181b;box-shadow:inset 0 0 0 1px #16181b;background:#eef6cc}
.ob-plan{position:relative;display:block;width:min(100%,42vh);width:min(100%,calc(28svh*1.5));margin-inline:auto;padding:0;border:0;border-radius:12px;background:#fff;box-shadow:0 0 0 1px #e1e3de;overflow:hidden;cursor:crosshair}
.ob-plan:disabled{cursor:default}
.ob-plan svg{display:block;width:100%;height:auto}
.ob-mk{position:absolute;display:grid;place-items:center;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;background:#b3261e;color:#fff;font-size:12px;font-weight:600;box-shadow:0 2px 6px #0004}
.ob-mk.ob-ok{background:#1a6e44}
.ob-limit{margin:0;font-size:12.5px;color:#5e635f}
.ob-card button:focus-visible{outline:2px solid #56651a;outline-offset:2px}
@media (max-height:820px){
  .ob-marks .ob-row:nth-child(n+3){display:none}
  .ob-card{padding:11px 14px}
}
@media (max-width:900px){
  .is-on .obra-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,32%) minmax(0,1fr);gap:8px;padding-block:10px 12px;align-items:stretch}
  .is-on .project-journey{grid-template-rows:auto minmax(0,1fr);gap:0}
  .is-on .project-journey-tabs{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}
  .is-on .project-journey-copy p{display:none}
  .is-on .project-journey-copy h3{margin:2px 0 0;font-size:21px}
  .is-on .obra-side{align-content:start}
  .is-on .obra-side .b24-foot{order:-1;font-size:11px}
  .obra-head h2,.ob-etapa{display:none}
  .ob-plan{width:min(100%,30vh);width:min(100%,calc(20svh*1.5))}
  .obra-head{justify-content:flex-end}
  .ob-card{padding:11px 13px}
  .ob-marks .ob-row:nth-child(n+2){display:none}
}
/* A phone on its side: the model beside the cards, or it would be a strip. */
@media (max-width:900px) and (orientation:landscape){
  .is-on .obra-stage{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);grid-template-rows:minmax(0,1fr);gap:12px}
}
/* Between a phone and a wide screen the five stage tabs get narrow: number above the name, so nothing overlaps. */
@media (min-width:901px) and (max-width:1320px){
  .project-journey-tabs button{flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:8px 7px;font-size:clamp(10.5px,1.05vw,12px);line-height:1.25}
}
