/* v8.9.33 PDF Tools look: one big button to start, pages laid out on a grey workspace, a settings column with the
   main button at its foot, and a big centred download. Draftstack colours (navy + gold), Lora headings, Inter text. */

/* ---------- hub ---------- */
.pt-hero2 { background: #F6F4EE; padding: 58px 0 30px; border-bottom: 0; }
.pt-hero2 h1 { font-size: 50px; letter-spacing: -.01em; max-width: 880px; }
.pt-hero2 > .wrap > p { font-size: 19px; max-width: 720px; }
.pt-tabs-wrap { position: static; background: #F6F4EE; border-bottom: 0; backdrop-filter: none; }
.pt-tabs { justify-content: center; flex-wrap: wrap; padding-top: 4px; padding-bottom: 30px; }
.pt-tab { padding: 10px 20px; font-size: 15px; color: var(--ink); border-color: #E2DED2; background: #fff; }
.pt-tab:hover { border-color: var(--gold-light); color: var(--ink); }
.pt-tab.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pt-hero2 + .pt-tabs-wrap + .wrap { padding-top: 6px; }
.pt-sec h2 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 14px; }
.pt-grid { gap: 18px; }
.pt-card { flex-direction: column; gap: 14px; padding: 24px 22px 22px; min-height: 196px; border-radius: 16px; border-color: #ECEAE3; box-shadow: 0 1px 2px rgba(20,27,45,.06), 0 8px 24px -18px rgba(20,27,45,.25); }
.pt-card:hover { transform: translateY(-4px); border-color: #E6D3A8; box-shadow: 0 2px 4px rgba(20,27,45,.06), 0 22px 40px -24px rgba(20,27,45,.45); }
.pt-card .pt-ic { width: 52px; height: 52px; border-radius: 14px; }
.pt-card .pt-txt b { font-size: 19px; font-weight: 700; letter-spacing: -.005em; }
.pt-card .pt-txt small { font-size: 14.5px; line-height: 1.5; }
.pt-card .pt-tag { position: absolute; top: 18px; right: 16px; margin: 0; }
.pt-card.sm { min-height: 0; flex-direction: row; align-items: center; padding: 16px; }
.pt-card.sm .pt-txt b { font-size: 16px; } .pt-card.sm .pt-txt small { font-size: 13.5px; }

/* ---------- start screen ---------- */
.pt-tool[data-state="empty"] .crumbs, .pt-tool[data-state="empty"] .pt-head2, .pt-tool[data-state="empty"] .pt-s-empty, .pt-tool[data-state="done"] .crumbs, .pt-tool[data-state="done"] .pt-done {
  background: #F6F4EE; box-shadow: 0 0 0 100vmax #F6F4EE; clip-path: inset(0 -100vmax); }
.pt-tool[data-state="empty"] .pt-s-empty { padding-bottom: 54px; }
.pt-tool[data-state="done"] .pt-done { padding-bottom: 50px; }
.pt-head2 { flex-direction: column; text-align: center; gap: 12px; margin: 0 auto; padding: 26px 0 26px; max-width: none; }
.pt-head2 h1 { font-size: 48px; letter-spacing: -.01em; } .pt-head2 > div { max-width: 820px; }
.pt-head2 p { margin: 6px auto 0; font-size: 19px; max-width: 700px; }
.pt-head2 .pt-ic-lg { width: 58px; height: 58px; border-radius: 16px; }
.pt-tool[data-state="files"] .pt-tool-head, .pt-tool[data-state="busy"] .pt-tool-head, .pt-tool[data-state="done"] .pt-tool-head { display: none; }
.pt-s-empty .pt-drop { border: 0; background: transparent; padding: 6px 0 10px; gap: 10px; }
.pt-s-empty .pt-drop:hover { background: transparent; }
.pt-s-empty .pt-drop.over { background: #FFF6E3; outline: 3px dashed var(--gold-light); outline-offset: 14px; border-radius: 24px; }
.pt-s-empty .pt-drop-ic, .pt-s-empty .pt-drop > b { display: none; }
.pt-bigbtn { order: -1; margin: 0 !important; min-width: 360px; height: 76px; padding: 0 44px; border-radius: 16px; font-size: 22px; font-weight: 700; justify-content: center;
  background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(176,128,36,.6); transition: transform .15s, box-shadow .15s, background .15s; }
.pt-bigbtn .gi { width: 24px; height: 24px; color: #1B2238; --gia: #1B2238; }
.pt-drop:hover .pt-bigbtn { background: #d9a94d; transform: translateY(-1px); box-shadow: 0 20px 38px -16px rgba(176,128,36,.85); }
.pt-s-empty .pt-drop small { font-size: 15.5px; color: var(--muted); }
.pt-s-empty .pt-drop-note { margin-top: 2px; }
.pt-s-empty .pt-mini-trust { margin-top: 26px; }

/* ---------- workspace ---------- */
.pt-tool[data-state="files"] { padding-bottom: 10px; }
.pt-tool[data-state="files"] .crumbs { position: relative; z-index: 1; }
.pt-s-files { gap: 0; margin-top: 10px; grid-template-columns: minmax(0, 1fr) 360px; align-items: stretch; }
.pt-files-main { position: relative; border: 0; border-radius: 0; background: #EDEEF2; padding: 26px 28px 40px; min-height: 560px;
  box-shadow: 0 0 0 100vmax #EDEEF2; clip-path: inset(0 0 0 -100vmax); }
.pt-files-bar { padding-right: 76px; min-height: 56px; margin-bottom: 18px; row-gap: 12px; } .pt-count { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.pt-files-bar + .pt-hint { margin: -4px 0 20px; line-height: 1.5; }
.pt-tool:not([data-pdft='merge-pdf']):not([data-pdft='jpg-to-pdf']):not([data-pdft='png-to-pdf']) .pt-files-bar { padding-right: 0; min-height: 0; }
.pt-files { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 22px; }
.pt-file { background: transparent; border: 0; box-shadow: none; padding: 0; align-items: center; text-align: center; }
.pt-file .pt-thumb { width: 100%; padding: 0; border: 0; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(20,27,45,.1), 0 10px 22px -12px rgba(20,27,45,.35); transition: transform .15s, box-shadow .15s; }
.pt-file:hover .pt-thumb { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,27,45,.12), 0 18px 30px -14px rgba(20,27,45,.45); }
.pt-file .pt-thumb img { object-fit: contain; border-radius: 4px; }
.pt-file b { max-width: 100%; font-size: 13.5px; margin-top: 10px; } .pt-file small { padding-right: 0; }
.pt-file .pt-n { top: -10px; left: -10px; box-shadow: 0 4px 10px -4px rgba(20,27,45,.5); } .pt-file .pt-x { top: -10px; right: -10px; opacity: .92; }
.pt-file .pt-mv { position: static; justify-content: center; margin-top: 6px; }
.pt-file.pt-add { background: transparent; border: 2px dashed #C3C7D3; border-radius: 6px; min-height: 0; aspect-ratio: 3 / 4; align-self: start; }
.pt-file.pt-add:hover { border-color: var(--gold); background: rgba(255,255,255,.5); }
.pt-fab { position: absolute; top: 18px; right: 22px; z-index: 2; width: 56px; height: 56px; border-radius: 999px; border: 0; background: var(--navy); color: var(--gold-light); --gia: #fff;
  display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 24px -10px rgba(20,27,45,.6); transition: transform .15s; }
.pt-fab:hover { transform: scale(1.06); } .pt-fab .gi { width: 26px; height: 26px; }
.pt-fab-n { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--gold-light); color: var(--ink); font-size: 12.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid #EDEEF2; }
.pt-pages { gap: 20px; } .pt-page { border-radius: 8px; box-shadow: 0 1px 2px rgba(20,27,45,.08), 0 10px 22px -14px rgba(20,27,45,.35); }
.pt-one { border: 0; box-shadow: 0 1px 2px rgba(20,27,45,.08), 0 10px 24px -16px rgba(20,27,45,.35); }
.pt-preview { border: 0; background: transparent; padding: 18px 0 0; }

.pt-side { position: relative; top: auto; border: 0; border-left: 1px solid #E4E6EC; border-radius: 0; box-shadow: 0 0 0 100vmax #fff; clip-path: inset(0 -100vmax 0 0); padding: 26px 24px 0; display: flex; flex-direction: column; background: #fff; }
.pt-side-t { font-family: var(--serif); font-size: 28px !important; font-weight: 600; margin: 0 0 8px !important; padding-bottom: 0; line-height: 1.2; }
.pt-side-intro { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.pt-side .pt-sum { margin-top: auto; padding-top: 22px; margin-bottom: 18px; }
.pt-side .pt-go { position: static; margin: 4px -24px 0; width: calc(100% + 48px); border-radius: 0; height: 74px; font-size: 21px; font-weight: 700; background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.pt-side .pt-go:hover { background: #d9a94d; }
.pt-side .pt-go .gi { width: 24px; height: 24px; }
.pt-side-note { margin: 14px 0 16px; order: 2; }

/* ---------- busy + done ---------- */
.pt-s-busy { padding: 30px 0 60px; }
.pt-done { border: 0; border-radius: 0; background: transparent; padding: 34px 0 20px; }
.pt-done-ic { width: 54px; height: 54px; margin-bottom: 12px; }
.pt-done h2 { font-size: 44px; letter-spacing: -.01em; }
.pt-outs { gap: 14px; margin-top: 20px; }
.pt-done-btns { flex-direction: column; align-items: center; gap: 12px; }
.pt-done-btns .pt-dl, .pt-done-btns .pt-zip { min-width: 380px; height: 76px; justify-content: center; border-radius: 16px; font-size: 22px; font-weight: 700; background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(176,128,36,.6); }
.pt-done-btns .pt-dl:hover, .pt-done-btns .pt-zip:hover { background: #d9a94d; color: #1B2238; }
.pt-done-btns .pt-dl .gi, .pt-done-btns .pt-zip .gi { width: 24px; height: 24px; }
.pt-done-btns .btn-outline { background: #fff; }
.pt-done-file { margin: 4px 0 6px; }
.pt-outlist .pt-dl { min-width: 0 !important; height: auto !important; font-size: 14px !important; box-shadow: none !important; background: #fff !important; color: var(--navy) !important; border-color: var(--line-2) !important; border-radius: 999px !important; }
.pt-next { margin-top: 34px; text-align: left; } .pt-next h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  .pt-s-files { grid-template-columns: minmax(0, 1fr); }
  .pt-files-main { clip-path: inset(0 -100vmax); min-height: 0; }
  .pt-side { border-left: 0; padding: 22px 0 0; background: transparent; box-shadow: none; clip-path: none; }
  .pt-side .pt-go { position: static; margin: 0; width: 100%; border-radius: 14px; }
}
@media (max-width: 640px) {
  .pt-hero2 { padding: 36px 0 18px; } .pt-hero2 h1 { font-size: 32px; } .pt-hero2 > .wrap > p { font-size: 16px; }
  .pt-tabs { flex-wrap: nowrap; justify-content: flex-start; padding-bottom: 18px; } .pt-tab { padding: 8px 15px; font-size: 14px; }
  .pt-card { min-height: 0; padding: 16px 14px; gap: 10px; } .pt-card .pt-txt b { font-size: 15.5px; } .pt-card .pt-ic { width: 44px; height: 44px; }
  .pt-card .pt-tag { position: static; }
  .pt-head2 { padding: 14px 0 18px; align-items: center; } .pt-head2 h1 { font-size: 32px; } .pt-head2 p { font-size: 16px; }
  .pt-bigbtn { min-width: 0; width: 100%; height: 66px; font-size: 19px; padding: 0 20px; }
  .pt-files-main { padding: 18px 0 26px; } .pt-files-bar { padding-right: 64px; margin-bottom: 16px; }
  .pt-files-bar .pt-files-act { width: 100%; }
  .pt-files { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .pt-fab { top: 10px; right: 0; width: 50px; height: 50px; }
  .pt-file .pt-n { top: 6px; left: 6px; } .pt-file .pt-x { top: 6px; right: 6px; }
  .pt-side-t { font-size: 24px !important; }
  .pt-side .pt-go { display: none; }
  .pt-done h2 { font-size: 32px; }
  .pt-done-btns { width: 100%; } .pt-done-btns .pt-dl, .pt-done-btns .pt-zip, .pt-done-btns .btn { min-width: 0; width: 100%; height: 64px; font-size: 19px; justify-content: center; }
}
.pt-wa { width: 22px; height: 22px; flex: none; }
/* v8.9.36 owner: "ye box kaisa aa rha hai desktop pe". After tapping Select the file input kept focus and drew a gold ring round the
   whole upload area (top edge cut by the card). No ring on the area; keyboard users get a clear ring on the button itself. */
.pt-drop:focus-within { outline: 0; }
.pt-drop.over:focus-within { outline: 3px dashed var(--gold-light); }
.pt-drop:has(.pt-input:focus-visible) .pt-bigbtn, .pt-drop:has(.pt-input:focus-visible) .pt-drop-btn { outline: 3px solid var(--navy); outline-offset: 4px; }
/* v8.9.36 the button also has .btn-dark, whose hover turned the text white on gold (hard to read, stuck after a tap on phones) */
.pt-drop .pt-bigbtn:hover, .pt-drop:hover .pt-bigbtn { color: var(--ink); }
