/* POLEO UI (17.10.2026): meniul radial (P02 §8) și mânerul de lățime al coloanelor (P01 §6.2). */
:root {
    --rm-panel: #fdfcfa; --rm-line: #d9dde3; --rm-hdtx: #4d5b69; --rm-acc: #5f80a6; --rm-accbg: #e7eef6;
    --rm-dg: #a35a55; --rm-dgbg: #f5e3e1; --rm-halo: #f0f3f6; --rm-et: #2f3a45; --rm-ettx: #f7f6f3;
}
.dark {
    --rm-panel: #262a30; --rm-line: #3a414b; --rm-hdtx: #c9d2dc; --rm-acc: #8fb0d6; --rm-accbg: #2c3a4c;
    --rm-dg: #e3a29d; --rm-dgbg: #4a2f2d; --rm-halo: #2b3038; --rm-et: #e8edf2; --rm-ettx: #1f2328;
}
#rm { position: fixed; width: 0; height: 0; z-index: 60; }
#rm .it, #rm .hub {
    position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--rm-line); background: var(--rm-panel); color: var(--rm-hdtx);
    box-shadow: 0 2px 8px rgba(60, 55, 45, .14); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
#rm .it { opacity: 0; transform: translate(0, 0) scale(.3); transition: transform .3s cubic-bezier(.2, .9, .3, 1.25), opacity .18s ease; }
#rm .it svg { width: 18px; height: 18px; }
#rm.open .it.m1, #rm.o2 .it.m2 { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
#rm .it.m2 { pointer-events: none; }
#rm.o2 .it.m2 { pointer-events: auto; }
#rm .it:hover:not([disabled]), #rm .it:focus-visible {
    background: var(--rm-accbg); color: var(--rm-acc); border-color: var(--rm-acc);
    transform: translate(var(--x), var(--y)) scale(1.12); outline: none;
}
#rm .it.dg { color: var(--rm-dg); }
#rm .it.dg:hover:not([disabled]), #rm .it.dg:focus-visible { background: var(--rm-dgbg); border-color: var(--rm-dg); color: var(--rm-dg); }
#rm .it[disabled] { opacity: .38 !important; cursor: not-allowed; }
#rm .hub { transform: scale(.4) rotate(-90deg); transition: transform .25s ease; font-size: 14px; z-index: 2; }
#rm.open .hub { transform: scale(1) rotate(0); }
#rm svg.halo {
    position: absolute; left: -200px; top: -200px; width: 400px; height: 400px; pointer-events: none; opacity: 0;
    transform: scale(.55); transition: opacity .2s ease, transform .28s cubic-bezier(.2, .9, .3, 1.15);
}
#rm svg.halo path { fill: var(--rm-halo); stroke: var(--rm-line); stroke-width: 1; }
#rm.open svg.halo.m1, #rm.o2 svg.halo.m2 { opacity: .96; transform: scale(1); }
#rm .rm-et {
    position: absolute; left: 0; top: 0; white-space: nowrap; pointer-events: none; opacity: 0; z-index: 3;
    background: var(--rm-et); color: var(--rm-ettx); border-radius: 12px; padding: 3px 10px; font-size: 12px;
    transition: opacity .12s ease;
}
[data-meniu-radial] { transition: transform .3s ease, color .3s ease; }
[data-meniu-radial].rm-activa { transform: rotate(90deg); color: var(--rm-acc); }
@media (prefers-reduced-motion: reduce) {
    #rm .it, #rm svg.halo, #rm .hub, [data-meniu-radial] { transition: none !important; }
}
/* mânerul de lățime din antetul tabelelor */
.fi-ta-table thead th .p-trage {
    position: absolute; top: 0; right: -3px; width: 7px; height: 100%; cursor: col-resize; z-index: 2;
}
.fi-ta-table thead th .p-trage:hover { background: rgba(95, 128, 166, .35); }
