/*
 * Member workspace foundation: premium Library Home, card Index,
 * private Trial History, Doctor Discussion List, and Compound tools.
 * Scoped to .ltgml-* classes only.
 */

.ltgml-member-workspace {
	--ltgml-workspace-navy: var(--ltgml-color-navy, #14245c);
	--ltgml-workspace-green: var(--ltgml-color-green, #8ba888);
	--ltgml-workspace-ivory: var(--ltgml-color-ivory, #faf6ef);
	--ltgml-workspace-border: var(--ltgml-color-card_border, #e6ddcd);
	--ltgml-workspace-text: var(--ltg-color-text, #3a3530);
	max-width: 1120px;
	margin: 0 auto;
	padding: .75rem 1.25rem 4rem;
	color: var(--ltgml-workspace-text);
}

.ltgml-workspace-hero {
	max-width: 900px;
	margin: 0 auto 2rem;
	padding: 1.2rem 0 .8rem;
	text-align: center;
}
.ltgml-workspace-hero__eyebrow,
.ltgml-workspace-section-header__eyebrow,
.ltgml-doctor-tools-callout__eyebrow,
.ltgml-compound-tools__eyebrow,
.ltgml-trial-dialog__eyebrow {
	margin: 0 0 .55rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ltgml-workspace-green);
}
.ltgml-workspace-hero__subtitle {
	max-width: 780px;
	margin: 0 auto .8rem;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.55;
	font-weight: 650;
	color: var(--ltgml-workspace-navy);
}
.ltgml-workspace-hero__intro {
	max-width: 790px;
	margin: 0 auto 1.35rem;
	font-size: 1rem;
	line-height: 1.7;
}
.ltgml-workspace-hero__actions,
.ltgml-compound-tools__actions,
.ltgml-trial-form__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .7rem;
}
.ltgml-workspace-button,
.ltgml-tool-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: .72rem 1.15rem;
	border-radius: 9px;
	border: 1px solid transparent;
	font: inherit;
	font-size: .9rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.ltgml-workspace-button:hover,
.ltgml-tool-button:hover { transform: translateY(-1px); }
.ltgml-workspace-button--primary,
.ltgml-tool-button--primary {
	background: var(--ltgml-workspace-navy);
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(20,36,92,.12);
}
.ltgml-workspace-button--secondary,
.ltgml-tool-button--secondary {
	background: #fff;
	color: var(--ltgml-workspace-navy) !important;
	border-color: var(--ltgml-workspace-border);
}
.ltgml-tool-button--secondary.is-saved {
	background: #f2f6f0;
	border-color: var(--ltgml-workspace-green);
	color: #4f6d51 !important;
}
.ltgml-tool-button--ghost {
	background: transparent;
	border-color: var(--ltgml-workspace-border);
	color: var(--ltgml-workspace-text);
}
.ltgml-workspace-button:disabled,
.ltgml-tool-button:disabled { opacity: .6; cursor: wait; transform: none; }

/* Member snapshot */
.ltgml-personal-dashboard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 920px;
	margin: 0 auto 1rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(52,45,35,.05);
}
.ltgml-personal-dashboard a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .16rem;
	min-height: 92px;
	padding: .8rem;
	border-right: 1px solid var(--ltgml-workspace-border);
	color: var(--ltgml-workspace-text) !important;
	text-align: center;
	text-decoration: none !important;
}
.ltgml-personal-dashboard a:last-child { border-right: 0; }
.ltgml-personal-dashboard strong { font-size: 1.45rem; line-height: 1; color: var(--ltgml-workspace-navy); }
.ltgml-personal-dashboard span { font-size: .74rem; font-weight: 700; opacity: .75; }

/* Workspace nav */
.ltgml-workspace-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .35rem;
	max-width: 920px;
	margin: 0 auto 2rem;
	padding: .35rem;
	background: #f5f4ef;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 11px;
}
.ltgml-workspace-nav a {
	padding: .55rem .78rem;
	border-radius: 8px;
	color: var(--ltgml-workspace-text) !important;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none !important;
}
.ltgml-workspace-nav a:hover,
.ltgml-workspace-nav a.is-active { background: #fff; color: var(--ltgml-workspace-navy) !important; box-shadow: 0 2px 8px rgba(30,30,20,.05); }

/* Home content */
.ltgml-home-section,
.ltgml-cautious-note,
.ltgml-doctor-tools-callout,
.ltgml-updates-banner {
	max-width: 920px;
	margin: 0 auto 1.35rem;
}
.ltgml-home-section {
	padding: 1.45rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
}
.ltgml-home-section__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.ltgml-home-section h2,
.ltgml-cautious-note h2,
.ltgml-doctor-tools-callout h2,
.ltgml-workspace-section-header h2 {
	margin: 0;
	color: var(--ltgml-workspace-navy);
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	line-height: 1.2;
}
.ltgml-home-section__count {
	margin: .15rem 0 0;
	max-width: 330px;
	font-size: .78rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: right;
	color: #6f6a61;
}
.ltgml-inside-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: .65rem 1.15rem;
}
.ltgml-inside-item {
	display: flex;
	align-items: flex-start;
	gap: .55rem;
	font-size: .9rem;
	line-height: 1.45;
}
.ltgml-inside-item__check {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: .04rem;
	border-radius: 999px;
	background: #eff4ec;
	color: #5d795d;
	font-size: .72rem;
	font-weight: 900;
}
.ltgml-doctor-tools-callout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem;
	padding: 1.4rem 1.5rem;
	border-radius: 14px;
	background: var(--ltgml-workspace-navy);
	color: #fff;
}
.ltgml-doctor-tools-callout h2 { color: #fff; }
.ltgml-doctor-tools-callout p { margin: .45rem 0 0; max-width: 620px; line-height: 1.55; opacity: .9; }
.ltgml-doctor-tools-callout .ltgml-workspace-button--secondary { flex: 0 0 auto; }
.ltgml-cautious-note {
	padding: 1.5rem;
	border-left: 4px solid var(--ltgml-workspace-green);
	border-radius: 4px 14px 14px 4px;
	background: #f7f4ea;
}
.ltgml-cautious-note p { margin: .75rem 0 0; line-height: 1.68; }
.ltgml-cautious-note a { display: inline-block; margin-top: .9rem; font-weight: 750; color: var(--ltgml-workspace-navy); }
.ltgml-how-list { counter-reset: steps; list-style: none; padding: 0; margin: 1rem 0 0; }
.ltgml-how-list li { counter-increment: steps; position: relative; padding: .75rem 0 .75rem 2.5rem; border-top: 1px solid var(--ltgml-workspace-border); line-height: 1.5; }
.ltgml-how-list li:first-child { border-top: 0; }
.ltgml-how-list li::before {
	content: counter(steps);
	position: absolute;
	left: 0;
	top: .58rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 999px;
	background: var(--ltgml-workspace-navy);
	color: #fff;
	font-size: .72rem;
	font-weight: 800;
}
.ltgml-updates-banner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	padding: .9rem 1.1rem;
	border-radius: 10px;
	background: #eef4ec;
	color: #4c674e;
	font-size: .9rem;
	text-align: center;
}

