/* ==========================================================================
   Family Documents — stylesheet
   Built for readability first. Everything is sized in rem so that the four
   text-size settings (and browser zoom) scale the entire page, not just
   the words.
   ========================================================================== */

/* --- Text size settings ---------------------------------------------------
   Percentages, not pixels, so someone who has already made text bigger in
   their browser or phone settings keeps that increase on top of ours.      */

html               { font-size: 137.5%; }   /* Normal      ~22px */
html.size-1        { font-size: 137.5%; }   /* Normal      ~22px */
html.size-2        { font-size: 175%;   }   /* Large       ~28px */
html.size-3        { font-size: 212.5%; }   /* Extra large ~34px */
html.size-4        { font-size: 262.5%; }   /* Huge        ~42px */

/* --- Colour themes -------------------------------------------------------- */

:root,
html.theme-standard {
  --bg:            #ffffff;
  --surface:       #f1f4f9;
  --surface-2:     #e5eaf2;
  --text:          #14171c;   /* 17.4:1 on white — well past AAA */
  --muted:         #3f4753;   /* 9.7:1  on white */
  --line:          #b9c1cd;
  --border:        #4a5361;
  --accent:        #14396b;   /* white text on this = 10.7:1 */
  --accent-text:   #ffffff;
  --accent-hover:  #0a2247;
  --accent-soft:   #e7eefa;
  --danger:        #8a1020;   /* white text on this = 9.4:1 */
  --danger-text:   #ffffff;
  --focus:         #a32d00;
  --ok-bg:         #e6f4ea;
  --ok-border:     #17662f;
  --ok-text:       #0d3b1c;
  --warn-bg:       #fdf3e2;
  --warn-border:   #7a4a00;
  --warn-text:     #4a2c00;
  --err-bg:        #fdecee;
  --err-border:    #9d0f1e;
  --err-text:      #6b0a14;
  --shadow:        0 1px 3px rgba(0,0,0,.18);
}

html.theme-contrast {
  --bg:            #000000;
  --surface:       #000000;
  --surface-2:     #000000;
  --text:          #ffffff;   /* 21:1 */
  --muted:         #ffffff;
  --line:          #ffffff;
  --border:        #ffffff;
  --accent:        #ffff00;   /* black text on yellow = 19.6:1 */
  --accent-text:   #000000;
  --accent-hover:  #ffffff;
  --accent-soft:   #000000;
  --danger:        #ff8a80;
  --danger-text:   #000000;
  --focus:         #00ffff;
  --ok-bg:         #000000;
  --ok-border:     #00ff90;
  --ok-text:       #ffffff;
  --warn-bg:       #000000;
  --warn-border:   #ffd000;
  --warn-text:     #ffffff;
  --err-bg:        #000000;
  --err-border:    #ff8a80;
  --err-text:      #ffffff;
  --shadow:        none;
}

html.theme-dark {
  --bg:            #10131a;
  --surface:       #1a1f29;
  --surface-2:     #232a36;
  --text:          #f0f3f8;   /* 15.6:1 */
  --muted:         #bcc5d3;   /* 9.6:1  */
  --line:          #3b4353;
  --border:        #7e8899;
  --accent:        #9cc2fb;   /* dark text on this = 11.2:1 */
  --accent-text:   #08111f;
  --accent-hover:  #c3daff;
  --accent-soft:   #1d2838;
  --danger:        #ff9d9d;
  --danger-text:   #1a0405;
  --focus:         #ffb454;
  --ok-bg:         #12251a;
  --ok-border:     #58d68a;
  --ok-text:       #d6f5e2;
  --warn-bg:       #2a2114;
  --warn-border:   #e8b357;
  --warn-text:     #f8e9cf;
  --err-bg:        #2b1417;
  --err-border:    #ff9d9d;
  --err-text:      #ffe0e0;
  --shadow:        0 1px 3px rgba(0,0,0,.5);
}

