.note-directory-search { margin-block: 0 24px; }
.note-filter-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-block-end: 8px; }
.note-filter-heading label { font-size: 15px; font-weight: 700; }
#note-directory-count { color: var(--muted); font-size: 13px; }
.note-filter-row { position: relative; }
#note-directory-filter { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; background: white; padding: 10px 48px 10px 14px; font: inherit; }
#note-directory-filter::-webkit-search-cancel-button { display: none; }
#note-directory-clear { position: absolute; inset-inline-end: 4px; top: 4px; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
.note-directory-search [hidden], .notes-shell .note-card[hidden], .notes-shell section[hidden] { display: none; }
#note-directory-filter:focus-visible,.ar-note-list-filter:focus-visible { outline: 2px solid #0f766e; outline-offset: 2px; }
#note-directory-empty { padding-block: 16px; color: var(--muted); }
.regional-recommend-panel { min-width: 0; }
.regional-recommend-panel .recommend-head { flex-wrap: wrap; gap: 12px; }
.regional-recommend-panel h2 { font-size: 18px; line-height: 1.6; }
.regional-recommend-panel textarea { box-sizing: border-box; width: 100%; min-height: 96px; resize: vertical; }
.regional-recommend-panel .recommend-caution { color: var(--muted); font-size: 12px; line-height: 1.7; }
.regional-recommend-panel .recommend-name { overflow-wrap: anywhere; min-width: 0; }
.regional-recommend-panel .add-recommend-button { flex-shrink: 0; min-height: 36px; }
.ar-notes-refined { font-family: Tahoma, Arial, sans-serif; }
.ar-notes-refined .info-body { line-height: 1.9; }
.ar-notes-refined h1 { font-size: 28px; }
.ar-notes-refined h2 { font-size: 20px; }
.ar-notes-refined h3 { font-size: 17px; }
.ar-notes-refined .ar-note-content > section { padding-block: 24px; }
.ar-notes-refined .ar-note-content > section > h2 { color: #134e4a; border-inline-start: 3px solid #0f766e; padding-inline-start: 10px; }
.ar-notes-refined .ar-note-content a:not(.note-card):not(.primary-button) { color: #0f766e; }
.ar-notes-refined .ar-note-actions a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 1px solid var(--line); background: #f2f7f7; font-size: 14px; }
.ar-notes-refined .ar-note-actions .primary-button { color: white; background: var(--primary, #2563eb); border-color: transparent; }
.ar-notes-directory .ar-note-content { max-width: none; margin: 0; }
.ar-notes-directory .ar-note-content > section { padding-block-start: 0; }
.ar-notes-directory label { display: block; font-size: 14px; font-weight: 700; margin-block-start: 20px; }
.ar-notes-directory .ar-note-list-filter { display: block; box-sizing: border-box; max-width: none; min-height: 46px; margin-block: 8px; background: white; }
.ar-notes-directory #note-count { color: var(--muted); font-size: 13px; margin-block: 10px 16px; }
.ar-notes-directory .ar-notes-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.ar-notes-directory .note-card { padding: 16px; gap: 10px; border-radius: 8px; }
.ar-notes-directory .note-card strong { font-size: 17px; line-height: 1.6; }
.ar-notes-directory .note-card span { font-size: 13px; line-height: 1.9; }
.ar-notes-directory .note-card .ar-card-more { color: #0f766e; margin-block-start: auto; padding-block-start: 8px; font-size: 12px; }
.ar-preview-links a { color: #0f766e; text-decoration: none; font-size: 14px; }
@media(max-width:900px){ .ar-notes-directory .ar-notes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:560px){
 .ar-notes-directory .ar-notes-grid { grid-template-columns: minmax(0,1fr); }
 .ar-notes-refined h1 { font-size: 24px; }
 .ar-notes-refined .ar-note-actions { align-items: stretch; }
 .ar-notes-refined .ar-note-actions a { flex: 1 1 180px; }
}
