.pdf-order-shell .tool-hero { width: min(100%, 1160px); margin: auto; padding: 34px clamp(20px, 4vw, 48px) 76px; }
.pdf-order-shell .breadcrumb { margin-bottom: 38px; }
.pdf-order-shell h1 { max-width: 1000px; margin: 10px 0 18px; font-size: clamp(40px, 6vw, 68px); letter-spacing: -.045em; }
.pdf-order-shell .lead { max-width: 790px; line-height: 1.8; }
.pdf-order-shell .workflow-pipeline { margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; border: 1px solid #ccc; }
.pdf-order-shell .workflow-pipeline li { min-height: 105px; padding: 18px; display: flex; flex-direction: column; border-right: 1px solid #ccc; }
.pdf-order-shell .workflow-pipeline li:last-child { border-right: 0; }
.pdf-order-shell .workflow-pipeline span { color: #d94b35; font: 9px ui-monospace, monospace; }
.pdf-order-shell .workflow-pipeline b { margin-top: auto; font-size: 15px; }
.pdf-order-shell .workflow-pipeline small { margin-top: 5px; color: #666; font-size: 9px; }
.pdf-order-workspace { margin-top: 36px; border: 2px solid #15202b; background: #fff; }
.pdf-order-main { min-height: 430px; }
.pdf-order-toolbar { min-height: 70px; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ccc; }
.pdf-order-toolbar > div { display: flex; align-items: center; gap: 12px; }
.pdf-order-toolbar span { color: #666; font: 10px ui-monospace, monospace; }
.pdf-order-files { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; background: #f3f3f0; }
.pdf-order-file { min-height: 58px; padding: 11px 13px; display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; align-items: center; gap: 14px; border: 1px solid #ccc; background: #fff; }
.pdf-order-file > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pdf-order-file strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pdf-order-file small { color: #666; font-size: 9px; }
.pdf-order-file > span { padding: 4px 7px; border: 1px solid #bbb; font: 8px ui-monospace, monospace; }
.pdf-order-file > span.is-done { border-color: #24734d; color: #17633f; }
.pdf-order-file > span.is-processing { border-color: #9b6b12; color: #74500e; }
.pdf-order-file > span.is-error { border-color: #b52727; color: #a02222; }
.pdf-order-file > button { width: 30px; height: 30px; border: 0; background: transparent; color: #a02222; cursor: pointer; }
.pdf-order-run { padding: 18px 20px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; border-top: 1px solid #ccc; }
.pdf-order-run p { flex: 1; margin: 0; color: #26734d; font-size: 10px; }
.pdf-order-run p.is-error { color: #b52727; }
.pdf-order-results { border-top: 2px solid #15202b; }
.pdf-order-result-head { padding: 24px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pdf-order-result-head h2 { margin: 0; font-size: 25px; }
.pdf-order-result-head p { margin: 6px 0 0; color: #666; font-size: 10px; }
.pdf-order-result-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.pdf-order-document { border-top: 1px solid #aaa; }
.pdf-order-document > header { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #fff; }
.pdf-order-document h3 { margin: 0; font-size: 14px; }
.pdf-order-document header p { margin: 5px 0 0; color: #26734d; font-size: 9px; }
.pdf-order-document header p.has-warning { color: #a02222; }
.pdf-order-pages { padding: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; background: #e8e8e5; }
.pdf-order-page { padding: 8px; border: 1px solid #bbb; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.07); }
.pdf-order-page label { margin-top: 8px; display: grid; grid-template-columns: 1fr 58px; align-items: center; gap: 8px; color: #555; font-size: 8px; font-weight: 700; }
.pdf-order-page input { width: 100%; min-height: 30px; padding: 4px; border: 1px solid #bbb; text-align: center; }
.pdf-order-page-actions { margin-top: 7px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #ddd; }
.pdf-order-page-actions button { min-height: 29px; border: 0; border-right: 1px solid #ddd; background: #fff; cursor: pointer; }
.pdf-order-page-actions button:last-child { border-right: 0; }
.pdf-order-page-actions button:hover { background: #f1f1ef; }
.pdf-order-shell .content-section { width: min(100%, 1160px); margin: auto; padding: 70px clamp(20px, 4vw, 48px); }
.pdf-order-shell .content-section h2 { margin: 8px 0 24px; font-size: clamp(30px, 4vw, 45px); }
.pdf-order-shell .steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ccc; border-left: 1px solid #ccc; }
.pdf-order-shell .steps article { min-height: 180px; padding: 24px; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; }
.pdf-order-shell .steps span { color: #d94b35; font: 10px ui-monospace, monospace; }
.pdf-order-shell .steps h3 { margin: 48px 0 8px; }
.pdf-order-shell .steps p { margin: 0; color: #555; font-size: 12px; line-height: 1.7; }
.pdf-order-shell .faq-section details { border-top: 1px solid #ccc; }
.pdf-order-shell .faq-section summary { padding: 20px 0; display: flex; justify-content: space-between; font-weight: 700; cursor: pointer; }
.pdf-order-shell .faq-section details p { margin: 0 0 22px; color: #555; line-height: 1.8; }

@media (max-width: 720px) {
  .pdf-order-shell h1 { font-size: 30px; line-height: 1.18; letter-spacing: -.025em; }
  .pdf-order-shell .workflow-pipeline { display: flex; grid-template-columns: none; overflow-x: auto; white-space: nowrap; }
  .pdf-order-shell .workflow-pipeline li:nth-child(n) { flex: 0 0 auto; padding: 10px 13px; flex-direction: row; align-items: center; border-right: 0; border-bottom: 0; }
  .pdf-order-shell .steps { grid-template-columns: 1fr; }
  .pdf-order-result-head, .pdf-order-document > header, .pdf-order-run, .pdf-order-toolbar { align-items: flex-start; flex-direction: column; }
  .pdf-order-run .button, .pdf-order-result-head .button, .pdf-order-result-actions { width: 100%; }
}
