/* The two schedules (AI Usage Schedule, Rights Schedule) as rendered by
   scripts/render-schedule.mjs. Screen: the site's ground, direction B tokens
   from site.css. Print and PDF: white paper, black ink, one accent, as
   before. Loaded after site.css. */

.sheet-wrap{max-width:var(--wrap);margin:0 auto;padding:calc(var(--nav-h) + 48px) var(--gutter) 96px;}
.sheet-wrap .crumbs{margin-bottom:28px;justify-content:flex-start;}
.sheet-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px;font-size:11px;letter-spacing:.28em;text-transform:uppercase;font-weight:400;}
.sheet-links span{color:var(--label);}

.sheet{
  --sheet-ink:var(--ink);--sheet-dim:var(--body);--sheet-faint:var(--label);
  --sheet-rule:var(--rule);--sheet-accent:var(--accent);--sheet-accent-soft:var(--accent-text);
  --sheet-pad:clamp(20px,3vw,40px);
  color:var(--sheet-ink);font-size:14.5px;line-height:1.55;
  border:1px solid var(--sheet-rule);padding:var(--sheet-pad);
  background:rgba(255,255,255,.22);
}
.sheet h1{font-family:var(--f-serif);font-weight:300;font-size:clamp(30px,3.6vw,44px);line-height:1.05;letter-spacing:-.01em;max-width:none;margin:6px 0 0;white-space:nowrap;}
.sheet h2{font-family:var(--f-serif);font-weight:300;font-size:clamp(19px,2vw,24px);line-height:1.15;letter-spacing:0;margin-bottom:12px;}
.sheet h3{font-family:var(--f-serif);font-weight:300;font-size:18px;line-height:1.2;margin:4px 0 10px;}
.sheet .mono{color:var(--sheet-faint);}
.sheet .dim{color:var(--sheet-dim);}
.sheet em{font-style:italic;color:var(--sheet-accent-soft);}

/* masthead */
.sheet-mast{display:grid;grid-template-columns:auto minmax(max-content,1fr) auto;gap:24px 40px;align-items:start;padding-bottom:20px;border-bottom:1px solid var(--sheet-accent);}
.sheet-brand{font-family:var(--f-titling);font-weight:400;font-size:12px;letter-spacing:.5em;text-transform:uppercase;color:var(--sheet-ink);padding-top:8px;}
.sheet-brand .dot{display:none;}
.sheet-meta{display:grid;grid-template-columns:auto auto;gap:4px 16px;font-size:13px;align-content:start;}
.sheet-meta div{display:contents;}
.sheet-meta dt{font-family:var(--f-sans);font-weight:400;font-size:9.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--sheet-faint);padding-top:3px;}
.sheet-meta dd{margin:0;}
.sheet-meta .status{text-transform:capitalize;}
.sheet-meta .status-issued{color:var(--sheet-accent-soft);}
.sheet-meta .status-draft,.sheet-meta .status-superseded{color:var(--sheet-accent-soft);} /* 13px: the darker accent clears 4.5:1 */

/* banners */
.sheet-banner{margin-top:18px;padding:12px 16px;border:1px solid var(--sheet-accent);font-size:13.5px;line-height:1.5;}
.sheet-banner strong{color:var(--sheet-accent-soft);font-weight:500;}
.sheet-banner-note{border-color:var(--sheet-rule);}
.sheet-banner-superseded{background:rgba(240,140,46,.12);}

/* blocks */
.sheet .sheet-block{padding:24px 0 0;margin-top:24px;border-top:1px solid var(--sheet-rule);}
.sheet-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 48px;}

/* label / value pairs */
.facts{display:flex;flex-direction:column;gap:6px;}
.facts div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:baseline;}
.facts dt{font-family:var(--f-sans);font-weight:400;font-size:9.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--sheet-faint);padding-top:3px;}
.facts dd{margin:0;}
.plain{list-style:none;margin:0;padding:0;}
.plain li+li{margin-top:2px;}

/* tables */
.sheet-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.45;}
.sheet-table th{font-family:var(--f-sans);font-size:9.5px;letter-spacing:.3em;text-transform:uppercase;color:var(--sheet-faint);font-weight:400;text-align:left;padding:0 12px 8px 0;border-bottom:1px solid var(--sheet-accent);vertical-align:bottom;}
.sheet-table td{padding:10px 12px 10px 0;border-bottom:1px solid var(--sheet-rule);vertical-align:top;}
.sheet-table th:last-child,.sheet-table td:last-child{padding-right:0;}
.mono-cell{font-family:var(--f-sans);font-weight:400;font-size:12.5px;letter-spacing:.04em;white-space:nowrap;}
.mono-cell .todo{white-space:normal;font-weight:300;letter-spacing:.02em;}
.shots th:nth-child(3),.shots td:nth-child(3){width:34%;}

