/* NEST · lo propio de la aplicación real (lo que la maqueta no tenía). Mismos tokens VIDA que styles.css. */
[hidden]{display:none!important}
a.brand{color:inherit;text-decoration:none}
.muted{color:var(--muted)}
.iconbtn{width:34px;height:34px;border-radius:50%;border:1px solid var(--edge);background:var(--panel);display:grid;place-items:center;cursor:pointer;color:var(--text-2);transition:translate .22s var(--spring),border-color .2s}
.iconbtn svg{width:16px;height:16px}
html[data-input="mouse"] .iconbtn:hover{border-color:var(--muted);translate:0 -1px}
.me{position:relative}
.mebtn{display:flex;align-items:center;gap:10px;border:0;background:none;padding:4px;border-radius:999px;cursor:pointer}
.mebtn .nm{font-size:13px;text-align:right;line-height:1.25}.mebtn .nm small{display:block;color:var(--muted);font-size:12px}
.memenu{position:absolute;right:0;top:calc(100% + 10px);z-index:60;min-width:240px;padding:8px;border-radius:14px;background:var(--panel);box-shadow:var(--shadow-menu);animation:rise .22s var(--ease)}
.memenu p{padding:8px 10px;font-size:12.5px;color:var(--muted)}
.memenu button{display:block;width:100%;padding:9px 10px;border:0;border-radius:8px;background:none;text-align:left;font-size:14px;cursor:pointer}
html[data-input="mouse"] .memenu button:hover{background:var(--soft)}
.envbar{background:var(--t-amber);color:var(--amber-2);font-size:12.5px;text-align:center;padding:5px 16px}
.envbar b{font-weight:600}

/* loading and errors */
/* F25 · every wait is the Centogene sun (VIDA loading-sun.md). This was a ring that spun, which the sheet names
   as one of the two things a wait must never be, and it was the wait of nine screens and of the drawer.
   «A zone»: the sun 52 px, centred, the words under it in grey, fading in over .35 s. */
.vload{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:180px;
  text-align:center;color:var(--muted);font-size:12.5px;animation:vfade .35s var(--ease) both}
.vload img{width:52px;height:52px;flex:none}
/* F25 §2.2 · a search or a load that did not work. Amber, not red: nothing is broken in the agreement, the
   question simply did not get an answer, and trying again is the whole of what to do about it. */
.failed{color:var(--amber-2)}
@keyframes vfade{from{opacity:0}to{opacity:1}}
.calm.err{border-color:color-mix(in srgb,var(--red) 40%,var(--edge));color:var(--red-text)}
.toast.err svg{color:#ff9aa5}
.toast span{max-width:60ch}

/* sign in (DEV and UAT only) */
.signin{max-width:760px}
.si-h{display:flex;align-items:center;gap:16px}.si-h .dk{width:56px;height:56px}
.si-h h1{font-size:26px;font-weight:400;letter-spacing:-.01em}.si-h p{color:var(--text-2);font-size:15px;margin-top:2px}
.si-note{margin-top:22px;padding:12px 16px;border-radius:12px;background:var(--t-amber);color:var(--amber-2);font-size:13.5px}
.si-list{margin-top:22px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.si-p{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:var(--panel);box-shadow:var(--shadow);cursor:pointer;text-align:left;transition:translate .25s var(--spring),box-shadow .25s,border-color .2s}
html[data-input="mouse"] .si-p:hover{translate:0 -2px;box-shadow:var(--shadow-up);border-color:var(--edge)}
.si-p small{display:block;font-size:12.5px;color:var(--muted)}
.enter .si-p{animation:rise .5s var(--ease) backwards}
@media (max-width:760px){.si-list{grid-template-columns:1fr}}

/* strategy page: the strategy's own story */
.tp-story{margin-top:14px}
.ostory{display:inline-flex;align-items:center;gap:6px}
.ostory svg{width:14px;height:14px}

/* drawer extras */
.dsub{margin-top:8px;font-size:13px;color:var(--muted)}
.drawer .own a,.lnkx{color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;background:none;border:0;padding:0;font:inherit}
.evi li{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--border);font-size:14px}.evi li:first-child{border-top:0}
.evi svg{width:16px;height:16px;color:var(--muted);flex:none}
.evi small{display:block;font-size:12.5px;color:var(--muted)}
.scopeed{flex:1 1 100%;display:grid;gap:12px}
.scopeed .fg p{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.chips .chip.on{background:var(--ink);border-color:var(--ink);color:var(--panel)}
.df .dfm b{font-weight:600}
.dmore{margin-left:auto;display:flex;flex-wrap:wrap;gap:14px;align-items:center}

/* follow-up and pressure */
.reqs li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:center;padding:12px 0;border-top:1px solid var(--border);font-size:14px;cursor:pointer}
.reqs li:first-child{border-top:0}
.reqs small{display:block;font-size:12.5px;color:var(--muted)}
.reqs .st{font-size:12.5px;font-weight:600;white-space:nowrap}
.reqs .st.open{color:var(--amber-2)}.reqs .st.ans{color:var(--green)}
.segs{display:inline-flex;gap:2px;padding:3px;border-radius:10px;background:var(--soft);margin-top:12px}
.segs button{height:28px;padding:0 12px;border:0;border-radius:8px;background:none;font-size:12.5px;cursor:pointer;color:var(--text-2)}
.segs button[aria-pressed="true"]{background:var(--panel);color:var(--ink);box-shadow:var(--shadow);font-weight:600}
.lates li.ov{cursor:pointer}

/* meetings */
.mcard .ct b{color:var(--ink)}
.arch{margin-top:40px}
.arow{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:16px;align-items:center;padding:14px 22px;border-top:1px solid var(--border);cursor:pointer;transition:background .16s}
.arow:first-child{border-top:0}
html[data-input="mouse"] .arow:hover{background:var(--soft)}
.arow .dt{font-size:13px;color:var(--muted)}
.arow .nm{font-size:14.5px;font-weight:600}.arow .nm small{display:block;font-weight:400;font-size:12.5px;color:var(--muted)}
.agenda .mv{display:flex;gap:2px}
.agenda .mv button{width:24px;height:24px;border:0;border-radius:6px;background:none;color:var(--muted);cursor:pointer;display:grid;place-items:center}
.agenda .mv button:hover{background:var(--soft);color:var(--ink)}
.agenda .mv svg{width:13px;height:13px}
.agenda .mv .dn svg{rotate:180deg}
.trs{margin-top:12px;display:grid;gap:12px;max-height:60vh;overflow:auto}
.trs p{font-size:14px;line-height:1.55}.trs b{font-weight:600}.trs small{color:var(--muted);margin-right:8px;font-variant-numeric:tabular-nums}
@media (max-width:760px){.arow{grid-template-columns:minmax(0,1fr) auto}.arow .dt{grid-column:1 / -1}}

/* minutes */
.ag .meta{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:12.5px;color:var(--muted)}
.ag .meta b{color:var(--text-2);font-weight:600}
.ag .ups{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--t-blue);font-size:13px;color:var(--text-2)}
.ag .ups b{color:var(--blue)}.ag .ups p{margin-top:4px;color:var(--text-2)}
.agacts{display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.iedit{margin-top:10px;display:grid;gap:10px}
.iedit label{display:grid;gap:4px;font-size:12.5px;color:var(--muted)}
.iedit .pq{margin:0}
.addit{margin-top:14px}
.min .acts{margin-top:18px}
@media (max-width:760px){.ag{grid-template-columns:26px minmax(0,1fr)}.agacts{grid-column:2;flex-direction:row;align-items:center;gap:14px}}

/* phone */
.nav{scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
@media (max-width:760px){
  .mebtn .nm{display:none}
  .right{gap:8px}
  .tok{flex:1 1 30%}.tokb{padding:6px 10px 7px}.tv{font-size:13px}
  .fin{gap:8px}
  .envbar{font-size:12px;padding:4px 12px}
  .tp .tpr .btn{height:32px}
}

/* touch: a bit more room */
html[data-input="touch"] .btn{height:40px}

/* contract v0.9 (phase A): references, forecast, on hold, several leads, pending people, open topics */
.ref{display:inline-block;margin-right:8px;padding:1px 7px;border-radius:6px;background:var(--soft);font-size:11.5px;font-weight:600;letter-spacing:.03em;color:var(--muted);vertical-align:1px;font-variant-numeric:tabular-nums}
.dh .ref{font-size:12px;vertical-align:3px}
.fc{color:var(--text-2)}.fc-late{color:var(--red-text);font-weight:600}
.p-hold{background:var(--t-slate);color:var(--slate)}.p-hold i{background:var(--slate)}
.ptag{display:inline-block;margin-left:6px;padding:0 6px;border-radius:6px;background:var(--t-amber);color:var(--amber-2);font-size:11.5px;font-weight:600;vertical-align:1px}
.topics{margin-top:12px;display:grid;gap:8px}
.topics li{position:relative;padding-left:16px;font-size:14px;color:var(--text-2)}
.topics li::before{content:"";position:absolute;left:2px;top:8px;width:6px;height:6px;border-radius:50%;background:var(--slate)}
.mebtn{position:relative}.mebadge{position:absolute;right:-4px;top:-2px}
.pendn{color:var(--amber-2)!important;border-bottom:1px solid var(--border);margin-bottom:4px}

/* phase A actions in the drawer: forms wait dimmed until they can be sent */
.btn:disabled{opacity:.45;cursor:default;translate:none;box-shadow:none}
.btn:disabled:hover{translate:none;box-shadow:none;border-color:var(--edge)}
.btn.main:disabled:hover{background:var(--red-fill);border-color:var(--red-edge)}
.btn.sm{height:30px;padding:0 10px;font-size:12.5px}
.lnk.il{display:inline;margin-left:10px;padding:0}
.smx{color:var(--text-2)!important;font-size:13.5px!important}
.df .dsub{flex:1 1 100%;margin:0}
.df .dsub:empty,.df:empty{display:none}
.df .edacts,.ppf .edacts,.led .edacts{flex-wrap:wrap;align-items:center}
.ledh{margin-top:14px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.led .vlist{margin-top:4px}
.led .vlist li.muted{font-size:13.5px}
.led .why,.led .vlist li>div+.iconbtn{margin-left:auto}
.iconbtn.sm{width:28px;height:28px;flex:none}.iconbtn.sm svg{width:13px;height:13px}
.lres{display:grid;gap:4px;margin-top:4px}
.lopt{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--soft);font-size:14px}
.lopt>span:not(.av2){flex:1;min-width:0}.lopt>.av2{flex:none}.lopt small{display:block;font-size:12px;color:var(--muted)}
@media (max-width:760px){.lopt{flex-wrap:wrap}.lopt>span:not(.av2){flex:1 1 60%}.lopt .btn{flex:1 1 40%}}

/* people pending validation (administrators) */
.memenu .pendb{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;border-bottom:1px solid var(--border);border-radius:8px 8px 0 0;margin-bottom:4px;padding-bottom:11px}
.memenu .pendb small{flex:1 1 100%;font-size:12px;color:var(--muted)}
.memenu .pendb .n{position:static}
.pplist{margin-top:24px;display:grid;gap:16px}
.pplist .box+.box{margin-top:0}
.pph{display:flex;align-items:center;gap:12px}
.pph h2{font-size:16px;font-weight:600}
.pend .evi{margin-top:4px}
.ppacts{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}
.ppf{margin-top:16px;padding-top:16px;border-top:1px solid var(--border);display:grid;gap:12px}
.ppf .pq{margin:0}
.ppf .scopeed .fg>.lres,.ppf .scopeed .fg>.lopt{margin-top:6px}
.pgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pfl{display:grid;gap:4px;font-size:12.5px;color:var(--muted)}
.pp-none{display:flex;align-items:center;gap:10px;margin-top:24px}
.pp-none svg{width:16px;height:16px;color:var(--green);flex:none}
@media (max-width:760px){.pgrid{grid-template-columns:1fr}}

/* sign in: find a person among many */
.si-q{margin:22px 0 0}
.si-n{margin-top:8px;font-size:12.5px;color:var(--muted)}
.si-list .si-p[hidden]{display:none}
#sinone{margin-top:16px}

/* F6 · upload a meeting (maqueta D): a block in place under the title of Meetings and Minutes. Shadows grey only. */
.vh .upbtn{margin-left:auto;align-self:center;display:inline-flex;align-items:center;gap:8px}.vh .upbtn svg{width:15px;height:15px}
.upl{margin-top:24px;max-width:880px}.upl.in{animation:rise .45s var(--ease) backwards}
.upl>h2{font-size:16px;font-weight:600}
.upl-form{margin-top:16px;padding:16px 18px;border-radius:16px;background:var(--soft);border:1px solid var(--border);display:grid;gap:22px}
.upl-form>*,.upl-step,.upl-lab{min-width:0}
.upl-step{display:grid;gap:10px}
.upl-sl{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;color:var(--ink)}
.upl-sl .ib{width:24px;height:24px;border-radius:7px;background:var(--panel);border:1px solid var(--border);display:grid;place-items:center;color:var(--text-2);flex:none}
.upl-sl .ib svg{width:13px;height:13px}
.upl-pill{display:inline-block;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;border-radius:999px;padding:0 8px;line-height:18px;border:1px solid var(--border);color:var(--muted)}
.upl-pill.ok{color:var(--text-2);background:var(--soft)}.upl-pill.ok b{color:var(--green);font-weight:600}
.upl-pill.req{color:var(--red-text);background:var(--t-red);border-color:color-mix(in srgb,var(--red) 25%,var(--border))}
.upl-hint{font-size:12px;color:var(--muted)}
.upl-lab{display:grid;gap:6px}.upl-lt{font-size:12px;color:var(--muted)}
.upl-err{font-size:12.5px;color:var(--red-text)}.upl-err.shk{animation:upshake .4s}
.upl-need{color:var(--red-text)}
/* the document */
.upl-drop{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border-radius:14px;border:1.5px dashed var(--edge);background:var(--panel);cursor:pointer;max-width:620px;transition:border-color .2s,background .2s}
.upl-drop .di{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--soft);color:var(--text-2)}.upl-drop .di svg{width:20px;height:20px;transition:translate .3s var(--spring)}
.upl-dt b{display:block;font-size:14px;font-weight:500}.upl-dt small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
html[data-input="mouse"] .upl-drop:hover,.upl-drop:focus-visible,.upl-drop.over{border-color:color-mix(in srgb,var(--red) 40%,var(--edge))}
html[data-input="mouse"] .upl-drop:hover .di svg,.upl-drop.over .di svg{translate:0 -3px}
.upl-drop.over{background:var(--t-red)}
.upl-file{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;background:var(--panel);border:1px solid var(--border);max-width:560px}
.upl-file .di{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:var(--soft);color:var(--text-2);flex:none}.upl-file .di svg{width:15px;height:15px}
.upl-file>div{min-width:0}.upl-file p{font-size:13.5px;overflow-wrap:anywhere}.upl-file small{display:block;font-size:12px;color:var(--muted)}
.upl-file .upl-rm{margin-left:auto;display:inline;padding:4px 2px;flex:none}
html[data-input="mouse"] .upl-file .upl-rm:hover{color:var(--red-text)}
.upl-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:560px}
.upl-k{position:relative;display:grid;gap:2px;padding:10px 14px 10px 44px;border-radius:10px;border:1px solid var(--border);background:var(--panel);text-align:left;cursor:pointer;transition:translate .2s var(--spring),border-color .15s,box-shadow .2s}
.upl-k b{font-size:13.5px;font-weight:500;color:var(--ink)}.upl-k small{font-size:12px;color:var(--muted);line-height:1.4}
.upl-cb{position:absolute;left:14px;top:12px;width:18px;height:18px;border-radius:5px;border:1.5px solid var(--muted);display:grid;place-items:center;background:var(--panel);transition:background .15s,border-color .15s}
.upl-cb svg{width:11px;height:11px;color:#fff;opacity:0;transition:opacity .15s}
.upl-k.on{border-color:var(--red-edge);box-shadow:0 0 0 1px var(--red-edge) inset}
.upl-k.on .upl-cb{background:var(--red);border-color:var(--red)}.upl-k.on .upl-cb svg{opacity:1}
html[data-input="mouse"] .upl-k:not(.on):hover{translate:0 -2px;border-color:color-mix(in srgb,var(--red) 26%,var(--border));box-shadow:0 6px 16px -8px rgba(10,20,40,.3)}
.upl-who{display:flex;align-items:flex-start;gap:8px;margin-top:2px;max-width:560px;font-size:12.5px;color:var(--text-2)}
.upl-who b{color:var(--ink);font-weight:600}.upl-who svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--muted)}
/* the meeting: four types, each with its line; the area when the type asks for it */
.upl-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.upl-ty{display:grid;align-content:start;gap:2px;padding:10px 12px;border-radius:10px;border:1px solid var(--border);background:var(--panel);text-align:left;cursor:pointer;transition:translate .2s var(--spring),border-color .15s,box-shadow .2s}
.upl-ty b{font-size:13px;font-weight:500;color:var(--ink)}.upl-ty small{font-size:12px;color:var(--muted);line-height:1.35}
html[data-input="mouse"] .upl-ty:not(.on):hover{translate:0 -2px;border-color:color-mix(in srgb,var(--red) 26%,var(--border));box-shadow:0 6px 16px -8px rgba(10,20,40,.3)}
.upl-ty.on{background:var(--red-fill);border-color:var(--red-edge);box-shadow:0 4px 10px -6px rgba(10,20,40,.45)}
.upl-ty.on b{color:#fff}.upl-ty.on small{color:rgba(255,255,255,.88)}
.upl-area{display:grid;gap:8px;padding:12px 14px;border-radius:12px;border:1px solid var(--border);background:var(--panel)}.upl-area.in{animation:rise .35s var(--ease) backwards}
.upl-at{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:500;color:var(--ink)}
.upl-row2{display:grid;grid-template-columns:repeat(2,minmax(0,240px));gap:12px;align-items:start}
.upl-pick{height:38px;width:100%;display:flex;align-items:center;padding:0 12px;border-radius:10px;border:1px solid var(--edge);background:var(--panel);font-size:13.5px;color:var(--ink);cursor:pointer;text-align:left}
.upl-pick span{margin-left:auto;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
html[data-input="mouse"] .upl-pick:hover span{color:var(--ink)}
.upl-list{display:grid;gap:2px;padding:6px;border-radius:10px;border:1px solid var(--border);background:var(--panel)}.upl-list.in{animation:rise .25s var(--ease) backwards}
.upl-list .pq{margin:0 0 4px}
.upl-list .opt.cur{font-weight:600}.upl-list .opt .c svg{width:13px;height:13px;color:var(--green)}
.upl-prev{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink);font-weight:500}.upl-prev svg{width:14px;height:14px;color:var(--muted)}
.upl-row{display:grid;grid-template-columns:200px minmax(0,1fr);gap:12px}
.upl-fld{height:38px;width:100%;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:10px;border:1px solid var(--edge);background:var(--panel);font-size:13.5px;color:var(--ink);cursor:pointer;text-align:left}
.upl-fld svg{width:15px;height:15px;color:var(--muted);flex:none}.upl-fld .ok{margin-left:auto;font-style:normal;color:var(--green);font-weight:600}
.upl-in{margin:0;height:38px}
/* who was there */
.upl-ppl{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.upl-ppl .pc{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px 0 4px;border-radius:999px;border:1px solid var(--border);background:var(--panel);font-size:12.5px}
.upl-ppl .pc:has(.x){padding-right:4px}
.upl-ppl .x{width:20px;height:20px;border:0;border-radius:50%;display:grid;place-items:center;color:var(--muted);background:none;cursor:pointer}.upl-ppl .x svg{width:10px;height:10px}
html[data-input="mouse"] .upl-ppl .x:hover{color:var(--red-text)}
.av2.xs{width:22px;height:22px;font-size:10px}
/* F23: a button that opens the person picker, not a search box. The dashed edge stays: it is what says «there is
   room for more here», and it is the same edge the rows of «Who is who?» use. */
.upl-add{height:30px;flex:0 1 auto;max-width:300px;display:inline-flex;align-items:center;gap:7px;padding:0 13px 0 11px;border-radius:999px;border:1px dashed var(--edge);background:var(--panel);font:inherit;font-size:12.5px;color:var(--text-2);text-align:left;cursor:pointer;transition:border-color .15s,color .15s}
.upl-add svg{width:14px;height:14px;flex:none;color:var(--muted)}
html[data-input="mouse"] .upl-add:hover,.upl-add:focus-visible{border-style:solid;border-color:var(--red-edge);color:var(--ink);outline:none}
/* what happens next, the foot, progress */
.upl-next{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--text-2)}.upl-next b{color:var(--ink)}.upl-next svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--muted)}
.upl-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid var(--border)}
.upl-foot .btn{display:inline-flex;align-items:center;gap:8px}.upl-foot .btn svg{width:15px;height:15px}
/* F23 §2.4: this bar was `.upl-prog` / `.upl-bar`, the one Dani chose for the upload (maqueta D). It is now the
   wait of a reading too — the card of Minutes, the strip of the open minutes and the end of the upload — so it
   changed its name and not one of its values. VIDA has no sheet for a bar with a time, and drawing a second one
   would be two bars for one thing. */
