:root {
  --gm-blue: #1a73e8;
  --gm-blue-hover: #1557b0;
  --gm-blue-text: #0b57d0;
  --gm-red: #ea4335;
  --gm-green: #0f9d58;
  --gm-surface: #f6f8fc;
  --gm-panel: #ffffff;
  --gm-search: #eaf1fb;
  --gm-compose: #c2e7ff;
  --gm-compose-hover: #b3dcf5;
  --gm-active-bg: #d3e3fd;
  --gm-active-text: #001d35;
  --gm-hover: #f1f3f4;
  --gm-row-hover: #f2f6fc;
  --gm-border: #e0e0e0;
  --gm-text-1: #202124;
  --gm-text-2: #5f6368;
  --gm-text-3: #9aa0a6;
  --gm-header-h: 64px;
  --gm-sidebar-w: 256px;
  --gm-radius-pill: 16px;
  --gm-radius-lg: 16px;
  --gm-radius-md: 8px;
  --gm-shadow-1: 0 1px 2px rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
  --gm-shadow-2: 0 1px 3px rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
  --gm-ease: cubic-bezier(0.2, 0, 0, 1);
  --gm-font: Roboto, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--gm-surface);
  color: var(--gm-text-1);
  font-family: var(--gm-font);
  font-size: 14px;
  line-height: 1.4;
}

a { color: var(--gm-blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font-family: inherit; }

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 20;
  font-size: 20px;
  line-height: 1;
  user-select: none;
}

.gm-app {
  display: grid;
  grid-template-rows: var(--gm-header-h) 1fr;
  grid-template-columns: var(--gm-sidebar-w) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.gm-header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: var(--gm-sidebar-w) 1fr auto;
  align-items: center;
  height: var(--gm-header-h);
  padding: 0 8px 0 4px;
  background: var(--gm-surface);
  z-index: 20;
}

.gm-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.gm-brand:hover { text-decoration: none; }

.gm-icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gm-text-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gm-icon-btn:hover { background: var(--gm-hover); }

.gm-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.gm-wordmark {
  font-size: 22px;
  font-weight: 400;
  color: var(--gm-text-2);
  letter-spacing: 0;
  margin-left: 4px;
}
.gm-wordmark b { color: var(--gm-red); font-weight: 500; }

.gm-search {
  max-width: 720px;
  width: min(100%, 720px);
  height: 48px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 0 16px;
  background: var(--gm-search);
  border-radius: 24px;
  color: var(--gm-text-2);
  transition: background .15s var(--gm-ease), box-shadow .15s var(--gm-ease);
}
.gm-search:focus-within {
  background: var(--gm-panel);
  box-shadow: var(--gm-shadow-1);
}
.gm-search input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: var(--gm-text-1);
}
.gm-search-spin {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid #c4c7c5;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: gm-spin .7s linear infinite;
}
.gm-search-spin[hidden] { display: none !important; }
.gm-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-right: 8px;
}
.gm-user {
  font-size: 12px;
  color: var(--gm-text-2);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-right: 4px;
}
.gm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gm-blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

.gm-sidebar {
  display: flex;
  flex-direction: column;
  align-self: start;
  position: sticky;
  top: 0;
  height: calc(100vh - var(--gm-header-h));
  height: calc(100dvh - var(--gm-header-h));
  max-height: calc(100dvh - var(--gm-header-h));
  padding: 8px 12px 16px;
  overflow: auto;
}
.gm-compose {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px 0 16px;
  margin: 0 0 16px 4px;
  border: 0;
  border-radius: var(--gm-radius-lg);
  background: var(--gm-compose);
  color: var(--gm-active-text);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--gm-shadow-1);
  cursor: pointer;
  text-decoration: none;
}
.gm-compose:hover { background: var(--gm-compose-hover); text-decoration: none; }
.gm-compose .material-symbols-outlined { font-size: 24px; }

.gm-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gm-nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 32px;
  padding: 0 12px 0 26px;
  margin-right: 12px;
  border-radius: 0 16px 16px 0;
  color: var(--gm-text-1);
  font-size: 14px;
  text-decoration: none;
}
.gm-nav a:hover { background: var(--gm-hover); text-decoration: none; }
.gm-nav a.is-active {
  background: var(--gm-active-bg);
  color: var(--gm-active-text);
  font-weight: 700;
}
.gm-nav a.is-active .material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
  color: var(--gm-active-text);
}
.gm-nav .material-symbols-outlined { color: var(--gm-text-2); }
.gm-nav-label {
  margin: 16px 0 6px 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gm-text-1);
}
.gm-powered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: auto;
  flex-shrink: 0;
  padding: 16px 12px 8px 18px;
  text-decoration: none;
  color: var(--gm-text-3);
  border-top: 1px solid var(--gm-border);
  background: var(--gm-surface);
}
.gm-powered:hover { text-decoration: none; color: var(--gm-text-2); }
.gm-powered-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gm-text-3);
}
.gm-powered-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--lp-navy, #001d35);
  line-height: 1.1;
}
.gm-powered-brand img {
  display: block;
  height: 22px;
  width: auto;
  object-fit: contain;
}

.gm-main {
  min-width: 0;
  padding: 0 16px 16px 0;
  display: flex;
  flex-direction: column;
}
.gm-sheet {
  flex: 1;
  background: var(--gm-panel);
  border-radius: var(--gm-radius-lg);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  overflow: auto;
  min-height: 0;
}
.gm-sheet-pad { padding: 20px 24px 28px; }
.gm-page-title {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 16px;
  color: var(--gm-text-1);
}

.gm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  height: 48px;
  padding: 4px 8px;
  color: var(--gm-text-2);
  border-bottom: 1px solid var(--gm-border);
}
.gm-pager {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.gm-pager-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 8px;
  font-size: 13px;
  color: var(--gm-text-2);
}
.gm-pager-size select {
  height: 32px;
  padding: 0 8px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  color: var(--gm-text-1);
  font-size: 13px;
}
.gm-pager-range {
  min-width: 7.5rem;
  padding: 0 8px;
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}
.gm-icon-btn:disabled {
  opacity: .38;
  cursor: default;
}

