/* =====================================================================
   v043 — readability sweep #2 (the leftovers)
   ---------------------------------------------------------------------
   The first pass (v040/v042) raised the work areas but missed three
   places: the paper viewer's own toolbar (still 8–10px), the Progress
   page built later, and the sidebar furniture. This pass clears them.
   Overrides only — nothing in v027–v042 is edited.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Paper workspace: the viewer toolbar and its chips
   ---------------------------------------------------------------------
   `.paperViewerToolbar` was drawn at a 9px base, so the mode chip, the
   "Q1 of 12" counter, the gesture hint and Fit/Jump all came out at
   8–10px — unreadable on a tablet held at arm's length. */
body.ial-v030 .paperViewerToolbar,
body.ial-v030 .continuousViewerToolbar{
  font-size:12.5px!important;
  min-height:44px;
}
body.ial-v030 .paperViewerToolbar > div > span,
body.ial-v030 .continuousViewerToolbar > div > span{
  font-size:12.5px!important;
}
body.ial-v030 .paperViewerToolbar button,
body.ial-v030 .continuousViewerToolbar button{
  font-size:12.5px!important;
  padding:5px 9px!important;
  min-height:30px;
}
body.ial-v030 .paperFitBtn,
body.ial-v030 .paperJumpBtn{
  font-size:12.5px!important;
}
body.ial-v030 .paperZoomStatus,
body.ial-v030 #paperZoomLabel{
  font-size:12.5px!important;
  min-width:46px;
  text-align:center;
}
body.ial-v030 #paperCurrentIndicator{
  font-size:13px!important;
  font-weight:800;
}
/* the "Practice Paper · Original Paper" chip in the workspace header */
body.ial-v030 .paperModeTitle em,
body.ial-v030 #paperModeChip{
  font-size:12.5px!important;
  line-height:1.35;
  padding:3px 9px!important;
}
/* ink toolbar chips that were still 10px */
body.ial-v030 .clearInkChip,
body.ial-v030 .sourceFingerModeBtn,
body.ial-v030 .paperInkToolbar .paperSettingChip{
  font-size:12.5px!important;
}

/* ---------------------------------------------------------------------
   2. Progress page (built after the first readability pass)
   --------------------------------------------------------------------- */
body.ial-v030 .gpStatLabel{font-size:12.5px!important}
body.ial-v030 .gpStatFoot{font-size:12.5px!important}
body.ial-v030 .gpBandLabel{font-size:12.5px!important}
body.ial-v030 .gpNextWhy{font-size:12.5px!important}
body.ial-v030 .gpRowSub{font-size:12.5px!important}
body.ial-v030 .gpRowName{font-size:13px!important}
body.ial-v030 .helpLabel{font-size:12.5px!important}
body.ial-v030 .difficultyHelp{font-size:12.5px!important}
body.ial-v030 .progressHelp{font-size:12.5px!important}
body.ial-v030 #progress .chartCard h3{font-size:14px!important}
body.ial-v030 #progress .barRows,
body.ial-v030 #progress .barRows *{font-size:12.5px!important}
body.ial-v030 #progress .errors,
body.ial-v030 #progress .errors *{font-size:12.5px!important}
body.ial-v030 #progress .weekly,
body.ial-v030 #progress .weekly *{font-size:12.5px!important}

/* ---------------------------------------------------------------------
   3. Sidebar furniture
   --------------------------------------------------------------------- */
body.ial-v030 .navsec{font-size:12px!important}
body.ial-v030 .brand span,
body.ial-v030 .brand .brandSub{font-size:12px!important}
body.ial-v030 .sidebarAccountMirror small{font-size:11.5px!important}
body.ial-v030 .acctPlan{font-size:11px!important}
body.ial-v030 .uiScaleRow span{font-size:12px!important}
body.ial-v030 .uiScaleRow b{font-size:12px!important}
body.ial-v030 .uiScaleRow button{font-size:12px!important}
body.ial-v030 .guideBtn{font-size:12px!important}

/* ---------------------------------------------------------------------
   4. Empty states and small notices
   --------------------------------------------------------------------- */
body.ial-v030 .empty{font-size:12.5px!important;padding:20px 18px!important}
body.ial-v030 .empty h4,
body.ial-v030 .empty b,
body.ial-v030 .emptyStateTitle{font-size:14px!important}
body.ial-v030 .empty p,
body.ial-v030 .empty div,
body.ial-v030 .emptyStateBody{font-size:12.5px!important}

/* ---------------------------------------------------------------------
   5. Keep the roomier tap targets from the earlier pass
   --------------------------------------------------------------------- */
body.ial-v030 .paperInkToolbar .paperInkToolBtn{min-height:36px}
body.ial-v030 .paperQStep{width:32px;height:30px}

/* ---------------------------------------------------------------------
   6. Second sweep: the small type the first pass could not see
   ---------------------------------------------------------------------
   Discovered by measuring every visible leaf node, not by eye - these
   were 8-11px and include the answer book cards at 8px. */

/* shared */
body.ial-v030 .acctBtn{font-size:12.5px!important}
body.ial-v030 .acctPlan{font-size:11.5px!important}
body.ial-v030 .tag,
body.ial-v030 .tag.blue,
body.ial-v030 .tag.amber,
body.ial-v030 .tag.purple,
body.ial-v030 .tag.variantTag,
body.ial-v030 .tag.wholeQuestionTag{font-size:12px!important}
body.ial-v030 .sectionHead span{font-size:12.5px!important}
body.ial-v030 #home h3,body.ial-v030 #practice h3,
body.ial-v030 #papers h3,body.ial-v030 #review h3,
body.ial-v030 #progress h3{font-size:14px!important}

