/* Shared focused record editor. Loaded before styles.css to retain the legacy cascade. */
.record-editor-modal-v5164{border:0;border-radius:20px;background:var(--paper);color:var(--ink);padding:0;box-shadow:0 24px 80px #0006}
.record-editor-modal-v5164::backdrop{background:#101511aa;backdrop-filter:blur(4px)}
.record-editor-modal-v5164 [data-v5164-editor-content]{display:block}
.record-editor-modal-v5164 .modal-head{position:sticky;top:0;z-index:2;background:var(--paper);box-sizing:border-box;padding:18px 25px;border-bottom:1px solid var(--line);gap:16px}
.record-editor-modal-v5164 .modal-head>div{min-width:0;overflow-wrap:anywhere}
.record-editor-modal-v5164 .modal-head>button{flex-shrink:0}
.record-editor-intro-v5164{margin:20px 25px 0;color:var(--muted);font-size:11px;line-height:1.55}
.record-editor-body-v5164{margin:18px 25px}
.record-editor-fields-v5164{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.record-editor-fields-v5164.single{grid-template-columns:1fr}
.record-editor-fields-v5164 label,.record-editor-organization-v5164>label{display:grid;gap:7px;color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.04em}
.record-editor-fields-v5164 .wide{grid-column:1/-1}
.record-editor-fields-v5164 :is(input,select,textarea),.record-editor-organization-v5164 select{box-sizing:border-box;width:100%;min-height:46px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--ink);padding:11px 13px;font:inherit;font-size:11px}
.record-editor-fields-v5164 textarea{min-height:130px;line-height:1.5;resize:vertical}
.record-editor-organization-v5164{display:grid;gap:18px}
.record-editor-organization-v5164 section>small{display:block;margin-bottom:8px;color:var(--muted);font-size:8px;font-weight:900;letter-spacing:.04em}
.record-editor-organization-v5164 .organize-options{display:flex;flex-wrap:wrap;gap:8px}
.record-editor-organization-v5164 .organize-options button{border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);padding:9px 12px;font-size:9px;font-weight:850}
.record-editor-organization-v5164 .organize-options button.selected{border-color:var(--profile-link,var(--red));background:var(--soft);color:var(--ink)}
.record-editor-modal-v5164 .organizer-footer{position:sticky;bottom:0;z-index:2;margin:0;border-top:1px solid var(--line);background:var(--paper);padding:14px 25px}
body.dark .record-editor-modal-v5164,body.dark .record-editor-modal-v5164 .modal-head,body.dark .record-editor-modal-v5164 .organizer-footer,body.dark .record-editor-fields-v5164 :is(input,select,textarea),body.dark .record-editor-organization-v5164 select,body.dark .record-editor-organization-v5164 .organize-options button{background:var(--paper);color:var(--ink);border-color:var(--line)}
body.dark .record-editor-organization-v5164 .organize-options button.selected{background:var(--soft);color:var(--ink);border-color:var(--profile-link,var(--red))}
@media(max-width:700px){.record-editor-modal-v5164 .modal-head{position:static}.record-editor-fields-v5164{grid-template-columns:1fr}.record-editor-fields-v5164 .wide{grid-column:auto}.record-editor-intro-v5164{margin:16px 18px 0}.record-editor-body-v5164{margin:16px 18px}.record-editor-modal-v5164 .organizer-footer{padding:12px 18px}}
