body.ui-page.re-page {
    --re-ink: #303a35;
    --re-muted: #59645e;
    --re-green: #53601d;
    --re-accent: #c1d13f;
    --re-line: #dce1d8;
    --re-paper: #fffefa;
    --re-error: #a12a2a;
    background: var(--re-paper);
    color: var(--re-ink);
    font-family: "Noto Sans", Arial, sans-serif;
}
.re-page [hidden] { display: none !important; }
.re-main { max-width: 1240px; padding: 56px 32px 40px; margin: auto; }
.re-page p { line-height: 1.65; }
.re-page a { color: var(--re-green); text-underline-offset: 3px; }
.re-page a:hover { color: #374216; }
.re-page :focus-visible { outline: 3px solid var(--re-green); outline-offset: 4px; }
.re-skip { position: absolute; left: 24px; top: -100px; background: white; padding: 12px 20px; z-index: 10000; }
.re-skip:focus { top: 12px; }
.re-intro { display: grid; grid-template-columns: 1fr 265px; gap: 48px; align-items: end; padding-bottom: 36px; border-bottom: 5px solid var(--re-accent); margin-bottom: 36px; }
.re-service { font-size: .95rem !important; font-weight: 600; color: var(--re-green); margin-bottom: 12px !important; }
.re-intro h1 { max-width: 650px; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1.17; letter-spacing: -.035em; margin: 0 0 18px; }
.re-intro p { max-width: 670px; color: var(--re-muted); }
.re-intro-note { padding-left: 20px; border-left: 2px solid var(--re-line); }
.re-intro-note strong { display: block; margin-bottom: 6px; }
.re-intro-note p { font-size: .875rem; }
.re-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; align-items: start; }
.re-sidebar { position: sticky; top: calc(var(--progress-top, 0px) + 24px); }
.re-sidebar nav > p { font-size: .85rem; color: var(--re-muted); margin-bottom: 14px; }
.re-sidebar ol { list-style: none; padding: 0; margin: 0; }
.re-sidebar a { display: block; padding: 11px 12px; margin: 3px 0; border-left: 2px solid var(--re-line); font-size: .94rem; color: var(--re-ink); text-decoration: none; }
.re-sidebar a:hover, .re-sidebar a:focus { background: #eff2df; border-left-color: var(--re-green); }
.re-save-note { font-size: .8rem !important; color: var(--re-muted); padding: 20px 12px; }
.re-section { padding: 28px 0 36px; border-bottom: 1px solid var(--re-line); scroll-margin-top: calc(var(--progress-top, 0px) + 24px); }
.re-section:first-of-type { padding-top: 0; }
.re-section h2 { font-size: 1.45rem; font-weight: 650; letter-spacing: -.02em; margin: 0 0 12px; }
.re-section > p { color: var(--re-muted); margin-bottom: 22px; max-width: 70ch; }
.re-section-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; flex-wrap: wrap; }
.re-tag { display: inline-block; font-size: .75rem !important; font-weight: 600; color: #46521a; background: #eef1d7; border-radius: 4px; padding: 5px 9px; margin-bottom: 12px !important; }
.re-identity { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 20px; padding: 24px; background: #f2f4ee; border-radius: 8px; margin: 0; }
.re-identity dt { font-size: .78rem; color: var(--re-muted); font-weight: 500; margin-bottom: 6px; }
.re-identity dd { margin: 0; overflow-wrap: anywhere; font-size: .94rem; font-weight: 600; }
.re-wide { grid-column: span 2; }
.re-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.re-page fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.re-field { min-width: 0; }
.re-field > label, .re-field > legend { display: block; float: none; width: auto; font-size: .9rem; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.re-page input:not([type="hidden"]):not([type="radio"]):not([type="checkbox"]):not([type="file"]), .re-page select {
    width: 100%; min-height: 46px; border: 1px solid #9ba69f; border-radius: 6px; background: white; color: var(--re-ink); font: inherit; font-size: .96rem; padding: 10px 12px; box-shadow: none;
}
.re-page input[readonly] { background: #f2f4ee !important; border-color: var(--re-line) !important; }
.re-page select:not([multiple]) {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    height: 46px;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23303a35' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.re-page input[aria-invalid="true"], .re-page select[aria-invalid="true"] { border-color: var(--re-error) !important; }
.re-page input[type="radio"], .re-page input[type="checkbox"] { width: 19px; height: 19px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--re-green); }
.re-page small { display: block; font-size: .79rem; color: var(--re-muted); line-height: 1.55; margin-top: 7px; }
.re-error { color: var(--re-error) !important; font-size: .85rem !important; margin-top: 7px !important; overflow-wrap: anywhere; }
.re-error:empty { display: none; }
.re-choices { display: flex; gap: 12px; flex-wrap: wrap; }
.re-choice { display: flex; align-items: start; gap: 10px; flex: 1 1 145px; min-height: 48px; border: 1px solid #9ba69f; border-radius: 6px; padding: 12px 16px; cursor: pointer; font-size: .94rem; }
.re-choice:has(:checked) { border-color: var(--re-green); background: #f0f3db; box-shadow: inset 0 0 0 1px var(--re-green); }
.re-check { display: flex; gap: 10px; align-items: start; cursor: pointer; font-size: .875rem; margin-top: 12px; line-height: 1.5; }
.re-page .re-address-group { margin-top: 22px; }
.re-postal-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 18px; }
.re-postal-row button { margin-top: 29px; }
.re-lookup-state { margin: 12px 0 20px !important; font-size: .9rem !important; color: var(--re-green); }
.re-button { border: 1px solid var(--re-green); border-radius: 6px; color: white; background: var(--re-green); padding: 12px 22px; min-height: 46px; font: inherit; font-size: .94rem; font-weight: 600; cursor: pointer; }
.re-button:hover { background: #3f4916; }
.re-button-secondary { color: var(--re-green); background: transparent; }
.re-button-secondary:hover { background: #eef1da; }
.re-button:disabled { cursor: wait; opacity: .65; }
.re-documents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.re-page .re-document { border: 1px solid var(--re-line); border-radius: 8px; padding: 20px; background: #fff; }
.re-document legend { float: none; width: auto; font-size: .98rem; font-weight: 650; margin-bottom: 12px; padding: 0; line-height: 1.45; }
.re-file-label { display: block; font-size: .82rem; margin-bottom: 8px; color: var(--re-muted); }
.re-document input[type="file"] { width: 100%; min-width: 0; font-size: .8rem; color: var(--re-muted); padding: 4px 0; }
.re-document input::file-selector-button { cursor: pointer; background: #f2f4ee; border: 1px solid #9ba69f; border-radius: 5px; color: var(--re-ink); font: inherit; font-weight: 600; padding: 9px 10px; margin-right: 8px; }
.re-document a { display: inline-block; font-size: .85rem; margin-top: 12px; }
.re-tutor-documents { border-top: 2px dashed var(--re-line); margin-top: 30px; padding-top: 26px; }
.re-tutor-documents-heading { display: flex; justify-content: space-between; align-items: start; gap: 10px; flex-wrap: wrap; }
.re-tutor-documents h3 { font-size: 1.1rem; font-weight: 650; margin: 0 0 8px; }
.re-tutor-documents > p { color: var(--re-muted); font-size: .9rem; margin: 0 0 18px; }
.re-document-guidance { color: var(--re-muted); font-size: .85rem; line-height: 1.55; margin: 0 0 12px; }
.re-document-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 16px; }
.re-document .re-document-links a { margin-top: 0; }
.re-annex-main { max-width: 820px; padding: 48px 24px 72px; margin: auto; }
.re-annex-main > h1 { font-size: 1.7rem; margin: 12px 0 22px; }
.re-annex-content h2 { font-size: 1.18rem; margin: 30px 0 12px; }
.re-annex-content p, .re-annex-content li { font-size: .92rem; line-height: 1.7; }
.re-annex-content p { margin: 0 0 15px; }
.re-annex-content ul { padding-left: 24px; margin: 0 0 18px; }
.re-annex-content li { margin-bottom: 7px; }
.re-annex-content a { overflow-wrap: anywhere; }
.re-annex-content ul:first-of-type { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0; }
.re-annex-content ul:first-of-type li { border: 1px solid var(--re-line); border-radius: 7px; background: #f7f8f1; margin: 0; padding: 10px 12px; }
.re-annex-dialog { border: 1px solid var(--re-line); border-radius: 14px; width: min(720px, calc(100vw - 32px)); max-width: none; max-height: min(860px, calc(100dvh - 32px)); padding: 0; color: var(--re-ink); background: white; box-shadow: 0 20px 70px rgba(24, 35, 20, .22); }
.re-annex-dialog[open] { display: flex; flex-direction: column; }
.re-annex-dialog::backdrop { background: rgba(22, 32, 24, .55); }
.re-annex-dialog-header, .re-annex-dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 24px; flex: 0 0 auto; }
.re-annex-dialog-header { border-bottom: 1px solid var(--re-line); }
.re-annex-dialog-header .re-service { margin: 0 0 3px !important; }
.re-annex-dialog-header h2 { font-size: 1.25rem; margin: 0; }
.re-annex-dialog-header .re-tag { margin: 8px 0 0 !important; }
.re-annex-dialog-body { overflow-y: auto; padding: 22px 24px 26px; }
.re-annex-dialog-footer { border-top: 1px solid var(--re-line); }
.re-annex-dialog-footer a { font-size: .88rem; }
.re-annex-close { border: 1px solid var(--re-line); border-radius: 7px; background: white; color: var(--re-ink); cursor: pointer; font: inherit; font-size: 1.8rem; line-height: 1; width: 42px; height: 42px; flex: 0 0 auto; }
.re-annex-close:hover { background: #f2f4ee; }
.re-file-state { font-size: .8rem !important; color: var(--re-green); overflow-wrap: anywhere; }
.re-photo { display: block; width: 110px; max-height: 150px; object-fit: contain; margin-top: 15px; border-radius: 6px; }
.re-protocol { border-left: 3px solid var(--re-accent); padding: 16px 20px; background: #f5f6ef; margin: 20px 0; font-size: .9rem; line-height: 1.65; }
.re-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.re-actions p { max-width: 360px; font-size: .85rem; color: var(--re-muted); }
.re-actions button { flex-shrink: 0; }
.re-notice { padding: 22px; background: #fff2f0; border-left: 4px solid var(--re-error); border-radius: 4px; margin-bottom: 28px; }
.re-notice h2 { font-size: 1.1rem; font-weight: 650; }
.re-notice p, .re-notice li { font-size: .9rem; }
.re-notice ul { margin: 12px 0 0; padding-left: 20px; }
.re-notice a { color: var(--re-error); }
.re-legal { text-align: center; max-width: 850px; margin: auto; padding: 12px 24px 48px; }
.re-legal p { font-weight: 600; font-size: .9rem; }
.re-legal small { font-size: .73rem; }
.re-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.re-result { max-width: 780px; padding: 32px; border: 1px solid var(--re-line); border-top: 5px solid var(--re-accent); border-radius: 8px; background: white; margin: 40px auto; }
.re-result h1 { font-size: 2rem; margin: 14px 0 24px; }
.re-result p + p { margin-top: 18px; }
@media (max-width: 980px) {
    .re-main { padding: 36px 24px; }
    .re-intro { gap: 24px; grid-template-columns: 1fr; }
    .re-intro-note { max-width: 600px; }
    .re-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .re-sidebar { position: static; }
    .re-sidebar ol { display: flex; gap: 6px; flex-wrap: wrap; }
    .re-sidebar a { border: 1px solid var(--re-line); border-radius: 5px; padding: 9px 12px; }
    .re-save-note { padding: 10px 0; }
}
@media (max-width: 600px) {
    .re-annex-content ul:first-of-type { grid-template-columns: minmax(0, 1fr); }
    .re-annex-dialog { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
    .re-annex-dialog-header, .re-annex-dialog-footer { padding: 14px 18px; }
    .re-annex-dialog-body { padding: 18px; }
    .re-main { padding: 28px 18px; }
    .re-intro { padding-bottom: 24px; margin-bottom: 24px; }
    .re-intro h1 { font-size: 2rem; }
    .re-intro-note { padding-left: 14px; }
    .re-identity { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; gap: 20px 14px; }
    .re-grid, .re-documents, .re-postal-row { grid-template-columns: minmax(0, 1fr); }
    .re-grid { gap: 18px; }
    .re-postal-row { gap: 10px; }
    .re-postal-row button { margin-top: 0; width: 100%; }
    .re-sidebar a { font-size: .85rem; min-height: 44px; }
    .re-actions { align-items: stretch; flex-direction: column; gap: 16px; }
    .re-section { padding-top: 24px; padding-bottom: 28px; }
    .re-section h2 { font-size: 1.3rem; }
    .re-result { padding: 24px; margin: 16px auto; }
}
@media (prefers-reduced-motion: reduce) {
    .re-page *, .re-page *::before, .re-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (max-width: 360px) {
    .re-page #headerPLS .row.align-items-center > .col-7 { width: 54%; }
    .re-page #headerPLS .row.align-items-center > .col-5 { width: 46%; }
    .re-page #headerPLS img[alt="logo PL-SEP"] { width: 145px; height: auto; }
    .re-page #footerPLS .wrapper { flex-wrap: wrap; max-width: 100%; padding-inline: 0; justify-content: center; }
}
