.om-daily-pnl {
	--om-ink: #172033;
	--om-muted: #667085;
	--om-line: #d8dee8;
	--om-blue: #155f9f;
	--om-gold: #c98322;
	--om-green: #6f8f2f;
	--om-red: #b42318;
	--om-soft: #f5f7fb;
	--om-header: #12324f;
	--om-header-soft: #17466f;
	color: var(--om-ink);
	font-family: Inter, Arial, sans-serif;
	width: 100%;
	max-width: 100%;
	margin: 0;
}

.om-daily-pnl * { box-sizing: border-box; }

.om-daily-pnl__hero {
	position: relative;
	padding: 24px 184px 24px 24px;
	border: 1px solid #cfd8e6;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--om-header) 0%, var(--om-header-soft) 100%);
	box-shadow: 0 10px 24px rgba(18, 50, 79, .12);
}


.om-daily-pnl__entry-badge {
	position: absolute;
	top: 18px;
	right: 18px;
	min-width: 138px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 8px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 8px 18px rgba(18, 50, 79, .18);
	text-align: center;
}

.om-daily-pnl__entry-badge span {
	display: block;
	color: var(--om-blue);
	font-size: 18px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0;
}

.om-daily-pnl__entry-badge strong {
	display: block;
	margin-top: 5px;
	color: var(--om-muted);
	font-size: 11px;
	line-height: 1.25;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.om-daily-pnl__date {
	margin: 0 0 8px;
	color: #d7e4f2;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

.om-daily-pnl__title {
	max-width: 780px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(24px, 3.2vw, 36px);
	line-height: 1.16;
	font-weight: 800;
	letter-spacing: 0;
}

.om-daily-pnl__subtitle {
	max-width: 720px;
	margin: 10px 0 0;
	color: #e6eef7;
	font-size: 16px;
	line-height: 1.55;
}

.om-daily-pnl__scoreboard {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin: 20px 0 0;
}

.om-daily-pnl__metric {
	position: relative;
	min-height: 88px;
	padding: 14px 14px 13px;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 8px 18px rgba(18, 50, 79, .10);
	overflow: hidden;
}

.om-daily-pnl__metric::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: var(--om-blue);
}

.om-daily-pnl__label {
	display: block;
	color: var(--om-muted);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-daily-pnl__value {
	display: block;
	margin-top: 8px;
	color: var(--om-ink);
	font-size: 23px;
	line-height: 1.1;
	font-weight: 900;
	letter-spacing: 0;
}

.om-is-positive { color: #067647 !important; }
.om-is-negative { color: var(--om-red) !important; }

.om-daily-pnl__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 18px;
}

.om-daily-pnl__panel,
.om-daily-pnl__section {
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(23, 32, 51, .04);
}

.om-daily-pnl__panel h3 {
	margin: 0;
	padding: 11px 14px;
	color: #fff;
	font-size: 16px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: 0;
}

.om-daily-pnl__panel--before h3 { background: var(--om-gold); }
.om-daily-pnl__panel--after h3 { background: var(--om-green); }

.om-daily-pnl__section {
	margin-top: 18px;
	padding: 18px;
}

.om-daily-pnl__section h3 {
	margin: 0 0 12px;
	color: var(--om-blue);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: 0;
}

.om-daily-pnl__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.om-daily-pnl__table th,
.om-daily-pnl__table td {
	padding: 11px 14px;
	border-top: 1px solid var(--om-line);
	font-size: 14px;
	line-height: 1.35;
	text-align: left;
	vertical-align: top;
}

.om-daily-pnl__section .om-daily-pnl__table tr:first-child th,
.om-daily-pnl__section .om-daily-pnl__table tr:first-child td { border-top: 0; }

.om-daily-pnl__table th {
	width: 48%;
	color: var(--om-muted);
	font-weight: 800;
	background: var(--om-soft);
}

.om-daily-pnl__subheading {
	margin: 14px 0 8px;
	color: var(--om-header);
	font-size: 16px;
	line-height: 1.3;
	font-weight: 900;
	letter-spacing: 0;
}

.om-daily-pnl__subheading:first-of-type { margin-top: 0; }

.om-daily-pnl__table--ddn th,
.om-daily-pnl__table--ddn td,
.om-daily-pnl__timeline th,
.om-daily-pnl__timeline td {
	border: 1px solid #18b7a5;
}


.om-daily-pnl__timeline {
	table-layout: fixed;
}

.om-daily-pnl__timeline th {
	width: auto;
}

.om-daily-pnl__timeline th:nth-child(1),
.om-daily-pnl__timeline td:nth-child(1) {
	width: 16%;
}

.om-daily-pnl__timeline th:nth-child(2),
.om-daily-pnl__timeline td:nth-child(2) {
	width: 34%;
}

.om-daily-pnl__timeline th:nth-child(3),
.om-daily-pnl__timeline td:nth-child(3) {
	width: 50%;
}

.om-daily-pnl__timeline thead th {
	background: var(--om-header);
	color: #fff;
	font-weight: 900;
}

.om-daily-pnl__bias,
.om-daily-pnl__debrief {
	padding: 16px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	font-size: 16px;
	line-height: 1.6;
}

.om-daily-pnl__bias p,
.om-daily-pnl__debrief p {
	margin: 0 0 12px;
}

.om-daily-pnl__bias p:last-child,
.om-daily-pnl__debrief p:last-child { margin-bottom: 0; }

.om-daily-pnl__learning {
	margin-top: 18px;
	padding: 18px;
	border-radius: 8px;
	background: var(--om-header);
	color: #fff;
	text-align: center;
}

.om-daily-pnl__learning h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0;
}

.om-daily-pnl__learning p {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 700;
}
.om-daily-pnl__journal {
	padding: 16px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	color: var(--om-ink);
	font-size: 16px;
	line-height: 1.65;
}

.om-daily-pnl__journal p,
.om-daily-pnl__journal ul,
.om-daily-pnl__journal ol {
	margin-top: 0;
	margin-bottom: 12px;
}

.om-daily-pnl__journal p:last-child,
.om-daily-pnl__journal ul:last-child,
.om-daily-pnl__journal ol:last-child { margin-bottom: 0; }

.om-daily-pnl__journal img,
.om-daily-pnl__screenshot img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.om-daily-pnl__screenshot {
	margin: 14px 0 0;
	padding: 10px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: #fff;
}

.om-daily-pnl__checks { display: grid; gap: 10px; }

.om-daily-pnl__check {
	display: grid;
	grid-template-columns: 1fr 110px;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--om-line);
}