/* Follow the device's own dark-mode setting unless a theme was chosen. */
@media (prefers-color-scheme: dark) {
  html:not(.theme-standard):not(.theme-contrast):not(.theme-dark) {
    --bg: #10131a; --surface: #1a1f29; --surface-2: #232a36;
    --text: #f0f3f8; --muted: #bcc5d3; --line: #3b4353; --border: #7e8899;
    --accent: #9cc2fb; --accent-text: #08111f; --accent-hover: #c3daff;
    --accent-soft: #1d2838; --danger: #ff9d9d; --danger-text: #1a0405;
    --focus: #ffb454;
    --ok-bg: #12251a; --ok-border: #58d68a; --ok-text: #d6f5e2;
    --warn-bg: #2a2114; --warn-border: #e8b357; --warn-text: #f8e9cf;
    --err-bg: #2b1417; --err-border: #ff9d9d; --err-text: #ffe0e0;
  }
}

/* --- Base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-underline-offset: 0.18em;
}

img, video { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: 1.65rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 0.9em; max-width: 42em; }

/* Deliberately the lowest-specificity rule in the file. --accent already
   changes per theme, so a theme-specific override would be redundant — and it
   would out-rank .btn-primary, .chip and .topbar a, painting their text the
   same colour as their own background. */
a { color: var(--accent); }
a:hover { text-decoration-thickness: 3px; }

hr { border: 0; border-top: 2px solid var(--line); margin: 1.5rem 0; }

/* --- Focus ----------------------------------------------------------------
   A thick two-tone ring so it stays visible on light backgrounds, dark
   backgrounds, and on top of coloured buttons.                              */

:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 0.3rem;
  box-shadow: 0 0 0 3px var(--bg);
}
/* Older browsers that do not support :focus-visible still get a ring. */
@supports not selector(:focus-visible) {
  :focus { outline: 3px solid var(--focus); outline-offset: 3px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.8rem 1.2rem;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  position: fixed;
}

/* --- Layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 62rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 4rem;
}

.topbar {
  background: var(--accent);
  color: var(--accent-text);
  border-bottom: 4px solid var(--border);
}
.topbar-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}
/* Plain links in the top bar sit on the accent background, but a .chip
   carries its own background and must keep its own text colour or it goes
   white-on-white. */
.topbar a:not(.chip) { color: var(--accent-text); }
.topbar .chip { color: var(--text); background: var(--bg); border-color: var(--bg); }
.topbar .chip:hover { background: var(--surface-2); border-color: var(--surface-2); }
.site-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}
.site-title a { text-decoration: none; }
.site-title a:hover { text-decoration: underline; }

/* --- The accessibility bar ------------------------------------------------ */

.a11y-bar {
  background: var(--surface);
  border-bottom: 3px solid var(--line);
}
.a11y-inner {
  max-width: 62rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.a11y-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border: 0;
  padding: 0;
  margin: 0;
}
.a11y-group > legend,
.a11y-label {
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0;
  margin-right: 0.25rem;
  color: var(--text);
}
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  min-width: 2.6rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 0.4rem;
}
.chip:hover { background: var(--surface-2); }
/* Long category names must be able to break, or at Huge text they would push
   the page sideways on a narrow screen. */
.chip { max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.chip[aria-current="true"],
.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.chip[aria-current="true"]::before { content: "\2713\00a0"; }

/* --- Navigation ----------------------------------------------------------- */

.mainnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.mainnav a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.2rem;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  border: 3px solid var(--border);
  border-radius: 0.5rem;
}
.mainnav a:hover { background: var(--surface-2); text-decoration: underline; }
/* Flex items refuse to shrink below their min-content width by default, which
   at Huge text would push the page sideways. These two lines let them wrap. */
