.tp-dialog { width: min(760px, calc(100vw - 28px)); }
.tp-form { display: grid; gap: 16px; }
.tp-form label { display: grid; gap: 6px; font-size: 13px; }
.tp-form input:not([type=checkbox]), .tp-form textarea, .tp-form select { width: 100%; min-width: 0; }
.tp-form textarea { resize: vertical; min-height: 68px; }
.tp-people { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.tp-people label, .tp-form .tp-confirm { display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.tp-form input[type=checkbox] { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 3px; }
.tp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tp-obligation, .tp-record { padding: 14px; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
.tp-obligation h3, .tp-obligations h3, .tp-record h3 { font-size: 14px; margin: 4px 0 12px; }
.tp-obligation .tp-confirm { margin-top: 12px; }
.tp-notice, .tp-conflict { padding: 12px; border-radius: 8px; background: rgba(0,229,255,.07); }
.tp-conflict { background: rgba(255,171,0,.08); }
.tp-footer { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.tp-record summary { display: grid; gap: 7px; cursor: pointer; }
.tp-record summary span, .tp-record dt { color: var(--muted); font-size: 12px; }
.tp-record-facts { display: flex; flex-wrap: wrap; gap: 20px; }.tp-record dd { margin: 6px 0; }
.tp-record article, .tp-evidence article { margin-top: 16px; }.tp-dialog p, .tp-dialog strong { overflow-wrap: anywhere; }
@media (max-width: 600px) { .tp-dialog { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }.tp-fields { grid-template-columns: 1fr; }.tp-footer button { flex: 1 1 auto; }.tp-people { padding: 12px; gap: 12px; } }
