/* Vacancy profile: Moya Smena base components; mobile cover movement follows the Poiskoweek company scroll geometry. */
:root{--vacancy-surface:#fff;--vacancy-bg:#f7f7fa;--vacancy-blue:#007aff;--vacancy-text:#252831;--vacancy-muted:#858a96}
*,*:before,*:after{box-sizing:border-box}html{background:var(--vacancy-bg)}body.ms-vacancy-public{margin:0;color:var(--vacancy-text);background:var(--vacancy-bg);font:400 16px/1.5 var(--font-ui);min-height:100vh}body.ms-vacancy-public button{font-family:var(--font-ui)}.ms-vacancy-public a{text-decoration:none;color:inherit}
.vacancy-page{max-width:1240px;margin:auto;position:relative;isolation:isolate;padding:0 24px 88px}
.vacancy-topbar{position:relative;z-index:5;height:78px;display:flex;align-items:center;gap:12px}.vacancy-back.lk-back{height:46px;width:46px;flex:0 0 46px;background:#ececf1;border-radius:10px;display:grid;place-items:center}.vacancy-back img{width:22px;height:22px}.vacancy-topbar-name{font-weight:700;font-size:19px;letter-spacing:-.6px}.vacancy-list-link{margin-left:auto;height:46px;font-size:14px;border-radius:10px}
.vacancy-hero{position:relative;width:100%;height:auto;aspect-ratio:8/3;border-radius:24px;overflow:hidden;background:transparent}.vacancy-hero-media,.vacancy-hero picture,.vacancy-hero img{position:absolute;inset:0;width:100%;height:100%}.vacancy-hero img{object-fit:cover;object-position:center}.vacancy-hero-wash{position:absolute;inset:0;background:linear-gradient(to top,rgba(247,247,250,.1),transparent 65%);pointer-events:none}
.vacancy-page-content{position:relative;z-index:2;width:calc(100% - 64px);max-width:1080px;margin:-54px auto 0}.vacancy-columns{display:grid;grid-template-columns:minmax(0,1fr) 325px;gap:22px;align-items:start}.vacancy-primary{min-width:0;display:flex;flex-direction:column;gap:18px}.vacancy-intro,.vacancy-section,.vacancy-sidebar-card{background:#fff;border:1px solid #eeeef2;border-radius:21px;box-shadow:0 10px 35px #22283007}.vacancy-intro{padding:30px 34px 26px}.vacancy-kicker{color:#8a8d97;font-size:14px;margin:0 0 9px}.vacancy-intro h1{font-size:clamp(27px,3.1vw,41px);font-weight:700;line-height:1.2;letter-spacing:-1.1px;margin:0 0 13px;overflow-wrap:anywhere}.vacancy-salary{color:var(--vacancy-blue);font-size:clamp(21px,2.1vw,27px);font-weight:650;line-height:1.35;margin-bottom:23px}.vacancy-company-row{display:flex;align-items:center;gap:11px;min-width:0;border-top:1px solid #f0f0f4;padding-top:19px}.vacancy-company-logo,.vacancy-company-logo-placeholder{width:43px;height:43px;flex:0 0 43px;border-radius:13px;object-fit:cover;background:#f0f1f6}.vacancy-company-logo-placeholder{display:grid;place-items:center}.vacancy-company-logo-placeholder img{width:28px;height:28px}.vacancy-company-name{font-size:16px;font-weight:600;min-width:0;display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.vacancy-company-verified{width:19px;height:19px;flex:0 0 19px;border-radius:50%;background:#007aff;color:#fff;display:grid;place-items:center}.vacancy-company-verified svg{height:14px;width:14px}
.vacancy-section{padding:26px 34px}.vacancy-section h2{margin:0 0 19px;font-size:20px;font-weight:650;letter-spacing:-.4px;line-height:1.3}.vacancy-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px}.vacancy-fact{min-width:0;display:flex;flex-direction:column;gap:4px}.vacancy-fact-label{font-size:13px;color:#888c95}.vacancy-fact-value{font-size:16px;font-weight:540;overflow-wrap:anywhere}.vacancy-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.75;color:#454a55}.vacancy-location-title{font-weight:550;line-height:1.5}.vacancy-metro-list{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}.vacancy-metro{display:flex;align-items:center;gap:6px;background:#f2f2f6;border-radius:10px;padding:8px 11px;font-size:13px}.vacancy-metro i{display:inline-block;width:9px;height:9px;background:var(--line,#a0a5ad);border-radius:50%}.vacancy-metro small{font-size:12px;color:#92959f}.vacancy-location-map{position:relative;overflow:hidden;width:100%;height:210px;margin-top:17px;background:#f0f0f5;border-radius:15px;z-index:0}
.vacancy-sidebar{position:sticky;top:18px;min-width:0}.vacancy-sidebar-card{padding:25px 23px}.vacancy-sidebar-label{font-size:16px;font-weight:650;line-height:1.4}.vacancy-sidebar-salary{font-size:19px;font-weight:650;color:#007aff;margin-top:7px}.vacancy-sidebar .vacancy-section{box-shadow:none;border:0;background:transparent;border-radius:0;padding:20px 0 0}.vacancy-sidebar .vacancy-section h2{font-size:17px;margin-bottom:13px}.vacancy-contact-list{display:grid;gap:9px}.vacancy-contact-btn.secondary-button{height:46px;min-height:46px;display:flex;align-items:center;justify-content:center;border-radius:10px;font-size:16px;width:100%;font-weight:600;text-align:center}.vacancy-contact-btn:first-child{background:#007aff;color:#fff}.vacancy-contact-hint{font-size:12px;color:var(--vacancy-muted);margin:14px 0 0;line-height:1.5}.vacancy-sidebar-archive{font-weight:600;text-align:center;color:#777c87;background:#f4f4f7}.vacancy-archive{background:#f1f2f6;color:#737983;padding:12px 15px;border-radius:11px;margin-bottom:19px;font-size:14px}.vacancy-muted{font-size:14px;color:#858a96}.vacancy-loading,.vacancy-error{background:white;border-radius:18px;padding:35px;min-height:210px}.vacancy-loading-title,.vacancy-loading-line{width:65%;height:28px;background:#eeeef2;border-radius:10px;margin-bottom:18px}.vacancy-loading-line{height:15px;width:85%}.vacancy-loading-line.short{width:40%}.vacancy-error{display:flex;flex-direction:column;gap:20px;align-items:flex-start}.vacancy-error .secondary-button{width:auto;padding:0 18px}
@media(hover:hover) and (pointer:fine){.vacancy-contact-btn:hover{opacity:.92}.vacancy-back:hover,.vacancy-list-link:hover{background:#e5e5eb}}
@media(max-width:1050px){.vacancy-page-content{width:calc(100% - 28px)}.vacancy-columns{grid-template-columns:minmax(0,1fr) 285px;gap:14px}.vacancy-intro,.vacancy-section{padding:24px}}
@media(max-width:820px){
 html,body.ms-vacancy-public{background:#f7f7fa}
 .vacancy-page{width:100%;padding:0 0 75px;max-width:none;isolation:auto}
 .vacancy-topbar{position:absolute;top:0;left:0;right:0;height:70px;padding:calc(12px + env(safe-area-inset-top,0px)) 16px 0;z-index:12;align-items:start}.vacancy-topbar-name{display:none}.vacancy-back.lk-back{background:rgba(255,255,255,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}.vacancy-list-link{background:rgba(255,255,255,.88);height:46px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
 .vacancy-hero{--cover-wipe:0px;--cover-scale:1;--cover-blur:0px;--cover-shift:0px;position:sticky;top:0;z-index:0;inset-inline:0;width:100%;height:auto;aspect-ratio:4/3;border:0;border-radius:0;overflow:hidden;isolation:isolate}.vacancy-hero-media{z-index:0}.vacancy-hero-media img{transform:translate3d(0,var(--cover-shift),0) scale(var(--cover-scale));filter:blur(var(--cover-blur));transform-origin:center center;will-change:transform,filter}
 .vacancy-hero-wash{position:absolute;inset:0;z-index:1;background:linear-gradient(to top,#f7f7fa 0px,#f7f7fa var(--cover-wipe),rgba(247,247,250,.96) calc(var(--cover-wipe) + 22px),rgba(247,247,250,.84) calc(var(--cover-wipe) + 52px),rgba(247,247,250,.64) calc(var(--cover-wipe) + 88px),rgba(247,247,250,.40) calc(var(--cover-wipe) + 124px),rgba(247,247,250,.18) calc(var(--cover-wipe) + 158px),rgba(247,247,250,.075) calc(var(--cover-wipe) + 182px),rgba(247,247,250,.024) calc(var(--cover-wipe) + 204px),rgba(247,247,250,.006) calc(var(--cover-wipe) + 225px),rgba(247,247,250,.001) calc(var(--cover-wipe) + 248px),rgba(247,247,250,0) calc(var(--cover-wipe) + 265px),rgba(247,247,250,0) 100%);pointer-events:none;will-change:background}
 .vacancy-page-content{z-index:2;position:relative;max-width:none;width:100%;margin:-33px 0 0;padding:0 14px}.vacancy-columns{display:flex;flex-direction:column;gap:14px}.vacancy-primary{width:100%;gap:14px}.vacancy-intro,.vacancy-section,.vacancy-sidebar-card{border-radius:18px;box-shadow:none;border:1px solid #ebebf0}.vacancy-intro{padding:23px 20px}.vacancy-intro h1{font-size:27px;letter-spacing:-.7px}.vacancy-salary{font-size:21px;margin-bottom:18px}.vacancy-section{padding:21px 20px}.vacancy-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px}.vacancy-section h2{font-size:18px}.vacancy-description{font-size:15px;line-height:1.7}.vacancy-sidebar{position:relative;top:auto;width:100%}.vacancy-sidebar-card{padding:20px}.vacancy-sidebar-label,.vacancy-sidebar-salary{display:none}.vacancy-sidebar .vacancy-section{padding:0}.vacancy-sidebar .vacancy-section h2{font-size:18px}.vacancy-contact-list{grid-template-columns:repeat(2,minmax(0,1fr))}.vacancy-location-map{height:185px}
}
@media(max-width:390px){.vacancy-facts-grid{grid-template-columns:1fr}.vacancy-contact-list{grid-template-columns:1fr}.vacancy-list-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){.vacancy-hero-media img{will-change:auto;transition:none}}
/* Desktop navigation precedes the image; mobile navigation floats over the cover. */
@media(min-width:821px){
 .vacancy-page{padding-top:78px}
 .vacancy-topbar{position:absolute;top:0;left:24px;right:24px;height:78px}
}

/* V348.2: vacancy summary and shared Moya Smena company/actions */
.vacancy-intro{padding-bottom:28px}
.vacancy-intro h1{margin:0 0 12px;font-weight:600}
.vacancy-salary{display:block;font-size:clamp(15px,1.8vw,20px);font-weight:400;line-height:1.4;color:#626a78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0}
.vacancy-features{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:17px}
.vacancy-feature{display:inline-flex;align-items:center;flex:0 0 auto;white-space:nowrap;max-width:100%;border-radius:1em;background:#f0f1f5;color:#4d535f;padding:7px 12px;font-size:14px;font-weight:400;line-height:20px}
.vacancy-sidebar-card{display:flex;flex-direction:column;gap:17px}
.vacancy-company-row{border:0;padding:0;gap:12px;min-width:0}
.vacancy-company-media{width:48px;height:48px;flex:0 0 48px;border-radius:40%;background:#f1f2f5;display:grid;place-items:center;overflow:hidden}
.vacancy-company-logo{width:100%;height:100%;object-fit:cover;border-radius:40%;background:#f1f2f5}
.vacancy-company-logo.vacancy-logo-fallback{width:28px;height:28px;border-radius:0;object-fit:contain;background:transparent}
.vacancy-company-name{min-width:0;font-weight:600;line-height:1.4;display:block}
.vacancy-company-verified{background:#007aff;flex:0 0 19px;width:19px;height:19px}
.vacancy-company-verified img{width:14px;height:14px;filter:brightness(0) invert(1)}
.vacancy-actions{display:flex;align-items:center;gap:10px}
.vacancy-respond-btn.primary-button{flex:1 1 auto;min-width:0;width:auto}
.vacancy-favorite-btn.secondary-button{flex:0 0 46px;width:46px;min-width:46px;height:46px;padding:0;display:flex;align-items:center;justify-content:center}
.vacancy-favorite-btn svg{width:22px;height:22px}
.vacancy-favorite-btn.is-favorite{background:#ffe7ed;color:#ec4569}
.vacancy-favorite-btn.is-favorite svg{fill:currentColor}
.vacancy-contact-list[hidden]{display:none!important}
.vacancy-contact-list{display:grid;gap:9px}
.vacancy-metro{border-radius:1em;padding:8px 12px;font-size:14px;white-space:nowrap;max-width:100%}
.vacancy-metro small{font-size:13px;white-space:nowrap}
.vacancy-map-marker{display:grid;place-items:center;width:46px;height:46px;border-radius:40%;background:white;box-shadow:0 2px 14px rgba(19,27,45,.18);border:2px solid #fff;overflow:hidden}
.vacancy-map-marker-img{width:100%;height:100%;object-fit:cover}
.vacancy-map-marker-img[src$="company-card.svg"]{width:28px;height:28px;object-fit:contain}
.vacancy-leaflet-company-marker{background:transparent;border:0}
@media(max-width:820px){
 .vacancy-intro h1{font-weight:600}
 .vacancy-salary{font-size:clamp(15px,3.8vw,18px);margin:0}
 .vacancy-features{gap:8px;margin-top:16px}
 .vacancy-feature{font-size:14px;border-radius:1em}
 .vacancy-sidebar-card{gap:14px}
 .vacancy-company-name{font-size:16px}
 .vacancy-sidebar .vacancy-contact-list{grid-template-columns:1fr}
}

/* V348.5: mobile cover fade keeps its original light palette; full-size overlay and an optically smooth transparent tail. */

/* V351: desktop company cover 8:3 on all viewport sizes; verified mark stays on logo. */
.vacancy-sidebar-card--cover{padding-top:0}
.vacancy-company-cover{aspect-ratio:8/3;overflow:hidden;min-width:0;margin:0 -23px 0;border-radius:20px 20px 0 0;background:#f1f2f5}
.vacancy-company-cover picture{display:block;width:100%;height:100%}
.vacancy-company-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.vacancy-company-row--long{align-items:flex-start}
.vacancy-company-identity{position:relative;display:block;flex:0 0 48px;width:48px;height:48px}
.vacancy-company-identity .vacancy-company-media{width:48px;height:48px}
.vacancy-company-identity .vacancy-company-verified{position:absolute;z-index:1;right:-5px;top:-5px;width:21px;height:21px;display:grid;place-items:center;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.12);pointer-events:auto}
.vacancy-company-identity .vacancy-company-verified img{width:13px;height:13px}
@media(max-width:820px){.vacancy-company-cover{margin-inline:-20px;border-radius:17px 17px 0 0}}

/* V352: primary actions belong to the vacancy itself, the company card owns reputation/navigation. */
.vacancy-intro .vacancy-actions{margin-top:23px}
.vacancy-intro .vacancy-contact-list{margin-top:12px}
.vacancy-company-footer{display:flex;flex-direction:column;align-items:stretch;gap:14px;border-top:1px solid #f0f0f4;padding-top:17px}
.vacancy-company-rating{display:flex;align-items:center;gap:10px;flex-wrap:wrap;min-height:23px}
.vacancy-company-rating .flow-v316-rating{font:600 16px/1 'Onest',var(--font-ui),sans-serif;color:#30343e;white-space:nowrap}
.vacancy-company-rating .flow-v316-rating::first-letter{color:#f5b400}
.vacancy-rating-empty{font-size:13px;color:#858a96}
.vacancy-company-open.secondary-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;height:46px;border-radius:10px;font-size:16px;font-weight:600;text-align:center;text-decoration:none}
.vacancy-company-identity .vacancy-company-verified{padding:0;cursor:pointer;font-family:inherit;outline-offset:3px}
.vacancy-sticky-actions{position:fixed;z-index:110;bottom:max(16px,env(safe-area-inset-bottom,0px));left:50%;width:min(620px,calc(100vw - 32px));padding:10px;background:rgba(255,255,255,.98);border:1px solid #ebebf0;border-radius:18px;box-shadow:0 10px 40px rgba(20,29,47,.16);transform:translate(-50%,calc(100% + 30px));opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}
.vacancy-sticky-actions.is-visible{transform:translate(-50%,0);opacity:1;visibility:visible;pointer-events:auto;transition:opacity .18s ease,transform .18s ease}
.vacancy-sticky-actions .vacancy-actions{width:100%;margin:0}
@media(max-width:820px){.vacancy-intro .vacancy-actions{margin-top:19px}.vacancy-sticky-actions{bottom:0;left:0;width:100%;border-radius:18px 18px 0 0;border-bottom:0;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));transform:translateY(calc(100% + 25px))}.vacancy-sticky-actions.is-visible{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.vacancy-sticky-actions{transition:none!important}}

/* V353/V375: consistent card paddings; on mobile the map has the same insets and rounded corners as desktop. */
@media(min-width:1051px){
 .vacancy-intro{padding-bottom:34px}
 .vacancy-section{padding-bottom:34px}
 .vacancy-sidebar-card{padding-bottom:23px}
}
@media(min-width:821px) and (max-width:1050px){
 .vacancy-intro,.vacancy-section{padding-bottom:24px}
 .vacancy-sidebar-card{padding-bottom:23px}
}
@media(min-width:821px){
 .vacancy-sidebar-card--cover{padding-top:0}
}
@media(max-width:820px){
 .vacancy-intro,.vacancy-section,.vacancy-sidebar-card{padding-bottom:20px}
 .vacancy-location{padding:21px 20px 20px;overflow:hidden}
 .vacancy-location > .vacancy-location-map{margin-top:17px;width:100%;border-radius:15px}
 .vacancy-location:not(:has(.vacancy-location-map)){padding-bottom:20px}
 .vacancy-sidebar-card--cover{padding-top:0}
}
/* Match the desktop floating bar to the exact width of the vacancy columns. */
.vacancy-sticky-actions{left:var(--floating-left,0px);width:var(--floating-width,100%);max-width:none;transform:translateY(calc(100% + 30px))}
.vacancy-sticky-actions.is-visible{transform:translateY(0)}
@media(max-width:820px){
 .vacancy-sticky-actions{left:0;width:100%;bottom:0;border-left:0;border-right:0;border-bottom:0;border-radius:0;transform:translateY(calc(100% + 25px))}
 .vacancy-sticky-actions.is-visible{transform:translateY(0)}
}


/* V354: keep the existing global tooltip, but allow a short confirmation to fit on one line.
   Longer verified legal names may wrap naturally within the viewport. */
body.ms-vacancy-public .category-warning-tooltip.vacancy-verified-tooltip{
 width:max-content;
 max-width:min(460px,calc(100vw - 24px));
 overflow-wrap:anywhere;
}

/* Extra page-end breathing room above the fixed response/favorite toolbar.
   This is outside the cards; their equal internal paddings remain untouched. */
@media(min-width:821px){.vacancy-page{padding-bottom:142px}}
@media(max-width:820px){.vacancy-page{padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))}}


/* V355: the light page canvas already separates the white cards. Remove outer outlines
   and rely on a slightly stronger, soft two-layer shadow at all breakpoints. */
body.ms-vacancy-public .vacancy-intro,
body.ms-vacancy-public .vacancy-primary > .vacancy-section,
body.ms-vacancy-public .vacancy-sidebar-card,
body.ms-vacancy-public .vacancy-loading,
body.ms-vacancy-public .vacancy-error{
 border:0;
 box-shadow:0 10px 34px rgba(27,39,66,.095),0 2px 9px rgba(27,39,66,.045);
}
/* Nested content within the company card is not a separate surface. */
body.ms-vacancy-public .vacancy-sidebar .vacancy-section{
 border:0;
 box-shadow:none;
}
/* The floating response bar also has no outline, including at the mobile edge. */
body.ms-vacancy-public .vacancy-sticky-actions{
 border:0;
 box-shadow:0 4px 35px rgba(23,34,56,.15),0 0 15px rgba(23,34,56,.055);
}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-intro,
 body.ms-vacancy-public .vacancy-primary > .vacancy-section,
 body.ms-vacancy-public .vacancy-sidebar-card,
 body.ms-vacancy-public .vacancy-loading,
 body.ms-vacancy-public .vacancy-error{
  box-shadow:0 7px 25px rgba(27,39,66,.09),0 1px 7px rgba(27,39,66,.04);
 }
 body.ms-vacancy-public .vacancy-sticky-actions{
  border:0;
  border-radius:0;
  box-shadow:0 -6px 29px rgba(23,34,56,.14);
 }
}


/* V356: only the vacancy DEFAULT cover is shorter. Uploaded photos keep 8:3 / 4:3.
   The existing JS toggles vacancy-hero--default when there is no uploaded image
   (and when a missing uploaded image falls back to the placeholder). */
.vacancy-hero.vacancy-hero--default{aspect-ratio:8 / 2.4}
@media(max-width:820px){
 .vacancy-hero.vacancy-hero--default{aspect-ratio:4 / 2.2}
}


/* V361 — vacancy public web header, the shared response sheet and desktop modal. */
.vacancy-topbar .vacancy-web-brand{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;margin-right:auto}
.vacancy-topbar .vacancy-web-brand .lk-brand-mark,.vacancy-topbar .vacancy-web-brand .lk-brand-logo{width:38px;height:38px;flex:0 0 38px}
.vacancy-topbar .vacancy-web-brand .lk-brand-logo{display:block}
.vacancy-topbar .vacancy-header-links{display:flex;align-items:center;gap:10px;margin-left:auto}
.vacancy-topbar .vacancy-list-link{margin-left:0}
.vacancy-header-auth{height:46px;display:flex;align-items:center;justify-content:center;background:#007aff;border-radius:10px;padding:0 18px;color:#fff!important;font-size:14px;font-weight:600;white-space:nowrap}
@media(hover:hover) and (pointer:fine){.vacancy-header-auth:hover{background:#006de6}}
@media(max-width:820px){
 .vacancy-topbar{padding-top:calc(12px + env(safe-area-inset-top,0px))}
 .vacancy-web-brand{background:rgba(255,255,255,.94);border-radius:50%;box-shadow:0 1px 6px rgba(0,0,0,.09)}
 .vacancy-topbar .vacancy-list-link{height:42px;background:rgba(255,255,255,.94);color:#252831}
 .vacancy-topbar .vacancy-header-links{gap:8px}
 .vacancy-header-auth{height:42px;padding:0 12px;font-size:13px}
}
@media(max-width:355px){.vacancy-topbar .vacancy-list-link{font-size:11px;padding:0 9px}.vacancy-header-auth{padding:0 9px;font-size:12px}.vacancy-topbar .vacancy-header-links{gap:6px}}
/* The response layer uses the SAME .sheet and MSUI.createBottomSheet engine as Go. */
.vacancy-response-layer .sheet-body{padding-top:96px}
.vacancy-response-content{display:flex;flex-direction:column;gap:16px;color:#252831}
.vacancy-response-content h3{font-size:16px;margin:0;font-weight:600}
.vacancy-response-content p{margin:0;font-size:14px;color:#6b7280;line-height:1.55}
.vacancy-response-content .vacancy-contact-list{grid-template-columns:1fr;gap:10px}
.vacancy-response-content .vacancy-contact-btn{border-radius:12px}
/* V465: one-off editable contacts use exactly the shared /lk/account/ grid and controls. */
.vacancy-application-form{display:flex;flex-direction:column;gap:16px;min-width:0}
.vacancy-application-contact-grid{width:100%;min-width:0}
.vacancy-application-field{grid-column:1/-1;min-width:0}
/* Textarea and remaining-character counter inherit the shared /go/ description editor. */
.vacancy-application-submit{width:100%;min-height:48px}
.vacancy-response-success{background:#f1f7ff;padding:16px;border-radius:12px}
@media(min-width:571px){
 .vacancy-response-layer .sheet{position:absolute;top:50%;left:50%;bottom:auto;right:auto;width:min(510px,calc(100vw - 32px));height:auto;max-height:min(650px,calc(100dvh - 40px));transform:translate(-50%,-46%);border-radius:18px;box-shadow:0 22px 70px rgba(0,0,0,.16)}
 .vacancy-response-layer.open .sheet{transform:translate(-50%,-50%);opacity:1}
 .vacancy-response-layer.open.closing .sheet{transform:translate(-50%,-46%);opacity:0}
 .vacancy-response-layer .sheet-top{position:relative;border-radius:18px 18px 0 0}
 .vacancy-response-layer .sheet-body,.vacancy-response-layer .sheet.no-search .sheet-body{height:auto;max-height:calc(min(650px,100dvh - 40px) - 78px);padding:20px 20px 25px;overflow-y:auto}
}
@media(max-width:570px){.vacancy-response-layer .sheet-body{padding-bottom:calc(32px + env(safe-area-inset-bottom,0px))}}

/* V362 — public vacancy WEB header only. PWA, Go, and LK remain untouched.
   Unify mark/buttons and restore the vacancies link hidden by base.css at 520px. */
.vacancy-topbar .vacancy-web-brand{
 width:46px;height:46px;flex:0 0 46px;
 display:inline-flex;align-items:center;justify-content:center;
 margin-right:auto;min-width:46px;
}
.vacancy-topbar .vacancy-web-brand .lk-brand-mark,
.vacancy-topbar .vacancy-web-brand .lk-brand-logo{
 width:46px;height:46px;flex:0 0 46px;
}
.vacancy-topbar .vacancy-header-links .vacancy-list-link{
 display:inline-flex;align-items:center;justify-content:center;
 height:46px;white-space:nowrap;
}
.vacancy-header-auth .vacancy-header-auth-icon{display:none}
.vacancy-header-auth .vacancy-header-auth-label{display:inline}
@media(max-width:820px){
 /* Keep a readable control strip over bright, dark or photographic covers. */
 .vacancy-topbar{isolation:isolate}
 .vacancy-topbar::before{
  content:"";position:absolute;z-index:0;pointer-events:none;
  inset:0 0 auto 0;
  height:calc(114px + env(safe-area-inset-top, 0px));
  background:linear-gradient(to bottom,
   rgba(247,247,250,.97) 0%,
   rgba(247,247,250,.90) 35%,
   rgba(247,247,250,.58) 67%,
   rgba(247,247,250,.18) 87%,
   rgba(247,247,250,0) 100%);
 }
 .vacancy-topbar .vacancy-web-brand,
 .vacancy-topbar .vacancy-header-links{position:relative;z-index:1}
 .vacancy-topbar .vacancy-web-brand{
  width:42px;height:42px;min-width:42px;flex:0 0 42px;
  display:inline-flex;align-items:center;justify-content:center;
 }
 .vacancy-topbar .vacancy-web-brand .lk-brand-mark,
 .vacancy-topbar .vacancy-web-brand .lk-brand-logo{
  width:42px;height:42px;flex:0 0 42px;
 }
 .vacancy-topbar .vacancy-header-links .vacancy-list-link{
  display:inline-flex;align-items:center;justify-content:center;
  height:42px;flex:0 0 auto;
  white-space:nowrap;
 }
 .vacancy-topbar .vacancy-header-auth{
  width:42px;height:42px;padding:0;flex:0 0 42px;
  border-radius:10px;
  background:rgba(255,255,255,.94);color:#252831!important;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
 }
 .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-label{display:none}
 .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-icon{
  display:flex;width:22px;height:22px;align-items:center;justify-content:center;
 }
 .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-icon svg{
  display:block;width:22px;height:22px;
 }
}
@media(max-width:520px){
 /* base.css hides .lk-header-link:not(.lk-login-link) here. Only restore our public link. */
 .ms-vacancy-public .vacancy-topbar .vacancy-header-links .vacancy-list-link{
  display:inline-flex;
 }
}

/* V363 — classic solid website header, removing the over-cover gradient on mobile. */
@media (min-width:821px){
 .ms-vacancy-public .vacancy-topbar{isolation:isolate}
 .ms-vacancy-public .vacancy-topbar::before{
  content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;
  transform:translateX(-50%);background:#fff;box-shadow:0 1px 3px rgba(25,35,55,.07);
  pointer-events:none;z-index:0;
 }
 .ms-vacancy-public .vacancy-topbar > *{position:relative;z-index:1}
}
@media (max-width:820px){
 .ms-vacancy-public .vacancy-topbar{
  position:relative;top:auto;right:auto;left:auto;
  box-sizing:border-box;width:100%;height:auto;min-height:66px;
  padding:calc(12px + env(safe-area-inset-top,0px)) 16px 12px;
  align-items:center;isolation:auto;
  background:transparent;box-shadow:0 1px 3px rgba(25,35,55,.07);
 }
 .ms-vacancy-public .vacancy-topbar::before{content:none;display:none}
 .ms-vacancy-public .vacancy-topbar .vacancy-web-brand{
  background:transparent;box-shadow:none;border:0;
 }
 .ms-vacancy-public .vacancy-topbar .vacancy-list-link,
 .ms-vacancy-public .vacancy-topbar .vacancy-header-auth{
  background:#e4e6eb;color:#252831!important;backdrop-filter:none;-webkit-backdrop-filter:none;
 }
 .ms-vacancy-public .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-label{display:none!important}
 .ms-vacancy-public .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-icon{
  display:flex;width:22px;height:22px;align-items:center;justify-content:center;
 }
 .ms-vacancy-public .vacancy-topbar .vacancy-header-auth .vacancy-header-auth-icon svg{display:block;width:22px;height:22px}
 .ms-vacancy-public .vacancy-topbar .vacancy-header-links{min-width:0}
}
@media(max-width:520px){
 .ms-vacancy-public .vacancy-topbar .vacancy-header-links .vacancy-list-link{display:inline-flex}
}

/* V365: desktop returns to the pre-V363 navigation (no full-width white header). */
@media (min-width:821px){
 .ms-vacancy-public .vacancy-topbar{background:transparent;box-shadow:none}
 .ms-vacancy-public .vacancy-topbar::before{content:none;display:none}
}
/* V365: mobile header aligns to 14px content grid, 7px vertical padding. */
@media (max-width:820px){
 .ms-vacancy-public .vacancy-topbar{
  padding:calc(7px + env(safe-area-inset-top,0px)) 14px 7px;
  min-height:calc(56px + env(safe-area-inset-top,0px));
 }
}


/* V366: desktop-only full-bleed floating actions. Its buttons align to the same
   grid as .vacancy-page-content / .vacancy-columns; mobile remains V365. */
@media(min-width:821px){
 body.ms-vacancy-public .vacancy-sticky-actions{
  left:0;
  right:0;
  bottom:0;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  border:0;
  border-radius:0;
  padding:12px 0 calc(12px + env(safe-area-inset-bottom,0px));
  transform:translateY(calc(100% + 30px));
 }
 body.ms-vacancy-public .vacancy-sticky-actions.is-visible{
  transform:translateY(0);
 }
 body.ms-vacancy-public .vacancy-sticky-actions .vacancy-actions{
  /* Reuse the exact live grid measurements from setupFloatingActions(). */
  width:var(--floating-width,calc(100% - 64px));
  max-width:none;
  box-sizing:border-box;
  margin:0 0 0 var(--floating-left,32px);
  justify-content:space-between;
 }
 body.ms-vacancy-public .vacancy-sticky-actions .vacancy-respond-btn.primary-button{
  flex:0 1 160px;
  max-width:160px;
 }
 body.ms-vacancy-public .vacancy-sticky-actions .vacancy-favorite-btn.secondary-button{
  flex:0 0 46px;
 }
}

/* V373 — vacancy typography follows the existing Moya Smena font-size/line-height scale.
   Keep established font sizes, action buttons, badges and layout untouched. */
body.ms-vacancy-public .vacancy-fact{gap:8px}
body.ms-vacancy-public .vacancy-fact-label{line-height:17px}
body.ms-vacancy-public .vacancy-fact-value{line-height:20px}
body.ms-vacancy-public .vacancy-section h2{line-height:25px}
body.ms-vacancy-public .vacancy-sidebar .vacancy-section h2{line-height:22px}
body.ms-vacancy-public .vacancy-company-name{line-height:20px}
body.ms-vacancy-public .vacancy-location-title{line-height:20px}
body.ms-vacancy-public .vacancy-description{line-height:24px}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-section h2{line-height:23px}
 body.ms-vacancy-public .vacancy-sidebar .vacancy-section h2{line-height:23px}
 body.ms-vacancy-public .vacancy-description{line-height:22px}
}

/* V377 — the actual cover box follows normal document scrolling.
   Only its clipped image pans slowly inside the box; no white band can open
   between the freely-scrolling header and the cover. The card still overlaps. */
body.ms-vacancy-public .vacancy-hero{background:#fff}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-hero{
  position:relative;
  top:auto;
  transform:none;
 }
}
@media(max-width:820px) and (prefers-reduced-motion:reduce){
 body.ms-vacancy-public .vacancy-hero-media img{transform:none}
}

/* V379: Desktop response dialog centering wins over the shared bottom-sheet.css
   .sheet-layer.open .sheet rule, which is loaded AFTER this stylesheet.
   Keep the common BottomSheet engine and all phone layout unchanged. */
@media (min-width:571px){
  body.ms-vacancy-public .sheet-layer.vacancy-response-layer .sheet{
    transform:translate(-50%,-46%);
  }
  body.ms-vacancy-public .sheet-layer.vacancy-response-layer.open .sheet{
    transform:translate(-50%,-50%);
    opacity:1;
  }
  body.ms-vacancy-public .sheet-layer.vacancy-response-layer.open.closing .sheet{
    transform:translate(-50%,-46%);
    opacity:0;
  }
}

/* V380: mobile header: remove shadow, keep V378 neutral surfaces and all layout. */
@media(max-width:820px){body.ms-vacancy-public .vacancy-topbar{box-shadow:none}}

/* V380: full-grid-width similar vacancies start AFTER .vacancy-columns, so the
   company's sticky containment ends before this separate section. */
body.ms-vacancy-public .vacancy-similar{
 margin-top:20px;padding:26px 30px 28px;min-width:0;overflow:hidden;
 background:#fff;border:0;border-radius:21px;
 box-shadow:0 10px 34px rgba(27,39,66,.095),0 2px 9px rgba(27,39,66,.045);
}
body.ms-vacancy-public .vacancy-similar[hidden]{display:none!important}
body.ms-vacancy-public .vacancy-similar-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
body.ms-vacancy-public .vacancy-similar h2{margin:0;font-size:20px;line-height:25px;font-weight:650;letter-spacing:-.4px}
body.ms-vacancy-public .vacancy-similar-link{color:#626a78;font-size:13px;line-height:18px;font-weight:500;white-space:nowrap}
body.ms-vacancy-public .vacancy-similar-link:hover{color:#007aff}
body.ms-vacancy-public .vacancy-similar-controls{display:flex;align-items:center;gap:8px}
body.ms-vacancy-public .vacancy-similar-arrow{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;padding:0;border:0;border-radius:10px;background:#eff0f4;color:#252831;cursor:pointer}
body.ms-vacancy-public .vacancy-similar-arrow svg{width:18px;height:18px}
body.ms-vacancy-public .vacancy-similar-arrow:disabled{opacity:.35;cursor:default}
body.ms-vacancy-public .vacancy-similar-track{display:flex;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;overscroll-behavior-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 0 4px}
body.ms-vacancy-public .vacancy-similar-track::-webkit-scrollbar{display:none}
body.ms-vacancy-public .vacancy-similar-card{flex:0 0 clamp(208px,27%,258px);min-width:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #eeeef2;border-radius:15px;background:#fff;scroll-snap-align:start;color:#252831;text-decoration:none;box-shadow:none;transition:opacity .18s ease}
@media(hover:hover) and (pointer:fine){body.ms-vacancy-public .vacancy-similar-card:hover{opacity:.85;box-shadow:none}}
body.ms-vacancy-public .vacancy-similar-image{display:block;width:100%;aspect-ratio:2.25/1;overflow:hidden;background:#f0f1f6}
body.ms-vacancy-public .vacancy-similar-image img{display:block;width:100%;height:100%;object-fit:cover}
/* V454: two fixed rows above a separate location row; never wrap card text. */
body.ms-vacancy-public .vacancy-similar-card-body{display:flex;flex-direction:column;gap:12px;flex:1;min-width:0;min-height:99px;box-sizing:border-box;padding:14px}
body.ms-vacancy-public .vacancy-similar-card-main{display:flex;flex-direction:column;gap:4px;min-width:0}
body.ms-vacancy-public .vacancy-similar-card-title{display:block;min-width:0;height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;line-height:20px;font-weight:600}
body.ms-vacancy-public .vacancy-similar-card-salary{display:block;min-width:0;height:18px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#626a78;font-size:14px;line-height:18px}
body.ms-vacancy-public .vacancy-similar-card-meta{display:block;min-width:0;height:17px;margin-top:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8b909a;font-size:13px;line-height:17px}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-similar{margin-top:14px;padding:21px 20px 20px;border-radius:18px;box-shadow:0 7px 25px rgba(27,39,66,.09),0 1px 7px rgba(27,39,66,.04)}
 body.ms-vacancy-public .vacancy-similar h2{font-size:18px;line-height:23px}
 body.ms-vacancy-public .vacancy-similar-head{margin-bottom:14px}
 body.ms-vacancy-public .vacancy-similar-card{flex-basis:min(74%,255px)}
 body.ms-vacancy-public .vacancy-similar-arrow{width:34px;height:34px;flex-basis:34px}
}
@media(max-width:499px){body.ms-vacancy-public .vacancy-similar-link{display:none}}
@media(prefers-reduced-motion:reduce){body.ms-vacancy-public .vacancy-similar-card{transition:none}}

/* V381: publication date is plain muted text on the page background, outside all white cards. */
body.ms-vacancy-public .vacancy-published{margin:20px 0 0;padding:0;color:#8b909a;font-size:13px;line-height:17px;font-weight:400}
body.ms-vacancy-public .vacancy-published[hidden]{display:none!important}
@media(max-width:820px){body.ms-vacancy-public .vacancy-published{margin-top:16px}}

/* V398: identical layout geometry while recommendations are loading; no delayed blank region. */
body.ms-vacancy-public .vacancy-similar-card--placeholder{pointer-events:none;border-color:#f0f1f4;box-shadow:none}
body.ms-vacancy-public .vacancy-similar-card--placeholder .vacancy-similar-image{background:#f1f2f6}
body.ms-vacancy-public .vacancy-similar-card--placeholder .vacancy-similar-card-body{min-height:99px}
body.ms-vacancy-public .vacancy-similar-placeholder-line{display:block;flex:0 0 13px;height:13px;border-radius:7px;background:#f0f1f5}
body.ms-vacancy-public .vacancy-similar-placeholder-line--title{width:88%}
body.ms-vacancy-public .vacancy-similar-placeholder-line--salary{width:68%}
body.ms-vacancy-public .vacancy-similar-placeholder-line--meta{width:45%;margin-top:auto}

/* V407: work conditions: 1 column on viewports <= 479px only. */
@media (max-width: 479px) {
  body.ms-vacancy-public .vacancy-section.vacancy-facts .vacancy-facts-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* V443 — full-width vacancy when neither company profile nor vacancy supplied a name. */
body.ms-vacancy-public .vacancy-columns--single{grid-template-columns:minmax(0,1fr)}
body.ms-vacancy-public .vacancy-columns--single > .vacancy-primary{width:100%;min-width:0}
/* Initial skeleton is in server-rendered HTML; it follows real intro/facts/description/sidebar cards. */
body.ms-vacancy-public .vacancy-skeleton-layout{pointer-events:none}
body.ms-vacancy-public .vacancy-sk{display:block;flex:0 0 auto;max-width:100%;border-radius:7px;background:linear-gradient(100deg,#eef0f4 15%,#e3e7ed 45%,#eef0f4 75%);background-size:220% 100%;animation:vacancy-v443-sweep 1.55s ease-in-out infinite}
body.ms-vacancy-public .vacancy-sk-title{height:35px;width:85%;margin:0 0 14px}
body.ms-vacancy-public .vacancy-sk-salary{height:20px;width:43%}
body.ms-vacancy-public .vacancy-skeleton-features{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
body.ms-vacancy-public .vacancy-sk-chip{width:121px;height:34px;border-radius:17px}
body.ms-vacancy-public .vacancy-sk-chip--short{width:88px}
body.ms-vacancy-public .vacancy-skeleton-actions{display:flex;align-items:center;gap:10px;margin-top:23px}
body.ms-vacancy-public .vacancy-sk-action{width:160px;height:46px;border-radius:10px}
body.ms-vacancy-public .vacancy-sk-favorite{width:46px;height:46px;border-radius:10px}
body.ms-vacancy-public .vacancy-sk-heading{width:37%;height:22px;margin-bottom:20px}
body.ms-vacancy-public .vacancy-skeleton-facts{width:100%}
body.ms-vacancy-public .vacancy-skeleton-fact{display:flex;flex-direction:column;gap:8px;min-width:0}
body.ms-vacancy-public .vacancy-sk-label{height:13px;width:45%}
body.ms-vacancy-public .vacancy-sk-value{height:18px;width:78%}
body.ms-vacancy-public .vacancy-sk-paragraph{height:15px;width:100%;margin-bottom:14px}
body.ms-vacancy-public .vacancy-sk-paragraph--short{width:66%;margin-bottom:0}
body.ms-vacancy-public .vacancy-skeleton-company{display:flex;align-items:center;gap:11px}
body.ms-vacancy-public .vacancy-sk-company-logo{width:43px;height:43px;border-radius:13px}
body.ms-vacancy-public .vacancy-sk-company-name{width:68%;height:18px}
body.ms-vacancy-public .vacancy-sk-company-sub{height:14px;width:47%}
body.ms-vacancy-public .vacancy-hero--loading{background:#edf0f5}
body.ms-vacancy-public .vacancy-hero--loading::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(105deg,#eceff4 15%,#e2e7ee 48%,#eceff4 80%);background-size:220% 100%;animation:vacancy-v443-sweep 1.55s ease-in-out infinite}
@keyframes vacancy-v443-sweep{to{background-position-x:-220%}}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-sk-title{height:28px;width:88%}
 body.ms-vacancy-public .vacancy-sk-salary{width:58%}
 body.ms-vacancy-public .vacancy-sk-heading{width:54%}
 body.ms-vacancy-public .vacancy-sk-company-name{width:64%}
}
@media(max-width:479px){body.ms-vacancy-public .vacancy-skeleton-facts{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){body.ms-vacancy-public .vacancy-sk,body.ms-vacancy-public .vacancy-hero--loading::before{animation:none}}

/* V453: modal scroll lock preserves the desktop sticky company position. */
html.vacancy-response-scroll-lock,
body.ms-vacancy-public.vacancy-response-scroll-lock{overflow:clip!important;overscroll-behavior:none}

/* V453: use the existing 391 location pin, always aligned with address line one. */
body.ms-vacancy-public .vacancy-location-title{display:flex;align-items:flex-start;gap:8px;min-width:0}
body.ms-vacancy-public .vacancy-location-address{display:block;min-width:0;flex:1 1 auto;overflow-wrap:anywhere}
body.ms-vacancy-public .vacancy-location-pin{display:block;width:18px;height:18px;flex:0 0 18px;align-self:flex-start;margin-top:1px;background:#888c95;-webkit-mask:url('/assets/icons/location-pin.svg?v=391') center / contain no-repeat;mask:url('/assets/icons/location-pin.svg?v=391') center / contain no-repeat}


/* V455: vacancy map keeps the existing rounded map card and reveals a lower tray
   with external map-app buttons tucked underneath, similar to the Yandex wallet layout. */
body.ms-vacancy-public .vacancy-location-map-shell{position:relative;margin-top:17px;padding-bottom:0}
body.ms-vacancy-public .vacancy-location-map{position:relative;z-index:2;margin-top:0}
body.ms-vacancy-public .vacancy-location-map-actions{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-16px 0 0;padding:28px 12px 12px;background:#eef0f4;border-radius:0 0 15px 15px}
body.ms-vacancy-public .vacancy-map-app{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:center;min-width:0;min-height:54px;padding:0;border:0;border-radius:14px;background:#fff;color:#252831;cursor:pointer;box-shadow:0 1px 2px rgba(16,24,40,.03),0 6px 16px rgba(16,24,40,.05);transition:opacity .16s ease,transform .16s ease}
body.ms-vacancy-public .vacancy-map-app img{display:block;width:28px;height:28px}
@media(hover:hover) and (pointer:fine){body.ms-vacancy-public .vacancy-map-app:hover{opacity:.9}}
body.ms-vacancy-public .vacancy-map-app:active{transform:translateY(1px)}
body.ms-vacancy-public .vacancy-map-app:focus-visible{outline:2px solid #007aff;outline-offset:2px}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-location-map-shell{margin-top:17px}
 body.ms-vacancy-public .vacancy-location-map-actions{gap:9px;margin-top:-15px;padding:26px 10px 10px;border-radius:0 0 15px 15px}
 body.ms-vacancy-public .vacancy-map-app{min-height:50px;border-radius:13px}
 body.ms-vacancy-public .vacancy-map-app img{width:26px;height:26px}
}


/* V456: a consistent opaque sRGB blue tray, horizontal 2px crisp shadow for map.
   The Apple column is inserted only on Apple devices; the other three fill the row. */
body.ms-vacancy-public .vacancy-location-map-actions{
 background:rgb(205,228,252);
 grid-template-columns:repeat(3,minmax(0,1fr));
}
body.ms-vacancy-public .vacancy-location-map-actions--apple{grid-template-columns:repeat(4,minmax(0,1fr))}
body.ms-vacancy-public .vacancy-map-app[hidden]{display:none!important}
body.ms-vacancy-public .vacancy-location-map{
 box-shadow:0 2px 0 rgb(94,123,155);
}
body.ms-vacancy-public .vacancy-map-app img{width:32px;height:32px;object-fit:contain}
@media(max-width:820px){body.ms-vacancy-public .vacancy-map-app img{width:30px;height:30px}}


/* V457: normalize map-app icons to one app-store-like format with the same visual box. */
body.ms-vacancy-public .vacancy-location-map-actions{background:rgb(205,228,252)}
body.ms-vacancy-public .vacancy-map-app{min-height:58px;padding:8px 10px;border-radius:16px;background:rgba(255,255,255,.82);box-shadow:none;border:1px solid rgba(94,123,155,.12)}
body.ms-vacancy-public .vacancy-map-app img{display:block;width:40px;height:40px;object-fit:contain;object-position:center}
@media(max-width:820px){body.ms-vacancy-public .vacancy-map-app{min-height:54px;padding:7px 9px;border-radius:15px} body.ms-vacancy-public .vacancy-map-app img{width:38px;height:38px}}


/* V458: user-approved map edge and clean official App Store icon surfaces. */
body.ms-vacancy-public .vacancy-location-map{box-shadow:0 2px 0 rgb(177 203 232)}
body.ms-vacancy-public .vacancy-map-app,
body.ms-vacancy-public .vacancy-map-app:link,
body.ms-vacancy-public .vacancy-map-app:visited{border:0!important;outline:0;background:rgba(255,255,255,.82)}
body.ms-vacancy-public .vacancy-map-app:focus-visible{outline:2px solid #007aff!important;outline-offset:2px}
body.ms-vacancy-public .vacancy-map-app img{width:40px;height:40px;border-radius:12px;object-fit:cover;object-position:center}
@media(max-width:820px){body.ms-vacancy-public .vacancy-map-app img{width:38px;height:38px;border-radius:11px}}

/* V459.1: use the exact user-provided transparent PNGs without rounding or cropping. */
body.ms-vacancy-public .vacancy-map-app img{width:40px;height:40px;object-fit:contain;object-position:center;border-radius:0}
@media(max-width:820px){body.ms-vacancy-public .vacancy-map-app img{width:38px;height:38px;border-radius:0}}


/* V460: slightly smaller icons with labels underneath. */
body.ms-vacancy-public .vacancy-map-app,
body.ms-vacancy-public .vacancy-map-app:link,
body.ms-vacancy-public .vacancy-map-app:visited{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:70px;padding:8px 8px;border:0!important;outline:0;background:rgba(255,255,255,.82);text-decoration:none;color:#5f6672;box-shadow:none}
body.ms-vacancy-public .vacancy-map-app img{width:32px;height:32px;object-fit:contain;object-position:center;border-radius:0;flex:0 0 auto}
body.ms-vacancy-public .vacancy-map-app-label{display:block;width:100%;margin:0;font-size:10px;line-height:1.15;font-weight:500;text-align:center;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
@media(max-width:820px){body.ms-vacancy-public .vacancy-map-app{min-height:66px;padding:7px 6px;gap:3px} body.ms-vacancy-public .vacancy-map-app img{width:30px;height:30px} body.ms-vacancy-public .vacancy-map-app-label{font-size:10px;line-height:1.1}}


/* V461: compact, equal-sized map-service buttons; two columns on <=499px. */
body.ms-vacancy-public .vacancy-map-app{
  box-sizing:border-box;
  height:60px;
  min-height:60px;
  padding:5px 8px;
  gap:3px;
}
@media(max-width:820px){
  body.ms-vacancy-public .vacancy-map-app{
    height:56px;
    min-height:56px;
    padding:4px 6px;
    gap:3px;
  }
}
@media(max-width:499px){
  body.ms-vacancy-public .vacancy-location-map-actions,
  body.ms-vacancy-public .vacancy-location-map-actions--apple{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* V470: completed application remains in its place, with no hover or press response. */
body.ms-vacancy-public .vacancy-respond-btn.primary-button.is-applied,
body.ms-vacancy-public .vacancy-respond-btn.primary-button.is-applied:hover,
body.ms-vacancy-public .vacancy-respond-btn.primary-button.is-applied:active,
body.ms-vacancy-public .vacancy-respond-btn.primary-button.is-applied:focus,
body.ms-vacancy-public .vacancy-respond-btn.primary-button.is-applied:focus-visible {
 background:var(--ui-control-bg,#f1f1f4)!important;
 color:#222!important;
 opacity:1!important;
 cursor:default!important;
 pointer-events:none!important;
 border:0!important;
 box-shadow:none!important;
 filter:none!important;
 transform:none!important;
 transition:none!important;
 text-decoration:none!important;
}

/* V482: carousel clipping reaches the WHITE section edge, not its internal text padding. */
body.ms-vacancy-public .vacancy-similar-track{
 margin-inline:-30px;padding-inline:30px;scroll-padding-inline:30px;
}
@media(max-width:820px){
 body.ms-vacancy-public .vacancy-similar-track{
  margin-inline:-20px;padding-inline:20px;scroll-padding-inline:20px;
 }
}

/* V558 — one measured outer-card gap for both public vacancy and company grids.
   18px matches existing vertical vacancy-card spacing; 14px on stacked mobile layouts. */
body.ms-vacancy-public { --ms-public-card-gap: 18px; }
body.ms-vacancy-public .vacancy-columns,
body.ms-vacancy-public .vacancy-primary { gap: var(--ms-public-card-gap); }
body.ms-vacancy-public .vacancy-similar { margin-top: var(--ms-public-card-gap); }
@media (max-width: 820px) {
 body.ms-vacancy-public { --ms-public-card-gap: 14px; }
}
