/* Brisalica Core 0.3.3 – styles scoped to plugin components */
.bris-catalog,.bris-service-profile,.bris-guides{--bris-border:#dfe5e9;--bris-ink:#172a35;--bris-muted:#56636e;color:var(--bris-ink);max-width:100%}
.bris-catalog *,.bris-service-profile *,.bris-guides *{box-sizing:border-box}
.bris-catalog-controls{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:14px;margin:20px 0 12px}
.bris-catalog-controls label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}
.bris-catalog-controls input,.bris-catalog-controls select{width:100%;min-width:0;min-height:44px;border:1px solid #bac8d0;border-radius:9px;background:#fff;padding:9px 12px;color:#172a35;font:inherit}
.bris-catalog-count{font-size:14px;color:var(--bris-muted);margin:0 0 14px}
.bris-catalog .bris-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px;align-items:stretch}
.bris-service-card{min-width:0;border:1px solid var(--bris-border);border-radius:14px;background:#fff;overflow:hidden;transition:box-shadow .15s,border-color .15s}
.bris-service-card:hover{border-color:#98b8c7;box-shadow:0 6px 20px rgba(0,0,0,.07)}
.bris-service-card[hidden]{display:none!important}
.bris-service-card .bris-card-main{display:flex;align-items:flex-start;gap:12px;padding:16px;color:inherit!important;text-decoration:none!important;height:100%;min-width:0}
.bris-card-image,.bris-profile-logo{display:block;flex-shrink:0;width:54px;height:54px;object-fit:contain;border-radius:12px;background:#eef4f7}
.bris-logo-fallback{display:grid;place-items:center;font-size:24px;font-weight:700;color:#356278}
.bris-card-body{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;overflow-wrap:anywhere}
.bris-card-body strong{font-size:17px;line-height:1.3;word-break:normal;hyphens:none}
.bris-card-body small,.bris-excerpt{color:var(--bris-muted);font-size:13px;line-height:1.45}
.bris-method{font-size:12px;background:#edf5f7;border-radius:7px;padding:5px 8px;align-self:flex-start;line-height:1.4}
.bris-guide-count{font-size:12px;color:var(--bris-muted)}
.bris-arrow{flex:0 0 auto;font-size:19px;color:#356278}
.bris-catalog-empty{margin:18px 0}
.bris-service-profile{border:1px solid var(--bris-border);border-radius:16px;padding:22px;margin:24px 0;background:#fff}
.bris-profile-header{display:flex;align-items:flex-start;gap:16px;min-width:0}
.bris-profile-logo{width:64px;height:64px}
.bris-profile-header>div{min-width:0;flex:1}
.bris-profile-eyebrow{font-size:13px;color:var(--bris-muted);margin:0 0 5px}
.bris-profile-summary{font-size:15px;line-height:1.55;margin:0 0 10px}
.bris-profile-method{margin:0;font-size:14px;line-height:1.5}
.bris-profile-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 0}
.bris-profile-links a{display:inline-flex;padding:10px 13px;border:1px solid #a7c3d0;border-radius:9px;text-decoration:none;font-weight:600;font-size:14px}
.bris-profile-notes{margin-top:18px;border-left:3px solid #82adbf;padding:8px 14px;background:#f4f8fa}
.bris-profile-notes p{margin:6px 0}
.bris-verified,.bris-disclaimer{font-size:12px;color:var(--bris-muted);margin:12px 0 0}
.bris-guides{margin:28px 0}.bris-guides h2{font-size:25px;margin:0 0 16px}.bris-guide-group{margin-bottom:22px}.bris-guide-group h3{font-size:19px;margin:0 0 12px}
.bris-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px}
.bris-guide-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--bris-border);border-radius:12px;background:#fff;text-decoration:none!important;color:var(--bris-ink)!important;font-weight:600;line-height:1.4}
.bris-guide-card:hover{border-color:#83aabc;background:#f7fafb}.bris-guide-card span:last-child{color:#356278;font-size:21px}
.brisalica-related-services{margin:28px 0;padding:18px;border:1px solid #dfe5e9;border-radius:12px}
@media(max-width:680px){.bris-catalog-controls{grid-template-columns:1fr 1fr}.bris-catalog-controls label:first-child{grid-column:1/-1}}
@media(max-width:480px){.bris-catalog-controls{grid-template-columns:1fr}.bris-catalog-controls label:first-child{grid-column:auto}.bris-service-profile{padding:16px}.bris-profile-header{gap:12px}}

/* Prevent plugin profile elements from expanding the theme content column. */
.bris-service-profile,.bris-guides{width:100%;min-width:0;clear:both}
.bris-service-profile .bris-profile-header{width:100%;max-width:100%}
.bris-service-profile img{max-width:100%}

/* v0.3.3: compact vertical rhythm on service pages; do not affect the theme layout. */
.bris-service-profile{margin:16px 0 20px;padding:18px 22px}
.bris-profile-links{margin-top:12px}
.bris-guides{margin:20px 0}
.bris-guides h2{margin-bottom:14px}
.bris-guide-group{margin-bottom:18px}
.bris-guide-group h3{margin-bottom:10px}
@media(max-width:480px){.bris-service-profile{padding:16px}}

/* 0.4.0: compact details and guide spacing, scoped to plugin only. */
.bris-service-profile{padding:16px 18px;margin:14px 0 18px}
.bris-service-profile .bris-profile-header{align-items:center;gap:12px}
.bris-service-profile .bris-profile-logo{width:52px;height:52px}
.bris-service-profile .bris-profile-links{margin-top:10px}
.bris-service-profile .bris-disclaimer{margin-top:9px}
.bris-guides{margin:18px 0}
.bris-guides h2{margin:0 0 12px}
.bris-guides .bris-guide-group{margin:0 0 14px}
.bris-guides .bris-guide-group h3{margin:0 0 8px}
.bris-related-articles{margin-top:22px}
@media(max-width:480px){.bris-service-profile{padding:14px}}
