/* 목업 전용 — 접수 화면 · 보고서 도식 손잡이 · 인쇄 */

.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 16px; border: 1.5px dashed var(--border-3); border-radius: var(--r-10); background: var(--bg-panel); cursor: pointer; text-align: center; }
.drop b { font-size: var(--fs-13); font-weight: 650; }
.drop span { font-size: var(--fs-11); color: var(--text-3); }
.drop.on, .drop:hover { border-color: var(--accent); background: var(--accent-subtle); }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px; margin-top: 10px; }
.file { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--border-1); border-radius: var(--r-6); background: var(--bg-panel); font-size: var(--fs-12); min-width: 0; }
.file b { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file span { font-size: var(--fs-10); color: var(--text-3); flex-shrink: 0; }
.file .fi { flex-shrink: 0; font-size: 9px; font-weight: 800; color: var(--accent-text); background: var(--accent-subtle); border-radius: 4px; padding: 2px 5px; }
.memo { width: 100%; padding: 10px 12px; border: 1px solid var(--border-2); border-radius: var(--r-8); font: inherit; font-size: var(--fs-13); line-height: 1.75; resize: vertical; background: var(--bg-panel); }
.memo:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }

.rblk { position: relative; }
.figtools { position: absolute; top: -4px; right: 0; display: none; gap: 3px; }
.rblk:hover .figtools { display: flex; }
.figtools button { border: 1px solid var(--border-2); background: var(--bg-panel); border-radius: 4px; font: inherit; font-size: 10px; font-weight: 600; padding: 2px 7px; cursor: pointer; color: var(--text-2); box-shadow: var(--sh-1); }
.figtools button:hover { border-color: var(--accent); color: var(--accent-text); }

.gallery { width: min(880px, 100%); max-height: 86vh; display: flex; flex-direction: column; background: var(--bg-panel); border-radius: var(--r-14); box-shadow: var(--sh-3); overflow: hidden; }
.gallery .gh { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border-1); }
.gallery .gh b { font-size: var(--fs-15); }
.gallery .gh span { font-size: var(--fs-11); color: var(--text-3); }
.gallery .gh .btn { margin-left: auto; }
.gallery .gg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 18px; overflow-y: auto; }
.gallery .gi { border: 1px solid var(--border-1); border-radius: var(--r-8); background: var(--bg-sidebar); padding: 10px; text-align: left; cursor: pointer; font: inherit; }
.gallery .gi:hover { border-color: var(--accent); background: var(--accent-subtle); }
.gallery .gi .gp { pointer-events: none; transform-origin: top left; max-height: 180px; overflow: hidden; }
.gallery .gi b { display: block; margin-top: 6px; font-size: var(--fs-12); }

@media print {
  body, html { overflow: visible; height: auto; }
  .app { display: block; height: auto; }
  .menu, .work, .stream, .splitter, .cv-head, .figtools { display: none !important; }
  .canvas, .cv-body { overflow: visible; display: block; }
  .paper { box-shadow: none; border: 0; margin: 0; padding: 0; max-width: none; }
  .blk { break-inside: avoid; }
}
