/* =========================================================
   Narzędzia (Edytor types.xml, Generator init.c) — wspólne style
   Korzysta ze zmiennych z css/style.css
   ========================================================= */
body.tl-body { overflow-y: auto; display: block; padding: 0; }
.tl-body .tlo-szum, .tl-body .tlo-skan { position: fixed; }
:root { --tl-ok:#a3b54e; --tl-warn:#d9a441; --tl-err:#e0503a; --tl-info:#5b9bd5; --tl-acc:#e08a4f; --tl-xml-user:#c792ea; }

.tl-page { position: relative; z-index: 1; max-width: 1760px; margin: 0 auto; padding: 22px 20px 40px; }
.tl-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; padding-right: 240px; flex-wrap: wrap; }
.tl-back { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--bone-dim); font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.tl-back:hover { border-color: var(--rust); color: var(--bone); }
.tl-h1 { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: clamp(18px, 2.6vw, 26px); letter-spacing: .12em; text-transform: uppercase; color: var(--bone); }
.tl-sub { font-size: 12px; color: var(--bone-dim); margin-top: 3px; max-width: 880px; line-height: 1.45; }
.tl-spacer { flex: 1; }

/* przyciski */
.tl-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--bone-dim); font-family: 'Oswald', sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: border-color .15s, color .15s, background .15s; }
.tl-btn:hover:not(:disabled) { border-color: var(--bone-dim); color: var(--bone); }
.tl-btn:disabled { opacity: .4; cursor: default; }
.tl-btn--main { border-color: var(--rust); color: var(--rust); background: rgba(192,90,43,.08); }
.tl-btn--main:hover:not(:disabled) { background: rgba(192,90,43,.22); color: var(--bone); border-color: var(--rust); }
.tl-btn--small { padding: 3px 9px; font-size: 10px; }
.tl-btn--danger { border-color: rgba(224,80,58,.5); color: var(--tl-err); }
.tl-btn--danger:hover:not(:disabled) { background: rgba(224,80,58,.15); border-color: var(--tl-err); color: var(--tl-err); }
.tl-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--bone-dim); font-family: 'Rajdhani', sans-serif; font-size: 13px; cursor: pointer; user-select: none; transition: all .12s; }
.tl-chip:hover { border-color: var(--bone-dim); color: var(--bone); }
.tl-chip--on { border-color: var(--tl-acc); color: var(--bone); background: rgba(224,138,79,.16); }
.tl-chip--part { border-color: rgba(224,138,79,.55); color: var(--bone); background: rgba(224,138,79,.06); }
.tl-chip--u { border-color: rgba(199,146,234,.4); color: #c792ea; }
.tl-chip--u.tl-chip--on { background: rgba(199,146,234,.2); border-color: #c792ea; color: var(--bone); }
.tl-chip--u.tl-chip--part { background: rgba(199,146,234,.07); border-color: rgba(199,146,234,.6); }
.tl-chip--x { border-color: rgba(217,164,65,.45); color: var(--tl-warn); }
.tl-chip--x.tl-chip--on { background: rgba(217,164,65,.2); border-color: var(--tl-warn); color: var(--bone); }
.tl-chip--x.tl-chip--part { background: rgba(217,164,65,.07); border-color: rgba(217,164,65,.6); }
.tl-chip--filter-on { border-color: var(--tl-acc); background: rgba(224,138,79,.16); color: var(--bone); }

/* układ */
.tl-cols { display: grid; grid-template-columns: minmax(560px, 7fr) minmax(520px, 5fr); gap: 16px; align-items: start; }
@media (max-width: 1150px) { .tl-cols { grid-template-columns: 1fr; } .tl-head { padding-right: 0; } }
.tl-card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin-bottom: 14px; min-width: 0; }
.tl-card__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.tl-card__t { font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--bone); }
.tl-muted { color: var(--bone-dim); font-size: 12px; }
.tl-err { color: var(--tl-warn); font-size: 12px; margin-top: 6px; line-height: 1.5; white-space: pre-line; }
.tl-path { font-family: 'Consolas', monospace; font-size: 13px; color: var(--bone); word-break: break-all; }
.tl-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tl-in { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; color: var(--bone); font-family: 'Rajdhani', sans-serif; font-size: 14px; padding: 6px 10px; width: 100%; }
.tl-in:focus { outline: none; border-color: var(--rust); }
select.tl-in { width: auto; }

