.ww-app { max-width: 46rem; margin: 0 auto; font-size: 1rem; line-height: 1.5; }
.ww-app [hidden] { display: none !important; }
.ww-disclaimer { border-left: 4px solid #b26200; background: #fff7ec; color: #3a2a12; padding: .75rem 1rem; margin-bottom: 1rem; }
.ww-progress { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0 0 1rem; padding: 0; counter-reset: ww; }
.ww-progress li { counter-increment: ww; }
.ww-progress button { border: 1px solid #c8c8c8; background: #fff; color: #333; border-radius: 999px; padding: .25rem .7rem; font-size: .85rem; cursor: pointer; }
.ww-progress button::before { content: counter(ww) ". "; }
.ww-progress .ww-done button { background: #eef6ee; border-color: #8bb98b; }
.ww-progress .ww-current button { background: #1d4f91; border-color: #1d4f91; color: #fff; }
.ww-status { min-height: 1.5em; font-size: .85rem; color: #555; margin: 0 0 .5rem; }
.ww-form label { display: block; margin: 0 0 .9rem; font-weight: 600; }
.ww-form input[type=text], .ww-form input[type=date], .ww-form input[type=number], .ww-form select, .ww-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .25rem; padding: .5rem; font: inherit; font-weight: 400; border: 1px solid #8c8f94; border-radius: 4px; }
.ww-form input[type=number] { max-width: 8rem; }
.ww-form .ww-check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
.ww-form .ww-check input { margin-top: .3rem; flex: none; }
.ww-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.ww-form legend { font-weight: 600; margin-bottom: .4rem; }
.ww-help { color: #555; font-size: .9rem; }
.ww-row { border: 1px solid #ddd; border-radius: 6px; padding: .75rem 1rem .1rem; margin-bottom: .75rem; background: #fafafa; }
.ww-row-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.ww-link { background: none; border: 0; color: #1d4f91; text-decoration: underline; cursor: pointer; padding: 0; font: inherit; font-size: .95rem; }
.ww-link.ww-danger { color: #b32d2e; }
.ww-privacy { border: 2px solid #2e7d4f; background: #f1faf4; color: #16351f; border-radius: 8px; padding: .9rem 1.1rem; margin-bottom: 1rem; }
.ww-privacy-title { margin: 0 0 .4rem; font-size: 1.1rem; }
.ww-privacy ul { margin: 0 0 .75rem 1.2rem; padding: 0; }
.ww-privacy li { margin: .15rem 0; }
.ww-device { border-top: 1px solid #b9dcc5; padding-top: .6rem; }
.ww-device .ww-check { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .5rem; }
.ww-device .ww-check input { margin-top: .3rem; flex: none; }
.ww-device-buttons { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.ww-total { font-weight: 600; }
.ww-total.ww-bad { color: #b32d2e; }
.ww-nav { display: flex; justify-content: space-between; margin-top: 1.5rem; gap: 1rem; }
.ww-nav .ww-next { margin-left: auto; }
.ww-errors { border-left: 4px solid #b32d2e; background: #fcf0f1; padding: .5rem 1rem; margin-bottom: 1rem; }
.ww-warnings { border-left: 4px solid #dba617; background: #fcf9e8; padding: .5rem 1rem; margin-bottom: 1rem; }
.ww-ok { border-left: 4px solid #00a32a; background: #edfaef; padding: .5rem 1rem; }
.ww-ack { margin-top: 1rem; }
.ww-app button:focus-visible, .ww-app input:focus-visible, .ww-app textarea:focus-visible, .ww-app select:focus-visible { outline: 2px solid #1d4f91; outline-offset: 2px; }
.ww-app .button { display: inline-block; font: inherit; font-size: 1rem; padding: .55rem 1.1rem; border-radius: 6px; border: 1px solid #1d4f91; background: #fff; color: #1d4f91; cursor: pointer; }
.ww-app .button-primary { background: #1d4f91; color: #fff; }
.ww-app .button:hover { filter: brightness( .95 ); }
.ww-app .ww-download { font-size: 1.1rem; padding: .7rem 1.4rem; }
.ww-extra { margin: .5rem 0 1rem; border: 1px dashed #b5b5b5; border-radius: 6px; padding: .5rem .9rem; }
.ww-extra summary { cursor: pointer; color: #1d4f91; font-weight: 600; }
.ww-extra[open] summary { margin-bottom: .4rem; }
