/* ============================================================
   IC SHELL — app-style frame for the signed-in test pages
   (listening.html, reading.html, writing.html, spelling.html).
   Left rail with the sections and Profile, the Premium strip over
   the detail pane, the profile menu, the profile dialog and the
   subscribe popover. Logic in ic-shell.js.
   ============================================================ */
:root {
  --ics-red: #CC1802;
  --ics-red-dk: #A81300;
  --ics-ink: #14171C;
  --ics-muted: #6B7280;
  --ics-line: #E4E7EC;
  --ics-rail: #EFEFF1;
  --ics-green: #1F9D55;
  --ics-shadow: 0 18px 48px rgba(20, 22, 27, 0.18), 0 2px 6px rgba(20, 22, 27, 0.06);
}

/* ---------- frame: rail | test list | detail ---------- */
#screen-picker.ics-on { flex-direction: row; }
#screen-picker.ics-on > .pick-body { flex: 1; min-width: 0; }
#screen-picker.ics-on .pick-cards { padding-top: 1.1rem; }
/* the "Filter tests…" box (ic-gallery.js) used to sit under the tabs */
#screen-picker.ics-on .dt-filter { margin-top: 1.1rem; flex-shrink: 0; }
#screen-picker.ics-on .dt-filter + .pick-cards { padding-top: 0.7rem; }
.ics-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ics-rail {
  width: 96px; flex-shrink: 0; background: var(--ics-rail); border-right: 1px solid var(--ics-line);
  display: flex; flex-direction: column; align-items: stretch; gap: 0.35rem;
  padding: 1.1rem 0.5rem 1rem; overflow-y: auto; scrollbar-width: none;
}
.ics-rail::-webkit-scrollbar { display: none; }
.ics-rail-gap { flex: 1; min-height: 0.5rem; }
.ics-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.2rem 0.55rem; border-radius: 14px; border: none; background: none;
  color: #4B5058; font-family: inherit; font-size: 0.78rem; font-weight: 600; line-height: 1.1;
  text-decoration: none; cursor: pointer; text-align: center;
}
.ics-item:hover { color: var(--ics-ink); background: rgba(20, 23, 28, 0.05); }
.ics-item:focus-visible { outline: 2px solid var(--ics-red); outline-offset: 2px; }
.ics-ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  color: #4B5058;
}
.ics-ic svg { width: 26px; height: 26px; display: block; }
.ics-item.on { color: var(--ics-red); }
.ics-item.on:hover { background: none; }
.ics-item.on .ics-ic {
  background: var(--ics-red); color: #fff; box-shadow: 0 4px 12px rgba(204, 24, 2, 0.28);
}
.ics-item[aria-expanded="true"] { color: var(--ics-ink); background: rgba(20, 23, 28, 0.07); }

/* ---------- loading between sections ----------
   Each section is its own page, so a click on the rail reloads and the gate
   (ic-gate.js) shows its spinner while sign-in, the plan and the tests load.
   For a signed-in user (body.ics-ready, set by ICShell.init) that spinner
   sits beside the rail instead of the gate's own top bar and footer, so the
   frame stays put. Only the loading state ([aria-busy]); sign-in, paywall and
   notices keep the full gate. */
body.ics-ready #icgate[aria-busy="true"] { left: 96px; background: #FAFAFB; }
body.ics-ready #icgate[aria-busy="true"] .icg-top,
body.ics-ready #icgate[aria-busy="true"] .icg-foot { display: none; }

/* ---------- Results button on cards (phones) ----------
   Phone mode hides the detail pane with its results button, so Listening,
   Reading and Writing cards with past results show this one (Spelling has its
   own). Same look as Spelling's card buttons. */
.test-card .tc-hist { display: none; }
@media (max-width: 600px), (max-height: 500px) {
  .test-card .tc-hist {
    display: inline-block; margin-top: 0.6rem; background: #F3F4F6; border: none; border-radius: 100px;
    padding: 0.35rem 0.8rem; font-family: inherit; font-size: 0.75rem; font-weight: 700; color: var(--ics-ink); cursor: pointer;
  }
}

