/* Date-only actions match the existing subtle styling controls. */
#note-date-emoji-button { font-size:17px; border-radius:5px; }
#note-date-emoji-button[aria-pressed="true"] { background:var(--accent-soft); box-shadow:none; }
#note-date-emoji-button[hidden] { display:none; }
.dnp-date-emoji-picker { width:min(410px,calc(100vw - 28px)); max-width:none; max-height:calc(100dvh - 32px); margin:auto; padding:14px; border:1px solid var(--line); border-radius:20px; color:var(--ink); background:var(--surface); box-shadow:0 20px 70px #0003; overflow:hidden; }
.dnp-date-emoji-picker[open] { display:flex; flex-direction:column; gap:10px; }
.dnp-date-emoji-picker::backdrop { background:#0005; }
.dnp-date-emoji-picker header { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.dnp-date-emoji-picker h2 { margin:0; font-size:17px; font-weight:600; line-height:1.4; }
.dnp-date-emoji-picker header button { flex:none; font-size:26px; }
.dnp-date-emoji-picker .input { min-height:40px; width:100%; font-size:16px; }
.dnp-date-emoji-categories { display:flex; align-items:center; justify-content:space-between; gap:2px; flex:none; overflow-x:auto; }
.dnp-date-emoji-categories button { width:37px; min-width:30px; height:38px; border:0; background:transparent; color:var(--muted); border-radius:8px; font-size:20px; cursor:pointer; }
.dnp-date-emoji-categories button[aria-pressed="true"] { background:var(--accent-soft); color:var(--accent); }
.dnp-date-emoji-heading { margin:0; font-size:12px; font-weight:600; color:var(--muted); }
.dnp-date-emoji-grid { display:grid; grid-template-columns:repeat(8,minmax(0,1fr)); gap:2px; height:min(310px,44dvh); min-height:88px; overflow-y:auto; overscroll-behavior:contain; align-content:start; padding:2px; scrollbar-width:thin; }
.dnp-date-emoji-grid > button,.dnp-date-emoji-variants > button { height:42px; min-width:0; padding:0; border:0; border-radius:8px; background:transparent; font:28px/1 "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif; cursor:pointer; }
.dnp-date-emoji-grid > button:hover,.dnp-date-emoji-variants > button:hover { background:var(--surface-hover); }
.dnp-date-emoji-picker button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
.dnp-date-emoji-variants { display:flex; justify-content:center; gap:6px; padding:7px; background:var(--accent-soft); border-radius:12px; }
.dnp-date-emoji-variants[hidden] { display:none; }
.dnp-date-emoji-variants > button { flex:1; }
.dnp-date-emoji-empty { grid-column:1/-1; color:var(--muted); font-size:14px; text-align:center; padding:20px 4px; }
.dnp-date-emoji-hint { margin:0; font-size:11px; color:var(--muted); text-align:center; }
@media(max-width:540px) {
  .dnp-date-emoji-picker { width:100%; max-width:100%; margin:auto 0 0; max-height:85dvh; border-radius:20px 20px 0 0; padding-bottom:max(14px,env(safe-area-inset-bottom)); }
  .dnp-date-emoji-picker::before { content:""; width:34px; height:4px; border-radius:2px; background:var(--muted); opacity:.35; align-self:center; }
}
@media(prefers-reduced-motion:no-preference) { .dnp-date-emoji-picker[open] { animation:dnpDateEmojiAppear .17s ease-out; } @keyframes dnpDateEmojiAppear { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } } }
