/* The full-screen view: one dialog shell for the whole site (25 Nov 2026). The order page's letter and envelope (order.css adds its two
   switches, the child tabs and the panes) and the homepage's sample letter (home.css adds the sheet and its button) are both this: the
   night over the whole window, a slim bar with the title and Close, and a pane under it that holds what is shown. Moved here word for word
   from order.css, so the two can never drift. Colours and type are the tokens in style.css. */
.full{position:fixed;inset:0;z-index:100;display:flex;flex-direction:column;background-color:var(--night);background-image:var(--stars);background-size:520px 520px;color:var(--snow)}
.full[hidden]{display:none}
.full__bar{flex:none;display:flex;align-items:center;gap:8px 20px;padding:8px var(--gutter);background:var(--night-deep);border-bottom:1px solid var(--line-soft)}
.full__title{flex:1 1 auto;min-width:0;margin:0;font:italic 400 clamp(20px,1.7vw,26px)/1.2 var(--serif);color:var(--snow)}
.full__close{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:6px 18px;border-radius:999px;border:2px solid var(--gold);background:transparent;color:var(--snow);font:650 17px/1.2 var(--sans);cursor:pointer}
.full__close:hover{background:rgba(226,184,92,.14)}
.full__x{width:18px;height:18px;flex:none}
.full__scroll{flex:1 1 0;min-height:0;overflow:auto;display:flex;padding:10px var(--gutter) 12px;-webkit-overflow-scrolling:touch}
/* a heading that is only moved to by the program (when it opens): no box round it. Real controls keep their focus ring. */
.full :is(h1,h2,h3,h4)[tabindex="-1"]:focus,.full :is(h1,h2,h3,h4)[tabindex="-1"]:focus-visible{outline:none}
.full :focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.full__scroll:focus-visible{outline-offset:-4px}
body.full-open{overflow:hidden}
@media (max-width:759px){
  .full__bar{flex-wrap:wrap}
  .full__title{flex:1 1 55%;font-size:20px}
  .full__scroll{padding:8px 8px 10px}
}
@media (forced-colors:active){.full__close{border:2px solid ButtonText}}
@media print{.full{display:none}}
