.tn-pdfp-tool {
  --pdfp-paper:#faf6ee; --pdfp-wash:#f5efdf; --pdfp-ink:#1a1208; --pdfp-muted:#5a4a30; --pdfp-line:#b8a888; --pdfp-soft:#ddd4be;
  --pdfp-button:#ede6d4; --pdfp-hover:#dfd4bb; --pdfp-primary:#1a1208; --pdfp-primary-hover:#5a3018; --pdfp-primary-text:#faf6ee; --pdfp-accent:#a83d00;
  min-width:0; border:1px solid var(--pdfp-line); background:var(--pdfp-paper); color:var(--pdfp-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Segoe UI",system-ui,sans-serif; font-size:14px; line-height:1.6;
}
body:is([data-scheme="dark"],[data-scheme="inverse"],[data-scheme="auto"][data-d="dark"],[data-scheme="auto"][data-l="dark"]) .tn-pdfp-tool,
html[data-scheme="dark"] body:not([data-scheme="light"]) .tn-pdfp-tool {
  --pdfp-paper:#241d12; --pdfp-wash:#322a1a; --pdfp-ink:#f7ead1; --pdfp-muted:#c3b492; --pdfp-line:#826744; --pdfp-soft:#574a37;
  --pdfp-button:#2f2115; --pdfp-hover:#3a2a1b; --pdfp-primary:#6a3b1f; --pdfp-primary-hover:#824826; --pdfp-primary-text:#f7ead1; --pdfp-accent:#e8823f;
}
@media(prefers-color-scheme:dark) {
  body[data-scheme="auto"] .tn-pdfp-tool {
    --pdfp-paper:#241d12; --pdfp-wash:#322a1a; --pdfp-ink:#f7ead1; --pdfp-muted:#c3b492; --pdfp-line:#826744; --pdfp-soft:#574a37;
    --pdfp-button:#2f2115; --pdfp-hover:#3a2a1b; --pdfp-primary:#6a3b1f; --pdfp-primary-hover:#824826; --pdfp-primary-text:#f7ead1; --pdfp-accent:#e8823f;
  }
}
.tn-pdfp-tool *, .tn-pdfp-tool *::before, .tn-pdfp-tool *::after { box-sizing:border-box; }
.tn-pdfp-tool [hidden] { display:none!important; }
.tn-pdfp-tool :is(p,dl,dt,dd,form) { margin:0; padding:0; }
.tn-pdfp-tool :is(p,dd) { overflow-wrap:anywhere; }
.tn-pdfp-tool .tn-pdfp-drop { display:flex; align-items:center; gap:24px; min-height:188px; padding:26px 24px; background:var(--pdfp-wash); border-bottom:1px solid var(--pdfp-line); }
.tn-pdfp-tool .tn-pdfp-file-symbol { display:flex; flex:0 0 66px; height:88px; flex-direction:column; align-items:center; justify-content:center; gap:8px; border:1px solid var(--pdfp-line); background:var(--pdfp-paper); }
.tn-pdfp-tool .tn-pdfp-file-symbol span { font-size:12px; letter-spacing:2px; font-weight:800; }
.tn-pdfp-tool .tn-pdfp-drop-copy { flex:1; min-width:0; display:grid; gap:8px; }
.tn-pdfp-tool .tn-pdfp-drop-title { font-size:22px; font-weight:800; line-height:1.4; }
.tn-pdfp-tool .tn-pdfp-picker { display:grid; gap:5px; flex:0 1 235px; min-width:0; }
.tn-pdfp-tool .tn-pdfp-picker label { margin:0; font-size:12px; font-weight:700; }
.tn-pdfp-tool #pdfpFile { display:block; width:100%; max-width:100%; min-width:0; height:40px; margin:0; padding:0; border:0; border-radius:0; background:transparent; color:var(--pdfp-ink); -webkit-text-fill-color:var(--pdfp-ink); font:12px/40px inherit; box-shadow:none; }
.tn-pdfp-tool .tn-pdfp-dragging { outline:2px dashed var(--pdfp-accent); outline-offset:-6px; }
.tn-pdfp-tool .tn-pdfp-btn,.tn-pdfp-tool #pdfpFile::file-selector-button {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:40px; height:40px; margin:0; padding:0 14px;
  border:1px solid var(--pdfp-line); border-radius:0; background:var(--pdfp-button); color:var(--pdfp-ink); -webkit-text-fill-color:var(--pdfp-ink);
  font-family:"Courier New",monospace; font-size:13px; font-weight:900; line-height:1; letter-spacing:0; text-transform:none; text-align:center; white-space:nowrap; box-shadow:none; cursor:pointer;
}
.tn-pdfp-tool #pdfpFile::file-selector-button { margin-right:8px; }
.tn-pdfp-tool .tn-pdfp-btn--primary { background:var(--pdfp-primary); color:var(--pdfp-primary-text); -webkit-text-fill-color:var(--pdfp-primary-text); }
.tn-pdfp-tool .tn-pdfp-btn:hover:not(:disabled),.tn-pdfp-tool #pdfpFile:hover::file-selector-button { background:var(--pdfp-hover); }
.tn-pdfp-tool .tn-pdfp-btn--primary:hover:not(:disabled) { background:var(--pdfp-primary-hover); }
.tn-pdfp-tool :is(button,input):focus-visible { outline:2px solid var(--pdfp-accent); outline-offset:3px; }
.tn-pdfp-tool :is(button,input):disabled { opacity:.5; cursor:not-allowed; }
.tn-pdfp-tool .tn-pdfp-file-row { display:flex; align-items:center; gap:20px; justify-content:space-between; padding:14px 24px; border-bottom:1px solid var(--pdfp-line); }
.tn-pdfp-tool .tn-pdfp-file-row dl { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; flex:1; min-width:0; }
.tn-pdfp-tool .tn-pdfp-file-row dl>div { min-width:0; }
.tn-pdfp-tool dt,.tn-pdfp-tool .tn-pdfp-result-label { display:block; font-size:12px; color:var(--pdfp-muted); }
.tn-pdfp-tool dd { font-weight:700; }
.tn-pdfp-tool .tn-pdfp-method { flex:0 0 auto; padding:4px 9px; border:1px solid var(--pdfp-soft); font-size:12px; color:var(--pdfp-muted); }
.tn-pdfp-tool .tn-pdfp-settings { display:grid; gap:14px; padding:22px 24px; }
.tn-pdfp-tool .tn-pdfp-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.tn-pdfp-tool .tn-pdfp-field { display:grid; gap:5px; min-width:0; border:0; background:transparent; }
.tn-pdfp-tool .tn-pdfp-field label { display:block; margin:0; padding:0; font-size:13px; line-height:20px; font-weight:700; }
.tn-pdfp-tool .tn-pdfp-field input {
  display:block; width:100%; min-width:0; height:44px; margin:0; padding:9px 12px; border:1px solid var(--pdfp-line); border-radius:0;
  background:var(--pdfp-paper); color:var(--pdfp-ink); -webkit-text-fill-color:var(--pdfp-ink); box-shadow:none;
  font-family:-apple-system,BlinkMacSystemFont,"Pretendard","Segoe UI",system-ui,sans-serif; font-size:16px; font-weight:600; line-height:24px;
}
.tn-pdfp-tool .tn-pdfp-field input::placeholder { color:var(--pdfp-ink); -webkit-text-fill-color:var(--pdfp-ink); font-weight:400; opacity:.35; font-size:14px; }
.tn-pdfp-tool .tn-pdfp-field input[aria-invalid="true"] { border-color:var(--pdfp-accent); }
.tn-pdfp-tool .tn-pdfp-hint-row { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.tn-pdfp-tool .tn-pdfp-caption { color:var(--pdfp-muted); font-size:12px; line-height:1.6; }
.tn-pdfp-tool .tn-pdfp-caution { padding-top:12px; border-top:1px solid var(--pdfp-soft); font-size:13px; }
.tn-pdfp-tool .tn-pdfp-error { margin:0 24px 18px; padding:12px; border:1px solid var(--pdfp-accent); background:var(--pdfp-wash); color:var(--pdfp-ink); }
.tn-pdfp-tool .tn-pdfp-command { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:16px 24px; border-top:1px solid var(--pdfp-line); }
.tn-pdfp-tool #pdfpStatus { min-width:0; font-size:13px; }
.tn-pdfp-tool .tn-pdfp-actions { display:flex; flex-wrap:wrap; gap:8px; }
.tn-pdfp-tool .tn-pdfp-result { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border-top:3px double var(--pdfp-line); background:var(--pdfp-wash); }
.tn-pdfp-tool .tn-pdfp-result>div { display:grid; gap:4px; min-width:0; }
.tn-pdfp-tool #pdfpOutputName { font-size:16px; font-weight:800; }
.tn-pdfp-tool .tn-pdfp-final-note { padding:14px 24px; border-top:1px solid var(--pdfp-line); color:var(--pdfp-muted); font-size:12px; }
.tn-pdfp-tool .tn-pdfp-number { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; font-weight:800; font-variant-numeric:lining-nums tabular-nums; }
.tn-pdfp-page .tn-pdfp-responsive-ad { width:100%; max-width:900px; min-height:90px; height:auto!important; max-height:none!important; margin:24px auto; background:transparent; border:0; overflow:visible; }
.tn-pdfp-page .tn-pdfp-responsive-ad--top { margin-top:54px; }
@media(max-width:900px) {
  .tn-pdfp-tool .tn-pdfp-drop { flex-wrap:wrap; gap:18px; }
  .tn-pdfp-tool .tn-pdfp-drop-copy { flex-basis:calc(100% - 90px); }
  .tn-pdfp-tool .tn-pdfp-picker { flex-basis:100%; max-width:320px; }
}
@media(max-width:600px) {
  .tn-pdfp-tool :is(.tn-pdfp-drop,.tn-pdfp-file-row,.tn-pdfp-settings,.tn-pdfp-command,.tn-pdfp-result,.tn-pdfp-final-note) { padding-left:14px; padding-right:14px; }
  .tn-pdfp-tool .tn-pdfp-drop { padding-top:20px; padding-bottom:20px; }
  .tn-pdfp-tool .tn-pdfp-file-symbol { flex-basis:48px; height:68px; }
  .tn-pdfp-tool .tn-pdfp-drop-copy { flex-basis:calc(100% - 70px); }
  .tn-pdfp-tool .tn-pdfp-drop-title { font-size:19px; }
  .tn-pdfp-tool .tn-pdfp-file-row { flex-wrap:wrap; gap:10px; }
  .tn-pdfp-tool .tn-pdfp-file-row dl { flex-basis:100%; }
  .tn-pdfp-tool .tn-pdfp-fields { grid-template-columns:minmax(0,1fr); gap:14px; }
  .tn-pdfp-tool .tn-pdfp-hint-row,.tn-pdfp-tool .tn-pdfp-command,.tn-pdfp-tool .tn-pdfp-result { flex-direction:column; align-items:flex-start; gap:12px; }
  .tn-pdfp-tool .tn-pdfp-error { margin-left:14px; margin-right:14px; }
  .tn-pdfp-page .tn-pdfp-responsive-ad--top { margin-top:48px; }
}
@media(prefers-reduced-motion:reduce) { .tn-pdfp-tool * { transition:none; scroll-behavior:auto; } }
