/*!
 * LegalCops Legal Drafts — front-end styles.
 * Mobile-first. All rules are scoped to .lcld so the Newspaper theme is not affected.
 */

.lcld {
	--lc-navy: #142B4A;
	--lc-navy-2: #203D60;
	--lc-gold: #B89550;
	--lc-gold-dark: #6E5420;
	--lc-gold-soft: #F6EFE1;
	--lc-white: #FFFFFF;
	--lc-bg: #F5F7FA;
	--lc-text: #344054;
	--lc-muted: #5D6B82;
	--lc-heading: #101828;
	--lc-border: #E5E7EB;
	--lc-ok: #1E7B4D;
	--lc-ok-bg: #E8F5EE;
	--lc-warn: #8A5A00;
	--lc-warn-bg: #FFF4DB;
	--lc-radius: 12px;
	--lc-radius-sm: 8px;
	--lc-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 14px rgba(16, 24, 40, .06);
	--lc-shadow-hover: 0 2px 4px rgba(16, 24, 40, .06), 0 10px 26px rgba(16, 24, 40, .10);
	--lc-gap: 16px;
	color: var(--lc-text);
	font-size: 16px;
	line-height: 1.6;
	background: var(--lc-white);
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
}

.lcld *,
.lcld *::before,
.lcld *::after {
	box-sizing: border-box;
}

.lcld a {
	color: var(--lc-navy-2);
	text-decoration: none;
}

.lcld a:hover {
	color: var(--lc-gold-dark);
}

.lcld a:focus-visible,
.lcld button:focus-visible,
.lcld input:focus-visible,
.lcld select:focus-visible,
.lcld summary:focus-visible,
.lcld [tabindex]:focus-visible {
	outline: 3px solid var(--lc-gold);
	outline-offset: 2px;
}

.lcld p {
	margin: 0 0 12px;
}

.lcld ul,
.lcld ol {
	margin: 0;
	padding: 0;
}

.lcld img {
	max-width: 100%;
	height: auto;
}

.lcld .lcld-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lcld-ico {
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	vertical-align: -.15em;
}

.lcld-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
}

.lcld-wrap--narrow {
	max-width: 880px;
}

/* ---------- Typography ---------- */

.lcld .lcld-h1,
.lcld .lcld-h2,
.lcld .lcld-h3,
.lcld .lcld-hero__title {
	font-family: inherit;
	color: var(--lc-heading);
	font-weight: 700;
	letter-spacing: -.01em;
	margin: 0 0 12px;
	text-transform: none;
}

.lcld .lcld-h1 {
	font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);
	line-height: 1.2;
}

.lcld .lcld-h2 {
	font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem);
	line-height: 1.3;
}

.lcld .lcld-h3 {
	font-size: 1.12rem;
	line-height: 1.35;
}

.lcld-eyebrow {
	display: inline-block;
	font-size: .78rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--lc-gold-dark);
	margin: 0 0 8px !important;
}

.lcld-small {
	font-size: .9rem;
	color: var(--lc-muted);
}

/* ---------- Buttons ---------- */

.lcld .lcld-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1.5px solid transparent;
	font: inherit;
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
	text-decoration: none;
}

.lcld .lcld-btn--block {
	display: flex;
	width: 100%;
}

.lcld .lcld-btn--primary {
	background: var(--lc-navy);
	color: #fff;
}

.lcld .lcld-btn--primary:hover {
	background: var(--lc-navy-2);
	color: #fff;
}

.lcld .lcld-btn--secondary {
	background: #fff;
	color: var(--lc-navy);
	border-color: var(--lc-navy);
}

.lcld .lcld-btn--secondary:hover {
	background: var(--lc-bg);
	color: var(--lc-navy);
}

.lcld .lcld-btn--gold {
	background: var(--lc-gold);
	color: #1b1406;
}

.lcld .lcld-btn--gold:hover {
	background: #c8a764;
	color: #1b1406;
}

.lcld .lcld-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .55);
}

.lcld .lcld-btn--ghost:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border-color: #fff;
}

.lcld .lcld-btn--ghost-dark {
	background: #fff;
	color: var(--lc-navy);
	border-color: var(--lc-border);
}

.lcld .lcld-btn--ghost-dark:hover {
	border-color: var(--lc-navy);
	color: var(--lc-navy);
}

.lcld .lcld-btn--locked {
	background: var(--lc-bg);
	color: var(--lc-muted);
	border-color: var(--lc-border);
	cursor: not-allowed;
}

.lcld-link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	white-space: nowrap;
}

