#competitor-admin-section button.reason-bar-button {display:block;width:100%;text-align:left;color:var(--theme-text);background:transparent;border:0;border-bottom:1px solid var(--theme-border);font:inherit;cursor:pointer;border-radius:0;}
#competitor-admin-section button.reason-bar-button:hover {background:var(--theme-surface-2);}
#competitor-admin-section .reason-bar-button:focus-visible,.comp-clickable-metric:focus-visible {outline:3px solid var(--theme-red);outline-offset:3px;}
.reason-bar-action {display:flex;justify-content:space-between;margin-top:9px;color:var(--theme-muted);font-size:12px;}
.reason-bar-action span {font-size:18px;line-height:14px;}
.comp-clickable-metric {cursor:pointer;}
button.deal-status {font:inherit;cursor:pointer;}
body.comp-sheet-open {overflow:hidden;}
dialog.competitor-details-sheet {box-sizing:border-box;width:min(720px,calc(100% - 40px));max-width:none;max-height:86dvh;padding:0;border:1px solid var(--theme-border);border-radius:24px;background:var(--theme-surface);color:var(--theme-text);box-shadow:0 24px 90px #0004;overflow:hidden;}
.competitor-details-sheet::backdrop {background:rgba(10,16,26,.48);backdrop-filter:blur(3px);}
.competitor-details-sheet[open] {display:flex;flex-direction:column;animation:comp-sheet-enter .2s ease-out;}
.comp-sheet-header {display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:24px;border-bottom:1px solid var(--theme-border);flex-shrink:0;}
.comp-sheet-header h2 {margin:4px 0 8px;font-size:22px;line-height:1.3;overflow-wrap:anywhere;}
.comp-sheet-header p:last-child {color:var(--theme-muted);font-size:13px;line-height:1.5;margin:0;}
.comp-sheet-header .btn {flex-shrink:0;}
.comp-sheet-body {overflow:auto;overscroll-behavior:contain;padding:0 24px 24px;min-height:0;}
.comp-sheet-group h3 {display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px;margin:22px 0 10px;}
.comp-sheet-group h3 span {font-size:13px;color:var(--theme-muted);}
.comp-sheet-deal {padding:16px;border:1px solid var(--theme-border);border-radius:16px;background:var(--theme-surface-2);margin-top:10px;overflow-wrap:anywhere;}
.comp-sheet-deal-heading {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:14px;line-height:1.5;}
.comp-sheet-deal-heading>span {color:var(--theme-muted);flex-shrink:0;}
.comp-sheet-person {font-size:12px;color:var(--theme-muted);margin:7px 0 12px;}
.comp-sheet-comment {white-space:pre-wrap;font-size:14px;line-height:1.6;margin:12px 0 16px;}
.comp-sheet-deal-footer {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;}
.comp-sheet-grab {display:none;}
.competitor-details-sheet .visually-hidden {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.comp-sheet-tools {padding:14px 24px 10px;flex-shrink:0;border-bottom:1px solid var(--theme-border);}
.comp-sheet-search {display:block;margin:0 0 10px;}
.comp-sheet-search input {width:100%;box-sizing:border-box;font-size:14px;}
.comp-sheet-filters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.comp-sheet-filters label {min-width:0;}
.comp-sheet-filters select {width:100%;min-width:0;box-sizing:border-box;font-size:13px;}
.comp-sheet-results {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;min-height:25px;color:var(--theme-muted);font-size:12px;}
.comp-sheet-results [hidden] {display:none;}
.comp-location-group {border:1px solid var(--theme-border);border-radius:15px;margin:12px 0;background:var(--theme-surface);}
.comp-location-group>summary {display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:16px;}
.comp-location-group>summary::-webkit-details-marker {display:none;}
.comp-location-group>summary>strong {flex:1;min-width:0;overflow-wrap:anywhere;font-size:15px;}
.comp-location-count {font-size:12px;font-weight:650;white-space:nowrap;padding:6px 8px;border-radius:9px;background:rgba(216,30,62,.08);color:var(--theme-red);}
.comp-location-chevron {font-size:24px;color:var(--theme-muted);line-height:1;}
.comp-location-group[open]>.comp-location-chevron {transform:rotate(90deg);}
.comp-location-group[open]>summary .comp-location-chevron {transform:rotate(90deg);}
.comp-location-body {padding:0 12px 12px;}
.comp-location-group:not([open])>.comp-location-body {display:none;}
.comp-date-group h4 {font-size:12px;color:var(--theme-muted);margin:14px 2px 8px;}
.comp-page-count,.comp-sheet-hint {font-size:12px;color:var(--theme-muted);line-height:1.5;margin:14px 2px 10px;}
.comp-show-more {width:100%;border-color:var(--theme-red);color:var(--theme-red);background:transparent;}
@keyframes comp-sheet-enter {from{transform:translateY(25px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(max-width:600px){dialog.competitor-details-sheet {width:100%;max-height:90dvh;margin:auto 0 0;border-radius:24px 24px 0 0;border-bottom:0;}.comp-sheet-grab{display:block;width:38px;height:4px;border-radius:3px;background:var(--theme-border);margin:10px auto 0;flex-shrink:0;}.comp-sheet-header{padding:15px 16px;}.comp-sheet-header h2{font-size:19px;}.comp-sheet-body{padding:0 16px max(20px,env(safe-area-inset-bottom));}.comp-sheet-deal{padding:13px;}.comp-sheet-header .btn{padding:9px 12px;font-size:12px;}}
@media(prefers-reduced-motion:reduce){.competitor-details-sheet[open]{animation:none}}
@media(max-width:600px){.comp-sheet-tools{padding:12px 16px 10px;}.comp-sheet-search input{font-size:16px;}.comp-sheet-filters{gap:6px;}.comp-sheet-filters select{font-size:12px;padding-left:8px;}.comp-location-group>summary{padding:14px 12px;gap:8px;}.comp-location-group>summary>strong{font-size:14px;}}
