.lv-category-directory { background:#f5f8fa; color:#192f43; padding-bottom:64px; }
.lv-category-hero { background:radial-gradient(ellipse at 10% 0,#fff1c8,transparent 48%),linear-gradient(120deg,#e5f5ef,#eaf2ff); border-bottom:1px solid #d5e2e9; padding:28px 0 24px; }
.lv-category-breadcrumb { display:flex; flex-wrap:wrap; gap:10px; color:#485b66; font-size:13px; margin-bottom:28px; }
.lv-category-breadcrumb a { color:#2459a6; }
.lv-category-breadcrumb a:hover { text-decoration:underline; text-underline-offset:4px; }
.lv-category-heading { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.lv-category-heading>div { min-width:0; }
.lv-category-eyebrow { color:#006b5d; font-size:13px; font-weight:600; }
html[lang=fa] .lv-category-heading h1 { font-size:clamp(27px,3vw,38px); line-height:1.7; margin:10px 0 14px; color:#192f43; }
.lv-category-heading p { color:#485b66; font-size:15px; line-height:2; max-width:700px; margin:0; }
.lv-category-create { display:inline-flex; align-items:center; justify-content:center; gap:12px; flex-shrink:0; min-height:48px; border-radius:10px; background:#006b5d; color:#fff; font-size:14px; font-weight:600; padding:12px 20px; }
.lv-category-create:hover { background:#004c43; color:#fff; }
.lv-category-summary { display:flex; flex-wrap:wrap; gap:12px 26px; border-top:1px solid #ccdedb; padding-top:18px; margin-top:28px; color:#425e63; font-size:13px; }
.lv-category-content { padding-top:32px; }
.lv-category-list-heading { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; justify-content:space-between; margin-bottom:22px; }
html[lang=fa] .lv-category-list-heading h2 { color:#192f43; font-size:23px; line-height:1.8; margin:0; }
.lv-category-list-heading>a { display:inline-flex; align-items:center; gap:16px; color:#2459a6; font-size:13px; min-height:44px; }
.lv-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.lv-category-card { display:flex; flex-direction:column; min-width:0; padding:26px; border:1px solid #d5e2e9; border-top:3px solid var(--category-accent,#006b5d); background:#fff; border-radius:16px; color:#192f43; transition:transform .2s,box-shadow .2s,border-color .2s; }
.lv-category-card:hover { color:#192f43; transform:translateY(-3px); box-shadow:0 12px 28px #192f4310; border-color:#99b8bf; }
.lv-category-card-top { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:22px; }
.lv-category-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:12px; background:#e5f5ef; color:#006b5d; font-size:23px; }
.lv-category-card:nth-child(3n+2) .lv-category-icon { background:#eaf2ff; color:#2459a6; }
.lv-category-card:nth-child(3n+3) .lv-category-icon { background:#fff3c9; color:#775a0a; }
.lv-category-count { font-size:12px; color:#485b66; border:1px solid #e2e9ed; background:#f6f9fb; padding:4px 10px; border-radius:20px; }
html[lang=fa] .lv-category-card h2 { color:#192f43; font-size:21px; line-height:1.8; margin:0 0 12px; overflow-wrap:anywhere; }
.lv-category-card p { color:#485b66; font-size:14px; line-height:2; margin:0 0 24px; }
.lv-category-card-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:auto; padding-top:18px; border-top:1px solid #e2e9ed; color:#006b5d; font-size:13px; font-weight:600; }
.lv-category-help { display:flex; align-items:center; justify-content:space-between; gap:28px; background:#fff; border:1px solid #d5e2e9; border-radius:16px; padding:28px; margin-top:32px; }
.lv-category-help>div { min-width:0; }
html[lang=fa] .lv-category-help h2 { font-size:18px; line-height:1.8; margin:0 0 8px; color:#192f43; }
.lv-category-help p { font-size:13px; line-height:1.9; color:#485b66; margin:0; }
.lv-category-help form { display:flex; flex:0 1 350px; min-width:0; border:1px solid #b5c9c7; border-radius:10px; padding:4px; background:#fff; }
.lv-category-help input { width:100%; min-width:0; height:44px; border:0; background:transparent; padding:8px 12px; color:#192f43; font-family:inherit; font-size:14px; }
.lv-category-help button { width:44px; height:44px; flex-shrink:0; border:0; border-radius:7px; background:#006b5d; color:#fff; }
.lv-category-directory :is(a,input,button):focus-visible { outline:3px solid #2459a6; outline-offset:4px; }
.lv-category-empty { border:1px dashed #b5c9c7; border-radius:16px; background:#fff; padding:40px 24px; text-align:center; }
.lv-category-empty>i { display:block; color:#006b5d; font-size:32px; margin-bottom:20px; }
html[lang=fa] .lv-category-empty h2 { color:#192f43; font-size:22px; line-height:1.9; }
.lv-category-empty p { color:#485b66; line-height:2; font-size:14px; }
.lv-category-empty a { display:inline-flex; align-items:center; min-height:44px; color:#2459a6; text-decoration:underline; text-underline-offset:4px; }
@media(max-width:991px) {
 .lv-category-heading { align-items:start; flex-direction:column; gap:20px; }
 .lv-category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
 .lv-category-help { align-items:start; flex-direction:column; gap:18px; }
 .lv-category-help form { flex:auto; width:100%; max-width:500px; }
}
@media(max-width:575px) {
 .lv-category-directory { padding-bottom:40px; }
 .lv-category-hero { padding-top:22px; }
 .lv-category-breadcrumb { margin-bottom:22px; }
 .lv-category-heading p { font-size:14px; }
 .lv-category-create { width:100%; }
 .lv-category-grid { grid-template-columns:1fr; gap:16px; }
 .lv-category-card { padding:22px; }
 .lv-category-card-top { margin-bottom:18px; }
 .lv-category-help { padding:22px 18px; }
 .lv-category-help input { font-size:16px; }
 html[lang=fa] .lv-category-list-heading h2 { font-size:21px; }
}
@media(prefers-reduced-motion:reduce) { .lv-category-card { transition:none; } .lv-category-card:hover { transform:none; } }