.lcld .lcld-link-small {
	display: inline-block;
	margin-top: 8px;
	font-size: .9rem;
	font-weight: 600;
	background: none;
	border: 0;
	padding: 0;
	color: var(--lc-navy-2);
	cursor: pointer;
}

/* ---------- Badges / chips ---------- */

.lcld-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .76rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}

.lcld-badge--free {
	background: var(--lc-ok-bg);
	color: var(--lc-ok);
}

.lcld-badge--pro {
	background: var(--lc-gold-soft);
	color: var(--lc-gold-dark);
}

.lcld-badge--ok {
	background: var(--lc-ok-bg);
	color: var(--lc-ok);
}

.lcld-badge--warn {
	background: var(--lc-warn-bg);
	color: var(--lc-warn);
}

.lcld-badge--class {
	background: #EAF0F7;
	color: var(--lc-navy-2);
}

.lcld .lcld-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--lc-border);
	border-radius: 999px;
	background: #fff;
	color: var(--lc-navy-2);
	font-size: .88rem;
	font-weight: 500;
	line-height: 1.3;
}

.lcld a.lcld-chip:hover {
	border-color: var(--lc-gold);
	color: var(--lc-navy);
}

.lcld .lcld-chip--info {
	background: #EAF0F7;
	border-color: #EAF0F7;
	font-size: .8rem;
	padding: 2px 10px;
}

.lcld .lcld-chip--muted {
	font-size: .75rem;
	padding: 1px 8px;
	color: var(--lc-muted);
}

.lcld .lcld-chip--light {
	background: rgba(255, 255, 255, .9);
}

.lcld-count {
	display: inline-block;
	min-width: 24px;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--lc-bg);
	color: var(--lc-muted);
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.7;
	text-align: center;
}

.lcld-chips-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.lcld-chips-list--head {
	margin-top: 16px !important;
}

/* ---------- Preview bar & breadcrumbs ---------- */

.lcld-preview-bar {
	background: var(--lc-warn-bg);
	color: var(--lc-warn);
	border-bottom: 1px solid #f0d9a4;
	padding: 10px 16px;
	font-size: .9rem;
	text-align: center;
}

.lcld-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0 0 14px;
	font-size: .86rem;
	color: var(--lc-muted);
}

.lcld-crumbs li:not(:last-child)::after {
	content: "›";
	margin-left: 6px;
	color: #98a2b3;
}

