/* callingsWIP/style.css — Calling Continuity Book, deltas on top of the
   shared ../callings/lds.css. Restored 2026-09-15 from tools/ (see
   org/AGJ-SWEEP-2026-09-15.md); previously wore njsr.org/charlieco.co's
   chrome by mistake, now uses this domain's actual theme. */

/* ── Password-lock nav button (private per-ward fields) ── */
.lds-nav-lock {
    background: none;
    border: 1px solid var(--lds-border);
    color: var(--lds-text-dim);
    font-family: inherit;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 0.05em;
}
.lds-nav-lock:hover { border-color: var(--lds-accent-dim); color: var(--lds-accent); }
.lds-nav-lock.unlocked { border-color: var(--lds-private-border); color: var(--lds-blue-light); }

/* ── Rhythm table (weekly/monthly cadence) ── */
.rhythm-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; margin-bottom: 1rem; }
.rhythm-table th { text-align: left; padding: 0.5rem 0.75rem; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lds-text-dim); border-bottom: 1px solid var(--lds-border); font-weight: 400; }
.rhythm-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top; }
.rhythm-table td:first-child { color: var(--lds-accent); white-space: nowrap; width: 7rem; }
.rhythm-table tr:last-child td { border-bottom: none; }

/* ── Landing page (index.html) ── */
.page-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--lds-accent);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}
.subtitle {
    font-size: 0.95rem;
    color: var(--lds-text-dim);
    margin-top: 0.35rem;
    line-height: 1.65;
}

.books-row { display: flex; gap: 0.75rem; margin: 1.5rem 0 2rem; flex-wrap: wrap; }
.book-link {
    flex: 1;
    min-width: 200px;
    display: block;
    padding: 1rem 1.25rem;
    background: var(--lds-surface);
    border: 1px solid var(--lds-border);
    border-radius: 6px;
    text-decoration: none;
    transition: border-color 0.15s;
}
.book-link:hover { border-color: var(--lds-accent-dim); }
.book-link-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lds-accent); opacity: 0.75; margin-bottom: 0.35rem; }
.book-link-title { font-size: 0.9rem; color: var(--lds-text); font-weight: 600; margin-bottom: 0.2rem; }
.book-link-desc { font-size: 0.78rem; color: var(--lds-text-dim); line-height: 1.45; }
.books-divider {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lds-text-dim);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--lds-border);
}

/* ── Progress checklist: all 31 callings, done vs not yet ── */
.progress-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0 2.5rem;
}
.progress-item {
    font-size: 0.82rem;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    border: 1px solid var(--lds-border);
    color: var(--lds-text-dim);
}
.progress-item.done {
    color: var(--lds-text);
    border-color: var(--lds-accent-dim);
    background: rgba(200,162,74,0.06);
}
.progress-item.done a { color: var(--lds-text); text-decoration: none; }
.progress-item.done::before { content: "✓ "; color: var(--lds-accent); }
.progress-item:not(.done)::before { content: "— "; opacity: 0.4; }

/* ── Calling tabs (the "build your own" builder UI) ── */
.calling-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--lds-border);
    margin: 2rem 0 0;
    gap: 0;
}
.calling-tab {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: var(--lds-text-dim);
    border: none;
    border-bottom: 2px solid transparent;
    background: none;
    font-family: inherit;
    transition: color 0.15s, border-color 0.15s;
    margin-bottom: -1px;
}
.calling-tab.active { color: var(--lds-accent); border-bottom-color: var(--lds-accent); }
.calling-tab:hover:not(.active) { color: var(--lds-text); }

.calling-header { padding: 1.5rem 0 0.5rem; }
.calling-title { font-size: 1.2rem; font-weight: 600; color: var(--lds-accent); margin: 0 0 0.25rem; }
.calling-tagline { font-size: 0.85rem; color: var(--lds-text-dim); font-style: italic; margin: 0; }

.category-header {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--lds-text-dim);
    margin: 2.5rem 0 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--lds-border);
}

.section-block { margin-bottom: 1.75rem; }
.section-label { font-size: 0.9rem; font-weight: 600; color: var(--lds-text); margin-bottom: 0.25rem; }
.section-guidance { font-size: 0.78rem; color: var(--lds-text-dim); line-height: 1.55; margin-bottom: 0.6rem; }
.section-textarea {
    width: 100%;
    min-height: 100px;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--lds-border-mid);
    border-radius: 5px;
    color: var(--lds-text);
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.7;
    padding: 0.75rem;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.section-textarea:focus { outline: none; border-color: var(--lds-blue-light); }

.section-block.is-letter .section-textarea { min-height: 200px; border-color: var(--lds-accent-dim); }
.section-block.is-letter .section-label { color: var(--lds-accent); }

.toolbar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--lds-border);
    margin-top: 1rem;
    flex-wrap: wrap;
}
.save-status { font-size: 0.75rem; color: var(--lds-text-dim); flex: 1; min-width: 120px; }
.save-status.saved { color: var(--lds-accent-dim); }
.btn-tool {
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    background: transparent;
    border: 1px solid var(--lds-border);
    color: var(--lds-text-dim);
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
}
.btn-tool:hover { border-color: var(--lds-accent-dim); color: var(--lds-text); }
.btn-reset { color: rgba(255,255,255,0.35); border-color: rgba(255,255,255,0.15); }
.btn-reset:hover { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.6); }

@media print {
    .calling-tabs, .toolbar, .page-label { display: none !important; }
    .calling-header { border-bottom: 2px solid #111; padding-bottom: 0.75rem; margin-bottom: 1rem; }
    .calling-title { font-size: 1.4rem; color: #111; }
    .calling-tagline { color: #555; font-style: italic; }
    .category-header { color: #444; border-bottom-color: #ccc; letter-spacing: 0.15em; }
    .section-label { color: #111; font-weight: 600; }
    .section-textarea { border: none; border-bottom: 1px solid #ddd; border-radius: 0; background: none; padding: 0.5rem 0; min-height: 0; overflow: visible; }
    .section-block { page-break-inside: avoid; margin-bottom: 1.25rem; }
    .section-block.is-letter { page-break-before: always; }
}

@media (max-width: 600px) {
    .calling-tab { padding: 0.6rem 0.85rem; font-size: 0.8rem; }
    .toolbar { flex-direction: column; align-items: flex-start; }
}
