@font-face {
  font-family: Inter;
  src: url("../../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: StudioDocument;
  src: url("vendor/fonts/NotoSans-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: Source Serif;
  src: url("../../assets/fonts/source-serif-4-var.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
:root {
  --bg: #f8f9fb;
  --surface: #fff;
  --ink: #243047;
  --muted: #646e80;
  --line: #e6e9ef;
  --accent: #5466d9;
  --soft: #edf0ff;
  --shadow: 0 16px 48px #27324a08;
  --canvas: #eef0f5;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #151a24;
  --surface: #1d2431;
  --ink: #e4e9f5;
  --muted: #a0aabc;
  --line: #333d50;
  --accent: #a2afff;
  --soft: #303956;
  --shadow: 0 16px 48px #0002;
  --canvas: #111722;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.6 Inter,
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.topbar {
  max-width: 1440px;
  margin: auto;
  padding: 24px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  letter-spacing: -0.7px;
}
.brand b {
  font-weight: 450;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-top: 1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: #596bdc;
  color: #fff;
  border-radius: 11px;
  width: 43px;
  height: 45px;
  font-size: 29px;
  font-weight: 600;
  position: relative;
}
.brand-mark span {
  position: absolute;
  font-size: 22px;
  right: 9px;
  bottom: 4px;
  color: #d1d8ff;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 12px;
}
.topbar nav a:hover {
  color: var(--accent);
}
.icon-button {
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: var(--surface);
  font-size: 19px;
}
main {
  max-width: 1260px;
  padding: 0 36px;
  margin: auto;
}
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 405px;
  padding: 54px 12px 42px;
  gap: 40px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow > span,
.local-badge > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #69aa97;
}
.hero h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.14;
  font-weight: 550;
  letter-spacing: -2.3px;
  margin: 22px 0 20px;
}
.hero h1 em {
  font-family:
    Source Serif,
    Georgia,
    serif;
  font-weight: 450;
  color: var(--accent);
}
.hero p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-art {
  position: relative;
  width: 410px;
  height: 290px;
  flex-shrink: 0;
}
.art-orbit {
  position: absolute;
  inset: 15px 30px;
  border: 1px solid #b9c4f238;
  border-radius: 50%;
  transform: rotate(-23deg);
  background: radial-gradient(ellipse, #b8c1ff24, transparent 70%);
}
.paper {
  position: absolute;
  width: 174px;
  height: 229px;
  border: 1px solid #e0e5f2;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 16px 35px #25335c12;
}
.paper-back {
  left: 79px;
  top: 21px;
  transform: rotate(-13deg);
  background: #e9edf8;
  padding: 38px 22px;
}
.paper-back i {
  height: 4px;
  background: #c5cde1;
  display: block;
  margin-bottom: 10px;
  width: 95px;
}
.paper-front {
  left: 151px;
  top: 34px;
  transform: rotate(9deg);
  padding: 23px 19px;
  color: #35415a;
}
.paper-label {
  font-size: 5px;
  letter-spacing: 1px;
  color: #8a93a7;
}
.paper-front strong {
  font-family:
    Source Serif,
    Georgia,
    serif;
  display: block;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin-top: 13px;
}
.paper-chart {
  height: 50px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin: 14px 0;
}
.paper-chart i {
  width: 18px;
  background: #9aa9ea;
  height: 40%;
  border-radius: 2px 2px 0 0;
}
.paper-chart i:nth-child(2) {
  height: 65%;
  background: #b6c2f0;
}
.paper-chart i:nth-child(3) {
  height: 53%;
  background: #d0d8f4;
}
.paper-chart i:nth-child(4) {
  height: 80%;
  background: #8599df;
}
.paper-chart i:nth-child(5) {
  height: 100%;
  background: #5c74d1;
}
.paper-lines {
  height: 15px;
  background: repeating-linear-gradient(
    to bottom,
    #e6eaf2 0 2px,
    transparent 2px 6px
  );
}
.paper-footer {
  font-size: 5px;
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}
.art-tag {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 10px;
  padding: 10px 15px;
  box-shadow: var(--shadow);
  color: var(--accent);
}
.tag-one {
  top: 49px;
  right: 5px;
  transform: rotate(3deg);
}
.tag-two {
  bottom: 16px;
  left: 45px;
  transform: rotate(-4deg);
  color: #4e927e;
}
.trust-line {
  display: flex;
  gap: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 17px 12px;
  font-size: 10px;
  color: var(--muted);
}
.tools-section {
  padding: 43px 0 38px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.8px;
  font-weight: 550;
  margin: 9px 0 0;
}
.search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 7px 12px;
  color: var(--muted);
}
.search input {
  border: 0;
  background: none;
  outline: none;
  color: var(--ink);
  width: 180px;
  font-size: 11px;
}
.search > span {
  font-size: 20px;
}
.search kbd {
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10px;
  padding: 0 5px;
}
.filter-row {
  display: flex;
  gap: 8px;
  margin: 25px 0 19px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 7px 14px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}
.filter.active {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 2px 3px #00000003;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tool-card {
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 21px 20px 17px;
  border-radius: 10px;
  position: relative;
  min-height: 153px;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.tool-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.tool-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.tool-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: var(--tint, #edf0ff);
  color: var(--tone, #6578d7);
  font-size: 21px;
  line-height: 1;
}
.tool-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 13px 0 4px;
}
.tool-card p {
  font-size: 10px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.tool-arrow {
  position: absolute;
  right: 18px;
  top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.workspace {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 20px;
}
.workspace-heading {
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.workspace-heading h2 {
  font-size: 23px;
}
.workspace-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 7px 0 0;
  max-width: 660px;
}
.local-badge {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 11px;
}
.work-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
}
.work-main {
  padding: 26px;
  min-width: 0;
}
.dropzone {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed #bdc7e0;
  border-radius: 10px;
  background: var(--bg);
  padding: 28px;
  text-align: center;
  transition: background 0.2s;
}
.dropzone.dragging {
  background: var(--soft);
  border-color: var(--accent);
}
.upload-icon {
  font-size: 28px;
  color: var(--accent);
  width: 54px;
  height: 54px;
  background: var(--soft);
  border-radius: 15px;
  display: grid;
  place-items: center;
}
.dropzone h3 {
  font-size: 16px;
  letter-spacing: -0.4px;
  font-weight: 550;
  margin: 18px 0 3px;
}
.dropzone p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 19px;
}
.primary {
  border: 0;
  background: #5769d5;
  color: white;
  border-radius: 7px;
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 550;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.primary:hover:not(:disabled) {
  background: #4255c2;
}
.file-button {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.file-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-button:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.dropzone small {
  font-size: 9px;
  color: var(--muted);
  margin-top: 17px;
}
.settings {
  padding: 24px;
  border-left: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 55%, var(--surface));
  min-width: 0;
}
.settings-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
}
.settings-title h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 0;
}
.settings-title .tool-icon {
  width: 30px;
  height: 30px;
  font-size: 18px;
}
.field {
  display: block;
  font-size: 10px;
  font-weight: 550;
  margin: 14px 0;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  min-height: 36px;
}
.field textarea {
  resize: vertical;
  min-height: 76px;
}
.field input[type="color"] {
  padding: 3px;
}
.field small,
.option-note {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  display: block;
  line-height: 1.7;
  margin: 9px 0;
}
.field input[type="checkbox"] {
  display: inline;
  width: auto;
  min-height: 0;
  margin: 0 7px 0 0;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.export-summary {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
}
.export-summary strong {
  font-weight: 500;
  color: var(--ink);
}
.run-button {
  width: 100%;
}
#status {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
  overflow-wrap: anywhere;
}
#status.error {
  color: #c95353;
}
.small-note {
  font-size: 9px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 18px;
}
.download-link {
  font-size: 11px;
  color: var(--accent);
  text-decoration: underline;
}
progress {
  width: 100%;
  height: 5px;
  margin-top: 15px;
  accent-color: var(--accent);
}
.document-bar,
.page-toolbar,
.editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  margin-bottom: 12px;
}
.secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 10px;
}
.text-button {
  border: 0;
  background: none;
  padding: 5px 7px;
  color: var(--muted);
  font-size: 10px;
}
.text-button:hover {
  color: var(--accent);
}
.file-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 18px;
}
.file-row {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  background: var(--bg);
}
.file-row .file-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-row button {
  padding: 3px 6px;
}
.file-size {
  color: var(--muted);
  white-space: nowrap;
}
.pages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.page-card {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px;
  background: var(--bg);
  min-width: 0;
}
.page-card.active {
  border-color: var(--accent);
}
.page-preview {
  display: block;
  border: 0;
  background: var(--canvas);
  padding: 7px;
  width: 100%;
  height: 139px;
  border-radius: 4px;
  overflow: hidden;
}
.page-preview canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  box-shadow: 0 2px 7px #0001;
}
.page-preview .image-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.page-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  margin: 7px 0;
}
.page-label input {
  accent-color: var(--accent);
}
.page-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-actions {
  display: flex;
  justify-content: center;
  gap: 2px;
}
.page-actions button {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  padding: 1px 6px;
  font-size: 12px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
}
.editor {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 18px;
}
.editor > p {
  font-size: 11px;
  color: var(--muted);
}
.preview-stage {
  position: relative;
  max-width: 600px;
  margin: 15px auto;
  background: #fff;
  line-height: 0;
  box-shadow: 0 4px 20px #0001;
  touch-action: none;
}
.preview-stage > canvas {
  width: 100%;
  height: auto;
  display: block;
}
.marks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: crosshair;
}
.mark {
  position: absolute;
  pointer-events: none;
  line-height: 1.2;
  white-space: pre-wrap;
  font-family: StudioDocument, Arial, sans-serif;
}
.mark img {
  width: 100%;
  height: 100%;
}
.signature-pad {
  display: block;
  width: 100%;
  height: 100px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  touch-action: none;
}
.closing-note {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 42px 12px 45px;
}
.closing-note > span {
  font-size: 32px;
  color: #6a9e8c;
}
.closing-note h2 {
  font-size: 16px;
  letter-spacing: -0.3px;
}
.closing-note p {
  font-size: 11px;
  color: var(--muted);
  max-width: 620px;
  margin: 8px 0 0;
}
.closing-note a {
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 24px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
footer a {
  color: var(--ink);
}
footer a span {
  color: var(--muted);
  margin-left: 8px;
}
.skip {
  position: absolute;
  top: -80px;
  left: 20px;
  background: var(--surface);
  padding: 12px;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
.noscript {
  padding: 30px;
  text-align: center;
}
.form-field-name {
  overflow-wrap: anywhere;
}
@media (min-width: 1450px) {
  .hero {
    min-height: 430px;
  }
  .tool-card {
    min-height: 165px;
  }
}
@media (max-width: 1050px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-art {
    transform: scale(0.85);
    transform-origin: right center;
    width: 340px;
  }
  .hero {
    gap: 10px;
  }
  .work-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .settings {
    padding: 20px;
  }
  .pages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  main {
    padding: 0 20px;
  }
  .topbar {
    padding: 18px 20px;
  }
  .topbar nav {
    gap: 15px;
  }
  .topbar nav a {
    font-size: 10px;
  }
  .hero {
    padding: 38px 0 28px;
    min-height: 315px;
  }
  .hero h1 {
    font-size: 39px;
    letter-spacing: -1.8px;
  }
  .hero-art {
    width: 260px;
    transform: scale(0.72);
    margin-left: -50px;
    margin-right: -10px;
  }
  .hero p {
    font-size: 11px;
  }
  .trust-line {
    gap: 16px;
    justify-content: space-between;
    padding: 13px 0;
    font-size: 9px;
  }
  .trust-line span:last-child {
    display: none;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-card {
    padding: 16px;
    min-height: 150px;
  }
  .work-layout {
    grid-template-columns: 1fr;
  }
  .settings {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .workspace-heading {
    padding: 22px;
  }
  .work-main {
    padding: 20px;
  }
  .workspace-heading .local-badge {
    display: none;
  }
  .closing-note {
    padding: 30px 0;
    flex-wrap: wrap;
    gap: 10px;
  }
  .closing-note > div {
    flex: 1;
  }
  .closing-note a {
    margin-left: 42px;
  }
  footer {
    flex-wrap: wrap;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .pages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .search input {
    width: 120px;
  }
  .search kbd {
    display: none;
  }
  .section-heading h2 {
    font-size: 21px;
  }
}
@media (max-width: 480px) {
  .hero-art {
    display: none;
  }
  .hero {
    min-height: 300px;
  }
  .hero h1 {
    font-size: 43px;
  }
  .desktop {
    display: none;
  }
  .topbar nav > a:nth-child(2) {
    display: none;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .search {
    width: 100%;
  }
  .search input {
    width: 100%;
  }
  .filter {
    font-size: 10px;
    padding: 6px 9px;
  }
  .filter-row {
    gap: 3px;
  }
  .tool-card p {
    font-size: 10px;
  }
  .pages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .document-bar {
    align-items: start;
    flex-direction: column;
  }
  .page-toolbar {
    align-items: start;
    flex-direction: column;
  }
  .trust-line {
    font-size: 8px;
  }
  .tool-grid {
    gap: 9px;
  }
  .workspace-heading {
    padding: 20px;
  }
  .work-main {
    padding: 14px;
  }
  .dropzone {
    padding: 22px 14px;
  }
  .dropzone h3 {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
.boot-screen {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.35s;
  gap: 22px;
}
.boot-logo {
  font-size: 30px;
  letter-spacing: -1px;
}
.boot-logo b {
  font-weight: 400;
  color: var(--accent);
}
.boot-screen p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.boot-screen a {
  text-decoration: underline;
}
.boot-screen.leaving {
  opacity: 0;
  pointer-events: none;
}
.loading-dots {
  display: flex;
  gap: 7px;
}
.loading-dots i {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: breathe 1s ease-in-out infinite;
}
.loading-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.loading-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
.workflow {
  list-style: none;
  margin: 0;
  padding: 21px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  gap: 18px;
}
.workflow li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
}
.workflow li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  background: var(--bg);
}
.workflow small {
  display: block;
  font-size: 9px;
  margin-top: 2px;
  color: var(--muted);
}
.workflow [aria-current="step"] {
  color: var(--accent);
}
.workflow [aria-current="step"] > span {
  background: var(--soft);
  border-color: var(--accent);
}
.workflow li.done > span {
  background: #eaf4ef;
  color: #54846f;
  border-color: #d7e9df;
}
.workspace-guide {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 20px 26px 0;
  padding: 15px 17px;
  background: var(--soft);
  border-radius: 8px;
}
.workspace-guide > span {
  color: var(--accent);
  font-size: 22px;
}
.workspace-guide > div {
  flex: 1;
}
.workspace-guide strong {
  font-size: 11px;
  font-weight: 550;
}
.workspace-guide p {
  font-size: 10px;
  color: var(--muted);
  margin: 3px 0 0;
}
.workspace-guide .secondary {
  white-space: nowrap;
}
.processing {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  animation: arrive 0.2s ease-out;
}
.processing strong {
  font-size: 10px;
  font-weight: 500;
}
.processing small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.spinner {
  width: 19px;
  height: 19px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.run-button.working {
  background: var(--soft);
  color: var(--accent);
  opacity: 1;
}
.result-card {
  display: flex;
  gap: 9px;
  padding: 13px 10px;
  margin-top: 15px;
  background: #edf7f0;
  border: 1px solid #d7ebdf;
  border-radius: 7px;
  animation: arrive 0.3s ease-out;
  color: #3a6950;
  overflow-wrap: anywhere;
}
.result-card strong {
  font-size: 10px;
  font-weight: 600;
}
.result-card small {
  display: block;
  font-size: 9px;
  margin: 3px 0 7px;
  line-height: 1.6;
}
.result-check {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d5ecdc;
  flex-shrink: 0;
}
.result-card a {
  color: #3b7854;
  font-size: 10px;
}
.tool-help {
  font-size: 10px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 13px;
}
.tool-help summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}
.tool-help p {
  font-size: 10px;
  line-height: 1.8;
}
.tool-help kbd {
  font-size: 9px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 3px;
}
.tool-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tool-card {
  animation: arrive 0.3s ease-out both;
}
.page-preview:empty {
  background: linear-gradient(
    100deg,
    var(--canvas) 30%,
    var(--surface) 50%,
    var(--canvas) 70%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
}
.page-preview img {
  animation: arrive 0.2s ease-out;
}
.dropzone.dragging .upload-icon {
  transform: translateY(-5px);
}
.upload-icon {
  transition: transform 0.2s;
}
.tool-card.selected .tool-arrow {
  color: var(--accent);
}
.page-card:focus-within {
  border-color: var(--accent);
}
.dropzone {
  position: relative;
}
.busy-curtain {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 2;
  color: var(--accent);
  font-size: 12px;
}
.busy-curtain .spinner {
  width: 32px;
  height: 32px;
  margin: auto auto 15px;
}
.busy-curtain small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  max-width: 230px;
  line-height: 1.7;
}
.boot-screen ~ main {
  animation: arrive 0.5s ease-out;
}
.file-row {
  animation: arrive 0.2s ease-out;
}
button.primary:active:not(:disabled) {
  transform: translateY(1px);
}
.page-actions button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tool-card:hover .tool-arrow {
  transform: translate(2px, -2px);
}
.tool-arrow {
  transition: transform 0.2s;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@media (max-width: 760px) {
  .workflow {
    padding: 17px 20px;
    gap: 10px;
  }
  .workflow small {
    font-size: 8px;
  }
  .workflow li {
    font-size: 10px;
    gap: 7px;
  }
  .workspace-guide {
    margin: 16px 20px 0;
    flex-wrap: wrap;
  }
  .workspace-guide .secondary {
    margin-left: 33px;
  }
  .result-card {
    max-width: none;
  }
}
@media (max-width: 480px) {
  .workflow {
    padding: 15px 14px;
    gap: 7px;
  }
  .workflow li {
    align-items: start;
    font-size: 9px;
    gap: 5px;
  }
  .workflow li > span {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
  }
  .workflow small {
    font-size: 8px;
    line-height: 1.5;
  }
  .workspace-guide {
    margin: 14px 14px 0;
    padding: 13px;
  }
  .workspace-guide p {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .boot-screen.leaving {
    opacity: 0;
  }
}
.tool-card h3 {
  font-size: 14px;
}
.tool-card p {
  font-size: 11px;
}
.workspace-heading p,
.dropzone p {
  font-size: 12px;
}
.field,
.field input,
.field select,
.field textarea {
  font-size: 12px;
}
.field small,
.option-note,
#status {
  font-size: 11px;
}
.small-note {
  font-size: 10px;
}
.primary {
  font-size: 12px;
}
.secondary,
.text-button {
  font-size: 11px;
}
.document-bar,
.page-toolbar,
.editor-heading {
  font-size: 12px;
}
.tool-help,
.tool-help p,
.workspace-guide p {
  font-size: 11px;
}
.workspace-guide strong {
  font-size: 12px;
}
.result-card strong {
  font-size: 12px;
}
.result-card small,
.result-card a {
  font-size: 11px;
}
.tool-card {
  min-height: 163px;
}
.file-name {
  font-size: 11px;
}
.search input {
  font-size: 12px;
}
.filter {
  font-size: 12px;
}
.search {
  min-height: 40px;
}
.page-actions button {
  min-width: 25px;
  min-height: 25px;
}
.page-label {
  min-height: 24px;
}
.page-label input {
  width: 15px;
  height: 15px;
}
.file-row button {
  min-width: 25px;
  min-height: 25px;
}
.preview-stage {
  overflow: hidden;
}
.marks::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
}
.marks:focus-visible::before {
  border-color: var(--accent);
}
@media (max-width: 480px) {
  .tool-card {
    padding: 15px;
    min-height: 165px;
  }
  .tool-card h3 {
    font-size: 13px;
  }
  .tool-card p {
    font-size: 11px;
  }
  .filter {
    font-size: 11px;
  }
  .workspace-guide p {
    font-size: 11px;
  }
  .page-actions {
    gap: 4px;
  }
  .page-actions button {
    min-width: 25px;
    min-height: 28px;
  }
  .file-row {
    gap: 5px;
  }
}
.marks:focus-visible::after {
  content: "+";
  position: absolute;
  left: var(--cursor-x, 20%);
  top: var(--cursor-y, 20%);
  font:
    22px/1 Arial,
    sans-serif;
  color: #354bb7;
  background: #fff;
  border: 1px solid #354bb7;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.workflow-recipes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
  margin: 26px 0 21px;
}
.workflow-recipes > button {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(125deg, var(--surface), var(--soft));
  padding: 19px 20px;
  color: var(--ink);
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.workflow-recipes > button:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.workflow-recipes span {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--accent);
  display: block;
  font-weight: 600;
}
.workflow-recipes strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
  margin: 10px 0 5px;
}
.workflow-recipes small {
  font-size: 10px;
  color: var(--muted);
}
.tool-tile {
  position: relative;
  min-width: 0;
}
.tool-tile .tool-card {
  width: 100%;
  height: 100%;
}
.tool-tile .tool-arrow {
  display: none;
}
.favorite-button {
  position: absolute;
  right: 12px;
  top: 13px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 21px;
  line-height: 1;
  padding: 8px;
  border-radius: 6px;
}
.favorite-button:hover,
.favorite-button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--soft);
}
.catalog-toggle {
  display: block;
  margin: 22px auto 0;
  padding: 10px 24px;
}
.recipe-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 25px;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.recipe-bar > span {
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent);
}
#recipe-steps {
  display: flex;
  gap: 6px;
  flex: 1;
  flex-wrap: wrap;
}
.recipe-step {
  border: 1px solid transparent;
  border-radius: 5px;
  background: none;
  color: var(--muted);
  padding: 6px 9px;
  font-size: 10px;
}
.recipe-step.current {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}
.workspace-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 15px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.page-search {
  display: flex;
  gap: 6px;
  flex: 1;
  min-width: 200px;
}
.page-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
}
#search-count {
  font-size: 10px;
  color: var(--muted);
}
.search-results {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  max-height: 260px;
  overflow: auto;
  margin-bottom: 15px;
  padding: 7px;
}
.search-result {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px;
  background: none;
  color: var(--ink);
}
.search-result:hover {
  background: var(--soft);
}
.search-result strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.search-result span {
  font-size: 10px;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.analysis-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  margin-top: 20px;
  max-height: 320px;
  overflow: auto;
}
.analysis-panel h3 {
  font-size: 13px;
  margin: 0 0 10px;
}
.analysis-panel ul {
  padding-left: 18px;
  margin: 0;
  font-size: 11px;
  line-height: 1.9;
}
.studio-sessions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 28px;
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.studio-sessions h2 {
  font-size: 21px;
}
.studio-sessions p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 430px;
}
.session-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10px;
}
.session-actions .field {
  margin: 0;
}
.session-actions .secondary {
  text-align: center;
  justify-content: center;
  font-size: 11px;
  min-height: 38px;
}
.session-actions .file-button {
  display: flex;
  align-items: center;
}
.session-actions input,
.session-actions select {
  min-width: 0;
  font-size: 11px;
}
.session-actions .field input {
  margin-top: 3px;
}
.session-actions .text-button {
  text-align: left;
  font-size: 10px;
}
.result-card .secondary {
  display: block;
  margin-top: 10px;
  width: 100%;
  font-size: 10px;
  text-align: left;
}
#cancel-task {
  font-size: 10px;
  margin-top: 10px;
  width: 100%;
}
.settings input[type="password"] {
  letter-spacing: 2px;
}
.tool-grid:has(.tool-tile:nth-child(13)) {
  row-gap: 13px;
}

