.dfile-strip{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;min-width:0;margin:2px 0 6px}.dfile-card,.dfile-slot{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0;width:calc(108px * var(--ts, 1));max-width:calc((100% - 24px) / 3)}.dfile-slot{width:auto;max-width:100%}.dfile-step{font-family:var(--font-hand);font-size:calc(14px * var(--ts, 1));line-height:1.15;color:rgba(37,41,46,.7);max-width:100%;overflow-wrap:anywhere}.dfile-open{display:flex;flex-direction:column;align-items:stretch;gap:3px;width:100%;min-width:44px;min-height:44px;margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;touch-action:manipulation}.dfile-paper{position:relative;display:block;width:100%;aspect-ratio:8.5 / 11;overflow:hidden;container-type:inline-size;background:#fff;border-radius:2px;box-shadow:0 1px 2px rgba(0,0,0,.22),0 6px 10px -6px rgba(0,0,0,.35);transform:rotate(-.8deg);transition:transform .12s ease-out}.dfile-card:nth-child(2n) .dfile-paper{transform:rotate(.7deg)}.dfile-open:hover .dfile-paper{transform:rotate(0) translateY(-1px)}.dfile-open:focus-visible{outline:2.5px solid var(--ink-blue);outline-offset:3px;border-radius:3px}.dfile-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}.dfile-blank{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:8px 6px;text-align:center;font-family:var(--font-hand);font-size:calc(12px * var(--ts, 1));line-height:1.15;color:#4a4f55;overflow-wrap:anywhere;overflow:hidden;background:repeating-linear-gradient(transparent 0 13px,rgba(27,70,194,.12) 13px 14px)}.dfile-paper.has-thumb .dfile-blank{display:none}.dfile-name{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:calc(13px * var(--ts, 1));line-height:1.2;color:var(--note-ink)}.dfile-remove{min-height:44px;min-width:44px;padding:4px 2px;font-size:calc(14px * var(--ts, 1))}.dfile-attach{min-height:44px;min-width:44px;padding:4px 8px;font-size:calc(15px * var(--ts, 1));text-align:left}.dfile-attach.is-locked{color:rgba(37,41,46,.75)}.dfile-attach .lock-ico{vertical-align:-2px}.dfile-attach[aria-busy=true]{opacity:.55;cursor:progress}.dfile-input{position:fixed;left:-9999px;top:0;width:1px;height:1px;opacity:0}.dfile-stamp{position:absolute;right:6%;bottom:9%;z-index:1;max-width:92%;padding:.14em .34em .06em;border:.16em solid currentColor;border-radius:255px 14px 225px 14px / 14px 225px 14px 255px;font-family:var(--font-marker);font-size:clamp(6px,8.2cqw,13px);line-height:1.05;letter-spacing:.01em;text-align:center;white-space:nowrap;transform:rotate(-6deg);transform-origin:50% 50%;background:rgba(255,255,255,.55);pointer-events:none}.dfile-stamp.is-part{color:#c8322a}.dfile-stamp.is-paid{color:#1e8a3c;font-size:clamp(9px,15cqw,20px)}.dpay-confirm{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:0 12px;min-width:0}.dpay-confirm-t{font-family:var(--font-hand);font-size:calc(16px * var(--ts, 1));line-height:1.2;color:var(--note-ink);min-width:0;overflow-wrap:anywhere}.deal-row.dfile-over{outline:2.5px dashed var(--ink-blue);outline-offset:3px;border-radius:8px;background:rgba(27,70,194,.05)}.dfv-layer .bo-stage{width:min(100%,880px)}.dfv-layer .bo-card.dfv-card{--tilt: 0deg;max-height:min(94vh,1200px);max-height:min(94dvh,1200px);padding:24px 14px 12px}.dfv-name{margin:0 44px 8px 4px;font-family:var(--font-marker);font-size:calc(19px * var(--ts, 1));line-height:1.2;font-weight:normal;overflow-wrap:anywhere}.dfv-body{flex:1 1 auto;min-height:120px;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:10px;background:#d9d6cf;border-radius:4px;box-shadow:inset 0 1px 3px rgba(0,0,0,.18)}.dfv-body:focus-visible{outline:2.5px solid var(--ink-blue);outline-offset:2px}.dfv-doc{display:flex;flex-direction:column;align-items:center;gap:12px;min-height:100px}.dfv-page{position:relative;max-width:100%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25),0 10px 18px -10px rgba(0,0,0,.35)}.dfv-page canvas,.dfv-page .dfv-img{display:block;max-width:100%;height:auto}.dfv-page .dfile-stamp{font-size:clamp(14px,3.8vw,34px);right:4%;bottom:4%;border-width:.14em}.dfv-page .dfile-stamp.is-paid{font-size:clamp(22px,6vw,52px)}.dfv-blank{width:min(100%,420px);aspect-ratio:8.5 / 11;display:flex;align-items:center;justify-content:center;padding:20px;background:#fff repeating-linear-gradient(transparent 0 25px,rgba(27,70,194,.12) 25px 26px)}.dfv-blank-n{font-family:var(--font-hand);font-size:calc(19px * var(--ts, 1));color:#33383d;text-align:center;overflow-wrap:anywhere}.dfv-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px 14px;padding-top:12px}.dfv-actions .bo-btn{min-height:44px;min-width:44px}@media(max-width:520px){.dfv-layer{padding:max(10px,env(safe-area-inset-top,0px)) 8px max(10px,env(safe-area-inset-bottom,0px))}.dfv-layer .bo-card.dfv-card{padding:22px 10px 10px}.dfv-body{padding:6px}.dfv-actions{justify-content:stretch}.dfv-actions .bo-btn{flex:1 1 auto;text-align:center}}
