/* Ateliers thérapeutiques : utilise la palette et les typographies du campus. */
.therapy-hub{background:var(--night);color:#f7f3e9;padding:30px 34px;border-radius:14px;margin:0 0 30px;display:flex;align-items:center;justify-content:space-between;gap:24px}.therapy-hub h2{font-size:30px;margin:8px 0 12px}.therapy-hub p{color:#c9d7d1;max-width:650px;font-size:14px;line-height:1.8;margin:0}.therapy-hub .eyebrow{color:var(--gold)}.therapy-hub .btn{flex-shrink:0}.therapy-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:25px}.therapy-filters a{border:1px solid var(--line);padding:9px 17px;border-radius:24px;font-size:12px;background:var(--white)}.therapy-filters a[aria-current=page]{background:var(--night);color:white;border-color:var(--night)}.therapy-card{border-top:3px solid var(--primary)}.therapy-card-meta{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font-size:11px;margin:8px 0 19px}.therapy-workshop{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:32px;min-width:0}.therapy-intro{border-bottom:1px solid var(--line);padding-bottom:26px;margin-bottom:30px}.therapy-mode{display:flex;flex-wrap:wrap;gap:8px}.therapy-mode button{border:1px solid var(--line);background:transparent;color:var(--ink);border-radius:7px;padding:11px 15px;font:inherit;font-size:12px;cursor:pointer}.therapy-mode button[aria-pressed=true]{background:var(--night);color:white;border-color:var(--night)}.therapy-mode-description,.therapy-professional,.therapy-help,.therapy-bridge{font-size:13px;line-height:1.85}.therapy-mode-description{margin:15px 0;color:var(--muted)}.therapy-professional{padding:17px 20px;background:var(--surface-soft);border-radius:8px;margin:18px 0}.therapy-professional strong{display:block;margin-bottom:5px}.therapy-objectives{font-size:13px;line-height:1.85}.therapy-objectives summary,.therapy-sources summary,.therapy-history summary{cursor:pointer;font-weight:600;padding:10px 0;min-height:44px}.therapy-case-picker{display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center}.therapy-case-picker label{grid-column:1/-1;font-size:12px;font-weight:600}.therapy-case-picker select{width:100%;min-width:0;padding:12px 10px;border:1px solid var(--line);border-radius:6px;background:var(--white);font:inherit;font-size:13px;color:var(--ink)}.therapy-case-picker>span{font-size:11px;color:var(--muted)}.therapy-case-top{display:flex;justify-content:space-between;align-items:start;gap:18px}.therapy-case-top h2{font-size:31px;margin:11px 0 17px}.therapy-status{font-size:11px;color:var(--green);background:var(--surface-soft);border-radius:18px;padding:8px 12px;white-space:nowrap}.therapy-clues{margin:25px 0}.therapy-clues h3{font-size:22px;margin-bottom:5px}.therapy-clues>p{font-size:12px;color:var(--muted);margin:0 0 13px}.therapy-clue{border:1px solid var(--line);border-radius:7px;margin-bottom:9px;overflow:hidden}.therapy-clue button{display:flex;justify-content:space-between;align-items:center;gap:15px;width:100%;text-align:left;background:var(--surface-soft);border:0;padding:13px 16px;color:var(--ink);font:inherit;font-size:13px;cursor:pointer;min-height:46px}.therapy-clue button span{font-size:19px}.therapy-clue p{padding:16px;margin:0;font-size:14px;line-height:1.85}.therapy-clue p[hidden]{display:none}.therapy-steps{display:flex;list-style:none;padding:0;margin:28px 0;gap:12px}.therapy-steps li{flex:1;color:var(--muted);font-size:10px;line-height:1.5;border-top:2px solid var(--line);padding-top:11px}.therapy-steps li span{display:block;font-size:12px;margin-bottom:4px}.therapy-steps li.current{color:var(--ink);border-top-color:var(--green);font-weight:600}.therapy-steps li.past{border-top-color:#9ab39c}.therapy-decision h3{font-size:25px;line-height:1.4;margin:13px 0 20px}.therapy-actions{margin:23px 0 12px;gap:12px}.therapy-help{margin:10px 0;color:var(--muted);min-height:1em}.therapy-workshop .feedback{margin-top:18px;font-size:14px;line-height:1.85}.therapy-workshop .feedback p{margin:10px 0}.therapy-follow{border-top:1px solid #b9ccbd;padding-top:13px;margin-top:15px}.therapy-bridge{padding:13px 16px;border-left:3px solid var(--gold);background:var(--surface-soft)}.therapy-alert{background:#f7e9e0;border-left:3px solid #ad553c;padding:16px 19px;border-radius:5px;font-size:14px;line-height:1.8}.therapy-alert p{margin:7px 0 0}.therapy-summary h2{font-size:32px;margin:12px 0}.therapy-summary>p,.therapy-summary>ul{font-size:14px;line-height:1.9}.therapy-summary li{margin:9px 0}.therapy-history{border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;line-height:1.8;margin:23px 0}.therapy-history article{padding:15px 0;border-top:1px solid var(--line)}.therapy-history h3{font-size:23px}.therapy-meta,.therapy-storage{font-size:11px!important;line-height:1.8;color:var(--muted)}.therapy-sources{border-top:1px solid var(--line);margin-top:30px;padding-top:15px;font-size:12px;line-height:1.85}.therapy-sources article{margin:16px 0;padding-left:14px;border-left:2px solid var(--line)}.therapy-sources a{text-decoration:underline;text-underline-offset:3px}.therapy-sources small{display:block;color:var(--muted);margin-top:4px}.therapy-sources article p{margin:5px 0}.therapy-phase{padding:20px;background:var(--surface-soft);border-radius:9px;margin:20px 0}.therapy-phase h3{font-size:22px}.therapy-phase p{font-size:12px;line-height:1.8}.therapy-time-inputs{display:flex;gap:18px;margin:19px 0}.therapy-time-inputs label{font-size:12px;display:grid;gap:8px;flex:1;min-width:0}.therapy-time-inputs input{width:100%;min-width:0;border:1px solid var(--line);background:white;border-radius:6px;padding:9px;font:inherit;color:var(--ink)}.therapy-time-axis{display:flex;justify-content:space-between;margin:22px 42px 8px 135px;font-size:10px;color:var(--muted)}.therapy-time-row{display:grid;grid-template-columns:125px 1fr 34px;gap:10px;align-items:center;margin:12px 0;font-size:11px}.therapy-time-row strong{font-weight:500}.therapy-time-track{height:23px;background:repeating-linear-gradient(90deg,#e0e5dc 0,#e0e5dc calc(25% - 1px),#f4f5ef calc(25% - 1px),#f4f5ef 25%);position:relative;border-radius:4px;overflow:hidden}.therapy-time-track span{position:absolute;height:100%;border-radius:3px}.therapy-plan-result{border-top:1px solid var(--line);padding-top:15px;margin-bottom:0}.therapy-workshop button:focus-visible,.therapy-workshop select:focus-visible,.therapy-workshop input:focus-visible,.therapy-workshop summary:focus-visible{outline:3px solid var(--primary);outline-offset:3px}.therapy-workshop .option[aria-pressed=true]{border-color:var(--green)}
@media(max-width:700px){.therapy-hub{padding:25px;display:block}.therapy-hub .btn{margin-top:20px}.therapy-workshop{padding:23px 18px}.therapy-case-top{display:block}.therapy-status{display:inline-block;margin-bottom:15px}.therapy-case-top h2{font-size:28px}.therapy-case-picker{grid-template-columns:1fr}.therapy-mode button{flex:1}.therapy-decision h3{font-size:24px}.therapy-time-row{grid-template-columns:85px 1fr 30px;gap:7px;font-size:10px}.therapy-time-axis{margin-left:92px;margin-right:37px}.therapy-phase{padding:15px 12px}.therapy-steps{gap:8px}.therapy-actions .btn{width:100%;justify-content:center}.therapy-hub h2{font-size:28px}}
@media print{body:has(.therapy-workshop) header,body:has(.therapy-workshop) footer,body:has(.therapy-workshop) .page-top,body:has(.therapy-workshop) .therapy-intro,body:has(.therapy-workshop) .therapy-clues,body:has(.therapy-workshop) .therapy-actions,body:has(.therapy-workshop) .therapy-storage,body:has(.therapy-workshop) .lab-chapter{display:none!important}.therapy-workshop{border:0;padding:0}.therapy-history{display:block!important}.therapy-history>*,.therapy-sources>*{display:block!important}.therapy-history article,.therapy-sources article{break-inside:avoid}.therapy-summary,.therapy-case-top{color:#000!important}.therapy-sources{font-size:10pt}.therapy-summary>p,.therapy-summary>ul,.therapy-history{font-size:11pt}.therapy-case-top:before{content:'Somnologie · Bilan pédagogique · Situation fictive';display:block;font-size:11pt}}
