/* Situnio — documentation, changelog, contact. Chargée seulement sur ces pages, par-dessus marketing.css. */

/* ── En-tête de page ─────────────────────────────────────── */
.doc-hero { color: #e7e7f7; background: radial-gradient(800px 420px at 15% -20%, rgba(124, 58, 237, .45), transparent 70%), radial-gradient(700px 420px at 90% 0, rgba(79, 70, 229, .5), transparent 70%), var(--night); padding: 54px 0 58px; }
.doc-hero h1 { font: 800 clamp(2rem, 4.4vw, 3rem)/1.1 var(--display); letter-spacing: -.03em; color: #fff; }
.doc-hero p { margin-top: 12px; color: #c5c6e2; font-size: 1.1rem; max-width: 42em; }
.doc-hero-home { text-align: center; padding: 64px 0 72px; }
.doc-hero-home p { margin-inline: auto; }
.doc-hero-home .doc-search { margin: 28px auto 0; max-width: 640px; }

/* ── Recherche ───────────────────────────────────────────── */
.doc-search { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); box-shadow: var(--shadow); }
.doc-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.doc-search > .icon { color: var(--muted); flex: none; }
.doc-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.doc-search input::-webkit-search-cancel-button { cursor: pointer; }
.doc-search kbd { padding: 1px 7px; border: 1px solid var(--line); border-radius: 6px; font: 600 .78rem var(--mono); color: var(--muted); background: var(--bg-alt); }
.doc-search:focus-within kbd { display: none; }
.doc-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(68vh, 560px); overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); text-align: left; z-index: 80; }
.doc-suggest[hidden] { display: none; }
.doc-result { display: block; padding: 11px 13px; border-radius: 10px; color: var(--ink); }
.doc-result:hover, .doc-result.is-on { background: var(--brand-soft); text-decoration: none; }
.doc-result small { display: block; color: var(--brand-ink); font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.doc-result strong { display: block; font-weight: 650; margin-top: 1px; }
.doc-result span { display: block; color: var(--ink-2); font-size: .89rem; margin-top: 3px; line-height: 1.45; }
.doc-result mark { background: #fde68a; color: inherit; border-radius: 3px; padding: 0 1px; }
.doc-suggest-empty { padding: 14px; color: var(--muted); }
.doc-suggest-all { display: block; padding: 10px 13px; font-weight: 650; font-size: .9rem; border-top: 1px solid var(--line); margin-top: 4px; }

/* ── Accueil de la documentation ─────────────────────────── */
.doc-home { padding: 52px 0 88px; background: var(--bg-alt); }
.doc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.doc-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.doc-card h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; font: 700 1.14rem/1.3 var(--display); }
.doc-card > p { color: var(--muted); font-size: .92rem; margin-top: 9px; }
.doc-card ul { margin-top: 14px; display: grid; gap: 2px; }
.doc-card li a { display: block; padding: 5px 0; color: var(--ink-2); font-size: .96rem; }
.doc-card li a:hover { color: var(--brand-ink); }
.doc-help { margin-top: 38px; padding: 34px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.doc-help h2 { font: 750 1.4rem var(--display); }
.doc-help p { color: var(--ink-2); margin: 8px 0 18px; }
.doc-results-page { max-width: 800px; margin: 0 auto; }
.doc-results-page h2 { font: 750 1.4rem var(--display); margin-bottom: 14px; }
.doc-results-page .doc-result { background: var(--surface); border: 1px solid var(--line); margin-top: 10px; }
.doc-corrected { color: var(--muted); margin-bottom: 10px; }
.doc-back { margin-top: 22px; }

/* ── Article ─────────────────────────────────────────────── */
.doc-bar { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 10px 0; }
.doc-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.doc-bar-home { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.doc-bar .doc-search { width: min(460px, 100%); box-shadow: none; }
.doc-bar .doc-search input { height: 40px; font-size: .95rem; }
.doc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr) 210px; gap: 44px; align-items: start; padding-top: 34px; padding-bottom: 80px; }

.doc-side { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .92rem; scrollbar-width: thin; }
.doc-side-mobile > summary { display: none; }
.doc-side-group > summary { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px; font-weight: 650; cursor: pointer; list-style: none; }
.doc-side-group > summary::-webkit-details-marker { display: none; }
.doc-side-group > summary:hover { background: var(--bg-alt); }
.doc-side-group > summary .icon { width: 16px; height: 16px; color: var(--muted); }
.doc-side-group ul { margin: 2px 0 8px 15px; padding-left: 10px; border-left: 1px solid var(--line); }
.doc-side-group a { display: block; padding: 5px 8px; border-radius: 7px; color: var(--ink-2); line-height: 1.35; }
.doc-side-group a:hover { background: var(--bg-alt); text-decoration: none; }
.doc-side-group a[aria-current] { color: var(--brand-ink); background: var(--brand-soft); font-weight: 650; }

.doc-article { min-width: 0; }
.doc-crumb { font-size: .86rem; font-weight: 650; }
.doc-article h1 { font: 800 clamp(1.8rem, 3.6vw, 2.5rem)/1.15 var(--display); letter-spacing: -.028em; margin-top: 6px; }
.doc-summary { font-size: 1.13rem; color: var(--ink-2); margin-top: 12px; }
.doc-pack { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 11px 14px; border-radius: 10px; background: var(--brand-soft); color: #312e81; font-size: .94rem; }
.doc-pack .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.doc-pack a { color: inherit; font-weight: 700; text-decoration: underline; }
.doc-pack .mk-soon { margin-left: auto; flex: none; }
.doc-pack-free { background: var(--ok-soft); color: #065f46; }
.doc-toc-mobile { display: none; margin-top: 16px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: .94rem; }
.doc-toc-mobile summary { font-weight: 650; cursor: pointer; }
.doc-toc-mobile ul { margin-top: 8px; display: grid; gap: 5px; }

.doc-body { margin-top: 10px; color: var(--ink-2); line-height: 1.68; font-size: 1.015rem; }
.doc-body h2 { font: 760 1.5rem/1.25 var(--display); color: var(--ink); letter-spacing: -.018em; margin-top: 44px; scroll-margin-top: 88px; }
.doc-body h3 { font: 700 1.14rem/1.3 var(--display); color: var(--ink); margin-top: 28px; scroll-margin-top: 88px; }
.doc-anchor { margin-left: 8px; color: var(--muted); font-weight: 400; opacity: 0; }
h2:hover > .doc-anchor, h3:hover > .doc-anchor, .doc-anchor:focus { opacity: 1; }
.doc-body p { margin-top: 13px; }
.doc-body ul { list-style: disc; padding-left: 22px; margin-top: 12px; display: grid; gap: 6px; }
.doc-body li > p:first-child { margin-top: 0; }
.doc-body strong { color: var(--ink); font-weight: 650; }
.doc-body a { font-weight: 550; }
.doc-body code { font: .88em var(--mono); padding: 1px 6px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); overflow-wrap: anywhere; }
.doc-ui { padding: 1px 7px; border-radius: 6px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); font-size: .93em; font-weight: 600; white-space: normal; }

/* Étapes numérotées */
.doc-steps { counter-reset: step; list-style: none; margin-top: 16px; padding: 0; display: grid; gap: 0; }
.doc-steps > li { counter-increment: step; position: relative; padding: 0 0 20px 44px; min-width: 0; }
.doc-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #4f46e5, #7c3aed); color: #fff; font-size: .84rem; font-weight: 700; }
.doc-steps > li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 32px; bottom: 4px; width: 1px; background: var(--line); }