.lcld-crumbs li[aria-current] {
	color: var(--lc-text);
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

/* ---------- Hero ---------- */

.lcld-hero {
	position: relative;
	background: var(--lc-navy);
	background-image: radial-gradient(1200px 400px at 85% -10%, rgba(184, 149, 80, .18), transparent 60%), linear-gradient(180deg, var(--lc-navy) 0%, #10233D 100%);
	color: #E6ECF4;
	padding: 28px 0 36px;
	border-bottom: 3px solid var(--lc-gold);
}

.lcld-hero .lcld-crumbs ol {
	color: #B9C5D6;
}

.lcld-hero .lcld-crumbs a {
	color: #DCE4EF;
}

.lcld-hero .lcld-crumbs li[aria-current] {
	color: #fff;
}

.lcld-hero .lcld-eyebrow {
	color: var(--lc-gold);
}

.lcld-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.lcld-hero__copy {
	min-width: 0;
}

.lcld .lcld-hero__title {
	color: #fff;
	font-size: clamp(1.65rem, 1.2rem + 2vw, 2.6rem);
	line-height: 1.18;
	max-width: 22ch;
}

.lcld-hero__text {
	color: #CBD5E3;
	font-size: 1.02rem;
	max-width: 62ch;
	margin-bottom: 20px !important;
}

.lcld-hero__ctas {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 16px;
}

.lcld-hero__art {
	display: none;
}

.lcld-hero__art svg {
	width: 100%;
	height: auto;
	max-width: 420px;
	display: block;
	margin: 0 auto;
}

.lcld-trust {
	list-style: none;
	display: grid;
	gap: 8px;
	margin-top: 20px !important;
	font-size: .9rem;
	color: #CBD5E3;
}

.lcld-trust li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.lcld-trust .lcld-ico {
	color: var(--lc-gold);
	margin-top: 2px;
}

/* ---------- Search ---------- */

.lcld-search {
	position: relative;
	width: 100%;
	max-width: 680px;
}

.lcld-search__box {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1.5px solid var(--lc-border);
	border-radius: 12px;
	padding: 4px 4px 4px 14px;
	box-shadow: var(--lc-shadow);
}

.lcld-search__box:focus-within {
	border-color: var(--lc-gold);
}

.lcld-search__box > .lcld-ico {
	color: var(--lc-muted);
	width: 20px;
	height: 20px;
}

.lcld .lcld-search__input {
	flex: 1 1 auto;
	min-width: 0;
	border: 0 !important;
	outline: 0;
	box-shadow: none !important;
	background: transparent !important;
	font: inherit;
	font-size: 1rem;
	color: var(--lc-heading);
	padding: 10px 10px !important;
	margin: 0 !important;
	height: auto !important;
	line-height: 1.4 !important;
}

.lcld .lcld-search__btn {
	flex: 0 0 auto;
	min-height: 44px;
	padding: 0 16px;
	border: 0;
	border-radius: 9px;
	background: var(--lc-gold);
	color: #1b1406;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.lcld .lcld-search__btn:hover {
	background: #c8a764;
}

.lcld-search--head {
	margin-top: 16px;
}

.lcld-suggest {
	position: absolute;
	z-index: 50;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	list-style: none;
	background: #fff;
	border: 1px solid var(--lc-border);
	border-radius: 12px;
	box-shadow: var(--lc-shadow-hover);
	overflow: hidden;
	max-height: 360px;
	overflow-y: auto;
}

.lcld-suggest li a,
.lcld-suggest li.lcld-suggest__none {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	color: var(--lc-heading);
	font-size: .95rem;
	border-bottom: 1px solid var(--lc-bg);
}

.lcld-suggest li a small {
	color: var(--lc-muted);
	font-size: .76rem;
	white-space: nowrap;
}

.lcld-suggest li[aria-selected="true"] a,
.lcld-suggest li a:hover {
	background: var(--lc-bg);
	color: var(--lc-navy);
}

/* ---------- Sections ---------- */

.lcld-section {
	padding: 36px 0 8px;
}

.lcld-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 16px;
	margin-bottom: 18px;
}

.lcld-section__head .lcld-h2 {
	margin-bottom: 4px;
}

.lcld-section__intro {
	color: var(--lc-muted);
	margin: 0 !important;
	max-width: 70ch;
}

.lcld-tiles {
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
}

.lcld .lcld-tile {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas: "icon title" "icon text" "icon count";
	column-gap: 14px;
	row-gap: 2px;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	box-shadow: var(--lc-shadow);
	color: var(--lc-text);
	transition: box-shadow .15s ease, border-color .15s ease;
}

.lcld .lcld-tile:hover {
	border-color: var(--lc-gold);
	box-shadow: var(--lc-shadow-hover);
	color: var(--lc-text);
}

.lcld-tile__icon {
	grid-area: icon;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: var(--lc-navy);
	color: var(--lc-gold);
}

.lcld-tile__icon .lcld-ico {
	width: 22px;
	height: 22px;
}

.lcld-tile__title {
	grid-area: title;
	font-weight: 700;
	color: var(--lc-heading);
	font-size: 1.04rem;
}

.lcld-tile__text {
	grid-area: text;
	font-size: .9rem;
	color: var(--lc-muted);
}

.lcld-tile__count {
	grid-area: count;
	font-size: .82rem;
	font-weight: 700;
	color: var(--lc-gold-dark);
	margin-top: 4px;
}

.lcld-subjects {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr;
	list-style: none;
}

.lcld-subjects li > a,
.lcld-subjects li > span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	background: #fff;
	font-weight: 600;
	color: var(--lc-heading);
}

.lcld-subjects li > a:hover {
	border-color: var(--lc-gold);
	color: var(--lc-navy);
}

.lcld-subjects .is-empty {
	color: var(--lc-muted) !important;
	font-weight: 500 !important;
	background: var(--lc-bg) !important;
}

.lcld-soon {
	font-size: .72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.lcld-hc-list {
	margin-top: 20px;
	padding: 18px;
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	background: var(--lc-bg);
}

.lcld-hc-list ul {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px 18px;
	list-style: none;
}

.lcld-hc-list li a,
.lcld-hc-list li span {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px dashed var(--lc-border);
	font-size: .95rem;
}

.lcld-hc-list .is-empty {
	color: var(--lc-muted);
}

/* ---------- Cards ---------- */

.lcld-grid {
	display: grid;
	gap: var(--lc-gap);
	grid-template-columns: 1fr;
}

.lcld-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--lc-border);
	border-radius: var(--lc-radius);
	box-shadow: var(--lc-shadow);
	transition: box-shadow .15s ease, border-color .15s ease;
	position: relative;
}

