.sd-modal{width:min(36rem, calc(100vw - 2 * var(--space-md)));margin:12vh auto auto;overflow:visible}.sd-modal--wide{width:min(44rem, calc(100vw - 2 * var(--space-md)))}.sd-modal::backdrop{background:#0a0a0bb8}.sd-modal__panel{background:var(--surface);border:1px solid var(--border-strong);border-radius:var(--radius);box-shadow:var(--shadow-lg);max-height:76vh;overflow:auto}@media (max-width:520px){.sd-modal{margin-top:var(--space-md)}.sd-modal__panel{max-height:calc(100svh - 2 * var(--space-md))}}.sd-modal--settings{width:min(64rem, calc(100vw - 2 * var(--space-md)));margin-top:6vh}.sd-modal--settings .sd-modal__panel{max-height:86vh}.sd-form{padding:var(--space-lg);gap:var(--space-md);display:grid}.sd-form__title{font-size:var(--step-2);overflow-wrap:anywhere}.sd-form__body{color:var(--muted)}.sd-form__quote{padding-left:var(--space-sm);border-left:3px solid var(--accent-line);color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}.sd-form__field{gap:var(--space-2xs);border:0;margin:0;padding:0;display:grid}.sd-form__label{font-size:var(--step--1);color:var(--muted)}.sd-form__optional{color:var(--faint)}.sd-form__field input[type=text],.sd-form__field input[type=date],.sd-form__field input[type=search],.sd-form__field input[type=url]{min-height:44px;padding:0 var(--space-sm);background:var(--bg-elev);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);color-scheme:inherit}.sd-form__select{min-height:44px;padding:0 var(--space-xs);background:var(--bg-elev);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);color-scheme:inherit}@media (pointer:coarse){.sd-form__select,.sd-form__field input{font-size:max(16px,1em)}}.sd-form__field input::placeholder{color:var(--faint)}.sd-form__field input[aria-invalid=true]{border-color:var(--danger)}.sd-form__error{color:var(--danger);font-size:var(--step--1)}.sd-form__choices{gap:var(--space-xs)}.sd-form__choice{gap:var(--space-sm);padding:var(--space-xs) 0;cursor:pointer;align-items:flex-start;display:flex}.sd-form__choice input{accent-color:var(--accent);width:1.1rem;height:1.1rem;margin-top:.35em}.sd-form__choice span{display:grid}.sd-form__choice small{color:var(--faint);font-size:var(--step--1)}.sd-form__actions{gap:var(--space-sm);margin-top:var(--space-xs);flex-wrap:wrap;display:flex}.sd-form__field textarea{width:100%;min-height:5rem;padding:var(--space-xs) var(--space-sm);background:var(--bg-elev);border:1px solid var(--border-strong);border-radius:var(--radius-sm);color:var(--text);font:inherit;resize:vertical}.sd-form__field textarea::placeholder{color:var(--faint)}@media (pointer:coarse){.sd-form__field textarea{font-size:max(16px,1em)}}.sd-journal__whyset{border:0;margin:0;padding:0}.sd-journal__whys{gap:var(--space-2xs) var(--space-md);flex-wrap:wrap;display:flex}.sd-journal__why{align-items:center;gap:var(--space-xs);cursor:pointer;min-height:36px;display:inline-flex}.sd-journal__why input{accent-color:var(--accent);width:18px;height:18px}
