/* BRANDING +50 R11 — port de las tres direcciones de arte R10 al CMS original.
   No altera el DOM del administrador, los campos ni la lógica de guardado. */

/* 01 · MINIMALISMO ESTRATÉGICO — tarjeta dividida, fondo claro y jerarquía limpia. */
body.territory-minimal {
  background:
    radial-gradient(circle at 82% 0%, color-mix(in srgb,var(--violet) 8%,transparent), transparent 33%),
    linear-gradient(90deg, color-mix(in srgb,var(--ink) 3%,transparent) 1px, transparent 1px),
    linear-gradient(0deg, color-mix(in srgb,var(--ink) 3%,transparent) 1px, transparent 1px),
    #f1f2f6;
  background-size:auto,18px 18px,18px 18px,auto;
  color:var(--ink);
}
body.territory-minimal .topbar { border-bottom-color:#1d2a251e; }
body.territory-minimal .brand,
body.territory-minimal .brand-mark,
body.territory-minimal .brand-copy b { color:var(--ink); }
body.territory-minimal .brand-copy,
body.territory-minimal .product-label { color:#667083; }
body.territory-minimal .brand-divider { background:#1d2a2533; }
body.territory-minimal .product-label .live-dot { background:var(--violet); box-shadow:0 0 0 4px color-mix(in srgb,var(--violet) 11%,transparent); }
body.territory-minimal .icon-button { color:var(--ink); border-color:#17203335; background:#ffffffa8; }
body.territory-minimal .icon-button:hover { background:#fff; border-color:var(--violet); }
body.territory-minimal .manager-trigger { color:var(--ink); border-color:#17203335; background:#ffffffa8; }
body.territory-minimal .manager-trigger:hover { background:#fff; border-color:var(--violet); }
body.territory-minimal .eyebrow { color:#687184; }
body.territory-minimal .eyebrow-line { background:var(--violet); }
body.territory-minimal .value-card {
  grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
  min-height:620px; height:auto; border:1px solid #dce0e8; border-radius:12px;
  background:#fff; box-shadow:0 22px 55px #17203316; overflow:hidden;
}
body.territory-minimal .portrait-panel { grid-column:auto; grid-row:auto; min-height:620px; background:#101827; }
body.territory-minimal .portrait { z-index:0; object-position:56% center; }
body.territory-minimal .portrait-overlay { z-index:1; background:linear-gradient(180deg,#0a102014 0%,#0a102000 29%,#0a102052 55%,#0a1025ed 100%),linear-gradient(90deg,#10182710,transparent 80%); }
body.territory-minimal .portrait-panel::after {
  z-index:2; display:block; top:-8%; left:-36%; width:105%; aspect-ratio:1;
  border:1px solid color-mix(in srgb,var(--violet-light) 50%,transparent); border-radius:50%;
  box-shadow:0 0 0 24px color-mix(in srgb,var(--violet) 9%,transparent),0 0 0 56px color-mix(in srgb,var(--violet) 6%,transparent);
}
body.territory-minimal .portrait-topline,
body.territory-minimal .portrait-copy,
body.territory-minimal .orbit-caption { z-index:3; }
body.territory-minimal .portrait-copy { bottom:55px; left:clamp(23px,3vw,39px); right:24px; }
body.territory-minimal .photo-kicker { padding:7px 10px; border:1px solid color-mix(in srgb,var(--violet-light) 55%,transparent); border-radius:0; background:#11182c70; color:#f0ecff; backdrop-filter:none; }
body.territory-minimal .portrait-copy p { max-width:10ch; font:900 clamp(39px,4.4vw,57px)/.97 var(--font-display); letter-spacing:-.055em; }
body.territory-minimal .portrait-copy p em { color:var(--violet-light); }
body.territory-minimal .portrait-rule { width:46px; height:2px; border-radius:0; background:linear-gradient(90deg,var(--violet),var(--violet-light)); }
body.territory-minimal .portrait-caption { color:#ffffffc9; font-size:11px; line-height:1.6; }
body.territory-minimal .profile-panel { grid-column:auto; grid-row:auto; min-width:0; padding:25px clamp(22px,3vw,39px) 0; background:#fff; overflow:visible; }
body.territory-minimal .identity-block h1 { font-size:clamp(38px,4vw,53px); font-weight:920; letter-spacing:-.065em; }
body.territory-minimal .identity-block h1 span { color:var(--violet); }
body.territory-minimal .verified-mark { border-radius:6px; color:var(--violet); background:color-mix(in srgb,var(--violet) 8%,white); border-color:color-mix(in srgb,var(--violet) 26%,white); }
body.territory-minimal .profile-qr { border-radius:8px; box-shadow:none; }
body.territory-minimal .button-primary { border-radius:6px; box-shadow:0 7px 18px color-mix(in srgb,var(--violet) 18%,transparent); }
body.territory-minimal .button-outline { border-radius:6px; }
body.territory-minimal .feature-rail { gap:8px; }
body.territory-minimal .feature-card { border:1px solid var(--line); border-radius:5px; background:#fbfaf8; }
body.territory-minimal .feature-card:hover { background:color-mix(in srgb,var(--violet) 4%,white); }
body.territory-minimal .micro-experience { border-top:1px solid var(--line); }
body.territory-minimal .tabs { border-bottom-color:var(--line); }
body.territory-minimal .tab.is-active { color:var(--violet); }
body.territory-minimal .contact-strip { border-top-color:var(--line); }
body.territory-minimal .quick-links a,
body.territory-minimal .quick-links button { border-radius:50%; }
body.territory-minimal .stage-footer { color:#758093; border-top:0; }
body.territory-minimal .footer-brand { color:#263044; }
body.territory-minimal .stage-footer p { color:#667184; }
body.territory-minimal .footer-note { color:#7b8596; }

/* 02 · EDITORIAL CONTUNDENTE — reversa la tarjeta y recupera portada verde/crema. */
body.territory-editorial {
  background:
    radial-gradient(circle at 80% 0%,#315b4814,transparent 34%),
    #efece2;
  color:#202b25;
}
body.territory-editorial .topbar { border-bottom:1px solid #1d2a2525; }
body.territory-editorial .brand,
body.territory-editorial .brand-mark,
body.territory-editorial .brand-copy b { color:#202b25; }
body.territory-editorial .brand-copy,
body.territory-editorial .product-label { color:#687268; }
body.territory-editorial .brand-divider { background:#1d2a2533; }
body.territory-editorial .product-label .live-dot { background:#315b48; box-shadow:0 0 0 4px #315b4818; }
body.territory-editorial .icon-button { color:#24362c; border-color:#26362c35; background:#f8f5ec; }
body.territory-editorial .manager-trigger { color:#26362c; border-color:#26362c48; background:transparent; }
body.territory-editorial .manager-trigger:hover { background:#315b4810; border-color:#315b48; }
body.territory-editorial .eyebrow { color:#687268; }
body.territory-editorial .eyebrow-line { background:#315b48; }
body.territory-editorial .value-card {
  grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr); grid-template-rows:minmax(690px,auto);
  min-height:690px; height:auto; border:1px solid #d4cec1; border-radius:0; border-top:0;
  background:#f7f3e9; box-shadow:0 16px 40px #29372f12; overflow:hidden;
}
body.territory-editorial .profile-panel { grid-column:1; grid-row:1; min-width:0; padding:29px clamp(23px,2.8vw,41px) 0; background:#f7f3e9; overflow:visible; }
body.territory-editorial .portrait-panel { grid-column:2; grid-row:1; min-width:0; min-height:690px; height:100%; background:#294638; overflow:hidden; }
body.territory-editorial .portrait { z-index:0; top:68px; left:24px; right:24px; bottom:auto; width:calc(100% - 48px); height:calc(100% - 314px); object-fit:cover; object-position:53% 34%; filter:saturate(.84) contrast(1.02); }
body.territory-editorial .portrait-overlay { display:none; }
body.territory-editorial .portrait-panel::after { content:""; display:block; position:absolute; z-index:1; top:55px; left:24px; right:24px; width:auto; height:1px; aspect-ratio:auto; border:0; border-radius:0; background:#bdc7b8; opacity:.9; box-shadow:none; }
body.territory-editorial .portrait-topline { z-index:3; left:25px; right:25px; top:18px; align-items:center; }
body.territory-editorial .mini-brand { color:#f7f3e9; font-family:Georgia,"Times New Roman",serif; font-size:22px; font-weight:500; letter-spacing:-.8px; }
body.territory-editorial .mini-brand span { color:#e1bd83; }
body.territory-editorial .portrait-index { color:#dce5dc; font-size:7px; letter-spacing:1.1px; }
body.territory-editorial .portrait-index i { background:#e1bd83; }
body.territory-editorial .portrait-copy { z-index:3; left:clamp(24px,2.4vw,34px); right:clamp(22px,2.2vw,31px); bottom:51px; }
body.territory-editorial .photo-kicker { display:inline-block; padding:6px 9px; border:1px solid #d9b9858c; border-radius:0; background:#294638; color:#f4ddb6; font-size:8px; letter-spacing:1.5px; }
body.territory-editorial .portrait-copy p { max-width:380px; margin:11px 0 10px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(34px,3.1vw,43px); line-height:1.02; letter-spacing:-1.4px; font-weight:500; }
body.territory-editorial .portrait-copy p em { color:#e1bd83; font-style:italic; font-weight:400; }
body.territory-editorial .portrait-rule { width:45px; height:1px; background:#e1bd83; }
body.territory-editorial .portrait-caption { display:block; margin-top:9px; color:#e3e9df; font-size:10px; line-height:1.55; }
body.territory-editorial .orbit-caption { z-index:3; left:25px; bottom:18px; color:#dce5dcad; font-size:7px; letter-spacing:1.4px; }
body.territory-editorial .orbit-caption span { background:#e1bd83; }
body.territory-editorial .profile-topline { color:#67766a; border-bottom:1px solid #d8d0c2; padding-bottom:13px; font-size:8px; letter-spacing:1.3px; }
body.territory-editorial .overline { color:#67766a; }
body.territory-editorial .overline span { color:#315b48; }
body.territory-editorial .verified-mark { color:#315b48; background:#e7eade; border:1px solid #315b4830; border-radius:0; }
body.territory-editorial .identity-kicker { color:#92704d; font-size:8px; letter-spacing:1.55px; }
body.territory-editorial .identity-block h1 { color:#202b25; font-family:Georgia,"Times New Roman",serif; font-size:clamp(42px,3.8vw,58px); line-height:.97; letter-spacing:-2px; font-weight:500; }
body.territory-editorial .identity-block h1 span { color:#315b48; }
body.territory-editorial .profile-role { color:#29382e; font-size:12px; line-height:1.48; font-weight:750; }
body.territory-editorial .profile-qr { border:1px solid #d2c4ae; border-radius:0; background:#fdfaf2; color:#3d4b40; }
body.territory-editorial .profile-qr-caption { color:#315b48; }
body.territory-editorial .value-statement { color:#5c665d; font-size:11px; line-height:1.78; margin-top:16px; }
body.territory-editorial .button-primary { color:#f8f4ea; background:#315b48; border-radius:0; box-shadow:none; }
body.territory-editorial .button-primary:hover { background:#234634; }
body.territory-editorial .button-outline { color:#26362c; border-color:#c9c2b4; background:#fbf8f0; border-radius:0; box-shadow:none; }
body.territory-editorial .button-outline:hover { background:#e9e9df; border-color:#315b48; }
body.territory-editorial .feature-rail { gap:7px; }
body.territory-editorial .feature-card { border:1px solid #d8d0c2; border-radius:0; background:#fbf8f0; box-shadow:none; }
body.territory-editorial .feature-card:hover { background:#eeece2; transform:none; border-color:#315b48; }
body.territory-editorial .feature-icon { border-radius:0; background:#315b48; color:#f8f4ea; }
body.territory-editorial .feature-arrow,
body.territory-editorial .feature-card .feature-status { color:#315b48; }
body.territory-editorial .micro-experience { border-top:1px solid #d8d0c2; }
body.territory-editorial .micro-heading { color:#738073; font-size:8px; letter-spacing:1.45px; }
body.territory-editorial .micro-spark { color:#315b48; }
body.territory-editorial .tabs { gap:16px; border-bottom-color:#d8d0c2; }
body.territory-editorial .tab { color:#737b70; font-size:9px; }
body.territory-editorial .tab.is-active { color:#315b48; }
body.territory-editorial .tab.is-active::after { background:#315b48; }
body.territory-editorial .panel-lead { color:#202b25; font-family:Georgia,"Times New Roman",serif; font-size:19px; font-weight:500; }
body.territory-editorial .panel-copy { color:#5f695f; font-size:10px; line-height:1.72; }
body.territory-editorial .skill-chips span { border:1px solid #d7cebf; border-radius:0; color:#315b48; background:#eeece2; }
body.territory-editorial .case-icon { border-radius:0; color:#f7f3e9; background:#315b48; }
body.territory-editorial .contact-strip { border-top:1px solid #d8d0c2; }
body.territory-editorial .quick-links a,
body.territory-editorial .quick-links button { color:#526055; border-radius:0; border-color:#d8d0c2; }
body.territory-editorial .quick-links a:hover,
body.territory-editorial .quick-links button:hover { color:#315b48; border-color:#315b48; background:#eeece2; }
body.territory-editorial .stage-footer { color:#6c766b; border-top:0; }
body.territory-editorial .footer-brand { color:#26362c; }
body.territory-editorial .stage-footer p { color:#6c766b; }
body.territory-editorial .stage-footer p em { color:#92704d; }
body.territory-editorial .footer-note { color:#747c70; }

/* 03 · EXPRESIÓN CONTEMPORÁNEA — hero panorámico y perfil en una segunda banda. */
body.territory-contemporary {
  background:
    linear-gradient(90deg,#1d23310b 1px,transparent 1px),
    linear-gradient(0deg,#1d23310b 1px,transparent 1px),
    #edf0ef;
  background-size:22px 22px,22px 22px,auto;
  color:#1d2331;
}
body.territory-contemporary .topbar { border-bottom:1px solid #1d233125; }
body.territory-contemporary .brand,
body.territory-contemporary .brand-mark,
body.territory-contemporary .brand-copy b { color:#1d2331; }
body.territory-contemporary .brand-copy,
body.territory-contemporary .product-label { color:#66717b; }
body.territory-contemporary .brand-divider { background:#1d233140; }
body.territory-contemporary .product-label .live-dot { background:var(--coral); box-shadow:0 0 0 4px color-mix(in srgb,var(--coral) 12%,transparent); }
body.territory-contemporary .icon-button { color:#1d2331; border-color:#1d233140; background:#ffffff95; }
body.territory-contemporary .manager-trigger { color:#1d2331; border-color:#1d233140; background:#ffffff90; }
body.territory-contemporary .eyebrow { color:#697481; }
body.territory-contemporary .eyebrow-line { background:var(--coral); }
body.territory-contemporary .value-card {
  display:flex; flex-direction:column; min-height:0; height:auto; border:1px solid #d8dfe0;
  border-radius:0; background:#fbfcfb; color:#1d2331; box-shadow:0 24px 55px #1d233116; overflow:hidden;
}
body.territory-contemporary .portrait-panel { position:relative; isolation:isolate; flex:0 0 auto; width:100%; height:clamp(350px,34vw,445px); min-height:350px; max-height:445px; background:#1d2331; overflow:hidden; }
body.territory-contemporary .portrait { z-index:0; top:0; left:auto; right:0; bottom:0; width:69%; height:100%; object-fit:cover; object-position:58% 12%; filter:saturate(.88) contrast(1.04); }
body.territory-contemporary .portrait-overlay { z-index:1; background:linear-gradient(90deg,#1d2331 0%,#1d2331 23%,#1d2331f0 34%,#1d2331b8 47%,#1d23314d 62%,transparent 78%),linear-gradient(0deg,#1d233140,transparent 27%); }
body.territory-contemporary .portrait-panel::after { content:""; display:block; position:absolute; z-index:2; top:0; right:0; left:auto; width:19%; height:8px; aspect-ratio:auto; border:0; border-radius:0; background:var(--coral); box-shadow:none; pointer-events:none; }
body.territory-contemporary .portrait-topline { z-index:3; left:5.1%; right:5.1%; top:24px; align-items:center; }
body.territory-contemporary .mini-brand { color:#fff; font-size:24px; letter-spacing:-1.7px; font-weight:950; }
body.territory-contemporary .mini-brand span { color:#56d7c9; }
body.territory-contemporary .portrait-index { color:#e0e6e8; font-size:7px; letter-spacing:1.5px; }
body.territory-contemporary .portrait-index i { background:#56d7c9; }
body.territory-contemporary .portrait-copy { z-index:3; left:5.1%; right:49%; bottom:49px; }
body.territory-contemporary .photo-kicker { padding:7px 9px; border:0; border-radius:0; background:var(--coral); color:#fff; font-size:8px; letter-spacing:1.4px; backdrop-filter:none; }
body.territory-contemporary .portrait-copy p { max-width:500px; margin:14px 0 12px; color:#fff; font-size:clamp(40px,4.8vw,64px); line-height:.93; letter-spacing:-.06em; font-weight:950; }
body.territory-contemporary .portrait-copy p em { color:#56d7c9; font-style:normal; }
body.territory-contemporary .portrait-rule { width:58px; height:4px; border-radius:0; background:#56d7c9; }
body.territory-contemporary .portrait-caption { color:#e0e6e8e8; font-size:11px; line-height:1.6; max-width:350px; margin-top:9px; }
body.territory-contemporary .orbit-caption { z-index:3; left:5.1%; bottom:16px; color:#e0e6e8a8; font-size:7px; letter-spacing:1.5px; }
body.territory-contemporary .orbit-caption span { background:#56d7c9; }
body.territory-contemporary .profile-panel {
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:22px; align-content:start;
  min-width:0; padding:27px clamp(24px,3.1vw,46px) 0; background:#fbfcfb; overflow:visible;
}
body.territory-contemporary .profile-topline,
body.territory-contemporary .identity-row,
body.territory-contemporary .primary-actions,
body.territory-contemporary .feature-rail,
body.territory-contemporary .micro-experience,
body.territory-contemporary .contact-strip { grid-column:1/-1; }
body.territory-contemporary .profile-topline { color:#6f7883; border-bottom:1px solid #d9dfe0; padding-bottom:13px; font-size:8px; letter-spacing:1.45px; }
body.territory-contemporary .overline { color:#6f7883; }
body.territory-contemporary .overline span { color:var(--coral); }
body.territory-contemporary .verified-mark { border:0; border-radius:0; color:#fff; background:#1d2331; }
body.territory-contemporary .identity-row { grid-template-columns:minmax(0,1fr) 99px; gap:16px; padding-top:18px; align-items:center; }
body.territory-contemporary .identity-kicker { color:var(--coral); font-size:8px; letter-spacing:1.55px; }
body.territory-contemporary .identity-block h1 { color:#1d2331; font-size:clamp(46px,5.3vw,70px); line-height:.92; letter-spacing:-.07em; font-weight:950; }
body.territory-contemporary .identity-block h1 span { color:var(--coral); }
body.territory-contemporary .profile-role { color:#272e3c; font-size:13px; font-weight:850; line-height:1.5; }
body.territory-contemporary .profile-qr { width:99px; padding:6px 5px 7px; border:1px solid #cfd8d8; border-top:3px solid var(--coral); border-radius:0; background:#f4f8f7; color:#27313e; }
body.territory-contemporary .profile-qr-visual,
body.territory-contemporary .profile-qr-visual img,
body.territory-contemporary .profile-qr-visual canvas { width:82px !important; height:82px !important; max-width:82px; }
body.territory-contemporary .profile-qr-caption { color:#1c7770; }
body.territory-contemporary .value-statement { grid-column:1/span 8; color:#596471; font-size:12px; line-height:1.75; margin-top:17px; }
body.territory-contemporary .primary-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:18px 0 15px; }
body.territory-contemporary .button { border-radius:0; box-shadow:none; font-size:10px; font-weight:850; }
body.territory-contemporary .button-primary { color:#fff; background:#1d2331; border-color:#1d2331; }
body.territory-contemporary .button-primary:hover { background:var(--coral); border-color:var(--coral); }
body.territory-contemporary .button-outline { color:#26303c; border-color:#cdd6d8; background:#fff; }
body.territory-contemporary .button-outline:hover { color:#1d2331; border-color:var(--coral); background:#fff5f2; }
body.territory-contemporary .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:0 0 18px; }
body.territory-contemporary .feature-card { border:1px solid #cdd8d8; border-radius:0; background:#fff; box-shadow:none; }
body.territory-contemporary .feature-card:hover { transform:none; background:#fff5f2; border-color:var(--coral); }
body.territory-contemporary .feature-icon { border-radius:0; color:#fff; background:#1d2331; }
body.territory-contemporary .feature-arrow { color:var(--coral); }
body.territory-contemporary .feature-card .feature-status { color:#217d75; }
body.territory-contemporary .micro-experience { border-top:1px solid #d9dfe0; padding-top:15px; }
body.territory-contemporary .micro-heading { color:#707984; font-size:8px; letter-spacing:1.5px; }
body.territory-contemporary .micro-spark { color:var(--coral); }
body.territory-contemporary .tabs { grid-column:1/-1; gap:18px; border-bottom-color:#d9dfe0; }
body.territory-contemporary .tab { color:#697481; font-size:10px; font-weight:800; }
body.territory-contemporary .tab.is-active { color:var(--coral); }
body.territory-contemporary .tab.is-active::after { background:var(--coral); }
body.territory-contemporary .panel-lead { color:#1d2331; font-size:20px; font-weight:900; letter-spacing:-.7px; }
body.territory-contemporary .panel-copy { color:#596471; font-size:11px; line-height:1.72; }
body.territory-contemporary .skill-chips span { border:1px solid #d2dddd; border-radius:0; color:#217d75; background:#f0f7f5; }
body.territory-contemporary .contact-strip { border-top:1px solid #d9dfe0; }
body.territory-contemporary .quick-links a,
body.territory-contemporary .quick-links button { color:#525e6b; border-color:#cdd6d8; border-radius:0; }
body.territory-contemporary .quick-links a:hover,
body.territory-contemporary .quick-links button:hover { color:#e85337; border-color:var(--coral); background:#fff5f2; }
body.territory-contemporary .stage-footer { color:#697481; border-top:0; }
body.territory-contemporary .footer-brand { color:#1d2331; }
body.territory-contemporary .stage-footer p { color:#697481; }
body.territory-contemporary .stage-footer p em { color:#217d75; }
body.territory-contemporary .footer-note { color:#697481; }

/* Integración responsive: las tres composiciones siguen siendo legibles en tablet y móvil. */
@media (min-width:951px) {
  body.territory-minimal .value-card { grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); }
  body.territory-minimal .profile-panel { overflow:visible; }
  body.territory-editorial .value-card { grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr); height:auto; min-height:690px; }
  body.territory-editorial .portrait-panel { min-height:690px; height:auto; }
  body.territory-contemporary .profile-panel { display:grid; }
}
@media (max-width:950px) {
  body.territory-minimal .value-card { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); min-height:0; }
  body.territory-minimal .portrait-panel { min-height:620px; }
  body.territory-minimal .profile-panel { padding-inline:clamp(17px,2.4vw,24px); }
  body.territory-editorial .value-card { grid-template-columns:minmax(0,1.03fr) minmax(285px,.97fr); min-height:650px; }
  body.territory-editorial .portrait-panel { min-height:650px; }
  body.territory-editorial .identity-block h1 { font-size:clamp(38px,4vw,50px); }
  body.territory-editorial .portrait-copy p { font-size:clamp(32px,4.5vw,43px); }
  body.territory-contemporary .portrait-panel { height:clamp(340px,36vw,420px); min-height:340px; }
  body.territory-contemporary .portrait-copy p { font-size:clamp(39px,4.5vw,56px); }
  body.territory-contemporary .profile-panel { padding-inline:22px; }
}
@media (max-width:690px) {
  body.territory-minimal .value-card,
  body.territory-editorial .value-card,
  body.territory-contemporary .value-card { display:flex; flex-direction:column; min-height:0; border-radius:0; }
  body.territory-minimal .portrait-panel { height:clamp(320px,88vw,430px); min-height:0; flex:0 0 auto; }
  body.territory-minimal .profile-panel { padding:20px 18px 0; }
  body.territory-minimal .identity-block h1 { font-size:clamp(34px,10.5vw,46px); }
  body.territory-minimal .portrait-copy { left:22px; right:18px; bottom:43px; }
  body.territory-minimal .portrait-copy p { font-size:clamp(37px,11vw,49px); }
  body.territory-editorial .portrait-panel { order:0; height:clamp(490px,125vw,540px); min-height:0; flex:0 0 auto; }
  body.territory-editorial .portrait { top:54px; left:18px; right:18px; bottom:auto; width:calc(100% - 36px); height:calc(100% - 249px); object-position:50% 34%; }
  body.territory-editorial .portrait-panel::after { left:18px; right:18px; top:48px; }
  body.territory-editorial .portrait-topline { left:18px; right:18px; top:13px; }
  body.territory-editorial .portrait-copy { left:22px; right:22px; bottom:42px; }
  body.territory-editorial .portrait-copy p { max-width:9ch; font-size:clamp(29px,8vw,36px); letter-spacing:-1.1px; margin:8px 0; }
  body.territory-editorial .portrait-caption { font-size:9px; line-height:1.4; }
  body.territory-editorial .profile-panel { order:1; padding:22px 20px 0; }
  body.territory-editorial .identity-row { grid-template-columns:minmax(0,1fr) 76px; gap:8px; }
  body.territory-editorial .identity-block h1 { font-size:clamp(34px,8.8vw,48px); }
  body.territory-editorial .profile-qr { width:76px; }
  body.territory-editorial .profile-qr-visual,
  body.territory-editorial .profile-qr-visual img,
  body.territory-editorial .profile-qr-visual canvas { width:60px!important; height:60px!important; max-width:60px; }
  body.territory-editorial .feature-card { padding:8px; }
  body.territory-contemporary .portrait-panel { order:0; height:clamp(350px,59vw,420px); min-height:350px; max-height:420px; }
  body.territory-contemporary .portrait { width:70%; object-position:60% 18%; }
  body.territory-contemporary .portrait-copy { left:4.5%; right:38%; bottom:44px; }
  body.territory-contemporary .portrait-copy p { font-size:clamp(34px,7.8vw,53px); letter-spacing:-.055em; }
  body.territory-contemporary .portrait-caption { font-size:9px; line-height:1.45; }
  body.territory-contemporary .profile-panel { display:flex; flex-direction:column; order:1; padding:22px 18px 0; }
  body.territory-contemporary .identity-row { grid-template-columns:minmax(0,1fr) 76px; gap:8px; }
  body.territory-contemporary .identity-block h1 { font-size:clamp(34px,10vw,47px); letter-spacing:-.055em; }
  body.territory-contemporary .profile-qr { width:76px; padding:5px 4px; }
  body.territory-contemporary .profile-qr-visual,
  body.territory-contemporary .profile-qr-visual img,
  body.territory-contemporary .profile-qr-visual canvas { width:60px!important; height:60px!important; max-width:60px; }
  body.territory-contemporary .value-statement { margin-top:13px; }
  body.territory-contemporary .primary-actions { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-contemporary .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-contemporary .tabs { gap:12px; flex-wrap:wrap; }
  body.territory-contemporary .tab { font-size:8px; }
  body.territory-contemporary .panel-lead { font-size:15px; }
  body.territory-contemporary .stage-footer { grid-template-columns:1fr auto; }
}
@media (max-width:390px) {
  body.territory-minimal .feature-rail,
  body.territory-editorial .feature-rail,
  body.territory-contemporary .feature-rail { grid-template-columns:1fr; }
  body.territory-minimal .identity-row,
  body.territory-editorial .identity-row,
  body.territory-contemporary .identity-row { grid-template-columns:minmax(0,1fr) 64px; gap:6px; }
  body.territory-minimal .profile-qr,
  body.territory-editorial .profile-qr,
  body.territory-contemporary .profile-qr { width:64px; }
  body.territory-minimal .profile-qr-visual,
  body.territory-minimal .profile-qr-visual img,
  body.territory-minimal .profile-qr-visual canvas,
  body.territory-editorial .profile-qr-visual,
  body.territory-editorial .profile-qr-visual img,
  body.territory-editorial .profile-qr-visual canvas,
  body.territory-contemporary .profile-qr-visual,
  body.territory-contemporary .profile-qr-visual img,
  body.territory-contemporary .profile-qr-visual canvas { width:50px!important; height:50px!important; max-width:50px; }
  body.territory-contemporary .primary-actions { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion:reduce) {
  body.territory-editorial .portrait-panel::after,
  body.territory-contemporary .portrait-panel::after { transform:none; }
}



/* BRANDING +50 R12 — investigación aplicada a dos nuevas direcciones de diseño.
   Bauhaus: función, retícula asimétrica, geometría plana y primarios con intención.
   Minimalismo contemporáneo: espacio generoso, tonos neutros, fotografía escultórica y navegación clara.
   Ambos estilos actúan solo sobre la tarjeta pública; el CMS lateral conserva sus estilos y DOM. */

/* Swatches del selector de dirección visual. */
.territory-swatch-bauhaus {
  color:#171717;
  border:1px solid #171717;
  background:
    linear-gradient(90deg,transparent 0 61%,#2454aa 61% 100%),
    linear-gradient(0deg,#e13b32 0 24%,transparent 24% 100%),
    #f5c943;
}
.territory-swatch-bauhaus b { color:#171717; font-family:Arial,sans-serif; font-weight:900; font-size:19px; letter-spacing:-1.5px; }
.territory-swatch-bauhaus i { position:relative; z-index:1; background:#171717; }
.territory-swatch-neo-minimal {
  color:#293b31;
  border:1px solid #e2dfd6;
  border-radius:25px 25px 2px 2px;
  background:linear-gradient(135deg,#f8f6ef 0 58%,#e4e5dc 58% 100%);
}
.territory-swatch-neo-minimal b { color:#293b31; font-family:Georgia,serif; font-weight:500; }
.territory-swatch-neo-minimal i { height:1px; background:#6e796b; }

/* 04 · BAUHAUS FUNCIONAL */
body.territory-bauhaus {
  --bauhaus-red:#d9362e;
  --bauhaus-yellow:#f2c83d;
  --bauhaus-blue:#2456a6;
  --bauhaus-black:#17191b;
  --bauhaus-paper:#f5f1e7;
  background:
    linear-gradient(90deg,#17191b0b 1px,transparent 1px),
    linear-gradient(0deg,#17191b0b 1px,transparent 1px),
    var(--bauhaus-paper);
  background-size:24px 24px,24px 24px,auto;
  color:var(--bauhaus-black);
}
body.territory-bauhaus .ambient { display:none; }
body.territory-bauhaus .topbar { border-bottom:2px solid var(--bauhaus-black); }
body.territory-bauhaus .brand,
body.territory-bauhaus .brand-mark,
body.territory-bauhaus .brand-copy b { color:var(--bauhaus-black); }
body.territory-bauhaus .brand-mark { font-weight:900; letter-spacing:-1.5px; }
body.territory-bauhaus .brand-mark span { color:var(--bauhaus-red); }
body.territory-bauhaus .brand-copy,
body.territory-bauhaus .product-label { color:#555650; }
body.territory-bauhaus .brand-divider { background:var(--bauhaus-black); }
body.territory-bauhaus .product-label .live-dot { background:var(--bauhaus-red); box-shadow:none; }
body.territory-bauhaus .icon-button,
body.territory-bauhaus .manager-trigger { color:var(--bauhaus-black); border:1px solid var(--bauhaus-black); border-radius:0; background:#fdfbf4; }
body.territory-bauhaus .icon-button:hover,
body.territory-bauhaus .manager-trigger:hover { color:#fff; background:var(--bauhaus-black); border-color:var(--bauhaus-black); }
body.territory-bauhaus .eyebrow { color:#4d504f; }
body.territory-bauhaus .eyebrow-line { height:3px; background:var(--bauhaus-red); }
body.territory-bauhaus .value-card {
  grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  min-height:650px; height:auto; border:2px solid var(--bauhaus-black); border-radius:0;
  background:var(--bauhaus-paper); box-shadow:8px 8px 0 var(--bauhaus-black); overflow:hidden;
}
body.territory-bauhaus .portrait-panel { min-width:0; min-height:650px; height:100%; background:var(--bauhaus-blue); }
body.territory-bauhaus .portrait { z-index:0; object-position:56% center; filter:saturate(.78) contrast(1.08); }
body.territory-bauhaus .portrait-overlay { z-index:1; background:linear-gradient(180deg,#10131914 0%,#10131908 34%,#10131978 61%,#101319ed 100%); }
body.territory-bauhaus .portrait-panel::after {
  z-index:2; top:34px; left:auto; right:27px; width:54px; aspect-ratio:1;
  border:0; border-radius:0; background:var(--bauhaus-yellow); box-shadow:-18px 18px 0 var(--bauhaus-red),-36px 36px 0 var(--bauhaus-blue); opacity:1;
}
body.territory-bauhaus .portrait-topline { z-index:3; top:24px; left:25px; right:25px; }
body.territory-bauhaus .mini-brand { font-weight:900; letter-spacing:-1.5px; }
body.territory-bauhaus .mini-brand span { color:var(--bauhaus-yellow); }
body.territory-bauhaus .portrait-index { gap:7px; color:#fff; font-size:7px; letter-spacing:1.2px; }
body.territory-bauhaus .portrait-index i { height:3px; background:var(--bauhaus-red); }
body.territory-bauhaus .portrait-copy { z-index:3; left:25px; right:22px; bottom:48px; }
body.territory-bauhaus .photo-kicker { border:0; border-left:4px solid var(--bauhaus-yellow); border-radius:0; padding:6px 8px; background:var(--bauhaus-red); color:#fff; backdrop-filter:none; }
body.territory-bauhaus .portrait-copy p { font-weight:900; letter-spacing:-.06em; line-height:.98; }
body.territory-bauhaus .portrait-copy p em { color:var(--bauhaus-yellow); }
body.territory-bauhaus .portrait-rule { width:52px; height:4px; background:var(--bauhaus-red); }
body.territory-bauhaus .orbit-caption { z-index:3; left:25px; bottom:17px; color:#ffffffc9; letter-spacing:1.1px; }
body.territory-bauhaus .orbit-caption span { width:9px; height:9px; border-radius:0; background:var(--bauhaus-yellow); }
body.territory-bauhaus .profile-panel { min-width:0; padding:27px clamp(21px,3vw,39px) 0; background:var(--bauhaus-paper); }
body.territory-bauhaus .profile-topline { padding-bottom:12px; border-bottom:2px solid var(--bauhaus-black); }
body.territory-bauhaus .overline { color:#454849; letter-spacing:1.4px; }
body.territory-bauhaus .overline span { color:var(--bauhaus-red); }
body.territory-bauhaus .verified-mark { color:#fff; border:0; border-radius:0; background:var(--bauhaus-blue); }
body.territory-bauhaus .identity-kicker { display:inline-block; margin:0 0 9px; padding:4px 6px; color:#fff; background:var(--bauhaus-red); letter-spacing:1px; }
body.territory-bauhaus .identity-block h1 { color:var(--bauhaus-black); font-weight:900; letter-spacing:-.065em; line-height:.95; }
body.territory-bauhaus .identity-block h1 span { color:var(--violet); }
body.territory-bauhaus .profile-role { color:#212426; font-weight:800; }
body.territory-bauhaus .profile-qr { border:2px solid var(--bauhaus-black); border-top:7px solid var(--bauhaus-yellow); border-radius:0; background:#fffdf7; color:var(--bauhaus-black); }
body.territory-bauhaus .profile-qr-caption { color:var(--violet); }
body.territory-bauhaus .value-statement { color:#4e5150; line-height:1.65; }
body.territory-bauhaus .button { border-radius:0; box-shadow:none; font-weight:850; }
body.territory-bauhaus .button-primary { color:#fff; background:var(--violet); border:2px solid var(--violet); }
body.territory-bauhaus .button-primary:hover { color:#fff; background:var(--bauhaus-black); border-color:var(--bauhaus-black); }
body.territory-bauhaus .button-outline { color:var(--bauhaus-black); background:transparent; border:2px solid var(--violet); }
body.territory-bauhaus .button-outline:hover { color:#fff; background:var(--violet); border-color:var(--violet); }
body.territory-bauhaus .feature-rail { gap:7px; }
body.territory-bauhaus .feature-card { border:1px solid var(--bauhaus-black); border-radius:0; background:#fffdf7; box-shadow:2px 2px 0 var(--bauhaus-black); }
body.territory-bauhaus .feature-card:hover { transform:translate(-1px,-1px); background:#fff; border-color:var(--bauhaus-blue); }
body.territory-bauhaus .feature-icon { color:#fff; background:var(--bauhaus-blue); border-radius:0; }
body.territory-bauhaus .feature-card:nth-child(2n) .feature-icon { color:var(--bauhaus-black); background:var(--bauhaus-yellow); }
body.territory-bauhaus .feature-arrow { color:var(--bauhaus-red); }
body.territory-bauhaus .feature-card .feature-status { color:var(--bauhaus-blue); }
body.territory-bauhaus .micro-experience { border-top:2px solid var(--bauhaus-black); }
body.territory-bauhaus .micro-heading { color:#555; }
body.territory-bauhaus .micro-spark { color:var(--bauhaus-red); }
body.territory-bauhaus .tabs { border-bottom:1px solid #bdb8ac; }
body.territory-bauhaus .tab { color:#535654; }
body.territory-bauhaus .tab.is-active { color:var(--violet); }
body.territory-bauhaus .tab.is-active::after { height:4px; background:var(--bauhaus-red); }
body.territory-bauhaus .panel-lead { color:var(--bauhaus-black); font-weight:900; }
body.territory-bauhaus .panel-copy { color:#515450; }
body.territory-bauhaus .skill-chips span { border:1px solid var(--bauhaus-black); border-radius:0; color:var(--bauhaus-black); background:#fffdf7; }
body.territory-bauhaus .skill-chips span:nth-child(3n+1) { color:#fff; background:var(--bauhaus-blue); border-color:var(--bauhaus-blue); }
body.territory-bauhaus .skill-chips span:nth-child(3n+2) { background:var(--bauhaus-yellow); border-color:var(--bauhaus-yellow); }
body.territory-bauhaus .contact-strip { border-top:2px solid var(--bauhaus-black); }
body.territory-bauhaus .quick-links a,
body.territory-bauhaus .quick-links button { color:var(--bauhaus-black); border:1px solid var(--bauhaus-black); border-radius:0; }
body.territory-bauhaus .quick-links a:hover,
body.territory-bauhaus .quick-links button:hover { color:#fff; background:var(--bauhaus-blue); border-color:var(--bauhaus-blue); }
body.territory-bauhaus .footer-brand { color:var(--bauhaus-black); }
body.territory-bauhaus .footer-brand span,
body.territory-bauhaus .stage-footer p em { color:var(--bauhaus-red); }
body.territory-bauhaus .stage-footer p,
body.territory-bauhaus .footer-note { color:#626460; }

/* 05 · MINIMALISMO CONTEMPORÁNEO — fotografía en arco, aire y contraste tranquilo. */
body.territory-neo-minimal {
  --neo-ink:#28362f;
  --neo-muted:#687168;
  --neo-paper:#f6f5f0;
  --neo-line:#dedfd6;
  background:var(--neo-paper);
  color:var(--neo-ink);
}
body.territory-neo-minimal .ambient { display:none; }
body.territory-neo-minimal .topbar { border-bottom:1px solid var(--neo-line); }
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.5px; }
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:#28362f35; }
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 var(--neo-line); border-radius:50%; background:#ffffffa8; }
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 .eyebrow { color:var(--neo-muted); }
body.territory-neo-minimal .eyebrow-line { width:31px; background:var(--violet); }
body.territory-neo-minimal .value-card {
  grid-template-columns:minmax(0,1.24fr) minmax(270px,.76fr);
  min-height:580px; height:auto; overflow:visible; border:0; border-radius:0;
  background:transparent; box-shadow:none;
}
body.territory-neo-minimal .profile-panel { grid-column:1; grid-row:1; padding:42px clamp(28px,4.3vw,60px) 8px 0; background:transparent; overflow:visible; }
body.territory-neo-minimal .profile-topline { padding-bottom:18px; border-bottom:1px solid var(--neo-line); }
body.territory-neo-minimal .overline { color:var(--neo-muted); letter-spacing:1.3px; 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) 22%,var(--neo-paper)); background:color-mix(in srgb,var(--violet) 6%,var(--neo-paper)); border-radius:50%; }
body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 90px; gap:20px; padding-top:26px; }
body.territory-neo-minimal .identity-kicker { color:var(--neo-muted); font-size:8px; font-weight:700; letter-spacing:1.5px; }
body.territory-neo-minimal .identity-block h1 { color:var(--neo-ink); font-size:clamp(48px,5vw,68px); font-weight:600; letter-spacing:-.07em; line-height:.98; }
body.territory-neo-minimal .identity-block h1 span { color:var(--violet); }
body.territory-neo-minimal .profile-role { color:#3a473f; font-size:12px; font-weight:600; line-height:1.6; }
body.territory-neo-minimal .profile-qr { width:90px; padding:6px; border:1px solid var(--neo-line); border-radius:46px 46px 5px 5px; background:#fffefa; 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 { border-radius:3px; }
body.territory-neo-minimal .profile-qr-caption { color:var(--violet); font-size:6px; letter-spacing:.2px; }
body.territory-neo-minimal .value-statement { color:#5c675e; font-size:12px; line-height:1.85; margin-top:19px; max-width:56ch; }
body.territory-neo-minimal .button { min-height:44px; padding-inline:17px; border-radius:999px; 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:var(--neo-line); background:transparent; }
body.territory-neo-minimal .button-outline:hover { background:#fffefa; border-color:var(--violet); }
body.territory-neo-minimal .feature-rail { gap:10px; }
body.territory-neo-minimal .feature-card { grid-template-columns:31px minmax(0,1fr) 12px; padding:12px 10px; border:1px solid var(--neo-line); border-radius:8px; background:#fbfaf6; box-shadow:none; }
body.territory-neo-minimal .feature-card:hover { transform:translateY(-1px); border-color:color-mix(in srgb,var(--violet) 40%,var(--neo-line)); background:#fffefa; }
body.territory-neo-minimal .feature-icon { color:var(--violet); border-radius:50%; background:color-mix(in srgb,var(--violet) 8%,#fff); }
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:18px; }
body.territory-neo-minimal .micro-heading { color:var(--neo-muted); font-weight:700; letter-spacing:1.25px; }
body.territory-neo-minimal .micro-spark { color:var(--violet); }
body.territory-neo-minimal .tabs { gap:20px; border-bottom-color:var(--neo-line); }
body.territory-neo-minimal .tab { color:#7a8179; 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:19px; font-weight:600; letter-spacing:-.4px; }
body.territory-neo-minimal .panel-copy { color:#697269; font-size:11px; line-height:1.75; }
body.territory-neo-minimal .skill-chips { gap:7px; }
body.territory-neo-minimal .skill-chips span { padding:6px 10px; color:#4c5e51; background:transparent; border:1px solid var(--neo-line); border-radius:999px; 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 var(--neo-line); 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); }
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:center; min-width:0; min-height:0; height:min(510px,47vw);
  margin:32px 0 30px; overflow:hidden; border-radius:48% 48% 5px 5px; background:#dce1d8; isolation:isolate;
}
body.territory-neo-minimal .portrait { z-index:0; object-position:56% center; filter:saturate(.72) contrast(1.01); border-radius:inherit; }
body.territory-neo-minimal .portrait-overlay { z-index:1; background:linear-gradient(0deg,#1b2922b0 0%,#1b292230 24%,transparent 62%); }
body.territory-neo-minimal .portrait-panel::after { display:none; }
body.territory-neo-minimal .portrait-topline { z-index:3; top:27px; left:22px; right:22px; }
body.territory-neo-minimal .mini-brand { font-weight:700; letter-spacing:-1.5px; }
body.territory-neo-minimal .mini-brand span { color:#fff; }
body.territory-neo-minimal .portrait-index { color:#ffffffd9; font-size:6px; letter-spacing:1px; }
body.territory-neo-minimal .portrait-index i { background:#fff; width:16px; }
body.territory-neo-minimal .portrait-copy { z-index:3; left:23px; right:20px; bottom:29px; }
body.territory-neo-minimal .photo-kicker { padding:0; border:0; border-radius:0; background:transparent; color:#ffffffdd; font-size:7px; letter-spacing:1.1px; backdrop-filter:none; }
body.territory-neo-minimal .portrait-copy p { max-width:11ch; font-size:clamp(32px,3.2vw,43px); font-weight:600; letter-spacing:-.055em; line-height:1.02; }
body.territory-neo-minimal .portrait-copy p em { color:#fff; font-style:italic; font-weight:400; }
body.territory-neo-minimal .portrait-rule { width:32px; height:1px; background:#fff; }
body.territory-neo-minimal .portrait-caption { color:#ffffffe0; font-size:9px; line-height:1.6; }
body.territory-neo-minimal .orbit-caption { z-index:3; left:22px; bottom:15px; color:#ffffffc4; font-size:6px; letter-spacing:1px; }
body.territory-neo-minimal .orbit-caption span { background:#fff; }

/* Adaptación responsive de ambas direcciones. */
@media (min-width:951px) {
  body.territory-bauhaus .value-card { grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr); }
  body.territory-neo-minimal .value-card { grid-template-columns:minmax(0,1.24fr) minmax(270px,.76fr); }
}
@media (max-width:950px) and (min-width:691px) {
  body.territory-bauhaus .value-card { grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); min-height:0; }
  body.territory-bauhaus .portrait-panel { min-height:640px; }
  body.territory-bauhaus .profile-panel { padding:24px 20px 0; }
  body.territory-bauhaus .identity-row { grid-template-columns:minmax(0,1fr) 74px; gap:8px; }
  body.territory-bauhaus .profile-qr { width:74px; }
  body.territory-bauhaus .profile-qr-visual,
  body.territory-bauhaus .profile-qr-visual img,
  body.territory-bauhaus .profile-qr-visual canvas { width:54px!important; height:54px!important; max-width:54px; }
  body.territory-neo-minimal .profile-panel { padding:30px 23px 6px 0; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 72px; gap:9px; }
  body.territory-neo-minimal .profile-qr { width:72px; }
  body.territory-neo-minimal .profile-qr-visual,
  body.territory-neo-minimal .profile-qr-visual img,
  body.territory-neo-minimal .profile-qr-visual canvas { width:52px!important; height:52px!important; max-width:52px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(36px,4vw,48px); }
  body.territory-neo-minimal .portrait-panel { height:450px; margin:24px 0; }
  body.territory-bauhaus .feature-rail,
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
}
@media (max-width:690px) {
  body.territory-bauhaus .value-card { display:flex; flex-direction:column; min-height:0; box-shadow:4px 4px 0 var(--bauhaus-black); }
  body.territory-bauhaus .portrait-panel { order:0; width:100%; min-height:0; height:clamp(300px,82vw,390px); flex:0 0 auto; }
  body.territory-bauhaus .portrait-copy { left:22px; right:20px; bottom:42px; }
  body.territory-bauhaus .portrait-copy p { font-size:clamp(38px,11vw,51px); }
  body.territory-bauhaus .portrait-panel::after { top:61px; right:22px; width:40px; box-shadow:-13px 13px 0 var(--bauhaus-red),-26px 26px 0 var(--bauhaus-blue); }
  body.territory-bauhaus .profile-panel { order:1; padding:22px 18px 0; }
  body.territory-bauhaus .identity-row { grid-template-columns:minmax(0,1fr) 70px; gap:7px; }
  body.territory-bauhaus .identity-block h1 { font-size:clamp(35px,10vw,45px); }
  body.territory-bauhaus .profile-qr { width:70px; padding:5px 4px; }
  body.territory-bauhaus .profile-qr-visual,
  body.territory-bauhaus .profile-qr-visual img,
  body.territory-bauhaus .profile-qr-visual canvas { width:52px!important; height:52px!important; max-width:52px; }
  body.territory-bauhaus .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-bauhaus .feature-card { grid-template-columns:23px minmax(0,1fr); gap:6px; padding:8px 6px; }
  body.territory-bauhaus .feature-arrow { display:none; }
  body.territory-neo-minimal .value-card { display:flex; flex-direction:column; min-height:0; background:transparent; overflow:visible; }
  body.territory-neo-minimal .portrait-panel { order:0; width:calc(100% - 34px); height:clamp(310px,88vw,390px); min-height:0; margin:18px auto 0; flex:0 0 auto; border-radius:48% 48% 4px 4px; }
  body.territory-neo-minimal .portrait-copy { bottom:25px; }
  body.territory-neo-minimal .portrait-copy p { font-size:clamp(32px,9vw,43px); }
  body.territory-neo-minimal .profile-panel { order:1; padding:26px 17px 0; }
  body.territory-neo-minimal .identity-row { grid-template-columns:minmax(0,1fr) 70px; gap:8px; padding-top:18px; }
  body.territory-neo-minimal .identity-block h1 { font-size:clamp(36px,10.8vw,47px); }
  body.territory-neo-minimal .profile-qr { width:70px; padding:5px 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:52px!important; height:52px!important; max-width:52px; }
  body.territory-neo-minimal .feature-rail { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.territory-neo-minimal .feature-card { grid-template-columns:24px minmax(0,1fr); gap:6px; padding:9px 7px; }
  body.territory-neo-minimal .feature-arrow { display:none; }
  body.territory-neo-minimal .value-statement { font-size:11px; line-height:1.7; }
  body.territory-neo-minimal .stage-footer { padding-inline:2px; }
}
@media (max-width:370px) {
  body.territory-bauhaus .feature-rail,
  body.territory-neo-minimal .feature-rail { grid-template-columns:1fr; }
  body.territory-bauhaus .identity-block h1,
  body.territory-neo-minimal .identity-block h1 { font-size:32px; letter-spacing:-1.5px; }
  body.territory-neo-minimal .portrait-panel { width:calc(100% - 24px); }
}
@media (prefers-reduced-motion:reduce) {
  body.territory-bauhaus .feature-card,
  body.territory-neo-minimal .feature-card { transition:none; }
}