.wt{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 200px;max-width:320px}.wt img{width:27px;height:27px;flex:none}
.wt>div{flex:1;min-width:0}.wt p{font-size:12.5px;color:var(--text-2);line-height:1.45}
.wt.bad p{color:var(--red-text)}
.wt.line{max-width:none}.wt.line img{width:22px;height:22px}
.upl-foot .wt{margin-right:auto}
.wt small{display:block;font-size:12.5px;color:var(--muted);margin-top:6px}
.rdg .wt p{font-size:14px}   /* the strip is a wider surface than the card; same words, read at its own size */
.wt-bar{display:block;margin-top:5px;height:6px;border-radius:6px;background:var(--track);overflow:hidden}.wt-bar i{display:block;height:100%;border-radius:6px;background:var(--slate);transition:width .6s linear}
/* Nothing left to measure: the same bar, with a stripe crossing it. Never the full bar, stopped. */
.wt-bar.none i{width:36%;transition:none;animation:wt-run 1.6s var(--ease) infinite}
@keyframes wt-run{from{translate:-100% 0}to{translate:278% 0}}
/* VIDA loading-sun.md, «a running card»: the sun in place of a percentage, and a 1.5 px red light going round the
   card's edge every 3 s. First use of it in NEST; the values are the sheet's, written with NEST's tokens, and the
   two reds it names by hand stay by hand because NEST has no token for them. Where `@property` is not understood
   the gradient is simply dropped and the card keeps its own border: the wait is still said in words. */
