.fd-panel{display:flex;flex-direction:column;gap:.9rem}.fd-head{display:flex;align-items:flex-start;gap:.75rem}.fd-head-text{flex:1 1 auto;min-width:0}.fd-head-text h2{margin:0;font-size:1.05rem;display:flex;align-items:center;gap:.35rem}.fd-head-text p{margin:.2rem 0 0;color:var(--text-medium);font-size:.92rem;line-height:1.45}.fd-head>.chip,.fd-seal{flex:0 0 auto}.fd-seal{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark)}.fd-seal.signed{background:var(--success-soft);color:var(--success-ink)}.fd-start{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .9rem}.fd-start>.error,.fd-start>.notice,.fd-start>p{flex:1 1 100%;margin:0}.fd-steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.15rem}.fd-steps>li{display:grid;grid-template-columns:30px minmax(0,1fr);grid-gap:.75rem;gap:.75rem;padding:.75rem 0;border-top:1px solid var(--border)}.fd-steps>li:first-child{border-top:0;padding-top:.2rem}.fd-steps strong{display:block;font-size:.95rem}.fd-steps p{margin:.15rem 0 .55rem;color:var(--text-medium);font-size:.88rem;line-height:1.45}.fd-step-n{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--brand);color:var(--brand-dark);font-weight:600;font-size:.85rem}.fd-steps>li.done .fd-step-n{background:var(--brand);color:#fff}.fd-how{font-size:.86rem;color:var(--text-medium)}.fd-how summary{cursor:pointer;color:var(--brand-dark);font-weight:600;width:-moz-fit-content;width:fit-content}.fd-how ul{margin:.45rem 0 .35rem;padding-left:1.1rem;display:flex;flex-direction:column;gap:.3rem}.fd-how p{margin:0}.fd-upload{display:flex;flex-wrap:wrap;align-items:stretch;gap:.6rem}.fd-upload>.form-file{flex:1 1 260px}.fd-upload>.button{align-self:center}.fd-problem{display:flex;flex-direction:column;gap:.25rem;padding:.7rem .85rem;border-radius:10px;border:1px solid var(--error-line);background:var(--error-soft);color:var(--error);font-size:.9rem}.fd-problem span{color:var(--text)}.fd-foot{display:flex;justify-content:space-between;gap:.5rem;padding-top:.6rem;border-top:1px solid var(--border);font-size:.86rem}.fd-confirm,.fd-foot{flex-wrap:wrap;align-items:center}.fd-confirm{display:inline-flex;gap:.45rem}.fd-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.04em}.fd-signed{display:flex;flex-direction:column;gap:.8rem}.fd-signed>.notice{margin:0}.fd-facts{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));grid-gap:.5rem 1rem;gap:.5rem 1rem}.fd-facts li{display:flex;flex-direction:column;gap:.1rem;min-width:0}.fd-facts span{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-soft)}.fd-facts strong{font-size:.95rem;overflow-wrap:anywhere}.fd-facts small{color:var(--text-soft);font-size:.8rem}.fd-actions{display:flex;flex-wrap:wrap;gap:.5rem}.fd-line{display:inline-flex;align-items:center;gap:.35rem;color:var(--success-ink);font-size:.85rem}.fd-line svg{flex:0 0 auto}.fd-line .link-button{font-size:.85rem}.fd-family-signed{margin:0;padding:.7rem .9rem;border:1px solid var(--success-line);border-radius:12px;background:var(--success-soft)}.fd-deliveries{list-style:none;margin:0;padding:.2rem 1.2rem .4rem;display:flex;flex-direction:column}.fd-delivery{display:grid;grid-template-columns:40px minmax(0,1fr) auto;grid-gap:.75rem;gap:.75rem;align-items:center;padding:.8rem 0;border-top:1px solid var(--border)}.fd-delivery:first-child{border-top:0}.fd-delivery-text{display:flex;flex-direction:column;gap:.15rem;min-width:0}.fd-delivery-text strong{font-size:.95rem}.fd-delivery-text span{font-size:.85rem;color:var(--text-medium)}.fd-delivery-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.4rem}.fd-delivery .fd-seal{width:36px;height:36px;border-radius:10px}.fd-delivery .fd-seal.waiting{background:var(--warn-tint);color:var(--warn-ink)}.fd-ack-note{font-size:.82rem;color:var(--text-soft);margin:.4rem 0 0}@media (max-width:640px){.fd-delivery{grid-template-columns:36px minmax(0,1fr)}.fd-delivery-actions{grid-column:2;justify-content:flex-start}.fd-upload>.button{width:100%}}@media print{.fd-batch-open,.fd-delivery-actions,.fd-family-signed,.fd-line .link-button,.fd-panel{display:none!important}}.fd-batch{display:flex;flex-direction:column;gap:.8rem}.fd-batch>p{margin:0;line-height:1.5}.fd-batch-summary{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem 1.2rem}.fd-batch-summary strong{font-family:var(--font-display,inherit);font-size:1.2rem;margin-right:.2rem}.fd-batch-results{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;max-height:260px;overflow:auto;border:1px solid var(--border);border-radius:10px}.fd-batch-results li{display:flex;flex-direction:column;gap:.1rem;padding:.5rem .75rem;border-top:1px solid var(--border);font-size:.88rem}.fd-batch-results li:first-child{border-top:0}.fd-batch-results li.ok span{color:var(--success-ink)}.fd-batch-results li.bad span{color:var(--error)}.fd-batch-results small{color:var(--text-medium)}.fd-batch .form-file.busy{opacity:.7}.delivery-table .delivery-signed{display:block;width:-moz-fit-content;width:fit-content;margin-top:.2rem}.fd-batch .form-file,.fd-panel .form-file{display:flex;flex-direction:row;align-items:center;gap:.75rem;padding:.8rem .9rem;border:1px dashed var(--border-strong);border-radius:12px;background:var(--bg);cursor:pointer;font-weight:400;transition:border-color .12s ease,background-color .12s ease}.fd-batch .form-file:hover,.fd-panel .form-file:hover{border-color:var(--brand);background:var(--teal-50)}.fd-batch .form-file:has(input:focus-visible),.fd-panel .form-file:has(input:focus-visible){outline:2px solid var(--brand);outline-offset:2px}.fd-panel .form-file.has-file{border-style:solid;border-color:var(--brand);background:var(--teal-50)}.fd-deliveries-error{margin:0 1.2rem .9rem}