/* HAVAL LAWYER Client — recurring obligations; compact and responsive. */
#portalView #hvRecurringClient{border:1px solid var(--line,#dce6dd);background:var(--panel,#fff);border-radius:13px;padding:12px;margin-bottom:14px;min-width:0;box-shadow:none}
#portalView #hvRecurringClient>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px}
#portalView #hvRecurringClient h2{font-size:15px;font-weight:800;line-height:1.5;color:var(--ink);margin:0}
#portalView #hvRecurringClient header p{font-size:10px;color:var(--muted);margin:0}
#portalView .hv-rec-client-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 12px}
#portalView .hv-rec-client-filters label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:650;color:var(--muted)}
#portalView .hv-rec-client-filters input,#portalView .hv-rec-client-filters select{border:1px solid var(--line);border-radius:8px;padding:7px 8px;background:var(--panel);color:var(--ink);height:35px;font-size:11px;min-width:120px}
#portalView .hv-rec-client-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#portalView .hv-rec-entry{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:9px;min-width:0;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
#portalView .hv-rec-entry>div{min-width:0}
#portalView .hv-rec-entry strong{display:block;font-size:12px;color:var(--ink);overflow-wrap:anywhere;line-height:1.6}
#portalView .hv-rec-entry small{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.5}
#portalView .hv-rec-entry .hv-rc-status{display:inline-flex;font-size:10px;line-height:1.5;font-weight:750;border-radius:6px;padding:3px 7px;background:#edf2ed;color:#566e5a}
#portalView .hv-rec-entry .hv-rc-status.completed{background:#e2f5e6;color:#136941}
#portalView .hv-rec-entry .hv-rc-status.overdue{background:#fbe7e7;color:#a13e3e}
#portalView .hv-rec-entry .hv-rc-status.soon{background:#fff0d4;color:#996409}
#portalView .hv-rec-entry .hv-rc-status.undated{background:#eaece8;color:#69756b}
#portalView .hv-rec-client-files{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px;align-items:center;border-top:1px solid var(--line);padding-top:8px;min-width:0}
#portalView .hv-rec-link,#portalView .hv-rec-upload{font:inherit;color:var(--ok,#125840);font-size:10px;font-weight:700;cursor:pointer;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;padding:5px 3px}
#portalView .hv-rec-client #hvRecurringClientMessage{font-size:10px;color:var(--muted);line-height:1.6;margin:5px 0}
#portalView .hv-rec-empty{padding:16px;text-align:center;color:var(--muted);font-size:11px}
@media(max-width:840px){#portalView .hv-rec-client-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:440px){#portalView #hvRecurringClient{padding:9px}#portalView .hv-rec-entry{gap:7px;padding:9px}}
html[data-client-theme="dark"] #portalView #hvRecurringClient,
html[data-client-theme="dark"] #portalView .hv-rec-entry{background:#1a2d24;color:#edf6f0;border-color:#334b3c}
html[data-client-theme="dark"] #portalView .hv-rec-entry .hv-rc-status.undated{background:#384c3d;color:#dae6dc}
html[data-client-theme="dark"] #portalView .hv-rec-entry .hv-rc-status.completed{background:#194b36;color:#adf0c4}
html[data-client-theme="dark"] #portalView .hv-rec-entry .hv-rc-status.overdue{background:#572e2f;color:#ffc2c2}
html[data-client-theme="dark"] #portalView .hv-rec-entry .hv-rc-status.soon{background:#534324;color:#ffe3a0}
html[data-client-theme="dark"] #portalView .hv-rec-client-filters input,
html[data-client-theme="dark"] #portalView .hv-rec-client-filters select{background:#1c3427;color:#edf6f0;border-color:#37513e}
