#fu-app .fu-person-mark .fu-mark-vector { display: block; width: 1.2em; height: 1.2em; }
#fu-app .fu-mark-editor { display: grid; gap: 8px; min-width: 0; }
#fu-app .fu-mark-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 8px; }
#fu-app .fu-mark-heading strong { font-size: 13px; }
#fu-app .fu-mark-preview { display: flex; align-items: center; gap: 6px; color: var(--fu-muted); font-size: 11px; }
#fu-app .fu-mark-preview [data-mark-preview] { display: flex; }
#fu-app .fu-mark-preview .fu-person-mark { width: auto; min-width: 22px; height: 22px; padding-inline: 4px; }
#fu-app .fu-mark-preview .fu-person-mark.has-initial { display: inline-flex; gap: 3px; border-radius: 20px; }
#fu-app .fu-mark-preview .fu-person-mark b { color: #20362b; font: 800 9px/1 "DM Sans", system-ui, sans-serif; }
#fu-app .fu-mark-switch { display: flex; flex-wrap: wrap; gap: 3px; border-radius: 9px; background: var(--fu-soft, #eef1e8); padding: 3px; }
#fu-app .fu-mark-switch .fu-btn { flex: 1 1 auto; min-height: 32px; border: 1px solid transparent; font-size: 12px; white-space: normal; }
#fu-app .fu-mark-switch .fu-btn[aria-pressed="true"] { border-color: #bdd0b7; background: #fff; }
#fu-app .fu-mark-custom { display: grid; gap: 8px; border: 1px solid var(--fu-border); border-radius: 11px; padding: 9px; background: var(--fu-paper, #f7f6f0); }
#fu-app .fu-mark-custom p { margin: 0; font-size: 12px; color: var(--fu-muted); }
#fu-app .fu-mark-templates, #fu-app .fu-mark-tools, #fu-app .fu-mark-palette { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; }
#fu-app .fu-mark-templates .fu-btn, #fu-app .fu-mark-tools .fu-btn { min-height: 32px; padding: 4px 7px; font-size: 11px; }
#fu-app .fu-mark-templates .fu-mark-vector { width: 1.2em; height: 1.2em; }
#fu-app .fu-mark-tools .fu-btn[aria-pressed="true"] { background: #e4edde; border-color: #84a17e; }
#fu-app .fu-mark-grid { display: grid; grid-template-rows: repeat(12, minmax(0, 1fr)); width: min(100%, 252px); aspect-ratio: 1; justify-self: center; outline: 1px solid #aab8a8; overflow: hidden; border-radius: 5px; background: #fffdf7; touch-action: none; user-select: none; }
#fu-app .fu-mark-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); min-height: 0; }
#fu-app .fu-mark-grid [data-mark-cell] { width: 100%; height: 100%; min-width: 0; min-height: 0; display: block; position: relative; margin: 0; border: 0; border-radius: 0; padding: 0; background: var(--fu-cell, transparent); box-shadow: inset -1px -1px 0 #425c3e26; cursor: crosshair; touch-action: none; }
#fu-app .fu-mark-grid [data-mark-cell]:focus-visible { z-index: 1; outline: 2px solid #214536; outline-offset: -2px; }
#fu-app .fu-mark-palette button { width: 24px; height: 28px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 7px; background: transparent; padding: 2px; }
#fu-app .fu-mark-palette button::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--fu-mark-color); border: 1px solid #425c3e4d; }
#fu-app .fu-mark-palette button[aria-pressed="true"] { border-color: #345b3f; background: #e4edde; }
#fu-app .fu-dialog:has([data-form="person"]) { scroll-padding-block-end: 70px; }
#fu-app [data-form="person"] > .fu-dialog-footer { position: sticky; z-index: 2; bottom: 0; background: var(--fu-white); border-top: 1px solid var(--fu-line); padding: 8px 12px; margin-inline: -12px; }
@media (max-width: 520px) {
  #fu-app .fu-mark-grid { width: min(100%, 240px); }
  #fu-app .fu-mark-palette button { width: 30px; height: 31px; }
  #fu-app .fu-mark-tools .fu-btn { min-height: 35px; }
}
