.pdf-compress-main { padding-top: 58px; }
.pdf-compress-hero { grid-template-columns: minmax(0,1fr) 245px; }
.pdf-compress-visual { position: relative; width: 225px; height: 185px; }
.pdf-compress-visual > span { position: absolute; left: 5px; top: 5px; width: 126px; height: 164px; display: grid; place-items: center; border-radius: 15px; color: #fff; background: #b85f49; box-shadow: 0 22px 45px rgba(70,46,36,.17); font: 850 20px Georgia,serif; transform: rotate(-4deg); }
.pdf-compress-visual > i { position: absolute; left: 106px; top: 67px; z-index: 2; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #292725; box-shadow: 0 9px 20px rgba(0,0,0,.17); font-size: 19px; font-style: normal; }
.pdf-compress-visual > b { position: absolute; right: 3px; top: 35px; width: 94px; height: 105px; display: grid; place-items: center; border: 1px solid #d4cec4; border-radius: 14px; color: #39705a; background: #fffefa; box-shadow: 0 14px 30px rgba(52,44,37,.11); font: 800 22px Georgia,serif; transform: rotate(5deg); }
.pdf-compress-workbench { position: relative; padding: 27px; border: 1px solid rgba(105,98,88,.2); border-radius: 28px; background: rgba(255,254,250,.86); box-shadow: 0 28px 75px rgba(54,47,37,.1), inset 0 1px #fff; backdrop-filter: blur(14px); }
.pdf-compress-empty[hidden], .pdf-compress-editor[hidden], #pdfCompressLoading[hidden], #pdfCompressProgress[hidden], #pdfCompressCustom[hidden], #pdfCompressResult[hidden] { display: none; }
.pdf-compress-capabilities { grid-template-columns: repeat(3,1fr); }
.pdf-compress-filebar { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #e2ddd4; border-radius: 14px; padding: 11px 13px; background: #f7f4ee; }
.pdf-compress-filebar > div { min-width: 0; display: flex; align-items: center; gap: 8px; }
.pdf-compress-filebar strong { max-width: 310px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.pdf-compress-filebar span, .pdf-compress-filebar small { border-radius: 7px; padding: 6px 8px; color: #777169; background: #ece8e1; font-size: 8px; }
.pdf-compress-filebar label, .pdf-compress-filebar button { min-height: 32px; display: inline-flex; align-items: center; border: 1px solid #d9d3ca; border-radius: 8px; padding: 0 10px; background: #fffefa; font-size: 9px; font-weight: 800; cursor: pointer; }
.pdf-compress-filebar label { color: #fff; border-color: #292725; background: #292725; }
.pdf-compress-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 12px; margin-top: 12px; }
.pdf-compress-analysis, .pdf-compress-options { border: 1px solid #e1dcd3; border-radius: 18px; background: #fffefa; }
.pdf-compress-analysis { min-width: 0; display: grid; grid-template-columns: minmax(180px, 38%) 1fr; gap: 18px; padding: 18px; }
.pdf-compress-preview { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border-radius: 14px; padding: 13px; background: #efebe4; }
.pdf-compress-preview canvas { max-width: 100%; max-height: 430px; display: block; border-radius: 5px; background: #fff; box-shadow: 0 12px 25px rgba(52,44,37,.11); }
.pdf-compress-preview span, .analysis-kicker { color: #a95642; font-size: 7px; font-weight: 850; letter-spacing: .15em; }
.pdf-compress-inspection h3 { margin: 7px 0 8px; font-size: 19px; letter-spacing: -.035em; }
.pdf-compress-inspection > p { margin: 0 0 14px; color: #898279; font-size: 9px; line-height: 1.6; }
.pdf-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.pdf-feature-grid > span { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; border: 1px solid #e1dbd2; border-radius: 10px; padding: 10px; background: #f7f4ee; }
.pdf-feature-grid b { grid-row: 1/3; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #735344; background: #eaded7; font-size: 6px; }
.pdf-feature-grid strong { align-self: end; font-size: 9px; }
.pdf-feature-grid small { align-self: start; margin-top: 2px; color: #999188; font-size: 6px; }
.pdf-feature-grid .feature-found { border-color: #ddb9ae; background: #fff4f0; }
.pdf-feature-grid .feature-found b { color: #853e2e; background: #efcfc5; }
.pdf-flatten-warning { margin-top: 12px; border-left: 3px solid #c06049; border-radius: 7px; padding: 11px 12px; background: #fff2ed; }
.pdf-flatten-warning strong { font-size: 9px; }
.pdf-flatten-warning p { margin: 5px 0 0; color: #7d655c; font-size: 8px; line-height: 1.55; }
.pdf-compress-ack { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: #5e5851; font-size: 8px; font-weight: 800; line-height: 1.45; cursor: pointer; }
.pdf-compress-ack input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: #b85f49; }
.pdf-compress-options { position: sticky; top: 14px; padding: 20px; }
.pdf-compress-options h3 { margin: 6px 0 0; font-size: 18px; }
.pdf-compress-options > p { margin: 8px 0 17px; color: #8b857c; font-size: 8px; line-height: 1.55; }
.pdf-compress-options fieldset { border: 0; margin: 0; padding: 0; }
.pdf-compress-options legend, .pdf-compress-name > span { display: block; margin-bottom: 7px; color: #726c64; font-size: 8px; font-weight: 800; }
.pdf-compress-presets { display: grid; grid-template-columns: repeat(2,1fr); gap: 6px; }
.pdf-compress-presets label { cursor: pointer; }
.pdf-compress-presets input { position: absolute; opacity: 0; pointer-events: none; }
.pdf-compress-presets span { min-height: 55px; display: grid; align-content: center; gap: 3px; border: 1px solid #d9d3ca; border-radius: 9px; padding: 0 10px; background: #f6f3ed; }
.pdf-compress-presets input:checked + span { color: #fff; border-color: #2e2b28; background: #2e2b28; }
.pdf-compress-presets b { font-size: 9px; }
.pdf-compress-presets small { color: #999188; font-size: 6px; }
.pdf-compress-presets input:checked + span small { color: #c9c3bb; }
.pdf-compress-custom { display: grid; gap: 11px; margin-top: 13px; border-radius: 10px; padding: 12px; background: #f4f1eb; }
.pdf-compress-custom label { display: grid; gap: 7px; }
.pdf-compress-custom label > span { display: flex; justify-content: space-between; color: #716a62; font-size: 8px; font-weight: 800; }
.pdf-compress-custom input { width: 100%; accent-color: #b85f49; }
.pdf-compress-name { display: grid; margin-top: 13px; }
.pdf-compress-name div { height: 40px; display: grid; align-items: center; border: 1px solid #d9d3ca; border-radius: 9px; padding: 0 10px; background: #fff; }
.pdf-compress-name input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 9px; }
.pdf-compress-result { margin-top: 12px; border: 1px solid #c8dfd4; border-radius: 12px; padding: 13px; background: #f0f8f4; }
.pdf-compress-result.no-saving { border-color: #e2c4b8; background: #fff5f0; }
.pdf-compress-result > span { color: #39705a; font-size: 7px; font-weight: 900; letter-spacing: .15em; }
.pdf-compress-result.no-saving > span { color: #a3523e; }
.pdf-compress-result h4 { margin: 5px 0 10px; font-size: 13px; }
.pdf-compress-result > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.pdf-compress-result > div span { display: grid; gap: 3px; border-radius: 7px; padding: 8px; background: rgba(255,255,255,.68); }
.pdf-compress-result small { color: #888178; font-size: 6px; }
.pdf-compress-result strong { font: 750 11px Georgia,serif; }
.pdf-compress-result p { margin: 9px 0; color: #706961; font-size: 7px; line-height: 1.5; }
.pdf-compress-result button { width: 100%; min-height: 38px; border: 0; border-radius: 8px; color: #fff; background: #2d2b28; font-size: 8px; font-weight: 850; cursor: pointer; }
.pdf-compress-result button b { margin-left: 5px; color: #efaa97; }
@media (max-width: 1040px) { .pdf-compress-layout { grid-template-columns: 1fr; } .pdf-compress-options { position: static; } }
@media (max-width: 800px) { .pdf-compress-hero { grid-template-columns: 1fr; } .pdf-compress-visual { display: none; } .pdf-compress-analysis { grid-template-columns: 1fr; } .pdf-compress-preview canvas { max-height: 330px; } .pdf-compress-capabilities { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .pdf-compress-workbench { padding: 13px; border-radius: 21px; } .pdf-compress-filebar { align-items: flex-start; flex-direction: column; } .pdf-compress-filebar > div { flex-wrap: wrap; } .pdf-compress-analysis { padding: 12px; } .pdf-feature-grid { grid-template-columns: 1fr; } }

