@charset "UTF-8";

* {
    box-sizing: border-box;
}

body.login-bg {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Arial, sans-serif;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: #0f172a;
    position: relative;
    overflow-x: hidden;
}

body.login-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(238, 249, 255, .42), rgba(236, 253, 245, .22) 48%, rgba(255, 247, 237, .28)),
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04));
    pointer-events: none;
}

body.login-bg::after {
    content: "";
    position: fixed;
    inset: auto 7vw 8vh auto;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56,189,248,.2), rgba(34,197,94,.08) 48%, rgba(255,255,255,0) 70%);
    filter: blur(4px);
    opacity: .42;
    z-index: 0;
    pointer-events: none;
}

.login-page {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(280px, 440px) minmax(360px, 430px);
    gap: 34px;
    align-items: start;
    justify-content: center;
    padding: clamp(34px, 6.5vh, 60px) 22px 24px;
}

.login-intro {
    color: #123044;
}

.login-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    color: #0f766e;
    background: rgba(236, 253, 245, .86);
    border: 1px solid rgba(94, 234, 212, .42);
    font-size: .9rem;
    font-weight: 800;
}

.login-intro h1 {
    margin: 0 0 10px;
    font-size: 2.1rem;
    line-height: 1.16;
    font-weight: 900;
    color: #0f4164;
}

.login-intro p {
    margin: 0;
    max-width: 390px;
    color: #475569;
    font-size: 1rem;
    line-height: 1.65;
}

.login-showcase {
    width: min(100%, 410px);
    margin-top: 16px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.46);
    border: 1px solid rgba(218, 241, 246, .9);
    box-shadow: 0 18px 42px rgba(15, 65, 100, .13);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.login-showcase-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 9px;
    color: #0f4f5f;
    font-size: .86rem;
    font-weight: 900;
}

.login-showcase-head span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.login-showcase-head button {
    border: 1px solid rgba(14, 116, 144, .18);
    border-radius: 8px;
    padding: 4px 8px;
    color: #0f766e;
    background: rgba(236, 253, 245, .78);
    font-size: .75rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.login-showcase-head button:hover {
    transform: translateY(-1px);
    background: #dcfce7;
    border-color: rgba(14, 116, 144, .3);
}

.login-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.login-showcase-card {
    position: relative;
    min-width: 0;
    height: 82px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.74);
    border-radius: 8px;
    background: #f8fcff;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 65, 100, .12);
    transform: translateY(0) scale(.98);
    opacity: .78;
    transition: transform .34s ease, opacity .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.login-showcase-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15,65,100,.16));
    pointer-events: none;
}

.login-showcase-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .34s ease;
}

.login-showcase-card.active {
    opacity: 1;
    border-color: rgba(45, 212, 191, .86);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 34px rgba(15, 65, 100, .2);
}

.login-showcase-card.active img {
    transform: scale(1.08);
}

.login-news {
    width: min(100%, 410px);
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.5);
    border: 1px solid rgba(218, 241, 246, .9);
    box-shadow: 0 14px 32px rgba(15, 65, 100, .11);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
}

.login-news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #0f4f5f;
    font-size: .84rem;
    font-weight: 900;
}

.login-news-head span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.login-news-list {
    display: grid;
    gap: 7px;
}

.login-news-item {
    width: 100%;
    min-height: 54px;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 7px;
    border: 1px solid rgba(203, 231, 220, .88);
    border-radius: 8px;
    color: #13324a;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(236,253,245,.86), rgba(240,249,255,.76)),
        rgba(255,255,255,.68);
    box-shadow: 0 8px 18px rgba(15, 65, 100, .08);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.login-news-item:hover,
.login-news-item:focus {
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, .48);
    box-shadow: 0 13px 24px rgba(15, 65, 100, .14);
    outline: none;
}

