/* 스튜디오 콘솔 — 로그인 (독립 레이아웃, base 셸 미사용) */

.sc-login-body { background: var(--sc-canvas); }

.sc-login {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 28px 16px;
}

.sc-login__card {
    width: 100%; max-width: 430px;
    background: var(--sc-panel); border: 1px solid var(--sc-line);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
    padding: clamp(26px, 6vw, 38px) clamp(20px, 5.5vw, 34px) clamp(22px, 5vw, 30px);
}

.sc-login__symbol { width: 40px; height: 40px; display: block; margin-bottom: 14px; }
.sc-login__title {
    font-size: clamp(19px, 5vw, 22px); font-weight: 700; letter-spacing: 0;
    margin: 0 0 5px; color: var(--sc-ink);
}
.sc-login__sub { font-size: 13px; color: var(--sc-muted); margin: 0 0 22px; }

.sc-login__app {
    display: none;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin: -6px 0 18px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(37, 99, 235, .08);
    border: 1px solid rgba(37, 99, 235, .18);
    color: #1e3a8a;
    font-size: 12.5px;
    font-weight: 700;
}

.sc-login__app.is-on { display: flex; }
.sc-login__app i { font-size: 17px; color: var(--sc-digital); }

.sc-login__links {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin-top: 18px; font-size: 12.5px;
}
.sc-login__links a { color: var(--sc-muted); }
.sc-login__links a:hover { color: var(--sc-text); text-decoration: underline; }
.sc-login__links span { width: 1px; height: 11px; background: var(--sc-line); }

.sc-login__foot { font-size: 11.5px; color: #b4b8c9; margin-top: 22px; }

@media (max-width: 420px) {
    .sc-login { padding: 18px 12px; }
    .sc-login__links { gap: 9px; font-size: 12px; }
}

/* ── 연결된 사업장 없음 안내 바텀시트 ── */
.sc-sheet {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}
.sc-sheet__dim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .48);
    opacity: 0;
    transition: opacity .28s ease;
}
.sc-sheet.is-open .sc-sheet__dim { opacity: 1; }

.sc-sheet__panel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    overflow-y: auto;
    margin: 0 auto;
    background: var(--sc-panel, #fff);
    border-radius: 22px 22px 0 0;
    padding: 10px clamp(18px, 5.5vw, 24px) calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -14px 44px rgba(15, 23, 42, .22);
    transform: translateY(100%);
    transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.sc-sheet.is-open .sc-sheet__panel { transform: translateY(0); }

.sc-sheet__grip {
    display: block;
    width: 42px;
    height: 4px;
    border-radius: 99px;
    background: #d5d9e4;
    margin: 6px auto 18px;
}
.sc-sheet__icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: var(--sc-pay-bg, #d6f3e7);
    color: var(--sc-pay, #0f9d6e);
    font-size: 27px;
}
.sc-sheet__title {
    text-align: center;
    font-size: 1.357rem;
    font-weight: 800;
    color: var(--sc-ink, #0f172a);
    margin: 0 0 7px;
    word-break: keep-all;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}
.sc-sheet__lead {
    text-align: center;
    font-size: .929rem;
    line-height: 1.6;
    color: var(--sc-muted, #64748b);
    margin: 0 0 18px;
}
.sc-sheet__actions { display: grid; gap: .75rem; margin-top: 1.5rem; }
.sc-sheet__action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    min-height: 3.75rem;
    padding: .875rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 1.071rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
    letter-spacing: 0;
}
.sc-sheet__action--primary {
    background: var(--sc-pay, #0f9d6e);
    color: #fff;
}
.sc-sheet__action--primary:hover { background: #087e58; }
.sc-sheet__action--chat { border-color: #c8e6da; background: #f2faf6; color: #087e58; }
.sc-sheet__action--chat:hover { background: #e6f5ee; }
.sc-sheet__action i { font-size: 1.429rem; flex: none; }
.sc-sheet__action span { min-width: 0; }
.sc-sheet__action:focus-visible { outline: 2px solid #087e58; outline-offset: 3px; }
.sc-sheet__close {
    display: block;
    width: 100%;
    margin-top: 6px;
    height: 44px;
    background: transparent;
    border: 0;
    color: var(--sc-muted, #64748b);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}
