/* Weekly Marriage Meeting */
.wmm-app {
	--wmm-primary: #1b365d;
	--wmm-accent: #008b80;
	--wmm-gold: #c9942a;
	--wmm-a: #2b5797;
	--wmm-ink: #1d2a3b;
	--wmm-muted: #5a6878;
	--wmm-line: #e3e0d8;
	--wmm-line-2: #cfd6dd;
	--wmm-bg: #f7f5f0;
	--wmm-accent-ink: #00675f;
	--wmm-accent-soft: #e6f3f1;
	--wmm-gold-soft: #faf1df;
	--wmm-gold-ink: #7a5410;
	--wmm-a-soft: #e6eef8;
	color: var(--wmm-ink);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.wmm-app *, .wmm-app *::before, .wmm-app *::after { box-sizing: border-box; }
.wmm-wrap { max-width: 900px; margin: 0 auto; }
.wmm-app p { margin: 0 0 12px; }
.wmm-app p:last-child { margin-bottom: 0; }
.wmm-app svg { width: 1em; height: 1em; vertical-align: -0.14em; flex: 0 0 auto; }
.wmm-loading, .wmm-muted { color: var(--wmm-muted); }
.wmm-small { font-size: 0.88em; }
.wmm-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0 0; }
.wmm-between { justify-content: space-between; }
.wmm-center { text-align: center; justify-content: center; }
.wmm-gap { margin-top: 14px !important; }
.wmm-empty { color: var(--wmm-muted); font-size: .92em; font-style: italic; }

/* Buttons: base look; colors are also pinned inline by the script so themes can't override them. */
.wmm-app.wmm-app button { font: inherit; cursor: pointer; line-height: 1.25; text-align: inherit; margin: 0; }
.wmm-app.wmm-app.wmm-app button::before, .wmm-app.wmm-app.wmm-app button::after { content: none !important; display: none !important; }
.wmm-app.wmm-app .wmm-btn { font-weight: 700; }
.wmm-btn { display: inline-flex; align-items: center; gap: 8px; transition: transform .08s ease, filter .15s ease; }
.wmm-btn:hover { filter: brightness(0.95); }
.wmm-btn:active { transform: translateY(1px); }
.wmm-btn.wmm-sm { font-size: .9em; }
.wmm-btn.wmm-lg { font-size: 1.04em; }
.wmm-app button:focus-visible, .wmm-input:focus-visible, .wmm-app a:focus-visible { outline: 3px solid var(--wmm-gold); outline-offset: 2px; }
.wmm-app .wmm-title, .wmm-app .wmm-h, .wmm-app h4 { font-family: inherit; text-transform: none; letter-spacing: normal; }

