:root { --sb: 300px; --green: #0e7a52; --green2: #16a34a; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; font-family: "Microsoft YaHei", sans-serif; overflow: hidden; }
body.drag-lock { user-select: none; cursor: grabbing; }
#cesiumContainer { position: absolute; inset: 0; }

/* 登录账号动态水印：只做泄露溯源与截图震慑，不参与权限判断。 */
#securityWatermark {
  position: fixed; inset: 0; z-index: 18; pointer-events: none; overflow: hidden; user-select: none;
}
#securityWatermark span {
  position: absolute; left: 50%; width: max-content; max-width: 84vw; overflow: hidden;
  color: rgba(226, 232, 240, .038); font-size: 9px; font-weight: 400;
  line-height: 1; letter-spacing: .025em; white-space: nowrap;
  text-align: center; text-overflow: clip; transform: translate(-50%, -50%);
  text-shadow: 0 0 1px rgba(15, 23, 42, .025);
}
#securityWatermark .wm-account { top: 47%; }
#securityWatermark .wm-audit { top: 53%; }
body.collapsed { --sb: 0px; }

/* ===== 左侧菜单 ===== */
#sidebar {
  position: absolute; top: 0; left: 0; bottom: 0; width: 300px; z-index: 20;
  background: #fff; box-shadow: 2px 0 14px rgba(0,0,0,.12);
  display: flex; flex-direction: column;
  transform: translateX(calc(var(--sb) - 300px)); transition: transform .25s;
}
.sb-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid #eef0ee; }
.sb-logo { height: 40px; }
.sb-name { font-size: 16px; font-weight: 700; color: #1f2937; line-height: 1.2; }
.sb-name small { font-size: 11px; font-weight: 400; color: #9aa3a0; }
.sb-search { display: flex; align-items: center; gap: 6px; margin: 14px 16px;
  background: #f4f6f5; border-radius: 20px; padding: 8px 14px; }
.sb-search input { border: none; background: none; outline: none; width: 100%; font-size: 13px; }
.sb-search .ic { opacity: .5; }
.sb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 8px; }
.sb-tabs .tab { padding: 9px 0; border: 1px solid #e5e7eb; background: #f7f8f8;
  border-radius: 6px; font-size: 13px; cursor: pointer; color: #374151; }
.sb-tabs .tab.active { background: var(--green); color: #fff; border-color: var(--green); font-weight: 600; }

.sb-menu { flex: 1; overflow-y: auto; padding: 6px 8px; display: flex; flex-direction: column; }
.sb-menu > .grp { flex: none; }   /* 菜单组不拉伸，把底部空间让给用户信息块 */
.grp { border-bottom: 1px solid #f1f3f2; }
.grp-h { display: flex; align-items: center; gap: 8px; padding: 13px 10px; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #243; user-select: none; }
.grp-h b { margin-left: auto; font-size: 12px; color: var(--green2); font-weight: 700; }
.grp-h i { font-style: normal; transition: transform .2s; color: #b0b8b4; }
.grp.open .grp-h i { transform: rotate(90deg); }
.grp-b { display: none; padding: 2px 10px 12px; }
.grp.open .grp-b { display: block; }
.grp-h.menu-action { width: 100%; border: 0; background: transparent; text-align: left; font-family: inherit; }
.grp-h.menu-action:hover { background: #f5f8f6; color: var(--green); }
.grp-h.menu-action i { margin-left: auto; transform: none !important; color: var(--green); }

.stat-big { display: flex; gap: 12px; margin: 4px 0 12px; }
.stat-big div { flex: 1; background: #f6faf8; border-radius: 8px; padding: 8px; text-align: center; }
.stat-big b { display: block; font-size: 20px; color: #16a34a; }
.stat-big span { font-size: 11px; color: #6b7280; }
.chip { display: flex; align-items: center; gap: 8px; padding: 7px 10px; margin: 4px 0;
  border-radius: 6px; font-size: 13px; cursor: pointer; }
.chip:hover { background: #f3f6f4; }
.chip.on { background: #eef6f1; outline: 1px solid #cfe8db; }
.chip i { width: 10px; height: 10px; border-radius: 50%; }
.chip em { margin-left: auto; font-style: normal; font-weight: 700; }

.dnode { padding: 6px 8px; font-size: 13px; cursor: pointer; border-radius: 5px; color: #374151; }
.dnode:hover { background: #f3f6f4; }
.dnode.on { color: var(--green); font-weight: 700; }
.dlv { color: #9aa3a0; font-size: 11px; }
.std-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #6b7280; margin: 2px 0 8px; }
.std-row select { flex: 1; border: 1px solid #e5e7eb; border-radius: 6px; padding: 5px 6px; font-size: 12px; outline: none; }

/* 图层控制·子组小标题 */
.lc-cap { font-size: 11px; color: #9aa3a0; margin: 6px 0 2px; padding-left: 2px; }

/* 深度管制按钮(左上角，▤ 左侧，仅菜单折叠时显示) */
#depthBtn { position: absolute; top: 14px; left: 14px; z-index: 22; width: 40px; height: 40px;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12);
  font-size: 18px; cursor: pointer; color: #234; display: flex; align-items: center; justify-content: center; }
#depthBtn:hover { background: #f6faf8; color: var(--green); }
body:not(.collapsed) #depthBtn { display: none; }
body.collapsed #sidebarToggle { left: 62px; }    /* 折叠时给深度管制按钮让位 */
body.collapsed #mapSearch { left: 114px; }

/* ===== 范围划分 ===== */
.dw-row { display: flex; align-items: center; gap: 8px; margin: 6px 0; }
.dw-row > label { font-size: 12px; color: #6b7280; min-width: 56px; }
.dw-row select { flex: 1; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px; font-size: 12px; outline: none; background: #fff; }
.dw-btns { display: flex; gap: 6px; margin: 8px 0 4px; }
.dw-b { flex: 1; border: 1px solid #d6e3dc; background: #f6faf8; color: #234; border-radius: 6px;
  padding: 7px 0; font-size: 12px; cursor: pointer; }
.dw-b:hover:not(:disabled) { background: #eef6f1; }
.dw-b:disabled { opacity: .45; cursor: default; }
.dw-tip { font-size: 11px; color: #9aa3a0; line-height: 1.5; margin: 4px 0; }
#dwWkt { width: 100%; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px; font-size: 11px;
  font-family: monospace; resize: vertical; outline: none; color: #374151; }
.dw-form { margin: 8px 0; }
.dw-f { display: flex; align-items: center; gap: 8px; margin: 5px 0; }
.dw-f span { font-size: 12px; color: #6b7280; min-width: 76px; }
.dw-f input, .dw-f select { flex: 1; width: 100%; border: 1px solid #e5e7eb; border-radius: 6px;
  padding: 6px; font-size: 12px; outline: none; background: #fff; }
.dw-submit { width: 100%; border: none; background: var(--green); color: #fff; border-radius: 6px;
  padding: 9px 0; font-size: 13px; font-weight: 600; cursor: pointer; margin-top: 4px; }
.dw-submit:hover:not(:disabled) { background: #0c6a47; }
.dw-submit:disabled { opacity: .5; cursor: default; }
.dw-msg { font-size: 12px; color: var(--green2); margin-top: 6px; min-height: 16px; }

/* 领导驾驶舱 KPI */
.kpi { display: flex; gap: 10px; margin-bottom: 8px; }
.kpi div { flex: 1; background: #f6faf8; border-radius: 8px; padding: 9px; text-align: center; }
.kpi b { display: block; font-size: 21px; color: #111827; }
.kpi span { font-size: 11px; color: #6b7280; }
.dash-cap { font-size: 11px; color: #9aa3a0; margin: 6px 0 4px; }

/* 问题清单 */
.prob { display: flex; align-items: center; gap: 8px; padding: 8px 10px; margin: 4px 0;
  border-radius: 6px; font-size: 13px; cursor: pointer; background: #fafbfb; }
.prob:hover { background: #f3f6f4; }
.prob.on { background: #eef6f1; outline: 1px solid #cfe8db; }
.prob i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.prob em { margin-left: auto; font-style: normal; font-weight: 700; }

/* 指标体系 */
.indi-lvl { display: flex; align-items: center; margin: 8px 0 4px; font-size: 13px; font-weight: 600; color: #243; }
.indi-lvl em { margin-left: auto; font-style: normal; color: var(--green2); font-size: 12px; }
.indi-cats { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 6px; }
.indi-cats span { font-size: 11px; background: #eef6f1; color: #2f5d4d; padding: 2px 8px; border-radius: 10px; }

/* 改造与资金 / 成果 */
.reno-row { font-size: 12.5px; color: #374151; padding: 7px 4px; border-bottom: 1px dashed #eef0ee; cursor: default; }
.reno-row[data-levels] { cursor: pointer; }
.reno-row[data-levels]:hover { background: #f3f6f4; }
.reno-row b { margin-right: 6px; }
.reno-row em { color: #9aa3a0; font-style: normal; margin-left: 4px; }
.reno-row.on { background: #eef6f1; }
.fund { font-size: 11px; color: #8a938f; margin-top: 8px; line-height: 1.5; }
.rpt-item { padding: 9px 8px; font-size: 13px; color: #374151; cursor: pointer; border-radius: 6px; }
.rpt-item:hover { background: #eef6f1; color: var(--green); }
.lyr { display: block; font-size: 13px; padding: 6px 4px; color: #374151; }
.lyr em { color: #b0b8b4; }
.lyr-slider { display: flex; align-items: center; gap: 8px; padding: 8px 4px 4px; font-size: 12px; color: #374151; }
.lyr-slider span { white-space: nowrap; }
.lyr-slider input[type=range] { flex: 1; accent-color: var(--green); }
.lyr-slider em { color: var(--green2); font-style: normal; min-width: 34px; text-align: right; }
.sb-foot { padding: 10px 16px; font-size: 11px; color: #9aa3a0; border-top: 1px solid #eef0ee; }

/* 左栏底部：当前登录用户信息 + 退出登录(sbMenu 内部底) */
.sb-user { margin: auto 0 0; padding: 11px 12px; border-top: 1px solid #eef0ee;
  background: linear-gradient(180deg, #f7faf8, #f1f5f1); }
.sb-user[hidden] { display: none; }
.sb-user-row { display: flex; align-items: center; gap: 10px; }
.sb-user-avatar { flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #0e7a52); color: #fff; font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(22,163,74,.3); }
.sb-user-main { flex: 1; min-width: 0; }
.sb-user-name { font-size: 13.5px; font-weight: 700; color: #1f2937; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-user-meta { font-size: 11.5px; color: #6b7280; margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-user-meta b { color: #374151; font-weight: 600; }
.sb-user-logout { display: block; width: 100%; margin-top: 10px; border: 1px solid #f0c8c4;
  background: #fff; color: #c0392b; border-radius: 7px; padding: 7px 0; font-size: 12.5px;
  cursor: pointer; transition: background .15s, border-color .15s; }
.sb-user-logout:hover { background: #fdf3f2; border-color: #e8a9a3; }

/* ===== 折叠按钮 / 地图搜索 ===== */
.ctlbtn { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; }
#sidebarToggle { position: absolute; top: 14px; left: calc(var(--sb) + 14px); z-index: 21;
  width: 40px; height: 40px; font-size: 18px; background: #fff; border: 1px solid #e5e7eb;
  border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); cursor: pointer; transition: left .25s; }

#mapSearch { position: absolute; top: 14px; left: calc(var(--sb) + 66px); z-index: 21;
  display: flex; align-items: center; background: #fff; border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,.14); transition: left .25s; }
#searchType { border: none; background: #f4f6f5; border-radius: 10px 0 0 10px; padding: 11px 10px;
  font-size: 13px; outline: none; cursor: pointer; }
#searchInput { border: none; outline: none; width: 280px; padding: 11px 12px; font-size: 13px; }
.ms-go { padding: 0 14px; cursor: pointer; opacity: .55; }
#searchResults { position: absolute; top: 46px; left: 0; right: 0; background: #fff;
  max-height: min(62vh, 520px); border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.18);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
#searchResults::-webkit-scrollbar { width: 9px; }
#searchResults::-webkit-scrollbar-track { background: #f1f5f7; border-radius: 0 8px 8px 0; }
#searchResults::-webkit-scrollbar-thumb { background: #9bbdca; border: 2px solid #f1f5f7; border-radius: 8px; }
#searchResults::-webkit-scrollbar-thumb:hover { background: #6f9fb2; }
.sr { padding: 9px 14px; font-size: 13px; cursor: pointer; }
.sr:hover { background: #eef6f1; }
.search-result-status { cursor: default; text-align: center; }

/* ===== 右侧竖排 / 右下底图+缩放 ===== */
#rightRail { position: absolute; top: 14px; right: 14px; z-index: 21; display: flex; flex-direction: column;
  background: #fff; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.14); overflow: hidden; }
#rightRail button { width: 44px; height: 44px; font-size: 17px; background: #fff; border: none;
  border-bottom: 1px solid #f1f3f2; cursor: pointer; color: #374151; }
#rightRail button:last-child { border-bottom: none; }
#rightRail button:hover { background: #eef6f1; color: var(--green); }
#rightRail button.on { background: var(--green); color: #fff; }
#rightRail button[data-act="loadnet"] { font-size: 24px; }   /* ⌖ 加载管线图标偏小,单独放大 */
#rightRail .rail-measure svg { display: block; width: 23px; height: 23px; margin: auto; fill: none;
  stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#rightRail .rail-qr span { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0; }

/* ===== 底部状态栏 ===== */
#bottomBar { position: absolute; bottom: 0; left: var(--sb); right: 0; height: 32px; z-index: 19;
  display: flex; align-items: center; gap: 28px; padding: 0 18px; font-size: 12px; color: #4b5563;
  background: rgba(255,255,255,.92); border-top: 1px solid #e5e7eb; transition: left .25s; }
#bottomBar b { color: #111827; }
#bottomBar .bb-right { margin-left: auto; }

/* 轻提示 */
#toast { position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%); z-index: 30;
  background: rgba(17,24,39,.9); color: #fff; padding: 8px 16px; border-radius: 18px; font-size: 13px;
  opacity: 0; transition: opacity .2s; pointer-events: none; }
#toast.show { opacity: 1; }

/* 图层控制·分组标题(管网) */
.lc-sep { font-size: 11px; font-weight: 700; color: #6b7280; margin: 9px 0 4px; padding: 5px 2px 0;
  border-top: 1px solid rgba(0,0,0,.08); }

/* 倾斜摄影整体透明度(地图左下角悬浮，跟随侧栏折叠左移) */
#opacityCtl { position: absolute; bottom: 44px; left: calc(var(--sb) + 14px); z-index: 21;
  display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.94); padding: 8px 12px;
  border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,.14); font-size: 12px; color: #374151; transition: left .25s; }
#opacityCtl input[type=range] { width: 140px; accent-color: var(--green); }
#opacityCtl em { color: var(--green2); font-style: normal; min-width: 34px; text-align: right; }

/* 图例(管网配色;右下角,可折叠) */
#legend { position: absolute; right: 12px; bottom: 96px; width: 150px; z-index: 25;
  background: rgba(255,255,255,.96); border-radius: 8px; overflow: hidden;
  font: 11px/1.45 "Microsoft YaHei", system-ui, sans-serif; box-shadow: 0 2px 12px rgba(0,0,0,.18);
  transition: width .25s ease; }
#legend.collapsed { width: 34px; }
.lg-head { display: flex; align-items: center; gap: 6px; padding: 7px 9px; cursor: pointer; user-select: none;
  white-space: nowrap; color: #fff; font-weight: 700; font-size: 12px;
  background: linear-gradient(135deg, #4A90D9, #357ABD); }
.lg-head:hover { background: linear-gradient(135deg, #357ABD, #2868A9); }
#legend.collapsed .lg-head { justify-content: center; padding: 7px; }
.lg-toggle { transition: transform .25s ease; }
#legend.collapsed .lg-toggle { transform: rotate(180deg); }
#legend.collapsed .lg-title { display: none; }
/* 限高=视口高 - 上方右栏占用,保证展开后顶部不与右上角 ▦ 工具条重合;矮屏内部滚动 */
.lg-body { padding: 8px 9px; max-height: calc(100vh - 340px); overflow-y: auto; }
#legend.collapsed .lg-body { display: none; }
.lg-sec { font-weight: 700; color: #555; border-bottom: 1px solid #eee; padding-bottom: 2px; margin: 8px 0 4px; }
.lg-sec:first-child { margin-top: 0; }
.lg-item { display: flex; align-items: center; gap: 7px; margin: 3px 0; color: #333; }
.lg-ic { width: 14px; height: 14px; border-radius: 3px; flex-shrink: 0; }
.lg-mh { border-radius: 50%; position: relative; }
.lg-mh::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #666; }
.lg-grate { background: #5A9FE0; background-image: repeating-linear-gradient(#1f2937 0 1.5px, transparent 1.5px 4px); }
.lg-flow { background: linear-gradient(90deg, #5A9FE0 0, #5A9FE0 38%, rgba(90,159,224,0) 80%); }
.lg-toggle-item { cursor: pointer; user-select: none; margin-top: 3px; }
.lg-toggle-item input { width: 14px; height: 14px; accent-color: #357ABD; flex-shrink: 0; margin: 0; }

/* ===== 独立登录页(未登录时全屏覆盖) ===== */
.login-mask { --login-accent: #8fe3c2; position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  padding: 32px; overflow: auto; color: #13231e; background:
  radial-gradient(circle at 15% 16%, rgba(44,130,105,.18), transparent 34%),
  radial-gradient(circle at 88% 82%, rgba(78,112,154,.16), transparent 35%), #e8eeeb;
  opacity: 0; transition: opacity .35s ease; box-sizing: border-box; }
.login-mask.show { opacity: 1; }
.login-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  width: min(960px, calc(100vw - 64px)); min-height: 570px; overflow: hidden; border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px; background: rgba(248,251,249,.94); box-shadow: 0 32px 90px rgba(24,48,39,.18);
  transform: translateY(16px) scale(.985); transition: transform .38s cubic-bezier(.2,.75,.2,1); }
.login-mask.show .login-shell { transform: translateY(0) scale(1); }
.login-visual { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: 34px 38px 30px; color: #ecf5f1; background: #112a24; box-sizing: border-box; isolation: isolate; }
.login-visual::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .8; background:
  radial-gradient(circle at 74% 22%, rgba(100,214,173,.18), transparent 28%),
  linear-gradient(135deg, transparent 54%, rgba(255,255,255,.035) 54% 55%, transparent 55%); }
.login-visual-top { display: flex; align-items: center; gap: 12px; color: rgba(226,241,234,.72);
  font-size: 10px; font-weight: 700; letter-spacing: .2em; }
.login-logo { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(143,227,194,.35);
  border-radius: 12px; color: var(--login-accent); background: rgba(143,227,194,.08); }
.login-logo svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.login-visual-copy { position: relative; z-index: 2; margin-top: 68px; max-width: 410px; }
.login-visual-copy p { margin: 0 0 13px; color: var(--login-accent); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.login-visual-copy h1 { margin: 0; color: #f3f8f6; font-size: clamp(30px, 3.15vw, 43px); font-weight: 560;
  line-height: 1.25; letter-spacing: -.035em; }
.login-visual-copy > span { display: block; max-width: 360px; margin-top: 20px; color: rgba(220,237,230,.62);
  font-size: 12px; line-height: 1.8; }
.login-city-scene { position: absolute; z-index: 0; right: -40px; bottom: 0; width: 78%; height: 46%; opacity: .76; }
.login-grid-plane { position: absolute; inset: 8% -20% -48% -20%; background-image:
  linear-gradient(rgba(143,227,194,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(143,227,194,.12) 1px, transparent 1px);
  background-size: 26px 26px; transform: perspective(260px) rotateX(62deg); transform-origin: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 26%, #000 70%, transparent); }
.login-skyline { position: absolute; right: 13%; bottom: 17%; display: flex; align-items: flex-end; gap: 7px; width: 72%; height: 54%; }
.login-skyline i { position: relative; flex: 1; height: var(--h); border: 1px solid rgba(143,227,194,.34);
  border-bottom: none; background: linear-gradient(to top, rgba(143,227,194,.18), rgba(143,227,194,.025));
  box-shadow: inset 0 0 16px rgba(143,227,194,.04); animation: loginTower 1s var(--d) both cubic-bezier(.2,.75,.2,1); }
.login-skyline i::before { content: ""; position: absolute; inset: 8px 4px; opacity: .5; background:
  repeating-linear-gradient(to bottom, rgba(143,227,194,.35) 0 2px, transparent 2px 9px); }
.login-visual-foot { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-top: auto;
  color: rgba(220,237,230,.52); font-size: 10px; letter-spacing: .04em; }
.login-visual-foot i, .login-trust i { width: 6px; height: 6px; border-radius: 50%; background: var(--login-accent);
  box-shadow: 0 0 0 4px rgba(143,227,194,.1); }
.login-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px 58px 42px; box-sizing: border-box; }
.login-brand { margin-bottom: 34px; }
.login-kicker { color: #6b8279; font-size: 9px; font-weight: 700; letter-spacing: .22em; }
.login-title { margin-top: 13px; color: #14251f; font-size: 25px; font-weight: 650; letter-spacing: -.025em; }
.login-sub { margin-top: 8px; color: #899a93; font-size: 12px; }
.login-form { display: grid; gap: 17px; }
.login-field { display: grid; gap: 8px; }
.login-field > span { color: #52645d; font-size: 11px; font-weight: 600; }
.login-input { position: relative; display: flex; align-items: center; height: 48px; border: 1px solid #dbe4df;
  border-radius: 11px; background: #fff; transition: border-color .18s, box-shadow .18s, background .18s; }
.login-input:focus-within { border-color: #5f9e87; background: #fff; box-shadow: 0 0 0 4px rgba(68,139,112,.09); }
.login-input > svg { flex: none; width: 17px; height: 17px; margin-left: 15px; fill: none; stroke: #8ca098; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; transition: stroke .18s; }
.login-input:focus-within > svg { stroke: #39765f; }
.login-field input { flex: 1; min-width: 0; height: 100%; padding: 0 13px; border: 0; outline: 0;
  color: #1c2d27; background: transparent; font: inherit; font-size: 13px; box-sizing: border-box; }
.login-field input::placeholder { color: #b2beb9; }
.login-eye { display: grid; place-items: center; flex: none; width: 43px; height: 100%; padding: 0; border: 0;
  color: #9aaba4; background: transparent; cursor: pointer; }
.login-eye svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.login-eye:hover, .login-eye.on { color: #39765f; }
.login-err { min-height: 18px; margin-top: -4px; color: #cf4f4f; font-size: 11.5px; line-height: 1.45; }
.login-submit { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 49px;
  margin-top: -2px; padding: 0 18px; border: 0; border-radius: 11px; color: #f4faf7; background: #173f33;
  font: inherit; font-size: 13px; font-weight: 650; letter-spacing: .04em; cursor: pointer;
  box-shadow: 0 10px 24px rgba(23,63,51,.17); transition: transform .18s, background .18s, box-shadow .18s; }
.login-submit i { font-size: 17px; font-style: normal; font-weight: 400; transition: transform .18s; }
.login-submit:hover:not(:disabled) { background: #205443; box-shadow: 0 12px 28px rgba(23,63,51,.23); transform: translateY(-1px); }
.login-submit:hover:not(:disabled) i { transform: translateX(3px); }
.login-submit:active:not(:disabled) { transform: translateY(0); }
.login-submit:disabled { cursor: wait; opacity: .78; }
.login-submit.loading i { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.32); border-top-color: #fff;
  border-radius: 50%; font-size: 0; animation: loginSpin .7s linear infinite; }
.login-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 35px; color: #9aa9a3; font-size: 10px; }
.login-trust i { width: 5px; height: 5px; box-shadow: none; background: #79b69f; }
@keyframes loginTower { from { height: 0; opacity: 0; } }
@keyframes loginSpin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
  .login-mask { padding: 18px; }
  .login-shell { grid-template-columns: 1fr; width: min(430px, calc(100vw - 36px)); min-height: 0; border-radius: 20px; }
  .login-visual { min-height: 165px; padding: 25px 27px; }
  .login-visual-copy { margin-top: 28px; }
  .login-visual-copy p, .login-visual-copy > span, .login-city-scene, .login-visual-foot { display: none; }
  .login-visual-copy h1 { font-size: 25px; line-height: 1.3; }
  .login-panel { padding: 34px 28px 29px; }
  .login-brand { margin-bottom: 27px; }
  .login-title { font-size: 22px; }
  .login-trust { margin-top: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .login-mask, .login-shell, .login-skyline i { animation: none; transition: none; }
}
