/* R13 — pulido de las dos últimas direcciones y panel CMS contraíble.
   La acción de contraer conserva los valores editados; cerrar sigue usando la confirmación existente. */
.manager-collapse {
  flex:0 0 34px; width:34px; height:34px; display:grid; place-items:center;
  padding:0; border:1px solid #d9dde5; border-radius:50%; background:#fff; color:#30384a;
  font:500 25px/1 var(--font-body); cursor:pointer;
  transition:background .18s,border-color .18s,color .18s,transform .18s;
}
.manager-collapse:hover { background:#f1f2f6; border-color:#aeb5c3; color:#111827; }
.manager-collapse:focus-visible { outline:3px solid color-mix(in srgb,var(--violet) 58%,white); outline-offset:2px; }
.manager-header { align-items:flex-start; }
.manager-header > div { flex:1 1 auto; min-width:0; }
.manager-header { gap:10px; }
.manager-header .manager-collapse { margin-left:auto; }
.manager-header .manager-close { flex:0 0 34px; }
.manager-panel { transition:width .22s cubic-bezier(.22,.75,.25,1),padding .22s ease; }
.manager-panel.is-collapsed {
  width:66px; min-width:66px; padding:13px 9px; overflow:hidden; background:#fff;
  box-shadow:-10px 0 34px rgba(0,0,0,.12); border-left:1px solid #e4e7ec;
}
.manager-panel.is-collapsed > :not(.manager-header) { display:none!important; }
.manager-panel.is-collapsed .manager-header { justify-content:center; align-items:flex-start; gap:0; padding:0; border:0; }
.manager-panel.is-collapsed .manager-header > div,
.manager-panel.is-collapsed .manager-close { display:none!important; }
.manager-panel.is-collapsed .manager-collapse {
  width:46px; height:46px; flex-basis:46px; border-radius:12px; margin:0;
  border-color:#202a3b; background:#202a3b; color:#fff; font-size:29px;
  box-shadow:0 6px 16px rgba(32,42,59,.16);
}
.manager-panel.is-collapsed .manager-collapse:hover { background:var(--violet); border-color:var(--violet); transform:translateX(-2px); }
@media(max-width:690px) {
  .manager-panel.is-collapsed { width:56px; min-width:56px; padding:10px 6px; }
  .manager-panel.is-collapsed .manager-collapse { width:42px; height:42px; flex-basis:42px; border-radius:11px; }
  .manager-header .manager-collapse { flex-basis:34px; }
}
@media(prefers-reduced-motion:reduce) { .manager-panel,.manager-collapse { transition:none!important; } }

/* 04 · Bauhaus — una retícula útil, no un fondo decorativo dominante. */
body.territory-bauhaus {
  background-color:var(--bauhaus-paper);
  background-image:linear-gradient(90deg,#17191b08 1px,transparent 1px),linear-gradient(0deg,#17191b08 1px,transparent 1px);
  background-size:40px 40px;
}
body.territory-bauhaus .stage { padding-top:22px; }
body.territory-bauhaus .eyebrow { font-size:9px; letter-spacing:1.6px; font-weight:800; }
body.territory-bauhaus .value-card { box-shadow:8px 8px 0 var(--bauhaus-blue); }
body.territory-bauhaus .portrait-panel { isolation:isolate; }
body.territory-bauhaus .portrait { filter:saturate(.82) contrast(1.08); }
body.territory-bauhaus .portrait-panel::after { transform:rotate(0deg); }
body.territory-bauhaus .profile-panel { padding-top:29px; }
body.territory-bauhaus .identity-row { align-items:start; padding-top:14px; gap:15px; }
body.territory-bauhaus .identity-block h1 { font-size:clamp(40px,4.1vw,57px); line-height:.94; }
body.territory-bauhaus .profile-role { margin-top:12px; font-size:12px; line-height:1.5; }
body.territory-bauhaus .value-statement { margin-top:17px; font-size:11px; line-height:1.72; }
body.territory-bauhaus .primary-actions { margin-top:17px; margin-bottom:19px; }
body.territory-bauhaus .feature-card { position:relative; box-shadow:none; }
body.territory-bauhaus .feature-card::after { content:""; position:absolute; top:0; right:0; width:8px; height:8px; background:var(--bauhaus-red); }
body.territory-bauhaus .feature-card:nth-child(2n)::after { background:var(--bauhaus-blue); }
body.territory-bauhaus .feature-card:nth-child(3n)::after { background:var(--bauhaus-yellow); }
body.territory-bauhaus .micro-experience { padding-top:13px; }
body.territory-bauhaus .tab.is-active::after { transform:none; }
body.territory-bauhaus .skill-chips span { padding:5px 8px; }
body.territory-bauhaus .contact-strip { margin-top:auto; }
body.territory-bauhaus .footer-brand { font-size:16px; }

/* 05 · Minimalismo contemporáneo — editorialidad silenciosa, detalle táctil y ritmo. */
body.territory-neo-minimal {
  background:radial-gradient(ellipse at 78% 18%,#e7e6de80,transparent 31%),#f5f4ef;
}
body.territory-neo-minimal .topbar { border-bottom-color:#d7d8cf; }
body.territory-neo-minimal .stage { padding-top:24px; }
body.territory-neo-minimal .eyebrow { font-size:8px; letter-spacing:1.8px; }
body.territory-neo-minimal .value-card { min-height:600px; grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr); }
body.territory-neo-minimal .profile-panel { padding-top:37px; padding-right:clamp(32px,5vw,68px); }
body.territory-neo-minimal .profile-topline { padding-bottom:16px; }
body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 86px; gap:18px; padding-top:30px; }
body.territory-neo-minimal .identity-kicker { display:inline-block; margin-bottom:10px; font-size:7px; }
body.territory-neo-minimal .identity-block h1 { font-size:clamp(47px,4.7vw,66px); letter-spacing:-.075em; font-weight:550; }
body.territory-neo-minimal .identity-block h1 span { color:var(--violet); }
body.territory-neo-minimal .profile-role { max-width:31ch; margin-top:12px; font-size:12px; line-height:1.65; }
body.territory-neo-minimal .profile-qr { width:86px; border-radius:48px 48px 4px 4px; }
body.territory-neo-minimal .value-statement { max-width:48ch; margin-top:22px; font-size:12px; line-height:1.9; }
body.territory-neo-minimal .portrait-panel {
  height:min(520px,47vw); margin:35px 0 32px; border-radius:48% 48% 3px 3px;
  border:1px solid #d2d6cc; background:#e2e4dc; box-shadow:inset 0 0 0 8px #f5f4ef;
}
body.territory-neo-minimal .portrait { inset:8px; width:calc(100% - 16px); height:calc(100% - 16px); border-radius:inherit; object-position:56% center; filter:saturate(.68) contrast(1.02); }
body.territory-neo-minimal .portrait-overlay { inset:8px; border-radius:inherit; background:linear-gradient(0deg,#18231dbf 0%,#18231d22 32%,transparent 65%); }
body.territory-neo-minimal .portrait-topline { left:30px; right:30px; top:35px; }
body.territory-neo-minimal .portrait-copy { left:31px; right:28px; bottom:46px; }
body.territory-neo-minimal .portrait-copy p { max-width:10ch; font-size:clamp(35px,3.5vw,48px); line-height:1.02; letter-spacing:-.06em; }
body.territory-neo-minimal .portrait-copy p em { color:#d9d9ce; }
body.territory-neo-minimal .portrait-caption { max-width:28ch; font-size:10px; }
body.territory-neo-minimal .orbit-caption { left:31px; bottom:24px; }
body.territory-neo-minimal .button { min-height:43px; }
body.territory-neo-minimal .button-primary { box-shadow:0 7px 18px color-mix(in srgb,var(--violet) 13%,transparent); }
body.territory-neo-minimal .feature-card { padding:11px 12px; background:#f9f8f3; border-radius:3px; }
body.territory-neo-minimal .feature-icon { width:29px; height:29px; background:transparent; border:1px solid color-mix(in srgb,var(--violet) 25%,var(--neo-line)); }
body.territory-neo-minimal .feature-title { font-weight:700; }
body.territory-neo-minimal .micro-experience { padding-top:15px; }
body.territory-neo-minimal .contact-strip { margin-top:auto; }
body.territory-neo-minimal .footer-brand { font-weight:650; }
@media(min-width:951px) {
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.2fr) minmax(290px,.8fr); }
}
@media(max-width:950px) and (min-width:691px) {
  body.territory-neo-minimal .profile-panel { padding:27px 23px 6px 0; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 72px; gap:9px; padding-top:22px; }
  body.territory-neo-minimal .profile-qr { width:72px; }
  body.territory-neo-minimal .portrait-panel { height:450px; margin:24px 0; }
  body.territory-neo-minimal .portrait { inset:6px; width:calc(100% - 12px); height:calc(100% - 12px); }
  body.territory-neo-minimal .portrait-overlay { inset:6px; }
}
@media(max-width:690px) {
  body.territory-bauhaus .value-card { box-shadow:4px 4px 0 var(--bauhaus-blue); }
  body.territory-neo-minimal .stage { padding-top:18px; }
  body.territory-neo-minimal .value-card { gap:0; }
  body.territory-neo-minimal .portrait-panel { margin-top:12px; height:clamp(300px,86vw,380px); box-shadow:inset 0 0 0 6px #f5f4ef; }
  body.territory-neo-minimal .portrait { inset:6px; width:calc(100% - 12px); height:calc(100% - 12px); }
  body.territory-neo-minimal .portrait-overlay { inset:6px; }
  body.territory-neo-minimal .portrait-topline { left:22px; right:22px; top:25px; }
  body.territory-neo-minimal .portrait-copy { left:23px; right:20px; bottom:32px; }
  body.territory-neo-minimal .orbit-caption { left:23px; bottom:20px; }
  body.territory-neo-minimal .profile-panel { padding:23px 18px 0; }
  body.territory-neo-minimal .identity-row { padding-top:21px; }
  body.territory-neo-minimal .value-statement { margin-top:15px; }
}
@media(max-width:370px) {
  body.territory-bauhaus .feature-card::after { width:6px; height:6px; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 62px; }
  body.territory-neo-minimal .profile-qr { width:62px; }
  body.territory-neo-minimal .portrait-copy p { font-size:32px; }
}



/* R14 — control lateral centrado en la ventana, independiente de la cabecera CMS. */
.manager-collapse {
  display:none; position:fixed; z-index:84; top:50vh; right:min(492px,100vw);
  width:40px; height:68px; flex:none; padding:0; place-items:center;
  transform:translate(50%,-50%); border:1px solid #1d2937; border-right:0;
  border-radius:13px 0 0 13px; background:#1d2937; color:#fff;
  font:500 27px/1 var(--font-body); cursor:pointer;
  box-shadow:-5px 8px 20px rgba(23,32,44,.18);
  transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;
}
#manager-panel:not([hidden]) + #manager-collapse { display:grid; }
.manager-collapse:hover { background:var(--violet); border-color:var(--violet); box-shadow:-6px 9px 23px rgba(23,32,44,.22); }
.manager-collapse:focus-visible { outline:3px solid color-mix(in srgb,var(--violet) 62%,white); outline-offset:3px; }
#manager-panel.is-collapsed + #manager-collapse { right:66px; width:42px; height:66px; }
@media(max-width:690px) {
  #manager-panel:not([hidden]):not(.is-collapsed) + #manager-collapse {
    left:10px; right:auto; transform:translateY(-50%); width:38px; height:58px;
    border:1px solid #1d2937; border-left:0; border-radius:0 11px 11px 0;
  }
  #manager-panel.is-collapsed + #manager-collapse {
    left:auto; right:56px; transform:translate(50%,-50%); width:42px; height:58px;
    border:1px solid #1d2937; border-right:0; border-radius:11px 0 0 11px;
  }
}
@media(prefers-reduced-motion:reduce) { .manager-collapse { transition:none!important; } }

/* NUEVA DIRECCIÓN 05 — Minimalismo contemporáneo / edición serena.
   Sustituye el arco decorativo por una fotografía arquitectónica enmarcada,
   jerarquía editorial sobria, superficies cálidas y acentos funcionales. */
body.territory-neo-minimal {
  --neo-ink:#27312b; --neo-muted:#72786f; --neo-paper:#f5f3ec; --neo-line:#d8d8ce;
  background:linear-gradient(135deg,#e9e8df 0%,#f3f1e9 48%,#e9e9e1 100%);
  color:var(--neo-ink);
}
body.territory-neo-minimal .ambient { display:none; }
body.territory-neo-minimal .topbar { border-bottom:1px solid #d7d7cc; }
body.territory-neo-minimal .brand,
body.territory-neo-minimal .brand-mark,
body.territory-neo-minimal .brand-copy b { color:var(--neo-ink); }
body.territory-neo-minimal .brand-mark { font-weight:750; letter-spacing:-1.6px; }
body.territory-neo-minimal .brand-mark span { color:var(--violet); }
body.territory-neo-minimal .brand-copy,
body.territory-neo-minimal .product-label { color:var(--neo-muted); }
body.territory-neo-minimal .brand-divider { background:#27312b35; }
body.territory-neo-minimal .product-label .live-dot { background:var(--violet); box-shadow:none; }
body.territory-neo-minimal .icon-button,
body.territory-neo-minimal .manager-trigger { color:var(--neo-ink); border:1px solid #d7d7cc; border-radius:4px; background:#f8f7f1; }
body.territory-neo-minimal .icon-button:hover,
body.territory-neo-minimal .manager-trigger:hover { color:var(--violet); background:#fff; border-color:var(--violet); }
body.territory-neo-minimal .stage { padding-top:22px; }
body.territory-neo-minimal .eyebrow { color:var(--neo-muted); letter-spacing:1.7px; }
body.territory-neo-minimal .eyebrow-line { width:34px; background:var(--violet); }
body.territory-neo-minimal .value-card {
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); min-height:650px;
  height:auto; overflow:hidden; border:1px solid #d7d6cc; border-radius:3px;
  background:var(--neo-paper); box-shadow:0 20px 58px rgba(30,39,32,.09);
}
body.territory-neo-minimal .profile-panel {
  grid-column:1; grid-row:1; min-width:0; padding:31px 30px 0 34px;
  background:transparent; overflow:visible;
}
body.territory-neo-minimal .profile-topline { padding-bottom:15px; border-bottom:1px solid var(--neo-line); }
body.territory-neo-minimal .overline { color:var(--neo-muted); letter-spacing:1.5px; font-size:8px; }
body.territory-neo-minimal .overline span { color:var(--violet); }
body.territory-neo-minimal .verified-mark { color:var(--violet); border:1px solid color-mix(in srgb,var(--violet) 25%,var(--neo-line)); border-radius:50%; background:color-mix(in srgb,var(--violet) 5%,var(--neo-paper)); }
body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 72px; gap:14px; padding-top:28px; align-items:start; }
body.territory-neo-minimal .identity-kicker { color:var(--neo-muted); font-size:8px; font-weight:700; letter-spacing:1.4px; margin-bottom:9px; }
body.territory-neo-minimal .identity-block h1 { color:var(--neo-ink); font-size:clamp(43px,4.3vw,60px); font-weight:650; letter-spacing:-.072em; line-height:.96; }
body.territory-neo-minimal .identity-block h1 span { color:var(--violet); }
body.territory-neo-minimal .profile-role { max-width:28ch; margin-top:12px; color:#49544c; font-size:11px; font-weight:600; line-height:1.6; }
body.territory-neo-minimal .profile-qr { width:72px; padding:5px; border:1px solid var(--neo-line); border-radius:3px; background:#fbfaf5; color:var(--neo-ink); }
body.territory-neo-minimal .profile-qr-visual,
body.territory-neo-minimal .profile-qr-visual img,
body.territory-neo-minimal .profile-qr-visual canvas { width:58px!important; height:58px!important; max-width:58px; border-radius:1px; }
body.territory-neo-minimal .profile-qr-caption { color:var(--violet); font-size:7px; letter-spacing:.2px; }
body.territory-neo-minimal .value-statement { max-width:50ch; margin-top:17px; color:#616a61; font-size:11px; line-height:1.75; }
body.territory-neo-minimal .primary-actions { margin:16px 0 18px; gap:8px; }
body.territory-neo-minimal .button { min-height:42px; padding-inline:15px; border-radius:3px; font-weight:650; box-shadow:none; }
body.territory-neo-minimal .button-primary { color:#fff; background:var(--violet); border-color:var(--violet); }
body.territory-neo-minimal .button-primary:hover { filter:brightness(.92); }
body.territory-neo-minimal .button-outline { color:var(--neo-ink); border-color:#cdcec4; background:transparent; }
body.territory-neo-minimal .button-outline:hover { background:#fffefa; border-color:var(--violet); }
body.territory-neo-minimal .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin:0 0 14px; }
body.territory-neo-minimal .feature-card { grid-template-columns:29px minmax(0,1fr) 11px; gap:8px; padding:12px 9px; border:0; border-top:1px solid var(--neo-line); border-bottom:1px solid var(--neo-line); border-radius:0; background:transparent; box-shadow:none; }
body.territory-neo-minimal .feature-card + .feature-card { border-left:1px solid var(--neo-line); padding-left:11px; }
body.territory-neo-minimal .feature-card:hover { transform:none; background:#fbfaf5; }
body.territory-neo-minimal .feature-icon { width:27px; height:27px; color:var(--neo-ink); border:1px solid #d6d6cb; border-radius:2px; background:transparent; }
body.territory-neo-minimal .feature-title { color:var(--neo-ink); font-weight:700; }
body.territory-neo-minimal .feature-arrow,
body.territory-neo-minimal .feature-card .feature-status { color:var(--violet); }
body.territory-neo-minimal .micro-experience { border-top:1px solid var(--neo-line); padding-top:13px; }
body.territory-neo-minimal .micro-heading { color:var(--neo-muted); font-weight:700; letter-spacing:1.2px; }
body.territory-neo-minimal .micro-spark { color:var(--violet); }
body.territory-neo-minimal .tabs { gap:18px; border-bottom-color:var(--neo-line); }
body.territory-neo-minimal .tab { color:#858a81; font-weight:600; }
body.territory-neo-minimal .tab.is-active { color:var(--neo-ink); }
body.territory-neo-minimal .tab.is-active::after { height:2px; background:var(--violet); }
body.territory-neo-minimal .panel-lead { color:var(--neo-ink); font-size:18px; font-weight:600; letter-spacing:-.4px; }
body.territory-neo-minimal .panel-copy { color:#6d746b; font-size:10px; line-height:1.7; }
body.territory-neo-minimal .skill-chips { gap:6px; }
body.territory-neo-minimal .skill-chips span { padding:5px 9px; color:#4f5a50; background:transparent; border:1px solid #d7d8cd; border-radius:2px; font-weight:500; }
body.territory-neo-minimal .contact-strip { border-top:1px solid var(--neo-line); }
body.territory-neo-minimal .quick-links a,
body.territory-neo-minimal .quick-links button { color:var(--neo-muted); border:1px solid #d6d7cd; border-radius:50%; }
body.territory-neo-minimal .quick-links a:hover,
body.territory-neo-minimal .quick-links button:hover { color:var(--violet); background:#fff; border-color:var(--violet); }
body.territory-neo-minimal .footer-brand { color:var(--neo-ink); font-weight:700; }
body.territory-neo-minimal .footer-brand span,
body.territory-neo-minimal .stage-footer p em { color:var(--violet); }
body.territory-neo-minimal .stage-footer p,
body.territory-neo-minimal .footer-note { color:var(--neo-muted); }
body.territory-neo-minimal .portrait-panel {
  grid-column:2; grid-row:1; align-self:stretch; min-width:0; min-height:640px; height:auto;
  margin:9px; overflow:hidden; border:1px solid #d8d7ce; border-radius:2px;
  background:#d8dbd1; isolation:isolate; box-shadow:inset 0 0 0 5px var(--neo-paper);
}
body.territory-neo-minimal .portrait { z-index:0; inset:7px; width:calc(100% - 14px); height:calc(100% - 14px); object-position:56% center; filter:saturate(.68) contrast(1.04); border-radius:1px; }
body.territory-neo-minimal .portrait-overlay { z-index:1; inset:7px; background:linear-gradient(180deg,#18231d45 0%,transparent 28%,#18231d20 56%,#18231de0 100%); }
body.territory-neo-minimal .portrait-panel::after { display:none; }
body.territory-neo-minimal .portrait-topline { z-index:3; top:26px; left:25px; right:25px; }
body.territory-neo-minimal .mini-brand { font-weight:750; letter-spacing:-1.3px; }
body.territory-neo-minimal .mini-brand span { color:#fff; }
body.territory-neo-minimal .portrait-index { color:#ffffffe8; font-size:7px; letter-spacing:1.15px; }
body.territory-neo-minimal .portrait-index i { background:#fff; width:24px; height:1px; }
body.territory-neo-minimal .portrait-copy { z-index:3; left:27px; right:24px; bottom:45px; }
body.territory-neo-minimal .photo-kicker { display:inline-block; padding:0 0 8px; border:0; border-bottom:1px solid #ffffffa3; border-radius:0; background:transparent; color:#ffffffe8; font-size:8px; letter-spacing:1.5px; backdrop-filter:none; }
body.territory-neo-minimal .portrait-copy p { max-width:9ch; margin:16px 0 13px; font-family:"Playfair Display",Georgia,serif; font-size:clamp(34px,3.2vw,45px); font-weight:500; letter-spacing:-.035em; line-height:1.05; }
body.territory-neo-minimal .portrait-copy p em { color:#f2efe3; font-style:italic; font-weight:500; }
body.territory-neo-minimal .portrait-rule { width:35px; height:1px; background:#fff; }
body.territory-neo-minimal .portrait-caption { max-width:25ch; color:#ffffffdf; font-size:10px; line-height:1.6; }
body.territory-neo-minimal .orbit-caption { z-index:3; left:25px; bottom:18px; color:#ffffffc9; font-size:7px; letter-spacing:1.2px; }
body.territory-neo-minimal .orbit-caption span { background:#fff; }
.territory-swatch-neo-minimal { color:#27312b; border:1px solid #d5d4ca; border-radius:2px; background:linear-gradient(90deg,#f5f3ec 0 55%,#4b554c 55% 100%); }
.territory-swatch-neo-minimal b { color:#27312b; font-family:"Playfair Display",Georgia,serif; font-weight:500; }
.territory-swatch-neo-minimal i { height:1px; background:#7a8177; }
@media(min-width:1200px) {
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr); }
}
@media(max-width:1199px) and (min-width:951px) {
  body.territory-neo-minimal .profile-panel { padding:29px 23px 0 26px; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 66px; gap:9px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(40px,4.1vw,54px); }
  body.territory-neo-minimal .profile-qr { width:66px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:54px!important; height:54px!important; max-width:54px; }
  body.territory-neo-minimal .portrait-panel { min-height:630px; }
  body.territory-neo-minimal .feature-card { grid-template-columns:24px minmax(0,1fr) 9px; gap:6px; padding-inline:6px; }
  body.territory-neo-minimal .feature-card + .feature-card { padding-left:8px; }
}
@media(max-width:950px) and (min-width:691px) {
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.03fr) minmax(280px,.97fr); min-height:0; }
  body.territory-neo-minimal .profile-panel { padding:27px 20px 10px 24px; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 62px; gap:7px; padding-top:22px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(35px,4vw,45px); }
  body.territory-neo-minimal .profile-qr { width:62px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:50px!important; height:50px!important; max-width:50px; }
  body.territory-neo-minimal .profile-role { font-size:10px; }
  body.territory-neo-minimal .value-statement { font-size:10px; line-height:1.6; margin-top:13px; }
  body.territory-neo-minimal .portrait-panel { min-height:640px; margin:7px; }
  body.territory-neo-minimal .portrait-copy { left:20px; right:18px; bottom:39px; }
  body.territory-neo-minimal .portrait-copy p { font-size:clamp(29px,3.2vw,36px); }
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
  body.territory-neo-minimal .feature-card + .feature-card { border-left:0; padding-left:9px; }
}
@media(max-width:690px) {
  body.territory-neo-minimal .stage { padding-top:17px; }
  body.territory-neo-minimal .value-card { display:flex; flex-direction:column; gap:0; min-height:0; height:auto; overflow:hidden; border:1px solid #d7d6cc; border-radius:3px; background:var(--neo-paper); box-shadow:0 12px 35px rgba(30,39,32,.07); }
  body.territory-neo-minimal .portrait-panel { order:0; width:auto; height:clamp(310px,86vw,390px); min-height:310px; max-height:390px; flex:0 0 auto; margin:8px 8px 0; border-radius:2px; }
  body.territory-neo-minimal .portrait { inset:6px; width:calc(100% - 12px); height:calc(100% - 12px); }
  body.territory-neo-minimal .portrait-overlay { inset:6px; }
  body.territory-neo-minimal .portrait-topline { top:22px; left:21px; right:21px; }
  body.territory-neo-minimal .portrait-copy { left:22px; right:20px; bottom:35px; }
  body.territory-neo-minimal .portrait-copy p { max-width:9ch; margin:12px 0 10px; font-size:clamp(32px,8.8vw,40px); }
  body.territory-neo-minimal .orbit-caption { left:21px; bottom:17px; }
  body.territory-neo-minimal .profile-panel { order:1; padding:23px 18px 0; background:transparent; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 66px; gap:8px; padding-top:20px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(36px,10.6vw,46px); letter-spacing:-.065em; }
  body.territory-neo-minimal .profile-qr { width:66px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:54px!important; height:54px!important; max-width:54px; }
  body.territory-neo-minimal .value-statement { margin-top:13px; font-size:11px; line-height:1.65; }
  body.territory-neo-minimal .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-neo-minimal .feature-card { grid-template-columns:25px minmax(0,1fr); gap:6px; padding:10px 6px; }
  body.territory-neo-minimal .feature-card + .feature-card { padding-left:8px; }
  body.territory-neo-minimal .feature-arrow { display:none; }
  body.territory-neo-minimal .feature-title { font-size:9px; }
  body.territory-neo-minimal .feature-description { font-size:8px; }
  body.territory-neo-minimal .micro-experience { padding-top:12px; }
  body.territory-neo-minimal .tabs { flex-wrap:wrap; gap:13px; }
  body.territory-neo-minimal .tab { font-size:9px; }
  body.territory-neo-minimal .panel-lead { font-size:16px; }
  body.territory-neo-minimal .stage-footer { grid-template-columns:1fr auto; }
}
@media(max-width:390px) {
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 58px; gap:7px; }
  body.territory-neo-minimal .identity-block h1 { font-size:32px; letter-spacing:-1.5px; }
  body.territory-neo-minimal .identity-kicker { font-size:7px; }
  body.territory-neo-minimal .profile-qr { width:58px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:48px!important; height:48px!important; max-width:48px; }
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
  body.territory-neo-minimal .feature-card + .feature-card { border-left:0; padding-left:6px; }
}



/* Override the inherited one-fold compression for this photography-led layout:
   prevent headline clipping while keeping a deliberately compact mobile hero. */
@media(max-width:690px) {
  body.territory-neo-minimal .portrait-panel {
    height:clamp(260px,68vw,320px)!important;
    min-height:260px!important;
    max-height:320px!important;
  }
  body.territory-neo-minimal .portrait-copy { left:22px; right:20px; bottom:34px; }
  body.territory-neo-minimal .portrait-copy p {
    max-width:12ch; margin:9px 0 7px; font-size:clamp(29px,7.8vw,34px); line-height:.99;
  }
  body.territory-neo-minimal .photo-kicker { font-size:7px; letter-spacing:1px; padding-bottom:6px; }
  body.territory-neo-minimal .portrait-caption { font-size:9px; line-height:1.4; }
}



/* R15 — pulido del panel de administración: el control se fija al centro
   de la ventana visible, incluso al desplazarse dentro del panel. */
.manager-collapse {
  top:50vh;
  top:50dvh;
  transform:translate(50%,-50%);
}
@media(max-width:690px) {
  #manager-panel:not([hidden]):not(.is-collapsed) + #manager-collapse {
    top:50vh;
    top:50dvh;
    transform:translateY(-50%);
  }
  #manager-panel.is-collapsed + #manager-collapse {
    top:50vh;
    top:50dvh;
    transform:translate(50%,-50%);
  }
}

/* R15 — Minimalismo contemporáneo / edición editorial contemporánea.
   Más tipografía editorial, una sola línea de enmarcado, fotografía continua,
   contraste cálido y superficies simplificadas. Mantiene todos los contenidos. */
body.territory-neo-minimal {
  --neo-ink:#252b28;
  --neo-muted:#73776f;
  --neo-paper:#f7f5ef;
  --neo-line:#d9d6cb;
  background:#eceae2;
  color:var(--neo-ink);
}
body.territory-neo-minimal .topbar {
  border-bottom:1px solid #d4d1c6;
}
body.territory-neo-minimal .brand,
body.territory-neo-minimal .brand-mark,
body.territory-neo-minimal .brand-copy b { color:var(--neo-ink); }
body.territory-neo-minimal .brand-mark { font-weight:700; letter-spacing:-1.45px; }
body.territory-neo-minimal .brand-mark span { color:var(--violet); }
body.territory-neo-minimal .brand-copy,
body.territory-neo-minimal .product-label { color:#6f756e; }
body.territory-neo-minimal .brand-divider { background:#252b2835; }
body.territory-neo-minimal .product-label .live-dot { background:var(--violet); box-shadow:none; }
body.territory-neo-minimal .icon-button,
body.territory-neo-minimal .manager-trigger {
  color:var(--neo-ink); border:1px solid #d4d1c6; border-radius:3px; background:#f8f7f1;
}
body.territory-neo-minimal .icon-button:hover,
body.territory-neo-minimal .manager-trigger:hover { color:var(--violet); background:#fff; border-color:var(--violet); }
body.territory-neo-minimal .stage { padding-top:24px; }
body.territory-neo-minimal .eyebrow { color:#70766e; letter-spacing:1.8px; }
body.territory-neo-minimal .eyebrow-line { width:34px; background:var(--violet); }
body.territory-neo-minimal .value-card {
  grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  min-height:650px; height:auto; overflow:hidden;
  border:1px solid #d5d2c7; border-radius:2px; background:var(--neo-paper);
  box-shadow:0 20px 48px rgba(36,42,35,.065);
}
body.territory-neo-minimal .profile-panel {
  grid-column:1; grid-row:1; min-width:0; padding:32px 31px 0 36px;
  background:var(--neo-paper); border-right:1px solid var(--neo-line); overflow:visible;
}
body.territory-neo-minimal .profile-topline { min-height:29px; padding-bottom:13px; border-bottom:1px solid var(--neo-line); }
body.territory-neo-minimal .overline { color:#73776f; font-size:8px; letter-spacing:1.55px; }
body.territory-neo-minimal .overline span { color:var(--violet); }
body.territory-neo-minimal .verified-mark {
  width:25px; height:25px; border:1px solid #d7d4c9; border-radius:50%;
  color:var(--neo-ink); background:#f1efe7;
}
body.territory-neo-minimal .identity-row {
  grid-template-columns:minmax(0,1fr) 70px; align-items:start; gap:13px; padding-top:35px;
}
body.territory-neo-minimal .identity-kicker {
  color:#6d746b; margin-bottom:11px; font-size:8px; line-height:1.55;
  font-weight:700; letter-spacing:1.35px;
}
body.territory-neo-minimal .identity-block h1 {
  color:#242a26; font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(44px,4.2vw,60px); font-weight:500;
  letter-spacing:-.058em; line-height:.98;
}
body.territory-neo-minimal .identity-block h1 span { color:var(--violet); font-weight:500; }
body.territory-neo-minimal .profile-role {
  max-width:28ch; margin-top:14px; color:#505950; font-size:11px; font-weight:600; line-height:1.65;
}
body.territory-neo-minimal .profile-qr {
  width:70px; padding:5px 4px; border:1px solid #d8d5ca; border-radius:2px;
  background:#fcfbf7; color:#343a34; box-shadow:none;
}
body.territory-neo-minimal .profile-qr:hover { border-color:var(--violet); background:#fff; }
body.territory-neo-minimal .profile-qr-visual,
body.territory-neo-minimal .profile-qr-visual img,
body.territory-neo-minimal .profile-qr-visual canvas { width:58px!important; height:58px!important; max-width:58px; border-radius:0; }
body.territory-neo-minimal .profile-qr-caption { color:var(--violet); font-size:7px; line-height:1.4; letter-spacing:.25px; }
body.territory-neo-minimal .value-statement {
  max-width:45ch; margin-top:18px; padding-left:13px; border-left:1px solid #c9c7ba;
  color:#686e65; font-size:11px; line-height:1.8;
}
body.territory-neo-minimal .primary-actions { margin:18px 0 19px; gap:9px; }
body.territory-neo-minimal .button {
  min-height:42px; padding-inline:15px; border-radius:2px; font-size:9px;
  font-weight:700; box-shadow:none; letter-spacing:.1px;
}
body.territory-neo-minimal .button-primary { color:#fff; background:var(--violet); border-color:var(--violet); }
body.territory-neo-minimal .button-primary:hover { filter:brightness(.92); box-shadow:none; }
body.territory-neo-minimal .button-outline { color:#303731; background:transparent; border-color:#cac9bf; }
body.territory-neo-minimal .button-outline:hover { background:#fffdf8; border-color:var(--violet); }
body.territory-neo-minimal .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; margin:0 0 14px; }
body.territory-neo-minimal .feature-card {
  grid-template-columns:28px minmax(0,1fr) 10px; gap:8px; padding:12px 9px;
  border:0; border-top:1px solid var(--neo-line); border-bottom:1px solid var(--neo-line);
  border-radius:0; background:transparent; box-shadow:none;
}
body.territory-neo-minimal .feature-card + .feature-card { border-left:1px solid var(--neo-line); padding-left:12px; }
body.territory-neo-minimal .feature-card:hover { transform:none; background:#fcfbf7; }
body.territory-neo-minimal .feature-icon { width:27px; height:27px; color:#454c45; border:1px solid #d4d2c8; border-radius:2px; background:transparent; }
body.territory-neo-minimal .feature-title { color:#292f2b; font-size:10px; font-weight:700; }
body.territory-neo-minimal .feature-description { color:#777b73; font-size:9px; line-height:1.48; }
body.territory-neo-minimal .feature-arrow,
body.territory-neo-minimal .feature-card .feature-status { color:var(--violet); }
body.territory-neo-minimal .micro-experience { border-top:1px solid var(--neo-line); padding-top:13px; }
body.territory-neo-minimal .micro-heading { color:#6d746b; font-weight:700; letter-spacing:1.25px; }
body.territory-neo-minimal .micro-spark { color:var(--violet); }
body.territory-neo-minimal .tabs { gap:18px; border-bottom-color:var(--neo-line); }
body.territory-neo-minimal .tab { color:#83877e; font-weight:600; }
body.territory-neo-minimal .tab.is-active { color:#252b28; }
body.territory-neo-minimal .tab.is-active::after { height:2px; background:var(--violet); }
body.territory-neo-minimal .panel-lead { color:#252b28; font-size:18px; font-weight:600; letter-spacing:-.45px; }
body.territory-neo-minimal .panel-copy { color:#71766e; font-size:10px; line-height:1.7; }
body.territory-neo-minimal .skill-chips { gap:6px; }
body.territory-neo-minimal .skill-chips span { padding:5px 9px; color:#4c554d; background:transparent; border:1px solid #d4d4ca; border-radius:2px; font-weight:500; }
body.territory-neo-minimal .contact-strip { border-top:1px solid var(--neo-line); }
body.territory-neo-minimal .quick-links a,
body.territory-neo-minimal .quick-links button { color:#6d746b; border:1px solid #d4d2c8; border-radius:50%; }
body.territory-neo-minimal .quick-links a:hover,
body.territory-neo-minimal .quick-links button:hover { color:var(--violet); background:#fff; border-color:var(--violet); }
body.territory-neo-minimal .footer-brand { color:#252b28; font-weight:700; }
body.territory-neo-minimal .footer-brand span,
body.territory-neo-minimal .stage-footer p em { color:var(--violet); }
body.territory-neo-minimal .stage-footer p,
body.territory-neo-minimal .footer-note { color:#747970; }
body.territory-neo-minimal .portrait-panel {
  grid-column:2; grid-row:1; align-self:stretch; min-width:0; min-height:0; height:auto;
  margin:12px 12px 12px 0; overflow:hidden; border:1px solid #dad7cc; border-radius:1px;
  background:#d5d8cf; isolation:isolate; box-shadow:none;
}
body.territory-neo-minimal .portrait {
  z-index:0; inset:0; width:100%; height:100%; object-position:56% center;
  filter:saturate(.78) contrast(1.035); border-radius:0;
}
body.territory-neo-minimal .portrait-overlay {
  z-index:1; inset:0;
  background:linear-gradient(180deg,#18231d20 0%,#18231d00 31%,#18231d14 54%,#18231dd9 100%);
}
body.territory-neo-minimal .portrait-panel::after { display:none; }
body.territory-neo-minimal .portrait-topline { z-index:3; top:27px; left:26px; right:26px; }
body.territory-neo-minimal .mini-brand { font-weight:700; letter-spacing:-1.3px; }
body.territory-neo-minimal .mini-brand span { color:#fff; }
body.territory-neo-minimal .portrait-index { color:#ffffffe8; font-size:7px; letter-spacing:1.2px; }
body.territory-neo-minimal .portrait-index i { background:#fff; width:25px; height:1px; }
body.territory-neo-minimal .portrait-copy { z-index:3; left:30px; right:28px; bottom:53px; }
body.territory-neo-minimal .photo-kicker {
  display:inline-block; padding:0 0 9px; border:0; border-bottom:1px solid #ffffff9c;
  border-radius:0; background:transparent; color:#ffffffe8; font-size:8px;
  letter-spacing:1.65px; backdrop-filter:none;
}
body.territory-neo-minimal .portrait-copy p {
  max-width:9ch; margin:17px 0 15px; font-family:var(--font-display);
  font-size:clamp(31px,2.9vw,40px); font-weight:600; letter-spacing:-.055em; line-height:1.03;
}
body.territory-neo-minimal .portrait-copy p em { color:#f2efe3; font-family:"Playfair Display",Georgia,serif; font-style:italic; font-weight:500; }
body.territory-neo-minimal .portrait-rule { width:38px; height:1px; background:#fff; }
body.territory-neo-minimal .portrait-caption { max-width:25ch; color:#ffffffdf; font-size:10px; line-height:1.6; }
body.territory-neo-minimal .orbit-caption { z-index:3; left:27px; bottom:19px; color:#ffffffc9; font-size:7px; letter-spacing:1.2px; }
body.territory-neo-minimal .orbit-caption span { background:#fff; }
.territory-swatch-neo-minimal { color:#252b28; border:1px solid #d5d2c7; border-radius:2px; background:linear-gradient(90deg,#f7f5ef 0 54%,#464d45 54% 100%); }
.territory-swatch-neo-minimal b { color:#252b28; font-family:"Playfair Display",Georgia,serif; font-size:22px; font-weight:500; }
.territory-swatch-neo-minimal i { height:1px; background:#7a8177; }
@media(min-width:1200px) {
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr); }
}
@media(max-width:1199px) and (min-width:951px) {
  body.territory-neo-minimal .profile-panel { padding:29px 23px 0 26px; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 66px; gap:9px; padding-top:30px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(40px,4.1vw,54px); }
  body.territory-neo-minimal .profile-qr { width:66px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:54px!important; height:54px!important; max-width:54px; }
  body.territory-neo-minimal .feature-card { grid-template-columns:24px minmax(0,1fr) 9px; gap:6px; padding-inline:6px; }
  body.territory-neo-minimal .feature-card + .feature-card { padding-left:8px; }
  body.territory-neo-minimal .portrait-panel { min-height:610px; }
}
@media(max-width:950px) and (min-width:691px) {
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.03fr) minmax(280px,.97fr); min-height:0; }
  body.territory-neo-minimal .profile-panel { padding:27px 20px 10px 24px; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 62px; gap:7px; padding-top:22px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(35px,4vw,45px); }
  body.territory-neo-minimal .profile-qr { width:62px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:50px!important; height:50px!important; max-width:50px; }
  body.territory-neo-minimal .profile-role { font-size:10px; }
  body.territory-neo-minimal .value-statement { font-size:10px; line-height:1.6; margin-top:13px; }
  body.territory-neo-minimal .portrait-panel { min-height:0; margin:8px 8px 8px 0; }
  body.territory-neo-minimal .portrait-copy { left:20px; right:18px; bottom:39px; }
  body.territory-neo-minimal .portrait-copy p { font-size:clamp(29px,3.2vw,36px); }
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
  body.territory-neo-minimal .feature-card + .feature-card { border-left:0; padding-left:9px; }
}
@media(max-width:690px) {
  body.territory-neo-minimal .stage { padding-top:17px; }
  body.territory-neo-minimal .value-card { display:flex; flex-direction:column; gap:0; min-height:0; height:auto; overflow:hidden; border:1px solid #d5d2c7; border-radius:2px; background:var(--neo-paper); box-shadow:0 12px 35px rgba(30,39,32,.06); }
  body.territory-neo-minimal .portrait-panel { order:0; width:auto; height:clamp(260px,68vw,320px)!important; min-height:260px!important; max-height:320px!important; flex:0 0 auto; margin:8px 8px 0; border-radius:1px; }
  body.territory-neo-minimal .portrait { inset:0; width:100%; height:100%; }
  body.territory-neo-minimal .portrait-overlay { inset:0; }
  body.territory-neo-minimal .portrait-topline { top:22px; left:21px; right:21px; }
  body.territory-neo-minimal .portrait-copy { left:22px; right:20px; bottom:34px; }
  body.territory-neo-minimal .portrait-copy p { max-width:12ch; margin:9px 0 7px; font-size:clamp(27px,7.4vw,34px); line-height:1; }
  body.territory-neo-minimal .orbit-caption { left:21px; bottom:17px; }
  body.territory-neo-minimal .profile-panel { order:1; padding:23px 18px 0; background:transparent; border-right:0; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 66px; gap:8px; padding-top:20px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(36px,10.6vw,46px); letter-spacing:-.052em; }
  body.territory-neo-minimal .profile-qr { width:66px; padding:4px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:54px!important; height:54px!important; max-width:54px; }
  body.territory-neo-minimal .value-statement { margin-top:13px; font-size:11px; line-height:1.65; }
  body.territory-neo-minimal .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-neo-minimal .feature-card { grid-template-columns:25px minmax(0,1fr); gap:6px; padding:10px 6px; }
  body.territory-neo-minimal .feature-card + .feature-card { padding-left:8px; }
  body.territory-neo-minimal .feature-arrow { display:none; }
  body.territory-neo-minimal .feature-title { font-size:9px; }
  body.territory-neo-minimal .feature-description { font-size:8px; }
  body.territory-neo-minimal .micro-experience { padding-top:12px; }
  body.territory-neo-minimal .tabs { flex-wrap:wrap; gap:13px; }
  body.territory-neo-minimal .tab { font-size:9px; }
  body.territory-neo-minimal .panel-lead { font-size:16px; }
  body.territory-neo-minimal .stage-footer { grid-template-columns:1fr auto; }
}
@media(max-width:390px) {
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 58px; gap:7px; }
  body.territory-neo-minimal .identity-block h1 { font-size:32px; letter-spacing:-1.45px; }
  body.territory-neo-minimal .identity-kicker { font-size:7px; }
  body.territory-neo-minimal .profile-qr { width:58px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:48px!important; height:48px!important; max-width:48px; }
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
  body.territory-neo-minimal .feature-card + .feature-card { border-left:0; padding-left:6px; }
}