/* Cards */
.wmm-card { background: #fff; border: 1px solid var(--wmm-line); border-radius: 18px; padding: 22px 24px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(27, 54, 93, .04); }
.wmm-hero { background: linear-gradient(160deg, #fff 55%, var(--wmm-accent-soft)); }
.wmm-eyebrow { display: flex; align-items: center; gap: 6px; font-size: .78em; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--wmm-accent-ink); margin-bottom: 6px; }
.wmm-app .wmm-title { font-size: 1.75em; line-height: 1.2; margin: 0 0 8px; color: var(--wmm-primary); font-weight: 800; }
.wmm-lead { font-size: 1.03em; }
.wmm-app .wmm-h { display: flex; align-items: center; gap: 8px; font-size: 1.12em; line-height: 1.3; margin: 0 0 10px; color: var(--wmm-primary); font-weight: 800; }
.wmm-agenda { margin: 14px 0 0; padding-left: 22px; }
.wmm-agenda li { margin: 0 0 4px; }
.wmm-agenda span { color: var(--wmm-muted); }

/* Fields */
.wmm-field { margin: 14px 0 0; }
.wmm-label { display: block; font-weight: 700; margin-bottom: 6px; }
.wmm-app .wmm-input { display: block; width: 100%; max-width: 100%; font: inherit; color: var(--wmm-ink); background: #fff; border: 2px solid var(--wmm-line-2); border-radius: 12px; padding: 10px 13px; margin: 0; box-shadow: none; height: auto; line-height: 1.4; }
.wmm-app .wmm-input:focus { border-color: var(--wmm-accent); outline: none; }
.wmm-app textarea.wmm-input { resize: vertical; min-height: 84px; }
.wmm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.wmm-check { display: flex; gap: 10px; align-items: center; margin: 6px 0 0; cursor: pointer; }
.wmm-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--wmm-accent); }
.wmm-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.wmm-app.wmm-app .wmm-pill { font-weight: 700; font-size: .9em; }

/* Home */
.wmm-dash-in { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.wmm-next { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 4px 0 0 !important; }
.wmm-next svg { color: var(--wmm-accent-ink); }
.wmm-streak { display: flex; flex-direction: column; align-items: center; background: var(--wmm-gold-soft); color: var(--wmm-gold-ink); border-radius: 16px; padding: 10px 16px; min-width: 104px; text-align: center; }
.wmm-streak svg { width: 22px; height: 22px; }
.wmm-streak strong { font-size: 1.7em; line-height: 1.1; }
.wmm-streak span { font-size: .75em; font-weight: 700; }
.wmm-intro { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wmm-line); }
.wmm-intro p { margin-bottom: 4px !important; }
.wmm-intro-show { margin: 6px 0 0 !important; }
.wmm-qotw, .wmm-q { margin-top: 18px; background: #fff; border: 1px dashed var(--wmm-line-2); border-radius: 12px; padding: 12px 16px; font-weight: 700; color: var(--wmm-primary); }
.wmm-qotw span, .wmm-q span { display: block; font-size: .74em; text-transform: uppercase; letter-spacing: .08em; color: var(--wmm-accent-ink); margin-bottom: 2px; }
.wmm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; align-items: start; }
.wmm-add { display: flex; gap: 8px; margin: 8px 0 0; }
.wmm-add .wmm-input { flex: 1; min-width: 0; }
.wmm-addby { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0 4px; }
.wmm-items { list-style: none; margin: 10px 0 0; padding: 0; }
.wmm-items li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid var(--wmm-line); }
.wmm-items li:first-child { border-top: 0; }
.wmm-item-t { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.wmm-done .wmm-item-t { text-decoration: line-through; color: var(--wmm-muted); }
.wmm-tag { display: inline-block; font-size: .72em; font-weight: 800; border-radius: 99px; padding: 2px 9px; white-space: nowrap; background: var(--wmm-accent-soft); color: var(--wmm-accent-ink); }
.wmm-tag-a { background: var(--wmm-a-soft); color: var(--wmm-a); }
.wmm-tag-b { background: var(--wmm-gold-soft); color: var(--wmm-gold-ink); }
.wmm-x { display: inline-flex; flex: 0 0 auto; }
.wmm-x svg { width: 16px; height: 16px; }
.wmm-tick { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.wmm-tick svg { width: 15px; height: 15px; }
.wmm-date { margin-top: 14px; background: var(--wmm-gold-soft); border-radius: 12px; padding: 10px 14px; }
.wmm-date-k { display: flex; align-items: center; gap: 6px; font-size: .78em; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--wmm-gold-ink); }
.wmm-copy { display: flex; gap: 8px; margin-top: 10px; }
.wmm-copy .wmm-input { flex: 1; min-width: 0; font-size: .85em; color: var(--wmm-muted); }
.wmm-status { display: inline-flex; align-items: center; gap: 6px; font-size: .88em; color: var(--wmm-accent-ink); font-weight: 700; }
.wmm-past { list-style: none; margin: 0; padding: 0; }
.wmm-past li { border-top: 1px solid var(--wmm-line); }
.wmm-past li:first-child { border-top: 0; }
.wmm-past-b { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.wmm-past-b:hover { background: var(--wmm-bg) !important; }
.wmm-past-b span { font-size: .85em; color: var(--wmm-muted); }
.wmm-tools { justify-content: center; }
.wmm-grid .wmm-sync { grid-column: 1 / -1; }
.wmm-sync .wmm-copy { max-width: 620px; }
.wmm-foot { text-align: center; margin-top: 18px !important; }

/* Meeting */
.wmm-meet-top { padding: 14px 18px; }
.wmm-meet-head { display: flex; justify-content: space-between; align-items: center; }
.wmm-steps { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 10px 0 0; padding: 0; }
.wmm-stepb { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .88em; }
.wmm-stepb span { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--wmm-bg); font-size: .85em; }
.wmm-stepb.wmm-on span { background: var(--wmm-accent); color: #fff; }
.wmm-stepb.wmm-past-s span { background: var(--wmm-accent-soft); color: var(--wmm-accent-ink); }
.wmm-sec-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.wmm-timer { display: flex; align-items: center; gap: 6px; background: var(--wmm-bg); border-radius: 14px; padding: 6px 6px 6px 14px; }
.wmm-clock { font-size: 1.35em; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--wmm-primary); min-width: 54px; }
.wmm-clock.wmm-over { color: var(--wmm-gold-ink); }
.wmm-guide { margin: 0 0 6px; padding-left: 22px; }
.wmm-guide li { margin: 0 0 5px; }
.wmm-tank { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }
.wmm-app.wmm-app .wmm-tk { text-align: center; font-weight: 800; }
.wmm-scale { display: flex; justify-content: space-between; font-size: .8em; color: var(--wmm-muted); margin-top: 4px; }
.wmm-who { border-radius: 14px; padding: 12px 14px; margin-top: 14px; display: grid; gap: 8px; }
.wmm-who-a { background: var(--wmm-a-soft); }
.wmm-who-b { background: var(--wmm-gold-soft); }
.wmm-who-h { font-weight: 800; }
.wmm-choose { display: flex; flex-wrap: wrap; gap: 8px; }
.wmm-pick { display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.wmm-tip { margin-top: 16px; background: var(--wmm-bg); border-radius: 12px; padding: 12px 16px; font-size: .92em; }
.wmm-app .wmm-a { color: var(--wmm-accent-ink); font-weight: 700; }
.wmm-verse { margin: 18px 0 0; padding: 14px 18px; border-left: 4px solid var(--wmm-gold); background: var(--wmm-gold-soft); border-radius: 0 12px 12px 0; font-style: italic; color: var(--wmm-ink); font-size: 1em; }
.wmm-verse cite { display: block; font-style: normal; font-weight: 700; font-size: .85em; margin-top: 4px; color: var(--wmm-gold-ink); }
.wmm-nav { justify-content: space-between; margin-bottom: 16px; }
.wmm-big-check { width: 64px; height: 64px; border-radius: 50%; background: var(--wmm-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.wmm-app .wmm-big-check svg { width: 34px; height: 34px; }

/* Summary */
.wmm-sum-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; border-bottom: 2px solid var(--wmm-line); padding-bottom: 8px; margin-bottom: 6px; }
.wmm-sum-b { padding: 10px 0; border-bottom: 1px solid var(--wmm-line); }
.wmm-sum-b:last-child { border-bottom: 0; }
.wmm-app .wmm-sum-b h4, .wmm-app .wmm-ap h4 { margin: 0 0 6px; font-size: .8em; text-transform: uppercase; letter-spacing: .07em; color: var(--wmm-accent-ink); font-weight: 800; }
.wmm-sum-b ul { margin: 4px 0 0; padding-left: 20px; }
.wmm-pre { white-space: pre-wrap; }
.wmm-ap { padding: 8px 0; border-bottom: 1px solid var(--wmm-line); }
.wmm-lines { line-height: 2.1; border-bottom: 1px solid var(--wmm-line-2); min-height: 2.1em; }
.wmm-lines-2 { min-height: 4.2em; background: repeating-linear-gradient(transparent 0 calc(2.1em - 1px), var(--wmm-line-2) calc(2.1em - 1px) 2.1em); border: 0; }
.wmm-lines-4 { min-height: 8.4em; background: repeating-linear-gradient(transparent 0 calc(2.1em - 1px), var(--wmm-line-2) calc(2.1em - 1px) 2.1em); border: 0; }
.wmm-print-foot { text-align: center; color: var(--wmm-muted); font-size: .8em; margin-top: 10px !important; }

@media screen and (max-width: 640px) {
	.wmm-app { font-size: 16px; }
	.wmm-card { padding: 18px 16px; border-radius: 16px; }
	.wmm-app .wmm-title { font-size: 1.45em; }
	.wmm-grid, .wmm-two { grid-template-columns: 1fr; }
	.wmm-hide-sm { display: none !important; }
	.wmm-dash-in { flex-direction: column-reverse; }
	.wmm-streak { flex-direction: row; gap: 8px; padding: 8px 14px; min-width: 0; }
	.wmm-streak strong { font-size: 1.2em; }
	.wmm-sec-head { flex-direction: column; gap: 8px; }
	.wmm-stepb { font-size: 0; gap: 0; padding: 4px !important; }
	.wmm-stepb span { font-size: 13px; }
	.wmm-stepb.wmm-on { font-size: 13px; gap: 6px; padding: 4px 10px 4px 4px !important; }
	.wmm-tank { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.wmm-copy { flex-direction: column; }
	.wmm-nav .wmm-btn.wmm-lg { flex: 1; justify-content: center; }
}

@media print {
	@page { size: letter; margin: 0.55in; }
	.wmm-app, .wmm-app * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
	.wmm-print-doc .wmm-app { font-size: 12.5px; }
	.wmm-noprint { display: none !important; }
	.wmm-printing .wmm-card { box-shadow: none; border: 0; padding: 0; }
	.wmm-printing .wmm-sum-b, .wmm-printing .wmm-ap { break-inside: avoid; }
	.wmm-printing .wmm-two { grid-template-columns: 1fr 1fr; }
	.wmm-printing .wmm-ap { padding: 5px 0; }
	.wmm-printing .wmm-ap p { margin-bottom: 2px; }
	.wmm-printing .wmm-lines-4 { min-height: 6.3em; }
	.wmm-printing .wmm-lines { line-height: 1.9; }
}
