/*
 * الملف الرئيسي: library-bundle.css
 * عدد الملفات المدمجة: 17
 * يولد من assets/css/src بواسطة merge-css-files.py
 */


/* ================================================= */
/* المصدر: assets/css/src/library-civil-clean-index.css */
/* ================================================= */

/* Clean styles for /library/civil/. */

.yl-library-breadcrumb {
  margin: 14px 0 18px;
  color: #475569;
  font-weight: 800;
  line-height: 2;
}

.yl-library-breadcrumb a {
  color: inherit;
}


/* البحث الثابت. */

.civil-search-section {
  margin-top: 22px;
}

.civil-search-section .section-head {
  text-align: center;
}

.civil-search-form {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(120, 150, 220, .36);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    #13285a 0%,
    #071735 100%
  );
}

#civilSearchInput {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 68px;
  padding: 0 24px;
  border: 0;
  border-radius: 20px;
  outline: 0;
  background: #fff;
  color: #172033;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-align: right;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .14),
    inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.civil-search-form button {
  flex: 0 0 126px;
  min-height: 68px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    #9154ff 0%,
    #1d6ff2 100%
  );
  color: #fff;
  cursor: pointer;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.civil-search-status {
  min-height: 1.8em;
  margin: 12px 8px 0;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.8;
}

.civil-search-results {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

body.civil-search-has-query
.civil-search-results {
  display: grid;
}

.civil-search-result {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 20px;
  background: #fff;
  color: #111827;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .10);
}

.civil-search-result__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.civil-search-result h3 {
  margin: 0;
  color: #0b225a;
  font-size: 1.16rem;
  line-height: 1.7;
}

.civil-search-result h3 a {
  color: inherit;
  text-decoration: none;
}

.civil-search-result h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.civil-search-result__category {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #d9e6ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b225a;
  font-size: .85rem;
  font-weight: 800;
}

.civil-search-result p {
  margin: 10px 0 14px;
  color: #374151;
  font-weight: 700;
  line-height: 2;
}

.civil-search-result__open {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #d6b44d;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    #f8d46b,
    #c79210
  );
  color: #3d2a00;
  font-weight: 900;
  text-decoration: none;
}

.civil-search-empty,
.civil-search-error {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.9;
}

.civil-search-error {
  border-color: rgba(185, 28, 28, .25);
  color: #991b1b;
}


/* تصنيفات الدعاوى المدنية. */

.civil-index-section {
  margin-top: 22px;
}

.civil-index-section > .section-head {
  margin-bottom: 22px;
  text-align: center;
}

.civil-index-section
> .section-head h2 {
  margin: 0 0 10px;
  color: #0b225a;
  font-weight: 900;
  line-height: 1.7;
}

#civilIndexGrid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  );
  gap: 18px;
  align-items: stretch;
}

#civilIndexGrid .case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#civilIndexGrid .claim-list {
  margin-top: auto;
}

#civilRelatedLinks {
  margin-top: 22px;
}


@media (max-width: 700px) {
  .civil-search-form {
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  #civilSearchInput {
    min-height: 58px;
    padding: 0 14px;
    border-radius: 17px;
    font-size: .96rem;
  }

  .civil-search-form button {
    flex-basis: 82px;
    min-height: 58px;
    border-radius: 17px;
    font-size: .92rem;
  }

  #civilIndexGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media print {
  #civilSearch,
  #civilRelatedLinks {
    display: none !important;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/library-civil-index.css */
/* ================================================= */

/* library-civil-index-inline-cleanup */
.library-official-detail{
  overflow: auto;
  padding: 0 !important;
}

.library-official-detail .book-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
  line-height: 2.1;
  color: #111;
  background: #fff;
}

.library-official-detail .book-table th,
.library-official-detail .book-table td{
  border: 1px solid #d8c9ad;
  padding: 12px 10px;
  vertical-align: top;
  word-break: break-word;
  white-space: normal;
}

.library-official-detail .book-table tr:first-child th{
  font-size: 1.15rem;
  padding: 14px 12px;
}

.library-official-detail .book-note{
  margin: 14px 10px 6px;
  color: #475569;
  font-size: .95rem;
  text-align: center;
  line-height: 1.9;
}

.library-official-detail-wrap{
  margin-top: 18px;
}

.library-official-detail-wrap .yl-pdf-save-area{
  margin: 0 0 14px !important;
  justify-content: flex-start !important;
}

.library-index-page .section-card:first-of-type .section-head h1{
  display: none;
}

.yl-library-breadcrumb{
  margin: 14px 0 18px;
  line-height: 2;
  font-weight: 800;
  color: #475569;
}

.yl-library-breadcrumb a{
  color: inherit;
}

@media (max-width: 700px) {
  .library-official-detail .book-table{
    font-size: .88rem;
    line-height: 1.85;
  }

  .library-official-detail .book-table th,
.library-official-detail .book-table td{
    padding: 8px 6px;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/library-civil-inline.css */
/* ================================================= */

body.yl-civil-inline-fixed .yl-civil-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(20,44,84,.96),rgba(29,78,116,.92)),radial-gradient(circle at 0 0,rgba(255,214,117,.24),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
    body.yl-civil-inline-fixed .yl-civil-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.06);pointer-events:none}
    body.yl-civil-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}
    body.yl-civil-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}
    body.yl-civil-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}
    body.yl-civil-inline-fixed .hero p{color:#eef7ff!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}
    body.yl-civil-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}
    body.yl-civil-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}
    body.yl-civil-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
    body.yl-civil-inline-fixed .library-official-detail-wrap,