@media (max-width: 760px) {
  .workflow-recipes {
    gap: 9px;
  }
  .workflow-recipes > button {
    padding: 14px;
  }
  .workflow-recipes strong {
    font-size: 11px;
    line-height: 1.6;
  }
  .workflow-recipes small {
    font-size: 9px;
  }
  .recipe-bar {
    padding: 12px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .recipe-bar > span {
    width: 100%;
  }
  .studio-sessions {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
  }
  .session-actions {
    gap: 12px;
  }
  .workspace-actions .text-button {
    font-size: 10px;
  }
  .page-search {
    min-width: 180px;
  }
}
@media (max-width: 480px) {
  .workflow-recipes {
    grid-template-columns: 1fr;
  }
  .workflow-recipes > button {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 14px 16px;
  }
  .workflow-recipes strong {
    font-size: 13px;
    margin: 4px 0;
  }
  .workflow-recipes small {
    display: none;
  }
  .workflow-recipes span {
    font-size: 8px;
  }
  .favorite-button {
    top: 8px;
    right: 8px;
    font-size: 20px;
  }
  .tool-tile .tool-card {
    padding-top: 20px;
  }
  .session-actions {
    grid-template-columns: 1fr;
  }
  .session-actions .text-button {
    text-align: center;
  }
  .page-search {
    flex-basis: 100%;
  }
}

/* Visual-first studio: compact cards, quiet controls, details on demand. */
[data-theme="dark"] .tool-miniature {
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--tone) 14%, var(--surface)),
    var(--surface)
  );
  color: color-mix(in srgb, var(--tone) 72%, #fff);
}
.work-main:has(#document-area[hidden]) {
  display: grid;
}
.work-main:has(#document-area[hidden]) > .dropzone {
  height: 100%;
}
:root {
  --accent: #655ed6;
  --soft: #eeedff;
  --bg: #f7f8fc;
}
[data-theme="dark"] {
  --accent: #b4adff;
  --soft: #2c304b;
  --bg: #141923;
  --mini-paper: #263044;
}
.ui-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.brand-mark .ui-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
}
.brand-mark {
  background: #6c63dc;
  border-radius: 12px;
  box-shadow: 0 5px 12px #6c63dc20;
}
.hero {
  min-height: 300px;
  padding: 38px 12px;
  gap: 50px;
}
.hero h1 {
  margin: 17px 0 14px;
  font-size: clamp(38px, 4.3vw, 58px);
}
.hero p {
  margin: 0;
  font-size: 13px;
}
.hero-art {
  width: 440px;
  height: auto;
  transform: none;
  margin: 0;
  flex-shrink: 1;
}
.hero-art img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 18px 45px #252b4b14;
}
.trust-line {
  justify-content: center;
  gap: 35px;
  padding: 13px;
  font-size: 11px;
}
.trust-line span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #74aa96;
  border-radius: 50%;
  margin-right: 9px;
  vertical-align: middle;
}
.tools-section {
  padding-top: 29px;
}
.section-heading h2 {
  font-size: 24px;
  margin: 0;
}
.search {
  min-height: 38px;
}
.search > span {
  line-height: 1;
}
.workflow-recipes {
  margin: 20px 0 18px;
  gap: 12px;
}
.workflow-recipes > button {
  display: grid;
  grid-template-columns: 35px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 15px 18px;
  background: var(--surface);
}
.workflow-recipes > button > svg {
  width: 25px;
  height: 25px;
  grid-row: 1/3;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.workflow-recipes span {
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 600;
}
.workflow-recipes strong {
  font-size: 10px;
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 400;
}
.filter-row {
  margin: 18px 0 15px;
}
.filter {
  font-size: 11px;
}
.tool-tile .tool-card {
  padding: 0;
  min-height: 140px;
  text-align: left;
  border-radius: 11px;
  overflow: hidden;
}
.tool-miniature {
  display: block;
  width: 100%;
  height: 104px;
  color: var(--tone);
  background: linear-gradient(
    130deg,
    color-mix(in srgb, var(--tint) 55%, var(--surface)),
    var(--surface)
  );
  transition: transform 0.25s;
}
.tool-card h3 {
  font-size: 13px;
  padding: 10px 15px 14px;
  margin: 0;
  font-weight: 550;
  letter-spacing: -0.15px;
}
.tool-card:hover .tool-miniature {
  transform: scale(1.035);
}
.tool-card.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.favorite-button {
  right: 7px;
  top: 7px;
  line-height: 1;
  padding: 7px;
  opacity: 0.65;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}
.favorite-button .ui-icon {
  width: 14px;
  height: 14px;
}
.favorite-button:hover,
.favorite-button[aria-pressed="true"] {
  opacity: 1;
}
.favorite-button[aria-pressed="true"] svg {
  fill: var(--accent);
  fill-opacity: 0.2;
}
.catalog-toggle {
  margin-top: 17px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
}
.workspace-heading {
  padding: 23px 27px;
  align-items: flex-start;
}
.workspace-heading h2 {
  margin: 0;
}
.workspace-heading p {
  margin: 5px 0 0;
}
.tool-details {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
  max-width: 620px;
}
.tool-details summary {
  font-size: 10px;
  cursor: pointer;
  width: fit-content;
}
.tool-details p {
  font-size: 11px;
  line-height: 1.8;
  padding-top: 5px;
}
.workflow {
  padding: 15px 27px;
  max-width: none;
}
.workflow li {
  gap: 8px;
}
.workflow li > span {
  width: 23px;
  height: 23px;
}
.workspace-guide {
  margin: 0;
  padding: 10px 27px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  align-items: flex-start;
  justify-content: space-between;
}
.quick-guide {
  flex: 1;
  font-size: 11px;
  color: var(--muted);
}
.quick-guide summary {
  cursor: pointer;
  width: fit-content;
}
.quick-guide > div {
  padding-top: 9px;
}
.workspace-guide .text-button {
  padding: 0;
  color: var(--accent);
}
.workspace-guide p {
  max-width: 550px;
  font-size: 11px;
}
.workspace-guide strong {
  font-size: 11px;
  font-weight: 500;
}
.work-main {
  padding: 23px;
}
.dropzone {
  min-height: 295px;
  border-radius: 12px;
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
  background: linear-gradient(140deg, var(--bg), var(--surface));
}
.upload-icon {
  border-radius: 17px;
  width: 58px;
  height: 58px;
}
.upload-icon .ui-icon {
  width: 28px;
  height: 28px;
}
.dropzone h3 {
  font-size: 19px;
  margin-top: 21px;
}
.dropzone p {
  font-size: 11px;
}
.dropzone small {
  font-size: 10px;
}
.primary {
  background: #6960db;
  gap: 20px;
}
.primary .ui-icon {
  width: 16px;
  height: 16px;
}
.primary:hover:not(:disabled) {
  background: #554ac5;
}
.settings {
  padding: 22px;
  background: var(--surface);
}
.settings-title {
  margin-bottom: 17px;
}
.settings-title h3 {
  font-size: 12px;
}
.field {
  font-size: 11px;
}
.field input,
.field select,
.field textarea {
  font-size: 12px;
}
.field small {
  font-size: 10px;
}
.option-help {
  margin: 16px 0 4px;
  font-size: 11px;
  color: var(--muted);
}
.option-help summary {
  cursor: pointer;
  font-size: 10px;
  width: fit-content;
}
.option-help .option-note {
  padding-top: 5px;
  font-size: 10px;
}
.tool-caution {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  border-left: 2px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  padding-left: 9px;
  margin: 16px 0;
}
.small-note {
  font-size: 9px;
}
.export-summary {
  padding: 13px 0;
  margin-top: 17px;
}
.export-summary strong {
  font-size: 10px;
}
#status {
  font-size: 10px;
}
.page-actions {
  gap: 4px;
}
.page-actions .ui-icon {
  width: 13px;
  height: 13px;
}
.page-actions button {
  display: grid;
  place-items: center;
  min-width: 27px;
  min-height: 27px;
}
.page-preview {
  cursor: grab;
}
.page-preview:active {
  cursor: grabbing;
}
.page-card.is-dragging {
  opacity: 0.4;
}
.page-card.drop-target {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.page-card {
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.preview-scroll {
  overflow: auto;
  padding: 8px;
  max-height: 800px;
  border-radius: 8px;
  background: var(--canvas);
}
.preview-scroll .preview-stage {
  max-width: 100%;
  width: min(100%, 600px);
  margin: 0 auto;
  flex-shrink: 0;
}
.preview-scroll .preview-stage.zoomed {
  max-width: none;
  margin: 0;
}
.editor-heading {
  flex-wrap: wrap;
  row-gap: 8px;
}
.editor-heading > div {
  display: flex;
  align-items: center;
  gap: 2px;
}
.editor-heading > strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.editor-heading .ui-icon {
  width: 14px;
  height: 14px;
}
#zoom-level {
  font-size: 10px;
  min-width: 34px;
  text-align: center;
  color: var(--muted);
}
.editor > p {
  font-size: 10px;
}
.studio-sessions {
  padding: 22px 26px;
  gap: 25px;
}
.studio-sessions h2 {
  font-size: 20px;
}
.studio-sessions p {
  font-size: 11px;
  max-width: 310px;
}
.closing-note {
  padding: 27px 12px;
  gap: 12px;
}
.closing-note h2 {
  font-size: 12px;
}
.closing-note > span {
  font-size: 23px;
}
footer {
  font-size: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (max-width: 1050px) {
  .hero-art {
    width: 360px;
    transform: none;
  }
  .hero {
    gap: 25px;
  }
  .tool-miniature {
    height: 98px;
  }
}
@media (max-width: 760px) {
  .hero {
    min-height: 265px;
    padding: 32px 0;
    gap: 20px;
  }
  .hero h1 {
    font-size: 41px;
    letter-spacing: -1.5px;
  }
  .hero-art {
    width: 280px;
    transform: none;
    margin: 0;
  }
  .workflow-recipes {
    gap: 8px;
  }
  .workflow-recipes > button {
    padding: 12px;
    grid-template-columns: 27px 1fr;
    column-gap: 7px;
  }
  .workflow-recipes > button > svg {
    width: 21px;
    height: 21px;
  }
  .workflow-recipes strong {
    font-size: 9px;
    line-height: 1.6;
  }
  .tool-miniature {
    height: 100px;
  }
  .workspace-heading {
    padding: 20px;
  }
  .workspace-guide {
    padding: 10px 20px;
  }
  .workflow {
    padding: 14px 20px;
  }
  .settings {
    padding: 20px;
  }
  .preview-scroll {
    max-height: 650px;
  }
  .trust-line span:last-child {
    display: block;
  }
}
@media (max-width: 480px) {
  .hero {
    min-height: 220px;
    padding: 30px 0;
  }
  .hero h1 {
    font-size: 42px;
    margin-bottom: 13px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-art {
    display: none;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1.4px;
  }
  .trust-line {
    gap: 22px;
    font-size: 10px;
  }
  .trust-line span::before {
    margin-right: 6px;
    width: 4px;
    height: 4px;
  }
  .workflow-recipes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .workflow-recipes > button {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 7px;
    padding: 12px 10px;
  }
  .workflow-recipes > button > svg {
    grid-row: auto;
  }
  .workflow-recipes span {
    font-size: 11px;
  }
  .workflow-recipes strong {
    display: none;
  }
  .tool-tile .tool-card {
    min-height: 132px;
    padding: 0;
  }
  .tool-miniature {
    height: 91px;
  }
  .tool-card h3 {
    font-size: 12px;
    padding: 10px 11px 12px;
  }
  .favorite-button {
    top: 5px;
    right: 5px;
    padding: 6px;
  }
  .tool-grid {
    gap: 10px;
  }
  .work-main {
    padding: 15px;
  }
  .workspace-guide {
    padding: 10px 17px;
  }
  .dropzone {
    min-height: 265px;
  }
  .dropzone h3 {
    font-size: 18px;
  }
  .page-actions button {
    min-width: 27px;
    min-height: 29px;
  }
  .studio-sessions {
    padding: 20px;
  }
  .closing-note {
    padding: 23px 0;
  }
  .editor-heading .text-button {
    font-size: 10px;
  }
  .preview-scroll {
    max-height: 520px;
  }
  .local-badge {
    display: none;
  }
  .workflow {
    padding: 13px 17px;
  }
  .workflow li {
    font-size: 11px;
  }
  .filter-row {
    gap: 3px;
  }
  .filter {
    padding: 6px 9px;
    font-size: 10px;
  }
}