.om-daily-pnl__check:last-child { border-bottom: 0; }
.om-daily-pnl__check strong { text-align: right; font-weight: 900; }

.om-daily-pnl__lesson {
	margin: 0;
	color: var(--om-ink);
	font-size: 18px;
	line-height: 1.6;
}

.om-daily-pnl__footer {
	margin-top: 18px;
	padding: 13px 16px;
	border-radius: 8px;
	background: var(--om-blue);
	color: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 900;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 760px) {
	.om-daily-pnl__hero { padding: 20px 16px; }
	.om-daily-pnl__entry-badge { position: static; width: 100%; margin-bottom: 14px; }
	.om-daily-pnl__scoreboard,
	.om-daily-pnl__grid { grid-template-columns: 1fr; }
	.om-daily-pnl__metric { min-height: 78px; }
	.om-daily-pnl__check { grid-template-columns: 1fr; gap: 4px; }
	.om-daily-pnl__check strong { text-align: left; }
}


.om-ddn-archive {
	--om-ink: #172033;
	--om-muted: #667085;
	--om-line: #d8dee8;
	--om-blue: #155f9f;
	--om-green: #6f8f2f;
	--om-red: #b42318;
	--om-soft: #f5f7fb;
	--om-header: #12324f;
	--om-header-soft: #17466f;
	color: var(--om-ink);
	font-family: Inter, Arial, sans-serif;
}

.om-ddn-archive * { box-sizing: border-box; }

.om-ddn-archive__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding: 24px;
	border: 1px solid #cfd8e6;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--om-header) 0%, var(--om-header-soft) 100%);
	box-shadow: 0 10px 24px rgba(18, 50, 79, .12);
}

.om-ddn-archive__eyebrow {
	margin: 0 0 8px;
	color: #d7e4f2;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-ddn-archive__hero h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.16;
	font-weight: 900;
	letter-spacing: 0;
}

.om-ddn-archive__hero p:not(.om-ddn-archive__eyebrow) {
	max-width: 760px;
	margin: 10px 0 0;
	color: #eaf2fb;
	font-size: 15px;
	line-height: 1.6;
}

