.tm { --navy: #31335a; --ink: #4b5470; --muted: #7c8499; --blue: #006da5; --tint: #f7f8fc; --line: #e3e6ef;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); margin: 0 -24px; }
.tm h1, .tm h2 { font-family: Nunito, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--navy); }
.tm-top { background: var(--tint); padding: 48px 16px 40px; text-align: center; }
.tm-top h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 18px; }
.tm-field { display: inline-flex; align-items: center; max-width: 100%; height: 50px; padding: 0 6px 0 20px; border: 1px solid #cfd4e2;
  border-radius: 999px; background: #fff; }
.tm-field.editing { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 109, 165, .15); }
.tm-field input, .tm-field .suffix { font-size: 1.1rem; color: var(--navy); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.tm-field input { border: 0; background: transparent; padding: 0; min-width: 0; }
.tm-field input[readonly] { cursor: default; }
.tm-field input:focus { outline: none; }
.tm-field .suffix { white-space: nowrap; padding-right: 10px; }
.tm-field.editing .suffix { color: var(--muted); }
.tm-field .copy { flex: 0 0 auto; height: 38px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 700; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.tm-field .copy:hover { background: #005a89; }
.tm-field .copy:disabled { opacity: .45; cursor: default; }
.tm-sub { max-width: 560px; margin: 12px auto 0; font-size: .92rem; color: var(--muted); }
.tm-sub.err { color: #b3261e; }
.tm-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tm-actions button { min-width: 112px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--navy); font-weight: 700; cursor: pointer; }
.tm-actions button:hover { border-color: var(--blue); color: var(--blue); }
.tm-actions button.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.tm-actions button.primary:hover { background: #005a89; }
.tm button:focus-visible, .tm input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.tm-body { padding: 28px 16px 8px; }
.tm-inner { max-width: 760px; margin: 0 auto; }
.tm-inbox { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tm-inbox-head, .tm-row { display: grid; grid-template-columns: 1.1fr 2fr 70px; gap: 12px; align-items: center; padding: 12px 18px; }
.tm-inbox-head { background: var(--navy); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tm-inbox-head span:last-child, .tm-row span:last-child { text-align: right; }
.tm-row { border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.tm-row:hover { background: var(--tint); }
.tm-row .from { font-weight: 700; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-row .subj { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-row .view { color: var(--blue); font-weight: 700; }
.tm-empty { padding: 44px 18px; text-align: center; color: var(--muted); }
.tm-empty strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.tm-status { margin-top: 10px; font-size: .85rem; color: var(--muted); text-align: center; }
.tm-status a { color: var(--blue); }
.tm-warn { margin: 0 auto 16px; max-width: 760px; background: #FFF4E5; border: 1px solid #F5B971; border-left: 6px solid #E8890C; border-radius: 6px;
  padding: 14px 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; text-align: left; }
.tm-warn .msg { display: flex; gap: 12px; align-items: flex-start; max-width: 520px; }
.tm-warn .fa { color: #E8890C; font-size: 1.35rem; margin-top: 2px; }
.tm-warn .head { font-weight: 700; color: #7A4100; }
.tm-warn .sub { font-size: .9rem; color: #5C3A10; margin-top: 2px; }
.tm-warn .btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-warn a { display: inline-block; padding: 7px 14px; border-radius: 6px; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.tm-warn a.solid { background: #E8890C; color: #fff; }
.tm-warn a.outline { border: 1px solid #c9a46b; color: #7A4100; background: #fff; }
.tm-warn .msg { max-width: 460px; }
.tm-info { padding: 24px 16px 56px; }
.tm-info h2 { font-size: 1.2rem; font-weight: 800; margin: 28px 0 8px; }
.tm-info p, .tm-info dd { font-size: .95rem; line-height: 1.6; }
.tm-info a { color: var(--blue); }
.tm-info dt { font-weight: 700; color: var(--navy); margin-top: 12px; }
.tm-info dd { margin: 2px 0 0; }
@media (max-width: 560px) { .tm-inbox-head, .tm-row { grid-template-columns: 1fr 1.4fr 48px; padding: 10px 12px; }
  .tm-field { height: 46px; padding-left: 14px; } .tm-field input, .tm-field .suffix { font-size: .95rem; } .tm-field .copy { padding: 0 12px; height: 34px; } }