body.yl-civil-inline-fixed .library-official-detail,
body.yl-civil-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}
    body.yl-civil-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
    body.yl-civil-inline-fixed .book-table thead{display:table-header-group!important}
    body.yl-civil-inline-fixed .book-table tbody{display:table-row-group!important}
    body.yl-civil-inline-fixed .book-table tr{display:table-row!important}
    body.yl-civil-inline-fixed .book-table th,
body.yl-civil-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:2!important}
    body.yl-civil-inline-fixed .article-text{line-height:2.05;font-weight:700}


/* ================================================= */
/* المصدر: assets/css/src/library-clean-section-index.css */
/* ================================================= */

/* Clean shared index styles. */

.yl-library-breadcrumb {
  margin: 14px 0 18px;
  color: #475569;
  font-weight: 800;
  line-height: 2;
}

.yl-library-breadcrumb a {
  color: inherit;
}


/* البحث الثابت. */

.yl-clean-index-search {
  margin-top: 22px;
}

.yl-clean-index-search > .section-head {
  text-align: center;
}

.yl-clean-index-search__form {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(120, 150, 220, .36);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    #13285a 0%,
    #071735 100%
  );
}

#librarySectionSearchInput {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 68px;
  padding: 0 24px;
  border: 0;
  border-radius: 20px;
  outline: 0;
  background: #fff;
  color: #172033;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-align: right;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .14),
    inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.yl-clean-index-search__form button {
  flex: 0 0 126px;
  min-height: 68px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    #9154ff 0%,
    #1d6ff2 100%
  );
  color: #fff;
  cursor: pointer;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.yl-clean-index-search__status {
  min-height: 1.8em;
  margin: 12px 8px 0;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.8;
}

.yl-clean-index-search__results {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

body.library-clean-search-has-query
.yl-clean-index-search__results {
  display: grid;
}

.yl-clean-search-result {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 20px;
  background: #fff;
  color: #111827;
  box-shadow:
    0 14px 32px rgba(15, 23, 42, .10);
}

.yl-clean-search-result__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.yl-clean-search-result h3 {
  margin: 0;
  color: #0b225a;
  font-size: 1.16rem;
  line-height: 1.7;
}

.yl-clean-search-result h3 a {
  color: inherit;
  text-decoration: none;
}

.yl-clean-search-result h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.yl-clean-search-result__category {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #d9e6ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b225a;
  font-size: .85rem;
  font-weight: 800;
}

.yl-clean-search-result p {
  margin: 10px 0 14px;
  color: #374151;
  font-weight: 700;
  line-height: 2;
}

.yl-clean-search-result__open {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #d6b44d;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    #f8d46b,
    #c79210
  );
  color: #3d2a00;
  font-weight: 900;
  text-decoration: none;
}

.yl-clean-search-empty,
.yl-clean-search-error {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.9;
}

.yl-clean-search-error {
  border-color: rgba(185, 28, 28, .25);
  color: #991b1b;
}


/* بطاقات الفهرس. */

.yl-clean-index-section {
  margin-top: 22px;
}

.yl-clean-index-section > .section-head {
  margin-bottom: 22px;
  text-align: center;
}

.yl-clean-index-section
> .section-head h2 {
  margin: 0 0 10px;
  color: #0b225a;
  font-weight: 900;
  line-height: 1.7;
}

.yl-clean-index-section
> .section-head p {
  max-width: 920px;
  margin: 0 auto;
  color: #64748b;
  font-weight: 700;
  line-height: 2;
}

#librarySectionIndexGrid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  );
  gap: 18px;
  align-items: stretch;
}

#librarySectionIndexGrid .case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#librarySectionIndexGrid .claim-list {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 14px 0 0;
}

#librarySectionIndexGrid .claim-list li {
  list-style: none;
}

#librarySectionIndexGrid .claim-link {
  display: block;
  padding: 11px 13px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
  color: #0b225a;
  font-weight: 800;
  line-height: 1.8;
  text-decoration: none;
}

#librarySectionIndexGrid .claim-link:hover,
#librarySectionIndexGrid .claim-link:focus-visible {
  border-color: rgba(29, 78, 216, .34);
  background: #eef4ff;
  color: #1d4ed8;
}

.yl-clean-related-links {
  margin-top: 22px;
}


@media (max-width: 700px) {
  .yl-clean-index-search__form {
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  #librarySectionSearchInput {
    min-height: 58px;
    padding: 0 14px;
    border-radius: 17px;
    font-size: .96rem;
  }

  .yl-clean-index-search__form button {
    flex-basis: 82px;
    min-height: 58px;
    border-radius: 17px;
    font-size: .92rem;
  }

  #librarySectionIndexGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media print {
  #librarySectionSearch,
  #librarySectionRelatedLinks {
    display: none !important;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/library-commercial-inline.css */
/* ================================================= */

body.yl-commercial-inline-fixed .yl-commercial-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(66,43,12,.96),rgba(121,78,22,.92)),radial-gradient(circle at 0 0,rgba(255,214,117,.26),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
    body.yl-commercial-inline-fixed .yl-commercial-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.06);pointer-events:none}
    body.yl-commercial-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}
    body.yl-commercial-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}
    body.yl-commercial-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}
    body.yl-commercial-inline-fixed .hero p{color:#fff3df!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}
    body.yl-commercial-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}
    body.yl-commercial-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}
    body.yl-commercial-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
    body.yl-commercial-inline-fixed .library-official-detail-wrap,