.om-ddn-archive__count {
	min-width: 132px;
	padding: 13px 14px;
	border: 1px solid rgba(255, 255, 255, .42);
	border-radius: 8px;
	background: rgba(255, 255, 255, .96);
	text-align: center;
	box-shadow: 0 8px 18px rgba(18, 50, 79, .18);
}

.om-ddn-archive__count span {
	display: block;
	color: var(--om-blue);
	font-size: 30px;
	line-height: 1;
	font-weight: 900;
}

.om-ddn-archive__count strong {
	display: block;
	margin-top: 6px;
	color: var(--om-muted);
	font-size: 11px;
	line-height: 1.25;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-ddn-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.om-ddn-archive__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(18, 50, 79, .08);
}

.om-ddn-archive__image {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--om-soft);
	overflow: hidden;
}

.om-ddn-archive__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.om-ddn-archive__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
}

.om-ddn-archive__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	color: var(--om-muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.om-ddn-archive__meta span {
	color: var(--om-blue);
}

.om-ddn-archive__body h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 900;
	letter-spacing: 0;
}

.om-ddn-archive__body h3 a {
	color: var(--om-ink);
	text-decoration: none;
}

.om-ddn-archive__body h3 a:hover { color: var(--om-blue); }

.om-ddn-archive__body p {
	margin: 0;
	color: var(--om-muted);
	font-size: 14px;
	line-height: 1.55;
}

.om-ddn-archive__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
}

.om-ddn-archive__stats span {
	padding: 9px 10px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	color: var(--om-muted);
	font-size: 12px;
	font-weight: 800;
}

.om-ddn-archive__stats strong {
	display: block;
	margin-top: 2px;
	color: var(--om-ink);
	font-size: 15px;
	font-weight: 900;
}

.om-ddn-archive__stats .om-is-positive strong { color: var(--om-green); }
.om-ddn-archive__stats .om-is-negative strong { color: var(--om-red); }

.om-ddn-archive__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 14px;
	border-radius: 8px;
	background: var(--om-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-ddn-archive__button:hover {
	background: var(--om-header);
	color: #fff;
}

.om-ddn-archive__empty {
	margin-top: 18px;
	padding: 18px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	color: var(--om-muted);
	font-weight: 800;
	text-align: center;
}

@media (max-width: 980px) {
	.om-ddn-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.om-ddn-archive__hero { grid-template-columns: 1fr; padding: 20px 16px; }
	.om-ddn-archive__count { width: 100%; }
	.om-ddn-archive__grid { grid-template-columns: 1fr; }
}

/* DDN Daily Journal v2 - simple daily posting template. */
.om-daily-pnl--simple .om-daily-pnl__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	padding: 24px;
}

.om-daily-pnl--simple .om-daily-pnl__hero-main {
	min-width: 0;
}

.om-daily-pnl--simple .om-daily-pnl__entry-badge {
	position: static;
	align-self: start;
	min-width: 150px;
}

.om-daily-pnl--simple .om-daily-pnl__scoreboard {
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-daily-pnl--simple .om-daily-pnl__metric {
	min-height: 82px;
}

.om-daily-pnl__section-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
}

