/* PDF editor (site/pdfedit/). Fills the workbench pane: header, modes, options, thumbnails | pages, footer. */
.pe-host { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.pe-start { padding: 8px 0; }
.pe-lead { margin: 0 0 12px; color: var(--muted); }
.pe-start .inline { display: inline-flex; gap: 8px; margin-left: 10px; vertical-align: middle; }
.pe-start input[type=password] { border: 1.5px solid var(--line); border-radius: 8px; padding: 7px 10px; background: var(--panel); }

/* the editor fills the tool window: its header and modes never scroll away (the page list scrolls inside) */
.sheet:has(> .pe-host) > .sheet-desc, .sheet:has(> .pe-host) > .related { display: none; }
.pe { display: flex; flex-direction: column; height: calc(min(100dvh - 48px, 920px) - 205px); min-height: 380px;
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.pe.busy { cursor: progress; }
.pe.busy .pe-view { opacity: .92; }
.pe-top, .pe-modes, .pe-opts, .pe-find, .pe-foot { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pe-foot { border-bottom: 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pe-file { display: flex; gap: 4px; align-items: baseline; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pe-file span { color: var(--muted); font-size: 14px; }
.pe-name { border: 1.5px solid transparent; border-radius: 6px; padding: 2px 5px; margin: -2px -5px; background: none;
  font: inherit; font-weight: 700; color: var(--ink); min-width: 0; max-width: 40vw; }
.pe-name:hover, .pe-name:focus { border-color: var(--line); }
.pe-name:focus { outline: none; }
.pe-sp { flex: 1; }
.pe-ib { padding: 6px; display: inline-grid; place-items: center; }
.pe-ib .ic { width: 18px; height: 18px; }
.pe-ib:disabled { opacity: .4; cursor: default; }
.pe-modes { gap: 2px; padding: 5px 8px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
.pe-mode { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; border-radius: 8px; padding: 6px 10px; font: 600 14px var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pe-mode .ic { width: 17px; height: 17px; }
@media (hover: hover) and (pointer: fine) { .pe-mode:hover { background: var(--soft); } }
.pe-mode[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pe-opts { background: var(--soft); min-height: 44px; }
.pe-opts:empty { display: none; }
.pe-optrow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; width: 100%; }
.pe-optrow .btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; font-size: 14px; }
.pe-optrow .btn .ic { width: 16px; height: 16px; }
.pe-note { color: var(--muted); font-size: 14px; }
.pe-find-btn { display: inline-flex; gap: 6px; padding: 6px 10px; }
/* the matches of a search, each with its page and the words around it */
.pe-hits { flex: 1 0 100%; list-style: none; margin: 4px 0 0; padding: 0; max-height: 168px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.pe-hits button { display: flex; gap: 12px; width: 100%; padding: 6px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; color: inherit; font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.pe-hits li:last-child button { border-bottom: 0; }
.pe-hits button:hover, .pe-hits button[aria-current] { background: var(--soft); }
.pe-hit-pg { flex: none; min-width: 5.5em; color: var(--muted); font-variant-numeric: tabular-nums; }
.pe-hit-tx { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pe-hit-tx mark { background: var(--yellow); color: var(--yellow-ink); border-radius: 2px; padding: 0 1px; }
.pe-hits li.pe-note { padding: 6px 10px; }
@media (max-width: 700px) { .pe-find-btn span { display: none; } .pe-find-btn { padding: 6px; } .pe-hits { max-height: 132px; } }
.pe-find input { flex: 1; min-width: 160px; max-width: 360px; border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 10px; background: var(--paper); }

.pe-body { flex: 1; display: grid; grid-template-columns: 112px minmax(0, 1fr); min-height: 0; }
.pe-thumbs { list-style: none; margin: 0; padding: 10px 8px; overflow-y: auto; border-right: 1px solid var(--line); background: var(--soft); display: grid; align-content: start; gap: 12px; justify-items: center; }
.pe-th { position: relative; display: grid; justify-items: center; gap: 3px; cursor: pointer; border-radius: 6px; padding: 3px; outline-offset: 2px; }
.pe-th canvas { width: auto; max-width: 88px; max-height: 96px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); border-radius: 2px; }
.pe-th span { font-size: 12px; color: var(--muted); }
.pe-th.cur canvas { outline: 2px solid var(--line-strong, #9aa3a0); }
.pe-th.on { background: color-mix(in srgb, var(--blue) 16%, transparent); }
.pe-th.on canvas { outline: 2px solid var(--blue); }
.pe-th.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 3px; border-radius: 2px; background: var(--blue); }
.pe-thumbs.sortable .pe-th { cursor: grab; }

.pe-view { position: relative; overflow: auto; background: color-mix(in srgb, var(--ink) 12%, var(--paper)); padding: 20px 24px; display: grid; justify-content: center; align-content: start; gap: 18px; outline: none; }
.pe-page { position: relative; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); touch-action: none; }
.pe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pe-layer { position: absolute; inset: 0; }
.pe-layer > * { position: absolute; }
.pe-hit { background: rgba(255, 196, 0, .35); outline: 1px solid rgba(200, 140, 0, .6); pointer-events: none; }
.pe-hit.cur { background: rgba(255, 140, 0, .5); }
.pe-sel { background: rgba(35, 70, 200, .28); pointer-events: none; }

.pe-zooms { display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; }
.pe-zoom { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.pe-status { margin-left: 10px; color: var(--ink); }
.pe-safe { display: inline-flex; align-items: center; gap: 5px; color: var(--local, #2a6b45); font-weight: 600; }
.pe-safe .ic { width: 15px; height: 15px; }

@media (max-width: 700px) {
  .pe { height: calc(100dvh - 150px); border-radius: 0; border-left: 0; border-right: 0; }
  .pe-body { grid-template-columns: minmax(0, 1fr); }
  .pe-thumbs { display: none; }
  .pe[data-mode="pages"] .pe-body { grid-template-columns: 1fr; }
  .pe[data-mode="pages"] .pe-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); border-right: 0; }
  .pe[data-mode="pages"] .pe-view { display: none; }
  .pe-view { padding: 10px; }
  .pe-top .btn.alt:not(.pe-ib) { display: none; }
}

/* ── edit text (agent) ── modes/edit.js: the outline under the pointer, the box you type in, the notice */
.pe[data-mode="edit"] .pe-page { cursor: text; }
.pe-edit-hover { outline: 1.5px solid var(--blue); border-radius: 2px; background: color-mix(in srgb, var(--blue) 8%, transparent); pointer-events: none; }
.pe-edit-box, .pe-edit-draft { margin: 0; padding: 0 2px; border: 0; border-radius: 2px; background: #fff; box-sizing: content-box; white-space: pre; }
.pe-edit-box { outline: 2px solid var(--blue); outline-offset: 1px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); caret-color: var(--blue); }
.pe-edit-draft { pointer-events: none; }
.pe-edit-font { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.pe-edit-font:not(:empty)::before { content: "·"; margin: 0 6px 0 2px; color: var(--muted); }
.pe-edit-notice { font-size: 14px; color: var(--ink); }
.pe-edit-notice:not(:empty) { padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, #f0b400 22%, var(--paper)); }
/* ── redact, protect, compress, form (agent) ── */
.pe { position: relative; } /* for .pe-ask */
.pe-opts:has(> .pe-rd, > .pe-pr, > .pe-cp, > .pe-ff) { display: block; }
.pe-rd, .pe-pr, .pe-pr-pw, .pe-cp, .pe-ff { display: grid; gap: 6px; width: 100%; }
.pe-opts input[type=search], .pe-opts input[type=text], .pe-opts input[type=password], .pe-opts select, .pe-opts textarea {
  border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 9px; background: var(--paper); color: var(--ink); font: 14px var(--body); min-width: 0; }
.pe-seg { display: inline-flex; }
.pe-seg .btn { border-radius: 0; }
.pe-seg .btn:first-child { border-radius: 8px 0 0 8px; }
.pe-seg .btn:last-child { border-radius: 0 8px 8px 0; margin-left: -1px; }
.pe-seg .btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pe-rd-find { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pe-rd-q { width: 180px; }
.pe-rd-count { font-size: 14px; white-space: nowrap; }
.pe-rd-msg { margin: 0; }
.pe-rd-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; max-height: 76px; overflow-y: auto; }
.pe-rd-list:empty { display: none; }
.pe-rd-list li { display: inline-flex; align-items: center; gap: 6px; padding: 1px 2px 1px 8px; border: 1px solid color-mix(in srgb, #d0202a 45%, var(--line)); border-radius: 999px; background: var(--paper); font-size: 13px; max-width: 320px; }
.pe-rd-list .linkish { background: none; border: 0; padding: 0; font: 600 13px var(--body); white-space: nowrap; }
.pe-rd-what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pe-rd-list .pe-ib { padding: 3px; border-radius: 999px; }
.pe-rd-list .pe-ib .ic { width: 14px; height: 14px; }
.pe-rd-mark { outline: 2px solid #d0202a; background: rgba(208, 32, 42, .13); pointer-events: none; }
.pe-rd-mark.drag { outline-style: dashed; }
.pe-ask { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(0, 0, 0, .28); padding: 16px; }
.pe-ask-box { background: var(--panel); color: var(--ink); border-radius: 12px; padding: 18px 20px; max-width: 460px; box-shadow: 0 8px 30px rgba(0, 0, 0, .3); }
.pe-ask-box p { margin: 0 0 14px; font-weight: 600; }
.pe-ask-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.pe-pr-on { display: inline-flex; align-items: center; gap: 6px; color: var(--local, #2a6b45); font-weight: 600; font-size: 14px; }
.pe-pr-on .ic { width: 16px; height: 16px; }
.pe-pr .pe-note, .pe-cp .pe-note { margin: 0; }
.pe-cp-target { width: 110px; }
.pe-cp-scan { display: flex; gap: 8px; align-items: flex-start; }
.pe-ff-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; max-height: min(28vh, 220px); overflow-y: auto; padding: 2px 2px 4px; }
.pe-ff-row { display: grid; gap: 2px; font-size: 13px; color: var(--muted); align-content: start; }
.pe-ff-row.check { grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.pe-ff-row.check > span { order: 2; color: var(--ink); }
.pe-ff-row :focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.pe-ff-box { outline: 1.5px solid color-mix(in srgb, var(--blue) 70%, transparent); background: color-mix(in srgb, var(--blue) 10%, transparent); pointer-events: none; border-radius: 2px; }
.pe-ff-box.on { outline-width: 2.5px; background: color-mix(in srgb, var(--blue) 22%, transparent); }
.pe-ff-box.val { display: flex; align-items: center; padding: 0 3px; overflow: hidden; white-space: nowrap; background: rgba(255, 255, 255, .92); color: #111; font-family: Helvetica, Arial, sans-serif; line-height: 1; }
[data-mode="form"] .pe-view { cursor: pointer; }
@media (max-width: 700px) {
  .pe-rd-q { width: 130px; }
  .pe-ff-list { max-height: 30vh; }
}
/* ── mark up, add, sign (agent) ── */
.pe-tools { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 2px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); }
.pe-tool { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; border-radius: 7px; padding: 5px 8px; font: 500 13px var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.pe-tool .ic { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .pe-tool:hover { background: var(--soft); } }
.pe-tool[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.pe-swatches { display: inline-flex; gap: 4px; align-items: center; }
.pe-swatches[hidden], .pe-sel-opt[hidden] { display: none; }
.pe-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--panel); background: var(--c); box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; }
.pe-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--ink); }
.pe-sel-opt { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.pe-sel-opt select { border: 1.5px solid var(--line); border-radius: 7px; padding: 3px 6px; background: var(--paper); color: var(--ink); font: inherit; }

/* on the page: drawing previews, the selected annotation, the note editor, an image being placed */
.pe-layer > svg.pe-draft { left: 0; top: 0; pointer-events: none; overflow: visible; }
.pe-asel { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; cursor: move; background: color-mix(in srgb, var(--blue) 6%, transparent); }
.pe-asel-bar { position: absolute; right: -4px; top: -38px; display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.pe-asel-bar .pe-ib { border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--ink); }
.pe-asel-bar .pe-ib:hover { background: var(--soft); }
.pe-pop { z-index: 3; display: grid; gap: 6px; width: 240px; padding: 8px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-lift); cursor: auto; }
.pe-pop-text { width: 100%; box-sizing: border-box; min-height: 64px; resize: vertical; border: 1.5px solid var(--line); border-radius: 7px; padding: 6px 8px; font: 14px var(--body); background: var(--paper); color: var(--ink); }
.pe-pop-bar { display: flex; gap: 6px; }
.pe-pop-bar .btn { padding: 5px 10px; font-size: 13px; }
/* a text box is typed where it will be: transparent, in its own size and colour */
.pe-pop.pe-pop-free { width: auto; min-width: 180px; padding: 0; background: none; border: 0; box-shadow: none; }
.pe-pop-free .pe-pop-text { min-height: 0; background: rgba(255, 255, 255, .85); border: 1.5px dashed var(--blue); border-radius: 3px; padding: 1px 2px; resize: both; min-width: 160px; }
.pe-pop-free .pe-pop-bar { position: absolute; top: 100%; left: 0; margin-top: 4px; padding: 3px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.pe-placing { outline: 2px dashed var(--blue); outline-offset: 1px; cursor: move; touch-action: none; }
.pe-placing img { width: 100%; height: 100%; display: block; pointer-events: none; user-select: none; }
.pe-grip { position: absolute; right: -7px; bottom: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); border: 2px solid #fff; cursor: nwse-resize; }
.pe-place-bar { position: absolute; left: 0; top: calc(100% + 8px); display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--card-shadow); white-space: nowrap; }
.pe-place-bar .btn { padding: 4px 10px; font-size: 13px; }

/* Sign: the signature pad opens in the options row */
.pe-signrow .pe-sigprev { height: 32px; max-width: 160px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; }
.pe-signrow .fs-sig { flex-basis: 100%; max-width: 560px; }
.pe-signrow .fs-sig[hidden] { display: none; }

@media (max-width: 700px) {
  .pe-tool span { display: none; }
  .pe-tool { padding: 7px; }
  .pe-optrow .pe-note { flex-basis: 100%; font-size: 13px; }
}

/* ── making pages and stamps ── ui.js start screen, modes/pages.js panels, modes/stamp.js */
.pe-start-opts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; font-size: 14px; }
.pe-start-blank { padding-top: 10px; border-top: 1px dashed var(--line); margin-top: 14px; }
.pe-start-blank .btn { display: inline-flex; align-items: center; gap: 6px; }
.pe-start-blank .btn .ic { width: 16px; height: 16px; }
.pe-start select, .pe-opts select, .pe-opts input[type=text], .pe-opts input[type=number] { border: 1.5px solid var(--line); border-radius: 8px; padding: 5px 8px; background: var(--paper); color: var(--ink); font: 14px var(--body); }
.pe-pages, .pe-stamp { display: grid; gap: 6px; width: 100%; }
.pe-sub:empty { display: none; }
.pe-sub { padding-top: 6px; border-top: 1px dashed var(--line); }
.pe-optrow .btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pe-num { width: 5.5em; }
.pe-ranges { width: 11em; }
.pe-ranges[hidden] { display: none; }
.pe-wm-text { width: 14em; }
.pe-hf input { flex: 1; min-width: 8em; max-width: 16em; }
.pe-hf b { min-width: 4.5em; font-size: 14px; }
.pe-stamp-preview { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.pe-empty { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.pe-empty[hidden] { display: none; }

/* ── rich text boxes: Add → Text (modes/rich-ui.js, richtext-dom.js, modes/rich-toolbar.js) ── */
.pe-rich-frame { position: absolute; z-index: 3; cursor: auto; }
.pe-rich { outline: 2px solid var(--blue); outline-offset: 3px; white-space: pre-wrap; overflow-wrap: break-word; min-height: 1em; caret-color: var(--blue); cursor: text;
  user-select: text; -webkit-user-select: text; touch-action: auto; font-kerning: none; font-variant-ligatures: none; }
.pe-rich:focus { outline: 2px solid var(--blue); }
.pe-rich .rt-b { position: relative; margin: 0; }
.pe-rich .rt-b::before { content: attr(data-marker); position: absolute; left: var(--mx); top: 0; font-family: var(--mf); font-weight: 400; font-style: normal; }
/* a checkbox line: the square where layoutBox puts it; ticked, its tick (the stroke rich-engine.js draws) */
.pe-rich .rt-b[data-kind="check"]::before { content: ""; top: var(--cy); width: var(--cs); height: var(--cs); box-sizing: border-box; border: var(--cw) solid currentColor; cursor: pointer; }
.pe-rich .rt-b[data-kind="check"][data-checked="true"]::after { content: ""; position: absolute; left: var(--mx); top: var(--cy); width: var(--cs); height: var(--cs); background: currentColor; pointer-events: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpolyline points='.1,.55 .38,.85 .92,.15' fill='none' stroke='%23000' stroke-width='.1'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpolyline points='.1,.55 .38,.85 .92,.15' fill='none' stroke='%23000' stroke-width='.1'/%3E%3C/svg%3E") center / 100% no-repeat; }
.pe-rich-w { position: absolute; right: -9px; top: 50%; width: 10px; height: 26px; max-height: 100%; min-height: 14px; transform: translateY(-50%); border-radius: 5px; background: var(--blue); border: 2px solid #fff; cursor: ew-resize; touch-action: none; }
.pe-rich-sel { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; cursor: move; background: color-mix(in srgb, var(--blue) 6%, transparent); }
.pe-rich-sel .pe-asel-bar { top: -42px; }
/* the toolbar */
.pe-rt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.pe-rt[hidden] { display: none; }
.pe-rt-fontbox { display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 2px 4px; }
.pe-rt-fontbox .pe-rt-note { grid-column: 1 / -1; font-size: 12px; }
.pe-rt-fontbox .pe-rt-note[hidden], .pe-rt-managebtn[hidden] { display: none; }
.pe-rt-group { display: inline-flex; align-items: center; gap: 4px; }
.pe-opts .pe-rt-font { max-width: 11em; }
.pe-opts .pe-rt-size { width: 4.6em; }
.pe-opts .pe-rt-kind { max-width: 10em; }
.pe-rt .btn.pe-ib { padding: 5px; border-radius: 7px; }
.pe-rt .btn.pe-ib .ic { width: 16px; height: 16px; }
.pe-rt .pe-rt-align .pe-tool { padding: 5px 6px; }
.pe-rt-manage { min-width: 220px; max-width: min(320px, calc(100vw - 32px)); padding: 10px 12px; border-radius: 10px; background: var(--panel); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--card-lift); }
.pe-rt-manage .pe-note { margin: 8px 0 0; font-size: 12px; }
.pe-rt-mine { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pe-rt-mine .pe-ib { border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--ink); padding: 3px; }
.pe-rt-mine .pe-ib .ic { width: 14px; height: 14px; }
@media (max-width: 700px) {
  .pe-rt { width: 100%; }
  .pe-opts .pe-rt-font { max-width: 9em; }
}

/* many photos made into a PDF: "Make a photo album instead" (pdfedit/ui.js albumNote) */
.pe-albumnote { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 7px 10px 7px 12px; font-size: 14px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--blue) 8%, var(--panel)); color: var(--ink); }
.pe-albumnote > .ic { width: 17px; height: 17px; color: var(--blue); flex: none; }
.pe-albumnote .linkish { background: none; border: 0; padding: 0; font: 600 14px var(--body); }
.pe-albumnote-x { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--ink); cursor: pointer; }
.pe-albumnote-x .ic { width: 15px; height: 15px; }
