.home-tycos-modal[hidden] { display: none !important; }
.home-tycos-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(0, 15, 40, .76); display: flex; justify-content: center; align-items: center; padding: 18px; }
.home-tycos-dialog { display: flex; flex-direction: column; width: min(100%, 920px); max-height: min(90dvh, 920px); min-height: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 20px 65px rgba(0,0,0,.35); }
.home-tycos-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 16px 22px; background: #001f47; color: #fff; }
.home-tycos-heading h2 { margin: 0; font-size: 21px; font-weight: 700; color: #fff; }
.home-tycos-close { border: 0; background: transparent; color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.home-tycos-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 22px 28px; }
.home-tycos-document { color: #18263b; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.home-tycos-document h2 { font-size: 20px; font-weight: 700; color: #001f47; margin: 0 0 18px; }
.home-tycos-document h3 { font-size: 16px; font-weight: 700; color: #001f47; margin: 22px 0 9px; }
.home-tycos-document p { margin: 0 0 13px; white-space: pre-wrap; }
.home-tycos-bottom { flex-shrink: 0; padding: 12px 22px; border-top: 1px solid #e6e9ef; display: flex; justify-content: flex-end; }
.home-tycos-done { border: 0; border-radius: 9px; background: #001f47; color: #fff; padding: 9px 26px; font-weight: 700; }
body.home-tycos-open { overflow: hidden; }
@media(max-width: 767px) {
  .home-tycos-modal { padding: 10px; }
  .home-tycos-dialog { max-height: 92dvh; border-radius: 12px; }
  .home-tycos-heading { padding: 12px 15px; }
  .home-tycos-heading h2 { font-size: 17px; }
  .home-tycos-scroll { padding: 16px; }
  .home-tycos-document { font-size: 13px; }
  .home-tycos-bottom { padding: 10px 15px; }
}
