/* Terms & document rules page (apply/terms.php): readable long text, in the portal frame and on its own for signed-out visitors. */
.tc { line-height: 1.7; color: #1f2937; }
.tc .tc-doc { margin: 0 0 2rem; scroll-margin-top: 80px; }
.tc .tc-doc + .tc-doc { padding-top: 1.5rem; border-top: 2px solid #e5e7eb; }
.tc h2 { font-size: 1.35rem; margin: 0 0 .75rem; color: #1e3a8a; }
.tc h3 { font-size: 1rem; margin: 1.4rem 0 .35rem; color: #111827; }
.tc p { margin: 0 0 .75rem; }
.tc ul { margin: 0 0 .9rem; padding-left: 1.25rem; }
.tc li { margin: 0 0 .4rem; }
.tc-status p { margin: 0 0 .4rem; }
.tc-status i { color: #1e3a8a; margin-right: .35rem; }
.tc-jump { margin: .5rem 0 1rem; font-weight: 600; }
.ap-decl { border-left: 4px solid #f59e0b; margin-bottom: 1rem; }
.ap-decl h2 { font-size: 1.05rem; margin: 0 0 .5rem; }
.ap-decl h2 i, .ap-decl-done i { color: #b45309; margin-right: .35rem; }
.ap-decl ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.ap-decl .ap-uperr, .ap-decl-done { margin-top: .4rem; }
.ap-decl .ap-uperr { color: #b91c1c; display: none; font-size: .9rem; }
.tc-public { margin: 0; background: #f3f6fb; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1f2937; }
.tc-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: .75rem 1.25rem; background: #fff; border-bottom: 1px solid #e5e7eb; }
.tc-top img { display: block; height: auto; max-width: 100%; }
.tc-back { font-weight: 600; color: #1e3a8a; text-decoration: none; }
.tc-wrap { max-width: 820px; margin: 0 auto; padding: 1.5rem 16px 3rem; }
.tc-wrap h1 { margin: .5rem 0; font-size: 1.8rem; color: #0f172a; }
.tc-lead { color: #475569; }
.tc-public .tc { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 1.25rem 1.25rem .25rem; }
.tc-foot { margin-top: 1.5rem; font-size: .85rem; color: #64748b; text-align: center; }
@media (min-width: 700px) { .tc-public .tc { padding: 1.75rem 2rem .5rem; } }
