/* DocHuntr v0.8 M4: list surfaces (summary strip, row tables with whole-row links, feeds, starter cards).
   Loaded before actions.css, which stays last and untouched. Tokens only; no external assets. */
.dc-summary{list-style:none;margin:0 0 var(--sp-4,1rem);padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(11rem,1fr));gap:var(--sp-3,.75rem)}
.dc-summary__item{display:flex;flex-direction:column;gap:.125rem;padding:.875rem 1.125rem;background:#fff;border:1px solid #dfe6f1;border-radius:14px;box-shadow:0 1px 2px rgba(11,31,68,.05),0 4px 12px rgba(11,31,68,.04);border-left:4px solid #c5cfdf;min-width:0}
.dc-summary__item strong{font-size:1.5rem;line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums;color:#0B1F44}
.dc-summary__item span{font-size:.8125rem;color:#44506a}
.dc-summary--warning{border-left-color:#c77c00}.dc-summary--error{border-left-color:#a4141b}.dc-summary--success{border-left-color:#14B8A6}.dc-summary--info{border-left-color:#2563EB}

/* Row tables: whole row is one target through the primary link's stretched ::after */
.dc-rows .num{text-align:right;font-variant-numeric:tabular-nums}
.dc-rows th.num{text-align:right}
.dc-rows td,.dc-rows th{white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none}
.dc-rows td{min-height:3.5rem;vertical-align:middle}
.dc-rows tbody tr{position:relative;cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}
.dc-rows tbody tr:hover,.dc-rows tbody tr:focus-within{background:#f2f6ff}
.dc-rows tbody tr:focus-within{box-shadow:inset 3px 0 0 #2563EB}
.dc-rows__name{color:#0B1F44;font-weight:650;text-decoration:none;display:inline-block}
.dc-rows__open::before,.dc-rows__stretch::before{content:"";position:absolute;inset:0;z-index:1}
.dc-rows__name:hover{color:#2563EB;text-decoration:underline}
.dc-rows__name:focus-visible{outline:2px solid #2563EB;outline-offset:2px;border-radius:4px}
.dc-rows__sub{display:block;font-size:.8125rem;font-weight:400;color:#44506a;margin-top:.125rem;overflow-wrap:anywhere}
.dc-rows__muted{color:#5a6680;font-size:.875rem}
.dc-rows__flag{display:block;font-size:.8125rem;font-weight:600;color:#a4141b}
.dc-rows__chev{margin-left:.75rem;color:#5a6680;font-size:1.25rem;line-height:1;vertical-align:middle}
.dc-rows tbody tr:hover .dc-rows__chev{color:#2563EB}
.dc-rows .dc-row-actions{justify-content:flex-end}
.dc-rows .dc-row-actions>a:not(.dc-rows__open),.dc-rows .dc-more{position:relative;z-index:3}
.dc-rows .dc-more{position:relative;z-index:3}
.dc-meter{display:flex;flex-direction:column;gap:.25rem;min-width:9rem}
.dc-meter__label{font-size:.8125rem;color:#44506a;font-variant-numeric:tabular-nums;white-space:nowrap}
progress.dc-bar{appearance:none;-webkit-appearance:none;width:100%;height:.5rem;border:0;border-radius:999px;background:#e3eaf6;overflow:hidden}
progress.dc-bar::-webkit-progress-bar{background:#e3eaf6;border-radius:999px}
progress.dc-bar::-webkit-progress-value{background:linear-gradient(90deg,#14B8A6,#2563EB);border-radius:999px}
progress.dc-bar::-moz-progress-bar{background:linear-gradient(90deg,#14B8A6,#2563EB)}

/* Feed (client history, grouped activity) */
.dc-feed{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.dc-feed__item{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #e8eef8}
.dc-feed__item:last-child{border-bottom:0}
.dc-feed__icon{flex:none;width:2.25rem;height:2.25rem;border-radius:50%;display:grid;place-items:center;background:#eef3ff;color:#2563EB}
.dc-feed__icon--alert{background:#fdf2f2;color:#a4141b}
.dc-feed__icon svg{width:1.125rem;height:1.125rem}
.dc-feed__main{flex:1;min-width:0;display:flex;flex-direction:column;overflow-wrap:break-word}
.dc-feed__sub{font-size:.8125rem;color:#44506a}
.dc-feed__time{flex:none;font-size:.8125rem;color:#44506a;white-space:nowrap}
.dc-feed__more{margin-top:.5rem}
.dc-feed__more>summary{list-style:none;cursor:pointer;display:inline-flex}
.dc-feed__more>summary::-webkit-details-marker{display:none}
.dc-feed__more[open]>summary{margin-bottom:.25rem}

/* Starter templates and settings: flat cards, never a card inside a card */
.dc-starters{margin-top:var(--sp-6,1.5rem)}
.dc-starter-grid{list-style:none;margin:var(--sp-3,.75rem) 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:var(--sp-4,1rem)}
.dc-starter{display:flex;flex-direction:column;gap:.375rem;padding:1.25rem;background:#fff;border:1px solid #dfe6f1;border-radius:14px;box-shadow:0 1px 2px rgba(11,31,68,.05),0 4px 12px rgba(11,31,68,.04)}
.dc-starter p{margin:0;color:#44506a;font-size:.9375rem;flex:1}
.dc-starter__meta{font-size:.8125rem;color:#44506a}
.dc-starter form{margin-top:.5rem}
.settings-card{position:relative;cursor:pointer;transition:box-shadow .15s ease,border-color .15s ease}
.settings-card h2 a{text-decoration:none;color:inherit}
.settings-card h2 a::after{content:"";position:absolute;inset:0;border-radius:inherit}
.settings-card:hover,.settings-card:focus-within{border-color:#2563EB;box-shadow:0 6px 18px rgba(37,99,235,.12)}
.settings-card h2 a:focus-visible{outline:2px solid #2563EB;outline-offset:4px;border-radius:6px}

@media (max-width:48rem){
.dc-rows tbody tr{padding-right:1rem}
.dc-rows__chev{display:none}
.dc-meter{min-width:0;align-items:flex-end}
.dc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
