.ptix { --ptix-accent: #211a52; --ptix-line: #dcdcde; max-width: 900px; }
.ptix-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; color: #fff; font-size: .8em; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.ptix-badge--open { background: #2271b1; }
.ptix-badge--in_progress { background: #b26200; }
.ptix-badge--on_hold { background: #646970; }
.ptix-badge--closed { background: #d63638; }
.ptix-muted { color: #757575; font-weight: normal; }

.ptix-notice { padding: 12px 16px; margin: 0 0 20px; border-left: 4px solid #8c8f94; background: #f6f7f7; }
.ptix-notice--success { border-color: #00a32a; background: #edfaef; }
.ptix-notice--error { border-color: #d63638; background: #fcf0f1; }
.ptix-notice ul { margin: 0; padding-left: 18px; }

.ptix-instructions { margin-bottom: 20px; padding: 16px 20px; background: #f6f7f7; border-radius: 4px; }
.ptix-instructions > :last-child { margin-bottom: 0; }

.ptix-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; border-bottom: 1px solid var(--ptix-line); margin-bottom: 20px; padding-bottom: 8px; }
.ptix-nav a { text-decoration: none; }
.ptix-nav a.is-active { font-weight: 700; border-bottom: 2px solid currentColor; }
.ptix-nav__user { margin-left: auto; font-size: .9em; }

.ptix-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.ptix-form input[type="text"], .ptix-form input[type="email"], .ptix-form input[type="password"] { width: 100%; box-sizing: border-box; padding: 8px; }
.ptix-row { display: flex; gap: 12px; }
.ptix-row label { flex: 1; }
.ptix-editor { margin: 12px 0; }
.ptix-editor .wp-editor-wrap { margin-top: 4px; }
.ptix-hint { font-size: .9em; color: #50575e; }
.ptix-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }
.ptix-button { cursor: pointer; padding: 10px 18px; border: 0; border-radius: 4px; background: var(--ptix-accent); color: #fff; font-size: 1em; }
.ptix-button--secondary { background: transparent; color: #b32d2e; text-decoration: underline; }
.ptix-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }

.ptix-table { width: 100%; border-collapse: collapse; }
.ptix-table th, .ptix-table td { text-align: left; padding: 8px; border-bottom: 1px solid var(--ptix-line); }

.ptix-ticket__head { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.ptix-ticket__head h2 { margin: 0; }
.ptix-log { background: #f6f7f7; text-align: center; padding: 8px; margin: 10px 0; font-size: .9em; color: #50575e; }
.ptix-reply { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--ptix-line); }
.ptix-reply--staff { background: #f8fbff; }
.ptix-reply__avatar img { border-radius: 50%; display: block; }
.ptix-reply__body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ptix-reply__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.ptix-reply__date { margin-left: auto; color: #757575; font-size: .9em; }

@media (max-width: 600px) {
	.ptix-row { flex-direction: column; }
	.ptix-reply__avatar { display: none; }
}
.ptix-form input[type="url"] { width: 100%; box-sizing: border-box; padding: 8px; }
.ptix-form .ptix-hint { display: block; margin-top: 4px; }
.ptix-file-link { margin: 12px 0; padding: 10px 14px; background: #f6f7f7; border-radius: 4px; overflow-wrap: anywhere; }