.login-news-thumb {
    width: 62px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    color: #0f766e;
    background: linear-gradient(135deg, #ecfeff, #f0fdf4);
    border: 1px solid rgba(186, 230, 253, .86);
    font-size: 1.15rem;
}

.login-news-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.login-news-body {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.login-news-date {
    color: #0f766e;
    font-size: .68rem;
    line-height: 1.15;
    font-weight: 900;
}

.login-news-title {
    color: #123044;
    font-size: .84rem;
    line-height: 1.25;
    font-weight: 900;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.login-news-title :where(p, span, strong, b, em, i, u) {
    margin: 0;
    color: inherit;
    font: inherit;
}

body.login-lightbox-open {
    overflow: hidden;
}

.login-image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    visibility: hidden;
    background: rgba(8, 47, 73, .56);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition: opacity .2s ease, visibility .2s ease;
}

.login-image-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.login-lightbox-panel {
    position: relative;
    box-sizing: border-box;
    width: auto;
    inline-size: fit-content;
    max-width: calc(100vw - 56px);
    max-height: 84vh;
    padding: 12px;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.46), rgba(236,253,245,.22)),
        rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.68);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255,255,255,.72);
    transform: translateY(12px) scale(.96);
    transition: transform .22s ease;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.login-image-lightbox.is-open .login-lightbox-panel {
    transform: translateY(0) scale(1);
}

.login-lightbox-panel img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(920px, calc(100vw - 80px));
    max-height: calc(84vh - 72px);
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,.85);
    box-shadow: 0 12px 30px rgba(8, 47, 73, .18);
    flex: 0 1 auto;
}

.login-lightbox-panel.is-square img {
    max-width: min(680px, calc(100vw - 80px));
}

.login-lightbox-panel.is-portrait img {
    max-width: min(520px, calc(100vw - 80px));
}

.login-lightbox-caption {
    align-self: stretch;
    box-sizing: border-box;
    min-height: 28px;
    padding: 4px 6px 0;
    color: #f8fafc;
    text-align: center;
    font-size: .9rem;
    font-weight: 850;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0,0,0,.28);
    flex: 0 0 auto;
}

.login-lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    z-index: 51;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f4164;
    background: rgba(255,255,255,.82);
    box-shadow: 0 14px 34px rgba(8, 47, 73, .2);
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, color .15s ease;
}

.login-lightbox-close:hover,
.login-lightbox-close:focus {
    transform: translateY(-1px);
    color: #0f766e;
    background: #fff;
}

.login-article-modal {
    position: fixed;
    inset: 0;
    z-index: 54;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    background: rgba(8, 47, 73, .58);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    transition: opacity .2s ease, visibility .2s ease;
}

.login-article-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.login-article-panel {
    position: relative;
    width: min(860px, calc(100vw - 48px));
    max-height: min(82vh, 760px);
    overflow: auto;
    border-radius: 8px;
    padding: 18px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.95), rgba(241,253,249,.9)),
        #fff;
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 34px 88px rgba(0, 0, 0, .32);
    transform: translateY(12px) scale(.97);
    transition: transform .22s ease;
}

.login-article-modal.is-open .login-article-panel {
    transform: translateY(0) scale(1);
}

.login-article-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #d7e8ef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f4164;
    background: rgba(255,255,255,.92);
    box-shadow: 0 10px 22px rgba(15, 65, 100, .12);
    cursor: pointer;
}

.login-article-detail {
    display: none;
}

.login-article-detail.is-active {
    display: block;
    animation: loginArticleIn .22s ease both;
}

.login-article-head {
    display: grid;
    grid-template-columns: minmax(130px, 210px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: -22px;
    padding-right: 48px;
}

.login-article-head.no-thumb {
    grid-template-columns: 1fr;
}

.login-article-head > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e8ef;
    box-shadow: 0 16px 34px rgba(15, 65, 100, .15);
}

.login-article-head time {
    display: inline-flex;
    margin-bottom: 8px;
    color: #0f766e;
    font-size: .8rem;
    font-weight: 900;
}

.login-article-title {
    margin: 0;
    color: #0f4164;
    font-size: clamp(1.2rem, 2.4vw, 1.8rem);
    line-height: 1.24;
    font-weight: 950;
}

.login-article-title :where(p, h1, h2, h3, h4, h5, h6) {
    margin: 0;
    color: inherit;
    font: inherit;
}