/* home */
body.ial-v030 #home p{font-size:13px!important}
body.ial-v030 #home .sub{font-size:12.5px!important}
body.ial-v030 #home .label{font-size:12.5px!important}
body.ial-v030 #home .tiny{font-size:12.5px!important}
body.ial-v030 .examDateButton{font-size:12.5px!important}
body.ial-v030 .weekly small,body.ial-v030 .weekly span{font-size:11.5px!important}

/* practice list */
body.ial-v030 .practicePrimaryFilters label{font-size:12.5px!important}
body.ial-v030 .presetLabel{font-size:12.5px!important}
body.ial-v030 .status{font-size:12.5px!important}

/* papers list */
body.ial-v030 #papers .paperCard b{font-size:13px!important}
body.ial-v030 .paperVariantDescription{font-size:12.5px!important}

/* review */
body.ial-v030 .v027ReviewTabs button{font-size:12.5px!important}
body.ial-v030 #review p{font-size:12.5px!important}

/* summary notes */
body.ial-v030 .summaryBody .badge{font-size:12.5px!important}
body.ial-v030 .ch-label{font-size:12.5px!important}
body.ial-v030 .section-num{font-size:12.5px!important}
body.ial-v030 .summaryPageCount{font-size:12.5px!important}

/* practice workspace */
body.ial-v030 .workspaceCrumb,
body.ial-v030 .workspaceCrumb *{font-size:12.5px!important}
body.ial-v030 .workspaceTimer{font-size:13px!important;padding:7px 11px!important}
body.ial-v030 .readOnlySourceBadge{font-size:12.5px!important}
body.ial-v030 .hintBtn{font-size:12.5px!important}
body.ial-v030 .inkHead b,body.ial-v030 .workHead b{font-size:13.5px!important}
body.ial-v030 #submissionStatus{font-size:12.5px!important}

/* paper answer book: these were drawn at 8px */
body.ial-v030 .segmentedQBadge{font-size:12.5px!important}
body.ial-v030 .segmentedQMeta{font-size:12.5px!important}
body.ial-v030 .segmentedAddPageHint{font-size:12.5px!important}
body.ial-v030 .segmentedAnswerBook span,
body.ial-v030 .segmentedAnswerScroll span{font-size:12.5px!important}
body.ial-v030 .segmentedAnswerToolbar,
body.ial-v030 .segmentedAnswerToolbar *{font-size:12.5px!important}

/* the ink bar chips that resisted the first rule */
body.ial-v030 .sourceInkToolbar .clearInkChip,
body.ial-v030 .sourceInkToolbar .paperSettingChip.clearInkChip{font-size:12.5px!important}
body.ial-v030 .sourceFingerModeBtn,
body.ial-v030 .sourceFingerModeBtn *{font-size:12.5px!important}

/* ---------------------------------------------------------------------
   7. Last five stragglers (found by walking every leaf node)
   --------------------------------------------------------------------- */
body.ial-v030 .complexMini span,
body.ial-v030 .complexFeatureRight span{font-size:12px!important}
body.ial-v030 .filterField label{font-size:12.5px!important}
body.ial-v030 .variantHelp b,
body.ial-v030 .variantHelp span{font-size:12.5px!important}
body.ial-v030 .chSub{font-size:12.5px!important}
body.ial-v030 .workspaceMiniTitle,
body.ial-v030 .workspaceMiniTitle *{font-size:12.5px!important}

/* The practice filter labels are pinned at 10.5px by a three-class rule in
   v035, so this has to match that specificity to win. */
body.ial-v030 .practicePrimaryFilters .filterField>label,
body.ial-v030 .advancedFilters .filterField>label,
body.ial-v030 .practiceSearchWrap>label,
body.ial-v030 .setBuilderFields .filterField>label{
  font-size:12.5px!important;
}
/* part labels along the edge of the answer sheet */
body.ial-v030 .canvasPartGuide span{font-size:12px!important;color:#8b94a6!important}
body.ial-v030 .canvasFooter span{font-size:12.5px!important}

/* ---------------------------------------------------------------------
   8. Bigger type must not get clipped
   ---------------------------------------------------------------------
   Raising the sidebar's small print made two rows wider than the 190px
   column: the text-size row and the account chip. Let the label give way
   (ellipsis) instead of pushing the controls out of view, and let the
   account lines wrap instead of being cut off. */
body.ial-v030 .uiScaleRow{
  gap:4px!important;
  padding:6px 7px!important;
}
body.ial-v030 .uiScaleRow span{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.ial-v030 .uiScaleRow b{flex:0 0 auto!important}
body.ial-v030 .uiScaleRow button{flex:0 0 auto!important}

body.ial-v030 .sidebarAccountMirror .acctCopy{min-width:0}
body.ial-v030 .sidebarAccountMirror .acctCopy small,
body.ial-v030 .sidebarAccountMirror .acctCopy b{
  white-space:normal !important;
  overflow-wrap:anywhere;
  line-height:1.3;
}
body.ial-v030 .acctPlan{
  white-space:nowrap;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Wrapping beats squeezing: at 190px the label was being cut to 11px. */
body.ial-v030 .uiScaleRow{flex-wrap:wrap!important}
body.ial-v030 .uiScaleRow span{
  flex:1 1 100%!important;
  overflow:visible!important;
  text-overflow:clip;
}
body.ial-v030 .acctPlan{
  white-space:normal!important;
  overflow-wrap:anywhere;
  line-height:1.25;
}
/* the collapsed rail is icon-only; a two-line control would spill out of it */
body.ial-v030 .app.sidebar-collapsed .uiScaleRow{display:none!important}
