:root {
  --ink: #253448;
  --muted: #768296;
  --line: #e5e9f0;
  --blue: #163f78;
  --side: #102b4e;
  --danger: #8a4d4d;
}
* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body, #app { margin: 0; min-height: 100%; max-width: 100%; }
body {
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
select { appearance: auto; }
.pick { position: relative; width: 100%; }
.pick-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
}
.pick-btn {
  width: 100%;
  height: 38px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 32px 0 10px;
  position: relative;
}
.pick-btn::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 16px;
  border: 5px solid transparent;
  border-top-color: #5b7086;
}
.pick.open .pick-btn { border-radius: 8px 8px 0 0; }
.pick-menu {
  position: fixed;
  z-index: 40;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(26, 43, 60, 0.12);
}
.pick-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}
.pick-option.on,
.pick-option:hover { background: #e7f2fc; }
.app { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
  background: var(--side);
  border-right: 1px solid #c9dff1;
  padding: 22px 14px 16px;
  display: flex;
  flex-direction: column;
}
.brand { padding: 0 8px 16px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.brand-break { display: block; }
.nav-label { margin: 12px 10px 6px; font-size: 12px; color: #7f97ad; }
.nav-item, .nav-link {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
}
.nav-link.active { background: var(--blue); color: #fff; }
.badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-link.active .badge { background: #fff; color: var(--blue); }
.side-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid #c9dff1; font-size: 13px; color: var(--muted); }
.side-foot strong { display: block; color: var(--ink); }
.shell-link { display: block; margin-top: 8px; color: var(--blue); text-decoration: none; }
.side-foot #logout { margin-top: 8px; }
.main { min-width: 0; padding: 22px 28px 36px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
h1 { font-size: 28px; }
.toolbar, .form-grid, .actions, .pager, .chips, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar { margin-bottom: 12px; }
.list-toolbar { align-items: flex-start; }
.list-toolbar .search { max-width: 360px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
  white-space: nowrap;
}
.tab .count { margin-left: 6px; font-variant-numeric: tabular-nums; }
.tab.on { background: var(--blue); color: #fff; border-color: var(--blue); }
.ops { white-space: nowrap; }
.btn.compact { padding: 4px 8px; height: auto; }
.mask {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 60, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20;
}
.dialog {
  width: min(720px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  padding: 18px;
}
.dialog h2 { margin-bottom: 14px; font-size: 20px; }
.multi { position: relative; }
.multi-face {
  width: 100%;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}
.multi-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-value.placeholder { color: var(--muted); }
.multi-caret {
  flex: none;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
}
.multi-menu {
  position: fixed;
  z-index: 40;
  max-height: 220px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 24px rgba(26, 43, 60, 0.12);
  padding: 4px 0;
}
.multi:has(.multi-menu:not([hidden])) .multi-face { border-radius: 8px 8px 0 0; }
.multi-menu label { display: flex; gap: 8px; align-items: center; padding: 7px 10px; cursor: pointer; }
.multi-menu label:hover { background: #f3f8fd; }
.multi-menu input { width: 16px; height: 16px; margin: 0; padding: 0; flex: none; }
.detail-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.detail-title { display: flex; gap: 10px; align-items: center; }
.search { flex: 1; min-width: 240px; }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px 10px;
}
input, select { height: 38px; }
textarea { min-height: 96px; width: 100%; resize: vertical; }
.panel { border: 1px solid var(--line); border-radius: 16px; overflow: auto; max-width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
.list-table { table-layout: fixed; min-width: 920px; }
.list-table.mine { min-width: 1328px; }
.list-table.all { min-width: 1268px; }
.list-table .c-no { width: 56px; }
.list-table .c-project { width: 220px; }
.list-table .c-client { width: 140px; }
.list-table .c-status { width: 96px; }
.list-table .c-role { width: 88px; }
.list-table .c-person { width: 88px; }
.list-table .c-assist { width: 148px; }
.list-table .c-time { width: 156px; }
.list-table .c-update-days { width: 148px; }
.list-table .update-days { color: #b91c1c; font-weight: 600; white-space: nowrap; }
.list-table .c-ops { width: 108px; }
.list-table.all .c-project { width: 240px; }
.list-table.all .c-ops { width: 88px; }
.list-table.sv { min-width: 1280px; }
.list-table .c-source { width: 120px; }
.list-table .c-date { width: 112px; }
.list-table .c-progress { width: 180px; }
.list-table .no,
.list-table .status,
.list-table .role-cell,
.list-table .person,
.list-table .time,
.list-table .ops { white-space: nowrap; }
.list-table .time.is-stale { color: #b91c1c; font-weight: 600; }
.list-table .project,
.list-table .client { overflow-wrap: anywhere; }
.list-table .assist,
.list-table .progress { overflow: hidden; }
.assist-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.progress-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
th, td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 12px; color: var(--muted); font-weight: 500; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: #f3f8fd; }
.sub { color: var(--muted); font-size: 12px; margin-top: 3px; }
.pill, .role {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #c5ddf5;
  background: #e7f2fc;
  color: #1d6fd0;
  white-space: nowrap;
}
.role { background: var(--blue); color: #fff; border-color: var(--blue); font-weight: 500; }
.role.assist { background: #fff; color: var(--blue); }
.st-PENDING_ASSIGN { background: #f3f4f6; color: #4b5563; border-color: #e5e7eb; }
.st-FOLLOWING { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.st-WON { background: #e0e7ff; color: #4338ca; border-color: #c7d2fe; }
.st-FULFILLING { background: #ffedd5; color: #c2410c; border-color: #fed7aa; }
.st-SETTLING { background: #fef3c7; color: #b45309; border-color: #fde68a; }
.st-SETTLED { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
.st-CLOSED { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.st-OPEN { background: #dbeafe; color: #1d4ed8; border-color: #bfdbfe; }
.st-OVERDUE { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }
.st-DONE { background: #d1fae5; color: #047857; border-color: #a7f3d0; }
.tab.on.st-PENDING_ASSIGN { background: #4b5563; color: #fff; border-color: #4b5563; }
.tab.on.st-FOLLOWING { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.tab.on.st-WON { background: #4338ca; color: #fff; border-color: #4338ca; }
.tab.on.st-FULFILLING { background: #c2410c; color: #fff; border-color: #c2410c; }
.tab.on.st-SETTLING { background: #b45309; color: #fff; border-color: #b45309; }
.tab.on.st-SETTLED { background: #047857; color: #fff; border-color: #047857; }
.tab.on.st-CLOSED { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.tab.on.st-OPEN { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.tab.on.st-OVERDUE { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.tab.on.st-DONE { background: #047857; color: #fff; border-color: #047857; }
.pager { justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 13px; }
.btn, .linkish {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 14px;
  text-decoration: none;
  color: var(--ink);
}
.btn.primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn.danger { color: var(--danger); border-color: #eadcdc; }
.btn:disabled { opacity: 0.45; cursor: default; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.error { color: var(--danger); margin: 0 0 12px; }
.ok { color: #047857; margin: 0 0 12px; }
.list-message { padding: 10px 14px; border: 1px solid; border-radius: 4px; line-height: 1.6; overflow-wrap: anywhere; }
.list-message.ok { background: #ecfdf5; border-color: #a7f3d0; }
.list-message.error { background: #fef2f2; border-color: #fecaca; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 48px 11vw;
  background:
    linear-gradient(90deg, rgba(220, 237, 251, 0.08), rgba(255, 255, 255, 0.28) 58%, rgba(255, 255, 255, 0.72)),
    url('login-bg.jpg?v=2') center / cover no-repeat;
}
.login-hero {
  position: absolute;
  top: 36px;
  left: 40px;
  max-width: min(560px, calc(100% - 80px));
}
.login-company {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: #16324d;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.85);
}
.phone-link { text-align: center; color: var(--blue); text-decoration: none; font-size: 14px; }
.login h1 { font-size: 24px; line-height: 1.35; }
.login {
  width: min(400px, calc(100% - 32px));
  flex: none;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 18px 40px rgba(26, 43, 60, 0.12);
}
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.fact { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.fact > span:first-child { display: block; color: var(--muted); font-size: 12px; margin-bottom: 4px; }
.split { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 14px; }
.card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.card h3 { margin-bottom: 12px; font-size: 16px; }
.detail-sheet { padding: 16px; margin-bottom: 18px; background: #fff; }
.progress-log { background: #eef5fc; border-color: #c5daf0; }
.progress-log h3 { color: #1d4ed8; }
.block + .block { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.progress-log .block,
.progress-log .block + .block {
  background: #fff;
  border: 1px solid #d7e6f5;
  border-radius: 12px;
  margin-top: 10px;
  padding: 12px 14px;
}
.meta { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.chips span { background: #e7f2fc; border-radius: 999px; padding: 4px 8px; }
.back { color: var(--blue); text-decoration: none; display: inline-block; margin-bottom: 10px; }
.empty { padding: 36px 12px; text-align: center; color: var(--muted); }
@media (max-width: 900px) {
  .login-wrap { justify-content: center; padding: 96px 16px 32px; }
  .login-hero { top: 24px; left: 16px; right: 16px; max-width: none; text-align: left; }
  .login-company { font-size: 22px; }
  .app, .facts, .split, .form { grid-template-columns: 1fr; }
  .side {
    position: sticky;
    top: 0;
    align-self: stretch;
    height: auto;
    overflow: visible;
    z-index: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
  }
  .brand { padding: 0 8px 0 0; font-size: 16px; }
  .brand-break { display: none; }
  .nav-label { display: none; }
  .nav-link { width: auto; margin: 0; padding: 8px 10px; }
  .side-foot { margin: 0 0 0 auto; border: 0; padding: 0; display: flex; align-items: center; gap: 8px; }
  .side-foot .shell-link, .side-foot #logout { margin-top: 0; }
  .main { padding: 16px; }
}

/* Compact management console, with a navy navigation frame. */
.ui-icon { width: 17px; height: 17px; flex: none; }
.app { grid-template-columns: 196px minmax(0, 1fr); grid-template-rows: 48px 1fr; background: #f3f5f8; font-size: 13px; }
.console-header { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; height: 48px; padding: 0 22px 0 12px; background: #0b203c; color: #e7edf7; position: sticky; top: 0; z-index: 12; }
.console-menu { display: grid; place-items: center; width: 28px; height: 30px; padding: 0; border: 0; background: transparent; color: #aebfd4; }
.console-menu:hover { color: #fff; background: #1b3658; }
.console-brand { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
.console-brand .ui-icon { width: 23px; height: 23px; }
.console-divider { height: 16px; width: 1px; background: #344760; }
.console-location { display: flex; gap: 7px; align-items: center; font-size: 12px; color: #b4c3d7; }
.console-account { margin-left: auto; display: flex; gap: 9px; align-items: center; font-size: 12px; }
.console-avatar { display: grid; place-items: center; width: 28px; height: 28px; background: #355783; border-radius: 50%; color: #fff; }
.side { top: 48px; height: calc(100vh - 48px); padding: 20px 8px 14px; border: 0; color: #c7d3e3; }
.brand { padding: 0 8px 20px; font-size: 13px; color: #fff; font-weight: 600; white-space: nowrap; }
.nav-label { margin: 18px 12px 8px; font-size: 11px; color: #8198b5; }
.nav-link { justify-content: flex-start; gap: 10px; height: 38px; padding: 0 12px; margin: 2px 0; border-radius: 2px; color: #c7d3e3; font-size: 13px; }
.nav-text { flex: 1; }
.nav-link:hover { background: #1a3a60; color: #fff; }
.nav-link.active { background: #244a78; color: #fff; box-shadow: inset 3px 0 #6c9bd6; }
.nav-link .ui-icon { color: #8fa8c8; width: 16px; height: 16px; }
.nav-link.active .ui-icon { color: #c1d8f5; }
.badge { height: 17px; min-width: 17px; font-size: 10px; padding: 0 5px; background: #355c8b; }
.nav-link.active .badge { background: #5076a4; color: #fff; }
.side-foot { border-color: #284260; padding: 12px 12px 0; }
.side-foot .shell-link, .side-foot #logout { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 0; color: #adbed3; font-size: 12px; border: 0; background: transparent; }
.side-foot a:hover, .side-foot #logout:hover { color: #fff; }
.main { padding: 0 24px 28px; }
.console-breadcrumb { display: flex; align-items: center; gap: 12px; height: 44px; color: #8a94a3; font-size: 12px; }
.console-breadcrumb span { color: #bcc4cf; }
.console-breadcrumb strong { font-weight: 400; color: #58687c; }
.top { background: #fff; min-height: 62px; margin: 0 -24px 20px; padding: 16px 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h1 { font-size: 19px; font-weight: 600; }
.list-toolbar { display: grid; grid-template-columns: auto minmax(200px, 1fr); gap: 20px 16px; margin: 0 0 14px; align-items: center; }
.list-toolbar .tabs { grid-column: 1 / -1; grid-row: 1; margin: -20px -24px 0; padding: 0 24px; gap: 26px; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tab, .tab[class*="st-"] { position: relative; height: 44px; padding: 0 0 2px; border: 0; border-radius: 0; background: transparent; color: #667286; font-size: 13px; font-weight: 400; }
.tab.on, .tab.on[class*="st-"] { background: transparent; color: var(--blue); border: 0; font-weight: 600; }
.tab.on::after { content: ""; position: absolute; height: 2px; bottom: 0; left: 0; right: 0; background: var(--blue); }
.tab .count { color: #8e99a8; font-size: 11px; margin-left: 7px; }
.tab.on .count { color: var(--blue); }
.list-toolbar .actions { grid-column: 1; grid-row: 2; flex-direction: row-reverse; justify-content: flex-end; }
.list-toolbar .search { grid-column: 2; grid-row: 2; width: min(100%, 320px); min-width: 0; justify-self: end; max-width: 320px; padding-left: 12px; }
input, select, .pick-btn, .multi-face, .btn, .linkish { height: 32px; border-radius: 2px; font-size: 12px; }
.btn, .linkish { padding: 6px 14px; display: inline-flex; align-items: center; justify-content: center; }
.btn:hover:not(:disabled) { border-color: #7e98ba; color: var(--blue); background: #f4f7fb; }
.btn.primary:hover:not(:disabled) { background: #23518c; color: #fff; border-color: #23518c; }
input:focus, textarea:focus, .pick-btn:focus-visible, .multi-face:focus-visible { outline: 2px solid #c1d3ec; outline-offset: 1px; border-color: #7094c3; }
button:focus-visible, a:focus-visible { outline: 2px solid #759ed3; outline-offset: 2px; }
textarea { border-radius: 2px; }
.pick-btn::after { top: 13px; border-width: 4px; }
.pick.open .pick-btn, .pick-menu, .multi-menu { border-radius: 2px; }
.panel { border: 1px solid var(--line); border-radius: 0; background: #fff; }
table { font-size: 12px; }
th { height: 40px; color: #5c6879; font-size: 11px; font-weight: 500; background: #fafbfd; }
th, td { padding: 13px 12px; border-bottom-color: #edf0f5; }
td { height: 54px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #f4f7fb; }
.ops .btn { border: 0; padding: 3px 5px; background: transparent; color: var(--blue); height: auto; }
.ops .btn:hover:not(:disabled) { background: #eaf0f8; }
.pill, .role { border-radius: 2px; font-size: 11px; font-weight: 400; }
.pager { margin-top: 0; padding: 14px 12px; border: 1px solid var(--line); border-top: 0; background: #fff; font-size: 12px; }
.pager > span:last-child { display: flex; gap: 12px; align-items: center; }
.form, .card, .fact, .dialog, .progress-log .block { border-radius: 4px; background-color: #fff; }
.dialog { box-shadow: 0 16px 60px #0b203c33; }
.detail-head { margin-top: 6px; }
.nav-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
.nav-collapsed .brand, .nav-collapsed .nav-label, .nav-collapsed .nav-text, .nav-collapsed .nav-link .badge, .nav-collapsed .side-foot span { display: none; }
.nav-collapsed .nav-link { justify-content: center; padding: 0; height: 40px; }
.nav-collapsed .side-foot { padding: 12px 10px 0; }
@media (max-width: 900px) {
  .app { grid-template-columns: 168px minmax(0, 1fr); }
  .side { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; overflow: auto; z-index: 2; }
  .brand { white-space: normal; }
  .nav-label { display: block; }
  .nav-link { width: 100%; }
  .side-foot { margin: auto 0 0; border-top: 1px solid #284260; display: block; }
  .main { padding: 0 16px 24px; }
  .top { margin-left: -16px; margin-right: -16px; padding: 16px; }
  .list-toolbar .tabs { margin-left: -16px; margin-right: -16px; padding: 0 16px; gap: 18px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-collapsed { grid-template-columns: 56px minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .console-header { gap: 10px; padding-right: 12px; }
  .console-brand { font-size: 12px; gap: 6px; }
  .console-location, .console-divider, .console-account > span:last-child { display: none; }
  .app { grid-template-columns: 56px minmax(0, 1fr); }
  .side .brand, .side .nav-label, .side .nav-text, .side .badge, .side-foot span { display: none; }
  .side .nav-link { padding: 0; justify-content: center; height: 40px; }
  .side-foot { padding: 12px 10px 0; }
  .list-toolbar { grid-template-columns: 1fr; gap: 12px; }
  .list-toolbar .tabs { gap: 16px; }
  .list-toolbar .search { grid-column: 1; grid-row: 3; width: 100%; max-width: none; }
  .list-toolbar .actions { justify-content: flex-end; }
  .pager { gap: 12px; }
}

.st-FOLLOWING, .st-OPEN { background: #eaf0f8; color: #163f78; border-color: #cddbef; }

.side-foot .account-password { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #adbed3; font-size: 12px; text-decoration: none; }
.password-form { width: min(520px, 100%); grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 24px; }
.password-form > p { margin: 0; line-height: 1.6; }
.password-form input:not([hidden]) { width: 100%; height: 38px; }

.console-brand { min-width: 0; }
.console-brand > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-menu, .console-account, .console-location { flex-shrink: 0; }
@media (max-width: 600px) {
  .console-brand { flex: 1; font-size: 11px; }
  .console-brand > span { white-space: normal; line-height: 1.4; }
}

.required-star { color: #b91c1c; margin-left: 4px; font-weight: 600; }

.modal-error {
  position: sticky;
  top: 0;
  z-index: 1;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #efc9c9;
  border-left: 3px solid #bd3434;
  border-radius: 4px;
  background: #fff5f5;
  color: #8e2525;
  overflow-wrap: anywhere;
}

#leadForm textarea[name="description"] { font-size: 15px; line-height: 1.6; }

.lead-attachments { margin-bottom: 16px; }
.lead-attachments a { display: block; padding: 6px 0; color: var(--blue); overflow-wrap: anywhere; }
input[type=file] { max-width: 100%; height: auto; min-height: 34px; }