.login-article-summary {
    margin-top: 10px;
    color: #475569;
    font-size: .98rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.login-article-summary :where(p) {
    margin: 0 0 6px;
}

.login-article-content {
    margin-top: 18px;
    color: #1f2937;
    font-size: .98rem;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.login-article-content :where(h1, h2, h3, h4, h5, h6) {
    margin: 1.05em 0 .45em;
    color: #0f4164;
    line-height: 1.28;
    font-weight: 900;
}

.login-article-content :where(h1) {
    font-size: 1.55rem;
}

.login-article-content :where(h2) {
    font-size: 1.32rem;
}

.login-article-content :where(h3) {
    font-size: 1.14rem;
}

.login-article-content :where(ul, ol) {
    margin: 0 0 14px;
    padding-left: 1.45rem;
}

.login-article-content :where(li) {
    margin: 0 0 7px;
}

.login-article-content :where(blockquote) {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 4px solid rgba(20, 184, 166, .55);
    border-radius: 8px;
    background: rgba(236, 253, 245, .72);
}

.login-article-content :where(table) {
    width: 100%;
    margin: 14px 0;
    border-collapse: collapse;
}

.login-article-content :where(th, td) {
    padding: 8px 10px;
    border: 1px solid rgba(203, 213, 225, .9);
    vertical-align: top;
}

.login-article-content :where(a) {
    color: #0f766e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.login-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.login-article-content :where(p) {
    margin: 0 0 12px;
}

@keyframes loginArticleIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    width: 430px;
    max-width: 100%;
    border-radius: 8px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255,255,255,.52), rgba(218, 247, 255, .24) 46%, rgba(236, 253, 245, .32)),
        rgba(255,255,255,.28);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255,255,255,.68);
    box-shadow:
        0 28px 65px rgba(15, 65, 100, .24),
        0 10px 22px rgba(15, 118, 110, .11),
        inset 0 1px 0 rgba(255,255,255,.8),
        inset 0 -28px 70px rgba(255,255,255,.16);
    animation: loginFadeIn .38s ease-out;
}

.login-lock-alert {
    border: 1px solid rgba(245, 158, 11, .34);
    border-radius: 8px;
    color: #7c2d12;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, .96), rgba(254, 226, 226, .82)),
        rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(180, 83, 9, .13);
    text-align: left;
    font-size: .9rem;
    line-height: 1.45;
}

.login-lock-alert .fw-bold {
    color: #9a3412;
}

.login-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 8%, rgba(255,255,255,.85), rgba(255,255,255,0) 28%),
        linear-gradient(120deg, rgba(255,255,255,.34), rgba(255,255,255,0) 38%);
    pointer-events: none;
}

.login-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.24);
    pointer-events: none;
}

.login-card > * {
    position: relative;
    z-index: 1;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.login-logo {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    display: block;
    object-fit: contain;
    padding: 6px;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffffff, #eaf8ff);
    border: 1px solid #d5edf6;
    box-shadow: 0 10px 24px rgba(2, 132, 199, .13);
}

.login-title {
    color: #0f766e;
    font-size: .86rem;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
}

.login-title-site {
    margin-top: 3px;
    color: #0f4164;
    font-size: 1.25rem;
    line-height: 1.22;
    font-weight: 900;
}

.login-card .alert {
    border: 0;
    border-radius: 8px;
    background: #fff0f1;
    color: #b42335;
    font-size: .9rem;
    font-weight: 800;
}

.login-card .login-lock-alert {
    border: 1px solid rgba(245, 158, 11, .34);
    color: #7c2d12;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, .96), rgba(254, 226, 226, .82)),
        rgba(255,255,255,.78);
    box-shadow: 0 12px 28px rgba(180, 83, 9, .13);
    text-align: left;
    line-height: 1.45;
}

.login-form {
    display: grid;
    gap: 13px;
}

.login-field {
    display: grid;
    gap: 6px;
}

.login-card .form-label {
    margin: 0;
    color: #1f4f7a;
    font-size: .88rem;
    font-weight: 850;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap > i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #0f766e;
    font-size: 1rem;
}

.login-card .form-control {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #cfe0e8;
    background: rgba(255,255,255,.66);
    color: #0f172a;
    font-size: .96rem;
    padding: 9px 12px;
    box-shadow: none;
}

.login-input-wrap .form-control {
    padding-left: 40px;
}

.login-input-password .form-control {
    padding-right: 46px;
}

.login-card .form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .16);
    background: rgba(255,255,255,.88);
}

.login-password-toggle {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    background: transparent;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.login-password-toggle:hover {
    color: #0f766e;
    background: #eefaf4;
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -2px;
}

.login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #334155;
    font-size: .88rem;
    font-weight: 750;
    cursor: pointer;
}

