@font-face{font-family:"LxNoto";src:url(fonts/notosansarabic-NotoSansArabic-Regular.woff) format("woff");font-weight:400;font-display:block}
@font-face{font-family:"LxNoto";src:url(fonts/notosansarabic-NotoSansArabic-Medium.woff) format("woff");font-weight:500 600;font-display:block}
@font-face{font-family:"LxNoto";src:url(fonts/notosansarabic-NotoSansArabic-Bold.woff) format("woff");font-weight:700 900;font-display:block}

/* ---- shared structure ---- */
.lx-top{display:flex;align-items:flex-start;gap:10px;padding:22px 0 14px}
.lx-top h1{margin:0;flex:1;line-height:1.3}
.lx-top .sub{display:block;margin-top:3px;font-weight:400}
.lx-top .lng{margin:0}
.acts2{display:flex;gap:8px;flex:none}
.lb2{font:inherit;font-size:13px;font-weight:600;padding:6px 14px;border-radius:999px;background:transparent;border:1px solid var(--line);color:var(--tx)}
.lb2.d{color:var(--bad);border-color:currentColor}
.pc{font-style:normal;font-size:12px;font-weight:600;margin-inline-start:6px}
.pc.pos,.pos{color:var(--good)}.pc.neg,.neg{color:var(--bad)}
html[data-lay] .nm b{font-weight:600}
html[data-lay] .nm span{font-size:12.5px;color:var(--mut)}
html[data-lay] .nm .tk{font-style:normal;font-weight:600;letter-spacing:.2px;direction:ltr;unicode-bidi:isolate}
html[data-lay] .lg{width:40px;height:40px;border-radius:50%;object-fit:contain;padding:2px;box-sizing:border-box;background:#fff;flex:none}
html[data-lay] .lg.ph{display:flex;align-items:center;justify-content:center;background:var(--s3);color:var(--mut);font-size:12px;font-weight:700}
html[data-lay] body.focus nav{display:none}

/* =========================== A  Summary / Cairo =========================== */
html[data-lay=a]{--bg:#f1f4fa;--s1:#ffffff;--s2:#e8edf6;--s3:#dbe3f1;--line:#dde4f0;--tx:#111a33;--mut:#5d6985;--ac:#2f5bff;--acd:#e1e8ff;--on:#fff;--bad:#d6334a;--good:#0d9c6a;--bar:#ffffffee;--gbg:#fdeaed;--gbd:#fdeaed;--gtx:#a82336;--gac:#d6334a;--badd:#fdeaed;--errt:#a82336;--okt:#0a6e4a;--dbd:#f0b3bc;--gold:#e0a400;--r:20px;color-scheme:light}
html[data-lay=a] body,html[data-lay=a] button,html[data-lay=a] input,html[data-lay=a] textarea{font-family:"LxNoto","Noto Sans Arabic",Roboto,system-ui,sans-serif}
html[data-lay=a] body{background:var(--bg);color:var(--tx)}
html[data-lay=a] #app{padding:0 16px 104px}
html[data-lay=a] .lx-top h1,html[data-lay=a] .top h1{font-size:21px;font-weight:700}
html[data-lay=a] .lx-top .sub,html[data-lay=a] .top .sub{font-size:13px;color:var(--mut)}
html[data-lay=a] .top{padding:20px 0 12px}
html[data-lay=a] .ib{background:var(--s1);border:1px solid var(--line);border-radius:12px;color:var(--mut)}
html[data-lay=a] .lxa-hi{display:flex;align-items:center;padding:20px 0 14px}
html[data-lay=a] .lxa-hi small{display:block;color:var(--mut);font-size:13px}
html[data-lay=a] .lxa-hi b{font-size:20px;font-weight:700}
html[data-lay=a] .lxa-hi .lng{margin-inline-start:auto}
html[data-lay=a] .lxa-hero{background:linear-gradient(145deg,#2748e6,#4b7bff);color:#fff;border-radius:24px;padding:20px 18px 16px;margin:0 0 20px;box-shadow:0 12px 28px #2f5bff33}
html[data-lay=a] .lxa-hero small{font-size:13px;opacity:.85}
html[data-lay=a] .lxa-hero .big{font-size:21px;font-weight:700;margin:4px 0 2px;display:flex;flex-direction:column}
html[data-lay=a] .lxa-hero .big span{color:#fff}
html[data-lay=a] .lxa-note{font-size:12px;opacity:.75}
html[data-lay=a] .lxa-st{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:16px;padding-top:14px;border-top:1px solid #ffffff3a}
html[data-lay=a] .lxa-st b{display:block;font-size:16px;font-weight:700}
html[data-lay=a] .lxa-st span{font-size:12px;opacity:.8}
html[data-lay=a] .lxa-hero.sm{padding:14px 16px}
html[data-lay=a] .lxa-sec{display:flex;align-items:center;margin:6px 2px 10px}
html[data-lay=a] .lxa-sec b{font-size:15px;font-weight:700;flex:1}
html[data-lay=a] .lxa-sec .lnk{margin:0;padding:0;color:var(--ac);text-decoration:none;font-weight:600;font-size:13px}
html[data-lay=a] .lxa-card{display:flex;align-items:center;gap:11px;background:var(--s1);border-radius:18px;padding:13px;margin:0 0 10px;box-shadow:0 1px 2px #1a2a5a10}
html[data-lay=a] .lxa-card.col{flex-direction:column;align-items:stretch;gap:10px}
html[data-lay=a] .lxa-card .rw{display:flex;align-items:center;gap:11px}
html[data-lay=a] .lxa-card .rw2{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;color:var(--mut);padding-top:10px;border-top:1px dashed var(--line)}
html[data-lay=a] .lxa-q{text-align:center;flex:none}
html[data-lay=a] .lxa-q b{display:block;font-size:19px;font-weight:700;color:var(--ac);line-height:1.1}
html[data-lay=a] .lxa-q span{font-size:12px;color:var(--mut)}
html[data-lay=a] .lxa-r{display:flex;flex-direction:column;align-items:flex-end;gap:6px;font-size:12px;color:var(--mut);flex:none}
html[data-lay=a] .lxa-sell{background:var(--ac);color:#fff;border:0;border-radius:999px;padding:7px 18px;font-size:14px;font-weight:700}
html[data-lay=a] .lxa-pl{text-align:end;flex:none}
html[data-lay=a] .lxa-pl b{display:block;font-size:16px;font-weight:700}
html[data-lay=a] .lxa-pl.pos b{color:var(--good)}html[data-lay=a] .lxa-pl.neg b{color:var(--bad)}
html[data-lay=a] .lxa-day{display:flex;justify-content:space-between;align-items:baseline;margin:16px 4px 8px;font-size:13px;color:var(--mut);font-weight:600}
html[data-lay=a] .lxa-day span{display:flex;gap:8px;font-weight:700}
html[data-lay=a] .lxa-day .pos{color:var(--good)}html[data-lay=a] .lxa-day .neg{color:var(--bad)}
html[data-lay=a] .lxa-row{background:var(--s1);border-radius:16px;margin:0 0 8px;border:0;padding:11px 12px}
html[data-lay=a] .list{background:none;border:0;box-shadow:none;padding:0}
html[data-lay=a] .lxa-wel{padding:56px 6px 20px;text-align:center}
html[data-lay=a] .lxa-wb{width:84px;height:84px;margin:0 auto 20px;border-radius:26px;background:var(--s1);display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px #2f5bff22}
html[data-lay=a] .lxa-wel h1{font-size:21px;font-weight:700;margin:0 0 6px}html[data-lay=a] .lxa-wel p{color:var(--mut);margin:0 0 20px}
html[data-lay=a] .lxa-wel small{display:block;color:var(--mut);margin-top:16px;line-height:1.8;font-size:12.5px}
html[data-lay=a] .search input,html[data-lay=a] input{background:var(--s1);border:1px solid var(--line);border-radius:14px}
html[data-lay=a] .btn{background:var(--ac);color:#fff;border-radius:14px}
html[data-lay=a] .btn.s{background:var(--s2);color:var(--tx)}
html[data-lay=a] .seg{background:var(--s2);border:0;border-radius:14px;padding:4px;gap:0;margin:0 0 14px}
html[data-lay=a] .seg button{border-radius:11px;font-size:14px;padding:9px 6px;flex:1;color:var(--mut)}html[data-lay=a] .seg button.on{background:var(--s1);color:var(--tx);box-shadow:0 1px 3px #1a2a5a1a}html[data-lay=a] .seg button.on:after{display:none}
html[data-lay=a] nav{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;border:0;border-top:1px solid var(--line);border-radius:0;background:var(--bar);box-shadow:none;padding:6px 10px calc(8px + env(safe-area-inset-bottom))}
html[data-lay=a] nav button{border-radius:12px;margin:0;color:var(--mut);font-size:12px;font-weight:600}html[data-lay=a] nav button.on{background:var(--acd);color:var(--ac)}
html[data-lay=a] .gross{background:var(--gbg);color:var(--gtx);border:0;border-radius:12px;font-size:12px;margin:8px 0 12px}
html[data-lay=a] .card,html[data-lay=a] .sheet{background:var(--s1);border-radius:18px;border:0;box-shadow:0 1px 2px #1a2a5a10}
html[data-lay=a] .lot{background:var(--s1)}

/* =========================== B  Journal / Naskh =========================== */
html[data-lay=b]{--bg:#f5efe2;--s1:#fbf7ec;--s2:#ece3d0;--s3:#e0d5bd;--line:#d9ccb0;--tx:#2a1d16;--mut:#7a6a58;--ac:#8c2f23;--acd:#f0d9ce;--on:#fbf7ec;--bad:#a1291c;--good:#1f6b44;--bar:#f5efe2;--gbg:#f3dfd3;--gbd:#e6c7b5;--gtx:#85261a;--gac:#a1291c;--badd:#f3dfd3;--errt:#85261a;--okt:#1c5a3a;--dbd:#d9a79a;--gold:#b6842a;--r:6px;color-scheme:light}
html[data-lay=b] body,html[data-lay=b] button,html[data-lay=b] input,html[data-lay=b] textarea{font-family:"LxNoto","Noto Sans Arabic",Roboto,system-ui,sans-serif}
html[data-lay=b] body{background:var(--bg);color:var(--tx)}
html[data-lay=b] #app{padding:0 20px 100px}
html[data-lay=b] .lx-top h1,html[data-lay=b] .top h1{font-size:21px;font-weight:700}
html[data-lay=b] .lx-top .sub,html[data-lay=b] .top .sub{font-size:14px;color:var(--mut)}
html[data-lay=b] .lx-top{border-bottom:2px solid var(--tx);margin-bottom:14px;padding:24px 0 12px}
html[data-lay=b] .top{border-bottom:2px solid var(--tx);padding:24px 0 12px;margin-bottom:12px}
html[data-lay=b] .gross{background:none;border:0;border-bottom:1px dotted var(--bad);border-radius:0;color:var(--bad);font-size:13px;padding:4px 0 10px;margin:0 0 6px;justify-content:center}html[data-lay=b] .gross:before{display:none}
html[data-lay=b] .lxb-day{position:relative;padding-inline-start:20px;margin:0 0 6px;border-inline-start:2px solid var(--line)}
html[data-lay=b] .lxb-dh{display:flex;align-items:baseline;justify-content:space-between;margin:18px 0 8px;position:relative}
html[data-lay=b] .lxb-dh:before{content:"";position:absolute;inset-inline-start:-27px;top:11px;width:12px;height:12px;border-radius:50%;background:var(--tx)}
html[data-lay=b] .lxb-dh b{font-size:19px;font-weight:700}
html[data-lay=b] .lxb-dh span{display:flex;gap:8px;font-weight:700;font-size:15px}
html[data-lay=b] .lxb-dh .pos{color:var(--good)}html[data-lay=b] .lxb-dh .neg{color:var(--bad)}
html[data-lay=b] .lxb-en{display:grid;grid-template-columns:auto auto 1fr auto;column-gap:10px;row-gap:6px;align-items:center;background:var(--s1);border:1px solid var(--line);border-radius:6px;padding:11px 12px;margin:0 0 9px}
html[data-lay=b] .lxb-k{font-size:12px;font-weight:700;padding:2px 9px;border-radius:3px;border:1px solid currentColor;color:var(--mut);justify-self:start}
html[data-lay=b] .lxb-en.sell .lxb-k{color:var(--ac)}
html[data-lay=b] .lxb-en .lg{width:34px;height:34px}
html[data-lay=b] .lxb-r{text-align:end;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
html[data-lay=b] .lxb-r small{color:var(--mut);font-size:12px}
html[data-lay=b] .lxb-r b{font-size:17px;font-weight:700}html[data-lay=b] .lxb-r b.pos{color:var(--good)}html[data-lay=b] .lxb-r b.neg{color:var(--bad)}
html[data-lay=b] .lxb-sell{background:var(--ac);color:var(--on);border:0;border-radius:4px;padding:6px 16px;font-size:14px;font-weight:700}
html[data-lay=b] .lxb-ac{grid-column:1/-1;display:flex;justify-content:flex-end;border-top:1px dotted var(--line);padding-top:8px}
html[data-lay=b] .lxb-en>.editbox,html[data-lay=b] .lxb-en>.err,html[data-lay=b] .lxb-en>.acts{grid-column:1/-1}
html[data-lay=b] .lb2{border-radius:4px;border-color:var(--tx)}
html[data-lay=b] .lxb-row{border-bottom:1px solid var(--line);padding:11px 2px;background:none}
html[data-lay=b] .list{background:none;border:0;box-shadow:none;padding:0}
html[data-lay=b] .lxb-wel{padding:60px 4px 20px}html[data-lay=b] .lxb-wel h1{font-size:24px;line-height:1.35;margin:6px 0 8px;font-weight:700}
html[data-lay=b] .lxb-ruler{height:6px;border-top:2px solid var(--tx);border-bottom:1px solid var(--tx);margin-bottom:20px}
html[data-lay=b] .lxb-wel>small{color:var(--ac);font-weight:700;font-size:14px}html[data-lay=b] .lxb-wel p{color:var(--mut);margin:0 0 18px;font-size:16px}html[data-lay=b] .lxb-wel .fine{display:block;color:var(--mut);margin-top:16px;line-height:1.9;font-size:13px;font-weight:400}
html[data-lay=b] input{background:var(--s1);border:0;border-bottom:2px solid var(--tx);border-radius:0;font-size:18px}
html[data-lay=b] .btn{background:var(--tx);color:var(--bg);border-radius:4px}html[data-lay=b] .btn.s{background:var(--s2);color:var(--tx)}
html[data-lay=b] .seg{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0;gap:20px}html[data-lay=b] .seg button{flex:none;border-radius:0;font-size:15px}html[data-lay=b] .seg button.on{background:none;border-bottom:2px solid var(--tx);color:var(--tx)}
html[data-lay=b] nav{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;border:0;border-top:2px solid var(--tx);border-radius:0;background:var(--bg);padding:4px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:none}
html[data-lay=b] nav button{margin:0;border-radius:0;background:none!important;color:var(--mut);font-size:13px;font-weight:700;flex-direction:row;justify-content:center;gap:5px;padding:12px 2px}html[data-lay=b] nav button svg{display:none}html[data-lay=b] nav button.on{color:var(--ac);box-shadow:inset 0 -3px 0 var(--ac)}
html[data-lay=b] .ib{background:none;border:1px solid var(--tx);border-radius:4px;color:var(--tx)}
html[data-lay=b] .card,html[data-lay=b] .sheet{background:var(--s1);border:1px solid var(--line);border-radius:6px;box-shadow:none}

/* =========================== C  Company / Tajawal =========================== */
html[data-lay=c]{--bg:#0f1b1a;--s1:#16282a;--s2:#1c3335;--s3:#264446;--line:#2b4a4c;--tx:#eaf5f2;--mut:#8fb0ac;--ac:#4fd1b0;--acd:#173f3a;--on:#052b24;--bad:#ff7b7b;--good:#52e0a8;--bar:#0f1b1af2;--gbg:#35201f;--gbd:#35201f;--gtx:#ffb3ad;--gac:#ff7b7b;--badd:#35201f;--errt:#ffc2bd;--okt:#aff0dd;--dbd:#6a3434;--gold:#ffd166;--r:16px;color-scheme:dark}
html[data-lay=c] body,html[data-lay=c] button,html[data-lay=c] input,html[data-lay=c] textarea{font-family:"LxNoto","Noto Sans Arabic",Roboto,system-ui,sans-serif}
html[data-lay=c] body{background:var(--bg);color:var(--tx)}
html[data-lay=c] #app{padding:0 14px 40px}
html[data-lay=c] .lx-top h1,html[data-lay=c] .top h1{font-size:21px;font-weight:700}
html[data-lay=c] .lx-top .sub,html[data-lay=c] .top .sub{font-size:13px;color:var(--mut)}
html[data-lay=c] nav{top:0;bottom:auto;left:0;right:0;transform:none;width:100%;max-width:none;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--bar);padding:0 6px;box-shadow:none;backdrop-filter:blur(10px)}
html[data-lay=c] nav button{margin:0;border-radius:0;background:none!important;flex-direction:row;justify-content:center;gap:6px;padding:15px 4px 13px;font-size:14px;font-weight:700;color:var(--mut);position:relative}
html[data-lay=c] nav button svg{width:17px;height:17px}html[data-lay=c] nav button.on{color:var(--ac)}html[data-lay=c] nav button.on:after{content:"";position:absolute;inset-inline:18%;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--ac)}
html[data-lay=c] body{padding-top:50px}
html[data-lay=c] .lxc-co{background:var(--s1);border-radius:18px;margin:0 0 12px;overflow:hidden;border:1px solid var(--line)}
html[data-lay=c] .lxc-hd{display:flex;align-items:center;gap:11px;width:100%;background:none;border:0;color:var(--tx);padding:13px;text-align:start;font-family:inherit}
html[data-lay=c] .lxc-hd .nm{flex:1}
html[data-lay=c] .lxc-ch{display:flex;flex-direction:column;gap:5px;align-items:flex-end;flex:none}
html[data-lay=c] .chip{font-size:12px;background:var(--s3);color:var(--tx);border-radius:999px;padding:3px 10px;white-space:nowrap}html[data-lay=c] .chip b{font-weight:700}
html[data-lay=c] .chip.pos{background:#143b30;color:var(--good)}html[data-lay=c] .chip.neg{background:#3c2022;color:var(--bad)}
html[data-lay=c] .chev{width:9px;height:9px;border-inline-end:2px solid var(--mut);border-bottom:2px solid var(--mut);transform:rotate(45deg);margin:0 4px;flex:none;transition:transform .2s}
html[data-lay=c] .lxc-co.open .chev{transform:rotate(-135deg)}
html[data-lay=c] .lxc-bd{border-top:1px solid var(--line);background:#0000001f}
html[data-lay=c] .lxc-ln{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid var(--line)}
html[data-lay=c] .lxc-ln:last-child{border-bottom:0}
html[data-lay=c] .lxc-ln>div:first-child{flex:1;min-width:0}html[data-lay=c] .lxc-ln b{display:block;font-size:15px;font-weight:700}html[data-lay=c] .lxc-ln span{font-size:12.5px;color:var(--mut)}
html[data-lay=c] .lxc-pl{text-align:end}html[data-lay=c] .lxc-pl b.pos{color:var(--good)}html[data-lay=c] .lxc-pl b.neg{color:var(--bad)}
html[data-lay=c] .lxc-ac{flex-basis:100%;display:flex;justify-content:flex-end}
html[data-lay=c] .lxc-ln>.editbox,html[data-lay=c] .lxc-ln>.err,html[data-lay=c] .lxc-ln>.acts{flex-basis:100%}
html[data-lay=c] .lxc-sell{background:var(--ac);color:var(--on);border:0;border-radius:999px;padding:7px 20px;font-size:14px;font-weight:700}
html[data-lay=c] .lxc-sec{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 8px;color:var(--ac);font-size:13.5px;font-weight:700}html[data-lay=c] .lxc-sec span{color:var(--mut);font-weight:500}
html[data-lay=c] .list{background:var(--s1);border:1px solid var(--line);border-radius:16px;box-shadow:none;padding:0;overflow:hidden}
html[data-lay=c] .lxc-row{border-bottom:1px solid var(--line)}
html[data-lay=c] .lxc-wel{padding:70px 6px 20px}html[data-lay=c] .lxc-tag{display:inline-block;background:var(--acd);color:var(--ac);border-radius:999px;padding:5px 13px;font-size:13px;font-weight:700;margin-bottom:16px}
html[data-lay=c] .lxc-wel h1{font-size:24px;line-height:1.4;margin:0 0 8px;font-weight:700}html[data-lay=c] .lxc-wel p{color:var(--mut);margin:0 0 20px}html[data-lay=c] .lxc-wel small{display:block;color:var(--mut);line-height:1.8;margin-top:16px;font-size:13px}
html[data-lay=c] input{background:var(--s1);border:1px solid var(--line);border-radius:14px}
html[data-lay=c] .btn{background:var(--ac);color:var(--on);border-radius:14px}html[data-lay=c] .btn.s{background:var(--s3);color:var(--tx)}
html[data-lay=c] .seg{background:var(--s1);border:1px solid var(--line);border-radius:14px;padding:4px;gap:0;margin:0 0 14px}html[data-lay=c] .seg button{flex:1;border-radius:10px;padding:9px 6px}html[data-lay=c] .seg button.on{background:var(--s3);color:var(--tx)}html[data-lay=c] .seg button.on:after{display:none}
html[data-lay=c] .gross{background:var(--gbg);color:var(--gtx);border:0;border-radius:12px;font-size:12.5px;margin:0 0 14px}
html[data-lay=c] .ib{background:var(--s1);border:1px solid var(--line);border-radius:12px;color:var(--mut)}
html[data-lay=c] .card,html[data-lay=c] .sheet,html[data-lay=c] .lot{background:var(--s1);border:1px solid var(--line);border-radius:16px;box-shadow:none}
html[data-lay=c] .lb2{border-color:var(--line)}

/* =========================== D  Ledger table / Plex =========================== */
html[data-lay=d]{--bg:#eceff1;--s1:#ffffff;--s2:#f2f4f6;--s3:#dfe4e8;--line:#cfd6dc;--tx:#12161a;--mut:#5c6770;--ac:#0b5cff;--acd:#e0ebff;--on:#fff;--bad:#c4211b;--good:#0a7a43;--bar:#ffffff;--gbg:#fff1cf;--gbd:#f0d98f;--gtx:#6b4a00;--gac:#c28a00;--badd:#fdeceb;--errt:#8f1914;--okt:#075c33;--dbd:#e5aaa6;--gold:#c28a00;--r:3px;color-scheme:light}
html[data-lay=d] body,html[data-lay=d] button,html[data-lay=d] input,html[data-lay=d] textarea{font-family:"LxNoto","Noto Sans Arabic",Roboto,system-ui,sans-serif}
html[data-lay=d] body{background:var(--bg);color:var(--tx);font-feature-settings:"tnum"}
html[data-lay=d] #app{padding:0 10px 90px}
html[data-lay=d] .lx-top{padding:16px 2px 10px}html[data-lay=d] .lx-top h1,html[data-lay=d] .top h1{font-size:19px;font-weight:700}html[data-lay=d] .top{padding:16px 2px 10px}
html[data-lay=d] .lx-top .sub,html[data-lay=d] .top .sub{font-size:12.5px;color:var(--mut)}
html[data-lay=d] .lxd-t{background:var(--s1);border:1px solid var(--line);border-radius:4px;overflow:hidden;margin-bottom:12px}
html[data-lay=d] .lxd-h,html[data-lay=d] .lxd-r{display:grid;grid-template-columns:minmax(0,1fr) 54px 56px 58px;gap:6px;align-items:center;padding:9px 10px}
html[data-lay=d] .lxd-h{background:var(--tx);color:#fff;font-size:12px;font-weight:600;padding:8px 10px}
html[data-lay=d] .lxd-h.c,html[data-lay=d] .lxd-r.c{grid-template-columns:minmax(0,1fr) 36px 58px 70px}
html[data-lay=d] .lxd-r{border-bottom:1px solid var(--line)}html[data-lay=d] .lxd-r:nth-child(even){background:var(--s2)}
html[data-lay=d] .lxd-r .nm b{font-size:15px;line-height:1.5;font-weight:600;display:block;white-space:normal}
html[data-lay=d] .lxd-r .nm span{font-size:12px}
html[data-lay=d] .lxd-r .q{font-size:15px;font-weight:700;text-align:center}html[data-lay=d] .lxd-r .q small{font-size:12px;color:var(--mut);font-weight:400}
html[data-lay=d] .lxd-r .p{font-size:13px;font-weight:500;text-align:center;line-height:1.5}
html[data-lay=d] .lxd-r .pl{font-size:14px;text-align:end;font-weight:700}html[data-lay=d] .lxd-r .pl small{display:block;font-size:12px;font-weight:500}
html[data-lay=d] .lxd-sell{background:var(--ac);color:#fff;border:0;border-radius:3px;padding:7px 0;font-size:13px;font-weight:700}
html[data-lay=d] .lxd-ac{grid-column:1/-1;display:flex;gap:6px;justify-content:flex-end;margin-top:-2px}
html[data-lay=d] .lxd-r>.editbox,html[data-lay=d] .lxd-r>.err,html[data-lay=d] .lxd-r>.acts{grid-column:1/-1}
html[data-lay=d] .lb2{border-radius:3px;font-size:12px;padding:4px 12px}
html[data-lay=d] .lxd-day{display:flex;justify-content:space-between;background:var(--s3);padding:6px 10px;font-size:12.5px;font-weight:700}html[data-lay=d] .lxd-day span{display:flex;gap:8px}html[data-lay=d] .lxd-day .pos{color:var(--good)}html[data-lay=d] .lxd-day .neg{color:var(--bad)}
html[data-lay=d] .lxd-f{display:flex;justify-content:space-between;padding:10px;background:var(--s3);font-size:13px;font-weight:700}
html[data-lay=d] .lxd-mr{display:flex;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--s1)}html[data-lay=d] .lxd-mr:nth-child(even){background:var(--s2)}
html[data-lay=d] .tkc{width:56px;flex:none;font-size:13px;font-weight:700;color:var(--ac);text-align:start}
html[data-lay=d] .lxd-mr .nm b{font-size:15px;line-height:1.5;-webkit-line-clamp:1}html[data-lay=d] .lxd-mr .nm span{font-size:12px}
html[data-lay=d] .list{background:var(--s1);border:1px solid var(--line);border-radius:4px;box-shadow:none;padding:0;overflow:hidden}
html[data-lay=d] .lxd-wel{padding:46px 4px 20px}html[data-lay=d] .lxd-bar{background:var(--tx);color:#fff;font-weight:700;letter-spacing:4px;font-size:12px;padding:8px 12px;margin-bottom:22px;direction:ltr}
html[data-lay=d] .lxd-wel h1{font-size:21px;margin:0 0 6px;font-weight:700}html[data-lay=d] .lxd-wel p{color:var(--mut);margin:0 0 16px}html[data-lay=d] .lxd-wel small{display:block;color:var(--mut);line-height:1.8;margin-top:14px;font-size:12.5px}
html[data-lay=d] input{background:var(--s1);border:1px solid var(--tx);border-radius:3px}
html[data-lay=d] .btn{background:var(--tx);color:#fff;border-radius:3px}html[data-lay=d] .btn.s{background:var(--s3);color:var(--tx)}
html[data-lay=d] .seg{background:var(--s1);border:1px solid var(--line);border-radius:4px;padding:0;gap:0;margin:0 0 10px}html[data-lay=d] .seg button{flex:1;border-radius:0;padding:9px 6px;font-size:13px}html[data-lay=d] .seg button.on{background:var(--tx);color:#fff}html[data-lay=d] .seg button.on:after{display:none}
html[data-lay=d] nav{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;border:0;border-top:1px solid var(--tx);border-radius:0;background:var(--s1);padding:0;box-shadow:none}
html[data-lay=d] nav button{margin:0;border-radius:0;flex-direction:column;gap:2px;padding:8px 2px 9px;font-size:12px;font-weight:600;color:var(--mut);background:none!important;border-inline-end:1px solid var(--line)}html[data-lay=d] nav button:last-child{border-inline-end:0}html[data-lay=d] nav button.on{background:var(--tx)!important;color:#fff}html[data-lay=d] nav button svg{width:19px;height:19px}
html[data-lay=d] .gross{background:var(--gbg);border:1px solid var(--gbd);color:var(--gtx);border-radius:3px;font-size:12px;margin:0 0 10px}
html[data-lay=d] .ib{background:var(--s1);border:1px solid var(--line);border-radius:3px;color:var(--tx)}
html[data-lay=d] .card,html[data-lay=d] .sheet,html[data-lay=d] .lot{background:var(--s1);border:1px solid var(--line);border-radius:4px;box-shadow:none}

/* =========================== E  Workspace / Readex =========================== */
html[data-lay=e]{--bg:#15131d;--s1:#1f1c2b;--s2:#282438;--s3:#342f48;--line:#39334f;--tx:#f1eefb;--mut:#a49fbb;--ac:#a58bff;--acd:#2e2753;--on:#150f33;--bad:#ff7d93;--good:#6ee7b0;--bar:#201d2cf2;--gbg:#3a2230;--gbd:#3a2230;--gtx:#ffb9c6;--gac:#ff7d93;--badd:#3a2230;--errt:#ffc5cf;--okt:#c5f7e0;--dbd:#6d3445;--gold:#ffd166;--r:22px;color-scheme:dark}
html[data-lay=e] body,html[data-lay=e] button,html[data-lay=e] input,html[data-lay=e] textarea{font-family:"LxNoto","Noto Sans Arabic",Roboto,system-ui,sans-serif}
html[data-lay=e] body{background:var(--bg);color:var(--tx)}
html[data-lay=e] #app{padding:0 16px 120px}
html[data-lay=e] .lx-top h1,html[data-lay=e] .top h1{font-size:20px;font-weight:600}html[data-lay=e] .lx-top .sub,html[data-lay=e] .top .sub{font-size:13px;color:var(--mut)}
html[data-lay=e] .lxe-rail{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:4px 16px 16px;-webkit-overflow-scrolling:touch}
html[data-lay=e] .lxe-rail::-webkit-scrollbar{display:none}
html[data-lay=e] .lxe-lot{flex:0 0 82%;scroll-snap-align:center;background:linear-gradient(170deg,var(--s2),var(--s1));border:1px solid var(--line);border-radius:26px;padding:18px;display:flex;flex-direction:column;gap:14px}
html[data-lay=e] .lxe-lh{display:flex;align-items:center;gap:11px}html[data-lay=e] .lxe-lh .lg{width:46px;height:46px}
html[data-lay=e] .lxe-rem b{display:block;font-size:24px;font-weight:600;line-height:1.3}html[data-lay=e] .lxe-rem span{font-size:13px;color:var(--mut)}
html[data-lay=e] .lxe-bar{height:8px;border-radius:8px;background:var(--s3);overflow:hidden}html[data-lay=e] .lxe-bar i{display:block;height:100%;background:var(--ac);border-radius:8px}
html[data-lay=e] .lxe-meta{display:flex;gap:10px}html[data-lay=e] .lxe-meta>div{flex:1;background:var(--bg);border-radius:14px;padding:9px 11px}html[data-lay=e] .lxe-meta small{display:block;font-size:12px;color:var(--mut)}html[data-lay=e] .lxe-meta b{font-size:15px;font-weight:600}
html[data-lay=e] .lxe-sell{background:var(--ac);color:var(--on);border:0;border-radius:16px;padding:13px;font-size:15px;font-weight:600}
html[data-lay=e] .lxe-rc{position:relative;display:grid;grid-template-columns:1fr auto;gap:8px 12px;background:var(--s1);border-radius:18px;padding:14px 14px 12px;margin:0 0 20px;border:1px solid var(--line)}
html[data-lay=e] .lxe-rc:after{content:"";position:absolute;inset-inline:14px;bottom:-11px;height:0;border-bottom:2px dashed var(--line)}
html[data-lay=e] .lxe-rl{display:flex;align-items:center;gap:10px;min-width:0}
html[data-lay=e] .lxe-rr{text-align:end}html[data-lay=e] .lxe-rr .a{font-size:12px;color:var(--mut)}html[data-lay=e] .lxe-rr .b{font-size:17px;font-weight:600}html[data-lay=e] .lxe-rr .b.pos{color:var(--good)}html[data-lay=e] .lxe-rr .b.neg{color:var(--bad)}
html[data-lay=e] .lxe-ra{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:10px}
html[data-lay=e] .lxe-rc>.editbox,html[data-lay=e] .lxe-rc>.err,html[data-lay=e] .lxe-rc>.acts{grid-column:1/-1}
html[data-lay=e] .lb2{border-color:var(--line);color:var(--tx)}html[data-lay=e] .lb2.d{color:var(--bad)}
html[data-lay=e] .lxe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-lay=e] .lxe-tile{position:relative;flex-direction:column;align-items:flex-start;gap:10px;background:var(--s1);border:1px solid var(--line)!important;border-radius:20px;padding:14px;min-height:118px}
html[data-lay=e] .lxe-tile .star{position:absolute;top:8px;inset-inline-end:6px}html[data-lay=e] .lxe-tile .lg{width:42px;height:42px}
html[data-lay=e] .lxe-tile .nm{width:100%}html[data-lay=e] .lxe-tile .nm b{font-size:15px;line-height:1.5;-webkit-line-clamp:2}
html[data-lay=e] .lxe-tile .x{position:absolute;bottom:10px;inset-inline-end:10px}
html[data-lay=e] .lxe-wel{padding:64px 0 20px}html[data-lay=e] .lxe-card{background:linear-gradient(170deg,var(--s2),var(--s1));border:1px solid var(--line);border-radius:30px;padding:22px}
html[data-lay=e] .lxe-dots{display:flex;gap:6px;margin-bottom:18px}html[data-lay=e] .lxe-dots i{width:10px;height:10px;border-radius:50%;background:var(--ac)}html[data-lay=e] .lxe-dots i:nth-child(2){opacity:.55}html[data-lay=e] .lxe-dots i:nth-child(3){opacity:.25}
html[data-lay=e] .lxe-card h1{font-size:21px;margin:0 0 8px;font-weight:600;line-height:1.4}html[data-lay=e] .lxe-card p{color:var(--mut);margin:0 0 18px}html[data-lay=e] .lxe-card small{display:block;color:var(--mut);line-height:1.8;margin-top:14px;font-size:12.5px}
html[data-lay=e] .wl{margin-top:16px}
html[data-lay=e] input{background:var(--bg);border:1px solid var(--line);border-radius:16px}
html[data-lay=e] .btn{background:var(--ac);color:var(--on);border-radius:16px}html[data-lay=e] .btn.s{background:var(--s3);color:var(--tx)}
html[data-lay=e] .seg{background:var(--s1);border:1px solid var(--line);border-radius:999px;padding:4px;gap:0;margin:0 0 16px}html[data-lay=e] .seg button{flex:1;border-radius:999px;padding:9px 6px}html[data-lay=e] .seg button.on{background:var(--ac);color:var(--on)}html[data-lay=e] .seg button.on:after{display:none}
html[data-lay=e] nav{left:50%;right:auto;bottom:14px;transform:translateX(-50%);width:calc(100% - 32px);max-width:400px;border:1px solid var(--line);border-radius:26px;background:var(--bar);box-shadow:0 14px 34px #0008;padding:6px}
html[data-lay=e] nav button{margin:0;border-radius:20px;flex:1 1 0;min-width:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;padding:7px 1px 6px;font-size:12px;line-height:1.3;font-weight:500;color:var(--mut);white-space:nowrap}html[data-lay=e] nav button svg{width:22px;height:22px}
html[data-lay=e] nav button.on{background:var(--ac);color:var(--on);font-size:12px;font-weight:700}
html[data-lay=e] .gross{background:var(--gbg);color:var(--gtx);border:0;border-radius:14px;font-size:12.5px;margin:0 0 14px}
html[data-lay=e] .ib{background:var(--s1);border:1px solid var(--line);border-radius:14px;color:var(--mut)}
html[data-lay=e] .card,html[data-lay=e] .sheet,html[data-lay=e] .lot{background:var(--s1);border:1px solid var(--line);border-radius:20px;box-shadow:none}
html[data-lay=e] .list{background:none;border:0;box-shadow:none;padding:0}
html[data-lay] .nm span{white-space:normal;overflow:visible;text-overflow:clip;display:block}
html[data-lay] .nm .xt{display:block;margin-top:2px;direction:ltr;text-align:start}
html[data-lay] .nm b{white-space:normal;-webkit-line-clamp:2}
html[data-lay=d] .lxd-r .nm b,html[data-lay=b] .lxb-en .nm b,html[data-lay=e] .nm b{display:block;-webkit-line-clamp:unset;overflow:visible;text-overflow:clip;white-space:normal}
/* remaining = red (v14 rule) */
html[data-lay] .rmq,html[data-lay] .rmq *,html[data-lay=a] .lxa-q b,html[data-lay=a] .lxa-q span{color:var(--bad)!important}
html[data-lay] .chip.rmq{background:transparent;border:1px solid currentColor}
/* names and trade details stay neutral; only the result is coloured */
html[data-lay] .nm b{color:var(--tx)!important}
html[data-lay] .nm span,html[data-lay] .nm .xt{color:var(--mut)!important}
html[data-lay=d] .lxd-r.c .q,html[data-lay=d] .lxd-r.c .p{color:var(--tx)!important}
html[data-lay=d] .lxd-mr .nm{flex:1;min-width:0}
/* E closed receipts */
html[data-lay=e] .lxe-rl{grid-column:1/-1}
html[data-lay=e] .lxe-rr{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:start}
html[data-lay=e] .lxe-rr .b{display:flex;align-items:center;gap:8px}
html[data-lay=e] .lxe-nav{display:flex;justify-content:space-between;align-items:center;margin:2px 0 8px;font-size:13.5px;color:var(--mut)}
html[data-lay=e] .lxe-nav button{width:40px;height:36px;margin-inline-start:6px;border-radius:12px;border:1px solid var(--line);background:var(--s1);color:var(--tx);font-size:20px}
html[data-lay=e] .lxe-cnt b{color:var(--tx)}
/* B open strip */
html[data-lay=b] .lxb-own{margin:6px 0 14px;padding:10px 0;border-bottom:1px solid var(--line)}
html[data-lay=b] .lxb-own>b{display:block;font-size:13px;color:var(--mut);margin-bottom:8px;font-weight:600}
html[data-lay=b] .lxb-own>div{display:flex;flex-wrap:wrap;gap:8px}
html[data-lay=b] .lxb-oc{background:var(--s1);border:1px solid var(--line);border-radius:4px;padding:6px 10px;font-size:13.5px;color:var(--tx);font-weight:700}
html[data-lay=b] .lxb-oc em{font-style:normal;margin-inline-start:4px}
html[data-lay] em.rmq{font-style:normal}
.lx-dchips{display:flex;gap:8px;overflow-x:auto;margin:0 0 12px;padding-bottom:4px}
.lx-dc{flex:none;background:var(--s1);border:1px solid var(--line);border-radius:12px;padding:7px 11px;font-size:12.5px;color:var(--mut)}
.lx-dc b{display:block;font-weight:500}.lx-dc span{display:flex;gap:6px;align-items:baseline;font-size:14px;font-weight:600}
.lx-dc .pos{color:var(--good)}.lx-dc .neg{color:var(--bad)}.lx-dc .pc{font-size:12px;font-style:normal}
/* ===== motion: one personality per layout; short, never blocks input ===== */
@keyframes mA{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes mB{from{opacity:0;transform:translateX(-26px)}to{opacity:1;transform:none}}
@keyframes mC{from{opacity:0;transform:translateY(-10px) scaleY(.96);transform-origin:top}to{opacity:1;transform:none}}
@keyframes mD{from{clip-path:inset(0 0 0 100%);opacity:.4}to{clip-path:inset(0);opacity:1}}
@keyframes mE{0%{opacity:0;transform:scale(.92)}60%{opacity:1;transform:scale(1.025)}100%{transform:none}}
@keyframes mNavE{0%{transform:scale(.85)}60%{transform:scale(1.08)}100%{transform:none}}
@keyframes mRing{0%{box-shadow:0 0 0 0 var(--ac)}100%{box-shadow:0 0 0 12px transparent}}
@keyframes mInk{from{background-size:0 100%}to{background-size:100% 100%}}
html[data-lay=a] #app.enter>*{animation:mA .30s cubic-bezier(.2,.8,.2,1) backwards}
html[data-lay=b] #app.enter>*{animation:mB .34s cubic-bezier(.3,.7,.2,1) backwards}
html[data-lay=c] #app.enter>*{animation:mC .28s ease-out backwards}
html[data-lay=d] #app.enter>*{animation:mD .20s steps(8,end) backwards}
html[data-lay=e] #app.enter>*{animation:mE .42s cubic-bezier(.2,.9,.3,1.2) backwards}
html[data-lay] #app.enter>*:nth-child(2){animation-delay:.04s}html[data-lay] #app.enter>*:nth-child(3){animation-delay:.08s}html[data-lay] #app.enter>*:nth-child(n+4){animation-delay:.12s}
/* tab buttons */
html[data-lay=a] nav button{transition:background-color .25s,color .25s,transform .15s}html[data-lay=a] nav button:active{transform:scale(.92)}
html[data-lay=b] nav button:active{background:var(--s2)!important}html[data-lay=b] nav button.on:after{animation:mB .3s ease-out}
html[data-lay=c] nav button.on:after{animation:mC .3s ease-out}html[data-lay=c] nav button:active{color:var(--ac)}
html[data-lay=d] nav button:active{background:var(--tx);color:var(--s1)}
html[data-lay=e] nav button.on{animation:mNavE .38s cubic-bezier(.2,.9,.3,1.3)}html[data-lay=e] nav button:active{transform:scale(.9)}
/* touch effects on cards and buttons */
html[data-lay=a] .item:active,html[data-lay=a] .lxa-card:active,html[data-lay=a] button:active{transform:scale(.97);box-shadow:0 2px 10px rgba(47,91,255,.25)}
html[data-lay=b] .item:active,html[data-lay=b] .lxb-en:active{background:var(--s2);transform:translateX(-3px)}
html[data-lay=b] button:active{background:var(--tx);color:var(--s1)}
html[data-lay=c] .item:active,html[data-lay=c] button:active,html[data-lay=c] .lxc-hd:active{animation:mRing .45s ease-out}
html[data-lay=d] .item:active,html[data-lay=d] .lxd-r:active{background:var(--acd)!important;transition:none}
html[data-lay=d] button:active{filter:invert(1);transition:none}
html[data-lay=e] .item:active,html[data-lay=e] button:active,html[data-lay=e] .lxe-lot:active{transform:scale(.94);transition:transform .12s cubic-bezier(.2,.9,.3,1.4)}
html[data-lay=c] .lxc-bd{animation:mC .26s ease-out}
html[data-lay=e] .lxe-lot,html[data-lay=e] .lxe-rc{transition:transform .25s}
@media (prefers-reduced-motion:reduce){html[data-lay] *{animation:none!important;transition:none!important}}
/* no accidental text selection on tappable surfaces; inputs stay selectable */
#app button,#app [data-act],#app .card,#app .row,#app nav,#app a{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
#app input,#app textarea,#app select{-webkit-user-select:text;user-select:text}
body *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
body input,body textarea,body select{-webkit-user-select:text;user-select:text}

/* type system: one family (Noto Sans Arabic, as in v14), body 15px/1.6, nothing under 12px, no oversized headings */
html[data-lay] body{font-size:15px;line-height:1.6;font-weight:400}
html[data-lay] .pill,html[data-lay] small,html[data-lay] .sub,html[data-lay] .lbl{font-size:12.5px;line-height:1.5}
html[data-lay] h1{font-size:21px;line-height:1.45;font-weight:700}
html[data-lay] nav button{font-size:12px;line-height:1.4}

/* logo slot in B and D rows; placeholder is a neutral building glyph, not a company mark */
html[data-lay=b] .lxb-row .lg,html[data-lay=d] .lxd-mr .lg{width:36px;height:36px}
html[data-lay] .lg.ph svg{width:20px;height:20px}

/* closed-tab day summary: date on its own line, one row per currency, amount and percent isolated */
.day .dh{display:block !important;padding:0 4px 10px}
.day .dh>b{display:block;margin-bottom:8px;padding-top:0;unicode-bidi:isolate}
.day .dns{display:flex;flex-direction:column;gap:10px}
.day .dn{display:flex !important;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:2px 12px;direction:inherit !important;text-align:start !important}
.day .dn>span{display:inline-block !important;font-size:22px !important;line-height:1.2;unicode-bidi:isolate;white-space:nowrap}
.day .dn .pct{display:inline-block;margin:0 !important;font-size:14px !important;unicode-bidi:isolate}
.day .dn small{display:block;flex-basis:100%;margin:2px 0 0 !important}

/* closed day summary v18h: date on its own side, one row per currency, amount and percent isolated */
.lxa-day,.lxb-dh,.lxd-day{flex-wrap:wrap;gap:6px 14px !important;align-items:flex-start !important}
.lxa-day>b,.lxb-dh>b,.lxd-day>b,.lx-dc>b{unicode-bidi:isolate;white-space:nowrap}
.lxa-day>span,.lxb-dh>span,.lxd-day>span,.lx-dc>span{display:flex !important;flex-direction:column;gap:4px !important;align-items:flex-start}
.dsr{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.dsa{unicode-bidi:isolate;font-weight:700}
.dsr .pc{unicode-bidi:isolate;font-size:12.5px;font-style:normal}
html[data-lay=d] .lxd-h.c,html[data-lay=d] .lxd-r.c{grid-template-columns:minmax(0,1fr) 52px 54px 68px}
html[data-lay=d] .lxd-h.c>*,html[data-lay=d] .lxd-r.c>*{min-width:0;overflow-wrap:anywhere}
html[data-lay=d] .lxd-h.c>*{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* v18j narrow closed rows: long names get their own full-width line, amount+unit never splits */
.dsa,.lxa-pl b,.lxb-r b,.lxc-pl b,.lxd-r .pl,.lxe-rr .b,.chip{white-space:nowrap}
@media (max-width:400px){
 html[data-lay=b] .lxb-en{grid-template-columns:auto minmax(0,1fr) auto}
 html[data-lay=b] .lxb-en>.lxb-k{grid-column:1;grid-row:1}
 html[data-lay=b] .lxb-en>.lxb-r{grid-column:2/-1;grid-row:1;justify-self:end;text-align:end}
 html[data-lay=b] .lxb-en>.lg,html[data-lay=b] .lxb-en>.lgw{grid-column:1;grid-row:2;align-self:start}
 html[data-lay=b] .lxb-en>.nm{grid-column:2/-1;grid-row:2;min-width:0}
 html[data-lay=d] .lxd-h.c,html[data-lay=d] .lxd-r.c{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr) minmax(0,1.2fr)}
 html[data-lay=d] .lxd-r.c>.nm{grid-column:1/-1;grid-row:1}
 html[data-lay=d] .lxd-r.c>.q{grid-column:2;grid-row:2}
 html[data-lay=d] .lxd-r.c>.p{grid-column:3;grid-row:2}
 html[data-lay=d] .lxd-r.c>.pl{grid-column:4;grid-row:2}
 html[data-lay=d] .lxd-r.c>.lxd-ac{grid-row:3}
 html[data-lay=d] .lxd-r.c>*{overflow-wrap:normal}
 html[data-lay=d] .lxd-r.c>.nm{overflow-wrap:break-word}
 html[data-lay=c] .lxc-hd{flex-wrap:wrap}
 html[data-lay=c] .lxc-hd .nm{flex:1 1 0;min-width:0}
 html[data-lay=c] .lxc-hd .nm b{display:block;white-space:normal;-webkit-line-clamp:unset}
 html[data-lay=c] .lxc-ch{order:5;flex:1 1 100%;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
 html[data-lay=e] .lxe-rr .b{flex-wrap:wrap}
}
