@import url("./fill-editor-shell.css");
@import url("./fill-editor-toolbar.css");
@import url("./fill-editor-properties.css");
@import url("./fill-editor-responsive.css");
@import url("./tools/select.css");
@import url("./tools/add-text.css");
@import url("./tools/edit-text.css");
@import url("./tools/sign.css");
@import url("./tools/checkmark.css");
@import url("./tools/pencil.css");
@import url("./tools/highlight.css");
@import url("./tools/eraser.css");
@import url("./tools/annotate.css");
@import url("./tools/image.css");
@import url("./tools/ellipse.css");
@import url("./tools/shapes.css");
@import url("./tools/search.css");
@import url("./tools/zoom.css");
@import url("./tools/undo-redo.css");
@import url("./tools/done.css");
@import url("./tools/manage-pages.css");

.ipdf-fill-donor-close-button {
  position: relative;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font: 0/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  box-shadow: none;
  cursor: pointer;
  transition:
    background .16s ease,
    border-color .16s ease,
    box-shadow .16s ease,
    color .16s ease;
}

.ipdf-fill-donor-close-button::before,
.ipdf-fill-donor-close-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.ipdf-fill-donor-close-button::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.ipdf-fill-donor-close-button::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.ipdf-fill-donor-close-button:hover,
.ipdf-fill-donor-close-button:active {
  background: #e8eefc;
}

.ipdf-fill-donor-close-button:focus-visible {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, .18);
}

.ipdf-fill-donor-close-button .ipdf-fill-mobile-svg-icon {
  display: none;
}

.ipdf-fill-placeholder {
  display: grid;
  gap: 14px;
  max-width: 820px;
  padding: clamp(28px, 7vw, 72px) 0;
}

.ipdf-fill-placeholder__eyebrow {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ipdf-fill-placeholder h1 {
  color: #111827;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1;
  margin: 0;
}

.ipdf-fill-placeholder__subtitle {
  color: #374151;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.45;
  margin: 0;
  max-width: 720px;
}

.ipdf-fill-placeholder__status {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #334155;
  margin: 10px 0 0;
  max-width: 620px;
  padding: 14px 16px;
}

.ipdf-fill-upload,
.ipdf-fill-upload-result {
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  max-width: 620px;
  padding: 16px;
}

.ipdf-fill-upload__label {
  color: #111827;
  font-weight: 700;
}

.ipdf-fill-upload__input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111827;
  min-height: 44px;
  padding: 10px;
  width: 100%;
}

.ipdf-fill-upload__input:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ipdf-fill-upload__meta {
  color: #475569;
  font-size: 14px;
}

.ipdf-fill-upload-message {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #334155;
  margin: 0;
  max-width: 620px;
  padding: 14px 16px;
}

