.mrl-tools{--ink:#25302E;--grey:#596461;--teal:#356C76;--teal-d:#28545D;--soft:#E5F0F0;--or:#E28235;--warm:#F3D8BA;--or-d:#B36124;--gold:#C9A45A;--gold-t:#A9842F;--line:#E6DCC6;--pnl:8px 16px 8px 8px;background:#F6F7F3;color:var(--ink);font-family:"Noto Sans","Segoe UI",system-ui,sans-serif;padding-block:28px 32px;scroll-margin-top:calc(var(--header-h,120px) + 12px)}
html[dir="rtl"] .mrl-tools{--pnl:16px 8px 8px 8px}
html[lang="ar"] .mrl-tools{font-family:"IBM Plex Sans Arabic","Segoe UI",Tahoma,sans-serif}
.mrl-tools *{box-sizing:border-box}
.mrl-tools .mrl-wrap{max-width:1200px;margin-inline:auto;padding-inline:clamp(16px,4vw,48px)}
.mrl-tools .mrl-head{margin-bottom:14px}
.mrl-tools .mrl-h{margin:0;font-family:"Commissioner","Noto Sans",sans-serif;font-weight:800;font-size:clamp(25px,3.4vw,40px);line-height:1.15;letter-spacing:-.02em;text-wrap:balance}
.mrl-tools .mrl-sub{margin:6px 0 0;color:var(--grey);font-size:16px;line-height:1.45}
html[lang="ar"] .mrl-tools .mrl-h,html[lang="ar"] .mrl-tools .mrl-rt{font-family:"IBM Plex Sans Arabic",sans-serif;font-weight:700;letter-spacing:0}
.mrl-tools .mrl-free{position:relative;display:inline-block;color:var(--gold-t);font-weight:800;text-transform:uppercase;letter-spacing:.04em;padding-bottom:3px}
.mrl-tools .mrl-free::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:min(100%,1.6em);height:2px;border-radius:2px;background:var(--gold)}
html[lang="ar"] .mrl-tools .mrl-free{letter-spacing:0}
.mrl-tools .mrl-btn .mrl-free{color:#F3D8BA}
.mrl-tools .mrl-btn .mrl-free::after{background:#F3D8BA}
.mrl-tools .mrl-act{color:var(--teal);font-weight:700}
.mrl-tools .mrl-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:5px;background:#EDF4F2;border:1.5px solid var(--gold);border-radius:var(--pnl);box-shadow:0 0 0 4px rgba(201,164,90,.12),0 4px 14px rgba(201,164,90,.18)}
.mrl-tools .mrl-tab{position:relative;display:flex;align-items:center;gap:10px;min-height:56px;padding:8px 10px 10px;border:0;border-radius:6px;background:transparent;color:var(--ink);font:inherit;text-align:start;cursor:pointer;transition:background-color .2s ease,box-shadow .2s ease}
.mrl-tools .mrl-tab-tx{display:flex;flex-direction:column;min-width:0}
.mrl-tools .mrl-tab-l{font-size:15px;font-weight:800;line-height:1.2}
.mrl-tools .mrl-tab-s{color:var(--grey);font-size:12.5px;line-height:1.25;overflow-wrap:anywhere}
.mrl-tools .mrl-plate,.mrl-tools .mrl-rplate{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgba(37,48,46,.1)}
.mrl-tools .mrl-tab[aria-selected="true"]{background:#fff;box-shadow:0 2px 8px rgba(37,48,46,.1)}
.mrl-tools .mrl-tab[aria-selected="true"]::after{content:"";position:absolute;bottom:3px;left:20%;right:20%;height:3px;border-radius:2px;background:var(--or)}
.mrl-tools .mrl-tab:hover:not([aria-selected="true"]){background:rgba(255,255,255,.55)}
.mrl-tools .mrl-tab:focus-visible,.mrl-tools .mrl-btn:focus-visible,.mrl-tools .mrl-rl:focus-visible,.mrl-tools .mrl-plans:focus-visible,.mrl-tools .mrl-panel:focus-visible{outline:3px solid var(--or);outline-offset:2px}
.mrl-tools .mrl-card{position:relative;margin-top:12px;background:#fff;border:1.5px solid var(--gold);border-radius:var(--pnl);box-shadow:0 0 0 4px rgba(201,164,90,.1),0 6px 18px rgba(201,164,90,.16);padding:12px;touch-action:pan-y}
.mrl-tools .mrl-card::before{content:"";position:absolute;top:6px;right:6px;width:11px;height:11px;border-top:2px solid var(--or);border-right:2px solid var(--or);pointer-events:none;z-index:2}
html[dir="rtl"] .mrl-tools .mrl-card::before{right:auto;left:6px;border-right:0;border-left:2px solid var(--or)}
.mrl-tools .mrl-panel{display:grid;gap:12px;border-radius:6px}
.mrl-tools .mrl-panel[hidden]{display:none}
.mrl-tools .mrl-draw{position:relative;height:130px;border-radius:6px;overflow:hidden;background-color:#F8FBFA;background-image:linear-gradient(rgba(53,108,118,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(53,108,118,.08) 1px,transparent 1px);background-size:16px 16px}
.mrl-tools .mrl-draw svg{position:absolute;inset:6px 0;width:100%;height:calc(100% - 12px);fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mrl-tools .mrl-tag{position:absolute;top:8px;inset-inline-start:8px;z-index:1;padding:3px 8px;border-radius:999px;background:#fff;color:var(--teal);font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.2}
.mrl-tools .mrl-phone circle{fill:var(--or);stroke:var(--or)}
.mrl-tools .mrl-phone path{stroke:#fff}
.mrl-tools .mrl-chain rect{stroke:var(--or);stroke-width:2.6}
.mrl-tools .mrl-chain-sw{transform-box:fill-box;transform-origin:50% 0}
.mrl-tools .is-anim .d{stroke-dasharray:1;animation:mrlDraw .9s ease-out both}
.mrl-tools .is-anim .mrl-chain-sw{animation:mrlSwing 1.1s .6s ease-in-out both}
.mrl-tools .is-anim .mrl-row{animation:mrlFade .4s calc(var(--i)*80ms + 80ms) ease-out both}
@keyframes mrlDraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes mrlSwing{0%{transform:rotate(0)}30%{transform:rotate(14deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(3deg)}100%{transform:rotate(0)}}
@keyframes mrlFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.mrl-tools .mrl-rows{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.mrl-tools .mrl-row{display:flex;align-items:flex-start;gap:12px;padding:12px;border-radius:6px;background:#F4F8F6;border:1px solid var(--line)}
.mrl-tools .mrl-rbody{min-width:0;flex:1}
.mrl-tools .mrl-rt{margin:0;font-family:"Commissioner","Noto Sans",sans-serif;font-weight:800;font-size:16.5px;line-height:1.3;overflow-wrap:anywhere}
.mrl-tools .mrl-rp{margin:4px 0 0;font-size:14.5px;line-height:1.5;color:var(--ink)}
.mrl-tools .mrl-rl{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-block-end:-10px;color:var(--teal-d);font-size:14px;font-weight:700;text-decoration:underline;text-decoration-color:var(--or);text-decoration-thickness:2px;text-underline-offset:4px}
.mrl-tools .mrl-rl:hover{color:var(--or-d)}
.mrl-tools .mrl-rl .mrl-arrow{width:16px;height:16px;transition:transform .15s ease}
.mrl-tools .mrl-rl:hover .mrl-arrow{transform:translateX(3px)}
html[dir="rtl"] .mrl-tools .mrl-rl:hover .mrl-arrow{transform:scaleX(-1) translateX(3px)}
.mrl-tools .mrl-actions{display:flex;flex-direction:column;align-items:stretch;gap:4px}
.mrl-tools .mrl-btn{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;padding:0 22px;border-radius:var(--pnl);background:var(--teal);color:#fff;font-weight:700;font-size:16px;text-decoration:none;box-shadow:0 3px 0 #234B53;transition:transform .12s ease,box-shadow .12s ease,background-color .2s ease}
.mrl-tools .mrl-btn::after{content:"";position:absolute;top:6px;inset-inline-end:6px;width:8px;height:8px;border-top:2px solid var(--or);border-inline-end:2px solid var(--or)}
.mrl-tools .mrl-btn:hover{background:var(--teal-d)}
.mrl-tools .mrl-btn:active{transform:translateY(1px);box-shadow:0 2px 0 #234B53}
.mrl-tools .mrl-plans{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 12px;color:var(--teal-d);font-weight:700;font-size:15px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:var(--gold)}
.mrl-tools .mrl-plans .mrl-arrow{width:16px;height:16px}
.mrl-tools .mrl-arrow{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
html[dir="rtl"] .mrl-tools .mrl-arrow{transform:scaleX(-1)}
@media (max-width:420px){
  .mrl-tools .mrl-tab{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;text-align:start;gap:4px 6px;padding-inline:6px}
  .mrl-tools .mrl-tab .mrl-plate{width:32px;height:32px}
  .mrl-tools .mrl-tab-tx{display:contents}
  .mrl-tools .mrl-tab-l{font-size:13px}
  .mrl-tools .mrl-tab-s{grid-column:1/-1;text-align:center;white-space:nowrap;font-size:10.5px;overflow-wrap:normal}
  html[lang="ru"] .mrl-tools .mrl-tab-s{font-size:10px}
}
@media (min-width:820px){
  .mrl-tools{padding-block:48px}
  .mrl-tools .mrl-head{margin-bottom:18px}
  .mrl-tools .mrl-tabs{max-width:640px}
  .mrl-tools .mrl-card{padding:20px}
  .mrl-tools .mrl-draw{height:170px}
  .mrl-tools .mrl-rows{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .mrl-tools .mrl-rows--find .mrl-row:first-child{grid-column:1/-1}
  .mrl-tools .mrl-rows--getfound .mrl-row:first-child{grid-column:1/-1}
  .mrl-tools .mrl-row{padding:14px 16px}
  .mrl-tools .mrl-actions{flex-direction:row;align-items:center;gap:16px}
}
@media (prefers-reduced-motion:reduce){
  .mrl-tools *,.mrl-tools .is-anim *{animation:none!important;transition:none!important}
}
