.pet-data-panel { color: #21262d; font-size: 14px; line-height: 1.5; letter-spacing: 0; }
.pet-data-panel [hidden] { display: none !important; }
.pet-data-panel h2 { margin: 0; font-size: 22px; }
.pet-data-panel h3 { margin: 22px 0 12px; font-size: 16px; }
.pd-heading, .pd-actions, .pd-result-head, .pd-pagination, .pd-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pd-actions { justify-content: flex-end; }
.pd-boundary { color: #58616d; margin: 8px 0 18px; }
.pet-data-panel button, .pet-data-panel input, .pet-data-panel select { font: inherit; box-sizing: border-box; max-width: 100%; }
.pet-data-panel button { min-height: 36px; padding: 6px 12px; border: 1px solid #bdc5cd; background: #fff; color: #263139; border-radius: 4px; cursor: pointer; }
.pet-data-panel button:disabled { opacity: .5; cursor: default; }
.pet-data-panel button:focus-visible, .pet-data-panel input:focus-visible, .pet-data-panel select:focus-visible { outline: 3px solid #73b9cb; outline-offset: 2px; }
.pd-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 18px 0; border-top: 1px solid #dce1e6; border-bottom: 1px solid #dce1e6; }
.pd-form label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.pd-form input:not([type=checkbox]), .pd-form select { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid #bdc5cd; background: white; border-radius: 4px; color: #21262d; }
.pd-form .pd-file { grid-column: span 2; }
.pd-form .pd-confirm { flex-direction: row; align-items: center; align-self: end; min-height: 38px; }
.pd-form .pd-submit { justify-self: start; background: #176b57; color: white; border-color: #176b57; }
.pd-summary { padding: 18px 0; border-bottom: 1px solid #dce1e6; }
.pd-summary dl { margin: 12px 0 0; }
.pd-summary dl > div { display: grid; grid-template-columns: 75px minmax(0, 1fr); gap: 10px; margin: 5px 0; }
.pd-summary dt { color: #596370; }
.pd-summary dd { margin: 0; overflow-wrap: anywhere; }
.pd-scroll { overflow: auto; max-width: 100%; }
.pd-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.pd-table th { background: #f0f3f5; text-align: left; white-space: nowrap; color: #3c4853; }
.pd-table th, .pd-table td { padding: 10px 12px; border-bottom: 1px solid #e0e5e8; vertical-align: top; }
.pd-table td { max-width: 340px; overflow-wrap: anywhere; }
.pd-table td span, .pd-table td small { display: block; }
.pd-table td small { color: #626e7b; }
.pd-table a { color: #126f91; margin-right: 8px; white-space: nowrap; }
.pd-error { color: #a1262b; }
[data-pd-message]:not(:empty) { padding: 10px 0; }
.pd-tabs { display: flex; flex-wrap: wrap; gap: 0; }
.pd-tabs button { border-radius: 0; }
.pd-tabs [aria-pressed=true] { background: #e2efeb; border-color: #599582; }
.pd-pagination { justify-content: flex-end; margin-top: 12px; }
.pd-pagination button, [data-pd-refresh], [data-pd-close] { width: 38px; min-width: 38px; height: 38px; padding: 0 !important; }
.pet-data-panel dialog { border: 1px solid #aab5bf; border-radius: 6px; max-width: min(850px, calc(100vw - 32px)); width: 850px; max-height: 85vh; padding: 20px; color: inherit; }
.pet-data-panel dialog::backdrop { background: #0005; }
.pd-dialog-head h3 { margin: 0; }
@media(max-width: 650px) { .pd-form { grid-template-columns: minmax(0, 1fr); } .pd-form .pd-file { grid-column: auto; } .pd-result-head { align-items: flex-start; } .pd-table { min-width: 640px; } }
