@charset "UTF-8";

/* Inquiry controls share the homepage's Pulmuone green palette. */
.lohas-dialog-layer,
.lohas-drag-wrap {
    --lohas-ui-green: #5b961e;
    --lohas-ui-green-dark: #315f1b;
    --lohas-ui-green-soft: #f0f7e9;
    --lohas-ui-ink: #20382a;
    --lohas-ui-muted: #6b786f;
    --lohas-ui-line: #dce7d5;
    font-family: inherit;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

.lohas-dialog-layer *,
.lohas-drag-wrap * { box-sizing: border-box; }
body.lohas-dialog-open { overflow: hidden; }

.lohas-dialog-layer {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    isolation: isolate;
}

.lohas-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 36, 24, 0.48);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    animation: lohas-dialog-fade 0.18s ease both;
}

.lohas-dialog-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 34px 30px 26px;
    border: 1px solid rgba(231, 239, 225, 0.95);
    border-radius: 26px;
    background: #ffffff;
    color: var(--lohas-ui-ink);
    box-shadow: 0 28px 85px rgba(12, 38, 17, 0.2);
    text-align: center;
    animation: lohas-dialog-arrive 0.22s ease both;
    overscroll-behavior: contain;
}

.lohas-dialog-panel:focus { outline: none; }

