/* =====================================================================
   EDVEXA - Teacher profiles page with status tabs (docs/TEACHER-PROFILES-TABS.md)
   Undo = remove this file's line from index.html.
   ===================================================================== */
.tq { display: flex; flex-direction: column; gap: 22px; }
.tq .panel { background: #fff; border: 1px solid var(--rule, #EAECF0); border-radius: 16px; box-shadow: none; margin: 0; }
.tq-head { padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.tq-who { display: flex; gap: 12px; align-items: center; min-width: 0; }
.tq-who h2 { margin: 0; font-size: 18px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tq-sub { font-size: 13px; color: var(--slate, #475467); margin-top: 2px; }
.tq-st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.tq-st.pending { background: #FEF0C7; color: #6b3d08; } .tq-st.approved { background: #e3f4ea; color: #054F31; }
.tq-st.returned { background: #fbe7e3; color: #8a2c1b; } .tq-st.none { background: #efedf4; color: #4a4560; }
.tq-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #eee9f8; color: #3f2a73; margin-right: 4px; white-space: nowrap; }

.tq-cmp { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule, #EAECF0); }
.tq-cmp > div { padding: 14px 18px; border-top: 1px solid #F2F4F7; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.tq-cmp > .h { border-top: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate, #475467); background: #F9FAFB; }
.tq-cmp > .k { font-weight: 600; font-size: 13px; color: var(--slate, #475467); }
.tq-cmp > .new { background: #fbf9ff; }
.tq-fl { display: grid; grid-template-columns: 150px minmax(0, 1fr); border-top: 1px solid var(--rule, #EAECF0); }
.tq-fl > div { padding: 12px 22px; border-top: 1px solid #F2F4F7; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.tq-fl > div:nth-child(-n+2) { border-top: 0; }
.tq-fl > .k { font-weight: 600; font-size: 13px; color: var(--slate, #475467); }
.tq-chg { background: #fff3c4; border-radius: 4px; padding: 0 3px; }
.tq-del { background: #fbe7e3; border-radius: 4px; padding: 0 3px; text-decoration: line-through; color: #8a2c1b; }
.tq-act { padding: 16px 22px; border-top: 1px solid var(--rule, #EAECF0); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; background: #F9FAFB; }
.tq-act input { flex: 1 1 280px; min-width: 0; min-height: 44px; }
.tq-foot { padding: 14px 22px; border-top: 1px solid var(--rule, #EAECF0); background: #F9FAFB; font-size: 13px; color: var(--slate, #475467); }
.tq-note { margin: 0 22px 14px; background: #fbe7e3; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #5a2118; }
.tq-empty { margin: 0 22px 22px; border: 1px dashed #c9c3dc; border-radius: 14px; padding: 22px; text-align: center; color: var(--slate, #475467); font-size: 14px; line-height: 1.55; }
.tq-body { padding: 0 22px 20px; display: flex; flex-direction: column; gap: 14px; }

.tq-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tq-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #d9d4e8; background: #fff;
  font: 600 14px var(--body, inherit); color: #3f3558; cursor: pointer; }
.tq-tab b { font-weight: 700; background: #efedf4; border-radius: 999px; padding: 1px 8px; font-size: 12.5px; }
.tq-tab:hover { background: #f5f1fc; }
.tq-tab[aria-selected="true"] { background: #54348f; border-color: #54348f; color: #fff; }
.tq-tab[aria-selected="true"] b { background: rgba(255,255,255,.22); color: #fff; }
.tq-tab:focus-visible { outline: 3px solid var(--focus-ring, var(--brand, #0E7C7B)); outline-offset: 2px; }

.tq-list h2 { margin: 0; padding: 16px 18px; font-size: 16px; font-weight: 800; }
.tq .tq-list table { width: 100%; }
.tq .tq-list th:first-child, .tq .tq-list td:first-child { padding-left: 18px; }
.tq .tq-list tr.sel td { background: #f5f1fc; }
.tq-name { display: flex; gap: 10px; align-items: center; }
.tq-name .muted { font-size: 12.5px; }
.tq-r { text-align: right; }
.tq-scroll { overflow-x: auto; }
.tq-scroll > .tq-cmp, .tq-scroll > .tq-fl { min-width: 560px; }
