/* Maquiven — Procuras pages (app/Views/procuras, boards Main … Plan, ARCHITECTURE §5.12). The flow pages use layouts/quick (column ≤ 560 px),
   the list layouts/web. Mobile first, 44 px targets, the boards' few extra tints. */
.pc-accent { color: var(--c-orange-text); }
.pc-flow { display: flex; flex-direction: column; gap: 14px; }
.pc-flow h1, .pc-list h1 { margin: 0; color: var(--c-navy); }
.pc-head { display: flex; flex-direction: column; gap: 6px; }
.pc-head h1 { font-size: 28px; line-height: 1.1; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); }
.pc-head p { margin: 0; color: #46546A; font-size: 15px; line-height: 1.45; }
.pc-head--tight h1 { font-size: 24px; line-height: 1.15; }
.pc-h1-small { font-size: 22px; line-height: 1.15; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); }
.pc-h1-mid { font-size: 26px; line-height: 1.1; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); }
.pc-hint { margin: 0; color: #46546A; font-size: 13px; line-height: 1.4; }
.pc-who { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); color: #46546A; font-size: 13px; }

/* fields */
.pc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pc-field label { font-size: 14px; font-weight: var(--fw-semibold); }
.pc-flow input[type=email], .pc-flow input[type=text], .pc-flow input[type=number], .pc-flow input[type=date], .pc-flow input:not([type]), .pc-flow select, .pc-flow textarea { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 var(--sp-3); border: 1.5px solid #C7CDD6; border-radius: var(--r-md); background: var(--c-surface); color: var(--c-navy); font: inherit; font-size: 16px; }
.pc-flow textarea { padding: var(--sp-3); line-height: 1.45; resize: vertical; }
.pc-flow #necesidad { border-color: var(--c-navy); border-radius: var(--r-lg); }
.pc-flow input:focus, .pc-flow select:focus, .pc-flow textarea:focus { outline: none; box-shadow: var(--sh-focus-field); }
.pc-status { margin: 0; min-height: 0; color: #46546A; font-size: 13px; }
.pc-status:empty { display: none; }
.pc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-two > [hidden] { display: none; }
.pc-two > :only-child, .pc-two > [hidden] + * { grid-column: 1 / -1; }

/* buttons */
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); box-sizing: border-box; min-height: 52px; padding: 0 var(--sp-4); border: 1.5px solid transparent; border-radius: var(--r-md); font: inherit; font-size: 15px; font-weight: var(--fw-semibold); text-align: center; text-decoration: none; cursor: pointer; }
.pc-btn--primary { border-radius: var(--r-lg); background: var(--c-orange-btn); color: var(--c-white); font-size: 17px; font-weight: var(--fw-bold); }
.pc-btn--primary:hover { background: var(--c-orange-hover); color: var(--c-white); }
.pc-btn--outline { border-color: #C7CDD6; background: var(--c-surface); color: var(--c-navy); }
.pc-btn--outline:hover { border-color: var(--c-navy); color: var(--c-navy); }
.pc-btn--small { min-height: var(--touch); padding: 0 14px; border-color: var(--c-navy); background: var(--c-surface); color: var(--c-navy); font-size: 14px; }
.pc-btn--choice { flex: 1 1 0; min-height: var(--touch); padding: 6px var(--sp-3); border-color: #C7CDD6; background: var(--c-surface); color: var(--c-navy); }
.pc-btn--choice:hover { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); }
.pc-link { display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch); color: var(--c-navy); font-size: 14px; font-weight: var(--fw-semibold); }
.pc-link--button { align-self: flex-start; padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; font-family: inherit; }
.pc-file { position: relative; overflow: hidden; }
.pc-file input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pc-file:focus-within { box-shadow: var(--sh-focus); }
.pc-barform { display: flex; flex-direction: column; gap: var(--sp-2); }

/* chips */
.pc-chips { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pc-chips::-webkit-scrollbar { display: none; }
.pc-chips--wrap { flex-wrap: wrap; overflow: visible; }
.pc-chip { display: inline-flex; align-items: center; flex-shrink: 0; min-height: var(--touch); padding: 0 14px; border: 1px solid #C7CDD6; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-navy); font-size: 14px; font-weight: var(--fw-medium); text-decoration: none; }
.pc-chip:hover { border-color: var(--c-navy); color: var(--c-navy); }
.pc-chip.is-active { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-white); font-weight: var(--fw-semibold); }
.pc-chip--end { margin-left: auto; }
.pc-examples { display: flex; flex-direction: column; gap: var(--sp-2); }

/* notes */
.pc-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: var(--sp-3); border-radius: var(--r-md); background: #E8F0FB; color: #173F72; font-size: 14px; line-height: 1.4; }
.pc-note .ico { flex-shrink: 0; width: 20px; height: 20px; }
.pc-note--warn { background: #FFF1E8; color: #8A3410; }
.pc-alert { display: flex; align-items: center; gap: 10px; padding: 10px var(--sp-3); border-radius: var(--r-md); background: #FDEDE5; color: #8F3410; font-size: 14px; font-weight: var(--fw-semibold); }
.pc-alert .ico { flex-shrink: 0; width: 20px; height: 20px; }
.pc-testprice { margin: 0; align-self: flex-start; padding: 3px 8px; border: 1.5px dashed #8F3410; border-radius: var(--r-sm); color: #8F3410; font-size: 12px; font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: .03em; }
.pc-pill { display: inline-flex; align-items: center; gap: var(--sp-1); flex-shrink: 0; padding: 3px 8px; border-radius: var(--r-pill); background: #E8F0FB; color: #173F72; font-size: 12px; font-weight: var(--fw-semibold); }
.pc-pill .ico { width: 12px; height: 12px; }
.pc-pill--orange { background: #FDEDE5; color: #8F3410; }
.pc-pill--grey { background: #ECEEF2; color: #2F3D52; }

/* review rows */
.pc-rows { display: flex; flex-direction: column; padding: 2px 14px; border-radius: var(--r-lg); background: var(--c-surface); }
.pc-row { border-bottom: 1px solid #ECEEF2; }
.pc-row:last-child { border-bottom: 0; }
.pc-row--plain { padding: 2px 14px; border: 0; border-radius: var(--r-lg); background: var(--c-surface); }
.pc-row summary { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--touch); padding: 6px 0; cursor: pointer; list-style: none; }
.pc-row summary::-webkit-details-marker { display: none; }
.pc-row summary:focus-visible { outline: none; box-shadow: var(--sh-focus-inset); }
.pc-row__k { flex-shrink: 0; color: #46546A; font-size: 14px; }
.pc-row__v { min-width: 0; font-size: 15px; font-weight: var(--fw-semibold); text-align: right; overflow-wrap: anywhere; }
.pc-row__v--empty { color: #8F3410; font-weight: var(--fw-medium); }
.pc-row__edit { display: flex; flex-direction: column; gap: var(--sp-2); padding: 0 0 var(--sp-3); }
.pc-row__edit label { font-size: 13px; color: #46546A; }
.pc-row__edit .pc-btn { align-self: flex-start; }
.pc-row__static { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); min-height: var(--touch); padding: 6px 0; border-bottom: 1px solid #ECEEF2; }
.pc-row__static:last-child { border-bottom: 0; }

/* boxes */
.pc-box { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: var(--sp-3) 14px; border: 0; border-radius: var(--r-lg); background: var(--c-surface); min-width: 0; }
.pc-box h2 { margin: 0; font-size: 15px; font-weight: var(--fw-bold); }
.pc-box__q { margin: 0; padding: 0; font-size: 15px; font-weight: var(--fw-semibold); }
.pc-qbtns { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pc-radio, .pc-check { display: flex; align-items: center; gap: 10px; min-height: var(--touch); font-size: 15px; }
.pc-radio input, .pc-check input, .pc-unit input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--c-navy); }
.pc-check--line { padding: 0 2px; }
.pc-file-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.pc-file-row a { display: inline-flex; align-items: center; min-height: var(--touch); }
.pc-mine { align-items: flex-start; }
.pc-mine__title { display: inline-flex; align-items: center; min-height: var(--touch); font-size: 16px; font-weight: var(--fw-bold); color: var(--c-navy); }
.pc-mine form { margin: 0; }

/* detail */
.pc-req { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: 15px; }
.pc-doc { display: inline-flex; align-items: center; gap: var(--sp-1); flex-shrink: 0; font-size: 13px; font-weight: var(--fw-semibold); color: #46546A; }
.pc-doc--ok { color: #173F72; }
.pc-doc--before_start { color: #8F3410; }
.pc-fleet { display: flex; align-items: center; gap: var(--sp-3); padding: 14px; border-radius: var(--r-lg); background: var(--c-navy); color: var(--c-white); }
.pc-fleet__ico { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--r-md); background: #1E3A66; }
.pc-fleet > span:last-child { display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #C9D3E3; }
.pc-fleet strong { color: var(--c-white); font-size: 16px; }

/* answer */
.pc-units { display: flex; flex-direction: column; margin: 0; padding: var(--sp-1) 14px; border: 0; border-radius: var(--r-lg); background: var(--c-surface); }
.pc-unit { display: flex; align-items: center; gap: var(--sp-3); min-height: 52px; padding: var(--sp-1) 0; border-bottom: 1px solid #ECEEF2; }
.pc-unit:last-child { border-bottom: 0; }
.pc-unit > span { display: flex; flex-direction: column; min-width: 0; color: #46546A; font-size: 13px; }
.pc-unit strong { color: var(--c-navy); font-size: 15px; font-weight: var(--fw-semibold); overflow-wrap: anywhere; }

/* published */
.pc-done { gap: var(--sp-4); }
.pc-done__head { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.pc-done__head h1 { font-size: 28px; line-height: 1.1; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); }
.pc-done__head p { margin: 0; color: #46546A; font-size: 15px; line-height: 1.45; }
.pc-done__mark { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-navy); color: var(--c-white); }
.pc-done__mark .ico { width: 36px; height: 36px; }
.pc-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pc-stat { display: flex; flex-direction: column; gap: 2px; padding: var(--sp-3) 14px; border-radius: var(--r-lg); background: var(--c-surface); }
.pc-stat span { color: #46546A; font-size: 13px; }
.pc-stat strong { font-size: 22px; font-weight: var(--fw-extrabold); line-height: 1.15; }
.pc-steps { display: flex; flex-direction: column; gap: var(--sp-3); margin: 0; padding: 0; list-style: none; }
.pc-steps li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: 15px; line-height: 1.4; }
.pc-steps li > span:first-child { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--c-orange-btn); color: var(--c-white); font-size: 14px; font-weight: var(--fw-bold); }

/* plans */
.pc-msg { margin: 0; padding: var(--sp-3); border-radius: var(--r-lg); background: #E9E4DC; }
.pc-msg__bubble { display: flex; flex-direction: column; gap: var(--sp-1); max-width: 300px; padding: 10px var(--sp-3); border-radius: 4px var(--r-md) var(--r-md) var(--r-md); background: var(--c-surface); font-size: 14px; line-height: 1.4; }
.pc-msg__from { color: var(--c-orange-text); font-size: 13px; font-weight: var(--fw-bold); }
.pc-msg__link { color: #1E4E8C; font-weight: var(--fw-semibold); }
.pc-plan { display: flex; flex-direction: column; gap: 6px; padding: var(--sp-3) 14px; border: 1px solid #E3E6EB; border-radius: var(--r-lg); background: var(--c-surface); }
.pc-plan--pro { gap: 10px; padding: 14px; border: 2px solid var(--c-navy); }
.pc-plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2); font-size: 15px; font-weight: var(--fw-semibold); }
.pc-plan__head strong { font-size: 16px; }
.pc-plan--pro .pc-plan__head strong { font-size: 17px; font-weight: var(--fw-extrabold); }
.pc-plan__name { display: flex; align-items: center; gap: var(--sp-2); }
.pc-plan__price { font-weight: var(--fw-bold); }
.pc-ticks { display: flex; flex-direction: column; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.pc-ticks li { display: flex; align-items: flex-start; gap: var(--sp-2); font-size: 15px; }
.pc-ticks .ico { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: #173F72; }
.pc-pm-amount { display: flex; align-items: center; gap: var(--sp-3); margin: 0; font-size: 22px; }

/* list (layouts/web) */
.page--procuras { background: #F4F5F7; }
.pc-tabs { display: flex; gap: 6px; padding: 10px var(--gutter) 0; background: var(--c-surface); }
.pc-tab { flex: 1; display: flex; align-items: center; justify-content: center; min-height: var(--touch); border-bottom: 3px solid transparent; color: #46546A; font-size: 15px; font-weight: var(--fw-semibold); text-decoration: none; }
.pc-tab.is-active { border-bottom-color: var(--c-orange-btn); color: var(--c-navy); font-weight: var(--fw-bold); }
.pc-list { display: flex; flex-direction: column; gap: var(--sp-3); padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.pc-list__head { display: flex; flex-direction: column; gap: var(--sp-1); }
.pc-list__head h1 { font-size: 26px; line-height: 1.1; font-weight: var(--fw-extrabold); letter-spacing: var(--ls-tight); }
.pc-list__head p { margin: 0; color: #46546A; font-size: 14px; line-height: 1.4; }
.pc-search { position: relative; display: flex; align-items: center; gap: var(--sp-2); min-height: 46px; padding: 0 14px; border: 1px solid #D5DAE1; border-radius: var(--r-md); background: var(--c-surface); color: #46546A; }
.pc-search .ico { flex-shrink: 0; width: 18px; height: 18px; }
.pc-search input { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; outline: 0; background: transparent; color: var(--c-navy); font: inherit; font-size: 16px; }
.pc-search input::placeholder { color: #46546A; opacity: 1; }
.pc-search:focus-within { box-shadow: var(--sh-focus-field); }
.pc-empty { display: flex; flex-direction: column; gap: var(--sp-2); padding: var(--sp-6) var(--sp-4); border-radius: var(--r-lg); background: var(--c-surface); text-align: center; color: #46546A; font-size: 14px; }
.pc-empty p { margin: 0; }
@media (min-width: 768px) {
  .pc-tabs { justify-content: center; }
  .pc-tab { flex: 0 0 200px; }
}
/* block M-32: the plans page sits in the site's layout */
.pc-plans { max-width: 560px; margin-inline: auto; padding: var(--sp-4) var(--gutter) var(--sp-8); box-sizing: content-box; }
.pc-back { display: inline-flex; align-items: center; gap: 2px; align-self: flex-start; min-height: var(--touch); color: var(--c-orange-text); font-size: 15px; font-weight: var(--fw-semibold); text-decoration: none; }
.pc-back .ico { width: 18px; height: 18px; }
.pc-btn--notify { border: 1.5px solid var(--c-orange-btn); background: var(--c-surface); color: #8F3410; font-weight: var(--fw-bold); }
.pc-btn--notify:hover { background: #FDF1EA; color: #8F3410; }
/* blocks M-21 .. M-23 */
.pc-alerts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-4); padding: var(--sp-4); border-radius: var(--r-lg); background: var(--c-surface); }
.pc-alerts h2 { margin: 0 0 var(--sp-1); font-size: 16px; font-weight: var(--fw-bold); }
.pc-alerts p { margin: 0; color: #46546A; font-size: 14px; line-height: 1.4; }
.pc-rows__title { margin: 10px 0 2px; font-size: 15px; font-weight: var(--fw-bold); }
.pc-bullets { display: flex; flex-direction: column; gap: var(--sp-1); margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.4; list-style: disc; }
.pc-bullets li { display: list-item; }
.pc-steps { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.4; }
.pc-steps li { display: flex; align-items: flex-start; gap: 10px; }
.pc-steps li > span { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--c-navy); color: var(--c-white); font-size: 13px; font-weight: var(--fw-bold); }
.pc-note--link { color: #173F72; text-decoration: none; }
.pc-note--link:hover { color: #173F72; }
.pc-note--link strong { display: block; margin-top: 2px; font-weight: var(--fw-bold); }
.pc-flow input[type=file] { min-height: var(--touch); max-width: 100%; font: inherit; font-size: 14px; }
.pc-flow input[data-new-unit] + input[data-new-unit] { margin-top: var(--sp-1); }
.pc-flow input[hidden] { display: none; }
.qp-bar__why a { color: var(--c-orange-text); font-weight: var(--fw-bold); }
.pc-who .pc-card__kind { flex-shrink: 0; }
.qp-wordmark { display: inline-flex; align-items: center; min-height: var(--touch); }
@media (max-width: 359.98px) {
  .qp-top__inner { grid-template-columns: auto 1fr auto; }
  .qp-top__title { font-size: 15px; line-height: 1.15; }
  .qp-badge { font-size: 11px; padding-inline: 6px; white-space: nowrap; }
}

/* Block M-09: the contract fields only while the form says contract */
.pc-flow:has(input[name="purpose"][value="operation"]:checked) .pc-contract { display: none; }
.pc-purpose { min-width: 0; margin: 0; padding: 0; border: 0; }
.pc-purpose__q { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: var(--fw-semibold); }
.pc-seg { display: flex; gap: 8px; }
.pc-seg label { display: flex; flex: 1 1 0; align-items: center; justify-content: center; min-width: 0; min-height: var(--touch); padding: 8px 10px; border: 1px solid var(--c-border, #C9CFD8); border-radius: var(--r-md); background: #fff; font-size: 15px; font-weight: var(--fw-semibold); text-align: center; cursor: pointer; }
.pc-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pc-seg label:has(input:checked) { border-color: var(--c-navy); background: var(--c-navy); color: #fff; }
.pc-seg label:has(input:focus-visible) { outline: 2px solid var(--c-navy); outline-offset: 2px; }
/* Block M-18 */
.pc-reqs { display: flex; flex-direction: column; min-width: 0; margin: 0 0 var(--sp-2); padding: 0; border: 0; }
.pc-reqs legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: var(--fw-semibold); }
.pc-age { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.pc-age input { width: 96px; }
.pc-reqs:not(:has(input[name="age_on"]:checked)) .pc-age { display: none; }
