/* MATCHING JOBS additive styles only. Existing global CSS is intentionally untouched. */
body[data-page="matching-jobs"] .matching-job-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
body[data-page="matching-jobs"] .matching-job-heading h1{margin:0}
.matching-job-post-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.matching-job-post-link .material-symbols-rounded{font-size:18px}
.matching-job-job-layout{align-items:start}
.matching-job-filter-panel{overflow:hidden}
.matching-job-filter-form{display:contents}
.matching-job-check-scroll{max-height:220px;overflow:auto;padding-right:4px}
.matching-job-small-field{display:grid;gap:6px;margin-top:10px;font-size:12px;font-weight:700;color:var(--muted)}
.matching-job-small-field input,.matching-job-advanced input,.matching-job-advanced select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:9px 10px;font:inherit}
.matching-job-advanced{border-top:1px solid var(--line)}
.matching-job-advanced>summary{list-style:none;cursor:pointer;padding:13px 16px;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:space-between}
.matching-job-advanced>summary::-webkit-details-marker{display:none}
.matching-job-advanced>summary:after{content:"＋";color:var(--muted)}
.matching-job-advanced[open]>summary:after{content:"−"}
.matching-job-advanced-body{display:grid;gap:16px;padding:0 16px 16px}
.matching-job-advanced-block{display:grid;gap:6px}
.matching-job-advanced-block>strong{font-size:12px}
.matching-job-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px;align-items:center}
.matching-job-reset-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-decoration:none;font-size:12px;font-weight:750}
.matching-job-card-media{display:block;color:inherit;text-decoration:none}
.matching-job-card-placeholder{display:flex;align-items:center;justify-content:center}
.matching-job-card-placeholder>.material-symbols-rounded{font-size:46px;color:rgba(255,255,255,.8)}
.matching-job-job-card .card-title a{color:inherit;text-decoration:none}
.matching-job-card-facts{display:grid;gap:6px;margin-top:10px;color:var(--muted);font-size:12px}
.matching-job-card-facts>span{display:flex;align-items:flex-start;gap:5px;min-width:0}
.matching-job-card-facts .material-symbols-rounded{font-size:16px;flex:none}
/* matching-settings visibility authority: an explicit OFF must win over card layout display rules. */
.matching-job-job-cards [data-job-card-field][hidden],.matching-job-job-cards [data-job-card-field-group][hidden]{display:none!important}
.matching-job-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-decoration:none}
.matching-job-pagination a.active,.matching-job-pagination a[aria-current="page"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.matching-job-flash{margin:0 0 16px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13px;font-weight:700}
.matching-job-flash[data-type="success"]{border-color:#a8d5bd}
.matching-job-flash[data-type="error"]{border-color:#e0a5aa}
.matching-job-flash[data-type="notice"]{border-color:#d8dbe0}
.matching-job-job-form-page .static-section{overflow:visible}
.matching-job-job-form select{width:100%;min-height:46px;box-sizing:border-box;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:10px 12px;font:inherit}
.matching-job-section-title{font-size:15px;font-weight:850;padding-top:4px}
.matching-job-existing-media{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.matching-job-existing-media article{display:grid;gap:6px}
.matching-job-existing-media img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:9px;border:1px solid var(--line)}
.matching-job-existing-files{display:grid;gap:7px;margin-bottom:10px}
.matching-job-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.matching-job-detail-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:9px}
.matching-job-detail-badges .pill{position:static;display:inline-flex}
.matching-job-owner-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.matching-job-owner-actions form{margin:0}
.matching-job-job-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.matching-job-job-gallery img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;border:1px solid var(--line)}
.matching-job-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid var(--line)}
.matching-job-detail-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.matching-job-detail-facts>div:nth-child(odd){padding-right:18px}
.matching-job-detail-facts>div:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}
.matching-job-detail-facts dt{font-size:12px;font-weight:800;color:var(--muted)}
.matching-job-detail-facts dd{margin:0;font-size:14px}
.matching-job-job-description{line-height:1.9;white-space:normal;overflow-wrap:anywhere}
.matching-job-tag-list{display:flex;gap:7px;flex-wrap:wrap}
.matching-job-tag-list span{display:inline-flex;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:12px;font-weight:700}
.matching-job-file-list{display:grid;gap:8px}
.matching-job-file-list a{display:flex;align-items:center;gap:7px;color:var(--ink);text-decoration:none;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}
.matching-job-file-list .material-symbols-rounded{font-size:20px}
.matching-job-bottom-actions{margin-top:16px;display:flex;justify-content:flex-start}
@media(max-width:820px){
  body[data-page="matching-jobs"] .matching-job-heading{align-items:flex-start;flex-direction:column}
  .matching-job-job-layout{grid-template-columns:1fr!important}
  .matching-job-filter-panel{display:block!important}
  .matching-job-existing-media,.matching-job-job-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .matching-job-detail-header{display:block}
  .matching-job-owner-actions{margin-top:14px}
  .matching-job-detail-facts{grid-template-columns:1fr}
  .matching-job-detail-facts>div,.matching-job-detail-facts>div:nth-child(odd),.matching-job-detail-facts>div:nth-child(even){padding:11px 0;border-left:0}
}
@media(max-width:520px){
  .matching-job-existing-media,.matching-job-job-gallery{grid-template-columns:1fr 1fr}
  .matching-job-detail-facts>div{grid-template-columns:105px minmax(0,1fr)}
  .matching-job-range{grid-template-columns:1fr}.matching-job-range>span{display:none}
}

