.mail-watch {
  --ink:#243b4d;
  --muted:#687887;
  --line:#dbe2e8;
  --blue:#166bb4;
  --light:#edf5fc;
  --paper:#f4f6f8;
  --orange:#b85722;
}
.mail-watch * {
  box-sizing: border-box;
}
.mail-watch {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.7 "Yu Gothic", "Meiryo", sans-serif;
}
.mail-watch button, .mail-watch input, .mail-watch select {
  font: inherit;
}
.mail-watch button, .mail-watch a, .mail-watch input, .mail-watch select {
  outline-offset: 3px;
}
.mail-watch button:focus-visible, .mail-watch a:focus-visible, .mail-watch input:focus-visible, .mail-watch select:focus-visible {
  outline: 3px solid #e2a648;
}
.mail-watch button {
  cursor: pointer;
}
.mail-watch a {
  color: #1768a6;
  text-underline-offset: 3px;
}
.mail-watch .sitebar {
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 32px;
  border-bottom: 1px solid var(--line);
}
.mail-watch .brand {
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}
.mail-watch .logo {
  background: var(--blue);
  color: white;
  border-radius: 7px;
  padding: 5px 8px;
  margin-right: 9px;
}
.mail-watch .sitebar small {
  font-size: 12px;
  color: var(--muted);
}
.mail-watch main {
  max-width: 1600px;
  margin: auto;
  padding: 26px 30px 36px;
}
.mail-watch .intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 20px;
}
.mail-watch .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--blue);
  font-weight: 800;
}
.mail-watch h1 {
  font-size: 27px;
  margin: 2px 0 4px;
  letter-spacing: 0.01em;
}
.mail-watch .intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.mail-watch .stats {
  display: flex;
  gap: 24px;
  flex-shrink: 0;
}
.mail-watch .stat {
  font-size: 11px;
  color: var(--muted);
}
.mail-watch .stat b {
  display: block;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.4;
}
.mail-watch .notice {
  border: 1px solid #e4d8bd;
  background: #fffaf0;
  color: #71562d;
  border-radius: 5px;
  padding: 10px 16px;
  font-size: 12px;
  margin-bottom: 18px;
}
.mail-watch .mailbox {
  background: white;
  border: 1px solid #cad5df;
  border-radius: 8px;
  box-shadow: 0 7px 24px rgba(23, 51, 72, 0.031372549);
  overflow: hidden;
}
.mail-watch .toolbar {
  background: #f9fbfd;
  border-bottom: 1px solid var(--line);
  padding: 13px 18px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.mail-watch .mail-icon {
  background: var(--blue);
  color: white;
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 20px;
}
.mail-watch .toolbar strong {
  white-space: nowrap;
}
.mail-watch .toolbar input {
  flex: 1;
  max-width: 440px;
  min-width: 120px;
  background: white;
  border: 1px solid #cbd6df;
  border-radius: 5px;
  padding: 8px 12px;
  margin-left: auto;
}
.mail-watch .toolbar select {
  border: 1px solid #cbd6df;
  padding: 8px;
  border-radius: 5px;
  background: white;
  color: var(--ink);
  max-width: 220px;
}
.mail-watch .panes {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  height: 780px;
  max-height: calc(100vh - 275px);
  min-height: 550px;
}
.mail-watch .list-pane {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.mail-watch .list-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  padding: 12px 18px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.mail-watch .message-list {
  overflow-y: auto;
  flex: 1;
}
.mail-watch .message {
  width: 100%;
  display: block;
  text-align: left;
  background: white;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 15px 18px;
  border-left: 3px solid transparent;
  color: var(--ink);
}
.mail-watch .message:hover {
  background: #f4f8fc;
}
.mail-watch .message[aria-current=true] {
  background: var(--light);
  border-left-color: var(--blue);
}
.mail-watch .msg-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}
.mail-watch .msg-sender {
  color: var(--ink);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 235px;
}
.mail-watch .message strong {
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.7;
  margin: 5px 0;
}
.mail-watch .snippet {
  font-size: 11px;
  color: var(--muted);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mail-watch .msg-foot {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.mail-watch .tag {
  background: #edf1f4;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 10px;
  color: #526676;
}
.mail-watch .tag.orange {
  background: #fff0df;
  color: #9a5526;
}
.mail-watch .reader {
  overflow-y: auto;
  min-width: 0;
  scroll-behavior: smooth;
}
.mail-watch .reader-head {
  padding: 25px 32px 20px;
  border-bottom: 1px solid var(--line);
}
.mail-watch .reader-head h2 {
  font-size: 21px;
  line-height: 1.6;
  margin: 10px 0 18px;
  overflow-wrap: anywhere;
}
.mail-watch .sender-card {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mail-watch .avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #e9eff5;
  border-radius: 50%;
  color: var(--blue);
  font-size: 18px;
  flex-shrink: 0;
}
.mail-watch .sender-details {
  font-size: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mail-watch .sender-details small {
  color: var(--muted);
  display: block;
}
.mail-watch .reader-head time {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted);
}
.mail-watch .reader-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.mail-watch .reader-actions button {
  border: 1px solid #bed0df;
  border-radius: 4px;
  background: white;
  color: var(--blue);
  padding: 6px 13px;
  font-size: 12px;
}
.mail-watch .privacy {
  font-size: 11px;
  color: var(--muted);
}
.mail-watch .reader-body {
  padding: 26px 32px;
}
.mail-watch .body-label {
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.mail-watch .body-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  font-size: 13px;
  line-height: 2.05;
  margin: 0;
  color: #2f3a43;
}
.mail-watch .attachments {
  font-size: 11px;
  color: var(--muted);
  background: #f4f6f8;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 20px;
}
.mail-watch .analysis {
  margin: 4px 32px 30px;
  background: #f3f7fb;
  border: 1px solid #d7e3ee;
  border-radius: 6px;
  padding: 22px;
}
.mail-watch .analysis h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: #185c92;
}
.mail-watch .analysis ol {
  padding-left: 22px;
  margin: 0;
}
.mail-watch .analysis li {
  padding-left: 4px;
  margin-bottom: 13px;
  font-size: 13px;
}
.mail-watch .analysis li strong {
  display: block;
  margin-bottom: 2px;
}
.mail-watch .analysis .safe {
  background: #e5eee7;
  padding: 13px 15px;
  color: #345f42;
  font-size: 12px;
  margin-top: 20px;
  border-radius: 4px;
}
.mail-watch .analysis .grouping {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 0;
}
.mail-watch .empty {
  padding: 40px 20px;
  color: var(--muted);
  text-align: center;
}
.mail-watch .help {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 28px 0 14px;
}
.mail-watch .help h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.mail-watch .help p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.mail-watch .sources {
  font-size: 11px;
  color: var(--muted);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.mail-watch .sources a {
  margin-right: 18px;
}
.mail-watch footer {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  padding: 20px;
  background: #eaf0f5;
}
.mail-watch .audit {
  font-size: 12px;
  padding: 18px 0;
}
.mail-watch .audit summary {
  cursor: pointer;
  color: #41627e;
}
.mail-watch .audit p {
  max-width: 1000px;
  color: var(--muted);
}
.mail-watch [hidden] {
  display: none !important;
}
@media (min-width: 1700px) {
  .mail-watch .panes {
    grid-template-columns: 390px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  .mail-watch main {
    padding: 20px 16px;
  }
  .mail-watch .stats {
    gap: 15px;
  }
  .mail-watch .panes {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .mail-watch .reader-head, .mail-watch .reader-body {
    padding: 22px;
  }
  .mail-watch .analysis {
    margin: 0 22px 24px;
  }
  .mail-watch .sitebar {
    padding: 0 20px;
  }
  .mail-watch .sender-card {
    flex-wrap: wrap;
  }
  .mail-watch .reader-head time {
    margin-left: 52px;
  }
  .mail-watch .toolbar strong {
    display: none;
  }
  .mail-watch .toolbar input {
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  .mail-watch .sitebar small {
    display: none;
  }
  .mail-watch .intro {
    display: block;
  }
  .mail-watch .stats {
    margin-top: 14px;
    gap: 25px;
  }
  .mail-watch .stat b {
    font-size: 20px;
  }
  .mail-watch .toolbar {
    flex-wrap: wrap;
    padding: 12px;
  }
  .mail-watch .toolbar input {
    max-width: none;
    flex: 1;
  }
  .mail-watch .toolbar select {
    width: 100%;
    max-width: none;
  }
  .mail-watch .mail-icon {
    display: none;
  }
  .mail-watch .panes {
    display: block;
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .mail-watch .list-pane {
    border-right: 0;
    border-bottom: 2px solid #cbd8e4;
  }
  .mail-watch .message-list {
    max-height: 310px;
  }
  .mail-watch .reader {
    max-height: none;
  }
  .mail-watch .reader-head h2 {
    font-size: 19px;
  }
  .mail-watch .reader-head time {
    margin: 0;
  }
  .mail-watch .help {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .mail-watch .notice {
    font-size: 11px;
  }
  .mail-watch .reader-head, .mail-watch .reader-body {
    padding: 20px;
  }
  .mail-watch .analysis {
    margin: 0 18px 24px;
    padding: 18px;
  }
  .mail-watch h1 {
    font-size: 24px;
  }
}
.mail-watch .candidate-report {
  padding: 28px 20px;
}
.mail-watch .candidate-report table {
  border-collapse: collapse;
  width: 100%;
}
.mail-watch .candidate-report td, .mail-watch .candidate-report th {
  border: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}
.mail-watch .candidate-report th {
  background: var(--light);
}
.mail-watch .candidate-report .wrap {
  overflow-x: auto;
}
.mail-watch h2, .mail-watch h3 {
  background: none;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  text-align: left;
  font-weight: 700;
}
.mail-watch .reader-head h2 {
  padding: 0;
}

.mail-watch h2, .mail-watch h3 {
  text-indent: 0;
  line-height: 1.6;
  clear: none;
}

.mail-watch .candidate-report h1 {
  margin-bottom: 18px;
}

.mail-watch .candidate-report p {
  margin: 14px 0;
}

.mail-watch h1 {
  width: auto;
}

.mail-watch .intro > div:first-child {
  min-width: 0;
  flex: 1;
}

.mail-watch .analysis ol {
  list-style: decimal;
}

.mail-watch .mail-watch-logo {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
}

.mail-watch .attachments {
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0 0 24px;
}
.mail-watch .attachment-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 9px;
}
.mail-watch .attachment-grid {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.mail-watch .attachment-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  width: 265px;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #cbd5df;
  border-radius: 5px;
  text-align: left;
  background: #fff;
  color: var(--ink);
  transition: background 0.15s;
}
.mail-watch .attachment-card:hover {
  background: #edf5fc;
  border-color: #7da8ce;
}
.mail-watch .attachment-file-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 40px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid currentColor;
}
.mail-watch .pdf-file {
  background: #fff1ee;
  color: #b54c38;
}
.mail-watch .image-file {
  background: #eaf3fd;
  color: #3672aa;
}
.mail-watch .attachment-file-info {
  min-width: 0;
  flex: 1;
}
.mail-watch .attachment-file-info strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.mail-watch .attachment-file-info small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.mail-watch .attachment-preview-arrow {
  color: var(--muted);
  font-size: 20px;
}
.mail-watch .attachment-caption {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 0;
}
.mail-watch .attachment-list-clip {
  color: var(--muted);
  white-space: nowrap;
  font-size: 10px;
}
.mail-watch .attachment-dialog {
  width: min(600px, 100vw - 32px);
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid #b8c8d7;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  background: #f3f6f9;
  margin: auto;
  font: 14px/1.7 "Yu Gothic", "Meiryo", sans-serif;
  box-shadow: 0 20px 80px rgba(20, 42, 70, 0.3333333333);
}
.mail-watch .attachment-dialog::backdrop {
  background: rgba(20, 40, 61, 0.5333333333);
}
.mail-watch .attachment-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.mail-watch .attachment-dialog-header h2 {
  font-size: 16px;
  margin: 0;
  padding: 0;
}
.mail-watch .attachment-dialog-header button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--ink);
  font-size: 12px;
  padding: 6px 12px;
  white-space: nowrap;
}
.mail-watch .attachment-preview-meta {
  padding: 14px 22px 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.mail-watch .attachment-paper {
  background: white;
  margin: 20px;
  padding: 35px;
  min-height: 320px;
  border: 1px solid #dce2e8;
  box-shadow: 0 3px 10px rgba(23, 44, 65, 0.062745098);
}
.mail-watch .attachment-watermark {
  display: inline-block;
  color: #b26b26;
  background: #fff5e5;
  border: 1px solid #edd4b4;
  padding: 3px 10px;
  font-size: 11px;
  margin-bottom: 22px;
}
.mail-watch .attachment-paper > strong {
  display: block;
  font-size: 20px;
  margin-bottom: 16px;
}
.mail-watch .attachment-paper p {
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0 25px;
}
.mail-watch .attachment-paper-line {
  height: 7px;
  background: #e8edf1;
  border-radius: 2px;
  margin: 14px 0;
}
.mail-watch .attachment-preview-notice {
  font-size: 11px;
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
}
@media (max-width: 650px) {
  .mail-watch .attachment-card {
    width: 100%;
  }
  .mail-watch .attachment-paper {
    padding: 24px;
  }
}

.mail-watch .mail-watch-commentary-heading {
  display: block;
  width: 66.6667%;
  max-width: 280px;
  height: auto;
}

.mail-watch .mail-dummy-link {
  display: inline;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font: inherit;
  color: #086bb5;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  text-align: left;
  vertical-align: baseline;
  cursor: pointer;
}
.mail-watch .mail-dummy-link:hover {
  color: #b74c28;
}
.mail-watch .click-warning {
  background: white;
  border-top: 5px solid #d76a26;
}
.mail-watch .click-warning-body {
  padding: 8px 25px 25px;
}
.mail-watch .click-warning-icon {
  font-size: 42px;
  color: #c45b20;
  text-align: center;
  margin: 5px 0 10px;
}
.mail-watch .click-warning-message {
  font-size: 19px;
  line-height: 1.7;
  font-weight: 800;
  color: #a74022;
  margin: 0 0 15px;
}
.mail-watch .click-warning-advice {
  font-size: 14px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.mail-watch .click-warning-training {
  background: #edf5ef;
  color: #3b6849;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 12px;
  margin: 0 0 20px;
}
.mail-watch .click-warning-dismiss {
  display: block;
  margin: 0 auto;
  background: #235f4c;
  color: white;
  padding: 10px 28px;
  border: 0;
  border-radius: 5px;
}
@media (max-width: 650px) {
  .mail-watch .attachment-dialog-header h2 {
    font-size: 14px;
  }
  .mail-watch .click-warning-message {
    font-size: 17px;
  }
}

/* Outlook classic inspired reading pane; scoped to the mail interface. */
.mail-watch .mailbox {
  --ink: #242424;
  --muted: #6a6a6a;
  --line: #dedede;
  --blue: #0067b8;
  --light: #e1eff9;
  border: 1px solid #c9c9c9;
  border-radius: 0;
  box-shadow: none;
  color: #242424;
  font-family: "Segoe UI", "Meiryo UI", Meiryo, sans-serif;
  line-height: 1.5;
}
.mail-watch .mailbox .toolbar {
  background: #f4f4f4;
  border-bottom: 1px solid #d2d2d2;
  padding: 9px 14px;
  gap: 12px;
}
.mail-watch .mailbox .mail-icon {
  color: #0078d4;
  background: none;
  padding: 0 5px 0 0;
  border-radius: 0;
  font-size: 23px;
}
.mail-watch .mailbox .toolbar > strong {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.mail-watch .mailbox .toolbar input, .mail-watch .mailbox .toolbar select {
  border-radius: 0;
  padding: 6px 10px;
  border-color: #b8b8b8;
  font-size: 12px;
}
.mail-watch .mailbox .panes {
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 570px;
}
.mail-watch .mailbox .list-pane {
  border-right: 1px solid #c7c7c7;
  background: white;
}
.mail-watch .mailbox .list-label {
  background: #fff;
  color: #5d5d5d;
  padding: 10px 15px;
  border-bottom: 1px solid #d6d6d6;
  font-size: 11px;
}
.mail-watch .mailbox .list-label strong {
  font-weight: 400;
}
.mail-watch .mailbox .list-label a {
  font-size: 11px;
}
.mail-watch .mailbox .message {
  padding: 11px 15px 9px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid #e1e1e1;
  background: white;
}
.mail-watch .mailbox .message:hover {
  background: #f0f6fb;
}
.mail-watch .mailbox .message[aria-current=true] {
  background: #dcecf8;
  border-left-color: #0078d4;
}
.mail-watch .mailbox .msg-line {
  gap: 8px;
  align-items: baseline;
  color: #5a5a5a;
}
.mail-watch .mailbox .msg-sender {
  flex: 1;
  min-width: 0;
  max-width: none;
  font-size: 16px;
  font-weight: 400;
  color: #222;
  line-height: 1.45;
}
.mail-watch .mailbox .msg-date {
  font-size: 10px;
  color: #626262;
  white-space: nowrap;
}
.mail-watch .mailbox .message strong {
  font-size: 12px;
  font-weight: 700;
  color: #0067a5;
  line-height: 1.45;
  margin: 3px 0 2px;
  -webkit-line-clamp: 2;
}
.mail-watch .mailbox .snippet {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #707070;
}
.mail-watch .mailbox .msg-foot {
  margin-top: 5px;
  color: #7b7b7b;
  font-size: 10px;
}
.mail-watch .mailbox .msg-foot .tag {
  padding: 0;
  border-radius: 0;
  background: none;
  color: #777;
  font-size: 10px;
}
.mail-watch .mailbox .attachment-list-clip {
  font-size: 10px;
  color: #555;
}
.mail-watch .mailbox .reader {
  background: #fff;
}
.mail-watch .mailbox .reader-head {
  padding: 18px 22px 14px;
  border-bottom: 1px solid #e5e5e5;
}
.mail-watch .mailbox .reader-head > .tag {
  border-radius: 0;
  background: #f1f1f1;
  color: #686868;
  padding: 2px 6px;
  font-size: 10px;
}
.mail-watch .mailbox .reader-head > .tag.orange {
  background: #f1f1f1;
  color: #686868;
}
.mail-watch .mailbox .reader-head h2 {
  font: 400 20px/1.45 "Segoe UI", "Meiryo UI", Meiryo, sans-serif;
  color: #222;
  padding: 0;
  margin: 10px 0 15px;
  letter-spacing: 0;
}
.mail-watch .mailbox .sender-card {
  gap: 10px;
  align-items: flex-start;
}
.mail-watch .mailbox .avatar {
  width: 38px;
  height: 38px;
  background: #e5e5e5;
  color: #777;
  font-size: 19px;
}
.mail-watch .mailbox .sender-details {
  font-size: 12px;
  line-height: 1.6;
}
.mail-watch .mailbox .sender-details > strong {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.mail-watch .mailbox .sender-details small {
  font-size: 11px;
  color: #777;
}
.mail-watch .mailbox .reader-head time {
  font-size: 11px;
  color: #666;
  font-weight: 400;
}
.mail-watch .mailbox .reader-actions {
  margin-top: 12px;
  gap: 10px;
}
.mail-watch .mailbox .reader-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  color: #fff;
  border: 2px solid #934017;
  background: #ad481b;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  box-shadow: 0 3px 0 #79300f;
}
.mail-watch .mailbox #toggle-analysis::after {
  content: '+';
  font-size: 24px;
  line-height: 1;
}
.mail-watch .mailbox #toggle-analysis[aria-expanded="true"] {
  background: #235b83;
  border-color: #194565;
  box-shadow: 0 3px 0 #163b56;
}
.mail-watch .mailbox #toggle-analysis[aria-expanded="true"]::after {
  content: '−';
}
.mail-watch .mailbox #toggle-analysis:hover {
  filter: brightness(1.1);
}
.mail-watch .mailbox #toggle-analysis:active {
  transform: translateY(2px);
  box-shadow: none;
}
.mail-watch .mailbox #toggle-analysis:focus-visible {
  outline: 3px solid #166bb4;
  outline-offset: 4px;
}
.mail-watch .mailbox .privacy {
  font-size: 10px;
  color: #777;
}
.mail-watch .mailbox .reader-body {
  padding: 15px 22px 24px;
}
.mail-watch .mailbox .body-label {
  border-bottom: 0;
  border-left: 2px solid #8eb6d7;
  padding: 0 0 0 8px;
  margin-bottom: 16px;
  font-size: 10px;
  line-height: 1.6;
  color: #777;
}
.mail-watch .mailbox .body-text {
  font: 400 14px/1.8 "Segoe UI", Meiryo, sans-serif;
  color: #222;
  letter-spacing: 0;
}
.mail-watch .mailbox .mail-dummy-link {
  color: #0563c1;
}
.mail-watch .mailbox .attachment-heading {
  font-size: 11px;
  font-weight: 400;
  color: #666;
  margin-bottom: 7px;
}
.mail-watch .mailbox .attachment-grid {
  gap: 7px;
}
.mail-watch .mailbox .attachment-card {
  padding: 8px 10px;
  width: 245px;
  border: 1px solid #c8c8c8;
  border-radius: 0;
  gap: 9px;
  background: #fff;
}
.mail-watch .mailbox .attachment-card:hover {
  background: #eaf3fb;
  border-color: #9db9d1;
}
.mail-watch .mailbox .attachment-file-icon {
  height: 34px;
  flex-basis: 27px;
  border-radius: 0;
  font-size: 9px;
}
.mail-watch .mailbox .attachment-file-info strong {
  font-size: 11px;
  font-weight: 400;
}
.mail-watch .mailbox .attachment-file-info small {
  font-size: 10px;
}
.mail-watch .mailbox .attachment-preview-arrow {
  font-size: 16px;
}
.mail-watch .mailbox .analysis {
  background: #f4f7fb;
  border: 1px solid #d9e3ef;
  border-radius: 12px;
  padding: 24px;
  margin: 0 22px 24px;
}
.mail-watch .mailbox .analysis h3 {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #d9e3ef;
}
.mail-watch .mailbox .analysis ol {
  list-style: none;
  counter-reset: analysis-point;
  display: grid;
  gap: 12px;
  padding: 0;
}
.mail-watch .mailbox .analysis li {
  position: relative;
  counter-increment: analysis-point;
  margin: 0;
  padding: 16px 18px 16px 76px;
  min-height: 80px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: #39485a;
}
.mail-watch .mailbox .analysis li::before {
  content: counter(analysis-point, decimal-leading-zero);
  position: absolute;
  top: 17px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #b83b18;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}
.mail-watch .mailbox .analysis li strong {
  margin-bottom: 6px;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
  color: #203e5b;
}
.mail-watch .mailbox .analysis .safe {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid #39815a;
  border-radius: 8px;
  background: #eaf4ee;
  color: #244e38;
  font-size: 14px;
  line-height: 1.9;
}
.mail-watch .mailbox .analysis .safe > strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}
.mail-watch .mailbox .analysis .grouping {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #d9e3ef;
  font-size: 12px;
  line-height: 1.8;
  color: #596879;
}
@media (max-width: 900px) {
  .mail-watch .mailbox .panes {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .mail-watch .mailbox .sender-card {
    flex-wrap: wrap;
  }
  .mail-watch .mailbox .reader-head time {
    margin-left: 48px;
  }
}
@media (max-width: 650px) {
  .mail-watch .mailbox .panes {
    display: block;
    min-height: 0;
  }
  .mail-watch .mailbox .message-list {
    max-height: 320px;
  }
  .mail-watch .mailbox .reader-head, .mail-watch .mailbox .reader-body {
    padding-left: 16px;
    padding-right: 16px;
  }
  .mail-watch .mailbox .reader-head h2 {
    font-size: 18px;
  }
  .mail-watch .mailbox .reader-head time {
    margin-left: 48px;
  }
  .mail-watch .mailbox .attachment-card {
    width: 100%;
  }
  .mail-watch .mailbox .analysis {
    margin: 0 14px 20px;
    padding: 16px;
  }
  .mail-watch .mailbox .toolbar input {
    flex-basis: 100%;
  }
}

.mail-watch .help h3 {
  color: #333;
  font-weight: 600;
}

.mail-watch .paperclip-icon {
  display: block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mail-watch .mailbox .attachment-list-clip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #3f5669;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}

.mail-watch .mailbox .attachment-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #344e65;
  font-size: 12px;
  font-weight: 600;
}

.mail-watch .attachment-heading .paperclip-icon {
  width: 16px;
  height: 16px;
}

.mail-watch .mailbox .attachment-list-clip {
  align-self: baseline;
  align-items: baseline;
}

.mail-watch .mailbox .attachment-list-clip .paperclip-icon {
  align-self: center;
}

.mail-watch .intro-message {
  flex: 1;
  min-width: 0;
}

.mail-watch .intro-message > p {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 500;
  color: #333;
}

.mail-watch .intro-catchphrase {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.5;
  font-weight: 800;
}

.mail-watch .intro-description {
  display: block;
}

.mail-watch > main {
  padding-top: 3px;
}

.mail-watch .intro {
  gap: 18px;
  margin-bottom: 4px;
}

.mail-watch .intro h1 {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 2172 / 552;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
}

/* Keep the logo scale; hide half of the original transparent top/bottom margins. */
.mail-watch .intro h1 .mail-watch-logo {
  transform: translateY(-11.88%);
}

.mail-watch .preview-notice {
  margin-bottom: 12px;
  padding: 10px 16px;
  border: 1px solid #e5cc91;
  border-left: 4px solid #b37516;
  background: #fff9eb;
  color: #57431f;
  font-size: 14px;
  line-height: 1.7;
}

.mail-watch .preview-notice > strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
  color: #79500d;
}

.mail-watch .preview-notice > p {
  margin: 0;
}

.mail-watch .mail-safety-guide {
  margin: 36px auto 0;
  max-width: 1040px;
}
.mail-watch .safety-guide-header {
  display: block;
  margin-bottom: 24px;
}
.mail-watch .safety-guide-label {
  margin: 0 0 8px;
  color: #b83b18;
  font-size: 18px;
  font-weight: 700;
}
.mail-watch .safety-guide-header h2 {
  margin: 0 0 14px;
  color: #203e5b;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.5;
  font-weight: 800;
}
.mail-watch .safety-guide-description {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.8;
  color: #39485a;
}
.mail-watch .safety-guide-note {
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
  color: #637180;
}
.mail-watch .safety-cards {
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  padding-top: 4px;
  align-items: stretch;
}
.mail-watch .safety-card {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid #d9e3e9;
  border-radius: 14px;
  background: #fff;
}
.mail-watch .safety-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}
.mail-watch .safety-card-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 32px;
}
.mail-watch .safety-number {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 13px;
  border-radius: 6px;
  background: #b83b18;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.4;
}
.mail-watch .safety-cards h3 {
  margin-bottom: 14px;
  color: #203e5b;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.5;
  font-weight: 800;
}
.mail-watch .safety-cards p {
  max-width: 28em;
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.9;
  color: #39485a;
}
.mail-watch .safety-takeaway {
  margin-top: auto;
  padding: 14px;
  border-radius: 8px;
  background: #eef5f4;
}
.mail-watch .safety-takeaway > strong {
  display: block;
  margin-bottom: 5px;
  color: #23625b;
  font-size: 14px;
}
.mail-watch .safety-takeaway p {
  margin: 0;
  font-weight: 600;
}
@media (max-width: 650px) {
  .mail-watch .safety-card { grid-template-columns: 1fr; }
  .mail-watch .safety-card > img { max-height: 240px; background: #fffaf2; }
  .mail-watch .safety-card-copy { padding: 22px; }
}

.mail-watch .mail-safety-guide > h2 {
  margin: 0 0 12px;
  font-size: clamp(19px, 2.5vw, 24px);
  line-height: 1.6;
  color: #203e5b;
}

.mail-watch .mail-safety-guide > p {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #39485a;
}

.mail-watch .mail-body-content {
  position: relative;
  isolation: isolate;
}

.mail-watch .mail-check-pen {
  background-image: linear-gradient(transparent 66%, rgba(255, 189, 47, .65) 66%, rgba(255, 189, 47, .65) 92%, transparent 92%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.mail-watch .analysis-open .mail-check-pen {
  background-size: 100% 100%;
  animation: mail-check-stroke 550ms ease-out both;
}

@keyframes mail-check-stroke {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mail-watch .analysis-open .mail-check-pen { animation: none; }
}

.mail-watch .scam-stamp {
  position: absolute;
  top: 12px;
  right: 18px;
  width: clamp(150px, 30vw, 230px);
  max-width: 48%;
  height: auto;
  pointer-events: none;
  z-index: 1;
  transform-origin: center;
  animation: mail-stamp-press 650ms ease-out both;
}

@keyframes mail-stamp-press {
  0% { opacity: 0; transform: translateY(-24px) scale(1.65); }
  48% { opacity: 1; transform: translateY(2px) scale(0.94); }
  67% { transform: translateY(-3px) scale(1.04); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .mail-watch .scam-stamp { animation: none; }
}

@media (max-width: 650px) {
  .mail-watch .intro-message > p {
    margin-top: 12px;
    font-size: 15px;
  }
}
