/* #024 report adapter. Component-scoped formal #029 base/grid rules from the
   unchanged Frozen dependency, without its test-page global :root/body rules.
   #029/#048/#054 source assets MUST NOT be modified. */
.bone-numberbox{--btb-text:#eef6ff;--btb-placeholder:#71839c;--btb-border:#64748b;--btb-accent:#5ba6ff;--btb-focus-glow:rgba(91,166,255,.18);--btb-effect-color:var(--btb-accent);--btb-effect-duration:1.2s;--bone-numberbox-background:#0c1420;position:relative;min-width:0;max-width:100%}
.bone-numberbox[data-theme="dark"]{--btb-text:#f1f6ff;--btb-placeholder:#7f91aa;--btb-border:#52657f;--btb-accent:#68d6ff;--btb-focus-glow:rgba(104,214,255,.20)}
.bone-numberbox[data-theme="light"]{--btb-text:#172033;--btb-placeholder:#6b7280;--btb-border:#8996a8;--btb-accent:#2457d6;--btb-focus-glow:rgba(36,87,214,.17)}
.bone-numberbox[data-theme="neon"]{--btb-text:#e9fdff;--btb-placeholder:#69a7b5;--btb-border:#1c8ca2;--btb-accent:#35f4ff;--btb-focus-glow:rgba(53,244,255,.25);filter:drop-shadow(0 0 5px rgba(53,244,255,.10))}
.bone-numberbox__control{position:relative;width:100%;height:var(--btb-control-height,44px);min-width:0;border-radius:inherit}
.bone-numberbox__input{position:relative;z-index:1;width:100%;height:100%;min-width:0;padding:10px 12px;color:var(--btb-text);border-color:var(--btb-border);background:var(--bone-numberbox-background);transition:border-color .12s,box-shadow .12s,background .12s,color .12s,border-radius .12s;font:inherit;outline:none}
.bone-numberbox__input::placeholder{color:var(--btb-placeholder)}
.bone-numberbox[data-appearance="normal"] .bone-numberbox__input{border-width:1px;border-style:solid;border-radius:8px}.bone-numberbox[data-appearance="flat"] .bone-numberbox__input{border-width:1px;border-style:solid;border-radius:0;box-shadow:none}.bone-numberbox[data-appearance="borderless"] .bone-numberbox__input{border-color:transparent;border-radius:0;box-shadow:none}
.bone-numberbox.is-readonly .bone-numberbox__input{filter:saturate(.78)}
.bone-numberbox[data-inherit-parent="true"]{width:100%!important;height:100%;max-width:none;justify-self:stretch!important;align-self:stretch!important;color:var(--btb-parent-text,inherit);border:0!important;border-radius:var(--btb-parent-radius,inherit)}.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__control{width:100%;height:100%;border:0!important;border-radius:var(--btb-parent-radius,inherit)}.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__input{width:100%;height:100%;background:var(--btb-parent-background,inherit)!important;color:var(--btb-parent-text,inherit)!important;border:0!important;border-radius:var(--btb-parent-radius,inherit);box-shadow:none;text-align:var(--btb-parent-align,left)}.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__input::placeholder{color:var(--btb-parent-text,inherit);opacity:.58}.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__feedback{position:absolute;top:100%;left:0;right:0;z-index:9}
.bone-numberbox__input{font-variant-numeric:tabular-nums}
.bone-numberbox__voucher{position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:flex-end;overflow:hidden;padding:5px 10px;border:1px solid var(--btb-border);border-radius:8px;background:var(--bone-numberbox-background);color:var(--btb-text);font-variant-numeric:tabular-nums;line-height:1;cursor:text;user-select:none}.bone-numberbox__voucher[hidden]{display:none!important}.bone-numberbox__voucher-value{display:flex;align-items:stretch;justify-content:flex-end;width:100%;height:100%}.bone-numberbox__voucher-grid{display:flex;align-items:stretch;justify-content:flex-end;width:100%;max-width:100%;height:100%}.bone-numberbox__voucher-sign{flex:0 0 clamp(16px,.9em,32px);display:grid;place-items:center;height:100%;font-weight:700;text-align:center;white-space:pre}.bone-numberbox__voucher-yen{flex:0 0 clamp(16px,.9em,32px);display:grid;place-items:center;height:100%;font-weight:700;text-align:center;white-space:pre}.bone-numberbox__voucher-cell{flex:1 1 0;min-width:0;display:grid;place-items:center;height:100%;padding:0 .02em;text-align:center;white-space:pre}.bone-numberbox__voucher-glyph{font-weight:700}.bone-numberbox__voucher-separator{flex:0 0 0;align-self:stretch;width:0;min-width:0;display:grid;place-items:center;overflow:visible;color:transparent;font-weight:700;border-left:var(--btb-voucher-line-width,1px) solid var(--btb-voucher-line-color,#6ea3ff)}.bone-numberbox__voucher-separator[data-group-break="true"]{border-left-width:var(--btb-voucher-group-line-width,3px)}.bone-numberbox__voucher-separator--decimal,.bone-numberbox__voucher-separator[data-decimal-break="true"]{border-left-color:var(--btb-voucher-decimal-line-color,#d96a6a);border-left-width:var(--btb-voucher-decimal-line-width,2px)}.bone-numberbox__voucher[data-grid-lines="true"] .bone-numberbox__voucher-separator{color:transparent}.bone-numberbox__voucher[data-grid-lines="false"] .bone-numberbox__voucher-separator{border-left-color:transparent}.bone-numberbox__voucher[data-grid-lines="false"] .bone-numberbox__voucher-separator[data-group-break="true"],.bone-numberbox__voucher[data-grid-lines="false"] .bone-numberbox__voucher-separator[data-decimal-break="true"]{flex:0 0 .72em;width:.72em;min-width:.72em;color:currentColor}
.bone-numberbox__voucher[data-negative-red="true"] .bone-numberbox__voucher-glyph{color:#e5484d}.bone-numberbox[data-display-mode="voucher"] .bone-numberbox__control{cursor:text}.bone-numberbox[data-display-mode="voucher"].is-invalid .bone-numberbox__voucher{border-color:var(--btb-border);box-shadow:none}
.bone-numberbox[data-appearance="flat"] .bone-numberbox__voucher{border-radius:0}.bone-numberbox[data-appearance="borderless"] .bone-numberbox__voucher{border-color:transparent;border-radius:0;box-shadow:none}
.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__voucher{width:100%;height:100%;background:var(--btb-parent-background,inherit)!important;color:var(--btb-parent-text,inherit);border:0!important;border-radius:var(--btb-parent-radius,inherit);box-shadow:none}.bone-numberbox[data-inherit-parent="true"] .bone-numberbox__voucher[data-negative-red="true"] .bone-numberbox__voucher-glyph{color:#e5484d!important}
/* v270 #024 original voucher renderer geometry: do not freeze height to 36px.
   #029's own voucher grid/separators use height:100% of their parent;
   the parent is the REAL #048 table TD, never its shrinkable text wrapper.
   Therefore every digit separator tracks the TD height, including blanks.
   This is the #024 caller-level source of truth; Frozen #029 is unchanged. */
#bf024-calendar-formal054-host .bf024-report-table td.bf024-report-money-cell{
  position:relative!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  padding:0!important;
  vertical-align:middle!important;
}
#bf024-calendar-formal054-host .bf024-report-table td.bf024-report-money-cell > .bone-table__cell-content{
  visibility:hidden!important;
  pointer-events:none!important;
}
#bf024-calendar-formal054-host .bf024-report-table td.bf024-report-money-cell > .bf024-report-money-overlay{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  max-width:none!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  display:block!important;
  z-index:2;
  pointer-events:none!important;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay > .bf024-report-numberbox,
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__control,
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher,
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher-value,
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher-grid{
  box-sizing:border-box!important;
  width:100%!important;
  height:100%!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay > .bf024-report-numberbox{
  display:block!important;
  --btb-parent-background:#f8fbff;
  --btb-parent-text:#17344f;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher{
  inset:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  cursor:default!important;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher-grid{
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher-cell{
  flex:1 1 0!important;
  min-width:0!important;
  max-width:none!important;
  height:100%!important;
}
#bf024-calendar-formal054-host .bf024-report-money-overlay .bone-numberbox__voucher-separator{
  align-self:stretch!important;
  height:100%!important;
}
#bf024-calendar-formal054-host .bf024-report-numberbox-anchor{display:none!important}
/* Both orientations preserve the #048 column geometry; no change to time columns. */
#bf024-calendar-formal054-host .bf024-report-table:not([data-axis="vertical"]) [data-column-key="income"],
#bf024-calendar-formal054-host .bf024-report-table:not([data-axis="vertical"]) [data-column-key="expense"]{
  min-width:156px!important;
}
