/* TEDY ERP M16.9: isolated mobile-first return request + physical verification UI */
.tedy-m169-open{overflow:hidden}
.tedy-m169-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.73);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.tedy-m169-panel{width:min(100%,620px);max-height:min(92dvh,850px);overflow:auto;background:#12271f;color:#fff;border:1px solid #527c67;border-radius:14px;box-shadow:0 16px 64px rgba(0,0,0,.5);box-sizing:border-box}
.tedy-m169-heading{position:sticky;top:0;background:#12271f;border-bottom:1px solid #42614e;padding:12px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;z-index:1}
.tedy-m169-heading h2{font-size:1.09rem!important;line-height:1.45;margin:0!important;min-width:0;overflow-wrap:anywhere}
.tedy-m169-heading button{font-size:1.4rem;flex-shrink:0}
.tedy-m169-content{padding:14px 15px 18px;min-width:0}
.tedy-m169-content h3{font-size:1rem;margin:12px 0}
.tedy-m169-explain{line-height:1.7;margin:0 0 14px;overflow-wrap:anywhere}
.tedy-m169-form{display:grid;gap:14px}
.tedy-m169-form label{display:grid;gap:6px;line-height:1.6;min-width:0}
.tedy-m169-form select,.tedy-m169-form input,.tedy-m169-form textarea{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;background:#09231a;color:#fff;border:1px solid #709982;padding:12px;font-size:16px!important;border-radius:9px;font-family:inherit}
.tedy-m169-form option{background:#09231a;color:#fff}
.tedy-m169-feedback{padding:12px;border-radius:9px;background:#422522;color:#ffe8de;border:1px solid #ae6b63;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}
.tedy-m169-feedback.warn{background:#3d351f;color:#ffe4ac;border-color:#99894a}
.tedy-m169-item{padding:12px;margin:10px 0;border:1px solid #446e57;border-radius:10px;line-height:1.65;overflow-wrap:anywhere}
.tedy-m169-item strong{display:block}
.tedy-m169-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.tedy-m169-actions .btn{min-width:0;flex:1 1 120px}
.tedy-m169-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:10px;margin:12px 0;background:#102b20;border:1px solid #386950;border-radius:12px}
.tedy-m169-toolbar .btn{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.tedy-m169-toolbar small{flex-basis:100%;font-size:.83rem;line-height:1.6}
.tedy-m169-panel details{border-top:1px solid #446e57;margin-top:12px;padding-top:12px}
@media(max-width:480px){.tedy-m169-overlay{padding:5px}.tedy-m169-panel{max-height:96dvh;border-radius:10px}.tedy-m169-content{padding:11px}.tedy-m169-toolbar .btn{width:100%}}

/* M16.9.1: branch identity + permission status */
.tedy-m169-branch{font-weight:700;color:#f2d18c;margin:5px 0;overflow-wrap:anywhere}
.tedy-m169-permission{padding:10px;background:#3b311b;border:1px solid #786c4a;border-radius:8px;font-size:.92rem;line-height:1.5}
.tedy-m169-filter-label{display:grid;gap:7px;margin:12px 0;font-size:.95rem}
.tedy-m169-filter-label select{background:#09231a;color:#fff;border:1px solid #709982;padding:12px;width:100%;min-width:0;max-width:100%;font:inherit;font-size:16px;border-radius:9px}
.tedy-m169-decision-details{padding:10px;background:#0b241b;border:1px solid #527c67;border-radius:10px;margin-bottom:14px;overflow-wrap:anywhere}
.tedy-m169-decision-details p{margin:5px 0;line-height:1.7}
.tedy-m169-form .tedy-m169-check{display:flex;align-items:flex-start;gap:10px;padding:12px;background:#0a2d20;border:1px solid #527c67;border-radius:10px}
.tedy-m169-form .tedy-m169-check input[type=checkbox]{width:22px;height:22px;flex:0 0 22px;accent-color:#24bf79;margin-top:2px}
