* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(180deg, #f6f7fb 0%, #eef2f7 100%);
    color: #132238;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.app-shell {
    width: min(100%, 500px);
    max-width: 500px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 16px 14px 104px;
    position: relative;
}

.phone-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 62px;
    margin-bottom: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand--image {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 56px);
    padding-left: 4px;
}

.brand__image {
    width: auto;
    max-width: 168px;
    max-height: 66px;
    height: auto;
    object-fit: contain;
}

.brand__badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0d4f9b, #28b463);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(13, 79, 155, 0.22);
}

.brand__title {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand__title span {
    color: #28b463;
}

.surface {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 40px rgba(22, 34, 51, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.search-panel {
    border-radius: 24px;
    padding: 14px;
    margin-bottom: 14px;
}

.feed-segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.feed-segmented-control__option {
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #6a7b8d;
    font-weight: 900;
}

.feed-segmented-control__option.is-selected {
    color: #fff;
    background: linear-gradient(135deg, #0f8e91, #2da657);
    box-shadow: 0 14px 24px rgba(15, 142, 145, 0.18);
}

.feed-segmented-control__icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
}

.feed-segmented-control__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.search-grid--single {
    grid-template-columns: 1fr;
}

.field {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f9fc;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    padding: 12px 14px;
}

.field svg {
    width: 18px;
    height: 18px;
    fill: #577089;
    flex: 0 0 auto;
}

.field--disabled {
    opacity: 0.55;
}

.field input,
.field select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #132238;
}

.chip-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 6px 2px 4px;
    margin-bottom: 16px;
}

.chip-row::-webkit-scrollbar {
    display: none;
}

.chip-row--fixed {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
    align-items: stretch;
}

.chip {
    white-space: nowrap;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 700;
    border: 0;
    color: #35506a;
    background: #fff;
    box-shadow: 0 8px 20px rgba(19, 34, 56, 0.08);
}

.chip.is-selected {
    color: #fff;
    background: linear-gradient(135deg, #0d4f9b, #28b463);
}

.chip-row--wrap {
    flex-wrap: wrap;
    overflow: visible;
}

.chip--check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chip__check {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(13, 79, 155, 0.12);
    color: #0d4f9b;
    font-size: 0.78rem;
    font-weight: 900;
}

.chip.is-selected .chip__check {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.chip--toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.chip--toggle input {
    display: none;
}

.chip-row--fixed .chip {
    flex: 1 1 0;
    min-width: 0;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    line-height: 1.1;
    min-height: 42px;
    padding: 8px 10px;
    font-size: 0.82rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(19, 34, 56, 0.06);
    border-radius: 18px;
    box-shadow: 0 6px 14px rgba(19, 34, 56, 0.05);
}

@media (min-width: 768px) {
    .chip-row--fixed .chip {
        flex: 0 1 auto;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 0.84rem;
    }
}

.chip-row--disabled {
    opacity: 0.5;
}

.job-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.job-list--courses {
    gap: 16px;
}

.job-card {
    border-radius: 24px;
    padding: 16px;
    min-width: 0;
    min-height: 310px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.job-card--highlighted {
    border-color: rgba(13, 79, 155, 0.26);
    box-shadow: 0 18px 42px rgba(13, 79, 155, 0.14);
    position: relative;
}

.job-card--highlighted::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #0d4f9b, #28b463);
}

.job-card__top,
.job-card__meta,
.job-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.job-card__top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-card__type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #577089;
}

.job-card__type--directo {
    color: #1f8f50;
}

.job-card__title {
    margin: 8px 0 4px;
    font-size: 1.18rem;
    line-height: 1.12;
    font-weight: 900;
    word-break: break-word;
}

.job-card__company {
    margin: 0;
    color: #395572;
    font-weight: 600;
}

.job-card__meta {
    margin: 10px 0 14px;
    font-size: 0.92rem;
    color: #577089;
}

.pill-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.pill {
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #eef5ff;
    color: #0d4f9b;
}

.pill--green {
    background: #e9f8ef;
    color: #1f8f50;
}

.job-card__actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
}

.card-actions-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-actions-inline__button {
    flex: 1 1 auto;
}

.card-actions-inline__button .btn {
    width: 100%;
}

.job-card__description {
    margin: 0 0 14px;
    line-height: 1.45;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: 4.2em;
}

.job-card__expand {
    border: 0;
    background: transparent;
    color: #0d4f9b;
    font-weight: 800;
    text-align: left;
    padding: 0;
    margin: -6px 0 12px;
}

.job-card--manual {
    padding: 0;
    min-height: 0;
    overflow: hidden;
}

.job-card__manual-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 16px;
    border-bottom: 1px solid #d7e0ea;
}

