* { box-sizing: border-box; }
.field-note { margin: -6px 0 14px; color: #5a6670; font-size: 13px; line-height: 1.5; }
[hidden] { display: none !important; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; max-width: 500px; margin: 50px auto; padding: 20px; background: #f5f5f5; color: #333; }
.container { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px #0000001a; }
h1 { text-align: left; font-size: 28px; margin: 0; }
.form-group { margin: 20px 0; }
label { display: block; margin-bottom: 6px; font-weight: 500; }
input, select { width: 100%; min-height: 44px; padding: 12px; border: 1px solid #aaa; border-radius: 5px; font: inherit; font-size: 16px; color: #222; background: white; }
select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
button, .back-link { display: block; width: 100%; min-height: 44px; padding: 12px; background: #007cba; color: white; border: 1px solid #007cba; border-radius: 5px; font: inherit; font-size: 16px; cursor: pointer; margin-top: 10px; text-align: center; text-decoration: none; }
button:hover { background: #005a8a; border-color: #005a8a; }
button:active, .back-link:active { transform: translateY(1px); filter: brightness(.85); }
button:focus-visible, input:focus-visible, select:focus-visible, .back-link:focus-visible { outline: 3px solid #004f78; outline-offset: 3px; }
button:disabled { background: #ccc; border-color: #ccc; color: #444; cursor: not-allowed; transform: none; filter: none; }
button[aria-busy="true"] { cursor: wait; }
input:disabled, select:disabled { background: #eee; color: #666; }
.secondary { background: #6c757d; border-color: #6c757d; }
.secondary:hover { background: #50585f; border-color: #50585f; }
.current-link { background: #f8f9fa; padding: 15px; border-radius: 5px; margin-bottom: 20px; overflow-wrap: anywhere; font-size: 15px; line-height: 1.6; }
.tracking-fields { margin: 20px 0; padding: 0 14px 8px; border: 1px solid #d6dce1; border-radius: 8px; }
.tracking-fields legend { padding: 0 8px; font-weight: 700; }
.tracking-fields p { margin: 0 0 12px; color: #5a6670; font-size: 14px; line-height: 1.5; }
#message { padding: 10px; border-radius: 5px; margin-bottom: 15px; text-align: center; line-height: 1.6; overflow-wrap: anywhere; }
#message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
#message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.back-link { margin-top: 20px; color: #007cba; background: #eef7fc; border-color: #b4d8ec; }
.back-link:hover { background: #dceefa; }
@media(max-width:360px) { body { margin: 24px auto; padding: 14px; } .container { padding: 22px; } h1 { font-size: 25px; } }
@media(prefers-reduced-motion:no-preference) { button, .back-link { transition: background .15s; } }

body { margin: 30px auto; }
