/* Team assessment setup + dashboard; .tm-field / .tm-copy are shared with the sponsor kit. */
.tm-app { padding-top: 0; margin-top: clamp(-80px, -7vw, -50px); position: relative; }
.tm-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.tm-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: clamp(20px, 3.5vw, 36px); margin-bottom: 20px; }
.tm-card h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 8px; }
.tm-muted { color: var(--muted); }
.tm-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tm-field label, .tm-link > label, .td-share label, .sk-out label { font-weight: 700; font-size: .92rem; color: var(--navy-800); }
.tm-field input, .tm-field select, .tm-copy input, .tm-link textarea, .sk-out input, .sk-out textarea { width: 100%; font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #cfd5e3; border-radius: 10px; background: #fff; color: var(--ink); }
.tm-field input:focus, .tm-field select:focus, .tm-copy input:focus, .tm-link textarea:focus, .sk-out textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
.tm-field label span { color: var(--orange); }
.tm-link { margin: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.tm-link textarea { resize: vertical; font-size: .95rem; line-height: 1.5; background: var(--paper); }
.tm-link .text-link { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--navy-700); }
.tm-copy { display: flex; gap: 8px; }
.tm-copy input { flex: 1; min-width: 0; background: var(--paper); font-size: .92rem; }
.tm-copy .btn { flex: none; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 18px 0 0; }
.tm-side { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 28px); }
.tm-side h3 { margin-top: 0; }
.tm-private { font-size: .92rem; color: var(--muted); margin: 14px 0 0; border-top: 1px solid var(--line); padding-top: 14px; }
.tm-done[hidden], #tm-create[hidden] { display: none; }
/* Dashboard */
.td-share { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.td-grid { display: grid; gap: 0; }
.td-overall { display: flex; gap: 24px; align-items: center; }
.td-h { margin-bottom: 18px !important; }
.td-area { margin-bottom: 18px; }
.td-area-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--navy-800); }
.td-area-head em { font-style: normal; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: #fff1e8; color: var(--orange-dark); padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.td-area-head em.td-strength { background: #e8f5ee; color: #136c3a; }
.td-meter { position: relative; height: 12px; border-radius: 999px; background: var(--navy-100); margin: 8px 0 4px; }
.td-range { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #b9c5e6; }
.td-avg { position: absolute; top: -4px; width: 4px; height: 20px; margin-left: -2px; border-radius: 2px; background: var(--orange); }
.td-grow .td-avg { background: var(--orange-dark); }
.td-strong .td-avg { background: #1f8a4c; }
.td-area p { margin: 0; font-size: .85rem; color: var(--muted); }
.td-legend { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.td-key-range { display: inline-block; width: 26px; height: 10px; border-radius: 999px; background: #b9c5e6; }
.td-key-avg { display: inline-block; width: 4px; height: 16px; border-radius: 2px; background: var(--orange); margin-left: 10px; }
.td-next { border-left: 5px solid var(--orange); }
.td-progress { height: 12px; border-radius: 999px; background: var(--navy-100); overflow: hidden; margin: 12px 0; }
.td-progress span { display: block; height: 100%; background: var(--orange); }
@media (max-width: 860px) { .tm-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .td-overall { flex-direction: column; text-align: center; } .tm-copy { flex-direction: column; } .tm-copy .btn, .tm-actions .btn { width: 100%; text-align: center; } }