/* lista */
.tl-list { border: 1px solid var(--line); border-radius: 3px; background: var(--bg); height: calc(100vh - 380px); min-height: 360px; overflow: auto; position: relative; }
.tl-grid { display: grid; grid-template-columns: minmax(200px, 3fr) 62px 52px 90px 84px minmax(70px, 1.3fr) minmax(90px, 1.4fr); align-items: center; }
.tl-thead { position: sticky; top: 0; z-index: 2; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.tl-th { padding: 6px 8px; font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); cursor: pointer; user-select: none; white-space: nowrap; }
.tl-th:hover { color: var(--bone); }
.tl-row-i { height: 34px; border-bottom: 1px solid rgba(255,255,255,.04); cursor: pointer; font-family: 'Rajdhani', sans-serif; font-size: 14px; color: var(--bone); }
.tl-row-i:hover { background: var(--surface); }
.tl-row-i.sel { background: rgba(224,138,79,.17); }
.tl-row-i.chg { color: var(--tl-acc); }
.tl-row-i.warn .tl-nm { color: var(--tl-warn); }
.tl-row-i.bad .tl-nm { color: var(--tl-err); }
.tl-c { padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-c--n { text-align: left; font-variant-numeric: tabular-nums; }
.tl-nmw { display: flex; align-items: center; gap: 8px; padding: 0 8px; overflow: hidden; }
.tl-nmw img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.tl-nmw .tl-ph { width: 26px; height: 26px; flex: none; }
.tl-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* edytor */
.tl-ed { position: sticky; top: 10px; max-height: calc(100vh - 24px); overflow: auto; }
.tl-ed__top { display: flex; gap: 14px; align-items: flex-start; }
.tl-ed__img { width: 104px; height: 104px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--bone-dim); font-size: 11px; text-align: center; flex: none; }
.tl-ed__img img { width: 100%; height: 100%; object-fit: contain; }
.tl-ed__name { font-family: 'Oswald', sans-serif; font-size: 20px; color: var(--bone); word-break: break-all; }
.tl-sec { margin-top: 16px; }
.tl-sec__h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-family: 'Oswald', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone); }
.tl-sec__h small { font-family: 'Rajdhani', sans-serif; letter-spacing: 0; text-transform: none; color: var(--bone-dim); font-size: 11px; }
.tl-sec__h .tl-btn { margin-left: auto; }
.tl-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.tl-fld__l { font-size: 12px; color: var(--bone-dim); margin-bottom: 3px; cursor: help; }
.tl-fld__r { display: flex; gap: 4px; align-items: center; }
.tl-fld__v { min-width: 150px; justify-content: space-between; }
.tl-flags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.tl-flag { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; user-select: none; color: var(--bone-dim); }
.tl-flag:hover { color: var(--bone); }
.tl-sw { width: 34px; height: 18px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); position: relative; flex: none; transition: all .15s; }
.tl-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--bone-dim); transition: all .15s; }
.tl-flag.on .tl-sw { background: rgba(163,181,78,.25); border-color: var(--tl-ok); }
.tl-flag.on .tl-sw::after { transform: translateX(16px); background: var(--tl-ok); }
.tl-flag.part .tl-sw { border-color: var(--tl-warn); }
.tl-flag.part .tl-sw::after { transform: translateX(8px); background: var(--tl-warn); }
.tl-flag.on, .tl-flag.part { color: var(--bone); }
.tl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 11px; margin-top: 14px; }
.tl-checks { font-size: 13px; line-height: 1.6; white-space: pre-line; }
.tl-xml { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 8px 10px; font-family: 'Consolas', monospace; font-size: 12px; color: var(--bone-dim); overflow: auto; white-space: pre; max-height: 340px; }
.x-t { color: #6fb3d2; } .x-a { color: #c792ea; } .x-v { color: #a3b54e; } .x-n { color: #8b8a79; }

/* menu, modal, filtr */
.tl-menu { position: fixed; z-index: 10001; min-width: 200px; max-height: 70vh; overflow: auto; background: var(--surface-2); border: 1px solid var(--rust); border-radius: 3px; box-shadow: 0 8px 28px rgba(0,0,0,.6); padding: 4px 0; font-family: 'Rajdhani', sans-serif; font-size: 14px; }
.tl-menu__i { padding: 5px 16px; color: var(--bone); cursor: pointer; white-space: pre; }
.tl-menu__i:hover { background: rgba(192,90,43,.25); }
.tl-menu__i.dis { color: var(--bone-dim); opacity: .5; cursor: default; }
.tl-menu__i.dis:hover { background: none; }
.tl-menu__sep { height: 1px; background: var(--line); margin: 4px 0; }
.tl-modal { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.72); display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow: auto; }
.tl-modal__b { width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--rust); border-radius: 4px; padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.tl-modal__t { font-family: 'Oswald', sans-serif; font-size: 16px; letter-spacing: .12em; text-transform: uppercase; color: var(--bone); margin-bottom: 10px; }
.tl-modal__btns { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.tl-pick { border: 1px solid var(--line); background: var(--bg); height: 320px; overflow: auto; margin-top: 8px; }
.tl-pick__i { display: flex; align-items: center; gap: 10px; padding: 3px 10px; height: 32px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 14px; }
.tl-pick__i:hover { background: var(--surface); }
.tl-pick__i.sel { background: rgba(224,138,79,.2); }
.tl-pick__i img { width: 24px; height: 24px; object-fit: contain; }
.tl-pick__i span.s { margin-left: auto; color: var(--bone-dim); font-size: 11px; }
.tl-flt { position: fixed; z-index: 10001; width: 300px; max-height: 60vh; overflow: auto; background: var(--surface-2); border: 1px solid var(--rust); border-radius: 3px; box-shadow: 0 8px 28px rgba(0,0,0,.6); padding: 8px; }
.tl-flt__r { display: flex; align-items: center; gap: 8px; padding: 3px 4px; font-size: 14px; cursor: pointer; }
.tl-flt__r:hover { background: rgba(255,255,255,.05); }
.tl-flt__r .n { margin-left: auto; color: var(--bone-dim); font-size: 11px; }
.tl-flt__g { margin: 6px 4px 2px; font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--bone-dim); }
.tl-foot { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; font-size: 12px; color: var(--bone-dim); }
.tl-status--ok { color: var(--tl-ok); } .tl-status--err { color: var(--tl-err); } .tl-status--warn { color: var(--tl-warn); }
.tl-drop { border: 1px dashed var(--line); border-radius: 4px; padding: 26px; text-align: center; color: var(--bone-dim); }
.tl-pri { color: var(--tl-ok); }

