/* DC Wiki — Design Corner knowledge base. Educational, documentation-style. Manrope. */
.dcw {
	--dcw-ink: #0a0a0a;
	--dcw-text: #262626;
	--dcw-muted: #5c5c5c;
	--dcw-faint: #8a8a8a;
	--dcw-line: #e6e6e6;
	--dcw-soft: #f7f7f5;
	--dcw-bg: #ffffff;
	--dcw-accent: #fcd600;
	--dcw-accent-soft: #fff8cc;
	--dcw-accent-ink: #6b5900;
	--dcw-radius: 8px;
	font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--dcw-text);
	-webkit-font-smoothing: antialiased;
}
.dcw *, .dcw *::before, .dcw *::after { box-sizing: border-box; }
.dcw a { color: inherit; }
.dcw h1, .dcw h2, .dcw h3 { color: var(--dcw-ink); letter-spacing: -0.01em; }
.dcw-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Page header (left-aligned, quiet) */
.dcw-hero { background: var(--dcw-soft); border-bottom: 1px solid var(--dcw-line); }
.dcw-hero-inner { max-width: 1120px; margin: 0 auto; padding: 40px 20px 32px; }
.dcw-hero h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin: 6px 0 8px; }
.dcw-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); }
.dcw-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--dcw-accent); }
.dcw-eyebrow a { text-decoration: none; }
.dcw-eyebrow a:hover { color: var(--dcw-ink); }
.dcw-lead { color: var(--dcw-muted); margin: 0 0 20px; max-width: 640px; font-size: .95rem; }
.dcw-stats { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .82rem; color: var(--dcw-muted); }
.dcw-stats strong { color: var(--dcw-ink); font-weight: 700; }

/* Search */
.dcw-search { position: relative; max-width: 620px; }
.dcw-search input[type="search"] {
	width: 100%; font: inherit; font-size: .92rem; padding: 12px 16px 12px 42px; -webkit-appearance: none; appearance: none;
	border: 1px solid #d4d4d4; border-radius: var(--dcw-radius);
	background: var(--dcw-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235f6774' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px center;
	color: var(--dcw-ink); outline: none; transition: border-color .15s, box-shadow .15s;
}
.dcw-search input[type="search"]:focus { border-color: var(--dcw-ink); box-shadow: 0 0 0 3px rgba(252, 214, 0, .45); }
.dcw-search-hint { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .72rem; color: var(--dcw-faint); border: 1px solid var(--dcw-line); border-radius: 4px; padding: 1px 6px; pointer-events: none; }
.dcw-results { position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; right: 0; max-height: 70vh; overflow: auto; background: var(--dcw-bg); border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); box-shadow: 0 12px 32px rgba(0, 0, 0, .12); padding: 6px; }
.dcw-results h3 { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dcw-faint); margin: 8px 10px 4px; font-weight: 700; }
.dcw-results a { display: block; padding: 8px 10px; border-radius: 6px; text-decoration: none; }
.dcw-results a:hover, .dcw-results a[aria-selected="true"] { background: var(--dcw-soft); }
.dcw-results strong { display: block; font-weight: 600; font-size: .9rem; color: var(--dcw-ink); }
.dcw-results mark { background: var(--dcw-accent-soft); color: inherit; padding: 0 1px; }
.dcw-results small { display: block; color: var(--dcw-muted); font-size: .8rem; line-height: 1.5; }
.dcw-results .dcw-none { padding: 10px; color: var(--dcw-muted); margin: 0; font-size: .85rem; }

