/* The bottom notes disclosure and the shared, flat report popup. */
.log-paper-plane .log-reading-links {
  flex:0 0 auto;min-height:0;padding:3px 8px 0;
  color:#293c36;
}
.log-paper-plane .log-native-fallback {
  margin:0;padding:0;border:0;
  font:400 18px/1.3 "T700 Log Hand",cursive;
}
.log-paper-plane .log-native-fallback>summary {
  min-height:35px;padding:5px 9px;cursor:pointer;list-style:none;
  display:flex;align-items:center;gap:10px;
  font:700 23px/1.1 "Amatic",cursive;
}
.log-paper-plane .log-native-fallback>summary::-webkit-details-marker {display:none;}
.log-paper-plane .log-native-fallback:not([open])>summary {padding-left:var(--t700-safe-left,145px);}
.log-paper-plane .log-native-fallback>summary {padding-right:var(--t700-safe-right,190px);}
.log-paper-plane .log-native-fallback>summary::before {
  content:"";flex:none;width:0;height:0;border-top:5px solid transparent;
  border-bottom:5px solid transparent;border-left:8px solid #29453c;
}
.log-paper-plane .log-native-fallback[open]>summary::before {transform:rotate(90deg);}
.log-summary-label {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;}
.log-summary-collapse {display:none;margin-left:auto;text-decoration:none;}
.log-native-fallback[open]>.log-summary-collapse,
.log-native-fallback[open]>summary .log-summary-collapse {display:inline;}
.log-paper-plane .log-native-fallback[open]>summary {
  border-top:1px solid #7e8d745c;border-bottom:1px solid #7e8d745c;
  margin-top:5px;
}
.log-paper-plane .log-notes-list {
  height:var(--log-notes-height,220px);max-height:var(--log-notes-height,220px);
  min-height:0;overflow:auto;overscroll-behavior:contain;
  scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8e998e #e6e1d3;
  margin:0 var(--t700-safe-right,190px) 0 var(--t700-safe-left,145px);padding:0 12px 5px 7px;
}
.log-paper-plane .log-native-fallback>ul {
  max-height:calc(var(--log-notes-height,220px) / 2);overflow:auto;overscroll-behavior:contain;
  margin:0;padding:6px 14px 6px 28px;scrollbar-width:thin;
  font:400 16px/1.4 "T700 Body",Arial,sans-serif;
}
.log-notes-week {display:grid;grid-template-columns:118px minmax(0,1fr);gap:0 17px;margin:0;}
.log-notes-week-title {
  margin:0;padding:11px 9px 7px 0;border-bottom:1px solid #7e8d744d;
  font:700 24px/1.25 "T700 Log Hand",cursive;color:#263b33;
}
.log-note-rows {min-width:0;}
.log-note-row {
  display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,1.4fr) 85px auto 25px;
  gap:13px;align-items:center;min-height:44px;padding:7px 4px;
  color:#293c36;border-bottom:1px solid #7e8d744d;text-decoration:none;
  font:400 18px/1.3 "T700 Log Hand",cursive;
}
.log-note-row[href]:hover {background:#d5bb6720;}
.log-note-row:focus-visible {outline:2px dashed #596e4b;outline-offset:-2px;}
.log-note-row-title {grid-column:1;font:700 19px/1.25 "T700 Log Hand",cursive;color:var(--row-color,#225459);}
.log-note-preview {grid-column:2;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font:400 15px/1.35 "T700 Body",Arial,sans-serif;}
.log-note-track {grid-column:3;font-size:15px;}
.log-note-milestone {grid-column:4;max-width:150px;padding:2px 7px 1px;border-radius:3px 5px 2px 4px;background:var(--milestone-color,#d4dfd0);font-size:14px;line-height:1.25;}
.log-note-arrow {grid-column:5;justify-self:end;font:400 24px/1 "T700 Log Hand",cursive;}
.log-note-row.is-future {opacity:.6;}
.log-note-row.is-future:hover,.log-note-row.is-future:focus-visible {opacity:1;}
.is-log-enhanced .log-fallback-articles {display:none;}
.log-fallback-articles {margin-top:12px;}
.log-fallback-articles>details {border-top:1px solid #7e8d744d;padding:8px 0;}
.log-fallback-articles>details>summary {cursor:pointer;font:400 19px/1.35 "T700 Log Hand",cursive;}
.log-fallback-articles .log-note-body {font-family:"T700 Body",Arial,sans-serif;}

/* This dialog is portaled to body, so it deliberately uses the shared site
   scale rather than the desk's zoom or any board perspective. */
.log-dialog {
  position:fixed;inset:0;margin:auto;box-sizing:border-box;
  width:min(58rem,calc(100vw - 3rem));max-width:calc(100vw - 3rem);
  max-height:min(47rem,calc(100dvh - 5rem));padding:1.65rem 1.85rem 1.5rem;
  overflow:hidden;color:#293c36;background:#fff7df;
  background-image:radial-gradient(ellipse at 20% 10%,#fffdf244,transparent 75%);
  border:.13rem solid #756447;border-radius:.35rem .55rem .4rem .3rem;
  box-shadow:.35rem .45rem 0 #51452b24,0 .6rem 2.4rem #25362d30;
  font:400 1rem/1.65 "T700 Body",Arial,sans-serif;
  transform:none;zoom:1;
}
.log-dialog[open] {display:flex;flex-direction:column;animation:log-paper-in .14s ease-out;}
.log-dialog::before {
  content:"";position:absolute;inset:.35rem;border:1px solid #9b845b99;
  border-radius:.35rem .3rem .4rem .25rem;pointer-events:none;z-index:2;
}
.log-dialog::backdrop {background:#1c3c334a;}
.log-dialog-top {
  display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;
  flex:none;margin:0 0 .65rem;padding:0 0 .75rem;
  border-bottom:1px solid #a9946c99;
}
.log-dialog-heading {min-width:0;flex:1;max-height:27dvh;padding-bottom:.2rem;overflow:auto;scrollbar-width:thin;}
.log-dialog .log-dialog-top h2 {
  margin:0 0 .35rem;max-height:none;overflow:visible;overflow-wrap:anywhere;
  color:var(--note-color,#225459);font:700 2.3rem/1.15 "T700 Log Hand",cursive;
  text-transform:none;
}
.log-dialog .log-note-meta {
  margin:0;font:400 1rem/1.35 "T700 Log Hand",cursive;
  color:#3c4c3d;text-transform:none;overflow-wrap:anywhere;
}
.log-dialog .log-dialog-close {
  flex:0 0 2.75rem;width:2.75rem;height:2.75rem;min-width:44px;min-height:44px;
  display:grid;place-items:center;padding:0;
  background:#fffaf04d;border:1px solid #7c7b62;border-radius:.35rem .3rem .4rem .25rem;
  color:#263c34;cursor:pointer;font:400 2rem/1 "T700 Body",Arial,sans-serif;
}
.log-dialog-close:hover {background:#ead7935c;}
.log-dialog-close:focus-visible {outline:2px dashed #52694a;outline-offset:3px;}
.log-dialog .log-dialog-scroll {
  flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;
  scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#8e998e #e9e0c8;
  padding:.35rem .65rem .2rem 0;
}
.log-dialog .log-note-body {font:400 1rem/1.65 "T700 Body",Arial,sans-serif;overflow-wrap:anywhere;}
.log-dialog .log-note-body>:first-child {margin-top:0;}
.log-dialog .log-note-body>:last-child {margin-bottom:0;}
.log-dialog .log-note-body h2,.log-dialog .log-note-body h3,.log-dialog .log-note-body h4 {
  margin:1.1em 0 .45em;color:#293c36;text-transform:none;
  font:700 1.5rem/1.3 "T700 Log Hand",cursive;
}
.log-dialog .log-note-body h4 {font-size:1.2rem;}
.log-dialog .log-note-body p {margin:0 0 1em;}
.log-dialog .log-note-body ul,.log-dialog .log-note-body ol {padding-left:1.5em;margin:.65em 0 1em;}
.log-dialog .log-note-body a {color:#225459;text-decoration:underline;text-underline-offset:3px;}
.log-dialog .log-note-body img,.log-dialog .log-note-body video {display:block;max-width:100%;height:auto;margin:.75rem auto;}
.log-dialog .log-note-body figure {max-width:100%;margin:1rem 0;}
.log-dialog .log-note-body figcaption {margin-top:.4rem;color:#52624e;font:400 .95rem/1.3 "T700 Log Hand",cursive;text-align:center;}
.log-dialog .log-note-body audio {width:100%;max-width:100%;}
.log-dialog .log-note-body iframe {display:block;width:100%;max-width:100%;aspect-ratio:16/9;border:0;}
.log-dialog .log-note-body pre {overflow:auto;white-space:pre;}
.log-dialog .log-note-body blockquote {margin:1rem 0;padding:.4rem 1rem;border-left:3px solid #ab9b72;background:#e7dca42b;}
.log-dialog .log-note-body table {max-width:100%;font-size:.95rem;}
.log-dialog .log-note-choice {min-height:44px;padding:.7rem .5rem;color:#293c36;font:400 1.2rem/1.3 "T700 Log Hand",cursive;}

html[data-t700-profile="tablet"] .log-note-row,
html[data-t700-profile="portrait"] .log-note-row,
html[data-t700-profile="zoomed"] .log-note-row {grid-template-columns:minmax(150px,1fr) minmax(0,1.2fr) 75px 24px;gap:10px;}
html[data-t700-profile="tablet"] .log-note-milestone,
html[data-t700-profile="portrait"] .log-note-milestone,
html[data-t700-profile="zoomed"] .log-note-milestone {display:none;}
html[data-t700-profile="tablet"] .log-note-arrow,
html[data-t700-profile="portrait"] .log-note-arrow,
html[data-t700-profile="zoomed"] .log-note-arrow {grid-column:4;}
html[data-t700-profile="tablet"] .log-paper-plane .log-notes-list,
html[data-t700-profile="portrait"] .log-paper-plane .log-notes-list,
html[data-t700-profile="zoomed"] .log-paper-plane .log-notes-list {margin-left:var(--t700-safe-left,85px);margin-right:var(--t700-safe-right,115px);}
html[data-t700-profile^="phone"] .log-notes-week {grid-template-columns:76px minmax(0,1fr);gap:0 9px;}
html[data-t700-profile^="phone"] .log-notes-week-title {font-size:18px;padding-top:10px;}
html[data-t700-profile^="phone"] .log-note-row {grid-template-columns:minmax(0,1fr) 24px;gap:3px 9px;min-height:48px;padding:6px 2px;}
html[data-t700-profile^="phone"] .log-note-row-title {font-size:17px;}
html[data-t700-profile^="phone"] .log-note-track {grid-column:1;grid-row:2;font-size:13px;}
html[data-t700-profile^="phone"] .log-note-preview,
html[data-t700-profile^="phone"] .log-note-milestone {display:none;}
html[data-t700-profile^="phone"] .log-note-arrow {grid-column:2;grid-row:1 / span 2;}
html[data-t700-profile^="phone"] .log-paper-plane .log-reading-links {padding-left:0;padding-right:0;}
html[data-t700-profile^="phone"] .log-paper-plane .log-notes-list {margin-left:var(--t700-safe-left,40px);margin-right:var(--t700-safe-right,52px);padding-left:0;padding-right:4px;}
html[data-t700-profile^="phone"] .log-paper-plane .log-native-fallback:not([open])>summary {padding-left:var(--t700-safe-left,30px);}
html[data-t700-profile="tablet"] .log-paper-plane .log-native-fallback:not([open])>summary,
html[data-t700-profile="portrait"] .log-paper-plane .log-native-fallback:not([open])>summary,
html[data-t700-profile="zoomed"] .log-paper-plane .log-native-fallback:not([open])>summary {padding-left:var(--t700-safe-left,72px);}
html[data-t700-profile="phone-landscape"] .log-paper-plane .log-native-fallback>summary {min-height:28px;padding-top:2px;padding-bottom:2px;font-size:21px;}
@media(max-width:699px){
  .log-dialog {width:calc(100vw - 1.25rem);max-width:calc(100vw - 1.25rem);max-height:calc(100dvh - 2rem);padding:1.1rem 1.1rem 1rem;}
  .log-dialog .log-dialog-top h2 {font-size:1.7rem;}
  .log-dialog .log-note-meta {font-size:.95rem;}
  .log-dialog .log-note-body {font-size:1rem;line-height:1.55;}
  .log-dialog .log-dialog-top {gap:.6rem;padding-bottom:.6rem;}
}
@media(max-height:500px){
  .log-dialog {max-height:calc(100dvh - 1.25rem);padding:.8rem 1.1rem;}
  .log-dialog .log-dialog-top h2 {font-size:1.6rem;}
  .log-dialog-heading {max-height:28dvh;}
  .log-dialog .log-dialog-top {margin-bottom:.25rem;padding-bottom:.4rem;}
  .log-dialog .log-note-meta {font-size:.9rem;}
}
@keyframes log-paper-in {from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.log-dialog[open]{animation:none;}}
