.print-root{display:none}
.print-open{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:7px 14px;border:1px solid #dce2d3;border-radius:8px;background:#fff;font-size:13px;font-weight:700;white-space:nowrap}
.print-open svg{width:17px;height:17px}
.print-dialog{width:440px;max-width:calc(100% - 28px);padding:26px}
.print-dialog .dialog-top{margin-bottom:14px}
.print-dialog .dialog-top h2{font-size:23px}
.print-dialog .print-description{font-size:15px;text-align:left;color:#64705a;margin:0;line-height:1.8;word-break:keep-all}
.print-options{border:0;padding:0;margin:22px 0 18px;min-width:0}
.print-options legend{font-size:13px;font-weight:700;margin-bottom:9px}
.print-option{display:flex;align-items:center;gap:10px;border:1px solid #e2e7d9;border-radius:10px;padding:14px 12px;margin-top:8px;cursor:pointer}
.print-option:has(input:checked){border-color:#b5af52;background:#fffdef}
.print-option input{width:17px;height:17px;accent-color:#292d28;margin:0;flex-shrink:0}
.print-option>span:nth-child(2){flex:1;min-width:0}
.print-option strong{font-size:15px;display:block;font-weight:700}
.print-option small{font-size:12px;display:block;color:#737e65;margin-top:3px;word-break:keep-all}
.print-option-count{font-size:12px;white-space:nowrap;color:#6c775e}
.print-settings-note{padding:13px 15px;background:#f3f5ef;border-radius:8px}
.print-settings-note strong{font-size:13px}
.print-settings-note p{font-size:13px;color:#69755e;line-height:1.8;margin:4px 0 0;word-break:keep-all}
.print-status{min-height:20px;font-size:12px;color:#696c31;line-height:1.6;margin:12px 0}
.print-dialog-actions{display:flex;gap:9px;justify-content:flex-end}
.print-dialog-actions button{border:1px solid #dce2d3;border-radius:8px;font-size:14px;min-height:44px;padding:10px 16px}
.print-dialog-actions button[type=submit]{display:flex;align-items:center;gap:8px;background:var(--yellow);border-color:var(--yellow);font-weight:700}
.print-dialog-actions svg{width:16px;height:16px}
@media(max-width:650px){.topbar-right{gap:6px}.print-open{font-size:12px;gap:5px;padding:6px 8px;min-height:36px}.print-open svg{width:15px;height:15px}.print-dialog{padding:22px}.print-dialog-actions button{padding:10px 13px}}

@page{size:A4 portrait;margin:12mm}
@media print{
  html{margin:0!important;padding:0!important;scroll-behavior:auto!important}
  body,body.dialog-open{margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;min-width:0!important}
  body>:not(.print-root){display:none!important}dialog::backdrop{display:none!important;background:transparent!important}
  .print-root{display:block!important;width:186mm;margin:0;padding:0;color:#202322;font-family:'Malgun Gothic','Noto Sans KR',sans-serif;font-size:10pt;line-height:1.5;letter-spacing:-.025em;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .print-root *{box-sizing:border-box;box-shadow:none!important;text-shadow:none!important;transition:none!important;animation:none!important}
  .print-sheet{display:flex;flex-direction:column;width:186mm;min-height:271mm;margin:0;padding:0;break-after:page;page-break-after:always}
  .print-sheet:last-child,.print-sheet[data-last=true]{break-after:auto;page-break-after:auto}
  .print-sheet[hidden]{display:none!important}
  .print-root[data-scope=current] .print-sheet:not([data-current=true]){display:none!important}
  .print-root[data-scope=current] .print-sheet[data-current=true]{break-after:auto;page-break-after:auto}
  .print-masthead{display:flex;align-items:center;justify-content:space-between;gap:6mm;padding:0 0 2.5mm;border-bottom:.35mm solid #202322;break-inside:avoid}
  .print-brand{display:flex;align-items:center;gap:2mm}.print-brand img{width:6mm;height:6mm;border-radius:1.4mm}
  .print-brand strong{font-size:11pt;font-weight:800}.print-brand strong span{font-size:8pt;font-weight:500;margin-left:1mm}
  .print-masthead>span{font-size:7.5pt;color:#647064;white-space:nowrap}
  .print-title{padding:3mm 0 2mm;break-inside:avoid}
  .print-title>p{display:flex;align-items:center;gap:2mm;margin:0 0 2mm;font-size:8pt;font-weight:700;color:#4b584d}
  .print-title b{font-family:Arial,sans-serif;letter-spacing:.04em;background:#ffe500;border:.2mm solid #a19a4a;color:#202322;padding:.7mm 1.5mm}
  .print-title h1{font-size:21pt;line-height:1.3;font-weight:800;letter-spacing:-.055em;margin:0 0 1.5mm}
  .print-title>div{font-size:9pt;color:#505a4e;line-height:1.5}
  .print-entry{display:flex;align-items:baseline;gap:4mm;padding:2.2mm 3mm;background:#f0f3ee;border-top:.2mm solid #c6cec2;border-bottom:.2mm solid #c6cec2;margin:0 0 3mm;font-size:8.5pt;break-inside:avoid}
  .print-entry>strong{font-size:7.5pt;color:#596553;white-space:nowrap}
  .print-entry ol{display:flex;flex-wrap:wrap;list-style:none;gap:2mm;margin:0;padding:0;font-weight:700}.print-entry li+li:before{content:'›';padding-right:2mm;color:#606c59}
  .print-main{display:grid;grid-template-columns:77mm 103mm;column-gap:6mm;align-items:stretch;break-inside:avoid}
  .print-visual{width:77mm;display:flex;flex-direction:column;align-items:stretch;break-inside:avoid;padding:0 0 1mm}
  .print-visual>h2,.print-instructions>h2{font-size:10pt;font-weight:800;letter-spacing:-.035em;line-height:1.4;margin:0 0 3mm;display:flex;align-items:baseline;justify-content:space-between;gap:2mm}
  .print-visual>h2 span,.print-instructions>h2 span{font-size:6.8pt;color:#647064;font-weight:400;white-space:nowrap}
  .print-screen{position:relative;width:66mm;margin:1mm auto 0;border:.45mm solid #252e28;border-radius:2.5mm;line-height:0;overflow:visible}
  .print-screen>img{display:block;width:100%;height:auto;aspect-ratio:1/2;border-radius:2mm}
  .print-target{position:absolute;border:.32mm solid #202322;outline:.65mm solid #ffe500;outline-offset:0;border-radius:.6mm;z-index:1;background:transparent}
  .print-marker{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:5mm;height:5mm;border:.35mm solid #202322;border-radius:50%;background:#ffe500!important;color:#111!important;font:700 9pt/1 Arial,sans-serif;z-index:3}
  .print-marker-left{left:-3.4mm}.print-marker-right{left:calc(100% + 3.4mm)}
  .print-marker:after{content:'';position:absolute;top:50%;width:1.3mm;border-top:.3mm solid #202322}.print-marker-left:after{left:100%}.print-marker-right:after{right:100%}
  .print-leader{position:absolute;inset:0;width:100%;height:100%;overflow:visible;fill:none;stroke:#202322;stroke-width:1.2;pointer-events:none;z-index:2}
  .print-leader polyline,.print-leader circle{vector-effect:non-scaling-stroke}.print-leader circle{fill:#ffe500}
  .print-screen-caption{display:flex;align-items:center;gap:2mm;font-size:7.5pt;line-height:1.5;color:#4d5d4b;margin:3mm 0 4mm}
  .print-key{width:4mm;height:2.5mm;display:inline-block;flex-shrink:0;border:.3mm solid #202322;outline:.5mm solid #ffe500}
  .print-tip{margin-top:auto;padding:3mm;border:.25mm solid #bdc5b9;border-top:1mm solid #ffe500;border-radius:1mm;break-inside:avoid;background:#f5f7f2}
  .print-tip h3{font-size:9pt;font-weight:800;line-height:1.5;margin:0 0 1mm}
  .print-tip p{font-size:9pt;line-height:1.65;color:#364632;margin:0;word-break:keep-all;overflow-wrap:break-word}
  .print-instructions{display:flex;flex-direction:column;min-width:0}
  .print-step-list{display:grid;grid-auto-rows:auto;gap:2.5mm;flex:1}
  .print-step{padding:2.5mm 3mm;border:.25mm solid #cbd3c5;border-radius:1.5mm;break-inside:avoid;page-break-inside:avoid;display:flex;flex-direction:column;min-width:0}
  .print-step h3{display:flex;align-items:center;gap:2mm;font-size:10pt;line-height:1.4;font-weight:800;margin:0 0 1.5mm;letter-spacing:-.04em}
  .print-step h3>span{width:5mm;height:5mm;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:.3mm solid #202322;border-radius:50%;background:#ffe500;font:700 8.5pt/1 Arial,sans-serif}
  .print-step h3 small{margin-left:auto;font-size:7pt;letter-spacing:0;font-weight:600;border:.2mm solid #c5cdc0;padding:.4mm 1mm;white-space:nowrap;color:#465d46;border-radius:.6mm}
  .print-crop{background:#f3f5f0;border:.2mm solid #e0e5da;border-radius:.8mm;padding:1mm 2mm;margin:0 0 1.5mm}
  .print-crop .target-crop{width:100%;height:var(--crop-height,15mm);display:block;stroke:none;fill:none}
  .print-crop .crop-outline-outer{stroke:#202322;stroke-width:3px;fill:none;vector-effect:non-scaling-stroke}
  .print-crop .crop-outline-inner{stroke:#ffe500;stroke-width:1.5px;fill:none;vector-effect:non-scaling-stroke}
  .print-body,.print-result{display:grid;grid-template-columns:6mm 1fr;gap:1.5mm;word-break:keep-all;overflow-wrap:break-word;margin:0;font-size:9pt;line-height:1.55}
  .print-body{margin-top:auto;color:#202322}.print-result{margin-top:1mm;color:#235c4d;font-size:8.2pt}
  .print-body>strong,.print-result>strong{font-size:7pt;font-weight:800;white-space:nowrap;margin-top:.6mm;color:#5b6953}
  .print-details{margin-top:4mm;padding-top:2.5mm;border-top:.35mm solid #67745f;break-inside:avoid;page-break-inside:avoid}
  .print-details>h2{font-size:9pt;line-height:1.5;margin:0 0 2mm;font-weight:800}
  .print-details>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:4mm}
  .print-details>div:has(>section:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
  .print-details section+section{border-left:.2mm solid #ccd3c6;padding-left:4mm}
  .print-details h3{font-size:8pt;line-height:1.5;margin:0 0 1mm;font-weight:800}
  .print-details p{font-size:7.8pt;line-height:1.65;margin:0;color:#45533d;word-break:keep-all;overflow-wrap:break-word}
  .print-details .office-access{display:flex;flex-wrap:nowrap;gap:2mm;align-items:center;margin:0}
  .print-details .office-qr{width:22mm;flex:0 0 22mm;border:0;border-radius:0}
  .print-details .office-address{min-width:0;flex:1}
  .print-details .office-url{font-size:7pt;line-height:1.5;color:#202322;text-decoration:none;overflow-wrap:anywhere;letter-spacing:0}
  .print-details .office-address p{font-size:7pt;line-height:1.55;margin-top:1mm}
  .print-details .office-address small{display:none}
  .print-sheet:has(.office-access) .print-screen{width:60mm}
  .print-footer{display:flex;justify-content:space-between;gap:4mm;align-items:center;font-size:7pt;line-height:1.5;color:#64705b;margin-top:auto;padding-top:3mm;break-inside:avoid}
  .print-pagination{font-family:Arial,sans-serif;white-space:nowrap;font-weight:700;font-size:8pt;letter-spacing:.05em}
}
