@font-face {
    font-family: 'Ph access icons';
    src: url('../../main/assets/css/fonts/bootstrap-iconsd862.woff2') format('woff2');
    font-display: block;
}
html:has(.access-shell) {

    --ink: var(--ws-ink);
    --muted: var(--ws-muted);
    --purple: var(--ws-action);
    --accent: var(--ws-link);
    --line: var(--ws-line);
    --sheet: var(--ws-paper);
    --wash: var(--ws-tint);
    --danger: var(--ws-danger);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    color: var(--ink);
}
* { box-sizing: border-box; }
body.ph-signin { margin:0; background:var(--ws-canvas); font:inherit; color:var(--ink) }
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: var(--purple); text-underline-offset: 3px; text-decoration: none; font-weight: 600; }
a:hover, .link:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.glyph { display: inline-grid; place-items: center; flex: none; line-height: 1; font: normal 1em/1 'Ph access icons'; }
.mail::before { content: "\f32f"; }
.lock::before { content: "\f47b"; }
.eye::before { content: "\f341"; }
.reveal[aria-pressed="true"] .eye::before { content: "\f340"; }
.arrow::before { content: "\f138"; }
.left::before { content: "\f12f"; }
.check::before { content: "\f26b"; }
.key::before { content: "\f44f"; }
.shield::before { content: "\f538"; }
.signin::before { content: "\f1be"; }
.alert::before { content: "\f333"; }
.person::before { content: "\f4d7"; }
.access-shell { min-height: 100vh; min-height: 100svh; display: grid; place-content: center; padding: 32px 24px; }
.access-panel, .access-shell footer { width: min(960px, calc(100vw - 48px)); }
.access-panel {
    display: grid;
    grid-template-columns: 47% minmax(0, 1fr);
    min-height: 552px;
    background: var(--sheet);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 44px -25px #34214345, 0 1px 3px #3524490a;
}
.access-art { position: relative; isolation: isolate; min-width: 0; overflow: hidden; background: #493557; }
.access-art > img:not(.wordmark) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 57%; }
.access-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, #25142f99, transparent 39%); pointer-events: none; }
.wordmark { position: absolute; z-index: 1; top: 28px; left: 26px; display: block; width: 125px; height: auto; }
.access-content { min-width: 0; display: grid; align-items: center; justify-items: center; padding: 38px clamp(26px, 5vw, 62px); }
.access-body { width: 100%; max-width: 350px; }
.access-body header { margin-bottom: 23px; }
.page-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border:1px solid var(--line); border-radius: 12px; background: var(--wash); color: var(--purple); font-size: 19px; margin-bottom: 15px; }
.access-body h1 { font-weight:700; color:var(--ink);margin: 0; font-size: 24px; letter-spacing: -.85px; line-height: 1.2; }
.intro, .detail { margin: 7px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.intro strong { color: var(--ink); font-weight: 600; }
.detail { margin: -4px 0 20px; }
.access-body form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; }
.control { display: flex; align-items: center; gap: 10px; height: 42px; border: 1px solid var(--line); border-radius: 8px; padding-inline: 12px 0; color: #80738c; background: var(--sheet); }
.control > .glyph { font-size: 15px; }
.control:focus-within { border-color:var(--accent);box-shadow:0 0 0 3px var(--wash); }
.control.invalid { border-color: var(--danger); }
.control input { min-width: 0; flex: 1; width: 100%; height: 100%; padding: 0 9px 0 0; border: 0; border-radius: inherit; background: transparent; color: var(--ink); outline: none; font-size: 14px; }
.control input::placeholder { color: #877f90; }
.control:has(input:read-only) { background: var(--ws-soft); }
.reveal { display: grid; place-items: center; align-self: stretch; width: 40px; padding: 0; border: 0; background: transparent; color: #6d6179; border-radius: 6px; font-size: 16px; cursor: pointer; }
.reveal:hover { color: var(--purple); background: var(--wash); }
[hidden] { display: none !important; }
.error, .hint { font-size: 12px; line-height: 1.4; color: var(--muted); }
.error { color: var(--danger); }
.options { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 7px; font-size: 12px; }
.remember { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; min-height: 25px; }
.remember input { margin: 0; width: 15px; height: 15px; accent-color: var(--purple); }
.primary { border: 1px solid transparent; border-radius: 8px; min-height: 42px; padding: 9px 14px; background: var(--purple); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 14px; text-align: center; }
.primary:hover { background: var(--ws-hover); text-decoration: none; }
.primary:disabled { opacity: .78; cursor: wait; }
.primary:disabled i { width: 14px; height: 14px; border: 2px solid #ffffff60; border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.primary:disabled i::before { content: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .primary:disabled i { animation: none; } }
.back, .alternate { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 19px; }
.back, .link, .align-end { font-size: 13px; }
.link { padding: 4px; background: transparent; border: 0; color: var(--purple); font-weight: 600; cursor: pointer; }
.align-end { justify-self: end; }
.notice, .account { display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; padding: 10px 12px; margin: 0 0 16px; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.notice i, .account i { margin-top: 3px; }
.success { background: #ecf7f0; color: #246243; }
.warning { background: #fff0e6; color: #803d15; }
.account { background: var(--wash); color: var(--purple); }
.access-shell footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 13px 3px 0; color: #766d7d; font-size: 11px; }
@media (max-width: 660px) {
    .access-shell { padding: 18px 14px; }
    .access-panel, .access-shell footer { width: min(420px, calc(100vw - 28px)); }
    .access-panel { grid-template-columns: minmax(0,1fr); min-height: 0; border-radius: 15px; }
    .access-art { height: 116px; }
    .access-art > img:not(.wordmark) { object-position: 50% 54%; }
    .access-art::after { background: linear-gradient(90deg, #271333b0, transparent 80%); }
    .wordmark { top: 18px; left: 18px; width: 115px; }
    .access-content { padding: 23px clamp(17px, 6vw, 27px) 26px; }
    .page-icon { display: none; }
    .access-body header { margin-bottom: 18px; }
    .control input { font-size: 16px; }
    .access-shell footer { font-size: 10px; }
}

.access-shell {line-height:1.4}
.access-shell a:not(.primary) {color:var(--ws-link)}
.access-shell footer {align-items:center;color:var(--muted);line-height:1.2}
.access-shell footer a {color:inherit!important;font-weight:400}
.access-body .field label {margin:0;color:var(--ink)}
.access-body .remember {margin:0}
.access-body .control {color:var(--muted)}
.access-body .control:has([aria-invalid="true"]) {border-color:var(--danger)}
.access-body .primary,.access-body a.primary {color:white}
.access-tools {display:inline-flex;align-items:center;gap:.55rem}
.access-tools .ph-icon-button {width:1.8rem;height:1.8rem;border:0;background:transparent}
.access-wordmark {position:absolute;z-index:1;top:28px;left:26px;display:inline-flex;align-items:center;gap:7px;color:white;font-size:20px;line-height:1;font-weight:650;letter-spacing:-.7px}
.access-wordmark img {width:30px;height:30px;object-fit:contain;border-radius:7px;background:white;padding:3px}
.access-body .notice.warning {background:color-mix(in srgb,var(--ws-danger) 10%,var(--sheet));color:var(--danger)}
.access-body .notice.success {background:color-mix(in srgb,var(--ws-success) 12%,var(--sheet));color:var(--ws-success)}
@media(max-width:660px){.access-wordmark {top:18px;left:18px;font-size:18px}}
