/* Amazon A+ Content (Vendor) — manager + draft editor.
 * Visual language mirrors Message Templates / Evri Claims (Family A): teal→blue
 * gradient, 1.5px hairlines, soft white cards, rounded status badges, bottom-right
 * toasts, modal editor. The "Add module" picker mirrors Amazon's Add-Module screen
 * (a grid of module thumbnails) but inside the app's own Family-A shell.
 * Prefix: .aplus-*  ·  mobile gated ≤1180px  ·  dark via html[data-theme="dark"].
 */

:root {
  --aplus-primary: #0588b6;
  --aplus-primary-d: #03658e;
  --aplus-grad: linear-gradient(135deg, #03658e, #0588b6);
  --aplus-ink: #0f2740;
  --aplus-sub: #5b7183;
  --aplus-line: #e6edf5;
  --aplus-line-s: #cfdcea;
  --aplus-bg: #f5f8fc;
  --aplus-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

/* ---------------- Page shell ---------------- */
.aplus-page { background: transparent; }
.aplus-wrap { max-width: 1180px; margin: 0 auto; padding: 6px 4px 40px; }

.aplus-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 4px 0 18px; }
.aplus-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--aplus-primary); }
.aplus-title { font-size: 25px; font-weight: 800; color: var(--aplus-ink); margin: 4px 0 4px; line-height: 1.15; }
.aplus-sub { font-size: 13.5px; color: var(--aplus-sub); margin: 0; max-width: 660px; line-height: 1.5; }
.aplus-head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------------- Buttons ---------------- */
.aplus-btn { appearance: none; border: 1.5px solid var(--aplus-line-s); background: #fff; color: #21506f; font-size: 13px; font-weight: 700; padding: 9px 15px; border-radius: 11px; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: .15s; }
.aplus-btn:hover { border-color: var(--aplus-primary); color: var(--aplus-primary); }
.aplus-btn.primary { border: none; color: #fff; background: var(--aplus-grad); box-shadow: 0 8px 18px rgba(5, 136, 182, .28); }
.aplus-btn.primary:hover { filter: brightness(1.05); color: #fff; }
.aplus-btn.danger:hover { border-color: #e2564d; color: #d63c33; }
.aplus-btn.ghost { background: transparent; }
.aplus-btn.slim { padding: 7px 12px; font-size: 12.5px; }
.aplus-btn.icon { padding: 8px 10px; }
.aplus-btn:disabled { opacity: .55; cursor: default; }

/* ---------------- Toolbar ---------------- */
.aplus-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--aplus-line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--aplus-shadow); margin-bottom: 14px; }
.aplus-search { position: relative; flex: 1 1 240px; min-width: 200px; }
.aplus-search input { width: 100%; height: 40px; border: 1.5px solid var(--aplus-line-s); border-radius: 10px; padding: 0 12px 0 36px; font-size: 13.5px; color: var(--aplus-ink); background: #fbfdff; }
.aplus-search input:focus { outline: none; border-color: var(--aplus-primary); box-shadow: 0 0 0 3px rgba(5, 136, 182, .14); }
.aplus-search .aplus-search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); opacity: .5; font-size: 14px; pointer-events: none; }
.aplus-select { height: 40px; border: 1.5px solid var(--aplus-line-s); border-radius: 10px; padding: 0 30px 0 12px; font-size: 13px; font-weight: 600; color: #33506a; background: #fff; cursor: pointer; }
.aplus-select:focus { outline: none; border-color: var(--aplus-primary); }

.aplus-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.aplus-chip { border: 1.5px solid var(--aplus-line-s); background: #fff; color: #3f5f79; font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px; cursor: pointer; transition: .15s; display: inline-flex; align-items: center; gap: 6px; }
.aplus-chip:hover { border-color: var(--aplus-primary); color: var(--aplus-primary); }
.aplus-chip.active { background: var(--aplus-grad); border-color: transparent; color: #fff; }
.aplus-chip .aplus-chip-n { font-size: 11px; opacity: .8; font-weight: 800; }

/* ---------------- Connection banner ---------------- */
.aplus-conn { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border-radius: 12px; padding: 10px 14px; font-size: 12.8px; font-weight: 600; margin-bottom: 14px; border: 1.5px solid; }
.aplus-conn.on { background: #eefaf1; border-color: #cdeede; color: #1f7a52; }
.aplus-conn.off { background: #fff7ed; border-color: #f2ddc0; color: #9a6413; }
.aplus-conn .aplus-conn-act { margin-left: auto; }

/* ---------------- Card grid ---------------- */
.aplus-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.aplus-card { position: relative; background: #fff; border: 1.5px solid var(--aplus-line); border-radius: 16px; padding: 15px 16px 12px; box-shadow: var(--aplus-shadow); display: flex; flex-direction: column; min-height: 172px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.aplus-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 23, 42, .10); border-color: #d4e4f2; }
.aplus-card.amazon { border-style: dashed; }
.aplus-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.aplus-card-name { font-size: 15.5px; font-weight: 800; color: var(--aplus-ink); line-height: 1.25; }
.aplus-src { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #7c90a4; background: #eef3f8; border: 1px solid #e0e8f1; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.aplus-src.amazon { color: #8a5a15; background: #fdf3e5; border-color: #f0dcc0; }

.aplus-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 8px; align-items: center; }
.aplus-badge { font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 1px solid; letter-spacing: .02em; }
.aplus-badge.draft { background: #eef5fb; color: #2d6b8f; border-color: #dcecf6; }
.aplus-badge.local { background: #f1f4f8; color: #647689; border-color: #e2e8f0; }
.aplus-badge.submitted { background: #fff5e6; color: #a5701a; border-color: #f2e0bf; }
.aplus-badge.approved { background: #eafaf0; color: #1f8a54; border-color: #cdeede; }
.aplus-badge.rejected { background: #fdeceb; color: #c23b32; border-color: #f4cfcc; }
.aplus-mods-badge { font-size: 11px; font-weight: 700; color: #4a6883; background: #f5f8fc; border: 1px solid #e4ecf4; padding: 3px 9px; border-radius: 999px; }

.aplus-asins { display: flex; gap: 5px; flex-wrap: wrap; margin: 2px 0 10px; }
.aplus-asin { font-size: 10.5px; font-weight: 700; font-family: ui-monospace, "SF Mono", Menlo, monospace; color: #45607a; background: #f4f8fc; border: 1px solid #e0e9f2; border-radius: 7px; padding: 2px 7px; }
.aplus-asin.more { color: #90a3b6; background: transparent; border: none; }
.aplus-card-desc { font-size: 12.5px; color: #6d8298; line-height: 1.45; flex: 1; margin-bottom: 10px; }

.aplus-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--aplus-line); padding-top: 9px; margin-top: auto; }
.aplus-meta { font-size: 11px; color: #90a3b6; display: flex; align-items: center; gap: 8px; }
.aplus-actions { display: flex; align-items: center; gap: 2px; }
/* Icon buttons draw an inline SVG via currentColor. They used to be emoji at
   opacity:.62 — ⧉ and 👁 have no glyph in the default Windows UI font, so those
   buttons rendered blank. Give them a real, readable colour instead of dimming. */
.aplus-ico-btn { border: none; background: transparent; cursor: pointer; padding: 5px 6px; border-radius: 8px; transition: .15s; line-height: 1; color: #5b7089; display: inline-flex; align-items: center; justify-content: center; }
.aplus-ico-btn svg { width: 15px; height: 15px; display: block; }
.aplus-ico-btn:hover { color: var(--aplus-primary); background: #eef4fa; }
.aplus-ico-btn.danger { color: #c0554d; }
.aplus-ico-btn.danger:hover { color: #a8362d; background: #fdeceb; }
.aplus-ico-btn:focus-visible { outline: 2px solid var(--aplus-primary); outline-offset: 1px; }

/* ---------------- Empty / loading ---------------- */
.aplus-empty { text-align: center; padding: 56px 20px; background: #fff; border: 1.5px dashed var(--aplus-line-s); border-radius: 18px; color: var(--aplus-sub); }
.aplus-empty .aplus-empty-emoji { font-size: 40px; }
.aplus-empty h3 { margin: 12px 0 4px; color: var(--aplus-ink); font-size: 17px; }
.aplus-empty p { margin: 0 0 16px; font-size: 13.5px; }
.aplus-skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.aplus-sk-card { height: 172px; border-radius: 16px; background: var(--rms-skel-fill); background-size: 400% 100%; animation: rms-shimmer var(--t-shimmer) var(--e-in-out) infinite; }

/* ---------------- Modal shell (editor + detail) ---------------- */
.aplus-modal { position: fixed; inset: 0; z-index: 100050; display: flex; align-items: center; justify-content: center; padding: 18px; }
.aplus-modal-bg { position: absolute; inset: 0; background: rgba(13, 32, 51, .48); backdrop-filter: blur(2px); animation: rms-fade var(--t-base) var(--e-out); }
.aplus-modal-shell { position: relative; background: #fff; border-radius: 18px; width: min(960px, 100%); max-height: 94vh; overflow: hidden; box-shadow: 0 30px 70px rgba(9, 26, 43, .35); display: flex; flex-direction: column; animation: rms-pop var(--t-base) var(--e-out); }
.aplus-modal-head { padding: 15px 20px; border-bottom: 1px solid var(--aplus-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.aplus-modal-head h3 { margin: 0; font-size: 17px; color: var(--aplus-ink); font-weight: 800; display: flex; align-items: center; gap: 10px; }
.aplus-modal-head .aplus-modcount { font-size: 12px; font-weight: 800; color: #4a6883; background: #eef5fb; border: 1px solid #dcecf6; padding: 3px 10px; border-radius: 999px; }
.aplus-modal-head .aplus-modcount.full { background: #fff5e6; color: #a5701a; border-color: #f2e0bf; }
.aplus-x { border: none; background: transparent; font-size: 20px; cursor: pointer; color: #8aa0b4; line-height: 1; padding: 4px 6px; border-radius: 8px; }
.aplus-x:hover { background: #eef2f6; color: #33506a; }
.aplus-modal-body { padding: 16px 20px; overflow-y: auto; }
.aplus-modal-foot { padding: 13px 20px; border-top: 1px solid var(--aplus-line); display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: #fbfdff; flex-wrap: wrap; }
.aplus-modal-foot .aplus-foot-left { margin-right: auto; display: flex; gap: 8px; align-items: center; }

/* ---------------- Fields ---------------- */
.aplus-field { margin-bottom: 12px; }
.aplus-field label { display: block; font-size: 12px; font-weight: 800; color: #45607a; margin: 0 0 6px; letter-spacing: .01em; }
.aplus-field input, .aplus-field textarea, .aplus-field select { width: 100%; border: 1.5px solid var(--aplus-line-s); border-radius: 10px; padding: 10px 12px; font-size: 13.5px; font-family: inherit; color: var(--aplus-ink); background: #fbfdff; }
.aplus-field textarea { min-height: 78px; resize: vertical; line-height: 1.5; }
.aplus-field input:focus, .aplus-field textarea:focus, .aplus-field select:focus { outline: none; border-color: var(--aplus-primary); box-shadow: 0 0 0 3px rgba(5, 136, 182, .13); }
.aplus-hint { font-size: 11.5px; color: #90a3b6; margin: 5px 0 0; }
.aplus-charcount { float: right; font-size: 11px; color: #a2b2c2; font-weight: 700; }
.aplus-charcount.over { color: #d63c33; }
.aplus-doc-meta { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px 16px; padding-bottom: 6px; }
.aplus-doc-meta .aplus-col-full { grid-column: 1 / -1; }

/* ---------------- Module list (editor) ---------------- */
.aplus-modlist-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0 8px; }
.aplus-modlist-head h4 { margin: 0; font-size: 13px; font-weight: 800; color: #45607a; text-transform: uppercase; letter-spacing: .05em; }
.aplus-modlist { display: flex; flex-direction: column; gap: 12px; }
.aplus-mod { border: 1.5px solid var(--aplus-line); border-radius: 14px; background: #fbfdff; overflow: hidden; }
.aplus-mod-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f4f8fc; border-bottom: 1px solid var(--aplus-line); }
.aplus-mod-icon { font-size: 17px; }
.aplus-mod-title { font-size: 13.5px; font-weight: 800; color: var(--aplus-ink); flex: 1; }
.aplus-mod-title small { display: block; font-size: 11px; font-weight: 600; color: #90a3b6; }
.aplus-mod-tools { display: flex; align-items: center; gap: 2px; }
.aplus-mod-body { padding: 12px 14px; }
.aplus-mod-empty { text-align: center; padding: 30px 16px; border: 1.5px dashed var(--aplus-line-s); border-radius: 14px; color: var(--aplus-sub); font-size: 13px; background: #fbfdff; }
.aplus-grouplist { display: flex; flex-direction: column; gap: 10px; }
.aplus-groupitem { border: 1px solid var(--aplus-line); border-radius: 11px; padding: 10px 12px; background: #fff; }
.aplus-groupitem-h { font-size: 11.5px; font-weight: 800; color: #7c90a4; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; }

/* image slot */
.aplus-imgslot { display: flex; gap: 12px; align-items: center; border: 1.5px dashed var(--aplus-line-s); border-radius: 11px; padding: 10px; background: #fff; }
.aplus-imgslot .thumb { width: 66px; height: 66px; border-radius: 9px; object-fit: cover; background: #eef3f8; border: 1px solid var(--aplus-line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #b3c3d3; }
/* When a preview exists the slot renders an <img class="thumb"> — show the real picture. */
.aplus-imgslot img.thumb { display: block; background: #fff; }
.aplus-imgslot .info { flex: 1; min-width: 0; }
.aplus-imgslot .info .fn { font-size: 12.5px; font-weight: 700; color: var(--aplus-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aplus-imgslot .info .dim { font-size: 11px; color: #90a3b6; margin-top: 2px; }
.aplus-imgslot .info input { width: 100%; margin-top: 6px; border: 1.5px solid var(--aplus-line-s); border-radius: 8px; padding: 6px 9px; font-size: 12px; background: #fbfdff; }
.aplus-imgslot .rec { font-size: 10.5px; color: #a2b2c2; font-weight: 700; }

/* bullets / specs editors */
.aplus-list-row { display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.aplus-list-row input { flex: 1; }
.aplus-list-row .aplus-ico-btn { flex-shrink: 0; }
.aplus-row-add { font-size: 12px; font-weight: 700; color: var(--aplus-primary); background: none; border: 1px dashed var(--aplus-line-s); border-radius: 8px; padding: 6px 11px; cursor: pointer; margin-top: 2px; }
.aplus-row-add:hover { border-color: var(--aplus-primary); background: #f5fbfe; }

/* ---------------- Add-module picker (Amazon-style) ---------------- */
.aplus-pick-overlay { position: fixed; inset: 0; z-index: 100070; display: flex; align-items: center; justify-content: center; padding: 18px; }
.aplus-pick-bg { position: absolute; inset: 0; background: rgba(13, 32, 51, .55); backdrop-filter: blur(2px); animation: rms-fade var(--t-base) var(--e-out); }
.aplus-pick-shell { position: relative; background: #fff; border-radius: 16px; width: min(880px, 100%); max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 70px rgba(9, 26, 43, .4); animation: rms-pop var(--t-base) var(--e-out); }
.aplus-pick-head { padding: 16px 20px 12px; border-bottom: 1px solid var(--aplus-line); }
.aplus-pick-head h3 { margin: 0 0 3px; font-size: 17px; font-weight: 800; color: var(--aplus-ink); }
.aplus-pick-head p { margin: 0; font-size: 12.5px; color: var(--aplus-sub); }
.aplus-pick-body { overflow-y: auto; padding: 14px 18px 18px; }
.aplus-pick-group-title { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #7c90a4; margin: 12px 2px 8px; }
.aplus-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.aplus-pick-card { text-align: left; border: 1.5px solid var(--aplus-line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer; transition: .14s; display: flex; flex-direction: column; gap: 6px; }
.aplus-pick-card:hover { border-color: var(--aplus-primary); box-shadow: 0 10px 24px rgba(5, 136, 182, .12); transform: translateY(-1px); }
.aplus-pick-card .pc-ico { font-size: 24px; line-height: 1; }
.aplus-pick-card .pc-name { font-size: 13px; font-weight: 800; color: var(--aplus-ink); }
.aplus-pick-card .pc-desc { font-size: 11.5px; color: #6d8298; line-height: 1.4; }
.aplus-pick-foot { padding: 10px 18px; border-top: 1px solid var(--aplus-line); display: flex; justify-content: space-between; align-items: center; background: #fbfdff; }
.aplus-pick-foot .aplus-pick-note { font-size: 11.5px; color: #90a3b6; }

/* ---------------- ASIN attach + validation ---------------- */
.aplus-asinbar { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; }
.aplus-asinbar .aplus-field { flex: 1 1 260px; margin-bottom: 0; }
.aplus-vpanel { margin-top: 12px; border: 1.5px solid var(--aplus-line); border-radius: 12px; overflow: hidden; }
.aplus-vpanel-h { padding: 9px 12px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #7c90a4; background: #f7fafd; border-bottom: 1px solid var(--aplus-line); }
.aplus-vlist { padding: 8px 12px; display: flex; flex-direction: column; gap: 6px; max-height: 220px; overflow-y: auto; }
.aplus-vitem { font-size: 12.5px; display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.aplus-vitem.ok { color: #1f8a54; }
.aplus-vitem.warn { color: #a5701a; }
.aplus-vitem.err { color: #c23b32; }
.aplus-vitem .aplus-vasin { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: #45607a; }

/* ---------------- Detail (read from Amazon) ---------------- */
.aplus-detail-sec { margin-bottom: 14px; }
.aplus-detail-sec h4 { font-size: 12px; font-weight: 800; color: #45607a; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 6px; }
.aplus-json { background: #0f1b2d; color: #cfe0f0; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.5; border-radius: 10px; padding: 12px 14px; max-height: 340px; overflow: auto; white-space: pre-wrap; word-break: break-word; }

/* ---------------- Publishing (submit / status / suspend) ---------------- */
.aplus-btn.danger-solid { border: none; color: #fff; background: linear-gradient(135deg, #c23b32, #e2564d); box-shadow: 0 8px 18px rgba(194, 59, 50, .26); }
.aplus-btn.danger-solid:hover { filter: brightness(1.05); color: #fff; }
.aplus-publish { border: 1.5px solid var(--aplus-line); border-radius: 12px; padding: 12px 14px; background: #fbfdff; }
.aplus-status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.aplus-publish-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.aplus-confirm { display: flex; gap: 14px; align-items: flex-start; font-size: 13.5px; color: var(--aplus-ink); line-height: 1.5; }
.aplus-confirm.danger { padding: 13px 15px; border: 1.5px solid #f4cfcc; background: #fdf3f2; border-radius: 12px; }
.aplus-confirm-ic { font-size: 26px; line-height: 1; flex-shrink: 0; }

/* ---------------- Image library (bulk alt text + multi-tags) ---------------- */
.aplus-lib-toolbar { margin-bottom: 10px; }
.aplus-lib-search { width: 100%; height: 38px; border: 1.5px solid var(--aplus-line-s); border-radius: 10px; padding: 0 12px; font-size: 13px; background: #fbfdff; color: var(--aplus-ink); }
.aplus-lib-search:focus { outline: none; border-color: var(--aplus-primary); box-shadow: 0 0 0 3px rgba(5, 136, 182, .13); }
.aplus-lib-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.aplus-lib-bulk input { flex: 1 1 180px; min-width: 140px; height: 36px; border: 1.5px solid var(--aplus-line-s); border-radius: 10px; padding: 0 12px; font-size: 13px; background: #fbfdff; color: var(--aplus-ink); }
.aplus-lib-bulk input:focus { outline: none; border-color: var(--aplus-primary); box-shadow: 0 0 0 3px rgba(5, 136, 182, .13); }
.aplus-lib-list { display: flex; flex-direction: column; gap: 8px; max-height: 52vh; overflow-y: auto; }
.aplus-lib-row { display: flex; flex-direction: column; gap: 8px; border: 1.5px solid var(--aplus-line); border-radius: 11px; padding: 10px 12px; background: #fff; }
.aplus-lib-row.sel { border-color: var(--aplus-primary); background: #f5fbfe; }
.aplus-lib-rowtop { display: flex; align-items: center; gap: 10px; }
.aplus-lib-rowtop input[type=checkbox] { width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.aplus-lib-ico { font-size: 18px; }
/* Library rows show the stored preview when there is one, else the 🖼 placeholder. */
img.aplus-lib-ico { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; border: 1px solid var(--aplus-line); background: #fff; flex-shrink: 0; }
.aplus-lib-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.aplus-lib-fn { font-size: 13px; font-weight: 700; color: var(--aplus-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aplus-lib-meta { font-size: 11px; color: #90a3b6; margin-top: 1px; }
.aplus-lib-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding-left: 28px; }
.aplus-lib-field { min-width: 0; }
.aplus-lib-flabel { display: block; font-size: 10.5px; font-weight: 800; color: #7c90a4; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.aplus-lib-flabel em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: #a2b2c2; }
.aplus-lib-alt { width: 100%; height: 34px; border: 1.5px solid var(--aplus-line-s); border-radius: 9px; padding: 0 10px; font-size: 12.5px; background: #fbfdff; color: var(--aplus-ink); }
.aplus-lib-alt:focus { outline: none; border-color: var(--aplus-primary); box-shadow: 0 0 0 3px rgba(5, 136, 182, .12); }
.aplus-lib-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1.5px solid var(--aplus-line-s); border-radius: 9px; padding: 5px 7px; background: #fbfdff; min-height: 34px; }
.aplus-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: #2d6b8f; background: #eef5fb; border: 1px solid #dcecf6; border-radius: 999px; padding: 2px 4px 2px 9px; }
.aplus-tag button { border: none; background: transparent; color: #6d8298; font-size: 13px; line-height: 1; cursor: pointer; padding: 0 3px; border-radius: 50%; }
.aplus-tag button:hover { background: #d63c33; color: #fff; }
.aplus-tag-inwrap { display: inline-flex; align-items: center; flex: 1 1 90px; min-width: 80px; }
.aplus-lib-tagin { flex: 1; min-width: 60px; border: none; background: transparent; font-size: 12px; color: var(--aplus-ink); padding: 3px 4px; }
.aplus-lib-tagin:focus { outline: none; }
.aplus-tag-add { border: none; background: transparent; color: var(--aplus-primary); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 4px; }
/* tag chips inside a module's image slot (same chips as the library) */
.aplus-imgtags-label { display: block; font-size: 10.5px; font-weight: 800; color: #7c90a4; text-transform: uppercase; letter-spacing: .04em; margin: 8px 0 4px; }
.aplus-imgtags-label em { font-style: normal; font-weight: 600; text-transform: none; letter-spacing: 0; color: #a2b2c2; }
.aplus-imgtags { margin-top: 0; }
.aplus-imgtags-note { font-size: 10.5px; line-height: 1.45; color: #90a3b6; margin: 5px 0 2px; }
.aplus-imgtags-note code { font-size: 10px; background: #eef3f8; color: #5a6b7d; border-radius: 4px; padding: 1px 4px; }
html[data-theme="dark"] .aplus-imgtags-note { color: #6d7f93; }
html[data-theme="dark"] .aplus-imgtags-note code { background: #1b2537; color: #93a4b8; }
@media (max-width: 1180px) { .aplus-lib-fields { grid-template-columns: 1fr; padding-left: 0; } .aplus-lib-bulk input { flex-basis: 100%; } }
html[data-theme="dark"] .aplus-lib-row { background: #131d2e; border-color: #243049; }
html[data-theme="dark"] .aplus-lib-row.sel { background: #10243a; }
html[data-theme="dark"] .aplus-lib-bulk input,
html[data-theme="dark"] .aplus-lib-search,
html[data-theme="dark"] .aplus-lib-alt,
html[data-theme="dark"] .aplus-lib-tags { background: #111a2b; color: #e6edf6; border-color: #243049; }
html[data-theme="dark"] .aplus-tag { background: #1d2941; border-color: #2f3d59; color: #b8c6d8; }

/* ---------------- Toasts ---------------- */
.aplus-toast-box { position: fixed; right: 20px; bottom: 20px; z-index: 100090; display: flex; flex-direction: column; gap: 9px; }
.aplus-toast { background: #10314c; color: #fff; font-size: 13px; font-weight: 600; padding: 11px 16px; border-radius: 11px; box-shadow: 0 12px 30px rgba(9, 26, 43, .3); opacity: 0; transform: translateX(20px); transition: .28s; max-width: 360px; }
.aplus-toast.show { opacity: 1; transform: none; }
.aplus-toast.ok { background: #14795a; }
.aplus-toast.err { background: #b23a32; }
.aplus-toast.warn { background: #9a6413; }

/* ---------------- Mobile (gated ≤1180px) ---------------- */
@media (max-width: 1180px) {
  .aplus-doc-meta { grid-template-columns: 1fr; }
  .aplus-grid, .aplus-skeleton { grid-template-columns: 1fr; }
  .aplus-pick-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .aplus-title { font-size: 22px; }
  .aplus-pick-grid { grid-template-columns: 1fr; }
  .aplus-modal { padding: 0; }
  .aplus-modal-shell { border-radius: 0; max-height: 100vh; height: 100vh; width: 100%; }
  .aplus-modal-foot { position: sticky; bottom: 0; }
  .aplus-imgslot { flex-wrap: wrap; }
}

/* ---------------- Dark theme ---------------- */
html[data-theme="dark"] .aplus-title { color: #e6edf6; }
html[data-theme="dark"] .aplus-sub, html[data-theme="dark"] .aplus-hint, html[data-theme="dark"] .aplus-meta { color: #9fb0c4; }
html[data-theme="dark"] .aplus-toolbar,
html[data-theme="dark"] .aplus-card,
html[data-theme="dark"] .aplus-modal-shell,
html[data-theme="dark"] .aplus-pick-shell,
html[data-theme="dark"] .aplus-mod { background: #162133; border-color: #2a3650; color: #e6edf6; }
html[data-theme="dark"] .aplus-card-name,
html[data-theme="dark"] .aplus-modal-head h3,
html[data-theme="dark"] .aplus-pick-head h3,
html[data-theme="dark"] .aplus-mod-title,
html[data-theme="dark"] .aplus-pick-card .pc-name { color: #e6edf6; }
html[data-theme="dark"] .aplus-card-desc,
html[data-theme="dark"] .aplus-pick-card .pc-desc { color: #b8c6d8; }
html[data-theme="dark"] .aplus-mod-head,
html[data-theme="dark"] .aplus-card-foot,
html[data-theme="dark"] .aplus-modal-head,
html[data-theme="dark"] .aplus-modal-foot,
html[data-theme="dark"] .aplus-pick-head,
html[data-theme="dark"] .aplus-pick-foot,
html[data-theme="dark"] .aplus-field input,
html[data-theme="dark"] .aplus-field textarea,
html[data-theme="dark"] .aplus-field select,
html[data-theme="dark"] .aplus-search input,
html[data-theme="dark"] .aplus-groupitem,
html[data-theme="dark"] .aplus-imgslot { border-color: #243049; }
html[data-theme="dark"] .aplus-field input,
html[data-theme="dark"] .aplus-field textarea,
html[data-theme="dark"] .aplus-field select,
html[data-theme="dark"] .aplus-search input,
html[data-theme="dark"] .aplus-select,
html[data-theme="dark"] .aplus-mod-body,
html[data-theme="dark"] .aplus-groupitem,
html[data-theme="dark"] .aplus-imgslot { background: #111a2b; color: #e6edf6; }
html[data-theme="dark"] .aplus-mod { background: #131d2e; }
html[data-theme="dark"] .aplus-mod-head { background: #1a2740; }
html[data-theme="dark"] .aplus-btn { background: #1d2941; border-color: #2a3650; color: #cdd9e8; }
html[data-theme="dark"] .aplus-btn.primary { color: #fff; }
html[data-theme="dark"] .aplus-modal-foot, html[data-theme="dark"] .aplus-pick-foot { background: #14203300; }
html[data-theme="dark"] .aplus-pick-card { background: #131d2e; }
html[data-theme="dark"] .aplus-ico-btn { color: #9fb2c8; }
html[data-theme="dark"] .aplus-ico-btn:hover { background: #24324c; color: #6fd0f2; }
html[data-theme="dark"] .aplus-ico-btn.danger { color: #e0796f; }
html[data-theme="dark"] .aplus-ico-btn.danger:hover { background: #3a2220; color: #f29187; }
html[data-theme="dark"] .aplus-imgslot img.thumb,
html[data-theme="dark"] img.aplus-lib-ico { background: #0d1421; border-color: #243049; }
html[data-theme="dark"] .aplus-chip { background: #1d2941; border-color: #2a3650; color: #b8c6d8; }
html[data-theme="dark"] .aplus-publish { background: #131d2e; border-color: #243049; }
html[data-theme="dark"] .aplus-confirm { color: #e6edf6; }
html[data-theme="dark"] .aplus-confirm.danger { background: #2a1614; border-color: #5a2b26; }
