/* Regulatory updates: tabs, type dropdown, search, show more */
.upd-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:30px 0 4px;border-bottom:2px solid var(--line,#d7e5e3)}
.upd-tabs[hidden],.upd-tab[hidden],[data-upd-panel][hidden],[data-update-item][hidden],.upd-empty[hidden],[data-upd-more][hidden]{display:none!important}
.upd-tab{border:0;background:transparent;padding:12px 20px;margin-bottom:-2px;border-bottom:3px solid transparent;font:inherit;font-weight:800;font-size:.98rem;color:#4d5a64;cursor:pointer}
.upd-tab.active{color:var(--teal,#0e6e6a);border-bottom-color:var(--teal,#0e6e6a)}
.upd-controls{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:26px}
.upd-controls label{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:.92rem;color:#0b2233}
.upd-controls select,.upd-controls input[type=search]{padding:10px 14px;border:1px solid #c9d6d4;border-radius:12px;background:#fff;font:inherit;font-size:.92rem;color:#0b2233;min-height:42px}
.upd-controls select{min-width:210px;font-weight:700}
.upd-controls input[type=search]{flex:1;min-width:200px;max-width:380px}
.upd-empty{margin:28px 0 0;color:#5a6773}
.upd-more{display:flex;justify-content:center;margin-top:28px}
.case-card .case-ref{margin:0 0 10px;font-weight:700;font-size:.9rem;color:#0b2233}
.case-card p strong{color:#0b2233}
.case-card .case-note{margin-top:auto;padding-top:10px;border-top:1px solid #e1e8e7;font-size:.8rem;color:#5a6773}
[data-upd-panel="cases"] [data-upd-grid]{grid-template-columns:minmax(0,1fr)!important;max-width:940px}
.case-card{padding:28px 30px!important}
.case-card p{font-size:.95rem;line-height:1.65}

/* Case laws: list with read icon, category buttons */
.act-quick button.active{background:#f4c95d;color:#071d2e;border-color:#f4c95d;font-weight:700;box-shadow:0 0 0 3px rgba(244,201,93,.35)}
.act-quick button small{opacity:.75;font-weight:700;margin-left:4px}
.act-quick button.active small{opacity:.85}
.act-quick button.cl-zero{opacity:.45}
.act-search-row{display:flex;gap:10px}.act-search-row .btn{white-space:nowrap}
.cl-list{border:1px solid #d7e5e3;border-radius:14px;overflow:hidden;background:#fff}
.cl-list[hidden]{display:none}
.cl-row{display:grid;grid-template-columns:104px 170px minmax(0,1fr) 190px 150px 46px;gap:14px;align-items:center;padding:14px 16px;border-top:1px solid #e1e8e7}
.cl-row:first-child{border-top:0}
.cl-row:hover{background:#f6fbfa}
.cl-date{font-weight:800;font-size:.86rem;color:#071d2e}
.cl-forum{font-size:.88rem;color:#0e6e6a;font-weight:800}
.cl-title{font-weight:800;color:#071d2e;line-height:1.35}
.cl-sub{margin-top:4px;font-size:.84rem;color:#5a6773;line-height:1.4}
.cl-cat{font-size:.86rem;color:#33444f}
.cl-badge{display:inline-block;padding:4px 10px;border-radius:999px;font-size:.78rem;font-weight:800;background:#eef3f3;color:#33444f}
.cl-badge.cl-taxpayer{background:#e3f4ea;color:#14683a}.cl-badge.cl-revenue{background:#fdeaea;color:#9b2c2c}
.cl-badge.cl-partly{background:#fff3df;color:#8a5a00}.cl-badge.cl-remanded{background:#e8eefb;color:#2b4a8b}
.cl-read{text-align:right}.cl-read .act-read-icon{margin-left:0}

.cl-reader-ref{margin:-4px 0 18px;font-weight:700;color:#33444f}
@media (max-width:900px){
  .cl-row{grid-template-columns:minmax(0,1fr) 46px;gap:6px 12px}
  .cl-main{grid-column:1;grid-row:3}.cl-date{grid-column:1;grid-row:1}.cl-forum{grid-column:1;grid-row:2}
  .cl-cat{grid-column:1;grid-row:4}.cl-out{grid-column:1;grid-row:5}.cl-read{grid-column:2;grid-row:1 / span 2;align-self:start}
}

[data-cl-more][hidden],[data-cl-empty][hidden],[data-cl-list][hidden]{display:none!important}

/* Case law summary sections: one colour per section, the same in every case law */
.cl-sec{margin:0 0 16px;padding:14px 18px 14px 20px;border-left:5px solid var(--cl-c);background:var(--cl-bg);border-radius:0 12px 12px 0}
.cl-sec p{margin:8px 0 0;font-size:1rem;line-height:1.7;color:#16202a}
.cl-label{display:inline-block;padding:3px 12px;border-radius:999px;background:var(--cl-c);color:#fff;font-size:.78rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.cl-facts{--cl-c:#1f5fbf;--cl-bg:#eef4fd}
.cl-issue{--cl-c:#b45309;--cl-bg:#fff6e6}
.cl-held{--cl-c:#15803d;--cl-bg:#eaf7ef}
.cl-takeaway{--cl-c:#6d28d9;--cl-bg:#f3eefc}
