#ps62a-widget {
    --ps62-blue: #123b72;
    --ps62-blue-dark: #0b2b55;
    --ps62-green: #76a915;
    --ps62-ink: #1d2935;
    --ps62-line: #d6e0e8;
    font-family: Arial, Helvetica, sans-serif;
    position: relative;
    z-index: 99999;
}
#ps62a-widget *, #ps62a-widget *::before, #ps62a-widget *::after { box-sizing: border-box; }

.ps62a-trigger {
    position: fixed;
    z-index: 99999;
    right: 0;
    top: 42%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 11px 14px;
    border: 2px solid #fff;
    border-right: 0;
    border-radius: 13px 0 0 13px;
    background: var(--ps62-blue);
    color: #fff;
    box-shadow: 0 3px 14px rgba(0,0,0,.28);
    font: 700 15px/1.2 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.ps62a-trigger:hover { background: var(--ps62-blue-dark); }
.ps62a-trigger svg {
    width: 25px; height: 25px; flex: 0 0 25px;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}
#ps62a-widget button:focus-visible {
    outline: 3px solid #f2c94c;
    outline-offset: 3px;
    position: relative;
    z-index: 2;
}
.ps62a-panel {
    position: fixed;
    z-index: 100000;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: min(390px, calc(100vw - 28px));
    max-height: min(86vh, 760px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 19px;
    border: 1px solid #cbd7e2;
    border-top: 6px solid var(--ps62-green);
    border-radius: 16px;
    background: #fff;
    color: var(--ps62-ink);
    box-shadow: 0 10px 38px rgba(0,0,0,.30);
    font: 16px/1.5 Arial, Helvetica, sans-serif;
}
.ps62a-panel[hidden] { display: none !important; }
.ps62a-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.ps62a-kicker { margin: 0 0 3px; color: #426d08; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.ps62a-panel h2 { margin: 0; color: var(--ps62-blue); font-size: 25px; line-height: 1.2; }
.ps62a-intro { margin: 6px 0 12px; color: #465565; font-size: 14px; }
.ps62a-close {
    flex: 0 0 42px; width: 42px; height: 42px;
    border: 1px solid var(--ps62-line); border-radius: 10px;
    background: #f1f5f8; color: var(--ps62-blue);
    font: 28px/1 Arial, sans-serif; cursor: pointer;
}
.ps62a-group { padding: 13px 0; border-top: 1px solid var(--ps62-line); }
.ps62a-group h3 { margin: 0 0 3px; color: var(--ps62-blue); font-size: 17px; line-height: 1.3; }
.ps62a-description { margin: 0 0 9px; color: #536273; font-size: 13px; }
.ps62a-row { display: flex; gap: 9px; }
.ps62a-row button, .ps62a-reset {
    min-height: 46px;
    border: 1px solid #aebdcb;
    border-radius: 9px;
    background: #fff;
    color: var(--ps62-ink);
    padding: 10px 12px;
    font: 700 14px/1.25 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.ps62a-row button { flex: 1 1 0; }
.ps62a-row button:disabled { opacity: .48; cursor: not-allowed; }
.ps62a-font-controls { align-items: center; margin-bottom: 7px; }
.ps62a-font-controls button { flex: 0 0 64px; color: var(--ps62-blue); font-size: 17px; }
.ps62a-level { flex: 1; text-align: center; color: #394b5b; font-size: 13px; font-weight: 700; }
.ps62a-option {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 7px 0 0;
    padding: 9px 11px;
    border: 1px solid #c2ced9;
    border-radius: 9px;
    background: #fff;
    color: var(--ps62-ink);
    text-align: left;
    font: 600 14px/1.35 Arial, Helvetica, sans-serif;
    cursor: pointer;
}
.ps62a-option[aria-pressed="true"] {
    border-color: var(--ps62-blue);
    background: #edf3f9;
    box-shadow: inset 4px 0 var(--ps62-green);
}
.ps62a-switch {
    flex: 0 0 37px;
    width: 37px; height: 21px;
    border-radius: 99px;
    background: #778696;
    position: relative;
}
.ps62a-switch::after {
    content: "";
    position: absolute;
    top: 3px; left: 3px;
    width: 15px; height: 15px;
    border-radius: 50%;
    background: #fff;
    transition: transform .15s ease;
}
.ps62a-option[aria-pressed="true"] .ps62a-switch { background: var(--ps62-blue); }
.ps62a-option[aria-pressed="true"] .ps62a-switch::after { transform: translateX(16px); }
.ps62a-help, .ps62a-footer-note { margin: 8px 0 0; color: #536273; font-size: 12px; line-height: 1.45; }
.ps62a-status { min-height: 1.3em; margin: 3px 0 8px; color: #234b12; font-size: 13px; font-weight: 700; }
.ps62a-reset { width: 100%; background: #f2f5f7; color: var(--ps62-blue); }
.ps62a-footer-note { padding-top: 10px; border-top: 1px solid var(--ps62-line); }

html.ps62a-large { font-size: 112.5% !important; }
html.ps62a-xlarge { font-size: 125% !important; }
body.ps62a-spacing p,
body.ps62a-spacing li,
body.ps62a-spacing label,
body.ps62a-spacing input,
body.ps62a-spacing textarea {
    line-height: 1.9 !important;
    letter-spacing: .025em !important;
    word-spacing: .08em !important;
}
body.ps62a-reading,
body.ps62a-reading p,
body.ps62a-reading li,
body.ps62a-reading a,
body.ps62a-reading button {
    font-family: Arial, Helvetica, sans-serif !important;
}
body.ps62a-links a {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
}
body.ps62a-contrast { background: #fff !important; color: #111 !important; }
body.ps62a-contrast p,
body.ps62a-contrast li,
body.ps62a-contrast span,
body.ps62a-contrast h1,
body.ps62a-contrast h2,
body.ps62a-contrast h3,
body.ps62a-contrast label { color: #111 !important; }
body.ps62a-contrast a { color: #003f9e !important; text-decoration: underline !important; }
body.ps62a-motion *,
body.ps62a-motion *::before,
body.ps62a-motion *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
}
@media (max-width: 600px) {
    .ps62a-trigger { top: auto; bottom: 16px; right: 10px; border: 2px solid #fff; border-radius: 999px; padding: 11px 14px; }
    .ps62a-panel {
        top: auto; bottom: 76px; right: 10px; transform: none;
        width: min(390px, calc(100vw - 20px));
        max-height: min(78vh, 680px);
        padding: 15px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #ps62a-widget *, #ps62a-widget *::before, #ps62a-widget *::after { transition: none !important; }
}

.ps62a-handicap-link {
    margin: 12px 0;
    padding: 14px;
    border: 2px solid #76a915;
    border-radius: 12px;
    background: #f4f8eb;
    color: #1d2935;
}
.ps62a-handicap-link strong { display: block; color: #123b72; font-size: 15px; line-height: 1.35; }
.ps62a-handicap-link p { margin: 5px 0 10px; color: #334155; font-size: 13px; line-height: 1.45; }
.ps62a-handicap-link a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #123b72;
    color: #fff !important;
    font: 700 14px/1.35 Arial, Helvetica, sans-serif;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ps62a-handicap-link a:hover { background: #0b2b55; }
.ps62a-handicap-link a:focus-visible { outline: 3px solid #f2c94c; outline-offset: 3px; }
