.form{flex-direction:column;gap:1rem;display:flex}.form .field{flex-direction:column;gap:.25rem;display:flex}.form label{font-weight:600}.form input:not([type=checkbox]):not([type=radio]),.form select,.form textarea{font:inherit;color:var(--text);background:var(--field-bg,var(--surface));border:1px solid var(--border);box-sizing:border-box;border-radius:.5rem;width:100%;min-height:2.75rem;padding:.5rem .75rem}.form select{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='%238a8f94' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right .9rem center;background-repeat:no-repeat;background-size:1.1rem;padding-right:2.5rem}.form input[aria-invalid=true]{border-width:2px;border-color:#b3261e}.form fieldset{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;flex-direction:column;gap:.75rem;margin:0;padding:.75rem 1rem 1rem;display:flex}.form legend{padding:0 .4rem;font-weight:600}.form details{border:1px solid var(--border);background:var(--bg);border-radius:.75rem;flex-direction:column;gap:.75rem;padding:0 1rem;display:flex}.form details[open]{padding-bottom:1rem}.form summary{cursor:pointer;flex-wrap:wrap;align-content:center;align-items:baseline;gap:.25rem .75rem;min-height:2.75rem;font-weight:600;display:flex}.form summary:before{content:"+";text-align:center;width:1rem;color:var(--accent);font-weight:700;display:inline-block}.form details[open]>summary:before{content:"−"}.form summary .hint{color:var(--muted);font-size:.9rem;font-weight:400}.form .row{flex-wrap:wrap;gap:.75rem;display:flex}.form .row>.field{flex:11rem;min-width:0}.form .field.narrow{max-width:14rem}.form .check{align-items:center;gap:.6rem;min-height:2.75rem;font-weight:400;display:flex}.form .check input{flex:none;width:1.4rem;height:1.4rem}.form .help{color:color-mix(in srgb, var(--muted) 65%, var(--text));margin:0;font-size:.95rem;font-style:italic}@media (prefers-color-scheme:dark){.form{--field-bg:#1b2f24}.form .help{color:color-mix(in srgb, var(--muted) 70%, var(--bg))}}.form .error{color:#b3261e;margin:0;font-weight:600}.form .actions{align-items:center;gap:1.25rem;display:flex}.form .primary{font:inherit;background:var(--accent);min-height:2.75rem;color:var(--bg);cursor:pointer;border:0;border-radius:.5rem;padding:0 1.75rem;font-weight:600}.form .secondary,.titlebar .secondary{font:inherit;border:1px solid var(--accent);min-height:2.75rem;color:var(--accent);cursor:pointer;background:0 0;border-radius:.5rem;padding:0 1.25rem;font-weight:600}.titlebar .buttons{gap:.5rem;display:flex}.titlebar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem 1rem;margin-bottom:1rem;display:flex}.titlebar h1{margin:.5rem 0}.titlebar .primary{font:inherit;background:var(--accent);min-height:2.75rem;color:var(--bg);cursor:pointer;border:0;border-radius:.5rem;padding:0 1.75rem;font-weight:600}.problem{border:2px solid #b3261e;border-radius:.75rem;margin-bottom:1rem;padding:.5rem 1rem}.problem p,.problem ul{margin:.4rem 0}