/* strona Narzędzia */
.tl-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; max-width: 980px; margin: 24px auto 0; }
.tl-tool { display: block; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 22px 22px 20px; color: var(--bone); transition: border-color .2s, transform .2s; }
.tl-tool:hover { border-color: var(--rust); transform: translateY(-2px); }
.tl-tool__k { font-family: 'Oswald', sans-serif; font-size: 10px; letter-spacing: .3em; color: var(--rust); text-transform: uppercase; }
.tl-tool__t { font-family: 'Oswald', sans-serif; font-size: 22px; letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 8px; }
.tl-tool__d { font-size: 14px; color: var(--bone-dim); line-height: 1.5; }
.tl-tool__n { margin-top: 12px; font-size: 12px; color: var(--tl-ok); }

/* ===== Generator init.c ===== */
.ig-cols { display: grid; grid-template-columns: minmax(340px, 400px) minmax(440px, 5fr) minmax(400px, 6fr); gap: 16px; align-items: start; }
@media (max-width: 1250px) { .ig-cols { grid-template-columns: 1fr; } }
.ig-list { height: 360px; }
.ig-grid { display: grid; grid-template-columns: minmax(130px, 3fr) 56px minmax(80px, 2fr); align-items: center; }
.ig-detail { display: flex; gap: 10px; margin-top: 10px; font-size: 12px; color: var(--bone-dim); line-height: 1.5; }
.ig-detail__img { width: 86px; height: 86px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; font-size: 11px; text-align: center; }
.ig-detail__img img { width: 100%; height: 100%; object-fit: contain; }
.ig-detail div b { color: var(--bone); font-size: 14px; }
.ig-stage { position: relative; width: 100%; max-width: 560px; margin: 8px auto 0; aspect-ratio: 540 / 612; }
.ig-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ig-stage > img { position: absolute; left: 22.2%; top: 6.5%; width: 55.5%; height: 80%; object-fit: contain; opacity: .9; }
.ig-slot { position: absolute; width: 14.07%; height: 12.42%; transform: translate(-50%, -50%); border: 1px solid var(--line); border-radius: 9px; background: var(--bg); display: flex; align-items: center; justify-content: center; text-align: center; font-size: 11px; color: var(--bone-dim); line-height: 1.15; cursor: pointer; user-select: none; overflow: hidden; }
.ig-slot.has { background: rgba(224,138,79,.12); border-color: var(--bone-dim); color: var(--bone); }
.ig-slot.sel { border: 2px solid var(--tl-acc); }
.ig-slot.ok, .ig-dop.ok { border: 2px solid var(--tl-ok) !important; }
.ig-slot.bad, .ig-dop.bad { border: 2px solid var(--tl-err) !important; }
.ig-slot img, .ig-dop img { width: 94%; height: 94%; object-fit: contain; pointer-events: none; }
.ig-badge { position: absolute; right: 4px; bottom: 2px; font-size: 10px; color: var(--tl-acc); }
.ig-badge--q { position: absolute; right: 4px; top: 1px; font-size: 12px; color: var(--tl-warn); font-weight: 700; }
.ig-zaw__h { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--bone-dim); margin: 6px 0; font-family: 'Oswald', sans-serif; }
.ig-dops { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.ig-dopw { width: 66px; text-align: center; }
.ig-dop { position: relative; width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 7px; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--bone-dim); cursor: pointer; overflow: hidden; user-select: none; }
.ig-dop.has { background: rgba(224,138,79,.12); }
.ig-dop.sel { border: 2px solid var(--tl-acc); }
.ig-dopl { font-size: 10px; color: var(--bone-dim); margin-top: 3px; line-height: 1.1; overflow: hidden; }
.ig-cargo { position: relative; border: 1px solid var(--line); background-color: var(--bg); touch-action: none; }
.ig-citem { position: absolute; box-sizing: border-box; border: 1px solid var(--tl-acc); background: rgba(224,138,79,.18); display: flex; align-items: center; justify-content: center; font-size: 10px; text-align: center; color: var(--bone); cursor: pointer; overflow: hidden; user-select: none; }
.ig-citem.x { border-color: var(--tl-warn); background: rgba(217,164,65,.18); }
.ig-citem.sel { border-width: 2px; border-color: var(--tl-acc); background: rgba(224,138,79,.34); }
.ig-citem img { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); object-fit: contain; pointer-events: none; }
.ig-chover { position: absolute; pointer-events: none; border: 2px solid; }
.ig-crumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 14px; margin-bottom: 4px; }
.ig-crumbs a { color: var(--tl-acc); cursor: pointer; }
.ig-cechy { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 8px 0 12px; font-size: 12px; color: var(--bone-dim); }
.ig-cechy input { width: 52px; text-align: center; padding: 4px 6px; }
.ig-ghost { position: fixed; z-index: 10005; pointer-events: none; background: var(--surface-2); border: 1px solid var(--rust); border-radius: 4px; padding: 5px 9px; font-size: 12px; color: var(--bone); text-align: center; opacity: .92; }
.ig-ghost img { display: block; width: 56px; height: 56px; object-fit: contain; margin: 0 auto 3px; }
.ig-code { background: var(--bg); border: 1px solid var(--line); border-radius: 3px; padding: 10px 12px; font-family: 'Consolas', monospace; font-size: 12px; color: var(--bone); height: 520px; overflow: auto; white-space: pre; tab-size: 4; }
.ig-code .c-k { color: #e0503a; } .ig-code .c-t { color: #c792ea; } .ig-code .c-n { color: #d9a441; } .ig-code .c-f { color: #6fb3d2; } .ig-code .c-c { color: #7d7a6c; } .ig-code .c-s { color: #a3b54e; }
.ig-sets { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.ig-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.ig-opt { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; font-size: 13px; color: var(--bone-dim); }
.ig-opt input.tl-in { width: 60px; text-align: center; padding: 4px 6px; }
.ig-pb { height: 4px; background: var(--bg); border: 1px solid var(--line); width: 220px; display: none; }
.ig-pb i { display: block; height: 100%; background: var(--rust); width: 0; }

/* ---------- Edytor bazy graczy ---------- */
.pd-cols { display: grid; grid-template-columns: minmax(260px, 340px) minmax(380px, 5fr) minmax(320px, 4fr); gap: 16px; align-items: start; }
@media (max-width: 1150px) { .pd-cols { grid-template-columns: 1fr; } }
.pd-list { border: 1px solid var(--line); border-radius: 3px; background: var(--bg); height: calc(100vh - 360px); min-height: 320px; overflow: auto; }
.pd-row { display: flex; justify-content: space-between; gap: 8px; padding: 5px 10px; font-family: 'Consolas', monospace; font-size: 12px; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.03); }
.pd-row:hover { background: rgba(255,255,255,.04); }
.pd-row.sel, .pd-it.sel { background: rgba(224,138,79,.18); }
.pd-row.zm { color: var(--tl-warn); }
.pd-live.ok { color: var(--tl-ok); } .pd-live.no { color: var(--tl-err); }
.pd-it { display: flex; align-items: center; gap: 6px; padding: 3px 8px; font-size: 13px; cursor: default; border-bottom: 1px solid rgba(255,255,255,.03); user-select: none; }
.pd-it:hover { background: rgba(255,255,255,.04); }
.pd-tgl { width: 14px; color: var(--bone-dim); cursor: pointer; flex: none; }
.pd-cls { color: var(--bone); flex: 1; }
.pd-slot { color: var(--bone-dim); font-size: 12px; font-family: 'Consolas', monospace; }

.pd-kat { display: flex; align-items: center; gap: 8px; padding: 3px 8px; cursor: grab; border-bottom: 1px solid rgba(255,255,255,.03); font-size: 13px; }
.pd-kat:hover { background: rgba(255,255,255,.05); }
.pd-kat img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.pd-kat .tl-ph { width: 30px; height: 30px; flex: none; }
.pd-kat__n { flex: 1; color: var(--bone); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-kat__s { color: var(--bone-dim); font-size: 12px; font-family: 'Consolas', monospace; }

.pd-usun { outline: 2px dashed var(--tl-err); outline-offset: -2px; background: rgba(224,80,58,.08); }
.pd-kat[draggable], .ig-slot[draggable], .ig-citem[draggable], .ig-dop[draggable] { -webkit-user-drag: element; }

.tl-btn.pd-zywy { border-color: rgba(163,181,78,.6); color: var(--tl-ok); }
.tl-btn.pd-martwy { border-color: rgba(224,80,58,.6); color: var(--tl-err); }

/* pasek postępu wczytywania */
.tl-pbw { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; }
.tl-pbw__bar { flex: 1; max-width: 520px; height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; position: relative; }
.tl-pbw__bar i { display: block; height: 100%; width: 0; background: var(--rust); transition: width .12s linear; }
.tl-pbw__bar.nieokr i { width: 30%; position: absolute; animation: tl-pbw-ind 1.1s ease-in-out infinite alternate; }
@keyframes tl-pbw-ind { from { left: 0; } to { left: 70%; } }
.tl-pbw__t { font-size: 12px; color: var(--bone-dim); min-width: 220px; }

.pd-qty { position: absolute; right: 2px; bottom: 1px; font-size: 10px; line-height: 1; color: #fff; background: rgba(0,0,0,.65); padding: 1px 3px; border-radius: 3px; pointer-events: none; font-family: 'Consolas', monospace; }
.pd-wyb { margin: 8px 0 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }

.pd-cel { position: absolute; border: 2px dashed var(--tl-ok); box-sizing: border-box; pointer-events: none; z-index: 5; border-radius: 3px; }