/* Captures */
.doc-shot { margin: 16px 0 6px; }
.doc-shot a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: var(--bg-alt); }
.doc-shot img { display: block; width: 100%; height: auto; }
.doc-shot figcaption { margin-top: 7px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.doc-zoom { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.doc-zoom::backdrop { background: rgba(12, 13, 36, .82); }
.doc-zoom img { display: block; max-width: 96vw; max-height: 96vh; border-radius: 10px; }
.doc-zoom form { position: absolute; right: 8px; top: 8px; }
.doc-zoom button { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; box-shadow: var(--shadow); }

/* Encadrés */
.doc-call { margin-top: 18px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-alt); font-size: .97rem; }
.doc-call > p:nth-child(2) { margin-top: 3px; }
.doc-call-title { display: flex; align-items: center; gap: 7px; margin: 0; font-weight: 700; color: var(--ink); font-size: .9rem; }
.doc-call-title .icon { width: 16px; height: 16px; }
.doc-call-tip { background: var(--ok-soft); border-color: #a7ebcc; }
.doc-call-tip .doc-call-title { color: #065f46; }
.doc-call-warn { background: var(--warn-soft); border-color: #fbd79b; }
.doc-call-warn .doc-call-title { color: #92400e; }
.doc-call-danger { background: var(--bad-soft); border-color: #fbc3c3; }
.doc-call-danger .doc-call-title { color: #b91c1c; }

/* Tableaux */
.doc-table { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.doc-table table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.doc-table th, .doc-table td { padding: 10px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.doc-table th { background: var(--bg-alt); color: var(--ink); font-weight: 650; white-space: nowrap; }
.doc-table tbody tr:last-child td { border-bottom: 0; }

.doc-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 52px; }
.doc-next a { display: block; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.doc-next a:hover { border-color: var(--brand); text-decoration: none; }
.doc-next small { display: block; color: var(--muted); font-size: .82rem; }
.doc-next strong { font-weight: 650; }
.doc-next-next { text-align: right; grid-column: 2; }
.doc-still { margin-top: 22px; color: var(--muted); font-size: .94rem; text-align: center; }

.doc-toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: .86rem; }
.doc-toc > p { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.doc-toc ul { border-left: 1px solid var(--line); }
.doc-toc a { display: block; padding: 4px 0 4px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); line-height: 1.35; }
.doc-toc a:hover { color: var(--ink); text-decoration: none; }
.doc-toc a.is-on { color: var(--brand-ink); border-left-color: var(--brand); font-weight: 600; }

/* ── Changelog ───────────────────────────────────────────── */
.cl-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 6px; }
.cl-filters button { padding: 6px 13px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 550; cursor: pointer; }
.cl-filters button:hover { border-color: var(--brand); }
.cl-filters button[aria-pressed=true] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cl-day { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 80px; }
.cl-day:last-of-type { border-bottom: 0; }
.cl-date { font: 700 1.04rem/1.35 var(--display); color: var(--ink); position: sticky; top: 84px; align-self: start; }
.cl-date small { display: block; color: var(--muted); font: 500 .84rem var(--font); margin-top: 3px; }
.cl-list { display: grid; gap: 16px; }
.cl-item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.cl-type { justify-self: start; padding: 2px 9px; border-radius: 99px; font-size: .76rem; font-weight: 700; background: var(--brand-soft); color: var(--brand-ink); white-space: nowrap; margin-top: 2px; }
.cl-type-improved { background: var(--ok-soft); color: #065f46; }
.cl-type-fixed { background: var(--warn-soft); color: #92400e; }
.cl-type-security { background: var(--bad-soft); color: #b91c1c; }
.cl-item h3 { font: 650 1.02rem/1.4 var(--font); color: var(--ink); }
.cl-item p { color: var(--ink-2); font-size: .96rem; margin-top: 3px; }
.cl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 5px; font-size: .84rem; color: var(--muted); }
.cl-meta a { font-weight: 600; }
.cl-empty { padding: 28px 0; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────── */
.ct-wrap { padding: 44px 0 90px; background: var(--bg-alt); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.ct-form, .ct-sent { padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.ct-form { display: grid; gap: 20px; }
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-alert { padding: 11px 14px; border-radius: 10px; background: var(--bad-soft); color: #b91c1c; font-weight: 550; }
.ct-reasons { border: 0; padding: 0; margin: 0; min-width: 0; }
.ct-reasons legend { padding: 0; font: 700 1.06rem var(--display); color: var(--ink); margin-bottom: 12px; }
.ct-reason-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ct-reason { position: relative; cursor: pointer; }
.ct-reason input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ct-reason-box { display: flex; flex-direction: column; height: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .12s, background .12s; }
.ct-reason-ic { color: var(--brand-ink); }
.ct-reason-ic .icon { width: 18px; height: 18px; }
.ct-reason-box strong { margin-top: 5px; font-weight: 650; font-size: .96rem; color: var(--ink); line-height: 1.3; }
.ct-reason-box small { margin-top: 3px; color: var(--muted); font-size: .82rem; line-height: 1.35; }
.ct-reason:hover .ct-reason-box { border-color: var(--brand); }
.ct-reason input:checked + .ct-reason-box { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.ct-reason input:focus-visible + .ct-reason-box { outline: 2px solid var(--brand); outline-offset: 2px; }
.ct-tip { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 10px; background: var(--brand-soft); color: #312e81; font-size: .93rem; }
.ct-tip .icon { flex: none; width: 17px; height: 17px; }
.ct-tip a { color: inherit; font-weight: 700; text-decoration: underline; }
.ct-tip[hidden], .ct-field[hidden], .ct-help[hidden] { display: none; }
.ct-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.ct-field label { display: block; font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 5px; }
.ct-opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd0e2; border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 1rem; }
.ct-field textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ct-field [aria-invalid=true] { border-color: var(--bad); }
.ct-reasons[aria-invalid=true] .ct-reason-box { border-color: var(--bad); }
.ct-error { margin-top: 5px; color: var(--bad); font-size: .88rem; font-weight: 550; }
.ct-help { margin-top: 6px; color: var(--muted); font-size: .86rem; }
.ct-noscript { display: none; padding: 10px 13px; border-radius: 10px; background: var(--warn-soft); color: #92400e; font-size: .92rem; }
.ct-noscript.is-on { display: block; }
.ct-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.ct-submit button[disabled] { opacity: .65; cursor: progress; }
.ct-legal { flex: 1 1 240px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.ct-sent { text-align: center; padding: 48px 30px; }
.ct-sent-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.ct-sent h2 { font: 750 1.5rem var(--display); margin-top: 14px; }
.ct-sent p { color: var(--ink-2); margin: 8px auto 20px; max-width: 32em; }
.ct-side { display: grid; gap: 14px; }
.ct-card { padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: .93rem; }
.ct-card h2 { display: flex; align-items: center; gap: 8px; font: 700 1rem var(--display); }
.ct-card h2 .icon { width: 17px; height: 17px; color: var(--brand-ink); }
.ct-card p { color: var(--ink-2); margin: 6px 0 9px; }
.ct-card a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.ct-card a .icon { width: 15px; height: 15px; }

/* ── Comparatifs ──────────────────────────────────────────── */
.cmp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 52px; align-items: start; padding-top: 34px; padding-bottom: 80px; }
.cmp-draft { background: var(--warn-soft); color: #92400e; font-size: .92rem; padding: 9px 0; border-bottom: 1px solid #f5d9a8; }
.cmp-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.cmp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cmp-meta .icon { width: 15px; height: 15px; }
.cmp-disclosure { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 11px 14px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2); font-size: .93rem; }
.cmp-disclosure .icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-ink); }
.cmp-list { display: grid; gap: 12px; margin-top: 22px; }
.cmp-item { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-2); }
.cmp-item:hover { border-color: var(--brand); text-decoration: none; }
.cmp-item strong { font: 700 1.08rem/1.35 var(--display); color: var(--ink); }
.cmp-item small { color: var(--muted); font-size: .84rem; }
.cmp-empty { margin-top: 22px; color: var(--ink-2); }
.cmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp-table table { font-size: .9rem; }
.cmp-table th[scope=row] { background: var(--surface); font-weight: 600; white-space: normal; min-width: 170px; position: sticky; left: 0; z-index: 1; }
.cmp-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.cmp-table td { min-width: 130px; }
.cmp-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.cmp-table .cmp-us { background: #f7f6ff; }
.cmp-table td.cmp-us { min-width: 175px; }
.cmp-table thead .cmp-us { background: var(--brand-soft); color: var(--brand-ink); }
.cmp-table thead a { color: var(--ink); }
.cmp-yes, .cmp-option, .cmp-no { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.cmp-yes .icon, .cmp-option .icon, .cmp-no .icon { width: 15px; height: 15px; }
.cmp-yes { color: var(--ok); }
.cmp-option { color: var(--brand-ink); }
.cmp-partial { color: var(--warn); font-weight: 600; }
.cmp-no { color: var(--muted); }
.cmp-text { color: var(--ink); }
.cmp-unknown { color: var(--muted); font-style: italic; }
.cmp-todo { display: inline-block; padding: 2px 7px; border-radius: 6px; background: var(--bad-soft); color: #b91c1c; font-size: .78rem; font-weight: 650; }
.cmp-checked { margin-top: 8px; color: var(--muted); font-size: .84rem; }
.cmp-others { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.cmp-others h2 { font: 700 1.1rem var(--display); }
.cmp-others ul { margin-top: 10px; display: grid; gap: 6px; }

/* ── Écrans plus étroits ─────────────────────────────────── */
@media (max-width: 1180px) {
    .doc-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 34px; }
    .cmp-layout { grid-template-columns: minmax(0, 1fr); }
    .doc-toc { display: none; }
    .doc-toc-mobile { display: block; }
}
@media (max-width: 960px) {
    .doc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doc-layout { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 16px; }
    .cmp-layout { padding-top: 16px; }
    .doc-side { position: static; max-height: none; overflow: visible; }
    .doc-side-mobile { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
    .doc-side-mobile > summary { display: flex; align-items: center; gap: 8px; font-weight: 650; cursor: pointer; }
    .doc-side-mobile > summary .icon { width: 17px; height: 17px; }
    .doc-side-list { margin-top: 8px; }
    .ct-grid { grid-template-columns: minmax(0, 1fr); }
    .ct-side { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 640px) {
    .doc-cards { grid-template-columns: minmax(0, 1fr); }
    .doc-bar-in { flex-direction: column; align-items: stretch; gap: 8px; }
    .doc-bar .doc-search { width: 100%; }
    .doc-search kbd { display: none; }
    .doc-next { grid-template-columns: minmax(0, 1fr); }
    .doc-next-next { grid-column: 1; }
    .doc-steps > li { padding-left: 38px; }
    .cmp-table th[scope=row] { min-width: 120px; }
    .cmp-table td { min-width: 112px; }
    .ct-form { padding: 20px; }
    .ct-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ct-reason-box small { display: none; }
    .cl-day { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cl-date { position: static; }
    .cl-item { grid-template-columns: minmax(0, 1fr); gap: 5px; }
}