.mainnav a { min-width: 0; overflow-wrap: anywhere; text-align: center; }
.mainnav a[aria-current="page"] {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.2rem;          /* comfortably past the 48px target guidance */
  padding: 0.75rem 1.4rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
}
.btn:hover { background: var(--surface-2); }
.btn { min-width: 0; overflow-wrap: anywhere; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-text); }
html.theme-contrast .btn-primary:hover { color: #000; }

.btn-danger {
  background: var(--danger);
  color: var(--danger-text);
  border-color: var(--danger);
}
.btn-danger:hover { filter: brightness(0.85); }

.btn-huge {
  width: 100%;
  min-height: 5.5rem;
  font-size: 1.25rem;
  padding: 1.4rem 1.5rem;
}

.btn-block { width: 100%; }

label.btn { cursor: pointer; }

/* The "Choose files" button is a <label> pointing at a visually hidden file
   input. Keyboard focus lands on the input, so the ring has to be painted
   onto the label instead or it would be invisible. */
.field:has(> input.visually-hidden:focus-visible) > label.btn,
.field:has(> input.visually-hidden:focus) > label.btn {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--bg);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

button.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

/* --- Notices -------------------------------------------------------------- */

.notice {
  border: 4px solid var(--line);
  border-left-width: 10px;
  border-radius: 0.5rem;
  padding: 1rem 1.15rem;
  margin: 0 0 1.5rem;
  background: var(--surface);
}
.notice > :last-child { margin-bottom: 0; }
.notice h1, .notice h2 { margin-top: 0; }
.notice-ok    { background: var(--ok-bg);   border-color: var(--ok-border);   color: var(--ok-text); }
.notice-warn  { background: var(--warn-bg); border-color: var(--warn-border); color: var(--warn-text); }
.notice-error { background: var(--err-bg);  border-color: var(--err-border);  color: var(--err-text); }
/* Plain links inside a notice take the notice's colour, but buttons must keep
   their own so the text stays readable against the button's background. */
.notice-ok a:not(.btn), .notice-warn a:not(.btn), .notice-error a:not(.btn) { color: inherit; }
.notice .btn-primary { color: var(--accent-text); }
.notice .btn { color: var(--text); }
.notice .btn-primary { color: var(--accent-text); }
.notice .btn-danger { color: var(--danger-text); }

.notice-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  /* "anywhere" rather than "break-word": only anywhere shrinks a flex item's
     minimum size, which is what stops long words widening the page. */
  min-width: 0;
  overflow-wrap: anywhere;
}
.notice ul { margin: 0.4rem 0 0; padding-left: 1.4em; }
.notice li { margin-bottom: 0.35em; }

/* --- Forms ---------------------------------------------------------------- */

.field { margin: 0 0 1.5rem; }
.field label,
.field .label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.hint {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  max-width: 40em;
}
input[type="text"],
input[type="search"],
input[type="password"],
input[type="file"],
textarea,
select {
  font: inherit;
  width: 100%;
  max-width: 34rem;
  padding: 0.75rem 0.85rem;
  color: var(--text);
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 0.5rem;
}
input[type="file"] { padding: 0.6rem; }
textarea { min-height: 6rem; resize: vertical; }

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--err-border);
  border-width: 4px;
}

.field-error {
  display: block;
  font-weight: 700;
  color: var(--err-text);
  margin-top: 0.4rem;
}
html.theme-dark .field-error, html.theme-contrast .field-error { color: var(--err-border); }

/* Big radio "cards" for choosing a category. */
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr));
  gap: 0.75rem;
  border: 0;
  padding: 0;
  margin: 0;
}
.choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  background: var(--bg);
  border: 3px solid var(--border);
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
}
.choice:hover { background: var(--surface-2); }
.choice { min-width: 0; overflow-wrap: anywhere; }
.choice input {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0;
  flex: none;
  accent-color: var(--accent);
}
.choice:has(input:checked) {
  background: var(--accent-soft);
  border-color: var(--accent);
  border-width: 5px;
  padding: calc(1rem - 2px) calc(1.1rem - 2px);
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* --- Search and filter row ------------------------------------------------ */

.toolbar {
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem;
  margin: 0 0 1.5rem;
}
.toolbar .field { margin-bottom: 1rem; }
.toolbar .field:last-child { margin-bottom: 0; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --- File list ------------------------------------------------------------ */

.filelist { list-style: none; margin: 0; padding: 0; }

.fileitem {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  margin: 0 0 1rem;
  background: var(--surface);
  border: 3px solid var(--line);
  border-radius: 0.6rem;
}
.fileitem-thumb {
  flex: none;
  width: 6rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 0.4rem;
  overflow: hidden;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
  color: var(--muted);
  padding: 0.25rem;
}
.fileitem-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fileitem-body { flex: 1 1 18rem; min-width: 0; }
.fileitem-name {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
}
.fileitem-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}
.fileitem-note { margin: 0 0 0.75rem; overflow-wrap: anywhere; }
.fileitem-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}
html.theme-contrast .tag { color: var(--accent); }

.count-line {
  font-weight: 700;
  margin: 0 0 1rem;
}

.empty {
  padding: 2rem 1.25rem;
  background: var(--surface);
  border: 3px dashed var(--border);
  border-radius: 0.6rem;
  text-align: center;
}

