*{box-sizing:border-box}html,body{color:#1a1a1a;background:#e8e8e8;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}button{cursor:pointer;font-family:inherit}input{font-family:inherit}.topbar{color:#fff;letter-spacing:.08em;background:#111;justify-content:space-between;align-items:center;padding:.9rem 1.5rem;font-weight:700;display:flex}.topbar button{color:#fff;background:0 0;border:none;font-size:1.1rem}.kiosk-wrap{grid-template-columns:1fr 1fr;gap:0;min-height:calc(100vh - 56px);display:grid}.kiosk-preview{background:#9a9a9a;justify-content:center;align-items:center;padding:2rem;display:flex;position:relative}.kiosk-preview-inner{aspect-ratio:3/4;background:#fff;justify-content:center;align-items:center;width:100%;max-width:480px;padding:3rem 2.75rem;display:flex;box-shadow:0 2px 8px #00000026}.label-mock{aspect-ratio:1;width:100%;position:relative}.label-mock-art{background:linear-gradient(160deg,#7dd3fc 0%,#f9a8d4 35%,#fb923c 65%,#a78bfa 100%);position:absolute;inset:0;overflow:hidden}.label-mock-brand{color:#fff;letter-spacing:.02em;font-size:.9rem;font-weight:800;position:absolute;top:.85rem;left:.85rem}.label-mock-text{color:#ffffffe6;font-size:.55rem;line-height:1.35;position:absolute;bottom:.85rem;left:.85rem;right:.85rem}.crop-mark{width:16px;height:16px;position:absolute}.crop-mark:before,.crop-mark:after{content:"";background:#9a9a9a;position:absolute}.crop-mark:before{width:16px;height:1px;top:8px;left:0}.crop-mark:after{width:1px;height:16px;top:0;left:8px}.crop-mark.corner-tl{top:-24px;left:-24px}.crop-mark.corner-tr{top:-24px;right:-24px}.crop-mark.corner-bl{bottom:-24px;left:-24px}.crop-mark.corner-br{bottom:-24px;right:-24px}.kiosk-back{color:#2563eb;background:#fff;border:1px solid #2563eb;border-radius:999px;padding:.6rem 1.3rem;font-size:.85rem;font-weight:700;position:absolute;bottom:1.5rem;left:1.5rem}.kiosk-details{background:#fff;flex-direction:column;display:flex}.kiosk-details-content{flex-direction:column;flex:1;gap:.6rem;padding:2.5rem 3rem;display:flex;position:relative}.kiosk-edit-btn{color:#555;background:#fff;border:1px solid #ccc;border-radius:999px;justify-content:center;align-items:center;width:2.25rem;height:2.25rem;font-size:1.1rem;display:flex;position:absolute;top:1.25rem;right:1.5rem}.kiosk-details h1{margin:0 0 .5rem;font-size:1.6rem}.kiosk-details p{margin:0;font-size:1.05rem}.kiosk-divider{border:none;border-top:1px solid #ddd;margin:1rem 0}.kiosk-actions{gap:0;display:flex;position:sticky;bottom:0}.btn{border:none;flex:1;padding:1.1rem 1.5rem;font-size:1.05rem;font-weight:700}.btn-confirm{color:#fff;background:#22a559}.btn-print{color:#fff;background:#1d4ed8}.btn-print:disabled{cursor:not-allowed;background:#94a3b8}.login-wrap{background:#111;justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{text-align:center;background:#fff;border-radius:12px;width:100%;max-width:340px;padding:2.5rem}.login-card h1{margin:0 0 1.5rem;font-size:1.2rem}.login-card input{letter-spacing:.4em;text-align:center;border:1px solid #ccc;border-radius:8px;width:100%;margin-bottom:1rem;padding:.7rem;font-size:1.6rem}.login-card button{color:#fff;background:#111;border:none;border-radius:8px;width:100%;padding:.8rem;font-weight:700}.login-error{color:#dc2626;margin-top:-.5rem;margin-bottom:1rem;font-size:.9rem}.log-panel{color:#d1e7ff;background:#0b1220;width:420px;padding:1rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;position:fixed;top:56px;bottom:0;right:0;overflow-y:auto;box-shadow:-2px 0 8px #00000040}.log-panel h2{color:#fff;margin:0 0 .75rem;font-family:inherit;font-size:.9rem}.log-entry{border-bottom:1px solid #ffffff14;margin-bottom:.9rem;padding-bottom:.9rem}.log-entry-title{margin-bottom:.25rem;font-weight:700}.log-entry-title.req{color:#7dd3fc}.log-entry-title.res-ok{color:#86efac}.log-entry-title.res-err{color:#fca5a5}.log-entry pre{white-space:pre-wrap;word-break:break-word;opacity:.9;margin:0}.modal-backdrop{z-index:50;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-card{background:#fff;border-radius:12px;width:100%;max-width:420px;max-height:90vh;padding:2rem;overflow-y:auto}.modal-card.modal-card-wide{max-width:520px}.modal-card h2{margin:0 0 .5rem;font-size:1.15rem}.modal-card p{color:#555;margin:0 0 1.25rem;font-size:.9rem}.modal-field{margin-bottom:1rem}.packaging-toggle{gap:.5rem;display:flex}.packaging-toggle button{color:#333;background:#fff;border:1px solid #ccc;border-radius:6px;flex:1;padding:.5rem;font-size:.85rem;font-weight:700}.packaging-toggle button.active{color:#fff;background:#1d4ed8;border-color:#1d4ed8}.modal-field label{margin-bottom:.35rem;font-size:.85rem;font-weight:700;display:block}.modal-field input{border:1px solid #ccc;border-radius:6px;width:100%;padding:.6rem;font-size:1rem}.modal-subheading{margin:1rem 0 .6rem;font-size:.9rem}.custom-field-row{gap:.4rem;margin-bottom:.5rem;display:flex}.custom-field-row input{border:1px solid #ccc;border-radius:6px;flex:1;min-width:0;padding:.5rem .6rem;font-size:.9rem}.custom-field-remove{color:#555;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:6px;flex:none;width:2rem;font-size:1.1rem;line-height:1}.custom-field-add{color:#333;background:#fff;border:1px dashed #999;border-radius:6px;width:100%;margin-top:.25rem;padding:.6rem;font-size:.85rem;font-weight:700}.modal-actions{gap:.5rem;margin-top:1.25rem;display:flex}.modal-actions button{border:none;border-radius:8px;flex:1;padding:.75rem;font-weight:700}.modal-actions .btn-secondary{color:#111;background:#e5e7eb}.modal-actions .btn-primary{color:#fff;background:#1d4ed8}.badge-note{color:#92400e;background:#fef3c7;border-radius:999px;margin-bottom:.5rem;padding:.25rem .6rem;font-size:.75rem;font-weight:700;display:inline-block}