.lcld-card:hover {
	box-shadow: var(--lc-shadow-hover);
	border-color: #d4dae3;
}

.lcld-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.lcld-card__court {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .8rem;
	font-weight: 600;
	color: var(--lc-muted);
	min-width: 0;
}

.lcld-card__court .lcld-ico {
	color: var(--lc-gold);
}

.lcld-card__badges {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 4px;
}

.lcld .lcld-card__title {
	font-family: inherit;
	font-size: 1.08rem;
	line-height: 1.35;
	font-weight: 700;
	margin: 2px 0 0;
	color: var(--lc-heading);
	overflow-wrap: anywhere;
}

.lcld .lcld-card__title a {
	color: var(--lc-heading);
}

.lcld .lcld-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: var(--lc-radius);
}

.lcld .lcld-card__title a:hover {
	color: var(--lc-navy-2);
}

.lcld-card__excerpt {
	color: var(--lc-muted);
	font-size: .93rem;
	margin: 0 !important;
}

.lcld-card__foot {
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--lc-bg);
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: .8rem;
	color: var(--lc-muted);
}

.lcld-card__prov {
	font-weight: 700;
	color: var(--lc-navy-2);
}

.lcld-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
}

.lcld-card__fmt {
	font-weight: 700;
	letter-spacing: .03em;
}

.lcld-card__rev {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	color: var(--lc-ok);
	font-weight: 600;
}

/* ---------- FAQs ---------- */

.lcld-accordion {
	display: grid;
	gap: 10px;
}

.lcld-faq {
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	background: #fff;
}

.lcld-faq > summary {
	list-style: none;
	cursor: pointer;
	padding: 14px 44px 14px 16px;
	font-weight: 600;
	color: var(--lc-heading);
	position: relative;
	min-height: 48px;
}

.lcld-faq > summary::-webkit-details-marker {
	display: none;
}

.lcld-faq > summary::after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--lc-gold-dark);
}

.lcld-faq[open] > summary::after {
	content: "–";
}

.lcld-faq__a {
	padding: 0 16px 14px;
	color: var(--lc-text);
}

/* ---------- Resources / CTA / disclaimer ---------- */

.lcld-resources {
	display: grid;
	gap: 10px;
	grid-template-columns: 1fr;
	list-style: none;
}

.lcld-resources a {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 10px;
	padding: 14px 16px;
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	background: #fff;
	font-weight: 600;
}

.lcld-resources a .lcld-ico {
	grid-row: span 2;
	color: var(--lc-gold);
}

.lcld-resources small {
	color: var(--lc-muted);
	font-weight: 400;
	font-size: .78rem;
}

.lcld-cta {
	margin: 40px 0 8px;
	padding: 26px 20px;
	border-radius: 16px;
	background: var(--lc-navy);
	background-image: linear-gradient(135deg, var(--lc-navy) 0%, var(--lc-navy-2) 100%);
	color: #DCE4EF;
	display: grid;
	gap: 16px;
	border-left: 4px solid var(--lc-gold);
}

.lcld-cta h2 {
	color: #fff !important;
	font-size: 1.4rem !important;
	margin: 0 0 6px !important;
}

.lcld-cta p {
	margin: 0 !important;
}

.lcld-cta__btns {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lcld-disclaimer {
	margin: 32px 0 40px;
	padding: 16px 18px;
	border-radius: 10px;
	background: var(--lc-bg);
	border: 1px solid var(--lc-border);
	font-size: .86rem;
	color: var(--lc-muted);
}

.lcld-disclaimer strong {
	display: block;
	color: var(--lc-heading);
	margin-bottom: 4px;
}

.lcld-disclaimer p {
	margin: 0 !important;
}

/* ---------- Page header (inner pages) ---------- */

.lcld-pagehead {
	background: var(--lc-bg);
	border-bottom: 1px solid var(--lc-border);
	padding: 22px 0 24px;
}

.lcld-pagehead__intro {
	color: var(--lc-text);
	font-size: 1.02rem;
	max-width: 75ch;
}

.lcld-pagehead__intro p:last-child {
	margin-bottom: 0;
}

.lcld-facts {
	list-style: none;
	display: grid;
	gap: 4px;
	font-size: .93rem;
	margin-top: 8px !important;
}

.lcld-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 10px;
}

.lcld-meta-strip {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 10px !important;
	font-size: .88rem;
	color: var(--lc-muted);
}

.lcld-meta-strip li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lcld-meta-strip__chips {
	flex-wrap: wrap;
}

