/* Tests later + profile chips (28-Nov-2026, testslater.js). Every rule with a background names its text colour too (UI_STANDARD U15). */
#tlrow { margin: 6px 0 0; }
#tlrow .tlprof, #tlrow .tlline, #tlrow .tlchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
#tlrow .tlprof { margin-bottom: 6px; }
#tlrow .tlchip, #tlrow .tlbtn, #tlrow .tlghost, #tlrow .tledit, #tlrow .tlx { min-height: 32px; padding: 4px 10px; border: 1px solid #b9c7d3; border-radius: 16px;
  background: #ffffff; color: #0b4f63; font-size: 13px; cursor: pointer; }
#tlrow .tlchip[aria-pressed=true] { background: #0b5d73; border-color: #0b5d73; color: #ffffff; }
#tlrow .tlchip:hover, #tlrow .tlbtn:hover, #tlrow .tlghost:hover, #tlrow .tledit:hover { background: #e3f1f6; color: #0b3d4f; }
#tlrow .tlchip[aria-pressed=true]:hover { background: #0b4f63; color: #ffffff; }
#tlrow .tlbtn { border-style: dashed; }
#tlrow .tlgo { min-height: 36px; padding: 6px 16px; border: 1px solid #0b5d73; border-radius: 8px; background: #0b5d73; color: #ffffff; font-size: 14px; cursor: pointer; }
#tlrow .tlgo:hover { background: #0b4f63; color: #ffffff; }
#tlrow .tltag { display: inline-flex; align-items: center; gap: 2px; border-radius: 16px; background: #fff4dc; color: #4a3500; }
#tlrow .tltag .tledit { border-color: #e0c77d; background: #fff4dc; color: #4a3500; text-align: left; }
#tlrow .tltag .tlx { border: 0; background: #fff4dc; color: #4a3500; padding: 4px 8px; }
#tlrow .tltag .tlt { padding: 4px 8px; font-size: 13px; }
#tlrow .tldue { margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: #e6f4ea; color: #14532d; font-size: 13px; }
#tlrow .tlpop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; padding: 8px 10px; border: 1px solid #d3dce5; border-radius: 10px; background: #ffffff; color: #1b2733; }
#tlrow .tlpanel { margin-top: 8px; padding: 10px 12px; border: 1px solid #d3dce5; border-radius: 10px; background: #ffffff; color: #1b2733; max-width: 760px; }
#tlrow .tlhd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#tlrow .tlsub { margin: 8px 0 4px; font-size: 12.5px; color: #475569; background: transparent; }
#tlrow .tldate, #tlrow .tltype { display: block; margin-top: 6px; min-height: 36px; width: 100%; max-width: 420px; box-sizing: border-box; background: #ffffff; color: #1b2733; }
#tlrow .tlact { display: flex; gap: 8px; margin-top: 10px; }
#tlrow .tlplan { margin-top: 10px; padding-top: 8px; border-top: 1px solid #e6ecf1; font-size: 13px; }
#tlrow .tldraft { display: inline-block; padding: 1px 8px; border-radius: 10px; background: #fff4dc; color: #4a3500; font-size: 12px; }
#tlrow .tlmsg { margin: 6px 0 0; min-height: 1em; font-size: 12.5px; color: #b3261e; background: transparent; }
#pk-adv .tag.tlgrp { cursor: pointer; background: #e3f1f6; color: #0b3d4f; }
@media (max-width: 1024px) {
  #tlrow .tlprof, #tlrow .tlline, #tlrow .tlchips, #tlrow .tlact, #tlrow .tlpop { gap: 8px; }
  #tlrow .tlchip, #tlrow .tlbtn, #tlrow .tlghost, #tlrow .tledit, #tlrow .tlx, #tlrow .tlgo, #tlrow .tldate, #tlrow .tltype { min-height: 44px; }
}
@media (max-width: 600px) {
  #tlrow .tlpanel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; margin: 0; max-width: none; max-height: 80vh; overflow-y: auto;
    border-radius: 14px 14px 0 0; box-shadow: 0 -6px 24px rgba(0, 0, 0, .18); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}