.login-remember input {
    width: 16px;
    height: 16px;
    accent-color: #0f766e;
}

.login-note {
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.tenant-login-panel {
    display: grid;
    gap: 12px;
}

.tenant-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.tenant-code-input .form-control {
    min-height: 44px;
}

.tenant-id-toggle {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(15, 118, 110, .18);
    background: rgba(255,255,255,.54);
    color: #0f4164;
    font-size: .78rem;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.tenant-id-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #0f766e;
}

.tenant-current-actions {
    display: grid;
    justify-items: end;
    gap: 7px;
}

.tenant-forget-id-form {
    margin: 0;
}

.tenant-id-forget {
    min-height: 30px;
    padding: 4px 8px;
    font-size: .74rem;
    color: #64748b;
}

.tenant-action-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.tenant-open-btn,
.tenant-register-cta,
.tenant-trial-cta {
    min-height: 44px;
}

.tenant-open-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.2;
    white-space: normal;
}

.tenant-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(20, 184, 166, .28);
    background: linear-gradient(135deg, rgba(240, 253, 250, .9), rgba(255,255,255,.72));
}

.tenant-current span {
    display: block;
    color: #64748b;
    font-size: .76rem;
    font-weight: 850;
    text-transform: uppercase;
}

.tenant-current strong {
    display: block;
    margin-top: 3px;
    color: #0f4164;
    font-size: .92rem;
    line-height: 1.25;
}

.tenant-current a {
    color: #0f766e;
    font-size: .82rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.tenant-register-cta,
.tenant-trial-cta {
    width: 100%;
    border: 1px solid rgba(15, 118, 110, .22);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    color: #0f4164;
    background:
        linear-gradient(135deg, rgba(240, 253, 250, .92), rgba(239, 246, 255, .82)),
        rgba(255,255,255,.74);
    font-size: .86rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.tenant-trial-cta {
    grid-column: 1 / -1;
    margin-top: 2px;
    border-color: rgba(245, 158, 11, .32);
    color: #7c2d12;
    background:
        linear-gradient(135deg, rgba(255, 251, 235, .94), rgba(240, 253, 250, .82)),
        rgba(255,255,255,.78);
}

.tenant-register-cta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tenant-register-cta i,
.tenant-trial-cta i {
    color: #0f766e;
}

.tenant-trial-cta i {
    color: #d97706;
}

.tenant-register-cta:hover,
.tenant-trial-cta:hover {
    border-color: rgba(14, 165, 233, .48);
    box-shadow: 0 10px 22px rgba(15, 118, 110, .11);
    transform: translateY(-1px);
}

.tenant-register-modal .modal-dialog {
    --bs-modal-width: min(1120px, calc(100vw - 32px));
}

.tenant-trial-modal .modal-dialog {
    --bs-modal-width: min(1120px, calc(100vw - 32px));
}

.tenant-register-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(191, 219, 254, .8);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(240,253,250,.94)),
        #fff;
    box-shadow: 0 28px 80px rgba(15, 65, 100, .2);
}

.tenant-register-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 14px;
    border: 0;
    background: linear-gradient(135deg, rgba(224,242,254,.72), rgba(220,252,231,.62));
}

.tenant-register-modal .modal-title {
    margin: 4px 0 0;
    color: #0f4164;
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 950;
}

.tenant-register-modal .modal-header p {
    margin: 7px 32px 0 0;
    color: #475569;
    font-size: .9rem;
    line-height: 1.45;
    font-weight: 650;
}

.tenant-register-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.tenant-register-modal .modal-body {
    padding: 20px 24px 8px;
}

.tenant-register-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 12px;
    align-items: start;
}

.tenant-register-field {
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
}

.tenant-registration-grid > .tenant-register-field:not(.tenant-register-field-full),
.tenant-trial-grid > .tenant-register-field:not(.tenant-register-field-full) {
    min-height: 94px;
    grid-template-rows: auto 48px minmax(18px, auto);
}

.tenant-register-field-full {
    grid-column: 1 / -1;
}

.tenant-register-modal .form-label {
    margin: 0;
    color: #1f4f7a;
    font-size: .82rem;
    font-weight: 850;
}

.tenant-register-modal .form-control,
.tenant-register-modal .form-select {
    min-height: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #cfe0e8;
    background: rgba(255,255,255,.78);
    color: #0f172a;
    font-size: .95rem;
    box-shadow: none;
}

