:root {
  color-scheme: light;
  --ink: #17201d;
  --muted: #66716d;
  --line: #dce2df;
  --paper: #ffffff;
  --canvas: #f4f6f5;
  --accent: #176b5b;
  --accent-soft: #e4f0ed;
  --warm: #a66d24;
  --danger: #a43c36;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Segoe UI Variable Text", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}
button, input { font: inherit; }
button { cursor: pointer; }
.portal-shell { min-height: 100vh; }
.portal-topbar {
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #17201d;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.portal-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.portal-brand img { width: 42px; height: 42px; object-fit: contain; background: #fff; border-radius: 4px; }
.portal-brand strong, .portal-brand span { display: block; }
.portal-brand strong { font-size: 15px; }
.portal-brand span { margin-top: 2px; color: #cbd5d1; font-size: 12px; }
.portal-topbar button { border: 1px solid #52605b; background: transparent; color: #fff; border-radius: 6px; padding: 9px 12px; }
.portal-content { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 34px 0 54px; }
.access-panel { width: min(440px, 100%); margin: 10vh auto 0; }
.access-panel h1 { margin: 0 0 9px; font-size: clamp(26px, 5vw, 38px); }
.access-panel p { color: var(--muted); line-height: 1.55; }
.access-form { margin-top: 24px; display: grid; gap: 10px; }
.access-form label { font-size: 13px; font-weight: 700; }
.access-form input { width: 100%; min-height: 48px; border: 1px solid #aeb9b4; border-radius: 6px; padding: 0 14px; background: #fff; }
.access-form input:focus { outline: 3px solid rgba(23, 107, 91, .18); border-color: var(--accent); }
.access-info-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.access-info-links a { color: var(--accent); font-size: 13px; font-weight: 750; text-decoration: none; }
.access-info-links a:hover, .access-info-links a:focus-visible { text-decoration: underline; }
.primary-button { min-height: 46px; border: 1px solid var(--accent); border-radius: 6px; padding: 0 16px; background: var(--accent); color: #fff; font-weight: 700; }
.error-text { min-height: 20px; color: var(--danger); font-size: 13px; }
.project-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.project-head h1 { margin: 8px 0 8px; font-size: clamp(28px, 5vw, 48px); line-height: 1.08; }
.project-head p { margin: 0; color: var(--muted); }
.status-chip { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border: 1px solid #b8d3cd; border-radius: 999px; background: var(--accent-soft); color: #0d5145; font-size: 12px; font-weight: 800; }
.progress-band { margin: 24px 0 30px; }
.progress-label { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 700; }
.progress-track { height: 9px; margin-top: 9px; overflow: hidden; background: #dfe5e2; border-radius: 4px; }
.progress-track span { display: block; height: 100%; background: var(--accent); }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.summary-item { min-width: 0; padding: 17px 18px; border-right: 1px solid var(--line); }
.summary-item:last-child { border-right: 0; }
.summary-item span, .summary-item strong { display: block; }
.summary-item span { color: var(--muted); font-size: 12px; }
.summary-item strong { margin-top: 5px; overflow-wrap: anywhere; }
.summary-item strong span { display: inline; }
.portal-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.portal-section:last-child { border-bottom: 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 20px; }
.section-head span { color: var(--muted); font-size: 12px; }
.phase-list, .update-list, .file-list { display: grid; gap: 8px; }
.phase-row, .update-row, .file-row { display: grid; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.phase-row { grid-template-columns: 10px minmax(0, 1fr) auto; }
.phase-dot { width: 10px; height: 10px; border-radius: 50%; background: #b8c1bd; }
.phase-row[data-status="done"] .phase-dot { background: var(--accent); }
.phase-row[data-status="active"] .phase-dot { background: var(--warm); }
.phase-copy strong, .phase-copy span, .update-copy strong, .update-copy span { display: block; }
.phase-copy span, .update-copy span { margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.phase-percent { color: var(--muted); font-size: 12px; }
.update-row { grid-template-columns: 110px minmax(0, 1fr); align-items: start; }
.update-date { color: var(--warm); font-size: 12px; font-weight: 800; }
.file-row { grid-template-columns: minmax(0, 1fr) auto; }
.file-copy strong, .file-copy span { display: block; }
.file-copy span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.file-button { min-height: 38px; border: 1px solid #9ab4ad; border-radius: 6px; padding: 0 12px; background: #fff; color: #155d50; font-weight: 700; }
.project-summary { max-width: 78ch; color: #3f4b47; line-height: 1.65; white-space: pre-wrap; }
.portal-footer { padding: 22px clamp(18px, 4vw, 54px); border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; }
.empty-copy { color: var(--muted); }
.project-head { padding-top: 24px; }
.progress-band { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 24px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.progress-ring { --progress: 0; width: 92px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--progress) * 1%), #dfe5e2 0); position: relative; }
.progress-ring::before { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--paper); }
.progress-ring strong { position: relative; z-index: 1; font-size: 21px; }
.progress-copy h2 { margin: 0; font-size: 19px; }
.progress-copy p { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.summary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.phase-row { grid-template-columns: 18px minmax(0, 1fr) 110px; }
.phase-dot { width: 12px; height: 12px; border: 3px solid var(--paper); box-shadow: 0 0 0 1px #aeb9b4; }
.phase-progress { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 3px; background: #e5e9e7; }
.phase-progress span { display: block; height: 100%; background: var(--accent); }
.update-row { grid-template-columns: 126px minmax(0, 1fr); border-left: 3px solid #b8d3cd; }
.file-actions { display: flex; gap: 8px; align-items: center; }
.image-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; }
.image-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.image-preview-button { display: block; width: 100%; aspect-ratio: 4/3; padding: 0; overflow: hidden; border: 0; border-bottom: 1px solid var(--line); background: #e9eeeb; }
.image-preview-button img { width: 100%; height: 100%; object-fit: cover; transition: transform 180ms ease-out; }
.image-preview-button:hover img { transform: scale(1.025); }
.image-preview-loading { display: grid; width: 100%; height: 100%; place-items: center; color: var(--muted); font-size: 12px; }
.image-card-copy { padding: 12px; }
.image-card-copy strong, .image-card-copy span { display: block; overflow-wrap: anywhere; }
.image-card-copy span { margin-top: 4px; color: var(--muted); font-size: 12px; }
.image-card-copy .file-button { width: 100%; margin-top: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: rgba(15,24,21,.88); }
.lightbox[hidden] { display: none; }
.lightbox-dialog { width: min(1180px,100%); max-height: calc(100vh - 48px); display: grid; grid-template-rows: minmax(0,1fr) auto; overflow: hidden; border-radius: 8px; background: #fff; }
.lightbox-image-wrap { min-height: 240px; display: grid; place-items: center; overflow: auto; background: #111714; }
.lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.lightbox-bar strong { overflow-wrap: anywhere; }
.lightbox-bar div { display: flex; gap: 8px; }
.lightbox-close { min-width: 38px; min-height: 38px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 20px; }
.portal-content { width: min(1180px, calc(100% - 40px)); }
.project-head { padding-top: 30px; }
.project-head h1 { font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-weight: 720; }
.portal-nav { position: sticky; top: 70px; z-index: 14; display: flex; gap: 4px; margin: 0 0 24px; padding: 8px 0; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(244, 246, 245, .96); scrollbar-width: none; }
.portal-nav::-webkit-scrollbar { display: none; }
html.capture-mode .portal-topbar, html.capture-mode .portal-nav { position: static !important; }
.portal-nav a { flex: 0 0 auto; padding: 8px 11px; border-radius: 5px; color: #42504b; font-size: 12px; font-weight: 700; text-decoration: none; }
.portal-nav a:hover { background: #e5ebe8; color: var(--ink); }
.portal-nav a:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid rgba(66, 106, 120, .26); outline-offset: 2px; }
.progress-band { margin-top: 0; grid-template-columns: 120px minmax(0,1fr); padding: 24px; border-color: #cad5d0; box-shadow: 0 12px 30px rgba(23, 32, 29, .05); }
.progress-copy-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.progress-copy-head span { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.progress-copy-head strong { font-size: 18px; }
.milestone-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.milestone-grid > div { min-width: 0; padding: 11px 12px; border-left: 3px solid var(--accent); background: #f1f6f4; }
.milestone-grid > div:last-child { border-left-color: var(--warm); background: #f8f4ee; }
.milestone-grid span, .milestone-grid strong { display: block; }
.milestone-grid span { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.milestone-grid strong { margin-top: 4px; overflow-wrap: anywhere; font-size: 13px; }
.summary-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.portal-section { scroll-margin-top: 132px; }
.phase-row { grid-template-columns: 42px minmax(0,1fr) 72px; padding: 16px 18px; transition: border-color 160ms ease-out, transform 160ms ease-out; }
.phase-row:hover { border-color: #b7c6c0; transform: translateY(-1px); }
.phase-marker { width: 34px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #aeb9b4; border-radius: 50%; color: #6a7671; font: 700 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.phase-row[data-status="done"] .phase-marker { border-color: var(--accent); background: var(--accent); color: #fff; }
.phase-row[data-status="active"] { border-color: #d3b88f; box-shadow: inset 3px 0 0 var(--warm); }
.phase-row[data-status="active"] .phase-marker { border-color: var(--warm); background: #f7eee2; color: #7b4c14; }
.update-row { transition: border-color 160ms ease-out, background 160ms ease-out; }
.update-row:hover { border-color: #b7c6c0; background: #fcfdfc; }
.portal-files-section { padding-bottom: 38px; }
.image-gallery { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 14px; }
.image-card { grid-column: span 4; display: flex; flex-direction: column; border-color: #cfd8d4; box-shadow: 0 12px 28px rgba(23, 32, 29, .05); transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out; }
.image-card:hover { transform: translateY(-2px); border-color: #aebeb7; box-shadow: 0 18px 36px rgba(23, 32, 29, .09); }
.image-card.is-featured { grid-column: span 8; }
.image-card.is-featured .image-preview-button { aspect-ratio: 16/9; }
.image-gallery[data-count="1"] .image-card { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .65fr); }
.image-gallery[data-count="1"] .image-preview-button { aspect-ratio: 16/9; border-right: 1px solid var(--line); border-bottom: 0; }
.image-gallery[data-count="1"] .image-card-copy { align-self: stretch; justify-content: center; padding: 22px; }
.image-gallery[data-count="2"] .image-card { grid-column: span 6; grid-row: auto; }
.image-gallery[data-count="3"] .image-card:first-child { grid-column: 1 / -1; }
.image-gallery[data-count="3"] .image-card:not(:first-child) { grid-column: span 6; }
.image-preview-button { position: relative; }
.image-preview-button::after { content: 'Önizle'; position: absolute; right: 10px; bottom: 10px; padding: 6px 8px; border-radius: 4px; background: rgba(23, 32, 29, .82); color: #fff; font-size: 10px; font-weight: 800; opacity: 0; transform: translateY(3px); transition: opacity 160ms ease-out, transform 160ms ease-out; }
.image-preview-button:not(:disabled):hover::after, .image-preview-button:not(:disabled):focus-visible::after { opacity: 1; transform: translateY(0); }
.image-preview-loading { animation: preview-pulse 1.5s ease-in-out infinite; }
.image-card-copy { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.image-category { width: fit-content; margin-bottom: 8px; padding: 4px 7px; border-radius: 4px; background: #e7efec; color: #245d52 !important; font-size: 10px !important; font-weight: 800; text-transform: uppercase; }
.image-meta { margin-top: 6px !important; }
.image-card-copy .file-button { margin-top: auto; padding-top: 10px; padding-bottom: 10px; }
.lightbox-image-wrap { position: relative; }
.lightbox-nav { position: absolute; top: 50%; z-index: 2; width: 46px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; background: rgba(16, 24, 21, .74); color: #fff; font-size: 34px; transform: translateY(-50%); }
.lightbox-nav.is-previous { left: 14px; }
.lightbox-nav.is-next { right: 14px; }
.lightbox-nav:disabled { opacity: .25; cursor: default; }
.lightbox-caption { min-width: 0; display: block !important; }
.lightbox-caption strong, .lightbox-caption span { display: block; }
.lightbox-caption span { margin-top: 3px; color: var(--muted); font-size: 11px; }
@keyframes preview-pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
.portal-topbar-actions { display: flex; align-items: center; gap: 14px; }
.secure-session { color: #aebbb6; font-size: 11px; font-weight: 700; }
.access-panel { width: min(1080px, 100%); min-height: calc(100vh - 190px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); align-items: center; gap: clamp(48px, 7vw, 96px); }
.access-intro { max-width: 650px; }
.access-panel h1 { max-width: 720px; margin: 12px 0 18px; font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif; font-size: 48px; line-height: 1.04; font-weight: 730; }
.access-intro > p { max-width: 62ch; margin: 0; color: #4f5d58; font-size: 17px; line-height: 1.65; }
.access-features { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #cdd6d2; }
.access-features span { position: relative; padding-left: 17px; color: #43504c; font-size: 12px; font-weight: 750; }
.access-features span::before { content: ''; position: absolute; left: 0; top: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.access-form { margin: 0; padding: 28px; border: 1px solid #c7d1cd; border-top: 4px solid var(--accent); border-radius: 8px; background: #fff; box-shadow: 0 18px 44px rgba(23,32,29,.08); }
.access-form h2 { margin: 5px 0 6px; font-size: 22px; }
.access-form p { margin: 0 0 12px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.access-form small { color: var(--muted); font-size: 11px; }
.form-kicker { color: var(--warm); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.access-form input { font-size: 20px; font-weight: 720; letter-spacing: 0; text-align: center; }
.primary-button { transition: background 150ms ease-out, border-color 150ms ease-out, transform 150ms ease-out; }
.primary-button:hover { border-color: #0d5045; background: #0d5045; transform: translateY(-1px); }
.project-head { padding: 30px 0 24px; align-items: center; }
.project-head h1 { font-size: 42px; }
.project-head p { font-size: 14px; }
.status-chip { border-radius: 5px; }
.command-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); gap: 14px; align-items: stretch; }
.progress-band { height: 100%; margin: 0; }
.latest-brief { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 24px; border-radius: 8px; background: #1c2824; color: #fff; }
.brief-kicker { color: #d4b178; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.latest-brief h2 { margin: 10px 0 7px; font-size: 20px; line-height: 1.25; }
.latest-brief p { margin: 0; color: #c6d0cc; font-size: 13px; line-height: 1.55; }
.latest-brief a { width: fit-content; margin-top: 18px; color: #fff; font-size: 12px; font-weight: 750; text-underline-offset: 4px; }
.summary-grid { margin-top: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.summary-item strong { font-size: 13px; }
.section-head > div { display: flex; align-items: center; gap: 10px; }
.section-index { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #b9c6c0; border-radius: 50%; color: var(--accent); font: 800 9px ui-monospace, SFMono-Regular, Consolas, monospace; }
.status-section { padding-top: 38px; }
.status-section .project-summary { padding: 21px 24px; border-left: 4px solid var(--warm); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.phase-list { position: relative; }
.phase-row { border-radius: 6px; }
.phase-row[data-status="active"] .phase-copy strong { color: #714817; }
.update-list { position: relative; padding-left: 18px; }
.update-list::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: #cbd4d0; }
.update-row { position: relative; border-radius: 6px; border-left-width: 1px; }
.update-row::before { content: ''; position: absolute; left: -18px; top: 20px; width: 9px; height: 9px; border: 2px solid var(--canvas); border-radius: 50%; background: #9ba7a2; box-shadow: 0 0 0 1px #9ba7a2; }
.update-row.is-latest { border-color: #a9c6be; background: #fbfdfc; }
.update-row.is-latest::before { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.file-row { border-radius: 6px; }
.contact-panel { margin-top: 34px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 28px; padding: 28px 30px; border-top: 4px solid var(--warm); border-radius: 8px; background: #1c2824; color: #fff; }
.contact-panel h2 { margin: 7px 0 7px; font-size: 22px; }
.contact-panel p { max-width: 70ch; margin: 0; color: #c6d0cc; font-size: 13px; line-height: 1.55; }
.contact-actions { display: flex; gap: 8px; }
.contact-link { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #fff; border-radius: 6px; background: #fff; color: #18231f; font-size: 12px; font-weight: 800; text-decoration: none; }
.contact-link.is-secondary { background: transparent; color: #fff; }
.portal-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; text-align: left; }
.portal-footer strong, .portal-footer span { display: block; }
.portal-footer strong { color: #3b4944; }
[hidden] { display: none !important; }
@media (max-width: 720px) {
  .portal-content { width: min(100% - 24px, 1120px); padding-top: 24px; }
  .secure-session { display: none; }
  .access-panel { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 24px 0 36px; }
  .access-panel h1 { font-size: 32px; }
  .access-intro > p { font-size: 15px; }
  .access-features { margin-top: 22px; }
  .access-form { padding: 21px 18px; }
  .project-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .project-head h1 { font-size: 30px; }
  .command-grid { grid-template-columns: 1fr; }
  .progress-band { grid-template-columns: 76px minmax(0,1fr); gap: 16px; padding: 16px; }
  .progress-ring { width: 70px; }
  .portal-nav { top: 68px; margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
  .progress-copy-head { display: block; }
  .progress-copy-head strong { display: block; margin-top: 3px; font-size: 15px; }
  .milestone-grid { grid-template-columns: 1fr; }
  .summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .summary-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .summary-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .summary-item:nth-last-child(-n+2) { border-bottom: 0; }
  .update-row { grid-template-columns: 1fr; gap: 6px; }
  .phase-row { grid-template-columns: 34px minmax(0, 1fr); padding: 14px 12px; }
  .phase-percent { grid-column: 2; }
  .file-row { grid-template-columns: 1fr; }
  .file-button { width: 100%; }
  .image-gallery { grid-template-columns: 1fr; }
  .image-gallery .image-card, .image-gallery[data-count="1"] .image-card, .image-gallery[data-count="2"] .image-card { grid-column: 1; grid-row: auto; display: flex; }
  .image-gallery[data-count="1"] .image-preview-button { border-right: 0; border-bottom: 1px solid var(--line); }
  .image-card.is-featured .image-preview-button { aspect-ratio: 4/3; }
  .lightbox { padding: 10px; }
  .lightbox-dialog { max-height: calc(100vh - 20px); }
  .lightbox-nav { width: 38px; height: 48px; font-size: 28px; }
  .lightbox-nav.is-previous { left: 7px; }
  .lightbox-nav.is-next { right: 7px; }
  .lightbox-bar { align-items: flex-start; }
  .contact-panel { grid-template-columns: 1fr; padding: 22px 18px; }
  .contact-actions { width: 100%; }
  .contact-link { flex: 1; }
  .portal-footer { align-items: flex-start; flex-direction: column; }
}