/* Result-first browsing: the controls and listing sections share one tier order. */
.tariff-navigation { gap: 7px; }
.tariff-tab { font-weight: 600; }
.tariff-tab[data-tier=premium][aria-current=page] { background: #173650; border-color: #365877; color: #fff; box-shadow: 0 0 0 1px #365877; }
.tariff-tab[data-tier=premium] .tier-medallion { color: #7c9dbe; }
.tier-section-premium { padding: 20px; border-radius: 23px; background: linear-gradient(120deg,#102b3e,#456b96 55%,#102739); }
.tier-section-premium > .tier-section-head h3 { color: #fff; }
.tier-section-premium > .tier-section-head .tier-count { color: #d0dcea; }
.tier-section-premium > .tier-section-head .link-arrow { color: #f1f6ff; }
.tier-section-premium .tier-medallion { color: #b6cce4; }
.job-card.job-premium { background: linear-gradient(135deg,#1c3f56,#142d41); border: 1px solid #94aec9; color: #fff; box-shadow: none; }
.job-premium .job-title a { color: #fff; }
.job-card .job-company { margin-top: 4px; margin-bottom: 0; font-weight: 400; }
.job-card .job-title { line-height: 1.3; }
.job-premium .job-company,.job-premium .job-meta,.job-premium .job-excerpt { color: #cfdae7; }
.job-premium .job-bookmark { color: #e6effa; background: transparent; }
.job-premium .job-bookmark.active { background: #ffffff17; }
.job-premium .job-salary { color: #fff; }
.job-premium .job-salary svg { color: #dce8f7; fill: #ffffff16; stroke: #dce8f7; }
.job-premium .tag { color: #e1ebf7; background: #ffffff0d; }
.job-premium .job-card-footer,.job-premium .job-excerpt { border-color: #819db94d; }
.job-premium .job-open { color: #fff; background: linear-gradient(110deg,#1a3d57,#7896b8,#1b3b52); border: 1px solid #b3c9e2; }
.job-premium .job-open:hover { background: linear-gradient(110deg,#28516e,#8ca9c9,#294d66); }
.job-card.job-premium .job-contact { color: #e8f1fd; background: #ffffff08; border-color: #6e8ca7; }
.job-card .job-tags:empty { display: none; }
.job-card .job-salary { font-variant-numeric: tabular-nums; }
.listing-published { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 12px; color: #526a83; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.listing-date-time { display: inline-flex; align-items: center; gap: 5px; }
.listing-new { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 8px; background: #e2f5ed; color: #096844; font-size: 14px; font-weight: 650; }
.listing-published.is-unknown { font-size: 13px; }
.job-premium .listing-published,.detail-premium .listing-published { color: #d6e3f0; }
.job-premium .listing-new,.detail-premium .listing-new { background: #d5f4e8; color: #075b3d; }

/* Skeletons keep the page structure while real data is loading. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.loading-state { width: 100%; min-width: 0; }
.skeleton-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.skeleton-card { display: grid; align-content: start; gap: 16px; min-width: 0; min-height: 260px; padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; }
.skeleton-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.skeleton-heading > div { flex: 1; display: grid; gap: 9px; }
.skeleton-avatar { width: 45px; height: 45px; border-radius: 12px; flex: 0 0 auto; }
.skeleton-line { display: block; height: 11px; border-radius: 20px; }
.skeleton-line.large { height: 20px; }
.skeleton-pill { display: block; width: 115px; height: 36px; border-radius: 100px; }
.skeleton-avatar,.skeleton-line,.skeleton-pill { background: linear-gradient(100deg,#eff2f7 20%,#f9fbff 40%,#eff2f7 60%); background-size: 220% 100%; animation: skeleton-shimmer 1.5s ease-in-out infinite; }
.skeleton-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 8px; padding-top: 15px; border-top: 1px solid #f2f4f8; }
.w30 { width: 30%; }.w40 { width: 40%; }.w60 { width: 60%; }.w70 { width: 70%; }.w90 { width: 90%; }
.loading-detail .skeleton-grid { grid-template-columns: minmax(0,1fr) minmax(230px,.4fr); }
.loading-detail .skeleton-card:first-child { min-height: 340px; }
.loading-detail .skeleton-card:last-child { min-height: 240px; }
@keyframes skeleton-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* The details header exposes the facts before the long description. */
.detail-hero { gap: 15px; padding: 26px; }
.detail-hero h1 { font-size: clamp(27px,3.2vw,39px); line-height: 1.2; }
.detail-company { color: #71849a; font-size: 15px; }
.detail-hero .detail-salary { font-size: clamp(21px,2.4vw,29px); font-weight: 750; padding-block: 3px; }
.detail-key-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin: 4px 0; }
.detail-key-facts > div { padding: 12px 13px; border-radius: 13px; background: #f1f5fa; min-width: 0; }
.detail-key-facts dt { color: #71849a; font-size: 11px; margin-bottom: 5px; }
.detail-key-facts dd { margin: 0; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; line-height: 1.45; }
.detail-quick-actions { gap: 7px; padding-top: 5px; }
.detail-quick-actions .button { min-height: 40px; font-size: 12px; }
.detail-premium .detail-hero { background: linear-gradient(130deg,#163b53,#17344a); border-color: #9cb6cf; color: #fff; }
.detail-premium .detail-hero .eyebrow,.detail-premium .detail-company,.detail-premium .detail-hero .muted { color: #c6d7e9; }
.detail-premium .detail-hero .detail-salary { color: #fff; }
.detail-premium .detail-key-facts > div { background: #ffffff0b; border: 1px solid #ffffff12; }
.detail-premium .detail-key-facts dt { color: #b6c9de; }
.detail-premium .detail-quick-actions .button { color: #fff; background: #ffffff0c; border-color: #7d9ab557; }
.detail-premium .detail-hero .paid-tier { background: #ffffff12; border-color: #8ca6c94d; color: #d4e4f8; }
.detail-description h2 { font-size: 23px; }
.photo-feedback { grid-column: 1 / -1; display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; background: #f7f9fc; }
.photo-feedback .button { justify-self: start; }
.detail-description .description { margin-top: 16px; line-height: 1.8; font-size: 15px; }
.description.is-collapsed { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; max-height: 10.8em; }
.description-toggle { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 0; margin-top: 7px; border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.contact-panel { gap: 12px; padding: 23px; }
.contact-panel h2 { font-size: 20px; }
.contact-panel .button { min-height: 47px; }
.contact-number { display: grid; grid-template-columns: minmax(0,1fr) 43px; gap: 7px; align-items: center; }
.contact-number.is-masked { grid-template-columns: minmax(0,1fr); }
.contact-number > .button { font-variant-numeric: tabular-nums; font-size: 15px; padding-inline: 12px; }
.contact-number > .button span { overflow-wrap: anywhere; }
.contact-number > .button small { display: block; font-size: 10px; font-weight: 400; opacity: .85; margin-top: 3px; }
.contact-number .phone-reveal[aria-busy=true] svg { animation: contact-pulse 1s ease-in-out infinite; }
.contact-reveal-status { color: #b3452e; line-height: 1.5; }
.contact-reveal-status:empty { display: none; }
@keyframes contact-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion:reduce) { .contact-number .phone-reveal[aria-busy=true] svg { animation: none; } }
.contact-number > .icon-button { width: 43px; height: 43px; border-radius: 13px; background: #f1f5fa; }
.contact-telegram small { display: block; font-size: 11px; font-weight: 400; opacity: .75; margin-top: 3px; overflow-wrap: anywhere; }
.contact-error { display: grid; gap: 9px; padding: 14px; border-radius: 14px; background: #fff6ee; border: 1px solid #f4dfc9; font-size: 13px; }
.contact-loading { display: grid; gap: 10px; padding-block: 5px; }
.detail-location.oit-map { --om-height: 300px; gap: 0; padding: 0; overflow: hidden; }
.detail-location > header { padding: 22px; }
.detail-location h2 { display: flex; align-items: center; gap: 8px; font-size: 22px; }
.detail-location > header > p { margin-top: 9px; color: #6a8096; font-size: 13px; }
.detail-location [data-street-status] { padding-inline: 22px; }
.detail-location .oit-map-viewport { border-radius: 0; touch-action: pan-y; }
.detail-map-credits { padding: 7px 13px; font-size: 10px; color: #7b8fa5; background: #fff; }
.location-unavailable { color: #73899f; padding: 0 22px 22px; font-size: 13px; }
.detail-location:has(.location-unavailable) { background: #fff; }
@media (max-width:820px) {
 .detail-key-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .loading-detail .skeleton-grid { grid-template-columns: 1fr; }
 .loading-detail .skeleton-card:last-child { min-height: 160px; }
}
@media (max-width:535px) {
 .tier-section-premium { margin-inline: -6px; padding: 16px 12px; border-radius: 21px; }
 .tier-section-head h3 { font-size: 22px; }
 .tier-section-head .link-arrow { font-size: 12px; }
 .tariff-tab { min-height: 40px; padding: 6px 11px; font-size: 12px; }
 .tariff-tab .tier-medallion { width: 19px; height: 19px; }
 .skeleton-grid { grid-template-columns: 1fr; gap: 13px; }
 .skeleton-card { padding: 20px; min-height: 245px; }
 .skeleton-card:nth-child(n+3) { display: none; }
 .detail-hero { padding: 20px; gap: 13px; }
 .detail-hero h1 { font-size: 27px; }
 .detail-key-facts { gap: 7px; }
 .detail-key-facts > div { padding: 11px; }
 .detail-key-facts dd { font-size: 12px; }
 .detail-key-facts dt { font-size: 10px; }
 .detail-description .description { font-size: 14px; }
 .detail-location.oit-map { --om-height: 270px; }
 .detail-location > header { padding: 20px; }
 .detail-location h2 { font-size: 21px; }
 .description-toggle { min-height: 36px; }
}
@media (prefers-reduced-motion:reduce) { .skeleton-avatar,.skeleton-line,.skeleton-pill { animation: none; background: #edf1f6; } }
.standard-feed{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:16px 8px;color:#74869b;font-size:12px;text-align:center}
.standard-feed-error{display:grid;justify-items:center;gap:12px;padding:9px 0}.standard-feed-error p{line-height:1.6}
.standard-feed-end{font-size:11px;color:#8a98a8}.feed-spinner{width:16px;height:16px;flex:0 0 16px;border:2px solid #dce9fc;border-top-color:#1775ed;border-radius:50%;animation:feed-spin .7s linear infinite}@keyframes feed-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.feed-spinner{animation:none}}

@media(min-width:375px) and (max-width:535px){
 #results.section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
 #results h2{font-size:20px}#results .catalog-controls{gap:4px}
 #results .view-switch>:is(span,a){padding-inline:6px;font-size:11px}
 #results .filter-toggle{font-size:11px;padding-inline:8px;gap:5px}
}
@media(max-width:535px){
 .tariff-navigation{gap:5px}.tariff-tab{font-size:11px;padding:6px;gap:4px}
 .tariff-tab .tier-medallion{width:16px;height:16px}
}
