.mr-mobile {
    --mr-ink: #182338;
    --mr-blue: #1563be;
    --mr-blue-dark: #104e97;
    --mr-blue-soft: #edf5ff;
    --mr-muted: #506179;
    --mr-line: #dce5f0;
    --mr-white: #fff;
    color: var(--mr-ink);
    font: 400 14px/1.55 "Pretendard Variable", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
    letter-spacing: -.02em;
    text-align: left;
}

.mr-mobile,
.mr-mobile *,
.mr-mobile *::before,
.mr-mobile *::after {
    box-sizing: border-box;
}

.mr-mobile [hidden] {
    display: none !important;
}

#mr-page {
    display: block;
    width: min(1024px, calc(100% - 32px));
    min-width: 0;
    margin: 0 auto;
    padding: 24px 0 38px;
}

#mr-page ~ .footerarea {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 16px 20px;
    color: #dde5f0;
    background: #1c2636;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

#mr-page ~ .footerarea :is(.menu_1, .copyarea_new) {
    box-sizing: border-box;
    width: min(1024px, 100%);
    height: auto;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    list-style: none;
}

#mr-page ~ .footerarea .menu_1 {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid #405069;
}

#mr-page ~ .footerarea .menu_1 li,
#mr-page ~ .footerarea .copyarea_new li {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: inherit;
    background: transparent;
    font: inherit;
    text-align: left;
}

#mr-page ~ .footerarea .menu_1 a {
    display: inline-flex;
    width: auto;
    min-height: 36px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.mr-mobile h1,
.mr-mobile h2,
.mr-mobile h3,
.mr-mobile p,
.mr-mobile ol,
.mr-mobile li {
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
}

.mr-mobile div {
    margin: 0;
    font: inherit;
    letter-spacing: inherit;
}

.mr-mobile :is(button, select, input) {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
}

.mr-mobile :is(button, a, select, input):focus-visible {
    outline: 2px solid #246ec8;
    outline-offset: 2px;
}

#mr-page.mr-mobile .mr-page-heading,
.mr-mobile.mr-policy-page .mr-page-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px 20px;
    margin: 0 0 15px;
}

.mr-mobile .mr-page-heading h1 {
    font-size: clamp(25px, 5.7vw, 33px);
    font-weight: 680;
    line-height: 1.25;
    letter-spacing: -.045em;
}

.mr-mobile .mr-page-heading p {
    margin-top: 6px;
    color: var(--mr-muted);
    font-size: 13px;
    word-break: keep-all;
}

.mr-mobile .mr-guide-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    min-width: 0;
}

.mr-mobile .mr-guide-links a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    color: var(--mr-blue-dark);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.mr-mobile .mr-guide-links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#mr-page #myfrm {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--mr-line);
    border-radius: 12px;
    background: #f3f8ff;
}

.mr-mobile .mr-button {
    display: inline-flex;
    width: auto;
    max-width: none;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    appearance: none;
    font: inherit;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mr-mobile .mr-primary {
    color: #fff;
    background: var(--mr-blue);
}

.mr-mobile .mr-primary:not(:disabled):hover {
    background: var(--mr-blue-dark);
}

.mr-mobile .mr-outline {
    border-color: #b8cde6;
    color: var(--mr-blue-dark);
    background: #fff;
}

.mr-mobile .mr-outline:not(:disabled):hover {
    background: var(--mr-blue-soft);
}

.mr-mobile .mr-button:disabled {
    opacity: .62;
    cursor: default;
}

#mr-page #mr-calendar {
    position: fixed;
    inset: 0;
    width: min(390px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #d8e1ef;
    border-radius: 16px;
    color: var(--mr-ink);
    background: #fff;
    box-shadow: 0 16px 45px rgba(24, 35, 56, .22);
    font: inherit;
    text-align: left;
}

#mr-page #mr-calendar:not([open]) {
    display: none;
}

#mr-page #mr-calendar::backdrop {
    background: rgba(14,29,48,.48);
}

#mr-page .mr-calendar-heading,
#mr-page .mr-calendar-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

#mr-page .mr-calendar-heading {
    padding-bottom: 7px;
    border-bottom: 1px solid var(--mr-line);
}

