/* Explicit reminder actions: compact in the directory and in either card entrypoint. */
.accounting-reminder-panel{box-sizing:border-box;min-width:0;margin:0 0 8px;padding:7px 8px;border:1px solid var(--line,#e5ddd6);border-radius:7px;background:var(--paper,#fff);color:var(--ink,#29231f);font-size:11px;line-height:1.25}
.accounting-reminder-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0}
.accounting-reminder-head>b{font-size:12px;line-height:1.2}
.accounting-reminder-panel .accounting-reminder-channels,.accounting-reminder-panel .accounting-reminder-result{margin:4px 0;font-size:10px;line-height:1.3;color:var(--muted,#7b736b);overflow-wrap:anywhere}
.accounting-reminder-panel .accounting-reminder-result:empty{display:none}
.accounting-reminder-panel .accounting-reminder-result.is-error{color:#b52c29;font-size:11px;font-weight:600}
.accounting-reminder-panel [data-accounting-reminder-actions]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:5px}
.accounting-reminder-action{display:grid;align-content:start;gap:3px;min-width:0}
.accounting-reminder-panel :is(button,.text-button){box-sizing:border-box;min-height:30px;height:auto;margin:0;padding:4px 7px;border-radius:5px;font-size:11px;line-height:1.2;white-space:normal}
.accounting-reminder-action>button{width:100%;color:var(--ink,#29231f);background:var(--paper,#fff)}
.accounting-reminder-action>button:disabled{cursor:not-allowed;opacity:.65}
.accounting-reminder-action :is(small,details){font-size:10px;line-height:1.25;overflow-wrap:anywhere}
.accounting-reminder-action>small{color:var(--muted,#7b736b)}
.accounting-reminder-action summary{padding:2px 0;cursor:pointer;color:var(--ink,#29231f)}
.accounting-reminder-action ul{margin:4px 0 0;padding-left:15px}
.accounting-reminder-action li+li{margin-top:3px}
.modal-card:has(.accounting-reminder-modal){box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:12px;overflow-x:hidden;border-radius:12px}
.accounting-reminder-modal{min-width:0;line-height:1.25}
.accounting-reminder-modal .modal-label{margin:0 36px 5px 0;padding:3px 6px;font-size:9px;line-height:1.1}
.accounting-reminder-modal h2{margin:0 32px 7px 0;padding:0;font-size:17px;line-height:1.2;overflow-wrap:anywhere}
.accounting-reminder-modal .accounting-reminder-panel{margin-bottom:0}
.accounting-reminder-modal .modal-actions{position:static;display:flex;flex-direction:row;margin:7px 0 0;padding:7px 0 0;gap:6px;background:transparent}
.accounting-reminder-modal .modal-actions>button{box-sizing:border-box;min-height:30px;padding:4px 8px;border-radius:5px;font-size:11px;line-height:1.2}
.modal-card:has(.accounting-reminder-modal)>.modal-close{top:8px;right:8px;width:30px;height:30px;min-height:30px;padding:0}
html[data-theme="dark"] .accounting-reminder-panel{background:#29231f;border-color:#53463c;color:#f6eee8}
html[data-theme="dark"] .accounting-reminder-panel :is(.accounting-reminder-channels,.accounting-reminder-action>small){color:#bfb2a7}
html[data-theme="dark"] .accounting-reminder-panel :is(.accounting-reminder-action>button,.accounting-reminder-action summary){color:#f6eee8;background:transparent}
html[data-theme="dark"] .accounting-reminder-panel .accounting-reminder-result.is-error{color:#ff9890}
@media(max-width:680px){
 .accounting-reminder-panel{padding:6px;margin-bottom:6px}
 .accounting-reminder-panel [data-accounting-reminder-actions]{gap:5px}
 .accounting-reminder-panel :is(button,.text-button),.accounting-reminder-modal .modal-actions>button{min-height:40px;padding:5px 6px;font-size:11px}
 .accounting-reminder-panel :is(input,select,textarea){box-sizing:border-box;min-height:40px;min-width:0;max-width:100%;font-size:16px}
 .accounting-reminder-action summary{display:flex;align-items:center;min-height:40px;padding:2px 0}
 .modal-card:has(.accounting-reminder-modal){width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:8px;border-radius:10px}
 .accounting-reminder-modal h2{margin-right:42px;font-size:16px;min-height:26px}
 .accounting-reminder-modal .modal-label{margin-right:42px}
 .modal-card:has(.accounting-reminder-modal)>.modal-close{top:6px;right:6px;width:40px;height:40px;min-height:40px}
 .accounting-reminder-modal .modal-actions{margin-top:6px;padding-top:6px}
}
