@font-face { font-family: Pretendard; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Pretendard; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Pretendard; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Pretendard; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
/* Shared login form only. Page layout and modal presentation remain separate. */
.common-login { color: #171719; font-family: Pretendard, sans-serif; font-size: 16px; line-height: normal; }
.common-login * { box-sizing: border-box; }
.common-login [hidden] { display: none !important; }
.common-login a { color: inherit; text-decoration: none; }
.common-login button { font: inherit; }
:where(.common-login) :is(button, a, input):focus-visible { outline: 2px solid var(--text-primary, #008e64); outline-offset: 3px; }
:where(.common-login) input[type="checkbox"].worksheet-checkbox {
    --worksheet-checkbox-size: 18px;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    width: var(--worksheet-checkbox-size);
    height: var(--worksheet-checkbox-size);
    flex: 0 0 var(--worksheet-checkbox-size);
    margin: 0;
    padding: 0;
    border: 1px solid var(--component-line-solid-strong, #c2c4c8);
    border-radius: 3px;
    background-color: var(--component-white, #fff);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-origin: border-box;
    vertical-align: middle;
    cursor: pointer;
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox--m {
    --worksheet-checkbox-size: 18px;
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox--s {
    --worksheet-checkbox-size: 18px;
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox:hover:not(:disabled):not(:checked):not(:indeterminate) {
    border-color: var(--component-line-strong, #989ba2);
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox:is(:checked, :indeterminate) {
    border-color: transparent;
    border-radius: calc(var(--worksheet-checkbox-size) / 6);
    background-color: var(--button-black-background-default, rgba(41, 42, 45, .95));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 9.7337L7.0312 12.375L13.5 5.625' stroke='%23F3F8FF' stroke-width='1.575' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox:indeterminate {
    background-color: var(--checkbox-background-indeterminate, rgba(41, 42, 45, .7));
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4.5 8H11.5' stroke='%23F3F8FF' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox:focus-visible {
    outline: 2px solid var(--text-primary, #008e64);
    outline-offset: 2px;
}
:where(.common-login) input[type="checkbox"].worksheet-checkbox:disabled {
    opacity: .5;
    cursor: not-allowed;
}
:where(.common-login) input.worksheet-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 10px 8px;
    border: 1px solid var(--component-line-normal, rgba(112, 115, 124, .22));
    border-radius: 6px;
    background: var(--component-white, #fff);
    color: var(--text-normal, #171719);
    font-family: Pretendard, sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -.17px;
}
:where(.common-login) input.worksheet-input:disabled {
    background: var(--component-background-disabled, #f4f4f5);
    color: var(--text-disable, rgba(55, 56, 60, .3));
    cursor: not-allowed;
}
:where(.common-login) input.worksheet-input::placeholder {
    color: var(--text-neutral-3, rgba(55, 56, 60, .45));
    opacity: 1;
}
:where(.common-login) input.worksheet-input:focus:not(:disabled) {
    border-radius: 6px;
    border: 1.5px solid var(--component-line-black, #46474C);
    background: var(--component-background-white, #FFF);
    outline: none;
}
:where(.common-login) .worksheet-login-card { width: 360px; }
:where(.common-login) .worksheet-login-card h1 { margin: 0; color: #46474c; font-family: Pretendard, sans-serif; font-size: 24px; font-style: normal; font-weight: 600; line-height: 140%; letter-spacing: -.24px; }
:where(.common-login) .worksheet-login-title { text-align: center; }
:where(.common-login) .worksheet-login-tabs { display: flex; gap: 18px; margin: 20px 0 32px; }
:where(.common-login) .worksheet-login-tabs button { flex: 1; min-width: 0; padding: 12px 0 18px; border: 0; border-bottom: 1px solid #e1e2e4; background: transparent; color: #878a93; font-size: 18px; font-weight: 500; cursor: pointer; }
:where(.common-login) .worksheet-login-tabs button[aria-selected="true"] { border-bottom: 2px solid var(--text-primary, #008e64); color: var(--text-primary, #008e64); font-weight: 600; }
:where(.common-login) .worksheet-login-tabs button[data-login-tab="carefor"][aria-selected="true"] { border-bottom-color: #4ab0df; color: #4ab0df; }
:where(.common-login) .worksheet-login-tabs button:disabled { cursor: wait; }
:where(.common-login) .worksheet-login-account-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 58px; }
:where(.common-login) .worksheet-login-account-heading button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: #878a93; cursor: pointer; }
:where(.common-login) .worksheet-login-account-heading svg { width: 24px; height: 24px; }
:where(.common-login) .worksheet-login-field { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; color: var(--text-neutral, rgba(46, 47, 51, .88)); font-size: 16px; font-style: normal; font-weight: 500; line-height: 130%; letter-spacing: -.16px; }
:where(.common-login) .worksheet-login-field .worksheet-input { display: flex; align-items: center; gap: 4px; align-self: stretch; }
:where(.common-login) .worksheet-login-field .worksheet-input::placeholder { color: var(--text-neutral-4, rgba(55, 56, 60, .30)); opacity: 1; }
:where(.common-login) .worksheet-login-options { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin: 0 0 24px; color: var(--text-neutral, rgba(46, 47, 51, .88)); font-size: 17px; font-style: normal; font-weight: 500; line-height: 130%; letter-spacing: -.17px; }
:where(.common-login) .worksheet-login-options label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
:where(.common-login) .worksheet-login-options--carefor { justify-content: space-between; gap: 8px; font-size: 17px; }
:where(.common-login) .worksheet-login-options--carefor label { gap: 6px; white-space: nowrap; }
:where(.common-login) .worksheet-login-submit { width: 100%; height: 48px; border: 0; border-radius: 6px; background: var(--button-primary-background-default, #00a171); color: var(--text-white, #f7f7f8); font-size: 17px; font-weight: 500; line-height: 130%; letter-spacing: -.17px; cursor: pointer; }
:where(.common-login) .worksheet-login-submit--carefor { --button-primary-background-default: #4ab0df; --button-primary-background-hover: #369dcc; --text-white: #171719; }
:where(.common-login) .worksheet-login-submit:hover:not(:disabled):not([aria-disabled="true"]) { background: var(--button-primary-background-hover, #00845d); }
:where(.common-login) .worksheet-login-submit:is(:disabled, [aria-disabled="true"]) { border-radius: 4px; background: var(--button-primary-background-disabled, rgba(225, 226, 228, .8)); color: #858588; cursor: wait; }
:where(.common-login) .worksheet-login-links { display: grid; gap: 12px; margin-top: 36px; padding-top: 32px; border-top: 1px solid #e1e2e4; color: #878a93; font-size: 16px; line-height: 130%; letter-spacing: -.16px; }
:where(.common-login) .worksheet-login-links p { margin: 0; }
:where(.common-login) .worksheet-login-links button, :where(.common-login) .worksheet-login-links a { margin-left: 12px; padding: 0; border: 0; background: transparent; color: var(--text-primary, #008e64); font-weight: 600; cursor: pointer; }
:where(.common-login) .worksheet-login-links--account { display: flex; align-items: center; justify-content: center; gap: 16px; }
:where(.common-login) .worksheet-login-links--account button, :where(.common-login) .worksheet-login-links--account a { margin-left: 0; color: #46474c; white-space: nowrap; }
:where(.common-login) .worksheet-login-links--account > span { color: #878a93; font-weight: 400; }
:where(.common-login) .worksheet-login-account-heading h2 { margin: 0; color: #46474c; font-size: 20px; font-weight: 600; line-height: 30px; letter-spacing: -.2px; }
:where(.common-login) .worksheet-login-result { width: 410px; max-width: calc(100vw - 32px); padding: 32px 24px 20px; border: 0; border-radius: 8px; background: #fff; color: #171719; text-align: center; box-shadow: 0 8px 32px rgba(0, 0, 0, .24); }
:where(.common-login) .worksheet-login-result::backdrop { background: rgba(0, 0, 0, .4); }
:where(.common-login) .worksheet-login-result p { margin: 0 0 52px; white-space: pre-line; font-family: Pretendard, sans-serif; font-size: 17px; font-style: normal; font-weight: 500; line-height: 160%; letter-spacing: -.17px; }
:where(.common-login) .worksheet-login-result .worksheet-login-submit { width: 136px; height: 40px; }
:where(.common-login) .worksheet-login-message { margin: -16px 0 24px; color: #ff3030; font-size: 12px; line-height: 18px; }

/* Bootstrap layer presentation; never applied to the worksheet page. */
.common-login-layer .modal-dialog { width: calc(100% - 32px); max-width: 440px; height: calc(100% - clamp(16px, 10vh, 96px) - 16px); min-height: 0; align-items: flex-start; margin: clamp(16px, 10vh, 96px) auto 16px; }
.common-login-layer .modal-content { border: 0; border-radius: 12px; background: #fff; }
.common-login-layer .modal-header { padding: 20px 24px 12px; border: 0; font-family: Pretendard, sans-serif; }
.common-login-layer .modal-body { padding: 24px 40px 36px; }
.common-login-layer .common-login * { font-family: inherit; }
.common-login-layer .common-login form { line-height: normal; }
.common-login-layer input[type="checkbox"].worksheet-checkbox { width: 18px !important; height: 18px !important; }
.common-login-layer .worksheet-login-card { width: 100%; }
.common-login-layer .worksheet-login-account-heading { margin-bottom: 32px; }
.common-login-layer .worksheet-login-options { gap: 12px 20px; }
.common-login-layer .worksheet-login-options--carefor { justify-content: flex-start; }
.common-login-layer .worksheet-login-links--account { gap: 12px; }
.common-login-layer .worksheet-login-result { width: 100%; max-width: 100%; margin: 0; padding: 12px 0 0; box-shadow: none; }
.common-login-layer .worksheet-login-result p { color: inherit; overflow-wrap: anywhere; }
.common-login-layer .worksheet-login-message { overflow-wrap: anywhere; }
@media (max-width: 480px) {
    .common-login-layer .modal-header { padding: 16px 20px 8px; }
    .common-login-layer .modal-body { padding: 20px 20px 28px; }
    .common-login-layer .worksheet-login-options--carefor { font-size: 15px; }
    .common-login-layer .worksheet-login-links--account { gap: 8px; font-size: 14px; }
}
