:root{font-family:'Noto Sans Lao',sans-serif;color:#1c2126;background:#f6f3ec;font-synthesis:none}
.feedback-types{border:0;padding:0;min-width:0}.feedback-types legend{font-weight:600;padding:0;margin-bottom:6px}.feedback-type-options{display:flex;gap:8px;flex-wrap:wrap}.feedback-type-option{display:flex;align-items:center;gap:10px;flex:1 1 180px;margin:0;padding:10px 12px;border:1px solid #c9c9c4;border-radius:9px;cursor:pointer}.feedback-type-option input{width:18px;height:18px;margin:0;padding:0;accent-color:#d74712;flex-shrink:0}.feedback-type-option:has(input:checked){border-color:#ff5a1f;background:#fff3ec;color:#a63810}.feedback-type-option:has(input:focus-visible){outline:3px solid #ff5a1f33;outline-offset:2px}
*{box-sizing:border-box}body{margin:0;line-height:1.65}main{max-width:760px;margin:24px auto;padding:22px;background:#fff;border:1px solid #e7e2d6;border-radius:18px;box-shadow:0 12px 40px #1c21260a}a{color:#a63810;text-underline-offset:4px}header{border-bottom:1px solid #e7e2d6;padding-bottom:12px;margin-bottom:14px}.brand{font-family:Arial,sans-serif;letter-spacing:.13em;font-size:13px;color:#a63810;font-weight:700}h1{font-size:25px;margin:6px 0}p{margin:5px 0}.muted{color:#616a70;font-size:14px}.field{margin:12px 0}label{display:block;font-weight:600;margin-bottom:4px}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:9px 12px;border:1px solid #c9c9c4;border-radius:9px;background:white;color:#1c2126}textarea{resize:vertical;min-height:160px}input:focus,select:focus,textarea:focus{outline:3px solid #ff5a1f33;border-color:#d64a15}button{background:#d74712;color:#fff;border:0;border-radius:9px;padding:12px 20px;cursor:pointer;font-weight:600}button:hover{background:#b73b0e}button:focus-visible,a:focus-visible{outline:3px solid #ffb020;outline-offset:3px}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px}.notice{padding:10px 14px;border-radius:9px;margin:12px 0;background:#fbe7e2;color:#963316}.success{background:#e9f5eb;color:#205a32}.trap{position:absolute;left:-9999px}.report{border:1px solid #e7e2d6;padding:20px;border-radius:12px;margin:18px 0}.report h2{font-size:19px;margin:8px 0;overflow-wrap:anywhere}.message{white-space:pre-wrap;overflow-wrap:anywhere}.meta{display:flex;gap:12px;flex-wrap:wrap;font-size:13px;color:#616a70}.badge{background:#f6f3ec;padding:2px 8px;border-radius:5px}.report .actions select{width:auto;max-width:100%}.contact{overflow-wrap:anywhere}.pagination{display:flex;gap:20px;margin-top:24px}@media(max-width:600px){main{margin:12px 10px;padding:16px}h1{font-size:22px}.actions button{width:100%}}

.image-previews{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.image-previews figure{margin:0;padding:8px;border:1px solid #e7e2d6;border-radius:10px;text-align:center}.image-previews img{width:100%;height:110px;object-fit:cover;border-radius:6px}.image-previews figcaption{font-size:12px;margin:6px 0}.image-previews button{padding:5px 10px;font-size:12px;background:#5b6570}button:disabled,input:disabled{opacity:.6;cursor:wait}#upload-error{white-space:pre-line}
.required-mark{color:#dc2626;font-weight:700}
.feedback-swal{font-family:'Noto Sans Lao',sans-serif!important}
.feedback-page :is(input,textarea)::placeholder{color:#d1d5d9;opacity:1;font-weight:400}
.whatsapp-number-row{display:flex;align-items:center;gap:10px}
.whatsapp-prefix{flex-shrink:0;min-width:68px;padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,#d74712,#e85a1f);color:#fff;font-weight:700;text-align:center}
.whatsapp-number-input{position:relative;flex:1;min-width:0}
.whatsapp-number-input input{padding-right:44px}
.whatsapp-icon{position:absolute;right:12px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;font:700 13px Arial,sans-serif;line-height:1}
.whatsapp-icon[data-state="valid"]{background:#00a800;color:#fff;border-radius:50%}
.whatsapp-icon[data-state="invalid"]{background:#e74c3c;color:#fff;border-radius:50%}
.whatsapp-icon[data-state="error"]{color:#b7830a;font-size:18px}
.whatsapp-status{margin-top:8px;padding:8px 12px;border:1px solid #e8eef7;border-radius:10px;background:#f5f7fa;color:#68717c;font-size:13px;font-weight:600}
.whatsapp-status[data-state="valid"]{background:#2ecc711a;color:#208647;border-color:#2ecc714d}
.whatsapp-status[data-state="invalid"]{background:#e74c3c14;color:#c0392b;border-color:#e74c3c33}
.whatsapp-status[data-state="error"]{background:#fff9e6;color:#916b08;border-color:#ffd580}
.whatsapp-field [hidden]{display:none}

/* Keep the public form's submit action reachable while scrolling. */
.feedback-page{--feedback-action-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
.feedback-page #feedback-form{padding-bottom:100px}
.feedback-page #feedback-form .actions{position:fixed;left:50%;bottom:var(--feedback-action-bottom);transform:translateX(-50%);width:calc(100% - 40px);max-width:714px;margin:0;padding:8px;background:#fff;border:1px solid #e7e2d6;border-radius:14px;box-shadow:0 6px 28px #1c212626;z-index:31}
.feedback-page #feedback-submit{width:100%;min-height:50px}
.feedback-page #feedback-submit:disabled{background:#d1d5db;color:#6b7280;opacity:1;cursor:not-allowed;box-shadow:none}
.feedback-page .pwa-install,.feedback-tracking-page .pwa-install{display:none}
.feedback-page #feedback-form :is(input,textarea,button){scroll-margin-bottom:190px}
@media(max-width:900px){.feedback-page.has-dashboard-bottom-menu{--feedback-action-bottom:calc(86px + env(safe-area-inset-bottom,0px))}}

