.tsf-opt { font-weight: 400; color: #8a98a8; }
.tsl-card .tsf-h { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #8a98a8; }
.tsf-p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.5; color: #5b6b7c; }
.tsf-form { padding: 22px 24px; }
.tsl-form .tse-toggles.tsf-kinds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tsl-form .tse-toggles.tsf-kinds label { border-top: 1px solid #e4e9ee; }
.tsl-form .tse-toggles.tsf-kinds label:nth-child(-n+2) { border-top: 0; }
.tsl-form .tse-toggles.tsf-kinds label:nth-child(odd) { border-right: 1px solid #e4e9ee; }
.tsf-acts { display: flex; justify-content: flex-end; }
.tsf-state { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.tsf-state form { margin: 0; }
.tsf-facts { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.55; color: #5b6b7c; }
.tsf-facts li + li { margin-top: 6px; }

.tsf-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 6px 0 4px; font-size: 13.5px; color: #3d4a59; }
.tsf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: #e8f5ee; color: #17794b; font-size: 12.5px; font-weight: 700; }
.tsf-line-field { min-width: 0; overflow-wrap: anywhere; }
a.tsf-line-edit { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #5b1aa3; text-decoration: none; }
a.tsf-line-edit:hover { color: #7a22d6; text-decoration: underline; }
.tsf-line.is-off { margin-top: 4px; }

.tsf-open-sub { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: #5b6b7c; }
a.tsf-open-row { display: block; padding: 8px 0; border-top: 1px solid #e4e9ee; color: #1a2330; text-decoration: none; }
a.tsf-open-row b { display: block; font-size: 13.5px; font-weight: 650; }
a.tsf-open-row small { display: block; font-size: 12px; color: #8a98a8; }
a.tsf-open-row:hover b { color: #7a22d6; }

.tf2-field-pick, .tsop-field { width: 100%; height: 40px; margin: 10px 0 0; padding: 0 12px; border: 1px solid #e3e7ed; border-radius: 8px; background: #fbfcfd; font-size: 14px; color: #1a2330; }
.tsop-field { width: auto; max-width: 260px; margin: 0; }
.tf2-field-pick:focus, .tsop-field:focus { outline: 2px solid #c79bf0; outline-offset: 1px; border-color: #7a22d6; }
.tf2-facts .is-mine { color: #17794b; font-weight: 600; }

.tsf-card { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; padding: 16px 18px; border: 1px solid #d6eadf; border-radius: 10px; background: #f7fbf9; color: #1a2330; }
a.tsf-card { text-decoration: none; transition: border-color .15s, background-color .15s; }
a.tsf-card:hover { border-color: #a9d4bc; background: #eef7f2; color: #1a2330; }
a.tsf-card:focus-visible { outline: 2px solid #c79bf0; outline-offset: 2px; }
.tsf-card.is-closed { border-color: #e3e7ed; background: #f7f8fa; }
.tsf-card-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #17794b; }
.tsf-card.is-closed .tsf-card-kind { color: #8a98a8; }
.tsf-card-title { font-size: 18px; font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.tsf-card-facts { font-size: 14px; line-height: 1.5; color: #5b6b7c; }
.tsf-card-open { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: #17794b; }

@media (max-width: 900px) {
  .tsf-line { justify-content: center; text-align: center; }
  .tsf-line-field { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .tsf-form { padding: 16px; }
  .tsl-form .tse-toggles.tsf-kinds { grid-template-columns: minmax(0, 1fr); }
  .tsl-form .tse-toggles.tsf-kinds label:nth-child(odd) { border-right: 0; }
  .tsl-form .tse-toggles.tsf-kinds label:nth-child(2) { border-top: 1px solid #e4e9ee; }
  .tsop-field { max-width: none; width: 100%; }
}
