/* ============================================================
   水多多配送 · 品牌覆盖层 brand.css
   在页面自有样式之后加载，统一色板与 LOGO 载体
   主色：深青 #0C6F86 / 深 #08505F / 亮青 #189AB4 / 品牌红 #D4201C
   ============================================================ */
html {
  --blue: #0C6F86;
  --blue-d: #08505F;
  --violet: #189AB4;
  --primary: #0C6F86;
  --primary-2: #189AB4;
  --primary-600: #08505F;
  --primary-050: #EAF6F9;
  --brand: #0C6F86;
  --brand-dark: #08505F;
  --brand-accent: #189AB4;
  --brand-red: #D4201C;
  --brand-on-primary: #ffffff;
}

/* 深色大屏：提亮主色，避免暗底不可读 */
#screenPage,
body.screen-page {
  --blue: #3EC1D8;
  --primary: #3EC1D8;
}

/* ---------- LOGO 载体 ---------- */
/* 侧栏文字型 logo 里的小标 */
.logo-mark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  vertical-align: -5px;
  margin-right: 9px;
  object-fit: cover;
}

/* 侧栏标题不折行 */
aside .logo,
.sidebar .logo {
  white-space: nowrap;
}

/* 方形 mark 容器（聚合中台 / 文档）里换图铺满 */
.sidebar .logo .mark img,
.logo .mark img,
.logo .m img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* 顶部品牌位：字符标换成图 */
.brand .logo img,
.logo.logo-sq img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

/* 调度端登录页纸飞机位 */
.lh-logo img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

/* ---------- 细节统一 ---------- */
::selection {
  background: rgba(12, 111, 134, .16);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(12, 111, 134, .42);
  outline-offset: 2px;
}

/* 后台深色侧栏选中态与主色对齐 */
aside .mi.on {
  border-left-color: var(--brand-accent);
}