.om-daily-pnl__section-head span {
	flex: 0 0 auto;
	padding: 5px 9px;
	border-radius: 999px;
	background: #e8f2fb;
	color: var(--om-blue);
	font-size: 11px;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-daily-pnl__section-head h3 {
	margin: 0;
}

.om-daily-pnl__split,
.om-daily-pnl__review-grid {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 12px;
	align-items: stretch;
}

.om-daily-pnl__split--three,
.om-daily-pnl__review-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-daily-pnl__mini-stat,
.om-daily-pnl__note {
	min-width: 0;
	padding: 15px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
}

.om-daily-pnl__mini-stat span,
.om-daily-pnl__note span {
	display: block;
	margin-bottom: 7px;
	color: var(--om-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-daily-pnl__mini-stat strong {
	display: block;
	color: var(--om-header);
	font-size: 22px;
	line-height: 1.18;
	font-weight: 900;
}

.om-daily-pnl__note p {
	margin: 0;
	color: var(--om-ink);
	font-size: 15px;
	line-height: 1.6;
}

.om-daily-pnl__note--good {
	border-color: #bfd9c9;
	background: #f1f8f4;
}

.om-daily-pnl__note--improve {
	border-color: #ead0a8;
	background: #fff8ed;
}

.om-daily-pnl__note--learning {
	border-color: #bdd7ee;
	background: #f0f7fd;
}

.om-daily-pnl__journal--legacy {
	margin-top: 12px;
}

@media (max-width: 760px) {
	.om-daily-pnl--simple .om-daily-pnl__hero,
	.om-daily-pnl--simple .om-daily-pnl__scoreboard,
	.om-daily-pnl__split,
	.om-daily-pnl__split--three,
	.om-daily-pnl__review-grid {
		grid-template-columns: 1fr;
	}

	.om-daily-pnl--simple .om-daily-pnl__entry-badge {
		width: 100%;
	}
}

.om-daily-pnl__section--workflow {
	padding-bottom: 10px;
}

.om-daily-pnl__workflow-step {
	display: grid;
	grid-template-columns: minmax(210px, 28%) minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-top: 1px solid var(--om-line);
}

.om-daily-pnl__workflow-step:first-of-type {
	border-top: 0;
	padding-top: 0;
}

.om-daily-pnl__workflow-heading {
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
}

.om-daily-pnl__workflow-heading > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--om-header);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
}

.om-daily-pnl__workflow-heading h4 {
	margin: 0;
	color: var(--om-header);
	font-size: 17px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: 0;
}

.om-daily-pnl__workflow-heading p {
	margin: 6px 0 0;
	color: var(--om-muted);
	font-size: 12px;
	line-height: 1.45;
	font-weight: 700;
}

.om-daily-pnl__workflow-text {
	min-height: 72px;
	padding: 14px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	color: var(--om-ink);
	font-size: 15px;
	line-height: 1.65;
}

@media (max-width: 760px) {
	.om-daily-pnl__workflow-step {
		grid-template-columns: 1fr;
	}
}

/* DDN Daily Journal v2.0.3 - stacked writeup template. */
.om-daily-pnl--stacked .om-daily-pnl__story {
	display: grid;
	gap: 18px;
	margin-top: 18px;
}

.om-daily-pnl--stacked .om-daily-pnl__story-step {
	padding: 18px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(23, 32, 51, .04);
}

.om-daily-pnl--stacked .om-daily-pnl__story-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.om-daily-pnl--stacked .om-daily-pnl__story-title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--om-header);
	color: #fff;
	font-size: 14px;
	font-weight: 900;
}

.om-daily-pnl--stacked .om-daily-pnl__story-title h3 {
	margin: 0;
	color: var(--om-blue);
	font-size: 20px;
	line-height: 1.25;
	font-weight: 900;
	letter-spacing: 0;
}

.om-daily-pnl--stacked .om-daily-pnl__story-box {
	min-height: 92px;
	padding: 15px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
	color: var(--om-ink);
	font-size: 15px;
	line-height: 1.65;
}

.om-daily-pnl--stacked .om-daily-pnl__session-review {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.om-daily-pnl--stacked .om-daily-pnl__review-item {
	min-height: 110px;
	padding: 14px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: var(--om-soft);
}

.om-daily-pnl--stacked .om-daily-pnl__review-item span {
	display: block;
	margin-bottom: 7px;
	color: var(--om-muted);
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.om-daily-pnl--stacked .om-daily-pnl__review-item p {
	margin: 0;
	color: var(--om-ink);
	font-size: 15px;
	line-height: 1.6;
}

.om-daily-pnl--stacked .om-daily-pnl__review-item--good,
.om-daily-pnl--stacked .om-daily-pnl__review-item--rules {
	border-color: #bfd9c9;
	background: #f1f8f4;
}

.om-daily-pnl--stacked .om-daily-pnl__review-item--mistakes {
	border-color: #ead0a8;
	background: #fff8ed;
}

.om-daily-pnl--stacked .om-daily-pnl__review-item--learning {
	border-color: #bdd7ee;
	background: #f0f7fd;
}

@media (max-width: 760px) {
	.om-daily-pnl--stacked .om-daily-pnl__session-review {
		grid-template-columns: 1fr;
	}
}

.om-daily-pnl--stacked .om-daily-pnl__story-image {
	margin: 14px 0 0;
	padding: 10px;
	border: 1px solid var(--om-line);
	border-radius: 8px;
	background: #fff;
}

.om-daily-pnl--stacked .om-daily-pnl__story-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 6px;
}

.om-daily-pnl--stacked .om-daily-pnl__story-image figcaption {
	margin-top: 8px;
	color: var(--om-muted);
	font-size: 12px;
	line-height: 1.35;
	font-weight: 800;
	text-align: center;
}
