:root { font: 16px/1.5 system-ui, sans-serif; color: #101d3e; background: #f7faff; --blue: #0756c9; --line: #d8e4f3; --muted: #425777; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; grid-template-columns: 264px minmax(0, 1fr); }
.sidebar { background: #f0f6fd; border-right: 1px solid var(--line); padding: 24px 14px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 6px; }
.brand span { font-size: 32px; color: var(--blue); }
.brand strong { font-size: 17px; }
small { display: block; color: var(--muted); }
nav { display: grid; gap: 7px; margin: 30px 0; }
nav a { padding: 12px 14px; color: inherit; text-decoration: none; border-radius: 9px; font-weight: 600; }
nav a:is(:hover,[aria-current]) { background: #d9e9ff; color: #0546aa; }
.brand-preview { padding: 24px 12px; border: 1px dashed #a9bfdc; border-radius: 12px; text-align: center; color: var(--muted); overflow-wrap: anywhere; }
.brand-preview img { max-width: 100%; max-height: 70px; }
.top { background: white; border-bottom: 1px solid var(--line); padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.top > span { color: var(--muted); font-size: .875rem; }
main { max-width: 1380px; margin: auto; padding: 28px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.15; }
h2 { font-size: 1.25rem; }
.subtitle { color: var(--muted); margin: 8px 0 24px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 22px; min-width: 0; }
.hero { display: block; padding: 24px; border-radius: 15px; color: #123267; background: #e6efff; text-decoration: none; }
.hero.primary { background: linear-gradient(120deg,#096add,#073f9b); color: white; }
.hero p { margin-top: 5px; }
.stack { display: grid; gap: 16px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.spread { justify-content: space-between; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: end; margin-top: 20px; }
.button, button { font: inherit; font-weight: 650; cursor: pointer; border: 1px solid #b8cdf0; background: white; color: #084caa; padding: 9px 15px; border-radius: 9px; text-decoration: none; display: inline-block; }
.button.primary, button.primary { color: white; background: var(--blue); border-color: var(--blue); }
button:hover, .button:hover { filter: brightness(.94); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #4188ea; outline-offset: 3px; }
label { display: grid; gap: 5px; font-weight: 600; min-width: 0; }
input, select, textarea { width: 100%; font: inherit; color: inherit; border: 1px solid #b9cbe3; border-radius: 8px; padding: 9px 10px; background: white; }
textarea { resize: vertical; }
ul.clean, ol.steps { margin: 0; padding: 0; list-style: none; }
.clean > li { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.clean > li:last-child { border-bottom: 0; }
.steps { display: flex; flex-wrap: wrap; gap: 12px 25px; padding-bottom: 6px !important; }
.steps li { color: var(--muted); }
.steps [aria-current] { color: var(--blue); font-weight: 750; }
.badge { color: #155939; background: #e2f5eb; padding: 4px 9px; border-radius: 20px; font-size: .875rem; }
.badge.pending { color: #745005; background: #fff1cf; }
.muted { color: var(--muted); }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
th, td { border-bottom: 1px solid var(--line); padding: 10px; }
details summary { cursor: pointer; font-weight: 650; }
details > :not(summary) { margin-top: 10px; }
.drop { border: 1px dashed #719fe4; border-radius: 10px; padding: 18px; background: #f4f8ff; }
.notice { min-height: 1.5em; color: #174788; }
.back { display: inline-block; margin-bottom: 12px; color: var(--blue); }
@media (max-width: 850px) { body { grid-template-columns: 1fr; } .sidebar { padding: 12px 16px; border-right: 0; } nav { display: flex; flex-wrap: wrap; margin: 12px 0 0; } .brand-preview { display: none; } }
@media (max-width: 620px) { main { padding: 18px; } .grid { grid-template-columns: 1fr; } .top { padding: 12px 18px; } .card { padding: 16px; } }

.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: -.2em; }
.icon-label, .button, button, .badge, .back, .profile, nav a { display: inline-flex; align-items: center; gap: .55em; }
.brand [data-icon] { display: flex; font-size: 30px; }
.sidebar nav .icon { color: #4b628d; }
.sidebar nav [aria-current] .icon { color: #0756c9; }
.brand-preview .icon { display: block; margin: 0 auto 5px; font-size: 20px; }
.profile { gap: 12px; }
.alert-icon { position: relative; padding: 4px; }
.alert-icon::after { content: ''; position: absolute; top: 3px; right: 1px; width: 7px; height: 7px; border-radius: 50%; background: #0756c9; border: 1px solid white; }
.avatar, .step-marker { display: inline-grid; flex: none; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #dfebff; color: #0756c9; font-weight: 750; }
.icon-chip { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; font-size: 1.13rem; border-radius: 10px; background: #e7f0ff; color: #0756c9; }
.icon-chip.success { color: #187444; background: #e2f5eb; }
.heading { display: flex; align-items: flex-start; gap: 12px; }
.hero { display: flex; align-items: center; gap: 14px; }
.hero .icon-chip { width: 3rem; height: 3rem; font-size: 1.4rem; }
.hero.primary .icon-chip { background: #ffffff26; color: white; }
.hero-arrow { box-sizing: content-box; margin-left: auto; padding: 6px; border-radius: 50%; background: white; color: var(--blue); }
.steps li { display: inline-flex; align-items: center; gap: 8px; }
.steps [aria-current] .step-marker { background: var(--blue); color: white; }
.field-control { display: block; position: relative; }
.field-control > .icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field-control > .icon + input { padding-left: 2.35rem; }
.drop > .icon { color: var(--blue); font-size: 1.4rem; }
.hint { color: var(--muted); background: #edf4ff; padding: 10px; border-radius: 8px; }
.document-icon { color: #cf353e; }
summary .icon { margin-inline: .4em; color: var(--blue); }
#page > .heading:has(.icon-chip svg) .icon-chip { margin-top: 2px; }
.document-types { border: 0; padding: 0; margin: 0; min-width: 0; }
.document-types legend { font-weight: 650; margin-bottom: 6px; }
.document-types > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(5.4rem, 1fr)); gap: 6px; }
.document-types label { position: relative; cursor: pointer; }
.document-types input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.document-types label span { display: grid; align-content: center; justify-items: center; gap: 4px; min-height: 4rem; padding: 5px; border: 1px solid var(--line); border-radius: 8px; text-align: center; font-size: .875rem; }
.document-types label .icon { color: var(--blue); }
.document-types input:checked + span { background: #e0edff; border-color: #8cb9f7; color: #0746a3; }
.document-types input:focus-visible + span { outline: 3px solid #4188ea; outline-offset: 2px; }
