.pdf-compress{gap:0;color-scheme:var(--native-color-scheme)}
.pdfc-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}
.pdfc-intro h2{font-size:17px;line-height:1.4;font-weight:500;margin:0 0 5px}
.pdfc-intro p{font-size:13px;color:var(--muted);margin:0}
.pdfc-service{flex-shrink:0;padding:4px 7px;border:1px solid var(--line);border-radius:4px;font:10px/1.4 ui-monospace,"SF Mono",Menlo,Consolas,monospace;color:var(--muted)}
.pdfc-service[data-state="available"]{color:var(--green)}
.pdfc-service[data-state="unavailable"]{color:var(--amber)}
.pdfc-access{display:flex;align-items:center;gap:18px;background:var(--accent-bg);border:1px solid var(--accent-line);border-radius:6px;padding:12px 14px;margin-bottom:20px;font-size:12.5px}
.pdfc-access p{flex:1;margin:0}
.pdfc-access>div{display:flex;align-items:center;gap:14px;flex-shrink:0}
.pdfc-drop{display:flex;align-items:center;gap:16px;border:1px dashed var(--line3);border-radius:7px;padding:20px;background:var(--panel2);margin-bottom:26px}
.pdfc-drop[data-dragging="true"]{border-color:var(--accent);outline:2px solid var(--accent-line);outline-offset:2px;background:var(--accent-bg)}
.pdfc-drop[data-selected="true"]{border-style:solid}
.pdfc-document{display:flex;align-items:flex-end;justify-content:center;flex-shrink:0;width:35px;height:44px;padding-bottom:7px;border:1px solid var(--line2);border-radius:4px;background:var(--panel);color:var(--muted);font:9px/1 ui-monospace,"SF Mono",Menlo,Consolas,monospace;position:relative}
.pdfc-document::before{content:"";position:absolute;right:-1px;top:-1px;width:10px;height:10px;border-left:1px solid var(--line2);border-bottom:1px solid var(--line2);border-radius:0 3px 0 2px;background:var(--panel2)}
.pdfc-drop-copy{flex:1;min-width:0}
.pdfc-drop-title{font-size:14px;font-weight:500;color:var(--ink);margin:0 0 5px;overflow-wrap:anywhere}
.pdfc-help{font-size:11.5px;color:var(--muted);line-height:1.6;margin:0}
.pdfc-file-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.pdfc-workspace{display:grid;grid-template-columns:minmax(220px,285px) minmax(0,1fr);gap:28px}
.pdfc-settings{min-width:0;display:flex;flex-direction:column;gap:14px;padding-right:26px;border-right:1px solid var(--line)}
.pdfc-settings fieldset{padding:0;border:0;margin:0;min-width:0}
.pdfc-settings legend,.pdfc-heading h2{padding:0;font-size:12px;font-weight:500;color:var(--ink);margin:0 0 13px;letter-spacing:0}
.pdfc-option{display:flex;gap:9px;align-items:flex-start;padding:12px 11px;border:1px solid var(--line);border-radius:6px;margin-bottom:8px;background:var(--panel);cursor:pointer;transition:border-color .15s,background .15s}
.pdfc-option:last-child{margin-bottom:0}
.pdfc-option:hover{border-color:var(--line3)}
.pdfc-option:has(input:checked){border-color:var(--accent-line);background:var(--accent-bg)}
.pdfc-option:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}
.pdfc-option input{margin:3px 0 0;accent-color:var(--accent);flex-shrink:0}
.pdfc-option>span{flex:1;min-width:0}
.pdfc-option-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pdfc-option-heading strong{color:var(--ink);font-size:12px;font-weight:500}
.pdfc-option-heading>span{font:10px/1.5 ui-monospace,"SF Mono",Menlo,Consolas,monospace;color:var(--muted);white-space:nowrap}
.pdfc-option-description{display:block;margin-top:3px;font-size:11px;line-height:1.5;color:var(--muted)}
.pdfc-settings fieldset:disabled .pdfc-option{cursor:default;opacity:.65}
.pdfc-run-actions{display:flex;gap:8px;margin-top:4px}
.pdfc-run-actions .btn{flex:1;min-height:36px}
.pdfc-result{min-width:0;padding:0;display:flex;flex-direction:column}
.pdfc-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.pdfc-heading h2{margin-bottom:0}
.pdfc-heading>span{font-size:11px;color:var(--muted)}
.pdfc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;flex:1;padding:25px 20px 20px;min-height:320px}
.pdfc-empty-art{position:relative;width:98px;height:105px;margin-bottom:20px}
.pdfc-sheet{display:block;width:56px;height:73px;position:absolute;border:1px solid var(--line2);border-radius:5px;background:var(--panel)}
.pdfc-sheet-back{left:14px;top:5px;transform:rotate(-10deg);background:var(--panel2)}
.pdfc-sheet-front{left:29px;top:16px;transform:rotate(5deg);padding:16px 11px}
.pdfc-sheet i{display:block;height:2px;background:var(--line2);margin:0 0 6px;width:100%}
.pdfc-sheet i:nth-child(3){width:65%}
.pdfc-sheet b{display:block;margin-top:7px;color:var(--muted);font:9px/1 ui-monospace,"SF Mono",Menlo,Consolas,monospace}
.pdfc-art-arrow{position:absolute;bottom:1px;right:3px;border:1px solid var(--accent-line);background:var(--accent-bg);border-radius:50%;width:29px;height:29px;color:var(--accent);font:18px/26px sans-serif}
.pdfc-empty h3{font-size:15px;font-weight:500;letter-spacing:-.01em;color:var(--ink);margin:0 0 7px}
.pdfc-empty p{max-width:33ch;color:var(--muted);font-size:12px;margin:0;line-height:1.6}
.pdfc-empty-note{font-size:10.5px;color:var(--muted);margin-top:20px}
.pdfc-progress{padding:42px 0 25px;flex:1;display:flex;flex-direction:column;justify-content:center;min-height:300px}
.pdfc-progress label{font-size:13px;font-weight:500;color:var(--ink);margin-bottom:12px}
.pdfc-progress progress{width:100%;height:7px;border:0;border-radius:8px;accent-color:var(--accent);background:var(--line);overflow:hidden}
.pdfc-progress progress::-webkit-progress-bar{background:var(--line);border-radius:8px}
.pdfc-progress progress::-webkit-progress-value{background:var(--accent);border-radius:8px}
.pdfc-progress progress::-moz-progress-bar{background:var(--accent);border-radius:8px}
.pdfc-progress .pdfc-help{margin-top:12px}
.pdfc-completed{padding-top:18px}
.pdfc-saving{display:flex;align-items:baseline;gap:10px;margin-bottom:19px}
.pdfc-saving strong{font-size:42px;font-weight:500;line-height:1;letter-spacing:-.04em;color:var(--green)}
.pdfc-saving span{font-size:12px;color:var(--muted)}
.pdfc-result[data-unchanged="true"] .pdfc-saving strong{color:var(--ink)}
.pdfc-size-chart{display:grid;gap:9px;margin-bottom:20px}
.pdfc-size-chart>div{display:flex;align-items:center;gap:12px}
.pdfc-size-chart span{width:45px;flex-shrink:0;color:var(--muted);font-size:10.5px}
.pdfc-size-chart i{flex:1;display:block;height:10px;background:var(--bg2);border-radius:2px}
.pdfc-size-chart b{display:block;width:100%;height:100%;background:var(--line3);border-radius:2px}
.pdfc-size-chart>div:last-child b{background:var(--green)}
.pdfc-result[data-unchanged="true"] .pdfc-size-chart>div:last-child b{background:var(--line3)}
.pdfc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 18px;margin:0;border-top:1px solid var(--line);padding-top:15px}
.pdfc-stats>div:last-child{grid-column:1/-1}
.pdfc-stats dt{font-size:10.5px;color:var(--muted);margin:0 0 2px}
.pdfc-stats dd{font-size:12px;color:var(--ink);margin:0;overflow-wrap:anywhere}
.pdfc-result-note{font-size:11.5px;line-height:1.6;color:var(--text);margin:16px 0 14px}
.pdfc-download{min-width:150px}
.pdfc-download-help{margin-top:8px;overflow-wrap:anywhere}
.pdfc-feedback-row{display:flex;align-items:center;gap:12px;margin-top:22px;min-height:29px}
.pdfc-feedback-row>.btn{flex-shrink:0}
.pdfc-feedback{flex:1;font-size:12px;color:var(--muted);margin:0;overflow-wrap:anywhere}
.pdfc-feedback[data-state="error"]{color:var(--red)}
.pdfc-notes{border-top:1px solid var(--line);padding-top:13px;margin-top:13px}
.pdfc-notes p{color:var(--muted);font-size:11px;line-height:1.65;margin:0 0 8px}
.pdfc-notes p:last-child{margin-bottom:0}
.pdf-compress .btn:focus-visible,.pdf-compress .sh-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:760px){
  .pdfc-intro{gap:14px;flex-direction:column;margin-bottom:18px}
  .pdfc-drop{flex-wrap:wrap;padding:16px;gap:13px}
  .pdfc-drop-copy{flex-basis:calc(100% - 50px)}
  .pdfc-file-actions{padding-left:48px}
  .pdfc-workspace{grid-template-columns:minmax(0,1fr);gap:24px}
  .pdfc-settings{border-right:0;padding-right:0}
  .pdfc-settings fieldset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .pdfc-settings legend{margin-bottom:12px}
  .pdfc-option{margin:0;padding:11px 8px;gap:6px}
  .pdfc-option-heading{flex-direction:column;gap:3px}
  .pdfc-result{border-top:1px solid var(--line);padding-top:20px}
  .pdfc-empty{min-height:280px}
  .pdfc-progress{min-height:240px}
  .pdfc-access{align-items:flex-start;flex-direction:column;gap:10px}
}
@media(max-width:440px){
  .pdfc-settings fieldset{display:block}
  .pdfc-option{padding:12px;margin-bottom:8px;gap:9px}
  .pdfc-option-heading{flex-direction:row}
  .pdfc-option-description{font-size:11.5px}
  .pdfc-file-actions{padding-left:0;width:100%;flex-wrap:wrap}
  .pdfc-file-actions>.btn:first-child{flex:1}
  .pdfc-intro h2{font-size:16px}
  .pdfc-feedback-row{align-items:flex-start;flex-direction:column;gap:8px}
  .pdfc-stats{column-gap:12px}
  .pdfc-empty{padding-right:0;padding-left:0}
  .pdfc-heading{flex-wrap:wrap;gap:5px}
}
@media(prefers-reduced-motion:reduce){.pdfc-option{transition:none}}