@property --comet{syntax:'<angle>';inherits:false;initial-value:0deg}
.min.wt-run{position:relative;border-color:transparent}
.min.wt-run::before{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1.5px;pointer-events:none;
  background:conic-gradient(from var(--comet),var(--border) 0 62%,rgba(226,0,26,.4) 78%,var(--red) 92%,#ff8a95 96%,var(--border) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:comet 3s linear infinite}
@keyframes comet{to{--comet:360deg}}
.min .wt{max-width:none;margin-top:16px}
.upl-ferr{text-align:right}
@media (max-width:760px){
  .upl-form{padding:14px}
  .upl-drop{grid-template-columns:44px minmax(0,1fr)}.upl-drop .btn{grid-column:1 / -1;justify-self:start}
  .upl-kinds,.upl-row,.upl-row2{grid-template-columns:minmax(0,1fr)}
  .upl-types{grid-template-columns:repeat(2,minmax(0,1fr))}
  .upl-foot{flex-wrap:wrap}.upl-foot .btn{flex:1 1 auto;justify-content:center}.upl-foot .wt{flex:1 1 100%;max-width:none}
  .vh .upbtn{margin-left:0}
}
@keyframes upshake{20%,60%{translate:-4px 0}40%,80%{translate:4px 0}}

/* the VIDA date picker: floats under its field */
.dpk{position:absolute;z-index:40;top:calc(100% + 4px);left:0;width:300px;max-width:calc(100vw - 32px);padding:10px;border-radius:11px;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow-menu);animation:rise .12s var(--ease)}
.upl-lab .dpk{top:58px}
/* the date in the draft is a field you press, not a browser date box: it shows the date in words (VIDA) and
   opens the picker underneath */
.dpkf{max-width:240px;display:flex;align-items:center;text-align:left;cursor:pointer;transition:border-color .15s}
html[data-input="mouse"] .dpkf:hover,.dpkf:focus-visible{border-color:var(--red-edge);outline:none}
.fr-det .dpkf,.iedit .dpkf{margin:0}
/* inside the draft the field is indented, so a panel anchored left runs off a narrow screen: anchor it right,
   where there is always room back towards the text */
/* on a phone the field is indented inside the point, so a panel tied to it comes out 200 px wide with 25 px days:
   too small for a finger. There it floats against the window instead, like the sheet asks («8 px inside the
   window»), and the days go back to a size you can hit. */
@media (max-width:760px){
  .fr-p .dpk,.fr-det .dpk{position:fixed;left:12px;right:12px;top:auto;bottom:12px;width:auto;max-width:none;z-index:70}
}
.dpk-tr{display:flex;align-items:center;gap:2px;padding:0 0 8px}
.dpk-tr button{border:0;background:none;padding:4px 8px;border-radius:7px;font-size:12.5px;font-weight:600;color:var(--ink);cursor:pointer}
html[data-input="mouse"] .dpk-tr>button:hover{background:var(--soft);color:var(--red-text)}
.dpk-tr i{font-style:normal;color:var(--muted)}.dpk-cur{padding:4px 8px;font-size:12.5px;color:var(--muted)}
.dpk-ar{margin-left:auto;display:flex;gap:2px}.dpk-ar button{width:28px;height:28px;border-radius:50%;padding:0;display:grid;place-items:center;color:var(--muted)}.dpk-ar svg{width:13px;height:13px}
.dpk-g{display:grid;gap:4px}.dpk-g.y{grid-template-columns:repeat(4,1fr)}.dpk-g.m{grid-template-columns:repeat(3,1fr)}
.dpk-t{position:relative;height:44px;border-radius:10px;border:1px solid var(--border);background:var(--soft);font-size:12.5px;font-weight:500;color:var(--text-2);cursor:pointer;transition:translate .2s var(--spring),background .15s,color .15s}
.dpk-t.now::after,.dpk-d.now::after{content:"";position:absolute;top:5px;right:5px;width:5px;height:5px;border-radius:50%;background:var(--muted)}
html[data-input="mouse"] .dpk-t:not(:disabled):not(.on):hover{translate:0 -2px;color:var(--ink);border-color:color-mix(in srgb,var(--red) 26%,var(--border))}
.dpk-t.on,.dpk-d.on{background:var(--red-fill);border-color:var(--red-edge);color:#fff}
.dpk-t:disabled,.dpk-d:disabled{opacity:.35;cursor:default}
.dpk-w,.dpk-days{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.dpk-w span{font-size:11.5px;color:var(--muted);padding-bottom:4px}
.dpk-d{position:relative;height:34px;border:0;border-radius:8px;background:none;font-size:12.5px;color:var(--text-2);cursor:pointer}
html[data-input="mouse"] .dpk-d:not(:disabled):not(.on):hover{background:var(--soft);color:var(--ink)}
.dpk-ft{display:flex;justify-content:flex-end;border-top:1px solid var(--border);margin-top:8px;padding-top:6px}.dpk-ft .lnk{display:inline}

/* F6 · the draft of an uploaded meeting: NEST reading it, strategy or project, where each point comes from */
.rdg{margin-top:20px;display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:14px;border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow)}
.rdg p{flex:1;min-width:0;font-size:14px}.rdg p b{font-weight:600}.rdg small{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.rdg img{width:32px;height:32px;flex:none}
.rdg .ic{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--soft);color:var(--amber);flex:none}.rdg .ic svg{width:17px;height:17px}
.rdg.none{background:var(--soft);box-shadow:none}
.rdg .btn{flex:none}
.rdg-done{margin-top:16px;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-2)}.rdg-done svg{width:15px;height:15px;color:var(--green)}
.ktag{display:inline-flex;align-items:center;height:20px;margin-right:8px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:600;letter-spacing:.04em;vertical-align:2px;border:1px solid var(--border);background:var(--soft);color:var(--text-2)}
.ktag.k-strategy{border-color:var(--edge);background:var(--panel);color:var(--ink)}
button.ktag{cursor:pointer;font-family:inherit;transition:translate .2s var(--spring),border-color .15s}
html[data-input="mouse"] button.ktag:hover{translate:0 -1px;border-color:color-mix(in srgb,var(--red) 35%,var(--edge))}
.qlnk{display:inline-block;margin-top:4px;padding:0}
.iquote{margin:8px 0 0;padding:8px 12px;border-left:2px solid var(--edge);background:var(--soft);border-radius:0 8px 8px 0;font-size:13px;color:var(--text-2);font-style:italic;animation:rise .3s var(--ease) backwards}
@media (max-width:760px){.rdg{flex-wrap:wrap}.rdg .btn{flex:1 1 100%}}

/* F7 · meetings: the area under the type, the archive filters */
.mcard .marea{font-size:12.5px;color:var(--text-2);margin-top:1px}
.mlist .pq{margin:0}
.mcard[hidden]{display:none}
.afilt{display:grid;gap:8px;margin-bottom:14px}
.stfnote{font-size:12.5px;color:var(--text-2);margin-top:-4px}

/* F9 · People: two tabs; Everyone (maqueta A): counters, the review strip, filters, one row per person, level at once with Undo */
.ptabs{display:flex;gap:4px;margin-top:22px;border-bottom:1px solid var(--border)}
.ptab{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:0;background:none;font-size:14px;font-weight:500;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;transition:color .16s}
.ptab i{font-style:normal;font-size:12px;font-weight:400;color:var(--muted)}
.ptab.on{color:var(--ink);border-bottom-color:var(--red)}
html[data-input="mouse"] .ptab:not(.on):hover{color:var(--ink)}
.ptab .n{position:static}
.psub{margin-top:16px;font-size:14px;color:var(--text-2)}
/* Six now, not five: «All» joined the levels when the strip became the only way to stop filtering by one.
   Left at five it wrapped, and a lone «Staff» under the other five reads as a mistake rather than a row. */
.ev-counts{margin-top:22px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.ev-c{display:grid;gap:2px;padding:12px 14px;border-radius:14px;border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow);font-size:12.5px;color:var(--muted);text-align:left;cursor:pointer;transition:translate .2s var(--spring),border-color .2s}
.ev-c b{font-size:22px;font-weight:600;color:var(--ink);line-height:1.1;font-variant-numeric:tabular-nums}
.ev-c.on{border-color:var(--red-edge);box-shadow:0 0 0 1px var(--red-edge) inset}
html[data-input="mouse"] .ev-c:not(.on):hover{translate:0 -2px;border-color:var(--edge)}
.ev-strip{margin-top:16px;display:flex;align-items:center;gap:14px;padding:14px 18px;border-radius:14px;border:1px solid var(--border);background:var(--panel);box-shadow:var(--shadow)}
.ev-strip .ic{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:var(--t-red);color:var(--red-text);flex:none}.ev-strip .ic svg{width:16px;height:16px}
.ev-strip p{flex:1;min-width:0;font-size:14px}.ev-strip p b{font-weight:600}.ev-strip small{display:block;font-size:12.5px;color:var(--muted)}
.ev-strip .btn{flex:none}
.ev-strip2{margin-top:8px;font-size:12.5px;color:var(--muted)}
.ev-list{margin-top:18px;padding:16px 18px}
.ev-filt{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}
.ev-filt .ev-q{flex:1 1 240px;max-width:340px;height:34px;margin:0}
.ev-filt .chip.on,.ev-pw .chip.on{background:var(--ink);border-color:var(--ink);color:var(--panel)}
.ev-pw,.ev-lvlw{position:relative;display:inline-block}
/* F14: the department is corrected here too, so it gets its own control. Each one carries its own «Set by hand»
   and its own Reset underneath, so neither has to say which of the two it is talking about. */
.ev-row{display:grid;grid-template-columns:22px 34px minmax(0,1.3fr) minmax(0,1fr) 104px 148px 148px;gap:12px;align-items:start;padding:12px 6px;border-top:1px solid var(--border);font-size:13.5px}
.ev-row>.ev-who,.ev-row>.ev-area,.ev-row>.ev-team,.ev-row>.ev-cb,.ev-row>.av2{margin-top:5px}
.ev-cw{min-width:0;display:grid;gap:3px;justify-items:start}
.ev-cw .ev-or{padding-left:2px}
.ev-rows .ev-row:first-child{border-top:0}
.ev-row.pk{background:var(--soft);border-radius:10px}
.ev-cb{width:18px;height:18px;padding:0;border-radius:5px;border:1.5px solid var(--muted);display:grid;place-items:center;background:var(--panel);cursor:pointer}
.ev-cb svg{width:11px;height:11px;color:#fff;opacity:0}
.ev-cb.on{background:var(--red);border-color:var(--red)}.ev-cb.on svg{opacity:1}
.ev-cb.off{opacity:.3;cursor:default}
.ev-who{min-width:0}.ev-who p{font-weight:500}.ev-who em{font-style:normal;font-weight:400;color:var(--muted)}.ev-who small{display:block;font-size:12px;color:var(--muted)}
.ev-area{min-width:0;font-size:13px;color:var(--text-2)}.ev-area small{display:block;font-size:12px;color:var(--muted)}
.ev-team{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--text-2)}.ev-team svg{width:14px;height:14px;color:var(--muted)}
.ev-lvl{height:32px;min-width:118px;display:inline-flex;align-items:center;justify-content:space-between;gap:8px;padding:0 10px 0 12px;border-radius:10px;border:1px solid var(--edge);background:var(--panel);font-size:13px;font-weight:500;color:var(--ink);cursor:pointer;transition:border-color .15s}
.ev-lvl svg{width:13px;height:13px;color:var(--muted)}
html[data-input="mouse"] .ev-lvl:not(.off):hover,.ev-lvl.open{border-color:var(--red-edge)}
.ev-lvl.off{color:var(--muted);background:var(--soft);cursor:default;justify-content:flex-start}
.ev-lvl.none{color:var(--muted)}   /* nobody has put them in a department yet */
/* a long department name is read in full on two lines, never cut: VIDA «never …» */
.ev-cw .ev-lvl{min-width:0;max-width:100%;height:auto;min-height:32px;padding-top:6px;padding-bottom:6px;text-align:left;line-height:1.3}
.ev-cw .ev-lvl svg{flex:none}
.ev-menu{position:absolute;z-index:45;top:calc(100% + 4px);left:0;width:180px;padding:6px;border-radius:12px;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow-menu);animation:rise .14s var(--ease)}
.ev-menu.wide{width:240px;max-height:320px;overflow:auto}.ev-menu .pq{margin:0 0 4px}
.ev-menu.up{top:auto;bottom:calc(100% + 4px)}
.ev-mi{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 10px;border:0;border-radius:8px;background:none;font-size:13px;color:var(--text-2);text-align:left;cursor:pointer}
.ev-mi svg{width:13px;height:13px;color:var(--green)}
.ev-mi.on{color:var(--ink);font-weight:600;background:var(--soft)}
html[data-input="mouse"] .ev-mi:not(.on):hover{background:var(--soft);color:var(--ink)}
.ev-mnote{padding:6px 10px 2px;font-size:11.5px;color:var(--muted)}
.ev-or{font-size:12px;color:var(--muted);min-width:0;line-height:1.4}.ev-or.hand{color:var(--text-2)}
.ev-or .lnk{margin-left:6px}
/* the chips say which of the two they filter, so two «Set by hand» never sit side by side unexplained */
.ev-fg{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;padding:2px 8px 2px 10px;border-radius:999px;background:var(--soft)}
.ev-fl{font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.ev-bg{display:inline-flex;align-items:center;gap:8px}.ev-bg>span:first-child{color:var(--muted)}
.ev-more{margin-top:10px;font-size:12.5px;color:var(--muted)}
.ev-bulk{position:sticky;bottom:16px;z-index:40;margin:16px auto 0;max-width:640px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow-menu);font-size:13.5px}
.ev-bulk.in{animation:rise .3s var(--ease)}
.ev-bulk>span{color:var(--muted)}.ev-bulk .lnk{margin-left:auto}
.toast .tundo{border:0;background:none;color:#fff;font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer;margin-left:6px}
@media (max-width:760px){
  .ev-counts{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ev-strip{flex-wrap:wrap}.ev-strip .btn{flex:1 1 100%}
  .ev-row{grid-template-columns:22px 34px minmax(0,1fr);row-gap:8px}
  .ev-row>.ev-area,.ev-row>.ev-team,.ev-row>.ev-cw,.ev-row>.ev-lvlw,.ev-row>.ev-lvl,.ev-row>.ev-or{grid-column:3 / -1}
  .ev-row>.ev-team:empty{display:none}
  .ev-row>.ev-cw{justify-items:stretch}.ev-cw .ev-lvl{width:100%;justify-content:space-between}
  .ev-bulk{bottom:8px}
  .ev-bg{flex:1 1 100%}.ev-bg .ev-lvlw{flex:1}.ev-bg .ev-lvl{width:100%}.ev-bulk .lnk{margin-left:0}
}

/* sign in: grouped by level; Staff only when searching (Dani, 2026-11-13) */
.si-g{margin-top:22px}.si-g+.si-g{margin-top:26px}
.si-g .si-list{margin-top:10px}
.si-gh{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}.si-gh span{font-weight:400;letter-spacing:0;margin-left:4px}
.si-foot{margin-top:22px;font-size:12.5px;color:var(--muted)}
.si-g[hidden],.si-foot[hidden]{display:none}

/* F10 · the duck's meeting notes in the upload (maqueta d-duck): prepared on this computer, «Who is who?» */
.upl-sun{width:32px;height:32px;flex:none}
.upl-file small b{color:var(--text-2);font-weight:600}
.upl-safe{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-2)}.upl-safe svg{width:14px;height:14px;color:var(--green);flex:none}
.upl-fixed{display:grid;grid-template-columns:14px minmax(0,1fr);gap:2px 8px;align-items:start;max-width:560px;padding:10px 14px;border-radius:10px;border:1px solid var(--border);background:var(--panel);font-size:13.5px;color:var(--ink)}
.upl-fixed svg{width:14px;height:14px;color:var(--green);margin-top:3px}
.upl-fixed small{display:block;font-size:12px;color:var(--muted)}
.wiw-sum{font-size:13px;color:var(--text-2)}.wiw-sum b{color:var(--ink);font-weight:600}
.wiw-rows{display:grid;gap:6px}
.wiw-row{display:grid;grid-template-columns:22px minmax(0,140px) minmax(0,1fr);gap:12px;align-items:center;padding:8px 10px;border-radius:12px;border:1px solid var(--border);background:var(--panel)}
.wiw-row.miss{border-color:var(--edge)}
.wiw-sn p{font-size:13.5px;font-weight:500}.wiw-sn small{display:block;font-size:12px;color:var(--muted)}
.wiw-pp{display:flex;align-items:center;gap:10px;min-width:0}
.wiw-pc{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:300px;flex:1;padding:4px 6px 4px 4px;border-radius:10px;border:1px solid var(--edge);background:var(--panel);font-size:13px}
.wiw-pc>span:not(.av2){min-width:0;flex:1}.wiw-pc small{display:block;font-size:11.5px;color:var(--muted)}
.wiw-pc .x{width:22px;height:22px;border:0;border-radius:50%;display:grid;place-items:center;color:var(--muted);background:none;cursor:pointer;flex:none}.wiw-pc .x svg{width:10px;height:10px}
html[data-input="mouse"] .wiw-pc .x:hover{color:var(--red-text)}
/* F23: the same button, in the shape this row uses. It was a search box; see the note in upload.js. */
.wiw-find{display:flex;align-items:center;gap:8px;flex:1;min-width:0;max-width:300px;height:36px;padding:0 12px;border-radius:10px;border:1px dashed var(--edge);background:var(--panel);color:var(--text-2);font:inherit;font-size:13px;text-align:left;cursor:pointer;transition:border-color .15s,color .15s}
.wiw-find svg{width:14px;height:14px;flex:none;color:var(--muted)}
html[data-input="mouse"] .wiw-find:hover,.wiw-find:focus-visible{border-style:solid;border-color:var(--red-edge);color:var(--ink);outline:none}
.wiw-why{font-size:11.5px;color:var(--muted);white-space:nowrap}
/* F21 · hearing a voice. The button lives in the name cell, under how many times the person spoke, because that is
   the same fact: who this voice is. The part that is sounding opens across the whole row, like the search results
   already do, so the words can be read without the row growing sideways. */
.wiw-hb{margin-top:5px;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 9px;border-radius:8px;
  border:1px solid var(--edge);background:var(--panel);color:var(--text-2);font:inherit;font-size:12px;cursor:pointer;
  transition:background .2s var(--ease),border-color .2s var(--ease),color .2s var(--ease)}
/* the paths of play and stop are solid shapes, not outlines like the rest of NEST's icons */
.wiw-hb svg{width:11px;height:11px;flex:none;fill:currentColor;stroke-width:1.2}
html[data-input="mouse"] .wiw-hb:hover{background:var(--soft);border-color:var(--muted);color:var(--ink)}
.wiw-hb.on{border-color:var(--red-edge);background:var(--t-red);color:var(--red-text)}
.wiw-short{display:block;margin-top:5px;font-size:11.5px;color:var(--muted)}
.wiw-hear{grid-column:1 / -1;margin-top:2px;padding:9px 11px;border-radius:10px;background:var(--soft)}
.wiw-tx{font-size:13px;line-height:1.5;color:var(--ink)}
.wiw-ht{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px;font-size:11.5px;color:var(--muted)}
.upl-warn{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;color:var(--text-2)}.upl-warn b{color:var(--ink);font-weight:600}.upl-warn svg{width:14px;height:14px;flex:none;margin-top:2px;color:var(--amber)}
@media (max-width:760px){
  .wiw-row{grid-template-columns:22px minmax(0,1fr)}
  .wiw-pp{grid-column:1 / -1;flex-wrap:wrap}.wiw-pc,.wiw-find{max-width:none}
}

/* F10 · the transcript: speakers without a person in grey; screenshots in their minute */
.trs .tnoone{color:var(--muted);font-weight:600}
.tshot{justify-self:start;display:grid;gap:4px;padding:4px;border:1px solid var(--border);border-radius:10px;background:var(--panel);cursor:zoom-in;transition:translate .2s var(--spring),box-shadow .2s}
.tshot img{display:block;width:180px;height:auto;border-radius:6px;transition:width .3s var(--ease)}
.tshot small{font-size:11.5px;color:var(--muted);text-align:left}
.tshot.big{cursor:zoom-out}.tshot.big img{width:min(640px,100%)}
html[data-input="mouse"] .tshot:hover{translate:0 -2px;box-shadow:var(--shadow-up)}

/* F11 · Organisation · Departments (maqueta A): one block per NEST department, its HR units as chips. Shadows grey only. */
/* F26 §3 · Departments: a list and a card, the shape of the map. The list keeps every group in sight — that is
   what stops anybody correcting the wrong one of two groups with similar names — and the card shows one at a
   time. A unit of 116 people scrolls inside its card while the list stays where it was. */
.dp{margin-top:18px;display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:16px;align-items:start}
.dp-list{padding-right:4px}
.dp-gs{display:grid;gap:2px}
.dp-g+.dp-g{margin-top:8px}
.dp-d,.dp-u,.dp-ur{display:flex;width:100%;align-items:center;gap:10px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;border-radius:10px;transition:background-color .14s var(--ease),color .14s}
.dp-d{padding:8px 10px;font-size:13.5px;font-weight:600;color:var(--ink)}
.dp-u{padding:6px 10px 6px 22px;font-size:13px;color:var(--text-2)}
html[data-input="mouse"] .dp-d:hover,html[data-input="mouse"] .dp-u:hover,.dp-d:focus-visible,.dp-u:focus-visible{background:var(--soft);outline:none}
/* the chosen one keeps the red edge of the picker's level column: one way of saying «you are here» in NEST */
.dp-d.on,.dp-u.on{background:var(--panel);box-shadow:inset 2px 0 0 var(--red);color:var(--ink)}
.dp-nm{flex:1;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dp-ct{flex:none;font-size:11.5px;font-weight:400;color:var(--muted);font-variant-numeric:tabular-nums}
.dp-g.none .dp-d{color:var(--muted)}
.dp-new{margin-top:12px}
/* F26 §3 · finding a person opens the group they are in */
.dp-find{margin-bottom:12px}
.dp-find .pq{margin:0}
.dp-find .lres{margin-top:6px}
.dp-sec{margin:18px 0 6px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
/* who leads it: one person, with what they are and where they belong */
.dp-lead{margin-top:8px;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:var(--soft)}
.dp-lead>div{flex:1 1 200px;min-width:0}
.dp-lead p{font-size:14px;font-weight:500}
.dp-lead small{display:block;font-size:12px;color:var(--muted);line-height:1.35}
.dp-leadacts{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
.dp-lead .dp-leadacts{margin-top:0}
.dp-none{margin-top:8px;font-size:13.5px;color:var(--text-2)}
.dp-sug{margin-top:10px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;border:1px dashed var(--edge)}
.dp-sug p{flex:1 1 220px;font-size:13.5px}.dp-sug small{display:block;font-size:12px;color:var(--muted)}
/* its people, all of them, by level. Never «and 25 more». */
.dp-lv{margin-top:18px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dp-lv span{margin-left:6px;font-weight:400;letter-spacing:0}
.dp-pl{margin-top:6px;display:grid;gap:2px}
.dp-p{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:10px}
.dp-p>div{flex:1;min-width:0}
.dp-p p{font-size:13.5px}.dp-p small{display:block;font-size:11.5px;color:var(--muted);line-height:1.35}
/* the one a search found: pointed at, not shouted at */
.dp-p.mark{background:var(--t-amber);box-shadow:inset 2px 0 0 var(--amber)}
.dp-el{margin-top:8px;display:grid;gap:4px;font-size:13px;color:var(--text-2)}
.dp-card{padding:20px 22px;min-height:180px}
.dp-h{display:flex;align-items:center;gap:10px}
.dp-h h2{flex:1;min-width:0;font-size:17px;font-weight:600}
.dp-bmw{margin-left:auto;position:relative;flex:none}
.dp-what{margin-top:4px;font-size:13px;color:var(--muted);display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dp-else{margin-top:12px;font-size:13px;color:var(--text-2)}
.dp-sh{margin-top:20px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.dp-ul{margin-top:8px;display:grid;gap:2px}
.dp-ur{padding:9px 10px;font-size:13.5px;color:var(--ink)}
.dp-ur small{display:block;font-size:11.5px;font-weight:400;color:var(--muted)}
.dp-ur>span{flex:1;min-width:0}
.dp-ur svg{width:14px;height:14px;flex:none;color:var(--muted)}
html[data-input="mouse"] .dp-ur:hover,.dp-ur:focus-visible{background:var(--soft);outline:none}
.dp-acts{margin-top:20px;display:flex;flex-wrap:wrap;gap:10px}
.dp-mvw{position:relative}
.dp-acts .btn{display:inline-flex;align-items:center;gap:8px}.dp-acts .btn svg{width:15px;height:15px}
.dp-note{margin-top:8px;font-size:12.5px;color:var(--muted)}
/* On a phone the list goes on top and the card underneath, and choosing a group takes the page down to it. */
@media (max-width:640px){
  .dp{grid-template-columns:minmax(0,1fr)}
  .dp-list{position:static;max-height:none;overflow:visible;padding-right:0}
}
.o-name{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:text;text-align:left}
html[data-input="mouse"] .o-name:hover{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--edge)}
.o-rn{margin:0;height:32px;max-width:240px;font-weight:600}
.o-n{font-size:12.5px;color:var(--muted)}
.o-hr{font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:0 8px;line-height:18px;border:1px solid var(--border);border-radius:999px}
.o-bm{width:28px;height:28px;padding:0;border-radius:50%;display:grid;place-items:center;color:var(--muted);border:1px solid var(--edge);background:var(--panel);cursor:pointer}.o-bm svg{width:14px;height:14px}
.o-bm.open{border-color:var(--red-edge)}
/* F14: the people of this unit who live in another department, said out loud so the chips add up again */
.o-menu{position:absolute;z-index:45;top:calc(100% + 4px);left:0;width:220px;max-height:340px;overflow:auto;padding:6px;border-radius:12px;background:var(--panel);border:1px solid var(--border);box-shadow:var(--shadow-menu);animation:rise .14s var(--ease)}
.o-menu.right{left:auto;right:0}
.o-menu p{padding:4px 10px 6px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.o-menu .o-mnote{text-transform:none;letter-spacing:0;font-weight:400;font-size:12px}
.o-mi{display:flex;width:100%;align-items:baseline;gap:6px;padding:8px 10px;border:0;border-radius:8px;background:none;font:inherit;font-size:13px;color:var(--text-2);text-align:left;cursor:pointer}
.o-mi small{font-size:11.5px;color:var(--muted)}.o-mi.muted{color:var(--muted)}.o-mi.risky{color:var(--red-text)}
html[data-input="mouse"] .o-mi:hover{background:var(--soft);color:var(--ink)}
.o-new{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:14px;border:1.5px dashed var(--edge);background:none;font:inherit;font-size:13.5px;color:var(--text-2);cursor:pointer;justify-self:start}.o-new svg{width:14px;height:14px}
html[data-input="mouse"] .o-new:hover{border-color:var(--muted);color:var(--ink)}
.o-newf{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.o-newf .pq{margin:0;flex:1 1 220px;max-width:320px}
.o-ret{margin-top:20px;font-size:12.5px;color:var(--muted)}
.o-retl{margin-top:8px;display:grid;gap:6px;max-width:520px}
.o-retl li{display:flex;align-items:center;gap:12px;padding:10px 14px;border-radius:12px;border:1px solid var(--border);background:var(--panel);font-size:13.5px}
.o-retl li span{flex:1}.o-retl small{display:block;font-size:12px;color:var(--muted)}
.ugh{margin-top:8px;font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}

/* F12 · the frame of a draft: strategies, their projects, what was decided and what is open (design §12, option A) */
.fr-line{margin:22px 0 4px;font-size:13.5px;color:var(--text-2)}.fr-line b{font-weight:600;color:var(--ink)}.fr-line i{font-style:normal;margin:0 8px;color:var(--muted)}
.fr.in .fr-s{animation:rise .4s var(--ease) backwards}
.fr.in .fr-s:nth-child(3){animation-delay:.04s}.fr.in .fr-s:nth-child(5){animation-delay:.08s}.fr.in .fr-s:nth-child(7){animation-delay:.12s}
.fr-gh{margin-top:22px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.fr-gh span{margin-left:8px;font-weight:400;letter-spacing:0;text-transform:none}
.fr-s{margin-top:12px;padding:18px 20px;position:relative;transition:border-color .15s,box-shadow .15s}
.box.fr-s+.box.fr-s{margin-top:12px}
.fr-s.drop{border-color:var(--red-edge);box-shadow:0 0 0 1px var(--red-edge) inset,var(--shadow)}
.fr-s:has(.o-menu){z-index:30}
.fr-sh2{display:flex;align-items:flex-start;gap:10px}.fr-sh2>div{flex:1;min-width:0}
.fr-sh2 h3{font-size:16px;font-weight:600;color:var(--ink);display:inline}
.fr-tag{display:inline-flex;align-items:center;height:20px;margin-right:8px;padding:0 8px;border-radius:999px;font-size:11.5px;font-weight:600;letter-spacing:.04em;vertical-align:2px;border:1px solid var(--border);background:var(--soft);color:var(--text-2)}
.fr-tag.g{border-color:var(--edge);background:var(--panel);color:var(--ink)}
.fr-st{margin-top:6px;font-size:14px;color:var(--text-2)}
.fr-why{margin-top:6px;font-size:13.5px;color:var(--text-2)}.fr-why b{color:var(--muted);font-weight:600}
.fr-inl{margin-top:10px;max-width:420px}
.fr-pm{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12.5px;color:var(--muted)}
.fr-pm b{color:var(--text-2);font-weight:500}
.fr-who{display:inline-flex;align-items:center;gap:6px;color:var(--text-2)}
.fr-nx{display:inline-flex;align-items:center;gap:5px}.fr-nx svg{width:12px;height:12px;color:var(--amber)}
.fr-nd{color:var(--muted)}
/* VIDA, editable rows: at rest a field is its words, in the spot where its control will be; pointed at, reached
   with Tab or tapped, it says it can be changed. No «Correct» button hanging off every paragraph. */
/* F16 §2.1: here the mark IS there at rest, unlike in «editable rows». That component is for a screen you come to
   edit; you come to a draft to READ, and nobody has told you that you can also correct it (Dani: «¿por qué nada te
   dice qué puedes hacer con ello?»). A dotted 1 px line the width of the text — not a box, not a button. A field
   that cannot be changed does not carry it, so a sealed minute is told apart from a draft without reading a word.
   It is a text underline, so it follows the words exactly and moves nothing when it changes. */
.liv{display:inline;border-radius:8px;box-decoration-break:clone;-webkit-box-decoration-break:clone;
  padding:1px 5px;margin:0 -5px;cursor:text;
  text-decoration:underline 1px dotted var(--edge);text-underline-offset:4px;
  transition:background-color .16s var(--ease),box-shadow .16s var(--ease),text-decoration-color .16s var(--ease)}
.liv.pick{cursor:pointer}
html[data-input="mouse"] .liv:hover,.liv:focus-visible{background:var(--soft);box-shadow:inset 0 0 0 1px var(--edge);
  text-decoration-style:solid;text-decoration-color:var(--red-edge);outline:none}
/* F24 §5.1 · a paragraph is not underlined. A dotted line under a name reads as a field; under twenty-five lines
   it is the page shouting, and on Dani's minutes — 118 editable fields — it shouted everywhere, in red, the
   moment the pointer moved. A paragraph keeps its words plain and says it can be corrected with a pencil in the
   top right corner of its own block: grey at rest, red when the block is pointed at. The block itself takes the
   soft background and the thin border it already had. Nothing red lands on the text.
   The padding here is the same as `.ed.inplace`'s, so opening the editor moves no letter (R2). */
.liv.para{display:block;padding:6px 10px;margin:-6px -10px;border-radius:12px;cursor:text;
  text-decoration:none;transition:background-color .16s var(--ease),box-shadow .16s var(--ease)}
html[data-input="mouse"] .liv.para:hover,.liv.para:focus-visible{background:var(--soft);box-shadow:inset 0 0 0 1px var(--edge);text-decoration:none;outline:none}
/* the pencil lives in the block's own right-hand margin — the box is padded for it — so the words never move */
.fr-det dd.para{padding-right:30px}
.fr-pen.parapen{position:absolute;top:0;right:0;opacity:1}
.fr-det dd.para:hover .parapen,.fr-det dd.para:focus-within .parapen{color:var(--red-text)}
.boxh .boxpen{flex:none;margin-left:auto;opacity:1}
.boxh .boxpen.away{visibility:hidden;pointer-events:none}
.box:has(.sumtx.liv.para:hover) .boxpen,.boxh .boxpen:focus-visible{color:var(--red-text)}
p.sumtx.liv.para{padding:6px 10px;margin:12px -10px 0}
.sumed{margin-top:12px;font-size:15px;line-height:1.6}   /* the type of .sumtx, so the editor inherits it */
/* F24 §5.2 · one control for the whole fold, where the count of what there is already lives */
.fr-all{margin-left:auto}
/* the line that says what the field under the pointer is. It is half of «editable rows» and we had left it out:
   it is literally the answer to «what can I do with this?». Fixed height while the row is awake, so nothing jumps. */
/* the padding lives inside the clipped box: on the outside it would show as a sliver of air on every row at rest */
.fr-ex{display:grid;grid-template-rows:0fr;transition:grid-template-rows .26s var(--ease) 120ms}
.fr-ex>span{overflow:hidden;min-height:0}
.fr-ex i{display:block;font-style:normal;font-size:12.5px;line-height:1.5;color:var(--text-2)}
.fr-ex b{font-weight:600;color:var(--ink)}
:is(.fr-p,.fr-s):is(:hover,:focus-within)>.fr-ex,:is(.fr-p,.fr-s):is(:hover,:focus-within)>.fr-pb>.fr-ex{grid-template-rows:1fr}
.fr-pb>.fr-ex i{padding-top:7px}
.fr-s>.fr-ex i{padding-top:9px;margin-top:10px;border-top:1px solid var(--border)}
/* a strategy keeps its own line shut while the pointer is inside one of its projects: two explanations at once
   explain nothing */
.fr-s:has(.fr-p:hover)>.fr-ex{grid-template-rows:0fr}
/* the pencil of a title, which cannot be the editor itself because it already folds its point: it wakes with
   the row, like the controls of a live row, and is reachable with Tab at any time */
.fr-pth{display:flex;align-items:baseline;gap:8px}
.fr-pth>.fr-pt{flex:1 1 auto;min-width:0}
.fr-pen{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;color:var(--muted);cursor:pointer;
  opacity:0;transition:opacity .18s var(--ease),background-color .16s,color .16s}
.fr-pen svg{width:14px;height:14px}
.fr-p:hover .fr-pen,.fr-s:hover>.fr-sh2 .fr-pen,.fr-pen:focus-visible,html[data-input="touch"] .fr-pen{opacity:1}
html[data-input="mouse"] .fr-pen:hover,.fr-pen:focus-visible{background:var(--soft);color:var(--ink);outline:none}
/* one more in a list is an action, so it keeps a button: a round «+», not the word «Add» once per project */
.fr-plus{width:24px;height:24px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px dashed var(--edge);background:none;color:var(--muted);cursor:pointer;transition:border-color .16s,color .16s}
.fr-plus svg{width:12px;height:12px}
html[data-input="mouse"] .fr-plus:hover,.fr-plus:focus-visible{border-style:solid;border-color:var(--muted);color:var(--ink);outline:none}
.fr-part b{font-style:italic;font-weight:500}
.fr-none{margin-top:12px;font-size:13px;color:var(--muted)}
.fr-sub{margin-top:16px}
.fr-sh{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.fr-sh span{margin-left:6px;font-weight:400}
.fr-p{position:relative;display:flex;align-items:flex-start;gap:8px;padding:10px 10px 10px 4px;border-radius:12px;border:1px solid var(--border);background:var(--soft);transition:translate .2s var(--spring),border-color .15s,opacity .15s}
.fr-p+.fr-p{margin-top:6px}
html[data-input="mouse"] .fr-p:hover{translate:0 -1px;border-color:var(--edge)}
.fr-p.open{background:var(--panel);border-color:var(--edge)}
.fr-p.drag{opacity:.55}
.fr-g{flex:none;padding-top:2px;color:var(--muted);cursor:grab}.fr-g svg{width:14px;height:14px}
html[data-input="touch"] .fr-g{display:none}
.fr-pb{flex:1;min-width:0}
.fr-pt{display:flex;align-items:flex-start;gap:6px;font-size:14px;font-weight:500;color:var(--ink);cursor:pointer}
.fr-ch{flex:none;display:grid;place-items:center;width:18px;height:20px;color:var(--muted)}.fr-ch svg{width:13px;height:13px;transition:rotate .2s var(--ease)}
.fr-ch.on svg{rotate:90deg}
.fr-pb>.fr-pm{margin-left:24px;margin-top:4px}
.fr-det{margin:12px 0 0 24px;display:grid;grid-template-columns:160px 1fr;gap:10px 14px;font-size:13.5px}
.fr-det dt{color:var(--muted);font-size:12.5px;padding-top:1px}.fr-det dd{color:var(--text-2);margin:0;position:relative}
.fr-dep{display:inline-flex;align-items:flex-start;gap:6px}.fr-dep svg{flex:none;width:13px;height:13px;margin-top:3px;color:var(--muted)}
.fr-acts{margin:12px 0 0 24px;display:flex;flex-wrap:wrap;gap:4px 16px}.fr-acts .lnk,.fr-acts .lnkx{padding:0}
.fr-mw{position:relative;flex:none}
.o-bm.sm{width:24px;height:24px}.o-bm.sm svg{width:12px;height:12px}
.fr-dl{display:grid;gap:2px}
.fr-d{display:flex;align-items:flex-start;gap:10px;padding:6px 4px;border-radius:10px;font-size:14px;color:var(--text-2)}
html[data-input="mouse"] .fr-d:hover{background:var(--soft)}
.fr-di{flex:none;width:22px;height:22px;border-radius:7px;display:grid;place-items:center;background:var(--soft);border:1px solid var(--border);color:var(--text-2)}.fr-di svg{width:12px;height:12px}
.fr-di.q{color:var(--amber)}
.fr-m .fr-di{color:var(--muted)}
.fr-dt{flex:1;min-width:0;padding-top:1px}.fr-dt small{display:block;font-size:12px;color:var(--muted)}
.fr-un{border-style:dashed;border-color:var(--edge);box-shadow:none;background:none}
.fr-un .fr-st{color:var(--ink)}
.fr-oth .fr-dl{margin-top:8px}
.fr-mens{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.fr-men{display:inline-flex;align-items:center;gap:6px;padding:2px 4px 2px 10px;border-radius:999px;border:1px solid var(--border);background:var(--soft);font-size:13px;color:var(--text-2)}
.fr-men i{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:var(--muted);cursor:pointer}.fr-men i svg{width:10px;height:10px}
html[data-input="mouse"] .fr-men i:hover{background:var(--panel);color:var(--ink)}
.fr-addm{position:relative}.fr-addm .lnk{padding:0;display:inline-flex;align-items:center;gap:4px}.fr-addm .lnk svg{width:12px;height:12px}
.fr-ti{margin:0;max-width:520px}
.fr-src{margin-top:10px}.fr-src .lnk{padding:0}
.fr-conf{margin-top:12px;padding:12px 14px;border-radius:12px;border:1px solid var(--edge);background:var(--soft);animation:rise .3s var(--ease) backwards}
/* the heading of the box is the `b` hanging straight off the `p`, and only that one. Without the `>` the
   rule also caught the bold INSIDE the sentence below, turning it into a block: the words came out on a
   line of their own and the full stop after them was left orphaned at the start of the next one. */
.fr-conf p > b{display:block;font-size:14px;color:var(--ink)}.fr-conf small{display:block;margin-top:4px;font-size:12.5px;color:var(--text-2)}
.fr-conf .acts{margin-top:12px;display:flex;flex-wrap:wrap;gap:8px}
.fr-det dd .o-menu,.fr-addm .o-menu{top:calc(100% + 6px);left:0;right:auto}
.o-menu.up{top:auto;bottom:calc(100% + 4px)}
.o-new{margin-top:16px}
@media (max-width:760px){
  .fr-s{padding:16px}
  .fr-det{grid-template-columns:1fr;gap:2px}.fr-det dd{margin-bottom:10px}
  .fr-p{padding-left:8px}
  .fr-det dd .o-menu,.fr-addm .o-menu{width:min(270px,calc(100vw - 56px))}
}
.dcd{margin-top:10px;display:grid;gap:10px}
.dcd li{display:flex;gap:10px;font-size:13.5px;color:var(--text-2)}
.dcd li svg{width:14px;height:14px;flex:none;margin-top:3px;color:var(--green)}
.dcd small{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.themes.grp .theme{border-color:var(--edge)}
.t-extra{margin-top:8px;display:flex;flex-wrap:wrap;gap:4px 14px;font-size:12.5px;color:var(--muted)}
.t-part b{color:var(--text-2);font-weight:500;font-style:italic}
.deptline{margin-top:18px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.plist.men .prow{opacity:.92}.plist.men .pw b{font-weight:500;font-style:italic}
.fr-tag.live{cursor:pointer;gap:2px;font:inherit;font-size:11.5px;font-weight:600;letter-spacing:.04em;transition:translate .2s var(--spring),border-color .15s}
.fr-tag.live svg{width:11px;height:11px}
html[data-input="mouse"] .fr-tag.live:hover{translate:0 -1px;border-color:var(--muted)}
.fr-sh2 h3 .lnkx{font:inherit;color:inherit}
.topics .tp-on{display:block;margin-top:2px;font-size:12px;color:var(--muted)}
.topics .tp-on .lnkx{font-size:12px}
.fr-s.untitled .fr-sh2{align-items:center}
.fr-s.untitled .fr-st{margin-top:10px;font-size:15px;color:var(--ink)}
.fr-s.untitled .fr-sh2>div{min-height:28px}

/* F13 · a manager acting on an agreement of someone in their team. Information, never alarm: grey, no red. */
.mgr{display:inline-flex;align-items:center;height:19px;margin-left:8px;padding:0 8px;border-radius:999px;border:1px solid var(--border);background:var(--panel);font-size:11.5px;font-weight:600;letter-spacing:.03em;color:var(--muted);vertical-align:1px}
.mgr-line{font-size:12.5px;line-height:1.5;color:var(--text-2)}
.mgr-line b{font-weight:600;color:var(--ink)}
.edacts.withmgr{flex-wrap:wrap;gap:10px;margin-top:4px;padding-top:12px;border-top:1px solid var(--border);align-items:center}
.edacts.withmgr .mgr-line{flex:1 0 100%;margin:0}
.opick{margin-top:8px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;border:1px solid var(--border);background:var(--soft);font-size:14px}
.opick>span{flex:1;min-width:0}.opick small{display:block;font-size:12px;color:var(--muted)}
.opick .lnk{padding:0}

/* ── F15: the VIDA sliding switch (components/sliding-switch.md) ───────────────────────────────────────────────────
   «One of 2–4 options, as a decision → sliding switch, red thumb; never a dropdown, radio buttons or separate
   buttons» (decisions.md). Same values as the sheet, with NEST's token names.
   One departure, on purpose: the sheet gives the thumb a red shadow, and in NEST shadows are grey only (Dani). The
   thumb stays red — it is the decision taken, which is what red is for — and its shadow is grey. */
.seg{position:relative;display:inline-flex;align-items:center;gap:16px;padding:2px;vertical-align:middle;
  border:1px solid var(--border);border-radius:var(--r-switch);background:var(--soft)}
.seg>.seg-t{position:absolute;top:2px;bottom:2px;left:0;width:var(--tw,0px);border-radius:7px;background:var(--red-fill);
  box-shadow:0 4px 10px -4px rgba(10,20,40,.45);pointer-events:none;
  transform:translateX(var(--tx,0px));transition:transform .38s var(--spring-big),width .3s var(--ease)}
.seg>.seg-l{padding:0 7px 0 6px;font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.seg>.seg-o{position:relative;z-index:1;border:0;background:none;font:inherit;font-size:12.5px;font-weight:500;
  line-height:1.4;color:var(--text-2);padding:4px 12px;border-radius:7px;cursor:pointer;white-space:nowrap;
  transition:color .2s,transform .25s var(--spring)}
.seg>.seg-o+.seg-o::before{content:"";position:absolute;left:-8.5px;top:6px;bottom:6px;width:1px;border-radius:1px;
  background:color-mix(in srgb,var(--muted) 45%,transparent);transition:opacity .25s;pointer-events:none}
.seg>.seg-o.on::before,.seg>.seg-o.on+.seg-o::before{opacity:0}
html[data-input="mouse"] .seg>.seg-o:not(.on):not(:disabled):hover{transform:scale(1.08);color:var(--ink)}
.seg>.seg-o.on{color:#fff}
.seg>.seg-o:not(:disabled):active{transform:scale(.94)}
.seg>.seg-o:disabled{opacity:.5;cursor:default}
.seg>.seg-o:focus-visible{outline:var(--focus);outline-offset:-2px}

/* the two switches of a reading sit one under the other, each with its own label */
.seg-pair{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:12px}
.seg-pair .seg{flex:none}
@media (max-width:620px){
  .seg-pair{flex-direction:column;align-items:flex-start}
  .seg{max-width:100%;overflow:auto;scrollbar-width:none}
  .seg::-webkit-scrollbar{display:none}
}
/* F15: the line under the two switches, saying what the chosen detail level writes */
.upl-why{margin-top:10px;font-size:12.5px;line-height:1.55;color:var(--text-2)}
/* ── F16: the person picker (VIDA component) ───────────────────────────────────────────────────────────────────────
   Two columns since 2026-11-15, chosen by Dani over the accordion he had chosen on the 13th: the levels on the left,
   always on screen with their count, the names on the right. Choosing another level changes only the right-hand
   list, and nothing around it moves — which is what the accordion could not do.
   The counts are grey because they are information, not something waiting for the user: a red «0 of 16» would shout
   where there is nothing. Shadows grey only.
   This one block is written narrow-first, the other way round from the rest of this file. A level is NEST's own chip
   (styles.css), count and all, and the column of rows is what the wide rule turns it into: written the usual way,
   the chip's height, radius, border and colours would have had to be copied into a media query, and then there
   would be two places saying what a chip looks like. */
.psk{position:fixed;z-index:80;border:1px solid var(--border);border-radius:12px;background:var(--panel);
  box-shadow:var(--shadow-menu);overflow:hidden}   /* place() in peoplepick.js sets top/left/width */
.ps-s{display:flex;align-items:center;gap:7px;padding:7px 10px;border-bottom:1px solid var(--border);color:var(--muted)}
.ps-s>svg{width:14px;height:14px;flex:none}
.ps-q{flex:1;min-width:0;border:0;background:none;padding:2px 0;font:inherit;font-size:13px;color:var(--ink);outline:none}
.ps-q::placeholder{color:var(--muted)}
.ps-q::-webkit-search-cancel-button{display:none}
/* The grid is what place() caps, so the panel never grows past the room there really is; the names scroll inside it. */
.ps-l{display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}
.ps-l.one{display:block;max-height:none;padding:5px}   /* waiting, failed, nobody: one message, no columns to put it in */
.ps-lv{display:flex;gap:6px;min-height:0;overflow-x:auto;overflow-y:hidden;padding:8px 10px;
  border-bottom:1px solid var(--border);scrollbar-width:none}
.ps-lv::-webkit-scrollbar{display:none}
.ps-v{flex:none;white-space:nowrap}
.ps-r{min-height:0;overflow:auto;overscroll-behavior:contain;padding:5px}
@media (min-width:561px){
  /* Wide enough for the two columns. 128 px is what the longest level label needs; the names keep the rest. */
  .ps-l{grid-template-columns:128px minmax(0,1fr);grid-template-rows:minmax(0,1fr);max-height:306px}
  .ps-lv{display:block;overflow-x:hidden;overflow-y:auto;padding:5px 0;
    background:var(--soft);border-bottom:0;border-right:1px solid var(--border)}
  .ps-v{display:flex;align-items:center;gap:7px;width:100%;height:auto;padding:7px 10px;white-space:normal;
    border:0;border-left:2px solid transparent;border-radius:0;background:none;color:var(--text-2);
    font:inherit;font-size:12.5px;text-align:left;
    transition:background-color .14s var(--ease),color .14s var(--ease)}
  .ps-v .t{flex:1;min-width:0}   /* F25 §2.4 · VIDA 12: a level whose name does not fit wraps, it is not cut */
  .ps-v .c{flex:none;margin-left:0;font-size:11.5px;color:var(--muted);opacity:1}
  html[data-input="mouse"] .ps-v:hover,.ps-v:focus-visible{background:color-mix(in srgb,var(--ink) 5%,transparent);
    color:var(--ink);outline:none}
  /* The level standing takes the colour of the names column beside it, so the two read as one surface. */
  .ps-v.on{background:var(--panel);border-color:transparent;border-left-color:var(--red);color:var(--ink);font-weight:600}
  .ps-v.on .c{color:var(--text-2);opacity:1}
}
.ps-o{width:100%;display:flex;align-items:center;gap:9px;padding:7px 8px;border:0;border-radius:9px;background:none;
  cursor:pointer;text-align:left;font-size:13px;color:var(--ink);transition:background-color .14s var(--ease)}
.ps-o .av2{width:26px;height:26px;font-size:10.5px;flex:none}
.ps-o>span{min-width:0;flex:1}
/* F25 §2.4 · a job title that does not fit goes to a second line. «VP Scientific Affairs Reproductive Health
   North America» is a real one, and at 375 px it was being cut with «…», which VIDA 12 forbids. */
.ps-o small{display:block;font-size:11.5px;color:var(--muted);line-height:1.35}
.ps-o>svg{width:14px;height:14px;color:var(--green);flex:none}
/* VIDA has a token for a search match and says what it must be: neutral, never red. I had reached for the
   amber tint, which is the colour of a warning here — nothing is wrong about a name that matched. */
.ps-o em{font-style:normal;background:color-mix(in srgb,var(--ink) 12%,transparent);border-radius:4px;padding:0 2px}
html[data-input="mouse"] .ps-o:hover,.ps-o:focus-visible,.ps-o.kb{background:var(--soft);outline:none}
.ps-o.cur{background:var(--soft)}
.ps-o.cur>span{font-weight:600}
.ps-note{padding:7px 10px 9px 43px;font-size:12px;color:var(--muted)}
.ps-note.err{padding-left:10px;color:var(--red)}
.ps-wait{display:flex;align-items:center;gap:9px;padding:22px 12px;color:var(--muted);font-size:13px}
.ps-wait img{width:22px;height:22px;flex:none}   /* VIDA «in a line»: the sun before the words, never a ring */
.ps-foot{padding:7px 12px;border-top:1px solid var(--border);font-size:11.5px;color:var(--muted)}

/* the field that opens it: a name with a chevron, so it reads as a drop-down and not as words (Dani, 2026-11-13:
   «si un campo de persona se puede cambiar, que se vea que es un desplegable») */
.fr-who .pchev{display:inline-flex;width:12px;height:12px;margin-left:5px;color:var(--muted);vertical-align:-1px}
.pchev{flex:none;width:13px;height:13px;color:var(--muted)}
.pchev svg{width:100%;height:100%}

/* the same field in the drawer, where choosing an owner also asks for a reason, so the picker fills the field
   and the form's own button saves */
.pickf{display:flex;align-items:center;gap:9px;text-align:left;cursor:pointer;height:auto;min-height:38px;padding:5px 10px;
  transition:border-color .15s var(--ease)}
.pickf:hover,.pickf:focus-visible{border-color:var(--ink);outline:none}
.pickf>span{flex:1;min-width:0}
.pickf small{display:block;font-size:11.5px;color:var(--muted);line-height:1.35}   /* F25 §2.4 */
.pickf .av2{width:26px;height:26px;font-size:10.5px;flex:none}

/* At 375 px it is not a drop-down any more: it sits against the bottom of the window, where the thumb is, and
   where no field near the fold can push it off-screen. Same decision as the date picker. The measurements are in
   place(), not here, because a transformed ancestor makes a CSS `position: fixed` anchor to the wrong box. */
/* ── F17 · Where it is stuck (NEST's home) ─────────────────────────────────────────────────────────────────
   The countdown to the forum, the queue of what is not moving, and at the bottom — small, together and quiet —
   what does move. The side bar of a card is the band of its figure, never decoration. */
.stk-strip{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:22px 0 0;padding:13px 18px;
  background:var(--soft);border:1px solid var(--border);border-radius:16px}
.stk-cd{display:flex;align-items:baseline;gap:7px;flex:none}
.stk-cd b{font-size:28px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
.stk-cd span{font-size:10.5px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted)}
.stk-cdt{flex:1;min-width:220px;font-size:13px;color:var(--text-2)}
.stk-cdt b{color:var(--ink)}

.stk-lab{margin:22px 0 12px;font-size:10.5px;text-transform:uppercase;letter-spacing:.8px;color:var(--muted);
  display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.stk-lab span{text-transform:none;letter-spacing:0;font-size:12px}

.stk{position:relative;background:var(--panel);border:1px solid var(--border);border-radius:14px;
  padding:15px 18px 14px;margin-bottom:11px;transition:box-shadow .25s,border-color .2s,translate .3s var(--spring)}
html[data-input="mouse"] .stk:hover{translate:0 -2px;box-shadow:var(--shadow-up);border-color:var(--edge)}
.stk::before{content:"";position:absolute;left:0;top:15px;bottom:15px;width:3px;border-radius:0 3px 3px 0;
  background:var(--band-none)}
.stk.bad::before{background:var(--band-bad)}
.stk.mid::before{background:var(--band-mid)}
.stk.good::before{background:var(--band-good)}

.stk-h{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.stk-h h2{font-size:15px;font-weight:600}
.stk-p{font-size:12px;color:var(--muted)}

/* the signal: the biggest thing on the card, above the name (§7.3) */
.stk-sig{display:flex;align-items:baseline;gap:9px;margin:10px 0 2px}
.stk-sig b{font-size:26px;line-height:1.05;font-weight:600;font-variant-numeric:tabular-nums}
.stk-sig span{font-size:13px;color:var(--text-2)}
.stk.bad .stk-sig b{color:var(--band-bad)}
.stk.mid .stk-sig b{color:var(--band-mid)}

.stk-f{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 0}
.stk-c{display:inline-flex;align-items:center;gap:6px;background:var(--soft);border:1px solid var(--border);
  border-radius:8px;padding:3px 9px;font-size:12px;color:var(--text-2);white-space:nowrap}
.stk-c b{color:var(--ink);font-variant-numeric:tabular-nums}
/* the measure in miniature: the little line, where the number is and where it has to get to */
.stk-m{display:flex;align-items:center;gap:9px;margin:10px 0 0;font-size:13px;color:var(--text-2)}
.stk-m b{color:var(--ink);font-variant-numeric:tabular-nums}
.stk-goal{color:var(--muted)}
/* the line takes the band of its own card: it is the same figure, so it cannot be told in another colour */
.stk-sp{flex:none;color:var(--band-none)}
.stk.bad .stk-sp{color:var(--band-bad)}.stk.mid .stk-sp{color:var(--band-mid)}.stk.good .stk-sp{color:var(--band-good)}

.stk-w{margin:12px 0 0;padding:9px 12px;background:var(--soft);border-radius:10px;font-size:13px;color:var(--text-2)}
.stk-w b{color:var(--ink)}
.stk-w.warn{background:var(--t-red);border:1px solid color-mix(in srgb,var(--red) 22%,var(--edge));color:var(--red-text)}
.stk-w.warn b{color:var(--red-text)}

/* La linea de «no hay nada atascado» lleva un tick, y el tick no tenia tamano: un SVG sin width ni height dentro de
   un <p> en bloque se estira hasta llenar la caja. Medido: 937 px de alto a 1074 de ancho, 294 a 375. Se le pone el
   mismo cuerpo que ya tiene el tick de .done —16 px, en fila, 8 px de hueco—, que es el mismo objeto en NEST. */
/* F20 · las areas de un objetivo. Es la caja de categoria de VIDA (status-words.md, «Category box»): 21 px de alto,
   0 8px, radio 6, --soft con --border, --text-2 a 11,5 px en 600. Misma forma en la cola y en la ficha. */
.oas{margin-top:7px;display:flex;flex-wrap:wrap;gap:6px}
.oa{display:inline-flex;align-items:center;height:21px;padding:0 8px;border-radius:6px;background:var(--soft);
  border:1px solid var(--border);color:var(--text-2);font-size:11.5px;font-weight:600}
.oa-no{font-size:11.5px;color:var(--muted)}
/* La cabecera de la tarjeta es una fila que envuelve, asi que las areas caian al lado del nombre del dueño cuando
   el titulo era corto — y leerse como «el area de esa persona» es exactamente lo que F20 viene a deshacer. Aqui
   ocupan la fila entera siempre, y el hueco lo pone el gap de la cabecera. */
.stk-h .oas{flex-basis:100%;margin-top:0}

.stk-calm{margin-top:22px;display:flex;align-items:center;gap:8px}
.stk-calm svg{flex:none;width:16px;height:16px}
.stk-no{margin:11px 0 0;font-size:12px;color:var(--muted)}
.stk-a{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}
.stk-a .btn{height:34px}
/* A context link only leads you to look, so it never takes the shape of a button: it lives in the box of
   the why, quiet, because on this screen looking is not moving. */
.stk-l{color:var(--ink);text-decoration:underline;text-underline-offset:2px;
  text-decoration-color:color-mix(in srgb,var(--ink) 35%,transparent);transition:text-decoration-color .2s}
html[data-input="mouse"] .stk-l:hover{text-decoration-color:var(--ink)}
.stk-w.warn .stk-l{color:var(--red-text);text-decoration-color:color-mix(in srgb,var(--red-text) 45%,transparent)}
.stk-when{margin-left:auto;font-size:12px;color:var(--muted)}

/* what moves: small, together, and it must not grow (§7.6) */
.stk-q{margin-top:26px;padding:14px 18px;background:var(--well);border:1px solid var(--well-border);border-radius:16px}
.stk-q p{font-size:13px;color:var(--text-2)}
.stk-q b{color:var(--ink)}
.stk-q2{font-size:12px;color:var(--muted);margin-top:3px}

@media (max-width:560px){
  .stk{padding:14px 16px 13px}
  .stk-a .btn{flex:1 1 auto}
  .stk-when{margin-left:0;flex-basis:100%}
  .stk-lab span{flex-basis:100%}
  .stk-strip{gap:12px}
}

/* ── F17 §7.11 · the page of one objective (mockup B) ──────────────────────────────────────────────────────
   One chart with the two lines, and under it the moves of the target told with their reason. Both. */
.ob-h{max-width:820px}
.ob-p{font-size:12px;color:var(--muted)}
.ob-h h1{font-size:24px;font-weight:400;letter-spacing:-.01em;margin-top:2px}
.ob-m{font-size:14px;color:var(--text-2);margin-top:4px}
.ob-s{font-size:12.5px;color:var(--muted);margin-top:4px}
.ob-sig{display:flex;align-items:baseline;gap:9px;margin-top:14px}
.ob-sig b{font-size:28px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums;color:var(--band-bad)}
.ob-sig span{font-size:13px;color:var(--text-2)}
.ob-rule{margin-top:10px;font-size:12.5px;color:var(--text-2)}
.ob-rule b{color:var(--ink)}
.ob-rule span{display:block;color:var(--muted);margin-top:2px}

.ob-b{max-width:820px;margin-top:20px;padding:18px 20px;background:var(--panel);border:1px solid var(--border);
  border-radius:16px}
.ob-b h2{font-size:15px;font-weight:600}
.ob-n2{font-size:12.5px;color:var(--muted);margin-top:3px}

.ob-c{margin-top:14px;width:100%;height:auto}
.ob-c text{font:10.5px var(--font);fill:var(--muted)}
.ob-grid{stroke:var(--border);stroke-width:1}
.ob-n{fill:none;stroke:var(--band-bad);stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ob-nd{fill:var(--band-bad)}
.ob-t{fill:none;stroke:var(--band-mid);stroke-width:2;stroke-dasharray:5 4;stroke-linejoin:round}
.ob-flag{stroke:var(--band-mid);stroke-width:1;stroke-dasharray:2 3}
.ob-key{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:12.5px;color:var(--text-2)}
.ob-key b{color:var(--ink);font-variant-numeric:tabular-nums}
.ob-key i{display:inline-block;width:16px;border-top:2px solid var(--band-bad);vertical-align:middle;margin-right:7px}
.ob-key i.k-t{border-top-style:dashed;border-top-color:var(--band-mid)}

.ob-mvs{margin-top:12px;border-top:1px solid var(--border)}
.ob-mv{display:flex;gap:14px;padding:12px 0;border-bottom:1px solid var(--border);align-items:flex-start}
.ob-mv:last-child{border-bottom:0;padding-bottom:0}
.ob-when{flex:none;width:68px;font-size:12px;color:var(--muted);padding-top:2px}
.ob-jump{font-size:14px}
.ob-jump b{color:var(--band-mid)}
.ob-why{font-size:13px;color:var(--text-2);margin-top:2px}
.ob-why.none{color:var(--muted);font-style:italic}
.ob-who{font-size:12px;color:var(--muted);margin-top:3px}
.ob-who b{color:var(--text-2);font-weight:600}
.ob-who.none{font-style:italic}

.ob-d{max-width:820px;margin-top:20px;padding:14px 18px;background:var(--well);border:1px solid var(--well-border);
  border-radius:16px}
.ob-d h2{font-size:13px;font-weight:600}
.ob-dl{font-size:13px;color:var(--text-2);margin-top:5px}
.ob-dl b{color:var(--ink)}
.ob-dl span{color:var(--muted)}
.ob-d2{font-size:12px;color:var(--muted);margin-top:8px}

@media (max-width:560px){
  .ob-h h1{font-size:20px}
  .ob-b,.ob-d{padding:14px 16px}
  .ob-mv{flex-wrap:wrap;gap:3px}
  .ob-when{width:100%}
}

/* F17 §4b · it is quiet, and the way to end that. It sits above the chart because it answers why you are looking
   at a page and not at a card: while something is quiet it is on nobody's queue. */
.ob-q{max-width:820px;margin-top:20px;padding:15px 18px;background:var(--t-amber);
  border:1px solid color-mix(in srgb,var(--amber) 28%,var(--edge));border-radius:16px}
.ob-q h2{font-size:14px;font-weight:600;color:var(--amber-2)}
.ob-ql{font-size:13px;color:var(--text-2);margin-top:4px}
.ob-ql2{font-size:12.5px;color:var(--muted);margin-top:3px}
.ob-q .acts{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}

/* ── F18 · «hay versión nueva» · la tira fija abajo (maqueta B, la que eligió Dani) ──────────────────────
   Va FIJA y no empuja nada. Si empujara la página, lo que la persona está escribiendo se movería bajo su
   cursor en el peor momento posible: justo cuando le estás diciendo que algo ha cambiado.

   La capa: por ENCIMA del panel lateral (70), porque haber versión nueva no deja de ser verdad porque estés
   dentro de un acuerdo; por DEBAJO del toast (100), que dura dos segundos y medio y tiene que poder leerse,
   y del diálogo (200), que es modal y al que nada se le pone delante. */
.nvb{position:fixed;left:0;right:0;bottom:0;z-index:90;background:var(--toast);color:#fff;
  display:flex;align-items:center;gap:12px;padding:10px 16px;
  box-shadow:0 -6px 20px rgba(0,0,0,.18);animation:nvbin .45s var(--ease) backwards}
@keyframes nvbin{from{translate:0 100%}}
.nvb-t{display:flex;align-items:center;gap:12px;flex:1;min-width:0}
.nvb .dot{flex:none;width:8px;height:8px;border-radius:50%;background:#7fb0ff}
.nvb p{font-size:13.5px;flex:1;min-width:0}
.nvb .btn{height:30px;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.3);color:#fff}
.nvb .btn:hover{background:rgba(255,255,255,.24)}
.nvb .x{border:0;background:none;color:rgba(255,255,255,.72);cursor:pointer;width:26px;height:26px;
  border-radius:7px;display:grid;place-items:center}
.nvb .x svg{width:14px;height:14px}
.nvb .x:hover{background:rgba(255,255,255,.16);color:#fff}
/* A ancho de móvil la tira envuelve. Lo que ocupa la fila entera es la caja del aviso —punto y texto—, no el
   texto solo: con el 100 % puesto en el <p>, el punto no cabía a su lado y se quedaba arriba en una fila para
   él. Si el texto crece, envuelve dentro de su caja y el punto sigue a su lado. */
@media (max-width:560px){.nvb{flex-wrap:wrap;gap:8px}.nvb-t{flex-basis:100%}}

/* El contorno del teclado, SOLO aquí. Desde 2026-11-15 el general de NEST ya es el de VIDA, pero el de tema
   claro es rojo oscuro al 30 % y está pensado para fondo claro: sobre este gris casi no se distingue. La tira
   es un panel oscuro en los DOS temas, así que lleva el contorno del tema oscuro también en claro, que es
   exactamente lo que VIDA dice para ese caso (foundations.md 347: rojo claro al 42 %, «so it shows on dark
   panels»). Acotado a la tira; el token general no se toca. */
.nvb :is(.btn,.x):focus-visible{outline:2px solid rgba(255,90,104,.42);outline-offset:2px}

/* VIDA 3, empujar y nunca tapar: con la tira puesta el toast se coloca ENCIMA de ella, no montado sobre su
   borde. Se mueve el toast y no la tira, porque la tira está anclada abajo y es justamente lo que no se
   mueve. La altura la escribe main.js midiéndola, porque a 375 px la tira envuelve y mide el doble; cuando
   no hay tira la variable no existe, el toast vuelve solo a sus 28 px y no queda ningún hueco. */
.toast{transition:bottom .3s var(--ease)}
body:has(.nvb) .toast{bottom:calc(var(--nvb-h, 50px) + 28px)}

/* ── F22 · Strategy, the map ────────────────────────────────────────────────────────────────────────────────────
   «Lista y ficha», the shape Dani chose on 2026-11-15 over a two-column one. The reason is the WHY: with four to
   ten strategies a narrow column is half empty, and what it costs is the sentence that explains why this and not
   something else. So the why gets the width of the card and is never clamped — if it ever has to be cut, the shape
   was the wrong one, and that is a question, not a CSS fix. */
.m-new{margin-left:auto;align-self:center}
.m-list{margin-top:26px;display:grid;gap:14px}
.m-card{display:grid;grid-template-columns:26px minmax(0,1fr);gap:0 16px;background:var(--panel);
  border:1px solid var(--border);border-radius:16px;padding:18px 22px;box-shadow:var(--shadow);cursor:pointer;
  transition:border-color .2s,box-shadow .25s,translate .3s var(--ease)}
html[data-input="mouse"] .m-card:hover{border-color:var(--muted);translate:0 -2px}
.m-rank{font-size:15px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums;line-height:1.5}
.m-h{display:flex;align-items:flex-start;gap:14px}
.m-h h2{font-size:17px;font-weight:600;line-height:1.3;min-width:0}
.m-h .pill{margin-left:auto;flex:none}
.m-why{margin-top:6px;font-size:13.5px;color:var(--text-2);line-height:1.55}
.m-why.none{color:var(--muted);font-style:italic}
.m-foot{margin-top:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted)}
.m-foot .av2{width:22px;height:22px;font-size:10px}
.m-dot{width:3px;height:3px;border-radius:50%;background:var(--muted);opacity:.6;flex:none}
.m-go{margin-left:auto;display:flex;align-items:center;gap:6px;flex:none}
.m-go svg{width:14px;height:14px;transition:translate .25s var(--spring)}
html[data-input="mouse"] .m-card:hover .m-go svg{translate:4px 0}
.m-card.quiet{box-shadow:none;background:var(--soft)}
.m-card.quiet .m-h h2{font-weight:500;color:var(--text-2)}
.m-parked{margin-top:8px;display:flex;gap:8px;font-size:13px;color:var(--text-2);line-height:1.5}
.m-parked b{color:var(--muted);font-weight:600;flex:none}
.m-parked.wide{margin-top:14px}
.m-see{color:var(--muted)}

/* the state of a strategy or an objective: the word with its dot, never a red box (VIDA 10) */
.m-run i{background:var(--slate)}
.m-risk i{background:var(--band-mid)}
.m-off i{background:var(--band-bad)}
.m-met i{background:var(--band-good)}
/* Closed and parked share the grey: being out of the map is all the state says. Whether it was reached or given up
   is not in the answer, and a green dot would be claiming it was reached. */
.m-none i{background:var(--band-none)}
.pill.sm{height:22px;padding:0 9px;font-size:11.5px}

/* the page of one */
.m-ph{margin-top:18px;display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.m-pt{min-width:0;flex:1 1 320px}
.m-ph h1{font-size:24px;font-weight:400;letter-spacing:-.01em;line-height:1.25}
.m-pa{margin-left:auto;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.m-ph .m-foot{margin-top:10px}
.m-ph+.m-why,.m-parked.wide+.m-why{margin-top:14px;max-width:72ch;font-size:14px}
.m-obh{margin:28px 0 12px;display:flex;align-items:baseline;gap:10px}
.m-obh h2{font-size:15px;font-weight:600}
.m-obs{background:var(--panel);border:1px solid var(--border);border-radius:16px;overflow:hidden;
  box-shadow:var(--shadow)}
.m-ob{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;align-items:start;padding:14px 18px;
  border-top:1px solid var(--border);cursor:pointer;transition:background .16s}
.m-ob:first-child{border-top:0}
html[data-input="mouse"] .m-ob:hover{background:var(--soft)}
.m-obt{min-width:0}
.m-obt .t{font-size:14.5px;font-weight:600;line-height:1.35}
.m-obt .m{margin-top:3px;font-size:13px;color:var(--text-2)}
.m-obt .m .dir{color:var(--muted)}
.m-obt .oas{margin-top:7px}
.m-obr{display:flex;align-items:center;gap:10px;justify-content:flex-end}
.m-chev{display:flex;color:var(--muted)}
.m-chev svg{width:14px;height:14px;transition:translate .25s var(--spring)}
html[data-input="mouse"] .m-ob:hover .m-chev svg{translate:4px 0}
/* Parked keeps its row and goes quiet: a map that dropped it could not answer «what happened to that one». */
.m-ob.gone .t,.m-ob.gone .m{color:var(--muted)}

/* the day one, and a strategy with no objectives yet: VIDA's empty state — one sentence naming a button that is
   on the screen with those words, never «nothing here» */
.m-empty{margin-top:26px;border:1px dashed var(--edge);border-radius:16px}
.m-empty p{padding:34px;text-align:center;line-height:1.5;font-size:14px;color:var(--muted)}
.m-empty small{display:block;margin-top:6px;font-size:12.5px}
.m-empty.small p{padding:26px 20px}

/* the two doors: writing a strategy, writing an objective */
.m-form{margin-top:26px;background:var(--panel);border:1px solid var(--border);border-radius:16px;
  padding:20px 22px 18px;box-shadow:var(--shadow)}
.m-form h2{font-size:15px;font-weight:600;margin-bottom:14px}
.m-f{margin-bottom:14px}
.m-f label{display:block;font-size:13px;font-weight:600;color:var(--text-2);margin-bottom:2px}
.m-fh{font-size:12.5px;color:var(--muted);margin-bottom:6px;line-height:1.45}
.m-f .pq{margin-bottom:0}
.m-f .ed{min-height:0;font-size:14px;border-width:1px;border-color:var(--edge)}
.m-f .segs{margin-top:0}
.m-f .chips{margin-top:2px}
.m-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
@media (max-width:560px){
  .m-card{grid-template-columns:minmax(0,1fr)}
  .m-rank{display:none}
  .m-two{grid-template-columns:minmax(0,1fr)}
  .m-pa{margin-left:0;width:100%}
}
/* F24 R8 · the leads editor adds people with the shared picker, so it needs two doors, not a search box */
.ledadd{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}

/* ── F26 · Organisation → To review: one line per check, its number, and where it is fixed ────────────────── */
.rv{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.rv-i{display:flex;align-items:center;gap:12px;padding:12px 14px}
.rv-n{min-width:34px;font-size:var(--vida-fs-title);font-weight:600;color:var(--ink);text-align:right;font-variant-numeric:tabular-nums}
.rv-n.zero{color:var(--amber-2)}
.rv-ic{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--soft);color:var(--text-2);flex:none}
.rv-ic svg{width:15px;height:15px}
.rv-t{flex:1;min-width:0}
.rv-t p{margin:0;font-size:var(--vida-fs-base);color:var(--ink)}
.rv-t small{display:block;margin-top:2px;font-size:var(--vida-fs-note);color:var(--muted)}
.rv-i .btn{flex:none}
@media (max-width:640px){
  .rv-i{flex-wrap:wrap}
  .rv-t{flex-basis:100%;order:3}
  .rv-i .btn{order:4;margin-left:auto}
}

/* ── F26 · a group in the People list: its header, who leads it, and its units ────────────────────────────── */
.ev-on{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 10px}
.ev-on:empty{display:none}
.ev-chip{display:inline-flex;align-items:center;gap:6px;height:23px;padding:0 8px;border:0;border-radius:999px;
  background:var(--ink);color:var(--panel);font-size:var(--vida-fs-note);cursor:pointer;transition:opacity .12s var(--ease)}
.ev-chip:hover{opacity:.82}
.ev-chip svg{width:11px;height:11px}
.gp{border:0;border-top:1px solid var(--border);border-radius:0;box-shadow:none;padding:0;margin:0}
.gp:first-child{border-top:0}
.gp-h{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:0;background:none;cursor:pointer;
  text-align:left;color:var(--ink);transition:background .12s var(--ease)}
.gp-h:hover{background:var(--soft)}
.gp-h svg{width:14px;height:14px;color:var(--muted);flex:none;transition:transform .16s var(--ease)}
.gp.open>.gp-h svg{transform:rotate(180deg)}
.gp-h b{font-size:var(--vida-fs-block);font-weight:600}
.gp-h span{margin-left:auto;font-size:var(--vida-fs-note);color:var(--muted);font-variant-numeric:tabular-nums}
.gp-lead{display:flex;align-items:center;gap:9px;padding:6px 12px 10px 34px}
.gp-lead>div{min-width:0}
.gp-lead p{margin:0;font-size:var(--vida-fs-small);font-weight:600;color:var(--ink)}
.gp-lead small{display:block;font-size:var(--vida-fs-note);color:var(--muted)}
.gp-no{margin:0;padding:0 12px 10px 34px;font-size:var(--vida-fs-note);color:var(--muted)}
.gp-u{padding-left:22px}
.gp-uh{display:flex;align-items:baseline;gap:8px;margin:0;padding:6px 12px 4px}
.gp-uh b{font-size:var(--vida-fs-small);font-weight:600;color:var(--text-2)}
.gp-uh span{font-size:var(--vida-fs-note);color:var(--muted)}
.gp-more{margin:0;padding:4px 12px 8px;font-size:var(--vida-fs-note);color:var(--muted)}
.ev-ld{display:block;margin-top:2px;font-size:var(--vida-fs-note);color:var(--text-2)}
.ev-ld svg{width:10px;height:10px;margin-right:3px;vertical-align:-1px}
.ev-mi.sub{padding-left:26px;color:var(--text-2)}
@media (max-width:640px){
  .gp-u{padding-left:0}
  .gp-lead{padding-left:12px}
  .gp-no{padding-left:12px}
}

/* A group that «To review» sent here: the first one is opened, the rest wear this until the screen is left. */
.dp-d.todo:not(.on),.dp-u.todo:not(.on){box-shadow:inset 2px 0 0 0 var(--amber-2)}
.dp-d.todo .dp-nm::after,.dp-u.todo>span::after{content:'to review';margin-left:7px;font-size:var(--vida-fs-tiny);
  font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--amber-2)}

/* The quieter half of «To review»: where a level or a department came from. Same lines, no alarm. */
.rv-sh{margin:22px 0 0;font-size:var(--vida-fs-label);font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.rv-sub{margin:4px 0 0;font-size:var(--vida-fs-note);color:var(--muted)}
.rv.quiet{margin-top:8px}
.rv.quiet .rv-n{color:var(--text-2);font-size:var(--vida-fs-block);font-weight:400}
.rv.quiet .rv-ic{background:none;color:var(--muted)}

/* The two pickers of the People filter bar carry an arrow. `.chip` had never held an icon, so nothing sized
   one, and an svg with no width takes whatever space it likes: they came out about sixty pixels tall. */
.ev-filt .chip{display:inline-flex;align-items:center;gap:6px}
.ev-filt .chip svg{width:12px;height:12px;flex:none;color:var(--muted)}
.ev-filt .chip.on svg{color:inherit}

/* Groups: who is inside what (Dani, 2026-11-16: «es todo muy plano y no sabes quién está debajo de qué»).
   Space and lines, not weight: each department of the list is one block with its units hanging from a line under
   its name; the card splits its sections with a rule, its units are one block, and its people sit under a heading
   of their own with each level hanging from its line. The People tab's groups follow the same lines. */
.dp-gs{gap:8px}
.dp-g+.dp-g{margin-top:0}
.dp-g{padding:4px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.dp-us{margin:2px 0 4px 20px;padding-left:6px;border-left:2px solid var(--edge)}
.dp-us:empty{display:none}
.dp-u{padding-left:10px}
.dp-g .dp-d.on,.dp-g .dp-u.on{background:var(--soft)}
.dp-sec+.dp-gs{gap:2px;padding:4px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.dp-sec+.dp-gs .dp-d.on{background:var(--soft)}
.dp-card .dp-sh{margin-top:22px;padding-top:16px;border-top:1px solid var(--border)}
.dp-ul{gap:0;padding:2px;border:1px solid var(--border);border-radius:12px}
.dp-ur+.dp-ur{border-top:1px solid var(--border);border-radius:0}
.dp-lvs{margin-top:4px;display:grid;gap:14px}
.dp-lv{margin-top:0;font-size:12.5px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--text-2)}
.dp-lvb .dp-pl{margin:6px 0 0 6px;padding-left:8px;border-left:2px solid var(--edge)}
.gp-u{margin:2px 12px 8px 30px;padding-left:4px;border-left:2px solid var(--edge)}
.gp.open{background:var(--panel)}

/* A button in the drawer's footer never runs past its edge. «Add to my agenda for the next Strategy session · IT»
   is 347 px of one line, and at 375 px the footer has 319: it wraps onto a second line inside the button instead. */
.df .btn{max-width:100%;white-space:normal;height:auto;min-height:36px;padding-top:7px;padding-bottom:7px;text-align:left;line-height:1.3}

/* What's new (2026-11-16): a dot on the avatar while something deployed has not been opened yet, and a «New» tag on
   its line of the menu. The dot gives way to the administrators' count, which already asks for a look. */
.menew{position:absolute;right:0;top:2px;width:9px;height:9px;border-radius:50%;background:var(--red);box-shadow:0 0 0 2px var(--panel)}
.memenu .newsb{display:flex;align-items:center;gap:8px}
.newtag{padding:1px 8px;border-radius:999px;background:var(--t-red);color:var(--red-text);font-size:11.5px;font-weight:500}
.news-d ul{margin:0;padding:0 0 0 18px;list-style:disc;display:grid;gap:8px;font-size:13.5px;line-height:1.5;color:var(--text-2)}
.news-d li::marker{color:var(--muted)}

/* F28 · Strategy, one column (mockups/f28-estrategia-A.html, chosen by Dani 2026-11-16). Every strategy is a block
   that opens in place; the group first, then each area. «Waiting for approval» sits on top only when there is any. */
.st-grp{margin:28px 0 0;font-size:13px;color:var(--muted)}
.st-grp b{color:var(--ink);font-size:15px;font-weight:600}
.st{margin-top:12px;border:1px solid var(--border);border-radius:14px;background:var(--panel);transition:border-color .2s var(--ease)}
.st.quiet .st-t{color:var(--text-2)}
.st-h{display:flex;width:100%;align-items:center;gap:12px;padding:14px 18px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink);border-radius:14px}
html[data-input="mouse"] .st:not(.open) .st-h:hover{background:var(--soft)}
.st-h:focus-visible{outline:var(--focus);outline-offset:2px}
.st-ht{flex:1;min-width:0}
.st-t{display:block;font-size:15px;font-weight:500}
.st.open .st-t{font-size:17px;font-weight:600}
.st-ht small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}
.st-ch{flex:none;color:var(--muted);display:inline-flex;transition:rotate .2s var(--ease)}
.st-ch svg{width:14px;height:14px}
.st.open .st-ch{rotate:90deg}
.st-b{padding:0 18px 18px}
.st-why{font-size:14px;line-height:1.55;color:var(--text-2);max-width:76ch}
.st-why.none{color:var(--muted)}
.st-sm{margin-top:8px;font-size:13.5px;color:var(--text-2);max-width:76ch}
.st-sm b{color:var(--ink);font-weight:600}
.st-meta{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin-top:12px;font-size:12.5px;color:var(--muted)}
.st-meta .who{display:inline-flex;align-items:center;gap:7px;color:var(--text-2)}
.st-sh{margin:22px 0 8px;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.st-sh i{font-style:normal;font-weight:400;letter-spacing:0;margin-left:6px}
.st-chg{padding:12px 14px;border-radius:12px;background:var(--t-blue);font-size:13.5px;color:var(--text-2)}
.st-chg b{color:var(--ink);font-weight:600}
.st-chg .pre{margin-top:4px}
.st-chg .acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.st-none{font-size:13.5px;color:var(--muted)}
.st-add{margin-top:8px}
.st-b .plist{box-shadow:none;border-radius:12px}
.st-list{display:grid;gap:8px;font-size:13.5px;color:var(--text-2)}
.st-list li{display:flex;gap:9px}
.st-list li::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;margin-top:8px;background:var(--edge)}
.st-list small{display:block;color:var(--muted);font-size:12px}
.st-acts{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:20px;padding-top:14px;border-top:1px solid var(--border)}
.st-wait{margin-top:22px;border:1px solid var(--border);border-radius:14px;background:var(--panel);box-shadow:inset 3px 0 0 var(--amber);padding:14px 18px}
.st-wait h2{font-size:15px;font-weight:600}
.st-wait .from{margin-top:2px;font-size:13px;color:var(--text-2)}
.st-wait ul{margin-top:10px;display:grid;gap:6px}
.st-wait li{display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline;padding:8px 10px;border-radius:10px;background:var(--soft);font-size:13.5px}
.st-wait li small{color:var(--muted);font-size:12.5px}
.st-wait li small.tg{flex-basis:100%}
.st-wait .acts{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin-top:12px}
.st-wait .acts span{font-size:12.5px;color:var(--muted)}
@media (max-width:640px){.st-h{padding:12px 14px}.st-b{padding:0 14px 16px}}
/* F28 · Projects: «Part of <strategy>» under a project's lead, a link to its strategy in Strategy. */
.prow .ppart{margin-top:2px;font-size:12.5px;color:var(--muted)}
.prow .ppart .lnkx{font-size:12.5px}
/* F28 · in a draft: where a strategy is going, and its target if the meeting gave one */
.fr-goes{margin-top:10px;padding:8px 12px;border-radius:10px;background:var(--soft);font-size:12.5px;color:var(--muted);line-height:1.6}
.fr-goes b{color:var(--ink);font-weight:600}
/* F30 · a project's department and its code, with the names it had before */
.ddept{font-size:13.5px;color:var(--text-2)}
.ddept b{color:var(--ink);font-weight:600}
.ddept-al{margin-top:4px;font-size:12.5px}

/* F29 · «View NEST as…»: a strip under the header on every screen while an administrator sees NEST as somebody
   else. Amber, because it is a state that needs the user to know it, and it has no close button: only «Back to
   yourself» ends it. */
.viewas{position:sticky;top:0;z-index:55;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;padding:8px 16px;
  background:var(--t-amber);color:var(--ink);font-size:13.5px;border-bottom:1px solid var(--border)}
.viewas b{font-weight:600}
.viewas .btn.sm{min-height:30px}
.si-h + .acts a.btn,.acts a.btn.main{display:inline-flex;align-items:center;text-decoration:none}

/* VIDA · live tabs (components/live-tabs.md) on the sections of NEST, 2026-11-16. Dani: «¿Por qué las tabs de arriba
   no tienen VIDA? ¿Es que lo tengo que repetir 1000 veces?». Icon and word on every tab; the current one red, weight
   600, with its 3 px line; the pointed one tints a rounded fill, opens a faint red line from the centre, lifts its
   icon, and the tabs on either side step 8 px aside by transform (the row never re-wraps). On a phone the seven tabs
   become tiles, four per row. The tokens are NEST's own names for the VIDA ones (border, soft, red, red-text). */
.nav{gap:0 6px;align-items:stretch}
.nav button{position:relative;z-index:0;gap:7px;padding:0 9px;border-bottom:0;border-radius:9px 9px 0 0;font-size:14px;font-weight:500;color:var(--muted);
  transition:transform .3s cubic-bezier(.2,.7,.25,1),color .16s}
.nav button .ic{width:17px;height:17px;flex:none;transition:transform .22s}
.nav button::before{content:"";position:absolute;z-index:-1;top:8px;bottom:0;left:0;right:0;border-radius:9px 9px 0 0;background:var(--soft);opacity:0;
  transition:opacity .16s,left .3s cubic-bezier(.2,.7,.25,1),right .3s cubic-bezier(.2,.7,.25,1)}
.nav button::after{left:16%;right:16%;bottom:0;height:3px;border-radius:3px;background:color-mix(in srgb,var(--red) 50%,transparent);transform:scaleX(0);opacity:1;
  transition:transform .28s cubic-bezier(.2,.7,.25,1)}
.nav button[aria-selected="true"]{color:var(--red-text);font-weight:600;cursor:default}
.nav button[aria-selected="true"]::after{left:0;right:0;background:var(--red);transform:scaleX(1)}
.nav button:focus-visible{outline:var(--focus);outline-offset:-2px}
@media (min-width:761px){
  html[data-input="mouse"] .nav button:not([aria-selected="true"]):is(:hover,:focus-visible){color:var(--ink)}
  html[data-input="mouse"] .nav button:not([aria-selected="true"]):is(:hover,:focus-visible)::before{opacity:1;left:-8px;right:-8px}
  html[data-input="mouse"] .nav button:not([aria-selected="true"]):is(:hover,:focus-visible)::after{transform:scaleX(1)}
  html[data-input="mouse"] .nav button:not([aria-selected="true"]):is(:hover,:focus-visible) .ic{transform:translateY(-2px) scale(1.18)}
  html[data-input="mouse"] .nav button:is(:hover,:focus-visible) .n{transform:scale(1.2)}
  html[data-input="mouse"] .nav button:not([aria-selected="true"]):is(:hover,:focus-visible) ~ button{transform:translateX(8px)}
  html[data-input="mouse"] .nav button:has(~ button:not([aria-selected="true"]):is(:hover,:focus-visible)){transform:translateX(-8px)}
}
.nav .n{transition:transform .22s}
@media (max-width:760px){
  .nav{height:auto;flex-wrap:wrap;gap:6px;padding:8px 0 10px;overflow:visible}
  .nav button{flex:1 1 calc(25% - 6px);flex-direction:column;justify-content:center;gap:5px;padding:9px 3px 8px;border:1px solid var(--border);border-radius:12px;
    background:linear-gradient(180deg,var(--soft),color-mix(in srgb,var(--soft) 80%,var(--border)));white-space:normal;text-align:center;min-height:58px}
  .nav button::before,.nav button::after{display:none}
  .nav button .ic{width:19px;height:19px}
  .nav button .t{font-size:11.5px;font-weight:600}
  .nav button[aria-selected="true"]{background:var(--red-fill);border-color:var(--red-edge);color:#fff}
  .nav button .n{position:absolute;top:-8px;right:-5px;box-shadow:0 0 0 2px var(--panel)}
  .nav button[aria-selected="true"] .n{background:#fff;color:var(--red)}
}

/* Strategy, 2026-11-16 (Dani: «las tarjetas de antes de la estrategia eran mucho mejores»): each strategy is the card
   Agreements used to draw — state, bar of projects, what waits for you, the latest news — and it opens IN PLACE: the
   card stays as the head of its block and the rest unfolds under it, inside the same card. */
.st.st-has{border:0;background:none;margin-top:14px}
.st.st-has > .theme{margin:0}
.st.st-has.open > .theme{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-color:transparent;translate:none}
.st.st-has.open > .st-b{background:var(--panel);border:1px solid var(--border);border-top:0;border-radius:0 0 18px 18px;box-shadow:var(--shadow);padding:4px 26px 22px}
.st-card .go .st-ch{display:inline-flex;transition:rotate .2s var(--ease)}
.st-card.open .go .st-ch{rotate:90deg}
.st-card:focus-visible{outline:var(--focus);outline-offset:2px}
@media (max-width:640px){.st.st-has.open > .st-b{padding:4px 16px 18px}}

/* F33 · Organisation › Import from HR: three steps, nothing saved before the last one */
.hri{margin-top:18px;padding:20px 22px}
.hri h2{font-size:16px;font-weight:600}
.hri .sub{margin-top:4px;font-size:13.5px;color:var(--text-2)}
.hri-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:16px}
.hri-acts label.btn{cursor:pointer}
.hri-err{margin-top:12px;padding:10px 12px;border-radius:10px;background:var(--t-red);color:var(--red-text);font-size:13.5px}
.hri-nums{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:16px}
.hri-n{padding:12px 14px;border:1px solid var(--border);border-radius:12px;background:var(--panel)}
.hri-n b{display:block;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums}
.hri-n span{display:block;font-size:13px;color:var(--ink)}
.hri-n small{display:block;font-size:12px;color:var(--muted)}
.hri-n.warn{box-shadow:inset 3px 0 0 var(--amber)}
.hri-block{margin-top:14px;padding:12px 14px;border-radius:12px;background:var(--soft);font-size:13.5px;color:var(--text-2)}
.hri-block b{color:var(--ink);font-weight:600}
.hri-block.warn{background:var(--t-amber)}
.hri-block.bad{background:var(--t-red)}
.hri-list{margin-top:8px;padding-left:18px;list-style:disc;display:grid;gap:4px}
/* F33: Organisation has four tabs for an administrator; at 375 px the fourth ran 16 px past the edge. They wrap. */
.ptabs{flex-wrap:wrap}

/* VIDA, 2026-11-16 (Dani: «estas pestañas tampoco tienen vida, revísalas todas, y eso que está en Operations no lo
   quiero ni ver, VIDA no usa eso»).
   1 · Organisation's tabs are VIDA live tabs, like the sections at the top: icon and word, the current one red 600
       with its 3 px line, the pointed one with a rounded fill, a faint red line opening from the centre, the icon
       lifting and the neighbours stepping aside. Four tabs stay tabs on a phone (VIDA: fewer than five).
   2 · No side stripe anywhere. VIDA marks what is current with a tint and red text (side-menu.md: «Current: fill
       --vida-tint, text --vida-red-text, no bar»), and what needs a look with its own fill or tag, never a coloured
       bar down one side. Every inset stripe NEST had is replaced here. */
.ptabs{gap:0 6px;align-items:flex-end;border-bottom:1.5px solid var(--border)}
.ptab{position:relative;z-index:0;gap:7px;padding:10px 9px 9px;margin-bottom:-1.5px;border-bottom:3px solid transparent;border-radius:9px 9px 0 0;font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap;
  transition:transform .3s cubic-bezier(.2,.7,.25,1),color .16s}
.ptab .ic{width:17px;height:17px;flex:none;transition:transform .22s}
.ptab::before{content:"";position:absolute;z-index:-1;top:3px;bottom:0;left:0;right:0;border-radius:9px 9px 0 0;background:var(--soft);opacity:0;transition:opacity .16s,left .3s cubic-bezier(.2,.7,.25,1),right .3s cubic-bezier(.2,.7,.25,1)}
.ptab::after{content:"";position:absolute;left:16%;right:16%;bottom:-3px;height:3px;border-radius:3px;background:color-mix(in srgb,var(--red) 50%,transparent);transform:scaleX(0);transition:transform .28s cubic-bezier(.2,.7,.25,1)}
.ptab.on{color:var(--red-text);font-weight:600;border-bottom-color:var(--red);cursor:default}
.ptab.on::after{display:none}
.ptab:focus-visible{outline:var(--focus);outline-offset:-2px}
.ptab .n{transition:transform .22s}
@media (min-width:761px){
  html[data-input="mouse"] .ptab:not(.on):is(:hover,:focus-visible){color:var(--ink)}
  html[data-input="mouse"] .ptab:not(.on):is(:hover,:focus-visible)::before{opacity:1;left:-8px;right:-8px}
  html[data-input="mouse"] .ptab:not(.on):is(:hover,:focus-visible)::after{transform:scaleX(1)}
  html[data-input="mouse"] .ptab:not(.on):is(:hover,:focus-visible) .ic{transform:translateY(-2px) scale(1.18)}
  html[data-input="mouse"] .ptab:is(:hover,:focus-visible) .n{transform:scale(1.2)}
  html[data-input="mouse"] .ptab:not(.on):is(:hover,:focus-visible) ~ .ptab{transform:translateX(8px)}
  html[data-input="mouse"] .ptab:has(~ .ptab:not(.on):is(:hover,:focus-visible)){transform:translateX(-8px)}
}

/* the current group in Departments: tint and red text, no bar; pointing slides the name 2 px, like VIDA's side menu */
.dp-d.on,.dp-u.on,.dp-g .dp-d.on,.dp-g .dp-u.on,.dp-sec+.dp-gs .dp-d.on{background:var(--t-red);color:var(--red-text);box-shadow:none}
.dp-d.on .dp-ct,.dp-u.on .dp-ct{color:var(--red-text)}
.dp-d .dp-nm,.dp-u>span:first-child{transition:translate .2s var(--ease)}
html[data-input="mouse"] .dp-d:not(.on):hover .dp-nm,html[data-input="mouse"] .dp-u:not(.on):hover>span:first-child{translate:2px 0}
/* «to review» keeps its tag; the amber bar goes */
.dp-d.todo:not(.on),.dp-u.todo:not(.on){box-shadow:none}
/* the person just found in a card: a fill, no bar */
.dp-p.mark{box-shadow:none}
/* Strategy · waiting for approval, and the HR import's «switched off»: their own fill, no bar */
.st-wait{box-shadow:none;background:var(--t-amber);border-color:transparent}
.st-wait li{background:var(--panel)}
.hri-n.warn{box-shadow:none;background:var(--t-amber);border-color:transparent}
/* an approval that waits for you: it needs you, so it is tinted red (VIDA: red means something), not barred */
.apv.you{border-left:1px solid var(--border);background:var(--t-red);border-color:transparent}
/* the person picker's level column on a phone: the chosen level tinted, no red edge */
.ps-l .ps-v.on{border-left-color:transparent;background:var(--t-red);color:var(--red-text)}
.ps-l .ps-v.on .c{color:var(--red-text)}

/* Dani, 2026-11-16: «¿No podemos hacer que las pantallas ocupen todo el ancho? No entiendo por qué dejamos bordes sin
   usar a los lados». VIDA sets no maximum width for a screen; the 1360 px was NEST's own. Every screen now uses the
   whole window, with the same side margin as before. What keeps a limit is reading, not the screen: a paragraph,
   a field or a form row stays as long as a line can be read. */
.view,.fin{max-width:none}
.upl{max-width:none}

/* Strategy · the open strategy, option C «rows with weight» (mockups/f34-estrategia-abierta-C.html, Dani 2026-11-16).
   Each group in its own box with a heading band; each row starts with a square whose colour says its state; a stuck
   row is amber end to end; one line under each title. No bar down any side. */
.sgrp{margin-top:16px;border:1px solid var(--border);border-radius:16px;background:var(--panel);overflow:hidden}
.sgrp > h3{display:flex;align-items:center;gap:10px;padding:11px 18px;background:var(--soft);font-size:13px;font-weight:600;color:var(--ink)}
.sgrp > h3 span{font-weight:400;color:var(--muted)}
.srow{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:4px 14px;align-items:center;padding:13px 18px;border-top:1px solid var(--border);cursor:pointer;transition:background-color .16s var(--ease)}
.sgrp > h3 + .srow{border-top:0}
html[data-input="mouse"] .srow:hover{background:var(--soft)}
.srow:focus-visible{outline:var(--focus);outline-offset:-2px}
.sq{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--soft);color:var(--muted);transition:transform .22s var(--spring)}
.sq svg{width:18px;height:18px}
html[data-input="mouse"] .srow:hover .sq{transform:scale(1.08)}
.sq-moving,.sq-obj{background:var(--t-green);color:var(--green)}
.sq-stuck{background:var(--t-amber);color:var(--amber-2)}
.sq-waitsForYou{background:var(--t-red);color:var(--red-text)}
.sq-done,.sq-paused{background:var(--soft);color:var(--muted)}
.sq-strategy,.sq-men{background:var(--t-blue);color:var(--blue)}
.sr-b{min-width:0}
.sr-t{font-size:15px;font-weight:600;color:var(--ink);line-height:1.35}
.sr-code{font-size:11.5px;font-weight:600;color:var(--muted);margin-right:7px;letter-spacing:.02em}
.sr-m{display:flex;flex-wrap:wrap;gap:3px 14px;margin-top:4px;font-size:13px;color:var(--text-2)}
.sr-m b{color:var(--ink);font-weight:500}
.sr-chip{display:inline-flex;align-items:center;padding:1px 9px;border-radius:999px;background:var(--t-blue);color:var(--blue);font-size:11.5px;font-weight:600}
.srow.sr-stuck{background:var(--t-amber)}
html[data-input="mouse"] .srow.sr-stuck:hover{background:color-mix(in srgb,var(--t-amber) 80%,var(--amber))}
.srow.sr-done .sr-t,.srow.sr-paused .sr-t{color:var(--text-2)}
.sr-pill{display:inline-flex;align-items:center;gap:6px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:500;background:var(--soft);color:var(--text-2);white-space:nowrap}
.sr-pill i{width:7px;height:7px;border-radius:50%;background:var(--slate)}
.sr-p-moving i{background:var(--green)}
.sr-p-stuck{background:color-mix(in srgb,var(--t-amber) 60%,var(--panel));color:var(--amber-2)}.sr-p-stuck i{background:var(--amber)}
.sr-p-waitsForYou{background:var(--t-red);color:var(--red-text)}.sr-p-waitsForYou i{background:var(--red)}
.sr-p-done{background:var(--t-green);color:var(--green)}.sr-p-done i{background:var(--green)}
.sr-p-strategy{background:var(--t-blue);color:var(--blue)}.sr-p-strategy i{background:var(--blue)}
.sg-none{padding:14px 18px;font-size:13.5px;color:var(--muted)}
.sg-add{padding:0 18px 14px}
.sg-pad{padding:14px 18px}
.sg-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:0 16px}
.st-b .m-obs{display:none}
@media (max-width:640px){.srow{grid-template-columns:34px minmax(0,1fr);padding:12px 14px}.srow > .sr-pill,.srow > .pill{grid-column:2;justify-self:start}}

/* Departments · a department's card in three separate blocks (Dani, 2026-11-16): who leads it first, then its units
   as groups to tick, then the people of the ticked units, unit by unit. */
.dp-card .dp-blk{margin-top:18px;padding:16px 18px;border:1px solid var(--border);border-radius:14px;background:var(--panel)}
.dp-card .dp-blk .dp-sh{margin:0 0 10px;padding:0;border:0}
.dp-card .dp-blk .dp-sh i{font-style:normal;font-weight:400;letter-spacing:0;margin-left:6px}
.dp-leadblk{background:var(--soft)}
.dp-leadblk .dp-lead{margin-top:0;background:var(--panel);padding:14px 16px}
.dp-leadblk .dp-lead .av2{width:42px;height:42px;font-size:14px}
.dp-leadblk .dp-lead p{font-size:16px;font-weight:600}
.dp-blkh{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.dp-blkh .dp-sh{margin-bottom:4px}
.dp-hint{font-size:13px;color:var(--muted);margin-bottom:10px}
.dp-uts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}
.dp-ut{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:12px;background:var(--panel);transition:border-color .16s,background-color .16s}
.dp-ut.on{background:var(--t-red);border-color:transparent}
.dp-utb{flex:1;min-width:0;display:flex;align-items:center;gap:10px;padding:10px 12px;border:0;background:none;font:inherit;text-align:left;cursor:pointer;color:var(--ink);border-radius:12px 0 0 12px}
.dp-utn{min-width:0;font-size:13.5px;font-weight:500}
.dp-utn small{display:block;font-size:12px;font-weight:400;color:var(--muted)}
.dp-ut.on .dp-utn{color:var(--red-text)}
.dp-tick{flex:none;width:18px;height:18px;border-radius:6px;border:1.5px solid var(--edge);display:grid;place-items:center;color:#fff;transition:background-color .16s,border-color .16s,transform .2s var(--spring)}
.dp-tick svg{width:12px;height:12px}
.dp-ut.on .dp-tick{background:var(--red);border-color:var(--red)}
html[data-input="mouse"] .dp-utb:hover .dp-tick{transform:scale(1.1)}
html[data-input="mouse"] .dp-ut:not(.on):hover{border-color:var(--edge);background:var(--soft)}
.dp-utgo{flex:none;width:36px;display:grid;place-items:center;border:0;border-left:1px solid var(--border);background:none;color:var(--muted);cursor:pointer;border-radius:0 12px 12px 0}
.dp-utgo svg{width:14px;height:14px;transition:translate .2s var(--spring)}
html[data-input="mouse"] .dp-utgo:hover{color:var(--ink)}html[data-input="mouse"] .dp-utgo:hover svg{translate:2px 0}
.dp-utb:focus-visible,.dp-utgo:focus-visible{outline:var(--focus);outline-offset:-2px}
.dp-up + .dp-up{margin-top:16px;padding-top:14px;border-top:1px solid var(--border)}
.dp-up h3{font-size:14px;font-weight:600;margin-bottom:6px}
.dp-up h3 span{font-weight:400;color:var(--muted);margin-left:6px;font-size:13px}
.dp-upl{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:2px 12px}
.dp-plv{flex:none;font-size:11.5px;color:var(--muted)}