.job-card__manual-header--popup {
    padding: 0 0 10px;
    border-bottom: 0;
}

.job-card__manual-company {
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.18;
    color: #111827;
}

.job-card__manual-distance {
    color: #6b7280;
    font-size: 0.98rem;
    white-space: nowrap;
}

.job-card__manual-body {
    padding: 18px 20px 20px;
}

.job-card__manual-title {
    margin: 0;
    font-size: 1.78rem;
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f2458;
    text-shadow: 0 1px 0 #fff;
}

.job-card__manual-location {
    margin: 8px 0 0;
    color: #223249;
    font-size: 1rem;
}

.job-card__manual-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 18px;
}

.job-card__manual-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 10px;
    background: #dcecff;
    color: #203a56;
    font-size: 0.84rem;
    font-weight: 700;
}

.job-card__manual-description {
    margin: 0;
    color: #223249;
    line-height: 1.48;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.job-card__manual-divider {
    height: 1px;
    margin: 18px 0;
    background: #d7e0ea;
}

.manual-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.manual-actions--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.manual-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 14px;
    min-width: 0;
    border-radius: 14px;
    font-weight: 900;
    font-size: 0.98rem;
    text-align: center;
}

.manual-action span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manual-action svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.manual-action--compact {
    min-height: 44px;
    border-radius: 12px;
    font-size: 0.88rem;
}

.manual-action--whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #49ad5b, #69cb76);
    box-shadow: 0 12px 20px rgba(73, 173, 91, 0.22);
}

.manual-action--email {
    color: #fff;
    background: linear-gradient(135deg, #3279bf, #4e93d7);
    box-shadow: 0 12px 20px rgba(50, 121, 191, 0.22);
}

.manual-action--instagram {
    color: #0f172a;
    background: #fff;
    border: 2px solid #0f172a;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    padding: 14px;
    font-weight: 800;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #1aa85d, #29d66d);
    box-shadow: 0 14px 24px rgba(31, 143, 80, 0.22);
}

.btn--secondary {
    color: #fff;
    background: linear-gradient(135deg, #5f6c7d, #8b98a7);
}

.btn--brand {
    color: #fff;
    background: linear-gradient(135deg, #2f7be8, #489ae9);
    box-shadow: 0 12px 20px rgba(47, 123, 232, 0.2);
}

.btn--danger {
    color: #fff;
    background: linear-gradient(135deg, #d64545, #ff6b6b);
    box-shadow: 0 14px 24px rgba(214, 69, 69, 0.22);
}

.btn--disabled {
    color: #6e7f91;
    background: #e8edf3;
    box-shadow: inset 0 0 0 1px #d3dce7;
    cursor: default;
    pointer-events: none;
}

.icon-button {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border: 0;
    border-radius: 16px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(19, 34, 56, 0.08);
    color: #35506a;
    position: relative;
}

.icon-button svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff667b, #ff8f5a);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 900;
    display: inline-grid;
    place-items: center;
    box-shadow: 0 10px 18px rgba(214, 69, 69, 0.24);
}

.favorite-button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    background: transparent;
    color: #8ea0b2;
    box-shadow: inset 0 0 0 1px #dbe4ef;
}

.favorite-button--compact {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.favorite-button--active {
    background: linear-gradient(135deg, #ff6b8b, #ff8f5a);
    color: #fff;
    box-shadow: 0 14px 24px rgba(13, 79, 155, 0.18);
}

.favorite-button__icon {
    display: inline-grid;
    place-items: center;
    line-height: 1;
}

.favorite-button__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.favorite-button--active .favorite-button__icon svg {
    fill: currentColor;
}

.job-card--inactive {
    opacity: 0.7;
    filter: grayscale(0.18);
}

.course-card {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    padding: 0;
    min-height: 0;
}

.course-card__media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(245, 248, 252, 0.98) 0%, rgba(245, 248, 252, 0.92) 56%, rgba(245, 248, 252, 0.62) 100%),
        linear-gradient(135deg, #eef4fb, #dce7f5);
    background-size: cover;
    background-position: center;
}

.course-card__body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    padding: 18px;
}

.course-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.course-card__academy {
    font-size: 0.96rem;
    font-weight: 900;
    color: #132238;
}

.course-card__zone {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #54687e;
    font-size: 0.8rem;
    font-weight: 800;
}

.course-card__title {
    margin: 0;
    max-width: 88%;
    font-size: 1.9rem;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.course-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.course-card__pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #21374e;
    font-size: 0.82rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(19, 34, 56, 0.08);
}

.course-card__pill--mode {
    color: #0f7d7c;
    background: rgba(225, 250, 246, 0.95);
}

.course-card__description {
    margin: 0;
    color: #31485f;
    line-height: 1.48;
    font-weight: 600;
}

.course-card__date {
    margin: -2px 0 0;
    font-size: 0.82rem;
    font-weight: 700;
}

.course-card__actions {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 6px;
}

.course-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 14px;
    font-weight: 900;
    text-align: center;
}

.course-card__button-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.course-card__button-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.course-card__button--primary {
    color: #fff;
    background: linear-gradient(135deg, #2f7be8, #489ae9);
    box-shadow: 0 12px 20px rgba(47, 123, 232, 0.2);
}

.course-card__button--whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #30b85a, #4dd36b);
    box-shadow: 0 12px 20px rgba(48, 184, 90, 0.2);
}

.course-card__button--ghost {
    grid-column: 1 / -1;
    color: #1f3550;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d5e0ec;
}

.course-card__notice {
    display: grid;
    gap: 6px;
    margin-top: 4px;
}

.course-card__notice-text {
    margin: 0;
    color: #5a6d80;
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 600;
}

.course-card__notice-link {
    color: #2a6cb8;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: none;
}

.course-card__notice-link:hover,
.course-card__notice-link:focus-visible {
    text-decoration: underline;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 0 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2f6;
    color: #5d7082;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.map-panel {
    border-radius: 28px;
    overflow: hidden;
    min-height: 300px;
    margin-bottom: 14px;
}

.map-panel--full {
    min-height: calc(100vh - 176px);
    margin-bottom: 0;
}

#map {
    min-height: 320px;
}

