/*
 * Wizard layout: one centred column on every filing page (same max-width + margin).
 * Previously each step used a different max-width with margin:auto, so the Back link jumped.
 */
html{
  scrollbar-gutter: stable;
}

.ch-wizard{
  --ch-wf-shell-width: 820px;
  --ch-wf-standard-content-width: 720px;
  --ch-wf-content-align-width: var(--ch-wf-standard-content-width);
  --ch-amount-input-width: 180px;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--ch-wf-shell-width);
  margin: 32px auto;
  padding: 0 16px;
}

/* One content column: headings, copy, forms, and text areas share the same width */
.ch-wf-header-back,
.ch-wf-header-meta,
.ch-wizard > h1,
.ch-wizard > h2.ch-heading-s,
.ch-wizard > h2.ch-step0-title,
.ch-wizard > .ch-error-banner,
.ch-wizard > .ch-hint,
.ch-wizard > .ch-bs-note-intro,
.ch-wizard > .ch-wf-note-lead,
.ch-wizard > p:not(.ch-pl-help):not(.ch-step0-question),
.ch-wizard > ul,
.ch-wizard > ol,
.ch-wizard > .ch-bs-note-creditors-list--intro,
.ch-wizard > details.ch-full-related-party-info,
.ch-wizard > .ch-full-off-balance-radios,
.ch-wizard > .ch-full-note-options,
.ch-wizard > .ch-accounts-summary-intro,
.ch-wizard form.ch-form:not(.ch-pl-form),
.ch-wizard form.ch-bs-note-creditors-abridged-form,
.ch-wizard > .ch-full-additional-summary-list{
  width: 100%;
  max-width: var(--ch-wf-standard-content-width);
  box-sizing: border-box;
}

