/* Request workflow: restrained layout, legible forms and one primary action. */
[hidden]{display:none!important}
.flow{max-width:1160px;margin:32px auto 64px;padding:0 8px}
.flow-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 28px;flex-wrap:wrap}
.flow h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.035em;margin:8px 0}
.flow h2{font-size:21px;margin:0 0 18px}.flow h3{font-size:17px;margin:0 0 8px}
.flow p{margin:6px 0 16px}.flow .eyebrow{font-size:12px;font-weight:600;color:var(--gris);letter-spacing:.08em;text-transform:uppercase}
.flow-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:36px;align-items:start}
.flow-grid>*{min-width:0}.flow-main{min-width:0}
.flow-section{padding:26px 0;border-top:1px solid var(--linea)}
.flow-section:first-child{padding-top:0;border-top:0}
.flow-aside{padding:22px;background:#f6f7f8;border-radius:8px;position:sticky;top:160px}
.flow-aside ol{padding-left:20px;margin:16px 0}.flow-aside li{padding:6px 0}
.flow-aside .btn{margin-top:12px}
.flow-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.flow-fields .full{grid-column:1/-1}.flow .f{margin:0 0 18px}.flow-fields .f{margin:0}
.flow input:not([type=checkbox]):not([type=radio]),.flow select,.flow textarea{width:100%;min-width:0;box-sizing:border-box;min-height:46px;font-size:15px;background:white}
.flow textarea{min-height:105px;resize:vertical}.flow input[type=file]{padding:10px;font-size:13px}
.flow input[type=checkbox],.flow input[type=radio]{width:18px;height:18px;flex:none;accent-color:var(--naranja)}
.flow label{line-height:1.5}.flow label small{font-weight:400;color:var(--gris)}
.flow .checkline{display:flex;gap:10px;align-items:flex-start;font-size:14px;margin:12px 0}
.flow .checkline input{margin-top:3px}.flow .btn{min-height:44px;white-space:normal;text-align:center}
.flow-extra{border-top:1px solid var(--linea);padding:16px 0;margin-top:8px}
.flow-extra summary{cursor:pointer;font-weight:600;font-size:14px;padding:4px 0}.flow-extra[open] summary{margin-bottom:18px}
.flow-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px}
.flow-actions .helper{font-size:12px;color:var(--gris)}
.flow-error{color:#a52222;font-size:13px;margin:6px 0 0;display:block}.flow-error:empty{display:none}
.flow [aria-invalid=true]{border-color:#b42318!important;box-shadow:none}
.flow-notice{padding:12px 15px;background:#f5f6f7;border-left:3px solid #718096;font-size:13px;margin:16px 0;color:#465368}
.flow-note{font-size:12px;color:#64748b;margin:16px 0;line-height:1.6}
.flow-tabs{display:flex;gap:22px;border-bottom:1px solid var(--linea);margin-bottom:20px;overflow:auto}
.flow-tabs button{font:inherit;padding:12px 0;border:0;border-bottom:2px solid transparent;background:none;cursor:pointer;white-space:nowrap;color:var(--gris)}
.flow-tabs button[aria-selected=true]{border-color:var(--naranja);color:var(--tinta);font-weight:600}
.flow-toolbar{display:flex;gap:12px;margin:16px 0;align-items:center}.flow-toolbar input{flex:1}.flow-toolbar select{max-width:220px}
.request-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:22px 0;border-bottom:1px solid var(--linea);align-items:center}
.request-row h3 a{color:var(--tinta)}.request-row h3 a:hover{color:var(--naranja-osc)}
.request-row p{margin:5px 0;font-size:13px;color:var(--gris)}
.request-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--gris);margin-bottom:7px}
.status{display:inline-block;font-size:12px;line-height:1.5;padding:3px 8px;border-radius:4px;background:#f0f2f4;color:#57616d}.status.open{background:#eaf5ee;color:#236240}.status.expired{background:#f7eee3;color:#805218}
.status.provider-new{background:#fff1e8;color:#b83d00}.status.provider-viewed{background:#eef1f4;color:#465368}.status.provider-responded{background:#eaf5ee;color:#236240}
.flow-empty{text-align:center;padding:52px 24px;background:#fafbfc}.flow-empty .i{width:44px;height:44px;color:var(--gris);margin-bottom:12px}
.flow-empty h2{margin:0 0 8px}.flow-empty p{color:var(--gris)}
.request-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.request-facts dt{font-size:12px;color:var(--gris);margin-bottom:4px}.request-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.request-item{display:grid;grid-template-columns:minmax(220px,1fr) 90px 110px minmax(190px,.7fr) 44px;gap:12px;padding:18px 0;align-items:end;border-bottom:1px solid var(--linea)}
.request-item .f{margin:0}.request-item img{width:56px;height:56px;object-fit:contain}
.flow-routing{margin-top:30px;padding-top:26px;border-top:1px solid var(--linea)}.flow-routing>.f{max-width:480px}.routing-summary{background:#f3f4f5;padding:16px 18px;border-radius:8px;margin-top:16px}.routing-summary p{font-size:13px;color:var(--gris);margin:5px 0 12px}.routing-chips{display:flex;gap:8px;flex-wrap:wrap}.routing-chip{background:#fff;padding:6px 10px;border-radius:999px;font-size:12px;color:#465368}
.proposal{padding:22px;border:1px solid var(--linea);border-radius:8px;margin:14px 0}.proposal-top{display:flex;gap:18px;justify-content:space-between;flex-wrap:wrap}.proposal strong.amount{font-size:24px;white-space:nowrap}.proposal p{white-space:pre-wrap;overflow-wrap:anywhere}
.flow-progress{display:flex;gap:12px;align-items:center;font-size:13px;color:var(--gris);margin-bottom:28px}.flow-progress b{color:var(--tinta)}
.flow .split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.flow .metric{padding:18px 0;border-top:1px solid var(--linea)}.flow .metric strong{display:block;font-size:26px}
.flow-alert{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:18px 22px;background:#f5f6f7;border-radius:8px;margin:0 0 22px}.flow-alert>div{display:flex;align-items:center;gap:10px;font-size:15px}.flow-alert .i{width:20px;height:20px;color:var(--naranja)}.flow-alert .btn{min-height:40px}
.request-mail{display:flex;align-items:flex-start;gap:7px;font-size:13px;color:var(--gris);margin:8px 0 0}.request-mail .i{width:15px;height:15px;flex:none;margin-top:2px}.request-mail b{font-weight:500;color:var(--tinta-2)}.flow-aside .request-mail{margin:12px 0 6px}
.proposal .btn{margin-top:10px}.proposal.chosen{border-color:#236240}.proposal h3 .status{margin-left:8px;vertical-align:middle}
@media(max-width:560px){.flow-alert .btn{width:100%}}
.flow .provider-option{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f3}.flow .provider-option span{display:grid;gap:2px}.flow .provider-option small{color:var(--gris);line-height:1.35}
.flow-success{padding:32px 0}.flow-success>.i{width:48px;height:48px;color:#26804c;margin-bottom:16px}
.flow-back{font-size:13px;color:var(--gris);display:inline-flex;align-items:center;gap:6px;margin-bottom:10px}
.flow dialog{width:min(520px,calc(100% - 32px));border:0;border-radius:12px;padding:28px;box-sizing:border-box}.flow dialog::backdrop{background:#17202c88}
body .sug[hidden]{display:none!important}
.support-link{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer;margin-right:20px;padding:8px 0}.support-block{border-top:1px solid var(--linea);padding-top:24px!important}
body input,body select,body textarea{max-width:100%}body dialog:not([open]){display:none!important}
body .f>label{line-height:1.5}body form .f+.f{margin-top:16px}
body .flow form .f+.f{margin-top:0}
@media(max-width:560px){body form input:not([type=checkbox]):not([type=radio]),body form select,body form textarea{font-size:16px;min-height:44px}body .cont{padding:24px 16px 64px!important}body .cont .pg-h{gap:16px}body .cont .pg-h .acts{flex-wrap:wrap}body .cont .pg-h .acts .btn{white-space:normal}}
.cont{min-width:0}.cont>.flow{max-width:1100px;margin-top:6px}
@media(max-width:900px){.flow-grid{grid-template-columns:1fr;gap:28px}.flow-aside{position:static}.flow{margin-top:24px}.request-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.request-item{grid-template-columns:minmax(0,1fr) 100px 44px}.request-item>.f:first-child,.request-item .item-sector{grid-column:1/-1}}
@media(max-width:560px){.flow{padding:0;margin-bottom:40px}.flow-head{margin-bottom:22px}.flow-fields,.flow .split{grid-template-columns:1fr}.flow-fields .full{grid-column:auto}.flow-section{padding:22px 0}.request-row{grid-template-columns:1fr}.request-row>.btn{justify-self:start}.flow-toolbar{flex-wrap:wrap}.flow-toolbar select{max-width:none}.request-item{grid-template-columns:minmax(0,1fr) 92px 44px}.flow-actions>.btn{width:100%}.request-facts{gap:14px}.flow-progress{font-size:12px;gap:8px}.proposal{padding:18px}.flow-aside{padding:18px}.flow input,.flow select,.flow textarea{font-size:16px!important}}

.future-plans>summary{padding:20px 0;border-top:1px solid #dbe1e7;border-bottom:1px solid #dbe1e7;cursor:pointer;font-weight:600}.future-plans[open]>summary{margin-bottom:24px}.future-plans .sec{margin-top:44px}

.flow #recipients fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:240px;overflow-y:auto;gap:4px 18px}.flow #recipients legend{padding-bottom:12px}.flow #recipients .provider-option{padding:8px 0}.flow input,.flow select,.flow textarea{scroll-margin-top:200px}@media(max-width:560px){.flow #recipients fieldset{grid-template-columns:1fr;max-height:220px}}
