.tn-team-page {
  --team-paper: #faf6ee;
  --team-wash: #f5efdf;
  --team-ink: #1a1208;
  --team-muted: #5a4a30;
  --team-line: #b8a888;
  --team-soft: #ddd4be;
  --team-button: #ede6d4;
  --team-button-text: #1a1208;
  --team-action-line: #b8a888;
  --team-hover: #dfd4bb;
  --team-primary: #1a1208;
  --team-primary-hover: #873600;
  --team-primary-text: #f7ead1;
  --team-focus: #a83d00;
  --team-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", system-ui, sans-serif;
  --team-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
}
body:is([data-scheme="dark"], [data-scheme="inverse"], [data-scheme="auto"][data-d="dark"], [data-scheme="auto"][data-l="dark"]) .tn-team-page,
html[data-scheme="dark"] body:not([data-scheme="light"]) .tn-team-page {
  --team-paper: #241d12;
  --team-wash: #322a1a;
  --team-ink: #efe6d2;
  --team-muted: #c3b492;
  --team-line: #6f6047;
  --team-soft: #574a37;
  --team-button: #2f2115;
  --team-button-text: #f7ead1;
  --team-action-line: #826744;
  --team-hover: #3a2a1b;
  --team-primary: #6a3b1f;
  --team-primary-hover: #824826;
  --team-primary-text: #f7ead1;
  --team-focus: #e8823f;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-team-page {
    --team-paper: #241d12;
    --team-wash: #322a1a;
    --team-ink: #efe6d2;
    --team-muted: #c3b492;
    --team-line: #6f6047;
    --team-soft: #574a37;
    --team-button: #2f2115;
    --team-button-text: #f7ead1;
    --team-action-line: #826744;
    --team-hover: #3a2a1b;
    --team-primary: #6a3b1f;
    --team-primary-hover: #824826;
    --team-primary-text: #f7ead1;
    --team-focus: #e8823f;
    color-scheme: dark;
  }
}
.tn-team-page [hidden] { display: none !important; }
.tn-team-page .tn-team-tool {
  width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-family: var(--team-sans);
  font-size: 14px;
  line-height: 1.6;
}
.tn-team-tool,
.tn-team-tool *,
.tn-team-tool *::before,
.tn-team-tool *::after { box-sizing: border-box; }
.tn-team-tool :is(form, label, h2, h3, ul, li) { margin: 0; padding: 0; }
.tn-team-tool p { margin: 0; }
.tn-team-tool .tn-team-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 16px;
  min-width: 0;
}
.tn-team-tool .tn-team-pane {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--team-line);
  background: var(--team-paper);
}
.tn-team-tool .tn-team-field {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none;
}
.tn-team-tool label {
  display: block;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  outline: none;
  box-shadow: none;
}
.tn-team-tool .tn-team-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  min-width: 0;
}
.tn-team-tool .tn-team-label-row .tn-team-count {
  flex: 0 0 auto;
  line-height: 1.5;
}
.tn-team-tool .tn-team-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr));
  align-items: start;
  gap: 10px;
  min-width: 0;
}
.tn-team-tool :is(input[type="text"], input[type="number"], select, textarea) {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--team-line);
  border-radius: 0;
  background-color: var(--team-paper);
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-family: var(--team-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  box-shadow: none;
}
.tn-team-tool :is(input[type="text"], input[type="number"], select) { height: 40px; min-height: 40px; }
.tn-team-tool textarea {
  height: auto;
  padding: 10px;
  line-height: 1.6;
  resize: vertical;
  white-space: pre-wrap;
  overflow-x: hidden;
  overflow-wrap: anywhere;
}
.tn-team-tool select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 26px;
  background-color: var(--team-wash);
  background-image: linear-gradient(45deg, transparent 50%, var(--team-ink) 50%), linear-gradient(135deg, var(--team-ink) 50%, transparent 50%);
  background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  font-size: 13px;
  cursor: pointer;
}
.tn-team-tool select option { background: var(--team-paper); color: var(--team-ink); }
.tn-team-tool #tnTeamAmount {
  font-family: var(--team-sans);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
}
.tn-team-tool :is(input, textarea)::placeholder {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-family: var(--team-sans);
  font-weight: 400;
  opacity: .35;
}
.tn-team-tool .tn-team-checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 14px 0;
  border-top: 1px solid var(--team-soft);
  border-bottom: 1px solid var(--team-soft);
}
.tn-team-tool .tn-team-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  min-height: 44px;
  cursor: pointer;
}
.tn-team-tool .tn-team-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--team-muted);
  border-radius: 0;
  background: var(--team-paper);
  color: var(--team-focus);
  -webkit-text-fill-color: var(--team-focus);
  box-shadow: none;
  cursor: pointer;
}
.tn-team-tool .tn-team-check input[type="checkbox"]:checked {
  border-color: var(--team-focus);
  background: var(--team-wash);
}
.tn-team-tool .tn-team-check input[type="checkbox"]:checked::after {
  content: "";
  width: 6px;
  height: 10px;
  margin-top: -2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.tn-team-tool .tn-team-check-text {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tn-team-tool .tn-team-check-text strong {
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
}
.tn-team-tool .tn-team-check-text small {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
}
.tn-team-tool .tn-team-custom {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.tn-team-tool .tn-team-custom > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-family: var(--team-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  list-style: none;
  outline: none;
  box-shadow: none;
  cursor: pointer;
}
.tn-team-tool .tn-team-custom > summary::-webkit-details-marker { display: none; }
.tn-team-tool .tn-team-custom > summary::marker { content: ""; }
.tn-team-tool .tn-team-custom > summary::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin: -4px 3px 0 auto;
  border-right: 1px solid var(--team-muted);
  border-bottom: 1px solid var(--team-muted);
  transform: rotate(45deg);
}
.tn-team-tool .tn-team-custom[open] > summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}
.tn-team-tool .tn-team-custom > summary > span {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-size: 12px;
  font-weight: 400;
}
.tn-team-tool .tn-team-custom > .tn-team-field { margin-top: 8px; }
.tn-team-tool .tn-team-custom > .tn-team-hint { margin-top: 8px; }
.tn-team-tool .tn-team-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.tn-team-tool button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  flex: 0 0 auto;
  height: 40px;
  min-height: 40px;
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  border: 1px solid var(--team-action-line);
  border-radius: 0;
  background: var(--team-button);
  color: var(--team-button-text);
  -webkit-text-fill-color: var(--team-button-text);
  font-family: var(--team-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  box-shadow: none;
  outline: none;
  cursor: pointer;
}
.tn-team-tool button:is(:hover, :focus-visible):not(:disabled) { background: var(--team-hover); }
.tn-team-tool #tnTeamGenerate {
  background: var(--team-primary);
  color: var(--team-primary-text);
  -webkit-text-fill-color: var(--team-primary-text);
}
.tn-team-tool #tnTeamGenerate:is(:hover, :focus-visible):not(:disabled) { background: var(--team-primary-hover); }
.tn-team-tool button:disabled { opacity: .55; cursor: not-allowed; }
.tn-team-tool :is(input, select, textarea) { outline: none; }
.tn-team-tool :is(input[type="text"], input[type="number"], select, textarea):focus {
  border-color: var(--team-line);
  outline: none;
  box-shadow: none;
}
.tn-team-tool :is(input[type="text"], input[type="number"], select, textarea):focus-visible,
.tn-team-tool .tn-team-custom > summary:focus-visible {
  box-shadow: inset 0 -2px 0 var(--team-focus);
}
.tn-team-tool :is(input[type="text"], input[type="number"], select, textarea)[aria-invalid="true"] {
  border-color: var(--team-focus);
}
.tn-team-tool button:focus-visible,
.tn-team-tool .tn-team-check input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--team-focus);
  outline-offset: 2px;
}
.tn-team-tool :is(.tn-team-hint, .tn-team-count, #tnTeamPreview, #tnTeamCopyStatus, .tn-team-empty) {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.tn-team-tool :is(#tnTeamCount, .tn-team-number) {
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-family: var(--team-sans);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
}
.tn-team-tool #tnTeamSummary {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--team-soft);
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.tn-team-tool .tn-team-output > .tn-team-actions {
  padding-top: 12px;
  border-top: 1px solid var(--team-soft);
}
.tn-team-tool .tn-team-reveal {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  min-width: 0;
  min-height: 172px;
  padding: 24px 12px;
  background: var(--team-wash);
  text-align: center;
}
.tn-team-tool #tnTeamCountdown {
  color: var(--team-focus);
  -webkit-text-fill-color: var(--team-focus);
  font-family: var(--team-sans);
  font-size: clamp(52px, 8vw, 72px);
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}
.tn-team-tool .tn-team-reveal p {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tn-team-tool[data-drawing="true"] #tnTeamSummary {
  color: var(--team-focus);
  -webkit-text-fill-color: var(--team-focus);
}
.tn-team-tool #tnTeamError {
  color: var(--team-focus);
  -webkit-text-fill-color: var(--team-focus);
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.tn-team-tool :is(#tnTeamError, #tnTeamCopyStatus):empty { display: none; }
.tn-team-tool #tnTeamResults {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(220px, calc(50% - 6px))), 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
}
.tn-team-tool .tn-team-empty { grid-column: 1 / -1; }
.tn-team-tool .tn-team-card {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--team-soft);
  border-radius: 0;
  background: var(--team-paper);
  box-shadow: none;
}
.tn-team-tool .tn-team-card h3 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--team-soft);
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-family: var(--team-sans);
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.5;
  letter-spacing: normal;
}
.tn-team-tool .tn-team-index {
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-family: var(--team-sans);
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.tn-team-tool .tn-team-title {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.tn-team-tool .tn-team-card .tn-team-number {
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.tn-team-tool .tn-team-card ul { display: grid; gap: 7px; list-style: none; }
.tn-team-tool .tn-team-card li {
  display: flex;
  align-items: start;
  gap: 8px;
  min-width: 0;
  list-style: none;
  color: var(--team-ink);
  -webkit-text-fill-color: var(--team-ink);
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
.tn-team-tool .tn-team-card li::before { content: none; }
.tn-team-tool .tn-team-person {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}
.tn-team-tool .tn-team-card li.is-leader .tn-team-person { font-weight: 600; }
.tn-team-tool .tn-team-leader {
  flex: 0 0 auto;
  padding: 0 5px;
  border: 1px solid var(--team-soft);
  background: var(--team-wash);
  color: var(--team-focus);
  -webkit-text-fill-color: var(--team-focus);
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  white-space: nowrap;
}
.tn-team-tool #tnTeamCopyText { font-size: 14px; }
.tn-team-tool :is(.tn-team-privacy, noscript p) {
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--team-line);
  color: var(--team-muted);
  -webkit-text-fill-color: var(--team-muted);
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.tn-team-page .tn-team-ad {
  width: 100%;
  max-width: 900px;
  min-height: 90px;
  height: auto;
  max-height: none;
  margin: 24px auto;
  border: 0;
  background: transparent;
  overflow: visible;
}
.tn-team-page .tn-team-ad--top { margin-top: 0; }
@media (max-width: 720px) {
  .tn-team-tool .tn-team-workspace { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tn-team-tool .tn-team-pane { padding: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-team-tool,
  .tn-team-tool *,
  .tn-team-tool *::before,
  .tn-team-tool *::after {
    animation: none;
    transition: none;
    scroll-behavior: auto;
  }
}