body.yl-commercial-inline-fixed .library-official-detail,
body.yl-commercial-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}
    body.yl-commercial-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
    body.yl-commercial-inline-fixed .book-table thead{display:table-header-group!important}
    body.yl-commercial-inline-fixed .book-table tbody{display:table-row-group!important}
    body.yl-commercial-inline-fixed .book-table tr{display:table-row!important}
    body.yl-commercial-inline-fixed .book-table th,
body.yl-commercial-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:2!important}
    body.yl-commercial-inline-fixed .article-text{line-height:2.05;font-weight:700}


/* ================================================= */
/* المصدر: assets/css/src/library-criminal-index.css */
/* ================================================= */

/* Clean styles for /library/criminal/. */

.yl-library-breadcrumb {
  margin: 14px 0 18px;
  color: #475569;
  font-weight: 800;
  line-height: 2;
}

.yl-library-breadcrumb a {
  color: inherit;
}


/* البحث الثابت. */

.criminal-search-section {
  margin-top: 22px;
}

.criminal-search-section .section-head {
  text-align: center;
}

.criminal-search-form {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(120, 150, 220, .36);
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    #13285a 0%,
    #071735 100%
  );
}

#criminalSearchInput {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 68px;
  padding: 0 24px;
  border: 0;
  border-radius: 20px;
  outline: 0;
  background: #fff;
  color: #172033;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  text-align: right;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .14),
    inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.criminal-search-form button {
  flex: 0 0 126px;
  min-height: 68px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    #9154ff 0%,
    #1d6ff2 100%
  );
  color: #fff;
  cursor: pointer;
  font-family: Cairo, Tahoma, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
}

.criminal-search-status {
  min-height: 1.8em;
  margin: 12px 8px 0;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.8;
}

.criminal-search-results {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

body.criminal-search-has-query
.criminal-search-results {
  display: grid;
}

.criminal-search-result {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 20px;
  background: #fff;
  color: #111827;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .10);
}

.criminal-search-result__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.criminal-search-result h3 {
  margin: 0;
  color: #0b225a;
  font-size: 1.16rem;
  line-height: 1.7;
}

.criminal-search-result h3 a {
  color: inherit;
  text-decoration: none;
}

.criminal-search-result h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.criminal-search-result__category {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid #d9e6ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b225a;
  font-size: .85rem;
  font-weight: 800;
}

.criminal-search-result p {
  margin: 10px 0 14px;
  color: #374151;
  font-weight: 700;
  line-height: 2;
}

.criminal-search-result__open {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid #d6b44d;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    #f8d46b,
    #c79210
  );
  color: #3d2a00;
  font-weight: 900;
  text-decoration: none;
}

.criminal-search-empty,
.criminal-search-error {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.9;
}

.criminal-search-error {
  border-color: rgba(185, 28, 28, .25);
  color: #991b1b;
}


/* فهرس الجرائم. */

.yl-criminal-civil-index {
  margin-top: 22px;
}

.yl-criminal-civil-index > .section-head {
  margin-bottom: 22px;
  text-align: center;
}

.yl-criminal-civil-index
> .section-head h2 {
  margin: 0 0 10px;
  color: #0b225a;
  font-weight: 900;
  line-height: 1.7;
}

.yl-criminal-civil-index
> .section-head p {
  max-width: 900px;
  margin: 0 auto;
  color: #64748b;
  font-weight: 700;
  line-height: 2;
}

#criminalIndexGrid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(260px, 1fr)
  );
  gap: 18px;
  align-items: stretch;
}

#criminalIndexGrid .case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#criminalIndexGrid .claim-list {
  margin-top: auto;
}

#criminalRelatedLinks {
  margin-top: 22px;
}


@media (max-width: 700px) {
  .criminal-search-form {
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }

  #criminalSearchInput {
    min-height: 58px;
    padding: 0 14px;
    border-radius: 17px;
    font-size: .96rem;
  }

  .criminal-search-form button {
    flex-basis: 82px;
    min-height: 58px;
    border-radius: 17px;
    font-size: .92rem;
  }

  #criminalIndexGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media print {
  #criminalSearch,
  #criminalRelatedLinks {
    display: none !important;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/library-criminal-inline.css */
/* ================================================= */

body.yl-criminal-inline-fixed .yl-criminal-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(42,12,18,.97),rgba(106,24,32,.94)),radial-gradient(circle at 0 0,rgba(255,214,117,.26),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
    body.yl-criminal-inline-fixed .yl-criminal-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.06);pointer-events:none}
    body.yl-criminal-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}
    body.yl-criminal-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}
    body.yl-criminal-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}
    body.yl-criminal-inline-fixed .hero p{color:#fff0f0!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}
    body.yl-criminal-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}
    body.yl-criminal-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}
    body.yl-criminal-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
    body.yl-criminal-inline-fixed .library-official-detail-wrap,
body.yl-criminal-inline-fixed .library-official-detail,
body.yl-criminal-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}
    body.yl-criminal-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
    body.yl-criminal-inline-fixed .book-table thead{display:table-header-group!important}
    body.yl-criminal-inline-fixed .book-table tbody{display:table-row-group!important}
    body.yl-criminal-inline-fixed .book-table tr{display:table-row!important}
    body.yl-criminal-inline-fixed .book-table th,
