/* CampOffice office: users, help, import, duplicates, history and "Get set up" (docs/architecture/settings.md). */
.cs-muted { color: rgb(100 108 120); font-size: .875rem; }
.cs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cs-link { color: var(--primary-600, rgb(2 102 160)); text-decoration: underline; text-underline-offset: 2px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.cs-stack { display: grid; gap: 1.25rem; }
.cs-error { color: rgb(185 28 28); font-size: .875rem; }

/* "?" next to a screen's buttons */

/* Lists with actions (pending invitations, setup footer) */
.cs-list { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.cs-list__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid rgb(229 231 235); }
.cs-list__row > div:first-child { display: grid; }
.cs-list__actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; }
.cs-callout { margin-bottom: 1rem; padding: .75rem 1rem; border-radius: .75rem; background: rgb(240 249 255); border: 1px solid rgb(186 230 253); font-size: .9rem; }
.cs-copy { width: 100%; margin-top: .5rem; padding: .45rem .6rem; border: 1px solid rgb(209 213 219); border-radius: .5rem; font: inherit; font-size: .85rem; background: #fff; }
.cs-roles { display: grid; gap: .5rem; margin: 0; }
.cs-roles dt { font-weight: 600; }
.cs-roles dd { margin: 0 0 .25rem; color: rgb(75 85 99); font-size: .9rem; }

/* Help */
.cs-help { display: grid; gap: 1.25rem; }
.cs-search__input { width: 100%; max-width: 36rem; padding: .6rem .8rem; border: 1px solid rgb(209 213 219); border-radius: .6rem; font: inherit; background: #fff; }
.cs-cards { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.cs-card { display: grid; gap: .25rem; width: 100%; height: 100%; text-align: left; padding: .9rem 1rem; border: 1px solid rgb(229 231 235); border-radius: .75rem; background: #fff; cursor: pointer; font: inherit; }
.cs-card:hover, .cs-card:focus-visible { border-color: rgb(156 163 175); }
.cs-card span { color: rgb(75 85 99); font-size: .875rem; }
.cs-results { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cs-prose { max-width: 46rem; line-height: 1.65; }
.cs-prose h2 { font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.cs-prose h3 { font-weight: 700; margin: 1.25rem 0 .4rem; }
.cs-prose p, .cs-prose ul, .cs-prose ol { margin: .5rem 0; }
.cs-prose ul { list-style: disc; padding-left: 1.25rem; }
.cs-prose ol { list-style: decimal; padding-left: 1.25rem; }
.cs-prose a { text-decoration: underline; }
.cs-prose code { font-size: .9em; padding: .05rem .3rem; border-radius: .3rem; background: rgb(243 244 246); }
.cs-prose table { border-collapse: collapse; margin: .75rem 0; font-size: .9rem; }
.cs-prose th, .cs-prose td { border: 1px solid rgb(229 231 235); padding: .35rem .6rem; text-align: left; }

/* History */
.cs-history { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.cs-history__item { padding-bottom: .9rem; border-bottom: 1px solid rgb(229 231 235); }
.cs-history__head { display: grid; gap: .1rem; margin: 0 0 .35rem; }
.cs-history__changes { display: grid; gap: .2rem; margin: 0; font-size: .875rem; }
.cs-history__changes div { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: .5rem; }
.cs-history__changes dt { color: rgb(100 108 120); }
.cs-history__changes dd { margin: 0; overflow-wrap: anywhere; }
.cs-history__changes del { color: rgb(100 108 120); }

/* Get set up */
.cs-steps { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.cs-step { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem; align-items: start; padding: .6rem .7rem; border: 1px solid rgb(229 231 235); border-radius: .7rem; }
.cs-step p { margin: .1rem 0 0; }
.cs-step__mark { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 999px; border: 2px solid rgb(209 213 219); font-size: .8rem; font-weight: 700; }
.cs-step--done { opacity: .75; }
.cs-step--done .cs-step__mark { background: rgb(18 128 92); border-color: rgb(18 128 92); color: #fff; }
.cs-setup-footer { margin-top: 1rem; }

/* Import */
.cs-progress { display: grid; gap: .4rem; padding: .9rem 1rem; border: 1px solid rgb(229 231 235); border-radius: .75rem; background: #fff; }
.cs-progress__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.cs-progress__track { height: .6rem; border-radius: 999px; background: rgb(229 231 235); overflow: hidden; }
.cs-progress__bar { height: 100%; background: rgb(18 128 92); }
@media (prefers-reduced-motion: no-preference) { .cs-progress__bar { transition: width .4s ease; } }

/* Duplicates */
.cs-pair { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.cs-pair__side { display: grid; gap: .5rem; align-content: start; padding: .8rem 1rem; border: 1px solid rgb(229 231 235); border-radius: .75rem; }
.cs-pair__title { display: grid; margin: 0; font-weight: 600; }
.cs-pair__footer { margin-top: .75rem; }
.cs-facts { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; overflow-wrap: anywhere; }

.dark .cs-card, .dark .cs-progress, .dark .cs-copy, .dark .cs-search__input { background: rgb(17 24 39); border-color: rgb(255 255 255 / .12); }
.dark .cs-muted, .dark .cs-card span { color: rgb(156 163 175); }
.dark .cs-callout { background: rgb(14 165 233 / .1); border-color: rgb(14 165 233 / .3); }

/* "Continue with Google" under the office sign-in form. */
.cs-google { display: grid; gap: .6rem; margin-top: 1rem; }
.cs-google__or { display: flex; align-items: center; gap: .75rem; color: rgb(100 108 120); font-size: .85rem; }
.cs-google__or::before, .cs-google__or::after { content: ""; flex: 1; border-top: 1px solid rgb(0 0 0 / .1); }
.cs-google__button { display: block; text-align: center; padding: .6rem 1rem; border-radius: .5rem; border: 1px solid rgb(0 0 0 / .15); font-weight: 600; background: #fff; color: rgb(31 41 55); }
.cs-google__button:hover, .cs-google__button:focus-visible { background: rgb(243 244 246); }
.cs-google__error { color: rgb(185 28 28); font-size: .9rem; }
.cs-google__note { text-align: center; }
.dark .cs-google__button { background: rgb(17 24 39); color: rgb(229 231 235); border-color: rgb(255 255 255 / .15); }

/* Where a "Get help" request is. */
.cs-help-status--sent { color: rgb(21 128 61); font-weight: 600; }
.cs-help-status--failed { color: rgb(180 83 9); }
/* Help: the contents stay in view (docs/user-guide, UserGuide::sections). */
.cs-help-layout { display: grid; gap: 1.25rem; }
.cs-help-contents__jump { display: grid; gap: .3rem; font-size: .875rem; font-weight: 600; }
.cs-help-contents__jump select { width: 100%; padding: .55rem .8rem; border: 1px solid rgb(209 213 219); border-radius: .6rem; font: inherit; font-weight: 400; background-color: #fff; }
.cs-help-contents__list { display: none; }
@media (min-width: 1024px) {
    .cs-help-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 2rem; align-items: start; }
    .cs-help-contents { position: sticky; top: calc(var(--co-sticky-top, 5rem) + 1rem); max-height: calc(100dvh - var(--co-sticky-top, 5rem) - 2rem); overflow-y: auto; overscroll-behavior: contain; padding-inline-end: .25rem; }
    .cs-help-contents__jump { display: none; }
    .cs-help-contents__list { display: block; font-size: .875rem; }
}
.cs-help-contents__list ul { margin: 0 0 .5rem; padding: 0; list-style: none; }
.cs-help-contents__section { margin: .9rem 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgb(107 114 128); }
.cs-help-contents__list button { display: block; width: 100%; padding: .3rem .6rem; border: 0; border-radius: .45rem; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; }
.cs-help-contents__list button:hover, .cs-help-contents__list button:focus-visible { background: rgb(243 244 246); }
.cs-help-contents__list button[aria-current="page"] { background: color-mix(in srgb, var(--primary-600, rgb(2 102 160)) 12%, transparent); color: var(--primary-700, rgb(3 105 161)); font-weight: 600; }
.cs-help-contents__all { font-weight: 600; }
.dark .cs-help-contents__jump select { background-color: rgb(17 24 39); border-color: rgb(255 255 255 / .12); }
.dark .cs-help-contents__list button:hover, .dark .cs-help-contents__list button:focus-visible { background: rgb(255 255 255 / .06); }
.dark .cs-help-contents__section { color: rgb(156 163 175); }
.dark .cs-help-contents__list button[aria-current="page"] { color: var(--primary-400, rgb(56 189 248)); }
/* A guide's picture of its screen (UserGuide::picture) */
.cs-guide-picture { margin: 0 0 1.25rem; }
.cs-guide-picture img { display: block; width: 100%; height: auto; border-radius: .75rem; border: 1px solid rgb(229 231 235); box-shadow: 0 10px 24px -16px rgb(0 0 0 / .35); }
/* Messages settings → Your email signature: a small picture of an email's last lines. */
.co-signature-preview { display: grid; gap: .4rem; }
.co-signature-preview__label { margin: 0; font-size: .8125rem; font-weight: 600; color: rgb(75 85 99); }
.co-signature-preview__mail { border: 1px solid rgb(229 231 235); border-radius: .6rem; padding: .9rem 1rem; background: #fff; color: #1c1917; font-family: Helvetica, Arial, sans-serif; font-size: .9375rem; line-height: 1.5; }
.co-signature-preview__body { margin: 0 0 .9rem; color: rgb(120 113 108); }
.co-signature-preview__sign a { color: inherit; text-decoration: underline; }
.co-signature-preview__none { margin: 0; color: rgb(107 114 128); font-size: .875rem; }
.co-signature-preview__foot { margin: .9rem 0 0; padding-top: .6rem; border-top: 1px solid rgb(231 229 228); font-size: .8125rem; color: rgb(87 83 78); }
.dark .co-signature-preview__label { color: rgb(209 213 219); }

/* A copyable address with its label right above it (filament/office/copy-field). */
.cs-copyfield { margin-top: .75rem; }
.cs-copyfield__label { display: block; font-weight: 600; font-size: .875rem; }
.cs-copyfield__row { display: flex; gap: .5rem; align-items: flex-end; }
.cs-copyfield__row .cs-copy { flex: 1 1 auto; min-width: 0; }
.cs-copyfield__button { flex: none; padding: .45rem .9rem; border-radius: .5rem; border: 1px solid rgb(209 213 219); background: rgb(249 250 251); font-size: .85rem; font-weight: 600; cursor: pointer; }
.cs-copyfield__button:hover { background: rgb(243 244 246); }
.dark .cs-copyfield__button { background: rgb(31 41 55); border-color: rgb(255 255 255 / .12); color: inherit; }
