.ic-shell {
  padding-bottom: 70px;
  background: var(--bg);
}
.ic-intro {
  padding-bottom: 0;
}
.ic-intro .pdf-hero {
  width: 100%;
  max-width: 970px;
  margin: 40px auto 28px;
}
.ic-intro .pdf-hero > p {
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
  text-wrap: pretty;
}
.ic-intro .pdf-small-icon {
  color: var(--brand);
}
.ic-intro .pdf-eyebrow,
.ic-public-content .guide-kicker {
  color: color-mix(in srgb, var(--brand) 90%, var(--text));
}
.ic-intro .pdf-hero h1 .ic-title {
  color: var(--text);
}
.ic-intro .pdf-trust {
  max-width: 970px;
  margin: 23px auto 0;
  gap: 10px 12px;
  align-items: center;
}
.ic-intro .pdf-trust > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 100%;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  line-height: 1.6;
}
.ic-intro .pdf-trust > span > i {
  flex: none;
  margin: 0;
  font-size: 12px;
}
.ic-public-content {
  max-width: 1160px;
  padding-top: 45px;
}
.ic-public-content .guide-benefits {
  margin-top: 12px;
}
.ic-public-content .guide-benefit h2 {
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}
.ic-public-content .tool-guide {
  margin-top: 24px;
}
.ic-public-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ic-upload-frame {
  position: relative;
  width: min(1100px, calc(100% - clamp(32px, 6vw, 88px)));
  margin: 0 auto;
  overflow: hidden;
  border: 1.5px dashed color-mix(in srgb, var(--brand) 35%, var(--border));
  border-radius: 22px;
  background: var(--surface);
}
.ic-upload-frame:focus-within {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.ic-upload-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
.ic-parent-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  pointer-events: none;
  color: var(--muted);
}
html:has(.ic-shell[data-image-view='workspace']),
body:has(.ic-shell[data-image-view='workspace']) {
  height: 100%;
  overflow: hidden !important;
}
body:has(.ic-shell[data-image-view='workspace'])
  > :not(#main-content):not(script):not(style):not(dialog) {
  display: none !important;
}
.ic-shell[data-image-view='workspace'] {
  position: fixed;
  inset: 0;
  z-index: 1000;
  padding: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.ic-shell[data-image-view='workspace'] > .ic-intro,
.ic-shell[data-image-view='workspace'] > .ic-public-content {
  display: none;
}
.ic-shell[data-image-view='workspace'] > .ic-upload-frame {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  margin: 0;
  outline: 0;
}
.ic-shell[data-image-view='workspace'] iframe {
  height: 100%;
}
.ic-public-help {
  width: min(720px, 94vw);
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  color: var(--text);
  padding: 30px;
}
.ic-public-help::backdrop {
  background: #111b3570;
}
.ic-public-help h2 {
  font-size: clamp(25px, 5vw, 36px);
  line-height: 1.2;
}
.ic-public-help summary {
  font-weight: 650;
  padding: 13px 0;
  cursor: pointer;
}
.ic-public-help details {
  border-bottom: 1px solid var(--border);
}
.ic-public-help p,
.ic-public-help li {
  color: var(--muted);
}
.ic-public-help button {
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 10px;
  float: right;
}
.ic-public-help a {
  color: var(--brand);
}
@media (max-width: 650px) {
  .ic-shell {
    padding-bottom: 50px;
  }
  .ic-intro .pdf-hero {
    margin-top: 30px;
  }
  .ic-intro .pdf-hero h1 {
    font-size: clamp(30px, 8.5vw, 42px);
    letter-spacing: -1px;
  }
  .ic-intro .pdf-eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .ic-intro .pdf-hero > p {
    font-size: 13px;
  }
  .ic-intro .pdf-trust {
    gap: 8px;
    font-size: 10px;
  }
  .ic-upload-frame {
    border-radius: 18px;
  }
  .ic-upload-frame iframe {
    height: 240px;
  }
}
