/* Developer v2 · shared design system. Everything reads the active theme tokens (--panel, --ink, --muted, --line,
   --accent, --accent2), so themes, environments and particles keep working; no heavy effects are added.
   Scope: the Developer app, its confirmation dialog and the Bug Reporter dialog. */
#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm{
 --dv-1:4px;--dv-2:8px;--dv-3:12px;--dv-4:16px;--dv-5:24px;--dv-6:32px;
 --dv-radius:14px;--dv-radius-sm:10px;--dv-control:40px;
 --dv-text:var(--ink,var(--text));--dv-muted:var(--muted);--dv-line:var(--line);
 --dv-surface:color-mix(in srgb,var(--panel) 94%,transparent);--dv-field:color-mix(in srgb,var(--panel) 86%,var(--accent-soft,transparent));
 --dv-danger:#c2410c;--dv-danger-bg:color-mix(in srgb,#ef4444 10%,var(--panel));--dv-focus:0 0 0 3px color-mix(in srgb,var(--accent) 35%,transparent)}
@media(max-width:767px){#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm{--dv-control:44px}}

/* Layers: the front environment composition goes behind the Developer app, so its corners never cover the brand,
   the navigation or cards; it stays visible through the transparent parts of the page. */
html:has(#developerApp:not(.hidden)) #pdEnvironmentFront{z-index:1!important}
#developerApp.pd-dev-shell:not(.hidden){z-index:2}

/* Typography & hierarchy */
#developerApp.pd-dev-shell .pd-owner-main h1{letter-spacing:-.01em}
#developerApp.pd-dev-shell :is(#pdOwnerContent,#pdDevToolContent) h3{font-size:1.02rem;line-height:1.3;margin:0 0 var(--dv-2)}
#developerApp.pd-dev-shell :is(#pdOwnerContent,#pdDevToolContent) p{line-height:1.55}
#developerApp.pd-dev-shell .pd-dev-dup-heading{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#developerApp.pd-dev-shell .pd-owner-main>header{gap:var(--dv-3);flex-wrap:wrap;align-items:flex-end}
#developerApp.pd-dev-shell .pd-owner-local{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:999px;border:1px solid var(--dv-line);font-size:12px;font-weight:600;color:var(--dv-muted);background:var(--dv-surface)}
#developerApp.pd-dev-shell .pd-owner-local[data-pd-env="production"]::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--success,#16a34a)}
#developerApp.pd-dev-shell .pd-owner-local[data-pd-env="local"]::before{content:'';width:7px;height:7px;border-radius:50%;background:var(--warning,#d97706)}

/* Buttons: one height, clear roles, never touching. */
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm) :is(.primary-button,.secondary-button,.pd-btn-danger):not(.pd-admin-list>*){display:inline-flex;align-items:center;justify-content:center;gap:var(--dv-2);min-height:var(--dv-control);padding:0 var(--dv-4);border-radius:var(--dv-radius-sm);font:inherit;font-size:13.5px;font-weight:650;line-height:1.2;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,box-shadow .15s}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm) :is(.primary-button,.secondary-button,.pd-btn-danger) svg{width:16px;height:16px;flex:none}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm) .secondary-button{background:var(--dv-surface)!important;border:1px solid var(--dv-line)!important;color:var(--dv-text)!important;box-shadow:none!important}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm) .secondary-button:hover{border-color:var(--accent)!important}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) .pd-btn-danger-soft{color:var(--dv-danger)!important;border-color:color-mix(in srgb,var(--dv-danger) 35%,var(--dv-line))!important;background:transparent!important}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) .pd-btn-danger-soft:hover{background:var(--dv-danger-bg)!important;border-color:var(--dv-danger)!important}
:is(dialog.pd-dev-confirm,#developerApp.pd-dev-shell,dialog.pd-bug-admin) .pd-btn-danger{background:var(--dv-danger)!important;border:1px solid var(--dv-danger)!important;color:#fff!important}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin,dialog.pd-dev-confirm) :is(button,a,input,select,textarea,summary):focus-visible{outline:none;box-shadow:var(--dv-focus)!important}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) button:disabled{opacity:.55;cursor:not-allowed}
/* Action groups wrap with real spacing; destructive actions sit apart at the end. */
#developerApp.pd-dev-shell :is(.pd-owner-actions,.pd-devtool-actions,.pd-devtool-row-actions,.pd-known-actions,.pd-composer-actions,.form-actions){display:flex;flex-wrap:wrap;gap:var(--dv-2);align-items:center}
#developerApp.pd-dev-shell .pd-owner-actions .pd-btn-danger-soft{margin-left:auto}
dialog.pd-bug-admin .pd-known-actions{display:flex;flex-wrap:wrap;gap:var(--dv-2)}

/* Fields: themed selects (native control kept for keyboard, screen readers and mobile pickers), date/time, toggles. */
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) :is(select,input[type=text],input[type=search],input[type=email],input[type=tel],input[type=number],input[type=date],input[type=time],input[type=datetime-local],input:not([type]),textarea):not(.pd-owner-search *){
 box-sizing:border-box;min-height:var(--dv-control);width:100%;max-width:100%;padding-block:0;padding-inline-end:var(--dv-3);border:1px solid var(--dv-line);border-radius:var(--dv-radius-sm);background-color:var(--dv-field);color:var(--dv-text);font:inherit;font-size:14px;line-height:1.3}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) textarea{padding:var(--dv-2) var(--dv-3);min-height:96px;resize:vertical}