/* ---------- every popover centred ----------
   The pages' .modal-back (results; Spelling's list editor) pinned its panel
   3rem from the top. Auto margins centre it and still let a tall panel scroll
   from its top, which align-items:center would cut off. */
.modal-back.open { padding: 1.5rem 1rem; }
.modal-back.open > * { margin-top: auto; margin-bottom: auto; }

/* ---------- popovers fit the window ----------
   Results (all pages) and Spelling's list editor used to grow past the bottom
   of the window. The panel now stops 1.5rem from the edges and scrolls inside;
   its title row with the close button stays pinned at the top. The panel's top
   padding moves onto the title row so the pinned row has nothing above it. */
.modal-back.open > .hist-panel {
  max-height: calc(100vh - 3rem); max-height: calc(100dvh - 3rem);
  overflow-y: auto; overscroll-behavior: contain; padding-top: 0;
}
.modal-back.open > .hist-panel > .hp-head {
  position: sticky; top: 0; z-index: 5; background: #fff;
  padding-top: 1.8rem; padding-bottom: 0.9rem; margin-bottom: 0.3rem;
}
@media (max-width: 600px) {
  .modal-back.open > .hist-panel { max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); }
  #histModal.modal-back.open > .hist-panel { padding-top: 0; }
  .modal-back.open > .hist-panel > .hp-head { padding-top: 1.2rem; }
}

/* Results popover on phones (Listening, Reading rows): the desktop sizes
   pushed the band badge past the row's edge. #histModal outranks the pages'
   own rules, which load after this file. */
@media (max-width: 600px) {
  #histModal.modal-back { padding: 1rem 0.6rem; }
  #histModal .hist-panel { padding: 1.2rem 1rem 1.3rem; border-radius: 18px; }
  #histModal .hp-title { font-size: 1.25rem; }
  #histModal .hist-row { padding: 0.75rem 0.8rem; gap: 0.55rem; }
  #histModal .hr-date { font-size: 0.86rem; white-space: nowrap; }
  #histModal .hr-right { gap: 0.5rem; min-width: 0; }
  #histModal .hr-score { font-size: 0.82rem; }
  #histModal .hr-track { width: 56px; }
  #histModal .hr-band { min-width: 46px; padding: 0.3rem 0.5rem; }
  #histModal .hr-band b { font-size: 1.1rem; }
}

