/* ARC SHARED annotation layer -- symlinked into the website review server and
   the Research Hub. All selectors namespaced so they cannot leak into or be
   clobbered by the host HTML. Edit HERE. */

mark.arc-annot-mark {
  background: rgba(184, 134, 11, 0.28);
  border-bottom: 1.5px solid rgba(184, 134, 11, 0.75);
  cursor: pointer;
  border-radius: 2px;
  padding: 0 1px;
}

[data-annot-ui] {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0B2447;
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}
[data-annot-ui] textarea, [data-annot-ui] input {
  -webkit-user-select: text; user-select: text;
}

.arc-annot-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: #0B2447; color: #fff; border: none;
  border-radius: 0; padding: 9px 16px;
  min-height: 40px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.28);
  touch-action: manipulation;
}
.arc-annot-pill:hover { background: #15315e; }
.arc-annot-pill.is-loading { opacity: .82; cursor: default; }
.arc-annot-spin {
  display: inline-block; width: 13px; height: 13px;
  border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff;
  border-radius: 50%; animation: arc-annot-spin 0.7s linear infinite;
}
@keyframes arc-annot-spin { to { transform: rotate(360deg); } }

.arc-annot-card, .arc-annot-thread {
  width: 290px; background: #fff;
  border: 1px solid #d4dbe6; border-radius: 0; padding: 12px;
  box-shadow: 0 8px 28px rgba(11, 36, 71, 0.22);
}

.arc-annot-quote {
  background: rgba(184, 134, 11, 0.16);
  border: 1px solid rgba(184, 134, 11, 0.6);
  padding: 5px 8px; margin-bottom: 8px;
  font-size: 11.5px; font-style: italic; color: #15315e;
  max-height: 4.2em; overflow: hidden;
}

.arc-annot-name, .arc-annot-ta {
  width: 100%; border: 1px solid #d4dbe6; border-radius: 0;
  padding: 6px 8px; font-size: 12.5px; color: #0B2447;
  font-family: Arial, Helvetica, sans-serif; margin-bottom: 7px;
}
.arc-annot-ta { resize: vertical; min-height: 56px; }
.arc-annot-name:focus, .arc-annot-ta:focus { outline: none; border-color: #0B2447; }

.arc-annot-who { font-size: 11.5px; color: #6b7891; margin-bottom: 7px; }
.arc-annot-who b { color: #0B2447; font-weight: 600; }

.arc-annot-row, .arc-annot-actions { display: flex; justify-content: flex-end; gap: 12px; align-items: center; }
.arc-annot-actions { justify-content: flex-start; margin-top: 9px; }

.arc-annot-link {
  background: none; border: none; cursor: pointer;
  font-size: 11.5px; color: #14746a; text-decoration: underline; padding: 0;
}
.arc-annot-link:hover { text-decoration: none; }
.arc-annot-del { color: #b5483a; }

.arc-annot-thead { display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #eef2f7; padding-bottom: 5px; margin-bottom: 7px; }
.arc-annot-cap { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7891; }
.arc-annot-x { background: none; border: none; cursor: pointer; color: #6b7891; font-size: 12px; }
.arc-annot-meta { font-size: 10.5px; color: #6b7891; margin-bottom: 4px; }
.arc-annot-body { font-size: 12.5px; line-height: 1.5; white-space: pre-wrap; color: #16243a; }

.arc-annot-badge {
  position: fixed; right: 16px; bottom: 16px; z-index: 2147483500;
  max-width: 230px; background: #fff;
  border: 1px solid #d4dbe6; border-radius: 9px; padding: 9px 12px;
  box-shadow: 0 6px 20px rgba(11, 36, 71, 0.18);
}
.arc-annot-badge { cursor: pointer; transition: box-shadow .15s, transform .15s; }
.arc-annot-badge:hover { box-shadow: 0 10px 26px rgba(11, 36, 71, 0.26); transform: translateY(-1px); }
.arc-annot-btitle { font-size: 12px; font-weight: 700; color: #0B2447; }
.arc-annot-bhint { font-size: 10.5px; line-height: 1.35; color: #6b7891; margin-top: 3px; }
.arc-annot-bicon { display: none; }

/* Host applications use this shared state while a fixed workflow sheet owns
   the viewport edge. The launcher returns as soon as that sheet closes. */
body.cinematic-side-open .arc-annot-badge,
body.cinematic-side-open .arc-annot-pending {
  display: none !important;
}

/* offline queue badge: sits above the comment-count badge, gold to signal pending sync */
.arc-annot-pending {
  position: fixed; right: 16px; bottom: 78px; z-index: 2147483501;
  max-width: 230px; cursor: pointer;
  background: #fbf3df; color: #6b4e0a;
  border: 1px solid rgba(184, 134, 11, 0.55); border-radius: 9px;
  padding: 8px 12px; font-size: 11.5px; font-weight: 600;
  box-shadow: 0 6px 20px rgba(184, 134, 11, 0.22);
}
.arc-annot-pending:hover { background: #f7ecca; }

/* --- all-comments panel (opened by clicking the badge) --- */
.arc-annot-panelbd {
  position: fixed; inset: 0; z-index: 2147483540; background: rgba(11, 36, 71, 0.22);
}
.arc-annot-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 2147483550;
  width: 440px; max-width: calc(100vw - 32px); max-height: calc(100vh - 96px);
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid #d4dbe6; border-radius: 12px;
  box-shadow: 0 20px 50px rgba(11, 36, 71, 0.32); overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
}
.arc-annot-phead {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 15px; border-bottom: 1px solid #eef1f6; flex: 0 0 auto;
}
.arc-annot-ptitle { font-size: 13px; font-weight: 700; color: #0B2447; }
.arc-annot-plist { overflow-y: auto; padding: 6px; }
.arc-annot-pempty { padding: 20px 14px; font-size: 13px; color: #6b7891; }
.arc-annot-pitem {
  padding: 11px 12px; border-radius: 9px; cursor: pointer; border: 1px solid transparent;
}
.arc-annot-pitem:hover { background: #f4f7fb; border-color: #dbe6ef; }
.arc-annot-pitem.resolved { opacity: .62; }
.arc-annot-pitemtop { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; }
.arc-annot-pstatus {
  font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 20px;
}
.arc-annot-pstatus.open { background: #dbeafe; color: #1d4ed8; }
.arc-annot-pstatus.res, .arc-annot-pstatus.resolved { background: #dcfce7; color: #15803d; }
.arc-annot-pstatus.need_detail { background: #fef3c7; color: #92400e; }
.arc-annot-pmeta { font-size: 11px; color: #6b7891; }
.arc-annot-pq {
  font-size: 11px; color: #475569; background: #fffbeb; border: 1px solid #fcd34d;
  border-radius: 0 3px 3px 0; padding: 3px 6px; margin: 0 0 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.arc-annot-pbody { font-size: 12px; line-height: 1.45; color: #1e293b; white-space: pre-wrap; }

/* --- filter tabs --- */
.arc-annot-ptabs {
  display: flex; gap: 2px; padding: 6px 8px 0; flex: 0 0 auto; overflow-x: auto;
  border-bottom: 1px solid #eef1f6; scrollbar-width: none;
}
.arc-annot-ptabs::-webkit-scrollbar { display: none; }
.arc-annot-ptab {
  flex: 0 0 auto; background: none; border: none; cursor: pointer;
  font-size: 11px; font-family: Arial, Helvetica, sans-serif;
  color: #6b7891; padding: 5px 10px 6px; border-radius: 6px 6px 0 0;
  white-space: nowrap;
}
.arc-annot-ptab:hover { background: #f4f7fb; color: #0B2447; }
.arc-annot-ptab.active { background: #f4f7fb; color: #0B2447; font-weight: 700; box-shadow: inset 0 -2px 0 #0B2447; }

/* --- table rows --- */
.arc-annot-ptable { overflow-y: auto; flex: 1; padding: 4px 0; }
.arc-annot-prow {
  display: grid; grid-template-columns: 74px 78px 1fr;
  gap: 6px; align-items: start;
  padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #f0f4f8;
}
.arc-annot-prow:hover { background: #f7f9fc; }
.arc-annot-prow.resolved { opacity: .58; }
.arc-annot-pinfo { display: flex; flex-direction: column; gap: 2px; }
.arc-annot-pauthor { font-size: 11.5px; font-weight: 600; color: #0B2447; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-annot-pdate { font-size: 10px; color: #6b7891; }
.arc-annot-pcontent { min-width: 0; }

/* --- need-more-detail action button --- */
.arc-annot-nd { color: #92400e; }
@media (max-width: 640px) {
  .arc-annot-panel { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 72vh; }
  .arc-annot-badge {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    max-width: none;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arc-annot-btitle,
  .arc-annot-bhint { display: none; }
  .arc-annot-bicon {
    display: block;
    position: relative;
    width: 21px;
    height: 16px;
    border: 2px solid #0B2447;
    border-radius: 5px;
    background: #fff;
  }
  .arc-annot-bicon::after {
    content: "";
    position: absolute;
    left: 3px;
    bottom: -5px;
    width: 6px;
    height: 6px;
    border-left: 2px solid #0B2447;
    border-bottom: 2px solid #0B2447;
    background: #fff;
    transform: skewY(-35deg);
  }
  .arc-annot-bcount {
    position: absolute;
    top: -12px;
    right: -13px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #0B2447;
    color: #fff;
    font: 700 10px/18px Arial, Helvetica, sans-serif;
    text-align: center;
  }
  .arc-annot-pending {
    right: 12px;
    bottom: calc(max(12px, env(safe-area-inset-bottom, 0px)) + 58px);
    width: 44px;
    height: 44px;
    max-width: none;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .arc-annot-pending::before {
    content: "↻";
    font: 700 20px/1 Arial, Helvetica, sans-serif;
  }
  .arc-annot-pending::after {
    content: attr(data-pending-count);
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #6b4e0a;
    color: #fff;
    font: 700 10px/18px Arial, Helvetica, sans-serif;
    text-align: center;
  }
}

/* --- mobile / phone: dock as a bottom sheet instead of a floating popover --- */
.arc-annot-docked {
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -8px 30px rgba(11, 36, 71, 0.24);
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  max-height: 72vh; overflow-y: auto;
}
.arc-annot-docked .arc-annot-card,
.arc-annot-docked.arc-annot-thread {
  width: auto; border: none; box-shadow: none; padding: 0;
}
.arc-annot-docked .arc-annot-ta { min-height: 84px; font-size: 16px; }  /* 16px stops iOS zoom-on-focus */
.arc-annot-docked .arc-annot-name { font-size: 16px; }
.arc-annot-docked .arc-annot-pill { padding: 11px 18px; min-height: 44px; }
.arc-annot-bar { display: flex; align-items: center; gap: 10px; }
.arc-annot-barq { flex: 1; min-width: 0; font-size: 12.5px; font-style: italic; color: #15315e;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media print { [data-annot-ui], mark.arc-annot-mark { background: none !important; border: none !important; }
  [data-annot-ui] { display: none !important; } }

/* Resolution note (how a comment was resolved) + inline resolve composer */
.arc-annot-resolution{margin:8px 0 0;padding:8px 10px;background:#eef7ef;border:1px solid #cfe6d2;border-radius:8px;font:400 12.5px/1.5 Arial,sans-serif;color:#28502f}
.arc-annot-reslabel{display:inline-block;font:700 10px/1 Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#2e7d43;margin-right:6px}
.arc-annot-restext{color:#28502f}
.arc-annot-resbox{margin:8px 0 0;display:flex;flex-direction:column;gap:6px}
.arc-annot-resta{width:100%;min-height:54px;box-sizing:border-box;border:1px solid #cfd6dc;border-radius:8px;padding:7px 9px;font:400 13px/1.45 Arial,sans-serif;resize:vertical}
.arc-annot-resrow{display:flex;gap:12px}

/* Reviewer comments staged for the team (PI 2026-10-16): origin line, waiting status, the team's answer, the
   instruction for the AI, and the decision form. Full borders and chips only (no one-sided colour rails). */
.arc-annot-pstatus.pending { background: #fef3c7; color: #92400e; }
.arc-annot-porigin { font-size: 10.5px; font-weight: 700; color: #92400e; margin-top: 2px; }
.arc-annot-reply { background: #f0f7ff; border: 1px solid #c7dbf5; }
.arc-annot-instr { background: #f8fafc; border: 1px solid #e2e8f0; }
.arc-annot-triage { margin: 10px 0 4px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fbfcfe; }
.arc-annot-tlbl { font: 700 11px Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #5a6e8c; margin: 6px 0 4px; }
.arc-annot-triage .arc-annot-ta { width: 100%; box-sizing: border-box; }
.arc-annot-triage .arc-annot-row { margin-top: 8px; }
.arc-annot-tmsg { font-size: 12px; color: #b91c1c; min-height: 0; margin-top: 4px; }
.arc-annot-reply .arc-annot-reslabel { color: #1d4ed8; } .arc-annot-reply .arc-annot-restext { color: #1e293b; }
.arc-annot-instr .arc-annot-reslabel { color: #475569; } .arc-annot-instr .arc-annot-restext { color: #1e293b; }

/* ---- comment sidebar (PI 2026-10-16) ----
   The page is zoomed out to the room left of it (annot.js layout); html gets that room as padding. Compact type
   (PI: "sidebar dan isi fontnya terlalu besar"), one button system, status as a coloured dot, uniform card borders. */
html.arc-side-push { box-sizing: border-box; padding-right: var(--arc-side-w) !important; }
html.arc-side-push #arc-irs-tab { right: var(--arc-side-w) !important; }
html.arc-side-push .arc-annot-badge { right: calc(var(--arc-side-w) + 20px) !important; }
.arc-annot-side { position: fixed; top: 0; right: 0; bottom: 0; width: 360px; z-index: 2147483120; display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid #dfe5ee; font: 12.5px/1.45 Arial, Helvetica, sans-serif; color: #1f2d40; box-sizing: border-box; }
.arc-annot-side *, .arc-annot-side *::before, .arc-annot-side *::after { box-sizing: border-box; }
.arc-annot-side.arc-annot-sheet { top: auto; left: 0; width: auto; height: 60vh; border-left: 0; border-top: 1px solid #dfe5ee;
  border-radius: 12px 12px 0 0; box-shadow: 0 -8px 24px rgba(11,36,71,.12); }
.arc-annot-shead { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px; }
.arc-annot-stitle { font: 700 15px/1.2 Georgia, "Times New Roman", serif; color: #1e3a5f; }
.arc-annot-sx { width: 26px; height: 26px; border: 1px solid transparent; border-radius: 6px; background: none; color: #5a6e8c;
  font: 13px Arial, sans-serif; cursor: pointer; }
.arc-annot-sx:hover { border-color: #dfe5ee; color: #1e3a5f; }
.arc-annot-stabs { display: flex; gap: 2px; padding: 0 10px; border-bottom: 1px solid #e6ebf1; }
.arc-annot-stab { border: 0; border-bottom: 2px solid transparent; background: none; color: #5a6e8c; font: 600 11.5px Arial, sans-serif;
  padding: 6px 6px 7px; cursor: pointer; white-space: nowrap; }
.arc-annot-stab span { display: inline-block; margin-left: 4px; min-width: 16px; padding: 0 4px; border-radius: 8px; background: #eef2f7;
  color: #5a6e8c; font-size: 10.5px; text-align: center; }
.arc-annot-stab:hover { color: #1e3a5f; }
.arc-annot-stab.on { color: #1e3a5f; border-bottom-color: #1e3a5f; }
.arc-annot-stab.on span { background: #1e3a5f; color: #fff; }
.arc-annot-slist { flex: 1; overflow-y: auto; padding: 10px; background: #f6f8fb; }
.arc-annot-scard { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 9px 11px; margin: 0 0 7px; cursor: pointer; }
.arc-annot-scard:hover { border-color: #c4d0df; }
.arc-annot-scard.on { border-color: #1e3a5f; box-shadow: 0 0 0 1px #1e3a5f, 0 4px 12px rgba(11,36,71,.08); cursor: default; }
.arc-annot-scard.done:not(.on) { opacity: .75; }
.arc-annot-stop { display: flex; align-items: center; gap: 6px; }
.arc-annot-sdot { width: 7px; height: 7px; border-radius: 50%; background: #1e3a5f; flex: none; }
.arc-annot-sdot.pending { background: #d97706; } .arc-annot-sdot.accepted { background: #0f766e; }
.arc-annot-sdot.need_detail { background: #a16207; } .arc-annot-sdot.resolved { background: #15803d; }
.arc-annot-sdot.declined { background: #94a3b8; }
.arc-annot-sst { font: 700 10.5px Arial, sans-serif; letter-spacing: .02em; color: #1e3a5f; }
.arc-annot-sst.pending { color: #b45309; } .arc-annot-sst.accepted { color: #0f766e; } .arc-annot-sst.need_detail { color: #a16207; }
.arc-annot-sst.resolved { color: #15803d; } .arc-annot-sst.declined { color: #64748b; }
.arc-annot-swhen { margin-left: auto; font-size: 11px; color: #8494ab; }
.arc-annot-swho { font-size: 11.5px; color: #5a6e8c; margin: 4px 0 5px; }
.arc-annot-swho b { color: #1f2d40; font-weight: 700; }
.arc-annot-squote { font-size: 11.5px; color: #475569; background: #f3f6fa; border-radius: 5px; padding: 4px 7px; margin: 0 0 5px; }
.arc-annot-squote.clamp, .arc-annot-sbody.clamp { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.arc-annot-squote.clamp { -webkit-line-clamp: 2; } .arc-annot-sbody.clamp { -webkit-line-clamp: 3; }
.arc-annot-slost { font-size: 11px; color: #8494ab; margin: 0 0 5px; }
.arc-annot-shint { font-size: 11px; color: #1d4ed8; margin: 5px 0 0; }
.arc-annot-sbody { white-space: pre-wrap; word-break: break-word; }
.arc-annot-snote { margin: 8px 0 0; padding: 6px 8px; border-radius: 6px; border: 1px solid #e2e8f0; background: #f8fafc; }
.arc-annot-snote.rep { background: #f2f7fe; border-color: #cfe0f6; }
.arc-annot-snote.res { background: #f1f8f3; border-color: #cde7d5; }
.arc-annot-snl { font: 700 10px Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #5a6e8c; margin-bottom: 2px; }
.arc-annot-snt { white-space: pre-wrap; word-break: break-word; }
.arc-annot-side .arc-annot-actions { margin-top: 9px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.arc-annot-sbtn { height: 26px; padding: 0 9px; border: 1px solid #cfd8e3; border-radius: 6px; background: #fff; color: #1e3a5f;
  font: 600 11.5px Arial, sans-serif; cursor: pointer; }
.arc-annot-sbtn:hover { border-color: #1e3a5f; }
.arc-annot-sbtn.primary { background: #1e3a5f; border-color: #1e3a5f; color: #fff; }
.arc-annot-sbtn.primary:hover { background: #16304f; }
.arc-annot-sbtn.danger { color: #b42318; } .arc-annot-sbtn.danger:hover { border-color: #b42318; }
.arc-annot-sbtn:disabled { opacity: .55; cursor: default; }
.arc-annot-sdel { margin-left: auto; border: 0; background: none; color: #94a3b8; font: 11.5px Arial, sans-serif; cursor: pointer; padding: 0 2px; }
.arc-annot-sdel:hover { color: #b42318; }
.arc-annot-side .arc-annot-triage { margin: 9px 0 0; padding: 8px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fafbfd; }
.arc-annot-side .arc-annot-tlbl { font: 700 10px Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #5a6e8c; margin: 4px 0 3px; }
.arc-annot-side .arc-annot-ta, .arc-annot-side .arc-annot-resta { width: 100%; min-height: 44px; padding: 5px 7px; border: 1px solid #cfd8e3;
  border-radius: 5px; font: 12px/1.4 Arial, sans-serif; color: #1f2d40; resize: vertical; }
.arc-annot-side .arc-annot-ta:focus, .arc-annot-side .arc-annot-resta:focus { outline: none; border-color: #1e3a5f; }
.arc-annot-side .arc-annot-row, .arc-annot-side .arc-annot-resrow { display: flex; justify-content: flex-end; gap: 6px; margin-top: 7px; }
.arc-annot-side .arc-annot-resbox { margin-top: 8px; }
.arc-annot-side .arc-annot-tmsg { font-size: 11px; color: #b42318; margin-top: 4px; }
.arc-annot-sfoot { padding: 8px 14px; font-size: 11px; color: #8494ab; border-top: 1px solid #e6ebf1; background: #fff; }
.arc-annot-side .arc-annot-pempty { padding: 18px 6px; color: #8494ab; font-size: 12px; }
mark.arc-annot-mark.arc-annot-cur { background: #fde68a !important; box-shadow: 0 0 0 2px #d97706; }
#arc-cmt-b.on { background: #1e3a5f !important; color: #fff !important; }
/* smoothness (PI 2026-10-16): the sidebar slides in on the compositor; long lists render lazily */
.arc-annot-side.arc-annot-in { animation: arcAnnotSideIn .16s ease-out; }
.arc-annot-side.arc-annot-sheet.arc-annot-in { animation-name: arcAnnotSheetIn; }
@keyframes arcAnnotSideIn { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes arcAnnotSheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .arc-annot-side.arc-annot-in { animation: none; } }
/* transitions (PI 16 Oct, "smoothness bisa ditambah dengan ada animasi transisi"): a picked card unfolds its details,
   the passage it points at pulses once, cards change state with a short fade */
.arc-annot-scard { transition: border-color .15s, box-shadow .15s, opacity .15s; }
.arc-annot-scard.arc-annot-grow > * + * { animation: arcAnnotFold .18s ease-out both; }
@keyframes arcAnnotFold { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
mark.arc-annot-mark.arc-annot-cur { animation: arcAnnotPulse .9s ease-out; }
@keyframes arcAnnotPulse { from { box-shadow: 0 0 0 2px #d97706, 0 0 0 0 rgba(217, 119, 6, .55); }
                           to { box-shadow: 0 0 0 2px #d97706, 0 0 0 10px rgba(217, 119, 6, 0); } }
@media (prefers-reduced-motion: reduce) { .arc-annot-scard.arc-annot-grow > * + *, mark.arc-annot-mark.arc-annot-cur { animation: none; } }
/* the sidebar's zoom while a long document is still arriving (annot.js layout before DOMContentLoaded): the same rule
   the hub's head snippet sets, here too for a reader who opens the sidebar before the page is complete */
html.arc-side-early{box-sizing:border-box;padding-right:var(--arc-side-w,360px)}
html.arc-side-early body>*:not([data-annot-ui]):not(#arc-bar):not(#arc-irs):not(#arc-irs-tab){zoom:var(--arc-side-k)}

/* Touch screens: Safari on iPad and iPhone zooms the whole page into any text field under 16 px the moment it takes
   focus, and on a 200-page report that redraw is what restarted the tab (probe, 16-23 Oct: every tab restart on an
   iPad came as a 12.5 or 13 px field took the cursor). Every field the reading layer draws is 16 px there. */
@media (pointer: coarse) {
  textarea[data-annot-ui], [data-annot-ui] textarea, [data-arc-live-ui] textarea,
  select[data-annot-ui], [data-annot-ui] select, [data-arc-live-ui] select,
  input[data-annot-ui]:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]),
  [data-annot-ui] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]),
  [data-arc-live-ui] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]) {
    font-size: 16px !important;
  }
}

/* the frame-backed text box of a touch screen (annot.js lightField): the frame is the box, its document draws the text */
iframe.arc-annot-lf { display: block; box-sizing: border-box; width: 100%; padding: 0 !important; background: #fff;
  border: 1px solid #d4dbe6; border-radius: 0; }
iframe.arc-annot-lf.arc-annot-lf-on { border-color: #0B2447; }
