/* Login-only styles. Independent of the site's Bootstrap version. */
.tod-login {
    --tod-login-accent: #ba4326;
    --tod-login-ink: #263238;
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    color: var(--tod-login-ink);
    background: #263238;
    isolation: isolate;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
}
.tod-login *, .tod-login *::before, .tod-login *::after { box-sizing: border-box; }
.tod-login-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tod-login-background img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tod-login [hidden] { display: none !important; }
.tod-login a { color: inherit; text-underline-offset: .25em; }
.tod-login button, .tod-login input { font: inherit; }
.tod-login a:focus-visible, .tod-login button:focus-visible, .tod-login input:focus-visible,
.tod-login [tabindex="-1"]:focus-visible { outline: 3px solid #c55232; outline-offset: 4px; }
.tod-login-skip { position: absolute; left: 16px; top: -100px; z-index: 2; padding: 10px 16px; background: white; }
.tod-login-skip:focus { top: 12px; }
.tod-login-header {
    min-height: 72px;
    padding: 14px max(28px, calc((100% - 1160px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #eef1f2;
    background: rgba(0, 0, 0, .8);
    border-bottom: 3px solid var(--tod-login-accent);
}
.tod-login-brand { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.tod-login-wordmark { flex-shrink: 0; font-family: Arial, sans-serif; font-size: 24px; letter-spacing: -.06em; }
.tod-login-wordmark span { font-weight: 400; }
.tod-login-wordmark strong { color: #cfd8dc; font-weight: 800; }
.tod-login-brand-title { padding-left: 20px; border-left: 1px solid #586166; font-size: 13px; }
.tod-login-home { flex-shrink: 0; font-size: 13px; text-decoration: none; }
.tod-login-home span { margin-left: 8px; color: #efb29d; }
.tod-login-home:hover { text-decoration: underline; }
.tod-login-main { flex: 1; display: grid; place-items: center; padding: 56px 28px 40px; }
.tod-login-panel {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    width: 100%;
    max-width: 1020px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 16px 48px #0003;
}
.tod-login-intro {
    position: relative;
    padding: 46px 40px;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    color: #f5f6f6;
    background: rgba(38, 50, 56, .8);
}
.tod-login-eyebrow, .tod-login-section-label { margin: 0; font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.tod-login-eyebrow { color: #c8d2d6; }
.tod-login-monogram { margin-top: 38px; font-family: Arial, sans-serif; font-size: 100px; font-weight: 800; letter-spacing: -.07em; line-height: 1.15; }
.tod-login-monogram span { color: #ed8765; }
.tod-login-intro h2 { margin: 16px 0 0; font-size: 24px; font-weight: 600; line-height: 1.65; letter-spacing: .04em; }
.tod-login-intro-note { margin-top: 54px; padding-top: 24px; border-top: 1px solid #617078; }
.tod-login-intro-note p { margin: 0; color: #d1dadd; font-size: 13px; line-height: 1.9; }
.tod-login-intro-note .tod-login-intro-label { margin-bottom: 8px; color: #fff; font-size: 14px; font-weight: 700; }
.tod-login-form-section { min-width: 0; padding: 44px 56px 36px; background: rgba(255, 255, 255, .9); }
.tod-login-section-label { color: var(--tod-login-accent); }
.tod-login-form-section h1 { margin: 8px 0 12px; font-size: 30px; line-height: 1.5; font-weight: 700; letter-spacing: .06em; }
.tod-login-description { margin: 0 0 28px; color: #52616a; font-size: 14px; }
.tod-login-small-break { display: none; }
.tod-login-field { margin-bottom: 22px; }
.tod-login-field label { display: block; margin-bottom: 8px; font-weight: 700; }
.tod-login-field input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #85929a;
    border-radius: 7px;
    color: #263238;
    background: #fff;
    font-size: 16px;
    line-height: 1.5;
}
.tod-login-field input:focus { border-color: var(--tod-login-accent); }
.tod-login-password { position: relative; }
.tod-login-password:has(.tod-login-reveal:not([hidden])) input { padding-right: 76px; }
.tod-login-reveal {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 64px;
    min-height: 44px;
    padding: 6px 8px;
    border: 0;
    border-radius: 4px;
    color: #46565e;
    background: #edf1f2;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer;
}
.tod-login-reveal:hover { color: #263238; background: #dfe6e9; }
.tod-login-caps { margin: 8px 0 0; color: #8c391f; font-size: 12px; }
.tod-login-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 50px;
    margin-top: 28px;
    padding: 12px 20px;
    border: 1px solid var(--tod-login-accent);
    border-radius: 7px;
    color: #fff;
    background: var(--tod-login-accent);
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
}
.tod-login-submit:hover { background: #9b361e; border-color: #9b361e; }
.tod-login-submit:active { background: #822e1b; }
.tod-login-permission { margin: 16px 0 0; color: #5a6870; font-size: 12px; }
.tod-login-help { margin-top: 26px; padding-top: 20px; border-top: 1px solid #e0e5e7; }
.tod-login-help p { margin: 0; color: #5a6870; font-size: 12px; }
.tod-login-help p:first-child { margin-bottom: 5px; color: #35464f; font-size: 13px; font-weight: 700; }
.tod-login-error { margin: 0 0 24px; padding: 14px 16px; border: 1px solid #b44d39; border-left: 4px solid #b44d39; border-radius: 6px; color: #843023; background: #fff5f1; }
.tod-login-error strong { font-size: 14px; }
.tod-login-error p { margin: 4px 0 0; font-size: 13px; }
.tod-login-footer { padding: 14px 24px; color: #d8e0e3; background: rgba(0, 0, 0, .8); font-size: 11px; text-align: center; }
.tod-login-footer-brand span { padding: 0 10px; color: #a9b5bc; }
.tod-login-photo-credit { margin: 5px 0 0; overflow-wrap: anywhere; }
.tod-login-photo-credit a:hover { color: #fff; }
.tod-login-preview { margin: 0; padding: 10px 20px; color: #e1e7ea; background: rgba(0, 0, 0, .55); font-size: 12px; text-align: center; }
@media (max-width: 900px) {
    .tod-login-brand-title { display: none; }
    .tod-login-intro { padding: 40px 28px; }
    .tod-login-form-section { padding: 40px 32px 32px; }
    .tod-login-intro h2 { font-size: 21px; }
    .tod-login-monogram { font-size: 88px; }
    .tod-login-eyebrow { max-width: 180px; line-height: 1.8; }
}
@media (max-width: 700px) {
    .tod-login-header { min-height: 64px; padding: 12px 20px; gap: 12px; }
    .tod-login-wordmark { font-size: 22px; }
    .tod-login-main { display: block; padding: 28px 16px; }
    .tod-login-panel { display: block; max-width: 480px; margin: 0 auto; border-radius: 12px; }
    .tod-login-intro { padding: 22px 26px; border-radius: 11px 11px 0 0; }
    .tod-login-eyebrow { max-width: none; font-size: 9px; }
    .tod-login-monogram, .tod-login-intro-note { display: none; }
    .tod-login-intro h2 { margin-top: 8px; font-size: 18px; line-height: 1.6; }
    .tod-login-form-section { padding: 28px 26px; }
    .tod-login-form-section h1 { margin-top: 5px; font-size: 26px; }
    .tod-login-description { margin-bottom: 24px; font-size: 13px; }
    .tod-login-small-break { display: initial; }
    .tod-login-footer { padding-bottom: 20px; font-size: 10px; }
}
@media (max-width: 360px) {
    .tod-login-header { padding-inline: 16px; }
    .tod-login-main { padding-inline: 12px; }
    .tod-login-intro, .tod-login-form-section { padding-inline: 20px; }
}
@media (forced-colors: active) {
    .tod-login-panel { border-color: CanvasText; }
    .tod-login-intro { border: 1px solid CanvasText; }
    .tod-login-reveal, .tod-login-submit { border: 1px solid ButtonText; }
}