/* A–Z index bar */
.dcw-az { position: sticky; top: var(--dcw-sticky-top, 0px); z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--dcw-line); }
.dcw-az ul { list-style: none; display: flex; gap: 2px; margin: 0 auto; padding: 8px 20px; max-width: 1120px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.dcw-az ul::-webkit-scrollbar { display: none; }
.dcw-az li { flex: 0 0 auto; }
.dcw-az a, .dcw-az span { display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 5px; font-weight: 600; font-size: .78rem; text-decoration: none; color: var(--dcw-text); }
.dcw-az a:hover { background: var(--dcw-soft); color: var(--dcw-ink); }
.dcw-az a[aria-current="page"] { background: var(--dcw-ink); color: #fff; }
.dcw-az .dcw-az-empty { color: #c9cdd4; }

/* Glossary list: two columns of compact entries */
.dcw-glossary-body { padding-top: 28px; padding-bottom: 8px; }
.dcw-group { margin-bottom: 36px; scroll-margin-top: 90px; }
.dcw-group-head { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid var(--dcw-line); padding-bottom: 8px; margin: 0 0 4px; }
.dcw-group-letter { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--dcw-ink); }
.dcw-group-count { font-size: .75rem; color: var(--dcw-faint); }
.dcw-list { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.dcw-item { padding: 12px 0; border-bottom: 1px solid var(--dcw-line); }
.dcw-item dt a { font-weight: 700; font-size: .92rem; color: var(--dcw-ink); text-decoration: none; }
.dcw-item dt a:hover { text-decoration: underline; text-decoration-color: var(--dcw-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dcw-item dd { margin: 2px 0 0; color: var(--dcw-muted); font-size: .84rem; line-height: 1.55; }
.dcw-topic-tag { display: inline-block; font-size: .68rem; font-weight: 600; color: var(--dcw-faint); margin-left: 6px; }
@media (max-width: 760px) { .dcw-list { grid-template-columns: 1fr; } }

/* Breadcrumbs */
.dcw-crumbs { font-size: .78rem; color: var(--dcw-faint); margin: 0 0 10px; }
.dcw-crumbs a { text-decoration: none; color: var(--dcw-muted); }
.dcw-crumbs a:hover { color: var(--dcw-ink); text-decoration: underline; }
.dcw-crumbs span { margin: 0 6px; }

/* Term & guide layout: article + sidebar */
.dcw-doc { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; padding: 36px 0 24px; align-items: start; }
.dcw-doc-main { min-width: 0; max-width: 720px; }
.dcw-doc-side { position: sticky; top: calc(var(--dcw-sticky-top, 0px) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) { .dcw-doc { grid-template-columns: 1fr; gap: 28px; } .dcw-doc-side { position: static; } }

.dcw-article h1 { font-size: 1.9rem; font-weight: 800; line-height: 1.2; margin: 4px 0 6px; }
.dcw-aka { color: var(--dcw-muted); margin: 0 0 18px; font-size: .85rem; }
.dcw-aka b { font-weight: 600; color: var(--dcw-text); }
.dcw-meta-row { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; color: var(--dcw-faint); margin: 0 0 22px; }
.dcw-definition { border: 1px solid var(--dcw-line); border-left: 3px solid var(--dcw-accent); border-radius: 0 var(--dcw-radius) var(--dcw-radius) 0; background: var(--dcw-bg); padding: 14px 18px; margin: 0 0 28px; font-size: .98rem; color: var(--dcw-ink); }
.dcw-definition .dcw-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); margin-bottom: 4px; }

.dcw-content { font-size: .95rem; }
.dcw-content h2 { font-size: 1.08rem; font-weight: 700; margin: 30px 0 8px; padding-top: 2px; scroll-margin-top: 100px; }
.dcw-content h3 { font-size: .98rem; font-weight: 700; margin: 24px 0 6px; }
.dcw-content p { margin: 0 0 14px; }
.dcw-content ul, .dcw-content ol { padding-left: 20px; margin: 0 0 14px; }
.dcw-content li { margin-bottom: 4px; }
.dcw-content a:not(.dcw-term) { color: var(--dcw-ink); text-decoration: underline; text-decoration-color: var(--dcw-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.dcw-content code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; background: var(--dcw-soft); border: 1px solid var(--dcw-line); border-radius: 4px; padding: 1px 5px; }
.dcw-content blockquote { margin: 18px 0; padding: 2px 16px; border-left: 3px solid var(--dcw-line); color: var(--dcw-muted); }

/* Tip callout (wraps the "Design Corner tip" section) */
.dcw-callout { display: flex; gap: 12px; background: var(--dcw-accent-soft); border: 1px solid #f1e3a0; border-radius: var(--dcw-radius); padding: 14px 16px; margin: 26px 0 8px; }
.dcw-callout-icon { flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--dcw-ink); color: var(--dcw-accent); display: grid; place-items: center; font-size: .75rem; font-weight: 800; margin-top: 1px; }
.dcw-callout h2 { margin: 0 0 2px !important; font-size: .78rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--dcw-accent-ink) !important; }
.dcw-callout p { margin: 0 !important; color: var(--dcw-ink); font-size: .92rem; }

/* Sidebar panels */
.dcw-panel { border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); background: var(--dcw-bg); padding: 16px; }
.dcw-panel h2, .dcw-panel h3 { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); margin: 0 0 10px; }
.dcw-panel ul { list-style: none; margin: 0; padding: 0; }
.dcw-panel li { padding: 5px 0; border-bottom: 1px solid var(--dcw-soft); font-size: .86rem; line-height: 1.45; }
.dcw-panel li:last-child { border-bottom: 0; }
.dcw-panel li a { text-decoration: none; color: var(--dcw-ink); font-weight: 600; }
.dcw-panel li a:hover { text-decoration: underline; text-decoration-color: var(--dcw-accent); text-decoration-thickness: 2px; }
.dcw-panel li small { display: block; color: var(--dcw-muted); font-size: .76rem; font-weight: 400; }
.dcw-toc a { font-weight: 500 !important; color: var(--dcw-muted) !important; }
.dcw-toc a.is-active { color: var(--dcw-ink) !important; font-weight: 700 !important; }
.dcw-mini-az { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dcw-mini-az a, .dcw-mini-az span { display: grid; place-items: center; height: 26px; border-radius: 4px; font-size: .72rem; font-weight: 700; text-decoration: none; background: var(--dcw-soft); color: var(--dcw-text); }
.dcw-mini-az a:hover { background: var(--dcw-ink); color: #fff; }
.dcw-mini-az span { color: #c9cdd4; background: transparent; }
.dcw-panel-cta { background: var(--dcw-ink); border-color: var(--dcw-ink); color: #e5e5e5; }
.dcw-panel-cta h3 { color: var(--dcw-accent); }
.dcw-panel-cta p { margin: 0 0 12px; font-size: .84rem; line-height: 1.55; }

/* Chips & cards */
.dcw-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.dcw-chips a { display: inline-block; padding: 4px 10px; border: 1px solid var(--dcw-line); border-radius: 999px; text-decoration: none; font-size: .78rem; font-weight: 600; background: var(--dcw-bg); color: var(--dcw-text); }
.dcw-chips a:hover, .dcw-chips a[aria-current="page"] { border-color: var(--dcw-ink); color: var(--dcw-ink); }
.dcw-chips span { color: var(--dcw-faint); font-weight: 500; }
.dcw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.dcw-card { display: block; padding: 16px 18px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; background: var(--dcw-bg); transition: border-color .15s, box-shadow .15s; }
.dcw-card:hover { border-color: #c4c9d1; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.dcw-card h2 { font-size: .95rem; font-weight: 700; margin: 6px 0 4px; line-height: 1.35; }
.dcw-card p { color: var(--dcw-muted); font-size: .83rem; margin: 0; line-height: 1.55; }
.dcw-badge { display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--dcw-muted); }
.dcw-section-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); margin: 32px 0 12px; }
.dcw-topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.dcw-topic-card { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--dcw-ink); background: var(--dcw-bg); }
.dcw-topic-card span { color: var(--dcw-faint); font-weight: 500; font-size: .76rem; }
.dcw-topic-card:hover { border-color: var(--dcw-ink); }
.dcw-glossary-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; margin: 28px 0 0; border-radius: var(--dcw-radius); background: var(--dcw-ink); color: #fff !important; text-decoration: none; }
.dcw-glossary-card strong { display: block; font-size: .95rem; color: #fff; }
.dcw-glossary-card span { color: #b7bdc7; font-size: .82rem; }
.dcw-glossary-card em { font-style: normal; color: var(--dcw-accent); font-weight: 700; font-size: .85rem; white-space: nowrap; }

/* CTA band */
.dcw-cta { max-width: 1120px; margin: 40px auto 0; padding: 0 20px; }
.dcw-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); padding: 20px 22px; background: var(--dcw-soft); }
.dcw-cta h2 { margin: 0 0 2px; font-size: 1rem; }
.dcw-cta p { color: var(--dcw-muted); margin: 0; font-size: .86rem; }
.dcw-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--dcw-accent); color: var(--dcw-ink) !important; padding: 9px 16px; border-radius: 6px; font-weight: 700; font-size: .85rem; text-decoration: none; border: 1px solid #e8c500; white-space: nowrap; }
.dcw-btn:hover { background: #ffdf2e; }
.dcw-btn svg { width: 16px; height: 16px; }
.dcw-meta { margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--dcw-line); color: var(--dcw-faint); font-size: .78rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.dcw-meta a { color: var(--dcw-muted); }
.dcw-empty { color: var(--dcw-muted); padding: 40px 0; font-size: .9rem; }

/* Pagination */
.dcw .nav-links { display: flex; gap: 4px; margin: 28px 0; flex-wrap: wrap; }
.dcw .page-numbers { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 10px; border: 1px solid var(--dcw-line); border-radius: 6px; text-decoration: none; font-weight: 600; font-size: .82rem; }
.dcw .page-numbers.current { background: var(--dcw-ink); color: #fff; border-color: var(--dcw-ink); }

/* Auto-linked terms + tooltip (also on blog posts outside .dcw) */
a.dcw-term { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: #b8a000; cursor: help; }
a.dcw-term:hover { text-decoration-style: solid; text-decoration-color: #fcd600; }
.dcw-tip { position: absolute; z-index: 9999; max-width: 280px; padding: 9px 12px; border-radius: 6px; background: #000; color: #f5f5f5; font: 400 .8rem/1.5 "Manrope", system-ui, sans-serif; box-shadow: 0 10px 28px rgba(0,0,0,.22); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .12s, transform .12s; }
.dcw-tip.is-on { opacity: 1; transform: none; }
.dcw-tip small { display: block; margin-top: 3px; color: #fcd600; font-weight: 700; }

@media (max-width: 600px) {
	.dcw { font-size: 14.5px; }
	.dcw-hero-inner { padding: 28px 20px 24px; }
	.dcw-hero h1, .dcw-article h1 { font-size: 1.5rem; }
	.dcw-cards { grid-template-columns: 1fr; }
	.dcw-search-hint { display: none; }
}

/* ===== Guides ===== */
.dcw-single-guide h1 { font-size: 1.85rem; font-weight: 700; line-height: 1.2; margin: 6px 0 8px; }
.dcw-guide-lead { font-size: 1rem; margin-bottom: 14px; }
.dcw-guide-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; color: var(--dcw-muted); margin: 0 0 22px; }
.dcw-guide-facts > span:not(.dcw-level):not(.dcw-done-flag)::before { content: "•"; margin-right: 14px; color: var(--dcw-line); }
.dcw-guide-facts > .dcw-level + span::before { display: none; }
.dcw-guide-facts a { color: var(--dcw-muted); text-decoration: underline; text-decoration-color: var(--dcw-line); }
.dcw-level { display: inline-block; font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: #e8f5ee; color: #1f6b43; }
.dcw-level-intermediate { background: #fff3d6; color: #7a5300; }
.dcw-level-advanced { background: #fde8e8; color: #9b1c1c; }
.dcw-need { background: var(--dcw-soft); border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); padding: 14px 18px; margin: 0 0 26px; }
.dcw-need .dcw-label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); margin-bottom: 6px; }
.dcw-need ul { margin: 0; padding-left: 18px; font-size: .9rem; }
.dcw-need li { margin: 2px 0; }
.dcw-guide-intro { font-size: .98rem; color: var(--dcw-ink); }

.dcw-content ol.dcw-steps { list-style: none; padding: 0; margin: 26px 0 8px; counter-reset: none; }
.dcw-step { position: relative; padding: 0 0 22px 46px; margin: 0 !important; }
.dcw-step::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 2px; background: var(--dcw-line); }
.dcw-step:last-child::before { display: none; }
.dcw-content .dcw-step h2 { margin: 0 0 6px; padding-top: 4px; font-size: 1.04rem; }
.dcw-step-num { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--dcw-ink); color: var(--dcw-accent); display: grid; place-items: center; font-size: .82rem; font-weight: 800; }
.dcw-step p { margin: 0 0 10px; }
.dcw-note { font-size: .88rem; border-radius: 6px; padding: 10px 14px; margin: 8px 0 10px !important; line-height: 1.6; }
.dcw-note strong { font-weight: 700; color: var(--dcw-ink); }
.dcw-note-tip { background: var(--dcw-accent-soft); border-left: 3px solid var(--dcw-accent); }
.dcw-note-warn { background: #fdf0ef; border-left: 3px solid #d64545; }

.dcw-content ul.dcw-mistakes { list-style: none; padding: 0; }
.dcw-mistakes li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid var(--dcw-soft); margin: 0; }
.dcw-mistakes li::before { content: "✕"; position: absolute; left: 2px; top: 6px; color: #d64545; font-weight: 800; font-size: .8rem; }
.dcw-faq details { border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); margin: 0 0 8px; background: var(--dcw-bg); }
.dcw-faq summary { cursor: pointer; list-style: none; padding: 12px 40px 12px 16px; font-weight: 600; color: var(--dcw-ink); position: relative; font-size: .92rem; }
.dcw-faq summary::-webkit-details-marker { display: none; }
.dcw-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; color: var(--dcw-muted); }
.dcw-faq details[open] summary::after { content: "–"; }
.dcw-faq details p { margin: 0 !important; padding: 0 16px 14px; color: var(--dcw-text); font-size: .9rem; }

.dcw-complete { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 30px 0 0; padding: 18px 0 0; border-top: 1px solid var(--dcw-line); }
.dcw-complete-btn { font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--dcw-ink); background: var(--dcw-bg); color: var(--dcw-ink); }
.dcw-complete-btn:hover { background: var(--dcw-soft); }
.dcw-complete-btn .dcw-complete-on, .dcw-complete-btn.is-done .dcw-complete-off { display: none; }
.dcw-complete-btn.is-done .dcw-complete-on { display: inline; }
.dcw-complete-btn.is-done { background: #e8f5ee; border-color: #1f6b43; color: #1f6b43; }
.dcw-complete-note { font-size: .76rem; color: var(--dcw-faint); }

.dcw-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 0; }
.dcw-pager a { display: block; padding: 12px 16px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; color: var(--dcw-ink); font-weight: 600; font-size: .88rem; line-height: 1.4; }
.dcw-pager a:hover { border-color: var(--dcw-ink); }
.dcw-pager small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dcw-muted); margin-bottom: 2px; }
.dcw-pager-next { text-align: right; grid-column: 2; }

.dcw-progress { display: block; height: 6px; background: var(--dcw-line); border-radius: 3px; overflow: hidden; }
.dcw-progress-bar { display: block; height: 100%; width: 0; background: var(--dcw-accent); transition: width .3s; }
.dcw-progress-text { display: block; font-size: .74rem; color: var(--dcw-muted); margin: 6px 0 0; }
.dcw-path-panel .dcw-progress-text { margin-bottom: 8px; }
.dcw-path-list { list-style: none; margin: 0; padding: 0; counter-reset: dcwp; }
.dcw-path-panel li { counter-increment: dcwp; position: relative; padding-left: 26px !important; }
.dcw-path-panel li::before { content: counter(dcwp); position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--dcw-line); font-size: .66rem; font-weight: 700; display: grid; place-items: center; color: var(--dcw-muted); background: var(--dcw-bg); }
.dcw-path-panel li.is-done::before { content: "✓"; background: #1f6b43; border-color: #1f6b43; color: #fff; }
.dcw-path-panel li.is-current a { color: var(--dcw-ink); font-weight: 800; }
.dcw-path-panel li.is-current::before { border-color: var(--dcw-ink); color: var(--dcw-ink); }
.dcw-path-panel li a { font-weight: 500; color: var(--dcw-text); }
@media (max-width: 960px) { .dcw-toc { display: none !important; } }
@media (max-width: 600px) { .dcw-single-guide h1 { font-size: 1.5rem; } .dcw-pager { grid-template-columns: 1fr; } .dcw-pager-next { grid-column: 1; } .dcw-step { padding-left: 42px; } }

/* Path page */
.dcw-path-progress { max-width: 420px; margin-top: 18px; }
.dcw-path-steps { list-style: none; margin: 32px 0 24px; padding: 0; max-width: 780px; }
.dcw-path-steps > li { position: relative; padding: 0 0 14px 50px; }
.dcw-path-steps > li::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 0; width: 2px; background: var(--dcw-line); }
.dcw-path-steps > li:last-child::before { display: none; }
.dcw-path-num { position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: var(--dcw-bg); border: 2px solid var(--dcw-ink); color: var(--dcw-ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.dcw-path-steps li.is-done .dcw-path-num { background: #1f6b43; border-color: #1f6b43; color: #fff; font-size: 0; }
.dcw-path-steps li.is-done .dcw-path-num::after { content: "✓"; font-size: .9rem; }
.dcw-path-card { display: block; padding: 14px 18px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; background: var(--dcw-bg); transition: border-color .15s, box-shadow .15s; }
.dcw-path-card:hover { border-color: var(--dcw-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.dcw-path-card strong { display: block; color: var(--dcw-ink); font-size: .98rem; line-height: 1.35; }
.dcw-path-desc { display: block; color: var(--dcw-muted); font-size: .85rem; line-height: 1.55; margin: 4px 0 8px; }
.dcw-path-card .dcw-guide-facts { margin: 0; }
.dcw-done-flag { display: none; color: #1f6b43; font-weight: 700; }
li.is-done .dcw-done-flag { display: inline; }

/* Paths on the knowledge base home */
.dcw-section-sub { margin: -6px 0 14px; color: var(--dcw-muted); font-size: .88rem; }
.dcw-path-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.dcw-path-tile { display: flex; flex-direction: column; padding: 18px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; background: var(--dcw-bg); transition: border-color .15s, box-shadow .15s; }
.dcw-path-tile:hover { border-color: var(--dcw-ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.dcw-path-tile-num { font-size: .72rem; font-weight: 800; color: var(--dcw-accent-ink); background: var(--dcw-accent-soft); align-self: flex-start; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; }
.dcw-path-tile strong { color: var(--dcw-ink); font-size: 1rem; line-height: 1.35; }
.dcw-path-tile .dcw-path-desc { flex: 1; }
.dcw-path-meta { font-size: .76rem; font-weight: 600; color: var(--dcw-muted); margin: 0 0 8px; }
.dcw-card-min { float: right; font-size: .72rem; color: var(--dcw-faint); }
.dcw-single-guide .dcw-doc-side { position: static; }

/* ===== Smart search & autocomplete ===== */
.dcw-results h3 { margin-top: 10px; }
.dcw-sugg-list { margin: 0 0 4px; }
.dcw-results a.dcw-sugg { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: .9rem; color: var(--dcw-text); }
.dcw-sugg .dcw-s-ico { flex-shrink: 0; color: var(--dcw-faint); }
.dcw-sugg-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dcw-sugg-text b { font-weight: 800; color: var(--dcw-ink); }
.dcw-sugg em { font-style: normal; font-size: .7rem; font-weight: 600; color: var(--dcw-faint); white-space: nowrap; }
.dcw-results a[aria-selected="true"] { background: var(--dcw-soft); box-shadow: inset 3px 0 0 var(--dcw-accent); }
.dcw-results a.dcw-all { margin-top: 4px; border-top: 1px solid var(--dcw-line); border-radius: 0 0 6px 6px; font-size: .82rem; font-weight: 700; color: var(--dcw-ink); padding: 10px; }
.dcw-didyoumean { margin: 4px 10px 6px; font-size: .8rem; color: var(--dcw-muted); }
.dcw-didyoumean button { font: inherit; font-weight: 700; color: var(--dcw-ink); background: var(--dcw-accent-soft); border: 0; border-radius: 4px; padding: 1px 6px; cursor: pointer; }
.dcw-search-spin { position: absolute; right: 40px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid var(--dcw-line); border-top-color: var(--dcw-ink); border-radius: 50%; opacity: 0; animation: dcw-spin .7s linear infinite; pointer-events: none; transition: opacity .15s; }
.dcw-search.is-loading .dcw-search-spin { opacity: 1; }
@keyframes dcw-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) { .dcw-search-spin { right: 14px; } .dcw-results { max-height: 60vh; } }
.dcw-search-meta { margin: 10px 0 0; font-size: .85rem; color: var(--dcw-muted); }
.dcw-search-meta a { font-weight: 700; color: var(--dcw-ink); }
.dcw-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a0a0a' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center/14px no-repeat; }
.dcw-search.is-loading input[type="search"]::-webkit-search-cancel-button { visibility: hidden; }
.dcw-search input[type="search"]:not(:placeholder-shown) ~ .dcw-search-hint { display: none; }

/* ===== Home: live hero ===== */
.dcw-hero-live { position: relative; overflow: hidden; text-align: center; padding: 64px 20px 76px; border-bottom: 1px solid var(--dcw-line);
	background: linear-gradient(180deg, #cfe6ff 0%, #e8f3ff 45%, #ffffff 100%); transition: background .6s; }
.dcw-hero-live[data-period="morning"] { background: linear-gradient(180deg, #fff1a8 0%, #fff8dc 42%, #ffffff 100%); }
.dcw-hero-live[data-period="afternoon"] { background: linear-gradient(180deg, #bcdcff 0%, #e3f1ff 45%, #ffffff 100%); }
.dcw-hero-live[data-period="evening"] { background: linear-gradient(180deg, #ffcfa8 0%, #ffe6d3 45%, #ffffff 100%); }
.dcw-hero-live[data-weather="cloudy"], .dcw-hero-live[data-weather="fog"] { background: linear-gradient(180deg, #d9e0e8 0%, #eef2f6 48%, #ffffff 100%); }
.dcw-hero-live[data-weather="rain"], .dcw-hero-live[data-weather="drizzle"] { background: linear-gradient(180deg, #b9c6d4 0%, #dde5ee 48%, #ffffff 100%); }
.dcw-hero-live[data-weather="storm"] { background: linear-gradient(180deg, #8d9aab 0%, #c9d2dd 50%, #ffffff 100%); }
.dcw-hero-live[data-period="night"] { background: linear-gradient(180deg, #04060c 0%, #0c1222 55%, #141b2e 100%); border-bottom-color: #1f2638; }
.dcw-hero-live[data-weather="sunny"]::before { content: ""; position: absolute; top: -160px; right: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 214, 0, .45), rgba(252, 214, 0, 0) 65%); pointer-events: none; }
.dcw-hero-sky { position: absolute; inset: 0; pointer-events: none; }
.dcw-rain { position: absolute; inset: -40px 0 0; opacity: 0; background: repeating-linear-gradient(105deg, transparent 0 26px, rgba(255, 255, 255, .55) 26px 27px); animation: dcw-rain .7s linear infinite; transition: opacity .6s; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%); mask-image: linear-gradient(180deg, #000 0%, transparent 75%); }
.dcw-hero-live[data-weather="rain"] .dcw-rain, .dcw-hero-live[data-weather="storm"] .dcw-rain { opacity: .55; }
.dcw-hero-live[data-weather="drizzle"] .dcw-rain { opacity: .3; }
@keyframes dcw-rain { to { transform: translate(-10px, 40px); } }

.dcw-hero-center { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.dcw-live-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 23, 42, .08); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dcw-ink); backdrop-filter: blur(6px); }
.dcw-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: dcw-pulse 2s infinite; }
@keyframes dcw-pulse { 70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.dcw-hero-live .dcw-greeting { font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.06; margin: 18px auto 14px; color: var(--dcw-ink); max-width: 760px; text-wrap: balance; }
.dcw-greeting-sub { font-size: 1.04rem; line-height: 1.6; color: #3a4250; max-width: 560px; margin: 0 auto; text-wrap: balance; }
.dcw-hero-live .dcw-search { margin: 30px auto 0; max-width: 640px; text-align: left; }
.dcw-search.has-button input[type="search"] { padding: 18px 130px 18px 48px; font-size: 1rem; border-radius: 12px; border-color: #cfdae6; box-shadow: 0 12px 34px rgba(15, 23, 42, .09); background-position: 18px center; }
.dcw-search.has-button .dcw-search-hint { display: none; }
.dcw-search.has-button .dcw-search-spin { right: 128px; }
.dcw-search-go { position: absolute; top: 7px; right: 7px; bottom: 7px; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border: 0; border-radius: 9px; background: #0a0a0a; color: #fff; font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.dcw-search-go svg { color: var(--dcw-accent); }
.dcw-search-go:hover { background: #262626; }
.dcw-try { margin: 16px 0 0; font-size: .8rem; color: var(--dcw-muted); }
.dcw-try button { font: inherit; font-size: .78rem; margin: 3px 2px; padding: 4px 11px; border-radius: 999px; border: 1px solid rgba(15, 23, 42, .1); background: rgba(255, 255, 255, .7); color: var(--dcw-ink); cursor: pointer; }
.dcw-try button:hover { background: var(--dcw-accent); border-color: var(--dcw-accent); }

/* Topic bubbles around the search, joined by thin lines */
.dcw-hero-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.dcw-hero-lines path { fill: none; stroke: rgba(15, 23, 42, .13); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dcw-bubbles { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dcw-bubble { position: absolute; transform: translate(-50%, -50%); animation: dcw-float 6s ease-in-out infinite; }
.dcw-bubble a { pointer-events: auto; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fff; color: var(--dcw-ink); border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 10px 26px rgba(15, 23, 42, .1); transition: background .15s, transform .15s; }
.dcw-bubble a:hover { background: var(--dcw-accent); transform: scale(1.06); }
.dcw-bubble-1 { left: 12%; top: 13%; } .dcw-bubble-2 { left: 21%; top: 57%; animation-delay: -2s; } .dcw-bubble-3 { left: 14%; top: 92%; animation-delay: -4s; }
.dcw-bubble-4 { left: 88%; top: 13%; animation-delay: -1s; } .dcw-bubble-5 { left: 79%; top: 57%; animation-delay: -3s; } .dcw-bubble-6 { left: 86%; top: 92%; animation-delay: -5s; }
@keyframes dcw-float { 50% { margin-top: -6px; } }
@media (max-width: 960px) { .dcw-bubbles, .dcw-hero-lines { display: none; } }
@media (prefers-reduced-motion: reduce) { .dcw-bubble, .dcw-rain, .dcw-live-dot { animation: none; } }

/* Night */
.dcw-hero-live[data-period="night"] .dcw-greeting { color: #fff; }
.dcw-hero-live[data-period="night"] .dcw-greeting-sub, .dcw-hero-live[data-period="night"] .dcw-try { color: #b7c0cf; }
.dcw-hero-live[data-period="night"] .dcw-live-chip { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); color: #e5e7eb; }
.dcw-hero-live[data-period="night"] .dcw-try button { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #e5e7eb; }
.dcw-hero-live[data-period="night"] .dcw-try button:hover { background: var(--dcw-accent); color: #000; }
.dcw-hero-live[data-period="night"] .dcw-search.has-button input[type="search"] { border-color: transparent; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); }
.dcw-hero-live[data-period="night"] .dcw-hero-lines path { stroke: rgba(255, 255, 255, .12); }
.dcw-hero-live[data-period="night"] .dcw-bubble a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--dcw-accent); box-shadow: none; }
.dcw-hero-live[data-period="night"] .dcw-bubble a:hover { background: var(--dcw-accent); color: #000; }
.dcw-hero-live[data-period="night"]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 33% 8%, rgba(255,255,255,.7), transparent), radial-gradient(1px 1px at 58% 22%, #fff, transparent), radial-gradient(1px 1px at 72% 12%, rgba(255,255,255,.6), transparent), radial-gradient(1.5px 1.5px at 90% 30%, #fff, transparent), radial-gradient(1px 1px at 5% 45%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 46% 40%, rgba(255,255,255,.4), transparent); opacity: .7; }
@media (max-width: 600px) {
	.dcw-hero-live { padding: 40px 16px 48px; }
	.dcw-search.has-button input[type="search"] { padding-right: 60px; }
	.dcw-search-go { padding: 0 14px; } .dcw-search-go span { display: none; }
	.dcw-search.has-button .dcw-search-spin { right: 64px; }
	.dcw-live-chip { font-size: .66rem; }
}

/* ===== Learn something today + Word of the day ===== */
.dcw-today { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 22px; margin: 38px 0 10px; }
.dcw-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.dcw-section-head .dcw-section-title { margin-bottom: 14px; }
.dcw-today-date, .dcw-section-link { font-size: .8rem; color: var(--dcw-muted); }
.dcw-section-link { font-weight: 700; color: var(--dcw-ink); text-decoration: none; }
.dcw-lt-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.dcw-lt-feature { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); text-decoration: none; background: linear-gradient(140deg, #fff8d6 0%, #fffdf3 45%, #fff 100%); transition: border-color .15s, box-shadow .15s; }
.dcw-lt-feature:hover { border-color: var(--dcw-ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .06); }
.dcw-lt-kicker { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); }
.dcw-lt-feature strong { font-size: 1.28rem; line-height: 1.25; color: var(--dcw-ink); letter-spacing: -.01em; }
.dcw-lt-excerpt { color: var(--dcw-text); font-size: .9rem; line-height: 1.6; }
.dcw-lt-feature .dcw-guide-facts { margin: 4px 0 0; }
.dcw-lt-go { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: .86rem; color: var(--dcw-ink); }
.dcw-lt-go { text-decoration: underline; text-decoration-color: var(--dcw-accent); text-decoration-thickness: 3px; text-underline-offset: 4px; align-self: flex-start; }
.dcw-lt-quick { border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); padding: 14px 16px 6px; }
.dcw-lt-quick .dcw-label { display: block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-muted); margin-bottom: 4px; }
.dcw-lt-quick a { display: block; padding: 11px 0; border-top: 1px solid var(--dcw-line); text-decoration: none; }
.dcw-lt-quick a:first-of-type { border-top: 0; }
.dcw-lt-quick strong { display: block; font-size: .9rem; line-height: 1.4; color: var(--dcw-ink); }
.dcw-lt-quick a:hover strong { text-decoration: underline; }
.dcw-lt-quick small { color: var(--dcw-faint); font-size: .75rem; }
.dcw-lt-quick a.is-done strong::after, .dcw-lt-feature.is-done .dcw-done-flag { content: " ✓"; color: #1f6b43; }
.dcw-lt-feature.is-done .dcw-done-flag { display: inline; }

.dcw-wotd { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--dcw-radius); background: #0a0a0a; color: #d4d4d4; }
.dcw-wotd::after { content: ""; position: absolute; right: -70px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(252, 214, 0, .13); pointer-events: none; }
.dcw-wotd-kicker { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--dcw-accent); }
.dcw-wotd h2 { margin: 2px 0 0; font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.dcw-wotd h2 a { color: #fff; text-decoration: none; }
.dcw-wotd h2 a:hover { color: var(--dcw-accent); }
.dcw-wotd-aka { margin: -4px 0 0; font-size: .8rem; color: #a3a3a3; }
.dcw-wotd-def { margin: 0; font-size: .95rem; line-height: 1.6; color: #f5f5f5; }
.dcw-wotd-topic { align-self: flex-start; font-size: .72rem; font-weight: 600; color: #d4d4d4; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: 2px 10px; text-decoration: none; }
.dcw-wotd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dcw-wotd-btn, .dcw-wotd-share { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 6px; font-size: .82rem; font-weight: 700; text-decoration: none; }
.dcw-wotd-btn { background: var(--dcw-accent); color: #000; }
.dcw-wotd-btn:hover { background: #ffe14d; }
.dcw-wotd-share { border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.dcw-wotd-share:hover { border-color: #25d366; color: #25d366; }
.dcw-wotd-all { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: #a3a3a3; text-decoration: none; }
.dcw-wotd-all:hover { color: #fff; }
@media (max-width: 960px) { .dcw-today { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dcw-lt-grid { grid-template-columns: 1fr; } .dcw-lt-feature strong { font-size: 1.12rem; } }

/* ===== Learn page ===== */
.dcw-learn-list { display: grid; gap: 16px; margin: 30px 0 40px; }
.dcw-learn-path { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; padding: 22px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); }
.dcw-learn-head h2 { margin: 10px 0 6px; font-size: 1.15rem; }
.dcw-learn-head h2 a { color: var(--dcw-ink); text-decoration: none; }
.dcw-learn-head p { margin: 0 0 14px; font-size: .86rem; color: var(--dcw-muted); line-height: 1.6; }
.dcw-learn-start { display: inline-block; margin-top: 10px; font-size: .84rem; font-weight: 800; color: var(--dcw-ink); text-decoration: none; }
.dcw-learn-guides { margin: 0; padding: 0; list-style: none; counter-reset: dcwl; }
.dcw-learn-guides li { counter-increment: dcwl; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--dcw-soft); font-size: .88rem; }
.dcw-learn-guides li::before { content: counter(dcwl); flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1px solid var(--dcw-line); font-size: .66rem; font-weight: 700; display: grid; place-items: center; color: var(--dcw-muted); }
.dcw-learn-guides li.is-done::before { content: "✓"; background: #1f6b43; border-color: #1f6b43; color: #fff; }
.dcw-learn-guides a { flex: 1; color: var(--dcw-text); text-decoration: none; }
.dcw-learn-guides a:hover { color: var(--dcw-ink); text-decoration: underline; }
.dcw-learn-guides small { color: var(--dcw-faint); font-size: .74rem; white-space: nowrap; }
@media (max-width: 800px) { .dcw-learn-path { grid-template-columns: 1fr; gap: 12px; } }

/* ===== Glossary topics ===== */
.dcw-gtopics { margin: 26px 0 4px; padding: 18px 20px 14px; border: 1px solid var(--dcw-line); border-radius: var(--dcw-radius); background: var(--dcw-bg); }
.dcw-gtopics-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dcw-gtopics-head .dcw-label { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dcw-ink); }
.dcw-gtopics-clear { font-size: .78rem; font-weight: 700; color: var(--dcw-ink); text-decoration: none; padding: 3px 10px; border-radius: 999px; background: var(--dcw-accent); }
.dcw-gtopics-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px 0; border-top: 1px solid var(--dcw-soft); }
.dcw-gtopics-row:first-of-type { border-top: 0; }
.dcw-gtopics-group { font-size: .76rem; font-weight: 700; color: var(--dcw-muted); padding-top: 6px; }
.dcw-gtopics .dcw-chips { margin: 0; }
.dcw-gtopics .dcw-chips a { font-size: .78rem; padding: 5px 11px; transition: border-color .15s, background .15s; }
.dcw-gtopics .dcw-chips a:hover { border-color: var(--dcw-ink); color: var(--dcw-ink); }
.dcw-gtopics .dcw-chips a span { color: var(--dcw-faint); font-weight: 500; margin-left: 2px; }
.dcw-gtopics .dcw-chips a[aria-current="page"] { background: var(--dcw-ink); border-color: var(--dcw-ink); color: #fff; }
.dcw-gtopics .dcw-chips a[aria-current="page"] span { color: var(--dcw-accent); }
@media (max-width: 700px) {
	.dcw-gtopics { padding: 14px 14px 10px; }
	.dcw-gtopics-row { grid-template-columns: 1fr; gap: 6px; }
	.dcw-gtopics-group { padding-top: 0; }
	.dcw-gtopics .dcw-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-right: -14px; padding-right: 14px; }
	.dcw-gtopics .dcw-chips::-webkit-scrollbar { display: none; }
	.dcw-gtopics .dcw-chips li { flex: 0 0 auto; }
}
.dcw-az-local .dcw-az-inner { display: flex; gap: 2px; margin: 0 auto; padding: 8px 20px; max-width: 1120px; overflow-x: auto; scrollbar-width: none; }
.dcw-related-topics { margin: 18px 0 0; font-size: .82rem; color: var(--dcw-muted); }
.dcw-related-topics span { font-weight: 700; color: var(--dcw-ink); margin-right: 4px; }
.dcw-related-topics a { display: inline-block; margin: 3px 2px; padding: 3px 10px; border: 1px solid var(--dcw-line); border-radius: 999px; color: var(--dcw-text); text-decoration: none; font-weight: 600; font-size: .76rem; }
.dcw-related-topics a:hover { border-color: var(--dcw-ink); }
.dcw-term-topics { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 0; }
.dcw-term-topics a { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--dcw-soft); border: 1px solid var(--dcw-line); font-size: .74rem; font-weight: 600; color: var(--dcw-text); text-decoration: none; }
.dcw-term-topics a:hover { border-color: var(--dcw-ink); color: var(--dcw-ink); }
.dcw .dcw-wotd a.dcw-wotd-btn, .dcw .dcw-wotd a.dcw-wotd-btn:hover { color: #000; }
.dcw .dcw-wotd a.dcw-wotd-share { color: #fff; }
.dcw .dcw-wotd a.dcw-wotd-share:hover { color: #25d366; }
/* Fact heading */
.dcw-hero-live .dcw-greeting.is-long { font-size: clamp(1.7rem, 3.6vw, 2.75rem); max-width: 860px; }
.dcw-hero-live .dcw-greeting { transition: opacity .16s; }
.dcw-hero-live .dcw-greeting.is-swapping { opacity: 0; }
.dcw-fact-meta { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 0; font-size: .74rem; color: var(--dcw-faint); }
.dcw-fact-src:empty { display: none; }
.dcw-next { font: inherit; font-size: .74rem; font-weight: 700; color: var(--dcw-ink); background: rgba(255, 255, 255, .6); border: 1px solid rgba(15, 23, 42, .1); border-radius: 999px; padding: 3px 10px; cursor: pointer; }
.dcw-next:hover { background: var(--dcw-accent); border-color: var(--dcw-accent); }
.dcw-hero-live[data-period="night"] .dcw-fact-meta { color: #8b95a7; }
.dcw-hero-live[data-period="night"] .dcw-next { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e5e7eb; }
.dcw-hero-live[data-kind="onthisday"] .dcw-live-dot, .dcw-hero-live[data-kind="fact"] .dcw-live-dot { background: var(--dcw-accent); animation: none; box-shadow: none; }

/* =====================================================================
   Refinement: lighter, sharper type, smaller scale, cleaner surfaces
   ===================================================================== */
.dcw, .dcw-results, .dcw-tip { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
.dcw h1, .dcw h2, .dcw h3, .dcw strong, .dcw b { font-weight: 600; }
.dcw-hero h1, .dcw-article h1, .dcw-single-guide h1 { font-size: 1.6rem; letter-spacing: -.015em; }
.dcw-lead { font-size: .95rem; }
.dcw-section-title { font-size: .72rem; font-weight: 600; letter-spacing: .09em; }
.dcw-eyebrow, .dcw-label, .dcw-lt-kicker, .dcw-wotd-kicker, .dcw-lt-quick .dcw-label, .dcw-gtopics-head .dcw-label, .dcw-path-tile-num { font-weight: 600; }

/* Home hero */
.dcw-hero-live { padding: 50px 20px 58px; }
.dcw-hero-live .dcw-greeting { font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 2.55rem); letter-spacing: -.028em; line-height: 1.16; margin: 16px auto 10px; max-width: 720px; }
.dcw-hero-live .dcw-greeting.is-long { font-size: clamp(1.45rem, 2.6vw, 2.05rem); max-width: 780px; }
.dcw-greeting-sub { font-size: .94rem; color: #4b5563; max-width: 540px; }
.dcw-live-chip { font-size: .66rem; font-weight: 600; letter-spacing: .07em; padding: 5px 12px; background: rgba(255, 255, 255, .55); border-color: rgba(15, 23, 42, .07); }
.dcw-hero-live .dcw-search { margin-top: 24px; max-width: 600px; }
.dcw-search.has-button input[type="search"] { padding: 15px 120px 15px 46px; font-size: .94rem; border-radius: 10px; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.dcw-search-go { font-weight: 600; font-size: .84rem; padding: 0 16px; border-radius: 7px; top: 6px; right: 6px; bottom: 6px; }
.dcw-try { margin-top: 12px; font-size: .74rem; }
.dcw-try button { font-size: .72rem; font-weight: 500; padding: 3px 10px; background: rgba(255, 255, 255, .5); }
.dcw-fact-meta { font-size: .7rem; margin-top: 8px; }
.dcw-next { font-size: .7rem; font-weight: 600; padding: 2px 9px; }
.dcw-bubble a { width: 44px; height: 44px; box-shadow: 0 6px 16px rgba(15, 23, 42, .07); }
.dcw-bubble svg { width: 18px; height: 18px; }
.dcw-hero-lines path { stroke: rgba(15, 23, 42, .08); }
.dcw-hero-live[data-weather="sunny"]::before { opacity: .45; }
.dcw-hero-live[data-period="night"] .dcw-greeting-sub { color: #aab3c2; }

/* Daily sections */
.dcw-today { gap: 18px; margin-top: 32px; }
.dcw-lt-feature { padding: 20px; gap: 6px; }
.dcw-lt-feature strong { font-size: 1.1rem; letter-spacing: -.005em; }
.dcw-lt-excerpt { font-size: .86rem; }
.dcw-lt-go { font-weight: 600; font-size: .82rem; text-decoration-thickness: 2px; }
.dcw-lt-quick strong { font-size: .86rem; font-weight: 500; color: var(--dcw-ink); }
.dcw-wotd { padding: 22px; gap: 8px; }
.dcw-wotd h2 { font-weight: 600; font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -.015em; }
.dcw-wotd-def { font-size: .9rem; }
.dcw-wotd-btn, .dcw-wotd-share { font-weight: 600; font-size: .78rem; padding: 8px 12px; }
.dcw-wotd::after { border-width: 20px; opacity: .8; }

/* Cards and lists */
.dcw-path-tile strong, .dcw-card h2, .dcw-path-card strong, .dcw-learn-head h2 { font-weight: 600; }
.dcw-path-tile strong { font-size: .95rem; }
.dcw-path-desc { font-size: .82rem; }
.dcw-chips a, .dcw-gtopics .dcw-chips a { font-weight: 500; }
.dcw-results strong { font-weight: 600; }
.dcw-sugg-text b { font-weight: 700; }
.dcw-step-num { font-weight: 700; }
