/* The register of the Recent Docket Entries list page: one dated table, set in the design's own
   colours, type and thin rules. No cards, no shadows. Linked only by recent-docket-entries.html. */

/* PREVIEW ONLY: the strip above the header. It comes off with the sample entries before anything goes live. */
.reg-preview{margin:0;background:var(--text);color:var(--lime);font-family:var(--mono);font-size:12px;line-height:1.5;padding:8px var(--gutter);text-align:center}

/* The control line: two quiet native selects and the count. */
.reg-bar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px 28px;padding-bottom:20px}
.reg-pick{display:flex;flex-direction:column;gap:4px}
.reg-cap,.reg-count,.reg thead th,.reg-month th{font-family:var(--mono);font-weight:400;font-size:11px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.reg-pick select{font-family:var(--sans);font-size:14px;line-height:1.3;color:var(--text);background-color:transparent;border:0;border-bottom:1px solid var(--rde-line-in);border-radius:0;padding:6px 4px 6px 0;min-width:220px;max-width:100%;cursor:pointer}
.reg-pick select:hover{border-bottom-color:var(--text)}
.reg-count{margin:0 0 8px auto !important}

/* The table. The header row stays under the site's own header while the rows pass. */
.reg{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:14px;line-height:1.45;color:var(--text)}
.reg th{text-align:left}
.reg thead th{position:sticky;top:77px;z-index:2;background:var(--page);vertical-align:bottom;padding:10px 20px 10px 0;border-top:1px solid var(--text);border-bottom:1px solid var(--rde-line)}
.reg thead th:nth-child(1){width:92px}
.reg thead th:nth-child(2){width:23.5%}
.reg thead th:nth-child(3){width:30%}
.reg thead th:last-child,.reg td:last-child{padding-right:0}
.reg-dot,.reg-title::before{display:inline-block;width:8px;height:8px;border-radius:2px;background:var(--lime);box-shadow:inset 0 0 0 1px var(--rde-green-line)}
.reg-dot{margin-right:8px}
.reg-month th{padding:28px 0 8px;color:var(--text);border-bottom:1px solid var(--rde-line)}
.reg tbody:first-of-type .reg-month th{padding-top:18px}
.reg td{vertical-align:top;padding:12px 20px 12px 0;border-bottom:1px solid var(--rde-line-row)}
.reg-date{font-family:var(--mono);font-size:12px;line-height:23px;color:var(--text-3);white-space:nowrap}
.reg-name{display:block;font-family:var(--serif);font-weight:400;font-size:18px;line-height:1.3;color:var(--text)}
.rde a.reg-name{--c:var(--text);display:inline;text-decoration:none;background:linear-gradient(transparent calc(100% - 2px),var(--lime) calc(100% - 2px))}
.rde a.reg-name:hover{color:var(--rde-link)}
.reg-meta{display:block;margin-top:4px;font-family:var(--mono);font-size:12px;line-height:1.5;color:var(--text-3)}
.reg-title{display:block;position:relative;padding-left:16px;line-height:23px}
.reg-title::before{content:"";position:absolute;left:0;top:8px}
.reg-ours .reg-meta{padding-left:16px}
/* The summary of the case: quiet body text, second to the case name. Printed as the data holds it. */
.reg-sum{font-family:var(--sans);font-size:14px;line-height:1.45;color:var(--text-2)}
.reg-more{margin:28px 0 0 !important;font-size:14px}
.rde .reg-more a{--c:var(--text);font-weight:600;text-decoration:none;border-bottom:2px solid var(--lime);padding-bottom:2px}

/* Phone widths, the site's own breakpoint: each row stands as a block and each cell carries its column's name, the way
   the entry page's map tables do. */
@media (max-width:640px){
  .reg,.reg tbody,.reg tr,.reg td,.reg-month th{display:block;width:auto}
  .reg thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .reg tr.reg-row{padding:14px 0;border-bottom:1px solid var(--rde-line-row)}
  .reg td{padding:5px 0;border:0}
  .reg td::before{content:attr(data-l);display:block;margin-bottom:2px;font-family:var(--mono);font-weight:400;font-size:11px;line-height:1.5;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
  .reg td.reg-date::before{content:none}
  .reg td:empty{display:none}
  .reg-date{line-height:1.5}
  .reg-pick,.reg-pick select{width:100%;min-width:0}
  .reg-count{margin-left:0 !important}
}