/* ---------- Listing layout + filters ---------- */

.lcld-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
	padding-top: 20px;
}

.lcld-layout__bar {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .96);
	padding: 8px 0;
	margin: 0;
}

.lcld-filter-toggle .lcld-count {
	background: var(--lc-navy);
	color: #fff;
}

.lcld-layout__side {
	position: fixed;
	inset: 0;
	z-index: 100000;
	visibility: hidden;
	pointer-events: none;
}

.lcld-layout__side.is-open {
	visibility: visible;
	pointer-events: auto;
}

.lcld-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(16, 24, 40, .45);
	opacity: 0;
	transition: opacity .2s ease;
}

.is-open > .lcld-drawer-backdrop {
	opacity: 1;
}

.lcld-filters {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 92vw);
	background: #fff;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 16px 16px 24px;
	transform: translateX(100%);
	transition: transform .22s ease;
	box-shadow: -8px 0 30px rgba(16, 24, 40, .18);
}

.is-open .lcld-filters {
	transform: none;
}

.lcld-filters__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.lcld .lcld-filters__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.08rem;
	margin: 0;
	color: var(--lc-heading);
	font-family: inherit;
}

.lcld .lcld-filters__close {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	background: #fff;
	color: var(--lc-text);
	cursor: pointer;
	padding: 0;
}

.lcld .lcld-field {
	margin-bottom: 12px;
}

.lcld .lcld-field label {
	display: block;
	font-size: .84rem;
	font-weight: 600;
	color: var(--lc-heading);
	margin: 0 0 4px;
}

.lcld .lcld-field input,
.lcld .lcld-field select {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid #D0D5DD;
	border-radius: 8px;
	background-color: #fff;
	font: inherit;
	font-size: .95rem;
	color: var(--lc-heading);
	margin: 0;
	max-width: 100%;
	box-shadow: none;
	height: auto;
	line-height: 1.4;
}

.lcld .lcld-field input:focus,
.lcld .lcld-field select:focus {
	border-color: var(--lc-gold);
	outline: none;
	box-shadow: 0 0 0 3px rgba(184, 149, 80, .22);
}

.lcld-filters__more {
	margin: 4px 0 14px;
	border: 1px solid var(--lc-border);
	border-radius: 10px;
	padding: 0 12px;
}

.lcld-filters__more > summary {
	cursor: pointer;
	padding: 12px 0;
	font-weight: 600;
	font-size: .88rem;
	color: var(--lc-navy-2);
}

.lcld-filters__more[open] > summary {
	border-bottom: 1px solid var(--lc-bg);
	margin-bottom: 12px;
}

.lcld-filters__actions {
	display: grid;
	gap: 8px;
	position: sticky;
	bottom: -24px;
	background: #fff;
	padding: 12px 0 0;
}

.lcld-note {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 10px 12px;
	border-radius: 8px;
	background: var(--lc-bg);
	font-size: .88rem;
	color: var(--lc-muted);
}

.lcld-note--warn {
	background: var(--lc-warn-bg);
	color: var(--lc-warn);
}

.lcld-note--ok {
	background: var(--lc-ok-bg);
	color: var(--lc-ok);
}

.lcld-results {
	min-width: 0;
}

.lcld-results.is-loading {
	opacity: .55;
	pointer-events: none;
	transition: opacity .15s ease;
}

.lcld-results__bar {
	margin-bottom: 12px;
}

.lcld-results__count {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--lc-heading);
	margin: 0 !important;
}

.lcld-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 26px 0 8px;
}

.lcld .lcld-pager__link {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--lc-border);
	border-radius: 8px;
	background: #fff;
	font-weight: 600;
	color: var(--lc-navy);
}

.lcld .lcld-pager__link.is-current {
	background: var(--lc-navy);
	border-color: var(--lc-navy);
	color: #fff;
}

.lcld-pager__gap {
	align-self: center;
	color: var(--lc-muted);
}

.lcld-empty {
	text-align: center;
	padding: 36px 16px;
	border: 1px dashed #D0D5DD;
	border-radius: var(--lc-radius);
	background: var(--lc-bg);
}

.lcld-empty > .lcld-ico {
	width: 36px;
	height: 36px;
	color: var(--lc-gold);
}

.lcld-empty .lcld-btn {
	margin: 4px;
}

/* ---------- Index pages ---------- */

.lcld-index__body {
	padding-top: 24px;
}

.lcld-tree {
	list-style: none;
}

.lcld-tree--d0 > li {
	padding: 14px 0;
	border-bottom: 1px solid var(--lc-border);
}

