
.tr-main {
  max-width: 620px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.tr-panel h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.tr-lead {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-muted);
}

.tr-panel form { margin-top: 38px; }

.tr-field { margin-bottom: 22px; }
.tr-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.tr-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.16s, box-shadow 0.16s;
}

.tr-field textarea {
  width: 100%;
  min-height: 148px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  resize: vertical;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.tr-field input:hover,
.tr-field textarea:hover { border-color: #b8c0cb; }
.tr-field input:focus,
.tr-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.07);
}
.tr-field input[aria-invalid="true"],
.tr-field textarea[aria-invalid="true"] { border-color: #b91c1c; }

.tr-opt { font-weight: 400; color: var(--text-dim); }

.tr-note a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.tr-note a:hover { color: var(--ink); }

.tr-err {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  color: #b91c1c;
}
.tr-alert {
  margin-top: 24px;
  padding: 14px 16px;
  border: 1px solid rgba(185, 28, 28, 0.25);
  border-left: 3px solid #b91c1c;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.04);
  font-size: 14px;
  line-height: 1.5;
}

.tr-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tr-submit { margin-top: 6px; }
.tr-note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

.tr-main-wide { max-width: 860px; }

.tr-step {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.tr-days { margin-top: 36px; }
.tr-days.is-sending { opacity: 0.5; pointer-events: none; }

.tr-day {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.tr-day:first-child { border-top: 0; padding-top: 0; }
.tr-day-h {
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.tr-day-h::first-letter { text-transform: uppercase; }
.tr-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-slot {
  min-width: 84px;
  height: 42px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}
.tr-slot:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tr-slot:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.tr-slot.is-taken,
.tr-slot.is-taken:hover {
  background: var(--bg-3);
  border-color: transparent;
  color: var(--text-dim);
  cursor: not-allowed;
}

.tr-empty {
  padding: 26px 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

.tr-skip {
  display: inline-block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tr-skip:hover { color: var(--text); }

.tr-done { text-align: center; }
.tr-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #d1fae5;
  color: #065f46;
}
.tr-check svg { width: 26px; height: 26px; }
.tr-when {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.tr-when::first-letter { text-transform: uppercase; }
.tr-done p {
  margin: 18px auto 32px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.62;
  color: var(--text-muted);
}

.tr-meet { margin-bottom: 10px; }
.tr-meet-url {
  font-size: 13.5px;
  color: var(--text-muted);
  word-break: break-all;
}
.tr-done .tr-meet-url { margin: 10px auto 22px; }

.tr-add-cal { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.tr-done .tr-add-cal { margin: 0 auto 30px; font-size: 14.5px; }
.tr-add-cal a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.tr-add-cal a:hover { opacity: 0.7; }

@media (max-width: 640px) {
  .tr-main { padding: 44px 20px 80px; }
  .tr-lead, .tr-done p { font-size: 16px; }
}
