.kia-ph-main { max-width: 56rem; margin: 0 auto; padding: 2rem 1rem; }
.kia-ph-title { font-size: 1.5rem; font-weight: 900; margin: 0 0 1.25rem; color: #0f172a; }
.kia-ph { direction: rtl; color: #1e293b; }
.kia-ph * { box-sizing: border-box; }
.kia-ph-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.kia-ph-form input[type=search], .kia-ph-form select { flex: 1 1 12rem; padding: .6rem .8rem; border: 1px solid #cbd5e1; border-radius: .75rem; background: #fff; color: inherit; font: inherit; font-size: .875rem; }
.kia-ph-form button, .kia-ph-report button { padding: .6rem 1.2rem; border: 0; border-radius: .75rem; background: #ea580c; color: #fff; font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.kia-ph-form button:hover, .kia-ph-report button:hover { background: #c2410c; }
.kia-ph-check { font-size: .8rem; display: inline-flex; gap: .3rem; align-items: center; }
.kia-ph-count { font-size: .8rem; color: #64748b; margin: 0 0 .75rem; }
.kia-ph-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.kia-ph-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1rem; padding: 1rem; }
.kia-ph-head { display: flex; justify-content: space-between; gap: .5rem; align-items: flex-start; }
.kia-ph-head h3 { margin: 0; font-size: 1rem; font-weight: 800; line-height: 1.6; }
.kia-ph-head a { color: #0f172a; text-decoration: none; }
.kia-ph-head a:hover { color: #ea580c; }
.kia-ph-badge { flex: none; font-size: .7rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; background: #f1f5f9; color: #475569; }
.kia-ph-night { background: #1e293b; color: #fff; }
.kia-ph-day { background: #dcfce7; color: #166534; }
.kia-ph-half { background: #fef3c7; color: #92400e; }
.kia-ph-city { font-size: .75rem; color: #ea580c; font-weight: 700; margin-top: .15rem; }
.kia-ph-addr { margin: .5rem 0 0; font-size: .85rem; line-height: 1.9; color: #475569; }
.kia-ph-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.kia-ph-btn { display: inline-flex; gap: .35rem; padding: .4rem .9rem; border-radius: .7rem; background: #ea580c; color: #fff !important; font-size: .8rem; font-weight: 700; text-decoration: none; }
.kia-ph-btn-alt { background: #fff; color: #334155 !important; border: 1px solid #cbd5e1; }
.kia-ph-btn:hover { opacity: .9; }
.kia-ph-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; justify-content: center; padding: 0; margin: 1.25rem 0 0; }
.kia-ph-pages a, .kia-ph-pages span { display: block; padding: .35rem .75rem; border: 1px solid #cbd5e1; border-radius: .6rem; font-size: .8rem; text-decoration: none; color: #334155; }
.kia-ph-pages .current { background: #ea580c; border-color: #ea580c; color: #fff; }
.kia-ph-empty, .kia-ph-note { font-size: .8rem; color: #64748b; margin-top: 1rem; }
.kia-ph-dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 1rem 0; font-size: .9rem; }
.kia-ph-dl dt { font-weight: 800; color: #475569; }
.kia-ph-dl dd { margin: 0; }
.kia-ph-notice { padding: .6rem .9rem; border-radius: .7rem; background: #ecfdf5; color: #065f46; font-size: .85rem; }
.kia-ph-report { margin-top: 1.25rem; font-size: .85rem; }
.kia-ph-report summary { cursor: pointer; color: #64748b; }
.kia-ph-report textarea { width: 100%; margin: .6rem 0; padding: .6rem; border: 1px solid #cbd5e1; border-radius: .75rem; font: inherit; }
html.dark .kia-ph, html.dark .kia-ph-title { color: #e2e8f0; }
html.dark .kia-ph-card, html.dark .kia-ph-form input[type=search], html.dark .kia-ph-form select { background: #0f172a; border-color: #334155; }
html.dark .kia-ph-head a { color: #f1f5f9; }
html.dark .kia-ph-addr, html.dark .kia-ph-count, html.dark .kia-ph-note, html.dark .kia-ph-dl dt { color: #94a3b8; }
html.dark .kia-ph-badge { background: #1e293b; color: #cbd5e1; }
html.dark .kia-ph-btn-alt, html.dark .kia-ph-pages a, html.dark .kia-ph-pages span { background: #0f172a; color: #e2e8f0 !important; border-color: #334155; }
html.dark .kia-ph-pages .current { background: #ea580c; color: #fff !important; }

.kia-ph-chips { display: flex; flex-wrap: wrap; gap: .4rem; flex-basis: 100%; }
.kia-ph-chip { position: relative; display: inline-flex; cursor: pointer; }
.kia-ph-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kia-ph-chip span { font-size: .8rem; border: 1px solid #cbd5e1; border-radius: 999px; padding: .2rem .85rem; background: #fff; color: #334155; }
.kia-ph-chip input:checked + span { background: #ea580c; border-color: #ea580c; color: #fff; font-weight: 700; }
.kia-ph-chip input:focus-visible + span { outline: 2px solid #ea580c; outline-offset: 2px; }
.kia-ph-chip.is-empty { opacity: .45; cursor: not-allowed; }
.kia-ph-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .4rem; }
.kia-ph-tags span { font-size: .7rem; padding: .05rem .55rem; border-radius: 999px; background: #e0f2fe; color: #075985; }
html.dark .kia-ph-chip span { background: #0f172a; border-color: #334155; color: #e2e8f0; }
html.dark .kia-ph-chip input:checked + span { background: #ea580c; color: #fff; }
html.dark .kia-ph-tags span { background: #0c4a6e; color: #e0f2fe; }
