/*
  FILE: /assets/css/components/brodlin-window.css
  OWNER: Lead Developer. LAW: ЗАКОН-окна.md (Denis 28.11.2026).
  PURPOSE: one look for every popup window. Modules do not write their own window styles;
  the window families that already exist are brought to the one look here until they are rebuilt on it.
  Card: white, radius 24, soft shadow, no border, no dimmed backdrop. Width comes from the content.
  Header: title left, cross right, no icon, no line. Fields 33 px. Buttons 36 px, equal, centred.
  Inner tabs: plain text, active dark, others light, no line, no background.
*/

/* 1. The card */
html body .br-confirm__card,
html body .brodlin-link__card,
html body .brodlin-pdf-modal-card,
html body .brodlin-pf-win__card,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel),
html body #brodlinPdfVoicePopup,
html body dialog.brodlin-shortcuts {
  border: 0 !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important;
  overflow: hidden;
}

/* 2. No dimmed backdrop (law 18.11) */
html body .br-confirm__backdrop,
html body .brodlin-pdf-modal-backdrop,
html body .brodlin-link__backdrop,
html body .brodlin-link,
html body .brodlin-pf-win { background: transparent !important; backdrop-filter: none !important; }
html body dialog.brodlin-shortcuts::backdrop { background: transparent !important; }

/* 3. Width from the content */
html body .brodlin-link__card,
html body .brodlin-pdf-anchor-card,
html body .brodlin-pf-win__card { width: max-content !important; min-width: 380px; max-width: min(520px, calc(100vw - 32px)) !important; }
html body .brodlin-pdf-preview-card,
html body .brodlin-pdf-code-view-card { width: min(720px, calc(100vw - 32px)) !important; max-width: none !important; }

/* 4. Header: title left, cross right, no icon, no line */
html body .brodlin-link__head,
html body .brodlin-pdf-modal-head,
html body .brodlin-shortcuts__head,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-head,
html body .brodlin-pdf-voice-head {
  border: 0 !important;
  background: transparent !important;
  padding: 24px 24px 0 !important;
  min-height: 0 !important;
}
html body .brodlin-pdf-modal .brodlin-pdf-modal-head span.brodlin-pdf-dialog-head-icon.br2-fi,
html body .brodlin-pdf-dialog-head-icon,
html body #brodlinPdfVoicePopup .brodlin-pdf-voice-head span.brodlin-pdf-title-icon.br2-fi { display: none !important; }
html body .brodlin-link__title,
html body .brodlin-pdf-dialog-head-text,
html body .brodlin-pf-win__title,
html body #brodlin-shortcuts-title,
html body .brodlin-pdf-voice-title .brodlin-pdf-title-text {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  color: #14171c !important;
  white-space: normal;
}
html body .brodlin-pdf-voice-title { min-width: 0; padding-right: 28px; }

/* 5. Body and footer spacing */
html body .brodlin-link__body,
html body .brodlin-pdf-modal-body { padding: 16px 24px 24px !important; }
html body .brodlin-link__body { padding-bottom: 0 !important; }
html body .brodlin-pf-win__card { padding: 24px !important; }
html body .brodlin-link__footer,
html body .brodlin-pdf-modal-actions,
html body .brodlin-pf-win__foot,
html body .br-confirm__footer {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 0 !important;
  background: transparent !important;
}
html body .brodlin-link__footer { padding: 20px 24px 24px !important; }
html body .brodlin-pdf-modal-actions,
html body .brodlin-pf-win__foot { padding: 20px 0 0 !important; margin: 0 !important; }
html body .brodlin-link__spacer { display: none !important; }

