.cdv-widget,
.cdv-widget * {
box-sizing: border-box;
}
.cdv-widget {
--cdv-bg: #f0eee9;
--cdv-text: #1f2024;
--cdv-muted: rgba(31, 32, 36, 0.62);
--cdv-soft: rgba(31, 32, 36, 0.08);
--cdv-line: rgba(31, 32, 36, 0.16);
--cdv-chip: #dceab7;
--cdv-featured-label: #5b6f4f;
--cdv-tab-active-bg: #dceab7;
--cdv-tab-active-text: #1f2024;
--cdv-tab-hover-bg: #e7eed0;
--cdv-card-overlay: rgba(31, 32, 36, 0.34);
--cdv-callout: #f7f2e8;
--cdv-quote: #e8eef7;
--cdv-keypoint: #eef6ea;
color: var(--cdv-text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cdv-notes-app {
position: relative;
overflow: hidden;
background: var(--cdv-bg);
padding-bottom: 74px;
}
.cdv-page {
width: 100%;
padding: clamp(32px, 5vw, 60px);
}
.cdv-kicker {
margin: 0 0 10px;
color: var(--cdv-muted);
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.82rem;
font-weight: 600;
}
.cdv-title {
margin: 0;
color: var(--cdv-text);
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: clamp(2.8rem, 7vw, 5.8rem);
font-weight: 500;
letter-spacing: 0;
line-height: 0.92;
}
.cdv-featured {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
min-height: clamp(420px, 44vw, 640px);
margin: clamp(28px, 5vw, 54px) calc(clamp(32px, 5vw, 60px) * -1) 0;
border-top: 1px dashed var(--cdv-line);
border-bottom: 1px dashed var(--cdv-line);
}
.cdv-featured-copy {
display: grid;
align-content: space-between;
min-width: 0;
padding: clamp(32px, 5vw, 60px);
}
.cdv-meta-line {
display: flex;
align-items: center;
gap: 14px;
color: var(--cdv-muted);
font-size: 0.95rem;
}
.cdv-meta-line strong {
color: var(--cdv-featured-label);
font-weight: 700;
}
.cdv-featured h2 {
max-width: 880px;
margin: 22px 0 auto;
color: var(--cdv-text);
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: clamp(2.4rem, 5.3vw, 4.6rem);
font-weight: 500;
letter-spacing: 0;
line-height: 1;
}
.cdv-featured-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 22px;
margin-top: 40px;
color: var(--cdv-muted);
font-size: 0.95rem;
}
.cdv-featured-bottom a {
display: grid;
width: 44px;
height: 44px;
place-items: center;
color: var(--cdv-text);
text-decoration: none;
font-size: 2rem;
}
.cdv-featured-image {
min-height: 320px;
background: #d8d8d3;
background-position: center;
background-size: cover;
}
.cdv-tabs {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin: 38px 0 22px;
}
.cdv-tab {
display: inline-flex;
align-items: center;
gap: 6px;
line-height: 1;
min-height: 38px;
padding: 8px 16px;
border: 0;
border-radius: 999px;
background: transparent;
color: rgba(31, 32, 36, 0.62);
cursor: pointer;
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.95rem;
letter-spacing: 0;
transition: background 0.18s ease, color 0.18s ease;
}
.cdv-tab:hover,
.cdv-tab.active {
background: var(--cdv-tab-active-bg);
color: var(--cdv-tab-active-text);
}
.cdv-tab:hover:not(.active) {
background: var(--cdv-tab-hover-bg);
}
.cdv-tab-count {
display: inline-flex;
align-items: center;
font-size: 0.68rem;
line-height: 1;
opacity: 0.72;
}
.cdv-day-panel {
display: none;
}
.cdv-day-panel.visible {
display: block;
}
.cdv-card-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(18px, 2.2vw, 30px);
}
.cdv-note-card {
position: relative;
display: grid;
min-height: clamp(250px, 25vw, 340px);
overflow: hidden;
border-radius: 8px;
background: #a8aea6;
background-position: center;
background-size: cover;
color: #fff;
}
.cdv-note-card__shade {
position: absolute;
inset: 0;
background: linear-gradient(180deg, rgba(31, 32, 36, 0.18), rgba(31, 32, 36, 0.46));
}
.cdv-note-card__content {
position: relative;
z-index: 1;
display: grid;
min-height: 100%;
padding: clamp(18px, 2.2vw, 24px);
}
.cdv-note-card__top,
.cdv-note-card__bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.cdv-note-card__top {
align-self: start;
color: rgba(255, 255, 255, 0.86);
font-size: 0.84rem;
}
.cdv-note-card h3 {
align-self: start;
max-width: 92%;
margin: 14px 0 24px;
color: #fff;
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: clamp(1.65rem, 2.5vw, 2.35rem);
font-weight: 500;
letter-spacing: 0;
line-height: 1.08;
}
.cdv-note-card__bottom {
align-self: end;
color: rgba(255, 255, 255, 0.9);
font-size: 0.92rem;
}
.cdv-open-button,
.cdv-video-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 38px;
padding: 8px 12px;
border: 1px solid rgba(255, 255, 255, 0.56);
border-radius: 999px;
color: #fff;
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-weight: 700;
text-decoration: none;
white-space: nowrap;
}
.cdv-open-button span {
font-size: 1.2rem;
line-height: 1;
}
.cdv-video-button {
justify-self: start;
align-self: end;
margin-top: 14px;
background: rgba(255, 255, 255, 0.12);
}
.cdv-empty {
margin: 28px 0 0;
color: var(--cdv-muted);
}
.cdv-drawer-overlay {
position: fixed;
inset: 0;
z-index: 99998;
visibility: hidden;
background: rgba(31, 32, 36, 0.52);
opacity: 0;
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cdv-drawer-overlay.active {
visibility: visible;
opacity: 1;
}
.cdv-drawer {
position: fixed;
inset: 0;
z-index: 99999;
display: flex;
width: min(94vw, 1120px);
max-width: none;
height: min(88vh, 960px);
margin: auto;
flex-direction: column;
overflow-y: auto;
background: #fff;
border-radius: 18px;
color: var(--cdv-text);
font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
opacity: 0;
pointer-events: none;
transform: translateY(16px) scale(0.98);
transition: opacity 0.22s ease, transform 0.22s ease, width 0.22s ease, height 0.22s ease, border-radius 0.22s ease;
}
.cdv-drawer.active {
opacity: 1;
pointer-events: auto;
transform: translateY(0) scale(1);
}
.cdv-modal-toolbar {
position: sticky;
top: 0;
z-index: 4;
display: flex;
justify-content: flex-end;
gap: 8px;
padding: 16px 24px 8px;
background: #fff;
}
.cdv-modal-tool {
display: grid;
width: 30px;
height: 30px;
place-items: center;
padding: 0;
border: 1px solid var(--cdv-line);
border-radius: 4px;
background: #fff;
color: var(--cdv-muted);
cursor: pointer;
font-size: 1rem;
line-height: 1;
}
.cdv-modal-tool svg {
width: 18px;
height: 18px;
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.8;
}
.cdv-modal-tool.is-copied {
border-color: var(--cdv-tab-active-bg);
background: var(--cdv-tab-active-bg);
color: var(--cdv-tab-active-text);
}
.cdv-drawer-header {
position: relative;
min-height: 245px;
margin: 0 16px 24px;
border-radius: 12px;
overflow: hidden;
background: #d8d8d3;
background-position: center;
background-size: cover;
color: #fff;
}
.cdv-drawer-header::before {
content: "";
position: absolute;
inset: 0;
background: rgba(31, 32, 36, 0.08);
}
.cdv-drawer-close {
color: var(--cdv-muted);
}
.cdv-speaker {
display: flex;
align-items: center;
gap: 14px;
padding: 0;
}
.cdv-speaker-photo {
width: 58px;
height: 58px;
flex: 0 0 auto;
border-radius: 50%;
background: #e6e4df;
background-position: center;
background-size: cover;
}
.cdv-speaker strong,
.cdv-speaker span,
.cdv-speaker a {
display: block;
}
.cdv-speaker strong {
color: var(--cdv-text);
font-size: 0.8rem;
line-height: 1.2;
}
.cdv-speaker span,
.cdv-speaker a {
color: var(--cdv-muted);
font-size: 0.8rem;
line-height: 1.45;
}
.cdv-speaker a {
text-decoration: underline;
text-underline-offset: 2px;
}
.cdv-modal-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 300px;
gap: 28px;
padding: 0 16px 56px;
}
.cdv-modal-main h2 {
margin: 0 0 18px;
color: var(--cdv-text);
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: clamp(2.8rem, 4vw, 3rem);
font-weight: 700;
letter-spacing: 0;
line-height: 1.04;
text-transform: uppercase;
}
.cdv-modal-meta {
align-self: start;
display: grid;
gap: 18px;
padding: 28px 18px;
border: 1px solid var(--cdv-line);
border-radius: 12px;
background: #fff;
font-size: 0.8rem;
}
.cdv-meta-block {
display: grid;
gap: 8px;
}
.cdv-meta-block > span {
color: var(--cdv-text);
font-size: 0.8rem;
}
.cdv-meta-block > strong,
.cdv-verse-badges strong {
justify-self: start;
padding: 5px 10px;
border: 1px solid var(--cdv-line);
border-radius: 999px;
color: var(--cdv-text);
font-size: 0.8rem;
line-height: 1.1;
}
.cdv-verse-badges {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.cdv-video-button--drawer {
margin: 0;
width: 100%;
border-color: var(--cdv-text);
background: var(--cdv-text);
color: #fff;
font-size: 0.8rem;
}
.cdv-drawer-content {
padding: 0;
color: var(--cdv-text);
font-size: 1rem;
line-height: 1.72;
}
.cdv-drawer-content p,
.cdv-drawer-content ul,
.cdv-drawer-content ol,
.cdv-drawer-content blockquote {
margin-top: 0;
margin-bottom: 1rem;
}
.cdv-drawer-content h1,
.cdv-drawer-content h2,
.cdv-drawer-content h3 {
margin: 1.8rem 0 0.7rem;
line-height: 1.15;
}
.cdv-verse,
.cdv-highlight,
.cdv-key-point,
.cdv-drawer-content blockquote {
margin: 1rem 0;
}
.cdv-highlight {
padding: 14px 16px;
border-radius: 8px;
background: var(--cdv-callout);
}
.cdv-verse,
.cdv-drawer-content blockquote {
padding: 4px 0 4px 16px;
border-left: 3px solid color-mix(in srgb, var(--cdv-quote) 55%, var(--cdv-text));
color: rgba(31, 32, 36, 0.76);
font-style: normal;
}
.cdv-key-point {
display: flex;
gap: 10px;
padding: 12px 14px;
border-radius: 8px;
background: var(--cdv-keypoint);
}
.cdv-key-point::before {
content: "•";
color: var(--cdv-text);
font-weight: 700;
}
body.cdv-drawer-open {
overflow: hidden;
}
.cdv-fixed-footer {
position: fixed;
right: 0;
bottom: 0;
left: 0;
z-index: 9990;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 14px clamp(18px, 5vw, 60px);
border-top: 1px solid rgba(31, 32, 36, 0.12);
background: rgba(240, 238, 233, 0.92);
}
.cdv-fixed-footer__status {
display: flex;
gap: 8px;
align-items: center;
color: var(--cdv-muted);
font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.9rem;
}
.cdv-fixed-footer__status strong {
color: var(--cdv-text);
}
.cdv-fixed-footer__dots {
display: flex;
gap: 9px;
align-items: center;
}
.cdv-footer-dot {
width: 9px;
height: 9px;
padding: 0;
border: 1.5px solid rgba(31, 32, 36, 0.36);
border-radius: 50%;
background: transparent;
cursor: pointer;
}
.cdv-footer-dot.active {
border-color: var(--cdv-tab-active-text);
background: var(--cdv-tab-active-text);
box-shadow: 0 0 0 5px color-mix(in srgb, var(--cdv-tab-active-bg) 70%, transparent);
}
@media (max-width: 1024px) {
.cdv-card-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
.cdv-page {
padding: 30px 18px 48px;
}
.cdv-featured {
grid-template-columns: 1fr;
min-height: 0;
margin-right: -18px;
margin-left: -18px;
}
.cdv-featured-copy {
min-height: 420px;
padding: 34px 18px;
}
.cdv-featured-image {
min-height: 260px;
}
.cdv-tabs {
gap: 8px;
}
.cdv-tab {
padding: 8px 12px;
font-size: 0.86rem;
}
.cdv-card-grid {
grid-template-columns: 1fr;
}
.cdv-note-card {
min-height: 300px;
}
.cdv-drawer {
width: 100vw;
height: 100vh;
border-radius: 0;
}
.cdv-modal-toolbar {
padding: 12px 14px 8px;
}
.cdv-drawer-header {
min-height: 190px;
margin: 0 16px 22px;
}
.cdv-modal-layout {
grid-template-columns: 1fr;
padding: 0 16px 42px;
}
.cdv-modal-meta {
order: -1;
}
.cdv-drawer-content {
font-size: 1rem;
}
.cdv-fixed-footer {
padding: 12px 18px;
}
}
@media (max-width: 420px) {
.cdv-title {
font-size: 2.65rem;
}
.cdv-featured h2 {
font-size: 2.25rem;
}
.cdv-note-card h3 {
font-size: 1.72rem;
}
.cdv-note-card__bottom {
align-items: flex-start;
flex-direction: column;
}
}