/* Tribunal communautaire — présentation V1, démonstration locale explicitement non publiée. */
.court-warning{display:flex;align-items:flex-start;gap:14px;border:1px solid #7e6940;border-radius:12px;background:linear-gradient(120deg,#30291e,#152a39);padding:16px 20px;margin-bottom:20px}
.court-warning>span{font-size:25px;line-height:1.2}
.court-warning strong{color:#f3c77d;font-size:11px;letter-spacing:1.5px}
.court-warning p{font-size:12px;color:#d3c9b8;margin:5px 0 0;line-height:1.6}
.court-layout{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);gap:17px;align-items:start}
.court-preview,.court-editor{min-width:0}
.court-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.court-overline{display:block;font-size:10px;letter-spacing:1.8px;color:#e8bd7d;font-weight:900;margin-bottom:9px}
.court-preview h2,.court-editor h2{font-size:clamp(29px,3vw,37px);margin:0 0 22px}
.court-live-state{font-size:9px;color:#a9ebce;border:1px solid #376d5a;background:#153d32;border-radius:99px;padding:7px 10px;font-weight:850;letter-spacing:.6px;white-space:nowrap}
.court-live-state.is-closed{background:#3b2b27;border-color:#765545;color:#eab9a4}
.court-question{padding:21px 22px;border:1px solid #395d70;border-radius:10px;background:linear-gradient(135deg,#193b4e,#0b2638)}
.court-question h3{font:800 clamp(26px,3vw,34px)/1.12 var(--display);margin:0;overflow-wrap:anywhere}
.court-poll-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#9fc7d1;font-size:11px;font-weight:750;margin:16px 0 13px}
.court-vote-list{display:grid;gap:9px}
.court-vote{width:100%;display:flex;align-items:center;gap:13px;text-align:left;color:#ecf3f6;background:#142f40;border:1px solid #35566a;border-radius:9px;padding:15px 16px;font-size:14px;font-weight:800;transition:.15s;border-box:box-sizing}
.court-vote:hover:not(:disabled),.court-vote:focus-visible:not(:disabled){border-color:#f0c27e;background:#234558}
.court-vote.selected{background:#264d43;border-color:#68c39f;color:#fff}
.court-vote:disabled{opacity:.75;cursor:default}
.court-vote.selected:disabled{opacity:1}
.court-vote-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;background:#23495a;border-radius:7px;color:#ecc386;font:900 17px var(--display)}
.court-vote-arrow{margin-left:auto;color:#dfc38b;font-weight:900}
.court-vote-note{margin:14px 0 0;color:#9fb6c4;font-size:11px;line-height:1.7;min-height:34px}
.court-actions{display:flex;flex-wrap:wrap;gap:9px;border-top:1px solid #2b4758;margin-top:15px;padding-top:18px}
.court-actions .btn{font-size:11px;padding:10px 13px}
.court-editor-copy{font-size:12px;color:#9fb9c8;line-height:1.65;margin-top:-8px;margin-bottom:19px}
.court-field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px}
.court-field>span{font-size:11px;color:#d2e0e7;font-weight:800}
.court-field textarea,.court-field select,.court-option-edit input{width:100%;border:1px solid #385567;border-radius:8px;background:#0a2230;color:#f5f6f2;padding:12px;font:600 13px/1.5 var(--font);min-width:0}
.court-field textarea:focus,.court-field select:focus,.court-option-edit input:focus{outline:2px solid #b99a69;outline-offset:1px}
.court-option-edit{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.court-option-edit span{font:800 19px var(--display);color:#ecc386}
.court-choice-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.court-choice-tools button{background:#1d3e51;border:1px solid #497080;border-radius:7px;color:#dceaf0;font-size:11px;padding:9px 11px}
.court-choice-tools button:disabled{opacity:.4;cursor:default}
.court-create{width:100%}
.court-form-message{font-size:11px;color:#f0c27e;margin:10px 0 0;min-height:18px}
.court-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-top:19px}
.court-rules>div{border:1px solid #284959;border-radius:11px;background:#112938;padding:18px}
.court-rules span{font:900 25px var(--display);color:#cfa66a;display:block;margin-bottom:11px}
.court-rules strong{display:block;color:#eaf2f4;font-size:12px;margin-bottom:6px}
.court-rules p{color:#98b4c2;font-size:11px;line-height:1.6;margin:0}
@media(max-width:1000px){.court-layout{grid-template-columns:1fr}}
@media(max-width:690px){.court-layout,.court-rules{grid-template-columns:1fr}.court-warning{padding:14px}.court-preview h2,.court-editor h2{font-size:31px}.court-panel-head{flex-wrap:wrap}.court-vote{padding:12px}.court-actions .btn{flex:1}}

/* Résultats : comptes et pourcentages basés uniquement sur les votes de la démo locale. */
.court-results{margin-top:20px;border:1px solid #355666;border-radius:11px;background:linear-gradient(135deg,#102a3b,#0b2231);padding:18px}
.court-results-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:12px;border-bottom:1px solid #2b4b5b;margin-bottom:15px}
.court-results-head strong{font-size:12px;letter-spacing:1px;color:#f5d39a}
.court-results-total{font-size:11px;color:#acdcca;font-weight:800}
.court-result-row{padding:10px 0 13px}
.court-result-row+.court-result-row{border-top:1px solid #294657}
.court-result-info{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}
.court-result-label{color:#eff7fa;font-size:13px;font-weight:800;overflow-wrap:anywhere}
.court-result-numbers{display:flex;align-items:center;gap:12px;white-space:nowrap}
.court-result-numbers strong{color:#f3d09b;font-size:15px;font-variant-numeric:tabular-nums}
.court-result-numbers span{color:#c1d6df;font-size:11px;font-variant-numeric:tabular-nums}
.court-result-track{height:10px;background:#253b4b;border:1px solid #335368;border-radius:99px;overflow:hidden}
.court-result-fill{height:100%;width:0;background:linear-gradient(90deg,#a67be5,#63c4bd);border-radius:99px;transition:width .25s ease}
.court-test-vote{display:inline-flex;align-items:center;margin-top:9px;border:1px solid #415e70;background:#203b4d;border-radius:6px;padding:6px 10px;color:#bed5e2;font-size:10px;font-weight:750}
.court-test-vote:hover:not(:disabled){color:#fff;border-color:#b999d4;background:#2b4b64}
.court-test-vote:disabled{opacity:.4;cursor:not-allowed}
.court-results-help{color:#9db2c1;font-size:10px;line-height:1.65;margin:14px 0 0}
@media(max-width:480px){.court-results{padding:13px}.court-result-numbers{gap:8px}.court-result-label{font-size:12px}}
@media(prefers-reduced-motion:reduce){.court-result-fill{transition:none}}

/* Tribunal multi-sondages : expérience locale, données isolées par navigateur. */
.court-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
.court-summary>div{border:1px solid #275368;border-radius:11px;background:linear-gradient(135deg,#102f42,#0b2333);padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.court-summary span{font-size:10px;letter-spacing:.9px;font-weight:850;color:#a8c6d1}
.court-summary strong{font:900 30px var(--display,Arial);color:#efc783;font-variant-numeric:tabular-nums}
.court-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:18px;align-items:start}
.court-list-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin:0 0 17px;flex-wrap:wrap}
.court-list-head h2{font:900 clamp(29px,3vw,38px)/1.1 var(--display,Arial);margin:0}
.court-tabs{display:flex;gap:5px;background:#112e3f;border:1px solid #34586b;border-radius:9px;padding:4px}
.court-tabs button{padding:8px 12px;background:none;border:0;border-radius:6px;color:#a9c5d1;font-size:11px;font-weight:850}
.court-tabs button.active{background:#27526a;color:#fff;box-shadow:0 1px 6px #0005}
.court-poll-stack{display:grid;gap:15px}
.court-poll-card{background:linear-gradient(140deg,#133448,#0b2636);border:1px solid #2f6073;border-radius:12px;padding:22px;box-shadow:0 7px 20px #0002}
.court-poll-card.is-closed{background:linear-gradient(140deg,#1b2b36,#10202d)}
.court-poll-top{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:14px}
.court-poll-state{font-size:10px;font-weight:900;letter-spacing:.7px;color:#a6eac9;background:#174538;border:1px solid #3c7d66;padding:5px 9px;border-radius:30px}
.court-poll-state.is-closed{color:#e0c4a8;background:#453427;border-color:#7d6049}
.court-poll-time{font-size:12px;color:#f0c987;font-weight:850;font-variant-numeric:tabular-nums}
.court-poll-title{font:900 clamp(23px,2.5vw,31px)/1.15 var(--display,Arial);color:#fff;margin:0 0 9px;overflow-wrap:anywhere}
.court-poll-by,.court-poll-total{font-size:11px;color:#aac5d3;margin:6px 0}
.court-poll-total{margin:13px 0 16px}
.court-answer{padding:14px 0 13px;border-top:1px solid #2a4d60}
.court-answer-head{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:9px}
.court-answer-name{font-size:13px;font-weight:850;color:#f3f7f8;overflow-wrap:anywhere}
.court-answer-stats{font-size:11px;font-weight:850;color:#edc888;white-space:nowrap;font-variant-numeric:tabular-nums}
.court-answer-buttons{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:10px}
.court-vote-action{padding:7px 12px;border-radius:7px;border:1px solid #63958b;background:#215848;color:#ecfff9;font-size:11px;font-weight:850}
.court-vote-action:hover:not(:disabled){background:#35735e}
.court-vote-action:disabled{opacity:.5;cursor:default}
.court-poll-bottom{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:15px;padding-top:13px;border-top:1px solid #2b4b5b}
.court-poll-manage{border:1px solid #3f6475;border-radius:7px;background:#1a3849;color:#b9d2dd;font-size:10px;font-weight:800;padding:8px 12px}
.court-poll-manage.danger{color:#f1b8a9;border-color:#76504b}
.court-poll-manage:disabled{opacity:.4;cursor:default}
.court-empty-list{border:1px dashed #517385;border-radius:12px;background:#0e2838;padding:26px;text-align:center}
.court-empty-list strong{font-size:16px}
.court-empty-list p{font-size:12px;color:#abc5d0}
.court-side{display:grid;gap:15px}
.court-tool-card{padding:0!important;overflow:hidden}
.court-tool-card>summary{list-style:none;cursor:pointer;padding:20px 19px;display:flex;justify-content:space-between;gap:12px;font-weight:900;font-size:16px;letter-spacing:.3px;color:#f0c985}
.court-tool-card>summary::-webkit-details-marker{display:none}
.court-tool-card>summary span{font-size:20px}
.court-tool-card>p{padding:0 19px;margin:0 0 15px;font-size:12px;line-height:1.6;color:#a8c4d1}
.court-tool-card form{padding:0 19px 20px}
.court-tool-card .court-field{margin-bottom:14px}
.court-tool-card .court-field input{border:1px solid #385567;border-radius:8px;background:#0a2230;color:#f5f6f2;padding:12px;width:100%;font-size:13px}
.court-submit{display:block;width:100%;font-size:12px!important;white-space:normal}
.court-suggest-card{border-color:#534d78!important}
.court-suggest-card>summary{color:#cab0f4}
.court-moderation{margin-top:20px}
.court-moderation>p{font-size:12px;line-height:1.65;color:#abc1cd;margin:0 0 17px}
.court-moderation-pill{font-size:10px;color:#e5c18a;border:1px solid #7b6244;border-radius:7px;padding:7px 9px}
.court-proposal-list{display:grid;gap:10px}
.court-proposal{border:1px solid #345768;border-radius:9px;background:#102d3e;padding:16px}
.court-proposal-top{display:flex;gap:15px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}
.court-proposal-top strong{font-size:14px;overflow-wrap:anywhere}
.court-proposal-top span{font-size:10px;font-weight:800;color:#d6b382}
.court-proposal p{font-size:12px;color:#a7c0cc;margin:8px 0 12px}
.court-proposal-actions{display:flex;gap:10px;flex-wrap:wrap}
.court-proposal-actions button{border-radius:7px;padding:9px 12px;font-size:11px;font-weight:850}
.court-proposal-accept{background:#194f46;border:1px solid #568f80;color:#defbea}
.court-proposal-decline{background:#472c34;border:1px solid #77545b;color:#f3d2d2}
.court-empty-proposals{font-size:12px;color:#9cb6c5}
@media(max-width:1050px){.court-workspace{grid-template-columns:1fr}}
@media(max-width:700px){.court-summary{grid-template-columns:1fr}.court-summary>div{padding:11px 15px}.court-poll-card{padding:16px}.court-list-head{align-items:start}.court-tabs{width:100%}.court-tabs button{flex:1}.court-answer-head{align-items:flex-start}.court-answer-stats{text-align:right}}
