/* template.css: the case log template page (/tools/case-log-template/). Loaded after reference.css on that page only. */

/* the three downloads: the shelf's own cards, three across */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; margin-top: 30px; }
.ref-main a.guide { color: var(--ink); text-decoration: none; padding: 28px 18px 18px; }
.dl-grid .guide b { font-size: 21px; }
.dl-grid .guide .d { font-size: 14.5px; line-height: 1.5; }
.dl-grid .guide .gmeta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; }
.ref-main .dl-note { font-size: 14px; color: var(--dim); margin-top: 16px; }

/* a picture of the Summary tab, drawn in HTML so it reads on any screen and in the dark */
.tplshot { margin-top: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px 20px; max-width: 46em; box-shadow: 0 10px 24px rgba(30,27,22,0.08); }
.tplshot .t { font-family: var(--serif); font-size: 24px; line-height: 1.1; letter-spacing: -0.012em; }
.tplshot .who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 3px 14px; margin-top: 12px; font-size: 13.5px; }
.tplshot .who span { color: var(--dim); }
.tplshot .who b { font-weight: 500; }
.tplshot .who b.in { justify-self: start; background: var(--accent-soft); border-bottom: 1px solid var(--accent); padding: 0 8px; border-radius: 3px 3px 0 0; }
.tplshot .total { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.tplshot .cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.tplshot h3 { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); margin: 16px 0 4px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.tplshot .r { display: flex; align-items: baseline; gap: 6px; font-size: 13.5px; line-height: 1.75; }
.tplshot .r i { flex: 1; border-bottom: 1px dotted var(--faint); transform: translateY(-3px); min-width: 12px; }
.tplshot .r b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.tplshot .r small { flex-basis: 100%; }
.tplshot .r.two { flex-wrap: wrap; }
.tplshot .r.two small { font-size: 12px; color: var(--dim); line-height: 1.3; margin: -3px 0 4px; }
.tplshot .r.own span { background: var(--accent-soft); border-bottom: 1px solid var(--accent); padding: 0 8px; border-radius: 3px 3px 0 0; line-height: 1.5; }
.tplshot .att { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-wet); }
.tplshot .sig { display: grid; grid-template-columns: 2fr 1fr; gap: 0 18px; margin-top: 22px; font-size: 11.5px; color: var(--dim); }
.tplshot .sig span { border-top: 1px solid var(--ink); padding-top: 3px; }

/* what each column is for */
.cols-table td.mname { white-space: nowrap; }

@media (max-width: 760px) {
  .dl-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}
@media (max-width: 560px) {
  .tplshot { padding: 18px 16px 16px; }
  .tplshot .cols { grid-template-columns: minmax(0, 1fr); }
  .cols-table td.mname { white-space: normal; }
}
