/* What's new (theme v2, addendum 2): the one-time card and the Settings view. Sizes are tokens or rem; colours are the
   look's (the .dialog panel is themed by ui/theme-v2.css). It scrolls when the notes are long. */
html:root .hwn-wrap { z-index: 2147483000; }
html:root .hwn { width: min(100%, 34rem); max-height: min(86vh, 46rem); display: flex; flex-direction: column; padding-bottom: var(--sp-4); }
html:root .hwn-title { display: flex; align-items: baseline; gap: var(--sp-2); flex: none; }
html:root .hwn-v { font: 600 var(--fs-sm) var(--rs-sans); color: var(--ink-soft); letter-spacing: 0; text-transform: none; }
html:root .hwn-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin-top: var(--sp-2); padding-right: var(--sp-1); }
html:root .hwn-note { margin: 0 0 var(--sp-3); padding: var(--sp-2) var(--sp-3); border-radius: var(--rs-r-md); border: var(--sp-hair) dashed var(--rim-strong); background: color-mix(in srgb, var(--oxblood) 12%, transparent); color: var(--ink); font: var(--fs-sm)/var(--lh-body) var(--rs-sans); }
html:root .hwn-sec + .hwn-sec { margin-top: var(--sp-4); }
html:root .hwn-h { margin: 0 0 var(--sp-1); font: 700 var(--fs-xs) var(--rs-sans); letter-spacing: var(--rs-label-track); text-transform: uppercase; color: var(--rs-label-ink); }
html:root .hwn-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: var(--sp-2); font: var(--fs-md)/var(--lh-body) var(--rs-sans); color: var(--ink); }
html:root .hwn-actions { flex: none; margin-top: var(--sp-4); }
html:root .hwn-actions .btn { width: 100%; min-height: var(--tap) !important; height: var(--tap) !important; }
