/* EtherTrust TLS-IM Research Paper — dark theme, 2026.
   Scoped to #ethertrust-paper so it does not restyle a WordPress theme. */
#ethertrust-paper { --et-bg:#080b0f; --et-card:#111821; --et-raised:#17212b;
 --et-ink:#ebf2f7; --et-muted:#b2c1cc; --et-faint:#91a3b0;
 --et-line:#2b3944; --et-accent:#51dfcb; --et-blue:#8dc7ff;
 color:var(--et-ink); background:var(--et-bg); font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
 font-size:16px; line-height:1.78; margin:0; padding:0 0 90px; color-scheme:dark; isolation:isolate;
 overflow-wrap:break-word; }
#ethertrust-paper *,#ethertrust-paper *::before,#ethertrust-paper *::after { box-sizing:border-box; }
#ethertrust-paper a { color:var(--et-blue); text-decoration:none; text-underline-offset:3px; }
#ethertrust-paper a:hover { color:var(--et-accent); text-decoration:underline; }
#ethertrust-paper a:focus-visible {outline:2px solid var(--et-accent);outline-offset:4px;}
#ethertrust-paper .et-wrap { max-width:1220px; margin:0 auto; padding:0 30px; }
#ethertrust-paper .et-layout { display:grid; grid-template-columns:250px minmax(0,1fr); gap:47px;
 padding-top:43px; align-items:start; }
#ethertrust-paper .et-toc { border:1px solid var(--et-line); border-radius:12px;
 padding:21px 17px 17px; background:#101720; position:sticky; top:24px; }
#ethertrust-paper .et-toc h2 { font-size:.75rem; text-transform:uppercase; color:var(--et-accent);
 letter-spacing:.13em; margin:0 0 14px; }
#ethertrust-paper .et-toc ol { margin:0; padding:0; list-style:none; }
#ethertrust-paper .et-toc li { margin:0; padding:0; }
#ethertrust-paper .et-toc a { display:block; font-size:.86rem; color:#c8d4df;
 padding:7px 5px;line-height:1.35;border-left:2px solid transparent; }
#ethertrust-paper .et-toc a:hover {border-left-color:var(--et-accent);background:#17242b;text-decoration:none;color:#fff;}
#ethertrust-paper .et-content { min-width:0; max-width:880px; }
#ethertrust-paper .et-content p { margin:0 0 17px; color:var(--et-ink); }
#ethertrust-paper .et-abstract { background:var(--et-card);border:1px solid var(--et-line);
 border-left:3px solid var(--et-accent);padding:21px 24px;border-radius:10px;margin-bottom:21px; }
#ethertrust-paper .et-abstract h2 { margin:0 0 10px;font-size:1.04rem;letter-spacing:.01em;color:var(--et-accent);}
#ethertrust-paper .et-abstract p { margin:0; font-size:.96rem; }
#ethertrust-paper .et-keywords {font-size:.91rem;color:var(--et-muted);margin-bottom:34px;}
#ethertrust-paper .et-keywords b {color:var(--et-accent);}
#ethertrust-paper .et-content h2.et-section { color:#fff;font-weight:730;font-size:1.54rem;line-height:1.3;
 letter-spacing:-.025em;border-top:1px solid var(--et-line);padding-top:30px;margin:45px 0 18px;scroll-margin-top:24px;}
#ethertrust-paper .et-content h3.et-subsection {font-size:1.11rem;font-weight:740;line-height:1.4;
 color:var(--et-accent);margin:27px 0 13px;scroll-margin-top:24px;}
#ethertrust-paper .et-bullet { position:relative;padding-left:17px; }
#ethertrust-paper .et-bullet::before { content:""; position:absolute;left:1px;top:.87em;width:5px;height:5px;
 background:var(--et-accent);border-radius:100%; }
#ethertrust-paper .et-equation { background:#101923;border:1px solid var(--et-line);
 color:#ebf8f6;padding:13px 16px;overflow-x:auto;border-radius:8px;margin:9px 0;
 font-size:.91rem;font-family:ui-monospace,SFMono-Regular,Consolas,Monaco,monospace;
 line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere; }