/* 6. Fields: one height 33 px, no blue frame */
html body .brodlin-link__input,
html body .brodlin-pdf-modal-card .brodlin-pdf-input,
html body .brodlin-pf-win__card input:not([type="checkbox"]),
html body .brodlin-pf-win__card select,
html body .brodlin-pdf-voice-lang,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field,
html body .br2-keys-search {
  height: 33px !important;
  min-height: 33px !important;
  border: 1px solid #d0d5dd !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 14px !important;
  background-color: #fff !important;
}
html body .brodlin-link__input:focus,
html body .brodlin-pdf-modal-card .brodlin-pdf-input:focus,
html body .brodlin-pf-win__card input:not([type="checkbox"]):focus,
html body .brodlin-pf-win__card select:focus,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field:focus-within { border-color: #98a2b3 !important; box-shadow: none !important; outline: 0 !important; }

/* 7. Buttons: equal, 36 px, grey second, blue main (inside editors) */
html body .brodlin-link__button,
html body .brodlin-pdf-modal-actions .brodlin-pdf-btn,
html body .brodlin-pf-win__btn,
html body .br-confirm .br-confirm__button {
  height: 36px !important;
  min-width: 130px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}
html body .brodlin-link__button--cancel,
html body .brodlin-pdf-modal-actions .brodlin-pdf-btn:not(.brodlin-pdf-btn--primary),
html body .brodlin-pf-win__btn:not(.brodlin-pf-win__btn--main),
html body .br-confirm .br-confirm__button--cancel {
  background: #f2f4f7 !important;
  color: #14171c !important;
  font-weight: 400 !important;
}
html body .brodlin-link__button--cancel:hover,
html body .brodlin-pdf-modal-actions .brodlin-pdf-btn:not(.brodlin-pdf-btn--primary):hover,
html body .brodlin-pf-win__btn:not(.brodlin-pf-win__btn--main):hover,
html body .br-confirm .br-confirm__button--cancel:hover { background: #e4e7ec !important; }
html body .brodlin-link__button--apply,
html body .brodlin-pdf-modal-actions .brodlin-pdf-btn--primary,
html body .brodlin-pf-win__btn--main {
  background: #4D6EF0 !important;
  color: #fff !important;
  font-weight: 500 !important;
}

/* 8. Message window (confirm, done, error): everything centred, width from the text, 280 to 380 px */
html body .br-confirm__card {
  width: max-content !important;
  min-width: 280px;
  max-width: min(380px, calc(100vw - 32px)) !important;
  padding: 30px 24px 24px !important;
  text-align: center !important;
}
html body .br-confirm__title { margin: 0 !important; font-size: 22px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; text-align: center !important; }
html body .br-confirm__body { margin: 10px 0 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: #475467 !important; text-align: center !important; }
html body .br-confirm__footer { margin-top: 24px !important; }
/* one button: the whole width of the card, inside its padding */
html body .br-confirm__footer:not(:has(.br-confirm__button:not([hidden]) ~ .br-confirm__button:not([hidden]))) .br-confirm__button { width: 100% !important; }

/* 9. Inner tabs: text only */
html body .brodlin-link__types,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tabs { display: flex !important; flex-wrap: wrap !important; gap: 6px 18px !important; border: 0 !important; background: transparent !important; padding: 0 !important; }
html body .brodlin-link__type,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab {
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #98a2b3 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}
html body .brodlin-link__type.is-active,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab.is-on,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab.is-active,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab[aria-selected="true"],
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab[aria-pressed="true"] { color: #14171c !important; font-weight: 600 !important; }
html body .brodlin-link__type::after,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab::after { display: none !important; }

/* 10. Small windows of the editor */
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) { padding-bottom: 20px !important; }
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-head { padding: 20px 20px 0 !important; }
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-body { padding: 12px 20px 0 !important; }
html body #brodlinPdfVoicePopup { width: max-content !important; min-width: 240px; padding: 0 0 24px !important; }
html body .brodlin-pdf-voice-body { padding: 16px 24px 0 !important; }
/* Denis 28.11: the round button stays, the microphone inside it is bigger */
html body .brodlin-pdf-voice-record > * { transform: scale(2.2); }

/* 11. The cross: always in the top right corner of the header, same size everywhere */
html body .brodlin-link__head,
html body .brodlin-pdf-modal-head { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; }
html body .brodlin-link__x,
html body .brodlin-pdf-modal-head .brodlin-pdf-modal-x {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  flex: none !important; width: 28px !important; height: 28px !important; margin: 0 !important; padding: 0 !important;
  position: static !important; border: 0 !important; background: transparent !important; color: #667085 !important;
}
html body .brodlin-link__x .br2-fi,
html body .brodlin-pdf-modal-head .brodlin-pdf-modal-x .br2-fi { display: block !important; width: 20px !important; height: 20px !important; background-color: #667085 !important; }
html body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel).brodlin-pdf-find-replace-panel { border-radius: 24px !important; border: 0 !important; }

/* 12. Export window of Create PDF. The same side panel also shows "Access", so every rule is tied to export mode only. */
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel.brodlin-pdf-right-panel.is-open { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; overflow: hidden; }
html body .br2-exp-shade { background: transparent !important; backdrop-filter: none !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .brodlin-pdf-host-panel-head { border: 0 !important; background: transparent !important; padding: 24px 24px 0 !important; min-height: 0 !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-exp-footer { border: 0 !important; background: transparent !important; padding: 16px 24px 24px !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-exp-footer .brodlin-pdf-save-actions { display: flex !important; justify-content: center !important; gap: 8px !important; width: 100%; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .brodlin-pdf-save-input,
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .brodlin-pdf-save-select { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .brodlin-pdf-save-input:focus,
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .brodlin-pdf-save-select:focus { border-color: #98a2b3 !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-exp-footer .brodlin-pdf-btn { height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel button#brodlinPdfSaveCancel { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel button#brodlinPdfSaveCancel:hover { background: #e4e7ec !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel button#brodlinPdfSaveRun { background: #4D6EF0 !important; border-color: #4D6EF0 !important; color: #fff !important; font-weight: 500 !important; }
/* options (page size, margins, quality, range): text only, active dark, others light */
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-seg { display: flex !important; flex-wrap: wrap !important; gap: 6px 16px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-seg .br2-seg-item { flex: none !important; height: auto !important; min-height: 0 !important; padding: 2px 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #98a2b3 !important; font-size: 14px !important; font-weight: 400 !important; }
html[data-brodlin-pdf-ui].br2-exp-open body[data-host-mode="export"] aside#brodlinPdfRightPanel .br2-seg .br2-seg-item.is-on { color: #14171c !important; font-weight: 600 !important; }

/* 13. Shortcuts window: header without the line */
html body dialog.brodlin-shortcuts[open] { border: 0 !important; border-radius: 24px !important; }
html body dialog.brodlin-shortcuts[open] .brodlin-shortcuts__head.brodlin-shortcuts__head { border: 0 !important; padding: 24px 24px 0 !important; }
html body dialog.brodlin-shortcuts[open] .brodlin-shortcuts__body.brodlin-shortcuts__body { padding: 16px 24px 24px !important; }

/* 14. New signature window (signature-capture): same card, text tabs, small style switch, equal buttons */
html body dialog.sc-dialog { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; width: max-content !important; max-width: min(560px, calc(100vw - 32px)) !important; padding: 0 !important; overflow: hidden; }
html body dialog.sc-dialog::backdrop { background: transparent !important; backdrop-filter: none !important; }
html body dialog.sc-dialog .sc-header { border: 0 !important; background: transparent !important; padding: 24px 24px 0 !important; }
html body dialog.sc-dialog .sc-title-row { min-height: 0 !important; height: auto !important; align-items: center !important; margin: 0 0 16px !important; }
html body dialog.sc-dialog .sc-title { font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body dialog.sc-dialog .sc-title-row .sc-icon-button { width: 28px !important; height: 28px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; color: #667085 !important; }
html body dialog.sc-dialog .sc-tabs { display: flex !important; gap: 6px 18px !important; height: auto !important; min-height: 0 !important; border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 !important; }
html body dialog.sc-dialog .sc-tab { flex: none !important; width: auto !important; height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important; color: #98a2b3 !important; font-size: 14px !important; font-weight: 400 !important; }
html body dialog.sc-dialog .sc-tab[aria-selected="true"] { color: #14171c !important; font-weight: 600 !important; }
html body dialog.sc-dialog .sc-tab::after,
html body dialog.sc-dialog .sc-tab::before { display: none !important; }
html body dialog.sc-dialog .sc-body { padding: 14px 24px 0 !important; }
html body dialog.sc-dialog .sc-draw-controls,
html body dialog.sc-dialog .sc-styles,
html body dialog.sc-dialog .sc-panel-draw { min-height: 0 !important; height: auto !important; }
html body dialog.sc-dialog .sc-styles { display: flex !important; gap: 14px !important; margin: 0 0 10px !important; }
html body dialog.sc-dialog .sc-style { height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0 !important; color: #98a2b3 !important; font-size: 12px !important; font-weight: 400 !important; }
html body dialog.sc-dialog .sc-style[aria-pressed="true"],
html body dialog.sc-dialog .sc-style[aria-selected="true"],
html body dialog.sc-dialog .sc-style[aria-checked="true"] { color: #14171c !important; font-weight: 600 !important; }
html body dialog.sc-dialog .sc-service-row { min-height: 0 !important; height: auto !important; margin-top: 10px !important; align-items: center !important; }
html body dialog.sc-dialog .sc-remember { min-height: 0 !important; height: auto !important; }
html body dialog.sc-dialog .sc-service-actions .sc-icon-button { width: 28px !important; height: 28px !important; min-width: 0 !important; min-height: 0 !important; padding: 0 !important; }
html body dialog.sc-dialog .sc-button.sc-clear { height: auto !important; min-height: 0 !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #667085 !important; font-size: 13px !important; font-weight: 400 !important; }
html body dialog.sc-dialog .sc-footer { display: flex !important; justify-content: center !important; gap: 8px !important; border: 0 !important; background: transparent !important; padding: 20px 24px 24px !important; }
html body dialog.sc-dialog .sc-footer .sc-button { height: 36px !important; min-height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; line-height: 1 !important; box-shadow: none !important; }
html body dialog.sc-dialog .sc-footer .sc-button:not(.sc-primary) { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }
html body dialog.sc-dialog .sc-footer .sc-button:not(.sc-primary):hover { background: #e4e7ec !important; }
html body dialog.sc-dialog .sc-footer .sc-button.sc-primary { background: #4D6EF0 !important; color: #fff !important; font-weight: 500 !important; }

/* 15. Create PDF service windows (sign in, my documents, cloud messages): same card, header, fields */
html body .brodlin-pdf-prod-modal { background: transparent !important; backdrop-filter: none !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__card { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; overflow: hidden; }
html body .brodlin-pdf-prod-modal--auth .brodlin-pdf-prod-modal__card { width: 380px !important; max-width: calc(100vw - 32px) !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__head { border: 0 !important; background: transparent !important; padding: 24px 24px 0 !important; min-height: 0 !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__head .br2-fi:not(.brodlin-pdf-prod-modal__close .br2-fi),
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__identity::before,
html body .brodlin-pdf-prod-modal .brodlin-pdf-dialog-head-text::before { display: none !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__title { font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__close { width: 28px !important; height: 28px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body .brodlin-pdf-prod-modal .brodlin-pdf-prod-modal__body { padding: 16px 24px 24px !important; }
html body .brodlin-pdf-prod-modal .auth-input { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body .brodlin-pdf-prod-modal .auth-input:focus { border-color: #98a2b3 !important; }
html body .brodlin-pdf-prod-modal .auth-pw { height: 33px !important; min-height: 33px !important; }
html body .brodlin-pdf-prod-modal .auth-eye { width: 27px !important; height: 27px !important; min-height: 0 !important; top: 3px !important; transform: none !important; border: 0 !important; background: transparent !important; }
html body .brodlin-pdf-prod-modal .auth-row { margin-bottom: 12px !important; }
html body .brodlin-pdf-prod-modal .auth-submit { height: 36px !important; border-radius: 8px !important; }

/* 16. Find / Replace small window: stronger selectors (the module rules carried an id) */
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel).brodlin-pdf-find-replace-panel { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 0 0 20px !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-head { border: 0 !important; background: transparent !important; padding: 20px 20px 0 !important; min-height: 0 !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-body { padding: 12px 20px 0 !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field,
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field:focus-within { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field:focus-within { border-color: #98a2b3 !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field input { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; }

/* 17. Finishing (28.11): field fits its frame, no grey band, cross on the title line, no double padding */
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .brodlin-pdf-find-replace-body { overflow: visible !important; height: auto !important; min-height: 0 !important; max-height: none !important; }
html[data-brodlin-pdf-ui] body section#brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-field input { height: 31px !important; min-height: 0 !important; }
html body .brodlin-pdf-modal-card .brodlin-pdf-modal-body { background: transparent !important; }
html body .brodlin-pdf-modal-card textarea { border: 1px solid #d0d5dd !important; border-radius: 8px !important; outline: 0 !important; box-shadow: none !important; }
html body .brodlin-pdf-modal-card textarea:focus { border-color: #98a2b3 !important; outline: 0 !important; }
html body .brodlin-pf-win__card > .brodlin-close { top: 22px !important; right: 22px !important; }
html body .brodlin-link__card { padding: 0 !important; }

/* 18. PDF editor windows (report, help, stamps, count marks, redact, protect): one dialog family */
html body dialog.web-editor-report { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 24px !important; }
html body dialog.web-editor-report.web-editor-guide { padding: 0 !important; }
html body dialog.web-editor-report::backdrop { background: transparent !important; backdrop-filter: none !important; }
html body dialog.web-editor-report header { border: 0 !important; background: transparent !important; align-items: center !important; margin-bottom: 14px !important; }
html body dialog.web-editor-report.web-editor-guide > header { padding: 24px 24px 0 !important; margin-bottom: 0 !important; }
html body dialog.web-editor-report header h2 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body dialog.web-editor-report .web-report-close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; flex: none !important; }
html body dialog.web-editor-report input:not([type="checkbox"]):not([type="radio"]):not([type="color"]):not([type="range"]),
html body dialog.web-editor-report select { height: 33px !important; min-height: 33px !important; padding: 0 10px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; background-color: #fff !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body dialog.web-editor-report textarea { border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body dialog.web-editor-report input:focus,
html body dialog.web-editor-report select:focus,
html body dialog.web-editor-report textarea:focus { border-color: #98a2b3 !important; }
html body dialog.web-editor-report label,
html body dialog.web-editor-report legend,
html body dialog.web-editor-report p { font-size: 14px !important; }
html body dialog.web-editor-report fieldset { border: 0 !important; padding: 12px 0 0 !important; margin: 0 !important; }
/* buttons: 36 px, radius 8, grey second; the footer button is the main one */
html body dialog.web-editor-report .web-redact-action,
html body dialog.web-editor-report form > footer button { height: 36px !important; min-height: 36px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; background: #f2f4f7 !important; color: #14171c !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1 !important; box-shadow: none !important; }
html body dialog.web-editor-report .web-redact-action:hover { background: #e4e7ec !important; }
html body dialog.web-editor-report form > footer { display: flex !important; justify-content: center !important; margin-top: 20px !important; }
html body dialog.web-editor-report form > footer button { width: 100% !important; background: #4D6EF0 !important; color: #fff !important; font-weight: 500 !important; }
html body dialog.web-editor-report .web-stamp-choice { height: 33px !important; border-radius: 8px !important; font-size: 14px !important; }
/* help: tabs as text */
html body dialog.web-editor-report .web-help-tabs { display: flex !important; gap: 18px !important; padding: 14px 24px 0 !important; border: 0 !important; background: transparent !important; }
html body dialog.web-editor-report .web-help-tabs button { flex: none !important; width: auto !important; height: auto !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #98a2b3 !important; font-size: 14px !important; font-weight: 400 !important; }
html body dialog.web-editor-report .web-help-tabs button[aria-selected="true"] { color: #14171c !important; font-weight: 600 !important; }
html body dialog.web-editor-report.web-editor-guide > section { padding: 14px 24px 24px !important; }
html body dialog.web-editor-report header .web-report-close.brodlin-close,
html body dialog.web-editor-report header .web-report-close.brodlin-close:hover,
html body dialog.web-editor-report header .web-report-close.brodlin-close:focus { background: transparent !important; box-shadow: none !important; outline: 0 !important; }
html body .br-confirm,
html body .br-confirm .br-confirm__card,
html body .br-confirm .br-confirm__card:focus,
html body dialog.web-editor-report:focus,
html body dialog.brodlin-shortcuts:focus { outline: 0 !important; }
html body .br-confirm .br-confirm__card { border: 0 !important; }
html body dialog.brodlin-shortcuts input[type="search"],
html body dialog.brodlin-shortcuts input[type="text"] { height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; background: #fff !important; }

/* 19. Thanks window (after download): same card, no dimming */
html body .brodlin-thanks__box { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; outline: 0 !important; }
html body .brodlin-thanks__backdrop { background: transparent !important; backdrop-filter: none !important; }
html body .brodlin-thanks__title { font-size: 22px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .brodlin-thanks__text { font-size: 15px !important; line-height: 1.5 !important; color: #475467 !important; }
html body .brodlin-thanks__close.brodlin-close { background: transparent !important; color: #667085 !important; }

/* 20. Account: Share window (My files, videos) */
html body .acc-share-modal__backdrop { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .acc-share-modal__panel { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 24px !important; }
html body .acc-share-modal__head { padding: 0 !important; margin: 0 0 16px !important; border: 0 !important; }
html body .acc-share-modal__head > img { display: none !important; }
html body .acc-share-modal__head h2 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .acc-share-modal__close { top: 22px !important; right: 22px !important; width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body .acc-share-link-card { border: 0 !important; background: transparent !important; padding: 0 !important; }
html body .acc-share-link-card__icon { display: none !important; }
html body .acc-share-modal__input { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }

/* 21. Account: Share document window (My documents) */
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__overlay { background: transparent !important; backdrop-filter: none !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__dialog { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 24px !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__head { border: 0 !important; padding: 0 !important; margin: 0 0 16px !important; text-align: left !important; justify-content: space-between !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__title { text-align: left !important; align-items: flex-start !important; justify-content: flex-start !important; margin: 0 !important; padding: 0 !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__title h2 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; text-align: left !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__title p { text-align: left !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-modal__close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-field input,
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-field select { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-actions { display: flex !important; justify-content: center !important; gap: 8px !important; margin-top: 20px !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-button { height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; }
html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-button--secondary { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }

/* 22. PDF editor: "Export file" is a window in the centre, not a side panel (Denis 28.11: «Да, в окна») */
html body aside.brodlin-pdf-fill-export-drawer.is-open { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important; width: min(480px, calc(100vw - 32px)) !important; height: auto !important; max-height: calc(100vh - 48px) !important; border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; }
html body .brodlin-pdf-fill-export-drawer__header { border: 0 !important; background: transparent !important; padding: 24px 24px 0 !important; flex: none !important; }
html body .brodlin-pdf-fill-export-drawer__header h2 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .brodlin-pdf-fill-export-drawer__close.brodlin-close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body .brodlin-pdf-fill-export-drawer__body { padding: 16px 24px 8px !important; overflow-y: auto !important; flex: 1 1 auto !important; min-height: 0 !important; }
html body .brodlin-pdf-fill-export-drawer__footer { display: flex !important; justify-content: center !important; gap: 8px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 16px 24px 24px !important; flex: none !important; }
html body .brodlin-pdf-fill-export-drawer__footer .brodlin-pdf-fill-export-action { height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; justify-content: center !important; }
html body .brodlin-pdf-fill-export-drawer__footer .brodlin-pdf-fill-export-action--secondary { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }
html body .brodlin-pdf-fill-export-drawer__footer .brodlin-pdf-fill-export-action--primary { background: #4D6EF0 !important; color: #fff !important; font-weight: 500 !important; }
html body .brodlin-pdf-fill-export-backdrop { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* 23. Crop: "Download" is a window in the centre, not a side panel */
html body dialog.cr-save[open] { position: fixed !important; inset: 0 !important; margin: auto !important; transform: none !important; width: min(440px, calc(100vw - 32px)) !important; height: fit-content !important; max-height: calc(100vh - 48px) !important; border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 0 !important; overflow: hidden !important; display: flex !important; flex-direction: column !important; }
html body dialog.cr-save::backdrop { background: transparent !important; backdrop-filter: none !important; }
html body dialog.cr-save > header { border: 0 !important; background: transparent !important; padding: 24px 24px 0 !important; flex: none !important; }
html body dialog.cr-save > header h2 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body dialog.cr-save > header .brodlin-close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body dialog.cr-save .dialog-body { padding: 16px 24px 24px !important; overflow-y: auto !important; flex: 1 1 auto !important; min-height: 0 !important; }
html body dialog.cr-save > header button#close-export.brodlin-close,
html body dialog.cr-save > header button#close-export.brodlin-close:hover { background: transparent !important; }

/* 24. Account: file "Details" is a window in the centre, not a side panel */
html body .details-panel .details-panel__backdrop { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .details-panel.is-open .details-panel__sheet { position: fixed !important; top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important; transform: translate(-50%, -50%) !important; width: min(420px, calc(100vw - 32px)) !important; height: auto !important; max-height: calc(100vh - 48px) !important; border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 24px !important; overflow-y: auto !important; }
html body .details-panel .details-panel__header { border: 0 !important; background: transparent !important; padding: 0 !important; margin: 0 0 14px !important; }
html body .details-panel .details-panel__header h2,
html body .details-panel .details-panel__header h3 { margin: 0 !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .details-panel .details-panel__close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }

/* 25. Account: profile photo window */
html body .avm { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .avm .avm__box { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 24px !important; }
html body .avm .avm__top { margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; }
html body .avm .avm__title { font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; text-align: left !important; }
html body .avm .avm__ghost { display: none !important; }
html body .avm .avm__top .brodlin-close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }

/* 26. Create PDF: "My documents" window */
html body .br2-docs-shade { background: transparent !important; backdrop-filter: none !important; }
html body .br2-docs-shade .br2-docs { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; overflow: hidden !important; }
html body .br2-docs .br2-docs-head { border: 0 !important; background: transparent !important; padding: 24px 24px 8px !important; }
html body .br2-docs .br2-docs-title { font-size: 18px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; }
html body .br2-docs .br2-docs-close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }
html body .br2-docs .br2-docs-search-input { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body .br2-docs .br2-docs-cat { background: transparent !important; border-radius: 0 !important; color: #98a2b3 !important; font-weight: 400 !important; }
html body .br2-docs .br2-docs-cat.is-on { color: #14171c !important; font-weight: 600 !important; }
html body .br2-docs .br2-docs-open,
html body .br2-docs .br2-docs-btn { height: 36px !important; min-height: 36px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; }
html body .br2-docs .br2-docs-btn { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }
html body .br2-docs .br2-docs-sort { height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; }

/* 27. Create PDF: small message windows of My documents (delete, rename, leave) */
html body .br2-dlg-shade { background: transparent !important; backdrop-filter: none !important; }
html body .br2-dlg-shade .br2-dlg { width: max-content !important; min-width: 280px !important; max-width: min(380px, calc(100vw - 32px)) !important; border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 30px 24px 24px !important; text-align: center !important; outline: 0 !important; }
html body .br2-dlg .br2-dlg-title { margin: 0 !important; font-size: 22px !important; font-weight: 600 !important; line-height: 1.25 !important; color: #14171c !important; text-align: center !important; }
html body .br2-dlg .br2-dlg-body { margin: 10px 0 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: #475467 !important; text-align: center !important; }
html body .br2-dlg .br2-dlg-input { width: 100% !important; height: 33px !important; min-height: 33px !important; margin: 16px 0 0 !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body .br2-dlg .br2-dlg-input:focus { border-color: #98a2b3 !important; }
html body .br2-dlg .br2-dlg-buttons { display: flex !important; flex-direction: row !important; justify-content: center !important; gap: 8px !important; margin: 24px 0 0 !important; }
html body .br2-dlg .br2-dlg-btn { width: auto !important; height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; line-height: 1 !important; box-shadow: none !important; }
html body .br2-dlg .br2-dlg-btn--plain { order: -1 !important; background: #f2f4f7 !important; color: #14171c !important; }
html body .br2-dlg .br2-dlg-btn--red { background: #ED1A38 !important; color: #fff !important; }
html body .br2-dlg .br2-dlg-btn--green { background: #16a34a !important; color: #fff !important; }

/* 28. Create PDF: "changed on another device" window */
html[data-brodlin-pdf-ui] body dialog.brd-conflict { width: max-content !important; max-width: min(460px, calc(100vw - 32px)) !important; border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; padding: 30px 24px 24px !important; text-align: center !important; outline: 0 !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict::backdrop { background: transparent !important; backdrop-filter: none !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict .brd-conflict-text { margin: 0 !important; font-size: 15px !important; line-height: 1.5 !important; color: #475467 !important; text-align: center !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict .brd-conflict-actions { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; margin: 24px 0 0 !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict .brd-conflict-actions .brodlin-pdf-btn { height: 36px !important; min-width: 130px !important; padding: 0 18px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict .brd-conflict-actions .brodlin-pdf-btn[data-v="new"] { background: #16a34a !important; color: #fff !important; }
html[data-brodlin-pdf-ui] body dialog.brd-conflict .brd-conflict-actions .brodlin-pdf-btn[data-v="overwrite"] { background: #ED1A38 !important; color: #fff !important; }

/* 29. Create PDF: URL field of "Insert image" (the menu itself is not changed): field 33 px, compact blue button */
html body .brodlin-pdf-imgmenu .brodlin-pdf-imgmenu-urlrow { align-items: center !important; gap: 8px !important; }
html body .brodlin-pdf-imgmenu .brodlin-pdf-imgmenu-input { height: 33px !important; min-height: 33px !important; border: 1px solid #d0d5dd !important; border-radius: 8px !important; box-shadow: none !important; outline: 0 !important; font-size: 14px !important; }
html body .brodlin-pdf-imgmenu .brodlin-pdf-imgmenu-input:focus { border-color: #98a2b3 !important; }
html body .brodlin-pdf-imgmenu .brodlin-pdf-imgmenu-btn.is-primary { height: 33px !important; min-height: 33px !important; padding: 0 14px !important; border: 0 !important; border-radius: 8px !important; background: #4D6EF0 !important; color: #fff !important; font-size: 14px !important; font-weight: 500 !important; }

/* 30. Inner tabs and text options do not jump (Denis 19.11: no jumping): the active one is dark with a thin stroke, same width as the others */
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab,
html body .brodlin-link__type,
html body dialog.sc-dialog .sc-tab,
html body dialog.sc-dialog .sc-style,
html body dialog.web-editor-report .web-help-tabs button,
html body .br2-seg .br2-seg-item { font-weight: 400 !important; -webkit-text-stroke: 0 transparent; }
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab[aria-selected="true"],
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab.is-on,
html body #brodlinPdfFindReplacePanel:not(.is-mobile-find-replace-panel) .br2-find-tab.is-active,
html body .brodlin-link__type.is-active,
html body dialog.sc-dialog .sc-tab[aria-selected="true"],
html body dialog.sc-dialog .sc-style[aria-pressed="true"],
html body dialog.sc-dialog .sc-style[aria-checked="true"],
html body dialog.web-editor-report .web-help-tabs button[aria-selected="true"],
html body .br2-seg .br2-seg-item.is-on { font-weight: 400 !important; color: #14171c !important; -webkit-text-stroke: .5px #14171c; }
html body dialog.web-editor-report > header,
html body dialog.web-editor-report form > header { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; }

/* 31. Loupe window (shared brodlin-loupe): same card, header without line, zoom choice as text */
html body .brodlin-loupe { border: 0 !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; overflow: hidden !important; }
html body .brodlin-loupe .brodlin-loupe__head { border: 0 !important; background: transparent !important; padding: 16px 16px 8px 20px !important; }
html body .brodlin-loupe .brodlin-loupe__head > :first-child { font-size: 16px !important; font-weight: 600 !important; color: #14171c !important; }
html body .brodlin-loupe .brodlin-loupe__z { height: auto !important; min-height: 0 !important; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #98a2b3 !important; font-weight: 400 !important; -webkit-text-stroke: 0 transparent; }
html body .brodlin-loupe .brodlin-loupe__z[aria-pressed="true"],
html body .brodlin-loupe .brodlin-loupe__z.is-on,
html body .brodlin-loupe .brodlin-loupe__z.is-active { color: #14171c !important; -webkit-text-stroke: .5px #14171c; }
html body .brodlin-loupe .brodlin-loupe__close { width: 28px !important; height: 28px !important; border: 0 !important; background: transparent !important; color: #667085 !important; }

/* 32. Count marks window: kind choice as text, active dark, others light, no blue (Denis 28.11) */
html body .brodlin-count-marks .brodlin-count-marks__kind { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #98a2b3 !important; font-weight: 400 !important; -webkit-text-stroke: 0 transparent; }
html body .brodlin-count-marks .brodlin-count-marks__kind[aria-pressed="true"] { color: #14171c !important; -webkit-text-stroke: .5px #14171c; }

/* 33. Phone bottom sheets of Create PDF: no dimming, rounded top, buttons one size (grey second, blue main) */
html body .brodlin-pdf-mobile-action-modal-overlay,
html body .brodlin-pdf-mobile-pages-sheet-backdrop { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .brodlin-pdf-mobile-action-sheet.open { border-radius: 24px 24px 0 0 !important; box-shadow: 0 -6px 24px rgba(16, 24, 40, .12) !important; }
html body .brodlin-pdf-mobile-action-sheet-btn,
html body .brodlin-pdf-mobile-pages-sheet-button { height: 36px !important; min-height: 36px !important; border: 0 !important; border-radius: 8px !important; font-size: 14px !important; box-shadow: none !important; }
html body .brodlin-pdf-mobile-action-sheet-btn-cancel,
html body .brodlin-pdf-mobile-pages-sheet-button--secondary { background: #f2f4f7 !important; color: #14171c !important; font-weight: 400 !important; }
html body .brodlin-pdf-mobile-action-sheet-btn-primary,
html body .brodlin-pdf-mobile-pages-sheet-button--primary { background: #4D6EF0 !important; color: #fff !important; font-weight: 500 !important; }

/* 34. No dimming behind the editor "Continue previous work?" window; cards never wider than the screen (phone) */
html body .br-confirm.brodlin-pdf-resume .br-confirm__backdrop,
html body .br-confirm .br-confirm__backdrop { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body .br-confirm__card,
html body .brodlin-link__card,
html body .brodlin-pdf-modal-card,
html body .brodlin-pf-win__card,
html body dialog.brodlin-shortcuts,
html body dialog.sc-dialog,
html body dialog.web-editor-report,
html body .brodlin-pdf-prod-modal__card,
html body .br2-dlg,
html body dialog.brd-conflict,
html body .brodlin-thanks__box,
html body .acc-share-modal__panel,
html body .brodlin-pdf-account-share-modal__dialog,
html body .avm .avm__box { box-sizing: border-box !important; }

/* 35. Law 18.11: buttons 8 px apart; on the phone the text buttons of a window stand in a column, full width (bottom sheets keep their row, Denis 28.11) */
@media (max-width: 600px) {
  html body .brodlin-link__footer,
  html body .brodlin-pdf-modal-actions,
  html body .brodlin-pf-win__foot,
  html body .br-confirm__footer,
  html body .br2-dlg .br2-dlg-buttons,
  html body dialog.brd-conflict .brd-conflict-actions,
  html body dialog.sc-dialog .sc-footer,
  html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-actions { flex-direction: column !important; align-items: stretch !important; }
  html body .brodlin-link__footer .brodlin-link__button,
  html body .brodlin-pdf-modal-actions .brodlin-pdf-btn,
  html body .brodlin-pf-win__foot .brodlin-pf-win__btn,
  html body .br-confirm__footer .br-confirm__button,
  html body .br2-dlg .br2-dlg-btn,
  html body dialog.brd-conflict .brd-conflict-actions .brodlin-pdf-btn,
  html body dialog.sc-dialog .sc-footer .sc-button,
  html body div.brodlin-pdf-account-share-modal .brodlin-pdf-account-share-button { width: 100% !important; min-width: 0 !important; }
  html body .br2-dlg .br2-dlg-btn--plain { order: 1 !important; }
}
html body .brodlin-pf-win .brodlin-pf-win__back { background: transparent !important; backdrop-filter: none !important; }

/* 36. Create PDF import: "What to do with the PDF?" and the editor window after a file is chosen: radius 24, law shadow, no dimming */
html[data-brodlin-pdf-ui] body .br-confirm.brpc-up .br-confirm__card,
html[data-brodlin-pdf-ui] body div#brodlinPdfDocModal { border: 0 !important; border-radius: 24px !important; box-shadow: 0 6px 24px rgba(16, 24, 40, .10) !important; }
html[data-brodlin-pdf-ui] body .br-confirm.brpc-up .br-confirm__backdrop,
html[data-brodlin-pdf-ui] body #brodlinPdfDocModalBackdrop { background: transparent !important; backdrop-filter: none !important; }
