.registry-panel{overflow:hidden}.registry-filters{border-bottom:0;padding-bottom:12px}.registry-toolbar{display:flex;align-items:center;gap:16px;padding:0 24px 18px;flex-wrap:wrap;border-bottom:1px solid var(--line)}.registry-count{color:var(--muted);font-size:12px;margin-right:auto;white-space:nowrap}.registry-count strong{color:var(--ink);font-size:15px;margin-left:4px}.registry-sort{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.registry-sort select{width:auto;min-height:34px;font-size:12px;padding:6px 10px}.registry-views{display:flex;padding:3px;background:#f0f5f6;border:1px solid var(--line);border-radius:9px}.registry-views button{display:flex;align-items:center;gap:7px;padding:6px 10px;background:transparent;border:0;border-radius:6px;color:var(--muted);font-size:11px;min-height:31px}.registry-views button[aria-pressed=true]{color:var(--accent);background:white;box-shadow:0 1px 3px #193d4514}.registry-views .icon{width:16px;height:16px}.registry-toolbar>.icon-btn{width:36px;height:36px}.registry-summary{padding:13px 24px;display:flex;align-items:center;gap:25px;background:#f9fbfb;border-bottom:1px solid var(--line)}.registry-summary>span{font-size:11px;color:var(--muted)}.registry-summary>.remediation-progress{width:300px;max-width:100%}.registry-list{padding:0 24px}.registry-record{min-width:0}.registry-list>.registry-record+.registry-record{border-top:1px solid var(--line)}.registry-record-content{padding:20px 0}.registry-record-top{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.registry-number{font-size:10px;color:var(--muted);margin-right:5px}.registry-priority{font-size:10px;margin-left:auto;color:var(--muted);display:flex;align-items:center;gap:5px}.registry-priority:before{content:'';width:6px;height:6px;border-radius:50%;background:#a5b5bd}.registry-priority.critical:before{background:#b7413e}.registry-priority.high:before{background:#d87959}.registry-priority.medium:before{background:#d6a351}.registry-record-main{display:flex;align-items:flex-start;gap:18px;justify-content:space-between}.registry-record-main>div{min-width:0}.registry-record h2{font-family:Arial,sans-serif;font-size:14px;line-height:1.55;font-weight:600;letter-spacing:0;max-width:900px}.registry-record h2>button,.registry-table-title button{padding:0;border:0;background:none;text-align:left;line-height:inherit;font:inherit;font-weight:600;color:var(--ink);overflow-wrap:anywhere}.registry-record h2>button:hover,.registry-record h2>a:hover,.registry-table-title button:hover{color:var(--accent)}.registry-context{display:block;font-size:11px;color:var(--accent);margin-top:6px;overflow-wrap:anywhere}.registry-context span{color:var(--muted)}.registry-category{display:block;font-size:10px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.registry-photo{display:block;width:92px;height:67px;flex:0 0 92px;padding:0;position:relative;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#edf3f4}.registry-photo img{width:100%;height:100%;object-fit:cover}.registry-photo>span{position:absolute;right:4px;bottom:4px;background:#16383ee0;color:white;border-radius:5px;font-size:10px;padding:2px 5px;display:flex;gap:4px;align-items:center}.registry-photo>span .icon{width:12px;height:12px}.registry-facts{display:flex;flex-wrap:wrap;gap:18px 36px;margin:15px 0}.registry-facts>span{display:flex;align-items:center;gap:8px;font-size:11px}.registry-facts small{display:block;font-size:9px;color:var(--muted);margin-bottom:2px}.registry-facts .icon{width:16px;height:16px;color:#81979f}.registry-record-bottom{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-top:16px}.registry-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.registry-actions:empty{display:none}.registry-actions .btn{font-size:11px;padding:6px 9px;min-height:32px;gap:6px}.registry-actions .icon{width:15px;height:15px}.registry-record-tools{display:flex;align-items:center;gap:6px;flex:none}.registry-record-tools .icon-btn{width:32px;height:32px;border-color:transparent}.registry-record-tools .icon-btn:hover{border-color:var(--line)}.registry-record-tools .icon{width:15px;height:15px}.registry-record-tools .btn{font-size:11px;min-height:32px;padding:6px 9px}.registry-state-note{font-size:10px;color:var(--muted)}.registry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:20px;background:#f5f8f9;align-items:start}.registry-grid>.registry-record{border:1px solid var(--line);border-radius:11px;background:white;overflow:hidden;height:100%;display:flex;flex-direction:column}.registry-grid .registry-record-content{padding:16px;flex:1;display:flex;flex-direction:column}.registry-grid .registry-record-bottom{flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:14px;gap:12px}.registry-grid .registry-record-tools{margin-left:auto}.registry-grid .registry-record h2{font-size:13px}.registry-grid .registry-photo.large{width:100%;height:145px;flex:none;border:0;border-radius:0}.registry-photo-empty{height:100px;display:flex;align-items:center;justify-content:center;gap:8px;background:#f0f5f5;color:#859aa1;font-size:10px;flex:none}.registry-photo-empty .icon{width:20px;height:20px}.registry-grid .registry-facts{gap:12px;justify-content:space-between}.registry-grid .registry-context span{display:none}.registry-grid .remediation-progress{margin-bottom:15px}.registry-site-logo{width:50px;height:50px;object-fit:cover;border-radius:9px;border:1px solid var(--line);flex:none}.inspection-record .remediation-progress{max-width:460px}.registry-list .inspection-record .registry-record-bottom{margin-top:10px}.registry-table{min-width:1050px;table-layout:auto}.registry-table td{vertical-align:top;padding:17px 14px}.registry-table th{padding:14px}.registry-table td:first-child{width:38%;min-width:280px}.registry-table td:last-child{min-width:235px;max-width:330px}.registry-table td>.badge{display:table;margin-bottom:5px}.registry-table-title{display:flex;align-items:flex-start;gap:12px}.registry-table-title .registry-photo{width:62px;height:54px;flex-basis:62px}.registry-table-title button{font-size:12px;display:block;line-height:1.55}.registry-table-title small{margin:0 0 4px;font-size:10px}.registry-table-title a{display:block;color:var(--accent);font-size:10px;margin-top:5px}.registry-table .registry-actions{gap:6px}.registry-table .registry-record-tools{margin:0;justify-content:flex-start}.registry-page{font-size:11px;color:var(--muted);align-self:center}.registry-setting-check{display:flex!important;align-items:center;gap:9px;font-size:12px}.registry-setting-check input{width:16px;height:16px}.registry-list .registry-record:target{background:#f6fbfa}
@media(min-width:1100px){.registry-list .violation-record .registry-record-content{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:0 28px;padding-block:14px}.registry-list .violation-record .registry-record-top,.registry-list .violation-record .registry-record-bottom{grid-column:1/-1}.registry-list .violation-record .registry-facts{margin:0;align-content:start;gap:12px}.registry-list .violation-record .registry-record-bottom{margin-top:12px}}
@media(max-width:1250px){.registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-toolbar{gap:12px}.registry-sort>span{display:none}}
@media(max-width:767px){.registry-toolbar{padding:0 18px 15px;gap:10px}.registry-count{order:0}.registry-sort{order:2;width:100%}.registry-sort>span{display:block}.registry-sort select{flex:1;min-width:0}.registry-views{margin-left:auto}.registry-toolbar>.icon-btn{order:1}.registry-summary{padding:12px 18px;gap:10px;flex-wrap:wrap}.registry-list{padding:0 18px}.registry-grid{padding:14px;gap:14px;grid-template-columns:1fr}.registry-record-bottom{flex-wrap:wrap;gap:12px}.registry-record-tools{margin-left:auto}.registry-record h2{font-size:13px}.registry-facts{gap:14px 20px}.registry-photo{width:70px;height:62px;flex-basis:70px}.registry-record-content{padding:17px 0}.registry-record-top{gap:5px}.registry-views button{padding:6px 8px}.registry-views button span{display:none}.registry-filters{padding-bottom:12px}.registry-table-wrap{overflow-x:auto}.registry-table{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.registry-record h2 button{transition:color .15s}}

/* Keep secondary actions beside the workflow buttons instead of on a detached row. */
.registry-table-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.registry-table-actions>.registry-actions{display:contents}
.registry-table-actions .btn{height:32px;min-height:32px;padding:6px 9px;font-size:11px;gap:6px}
.registry-table-actions .icon-btn{width:32px;height:32px;min-height:32px;flex:0 0 32px;padding:0;border-color:var(--line)}
.registry-table-actions .icon{width:15px;height:15px}
.registry-table-actions .registry-state-note{flex-basis:100%}
.registry-inspection-actions{flex-wrap:nowrap}
.registry-table-inspections th,.registry-table-inspections td{padding-left:10px;padding-right:10px}
.registry-table-inspections{min-width:900px;table-layout:fixed}.registry-table-inspections.with-progress th:nth-child(1),.registry-table-inspections.with-progress td:nth-child(1){width:28%}.registry-table-inspections.with-progress th:nth-child(2),.registry-table-inspections.with-progress td:nth-child(2){width:9%}.registry-table-inspections.with-progress th:nth-child(3),.registry-table-inspections.with-progress td:nth-child(3){width:11%}.registry-table-inspections.with-progress th:nth-child(4),.registry-table-inspections.with-progress td:nth-child(4){width:14%}.registry-table-inspections.with-progress th:nth-child(5),.registry-table-inspections.with-progress td:nth-child(5){width:13%}.registry-table-inspections.with-progress th:nth-child(6),.registry-table-inspections.with-progress td:nth-child(6){width:25%}.registry-table-inspections.without-progress th:nth-child(1),.registry-table-inspections.without-progress td:nth-child(1){width:32%}.registry-table-inspections.without-progress th:nth-child(2),.registry-table-inspections.without-progress td:nth-child(2){width:11%}.registry-table-inspections.without-progress th:nth-child(3),.registry-table-inspections.without-progress td:nth-child(3){width:12%}.registry-table-inspections.without-progress th:nth-child(4),.registry-table-inspections.without-progress td:nth-child(4){width:17%}.registry-table-inspections.without-progress th:nth-child(5),.registry-table-inspections.without-progress td:nth-child(5){width:28%}.registry-table-inspections td:first-child,.registry-table-inspections td:last-child{min-width:0;max-width:none}.registry-table-inspections td{overflow-wrap:anywhere}.registry-table-inspections td:nth-child(3){white-space:nowrap}
.registry-list .inspection-record .registry-record-content{padding-block:16px}
.registry-list .inspection-record .registry-record-bottom{align-items:center}
@media(min-width:1100px){
  .registry-list .inspection-record .registry-record-content{display:grid;grid-template-columns:minmax(0,1fr) 170px minmax(220px,270px);grid-template-areas:"heading facts progress" "main facts actions";column-gap:24px;align-items:start}
  .registry-list .inspection-record .registry-record-top{grid-area:heading;margin:0 0 8px}
  .registry-list .inspection-record .registry-record-main{grid-area:main}
  .registry-list .inspection-record .registry-facts{grid-area:facts;flex-direction:column;align-items:flex-start;gap:12px;margin:2px 0 0;min-width:0}
  .registry-list .inspection-record .registry-facts>span{min-width:0;align-items:flex-start;overflow-wrap:anywhere}
  .registry-list .inspection-record .registry-facts .icon{margin-top:4px}
  .registry-list .inspection-record .remediation-progress{grid-area:progress;width:100%;max-width:none;align-self:center}
  .registry-list .inspection-record .registry-record-bottom{grid-area:actions;flex-direction:column;align-items:flex-start;gap:6px;margin-top:12px}
  .registry-list .inspection-record .registry-record-bottom>.registry-category{order:2;margin:0}
  .registry-list .inspection-record .registry-record-tools{margin:0;flex-wrap:wrap}
}
@media(max-width:767px){
  .registry-list .inspection-record .remediation-progress{max-width:none}
  .registry-table .registry-record-tools{margin:0}
}

.registry-type{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border-radius:5px;background:#eef5f6;color:#4d6f78;font-size:9px}.registry-inspection-expand>.icon{width:15px;height:15px;transition:transform .18s}.registry-inspection-expand[aria-expanded=true]>.icon{transform:rotate(180deg)}.registry-inspection-violations{border-top:1px solid var(--line);background:#f8fbfb;padding:12px}.registry-inspection-violation-list{display:grid;gap:7px}.registry-inspection-violation-list .compact-violation{border:1px solid #dce8ea;border-radius:8px;background:#fff}.registry-inspection-table-detail>td{padding:12px!important;background:#f8fbfb}.registry-inspection-table-detail .registry-inspection-violation-list{min-width:760px}.registry-inspection-empty{padding:14px;font-size:11px}.registry-kanban .registry-inspection-violations{padding:8px}.registry-kanban .registry-inspection-violation-list .violation-overview{grid-template-columns:minmax(0,1fr);padding:11px}@media(max-width:767px){.registry-inspection-violations{padding:8px}.registry-inspection-table-detail .registry-inspection-violation-list{min-width:680px}.registry-inspection-violation-list .violation-overview{padding:12px}.registry-inspection-expand{white-space:normal}}

/* Compact registry controls: search stays in reach; less-used filters open on demand. */
.registry-controls{padding:16px 20px;border-bottom:1px solid var(--line);background:#fff}
.registry-primary-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;min-width:0}
.registry-primary-controls>.search-field{flex:1 1 210px;max-width:430px;min-width:160px;margin:0}
.registry-primary-controls .search-field input{min-width:0;width:100%;height:36px;min-height:36px;font-size:12px}
.registry-primary-controls>.registry-status-filter{width:148px;min-width:0;min-height:36px;font-size:12px;padding:7px 10px;margin:0}
.registry-filter-toggle{min-height:36px;padding:7px 10px;font-size:12px;gap:6px}
.registry-filter-toggle[aria-expanded=true]{background:#edf7f7;border-color:#a7cbce;color:var(--accent)}
.registry-filter-count{display:inline-grid;place-items:center;background:var(--accent);color:#fff;min-width:17px;height:17px;border-radius:9px;font-size:10px}
.registry-primary-controls>.registry-toolbar{flex:1 1 auto;gap:8px;padding:0;border:0;flex-wrap:nowrap;margin-left:auto;min-width:0}
.registry-primary-controls .registry-count{font-size:11px;white-space:nowrap;margin-right:auto}
.registry-primary-controls .registry-count strong{font-size:13px}
.registry-primary-controls .registry-sort{order:initial;width:auto;margin:0;min-width:0;flex:0 1 166px}
.registry-primary-controls .registry-sort select{min-width:0;max-width:100%;width:100%;height:36px;font-size:11px}
.registry-primary-controls .registry-views{margin:0;flex:none;padding:2px;border-radius:7px}
.registry-primary-controls .registry-views button{padding:6px;width:31px;height:31px;min-height:31px;justify-content:center}
.registry-primary-controls .registry-toolbar>.icon-btn{order:initial;flex:0 0 34px;width:34px;height:34px}
.registry-filter-options{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:12px;padding:15px 0 0;margin-top:12px;border-top:1px solid var(--line)}
.registry-filter-options[hidden]{display:none!important}
.registry-filter-options>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;color:var(--muted)}
.registry-filter-options select{width:100%;min-width:0;min-height:36px;font-size:12px}
.registry-filter-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;min-width:0}
.registry-filter-chips>button{display:flex;align-items:center;gap:6px;max-width:min(340px,100%);min-width:0;padding:5px 8px;border:1px solid #cbdfe1;border-radius:6px;background:#f1f8f8;color:#315e67;font-size:11px;line-height:1.5;text-align:left}
.registry-filter-chips>button>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}
.registry-filter-chips .icon{width:13px;height:13px;flex:none}
.registry-filter-chips>.registry-reset-all{border-color:transparent;background:transparent;color:var(--muted)}
.registry-filter-chips>button:hover{border-color:var(--accent);color:var(--accent)}
.registry-primary-controls button:focus-visible,.registry-object summary:focus-visible,.registry-filter-chips button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

/* Each card sizes to its own content, including expanded violations. */
.registry-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));align-items:start}
.registry-grid>.registry-record{height:auto;min-width:0}
.registry-grid .registry-record-content{flex:none;min-width:0}
.registry-grid .registry-record-bottom{margin-top:8px}
.registry-record-main,.registry-record-content,.registry-record-main>div,.registry-facts>span,.registry-facts>span>span{min-width:0}
.registry-record-main>div{flex:1}
.registry-record h2{margin:0;min-width:0}
.registry-record h2>a,.registry-record h2>button,.registry-table-heading>a,.registry-table-title button{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:100%;overflow-wrap:anywhere}
.registry-record .registry-context{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
.registry-object{margin-top:7px;min-width:0;font-size:11px;color:var(--muted)}
.registry-object summary{cursor:pointer;overflow-wrap:anywhere;line-height:1.5}
.registry-object p{margin:7px 0 0;padding:9px 11px;border-left:2px solid #c3dfe1;background:#f7fafa;color:var(--ink);font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.registry-table .registry-object{font-size:10px}
.registry-record-tools .icon-btn{display:inline-flex;align-items:center;justify-content:center;flex:none}
.registry-record-bottom{flex-wrap:wrap;min-width:0}
.registry-record-tools{min-width:0;flex-wrap:wrap}
.registry-inspection-actions{flex-wrap:wrap}
.registry-facts{align-items:flex-start}
.registry-facts>span{overflow-wrap:anywhere}
.registry-photo-empty{height:48px}
.registry-inspection-violation-list,.registry-inspection-violations{min-width:0}
/* Nested cards use their available width, not the viewport's desktop layout. */
.registry-grid .registry-inspection-violation-list .violation-overview{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px}
.registry-grid .registry-inspection-violation-list .violation-copy{grid-column:1/-1;min-width:0}
.registry-grid .registry-inspection-violation-list .violation-title{-webkit-line-clamp:3;font-size:12px;width:100%}
.registry-grid .registry-inspection-violation-list .violation-preview{display:flex;grid-column:1;min-width:0;max-width:100%;flex-wrap:wrap}
.registry-grid .registry-inspection-violation-list .violation-preview:empty{display:none}
.registry-grid .registry-inspection-violation-list .violation-tools{display:flex;grid-column:2;justify-self:end;gap:4px}
.registry-grid .registry-inspection-violation-list .violation-inline-actions{display:flex;min-width:0;padding:0 12px 12px;gap:6px}
.registry-grid .registry-inspection-violation-list .violation-inline-actions .btn{white-space:normal;max-width:100%;line-height:1.4;min-height:32px;font-size:11px}
.registry-grid .registry-inspection-violation-list .task-meta{display:flex;flex-wrap:wrap;gap:7px 12px}
.registry-grid .registry-inspection-violation-list .task-meta>span{min-width:0;overflow-wrap:anywhere}
.registry-grid .registry-inspection-violation-list .violation-labels{gap:5px}
@media(max-width:1100px){.registry-primary-controls>.search-field{max-width:none}.registry-primary-controls>.registry-toolbar{flex-basis:100%}.registry-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}}
@media(max-width:600px){
 .registry-controls{padding:12px}
 .registry-primary-controls{gap:8px}
 .registry-primary-controls>.search-field{flex-basis:100%;max-width:none}
 .registry-primary-controls>.registry-status-filter{flex:1;width:auto}
 .registry-primary-controls .registry-sort{flex:1;max-width:170px}
 .registry-primary-controls .registry-count{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .registry-primary-controls .registry-toolbar{gap:7px;justify-content:space-between}
 .registry-filter-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .registry-filter-options>label:first-child{grid-column:1/-1}
 .registry-grid{padding:12px;gap:12px;grid-template-columns:minmax(0,1fr)}
 .registry-record-bottom{align-items:center;gap:9px}
 .registry-facts{gap:10px 18px}
}