.tenant-register-modal textarea.form-control {
    height: auto;
    min-height: 92px;
    resize: vertical;
}

.tenant-register-modal .form-control:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .16);
    background: #fff;
}

.group-name-feedback {
    min-height: 18px;
    margin-top: 0;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1.35;
}

.tenant-register-modal .form-text {
    min-height: 18px;
    margin: 0;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
}

.group-name-feedback-idle,
.group-name-feedback-checking {
    color: #64748b;
}

.group-name-feedback-valid {
    color: #15803d;
}

.group-name-feedback-invalid {
    color: #dc2626;
}

.group-name-feedback-warning {
    color: #b45309;
}

.tenant-register-cost {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(14, 116, 144, .16);
    border-radius: 8px;
    background: rgba(240, 249, 255, .72);
}

.tenant-register-cost div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.tenant-register-cost span {
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
}

.tenant-register-cost strong {
    color: #0f4164;
    font-size: .95rem;
    font-weight: 950;
}

.tenant-registration-grid .tenant-register-cost,
.payos-register-box,
.tenant-trial-grid .alert {
    margin-top: 0;
}

.tenant-register-modal .modal-footer {
    gap: 10px;
    padding: 14px 24px 22px;
    border: 0;
    align-items: center;
}

.tenant-register-modal .modal-footer .btn {
    min-height: 42px;
    border-radius: 8px;
    font-weight: 900;
}

.tenant-register-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 148px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #0284c7, #16a34a);
    box-shadow: 0 12px 24px rgba(2, 132, 199, .18);
}

.payos-register-box {
    display: grid;
    gap: 10px;
    border: 1px solid rgba(20, 184, 166, .28);
    border-radius: 8px;
    background: rgba(236, 253, 245, .58);
    padding: 12px;
}

.payos-register-title {
    color: #0f766e;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 7px;
}

.payos-register-note,
.payos-register-status {
    color: #52677b;
    font-weight: 700;
    font-size: .9rem;
}

.payos-register-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.payos-register-qr {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(20, 184, 166, .2);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
}

.payos-register-qr img {
    width: 132px;
    max-width: 100%;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    padding: 6px;
    background: #fff;
}

.payos-register-qr pre {
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 120px;
    overflow: auto;
    margin: 0;
    font-size: .78rem;
    color: #1f3c56;
}

