/* Recruitment-only layout: leave other application modules unchanged. */
.ypjob-public{margin:0;background:#f3f6f7;color:#203538;font:14px/1.45 system-ui,sans-serif}
.ypjob,.ypc-app .ypjob{--job-accent:var(--ypc-primary,#176b60);box-sizing:border-box;width:100%;max-width:none;margin:8px 0 16px;line-height:1.45;overflow-wrap:anywhere}
.ypjob-public .ypjob{max-width:1100px;margin:16px auto;padding:22px 24px;background:white;border:1px solid #dbe4e3;border-radius:12px;box-shadow:0 4px 24px #20353808}
.ypjob header{border-bottom:2px solid var(--job-accent);margin-bottom:12px;padding-bottom:8px}
.ypjob h1{font-size:27px;line-height:1.2;margin:4px 0 8px}
.ypjob h2,.ypjob h3{line-height:1.3;margin:10px 0!important}
.ypjob p,.ypc-app .ypjob p{margin:6px 0 10px}
.ypjob fieldset,.ypjob details,.ypc-app .ypjob details{box-sizing:border-box;min-width:0;border:1px solid #d7e2e1;border-radius:8px;padding:12px 14px;margin:10px 0;background:#fff}
.ypjob legend,.ypjob summary{font-weight:700;color:var(--job-accent)}
.ypjob summary{cursor:pointer;line-height:1.4}
.ypjob details[open]>summary{margin-bottom:10px}
.ypjob .ypjob-grid,.ypc-app .ypjob .ypjob-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px 14px!important;align-items:start}
.ypjob label,.ypc-app .ypjob label{display:flex;flex-direction:column;gap:4px;font-size:13px;line-height:1.35;font-weight:600;min-width:0;margin:0}
.ypjob input:not([type=checkbox]):not([type=hidden]),.ypjob select,.ypjob textarea,.ypc-app .ypjob input:not([type=checkbox]):not([type=hidden]),.ypc-app .ypjob select,.ypc-app .ypjob textarea{box-sizing:border-box;width:100%;max-width:100%;padding:7px 9px;border:1px solid #9fb2bc;border-radius:5px;background:#fff;color:inherit;font:inherit;font-size:13px;line-height:1.4;min-height:36px;height:36px;margin:0}
.ypjob select,.ypc-app .ypjob select{padding:0 26px 0 9px;line-height:normal}
.ypjob input:focus,.ypjob select:focus,.ypjob textarea:focus{outline:2px solid var(--job-accent);outline-offset:1px}
.ypjob textarea,.ypc-app .ypjob textarea{resize:vertical;height:60px;min-height:60px}
.ypjob input[type=file],.ypc-app .ypjob input[type=file]{height:auto;min-height:36px;font-size:12px}
.ypjob .ypjob-check,.ypc-app .ypjob .ypjob-check{flex-direction:row;align-items:flex-start;font-weight:400;margin:10px 0;gap:8px}
.ypjob-check input,.ypc-app .ypjob-check input{width:17px;height:17px;min-height:17px;flex-shrink:0;margin:1px 0 0;accent-color:var(--job-accent)}
.ypjob small{color:#526965;display:block;font-size:12px;margin:3px 0}
.ypjob button,.ypc-app .ypjob button{background:var(--job-accent);border:0;border-radius:5px;color:white;font:600 13px system-ui;padding:9px 14px;min-height:36px;cursor:pointer;margin:0;white-space:normal}
.ypjob button:disabled{opacity:.65;cursor:wait}
.ypjob a{color:var(--job-accent);text-decoration:underline}
.ypjob .ypjob-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.ypjob-error{padding:12px;background:#fff0ed;border-left:4px solid #b33425}
.ypjob-warning{padding:10px;background:#fff8de;border-left:4px solid #9f7620}
.ypjob-success{padding:18px;background:#ebf7f1;border-radius:8px}
.ypjob-badge{display:inline-block;background:#edf3f1;border:1px solid #cadfd6;border-radius:4px;padding:3px 7px;font-size:12px;font-weight:600}
.ypjob-table{overflow:auto;margin:10px 0;border:1px solid #d7e2e1;border-radius:7px;background:white}
.ypjob table{width:100%;border-collapse:collapse;font-size:13px}
.ypjob th,.ypjob td{padding:9px 11px;text-align:left;border-bottom:1px solid #d7e2e1;vertical-align:top;line-height:1.45}
.ypjob tr:last-child td{border-bottom:0}.ypjob th{background:var(--ypc-light,#edf4ff)}
.ypjob-actions{display:flex;flex-wrap:wrap;gap:10px 16px;margin:10px 0}
.ypjob .ypjob-filters,.ypc-app .ypjob .ypjob-filters{padding:12px;background:#fff;border:1px solid #d7e2e1;border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end}
.ypjob-filters>div{display:flex;align-items:center;gap:10px;min-height:36px}
.ypjob form.ypc-form,.ypc-app .ypjob form.ypc-form{display:block;margin:0;padding:0;max-width:none;width:100%;border:0;background:none;box-shadow:none}
.ypjob form.ypc-form>label{margin-top:10px}
.ypjob form.ypc-form>button{margin-top:10px}
.ypjob .ypjob-profile,.ypc-app .ypjob .ypjob-profile{grid-template-columns:repeat(4,minmax(0,1fr))!important;background:#fff;border:1px solid #d7e2e1;border-radius:8px;padding:12px;gap:10px 16px!important;margin:10px 0}
.ypjob-profile>p,.ypc-app .ypjob-profile>p{margin:0;font-size:13px;line-height:1.45}
.ypjob-profile strong{font-size:12px;color:#526575}
.ypjob .ypjob-time{min-width:0;font-size:13px;font-weight:600;line-height:1.35}
.ypjob .ypjob-time-parts{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:5px;margin-top:4px}
.ypjob-time-parts label{font-size:0!important;gap:0!important}.ypjob-time-parts select{font-size:13px!important}
.ypjob .ypc-date-control{gap:4px}.ypjob .ypc-date-control .ypc-date-calendar{height:36px!important;min-height:36px!important;flex-basis:36px!important;width:36px!important;min-width:36px!important;max-width:36px!important}
.ypjob .ypc-date-control .ypc-date-text{min-width:0}
.ypjob-history ol{margin:8px 0;padding-left:22px}.ypjob-history li{padding:7px 0;border-bottom:1px solid #e2e8eb;font-size:13px}.ypjob-history li p{margin:3px 0}
@media(max-width:1100px){.ypjob .ypjob-grid,.ypc-app .ypjob .ypjob-grid,.ypjob .ypjob-profile,.ypc-app .ypjob .ypjob-profile{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.ypjob-public .ypjob{margin:0;border-radius:0;padding:14px 12px}.ypjob .ypjob-grid,.ypc-app .ypjob .ypjob-grid,.ypjob .ypjob-profile,.ypc-app .ypjob .ypjob-profile{grid-template-columns:1fr!important}.ypjob fieldset,.ypjob details{padding:12px}.ypjob h1{font-size:24px}.ypjob table{min-width:600px}.ypjob button,.ypjob input:not([type=checkbox]):not([type=hidden]),.ypjob select{min-height:42px}.ypjob .ypc-date-control .ypc-date-calendar{height:42px!important;min-height:42px!important}}
/* Own the recruitment layout explicitly: shared filter/form enhancers must not
   impose 280px caps, tall labels or full-row text areas on this workspace. */
#ypjob-workspace{margin-top:4px}
#ypjob-workspace .ypjob-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;border-bottom:1px solid #dde5eb;padding:0 0 10px}
#ypjob-workspace .ypjob-toolbar h2{margin:0 0 3px!important;font-size:21px;letter-spacing:-.3px}
#ypjob-workspace .ypjob-toolbar p{margin:0;color:#617181;font-size:12px}
#ypjob-workspace .ypjob-toolbar-actions{display:flex;align-items:center;gap:14px;font-size:13px}
#ypjob-workspace details.ypjob-share{position:relative;margin:0;padding:7px 10px;background:#fff;border-radius:6px;white-space:nowrap}
#ypjob-workspace .ypjob-share[open]{white-space:normal;max-width:390px}
#ypjob-workspace .ypjob-grid,#ypjob-public-form .ypjob-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px 12px!important}
#ypjob-workspace .ypjob-grid>label,#ypjob-workspace .ypjob-grid>div,#ypjob-public-form .ypjob-grid>label{grid-column:auto!important;min-width:0;max-width:none!important;width:100%!important;margin:0!important;align-self:start}
#ypjob-workspace .ypjob-grid>label{display:flex!important;flex-direction:column;gap:4px!important}
#ypjob-workspace .ypc-field-title{min-height:0!important;line-height:1.35!important;margin:0;padding:0}
#ypjob-workspace .ypjob-grid label:has(>textarea){grid-column:auto!important}
#ypjob-workspace .ypjob-grid textarea,#ypjob-public-form .ypjob-grid textarea{min-height:54px;height:54px}
#ypjob-workspace form.ypjob-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;gap:8px 10px!important;padding:10px!important;margin:0 0 10px;background:#fff;box-shadow:0 2px 6px #18324f04}
#ypjob-workspace form.ypjob-filters label{display:flex!important;flex-direction:column;gap:4px!important;min-height:0;max-width:none!important;flex:none!important;align-self:end}
#ypjob-workspace form.ypjob-filters .ypjob-filter-actions{grid-column:auto!important;display:flex!important;align-items:center;justify-content:flex-start;gap:10px!important;min-height:36px;border:0!important;padding:0!important;margin:0!important;align-self:end}
#ypjob-workspace .ypjob-filters input:not([type=hidden]),#ypjob-workspace .ypjob-filters select{max-width:none!important;width:100%;margin:0!important;height:36px}
#ypjob-workspace .ypjob-profile{box-shadow:0 2px 6px #18324f04;padding:10px 12px;margin:8px 0 12px}
#ypjob-workspace .ypjob-profile p{border-bottom:1px solid #edf1f4;padding:0 0 6px}
#ypjob-workspace .ypjob-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;background:#e9eef3;border:1px solid #dbe3eb;border-radius:9px 9px 0 0;margin:12px 0 0}
#ypjob-workspace .ypjob-tabs button{background:transparent;color:#526579;border:0;box-shadow:none;border-radius:6px;min-height:36px;padding:8px 15px;font-weight:600;font-size:13px}
#ypjob-workspace .ypjob-tabs button[aria-selected=true]{background:white;color:var(--job-accent);box-shadow:0 1px 4px #18324f1a}
#ypjob-workspace .ypjob-tabs button:focus-visible{outline:2px solid var(--job-accent);outline-offset:1px}
#ypjob-workspace.ypjob-tabbed>.ypjob-tab-panel{margin:0;border-radius:0 0 9px 9px;border-top:0;padding:14px;box-shadow:0 3px 12px #18324f06}
#ypjob-workspace.ypjob-tabbed>.ypjob-tab-panel>summary{display:none}
#ypjob-workspace .ypjob-tab-panel[hidden]{display:none!important}
#ypjob-workspace .ypjob-time-parts{gap:4px}
#ypjob-workspace .ypjob-time-parts label,#ypjob-workspace .ypjob-time-parts .ypc-field-title{font-size:0!important;line-height:0!important;min-height:0!important}
#ypjob-public-form{max-width:1280px;padding:20px 24px;border-radius:14px;background:#fff}
#ypjob-public-form header{border-bottom:0;background:#f6f8fa;border-left:4px solid var(--job-accent);border-radius:7px;padding:12px 16px;margin:0 0 12px}
#ypjob-public-form header p{margin:3px 0}
#ypjob-public-form fieldset{padding:12px;margin:12px 0;border-color:#e0e6ed;background:#fff}
#ypjob-public-form legend{padding:0 6px;font-size:13px}
@container(min-width:1350px){#ypjob-workspace form.ypjob-filters{grid-template-columns:1.15fr 1fr 1.25fr 1fr 1.1fr 1fr 1fr .8fr!important}}
@container(max-width:950px){#ypjob-workspace .ypjob-grid,#ypjob-workspace form.ypjob-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@container(max-width:560px){#ypjob-workspace .ypjob-grid,#ypjob-workspace form.ypjob-filters{grid-template-columns:1fr!important}#ypjob-workspace .ypjob-toolbar{align-items:flex-start;flex-direction:column}#ypjob-workspace .ypjob-tabs button{padding:8px 10px}}
@media(max-width:1100px){#ypjob-public-form .ypjob-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){#ypjob-public-form .ypjob-grid,#ypjob-workspace .ypjob-grid,#ypjob-workspace form.ypjob-filters{grid-template-columns:1fr!important}#ypjob-public-form{padding:14px 12px}#ypjob-workspace .ypjob-toolbar{align-items:flex-start;flex-direction:column}}

/* Recruitment register shares the app's table and pagination components. */
#ypjob-workspace .ypjob-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:8px}
#ypjob-workspace .ypjob-pending{display:inline-block;padding:4px 8px;margin:8px 0 0;border:1px solid #e0b75c;border-radius:5px;background:#fff7df;color:#794600;font-weight:600}
#ypjob-workspace .ypc-register-pagination input[type=number]{width:80px}
#ypjob-workspace .ypc-table td{vertical-align:top;overflow-wrap:anywhere}

#ypjob-workspace .ypc-table th{background:var(--ypc-light,#edf4ff);color:#18324f}

.ypjob form button[type=submit],.ypc-app .ypjob form button[type=submit]{background:var(--ypc-action,var(--ypc-accent,var(--job-accent)));color:var(--ypc-on-action,var(--ypc-on-accent,#fff))}
.ypjob form button[type=submit]:hover{background:var(--ypc-action-hover,var(--ypc-accent-hover,var(--job-accent)))}

@media screen{.ypjob form button[type=submit],.ypc-app .ypjob form button[type=submit]{border:1px solid var(--ypc-accent-border,var(--ypc-primary,#174ea6))}}

/* One caption above each field; translated fragments and numbers stay inline. */
@media screen {
 .ypjob .ypc-field-title {display:block;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word;}
 #ypjob-workspace .ypjob-toolbar-actions {flex-wrap:wrap;min-width:0;max-width:100%;}
 #ypjob-workspace details.ypjob-share {max-width:100%;box-sizing:border-box;white-space:normal;}
 .ypjob-table {min-width:0;max-width:100%;}
}
@media screen and (max-width:650px) {
 #ypjob-public-form {margin:0;border-radius:0;}
 #ypjob-public-form header {padding:12px;}
 #ypjob-public-form legend {max-width:100%;box-sizing:border-box;white-space:normal;}
 #ypjob-public-form .ypjob-grid {gap:14px!important;}
 #ypjob-public-form label {font-size:14px;line-height:1.45;gap:5px;}
 #ypjob-public-form :is(input:not([type=hidden]):not([type=checkbox]),select,textarea) {font-size:16px;min-height:44px;}
 #ypjob-public-form textarea {min-height:76px;}
 #ypjob-public-form input[type=file] {font-size:14px;height:auto;white-space:normal;}
 #ypjob-public-form input[type=file]::file-selector-button {min-height:32px;max-width:100%;white-space:normal;}
 #ypjob-public-form .ypjob-check {min-height:44px;align-items:flex-start;margin:8px 0;}
 #ypjob-public-form .ypjob-check input {margin-top:3px;}
 #ypjob-public-form button[type=submit] {width:100%;min-height:46px;font-size:15px;}
 #ypjob-workspace .ypjob-time-parts select {font-size:16px!important;min-height:44px;}
 #ypjob-workspace .ypjob-tabs button {min-height:44px;}
}