#mr-page #mr-calendar-title,
#mr-page #mr-calendar-month {
    margin: 0;
    color: var(--mr-ink);
    font-size: 17px;
    font-weight: 650;
}

#mr-page .mr-calendar-navigation {
    padding-block: 9px 4px;
}

#mr-page #mr-calendar-month {
    font-size: 20px;
    white-space: nowrap;
}

#mr-page #mr-calendar button {
    display: grid;
    float: none;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    place-items: center;
    border: 0;
    appearance: none;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

#mr-page #mr-calendar .mr-calendar-close,
#mr-page #mr-calendar .mr-calendar-month-button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #eef5ff;
}

#mr-page #mr-calendar .mr-calendar-close {
    background: transparent;
}

#mr-page #mr-calendar :is(.mr-calendar-close, .mr-calendar-month-button):enabled:hover {
    background: #e1efff;
}

#mr-page .mr-calendar-week,
#mr-page .mr-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
    text-align: center;
}

#mr-page .mr-calendar-week span {
    display: grid;
    min-height: 35px;
    place-items: center;
    color: var(--mr-muted);
    font-size: 13px;
    font-weight: 600;
}

#mr-page #mr-calendar .mr-calendar-day {
    width: 100%;
    height: 42px;
    border-radius: 9px;
    color: var(--mr-ink);
    background: transparent;
    font-size: 15px;
    font-weight: 550;
}

#mr-page .mr-calendar-week span:is(:first-child, :last-child),
#mr-page #mr-calendar .mr-calendar-day:is(:nth-child(7n + 1), :nth-child(7n)) {
    color: #c33634;
}

#mr-page #mr-calendar .mr-calendar-day:enabled:hover,
#mr-page #mr-calendar .mr-calendar-day[aria-current="date"]:enabled {
    color: var(--mr-blue);
    background: #e8f2ff;
}

#mr-page #mr-calendar .mr-calendar-day[aria-pressed="true"]:enabled {
    color: #fff;
    background: var(--mr-blue);
    font-weight: 650;
}

#mr-page #mr-calendar .mr-calendar-day:disabled {
    color: #8794a5;
    cursor: default;
}

#mr-page #mr-calendar .mr-calendar-day[aria-hidden="true"],
#mr-page #mr-calendar .mr-calendar-month-button:disabled {
    opacity: .42;
    cursor: default;
}

.mr-mobile .mr-dates,
.mr-mobile .mr-search-extra {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 11px 12px;
}

.mr-mobile .mr-date-group,
.mr-mobile .mr-filters {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.mr-mobile legend {
    margin: 0 0 5px;
    padding: 0;
    color: var(--mr-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 650;
}

.mr-mobile .mr-date-controls {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(55px, 1fr));
    gap: 6px;
}

.mr-mobile .mr-search-extra {
    grid-template-columns: minmax(0, 1fr) minmax(82px, .45fr);
    align-items: end;
    margin-top: 11px;
}

.mr-mobile .mr-search-extra.is-detail {
    grid-template-columns: minmax(72px, .55fr) minmax(0, 1fr);
}

.mr-mobile .mr-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    min-width: 0;
    margin: 0;
    font: inherit;
}

.mr-mobile .mr-field > span {
    font-size: 13px;
    font-weight: 630;
}

#mr-page .mr-date-controls :is(select, input, button),
#mr-page .mr-field :is(select, input) {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 44px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid #cbd9e9;
    border-radius: 7px;
    color: var(--mr-ink);
    background: var(--mr-white);
    font-size: 16px;
    font-weight: 400;
    box-shadow: none;
}

#mr-page .mr-date-controls input[type="date"],
#mr-page .mr-date-controls select {
    padding-inline: 6px;
    font-size: clamp(13px, 3.5vw, 16px);
}

#mr-page #myfrm select {
    appearance: auto;
    background-image: none;
}

#mr-page .mr-date-controls .mr-date-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding-inline: 8px;
    appearance: none;
    font-size: clamp(13px, 3.55vw, 16px);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.mr-mobile .mr-date-trigger svg,
.mr-mobile .mr-calendar svg {
    display: block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #3d6495;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mr-mobile .mr-search-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
}

.mr-mobile .mr-search-extra.is-detail .mr-search-submit {
    grid-column: auto;
}