body.yl-criminal-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:2!important}
    body.yl-criminal-inline-fixed .article-text{line-height:2.05;font-weight:700}


/* ================================================= */
/* المصدر: assets/css/src/library-deadlines.css */
/* ================================================= */

/*
 * التنسيق الموحد لصفحات المواعيد القضائية.
 * استبدل ملفات library-deadlines-inline-a/b/c.
 * قواعد الجداول مملوكة لهذا الملف فقط.
 */

body.yl-deadline-inline-fixed .yl-deadline-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(9,27,67,.96),rgba(15,45,98,.92)),radial-gradient(circle at 0 0,rgba(255,205,94,.25),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}body.yl-deadline-inline-fixed .yl-deadline-fixed-hero::after{content:"⏱";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.055);pointer-events:none}body.yl-deadline-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}body.yl-deadline-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}body.yl-deadline-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}body.yl-deadline-inline-fixed .hero p{color:#dce9ff!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}body.yl-deadline-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}body.yl-deadline-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}body.yl-deadline-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}body.yl-deadline-inline-fixed .library-official-detail-wrap,
body.yl-deadline-inline-fixed .library-official-detail,
body.yl-deadline-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}body.yl-deadline-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}body.yl-deadline-inline-fixed .book-table thead{display:table-header-group!important}body.yl-deadline-inline-fixed .book-table tbody{display:table-row-group!important}body.yl-deadline-inline-fixed .book-table tr{display:table-row!important}body.yl-deadline-inline-fixed .book-table th,
body.yl-deadline-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important}@media(max-width:700px){body.yl-deadline-inline-fixed .hero .seo-internal-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}body.yl-deadline-inline-fixed .hero .seo-internal-link{font-size:clamp(.68rem,2.7vw,.88rem)!important;line-height:1.25!important;padding:7px 3px!important}}


/* ================================================= */
/* المصدر: assets/css/src/library-detail.css */
/* ================================================= */

