.ti-module, .ti-module [data-ti-content] { display: grid; gap: 1.2rem; min-width: 0; }
.ti-module .panel { min-width: 0; }
.ti-heading { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border); background: radial-gradient(ellipse at top right,rgba(14,165,233,.16),transparent 70%),var(--bg-elev); }
.ti-heading h2 { font-family: var(--display); font-size: clamp(1.9rem,3vw,2.6rem); margin: .6rem 0; }
.ti-heading p, .ti-api-card p { color: var(--muted); line-height: 1.7; }
.ti-eyebrow { color: var(--accent); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.ti-api-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.ti-api-card { display: flex; flex-direction: column; gap: .5rem; }
.ti-api-card h3 { font-size: 1.35rem; margin: .4rem 0; }
.ti-api-symbol { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--border); border-radius: 12px; font-size: 1.6rem; color: var(--accent); margin-bottom: .5rem; }
.ti-base-url { display: block; overflow-wrap: anywhere; font-size: .75rem; color: var(--muted); margin: auto 0 .8rem; }
.ti-actions, .ti-view-controls, .ti-slide-controls, .ti-filters { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.ti-view-controls { justify-content: space-between; }
.ti-slide-controls[hidden] { display: none; }
.ti-slide-controls .field { flex: 1 1 220px; min-width: 0; }
.ti-slide-controls select { max-width: 100%; }
.ti-view-controls button[aria-pressed=true] { outline: 1px solid var(--accent); }
.ti-markdown { line-height: 1.8; overflow-wrap: anywhere; }
.ti-markdown h1 { font-size: clamp(1.6rem,3vw,2.3rem); }
.ti-markdown h2 { margin: 1.5rem 0 .6rem; font-size: 1.45rem; }
.ti-markdown h3 { font-size: 1.1rem; }
.ti-markdown p { margin: .75rem 0; }
.ti-markdown li { margin: .4rem 0; }
.ti-markdown ul, .ti-markdown ol { padding-left: 1.6rem; }
.ti-markdown pre { overflow: auto; max-width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; line-height: 1.55; font-size: .78rem; white-space: pre; }
.ti-markdown code { color: #7dd3fc; font-size: .86em; }
.ti-markdown pre code { font-size: inherit; }
.ti-markdown blockquote { border-left: 3px solid var(--accent); padding-left: 1rem; margin: 1rem 0; color: var(--muted); }
.ti-markdown hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
.ti-markdown table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.ti-markdown th, .ti-markdown td { border-bottom: 1px solid var(--border); text-align: left; padding: .7rem; }
.ti-slide { min-height: 400px; }
.ti-form { display: grid; gap: 1rem; margin-top: 1.2rem; }
.ti-form .btn { justify-self: start; }
.ti-form textarea { width: 100%; box-sizing: border-box; }
.ti-filters { align-items: end; }
.ti-filters .field { flex: 1 1 160px; }
.ti-new-ticket summary { cursor: pointer; font-weight: 600; }
.ti-ticket-list { display: grid; margin: 1rem 0; }
.ti-ticket { display: flex; gap: 1rem; align-items: center; justify-content: space-between; padding: 1rem 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.ti-ticket strong, .ti-ticket small { display: block; margin: .3rem 0; overflow-wrap: anywhere; }
.ti-ticket small, .ti-timeline small { font-size: .75rem; color: var(--muted); }
.ti-badge { display: inline-block; font-size: .75rem; padding: .3rem .7rem; border: 1px solid var(--border); border-radius: 20px; white-space: nowrap; color: var(--accent); }
.ti-status-resolvido, .ti-status-encerrado { color: #5eead4; }
.ti-message { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.ti-timeline article { border-left: 2px solid var(--border); padding: 1rem; margin: .6rem 0; }
.ti-timeline small { display: block; margin: .4rem 0; }
@media(max-width:760px) { .ti-api-grid { grid-template-columns: 1fr; } .ti-heading { padding: 1.2rem; } .ti-ticket { align-items: start; flex-direction: column; } .ti-module .table-wrap { max-width: 100%; overflow: auto; } }
