/* Satisfaction Studio V3 */
.st-tabs{display:flex;gap:.35rem;margin:-.55rem 0 1.2rem;padding:.3rem;background:var(--bg-soft);border-radius:11px;width:max-content;max-width:100%;overflow:auto}.st-tabs button{border:0;background:transparent;padding:.58rem .85rem;border-radius:8px;font-weight:800;color:var(--text-mute);cursor:pointer;white-space:nowrap}.st-tabs button.is-on{background:#fff;color:var(--brun-fonce);box-shadow:0 2px 8px #55342114}.st-report-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}.st-report-card{display:grid;grid-template-columns:125px 1fr;grid-template-rows:1fr auto;gap:.9rem;background:var(--bg-elev);border:1px solid var(--border);border-radius:15px;padding:1rem;box-shadow:var(--shadow-sm)}.st-report-card__preview{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:5px;background:#f0ece5;border:1px solid #ddd4c9;border-radius:8px;padding:7px;align-self:start;box-shadow:0 4px 12px #35291f14}.st-report-card__preview--portrait{width:88px;height:122px;margin:auto}.st-report-card__preview--landscape{width:125px;height:88px}.st-report-card__preview span{border-radius:4px;background:#fff;border-left:3px solid var(--corail)}.st-report-card__body h3{margin:.45rem 0 .3rem;font-size:1rem}.st-report-card__body p{margin:0 0 .5rem;color:var(--text-mute);font-size:.78rem;line-height:1.45}.st-report-card__body small{font-size:.67rem;color:var(--text-mute)}.st-report-card__body .badge{margin-right:.25rem}.st-report-card__actions{grid-column:1/-1;display:flex;gap:.4rem;border-top:1px solid var(--border);padding-top:.75rem}.st-report-card__actions .st-open{flex:1}
.st-editor{position:fixed;inset:0 0 0 var(--sidebar-w,245px);z-index:800;background:#ece8e1;display:grid;grid-template-rows:auto 1fr;min-width:900px}.st-editor-bar{min-height:64px;background:#fff;border-bottom:1px solid #d9d2c8;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.55rem .8rem;box-shadow:0 2px 12px #35291f12;z-index:3}.st-editor-bar__left,.st-editor-bar__right,.st-editor-bar__center{display:flex;align-items:center;gap:.45rem}.st-editor-bar__left>div{display:grid}.st-title-input{font-size:.95rem;font-weight:850;border:0;background:transparent;padding:.15rem .25rem;min-width:210px;max-width:330px}.st-title-input:focus{outline:2px solid #e9664633;border-radius:5px}.st-editor-bar small{font-size:.62rem;color:var(--text-mute);padding-left:.3rem}.st-editor-bar small.is-dirty{color:#b55c12}.st-period{display:flex;gap:.3rem;align-items:center}.st-period select,.st-period input{height:34px;min-width:90px;max-width:185px;padding:.25rem .4rem;font-size:.72rem}.st-zoom{display:flex;align-items:center;gap:.3rem;font-size:.68rem;color:var(--text-mute)}.st-zoom input{width:80px}.st-editor-grid{min-height:0;display:grid;grid-template-columns:190px minmax(570px,1fr) 285px}.st-palette,.st-properties{background:#fff;min-height:0;overflow-y:auto}.st-palette{border-right:1px solid #d9d2c8;padding:.8rem}.st-properties{border-left:1px solid #d9d2c8;padding:.85rem}.st-palette__head{padding:.15rem .15rem .8rem}.st-palette__head strong{font-size:.82rem}.st-palette__head p{font-size:.67rem;color:var(--text-mute);margin:.25rem 0 0}.st-palette section{border-top:1px solid var(--border);padding:.7rem 0}.st-palette h3{font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;color:var(--text-mute);margin:0 0 .45rem}.st-palette-item{width:100%;display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:.35rem;padding:.48rem;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--brun-fonce);text-align:left;font-size:.74rem;font-weight:750;cursor:pointer}.st-palette-item:hover{background:var(--bg-soft);border-color:var(--border)}.st-workspace{min-width:0;display:grid;grid-template-rows:42px 1fr}.st-page-tabs{display:flex;gap:.2rem;align-items:end;padding:.35rem .7rem 0;background:#dfdbd4;border-bottom:1px solid #cfc7bc;overflow:auto}.st-page-tabs button{border:1px solid #ccc3b8;border-bottom:0;background:#ebe7e0;padding:.48rem .75rem;border-radius:7px 7px 0 0;font-size:.69rem;font-weight:800;cursor:pointer;white-space:nowrap}.st-page-tabs button.is-on{background:#fff;color:var(--corail);padding-bottom:.55rem}.st-page-tabs .st-page-add{font-size:1rem;padding:.34rem .65rem}.st-canvas-scroll{overflow:auto;padding:34px;position:relative;background:#d9d5ce;background-image:radial-gradient(#a99f9444 1px,transparent 1px);background-size:16px 16px}.st-page-wrap{position:relative;margin:0 auto 50px;filter:drop-shadow(0 10px 24px #35291f32)}.st-page{position:absolute;left:0;top:0;transform-origin:0 0;overflow:hidden;box-sizing:border-box;background-color:#fff;background-image:linear-gradient(to right,rgba(89,72,56,.055) 1px,transparent 1px),linear-gradient(to bottom,rgba(89,72,56,.055) 1px,transparent 1px);background-size:var(--st-col) var(--st-row)}.st-page.is-preview{background-image:none}.st-widget{position:absolute;overflow:hidden;box-sizing:border-box;box-shadow:0 2px 8px #5534210d;transition:box-shadow .12s}.st-widget:hover{box-shadow:0 3px 13px #55342120}.st-widget.is-selected{outline:2px solid #4f8cff;outline-offset:1px;z-index:20}.st-widget__content{height:100%;min-height:0;overflow:hidden}.st-widget__drag{position:absolute;top:4px;left:4px;z-index:8;width:27px;height:24px;display:grid;place-items:center;border:0;border-radius:5px;background:#4f8cff;color:#fff;cursor:move;opacity:0}.st-widget__menu{position:absolute;top:4px;left:35px;z-index:8;border:0;border-radius:5px;background:#35291fd9;color:#fff;font-size:9px;padding:5px 7px;opacity:0;pointer-events:none}.st-widget:hover .st-widget__drag,.st-widget.is-selected .st-widget__drag,.st-widget:hover .st-widget__menu,.st-widget.is-selected .st-widget__menu{opacity:1}.st-resize{position:absolute;right:0;bottom:0;width:17px;height:17px;background:linear-gradient(135deg,transparent 48%,#4f8cff 50%);cursor:nwse-resize;z-index:9}.st-widget-loading{height:100%;display:grid;place-content:center;text-align:center;gap:.2rem}.st-widget-loading strong{font-size:.8rem}.st-widget-loading span{font-size:.68rem;color:var(--text-mute)}.st-widget-error{font-size:.72rem;color:#a1251d;background:#fff0ef;border:1px solid #efbbb7;border-radius:7px;padding:.5rem}.st-properties .field{margin-bottom:.75rem}.st-properties .field>label{font-size:.62rem}.st-properties input,.st-properties select,.st-properties textarea{font-size:.73rem;padding:.48rem}.st-prop-head{display:flex;justify-content:space-between;align-items:center;padding-bottom:.7rem;margin-bottom:.8rem;border-bottom:1px solid var(--border)}.st-prop-head strong{font-size:.85rem}.st-prop-actions{display:flex;gap:.35rem;margin-top:.75rem;flex-wrap:wrap}.st-details{border-top:1px solid var(--border);padding:.7rem 0}.st-details summary{font-size:.7rem;font-weight:850;cursor:pointer;color:var(--brun-fonce);margin-bottom:.6rem}.st-pos-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.45rem}.st-pos-grid label{font-size:.62rem;font-weight:800;color:var(--text-mute)}.st-pos-grid input{margin-top:.2rem}.st-formula-chips{display:flex;gap:.25rem;flex-wrap:wrap;margin:.35rem 0}.st-chip{border:1px solid #d8d0c6;background:#f7f4ef;border-radius:999px;padding:.25rem .42rem;font-size:.59rem;font-weight:750;cursor:pointer;color:#634b38}.st-chip:hover{border-color:var(--corail);color:var(--corail)}.st-formula-preview{margin-top:.7rem;padding:.75rem;border:1px dashed #cfc4b7;border-radius:9px;background:#faf8f4;font-size:.78rem}.st-formula-preview small{display:block;color:var(--text-mute);margin-top:.25rem}.st-code-wrap{display:block;max-width:450px;white-space:normal;overflow-wrap:anywhere}.st-editor.is-preview .st-editor-grid{grid-template-columns:1fr}.st-editor.is-preview .st-palette,.st-editor.is-preview .st-properties,.st-editor.is-preview .st-page-tabs{display:none}.st-editor.is-preview .st-workspace{grid-template-rows:1fr}.st-editor.is-preview .st-canvas-scroll{padding-top:42px}
.st-kpi{height:100%;display:flex;flex-direction:column;justify-content:center;min-height:0}.st-kpi span{font-size:.72rem;font-weight:800;color:var(--text-mute)}.st-kpi strong{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.8rem);line-height:1;color:var(--st-accent);margin:.25rem 0}.st-kpi small{font-size:.62rem;color:var(--text-mute)}.st-widget-title{font-size:.82rem;font-weight:850;margin-bottom:.35rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-chart{width:100%;height:calc(100% - 28px);overflow:visible}.st-chart text{font-family:inherit;fill:currentColor}.st-gauge{height:100%;display:grid;grid-template-rows:auto 1fr;text-align:center}.st-gauge h3{font-size:.78rem;margin:0}.st-gauge__ring{--p:0;width:min(130px,75%);aspect-ratio:1;margin:auto;border-radius:50%;background:conic-gradient(var(--st-accent) calc(var(--p)*1%),#ece9e4 0);display:grid;place-items:center}.st-gauge__ring>div{width:72%;height:72%;border-radius:50%;background:#fff;display:grid;place-content:center}.st-gauge strong{font-size:1rem}.st-gauge small{font-size:.56rem;color:var(--text-mute)}.st-data-table{height:calc(100% - 28px);overflow:auto}.st-data-table table{width:100%;border-collapse:collapse;font-size:.68rem}.st-data-table th,.st-data-table td{padding:.37rem .42rem;border-bottom:1px solid var(--border);text-align:left}.st-data-table th{position:sticky;top:0;background:#f5f1eb;color:var(--brun-fonce)}.st-comments{display:grid;gap:.35rem;overflow:auto;height:calc(100% - 28px);padding-right:.15rem}.st-comment{border-left:4px solid #9b9288;border-radius:6px;background:#f8f6f2;padding:.42rem .55rem}.st-comment--positive{border-left-color:#4e9d68}.st-comment--negative{border-left-color:#d24d45}.st-comment--neutral{border-left-color:#d99b2b}.st-comment header{display:flex;gap:.35rem;flex-wrap:wrap;font-size:.56rem;color:var(--text-mute)}.st-comment p{font-size:.68rem;line-height:1.35;margin:.25rem 0 0}.st-objective-list{display:grid;gap:.4rem;overflow:auto;height:calc(100% - 28px)}.st-objective-mini{padding:.45rem;border:1px solid var(--border);border-left:4px solid #d24d45;border-radius:7px;background:#fff}.st-objective-mini--success{border-left-color:#4e9d68}.st-objective-mini--warning{border-left-color:#d99b2b}.st-objective-mini>div{display:flex;justify-content:space-between;gap:.3rem;font-size:.64rem}.st-objective-mini>div span{font-size:.56rem}.st-objective-mini p{font-size:.8rem;margin:.25rem 0}.st-objective-mini p small{font-size:.58rem;color:var(--text-mute)}.st-objective-mini i{display:block;height:5px;border-radius:99px;background:#ece9e4;overflow:hidden}.st-objective-mini i b{display:block;height:100%;background:var(--st-accent)}.st-free-text{height:100%;display:flex;align-items:center;white-space:pre-wrap;line-height:1.25}.st-free-text--title{font-family:var(--font-display);font-size:2rem;font-weight:900}.st-free-text--subtitle{font-size:1.2rem;font-weight:800}.st-free-text--body{font-size:.84rem}.st-free-text--small{font-size:.65rem}.st-image{width:100%;height:100%;display:block}.st-divider{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}
.st-objective-toolbar,.st-data-toolbar{display:flex;gap:.45rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}.st-objective-toolbar select,.st-objective-toolbar input,.st-data-toolbar select,.st-data-toolbar input{max-width:240px}.st-objectives-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:.8rem}.st-objective-card{border:1px solid var(--border);border-left:5px solid #d24d45;border-radius:12px;background:#fff;padding:.85rem;box-shadow:var(--shadow-sm)}.st-objective-card--success{border-left-color:#4e9d68}.st-objective-card--warning{border-left-color:#d99b2b}.st-objective-card header{display:flex;justify-content:space-between;gap:.7rem}.st-objective-card header span{font-size:.62rem;color:var(--text-mute)}.st-objective-card h3{margin:.15rem 0;font-size:.9rem}.st-objective-card header>strong{font-size:.68rem;white-space:nowrap}.st-objective-card p{font-size:.72rem;color:var(--text-mute);min-height:2em}.st-objective-card__value{display:flex;align-items:end;gap:.45rem;margin:.55rem 0}.st-objective-card__value b{font-family:var(--font-display);font-size:1.7rem}.st-objective-card__value span{font-size:.68rem;color:var(--text-mute);padding-bottom:.2rem}.st-objective-card__bar{height:7px;border-radius:99px;background:#ece9e4;overflow:hidden}.st-objective-card__bar i{display:block;height:100%;background:var(--corail)}.st-objective-card code{display:block;margin-top:.55rem;white-space:normal;overflow-wrap:anywhere;font-size:.62rem}.st-objective-card footer{display:flex;gap:.35rem;margin-top:.7rem;padding-top:.6rem;border-top:1px solid var(--border)}
@media(max-width:1200px){.st-editor{left:0}.st-editor-grid{grid-template-columns:165px minmax(550px,1fr) 255px}.st-editor-bar__center{display:none}.st-editor-bar__right .st-zoom{display:none}}
@media(max-width:900px){.st-report-card{grid-template-columns:1fr}.st-report-card__preview{display:none}}
/* V3.1 — granularité, comparaisons et tableaux de questions */
.st-properties select[multiple]{min-height:135px;padding:.2rem}.st-properties select[multiple] option{padding:.32rem .4rem;border-bottom:1px solid #eee}.st-mini-result{font-size:.65rem;margin-top:.35rem;color:var(--text-mute);min-height:1em}.st-kpi__comparison{margin-top:.45rem;padding-top:.4rem;border-top:1px solid var(--border);display:grid;gap:.12rem;font-size:.62rem}.st-kpi__comparison b{font-size:.68rem}.st-inline-comparison{font-size:.62rem;margin-top:.35rem}.is-positive{color:#19733a!important;font-weight:850}.is-negative{color:#b42318!important;font-weight:850}.st-data-table{font-size:var(--st-table-font,11px)}.st-data-table table{font-size:var(--st-table-font,11px)}.st-data-table th,.st-data-table td{padding:var(--st-row-pad,7px) calc(var(--st-row-pad,7px) * .8)}.st-question-table td:first-child{min-width:220px;line-height:1.3}.st-question-table th:not(:first-child),.st-question-table td:not(:first-child){text-align:center;white-space:nowrap}.st-score-cell{border-radius:3px;background-clip:padding-box}.st-comment header strong{color:var(--brun-fonce);margin-right:auto}.st-prop-actions+.field{margin-top:.75rem}

/* V3.2 — moteur WYSIWYG commun, contrôles homogènes et Qweekle API */
.st-editor,
.st-editor * { box-sizing: border-box; }
.st-editor input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.st-editor select,
.st-editor textarea,
.st-qweekle-toolbar input,
.st-qweekle-toolbar select,
.st-properties input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.st-properties select,
.st-properties textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  border: 1px solid #d7cec3;
  border-radius: 8px;
  background: #fff;
  color: #35291f;
  font: inherit;
  line-height: 1.3;
  padding: .48rem .58rem;
  outline: 0;
  transition: border-color .14s, box-shadow .14s, background .14s;
}
.st-editor input:focus,
.st-editor select:focus,
.st-editor textarea:focus,
.st-properties input:focus,
.st-properties select:focus,
.st-properties textarea:focus {
  border-color: #4f8cff;
  box-shadow: 0 0 0 3px rgba(79,140,255,.14);
}
.st-editor textarea,
.st-properties textarea { resize: vertical; min-height: 70px; }
.st-editor input[type="color"],
.st-properties input[type="color"] { height: 38px; padding: 4px; cursor: pointer; }
.st-editor input[type="range"] { min-height: 0; padding: 0; }
.st-editor input[type="checkbox"],
.st-properties input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--corail); }
.st-properties .field,
.st-properties .field-grid-2 { min-width: 0; }
.st-properties .field > label,
.st-properties .st-padding-grid > label,
.st-calculated-row .field > label {
  display: block;
  margin: 0 0 .28rem;
  color: #6f6257;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.st-properties .field small,
.st-properties details small { display: block; margin-top: .3rem; color: var(--text-mute); font-size: .61rem; line-height: 1.35; }
.st-properties .field-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.st-properties .switch-line { display: flex; align-items: center; gap: .48rem; min-height: 34px; font-size: .69rem; font-weight: 750; }
.st-padding-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .35rem; margin: .55rem 0; }
.st-padding-grid label { min-width: 0; }
.st-padding-grid input { margin-top: .22rem; text-align: center; padding-left: .2rem!important; padding-right: .2rem!important; }
.st-details { margin: .2rem 0; border-top: 1px solid #ebe5dd; }
.st-details > summary { padding: .7rem .15rem .35rem; }
.st-details[open] > summary { color: var(--corail); }
.st-calculated-rows { display: grid; gap: .65rem; margin-bottom: .75rem; }
.st-calculated-row { border: 1px solid #ddd5cb; border-radius: 10px; background: #faf8f5; padding: .65rem; }
.st-calculated-row__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.st-calculated-row__head strong { font-size: .7rem; }
.st-calculated-row textarea { font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: .68rem; }
.st-widget { isolation: isolate; }
.st-widget__content {
  display: flex;
  flex-direction: column;
  justify-content: var(--st-v-align, start);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: inherit;
  font-size: inherit;
  line-height: inherit;
  text-align: inherit;
}
.st-widget-title {
  flex: 0 0 auto;
  color: inherit;
  font-size: var(--st-title-size,13px);
  font-weight: var(--st-title-weight,800);
  line-height: 1.18;
  margin: 0 0 .45em;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.st-data-table { width: 100%; min-height: 0; overflow: auto; }
.st-data-table table { table-layout: fixed; width: 100%; border-collapse: collapse; color: inherit; }
.st-data-table th,
.st-data-table td { border-bottom: 1px solid var(--st-table-grid,#e4ddd4); vertical-align: middle; overflow-wrap: anywhere; }
.st-data-table th { position: sticky; top: 0; z-index: 1; background: var(--st-table-head-bg,#f5f1eb); color: var(--st-table-head-color,#35291f); font-weight: 850; }
.st-data-table tbody tr:nth-child(even) td { background: rgba(120,100,80,.035); }
.st-widget.st-no-zebra .st-data-table tbody tr:nth-child(even) td { background: transparent; }
.st-calculated-table td:not(:first-child),
.st-calculated-table th:not(:first-child) { text-align: right; }
.st-kpi strong { font-size: clamp(22px,3.2em,58px); }
.st-kpi span { font-size: var(--st-title-size,13px); font-weight: var(--st-title-weight,800); }
.st-chart { min-height: 0; }
.st-chart [stroke="#ddd"] { stroke: var(--st-table-grid,#ddd); }
.st-qweekle-toolbar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .85rem; }
.st-qweekle-toolbar > * { width: auto!important; min-width: 150px!important; }
.st-qweekle-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(310px,1fr)); gap: .85rem; }
.st-qweekle-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border); border-radius: 13px; background: #fff; padding: .85rem; box-shadow: var(--shadow-sm); }
.st-qweekle-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.st-qweekle-card header > div { min-width: 0; display: grid; gap: .25rem; }
.st-qweekle-card header strong { font-size: .88rem; }
.st-qweekle-card code { display: block; width: max-content; max-width: 100%; overflow-wrap: anywhere; font-size: .62rem; }
.st-qweekle-card p { flex: 1; color: var(--text-mute); font-size: .7rem; line-height: 1.45; }
.st-qweekle-card dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; margin: .55rem 0; }
.st-qweekle-card dl div { min-width: 0; border-radius: 7px; background: #f7f4ef; padding: .45rem; }
.st-qweekle-card dt { color: var(--text-mute); font-size: .58rem; font-weight: 800; text-transform: uppercase; }
.st-qweekle-card dd { margin: .14rem 0 0; overflow-wrap: anywhere; font-size: .68rem; font-weight: 750; }
.st-qweekle-card footer { display: flex; gap: .35rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: .65rem; }

/* Le document d'impression utilise strictement le même arbre et le même CSS que le canvas. */
.st-print-root { min-width: 0; }
.st-print-sheet { position: relative; margin: 20px auto; overflow: hidden; background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,.22); break-after: page; page-break-after: always; }
.st-print-sheet:last-child { break-after: auto; page-break-after: auto; }
.st-page--print { position: absolute!important; inset: 0!important; transform: none!important; transform-origin: 0 0!important; overflow: hidden!important; background-image: none!important; }
.st-page--print .st-widget { transition: none!important; }
.st-page--print .st-widget:hover { box-shadow: inherit; }
.st-page--print .st-data-table { scrollbar-width: none; }
.st-page--print .st-data-table::-webkit-scrollbar { display: none; }
@media print {
  html,body.st-print-root { width: auto!important; min-width: 0!important; margin: 0!important; padding: 0!important; background: #fff!important; }
  .st-print-sheet { margin: 0!important; box-shadow: none!important; break-after: page!important; page-break-after: always!important; }
  .st-print-sheet:last-child { break-after: auto!important; page-break-after: auto!important; }
  .st-widget { -webkit-print-color-adjust: exact!important; print-color-adjust: exact!important; }
}
@media(max-width:1100px){.st-properties .field-grid-2{grid-template-columns:1fr}.st-padding-grid{grid-template-columns:repeat(2,1fr)}}

/* V3.3 — vues métier prêtes à l'emploi inspirées du tableau de bord de référence */
.st-report-card.is-business-template{border-color:#d9b99e;background:linear-gradient(145deg,#fff,#fffaf5)}
.st-report-card.is-business-template .st-report-card__preview{background:#eee4da}
.st-widget--compact .st-kpi{justify-content:flex-start}
.st-widget--compact .st-kpi span{font-size:10px;line-height:1.15;color:#6f6057}
.st-widget--compact .st-kpi strong{font-size:clamp(20px,2.3em,36px);margin:.22rem 0 .1rem}
.st-widget--compact .st-kpi small{font-size:8px}
.st-widget--compact .st-kpi__comparison{font-size:8px;margin-top:auto;padding-top:3px}
.st-widget--compact .st-kpi__comparison b{font-size:8px}

.st-distribution{display:grid;gap:5px;min-height:0;overflow:auto;padding-right:2px}
.st-distribution__row{display:grid;grid-template-columns:minmax(74px,1.15fr) minmax(40px,1fr) 42px;align-items:center;gap:6px;min-width:0;font-size:9px}
.st-distribution__row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-distribution__row>i{display:block;height:6px;border-radius:99px;background:#eee7df;overflow:hidden}
.st-distribution__row>i>b{display:block;height:100%;border-radius:inherit}
.st-distribution__row>strong{text-align:right;font-size:9px}
.st-distribution--compact{gap:3px}
.st-distribution--compact .st-distribution__row{grid-template-columns:minmax(55px,1fr) 32px;font-size:8px}
.st-distribution--compact .st-distribution__row>i{display:none}
.st-distribution--compact .st-distribution__row>strong{font-size:8px}
.st-distribution--list .st-distribution__row{grid-template-columns:1fr auto}
.st-distribution--list .st-distribution__row>i{display:none}

.st-category-cards{display:grid;grid-template-columns:repeat(var(--st-cat-cols,3),minmax(0,1fr));gap:6px;min-height:0;overflow:auto}
.st-category-cards article{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:54px;border:1px solid rgba(90,65,45,.08);border-radius:8px;padding:7px 8px;background:#f7f4ef}
.st-category-cards article>span{font-size:9px;line-height:1.15;color:#64554c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-category-cards article>strong{font-size:18px;line-height:1.1;margin-top:3px;color:#3b2b22}
.st-category-cards article>small{font-size:7.5px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.st-nps-summary{display:grid;grid-template-columns:1.1fr 1.7fr;grid-template-rows:1fr auto;gap:8px;height:calc(100% - 22px);min-height:0}
.st-nps-main{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-right:1px solid #eadfd4;padding-right:8px}
.st-nps-main>span{font-size:9px;color:#76675e}
.st-nps-main>strong{font-size:35px;line-height:1;color:#a95e29;margin:4px 0}
.st-nps-main>small{font-size:8px}
.st-nps-segments{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;align-content:center}
.st-nps-segments article{display:grid;place-content:center;text-align:center;min-height:54px;border-radius:8px;background:#f7f4ef;padding:6px}
.st-nps-segments article:nth-child(1){background:#e4f1e7}.st-nps-segments article:nth-child(2){background:#f3efe8}.st-nps-segments article:nth-child(3){background:#f6dcda}
.st-nps-segments b{font-size:16px}.st-nps-segments span{font-size:8px;color:#716159}
.st-nps-footer{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #eadfd4;padding-top:6px;font-size:8px}.st-nps-footer b{font-size:10px;color:#3b2b22}

.st-google-summary{height:calc(100% - 22px);display:grid;grid-template-rows:auto 1fr;gap:8px}
.st-google-summary__top{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.st-google-summary__top article{display:flex;flex-direction:column;min-width:0;border-radius:8px;background:#f7f4ef;padding:7px}
.st-google-summary__top span{font-size:8px;color:#74645b}.st-google-summary__top strong{font-size:20px;line-height:1.1;margin-top:2px}.st-google-summary__top small{font-size:8px;margin-top:2px}
.st-google-stars{display:grid;gap:3px;align-content:center}
.st-google-stars>div{display:grid;grid-template-columns:24px 1fr 18px;align-items:center;gap:4px;font-size:7.5px}
.st-google-stars i{height:5px;background:#eee7df;border-radius:99px;overflow:hidden}.st-google-stars i b{display:block;height:100%;background:#e0a12f;border-radius:inherit}.st-google-stars strong{text-align:right}

.st-legend{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 10px;align-items:start;font-size:8px}
.st-legend>div{display:flex;align-items:center;gap:5px;min-width:0}.st-legend>div i{width:9px;height:9px;border-radius:3px;flex:0 0 auto}.st-legend>div span{line-height:1.2}
.st-legend>p{grid-column:1/-1;margin:2px 0 0;line-height:1.25;color:#66564e}

.st-actions-table table{font-size:9px}.st-actions-table td:first-child{width:38%}.st-actions-table td small{display:block;color:#7b6d64;font-size:7.5px;line-height:1.25;margin-top:2px}
.st-priority{display:inline-flex;padding:2px 5px;border-radius:99px;background:#eee7df;font-size:7px;font-weight:800;text-transform:capitalize}
.st-priority--urgente{background:#f7cfcc;color:#98261e}.st-priority--haute{background:#f8dfb9;color:#8a4d0c}.st-priority--faible{background:#dfe8f5;color:#365a87}

/* Les vues métier utilisent une densité fixe compatible écran et impression. */
.st-page--print .st-distribution,
.st-page--print .st-category-cards,
.st-page--print .st-comments,
.st-page--print .st-data-table{overflow:hidden!important}
.st-page--print .st-widget-title{break-after:avoid}
.st-page--print .st-category-cards article,
.st-page--print .st-nps-segments article,
.st-page--print .st-google-summary__top article{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
.st-report-header{height:100%;display:grid;grid-template-columns:64px 1fr minmax(170px,24%);align-items:center;gap:14px;border-bottom:1px solid #d8cbbf;padding-bottom:7px}
.st-report-header>img{width:58px;height:58px;object-fit:contain}
.st-report-header__text{display:flex;flex-direction:column;min-width:0}.st-report-header__text>strong{font-size:22px;line-height:1.05;color:#3b241b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-report-header__text>span{font-size:11px;color:#756259;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-report-header__period{display:grid;place-items:center;min-height:50px;border:1px solid #e6ddd3;border-radius:9px;background:#fff;padding:7px 12px;font-size:10px;font-weight:750;text-align:center;box-shadow:0 2px 7px rgba(53,41,31,.06)}

/* V3.4 — graphiques personnalisables */
.st-chart-layout{height:calc(100% - 28px);min-height:0;display:grid;gap:7px;overflow:hidden}
.st-chart-layout--bottom{grid-template-rows:minmax(0,1fr) auto}
.st-chart-layout--right{grid-template-columns:minmax(0,1fr) minmax(112px,34%)}
.st-chart-layout--left{grid-template-columns:minmax(112px,34%) minmax(0,1fr)}
.st-chart-layout--left .st-chart-visual{grid-column:2}.st-chart-layout--left .st-chart-legend{grid-column:1;grid-row:1}
.st-chart-visual{min-width:0;min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;overflow:hidden}
.st-chart-caption{text-align:center;font-size:9px;font-weight:800;color:var(--text-mute);margin:0 0 2px}
.st-chart-legend{display:flex;gap:5px 11px;flex-wrap:wrap;align-content:flex-start;min-width:0;overflow:auto;padding:2px}
.st-chart-layout--right .st-chart-legend,.st-chart-layout--left .st-chart-legend{display:grid;grid-template-columns:1fr;gap:4px;align-content:center}
.st-chart-legend__item{display:grid;grid-template-columns:9px minmax(0,1fr) auto;gap:5px;align-items:center;font-size:9px;line-height:1.15;min-width:0}
.st-chart-legend__item i,.st-series-legend i{width:9px;height:9px;border-radius:3px;display:inline-block;flex:0 0 auto}
.st-chart-legend__item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-chart-legend__item strong{font-size:9px}.st-chart-legend__item small{grid-column:2/4;color:var(--text-mute);font-size:8px}
.st-chart--pie{height:100%;max-height:100%;min-height:120px}.st-chart--radar{height:100%;max-height:100%}
.st-chart-pair{height:calc(100% - 28px);min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.st-chart-pair>div{min-width:0;min-height:0;overflow:hidden}
.st-series-legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;font-size:9px;font-weight:700;padding-top:3px}.st-series-legend span{display:inline-flex;align-items:center;gap:5px}
.st-properties .switch-line{min-height:34px;padding:.35rem .45rem;border:1px solid var(--border);border-radius:7px;background:#faf8f5}
.st-properties input[type="color"]{height:36px;min-height:36px;padding:3px}
@media print{
  .st-chart-layout,.st-chart-pair,.st-chart-visual{overflow:hidden!important}
  .st-chart-legend{overflow:hidden!important}
  .st-chart path,.st-chart polygon,.st-chart rect,.st-chart circle{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
}