/* library-detail-inline-cleanup */
.library-official-detail{overflow:auto;padding:0!important}
.library-official-detail .book-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:1rem;line-height:2.1;color:#111;background:#fff;font-family:Cairo,Tahoma,Arial,sans-serif}
.library-official-detail .book-table th,
.library-official-detail .book-table td{border:1px solid #d8c9ad;padding:12px 10px;vertical-align:top;overflow-wrap:anywhere;word-break:break-word;white-space:normal;box-sizing:border-box}
.library-official-detail .book-table th:nth-child(1),
.library-official-detail .book-table td:nth-child(1){width:18%}
.library-official-detail .book-table th:nth-child(2),
.library-official-detail .book-table td:nth-child(2){width:64%}
.library-official-detail .book-table th:nth-child(3),
.library-official-detail .book-table td:nth-child(3){width:18%}
.library-official-detail .book-table tr:first-child th,
.library-official-detail .book-table tr:nth-child(2) th{background:#8B6834;color:#fff}
.library-official-detail .book-table tr:first-child th{font-size:1.15rem;padding:14px 12px}
.library-official-detail .book-table tr:nth-child(odd) td:nth-child(odd){background:#FFF8EC}
.library-official-detail .book-table tr:nth-child(odd) td:nth-child(2){background:#FFFFFF}
.library-official-detail .book-table tr:nth-child(even) td:nth-child(odd){background:#FFF1D8}
.library-official-detail .book-table tr:nth-child(even) td:nth-child(2){background:#FFF7EA}
.library-official-detail .book-note{margin:14px 10px 6px;color:#475569;font-size:.95rem;text-align:center;line-height:1.9}
.library-official-detail-wrap{margin-top:18px}
.library-official-detail-wrap .yl-pdf-save-area{margin:0 0 14px!important;justify-content:flex-start!important}
.library-detail-page .section-card:first-of-type .section-head h1,
.library-index-page .section-card:first-of-type .section-head h1{display:none}
.yl-library-breadcrumb{margin:14px 0 18px;line-height:2;font-weight:800;color:#475569}
.yl-library-breadcrumb a{color:inherit}
/* litigation procedures and legal deadlines: mirror civil lawsuit detail appearance */
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .library-official-detail .book-title,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .library-official-detail .book-title,
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .library-official-detail .book-sub,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .library-official-detail .book-sub{display:none!important}
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .library-official-detail .book-title+.book-sub+.book-table,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .library-official-detail .book-title+.book-sub+.book-table,
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .library-official-detail .book-title+.book-table,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .library-official-detail .book-title+.book-table{margin-top:0!important}
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .library-official-detail .book-table,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .library-official-detail .book-table{margin-top:0!important}
body:has(.yl-library-breadcrumb a[href="/library/litigation-procedures/"]) .hero .hero-content,
body:has(.yl-library-breadcrumb a[href="/library/legal-procedure-deadlines/"]) .hero .hero-content{max-width:980px}

/* readable legal text block for long law pages such as qanun-almiah */
.library-detail-page .law-text,
.library-detail-page .law-text-block{
  color:#102a4c!important;
  -webkit-text-fill-color:#102a4c!important;
  opacity:1!important;
}
.library-detail-page .law-text-pre,
.library-detail-page .law-text-block pre{
  display:block;
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:break-word;
  direction:rtl;
  text-align:right;
  font-family:Cairo,Tahoma,Arial,sans-serif!important;
  font-size:1.08rem!important;
  line-height:2.05!important;
  font-weight:700!important;
  color:#102a4c!important;
  -webkit-text-fill-color:#102a4c!important;
  background:transparent!important;
  opacity:1!important;
}
.library-detail-page .law-text-block{
  background:#fff!important;
  border:1px solid #d8c9ad;
  border-radius:16px;
  padding:22px 18px;
  box-shadow:0 10px 30px rgba(15,23,42,.08);
}

/* hard override: clear readable article search results and law text */
.library-detail-page #ylLawArticleSearchResults,
.library-detail-page #ylLawArticleSearchResults *{opacity:1!important;text-shadow:none!important;filter:none!important;mix-blend-mode:normal!important}
.library-detail-page .yl-law-article-result{background:#fff!important;border:1px solid rgba(15,23,42,.14)!important;box-shadow:0 10px 26px rgba(0,0,0,.16)!important}
.library-detail-page .yl-law-article-result p,
.library-detail-page .yl-law-article-result p *{color:#1f2937!important;-webkit-text-fill-color:#1f2937!important;font-weight:800!important;background:#fff!important;opacity:1!important;line-height:2!important}
.library-detail-page .yl-law-article-title{color:#0b225a!important;-webkit-text-fill-color:#0b225a!important;font-weight:900!important;opacity:1!important}
.library-detail-page .yl-law-article-jump{color:#0b65a8!important;-webkit-text-fill-color:#0b65a8!important;background:#fffdf3!important;border:1px solid #c9a227!important;font-weight:900!important;opacity:1!important}
.library-detail-page .yl-law-article-result mark{background:#fff200!important;color:#111827!important;-webkit-text-fill-color:#111827!important;font-weight:900!important;opacity:1!important}
.library-detail-page .law-text-block .yl-law-preamble,
.library-detail-page .law-text-block .yl-law-article-block{color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;background:#fff!important;opacity:1!important;font-weight:800!important;line-height:2.05!important}
.library-detail-page.yl-law-article-search-active .law-text,
.library-detail-page.yl-law-article-search-active .law-text-block,
body.yl-law-article-search-active .law-text,
body.yl-law-article-search-active .law-text-block{color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;background:#fff!important;opacity:1!important}

@media(max-width:700px){html,
body{-webkit-text-size-adjust:100%;text-size-adjust:100%}.library-official-detail-wrap,
.library-official-detail{max-width:100%;overflow-x:hidden;box-sizing:border-box}.library-official-detail .book-title{margin:0;padding:12px 10px;border:1px solid #d8c9ad;border-bottom:0;background:#8B6834;color:#fff;text-align:center;font-family:Cairo,Tahoma,Arial,sans-serif;font-size:clamp(15px,4vw,18px);font-weight:800;line-height:1.65;border-radius:0}.library-official-detail .book-sub{display:none!important}.library-official-detail .book-table{width:100%;max-width:100%;min-width:0;table-layout:fixed;font-family:Cairo,Tahoma,Arial,sans-serif;font-size:clamp(12px,3.15vw,14px);line-height:1.75}.library-official-detail .book-title+.book-sub+.book-table,
.library-official-detail .book-title+.book-table{margin-top:0}.library-official-detail .book-table th,
.library-official-detail .book-table td{padding:7px 5px;max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal;box-sizing:border-box}.library-official-detail .book-table th:nth-child(1),
.library-official-detail .book-table td:nth-child(1){width:18%;font-size:clamp(10px,2.6vw,12px);line-height:1.55;text-align:center}.library-official-detail .book-table th:nth-child(2),
.library-official-detail .book-table td:nth-child(2){width:64%;font-size:clamp(12px,3.15vw,14px);line-height:1.85;text-align:right}.library-official-detail .book-table th:nth-child(3),
.library-official-detail .book-table td:nth-child(3){width:18%;font-size:clamp(10px,2.6vw,12px);line-height:1.55;text-align:center}.library-official-detail .book-table thead th{background:#8B6834;color:#fff;text-align:center;font-weight:800}.library-official-detail .book-table tr:first-child th{font-size:clamp(15px,4vw,18px);line-height:1.65}.library-official-detail .material-block,
.library-official-detail .material-block div,
.library-official-detail .book-table strong,
.library-official-detail .book-table b{max-width:100%;overflow-wrap:anywhere;word-break:break-word;white-space:normal}.library-official-detail .book-table br{line-height:1.45}.library-detail-page .law-text-pre,
.library-detail-page .law-text-block pre{font-size:clamp(15px,4vw,17px)!important;line-height:2!important;font-weight:700!important}.library-detail-page .law-text-block{padding:16px 12px;border-radius:14px}.library-detail-page .yl-law-article-result p{font-size:clamp(14px,3.6vw,16px)!important;line-height:2!important}}


/* ================================================= */
/* المصدر: assets/css/src/library-litigation-procedures.css */
/* ================================================= */

/*
 * التنسيق الموحد لصفحات إجراءات التقاضي.
 * يعتمد النسخة A لأنها تحتوي خاصيتي التحسين
 * letter-spacing وbox-shadow الإضافيتين.
 */

body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(9,27,67,.96),rgba(15,45,98,.92)),radial-gradient(circle at 0 0,rgba(255,205,94,.25),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero::before{content:"";position:absolute;inset:auto -70px -120px auto;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.45),transparent 70%);filter:blur(6px)}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.055);line-height:1;pointer-events:none}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .hero-content{position:relative;z-index:1;max-width:900px}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .hero-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:9px 16px;border-radius:999px;background:linear-gradient(135deg,rgba(255,206,97,.20),rgba(255,255,255,.08))!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900;letter-spacing:.01em}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950;text-shadow:0 10px 30px rgba(0,0,0,.32)}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero p{color:#dce9ff!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;max-width:900px;font-weight:700}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff4cd!important;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.10)}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .contract-viewer-action-strip.seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:760px!important;margin:16px 0 0!important;direction:rtl!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .contract-viewer-action-strip .seo-internal-link{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-size:clamp(.95rem,2.8vw,1.12rem)!important;font-weight:950!important;text-align:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);white-space:normal;line-height:1.55}
body.yl-litigation-inline-fixed .library-official-detail-wrap,
body.yl-litigation-inline-fixed .library-official-detail,
body.yl-litigation-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important;transform:none!important;filter:none!important;content-visibility:visible!important;contain:none!important}
body.yl-litigation-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
body.yl-litigation-inline-fixed .book-table thead{display:table-header-group!important}body.yl-litigation-inline-fixed .book-table tbody{display:table-row-group!important}body.yl-litigation-inline-fixed .book-table tr{display:table-row!important}body.yl-litigation-inline-fixed .book-table th,
body.yl-litigation-inline-fixed .book-table td{display:table-cell!important;color:#111!important;visibility:visible!important;opacity:1!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important}
@media(max-width:700px){body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero{border-radius:24px;padding:28px 18px}body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero h1{font-size:clamp(1.75rem,7vw,2.45rem);line-height:1.35}body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .contract-viewer-action-strip.seo-internal-links-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero .contract-viewer-action-strip .seo-internal-link{min-height:40px;padding:7px 3px!important;border-radius:11px!important;font-size:clamp(.68rem,2.7vw,.88rem)!important;line-height:1.25!important}}

/* توحيد صفوف الهيرو مع صفحة المكتبة: واتساب أولاً ثم أربعة أزرار */
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .hero-content{width:100%!important;max-width:1120px!important;margin:0 auto!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .yl-litigation-whatsapp-row{display:flex!important;width:100%!important;max-width:none!important;margin:clamp(22px,4vw,34px) 0 10px!important;clear:both!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .yl-litigation-whatsapp-row .yl-litigation-whatsapp-button{width:100%!important;max-width:none!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .contract-viewer-action-strip.seo-internal-links-grid.yl-litigation-hero-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:none!important;margin:0!important;gap:10px!important;clear:both!important}
body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .contract-viewer-action-strip.yl-litigation-hero-actions .yl-litigation-hero-action{min-width:0!important;min-height:58px!important;padding:10px 8px!important;font-size:14px!important}
@media(max-width:720px){body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero{padding:24px 8px!important}body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .contract-viewer-action-strip.seo-internal-links-grid.yl-litigation-hero-actions{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}body.yl-litigation-inline-fixed .hero.hero-modern.yl-litigation-fixed-hero.yl-litigation-static-hero .contract-viewer-action-strip.yl-litigation-hero-actions .yl-litigation-hero-action{flex-direction:column!important;min-height:66px!important;padding:6px 2px!important;font-size:9.5px!important;line-height:1.35!important}}


/* ================================================= */
/* المصدر: assets/css/src/library-modern-index.css */
/* ================================================= */

/* Styles used by the main /library/ page only. */

.library-index-page .yl-library-breadcrumb {
  margin: 14px 0 18px;
  color: #475569;
  font-weight: 800;
  line-height: 2;
}

.library-index-page .yl-library-breadcrumb a {
  color: inherit;
}

.library-index-page .library-title-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.library-index-page .library-title-link:hover,
.library-index-page .library-title-link:focus-visible {
  color: #b7791f;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.library-index-page .library-title-link:focus-visible {
  border-radius: 8px;
  outline: 3px solid rgba(201, 162, 77, .55);
  outline-offset: 4px;
}

#ylLibraryIndexSearch {
  direction: rtl;
}

#ylLibraryIndexSearch .library-search-panel {
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid rgba(201, 162, 77, .34);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    #13285a 0%,
    #071735 100%
  );
  box-shadow: 0 18px 42px rgba(15, 23, 42, .18);
}

#ylLibraryIndexSearchStatus {
  min-height: 1.8em;
  margin: 12px 8px 0;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.8;
}

#ylLibraryIndexSearchResults {
  display: none;
  gap: 14px;
  margin-top: 18px;
}

body.library-search-has-query
#ylLibraryIndexSearchResults {
  display: grid;
}

#ylLibraryIndexSearch .ai-result {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 20px;
  background: #fff;
  color: #111827;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .1);
}

#ylLibraryIndexSearch .ai-result-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

#ylLibraryIndexSearch .ai-result h3 {
  margin: 0;
  color: #0b225a;
  font-size: 1.16rem;
  line-height: 1.6;
}

#ylLibraryIndexSearch .ai-result-title-link {
  color: inherit;
  text-decoration: none;
}

#ylLibraryIndexSearch .ai-result-title-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

#ylLibraryIndexSearch .ai-score {
  margin-top: 4px;
  color: #64748b;
  font-size: .88rem;
  font-weight: 700;
}

#ylLibraryIndexSearch .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid #d9e6ff;
  border-radius: 999px;
  background: #eef4ff;
  color: #0b225a;
  font-size: .85rem;
  font-weight: 800;
  white-space: nowrap;
}

#ylLibraryIndexSearch .ai-excerpt {
  margin: 8px 0 14px;
  color: #374151;
  font-weight: 700;
  line-height: 2;
}

#ylLibraryIndexSearch .ai-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

#ylLibraryIndexSearch .ai-empty,
#ylLibraryIndexSearch .ai-search-error {
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: #fff;
  color: #475569;
  text-align: center;
  font-weight: 800;
  line-height: 1.9;
}

#ylLibraryIndexSearch .ai-search-error {
  border-color: rgba(185, 28, 28, .25);
  color: #991b1b;
}

