/* plan.css -- Dinero > plan del periodo (plan.js). Tokens from app.css only. */
.pl { padding: 8px 16px 48px; color: var(--ink); font-family: var(--sans); }
.pl h1 { font-family: var(--sans); font-size: 24px; margin: 0; }
.pl h2 { font-family: var(--sans); font-size: 17px; margin: 18px 0 8px; }
.pl-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 12px; }
.pl-range { display: flex; gap: 10px; }
.pl-lab { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.pl-in { font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); min-height: 36px; }
.pl-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.pl-view { display: flex; flex-direction: column; gap: 12px; }
.pl-note { font-size: 13px; color: var(--muted); margin: 0; max-width: 900px; }
.pl-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--ink); border-radius: 0; }
.pl-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.pl-table th, .pl-table td { padding: 6px 8px; border-bottom: 1px solid #ebe9e1; text-align: left; vertical-align: top; }
.pl-table thead th { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); position: sticky; top: 0; background: var(--card); }
.pl-table tbody th { font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: var(--card); z-index: 1; }
.pl-table .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pl-table.is-small { font-size: 12px; }
.pl-table .is-neg, .pl-card .is-neg { color: var(--alarm, #b4372b); }
.pl-table tr.is-result th, .pl-table tr.is-result td { border-top: 2.5px solid var(--ink); font-weight: 700; }
.pl-appr { font-size: 11px; color: var(--muted); }
.pl-sub { font-size: 11px; color: var(--muted); font-weight: 400; }
.pl-strong { font-weight: 700; }
.pl-kind th { background: var(--paper) !important; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.pl-tot th, .pl-tot td { font-weight: 700; border-top: 1px solid var(--rule); }
.pl-real th, .pl-real td { color: #2d6b5c; font-size: 12px; }
.pl-rowh { min-width: 170px; }
.pl-rowh .pl-x { margin-left: 6px; }
.pl-rowl { display: flex; align-items: center; gap: 4px; }
.pl-rowl a { color: inherit; }
.pl-c { text-align: right !important; }
.pl-table td.pl-c .pl-sub, .pl-table td.pl-c .pl-appr { text-align: right; white-space: nowrap; }
.pl-table.is-edit td.num .pl-sub, .pl-table.is-edit td.num .pl-appr { font-family: var(--sans); }
.pl-table.is-fit { width: auto; align-self: flex-start; background: var(--card); }
.pl-table.is-fit th, .pl-table.is-fit td { padding-right: 24px; }
.pl-table .pl-mh { border-left: 1px solid var(--rule); }
.pl h1 .cm-note, .pl h2 .cm-note, .pl-rowl .cm-note { vertical-align: middle; font-weight: 400; }
.pl-top-r { display: inline-flex; align-items: center; gap: 6px; }
.pl-card-t { display: flex; align-items: center; gap: 6px; }
.pl-cell { width: 76px; min-height: 32px; padding: 4px 6px; text-align: right; font-family: var(--mono); font-size: 13px; }
.pl-cell.is-dirty { background: #fff7d6; border-color: #C08A2E; }
.pl-x { font: inherit; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 16px; padding: 0 4px; }
.pl-status { display: inline-block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pl-status.is-draft { color: var(--warn-ink); }
.pl-status.is-approved { color: var(--done); }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.pl-card { text-align: left; font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--ink); border-radius: 0; padding: 12px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.pl-card-t { font-weight: 700; }
.pl-card-n { font-size: 13px; color: var(--muted); }
.pl-card-f { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; font-family: var(--mono); }
.pl-new { background: var(--card); border: 1px solid var(--rule); border-radius: 0; padding: 10px 12px; }
.pl-new summary { cursor: pointer; font-weight: 600; }
.pl-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; max-width: 520px; }
.pl-form.is-inline { flex-direction: row; flex-wrap: wrap; align-items: flex-end; max-width: none; }
.pl-pair { display: flex; gap: 10px; }
.pl-check { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.pl-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: sticky; bottom: 0; background: var(--paper); padding: 8px 0; z-index: 5; }
.pl-bar .pl-in { flex: 1; min-width: 220px; }
.pl-msg { font-size: 13px; }
.pl-msg.is-bad { color: var(--alarm, #b4372b); font-weight: 600; }
.pl-approve { background: var(--card); border: 1.5px solid var(--ink); border-radius: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.pl-approve h2 { margin: 0; }
.pl-log { display: flex; flex-direction: column; gap: 6px; }
.pl-log-r { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; background: var(--card); border-radius: 0; padding: 6px 10px; }
.pl-back { font-size: 13px; }
.pl-person.is-over { background: #f6dcd8; }
.pl-person.is-under { background: #ecebe6; }
.pl-person.is-no_contract { background: #fff3c4; }
.pl-list { margin: 0; padding-left: 18px; font-size: 13px; }
/* calendar and links (plan.js calendarView, planLink) */
.pl-wd { display: flex; gap: 4px; }
.pl-wd-l { display: inline-flex; flex-direction: column; align-items: center; font-size: 12px; gap: 2px; border: 1px solid var(--rule); border-radius: 0; padding: 4px 6px; background: #fff; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chip { font-size: 12px; font-family: var(--mono); background: var(--card); border: 1px solid var(--rule); border-radius: 0; padding: 3px 9px; }
.pl-sess { background: var(--card); border: 1px solid var(--ink); border-radius: 0; padding: 6px 10px; max-height: 420px; overflow-y: auto; }
.pl-sess-d { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.pl-sess-r { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; border-bottom: 1px solid #f0eee7; }
.pl-sess-r.is-open .pl-strong { color: var(--alarm, #b4372b); }
.pl-num { font-family: var(--mono); }
.pl-two { display: flex; flex-wrap: wrap; gap: 12px; }
.pl-two > * { flex: 1 1 320px; }
.pl-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: 13px; padding: 6px 0 10px; }

/* Planificar el próximo periodo (plan.js planWindow). */
.pl-veil { position: fixed; inset: 0; background: rgba(20, 20, 19, .45); z-index: 60; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 12px; }
.pl-dlg { background: var(--paper, #f4f1ea); border: 1px solid var(--hairline); width: min(640px, 100%); padding: 16px 20px 22px; }
.pl-dh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.pl-dh h2 { margin: 0; font-size: 18px; }
.pl-seg { display: flex; gap: 6px; flex-wrap: wrap; }

/* The step-by-step "Crear un plan" window (2026-10-20). */
.pl-howto { margin: 4px 0 8px; padding-left: 20px; line-height: 1.5; }
.pl-howto li { margin-bottom: 8px; }
.pl-steps-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.pl-steps-foot .is-primary { margin-left: auto; }

/* Planificar un trimestre (2026-11-09): the alta's steps and question (directorio.css .al-*, flow.css
   .fl-wiz-*), plus its tables. Figures in their own right-aligned column, words left (Paul, 2026-10-20). */
.al-step .al-val { margin-left: auto; font: 12px var(--mono); color: var(--muted); text-align: right; }
.pt .al-steps { width: 280px; flex-basis: 280px; }
.pt-body { max-width: 900px; align-self: stretch; }
.pt-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pt-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pt-t { width: 100%; border-collapse: collapse; font-size: 13px; }
.pt-t th { font: 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ink); }
.pt-t td { padding: 5px 8px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
.pt-t .pt-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-t tr.pt-sum td, .pt-t tfoot td { font-weight: 600; border-top: 1px solid var(--ink); border-bottom: 0; }
.pt-step { display: inline-flex; align-items: center; gap: 2px; }
.pt-st { width: 24px; height: 24px; border: 1px solid var(--ink); background: var(--card); cursor: pointer; font: 14px var(--sans); line-height: 1; }
.pt-num { width: 84px; text-align: right; padding: 3px 6px; border: 1px solid var(--rule); font: 13px var(--sans); font-variant-numeric: tabular-nums; }
.pt-txt { width: 100%; padding: 3px 6px; border: 1px solid var(--rule); font: 13px var(--sans); }
.pt-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pt-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pt-x { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 15px; }
.pt-scroll { overflow-x: auto; }
.pt-gone { color: var(--alarm); font-size: 12px; }
.pt-warn { color: var(--alarm); font-size: 13px; margin: 0; }
/* Narrow: the steps go on top, as in the alta (directorio.css); the tables scroll sideways inside themselves. */
@media (max-width: 900px) {
  .pt .al-steps { width: 100%; flex-basis: auto; }
  .pt-four { grid-template-columns: 1fr 1fr; }
}
.pt-t tr.is-hand td { background: var(--fill); }

/* Design pass 2026-11-13 (Paul: "a design pass of the page and its flow using current design standards").
   Tokens only, no new colours. */
.pl-top { align-items: center; }
/* Próximos trimestres: a card as on Departamentos › todos (months.css .card .tot-cell .card-title .tot-fig);
   rows in mono like its money rows, the gaps as its square mono buttons (.per-gran). */
.pl-cov-card { align-self: flex-start; width: min(780px, 100%); box-sizing: border-box; display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; padding: 14px 16px; }
.pl-cov-l { width: 180px; flex: none; display: flex; flex-direction: column; gap: 6px; }
.pl-cov-card .pl-cov { flex: 1 1 260px; min-width: 0; }
.pl-cov-l .tot-fig { white-space: nowrap; }
.pl-cov-l .tot-fig small { font-size: 10px; font-weight: 400; color: var(--muted); }
.pl-cov-card .tot-fig.is-neg { color: var(--alarm); }
.pl-cov { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; column-gap: 0; align-items: stretch; font-family: var(--mono); font-size: 11px; }
.pl-cov > span { display: flex; align-items: center; padding: 4px 0 4px 14px; border-top: 1px solid var(--rule); }
.pl-cov > span:nth-child(3n+1) { padding-left: 0; }
.pl-cov > .pl-cov-h { border-top: 0; font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); text-align: left; }
.pl-cov .per-gran { white-space: nowrap; }
.pl-cov-plan { color: var(--ink); }
.pl-cov-none { color: var(--muted); }
/* a plan card's figures lined up: word | figure | unit */
.pl-card-f { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 6px; font-family: var(--sans); font-size: 13px; }
.pl-card-n2 { text-align: right; font-variant-numeric: tabular-nums; }
.pl-card-f .is-res { font-weight: 700; border-top: 1px solid var(--rule); padding-top: 2px; }
/* the walkthrough */
.pt-mini { display: grid; grid-template-columns: max-content max-content max-content; gap: 1px 8px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.pt-mini .pt-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.pt-mini-w { grid-column: 1 / -1; }
.pt-t .pt-d { color: var(--muted); }
.pt-t .pt-plan { font-weight: 600; }
.pt-t .pt-gap { border-left: 1px solid var(--rule); }
.pt-t th.pt-gap { border-left: 1px solid var(--rule); }
.pt-t .is-neg { color: var(--alarm); }
.pt-t td a { color: inherit; }
.pt-tag { margin-left: 8px; font: 11px var(--mono); color: var(--alarm); text-transform: uppercase; letter-spacing: .04em; }
.pt-pick { display: grid; grid-template-columns: 180px 1fr; gap: 8px 14px; align-items: start; }
.pt-pick .micro { padding-top: 4px; }
.pt-pick-h { padding-top: 10px !important; border-top: 1px solid var(--rule); grid-column: 1 / -1; }
.pt-pick-g { font-size: 13px; font-weight: 600; padding-top: 3px; }
/* Narrow (his pane is ~886 px): the steps become one line of marks, so the
   question stays at the top instead of 300 px down. The question itself names the step, so no name here. */
@media (max-width: 900px) {
  .pt .al-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; border-bottom: 0; }
  .pt .al-step { border-top: 0; padding: 0; gap: 6px; }
  .pt .al-step .al-name, .pt .al-step .al-val { display: none; }
  .pt-pick { grid-template-columns: 1fr; }
}
/* in a table row the choice chips stay on one line (rows stay one line high; the table scrolls sideways on a phone) */
.pt-t .pt-seg { flex-wrap: nowrap; }
.pt-t .pt-chip { white-space: nowrap; }
/* Easy wins (Paul, 2026-11-13: "All the easy wins") */
.pt-head { margin-bottom: 4px; }
.pt-dept { display: inline-flex; align-items: center; gap: 8px; }
.pt-dept svg { width: 20px; height: 20px; flex: 0 0 20px; }
.pt-kind { font: inherit; border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
.pt-to { font: inherit; border: 0; background: none; padding: 0; color: var(--ink); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-align: left; }
@media (max-width: 900px) { .pt .al-steps .al-grp { display: none; } }
/* Services first (Paul, 2026-11-13): the calendar's line, fixed; last year's lines greyed when «No». */
.pt-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pt-t tr.pt-svc td { font-weight: 600; }
.pt-svc-t { margin-left: 8px; font: 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.pt-t tr.pt-off td { color: var(--faint); }
.pl-svcwarn { max-width: 900px; }
@media (max-width: 900px) { .pt-three { grid-template-columns: 1fr; } }

/* --- 2026-11-15, Paul's test notes ------------------------------------------ */
/* Predictions in italics (rule 34): plan figures, changes and the plan's months; the base and «Real (libros)» upright. */
.pt-t td.pt-plan, .pt-t td.pt-d, .pt-t td.pt-fc, .pt-t td.pt-plan .pt-num { font-style: italic; }
.pl-table.is-fc td, .pl-table.is-fc .pl-cell { font-style: italic; }
.pl-table.is-fc tr.pl-real td { font-style: normal; }
/* Money with cents needs a wider box; the € sits after it. */
.pt-num { width: 104px; }
.pt-step .pt-u { margin-left: 4px; color: var(--muted); font-style: normal; }
/* The total reads as the answer of the step. */
.pt-t tr.pt-sum td, .pt-t tfoot td { border-top: 2px solid var(--ink); font-size: 15px; padding-top: 8px; }

/* --- the plan page (design board 6C) and the Previsión folds (boards 1, 8): Paul, 2026-11-15 ----------------- */
.pc-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pc-head h1 { margin: 0; }
.pc-lay { display: flex; gap: 24px; align-items: flex-start; margin-top: 14px; }
.pc-lay.is-one { display: block; }
.pc-right { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pc-card { gap: 4px; }
.pc-fig { font-style: italic; }
.pc-cardsub { font-size: 12px; color: var(--muted); }
.pc-fold { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; gap: 8px; align-items: baseline; text-align: left; }
.pc-ar { width: 10px; display: inline-block; }
.pl-table tr.pc-kid th { font-weight: 400; }
.pl-table tr.pc-in th { padding-left: 30px; font-size: 12px; color: var(--muted); }
.pl-table tr.pc-in2 th { padding-left: 58px; font-size: 12px; color: var(--muted); }
.pl-table tr.pc-grp th { font-weight: 600; }
.pl-table tr.pc-acc th, .pl-table tr.pc-acc td { color: var(--muted); }
.pc-bar { display: flex; gap: 12px; align-items: center; margin-top: -4px; }
.pc-day { width: 420px; flex: none; background: var(--card); border: 1px solid var(--ink); display: flex; flex-direction: column;
  position: sticky; top: 12px; height: calc(100vh - 40px); max-height: 1100px; box-sizing: border-box; }
.pc-dayh { display: flex; align-items: baseline; gap: 10px; padding: 10px 14px 6px; border-bottom: 1px solid var(--rule); }
.pc-dayt { font-weight: 700; font-size: 15px; }
.pc-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 0 12px; position: relative; }
.pc-cp { display: flex; align-items: center; gap: 8px; height: 28px; box-sizing: border-box; border-bottom: 1.5px solid var(--ink); background: var(--card); position: sticky; z-index: 3; }
.pc-cpl { font-weight: 700; font-size: 13px; flex: 1; }
.pc-cpv { font-family: var(--mono); font-size: 13px; font-style: italic; }
.pc-end { position: static; border-bottom: 0; border-top: 1.5px solid var(--ink); padding: 0 14px; height: 34px; flex: none; }
.pc-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 50px minmax(0, 1fr); column-gap: 4px; height: 14px; align-items: stretch; }
.pc-row.is-busy { height: 25px; }
.pc-row.is-over { background: var(--fill); }
.pc-dl { font-family: var(--mono); font-size: 9px; color: var(--muted); text-align: right; align-self: center; }
.pc-dl.is-we { color: var(--faint); }
.pc-outs { display: flex; justify-content: flex-end; gap: 2px; align-items: center; overflow: hidden; }
.pc-ins { display: flex; justify-content: flex-start; gap: 2px; align-items: center; overflow: hidden; }
.pc-mid { position: relative; display: flex; align-items: center; justify-content: center; }
.pc-line { position: absolute; bottom: 0; left: 50%; margin-left: -1px; border-left: 2px solid; }
.pc-res { position: relative; z-index: 1; width: 100%; font-family: var(--mono); font-size: 9px; font-style: italic; text-align: center; line-height: 18px; border: 1px solid; }
.pc-res.is-pos { background: var(--done-bg); color: var(--done); border-color: var(--done); }
.pc-res.is-neg { background: color-mix(in srgb, var(--alarm) 14%, var(--card)); color: var(--alarm); border-color: var(--alarm); }
.pc-bar { height: 20px; border: 0; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; box-sizing: border-box; cursor: pointer; flex: none; }
.pc-bar.is-dg { cursor: grab; touch-action: none; }
.pc-bar.is-in { background: var(--done-bg); color: var(--done); }
.pc-bar.is-in:hover { background: var(--done); color: var(--card); }
.pc-bar.is-out { background: color-mix(in srgb, var(--alarm) 22%, var(--card)); color: var(--alarm); }
.pc-bar.is-out:hover { background: var(--alarm); color: var(--card); }
.pc-bar.is-rule { background-image: radial-gradient(circle at 4px 4px, currentColor 1.6px, transparent 2.2px); }
.pc-bar.is-moved { outline: 1.5px dashed currentColor; outline-offset: 1px; }
.pc-bar.is-ghost { outline: 2px dashed currentColor; outline-offset: 1px; opacity: .55; }
.pc-bar.is-landed { animation: pc-land .45s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes pc-land { 0% { transform: scale(1.3); } 55% { transform: scale(.94); } 100% { transform: scale(1); } }
.pc-fly { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; box-shadow: 0 10px 24px color-mix(in srgb, var(--ink) 32%, transparent); }
.pc-fly.is-in { background: var(--done); color: var(--card); }
.pc-fly.is-out { background: var(--alarm); color: var(--card); }
.pc-dragging, .pc-dragging * { cursor: grabbing !important; user-select: none; }
.pc-ic { display: inline-flex; }
.pc-drg { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 10px 12px; font-size: 14px; align-items: baseline; }
.pc-drday { display: flex; flex-direction: column; gap: 6px; }
.pc-always { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.pc-fc { font-style: italic; }
.pv-pl { display: inline-flex; gap: 8px; align-items: baseline; }
.pv-draft-tag { background: var(--fill); border: 1px solid var(--warn-ink); font-size: 11px; padding: 0 6px; font-weight: 600; }
.pv-draft { background: var(--fill); border: 1px solid var(--warn-ink); padding: 10px 14px; font-size: 14px; }
/* narrow: the page measures itself (a plan also opens in a drawer from Dinero › caja), not the window */
.pc.is-narrow .pc-lay { flex-direction: column; align-items: stretch; }
.pc.is-narrow .pc-day { width: 100%; position: static; height: 70vh; }
.pc.is-narrow .pc-right { width: 100%; }
@media (max-width: 600px) { .pc-cards { grid-template-columns: 1fr; } }

/* «Trabajos aparte» (Paul, 2026-11-15) */
.pt-ask { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--rule); padding: 12px 14px; }
.pt-when { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pt-note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--rule); padding: 2px 10px; margin: 0; }
.pl-table tr.pc-split td { font-size: 12px; color: var(--muted); padding-top: 8px; border-bottom: 0; }

/* a figure in a walkthrough table opens its own box when clicked (Paul, 2026-11-15) */
.pt-fig { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-bottom: 1px dotted var(--faint); }
.pt-fig:hover { border-bottom-color: var(--ink); }
.pt-who { display: flex; }
.pt-who .cb { width: 100%; }
.pt-who .cb input { font: 600 15px var(--sans); padding: 0 16px; border-color: var(--ink); }
.pt-who .cb > button { width: 40px; border-color: var(--ink); }
.pt-ask .fl-wiz-ch { align-items: stretch; }
.pt-day { white-space: nowrap; }
.pt-day .pt-num { width: 2.6em; }
/* house buttons (Paul, 2026-11-15): np-create keeps its own width inside a box, never a full-width bar */
.pl-approve .np-create, .pl-new .np-create { align-self: flex-start; }
/* a client box in a walkthrough table: its list opens over the page, not clipped by the table's scroll (2026-11-15) */
.pt-scroll:has(.cb) { overflow: visible; }
.pt-t .cb { width: 180px; }
.pt-t .cbl { min-width: 280px; }
.pc-backarrow { font-size: 20px; text-decoration: none; line-height: 1; }
.pc-head .pl-note { margin: 0; }
.pc-hist { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 10px; }
.pc-hist h3 { margin: 12px 0 4px; }
.pc-hist p { margin: 2px 0; font-size: 13px; }
/* «Próximos trimestres»: its «+» (create a plan) in the card's top right corner (Paul, 2026-11-16) */
.pl-cov-card { position: relative; padding-right: 48px; }
.pl-cov-plus { position: absolute; top: 10px; right: 10px; }
/* «Alguien lo ha pedido», designs b and c (Paul, 2026-11-16) */
.pt-addjob { flex-wrap: wrap; align-items: center; }
.pt-addwho { min-width: 260px; }
.pt-addwho .cb { width: 100%; }
.pt-whois { margin: 0 0 8px; font-size: 15px; }
/* MON 16TH notes (Paul, 2026-11-16): the black arrow; plan rows a step in under Ingresos, their lines a step further */
.pc-backarrow, .pc-backarrow:visited { color: var(--ink); }
.pl-table.pv-t tr.pv-in1 th { padding-left: 32px; }
.pl-table.pv-t tr.pv-in2 th { padding-left: 100px; }
/* «¿Sabes quién hace estos turnos?»: a row per shift, the week as a band, the person's search box (2026-11-16 MON) */
.pt-wk td { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding-top: 14px; }
.pt-whotd { min-width: 220px; }
.pt-whotd .cb { width: 100%; }
tr.pt-open .cb input { border-color: var(--warn-ink); }
.pt-whotd .cbl { left: auto; right: 0; }