.lcld-tree--d0 > li > a,
.lcld-tree--d0 > li > span {
	font-weight: 700;
	font-size: 1.08rem;
}

.lcld-tree--d1 {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px 20px;
	margin-top: 8px !important;
}

.lcld-tree--d1 > li {
	padding: 4px 0;
}

.lcld-tree--d2 {
	margin: 2px 0 0 14px !important;
	font-size: .9rem;
	color: var(--lc-muted);
}

.lcld-tree .is-empty {
	color: var(--lc-muted);
}

.lcld-tree--cols {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px 24px;
}

/* ---------- Single draft ---------- */

.lcld-draft {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	padding-top: 20px;
}

.lcld-draft__main {
	min-width: 0;
}

.lcld-dl {
	padding: 18px;
	border: 1px solid var(--lc-border);
	border-top: 4px solid var(--lc-gold);
	border-radius: var(--lc-radius);
	background: #fff;
	box-shadow: var(--lc-shadow);
}

.lcld .lcld-dl__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--lc-heading);
	margin: 0 0 12px;
}

.lcld-dl__title .lcld-ico {
	color: var(--lc-gold-dark);
}

.lcld-dl .lcld-btn {
	margin-bottom: 4px;
}

.lcld-dl__list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin-top: 10px !important;
}

.lcld-dl__meta {
	display: block;
	text-align: center;
	font-size: .75rem;
	color: var(--lc-muted);
}

.lcld-dl__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}

.lcld .lcld-save {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid var(--lc-border);
	border-radius: 8px;
	background: #fff;
	color: var(--lc-navy);
	font: inherit;
	font-size: .88rem;
	font-weight: 600;
	cursor: pointer;
}

.lcld .lcld-save.is-saved {
	background: var(--lc-gold-soft);
	border-color: var(--lc-gold);
}

.lcld-dl__fine {
	font-size: .75rem;
	color: var(--lc-muted);
	margin: 12px 0 0 !important;
}

.lcld-toc {
	display: none;
}

.lcld-block {
	padding: 22px 0;
	border-bottom: 1px solid var(--lc-border);
	scroll-margin-top: 80px;
}

.lcld-block:last-of-type {
	border-bottom: 0;
}

.lcld-glance__list {
	display: grid;
	gap: 10px;
	margin: 0 0 8px;
}

.lcld-glance__list > div,
.lcld-verify > div {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2px;
	padding: 10px 14px;
	background: var(--lc-bg);
	border-radius: 8px;
}

.lcld-glance__list dt,
.lcld-verify dt {
	font-size: .8rem;
	font-weight: 700;
	color: var(--lc-muted);
	text-transform: uppercase;
	letter-spacing: .04em;
}

.lcld-glance__list dd,
.lcld-verify dd {
	margin: 0;
	color: var(--lc-heading);
}

.lcld-chiprow {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lcld-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.lcld-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .93rem;
	margin: 0;
}

.lcld-table th,
.lcld-table td {
	text-align: left;
	vertical-align: top;
	padding: 10px 12px;
	border-bottom: 1px solid var(--lc-border);
}

.lcld-table th {
	background: var(--lc-bg);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--lc-muted);
}

/* Stack table rows on small screens. */
@media (max-width: 599px) {
	.lcld-table thead {
		display: none;
	}

	.lcld-table,
	.lcld-table tbody,
	.lcld-table tr,
	.lcld-table td {
		display: block;
		width: 100%;
	}

	.lcld-table tr {
		border: 1px solid var(--lc-border);
		border-radius: 8px;
		margin-bottom: 10px;
		padding: 6px 0;
	}

	.lcld-table td {
		border: 0;
		padding: 4px 12px;
	}

	.lcld-table td::before {
		content: attr(data-label);
		display: block;
		font-size: .72rem;
		font-weight: 700;
		text-transform: uppercase;
		color: var(--lc-muted);
	}
}

.lcld-callout {
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 10px;
	border-left: 4px solid var(--lc-navy-2);
	background: #EEF3F9;
	font-size: .95rem;
}

.lcld-callout p {
	margin: 4px 0 0 !important;
}

.lcld-prose {
	overflow-wrap: anywhere;
}

.lcld-prose ul,
.lcld-prose ol {
	padding-left: 1.3em;
	margin: 0 0 12px;
}

.lcld-prose li {
	margin-bottom: 6px;
}

.lcld-list--docs {
	list-style: none;
	display: grid;
	gap: 8px;
}

