.pds-workspace{width:100%;max-width:none;margin:0;padding:8px 0 0;color:var(--text-main,#233644)}
.pds-eyebrow{font-size:.72rem;letter-spacing:.12em;font-weight:700;color:var(--teal,#0f766e);margin:0 0 7px}
.pds-page-heading{align-items:center;gap:20px}.pds-page-heading h1{font-size:1.7rem;margin:0 0 8px}.pds-page-heading p:last-child{font-size:.9rem;color:var(--text-muted,#64748b);margin:0}
.pds-workspace .pds-2026-form{display:block!important;max-width:none!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.pds-page-layout{display:block;margin:20px 0 0}.pds-page-content{min-width:0}.pds-page-content .pds-page-intro{margin-top:0}
.pds-page-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:6px;background:var(--panel-bg,#fff);border:1px solid var(--border-color,#d9e4e8);border-radius:14px;margin:0 0 20px;position:sticky;top:8px;z-index:20;box-shadow:0 3px 12px #162e3a08}
.pds-page-tabs button{display:flex;align-items:center;gap:12px;min-width:0;border:0;border-radius:9px;background:transparent;text-align:left;color:inherit;padding:13px 16px;cursor:pointer}.pds-tab-number{flex:none;font-size:2rem;font-weight:700;color:#72a99f}.pds-tab-copy{display:block;min-width:0}.pds-tab-copy strong{display:block;font-size:1rem;font-weight:500}.pds-page-tabs button small{display:block;font-size:.75rem;margin-top:5px;color:var(--text-muted,#64748b)}.pds-page-tabs button[aria-selected=true]{background:var(--teal,#0f766e);color:#fff}.pds-page-tabs button[aria-selected=true] small,.pds-page-tabs button[aria-selected=true] .pds-tab-number{color:#e3f6f1}.pds-page-tabs button:focus-visible{outline:3px solid #5dcabb;outline-offset:2px}
.pds-page-intro{display:flex;gap:16px;align-items:center;margin:28px 0 20px}.pds-page-intro>span{font-size:2rem;font-weight:700;color:#72a99f}.pds-page-intro h2{font-size:1.25rem;margin:0 0 4px}.pds-page-intro p{margin:0;color:var(--text-muted,#64748b);font-size:.875rem}
.pds-workspace .edit-section{display:block!important;margin:0 0 20px;padding:16px!important;background:var(--panel-bg,#fff);border:1px solid var(--border-color,#dae5e9);border-radius:14px;overflow:visible}.pds-workspace .edit-section-heading h2{font-size:1rem;line-height:1.5}.pds-workspace .edit-section-heading{margin-bottom:14px}
/* Preserve the established employee editor's floating labels and 44px controls. */
.pds-2026-form{--employee-edit-font-size:14px;--employee-edit-label-size:12px;--employee-edit-control-height:44px;--employee-edit-radius:12px}
.pds-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;margin-top:12px}
.pds-workspace label.pds-field{position:relative;display:block;min-width:0;margin:0;padding-top:7px}
.pds-workspace label.pds-field>span:first-child{position:absolute;top:0;left:10px;z-index:2;max-width:calc(100% - 24px);padding:0 4px;color:#0f766e;font-size:12px;font-weight:500;line-height:1.2;background:transparent;border-radius:4px;pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transform-origin:left center;transform:translateY(19px) scale(1.08);transition:transform .24s cubic-bezier(.2,.8,.2,1),color .18s ease,background-color .16s ease .04s}
.pds-workspace label.pds-field:focus-within>span:first-child,.pds-workspace label.pds-field.has-floating-label>span:first-child,.pds-workspace label.pds-field:has(input[type=file])>span:first-child{transform:translateY(0) scale(1);background:var(--surface,#fff)}
.pds-field b{color:#bd4141}
.pds-workspace .pds-2026-form :is(.form-control,.form-select,.smooth-select-button){min-height:44px;padding:10px 12px;border-radius:12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}
.pds-workspace .pds-field .smooth-select-menu{margin-top:4px;padding:5px;border-radius:12px}
.pds-workspace .pds-field .smooth-select-option{min-height:36px;padding:8px 10px;border-radius:9px;font-size:14px;font-weight:400;line-height:20px}
.pds-workspace .pds-field .smooth-select-menu[popover]{position:fixed;inset:auto;margin:0;max-height:204px;overflow:auto;background:var(--surface,#fff);color:var(--text-main,#233644)}
.pds-workspace .pds-field .smooth-select-menu[popover]:not(:popover-open){display:none}
.pds-workspace .pds-field .modern-date-control{border-radius:12px}
.pds-workspace .pds-field .modern-date-display.form-control{border:0!important;border-radius:0!important;box-shadow:none!important;padding-right:0}
/* PDS declarations must remain readable in full, unlike short entry labels. */
.pds-declarations{align-items:start}
.pds-workspace .pds-declarations label.pds-field>span:first-child{position:static;display:block;max-width:none;white-space:normal;transform:none;background:transparent;line-height:1.5;margin-bottom:7px;padding:0}
.pds-entry{padding:18px;border:1px solid var(--border-color,#dce5e9);border-radius:10px;margin-bottom:14px}.pds-entry-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem}.pds-na-toggle{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:.82rem}.pds-na-toggle input{accent-color:#0f766e}
.pds-declarations{grid-template-columns:repeat(2,minmax(0,1fr))}.pds-section-note{font-size:.85rem;color:var(--text-muted,#64748b)}
.pds-footer-space{height:90px}.pds-form-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;background:var(--panel-bg,#fff);border:1px solid var(--border-color,#d9e4e8);border-radius:12px 12px 0 0;position:fixed;bottom:0;left:24px;width:calc(100% - 48px);box-sizing:border-box;z-index:21;box-shadow:0 -3px 16px #162e3a08}.pds-form-footer>div{display:flex;gap:8px}.pds-form-footer>span{font-size:.8rem;color:var(--text-muted,#64748b)}
/* Give each Other information list its own full-width panel row. */
.pds-workspace .pds-other-information{display:grid!important;grid-template-columns:minmax(0,1fr);gap:0;align-items:start}
.pds-other-information>.pds-subsection{min-width:0}
.pds-workspace .pds-other-information .pds-fields{grid-template-columns:minmax(0,1fr) 98px;gap:12px}
.pds-other-row+.pds-other-row{margin-top:18px}
.pds-other-empty-add{margin-left:auto}
.pds-workspace [hidden]{display:none!important}

.pds-workspace form.pds-2026-form label.pds-field.is-required-invalid>span:first-child{color:#bc3030!important}
.pds-workspace [data-pds-panel]{scroll-margin-top:125px}.pds-workspace .pds-field input,.pds-workspace .pds-field select{scroll-margin-top:140px}
@media(max-width:1000px){.pds-page-tabs button{padding:10px}.pds-page-tabs button small{font-size:.68rem}.pds-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pds-fields,.pds-declarations{grid-template-columns:1fr}.pds-workspace .edit-section{padding:16px!important}.pds-page-tabs{top:4px;gap:2px}.pds-page-tabs button small{display:none}.pds-page-tabs button{flex-direction:column;gap:4px;text-align:center;padding:10px 4px}.pds-tab-number{font-size:1.35rem}.pds-tab-copy strong{font-size:.7rem}.pds-page-heading{align-items:flex-start;flex-direction:column}.pds-entry{padding:12px}.pds-form-footer{padding:12px;flex-wrap:wrap}.pds-form-footer>div{flex:1;justify-content:flex-end}.pds-form-footer .btn{font-size:.8rem;padding:9px}.pds-form-footer>span{display:none}}


.pds-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;flex-shrink:0}.pds-header-actions .btn{white-space:nowrap}
.pds-header-actions{flex-shrink:1}@media(max-width:1000px){.pds-page-heading{flex-wrap:wrap}.pds-header-actions{justify-content:flex-start}}

/* Reserve the bottom-right corner for the internal chat launcher at every width. */
.pds-form-footer{padding-right:80px;justify-content:flex-end}.pds-form-footer>div{flex-wrap:wrap;justify-content:flex-end}
.pds-form-footer .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.pds-form-footer .btn svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


.pds-education-heading{margin-bottom:0}.pds-education-heading:has([aria-checked=true]){margin-bottom:12px}.pds-fields[hidden]{display:none!important}.pds-education-switch.optional-field-switch{position:static!important;top:auto!important;right:auto!important;transform:none!important;flex-shrink:0}.pds-education-switch:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:4px}


/* Spacious PDS controls with floating labels and clear interaction states. */
.pds-workspace{--pds-control-bg:#f8fafb;--pds-control-border:#d8e2e8;--pds-label:#334b5b;--pds-disabled:#f0f3f5}
.pds-workspace .edit-section{padding:28px!important;border-radius:18px;box-shadow:0 4px 20px #213e5010;margin-bottom:24px}
.pds-workspace .edit-section-heading{margin-bottom:24px}
.pds-workspace .edit-section-heading h2{font-size:1.08rem;font-weight:700}
.pds-field-group+.pds-field-group{border-top:1px solid var(--pds-control-border);margin-top:30px;padding-top:26px}
.pds-field-group h3{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted,#64748b);margin:0 0 18px}
.pds-workspace .pds-fields{gap:24px 26px;margin-top:0;align-items:start}
.pds-workspace .pds-contact-fields{grid-column:1/-1}
.pds-workspace .pds-field-group:has(.pds-physical-citizenship-fields){container-type:inline-size}
.pds-workspace .pds-physical-citizenship-fields{grid-column:1/-1;display:grid;grid-template-columns:minmax(90px,.65fr) minmax(90px,.65fr) minmax(100px,.75fr) minmax(150px,1.4fr) minmax(175px,1.5fr) minmax(150px,1.4fr);gap:24px 14px;min-width:0}
.pds-workspace .pds-physical-citizenship-fields label.pds-field:has(input[type=number])>span:first-child{max-width:calc(100% - 30px)!important}
@media(max-width:1000px){.pds-workspace .pds-physical-citizenship-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.pds-workspace .pds-physical-citizenship-fields{grid-template-columns:minmax(0,1fr)}}
@container(max-width:900px){.pds-workspace .pds-physical-citizenship-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:420px){.pds-workspace .pds-physical-citizenship-fields{grid-template-columns:minmax(0,1fr)}}
.pds-workspace .pds-house-zip-pair{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px;min-width:0}
.pds-workspace .pds-house-zip-pair label.pds-field>span:first-child{max-width:calc(100% - 30px)!important}
@media(min-width:621px) and (max-width:1000px){.pds-workspace .pds-house-zip-pair{grid-column:1/-1}}
.pds-workspace .pds-government-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
.pds-workspace .pds-appointment-fields{gap:24px 26px;align-items:start}
.pds-workspace .pds-appointment-fields>.employee-date-field{grid-column:span 2}
.pds-workspace .pds-appointment-fields.is-nature-locked>label{opacity:1}
.pds-workspace .pds-appointment-fields .smooth-select-button:hover{transform:none}
@media(min-width:721px) and (max-width:1100px){.pds-workspace .pds-appointment-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.pds-workspace .pds-appointment-fields{grid-template-columns:1fr;gap:20px}.pds-workspace .pds-appointment-fields>label{grid-column:1/-1}}
.pds-workspace label.pds-field:not(:focus-within):not(.has-floating-label):not(:has(input[type=file]))>span:first-child{transform:translateY(25px) scale(1.08)}
.pds-workspace .pds-declarations label.pds-field>span:first-child{transform:none!important}
.pds-workspace .pds-2026-form label.pds-field b{margin-left:3px}
.pds-workspace .pds-2026-form .pds-field :is(.form-control,.form-select,.smooth-select-button,.modern-date-control){min-height:50px;border:1px solid var(--pds-control-border);border-radius:10px;background:var(--pds-control-bg);color:var(--text-main,#233644);box-shadow:0 1px 2px #213e5005;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}
.pds-workspace .pds-2026-form .pds-field :is(.form-control,.form-select,.smooth-select-button){padding:13px 15px;font-size:.9rem}
.pds-workspace .pds-field :is(.form-control,.smooth-select-button):hover:not(:disabled),.pds-workspace .pds-field .modern-date-control:hover:not(.is-disabled){border-color:#9cbfb9}
.pds-workspace .pds-field :is(.form-control,.smooth-select-button):focus-visible,.pds-workspace .pds-field .modern-date-control:focus-within{outline:none;border-color:#0f8a7d;box-shadow:0 0 0 3px #0f8a7d20;background:var(--panel-bg,#fff)}
.pds-workspace .pds-2026-form .pds-field :is(.form-control,.smooth-select-button):disabled,.pds-workspace .pds-field .modern-date-control.is-disabled{background:var(--pds-disabled);border-color:var(--pds-control-border);color:var(--text-muted,#7b8996);box-shadow:none;cursor:not-allowed}
.pds-workspace .pds-2026-form .pds-field .modern-date-display.form-control{min-height:48px;background:transparent}
.pds-workspace .pds-field .modern-date-trigger{background:#e9f4f2;border-left:1px solid var(--pds-control-border)}
.pds-workspace .pds-optional-name .pds-name-switch{top:32px!important;right:9px!important}
.pds-workspace .pds-optional-name .form-control{padding-right:50px!important}
.pds-workspace label.pds-optional-name:not(.has-floating-label):not(:focus-within)>span:first-child{max-width:calc(100% - 62px)}
.pds-workspace .pds-name-switch:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:3px}
/* Empty dependent places keep an inside label while awaiting their parent selection. */
.pds-workspace form.pds-2026-form label.pds-field:has(>select[data-pds-place]:disabled:is([name$="City"],[name$="Barangay"])>option[value=""]:checked)>span:first-child{transform:translateY(25px) scale(1.08)!important;background:transparent!important;color:#DC2626!important}
.pds-workspace .pds-entry{padding:24px;border-radius:14px;background:var(--panel-bg,#fff);margin-bottom:18px}
.pds-workspace [data-pds-repeat="Education"]>.pds-entry:last-child{margin-bottom:0}
.pds-workspace [data-pds-panel]>.edit-section:last-child{margin-bottom:0}
article.content:has(.pds-workspace){padding-bottom:0}
.pds-workspace .pds-entry-heading{font-size:.9rem;margin-bottom:22px}
.pds-workspace .pds-education-heading:not(:has([aria-checked=true])){margin-bottom:0}
.pds-workspace .pds-education-heading{justify-content:flex-start;gap:14px}
.pds-workspace .pds-entry.pds-education-animating{overflow:hidden;box-sizing:border-box}
.pds-workspace [data-pds-repeat="Education"] .pds-fields>label:has(input[name$=".School"]){grid-column:1/-1}
.pds-workspace :is([data-pds-education-level="Elementary"],[data-pds-education-level="Secondary"])>.pds-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.pds-workspace :is([data-pds-education-level="Elementary"],[data-pds-education-level="Secondary"])>.pds-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pds-workspace :is([data-pds-education-level="Elementary"],[data-pds-education-level="Secondary"])>.pds-fields{grid-template-columns:1fr}}
.pds-workspace :is([data-pds-education-level="Elementary"],[data-pds-education-level="Secondary"])>.pds-fields>label:has(input:is([name$=".Course"],[name$=".Units"])){display:none}
.pds-workspace form.pds-2026-form label.pds-field.is-required-invalid>span:first-child{color:#bc3030!important}
.pds-workspace .pds-field.is-required-invalid :is(.form-control,.smooth-select-button,.modern-date-control){border-color:#bc3030}
html[data-theme=dark] .pds-workspace{--pds-control-bg:#182b39;--pds-control-border:#38505e;--pds-label:#d6e3e9;--pds-disabled:#223440}
html[data-theme=dark] .pds-workspace .pds-field .modern-date-trigger{background:#23443f}
@media(max-width:1100px){.pds-workspace .pds-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.pds-workspace .edit-section{padding:20px!important}.pds-workspace .pds-fields{grid-template-columns:1fr;gap:20px}.pds-workspace .pds-entry{padding:18px}}

/* Children share one section; each additional child is a compact field row. */
.pds-workspace .pds-panel-group>.pds-subsection+.pds-subsection{border-top:1px solid var(--pds-control-border);margin-top:30px;padding-top:26px}
.pds-workspace .pds-subsection>.edit-section-heading h3{margin:0;font-size:.95rem;font-weight:600;color:var(--text-muted,#64748b)}
.pds-workspace .pds-subsection>.edit-section-heading{margin-bottom:4px}
.pds-workspace [data-pds-section="Permanent"]>.edit-section-heading{justify-content:flex-start;gap:20px;flex-wrap:wrap}
.pds-same-address-toggle{display:flex;align-items:center;gap:10px}
.pds-workspace .pds-same-address-toggle>span{font-size:.85rem;font-weight:500;color:var(--text-muted,#64748b)}
.pds-workspace .pds-same-address-switch{position:static!important;transform:none!important;flex-shrink:0}
.pds-workspace .pds-same-address-switch:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:3px}
.pds-workspace [data-pds-section="Permanent"]:has([data-pds-same-address][aria-checked="true"])>:is([data-pds-place-status],[data-pds-place-retry]){display:none}
.pds-permanent-animating{overflow:hidden}
.pds-workspace [data-pds-section="Children"] .edit-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.pds-workspace .pds-child-row+.pds-child-row{margin-top:24px}
.pds-workspace .pds-child-row .pds-fields{grid-template-columns:minmax(0,2fr) minmax(180px,1fr) 98px;align-items:start;gap:20px}
/* Share the mother's three-column guides; split only the final column for extra controls. */
@media(min-width:1101px){
    .pds-workspace .pds-child-row .pds-fields{grid-template-columns:minmax(0,calc((100% - 52px)/3*2 + 26px)) minmax(0,1fr) 98px;gap:24px 26px}
}
.pds-workspace .pds-name-pair{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:26px;min-width:0}
@media(min-width:701px) and (max-width:1100px){.pds-workspace .pds-name-pair{grid-column:1/-1}}
@media(max-width:700px){.pds-workspace .pds-name-pair{gap:12px}}
.pds-workspace .pds-child-actions{display:flex;align-items:center;gap:10px;height:50px;margin-top:7px}
.pds-workspace .pds-child-action[hidden]{display:none!important}
.pds-workspace .pds-child-action{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:0;border-radius:12px}
.pds-workspace .pds-child-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.pds-workspace .pds-child-action[data-pds-remove-row]:hover{color:#bc3030;border-color:#bc3030}
@media(max-width:600px){.pds-workspace .pds-child-row .pds-fields{grid-template-columns:minmax(0,1fr) 98px;gap:18px 12px}.pds-workspace .pds-child-row .pds-fields>label:first-child{grid-column:1/-1}.pds-workspace .pds-child-row+.pds-child-row{padding-top:24px;border-top:1px solid var(--pds-control-border)}}

/* Declaration answers reveal their own details beneath the leading switch. */
.pds-declaration-list{display:grid;gap:14px}
.pds-declaration{padding:20px;border:1px solid var(--pds-control-border,#d8e2e8);border-radius:14px;background:var(--panel-bg,#fff)}
.pds-declaration-heading{display:flex;align-items:center;gap:14px}
.pds-workspace .pds-declaration-switch.optional-field-switch{position:static!important;transform:none!important;flex-shrink:0;margin:0}
.pds-declaration-switch:focus-visible{outline:2px solid var(--teal,#0f766e);outline-offset:4px}
.pds-declaration-question{flex:0 1 auto;min-width:0;font-size:.9rem;line-height:1.55;color:var(--text-main,#233644)}
.pds-declaration-answer{flex-shrink:0;font-size:.8rem;font-weight:600;color:var(--text-muted,#64748b);min-width:26px;text-align:left}
.pds-declaration.is-open .pds-declaration-answer{color:var(--teal,#0f766e)}
.pds-declaration-details{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows 260ms cubic-bezier(.2,.8,.2,1),opacity 200ms ease}
.pds-declaration.is-open>.pds-declaration-details{grid-template-rows:1fr;opacity:1}
.pds-declaration-details-inner{min-height:0;overflow:hidden}
.pds-workspace .pds-declaration-details .pds-fields{padding:22px 4px 4px;margin:0}
.pds-declaration-details .pds-fields>label:only-child{grid-column:1/-1}
.pds-personal-switches{margin-top:24px;container-type:inline-size}
.pds-declaration-beside{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,2fr);gap:18px;align-items:center}
.pds-declaration-beside>.pds-declaration-details{grid-template-rows:1fr;grid-template-columns:0fr;transform:translateX(-12px);transition:grid-template-columns 260ms cubic-bezier(.2,.8,.2,1),opacity 200ms ease,transform 260ms ease}
.pds-declaration-beside.is-open>.pds-declaration-details{grid-template-columns:1fr;transform:translateX(0)}
.pds-declaration-beside .pds-declaration-details-inner{min-width:0}
.pds-workspace .pds-declaration-beside .pds-fields{padding:4px;grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){
    .pds-declaration-beside{grid-template-columns:minmax(0,1fr);gap:0}
    .pds-declaration-beside>.pds-declaration-details{grid-template-columns:1fr;grid-template-rows:0fr;transform:none;transition:grid-template-rows 260ms cubic-bezier(.2,.8,.2,1),opacity 200ms ease}
    .pds-declaration-beside.is-open>.pds-declaration-details{grid-template-rows:1fr}
    .pds-workspace .pds-declaration-beside .pds-fields{padding-top:18px}
}
@media(max-width:700px){.pds-declaration{padding:16px}.pds-declaration-heading{gap:10px}.pds-declaration-question{font-size:.85rem}}
/* The switch panel fills the row until its separate detail field opens on the right. */
.pds-workspace .pds-personal-declaration-row{box-sizing:border-box;width:100%;min-height:54px;padding:0;border:0;background:transparent;grid-template-columns:minmax(0,3fr) minmax(0,0fr);gap:0;transition:grid-template-columns 260ms cubic-bezier(.2,.8,.2,1),gap 260ms ease}
.pds-workspace .pds-personal-declaration-row.is-open{grid-template-columns:minmax(0,calc((100% - 52px)/3)) minmax(0,1fr);gap:26px}
.pds-personal-declaration-row>.pds-declaration-heading{min-width:0;min-height:54px;padding:8px 14px;gap:10px;box-sizing:border-box;border:1px solid var(--pds-control-border,#d8e2e8);border-radius:12px;background:var(--panel-bg,#fff)}
.pds-personal-declaration-row .pds-declaration-question{font-size:.85rem}
.pds-personal-declaration-row>.pds-declaration-details{min-width:0;grid-template-columns:1fr}
.pds-workspace .pds-personal-declaration-row .pds-fields{padding-left:0;padding-right:0;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:701px) and (max-width:1100px){
    .pds-workspace .pds-personal-declaration-row.is-open{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1100px){
    .pds-workspace .pds-personal-declaration-row .pds-fields{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
    .pds-workspace .pds-personal-declaration-row,.pds-workspace .pds-personal-declaration-row.is-open{grid-template-columns:minmax(0,1fr);gap:0}
}
@media(prefers-reduced-motion:reduce){.pds-declaration-details,.pds-declaration-beside>.pds-declaration-details,.pds-workspace .pds-personal-declaration-row{transition:none}.pds-declaration-switch .optional-switch-track,.pds-declaration-switch .optional-switch-track::after{transition:none}}

/* Work experience pairs appointment status with position, and government service with grade. */
.pds-workspace [data-pds-section="Work"] .pds-entry{container-type:inline-size}
.pds-workspace [data-pds-section="Work"] .pds-fields{display:grid;grid-template-columns:minmax(0,1fr) 160px 210px 240px max-content;gap:24px 18px}
.pds-workspace .pds-work-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;grid-column:1 / 4;grid-row:1;width:calc(100cqw / 3 + 6px);min-width:0}
/* Keep the date widths while sharing only the position/grade right-hand guide. */
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".Position"]){grid-column:1 / 4;grid-row:1;margin-left:calc(100cqw / 3 + 24px);width:auto}
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".Status"]){grid-column:4 / -1}
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".Agency"]){grid-column:1}
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".Salary"]){grid-column:2}
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".GradeStep"]){grid-column:3}
.pds-workspace [data-pds-section="Work"] .pds-fields>label:has(select[name$=".Government"]){grid-column:4}
.pds-workspace [data-pds-section="Work"] .pds-child-actions{grid-column:5;justify-content:flex-end}
@container(max-width:1000px){
    .pds-workspace [data-pds-section="Work"] .pds-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
    .pds-workspace .pds-work-dates{grid-column:1 / -1;grid-row:auto;width:auto}
    .pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input),
    .pds-workspace [data-pds-section="Work"] .pds-fields>label:has(select){grid-column:auto}
    .pds-workspace [data-pds-section="Work"] .pds-fields>label:has(input[name$=".Position"]){grid-row:auto;margin-left:0}
    .pds-workspace [data-pds-section="Work"] .pds-child-actions{grid-column:1 / -1}
}
@container(max-width:480px){
    .pds-workspace [data-pds-section="Work"] .pds-fields,.pds-workspace .pds-work-dates{grid-template-columns:minmax(0,1fr)}
    .pds-workspace .pds-work-dates{grid-column:1 / -1}
}

/* Eligibility uses two rows with space for the eligibility name and examination place. */
.pds-workspace [data-pds-section="Eligibility"] .pds-entry{container-type:inline-size}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields{display:flex;flex-wrap:wrap;gap:24px 18px}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name$=".Name"]){flex:0 0 calc(100% - 396px)}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name$=".Rating"]){flex:0 0 120px}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input:is([name$=".ExamDate"],[name$=".LicenseNo"],[name$=".ValidUntil"])){flex:0 0 240px}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name$=".ValidUntil"]){flex-basis:262px}
.pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name$=".ExamPlace"]){flex:1 1 0}
/* Give the date the unused action space while preserving its left alignment with Rating. */
.pds-workspace [data-pds-section="Eligibility"] .pds-child-actions{flex:0 0 98px;justify-content:flex-end}
@container(max-width:850px){
    .pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name]){flex:0 0 calc((100% - 18px) / 2)}
    .pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input:is([name$=".Name"],[name$=".ExamPlace"])){flex-basis:100%}
    .pds-workspace [data-pds-section="Eligibility"] .pds-child-actions{flex-basis:auto;margin-left:auto}
}
@container(max-width:480px){
    .pds-workspace [data-pds-section="Eligibility"] .pds-fields>label:has(input[name]){flex-basis:100%}
}

/* Voluntary work uses two rows, with compact dates and inline actions. */
.pds-workspace [data-pds-section="Voluntary"] .pds-entry{container-type:inline-size}
.pds-workspace [data-pds-section="Voluntary"] .pds-fields{display:flex;flex-wrap:wrap;gap:24px 18px}
.pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input[name$=".Organization"]){flex:0 0 calc(100% - 516px)}
.pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"])){flex:0 0 240px}
.pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input[name$=".Hours"]){flex:0 0 200px}
.pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input[name$=".Position"]){flex:1 1 0}
.pds-workspace [data-pds-section="Voluntary"] .pds-child-actions{flex:0 0 auto;justify-content:flex-end}
@container(max-width:650px){
    .pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input:is([name$=".Organization"],[name$=".Hours"])){flex-basis:100%}
    .pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"])){flex-basis:calc((100% - 18px) / 2)}
}
@container(max-width:360px){
    .pds-workspace [data-pds-section="Voluntary"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"])){flex-basis:100%}
}

/* Training entries reserve more space for the title and keep actions beside the second row. */
.pds-workspace [data-pds-section="Training"] .pds-entry{container-type:inline-size}
.pds-workspace [data-pds-section="Training"] .pds-fields{display:flex;flex-wrap:wrap;gap:24px 18px}
.pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Title"]){flex:0 0 calc((100% - 36px) * 2 / 3)}
.pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"])){flex:0 0 calc((100% - 36px) / 6)}
.pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Hours"]){flex:0 0 calc((100% - 54px) / 6)}
.pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Type"]){flex:0 0 calc((100% - 54px) / 3)}
.pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Sponsor"]){flex:1 1 0}
.pds-workspace [data-pds-section="Training"] .pds-child-actions{flex:0 0 auto;justify-content:flex-end}
@container(max-width:1000px){
    .pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Title"]){flex-basis:100%}
    .pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"])){flex-basis:calc((100% - 18px) / 2)}
    .pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Hours"]){flex-basis:calc((100% - 18px) / 3)}
    .pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input[name$=".Type"]){flex-basis:calc((100% - 18px) * 2 / 3)}
}
@container(max-width:480px){
    .pds-workspace [data-pds-section="Training"] .pds-fields>label:has(input:is([name$=".From"],[name$=".To"],[name$=".Hours"],[name$=".Type"])){flex-basis:100%}
}

/* References share the compact entry cards and icon actions used by other repeaters. */
.pds-workspace [data-pds-section="References"] .pds-entry{container-type:inline-size}
.pds-workspace [data-pds-section="References"] .pds-fields{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1.2fr) 98px;gap:24px 18px}
.pds-workspace [data-pds-section="References"] .pds-child-actions{justify-content:flex-start}
@container(max-width:900px){
    .pds-workspace [data-pds-section="References"] .pds-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container(max-width:560px){
    .pds-workspace [data-pds-section="References"] .pds-fields{grid-template-columns:minmax(0,1fr)}
}

/* Identification details use a compact date control and wrap on smaller screens. */
.pds-workspace [data-pds-section="Identification"]{container-type:inline-size}
.pds-workspace [data-pds-section="Identification"] .pds-fields{display:flex;flex-wrap:wrap;gap:24px 18px}
.pds-workspace [data-pds-section="Identification"] .pds-fields>label{flex:0 0 calc((100% - 294px) / 3)}
.pds-workspace [data-pds-section="Identification"] .pds-fields>.employee-date-field{flex:0 0 240px}
@container(max-width:950px){
    .pds-workspace [data-pds-section="Identification"] .pds-fields>label.pds-field{flex:0 0 calc((100% - 18px) / 2)}
}
@container(max-width:560px){
    .pds-workspace [data-pds-section="Identification"] .pds-fields>label.pds-field{flex-basis:100%}
}

/* Move the active tab highlight without shifting the tab text or changing layout. */
.pds-page-tabs.pds-tabs-animated{--pds-tab-gap:6px;isolation:isolate}
.pds-page-tabs.pds-tabs-animated::before{content:"";position:absolute;left:6px;top:6px;bottom:6px;width:calc((100% - 12px - 3 * var(--pds-tab-gap))/4);border-radius:9px;background:var(--teal,#0f766e);pointer-events:none;transform:translateX(calc(var(--pds-active-tab,0) * (100% + var(--pds-tab-gap))));transition:transform 260ms cubic-bezier(.2,.8,.2,1)}
.pds-page-tabs.pds-tabs-animated button{position:relative;background:transparent;transition:color 180ms ease}
.pds-page-tabs.pds-tabs-animated button small,.pds-page-tabs.pds-tabs-animated .pds-tab-number{transition:color 180ms ease}
@media(max-width:620px){.pds-page-tabs.pds-tabs-animated{--pds-tab-gap:2px}}
@media(prefers-reduced-motion:reduce){.pds-page-tabs.pds-tabs-animated::before,.pds-page-tabs.pds-tabs-animated button,.pds-page-tabs.pds-tabs-animated button small,.pds-page-tabs.pds-tabs-animated .pds-tab-number{transition:none}}