#ethertrust-paper figure.et-figure {margin:25px 0 26px;padding:0;}
#ethertrust-paper figure.et-figure .et-imagebox {background:#fff; border:1px solid #edf0f3; border-radius:8px;
 padding:16px;max-width:100%;text-align:center;overflow:hidden;}
#ethertrust-paper figure.et-figure img {display:block;max-width:100%;height:auto;margin:auto;object-fit:contain;}
#ethertrust-paper figure.et-figure figcaption,#ethertrust-paper .et-table-caption {
 color:var(--et-muted);font-size:.82rem;line-height:1.55;margin-top:10px;}
#ethertrust-paper figure.et-equation-image {max-width:100%;margin:12px 0 18px;}
#ethertrust-paper figure.et-equation-image .et-imagebox {display:inline-block;max-width:100%;padding:12px 18px;}
#ethertrust-paper figure.et-equation-image img {width:auto;max-height:95px;}
#ethertrust-paper .et-table-scroll {overflow-x:auto;border:1px solid var(--et-line);border-radius:9px;margin-top:17px;}
#ethertrust-paper table.et-table {width:100%;border-collapse:collapse;border-spacing:0;
 background:#111923;color:#eef5f6;font-size:.86rem;min-width:430px;}
#ethertrust-paper table.et-table th {background:#1c2b36;text-align:left;color:#7ff0d8;font-size:.82rem;
 font-weight:700;white-space:normal;}
#ethertrust-paper table.et-table th,#ethertrust-paper table.et-table td {padding:10px 12px;
 border-bottom:1px solid #2e3d49;vertical-align:top;line-height:1.4;}
#ethertrust-paper table.et-table tr:last-child td {border-bottom:0;}
#ethertrust-paper table.et-table tbody tr:nth-child(even){background:#15202b;}
#ethertrust-paper .et-table-caption {margin-bottom:24px;}
#ethertrust-paper .et-refs {counter-reset:ref;list-style:none;margin:0;padding:0;}
#ethertrust-paper .et-refs li {display:grid;grid-template-columns:38px minmax(0,1fr); gap:7px;
 margin:0;padding:10px 0;border-bottom:1px solid #202e39;font-size:.85rem;line-height:1.55;color:#dbe5eb;}
#ethertrust-paper .et-ref-label {color:var(--et-accent);font-weight:710;}
#ethertrust-paper .et-cite {color:var(--et-accent);font-size:.83em;white-space:nowrap;}
#ethertrust-paper .et-footer {margin-top:52px;border-top:1px solid var(--et-line);padding-top:20px;
 color:var(--et-faint);font-size:.82rem;}
#ethertrust-paper .et-toplink {display:inline-block;margin-top:14px;font-size:.84rem;color:var(--et-accent);}
#ethertrust-paper .et-content h2#references {margin-top:50px;}
@media (max-width:920px){
  #ethertrust-paper .et-layout {grid-template-columns:1fr;gap:30px;padding-top:28px;}
  #ethertrust-paper .et-toc {position:static;}
  #ethertrust-paper .et-toc ol {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px;}
}
@media (max-width:600px){
  #ethertrust-paper {font-size:15px;}
  #ethertrust-paper .et-wrap {padding:0 18px;}
  #ethertrust-paper .et-abstract {padding:17px;}
  #ethertrust-paper .et-content h2.et-section {font-size:1.29rem;}
  #ethertrust-paper .et-toc ol {grid-template-columns:1fr;}
  #ethertrust-paper figure.et-figure .et-imagebox {padding:9px;}
  #ethertrust-paper .et-refs li {grid-template-columns:32px minmax(0,1fr);}
}
@media print {#ethertrust-paper {background:#fff;color:#111;--et-ink:#111;--et-muted:#333;--et-card:#f5f8fa;--et-line:#b6bec5;--et-accent:#005c56;--et-blue:#00599e;}
#ethertrust-paper .et-toc {display:none;}#ethertrust-paper .et-layout {display:block;}
 #ethertrust-paper .et-content h2.et-section {color:#111;}#ethertrust-paper .et-equation {background:#f5f8fa;color:#111;}
}
