[hidden] { display: none !important; }
body { font-family: var(--sales-font); }
.skip { position: absolute; left: 1rem; top: -5rem; padding: .75rem; background: white; }
.skip:focus { top: .5rem; }
.mast { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem max(1.2rem, calc((100% - 60rem)/2)); border-bottom: 1px solid var(--line); }
.mast a, footer a, .secondary { display: inline-flex; min-height: 44px; align-items: center; font-size: .94rem; font-weight: 600; }
.mast a:last-child, footer a, .secondary { color: var(--pine); text-decoration: underline; text-underline-offset: .22em; }
main { width: min(calc(100% - 2.4rem), 60rem); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem) 0; }
.intro { max-width: 42rem; margin-bottom: 1.25rem; }
.eyebrow { color: var(--pine); font-size: var(--type-meta); font-weight: 700; }
h1 { font-size: var(--type-display); margin: .25rem 0 .5rem; line-height: 1.15; }
h2 { font-size: var(--type-editorial-heading); line-height: 1.18; }
.intro > p:last-child, #step-copy { line-height: 1.5; color: var(--slate); }
.diary { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: white; }
.photo { height: clamp(6rem, 17vw, 10rem); background: var(--mint) url('/static/sales/assets/biscuit-after-the-walk.webp') center 43% / cover; }
.diary.otis .photo { background-image: url('/static/assets/demo-otis.webp'); background-position: center; }
.sheet { padding: clamp(1.1rem, 3vw, 2rem); }
.sheet h2 { margin: .4rem 0 .65rem; }
.sheet h2:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.action { background: var(--jade); border: 0; border-radius: 2rem; color: var(--ink); display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin-top: 1.15rem; padding: .65rem 1rem; font-weight: 700; }
.secondary { background: none; border: 0; padding: .5rem 0; margin: .3rem 1rem 0 0; }
#detail { padding: .8rem 1rem; margin-top: 1rem; border-left: 3px solid var(--pine); background: var(--mint); }
#detail p + p { margin-top: .35rem; }
aside { margin-top: 1.5rem; }
ol { padding: 0; margin: .75rem 0; list-style: none; }
li { display: flex; gap: 1rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid var(--line); }
li small { display: block; color: var(--slate); margin-top: .15rem; }
time { font-variant-numeric: tabular-nums; font-weight: 600; }
.gap { color: var(--pine); font-size: var(--type-meta); }
footer { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.35rem; border-top: 1px solid var(--line); }
@media (min-width: 800px) {
  main { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0 2.5rem; }
  .intro, footer { grid-column: 1 / -1; }
  aside { margin: 0; }
}
#invoice { margin-top: .5rem; }
#invoice summary { width: fit-content; min-height: 44px; padding: .7rem .2rem; color: var(--pine); font-weight: 600; cursor: pointer; }
#invoice table { border-collapse: collapse; width: 100%; text-align: left; font-size: .94rem; }
#invoice caption { text-align: left; padding: .5rem 0; font-weight: 700; }
#invoice td, #invoice th { padding: .5rem .25rem; border-bottom: 1px solid var(--line); }
#invoice tbody th { font-weight: 400; }
#invoice tr > :last-child { text-align: right; }
#invoice tfoot { font-weight: 700; }
.client-view .photo { display: none; }
#shared-update { margin-top: 1rem; }
#shared-update img { width: 100%; height: 9rem; object-fit: cover; object-position: center 43%; border-radius: .5rem; }
#shared-update figcaption { color: var(--slate); font-size: var(--type-meta); margin-top: .35rem; }
.mast-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 1.1rem; }
.mast .mast-links a { color: var(--pine); text-decoration: underline; text-underline-offset: .22em; }
