/* css/ds-notes.css: the note button and its sheet (app/ui/notes.js) */
.nt-btn { position: fixed; z-index: 60; top: calc(var(--safe-t, 0px) - var(--topgap, 0px) + max(2px, (var(--topgap, 0px) - 32px) / 2)); right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(21, 25, 38, .9); color: var(--ink-2); border: 1px solid var(--line-2, var(--line-1)); cursor: pointer; padding: 0; }
.nt-btn::before { content: ""; position: absolute; inset: -8px; } .nt-btn:active { transform: scale(.96); color: var(--ink-1); }
.nt-layer { position: fixed; left: 0; right: 0; top: 0; height: 100%; z-index: 100; display: flex; flex-direction: column; justify-content: flex-end; }
.nt-scrim { position: absolute; inset: 0; background: rgba(5, 7, 12, .6); }
.nt-sheet { position: relative; width: min(100%, 520px); margin-inline: auto; background: var(--surface-1, #151926); border: 1px solid var(--line-1); border-bottom: 0; border-radius: 20px 20px 0 0; padding: 16px var(--gutter, 16px) calc(16px + var(--safe-b, 0px)); display: grid; gap: 10px; box-shadow: 0 -8px 30px rgba(0,0,0,.5); max-height: 86%; }
.nt-sheet.tall { max-height: 80%; grid-template-rows: auto 1fr auto; }
.nt-head { display: flex; align-items: center; gap: 10px; min-height: 44px; } .nt-head b { font: 700 calc(17px * var(--ts, 1)) var(--font-display); letter-spacing: .06em; flex: 1; }
.nt-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-3); flex: none; }
.nt-layer.on .nt-dot { background: var(--danger, #e5534b); animation: nt-pulse 1.1s ease-in-out infinite; }
@keyframes nt-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229, 83, 75, .55); } 50% { box-shadow: 0 0 0 8px rgba(229, 83, 75, 0); } }
html[data-calm="on"] .nt-layer.on .nt-dot { animation: none; }
.nt-mic { margin-left: auto; min-height: 44px; }
.nt-ask { margin: 0; font-style: italic; font-size: calc(17px * var(--ts, 1)); color: var(--ink-1); } .nt-where { margin: 0; color: var(--ink-3); font-size: calc(13px * var(--ts, 1)); }
.nt-text { width: 100%; box-sizing: border-box; min-height: 120px; resize: none; background: var(--surface-0, #0f1117); color: var(--ink-1); border: 1px solid var(--line-1); border-radius: 12px; padding: 12px; font: inherit; font-size: calc(17px * var(--ts, 1)); line-height: 1.35; }
.nt-foot { display: flex; gap: 10px; justify-content: flex-end; } .nt-foot .ds-btn { min-height: 52px; } .nt-foot .primary { flex: 1; }
.nt-x { width: 44px; height: 44px; border: 0; background: none; color: var(--ink-2); font-size: 28px; line-height: 1; cursor: pointer; }
.nt-rows { overflow: auto; display: grid; gap: 10px; align-content: start; }
.nt-row { border: 1px solid var(--line-1); border-radius: 12px; padding: 10px 12px; display: grid; gap: 6px; grid-template-columns: 1fr; position: relative; } .nt-row.has-thumb { grid-template-columns: 1fr 52px; } .nt-row .nt-thumb { grid-column: 2; grid-row: 1 / span 3; width: 52px; height: auto; max-height: 112px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--line-1); justify-self: end; } .nt-row > :not(.nt-thumb) { grid-column: 1; } .nt-row p { margin: 0; font-size: calc(16px * var(--ts, 1)); } .nt-row small { color: var(--ink-3); font-size: calc(12px * var(--ts, 1)); } .nt-row .ds-btn { justify-self: start; min-height: 44px; }
.nt-empty { color: var(--ink-3); font-style: italic; }
.nt-toast { position: fixed; z-index: 120; left: 50%; transform: translateX(-50%); bottom: calc(24px + var(--safe-b, 0px)); background: var(--surface-1); border: 1px solid var(--line-2, var(--line-1)); border-radius: 999px; padding: 10px 18px; font-size: calc(15px * var(--ts, 1)); max-width: calc(100% - 32px); text-align: center; box-shadow: 0 4px 14px rgba(0,0,0,.45); } .nt-toast.bad { border-color: var(--warn, #d9a441); }
.nt-btn[hidden], .nt-mic[hidden] { display: none !important; }
.nt-msg { margin: 0; min-height: 1.3em; font-size: calc(14px * var(--ts, 1)); color: var(--warn, #d9a441); }
/* factory test 1792722902: harmless */