/* what was not done */
.not-done{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;}
.not-done li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:baseline;}
.not-done .mark{font-family:var(--f-sans);color:var(--sheet-accent);}
.not-done .not-held .mark{color:var(--sheet-accent-soft);}
.not-done .not-held em{display:block;font-size:12.5px;color:var(--sheet-dim);font-style:normal;}
.sheet-note{margin-top:12px;font-size:13px;color:var(--sheet-dim);}

/* rights items */
.items{display:flex;flex-direction:column;gap:28px;}
.item{padding-bottom:4px;}
.item-head{margin-bottom:14px;}
.item .facts{margin-top:12px;}
.envelope td{width:16.66%;}

/* unfilled and template values */
.todo{color:var(--sheet-accent-soft);font-style:italic;}
.ph{color:var(--sheet-faint);}
.sheet-template .facts dd,.sheet-template td{color:var(--sheet-faint);}

/* sheet footer (screen; the PDF repeats it per page) */
.sheet-foot{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;margin-top:28px;padding-top:16px;border-top:1px solid var(--sheet-rule);font-size:11.5px;color:var(--sheet-faint);line-height:1.6;}

@media screen and (max-width:920px){
  .sheet-mast{grid-template-columns:1fr;gap:16px;}
  .sheet-two{grid-template-columns:1fr;}
  .facts div{grid-template-columns:1fr;gap:2px;}
  .sheet-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .sheet-table thead,.sheet-table tbody,.sheet-table tr{display:table;width:100%;min-width:640px;table-layout:fixed;}
}

/* ---- paper ------------------------------------------------------------- */
@page{size:A4;margin:14mm 14mm 18mm;}
@media print{
  html,body{background:#fff!important;color:#111;}
  body{font-size:8.6pt;line-height:1.38;-webkit-print-color-adjust:exact;print-color-adjust:exact;}
  nav,footer,.crumbs,.sheet-links,.site-only,.page-head::before{display:none!important;}
  main{position:static;}
  .sheet-wrap{max-width:none;padding:0;margin:0;}
  .sheet{
    --sheet-ink:#111;--sheet-dim:#444;--sheet-faint:#666;--sheet-rule:#cfcac2;--sheet-accent:#C25A12;--sheet-accent-soft:#C25A12;
    --sheet-pad:0;
    border:0;background:#fff;color:#111;font-size:8.6pt;line-height:1.38;
  }
  .sheet h1{font-size:21pt;}
  .sheet h2{font-size:12.5pt;margin-bottom:4pt;}
  .sheet h3{font-size:11.5pt;margin:2pt 0 5pt;}
  .sheet-brand{font-size:14pt;}
  .sheet-mast{gap:8pt 20pt;padding-bottom:9pt;}
  .sheet-meta{font-size:8.6pt;gap:1pt 8pt;max-width:220pt;}
  .sheet-meta dt,.facts dt,.sheet-table th{font-size:6.8pt;padding-top:2pt;}
  .sheet-banner{margin-top:8pt;padding:6pt 9pt;font-size:9pt;}
  .sheet-banner-superseded{background:#fbe9dc;}
  .sheet .sheet-block{padding:7pt 0 0;margin-top:7pt;}
  .sheet-people{break-inside:avoid;}
  .sheet-block h2{break-after:avoid;}
  .sheet-table tr{break-inside:avoid;}
  .sheet-two{gap:10pt 22pt;}
  .facts{gap:2pt;}
  .facts div{grid-template-columns:96pt minmax(0,1fr);gap:8pt;}
  .sheet-table{font-size:7.8pt;line-height:1.3;}
  .sheet-table th{padding:0 7pt 4pt 0;}
  .sheet-table td{padding:2.5pt 5pt 2.5pt 0;}
  .mono-cell{font-size:7.8pt;}
  .not-done{gap:3pt;}
  .not-done .not-held em{font-size:8.3pt;}
  .items{gap:7pt;}
  .item{break-inside:avoid;}
  .item-head{margin-bottom:6pt;}
  .item .facts{margin-top:5pt;}
  .sheet-note{margin-top:5pt;font-size:8.6pt;}
  .sheet-foot{display:none;}
  .todo{color:#C25A12;}
  .ph,.sheet-template .facts dd,.sheet-template td{color:#8a8a8a;}
}

/* /evie/: the two sheets inline */
.evie-sheets{display:flex;flex-direction:column;gap:12px;}
.evie-sheets .sheet{margin-top:16px;}
.evie-sheets .sheet-links{margin:0 0 24px;justify-content:center;}
