/* Fenêtre JavaFX (thème Modena) de l'interface Dedale : toujours claire, comme l'application. */
.win { background: #f4f4f4; border: 1px solid #6b6560; border-radius: 8px; overflow: hidden; color: #333;
       font: 13px/1.4 system-ui, sans-serif; box-shadow: 0 10px 34px rgba(0,0,0,.45); }
.titlebar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 32px; padding: 0 10px;
            background: linear-gradient(#ececec, #dedede); border-bottom: 1px solid #c4c4c4; }
.titlebar .t { font-weight: 600; color: #3c3c3c; }
.titlebar .tick { justify-self: end; color: #6a6a6a; font-variant-numeric: tabular-nums; }
.wbtns { display: flex; gap: 6px; }
.wbtns i { width: 11px; height: 11px; border-radius: 50%; background: #c9c9c9; border: 1px solid #b0b0b0; }
.menubar { display: flex; gap: 2px; padding: 2px 4px; background: #f4f4f4; border-bottom: 1px solid #c8c8c8; }
.menubar span { padding: 2px 8px; }
.split { display: flex; }
.win .gs { background: #ffffff; flex: 1; min-width: 0; }
.win canvas { display: block; width: 100%; }
.right { width: 250px; flex: none; border-left: 1px solid #c8c8c8; display: flex; flex-direction: column; background: #f4f4f4; }
@media (max-width: 760px) { .split { flex-direction: column; } .right { width: auto; border-left: 0; border-top: 1px solid #c8c8c8; } }
.tabbar { display: flex; gap: 2px; padding: 4px 4px 0; background: linear-gradient(#e6e6e6, #dadada); border-bottom: 1px solid #b5b5b5; }
.tabbar button { font: inherit; color: #333; border: 1px solid #b5b5b5; border-bottom: 0; border-radius: 4px 4px 0 0;
                 background: linear-gradient(#e9e9e9, #d6d6d6); padding: 3px 10px; cursor: pointer; margin-bottom: -1px; }
.tabbar button[aria-selected="true"] { background: #f4f4f4; border-bottom: 1px solid #f4f4f4; }
.pane { padding: 10px 12px; overflow: auto; flex: 1; max-height: 460px; }
.pane[hidden] { display: none; }
.counters { display: flex; flex-direction: column; font-family: ui-monospace, "DejaVu Sans Mono", monospace; font-size: 12px; margin-bottom: 8px; }
.win ol.log { list-style: none; margin: 0; padding: 0; font-size: 12.5px; display: flex; flex-direction: column; gap: 6px; color: #555; }
.win ol.log b { color: #222; }
.res-h { font-weight: 600; margin: 0 0 4px; }
.res-row { display: flex; align-items: center; gap: 7px; padding: 2px 0; }
.res-row .grow { flex: 1; }
.res-row .muted { color: #777; font-variant-numeric: tabular-nums; }
.gsdot { width: 10px; height: 10px; border-radius: 50%; flex: none; display: inline-block; }

.controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
label.speed { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-left: auto; }
input[type=range] { width: 110px; accent-color: var(--solution); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .88rem; margin-top: 14px; }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }

.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 26px; align-items: start; }
@media (max-width: 860px) { .row2 { grid-template-columns: 1fr; } }
.who { display: flex; gap: 4px; justify-self: end; }
.who button { font: 12px system-ui, sans-serif; color: #333; border: 1px solid #b5b5b5; border-radius: 4px; background: linear-gradient(#fafafa, #e3e3e3);
              padding: 1px 8px; cursor: pointer; }
.who button[aria-pressed="true"] { background: #d0d0d0; font-weight: 600; }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps div { border-bottom: 1px solid var(--line); padding: 12px 0; }
.steps h3 { font: 600 1rem var(--sans); color: var(--text); margin: 0 0 4px; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; }
