/**
 * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */
:root{
  --ck-color-pagination-divider:#ababab;
}

.ck.ck-pagination_enabled.ck-content .page-break:after{
  display:none;
}

.ck.ck-pagination_enabled.ck-pagination-view > .ck-content{
  box-sizing:border-box;
  width:auto;
  min-width:auto;
  max-width:none;
  height:auto;
  min-height:auto;
  max-height:none;
  overflow:unset;
  border:none;
  margin:0;
  padding:0;
}

.ck.ck-pagination_enabled.ck-pagination-view .ck-widget__type-around, .ck.ck-pagination_enabled.ck-pagination-view .ck-fake-selection-container, .ck.ck-pagination_enabled.ck-pagination-view .ck-widget__selection-handle, .ck.ck-pagination_enabled.ck-pagination-view .ck-widget__resizer, .ck.ck-pagination_enabled.ck-pagination-view .ck-table-column-resizer{
  display:none;
}

.ck.ck-pagination_enabled.ck-pagination-view .ck-widget{
  outline:none;
}

.ck.ck-pagination_enabled.ck-pagination-view .ck-editor__nested-editable:not(td, th){
  border:0;
}

.ck.ck-pagination_enabled.ck-pagination-view p:first-child{
  padding-top:0;
}

.ck.ck-pagination_enabled.ck-pagination-view :has( + .page-break){
  margin-bottom:0;
}

.ck.ck-pagination_enabled.ck-pagination-view .page-break{
  break-after:column;
  height:0;
  margin:0;
  padding:0;
  display:block;
}

.ck.ck-pagination_enabled.ck-pagination-view .page-break .page-break__label, .ck.ck-pagination_enabled.ck-pagination-view .page-break:after{
  display:none;
}

.ck.ck-pagination_enabled.ck-pagination-view .table table{
  overflow:initial;
}

.ck.ck-pagination_enabled.ck-pagination-view blockquote{
  overflow:initial;
  display:flow-root;
}

.ck.ck-pagination_enabled.ck-pagination-view .ck-bookmark{
  width:0;
  height:0;
  overflow:hidden;
}

.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):has( > figcaption) > table{
  width:fit-content;
  height:fit-content;
}

.ck.ck-pagination_enabled.ck-pagination-view figure.table:not(.layout-table):not(:has( > figcaption)){
  width:fit-content;
  display:block;
}

.ck.ck-pagination_enabled.ck-pagination-view .table-of-contents{
  border:0;
}

.ck.ck-pagination_enabled.ck-pagination-view .table-of-contents ol li{
  overflow:visible;
}

.ck.ck-page-navigator{
  padding:0 var(--ck-spacing-standard);
  line-height:1;
}

.ck.ck-page-navigator > .ck-input-number{
  width:var(--ck-ui-component-min-height);
  min-width:var(--ck-ui-component-min-height);
  text-align:center;
  -moz-appearance:textfield;
  background:none;
}

.ck.ck-page-navigator > .ck-input-number::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.ck.ck-page-navigator > .ck-input-number::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.ck.ck-page-navigator > .ck-input-number:not(:focus){
  border:1px solid #0000;
  border-bottom:1px solid var(--ck-color-base-border);
}

.ck.ck-page-navigator > span:before{
  content:"/";
  margin:0 var(--ck-spacing-standard);
}

.ck.ck-pagination-view-line{
  border-top:1px dotted var(--ck-color-pagination-divider);
  pointer-events:none;
  height:0;
  position:absolute;
}

.ck.ck-pagination-view-line:after{
  content:attr(data-page-number);
  color:var(--ck-color-base-background);
  text-align:center;
  min-width:18px;
  padding:var(--ck-spacing-tiny) var(--ck-spacing-medium);
  background:#c4c4c4;
  font-size:10px;
  display:inline-block;
  position:absolute;
  top:-1px;
  right:-1px;
  transform:translateX(100%);
}
