/* Presentation only. The upstream questions, state and Word writer are reused. */
:root { --wb-ink: #1e2d3d; --wb-copper: #a34e21; --wb-muted: #53616d; }
html { scroll-behavior: auto; }
body { font-family: Arial, sans-serif; font-size: 16px; color: var(--wb-ink); background: #f5f7f8; }
button, input, select, textarea { font-size: 1rem; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--wb-copper); outline-offset: 3px; }
.woodruff-return { background: #fff; border-bottom: 1px solid #dce2e5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px max(24px, calc((100% - 1380px) / 2)); font-size: .875rem; position: relative; z-index: 1001; }
.woodruff-return a { color: var(--wb-ink); text-decoration: none; padding: 6px 0; }
.woodruff-return a:hover { text-decoration: underline; }
.woodruff-return > span { color: var(--wb-muted); }
.welcome-screen { position: static; flex: 1; min-height: calc(100dvh - 70px); height: auto; background: #f5f7f8; padding: 50px 20px; }
.welcome-content { background: #fff; border: 1px solid #dce2e5; border-top: 3px solid var(--wb-copper); border-radius: 0; box-shadow: 0 10px 50px #1e2d3d0a; padding: 40px; width: min(100%, 540px); }
.welcome-logo, .wb-logo { display: none; }
.welcome-title { color: var(--wb-ink); font-family: Georgia, serif; font-weight: normal; font-size: 2rem; }
.welcome-title:before { content: 'W'; display: block; width: 55px; height: 60px; line-height: 60px; margin: 0 auto 22px; font-family: Georgia, serif; font-size: 2.3rem; color: var(--wb-ink); border: 1px solid #bac5ce; }
.welcome-subtitle { color: var(--wb-muted); font-size: 1rem; }
.welcome-privacy-note { font-size: .875rem; color: var(--wb-muted); }
.password-entry { max-width: none; }
.password-entry input { font-size: 1rem; min-height: 48px; min-width: 0; width: 0; flex: 1; }
.wb-header { background: var(--wb-ink); }
.wb-header-inner-constrained, .wb-footer-inner-constrained, .wb-main-container, .wb-accent-bar { width: calc(100% - 48px); max-width: 1380px; }
.wb-header-inner-constrained { padding: 22px 0; }
.wb-main-title { font-family: Georgia, serif; font-size: 1.4rem; font-weight: normal; }
.wb-sub-title { font-size: .875rem; margin-top: 3px; }
.wb-accent-bar { background: var(--wb-copper); height: 3px; }
.wb-main-container { gap: 36px; margin-block: 28px; align-items: flex-start; }
.wb-left-column { flex: 1; min-width: 0; padding: 32px; box-shadow: none; border: 1px solid #dce2e5; border-radius: 0; }
.wb-right-column { flex: 0 0 280px; min-width: 0; position: sticky; top: 20px; padding-top: 0; }
.wb-form-title { font-family: Georgia, serif; font-weight: normal; font-size: 1.65rem; line-height: 1.35; }
.form-section h3, .right-column-title { color: var(--wb-ink); }
.form-control { min-height: 44px; border-radius: 2px; font-size: 1rem; }
.btn { min-height: 44px; border-radius: 2px; font-size: 1rem; padding: 11px 20px; }
.btn-primary-wb { background: var(--wb-ink); border-color: var(--wb-ink); }
.btn-primary-wb:hover { background: #32485e; border-color: #32485e; }
.btn-danger-wb { background: var(--wb-copper); border-color: var(--wb-copper); }
.btn-danger-wb:hover { background: #813c18; border-color: #813c18; }
.version-badge { background: #e7edf1; color: #253342; border-radius: 2px; font-size: .75rem; vertical-align: middle; }
.wb-sub-title .version-badge { margin-left: 6px; }
.privacy-disclaimer-box { background: #f4f7fa; border-color: #d6dfe5; border-left-color: var(--wb-copper); font-size: .9375rem; }
.privacy-disclaimer-box h4 { color: var(--wb-ink); }
.evidence-navigation .nav-step { padding: 14px 12px; line-height: 1.5; font-size: .9375rem; border-left: 3px solid transparent; transition: background-color .18s, border-color .18s, color .18s; }
.evidence-navigation .nav-step span { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #edf0f2; color: var(--wb-muted); transition: background-color .18s, color .18s; }
.evidence-navigation .nav-step.completed { background: #edf3eb; color: #385338; border-left-color: #77906c; }
.evidence-navigation .nav-step.completed span { background: #dfead9; color: #385338; }
.evidence-navigation .nav-step.active { background: #e7edf1; color: var(--wb-ink); border-left-color: var(--wb-copper); }
.evidence-navigation .nav-step.active span { background: var(--wb-ink); color: #fff; }
.checkbox-label-container { line-height: 1.65; }
input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--wb-ink); }
.explanation-input { font-size: 1rem; line-height: 1.6; }
.form-text-muted-newline, .version-info-sidebar { font-size: .875rem; line-height: 1.65; }
.form-navigation-buttons { flex-wrap: wrap; gap: 12px; padding-top: 24px; }
.modal { z-index: 2000; }
.modal-content, .modal-content.small-modal { width: min(850px, calc(100% - 40px)); max-width: 850px; margin: 40px auto; padding: 32px; font-size: 1rem; border-radius: 3px; }
.close-button { min-width: 44px; min-height: 44px; display: grid; place-items: center; right: 5px; top: 5px; }
.markdown-render-area { overflow-wrap: anywhere; }
.markdown-render-area table { display: block; overflow-x: auto; }
.wb-footer { background: var(--wb-ink); }
.wb-footer, .wb-footer p { color: #dfe6ec; }
.wb-footer-inner-constrained { font-size: .875rem; padding: 24px 0; }
.wb-footer a { color: #e4b594; }
@keyframes wb-page-enter { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes wb-modal-fade { from { opacity: 0; } to { opacity: 1; } }
.page { animation: wb-page-enter .22s ease-out; }
.modal { animation: wb-modal-fade .16s ease-out; }
.modal-content { animation: wb-page-enter .2s ease-out; }
.form-control { transition: border-color .18s, background-color .18s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1000px) {
  .wb-main-container { flex-direction: column; gap: 22px; }
  .wb-right-column { position: static; flex: auto; width: 100%; order: -1; }
  .wb-left-column { width: 100%; }
  .evidence-navigation { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
  .evidence-navigation .nav-step { flex: 1 1 150px; border: 1px solid #dce2e5; border-left: 3px solid transparent; padding: 10px; font-size: .875rem; }
  .right-column-title { margin-bottom: 10px; }
  .right-column-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
  .right-column-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
  .right-column-link { margin: 0; }
  .btn-help-large { margin: 0; width: auto; }
  .version-info-sidebar { margin: 10px 0 0; }
}
@media (max-width: 600px) {
  .woodruff-return { padding: 10px 16px; font-size: .875rem; }
  .welcome-screen { padding: 25px 16px; }
  .welcome-content { padding: 30px 22px; }
  .welcome-title { font-size: 1.8rem; }
  .wb-header-inner-constrained, .wb-footer-inner-constrained, .wb-main-container, .wb-accent-bar { width: calc(100% - 28px); }
  .wb-header-inner-constrained { padding: 18px 0; }
  .wb-main-container { margin-block: 18px; }
  .wb-left-column { padding: 20px 16px; }
  .wb-form-title { font-size: 1.4rem; }
  .case-details-form-grid { grid-template-columns: 1fr; }
  .evidence-navigation .nav-step { flex-basis: 125px; }
  .form-navigation-buttons .btn { flex: 1 1 auto; }
  .modal-content, .modal-content.small-modal { width: calc(100% - 20px); margin: 16px auto; padding: 38px 20px 24px; }
  .wb-footer-inner-constrained { display: block; }
  .wb-footer .footer-right { text-align: left; }
}
@media print { .woodruff-return { display: none; } .wb-right-column { display: none; } }

/* Shared website identity on the responsive tools entry page. */
.tools-home-brand { display: inline-flex; align-items: center; gap: 12px; }
.tools-monogram { display: grid; place-items: center; width: 42px; height: 46px; border: 1px solid #bac5ce; font: 30px Georgia, serif; }
.tools-home-brand strong { display: block; font: 22px Georgia, serif; }
.tools-home-brand small { display: block; margin-top: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.welcome-screen { position: relative; isolation: isolate; overflow: hidden; min-height: calc(100dvh - 90px); }
.welcome-screen::before { content: ''; position: absolute; z-index: -1; inset: 0; background: url('woodruff-branches.webp') right center / auto 110% no-repeat; mix-blend-mode: multiply; pointer-events: none; }
.welcome-content { position: relative; }
.welcome-subtitle { color: var(--wb-copper); }
.welcome-subtitle .version-badge { display: none; }
.welcome-privacy-note { position: relative; margin: 18px 0 0; max-width: 450px; padding: 6px 12px; background: #f5f7f8ed; }
@media (max-width: 600px) {
  .tools-home-brand strong { font-size: 19px; }
  .tools-home-brand small { font-size: 9px; }
  .tools-monogram { width: 36px; height: 40px; font-size: 27px; }
  .welcome-screen { min-height: calc(100dvh - 73px); padding: 100px 16px 32px; }
  .welcome-screen::before { background-position: right -25px top -20px; background-size: auto 330px; }
  .welcome-content { padding: 28px 20px; }
  .welcome-title { font-size: 1.8rem; }
  .welcome-privacy-note { font-size: .8rem; }
}
.office-device-notice { display: none; }
.office-device-required #welcomeScreen, .office-device-required #appContainer { display: none !important; }
.office-device-required .office-device-notice { display: flex; justify-content: center; align-items: center; min-height: calc(100dvh - 74px); padding: 70px 16px 32px; background: url('woodruff-branches.webp') right -20px top -20px / auto 300px no-repeat; text-align: center; }
.office-device-notice p { line-height: 1.65; color: var(--wb-muted); }
.office-device-notice .welcome-subtitle { color: var(--wb-copper); font-weight: bold; }
.office-home-link { display: inline-block; margin-top: 12px; padding: 12px; color: var(--wb-ink); text-underline-offset: 5px; }
.welcome-screen::before { mask-image: linear-gradient(to right, transparent 15%, #000 65%); }
@media (max-width: 600px) { .welcome-screen::before { mask-image: none; } }
/* Frame the handheld notice with foliage while keeping its card unobstructed. */
.office-device-required .office-device-notice { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 90px; }
.office-device-notice::before, .office-device-notice::after { content: ''; position: absolute; z-index: -1; pointer-events: none; background: url('woodruff-branches.webp') right center / auto 100% no-repeat; mix-blend-mode: multiply; }
.office-device-notice::before { width: 260px; height: 330px; left: -75px; top: -35px; transform: scaleX(-1); mask-image: linear-gradient(to bottom, #000 60%, transparent); }
.office-device-notice::after { width: 100%; height: 300px; left: 0; bottom: -60px; transform: rotate(180deg); mask-image: linear-gradient(to bottom, #000 65%, transparent); }
.office-device-notice > .welcome-content { z-index: 1; }
@media (min-width: 601px) {
  .welcome-screen::after { content: ''; position: absolute; z-index: -1; pointer-events: none; left: -90px; top: 0; width: 45%; height: 100%; background: url('woodruff-branches.webp') right center / auto 95% no-repeat; transform: scaleX(-1); mix-blend-mode: multiply; mask-image: linear-gradient(to left, #000 55%, transparent); }
}
/* Feather the image canvas on both axes to remove rectangular colour seams. */
.welcome-screen::before, .welcome-screen::after {
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  mask-composite: intersect;
}
.welcome-screen::after { background-size: auto 100%; }
.office-device-required .office-device-notice { background: #f5f7f8; }
.notice-foliage-right { position: absolute; z-index: -1; pointer-events: none; width: 320px; height: 340px; right: -45px; top: -30px; background: url('woodruff-branches.webp') right center / auto 100% no-repeat; mix-blend-mode: multiply; }
.office-device-notice::before, .office-device-notice::after, .notice-foliage-right {
  mask-image: linear-gradient(to right, transparent, #000 22%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 15%, #000 70%, transparent);
  mask-composite: intersect;
}
.welcome-privacy-note { background: transparent; }
.welcome-screen::before { inset: auto 0 auto auto; top: -5%; height: 110%; width: auto; aspect-ratio: 1.5; background-size: 100% 100%; }
@media (max-width: 600px) { .welcome-screen::before { top: -20px; right: -25px; height: 330px; } }
.office-device-notice::after { background-size: cover; }
