/* TheConsole Shield presentation. Independent of the administration stylesheet. */
body.tc-auth {
    --auth-brand: #1b2027;
    --auth-canvas: #fafbfc;
    --auth-surface: #fff;
    --auth-text: #202731;
    --auth-muted: #647080;
    --auth-line: #dde3e9;
    --auth-control-line: #84909f;
    --auth-accent: #246e64;
    --auth-link: #246e64;
    --auth-hover: #1d5e54;
    --auth-danger: #973c48;
    --auth-danger-bg: #faf0f1;
    --auth-danger-line: #e9ccd2;
    --auth-success-bg: #edf5f2;
    --auth-success-line: #b6d3ca;
    --auth-focus: #246e64;
    --bs-body-font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
    --bs-body-color: var(--auth-text);
    --bs-body-bg: var(--auth-canvas);
    --bs-heading-color: var(--auth-text);
    --bs-border-color: var(--auth-line);
    --bs-form-invalid-color: var(--auth-danger);
    --bs-form-invalid-border-color: var(--auth-danger);
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    color-scheme: light;
    background: var(--auth-canvas);
    color: var(--auth-text);
    font: 14px/1.55 var(--bs-body-font-family);
    -webkit-font-smoothing: antialiased;
}
[data-bs-theme="dark"] body.tc-auth {
    --auth-brand: #171c22;
    --auth-canvas: #1d232b;
    --auth-surface: #222b35;
    --auth-text: #e7ecf1;
    --auth-muted: #a2afbf;
    --auth-line: #424d5b;
    --auth-control-line: #718093;
    --auth-link: #a1d1c4;
    --auth-danger: #efb2ba;
    --auth-danger-bg: #382a32;
    --auth-danger-line: #81515b;
    --auth-success-bg: #2b403b;
    --auth-success-line: #5b8b7d;
    --auth-focus: #a1d1c4;
    color-scheme: dark;
}
.tc-auth *, .tc-auth *::before, .tc-auth *::after { box-sizing: border-box; }
.tc-auth-shell { display: grid; grid-template-columns: 42% minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.tc-auth-brand { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; isolation: isolate; padding: 2.5rem 3.5rem; background: var(--auth-brand); color: #f0f3f7; }
.tc-auth-logo-link { position: relative; z-index: 1; display: inline-flex; align-self: flex-start; border-radius: 3px; }
.tc-auth-logo { display: block; width: 11rem; height: auto; }
.tc-auth-brand-message { position: relative; z-index: 1; margin-block: auto; padding-block: 4rem 8rem; }
.tc-auth-product { margin: 0 0 1.125rem; font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 600; line-height: 1.15; letter-spacing: -.04em; }
.tc-auth-description { margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.4; letter-spacing: -.02em; }
.tc-auth-description em { color: #a4d2c6; font-style: normal; }
.tc-auth-brand-footer { position: relative; z-index: 1; color: #a4afbc; font: 12px/1.5 ui-monospace, "Cascadia Code", Consolas, monospace; }
.tc-auth-geometry { position: absolute; z-index: 0; pointer-events: none; width: 34rem; height: 34rem; max-width: none; left: -5rem; bottom: -10rem; }
.tc-auth-piece { transform-box: fill-box; transform-origin: center; }
.tc-auth-piece-graphite { fill: #2a323d; }
.tc-auth-piece-teal { fill: #304b47; }
.tc-auth-panel { min-width: 0; display: flex; flex-direction: column; padding: 2rem 3.5rem; }
.tc-auth-toolbar { display: flex; justify-content: flex-end; }
.tc-auth-appearance { display: flex; align-items: center; gap: .5rem; min-height: 2.25rem; padding: .375rem .5rem; border: 0; border-radius: 3px; background: transparent; color: var(--auth-muted); font-size: 12px; }
.tc-auth .material-symbols-rounded { display: block; font-size: 18px; }
.tc-auth .dropdown-menu { --bs-dropdown-min-width: 9rem; --bs-dropdown-bg: var(--auth-surface); --bs-dropdown-color: var(--auth-text); --bs-dropdown-link-color: var(--auth-text); --bs-dropdown-link-hover-color: var(--auth-text); --bs-dropdown-link-hover-bg: var(--auth-success-bg); --bs-dropdown-link-active-bg: var(--auth-accent); --bs-dropdown-link-active-color: #fff; border: 1px solid var(--auth-line); border-radius: 3px; font-size: 13px; }
.tc-auth .dropdown-item { display: flex; align-items: center; gap: .625rem; padding: .5rem .75rem; }
.tc-auth-main { display: flex; flex: 1; min-width: 0; padding-block: 4rem; }
.tc-auth-main-inner { width: 100%; max-width: 25rem; min-width: 0; margin: auto; overflow-wrap: anywhere; }
.tc-auth-heading { margin-bottom: 1.75rem; }
.tc-auth-heading h1 { margin: 0; color: var(--auth-text); font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.tc-auth-heading p { margin: .625rem 0 0; color: var(--auth-muted); }
.tc-auth-form { display: grid; gap: 1.125rem; }
.tc-auth-field label { display: block; margin-bottom: .4375rem; font-size: 13px; font-weight: 600; }
.tc-auth .tc-auth-field .form-control { min-width: 0; min-height: 2.625rem; padding: .5625rem .75rem; border: 1px solid var(--auth-control-line); border-radius: 3px; background-color: var(--auth-surface); color: var(--auth-text); font: inherit; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.tc-auth .tc-auth-field .form-control::placeholder { color: var(--auth-muted); opacity: 1; }
.tc-auth .tc-auth-field .form-control:hover { border-color: var(--auth-muted); }
.tc-auth .tc-auth-field .form-control:focus { border-color: var(--auth-focus); box-shadow: 0 0 0 2px #247b7214; }
.tc-auth .tc-auth-field [autocomplete="one-time-code"] { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; letter-spacing: .18em; font-variant-numeric: tabular-nums; }
.tc-auth-remember { margin: 0; padding-left: 1.5rem; font-size: 13px; }
.tc-auth .form-check-input { width: 1rem; height: 1rem; margin: .1875rem 0 0 -1.5rem; border-color: var(--auth-control-line); background-color: var(--auth-surface); box-shadow: none; }
.tc-auth .form-check-input:checked { background-color: var(--auth-accent); border-color: var(--auth-accent); }
.tc-auth .form-check-label { min-height: 1.5rem; color: var(--auth-muted); cursor: pointer; }
.tc-auth .tc-auth-submit { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; min-height: 2.625rem; padding: .5625rem .875rem; border: 1px solid var(--auth-accent); border-radius: 3px; background: var(--auth-accent); color: #fff; font: 600 14px/1.55 var(--bs-body-font-family); text-transform: none; box-shadow: none; transition: background-color .15s; }
.tc-auth .tc-auth-submit:hover, .tc-auth .tc-auth-submit:focus-visible { border-color: var(--auth-hover); background: var(--auth-hover); color: #fff; }
.tc-auth .tc-auth-submit:active { background: #164f49; border-color: #164f49; }
.tc-auth .tc-auth-submit:disabled { opacity: .65; pointer-events: none; }
.tc-auth a { color: var(--auth-link); text-underline-offset: .25em; }
.tc-auth a:hover { color: var(--auth-link); text-decoration: underline; }
.tc-auth-alternatives { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: 13px; text-align: center; }
.tc-auth-alternatives p { margin: 0; }
.tc-auth-alternatives p + p { margin-top: .625rem; }
.tc-auth-alternatives a { display: inline-block; padding-block: .25rem; }
.tc-auth .alert { position: relative; margin-bottom: 1.25rem; padding: .875rem .875rem .875rem 2.5rem; border: 1px solid; border-radius: 3px; font-size: 14px; overflow-wrap: anywhere; }
.tc-auth .alert::before { content: "!"; position: absolute; top: .875rem; left: .875rem; width: 1rem; height: 1rem; border: 1px solid currentColor; border-radius: 50%; font: 600 12px/14px ui-monospace, monospace; text-align: center; }
.tc-auth .alert-danger { background: var(--auth-danger-bg); border-color: var(--auth-danger-line); color: var(--auth-danger); }
.tc-auth .alert-success { background: var(--auth-success-bg); border-color: var(--auth-success-line); color: var(--auth-link); }
.tc-auth .alert-success::before { content: "✓"; border: 0; }
.tc-auth .invalid-feedback { color: var(--auth-danger); font-size: 12px; }
.tc-auth .was-validated .tc-auth-field .form-control:invalid { border-color: var(--auth-danger); }
.tc-auth .was-validated .tc-auth-field .form-control:valid { border-color: var(--auth-control-line); background-image: none; }
.tc-auth-confirmation p { color: var(--auth-muted); margin: 0 0 1rem; }
.tc-auth-confirmation strong { color: var(--auth-text); }
.tc-auth-footer { color: var(--auth-muted); font-size: 12px; text-align: right; }
.tc-auth :is(a, button, input):focus-visible { outline: 2px solid var(--auth-focus) !important; outline-offset: 3px; }
.tc-auth .tc-auth-logo-link:focus-visible { outline-color: #a4d2c6 !important; }
.tc-auth-skip { position: absolute; top: -6rem; left: 1.5rem; z-index: 1080; padding: .75rem; background: var(--auth-surface); }
.tc-auth-skip:focus { top: .75rem; }
@media (prefers-reduced-motion: no-preference) {
    .tc-auth-piece-graphite { animation: tc-auth-join-graphite 2.2s cubic-bezier(.22, .65, .25, 1) .12s both; }
    .tc-auth-piece-teal { animation: tc-auth-join-teal 2.2s cubic-bezier(.22, .65, .25, 1) .12s both; }
}
@keyframes tc-auth-join-graphite { from { transform: translate(-8px, -6px); } to { transform: translate(0, 0); } }
@keyframes tc-auth-join-teal { from { transform: translate(8px, 6px); } to { transform: translate(0, 0); } }
@media (max-width: 1199.98px) {
    .tc-auth-brand, .tc-auth-panel { padding-inline: 2rem; }
    .tc-auth-geometry { width: 29rem; height: 29rem; left: -6rem; bottom: -8rem; }
}
@media (max-width: 899.98px) {
    .tc-auth-shell { display: flex; flex-direction: column; }
    .tc-auth-brand { flex: none; padding: 1.5rem 2rem 1.75rem; }
    .tc-auth-logo { width: 9rem; }
    .tc-auth-brand-message { margin: 1.75rem 0 0; padding: 0; }
    .tc-auth-product { margin-bottom: .5rem; font-size: 28px; }
    .tc-auth-description { font-size: 14px; letter-spacing: 0; }
    .tc-auth-description br { display: none; }
    .tc-auth-description em::before { content: " "; }
    .tc-auth-brand-footer { display: none; }
    .tc-auth-geometry { width: 17rem; height: 17rem; left: auto; right: -3rem; bottom: -4.5rem; opacity: .5; }
    .tc-auth-panel { flex: 1; padding: 1rem 2rem 1.5rem; }
    .tc-auth-main { flex: 1; padding-block: 1.75rem 2.5rem; }
    .tc-auth-main-inner { margin: 0 auto; }
    .tc-auth-heading { margin-bottom: 1.5rem; }
    .tc-auth-heading h1 { font-size: 28px; }
    .tc-auth-footer { text-align: left; }
}
@media (max-width: 575.98px) {
    .tc-auth-brand, .tc-auth-panel { padding-inline: 1.5rem; }
    .tc-auth-product { font-size: 26px; }
    .tc-auth-geometry { right: -5rem; opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
    .tc-auth *, .tc-auth *::before, .tc-auth *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.tc-auth-code { font-variant-numeric: tabular-nums; letter-spacing: .25em; font-size: 1.6rem; }
.tc-auth-otp {
    --otp-gap: 8px;
    --otp-height: 64px;
    position: relative;
}
.tc-auth-otp-cells {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--otp-gap);
    pointer-events: none;
}
.tc-auth-otp-cell {
    position: relative;
    display: grid;
    place-items: center;
    height: var(--otp-height);
    border: 1px solid var(--auth-control-line);
    border-radius: 4px;
    background: var(--auth-surface);
    color: var(--auth-text);
    font: 500 32px/1 ui-monospace, Consolas, monospace;
    font-variant-numeric: tabular-nums;
}
.tc-auth .tc-auth-otp.is-enhanced .form-control {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 1;
    width: 100%;
    height: var(--otp-height);
    padding: 0 0 0 calc((var(--otp-step) - var(--otp-gap) - 1ch) / 2);
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    color: transparent;
    -webkit-text-fill-color: transparent;
    caret-color: transparent;
    font: 500 32px/1 ui-monospace, Consolas, monospace;
    letter-spacing: calc(var(--otp-step) - 1ch);
    cursor: text;
}
.tc-auth-otp.is-enhanced input::selection {
    background: transparent;
    color: transparent;
}
.tc-auth .tc-auth-otp.is-enhanced input:focus-visible {
    /* The active/selected cells provide the visible focus indicator. */
    outline: none !important;
}
.tc-auth-otp:focus-within .tc-auth-otp-cell.is-active,
.tc-auth-otp:focus-within .tc-auth-otp-cell.is-selected {
    border-color: var(--auth-accent);
    box-shadow: 0 0 0 2px var(--auth-accent);
    background: #eaf5f3;
}
.tc-auth-otp:focus-within .tc-auth-otp-cell.is-selected { background: #cee8e4; }
.tc-auth-otp:focus-within .tc-auth-otp-cell.is-active:empty::after {
    content: '';
    width: 2px;
    height: 28px;
    background: var(--auth-accent);
}
.tc-auth .was-validated .tc-auth-otp input:invalid ~ .tc-auth-otp-cells .tc-auth-otp-cell {
    border-color: var(--auth-danger);
}
@media (max-width: 359.98px) {
    .tc-auth-otp { --otp-gap: 6px; --otp-height: 58px; }
}
@media (forced-colors: active) {
    .tc-auth-otp:focus-within .tc-auth-otp-cell.is-active,
    .tc-auth-otp:focus-within .tc-auth-otp-cell.is-selected { outline: 2px solid Highlight; }
}
.tc-auth-resend { margin-top: 24px; }
.tc-auth-resend .form-text, .tc-auth-field .form-text { display:block; line-height:1.5; margin-top:8px; }
.tc-auth .alert { overflow-wrap:anywhere; }

.tc-auth-otp-cell.is-filled { border-bottom-width: 3px; }
.tc-auth-form .tc-auth-remember { margin-bottom: 24px; }
.tc-auth-submit { gap: 12px; }
