:root{
  --bg:#f5f6f7;
  --surface:#ffffff;
  --surface-2:#edf2ef;
  --surface-3:#e2eee9;
  --ink:#18211e;
  --muted:#69736f;
  --primary:#225b4f;
  --primary-2:#2f6e66;
  --primary-soft:#d8ebe5;
  --blue:#3978b7;
  --orange:#c97924;
  --danger:#ad4a3e;
  --line:#dfe5e2;
  --shadow:0 18px 50px rgba(25,52,44,.08);
  --radius:24px;
  --radius-lg:28px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.45 Inter,Roboto,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{color:inherit}
img{max-width:100%}
.container{width:min(var(--max),calc(100% - 40px));margin:0 auto}
.page{min-height:calc(100vh - 72px)}
.topbar{position:sticky;top:0;z-index:100;height:72px;background:rgba(245,246,247,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(34,91,79,.08)}
.topbar-inner{height:100%;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.brand-mark{width:46px;height:46px;border-radius:16px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:17px;font-weight:900;letter-spacing:-.04em}
.brand-copy b{display:block;font-size:17px;line-height:1.1}.brand-copy small{display:block;color:var(--muted);margin-top:3px;font-size:11px}
.nav{display:flex;align-items:center;gap:6px;margin-left:auto}
.nav a{padding:10px 12px;border-radius:12px;color:#45514d;font-weight:650;font-size:13px}
.nav a:hover,.nav a.active{background:var(--surface);color:var(--primary)}
.beta{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:800;white-space:nowrap}
.profile-link{width:42px;height:42px;border-radius:14px;background:var(--surface);display:grid;place-items:center;border:1px solid var(--line)}
.menu-btn{display:none;margin-left:auto;width:42px;height:42px;border:1px solid var(--line);background:var(--surface);border-radius:14px;font-size:20px}
.mobile-nav{display:none}
.main-home{padding:24px 0 58px}
.home-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}.home-head .brand-mark{width:52px;height:52px;border-radius:18px;font-size:20px}.home-head h1{margin:0;font-size:28px;letter-spacing:-.035em}.home-head .beta{margin-top:5px}
.hero-app{padding:28px;border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:var(--shadow)}
.hero-app h1, .hero-app h2{margin:0;max-width:690px;font-size:clamp(34px,5vw,58px);line-height:1.02;letter-spacing:-.05em;font-weight:850}
.hero-app>p{max-width:680px;margin:14px 0 0;color:rgba(255,255,255,.74);font-size:17px;line-height:1.5}
.hero-lower{margin-top:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end}
.hero-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:620px}
.hero-metric{min-height:78px;padding:13px 14px;border-radius:18px;background:rgba(255,255,255,.13);display:flex;flex-direction:column;justify-content:center;text-align:center}.hero-metric b{font-size:23px;line-height:1}.hero-metric span{font-size:12px;color:rgba(255,255,255,.7);margin-top:5px}
.hero-actions{display:flex;gap:10px}.btn{height:46px;padding:0 18px;border:0;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:800;cursor:pointer;transition:.18s}.btn:hover{transform:translateY(-1px)}.btn.white{background:#fff;color:var(--primary)}.btn.outline-white{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.48)}.btn.primary{background:var(--primary);color:#fff}.btn.tonal{background:var(--primary-soft);color:var(--primary)}.btn.ghost{background:var(--surface);border:1px solid var(--line)}.btn.small{height:38px;padding:0 13px;border-radius:12px;font-size:13px}
.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.quick-card{min-height:142px;background:var(--surface);border-radius:var(--radius);padding:18px;border:1px solid rgba(34,91,79,.04);transition:.18s}.quick-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.quick-icon{width:38px;height:38px;border-radius:13px;background:var(--surface-2);display:grid;place-items:center;color:var(--primary);font-size:18px}.quick-card h3{margin:16px 0 4px;font-size:17px}.quick-card p{margin:0;color:var(--muted);font-size:13px}
.section{margin-top:30px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.section-title h2{margin:0;font-size:26px;letter-spacing:-.03em}.section-title p{margin:4px 0 0;color:var(--muted)}.text-link{color:var(--primary);font-weight:800;font-size:13px}
.focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.focus-card,.plot-card,.territory-card,.panel{background:var(--surface);border:1px solid rgba(34,91,79,.055);border-radius:var(--radius)}.focus-card{padding:18px;display:flex;gap:16px;min-height:190px}.focus-main{min-width:0;flex:1}.pills{display:flex;gap:7px;flex-wrap:wrap}.pill{display:inline-flex;padding:6px 9px;border-radius:12px;background:var(--surface-2);font-size:11px;font-weight:750;color:#46514d}.focus-card h3{margin:13px 0 6px;font-size:18px;line-height:1.25}.focus-card p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}.score-box{flex:0 0 auto;width:62px;height:62px;border-radius:18px;background:var(--primary-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--primary)}.score-box strong{font-size:21px;line-height:1}.score-box small{font-size:9px;margin-top:3px}.fav-btn{width:38px;height:38px;border:0;border-radius:12px;background:transparent;cursor:pointer;font-size:19px;color:#52605b}.fav-btn.active{background:var(--primary-soft);color:var(--primary)}
.territory-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.territory-card{padding:18px}.territory-top{display:flex;gap:12px;align-items:flex-start}.territory-card h3{margin:0;font-size:17px}.territory-dir{margin-top:3px;color:var(--muted);font-size:12px}.territory-score{margin-left:auto;color:var(--primary);font-size:25px;font-weight:900}.territory-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:16px 0 12px}.territory-metrics div{text-align:center;background:var(--surface-2);border-radius:12px;padding:8px 5px}.territory-metrics b{display:block;font-size:14px}.territory-metrics span{display:block;font-size:9px;color:var(--muted);margin-top:2px}.territory-card>p{margin:0;font-size:13px;font-weight:600;line-height:1.4}
.mini-map-panel{padding:14px}.map-frame{height:340px;border-radius:20px;overflow:hidden;position:relative;background:#e8eeeb}.map-frame.mini{height:260px}.map-actions{margin-top:14px;display:flex;justify-content:center}.leaflet-map{height:100%;width:100%}.map-note{position:absolute;z-index:500;top:12px;right:12px;padding:8px 10px;border-radius:14px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(0,0,0,.1);font-weight:800;font-size:12px}
.cluster-marker,.score-marker{display:grid;place-items:center;color:#fff;font-weight:900;border:3px solid #fff;box-shadow:0 5px 15px rgba(25,52,44,.24)}.cluster-marker{width:50px;height:50px;border-radius:50%;background:var(--primary)}.cluster-marker.c2{width:58px;height:58px}.cluster-marker.c3{width:66px;height:66px}.score-marker{height:38px;min-width:58px;padding:0 9px;border-radius:16px;background:var(--primary);font-size:12px;white-space:nowrap}.score-marker.warning{background:var(--orange)}.score-marker.reference{background:var(--blue)}
.page-hero{padding:38px 0 18px}.page-hero h1{margin:0;font-size:clamp(34px,4vw,48px);letter-spacing:-.045em}.page-hero p{max-width:720px;margin:7px 0 0;color:var(--muted);font-size:16px}.page-tools{margin-top:18px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.map-page-shell{height:calc(100vh - 210px);min-height:580px;border-radius:var(--radius-lg);overflow:hidden;background:var(--surface);border:1px solid var(--line);position:relative;margin-bottom:40px}.map-page-shell .leaflet-map{height:100%}.map-toolbar{position:absolute;left:14px;top:14px;z-index:600;display:flex;flex-wrap:wrap;gap:7px;max-width:calc(100% - 110px)}.layer-btn{height:36px;padding:0 12px;border:1px solid var(--line);background:rgba(255,255,255,.94);border-radius:12px;font-weight:750;font-size:12px;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.06)}.layer-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}.map-legend{position:absolute;z-index:600;left:14px;bottom:14px;display:flex;gap:8px;flex-wrap:wrap;background:rgba(255,255,255,.94);border-radius:14px;padding:8px 10px;box-shadow:0 5px 18px rgba(0,0,0,.08);font-size:11px}.map-legend span{display:flex;align-items:center;gap:5px}.legend-cluster{width:26px;height:26px;border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:9px;font-weight:900}.legend-score{padding:5px 7px;border-radius:9px;background:var(--primary);color:#fff;font-weight:900}
.filters-panel{padding:15px;margin-bottom:14px;display:grid;grid-template-columns:2fr repeat(3,1fr);gap:10px}.search-input,.select{height:46px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:0 14px;outline:none}.search-input:focus,.select:focus{border-color:#8eb9ad;box-shadow:0 0 0 3px rgba(34,91,79,.08)}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.chip-btn{border:0;background:var(--surface);border-radius:999px;padding:9px 13px;font-weight:750;cursor:pointer}.chip-btn.active{background:var(--primary);color:#fff}
.plot-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:46px}.plot-card{padding:17px;display:grid;grid-template-columns:60px 1fr auto;gap:14px;align-items:start;transition:.16s}.plot-card:hover{box-shadow:var(--shadow);transform:translateY(-1px)}.plot-card .score-box{width:58px;height:58px}.plot-card h3{font-size:18px;margin:1px 0 5px}.plot-card .sub{font-size:12px;color:var(--muted)}.plot-card .meta{margin-top:9px;display:flex;gap:6px;flex-wrap:wrap}.empty{padding:40px;text-align:center;color:var(--muted);background:var(--surface);border-radius:var(--radius);border:1px dashed #cad5d0;grid-column:1/-1}
.object-page{padding:28px 0 54px}.back{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-weight:700;font-size:13px;margin-bottom:16px}.object-top{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:start}.object-title h1{margin:0;font-size:clamp(32px,4vw,48px);letter-spacing:-.04em}.object-title p{margin:8px 0 0;color:var(--muted)}.big-score{width:94px;height:94px;border-radius:26px;background:var(--primary-soft);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--primary)}.big-score b{font-size:31px}.big-score span{font-size:10px}.object-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-top:18px}.object-main,.object-side{display:grid;gap:14px;align-content:start}.panel{padding:18px}.panel h2,.panel h3{margin:0 0 10px}.panel p{margin:0;line-height:1.5}.object-map{height:330px;border-radius:20px;overflow:hidden}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.metric-tile{padding:16px;background:var(--surface);border-radius:20px;border:1px solid rgba(34,91,79,.05)}.metric-tile span{display:block;color:var(--muted);font-size:12px}.metric-tile b{display:block;margin-top:9px;font-size:17px}.bullet-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.bullet-list li{position:relative;padding-left:18px}.bullet-list li:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--primary);position:absolute;left:0;top:.53em}.source-link{word-break:break-word;color:var(--primary);font-weight:750}
.territories-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:46px}.territories-grid .territory-card{min-height:220px}.territory-detail{margin-top:12px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-block{background:var(--surface-2);border-radius:14px;padding:12px}.detail-block b{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}.detail-block ul{margin:8px 0 0;padding-left:17px;font-size:12px}
.method-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 36px}.method-card{padding:20px;background:var(--surface);border-radius:var(--radius);border:1px solid rgba(34,91,79,.055)}.method-step{width:38px;height:38px;border-radius:13px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;font-weight:900}.method-card h3{margin:14px 0 6px}.method-card p{margin:0;color:var(--muted)}.sources-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:50px}.source-card{padding:18px;background:var(--surface);border-radius:20px;border:1px solid rgba(34,91,79,.055)}.source-card h3{margin:0}.source-card p{color:var(--muted);font-size:13px;min-height:54px}.source-card a{color:var(--primary);font-weight:800;font-size:13px}
.profile-grid{display:grid;grid-template-columns:minmax(0,620px) 1fr;gap:14px;margin-bottom:50px}.profile-card{padding:22px}.auth-logos{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.auth-logo{width:72px;height:72px;border-radius:22px;border:1px solid var(--line);background:var(--surface);display:grid;place-items:center;font-size:23px;font-weight:900}.feature-list{display:grid;gap:10px}.feature-row{display:grid;grid-template-columns:50px minmax(0,1fr);gap:14px;align-items:center;padding:15px;background:var(--surface);border-radius:18px}.feature-ico{width:50px;height:50px;border-radius:16px;background:var(--surface-2);display:grid;place-items:center;color:var(--primary);margin:0!important}.feature-ico svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.feature-row>div{min-width:0}.feature-row b{display:block;font-size:15px;line-height:1.25}.feature-row>div>span{display:block;color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px}
.toast{position:fixed;z-index:1000;left:50%;bottom:24px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#17211e;color:#fff;padding:11px 15px;border-radius:13px;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
.footer{border-top:1px solid var(--line);padding:28px 0 100px;color:var(--muted);font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:20px}.footer b{color:var(--ink)}
.leaflet-popup-content-wrapper{border-radius:18px!important}.leaflet-popup-content{margin:14px!important}.popup-card{min-width:210px}.popup-card strong{font-size:15px}.popup-score{color:var(--primary);font-weight:900;margin-top:5px}.popup-card p{margin:6px 0;color:#67736e;font-size:12px}.popup-card a{display:inline-flex;margin-top:4px;background:var(--primary);color:#fff!important;padding:7px 10px;border-radius:10px;font-weight:800;font-size:11px}
@media(max-width:980px){
  .nav{display:none}.menu-btn{display:block}.topbar.open .nav{display:flex;position:absolute;top:72px;left:20px;right:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:10px;flex-direction:column;align-items:stretch}.topbar.open .nav a{padding:12px 14px}
  .hero-lower{grid-template-columns:1fr}.hero-actions{justify-content:flex-start}.quick-grid{grid-template-columns:repeat(2,1fr)}.focus-grid,.territory-preview-grid{grid-template-columns:1fr}.plot-list{grid-template-columns:1fr}.filters-panel{grid-template-columns:1fr 1fr}.search-input{grid-column:1/-1}.object-grid{grid-template-columns:1fr}.territories-grid{grid-template-columns:1fr}.sources-grid{grid-template-columns:1fr 1fr}.profile-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  body{padding-bottom:72px}.container{width:min(100% - 28px,var(--max))}.topbar{height:66px}.topbar .brand-copy small,.topbar .beta,.topbar .profile-link{display:none}.topbar .brand-mark{width:40px;height:40px;border-radius:14px}.topbar-inner{gap:10px}.topbar .menu-btn{display:none}.topbar .nav{display:none!important}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:900;height:70px;background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}.mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#68736e;font-size:9px;font-weight:750}.mobile-nav a .ico{font-size:19px;line-height:1}.mobile-nav a.active{color:var(--primary)}
  .main-home{padding-top:16px}.home-head{margin-bottom:14px}.home-head h1{font-size:23px}.home-head .brand-mark{width:48px;height:48px}.hero-app{padding:20px;border-radius:26px}.hero-app h1, .hero-app h2{font-size:32px}.hero-app>p{font-size:14px}.hero-lower{margin-top:18px;gap:16px}.hero-metrics{gap:7px}.hero-metric{min-height:70px;padding:10px 6px}.hero-metric b{font-size:20px}.hero-metric span{font-size:10px}.hero-actions{display:grid;grid-template-columns:1fr 1fr}.hero-actions .btn{padding:0 8px;font-size:12px}.quick-grid{gap:10px}.quick-card{min-height:132px;padding:16px}.quick-card h3{margin-top:13px}.section{margin-top:25px}.section-head{align-items:flex-end}.section-title h2{font-size:23px}.section-title p{font-size:12px}.focus-card{min-height:0}.territory-metrics{gap:4px}.territory-metrics div{padding:7px 2px}.territory-metrics span{font-size:8px}.map-frame.mini{height:220px}.map-actions .btn{width:100%}.page-hero{padding-top:24px}.page-hero h1{font-size:34px}.page-hero p{font-size:14px}.map-page-shell{height:calc(100vh - 190px);min-height:510px;border-radius:22px}.map-toolbar{top:10px;left:10px;right:10px;max-width:none;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.layer-btn{flex:0 0 auto}.map-legend{left:10px;right:10px;bottom:10px}.filters-panel{grid-template-columns:1fr;padding:12px}.search-input{grid-column:auto}.plot-card{grid-template-columns:54px 1fr auto;padding:14px;gap:10px}.plot-card .score-box{width:52px;height:52px}.plot-card h3{font-size:16px}.object-page{padding-top:20px}.object-top{grid-template-columns:1fr auto}.big-score{width:76px;height:76px;border-radius:22px}.big-score b{font-size:26px}.object-title h1{font-size:30px}.metric-grid{grid-template-columns:1fr 1fr}.object-map{height:250px}.method-grid,.sources-grid{grid-template-columns:1fr}.profile-card{padding:18px}.auth-logo{width:66px;height:66px}.footer{display:none}
}
.profile-link.active{background:var(--primary-soft);color:var(--primary)}

/* Browser notification preferences. */
#webPushPanel [hidden]{display:none!important}
#webPushPanel button:disabled{opacity:.75;cursor:default}
#webPushPanel p{line-height:1.5}
#webPushStatus{color:var(--muted);margin:0}
.push-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.push-controls .btn{white-space:nowrap}
.push-error{padding:12px 14px;background:#fff0ec;color:#883721;border-radius:12px}
.notification-preferences{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}
.notification-preferences summary{cursor:pointer;font-weight:700;color:var(--primary)}
.notification-preferences[open] summary{margin-bottom:16px}


/* Telegram Mini App shell: same product/data, native Telegram container. */
html.telegram-miniapp,
body.telegram-miniapp{background:var(--bg)}
body.telegram-miniapp{padding-bottom:calc(74px + env(safe-area-inset-bottom));min-height:var(--tg-viewport-stable-height,100vh)}
.telegram-miniapp .topbar,
.telegram-miniapp .footer,
.telegram-miniapp .app-download-card{display:none!important}
.telegram-miniapp .page{min-height:var(--tg-viewport-stable-height,100vh)}
.telegram-miniapp .container{width:min(100% - 24px,var(--max))}
.telegram-miniapp .main-home{padding-top:12px;padding-bottom:28px}
.telegram-miniapp .page-hero{padding-top:18px}
.telegram-miniapp .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:900;height:calc(70px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(18px);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.telegram-miniapp .mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#68736e;font-size:9px;font-weight:750}
.telegram-miniapp .mobile-nav a .ico{font-size:19px;line-height:1}
.telegram-miniapp .mobile-nav a.active{color:var(--primary)}
.telegram-miniapp .hero-app{border-radius:22px;padding:20px}
.telegram-miniapp .hero-app h1,
.telegram-miniapp .hero-app h2{font-size:clamp(30px,9vw,42px)}
.telegram-miniapp .map-page-shell{height:calc(var(--tg-viewport-stable-height,100vh) - 170px);min-height:480px;margin-bottom:12px}
.telegram-miniapp .object-page{padding-top:16px}
.telegram-miniapp .toast{bottom:calc(82px + env(safe-area-inset-bottom))}
.telegram-user-card{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;column-gap:14px;width:100%;min-width:0;margin-top:18px;padding:14px;border-radius:18px;background:var(--surface-2);overflow:hidden}
.telegram-notification-card{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px;border-radius:18px;background:var(--surface-2)}
.telegram-user-mark{width:48px;height:48px;flex:0 0 48px;border-radius:16px;background:var(--primary);color:#fff;display:grid;place-items:center;overflow:hidden}.telegram-user-mark svg{width:25px;height:25px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.telegram-user-card b,
.telegram-notification-card b{display:block}
.telegram-user-card span:not(.telegram-user-mark){display:block;color:var(--muted);font-size:12px;margin-top:3px}
.telegram-notification-card p{margin:4px 0 0;color:var(--muted);font-size:12px}
@media(min-width:681px){
  .telegram-miniapp .quick-grid{grid-template-columns:repeat(2,1fr)}
  .telegram-miniapp .focus-grid,
  .telegram-miniapp .territory-preview-grid,
  .telegram-miniapp .plot-list,
  .telegram-miniapp .territories-grid,
  .telegram-miniapp .object-grid,
  .telegram-miniapp .profile-grid{grid-template-columns:1fr}
  .telegram-miniapp .filters-panel{grid-template-columns:1fr 1fr}
  .telegram-miniapp .search-input{grid-column:1/-1}
}

.telegram-user-copy{min-width:0;width:100%;overflow:hidden}
.telegram-user-name{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.25}
.telegram-user-handle{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;line-height:1.3;margin-top:4px}
.telegram-user-card .telegram-user-mark{overflow:hidden;text-overflow:clip;white-space:nowrap}

@media(max-width:520px){
  .telegram-user-card{grid-template-columns:44px minmax(0,1fr);column-gap:12px;padding:12px}
  .telegram-user-card .telegram-user-mark{width:44px;height:44px;border-radius:14px}
  .telegram-user-name{font-size:14px}
  .feature-row{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:13px}
  .feature-ico{width:48px;height:48px}
  .feature-ico svg{width:26px;height:26px}
}

[hidden]{display:none!important}.auth-page{max-width:680px;padding-top:40px;padding-bottom:48px}.auth-panel{margin-top:24px}.auth-panel p{margin:16px 0;line-height:1.55}.auth-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.auth-actions .btn{min-height:48px}.auth-panel label{display:block;margin:16px 0 8px}.auth-panel input{display:block;width:100%;font:inherit;padding:14px;border:1px solid var(--line,#dce4df);border-radius:12px;margin-bottom:14px}.auth-benefit{padding:12px;background:#e6f1e9;border-radius:12px}[data-auth-error]{color:#ad3425}.auth-panel [data-auth-telegram-link]{margin-top:12px}
.auth-methods{list-style:none;padding:0;margin:14px 0}.auth-methods li{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line,#dce4df)}.auth-methods span{color:var(--muted);overflow-wrap:anywhere;text-align:right}.auth-password{margin:22px 0;padding:16px;border:1px solid var(--line,#dce4df);border-radius:14px}.auth-password h2{font-size:18px;margin:0}.auth-password p{color:var(--muted);margin-bottom:0}[data-tg-notification-error]{color:#ad3425}