.gm-mail-list { display: flex; flex-direction: column; }
.gm-mail-row {
  display: grid;
  grid-template-columns: 48px 180px minmax(0, 1fr) 220px 88px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 8px 8px 8px;
  border-bottom: 1px solid #eceff1;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  overflow: visible;
}
.gm-mail-row:hover { background: var(--gm-row-hover); text-decoration: none; }
.gm-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  justify-self: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
}
.gm-mail-row .from {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.gm-mail-row .from-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gm-text-1);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gm-mail-row .from-email {
  font-size: 12px;
  font-weight: 400;
  color: var(--gm-text-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gm-mail-row .snippet {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 14px;
  color: var(--gm-text-2);
}
.gm-mail-row .snippet-top {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.gm-mail-row .snippet-subject {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--gm-text-1);
  font-weight: 700;
  min-width: 0;
}
.gm-mail-row .snippet-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}
.gm-dept {
  flex: 0 0 auto;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}
.gm-mail-row.is-unassigned {
  background: #fff8e1;
  box-shadow: inset 3px 0 0 #f9ab00;
}
.gm-mail-row.is-unassigned:hover { background: #feefc3; }
.gm-dept-unassigned {
  background: #fef7e0;
  color: #b06000;
}
.gm-flag-unassigned { background: #fef7e0; color: #b06000; }
.gm-assign { position: relative; flex: 0 0 auto; justify-self: end; }
.gm-assign-btn {
  color: var(--gm-text-2);
}
.gm-assign-btn:hover { background: var(--gm-hover); }
.gm-assign-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: auto;
  z-index: 20;
  min-width: 220px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(32, 33, 36, .16);
}
.gm-assign-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--gm-text-1);
  text-align: left;
  cursor: pointer;
}
.gm-assign-item:hover { background: var(--gm-row-hover); }
.gm-assign-item.is-current { background: #e8f0fe; }
.gm-assign-item small { color: var(--gm-text-2); font-size: 11px; }
.gm-assign-empty { padding: 10px 12px; color: var(--gm-text-2); font-size: 13px; }
.gm-mail-row .assigned {
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: var(--gm-text-2);
  text-align: right;
  line-height: 1.35;
}
.gm-mail-row .date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-size: 12px;
  color: var(--gm-text-2);
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
}
.gm-mail-row .date-text { line-height: 1.3; }
.gm-assign { position: relative; flex: 0 0 auto; }
.gm-assign-btn {
  width: 28px;
  height: 28px;
  color: #5f6368;
}
.gm-assign-btn .material-symbols-outlined { font-size: 20px; }
.gm-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  vertical-align: middle;
}
.gm-flag-routed { background: #e6f4ea; color: #137333; }
.gm-flag-system { background: var(--gm-search); color: var(--gm-blue-text); }
.gm-empty { padding: 48px 24px; text-align: center; color: var(--gm-text-2); }
.gm-empty .material-symbols-outlined {
  font-size: 40px;
  color: var(--gm-text-3);
  display: block;
  margin: 0 auto 8px;
}
.gm-empty p { margin: 0 0 4px; }

.gm-grid { display: grid; gap: 16px; }
.gm-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 960px) { .gm-grid-2 { grid-template-columns: 1fr 1fr; } }
.gm-grid-3 { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gm-card {
  background: var(--gm-panel);
  border: 1px solid var(--gm-border);
  border-radius: 12px;
  padding: 16px;
}
.gm-card h3 { margin: 0 0 12px; font-size: 16px; font-weight: 500; }
.gm-muted { color: var(--gm-text-2); font-size: 13px; }
.gm-dash-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.gm-range {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gm-range-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--gm-border);
  border-radius: 16px;
  background: #fff;
  color: var(--gm-text-1);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}
