.miwd-page { margin: 0; background: var(--miwd-background, #fff); color: var(--miwd-text, #262626); font: var(--miwd-font-size, 16px)/1.6 var(--miwd-font-family, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif); }
.miwd-page *, .miwd-page *::before, .miwd-page *::after { box-sizing: border-box; }
.miwd-page a { color: var(--miwd-accent, #262626); text-underline-offset: 3px; }
.miwd-shell { max-width: var(--miwd-page-width, 820px); margin: 0 auto; padding: 40px 32px 48px; }
.miwd-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 48px; font-size: 13px; }
.miwd-header a { font-size: 16px; font-weight: 600; text-decoration: none; }
.miwd-brand { display: inline-flex; max-width: 100%; flex-shrink: 0; align-items: center; }
.miwd-logo { display: block; width: auto; height: auto; max-width: min(200px, 100%); max-height: 64px; object-fit: contain; }
.miwd-header span { color: var(--miwd-muted, #666); }
.miwd-card { background: var(--miwd-card, #fff); border: 0; border-radius: var(--miwd-card-radius, 0); padding: var(--miwd-card-padding, 0); box-shadow: none; }
.miwd-kicker { color: var(--miwd-muted, #666); font-size: 13px; font-weight: 500; margin: 0 0 10px; }
.miwd-page h1 { font-size: clamp(27px, 5vw, 36px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 18px; }
.miwd-lead { color: var(--miwd-muted, #666); margin: 0 0 28px; }
.miwd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.miwd-field { margin-bottom: 22px; }
.miwd-field label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 7px; }
.miwd-field label span { color: var(--miwd-muted, #666); font-weight: 400; }
.miwd-field input, .miwd-field textarea, .miwd-field select { display: block; width: 100%; min-width: 0; background: #f4f4f4; border: 0; border-radius: 4px; box-shadow: none; color: var(--miwd-text, #262626); font: inherit; padding: 13px 14px; }
.miwd-field textarea { resize: vertical; min-height: 84px; }
.miwd-hint { color: var(--miwd-muted, #666); font-size: 13px; line-height: 1.55; margin: 8px 0 16px; }
.miwd-button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 48px; padding: 12px 22px; background: var(--miwd-accent, #262626); color: var(--miwd-button-text, #fff) !important; border: 0; border-radius: var(--miwd-button-radius, 4px); box-shadow: none; text-decoration: none; font: inherit; font-weight: 600; text-align: center; cursor: pointer; }
.miwd-button:hover { background: var(--miwd-hover, #404040); }
.miwd-secondary { background: #f0f0f0; color: var(--miwd-text, #262626) !important; }
.miwd-secondary:hover { background: #e6e6e6; }
.miwd-page :focus-visible { outline: 2px solid var(--miwd-border, #737373); outline-offset: 3px; }
.miwd-error { border: 0; border-radius: 4px; padding: 16px 18px; background: #f4f4f4; color: #262626; font-weight: 500; margin: 16px 0 24px; }
.miwd-statement { border: 0; background: transparent; padding: 0; margin: 28px 0; font-weight: 550; }
.miwd-details { margin: 20px 0 28px; }
.miwd-details > div { padding: 12px 0; }
.miwd-details dt { color: var(--miwd-muted, #666); font-size: 13px; margin-bottom: 4px; }
.miwd-details dd { margin: 0; overflow-wrap: anywhere; font-weight: 550; }
.miwd-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.miwd-help { color: var(--miwd-muted, #666); font-size: 13px; margin-top: 40px; text-align: center; overflow-wrap: anywhere; }
.miwd-help p { margin-bottom: 10px; }
.miwd-copy { margin-top: 24px; }
.miwd-copy summary { cursor: pointer; color: var(--miwd-accent, #262626); }
.miwd-copy pre { white-space: pre-wrap; overflow-wrap: anywhere; font-family: inherit; font-size: 14px; line-height: 1.6; background: #f4f4f4; padding: 18px; }
.miwd-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
    .miwd-shell { padding: 24px 20px 32px; }
    .miwd-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 32px; }
    .miwd-grid { grid-template-columns: 1fr; gap: 0; }
    .miwd-actions, .miwd-button { width: 100%; }
}
@media print {
    .miwd-page { background: var(--miwd-card, #fff); }
    .miwd-card { box-shadow: none; border: 0; }
    .miwd-help, .miwd-button { display: none; }
}

.miwd-rights { border: 0; padding: 0; margin: 32px 0 40px; font-size: .9375em; overflow-wrap: anywhere; }
.miwd-rights h2 { font-size: 1.2em; line-height: 1.4; margin: 0 0 14px; }
.miwd-rich-text > :first-child { margin-top: 0; }
.miwd-rich-text > :last-child { margin-bottom: 0; }
.miwd-rich-text ul, .miwd-rich-text ol { padding-inline-start: 22px; }
.miwd-rich-text li + li { margin-top: 10px; }
.miwd-return { margin: 20px 0; }
.miwd-return h2 { font-size: 16px; }

.miwd-account { width: 100%; font-family: inherit; }
.miwd-account .miwd-heading-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
