/* Five Founder’s Notes resources — adds to the existing Veyra visual system, not replaces it. */
.vf-note-asset {
  margin: 2.1rem 0 2.5rem; padding: clamp(1.35rem,3vw,2.4rem);
  border-radius: 20px; border:1px solid rgba(158,108,76,.34);
  background:linear-gradient(135deg,rgba(184,113,66,.14),rgba(230,206,181,.09));
}
.vf-note-asset h3 {font-family:inherit;font-size:clamp(1.25rem,2.2vw,1.7rem);line-height:1.2;margin:.55rem 0 .7rem;}
.vf-note-asset p {font-size:1rem;line-height:1.65;max-width:61ch;}
.vf-action,.vf-button {
  display:inline-flex;align-items:center;justify-content:center;
  padding:.79rem 1.1rem;text-decoration:none!important;
  font:600 .9rem/1.3 inherit;letter-spacing:.01em;border-radius:999px;
  border:1px solid #b26e48; background:#af6946;color:#fff!important;cursor:pointer;
  box-shadow:0 2px 8px rgba(60,28,10,.1);transition:transform .15s,background .15s;
}
.vf-action:hover,.vf-button:hover {transform:translateY(-1px);background:#915334;}
.vf-button:focus-visible,.vf-action:focus-visible,.vf-field input:focus-visible,.vf-field textarea:focus-visible {
  outline:3px solid rgba(174,112,58,.7);outline-offset:3px;
}
.vf-no-signup {font-size:.85rem;opacity:.72;letter-spacing:.03em;}
.vf-shell {
  --vf-ink:#322b27;--vf-muted:#695f58;--vf-back:#fffdf9;--vf-border:rgba(98,77,57,.22);
  background:var(--vf-back);color:var(--vf-ink);
  border-radius:22px;border:1px solid var(--vf-border);
  padding:clamp(1rem,2.5vw,2rem);margin:1.25rem 0;
  box-shadow:0 14px 38px rgba(45,28,14,.04);
}
.vf-shell *{box-sizing:border-box;}
.vf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;}
.vf-field{display:flex;flex-direction:column;gap:.32rem;min-width:0;font-family:inherit;}
.vf-field>span{font-size:.79rem;letter-spacing:.01em;font-weight:650;color:var(--vf-muted);}
.vf-field>small{font-size:.73rem;line-height:1.4;}
.vf-field input,.vf-field textarea{
  font:inherit;font-size:.92rem;line-height:1.45;min-width:0;width:100%;
  border:1px solid var(--vf-border);border-radius:10px;
  background:rgba(255,255,255,.94);color:var(--vf-ink);padding:.76rem .83rem;
}
.vf-field textarea{resize:vertical;min-height:4.2rem;}
.vf-shell .vf-field input[type=number]{font-variant-numeric:tabular-nums;}
.vf-shell .vf-hint{font-size:.83rem;line-height:1.55;color:var(--vf-muted);margin:.95rem 0;}
.vf-summary{
  display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.5rem;
  border-top:1px solid var(--vf-border);border-bottom:1px solid var(--vf-border);
  padding:1.1rem 0;margin:1.5rem 0;
}
.vf-summary strong{font-size:clamp(1.15rem,3vw,1.9rem);font-variant-numeric:tabular-nums;line-height:1.3;}
.vf-summary small{font-size:.85rem;color:var(--vf-muted);}
.vf-output{
  display:block;padding:1rem 1.1rem;white-space:pre-wrap;overflow-wrap:anywhere;
  max-height:330px;overflow:auto;line-height:1.55;font-size:.86rem;
  color:var(--vf-ink);background:rgba(209,193,167,.17);border:1px solid var(--vf-border);
  border-radius:14px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}
.vf-actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:.9rem 0 .3rem;}
.vf-secondary{color:var(--vf-ink)!important;background:transparent;border-color:var(--vf-border);box-shadow:none;}
.vf-secondary:hover{color:#fff!important;}
.vf-status{min-height:1.1rem;margin:.55rem 0 0;font-size:.83rem;color:var(--vf-muted);}
.vf-check{display:flex;align-items:flex-start;gap:.8rem;padding:.85rem .2rem;border-bottom:1px solid var(--vf-border);cursor:pointer;}
.vf-check span{font-size:.91rem;line-height:1.5;}
.vf-check input{width:18px;height:18px;accent-color:#a66441;flex:none;margin-top:.16rem;}
.vf-check:has(input:checked) span{text-decoration:line-through;opacity:.56;}
.vf-progress{display:flex;align-items:center;gap:1rem;justify-content:space-between;margin:0 0 .85rem;}
.vf-progress span{font-size:.83rem;font-weight:600;}
.vf-progress progress{accent-color:#b17549;width:34%;height:.7rem;}
.vf-line-heading,.vf-line{display:grid;grid-template-columns:1fr minmax(125px,.5fr);gap:.6rem;align-items:end;margin:.4rem 0;}
.vf-line-heading{font-size:.76rem;opacity:.7;margin:1.4rem 0 .2rem;}
.vf-line .vf-field span{font-size:.72rem;}
.vf-fieldset{border:0;padding:1.4rem 0;margin:1.3rem 0;border-top:1px solid var(--vf-border);}
.vf-fieldset legend{font-size:1.03rem;font-weight:700;padding:.3rem .5rem .3rem 0;}
.vf-fieldset .vf-field{margin:.6rem 0 1.15rem;}
.vf-fieldset .vf-field span{font-size:.89rem;line-height:1.45;color:var(--vf-ink);}
.vf-shell details summary{cursor:pointer;}
html[data-theme="dark"] .vf-shell,body.theme-dark .vf-shell,body[data-theme="dark"] .vf-shell{
  --vf-ink:#f0eae3;--vf-muted:#c3b7ae;--vf-back:#211d1a;--vf-border:rgba(246,222,191,.22);
}
html[data-theme="dark"] .vf-field input,html[data-theme="dark"] .vf-field textarea,
body.theme-dark .vf-field input,body.theme-dark .vf-field textarea {
  background:#302922;color:#f0eae3;
}
@media (max-width:650px){
 .vf-grid{grid-template-columns:1fr;}
 .vf-line,.vf-line-heading{grid-template-columns:1fr 115px;}
 .vf-shell{padding:1rem;border-radius:16px;}
 .vf-button{font-size:.84rem;}
}
