.tc-view { min-width: 0; }
.tc-breadcrumb { min-height: 24px; display: flex; align-items: center; gap: 10px; margin: -20px 2px 14px; color: #65758b; font-size: 12px; }
.tc-breadcrumb b { color: #9aabba; font-size: 17px; font-weight: 400; }
.tc-layout { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(320px, 1fr); gap: 16px; align-items: stretch; }
.tc-form, .tc-side-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.tc-form { min-width: 0; overflow: hidden; }
.tc-form-body { padding: 18px 18px 8px; }
.tc-section { padding-bottom: 14px; }
.tc-section h2, .tc-side-card h2 { margin: 0; color: #26344a; font-size: 15px; font-weight: 750; line-height: 1.35; }
.tc-section h2 { margin-bottom: 13px; }
.tc-section--last { padding-bottom: 3px; }
.tc-fields { display: grid; min-width: 0; gap: 13px 24px; }
.tc-fields--info, .tc-fields--assignment { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-fields--options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; }
.tc-wide { grid-column: 1 / -1; }
.tc-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #435168; font-size: 12px; font-weight: 650; }
.tc-field > span { line-height: 1.35; }
.tc-field em { margin-left: 3px; color: #e54b4b; font-style: normal; }
.tc-field input:not([type="hidden"]), .tc-field select, .tc-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #26344a; font-size: 13px; font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s; }
.tc-field input:not([type="hidden"]), .tc-field select { height: 38px; padding: 0 11px; }
.tc-field textarea { height: 60px; padding: 10px 11px; resize: vertical; }
.tc-field input::placeholder, .tc-field textarea::placeholder { color: #8e9caf; }
.tc-field input:focus, .tc-field select:focus, .tc-field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(20, 121, 232, .1); }
.tc-field select:disabled { background: #f4f7fa; color: #929eae; }
.tc-field > small:not(.tc-field-error) { min-height: 14px; color: #718197; font-size: 11px; font-weight: 400; line-height: 1.3; }
.tc-field-error { min-height: 0; color: #c53d3d; font-size: 11px; font-weight: 400; }
.tc-field.is-invalid input, .tc-field.is-invalid select, .tc-field.is-invalid textarea { border-color: #d96868; }
.tc-scope-note { min-height: 36px; display: flex; align-items: center; gap: 8px; margin: -1px 0 13px; padding: 7px 11px; border: 1px solid #bcd9fb; border-radius: 6px; background: #edf6ff; color: #41637f; font-size: 12px; }
.tc-scope-note svg { width: 16px; flex: 0 0 16px; color: var(--brand); }
.tc-confirm { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding-top: 6px; }
.tc-switch { display: flex; align-items: center; gap: 10px; color: #435168; font-size: 12px; cursor: pointer; }
.tc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.tc-switch i { width: 31px; height: 18px; padding: 2px; border-radius: 999px; background: #bcc7d6; transition: background .15s; }
.tc-switch i::after { width: 14px; height: 14px; display: block; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(20, 35, 55, .25); content: ''; transition: transform .15s; }
.tc-switch input:checked + i { background: var(--brand); }
.tc-switch input:checked + i::after { transform: translateX(13px); }
.tc-confirm small { margin: 5px 0 0 41px; color: #748398; font-size: 11px; }
.tc-form-error { margin: 8px 0 5px; padding: 9px 11px; border: 1px solid #efc2c2; border-radius: 6px; background: #fff3f3; color: #b73535; font-size: 12px; }
.tc-form-error[hidden] { display: none; }
.tc-actions { min-height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-top: 1px solid var(--line); }
.tc-actions > div { display: flex; gap: 10px; }
.tc-actions .button { min-width: 62px; }
.tc-actions .button-primary { min-width: 132px; }
.tc-aside { display: grid; grid-template-rows: auto 1fr; gap: 14px; min-width: 0; }
.tc-side-card { padding: 20px; }
.tc-side-card h2 { margin-bottom: 18px; }
.tc-summary dl { display: grid; gap: 13px; margin: 0; }
.tc-summary dl > div { min-height: 20px; display: grid; grid-template-columns: 42% 1fr; align-items: center; color: #526078; font-size: 12px; }
.tc-summary dt, .tc-summary dd { min-width: 0; }
.tc-summary dd { margin: 0; color: #394a61; overflow-wrap: anywhere; }
.tc-draft-badge { min-height: 25px; display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 5px; background: #e8f2ff; color: #1674dd; font-weight: 700; }
.tc-permission ul { margin: 0; padding-left: 19px; color: #526078; font-size: 12px; line-height: 1.65; }
.tc-permission li { padding: 0 0 13px 3px; }
.tc-page-alert { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #edcaca; border-radius: 7px; background: #fff7f7; color: #9f3939; font-size: 12px; }
.tc-page-alert > span svg { width: 16px; }
.tc-page-alert p { flex: 1; margin: 0; }
.tc-page-alert .button { min-height: 32px; font-size: 12px; }

@media (max-width: 1050px) { .tc-layout { grid-template-columns: minmax(0, 1.8fr) minmax(290px, 1fr); } .tc-fields { column-gap: 14px; } .tc-side-card { padding: 17px; } }
@media (max-width: 850px) { .tc-layout { grid-template-columns: 1fr; } .tc-aside { grid-template-columns: 1fr 1fr; grid-template-rows: auto; } .tc-fields--info, .tc-fields--assignment { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tc-fields--assignment .tc-field:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .tc-form-body { padding: 15px; } .tc-fields--info, .tc-fields--assignment, .tc-fields--options, .tc-aside { grid-template-columns: 1fr; } .tc-wide, .tc-fields--assignment .tc-field:last-child { grid-column: auto; } .tc-actions { padding: 10px 14px; gap: 10px; } .tc-actions > div { margin-left: auto; } .tc-actions .button { min-width: auto; padding: 0 10px; } .tc-section { padding-bottom: 20px; } }