.map-panel--full #map {
    min-height: calc(100vh - 176px);
}

.sheet {
    border-radius: 28px 28px 0 0;
    padding: 18px 16px 10px;
    margin-top: -22px;
    position: relative;
}

.sheet__handle {
    width: 56px;
    height: 6px;
    border-radius: 999px;
    background: #d5dce5;
    margin: 0 auto 14px;
}

.section-title {
    margin: 0 0 14px;
    font-size: 1.5rem;
    line-height: 1.1;
}

.profile-card {
    border-radius: 28px;
    padding: 18px;
    margin-bottom: 14px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.profile-header--stack {
    align-items: stretch;
    flex-direction: column;
}

.profile-header--compact {
    margin-bottom: 12px;
}

.profile-section-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
}

.profile-section-toggle__content {
    display: grid;
    gap: 4px;
}

.profile-section-toggle__icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: #eef2f7;
    color: #35506a;
    font-size: 1.2rem;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: inset 0 0 0 1px #dbe4ef;
}

.profile-section-toggle[aria-expanded="true"] .profile-section-toggle__icon {
    transform: rotate(180deg);
    background: #dde8f5;
}

.profile-notifications-panel {
    margin-top: 16px;
}

.profile-notifications-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.profile-notifications-panel__title {
    margin: 0 0 6px;
    font-size: 1rem;
}

.avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #79bad0, #0d4f9b);
}

.menu-list {
    display: grid;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7f9fc;
    border: 1px solid #dbe4ef;
    font-weight: 700;
}

.menu-item--toggle {
    gap: 14px;
}

.menu-item--toggle input,
.notifications-setting input {
    width: 18px;
    height: 18px;
    accent-color: #0d4f9b;
}

a.menu-item {
    text-decoration: none;
    color: inherit;
}

button.menu-item {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.menu-item--danger {
    color: #d64545;
    border-color: rgba(214, 69, 69, 0.18);
    background: #fff7f7;
}

.menu-item--danger .muted {
    color: inherit;
}

.favorites-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.favorites-filter .chip {
    box-shadow: none;
    border: 1px solid #dbe4ef;
}

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    width: min(448px, calc(100% - 20px));
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(19, 34, 56, 0.14);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.bottom-nav__item {
    text-align: center;
    padding: 8px 4px;
    border-radius: 18px;
    color: #6a7b8d;
    font-size: 0.8rem;
    font-weight: 700;
}

.bottom-nav__item.is-active {
    color: #0d4f9b;
    background: #edf4ff;
}

.bottom-nav__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    display: block;
    margin: 0 auto 4px;
}

.muted {
    color: #6a7b8d;
}

.hidden {
    display: none !important;
}

.empty-state {
    text-align: center;
    padding: 28px 20px;
    border-radius: 24px;
}

.context-banner {
    margin-bottom: 14px;
    border-radius: 18px;
    padding: 12px 14px;
    font-weight: 700;
    color: #0d4f9b;
}

