.nb-wrap { width: 100%; max-width: 1170px; margin-inline: auto; padding-inline: 16px; }
.nb-page { --nb-primary: #2466c9; --nb-primary-dark: #00379d; --nb-navy: #0d2d64; --nb-me: #0f52ba; min-height: 60vh; padding-bottom: 24px; }
.nb-hero { position: sticky; top: 0; z-index: 20; background: linear-gradient(270deg, #00379d 0, #2466c9 100%); color: #fff; box-shadow: 0 4px 12px #2727271a; }
.nb-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.nb-heading { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 800; white-space: nowrap; color: #fff; }
.nb-loc { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 62%; min-height: 40px; padding: 6px 14px; border: 1.5px solid #ffffffb3; border-radius: 999px; background: #ffffff26; backdrop-filter: blur(4px); color: #fff; font: inherit; font-size: 15px; font-weight: 700; }
.nb-loc:hover { background: #ffffff3d; }
.nb-loc i { flex: 0 0 auto; font-size: 18px; }
.nb-loc-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-main { padding-block: 16px 24px; }
.nb-intro-card { display: grid; gap: 16px; padding: 16px; border: 1px solid #f1f1f1; border-radius: 24px; background: #fff; box-shadow: 0 1px 3px #2727270d; }
.nb-intro-card[hidden] { display: none; }
.nb-intro-title { margin: 0; font-size: 20px; line-height: 1.35; font-weight: 800; }
.nb-points { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; color: #7a7a7a; }
.nb-points li { display: flex; gap: 8px; align-items: flex-start; }
.nb-points i { flex: 0 0 auto; margin-top: 2px; font-size: 18px; color: var(--nb-primary); }
.nb-points .is-safe i { color: #16a34a; }
.nb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.nb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 48px; padding: 10px 20px; border-radius: 16px; font-weight: 800; }
.nb-btn i { font-size: 20px; }
.nb-btn-full { width: 100%; flex: none; }
.nb-btn-ghost { flex: none; min-height: 36px; padding: 4px 12px; border-radius: 10px; color: #c0392b; border: 1px solid transparent; background: none; font-weight: 800; }
.nb-hint { margin: 12px 0 0; font-size: 12px; color: #9a9a9a; }
.nb-map { position: relative; height: 190px; margin-bottom: 14px; overflow: hidden; border-radius: 16px; background-color: #e9efe4; background-image: linear-gradient(#ffffff80 2px, transparent 2px), linear-gradient(90deg, #ffffff80 2px, transparent 2px); background-size: 48px 48px; }
.nb-map-intro { height: 160px; margin-bottom: 0; }
.nb-map-tag { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px); padding: 6px 12px; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px #27272726; color: #444; font-size: 12px; font-weight: 700; }
.nb-map-tag i { flex: 0 0 auto; font-size: 14px; color: var(--nb-me); }
.nb-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; margin: -34px 0 0 -17px; border: 3px solid #fff; border-radius: 50%; background: linear-gradient(270deg, #00379d 0, #2466c9 100%); box-shadow: 0 2px 6px #27272740; color: #fff; font-size: 13px; font-weight: 800; }
.nb-pin i { font-size: 16px; }
.nb-pin-cluster { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-width: 4px; }
.nb-me { position: absolute; z-index: 1; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 3px solid #fff; border-radius: 50%; background: var(--nb-me); box-shadow: 0 0 0 8px #0f52ba2e; }
.nb-radius-bar { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.nb-radius-bar::-webkit-scrollbar { display: none; }
.nb-radius-chip { flex: 0 0 auto; min-height: 40px; padding: 6px 18px; border: 1px solid #d4d4d4; border-radius: 999px; background: #fff; color: #333; font: inherit; font-size: 15px; font-weight: 700; }
.nb-radius-chip:hover { border-color: var(--nb-primary); color: var(--nb-primary-dark); }
.nb-radius-chip.is-active { border-color: transparent; background: linear-gradient(270deg, #00379d 0, #2466c9 100%); color: #fff; box-shadow: 0 4px 10px #2466c94d; }
.nb-count { margin: 16px 0 10px; font-size: 14px; color: #8f8f8f; }
.nb-notice, .nb-empty { margin: 12px 0 0; padding: 10px 14px; border-radius: 12px; background: #e6f0ff; color: #00379d; font-size: 13px; }
.nb-empty { border: 1px dashed #d4d4d4; background: #fff; color: #666; text-align: center; padding: 24px 14px; }
.nb-notice-expanded { background: none; padding: 0; color: #777; font-size: 12px; }
.nb-link-btn { padding: 0; border: 0; background: none; color: var(--nb-primary-dark); font-weight: 800; text-decoration: underline; }
.nb-link { color: var(--nb-primary-dark); font-weight: 800; text-decoration: underline; }
.nb-province-block { margin-top: 28px; padding-top: 20px; border-top: 1px solid #ececec; }
.nb-province-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.nb-province-title { margin: 0; font-size: 17px; font-weight: 800; }
.nb-province-note { font-size: 12px; color: #9a9a9a; }
.nb-pager, .nb-list-link { margin-top: 20px; text-align: center; }
.nb-results-wrap { position: relative; }
.nb-results-wrap[hidden] { display: none; }
.nb-page[data-has-loc]:not([data-loaded]) .nb-results-wrap { min-height: 640px; }
.nb-page[data-has-loc] .nb-intro-card { display: none; }
.nb-loading { position: absolute; z-index: 3; top: 0; left: 0; right: 0; display: flex; justify-content: center; padding-top: 72px; }
.nb-loading[hidden] { display: none; }
.nb-spinner { width: 28px; height: 28px; border: 3px solid #cfe0ff; border-top-color: var(--nb-primary); border-radius: 50%; animation: nb-spin .7s linear infinite; }
@keyframes nb-spin { to { transform: rotate(360deg); } }
.nb-noscript { padding: 16px; text-align: center; }
.nb-sheet:not([hidden]) { position: fixed; inset: 0; z-index: 1060; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; background: #00000066; }
.nb-sheet > * { width: 100%; max-width: 440px; padding-inline: 20px; background: #fff; }
.nb-sheet-content { padding-top: 20px; border-radius: 24px 24px 0 0; }
.nb-sheet-card { padding-block: 20px; border-radius: 24px 24px 0 0; }
.nb-sheet-card { max-height: 92vh; overflow-y: auto; overscroll-behavior: contain; }
.nb-sheet-content { padding-bottom: 24px; }
.nb-sheet-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nb-sheet-title { margin: 0; font-size: 18px; font-weight: 800; }
.nb-sheet-body { margin: 8px 0 16px; color: #666; }
.nb-sheet-close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f3f3f3; color: #6c6c6c; }
.nb-sheet-close i { font-size: 18px; }
.nb-sheet-tabs { display: flex; gap: 8px; padding-block: 12px 4px; }
.nb-tab { flex: 1; min-height: 40px; border: 1px solid #d4d4d4; border-radius: 999px; background: #fff; font: inherit; font-weight: 700; }
.nb-tab.is-active { border-color: transparent; background: #272727; color: #fff; }
.nb-tab-panel { padding-block: 12px; }
.nb-tab-panel[hidden] { display: none; }
.nb-label { display: block; margin-bottom: 6px; font-weight: 700; }
.nb-input { min-height: 48px; border-radius: 12px; font-size: 16px; }
.nb-ward-box { margin-top: 14px; }
.nb-ward-list { max-height: 260px; margin: 10px 0 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.nb-ward-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 46px; padding: 8px 4px; border: 0; border-bottom: 1px solid #f0f0f0; background: none; font: inherit; font-weight: 700; text-align: left; }
.nb-ward-item:hover { background: #f0f6ff; }
.nb-ward-item small { flex: 0 0 auto; font-size: 12px; font-weight: 400; color: #9a9a9a; }
.nb-ward-empty { padding: 16px 4px; font-size: 13px; color: #888; text-align: center; }
.nb-sheet-desc, .nb-sheet-hint, .nb-sheet-current-label { margin: 0 0 12px; font-size: 13px; color: #666; }
.nb-sheet-current { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #eee; }
.nb-sheet-current[hidden] { display: none; }
.nb-sheet-current-label { margin: 0; }
.nb-address-row { display: flex; gap: 8px; }
.nb-address-row .nb-input { flex: 1; min-width: 0; }
.nb-address-submit { min-height: 48px; border-radius: 12px; font-weight: 800; }
.nb-confirm-address { display: flex; gap: 12px; margin-top: 14px; }
.nb-confirm-address > i { flex: 0 0 auto; width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: #e6f0ff; color: var(--nb-primary); font-size: 20px; line-height: 20px; }
.nb-confirm-address.is-loading .nb-confirm-text { color: #8f8f8f; }
.nb-confirm-label { margin: 0; font-size: 12px; color: #8f8f8f; }
.nb-confirm-text { margin: 2px 0 0; font-size: 16px; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; }
.nb-confirm-accuracy { margin: 4px 0 0; font-size: 12px; color: #8f8f8f; }
.nb-confirm-hint { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #eaf1fb; color: #0a3d8f; font-size: 13px; }
.nb-confirm-save { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.nb-confirm-save[hidden], .nb-confirm-error[hidden], .nb-confirm-accuracy[hidden] { display: none; }
.nb-confirm-save input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--nb-primary); }
.nb-confirm-error { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: #fdeceb; color: #a52a18; font-size: 13px; }
.nb-confirm-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.nb-feed { min-width: 0; }
.nb-feed .job-list { grid-template-columns: minmax(0, 1fr); }
.nb-feed .job-card { min-width: 0; }
.nb-feed .job-card .flex-grow-1 { min-width: 0; }
.nb-feed .job-card .job-title, .nb-feed .job-card .job-title a, .nb-feed .job-card .company-title { display: block; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.nb-feed .job-card .job-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nb-aside { min-width: 0; }
.nb-osm-stage { position: absolute; width: 1280px; height: 1280px; }
.nb-map-osm { background-image: none; background-color: #f2f3f0; }
.nb-osm-tile { filter: grayscale(.85) contrast(.85) brightness(1.12); position: absolute; display: block; width: 256px; height: 256px; max-width: none; user-select: none; -webkit-user-drag: none; }
.nb-osm-radius { position: absolute; z-index: 1; transform: translate(-50%, -50%); border: 2px dashed #0f52ba80; border-radius: 50%; background: #0f52ba0d; pointer-events: none; }
.nb-osm-credit { position: absolute; z-index: 2; right: 0; bottom: 0; padding: 2px 6px; border-radius: 6px 0 0 0; background: #ffffffcc; color: #333; font-size: 10px; text-decoration: none; }
@media (min-width: 640px) {
    .nb-intro-card { grid-template-columns: 40% 1fr; align-items: center; gap: 32px; padding: 32px; }
    .nb-map-intro { height: 224px; }
    .nb-actions { flex-direction: row; }
    .nb-map { height: 220px; }
    .nb-sheet:not([hidden]) { justify-content: center; }
    .nb-sheet-card { border-radius: 24px; }
    .nb-sheet-content { border-radius: 24px; }
}
@media (min-width: 1024px) {
    .nb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 40%); gap: 24px; align-items: start; }
    .nb-aside { order: 2; align-self: start; position: sticky; top: 88px; }
    .nb-aside .nb-map { height: calc(100vh - 112px); min-height: 420px; max-height: 860px; margin-bottom: 0; }
}
@media (max-width: 380px) { .nb-heading { font-size: 20px; } .nb-loc { padding-inline: 10px; font-size: 14px; } }

.nb-sheet-card, .nb-sheet-content { outline: 0; }
.nb-sheet-close:focus-visible, .nb-tab:focus-visible { outline: 2px solid var(--nb-primary); outline-offset: 2px; }
.nb-sheet-close:focus:not(:focus-visible) { outline: 0; box-shadow: none; }
body.nb-sheet-open { overflow: hidden; }
.nb-page [class*="pb-heroicons-"] { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 1em; height: 1em; line-height: 1; vertical-align: middle; }
.nb-page [class*="pb-heroicons-"]::before { display: block; line-height: 1; }
.nb-btn i, .nb-loc i, .nb-sheet-close i { width: 1em; height: 1em; }
.nb-points i { margin-top: 3px; }
.nb-badge-icon, .job-card [class*="pb-heroicons-map-pin"] { vertical-align: -0.125em; }
.nb-page .nb-confirm-address > i { width: 36px; height: 36px; padding: 8px; box-sizing: border-box; font-size: 20px; border-radius: 50%; }
.nb-page .badge.bg-primary-subtle { background: #e6f0ff !important; color: #2466c9 !important; }
.nb-tab.is-active { background: linear-gradient(270deg, #00379d 0, #2466c9 100%); }