.gm-range-btn:hover { background: var(--gm-row-hover); }
.gm-range-btn.is-active {
  background: var(--gm-active-bg);
  border-color: #d2e3fc;
  color: var(--gm-active-text);
}
.gm-range-custom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: -4px 0 16px;
}
.gm-range-custom .gm-field { margin: 0; min-width: 160px; }
.gm-range-custom[hidden] { display: none !important; }
.gm-stat.is-link,
.gm-hbar.is-link,
.gm-donut-item.is-link {
  text-decoration: none;
  color: inherit;
}
.gm-stat.is-link,
.gm-hbar.is-link {
  cursor: pointer;
  transition: border-color .15s var(--gm-ease), transform .15s var(--gm-ease), box-shadow .15s var(--gm-ease);
}
.gm-stat.is-link:hover,
.gm-hbar.is-link:hover {
  border-color: #d2e3fc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, .12);
  text-decoration: none;
}
.gm-hbar.is-link {
  display: flex;
  padding: 6px 8px;
  margin: 0 -8px 4px;
  border: 1px solid transparent;
  border-radius: 10px;
}
.gm-donut-item.is-link:hover { color: var(--gm-blue-text); }
.gm-spark-hit {
  fill: transparent;
  cursor: pointer;
}
.gm-spark-tip {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #202124;
  color: #fff;
  font-size: 12px;
}
.gm-dash-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.gm-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  min-width: 0;
  padding: 18px 10px 16px;
  border: 0;
  color: inherit;
  animation: gm-card-in .45s var(--gm-ease) both;
}
.gm-stat:nth-child(1) { animation-delay: .04s; }
.gm-stat:nth-child(2) { animation-delay: .08s; }
.gm-stat:nth-child(3) { animation-delay: .12s; }
.gm-stat:nth-child(4) { animation-delay: .16s; }
.gm-stat:nth-child(5) { animation-delay: .2s; }
.gm-stat:nth-child(6) { animation-delay: .24s; }
.gm-stat:nth-child(7) { animation-delay: .28s; }
.gm-stat .gm-meta-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  font-size: 36px;
  background: none;
  color: inherit;
  margin-bottom: 2px;
}
.gm-stat .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: inherit;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gm-stat strong {
  display: block;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: inherit;
}
.gm-stat .gm-meta-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gm-stat.is-blue { background: #d2e3fc; color: #1565c0; }
.gm-stat.is-sky { background: #bbdefb; color: #0d47a1; }
.gm-stat.is-amber { background: #ffe0b2; color: #e65100; }
.gm-stat.is-peach { background: #ffcdd2; color: #c62828; }
.gm-stat.is-green { background: #c8e6c9; color: #2e7d32; }
.gm-stat.is-purple { background: #e1bee7; color: #6a1b9a; }
.gm-stat.is-teal { background: #b2dfdb; color: #00695c; }
.gm-stat.is-blue .label,
.gm-stat.is-sky .label,
.gm-stat.is-amber .label,
.gm-stat.is-peach .label,
.gm-stat.is-green .label,
.gm-stat.is-purple .label,
.gm-stat.is-teal .label { color: inherit; opacity: .85; }
.gm-stat.is-link:hover {
  border-color: transparent;
  filter: brightness(.97);
}
.gm-dash-trend { margin-bottom: 16px; }
.gm-dash-charts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (min-width: 960px) {
  .gm-dash-charts { grid-template-columns: 1.2fr .8fr; }
}
.gm-dash .gm-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 500;
}
.gm-dash .gm-card h3 .material-symbols-outlined { color: var(--gm-blue-text); font-size: 20px; }
.gm-stat .gm-meta-sub { display: none; }
.gm-hbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  animation: gm-card-in .5s var(--gm-ease) both;
}
.gm-hbar-label {
  width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--gm-text-2);
}
.gm-hbar-value { width: 32px; text-align: right; font-size: 13px; font-weight: 500; }
.gm-bar { height: 10px; background: var(--gm-search); border-radius: 6px; overflow: hidden; flex: 1; }
.gm-bar > span {
  display: block;
  height: 100%;
  background: var(--gm-blue);
  border-radius: 6px;
  transform-origin: left center;
  animation: gm-bar-in .8s var(--gm-ease) both;
}
.gm-spark-wrap { position: relative; }
.gm-spark { width: 100%; height: 148px; display: block; }
.gm-spark-area {
  fill: #1a73e8;
  opacity: .12;
}
.gm-spark-line {
  fill: none;
  stroke: #1a73e8;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: gm-draw 1.2s var(--gm-ease) forwards;
}
.gm-spark-dot {
  fill: #fff;
  stroke: #1a73e8;
  stroke-width: 2;
  opacity: 0;
  animation: gm-fade-in .4s .9s var(--gm-ease) forwards;
}
.gm-spark-tick { fill: var(--gm-text-3); font-size: 11px; font-family: var(--gm-font); }
.gm-spark-total {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  color: var(--gm-text-2);
}
.gm-donut-wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.gm-donut { width: 132px; height: 132px; flex: none; }
.gm-donut-track { fill: none; stroke: var(--gm-search); stroke-width: 10; }
.gm-donut-slice {
  fill: none;
  stroke-width: 10;
  animation: gm-fade-in .7s var(--gm-ease) both;
}
.gm-donut-num { font-size: 18px; font-weight: 500; fill: var(--gm-text-1); font-family: var(--gm-font); }
.gm-donut-cap { font-size: 9px; fill: var(--gm-text-2); font-family: var(--gm-font); text-transform: uppercase; letter-spacing: .04em; }
.gm-donut-legend { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 8px; }
.gm-donut-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.gm-donut-item b { margin-left: auto; }
.gm-donut-swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.gm-dash-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto 92px;
  gap: 10px;
  align-items: center;
  padding: 10px 4px;
  border-top: 1px solid var(--gm-border);
  color: inherit;
  text-decoration: none;
  animation: gm-card-in .45s var(--gm-ease) both;
}
.gm-dash-row:first-child { border-top: 0; }
.gm-dash-row:hover { background: var(--gm-row-hover); text-decoration: none; }
.gm-dash-row-main { min-width: 0; }
.gm-dash-row-main b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.gm-dash-when { font-size: 12px; color: var(--gm-text-2); text-align: right; }
.gm-dash-table { width: 100%; }
.gm-dash-table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gm-text-2);
  padding: 8px 12px;
}
.gm-dash-table td {
  padding: 10px 12px;
  vertical-align: middle;
}
.gm-dash-table tbody tr { cursor: pointer; }
.gm-dash-table tbody tr:hover { background: var(--gm-row-hover); }
.gm-dash-table .gm-muted { display: block; margin-top: 2px; }
.gm-empty-sm { padding: 24px 12px; }
@keyframes gm-card-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes gm-bar-in {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes gm-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes gm-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.gm-list-item {
  padding: 12px;
  border: 1px solid var(--gm-border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.gm-list-item:hover { background: var(--gm-row-hover); }
.gm-list-item b { display: block; }

.gm-field,
label.gm-field {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--gm-text-2);
  margin-bottom: 12px;
}
.gm-field[hidden],
label.gm-field[hidden] {
  display: none !important;
}
.gm-input, .gm-field input, .gm-field select, .gm-field textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid #dadce0;
  border-radius: 4px;
  background: #fff;
  color: var(--gm-text-1);
  font-size: 14px;
}
.gm-field textarea { height: auto; min-height: 88px; resize: vertical; }
.gm-pw-hint {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 12px;
  font-weight: 400;
  color: var(--gm-text-2);
  text-align: left;
}
.gm-pw-hint li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.gm-pw-hint .material-symbols-outlined { font-size: 16px; }
.gm-pw-hint li.is-ok { display: none; }
.gm-pw-hint li.is-bad { color: #c5221f; }
.gm-pw-hint:has(> li.is-ok):not(:has(> li:not(.is-ok))) {
  display: none;
}
.gm-pw-match {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
}
.gm-pw-match.is-on { display: flex; align-items: center; gap: 6px; }
.gm-pw-match .material-symbols-outlined { font-size: 16px; }
.gm-pw-match.is-ok { color: #137333; }
.gm-pw-match.is-bad { color: #c5221f; }
.gm-input:focus, .gm-field input:focus, .gm-field select:focus, .gm-field textarea:focus {
  outline: none;
  border-color: var(--gm-blue);
  box-shadow: 0 0 0 1px var(--gm-blue);
}

.gm-btn {
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 18px;
  background: var(--gm-hover);
  color: var(--gm-text-1);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.gm-btn:hover { background: #e8eaed; }
.gm-btn-primary {
  background: var(--gm-blue);
  color: #fff;
}
.gm-btn-primary:hover { background: var(--gm-blue-hover); }
.gm-btn-danger {
  background: #fce8e6;
  color: #c5221f;
}
.gm-btn-danger:hover { background: #f5c6c2; color: #a50e0e; }
.gm-btn-ghost { background: transparent; }
.gm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.gm-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: var(--gm-search);
  color: var(--gm-active-text);
  font-size: 12px;
  font-weight: 500;
}
.gm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.gm-table th {
  text-align: left;
  font-weight: 500;
  color: var(--gm-text-2);
  padding: 12px 16px;
  border-bottom: 1px solid var(--gm-border);
}
.gm-table td { padding: 12px 16px; border-bottom: 1px solid #f1f3f4; }

.gm-auth-body { background: #fff; }
.gm-auth {
  min-height: calc(100vh - 72px);
  min-height: calc(100dvh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: stretch;
  padding: 0;
  background:
    radial-gradient(ellipse 55% 50% at 12% 18%, rgba(234, 67, 53, .12), transparent 58%),
    radial-gradient(ellipse 50% 55% at 88% 12%, rgba(26, 115, 232, .14), transparent 60%),
    linear-gradient(165deg, #eef4ff 0%, #f7f9fc 45%, #fff8f6 100%);
}
.gm-auth-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 56px 64px;
  color: var(--gm-text-1);
  overflow: hidden;
  background: transparent;
  border-right: 0;
}
.gm-auth-panel-inner {
  width: min(100%, 420px);
  position: relative;
  z-index: 1;
}
.gm-auth-panel-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--gm-text-1);
}
.gm-auth-panel-lede {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--gm-text-2);
  max-width: 36ch;
}
.gm-auth-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.gm-auth-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.gm-auth-points .material-symbols-outlined {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(26, 115, 232, .1);
  color: var(--gm-blue);
  font-size: 20px;
}
.gm-auth-points strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gm-text-1);
  margin-bottom: 2px;
}
.gm-auth-points span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--gm-text-2);
}

.gm-auth-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 48px 32px;
  background: transparent;
}
.gm-auth-card {
  width: min(100%, 400px);
  background: #fff;
  border: 1px solid var(--gm-border);
  border-radius: 12px;
  padding: 32px 32px 28px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .06), 0 8px 24px rgba(60, 64, 67, .06);
}
.gm-auth-head { margin: 0 0 4px; }
.gm-auth-card h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--gm-text-1);
  line-height: 1.2;
}
.gm-auth-card .gm-muted {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--gm-text-2);
}
.gm-auth-card #login-error { margin: 16px 0 0; }
.gm-auth-card form { text-align: left; margin-top: 22px; }
.gm-auth-card .gm-field { margin-bottom: 16px; font-size: 13px; color: var(--gm-text-1); font-weight: 500; }
.gm-auth-card .gm-field input {
  margin-top: 8px;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
}
.gm-auth-actions { justify-content: stretch; margin-top: 8px; }
.gm-auth-actions .gm-btn-primary {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}
.gm-auth-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f1f3f4;
  text-align: center;
}
.gm-auth-card .gm-link {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 900px) {
  .gm-auth {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .gm-auth-panel {
    padding: 36px 24px 8px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .gm-auth-panel-title { font-size: 24px; }
  .gm-auth-shell { padding: 24px 20px 48px; align-items: flex-start; }
}
.gm-link {
  display: inline-block;
  margin-top: 16px;
  background: none;
  border: 0;
  color: var(--gm-blue-text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.gm-link:hover { text-decoration: underline; }

.gm-msg { display: none; margin: 8px 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; }
.gm-msg.is-on { display: flex; align-items: flex-start; gap: 8px; }
.gm-msg .material-symbols-outlined { font-size: 18px; flex: none; margin-top: 1px; }
.gm-msg-error { background: #fce8e6; color: #c5221f; }
.gm-msg-ok { background: #e6f4ea; color: #137333; }
.gm-msg-warn { background: #fef7e0; color: #b06000; }

.gm-convo { display: flex; flex-direction: column; gap: 8px; }
.gm-convo-msg {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
}
.gm-convo-msg.is-latest { background: #e8f0fe; }
.gm-convo-msg.is-quoted { background: var(--gm-surface); border: 1px solid var(--gm-border); }
.gm-convo-msg.is-out { background: #e6f4ea; }
.gm-convo-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--gm-text-2);
}
.gm-convo-meta strong { color: var(--gm-text-1); }
.gm-convo-text { white-space: pre-wrap; }
.gm-avatar-sm { width: 22px; height: 22px; font-size: 9px; }
.gm-bubble { white-space: pre-wrap; border-radius: 8px; padding: 12px; margin-bottom: 8px; font-size: 13px; }
.gm-bubble-in { background: var(--gm-surface); }
.gm-bubble-out { background: #e6f4ea; }
.gm-bubble-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gm-text-2);
}
.gm-bubble-head .material-symbols-outlined { font-size: 18px; }

.gm-detail-head { margin-bottom: 16px; }
.gm-detail-head .gm-page-title { margin-bottom: 10px; }
.gm-detail-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 960px) {
  .gm-detail-grid { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); }
}
.gm-chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gm-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gm-search);
  color: var(--gm-blue-text);
}
.gm-info-chip .material-symbols-outlined { font-size: 16px; }
.gm-info-chip.is-ok { background: #e6f4ea; color: #137333; }
.gm-info-chip.is-warn { background: #fef7e0; color: #b06000; }
.gm-info-chip.is-hot { background: #fce8e6; color: #c5221f; }
.gm-info-chip.is-info { background: #e8f0fe; color: #174ea6; }
.gm-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.gm-meta-tile {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: var(--gm-panel);
  border: 1px solid var(--gm-border);
  border-radius: 10px;
  min-width: 0;
}
.gm-meta-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gm-search);
  color: var(--gm-blue-text);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 16px;
}
.gm-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--gm-text-2);
  margin-bottom: 2px;
}
.gm-meta-value { font-size: 12px; color: var(--gm-text-1); word-break: break-word; }
.gm-meta-sub { display: block; margin-top: 1px; font-size: 11px; font-weight: 400; color: var(--gm-text-2); }
.gm-who { display: flex; align-items: center; gap: 6px; min-width: 0; }
.gm-who .gm-avatar { width: 24px; height: 24px; flex: none; font-size: 10px; }
.gm-who strong { display: block; font-size: 13px; }
.gm-summary {
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 12px 14px;
  background: #e8f0fe;
  color: #174ea6;
  border-radius: 12px;
}
.gm-summary .material-symbols-outlined { flex: none; }
.gm-summary p { margin: 0; }
.gm-detail-block { margin-bottom: 20px; }
.gm-detail-block h3,
.gm-draft-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 500;
}
.gm-detail-block h3 .material-symbols-outlined,
.gm-draft-card h3 .material-symbols-outlined { color: var(--gm-blue-text); }
.gm-history-lede {
  margin: -4px 0 12px;
  color: var(--gm-text-2);
  font-size: 13px;
}
.gm-history-item {
  display: block;
  padding: 12px;
  margin-bottom: 8px;
  background: var(--gm-panel);
  border: 1px solid var(--gm-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.gm-history-item:hover { border-color: var(--gm-blue); }
.gm-history-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 6px;
}
.gm-history-when {
  margin-left: auto;
  font-size: 12px;
  color: var(--gm-text-2);
}
.gm-history-item b { display: block; margin-bottom: 2px; }
.gm-history-item p { margin: 6px 0 0; color: var(--gm-text-2); font-size: 13px; }
.gm-assign-inline { display: inline-flex; align-items: center; margin-top: 4px; margin-left: 4px; vertical-align: middle; }
.gm-detail .gm-assign-menu { left: 0; right: auto; z-index: 30; }
.gm-btn-assign {
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gm-blue);
  color: #fff;
}
.gm-btn-assign:hover { background: var(--gm-blue-hover); color: #fff; }
.gm-draft-card { position: sticky; top: 12px; }

.gm-app.is-nav-collapsed { grid-template-columns: 72px 1fr; }
.gm-app.is-nav-collapsed .gm-header { grid-template-columns: 72px 1fr auto; }
.gm-app.is-nav-collapsed .gm-wordmark,
.gm-app.is-nav-collapsed .lp-brand-pair-app .lp-prudle-name,
.gm-app.is-nav-collapsed .lp-brand-pair-app .lp-product-name,
.gm-app.is-nav-collapsed .lp-brand-pair-app .lp-prudle,
.gm-app.is-nav-collapsed .gm-nav span:not(.material-symbols-outlined),
.gm-app.is-nav-collapsed .gm-nav-label,
.gm-app.is-nav-collapsed .gm-compose span:last-child,
.gm-app.is-nav-collapsed .gm-powered-label,
.gm-app.is-nav-collapsed .gm-powered-brand span { display: none; }
.gm-app.is-nav-collapsed .gm-powered {
  align-items: center;
  padding: 12px 0 8px;
  border-top: 1px solid var(--gm-border);
}
.gm-app.is-nav-collapsed .lp-brand-pair-app .lp-product {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
.gm-app.is-nav-collapsed .gm-compose { width: 56px; height: 56px; padding: 0; justify-content: center; }
.gm-app.is-nav-collapsed .gm-nav a { padding-left: 0; justify-content: center; margin-right: 0; border-radius: 16px; }

.gm-loading[hidden], .gm-dialog[hidden] { display: none !important; }

.gm-loading, .gm-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 10000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s var(--gm-ease);
}
.gm-loading.is-open, .gm-dialog.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gm-loading {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(3px) saturate(1.1);
  -webkit-backdrop-filter: blur(3px) saturate(1.1);
}
.gm-dialog-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, .16), 0 0 0 1px rgba(26, 115, 232, .12);
  transform: translateY(8px) scale(.98);
  transition: transform .18s ease-out;
}
.gm-dialog.is-open .gm-dialog-card { transform: none; }
.gm-loading-mark {
  position: relative;
  width: 9rem;
  height: 9rem;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 0 14px rgba(234, 67, 53, .28));
}
.gm-loading-halo {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 67, 53, .28) 0%, rgba(26, 115, 232, .18) 55%, transparent 72%);
  animation: gm-halo 1s ease-in-out infinite;
}
.gm-loading-ripple {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 3px solid #ea4335;
  animation: gm-ripple 1.4s ease-out infinite;
}
.gm-loading-ripple-d { animation-delay: .7s; border-color: #1a73e8; }
.gm-loading-spin {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: conic-gradient(#c5221f, #ea4335, #f28b82, #1a73e8, #8ab4f8, #c5221f);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 0);
  animation: gm-spin .75s linear infinite;
}
.gm-loading-logo-wrap {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 0 0 4px #fff, 0 6px 20px rgba(15, 23, 42, .16);
  animation: gm-logo-zoom 1.15s ease-in-out infinite;
}
.gm-loading-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
@keyframes gm-ripple {
  0% { transform: scale(.42); opacity: 1; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes gm-spin { to { transform: rotate(360deg); } }
@keyframes gm-logo-zoom {
  0%, 100% { transform: scale(.88); }
  50% { transform: scale(1.1); }
}
@keyframes gm-halo {
  0%, 100% { transform: scale(.85); opacity: .5; }
  50% { transform: scale(1.18); opacity: 1; }
}

.gm-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(32, 33, 36, .4);
}
.gm-dialog-card {
  position: relative;
  width: min(calc(100% - 32px), 400px);
  padding: 24px 24px 16px;
}
.gm-dialog-card h2 { margin: 0 0 8px; font-size: 22px; font-weight: 400; }
.gm-dialog-card p { margin: 0; color: var(--gm-text-2); }
.gm-dialog-field { margin-top: 16px; }
.gm-dialog-field label { display: block; font-size: 12px; color: var(--gm-text-2); margin-bottom: 4px; }
.gm-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }

.gm-page-head { margin-bottom: 16px; }
.gm-page-head .gm-page-title { margin-bottom: 4px; }
.gm-inbox-banner { margin-bottom: 20px; }
.gm-inbox-banner p { margin: 0; }
.gm-inbox-ports { margin-bottom: 0; }
.gm-form-section {
  margin: 4px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gm-border);
}
.gm-form-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gm-text-2);
}
.gm-form-section h4 .material-symbols-outlined {
  color: var(--gm-blue-text);
  font-size: 18px;
}
.gm-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--gm-border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--gm-text-1);
  font-size: 13px;
}
.gm-check:hover { background: var(--gm-row-hover); }
.gm-check input {
  margin-top: 3px;
  accent-color: var(--gm-blue);
  flex: none;
}
.gm-check b { display: block; font-weight: 500; }
.gm-check small { display: block; margin-top: 2px; color: var(--gm-text-2); font-size: 12px; }
.gm-inbox-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--gm-panel);
  border: 1px solid var(--gm-border);
  border-radius: 12px;
}
.gm-inbox-card:hover { border-color: #d2e3fc; background: var(--gm-row-hover); }
.gm-inbox-card .gm-avatar { width: 40px; height: 40px; font-size: 14px; flex: none; }
.gm-inbox-main { flex: 1; min-width: 0; }
.gm-inbox-main b { display: block; font-size: 14px; font-weight: 500; }
.gm-inbox-mail { color: var(--gm-text-2); font-size: 13px; margin: 2px 0 8px; }
.gm-inbox-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gm-inbox-card .gm-msg { margin-top: 8px; }
.gm-inbox-card .gm-btn { flex: none; }
.gm-inbox-card.is-selected {
  border-color: var(--gm-blue);
  background: var(--gm-active-bg);
}
#dept-list .gm-inbox-card { cursor: pointer; }
.gm-inbox-card .gm-meta-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 20px;
}
.gm-inbox-desc {
  margin: 4px 0 8px;
  color: var(--gm-text-2);
  font-size: 13px;
  line-height: 1.4;
}
.gm-intake-bar {
  margin-bottom: 20px;
  border: 1px solid var(--gm-border);
  border-radius: 12px;
  background: var(--gm-panel);
  overflow: hidden;
}
.gm-intake-row {
  display: grid;
  grid-template-columns: 24px 108px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--gm-border);
}
.gm-intake-row:first-child { border-top: 0; }
.gm-intake-row .gm-meta-label { margin: 0; }
.gm-intake-value {
  min-width: 0;
  font-size: 13px;
}
.gm-intake-value a,
.gm-intake-value .gm-code {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gm-intake-hint {
  margin: 0;
  padding: 8px 14px 10px;
  border-top: 1px solid var(--gm-border);
  background: var(--gm-surface);
  color: var(--gm-text-2);
  font-size: 12px;
}
.gm-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.gm-copy-btn {
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}
.gm-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.gm-field .gm-field-head + textarea { margin-top: 0; }
.gm-btn-enhance {
  height: 28px;
  padding: 0 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--gm-blue);
  color: #fff;
}
.gm-btn-enhance:hover { background: var(--gm-blue-hover); color: #fff; }
.gm-btn-enhance:disabled { opacity: .65; cursor: default; }
.gm-check:has(input:checked) {
  border-color: #d2e3fc;
  background: var(--gm-row-hover);
}

@media (max-width: 800px) {
  .gm-app, .gm-header { grid-template-columns: 72px 1fr; }
  .gm-header { grid-template-columns: auto 1fr auto; }
  .gm-wordmark,
  .lp-brand-pair-app .lp-prudle-name,
  .lp-brand-pair-app .lp-product-name { display: none; }
  .lp-brand-pair-app .lp-prudle { display: none; }
  .lp-brand-pair-app .lp-product {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .gm-mail-row { grid-template-columns: 40px minmax(0, 1fr) 72px; }
  .gm-mail-row .from, .gm-mail-row .assigned { display: none; }
  .gm-user { display: none; }
  .gm-inbox-card { flex-wrap: wrap; }
  .gm-inbox-card .gm-btn { width: 100%; }
  .gm-intake-row {
    grid-template-columns: 24px minmax(0, 1fr) auto;
  }
  .gm-intake-row .gm-meta-label { display: none; }
  .gm-dash-row {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .gm-dash-row .gm-info-chip,
  .gm-dash-when { display: none; }
  .gm-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-dash-charts { grid-template-columns: 1fr; }
  .gm-stat .gm-meta-sub { display: block; }
  .gm-dash-table { display: block; overflow-x: auto; }
}

.lp-body {
  --lp-red: #ea4335;
  --lp-red-deep: #c5221f;
  --lp-red-soft: #fce8e6;
  --lp-blue: #1a73e8;
  --lp-blue-deep: #0b57d0;
  --lp-blue-soft: #e8f0fe;
  --lp-blue-mid: #d2e3fc;
  --lp-navy: #001d35;
  min-height: 100vh;
  background: #fff;
  color: var(--gm-text-1);
}
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
  padding: 0 28px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gm-border);
}
.lp-nav-links {
  display: flex;
  gap: 20px;
  margin-left: 8px;
  flex: 1;
}
.lp-nav-links a {
  color: var(--gm-text-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.lp-nav-links a:hover { color: var(--lp-blue-deep); }
.lp-nav-actions { display: flex; align-items: center; gap: 8px; }
.lp-nav-actions .gm-link { margin: 0; padding: 0 12px; }
.lp-brand-pair {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: none;
}
.lp-prudle,
.lp-product {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.lp-prudle:hover,
.lp-product:hover { text-decoration: none; opacity: .92; }
.lp-prudle-mark {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
  flex: none;
}
.lp-prudle-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--lp-navy, #001d35);
  line-height: 1.1;
}
.lp-prudle-accent { color: var(--gm-blue); font-weight: 700; }
.lp-product {
  margin-left: 4px;
  padding-left: 12px;
  border-left: 1px solid rgba(32, 33, 36, .14);
}
.lp-product-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
  flex: none;
}
.lp-product-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--gm-blue);
  line-height: 1.1;
}
.lp-brand-pair-foot .lp-prudle-mark { height: 28px; }
.lp-brand-pair-foot .lp-product-mark { width: 28px; height: 28px; }
.lp-brand-pair-foot .lp-prudle-name,
.lp-brand-pair-foot .lp-product-name { font-size: 15px; }
.lp-brand-pair-auth { justify-content: flex-start; margin: 0; }
.lp-brand-pair-app {
  gap: 4px;
  min-width: 0;
}
.lp-brand-pair-app .lp-prudle-mark { height: 28px; }
.lp-brand-pair-app .lp-product-mark { width: 28px; height: 28px; border-radius: 6px; }
.lp-brand-pair-app .lp-prudle-name { font-size: 15px; }
.lp-brand-pair-app .lp-product-name { font-size: 16px; }
.lp-brand-pair-app .lp-product {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
.lp-foot-product-line {
  margin: 10px 0 0 !important;
  font-size: 12px;
  color: var(--gm-text-3) !important;
}
.lp-wash {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 28px;
  background:
    radial-gradient(ellipse 42% 80% at 8% 20%, rgba(234, 67, 53, .22), transparent 62%),
    radial-gradient(ellipse 48% 90% at 92% 18%, rgba(26, 115, 232, .28), transparent 64%),
    radial-gradient(ellipse 36% 60% at 72% 100%, rgba(234, 67, 53, .12), transparent 70%),
    linear-gradient(180deg, #eef4ff 0%, #fff8f6 50%, #ffffff 100%);
}
.lp-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 18% 55%, rgba(234, 67, 53, .16), transparent 70%),
    radial-gradient(ellipse 55% 80% at 82% 40%, rgba(26, 115, 232, .2), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.lp-wash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .12) 32%, rgba(255, 255, 255, .55) 72%, #fff 100%),
    linear-gradient(115deg, rgba(255, 255, 255, .28) 0%, rgba(255, 255, 255, 0) 42%);
  backdrop-filter: blur(56px) saturate(1.85);
  -webkit-backdrop-filter: blur(56px) saturate(1.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
  pointer-events: none;
  z-index: 0;
}
.lp-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 48px 0 0;
  background: none;
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 1fr);
  gap: 28px 48px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.lp-hero-copy, .lp-hero-visual { position: relative; z-index: 1; }
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--lp-blue-soft);
  color: var(--lp-blue-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  box-shadow: inset 0 0 0 1px rgba(26, 115, 232, .12);
}
.lp-kicker .material-symbols-outlined { font-size: 18px; color: var(--lp-blue); }
.lp-kicker-red { background: var(--lp-red-soft); color: var(--lp-red-deep); box-shadow: inset 0 0 0 1px rgba(234, 67, 53, .12); }
.lp-kicker-red .material-symbols-outlined { color: var(--lp-red); }
.lp-kicker-on-dark { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.lp-kicker-on-dark .material-symbols-outlined { color: #c2e7ff; }
.lp-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.02;
  color: var(--lp-navy);
}
.lp-hero h1 span {
  color: var(--lp-red);
  background: linear-gradient(180deg, #ff6b5b 0%, var(--lp-red) 55%, var(--lp-red-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lp-lede-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--lp-red);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lp-lede {
  margin: 0 0 26px;
  max-width: 36em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gm-text-2);
}
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-btn-lg { height: 48px; padding: 0 22px; border-radius: 24px; font-size: 15px; }
.lp-built { margin: 18px 0 0; color: var(--gm-text-3); font-size: 13px; }
.lp-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.lp-proof li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gm-border);
  color: var(--gm-text-2);
  font-size: 12px;
  font-weight: 500;
}
.lp-proof .material-symbols-outlined { font-size: 16px; color: var(--lp-blue); }
.lp-proof li:nth-child(2) .material-symbols-outlined { color: var(--lp-red); }
.lp-hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.lp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: lp-orb 8s ease-in-out infinite;
}
.lp-orb-red {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle at 40% 40%, rgba(234, 67, 53, .38), rgba(234, 67, 53, 0) 68%);
  top: -8px;
  right: -12px;
}
.lp-orb-blue {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle at 50% 50%, rgba(26, 115, 232, .36), rgba(26, 115, 232, 0) 70%);
  bottom: -20px;
  left: -28px;
  animation-delay: -3s;
}
.lp-hero-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1.5px dashed rgba(26, 115, 232, .28);
  animation: lp-spin 28s linear infinite;
}
.lp-hero-window {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  background: #fff;
  border: 1px solid var(--gm-border);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(26, 115, 232, .14), var(--gm-shadow-1);
  overflow: hidden;
  animation: lp-float 5.5s var(--gm-ease) infinite;
}
.lp-hero-winbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  padding: 0 14px;
  background: linear-gradient(90deg, var(--lp-blue-soft), #fff 55%, var(--lp-red-soft));
  border-bottom: 1px solid var(--gm-border);
  font-size: 13px;
}
.lp-hero-winbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dadce0;
}
.lp-hero-winbar i:nth-child(1) { background: #ea4335; }
.lp-hero-winbar i:nth-child(2) { background: #fbbc04; }
.lp-hero-winbar i:nth-child(3) { background: #34a853; }
.lp-hero-winbar b { margin-left: 8px; color: var(--lp-navy); font-weight: 600; }
.lp-hero-winbar em {
  margin-left: auto;
  font-style: normal;
  color: var(--lp-blue-deep);
  background: #fff;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
}
.lp-hero-mail {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f1f3f4;
}
.lp-hero-mail.is-live { background: var(--lp-blue-soft); }
.lp-hero-mail strong { display: block; font-size: 13px; color: var(--lp-navy); }
.lp-hero-mail small { color: var(--gm-text-2); font-size: 11px; }
.lp-mail-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--lp-red-soft);
  color: var(--lp-red-deep);
}
.lp-mail-ico.is-blue { background: var(--lp-blue-soft); color: var(--lp-blue-deep); }
.lp-mail-ico .material-symbols-outlined { font-size: 20px; }
.lp-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
}
.lp-pill-red { background: var(--lp-red-soft); color: var(--lp-red-deep); }
.lp-pill-blue { background: #fff; color: var(--lp-blue-deep); box-shadow: inset 0 0 0 1px var(--lp-blue-mid); }
.lp-mark {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 28px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--gm-shadow-2);
  animation: lp-float 4.5s var(--gm-ease) infinite;
}
.lp-mark img { width: 64px; height: 64px; object-fit: contain; }
.lp-spark {
  position: absolute;
  top: 6px;
  right: 6px;
  color: var(--lp-blue);
  font-size: 18px !important;
  animation: lp-twinkle 2.4s ease-in-out infinite;
}
.lp-float {
  position: absolute;
  z-index: 3;
  min-width: 84px;
  padding: 8px 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--gm-shadow-1);
  font-size: 11px;
  font-weight: 600;
  animation: lp-float 5s var(--gm-ease) infinite;
}
.lp-float .material-symbols-outlined { font-size: 18px; }
.lp-float-a { top: 18px; left: 0; background: var(--lp-red-soft); color: var(--lp-red-deep); }
.lp-float-b { top: 8px; right: 0; background: var(--lp-blue-soft); color: var(--lp-blue-deep); animation-delay: .6s; }
.lp-float-c { bottom: 72px; left: -6px; background: #fff; color: var(--lp-blue-deep); border: 1px solid var(--lp-blue-mid); animation-delay: 1.1s; }
.lp-float-d { bottom: 8px; right: 96px; background: var(--lp-red-soft); color: var(--lp-red-deep); animation-delay: 1.7s; }
@keyframes lp-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes lp-twinkle {
  0%, 100% { transform: rotate(0) scale(1); opacity: 1; }
  50% { transform: rotate(18deg) scale(1.12); opacity: .85; }
}
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-orb {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(8px, -6px); }
}
.lp-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 0 28px;
}
.lp-stats article {
  padding: 24px 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gm-border);
  color: var(--lp-navy);
  text-align: center;
}
.lp-stats article:nth-child(even) { background: #fff; }
.lp-stats .material-symbols-outlined {
  display: block;
  margin: 0 auto 4px;
  font-size: 42px;
  color: var(--lp-blue);
}
.lp-stats article:nth-child(even) .material-symbols-outlined { color: var(--lp-red); }
.lp-stats b { display: block; margin: 8px 0 2px; font-size: 28px; letter-spacing: -.02em; }
.lp-stats small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gm-text-2); }
.lp-stats p { margin: 8px 0 0; font-size: 13px; color: var(--gm-text-2); line-height: 1.4; }
.lp-disclaimer {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 12px auto 0;
  padding: 0 28px;
  font-size: 12px;
  color: var(--gm-text-3);
}
.lp-section { max-width: 1120px; margin: 0 auto; padding: 64px 28px 24px; }
.lp-section h2, .lp-cta h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--lp-navy);
}
.lp-section-alt { background: var(--gm-surface); max-width: none; padding: 64px 0 40px; }
.lp-section-alt h2, .lp-section-alt .lp-kicker, .lp-section-alt .lp-steps {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}
.lp-section-alt h2, .lp-section-alt .lp-kicker { padding: 0 28px; }
.lp-cards { display: grid; gap: 16px; }
.lp-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 22px 20px;
  border: 1px solid var(--gm-border);
  border-radius: 16px;
  background: #fff;
}
.lp-card h3, .lp-steps h3, .lp-why h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--lp-navy);
}
.lp-card h3 { margin: 0; line-height: 1.25; }
.lp-card p, .lp-steps p, .lp-why p { margin: 0; color: var(--gm-text-2); font-size: 14px; line-height: 1.5; }
.lp-card p { grid-column: 1 / -1; margin-top: 12px; }
.lp-cards-tint .lp-card:nth-child(odd) {
  background: var(--lp-red-soft);
  border-color: transparent;
}
.lp-cards-tint .lp-card:nth-child(even) {
  background: var(--lp-blue-soft);
  border-color: transparent;
}
.lp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
}
.lp-icon .material-symbols-outlined { font-size: 24px; }
.lp-icon-blue { background: var(--lp-blue-soft); color: var(--lp-blue-deep); }
.lp-icon-red { background: var(--lp-red-soft); color: var(--lp-red-deep); }
.lp-band {
  max-width: 1120px;
  margin: 24px auto;
  padding: 28px 32px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--lp-navy), var(--lp-blue-deep));
  color: #fff;
}
.lp-band .material-symbols-outlined { font-size: 32px; color: #c2e7ff; flex: none; }
.lp-band p { margin: 0; font-size: 17px; line-height: 1.5; }
.lp-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.lp-steps li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 28px;
  column-gap: 10px;
  align-items: center;
  text-align: left;
  padding: 22px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--gm-border);
}
.lp-steps .lp-icon { grid-column: 1; grid-row: 1; }
.lp-steps h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  line-height: 1.25;
  text-align: center;
}
.lp-steps p { grid-column: 1 / -1; grid-row: 2; margin: 12px 0 0; text-align: left; }
.lp-step-num {
  grid-column: 3;
  grid-row: 1;
  position: static;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--lp-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.lp-steps li:nth-child(even) .lp-step-num { background: var(--lp-red); }
.lp-why {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-why li {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--gm-border);
  background: #fff;
}
.lp-why .lp-icon { flex: none; }
.lp-cta {
  max-width: 1120px;
  margin: 40px auto 24px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 24px;
  background: linear-gradient(120deg, var(--lp-red) 0%, var(--lp-red-deep) 28%, var(--lp-blue-deep) 100%);
  color: #fff;
}
.lp-cta h2 { margin: 8px 0 8px; color: #fff; }
.lp-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.lp-cta .gm-btn-primary { background: #fff; color: var(--lp-blue-deep); }
.lp-cta .gm-btn-primary:hover { background: var(--lp-blue-soft); }
.lp-foot {
  background: var(--gm-surface);
  border-top: 1px solid var(--gm-border);
  color: var(--gm-text-2);
  font-size: 13px;
  margin-top: 8px;
}
.lp-foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 28px 28px;
}
.lp-foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)) 1.2fr;
  gap: 28px 20px;
}
.lp-foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}
.lp-foot-brand:hover { text-decoration: none; }
.lp-foot-about p { margin: 0; line-height: 1.55; color: var(--gm-text-2); }
.lp-foot h4 {
  margin: 0 0 12px;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lp-foot ul { list-style: none; margin: 0; padding: 0; }
.lp-foot li { padding: 6px 0; }
.lp-foot li a { color: var(--gm-text-2); text-decoration: none; line-height: 1.35; }
.lp-foot li a:hover { color: var(--lp-blue-deep); }
.lp-foot-contact p { margin: 0 0 12px; line-height: 1.55; color: var(--gm-text-2); }
.lp-foot-contact b { display: block; color: var(--lp-navy); font-weight: 600; }
.lp-foot-contact a { color: var(--lp-blue-text); }
.lp-foot-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--gm-border);
}
.lp-foot-social { display: flex; gap: 8px; }
.lp-foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gm-text-2);
  background: #fff;
  border: 1px solid var(--gm-border);
}
.lp-foot-social a:hover {
  color: var(--lp-blue-deep);
  background: var(--lp-blue-soft);
  border-color: transparent;
  text-decoration: none;
}
.lp-foot-copy { margin: 0; color: var(--gm-text-3); font-size: 13px; }

