/* Approved editorial layout. This sheet owns layout; portal-light.css owns the base palette. */
.pzc-nav-group{min-width:0}
.pzc-nav-group>summary{cursor:pointer;list-style:none}
.pzc-nav-group>summary::-webkit-details-marker{display:none}
.pzc-nav-group>summary:focus-visible{outline:3px solid #946e19;outline-offset:3px}
.pzc-nav-group__links{display:grid;gap:2px;margin:4px 0 0 16px;padding-left:12px;border-left:1px solid rgba(148,110,25,.3)}
.pzc-nav-group__links .pzc-nav-item{min-height:44px;font-size:13px}
.pzc-editorial-home{max-width:1120px;margin:0 auto}
.pzc-editorial-home__header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:34px}
.pzc-editorial-home__header h2{margin:4px 0;font-family:Prata,Georgia,serif;font-size:clamp(32px,4vw,46px);font-weight:400;line-height:1.15}
.pzc-editorial-home__header p{margin:0;color:#aaa59b}
.pzc-editorial-home__sections{display:grid;gap:28px}
.pzc-editorial-section{min-width:0;padding:24px 30px;background:var(--pzc-panel);border:1px solid rgba(210,172,71,.2);border-radius:12px}
.pzc-editorial-section__heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.pzc-editorial-section__heading h3{margin:0;font:400 clamp(21px,2.2vw,27px) Prata,Georgia,serif}
.pzc-editorial-section__heading a{min-height:44px;display:inline-flex;align-items:center;color:var(--pzc-gold);font-size:13px;text-decoration:none}
.pzc-editorial-section .pzc-control-list{display:grid;gap:0}
.pzc-editorial-section .pzc-control-list>a{min-height:72px;padding:15px 4px;border:0;border-top:1px solid rgba(210,172,71,.2);border-radius:0;background:transparent;box-shadow:none}
.pzc-editorial-section .pzc-control-list>a:last-child{border-bottom:1px solid rgba(210,172,71,.2)}
.pzc-editorial-section .pzc-control-empty{padding:20px 4px}
.pzc-editorial-section .pzc-control-badge{flex:0 0 auto}
html[data-pzc-theme="light"] .pzc-portal-standalone{--pzc-black:#f5f1e8;--pzc-panel:#fffdf9;--pzc-panel2:#fffdf9;--pzc-text:#252724;--pzc-gold:#946e19;--pzc-gold-light:#946e19;--pzc-gold-dark:#795911}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar{background:#171b19;border-color:#171b19}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar__brand :is(a,.pzc-portal-logo__text){color:#fffdf9}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar__company{background:#252a27;border-color:#353b36}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar__company :is(span,strong){color:#eee9dd}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar .pzc-nav-item{color:#e2e4df!important}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar .pzc-nav-item:is(:hover,:focus-visible,.is-active){background:#30352b;color:#f0dba6!important;border-color:transparent}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-sidebar .pzc-nav-item.is-active .dashicons{color:#f0dba6}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-topbar{background:#fffdf9;border-bottom-color:#e5e1d7}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-app{background:#f5f1e8}
html[data-pzc-theme="light"] .pzc-editorial-home__header h2,html[data-pzc-theme="light"] .pzc-editorial-section__heading h3{color:#252724}
html[data-pzc-theme="light"] .pzc-editorial-home__header p{color:#65685e}
html[data-pzc-theme="light"] .pzc-editorial-section{background:#fffdf9;border-color:#e5e1d7;box-shadow:none}
html[data-pzc-theme="light"] .pzc-editorial-section .pzc-control-list>a{border-color:#e5e1d7}
html[data-pzc-theme="light"] .pzc-editorial-section__heading a{color:#946e19}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-primary-action{background:#946e19;border-color:#946e19;color:#fffdf9!important;border-radius:8px;box-shadow:none}
html[data-pzc-theme="light"] .pzc-portal-standalone .pzc-primary-action:hover{background:#795911}
html[data-pzc-theme="light"] .pzc-portal-standalone :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #946e19;outline-offset:3px}
@media(max-width:720px){
  .pzc-editorial-home__header{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:20px}
  .pzc-editorial-home__header .pzc-primary-action{width:100%}
  .pzc-editorial-section{padding:18px 14px}
  .pzc-editorial-section__heading h3{font-size:20px}
  .pzc-editorial-section .pzc-control-list>a{gap:8px}
  html[data-pzc-theme="light"] .pzc-mobile-nav{background:#171b19;border-color:#30352b}
  html[data-pzc-theme="light"] .pzc-mobile-nav__item{color:#e2e4df!important}
  html[data-pzc-theme="light"] .pzc-mobile-nav__item.is-active{color:#f0dba6!important;background:#30352b}
}
@media(prefers-reduced-motion:reduce){.pzc-sidebar,.pzc-nav-item,.pzc-mobile-nav__item{transition:none!important}}
/* The client home keeps its real service, billing and support routes as simple rows. */
.pzc-client-home-actions .pzc-client-action-grid{display:grid;grid-template-columns:1fr;gap:0}
.pzc-client-home-actions .pzc-client-action-grid>a{min-height:72px;border:0;border-top:1px solid rgba(210,172,71,.2);border-radius:0;background:transparent;box-shadow:none}
.pzc-client-home-actions .pzc-client-action-grid>a:last-child{border-bottom:1px solid rgba(210,172,71,.2)}
html[data-pzc-theme="light"] .pzc-client-home-actions .pzc-client-action-grid>a{border-color:#e5e1d7}

/* The four-stage editor retains the same form controls and server action. */
.pzc-marketing-steps{display:flex;gap:.4rem;overflow-x:auto;padding:.3rem 0 1rem;border-bottom:1px solid #ddd5c7}
.pzc-marketing-steps button{flex:1 0 9rem;min-height:44px;border:0;border-radius:0;background:transparent;color:#555;text-align:left;padding:.6rem .8rem}
.pzc-marketing-steps button[aria-current="step"]{color:#252724;border-bottom:3px solid #946e19;font-weight:700}
.pzc-marketing-wizard,.pzc-marketing-wizard>*{min-width:0;max-width:100%}
.pzc-marketing-wizard [data-pzc-step-content]{padding-block:1rem}
.pzc-marketing-wizard.is-enhanced [data-pzc-step-content][hidden],.pzc-ig-composer.is-wizard-enhanced [data-pzc-step-content][hidden]{display:none!important}
.pzc-progressive-form{margin-block:12px;border:0;background:transparent}
.pzc-progressive-form>summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;list-style:none}
.pzc-progressive-form>summary::-webkit-details-marker{display:none}
.pzc-progressive-form>summary:focus-visible{outline:3px solid #b38728;outline-offset:3px}
.pzc-progressive-form[open]>summary{margin-bottom:16px}
.pzc-progressive-form>form{max-width:100%}
.pzc-calendar-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.pzc-calendar-toolbar>a{min-height:44px;margin:0}
.pzc-calendar-toolbar>a.is-active{outline:2px solid #b38728;outline-offset:2px}
.pzc-calendar-filters{margin-block:12px}
.pzc-calendar-filters>summary{cursor:pointer;min-height:44px;padding:10px 0}
.pzc-editorial-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin:16px 0;border:1px solid #706047;background:#706047;border-radius:10px;overflow:hidden}
.pzc-calendar-weekday{text-align:center;padding:8px 2px;background:#29251e;color:#f7f1e5;font-size:13px}
.pzc-calendar-blank,.pzc-editorial-day{min-width:0;min-height:112px;padding:8px;background:#191713}
.pzc-editorial-day>h3{margin:0 0 5px;color:#eee5d1;font-size:14px;line-height:1.2;font-weight:600}
.pzc-calendar-piece{display:flex;align-items:center;gap:4px;min-width:0;margin:4px 0;padding:5px;border-left:2px solid #b38728;border-radius:3px;background:#302a21;color:#fff!important;text-decoration:none;font-size:11px}
.pzc-calendar-piece time{flex:none;color:#f1d685}
.pzc-calendar-piece strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.pzc-calendar-piece span{display:none}
.pzc-calendar-more{display:inline-flex;align-items:center;min-height:28px;color:#f1d685!important;font-size:12px}
.pzc-calendar-mobile-agenda{display:none}
.pzc-calendar-mobile-agenda.is-selected{display:block}
.pzc-calendar-day-detail{margin:8px 0;padding:8px 12px;border:1px solid #766440;border-radius:6px}
.pzc-calendar-day-detail>summary{min-height:44px;cursor:pointer;padding:10px 0}
.pzc-calendar-list-day{margin:16px 0}
.pzc-calendar-list-day>h3{font-size:18px}
.pzc-calendar-list-item>a{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 10px;border-bottom:1px solid #75694f;color:inherit;text-decoration:none}
.pzc-calendar-list-item time{flex:none}.pzc-calendar-list-item strong{flex:1;min-width:0;overflow-wrap:anywhere}.pzc-calendar-list-item span{font-size:12px;opacity:.82}
html[data-pzc-theme="light"] .pzc-calendar-weekday{background:#e6dfd1;color:#30291e}
html[data-pzc-theme="light"] .pzc-calendar-blank,html[data-pzc-theme="light"] .pzc-editorial-day{background:#fffdf8}
html[data-pzc-theme="light"] .pzc-editorial-day>h3{color:#30291e}
html[data-pzc-theme="light"] .pzc-calendar-piece{background:#f4eddf;color:#30291e!important}
html[data-pzc-theme="light"] .pzc-calendar-piece time,html[data-pzc-theme="light"] .pzc-calendar-more{color:#70500d!important}
@media(max-width:767px){.pzc-marketing-calendar .pzc-editorial-calendar,.pzc-marketing-calendar .pzc-calendar-day-panels{display:none}.pzc-marketing-calendar .pzc-calendar-mobile-agenda{display:block}.pzc-calendar-list-item>a{display:grid;grid-template-columns:auto 1fr;gap:4px 10px}.pzc-calendar-list-item span{grid-column:2}}
@media(max-width:600px){.pzc-marketing-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.pzc-marketing-steps button{min-width:0;flex:auto}.pzc-schedule-row{width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.pzc-schedule-row>*{min-width:0}.pzc-schedule-row input[type=time]{width:100%;min-width:0}}
.pzc-crm-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}
.pzc-crm-tabs>a{flex:0 1 auto;min-height:44px;padding:8px 12px}
.pzc-crm-tabs strong{font-size:12px;min-width:24px;height:24px}
.pzc-pipeline-board{display:flex;gap:12px;max-width:100%;overflow-x:auto;padding:8px 2px 16px;scroll-snap-type:x proximity}
.pzc-pipeline-column{flex:0 0 clamp(225px,25vw,290px);min-width:0;padding:10px;border:1px solid #746446;border-radius:10px;background:#1c1915;scroll-snap-align:start}
.pzc-pipeline-column>h3{display:flex;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:16px}
.pzc-pipeline-column>h3 span{font:inherit}
.pzc-pipeline-card{margin:8px 0;padding:10px;border:1px solid #6d6048;border-radius:8px;background:#29251e}
.pzc-pipeline-card>a{display:grid;gap:4px;color:inherit!important;text-decoration:none;overflow-wrap:anywhere}
.pzc-pipeline-card strong{font-size:15px}.pzc-pipeline-card span,.pzc-pipeline-card small{font-size:12px;opacity:.86}
.pzc-pipeline-move{display:flex;align-items:flex-end;gap:6px;margin-top:10px}
.pzc-pipeline-move label{flex:1;min-width:0}.pzc-pipeline-move label>span{display:block;font-size:12px}
.pzc-pipeline-move select{width:100%;min-height:44px}.pzc-pipeline-move button{min-height:44px;margin:0;padding:6px 8px}
.pzc-pipeline-feedback{min-height:24px}
.pzc-pipeline-stage-picker{display:none}
html[data-pzc-theme="light"] .pzc-pipeline-column{background:#f8f4ea}
html[data-pzc-theme="light"] .pzc-pipeline-card{background:#fffdf8}
@media(max-width:767px){.pzc-pipeline-stage-picker{display:grid;gap:5px;margin:12px 0}.pzc-pipeline-stage-picker select{min-height:44px;width:100%}.pzc-pipeline-board{display:block;overflow:visible}.pzc-pipeline-column{margin:12px 0}.pzc-pipeline-column[hidden]{display:none}.pzc-crm-tabs{flex-wrap:nowrap;overflow-x:auto}.pzc-crm-tabs>a{flex:0 0 auto}}
.pzc-cost-entry>summary{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:7px;background:#b38728;color:#14110c;cursor:pointer;font-weight:700;list-style:none}
.pzc-cost-entry>summary::-webkit-details-marker{display:none}
.pzc-cost-entry[open]>summary{margin-bottom:16px}
.pzc-cost-group{margin:8px 0;border:1px solid #a79778;border-radius:8px;padding:0 12px}
.pzc-cost-group>summary{cursor:pointer;min-height:44px;padding:11px 0;font-weight:700;list-style:none}
.pzc-cost-group>summary::-webkit-details-marker{display:none}
.pzc-cost-group[open]>.pzc-ops-form-grid{padding:8px 0 16px}
.pzc-cost-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pzc-cost-summary .pzc-ops-kpi{min-height:0;padding:10px 12px}
.pzc-cost-summary .pzc-ops-kpi>strong{font-size:19px}
@media(max-width:767px){.pzc-cost-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pzc-marketing-navigation{display:flex;align-items:center;gap:.8rem;margin:1rem 0;flex-wrap:wrap}
.pzc-marketing-navigation button{min-height:44px;padding:.55rem 1rem;border:1px solid #946e19;background:#fffdf9;color:#252724}
.pzc-marketing-navigation [hidden]{display:none}
.pzc-marketing-review dl>div{display:grid;grid-template-columns:minmax(9rem,12rem) 1fr;padding:.7rem 0;border-bottom:1px solid #ddd5c7}
.pzc-marketing-review dt{color:#635e55}.pzc-marketing-review dd{margin:0}
.pzc-ig-composer.is-wizard-enhanced .pzc-ig-preview{display:none}
.pzc-ig-composer.is-wizard-enhanced[data-active-step="2"] .pzc-ig-preview,.pzc-ig-composer.is-wizard-enhanced[data-active-step="3"] .pzc-ig-preview,.pzc-ig-composer.is-wizard-enhanced[data-active-step="4"] .pzc-ig-preview{display:block}
.pzc-crm-week{margin:1.25rem 0;padding:1rem 0;border-top:1px solid #ddd5c7;border-bottom:1px solid #ddd5c7}
.pzc-crm-week__head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.pzc-crm-week__nav{display:flex;gap:.5rem;flex-wrap:wrap}
.pzc-crm-week__nav a,.pzc-crm-week__day{min-height:44px;display:inline-flex;align-items:center;padding:.55rem .8rem;border:1px solid #ddd5c7;color:inherit;text-decoration:none;background:#fffdf9}
.pzc-crm-week__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.4rem;margin:1rem 0}
.pzc-crm-week__day{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}
.pzc-crm-week__day[aria-current="date"]{border-color:#946e19;background:#f5f1e8}
.pzc-crm-week__events{display:grid;gap:0}
.pzc-crm-week__event{display:grid;grid-template-columns:6rem minmax(0,1fr) auto;gap:.7rem;align-items:center;padding:.75rem 0;border-bottom:1px solid #ddd5c7;color:inherit;text-decoration:none}
.pzc-crm-week__event small{color:#635e55}
@media(max-width:767px){.pzc-crm-week__days{display:flex;overflow-x:auto}.pzc-crm-week__day{flex:0 0 5.5rem}.pzc-crm-week__event{grid-template-columns:4.5rem minmax(0,1fr)}.pzc-crm-week__event small{grid-column:2}}

/* Recorrido del tablero sin buscar la barra inferior. */
.pzc-pipeline-board{cursor:grab;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.pzc-pipeline-board.is-panning{cursor:grabbing;user-select:none;scroll-snap-type:none}
.pzc-pipeline-card{cursor:auto}
@media(max-width:767px){
 .pzc-pipeline-board{display:flex;overflow-x:auto;overflow-y:visible}
 .pzc-pipeline-column{flex:0 0 min(82vw,290px);margin:0}
}
/* Filas de accesos: el icono y el texto ocupan columnas distintas. */
.pzc-client-home-actions .pzc-client-action-grid>a{display:grid;grid-template-columns:32px minmax(0,1fr) 24px;grid-template-rows:auto auto;gap:4px 14px;padding:18px 14px;min-width:0}
.pzc-client-home-actions .pzc-client-action-grid>a>.dashicons:first-child{position:static;transform:none;grid-column:1;grid-row:1 / 3;align-self:center}
.pzc-client-home-actions .pzc-client-action-grid>a>strong{grid-column:2;grid-row:1;overflow-wrap:anywhere}
.pzc-client-home-actions .pzc-client-action-grid>a>small{grid-column:2;grid-row:2;overflow-wrap:anywhere}
.pzc-client-home-actions .pzc-client-action-grid>a>i{position:static;grid-column:3;grid-row:1 / 3;align-self:center}
.pzc-support-layout{min-width:0;align-items:start}
.pzc-support-layout>section,.pzc-form-grid>*{min-width:0}
@media(max-width:767px){.pzc-support-layout{display:grid;grid-template-columns:minmax(0,1fr)}.pzc-support-layout input,.pzc-support-layout select,.pzc-support-layout textarea{max-width:100%;box-sizing:border-box}}
.pzc-password-field{display:flex;align-items:stretch;gap:8px;min-width:0}
.pzc-password-field input{min-width:0;flex:1;width:0!important}
.pzc-password-toggle{flex:none;min-height:44px;min-width:76px;border:1px solid #9f7c31;border-radius:8px;padding:8px 12px;background:#f4eddf;color:#30291e;cursor:pointer}
/* Cada formato se reconoce por su color y por su etiqueta, en ambos temas. */
.pzc-format-legend{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.pzc-format-legend>span{padding:6px 10px;border-radius:6px;font-size:12px;font-weight:700}
.pzc-format-story{--pzc-format-bg:#eee5fa;--pzc-format-fg:#47305f;--pzc-format-edge:#8662ac}
.pzc-format-reel{--pzc-format-bg:#dcecf9;--pzc-format-fg:#163f61;--pzc-format-edge:#4380ad}
.pzc-format-post{--pzc-format-bg:#e0efdf;--pzc-format-fg:#284e29;--pzc-format-edge:#59885a}
.pzc-format-carousel{--pzc-format-bg:#fae8cb;--pzc-format-fg:#644315;--pzc-format-edge:#ac7b32}
html[data-pzc-theme] .pzc-format-legend>span,html[data-pzc-theme] .pzc-calendar-piece[class*="pzc-format-"],html[data-pzc-theme] .pzc-calendar-list-item[class*="pzc-format-"]>a{background:var(--pzc-format-bg)!important;color:var(--pzc-format-fg)!important;border-left:3px solid var(--pzc-format-edge)}
html[data-pzc-theme] .pzc-calendar-piece[class*="pzc-format-"] time,html[data-pzc-theme] .pzc-calendar-list-item[class*="pzc-format-"] :is(time,strong,span){color:var(--pzc-format-fg)!important;opacity:1}
html[data-pzc-theme="dark"] .pzc-format-story{--pzc-format-bg:#392c49;--pzc-format-fg:#f0ddff;--pzc-format-edge:#bc98df}
html[data-pzc-theme="dark"] .pzc-format-reel{--pzc-format-bg:#223c50;--pzc-format-fg:#d6eeff;--pzc-format-edge:#8bbce1}
html[data-pzc-theme="dark"] .pzc-format-post{--pzc-format-bg:#2b412b;--pzc-format-fg:#e1f5df;--pzc-format-edge:#9bc197}
html[data-pzc-theme="dark"] .pzc-format-carousel{--pzc-format-bg:#493820;--pzc-format-fg:#ffebc8;--pzc-format-edge:#d7b270}
html[data-pzc-theme="dark"] .pzc-marketing-steps button{color:#d8d1c2}
html[data-pzc-theme="dark"] .pzc-marketing-steps button[aria-current="step"]{color:#f7ef8a;border-color:#d2ac47}
html[data-pzc-theme="dark"] .pzc-marketing-review :is(p,dt,dd){color:#e3dccd}
html[data-pzc-theme="dark"] .pzc-marketing-review h3{color:#fff8e9}
html[data-pzc-theme="dark"] .pzc-schedule-row>span{color:#e3dccd}
html[data-pzc-theme="dark"] .pzc-password-toggle{background:#302a1c;color:#f7ef8a}
html[data-pzc-theme="dark"] .pzc-calendar-more{color:#f1d685!important}
html[data-pzc-theme="dark"] .pzc-client-action-grid small{color:#c1bbad}

html[data-pzc-theme="dark"] .pzc-crm-week__nav a,html[data-pzc-theme="dark"] .pzc-crm-week__day{background:#24211b;color:#eee6d7;border-color:#766440}
html[data-pzc-theme="dark"] .pzc-crm-week__day[aria-current="date"]{background:#3c321e;color:#f7ef8a}
html[data-pzc-theme="dark"] .pzc-crm-week__event small{color:#c6bdad}
html[data-pzc-theme="dark"] .pzc-marketing-navigation button{background:#302a1c;color:#f7ef8a}
@media(max-width:600px){.pzc-marketing-review dl>div{grid-template-columns:minmax(0,1fr);gap:6px}.pzc-marketing-review dd{overflow-wrap:anywhere}}
.pzc-ticket-row{grid-template-columns:minmax(0,1fr) auto}
.pzc-ticket-row em{white-space:nowrap;word-break:normal;min-width:fit-content}
html[data-pzc-theme="dark"] :is(.pzc-form-note,.pzc-ops-muted,.pzc-ticket-row small){color:#c8c1b4;opacity:1}