.login-captcha-row {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.login-captcha-code {
    min-height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f5132;
    background: linear-gradient(135deg, rgba(220,252,231,.86) 0%, rgba(224,242,254,.86) 100%);
    border: 1px solid #a7f3d0;
    font-size: 1.05rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.login-btn {
    min-height: 46px;
    margin-top: 3px;
    border: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    background: linear-gradient(135deg, #0284c7 0%, #16a34a 100%);
    box-shadow: 0 12px 24px rgba(2, 132, 199, .18);
    font-size: .98rem;
    font-weight: 900;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.login-btn:hover,
.login-btn:focus {
    color: #fff;
    transform: translateY(-1px);
    filter: saturate(1.05);
    box-shadow: 0 16px 30px rgba(22, 163, 74, .2);
}

.login-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.login-otp-form {
    gap: 15px;
}

.login-otp-user {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(236,253,245,.92), rgba(224,242,254,.82));
    border: 1px solid rgba(125, 211, 252, .42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.login-otp-user img {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
    border: 1px solid rgba(14, 116, 144, .18);
    box-shadow: 0 10px 22px rgba(15, 65, 100, .14);
}

.login-otp-user span {
    display: block;
    color: #0f766e;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.login-otp-user strong {
    display: block;
    color: #0f4164;
    font-size: 1.08rem;
    line-height: 1.2;
    font-weight: 950;
}

.login-otp-user small {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.login-otp-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.login-otp-digit {
    width: 100%;
    aspect-ratio: 1;
    min-height: 46px;
    border: 1px solid rgba(14, 116, 144, .22);
    border-radius: 8px;
    background: rgba(255,255,255,.78);
    color: #0f4164;
    text-align: center;
    font-size: 1.28rem;
    font-weight: 950;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 8px 18px rgba(14, 116, 144, .08);
}

.login-otp-digit:focus {
    outline: 0;
    border-color: #38bdf8;
    box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .18), 0 10px 22px rgba(14, 116, 144, .12);
    background: #fff;
}

.login-otp-help {
    margin-top: 7px;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.35;
    font-weight: 700;
}

.login-otp-locked {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #991b1b;
    background: rgba(254, 226, 226, .82);
    border: 1px solid rgba(248, 113, 113, .32);
    font-size: .86rem;
    font-weight: 800;
}

.login-password-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #0f766e;
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
}

.login-password-link:hover,
.login-password-link:focus {
    color: #075985;
    text-decoration: none;
}

.login-footer {
    width: min(100%, 410px);
    margin-top: 14px;
    padding: 0;
    color: #475569;
    text-align: left;
}

.login-footer-card-mobile {
    display: none;
}

.login-footer-inner {
    display: inline-flex;
    max-width: 100%;
    min-height: 36px;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.54);
    border: 1px solid rgba(255,255,255,.7);
    box-shadow: 0 12px 28px rgba(15, 65, 100, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: .86rem;
    font-weight: 700;
}

.login-footer-inner p {
    margin: 0;
}

.login-footer-actions {
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.login-footer-action {
    width: auto;
    min-width: auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(15, 118, 110, .2);
    border-radius: 8px;
    color: #0f4164;
    background:
        linear-gradient(135deg, rgba(240,253,250,.9), rgba(239,246,255,.8)),
        rgba(255,255,255,.68);
    box-shadow: 0 10px 22px rgba(15, 65, 100, .08);
    font-size: .82rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.login-footer-action i {
    flex: 0 0 auto;
    color: #0f766e;
}

.login-footer-action span {
    flex: 0 0 auto;
    min-width: 0;
    white-space: nowrap;
}

.login-footer-action:hover,
.login-footer-action:focus {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, .48);
    box-shadow: 0 14px 26px rgba(15, 65, 100, .13);
}

.login-footer-links {
    width: min(100%, 410px);
    display: grid;
    gap: 8px;
    margin-top: 10px;
}

.login-footer-link {
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 12px;
    border: 1px solid rgba(15, 118, 110, .18);
    border-radius: 8px;
    background: rgba(255, 255, 255, .58);
    color: #0f4164;
    box-shadow: 0 10px 22px rgba(15, 65, 100, .08);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.login-footer-link img {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    object-fit: contain;
    border-radius: 5px;
}

.login-footer-link:hover,
.login-footer-link:focus {
    color: #075985;
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, .48);
    box-shadow: 0 14px 26px rgba(15, 65, 100, .13);
}

.platform-modal-intro {
    margin-top: 8px;
    margin-right: 32px;
    color: #475569;
    font-size: .9rem;
    line-height: 1.45;
    font-weight: 650;
}

.platform-modal-intro p {
    margin: 0 0 6px;
}

.platform-support-modal .modal-dialog {
    --bs-modal-width: min(1120px, calc(100vw - 48px));
}

.platform-support-modal .modal-content {
    max-height: min(780px, calc(100vh - 88px));
}

.platform-support-modal .modal-header {
    padding: 16px 26px 12px;
}

.platform-support-modal .modal-body {
    overflow: auto;
    padding: 14px 26px 16px;
}

.platform-support-modal .platform-modal-intro {
    max-width: 920px;
    margin-top: 6px;
    font-size: .86rem;
    line-height: 1.4;
}

.platform-terms-dialog {
    --bs-modal-width: min(820px, calc(100vw - 48px));
}

.platform-terms-modal .modal-body {
    padding: 16px 26px 20px;
}

.platform-terms-content {
    max-height: min(620px, calc(100vh - 240px));
    overflow: auto;
    padding: 18px;
    border: 1px solid rgba(203, 231, 220, .9);
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    color: #12324d;
    font-size: .96rem;
    line-height: 1.68;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.platform-terms-content :where(h1, h2, h3, h4, h5, h6) {
    margin: 18px 0 10px;
    color: #0f4164;
    font-family: 'Baloo 2', Arial, sans-serif;
    font-weight: 950;
    line-height: 1.15;
}

.platform-terms-content :where(h1, h2):first-child,
.platform-terms-content :where(p, ul, ol):first-child {
    margin-top: 0;
}

.platform-terms-content :where(p, ul, ol, blockquote, table) {
    margin-bottom: 12px;
}

.platform-terms-content :where(ul, ol) {
    padding-left: 1.25rem;
}

.platform-terms-content :where(a) {
    color: #0f766e;
    font-weight: 800;
}

.platform-support-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(330px, .82fr);
    gap: 16px;
    align-items: stretch;
}

.platform-support-panel {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(203, 231, 220, .88);
    border-radius: 8px;
    background: rgba(255,255,255,.52);
}

.platform-support-panel-main {
    display: grid;
    align-content: start;
}

.platform-support-panel h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #0f4164;
    font-size: .98rem;
    font-weight: 950;
}

.platform-support-panel h3 i {
    color: #0f766e;
}

.platform-support-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.platform-support-form-grid .tenant-register-field-full {
    grid-column: 1 / -1;
}

.platform-support-field-wide {
    grid-column: span 2;
}

.platform-support-modal .form-label {
    font-size: .78rem;
}

.platform-support-modal .form-control {
    min-height: 40px;
}

.platform-support-modal #support-message {
    height: 84px;
    min-height: 84px;
}

.platform-support-captcha .login-captcha-row {
    grid-template-columns: 128px minmax(0, 1fr);
}

.platform-support-captcha .login-captcha-code {
    min-height: 40px;
}

.platform-support-lookup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.platform-support-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.platform-support-results {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    max-height: 360px;
    overflow: auto;
}

.support-ticket-card {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #d9edf4;
    border-radius: 8px;
    background: rgba(248,252,255,.88);
}

.support-ticket-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.support-ticket-head strong {
    min-width: 0;
    color: #0f4164;
    font-size: .9rem;
    line-height: 1.35;
}

.support-ticket-card time,
.support-reply-item span,
.support-empty-reply {
    color: #64748b;
    font-size: .78rem;
    font-weight: 750;
}

.support-ticket-card p {
    margin: 0;
    color: #334155;
    font-size: .86rem;
    line-height: 1.5;
}

.support-reply-list {
    display: grid;
    gap: 7px;
    margin-top: 4px;
}

.support-reply-item {
    padding: 9px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(236,253,245,.86), rgba(240,249,255,.78));
}

.support-reply-item div {
    margin-top: 4px;
    color: #0f172a;
    font-size: .84rem;
    line-height: 1.45;
}

@keyframes loginFadeIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .login-page {
        grid-template-columns: minmax(0, 430px);
        gap: 20px;
        padding-top: 28px;
    }
    .login-intro {
        text-align: center;
    }
    .login-intro p {
        margin: 0 auto;
    }
    .login-showcase {
        margin-left: auto;
        margin-right: auto;
    }
    .login-news {
        margin-left: auto;
        margin-right: auto;
    }
    .login-footer {
        margin-left: auto;
        margin-right: auto;
    }
    .login-footer-actions {
        justify-content: center;
    }
    .login-footer-links {
        justify-items: center;
    }
    .login-article-head {
        grid-template-columns: 1fr;
        padding-right: 0;
        margin-top: 0;
    }
    .login-article-head > img {
        max-height: 220px;
    }
    .tenant-register-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tenant-register-cost {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .platform-support-modal .modal-dialog {
        --bs-modal-width: min(760px, calc(100vw - 28px));
    }
    .platform-support-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .login-page {
        gap: 14px;
        padding: 18px 12px 18px;
    }
    .login-intro {
        display: grid;
        gap: 8px;
    }
    .login-intro-badge {
        margin-bottom: 2px;
    }
    .login-intro h1 {
        margin-bottom: 0;
        font-size: 1.55rem;
    }
    .login-intro p {
        line-height: 1.45;
    }
    .login-showcase,
    .login-news {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding: 8px;
        border-color: rgba(186, 230, 253, .72);
        background: rgba(255,255,255,.58);
        box-shadow: 0 10px 24px rgba(15, 65, 100, .1);
        backdrop-filter: blur(10px) saturate(138%);
        -webkit-backdrop-filter: blur(10px) saturate(138%);
    }
    .login-showcase-head,
    .login-news-head {
        margin-bottom: 7px;
        font-size: .78rem;
    }
    .login-showcase-head button {
        min-height: 28px;
        padding: 3px 8px;
        font-size: .7rem;
    }
    .login-showcase-grid {
        gap: 6px;
    }
    .login-showcase-card {
        height: 58px;
        opacity: .94;
        transform: none;
        box-shadow: 0 7px 16px rgba(15, 65, 100, .1);
    }
    .login-showcase-card.active {
        transform: none;
        box-shadow: 0 8px 18px rgba(15, 65, 100, .15);
    }
    .login-showcase-card.active img {
        transform: scale(1.03);
    }
    .login-news {
        margin-top: 8px;
    }
    .login-news-list {
        gap: 6px;
        max-height: 122px;
        overflow: auto;
        padding-right: 2px;
    }
    .login-news-item {
        min-height: 50px;
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 8px;
        padding: 6px;
        box-shadow: 0 6px 14px rgba(15, 65, 100, .07);
    }
    .login-news-thumb {
        width: 54px;
        height: 36px;
    }
    .login-news-date {
        font-size: .64rem;
    }
    .login-news-title {
        font-size: .78rem;
        line-height: 1.22;
    }
    .login-footer-intro {
        display: none;
    }
    .login-footer-card-mobile {
        display: block;
        width: 100%;
        margin-top: 14px;
        text-align: center;
    }
    .login-footer-card-mobile .login-footer-inner {
        width: 100%;
        justify-content: center;
        padding: 9px 12px;
    }
    .login-card {
        padding: 18px;
    }
    .login-brand {
        align-items: flex-start;
    }
    .login-logo {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
    .login-title-site {
        font-size: 1.08rem;
    }
    .login-footer-actions {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;
        width: 100%;
        margin-top: 9px;
    }
    .login-footer-card-mobile .login-footer-action {
        min-height: 42px;
        padding: 8px 10px;
        gap: 5px;
        font-size: .74rem;
        white-space: nowrap;
    }
    .tenant-register-grid,
    .tenant-register-cost {
        grid-template-columns: 1fr;
    }
    .login-footer-card-mobile .login-footer-links {
        width: 100%;
        justify-items: stretch;
    }
    .login-footer-card-mobile .login-footer-link {
        width: 100%;
        justify-content: flex-start;
        padding: 9px 12px;
        font-size: .84rem;
    }
    .platform-contact-modal .modal-body,
    .platform-contact-modal .modal-header,
    .platform-contact-modal .modal-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    .platform-modal-intro {
        margin-right: 0;
    }
    .platform-terms-dialog {
        --bs-modal-width: calc(100vw - 24px);
    }
    .platform-terms-modal .modal-body {
        padding: 12px;
    }
    .platform-terms-content {
        max-height: calc(100vh - 220px);
        padding: 14px;
        font-size: .9rem;
    }
    .platform-support-panel {
        padding: 12px;
    }
    .platform-support-form-grid,
    .platform-support-lookup-grid {
        grid-template-columns: 1fr;
    }
    .platform-support-field-wide {
        grid-column: 1 / -1;
    }
    .platform-support-captcha .login-captcha-row {
        grid-template-columns: 1fr;
    }
    .login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .tenant-current {
        align-items: flex-start;
        flex-direction: column;
    }
    .tenant-current-actions {
        justify-items: start;
    }
    .tenant-code-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tenant-id-remember {
        width: 100%;
        justify-content: flex-start;
    }
    .tenant-action-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .tenant-register-modal .modal-header {
        padding: 18px 18px 12px;
    }
    .tenant-register-modal .modal-header p {
        margin-right: 0;
    }
    .tenant-register-modal .modal-body {
        padding: 16px 18px 6px;
    }
    .tenant-register-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .tenant-register-modal .modal-footer {
        padding: 12px 18px 18px;
    }
    .tenant-register-modal .modal-footer .btn {
        flex: 1 1 0;
    }
    .login-captcha-row {
        grid-template-columns: 1fr;
    }
    .login-image-lightbox {
        padding: 14px;
    }
    .login-lightbox-panel {
        max-width: calc(100vw - 28px);
        max-height: 86vh;
        padding: 8px;
    }
    .login-lightbox-panel img,
    .login-lightbox-panel.is-square img,
    .login-lightbox-panel.is-portrait img {
        max-width: calc(100vw - 44px);
        max-height: calc(86vh - 64px);
    }
    .login-article-modal {
        padding: 12px;
    }
    .login-article-panel {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
        padding: 14px;
    }
    .login-article-title {
        font-size: 1.18rem;
    }
}
