.twsms-report-menu{position:fixed;z-index:999998;display:flex;flex-direction:column;gap:6px;min-width:190px;padding:10px;background:#fff;color:#182230;border:1px solid #d5dce5;border-radius:10px;box-shadow:0 12px 38px rgba(0,0,0,.2);overflow:auto;font:13px/1.4 system-ui,-apple-system,Segoe UI,sans-serif}.twsms-report-menu-heading{font-weight:650;padding:4px 6px 8px;border-bottom:1px solid #e2e7ed}.twsms-report-menu-action,.twsms-report-menu-close{border:1px solid #d6dde6;background:#fff;color:#263445;border-radius:6px;padding:8px 10px;text-align:left;cursor:pointer;font:inherit}.twsms-report-menu-action.is-report{background:#f4f7fb}.twsms-report-menu-action:hover,.twsms-report-menu-close:hover{background:#edf2f7}.twsms-report-backdrop{position:fixed;inset:0;z-index:999999;background:rgba(10,18,28,.58);display:flex;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.twsms-report-dialog{width:min(460px,100%);max-height:min(88vh,760px);overflow:auto;background:#fff;color:#182230;border-radius:12px;box-shadow:0 16px 60px rgba(0,0,0,.28);padding:20px;box-sizing:border-box;font:14px/1.45 system-ui,-apple-system,Segoe UI,sans-serif}.twsms-report-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.twsms-report-header h3{margin:0;font-size:19px}.twsms-report-close{border:0;background:transparent;font-size:25px;cursor:pointer;color:inherit}.twsms-report-intro{color:#566273;margin:10px 0 16px}.twsms-report-reasons{border:0;padding:0;margin:0 0 14px}.twsms-report-reasons legend{font-weight:650;margin-bottom:8px}.twsms-report-reason{display:flex;align-items:center;gap:9px;padding:8px 9px;border:1px solid #e0e5eb;border-radius:7px;margin:5px 0;cursor:pointer}.twsms-report-reason:has(input:checked){border-color:#557da7;background:#f2f7fc}.twsms-report-evidence,.twsms-report-notes-label{display:block;margin:12px 0;font-weight:600}.twsms-report-evidence select,.twsms-report-notes-label textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:8px;border:1px solid #c8d0da;border-radius:6px;font:inherit}.twsms-report-loading{font-weight:400;color:#657386;margin:6px 0}.twsms-report-notes-label textarea{resize:vertical;font-weight:400}.twsms-report-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.twsms-report-actions button,.twsms-report-success-title~button{border:1px solid #c4ccd6;border-radius:6px;padding:8px 13px;background:#fff;cursor:pointer}.twsms-report-actions .twsms-report-submit,.twsms-report-success-title~button{background:#225b91;color:#fff;border-color:#225b91}.twsms-report-error{color:#a12626;background:#fff1f1;padding:8px;border-radius:6px}.twsms-report-success-title{margin-top:4px}

.twsms-report-evidence-detail{margin-top:8px}.twsms-report-media-grid{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.twsms-report-media-card{display:flex;flex-direction:column;gap:5px;max-width:240px;padding:7px;border:1px solid #d5dce5;border-radius:8px;background:#f8fafc;text-decoration:none}.twsms-report-media-card img{display:block;width:auto;max-width:220px;max-height:220px;object-fit:contain;border-radius:5px}.twsms-report-media-card video{display:block;width:min(320px,100%);max-height:240px}.twsms-report-media-card audio{display:block;max-width:280px}.twsms-report-media-card span{font-size:12px;color:#526071}.twsms-report-media-link{display:inline-block;padding:7px 10px;border:1px solid #d5dce5;border-radius:6px;background:#f8fafc}.twsms-report-message-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;padding:10px;border-radius:7px;background:#f5f7fa;color:#243244}

/* Report media uses a uniform preview viewport so source dimensions never stretch the review layout. */
.twsms-report-media-card{width:240px;max-width:100%;box-sizing:border-box;align-items:stretch}.twsms-report-media-card img{width:100%;height:150px;max-width:none;max-height:none;object-fit:contain;background:#e9edf2;box-sizing:border-box}.twsms-report-media-card video{width:100%;height:150px;max-height:150px;object-fit:contain;background:#101820}.twsms-mod-actions{margin:12px 0;padding:10px;border:1px solid #d5dce5;border-radius:8px;background:#fbfcfe}.twsms-mod-actions>summary{font-weight:650;cursor:pointer}.twsms-mod-actions-grid{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}.twsms-mod-actions-grid form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0}.twsms-action-duration{font-size:12px;color:#445064}.twsms-action-duration select{max-width:130px}

/* TWS moderation workspace: predictable, compact media and clear contextual tools. */
.twsms-report-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,240px));align-items:start;gap:12px;max-width:100%;overflow:hidden}
.twsms-report-media-card{display:flex!important;flex-direction:column!important;width:240px!important;height:190px!important;min-width:0!important;max-width:100%!important;max-height:190px!important;flex:0 1 240px!important;overflow:hidden!important;box-sizing:border-box!important;align-items:stretch!important}
.twsms-report-media-card img{display:block!important;width:100%!important;height:145px!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:145px!important;object-fit:contain!important;flex:0 0 145px!important;background:#e9edf2!important}
.twsms-report-media-card video{display:block!important;width:100%!important;height:145px!important;max-height:145px!important;object-fit:contain!important;flex:0 0 145px!important}
.twsms-mod-actions{margin:7px 0!important;padding:0!important;border:1px solid #d8e0e8!important;border-radius:9px!important;background:#fff!important;max-width:100%;}
.twsms-mod-actions>summary{display:flex;align-items:center;gap:7px;padding:8px 10px;font-weight:650;cursor:pointer;list-style:none;color:#24364b}
.twsms-mod-actions>summary::-webkit-details-marker{display:none}
.twsms-mod-actions>summary:after{content:'+';margin-left:auto;font-size:18px;font-weight:400;color:#66788a}
.twsms-mod-actions[open]>summary:after{content:'−'}
.twsms-action-count{font-size:11px;font-weight:500;color:#64748b;background:#f0f3f7;border-radius:20px;padding:2px 7px}
.twsms-action-panel{padding:11px;border-top:1px solid #e6ebf0;background:#f8fafc;border-radius:0 0 9px 9px}
.twsms-action-target{display:flex;flex-wrap:wrap;align-items:baseline;gap:7px;margin-bottom:10px;color:#24364b}
.twsms-action-target span{font-size:11px;color:#718096}
.twsms-action-form{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:9px;align-items:end}
.twsms-action-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:12px;font-weight:600;color:#425466}
.twsms-action-field input,.twsms-action-field select{width:100%;max-width:100%;min-height:34px;box-sizing:border-box;border:1px solid #cbd5df;border-radius:6px;padding:5px 8px;background:#fff;color:#263445;font-weight:400}
.twsms-mute-options{display:grid;grid-template-columns:1fr;gap:7px;padding:9px;border:1px solid #dbe3eb;border-radius:7px;background:#fff}
.twsms-custom-duration{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.twsms-custom-duration[hidden],.twsms-mute-options[hidden]{display:none!important}
.twsms-duration-hint{margin:0;color:#718096;font-size:11px;font-weight:400}
.twsms-reason-field{grid-column:1/-1}
.twsms-action-submit{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:3px}
.twsms-action-warning{font-size:11px;color:#718096}
.twsms-action-warning.is-danger{color:#a12626;font-weight:600}
.twsms-action-form .button-primary{min-height:34px;padding:0 14px}
@media(max-width:782px){.twsms-action-form{grid-template-columns:1fr}.twsms-reason-field,.twsms-action-submit{grid-column:1}.twsms-action-submit{align-items:flex-start;flex-direction:column}.twsms-report-media-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.twsms-report-media-card{width:100%!important;flex-basis:100%!important}}


/* v0.10.0 report queue: evidence is visible immediately; no nested disclosure clicks. */
.twsms-reports-table{table-layout:fixed}
.twsms-reports-table th:nth-child(1){width:16%}.twsms-reports-table th:nth-child(2){width:14%}.twsms-reports-table th:nth-child(3){width:12%}.twsms-reports-table th:nth-child(4){width:17%}.twsms-reports-table th:nth-child(5){width:41%}
.twsms-reports-table td{vertical-align:top;padding:12px 10px}
.twsms-report-group{display:block;min-width:0;padding:2px 0}
.twsms-report-group>div{padding:10px 0!important;border-top:1px solid #e6ebf0!important}
.twsms-report-group>div:first-child{border-top:0!important;padding-top:0!important}
.twsms-report-evidence-detail{display:block;margin:9px 0;padding:10px;border:1px solid #e0e6ed;border-radius:8px;background:#f8fafc}
.twsms-report-evidence-detail h4{margin:0 0 8px;font-size:13px;color:#24364b}
.twsms-report-group form{margin-top:10px}
.twsms-report-group textarea{max-width:100%;min-height:64px}
.twsms-reports-table tr:target{outline:2px solid #6a9bc8;outline-offset:-2px;background:#f4f9ff}
.twsms-action-field[hidden]{display:none!important}
.twsms-new-username input{min-width:0}
.twsms-mod-actions[open] .twsms-action-panel{animation:twsms-panel-in .12s ease-out}
@keyframes twsms-panel-in{from{opacity:.7;transform:translateY(-2px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.twsms-reports-table{table-layout:auto}.twsms-reports-table th:nth-child(n){width:auto}}
@media(max-width:782px){.twsms-reports-table thead{display:none}.twsms-reports-table,.twsms-reports-table tbody,.twsms-reports-table tr,.twsms-reports-table td{display:block;width:100%;box-sizing:border-box}.twsms-reports-table tr{margin:0 0 14px;border:1px solid #dbe2e9;border-radius:8px;background:#fff}.twsms-reports-table td{border-bottom:1px solid #edf0f3}.twsms-reports-table td:last-child{border-bottom:0}}