.lcld-list--docs li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.lcld-list--docs .lcld-ico {
	color: var(--lc-gold-dark);
	margin-top: 3px;
}

/* Paper preview of the sample draft. */
.lcld-paper {
	position: relative;
	margin-top: 12px;
	padding: 22px 18px;
	background: #fff;
	border: 1px solid #DADFE6;
	border-radius: 6px;
	box-shadow: 0 1px 0 #eef0f3, 0 8px 24px rgba(16, 24, 40, .08);
	font-family: "Times New Roman", Times, Georgia, serif;
	font-size: 1rem;
	line-height: 1.7;
	color: #1d2433;
	max-height: 720px;
	overflow: auto;
}

.lcld-paper.is-partial {
	max-height: none;
	overflow: hidden;
}

.lcld-paper__inner h2,
.lcld-paper__inner h3 {
	text-align: center;
	font-family: inherit;
	font-size: 1.02rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	margin: 14px 0 8px;
	color: #111;
	line-height: 1.5;
}

.lcld-paper__inner h4 {
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	margin: 12px 0 6px;
	color: #111;
}

.lcld-paper__inner p {
	text-align: justify;
	margin: 0 0 10px;
	hyphens: auto;
}

.lcld-paper__inner p.c {
	text-align: center;
}

.lcld-paper__inner p.r {
	text-align: right;
}

.lcld-paper__inner p.l {
	text-align: left;
}

.lcld-paper__inner ol,
.lcld-paper__inner ul {
	padding-left: 1.6em;
	margin: 0 0 10px;
}

.lcld-paper__inner li {
	margin-bottom: 8px;
	text-align: justify;
}

.lcld-paper__lock {
	position: relative;
	margin: -60px -18px -22px;
	padding: 80px 18px 22px;
	text-align: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 45%);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: .95rem;
}

.lcld-paper__lock > .lcld-ico {
	width: 28px;
	height: 28px;
	color: var(--lc-gold-dark);
}

.lcld-paper-details > summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--lc-navy-2);
	padding: 8px 0;
}

.lcld-checklist {
	list-style: none;
	display: grid;
	gap: 8px;
}

.lcld-checklist label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 12px;
	border: 1px solid var(--lc-border);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-weight: 400 !important;
	margin: 0;
}

.lcld-checklist input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0 !important;
	accent-color: var(--lc-navy);
	flex: 0 0 auto;
}

.lcld-checklist input:checked + span {
	color: var(--lc-muted);
	text-decoration: line-through;
}

.lcld-judgments {
	list-style: none;
	display: grid;
	gap: 12px;
}

.lcld-judgments li {
	padding: 14px 16px;
	border: 1px solid var(--lc-border);
	border-left: 4px solid var(--lc-gold);
	border-radius: 8px;
}

.lcld-judgments li.is-unverified {
	border-left-color: #E8A33D;
	background: #FFFBF2;
}

.lcld-judgments p {
	margin: 0 0 4px !important;
}

.lcld-judgments__name {
	font-weight: 700;
	color: var(--lc-heading);
}

.lcld-judgments__cite {
	font-weight: 400;
	color: var(--lc-muted);
	font-style: italic;
}

.lcld-editor-note {
	font-size: .8rem;
	color: var(--lc-warn);
}

.lcld-verify {
	display: grid;
	gap: 8px;
	margin: 0 0 12px;
}

.lcld-sources {
	list-style: none;
	display: grid;
	gap: 8px;
}

.lcld-sources li {
	padding-left: 18px;
	position: relative;
}

.lcld-sources li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: .7em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lc-gold);
}

.lcld-help {
	display: grid;
	gap: 12px;
	align-items: center;
	padding: 20px !important;
	margin-top: 20px;
	background: var(--lc-gold-soft);
	border: 1px solid #ead9b6 !important;
	border-radius: var(--lc-radius);
}

.lcld-help p {
	margin: 0 !important;
}

/* ---------- Account ---------- */

.lcld-center {
	text-align: center;
}

.lcld-form {
	display: grid;
	gap: 4px;
	max-width: 520px;
}

.lcld-team {
	list-style: none;
	display: grid;
	gap: 6px;
	margin-bottom: 14px !important;
}

.lcld-team li {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid var(--lc-border);
	border-radius: 8px;
}

.lcld-team small {
	color: var(--lc-muted);
	margin-left: 6px;
}

/* =================================================================
 * ≥ 480px  (large phones)
 * ================================================================= */