.lohas-dialog-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 18px;
    border: 1px solid #dcebcf;
    border-radius: 20px;
    background: var(--lohas-ui-green-soft);
    color: var(--lohas-ui-green-dark);
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
}
.lohas-dialog-badge.is-success { background: #edf6e6; color: #40791c; }
.lohas-dialog-badge.is-warning { border-color: #f1e1c1; background: #fff7e9; color: #946319; }
.lohas-dialog-badge.is-error { border-color: #eed8cf; background: #fff1eb; color: #a65532; }
.lohas-dialog-badge.is-info { background: #f0f7e9; color: #477d24; }

.lohas-dialog-eyebrow {
    margin: 0 0 8px;
    color: var(--lohas-ui-green-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.12em;
}
.lohas-dialog-title {
    margin: 0 0 12px;
    color: var(--lohas-ui-ink);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.045em;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
.lohas-dialog-message {
    margin: 0;
    color: #59685e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: -0.025em;
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
.lohas-dialog-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 27px;
}
.lohas-dialog-layer button.lohas-dialog-button {
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 13px;
    font: inherit;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: -0.02em;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.lohas-dialog-layer button.lohas-dialog-button.is-primary {
    border-color: #477d24;
    background: #477d24;
    color: #ffffff;
    box-shadow: 0 6px 13px rgba(71, 116, 29, 0.14);
}
.lohas-dialog-layer button.lohas-dialog-button.is-primary:hover { border-color: #3c6b1e; background: #3c6b1e; }
.lohas-dialog-layer button.lohas-dialog-button.is-secondary { border-color: #dce5d7; background: #f6f8f3; color: #53634f; }
.lohas-dialog-layer button.lohas-dialog-button.is-secondary:hover { border-color: #c8d7bf; background: #edf2e8; }
.lohas-dialog-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #7a8779;
    font: inherit;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}
.lohas-dialog-close:hover { background: #f1f5ed; color: #315f1b; }

.lohas-drag-wrap {
    display: inline-flex;
    flex: 0 1 420px;
    flex-direction: column;
    width: 420px;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: var(--lohas-ui-ink);
    text-align: left;
    vertical-align: middle;
}
.lohas-drag-track {
    position: relative;
    width: 100%;
    height: 60px;
    overflow: hidden;
    border: 1px solid #d7e5cc;
    border-radius: 18px;
    background: #f2f7ed;
    box-shadow: inset 0 1px 3px rgba(51, 88, 31, 0.035);
    color: #466734;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
.lohas-drag-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--lohas-drag-progress, 0) * 100%);
    border-radius: inherit;
    background: #dceecb;
    pointer-events: none;
}
.lohas-drag-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px 0 64px;
    color: #466734;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -0.025em;
    text-align: center;
    pointer-events: none;
    word-break: keep-all;
}

/* Existing inquiry page button rules have ID selectors, so dimensions and
   surfaces are isolated here. Transform stays inline-controlled by the drag UI. */
.lohas-drag-wrap .lohas-drag-track > button.lohas-drag-thumb {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    right: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: none !important;
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
    height: 52px !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #5b961e !important;
    border-radius: 14px !important;
    background: #5b961e !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(59, 113, 26, 0.16) !important;
    font-family: inherit !important;
    font-size: 25px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: grab !important;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
    will-change: transform;
}
.lohas-drag-wrap .lohas-drag-track > button.lohas-drag-thumb:hover { background: #4e8618 !important; border-color: #4e8618 !important; }
.lohas-drag-arrow { display: block; margin-top: -2px; line-height: 1; letter-spacing: -0.12em; }
.lohas-drag-track.is-dragging { border-color: #a9ca8c; box-shadow: 0 0 0 4px rgba(117, 191, 24, 0.07); }
.lohas-drag-track:focus-within { outline: 3px solid #315f1b; outline-offset: 3px; }
.lohas-drag-track.is-dragging > button.lohas-drag-thumb { cursor: grabbing !important; }
.lohas-drag-track.is-preparing,
.lohas-drag-track.is-checking { border-color: #c6d9b7; background: #f5f8f1; }
.lohas-drag-track.is-preparing .lohas-drag-label,
.lohas-drag-track.is-checking .lohas-drag-label { color: #67795c; }
.lohas-drag-track.is-checking > button.lohas-drag-thumb { cursor: progress !important; }
.lohas-drag-track.is-verified { border-color: #accf8a; background: #edf6e5; }
.lohas-drag-track.is-verified .lohas-drag-fill { background: #d8edc5; }
.lohas-drag-track.is-verified .lohas-drag-label { padding-right: 64px; color: #315f1b; }
.lohas-drag-track.is-verified > button.lohas-drag-thumb { background: #3f7b1d !important; border-color: #3f7b1d !important; cursor: default !important; }
.lohas-drag-track.is-disabled { opacity: 0.55; }
.lohas-drag-track.is-disabled > button.lohas-drag-thumb,
.lohas-drag-track > button.lohas-drag-thumb:disabled { cursor: default !important; }
.lohas-dialog-layer button:focus-visible,
.lohas-drag-wrap button:focus-visible {
    outline: 3px solid #315f1b !important;
    outline-offset: 3px;
}

@supports selector(:has(*)) {
    .bot_btns:has(> .lohas-drag-wrap) { align-items: center; }
}

@keyframes lohas-dialog-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lohas-dialog-arrive { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 600px) {
    .lohas-dialog-layer { padding: 18px; }
    .lohas-dialog-panel { max-width: 410px; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); padding: 30px 23px 23px; border-radius: 23px; }
    .lohas-dialog-title { font-size: 21px; }
    .lohas-dialog-message { font-size: 14px; line-height: 1.8; }
    .lohas-dialog-badge { width: 54px; height: 54px; margin-bottom: 16px; border-radius: 18px; }
    .lohas-dialog-actions { margin-top: 24px; }
    .lohas-dialog-layer button.lohas-dialog-button { min-height: 47px; padding: 11px 13px; font-size: 14px; }
    .lohas-drag-wrap { flex: 0 1 auto; width: 100%; }
        .lohas-drag-label { padding-left: 61px; padding-right: 10px; font-size: 13px; }
        }

@media (prefers-reduced-motion: reduce) {
    .lohas-dialog-backdrop,
    .lohas-dialog-panel,
    .lohas-dialog-layer button,
    .lohas-drag-track,
    .lohas-drag-thumb,
    .lohas-drag-fill { animation: none !important; transition: none !important; }
}

/* Registration confirmation: one action button on the page, one slider in the dialog. */
.lohas-dialog-panel.lohas-drag-dialog {
    max-width: 480px;
    padding: 36px 30px 24px;
    border: 1px solid #dce8d4;
    border-radius: 28px;
    background: linear-gradient(180deg, #f6faef 0, #ffffff 160px);
    box-shadow: 0 24px 80px rgba(16, 47, 24, 0.22);
}
.lohas-drag-dialog .lohas-dialog-badge {
    width: 64px;
    height: 64px;
    border: 1px solid #d3e4c7;
    border-radius: 22px;
    background: #ffffff;
    color: #477d24;
    box-shadow: 0 8px 22px rgba(71, 125, 36, 0.08);
}
.lohas-drag-dialog .lohas-dialog-title { margin-bottom: 10px; }
.lohas-drag-dialog .lohas-dialog-message { font-size: 14px; line-height: 1.75; }
.lohas-drag-dialog-control { margin-top: 24px; }
.lohas-drag-dialog .lohas-drag-wrap { display: flex; width: 100%; }
.lohas-drag-dialog .lohas-drag-track { height: 62px; border-radius: 18px; background: #eef6e8; }
.lohas-drag-dialog .lohas-drag-label { padding-right: 24px; padding-left: 68px; font-size: 14px; }
.lohas-drag-dialog .lohas-drag-track.is-verified .lohas-drag-label { padding-right: 68px; }
.lohas-drag-dialog .lohas-dialog-actions { margin-top: 17px; }
.lohas-drag-dialog .lohas-dialog-button.is-secondary {
    flex: 0 1 auto;
    min-height: 40px;
    padding: 8px 22px;
    border-color: transparent;
    background: transparent;
    color: #73806c;
    font-size: 13px;
}
.lohas-drag-dialog .lohas-dialog-button.is-secondary:hover { border-color: #e3ebdd; background: #f3f7ef; }
@media (max-width: 600px) {
    .lohas-dialog-panel.lohas-drag-dialog { padding: 32px 20px 20px; border-radius: 24px; }
    .lohas-drag-dialog .lohas-drag-label { padding-left: 59px; padding-right: 8px; font-size: 12px; }
    .lohas-drag-dialog .lohas-dialog-title { font-size: 21px; }
    .lohas-drag-dialog .lohas-dialog-message { font-size: 13px; }
}