@media (max-width: 960px) {
  .lp-hero-inner { grid-template-columns: 1fr; }
  .lp-stats, .lp-cards-3, .lp-cards-4, .lp-steps, .lp-why { grid-template-columns: 1fr 1fr; }
  .lp-nav-links { display: none; }
  .lp-cta { flex-direction: column; align-items: flex-start; }
  .lp-hero-visual { min-height: 400px; }
  .lp-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-hero-inner, .lp-stats, .lp-cards-3, .lp-cards-4, .lp-steps, .lp-why { grid-template-columns: 1fr; }
  .lp-hero { padding-top: 28px; }
  .lp-hero-inner { padding: 0 16px; }
  .lp-hero-visual { min-height: 360px; }
  .lp-hero-visual { min-height: 360px; }
  .lp-float-c { left: 8px; }
  .lp-mark { right: 12px; bottom: 16px; }
  .lp-nav { padding: 0 16px; }
  .lp-prudle-name { display: none; }
  .lp-product { padding-left: 8px; margin-left: 2px; }
  .lp-band, .lp-cta { margin-left: 16px; margin-right: 16px; }
  .lp-foot-grid { grid-template-columns: 1fr; }
  .lp-foot-bar { flex-direction: column; align-items: flex-start; }
}

/* Knowledge base */
.kb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 16px;
  border-bottom: 1px solid var(--gm-border);
}
.kb-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--gm-text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.kb-tab:hover { color: var(--gm-text-1); background: var(--gm-row-hover); }
.kb-tab.is-active { color: var(--gm-blue-text); border-bottom-color: var(--gm-blue); }
.kb-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: #fce8e6;
  color: #c5221f;
  font-size: 11px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.kb-count[hidden] { display: none; }
