@font-face {
  font-family: ToolSans;
  src: url("/assets/css/fonts/NanumSquareR.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: ToolSans;
  src: url("/assets/css/fonts/NanumSquareB.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  --paper: #fff;
  --desk: #f5f5f2;
  --ink: #242b30;
  --secondary: #58636a;
  --muted: #737d83;
  --line: #dedfda;
  --soft-line: #ecece7;
  --blue: #245d7c;
  --blue-soft: #edf3f6;
  --input: #fafaf8;
  --danger: #a53632;
  --focus: #29789f;
  --radius: 10px;
  font-family:
    ToolSans,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--desk);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
a,
input,
select,
textarea {
  outline-offset: 3px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
}
[hidden] {
  display: none !important;
}
img,
canvas {
  max-width: 100%;
}
button svg,
svg.icon {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
p {
  line-height: 1.7;
}
h1 {
  font-size: 34px;
  letter-spacing: -1.4px;
  margin-bottom: 12px;
  line-height: 1.3;
}
h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
}
button,
.button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1.4;
}
button:hover:not(:disabled),
.button:hover {
  background: var(--desk);
  border-color: #aeb7b8;
}
.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.primary:hover:not(:disabled) {
  background: #194b68;
  color: white;
}
.quiet {
  border-color: transparent;
  background: transparent;
  color: var(--secondary);
}
.danger {
  color: var(--danger);
}
.tiny {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 12px;
}
.site-header {
  max-width: 1200px;
  margin: auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
}
.brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.site-header > a:last-child {
  font-size: 13px;
  color: var(--secondary);
}
.tool-nav {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  padding: 8px 0 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}
.tool-nav a {
  font-size: 13px;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
}
.tool-nav a[aria-current="page"] {
  background: var(--ink);
  color: white;
}
.tool-nav a:hover {
  background: var(--line);
  color: var(--ink);
}
main {
  max-width: 1200px;
  padding: 32px 24px 56px;
  margin: auto;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 26px;
}
.intro p {
  font-size: 15px;
  color: var(--secondary);
  margin: 0;
}
.local-note {
  font-size: 12px;
  color: var(--secondary);
  border-left: 2px solid var(--line);
  padding: 4px 0 4px 14px;
  line-height: 1.7;
  flex-shrink: 0;
}
.workspace {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 570px;
}
.settings {
  padding: 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.stage {
  background: #eeefeb;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}
.stage-bar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: var(--secondary);
  flex-wrap: wrap;
}
.stage-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  flex: 1;
  overflow: auto;
}
.stage-inner canvas {
  object-fit: contain;
  display: block;
  box-shadow: 0 2px 6px #1c2e3110;
}
.empty {
  max-width: 330px;
  text-align: center;
  color: var(--secondary);
  padding: 30px 12px;
}
.empty svg {
  width: 50px;
  height: 50px;
  color: #9ba6a8;
  margin: 0 auto 20px;
  display: block;
}
.empty strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
}
.empty p {
  font-size: 14px;
  margin: 0;
}
.group {
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.group:last-child {
  border: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.group-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.5;
}
.field > span {
  color: var(--secondary);
}
input:not([type="checkbox"]):not([type="range"]):not([type="color"]),
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--input);
  padding: 10px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 86px;
}
input[type="range"] {
  width: 100%;
  accent-color: var(--blue);
}
input[type="color"] {
  height: 36px;
  width: 100%;
  border: 1px solid var(--line);
  padding: 3px;
  background: white;
  border-radius: 6px;
}
input[type="checkbox"] {
  accent-color: var(--blue);
}
.row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.row > .field {
  flex: 1;
  min-width: 60px;
}
.stack {
  display: grid;
  gap: 8px;
}
.full {
  width: 100%;
}
.hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  margin: 10px 0 0;
}
.file-picker {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  border: 1px dashed #aeb9bc;
  border-radius: 7px;
  background: #f9fbfb;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  position: relative;
}
.file-picker:hover,
.file-picker.dragging {
  background: var(--blue-soft);
}
.file-picker input {
  position: absolute;
  opacity: 0;
  width: 1px !important;
  height: 1px;
  overflow: hidden;
}
.file-picker:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.file-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}
.status-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  background: #fafaf7;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 13px 20px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: -4px;
}
.status-bar p {
  margin: 0;
}
.status-bar [data-error="true"] {
  color: var(--danger);
}
progress {
  width: 100%;
  height: 6px;
  accent-color: var(--blue);
  margin-top: 10px;
}
.file-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 7px;
  max-height: 320px;
  overflow: auto;
}
.file-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  font-size: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.file-item.active {
  border-color: var(--blue);
  background: var(--blue-soft);
}
.file-item .name {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.file-item img {
  width: 36px;
  height: 46px;
  object-fit: contain;
}
.file-item button {
  padding: 4px 7px;
  min-height: 29px;
  font-size: 12px;
}
.editor-paper {
  position: relative;
  margin: auto;
  max-width: 100%;
  line-height: 0;
  touch-action: none;
}
.editor-paper canvas {
  width: 100%;
  height: auto;
  display: block;
}
.editor-paper canvas.overlay {
  position: absolute;
  inset: 0;
  box-shadow: none;
  touch-action: none;
}
.selected-info {
  padding: 10px;
  border-radius: 6px;
  background: var(--blue-soft);
  font-size: 12px;
  line-height: 1.6;
}
.segmented {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.segmented button {
  flex: 1;
  font-size: 12px;
  padding: 8px 6px;
}
.segmented button[aria-pressed="true"] {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}
.result-text {
  width: 100%;
  height: 400px;
  background: white;
  resize: vertical;
}
.checker {
  background-color: white;
  background-image:
    linear-gradient(45deg, #eee 25%, transparent 25%),
    linear-gradient(-45deg, #eee 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eee 75%),
    linear-gradient(-45deg, transparent 75%, #eee 75%);
  background-size: 16px 16px;
  background-position:
    0 0,
    0 8px,
    8px -8px,
    -8px 0;
}
.ad-wrap {
  margin: 30px 0;
  border-block: 1px solid var(--line);
  padding: 16px 0;
  min-height: 120px;
  text-align: center;
  overflow: hidden;
}
.ad-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}
.adsbygoogle {
  display: block;
  min-height: 100px;
}
.learn {
  margin: 44px auto 0;
  max-width: 860px;
}
.learn p,
.learn li {
  color: var(--secondary);
  font-size: 14px;
  line-height: 1.85;
}
.learn ol {
  padding-left: 24px;
}
.faq {
  margin-top: 32px;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faq summary {
  font-size: 14px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.6;
}
.faq p {
  margin: 12px 0 0;
}
.related {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 24px;
}
.related-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.related-links a {
  font-size: 13px;
}
.site-footer {
  max-width: 1152px;
  padding: 24px 0;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 12px;
  color: var(--secondary);
}
.site-footer p {
  margin: 0 auto 0 0;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.tool-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  text-decoration: none;
  display: block;
}
.tool-card:hover {
  border-color: var(--blue);
  background: #fcfdfd;
}
.tool-card svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 28px;
}
.tool-card h2 {
  font-size: 19px;
}
.tool-card p {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 24px;
}
.tool-card small {
  font-size: 12px;
  color: var(--blue);
}
.wave {
  width: 100%;
  height: 150px;
  cursor: crosshair;
}
.time-big {
  font-variant-numeric: tabular-nums;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--ink);
}
.signature-pad {
  width: 100%;
  aspect-ratio: 2.5;
  touch-action: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}
.stamp-preview {
  max-width: 420px;
  max-height: 420px;
}
.privacy-canvas {
  touch-action: none;
  cursor: crosshair;
}
.qr-preview {
  max-width: 430px;
  max-height: 600px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 12px;
  z-index: 10;
}
.skip:focus {
  top: 12px;
  background: white;
  padding: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.preview-image {
  max-height: 460px;
  object-fit: contain;
}
.page-grid {
  display: flex;
  gap: 8px;
  overflow: auto;
  max-width: 100%;
  padding: 4px 0;
}
.page-chip {
  flex: none;
  min-width: 60px;
}
.drop-active {
  outline: 3px dashed var(--blue);
}
.note-box {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.8;
  background: #fafaf7;
}
.work-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 14px;
}
.signature-dialog {
  max-width: 600px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 24px;
}
.signature-dialog::backdrop {
  background: #20272c70;
}
.signature-dialog h2 {
  font-size: 20px;
}
body.busy .workspace {
  cursor: progress;
}
.meter-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--secondary);
}
.stitch-preview {
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
}
.split-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}
.split-preview > div {
  min-width: 0;
}
.split-preview label {
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 250px minmax(0, 1fr);
  }
  .settings,
  .stage {
    padding: 16px;
  }
  .tool-nav {
    margin: 0 20px;
  }
  .local-note {
    display: none;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer {
    margin: 0 24px;
  }
  .split-preview {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 16px;
  }
  .tool-nav {
    margin: 0 16px;
    padding-bottom: 10px;
  }
  .tool-nav a {
    padding: 9px 10px;
  }
  main {
    padding: 24px 16px 36px;
  }
  h1 {
    font-size: 27px;
    letter-spacing: -0.9px;
  }
  .intro {
    margin-bottom: 20px;
  }
  .intro p {
    font-size: 14px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .settings {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage {
    min-height: 300px;
  }
  .stage-inner {
    min-height: 230px;
  }
  .empty {
    padding: 24px 12px;
  }
  .group {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }
  .file-list {
    max-height: 230px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .tool-card {
    padding: 20px;
  }
  .tool-card svg {
    margin-bottom: 16px;
  }
  .tool-card p {
    margin-bottom: 16px;
  }
  .status-bar {
    padding: 12px 14px;
    align-items: flex-start;
  }
  .learn {
    margin-top: 32px;
  }
  .site-footer {
    margin: 0 16px;
  }
  .result-text {
    height: 280px;
  }
  .work-actions button {
    flex: 1;
  }
  .signature-dialog {
    padding: 18px;
  }
  .time-big {
    font-size: 21px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.stamp-preview,
.qr-preview {
  width: 100%;
  height: auto;
}
.stage-inner {
  align-items: flex-start;
  padding-top: 8px;
}
.stage-inner > .empty {
  margin: auto;
}
.editor-paper {
  margin: 0 auto;
}
.sr-only {
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
}
@media (max-width: 600px) {
  body:is(
      [data-tool="pdf-editor"],
      [data-tool="image-stitch"],
      [data-tool="privacy-cover"],
      [data-tool="audio-cutter"]
    )
    .settings {
    display: contents;
  }
  body:is(
      [data-tool="pdf-editor"],
      [data-tool="image-stitch"],
      [data-tool="privacy-cover"],
      [data-tool="audio-cutter"]
    )
    .settings
    > * {
    order: 2;
    margin: 0;
    padding: 16px;
    border-bottom: 1px solid var(--soft-line);
  }
  body:is(
      [data-tool="pdf-editor"],
      [data-tool="image-stitch"],
      [data-tool="privacy-cover"],
      [data-tool="audio-cutter"]
    )
    .settings
    > .group:first-child {
    order: 0;
  }
  body:is(
      [data-tool="pdf-editor"],
      [data-tool="image-stitch"],
      [data-tool="privacy-cover"],
      [data-tool="audio-cutter"]
    )
    .stage {
    order: 1;
    min-height: 280px;
    border-bottom: 1px solid var(--line);
  }
  body:is([data-tool="pdf-editor"], [data-tool="image-stitch"]) .file-list {
    max-height: 150px;
  }
  body[data-tool="pdf-editor"] .editor-paper {
    max-height: 430px;
    width: auto !important;
    max-width: 100%;
  }
  body[data-tool="pdf-editor"] .editor-paper canvas {
    width: auto;
    max-width: 100%;
    max-height: 430px;
  }
  body[data-tool="pdf-editor"] .editor-paper canvas.overlay {
    width: 100%;
    height: 100%;
  }
  body[data-tool="pdf-editor"] .settings > .group .stack {
    grid-template-columns: 1fr 1fr;
  }
}
@media print {
  .site-header,
  .tool-nav,
  .settings,
  .intro,
  .learn,
  .ad-wrap,
  .site-footer,
  .status-bar,
  .stage-bar,
  .work-actions {
    display: none !important;
  }
  main {
    padding: 0;
  }
  .workspace {
    display: block;
    border: 0;
  }
  .stage {
    padding: 0;
    background: white;
  }
  .stage-inner {
    overflow: visible;
  }
  .qr-preview {
    max-height: none;
    max-width: 100%;
  }
}

.empty .tool-mascot-icon {width:96px;height:96px;object-fit:contain;stroke:none;margin:0 auto 16px}