.feed-controls {
    display: grid;
    gap: 12px;
    justify-items: center;
    margin: 16px 0 8px;
}

.feed-controls .btn {
    min-width: 180px;
}

.favorites-subtitle {
    margin: -4px 0 16px;
}

.leaflet-popup-content-wrapper {
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 16px 32px rgba(19, 34, 56, 0.14);
}

.leaflet-popup-content {
    margin: 0;
    min-width: 0;
    width: min(252px, calc(100vw - 88px));
}

.leaflet-container a.leaflet-popup-close-button {
    top: 10px;
    right: 10px;
}

.map-popup-card {
    position: relative;
    padding: 12px;
    padding-top: 16px;
}

.map-popup-card__top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 6px;
}

.map-popup-card__title {
    margin: 0 0 6px;
    font-size: 0.95rem;
    line-height: 1.18;
}

.map-popup-card__company {
    margin: 0 0 8px;
    color: #395572;
    font-weight: 600;
    font-size: 0.9rem;
}

.map-popup-card__description {
    margin: 0 0 10px;
    line-height: 1.4;
    font-size: 0.88rem;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.map-popup-card__actions {
    display: grid;
    gap: 8px;
}

.map-popup-card--manual {
    padding-top: 14px;
}

.map-popup-card__actions .btn {
    padding: 11px 12px;
    border-radius: 14px;
    font-size: 0.88rem;
}

.map-popup-card__actions .btn--secondary {
    color: #fff !important;
}

.map-popup-card__actions .card-actions-inline {
    gap: 10px;
    padding-right: 4px;
}

.map-popup-card .pill-row {
    margin-bottom: 10px;
}

.map-popup-card .pill {
    padding: 6px 9px;
    font-size: 0.74rem;
}

.map-popup-card__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 11px;
    background: #eef2f7;
    color: #35506a;
    display: inline-grid;
    place-items: center;
    font-size: 1.15rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px #dbe4ef;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(19, 34, 56, 0.34);
}

.modal-card {
    position: relative;
    width: min(100%, 360px);
    border-radius: 24px;
    padding: 22px 18px 18px;
}

.modal-card--detail {
    width: min(100%, 580px);
    max-height: min(86vh, 760px);
    overflow: auto;
}

.modal-card h3 {
    margin: 10px 0 8px;
    font-size: 1.2rem;
}

.modal-card p {
    margin: 0;
}

.auth-modal {
    width: min(100%, 388px);
}

.auth-modal__lead {
    margin-bottom: 14px !important;
}

.auth-modal__section {
    margin-bottom: 12px;
}

.auth-modal__google-button {
    min-height: 44px;
    display: flex;
    justify-content: center;
}

.auth-modal__tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.auth-modal__tab {
    border: 0;
    border-radius: 14px;
    padding: 11px 12px;
    background: #eef2f7;
    color: #577089;
    font-weight: 800;
}

.auth-modal__tab.is-active {
    background: linear-gradient(135deg, #0d4f9b, #28b463);
    color: #fff;
}

.auth-modal__form {
    display: grid;
    gap: 10px;
}

.auth-modal__field {
    width: 100%;
}

.auth-modal__password-field {
    position: relative;
}

.auth-modal__password-field input {
    padding-right: 34px;
}

.auth-modal__password-toggle {
    border: 0;
    background: transparent;
    color: #577089;
    width: 26px;
    height: 26px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
}

.auth-modal__password-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-modal__terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #35506a;
    font-size: 0.92rem;
    line-height: 1.45;
}

.auth-modal__terms input {
    margin-top: 3px;
    accent-color: #0d4f9b;
}

.auth-modal__terms a,
.auth-modal__links a {
    color: #0d4f9b;
    font-weight: 700;
}

.auth-modal__full {
    width: 100%;
}

.auth-modal__status {
    min-height: 1.3em;
    font-size: 0.9rem;
    line-height: 1.4;
}

.auth-modal__links {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    justify-content: center;
    font-size: 0.88rem;
}

.profile-card__meta {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.profile-confirm__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.notifications-setting-list {
    display: grid;
    gap: 10px;
}

.notifications-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dbe4ef;
    font-weight: 700;
}

.notifications-list {
    display: grid;
    gap: 10px;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    padding-right: 4px;
}

.notifications-empty {
    padding: 6px 2px 4px;
}

.notifications-empty h4 {
    margin: 0 0 6px;
}

.notification-item {
    width: 100%;
    border: 1px solid #dbe4ef;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    text-align: left;
    color: #132238;
}

.notification-item--unread {
    border-color: rgba(13, 79, 155, 0.24);
    box-shadow: 0 10px 24px rgba(13, 79, 155, 0.08);
}

