/* Route / · dist/styles/famille-dossier.css */
.df-screen {
  --df-rule: #d9d1bf;
  --df-muted: #4d5668;
  --df-bronze: #806329;
  color: var(--ink, #101e49);
  background: var(--paper, #f8f6ef);
  font-family: var(--sans, Arial, sans-serif);
  min-height: 82vh;
}
.df-screen *, .df-screen *::before, .df-screen *::after { box-sizing: border-box; }
.df-screen [hidden] { display: none !important; }
.df-wrap { width: min(1112px, calc(100% - 88px)); margin-inline: auto; }
.df-screen button, .df-screen textarea { font: inherit; }
.df-screen button, .df-screen summary { cursor: pointer; }
.df-screen svg { display: block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.df-head {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(109deg, #06164c 8%, #0d267d 100%); color: #fbf6e9;
}
.df-head::before,.df-head::after {
  content: ""; position: absolute; z-index:-1; pointer-events:none;
  width: 940px; height: 445px; top: -345px; right: -203px;
  border-radius: 50%; border: 1px solid #d9b55d69; transform: rotate(-12deg);
}
.df-head::after { right: -216px; top: -335px; border-color: #e8c86a32; }
.df-head .df-wrap { padding-block: 27px 31px; }
.df-overline { display:flex; align-items:center; gap:11px; margin:0; color:var(--df-bronze); font:600 10px/1.5 var(--sans,Arial,sans-serif); letter-spacing:.17em; text-transform:uppercase; }
.df-overline > span { display:inline-block; width:24px; height:1px; background:currentColor; }
.df-overline.df-reverse { color:#e8cb81; }
.df-screen h1, .df-screen h2, .df-screen h3, .df-screen p { margin-block-start:0; }
.df-head h1 { margin:8px 0 5px; font:400 clamp(45px,5vw,74px)/1.14 var(--script,Georgia,serif); color:#f2cf74; letter-spacing:0; }
.df-head h1:focus { outline: none; }
.df-head .df-wrap > p:last-child { margin:0; font-size:15px; line-height:1.6; color:#ecebf0; }
.df-tabs-outer { background:#fffdf8; border-bottom:1px solid var(--df-rule); }
.df-tabs { display:flex; align-items:stretch; gap:clamp(14px,3vw,40px); }
.df-tabs > button {
  display:inline-flex; align-items:center; justify-content:center; gap:9px; border:0; border-bottom:3px solid transparent; color:var(--df-muted); background:transparent; margin:0; padding:18px 0 14px; white-space:nowrap; font-size:14px; font-weight:600;
}
.df-tabs > button:first-child { margin-left:0; }
.df-tabs > button[aria-selected="true"] { border-bottom-color:#b28a36; color:var(--royal,#122978); }
.df-tabs svg { width:18px; height:18px; }
.df-content { padding-block:30px 42px; }
.df-content [role="tabpanel"] > :last-child { margin-bottom:0; }
.df-grid { display:grid; grid-template-columns:minmax(0,1.22fr) minmax(0,.94fr); gap:18px; }
.df-card { border:1px solid var(--df-rule); border-radius:6px; padding:27px 29px; background:#fffdfa; }
.df-next { position:relative; overflow:hidden; background:linear-gradient(115deg,#f4edda,#fcf7ec 75%); }
.df-next h2 { margin:13px 0 10px; font:400 clamp(28px,2.8vw,40px)/1.05 var(--serif,Georgia,serif); letter-spacing:-.025em; max-width:470px; }
.df-next p:not(.df-overline) { max-width:480px; margin:0 0 18px; line-height:1.6; font-size:14px; color:var(--df-muted); }
.df-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; border:1px solid #112775; border-radius:3px; padding:10px 15px; min-height:40px; background:#122777; color:white; font-size:14px!important; font-weight:600!important; }
.df-button:hover { background:#0c1d60; }
.df-button svg { width:15px; height:15px; }
.df-card-heading, .df-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.df-card-heading h2 { margin:0; font:400 clamp(24px,2.2vw,33px)/1.15 var(--serif,Georgia,serif); letter-spacing:-.022em; }
#df-ratio, .df-count { font-size:13px; color:var(--df-bronze); white-space:nowrap; }
#df-progress { height:5px; width:100%; margin:17px 0 12px; border:none; appearance:none; border-radius:9px; overflow:hidden; vertical-align:top; background:#eae5d8; color:var(--df-bronze); }
#df-progress::-webkit-progress-bar { background:#eae5d8; }
#df-progress::-webkit-progress-value { background:#9b813f; }
#df-progress::-moz-progress-bar { background:#9b813f; }
.df-mini-steps { padding:0; margin:0; list-style:none; }
.df-mini-steps li { position:relative; display:flex; align-items:center; gap:12px; padding:7px 0; color:var(--df-muted); font-size:13px; line-height:1.4; }
.df-marker { width:17px; height:17px; flex:none; border:1px solid #c1c4c7; background:#fffdfa; border-radius:50%; display:grid; place-items:center; font:600 11px/1 var(--sans,Arial,sans-serif); }
.df-marker.done { background:#dce5db; color:#3c5748; border-color:#c4d2c6; }
.df-marker.current { border:1px solid #b09756; background:radial-gradient(circle,#a78a47 0 3px,transparent 3.5px); }
.df-quick-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:18px; }
.df-quick { appearance:none; display:flex; align-items:center; gap:14px; text-align:left; border:1px solid var(--df-rule); background:#fffdfa; padding:17px 21px; border-radius:5px; color:var(--ink,#101e49); text-decoration:none; }
.df-quick:hover { border-color:#aa904a; }
.df-quick-icon { width:39px; height:41px; flex:none; display:grid; place-items:center; background:#f1eadb; border-radius:4px; color:#8b6d36; }
.df-quick:nth-child(2) .df-quick-icon { color:#324c85; background:#e9edf6; }
.df-quick strong { display:block; font:400 22px/1.15 var(--serif,Georgia,serif); letter-spacing:-.025em; }
.df-quick small { display:block; margin-top:4px; color:var(--df-muted); font-size:12px; line-height:1.5; }
.df-quick .df-quick-arrow { margin-left:auto; width:16px; }
.df-panel-heading h2 { margin:7px 0 0; font:400 clamp(31px,3.5vw,47px)/1.07 var(--serif,Georgia,serif); letter-spacing:-.035em; }
.df-intro { margin:15px 0 20px; line-height:1.6; color:var(--df-muted); max-width:730px; font-size:15px; }
.df-checklist, .df-documents { max-width:835px; background:#fffdfa; border:1px solid var(--df-rule); border-radius:5px; }
.df-check { padding:17px 21px; display:flex; gap:14px; align-items:flex-start; cursor:pointer; }
.df-check + .df-check, .df-documents details + details { border-top:1px solid var(--df-rule); }
.df-check input { appearance:auto; width:19px; height:19px; flex:0 0 19px; margin:3px 0 0; accent-color:#23377c; }
.df-check strong, .df-documents summary span { display:block; font:400 23px/1.22 var(--serif,Georgia,serif); }
.df-check small, .df-documents small { display:block; margin-top:4px; color:var(--df-muted); font:400 13px/1.5 var(--sans,Arial,sans-serif); }
.df-text-link { display:inline-flex; align-items:center; gap:9px; color:#203a71; font-weight:600; text-underline-offset:4px; margin-top:21px; }
.df-text-link svg { width:16px; height:16px; }
.df-entry { max-width:835px; padding:21px 25px; background:#fffdf9; border:1px solid var(--df-rule); border-left:3px solid #b79956; }
.df-entry + .df-entry { margin-top:10px; }
.df-entry p { color:#243650; font:italic 22px/1.36 var(--serif,Georgia,serif); overflow-wrap:anywhere; white-space:pre-line; margin:0 0 8px; }
.df-entry small, .df-hint { font-size:12px; color:var(--df-muted); line-height:1.5; }
.df-add { max-width:835px; margin-top:17px; }
.df-add summary { padding:8px 0; color:#263c75; font:600 14px/1.5 var(--sans,Arial,sans-serif); }
.df-add form { display:grid; gap:10px; background:#fffdf9; padding:18px; border:1px solid var(--df-rule); }
.df-add label { font-size:14px; font-weight:600; }
.df-add textarea { width:100%; border:1px solid #a39f94; border-radius:3px; min-height:70px; padding:10px; resize:vertical; color:var(--ink,#101e49); background:white; }
.df-add .df-hint { margin:0; }
.df-add .df-button { justify-self:start; }
.df-documents summary { padding:15px 20px; list-style:none; display:flex; gap:13px; align-items:center; }
.df-documents summary::-webkit-details-marker { display:none; }
.df-documents summary::after { content:'+'; color:#806329; font-size:22px; margin-left:auto; }
.df-documents details[open] summary::after { content:'−'; }
.df-documents summary svg { width:23px; height:23px; color:#806329; }
.df-doc-body { margin:0 21px; padding:20px 0; border-top:1px solid var(--df-rule); color:#455267; line-height:1.65; font-size:14px; }
.df-doc-body h3 { font:400 26px/1.15 var(--serif,Georgia,serif); color:var(--ink,#101e49); margin:9px 0; }
.df-doc-body ul { padding-left:20px; margin:10px 0 0; }
.df-doc-body table { width:100%; max-width:610px; border-collapse:collapse; margin:15px 0; }
.df-doc-body caption { text-align:left; font-style:italic; font-size:13px; color:var(--df-muted); }
.df-doc-body th, .df-doc-body td { padding:7px 9px; text-align:left; border-bottom:1px solid var(--df-rule); }
.df-doc-body th { font-size:13px; }
.df-doc-body th:last-child, .df-doc-body td:last-child { text-align:right; }
.df-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.df-screen :focus-visible { outline:3px solid #97702d; outline-offset:3px; }
@media (max-width:800px) {
  .df-wrap { width:calc(100% - 48px); }
  .df-tabs { gap:20px; }
  .df-tabs > button { font-size:13px; }
  .df-card { padding:22px; }
  .df-quick strong { font-size:20px; }
}
@media (max-width:640px) {
  .df-wrap { width:calc(100% - 36px); }
  .df-head .df-wrap { padding:23px 0 24px; }
  .df-head h1 { font-size:clamp(39px,10vw,54px); margin:8px 0; }
  .df-head .df-wrap > p:last-child { font-size:14px; }
  .df-overline { font-size:9px; letter-spacing:.12em; }
  .df-overline > span { width:20px; }
  .df-tabs { display:grid; grid-template-columns:1fr 1.3fr; gap:0 10px; }
  .df-tabs > button { justify-content:flex-start; gap:7px; padding:10px 2px 7px; min-height:41px; font-size:12px; }
  .df-tabs > button svg { width:16px; height:16px; }
  .df-content { padding:18px 0 28px; }
  .df-grid,.df-quick-grid { grid-template-columns:1fr; gap:11px; }
  .df-quick-grid { margin-top:11px; }
  .df-card { padding:19px; }
  .df-next h2 { font-size:31px; }
  .df-quick { padding:14px; gap:10px; }
  .df-quick strong { font-size:19px; }
  .df-quick small { font-size:12px; }
  .df-panel-heading { align-items:flex-start; flex-direction:column; gap:7px; }
  .df-intro { margin-top:11px; font-size:14px; }
  .df-check { padding:14px; }
  .df-documents summary { padding:14px; }
  .df-check strong, .df-documents summary span { font-size:20px; }
  .df-entry { padding:16px 18px; }
  .df-entry p { font-size:20px; }
}

.df-procedures-links { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin:24px 0 0; }
.df-procedures-links .df-text-link { margin:0; }
@media (min-width:641px) and (max-width:900px) {
  .df-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 10px; }
  .df-tabs > button { justify-content:flex-start; padding:10px 0; white-space:normal; }
}
@media (max-width:640px) {
  .df-tabs { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 6px; }
  .df-tabs > button { font-size:12px; gap:5px; white-space:normal; text-align:left; }
  .df-procedures-links { align-items:flex-start; }
}

/* Navigation du compte sur les écrans du dossier et de l’assistant. */
.df-account-nav { background: #fcf9f1; border-bottom: 1px solid #d9d1bf; color: #142a63; }
.df-account-links {
  max-width: 1112px; width: calc(100% - 32px); margin: 0 auto;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0 clamp(8px,2vw,28px);
}
.df-account-links a, .df-account-links button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 5px 0; color: inherit;
  font: 400 .875rem/1.4 var(--sans,Arial,sans-serif); text-underline-offset: 4px;
}
.df-account-links a { text-decoration: none; }
.df-account-links a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-decoration-color: #8a631c; }
.df-account-links a:hover, .df-account-links button:hover { text-decoration: underline; }
.df-account-links button { margin-left: auto; border: 0; background: transparent; }
@media print { .df-account-nav { display: none !important; } }
