/* Guided tours and help (Conexio.Docket.Ui). Uses each app's own colours where it defines them. */

.tour-layer { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.tour-dim { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); pointer-events: auto; }
.tour-spot {
    position: fixed;
    border-radius: 8px;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.45), 0 0 0 3px #f59e0b;
    transition: left 0.2s, top 0.2s, width 0.2s, height 0.2s;
}
.tour-card {
    position: fixed;
    pointer-events: auto;
    background: #fff;
    color: #0f172a;
    border-radius: 10px;
    padding: 14px 16px 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.3);
    max-width: calc(100vw - 24px);
}
.tour-card h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.tour-card p { margin: 0 0 12px; line-height: 1.45; }
.tour-progress { font-size: 0.8rem; color: #64748b; }
.tour-buttons { display: flex; gap: 8px; align-items: center; }
.tour-gap { flex: 1; }

.tour-offer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 0 12px;
}
.tour-offer span { flex: 1; min-width: 200px; }

.tour-button { background: transparent; border: 1px solid currentColor; color: inherit; border-radius: 6px; padding: 4px 10px; cursor: pointer; }

/* Help articles. */
.help-article { max-width: 820px; line-height: 1.55; }
.help-article h1 { margin-top: 0; }
.help-article h2 { margin-top: 1.6em; padding-top: 0.4em; border-top: 1px solid #e2e8f0; }
.help-article table { border-collapse: collapse; margin: 0.8em 0; }
.help-article th, .help-article td { border: 1px solid #e2e8f0; padding: 6px 10px; text-align: left; vertical-align: top; }
.help-article code { background: #f1f5f9; padding: 1px 4px; border-radius: 4px; }
.help-article blockquote { margin: 1em 0; padding: 8px 14px; background: #fffbeb; border-left: 4px solid #f59e0b; }

@media (prefers-reduced-motion: reduce) { .tour-spot { transition: none; } }

/* After an update: what's new, once. */
.whats-new { padding: 12px 20px; margin-bottom: 16px; background: #ecfdf5; color: #064e3b; border: 1px solid #6ee7b7; border-radius: 8px; }
.whats-new-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.whats-new-head span { flex: 1; min-width: 200px; }
.whats-new ul { margin: 8px 0 0; padding-left: 20px; }
.whats-new p { margin: 6px 0 0; }
.whats-new.one-line { margin: 0; border-radius: 0; border-width: 0 0 1px; padding: 8px 20px; }
