/* Tech files (ttc-techfile.js). Prefix tfl- (checked: not used anywhere else). The panel slides in from the right on
   computers and fills the screen on phones; the tech's own copy (#paperwork) is the same sections on a page. */
.tfl-wrap{position:fixed;inset:0;z-index:1200;display:flex;justify-content:flex-end}
.tfl-shade{position:absolute;inset:0;background:rgba(2,6,8,.62)}
.tfl-panel{position:relative;width:min(760px,100vw);height:100%;overflow-y:auto;background:#0B1518;border-left:1px solid #1E3036;box-shadow:-20px 0 60px rgba(0,0,0,.5);animation:tfl-in .22s ease-out;color:#E8F1F3;font-family:Inter,sans-serif}
@keyframes tfl-in{from{transform:translateX(40px);opacity:0}to{transform:none;opacity:1}}
body.ttc-calm .tfl-panel{animation:none}
body.tfl-open{overflow:hidden}
.tfl-x{position:sticky;top:10px;float:right;margin:10px 10px 0 0;width:40px;height:40px;border-radius:50%;border:1px solid #23363D;background:#15242A;color:#E8F1F3;display:grid;place-items:center;cursor:pointer;z-index:2}
.tfl-x svg{width:20px;height:20px}
.tfl-body{padding:22px 24px 60px;display:flex;flex-direction:column;gap:14px}
.tfl-page{padding:0 0 60px;max-width:820px}
.tfl-loading{color:#8FA6AD;margin:30px 0!important}
.tfl-head{display:flex;flex-direction:column;gap:14px;padding:4px 40px 6px 0}
.tfl-page .tfl-head{padding-right:0}
.tfl-who{display:flex;gap:14px;align-items:center}
.tfl-who h2{font:700 24px 'Space Grotesk',Inter,sans-serif!important;margin:0!important;color:#E8F1F3}
.tfl-sub{margin:2px 0 8px!important;color:#8FA6AD;font-size:13px}
.tfl-meter{display:flex;align-items:center;gap:10px;font-size:13px;color:#C9D8DC;white-space:nowrap}
.tfl-bar{display:block;width:160px;height:8px;border-radius:8px;background:#1C2C32;overflow:hidden}
.tfl-fill{display:block;height:100%;width:0;background:#F5B94A;border-radius:8px;transition:width .3s}
.tfl-fill.good{background:#3DDC84}.tfl-fill.bad{background:#FF6B6B}
.tfl-quick,.tfl-links{display:flex;flex-wrap:wrap;gap:8px}
.tfl-sec{background:#0F1A1F;border:1px solid #1E3036;border-radius:16px;padding:16px 18px;scroll-margin-top:70px}
.tfl-sechead{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}
.tfl-sec h3{font:700 16px 'Space Grotesk',Inter,sans-serif!important;margin:0!important;color:#E8F1F3}
.tfl-sec h4{font-size:13px!important;font-weight:700!important;color:#8FA6AD;text-transform:uppercase;letter-spacing:.04em;margin:16px 0 8px!important}
#ttc-feed-app .tfl-link,.tfl-link{background:none;border:0;color:#3FD2E8!important;font:600 14px Inter,sans-serif;cursor:pointer;padding:6px 4px}
.tfl-dl{display:grid;grid-template-columns:minmax(120px,190px) minmax(0,1fr);gap:8px 14px;margin:0;font-size:14px}
.tfl-dl dt{color:#8FA6AD}.tfl-dl dd{margin:0;color:#E8F1F3;overflow-wrap:anywhere}
.tfl-dl dd.soon,.tfl-until.soon,.tfl-checkitem small.soon{color:#F5B94A}
.tfl-dl dd.expired,.tfl-until.expired,.tfl-checkitem small.expired{color:#FF6B6B}
.tfl-none{color:#6F878E;font-size:14px;margin:0!important}
.tfl-hint{color:#8FA6AD;font-size:13px;margin:10px 0 0!important;line-height:1.45}
.tfl-checks ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}
.tfl-checkitem{width:100%;display:flex;align-items:center;gap:10px;background:none;border:0;border-radius:10px;padding:8px 6px;color:#E8F1F3;font:14px Inter,sans-serif;text-align:left;cursor:pointer}
.tfl-checkitem:hover{background:#15242A}
.tfl-checkitem>span:nth-child(2){flex:1;min-width:0}
.tfl-checkitem small{color:#8FA6AD;font-size:12px;white-space:nowrap}
.tfl-checkitem small.missing{color:#FF8A8A}.tfl-checkitem small.ok{color:#3DDC84}
.tfl-dot{width:10px;height:10px;border-radius:50%;flex:none;background:#3DDC84}
.tfl-dot.missing{background:transparent;border:2px solid #FF8A8A}.tfl-dot.soon{background:#F5B94A}.tfl-dot.expired{background:#FF6B6B}
.tfl-form{display:flex;flex-direction:column;gap:12px}
.tfl-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tfl-field{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#8FA6AD;margin:0;min-width:0}
.tfl-field.wide,.tfl-hint.wide,.tfl-check{grid-column:1/-1}
.tfl-field input,.tfl-field select,.tfl-field textarea,.tfl-ask textarea{width:100%;box-sizing:border-box;border-radius:12px;border:1px solid #23363D;background:#0E191D;color:#E8F1F3;font:15px Inter,sans-serif;padding:10px 12px;margin:0;min-height:44px}
.tfl-field input:focus,.tfl-field select:focus,.tfl-field textarea:focus,.tfl-ask textarea:focus{outline:2px solid #3FD2E8;outline-offset:1px}
.tfl-check{display:flex;gap:10px;align-items:center;font-size:14px;color:#C9D8DC;margin:0}
.tfl-check input{width:20px;height:20px;accent-color:#3FD2E8;margin:0}
.tfl-formacts{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}
.tfl-msg{margin:0 auto 0 0!important;color:#F5B94A;font-size:13px}
.tfl-docs,.tfl-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.tfl-docs li,.tfl-list li{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #1E3036;border-radius:12px;background:#0B1518}
.tfl-docs li>svg{width:22px;height:22px;flex:none;color:#3FD2E8}
.tfl-docs li>div,.tfl-list li>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.tfl-docs small,.tfl-list small{color:#8FA6AD;font-size:12px;overflow-wrap:anywhere}
#ttc-feed-app a.tfl-docname,a.tfl-docname{color:#E8F1F3!important;font-weight:600;font-size:14px;text-decoration:none;overflow-wrap:anywhere}
a.tfl-docname:hover{text-decoration:underline}
.tfl-list b{font-size:14px;color:#E8F1F3}
.tfl-rowacts{display:flex;gap:4px;flex:none}
.tfl-upload{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-top:10px}
.tfl-upload .tfl-field{flex:1 1 160px}
.tfl-upload .tfl-msg{flex-basis:100%}
.tfl-ask{background:#13232A;border:1px solid #3FD2E8;border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}
.tfl-ask h3{margin:0!important;font:700 16px 'Space Grotesk',Inter,sans-serif!important}
@media(max-width:759px){
  .tfl-panel{width:100vw;border-left:0}
  .tfl-body{padding:14px 14px 90px}
  .tfl-who h2{font-size:21px!important}
  .tfl-checks ul,.tfl-grid{grid-template-columns:minmax(0,1fr)}
  .tfl-dl{grid-template-columns:minmax(0,1fr);gap:2px}
  .tfl-dl dd{margin-bottom:8px}
  .tfl-bar{width:120px}
}
/* The directory's cards: how complete each file is, and the button that opens it (office only). */
.tdr-file{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tdr-paper{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:999px;padding:3px 10px;background:#15242A;color:#C9D8DC;border:1px solid #23363D}
.tdr-paper.good{color:#3DDC84;border-color:rgba(61,220,132,.4)}.tdr-paper.soon{color:#F5B94A;border-color:rgba(245,185,74,.4)}.tdr-paper.bad{color:#FF6B6B;border-color:rgba(255,107,107,.45)}
.tdr-paper.dnu{color:#FF6B6B;background:rgba(255,107,107,.1)}