/* UI parity correction: reuse the existing search-results filter presentation. */
.matching-job-filter-toolbar{justify-content:flex-start;margin-bottom:12px}.matching-job-filter-panel .filter-body{min-width:0}.matching-job-filter-panel .matching-job-check-scroll{display:grid;gap:var(--filter-row-gap);max-height:240px;overflow:auto;padding-right:3px}.matching-job-filter-panel select{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:9px 10px;font:inherit}.matching-job-filter-panel .matching-job-range{margin-top:8px}.matching-job-filter-panel .filter-actions a{flex:1;height:38px;box-sizing:border-box}.matching-job-filter-panel .filter-toggle{cursor:pointer}.matching-job-filter-panel .filter-toggle .pm{display:inline-block}.filter-modal .matching-job-filter-panel{position:static!important;border:0;border-radius:0;box-shadow:none;background:#fff}.filter-modal .matching-job-filter-panel form{display:block}.filter-modal .matching-job-filter-panel .matching-job-check-scroll{max-height:none}.filter-modal .matching-job-filter-panel .filter-heading{display:none}@media(max-width:820px){.matching-job-job-layout>.matching-job-filter-panel{display:none!important}.matching-job-filter-toolbar{display:flex}.matching-job-existing-media,.matching-job-job-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.matching-job-detail-header{display:block}.matching-job-owner-actions{margin-top:14px}.matching-job-detail-facts{grid-template-columns:1fr}.matching-job-detail-facts>div,.matching-job-detail-facts>div:nth-child(odd),.matching-job-detail-facts>div:nth-child(even){padding:11px 0;border-left:0}}@media(min-width:821px){.matching-job-filter-toolbar{display:none}}

/* FINAL UI consistency */
.matching-job-job-card,.matching-professional-card{position:relative;overflow:hidden}
.matching-bookmark-icon-button{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.matching-view-switch{display:flex;gap:4px;margin-left:auto}.matching-view-switch button{min-width:34px;height:34px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted);font-weight:800;cursor:pointer;display:grid;place-items:center}.matching-view-switch button.active{background:var(--ink);border-color:var(--ink);color:#fff}.matching-view-switch .material-symbols-rounded{font-size:18px}
.matching-filter-count{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:6px;padding:0 5px;border-radius:999px;background:var(--ink);color:#fff;font:800 10px/1 var(--font-num);vertical-align:middle}.matching-filter-summary{margin:0 0 12px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.matching-filter-summary>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.matching-filter-summary b{font-size:12px}.matching-filter-summary span{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;background:#f2f3f5;font-size:11px}.matching-filter-summary span strong{font-size:10px;color:var(--muted)}
@media(max-width:820px){.matching-view-switch{margin-left:0}.matching-view-switch button{height:38px}.cards.view-4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cards.view-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cards.view-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cards.view-list{grid-template-columns:1fr!important}}

/* Existing detail UI parity */
.matching-job-detail-shell{padding-bottom:40px}.matching-job-existing-detail-ui{margin-top:0}.matching-job-detail-placeholder{display:grid;place-items:center}.matching-job-detail-placeholder .material-symbols-rounded{font-size:72px;color:rgba(255,255,255,.8)}.matching-job-detail-badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.matching-job-detail-badges .pill{position:static}.matching-job-detail-primary-actions{flex-wrap:wrap}.matching-job-detail-primary-actions>*{flex:1;min-width:140px}.matching-job-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border-top:1px solid var(--line)}.matching-job-detail-facts>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.matching-job-detail-facts>div:nth-child(odd){padding-right:18px}.matching-job-detail-facts>div:nth-child(even){padding-left:18px;border-left:1px solid var(--line)}.matching-job-detail-facts dt{font-size:12px;font-weight:800;color:var(--muted)}.matching-job-detail-facts dd{margin:0;font-size:14px}.matching-job-file-list{display:grid;gap:8px}.matching-job-file-list a{display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;color:inherit;text-decoration:none}.matching-interaction-apply-box.detail-section{background:#fff}.matching-interaction-apply-box form{display:grid;gap:9px}.matching-interaction-apply-box textarea{width:100%;box-sizing:border-box;min-height:110px;border:1px solid var(--line);border-radius:9px;padding:11px;font:inherit}@media(max-width:820px){.matching-job-detail-facts{grid-template-columns:1fr}.matching-job-detail-facts>div,.matching-job-detail-facts>div:nth-child(odd),.matching-job-detail-facts>div:nth-child(even){padding:11px 0;border-left:0}.matching-job-detail-primary-actions>*{min-width:0}}

/* Current-source job form field sizing and native calendar alignment. */
body[data-page="matching-job-form"] .matching-job-job-form select[name="work_type_key"]{width:min(100%,380px)}body[data-page="matching-job-form"] .matching-job-job-form select[name="prefecture"]{width:min(100%,250px)}body[data-page="matching-job-form"] .matching-job-job-form select[name="budget_type"],body[data-page="matching-job-form"] .matching-job-job-form select[name="desired_timing"]{width:min(100%,280px)}body[data-page="matching-job-form"] .matching-job-job-form select[name="recruitment_type"]{width:min(100%,320px)}body[data-page="matching-job-form"] .matching-job-job-form select[name="duration_unit"]{width:min(100%,180px)}
body[data-page="matching-job-form"] .matching-job-job-form input[name="city"],body[data-page="matching-job-form"] .matching-job-job-form input[name="address_line"]{width:min(100%,620px)}
body[data-page="matching-job-form"] .matching-job-job-form input[type="number"],body[data-page="matching-job-form"] .matching-job-job-form input[type="date"]{width:min(100%,260px)}
body[data-page="matching-job-form"] .matching-job-job-form textarea{width:100%}
body[data-page="matching-job-form"] input[type="date"],.matching-job-filter-form input[type="date"]{min-height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:8px 10px;font:inherit;color-scheme:light}body[data-page="matching-job-form"] input[type="date"]::-webkit-calendar-picker-indicator,.matching-job-filter-form input[type="date"]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.72;padding:5px}
@media(max-width:820px){body[data-page="matching-job-form"] .matching-job-job-form select,body[data-page="matching-job-form"] .matching-job-job-form input[type="text"],body[data-page="matching-job-form"] .matching-job-job-form input[type="number"],body[data-page="matching-job-form"] .matching-job-job-form input[type="date"]{width:100%;max-width:none}}

/* Current-source job detail sizing/actions. */
body[data-page="matching-job-detail"] .detail-title{font-size:var(--matching-job-detail-title-size,32px)!important}body[data-page="matching-job-detail"] .matching-job-job-description,body[data-page="matching-job-detail"] .matching-job-detail-facts dd,body[data-page="matching-job-detail"] .detail-section p{font-size:var(--matching-job-detail-content-size,15px)}body[data-page="matching-job-detail"] .matching-job-detail-primary-actions{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}body[data-page="matching-job-detail"] .matching-job-detail-primary-actions>a,body[data-page="matching-job-detail"] .matching-job-detail-primary-actions>button{min-height:42px;display:inline-flex;align-items:center;justify-content:center;margin:0!important;top:auto!important;transform:none!important}.matching-job-owner-actions{align-items:center}

/* Job-detail bookmark: keep the existing V7.5 markup and match the professional-detail bookmark colors only. */
body[data-page="matching-job-detail"] .matching-job-detail-primary-actions .matching-bookmark-detail-button.secondary{background:#fff;border-color:var(--line);color:var(--ink)}
body[data-page="matching-job-detail"] .matching-job-detail-primary-actions .matching-bookmark-detail-button.secondary:hover{background:#f5f6f8;border-color:var(--line);color:var(--ink)}

/* Job detail action alignment uses the existing member-button appearance. */
.matching-job-owner-actions .member-link-button,.matching-job-owner-actions .soft-btn,.matching-job-detail-primary-actions .member-link-button,.matching-job-detail-primary-actions .soft-btn,.matching-job-bottom-actions .member-link-button,.matching-job-bottom-actions .soft-btn,.matching-interaction-apply-box>.member-link-button{height:44px;min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0!important;top:auto!important;transform:none!important}


/* Job list v3.6.3: keep the approved job card design and add only the requested view modes. */
@media(min-width:821px){
  .matching-job-filter-toolbar{display:flex!important;align-items:center}
  .matching-job-filter-toolbar .mobile-filter-open{display:none!important}
}
.matching-job-job-cards.view-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.matching-job-job-cards.view-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.matching-job-job-cards.view-list{grid-template-columns:1fr;gap:12px}
.matching-job-job-cards.view-list .matching-job-job-card{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:190px;align-items:stretch}
.matching-job-job-cards.view-list .matching-job-card-media{height:auto!important;min-height:190px!important;max-height:none!important;align-self:stretch!important;aspect-ratio:auto}
.matching-job-job-cards.view-list .matching-job-card-media img{width:100%;height:100%;object-fit:cover!important;object-position:center center!important}
.matching-job-job-cards.view-list .card-body{padding:18px 20px;align-self:center}
.matching-job-job-cards.view-list .matching-job-card-facts{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:10px}
.matching-job-job-cards.view-list .card-footer{justify-content:flex-start;gap:18px}
@media(max-width:820px){
  .matching-job-job-cards.view-1{grid-template-columns:1fr!important}
  .matching-job-job-cards.view-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .matching-job-job-cards.view-list{grid-template-columns:1fr!important}
  .matching-job-job-cards.view-list .matching-job-job-card{grid-template-columns:minmax(118px,34%) minmax(0,1fr);min-height:154px}
  .matching-job-job-cards.view-list .matching-job-card-media{height:auto!important;min-height:154px!important;max-height:none!important;align-self:stretch!important}
  .matching-job-job-cards.view-list .matching-job-card-media img{object-fit:cover!important}
  .matching-job-job-cards.view-list .card-body{padding:13px 14px}
  .matching-job-job-cards.view-list .matching-job-card-facts{gap:5px 10px;margin-top:7px}
}
@media(max-width:520px){
  .matching-job-job-cards.view-2{gap:10px}
  .matching-job-job-cards.view-2 .card-body{padding:10px}
  .matching-job-job-cards.view-list .matching-job-job-card{grid-template-columns:108px minmax(0,1fr);min-height:146px}
  .matching-job-job-cards.view-list .matching-job-card-media{min-height:146px!important}
}

/* Job list/sort correction v3.6.4. Existing job card design is preserved. */
body[data-page="matching-jobs"] .page-shell{width:min(100%,var(--matching-professional-list-width,var(--matching-job-list-width,var(--content-width))))!important;max-width:none!important}
.matching-job-filter-toolbar .matching-sort-select{margin-left:auto;min-width:210px;max-width:260px}
.matching-job-filter-toolbar .matching-view-switch{margin-left:0}
.matching-job-filter-toolbar .matching-view-switch button.active{background:#17191e!important;border-color:#17191e!important;color:#fff!important;box-shadow:none!important;opacity:1!important}
.matching-job-filter-toolbar .matching-view-switch button.active .material-symbols-rounded{color:#fff!important;font-variation-settings:'FILL' 1,'wght' 650,'GRAD' 0,'opsz' 20}
@media(max-width:820px){.matching-job-filter-toolbar .matching-sort-select{order:2;margin-left:auto;min-width:0;max-width:none;flex:1 1 210px}.matching-job-filter-toolbar .matching-view-switch{order:3;width:100%;justify-content:flex-end}}
/* Active state guard v3.6.4. */
.matching-job-filter-toolbar .matching-view-switch button[aria-pressed="true"]{background:#17191e!important;border-color:#17191e!important;color:#fff!important;box-shadow:none!important;opacity:1!important}
.matching-job-filter-toolbar .matching-view-switch button[aria-pressed="true"] .material-symbols-rounded{color:#fff!important;font-variation-settings:'FILL' 1,'wght' 650,'GRAD' 0,'opsz' 20}


/* Job SP list containment v3.6.5: one full-width list card per row; no selected double ring. */
.matching-job-filter-toolbar .matching-view-switch button.active,.matching-job-filter-toolbar .matching-view-switch button[aria-pressed="true"]{box-shadow:none!important;outline:0!important}
@media(max-width:820px){
  .matching-job-job-cards.view-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:12px!important}
  .matching-job-job-cards.view-list .matching-job-job-card{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow:hidden!important}
  .matching-job-job-cards.view-list .matching-job-card-media,.matching-job-job-cards.view-list .card-body{min-width:0!important}
}
@media(max-width:520px){
  .matching-job-job-cards.view-list .matching-job-job-card{grid-template-columns:minmax(104px,34%) minmax(0,1fr)!important}
}


/* v3.6.6 SP list parity: keep the existing card design, guarantee one contained horizontal card per row and a single selected icon treatment. */
.matching-job-filter-toolbar .matching-view-switch button.active,
.matching-job-filter-toolbar .matching-view-switch button[aria-pressed="true"]{
  box-shadow:none!important;
  outline:none!important;
}
@media(max-width:820px){
  .matching-job-job-cards.view-list{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:12px!important;
  }
  .matching-job-job-cards.view-list .matching-job-job-card{
    grid-template-columns:minmax(104px,34%) minmax(0,1fr)!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .matching-job-job-cards.view-list .matching-job-card-media,
  .matching-job-job-cards.view-list .card-body,
  .matching-job-job-cards.view-list .card-title,
  .matching-job-job-cards.view-list .card-title a{
    min-width:0!important;
    max-width:100%!important;
  }
  .matching-job-job-cards.view-list .card-title a{
    overflow-wrap:anywhere;
  }
}

/* v3.6.7 SP toolbar: filter + ranking + layout switch stay on one line. Existing cards are untouched. */
@media(max-width:820px){
  .matching-job-filter-toolbar{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:7px!important;width:100%;min-width:0}
  .matching-job-filter-toolbar .mobile-filter-open{order:1;flex:0 0 auto;white-space:nowrap;padding-left:10px;padding-right:10px}
  .matching-job-filter-toolbar .matching-sort-select{order:2;flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;margin-left:0!important}
  .matching-job-filter-toolbar .matching-view-switch{order:3;flex:0 0 auto!important;width:auto!important;min-width:0;justify-content:flex-end!important;margin-left:0!important;gap:3px}
  .matching-job-filter-toolbar .matching-view-switch button{width:34px;min-width:34px;height:34px;padding:0}
  .matching-job-filter-toolbar .matching-view-switch button.active,
  .matching-job-filter-toolbar .matching-view-switch button[aria-pressed="true"]{box-shadow:none!important;outline:none!important}
}
@media(max-width:390px){
  .matching-job-filter-toolbar{gap:5px!important}
  .matching-job-filter-toolbar .mobile-filter-open{font-size:11px;padding-left:7px;padding-right:7px}
  .matching-job-filter-toolbar .matching-sort-select{font-size:11px;padding-left:7px;padding-right:22px}
  .matching-job-filter-toolbar .matching-view-switch button{width:31px;min-width:31px;height:32px}
}

/* v3.6.8 job detail publisher card: existing detail-section/card language, no new page layout. */
.matching-job-publisher-card{display:grid;grid-template-columns:68px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff}
.matching-job-publisher-photo{width:68px;height:68px;border-radius:9px;overflow:hidden;background:#eef0f2;display:block}
.matching-job-publisher-photo img{width:100%;height:100%;display:block;object-fit:cover}
.matching-job-publisher-copy{min-width:0}.matching-job-publisher-copy .page-overline{margin:0 0 4px}.matching-job-publisher-copy h3{margin:0;font-size:17px;line-height:1.45;overflow-wrap:anywhere}
.matching-job-publisher-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 14px;margin-top:7px;color:var(--muted);font-size:12px}
.matching-job-publisher-meta span{display:inline-flex;align-items:center;gap:4px}.matching-job-publisher-meta .material-symbols-rounded{font-size:17px}
.matching-job-publisher-link{white-space:nowrap;text-decoration:none}
@media(max-width:620px){.matching-job-publisher-card{grid-template-columns:58px minmax(0,1fr)}.matching-job-publisher-photo{width:58px;height:58px}.matching-job-publisher-link{grid-column:1/-1;width:100%;box-sizing:border-box;justify-content:center}}

/* v3.6.9 MINIMAL: list thumbnail follows the final stretched media height at every width. */
.matching-job-job-cards.view-list .matching-job-card-media>img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important}

/* v4.1.1 HOTFIX: filter summary unchanged; only prefecture options are two-column. */
.matching-job-filter-panel .matching-filter-summary,.matching-filter-summary{border:0!important;box-shadow:none!important}
.matching-filter-summary b,.matching-filter-summary span,.matching-filter-summary span strong{font-size:var(--matching-filter-summary-font-size,11px)!important}
.matching-job-check-scroll{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--filter-row-gap,4px) 10px}


/* v3.7.2 MINIMAL: SP list only, slightly more width for the thumbnail. */
@media(max-width:820px){
  body[data-page="matching-jobs"] .matching-job-job-cards.view-list .matching-job-job-card{grid-template-columns:clamp(124px,40%,156px) minmax(0,1fr)!important}
}


/* SP job-card fine tuning: opt-in only. Display visibility and card geometry are untouched. */
@media(max-width:820px){
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .card-body{padding:var(--sp-job-card-padding-y) var(--sp-job-card-padding-x)!important}
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .matching-job-card-facts,
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .card-kicker,
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .card-footer{font-size:var(--sp-job-card-item-size)!important}
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .card-title{margin-bottom:var(--sp-job-card-item-gap)!important}
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .matching-job-card-facts{gap:var(--sp-job-card-item-gap)!important;margin-top:var(--sp-job-card-item-gap)!important}
  html[data-sp-job-card-detail-mode="custom"] body[data-page="matching-jobs"] .matching-job-job-cards .card-footer{margin-top:var(--sp-job-card-item-gap)!important}
}