/* Left padding only for fields without a leading icon: fields that sit next to an icon keep their own padding. */
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) :is(select,input):not(:is(label,div,span):has(>svg,>i)>*){padding-inline-start:var(--dv-3)}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) select{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer;
 background-image:linear-gradient(45deg,transparent 50%,var(--dv-muted) 50%),linear-gradient(135deg,var(--dv-muted) 50%,transparent 50%);
 background-position:calc(100% - 19px) 52%,calc(100% - 14px) 52%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) :is(select,input,textarea):hover{border-color:color-mix(in srgb,var(--accent) 45%,var(--dv-line))}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) :is(input[type=date],input[type=time],input[type=datetime-local])::-webkit-calendar-picker-indicator{opacity:.6;cursor:pointer}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) label{color:var(--dv-muted);font-size:12.5px;font-weight:600}
:is(#developerApp.pd-dev-shell,dialog.pd-bug-admin) label>:is(select,input,textarea){margin-top:6px;color:var(--dv-text)}
#developerApp.pd-dev-shell input[type=checkbox],dialog.pd-bug-admin input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}
/* Disclosure */
#developerApp.pd-dev-shell details>summary{display:flex;align-items:center;gap:var(--dv-2);min-height:var(--dv-control);padding:0 var(--dv-3);border:1px solid var(--dv-line);border-radius:var(--dv-radius-sm);background:var(--dv-surface);cursor:pointer;list-style:none;font-size:13.5px;font-weight:600;color:var(--dv-text)}
#developerApp.pd-dev-shell details>summary::-webkit-details-marker{display:none}
#developerApp.pd-dev-shell details>summary::before{content:'';width:7px;height:7px;border-right:2px solid var(--dv-muted);border-bottom:2px solid var(--dv-muted);transform:rotate(-45deg);transition:transform .15s;flex:none}
#developerApp.pd-dev-shell details[open]>summary::before{transform:rotate(45deg)}
#developerApp.pd-dev-shell details[open]>summary{margin-bottom:var(--dv-3)}

/* Section toolbar (search + primary action) */
#developerApp.pd-dev-shell .pd-owner-toolbar{display:flex;flex-wrap:wrap;gap:var(--dv-3);align-items:flex-end;margin-bottom:var(--dv-4)}
#developerApp.pd-dev-shell .pd-owner-toolbar>label{flex:1 1 280px;max-width:560px;width:auto}
#developerApp.pd-dev-shell .pd-owner-toolbar>.primary-button{margin-left:auto}

/* Person and team cards: full names (up to 2 lines), meta on separate lines, actions with clear roles. */
#developerApp.pd-dev-shell .pd-owner-records{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr))!important;gap:var(--dv-4)!important}
#developerApp.pd-dev-shell :is(.pd-owner-person-record,.pd-owner-team-card){display:flex;flex-direction:column;gap:var(--dv-3)!important;min-width:0;margin:0!important;padding:var(--dv-4)!important}
#developerApp.pd-dev-shell .pd-owner-record-heading{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--dv-3);align-items:center;min-width:0}
#developerApp.pd-dev-shell .pd-owner-record-heading>div{min-width:0;display:grid;gap:2px}
#developerApp.pd-dev-shell .pd-owner-record-heading strong{font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#developerApp.pd-dev-shell .pd-owner-record-heading small{display:inline-block;justify-self:start;padding:2px 8px;border-radius:999px;font-size:11.5px;font-weight:650;color:var(--pd-accent-text,var(--accent));background:color-mix(in srgb,var(--accent) 12%,transparent)}
#developerApp.pd-dev-shell .pd-owner-record-heading .pd-presentation-avatar{width:48px;height:48px;flex:none}
#developerApp.pd-dev-shell .pd-owner-record-meta{margin:0;font-size:13px;color:var(--dv-muted);overflow-wrap:anywhere;line-height:1.5}
#developerApp.pd-dev-shell .pd-owner-actions{margin-top:auto;padding-top:var(--dv-3);border-top:1px solid var(--dv-line)}

/* States */
.pd-dev-state{display:flex;align-items:center;gap:var(--dv-3);padding:var(--dv-5);border:1px dashed var(--line);border-radius:var(--dv-radius,14px);color:var(--muted)}
.pd-dev-state p{margin:2px 0 0}.pd-dev-state svg{width:22px;height:22px;flex:none}
.pd-dev-state.error{border-style:solid;border-color:color-mix(in srgb,#ef4444 35%,var(--line));color:var(--ink,var(--text))}
.pd-dev-state.error>div{flex:1}
.pd-dev-spinner{width:18px;height:18px;border-radius:50%;border:2px solid color-mix(in srgb,var(--accent) 25%,transparent);border-top-color:var(--accent);animation:pd-dev-spin .8s linear infinite;flex:none}
@keyframes pd-dev-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.pd-dev-spinner{animation-duration:2.4s}}
#developerApp.pd-dev-shell .pd-owner-empty{border-style:dashed!important}

/* Confirmation dialog */
dialog.pd-dev-confirm{width:min(440px,calc(100vw - 32px));padding:0;border:1px solid var(--line);border-radius:18px;background:var(--panel);color:var(--ink,var(--text));box-shadow:0 20px 50px color-mix(in srgb,#000 25%,transparent)}
dialog.pd-dev-confirm::backdrop{background:color-mix(in srgb,#0f172a 45%,transparent)}
dialog.pd-dev-confirm form{display:grid;gap:var(--dv-3);padding:var(--dv-5)}
dialog.pd-dev-confirm h3{margin:0;font-size:1.1rem}dialog.pd-dev-confirm p{margin:0;color:var(--muted);line-height:1.5}
.pd-dev-confirm-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent)}
.pd-dev-confirm-icon.danger{background:color-mix(in srgb,#ef4444 14%,transparent);color:#c2410c}.pd-dev-confirm-icon svg{width:20px;height:20px}
.pd-dev-confirm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--dv-2);margin-top:var(--dv-2)}

/* Bug Reporter: filters fold on phones so the first ticket is visible; tickets as readable cards. */
dialog.pd-bug-admin .pd-admin-filters>summary{display:none}
@media(max-width:767px){
 dialog.pd-bug-admin .pd-admin-filters>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);cursor:pointer;list-style:none;font-weight:650}
 dialog.pd-bug-admin .pd-admin-filters>summary::-webkit-details-marker{display:none}
 dialog.pd-bug-admin .pd-admin-filters[open]>summary{margin-bottom:10px}
 dialog.pd-bug-admin .pd-admin-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
 dialog.pd-bug-admin .pd-admin-grid>label:first-child{grid-column:1/-1}
}
dialog.pd-bug-admin .pd-admin-list>button{min-width:0}
dialog.pd-bug-admin .pd-admin-rowmeta{flex-wrap:wrap;gap:6px 12px}

/* Responsive: comfortable touch targets, wrapping toolbars, no compressed controls. */
@media(max-width:767px){
 #developerApp.pd-dev-shell .pd-owner-topbar>button{width:44px!important;height:44px!important;flex:none}
 #developerApp.pd-dev-shell .pd-owner-toolbar>.primary-button{margin-left:0;width:100%}
 #developerApp.pd-dev-shell .pd-owner-toolbar{align-items:stretch}
 #developerApp.pd-dev-shell .pd-owner-toolbar>label{flex:none;width:100%;max-width:none}
 #developerApp.pd-dev-shell .pd-owner-actions>*{flex:1 1 auto}
 #developerApp.pd-dev-shell .pd-owner-actions .pd-btn-danger-soft{margin-left:0}
 #developerApp.pd-dev-shell .pd-dev-kpi-body small,#developerApp.pd-dev-shell .pd-dev-kpi-body em{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
 #developerApp.pd-dev-shell .pd-dev-kpi{align-items:flex-start}
}

/* Phones: the top bar already has «Salir»; the sidebar logout would overlap the person card in the compact header. */
@media(max-width:767px){#developerApp.pd-dev-shell .pd-owner-nav>#pdOwnerLogout{display:none!important}}
/* Embedded Horarios (the Supervisor schedule editor inside Developer): actions in one flexible row, columns that
   never exceed the card, names that wrap. */
#developerApp.pd-dev-shell :is(.page-header-actions,.sup-schedules-header-actions){display:flex!important;flex-wrap:wrap!important;gap:var(--dv-2)!important;align-items:stretch}
#developerApp.pd-dev-shell :is(.page-header-actions,.sup-schedules-header-actions)>button{flex:0 1 auto;min-height:var(--dv-control)!important;height:auto!important}
#developerApp.pd-dev-shell .sup-schedules-page,#developerApp.pd-dev-shell .sup-schedules-layout,#developerApp.pd-dev-shell .sup-schedule-editor-col{min-width:0;max-width:100%}
#developerApp.pd-dev-shell .sup-schedules-page *{min-width:0}
#developerApp.pd-dev-shell .sup-schedules-page :is(strong,b,h2,h3){overflow-wrap:anywhere}
@media(max-width:767px){
 #developerApp.pd-dev-shell :is(.page-header-actions,.sup-schedules-header-actions)>button{flex:1 1 calc(50% - 4px)}
 #developerApp.pd-dev-shell .pd-schedule-segments{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible!important;gap:4px}
 #developerApp.pd-dev-shell .pd-schedule-segments>button{white-space:normal!important;line-height:1.2;min-height:44px;min-width:0!important;width:auto!important;max-width:100%;padding:6px 4px!important;text-align:center;overflow-wrap:anywhere}
 #developerApp.pd-dev-shell .sup-schedules-page .page-header{display:grid!important;gap:var(--dv-3)}
}
/* Horarios on phones: the agent list becomes a vertical list inside its card instead of a clipped carousel. */
@media(max-width:767px){
 #developerApp.pd-dev-shell .sup-schedule-agent-list{display:grid!important;grid-auto-flow:row!important;grid-template-columns:1fr!important;overflow:visible!important;gap:var(--dv-2)!important}
 #developerApp.pd-dev-shell .sup-schedule-agent-option{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
}

/* Person cards: the name is next to the avatar, so the initials chip over the face is not repeated. */
#developerApp.pd-dev-shell .pd-owner-record-heading .pd-presentation-avatar>small{display:none}

/* v0.5.0 · Catálogos */
#developerApp.pd-dev-shell .pd-dev-intro{max-width:72ch;margin:0 0 var(--dv-4)}
#developerApp.pd-dev-shell .pd-catalog-card{margin-bottom:var(--dv-4)}
#developerApp.pd-dev-shell .pd-channel.ok{background:color-mix(in srgb,var(--success,#16a34a) 14%,transparent);color:var(--success,#15803d)}
#developerApp.pd-dev-shell .pd-channel.off{background:color-mix(in srgb,var(--dv-muted) 16%,transparent);color:var(--dv-muted)}
#developerApp.pd-dev-shell .pd-catalog-special{display:inline-flex;align-items:center;gap:4px;margin-left:var(--dv-2);color:var(--warning,#b45309);font-weight:600}
#developerApp.pd-dev-shell .pd-catalog-special svg{width:13px;height:13px}
#developerApp.pd-dev-shell .pd-catalog-table td:first-child{min-width:12rem}
@media(max-width:600px){#developerApp.pd-dev-shell .pd-catalog-special{display:flex;margin:4px 0 0}}

/* v0.5.0 · Incidencias y Solicitudes: agent, dates and state on each card */
#developerApp.pd-dev-shell .pd-owner-record-heading{display:flex;align-items:flex-start;gap:var(--dv-3)}
#developerApp.pd-dev-shell .pd-owner-record-heading>div{flex:1;min-width:0}
#developerApp.pd-dev-shell .pd-owner-status{flex:none;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,var(--dv-muted) 14%,transparent);color:var(--dv-text);white-space:nowrap}
#developerApp.pd-dev-shell .pd-owner-status.ok{background:color-mix(in srgb,var(--success,#16a34a) 15%,transparent);color:var(--success,#15803d)}
#developerApp.pd-dev-shell .pd-owner-status.warn{background:color-mix(in srgb,var(--warning,#d97706) 16%,transparent);color:var(--warning,#b45309)}
#developerApp.pd-dev-shell .pd-owner-status.bad{background:var(--dv-danger-bg);color:var(--dv-danger)}
#developerApp.pd-dev-shell .pd-owner-record-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:var(--dv-2) var(--dv-4);margin:var(--dv-3) 0}
#developerApp.pd-dev-shell .pd-owner-record-facts dt{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--dv-muted)}
#developerApp.pd-dev-shell .pd-owner-record-facts dd{margin:2px 0 0;font-weight:600;overflow-wrap:anywhere}
#developerApp.pd-dev-shell .pd-owner-record-facts dd small{font-weight:500;color:var(--dv-muted)}
#developerApp.pd-dev-shell .pd-owner-system{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:var(--dv-3);margin:0}
#developerApp.pd-dev-shell .pd-owner-system>div{padding:var(--dv-3);border:1px solid var(--dv-line);border-radius:var(--dv-radius-sm)}
#developerApp.pd-dev-shell .pd-owner-system dt{font-size:12px;color:var(--dv-muted);font-weight:600}
#developerApp.pd-dev-shell .pd-owner-system dd{margin:4px 0 0;font-weight:700}

/* Catálogos: the note of a system-retired option is plain text, not an action cell; phones get stacked rows. */
#developerApp.pd-dev-shell .pd-catalog-note{color:var(--dv-muted);font-size:13px}
@media(max-width:640px){
 #developerApp.pd-dev-shell .pd-catalog-table,#developerApp.pd-dev-shell .pd-catalog-table tbody{display:block;width:100%}
 #developerApp.pd-dev-shell .pd-catalog-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
 #developerApp.pd-dev-shell .pd-catalog-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px var(--dv-3);padding:var(--dv-3) 0;border-bottom:1px solid var(--dv-line)}
 #developerApp.pd-dev-shell .pd-catalog-table td{display:block;padding:0;border:0;min-width:0!important}
 #developerApp.pd-dev-shell .pd-catalog-table td:nth-child(2){grid-column:2;grid-row:1;justify-self:end}
 #developerApp.pd-dev-shell .pd-catalog-table td[data-label]::before{content:attr(data-label) ': ';color:var(--dv-muted);font-size:12px}
 #developerApp.pd-dev-shell .pd-catalog-table td:last-child{grid-column:1/-1}
 #developerApp.pd-dev-shell .pd-catalog-table td:last-child .secondary-button{width:100%}
 #developerApp.pd-dev-shell .pd-catalog-card .pd-devtool-table-wrap{overflow:visible}
}
/* Incident and request cards stack heading, facts and actions (the generic card row squeezed the heading). */
#developerApp.pd-dev-shell .pd-owner-records>.pd-owner-record-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0;margin:0}
#developerApp.pd-dev-shell .pd-owner-record-card .pd-owner-record-heading strong{display:block;font-size:1.02rem;line-height:1.3;overflow-wrap:anywhere}
#developerApp.pd-dev-shell .pd-owner-record-card .pd-owner-actions{margin-top:auto;padding-top:var(--dv-3);border-top:1px solid var(--dv-line)}
/* A closed tool is never drawn: `display:grid` above would otherwise override the [hidden] attribute. */
#developerApp #pdDevToolContent[hidden]{display:none!important}

/* v0.5.0 · Etapa 4: list filters and result count */
#developerApp.pd-dev-shell .pd-owner-filter{display:flex;flex-wrap:wrap;gap:var(--dv-2);margin:0 0 var(--dv-3)}
#developerApp.pd-dev-shell .pd-owner-filter .secondary-button[aria-pressed="true"]{background:color-mix(in srgb,var(--accent) 18%,var(--dv-surface))!important;border-color:color-mix(in srgb,var(--accent) 55%,var(--dv-line))!important;font-weight:700}
#developerApp.pd-dev-shell .pd-owner-count{grid-column:1/-1;margin:0;color:var(--dv-muted);font-size:13px}
#developerApp.pd-dev-shell .pd-owner-details{margin-top:var(--dv-3)}
#developerApp.pd-dev-shell .pd-owner-details summary{cursor:pointer;font-weight:600}
@media(max-width:767px){#developerApp.pd-dev-shell .pd-owner-filter>*{flex:1 1 auto}}

/* v0.5.0 · Etapa 4 · Horarios (Developer only; the Supervisor view keeps its own layout) */
#developerApp.pd-dev-shell .sup-schedules-header{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:var(--dv-3)}
#developerApp.pd-dev-shell .sup-schedules-header-actions{justify-content:flex-start!important}
#developerApp.pd-dev-shell .pd-winter-head .soft-icon,#developerApp.pd-dev-shell .pd-winter-card .section-heading>.soft-icon{flex:none!important;width:40px!important;height:40px!important;display:grid;place-items:center}
#developerApp.pd-dev-shell .pd-winter-head{display:flex;gap:var(--dv-3);align-items:flex-start}

/* v0.5.0 · Etapa 4 · Mi perfil: clear sections, breathing room between the description and the fields */
#developerApp.pd-dev-shell .pd-owner-profile-form>h3+p,#developerApp.pd-dev-shell .pd-owner-profile-form>p:first-of-type{margin:0 0 var(--dv-4);color:var(--dv-muted);max-width:72ch}
#developerApp.pd-dev-shell .pd-owner-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:var(--dv-4) var(--dv-4);align-items:start}
#developerApp.pd-dev-shell .pd-owner-form-grid>label{display:grid;gap:6px;align-content:start}
#developerApp.pd-dev-shell .pd-owner-form-grid small,#developerApp.pd-dev-shell .pd-nickname-helper{color:var(--dv-muted);font-size:12px;line-height:1.4}
#developerApp.pd-dev-shell .pd-owner-profile-form .pd-owner-actions{margin-top:var(--dv-4);padding-top:var(--dv-4);border-top:1px solid var(--dv-line);justify-content:flex-end}
#developerApp.pd-dev-shell .pd-owner-profile-hero{display:flex;align-items:center;gap:var(--dv-4);flex-wrap:wrap}
#developerApp.pd-dev-shell #pdOwnerIntegrationForm{display:grid;gap:var(--dv-3);margin-top:var(--dv-4)}
#developerApp.pd-dev-shell #pdOwnerIntegrationForm>label{display:grid;gap:6px}
#developerApp.pd-dev-shell #pdOwnerContent .card p>.pd-owner-status{display:inline-block;margin-bottom:var(--dv-2)}
#developerApp.pd-dev-shell .pd-owner-more{grid-column:1/-1;display:flex;justify-content:center;padding:var(--dv-2) 0}
#developerApp.pd-dev-shell .pd-owner-more small{color:var(--dv-muted);font-weight:500;margin-left:4px}
