/* Réglages Graphite et formats du compte rendu : HTML natif, aucun script requis. */
.prefs-header{background:var(--ink);color:var(--white);border-radius:18px;padding:28px 32px;margin-bottom:24px}
.prefs-header h1{margin:6px 0 10px;color:var(--white);font-size:32px;letter-spacing:-1.3px;font-weight:550}
.prefs-header p{margin:0;color:#A1A1AA}
.prefs-header .eyebrow{font-size:11px;letter-spacing:.11em;text-transform:uppercase;color:#D4D4D8}
.prefs-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;max-width:1120px;margin-inline:auto;align-items:start}
.prefs-nav{display:grid;gap:4px;position:sticky;top:90px;align-content:start}
.prefs-nav a{display:block;padding:11px 12px;border-radius:8px;color:var(--muted);font-size:13px;font-weight:500;text-decoration:none}
.prefs-nav a:hover,.prefs-nav a:focus-visible{color:var(--ink);background:var(--sunken)}
.prefs-content,.prefs-form{display:grid;gap:18px;min-width:0}
.prefs-card{padding:0!important;border-radius:13px;overflow:hidden;scroll-margin-top:100px}
.prefs-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--line)}
.prefs-card-head h2{margin:0;font-size:15px;font-weight:600;letter-spacing:-.3px}
.prefs-card-head .small{font-size:11px;text-align:right}
.prefs-help{margin:0;padding:14px 20px;color:var(--muted);font-size:12px;line-height:1.6}
.prefs-toggle-row{display:flex!important;align-items:center;justify-content:space-between;gap:24px;padding:16px 20px;border-top:1px solid var(--line);cursor:pointer}
.prefs-toggle-row>span{display:grid;gap:5px;min-width:0}
.prefs-toggle-row strong{font-size:13px;font-weight:500}
.prefs-toggle-row small{font-size:12px;color:var(--muted);font-weight:400;line-height:1.5}
.prefs-toggle-row input{appearance:none!important;display:block;flex:none;width:36px!important;height:22px!important;min-height:0!important;border:1px solid var(--line-strong)!important;border-radius:20px!important;background:var(--line)!important;padding:2px!important;margin:0;cursor:pointer;position:relative}
.prefs-toggle-row input::after{content:"";position:absolute;width:16px;height:16px;left:2px;top:2px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #09090b20}
.prefs-toggle-row input:checked{background:var(--ink)!important;border-color:var(--ink)!important}
.prefs-toggle-row input:checked::after{left:16px}
.prefs-toggle-row input:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.prefs-models{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:8px 20px 20px;border:0;min-width:0}
.prefs-model{display:flex!important;align-items:flex-start;gap:9px;padding:14px 12px;border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:12px!important;font-weight:500;line-height:1.5;overflow-wrap:anywhere}
.prefs-model input{width:15px!important;height:15px!important;min-height:0!important;flex:none;padding:0!important;margin:2px 0 0;accent-color:var(--ink)}
.prefs-model:has(input:checked){border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.prefs-model-custom{border-style:dashed}
.prefs-custom{border-top:1px solid var(--line);padding:14px 20px}
.prefs-custom summary{cursor:pointer;font-size:13px;font-weight:500;min-height:28px}
.prefs-custom-fields,.prefs-card-body,.prefs-card-body form{display:grid;gap:12px;min-width:0}
.prefs-custom-fields{padding-top:12px}
.prefs-custom-fields label,.prefs-card-body label{font-size:12px;font-weight:500}
.prefs-content input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.prefs-content textarea,.prefs-content select{width:100%;min-width:0;background:var(--bg);border:1px solid var(--line-strong);border-radius:9px;padding:11px 12px;color:var(--ink);font:inherit;line-height:1.5}
.prefs-content textarea{resize:vertical}
.prefs-content .button{justify-self:start;min-height:42px}
.prefs-card-body{padding:20px;font-size:13px;line-height:1.7}
.prefs-card-body p{margin:0}
.prefs-card-body details p{margin-top:12px}
.prefs-card-body summary{cursor:pointer;font-weight:550}
.prefs-error{border:1px solid var(--ink);color:var(--ink)}
.prefs-form{scroll-margin-top:100px}
.report-formats{display:grid;gap:14px;min-width:0}
.report-format{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;scroll-margin-top:100px}
.report-format>summary{list-style:none;display:flex;align-items:center;gap:14px;padding:18px 20px;cursor:pointer;min-height:58px;font-size:14px;font-weight:550}
.report-format>summary::-webkit-details-marker{display:none}
.report-format>summary::before{content:"+";font-size:17px;line-height:1;width:16px;color:var(--muted)}
.report-format[open]>summary::before{content:"−"}
.report-format[open]>summary{border-bottom:1px solid var(--line)}
.report-format>summary small{margin-left:auto;color:var(--muted);font-size:11px;font-weight:400;text-align:right}
.report-format>.doc{border:0;border-radius:0;margin:0}
.report-format-body{display:grid;gap:14px;padding:20px;font-size:13px;line-height:1.7;min-width:0;overflow-wrap:anywhere}
.report-format-body h3{font-size:13px;letter-spacing:0;margin:0;font-weight:600}
.report-format-body ul{padding-left:18px;margin:0;display:grid;gap:8px}
.report-format-body p{margin:0}
.report-format-body .button{justify-self:start}
.followup-draft{width:100%;min-width:0;resize:vertical;border:1px solid var(--line);border-radius:10px;padding:16px;background:var(--bg);color:var(--ink);font:inherit;line-height:1.7}
.report-formats-settings{margin:0 4px}
.report-mindmap{display:grid;gap:24px;padding:8px 0;min-width:0}
.mindmap-root{justify-self:start;padding:12px 18px;border-radius:10px;background:var(--ink);color:var(--white);font-weight:550;max-width:100%}
.report-format-body ul.mindmap-branches{list-style:none;padding-left:20px;border-left:1px solid var(--line-strong);gap:20px;margin-left:15px}
.mindmap-branches>li{border:1px solid var(--line);border-radius:10px;padding:14px;position:relative;display:grid;gap:12px;background:var(--bg)}
.mindmap-branches>li::before{content:"";position:absolute;left:-21px;top:22px;width:20px;border-top:1px solid var(--line-strong)}
.mindmap-branches strong{font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.mindmap-branches p{font-size:12px;line-height:1.7;color:var(--muted)}
@media(max-width:900px){.prefs-layout{grid-template-columns:160px minmax(0,1fr);gap:18px}.prefs-models{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.prefs-header{padding:24px 20px;margin-bottom:16px}.prefs-header h1{font-size:28px}.prefs-layout{display:block}.prefs-nav{position:static;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:20px}.prefs-nav a{padding:10px 12px;background:var(--surface);border:1px solid var(--line);font-size:12px}.prefs-card-head,.prefs-toggle-row,.prefs-card-body,.prefs-custom{padding:16px}.prefs-card-head{align-items:flex-start}.prefs-card-head .small{max-width:110px}.prefs-help{padding:12px 16px}.prefs-models{padding:6px 16px 16px;gap:8px}.prefs-model{padding:12px 10px}.prefs-content input:not([type=checkbox]):not([type=radio]),.prefs-content textarea,.prefs-content select{font-size:16px}.report-format>summary{padding:16px;gap:9px}.report-format>summary small{max-width:95px}.report-format-body{padding:16px}.followup-draft{font-size:16px}.report-format-body ul.mindmap-branches{margin-left:5px;padding-left:13px}.mindmap-branches>li::before{left:-14px;width:13px}}
@media(prefers-reduced-motion:reduce){.prefs-toggle-row input::after{transition:none}}
