.ui19-progress{margin:12px 0;padding:12px;background:#f3f7fa;border-radius:12px}.ui19-progress progress{display:block;width:100%;height:13px;margin:8px 0;accent-color:#0b2f4f}.ui19-progress p{margin:6px 0;font-size:14px}.ui19-progress small{color:#667085}.ui19-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:12px 0}.ui19-value>div:first-child{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px}.ui19-value strong{color:#0b2f4f}.ui19-value small{color:#667085}.ui19-track{height:8px;background:#e3e8ee;border-radius:8px;overflow:hidden;margin-top:7px}.ui19-track span{display:block;height:100%;background:#174c74}.ui19-track .negative{background:#b42318}.ui19-project-link{width:100%;text-align:left;cursor:pointer}.ui19-project-link:hover{border-color:#174c74}.ui19-project-link:focus-visible{outline:3px solid #f4b223}.content2{padding-bottom:calc(90px + env(safe-area-inset-bottom))}.topact{flex-wrap:wrap}.top{min-height:68px;height:auto}.topact .btn{min-height:40px}
@media(max-width:760px){.ui19-comparison{grid-template-columns:1fr}.top .route3-approved{min-width:110px}.topact{gap:4px}.topact .btn{font-size:12px;padding:7px}.top{min-height:68px}.content2{padding-bottom:calc(100px + env(safe-area-inset-bottom))}}
/* Stable capture controls: input and analysis state never change their geometry. */
.capture-shell .capture-actions,.capture-shell.has-input .capture-actions,.capture-shell.has-analysis .capture-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 0;margin:0;overflow:visible}.capture-shell .capture-action,.capture-shell.has-input .capture-action,.capture-shell.has-analysis .capture-action{min-width:0;min-height:90px;padding:12px 8px;border-radius:14px;text-align:left;display:flex;flex-direction:column;gap:6px}.capture-shell .capture-action b,.capture-shell.has-input .capture-action b{font-size:14px}.capture-shell .capture-action span,.capture-shell.has-input .capture-action span{display:block;font-size:11px}.capture-shell .capture-action svg{width:24px;height:24px;flex-shrink:0}.capture-shell .capture-intro,.capture-shell.has-input .capture-intro,.capture-shell.has-analysis .capture-intro{display:flex;padding:15px 18px}.capture-shell .capture-intro h2,.capture-shell.has-input .capture-intro h2,.capture-shell.has-analysis .capture-intro h2{font-size:22px;margin:4px 0}.capture-shell .capture-actions{order:0}.capture-shell .conversation-card{display:flex;flex-direction:column}.capture-shell .draft-toolbar{order:-2}.capture-shell .capture-actions{order:-1}
@media(max-width:760px){.capture-shell .capture-actions,.capture-shell.has-input .capture-actions,.capture-shell.has-analysis .capture-actions{grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.capture-shell .capture-action,.capture-shell.has-input .capture-action{padding:8px 3px;min-height:68px;align-items:center;text-align:center}.capture-shell .capture-action b,.capture-shell.has-input .capture-action b{font-size:11px}.capture-shell .capture-action span,.capture-shell.has-input .capture-action span{display:none}.capture-shell .capture-intro h2,.capture-shell.has-input .capture-intro h2{font-size:18px}.capture-shell.has-input .ai-live{display:inline-block}}
html{scrollbar-gutter:stable}

.capture-shell .capture-action span{color:#516579}.ui19-comparison+.tiny{color:#516579}

.ui19-edit{margin-top:12px;border-top:1px solid #e3e8ee;padding-top:12px}.ui19-edit>summary{cursor:pointer;color:#0b2f4f;font-weight:700;padding:12px 0;min-height:44px}.ui19-edit[open]>summary{margin-bottom:12px}.ui19-brief h3{font-size:20px;margin-top:8px}.ui19-brief .ey{color:#8b5e00}

/* Role navigation: explicit hidden must win over the shared flex button rule. */
.bottom2 button[hidden]{display:none!important}


/* UXV-09: keep recurring sign-in controls within the first mobile screen. */
@media(max-width:760px){
 .auth{gap:12px;padding-top:8px}.auth .hero{padding:14px 18px}.auth .hero-brand{margin:0 0 8px}.auth .hero-brand img{max-height:70px;width:auto;max-width:100%}.auth .hero h1{font-size:24px;margin:6px 0}.auth .hero p{font-size:14px;margin:8px 0}.auth .route{display:none}.auth>.card{padding:16px}.auth .card h2{margin:8px 0}.auth .card .lead{margin:6px 0}.auth .card label{margin-top:10px}
}
[data-campo-section],.card.section,#targetDateEdit{scroll-margin-top:var(--2h-header-offset,100px)}

/* Readable navigation over the existing UI-19 identity. */
.steps .step{min-height:44px;font-size:14px;line-height:1.3;color:var(--2h-muted,#5F6F7F);cursor:pointer}.step:focus-visible{outline:3px solid var(--2h-gold-500,#F7B500);outline-offset:2px}.step.active{color:#7E5600}.step.done{color:#067647}
.tiny{color:var(--2h-muted,#5F6F7F)}
.qitem{grid-template-columns:minmax(0,1.7fr) minmax(0,.5fr) minmax(0,.6fr) minmax(0,.9fr) minmax(140px,1fr)}.qitem .remove{min-height:44px;height:auto;min-width:140px;padding:10px;font-size:14px;line-height:1.25}
@media(max-width:760px){.qitem{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.qitem .remove{grid-column:1/-1}.steps{grid-template-columns:repeat(3,minmax(0,1fr))}.steps .step{font-size:13px}}

/* R7-04: retain the UI-19 hero while leaving breathing room at 360×800. */
@media(max-width:380px){.auth .hero{padding-block:10px}.auth .card .lead{margin-block:4px}}
/* UXU-20 and ANT-01: existing secondary ink over inactive tab canvas. */
.auth .tab:not(.active){color:var(--2h-muted,#5F6F7F)}
.admin-job[hidden]{display:none!important}fieldset{min-width:0;border:1px solid var(--2h-line,#D6E0E7);border-radius:10px}
[data-unsaved="true"]>details>summary::after{content:" · Borrador local";font-weight:600}

/* D3: monetary entries remain visibly editable on touch screens. */
.qitem input{border:2px solid #8b9dab;background:#fff;min-height:46px;padding:10px;border-radius:8px;width:100%;box-sizing:border-box}.qitem input:focus{outline:3px solid #e2b44b;outline-offset:2px}.qitem small{display:block;line-height:1.5}
#manualProposalLink input{width:100%;min-height:48px;box-sizing:border-box}

/* AR-09: focus for navigation headings differs from an editable control. */
[data-navigation-focus]:focus{outline:none;text-decoration:underline;text-decoration-color:#b78b28;text-underline-offset:6px}
.steps .step[aria-current="step"]{border-bottom:3px solid #b78b28;font-weight:800}