@media (min-width: 480px) {
	.lcld-hero__ctas,
	.lcld-cta__btns {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.lcld-subjects {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lcld-hc-list ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lcld-paper {
		padding: 30px 32px;
	}

	.lcld-paper__lock {
		margin: -60px -32px -30px;
		padding: 80px 32px 28px;
	}
}

/* =================================================================
 * ≥ 640px
 * ================================================================= */
@media (min-width: 640px) {
	.lcld-wrap {
		padding: 0 24px;
	}

	.lcld-grid,
	.lcld-tiles,
	.lcld-resources {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lcld-tree--d1,
	.lcld-tree--cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lcld-glance__list > div,
	.lcld-verify > div {
		grid-template-columns: 200px 1fr;
		gap: 12px;
		align-items: baseline;
	}

	.lcld-help {
		grid-template-columns: 1fr auto;
	}

	.lcld-cta {
		padding: 30px;
	}
}

/* =================================================================
 * ≥ 768px  (tablets)
 * ================================================================= */
@media (min-width: 768px) {
	.lcld-hero {
		padding: 36px 0 44px;
	}

	.lcld-hero__inner {
		grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
		align-items: center;
		gap: 32px;
	}

	.lcld-hero__art {
		display: block;
	}

	.lcld-subjects {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-hc-list ul {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-cta {
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.lcld-section {
		padding-top: 44px;
	}
}

/* =================================================================
 * ≥ 1024px  (laptops / desktops): sidebar filters, 3-col grids
 * ================================================================= */
@media (min-width: 1024px) {
	.lcld-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-grid--2,
	.lcld-grid--results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lcld-resources {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-subjects {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lcld-hc-list ul {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.lcld-tree--d1,
	.lcld-tree--cols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Filters become a visible sidebar. */
	.lcld-layout {
		grid-template-columns: 290px minmax(0, 1fr);
		gap: 28px;
		align-items: start;
	}

	.lcld-layout__bar {
		display: none;
	}

	.lcld-layout__side {
		position: sticky;
		top: 16px;
		inset: auto;
		z-index: 1;
		visibility: visible;
		pointer-events: auto;
		max-height: calc(100vh - 32px);
		overflow-y: auto;
	}

	.lcld-drawer-backdrop,
	.lcld .lcld-filters__close {
		display: none;
	}

	.lcld-filters {
		position: static;
		width: auto;
		transform: none;
		box-shadow: none;
		border: 1px solid var(--lc-border);
		border-radius: var(--lc-radius);
		padding: 18px;
		overflow: visible;
		background: #fff;
	}

	.lcld-filters__actions {
		position: static;
	}

	/* Draft page: content + sticky download panel. */
	.lcld-draft {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 36px;
		align-items: start;
	}

	.lcld-draft__side {
		grid-column: 2;
		grid-row: 1;
		position: sticky;
		top: 16px;
	}

	.lcld-draft__main {
		grid-column: 1;
		grid-row: 1;
	}

	.lcld-toc {
		display: block;
		margin-top: 16px;
		padding: 16px 18px;
		border: 1px solid var(--lc-border);
		border-radius: var(--lc-radius);
		max-height: calc(100vh - 460px);
		overflow-y: auto;
	}

	.lcld .lcld-toc__title {
		font-family: inherit;
		font-size: .82rem;
		text-transform: uppercase;
		letter-spacing: .06em;
		color: var(--lc-muted);
		margin: 0 0 8px;
	}

	.lcld-toc ol {
		list-style: none;
		display: grid;
		gap: 2px;
		font-size: .9rem;
	}

	.lcld-toc a {
		display: block;
		padding: 4px 0 4px 10px;
		border-left: 2px solid transparent;
		color: var(--lc-text);
	}

	.lcld-toc a.is-active {
		border-left-color: var(--lc-gold);
		color: var(--lc-navy);
		font-weight: 600;
	}
}

/* =================================================================
 * ≥ 1280px
 * ================================================================= */
@media (min-width: 1280px) {
	.lcld-grid--results {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.lcld-tiles {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.lcld .lcld-tile {
		grid-template-columns: 1fr;
		grid-template-areas: "icon" "title" "text" "count";
		row-gap: 6px;
	}

	.lcld-tile__icon {
		margin-bottom: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lcld *,
	.lcld *::before,
	.lcld *::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

@media print {
	.lcld-hero,
	.lcld-pagehead,
	.lcld-draft__side,
	.lcld-layout__side,
	.lcld-help,
	.lcld-preview-bar {
		display: none !important;
	}

	.lcld-paper {
		max-height: none;
		box-shadow: none;
		border: 0;
	}
}