/* ---------- Premium strip over the detail pane ---------- */
.ics-main { flex: 1; display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ics-main > .pick-detail { flex: 1; min-height: 0; }
.ics-strip { margin: 1.1rem 1.4rem 0; flex-shrink: 0; }
.ics-strip[hidden] { display: none; }

.ics-active {
  display: flex; align-items: center; gap: 0.9rem; background: #fff; border: 1px solid var(--ics-line);
  border-left: 3px solid var(--ics-green); border-radius: 12px; padding: 0.7rem 1.1rem;
}
.ics-dot {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; background: rgba(31, 157, 85, 0.14);
  display: flex; align-items: center; justify-content: center;
}
.ics-dot::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: var(--ics-green); }
.ics-active-txt { flex: 1; min-width: 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.ics-active-h { font-size: 0.86rem; color: var(--ics-ink); }
.ics-active-h b { font-weight: 700; }
.ics-active-h span { color: var(--ics-muted); }
.ics-active-sub {
  font-size: 0.72rem; color: #9CA3AF; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ics-active-tag {
  flex-shrink: 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.82rem;
  font-weight: 700; color: var(--ics-green); padding-left: 1rem; border-left: 1px solid var(--ics-line);
}

.ics-upsell {
  display: flex; align-items: center; gap: 1.2rem; border-radius: 14px; padding: 1rem 1.3rem;
  background: linear-gradient(100deg, #fff 0%, #FFF6F4 100%); border: 1px solid #F6D9D3;
}
.ics-upsell-txt { flex: 1; min-width: 0; }
.ics-eyebrow {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--ics-red);
}
.ics-upsell-h { font-size: 1rem; font-weight: 700; color: var(--ics-ink); line-height: 1.3; margin-top: 0.3rem; }
.ics-upsell-sub { font-size: 0.78rem; color: var(--ics-muted); margin-top: 0.3rem; }
.ics-upsell-act { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.ics-fine-mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 0.72rem; color: #9CA3AF; }

.ics-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; border: none; cursor: pointer;
  background: var(--ics-red); color: #fff; font-family: inherit; font-size: 0.92rem; font-weight: 700;
  border-radius: 12px; padding: 0.75rem 1.3rem; box-shadow: 0 4px 0 var(--ics-red-dk), 0 8px 18px rgba(204, 24, 2, 0.25);
  text-decoration: none; white-space: nowrap;
}
.ics-btn:hover { background: #B81500; }
.ics-btn:disabled { opacity: 0.6; cursor: default; }
.ics-btn:focus-visible { outline: 2px solid var(--ics-ink); outline-offset: 3px; }
.ics-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; border: 1px solid #C9CEDD; background: #fff;
  color: var(--ics-ink); font-family: inherit; font-size: 0.9rem; font-weight: 600; border-radius: 12px;
  padding: 0.7rem 1.2rem; cursor: pointer; text-decoration: none;
}
.ics-btn-ghost:hover { border-color: var(--ics-ink); }

/* ---------- profile menu (popover next to the rail's Profile item) ---------- */
.ics-menu {
  position: fixed; z-index: 5200; min-width: 260px; max-width: calc(100vw - 24px); background: #fff;
  border: 1px solid var(--ics-line); border-radius: 16px; box-shadow: var(--ics-shadow); padding: 0.4rem;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ics-menu[hidden] { display: none; }
.ics-menu-who {
  padding: 0.6rem 0.75rem 0.5rem; font-size: 0.86rem; color: var(--ics-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ics-menu-sep { height: 1px; background: var(--ics-line); margin: 0.35rem 0.4rem; }
.ics-menu-item {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.6rem 0.75rem; border-radius: 10px;
  border: none; background: none; color: var(--ics-ink); font-family: inherit; font-size: 0.95rem; font-weight: 500;
  text-align: left; text-decoration: none; cursor: pointer;
}
.ics-menu-item:hover, .ics-menu-item:focus-visible { background: #F1F2F4; outline: none; }
.ics-menu-item svg { width: 19px; height: 19px; flex-shrink: 0; color: #3F444C; }
.ics-menu-item .ics-ext { margin-left: auto; width: 14px; height: 14px; color: #9CA3AF; }

/* ---------- dialogs (profile, subscribe) ---------- */
.ics-back {
  position: fixed; inset: 0; z-index: 5300; background: rgba(15, 17, 21, 0.42);
  display: flex; align-items: center; justify-content: center; padding: 16px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ics-back[hidden] { display: none; }
.ics-dlg {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 32px); overflow-y: auto;
  background: #fff; border-radius: 20px; box-shadow: var(--ics-shadow); padding: 1.6rem 1.6rem 1.4rem; color: var(--ics-ink);
}
.ics-dlg-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: #F3F4F6; color: var(--ics-ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ics-dlg-x:hover { background: #E8EAED; }
.ics-dlg-x svg { width: 16px; height: 16px; }
.ics-dlg h2 { margin: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ics-ink); }
.ics-dlg h2:focus { outline: none; }
.ics-dlg p { margin: 0; }
.ics-dlg-sub { font-size: 0.9rem; color: var(--ics-muted); margin-top: 0.35rem !important; line-height: 1.45; }

.ics-me { display: flex; align-items: center; gap: 0.9rem; padding-right: 2.6rem; }
.ics-avatar {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; background: var(--ics-ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; overflow: hidden;
}
.ics-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ics-me-name { font-size: 1.2rem; font-weight: 800; color: var(--ics-ink); word-break: break-word; }
.ics-me-mail { font-size: 0.88rem; color: var(--ics-muted); word-break: break-all; margin-top: 0.1rem; }

.ics-sec { margin-top: 1.4rem; }
.ics-sec-h {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #9CA3AF; margin-bottom: 0.5rem;
}
.ics-rows { border: 1px solid var(--ics-line); border-radius: 14px; overflow: hidden; }
.ics-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1rem;
  font-size: 0.9rem; border-top: 1px solid var(--ics-line);
}
.ics-row:first-child { border-top: none; }
.ics-row .k { color: var(--ics-muted); }
.ics-row .k { min-width: 0; }
.ics-row .v { font-weight: 600; color: var(--ics-ink); text-align: right; flex-shrink: 0; white-space: nowrap; }
.ics-row .v a { color: var(--ics-ink); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.ics-row .v a:hover { color: #000; }
.ics-chip {
  display: inline-block; font-size: 0.74rem; font-weight: 700; border-radius: 100px; padding: 0.22rem 0.65rem;
  background: #F1F2F4; color: var(--ics-muted);
}
.ics-chip.on { background: rgba(31, 157, 85, 0.12); color: var(--ics-green); }
.ics-chip.off { background: rgba(204, 24, 2, 0.1); color: var(--ics-red); }
.ics-note { font-size: 0.8rem; color: var(--ics-muted); margin-top: 0.7rem !important; line-height: 1.45; }
.ics-err {
  margin-top: 0.8rem; font-size: 0.85rem; color: var(--ics-red); background: #FFF1EE; border-radius: 10px; padding: 0.6rem 0.8rem;
}
.ics-err[hidden] { display: none; }
.ics-dlg-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.3rem; }
.ics-dlg-actions .ics-btn, .ics-dlg-actions .ics-btn-ghost { flex: 1; }
.ics-signout {
  margin-top: 1.1rem; width: 100%; border: none; background: none; color: var(--ics-muted); font-family: inherit;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; padding: 0.5rem; border-radius: 10px;
}
.ics-signout:hover { background: #F1F2F4; color: var(--ics-ink); }
.ics-spin {
  display: inline-block; width: 16px; height: 16px; border: 2px solid var(--ics-line); border-top-color: var(--ics-red);
  border-radius: 50%; animation: icsspin 0.8s linear infinite; vertical-align: -3px;
}
@keyframes icsspin { to { transform: rotate(360deg); } }

/* subscribe popover */
.ics-sub { max-width: 460px; }
.ics-list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.ics-list li { display: flex; gap: 0.6rem; font-size: 0.88rem; color: #3A3F47; line-height: 1.4; }
.ics-list svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--ics-red); margin-top: 1px; }
.ics-plans { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.2rem; }
.ics-plan {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1rem;
  border: 1.5px solid var(--ics-line); border-radius: 14px; cursor: pointer; background: #fff;
}
.ics-plan:hover { border-color: #C9CEDD; }
.ics-plan.on { border-color: var(--ics-red); background: #FFF8F6; }
.ics-plan:focus-visible { outline: 2px solid var(--ics-ink); outline-offset: 2px; }
.ics-plan-name { font-weight: 700; font-size: 0.95rem; color: var(--ics-ink); display: flex; align-items: center; gap: 0.5rem; }
.ics-plan-tag {
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ics-red);
  background: rgba(204, 24, 2, 0.1); border-radius: 100px; padding: 0.15rem 0.5rem;
}
.ics-plan-note { font-size: 0.8rem; color: var(--ics-muted); margin-top: 0.1rem; }
.ics-plan-right { text-align: right; flex-shrink: 0; }
.ics-plan-price { display: block; font-weight: 800; font-size: 1rem; color: var(--ics-ink); }
.ics-plan-per, .ics-plan-fallback { display: block; font-size: 0.74rem; color: var(--ics-muted); }
.ics-plan-price[hidden], .ics-plan-per[hidden], .ics-plan-fallback[hidden] { display: none; }
.ics-sub .ics-btn { width: 100%; margin-top: 1.1rem; padding: 0.9rem 1rem; font-size: 1rem; }
.ics-fine { font-size: 0.76rem; color: #9CA3AF; margin-top: 0.9rem !important; line-height: 1.45; text-align: center; }
.ics-fine a { color: var(--ics-muted); }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .ics-upsell { flex-wrap: wrap; }
  .ics-upsell-act { flex-direction: row; gap: 0.8rem; }
}
@media (max-width: 760px) {
  body.ics-ready #icgate[aria-busy="true"] { left: 76px; }
  .ics-rail { width: 76px; padding: 0.8rem 0.3rem; }
  .ics-ic { width: 44px; height: 44px; }
  .ics-ic svg { width: 22px; height: 22px; }
  .ics-item { font-size: 0.7rem; }
}
/* Phones: the rail becomes a bottom tab bar; the strip sits over the list,
   because the detail pane is hidden in phone mode. */
@media (max-width: 600px) {
  #screen-picker.ics-on { flex-direction: column; }
  #screen-picker.ics-on > .pick-body { flex: 1; min-height: 0; }
  body.ics-ready #icgate[aria-busy="true"] { left: 0; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .ics-rail {
    order: 2; width: auto; height: calc(62px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; flex-shrink: 0; flex-direction: row; justify-content: space-around; gap: 0; padding: 0.35rem 0.25rem;
    padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px)); border-right: none; border-top: 1px solid var(--ics-line);
    overflow: visible;
  }
  .ics-rail-gap { display: none; }
  .ics-item { flex: 1; padding: 0.2rem 0; gap: 0.15rem; font-size: 0.66rem; }
  .ics-ic { width: 40px; height: 30px; border-radius: 10px; }
  .ics-ic svg { width: 20px; height: 20px; }
  .ics-item.on .ics-ic { box-shadow: none; }
  .ics-main { display: contents; }
  .ics-strip { order: -1; margin: 0.8rem 1.1rem 0.2rem; }
  .ics-active-sub { display: none; }
  .ics-upsell { padding: 0.85rem 1rem; gap: 0.7rem; }
  .ics-upsell-sub { display: none; }
  .ics-upsell-act { width: 100%; }
  .ics-upsell-act .ics-btn { flex: 1; }
  .ics-dlg { padding: 1.3rem 1.1rem 1.1rem; border-radius: 18px; }
}

/* ---------- Profile: Practice results row (the app's quiet ITPracticeResultsButton) ---------- */
.ics-prow {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; margin-top: 1.2rem; padding: 0.65rem 0.9rem;
  background: #fff; border: 1px solid var(--ics-line); border-radius: 12px; cursor: pointer; text-align: start;
  font-family: inherit; color: var(--ics-ink);
}
.ics-prow:hover { background: #F8F9FA; }
.ics-prow:focus-visible { outline: 2px solid var(--ics-red); outline-offset: 2px; }
.ics-prow-ic {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 8px; background: rgba(20, 23, 28, 0.05);
  color: rgba(20, 23, 28, 0.7); display: flex; align-items: center; justify-content: center;
}
.ics-prow-ic svg { width: 20px; height: 20px; }
.ics-prow-t { flex: 1; min-width: 0; }
.ics-prow-t b { display: block; font-size: 0.95rem; font-weight: 600; }
.ics-prow-t span { display: block; font-size: 0.8rem; color: var(--ics-muted); margin-top: 0.1rem; }
.ics-prow-chev { font-size: 1.4rem; line-height: 1; color: #B4B9C2; }
[dir="rtl"] .ics-prow-chev { transform: scaleX(-1); }

/* ---------- Practice results sheet (report form imitation, Writing documents) ---------- */
.icr-back { position: fixed; inset: 0; z-index: 5400; background: rgba(0, 0, 0, 0.4); display: none; overflow: auto; padding: 24px 12px; }
.icr-back.open { display: block; }
.icr-bar { max-width: 820px; margin: 0 auto 10px; display: flex; gap: 10px; justify-content: space-between; }
.icr-btn {
  background: #fff; color: #000; border: 1px solid #000; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem; font-weight: 600; border-radius: 6px; min-height: 44px; padding: 0 1.5rem; cursor: pointer;
}
.icr-btn.icr-main { background: var(--ics-red); border-color: var(--ics-red); color: #fff; font-weight: 700; }
.icr-btn.icr-main:hover { background: var(--ics-red-dk); }
.icr-page { max-width: 820px; margin: 0 auto; }
.icr-rep { background: #fff; color: #000; padding: 36px 40px; position: relative; overflow: hidden; font-family: Arial, Helvetica, sans-serif; }
@media (max-width: 600px) { .icr-rep { padding: 22px 16px; } }
.icr-rep .icr-warn { border: 3px solid #CC1802; text-align: center; padding: 6px 8px; color: #CC1802; }
.icr-rep .icr-warn b { display: block; font-size: 22px; }
.icr-rep .icr-warn span { font-size: 12px; color: #000; }
.icr-rep .icr-hdr { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.icr-rep h1 { font-size: 32px; font-weight: 700; margin: 0; }
.icr-rep h2 { font-size: 17px; font-weight: 700; margin: 4px 0 0; }
.icr-rep .icr-mod { border: 1px solid #ADADAD; padding: 6px 40px; font-size: 14px; align-self: flex-end; }
.icr-rep .icr-f { display: flex; align-items: center; gap: 14px; font-size: 14px; margin: 8px 0; }
.icr-rep .icr-f .icr-l { width: 110px; flex: none; }
.icr-rep .icr-fv { border: 1px solid #ADADAD; padding: 6px 12px; min-width: 150px; direction: ltr; unicode-bidi: isolate; }
.icr-rep .icr-fv.g { background: #E7E7E7; flex: 1; }
.icr-rep hr { border: none; border-top: 1.5px solid #000; margin: 18px 0; }
.icr-rep h3 { font-size: 16px; font-weight: 700; margin: 0 0 14px; }
.icr-rep .icr-skills { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-end; }
.icr-rep .icr-sk b { display: block; font-size: 14px; margin-bottom: 4px; }
.icr-rep .icr-p { display: flex; direction: ltr; }
.icr-rep .icr-p span { width: 52px; height: 34px; border: 1px solid #ADADAD; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.icr-rep .icr-p span:first-child { background: #E7E7E7; }
.icr-rep .icr-p span + span { border-left: none; }
.icr-rep .icr-overall { margin-inline-start: auto; text-align: end; }
.icr-rep .icr-wm {
  position: absolute; left: 50%; top: 55%; transform: translate(-50%, -50%) rotate(-30deg); font-size: 120px; font-weight: 900;
  color: rgba(0, 0, 0, 0.05); pointer-events: none; white-space: nowrap;
}
.icr-rep .icr-issue { display: flex; justify-content: flex-end; margin-top: 70px; }
.icr-rep .icr-foot { border-top: 1px solid #ADADAD; margin-top: 16px; padding-top: 8px; text-align: center; color: #CC1802; font-weight: 700; font-size: 12px; }
/* a written text on a page (Writing: Your answer / Improved version) */
.icr-doc { background: #fff; color: #000; padding: 40px 44px; }
@media (max-width: 600px) { .icr-doc { padding: 24px 18px; } }
.icr-doc .icr-dh { font: 700 15px/1.3 Arial, Helvetica, sans-serif; margin: 0; }
.icr-doc .icr-ds { font: 12px/1.4 Arial, Helvetica, sans-serif; color: #545454; margin-top: 4px; }
.icr-doc .icr-dt { font: 15px/1.6 Georgia, 'Times New Roman', serif; margin-top: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
