:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f9f9f9;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}a:hover{color:#747bff}#root{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}.logo{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.react:hover{filter:drop-shadow(0 0 2em #61dafbaa)}@keyframes logo-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){a:nth-of-type(2) .logo{animation:logo-spin infinite 20s linear}}.read-the-docs{color:#888}.form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}label{font-weight:600;color:#333;font-size:14px}textarea{width:100%;padding:12px 15px;border:2px solid #e0e0e0;border-radius:8px;font-size:16px;font-family:inherit;resize:vertical;transition:all .3s}textarea:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.btn-primary{margin-top:20;padding:10;background:#f0f0f0;overflow-y:auto}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding:20px;color-scheme:light!important}.app-container{display:flex;justify-content:center;align-items:flex-start;min-height:100vh;padding:100px 20px 20px}.card{background:#fff;border-radius:20px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:100%;overflow:hidden;padding:2rem}.header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;text-align:center;position:relative;border-radius:20px}.header h1{font-size:14px;margin-bottom:8px}.header p{opacity:.9;font-size:14px}.settings-icon-btn-global{position:fixed;top:20px;right:20px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50%;width:56px;height:56px;font-size:24px;cursor:pointer;transition:all .3s;color:#fff;box-shadow:0 4px 12px #667eea66;z-index:999;display:flex;align-items:center;justify-content:center}.settings-icon-btn-global:hover{transform:scale(1.1) rotate(90deg);box-shadow:0 6px 20px #667eea99}.settings-icon-btn-global:active{transform:scale(.95) rotate(90deg)}.form{padding:20px}.input-group{position:relative}.input-group label{display:block;font-weight:600;color:#333;margin-bottom:10px;font-size:14px}.helper-text{font-weight:400;color:#666;font-size:12px;margin-left:8px}.input-group input[type=text],.input-group input[type=number]{width:100%;padding:10px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;transition:all .3s;font-family:inherit}.input-group input[type=text]:focus,.input-group input[type=number]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input-group input[type=text]:disabled,.input-group input[type=number]:disabled{background:#f5f5f5;color:#999;cursor:not-allowed;border-color:#e0e0e0}.input-group input.error{border-color:#e74c3c}.error-text{display:block;color:#e74c3c;font-size:12px;margin-top:4px}.char-count{position:absolute;right:12px;bottom:12px;font-size:12px;color:#999;background:#fff;padding:2px 6px;border-radius:4px}.divider{text-align:center;margin:0;position:relative}.divider:before,.divider:after{content:"";position:absolute;top:50%;width:45%;height:1px;background:#e0e0e0}.divider:before{left:0}.divider:after{right:0}.divider span{background:#fff;padding:0 10px;color:#999;font-size:12px;font-weight:600}.checkbox-group{margin:24px 0;padding:10px;background:#fff3cd;border-radius:8px;border:2px solid #ffc107}.checkbox-label{display:flex;align-items:center;cursor:pointer;font-weight:500}.checkbox-label input[type=checkbox]{width:20px;height:20px;margin-right:10px;cursor:pointer}.checkbox-text{font-size:14px;color:#856404}.btn-print{width:100%;padding:16px 24px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:18px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:10px}.btn-print:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 20px #667eea66}.btn-print:disabled{background:#ccc;cursor:not-allowed;transform:none}.btn-clear{width:100%;padding:12px 24px;background:#f3f4ff;color:#667eea;border:2px solid #e0e4ff;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:10px}.btn-clear:hover{background:#e8ebff;border-color:#d0d5ff;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.btn-clear:active{transform:translateY(0)}.status-log{margin-top:20px;padding:20px;background:#f8f9fa;border-radius:8px;max-height:200px;overflow-y:auto}.status-log pre{font-family:Courier New,monospace;font-size:12px;color:#333;white-space:pre-wrap;word-wrap:break-word}.toast{position:fixed;top:20px;right:20px;display:flex;align-items:center;gap:12px;padding:16px 20px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026,0 2px 8px #0000001a;font-size:14px;font-weight:500;z-index:1000;animation:slideInRight .3s ease-out,fadeOut .3s ease-in 3.7s;max-width:400px;border-left:4px solid}.toast-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;font-weight:700;font-size:16px;flex-shrink:0}.toast-message{color:#333;line-height:1.4}.toast-success{border-left-color:#10b981}.toast-success .toast-icon{background:#d1fae5;color:#10b981}.toast-error{border-left-color:#ef4444}.toast-error .toast-icon{background:#fee2e2;color:#ef4444}.toast-info{border-left-color:#3b82f6}.toast-info .toast-icon{background:#dbeafe;color:#3b82f6}@keyframes slideInRight{0%{transform:translate(400px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1001;animation:fadeIn .2s ease-out;padding:20px}.modal-content{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:500px;width:100%;animation:slideUp .3s ease-out;max-height:90vh;overflow-y:auto}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:16px;font-weight:600;color:#333}.modal-close-btn{background:transparent;border:none;font-size:24px;cursor:pointer;color:#666;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s}.modal-close-btn:hover{background:#f0f0f0;color:#333}.modal-body{padding:24px}.selected-printer-info{margin-top:16px;padding:14px 16px;background:#d1fae5;border-radius:8px;color:#065f46;font-size:14px;font-weight:500}.printer-selector-row{display:flex;gap:8px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.printer-selector{margin-bottom:0}.printer-select{flex:1;width:100%;padding:12px 14px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:all .3s;font-family:inherit;background-color:#fff;cursor:pointer}.printer-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.printer-select:disabled{background:#f5f5f5;color:#999;cursor:not-allowed;border-color:#e0e0e0}.btn-refresh{padding:10px 16px;background:#667eea;color:#fff;border:none;border-radius:8px;font-size:18px;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;min-width:44px}.btn-refresh:hover:not(:disabled){background:#5568d3;transform:scale(1.05)}.btn-refresh:disabled{background:#ccc;cursor:not-allowed;opacity:.6}@media(max-width:600px){.app-container{padding:80px 20px 20px}.header h1{font-size:24px}.form{padding:20px}}
