/* Remaining original V2 user flows, premium executive visual parity.
 * Presentational only: original form names, routes, roles, money and approvals
 * retain server authority. Scope to opt-in templates, not global app chrome.
 */
.vf-exec-finish {
  --vf-ink:#0C203A;--vf-mint:#55DEBD;--vf-paper:#F3F7FB;
  --vf-line:#D8E5F0;--vf-text:#1C415D;
  max-width:1100px;min-width:0;margin-inline:auto;
  color:var(--vf-text);
}
.vf-exec-finish .page-head{
  position:relative;isolation:isolate;overflow:hidden;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:18px;margin:0 0 20px;
  padding:clamp(23px,3.5vw,36px);
  border:1px solid #345775;border-radius:23px;
  background:linear-gradient(128deg,var(--vf-ink),#173D60 70%,#103D54);
  box-shadow:0 16px 35px rgba(12,32,58,.14);
}
.vf-exec-finish .page-head::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  width:280px;height:280px;right:-115px;top:-125px;border-radius:50%;
  background:radial-gradient(circle,rgba(85,222,189,.15),transparent 72%);
}
.vf-exec-finish .page-head .eyebrow,
.vf-exec-finish .page-head .muted{color:#B8EADF}
.vf-exec-finish .page-head .eyebrow{
  display:inline-block;font-size:11px;letter-spacing:.11em;
  font-weight:850;text-transform:uppercase;
}
.vf-exec-finish .page-head h1{
  font-size:clamp(27px,4.5vw,43px);letter-spacing:-.04em;
  line-height:1.12;margin:10px 0;color:#FFF;
  overflow-wrap:anywhere;
}
.vf-exec-finish .page-head p{
  color:#D6E5F1;line-height:1.65;margin:8px 0 0;
  max-width:65ch;overflow-wrap:anywhere;
}
.vf-exec-finish .page-head a.button.secondary{
  border:1px solid #698CA5;background:#284F6C;color:#FFF!important;
  border-radius:12px;min-height:44px;display:inline-flex;
  align-items:center;justify-content:center;text-align:center;
}
.vf-exec-finish .panel,
.vf-exec-finish .form-card{
  max-width:100%;min-width:0;border:1px solid var(--vf-line);
  background:#FFFFFF;border-radius:20px;
  box-shadow:0 8px 27px rgba(18,48,76,.05);
  padding:clamp(17px,2.8vw,27px);
  margin-bottom:17px;overflow-wrap:anywhere;
}
.vf-exec-finish .panel h2,
.vf-exec-finish .form-card h2{
  color:#173954;font-size:clamp(18px,2.5vw,23px);
  letter-spacing:-.02em;
}
.vf-exec-finish .form-card > .eyebrow,
.vf-exec-finish .panel > .eyebrow{
  color:#157C70;text-transform:uppercase;letter-spacing:.085em;
}
.vf-exec-finish .form-grid,
.vf-exec-finish .grid-2{min-width:0;gap:14px;}
.vf-exec-finish label{
  color:#244866;font-size:13px;font-weight:780;
  line-height:1.45;max-width:100%;overflow-wrap:anywhere;
}
.vf-exec-finish input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
.vf-exec-finish textarea,
.vf-exec-finish select{
  max-width:100%;min-width:0;box-sizing:border-box;
  border:1px solid #C6D9E7;border-radius:11px;
  background:#FBFDFF;color:#173A57;
  min-height:45px;font:inherit;font-size:15px;
  padding:10px 12px;
}
.vf-exec-finish input[type=checkbox],
.vf-exec-finish input[type=radio]{
  width:18px;height:18px;vertical-align:middle;
  accent-color:#157F71;margin-inline-end:8px;
}
.vf-exec-finish input[type=file]{font-size:13px}
.vf-exec-finish .button{
  min-height:44px;border-radius:11px;
  font-weight:800;max-width:100%;white-space:normal;
  text-align:center;overflow-wrap:anywhere;
}
.vf-exec-finish .button:not(.secondary){
  background:#157D71;color:#FFFFFF;border:1px solid #157D71;
}
.vf-exec-finish .button.secondary{
  background:#E9F1F8;border:1px solid #C8D9E8;color:#1C577C;
}
.vf-exec-finish .page-head a.button.secondary{
  background:#284F6C;color:#FFFFFF;border-color:#698CA5;
}
.vf-exec-finish input:focus-visible,
.vf-exec-finish textarea:focus-visible,
.vf-exec-finish select:focus-visible,
.vf-exec-finish button:focus-visible,
.vf-exec-finish a:focus-visible,
.vf-exec-finish summary:focus-visible{
  outline:3px solid #39AFC0;outline-offset:3px;
}
.vf-exec-finish .panel details,
.vf-exec-finish .form-card details{
  border:1px solid #E1EAF3;background:#F8FBFF;
  border-radius:12px;padding:12px 15px;margin-block:10px;
  overflow-wrap:anywhere;
}
.vf-exec-finish details summary{
  cursor:pointer;min-height:36px;color:#244563;font-weight:740;
}
.vf-exec-finish pre.audit-json{
  white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;
  max-width:100%;background:#EFF5FB;border-radius:11px;
  padding:12px;color:#173C5A;font-size:12px;
}
.vf-exec-finish .invoice-document-actions,
.vf-exec-finish .actions{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
}
.vf-exec-finish .form-card .invoice-document-actions{
  border-top:1px solid #E3EDF5;padding-top:14px;
}
.vf-exec-finish .project-choice{
  border:1px solid #DFEAF3;border-left:4px solid #55DEBD;
  background:#F7FAFD;border-radius:13px;margin:8px 0;
  min-height:57px;padding:13px;display:flex;
  justify-content:space-between;align-items:center;gap:12px;
  text-decoration:none;
}
.vf-exec-finish .project-choice:hover{background:#EDF8F6}
.vf-exec-finish .project-choice strong{color:#163A57}
.vf-exec-finish .project-choice small{display:block;color:#537087}
.vf-exec-finish .site-job-strip{
  border:1px solid #D9E7F0;border-radius:14px;
  background:#F2F8FC;
}
.vf-exec-finish-auth{
  margin:clamp(10px,4vw,35px) auto;padding:clamp(22px,4vw,34px);
  max-width:730px;min-width:0;border:1px solid #D6E4EF;
  border-top:6px solid #55DEBD;border-radius:22px;
  background:#FFFFFF;box-shadow:0 13px 36px rgba(13,40,72,.08);
}
.vf-exec-finish-auth > .eyebrow{
  color:#157F70;font-size:11px;font-weight:850;letter-spacing:.11em;
}
.vf-exec-finish-auth > h1{
  color:#0C203A;font-size:clamp(28px,4vw,38px);
  line-height:1.16;letter-spacing:-.035em;
}
.vf-exec-finish-auth > p{color:#476780;line-height:1.65}
.vf-exec-finish-auth form{min-width:0}
.vf-exec-finish .form-card table{max-width:100%}
.vf-exec-finish .form-card .table-wrap{overflow-x:auto;max-width:100%}
@media(max-width:650px){
  .vf-exec-finish .page-head{padding:22px 17px;border-radius:19px}
  .vf-exec-finish .panel,.vf-exec-finish .form-card{
    padding:16px;border-radius:17px;
  }
  .vf-exec-finish .page-head > *{min-width:0}
  .vf-exec-finish .page-head a.button.secondary{width:100%}
  .vf-exec-finish .grid-2,
  .vf-exec-finish .form-grid{grid-template-columns:minmax(0,1fr)}
  .vf-exec-finish .project-choice{align-items:flex-start;flex-direction:column}
  .vf-exec-finish-auth{padding:20px 16px;border-radius:18px}
}
@media(prefers-reduced-motion:reduce){
 .vf-exec-finish *{scroll-behavior:auto;transition:none!important}
}
.vf-exec-finish-legal{
 padding:clamp(20px,3.5vw,34px);border-radius:22px;
 border:1px solid #D8E5F0;border-top:6px solid #55DEBD;
 background:#fff;box-shadow:0 12px 32px rgba(12,32,58,.07);
 line-height:1.75;
}
.vf-exec-finish-legal h1{color:#0C203A;line-height:1.15;letter-spacing:-.035em;font-size:clamp(26px,4vw,37px)}
.vf-exec-finish-legal h2{color:#173D5C;font-size:clamp(18px,2.5vw,23px);border-top:1px solid #DCE7F1;padding-top:19px;margin-top:25px}
.vf-exec-finish-legal .eyebrow{color:#157C70;font-weight:830;letter-spacing:.1em}
.vf-exec-finish-legal a{color:#176D92;overflow-wrap:anywhere}
.vf-exec-finish-legal li{margin-block:7px}
.vf-exec-finish-legal .vf-account-closure-receipt dd{overflow-wrap:anywhere}

/* V2 premium auth card: the original public body rule has greater specificity
 * than .vf-exec-finish-auth and otherwise washes out its mint top accent.
 * Presentation only; preserve existing form, captcha and OTP state. */
.vf-auth-page .auth-card.vf-exec-finish-auth{border-top-color:#55DEBD}

/* Accessible administrator auth guidance. Keep all POST and role verification on the original server. */
.vf-exec-finish-auth .vf-exec-auth-help{
 color:#476780;font-size:14px;line-height:1.65;margin:0 0 19px;
}
.vf-exec-finish-auth .vf-exec-auth-back{margin:17px 0 0}
.vf-exec-finish-auth .vf-exec-auth-back a{
 display:inline-flex;align-items:center;min-height:44px;
 color:#176D92;text-decoration:underline;text-underline-offset:3px;
 font-size:14px;line-height:20px;font-weight:750;
}
@media(max-width:650px){
 .vf-exec-finish.vf-exec-finish-auth input:not([type=hidden]):not([type=checkbox]):not([type=radio]){
  font-size:16px;
 }
}

/* Show the complete selected record even when a native select clips its label. */
.vf-exec-finish-accounting-invoices .vf-selected-record,
.vf-exec-finish-project-cost-edit .vf-selected-record {
  max-width: 100%;
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 3px solid #147D73;
  background: #F0F7F8;
  color: #173B59;
  white-space: normal;
  overflow-wrap: anywhere;
}
.vf-exec-finish-project-cost-edit .vf-selected-record:not([hidden]) {
  display: block;
  margin: 8px 0 0;
}