.kb-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}
.kb-toolbar .gm-field { margin: 0; min-width: 180px; flex: 1; }
.kb-toolbar .gm-field.is-narrow { flex: 0 1 220px; }
.kb-panel[hidden] { display: none !important; }
.kb-doc { cursor: pointer; }
.kb-doc.is-selected { border-color: var(--gm-blue); box-shadow: 0 0 0 1px var(--gm-blue); }
.kb-segment {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  margin-bottom: 12px;
  border-radius: 18px;
  background: var(--gm-hover);
}
.kb-segment button {
  height: 30px;
  padding: 0 14px;
  border: 0;
  border-radius: 15px;
  background: none;
  color: var(--gm-text-2);
  font-weight: 500;
  cursor: pointer;
}
.kb-segment button.is-active { background: #fff; color: var(--gm-text-1); box-shadow: var(--gm-shadow-1); }
.kb-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.kb-row-2 .gm-field { margin-bottom: 12px; }
.kb-drop {
  display: block;
  padding: 18px 12px;
  border: 1px dashed #bdc1c6;
  border-radius: 8px;
  background: var(--gm-surface);
  text-align: center;
  color: var(--gm-text-2);
  cursor: pointer;
}
.kb-drop:hover, .kb-drop.is-over { border-color: var(--gm-blue); background: #eef4ff; }
.kb-drop input { display: none; }
.kb-drop b { display: block; margin-top: 4px; color: var(--gm-text-1); word-break: break-all; }
.kb-status-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--gm-surface);
  font-size: 13px;
  color: var(--gm-text-2);
}
.kb-status-line.is-warn { background: #fef7e0; color: #7a4f01; }
.kb-status-line.is-bad { background: #fce8e6; color: #a50e0e; }
.kb-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 12px;
}
.kb-stats div {
  padding: 8px;
  border-radius: 8px;
  background: var(--gm-surface);
  text-align: center;
}
.kb-stats b { display: block; font-size: 18px; font-weight: 500; }
.kb-stats span { font-size: 11px; color: var(--gm-text-2); text-transform: uppercase; letter-spacing: .03em; }
.kb-passages { max-height: 420px; overflow: auto; margin-top: 8px; }
.kb-passage {
  padding: 10px 12px;
  margin-bottom: 8px;
  border: 1px solid var(--gm-border);
  border-radius: 8px;
  font-size: 13px;
  white-space: pre-wrap;
}
.kb-passage small { display: block; margin-bottom: 4px; color: var(--gm-text-2); white-space: normal; }
.kb-passage.is-quarantined { border-color: #f5c6c2; background: #fff7f6; }
.kb-gap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  margin-bottom: 8px;
  border: 1px solid var(--gm-border);
  border-radius: 8px;
  background: #fff;
}
.kb-gap p { margin: 4px 0 6px; white-space: pre-wrap; }
.kb-gap .gm-actions { margin: 0; justify-content: flex-end; }
.kb-toggle { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
.kb-toggle input { width: 18px; height: 18px; }

/* Grounded draft review */
.kb-grounding {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.kb-grounding.is-full { background: #e6f4ea; color: #0d652d; }
.kb-grounding.is-partial { background: #fef7e0; color: #7a4f01; }
.kb-grounding.is-none { background: #fce8e6; color: #a50e0e; }
.kb-flags { margin: 0 0 10px; padding: 0; list-style: none; }
.kb-flags li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--gm-surface);
  color: var(--gm-text-2);
}
.kb-flags li.is-high { background: #fce8e6; color: #a50e0e; }
.kb-flags li.is-medium { background: #fef7e0; color: #7a4f01; }
.kb-flags .material-symbols-outlined { font-size: 18px; flex: none; }
.kb-flags code { font-size: 11px; word-break: break-all; }
.kb-notes { margin: 0 0 10px; font-size: 12px; color: var(--gm-text-2); }
.kb-sources { margin-top: 14px; }
.kb-sources h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 500;
}
.kb-source {
  margin-bottom: 8px;
  border: 1px solid var(--gm-border);
  border-radius: 8px;
  background: #fff;
}
.kb-source summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
}
.kb-source summary::-webkit-details-marker { display: none; }
.kb-source summary b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.kb-ref {
  flex: none;
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--gm-search);
  color: var(--gm-blue-text);
  font-size: 11px;
  font-weight: 700;
}
.kb-source.is-cited .kb-ref { background: var(--gm-blue); color: #fff; }
.kb-source-body { padding: 0 10px 10px; font-size: 12px; color: var(--gm-text-2); }
.kb-source-body p { margin: 0 0 8px; white-space: pre-wrap; color: var(--gm-text-1); }
.kb-source-flag { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kb-source-flag select { height: 30px; border: 1px solid #dadce0; border-radius: 4px; background: #fff; font-size: 12px; }
.kb-source-flag .gm-btn { height: 30px; padding: 0 12px; font-size: 12px; }
@media (max-width: 720px) {
  .kb-row-2, .kb-stats { grid-template-columns: 1fr; }
  .kb-gap { grid-template-columns: 1fr; }
}
