:root{--primary: #2563eb;--primary-hover: #1d4ed8;--bg: #f8fafc;--card-bg: #ffffff;--text: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--success: #10b981;--warning: #f59e0b;--danger: #ef4444}.survey-app{min-height:100dvh;padding:0 0 calc(7rem + env(safe-area-inset-bottom));background:var(--survey-bg, #f5f7fb);color:var(--survey-text, #111827)}.survey-hero{padding:max(1.5rem,env(safe-area-inset-top)) 1.25rem 1.5rem;background:linear-gradient(135deg,#102347,#2563eb);color:#fff}.survey-hero p{margin-bottom:.25rem;opacity:.75;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em}.survey-hero h1{font-size:1.75rem;line-height:1.15;margin-bottom:.5rem}.survey-hero span{display:block;max-width:34rem;opacity:.85}.survey-state{min-height:100dvh;display:grid;place-content:center;gap:.75rem;padding:2rem;text-align:center;background:var(--survey-bg, #f5f7fb);color:var(--survey-text, #111827)}.survey-choice-row button{border:1px solid #cbd5e1;border-radius:.75rem;padding:.7rem .85rem;background:#fff;color:#334155;font:inherit;cursor:pointer;white-space:nowrap}.survey-choice-row button.is-selected{border-color:var(--survey-primary, #2563eb);background:#dbeafe;color:#1e40af}.survey-card{max-width:40rem;margin:1rem auto 0;padding:1.15rem;border:1px solid #e2e8f0;border-radius:1rem;background:#fff;color:#111827;box-shadow:0 2px 8px #0f172a0d}.survey-card h2{margin-bottom:.25rem;font-size:1.1rem}.survey-ordered-items{display:grid;gap:.4rem;padding:.75rem 0 1rem;margin-bottom:1rem;border-bottom:1px solid #e2e8f0}.survey-ordered-items span{color:#475569;font-size:.9rem}.survey-help{color:#64748b;font-size:.85rem}.survey-field{display:grid;gap:.45rem;margin-top:1rem;font-weight:600}.survey-field select,.survey-field textarea{width:100%;border:1px solid #cbd5e1;border-radius:.7rem;padding:.8rem;background:#fff;color:#111827;font:inherit}.survey-field textarea{min-height:6rem;resize:vertical;font-weight:400}.survey-rating{border:0;margin-top:1rem}.survey-rating legend{margin-bottom:.45rem;font-weight:600}.survey-rating>div{display:grid;grid-template-columns:repeat(5,1fr);gap:.45rem}.survey-rating button{min-height:2.75rem;border:1px solid #cbd5e1;border-radius:.65rem;background:#f8fafc;color:#334155;font:inherit;font-weight:700;cursor:pointer}.survey-rating button.is-selected{border-color:var(--survey-primary, #2563eb);background:var(--survey-primary, #2563eb);color:#fff}.survey-choice-row{display:flex;gap:.5rem;margin-top:.8rem;flex-wrap:wrap}.survey-checks{display:grid;gap:.7rem;margin-top:1rem}.survey-checks label{display:flex;gap:.65rem;align-items:center}.survey-checks input{width:1.2rem;height:1.2rem;accent-color:var(--survey-primary, #2563eb)}.survey-error,.survey-success,.survey-more{max-width:40rem;margin:1rem auto 0;padding:.8rem 1rem;border-radius:.75rem}.survey-error{background:#fee2e2;color:#991b1b}.survey-success{display:flex;gap:.5rem;align-items:center;background:#dcfce7;color:#166534}.survey-more{background:#eff6ff;color:#1e40af}.survey-actions{position:fixed;z-index:10;left:0;right:0;bottom:0;display:grid;grid-template-columns:auto 1fr;gap:.6rem;padding:.8rem max(1rem,env(safe-area-inset-right)) max(.8rem,env(safe-area-inset-bottom)) max(1rem,env(safe-area-inset-left));border-top:1px solid #e2e8f0;background:#fffffff5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.survey-actions button{display:inline-flex;justify-content:center;align-items:center;gap:.45rem;min-height:3rem;padding:.7rem 1rem;border:1px solid #cbd5e1;border-radius:.75rem;background:#fff;color:#334155;font:inherit;font-weight:700;cursor:pointer}.survey-actions .survey-submit{border-color:transparent;background:var(--survey-primary, #2563eb);color:#fff}.survey-actions button:disabled{opacity:.55}.feedback-admin{max-width:1280px}.feedback-header,.feedback-modal-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.feedback-header .title{margin:.35rem 0 0}.feedback-header p,.feedback-modal-head p{color:var(--text-muted)}.feedback-back{display:inline-flex;gap:.35rem;align-items:center;color:var(--primary);text-decoration:none;font-weight:600}.feedback-login{max-width:26rem;text-align:center}.feedback-login p{margin:.75rem 0 1.5rem;color:var(--text-muted)}.feedback-tabs{display:flex;gap:.5rem;margin:1.5rem 0 1rem}.feedback-tabs button{display:inline-flex;gap:.45rem;align-items:center;border:1px solid var(--border);border-radius:.65rem;padding:.65rem .9rem;background:#fff;color:var(--text-muted);font:inherit;font-weight:600;cursor:pointer}.feedback-tabs button.is-active{border-color:var(--primary);background:#eff6ff;color:var(--primary)}.feedback-filters{display:flex;align-items:end;gap:.75rem;flex-wrap:wrap;margin-bottom:1rem}.feedback-filters label{display:grid;gap:.3rem;color:var(--text-muted);font-size:.78rem}.feedback-filters select,.feedback-filters input{min-width:12rem;border:1px solid var(--border);border-radius:.55rem;padding:.65rem;background:#fff;color:var(--text);font:inherit}.feedback-selection{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem;padding:.8rem 1rem;border-radius:.75rem;background:#eff6ff}.feedback-selection label{display:flex;gap:.5rem;align-items:center}.feedback-selection input,.feedback-table input{width:1.1rem;height:1.1rem;accent-color:var(--primary)}.feedback-notice{margin-bottom:1rem;padding:.7rem 1rem;border-radius:.65rem;background:#eff6ff;color:#1e40af}.feedback-table .feedback-order{display:block}.feedback-table td small{display:block;margin-top:.25rem;color:var(--text-muted)}.feedback-table td .feedback-error{max-width:20rem;color:var(--danger)}.feedback-status{display:inline-block;padding:.25rem .55rem;border-radius:999px;background:#f1f5f9;font-size:.75rem;font-weight:700}.feedback-status.status-completed{background:#dcfce7;color:#166534}.feedback-status.status-failed{background:#fee2e2;color:#991b1b}.feedback-status.status-started{background:#fef3c7;color:#92400e}.feedback-empty{padding:2rem;text-align:center;color:var(--text-muted)}.feedback-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.feedback-stats article{display:grid;gap:.3rem;padding:1.25rem;border:1px solid var(--border);border-radius:.8rem;background:#fff}.feedback-stats article span,.feedback-stats article small{color:var(--text-muted)}.feedback-stats article strong{font-size:1.75rem}.feedback-summary-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:1rem}.feedback-summary-grid h2,.feedback-comments h2{margin-bottom:1rem;font-size:1.1rem}.feedback-rating-row{display:grid;grid-template-columns:6rem 1fr 5.5rem;align-items:center;gap:.65rem;margin:.8rem 0;font-size:.83rem}.feedback-distribution{display:flex;height:1.4rem;overflow:hidden;border-radius:.3rem;background:#f1f5f9}.feedback-distribution i{display:grid;place-items:center;min-width:1.2rem;color:#fff;font-style:normal;font-weight:700}.feedback-distribution .score-1{background:#b91c1c}.feedback-distribution .score-2{background:#d97706}.feedback-distribution .score-3{background:#ca8a04}.feedback-distribution .score-4{background:#16a34a}.feedback-distribution .score-5{background:#047857}.feedback-legend,.feedback-summary-grid small{color:var(--text-muted);font-size:.75rem}.feedback-problem{display:grid;grid-template-columns:1fr auto;gap:.35rem;margin:.8rem 0;font-size:.83rem}.feedback-problem>i{grid-column:1/-1;height:.4rem;overflow:hidden;border-radius:999px;background:#f1f5f9}.feedback-problem>i>span{display:block;height:100%;background:var(--primary)}.feedback-subtitle{margin-top:1.5rem}.feedback-comments{margin-top:1rem}.feedback-comments article{padding:1rem 0;border-top:1px solid var(--border)}.feedback-comments article>div{display:flex;align-items:center;gap:.65rem}.feedback-comments article>div span{color:var(--text-muted)}.feedback-comments article>div button{margin-left:auto}.feedback-comments article p{margin-top:.5rem}.feedback-comments article p b{color:var(--success)}.feedback-modal{position:fixed;z-index:1005;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:1rem;background:#0f172a99;overflow-y:auto}.feedback-modal>.card{width:min(48rem,100%);max-height:calc(100dvh - 2rem);overflow-y:auto}.feedback-answer{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border)}.feedback-answer h3{margin-bottom:.8rem}.feedback-answer-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.45rem 1rem}.feedback-answer-grid span{display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0;border-bottom:1px solid #f1f5f9}.feedback-answer p{margin-top:.8rem}@media(max-width:768px){.survey-hero{display:block!important}.survey-card,.survey-error,.survey-success,.survey-more{margin-left:.75rem;margin-right:.75rem}.survey-actions{grid-template-columns:auto minmax(0,1fr)}.feedback-header{align-items:flex-start}.feedback-header>div:last-child{display:block!important;width:auto}.feedback-stats,.feedback-summary-grid{grid-template-columns:1fr}.feedback-table td:first-child{display:none}.feedback-rating-row{grid-template-columns:5rem 1fr 4.8rem;gap:.4rem}.feedback-comments article>div{flex-wrap:wrap}.feedback-comments article>div button{margin-left:0}.feedback-answer-grid{grid-template-columns:1fr}}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,-apple-system,sans-serif;background-color:var(--bg);color:var(--text);line-height:1.5;-webkit-font-smoothing:antialiased}.container{max-width:1440px;margin:0 auto;padding:2rem}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;padding:1.5rem;box-shadow:0 1px 3px #0000001a}.title{font-size:1.875rem;font-weight:700;margin-bottom:1.5rem;letter-spacing:-.025em}.table-container{overflow-x:auto;margin-top:1.5rem}table{width:100%;border-collapse:collapse;text-align:left}th{padding:.6rem .75rem;background:#f1f5f9;font-weight:600;font-size:.8rem;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border)}td{padding:.6rem .75rem;border-bottom:1px solid var(--border);font-size:.875rem}.customization-cell{font-size:.8rem;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.025em;font-family:inherit}select.status-badge{padding-right:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .5rem center}.status-pending_review{background:#fef3c7;color:#92400e}.status-pending_payment{background:#fee2e2;color:#991b1b}.status-paid{background:#dcfce7;color:#166534}.status-confirmed{background:#dbeafe;color:#1e40af}.status-processed,.status-in_production{background:#f3e8ff;color:#6b21a8}.status-in_delivery{background:#e0f2fe;color:#075985}.status-ready_to_pickup{background:#dcfce7;color:#166534;border:1px solid #86efac}.status-completed{background:#10b981;color:#fff}.status-cancelled{background:#6b7280;color:#fff}.status-draft{background:#f3f4f6;color:#374151}.switch{display:inline-flex;align-items:center;gap:.6rem;cursor:pointer;-webkit-user-select:none;user-select:none}.switch input{position:absolute;opacity:0;width:0;height:0}.switch-track{position:relative;width:44px;height:24px;border-radius:9999px;background:#cbd5e1;transition:background .2s;flex-shrink:0}.switch-track:after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0000004d;transition:transform .2s}.switch input:checked+.switch-track{background:var(--success)}.switch input:checked+.switch-track:after{transform:translate(20px)}.switch input:focus-visible+.switch-track{outline:2px solid var(--primary);outline-offset:2px}.switch-label{font-size:.85rem;font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.25rem;border-radius:8px;font-weight:600;font-size:.9375rem;cursor:pointer;transition:all .2s;border:none;gap:.5rem}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);box-shadow:0 4px 6px -1px #2563eb33}.login-layout{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1rem}@media(max-width:768px){.container{padding:1rem}header{flex-direction:column;align-items:flex-start!important;gap:1rem}header div:last-child{display:grid!important;grid-template-columns:repeat(2,1fr);width:100%;gap:.5rem}header div:last-child .btn{width:100%;font-size:.8rem;padding:.5rem}.table-container{border:none;box-shadow:none}table,thead,tbody,th,td,tr{display:block}thead tr{position:absolute;top:-9999px;left:-9999px}tr{background:var(--card-bg);border:1px solid var(--border);border-radius:12px;margin-bottom:1rem;padding:.5rem;box-shadow:0 1px 2px #0000000d}td{border:none;border-bottom:1px solid #f1f5f9;padding:.75rem 1rem!important;min-height:2.5rem;display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;text-align:right}td[data-label=Customization].customization-cell{max-width:none;white-space:normal;word-break:break-word;line-height:1.2;font-size:.75rem}td:last-child{border-bottom:none}td:before{content:attr(data-label);font-weight:600;color:var(--text-muted);font-size:.7rem;text-transform:uppercase;text-align:left;flex-shrink:0;margin-top:.2rem}.status-badge{font-size:.65rem}tfoot{display:none}}
