.tp-model { border: 2px solid #758296; border-radius: 16px; padding: 1rem; background: #faf8f1; color: #172840; }
.tp-model svg { display: block; width: 100%; max-width: 360px; height: auto; margin: 1rem auto; }
.tp-model .tp-controls { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch; }
.tp-model button { font: inherit; font-size: 1rem; line-height: 1.4; min-height: 48px; padding: 0.7rem 1rem; border: 2px solid #172840; border-radius: 8px; background: #fff; color: #172840; cursor: pointer; }
.tp-model button:hover { background: #ded8f5; }
.tp-model button:focus-visible { outline: 3px solid #8c3044; outline-offset: 3px; }
.tp-model button:disabled { color: #4b5769; background: #eee; cursor: default; }
.tp-model [data-tp-status] { padding: 0.75rem; border-left: 4px solid #245e56; min-height: 4.5em; }
@media (max-width: 420px) { .tp-model { padding: 0.65rem; } .tp-model button { width: calc(50% - 0.375rem); padding: 0.65rem 0.4rem; } }
@media (prefers-reduced-motion: reduce) { .tp-model *, .tp-model *::before, .tp-model *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.tp-model .tp-legend, .tp-model .tp-caption { margin: 0.75rem 0; line-height: 1.5; overflow-wrap: anywhere; }
.tp-model .tp-caption { border-left: 4px solid #8c3044; padding: 0.5rem 0.75rem; font-weight: 600; }