.mr-mobile .mr-filters {
    width: 100%;
    margin-top: 12px;
}

.mr-mobile .mr-filters legend {
    margin-top: 5px;
}

.mr-mobile .mr-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mr-mobile .mr-filter {
    position: relative;
    max-width: 100%;
    margin: 0;
}

.mr-mobile .mr-filter input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.mr-mobile .mr-chip {
    display: inline-flex;
    min-width: 52px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid #cbd9e9;
    border-radius: 8px;
    appearance: none;
    color: #36506d;
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    overflow-wrap: anywhere;
    cursor: pointer;
}

.mr-mobile .mr-chip[aria-pressed="true"],
.mr-mobile .mr-filter input:checked + .mr-chip {
    border-color: var(--mr-blue);
    color: #fff;
    background: var(--mr-blue);
}

.mr-mobile .mr-filter input:focus-visible + .mr-chip {
    outline: 2px solid #246ec8;
    outline-offset: 2px;
}

.mr-mobile .mr-form-message {
    margin-top: 10px;
    color: #9e3238;
    font-size: 13px;
}

#mr-results {
    margin-top: 25px;
    scroll-margin-top: 92px;
}

.mr-mobile .mr-results > h2 {
    margin: 0 0 9px;
    font-size: clamp(20px, 4.85vw, 26px);
    font-weight: 680;
    line-height: 1.28;
    letter-spacing: -.035em;
}

.mr-mobile .mr-result-count {
    margin-bottom: 10px;
    color: var(--mr-muted);
    font-size: 13px;
}

.mr-mobile .mr-car-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mr-mobile .mr-car-list > li {
    min-width: 0;
    margin: 0;
}

.mr-mobile .mr-car-card,
.mr-mobile .mr-detail-card,
.mr-mobile .mr-quote-panel,
.mr-mobile .mr-policy-content {
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--mr-line);
    border-radius: 10px;
    background: #fff;
}

.mr-mobile .mr-car-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 9px 11px;
}

.mr-mobile .mr-photo {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 76px;
    aspect-ratio: 4 / 3;
    place-items: center;
    padding: 4px;
    overflow: hidden;
    border-radius: 7px;
    color: var(--mr-muted);
    background: #f1f6fc;
    font-size: 11px;
    text-align: center;
}

.mr-mobile .mr-photo img {
    position: absolute;
    inset: 0;
    display: block;
    float: none;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 4px;
    border: 0;
    background: #fff;
    object-fit: contain;
}

.mr-mobile .mr-card-copy {
    min-width: 0;
    align-self: center;
}

.mr-mobile .mr-card-copy h3,
.mr-mobile .mr-detail-name h3 {
    font-size: 17px;
    font-weight: 680;
    line-height: 1.28;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.mr-mobile .mr-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
    margin: 7px 0 0;
    padding: 0;
    list-style: none;
}

.mr-mobile .mr-specs > li {
    padding: 2px 6px;
    border-radius: 4px;
    color: #34567b;
    background: #edf4fd;
    font-size: 11px;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.mr-mobile .mr-card-bottom,
.mr-mobile .mr-booking {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    margin: 0;
}

.mr-mobile .mr-card-bottom {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid #e5edf6;
}

.mr-mobile .mr-price-copy {
    display: grid;
    justify-items: start;
    gap: 2px;
    min-width: 0;
    color: var(--mr-muted);
    font-size: 12px;
}

.mr-mobile .mr-money {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: var(--mr-blue-dark);
    font-size: clamp(20px, 5.4vw, 25px);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.mr-mobile .mr-money strong {
    font-weight: 720;
}

.mr-mobile .mr-money small {
    font-size: .62em;
    font-weight: 550;
}

.mr-mobile .mr-muted-price {
    color: var(--mr-ink);
    font-size: 14px;
    font-weight: 630;
}

.mr-mobile .mr-card-bottom .mr-button {
    min-width: 86px;
    margin-left: auto;
}

.mr-mobile .mr-detail-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
}

.mr-mobile .mr-detail-vehicle {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 10px;
    min-width: 0;
}

.mr-mobile .mr-detail-vehicle .mr-photo {
    aspect-ratio: 16 / 9;
    max-height: 290px;
}

.mr-mobile .mr-detail-name h3 {
    font-size: clamp(19px, 4.7vw, 24px);
}

.mr-mobile .mr-detail-quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 11px;
    min-width: 0;
}