.ipdf-fill-upload-message--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.ipdf-fill-upload-result__label {
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ipdf-fill-upload-result h2,
.ipdf-fill-upload-result p {
  margin: 0;
}

.ipdf-fill-placeholder__link {
  align-items: center;
  background: #111827;
  border-radius: 8px;
  box-sizing: border-box;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  margin-top: 8px;
  min-height: 44px;
  padding: 0 18px;
  text-decoration: none;
  width: fit-content;
}

.ipdf-fill-placeholder__link:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] {
  --ipdf-fill-blue: #2563eb;
  --ipdf-fill-blue-strong: #1d4ed8;
  --ipdf-fill-blue-soft: rgba(37, 99, 235, .14);
  --ipdf-fill-stage: #080a10;
  --ipdf-fill-stage-panel: #0d1018;
  align-items: center;
  background: var(--ipdf-fill-stage);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  margin: 0;
  min-height: max(640px, calc(100vh - 96px));
  padding: clamp(34px, 6vw, 72px) 24px;
  text-align: center;
  width: 100%;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload,
.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-result {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
  padding: 0;
  text-align: center;
  width: 100%;
}

.ipdf-fill-upload-dropzone {
  align-items: center;
  background: var(--ipdf-fill-stage-panel);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .24);
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-height: 348px;
  padding: 46px 34px 42px;
  position: relative;
  text-align: center;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.ipdf-fill-upload-dropzone:hover,
.ipdf-fill-upload-dropzone:focus-within {
  background: #10131d;
  border-color: rgba(37, 99, 235, .54);
  box-shadow: 0 22px 60px rgba(37, 99, 235, .14);
}

.ipdf-fill-upload-dropzone__icon {
  align-items: center;
  background: transparent;
  border: 2px dashed rgba(96, 165, 250, .58);
  border-radius: 50%;
  color: #60a5fa;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
  width: 72px;
}

.ipdf-fill-upload-dropzone:hover .ipdf-fill-upload-dropzone__icon,
.ipdf-fill-upload-dropzone:focus-within .ipdf-fill-upload-dropzone__icon {
  background: transparent;
  border-color: #60a5fa;
  color: #93c5fd;
}

.ipdf-fill-upload-dropzone__icon .ipdf-fill-google-icon {
  font-size: 30px;
}

.ipdf-fill-upload-dropzone__title {
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 340px;
}

.ipdf-fill-upload-dropzone__text {
  color: rgba(255, 255, 255, .40);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 330px;
}

.ipdf-fill-upload-dropzone__button {
  align-items: center;
  background: var(--ipdf-fill-blue);
  border: 1px solid var(--ipdf-fill-blue);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 22px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .34);
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

.ipdf-fill-upload-dropzone:hover .ipdf-fill-upload-dropzone__button,
.ipdf-fill-upload-dropzone:focus-within .ipdf-fill-upload-dropzone__button {
  background: var(--ipdf-fill-blue-strong);
  border-color: var(--ipdf-fill-blue-strong);
  color: #ffffff;
  transform: translateY(-1px);
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder].is-upload-file-selected .ipdf-fill-upload-dropzone {
  display: none;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload__input {
  border: 0;
  cursor: pointer;
  inset: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  width: 100%;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload__input:focus-visible {
  outline: 0;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload__meta {
  color: rgba(255, 255, 255, .28);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.ipdf-fill-selected-file {
  align-items: center;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  box-shadow: none;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  text-align: left;
}

.ipdf-fill-selected-file[hidden] {
  display: none;
}

.ipdf-fill-selected-file__icon {
  align-items: center;
  background: rgba(37, 99, 235, .16);
  border: 1px solid rgba(96, 165, 250, .30);
  border-radius: 8px;
  color: #93c5fd;
  display: inline-flex;
  flex: 0 0 40px;
  font-size: 11px;
  font-weight: 900;
  height: 48px;
  justify-content: center;
}

.ipdf-fill-selected-file__info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ipdf-fill-selected-file__name {
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ipdf-fill-selected-file__size {
  color: rgba(255, 255, 255, .40);
  font-size: 12px;
  font-weight: 600;
}

.ipdf-fill-selected-file__remove {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: rgba(255, 255, 255, .48);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 28px;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.ipdf-fill-selected-file__remove:hover,
.ipdf-fill-selected-file__remove:focus-visible {
  background: rgba(37, 99, 235, .16);
  color: #93c5fd;
  outline: 0;
}

.ipdf-fill-upload__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link {
  align-items: center;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  margin-top: 0;
  min-height: 48px;
  padding: 0 24px;
  text-decoration: none;
  transition:
    background-color 120ms ease,
    border-color 120ms ease,
    color 120ms ease;
  white-space: nowrap;
  width: 100%;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link--primary {
  background: var(--ipdf-fill-blue);
  border-color: var(--ipdf-fill-blue);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, .28);
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link--primary:hover:not(:disabled) {
  background: var(--ipdf-fill-blue-strong);
  border-color: var(--ipdf-fill-blue-strong);
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link--primary:disabled {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .38);
  cursor: not-allowed;
  box-shadow: none;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link--secondary {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__link--secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-message,
.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-placeholder__status {
  background: rgba(37, 99, 235, .14);
  border: 1px solid rgba(37, 99, 235, .34);
  border-radius: 8px;
  color: #bfdbfe;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: 680px;
  padding: 12px 14px;
  text-align: left;
  width: 100%;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-message--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-message--notice {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .72);
}

.ipdf-fill-save-mode-card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  position: relative;
  text-align: left;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
  user-select: none;
}

.ipdf-fill-save-mode-card:hover {
  border-color: rgba(37, 99, 235, .42);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .10);
}

.ipdf-fill-save-mode-card.is-active {
  background: rgba(37, 99, 235, .12);
  border-color: rgba(96, 165, 250, .46);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, .08);
}

.ipdf-fill-save-mode-card.is-active:hover {
  border-color: var(--ipdf-fill-blue-strong);
  box-shadow: 0 8px 26px rgba(37, 99, 235, .16);
}

.ipdf-fill-save-mode-card__icon {
  align-items: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 9px;
  color: rgba(255, 255, 255, .52);
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease;
  width: 36px;
}

.ipdf-fill-save-mode-card.is-active .ipdf-fill-save-mode-card__icon {
  background: rgba(37, 99, 235, .18);
  border-color: rgba(96, 165, 250, .42);
  color: #93c5fd;
}

.ipdf-fill-save-mode-card__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ipdf-fill-save-mode-card__label {
  align-items: center;
  display: flex;
  gap: 8px;
}

.ipdf-fill-save-mode-card__title {
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.ipdf-fill-save-mode-card.is-active .ipdf-fill-save-mode-card__title,
.ipdf-fill-save-mode-card.is-active .ipdf-fill-save-mode-card__helper {
  color: #bfdbfe;
}

.ipdf-fill-save-mode-card__helper {
  color: rgba(255, 255, 255, .42);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}

.ipdf-fill-save-mode-card__switch {
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 40px;
  height: 22px;
  margin-left: auto;
  position: relative;
  transition: background-color 150ms ease;
  width: 40px;
}

.ipdf-fill-save-mode-card__switch::after {
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .18);
  content: "";
  height: 18px;
  left: 2px;
  position: absolute;
  top: 2px;
  transition: transform 150ms ease;
  width: 18px;
}

.ipdf-fill-save-mode-card__switch.is-on {
  background: var(--ipdf-fill-blue);
}

.ipdf-fill-save-mode-card__switch.is-on::after {
  transform: translateX(18px);
}

.ipdf-fill-save-mode-card__hit {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  inset: 0;
  padding: 0;
  position: absolute;
  z-index: 2;
}

.ipdf-fill-save-mode-card__hit:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.ipdf-fill-save-mode-local-note {
  align-items: flex-start;
  color: rgba(255, 255, 255, .48);
  display: flex;
  font-size: 12px;
  font-weight: 500;
  gap: 8px;
  line-height: 1.5;
  margin: -10px 2px 0;
  text-align: left;
}

.ipdf-fill-save-mode-local-note .ipdf-fill-google-icon {
  flex: 0 0 auto;
  margin-top: 1px;
}

.ipdf-fill-save-mode-toast-container {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  position: fixed;
  right: 20px;
  top: 20px;
  z-index: 1000;
}

.ipdf-fill-save-mode-toast {
  align-items: flex-start;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .14);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 10px;
  line-height: 1.5;
  max-width: 320px;
  opacity: 0;
  padding: 12px 16px;
  pointer-events: auto;
  transform: translateY(-8px);
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.ipdf-fill-save-mode-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ipdf-fill-save-mode-toast--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.ipdf-fill-save-mode-toast--neutral {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.ipdf-fill-save-mode-toast--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.ipdf-fill-save-mode-toast__icon {
  flex: 0 0 auto;
  font-size: 18px;
  margin-top: 1px;
}

.ipdf-fill-save-mode-card__hit,
.ipdf-fill-save-mode-card__switch,
.ipdf-fill-save-mode-card__icon,
.ipdf-fill-save-mode-card__content,
.ipdf-fill-save-mode-local-note {
  letter-spacing: 0;
}

.ipdf-fill-save-mode-local-note span {
  margin: 0;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-result__label {
  color: #166534;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-result h2,
.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder] .ipdf-fill-upload-result p {
  margin: 0;
}

.ipdf-fill-placeholder[data-ipdf-fill-editor-placeholder][hidden],
.ipdf-fill-workspace[hidden] {
  display: none !important;
}

.ipdf-fill-workspace {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 42px) 0;
}

.ipdf-fill-workspace__header {
  align-items: flex-start;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  min-width: 0;
}

.ipdf-fill-workspace__header h1 {
  color: #111827;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  margin: 0;
}

.ipdf-fill-workspace__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.ipdf-fill-workspace__actions .ipdf-fill-placeholder__link {
  margin-top: 0;
}

.ipdf-fill-project-meta {
  align-items: center;
  color: #475569;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 12px;
}

.ipdf-fill-project-meta span {
  background: #f8fafc;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  box-sizing: border-box;
  padding: 8px 10px;
}

.ipdf-fill-toolbar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.ipdf-fill-toolbar__button {
  align-items: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111827;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
}

.ipdf-fill-toolbar__button.is-active {
  background: #111827;
  border-color: #111827;
  color: #ffffff;
}

.ipdf-fill-toolbar__button.is-ready {
  border-color: #0f766e;
  color: #0f766e;
}

.ipdf-fill-toolbar__button--bold {
  font-weight: 800;
  min-width: 44px;
}

.ipdf-fill-toolbar__button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.ipdf-fill-toolbar__button:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ipdf-fill-style-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.ipdf-fill-color-palette {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(12, 24px);
}

.ipdf-fill-color-swatch {
  background: var(--ipdf-fill-swatch, #111827);
  border: 2px solid transparent;
  border-radius: 999px;
  box-sizing: border-box;
  cursor: pointer;
  height: 24px;
  padding: 0;
  width: 24px;
}

.ipdf-fill-color-swatch.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .22);
}

.ipdf-fill-color-swatch:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.ipdf-fill-color-swatch:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ipdf-fill-color-custom {
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 10px;
}

.ipdf-fill-color-custom__label {
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.ipdf-fill-color-custom__row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.ipdf-fill-color-custom-button {
  align-items: center;
  appearance: none;
  background: #ffffff;
  border: 1px solid #94a3b8;
  border-radius: 2px;
  box-sizing: border-box;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.ipdf-fill-color-custom-button:hover,
.ipdf-fill-color-custom-button:focus-visible {
  border-color: #2563eb;
  outline: none;
}

.ipdf-fill-color-custom-input {
  height: 1px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.ipdf-fill-color-swatch--custom-saved {
  border-radius: 2px;
  height: 26px;
  width: 52px;
}

.ipdf-fill-color-swatch--bright-red {
  --ipdf-fill-swatch: #ff2b16;
}

.ipdf-fill-color-swatch--bright-orange {
  --ipdf-fill-swatch: #ff9f0a;
}

.ipdf-fill-color-swatch--bright-yellow {
  --ipdf-fill-swatch: #fff200;
}

.ipdf-fill-color-swatch--bright-green {
  --ipdf-fill-swatch: #64b500;
}

.ipdf-fill-color-swatch--bright-blue {
  --ipdf-fill-swatch: #2f96e8;
}

.ipdf-fill-color-swatch--bright-magenta {
  --ipdf-fill-swatch: #f000d4;
}

.ipdf-fill-color-swatch--bright-pink {
  --ipdf-fill-swatch: #ff6f91;
}

.ipdf-fill-color-swatch--coral {
  --ipdf-fill-swatch: #ff8a65;
}

.ipdf-fill-color-swatch--pale-yellow {
  --ipdf-fill-swatch: #ffe680;
}

.ipdf-fill-color-swatch--light-green {
  --ipdf-fill-swatch: #9af48a;
}

.ipdf-fill-color-swatch--light-blue {
  --ipdf-fill-swatch: #8ab8f2;
}

.ipdf-fill-color-swatch--light-purple {
  --ipdf-fill-swatch: #db72e5;
}

.ipdf-fill-color-swatch--white {
  --ipdf-fill-swatch: #ffffff;
  border-color: #94a3b8;
}

.ipdf-fill-color-swatch--gray-light {
  --ipdf-fill-swatch: #d1d5db;
}

.ipdf-fill-color-swatch--gray {
  --ipdf-fill-swatch: #9ca3af;
}

.ipdf-fill-color-swatch--gray-dark {
  --ipdf-fill-swatch: #4b5563;
}

.ipdf-fill-color-swatch--black {
  --ipdf-fill-swatch: #000000;
}

.ipdf-fill-font-control {
  align-items: center;
  color: #334155;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  gap: 6px;
  min-width: 0;
}

.ipdf-fill-font-control__select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  color: #111827;
  min-height: 40px;
  min-width: 170px;
  padding: 0 10px;
}

.ipdf-fill-font-control__select:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.ipdf-fill-font-control__select:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

.ipdf-fill-toolbar__message,
.ipdf-fill-toolbar__save {
  color: #475569;
  font-size: 14px;
}

.ipdf-fill-toolbar__save {
  font-weight: 700;
}

.ipdf-fill-toolbar-status-module {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  min-width: 0;
}

.ipdf-fill-save-cloud-indicator {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #5f6368;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 0;
  font-weight: 400;
  inline-size: 30px;
  block-size: 30px;
  justify-content: center;
  line-height: 1;
  min-block-size: 30px;
  min-inline-size: 30px;
  padding: 0;
  transition: color .18s ease;
  white-space: nowrap;
}

.ipdf-fill-save-cloud-indicator::before {
  align-items: center;
  background: transparent;
  block-size: 16px;
  border-radius: 0;
  content: "cloud_done";
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Material Symbols Outlined";
  font-feature-settings: "liga";
  font-size: 16px;
  font-variation-settings:
    "FILL" 0,
    "wght" 220,
    "GRAD" 0,
    "opsz" 20;
  font-weight: 400;
  inline-size: 16px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  text-transform: none;
  white-space: nowrap;
}

.ipdf-fill-save-cloud-indicator[data-state="saved"],
.ipdf-fill-save-cloud-indicator[data-state="version-saved"] {
  color: #188038;
}

.ipdf-fill-save-cloud-indicator[data-state="saved"]::before,
.ipdf-fill-save-cloud-indicator[data-state="version-saved"]::before {
  content: "cloud_done";
}

.ipdf-fill-save-cloud-indicator[data-state="manual-saving"],
.ipdf-fill-save-cloud-indicator[data-state="autosaving"] {
  color: #6d28d9;
}

.ipdf-fill-save-cloud-indicator[data-state="manual-saving"]::before,
.ipdf-fill-save-cloud-indicator[data-state="autosaving"]::before {
  animation: ipdf-save-pulse 1s ease-in-out infinite;
  content: "sync";
}

.ipdf-fill-save-cloud-indicator[data-state="local-only"],
.ipdf-fill-save-cloud-indicator[data-state="local"],
.ipdf-fill-save-cloud-indicator[data-state="read-only"] {
  color: #667085;
}

.ipdf-fill-save-cloud-indicator[data-state="local-only"]::before,
.ipdf-fill-save-cloud-indicator[data-state="local"]::before,
.ipdf-fill-save-cloud-indicator[data-state="read-only"]::before {
  content: "cloud_off";
}

.ipdf-fill-save-cloud-indicator[data-state="error"],
.ipdf-fill-save-cloud-indicator[data-state="file-limit"],
.ipdf-fill-save-cloud-indicator[data-state="page-limit"] {
  color: #d93025;
}

.ipdf-fill-save-cloud-indicator[data-state="error"]::before,
.ipdf-fill-save-cloud-indicator[data-state="file-limit"]::before,
.ipdf-fill-save-cloud-indicator[data-state="page-limit"]::before {
  content: "cloud_off";
}

@keyframes ipdf-save-pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .5; }
  100% { transform: scale(1); opacity: 1; }
}

.ipdf-fill-account-mode-toggle {
  align-items: center;
  appearance: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  gap: 3px;
  justify-content: center;
  min-height: 30px;
  min-width: 132px;
  padding: 4px 7px 4px 10px;
  text-align: left;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease;
  white-space: nowrap;
}

.ipdf-fill-account-mode-toggle:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  box-shadow: none;
}

.ipdf-fill-account-mode-toggle.is-server {
  background: #ecfdf3;
  border-color: #86efac;
  box-shadow: none;
  cursor: not-allowed;
  color: #15803d;
}

.ipdf-fill-account-mode-toggle.is-server:hover {
  box-shadow: none;
  cursor: not-allowed;
}

.ipdf-fill-account-mode-toggle.is-saving {
  background: #f5f3ff;
  border-color: #c4b5fd;
  color: #6d28d9;
}

.ipdf-fill-account-mode-toggle[hidden] {
  display: none !important;
}

.ipdf-fill-account-mode-toggle:disabled {
  cursor: not-allowed;
}

.ipdf-fill-account-mode-toggle:disabled:not(.is-server) {
  background: #f8fafc;
  color: #64748b;
  opacity: 1;
}

.ipdf-fill-account-mode-toggle__label {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  justify-content: flex-start;
  line-height: 1.2;
  min-width: 0;
  overflow: visible;
}

.ipdf-fill-account-mode-toggle__switch {
  background: #cbd5e1;
  border: 1px solid #cbd5e1;
  flex: 0 0 30px;
  height: 16px;
  margin-left: 0;
  width: 30px;
}

.ipdf-fill-account-mode-toggle__switch::after {
  height: 12px;
  left: 1px;
  top: 1px;
  width: 12px;
}

.ipdf-fill-account-mode-toggle:disabled .ipdf-fill-account-mode-toggle__switch {
  cursor: not-allowed;
}

.ipdf-fill-account-mode-toggle.is-server .ipdf-fill-account-mode-toggle__switch {
  background: #16a34a;
  border-color: #16a34a;
  cursor: not-allowed;
}

.ipdf-fill-account-mode-toggle.is-server .ipdf-fill-account-mode-toggle__switch::after {
  transform: translateX(14px);
}

.ipdf-fill-account-mode-toggle.is-saving .ipdf-fill-account-mode-toggle__switch {
  background: #8b5cf6;
  border-color: #8b5cf6;
}

.ipdf-fill-text-layer-status {
  font-weight: 700;
  min-width: 0;
  overflow-wrap: anywhere;
}

.ipdf-fill-text-layer-status--ready {
  color: #0f766e;
}

.ipdf-fill-text-layer-status--muted {
  color: #64748b;
}

.ipdf-fill-text-layer-status--error {
  color: #991b1b;
}

.ipdf-fill-toolbar__save--error {
  color: #991b1b;
}

.ipdf-fill-render-shell {
  background: #f1f5f9;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  min-height: 320px;
  overflow: hidden;
  padding: clamp(12px, 3vw, 22px);
}

.ipdf-fill-render-status {
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #334155;
  padding: 14px 16px;
}

.ipdf-fill-render-status--loading {
  align-items: center;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: center;
  min-height: 72px;
  padding: 18px;
}

.ipdf-fill-render-status--loading::before {
  animation: ipdf-fill-preview-spin 760ms linear infinite;
  border: 3px solid rgba(109, 40, 217, .18);
  border-radius: 50%;
  border-top-color: #6d28d9;
  box-sizing: border-box;
  content: "";
  height: 28px;
  width: 28px;
}

@keyframes ipdf-fill-preview-spin {
  to {
    transform: rotate(360deg);
  }
}

.ipdf-fill-render-status--error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.ipdf-fill-page-list {
  align-items: center;
  display: grid;
  gap: 18px;
  justify-items: center;
  min-width: 0;
}

.ipdf-fill-page {
  display: grid;
  gap: 8px;
  justify-items: center;
  width: 100%;
}

.ipdf-fill-page__label {
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}

.ipdf-fill-page__canvas-wrap {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
  display: grid;
  justify-items: center;
  max-width: 100%;
  min-height: 160px;
  overflow: auto;
}

.ipdf-fill-page__stage {
  background: #ffffff;
  max-width: 100%;
  position: relative;
  touch-action: none;
}

.ipdf-fill-page__canvas-wrap canvas {
  background: #ffffff;
  display: block;
  height: auto;
  max-width: 100%;
}

.ipdf-fill-text-zone-layer,
.ipdf-fill-overlay-layer {
  inset: 0;
  position: absolute;
  touch-action: none;
}

.ipdf-fill-text-zone-layer {
  pointer-events: none;
  z-index: 1;
}

.ipdf-fill-text-zone-layer.is-active {
  pointer-events: auto;
}

.ipdf-fill-detected-text-zone {
  background: transparent;
  border: 1px dashed rgba(37, 99, 235, 0.1);
  border-radius: 2px;
  box-sizing: border-box;
  cursor: text;
  opacity: 0.2;
  padding: 0;
  position: absolute;
}

.ipdf-fill-detected-text-zone:focus-visible,
.ipdf-fill-detected-text-zone:hover {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.45);
  outline: 2px solid rgba(37, 99, 235, .18);
  outline-offset: 1px;
}

.ipdf-fill-detected-text-zone:active,
.ipdf-fill-detected-text-zone.is-tap-active {
  background: rgba(37, 99, 235, 0.16);
  border-color: rgba(37, 99, 235, 0.62);
}

.ipdf-fill-overlay-layer {
  pointer-events: none;
  z-index: 2;
}

.ipdf-fill-overlay-object {
  box-sizing: border-box;
  cursor: grab;
  display: block;
  min-width: 36px;
  pointer-events: auto;
  position: absolute;
  touch-action: none;
}

.ipdf-fill-overlay-object--detectedTextEdit {
  border: 0;
  font-synthesis: none;
  line-height: var(--ipdf-fill-detected-line-height-px, 1.02em);
  min-width: 0;
  outline: 0;
  --ipdf-fill-detected-baseline-y: var(--ipdf-fill-detected-glyph-offset-y, 0px);
}

.ipdf-fill-overlay-object.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, .18);
}

.ipdf-fill-overlay-object.is-initializing {
  transition: none;
}

.ipdf-fill-overlay-object.is-dragging,
.ipdf-fill-overlay-object.is-dragging *,
.ipdf-fill-overlay-object.is-resizing,
.ipdf-fill-overlay-object.is-resizing * {
  cursor: grabbing;
  user-select: none;
}

.ipdf-fill-text-overlay {
  background: transparent;
  border: 1px solid transparent;
  overflow: visible;
}

.ipdf-fill-overlay-object--detectedTextEdit.ipdf-fill-text-overlay {
  border: 0;
  min-width: 0;
  padding: 0;
}

.ipdf-fill-overlay-object--detectedTextEdit.ipdf-fill-text-overlay.is-selected {
  box-shadow: none;
  outline: 1px solid #2563eb;
  outline-offset: 5px;
}

.ipdf-fill-detected-font-warning {
  align-items: center;
  background: #fef3c7;
  border: 1px solid #d97706;
  border-radius: 999px;
  box-sizing: border-box;
  color: #92400e;
  cursor: help;
  display: flex;
  font: 700 9px/1 Arial, sans-serif;
  height: 12px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -15px;
  top: -15px;
  width: 12px;
  z-index: 3;
}

.ipdf-fill-detected-text-cover {
  background: var(--ipdf-fill-cover-color, #ffffff);
  bottom: calc(-1 * var(--ipdf-fill-cover-padding-y, 0px));
  left: calc(-1 * var(--ipdf-fill-cover-padding-x, 0px));
  pointer-events: none;
  position: absolute;
  right: calc(-1 * var(--ipdf-fill-cover-padding-x, 0px));
  top: calc(-1 * var(--ipdf-fill-cover-padding-y, 0px));
  z-index: 0;
}

.ipdf-fill-detected-source-cover {
  background: #ffffff;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.ipdf-fill-text-overlay__editor {
  background: var(--ipdf-fill-text-background-color, transparent);
  border: var(--ipdf-fill-text-border-width, 0) solid var(--ipdf-fill-text-border-color, transparent);
  box-sizing: border-box;
  color: inherit;
  display: block;
  font: inherit;
  line-height: 1.25;
  min-height: 32px;
  min-width: 0;
  outline: 0;
  overflow-wrap: anywhere;
  overflow: hidden;
  padding: 5px 6px;
  position: relative;
  resize: none;
  white-space: pre-wrap;
  width: 100%;
  z-index: 1;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-text-overlay__editor {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  direction: inherit;
  font: inherit;
  font-kerning: inherit;
  font-size: inherit;
  font-variant: inherit;
  letter-spacing: inherit;
  color: transparent;
  -webkit-text-fill-color: transparent;
  caret-color: var(--ipdf-fill-detected-text-color, #111827);
  inset: 0;
  position: absolute;
  z-index: 2;
  line-height: var(--ipdf-fill-detected-line-height-px, 1.02em);
  margin: 0;
  text-align: inherit;
  text-rendering: inherit;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  height: var(--ipdf-fill-detected-box-height-px, 100%);
  min-height: 0;
  overflow: hidden;
  overflow-wrap: normal;
  padding: 0;
  resize: none;
  scrollbar-width: none;
  transform: translateY(var(--ipdf-fill-detected-baseline-y, 0px)) scaleX(var(--ipdf-fill-detected-text-scale-x, 1));
  transform-origin: var(--ipdf-fill-detected-text-transform-origin, left top);
  white-space: pre;
  word-break: normal;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-detected-text-display {
  box-sizing: border-box;
  color: inherit;
  font: inherit;
  font-kerning: inherit;
  font-variant: inherit;
  font-weight: inherit;
  cursor: text;
  display: block;
  height: var(--ipdf-fill-detected-box-height-px, 100%);
  letter-spacing: inherit;
  line-height: var(--ipdf-fill-detected-line-height-px, 1.02em);
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: auto;
  position: relative;
  text-rendering: inherit;
  white-space: pre;
  width: 100%;
  z-index: 1;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-detected-text-glyphs {
  display: inline-block;
  box-sizing: border-box;
  font: inherit;
  font-kerning: inherit;
  font-variant: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: var(--ipdf-fill-detected-line-height-px, 1.02em);
  position: relative;
  text-rendering: inherit;
  top: auto;
  transform: translateY(var(--ipdf-fill-detected-baseline-y, 0px)) scaleX(var(--ipdf-fill-detected-text-scale-x, 1));
  transform-origin: var(--ipdf-fill-detected-text-transform-origin, left top);
  max-width: none;
  white-space: inherit;
  width: max-content;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-detected-text-display[hidden],
.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-text-overlay__editor[hidden] {
  display: none;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-text-overlay__editor::-webkit-scrollbar {
  display: none;
  height: 0;
  width: 0;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-text-overlay__editor::selection {
  background: rgba(37, 99, 235, .28);
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-text-overlay__editor::-moz-selection {
  background: rgba(37, 99, 235, .28);
  color: transparent;
}

.ipdf-fill-text-overlay__editor:focus {
  background: var(--ipdf-fill-text-background-color, transparent);
}

.ipdf-fill-overlay-object--checkmark {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  display: flex;
  justify-content: center;
}

.ipdf-fill-checkmark-overlay__mark {
  font-size: inherit;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.ipdf-fill-overlay-object--signature {
  background: transparent;
  border: 1px solid transparent;
}

.ipdf-fill-signature-overlay__image {
  display: block;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  width: 100%;
}

.ipdf-fill-resize-handle {
  background: #2563eb;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .18);
  box-sizing: border-box;
  display: none;
  height: 12px;
  padding: 0;
  position: absolute;
  width: 12px;
  z-index: 2;
}

.ipdf-fill-overlay-object.is-selected .ipdf-fill-resize-handle {
  display: block;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-resize-handle {
  border-width: 1px;
  box-shadow: none;
  height: 7px;
  margin: 0;
  min-height: 7px;
  min-width: 7px;
  opacity: 0;
  padding: 0;
  pointer-events: none;
  transition: none;
  width: 7px;
}

.ipdf-fill-overlay-object--detectedTextEdit.is-selected:hover .ipdf-fill-resize-handle,
.ipdf-fill-overlay-object--detectedTextEdit.is-selected.is-resizing .ipdf-fill-resize-handle {
  opacity: 1;
  pointer-events: auto;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-resize-handle--nw {
  left: -8px;
  top: -8px;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-resize-handle--ne {
  right: -8px;
  top: -8px;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-resize-handle--se {
  bottom: -8px;
  right: -8px;
}

.ipdf-fill-overlay-object--detectedTextEdit .ipdf-fill-resize-handle--sw {
  bottom: -8px;
  left: -8px;
}

.ipdf-fill-resize-handle--nw {
  cursor: nwse-resize;
  left: -7px;
  top: -7px;
}

.ipdf-fill-resize-handle--ne {
  cursor: nesw-resize;
  right: -7px;
  top: -7px;
}

.ipdf-fill-resize-handle--se {
  bottom: -7px;
  cursor: nwse-resize;
  right: -7px;
}

.ipdf-fill-resize-handle--sw {
  bottom: -7px;
  cursor: nesw-resize;
  left: -7px;
}

.ipdf-fill-signature-modal[hidden] {
  display: none;
}

.ipdf-fill-signature-modal {
  align-items: center;
  background: rgba(15, 23, 42, .42);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 1000;
}

.ipdf-fill-signature-modal__panel {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  box-sizing: border-box;
  display: grid;
  gap: 12px;
  max-width: 560px;
  padding: 16px;
  width: min(100%, 560px);
}

.ipdf-fill-signature-modal__header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.ipdf-fill-signature-modal__header h2 {
  color: #111827;
  font-size: 20px;
  line-height: 1.2;
  margin: 0;
}

.ipdf-fill-signature-modal__close {
  font-weight: 700;
}

.ipdf-fill-signature-modal__canvas {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
  height: 160px;
  touch-action: none;
  width: 100%;
}

.ipdf-fill-signature-modal__message {
  color: #475569;
  font-size: 14px;
  margin: 0;
}

.ipdf-fill-signature-modal__message--error {
  color: #991b1b;
}

.ipdf-fill-signature-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.ipdf-fill-page__pending {
  align-items: center;
  color: #64748b;
  display: flex;
  min-height: 160px;
  padding: 18px;
  text-align: center;
}

.ipdf-fill-workspace__create-link {
  justify-self: start;
}

.ipdf-fill-seo-shell {
  display: grid;
  gap: 14px;
  padding: 22px 0 16px;
}

.ipdf-fill-seo-shell__header {
  display: grid;
  gap: 10px;
}

.ipdf-fill-seo-shell__title {
  margin: 0;
  color: #111827;
  font-size: clamp(1.6rem, 2vw, 1.95rem);
  line-height: 1.2;
}

.ipdf-fill-seo-shell__lead {
  margin: 0;
  color: #374151;
  max-width: 860px;
}

.ipdf-fill-seo-shell__trust {
  margin: 0;
  color: #111827;
}

.ipdf-fill-seo-shell__cta {
  align-items: center;
  background: #3b82f6;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  min-height: 40px;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
}

.ipdf-fill-seo-shell__cta:hover,
.ipdf-fill-seo-shell__cta:focus-visible {
  background: #2563eb;
  outline: none;
}

.ipdf-fill-seo-shell__section {
  display: grid;
  gap: 8px;
}

.ipdf-fill-seo-shell__section-title {
  margin: 0;
  color: #111827;
  font-size: 1rem;
  line-height: 1.25;
}

.ipdf-fill-seo-shell__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: #374151;
}

.ipdf-fill-seo-shell__list--ordered {
  display: block;
  list-style-type: decimal;
}

.ipdf-fill-seo-shell__link {
  color: #1d4ed8;
}

.ipdf-fill-seo-shell__link:hover,
.ipdf-fill-seo-shell__link:focus-visible {
  color: #1e3a8a;
  outline: none;
}

@media (max-width: 640px) {
  .ipdf-fill-placeholder {
    padding-top: 24px;
  }

  .ipdf-fill-placeholder__link {
    width: 100%;
  }

  .ipdf-fill-workspace__header,
  .ipdf-fill-workspace__actions,
  .ipdf-fill-project-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .ipdf-fill-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ipdf-fill-toolbar__button {
    width: 100%;
  }

  .ipdf-fill-style-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .ipdf-fill-color-palette {
    grid-template-columns: repeat(6, minmax(24px, 1fr));
  }

  .ipdf-fill-color-swatch {
    justify-self: center;
  }

  .ipdf-fill-font-control {
    align-items: stretch;
    flex-direction: column;
  }

  .ipdf-fill-font-control__select {
    width: 100%;
  }

  .ipdf-fill-workspace__actions {
    justify-content: stretch;
  }

  .ipdf-fill-project-meta span {
    width: 100%;
  }

  .ipdf-fill-workspace__create-link {
    justify-self: stretch;
  }
}