#libraryDirectory .library-modern-grid {
  display: grid;
  grid-template-columns: repeat(
    4,
    minmax(0, 1fr)
  );
  gap: 18px;
}

#libraryDirectory .library-modern-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(201, 162, 77, .28);
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fbf7ee 100%
  );
  box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

#libraryDirectory .library-modern-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(
    90deg,
    #12324a,
    #c9a24d
  );
}

#libraryDirectory .library-modern-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 77, .6);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .13);
}

#libraryDirectory .library-modern-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: #12324a;
  color: #facc15;
  font-size: 1.35rem;
}

#libraryDirectory .library-modern-card h3 {
  margin: 0 0 10px;
  color: #12324a;
  font-size: 1.22rem;
  line-height: 1.55;
}

#libraryDirectory .library-modern-card > p {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.9;
}

#libraryDirectory .library-modern-card > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

#libraryDirectory .library-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

#libraryDirectory .library-card-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .82rem;
  font-weight: 800;
}

#libraryRelatedLinks .seo-internal-links-grid {
  margin-top: 14px;
}

@media (max-width: 1100px) {
  #libraryDirectory .library-modern-grid {
    grid-template-columns: repeat(
      2,
      minmax(0, 1fr)
    );
  }
}

@media (max-width: 680px) {
  #ylLibraryIndexSearch .library-search-panel {
    padding: 10px;
    border-radius: 18px;
  }

  #ylLibraryIndexSearchResults {
    gap: 10px;
    margin-top: 12px;
  }

  #ylLibraryIndexSearch .ai-result {
    padding: 14px;
    border-radius: 16px;
  }

  #libraryDirectory .library-modern-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  #ylLibraryIndexSearch,
  #libraryRelatedLinks {
    display: none !important;
  }

  #libraryDirectory .library-modern-card {
    box-shadow: none;
  }
}

