/* Receipt sheets retain a compact document layout on screen and in print. */
.quote-view-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:900px;margin:0 auto 14px;color:#6b7280;font-size:13px}.quote-view-controls .btn{font-size:12px;min-height:34px;padding:7px 12px}.quote-sheet-viewport{position:relative;max-width:900px;width:100%;margin:0 auto;overflow:auto;overscroll-behavior-inline:contain;border:1px solid #e3e5e8;background:#fff;box-sizing:content-box}.quote-sheet-viewport:focus-visible{outline:2px solid #222;outline-offset:3px}.quote-sheet-viewport:after{content:'';display:block;width:var(--quote-rendered-width,100%);height:1px}.quote-sheet.compact-quote{box-sizing:border-box;position:absolute;left:0;top:0;width:794px;max-width:none;margin:0;padding:40px;border:0;border-radius:0;transform-origin:top left;background:#fff;color:#222;font-family:Pretendard,-apple-system,BlinkMacSystemFont,sans-serif;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.compact-quote *{box-sizing:border-box}.cq-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.cq-heading img{width:124px;height:auto}.cq-heading h1{font-size:27px;line-height:1.2;letter-spacing:-.6px;margin:0;font-weight:750}.cq-meta{display:flex;justify-content:space-between;margin:15px 0 9px;font-size:10px;color:#6b7280}.cq-parties{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:9px 0 13px;border-top:1.5px solid #222}.cq-parties dl{margin:0;display:grid;align-content:start;gap:3px}.cq-parties dl>div{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px;font-size:11px;line-height:1.35}.cq-parties dt{color:#6b7280;font-size:10px}.cq-parties dd{margin:0}.cq-parties dl>div:first-child dd{font-weight:700}.cq-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11.3px;line-height:1.25;font-variant-numeric:tabular-nums}.cq-no{width:4%}.cq-product{width:25%}.cq-spec{width:29%}.cq-qty{width:5%}.cq-unit{width:18%}.cq-amount{width:19%}.cq-table th{background:#f5f6f8;border-top:1.5px solid #222;border-bottom:1px solid #c9cdd2;padding:7px 5px;text-align:left;font-size:10px;font-weight:700}.cq-table td{padding:5px;border-bottom:1px solid #d9dde1;vertical-align:top;overflow-wrap:anywhere}.cq-table .cq-number{text-align:right;font-variant-numeric:tabular-nums}.cq-index,.cq-label{color:#626a73}.cq-table .cq-service{background:#f6f7f9}.cq-table strong{font-weight:700}.cq-total-area{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-top:13px}.cq-total-area>p{margin:0;font-size:10px;color:#6b7280}.cq-total-area dl{width:280px;margin:0;display:grid;gap:0}.cq-total-area dl>div{display:flex;justify-content:space-between;gap:14px;padding:4px 6px;font-size:12px;line-height:1.3}.cq-total-area dt{color:#5f6670}.cq-total-area dd{margin:0;font-weight:650;font-variant-numeric:tabular-nums}.cq-total-area dl>.cq-grand-total{padding:7px 6px;margin-top:3px;background:#f4f5f7;font-size:17px;font-weight:750}.cq-grand-total dt{color:#222}.cq-notes{margin-top:14px;color:#6b7280;font-size:10px;line-height:1.4}.cq-notes p{margin:2px 0}.cq-foot{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:6px;border-top:1px solid #d9dde1;font-size:9px;color:#6b7280}.quote-sheet-viewport[data-expanded=true]{scrollbar-width:thin}@media(max-width:680px){.quote-view-controls{font-size:11px}.quote-view-controls .btn{font-size:11px;white-space:nowrap}.quote-export-note{font-size:12px}.quote-sheet-viewport{box-shadow:0 4px 18px #00000004}.quote-view-controls>span{max-width:170px}.quote-sheet.compact-quote{padding:40px}.cq-heading h1{font-size:27px}}@media print{@page{size:A4;margin:0}.quote-view-controls,.quote-export-note,#pdf-status{display:none!important}.quote-sheet-viewport{position:static;max-width:none!important;width:auto!important;border:0!important;box-shadow:none!important;overflow:visible!important;margin:0!important;height:auto!important}.quote-sheet-viewport:after{display:none}.quote-sheet.compact-quote{position:static!important;padding:40px!important;box-shadow:none!important;border:0!important;max-width:none!important;break-inside:avoid}.cq-table thead{display:table-header-group}.cq-table tr,.cq-total-area,.cq-parties,.cq-notes{break-inside:avoid}.cq-table th,.cq-table td{padding:5px}.cq-heading h1{font-size:27px}.cq-meta{margin:15px 0 9px}.cq-foot{margin-top:14px}.container.page:has(.compact-quote){width:auto!important;max-width:none!important;margin:0!important;padding:0!important}}
