/* برنامج المحاماة (js/screens/law.js) */
.lw-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.lw-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lw-tile:hover { transform: translateY(-3px); border-color: var(--c); box-shadow: 0 16px 30px -20px var(--c); }
.lw-ti { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); }
.lw-ti i { font-size: 26px; color: var(--c); }
.lw-tile b { font-family: var(--display); font-size: 30px; line-height: 1.1; }
.lw-tile > span:last-child { color: var(--text-2); font-size: 13px; font-weight: 700; }
tr.lw-grp td { background: var(--violet-50); color: var(--text); font-weight: 700; padding: 9px 12px; border-block: 1px solid var(--line); }
tr.lw-today td { background: var(--lime-50); }
.lw-kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px 20px; padding: 6px 16px 16px; }
.lw-kv > div { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.lw-kv span { font-size: 12px; }
.lw-kv b { font-size: 14.5px; overflow-wrap: anywhere; }
.lw-subj { padding: 0 16px 16px; }
.lw-subj p { margin: 4px 0 0; white-space: pre-wrap; line-height: 1.8; }
