/* Print Online (customer) — page layer on /ddc-ui.css */
.shell{width:min(720px,calc(100% - 32px));margin:auto}
svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.top{background:#fff;border-bottom:1px solid var(--line-2)}
.top-inner{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.intro{padding:34px 0 22px}
.intro h1{margin:8px 0 10px}
.intro p{color:var(--ink-3);margin:0 0 18px}
.flow{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.flow li{display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:13px;font-weight:600;color:var(--ink-3)}
.flow b{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--slate-dark);font-size:12px}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:8px 24px 24px;margin-bottom:22px}
fieldset{border:0;margin:0;padding:22px 0;border-bottom:1px solid var(--line-2);min-width:0}
fieldset:last-child{border-bottom:0;padding-bottom:4px}
legend{float:left;width:100%;display:flex;align-items:center;gap:10px;padding:0;margin-bottom:4px;font-size:17px;font-weight:750;letter-spacing:-.01em}
legend b{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--ink);color:#fff;font-size:13px}
.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
legend+*{clear:both}
fieldset:last-child .help{margin-bottom:16px}
.optional{font-weight:500;color:var(--muted-2);font-size:12px;margin-left:4px}
.help{font-size:14px;color:var(--muted);margin:10px 0 0}
.dropzone{display:flex;flex-direction:column;align-items:center;gap:4px;margin:14px 0 0;padding:26px 16px;border:1.5px dashed #C3CEDA;border-radius:16px;background:var(--soft-2);text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.dropzone:hover{border-color:var(--slate);background:var(--soft)}
.dropzone svg{width:30px;height:30px;color:var(--slate);margin-bottom:6px}
.dropzone strong{font-size:15px;color:var(--ink)}
.dropzone span{font-size:13px;font-weight:500;color:var(--muted)}
.file-input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;pointer-events:none}
.dropzone:has(+ .file-input:focus-visible){outline:3px solid var(--slate-light);outline-offset:2px}
#file-options{display:grid;gap:12px;margin-top:16px}
#file-options:empty{display:none}
.file-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff}
.file-name{font-weight:700;overflow-wrap:anywhere;display:flex;gap:10px;align-items:center}
.file-name::before{content:"";flex-shrink:0;width:30px;height:36px;border-radius:6px;background:var(--soft);box-shadow:inset 0 -10px 0 var(--slate)}
.file-meta{font-size:13px;color:var(--muted);margin:2px 0 4px 40px}
.file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 10px}
.file-note label,.file-grid label,.file-card>div>label{font-size:12px;margin-top:12px}
.file-card textarea{min-height:64px}
.status{margin:12px 0 0;font-size:14px;min-height:1px}
.status:empty{display:none}
.status[data-error=true]{padding:12px 14px;border-radius:12px;background:var(--bad-bg);color:var(--bad)}
.status[data-error=false]{padding:12px 14px;border-radius:12px;background:var(--soft-2);color:var(--slate-dark)}
.success{text-align:center;padding:32px 24px}
.check{width:64px;height:64px;margin:0 auto 14px;border-radius:50%;display:grid;place-items:center;background:var(--ok-bg);color:var(--ok)}
.check svg{width:30px;height:30px;stroke-width:2.4}
.success>p{color:var(--ink-3);max-width:460px;margin-inline:auto}
.code-box{margin:20px auto;padding:16px;border-radius:14px;background:var(--paper);border:1px solid var(--line-2);max-width:420px}
.code-box span{font-size:12px;font-weight:650;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
.code{font:700 22px/1.3 var(--mono);letter-spacing:.02em;overflow-wrap:anywhere;margin-top:4px}
.order-status{padding:12px 14px;border-radius:12px;background:var(--soft-2);color:var(--slate-dark);font-weight:600}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 10px}
.foot{font-size:13px;color:var(--muted-2);padding:4px 0 32px;text-align:center}
@media(max-width:560px){
  .panel{padding:4px 16px 18px;border-radius:16px}
  .fields{grid-template-columns:1fr}
  .file-grid{grid-template-columns:1fr 1fr}
  .file-grid>div:first-child{grid-column:1/-1}
  .actions{grid-template-columns:1fr}
  .intro{padding-top:24px}
}
