/* Shared presentation for public content cards. */
.compact-card{padding:16px;margin-bottom:12px;border:1px solid #dce3dd;border-radius:12px;background:#fff;box-shadow:0 2px 6px #173d3605;height:auto;min-width:0;overflow-wrap:anywhere}
.compact-card h2,.compact-card h3{font:700 17px/1.3 Arial,sans-serif;letter-spacing:-.2px;margin:0 0 7px}
.compact-card p{font-size:12px;line-height:1.5;margin:0 0 7px}
.compact-card>small,.compact-card>.eyebrow{display:block;font-size:10px;line-height:1.4;color:#53695f;margin:0 0 8px;letter-spacing:.4px}
.compact-card .status-badge,.compact-card .tag{font-size:10px;line-height:1.4;padding:4px 8px;margin:0 0 8px;border-radius:6px;color:#53695f;background:#eef2ec}
.compact-card .edit-note,.compact-card .editorial-text{font-size:11px;line-height:1.5;color:#68796f}
.compact-card .actions{padding-top:3px;gap:8px;flex-wrap:wrap}
.compact-card .btn{font-size:12px;line-height:1.4;padding:8px 12px;border-radius:7px;font-weight:600;min-height:36px;max-width:100%;white-space:normal;align-self:flex-start}
.compact-card .text-button,.compact-card .back{font-size:12px;line-height:1.4;margin:0;padding-top:5px;min-height:32px}
.compact-card .source-line,.compact-card .contact-source{font-size:10px;line-height:1.4;color:#6b7b71;margin:5px 0 0;letter-spacing:0}
.compact-card small.source-line,.compact-card small.contact-source{padding-top:9px;margin-top:10px;border-top:1px solid #edf0ea}
.compact-card .listing-photo{max-height:200px;margin-bottom:10px;border-radius:8px}
.compact-card .tile{font-size:28px;padding:10px;margin-bottom:10px;border-radius:8px}
.compact-card .address-icon{font-size:24px;margin-bottom:7px;display:block}
.compact-card.feature{padding:0}.compact-card.feature .pad{padding:16px}.compact-card.feature .landscape{height:110px}
.compact-card.notice b,.compact-card>b{font-size:13px;line-height:1.4}
.compact-card.water{background:#e6f0ed}.compact-card.power{background:#fbefd9}
.compact-card p:last-child{margin-bottom:0}

.compact-card .directory-cta{display:inline-flex;align-items:center;gap:7px;background:#e6eee5;color:#173d36;border-radius:7px;padding:8px 10px;margin-top:5px;font-size:12px;font-weight:700;line-height:1.4;min-height:36px}.compact-card:hover .directory-cta{background:#d6e4d4}.compact-card:focus-visible .directory-cta{background:#d6e4d4}

/* Shorter outage notices, with closely grouped status information. */
.compact-card.notice{padding:12px 14px;margin-bottom:8px}.compact-card.notice>b{display:block;margin-bottom:4px}.compact-card.notice p{margin:0 0 6px;line-height:1.4}.compact-card.notice .tag{padding:3px 7px;margin-bottom:4px}.compact-card.notice small{margin:0;line-height:1.4}

/* Directory telephone buttons follow the useful-contact cards. */
.compact-card .directory-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;margin-bottom:7px}
.compact-card .directory-card-top .status-badge{margin:0}
.compact-card .directory-call{display:inline-flex;align-items:center;gap:6px;margin-left:auto;background:#fff;color:#173d36;border:1px solid #173d36;font-weight:700;padding:6px 10px;min-height:34px}
.compact-card .directory-call span{font-size:15px;line-height:1}
.compact-card .directory-call:hover,.compact-card .directory-call:focus-visible{background:#eef2ec;box-shadow:0 0 0 1px #173d36}

/* Consistent compact public cards. Essential contacts remain visible. */
body>main .compact-card{padding:12px;margin-bottom:10px;border-radius:12px}
body>main .compact-card h2,body>main .compact-card h3{font-size:16px;line-height:1.3;margin:0 0 6px}
body>main .compact-card p{font-size:12px;line-height:1.4;margin:0 0 6px}
body>main .compact-card .card-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-wrap}
.card-more summary{cursor:pointer;color:#173d36;font-size:12px;font-weight:600;padding:6px 0}
.card-more summary:focus-visible{outline:2px solid #173d36;outline-offset:2px}
.card-more[open]>summary{margin-bottom:6px}

/* Shared profession pictograms in the public directories. */
.compact-card .directory-name{display:flex;align-items:center;gap:9px}
.directory-profession-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;border:1px solid currentColor;box-sizing:border-box;background:#fff;color:var(--call-color,#173d36)}
.directory-profession-icon svg{display:block}

/* Shared top-border labels for publication cards across public pages. */
fieldset.compact-card{min-width:0;display:block}
.compact-card>legend.card-category{float:none;width:auto;max-width:100%;padding:0 7px;margin:0 0 4px;font-size:13px;line-height:1.4;font-weight:400;color:inherit;background:transparent;overflow-wrap:anywhere}