.notification-item__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.notification-item__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.notification-item__date {
    color: #6a7b8d;
    font-size: 0.82rem;
    font-weight: 700;
}

.notification-item__status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.notification-item__status--unread {
    color: #0d4f9b;
    background: rgba(13, 79, 155, 0.1);
}

.notification-item__status--read {
    color: #4b647d;
    background: #eef2f7;
}

.notification-item__status svg {
    width: 14px;
    height: 14px;
    display: block;
}

.notification-item__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(13, 79, 155, 0.12);
}

.notification-item h4 {
    margin: 0 0 6px;
    font-size: 1rem;
}

.notification-item p {
    color: #35506a;
    line-height: 1.45;
}

.job-detail {
    display: grid;
    gap: 14px;
}

.job-detail__company {
    margin: -4px 0 0;
    color: #395572;
    font-weight: 700;
}

.job-detail__description {
    margin: 0;
    color: #223249;
    line-height: 1.6;
    white-space: pre-wrap;
}

.job-detail__actions {
    display: grid;
    gap: 10px;
}

.interest-form {
    display: grid;
    gap: 22px;
}

.interest-section {
    display: grid;
    gap: 12px;
}

.interest-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.interest-section__title {
    margin: 0;
    font-size: 1rem;
    color: #132238;
}

.interest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.interest-form__submit {
    width: 100%;
}

.modal-card__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: #eef2f7;
    color: #35506a;
    display: inline-grid;
    place-items: center;
    font-size: 1.2rem;
    line-height: 1;
    box-shadow: inset 0 0 0 1px #dbe4ef;
}

@media (max-width: 640px) {
    .profile-confirm__actions,
    .interest-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

body[data-initial-view="mapa"] .search-panel {
    margin-bottom: 12px;
}

body[data-initial-view="mapa"] .map-panel--full,
body[data-initial-view="mapa"] .map-panel--full #map {
    min-height: calc(100vh - 252px);
}

@media (min-width: 768px) {
    body {
        padding: 18px 0;
    }

    .app-shell {
        border-radius: 36px;
    }
}

@media (max-width: 420px) {
    .app-shell {
        width: 100%;
        max-width: 100%;
        padding: 14px 12px 104px;
    }

    .search-grid {
        grid-template-columns: 1fr;
    }

    .job-card {
        border-radius: 22px;
        padding: 14px;
        min-height: 296px;
    }

    .brand--image {
        max-width: calc(100% - 54px);
        padding-left: 2px;
    }

    .brand__image {
        max-width: 152px;
        max-height: 58px;
    }

    .map-panel--full,
    .map-panel--full #map {
        min-height: calc(100vh - 160px);
    }

    body[data-initial-view="mapa"] .map-panel--full,
    body[data-initial-view="mapa"] .map-panel--full #map {
        min-height: calc(100vh - 230px);
    }

    .job-card__title {
        font-size: 1.08rem;
    }

    .job-card__manual-header,
    .job-card__manual-body {
        padding-left: 14px;
        padding-right: 14px;
    }

    .job-card__manual-title {
        font-size: 1.46rem;
    }

    .manual-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .course-card__title {
        max-width: 100%;
        font-size: 1.56rem;
    }

    .course-card__actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .btn {
        padding: 13px 12px;
    }
}

@media (min-width: 860px) {
    body {
        padding: 28px 18px 120px;
    }

    .app-shell {
        width: min(1180px, calc(100% - 32px));
        max-width: 1180px;
        padding: 26px 24px 128px;
    }

    .phone-topbar {
        min-height: 88px;
        margin-bottom: 18px;
        padding: 14px 18px;
        border-radius: 26px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.78);
        box-shadow: 0 16px 40px rgba(19, 34, 56, 0.08);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .search-panel {
        padding: 18px;
    }

    .brand--image {
        max-width: min(320px, calc(100% - 72px));
        padding-left: 6px;
    }

    .brand__image {
        max-width: 220px;
        max-height: 82px;
    }

    .icon-button {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 18px;
    }

    .icon-button svg {
        width: 24px;
        height: 24px;
    }

    .job-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .job-card {
        min-height: 330px;
    }

    .job-card__title {
        font-size: 1.22rem;
    }

    .job-card__manual-title {
        font-size: 2rem;
    }

    .bottom-nav {
        width: min(560px, calc(100% - 32px));
    }

    .map-panel--full,
    .map-panel--full #map {
        min-height: calc(100vh - 220px);
    }

    body[data-initial-view="mapa"] .map-panel--full,
    body[data-initial-view="mapa"] .map-panel--full #map {
        min-height: calc(100vh - 286px);
    }
}
