/* 01.11.2026: фиксы карты/описаний + кнопка аккаунта в шапке (navy+lime) */
.jm{isolation:isolate}
#modal{z-index:2000}
#toast{z-index:2100}
body.dlh-on #dl-login{display:none!important}
.dlh-acc{flex:none;margin:0 0 0 auto;display:inline-flex;align-items:center;position:relative}
.dlh-acc+.sh-lang{margin-left:8px}
.dlh-btn{display:inline-flex;align-items:center;gap:7px;height:38px;padding:0 15px;border:0;border-radius:11px;background:#c6f432;color:#0a1633;font:800 13.5px/1 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;white-space:nowrap;cursor:pointer;transition:background .15s,transform .1s}
.dlh-btn:hover{background:#b3e11f}.dlh-btn:active{transform:scale(.97)}
.dlh-btn svg{flex:none}
.dlh-av{width:38px;height:38px;padding:0;justify-content:center;border-radius:50%;font-size:15px;text-transform:uppercase;box-shadow:0 0 0 2px #fff,0 0 0 4px #0a1633}
.dlh-menu-btn{display:none}
.dlh-s{display:none}
@media (min-width:1021px){.dlh-l{display:none}.dlh-s{display:inline}.dlh-acc .dlh-btn:not(.dlh-av){padding:0 12px}.dlh-acc .dlh-btn:not(.dlh-av) svg{display:none}}
@media (max-width:1020px){
 .dlh-menu-btn{display:flex;margin:10px 0 4px;height:46px;justify-content:center;width:100%;font-size:15px}
}
@media (max-width:560px){
 .dlh-acc{margin-left:auto}
 .dlh-acc .dlh-btn:not(.dlh-av){width:38px;padding:0;justify-content:center}
 .dlh-acc .dlh-btn:not(.dlh-av) .dlh-tx{display:none}
 .dlh-acc .dlh-btn:not(.dlh-av) svg{display:block}
}
/* окно входа/регистрации */
.dlh-ov{position:fixed;inset:0;z-index:2200;background:rgba(10,22,51,.62);display:flex;align-items:center;justify-content:center;padding:14px;opacity:0;transition:opacity .2s}
.dlh-ov.on{opacity:1}
.dlh-box{position:relative;width:100%;max-width:420px;max-height:calc(100vh - 28px);overflow:auto;background:#fff;color:#0b1530;border-radius:22px;padding:22px 20px 18px;box-shadow:0 30px 80px rgba(10,22,51,.45);font:14px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;transform:translateY(14px);transition:transform .25s}
.dlh-ov.on .dlh-box{transform:none}
.dlh-box *{box-sizing:border-box}
.dlh-x{position:absolute;top:10px;right:10px;width:34px;height:34px;border:0;border-radius:50%;background:transparent;color:#5b6b8c;font-size:17px;cursor:pointer}
.dlh-x:hover{background:#eef2ff;color:#0a1633}
.dlh-tabs{display:flex;gap:4px;background:#f1f4fb;border-radius:12px;padding:4px;margin:0 38px 16px 0}
.dlh-tabs button{flex:1;border:0;background:none;border-radius:9px;padding:9px 6px;font:800 13.5px/1.1 inherit;color:#5b6b8c;cursor:pointer}
.dlh-tabs button.on{background:#0a1633;color:#c6f432}
.dlh-h{margin:0 0 4px;font-size:19px;font-weight:800;letter-spacing:-.01em;color:#0a1633}
.dlh-p{margin:0 0 14px;color:#5b6b8c;font-size:13px}
.dlh-roles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
.dlh-roles label{display:flex;flex-direction:column;gap:3px;align-items:flex-start;border:1.5px solid #d5def0;border-radius:14px;padding:11px 12px;cursor:pointer;background:#f8faff;font-weight:700;font-size:13.5px;line-height:1.2;position:relative}
.dlh-roles label small{font-weight:500;color:#5b6b8c;font-size:12px}
.dlh-roles input{position:absolute;opacity:0;pointer-events:none}
.dlh-roles label:has(input:checked){border-color:#0a1633;background:#eef2ff;box-shadow:inset 0 0 0 1px #0a1633}
.dlh-roles label:has(input:checked)::after{content:"✓";position:absolute;top:7px;right:9px;width:18px;height:18px;border-radius:50%;background:#c6f432;color:#0a1633;font-size:11px;line-height:18px;text-align:center;font-weight:900}
.dlh-roles label:has(input:focus-visible){outline:2px solid #17398f;outline-offset:2px}
.dlh-pv{display:grid;gap:9px}
.dlh-pv a{display:flex;align-items:center;justify-content:center;gap:10px;height:46px;border-radius:12px;border:1.5px solid #c9d2ea;background:#fff;color:#0a1633!important;font-weight:700;text-decoration:none!important}
.dlh-pv a:hover{background:#eef2fb}
.dlh-pv a.pri{background:#0a1633;border-color:#0a1633;color:#fff!important}.dlh-pv a.pri:hover{background:#10224f}
.dlh-pv span.off{display:flex;align-items:center;justify-content:space-between;height:46px;padding:0 14px;border-radius:12px;background:#e6eaf5;color:#0a1633;opacity:.55;font-weight:700}
.dlh-pv span.off small{font-weight:500}
.dlh-note{margin:12px 0 0;color:#5b6b8c;font-size:12px}
.dlh-note a{color:#17398f}
.dlh-sw{margin:12px 0 0;text-align:center;font-size:13px;color:#5b6b8c}
.dlh-sw button{border:0;background:none;color:#17398f;font:700 13px/1 inherit;cursor:pointer;text-decoration:underline;padding:2px}
/* меню профиля */
.dlh-dd{position:fixed;z-index:2200;top:70px;right:max(12px,calc((100vw - 1240px)/2 + 12px));width:288px;max-width:calc(100vw - 24px);background:#fff;color:#0b1530;border:1px solid #e3e9f4;border-radius:18px;box-shadow:0 20px 50px rgba(10,22,51,.28);padding:14px;font:14px/1.4 Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;opacity:0;transform:translateY(-6px);transition:opacity .15s,transform .15s;pointer-events:none}
.dlh-dd.on{opacity:1;transform:none;pointer-events:auto}
.dlh-dd *{box-sizing:border-box}
.dlh-who{display:flex;gap:10px;align-items:center;margin:0 0 12px}
.dlh-who .dlh-av{box-shadow:none;cursor:default}
.dlh-who b{display:block;font-size:14.5px;color:#0a1633;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}
.dlh-who small{display:block;color:#5b6b8c;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}
.dlh-lbl{font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#5b6b8c;margin:0 0 6px}
.dlh-seg{display:flex;gap:4px;background:#f1f4fb;padding:4px;border-radius:12px;margin:0 0 12px}
.dlh-seg button{flex:1;border:0;background:none;border-radius:9px;padding:9px 4px;font:800 12.5px/1.15 inherit;color:#5b6b8c;cursor:pointer}
.dlh-seg button.on{background:#0a1633;color:#c6f432}
.dlh-seg button:disabled{opacity:.6;cursor:wait}
.dlh-lk{display:flex;align-items:center;justify-content:center;height:42px;border-radius:12px;background:#c6f432;color:#0a1633!important;font-weight:800;text-decoration:none!important;margin:0 0 8px}
.dlh-lk:hover{background:#b3e11f}
.dlh-out{display:block;width:100%;height:40px;border:1px solid #d5def0;border-radius:12px;background:#fff;color:#0a1633;font:700 13.5px/1 inherit;cursor:pointer}
.dlh-out:hover{background:#f4f7fc}
@media (max-width:560px){.dlh-dd{right:12px;left:12px;width:auto;max-width:none}.dlh-ov{align-items:flex-end;padding:8px}.dlh-box{border-radius:22px 22px 16px 16px}}
@media (prefers-reduced-motion:reduce){.dlh-ov,.dlh-box,.dlh-dd{transition:none}}
