/* V1 editorial system — Samuel entre mundos (dedicated family, NOT the
   Manecillas book skin). Signature: threshold / two typographic registers /
   technical ledger / review stream. Ported from lab/diseno-home-v1/css/samuel.css.
   No fantasy skin, glow, mosaic or dependency on decorative media. */
html.v1 .samuel-page{max-width:var(--layout-max);margin-inline:auto;padding:0 var(--page-gutter) clamp(6rem,10vw,10rem)}
html.v1 .samuel-threshold{position:relative;display:grid;grid-template-columns:minmax(16rem,.72fr) minmax(0,1.28fr);gap:clamp(2rem,7vw,9rem);align-items:center;min-height:min(74rem,calc(100svh - 5rem));padding:clamp(3rem,7vw,7rem) 0;border-bottom:1px solid var(--color-border)}
html.v1 .samuel-threshold::before{content:"";position:absolute;top:0;bottom:0;left:calc(36% + 1rem);width:1px;background:var(--color-border);pointer-events:none}
html.v1 .samuel-threshold__object{align-self:stretch;display:grid;align-content:center;justify-items:start;position:relative;z-index:1}
html.v1 .samuel-object{display:block;margin:clamp(1.25rem,4vw,3.5rem) 0 1rem;width:min(100%,25rem)}
html.v1 .samuel-object img{display:block;width:100%;height:auto;filter:none}
html.v1 .samuel-object__caption{max-width:25rem;margin:0;color:var(--color-muted);font:600 .72rem/1.45 var(--font-ui);letter-spacing:.05em}
html.v1 .samuel-threshold__copy{position:relative;z-index:1;padding-block:clamp(2rem,5vw,5rem)}
html.v1 .samuel-actions{display:flex;align-items:center;gap:1.25rem;margin:0 0 1.5rem;flex-wrap:wrap}
html.v1 .samuel-hook{max-width:44ch;margin:0 0 2rem;font:400 .92rem/1.6 var(--font-ui);color:var(--color-muted)}
html.v1 .samuel-hook a{color:inherit}
html.v1 .samuel-threshold h1{max-width:9ch;margin:.5rem 0 1.2rem;font:400 var(--text-hero)/.84 var(--font-display);letter-spacing:-.04em;text-wrap:balance}
html.v1 .samuel-lead{max-width:32ch;margin:0 0 2rem;font:400 clamp(1.25rem,1rem + .9vw,2rem)/1.28 var(--font-reading)}
html.v1 .samuel-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:34rem;margin:0 0 2rem;border-top:1px solid var(--color-border)}
html.v1 .samuel-facts div{display:grid;grid-template-columns:1fr auto;gap:1rem;padding:.72rem 0;border-bottom:1px solid var(--color-border)}
html.v1 .samuel-facts div:nth-child(odd){padding-right:1rem}html.v1 .samuel-facts div:nth-child(even){padding-left:1rem;border-left:1px solid var(--color-border)}
html.v1 .samuel-facts dt{font:600 .7rem/1.2 var(--font-ui);letter-spacing:.09em;text-transform:uppercase;color:var(--color-muted)}
html.v1 .samuel-facts dd{margin:0;font:500 .84rem/1.2 var(--font-ui)}
html.v1 .samuel-threshold__route{position:absolute;right:0;bottom:1rem;display:grid;grid-template-columns:2rem auto;gap:.12rem .6rem;text-decoration:none;font-family:var(--font-ui)}
html.v1 .samuel-threshold__route span{grid-row:1/3;font-size:.7rem;color:var(--color-muted)}html.v1 .samuel-threshold__route strong{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}html.v1 .samuel-threshold__route small{font-size:.72rem;color:var(--color-muted)}
html.v1 .samuel-section{padding:clamp(4rem,8vw,8rem) 0;border-bottom:1px solid var(--color-border)}
html.v1 .samuel-section__head{display:grid;grid-template-columns:minmax(7rem,.28fr) minmax(0,1.72fr);gap:clamp(1.25rem,5vw,5rem);margin-bottom:clamp(2.5rem,5vw,5rem)}
html.v1 .samuel-section__head h2{max-width:15ch;margin:.4rem 0 0;font:400 var(--text-4xl)/.94 var(--font-display);letter-spacing:-.03em}
html.v1 .samuel-register__split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(15rem,.55fr);gap:clamp(2rem,7vw,8rem);align-items:start}
html.v1 .samuel-register__prose{max-width:68ch;font:400 clamp(1.04rem,1rem + .2vw,1.2rem)/1.76 var(--font-reading)}
html.v1 .samuel-register__prose figure{margin:1.8rem 0}
html.v1 .samuel-register__prose figure img{display:block;width:100%;height:auto;border:1px solid var(--color-border)}
html.v1 .samuel-register__prose figcaption{margin-top:.6rem;font:500 .78rem/1.4 var(--font-ui);color:var(--color-muted)}
html.v1 .samuel-ledger{margin:0;border-top:1px solid var(--color-border)}
html.v1 .samuel-ledger div{display:grid;grid-template-columns:minmax(7rem,.45fr) minmax(0,1fr);gap:1rem;padding:.9rem 0;border-bottom:1px solid var(--color-border)}
html.v1 .samuel-ledger dt{font:600 .69rem/1.3 var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--color-muted)}html.v1 .samuel-ledger dd{margin:0;font:500 .95rem/1.35 var(--font-reading)}
html.v1 .samuel-ledger--wide{max-width:72rem}html.v1 .samuel-ledger--wide div{grid-template-columns:minmax(10rem,.35fr) minmax(0,1.65fr)}
html.v1 .samuel-fit__split{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}
html.v1 .samuel-fit__split>div{padding:clamp(1.5rem,4vw,3rem) clamp(1.5rem,4vw,4rem) clamp(1.5rem,4vw,3rem) 0}html.v1 .samuel-fit__split>div+div{padding-left:clamp(1.5rem,4vw,4rem);border-left:1px solid var(--color-border)}
html.v1 .samuel-fit h3{margin:0 0 1.25rem;font:500 var(--text-2xl)/1 var(--font-display)}html.v1 .samuel-fit ul{margin:0;padding-left:1.2rem;font:400 1rem/1.65 var(--font-reading)}
html.v1 .samuel-route-list,html.v1 .samuel-mechanics__ledger{list-style:none;margin:0;padding:0;border-top:1px solid var(--color-border)}
html.v1 .samuel-route-list li{display:grid;grid-template-columns:3rem minmax(0,1fr) auto;gap:1.25rem;padding:1.2rem 0;border-bottom:1px solid var(--color-border);align-items:baseline}html.v1 .samuel-route-list li>span{font:600 .7rem/1 var(--font-ui);color:var(--color-muted)}html.v1 .samuel-route-list strong{font:400 clamp(1.15rem,1rem + .5vw,1.55rem)/1.1 var(--font-display)}html.v1 .samuel-route-list p{margin:.35rem 0 0;color:var(--color-muted)}
html.v1 .samuel-mechanics__ledger li{display:grid;grid-template-columns:3rem minmax(10rem,.55fr) minmax(0,1.45fr);gap:clamp(1rem,4vw,4rem);padding:1.4rem 0;border-bottom:1px solid var(--color-border);align-items:start}html.v1 .samuel-mechanics__ledger li>span{font:600 .7rem/1 var(--font-ui);color:var(--color-muted)}html.v1 .samuel-mechanics__ledger h3{margin:0;font:400 clamp(1.2rem,1rem + .6vw,1.65rem)/1.05 var(--font-display)}html.v1 .samuel-mechanics__ledger p{margin:0;max-width:58ch;font-family:var(--font-reading);line-height:1.6}
html.v1 .samuel-proof__contract,html.v1 .samuel-functional-contract{max-width:66rem;padding:clamp(1.5rem,4vw,3rem) 0;border-top:2px solid var(--color-text);border-bottom:1px solid var(--color-border);font:400 1.05rem/1.65 var(--font-reading)}
html.v1 .samuel-proof__contract{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2rem;align-items:end}html.v1 .samuel-proof__contract p{margin:0}
html.v1 .samuel-proof__stream{margin:2.5rem 0 0;padding:0;list-style:none;border-top:1px solid var(--color-border)}
html.v1 .samuel-proof__stream li{padding:1.6rem 0;border-bottom:1px solid var(--color-border);display:grid;grid-template-columns:3rem minmax(0,1fr);gap:1rem}
html.v1 .samuel-proof__stream .folio{padding-top:.15rem}
html.v1 .samuel-proof__stream blockquote{margin:0;font:400 clamp(1.05rem,1rem + .25vw,1.28rem)/1.6 var(--font-reading)}
html.v1 .samuel-proof__stream cite{display:block;margin-top:.6rem;font:600 .78rem/1.3 var(--font-ui);font-style:normal;letter-spacing:.03em;color:var(--color-muted)}
html.v1 .samuel-narrow{max-width:68ch;font:400 1.05rem/1.72 var(--font-reading)}
html.v1 .samuel-world__split{display:grid;grid-template-columns:minmax(0,1.3fr) auto;gap:clamp(2rem,5vw,5rem);align-items:end;padding:clamp(1.5rem,4vw,3rem) 0;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}html.v1 .samuel-world__split p{max-width:58ch;margin:0;font:400 clamp(1.1rem,1rem + .35vw,1.4rem)/1.5 var(--font-reading)}
html.v1 .samuel-comparables{width:100%;border-collapse:collapse;margin-top:1.5rem;font:400 .95rem/1.5 var(--font-reading)}
html.v1 .samuel-comparables th,html.v1 .samuel-comparables td{text-align:left;padding:.85rem 1rem .85rem 0;border-bottom:1px solid var(--color-border);vertical-align:top}
html.v1 .samuel-comparables th{font:600 .7rem/1.2 var(--font-ui);letter-spacing:.08em;text-transform:uppercase;color:var(--color-muted)}
html.v1 .samuel-faq{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:1rem}
html.v1 .samuel-faq details{border-top:1px solid var(--color-border);padding:1.1rem 0}
html.v1 .samuel-faq details:last-child{border-bottom:1px solid var(--color-border)}
html.v1 .samuel-faq summary{cursor:pointer;font:400 1.02rem/1.3 var(--font-display);list-style:none;display:flex;justify-content:space-between;gap:1rem;align-items:baseline}
html.v1 .samuel-faq summary::-webkit-details-marker{display:none}
html.v1 .samuel-faq summary::after{content:"+";color:var(--color-muted);font-family:var(--font-ui);font-weight:400;flex:0 0 auto}
html.v1 .samuel-faq details[open] summary::after{content:"–"}
html.v1 .samuel-faq details p{margin:.85rem 0 0;color:var(--color-muted);font-family:var(--font-reading);font-size:1rem;line-height:1.6}
@media(max-width:900px){html.v1 .samuel-threshold{grid-template-columns:minmax(0,1fr);min-height:0}html.v1 .samuel-threshold::before{left:0;right:0;top:48%;bottom:auto;width:auto;height:1px}html.v1 .samuel-threshold__object{min-height:36svh;align-content:end;justify-items:center}html.v1 .samuel-threshold__copy{padding-top:3rem}html.v1 .samuel-object{width:min(100%,16rem)}html.v1 .samuel-object__caption{max-width:none;overflow-wrap:anywhere}html.v1 .samuel-threshold h1{max-width:none;font-size:clamp(2.9rem,11vw,4.6rem);overflow-wrap:anywhere;text-wrap:pretty}html.v1 .samuel-lead,html.v1 .samuel-hook{max-width:none;overflow-wrap:anywhere;text-wrap:pretty}html.v1 .samuel-facts{max-width:none}html.v1 .samuel-facts div{grid-template-columns:minmax(0,1fr) auto}html.v1 .samuel-section__head{grid-template-columns:minmax(0,1fr);gap:1rem}html.v1 .samuel-section__head>div{min-width:0}html.v1 .samuel-section__head h2{max-width:none;font-size:clamp(2rem,8vw,3.2rem);overflow-wrap:anywhere;text-wrap:pretty}html.v1 .samuel-threshold__route{position:static;margin:1rem 0}html.v1 .samuel-register__split,html.v1 .samuel-fit__split,html.v1 .samuel-proof__contract,html.v1 .samuel-world__split{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-register__prose,html.v1 .samuel-narrow,html.v1 .samuel-proof__contract,html.v1 .samuel-world__split p{max-width:none}html.v1 .samuel-ledger{max-width:none}html.v1 .samuel-ledger div{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-ledger dd{overflow-wrap:anywhere}html.v1 .samuel-route-list li{grid-template-columns:2.2rem minmax(0,1fr)}html.v1 .samuel-route-list li>a{grid-column:2}html.v1 .samuel-mechanics__ledger li{grid-template-columns:2.2rem minmax(0,1fr)}html.v1 .samuel-mechanics__ledger p{grid-column:2}html.v1 .samuel-proof__stream li{grid-template-columns:2.2rem minmax(0,1fr)}html.v1 .samuel-comparables{display:block;overflow:hidden}html.v1 .samuel-comparables thead{display:none}html.v1 .samuel-comparables tbody,html.v1 .samuel-comparables tr,html.v1 .samuel-comparables th,html.v1 .samuel-comparables td{display:block;width:100%}html.v1 .samuel-comparables tr{padding:.8rem 0;border-bottom:1px solid var(--color-border)}html.v1 .samuel-comparables th,html.v1 .samuel-comparables td{padding:.2rem 0;border:0}html.v1 .samuel-comparables th{color:var(--color-muted)}}
@media(max-width:620px){html.v1 .samuel-page{padding-inline:max(1rem,env(safe-area-inset-left))}html.v1 .samuel-threshold h1{font-size:clamp(2.8rem,14vw,4.4rem)}html.v1 .samuel-facts{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-facts div:nth-child(odd),html.v1 .samuel-facts div:nth-child(even){padding-inline:0;border-left:0}html.v1 .samuel-fit__split{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-fit__split>div,html.v1 .samuel-fit__split>div+div{padding-inline:0}html.v1 .samuel-fit__split>div+div{border-left:0;border-top:1px solid var(--color-border)}html.v1 .samuel-route-list li{grid-template-columns:2.2rem minmax(0,1fr)}html.v1 .samuel-route-list li>a{grid-column:2}html.v1 .samuel-proof__contract,html.v1 .samuel-world__split{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-proof__stream li{grid-template-columns:minmax(0,1fr)}html.v1 .samuel-comparables tr{padding:.65rem 0}}
@media(prefers-reduced-motion:reduce){html.v1 .samuel-threshold__route{scroll-behavior:auto}}

/* Interactive contracts transplanted from script.js (buy-modal, Noveris quiz)
   restyled on V1 tokens. Markup/IDs/behaviour are unchanged — see
   MIGRATION-MATRIX.md "interactiveContracts": buy modal + Noveris quiz. */

html.v1 .quiz-wrap{max-width:46rem;margin:0 auto;background:var(--surface-quiet);border:1px solid var(--color-border);border-radius:var(--radius-special);overflow:hidden}
html.v1 .quiz-progress-wrap{height:3px;background:var(--color-border)}
html.v1 .quiz-progress-bar{height:100%;background:var(--color-accent-strong);transition:width .35s var(--ease-standard)}
html.v1 .quiz-stage,html.v1 .quiz-result{padding:clamp(1.5rem,4vw,2.5rem)}
html.v1 .quiz-step-label{font:600 .78rem/1 var(--font-ui);letter-spacing:.1em;text-transform:uppercase;color:#0072b3;margin:0 0 .9rem}
html.v1 .quiz-question-text{font:400 1.5rem/1.3 var(--font-display);color:var(--color-text);margin:0 0 1.75rem}
html.v1 .quiz-options{display:grid;gap:.6rem}
html.v1 .quiz-option{width:100%;min-height:48px;text-align:left;padding:.9rem 1.15rem;border-radius:var(--radius-input);border:1px solid var(--color-border);background:var(--surface-page);color:var(--color-text);font:400 .95rem/1.5 var(--font-ui);cursor:pointer;transition:border-color .18s,background .18s}
html.v1 .quiz-option:hover,html.v1 .quiz-option:focus-visible{border-color:var(--color-accent-strong);background:color-mix(in srgb,var(--color-accent) 12%,var(--surface-page))}
html.v1 .quiz-option:active{transform:translateY(1px) scale(.99)}
html.v1 .quiz-result{text-align:center}
html.v1 .quiz-result-eyebrow{font:600 .78rem/1 var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent-strong);margin:0 0 .4rem}
html.v1 .quiz-result-name{font:400 2.2rem/1.1 var(--font-display);color:var(--color-accent-strong);margin:0 0 1.1rem}
html.v1 .quiz-result-desc{font:400 .97rem/1.75 var(--font-reading);color:var(--color-muted);max-width:35rem;margin:0 auto 1.75rem}
html.v1 .quiz-result-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}
html.v1 .quiz-subscribe-form{margin:0 0 1.75rem;padding:1.5rem;background:color-mix(in srgb,var(--color-accent) 8%,transparent);border:1px solid var(--color-border);border-radius:var(--radius-special);text-align:left}
html.v1 .quiz-subscribe-label{font:400 .9rem/1.5 var(--font-ui);color:var(--color-muted);margin:0 0 .9rem}
html.v1 .quiz-subscribe-row{display:flex;gap:.5rem;margin-bottom:.75rem}
html.v1 .quiz-email-input{flex:1;min-height:48px;padding:.6rem .9rem;border-radius:var(--radius-input);border:1px solid var(--color-border);background:var(--surface-page);color:var(--color-text);font:400 1rem/1.3 var(--font-ui)}
html.v1 .quiz-email-input:focus-visible{outline:2px solid var(--focus-color);outline-offset:1px}
html.v1 .quiz-gdpr-label{display:flex;align-items:flex-start;gap:.5rem;font-size:.8rem;color:var(--color-muted);line-height:1.5;cursor:pointer}
html.v1 .quiz-gdpr-label input[type="checkbox"]{margin-top:.15rem;accent-color:var(--color-accent-strong);flex-shrink:0}
html.v1 .quiz-subscribe-status{font-size:.85rem;color:var(--color-accent-strong);margin:.5rem 0 0;min-height:1.2em}
html.v1 .quiz-subscribe-ok{color:var(--color-accent-strong);font-size:.95rem;margin:0;text-align:center}
@media(max-width:600px){html.v1 .quiz-stage,html.v1 .quiz-result{padding:1.5rem 1.25rem}html.v1 .quiz-question-text{font-size:1.2rem}html.v1 .quiz-result-name{font-size:1.65rem}html.v1 .quiz-result-actions{flex-direction:column}html.v1 .quiz-result-actions a,html.v1 .quiz-result-actions button{width:100%;text-align:center}}
@media(max-width:520px){html.v1 .quiz-subscribe-row{flex-direction:column}}

/* -------------------------------------------------------------------------
   2026-08-29 · Samuel visual-unification layer
   Scoped to the Samuel editorial context. This keeps the threshold/register
   signature while adopting the HOME blue/black/gold material system. */
html.v1[data-editorial-context="samuel"] body{
  --sam-blue:#1d4f96;
  --sam-blue-deep:#0d2c57;
  --sam-header-blue:#0a4d9f;
  --sam-gold:#b8860b;
  --sam-neutral:#6f6a64;
  --sam-pale:#eefaff;
  --sam-ink:#050505;
  --color-accent:#1d4f96;
  --color-accent-strong:#1d4f96;
  --color-accent-hover:#0d2c57;
  --focus-color:#b8860b;
}

/* Shell and contextual navigation. */
html.v1[data-editorial-context="samuel"] .section-context{
  border-color:rgba(29,79,150,.22);background:#fff;
  box-shadow:0 1px 0 rgba(29,79,150,.08),0 5px 14px rgba(23,20,18,.025)
}
html.v1[data-editorial-context="samuel"] .section-context__title{color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .section-context__links a[aria-current="page"]{
  color:var(--sam-blue);background:var(--sam-pale);box-shadow:inset 0 -2px 0 var(--sam-gold)
}
html.v1[data-editorial-context="samuel"] .section-context__links a:hover,
html.v1[data-editorial-context="samuel"] .section-context__links a:focus-visible{color:var(--sam-blue-deep);background:var(--sam-pale)}
html.v1[data-editorial-context="samuel"] :is(.header-search,.header-home,.header-sitemap,.header-contact,.explore-trigger):hover,
html.v1[data-editorial-context="samuel"] :is(.header-search,.header-home,.header-sitemap,.header-contact,.explore-trigger):focus-visible{
  color:var(--sam-header-blue);background:var(--sam-pale);border-color:rgba(10,77,159,.22)
}
html.v1[data-editorial-context="samuel"] .explore-dialog{border-right-color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .explore-dialog__head{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .explore-dialog__head h2,
html.v1[data-editorial-context="samuel"] .explore-row__index{color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .explore-row:hover .explore-row__body strong,
html.v1[data-editorial-context="samuel"] .explore-row:focus-visible .explore-row__body strong,
html.v1[data-editorial-context="samuel"] .explore-children a:hover,
html.v1[data-editorial-context="samuel"] .explore-children a:focus-visible{color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .explore-row__toggle{color:var(--sam-blue);border-color:rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .explore-row__toggle:hover,
html.v1[data-editorial-context="samuel"] .explore-row__toggle:focus-visible{color:#fff;background:var(--sam-blue);border-color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .explore-children{border-left-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .explore-subscribe .form-input:focus{border-color:var(--sam-blue);outline-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .explore-subscribe .form-submit{border-color:var(--sam-blue);background:var(--sam-blue);color:#fff}
html.v1[data-editorial-context="samuel"] .explore-subscribe .form-submit:hover,
html.v1[data-editorial-context="samuel"] .explore-subscribe .form-submit:focus-visible{border-color:var(--sam-blue-deep);background:var(--sam-blue-deep);color:#fff}

/* Threshold / hero. */
html.v1[data-editorial-context="samuel"] .samuel-threshold{
  min-height:0;padding:clamp(3.4rem,6vw,5.8rem) 0 clamp(4rem,7vw,6.4rem);border-bottom:0
}
html.v1[data-editorial-context="samuel"] .samuel-threshold::before{
  top:clamp(2.8rem,5vw,4.5rem);bottom:clamp(3.4rem,6vw,5.5rem);left:calc(36% + 1rem);width:2.5px;height:auto;
  background:var(--sam-blue)
}
html.v1[data-editorial-context="samuel"] .samuel-threshold::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:6.5px;pointer-events:none;
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue)),linear-gradient(var(--sam-gold),var(--sam-gold));
  background-repeat:no-repeat,no-repeat;background-size:100% 1.5px,100% 1.5px;background-position:left top,left bottom
}
html.v1[data-editorial-context="samuel"] .samuel-threshold__object{align-self:center}
html.v1[data-editorial-context="samuel"] .samuel-object{
  position:relative;isolation:isolate;overflow:visible;margin:clamp(1.2rem,3vw,2.5rem) 0 1rem;width:min(100%,23rem)
}
html.v1[data-editorial-context="samuel"] .samuel-object::before,
html.v1[data-editorial-context="samuel"] .samuel-object::after{
  content:"";position:absolute;z-index:2;width:38px;height:38px;inset:auto;border:0;
  background:url('/assets/corner-bracket-blue-gold.svg') center/contain no-repeat;pointer-events:none
}
html.v1[data-editorial-context="samuel"] .samuel-object::before{top:-12px;left:-12px}
html.v1[data-editorial-context="samuel"] .samuel-object::after{right:-12px;bottom:-12px;transform:rotate(180deg)}
html.v1[data-editorial-context="samuel"] .samuel-object img{box-shadow:0 16px 34px rgba(23,20,18,.14)}
html.v1[data-editorial-context="samuel"] .samuel-threshold__object>.coordinate,
html.v1[data-editorial-context="samuel"] .samuel-object__caption{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-threshold__copy>.eyebrow{
  width:fit-content;margin:0;padding:0 .08em .08em;color:var(--sam-gold);
  font-family:'Yellowtail',var(--font-ui),cursive;font-size:clamp(1.3rem,1.75vw,1.65rem);font-weight:400;
  line-height:1.05;letter-spacing:0;text-transform:none;
  background:url('/assets/highlight-8-blue-rect.png') center bottom .02em/106% .52em no-repeat
}
html.v1[data-editorial-context="samuel"] .samuel-threshold h1{
  max-width:10ch;margin:.7rem 0 1.1rem;color:var(--sam-blue);font-family:var(--font-ui);
  font-size:clamp(3.5rem,6.2vw,6.5rem);font-weight:800;line-height:.88;letter-spacing:-.045em;
  -webkit-text-stroke:.45px rgba(184,134,11,.62);text-wrap:balance
}
html.v1[data-editorial-context="samuel"] .samuel-lead{color:var(--sam-ink);max-width:34ch}
html.v1[data-editorial-context="samuel"] .samuel-hook{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-hook a{color:var(--sam-blue);text-decoration-color:rgba(184,134,11,.55)}
html.v1[data-editorial-context="samuel"] .samuel-facts{border-top:1.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .samuel-facts div{border-bottom:1px solid rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .samuel-facts div:nth-child(even){border-left-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-facts dt{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-facts dd{color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] .samuel-actions :is(.primary-action,.text-action),
html.v1[data-editorial-context="samuel"] .samuel-threshold__route{
  color:var(--sam-blue);background:transparent;border:0;border-radius:0;box-shadow:none;text-decoration:none
}
html.v1[data-editorial-context="samuel"] .samuel-actions :is(.primary-action,.text-action){
  display:inline-flex;align-items:center;width:fit-content;min-width:0;min-height:30px;padding:0;
  font-family:'Yellowtail',var(--font-ui),cursive;font-size:1.17rem;font-weight:400;line-height:1.15;letter-spacing:0;text-transform:none
}
html.v1[data-editorial-context="samuel"] .samuel-actions :is(.primary-action,.text-action):hover,
html.v1[data-editorial-context="samuel"] .samuel-actions :is(.primary-action,.text-action):focus-visible,
html.v1[data-editorial-context="samuel"] .samuel-threshold__route:hover,
html.v1[data-editorial-context="samuel"] .samuel-threshold__route:focus-visible{color:var(--sam-blue-deep);background:transparent}
html.v1[data-editorial-context="samuel"] .samuel-actions .primary-action::after{content:"\2192";margin-left:.35rem}
html.v1[data-editorial-context="samuel"] .samuel-threshold__route span,
html.v1[data-editorial-context="samuel"] .samuel-threshold__route small{color:var(--sam-neutral)}

/* Section rhythm: Samuel keeps its archival registers, but their paper/rules
   now belong to the shared blue/gold system. */
html.v1[data-editorial-context="samuel"] .samuel-section{
  border-bottom:0;position:relative;
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue)),linear-gradient(var(--sam-gold),var(--sam-gold));
  background-repeat:no-repeat,no-repeat;background-size:100% 1.25px,100% 1.5px;background-position:left bottom,left calc(100% - 4px)
}
html.v1[data-editorial-context="samuel"] .samuel-section__head>.folio{color:var(--sam-neutral);padding-top:.3rem}
html.v1[data-editorial-context="samuel"] .samuel-section__head>div{
  min-width:0;padding-left:clamp(1rem,2vw,1.6rem);
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue));background-repeat:no-repeat;background-size:2.5px 100%;background-position:left top
}
html.v1[data-editorial-context="samuel"] .samuel-section__head .eyebrow{
  width:fit-content;margin:0;padding:0 .08em .08em;color:var(--sam-gold);
  font-family:'Yellowtail',var(--font-ui),cursive;font-size:clamp(1.25rem,1.65vw,1.5rem);font-weight:400;
  line-height:1.05;letter-spacing:0;text-transform:none;
  background:url('/assets/highlight-8-blue-rect.png') center bottom .02em/106% .52em no-repeat
}
html.v1[data-editorial-context="samuel"] .samuel-section__head h2{
  max-width:18ch;margin:.65rem 0 0;color:var(--sam-blue);font-family:var(--font-ui);
  font-size:clamp(2.2rem,4vw,4.1rem);font-weight:800;line-height:.96;letter-spacing:-.03em;
  -webkit-text-stroke:.3px rgba(184,134,11,.5);text-wrap:balance
}
html.v1[data-editorial-context="samuel"] :is(.samuel-register__prose,.samuel-narrow,.samuel-world__split p,.samuel-mechanics__ledger p,.samuel-proof__stream blockquote){color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] .samuel-register__prose{
  padding-left:clamp(1rem,2vw,1.55rem);
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue));background-repeat:no-repeat;background-size:2.5px 100%;background-position:left top
}
html.v1[data-editorial-context="samuel"] .samuel-register__prose figure img{border-color:rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .samuel-register__prose figcaption{color:var(--sam-neutral)}

/* Technical ledgers and reading-fit split. */
html.v1[data-editorial-context="samuel"] .samuel-ledger{border-top:1.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .samuel-ledger div{border-bottom:1px solid rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .samuel-ledger div:last-child{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-ledger dt{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-ledger dd{color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] .samuel-ledger a{color:var(--sam-blue);text-decoration-color:rgba(184,134,11,.6)}
html.v1[data-editorial-context="samuel"] .samuel-fit__split{border-top:1.5px solid var(--sam-blue);border-bottom:1.5px solid var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-fit__split>div+div{border-left:2.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .samuel-fit h3{color:var(--sam-blue);font-family:var(--font-ui);font-weight:750}
html.v1[data-editorial-context="samuel"] .samuel-fit ul{color:var(--sam-ink)}

/* Route/mechanics/review streams stay ledgers rather than cards. */
html.v1[data-editorial-context="samuel"] :is(.samuel-route-list,.samuel-mechanics__ledger){border-top:1.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] :is(.samuel-route-list li,.samuel-mechanics__ledger li){border-bottom:1px solid rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] :is(.samuel-route-list li,.samuel-mechanics__ledger li):last-child{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] :is(.samuel-route-list li>span,.samuel-mechanics__ledger li>span){color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] :is(.samuel-route-list strong,.samuel-mechanics__ledger h3){color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .samuel-route-list p{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-route-list li>a,
html.v1[data-editorial-context="samuel"] .samuel-world__split .text-action,
html.v1[data-editorial-context="samuel"] .samuel-proof__contract .text-action{
  color:var(--sam-blue);font-family:'Yellowtail',var(--font-ui),cursive;font-size:1.08rem;font-weight:400;
  letter-spacing:0;text-transform:none;text-decoration:none;border:0;background:transparent;min-height:30px
}
html.v1[data-editorial-context="samuel"] .samuel-route-list li>a:hover,
html.v1[data-editorial-context="samuel"] .samuel-route-list li>a:focus-visible,
html.v1[data-editorial-context="samuel"] .samuel-world__split .text-action:hover,
html.v1[data-editorial-context="samuel"] .samuel-world__split .text-action:focus-visible,
html.v1[data-editorial-context="samuel"] .samuel-proof__contract .text-action:hover,
html.v1[data-editorial-context="samuel"] .samuel-proof__contract .text-action:focus-visible{color:var(--sam-blue-deep)}
html.v1[data-editorial-context="samuel"] .samuel-proof__contract,
html.v1[data-editorial-context="samuel"] .samuel-functional-contract{
  border-top:1.5px solid var(--sam-blue);border-bottom:1.5px solid var(--sam-gold);color:var(--sam-ink)
}
html.v1[data-editorial-context="samuel"] .samuel-proof__stream{border-top:1.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .samuel-proof__stream li{border-bottom:1px solid rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .samuel-proof__stream li:last-child{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-proof__stream .folio,
html.v1[data-editorial-context="samuel"] .samuel-proof__stream cite{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-proof>.samuel-narrow a{color:var(--sam-blue);text-decoration-color:var(--sam-gold)}

/* Commerce and signed-copy conversion. */
html.v1[data-editorial-context="samuel"] #comprar .ledger{border-top:1.5px solid var(--sam-blue)}
html.v1[data-editorial-context="samuel"] #comprar .ledger__row{border-bottom:1px solid rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] #comprar .ledger__row:last-child{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] #comprar :is(.ledger__index,.ledger__secondary){color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] #comprar .ledger__primary{color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] #comprar .ledger__action{
  color:var(--sam-blue);font-family:'Yellowtail',var(--font-ui),cursive;font-size:1.08rem;font-weight:400;
  letter-spacing:0;text-transform:none;text-decoration:none;border:0;background:transparent;min-height:30px
}
html.v1[data-editorial-context="samuel"] #comprar .ledger__action:hover,
html.v1[data-editorial-context="samuel"] #comprar .ledger__action:focus-visible{color:var(--sam-blue-deep)}
html.v1[data-editorial-context="samuel"] #ejemplar-firmado .samuel-narrow{
  max-width:72rem;padding:clamp(1.4rem,3vw,2.2rem) clamp(1rem,2.4vw,1.6rem);
  background-color:var(--sam-pale);border-left:0;border-bottom:1.5px solid var(--sam-gold);
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue));background-repeat:no-repeat;background-size:2.5px 100%;background-position:left top
}
html.v1[data-editorial-context="samuel"] #ejemplar-firmado .samuel-narrow>p:last-child a{color:var(--sam-blue);text-decoration-color:var(--sam-gold)}

/* Noveris, comparables and FAQ. */
html.v1[data-editorial-context="samuel"] .samuel-world__split{border-top:1.5px solid var(--sam-blue);border-bottom:1.5px solid var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-comparables th,
html.v1[data-editorial-context="samuel"] .samuel-comparables td{border-bottom-color:rgba(29,79,150,.35)}
html.v1[data-editorial-context="samuel"] .samuel-comparables th{color:var(--sam-neutral)}
html.v1[data-editorial-context="samuel"] .samuel-comparables td{color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] .samuel-faq details{border-top-color:rgba(29,79,150,.42)}
html.v1[data-editorial-context="samuel"] .samuel-faq details:last-child{border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-faq summary{color:var(--sam-blue);font-family:var(--font-ui);font-weight:700}
html.v1[data-editorial-context="samuel"] .samuel-faq summary::after{color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .samuel-faq details p{color:var(--sam-ink)}

/* Quiz: keep a true interactive panel, but remove the old generic/SaaS skin. */
html.v1[data-editorial-context="samuel"] .quiz-wrap{
  max-width:48rem;border:1px solid var(--sam-blue);border-bottom-color:var(--sam-gold);border-radius:0;background:var(--sam-pale);box-shadow:none
}
html.v1[data-editorial-context="samuel"] .quiz-progress-wrap{height:4px;background:rgba(29,79,150,.14)}
html.v1[data-editorial-context="samuel"] .quiz-progress-bar{background:linear-gradient(90deg,var(--sam-blue),var(--sam-gold))}
html.v1[data-editorial-context="samuel"] .quiz-step-label{color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .quiz-question-text{color:var(--sam-blue);font-family:var(--font-ui);font-weight:750}
html.v1[data-editorial-context="samuel"] .quiz-option{
  border-radius:0;border-color:rgba(29,79,150,.38);background:#fff;color:var(--sam-ink)
}
html.v1[data-editorial-context="samuel"] .quiz-option:hover,
html.v1[data-editorial-context="samuel"] .quiz-option:focus-visible{border-color:var(--sam-blue);background:#fff;color:var(--sam-blue-deep)}
html.v1[data-editorial-context="samuel"] .quiz-result-eyebrow{color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .quiz-result-name{color:var(--sam-blue);font-family:var(--font-ui);font-weight:800}
html.v1[data-editorial-context="samuel"] .quiz-result-desc{color:var(--sam-ink)}
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button{border-radius:0;box-shadow:none}
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button.primary{background:var(--sam-blue);border-color:var(--sam-blue);color:#fff}
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button.primary:hover,
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button.primary:focus-visible{background:var(--sam-blue-deep);border-color:var(--sam-blue-deep)}
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button.secondary{background:#fff;border-color:var(--sam-blue);color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .quiz-result-actions .button.tertiary{background:#fff;border-color:var(--sam-gold);color:var(--sam-neutral)}

/* Shared footer / return control. */
html.v1[data-editorial-context="samuel"] .site-footer{position:relative;border-top:0;background:linear-gradient(180deg,#fff 0%,#f7fbfe 100%);box-shadow:none}
html.v1[data-editorial-context="samuel"] .site-footer::before{
  content:"";position:absolute;top:0;left:0;right:0;height:6.5px;
  background-image:linear-gradient(var(--sam-blue),var(--sam-blue)),linear-gradient(var(--sam-gold),var(--sam-gold));
  background-repeat:no-repeat,no-repeat;background-size:100% 1.5px,100% 1.5px;background-position:left top,left bottom;pointer-events:none
}
html.v1[data-editorial-context="samuel"] .site-footer h2{color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .site-footer a:hover,
html.v1[data-editorial-context="samuel"] .site-footer a:focus-visible{color:var(--sam-blue);text-decoration-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .site-footer .social-icon:nth-child(odd){border-color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .site-footer .social-icon:nth-child(even){border-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .site-footer .social-icon:hover,
html.v1[data-editorial-context="samuel"] .site-footer .social-icon:focus-visible{color:#fff;background:var(--sam-blue);border-color:var(--sam-blue)}
html.v1[data-editorial-context="samuel"] .site-footer .footer-legal{border-top-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .site-footer .footer-email{color:var(--sam-blue);border-bottom-color:var(--sam-gold)}
html.v1[data-editorial-context="samuel"] .back-to-top{border-color:var(--sam-blue);background:#fff;color:var(--sam-blue);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--sam-gold),0 5px 18px rgba(23,20,18,.09)}
html.v1[data-editorial-context="samuel"] .back-to-top:hover,
html.v1[data-editorial-context="samuel"] .back-to-top:focus-visible{border-color:var(--sam-blue);background:var(--sam-blue);color:#fff}

/* Portable widths: one deliberate external rail replaces the old horizontal
   line drawn through the hero at 48% height. */
@media(max-width:1300px){
  html.v1[data-editorial-context="samuel"] .assistant-widget__launcher{display:none}
}
@media(max-width:900px){
  html.v1[data-editorial-context="samuel"] .samuel-threshold{position:relative;padding-left:clamp(1rem,3vw,1.4rem)}
  html.v1[data-editorial-context="samuel"] .samuel-threshold::before{
    left:0;right:auto;top:clamp(2.5rem,6vw,3.8rem);bottom:clamp(3.5rem,7vw,5rem);width:2.5px;height:auto;background:var(--sam-blue)
  }
  html.v1[data-editorial-context="samuel"] .samuel-threshold__object{min-height:0;align-content:start}
  html.v1[data-editorial-context="samuel"] .samuel-object{width:min(100%,18rem)}
  html.v1[data-editorial-context="samuel"] .samuel-threshold__copy{padding-top:clamp(2rem,5vw,3rem)}
  html.v1[data-editorial-context="samuel"] .samuel-threshold h1{max-width:12ch;font-size:clamp(3rem,10vw,4.8rem)}
  html.v1[data-editorial-context="samuel"] .samuel-section__head{gap:.8rem}
  html.v1[data-editorial-context="samuel"] .samuel-section__head>div{padding-left:1rem}
  html.v1[data-editorial-context="samuel"] .samuel-section__head h2{font-size:clamp(2.15rem,7.2vw,3.3rem)}
  html.v1[data-editorial-context="samuel"] .samuel-fit__split>div,
  html.v1[data-editorial-context="samuel"] .samuel-fit__split>div+div{padding-left:0;padding-right:0}
  html.v1[data-editorial-context="samuel"] .samuel-fit__split>div+div{border-left:0;border-top:1.5px solid var(--sam-blue)}
  html.v1[data-editorial-context="samuel"] .samuel-route-list li>a{color:var(--sam-blue)}
}
@media(max-width:620px){
  html.v1[data-editorial-context="samuel"] .samuel-object::before,
  html.v1[data-editorial-context="samuel"] .samuel-object::after{width:28px;height:28px}
  html.v1[data-editorial-context="samuel"] .samuel-threshold h1{font-size:clamp(2.8rem,13vw,4.2rem)}
  html.v1[data-editorial-context="samuel"] .samuel-actions{gap:.65rem 1rem}
  html.v1[data-editorial-context="samuel"] .samuel-facts div:nth-child(even){border-left:0}
  html.v1[data-editorial-context="samuel"] .samuel-register__prose{padding-left:1rem}
  html.v1[data-editorial-context="samuel"] .samuel-section{padding-block:clamp(3.4rem,10vw,5rem)}
}
@media(max-width:639px){
  html.v1[data-editorial-context="samuel"] .section-context{position:relative;top:auto}
}
@media print{
  html.v1[data-editorial-context="samuel"] .samuel-object::before,
  html.v1[data-editorial-context="samuel"] .samuel-object::after{display:none!important}
  html.v1[data-editorial-context="samuel"] #ejemplar-firmado .samuel-narrow,
  html.v1[data-editorial-context="samuel"] .quiz-wrap{background:#fff!important}
}