/* --- Upload area ---------------------------------------------------------- */

.dropzone {
  border: 5px dashed var(--border);
  border-radius: 0.8rem;
  background: var(--surface);
  padding: 1.5rem;
  text-align: center;
}
.dropzone.is-over {
  background: var(--accent-soft);
  border-color: var(--accent);
  border-style: solid;
}
.dropzone .hint { margin-left: auto; margin-right: auto; }

.chosen-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
}
.chosen-list li {
  padding: 0.6rem 0.75rem;
  border: 2px solid var(--line);
  border-radius: 0.4rem;
  background: var(--bg);
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
}

.progress-wrap { margin: 1.5rem 0 0; }
progress {
  width: 100%;
  height: 2.5rem;
  border: 3px solid var(--border);
  border-radius: 0.4rem;
  background: var(--bg);
}
progress::-webkit-progress-bar { background: var(--bg); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.progress-text { font-weight: 700; margin: 0.5rem 0 0; }

/* --- Tables (only used on the server-check page) -------------------------- */

.table-scroll { overflow-x: auto; }
table.data {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 1.5rem;
}
table.data th, table.data td {
  border: 2px solid var(--line);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
table.data th { background: var(--surface); font-weight: 800; }

/* --- Footer --------------------------------------------------------------- */

.sitefooter {
  border-top: 3px solid var(--line);
  margin-top: 3rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

/* --- Utility -------------------------------------------------------------- */

.visually-hidden {
  position: absolute !important;
  /* !important throughout: the form rules below use attribute selectors
     (input[type="file"]) which would otherwise out-rank this class. */
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.stack > * + * { margin-top: 1.25rem; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* --- Motion --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Narrow screens and very high zoom -----------------------------------
   At 400% browser zoom the viewport behaves like a ~320px phone. Buttons go
   full width and rows stack, so nothing ever needs sideways scrolling.     */

@media (max-width: 34rem) {
  .wrap { padding: 1rem 0.75rem 3rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .mainnav { flex-direction: column; }
  .mainnav a { justify-content: center; }
  .fileitem { flex-direction: column; }
  .fileitem-thumb { width: 100%; height: 9rem; }
  .fileitem-actions .btn { width: 100%; }
  .a11y-inner { gap: 0.75rem; flex-direction: column; align-items: flex-start; }
  h1 { font-size: 1.45rem; }
  /* Once things are this tight, nothing may refuse to wrap. */
  .nowrap { white-space: normal; }
  .fileitem-meta > span { display: block; }
  .notice { padding: 0.85rem 0.9rem; border-left-width: 8px; }
}

/* Everything gets a last-resort break so no long word or file name can force
   the page to scroll sideways. */
body { overflow-wrap: break-word; }

/* --- Print (for the printable instruction sheet) -------------------------- */

@media print {
  .a11y-bar, .mainnav, .skip-link, .fileitem-actions, .topbar { display: none !important; }
  body { background: #fff; color: #000; }
  .wrap { max-width: none; }
}


/* ==========================================================================
   Tap a picture to see it big
   ========================================================================== */
.thumb-zoom {
  display: block;
  padding: 0;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: zoom-in;
}
.thumb-zoom img { display: block; }
.thumb-zoom:hover { border-color: currentColor; }
.thumb-zoom:focus { outline: 3px solid currentColor; outline-offset: 2px; }

body.bigpic-open { overflow: hidden; }

.bigpic {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.92);
}
.bigpic[hidden] { display: none; }

.bigpic-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #11213f;
  color: #fff;
}
.bigpic-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  overflow-wrap: anywhere;
}
.bigpic-close {
  flex: 0 0 auto;
  padding: 0.6rem 1.5rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  color: #11213f;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 6px;
  cursor: pointer;
}
.bigpic-close:hover { background: #e8eefb; }
.bigpic-close:focus { outline: 3px solid #ffd34d; outline-offset: 2px; }

.bigpic-stage {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: zoom-out;
}
.bigpic-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  background: #fff;
}

@media (max-width: 600px) {
  .bigpic-bar { padding: 0.5rem 0.75rem; }
  .bigpic-stage { padding: 0.5rem; }
  .bigpic-close { padding: 0.6rem 1rem; }
}
