/* Print-friendly IEEE-style report layout (US Letter, 1-inch margins) */

:root{
  --text: #111;
  --muted: #444;
  --rule: #ddd;
  --bg: #fff;
  --link: #111; /* keep printable */
}

@page{
  size: Letter;
  margin: 1in;
}

html, body{
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
}

body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 11pt;
  line-height: 1.45;
}

.container{
  max-width: 72ch;
  margin: 0 auto;
  padding: 20px 18px;
}

@media print{
  .container{
    max-width: 6.5in; /* 8.5 - 2*1in margins */
    padding: 0;
  }
  a{
    text-decoration: underline;
  }
  .no-print{ display:none !important; }
}

header{
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

h1{
  font-size: 18pt;
  margin: 0 0 6px 0;
  letter-spacing: 0.2px;
}

.meta{
  color: var(--muted);
  font-size: 10.5pt;
  margin: 0;
}

h2{
  font-size: 13.5pt;
  margin: 18px 0 8px 0;
}

h3{
  font-size: 12pt;
  margin: 14px 0 6px 0;
}

p{
  margin: 0 0 10px 0;
}

hr{
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 16px 0;
}

a{
  color: var(--link);
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

code, .mono{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.96em;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.small{
  font-size: 10pt;
  color: var(--muted);
}

.callout{
  border-left: 4px solid var(--rule);
  padding: 8px 10px;
  background: #fafafa;
  margin: 10px 0 14px 0;
}

table{
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 14px 0;
  table-layout: fixed;
}

th, td{
  border: 1px solid var(--rule);
  padding: 8px 8px;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

th{
  background: #f5f5f5;
  font-weight: 600;
}

ul, ol{
  margin: 0 0 10px 20px;
}

li{
  margin: 0 0 6px 0;
}

.refs ol{
  margin-left: 18px;
}

.refs li{
  margin-bottom: 10px;
}

.section-label{
  font-weight: 700;
}

