/* FBC_PRODUCT_MANAGER_INTEGRATED_V1 */
.pm-root{--ink:#172033;--muted:#66738a;--line:#dfe5ed;--soft:#f6f8fb;--navy:#121b2b;--yellow:#ffd11a;--blue:#1468dc;--green:#23845a;--orange:#aa6717;--red:#bd3b3b;color:var(--ink)}
.pm-no-scroll{overflow:hidden}.pm-page-head{margin-bottom:22px;display:flex;justify-content:space-between;align-items:flex-end;gap:22px}.pm-page-head h1{margin:0;font-size:clamp(30px,4vw,42px);line-height:1;letter-spacing:-.035em}.pm-page-head>div>p:last-child{max-width:760px;margin:10px 0 0;color:var(--muted)}.pm-eyebrow{margin:0 0 7px;color:#61728c;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.pm-actions{display:flex;flex-wrap:wrap;gap:9px}.pm-btn{min-height:42px;border:1px solid transparent;border-radius:10px;padding:0 15px;display:inline-flex;justify-content:center;align-items:center;gap:7px;font:inherit;font-weight:800;cursor:pointer}.pm-btn:disabled{opacity:.48;cursor:not-allowed}.pm-btn-primary{background:var(--yellow);border-color:#e4b900;color:#121925}.pm-btn-secondary{background:#fff;border-color:var(--line);color:var(--ink)}.pm-btn-ghost{background:#f1f4f8;color:#58667b}.pm-tabs{margin-bottom:18px;padding:5px;display:inline-flex;max-width:100%;gap:4px;overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}.pm-tab{min-height:38px;border:0;border-radius:8px;padding:0 15px;background:transparent;color:#6a778a;font:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer}.pm-tab.active{background:var(--navy);color:#fff}.pm-card{border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 1px 2px rgba(15,25,42,.025)}.pm-loading{padding:22px}.pm-skeleton{min-height:76px;border-radius:12px;background:linear-gradient(90deg,#eef2f6,#f7f9fb,#eef2f6);background-size:200% 100%;animation:pm-shimmer 1.5s infinite linear}.pm-skeleton-short{width:34%;min-height:28px;margin-bottom:18px}.pm-skeleton-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.pm-skeleton-table{min-height:340px;margin-top:18px}@keyframes pm-shimmer{to{background-position:-200% 0}}.pm-metrics{margin-bottom:16px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.pm-metric{min-width:0;padding:17px;border:1px solid var(--line);border-radius:14px;background:#fff}.pm-metric>span{display:block;color:#68758a;font-size:11px;font-weight:800;text-transform:uppercase}.pm-metric strong{display:block;margin-top:8px;overflow:hidden;font-size:26px;line-height:1;text-overflow:ellipsis}.pm-metric small{display:block;margin-top:9px;color:#7a8799;font-size:11px;line-height:1.35}.pm-toolbar{padding:17px;display:grid;grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(155px,.7fr)) auto;gap:10px;border-bottom:1px solid var(--line)}.pm-field{display:grid;gap:6px}.pm-field>span,.pm-page-size>span,.pm-variant-select>span{color:#68758a;font-size:10px;font-weight:850;letter-spacing:.055em;text-transform:uppercase}.pm-field input,.pm-field textarea,.pm-field select,.pm-page-size select,.pm-variant-select select{width:100%;min-height:42px;border:1px solid #d7dee8;border-radius:9px;padding:9px 11px;background:#fff;color:var(--ink);font:inherit;font-size:13px;outline:none}.pm-field textarea{line-height:1.5;resize:vertical}.pm-field input:focus,.pm-field textarea:focus,.pm-field select:focus,.pm-variant-select select:focus{border-color:#7aa9ed;box-shadow:0 0 0 3px rgba(20,104,220,.11)}.pm-field-wide{grid-column:1/-1}.pm-table-head{padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.pm-table-head strong{display:block;font-size:13px}.pm-table-head div span{display:block;margin-top:3px;color:var(--muted);font-size:11px}.pm-page-size{display:grid;grid-template-columns:auto 84px;align-items:center;gap:8px}.pm-table-wrap{overflow:auto}.pm-table{width:100%;border-collapse:collapse}.pm-table th,.pm-table td{padding:13px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.pm-table th{background:#fafbfc;color:#647188;font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase}.pm-clickable{cursor:pointer}.pm-clickable:hover{background:#f8fafc}.pm-product{min-width:300px;display:flex;align-items:center;gap:12px}.pm-product-image{width:54px;height:54px;flex:0 0 auto;border:1px solid var(--line);border-radius:10px;object-fit:contain;background:#fff}.pm-placeholder{display:grid;place-items:center;background:#f1f4f8;color:#8190a5;font-size:13px;font-weight:900}.pm-product strong,.pm-product small{display:block}.pm-product small{max-width:360px;margin-top:4px;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.pm-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:850;white-space:nowrap}.pm-pill-blue{background:#e7f0ff;color:#2465c8}.pm-pill-healthy{background:#e7f5ee;color:var(--green)}.pm-pill-warning{background:#fff2db;color:var(--orange)}.pm-pill-critical{background:#fde8e8;color:var(--red)}.pm-link{border:0;background:transparent;color:#1768d4;font:inherit;font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer}.pm-pagination{padding:13px 17px;display:flex;justify-content:space-between;align-items:center}.pm-pagination>span{color:var(--muted);font-size:12px}.pm-overlay{position:fixed;inset:0;z-index:120;background:rgba(9,17,30,.43);backdrop-filter:blur(2px)}.pm-drawer{position:fixed;inset:0 0 0 auto;z-index:130;width:min(970px,96vw);overflow-y:auto;border:0;background:#f5f7fa;box-shadow:-18px 0 55px rgba(12,21,36,.22)}.pm-close{position:fixed;top:18px;right:18px;z-index:150;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#253146;font-size:20px;cursor:pointer}.pm-expedient-head{min-height:245px;padding:34px 72px 32px 34px;display:grid;grid-template-columns:178px minmax(0,1fr);gap:26px;align-items:center;background:radial-gradient(circle at top right,rgba(255,209,26,.23),transparent 38%),linear-gradient(135deg,#fff,#f1f5f9);border-bottom:1px solid var(--line)}.pm-expedient-image{width:178px;height:178px;border-radius:18px}.pm-expedient-meta{display:flex;flex-wrap:wrap;gap:7px}.pm-expedient-head h2{margin:12px 0 7px;font-size:clamp(28px,4vw,39px);line-height:1.04;letter-spacing:-.035em}.pm-expedient-head p{margin:0;color:var(--muted)}.pm-expedient-head .pm-actions{margin-top:22px}.pm-detail-tabs{position:sticky;top:0;z-index:5;padding:9px 18px 0;display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--line);background:rgba(255,255,255,.97);backdrop-filter:blur(12px)}.pm-detail-tab{min-height:44px;border:0;border-bottom:3px solid transparent;padding:0 13px;background:transparent;color:#66738a;font:inherit;font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer}.pm-detail-tab.active{border-bottom-color:var(--yellow);color:#182134}.pm-detail-body{padding:24px 26px 80px}.pm-form-section{margin-bottom:15px;padding:20px;border:1px solid var(--line);border-radius:14px;background:#fff}.pm-section{padding:22px}.pm-section-head{margin-bottom:17px;display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.pm-section-head h2,.pm-section-head h3,.pm-form-section h3{margin:0;font-size:19px;line-height:1.15}.pm-section-head p{margin:5px 0 0;color:var(--muted)}.pm-save-state{padding:6px 9px;border-radius:999px;background:#eef2f6;color:#647188;font-size:10px;font-weight:850}.pm-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.pm-form-gap{margin-top:14px}.pm-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pm-toggle{min-height:74px;padding:13px;display:grid;grid-template-columns:auto auto minmax(0,1fr);gap:10px;align-items:center;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer}.pm-toggle>input{position:absolute;opacity:0}.pm-switch{position:relative;width:38px;height:22px;border-radius:999px;background:#cbd4df}.pm-switch:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.22);transition:transform .17s}.pm-toggle input:checked+.pm-switch{background:var(--yellow)}.pm-toggle input:checked+.pm-switch:after{transform:translateX(16px)}.pm-toggle strong,.pm-toggle small{display:block}.pm-toggle small{margin-top:3px;color:var(--muted);font-size:11px;line-height:1.35}.pm-table-card{border:1px solid var(--line);border-radius:12px;background:#fff}.pm-upload,.pm-merchant-head,.pm-hero-card{padding:22px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center}.pm-upload{margin-bottom:15px;border:1px dashed #b9c6d7;border-radius:14px;background:#fff}.pm-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--yellow);color:#172033;font-size:18px;font-weight:900}.pm-upload h3,.pm-upload p,.pm-hero-card h2,.pm-hero-card h3,.pm-hero-card p{margin:0}.pm-upload p,.pm-hero-card p{margin-top:5px;color:var(--muted)}.pm-media{padding:13px;display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--line);border-radius:12px}.pm-media img{width:110px;height:90px;object-fit:contain}.pm-media strong,.pm-media small{display:block}.pm-media small{margin-top:5px;color:var(--muted)}.pm-snippet{margin-bottom:15px;padding:21px;border:1px solid var(--line);border-radius:14px;background:#fff}.pm-snippet>span{color:#315f3d;font-size:12px}.pm-snippet h3{margin:7px 0 5px;color:#1a0dab;font-size:20px;font-weight:500}.pm-snippet p{margin:0;color:#4d5156;font-size:13px;line-height:1.5}.pm-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:15px}.pm-action-card{padding:22px;display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px}.pm-action-card h2,.pm-action-card p{margin:0}.pm-action-card p{margin-top:6px;color:var(--muted)}.pm-action-card .pm-btn{margin-top:15px}.pm-dependencies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pm-dependency{padding:13px;display:flex;gap:10px;align-items:center;border:1px solid var(--line);border-radius:10px}.pm-dependency>span{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:var(--orange)}.pm-dependency strong,.pm-dependency small{display:block}.pm-dependency small{margin-top:3px;color:var(--muted);font-size:10px}.pm-process{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.pm-step{padding:16px;display:grid;gap:8px;border:1px solid var(--line);border-radius:10px}.pm-step span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#edf2f8;color:#5f6e83;font-size:10px;font-weight:900}.pm-release-flow{padding:22px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.pm-release{min-height:100px;padding:12px;border:1px solid var(--line);border-radius:10px;background:#fff}.pm-release>span{width:10px;height:10px;display:block;margin-bottom:10px;border-radius:50%;background:#cbd4df}.pm-release.complete>span{background:var(--green)}.pm-release.active{border-color:#e4bd1b;box-shadow:0 0 0 3px rgba(255,209,26,.14)}.pm-release.active>span{background:var(--yellow)}.pm-release strong,.pm-release small{display:block}.pm-release small{margin-top:5px;color:var(--muted);font-size:10px;line-height:1.35}.pm-card-flat{border:1px solid var(--line);border-radius:14px;background:#fff}.pm-merchant-head{margin-bottom:14px;border:1px solid var(--line);border-radius:14px;background:#fff}.pm-merchant-head h3,.pm-merchant-head p{margin:0}.pm-merchant-head p:last-child{margin-top:5px;color:var(--muted)}.pm-score{--score:0;width:76px;height:76px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at center,#fff 58%,transparent 60%),conic-gradient(var(--yellow) calc(var(--score)*1%),#e7ebf1 0)}.pm-score strong{font-size:16px}.pm-variant-select{margin-bottom:14px;padding:14px;display:grid;grid-template-columns:120px minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--line);border-radius:11px;background:#fff}.pm-accordion{margin-bottom:10px;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}.pm-accordion summary{padding:15px 17px;display:flex;justify-content:space-between;align-items:center;gap:14px;list-style:none;cursor:pointer}.pm-accordion summary::-webkit-details-marker{display:none}.pm-accordion summary strong,.pm-accordion summary small{display:block}.pm-accordion summary small{margin-top:4px;color:var(--muted);font-size:11px}.pm-accordion summary b{color:#9aa6b7;font-size:11px}.pm-accordion-body{padding:17px;border-top:1px solid var(--line);background:#fbfcfd}.pm-issues{display:flex;flex-wrap:wrap;gap:7px}.pm-issues>span{padding:8px 10px;border-radius:8px;background:#fff0dd;color:var(--orange);font-size:11px;font-weight:800}.pm-sticky-save{position:sticky;bottom:0;z-index:4;margin:18px -26px -80px;padding:13px 26px;display:flex;justify-content:space-between;align-items:center;gap:14px;border-top:1px solid var(--line);background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}.pm-sticky-save span{color:var(--muted);font-size:11px}.pm-timeline{display:grid}.pm-timeline article{position:relative;padding:0 0 22px 30px}.pm-timeline article:before{content:"";position:absolute;top:13px;bottom:0;left:7px;width:1px;background:var(--line)}.pm-timeline article:last-child:before{display:none}.pm-timeline article>span{position:absolute;top:3px;left:0;width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 1px var(--line)}.pm-timeline strong,.pm-timeline small{display:block}.pm-timeline small{margin-top:4px;color:var(--muted)}.pm-empty{min-height:170px;display:grid;place-items:center;align-content:center;gap:6px;color:var(--muted);text-align:center}.pm-empty strong{color:var(--ink)}.pm-dialog{width:min(900px,94vw);max-height:88vh;border:0;border-radius:15px;padding:0;box-shadow:0 24px 75px rgba(7,16,30,.3)}.pm-dialog::backdrop{background:rgba(8,16,30,.52)}.pm-dialog header,.pm-dialog footer{padding:14px 17px;display:flex;justify-content:space-between;align-items:center}.pm-dialog header{border-bottom:1px solid var(--line)}.pm-dialog header strong,.pm-dialog header small{display:block}.pm-dialog header small{margin-top:3px;color:var(--muted)}.pm-dialog header button{border:0;background:transparent;font-size:20px;cursor:pointer}.pm-dialog footer{border-top:1px solid var(--line);justify-content:flex-end}.pm-dialog pre{margin:0;padding:18px;max-height:64vh;overflow:auto;background:#111a29;color:#dce7f7;font-size:12px;line-height:1.55}
@media(max-width:1260px){.pm-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.pm-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-search{grid-column:1/-1}.pm-dependencies{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.pm-page-head{align-items:flex-start;flex-direction:column}.pm-actions{width:100%}.pm-actions .pm-btn{flex:1}.pm-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.pm-toolbar,.pm-form-grid,.pm-toggle-grid,.pm-two,.pm-process,.pm-release-flow{grid-template-columns:1fr}.pm-search,.pm-field-wide{grid-column:auto}.pm-expedient-head{grid-template-columns:1fr;padding:26px 62px 24px 22px}.pm-expedient-image{width:140px;height:140px}.pm-detail-body{padding:16px 14px 76px}.pm-sticky-save{margin:18px -14px -76px;padding:12px 14px}.pm-merchant-head,.pm-upload,.pm-hero-card{grid-template-columns:1fr}.pm-variant-select{grid-template-columns:1fr}.pm-dependencies{grid-template-columns:1fr}}
@media(max-width:560px){.pm-metrics{grid-template-columns:1fr 1fr}.pm-toolbar{grid-template-columns:1fr}.pm-table th:nth-child(3),.pm-table td:nth-child(3),.pm-table th:nth-child(5),.pm-table td:nth-child(5){display:none}.pm-product{min-width:220px}.pm-drawer{width:100vw}.pm-sticky-save{align-items:stretch;flex-direction:column}}

/* Product Manager adopts the approved Members visual language without coupling
   to or modifying Members components. */
body.products-members-shell .content{padding:26px 30px;background:#f5f7fa}
.pm-root{--members-blue:#1769d5;--members-text:#10213a;--members-muted:#6c7b90;--members-line:#dce4ed}
.pm-page-head{align-items:flex-start;margin-bottom:24px}
.pm-page-head h1{margin:4px 0 0;color:var(--members-text);font-size:34px;line-height:1.08;letter-spacing:-.04em}
.pm-page-head>div>p:last-child{margin:7px 0 0;color:var(--members-muted);font-size:14px}
.pm-eyebrow{color:#64758c;font-size:10px;letter-spacing:.085em}
.pm-card,.pm-metric,.pm-form-section,.pm-snippet,.pm-merchant-head,.pm-card-flat{
  border-color:var(--members-line);
  border-radius:14px;
  box-shadow:0 9px 28px rgba(24,49,84,.045)
}
.pm-metric{display:flex;min-height:108px;flex-direction:column;justify-content:center;padding:19px 20px}
.pm-metric strong{color:#112039;font-size:28px}
.pm-metric small{color:#758397}
.pm-toolbar{grid-template-columns:repeat(5,minmax(140px,1fr));padding:16px;gap:12px}
.pm-toolbar .pm-search{grid-column:span 2}
.pm-field>span,.pm-page-size>span,.pm-variant-select>span{color:#4d5d73;font-size:11px;font-weight:800;letter-spacing:0;text-transform:none}
.pm-field input,.pm-field textarea,.pm-field select,.pm-page-size select,.pm-variant-select select{border-color:#cad6e4;border-radius:9px}
.pm-field input:focus,.pm-field textarea:focus,.pm-field select:focus,.pm-variant-select select:focus{border-color:var(--members-blue);box-shadow:0 0 0 3px rgba(23,105,213,.1)}
.pm-btn{border-radius:9px;font-size:13px}
.pm-btn-primary{border-color:#075fc6;background:#1769d5;color:#fff}
.pm-btn-primary:hover{background:#0e5fc8}
.pm-btn-secondary{border-color:#cad6e4}
.pm-tabs{border-color:var(--members-line);box-shadow:0 9px 24px rgba(28,55,91,.035)}
.pm-tab.active{background:#10213a}
.pm-expedient-head{
  min-height:270px;
  background:
    radial-gradient(circle at 88% 8%,rgba(23,105,213,.14),transparent 34%),
    linear-gradient(145deg,#ffffff 0%,#f7faff 58%,#eef4fb 100%);
}
.pm-expedient-image{border:1px solid #d8e3ef;box-shadow:0 12px 30px rgba(20,55,96,.09)}
.pm-expedient-head h2{color:#10213a}
.pm-detail-tabs{border-color:#dce4ed}
.pm-detail-tab.active{border-bottom-color:#1769d5;color:#10213a}
.pm-score{background:radial-gradient(circle at center,#fff 58%,transparent 60%),conic-gradient(#1769d5 calc(var(--score)*1%),#e7ebf1 0)}
.pm-release-list{display:grid;gap:10px;margin-top:18px}
.pm-release-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border:1px solid var(--members-line);border-radius:12px;background:#fff}
.pm-release-row strong,.pm-release-row small{display:block}.pm-release-row small{margin-top:4px;color:var(--members-muted)}
.pm-help{margin:14px 0 0;color:#6d7d91;font-size:11px;line-height:1.5}
.pm-import-preview{display:grid;gap:10px;padding:6px}.pm-import-preview p{margin:0}

@media(max-width:1180px){
  body.products-members-shell .content{padding:20px}
  .pm-toolbar{grid-template-columns:repeat(3,minmax(140px,1fr))}
  .pm-toolbar .pm-search{grid-column:span 2}
}
@media(max-width:820px){
  body.products-members-shell .content{padding:14px}
  .pm-page-head h1{font-size:27px}
  .pm-toolbar{grid-template-columns:1fr 1fr}
  .pm-toolbar .pm-search{grid-column:1/-1}
  .pm-release-row{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  .pm-page-head h1{font-size:25px}
  .pm-page-head>div>p:last-child{font-size:12px}
  .pm-metrics{gap:8px}
  .pm-metric{min-height:108px;padding:14px}
  .pm-table thead{display:none}
  .pm-table,.pm-table tbody,.pm-table tr,.pm-table td{display:block;width:100%}
  .pm-table tbody{display:grid;gap:10px;padding:10px}
  .pm-table tr{overflow:hidden;border:1px solid #d8e2ee;border-radius:15px;background:#fff;box-shadow:0 5px 16px rgba(15,41,77,.05)}
  .pm-table td{min-height:46px;padding:10px 12px;border-top:1px solid #eef2f7;border-bottom:0}
  .pm-table td:first-child{min-height:auto;border-top:0}
  .pm-product{min-width:0}
}

/* PRODUCT MANAGER UX CORRECTION — isolated from Members and Agenda */
.pm-root{
  --pm-primary:#1769d5;
  --pm-primary-dark:#0d57ae;
  --pm-focus:#f0b900;
  --pm-surface:#fff;
  --pm-soft:#f5f7fa;
  --pm-line:#dce4ed;
  --pm-text:#10213a;
  --pm-muted:#6c7b90;
}
.pm-page-head{align-items:flex-start;margin-bottom:20px}
.pm-page-head h1{color:var(--pm-text);font-size:34px}
.pm-page-head>div>p:last-child{margin-top:7px;font-size:14px}
.pm-actions{align-items:center}
.pm-btn{min-height:40px;border-radius:9px;font-size:12px}
.pm-btn-primary{border-color:var(--pm-primary);background:var(--pm-primary);color:#fff}
.pm-btn-primary:hover{background:var(--pm-primary-dark)}
.pm-btn-primary:focus-visible,.pm-btn-secondary:focus-visible,.pm-tab:focus-visible,.pm-detail-tab:focus-visible,.pm-close:focus-visible,.pm-row-menu:focus-visible{outline:3px solid rgba(240,185,0,.45);outline-offset:2px}
.pm-btn-danger{color:#a52e37}
.pm-tabs{display:flex;width:fit-content;margin-bottom:16px;padding:4px;border-radius:10px;box-shadow:0 5px 16px rgba(24,49,84,.03)}
.pm-tab{min-height:42px}
.pm-tab.active{background:#10213a;color:#fff}
.pm-metrics{grid-template-columns:repeat(6,minmax(125px,1fr));gap:10px}
.pm-metric{min-height:96px;display:block;padding:15px;text-align:left;font:inherit;cursor:pointer}
.pm-metric:disabled{cursor:default}
.pm-metric:not(:disabled):hover{border-color:#a9c2df;box-shadow:0 7px 20px rgba(24,49,84,.06);transform:translateY(-1px)}
.pm-metric strong{font-size:25px}
.pm-toolbar{grid-template-columns:minmax(300px,1.6fr) repeat(2,minmax(150px,.65fr)) auto;padding:14px;align-items:end}
.pm-advanced-trigger{white-space:nowrap}
.pm-advanced-filters{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:10px;padding:0 14px 14px;border-bottom:1px solid var(--pm-line);background:#fbfcfe}
.pm-filter-summary{min-height:45px;display:flex;align-items:center;gap:9px;padding:8px 14px;border-bottom:1px solid var(--pm-line)}
.pm-filter-summary>small{margin-left:auto;color:var(--pm-muted)}
.pm-filter-chips{display:flex;flex-wrap:wrap;gap:6px}
.pm-filter-chip{min-height:29px;display:inline-flex;align-items:center;gap:5px;padding:0 8px;border:1px solid #cbd9e8;border-radius:8px;background:#eef5fd;color:#315b8a;font:inherit;font-size:10px;font-weight:750;cursor:pointer}
.pm-filter-chip svg{width:12px;height:12px}
.pm-field>span,.pm-page-size>span,.pm-variant-select>span,.pm-multiselect legend{color:#4d5d73;font-size:11px;font-weight:800;letter-spacing:0;text-transform:none}
.pm-field small{color:#7b899b;font-size:10px;line-height:1.4}
.pm-control,.pm-field input,.pm-field textarea,.pm-field select,.pm-page-size select,.pm-variant-select select{min-height:43px;border-color:#cbd7e4;border-radius:9px;font-size:13px}
.pm-control:focus,.pm-field input:focus,.pm-field textarea:focus,.pm-field select:focus{border-color:var(--pm-primary);box-shadow:0 0 0 3px rgba(23,105,213,.1)}
.pm-unit-control{display:grid;grid-template-columns:1fr auto;align-items:center}.pm-unit-control input{border-radius:9px 0 0 9px}.pm-unit-control b{height:43px;display:grid;place-items:center;padding:0 10px;border:1px solid #cbd7e4;border-left:0;border-radius:0 9px 9px 0;background:#f3f6f9;color:#64758a;font-size:9px}
.pm-table-wrap{max-height:calc(100vh - 390px)}
.pm-table th{position:sticky;top:0;z-index:2;background:#f8fafc}
.pm-table th,.pm-table td{padding:11px 12px}
.pm-product{min-width:260px}
.pm-image-frame{overflow:hidden;position:relative;display:grid;place-items:center;background:#f3f6f9}
.pm-image-frame>img{width:100%;height:100%;object-fit:contain;background:#fff}
.pm-image-frame[data-image-state="available"] .pm-image-pending{display:none}
.pm-image-pending{position:absolute;inset:auto 3px 3px;padding:3px 5px;border-radius:5px;background:rgba(16,33,58,.82);color:#fff;font-size:8px}
.pm-image-fallback{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:4px;color:#728298;text-align:center}
.pm-image-fallback small,.pm-placeholder small{font-size:8px;font-weight:750}
.pm-merchant-cell{display:grid;gap:4px}.pm-merchant-cell small{color:var(--pm-muted);font-size:9px}
.pm-pill-neutral{background:#eef2f6;color:#5f6e82}
.pm-row-menu{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--pm-line);border-radius:9px;background:#fff;color:#4c6079;font-weight:900;cursor:pointer}
.pm-bulk-actions{display:flex;align-items:center;gap:9px}.pm-bulk-actions strong{font-size:11px}
.pm-close,.modal:has([data-pm-system-form]) .modal-head .icon-btn{
  width:42px;height:42px;min-width:42px;min-height:42px;padding:0;display:grid;place-items:center;
  border:1px solid var(--pm-line);border-radius:50%;background:#fff;color:#253146;line-height:normal;
}
.pm-close svg,.modal:has([data-pm-system-form]) .modal-head .icon-btn svg{display:block;margin:auto}
.pm-dialog-close{position:static}
.pm-dialog>header{padding-right:0}
.pm-drawer{inset:0 0 0 auto;width:min(980px,96vw);max-width:100vw;height:100vh;height:100dvh;overflow:hidden;box-sizing:border-box}
.pm-drawer[hidden]{display:none}
#pm-drawer-content{width:100%;height:100%;max-width:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;position:relative}
.pm-expedient-head{min-height:188px;padding:24px 76px 20px 24px;grid-template-columns:126px minmax(0,1fr);gap:20px}
.pm-expedient-image{width:126px;height:126px;border-radius:14px}
.pm-expedient-head h2{margin:9px 0 5px;font-size:29px}
.pm-expedient-head .pm-actions{margin-top:14px}
.pm-expedient-facts{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;color:var(--pm-muted);font-size:10px}
.pm-detail-tabs{position:relative;top:auto;flex:0 0 auto;padding:7px 15px 0}
.pm-detail-tab{min-height:43px}
.pm-detail-tab.active{border-bottom-color:var(--pm-primary)}
#pm-detail-panel{min-width:0;min-height:0;flex:1 1 auto;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scroll-padding-bottom:32px}
.pm-detail-body{padding:24px 24px calc(32px + env(safe-area-inset-bottom));display:grid;gap:24px}
.pm-form-section{padding:17px;border-radius:12px}
.pm-form-grid{column-gap:24px;row-gap:20px}
.pm-save-state[data-status="dirty"]{background:#fff3cc;color:#8b6500}
.pm-save-state[data-status="saving"]{background:#e8f1ff;color:#175aa9}
.pm-save-state[data-status="error"]{background:#ffe8ea;color:#ae2d38}
.pm-dirty-footer{position:sticky;bottom:0;z-index:7;display:flex;align-items:center;justify-content:flex-end;gap:9px;min-height:68px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid var(--pm-line);background:rgba(255,255,255,.97);box-shadow:0 -10px 28px rgba(15,35,63,.08)}
.pm-dirty-footer[hidden]{display:none}.pm-dirty-footer>span{margin-right:auto}.pm-dirty-footer strong,.pm-dirty-footer small{display:block}.pm-dirty-footer small{margin-top:3px;color:var(--pm-muted);font-size:9px}
#pm-drawer-content:has(.pm-dirty-footer:not([hidden])) #pm-detail-panel{padding-bottom:84px}
.pm-toggle{min-height:68px;grid-template-columns:auto minmax(0,1fr)}
.pm-toggle>input{position:absolute;opacity:0}
.pm-switch{width:42px;height:24px;border:1px solid #aeb9c8;background:#cbd4df}
.pm-switch:after{width:18px;height:18px;top:2px;left:2px}
.pm-toggle input:checked+.pm-switch{border-color:#0d57ae;background:var(--pm-primary)}
.pm-toggle input:checked+.pm-switch:after{transform:translateX(18px)}
.pm-toggle input:focus-visible+.pm-switch{outline:3px solid rgba(240,185,0,.45);outline-offset:2px}
.pm-toggle input:disabled+.pm-switch{opacity:.55}
.pm-multiselect{margin:0;padding:12px;border:1px solid var(--pm-line);border-radius:10px}
.pm-multiselect legend{padding:0 5px}
.pm-chip-options{display:flex;flex-wrap:wrap;gap:7px}
.pm-chip-options label{position:relative}.pm-chip-options input{position:absolute;opacity:0}
.pm-chip-options label span{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid #d3dde8;border-radius:8px;background:#fff;color:#52657c;font-size:10px;font-weight:750;cursor:pointer}
.pm-chip-options label:has(input:checked) span{border-color:#8db3df;background:#eaf3ff;color:#135cae}
.pm-chip-options input:focus-visible+span{outline:3px solid rgba(240,185,0,.45)}
.pm-multiselect>small{display:block;margin-top:9px;color:var(--pm-muted);font-size:9px}
.pm-multi-clear{border:0;background:none;color:var(--pm-primary);font:inherit;font-weight:800;cursor:pointer}
.pm-upload{grid-template-columns:auto minmax(0,1fr) auto}
.pm-dropzone[aria-disabled="true"]{border-style:dashed;background:#f8fafc}
.pm-dropzone code{font-size:9px}
.pm-media{grid-template-columns:126px minmax(0,1fr) auto}
.pm-media-preview{width:126px;height:92px;border-radius:10px}
.pm-media-actions{display:flex;flex-wrap:wrap;gap:7px}
.pm-url-preview{min-height:210px;margin-bottom:16px;display:grid;place-items:center;overflow:hidden;border:1px dashed #b9c6d7;border-radius:13px;background:#f7f9fc}
.pm-url-preview>img{max-width:100%;max-height:190px;object-fit:contain}.pm-url-preview>small{padding:5px;color:var(--pm-muted)}
.pm-document-grid{display:grid;gap:10px}
.pm-document-card,.pm-document-preview{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid var(--pm-line);border-radius:11px;background:#fff}
.pm-document-preview-copy{min-width:0;display:grid;gap:4px}.pm-document-preview-copy strong,.pm-document-preview-copy small{display:block;min-width:0;overflow-wrap:anywhere}.pm-document-preview-copy small{color:var(--pm-muted);font-size:10px}
.pm-document-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#edf3fa;color:#285a91;font-size:10px;font-weight:900}
.pm-document-card strong,.pm-document-card small{display:block}.pm-document-card strong{margin:6px 0}.pm-document-card small{color:var(--pm-muted);font-size:9px}
.pm-create-flow,.pm-export-form,.pm-media-form,.pm-document-form{display:grid;gap:16px}
.pm-create-step,.pm-export-form>section{padding:16px;border:1px solid var(--pm-line);border-radius:12px;background:#fbfcfe}
.pm-create-step>header{display:flex;align-items:center;gap:10px;margin-bottom:14px}.pm-create-step>header>span{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#10213a;color:#fff;font-size:11px;font-weight:900}.pm-create-step header strong,.pm-create-step header small{display:block}.pm-create-step header small{margin-top:3px;color:var(--pm-muted);font-size:9px}
.pm-form-message,.pm-export-summary{padding:11px 13px;border-radius:9px;background:#eef5fd;color:#385b82;font-size:10px}
.pm-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.pm-choice{position:relative}.pm-choice input{position:absolute;opacity:0}.pm-choice span{min-height:52px;display:grid;place-items:center;border:1px solid var(--pm-line);border-radius:9px;background:#fff;cursor:pointer}.pm-choice:has(input:checked) span{border:2px solid var(--pm-primary);background:#eef5fd;color:#155aab}
.pm-template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.pm-template-grid article{padding:13px;border:1px solid var(--pm-line);border-radius:10px}.pm-template-grid strong,.pm-template-grid small{display:block}.pm-template-grid small{margin:4px 0 10px;color:var(--pm-muted);font-size:9px}.pm-template-grid article>div{display:flex;gap:6px}.pm-template-grid a{padding:6px 8px;border:1px solid #cbd7e4;border-radius:7px;color:var(--pm-primary);font-size:9px;font-weight:800;text-decoration:none}
.pm-merchant-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:24px;margin:0}
.pm-score{width:104px;height:104px;align-content:center;text-align:center}.pm-score strong{font-size:18px}.pm-score small{width:72px;font-size:8px;line-height:1.2;color:var(--pm-muted)}
.pm-issues{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.pm-issue{display:grid;grid-template-columns:25px 1fr;gap:8px;padding:10px;border:1px solid #f0d7da;border-radius:9px;background:#fff8f8}.pm-issue>span{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#ffe3e5;color:#a42d38;font-weight:900}.pm-issue strong,.pm-issue small{display:block}.pm-issue strong{font-size:10px}.pm-issue small{margin-top:4px;color:var(--pm-muted);font-size:8px}
.modal:has([data-pm-system-form]){width:min(900px,calc(100vw - 28px));max-height:92vh;padding:20px;border-radius:15px}
.modal:has([data-pm-system-form]) .modal-head{position:sticky;top:-20px;z-index:4;margin:-20px -20px 18px;padding:16px 20px;border-bottom:1px solid var(--pm-line);background:rgba(255,255,255,.97)}
.modal:has([data-pm-system-form]) .modal-actions{position:sticky;bottom:-20px;margin:18px -20px -20px;padding:13px 20px;border-top:1px solid var(--pm-line);background:#fff}

@media(max-width:1180px){
  .pm-metrics{grid-template-columns:repeat(3,1fr)}
  .pm-advanced-filters{grid-template-columns:repeat(3,1fr)}
  .pm-table-wrap{max-height:none}
}
@media(max-width:820px){
  .pm-page-head{align-items:stretch;flex-direction:column}.pm-page-head .pm-actions{justify-content:flex-start}
  .pm-toolbar{grid-template-columns:1fr 1fr}.pm-toolbar .pm-search{grid-column:1/-1}
  .pm-advanced-filters{grid-template-columns:1fr 1fr}
  .pm-filter-summary{align-items:flex-start;flex-direction:column}.pm-filter-summary>small{margin-left:0}
  .pm-drawer{inset:0;width:100vw;min-width:0;max-width:100vw;height:100vh;height:100dvh}.pm-expedient-head{grid-template-columns:84px minmax(0,1fr);padding:18px 64px 16px 16px}.pm-expedient-image{width:84px;height:84px}.pm-expedient-head h2{font-size:23px}.pm-expedient-head .pm-actions{grid-column:1/-1;width:100%;overflow:visible;flex-wrap:wrap}.pm-expedient-head .pm-actions .pm-btn{flex:0 1 auto}.pm-expedient-facts{display:none}
  .pm-form-grid,.pm-toggle-grid,.pm-two,.pm-issues{grid-template-columns:1fr}
  .pm-media,.pm-document-card{grid-template-columns:90px minmax(0,1fr)}.pm-media-actions{grid-column:1/-1}.pm-media-preview{width:90px;height:78px}
  .pm-upload{grid-template-columns:auto minmax(0,1fr)}
  .pm-template-grid{grid-template-columns:1fr 1fr}.pm-merchant-context{grid-template-columns:1fr}
}
@media(max-width:520px){
  .pm-page-head .pm-actions{display:grid;grid-template-columns:1fr 1fr}.pm-page-head .pm-actions .pm-btn-primary{grid-column:1/-1;grid-row:1}
  .pm-metrics{grid-template-columns:1fr 1fr}.pm-metric{min-height:88px}
  .pm-toolbar,.pm-advanced-filters{grid-template-columns:1fr}.pm-toolbar .pm-search{grid-column:auto}
  .pm-tabs{width:100%}.pm-tab{flex:0 0 auto}
  .pm-detail-body{padding:14px 12px 132px}.pm-detail-tabs{width:100%;max-width:100vw;padding-left:8px;scroll-snap-type:x proximity;scrollbar-width:thin}.pm-detail-tab{scroll-snap-align:start}
  #pm-drawer>.pm-close{position:absolute;top:10px;right:10px}
  .pm-section-head{min-width:0;flex-wrap:wrap}.pm-section-head>div{min-width:0;flex:1}.pm-section-head .pm-btn{flex:0 0 auto}
  .pm-document-preview{grid-template-columns:auto minmax(0,1fr);align-items:start}.pm-document-preview>.pm-btn{grid-column:1/-1;justify-self:start}
  .pm-dirty-footer{align-items:stretch;flex-wrap:wrap;min-height:116px;padding:10px 10px calc(10px + env(safe-area-inset-bottom))}.pm-dirty-footer>span{width:100%}.pm-dirty-footer .pm-btn{flex:1;min-height:40px}
  #pm-drawer-content:has(.pm-dirty-footer:not([hidden])) #pm-detail-panel{padding-bottom:148px}
  .pm-choice-grid,.pm-template-grid{grid-template-columns:1fr}
  .modal:has([data-pm-system-form]){width:100vw;height:100dvh;max-height:none;border-radius:0}.modal-wrap:has([data-pm-system-form]){padding:0}
}

/* Product Manager V4: grid operativo, edición inline y controles FBC */
.pm-toolbar{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;padding:22px 24px;align-items:end}
.pm-toolbar .pm-search{grid-column:span 4}
.pm-toolbar>.pm-field{grid-column:span 2;min-width:0}
.pm-toolbar>.pm-field:nth-last-child(-n+3){grid-column:span 4}
.pm-field{gap:12px}
.pm-field select,.pm-page-size select,.pm-variant-select select{appearance:none;padding-right:46px;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%23566a82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px}
.pm-grid-12{grid-template-columns:repeat(12,minmax(0,1fr))}
.pm-grid-12>.pm-field,.pm-grid-12>.pm-toggle{grid-column:span 6}
.pm-grid-12>.pm-field-wide{grid-column:1/-1}
.pm-inline-editor{margin:16px 0;padding:20px 24px;border:1px solid #a9c8ec;border-radius:14px;background:linear-gradient(180deg,#f7fbff,#fff);box-shadow:0 8px 30px rgba(22,67,112,.08)}
.pm-inline-actions,.pm-section-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.pm-inline-actions{margin-top:18px;padding-top:16px;border-top:1px solid var(--pm-line)}
.pm-section-actions{margin-top:16px;padding:14px 18px;border:1px solid var(--pm-line);border-radius:12px;background:#fff}
.pm-section-actions>div{margin-right:auto}.pm-section-actions strong,.pm-section-actions small{display:block}
.pm-section-actions small{margin-top:3px;color:var(--pm-muted);font-size:10px}
.pm-editorial-alert{margin-bottom:16px;padding:15px 17px;display:flex;align-items:center;gap:16px;border:1px solid #e9b949;border-radius:12px;background:#fff8e6;color:#6f4c00}
.pm-editorial-alert>div{flex:1}.pm-editorial-alert strong,.pm-editorial-alert span{display:block}
.pm-editorial-alert span{margin-top:4px;font-size:12px;line-height:1.45}
.pm-structured-row{margin-top:10px;padding:11px;border-left:3px solid var(--pm-primary);border-radius:7px;background:#f5f8fc}
.pm-structured-row strong,.pm-structured-row span,.pm-structured-row small{display:block}
.pm-structured-row span{margin-top:4px;font-size:12px}.pm-structured-row small{margin-top:5px;color:var(--pm-muted);font-size:9px}
.pm-table tr.is-selected{background:#edf5ff;box-shadow:inset 3px 0 var(--pm-primary)}
.pm-btn-danger{border-color:#d33b4b!important;background:#fff5f5!important;color:#a52131!important}
.pm-pill-neutral{background:#edf1f5;color:#586779}.pm-save-state[data-status="saving"]{background:#e8f2ff;color:#155da8}
.pm-save-state[data-status="dirty"]{background:#fff2d2;color:#765400}.pm-save-state[data-status="error"]{background:#ffe6e8;color:#a42433}
.pm-toggle input:checked+.pm-switch{border-color:#0d57ae!important;background:#1769d5!important}

@media(max-width:1100px){
  .pm-toolbar .pm-search{grid-column:span 6}
  .pm-toolbar>.pm-field{grid-column:span 3}
  .pm-toolbar>.pm-field:nth-last-child(-n+3){grid-column:span 4}
}
@media(max-width:768px){
  .pm-toolbar{padding:20px;gap:16px}
  .pm-toolbar .pm-search,.pm-toolbar>.pm-field,.pm-toolbar>.pm-field:nth-last-child(-n+3){grid-column:span 6}
  .pm-grid-12>.pm-field,.pm-grid-12>.pm-toggle{grid-column:1/-1}
}
@media(max-width:480px){
  .pm-toolbar .pm-search,.pm-toolbar>.pm-field,.pm-toolbar>.pm-field:nth-last-child(-n+3){grid-column:1/-1}
  .pm-inline-editor{margin-inline:-4px;padding:16px}
  .pm-inline-actions,.pm-section-actions{align-items:stretch;flex-direction:column}
  .pm-inline-actions .pm-btn,.pm-section-actions .pm-btn{width:100%}
  .pm-section-actions>div{margin-right:0}
}

/* FBC_PM_GEO_AEO_CRUD_V1_BEGIN */
.pm-structured-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.pm-btn-compact{min-height:34px;padding:7px 10px;font-size:12px}
.pm-structured-row.is-paused{opacity:.72;background:#f3f5f8}
@media (max-width:640px){.pm-structured-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pm-btn-compact{width:100%}}
/* FBC_PM_GEO_AEO_CRUD_V1_END */


/* FBC_PM_CORTE_4B_REORDER */
.pm-order-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:8px}.pm-order-btn,.pm-drag-handle{width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-weight:850;display:inline-flex;align-items:center;justify-content:center}.pm-order-btn:disabled{opacity:.35;cursor:not-allowed}.pm-drag-handle{cursor:grab;touch-action:none;letter-spacing:-2px}.pm-drag-handle:active{cursor:grabbing}.pm-order-btn:focus-visible,.pm-drag-handle:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.pm-order-position{min-width:36px;color:var(--muted);font-size:12px;font-weight:800;text-align:center}.pm-reorder-item{transition:outline-color 120ms ease,transform 120ms ease}.pm-reorder-item.is-drag-over{outline:3px solid var(--yellow);outline-offset:3px;transform:translateY(1px)}@media(max-width:640px){.pm-order-controls{width:100%}.pm-order-btn,.pm-drag-handle{width:40px;height:40px}}

/* FBC_PM_CORTE_5C_DOCUMENT_VALIDATION_UI */
.pm-document-validation-controls { display: grid; gap: .55rem; margin-top: .65rem; }
.pm-document-validate-button { justify-self: start; }
.pm-document-validation-status { min-width:0;display: grid; gap: .35rem; padding: .7rem .8rem; border: 1px solid var(--pm-line, #d9dee8); border-radius: .75rem; background: var(--pm-soft, #f7f9fc); font-size: .82rem; line-height: 1.4;overflow-wrap:anywhere; }
.pm-document-validation-status.is-validating { border-color: #9aa9bd; }
.pm-document-validation-status.is-success { border-color: #3f8f67; background: #f0faf5; }
.pm-document-validation-status.is-warning { border-color: #c98b1d; background: #fff8e8; }
.pm-document-validation-status.is-error { border-color: #c44a4a; background: #fff2f2; }
.pm-document-validation-facts { min-width:0;display: flex; flex-wrap: wrap; gap: .35rem .8rem; color: var(--pm-muted, #536273); }
.pm-document-validation-facts>span{min-width:0;overflow-wrap:anywhere}.pm-document-validation-status small { color: var(--pm-muted, #536273); overflow-wrap: anywhere; }
@media (max-width: 720px) { .pm-document-validation-facts { display: grid; gap: .25rem; } }

/* Segunda pasada de cierre: persistencia visible, ayudas y geometría del editor. */
.pm-root,.pm-root *{box-sizing:border-box}.pm-root button:focus-visible,.pm-root a:focus-visible{outline:3px solid #f0b900;outline-offset:2px}
body:has(.modal-wrap:has([data-pm-system-form])){overflow:hidden}
.pm-label-copy{display:flex;align-items:center;gap:6px;min-width:0}.pm-info-wrap{position:relative;display:inline-flex;text-transform:none;letter-spacing:normal}.pm-info{width:20px;height:20px;min-width:20px;padding:0;display:grid;place-items:center;border:1px solid #9aabba;border-radius:50%;background:transparent;color:inherit;font:700 12px/1 inherit;cursor:help}.pm-info-popover{position:absolute;left:0;top:calc(100% + 7px);z-index:40;width:min(280px,calc(100vw - 48px));padding:10px 12px;display:none;gap:4px;border:1px solid var(--pm-line,var(--line));border-radius:9px;background:#172338;color:#fff;box-shadow:0 10px 30px rgba(8,20,37,.24);font-size:11px;line-height:1.4;text-transform:none;letter-spacing:normal}.pm-info-popover strong,.pm-info-popover span,.pm-info-popover small{display:block}.pm-info-popover small{color:#cdd8e7}.pm-info-wrap:hover .pm-info-popover,.pm-info:focus+.pm-info-popover,.pm-info[aria-expanded="true"]+.pm-info-popover{display:grid}
.pm-toast-region{position:fixed;right:24px;top:24px;z-index:300;width:min(440px,calc(100vw - 32px));padding:13px 15px;display:grid;gap:7px;border:1px solid transparent;border-radius:11px;opacity:0;transform:translateY(-12px);pointer-events:none;transition:opacity .18s,transform .18s;box-shadow:0 14px 42px rgba(10,25,45,.22)}.pm-toast-region.is-visible{opacity:1;transform:none;pointer-events:auto}.pm-toast-region.is-success{border-color:#3f8f67;background:#eaf8f1;color:#155c3d}.pm-toast-region.is-error{border-color:#c44a4a;background:#fff0f1;color:#8e2530}.pm-toast-region small{line-height:1.35;overflow-wrap:anywhere}.pm-toast-region details{display:grid;gap:6px}.pm-toast-region summary{cursor:pointer;font-size:11px;font-weight:800}.pm-toast-region code{display:block;max-height:92px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace}.pm-toast-copy{justify-self:start;border:1px solid currentColor;border-radius:7px;padding:5px 8px;background:transparent;color:inherit;font:inherit;font-size:10px;font-weight:800;cursor:pointer}
.pm-confirm-overlay{position:fixed;inset:0;z-index:220;display:grid;place-items:center;padding:18px;background:rgba(8,17,31,.58)}.pm-confirm-dialog{width:min(520px,100%);padding:22px;border:1px solid var(--pm-line,var(--line));border-radius:14px;background:#fff;color:var(--pm-text,var(--ink));box-shadow:0 24px 80px rgba(4,14,28,.35)}.pm-confirm-dialog h3{margin:0 0 8px}.pm-confirm-dialog p:not(.pm-eyebrow){color:var(--pm-muted,var(--muted));line-height:1.5}.pm-confirm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px}
.pm-upload-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.pm-dropzone.is-drag-over{border-color:#1769d5;background:#edf6ff;box-shadow:0 0 0 3px rgba(23,105,213,.12)}
.pm-source-switch{width:max-content;max-width:100%;margin:20px 0 12px;padding:4px;display:flex;gap:4px;border:1px solid var(--pm-line,var(--line));border-radius:11px;background:var(--pm-soft,#f3f6f9)}.pm-source-option{min-height:40px;border:0;border-radius:8px;padding:0 16px;background:transparent;color:var(--pm-muted,var(--muted));font:inherit;font-size:12px;font-weight:850;cursor:pointer}.pm-source-option.is-active{background:#fff;color:var(--pm-primary,#1769d5);box-shadow:0 1px 4px rgba(17,42,75,.12)}.pm-source-panel{margin-bottom:24px;padding:16px;display:grid;gap:8px;border:1px solid var(--pm-line,var(--line));border-radius:12px;background:var(--pm-soft,#f7f9fc)}.pm-source-panel>p,.pm-source-panel>small{margin:0;color:var(--pm-muted,var(--muted));font-size:11px}.pm-source-panel>.pm-btn{justify-self:start}
.pm-publication-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pm-blocker-list{margin:10px 0 0;padding-left:20px;color:#9d2935;line-height:1.6}.pm-release-summary{margin-top:14px;padding:13px;display:flex;flex-wrap:wrap;gap:8px 18px;border:1px solid var(--pm-line,var(--line));border-radius:10px;background:var(--pm-soft,#f7f9fc)}.pm-release-summary strong{width:100%}
.pm-publication-stepper{margin:0;padding:20px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;list-style:none;border:1px solid var(--pm-line,var(--line));border-radius:14px;background:#fff}.pm-publication-stepper li{min-width:0;display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px}.pm-publication-stepper li>span{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#edf1f6;color:#6a788c;font-size:12px;font-weight:900}.pm-publication-stepper strong,.pm-publication-stepper small{display:block}.pm-publication-stepper strong{font-size:11px;line-height:1.25}.pm-publication-stepper small{margin-top:3px;color:var(--pm-muted,var(--muted));font-size:9px}.pm-publication-stepper .is-complete>span{background:#dff4e9;color:#19704b}.pm-publication-stepper .is-current>span{background:#1769d5;color:#fff}.pm-publication-stepper .is-blocked{opacity:.62}.pm-merchant-save{padding:16px 18px;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;border:1px solid var(--pm-line,var(--line));border-radius:12px;background:#fff}.pm-merchant-save>span{margin-right:auto;color:var(--pm-muted,var(--muted));font-size:11px}
.pm-section-head .pm-eyebrow+h3{margin-top:6px}.pm-field[hidden]{display:none!important}.pm-document-card>div,.pm-media>div{min-width:0}.pm-document-card small,.pm-media small{overflow-wrap:anywhere}.pm-document-card .pm-media-actions,.pm-media .pm-media-actions{justify-content:flex-end}
@media(prefers-reduced-motion:reduce){.pm-root *{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
@media(max-width:820px){
  html:has(.pm-drawer:not([hidden])),body:has(.pm-drawer:not([hidden])){overflow:hidden!important}
  .pm-overlay{inset:0}.pm-drawer{inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;border-radius:0}.pm-close{position:absolute!important;top:max(10px,env(safe-area-inset-top))!important;right:10px!important}
  #pm-drawer-content{width:100%;height:100%;overflow:hidden}.pm-detail-tabs{max-width:100%;overscroll-behavior-x:contain}#pm-detail-panel,.pm-detail-body{min-width:0;max-width:100%}
  .pm-upload{grid-template-columns:auto minmax(0,1fr)}.pm-upload-actions{grid-column:1/-1;justify-content:flex-start}.pm-publication-grid{grid-template-columns:1fr}.pm-publication-stepper{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}.pm-document-card,.pm-media{max-width:100%;overflow:hidden}
}
@media(max-width:520px){
  .pm-expedient-head{min-height:auto;padding-top:58px;grid-template-columns:64px minmax(0,1fr)}.pm-expedient-image{width:64px;height:64px}.pm-expedient-head h2{font-size:20px;overflow-wrap:anywhere}.pm-expedient-head .pm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.pm-expedient-head .pm-actions .pm-btn{width:100%;min-width:0;padding-inline:9px;font-size:11px}
  .pm-detail-body{padding:16px 12px calc(24px + env(safe-area-inset-bottom));gap:16px}.pm-form-section,.pm-inline-editor{padding:16px}.pm-form-grid{column-gap:16px;row-gap:16px}.pm-media,.pm-document-card{grid-template-columns:72px minmax(0,1fr);padding:11px}.pm-order-controls{grid-column:1/-1}.pm-media-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr}.pm-media-actions .pm-btn{width:100%;min-width:0}.pm-document-preview{grid-template-columns:44px minmax(0,1fr)}
  .pm-confirm-actions{display:grid}.pm-confirm-actions .pm-btn{width:100%}.pm-publication-stepper{grid-template-columns:1fr}.pm-merchant-save{align-items:stretch;flex-direction:column}.pm-merchant-save>span{margin-right:0}.pm-merchant-save .pm-btn{width:100%}.pm-toast-region{top:max(12px,env(safe-area-inset-top));right:12px;width:calc(100vw - 24px)}.pm-source-switch{width:100%}.pm-source-option{flex:1;padding-inline:10px}
  .pm-variant-table td{display:grid!important;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:center}.pm-variant-table td::before{content:attr(data-label);color:var(--pm-muted,var(--muted));font-size:9px;font-weight:850;letter-spacing:.05em;text-transform:uppercase}.pm-variant-table td:first-child{grid-template-columns:1fr}.pm-variant-table td:first-child::before{display:block;margin-bottom:5px}
}
/* FBC PM Corte 6C: assets activos, vista previa local y respiracion de cabecera */
.pm-expedient-head{min-height:214px;padding-top:26px;padding-bottom:28px;align-items:center}
.pm-expedient-image{align-self:center;overflow:hidden}
.pm-expedient-image>img{max-width:100%;max-height:100%;object-fit:contain}
.pm-detail-tabs{margin-top:0}
.pm-media-preview[data-image-state="available"] .pm-image-pending{display:none}
@media(max-width:820px){.pm-expedient-head{min-height:unset;padding-top:22px;padding-bottom:22px}.pm-expedient-image{align-self:start}}
@media(max-width:520px){.pm-expedient-head{padding-top:58px;padding-bottom:18px}}

.pm-deploy-state{margin-top:14px;padding:12px 13px;display:flex;align-items:center;gap:10px;border:1px solid var(--pm-line,var(--line));border-radius:10px;background:var(--pm-soft,#f7f9fc)}
.pm-deploy-state strong,.pm-deploy-state small{display:block}.pm-deploy-state small{margin-top:3px;color:var(--pm-muted,var(--muted));font-size:10px}
.pm-deploy-pulse{width:10px;height:10px;flex:0 0 auto;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 0 rgba(254,209,18,.36);animation:pm-deploy-pulse 1.5s ease-out infinite}
@keyframes pm-deploy-pulse{70%{box-shadow:0 0 0 8px rgba(254,209,18,0)}100%{box-shadow:0 0 0 0 rgba(254,209,18,0)}}
.pm-derived-chip{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid #8db3df;border-radius:8px;background:#eaf3ff;color:#135cae;font-size:10px;font-weight:750}
.pm-derived-empty{display:inline-flex;align-items:center;min-height:32px;color:var(--pm-muted);font-size:10px}

.pm-taxonomy-warning{display:block;margin-top:5px;color:#9a5a00;font-size:11px;font-weight:800;line-height:1.25}

/* F2K-R9 structured-list UX */
.pm-structured-list { border: 0; padding: 0; margin: 0; min-width: 0; }
.pm-structured-list > legend { width: 100%; margin: 0 0 8px; padding: 0; }
.pm-structured-list-items { display: grid; gap: 8px; min-width: 0; }
.pm-structured-list-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 8px; border: 1px solid rgba(21, 45, 78, .12); border-radius: 10px; background: rgba(255, 255, 255, .72); }
.pm-structured-list-row .pm-control { margin: 0; min-width: 0; resize: none; overflow: hidden; }
.pm-structured-list-actions { display: flex; gap: 5px; align-items: center; }
.pm-structured-list-actions .pm-btn { min-width: 34px; min-height: 34px; padding: 6px 9px; }
.pm-structured-list-footer { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.pm-structured-list-footer small { margin: 0; }
.pm-structured-list-empty { padding: 11px 12px; border: 1px dashed rgba(21, 45, 78, .18); border-radius: 10px; font-size: 12px; opacity: .72; }
.pm-structured-list[data-list-mode="chips"] .pm-structured-list-items { display: flex; flex-wrap: wrap; gap: 7px; }
.pm-structured-list[data-list-mode="chips"] .pm-structured-list-row { grid-template-columns: minmax(120px, auto) auto; width: auto; max-width: 100%; padding: 5px; border-radius: 999px; align-items: center; }
.pm-structured-list[data-list-mode="chips"] .pm-structured-list-row .pm-control { min-height: 34px; padding-block: 5px; border-radius: 999px; }
.pm-structured-list[data-list-mode="chips"] .pm-structured-list-actions [data-structured-action="remove"] { border-radius: 999px; }
.pm-expedient-head { height: auto !important; min-height: 0 !important; overflow: visible !important; padding-bottom: 18px !important; }
.pm-expedient-facts { min-height: 20px; flex-wrap: wrap; row-gap: 4px; }
#pm-detail-panel { scroll-margin-top: 72px; }
#pm-detail-panel textarea.pm-control { overflow: hidden; resize: vertical; }
@media (max-width: 720px) {
  .pm-structured-list-row { grid-template-columns: 1fr; }
  .pm-structured-list-actions { justify-content: flex-end; }
  .pm-structured-list[data-list-mode="chips"] .pm-structured-list-row { grid-template-columns: minmax(0, 1fr) auto; width: 100%; border-radius: 12px; }
}


/* F2K-R10 public-first UX */
.pm-general-r10 { display: grid; gap: 16px; }
.pm-general-r10 .pm-form-section { padding: 16px; }
.pm-r10-section-head { margin-bottom: 12px; }
.pm-section-note { margin: 4px 0 0; max-width: 760px; color: #657287; font-size: 12px; line-height: 1.4; }
.pm-r10-public-grid { gap: 14px 16px; }
.pm-r10-public-section { border-color: rgba(0,109,255,.2); }
.pm-r10-public-section .pm-eyebrow { color: #006dff; }
[data-public-effective-origin] { display: none !important; }
.pm-origin-pill { display: inline-flex; align-items: center; margin-left: 7px; padding: 2px 6px; border-radius: 999px; background: #eef5ff; color: #245ea8; font-size: 10px; font-weight: 700; vertical-align: middle; }
.pm-bullet-editor { border: 0; padding: 0; margin: 0; min-width: 0; }
.pm-bullet-editor > legend { width: 100%; margin: 0 0 6px; padding: 0; }
.pm-bullet-items { display: grid; gap: 4px; }
.pm-bullet-row { display: grid; grid-template-columns: 24px minmax(0,1fr) 30px; gap: 5px; align-items: start; min-width: 0; border-bottom: 1px solid rgba(21,45,78,.08); padding: 3px 0; }
.pm-bullet-row:last-child { border-bottom: 0; }
.pm-bullet-row.is-dragging { opacity: .45; }
.pm-bullet-drag, .pm-bullet-remove { border: 0; background: transparent; min-width: 0; height: 34px; padding: 0; color: #748096; cursor: grab; border-radius: 7px; }
.pm-bullet-remove { cursor: pointer; font-size: 20px; line-height: 1; }
.pm-bullet-drag:hover, .pm-bullet-remove:hover { background: #f1f5f9; color: #17233a; }
.pm-bullet-control { min-height: 34px !important; padding: 7px 9px !important; resize: none !important; overflow: hidden !important; }
.pm-bullet-footer { display: flex; align-items: center; gap: 7px; margin-top: 6px; }
.pm-bullet-footer small { min-width: 16px; color: #7c8798; font-size: 10px; }
.pm-field-help { display: block; margin-top: 5px; color: #748096; font-size: 10px; }
.pm-taxonomy-picker { border: 0; padding: 0; margin: 0; }
.pm-taxonomy-picker > legend { margin-bottom: 6px; }
.pm-taxonomy-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.pm-taxonomy-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px 5px 9px; border: 1px solid #cbd8e8; border-radius: 999px; background: #fff; font-size: 12px; }
.pm-taxonomy-chip.is-legacy { border-color: #e8b662; background: #fff9ed; }
.pm-taxonomy-chip small { color: #9b6614; font-size: 9px; font-weight: 700; }
.pm-taxonomy-chip button { border: 0; background: transparent; padding: 0 2px; font-size: 16px; color: #657287; cursor: pointer; }
.pm-taxonomy-add { width: min(280px,100%); min-height: 36px; }
.pm-public-tech { border: 1px solid rgba(21,45,78,.12); border-radius: 12px; padding: 12px; background: #f8fbff; }
.pm-public-tech-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 9px; }
.pm-public-tech-head strong { display: block; font-size: 13px; }
.pm-public-tech-head span { display: block; margin-top: 2px; color: #657287; font-size: 10px; }
.pm-public-tech dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 6px; margin: 0; }
.pm-public-tech dl div { min-width: 0; padding: 7px 8px; background: #fff; border-radius: 8px; }
.pm-public-tech dt { color: #748096; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pm-public-tech dd { margin: 2px 0 0; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.pm-r10-advanced { padding: 0 !important; overflow: hidden; }
.pm-r10-advanced > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.pm-r10-advanced > summary::-webkit-details-marker { display:none; }
.pm-r10-advanced > summary strong, .pm-r10-advanced > summary small { display:block; }
.pm-r10-advanced > summary small { margin-top:2px; color:#748096; font-size:10px; font-weight:400; }
.pm-r10-advanced[open] > summary { border-bottom: 1px solid rgba(21,45,78,.1); }
.pm-r10-advanced-grid { padding: 14px 16px 16px; }
.pm-r10-control-section .pm-toggle-grid { gap: 8px; }
.pm-expedient-head { height: auto !important; min-height: 126px !important; overflow: visible !important; padding-bottom: 14px !important; }
.pm-expedient-facts { position: static !important; min-height: 18px; flex-wrap: wrap; row-gap: 3px; }
.pm-detail-tabs { position: sticky; top: 0; z-index: 30; background: #fff; }
#pm-detail-panel { scroll-margin-top: 56px; }
@media (max-width: 720px) {
  .pm-general-r10 .pm-form-section { padding: 12px; }
  .pm-public-tech-head { display: grid; }
  .pm-public-tech dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pm-bullet-row { grid-template-columns: 22px minmax(0,1fr) 28px; }
}

/* FBC_PM_R21_A_WORKSPACE_NAV_START */
.pm-workspace-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid var(--pm-border, #d9e3ef);
  border-bottom: 1px solid var(--pm-border, #d9e3ef);
  background: #fff;
}

.pm-workspace-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d9e3ef;
  border-radius: 12px;
  background: #fff;
  color: #52627a;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pm-workspace-tab:hover {
  border-color: #9fc4ff;
  background: #f8fbff;
}

.pm-workspace-tab:focus-visible,
.pm-workspace-subtab:focus-visible {
  outline: 3px solid rgba(0, 109, 255, 0.2);
  outline-offset: 2px;
}

.pm-workspace-tab.active {
  border-color: #006dff;
  box-shadow: 0 0 0 1px rgba(0, 109, 255, 0.08);
  background: #f7fbff;
  color: #0d2340;
}

.pm-workspace-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #eef3f8;
  color: #52627a;
  font-weight: 800;
}

.pm-workspace-tab.active .pm-workspace-number {
  background: #fed112;
  color: #0d2340;
}

.pm-workspace-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.pm-workspace-copy strong {
  font-size: 13px;
  line-height: 1.2;
  color: inherit;
}

.pm-workspace-copy small {
  overflow: hidden;
  color: #718198;
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-workspace-subnav {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 24px 11px;
  border-bottom: 1px solid #e2e9f2;
  background: #f8fafc;
  scrollbar-width: thin;
}

.pm-workspace-subtab {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #5f6f86;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.pm-workspace-subtab:hover {
  background: #fff;
  border-color: #d9e3ef;
}

.pm-workspace-subtab.active {
  background: #fff;
  border-color: #9fc4ff;
  color: #006dff;
  box-shadow: 0 1px 3px rgba(13, 35, 64, 0.06);
}

@media (max-width: 980px) {
  .pm-workspace-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 16px;
  }

  .pm-workspace-subnav {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 620px) {
  .pm-workspace-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 10px 12px;
    scroll-snap-type: x proximity;
  }

  .pm-workspace-tab {
    flex: 0 0 210px;
    padding: 10px 11px;
    scroll-snap-align: start;
  }

  .pm-workspace-number {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
  }

  .pm-workspace-copy strong {
    font-size: 12px;
  }

  .pm-workspace-subnav {
    padding: 8px 12px 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pm-workspace-tab {
    transition: none;
  }
}
/* FBC_PM_R21_A_WORKSPACE_NAV_END */



/* FBC_PM_R21_B_R1_FULL_PAGE_START */
.pm-root.pm-editor-page-open #pm-catalog-shell { display: none !important; }
.pm-root > #pm-overlay { display: none !important; }

.pm-root .pm-drawer.pm-product-page {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  transform: none !important;
}

.pm-root .pm-drawer.pm-product-page[hidden] { display: none !important; }

.pm-product-page-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid #dfe7f0;
  background: #fff;
}

.pm-product-back.pm-close {
  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: 36px !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  border: 1px solid #d7e1ec !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #16304f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

.pm-product-back.pm-close:hover {
  border-color: #9fc4ff !important;
  background: #f7fbff !important;
  color: #006dff !important;
}

.pm-product-back.pm-close:focus-visible {
  outline: 3px solid rgba(0,109,255,.2) !important;
  outline-offset: 2px !important;
}

.pm-product-back-arrow { color: #006dff; font-size: 17px; line-height: 1; }
.pm-product-page-breadcrumb { color: #7b899c; font-size: 10px; font-weight: 700; }

.pm-product-page #pm-drawer-content {
  width: 100%;
  max-width: none;
  min-height: 0;
  overflow: visible;
  background: #f7f9fc;
}

.pm-product-page .pm-expedient-shell { border-radius: 0 !important; }
.pm-product-page #pm-detail-panel { overflow: visible !important; max-height: none !important; }
.pm-product-page .pm-detail-body { max-width: none; }

.pm-product-page .pm-workspace-nav,
.pm-product-page .pm-workspace-subnav {
  position: sticky;
  z-index: 8;
}

.pm-product-page .pm-workspace-nav { top: 0; }
.pm-product-page .pm-workspace-subnav { top: 76px; }

@media (min-width: 1360px) {
  .pm-product-page .pm-detail-body {
    padding-left: clamp(24px,3vw,44px);
    padding-right: clamp(24px,3vw,44px);
  }
}

@media (max-width: 760px) {
  .pm-product-page-topbar { padding: 10px 12px; }
  .pm-product-page-breadcrumb { display: none; }
  .pm-product-page .pm-workspace-subnav { top: 66px; }
}
/* FBC_PM_R21_B_R1_FULL_PAGE_END */

/* FBC_PM_R21_D_APPROVED_UI_START */
/* R21-D-R1-R4-R1_HERO_CLEANUP_APPLIED */

/* R21-D-R1-R3_HERO_METRICS_APPLIED */

/* R21-D-R1-R2-R2_TECH_SUMMARY_BALANCE_FIX_APPLIED */

/* R21-D-R1_COMMON_HIGH_END_APPLIED */


/* ==========================================================================
   PRODUCT MANAGER · DISEÑO APROBADO
   ÚNICOS TAMAÑOS TIPOGRÁFICOS: 12 / 16 / 32 px
   ========================================================================== */

.pm-product-page {
  container-type: inline-size;
  container-name: product-manager;
  --pm-fs-small: 12px;
  --pm-fs-body: 16px;
  --pm-fs-title: 32px;

  --pm-navy: #11284b;
  --pm-body: #5e718d;
  --pm-blue: #006dff;
  --pm-yellow: #fed112;
  --pm-green: #26a269;
  --pm-bg: #f5f8fc;
  --pm-card: #ffffff;
  --pm-border: #d9e3f0;
  --pm-red: #b42318;

  --pm-content: 1440px;
  --pm-gutter: 24px;
  --pm-section-pad: 32px;
  --pm-control-h: 48px;
  --pm-step-h: 56px;
  --pm-card-radius: 20px;
  --pm-control-radius: 16px;
  --pm-gap: 24px;
  --pm-focus: rgba(0,109,255,.18);
}

/* 3 tamaños y nada más */
.pm-product-page,
.pm-product-page button,
.pm-product-page input,
.pm-product-page select,
.pm-product-page textarea,
.pm-product-page td,
.pm-product-page a,
.pm-product-page label {
  font-size: var(--pm-fs-body) !important;
}

.pm-product-page small,
.pm-product-page th,
.pm-product-page .pm-eyebrow,
.pm-product-page .pm-pill,
.pm-product-page .pm-save-state,
.pm-product-page .pm-field > span,
.pm-product-page .pm-model-filter > span,
.pm-product-page .pm-field-help,
.pm-product-page .pm-expedient-facts,
.pm-product-page .pm-product-hero-stat > span,
.pm-product-page .pm-summary-attribute small,
.pm-product-page .pm-order-position {
  font-size: var(--pm-fs-small) !important;
}

.pm-product-page .pm-expedient-identity h2,
.pm-product-page .pm-approved-section-head h3,
.pm-product-page .pm-models-head h3 {
  font-size: var(--pm-fs-title) !important;
}

/* textos internos que NO son títulos principales */
.pm-product-page .pm-section-head h3,
.pm-product-page .pm-form-section h3,
.pm-product-page .pm-model-editor-v3 h3,
.pm-product-page .pm-media-prep-card h3,
.pm-product-page .pm-summary-tech-head strong,
.pm-product-page .pm-models-tech-title strong,
.pm-product-page .pm-summary-advanced-title strong,
.pm-product-page .pm-model-editor-section-title strong,
.pm-product-page .pm-support-faq-toolbar strong,
.pm-product-page .pm-faq-disclosure-copy strong,
.pm-product-page .pm-media-meta > strong {
  font-size: var(--pm-fs-body) !important;
}

/* ==========================================================================
   Controles
   ========================================================================== */

.pm-product-page .pm-btn {
  display: inline-flex;
  min-height: var(--pm-control-h);
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--pm-control-radius);
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.pm-product-page .pm-btn-primary {
  border-color: var(--pm-blue);
  background: var(--pm-blue);
  color: #fff;
}

.pm-product-page .pm-btn-primary:hover {
  border-color: #005dcc;
  background: #005dcc;
}

.pm-product-page .pm-btn-secondary {
  border-color: var(--pm-border);
  background: #fff;
  color: var(--pm-navy);
}

.pm-product-page .pm-btn-secondary:hover {
  border-color: #9bc4f5;
  background: #f8fbff;
  color: var(--pm-blue);
}

.pm-product-page .pm-btn-ghost {
  border-color: transparent;
  background: #edf2f7;
  color: var(--pm-body);
}

.pm-product-page .pm-btn-danger {
  border-color: #f0b9b5;
  background: #fff5f4;
  color: var(--pm-red);
}

.pm-product-page .pm-control,
.pm-product-page input.pm-control,
.pm-product-page select.pm-control,
.pm-product-page textarea.pm-control {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-control-radius);
  background: #fff;
  color: var(--pm-navy);
  outline: none;
  box-shadow: none;
}

.pm-product-page input.pm-control,
.pm-product-page select.pm-control {
  height: var(--pm-control-h);
  min-height: var(--pm-control-h);
  padding: 0 16px;
}

.pm-product-page textarea.pm-control {
  min-height: 120px;
  padding: 14px 16px;
  line-height: 1.45;
  resize: vertical;
}

.pm-product-page select.pm-control {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E718D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.pm-product-page .pm-control:focus {
  border-color: var(--pm-blue);
  box-shadow: 0 0 0 3px var(--pm-focus);
}

.pm-product-page .pm-field {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.pm-product-page .pm-field > span,
.pm-product-page .pm-model-filter > span {
  color: var(--pm-body);
  font-weight: 800;
}

.pm-product-page .pm-field small,
.pm-product-page .pm-field-help {
  margin: 0;
  color: #7d8da3;
  line-height: 1.4;
}

/* ==========================================================================
   Página y banner común
   ========================================================================== */

.pm-product-page-breadcrumb {
  display: none !important;
}

.pm-product-page-topbar {
  width: min(calc(100% - 48px), var(--pm-content));
  margin: 0 auto;
  padding: 18px 0 14px;
  border: 0 !important;
  background: transparent !important;
}

.pm-product-back {
  display: inline-flex;
  min-height: var(--pm-control-h);
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-control-radius);
  background: #fff;
  color: var(--pm-navy);
  font-weight: 800;
  box-shadow: none;
}

.pm-product-back:hover {
  border-color: #9bc4f5;
  color: var(--pm-blue);
}

.pm-product-back-arrow {
  color: var(--pm-blue);
  font-size: var(--pm-fs-body) !important;
}

.pm-product-page #pm-drawer-content {
  width: 100%;
  max-width: none;
  margin: 0;
  background: transparent;
}

.pm-product-page .pm-product-hero {
display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  grid-template-areas:
    "identity summary"
    "toolbar toolbar";
  gap: 0 !important;
  width: min(calc(100% - 48px), var(--pm-content));
  min-height: 260px;
  margin: 0 auto 18px;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: #fff !important;
  box-shadow: 0 18px 46px rgba(17,40,75,.065);
}

.pm-product-page .pm-expedient-head {
  grid-area: identity;
  position: static !important;
  display: grid !important;
  grid-template-columns: 160px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 32px !important;
  min-width: 0;
  padding: 24px 32px !important;
  border: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
}

.pm-product-page .pm-expedient-image {
  width: 160px !important;
  height: 160px !important;
  min-width: 160px !important;
  padding: 16px !important;
  border: 1px solid var(--pm-border) !important;
  border-radius: var(--pm-card-radius) !important;
  background: #fff !important;
}

.pm-product-page .pm-expedient-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pm-product-page .pm-expedient-identity {
  min-width: 0;
}

.pm-product-page .pm-expedient-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.pm-product-page .pm-pill,
.pm-product-page .pm-save-state {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  font-weight: 800;
}

.pm-product-page .pm-expedient-identity h2 {
  max-width: 980px;
  margin: 0;
  color: var(--pm-navy);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -.03em;
  overflow-wrap: normal;
  word-break: normal;
}

.pm-product-page .pm-expedient-identity > p {
  margin: 10px 0 0;
  color: var(--pm-body);
  line-height: 1.35;
}

.pm-product-hero-summary {
grid-area: summary;
  display: grid;
  grid-template-columns: repeat(2, minmax(112px, 132px));
  align-content: center;
  align-items: stretch;
  justify-content: end;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding: 28px 20px 28px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.pm-product-hero-stat {
display: grid;
  align-content: center;
  min-width: 0;
  min-height: 92px;
  padding: 14px 16px;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(17,40,75,.035);
}

.pm-product-hero-stat + .pm-product-hero-stat {
border-top: 1px solid #dfe7f1;
}


.pm-product-hero-stat > span {
color: #70819a;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.pm-product-hero-stat > strong {
margin-top: 7px;
  color: var(--pm-navy);
  font-size: var(--pm-fs-title) !important;
  line-height: .96;
  font-weight: 850;
  letter-spacing: -.035em;
}

.pm-product-page .pm-expedient-toolbar {
  grid-area: toolbar;
  position: static !important;
  display: flex !important;
  min-height: 72px;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 12px 32px !important;
  border: 0 !important;
  border-top: 1px solid var(--pm-border) !important;
  background: #fbfcfe !important;
  box-shadow: none !important;
}

.pm-product-page .pm-expedient-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-product-page .pm-expedient-facts {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pm-body);
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================================
   Navegación principal + subtabs
   ========================================================================== */

.pm-product-page .pm-workspace-nav {
display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: min(calc(100% - 48px), var(--pm-content));
  margin: 0 auto 18px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.pm-product-page .pm-workspace-tab {
position: relative;
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: #64758d;
  text-align: left;
  box-shadow: 0 5px 16px rgba(17,40,75,.032);
  transition:
    border-color .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    transform .16s ease;
}

.pm-product-page .pm-workspace-tab:last-child {
border-right: 1px solid #dfe7f1;
}

.pm-product-page .pm-workspace-tab.active {
z-index: 1;
  border: 1px solid var(--pm-blue);
  border-radius: 18px;
  background: #fff;
  color: var(--pm-navy);
  box-shadow:
    0 0 0 1px rgba(0,109,255,.08),
    0 10px 28px rgba(0,109,255,.10);
  transform: translateY(-1px);
}

.pm-product-page .pm-workspace-tab:not(.active):hover {
  border-color: #bdd4ef;
  background: #fbfdff;
  color: #2d4664;
  box-shadow: 0 8px 22px rgba(17,40,75,.055);
  transform: translateY(-1px);
}


.pm-product-page .pm-workspace-number {
display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 1px solid #e1e8f1;
  border-radius: 50%;
  background: #f4f7fb;
  color: #718198;
  font-size: var(--pm-fs-small) !important;
  font-weight: 850;
}

.pm-product-page .pm-workspace-tab.active .pm-workspace-number {
border-color: var(--pm-yellow);
  background: var(--pm-yellow);
  color: var(--pm-navy);
  box-shadow: 0 4px 12px rgba(254,209,18,.26);
}

.pm-product-page .pm-workspace-copy {
  min-width: 0;
}

.pm-product-page .pm-workspace-copy strong {
  display: block;
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-product-page .pm-workspace-copy small {
  display: none !important;
}

.pm-product-page .pm-workspace-subnav {
  display: flex;
  gap: 4px;
  width: min(calc(100% - 48px), var(--pm-content));
  min-height: 48px;
  margin: -4px auto 8px;
  overflow-x: auto;
  padding: 4px 0;
  border-bottom: 1px solid var(--pm-border);
}

.pm-product-page .pm-workspace-subtab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--pm-control-radius);
  background: transparent;
  color: var(--pm-body);
  font-weight: 800;
}

.pm-product-page .pm-workspace-subtab.active {
  border-color: #9bc4f5;
  background: #edf5ff;
  color: var(--pm-blue);
}

/* ==========================================================================
   Contenedor de sección
   ========================================================================== */

.pm-product-page .pm-detail-body,
.pm-product-page .pm-approved-section {
  width: min(calc(100% - 48px), var(--pm-content)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 28px 0 56px !important;
}

.pm-approved-section {
  display: grid;
  gap: var(--pm-gap);
}

.pm-approved-card,
.pm-summary-edit-card,
.pm-summary-advanced,
.pm-models-main-card,
.pm-media-library,
.pm-media-prep-card {
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,40,75,.035);
}

.pm-approved-section-head,
.pm-models-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.pm-approved-section-head > div,
.pm-models-head > div {
  display: grid;
  gap: 6px;
  max-width: 920px;
}

.pm-approved-section-head h3,
.pm-models-head h3 {
  margin: 0;
  color: var(--pm-navy);
  line-height: 1.05;
  font-weight: 850;
  letter-spacing: -.025em;
}

.pm-approved-section-head p,
.pm-models-head p {
  margin: 0;
  color: var(--pm-body);
  line-height: 1.45;
}

.pm-product-page .pm-eyebrow {
  margin: 0;
  color: var(--pm-body);
  font-weight: 850;
  letter-spacing: .10em;
  text-transform: uppercase;
}

/* ==========================================================================
   Resumen
   ========================================================================== */

.pm-summary-edit-card {
  padding: var(--pm-section-pad);
}

.pm-summary-edit-card .pm-approved-section-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf2f7;
}

.pm-summary-main-fields {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pm-field-span-12 {
  grid-column: 1 / -1;
}

.pm-summary-select-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pm-brand-custom-wrap {
  display: contents;
}

.pm-brand-custom-wrap:has(.pm-field[hidden]) {
  display: none;
}

.pm-summary-select-row:has(#pm-product-brand option:checked[value="__other__"]) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pm-summary-tech {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
}

.pm-summary-tech-head,
.pm-models-tech-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pm-summary-tech-head > div {
  display: grid;
  gap: 4px;
}

.pm-summary-tech-head strong,
.pm-models-tech-title strong {
  color: var(--pm-navy);
  font-weight: 850;
}

.pm-summary-tech-head span,
.pm-models-tech-title span {
  color: var(--pm-body);
}

.pm-summary-tech-grid,
.pm-models-tech-values {
display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}

.pm-summary-attribute {
display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 84px;
  padding: 13px 15px;
  border: 1px solid #dfe7f1;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(17,40,75,.03);
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pm-summary-attribute:hover {
border-color: #c7d8eb;
  box-shadow: 0 6px 18px rgba(17,40,75,.045);
  transform: none;
}

.pm-summary-attribute-copy {
display: grid;
  min-width: 0;
  align-content: center;
  gap: 0;
}

.pm-summary-attribute-icon svg {
width: 20px;
  height: 20px;
  display: block;
}

.pm-summary-attribute-fallback {
font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-summary-attribute em {
display: block;
  margin-top: 5px;
  color: #8796aa;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.2;
  font-style: normal;
}


.pm-summary-attribute > span:first-child,
.pm-summary-attribute > i:first-child {
grid-column: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  align-self: center;
  border: 1px solid #dce9f8;
  border-radius: 12px;
  background: #eef6ff;
  color: var(--pm-blue);
  font-size: var(--pm-fs-body) !important;
  font-style: normal;
  font-weight: 850;
  box-shadow: none;
}

.pm-summary-attribute small {
display: block;
  margin: 0;
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0;
}

.pm-summary-attribute strong {
display: block;
  margin: 4px 0 0;
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.1;
  font-weight: 850;
  letter-spacing: -.01em;
}

/* ==========================================================================
   Disclosures estilo FAQ aprobado
   ========================================================================== */

.pm-faq-disclosure,
.pm-support-accordion,
.pm-model-editor-details-v3 {
  overflow: hidden;
  border: 1px solid var(--pm-border) !important;
  border-radius: var(--pm-card-radius) !important;
  background: #fff !important;
  box-shadow: 0 5px 18px rgba(17,40,75,.025) !important;
}

.pm-faq-disclosure > summary,
.pm-support-accordion > summary,
.pm-model-editor-details-v3 > summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px 14px 24px;
  list-style: none;
  cursor: pointer;
  background: #fff;
}

.pm-faq-disclosure > summary::-webkit-details-marker,
.pm-support-accordion > summary::-webkit-details-marker,
.pm-model-editor-details-v3 > summary::-webkit-details-marker {
  display: none;
}

.pm-faq-disclosure-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.pm-faq-disclosure-copy strong {
  color: var(--pm-navy);
  font-weight: 850;
}

.pm-faq-disclosure-copy small {
  color: var(--pm-body);
  line-height: 1.35;
}

.pm-faq-plus,
.pm-support-accordion > summary > .pm-faq-plus {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--pm-yellow);
}

.pm-faq-plus::before,
.pm-faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 3px;
  border-radius: 999px;
  background: var(--pm-navy);
  transform: translate(-50%, -50%);
}

.pm-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: opacity .16s ease;
}

details[open] > summary .pm-faq-plus::after {
  opacity: 0;
}

.pm-faq-disclosure[open] > summary,
.pm-support-accordion[open] > summary,
.pm-model-editor-details-v3[open] > summary {
  border-bottom: 1px solid var(--pm-border);
  background: #fbfcfe;
}

.pm-summary-advanced-body,
.pm-support-accordion .pm-accordion-body {
  padding: 24px;
}

.pm-summary-advanced-group {
  padding: 24px 0;
  border-bottom: 1px solid #edf2f7;
}

.pm-summary-advanced-group:first-child {
  padding-top: 0;
}

.pm-summary-advanced-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pm-summary-advanced-title {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.pm-summary-advanced-title span {
  color: var(--pm-body);
}


/* --------------------------------------------------------------------------
   R21-G-R3 · Variant details polish
   -------------------------------------------------------------------------- */

/*
  En los detalles del editor de modelos algunos campos (SKU / GTIN) incluyen
  ayuda debajo del input y otros no. El grid no debe estirar las celdas sin
  ayuda porque eso desplaza verticalmente su label/input.
*/
.pm-product-page .pm-model-editor-details-v3 .pm-form-grid {
  align-items: start;
}

.pm-product-page .pm-model-editor-details-v3 .pm-form-grid > .pm-field {
  align-self: start;
}

/*
  El summary completo ya es el área clicable. El círculo amarillo puede ser
  visualmente compacto sin reducir el target de interacción del acordeón.
*/
.pm-product-page .pm-model-editor-details-v3 > summary > .pm-faq-plus {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex: 0 0 24px !important;
}

.pm-product-page .pm-model-editor-details-v3 > summary > .pm-faq-plus::before,
.pm-product-page .pm-model-editor-details-v3 > summary > .pm-faq-plus::after {
  width: 11px !important;
  height: 2px !important;
}


/* --------------------------------------------------------------------------
   R21-J-R2 · compact applications / aliases / source domains
   -------------------------------------------------------------------------- */

.pm-product-page .pm-compact-chip-field {
  align-self: start;
}

.pm-product-page .pm-compact-chip-editor {
  display: grid;
  gap: 8px;
  width: min(100%, 620px);
}

.pm-product-page .pm-compact-chip-values {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pm-product-page .pm-compact-chip-values:empty {
  display: none;
}

.pm-product-page .pm-compact-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 4px 8px 4px 11px;
  border: 1px solid #d8e2ef;
  border-radius: 999px;
  background: #f6f9fd;
  color: #153257;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
}

.pm-product-page .pm-compact-chip > button {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #687b94;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.pm-product-page .pm-compact-chip > button:hover,
.pm-product-page .pm-compact-chip > button:focus-visible {
  background: #e5edf7;
  color: #102847;
  outline: none;
}

.pm-product-page .pm-compact-chip-entry {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.pm-product-page .pm-compact-chip-input {
  min-height: 42px;
}

.pm-product-page .pm-compact-chip-add {
  min-height: 42px;
  padding-inline: 15px;
  white-space: nowrap;
}

.pm-product-page .pm-compact-chip-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  display: grid;
  max-height: 240px;
  overflow: auto;
  padding: 6px;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(22, 46, 78, 0.12);
}

.pm-product-page .pm-compact-chip-suggestions[hidden] {
  display: none;
}

.pm-product-page .pm-compact-chip-suggestions > button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #132d50;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.pm-product-page .pm-compact-chip-suggestions > button:hover,
.pm-product-page .pm-compact-chip-suggestions > button:focus-visible {
  background: #f0f5fb;
  outline: none;
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-compact-chip-editor {
    width: 100%;
  }

  .pm-product-page .pm-compact-chip-entry {
    grid-template-columns: 1fr;
  }

  .pm-product-page .pm-compact-chip-add {
    justify-self: start;
  }
}

/* ==========================================================================
   Barra de guardado
   ========================================================================== */

.pm-section-actions {
  position: sticky;
  z-index: 12;
  bottom: 16px;
  display: flex;
  width: 100%;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px 12px 22px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 30px rgba(17,40,75,.10);
  backdrop-filter: blur(10px);
}

.pm-section-actions > div {
  display: grid;
  gap: 4px;
}

.pm-section-actions strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
}

.pm-section-actions small {
  color: var(--pm-body);
}

/* ==========================================================================
   Modelos
   ========================================================================== */

.pm-models-v4 {
  display: grid;
  gap: 20px;
}

.pm-models-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.pm-models-summary-card {
  margin: 0;
}

.pm-models-summary-card .pm-models-summary-attribute {
  grid-template-columns: 46px minmax(0, 1fr);
  column-gap: 13px;
}

.pm-models-summary-card .pm-models-summary-attribute > .pm-models-summary-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border-color: #d7e7fa;
  background: #edf6ff;
}

.pm-models-summary-card .pm-models-summary-icon svg {
  width: 27px;
  height: 27px;
  display: block;
}

.pm-models-summary-card .pm-models-summary-attribute[data-summary-kind="operación"] .pm-models-summary-icon svg,
.pm-models-summary-card .pm-models-summary-attribute[data-summary-kind="refrigerante"] .pm-models-summary-icon svg {
  width: 28px;
  height: 28px;
}

.pm-models-inline-warning {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid #efd48a;
  border-radius: 14px;
  background: #fffaf0;
  color: var(--pm-navy);
}

.pm-models-warning-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--pm-yellow);
  color: var(--pm-navy);
  font-weight: 900;
}

.pm-models-inline-warning > div {
  display: grid;
  gap: 3px;
}

.pm-models-inline-warning strong {
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-models-inline-warning span:not(.pm-models-warning-mark) {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  line-height: 1.35;
}

.pm-models-main-card {
  overflow: hidden;
}

.pm-models-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--pm-border);
  background: #fff;
}

.pm-models-list-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pm-models-list-head .pm-eyebrow {
  margin: 0;
}

.pm-models-list-head strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.2;
  font-weight: 850;
}

.pm-models-list-head > div > span {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  line-height: 1.4;
}

.pm-models-result-badge {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 1px solid var(--pm-border);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  font-weight: 800;
  white-space: nowrap;
}

.pm-models-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px 24px;
  border-bottom: 1px solid var(--pm-border);
  background: #fbfcfe;
}

.pm-model-filter {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.pm-models-clear {
  min-width: 92px;
  min-height: var(--pm-control-h) !important;
}

.pm-models-table-wrap {
  width: calc(100% - 48px);
  margin: 20px 24px;
  overflow-x: auto;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-control-radius);
  background: #fff;
}

.pm-models-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.pm-models-table th {
  height: 42px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--pm-border);
  background: #f8fafc;
  color: var(--pm-body);
  font-weight: 850;
  letter-spacing: .06em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.pm-models-table td {
  height: 70px;
  padding: 11px 14px;
  border-bottom: 1px solid #edf2f7;
  color: var(--pm-navy);
  vertical-align: middle;
}

.pm-models-table tbody tr:last-child td {
  border-bottom: 0;
}

.pm-models-table td strong {
  display: block;
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-models-table td small {
  display: block;
  margin-top: 4px;
  color: var(--pm-body);
}

.pm-models-table tr {
  cursor: pointer;
}

.pm-models-table tr:hover td,
.pm-models-table tr.is-selected td {
  background: #eef6ff;
}

.pm-models-table tr:focus-visible {
  outline: 3px solid rgba(0, 109, 255, .18);
  outline-offset: -3px;
}

.pm-models-table tr.is-selected td:first-child {
  box-shadow: inset 4px 0 0 var(--pm-blue);
}

.pm-model-row-action {
  color: var(--pm-blue) !important;
  font-weight: 850;
  white-space: nowrap;
}

.pm-model-row-action > span {
  display: inline-block;
}

.pm-model-row-action > span + span {
  margin-left: 5px;
}

.pm-models-table-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px 20px;
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
}

.pm-model-editor-v3 {
  display: grid;
  gap: 16px;
  padding: 24px !important;
}

.pm-model-editor-v3-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf2f7;
}

.pm-model-editor-v3-head > div {
  display: grid;
  gap: 5px;
}

.pm-model-editor-v3-head h3 {
  margin: 0;
  color: var(--pm-navy);
}

.pm-model-editor-v3-head p {
  margin: 0;
  color: var(--pm-body);
}

.pm-model-editor-primary {
  padding: 24px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: #fbfcfe;
}

.pm-model-editor-section-title {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
}

.pm-model-editor-section-title span {
  color: var(--pm-body);
}

.pm-model-primary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}

.pm-model-editor-details-v3 > .pm-form-grid {
  padding: 24px;
}

.pm-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@container product-manager (max-width: 1040px) {
  .pm-models-toolbar {
    grid-template-columns: minmax(260px, 1.4fr) repeat(2, minmax(150px, 1fr));
  }

  .pm-model-filter-search {
    grid-column: 1 / -1;
  }

  .pm-models-clear {
    width: 100%;
  }
}

@container product-manager (max-width: 860px) {
  .pm-model-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container product-manager (max-width: 720px) {
  .pm-models-head-actions,
  .pm-models-list-head,
  .pm-models-table-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-models-head-actions .pm-btn,
  .pm-models-result-badge {
    width: 100%;
  }

  .pm-models-toolbar {
    grid-template-columns: 1fr 1fr;
  }

  .pm-model-filter-search {
    grid-column: 1 / -1;
  }
}

@container product-manager (max-width: 560px) {
  .pm-models-toolbar,
  .pm-model-primary-grid {
    grid-template-columns: 1fr;
  }

  .pm-models-toolbar {
    padding: 14px;
  }

  .pm-model-filter-search {
    grid-column: auto;
  }

  .pm-models-list-head {
    padding: 18px 14px 14px;
  }

  .pm-models-table-wrap {
    width: auto;
    margin: 14px;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .pm-models-table {
    min-width: 0;
    display: block;
  }

  .pm-models-table thead {
    display: none;
  }

  .pm-models-table tbody {
    display: grid;
    gap: 10px;
  }

  .pm-models-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--pm-border);
    border-radius: 14px;
    background: #fff;
  }

  .pm-models-table td {
    display: block;
    height: auto;
    min-height: 72px;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid #edf2f7;
  }

  .pm-models-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 5px;
    color: var(--pm-body);
    font-size: var(--pm-fs-small) !important;
    font-weight: 800;
  }

  .pm-models-table td:nth-child(odd) {
    border-right: 1px solid #edf2f7;
  }

  .pm-models-table .pm-model-row-action {
    grid-column: 1 / -1;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border-right: 0;
    border-bottom: 0;
  }

  .pm-models-table .pm-model-row-action::before {
    margin: 0 auto 0 0;
  }

  .pm-models-table-foot {
    padding: 0 14px 16px;
  }

  .pm-model-editor-v3,
  .pm-model-editor-primary,
  .pm-model-editor-details-v3 > .pm-form-grid {
    padding: 18px 14px !important;
  }

  .pm-model-editor-v3-head {
    align-items: stretch;
    flex-direction: column;
  }
}


/* ==========================================================================
   Contenido de la ficha
   ========================================================================== */

.pm-support-v3 {
  display: grid;
  gap: 20px;
}

.pm-support-head {
  align-items: end;
}

.pm-support-head > div {
  max-width: 860px;
}

.pm-support-mirror-banner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid #d9e6f5;
  border-radius: var(--pm-card-radius);
  background: #f8fbff;
}

.pm-support-mirror-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d4e6fb;
  border-radius: 13px;
  background: #edf6ff;
  color: var(--pm-blue);
}

.pm-support-mirror-icon svg {
  width: 25px;
  height: 25px;
  display: block;
}

.pm-support-mirror-banner > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pm-support-mirror-banner > div > strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-support-mirror-banner > div > span {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  line-height: 1.4;
}

.pm-support-source-pill {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #fff;
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  font-weight: 800;
  white-space: nowrap;
}

.pm-support-stack {
  display: grid;
  gap: 12px;
}

.pm-support-stack > .pm-support-accordion {
  overflow: hidden;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 42, 82, .035);
}

.pm-support-stack > .pm-support-accordion[open] {
  border-color: #c9dcf2;
  box-shadow: 0 10px 28px rgba(17, 42, 82, .055);
}

.pm-support-stack > .pm-support-accordion > summary {
  min-height: 58px;
  padding: 11px 14px;
}

.pm-support-stack > .pm-support-accordion > .pm-accordion-body {
  padding: 4px 20px 22px;
  border-top: 1px solid #edf2f7;
}

/* FBC_PM_R21_H_R2_R1_SECTION3_CONTROL_POLISH */
.pm-support-v3 .pm-support-stack > .pm-support-accordion > summary > .pm-faq-plus,
.pm-support-v3 .pm-support-faq-list .pm-support-accordion > summary > .pm-faq-plus {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  flex: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--pm-yellow) !important;
  box-shadow: none !important;
}

.pm-support-v3 .pm-support-stack > .pm-support-accordion > summary > .pm-faq-plus::before,
.pm-support-v3 .pm-support-stack > .pm-support-accordion > summary > .pm-faq-plus::after,
.pm-support-v3 .pm-support-faq-list .pm-support-accordion > summary > .pm-faq-plus::before,
.pm-support-v3 .pm-support-faq-list .pm-support-accordion > summary > .pm-faq-plus::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 10px !important;
  height: 2px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--pm-navy) !important;
  transform: translate(-50%, -50%) !important;
}

.pm-support-v3 .pm-support-stack > .pm-support-accordion > summary > .pm-faq-plus::after,
.pm-support-v3 .pm-support-faq-list .pm-support-accordion > summary > .pm-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

.pm-support-v3 details[open] > summary > .pm-faq-plus::after {
  opacity: 0 !important;
}

.pm-support-v3 .pm-bullet-footer > small[data-structured-count] {
  display: none !important;
}

.pm-support-v3 .pm-bullet-footer {
  gap: 0;
  margin-top: 8px;
}

.pm-support-v3 .pm-field-help {
  margin-top: 7px;
  line-height: 1.4;
}


.pm-support-module-grid {
  display: grid;
  grid-template-columns: minmax(240px, 3fr) minmax(0, 9fr);
  gap: 28px;
  align-items: start;
  padding-top: 20px;
}

.pm-support-title-column,
.pm-support-content-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.pm-support-title-column {
  align-content: start;
}

.pm-support-module-intro {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.pm-support-module-intro > div {
  display: grid;
  gap: 3px;
}

.pm-support-module-intro strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-small) !important;
  font-weight: 850;
}

.pm-support-module-intro small {
  color: var(--pm-body);
  line-height: 1.4;
}

.pm-support-step {
  display: grid;
  width: 38px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: #f0f5fb;
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  font-weight: 900;
  letter-spacing: .04em;
}

.pm-support-content-column > .pm-bullet-editor,
.pm-support-content-column > .pm-form-section,
.pm-support-content-column > .pm-public-tech {
  margin: 0;
}

.pm-support-subsection-divider {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid #edf2f7;
}

.pm-support-subsection-divider span {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pm-support-subsection-divider strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-support-faq-module {
  display: grid;
  gap: 16px;
  padding-top: 20px;
}

.pm-support-faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pm-support-faq-toolbar > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.pm-support-faq-toolbar > div > div {
  display: grid;
  gap: 3px;
}

.pm-support-faq-toolbar strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-support-faq-toolbar span {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  line-height: 1.4;
}

.pm-support-faq-list {
  display: grid;
  gap: 10px;
}

.pm-support-faq-list .pm-support-accordion {
  overflow: hidden;
  border: 1px solid #dfe7f0;
  border-radius: 14px;
  background: #fbfcfe;
  box-shadow: none !important;
}

.pm-support-faq-list .pm-support-accordion > summary {
  min-height: 58px;
  padding: 12px 14px;
}

.pm-support-faq-list .pm-support-accordion > .pm-accordion-body {
  padding: 14px;
  border-top: 1px solid #e8eef5;
  background: #fff;
}

.pm-support-v3 .pm-editorial-alert[data-support-public-reference] {
  margin: 0;
  border-color: #d8e5f3;
  background: #f8fbff;
}

.pm-support-v3 .pm-editorial-alert[data-support-public-reference] ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.pm-support-v3 .pm-editorial-alert[data-support-public-reference] li + li {
  margin-top: 4px;
}

.pm-product-page .pm-bullet-items {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.pm-product-page .pm-bullet-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 3px 5px;
  border: 1px solid var(--pm-border);
  border-radius: 13px;
  background: #fff;
}

.pm-product-page .pm-bullet-row:focus-within {
  border-color: var(--pm-blue);
  box-shadow: 0 0 0 3px var(--pm-focus);
}

.pm-product-page .pm-bullet-control {
  min-height: 38px !important;
  padding: 7px 9px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pm-product-page .pm-bullet-drag,
.pm-product-page .pm-bullet-remove {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--pm-body);
  font-size: var(--pm-fs-body) !important;
}

.pm-product-page .pm-bullet-drag {
  cursor: grab;
}

.pm-product-page .pm-bullet-drag:active {
  cursor: grabbing;
}

.pm-product-page .pm-bullet-remove:hover {
  background: #fff2f1;
  color: var(--pm-red);
}

.pm-structured-row {
  border-radius: var(--pm-control-radius);
}

.pm-support-v3 [data-support-line-rows] {
  display: grid;
  gap: 10px;
}

.pm-support-v3 [data-support-line-row] {
  display: grid;
  grid-template-columns: minmax(180px, 4fr) minmax(280px, 7fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--pm-border);
  border-radius: 14px;
  background: #fff;
}

.pm-support-v3 [data-support-line-row] .pm-structured-actions {
  padding-bottom: 1px;
}

@container product-manager (max-width: 860px) {
  .pm-support-module-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pm-support-title-column {
    padding-bottom: 18px;
    border-bottom: 1px solid #edf2f7;
  }

  .pm-support-v3 [data-support-line-row] {
    grid-template-columns: 1fr 1fr;
  }

  .pm-support-v3 [data-support-line-row] .pm-structured-actions {
    grid-column: 1 / -1;
  }
}

@container product-manager (max-width: 620px) {
  .pm-support-head {
    align-items: stretch;
  }

  .pm-support-head .pm-btn {
    width: 100%;
  }

  .pm-support-mirror-banner {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .pm-support-mirror-icon {
    width: 40px;
    height: 40px;
  }

  .pm-support-source-pill {
    grid-column: 1 / -1;
    width: 100%;
  }

  .pm-support-stack > .pm-support-accordion > summary {
    min-height: 54px;
    padding: 10px 12px;
  }

  .pm-support-stack > .pm-support-accordion > .pm-accordion-body {
    padding: 2px 14px 16px;
  }

  .pm-support-faq-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-support-faq-toolbar .pm-btn {
    width: 100%;
  }

  .pm-support-v3 [data-support-line-row] {
    grid-template-columns: 1fr;
  }

  .pm-support-v3 [data-support-line-row] .pm-structured-actions {
    grid-column: auto;
  }
}


/* ==========================================================================
   Medios y publicación
   ========================================================================== */

.pm-media-upload-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px dashed #b6c9de;
  border-radius: var(--pm-card-radius);
  background: #fff;
}

.pm-media-upload-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pm-media-upload-copy strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

.pm-media-upload-copy span,
.pm-media-upload-copy small {
  color: var(--pm-body);
}

.pm-media-upload-card .pm-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-media-library {
  padding: 24px;
}

.pm-media-library .pm-section-head {
  margin-bottom: 20px;
}

.pm-media-approved-list {
  display: grid;
  gap: 12px;
}

.pm-media-approved-row {
  position: relative;
  display: grid !important;
  grid-template-columns: 88px 160px minmax(0, 1fr) auto !important;
  align-items: center;
  gap: 20px;
  min-width: 0;
  min-height: 170px;
  padding: 16px;
  border: 1px solid var(--pm-border) !important;
  border-radius: var(--pm-card-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}

.pm-media-order-column {
  display: grid;
  place-items: center;
  min-width: 0;
}

.pm-media-approved-row .pm-order-controls {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(2, 36px);
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-control-radius);
  background: #fff;
  box-shadow: none;
}

.pm-media-approved-row .pm-order-position {
  grid-column: 1 / -1;
  text-align: center;
}

.pm-media-approved-row .pm-order-btn,
.pm-media-approved-row .pm-drag-handle {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f5f8fc;
  color: var(--pm-body);
  font-size: var(--pm-fs-body) !important;
}

.pm-media-approved-row .pm-media-preview {
  display: grid !important;
  width: 160px !important;
  height: 120px !important;
  min-width: 160px;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  border: 1px solid var(--pm-border) !important;
  border-radius: var(--pm-control-radius) !important;
  background: #f8fafc;
}

.pm-media-approved-row .pm-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pm-media-approved-row .pm-media-meta {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 0 !important;
}

.pm-media-approved-row .pm-media-meta > strong {
  color: var(--pm-navy);
  font-weight: 850;
}

.pm-media-approved-row .pm-media-meta > small {
  color: var(--pm-body);
}

.pm-media-alt-view {
  display: grid;
  max-width: 520px;
  gap: 7px;
}

.pm-media-alt-view > span {
  color: var(--pm-body);
  font-size: var(--pm-fs-small) !important;
  font-weight: 800;
}

.pm-media-alt-view input[readonly] {
  cursor: pointer;
  background: #fbfcfe;
}

.pm-media-approved-row .pm-media-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 !important;
}

.pm-media-prep-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pm-media-prep-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.pm-media-prep-card > div {
  display: grid;
  gap: 4px;
}

.pm-media-prep-card h3 {
  margin: 0;
  color: var(--pm-navy);
}

.pm-media-prep-card p {
  margin: 0;
  color: var(--pm-body);
}


/* --------------------------------------------------------------------------
   R21-I-R1 · IA de Medios y publicación
   -------------------------------------------------------------------------- */

.pm-product-page .pm-publish-subnav-v2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--pm-border);
  border-radius: 16px;
  background: #fff;
}

.pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab {
  display: grid;
  min-width: 0;
  min-height: 58px;
  align-content: center;
  gap: 3px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  box-shadow: none;
}

.pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab strong {
  overflow: hidden;
  color: inherit;
  font-size: var(--pm-fs-body) !important;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab small {
  overflow: hidden;
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab:hover {
  border-color: #d8e4f1;
  background: #f8fbff;
}

.pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab.active {
  border-color: #9fc4ff;
  background: #f2f7ff;
  color: var(--pm-blue);
  box-shadow: none;
}

.pm-product-page .pm-media-assets-nav {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 4px;
  width: fit-content;
  padding: 4px;
  border: 1px solid var(--pm-border);
  border-radius: 12px;
  background: #eef3f8;
}

.pm-product-page .pm-media-assets-tab {
  min-height: 36px;
  padding: 7px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f6f86;
  font-weight: 800;
  box-shadow: none;
}

.pm-product-page .pm-media-assets-tab.active {
  background: #fff;
  color: var(--pm-blue);
  box-shadow: 0 1px 3px rgba(13,35,64,.08);
}

.pm-product-page .pm-documents-v2 {
  display: grid;
  gap: 20px;
}

.pm-product-page .pm-publication-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.pm-product-page .pm-history-v2 {
  display: grid;
  gap: 20px;
}

@container product-manager (max-width: 820px) {
  .pm-product-page .pm-publish-subnav-v2 {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .pm-product-page .pm-publish-subnav-v2 .pm-publish-subtab {
    flex: 0 0 min(72%, 260px);
  }
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-media-assets-nav {
    width: 100%;
  }

  .pm-product-page .pm-publication-head-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-product-page .pm-publication-head-actions .pm-btn,
  .pm-product-page .pm-history-v2 .pm-approved-section-head .pm-btn {
    width: 100%;
  }
}


/* --------------------------------------------------------------------------
   R21-I-R1-R1 · Google Merchant header polish
   -------------------------------------------------------------------------- */

.pm-product-page .pm-merchant-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 20px 22px;
}

.pm-product-page .pm-merchant-head > div:first-child {
  display: grid;
  min-width: 0;
  align-content: start;
  gap: 6px;
}

.pm-product-page .pm-merchant-head > div:first-child > .pm-eyebrow,
.pm-product-page .pm-merchant-head > div:first-child > h3,
.pm-product-page .pm-merchant-head > div:first-child > p {
  margin: 0;
}

.pm-product-page .pm-merchant-head > div:first-child > h3 {
  line-height: 1.25;
}

.pm-product-page .pm-merchant-head > div:first-child > p:not(.pm-eyebrow) {
  color: var(--pm-body);
  line-height: 1.5;
}

.pm-product-page .pm-merchant-head > div:first-child > .pm-pill {
  justify-self: start;
  margin-top: 2px;
}

.pm-product-page .pm-merchant-head > .pm-score {
  width: 92px;
  height: 92px;
  justify-self: end;
  align-content: center;
}

.pm-product-page .pm-merchant-head > .pm-score strong {
  font-size: 18px;
  line-height: 1;
}

.pm-product-page .pm-merchant-head > .pm-score small {
  display: none;
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-merchant-head {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .pm-product-page .pm-merchant-head > .pm-score {
    justify-self: start;
  }
}


/* --------------------------------------------------------------------------
   R21-I-R2 · Publication spacing fix
   -------------------------------------------------------------------------- */

/*
  La vista de Publicacion vive dentro de .pm-detail-body, que ya es grid con
  gap:24px. Las tarjetas .pm-form-section heredaban ademas margin-bottom:15px,
  creando un doble espacio de casi 40px entre bloques.
*/
.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-form-section,
.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section {
  margin-bottom: 0 !important;
}

/* Mantener el grid de estado limpio y sin margen residual propio. */
.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid {
  margin: 0;
}

/* El texto técnico final forma parte del mismo ritmo vertical. */
.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-help:last-child {
  margin: 0 2px;
}


/* --------------------------------------------------------------------------
   R21-I-R2-R1 · Publication card typography spacing
   -------------------------------------------------------------------------- */

.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
}

.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section > .pm-eyebrow {
  margin: 0 0 2px;
}

.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section > h3 {
  margin: 0;
  line-height: 1.25;
}

.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section > p:not(.pm-eyebrow) {
  margin: 4px 0 0;
  line-height: 1.5;
}

.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section > .pm-pill,
.pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section > .pm-blocker-list {
  justify-self: start;
  margin-top: 2px;
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-detail-body:has(> .pm-publication-stepper) > .pm-publication-grid > .pm-form-section {
    padding: 16px;
    gap: 7px;
  }
}

/* ==========================================================================
   Helpers y estados
   ========================================================================== */

.pm-editorial-alert {
  border-radius: var(--pm-card-radius);
}

.pm-empty {
  padding: 36px 20px;
  border: 1px dashed var(--pm-border);
  border-radius: var(--pm-card-radius);
  background: #fbfcfe;
  color: var(--pm-body);
  text-align: center;
}

.pm-empty strong {
  display: block;
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
}

.pm-empty span {
  display: block;
  margin-top: 6px;
  font-size: var(--pm-fs-body) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {

  .pm-product-page .pm-expedient-head {
    grid-template-columns: 140px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  .pm-product-page .pm-expedient-image {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
  }

  .pm-media-approved-row {
    grid-template-columns: 80px 150px minmax(0, 1fr) !important;
  }

  .pm-media-approved-row .pm-media-actions {
    grid-column: 3;
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .pm-product-page-topbar,
  .pm-product-page .pm-workspace-subnav,
  .pm-product-page .pm-detail-body,
  .pm-product-page .pm-approved-section {
    width: min(calc(100% - 28px), var(--pm-content)) !important;
  }

  .pm-product-page .pm-expedient-toolbar {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .pm-summary-select-row,
  .pm-summary-select-row:has(#pm-product-brand option:checked[value="__other__"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pm-support-module-grid {
    grid-template-columns: 1fr;
  }

  .pm-media-upload-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .pm-media-upload-card .pm-upload-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .pm-media-approved-row {
    grid-template-columns: 70px 150px minmax(0, 1fr) !important;
  }

  .pm-media-approved-row .pm-media-actions {
    grid-column: 2 / -1;
  }

  .pm-media-prep-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .pm-product-page .pm-expedient-head {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 18px !important;
  }

  .pm-product-page .pm-expedient-image {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    padding: 8px !important;
  }

  .pm-product-page .pm-expedient-toolbar {
    padding: 14px 18px !important;
  }

  .pm-product-page .pm-expedient-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pm-product-page .pm-expedient-actions .pm-btn {
    width: 100%;
  }

  .pm-approved-section-head,
  .pm-models-head,
  .pm-summary-tech-head,
  .pm-models-tech-title,
  .pm-support-faq-toolbar,
  .pm-media-prep-card,
  .pm-section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-summary-select-row,
  .pm-summary-select-row:has(#pm-product-brand option:checked[value="__other__"]) {
    grid-template-columns: 1fr;
  }

  .pm-media-upload-card {
    grid-template-columns: 1fr;
  }

  .pm-media-upload-card .pm-upload-actions {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .pm-media-approved-row {
    grid-template-columns: 1fr !important;
  }

  .pm-media-order-column,
  .pm-media-approved-row .pm-media-preview,
  .pm-media-approved-row .pm-media-meta,
  .pm-media-approved-row .pm-media-actions {
    grid-column: 1 !important;
  }

  .pm-media-approved-row .pm-media-preview {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
  }

  .pm-media-approved-row .pm-media-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pm-section-actions .pm-btn {
    width: 100%;
  }
}

/* R21-D-R1 · responsive de componentes compartidos */
@media (max-width: 1180px) {
}

@media (max-width: 860px) {
}

/* R21-D-R1-R2-R2 · resumen técnico balanceado */
@media (max-width: 1180px) {
}

@media (max-width: 580px) {
}

/* R21-D-R1-R3 · hero metrics horizontal */
@media (max-width: 1180px) {
}

@media (max-width: 860px) {
}

@media (max-width: 580px) {
}

/* R21-D-R1-R4-R1 · focus full-page */
.pm-product-page .pm-product-back:focus {
  outline: none !important;
  box-shadow: none !important;
}

.pm-product-page .pm-product-back:focus-visible {
  outline: 2px solid rgba(0,109,255,.42) !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

/* R21-E-R1-R1_RESPONSIVE_FOUNDATION_APPLIED */

/*
  Product Manager responde al ancho real de su workspace dentro de FBC.
  No existen reglas por monitor, DPR o resolución física.
*/

@container product-manager (max-width: 980px) {
  .pm-product-page .pm-product-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "identity"
      "summary"
      "toolbar";
  }

  .pm-product-hero-summary {
    width: 100%;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    justify-content: stretch;
    padding: 0 24px 22px;
  }

  .pm-product-page .pm-workspace-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-product-hero,
  .pm-product-page .pm-workspace-nav {
    width: min(calc(100% - 28px), var(--pm-content));
  }

  .pm-product-hero-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0 16px 18px;
  }

  .pm-product-hero-stat {
    min-height: 76px;
    padding: 10px 12px;
  }

  .pm-product-page .pm-workspace-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding-bottom: 4px;
  }

  .pm-product-page .pm-workspace-tab {
    flex: 0 0 min(82%, 260px);
  }
}

/* FBC_PM_R21_F_R2_R1_SUMMARY_START */

/* ==========================================================================
   R21-F-R2-R1 · SECCIÓN 1 — RESUMEN / MARKUP V5
   12 / 16 / 32 px. Responsive por container Product Manager.
   ========================================================================== */

.pm-product-page .pm-detail-body.pm-summary-v5.pm-approved-section {
  display: grid;
  width: min(calc(100% - 48px), var(--pm-content)) !important;
  margin: 0 auto !important;
  padding: 28px 0 56px !important;
  gap: 14px;
  border: 0;
  background: transparent;
}

/* --------------------------------------------------------------------------
   Información principal
   -------------------------------------------------------------------------- */

.pm-product-page .pm-summary-primary-card {
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid #dfe7f1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(17,40,75,.045);
}

.pm-product-page .pm-summary-v5-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e7edf4;
}

.pm-product-page .pm-summary-v5-head > div {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.pm-product-page .pm-summary-v5-head .pm-eyebrow,
.pm-product-page .pm-summary-panel-head > span,
.pm-product-page .pm-summary-tech-card .pm-eyebrow {
  margin: 0;
  color: #6b7f99;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.pm-product-page .pm-summary-v5-head h3 {
  margin: 0;
  color: var(--pm-navy);
  font-size: var(--pm-fs-title) !important;
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: -.035em;
}

.pm-product-page .pm-summary-v5-head p:not(.pm-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #667b97;
  font-size: var(--pm-fs-body) !important;
  line-height: 1.42;
  font-weight: 500;
}

.pm-product-page .pm-summary-v5-head > .pm-btn {
  min-height: 44px;
  align-self: center;
  white-space: nowrap;
}

/* La transformación visible: contenido y clasificación dejan de ser una fila
   plana y se convierten en dos módulos con responsabilidades claras. */

.pm-product-page .pm-summary-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  gap: 16px;
  align-items: stretch;
}

.pm-product-page .pm-summary-copy-panel,
.pm-product-page .pm-summary-classification-panel {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  padding: 22px;
  border: 1px solid #e0e8f2;
  border-radius: 16px;
}

.pm-product-page .pm-summary-copy-panel {
  background: #ffffff;
}

.pm-product-page .pm-summary-classification-panel {
  background: #f6f9fd;
}

.pm-product-page .pm-summary-panel-head {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pm-product-page .pm-summary-panel-head > strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.25;
  font-weight: 850;
}

.pm-product-page .pm-summary-panel-head > small {
  max-width: 620px;
  margin: 0;
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.4;
  font-weight: 650;
}

.pm-product-page .pm-summary-copy-fields,
.pm-product-page .pm-summary-classification-fields {
  display: grid;
  gap: 17px;
  min-width: 0;
}

.pm-product-page .pm-summary-copy-fields > *,
.pm-product-page .pm-summary-classification-fields > * {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Campos de Resumen
   -------------------------------------------------------------------------- */

.pm-product-page .pm-summary-v5 .pm-field {
  min-width: 0;
}

.pm-product-page .pm-summary-v5 .pm-field > span:first-child,
.pm-product-page .pm-summary-v5 .pm-field-label {
  color: #516681;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.25;
  font-weight: 800;
}

.pm-product-page .pm-summary-v5 input.pm-control,
.pm-product-page .pm-summary-v5 select.pm-control {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d4e0ec;
  border-radius: 12px;
  background: #ffffff;
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.3;
  font-weight: 700;
  box-shadow: none;
}

.pm-product-page .pm-summary-v5 textarea.pm-control {
  width: 100%;
  min-height: 164px;
  padding: 14px;
  resize: vertical;
  border: 1px solid #d4e0ec;
  border-radius: 12px;
  background: #ffffff;
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.48;
  font-weight: 600;
  box-shadow: none;
}

.pm-product-page .pm-summary-v5 input.pm-control:focus,
.pm-product-page .pm-summary-v5 select.pm-control:focus,
.pm-product-page .pm-summary-v5 textarea.pm-control:focus {
  outline: none;
  border-color: #82b9ff;
  box-shadow: 0 0 0 3px rgba(0,109,255,.10);
}

.pm-product-page .pm-summary-v5 .pm-field > small,
.pm-product-page .pm-summary-v5 .pm-field-help,
.pm-product-page .pm-summary-v5 .pm-helper {
  margin-top: 6px;
  color: #8090a6;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.35;
  font-weight: 650;
}

.pm-product-page .pm-summary-v5 .pm-brand-custom-wrap {
  min-width: 0;
}

.pm-product-page .pm-summary-v5 .pm-brand-custom-wrap:has(.pm-field[hidden]) {
  display: none;
}

/* --------------------------------------------------------------------------
   Resumen técnico: card independiente, misma fuente canónica desde modelos.
   -------------------------------------------------------------------------- */

.pm-product-page .pm-summary-tech-card {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17,40,75,.035);
}

.pm-product-page .pm-summary-tech-card .pm-summary-tech-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.pm-product-page .pm-summary-tech-card .pm-summary-tech-head > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pm-product-page .pm-summary-tech-card .pm-summary-tech-head strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.2;
  font-weight: 850;
}

.pm-product-page .pm-summary-tech-card .pm-summary-tech-head span {
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.35;
  font-weight: 650;
}

.pm-product-page .pm-summary-tech-card .pm-summary-tech-grid {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Configuración avanzada
   -------------------------------------------------------------------------- */

.pm-product-page .pm-summary-v5 details.pm-summary-advanced.pm-faq-disclosure {
  width: 100%;
  margin: 0;
  overflow: clip;
  border: 1px solid #dfe7f1;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17,40,75,.035);
}

.pm-product-page .pm-summary-v5 details.pm-summary-advanced > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 14px 16px 14px 20px;
  cursor: pointer;
  list-style: none;
}

.pm-product-page .pm-summary-v5 details.pm-summary-advanced > summary::-webkit-details-marker {
  display: none;
}

.pm-product-page .pm-summary-v5 .pm-faq-disclosure-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.pm-product-page .pm-summary-v5 .pm-faq-disclosure-copy strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.25;
  font-weight: 850;
}

.pm-product-page .pm-summary-v5 .pm-faq-disclosure-copy small {
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.35;
  font-weight: 650;
}

.pm-product-page .pm-summary-v5 .pm-faq-plus {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  justify-self: end;
  border-radius: 999px;
  background: var(--pm-yellow);
}

.pm-product-page .pm-summary-v5 .pm-faq-plus::before {
  content: "+";
  color: var(--pm-navy);
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.pm-product-page .pm-summary-v5 details[open] > summary .pm-faq-plus::before {
  content: "−";
}

.pm-product-page .pm-summary-v5 details.pm-summary-advanced[open] > summary {
  border-bottom: 1px solid #e7edf4;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-body {
  display: grid;
  gap: 20px;
  padding: 22px;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-group {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-group + .pm-summary-advanced-group {
  padding-top: 20px;
  border-top: 1px solid #edf1f6;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-title {
  display: grid;
  gap: 3px;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-title strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.25;
  font-weight: 850;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced-title span {
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.35;
  font-weight: 650;
}

.pm-product-page .pm-summary-v5 .pm-summary-advanced .pm-form-grid,
.pm-product-page .pm-summary-v5 .pm-summary-advanced .pm-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
  align-items: end;
}

/* --------------------------------------------------------------------------
   Guardado
   -------------------------------------------------------------------------- */

.pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid #dfe7f1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17,40,75,.035);
  backdrop-filter: none;
}

.pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-right: 0;
}

.pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] strong {
  color: var(--pm-navy);
  font-size: var(--pm-fs-body) !important;
  line-height: 1.2;
  font-weight: 850;
}

.pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] small {
  margin: 0;
  color: #71839b;
  font-size: var(--pm-fs-small) !important;
  line-height: 1.3;
  font-weight: 650;
}

.pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] .pm-btn {
  min-height: 48px;
  padding-inline: 20px;
  border-radius: 12px;
  font-size: var(--pm-fs-body) !important;
  font-weight: 850;
}

/* --------------------------------------------------------------------------
   Container responsive
   -------------------------------------------------------------------------- */

@container product-manager (max-width: 940px) {
  .pm-product-page .pm-summary-editor-grid {
    grid-template-columns: 1fr;
  }

  .pm-product-page .pm-summary-classification-fields {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }

  .pm-product-page .pm-summary-classification-fields .pm-brand-custom-wrap {
    grid-column: 1 / -1;
  }
}

@container product-manager (max-width: 620px) {
  .pm-product-page .pm-detail-body.pm-summary-v5.pm-approved-section {
    width: min(calc(100% - 28px), var(--pm-content)) !important;
  }

  .pm-product-page .pm-summary-primary-card {
    padding: 20px 16px;
  }

  .pm-product-page .pm-summary-v5-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-product-page .pm-summary-v5-head > .pm-btn {
    width: 100%;
  }

  .pm-product-page .pm-summary-copy-panel,
  .pm-product-page .pm-summary-classification-panel,
  .pm-product-page .pm-summary-tech-card {
    padding: 18px 14px;
  }

  .pm-product-page .pm-summary-tech-card .pm-summary-tech-head {
    grid-template-columns: 1fr;
  }

  .pm-product-page .pm-summary-tech-card .pm-summary-tech-head .pm-btn {
    width: 100%;
  }

  .pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 14px;
  }

  .pm-product-page .pm-summary-v5 .pm-section-actions[data-section="general"] .pm-btn {
    width: 100%;
  }
}

/* FBC_PM_R21_F_R2_R1_SUMMARY_END */

/* FBC_PM_R21_D_APPROVED_UI_END */

/* FBC_PM_R21_E_R2_UNIFIED_RAIL_START */

/* ==========================================================================
   R21-E-R2 · UNIFIED PRODUCT WORKSPACE RAIL
   Same containing surface + same width + same horizontal auto margins.
   ========================================================================== */

/* Normalize the two surfaces that contain the rail children. */
.pm-product-page #pm-drawer-content,
.pm-product-page #pm-detail-panel {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/*
  Canonical rail.
  These selectors MUST share the same left/right edge.
*/
.pm-product-page-topbar,
.pm-product-page #pm-drawer-content > .pm-product-hero,
.pm-product-page #pm-drawer-content > .pm-workspace-nav,
.pm-product-page #pm-drawer-content > .pm-workspace-subnav,
.pm-product-page #pm-detail-panel > .pm-detail-body,
.pm-product-page #pm-detail-panel > .pm-approved-section {
  width: min(calc(100% - 48px), var(--pm-content)) !important;
  max-width: var(--pm-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
  translate: none !important;
  transform: none !important;
  box-sizing: border-box !important;
}

/*
  Summary V5 is both pm-detail-body and pm-approved-section.
  Keep one exact rail authority despite older section-specific declarations.
*/
.pm-product-page #pm-detail-panel > .pm-detail-body.pm-summary-v5.pm-approved-section {
  width: min(calc(100% - 48px), var(--pm-content)) !important;
  max-width: var(--pm-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Same gutter policy when the Product Manager container becomes narrow. */
@container product-manager (max-width: 620px) {
  .pm-product-page-topbar,
  .pm-product-page #pm-drawer-content > .pm-product-hero,
  .pm-product-page #pm-drawer-content > .pm-workspace-nav,
  .pm-product-page #pm-drawer-content > .pm-workspace-subnav,
  .pm-product-page #pm-detail-panel > .pm-detail-body,
  .pm-product-page #pm-detail-panel > .pm-approved-section,
  .pm-product-page #pm-detail-panel > .pm-detail-body.pm-summary-v5.pm-approved-section {
    width: min(calc(100% - 28px), var(--pm-content)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* FBC_PM_R21_E_R2_UNIFIED_RAIL_END */

/* FBC_PM_R21_F_R3_R3_REAL_SELECT_PLUS_START */

/* ==========================================================================
   R21-F-R3-R3
   Configuración avanzada: geometría aprobada.
   Clasificación: botones + REALES que reutilizan pm-faq-plus.
   ========================================================================== */

/* Configuración avanzada — APROBADA. */
.pm-product-page .pm-summary-v5 details.pm-summary-advanced > summary {
  grid-template-columns: minmax(0, 1fr) 24px !important;
  gap: 10px !important;
}

.pm-product-page .pm-summary-v5 .pm-faq-plus {
  position: relative !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--pm-yellow) !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
}

.pm-product-page .pm-summary-v5 .pm-faq-plus::before,
.pm-product-page .pm-summary-v5 .pm-faq-plus::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  display: block !important;
  width: 9px !important;
  height: 2px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--pm-navy) !important;
  opacity: 1;
  transform: translate(-50%, -50%) !important;
}

.pm-product-page .pm-summary-v5 .pm-faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg) !important;
}

.pm-product-page .pm-summary-v5 details[open] > summary .pm-faq-plus::after {
  opacity: 0 !important;
}

/* Clasificación: shell real + botón real. */
.pm-product-page .pm-summary-classification-fields .pm-summary-select-with-plus {
  position: relative;
  min-width: 0;
}

.pm-product-page .pm-summary-classification-fields .pm-summary-select-with-plus > .pm-field {
  min-width: 0;
  margin: 0;
}

.pm-product-page .pm-summary-classification-fields .pm-summary-select-with-plus select {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  padding-right: 44px !important;
  background-image: none !important;
  cursor: pointer;
}

/* Mismo componente visual que Configuración avanzada. */
.pm-product-page .pm-summary-v5 .pm-summary-select-plus {
  position: absolute !important;
  right: 10px !important;
  bottom: 14px !important;
  z-index: 3 !important;
  margin: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

/* En estos botones el + nunca cambia a −. */
.pm-product-page .pm-summary-v5 .pm-summary-select-plus::after {
  opacity: 1 !important;
}

/* Focus accesible sin agrandar el círculo. */
.pm-product-page .pm-summary-v5 .pm-summary-select-plus:focus-visible {
  outline: 2px solid #1677ff !important;
  outline-offset: 2px !important;
}

.pm-product-page .pm-summary-v5 .pm-summary-select-plus:disabled {
  opacity: .5 !important;
  cursor: not-allowed !important;
}

/* Elimina por completo la antigua iconografía sobre .pm-field. */
.pm-product-page .pm-summary-classification-fields .pm-field:has(select#pm-product-brand)::after,
.pm-product-page .pm-summary-classification-fields .pm-field:has(select#pm-product-category)::after,
.pm-product-page .pm-summary-classification-fields .pm-field:has(select#pm-product-status)::after {
  content: none !important;
  display: none !important;
}

/* FBC_PM_R21_F_R3_R3_REAL_SELECT_PLUS_END */


/* FBC_PM_R21_G_R0_R4_MODAL_TOP_SPACING_START */
/*
  R21-G-R0-R4
  - Reduce el espacio vertical desperdiciado entre el shell FBC, Volver a Productos y el Hero.
  - Ajusta exclusivamente el dialogo real de cambios pendientes.
  - No usa observadores globales ni modifica la logica de guardado.
*/
.pm-root.pm-editor-page-open .pm-product-page-topbar {
  margin-top: -18px !important;
  padding-top: 10px !important;
  padding-bottom: 8px !important;
}

.pm-root.pm-editor-page-open .pm-product-page #pm-drawer-content {
  margin-top: -14px !important;
}

#pm-dirty-dialog.pm-confirm-overlay {
  padding: 24px !important;
  background: rgba(12, 24, 43, .46) !important;
  backdrop-filter: blur(3px);
}

#pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 {
  width: min(760px, 100%) !important;
  padding: 28px !important;
  border: 1px solid #d9e3f0 !important;
  border-radius: 20px !important;
  background: #fff !important;
  color: #11284b !important;
  box-shadow: 0 28px 80px rgba(17, 40, 75, .24) !important;
}

#pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 .pm-eyebrow {
  margin: 0 0 8px !important;
  color: #5e718d !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .1em !important;
}

#pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 h3 {
  margin: 0 !important;
  color: #11284b !important;
  font-size: 32px !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

#pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 #pm-dirty-copy {
  max-width: 650px;
  margin: 12px 0 0 !important;
  color: #5e718d !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

#pm-dirty-dialog .pm-unsaved-actions-r21g0r4 {
  display: grid !important;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

#pm-dirty-dialog .pm-unsaved-actions-r21g0r4 .pm-btn {
  width: 100% !important;
  min-height: 48px !important;
  padding: 0 16px !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  white-space: nowrap;
  box-shadow: none !important;
}

#pm-dirty-dialog #pm-dirty-save {
  border-color: #006dff !important;
  background: #006dff !important;
  color: #fff !important;
}

#pm-dirty-dialog #pm-dirty-continue {
  border-color: #d9e3f0 !important;
  background: #fff !important;
  color: #11284b !important;
}

#pm-dirty-dialog #pm-dirty-discard {
  border-color: #e05a62 !important;
  background: #fffafa !important;
  color: #a82230 !important;
}

#pm-dirty-dialog .pm-unsaved-actions-r21g0r4 .pm-btn:focus-visible {
  outline: 3px solid rgba(0, 109, 255, .18) !important;
  outline-offset: 2px !important;
}

@container product-manager (max-width: 620px) {
  .pm-root.pm-editor-page-open .pm-product-page-topbar {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .pm-root.pm-editor-page-open .pm-product-page #pm-drawer-content {
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  #pm-dirty-dialog.pm-confirm-overlay {
    padding: 16px !important;
  }

  #pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 {
    width: min(100%, 540px) !important;
    padding: 24px 20px 20px !important;
    border-radius: 18px !important;
  }

  #pm-dirty-dialog .pm-unsaved-dialog-r21g0r4 h3 {
    font-size: 32px !important;
  }

  #pm-dirty-dialog .pm-unsaved-actions-r21g0r4 {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
}
/* FBC_PM_R21_G_R0_R4_MODAL_TOP_SPACING_END */

/* FBC_PM_R21_G_R1_R3_NATURAL_SCROLL_FIX_START */
/*
  R21-G-R1-R3
  El topbar global FBC sigue siendo la unica capa sticky del editor.
  Hero, navegacion 1-4, subnavegacion y contenido se desplazan juntos
  en flujo natural. El topbar se mantiene opaco para que el contenido
  desaparezca limpiamente por debajo al hacer scroll.
*/
body.pm-product-editor-open .topbar {
  z-index: 40;
  background: #fff;
  backdrop-filter: none;
}

body.pm-product-editor-open .pm-product-page .pm-workspace-nav,
body.pm-product-editor-open .pm-product-page .pm-workspace-subnav {
  position: static;
  top: auto;
  z-index: auto;
  isolation: auto;
}
/* FBC_PM_R21_G_R1_R3_NATURAL_SCROLL_FIX_END */
