:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#173247;background:#f3f6f8;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px}h1,h2,h3,h4,p{margin:0}.site-header{background:#163c54;color:#fff}.header-inner{display:flex;align-items:center;gap:14px;max-width:1040px;margin:auto;padding:18px 22px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border:2px solid #9bc1d0;border-radius:12px;font-size:28px;line-height:1}.eyebrow{color:#b8d7e2;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}h1{font-size:clamp(18px,4vw,23px);line-height:1.2}.page{display:grid;gap:20px;max-width:1040px;margin:auto;padding:28px 22px 54px}.intro{display:grid;gap:9px;padding:4px 0 8px}.stage{justify-self:start;padding:6px 10px;border-radius:999px;background:#dceef3;color:#175069;font-size:12px;font-weight:700}h2{font-size:clamp(28px,6vw,38px)}.intro p,.quiet,.empty-state p{color:#587080;line-height:1.55}.panel{min-width:0;padding:24px;border:1px solid #dae5eb;border-radius:18px;background:#fff;box-shadow:0 4px 20px #1732470a}.panel-heading{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:12px}.section-label{margin-bottom:4px;color:#647d8c;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}h3{font-size:21px}.status{padding:7px 11px;border-radius:999px;background:#f1f4f6;color:#526a78;font-size:13px;font-weight:700}.refresh-button{min-height:44px;padding:0 16px;border:1px solid #b8cbd6;border-radius:10px;background:#fff;color:#174c64;font:inherit;font-weight:700;cursor:pointer}.refresh-button:hover{background:#ecf5f8}.refresh-button:disabled{opacity:.55;cursor:wait}.refresh-button:focus-visible{outline:3px solid #75b6cf;outline-offset:2px}.login-page{max-width:520px;margin:8vh auto}.content-area{display:flex;align-items:flex-start;flex-direction:column;gap:8px;margin-top:24px}.order-title{font-size:20px}.order-date{color:#587080}.observations{max-width:70ch;margin-top:9px;white-space:pre-wrap;line-height:1.5}.preview-disclaimer{margin-top:12px;color:#587080;line-height:1.5}.preview-card .piece-details dd{white-space:pre-line}.pieces-content{display:grid;gap:12px;margin-top:20px}.piece-card{padding:18px;border:1px solid #dae5eb;border-radius:12px;background:#fbfdfe}.piece-card-duplicate{border-color:#c46b34;background:#fff4ec}.line-record-id{margin:12px 0;color:#607989;font-size:12px;overflow-wrap:anywhere}.edit-target{align-self:end;color:#436477;line-height:1.5}.piece-details{display:grid;grid-template-columns:minmax(110px,1fr) 2fr;gap:7px 14px;margin:15px 0 0}.piece-details dt{color:#607989}.piece-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}.capture-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:20px}.capture-form label{display:grid;gap:7px;font-weight:700}.capture-form input,.capture-form select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #b8cbd6;border-radius:10px;background:#fff;color:#173247;font:inherit}.capture-form button{justify-self:start}.capture-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.form-status{margin-top:14px;color:#436477;line-height:1.5}.empty-state{display:grid;justify-items:center;gap:10px;max-width:500px;margin:28px auto 8px;padding:18px;text-align:center}.empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:18px;background:#e6f1f4;color:#23617a;font-size:37px}h4{font-size:18px}.quiet{margin-top:22px}.site-footer{padding:0 22px 28px;color:#718795;font-size:12px;text-align:center}@media(max-width:600px){.header-inner{padding:16px}.page{gap:16px;padding:22px 14px 36px}.panel{padding:20px 16px;border-radius:16px}.empty-state{margin-top:18px;padding:16px 4px 4px}.piece-details{grid-template-columns:1fr;gap:3px}.piece-details dd{margin-bottom:9px}.capture-form{grid-template-columns:1fr}.capture-form button{width:100%}}
