.directory-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.directory-actions p { margin: 0; font-size: 12px; color: #98a58f; line-height: 1.7; }
.directory-actions .button { font-size: 10px; gap: 14px; padding: 9px 12px; min-height: 36px; }
.directory-note { font: 10px/1.8 var(--mono); color: #a0b18e; padding: 12px 14px; background: #131c10; border-left: 2px solid #749d41; margin: 0 0 5px; }
.case-list.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: none; border: 0; overflow: visible; }
.directory-card { min-width: 0; background: #101611; border: 1px solid #2e3d2b; padding: 19px; display: flex; flex-direction: column; position: relative; transition: border-color .15s, background .15s; }
.directory-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 11px; height: 11px; border-left: 1px solid #73934e; border-top: 1px solid #73934e; }
.directory-card:hover { background: #131c12; border-color: #6d8f44; }
.directory-card:hover::before { border-color: var(--acid); }
.profile-card-header { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; min-width: 0; }
.profile-card-header > div { min-width: 0; }
.profile-mark { width: 38px; height: 38px; background: #1b2715; border: 1px solid #435a31; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #c1e3a1; font: 600 12px var(--mono); }
.profile-mark-logo { padding: 4px; background: #111613; }
.profile-mark-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.profile-mark-light img { padding: 2px; background: #f4f5f2; }
.profile-card-header .case-title { font-size: 16px; line-height: 1.4; letter-spacing: -.4px; }
.profile-domain { display: inline-block; font: 10px/1.6 var(--mono); color: #91a881; overflow-wrap: anywhere; }
a.profile-domain { color: var(--acid); }
a.profile-domain:hover { text-decoration: underline; text-underline-offset: 3px; }
.profile-description, .directory-card > p { color: #9dab95; font-size: 12px; line-height: 1.75; margin: 0 0 15px; }
.directory-card > p { min-height: 42px; }
.rating-summary { padding: 10px 0 2px; border-top: 1px solid #2c3b27; margin-top: auto; }
.rating-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 4px; align-items: center; padding: 8px 0; font-size: 11px; }
.rating-line > :first-child { color: #a7b79e; line-height: 1.45; }
.rating-value { display: inline-flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 6px; color: #d4e9c3; text-align: right; font: 600 11px var(--mono); }
.rating-value.unrated { color: #899d7a; font-size: 9px; white-space: nowrap; font-weight: 400; text-transform: uppercase; letter-spacing: .25px; }
.rating-value small { font-size: 10px; font-weight: 400; color: #92a480; }
.star-display { display: inline-block; font-size: 14px; color: var(--acid); letter-spacing: 1px; white-space: nowrap; }
.star-display.unrated, .star-display.empty, .star-display .empty { color: #6e7f5d; }
.rating-count, .profile-review-count { font: 10px var(--mono); color: #91a381; margin-top: 13px; }
.directory-card .directory-actions { font: 9px/1.7 var(--mono); color: #92a580; padding-top: 13px; margin: 9px 0 0; border-top: 1px solid #2c3b27; gap: 8px; }
.directory-card .directory-actions .text-button { color: #cbddb8; font-size: 10px; gap: 7px; white-space: nowrap; }
.directory-card .directory-actions .text-button:hover { color: var(--acid); }
.profile-dialog { max-width: 860px; padding: 0; }
.profile-dialog .detail-head .rating-summary { margin-top: 18px; }
.profile-dialog .detail-head .rating-line { font-size: 13px; padding: 10px 0; }
.profile-dialog .detail-head .rating-value { font-size: 13px; }
.profile-dialog .detail-head .rating-value.unrated { font-size: 11px; }
.profile-dialog .detail-head .star-display { font-size: 17px; }
.profile-tabs { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #364a2b; margin: 0 0 24px; flex-wrap: wrap; }
.profile-tabs button { background: none; border: 0; color: #9eb38b; padding: 10px 0 13px; font: 11px var(--mono); border-bottom: 2px solid transparent; }
.profile-tabs button.active, .profile-tabs button[aria-pressed="true"] { color: var(--acid); border-bottom-color: var(--acid); }
.profile-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.profile-actions p { font-size: 11px; color: #a2b48e; }
.review-card { padding: 22px 0; border-bottom: 1px solid #35472b; }
.review-card:last-child { border: 0; }
.review-card h3 { font: 600 15px var(--mono); margin: 9px 0; }
.review-card p { font-size: 13px; line-height: 1.85; color: #b0c19e; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-card small { font-size: 10px; color: #98ad83; }
.review-card .review-category-note { font-size: 11px; margin: 3px 0 10px; color: #a1b48c; }
.review-card .rating-summary { border: 0; margin-top: 8px; padding-top: 0; }
.approved-badge { display: inline-block; font: 9px var(--mono); border: 1px solid #506c36; padding: 3px 6px; background: #1b2a13; color: var(--acid); }
.pending-note { padding: 12px 15px; border-left: 3px solid var(--amber); background: #292615; color: #d2c18d; font-size: 12px; line-height: 1.7; margin: 15px 0; }
.rating-form > p { font-size: 12px; color: #a7b993; line-height: 1.75; }
.star-fieldset { margin: 23px 0 0; border: 1px solid #3e5230; padding: 13px 16px 16px; min-width: 0; background: #111b0e; }
.star-fieldset legend { font: 600 12px/1.5 var(--mono); padding: 0 7px; color: #c9e0b4; }
.star-fieldset label { font-size: 11px; }
.star-options { display: flex; gap: 8px; margin: 4px 0 12px; }
.star-options label { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; min-width: 46px; min-height: 40px; padding: 8px 10px; border: 1px solid #496035; background: #0c120a; color: #a6c08f; cursor: pointer; margin: 0; position: relative; font: 600 13px var(--mono); }
.star-options label:hover { border-color: var(--acid); }
.star-options label:has(input:checked) { background: var(--acid); color: #19230b; border-color: var(--acid); }
.star-options label:focus-within { outline: 2px solid var(--acid); outline-offset: 3px; }
.star-options input[type="radio"] { width: 14px; height: 14px; padding: 0; accent-color: #3d531c; margin: 0; }
.star-fieldset textarea { min-height: 62px; }
.category-description { color: #a2b590; }
.no-poc-notice { padding: 13px 15px; background: #182412; border: 1px solid #3c552a; color: #b3cba1; font-size: 11px; line-height: 1.8; margin: 19px 0; }
.no-poc-notice strong { display: block; color: #d0e6be; font: 600 12px/1.6 var(--mono); margin-bottom: 3px; }
label.checkbox-label { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font: 400 11px/1.8 var(--sans); color: #b0c09f; }
.checkbox-label input[type="checkbox"] { padding: 0; margin-top: 4px; width: 15px; height: 15px; flex-shrink: 0; accent-color: var(--acid); }
.rating-review-details { margin: 18px 0; padding: 16px; background: #15200f; border: 1px solid #3a4e2c; }
.rating-review-details .rating-line { font-size: 12px; }
.rating-review-details p { font-size: 12px; line-height: 1.8; color: #b3c7a1; white-space: pre-wrap; overflow-wrap: anywhere; }
.queue-type { font: 9px var(--mono); letter-spacing: .4px; color: #9bb483; }
.prelaunch-note { font-size: 12px; padding: 12px 15px; background: #1c2a15; color: #b9d2a5; line-height: 1.7; }
.empty-profile { padding: 25px 20px; border: 1px dashed #4a6633; background: #131d0f; text-align: center; margin: 16px 0; }
.empty-profile h3 { font: 600 17px var(--mono); margin: 5px 0 8px; }
.empty-profile p { font-size: 12px; color: #a4bf8c; line-height: 1.75; }

@media (max-width: 1300px) {
  .directory-card { padding: 16px; }
  .rating-line { column-gap: 7px; font-size: 10px; }
  .rating-value.unrated { font-size: 8px; }
  .directory-card .directory-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .directory-card .directory-actions .text-button { align-self: flex-end; }
}

@media (max-width: 1100px) {
  .directory-card { padding: 19px; }
  .rating-line { font-size: 11px; }
  .rating-value.unrated { font-size: 9px; }
  .directory-card .directory-actions { align-items: center; flex-direction: row; }
}

@media (max-width: 700px) {
  .case-list.directory-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .directory-card { padding: 21px; }
  .directory-card > p { min-height: 0; }
  .directory-card .rating-line { font-size: 12px; padding: 9px 0; }
  .directory-card .rating-value.unrated { font-size: 10px; }
  .profile-card-header .case-title { font-size: 18px; }
  .directory-actions > p { font-size: 11px; }
}

@media (max-width: 540px) {
  #directory-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .directory-note { font-size: 9px; }
  .directory-card { padding: 19px; }
  .profile-dialog { padding: 0; }
  .profile-dialog .detail-head .rating-line { font-size: 11px; }
  .profile-dialog .detail-head .rating-value, .profile-dialog .detail-head .rating-value.unrated { font-size: 10px; }
  .profile-dialog .detail-head .star-display { font-size: 13px; }
  .profile-dialog .detail-body > .directory-actions { align-items: flex-start; flex-direction: column; }
  .star-fieldset { padding: 12px 10px; }
  .star-fieldset legend { font-size: 11px; }
  .star-options { gap: 5px; justify-content: space-between; }
  .star-options label { min-width: 37px; padding: 8px 5px; gap: 3px; }
  .star-options input[type="radio"] { width: 12px; height: 12px; }
  .star-options label span { font-size: 12px; }
  .profile-tabs { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .directory-card { transition: none; }
}

