:root {
  --bg: #0b0d0a; --panel: #161a14; --panel2: #22281e; --line: #323a2c; --on-accent: #10140a; --text: #eef1f6; --muted: #98a1b3;
  --accent: #c8ff3c; --danger: #ff5c6c; --ok: #3ccf8e;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); overflow: hidden; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.hidden { display: none !important; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.row { display: flex; align-items: center; gap: 10px; }
svg { display: block; }
i[data-icon] { display: inline-flex; }

.screen { position: fixed; inset: 0; }
.center { display: grid; place-items: center; padding: 16px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.auth { width: min(420px, 100%); display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: stretch; }
.auth h1 { font-size: 28px; }
.auth label { text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.auth input, .auth select { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--text); font-size: 16px; }
.brand-logo { width: 220px; margin: 0 auto 4px; display: block; }
.brand-logo.sm { width: 88px; margin: 0; }
.auth { background: radial-gradient(120% 80% at 50% 0%, rgba(200,255,60,.10), transparent 60%), var(--panel); }
#scr-auth, #scr-signup, #scr-loading, #scr-admin { background: radial-gradient(60% 50% at 80% 10%, rgba(200,255,60,.12), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(200,255,60,.07), transparent 70%), var(--bg); }
.auth h1 { letter-spacing: -.02em; } .auth h1 span { color: var(--accent); }
.dlg { width: min(440px, calc(100vw - 32px)); text-align: left !important; }
.dlg p { white-space: pre-line; line-height: 1.5; }
.dlg input { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; color: var(--text); font-size: 16px; outline: none; }
.dlg input:focus { border-color: var(--accent); }
.row.end { justify-content: flex-end; }
.btn.danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.logo { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto; background: linear-gradient(135deg, #4f8cff, #a855f7); display: grid; place-items: center; }
.logo svg { width: 32px; height: 32px; }
.logo.sm { width: 34px; height: 34px; border-radius: 10px; margin: 0; } .logo.sm svg { width: 18px; height: 18px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; background: var(--panel2); }
.avatar.lg { width: 72px; height: 72px; margin: 0 auto; }
.err { color: var(--danger); font-size: 14px; min-height: 1em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 14px; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); font-weight: 500; white-space: nowrap; }
.btn:hover { border-color: #4a5263; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
.btn.primary:hover { filter: brightness(1.08); }
.btn.big { padding: 14px 18px; font-size: 16px; }
.btn.ghost { background: none; border-color: transparent; color: var(--muted); }
.btn.danger { background: rgba(255,92,108,.15); color: var(--danger); border-color: rgba(255,92,108,.35); width: 100%; }
.spinner { width: 38px; height: 38px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* library */
#scr-library, #scr-admin { overflow: auto; }
.lib-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: rgba(15,17,21,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.lib { max-width: 1280px; margin: 0 auto; padding: 28px 24px 60px; }
.lib h2 { margin: 34px 0 16px; font-size: 18px; }
.lib-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.tile { display: flex; flex-direction: column; gap: 10px; text-align: left; font-weight: 500; }
.tile-prev { width: 200px; aspect-ratio: 16/10; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; transition: transform .15s, border-color .15s; }
.tile:hover .tile-prev { transform: translateY(-2px); border-color: var(--accent); }
.tile-prev.black { background: #000; } .tile-prev.white { background: #fff; color: #111; } .tile-prev.pdf { background: linear-gradient(135deg,#2a1f3d,#1d2b45); }
.tile-prev svg { width: 34px; height: 34px; }
.nb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.nb { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.nb:hover { border-color: var(--accent); transform: translateY(-2px); }
.nb .thumb { aspect-ratio: 16/10; background: #000 center/cover no-repeat; border-bottom: 1px solid var(--line); }
.nb .meta { padding: 10px 12px; }
.nb .meta b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb .meta span { font-size: 12px; color: var(--muted); }
.card-acts { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.nb .dl, .nb .del { width: 34px; height: 34px; border-radius: 9px; background: rgba(0,0,0,.65); display: grid; place-items: center; color: #fff; backdrop-filter: blur(6px); }

.nb .dl:hover { background: var(--accent); color: var(--on-accent); } .nb .del:hover { background: var(--danger); }
.nb .dl svg, .nb .del svg { width: 16px; height: 16px; }

/* editor */
#scr-editor { background: #000; user-select: none; -webkit-user-select: none; }
#stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; }
.layer { position: absolute; left: 0; top: 0; }
.layer.live { touch-action: none; }
#scr-editor[data-tool="pen"] .live, #scr-editor[data-tool="hl"] .live { cursor: crosshair; }
#scr-editor[data-tool="eraser"] .live, #scr-editor[data-tool="laser"] .live { cursor: none; }
#scr-editor[data-tool="hand"] .live { cursor: grab; }
#scr-editor[data-tool="text"] .live { cursor: text; }
#scr-editor[data-tool="insert"] .live { cursor: crosshair; }

.dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); grid-template-areas: "left tools right"; align-items: end; gap: 12px; z-index: 5; pointer-events: none; }
.dock > * { pointer-events: auto; }
.topbar { grid-area: left; justify-self: start; min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px; background: rgba(27,30,37,.88); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(12px); box-shadow: var(--shadow); z-index: 5; }
.title-input { background: none; border: 1px solid transparent; border-radius: 8px; padding: 6px 8px; width: 170px; font-weight: 600; }
.title-input:hover, .title-input:focus { border-color: var(--line); outline: none; background: var(--bg); }
.save { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 0 8px; color: var(--muted); }
.save svg { width: 16px; height: 16px; }
.save.ok svg { color: var(--ok); } .save.busy svg { color: #f7b955; } .save.bad { color: var(--danger); }

.ibtn { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text); flex: none; }
.ibtn:hover { background: var(--panel2); }
.ibtn svg { width: 20px; height: 20px; }
.ibtn.txt { width: auto; padding: 0 10px; font-size: 13px; font-weight: 600; }
.ibtn.accent { background: var(--accent); color: var(--on-accent); } .ibtn.accent:hover { filter: brightness(1.08); }
.ibtn.danger:hover { background: rgba(255,92,108,.2); color: var(--danger); }
.sep { width: 1px; height: 26px; background: var(--line); margin: 0 4px; flex: none; }

.toolbar { grid-area: tools; justify-self: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; display: flex; align-items: center; gap: 4px; padding: 7px; background: rgba(27,30,37,.92); border: 1px solid var(--line); border-radius: 18px; backdrop-filter: blur(12px); box-shadow: var(--shadow); z-index: 5; }
.tool { position: relative; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; color: #cfd5e1; transition: background .12s; }
.tool svg { width: 26px; height: 26px; }
.tool:hover { background: var(--panel2); }
.tool.active { background: var(--accent); color: var(--on-accent); }
.tool .dot { position: absolute; bottom: 6px; right: 8px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); }

.pagebar { grid-area: right; justify-self: end; display: flex; align-items: center; gap: 4px; padding: 7px; background: rgba(27,30,37,.92); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 5; }
.pg-count { padding: 0 10px; height: 38px; border-radius: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pg-count:hover { background: var(--panel2); }

.pop { position: absolute; bottom: calc(var(--dock-h, 80px) + 8px); left: 50%; transform: translateX(-50%); width: 360px; padding: 16px; background: rgba(27,30,37,.97); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); z-index: 6; display: flex; flex-direction: column; gap: 14px; }
.pop.wide { width: min(760px, calc(100vw - 32px)); max-height: 62vh; overflow: auto; }
.pop-row { display: flex; align-items: center; gap: 12px; font-size: 14px; } .pop-row input[type=range] { flex: 1; accent-color: var(--accent); }
.pop-row.tight { flex-wrap: wrap; gap: 8px 16px; }
.size-prev { width: 40px; height: 40px; display: grid; place-items: center; }
.size-prev::after { content: ""; width: var(--s); height: var(--s); max-width: 40px; max-height: 40px; border-radius: 50%; background: var(--c); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; } .check input { accent-color: var(--accent); width: 16px; height: 16px; }
.check small { color: var(--muted); }
.hint { font-size: 12px; color: var(--muted); }
.pen-types { display: flex; gap: 6px; justify-content: space-between; }
.pen-type { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 10px; font-size: 11px; color: var(--muted); border: 1px solid transparent; }
.pen-type svg { width: 26px; height: 26px; color: var(--text); }
.pen-type:hover { background: var(--panel2); } .pen-type.active { border-color: var(--accent); background: rgba(200,255,60,.12); color: var(--text); }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.sw { aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); position: relative; }
.sw.active { outline: 2px solid var(--accent); outline-offset: 2px; }
.sw.custom { background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); overflow: hidden; }
.sw.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.swatches.mini { display: flex; gap: 6px; } .swatches.mini .sw { width: 24px; height: 24px; }

.shape-group h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 0 8px; }
.shape-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.shape-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 4px; border-radius: 10px; font-size: 11px; color: var(--muted); border: 1px solid var(--line); background: var(--bg); }
.shape-item canvas { width: 60px; height: 40px; }
.shape-item:hover { border-color: #4a5263; } .shape-item.active { border-color: var(--accent); color: var(--text); }

.selbar { position: absolute; z-index: 7; display: flex; align-items: center; gap: 2px; padding: 6px; background: rgba(27,30,37,.96); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.selbar .ibtn { width: 34px; height: 34px; } .selbar .ibtn svg { width: 18px; height: 18px; }

.text-edit { position: absolute; z-index: 8; background: rgba(200,255,60,.08); border: 1.5px dashed var(--accent); border-radius: 4px; outline: none; resize: none; overflow: hidden; line-height: 1.25; padding: 0; min-width: 60px; white-space: pre; }

.overlay { position: absolute; inset: 0; z-index: 20; background: rgba(12,13,17,.97); display: flex; flex-direction: column; }
.ov-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 12px; }
.pages-grid { flex: 1; overflow: auto; padding: 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; align-content: start; }
.pthumb { position: relative; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.pthumb .pimg { width: 100%; aspect-ratio: 16/10; border-radius: 10px; border: 2px solid var(--line); background: #000; display: grid; place-items: center; overflow: hidden; }
.pthumb .pimg canvas { max-width: 100%; max-height: 100%; }
.pthumb:hover .pimg { border-color: #5a6375; } .pthumb.current .pimg { border-color: var(--accent); }
.pthumb .plabel { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pthumb .pacts { display: flex; gap: 2px; }
.pthumb .pacts .ibtn { width: 30px; height: 30px; } .pthumb .pacts svg { width: 16px; height: 16px; }

.toast { position: absolute; top: 70px; left: 50%; transform: translateX(-50%); background: var(--panel2); border: 1px solid var(--line); padding: 10px 16px; border-radius: 10px; z-index: 30; box-shadow: var(--shadow); font-size: 14px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: grid; place-items: center; z-index: 50; }
.modal .card { text-align: center; display: flex; flex-direction: column; gap: 16px; min-width: 260px; }

/* Compact bottom dock: always one line. */
.dock { padding: 8px; gap: 8px; }
.dock .topbar, .dock .toolbar, .dock .pagebar { padding: 4px; gap: 2px; border-radius: 12px; }
.dock .tool { width: 38px; height: 38px; border-radius: 9px; } .dock .tool svg { width: 20px; height: 20px; }
.dock .tool .dot { width: 7px; height: 7px; bottom: 4px; right: 5px; border-width: 1px; }
.dock .ibtn { width: 32px; height: 32px; border-radius: 8px; } .dock .ibtn svg { width: 17px; height: 17px; }
.dock .ibtn.txt { width: auto; padding: 0 8px; font-size: 12px; }
.dock .pg-count { height: 32px; padding: 0 6px; font-size: 13px; }
.dock .sep { height: 20px; margin: 0 3px; }
.dock .title-input { font-size: 13px; padding: 4px 6px; min-width: 50px; flex: 0 1 140px; width: 140px; }
.dock .save { padding: 0 4px; } .dock .save span { display: none; }
.topbar { overflow: hidden; }
@media (max-width: 1150px) { #btn-zoom-out, #btn-zoom-in { display: none; } .dock .title-input { width: 90px; } }
@media (max-width: 920px) {
  .dock { gap: 4px; padding: 6px; }
  .dock .tool { width: 33px; height: 33px; } .dock .tool svg { width: 18px; height: 18px; }
  .dock .ibtn { width: 29px; height: 29px; }
  .dock .title-input, #pg-prev, #pg-next, #btn-fit, .dock .pagebar .sep, .dock .topbar .sep { display: none; }
}

/* Notation+ brand */
.app-logo { width: 76px; height: 76px; margin: 0 auto; display: block; filter: drop-shadow(0 8px 24px rgba(200,255,60,.25)); }
.app-logo.sm { width: 34px; height: 34px; margin: 0; filter: none; }
.wordmark { font-weight: 800; letter-spacing: -.03em; } .wordmark span { color: var(--accent); }
h1.wordmark { font-size: 40px; }
.tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--accent); color: var(--on-accent); padding: 3px 8px; border-radius: 6px; }

/* subscription */
.sub-badge { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: rgba(200,255,60,.12); color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sub-badge:empty { display: none; }
.sub-badge.warn { background: rgba(247,185,85,.15); color: #f7b955; }
.sub-badge.over { background: rgba(255,92,108,.15); color: var(--danger); }
.expired-banner { background: rgba(255,92,108,.1); border: 1px solid rgba(255,92,108,.35); color: #ffc2c8; padding: 14px 18px; border-radius: 12px; margin-bottom: 22px; line-height: 1.5; }
.expired-banner b { color: var(--danger); }
.locked .tile.new { opacity: .4; pointer-events: none; }

/* admin */
.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13px; color: var(--muted); }
.stat.hi b { color: var(--accent); }
.adm-card { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.adm-card input, .utable input, .search { background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--text); outline: none; color-scheme: dark; }
.adm-card input { width: 90px; font-size: 16px; }
.adm-card input:focus, .utable input:focus, .search:focus { border-color: var(--accent); }
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.search { width: min(320px, 100%); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.utable { width: 100%; border-collapse: collapse; font-size: 14px; }
.utable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.utable td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.utable tr:last-child td { border-bottom: 0; }
.utable .who { display: flex; align-items: center; gap: 10px; } .utable .who small { display: block; color: var(--muted); font-size: 12px; }
.utable .num { font-variant-numeric: tabular-nums; }
.sub-edit { display: flex; align-items: center; gap: 6px; }
.sub-edit .btn { padding: 6px 9px; font-size: 12px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.pill.on { background: rgba(200,255,60,.14); color: var(--accent); } .pill.off { background: rgba(255,92,108,.14); color: var(--danger); } .pill.adm { background: rgba(160,140,255,.16); color: #b9a8ff; }

/* editor lock */
.lock { position: absolute; inset: 0; z-index: 40; background: rgba(0,0,0,.75); display: grid; place-items: center; }

/* plans */
#plans { overflow: auto; padding: 16px; }
.plans-card { position: relative; width: min(620px, 100%); margin: auto; padding: 36px; }
.plans-step { display: flex; flex-direction: column; gap: 22px; }
.plans-head { text-align: center; display: flex; flex-direction: column; gap: 8px; }
.plans-head h2 { font-size: 28px; letter-spacing: -.02em; }
.plans-head p { font-size: 15px; line-height: 1.5; }
.accent { color: var(--accent); }
.plans-x { position: absolute; top: 14px; right: 14px; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); text-align: center; transition: border-color .15s, transform .15s; }
.plan:hover { border-color: #4a5544; transform: translateY(-2px); }
.plan.best { border-color: var(--accent); box-shadow: 0 10px 40px rgba(200,255,60,.10); }
.plan-name { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan .price:empty { display: none; }
.per { font-size: 13px; color: var(--muted); min-height: 1em; }
.plan .btn { width: 100%; margin-top: 14px; pointer-events: none; }
.ribbon { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.plans-incl { text-align: center; font-size: 13px; color: var(--muted); }
.linkbtn { color: var(--accent); font-size: 14px; font-weight: 600; align-self: center; padding: 4px; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn.back { align-self: flex-start; color: var(--muted); font-weight: 500; }
.notice { background: rgba(247,185,85,.1); border: 1px solid rgba(247,185,85,.3); color: #f7d08a; padding: 12px 14px; border-radius: 12px; font-size: 14px; text-align: center; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.seg button { padding: 10px; border-radius: 9px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--accent); color: var(--on-accent); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field small { font-size: 12px; opacity: .8; }
.field input { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--text); font-size: 16px; outline: none; }
.field input:focus { border-color: var(--accent); }
#my-pays { display: flex; flex-direction: column; gap: 6px; }
#my-pays:not(:empty)::before { content: "Your recent payments"; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.my-pay { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; padding: 10px 12px; border-radius: 10px; background: var(--panel2); }
@media (max-width: 520px) { .plans-card { padding: 28px 18px; } .plan-grid { grid-template-columns: 1fr; } }
.pill.wait { background: rgba(247,185,85,.15); color: #f7b955; }
.prices { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.prices input { width: 110px; }

/* notes screen header */
.btn.wa { background: #25d366; border-color: #25d366; color: #06301a; font-weight: 700; text-decoration: none; }
.btn.wa:hover { background: #2ee673; }
#btn-full-lib svg { width: 18px; height: 18px; }
.lib-head .row { flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) { .btn.wa span, #full-lib-label, #me-name { display: none; } .btn.wa, #btn-full-lib { padding: 9px 10px; } }
