/* logicielrsepme.fr — composants propres au site */
.tco-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
.tco-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.tco-flag{margin:12px 0 0;padding:10px 14px;border-radius:10px;background:#fff4d6;border:1px solid #f1d58a;color:#5c4a12;font-size:.9rem;font-weight:600}
.tco-flag[hidden]{display:none}
.tco-years{margin-top:14px}
.tco-years table{min-width:420px}
.tco-years td:not(:first-child),.tco-years th:not(:first-child){text-align:right;white-space:nowrap}
.tco-years tr.total td{font-weight:700;color:var(--navy);background:var(--soft-2)}
#quiz fieldset{border:1px solid var(--line);border-radius:12px;background:#fff;padding:10px 14px 8px;margin:0 0 10px;min-width:0}
#quiz legend{float:left;width:100%;font-weight:700;padding:4px 0 2px;font-size:.96rem;line-height:1.45}
#quiz legend+label{clear:both}
#quiz fieldset label{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:6px 0;cursor:pointer}
#quiz fieldset input{width:auto;margin-top:.35em;accent-color:var(--violet)}
#quiz .result{margin-top:14px}
#quiz .result h4{font-family:var(--head);margin:0 0 6px;color:var(--violet);font-size:1.08rem}
#quiz .result[hidden]{display:none}
#quiz .warn{color:#9b2c2c;font-weight:600}
@media (max-width:640px){.tco-grid{grid-template-columns:1fr}}
/* Pages secondaires */
.crumbs{font-size:.86rem;color:var(--muted);margin:0 0 10px}
.crumbs a{color:var(--violet)}
.crumbs span[aria-current]{color:var(--ink-2)}
#bud .sim-out{grid-template-columns:repeat(2,minmax(0,1fr))}
#bud .sim-out div:last-child b{color:var(--violet)}
.verdict{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:12px 0 0;font-weight:600}
#grid table{min-width:560px}
#grid select{width:auto;min-width:58px;padding:6px 8px}
#grid thead input{width:100%;min-width:90px;padding:6px 8px;font-weight:700}
#grid td:not(:first-child),#grid th:not(:first-child){text-align:center}
#grid tr.total td{font-weight:700;color:var(--navy);background:var(--soft-2)}
#free .checks label{display:flex;align-items:flex-start;gap:10px;font-weight:400;margin:8px 0;cursor:pointer}
#free .checks input{width:auto;margin-top:.35em;accent-color:var(--violet)}
#free .result h4{font-family:var(--head);margin:0 0 6px;color:var(--violet);font-size:1.08rem}
@media (max-width:640px){#bud .sim-out{grid-template-columns:1fr}}