/* YL library page cleanup 20260722 */
#libraryUsageGuide .case-card h3,
#libraryFaq .case-card h3 {
  margin: 0 0 10px;
  color: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.7;
}

.yl-library-ad-slot {
  max-width: 100%;
  margin: 20px auto;
  overflow-x: auto;
  text-align: center;
  -webkit-overflow-scrolling: touch;
}

.yl-library-ad-slot iframe {
  max-width: 100%;
}


/* ================================================= */
/* المصدر: assets/css/src/library-personal-status-inline.css */
/* ================================================= */

body.yl-personal-inline-fixed .yl-personal-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(70,34,89,.96),rgba(105,55,130,.92)),radial-gradient(circle at 0 0,rgba(255,214,117,.26),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
    body.yl-personal-inline-fixed .yl-personal-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.06);pointer-events:none}
    body.yl-personal-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}
    body.yl-personal-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}
    body.yl-personal-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}
    body.yl-personal-inline-fixed .hero p{color:#fff3ff!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}
    body.yl-personal-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}
    body.yl-personal-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}
    body.yl-personal-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
    body.yl-personal-inline-fixed .library-official-detail-wrap,
body.yl-personal-inline-fixed .library-official-detail,
body.yl-personal-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}
    body.yl-personal-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
    body.yl-personal-inline-fixed .book-table thead{display:table-header-group!important}
    body.yl-personal-inline-fixed .book-table tbody{display:table-row-group!important}
    body.yl-personal-inline-fixed .book-table tr{display:table-row!important}
    body.yl-personal-inline-fixed .book-table th,
body.yl-personal-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:2!important}
    body.yl-personal-inline-fixed .article-text{line-height:2.05;font-weight:700}


/* ================================================= */
/* المصدر: assets/css/src/library-section-index.css */
/* ================================================= */

/* library-section-index-inline-cleanup */
.library-official-detail{
  overflow: auto;
  padding: 0 !important;
}

.library-official-detail .book-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 1rem;
  line-height: 2.1;
  color: #111;
  background: #fff;
}

.library-official-detail .book-table th,
.library-official-detail .book-table td{
  border: 1px solid #d8c9ad;
  padding: 12px 10px;
  vertical-align: top;
  word-break: break-word;
  white-space: normal;
}

.library-official-detail .book-table tr:first-child th{
  font-size: 1.15rem;
  padding: 14px 12px;
}

.library-official-detail .book-note{
  margin: 14px 10px 6px;
  color: #475569;
  font-size: .95rem;
  text-align: center;
  line-height: 1.9;
}

.library-official-detail-wrap{
  margin-top: 18px;
}

.library-official-detail-wrap .yl-pdf-save-area{
  margin: 0 0 14px !important;
  justify-content: flex-start !important;
}

.library-index-page .section-card:first-of-type .section-head h1{
  display: none;
}

.yl-library-breadcrumb{
  margin: 14px 0 18px;
  line-height: 2;
  font-weight: 800;
  color: #475569;
}