.mr-mobile .mr-trip-summary,
.mr-mobile .mr-fee-breakdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--mr-line);
    border-radius: 8px;
    background: #f8fbff;
}

.mr-mobile .mr-fee-breakdown {
    padding: 0;
    border: 0;
    background: transparent;
}

.mr-mobile .mr-trip-summary dt,
.mr-mobile .mr-fee-breakdown dt {
    color: var(--mr-muted);
    font-size: 12px;
}

.mr-mobile .mr-trip-summary dd,
.mr-mobile .mr-fee-breakdown dd {
    min-width: 0;
    margin: 1px 0 0;
    color: var(--mr-ink);
    font-size: 13px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.mr-mobile .mr-booking {
    padding: 10px;
    border: 1px solid #b8d0ed;
    border-radius: 8px;
    background: #eff6ff;
}

.mr-mobile .mr-booking .mr-money {
    font-size: clamp(22px, 6vw, 29px);
}

.mr-mobile .mr-booking .mr-button {
    min-width: 100px;
    margin-left: auto;
}

.mr-mobile .mr-quote-panel .mr-booking,
.mr-mobile .mr-quote-panel .mr-message,
.mr-mobile .mr-quote-actions {
    margin-top: 10px;
}

.mr-mobile .mr-quote-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.mr-mobile .mr-quote-actions .mr-button {
    flex: 1 1 auto;
}

.mr-mobile .mr-message {
    min-width: 0;
    padding: 20px 12px;
    border: 1px solid var(--mr-line);
    border-radius: 10px;
    color: var(--mr-muted);
    background: #f7faff;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: keep-all;
}

.mr-mobile .mr-message strong {
    display: block;
    color: var(--mr-ink);
    font-size: 14px;
    font-weight: 650;
}

.mr-mobile .mr-message p,
.mr-mobile .mr-message .mr-button {
    margin-top: 7px;
}

.mr-mobile .mr-policies {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.mr-mobile .mr-policy {
    min-width: 0;
    border: 1px solid var(--mr-line);
    border-radius: 10px;
    background: #fff;
}

.mr-mobile .mr-policy h2 {
    padding: 11px 13px;
    border-bottom: 1px solid var(--mr-line);
    border-radius: 9px 9px 0 0;
    background: #f4f8fe;
    font-size: 16px;
    font-weight: 650;
}

.mr-mobile .mr-policy .mr-policy-content {
    border: 0;
    border-radius: 0 0 9px 9px;
}

.mr-mobile .mr-policy-content {
    max-width: 100%;
    overflow-x: auto;
    font-size: 14px;
    overflow-wrap: anywhere;
    word-break: normal;
}

.mr-mobile .mr-policy-content :is(ul, ol) {
    padding-left: 1.2em;
    list-style: revert;
}

.mr-mobile .mr-policy-content table {
    max-width: 100%;
    border-collapse: collapse;
}

.mr-mobile .mr-policy-content :is(th, td) {
    padding: 6px;
    border: 1px solid var(--mr-line);
}

.mr-mobile .mr-policy-content img {
    max-width: 100%;
    height: auto;
}

.mr-mobile.mr-policy-page {
    width: min(768px, calc(100% - 32px));
    margin: 24px auto;
}

.mr-mobile.mr-policy-page h1 {
    font-size: clamp(22px, 5vw, 30px);
}

@media (min-width: 760px) {
    #mr-page {
        padding: 32px 0 44px;
    }

    #mr-page #myfrm {
        padding: 19px;
    }

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

    .mr-mobile .mr-search-extra {
        grid-template-columns: minmax(0, 1.5fr) minmax(100px, .45fr) minmax(150px, .66fr);
    }

    .mr-mobile .mr-search-extra.is-detail {
        grid-template-columns: minmax(110px, .35fr) minmax(170px, .45fr);
    }

    .mr-mobile .mr-search-submit {
        grid-column: auto;
    }

    #mr-page .mr-car-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #mr-page .mr-detail-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
        padding: 16px;
    }

    #mr-results {
        scroll-margin-top: 118px;
    }
}