.ch-wizard form.ch-form:not(.ch-pl-form) .ch-report-textarea,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-textarea,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-off-balance-description,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-related-party-block,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-related-party-row,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-loans-block,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-loans-row,
.ch-wizard form.ch-form:not(.ch-pl-form) > .ch-heading-s,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-loans-summary-entry,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-full-loans-summary-additional,
.ch-wizard form.ch-form:not(.ch-pl-form) .ch-form-actions,
.ch-wizard form.ch-bs-note-creditors-abridged-form .ch-bs-note-additional-textarea,
.ch-wizard form.ch-bs-note-creditors-abridged-form .ch-form-actions{
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Shared wizard header (filing context + divider) */
.ch-wf-header-back{
  margin: 0 0 18px;
}
.ch-wf-header-back a{
  color: inherit;
  text-decoration: none;
}
.ch-wf-header-back a:hover{
  text-decoration: underline;
}
.ch-wf-header-meta{
  margin: 0 0 18px;
}
.ch-wf-header-line{
  font-size: 14px;
  margin-top: 2px;
}
.ch-wf-header-line:first-child{
  margin-top: 0;
}
.ch-wf-header-divider{
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #b1b4b6;
  width: 100%;
  box-sizing: border-box;
}

/* Note intros: prefer a single line; wrap only when the viewport is too narrow */
.ch-bs-note-intro,
.ch-wf-note-lead{
  margin: 0 0 18px;
  line-height: 1.45;
}
.ch-wizard .ch-wf-note-lead{
  white-space: normal;
}

/* Step 0 — About the company (card layout) */
.ch-wizard-step0 .ch-step0-title{
  color: #1f2b4d;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 28px;
}
.ch-step0-form{
  margin-top: 0;
}
.ch-step0-card{
  background: #fff;
  border: 1px solid #c8d6ef;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.ch-step0-card-header{
  background: #eef3fb;
  color: #1f2b4d;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 22px;
  border-bottom: 1px solid #c8d6ef;
}
.ch-step0-card-body{
  padding: 20px 22px 22px;
}
.ch-step0-fieldset{
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px 72px;
  column-gap: 28px;
  row-gap: 18px;
  align-items: center;
}
.ch-step0-sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ch-step0-question,
.ch-step0-followup-question{
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #0b0c0c;
  line-height: 1.45;
  grid-column: 1;
  min-width: 0;
}
.ch-step0-radio-col-yes{
  grid-column: 2;
  justify-self: start;
}
.ch-step0-radio-col-no{
  grid-column: 3;
  justify-self: start;
}
.ch-step0-radio{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  white-space: nowrap;
}
/* Step 0 uses the same rules as all wizard radios (see .ch-wizard input[type="radio"] below). */
.ch-step0-followup-panel{
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  background: #f4f7fb;
  border-radius: 8px;
  padding-block: 16px;
  align-items: center;
}
.ch-step0-continue{
  display: inline-block;
  margin-top: 8px;
  padding: 14px 36px;
  background: #476DB0;
  border: 0;
  border-radius: 8px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}
.ch-step0-continue:hover,
.ch-step0-continue:focus{
  background: #3a5a94;
}
@supports not (grid-template-columns: subgrid){
  .ch-step0-followup-panel{
    grid-template-columns: minmax(0, 1fr) 72px 72px;
    column-gap: 28px;
    padding: 16px 0;
  }
}
@media (max-width: 640px){
  .ch-step0-fieldset{
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .ch-step0-question,
  .ch-step0-followup-question,
  .ch-step0-radio-col-yes,
  .ch-step0-radio-col-no{
    grid-column: 1;
  }
  .ch-step0-followup-panel{
    grid-template-columns: 1fr;
    padding: 16px 18px;
  }
  .ch-step0-radio-col-yes,
  .ch-step0-radio-col-no{
    display: inline-flex;
    margin-right: 24px;
  }
}

.ch-form{
  margin-top: 18px;
}

.ch-radios{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 22px;
}

.ch-radio{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1rem;
  margin: 0;
  cursor: pointer;
  max-width: 100%;
}

/* Large, easy-to-click radios (same as Step 0 — About the company) */
.ch-wizard input[type="radio"]{
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0;
  border: 2px solid #476DB0;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #476DB0;
  vertical-align: middle;
}

.ch-wizard input[type="radio"]:checked{
  border-color: #476DB0;
  background: radial-gradient(circle, #476DB0 0 5px, #fff 5.5px);
}

.ch-wizard input[type="radio"]:focus-visible{
  outline: 3px solid rgba(71, 109, 176, 0.35);
  outline-offset: 2px;
}

.ch-wizard input[type="radio"]:disabled{
  cursor: not-allowed;
  opacity: 0.55;
  border-color: #8a8d91;
}

.ch-wizard input[type="radio"]:disabled:checked{
  background: radial-gradient(circle, #8a8d91 0 5px, #fff 5.5px);
}

.ch-wizard input[type="checkbox"]{
  accent-color: #476DB0;
}

.ch-radio--disabled{
  opacity: 0.6;
  color: #6b7280;
  cursor: not-allowed;
}

.ch-radio--disabled input{
  cursor: not-allowed;
}

.ch-checkboxes{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 18px 0 22px;
}

.ch-checkbox{
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
}

.ch-heading-s{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.ch-btn-primary{
  background: #0b4f3b;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
}

.ch-btn-secondary{
  display: inline-block;
  background: #f3f4f6;
  color: #0b0c0c;
  border: 1px solid #b1b4b6;
  padding: 10px 18px;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.ch-error-banner{
  border: 4px solid #d4351c;
  padding: 14px;
  margin: 0 0 18px;
  color: #0b0c0c;
  background: #fff;
}

.ch-field-error{
  color: #0b0c0c;
  font-weight: 700;
  margin: 10px 0;
  border: 4px solid #d4351c;
  padding: 14px;
  background: #fff;
}

.ch-hint{
  color: #6b7a99;
  margin-top: 4px;
}

.ch-date-grid{
  display: grid;
  grid-template-columns: 120px 120px 1fr;
  gap: 12px;
  margin: 10px 0 16px;
}

.ch-date-grid label{
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.ch-date-grid input{
  width: 100%;
  padding: 10px 10px;
  border: 2px solid #1f2b4d;
  border-radius: 6px;
  font-size: 18px;
}

.ch-details{
  margin: 14px 0;
}

.ch-help-link{
  margin: 10px 0 18px;
}

/* Directors' report: field code label box + What's this? + textarea */
.ch-report-field{
  margin: 24px 0;
}
.ch-report-field-code{
  background: #f3f4f6;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}
.ch-report-whats-this{
  margin: 8px 0 12px;
}
.ch-report-whats-this summary{
  color: #1d70b8;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.ch-report-whats-this summary::-webkit-details-marker{ display: none; }
.ch-report-whats-this summary::before{
  content: "\25B6\00A0";
  font-size: 12px;
}
.ch-report-whats-this[open] summary::before{ content: "\25BC\00A0"; }
.ch-report-help{
  background: #f3f4f6;
  padding: 12px 14px;
  margin: 8px 0 12px;
  font-size: 16px;
  border-left: 4px solid #1d70b8;
}
.ch-report-textarea{
  width: 100%;
  min-height: 120px;
  padding: 10px 12px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
}

/* Profit and loss: expandable label left, two columns right (current / previous). One column when first submission. */
.ch-pl{}
.ch-pl-period-headers{
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  gap: 24px 32px;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #b1b4b6;
  align-items: start;
}
.ch-pl-period-headers.ch-pl-one-col{ grid-template-columns: 1fr 200px; }
.ch-pl-label-col{ min-width: 0; }
.ch-pl-period-headers .ch-pl-date-range{ font-weight: 700; }
.ch-pl-period-headers .ch-pl-col-current,
.ch-pl-period-headers .ch-pl-col-previous{
  padding-left: 22px;
}
.ch-pl-period-headers--dates-only .ch-pl-col-current,
.ch-pl-period-headers--dates-only .ch-pl-col-previous{
  padding-left: 0;
  text-align: center;
}
.ch-pl-section .ch-pl-col-current{ display: flex; align-items: center; gap: 6px; }
.ch-pl-section .ch-pl-col-previous{ display: flex; align-items: center; gap: 6px; justify-content: flex-start; }
.ch-pl-section{
  display: grid;
  grid-template-columns: 1fr 200px 200px;
  gap: 24px 32px;
  margin: 20px 0;
  align-items: start;
}
.ch-pl-section.ch-pl-one-col{ grid-template-columns: 1fr 200px; }
.ch-pl-details{ margin: 0; }
.ch-pl-summary{
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  color: #1d70b8;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  font-weight: 400;
}
.ch-pl-summary::-webkit-details-marker{ display: none; }
.ch-pl-summary::before{ content: "\25B6\00A0"; font-size: 12px; color: #1d70b8; }
.ch-pl-details[open] .ch-pl-summary::before{ content: "\25BC\00A0"; }
.ch-pl-help{
  background: #f3f4f6;
  padding: 12px 14px;
  margin: 8px 0 0;
  font-size: 16px;
  border-left: 4px solid #1d70b8;
  color: #505a5f;
}
.ch-pl-currency{ font-weight: 400; flex-shrink: 0; }

.ch-wizard input[type="number"].ch-pl-input:not(.ch-pl-calculated),
.ch-wizard input[type="number"].ch-bs-note-input:not([readonly]){
  width: var(--ch-amount-input-width);
  min-width: var(--ch-amount-input-width);
  max-width: var(--ch-amount-input-width);
  text-align: right;
  box-sizing: border-box;
}
.ch-wizard input[type="number"].ch-pl-input.ch-pl-calculated,
.ch-wizard input[type="number"].ch-bs-note-input[readonly]{
  width: var(--ch-amount-input-width);
  min-width: var(--ch-amount-input-width);
  max-width: var(--ch-amount-input-width);
  text-align: right;
  box-sizing: border-box;
}

.ch-pl-input{
  width: 100%;
  min-width: 0;
  max-width: var(--ch-amount-input-width, 180px);
  padding: 8px 10px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  text-align: right;
}
.ch-pl-input[type="number"]::-webkit-outer-spin-button,
.ch-pl-input[type="number"]::-webkit-inner-spin-button{ opacity: 1; }
.ch-pl-input.ch-pl-calculated{ background: #f3f4f6; }
.ch-pl-input.ch-pl-calculated{
  font-weight: 400;
  appearance: textfield;
  -moz-appearance: textfield;
}
.ch-pl-input.ch-pl-calculated::-webkit-outer-spin-button,
.ch-pl-input.ch-pl-calculated::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
  display: none;
}
.ch-pl-total-row .ch-pl-summary,
.ch-pl-total-row .ch-pl-input{
  font-weight: 700;
}
.ch-pl-emphasized-total .ch-pl-summary,
.ch-pl-emphasized-total .ch-pl-input.ch-pl-calculated{
  font-weight: 700;
}
.ch-pl-calculated-row .ch-pl-summary,
.ch-pl-calculated-row .ch-pl-input.ch-pl-calculated{
  font-weight: 700;
}

/* Keep all prepopulated/readonly values visually emphasized across filing pages and notes */
.ch-wizard .ch-pl-input[readonly],
.ch-wizard .ch-bs-note-input[readonly],
.ch-wizard input[type="number"][readonly]{
  font-weight: 700;
}

/* Keep the label on the left bold where the value is readonly/prepopulated */
.ch-wizard .ch-bs-note-table tr:has(input[readonly]) .ch-bs-note-label-cell,
.ch-wizard .ch-pl-section:has(.ch-pl-input[readonly]) .ch-pl-summary{
  font-weight: 700;
}
.ch-pl-form .ch-btn-primary{ margin-top: 24px; }

/* Approve / file: outline like dashboard remove-company, green instead of red */
.ch-btn-file-outline{
  margin-top: 24px;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  border: 2px solid #00703c;
  background: #fff;
  color: #00703c;
}
.ch-btn-file-outline:hover,
.ch-btn-file-outline:focus{
  background: #00703c;
  color: #fff;
}
.ch-btn-file-outline:focus{
  outline: 3px solid #fd0;
  outline-offset: 0;
}
/* Profit or (loss) before tax note page */
.ch-pl-note-intro{ margin: 0 0 20px; }
.ch-pl-note .ch-form-group{ margin-bottom: 20px; }
.ch-pl-note .ch-label{ display: block; font-weight: 700; margin-bottom: 8px; }
.ch-pl-note .ch-textarea{ width: 100%; max-width: 100%; padding: 10px; border: 2px solid #1f2b4d; border-radius: 4px; font-size: 16px; font-family: inherit; }
.ch-form-actions{
  margin-top: 24px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.ch-form-actions .ch-btn-primary,
.ch-form-actions .ch-btn-secondary,
.ch-form-actions .ch-link-cancel,
.ch-form-actions .ch-link-inline,
.ch-form-actions .ch-btn-remove-section{
  margin: 0;
  align-self: center;
}
.ch-link-cancel{
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  color: #1d70b8;
  text-decoration: underline;
  line-height: 1.25;
}
.ch-btn-remove-section{
  background: transparent;
  border: 0;
  color: #d4351c;
  font-weight: 700;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 10px 0;
  line-height: 1.25;
}
.ch-btn-remove-section:hover{
  color: #942514;
}
/* Notes to profit and loss summary */
.ch-pl-notes-section{ margin: 12px 0; }
.ch-pl-notes-label{ font-weight: 700; margin: 0 0 4px; }
.ch-pl-notes-value{ margin: 0; }
.ch-pl-notes-value a{ color: #1d70b8; text-decoration: underline; }
.ch-pl-notes-table-wrap{ overflow-x: auto; margin: 16px 0; }
.ch-pl-notes-table{ width: 100%; border-collapse: collapse; border-spacing: 0; }
.ch-pl-notes-table th{ font-weight: 700; padding: 14px 12px 16px; text-align: left; border-bottom: 1px solid #b1b4b6; }
.ch-pl-notes-table th:nth-child(2),
.ch-pl-notes-table td:nth-child(2),
.ch-pl-notes-table th:nth-child(3),
.ch-pl-notes-table td:nth-child(3){
  width: 16ch;
}
.ch-pl-notes-table th.ch-period-stack{
  line-height: 1.15;
  vertical-align: middle;
  text-align: center;
}
.ch-period-stack .ch-period-stack-to{
  display: inline-block;
  transform: translateX(6px);
}
.ch-pl-notes-table td:nth-child(2),
.ch-pl-notes-table td:nth-child(3){
  text-align: center;
}
.ch-pl-notes-table td{ padding: 16px 12px; text-align: left; border-bottom: 1px solid #b1b4b6; line-height: 1.45; }
.ch-pl-notes-empty-value{ font-size: inherit; letter-spacing: 0; }
.ch-pl-notes-table td a{ color: #1d70b8; text-decoration: underline; }
.ch-pl-notes-add{ margin: 16px 0 0; }
.ch-pl-notes-add a{ color: #1d70b8; text-decoration: underline; }
.ch-pl-notes-note-row{ background: #fafafa; }
.ch-pl-notes-note-cell{ padding: 16px 12px 16px 36px; border-bottom: 1px solid #b1b4b6; vertical-align: top; }
.ch-pl-notes-note-display{ display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.ch-pl-notes-note-icon{ font-size: 18px; flex-shrink: 0; }
.ch-pl-notes-note-content{ flex: 1; min-width: 0; }
.ch-pl-notes-note-actions{ flex-shrink: 0; }
.ch-pl-notes-note-actions a{ color: #1d70b8; text-decoration: underline; margin-left: 12px; }
.ch-pl-notes-add-inline{ margin: 0; padding: 0; }
.ch-pl-notes-add-inline a{ color: #1d70b8; text-decoration: underline; }
.ch-pl-notes-note-row--error{ background: #fff; }
.ch-pl-notes-note-cell--error{
  border-left: 4px solid #d4351c;
  padding-left: 32px;
}
.ch-pl-notes-note-error{
  color: #d4351c;
  font-weight: 700;
  margin: 10px 0 0;
}

/* Notes to the balance sheet: section rows and note summary list */
.ch-bs-notes-section-row td{ font-weight: 700; padding-top: 20px; border-bottom: 1px solid #b1b4b6; }
.ch-bs-notes-section-cell{ background: #f8f8f8; }
.ch-bs-notes-summary-list{ margin: 8px 0 0; padding-left: 20px; }

/* Intangible (and tangible) note form: wider layout, table-based alignment */
.ch-bs-note-intangible .ch-bs-note-table:not(.ch-bs-note-matrix-table){
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 16px 0 24px;
  border: 1px solid #b1b4b6;
}
.ch-bs-note-intangible .ch-bs-note-matrix-table{
  border-collapse: collapse;
  margin: 16px 0 24px;
  border: 1px solid #b1b4b6;
}
.ch-bs-note-intangible .ch-bs-note-period-table,
.ch-bs-note-tangible .ch-bs-note-period-table{
  width: 100%;
  max-width: 480px;
  table-layout: fixed;
}
.ch-bs-note-intangible .ch-bs-note-period-table th,
.ch-bs-note-intangible .ch-bs-note-period-table td,
.ch-bs-note-tangible .ch-bs-note-period-table th,
.ch-bs-note-tangible .ch-bs-note-period-table td{
  padding: 10px 16px;
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  box-sizing: border-box;
}
.ch-bs-note-intangible .ch-bs-note-period-table th:not(:first-child),
.ch-bs-note-intangible .ch-bs-note-period-table td:not(:first-child),
.ch-bs-note-tangible .ch-bs-note-period-table th:not(:first-child),
.ch-bs-note-tangible .ch-bs-note-period-table td:not(:first-child){
  width: 38%;
}
.ch-bs-note-intangible .ch-bs-note-period-table th:first-child,
.ch-bs-note-intangible .ch-bs-note-period-table td:first-child,
.ch-bs-note-tangible .ch-bs-note-period-table th:first-child,
.ch-bs-note-tangible .ch-bs-note-period-table td:first-child{
  text-align: left;
  width: auto;
}
.ch-bs-note-intangible .ch-bs-note-table th{
  font-weight: 700;
  padding: 14px 12px;
  border-bottom: 1px solid #b1b4b6;
  background: #f8f8f8;
}
.ch-bs-note-intangible .ch-bs-note-table td{
  padding: 14px 12px;
  border-bottom: 1px solid #b1b4b6;
  vertical-align: top;
  box-sizing: border-box;
}
/* Full accounts: multi-column tables — width scales with selected asset columns */
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"]{
  --ch-bs-note-label-col: 260px;
  --ch-bs-note-amount-col: calc(var(--ch-amount-input-width) + 36px);
}
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"]{
  --ch-bs-note-label-col: 260px;
  /* Column width includes horizontal cell padding so 180px inputs fit inside */
  --ch-bs-note-amount-col: calc(var(--ch-amount-input-width) + 16px);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col).ch-bs-note-cols-0,
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-0{
  --ch-bs-note-data-cols: 1;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col).ch-bs-note-cols-1{ --ch-bs-note-data-cols: 2; }
.ch-bs-note-intangible:not(.ch-bs-note-single-col).ch-bs-note-cols-2{ --ch-bs-note-data-cols: 3; }
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-1{ --ch-bs-note-data-cols: 2; }
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-2{ --ch-bs-note-data-cols: 3; }
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-3{ --ch-bs-note-data-cols: 4; }
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-4{ --ch-bs-note-data-cols: 5; }
.ch-bs-note-tangible:not(.ch-bs-note-single-col).ch-bs-note-cols-5{ --ch-bs-note-data-cols: 6; }
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"],
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"]{
  --ch-bs-note-table-width: calc(var(--ch-bs-note-label-col) + var(--ch-bs-note-data-cols) * var(--ch-bs-note-amount-col));
  --ch-wf-shell-width: calc(var(--ch-bs-note-table-width) + 64px);
  --ch-wf-standard-content-width: var(--ch-bs-note-table-width);
  max-width: var(--ch-wf-shell-width);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > h1,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-bs-note-intro,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-error-banner,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > h1,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-bs-note-intro,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-error-banner,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-wf-header-back,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-wf-header-meta,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-wf-header-back,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] > .ch-wf-header-meta{
  max-width: var(--ch-wf-standard-content-width);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] form.ch-form,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] form.ch-form{
  max-width: 100%;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table{
  width: var(--ch-bs-note-table-width);
  max-width: 100%;
  table-layout: fixed;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table col.ch-bs-note-col-label,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table col.ch-bs-note-col-label{
  width: var(--ch-bs-note-label-col);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table col.ch-bs-note-col-amount,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table col.ch-bs-note-col-amount{
  width: var(--ch-bs-note-amount-col);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-additional-wrap,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-additional-wrap,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-additional-textarea,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-additional-textarea,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-form > hr,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-form > hr,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-form > .ch-hint,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-form > .ch-hint,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-full-section-title,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-full-section-title{
  width: 100%;
  max-width: var(--ch-bs-note-table-width);
  box-sizing: border-box;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-label-header,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-label-cell,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-label-header,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-label-cell{
  text-align: left;
  vertical-align: middle;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-num-header,
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-num-header,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell{
  text-align: center;
  vertical-align: middle;
  padding: 10px 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell .ch-pl-currency,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell .ch-pl-currency{
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Override global 180px fixed input sizing — inputs must fit inside padded table cells */
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  vertical-align: middle;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input{
  width: calc(100% - 1.25em);
  max-width: var(--ch-amount-input-width);
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table td,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-matrix-table td{
  vertical-align: middle;
}
.ch-bs-note-intangible:not([class*="ch-bs-note-cols-"]):not(.ch-bs-note-single-col) .ch-bs-note-label-header{
  width: 42%;
  min-width: 200px;
  text-align: left;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-label-header{
  width: auto;
  min-width: 0;
}
.ch-bs-note-intangible .ch-bs-note-num-header{
  text-align: center;
  overflow: hidden;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-num-header{
  width: 120px;
}
.ch-bs-note-intangible .ch-bs-note-label-cell{ min-width: 0; }
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-input-cell{
  width: calc(var(--ch-amount-input-width) + 28px);
  overflow: visible;
  text-align: right;
  box-sizing: border-box;
}
.ch-bs-note-intangible .ch-bs-note-input-cell .ch-pl-currency{ margin-right: 4px; }
.ch-bs-note-intangible .ch-bs-note-input{
  padding: 8px 10px;
  box-sizing: border-box;
}
.ch-bs-note-intangible .ch-bs-note-input-cell input.ch-bs-note-input{
  display: inline-block;
  vertical-align: middle;
}
.ch-bs-note-intangible .ch-bs-note-input[type="number"]::-webkit-outer-spin-button,
.ch-bs-note-intangible .ch-bs-note-input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
  display: none;
}
.ch-bs-note-intangible .ch-pl-help{
  min-width: 0;
  width: 100%;
  max-width: 480px;
  margin-top: 8px;
  box-sizing: border-box;
}
.ch-bs-note-intangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-period-table,
.ch-bs-note-tangible:not(.ch-bs-note-single-col)[class*="ch-bs-note-cols-"] .ch-bs-note-period-table{
  max-width: var(--ch-bs-note-table-width);
}
.ch-bs-note-intangible .ch-bs-note-additional-wrap,
.ch-bs-note-tangible .ch-bs-note-additional-wrap{
  width: 100%;
  margin: 12px 0 0;
  box-sizing: border-box;
}
.ch-bs-note-intangible .ch-form .ch-bs-note-additional-textarea,
.ch-bs-note-tangible .ch-form .ch-bs-note-additional-textarea{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}
/* Abridged / first filing: one amount column — cap table width, fixed input column, full-size inputs */
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table),
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table){
  width: 100%;
  max-width: 640px;
  table-layout: fixed;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table) .ch-bs-note-label-cell,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table) .ch-bs-note-label-cell{
  width: auto;
  padding-right: 16px;
  white-space: normal;
  vertical-align: middle;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table):not(.ch-bs-note-matrix-table) .ch-bs-note-input-cell,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-table:not(.ch-bs-note-period-table) .ch-bs-note-input-cell{
  width: calc(var(--ch-amount-input-width) + 28px);
  min-width: calc(var(--ch-amount-input-width) + 28px);
  max-width: calc(var(--ch-amount-input-width) + 28px);
  white-space: nowrap;
  text-align: right;
  padding-left: 12px;
  padding-right: 10px;
  vertical-align: middle;
  overflow: visible;
}
/* Align divider and section hints with note tables (abridged / single column) */
.ch-bs-note-intangible.ch-bs-note-single-col,
.ch-bs-note-tangible.ch-bs-note-single-col{
  --ch-bs-note-align-width: 640px;
  --ch-wf-content-align-width: var(--ch-bs-note-align-width);
  --ch-wf-standard-content-width: var(--ch-bs-note-align-width);
  --ch-wf-shell-width: calc(var(--ch-bs-note-align-width) + 64px);
  max-width: var(--ch-wf-shell-width);
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table{
  width: 100%;
  max-width: var(--ch-bs-note-align-width);
  table-layout: fixed;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table col.ch-bs-note-col-label,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table col.ch-bs-note-col-label{
  width: auto;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table col.ch-bs-note-col-amount{
  width: calc(var(--ch-amount-input-width) + 36px);
}
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table col.ch-bs-note-col-amount{
  width: calc(var(--ch-amount-input-width) + 16px);
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-num-header,
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-num-header,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell{
  text-align: center;
  vertical-align: middle;
  padding: 10px 8px;
  overflow: hidden;
  box-sizing: border-box;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell{
  width: auto;
  min-width: 0;
  max-width: none;
  white-space: nowrap;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input,
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input.ch-pl-calculated,
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-bs-note-input{
  width: calc(100% - 1.25em);
  max-width: var(--ch-amount-input-width);
  min-width: 0;
  box-sizing: border-box;
}
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-matrix-table .ch-bs-note-input-cell input[type="number"].ch-pl-input{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-period-table,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-period-table{
  max-width: var(--ch-bs-note-align-width);
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-additional-wrap,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-additional-wrap,
.ch-bs-note-intangible.ch-bs-note-single-col .ch-bs-note-additional-textarea,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-additional-textarea{
  max-width: var(--ch-bs-note-align-width);
  box-sizing: border-box;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-form > hr,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-form > hr{
  display: block;
  width: 100%;
  max-width: var(--ch-bs-note-align-width);
  margin: 24px 0;
  border: 0;
  border-top: 1px solid #b1b4b6;
  box-sizing: border-box;
}
.ch-bs-note-intangible.ch-bs-note-single-col .ch-form > .ch-hint,
.ch-bs-note-tangible.ch-bs-note-single-col .ch-form > .ch-hint{
  max-width: var(--ch-bs-note-align-width);
  box-sizing: border-box;
}

.ch-bs-note-intangible .ch-bs-note-additional-textarea{
  width: 100%;
  min-height: 200px;
  padding: 12px 14px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
}

.ch-bs-note-tangible .ch-bs-note-table:not(.ch-bs-note-matrix-table){
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 16px 0 24px;
  border: 1px solid #b1b4b6;
}
.ch-bs-note-tangible .ch-bs-note-matrix-table{
  border-collapse: collapse;
  margin: 16px 0 24px;
  border: 1px solid #b1b4b6;
}
.ch-bs-note-tangible .ch-bs-note-matrix-table th{
  font-weight: 700;
  padding: 14px 10px;
  border-bottom: 1px solid #b1b4b6;
  background: #f8f8f8;
  text-align: center;
}
.ch-bs-note-tangible .ch-bs-note-period-table th{
  font-weight: 700;
  padding: 10px 16px;
  border-bottom: 1px solid #b1b4b6;
  background: #f8f8f8;
}
.ch-bs-note-tangible .ch-bs-note-table td{
  padding: 14px 10px;
  border-bottom: 1px solid #b1b4b6;
  vertical-align: top;
  box-sizing: border-box;
}
.ch-bs-note-tangible.ch-bs-note-single-col .ch-bs-note-input-cell{
  overflow: visible;
}
.ch-bs-note-tangible:not(.ch-bs-note-single-col) .ch-bs-note-input-cell{
  overflow: hidden;
}
.ch-bs-note-tangible .ch-bs-note-input{
  padding: 8px 10px;
  box-sizing: border-box;
}
.ch-bs-note-tangible .ch-bs-note-input[type="number"]::-webkit-outer-spin-button,
.ch-bs-note-tangible .ch-bs-note-input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
  display: none;
}
.ch-bs-note-tangible .ch-pl-help{
  min-width: 0;
  width: 100%;
  max-width: 540px;
  margin-top: 8px;
  box-sizing: border-box;
}
.ch-bs-note-tangible .ch-bs-note-additional-textarea{
  width: 100%;
  min-height: 200px;
  padding: 12px 14px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
}

.ch-bs-note-debtors .ch-bs-note-debtors-header,
.ch-bs-note-debtors .ch-pl-section,
.ch-bs-note-debtors-additional,
.ch-bs-note-debtors .ch-bs-note-additional-textarea{
  max-width: var(--ch-wf-content-align-width);
  box-sizing: border-box;
}
.ch-bs-note-debtors .ch-pl-section{
  gap: 20px 28px;
  margin: 18px 0;
}
.ch-bs-note-debtors .ch-bs-note-debtors-header{
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px 32px;
  margin: 24px 0 18px;
  align-items: start;
}
.ch-bs-note-debtors .ch-bs-note-debtors-header:not(.ch-bs-note-debtors-header-one-col){
  grid-template-columns: 1fr 200px 200px;
}
.ch-bs-note-debtors .ch-bs-note-debtors-header-label{ min-width: 0; }
.ch-bs-note-debtors .ch-bs-note-debtors-top-title{ font-weight: 700; margin: 0 0 8px; }
.ch-bs-note-debtors .ch-bs-note-debtors-period-box{
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ch-bs-note-debtors .ch-bs-note-debtors-period-box strong{
  display: block;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  width: 100%;
  text-align: center;
}
.ch-bs-note-debtors .ch-bs-note-debtors-top-input{
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.ch-bs-note-debtors .ch-bs-note-debtors-additional{ margin-top: 12px; }
.ch-bs-note-debtors .ch-bs-note-debtors-list{ margin: 8px 0 0; padding-left: 20px; }
.ch-bs-note-creditors-list{ margin: 8px 0 0; padding-left: 20px; }
.ch-bs-note-debtors .ch-bs-note-additional-textarea{
  width: 100%;
  min-height: 180px;
  padding: 12px 14px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  margin-top: 12px;
}
.ch-bs-note-creditors .ch-bs-note-debtors-additional{ margin-top: 12px; }
.ch-bs-note-creditors .ch-bs-note-creditors-top-row{ margin-top: 24px; }
/* Match data rows: full-width value column, date centred above £+input (not centred as a narrow cluster). */
.ch-bs-note-creditors .ch-bs-note-creditors-top-row .ch-pl-col-current,
.ch-bs-note-creditors .ch-bs-note-creditors-top-row .ch-pl-col-previous{
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ch-bs-note-creditors .ch-bs-note-creditors-period-box{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.ch-bs-note-creditors .ch-bs-note-creditors-period-box strong{
  display: block;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  width: 100%;
  text-align: center;
}
.ch-bs-note-creditors .ch-bs-note-creditors-top-input{
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.ch-bs-prepopulated-strong{
  font-weight: 700 !important;
}
.ch-bs-note-creditors .ch-bs-note-additional-textarea{
  width: 100%;
  min-height: 180px;
  padding: 12px 14px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  margin-top: 12px;
}
.ch-bs-note-debtors--abridged .ch-bs-note-debtors-period-box strong{
  font-size: 0.95rem;
  line-height: 1.3;
}
/* Align BS prepopulated row inputs with editable rows in the same period column */
.ch-bs-note-debtors--abridged .ch-bs-note-debtors-header:not(.ch-bs-note-debtors-header-one-col),
.ch-bs-note-debtors--abridged .ch-pl-section:not(.ch-pl-one-col){
  grid-template-columns: minmax(0, 1fr) 200px 200px;
  column-gap: 32px;
  row-gap: 20px;
}
.ch-bs-note-debtors--abridged .ch-bs-note-debtors-top-input,
.ch-bs-note-debtors--abridged .ch-pl-section .ch-pl-col-current,
.ch-bs-note-debtors--abridged .ch-pl-section .ch-pl-col-previous{
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ch-bs-note-debtors--abridged .ch-bs-note-debtors-top-input .ch-pl-input,
.ch-bs-note-debtors--abridged .ch-pl-section .ch-pl-col-current .ch-pl-input,
.ch-bs-note-debtors--abridged .ch-pl-section .ch-pl-col-previous .ch-pl-input{
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  font-weight: 400;
}
.ch-bs-note-debtors--abridged .ch-bs-note-debtors-top-input .ch-pl-input[readonly]{
  font-weight: 700;
}
.ch-bs-note-creditors .ch-bs-note-debtors-header,
.ch-bs-note-creditors .ch-pl-section,
.ch-bs-note-creditors .ch-bs-note-debtors-additional,
.ch-bs-note-creditors .ch-bs-note-additional-textarea{
  max-width: var(--ch-wf-content-align-width);
  box-sizing: border-box;
}
.ch-bs-note-creditors--abridged h1,
.ch-bs-note-creditors--abridged .ch-bs-note-creditors-title{
  white-space: normal;
  line-height: 1.25;
}
.ch-bs-note-creditors--abridged .ch-bs-note-intro{ margin-bottom: 16px; }
.ch-bs-note-creditors--abridged .ch-bs-note-creditors-list--intro{
  margin: 0 0 18px;
  padding-left: 20px;
}
.ch-bs-note-creditors--abridged .ch-bs-note-creditors-abridged-form .ch-bs-note-additional-textarea{
  width: 100%;
  max-width: none;
  min-height: 200px;
  margin-top: 0;
  box-sizing: border-box;
}

.ch-input-error{
  border-color: #d4351c !important;
  box-shadow: 0 0 0 2px rgba(212, 53, 28, 0.15);
}

.ch-bs-note-revaluation.ch-wizard{
  --ch-revaluation-form-width: var(--ch-wf-standard-content-width);
  --ch-wf-content-align-width: var(--ch-wf-standard-content-width);
}
.ch-bs-note-revaluation .ch-bs-note-intro{ margin: 0 0 22px; }
.ch-bs-note-revaluation .ch-bs-note-revaluation-form{
  width: 100%;
  max-width: var(--ch-revaluation-form-width);
  box-sizing: border-box;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width);
  column-gap: 28px;
  row-gap: 14px;
  align-items: center;
  margin: 8px 0 0;
  width: 100%;
  max-width: var(--ch-revaluation-form-width);
  box-sizing: border-box;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-layout--two-cols{
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width) var(--ch-amount-input-width);
  column-gap: 28px;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-period-head{
  display: contents;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-period-col{
  font-weight: 700;
  text-align: center;
  justify-self: end;
  width: var(--ch-amount-input-width);
  margin-bottom: 2px;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-layout-spacer,
.ch-bs-note-revaluation .ch-bs-note-revaluation-layout-empty{
  display: block;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-period-label{
  align-self: start;
  padding-top: 2px;
  min-width: 0;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-period-label .ch-hint{
  margin: 4px 0 0;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-details{
  min-width: 0;
  align-self: center;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-input-wrap{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  justify-self: end;
  width: var(--ch-amount-input-width);
  box-sizing: border-box;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-input-wrap--no-symbol::before{
  content: "£";
  visibility: hidden;
  flex-shrink: 0;
  width: 1ch;
  margin-right: 8px;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-input-wrap--no-symbol .ch-pl-currency{
  display: none;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-input-wrap .ch-pl-input{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.ch-bs-note-revaluation .ch-bs-note-revaluation-additional{
  grid-column: 1 / -1;
  margin-top: 10px;
  align-self: start;
  width: 100%;
  max-width: var(--ch-revaluation-form-width);
  box-sizing: border-box;
}
.ch-bs-note-revaluation .ch-bs-note-additional-textarea{
  width: 100%;
  max-width: 100%;
  min-height: 180px;
  margin-top: 12px;
  padding: 12px 14px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  resize: vertical;
  display: block;
}
.ch-pl-details + textarea,
.ch-pl-details + .ch-textarea,
.ch-pl-details + .ch-report-textarea,
.ch-bs-note-revaluation-additional > .ch-bs-note-additional-textarea,
.ch-bs-note-additional-wrap > .ch-bs-note-additional-textarea,
.ch-bs-note-debtors-additional > .ch-bs-note-additional-textarea,
.ch-bs-note-creditors .ch-bs-note-additional-textarea{
  margin-top: 8px;
  margin-left: 0;
  display: block;
}

/* Full balance sheet: section titles and type options */
.ch-bs-full-section-title{ font-size: 1.25rem; font-weight: 700; margin: 24px 0 12px; }
.ch-bs-full-section-title:first-of-type{ margin-top: 16px; }
.ch-bs-full-type-options{ margin-top: 12px; margin-bottom: 8px; }
.ch-bs-full-type-question{ font-weight: 700; margin: 0 0 10px; }

/* Balance sheet statements: legal statement boxes + confirmation */
.ch-bss{}
.ch-bss-intro{ margin: 14px 0; }
.ch-bss-bullets{ margin: 10px 0 16px; }
.ch-bss-statements-toggle{ margin: 16px 0 12px; }
.ch-bss-statements-toggle summary{
  color: #1d70b8;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.ch-bss-statements-toggle summary::-webkit-details-marker{ display: none; }
.ch-bss-statements-toggle summary::before{ content: "\25B6\00A0"; font-size: 12px; color: #1d70b8; }
.ch-bss-statements-toggle[open] summary::before{ content: "\25BC\00A0"; }
.ch-bss-statement-box{
  background: #f3f4f6;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}
.ch-bss-statement-box label{ display: flex; align-items: flex-start; gap: 10px; cursor: pointer; margin: 0; }
.ch-bss-statement-box input[type="checkbox"]{ margin-top: 4px; flex-shrink: 0; }
.ch-bss-confirmation-box{
  background: #f3f4f6;
  padding: 14px 16px;
  margin: 20px 0;
  border-radius: 4px;
  border: 1px solid #d1d5db;
}
.ch-bss-confirmation-box label{ display: flex; align-items: center; gap: 10px; cursor: pointer; margin: 0; font-weight: 700; }
.ch-bss-confirmation-box input[type="checkbox"]{ flex-shrink: 0; }

/* Footnotes: disabled checkbox row, form actions, summary list */
.ch-checkbox--disabled{ opacity: 0.7; color: #6b7280; cursor: default; }
.ch-form-actions{ display: flex; align-items: center; gap: 16px; margin: 20px 0; flex-wrap: wrap; }
.ch-link-inline{ color: #1d70b8; text-decoration: underline; }
.ch-link-inline:hover{ text-decoration: none; }
.ch-link-as-button{ background: none; border: 0; padding: 0; color: #1d70b8; text-decoration: underline; cursor: pointer; font-size: inherit; }
.ch-link-as-button:hover{ text-decoration: none; }
.ch-input{ width: 100%; max-width: 200px; padding: 10px 12px; border: 2px solid #1f2b4d; border-radius: 4px; font-size: 18px; }

/* Typography consistency across full-note pages */
.ch-wizard[class*="ch-full-"] h1{
  margin: 0 0 12px;
  line-height: 1.2;
}

.ch-wizard[class*="ch-full-"] > p{
  margin: 0 0 10px;
  line-height: 1.45;
}

.ch-wizard[class*="ch-full-"] > p.ch-wf-note-lead{
  margin-bottom: 18px;
}

.ch-wizard[class*="ch-full-"] .ch-heading-s{
  margin: 18px 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.ch-wizard[class*="ch-full-"] .ch-pl-details{
  margin: 0;
}

.ch-wizard[class*="ch-full-"] .ch-form-actions{
  margin-top: 20px;
}

/* Unified textarea sizing for all additional notes pages */
.ch-wizard[class*="ch-full-"] form.ch-form .ch-report-textarea,
.ch-wizard[class*="ch-full-"] form.ch-form .ch-full-policy-textarea,
.ch-wizard[class*="ch-full-"] form.ch-form .ch-full-note-textarea{
  width: 100%;
  max-width: 100%;
  min-height: 160px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}

.ch-wizard[class*="ch-full-"] form.ch-form .ch-full-related-party-text{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ch-full-note-options{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0 22px;
}

.ch-full-note-option{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 14px 16px;
  border: 2px solid #8a8d91;
  background: #f3f4f6;
  font-size: 18px;
}

.ch-full-note-option input{
  margin: 0;
}

.ch-full-note-option--mandatory{
  background: #e8f0fa;
  border-color: #1d70b8;
  border-left-width: 4px;
  border-left-color: #1d70b8;
}

.ch-full-note-option--optional{
  background: #f3f4f6;
  border-color: #8a8d91;
}

.ch-full-additional-notes-mandatory-heading,
.ch-full-additional-notes-optional-heading{
  margin: 20px 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
}

.ch-full-additional-notes-mandatory-heading{
  color: #003078;
}

.ch-full-additional-notes-optional-heading{
  color: #505a5f;
  margin-top: 28px;
}

.ch-full-additional-notes-summary .ch-full-additional-summary-intro{
  margin: 0 0 18px;
  line-height: 1.45;
  max-width: var(--ch-wf-standard-content-width);
}

.ch-full-additional-summary-list{
  margin: 26px 0 24px;
  border-top: 1px solid #d8dadd;
}

.ch-full-additional-summary-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  padding: 18px 0;
  border-bottom: 1px solid #d8dadd;
}

.ch-full-additional-summary-title{
  font-size: 18px;
}

.ch-full-additional-summary-actions{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}


.ch-full-policy-card{
  margin: 22px 0;
}

.ch-full-policy-card summary{
  cursor: pointer;
  color: #1d70b8;
  font-size: 18px;
  list-style: revert;
}

.ch-full-policy-card summary::-webkit-details-marker{
  color: #1d70b8;
}

.ch-full-policy-card-body{
  padding: 10px 0 0 0;
}

.ch-full-policy-guidance{
  border-left: 4px solid #d8dadd;
  padding-left: 16px;
  margin: 10px 0 18px 1.35em;
}

.ch-full-policy-guidance p{
  margin: 0 0 12px;
}

.ch-full-policy-lead{
  margin: 16px 0 12px;
  font-weight: 700;
}

.ch-full-policy-radios{
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 24px;
}

.ch-full-policy-radio{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border: 2px solid #8a8d91;
  background: #f3f4f6;
  font-size: 1rem;
  cursor: pointer;
}

.ch-full-policy-radio:has(input:checked){
  border-color: #c9a227;
  background: #fff;
}

.ch-full-policy-ac320-other{
  margin: 4px 0 8px;
}

.ch-full-policy-ac320-label{
  margin: 0 0 10px;
  font-weight: 700;
}

.ch-full-policy-list{
  margin: 0 0 12px 20px;
  padding: 0;
}


.ch-note-period-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
  min-width: 0;
}

.ch-note-period-line{
  display: block;
  white-space: nowrap;
}

.ch-note-period-to{
  font-weight: 400;
}

.ch-full-employees-grid{
  display: grid;
  grid-template-columns: minmax(220px, 1fr) var(--ch-amount-input-width) var(--ch-amount-input-width);
  gap: 12px 28px;
  align-items: start;
  margin: 26px 0 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.ch-full-employees-grid--one-col{
  grid-template-columns: minmax(220px, 1fr) var(--ch-amount-input-width);
}

.ch-full-employees-year-head{
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.ch-full-employees-label{
  padding-top: 4px;
}

.ch-full-employees-input-col{
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ch-full-note-period-input{
  width: var(--ch-amount-input-width, 180px);
  max-width: 100%;
  box-sizing: border-box;
}

.ch-full-employees-additional-row{
  grid-column: 1 / -1;
  padding-top: 6px;
}

.ch-full-employees-additional-row--one-col{
  grid-column: 1 / -1;
}

.ch-full-off-balance-radios{
  display: flex;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin: 28px 0 18px;
}

.ch-full-off-balance-radios .ch-radio{
  font-size: 1rem;
}

.ch-full-off-balance-description{
  margin-top: 12px;
}

.ch-full-off-balance-description p{
  margin: 0 0 12px;
}

.ch-full-dividends-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width) var(--ch-amount-input-width);
  column-gap: 28px;
  row-gap: 12px;
  align-items: start;
  margin: 26px 0 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.ch-full-dividends-grid--one-col{
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width);
}

.ch-full-dividends-year-head{
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  width: 100%;
  margin-bottom: 6px;
}

.ch-full-dividends-label{
  padding-top: 4px;
  grid-column: 1;
}

.ch-full-dividends-input-col{
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-self: end;
  width: var(--ch-amount-input-width);
  max-width: var(--ch-amount-input-width);
}

.ch-full-dividends-input-wrap{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: var(--ch-amount-input-width);
  box-sizing: border-box;
}

.ch-full-dividends-input-wrap--no-symbol::before{
  content: "£";
  visibility: hidden;
  flex-shrink: 0;
  width: 1ch;
  margin-right: 8px;
}

.ch-full-dividends-additional-row{
  grid-column: 1 / -1;
  padding-top: 6px;
}

.ch-full-dividends-additional-row--one-col{
  grid-column: 1 / -1;
}

.ch-full-loans-note .ch-pl-summary,
.ch-full-related-party-note .ch-pl-summary{
  font-weight: 400;
}

.ch-full-loans-block{
  margin: 22px 0 32px;
}

.ch-full-loans-block .ch-report-textarea{
  margin-top: 16px;
}

.ch-full-loans-radio-list{
  margin-top: 14px;
}

.ch-full-loans-radio-option{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
}

.ch-full-loans-radio-option--disabled{
  color: #b1b4b6;
  cursor: not-allowed;
}

.ch-full-loans-radio-option--disabled input{
  cursor: not-allowed;
}

.ch-full-loans-one-director-hint{
  margin-top: 8px;
}

.ch-full-loans-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width);
  column-gap: 24px;
  row-gap: 18px;
  align-items: start;
  margin: 18px 0 32px;
}

.ch-full-loans-row-input{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  justify-self: end;
  width: var(--ch-amount-input-width);
  box-sizing: border-box;
}

.ch-full-loans-field-error{
  border-left: 4px solid #d4351c;
  padding-left: 12px;
}

.ch-full-loans-textarea-error{
  border-color: #d4351c;
}


.ch-full-loans-summary-entry{
  border-top: 1px solid #d8dadd;
  padding: 12px 0 0;
  margin: 0 0 10px;
}

.ch-full-loans-summary-head{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

.ch-full-loans-summary-head::-webkit-details-marker{
  display: none;
}

.ch-full-loans-summary-head::before{
  content: "\25B6\00A0";
  color: #1d70b8;
  font-size: 14px;
}

.ch-full-loans-summary-entry[open] .ch-full-loans-summary-head::before{
  content: "\25BC\00A0";
}

.ch-full-loans-summary-title{
  color: #1d70b8;
  text-decoration: none;
  text-align: left;
  justify-self: start;
  min-width: 0;
}

.ch-full-loans-summary-actions{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 400;
  justify-self: end;
  white-space: nowrap;
}

.ch-full-loans-summary-actions a{
  color: #1d70b8;
  text-decoration: underline;
}

.ch-full-loans-summary-body{
  padding: 12px 0 10px 20px;
}

.ch-full-loans-summary-row{
  margin: 12px 0;
}

.ch-full-loans-summary-row strong{
  display: block;
  margin-bottom: 6px;
}

.ch-full-loans-summary-row span{
  display: block;
}

.ch-full-loans-summary-additional{
  margin-top: 12px;
}

.ch-full-related-party-info{
  margin: 18px 0 28px;
}

.ch-full-related-party-block{
  margin: 18px 0 26px;
}

.ch-full-related-party-label{
  font-weight: 700;
  margin: 0 0 12px;
}

.ch-full-related-party-options{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ch-full-related-party-option{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #8a8d91;
  background: #f3f4f6;
  font-size: 1rem;
  cursor: pointer;
}

.ch-full-related-party-option--selected{
  background: #fff;
}

.ch-full-related-party-text{
  width: 100%;
  max-width: 280px;
  padding: 10px 12px;
  border: 2px solid #1f2b4d;
  border-radius: 4px;
  font-size: 18px;
}

.ch-full-related-party-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--ch-amount-input-width);
  column-gap: 16px;
  row-gap: 12px;
  align-items: start;
  margin: 14px 0 26px;
}

.ch-full-related-party-row-input{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  justify-self: end;
  width: var(--ch-amount-input-width);
  box-sizing: border-box;
}

.ch-full-error-link{
  color: #b10e1e;
  text-decoration: underline;
}
.ch-footnotes-summary-list{ list-style: none; margin: 18px 0 24px; padding: 0; }
.ch-footnotes-summary-item{ display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #d1d5db; gap: 12px; flex-wrap: wrap; }
.ch-footnotes-summary-actions{ display: flex; align-items: center; gap: 8px; }

/* Accounts summary: expandable details, triangle, Completed, Edit, content rows */
.ch-accounts-summary-list{ margin: 18px 0 24px; }
.ch-accounts-summary-item{ border-bottom: 1px solid #e5e7eb; }
.ch-accounts-summary-top{
  display: flex;
  align-items: flex-start;
  gap: 12px 20px;
  flex-wrap: nowrap;
}
.ch-accounts-summary-details{
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  border-bottom: none;
  overflow: visible;
}
.ch-accounts-summary-details:not([open]) .ch-accounts-summary-content{
  display: none;
}
.ch-accounts-summary-summary{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  margin: 0;
  flex-wrap: nowrap;
  list-style: none;
  cursor: pointer;
  line-height: 1.35;
}
.ch-accounts-summary-meta{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  margin-left: auto;
  padding: 14px 0;
  line-height: 1.35;
  align-self: flex-start;
}
.ch-accounts-summary-summary::-webkit-details-marker{ display: none; }
.ch-accounts-summary-summary::before{
  content: "\25B6\00A0"; color: #1d70b8; font-size: 14px;
}
.ch-accounts-summary-details[open] .ch-accounts-summary-summary::before{
  content: "\25BC\00A0";
}
.ch-accounts-summary-title{ color: #1d70b8; text-decoration: none; font-weight: 700; }
.ch-accounts-summary-status{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.ch-accounts-summary-check{ color: #0b4f3b; font-weight: 700; }
.ch-accounts-summary-completed{ color: #0b4f3b; font-weight: 700; }
.ch-accounts-summary-edit{
  flex-shrink: 0;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  line-height: 1.35;
}
@media (max-width: 640px){
  .ch-accounts-summary-top{
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .ch-accounts-summary-meta{
    width: 100%;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 14px;
  }
}
.ch-accounts-summary-content{
  padding: 0 0 16px 24px;
  margin-left: 8px;
  margin-bottom: 8px;
  border-left: 3px solid #1d70b8;
  overflow: visible;
  box-sizing: border-box;
}
.ch-accounts-summary-row{
  display: block; margin: 10px 0; padding: 0;
}
.ch-accounts-summary-row strong{ display: block; margin-bottom: 2px; }
.ch-accounts-summary-row span{ display: block; color: #505a5f; }
.ch-accounts-summary-table-wrap{
  margin-top: 16px;
  overflow-x: auto;
  overflow-y: visible;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.ch-accounts-summary-pl-note-row td{
  color: #1d70b8;
  font-style: italic;
}
.ch-accounts-summary-table{
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}
.ch-accounts-summary-table th,
.ch-accounts-summary-table td{
  padding: 14px 12px;
  border-bottom: 1px solid #d1d5db;
  vertical-align: top;
  box-sizing: border-box;
  overflow: visible;
}
.ch-accounts-summary-table thead th{
  font-weight: 700;
  border-bottom: 2px solid #9ca3af;
  text-align: left;
}
.ch-accounts-summary-table thead th:first-child,
.ch-accounts-summary-table tbody td:first-child{
  width: 40%;
  min-width: 220px;
  padding-left: 4px;
  padding-right: 20px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.ch-accounts-summary-table thead th.ch-accounts-summary-head-num,
.ch-accounts-summary-table tbody td.ch-accounts-summary-num{
  width: 30%;
  min-width: 200px;
  padding-left: 24px;
  padding-right: 16px;
}
.ch-accounts-summary-head-num{
  text-align: right !important;
}
.ch-accounts-summary-head-num div{
  text-align: right;
  line-height: 1.35;
}
.ch-accounts-summary-head-num div:nth-child(2){
  font-weight: 400;
}
.ch-accounts-summary-num{
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  line-height: 1.35;
}
.ch-accounts-summary-total-row td{
  font-weight: 700;
}

/* Accounts summary: wider layout so balance sheet / P&L tables fit large figures */

/* Approve accounts: draft print/save actions */
.ch-draft-actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
  max-width: 520px;
}
.ch-draft-action-btn{
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #476DB0;
  border-radius: 8px;
  background: #fff;
  color: #1f2b4d;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
}
a.ch-draft-action-btn--link{
  appearance: none;
  text-decoration: none;
  color: inherit;
}
a.ch-draft-action-btn--link .ch-draft-action-btn__label{
  text-decoration: none;
  color: #1f2b4d;
}
.ch-draft-action-btn:hover,
.ch-draft-action-btn:focus{
  background: #f1f5ff;
  border-color: #365a8c;
  outline: none;
}
.ch-draft-action-btn:focus{
  box-shadow: 0 0 0 3px rgba(71, 109, 176, 0.15);
}
.ch-draft-action-btn__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #eef3fc;
  color: #476DB0;
}
.ch-draft-action-btn__text{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.ch-draft-action-btn__label{
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.ch-draft-action-btn__hint{
  font-size: 13px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.35;
}

/* Approve accounts: scrollable draft preview + document pages */
.ch-draft-preview{
  max-height: 720px;
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid #b1b4b6;
  border-radius: 4px;
  padding: 20px;
  margin: 16px 0;
  background: #f3f4f6;
}
.ch-draft-document{
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ch-draft-page{
  position: relative;
  background: #fff;
  border: 1px solid #d2d6dc;
  min-height: 980px;
  padding: 36px 40px 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.ch-draft-page-cover{
  display: flex;
  align-items: center;
  justify-content: center;
}
.ch-draft-preview-inner{
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: calc(980px - 84px);
}
.ch-draft-page-cover .ch-draft-preview-inner{
  min-height: 0;
  display: block;
}
.ch-draft-page-numbered .ch-draft-preview-inner{
  flex: 1 1 auto;
  min-height: calc(980px - 84px - 40px);
}
.ch-draft-page-content{
  flex: 1 0 auto;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}
.ch-draft-page-footer{
  flex: 0 0 auto;
  padding-top: 16px;
  text-align: center;
}
.ch-draft-page-number{
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #4b5563;
}
.ch-draft-watermark{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 96px;
  font-weight: 700;
  color: rgba(0,0,0,0.09);
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}
.ch-draft-cover-content{
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.ch-draft-cover-company{
  margin: 0 0 20px;
  font-size: 36px;
  letter-spacing: 0.02em;
}
.ch-draft-page-rule{
  border-top: 1px solid #c9cdd3;
  margin-bottom: 36px;
  flex-shrink: 0;
}
.ch-draft-page-title{
  margin: 0 0 8px;
  text-align: left;
  font-size: 20px;
  line-height: 1.25;
}
.ch-draft-page-company-info .ch-draft-page-title{
  text-align: center;
  font-size: 24px;
}
.ch-draft-page-subtitle{
  margin: 12px 0 40px;
  text-align: center;
  font-weight: 700;
  line-height: 1.45;
}
.ch-draft-preview-inner h3{ margin: 28px 0 14px; font-size: 20px; }
.ch-draft-preview-inner p{ margin: 10px 0; line-height: 1.6; }
.ch-draft-page-company-info .ch-draft-page-subtitle{
  margin-bottom: 48px;
}
.ch-draft-page-company-info .ch-draft-info-table{
  margin-top: 8px;
  margin-bottom: 32px;
}
.ch-draft-page-company-info .ch-draft-info-table th,
.ch-draft-page-company-info .ch-draft-info-table td{
  padding: 16px 10px;
  line-height: 1.65;
}
.ch-draft-page-company-info .ch-draft-info-table td div{
  margin-bottom: 6px;
}
.ch-draft-page-company-info .ch-draft-info-table td div:last-child{
  margin-bottom: 0;
}
.ch-draft-note{ margin-top: 22px; color: #505a5f; font-size: 14px; }
.ch-draft-contents-table,
.ch-draft-info-table,
.ch-draft-statement-table{
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}
.ch-draft-contents-table td{
  padding: 10px 0;
  border-bottom: 1px dotted #c9cdd3;
}
.ch-draft-contents-page{
  width: 64px;
  text-align: right;
  font-weight: 700;
}
.ch-draft-contents-link{
  color: inherit;
  text-decoration: none;
}
.ch-draft-contents-link:hover{
  text-decoration: underline;
}
.ch-draft-info-table th,
.ch-draft-info-table td{
  padding: 14px 10px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: left;
  line-height: 1.55;
}
.ch-draft-info-table th{
  width: 220px;
  font-weight: 700;
}
.ch-draft-statement-table th,
.ch-draft-statement-table td{
  padding: 10px 8px;
  border-bottom: 1px solid #d1d5db;
  text-align: left;
  vertical-align: top;
}
.ch-draft-statement-table thead th{
  font-weight: 700;
  border-bottom: 2px solid #9ca3af;
}
.ch-draft-statement-head-num{
  text-align: right !important;
}
.ch-draft-statement-year{
  display: block;
  text-align: right;
  line-height: 1.35;
}
.ch-draft-statement-year-separator{
  font-weight: 400;
}
.ch-draft-statement-currency{
  display: block;
  margin-top: 4px;
  text-align: right;
}
.ch-draft-num{
  text-align: right !important;
  white-space: nowrap;
  width: 150px;
}
.ch-draft-total-row td{
  font-weight: 700;
}
.ch-draft-statement-table--balance-sheet tbody td{
  border-bottom: none;
}
.ch-draft-statement-table--balance-sheet .ch-draft-total-row td{
  border-top: 3px double #1f2937;
  border-bottom: 3px double #1f2937;
}
.ch-draft-statement-table.ch-draft-statement-table--balance-sheet{
  table-layout: fixed;
}
.ch-draft-statement-table--balance-sheet .ch-draft-statement-label-col{
  width: auto;
  text-align: left;
}
.ch-draft-statement-table--balance-sheet .ch-draft-statement-head-num{
  width: 110px;
}
.ch-draft-statement-table--balance-sheet .ch-draft-notes-col--before-years{
  width: 44px;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.ch-draft-statement-table--balance-sheet .ch-draft-notes-col{
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  white-space: nowrap;
}
.ch-draft-back-to-bs-link{
  color: #1d70b8;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ch-draft-back-to-bs-icon{
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}
.ch-draft-statement-table--balance-sheet thead .ch-draft-notes-col,
.ch-draft-statement-table--balance-sheet tbody .ch-draft-notes-col{
  text-align: center !important;
}
.ch-draft-note-ref-link{
  display: block;
  width: 100%;
  text-align: center;
  color: #1d70b8;
  text-decoration: underline;
}
.ch-draft-text-section{
  margin: 18px 0 24px;
}
.ch-draft-text-section p{
  margin: 0;
  line-height: 1.6;
}
.ch-draft-bullets{
  margin: 16px 0 0 20px;
}
.ch-draft-bullets li{
  margin-bottom: 10px;
  line-height: 1.5;
}
.ch-draft-matrix-wrap{
  margin: 20px 0 28px;
}
.ch-draft-matrix-table th,
.ch-draft-matrix-table td{
  font-size: 15px;
}
.ch-draft-entry{
  margin: 24px 0 32px;
}
.ch-draft-entry-title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.ch-draft-entry-table{
  margin: 0;
  max-width: 640px;
}
.ch-draft-entry-table th{
  width: 42%;
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
  vertical-align: top;
}
.ch-draft-entry-table td{
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  line-height: 1.5;
}
.ch-draft-entry-table tr:last-child th,
.ch-draft-entry-table tr:last-child td{
  border-bottom: none;
}
.ch-draft-entry-list .ch-draft-entry + .ch-draft-entry{
  padding-top: 8px;
  border-top: 1px solid #d1d5db;
}
.ch-draft-reconciliation-intro{
  margin: 0 0 18px;
  line-height: 1.6;
}
.ch-llp-reconciliation-table th,
.ch-llp-reconciliation-table td{
  font-size: 14px;
  vertical-align: top;
}
.ch-llp-reconciliation-table thead th{
  font-weight: 700;
  text-align: left;
}
.ch-llp-reconciliation-table .ch-llp-reconciliation-label-col{
  min-width: 220px;
  width: 34%;
}
.ch-llp-reconciliation-table .ch-draft-num,
.ch-llp-reconciliation-table .ch-llp-reconciliation-total{
  text-align: right;
  white-space: nowrap;
}
.ch-llp-reconciliation-readonly{
  display: inline-block;
  min-width: 80px;
  padding: 8px 0;
  font-weight: 700;
}
.ch-llp-reconciliation-table .ch-pl-input{
  width: 100%;
  max-width: 160px;
}

@media print {
  body.ch-printing-draft .wrapper > .top-header,
  body.ch-printing-draft nav,
  body.ch-printing-draft footer,
  body.ch-printing-draft .alert,
  body.ch-printing-draft .ch-wizard > *:not(.ch-draft-preview){
    display: none !important;
  }
  body.ch-printing-draft .wrapper,
  body.ch-printing-draft .main-content,
  body.ch-printing-draft .main-content.container,
  body.ch-printing-draft .site-main,
  body.ch-printing-draft .ch-wizard{
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }
  .ch-draft-preview{
    max-height: none;
    overflow: visible;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
    background: #fff;
  }
  .ch-draft-document{
    gap: 0;
  }
  .ch-draft-page{
    min-height: 0 !important;
    height: auto;
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 24px 32px 32px;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .ch-draft-page:last-child{
    page-break-after: auto;
    break-after: auto;
  }
  .ch-draft-preview-inner{
    min-height: 0 !important;
  }
  .ch-draft-page-cover{
    min-height: 0 !important;
    display: block;
  }
  .ch-draft-watermark{
    display: none;
  }
}

.ch-draft-print-document .ch-draft-preview{
  max-height: none;
  overflow: visible;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: #fff;
}
.ch-draft-print-document .ch-draft-document{
  gap: 0;
}
/* Downloaded HTML uses ch_draft_pdf.css — keep minimal overrides here */
.ch-draft-print-document .ch-draft-watermark{
  display: none;
}