.yl-library-breadcrumb a{
  color: inherit;
}

body.library-index-page main.page-shell > section.hero.hero-modern + section.section-card > div.section-head:first-child,
body.library-index-page main.page-shell > nav.yl-library-breadcrumb + section.hero.hero-modern + section.section-card > div.section-head:first-child{
  display: none !important;
  max-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 700px) {
  .library-official-detail .book-table{
    font-size: .88rem;
    line-height: 1.85;
  }

  .library-official-detail .book-table th,
.library-official-detail .book-table td{
    padding: 8px 6px;
  }
}


/* ================================================= */
/* المصدر: assets/css/src/library-urgent-inline.css */
/* ================================================= */

body.yl-urgent-inline-fixed .yl-urgent-fixed-hero{position:relative;overflow:hidden;margin-top:18px;border-radius:38px;padding:clamp(32px,5vw,70px);background:linear-gradient(135deg,rgba(88,28,28,.96),rgba(127,45,24,.92)),radial-gradient(circle at 0 0,rgba(255,214,117,.24),transparent 35%)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 30px 80px rgba(0,0,0,.30)!important;color:#fff!important}
    body.yl-urgent-inline-fixed .yl-urgent-fixed-hero::after{content:"⚖";position:absolute;left:clamp(18px,5vw,70px);top:50%;transform:translateY(-50%);font-size:clamp(5rem,13vw,12rem);color:rgba(255,255,255,.06);pointer-events:none}
    body.yl-urgent-inline-fixed .hero-content{position:relative;z-index:1;max-width:900px}
    body.yl-urgent-inline-fixed .hero-badge{display:inline-flex;padding:9px 16px;border-radius:999px;background:rgba(255,206,97,.18)!important;border:1px solid rgba(255,221,134,.35)!important;color:#ffe19d!important;font-weight:900}
    body.yl-urgent-inline-fixed .hero h1{margin:18px 0 12px;color:#fff!important;font-size:clamp(2.2rem,5vw,4.8rem);line-height:1.25;font-weight:950}
    body.yl-urgent-inline-fixed .hero p{color:#fff3df!important;font-size:clamp(1rem,1.6vw,1.28rem);line-height:2.1;font-weight:700}
    body.yl-urgent-inline-fixed .hero-motto{margin-top:20px;display:inline-flex;padding:14px 18px;border-radius:20px;background:rgba(255,255,255,.08)!important;color:#fff4cd!important;font-weight:900}
    body.yl-urgent-inline-fixed .hero .seo-internal-links-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;max-width:760px!important;margin:16px 0 0!important}
    body.yl-urgent-inline-fixed .hero .seo-internal-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 8px;border-radius:16px!important;color:#fff!important;font-weight:950!important;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
    body.yl-urgent-inline-fixed .library-official-detail-wrap,
body.yl-urgent-inline-fixed .library-official-detail,
body.yl-urgent-inline-fixed .book-table{display:block!important;visibility:visible!important;opacity:1!important;max-height:none!important;height:auto!important;overflow:visible!important}
    body.yl-urgent-inline-fixed .book-table{display:table!important;width:100%!important;background:#fff!important;color:#111!important;border-collapse:collapse!important;table-layout:fixed!important}
    body.yl-urgent-inline-fixed .book-table thead{display:table-header-group!important}
    body.yl-urgent-inline-fixed .book-table tbody{display:table-row-group!important}
    body.yl-urgent-inline-fixed .book-table tr{display:table-row!important}
    body.yl-urgent-inline-fixed .book-table th,
body.yl-urgent-inline-fixed .book-table td{display:table-cell!important;color:#111!important;border:1px solid #d8c9ad!important;padding:10px!important;vertical-align:top!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:2!important}
    body.yl-urgent-inline-fixed .article-text{line-height:2.05;font-weight:700}


/* ================================================= */
/* المصدر: assets/css/src/library-yemeni-laws-local-authority-inline.css */
/* ================================================= */

.law-text-pre{white-space:pre-wrap;line-height:2.05;font-size:1.08rem;font-family:Cairo,Tahoma,Arial,sans-serif;margin:0;overflow-wrap:anywhere;text-align:right;direction:rtl;color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;font-weight:700!important;opacity:1!important}.law-text-block{background:#fff!important;color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;opacity:1!important}.yl-law-loading{padding:16px;border:1px dashed #b9955a;border-radius:14px;background:#fff8e8;color:#6b4d1f;font-weight:800}


/* ================================================= */
/* المصدر: assets/css/src/library-yemeni-laws-text.css */
/* ================================================= */

.law-text-pre{white-space:pre-wrap;line-height:2.05;font-size:1.08rem;font-family:Cairo,Tahoma,Arial,sans-serif;margin:0;overflow-wrap:anywhere;text-align:right;direction:rtl;color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;font-weight:700!important;opacity:1!important}.law-text-block{background:#fff!important;color:#102a4c!important;-webkit-text-fill-color:#102a4c!important;opacity:1!important}


/* ================================================= */
/* المصدر: assets/css/src/library-yemeni-laws-water-inline.css */
/* ================================================= */

.law-text-pre{white-space:pre-wrap;line-height:2.05;font-size:1.05rem;font-family:inherit;margin:0;overflow-wrap:anywhere;text-align:right;direction:rtl;}
    .law-source-note{margin-top:1rem;font-size:.95rem;color:#6b5b45;}