/* Index */
.ltgml-workspace-section-header {
	max-width: 920px;
	margin: 0 auto 1.3rem;
	text-align: center;
}
.ltgml-workspace-section-header > p:last-child { max-width: 760px; margin: .65rem auto 0; line-height: 1.6; }
.ltgml-index-search { max-width: 920px; margin: 0 auto 1.2rem; }
.ltgml-index-search__bar { display: flex; gap: .55rem; }
.ltgml-index-search__bar input {
	flex: 1;
	min-width: 0;
	padding: .78rem .9rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 9px;
	background: #fff;
	font: inherit;
	font-size: .95rem;
}
.ltgml-index-search__bar button {
	padding: .72rem 1.2rem;
	border: 0;
	border-radius: 9px;
	background: var(--ltgml-workspace-navy);
	color: #fff;
	font: inherit;
	font-size: .82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	cursor: pointer;
}
.ltgml-index-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.ltgml-index-filters label { cursor: pointer; }
.ltgml-index-filters input { position: absolute; opacity: 0; pointer-events: none; }
.ltgml-index-filters span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .48rem .8rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 999px;
	background: #fff;
	font-size: .76rem;
	font-weight: 750;
}
.ltgml-index-filters label.is-active span { background: var(--ltgml-workspace-navy); border-color: var(--ltgml-workspace-navy); color: #fff; }
.ltgml-index-az {
	display: flex;
	flex-wrap: wrap;
	gap: .3rem;
	max-width: 920px;
	margin: 0 auto 1.2rem;
}
.ltgml-index-az a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.9rem;
	height: 1.9rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 999px;
	background: #fff;
	color: var(--ltgml-workspace-navy) !important;
	font-size: .72rem;
	font-weight: 800;
	text-decoration: none !important;
}
.ltgml-index-group { max-width: 920px; margin: 0 auto 1.45rem; scroll-margin-top: 1rem; }
.ltgml-index-group > h3 { margin: 0 0 .6rem; font-size: .82rem; color: var(--ltgml-workspace-green); letter-spacing: .08em; }
.ltgml-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .8rem; }
.ltgml-index-card { min-width: 0; }
.ltgml-index-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 185px;
	padding: 1rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 12px;
	background: #fff;
	color: var(--ltgml-workspace-text) !important;
	text-decoration: none !important;
	box-shadow: 0 4px 15px rgba(52,45,35,.035);
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ltgml-index-card__link:hover { transform: translateY(-2px); border-color: #c8cfbe; box-shadow: 0 8px 22px rgba(52,45,35,.07); }
.ltgml-index-card__top { display: flex; justify-content: space-between; align-items: center; gap: .4rem; min-height: 24px; }
.ltgml-index-card__type,
.ltgml-doctor-item__type { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ltgml-workspace-green); }
.ltgml-index-card h4 { margin: .6rem 0 .25rem; color: var(--ltgml-workspace-navy); font-size: 1.02rem; line-height: 1.25; }
.ltgml-index-card__role { margin: 0 0 .4rem; font-size: .76rem; font-weight: 700; line-height: 1.35; color: #666157; }
.ltgml-index-card__desc {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0;
	font-size: .78rem;
	line-height: 1.45;
	opacity: .78;
}
.ltgml-index-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .8rem; font-size: .7rem; }
.ltgml-index-card__footer > span { color: #5b765c; font-weight: 700; }
.ltgml-index-card__footer strong { color: var(--ltgml-workspace-navy); white-space: nowrap; }

/* Shared status chips */
.ltgml-status-chip {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: .22rem .52rem;
	border-radius: 999px;
	background: #f1f1ed;
	color: #67645d;
	font-size: .64rem;
	font-weight: 800;
	line-height: 1.1;
	white-space: nowrap;
}
.ltgml-status-chip--currently_using { background: #eaf3e7; color: #4f704f; }
.ltgml-status-chip--tried { background: #eef2f8; color: #45567e; }
.ltgml-status-chip--considering { background: #f7f0dc; color: #796322; }
.ltgml-status-chip--stopped { background: #f4eaea; color: #825b5b; }
.ltgml-status-chip--not_tried { background: #f0f0ee; color: #77736c; }

/* Empty state */
.ltgml-workspace-empty {
	max-width: 720px;
	margin: 1.5rem auto;
	padding: 2rem 1.5rem;
	border: 1px dashed #cbc5b8;
	border-radius: 14px;
	background: #fbfaf6;
	text-align: center;
}
.ltgml-workspace-empty h3 { margin: 0 0 .4rem; color: var(--ltgml-workspace-navy); }
.ltgml-workspace-empty p { margin: 0 0 .8rem; line-height: 1.55; }
.ltgml-workspace-empty a { font-weight: 800; color: var(--ltgml-workspace-navy); }

/* Compound tools */
.ltgml-compound-tools {
	margin: 0 0 1.25rem;
	padding: .85rem 1rem 1rem;
	border: 1px solid var(--ltgml-border, #e6ddcd);
	border-radius: 12px;
	background: #fbfaf6;
}
.ltgml-compound-tools__topline { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-bottom: .65rem; }
.ltgml-compound-tools__topline > div { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ltgml-compound-tools__eyebrow { margin: 0; }
.ltgml-compound-tools__history-link { font-size: .74rem; font-weight: 750; color: var(--ltgml-workspace-navy, #14245c); }
.ltgml-compound-tools__actions { justify-content: flex-start; }
.ltgml-compound-tools .ltgml-tool-button { min-height: 40px; padding: .62rem .9rem; font-size: .78rem; }

.ltgml-compound-tools-home { display: none !important; }
.ltgml-compound-tools__mobile-toggle { display: none; }
.ltgml-compound-tools__panel { display: block; }

/* Trial dialog */
.ltgml-trial-dialog {
	width: min(680px, calc(100% - 1.5rem));
	max-height: 88vh;
	padding: 0;
	border: 0;
	border-radius: 15px;
	background: #fff;
	color: var(--ltgml-workspace-text, #3a3530);
	box-shadow: 0 25px 80px rgba(0,0,0,.22);
	overflow: auto;
}
.ltgml-trial-dialog::backdrop { background: rgba(26,29,32,.48); backdrop-filter: blur(2px); }
.ltgml-trial-form { padding: 1.2rem; }
.ltgml-trial-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.ltgml-trial-dialog__header h2 { margin: 0; color: var(--ltgml-workspace-navy, #14245c); font-size: 1.35rem; }
.ltgml-dialog-close { width: 34px; height: 34px; border: 0; border-radius: 999px; background: #f2f1ed; color: #555; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.ltgml-trial-form label { display: flex; flex-direction: column; gap: .3rem; font-size: .76rem; font-weight: 750; }
.ltgml-trial-form input,
.ltgml-trial-form select,
.ltgml-trial-form textarea,
.ltgml-doctor-note textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .62rem .68rem;
	border: 1px solid #d8d4cb;
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: .86rem;
	font-weight: 400;
	color: #34312e;
}
.ltgml-trial-form__quick { display: grid; grid-template-columns: 1.05fr 1fr 1fr; gap: .65rem; }
.ltgml-trial-form__full { margin-top: .75rem; }
.ltgml-trial-more { margin-top: .8rem; padding: .75rem; border: 1px solid #e6e1d7; border-radius: 10px; background: #faf9f5; }
.ltgml-trial-more summary { cursor: pointer; font-size: .8rem; font-weight: 800; color: var(--ltgml-workspace-navy, #14245c); }
.ltgml-trial-more__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; margin-top: .75rem; }
.ltgml-trial-form__actions { justify-content: flex-end; margin-top: 1rem; }
.ltgml-form-message { min-height: 1.2rem; margin-top: .6rem; font-size: .76rem; color: #527052; }
.ltgml-form-message.is-error { color: #934f4f; }

/* Trial history */
.ltgml-history-list,
.ltgml-doctor-list { max-width: 920px; margin: 0 auto; display: grid; gap: .75rem; }
.ltgml-history-entry,
.ltgml-doctor-item { padding: 1rem; border: 1px solid var(--ltgml-workspace-border); border-radius: 12px; background: #fff; }
.ltgml-history-entry__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.ltgml-history-entry__heading h3,
.ltgml-doctor-item h3 { margin: 0; color: var(--ltgml-workspace-navy); font-size: 1.05rem; }
.ltgml-history-entry__heading p { margin: .15rem 0 0; font-size: .7rem; opacity: .65; }
.ltgml-history-entry__facts { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; margin-top: .7rem; }
.ltgml-history-entry__facts span { display: flex; gap: .35rem; font-size: .76rem; }
.ltgml-history-entry__facts strong { color: #6e685f; }
.ltgml-history-entry__outcome { margin: .65rem 0 0; font-size: .86rem; line-height: 1.5; }
.ltgml-history-entry__details { margin-top: .7rem; padding-top: .6rem; border-top: 1px solid var(--ltgml-workspace-border); font-size: .78rem; }
.ltgml-history-entry__details summary { cursor: pointer; font-weight: 800; color: var(--ltgml-workspace-navy); }
.ltgml-history-entry__details p { margin: .5rem 0 0; line-height: 1.5; }
.ltgml-history-entry__actions,
.ltgml-doctor-item__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: .8rem; padding-top: .7rem; border-top: 1px solid var(--ltgml-workspace-border); }
.ltgml-history-entry__actions a,
.ltgml-history-entry__actions button,
.ltgml-doctor-item__actions button {
	border: 0;
	background: transparent;
	padding: 0;
	color: var(--ltgml-workspace-navy) !important;
	font: inherit;
	font-size: .73rem;
	font-weight: 800;
	text-decoration: none !important;
	cursor: pointer;
}
.ltgml-history-entry__actions .is-danger,
.ltgml-doctor-item__actions .is-danger { color: #8a5656 !important; }

/* Doctor list */
.ltgml-workspace-section-header--doctor { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; text-align: left; }
.ltgml-workspace-section-header--doctor > div > p:last-child { margin: .6rem 0 0; max-width: 700px; line-height: 1.55; }
.ltgml-workspace-section-header--doctor .ltgml-workspace-button { flex: 0 0 auto; }
.ltgml-doctor-item__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .9rem; }
.ltgml-doctor-item__heading h3 { margin-top: .18rem; }
.ltgml-doctor-item__heading p { margin: .2rem 0 0; font-size: .76rem; opacity: .72; }
.ltgml-doctor-item__heading > a { flex: 0 0 auto; font-size: .73rem; font-weight: 800; color: var(--ltgml-workspace-navy); }
.ltgml-doctor-note { display: block; margin-top: .8rem; }
.ltgml-doctor-note > span { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 800; }
.ltgml-inline-message { font-size: .72rem; color: #527052; }
.ltgml-doctor-footer-note { max-width: 920px; margin: 1rem auto 0; font-size: .72rem; line-height: 1.45; text-align: center; opacity: .65; }

@media (max-width: 820px) {
	.ltgml-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.ltgml-doctor-tools-callout { align-items: flex-start; flex-direction: column; }
	.ltgml-doctor-tools-callout .ltgml-workspace-button--secondary { flex: auto; }
}

@media (max-width: 640px) {
	.ltgml-member-workspace { padding: .35rem .9rem 3rem; }
	.ltgml-personal-dashboard { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.ltgml-personal-dashboard a:nth-child(2) { border-right: 0; }
	.ltgml-personal-dashboard a:nth-child(-n+2) { border-bottom: 1px solid var(--ltgml-workspace-border); }
	.ltgml-workspace-nav { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.ltgml-workspace-nav a { flex: 0 0 auto; }
	.ltgml-home-section__heading { display: block; }
	.ltgml-home-section__count { margin-top: .4rem; max-width: none; text-align: left; }
	.ltgml-inside-grid { grid-template-columns: 1fr; }
	.ltgml-index-grid { grid-template-columns: 1fr; }
	.ltgml-index-search__bar { flex-direction: column; }
	.ltgml-index-search__bar button { min-height: 44px; }
	.ltgml-index-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .15rem; }
	.ltgml-index-filters label { flex: 0 0 auto; }
	.ltgml-index-az { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .2rem; }
	.ltgml-index-az a { flex: 0 0 auto; }
	.ltgml-trial-form__quick,
	.ltgml-trial-more__grid { grid-template-columns: 1fr; }
	.ltgml-trial-form__actions { flex-direction: column-reverse; }
	.ltgml-trial-form__actions .ltgml-tool-button { width: 100%; }
	/* On Compound pages, keep personal tools available without letting them
	   dominate the first phone viewport. JavaScript relocates this compact row
	   directly below the first Supplement Picks CTA/shortcut when present. */
	.ltgml-compound-tools {
		margin: .65rem 0 1rem;
		padding: 0;
		border-radius: 10px;
		background: #fbfaf6;
		overflow: hidden;
	}
	.ltgml-compound-tools__mobile-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: .65rem;
		width: 100%;
		min-height: 44px;
		padding: .55rem .75rem;
		border: 0;
		background: transparent;
		color: var(--ltgml-workspace-navy, #14245c);
		font: inherit;
		text-align: left;
		cursor: pointer;
	}
	.ltgml-compound-tools__mobile-label { font-size: .76rem; font-weight: 800; letter-spacing: .01em; }
	.ltgml-compound-tools__mobile-meta { display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto; }
	.ltgml-compound-tools__mobile-meta .ltgml-status-chip { font-size: .58rem; padding: .24rem .42rem; }
	.ltgml-compound-tools__chevron {
		display: inline-block;
		font-size: 1rem;
		line-height: 1;
		transform: translateY(-1px);
		transition: transform .16s ease;
	}
	.ltgml-compound-tools__panel { display: none; padding: 0 .75rem .75rem; border-top: 1px solid var(--ltgml-border, #e6ddcd); }
	.ltgml-compound-tools.is-expanded .ltgml-compound-tools__panel { display: block; }
	.ltgml-compound-tools.is-expanded .ltgml-compound-tools__chevron { transform: rotate(180deg) translateY(1px); }
	.ltgml-compound-tools__topline { align-items: center; flex-direction: row; margin: .65rem 0 .55rem; }
	.ltgml-compound-tools__topline > div { display: none; }
	.ltgml-compound-tools__history-link { margin-left: auto; }
	.ltgml-compound-tools__actions { flex-direction: column; gap: .5rem; }
	.ltgml-compound-tools .ltgml-tool-button { width: 100%; min-height: 38px; padding: .52rem .72rem; }
	.ltgml-workspace-section-header--doctor,
	.ltgml-doctor-item__heading { align-items: flex-start; flex-direction: column; }
	.ltgml-workspace-section-header--doctor .ltgml-workspace-button { width: 100%; }
}

@media print {
	.ltgml-member-workspace--doctor .ltgml-workspace-nav,
	.ltgml-member-workspace--doctor .ltgml-print-button,
	.ltgml-member-workspace--doctor .ltgml-doctor-item__actions,
	.ltgml-member-workspace--doctor .ltgml-doctor-item__heading > a { display: none !important; }
	.ltgml-member-workspace--doctor { max-width: none; padding: 0; }
	.ltgml-member-workspace--doctor .ltgml-doctor-item { break-inside: avoid; box-shadow: none; }
	.ltgml-member-workspace--doctor textarea { border: 0; padding: 0; min-height: 4rem; }
}

/* ========================================================================
 * v1.20.1 — autosave polish layered on the v1.20 doctor-summary tools.
 * These rules intentionally come last so the active WordPress theme cannot
 * turn a white-text plugin button into a white/transparent button.
 * ====================================================================== */

/* Strong, fully-owned button states. Compound tools do not sit inside the
 * .ltgml-member-workspace wrapper, so every custom property here has a real
 * fallback instead of depending on a workspace-scoped variable. */
.ltgml-member-workspace .ltgml-workspace-button--primary,
.ltgml-member-workspace .ltgml-tool-button--primary,
.ltgml-compound-tools .ltgml-tool-button--primary,
.ltgml-trial-dialog .ltgml-tool-button--primary {
	background: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
	background-color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
	border-color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.ltgml-member-workspace .ltgml-workspace-button--primary:hover,
.ltgml-member-workspace .ltgml-workspace-button--primary:focus,
.ltgml-member-workspace .ltgml-workspace-button--primary:active,
.ltgml-member-workspace .ltgml-tool-button--primary:hover,
.ltgml-member-workspace .ltgml-tool-button--primary:focus,
.ltgml-member-workspace .ltgml-tool-button--primary:active,
.ltgml-compound-tools .ltgml-tool-button--primary:hover,
.ltgml-compound-tools .ltgml-tool-button--primary:focus,
.ltgml-compound-tools .ltgml-tool-button--primary:active,
.ltgml-trial-dialog .ltgml-tool-button--primary:hover,
.ltgml-trial-dialog .ltgml-tool-button--primary:focus,
.ltgml-trial-dialog .ltgml-tool-button--primary:active {
	background: #0e1a47 !important;
	background-color: #0e1a47 !important;
	border-color: #0e1a47 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.ltgml-member-workspace .ltgml-workspace-button--secondary,
.ltgml-member-workspace .ltgml-tool-button--secondary,
.ltgml-compound-tools .ltgml-tool-button--secondary,
.ltgml-trial-dialog .ltgml-tool-button--secondary {
	background: #fff !important;
	background-color: #fff !important;
	border-color: var(--ltgml-workspace-border, var(--ltgml-color-card_border, #e6ddcd)) !important;
	color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
	-webkit-text-fill-color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
}
.ltgml-member-workspace .ltgml-workspace-button--secondary:hover,
.ltgml-member-workspace .ltgml-workspace-button--secondary:focus,
.ltgml-member-workspace .ltgml-workspace-button--secondary:active,
.ltgml-member-workspace .ltgml-tool-button--secondary:hover,
.ltgml-member-workspace .ltgml-tool-button--secondary:focus,
.ltgml-member-workspace .ltgml-tool-button--secondary:active,
.ltgml-compound-tools .ltgml-tool-button--secondary:hover,
.ltgml-compound-tools .ltgml-tool-button--secondary:focus,
.ltgml-compound-tools .ltgml-tool-button--secondary:active,
.ltgml-trial-dialog .ltgml-tool-button--secondary:hover,
.ltgml-trial-dialog .ltgml-tool-button--secondary:focus,
.ltgml-trial-dialog .ltgml-tool-button--secondary:active {
	background: #f7f5ef !important;
	background-color: #f7f5ef !important;
	border-color: #cfc7b8 !important;
	color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
	-webkit-text-fill-color: var(--ltgml-workspace-navy, var(--ltgml-color-navy, #14245c)) !important;
}
.ltgml-member-workspace .ltgml-tool-button--secondary.is-saved,
.ltgml-compound-tools .ltgml-tool-button--secondary.is-saved {
	background: #edf5eb !important;
	background-color: #edf5eb !important;
	border-color: var(--ltgml-workspace-green, var(--ltgml-color-green, #8ba888)) !important;
	color: #466349 !important;
	-webkit-text-fill-color: #466349 !important;
}
.ltgml-member-workspace .ltgml-tool-button--ghost,
.ltgml-compound-tools .ltgml-tool-button--ghost,
.ltgml-trial-dialog .ltgml-tool-button--ghost {
	background: transparent !important;
	background-color: transparent !important;
	border-color: var(--ltgml-workspace-border, var(--ltgml-color-card_border, #e6ddcd)) !important;
	color: var(--ltgml-workspace-text, #3a3530) !important;
	-webkit-text-fill-color: var(--ltgml-workspace-text, #3a3530) !important;
}
.ltgml-member-workspace .ltgml-tool-button--ghost:hover,
.ltgml-member-workspace .ltgml-tool-button--ghost:focus,
.ltgml-compound-tools .ltgml-tool-button--ghost:hover,
.ltgml-compound-tools .ltgml-tool-button--ghost:focus,
.ltgml-trial-dialog .ltgml-tool-button--ghost:hover,
.ltgml-trial-dialog .ltgml-tool-button--ghost:focus {
	background: #f2f0e9 !important;
	background-color: #f2f0e9 !important;
}

/* Search button is owned explicitly too; this catches the other common place
 * a theme-level button rule can leave white text sitting on white. */
.ltgml-member-workspace .ltgml-index-search__bar button,
.ltgml-member-workspace .ltgml-index-search__bar button:visited {
	background: var(--ltgml-workspace-navy, #14245c) !important;
	background-color: var(--ltgml-workspace-navy, #14245c) !important;
	border-color: var(--ltgml-workspace-navy, #14245c) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.ltgml-member-workspace .ltgml-index-search__bar button:hover,
.ltgml-member-workspace .ltgml-index-search__bar button:focus,
.ltgml-member-workspace .ltgml-index-search__bar button:active {
	background: #0e1a47 !important;
	background-color: #0e1a47 !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
}
.ltgml-trial-dialog .ltgml-dialog-close,
.ltgml-trial-dialog .ltgml-dialog-close:hover,
.ltgml-trial-dialog .ltgml-dialog-close:focus {
	background: #f2f1ed !important;
	background-color: #f2f1ed !important;
	color: #4d4a44 !important;
	-webkit-text-fill-color: #4d4a44 !important;
}

/* Compact research-role badges: preserves the instant Antihistamine / Mast
 * Cell Stabilizer information from the former table without recreating its
 * spreadsheet feel. */
.ltgml-role-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .32rem;
	margin: .4rem 0 .18rem;
}
.ltgml-role-badge {
	display: inline-flex;
	align-items: center;
	min-height: 21px;
	padding: .2rem .5rem;
	border: 1px solid #d9d4c9;
	border-radius: 999px;
	background: #f8f7f2;
	color: #555148;
	font-size: .59rem;
	font-weight: 850;
	line-height: 1.15;
	letter-spacing: .045em;
	text-transform: uppercase;
	white-space: nowrap;
}
.ltgml-role-badge--antihistamine {
	border-color: #cbd3df;
	background: #f2f5f9;
	color: #46587b;
}
.ltgml-role-badge--mast_cell_stabilizer {
	border-color: #cfdcca;
	background: #f1f6ef;
	color: #506c50;
}
.ltgml-index-card__top + h4 { margin-top: .55rem; }
.ltgml-index-card .ltgml-role-badges { margin-top: .15rem; }

/* Doctor Discussion List: one preselected key study, optional member override. */
.ltgml-doctor-evidence-choice {
	margin-top: .85rem;
	padding: .72rem .8rem;
	border: 1px solid #e4ded2;
	border-radius: 9px;
	background: #faf9f5;
}
.ltgml-doctor-evidence-choice__label {
	display: block;
	margin-bottom: .22rem;
	font-size: .67rem;
	font-weight: 850;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #716b61;
}
.ltgml-doctor-evidence-choice > strong {
	display: block;
	font-size: .78rem;
	line-height: 1.4;
	color: var(--ltgml-workspace-navy, #14245c);
}
.ltgml-doctor-evidence-choice details { margin-top: .42rem; }
.ltgml-doctor-evidence-choice summary {
	display: inline-block;
	cursor: pointer;
	font-size: .7rem;
	font-weight: 800;
	color: var(--ltgml-workspace-navy, #14245c);
}
.ltgml-doctor-evidence-choice label { display: block; margin-top: .45rem; }
.ltgml-doctor-evidence-choice select {
	width: 100%;
	box-sizing: border-box;
	padding: .58rem .65rem;
	border: 1px solid #d8d2c7;
	border-radius: 8px;
	background: #fff;
	color: #34312e;
	font: inherit;
	font-size: .78rem;
}
.ltgml-doctor-trial-option {
	display: flex;
	align-items: flex-start;
	gap: .5rem;
	margin-top: .68rem;
	padding: .55rem .7rem;
	border-radius: 8px;
	background: #f5f7f2;
	font-size: .74rem;
	font-weight: 650;
	line-height: 1.4;
	cursor: pointer;
}
.ltgml-doctor-trial-option input { flex: 0 0 auto; margin-top: .14rem; }
.ltgml-doctor-list__summary-cta {
	max-width: 920px;
	margin: 1.2rem auto 0;
	padding: 1rem 1.1rem;
	border: 1px solid var(--ltgml-workspace-border, #e6ddcd);
	border-radius: 12px;
	background: #f8f6f0;
	text-align: center;
}
.ltgml-doctor-list__summary-cta p {
	max-width: 670px;
	margin: .6rem auto 0;
	font-size: .72rem;
	line-height: 1.45;
	color: #6c675e;
}

/* Dedicated clinician-ready Doctor Discussion Summary. */
.ltgml-member-workspace--doctor-summary {
	max-width: 960px;
	padding-top: .25rem;
}
.ltgml-summary-screen-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .55rem;
	max-width: 8.1in;
	margin: 0 auto 1rem;
}
.ltgml-summary-action-message {
	flex-basis: 100%;
	min-height: 1em;
	font-size: .72rem;
	text-align: center;
	color: #527052;
}
.ltgml-doctor-summary {
	box-sizing: border-box;
	width: 100%;
	max-width: 8.1in;
	margin: 0 auto;
	padding: .46in .52in .4in;
	border: 1px solid #ded8cc;
	border-radius: 6px;
	background: #fff;
	color: #292724;
	box-shadow: 0 12px 34px rgba(40,35,27,.08);
	font-family: Arial, Helvetica, sans-serif;
}
.ltgml-doctor-summary__header {
	padding-bottom: .15in;
	border-bottom: 2px solid #14245c;
}
.ltgml-doctor-summary__brand {
	margin: 0 0 .04in;
	font-size: 7.5pt;
	font-weight: 800;
	letter-spacing: .13em;
	color: #748c72;
}
.ltgml-doctor-summary__header h2 {
	margin: 0;
	color: #14245c;
	font-size: 19pt;
	line-height: 1.15;
}
.ltgml-doctor-summary__header > p:not(.ltgml-doctor-summary__brand) {
	max-width: 6.7in;
	margin: .06in 0 .04in;
	font-size: 8.7pt;
	line-height: 1.38;
	color: #55514c;
}
.ltgml-doctor-summary__header > span {
	font-size: 7pt;
	color: #77716a;
}
.ltgml-doctor-summary__items { display: grid; gap: .12in; margin-top: .13in; }
.ltgml-summary-item {
	break-inside: avoid;
	page-break-inside: avoid;
	padding: .13in .14in;
	border: 1px solid #ddd7cc;
	border-radius: 5px;
	background: #fff;
}
.ltgml-summary-item__heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: .12in;
	padding-bottom: .06in;
	border-bottom: 1px solid #ece8df;
}
.ltgml-summary-item__heading h3 {
	margin: 0;
	color: #14245c;
	font-size: 12pt;
	line-height: 1.18;
}
.ltgml-summary-item__heading .ltgml-role-badges { margin: .035in 0 0; gap: .04in; }
.ltgml-summary-item__heading .ltgml-role-badge { min-height: 17px; padding: .11rem .38rem; font-size: 5.8pt; }
.ltgml-summary-item__number {
	flex: 0 0 auto;
	margin-top: .01in;
	font-size: 6.3pt;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #7b756c;
}
.ltgml-summary-item__section { margin-top: .065in; }
.ltgml-summary-item__section h4,
.ltgml-summary-trial h4 {
	margin: 0 0 .018in;
	font-size: 6.5pt;
	font-weight: 850;
	line-height: 1.2;
	letter-spacing: .055em;
	text-transform: uppercase;
	color: #686258;
}
.ltgml-summary-item__section p,
.ltgml-summary-trial p {
	margin: 0;
	font-size: 7.8pt;
	line-height: 1.35;
}
.ltgml-summary-item__question { padding-bottom: .045in; }
.ltgml-summary-item__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0,1fr));
	gap: .14in;
	padding-top: .02in;
	border-top: 1px solid #f0ece5;
}
.ltgml-summary-blank-lines { display: grid; gap: .06in; padding: .03in 0 .015in; }
.ltgml-summary-blank-lines span { display: block; height: .11in; border-bottom: 1px solid #ccc5b8; }
.ltgml-summary-study {
	display: grid;
	grid-template-columns: minmax(0,1fr) .82in;
	align-items: center;
	gap: .12in;
	margin-top: .075in;
	padding: .065in .08in;
	border-radius: 4px;
	background: #f7f6f1;
}
.ltgml-summary-study__citation > span {
	display: block;
	margin-bottom: .015in;
	font-size: 6pt;
	font-weight: 850;
	letter-spacing: .075em;
	color: #71836e;
}
.ltgml-summary-study__citation a {
	display: block;
	color: #14245c !important;
	font-size: 7.4pt;
	font-weight: 750;
	line-height: 1.32;
	text-decoration: none !important;
}
.ltgml-summary-study__citation small {
	display: block;
	margin-top: .018in;
	font-size: 5.9pt;
	line-height: 1.25;
	color: #716c64;
}
.ltgml-summary-study__qr {
	width: .78in;
	height: .78in;
	justify-self: end;
	background: #fff;
}
.ltgml-summary-study__qr svg { display: block; width: 100%; height: 100%; }
.ltgml-summary-study__qr > span,
.ltgml-qr-fallback { font-size: 6pt; line-height: 1.2; color: #777; }
.ltgml-summary-trial {
	margin-top: .065in;
	padding-top: .055in;
	border-top: 1px solid #ece8df;
}
.ltgml-summary-trial__facts { display: flex; flex-wrap: wrap; gap: .035in .13in; margin-bottom: .025in; }
.ltgml-summary-trial__facts span { display: inline-flex; gap: .035in; font-size: 6.8pt; line-height: 1.3; }
.ltgml-summary-trial__facts strong { color: #716a61; }
.ltgml-doctor-summary__footer {
	margin-top: .14in;
	padding-top: .08in;
	border-top: 1px solid #dcd6cb;
	font-size: 6.3pt;
	line-height: 1.35;
	color: #69645d;
	text-align: center;
}
.ltgml-print-root { display: none; }

@media (max-width: 640px) {
	.ltgml-summary-screen-actions { align-items: stretch; flex-direction: column; }
	.ltgml-summary-screen-actions .ltgml-workspace-button { width: 100%; }
	.ltgml-doctor-summary { padding: 1rem; }
	.ltgml-summary-item__columns { grid-template-columns: 1fr; gap: .35rem; }
	.ltgml-summary-study { grid-template-columns: minmax(0,1fr) 78px; gap: .65rem; }
	.ltgml-summary-study__qr { width: 74px; height: 74px; }
	.ltgml-doctor-evidence-choice select { font-size: .82rem; }
}

/* Print the generated document, never the surrounding WordPress page. JS
 * creates a direct-body print clone before the dialog opens, which avoids the
 * blank-page / site-chrome problems caused by trying to print the live page. */
@media print {
	@page { size: auto; margin: .45in; }

	body.ltgml-doctor-summary-printing {
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}
	body.ltgml-doctor-summary-printing > *:not(.ltgml-print-root) {
		display: none !important;
	}
	body.ltgml-doctor-summary-printing > .ltgml-print-root {
		display: block !important;
		position: static !important;
		width: auto !important;
		margin: 0 !important;
		padding: 0 !important;
		background: #fff !important;
	}
	body.ltgml-doctor-summary-printing .ltgml-doctor-summary {
		display: block !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: #fff !important;
		color: #222 !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	body.ltgml-doctor-summary-printing .ltgml-summary-item {
		break-inside: avoid;
		page-break-inside: avoid;
		box-shadow: none !important;
	}
	body.ltgml-doctor-summary-printing .ltgml-doctor-summary a[href]::after {
		content: none !important;
	}
	body.ltgml-doctor-summary-printing .ltgml-summary-study__citation a {
		color: #14245c !important;
		text-decoration: none !important;
	}
	body.ltgml-doctor-summary-printing .ltgml-summary-study__qr,
	body.ltgml-doctor-summary-printing .ltgml-summary-study__qr svg {
		background: #fff !important;
	}
}

/* v1.22.0 launch-experience polish */
.ltgml-workspace-back{display:inline-flex;margin:0 0 .9rem;font-size:.82rem;font-weight:800;color:var(--ltgml-workspace-navy,#14245c)!important;text-decoration:none!important}
.ltgml-locked-preview{max-width:760px;margin:1.25rem auto 2rem;padding:2rem;border:1px solid #d9dfd6;border-radius:16px;background:linear-gradient(145deg,#f7faf6,#f4f7fb);text-align:center;box-shadow:0 12px 30px rgba(35,49,45,.06)}
.ltgml-locked-preview__eyebrow,.ltgml-account-panel__eyebrow{margin:0 0 .45rem;font-size:.7rem;font-weight:850;letter-spacing:.12em;color:#6d896d;text-transform:uppercase}
.ltgml-locked-preview h2{margin:.2rem 0 .65rem;color:#14245c;font-size:clamp(1.45rem,3vw,2rem)}
.ltgml-locked-preview p{max-width:620px;margin:.4rem auto 1rem;line-height:1.6}
.ltgml-locked-preview__chips{display:flex;justify-content:center;gap:.5rem;flex-wrap:wrap;margin:1rem 0}
.ltgml-locked-preview__chips span{padding:.4rem .62rem;border:1px solid #d7dfd4;border-radius:999px;background:#fff;font-size:.72rem;font-weight:750;color:#516551}
.ltgml-locked-preview__button{display:inline-flex;padding:.75rem 1rem;border-radius:9px;background:#14245c;color:#fff!important;text-decoration:none!important;font-weight:800}
.ltgml-cautious-note{border:1px solid #dce5da!important;border-left:4px solid #79997b!important;background:linear-gradient(135deg,#f4f8f2,#f4f7fb)!important;box-shadow:0 8px 24px rgba(46,66,54,.035)}
.ltgml-doctor-evidence-choice__help{margin:.2rem 0 .5rem;font-size:.72rem;line-height:1.45;color:#666158}
.ltgml-doctor-evidence-choice summary{display:flex!important;align-items:center;justify-content:space-between;gap:.8rem;width:100%;box-sizing:border-box;padding:.55rem .65rem;border:1px solid #d8d2c7;border-radius:8px;background:#fff;font-size:.74rem!important}
.ltgml-doctor-evidence-choice details[open] summary{border-bottom-left-radius:4px;border-bottom-right-radius:4px}
.ltgml-account-panel{margin:1.2rem 0 1.8rem;padding:1.35rem;border:1px solid #dce3da;border-radius:14px;background:#f7faf6;box-shadow:0 8px 22px rgba(35,49,45,.05)}
.ltgml-account-panel__main{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.ltgml-account-panel__main h2{margin:0 0 .3rem;font-size:1.4rem;color:#14245c}
.ltgml-account-panel__main p{margin:0;max-width:620px}
.ltgml-account-panel__links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.55rem;margin-top:1rem;padding-top:.9rem;border-top:1px solid #dde4da}
.ltgml-account-panel__links a{padding:.65rem;border-radius:8px;background:#fff;text-align:center;font-size:.78rem;font-weight:750;text-decoration:none!important;color:#14245c!important}
.ltgml-owned-product-notice{margin:0 0 1rem;padding:1rem;border:1px solid #dce3da;border-radius:10px;background:#f4f8f2}
@media(max-width:640px){
 .ltgml-account-panel__main{align-items:stretch;flex-direction:column}.ltgml-account-panel__open{width:100%;text-align:center}.ltgml-account-panel__links{grid-template-columns:1fr 1fr}
 /* My Library stays in its natural template position: directly below Back to Library and above the Compound title. */
 .ltgml-compound-tools{margin:.55rem 0 .8rem!important;border-radius:10px!important}
 .ltgml-compound-tools__mobile-toggle{min-height:40px!important;padding:.5rem .7rem!important}
 .ltgml-compound-tools__mobile-label{font-size:.74rem!important}
}

/* Doctor Discussion Summary: clean Letter-size paper output and Save-as-PDF. */
@media print{
 @page{size:Letter portrait;margin:.5in}
 html,body{background:#fff!important}
 body.ltgml-doctor-summary-printing .ltgml-doctor-summary{font-family:Arial,Helvetica,sans-serif!important;color:#111!important}
 body.ltgml-doctor-summary-printing .ltgml-doctor-summary__header{border-bottom-color:#333!important}
 body.ltgml-doctor-summary-printing .ltgml-doctor-summary__header h2,
 body.ltgml-doctor-summary-printing .ltgml-summary-item__heading h3,
 body.ltgml-doctor-summary-printing .ltgml-summary-study__citation a{color:#111!important}
 body.ltgml-doctor-summary-printing .ltgml-summary-item,
 body.ltgml-doctor-summary-printing .ltgml-summary-study{background:#fff!important;border-color:#bbb!important}
 body.ltgml-doctor-summary-printing .ltgml-summary-study{break-inside:avoid;page-break-inside:avoid}
 body.ltgml-doctor-summary-printing .ltgml-summary-study__qr{break-inside:avoid;page-break-inside:avoid}
}
\n\n

/* v1.22.2 — editable, calm one-time-library My Account presentation */
.woocommerce-account .woocommerce{color:#0E2C4C!important}
.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:8px!important;border:1px solid rgba(179,192,211,.72)!important;border-radius:14px!important;background:#fff!important;list-style:none!important;box-shadow:0 8px 22px rgba(14,44,76,.04)!important}
.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;list-style:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block!important;margin:0!important;padding:.78rem .9rem!important;border:0!important;border-radius:9px!important;background:transparent!important;color:#0E2C4C!important;font-weight:650!important;text-decoration:none!important;box-shadow:none!important}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:rgba(179,192,211,.22)!important;box-shadow:inset 3px 0 0 #CD943C!important;color:#0E2C4C!important}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:rgba(161,167,134,.12)!important;color:#0E2C4C!important}
.woocommerce-account .woocommerce-MyAccount-content{color:#0E2C4C!important}
.woocommerce-account .woocommerce-MyAccount-content a{color:#0E2C4C!important;text-underline-offset:3px}
.woocommerce-account .woocommerce-MyAccount-content .button,.woocommerce-account .woocommerce-MyAccount-content button.button,.woocommerce-account .woocommerce-MyAccount-content input.button,.woocommerce-account .woocommerce-MyAccount-content a.button,.woocommerce-account .woocommerce-button{border:1px solid #0E2C4C!important;border-radius:9px!important;background:#0E2C4C!important;color:#fff!important;box-shadow:none!important;text-decoration:none!important}
.woocommerce-account .woocommerce-MyAccount-content .button:hover,.woocommerce-account .woocommerce-MyAccount-content button.button:hover,.woocommerce-account .woocommerce-MyAccount-content input.button:hover,.woocommerce-account .woocommerce-MyAccount-content a.button:hover,.woocommerce-account .woocommerce-button:hover{border-color:#CD943C!important;background:#CD943C!important;color:#0E2C4C!important}
.woocommerce-account .woocommerce-info,.woocommerce-account .woocommerce-message,.woocommerce-account .woocommerce-error{border-top-color:#A1A786!important;background:#F9F8F2!important;color:#0E2C4C!important}
.woocommerce-account .ltgml-account-panel{margin:1rem 0 1.6rem!important;padding:1.4rem!important;border:1px solid rgba(179,192,211,.82)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 10px 28px rgba(14,44,76,.055)!important}
.woocommerce-account .ltgml-account-panel__eyebrow{color:#A1A786!important}
.woocommerce-account .ltgml-account-panel__main h2{color:#0E2C4C!important}
.woocommerce-account .ltgml-account-panel__main p{color:#58708A!important}
.woocommerce-account .ltgml-account-panel__open{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;padding:.78rem 1.05rem!important;border:1px solid #0E2C4C!important;border-radius:10px!important;background:#0E2C4C!important;color:#fff!important;text-decoration:none!important;box-shadow:none!important}
.woocommerce-account .ltgml-account-panel__open:hover,.woocommerce-account .ltgml-account-panel__open:focus{border-color:#CD943C!important;background:#CD943C!important;color:#0E2C4C!important}
.woocommerce-account .ltgml-account-panel__links{grid-template-columns:repeat(3,minmax(0,1fr))!important;border-top-color:rgba(179,192,211,.75)!important}
.woocommerce-account .ltgml-account-panel__links a{padding:.72rem!important;border:1px solid rgba(179,192,211,.65)!important;border-radius:9px!important;background:#fff!important;color:#0E2C4C!important;white-space:normal!important}
.woocommerce-account .ltgml-account-panel__links a:hover{border-color:#A1A786!important;background:rgba(161,167,134,.10)!important;color:#0E2C4C!important}
@media(max-width:782px){
 .woocommerce-account .ltgml-account-panel{padding:1rem!important}
 .woocommerce-account .ltgml-account-panel__main{align-items:stretch!important;flex-direction:column!important}
 .woocommerce-account .ltgml-account-panel__open{width:100%!important}
 .woocommerce-account .ltgml-account-panel__links{grid-template-columns:1fr!important}
}


/* ========================================================================== */
/* v1.24.0 — protected single-term Supplement Education reader (Phase 3)     */
/* ========================================================================== */

.ltgml-education-term {
	max-width: 860px;
	margin: 0 auto;
}

.ltgml-education-term__back {
	margin: 0 0 1rem;
}

.ltgml-education-term__back a {
	font-size: .8rem;
	font-weight: 750;
	color: var(--ltgml-workspace-navy) !important;
	text-decoration: none !important;
}

.ltgml-education-term__header {
	padding: 1.35rem 1.45rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(52,45,35,.04);
}

.ltgml-education-term__header h2 {
	margin: 0;
	color: var(--ltgml-workspace-navy);
	font-size: clamp(1.7rem, 4vw, 2.35rem);
	line-height: 1.12;
}

.ltgml-education-term__header > p:last-child {
	margin: .55rem 0 0;
	font-size: .9rem;
	font-weight: 650;
	color: #6b675f;
}

.ltgml-education-term__body {
	display: grid;
	gap: .8rem;
	margin-top: 1rem;
}

.ltgml-education-term__section {
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 12px;
	background: #fff;
}

.ltgml-education-term__section h3,
.ltgml-education-term__section h4,
.ltgml-education-term__sources h3,
.ltgml-education-term__sources h4 {
	margin: 0 0 .45rem;
	color: var(--ltgml-workspace-navy);
	font-size: 1rem;
	line-height: 1.3;
}

.ltgml-education-term__section p {
	margin: 0;
	font-size: .91rem;
	line-height: 1.68;
}

.ltgml-education-term__chips {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.ltgml-education-term__chips span {
	display: inline-flex;
	padding: .35rem .62rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 999px;
	background: #faf9f5;
	font-size: .73rem;
	font-weight: 700;
}

.ltgml-education-term__sources {
	margin-top: 1rem;
	padding: 1.1rem 1.25rem;
	border-radius: 12px;
	background: #f7f4ea;
}

.ltgml-education-term__sources ul {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem .9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ltgml-education-term__sources a {
	font-size: .76rem;
	font-weight: 750;
	color: var(--ltgml-workspace-navy) !important;
}

.ltgml-education-preview-note {
	margin: 0 0 .85rem;
	padding: .7rem .85rem;
	border: 1px solid #e3c982;
	border-radius: 9px;
	background: #fff8df;
	color: #6e591d;
	font-size: .75rem;
	font-weight: 750;
	line-height: 1.45;
}

/* ========================================================================== */
/* v1.25.0 — Supplement Education hub + four canonical guide pages (Phase 4) */
/* ========================================================================== */

.ltgml-education-home-callout {
	max-width: 920px;
	margin: 0 auto 1.35rem;
	padding: 1.35rem 1.45rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	box-shadow: 0 8px 28px rgba(52,45,35,.04);
}
.ltgml-education-home-callout h2 {
	margin: 0 0 .35rem;
	color: var(--ltgml-workspace-navy);
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	line-height: 1.2;
}
.ltgml-education-home-callout p:last-child {
	margin: 0;
	max-width: 650px;
	font-size: .9rem;
	line-height: 1.6;
}

.ltgml-education-hub__header,
.ltgml-education-guide__header {
	max-width: 920px;
	margin: 0 auto 1.2rem;
}

.ltgml-education-hub-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	max-width: 920px;
	margin: 0 auto;
}
.ltgml-education-hub-card {
	display: flex;
	flex-direction: column;
	min-height: 230px;
	padding: 1.35rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
	color: var(--ltgml-workspace-text) !important;
	text-decoration: none !important;
	box-shadow: 0 8px 28px rgba(52,45,35,.04);
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.ltgml-education-hub-card:hover {
	transform: translateY(-2px);
	border-color: #d8cfbe;
	box-shadow: 0 12px 30px rgba(52,45,35,.08);
}
.ltgml-education-hub-card__eyebrow {
	margin-bottom: .55rem;
	font-size: .67rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ltgml-workspace-green);
}
.ltgml-education-hub-card h3 {
	margin: 0 0 .55rem;
	color: var(--ltgml-workspace-navy);
	font-size: 1.18rem;
	line-height: 1.25;
}
.ltgml-education-hub-card p {
	margin: 0;
	font-size: .88rem;
	line-height: 1.65;
}
.ltgml-education-hub-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid #eee8dc;
	font-size: .75rem;
}
.ltgml-education-hub-card__footer > span { color: #777168; }
.ltgml-education-hub-card__footer strong { color: var(--ltgml-workspace-navy); }

.ltgml-education-preview-note--page {
	max-width: 920px;
	margin: 0 auto 1rem;
}

.ltgml-education-jump {
	max-width: 920px;
	margin: 0 auto 1.25rem;
	padding: 1rem 1.1rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 12px;
	background: #faf9f5;
}
.ltgml-education-jump > p {
	margin: 0 0 .65rem;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #706a61;
}
.ltgml-education-jump__links {
	display: flex;
	flex-wrap: wrap;
	gap: .42rem;
}
.ltgml-education-jump__links a {
	display: inline-flex;
	padding: .4rem .62rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 999px;
	background: #fff;
	color: var(--ltgml-workspace-navy) !important;
	font-size: .74rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
}

.ltgml-education-guide-list {
	display: grid;
	gap: 1rem;
	max-width: 920px;
	margin: 0 auto;
}
.ltgml-education-entry {
	scroll-margin-top: 24px;
	padding: 1.35rem;
	border: 1px solid var(--ltgml-workspace-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 28px rgba(52,45,35,.035);
}
.ltgml-education-entry:target {
	border-color: #c7b88e;
	box-shadow: 0 0 0 3px rgba(205,148,60,.10), 0 10px 30px rgba(52,45,35,.06);
}
.ltgml-education-entry__header {
	padding-bottom: .85rem;
	border-bottom: 1px solid #eee8dc;
}
.ltgml-education-entry__header h3 {
	margin: 0;
	color: var(--ltgml-workspace-navy);
	font-size: clamp(1.25rem, 3vw, 1.55rem);
	line-height: 1.2;
}
.ltgml-education-entry__header p {
	margin: .35rem 0 0;
	font-size: .78rem;
	font-weight: 700;
	color: #756f66;
}
.ltgml-education-entry__body {
	display: grid;
	gap: .7rem;
	margin-top: .85rem;
}
.ltgml-education-entry .ltgml-education-term__section {
	padding: .9rem 1rem;
	border-radius: 10px;
	box-shadow: none;
}
.ltgml-education-entry .ltgml-education-term__section h4,
.ltgml-education-entry .ltgml-education-term__sources h4 {
	margin: 0 0 .38rem;
	color: var(--ltgml-workspace-navy);
	font-size: .92rem;
	line-height: 1.3;
}
.ltgml-education-entry .ltgml-education-term__section p {
	font-size: .88rem;
	line-height: 1.66;
}
.ltgml-education-entry .ltgml-education-term__sources {
	margin-top: 0;
	padding: .9rem 1rem;
}
.ltgml-education-entry .ltgml-education-term__sources ul {
	gap: .38rem .75rem;
}
.ltgml-education-entry__top {
	display: inline-flex;
	margin-top: .85rem;
	font-size: .72rem;
	font-weight: 750;
	color: var(--ltgml-workspace-navy) !important;
	text-decoration: none !important;
}

.ltgml-tag--education-link {
	text-decoration: none !important;
	cursor: pointer;
}
.ltgml-tag--education-link:hover {
	text-decoration: underline !important;
	text-underline-offset: 2px;
}

@media (max-width: 760px) {
	.ltgml-education-home-callout {
		align-items: flex-start;
		flex-direction: column;
	}
	.ltgml-education-hub-grid {
		grid-template-columns: 1fr;
	}
	.ltgml-education-hub-card {
		min-height: 0;
	}
	.ltgml-education-jump {
		padding: .9rem;
	}
	.ltgml-education-jump__links {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: .15rem;
		-webkit-overflow-scrolling: touch;
	}
	.ltgml-education-jump__links a {
		flex: 0 0 auto;
	}
	.ltgml-education-entry {
		padding: 1rem;
	}
}

[class*="ltgml-member-workspace--education"] > .ltgml-workspace-back {
	display: flex;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

/* ========================================================================== */
/* v1.25.1 — Supplement Education plain-English usability layer              */
/* ========================================================================== */

.ltgml-education-entry__body {
	gap: .95rem;
}

.ltgml-education-entry .ltgml-education-term__section {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.ltgml-education-entry .ltgml-education-term__section h4 {
	margin: 0 0 .34rem;
	font-size: .9rem;
	font-weight: 800;
}

.ltgml-education-entry .ltgml-education-term__section p {
	font-size: .91rem;
	line-height: 1.67;
}

.ltgml-education-term__section--bullets {
	padding: .85rem .95rem !important;
	border: 1px solid var(--ltgml-workspace-border) !important;
	border-radius: 10px !important;
	background: #faf9f5 !important;
}

.ltgml-education-practical-list {
	display: grid;
	gap: .45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ltgml-education-practical-list li {
	position: relative;
	margin: 0;
	padding-left: 1.2rem;
	font-size: .88rem;
	line-height: 1.55;
}

.ltgml-education-practical-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 850;
	color: var(--ltgml-workspace-green);
}

.ltgml-education-example {
	padding: .85rem .95rem;
	border-left: 3px solid #d4b16a;
	border-radius: 0 10px 10px 0;
	background: #fbf7ed;
}

.ltgml-education-example h4 {
	margin: 0 0 .34rem;
	color: var(--ltgml-workspace-navy);
	font-size: .82rem;
	font-weight: 850;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.ltgml-education-example p,
.ltgml-education-entry__context {
	margin: 0;
	font-size: .88rem;
	line-height: 1.6;
}

.ltgml-education-entry__context {
	padding: .72rem .82rem;
	border-radius: 9px;
	background: #f4f7f1;
}

.ltgml-education-research {
	margin-top: .1rem;
	border-top: 1px solid #eee8dc;
	padding-top: .75rem;
}

.ltgml-education-research summary {
	cursor: pointer;
	list-style: none;
	font-size: .78rem;
	font-weight: 800;
	color: var(--ltgml-workspace-navy);
}

.ltgml-education-research summary::-webkit-details-marker {
	display: none;
}

.ltgml-education-research summary::after {
	content: " +";
	font-weight: 900;
}

.ltgml-education-research[open] summary::after {
	content: " −";
}

.ltgml-education-research__body {
	margin-top: .75rem;
	padding: .85rem .95rem;
	border-radius: 10px;
	background: #f7f4ea;
}

.ltgml-education-research__body > p {
	margin: 0;
	font-size: .82rem;
	line-height: 1.62;
	color: #555149;
}

.ltgml-education-research .ltgml-education-term__sources {
	margin-top: .75rem;
	padding: 0;
	background: transparent;
}

.ltgml-education-research .ltgml-education-term__sources h4 {
	margin-bottom: .45rem;
	font-size: .8rem;
}

.ltgml-education-guide__header > p:last-child,
.ltgml-education-hub__header > p:last-child {
	max-width: 760px;
	line-height: 1.65;
}

@media (max-width: 760px) {
	.ltgml-education-example,
	.ltgml-education-term__section--bullets,
	.ltgml-education-research__body {
		padding: .78rem .82rem !important;
	}
}

/* v1.25.2 — Supplement Education usefulness audit */
.ltgml-education-jump__group + .ltgml-education-jump__group {
  margin-top: 1rem;
}
.ltgml-education-jump__group > strong {
  display: block;
  margin-bottom: .45rem;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}
.ltgml-education-group-title {
  margin: 2rem 0 .85rem;
  font-size: 1.05rem;
  line-height: 1.3;
}
.ltgml-education-group-title:first-child {
  margin-top: 0;
}
