/* Existing geometry and interaction layout. All theme paint is defined in the light theme. */

/* Layout from global-shell.css */
:root {
  --gs-sidebar-width: 252px;
  --gs-topbar-height: 62px;
}

body.gs-shell-enabled {
  display: block !important;
  min-width: 1120px;
  min-height: 100vh;
  margin: 0;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}

.gs-page {
  min-height: 100vh;
  margin-left: var(--gs-sidebar-width);
}

.gs-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 3000;
  box-sizing: border-box;
  width: var(--gs-sidebar-width);
  padding: 18px 16px;
  overflow-y: auto;
  border-right: 1px solid var(--gs-border);
}

.gs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 8px 20px;
}

.gs-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.gs-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.gs-brand span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.gs-nav {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.gs-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 13px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: 140ms ease;
}

.gs-nav-link:hover {
  border-color: var(--gs-border);
}

.gs-nav-link.is-active {
  border-color: var(--gs-border);
}

.gs-nav-icon {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  border-radius: 8px;
}

.gs-nav-link.is-active .gs-nav-icon {
}

.gs-sidebar-foot {
  position: absolute;
  right: 16px;
  bottom: 18px;
  left: 16px;
  padding: 13px;
  font-size: 12px;
  line-height: 1.65;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
}

.gs-topbar {
  position: sticky;
  top: 0;
  z-index: 2900;
  box-sizing: border-box;
  width: calc(100% - var(--gs-sidebar-width));
  height: var(--gs-topbar-height);
  margin-left: var(--gs-sidebar-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid var(--gs-border);
}

.gs-topbar-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.gs-topbar-title strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.gs-topbar-title span,
.gs-account span {
  font-size: 12px;
}

.gs-account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gs-account-name {
  font-weight: 700;
}

.gs-logout {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--gs-border);
  border-radius: 8px;
  cursor: pointer;
}

.gs-logout:hover {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .user-tools {
  display: none !important;
}

body.gs-shell-enabled .app-header,
body.gs-shell-enabled .trend-header,
body.gs-shell-enabled .main {
  box-sizing: border-box;
  max-width: none;
}

body.gs-shell-enabled .app-header,
body.gs-shell-enabled .trend-header {
  margin: 0;
  padding: 24px 28px 18px;
  border-bottom: 1px solid var(--gs-border);
}

body.gs-shell-enabled .app-header h1,
body.gs-shell-enabled .trend-header h1,
body.gs-shell-enabled .topbar h1,
body.gs-shell-enabled .topbar h2 {
}

body.gs-shell-enabled .app-shell,
body.gs-shell-enabled .trend-shell,
body.gs-shell-enabled .main {
  width: auto;
  margin: 0;
  padding: 22px 26px 34px;
}

body.gs-shell-enabled .period-bar,
body.gs-shell-enabled .table-section,
body.gs-shell-enabled .trend-topbar,
body.gs-shell-enabled .chart-card,
body.gs-shell-enabled .calendar-controls,
body.gs-shell-enabled .summary-card,
body.gs-shell-enabled .task-card,
body.gs-shell-enabled .admin-panel,
body.gs-shell-enabled .related-products-card,
body.gs-shell-enabled .table-card,
body.gs-shell-enabled .pagination-card,
body.gs-shell-enabled .topbar {
  border-color: var(--gs-border);
}

body.gs-shell-enabled input,
body.gs-shell-enabled select,
body.gs-shell-enabled textarea {
  border-color: var(--gs-border);
}

body.gs-shell-enabled option {
}

body.gs-shell-enabled button,
body.gs-shell-enabled .primary-btn {
  border-radius: 8px;
}

body.gs-shell-enabled .primary-btn,
body.gs-shell-enabled .refresh-btn {
  border-color: var(--gs-border);
}

body.gs-shell-enabled table {
}

body.gs-shell-enabled th {
  border-color: var(--gs-border);
}

body.gs-shell-enabled td {
  border-color: var(--gs-border);
}

body.gs-shell-enabled tr:hover td {
}

body.gs-shell-enabled .scope-note,
body.gs-shell-enabled .period-status,
body.gs-shell-enabled .trend-title-block p,
body.gs-shell-enabled .section-head p {
}

body.gs-shell-enabled .security-notice {
  border-color: var(--gs-border);
}

.product-filter-panel {
  position: static !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 0 16px;
  padding: 16px !important;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--gs-border) !important;
  border-radius: 13px;
}

.product-filter-panel > * {
  margin: 0 !important;
}

.product-filter-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.product-filter-head strong {
  font-size: 15px;
}

.product-filter-head span {
  font-size: 12px;
}

.product-filter-expand,
.product-filter-advanced-toggle {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--gs-border);
  cursor: pointer;
}

.product-filter-panel .brand {
  grid-column: span 3;
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

.product-filter-panel .refresh-btn {
  grid-column: span 2;
  min-height: 42px;
}

.product-filter-panel .refresh-hint {
  grid-column: 1 / -1;
}

.product-filter-panel .field {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
}

.product-filter-panel .product-filter-range { grid-column: span 6; }
.product-filter-panel .product-filter-primary:not(.product-filter-range) { grid-column: span 3; }
.product-filter-panel .product-filter-secondary { grid-column: span 3; }

.product-filter-panel .range-toggles {
  display: flex;
  flex-wrap: wrap;
}

.product-filter-panel .toggle,
.product-filter-panel .preset {
  width: auto !important;
  flex: 1 1 auto;
}

.product-filter-panel #customFilterBtn,
.product-filter-panel #columnManagerBtn,
.product-filter-panel .actions,
.product-filter-panel .sidebar-actions {
  grid-column: span 3;
}

.product-filter-panel .product-filter-advanced[hidden] {
  display: none !important;
}

.keyword-link-grid {
  display: grid;
  gap: 9px;
}

.keyword-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  text-decoration: none;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

.keyword-link-card:hover {
  border-color: var(--gs-border);
}

.keyword-link-card span:last-child {
  font-size: 12px;
}

.keyword-more-note {
  margin-top: 10px;
  font-size: 12px;
}

.related-products-card {
  margin: 16px 0 20px;
  padding: 18px;
  border: 1px solid var(--gs-border);
  border-radius: 12px;
}

.related-products-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.related-products-head h3 {
  margin: 0 0 5px;
}

.related-products-head p,
.related-products-status {
  margin: 0;
  font-size: 12px;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.related-product-item {
  display: grid;
  gap: 6px;
  padding: 13px;
  text-decoration: none;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
}

.related-product-item:hover {
  border-color: var(--gs-border);
}

.related-product-item strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-product-item span {
  font-size: 12px;
}


body.gs-shell-enabled .table-shell,
body.gs-shell-enabled .table-toolbar,
body.gs-shell-enabled .table-wrap,
body.gs-shell-enabled .section-head,
body.gs-shell-enabled .table-pager,
body.gs-shell-enabled .calendar-info,
body.gs-shell-enabled .calendar-table-section,
body.gs-shell-enabled .calendar-table-wrap,
body.gs-shell-enabled .keyword-calendar-wrap,
body.gs-shell-enabled .category-detail-panel {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .table-shell {
}

body.gs-shell-enabled .product-cell,
body.gs-shell-enabled tbody tr:hover .product-cell,
body.gs-shell-enabled .category-calendar-table > tbody > tr.category-row > td:first-child,
body.gs-shell-enabled .category-calendar-table > tbody > tr.category-row > td:nth-child(2),
body.gs-shell-enabled .keyword-calendar-table td:first-child {
}

body.gs-shell-enabled .category-calendar-table > thead > tr > th:first-child,
body.gs-shell-enabled .category-calendar-table > thead > tr > th:nth-child(2),
body.gs-shell-enabled .keyword-calendar-table th:first-child {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .table-toolbar,
body.gs-shell-enabled .calendar-info {
  border-bottom: 1px solid var(--gs-border) !important;
}

body.gs-shell-enabled .chip-context,
body.gs-shell-enabled .chip,
body.gs-shell-enabled .icon-btn,
body.gs-shell-enabled .page-size-select,
body.gs-shell-enabled .calendar-pattern {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .page-range,
body.gs-shell-enabled .pager,
body.gs-shell-enabled .calendar-info,
body.gs-shell-enabled .calendar-controls label,
body.gs-shell-enabled .section-head h2,
body.gs-shell-enabled .category-detail-title,
body.gs-shell-enabled .category-calendar-table .calendar-volume-value {
}

body.gs-shell-enabled .section-head p,
body.gs-shell-enabled .table-pager {
}

body.gs-shell-enabled .trend-title-block h2,
body.gs-shell-enabled .chart-card-head h2,
body.gs-shell-enabled .related-products-head h3 {
}

body.gs-shell-enabled .chart-card-head {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .category-detail-row > td {
}

body.gs-shell-enabled .category-detail-panel {
  border-top-color: var(--gs-border) !important;
  border-bottom-color: var(--gs-border) !important;
}

body.gs-shell-enabled .heat-legend,
body.gs-shell-enabled .category-detail-loading {
}

body.gs-shell-enabled .selected-month-header {
}

body.gs-shell-enabled .selected-month-cell {
}

@media (max-width: 1380px) {
  .product-filter-panel .product-filter-range { grid-column: span 12; }
  .product-filter-panel .product-filter-primary:not(.product-filter-range),
  .product-filter-panel .product-filter-secondary { grid-column: span 6; }
}


body.gs-shell-enabled .admin-card,
body.gs-shell-enabled .workflow-task-card {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-toolbar h2,
body.gs-shell-enabled .workflow-task-head h3,
body.gs-shell-enabled .workflow-description,
body.gs-shell-enabled .workflow-fact-value,
body.gs-shell-enabled .workflow-timeline h4 {
}

body.gs-shell-enabled .workflow-toolbar p,
body.gs-shell-enabled .workflow-task-meta,
body.gs-shell-enabled .workflow-fact-label,
body.gs-shell-enabled .workflow-locked,
body.gs-shell-enabled .workflow-empty {
}

body.gs-shell-enabled .workflow-task-version {
  border-top-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-fact,
body.gs-shell-enabled .workflow-timeline,
body.gs-shell-enabled .workflow-state-panel {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-state-error {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-actions input,
body.gs-shell-enabled .workflow-actions select,
body.gs-shell-enabled .workflow-dispatch-form input,
body.gs-shell-enabled .workflow-dispatch-form select,
body.gs-shell-enabled .workflow-dispatch-form textarea {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-spinner {
  border-color: var(--gs-border) !important;
  border-top-color: var(--gs-border) !important;
}

/* Layout from system-v13.css */
:root {
  --gs-sidebar-width: 286px;
  --gs-topbar-height: 72px;
  --gs-radius-xs: 8px;
  --gs-radius-sm: 12px;
  --gs-radius: 16px;
  --gs-radius-lg: 22px;
}

* {
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
}

*::-webkit-scrollbar-thumb {
  border: 2px solid var(--gs-border);
  border-radius: 999px;
}

body.gs-shell-enabled {
  min-width: 1180px;
  font-family: Inter, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

body.gs-shell-enabled::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 78%);
}

body.gs-shell-enabled [hidden] {
  display: none !important;
}


body.auth-page {
  min-width: 0;
}

body.auth-page .auth-shell {
  position: relative;
  min-height: 100vh;
  padding: 36px 20px;
}

body.auth-page .auth-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

body.auth-page .auth-card {
  position: relative;
  width: min(470px, 100%);
  overflow: hidden;
  border: 1px solid var(--gs-border);
  border-radius: 22px;
}

body.auth-page .auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 28px 0;
}

body.auth-page .auth-brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--gs-border);
  border-radius: 14px;
}

body.auth-page .auth-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.auth-page .auth-brand strong,
body.auth-page .auth-brand span {
  display: block;
}

body.auth-page .auth-brand strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

body.auth-page .auth-brand div > span {
  margin-top: 3px;
  font-size: 12px;
}

body.auth-page .auth-heading {
  padding: 27px 28px 23px;
  border-bottom-color: var(--gs-border);
}

body.auth-page .auth-heading h1 {
  margin: 13px 0 8px;
  font-size: clamp(30px, 6vw, 38px);
  letter-spacing: -0.04em;
}

body.auth-page .auth-heading p {
  font-size: 13px;
}

body.auth-page .security-tag {
  border-color: var(--gs-border);
}

body.auth-page .auth-form {
  gap: 17px;
  padding: 24px 28px 20px;
}

body.auth-page .auth-form label {
  font-size: 13px;
}

body.auth-page .auth-form input {
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--gs-border);
  border-radius: 11px;
  outline: none;
}

body.auth-page .auth-form input:focus {
  border-color: var(--gs-border);
}

body.auth-page .auth-submit {
  height: 47px;
  border: 0;
  border-radius: 11px;
}

body.auth-page .auth-trust-note {
  margin: 0;
  padding: 0 28px 24px;
  font-size: 11px;
  text-align: center;
}

.gs-page {
  min-height: calc(100vh - var(--gs-topbar-height));
  margin-left: var(--gs-sidebar-width);
}

.gs-sidebar {
  width: var(--gs-sidebar-width);
  padding: 20px 18px 22px;
  overflow: hidden;
  border-right: 1px solid var(--gs-border);
}

.gs-brand {
  min-height: 68px;
  padding: 0 4px 14px;
  gap: 14px;
}

.gs-brand-mark {
  display: grid;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--gs-border);
  border-radius: 16px;
}

.gs-brand img {
  width: 48px;
  height: 48px;
}

.gs-brand strong {
  font-size: 22px;
  font-weight: 760;
  letter-spacing: 0.04em;
}

.gs-brand span:not(.gs-brand-mark) {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.gs-sidebar-divider {
  height: 1px;
  margin: 2px 2px 20px;
}

.gs-nav-heading {
  display: block;
  margin: 0 12px 10px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.gs-nav-heading-management {
  margin-top: 26px;
}

.gs-nav {
  gap: 8px;
  margin: 0;
}

.gs-nav-link {
  min-height: 52px;
  padding: 0 13px;
  gap: 13px;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 650;
}

.gs-nav-link:hover {
  border-color: var(--gs-border);
  transform: translateX(2px);
}

.gs-nav-link.is-active {
  border-color: var(--gs-border);
}

.gs-nav-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
  font-size: 12px;
}

.gs-nav-link.is-active .gs-nav-icon {
}

.gs-sidebar-bottom {
  position: absolute;
  right: 18px;
  bottom: 20px;
  left: 18px;
  display: grid;
  gap: 10px;
}

.gs-account-card {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 62px;
  padding: 10px 12px;
  border: 1px solid var(--gs-border);
  border-radius: 13px;
}

.gs-account-avatar {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  font-size: 16px;
  font-weight: 800;
}

.gs-account-card div {
  min-width: 0;
}

.gs-account-card strong,
.gs-account-card span:not(.gs-account-avatar) {
  display: block;
}

.gs-account-card strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-account-card span:not(.gs-account-avatar) {
  margin-top: 3px;
  font-size: 11px;
}

.gs-logout {
  min-height: 42px;
  border-color: var(--gs-border);
  border-radius: 11px;
  font-weight: 650;
}

.gs-data-note {
  margin: 0;
  padding: 1px 4px 0;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.gs-topbar {
  width: calc(100% - var(--gs-sidebar-width));
  height: var(--gs-topbar-height);
  margin-left: var(--gs-sidebar-width);
  padding: 0 32px;
  border-bottom: 1px solid var(--gs-border);
}

.gs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.gs-breadcrumb span,
.gs-breadcrumb b {
  font-weight: 500;
}

.gs-breadcrumb strong {
  font-weight: 720;
}

.gs-topbar-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.gs-topbar-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

body.gs-shell-enabled .app-header,
body.gs-shell-enabled .trend-header,
body.gs-shell-enabled .main {
}

body.gs-shell-enabled .app-header,
body.gs-shell-enabled .trend-header {
  margin: 0;
  border: 0;
}

body.gs-shell-enabled .app-shell,
body.gs-shell-enabled .trend-shell,
body.gs-shell-enabled .main,
body.gs-shell-enabled .admin-shell {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 28px 34px 44px;
}

body.gs-shell-enabled .page-hero {
  position: relative;
  display: block;
  min-height: 0;
  padding: 32px 34px 24px;
  overflow: hidden;
  border: 0;
}

body.gs-shell-enabled .page-hero::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 4%;
  width: 360px;
  height: 160px;
  pointer-events: none;
}

.page-eyebrow,
.module-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.page-eyebrow::before,
.module-kicker::before {
  content: "";
  width: 17px;
  height: 2px;
  border-radius: 99px;
}

body.gs-shell-enabled .page-hero h1,
body.gs-shell-enabled .page-hero h2 {
  margin: 8px 0 0;
  font-size: clamp(34px, 2.2vw, 44px);
  font-weight: 790;
  line-height: 1.16;
  letter-spacing: -0.04em;
}

body.gs-shell-enabled .page-hero h1::before,
body.gs-shell-enabled .page-hero h2::before {
  display: none;
}

.page-hero-copy {
  min-width: 0;
}

.page-lead,
body.gs-shell-enabled .page-hero .scope-note,
body.gs-shell-enabled .product-page-hero p {
  margin: 9px 0 0;
  font-size: 14px;
  line-height: 1.7;
}

body.gs-shell-enabled .page-hero .scope-note {
  margin-top: 8px;
  font-size: 12px;
}

body.gs-shell-enabled .title-row {
  align-items: flex-start;
  gap: 14px;
  margin-top: 0;
}

body.gs-shell-enabled .title-row .security-tag {
  margin-top: 14px;
  border-color: var(--gs-border);
  border-radius: 999px;
}

body.gs-shell-enabled .security-notice {
  width: min(100%, 1040px);
  margin-top: 16px;
  padding: 10px 13px;
  border: 1px solid var(--gs-border);
  border-left: 3px solid var(--gs-border);
  border-radius: 10px;
}

body.gs-shell-enabled .security-notice p {
}

body.gs-shell-enabled .notice-label {
}

body.gs-shell-enabled .workspace-module,
body.gs-shell-enabled .period-bar,
body.gs-shell-enabled .table-section,
body.gs-shell-enabled .trend-topbar,
body.gs-shell-enabled .chart-card,
body.gs-shell-enabled .calendar-controls,
body.gs-shell-enabled .calendar-info,
body.gs-shell-enabled .related-products-card,
body.gs-shell-enabled .table-shell,
body.gs-shell-enabled .topbar {
  border: 1px solid var(--gs-line-soft);
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .workspace-module,
body.gs-shell-enabled .table-section,
body.gs-shell-enabled .table-shell,
body.gs-shell-enabled .chart-card,
body.gs-shell-enabled .related-products-card {
  overflow: hidden;
}

body.gs-shell-enabled input,
body.gs-shell-enabled select,
body.gs-shell-enabled textarea {
  border: 1px solid var(--gs-border);
  border-radius: 10px;
  outline: none;
}

body.gs-shell-enabled input::placeholder,
body.gs-shell-enabled textarea::placeholder {
}

body.gs-shell-enabled input:focus,
body.gs-shell-enabled select:focus,
body.gs-shell-enabled textarea:focus {
  border-color: var(--gs-border);
}

body.gs-shell-enabled option {
}

body.gs-shell-enabled button,
body.gs-shell-enabled .primary-btn,
body.gs-shell-enabled .secondary-btn,
body.gs-shell-enabled .back-link {
  border-radius: 10px;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

body.gs-shell-enabled button:not(:disabled):hover,
body.gs-shell-enabled .back-link:hover {
  transform: translateY(-1px);
}

body.gs-shell-enabled .primary-btn,
body.gs-shell-enabled .primary,
body.gs-shell-enabled .refresh-btn {
  border-color: var(--gs-border);
  font-weight: 760;
}

body.gs-shell-enabled .secondary-btn,
body.gs-shell-enabled .secondary,
body.gs-shell-enabled .back-link,
body.gs-shell-enabled .light-btn {
  border: 1px solid var(--gs-border);
}

body.gs-shell-enabled .secondary-btn:hover,
body.gs-shell-enabled .secondary:hover,
body.gs-shell-enabled .back-link:hover,
body.gs-shell-enabled .light-btn:hover {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .section-head,
body.gs-shell-enabled .chart-card-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .section-head h2,
body.gs-shell-enabled .chart-card-head h2,
body.gs-shell-enabled .related-products-head h3 {
  font-size: 17px;
}

body.gs-shell-enabled .section-head p,
body.gs-shell-enabled .chart-card-head p,
body.gs-shell-enabled .related-products-head p {
}

body.gs-shell-enabled table {
}

body.gs-shell-enabled tbody tr {
}

body.gs-shell-enabled tbody tr:nth-child(even) {
}

body.gs-shell-enabled tbody tr:hover {
}

body.gs-shell-enabled th {
  border-color: var(--gs-border);
  font-weight: 720;
}

body.gs-shell-enabled td {
  border-color: var(--gs-border);
}

body.gs-shell-enabled tbody tr:nth-child(even) td {
}

body.gs-shell-enabled tbody tr:hover td {
}

body.gs-shell-enabled .sub,
body.gs-shell-enabled .muted,
body.gs-shell-enabled .period-status,
body.gs-shell-enabled .trend-status,
body.gs-shell-enabled .table-pager,
body.gs-shell-enabled .view-mode-hint,
body.gs-shell-enabled .scroll-tip,
body.gs-shell-enabled .form-message,
body.gs-shell-enabled .empty-cell {
}


body.gs-shell-enabled .main {
  display: grid;
  gap: 18px;
}

body.gs-shell-enabled .product-page-hero {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(560px, 0.95fr);
  align-items: end;
  gap: 28px;
  margin: 0;
  padding: 24px 26px;
}

body.gs-shell-enabled .product-page-hero h1 {
  font-size: 36px;
}

body.gs-shell-enabled .summary-grid {
  gap: 10px;
}

body.gs-shell-enabled .metric {
  min-height: 76px;
  padding: 13px 14px;
  display: grid;
  align-content: center;
  justify-content: stretch;
  gap: 5px;
  border: 1px solid var(--gs-line-soft);
  border-radius: 13px;
}

body.gs-shell-enabled .metric span {
  font-size: 11px;
}

body.gs-shell-enabled .metric strong {
  font-size: 18px;
}

body.gs-shell-enabled .product-filter-panel {
  margin: 0;
  padding: 18px !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--gs-line-soft) !important;
  border-radius: var(--gs-radius) !important;
}

.product-filter-head {
  padding: 0 2px 3px;
}

.product-filter-head strong {
  font-size: 16px;
}

.product-filter-head span {
  margin-left: 7px;
}

body.gs-shell-enabled .product-filter-expand,
body.gs-shell-enabled .product-filter-advanced-toggle {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .product-filter-panel .brand,
body.gs-shell-enabled .product-filter-panel .field {
  padding: 13px 14px;
  border: 1px solid var(--gs-line-soft);
  border-radius: 12px;
}

body.gs-shell-enabled .product-filter-panel .brand {
  min-height: 48px;
}

body.gs-shell-enabled .product-filter-panel .field > span,
body.gs-shell-enabled .product-filter-panel .field > label,
body.gs-shell-enabled .daily-toggle {
}

body.gs-shell-enabled .product-filter-panel .refresh-btn {
  min-height: 48px;
  margin: 0;
}

body.gs-shell-enabled .toggle,
body.gs-shell-enabled .preset,
body.gs-shell-enabled .custom-filter-trigger {
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

body.gs-shell-enabled .toggle:hover,
body.gs-shell-enabled .preset:hover,
body.gs-shell-enabled .custom-filter-trigger:hover {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .toggle.active,
body.gs-shell-enabled .preset.active {
  border-color: var(--gs-border);
  font-weight: 760;
}

body.gs-shell-enabled .range-summary,
body.gs-shell-enabled .refresh-hint {
}

body.gs-shell-enabled .table-shell {
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .table-toolbar {
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--gs-line-soft) !important;
}

body.gs-shell-enabled .table-wrap {
  max-height: calc(100vh - 455px);
  min-height: 360px;
}

body.gs-shell-enabled .chip,
body.gs-shell-enabled .chip-context,
body.gs-shell-enabled .icon-btn,
body.gs-shell-enabled .page-size-select {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .page-range,
body.gs-shell-enabled .pager {
}

body.gs-shell-enabled .product-cell,
body.gs-shell-enabled tbody tr:hover .product-cell {
}

body.gs-shell-enabled .product-title {
}

body.gs-shell-enabled .product-meta-line,
body.gs-shell-enabled .product-id,
body.gs-shell-enabled .product-meta {
}

body.gs-shell-enabled .product-image {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .src-dot {
}

body.gs-shell-enabled .src-dot.on {
}

body.gs-shell-enabled .dynamic-head.grp-base { }
body.gs-shell-enabled .dynamic-head.grp-money { }
body.gs-shell-enabled .dynamic-head.grp-traffic { }
body.gs-shell-enabled .dynamic-head.grp-peak { }
body.gs-shell-enabled .dynamic-head.grp-channel { }
body.gs-shell-enabled .dynamic-head.grp-roi { }
body.gs-shell-enabled .dynamic-head.grp-insight { }
body.gs-shell-enabled .dynamic-head[class*="grp-"] .head-source { }

body.gs-shell-enabled .dynamic-cell.grp-money { }
body.gs-shell-enabled .dynamic-cell.grp-traffic { }
body.gs-shell-enabled .dynamic-cell.grp-peak { }
body.gs-shell-enabled .dynamic-cell.grp-channel { }
body.gs-shell-enabled .dynamic-cell.grp-roi { }
body.gs-shell-enabled .dynamic-cell.grp-insight { }
body.gs-shell-enabled tbody tr:hover .dynamic-cell[class*="grp-"] { }

body.gs-shell-enabled .keyword-btn,
body.gs-shell-enabled .detail-btn,
body.gs-shell-enabled .note-btn,
body.gs-shell-enabled .status-btn {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .status-btn.s-doing { border-color: var(--gs-border); }
body.gs-shell-enabled .status-btn.s-done { border-color: var(--gs-border); }
body.gs-shell-enabled .note-btn.has-note { border-color: var(--gs-border); }


body.gs-shell-enabled .detail-overlay,
body.gs-shell-enabled .column-manager-overlay {
  z-index: 4000;
}

body.gs-shell-enabled .detail-panel,
body.gs-shell-enabled .keyword-panel,
body.gs-shell-enabled .note-panel,
body.gs-shell-enabled .column-manager-panel,
body.gs-shell-enabled .template-action-dialog,
body.gs-shell-enabled .custom-filter-panel {
  border: 1px solid var(--gs-border);
  border-radius: 18px;
}

body.gs-shell-enabled .keyword-panel {
  width: min(680px, 100%);
}

body.gs-shell-enabled .keyword-head,
body.gs-shell-enabled .detail-head,
body.gs-shell-enabled .note-panel-foot,
body.gs-shell-enabled .column-manager-head,
body.gs-shell-enabled .column-manager-foot {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .detail-title,
body.gs-shell-enabled .column-manager-head h2,
body.gs-shell-enabled .template-action-dialog h3 {
}

body.gs-shell-enabled .detail-meta,
body.gs-shell-enabled .detail-note,
body.gs-shell-enabled .keyword-empty,
body.gs-shell-enabled .keyword-more-note,
body.gs-shell-enabled .note-dialog-time {
}

body.gs-shell-enabled .keyword-format-error {
  border: 1px solid var(--gs-border);
  border-radius: 12px;
}

body.gs-shell-enabled .keyword-link-card,
body.gs-shell-enabled .related-product-item {
  border-color: var(--gs-border);
  border-radius: 12px;
}

body.gs-shell-enabled .keyword-link-card:hover,
body.gs-shell-enabled .related-product-item:hover {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .panel-close {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .detail-range,
body.gs-shell-enabled .detail-summary-row td,
body.gs-shell-enabled .detail-summary-row .detail-date-cell {
}

body.gs-shell-enabled .detail-date-cell,
body.gs-shell-enabled .detail-body tbody tr:hover .detail-date-cell {
}

body.gs-shell-enabled .note-panel-body textarea,
body.gs-shell-enabled .note-panel-body input,
body.gs-shell-enabled .note-editor textarea[readonly] {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .available-group,
body.gs-shell-enabled .selected-column-panel,
body.gs-shell-enabled .selected-column-item,
body.gs-shell-enabled .template-toolbar,
body.gs-shell-enabled .column-manager-tools {
  border-color: var(--gs-border);
}


body.gs-shell-enabled .period-bar {
  padding: 18px 20px;
  gap: 16px;
}

body.gs-shell-enabled .period-bar label,
body.gs-shell-enabled .view-toolbar-label,
body.gs-shell-enabled .calendar-controls label {
}

body.gs-shell-enabled .period-bar select {
  min-width: 320px;
  height: 42px;
}

body.gs-shell-enabled .table-section {
  margin-top: 16px;
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .summary-cards {
  padding: 16px 20px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .summary-card-row {
  gap: 12px;
}

body.gs-shell-enabled .summary-card {
  min-height: 72px;
  padding: 13px 14px;
  border: 1px solid var(--gs-line-soft);
  border-radius: 12px;
}

body.gs-shell-enabled .summary-card span {
}

body.gs-shell-enabled .summary-card strong {
  font-size: 20px;
}

body.gs-shell-enabled .view-toolbar {
  min-height: 56px;
  padding: 10px 20px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .view-toggle {
  border-color: var(--gs-border);
  border-radius: 10px;
}

body.gs-shell-enabled .view-toggle-btn {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .view-toggle-btn.is-active {
}

body.gs-shell-enabled #keywordTable .sticky-sequence,
body.gs-shell-enabled #keywordTable .sticky-keyword {
}

body.gs-shell-enabled #keywordTable tbody td.sticky-sequence,
body.gs-shell-enabled #keywordTable tbody td.sticky-keyword,
body.gs-shell-enabled #keywordTable tbody tr:hover td.sticky-sequence,
body.gs-shell-enabled #keywordTable tbody tr:hover td.sticky-keyword {
}

body.gs-shell-enabled .table-pager {
  min-height: 54px;
  padding: 10px 18px;
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .pager-actions select,
body.gs-shell-enabled .pager-actions button {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .priority-badge,
body.gs-shell-enabled .phase-badge,
body.gs-shell-enabled .action-badge {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .priority-s,
body.gs-shell-enabled .heat-hot,
body.gs-shell-enabled .action-strong {
}

body.gs-shell-enabled .priority-a,
body.gs-shell-enabled .phase-early-end,
body.gs-shell-enabled .phase-ended,
body.gs-shell-enabled .phase-after-peak,
body.gs-shell-enabled .phase-warm,
body.gs-shell-enabled .heat-warm,
body.gs-shell-enabled .direction-down,
body.gs-shell-enabled .valley-past,
body.gs-shell-enabled .action-tail,
body.gs-shell-enabled .action-warn,
body.gs-shell-enabled .level-medium {
}

body.gs-shell-enabled .priority-b,
body.gs-shell-enabled .phase-near,
body.gs-shell-enabled .heat-rise,
body.gs-shell-enabled .valley-future,
body.gs-shell-enabled .action-follow {
}

body.gs-shell-enabled .priority-c,
body.gs-shell-enabled .phase-active,
body.gs-shell-enabled .direction-up,
body.gs-shell-enabled .valley-recent,
body.gs-shell-enabled .action-warm,
body.gs-shell-enabled .action-watch,
body.gs-shell-enabled .level-strong {
}

body.gs-shell-enabled .priority-d,
body.gs-shell-enabled .priority--,
body.gs-shell-enabled .phase-watch,
body.gs-shell-enabled .phase-far,
body.gs-shell-enabled .phase-empty,
body.gs-shell-enabled .heat-normal,
body.gs-shell-enabled .heat-empty,
body.gs-shell-enabled .direction-flat,
body.gs-shell-enabled .valley-old,
body.gs-shell-enabled .valley-empty,
body.gs-shell-enabled .action-pause,
body.gs-shell-enabled .action-skip,
body.gs-shell-enabled .action-empty {
}

body.gs-shell-enabled .heat-cold,
body.gs-shell-enabled .heat-deep-cold,
body.gs-shell-enabled .valley-active {
}


body.gs-shell-enabled .trend-topbar,
body.gs-shell-enabled .related-products-card {
  padding: 18px 20px;
}

body.gs-shell-enabled .trend-title-block h2,
body.gs-shell-enabled .chart-card-head h2 {
}

body.gs-shell-enabled .chart-grid {
  gap: 16px;
}

body.gs-shell-enabled .chart-card {
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .chart-box {
}


body.gs-shell-enabled .calendar-controls,
body.gs-shell-enabled .calendar-info {
  padding: 16px 18px;
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .calendar-controls select,
body.gs-shell-enabled .calendar-controls input {
  height: 42px;
  border-color: var(--gs-border);
  border-radius: 10px;
}

body.gs-shell-enabled .heat-legend {
}

body.gs-shell-enabled .legend-gradient {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .stable-swatch {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .category-calendar-table > thead > tr > th:first-child,
body.gs-shell-enabled .category-calendar-table > thead > tr > th:nth-child(2),
body.gs-shell-enabled .keyword-calendar-table th:first-child {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .category-calendar-table > tbody > tr.category-row > td:first-child,
body.gs-shell-enabled .category-calendar-table > tbody > tr.category-row > td:nth-child(2),
body.gs-shell-enabled .keyword-calendar-table td:first-child {
}

body.gs-shell-enabled .heatmap-cell {
}

body.gs-shell-enabled .calendar-pattern {
  border: 1px solid var(--gs-border);
}

body.gs-shell-enabled .category-detail-row > td {
}

body.gs-shell-enabled .category-detail-panel,
body.gs-shell-enabled .keyword-calendar-wrap {
  border-color: var(--gs-border) !important;
}


body.gs-shell-enabled .workflow-shell {
  display: grid;
  width: auto;
  max-width: none;
  gap: 18px;
}

body.gs-shell-enabled .workflow-shell .admin-card {
  padding: 0;
}

body.gs-shell-enabled .module-heading,
body.gs-shell-enabled .workflow-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  margin: 0;
  border-bottom: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .dispatch-module .module-heading > div {
  margin-right: auto;
}

body.gs-shell-enabled .module-disclosure {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .module-disclosure b {
  font-size: 20px;
  line-height: 1;
  transition: transform 160ms ease;
}

body.gs-shell-enabled .module-disclosure[aria-expanded="true"] b {
  transform: rotate(45deg);
}

body.gs-shell-enabled .dispatch-module-body {
  padding: 18px 20px 20px;
}

body.gs-shell-enabled .module-icon {
  display: grid;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 500;
}

body.gs-shell-enabled .module-heading h2,
body.gs-shell-enabled .workflow-toolbar h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

body.gs-shell-enabled .module-heading p,
body.gs-shell-enabled .workflow-toolbar p {
  margin: 0;
  font-size: 12px;
}

body.gs-shell-enabled .workflow-dispatch-form {
  padding: 0;
  gap: 14px;
}

body.gs-shell-enabled .workflow-dispatch-form label,
body.gs-shell-enabled .workflow-toolbar label {
  font-size: 12px;
  font-weight: 650;
}

body.gs-shell-enabled .workflow-dispatch-form input,
body.gs-shell-enabled .workflow-dispatch-form select,
body.gs-shell-enabled .workflow-dispatch-form textarea,
body.gs-shell-enabled .workflow-actions input,
body.gs-shell-enabled .workflow-actions select {
  min-height: 42px;
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled #dispatchMessage,
body.gs-shell-enabled #taskMessage {
  padding-inline: 20px;
}

body.gs-shell-enabled .task-board-module .workflow-toolbar {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

body.gs-shell-enabled .task-board-module .module-heading-copy {
  margin-right: auto;
}

body.gs-shell-enabled .workflow-task-list {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: 670px;
  padding: 12px;
  overflow: auto;
}

body.gs-shell-enabled .workflow-master-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.45fr);
  min-height: 590px;
}

body.gs-shell-enabled .workflow-task-list-pane,
body.gs-shell-enabled .workflow-task-detail-pane {
  min-width: 0;
}

body.gs-shell-enabled .workflow-task-list-pane {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-right: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .workflow-task-detail-pane {
  padding: 18px;
  overflow: auto;
}

body.gs-shell-enabled .workflow-pane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .workflow-pane-heading h3 {
  margin: 5px 0 0;
  font-size: 16px;
}

body.gs-shell-enabled .workflow-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid var(--gs-border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 720;
}

body.gs-shell-enabled .workflow-list-pager {
  min-height: 58px;
  padding: 10px 12px;
  border-top: 1px solid var(--gs-line-soft) !important;
}

body.gs-shell-enabled .workflow-task-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--gs-border) !important;
  border-radius: 15px;
  cursor: pointer;
  outline: none;
}

body.gs-shell-enabled .workflow-task-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
}

body.gs-shell-enabled .workflow-task-card-in_progress::before { }
body.gs-shell-enabled .workflow-task-card-blocked::before { }
body.gs-shell-enabled .workflow-task-card-completed::before { }

body.gs-shell-enabled .workflow-task-card:hover,
body.gs-shell-enabled .workflow-task-card:focus-visible {
  border-color: var(--gs-border) !important;
  transform: translateY(-1px);
}

body.gs-shell-enabled .workflow-task-card-selected {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-task-list .workflow-task-card {
  padding: 14px 14px 13px 16px;
  border-radius: 12px;
}

body.gs-shell-enabled .workflow-task-list .workflow-task-head h3 {
  overflow: hidden;
  margin-bottom: 4px;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.gs-shell-enabled .workflow-task-list .workflow-task-meta {
  overflow: hidden;
  max-width: 220px;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.gs-shell-enabled .workflow-task-list-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 11px;
  font-size: 11px;
}

body.gs-shell-enabled .workflow-task-list-summary > span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 7px;
  border: 1px solid var(--gs-border);
  border-radius: 7px;
}

body.gs-shell-enabled .workflow-priority-high { }
body.gs-shell-enabled .workflow-priority-urgent,
body.gs-shell-enabled .workflow-overdue { }

body.gs-shell-enabled .workflow-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 18px;
  border-bottom: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .workflow-detail-header h2 {
  margin: 7px 0 5px;
  font-size: 24px;
  letter-spacing: -0.02em;
}

body.gs-shell-enabled .workflow-detail-section {
  margin-top: 15px;
  padding: 16px;
  border: 1px solid var(--gs-line-soft);
  border-radius: 13px;
}

body.gs-shell-enabled .workflow-detail-section > h3,
body.gs-shell-enabled .workflow-detail-section-heading h3 {
  margin: 0 0 10px;
  font-size: 13px;
}

body.gs-shell-enabled .workflow-detail-section .workflow-description {
  margin: 0;
}

body.gs-shell-enabled .workflow-detail-facts .workflow-facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

body.gs-shell-enabled .workflow-detail-actions .workflow-actions {
  margin-top: 0;
}

body.gs-shell-enabled .workflow-action-field {
  display: grid;
  gap: 6px;
  font-size: 11px;
}

body.gs-shell-enabled .workflow-action-reason-required::after {
  content: "受阻状态必填";
  font-size: 10px;
}

body.gs-shell-enabled .workflow-detail-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

body.gs-shell-enabled .workflow-detail-section-heading h3 {
  margin-bottom: 0;
}

body.gs-shell-enabled .workflow-timeline-body {
  min-height: 74px;
}

body.gs-shell-enabled .workflow-timeline-list {
  line-height: 1.6;
}

body.gs-shell-enabled .workflow-timeline-list li::marker {
}

body.gs-shell-enabled .workflow-task-head h3,
body.gs-shell-enabled .workflow-description,
body.gs-shell-enabled .workflow-fact-value,
body.gs-shell-enabled .workflow-timeline h4 {
}

body.gs-shell-enabled .workflow-task-meta,
body.gs-shell-enabled .workflow-fact-label,
body.gs-shell-enabled .workflow-locked,
body.gs-shell-enabled .workflow-empty {
}

body.gs-shell-enabled .workflow-description {
  line-height: 1.65;
}

body.gs-shell-enabled .workflow-facts {
  gap: 9px;
}

body.gs-shell-enabled .workflow-fact,
body.gs-shell-enabled .workflow-timeline,
body.gs-shell-enabled .workflow-state-panel {
  border: 1px solid var(--gs-line-soft) !important;
  border-radius: 11px;
}

body.gs-shell-enabled .workflow-task-version {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-status {
  border: 1px solid currentColor;
}

body.gs-shell-enabled .workflow-status-pending { }
body.gs-shell-enabled .workflow-status-in_progress { }
body.gs-shell-enabled .workflow-status-blocked { }
body.gs-shell-enabled .workflow-status-completed { }

body.gs-shell-enabled .workflow-actions {
  grid-template-columns: minmax(130px, 160px) minmax(200px, 1fr) auto auto;
}

body.gs-shell-enabled .workflow-state-error {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .workflow-spinner {
  border-color: var(--gs-border) !important;
  border-top-color: var(--gs-border) !important;
}


body.gs-shell-enabled .admin-shell {
  display: grid;
  gap: 18px;
}

body.gs-shell-enabled .admin-card {
  border: 1px solid var(--gs-line-soft);
  border-radius: var(--gs-radius);
}

body.gs-shell-enabled .inline-form {
  padding: 18px 20px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .inline-form label {
}

body.gs-shell-enabled .inline-form input,
body.gs-shell-enabled .inline-form select {
  height: 42px;
  border-color: var(--gs-border);
  border-radius: 10px;
}

body.gs-shell-enabled .admin-table-wrap {
}

body.gs-shell-enabled .admin-actions button {
  border-color: var(--gs-border);
  border-radius: 9px;
}

body.gs-shell-enabled .audit-detail {
}

@media (max-width: 1500px) {
  :root {
    --gs-sidebar-width: 258px;
  }

  body.gs-shell-enabled .product-page-hero {
    grid-template-columns: 1fr;
  }

  body.gs-shell-enabled .workflow-task-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  body.gs-shell-enabled {
    min-width: 0;
  }

  body.gs-shell-enabled .workflow-master-detail {
    grid-template-columns: 1fr;
  }

  body.gs-shell-enabled .workflow-task-list-pane {
    max-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--gs-line-soft);
  }

  body.gs-shell-enabled .workflow-task-detail-pane {
    min-height: 560px;
  }

  body.gs-shell-enabled .workflow-detail-facts .workflow-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-height: 760px) {
  .gs-data-note {
    display: none;
  }

  .gs-sidebar-bottom {
    bottom: 12px;
  }

  .gs-nav-heading-management {
    margin-top: 14px;
  }

  .gs-nav-link {
    min-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Layout from system-v14.css */


:root {
  --gs-sidebar-width: 144px;
  --gs-topbar-height: 60px;
}

body.gs-shell-enabled {
  min-width: 1024px;
}


.gs-sidebar {
  width: var(--gs-sidebar-width);
  padding: 14px 10px 16px;
  border-right: 1px solid var(--gs-border);
}

.gs-brand {
  min-height: 52px;
  padding: 0 3px 11px;
  gap: 9px;
}

.gs-brand-mark {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  overflow: visible;
  border: 1px solid var(--gs-border);
  border-radius: 12px;
}

.gs-brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.gs-brand strong {
  font-size: 18px;
  letter-spacing: 0.06em;
}

.gs-brand span:not(.gs-brand-mark) {
  margin-top: 2px;
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.gs-sidebar-divider {
  margin: 2px 3px 14px;
}

.gs-nav-heading {
  margin: 0 8px 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.gs-nav-heading-management {
  margin-top: 19px;
}

.gs-nav {
  gap: 6px;
}

.gs-nav-link {
  min-height: 44px;
  padding: 0 8px;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.gs-nav-link:hover {
  transform: none;
  border-color: var(--gs-border);
}

.gs-nav-link.is-active {
  border-color: var(--gs-border);
}

.gs-nav-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

.gs-nav-icon-svg {
  display: block;
  width: 16px;
  height: 16px;
}

.gs-nav-link.is-active .gs-nav-icon {
  border-color: var(--gs-border);
}

.gs-sidebar-bottom {
  right: 10px;
  bottom: 14px;
  left: 10px;
  gap: 7px;
}

.gs-account-card {
  min-height: 50px;
  padding: 7px 8px;
  gap: 7px;
  border-radius: 11px;
}

.gs-account-avatar {
  flex-basis: 30px;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 13px;
}

.gs-account-card strong {
  font-size: 12px;
}

.gs-account-card span:not(.gs-account-avatar) {
  font-size: 9px;
}

.gs-logout {
  min-height: 36px;
  border-radius: 10px;
  font-size: 11px;
}

.gs-data-note {
  display: none;
}

.gs-topbar {
  width: calc(100% - var(--gs-sidebar-width));
  height: var(--gs-topbar-height);
  margin-left: var(--gs-sidebar-width);
  padding: 0 22px;
}

.gs-breadcrumb,
.gs-topbar-status {
  font-size: 11px;
}

body.auth-page .auth-brand-mark {
  border-color: var(--gs-border);
}


body.gs-shell-enabled .main {
  gap: 10px;
  padding: 10px 12px 12px;
}

body.gs-shell-enabled .product-page-hero {
  grid-template-columns: minmax(300px, 0.85fr) minmax(520px, 1.15fr);
  gap: 16px;
  padding: 13px 16px;
  border-radius: 13px;
}

body.gs-shell-enabled .product-page-hero .page-eyebrow {
  margin-bottom: 3px;
  font-size: 9px;
}

body.gs-shell-enabled .product-page-hero h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

body.gs-shell-enabled .product-page-hero p {
  margin-top: 4px;
  font-size: 11px;
}

body.gs-shell-enabled .summary-grid {
  gap: 7px;
}

body.gs-shell-enabled .metric {
  min-height: 50px;
  padding: 8px 10px;
  gap: 2px;
  border-radius: 10px;
}

body.gs-shell-enabled .metric span {
  font-size: 10px;
}

body.gs-shell-enabled .metric strong {
  font-size: 15px;
}

body.gs-shell-enabled .product-filter-panel {
  padding: 10px !important;
  gap: 8px;
  border-radius: 13px !important;
}

.product-filter-head {
  min-height: 30px;
  padding: 0 2px;
}

.product-filter-head strong {
  font-size: 13px;
}

.product-filter-head span {
  font-size: 10px;
}

body.gs-shell-enabled .product-filter-expand,
body.gs-shell-enabled .product-filter-advanced-toggle {
  min-height: 30px;
  padding: 0 11px;
  border-radius: 9px;
  font-size: 11px;
}

body.gs-shell-enabled .product-filter-panel .brand,
body.gs-shell-enabled .product-filter-panel .field {
  min-height: 0;
  padding: 8px 10px;
  border-radius: 10px;
}

body.gs-shell-enabled .product-filter-panel .brand {
  min-height: 38px;
  font-size: 10px;
}

body.gs-shell-enabled .product-filter-panel .field {
  gap: 5px;
}

body.gs-shell-enabled .product-filter-panel .field > span,
body.gs-shell-enabled .product-filter-panel .field > label,
body.gs-shell-enabled .daily-toggle {
  font-size: 10px;
}

body.gs-shell-enabled .product-filter-panel input,
body.gs-shell-enabled .product-filter-panel select {
  height: 31px;
  font-size: 11px;
}

body.gs-shell-enabled .product-filter-panel .toggle,
body.gs-shell-enabled .product-filter-panel .preset,
body.gs-shell-enabled .product-filter-panel .custom-filter-trigger {
  min-height: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 11px;
}

body.gs-shell-enabled .product-filter-panel .refresh-btn {
  min-height: 38px;
  font-size: 11px;
}

body.gs-shell-enabled .range-summary,
body.gs-shell-enabled .refresh-hint {
  margin-top: 4px;
  font-size: 10px;
}

body.gs-shell-enabled .daily-toggle {
  margin-top: 3px;
}


body.gs-shell-enabled .table-shell {
  border-radius: 13px;
}

body.gs-shell-enabled .table-toolbar,
body.gs-shell-enabled .table-footer {
  min-height: 44px;
  padding: 7px 10px;
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .table-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--gs-line-soft);
}

body.gs-shell-enabled .table-wrap {
  max-height: calc(100vh - 330px);
  min-height: 420px;
}

body.gs-shell-enabled th,
body.gs-shell-enabled td {
  padding: 4px 8px;
  border-color: var(--gs-border);
  font-size: 12px;
}

body.gs-shell-enabled .dynamic-head,
body.gs-shell-enabled .dynamic-head.grp-base,
body.gs-shell-enabled .dynamic-head.grp-money,
body.gs-shell-enabled .dynamic-head.grp-traffic,
body.gs-shell-enabled .dynamic-head.grp-peak,
body.gs-shell-enabled .dynamic-head.grp-channel,
body.gs-shell-enabled .dynamic-head.grp-roi,
body.gs-shell-enabled .dynamic-head.grp-insight {
}

body.gs-shell-enabled .dynamic-cell,
body.gs-shell-enabled .dynamic-cell.grp-money,
body.gs-shell-enabled .dynamic-cell.grp-traffic,
body.gs-shell-enabled .dynamic-cell.grp-peak,
body.gs-shell-enabled .dynamic-cell.grp-channel,
body.gs-shell-enabled .dynamic-cell.grp-roi,
body.gs-shell-enabled .dynamic-cell.grp-insight {
}

body.gs-shell-enabled tbody tr:hover,
body.gs-shell-enabled tbody tr:hover .dynamic-cell,
body.gs-shell-enabled tbody tr:hover .dynamic-cell[class*="grp-"] {
}

body.gs-shell-enabled .product-cell,
body.gs-shell-enabled tbody tr:hover .product-cell {
}

body.gs-shell-enabled tbody tr:hover .product-cell {
}

body.gs-shell-enabled .product-header {
}

body.gs-shell-enabled .col-title,
body.gs-shell-enabled .product-cell {
  width: 270px;
  min-width: 270px;
  max-width: 270px;
}

body.gs-shell-enabled .product-main {
  gap: 7px;
}

body.gs-shell-enabled .product-image,
body.gs-shell-enabled .product-image-link {
  width: 38px;
  height: 38px;
}

body.gs-shell-enabled .product-title {
  font-size: 12px;
}

body.gs-shell-enabled .product-meta-line {
  min-height: 17px;
  font-size: 10px;
}

body.gs-shell-enabled .product-actions .detail-btn,
body.gs-shell-enabled .product-actions .keyword-btn,
body.gs-shell-enabled .product-actions .status-btn,
body.gs-shell-enabled .product-actions .note-btn {
  height: 20px;
  padding: 0 6px;
  border-color: var(--gs-border);
  font-size: 10px;
}

body.gs-shell-enabled .status-btn.s-doing,
body.gs-shell-enabled .status-btn.s-done,
body.gs-shell-enabled .note-btn.has-note {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .status-btn.is-read-only,
body.gs-shell-enabled .note-btn.is-read-only {
  cursor: help;
}

body.gs-shell-enabled .chip,
body.gs-shell-enabled .chip-context,
body.gs-shell-enabled .icon-btn,
body.gs-shell-enabled .page-size-select {
  border-color: var(--gs-border) !important;
}

body.gs-shell-enabled .page-size-select {
  min-width: 70px;
}

body.gs-shell-enabled .pager {
  gap: 8px;
  font-size: 11px;
}


body.gs-shell-enabled .custom-filter-panel {
  z-index: 4100;
  top: calc(var(--gs-topbar-height) + 12px);
  right: 12px;
  bottom: 12px;
  left: auto;
  width: min(420px, calc(100vw - var(--gs-sidebar-width) - 36px));
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--gs-border);
  border-radius: 16px;
}

body.gs-shell-enabled .custom-filter-head {
  padding-bottom: 12px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .custom-filter-head h2 {
  font-size: 18px;
}

body.gs-shell-enabled .custom-filter-head p,
body.gs-shell-enabled .custom-filter-row label > span {
}

body.gs-shell-enabled .custom-filter-mode,
body.gs-shell-enabled .custom-filter-row,
body.gs-shell-enabled .custom-filter-empty {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .custom-filter-mode {
  margin: 12px 0;
  padding: 10px;
}

body.gs-shell-enabled .custom-filter-row {
  padding: 11px;
  gap: 9px;
}

body.gs-shell-enabled .custom-filter-panel input,
body.gs-shell-enabled .custom-filter-panel select,
body.gs-shell-enabled .column-manager-panel input,
body.gs-shell-enabled .column-manager-panel select,
body.gs-shell-enabled .template-action-dialog input {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .add-filter-btn {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .remove-custom-filter {
}


body.gs-shell-enabled .column-manager-overlay {
  padding: calc(var(--gs-topbar-height) + 18px) 22px 22px calc(var(--gs-sidebar-width) + 22px);
}

body.gs-shell-enabled .column-manager-panel {
  width: min(1120px, calc(100vw - var(--gs-sidebar-width) - 44px));
  height: min(760px, calc(100vh - var(--gs-topbar-height) - 40px));
  min-height: 520px;
}

body.gs-shell-enabled .column-manager-head,
body.gs-shell-enabled .column-manager-foot {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-manager-head h2,
body.gs-shell-enabled .selected-column-head strong,
body.gs-shell-enabled .available-group strong {
}

body.gs-shell-enabled .column-manager-head p,
body.gs-shell-enabled .column-manager-foot > span,
body.gs-shell-enabled .selected-column-head span,
body.gs-shell-enabled .column-bulk-actions {
}

body.gs-shell-enabled .template-toolbar,
body.gs-shell-enabled .column-manager-tools,
body.gs-shell-enabled .available-group,
body.gs-shell-enabled .selected-column-panel,
body.gs-shell-enabled .selected-column-item,
body.gs-shell-enabled .column-option {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-manager-body {
}

body.gs-shell-enabled .available-column-groups,
body.gs-shell-enabled .selected-column-panel,
body.gs-shell-enabled .selected-column-list {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-group {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-group-head,
body.gs-shell-enabled .selected-column-head {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-group-title strong,
body.gs-shell-enabled .column-option-name,
body.gs-shell-enabled .selected-column-copy strong {
}

body.gs-shell-enabled .column-group-title span,
body.gs-shell-enabled .column-option-meta,
body.gs-shell-enabled .selected-column-copy span {
}

body.gs-shell-enabled .column-option-grid {
}

body.gs-shell-enabled .column-option:hover {
}

body.gs-shell-enabled .group-actions button,
body.gs-shell-enabled .selected-column-item button {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .selected-column-item button {
}

body.gs-shell-enabled .template-toolbar button,
body.gs-shell-enabled .column-manager-tools button,
body.gs-shell-enabled .column-manager-foot button,
body.gs-shell-enabled .template-action-dialog button {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .column-manager-foot .primary-btn,
body.gs-shell-enabled .template-action-dialog .primary-btn {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .template-action-dialog {
  z-index: 2;
}

body.gs-shell-enabled .panel-close {
  border-color: var(--gs-border);
}


body.gs-shell-enabled .detail-panel,
body.gs-shell-enabled .keyword-panel,
body.gs-shell-enabled .note-panel {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .note-status-options .status-option {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .note-status-options .status-option.active {
  border-color: var(--gs-border);
}


body.gs-shell-enabled .filter-panel-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

body.gs-shell-enabled .filter-panel-head > div {
  min-width: 130px;
}

body.gs-shell-enabled .filter-panel-eyebrow,
body.gs-shell-enabled .table-eyebrow {
  display: block;
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
}

body.gs-shell-enabled .filter-panel-head h2,
body.gs-shell-enabled .table-heading h2 {
  margin: 0;
  font-size: 15px;
}

body.gs-shell-enabled .filter-updated-at {
  margin: 0 0 0 auto;
  font-size: 10px;
  white-space: nowrap;
}

body.gs-shell-enabled .field-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body.gs-shell-enabled .current-range-name {
  font-size: 10px;
  font-weight: 720;
}

body.gs-shell-enabled .product-period-field {
  grid-column: span 6;
}

body.gs-shell-enabled .hero-period-summary {
  margin-top: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
}

body.gs-shell-enabled .hero-period-summary strong {
  padding: 3px 7px;
  border: 1px solid var(--gs-border);
  border-radius: 999px;
  font-size: 10px;
}

body.gs-shell-enabled .product-data-workspace .table-toolbar {
  align-items: center;
}

body.gs-shell-enabled .table-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.gs-shell-enabled .table-heading > div {
  min-width: 90px;
}

body.gs-shell-enabled .table-heading p {
  margin: 0;
  font-size: 10px;
  white-space: nowrap;
}

body.gs-shell-enabled .table-heading p strong {
}

body.gs-shell-enabled .product-data-workspace .chips {
  justify-content: flex-end;
}

body.gs-shell-enabled .note-dialog-mode {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
  font-size: 11px;
  line-height: 1.55;
}


body.gs-shell-enabled .custom-filter-overlay {
  position: fixed;
  z-index: 4100;
  inset: 0;
  padding: calc(var(--gs-topbar-height) + 12px) 12px 12px calc(var(--gs-sidebar-width) + 12px);
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
}

body.gs-shell-enabled .custom-filter-dialog {
  width: min(430px, calc(100vw - var(--gs-sidebar-width) - 36px));
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--gs-border);
  border-radius: 16px;
}

body.gs-shell-enabled .custom-filter-dialog input,
body.gs-shell-enabled .custom-filter-dialog select {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .custom-filter-dialog .custom-filter-empty,
body.gs-shell-enabled .custom-filter-dialog .custom-filter-row,
body.gs-shell-enabled .custom-filter-dialog .custom-filter-mode,
body.gs-shell-enabled .custom-filter-dialog .custom-condition-placeholder {
  border-color: var(--gs-border);
}

@media (max-width: 1500px) {
  :root {
    --gs-sidebar-width: 144px;
  }

  body.gs-shell-enabled .product-page-hero {
    grid-template-columns: minmax(280px, 0.8fr) minmax(480px, 1.2fr);
  }
}

@media (max-width: 1380px) and (min-width: 1101px) {
  body.gs-shell-enabled .product-filter-panel .product-filter-range,
  body.gs-shell-enabled .product-filter-panel .product-period-field {
    grid-column: span 6;
  }

  body.gs-shell-enabled .product-filter-panel .product-filter-primary:not(.product-filter-range) {
    grid-column: span 3;
  }
}

@media (max-width: 1180px) {
  body.gs-shell-enabled .product-page-hero {
    grid-template-columns: 1fr;
  }

  body.gs-shell-enabled .table-wrap {
    max-height: none;
  }
}

/* Layout from system-v15.css */


:root {
  --gs-sidebar-width: 144px;
  --gs-topbar-height: 60px;
}


.gs-brand {
  min-height: 58px;
  gap: 11px;
  padding: 0 3px 13px;
}

.gs-brand-mark {
  flex-basis: 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
}

.gs-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.gs-brand-copy {
  min-width: 0;
  display: flex;
  align-items: center;
}

.gs-brand-copy span,
.gs-brand span:not(.gs-brand-mark) {
  margin: 0;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.04em;
  line-height: 1.2;
  white-space: normal;
}

body.auth-page .auth-brand-mark {
  width: 54px;
  height: 54px;
}

body.auth-page .auth-brand-mark img {
  width: 50px;
  height: 50px;
}

body.auth-page .auth-brand > div > span {
  font-size: 19px;
  font-weight: 760;
  letter-spacing: 0.04em;
}


body.gs-shell-enabled .page-hero:not(.product-page-hero) {
  padding: 13px 18px 11px;
}

body.gs-shell-enabled .page-hero:not(.product-page-hero)::after {
  top: -32px;
  width: 260px;
  height: 120px;
}

body.gs-shell-enabled .page-hero:not(.product-page-hero) .page-eyebrow {
  font-size: 9px;
}

body.gs-shell-enabled .page-hero:not(.product-page-hero) h1,
body.gs-shell-enabled .page-hero:not(.product-page-hero) h2 {
  margin-top: 3px;
  font-size: 24px;
  line-height: 1.12;
}

body.gs-shell-enabled .page-hero:not(.product-page-hero) .page-lead,
body.gs-shell-enabled .page-hero:not(.product-page-hero) .scope-note {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.45;
}

body.gs-shell-enabled .app-shell,
body.gs-shell-enabled .trend-shell,
body.gs-shell-enabled .admin-shell {
  padding: 11px 16px 24px;
}

body.gs-shell-enabled .workspace-module,
body.gs-shell-enabled .period-bar,
body.gs-shell-enabled .calendar-controls {
  border-radius: 13px;
}

body.gs-shell-enabled .admin-section-heading,
body.gs-shell-enabled .section-head {
  padding-top: 12px;
  padding-bottom: 12px;
}


body.gs-shell-enabled .product-filter-drawer {
  position: fixed !important;
  z-index: 4200;
  top: var(--gs-topbar-height);
  bottom: 0;
  left: var(--gs-sidebar-width);
  width: min(318px, calc(100vw - var(--gs-sidebar-width) - 24px)) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 0 !important;
  border-right: 1px solid var(--gs-border) !important;
  border-radius: 0 16px 16px 0 !important;
  visibility: hidden;
  transform: translateX(calc(-100% - 18px));
  transition: transform 180ms ease, opacity 160ms ease, visibility 180ms step-end;
}

body.gs-shell-enabled.product-filter-open .product-filter-drawer {
  visibility: visible;
  transform: translateX(0);
  transition: transform 180ms ease, opacity 160ms ease, visibility 0s;
}

body.gs-shell-enabled .product-filter-drawer > * {
  flex: 0 0 auto;
  width: 100%;
  margin: 0 !important;
}

body.gs-shell-enabled .product-filter-drawer .filter-panel-head {
  position: sticky;
  z-index: 1;
  top: -14px;
  min-height: 58px;
  padding: 12px 0 10px;
  border-bottom: 1px solid var(--gs-border);
}

.product-filter-close {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
  font-size: 21px;
  cursor: pointer;
}

body.gs-shell-enabled .product-filter-drawer .field {
  padding: 9px 10px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--gs-border);
  border-radius: 11px;
}

body.gs-shell-enabled .product-filter-drawer input,
body.gs-shell-enabled .product-filter-drawer select {
  width: 100%;
  height: 34px;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .product-filter-drawer .range-toggles,
body.gs-shell-enabled .product-filter-drawer .field > .toggles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

body.gs-shell-enabled .product-filter-drawer .range-custom {
  grid-column: 1 / -1;
}

body.gs-shell-enabled .product-filter-drawer .toggle,
body.gs-shell-enabled .product-filter-drawer .preset,
body.gs-shell-enabled .product-filter-drawer .custom-filter-trigger {
  width: 100% !important;
  min-height: 34px;
  height: auto;
  border-color: var(--gs-border);
}

body.gs-shell-enabled .product-filter-drawer .toggle.active,
body.gs-shell-enabled .product-filter-drawer .preset.active {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .product-filter-drawer .daily-toggle {
  align-items: flex-start;
  line-height: 1.45;
}

body.gs-shell-enabled .product-filter-drawer .daily-toggle input {
  width: 16px;
  height: 16px;
}

body.gs-shell-enabled .product-filter-drawer .actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-bottom: 5px;
}

.product-filter-scrim {
  position: fixed;
  z-index: 4150;
  inset: var(--gs-topbar-height) 0 0 var(--gs-sidebar-width);
}

.product-filter-scrim[hidden] {
  display: none !important;
}

body.gs-shell-enabled .product-filter-toggle {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
  cursor: pointer;
}

body.gs-shell-enabled .product-filter-toggle:hover,
body.gs-shell-enabled .product-filter-toggle[aria-expanded="true"] {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .product-data-workspace .table-toolbar {
  gap: 11px;
}

body.gs-shell-enabled .product-data-workspace .chips {
  margin-left: auto;
}

body.gs-shell-enabled .product-page-hero {
  padding-block: 10px;
}

body.gs-shell-enabled .table-wrap {
  max-height: calc(100vh - 255px);
  min-height: 470px;
}


body.gs-shell-enabled .dynamic-head.group-start,
body.gs-shell-enabled .dynamic-cell.group-start {
  border-left: 0 !important;
}


body.gs-shell-enabled .daily-expand-cell {
  padding: 8px 10px !important;
}

body.gs-shell-enabled .daily-expand-inner {
  max-height: 320px;
  overflow: auto;
  border: 1px solid var(--gs-border);
  border-radius: 11px;
}

body.gs-shell-enabled .daily-expand-inner table,
body.gs-shell-enabled .detail-body table {
}

body.gs-shell-enabled .detail-panel {
  width: min(1500px, calc(100vw - var(--gs-sidebar-width) - 48px));
  max-height: calc(100vh - 88px);
}

body.gs-shell-enabled .detail-head,
body.gs-shell-enabled .detail-range {
  border-color: var(--gs-border);
}

body.gs-shell-enabled .detail-body {
  overflow: auto;
}


body.gs-shell-enabled .keyword-panel {
  width: min(1380px, calc(100vw - var(--gs-sidebar-width) - 52px));
  max-height: calc(100vh - 92px);
  overflow: hidden;
}

body.gs-shell-enabled .keyword-body {
  max-height: calc(100vh - 250px);
  padding: 16px;
  overflow: auto;
}

.keyword-source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.keyword-source-column {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--gs-border);
  border-radius: 15px;
}

.keyword-source-head {
  margin-bottom: 10px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.keyword-source-head > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.keyword-source-head span {
  font-size: 15px;
  font-weight: 700;
}

.keyword-source-head strong {
  font-size: 12px;
}

.keyword-source-head small {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyword-source-list {
  display: grid;
  gap: 9px;
}

.keyword-source-empty {
  padding: 28px 12px;
  text-align: center;
}

.keyword-summary-card {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--gs-border);
  border-radius: 13px;
}

.keyword-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.keyword-summary-head strong {
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyword-summary-head a {
  flex: 0 0 auto;
  font-size: 11px;
  text-decoration: none;
}

.keyword-summary-metrics {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.keyword-summary-metrics > div {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

.keyword-summary-metrics span {
  display: block;
  font-size: 9px;
}

.keyword-summary-metrics b {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyword-summary-loading,
.keyword-summary-warning,
.keyword-summary-missing p {
  font-size: 12px;
}

.keyword-summary-warning {
  margin: 0 0 10px;
  padding: 9px 11px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}


body.gs-shell-enabled .trend-topbar {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(180px, 0.35fr) minmax(0, 1.65fr);
  align-items: center;
  gap: 12px;
}

.keyword-metric-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  gap: 7px;
}

.keyword-profile-metric {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid var(--gs-border);
  border-radius: 9px;
}

.keyword-profile-metric span {
  display: block;
  font-size: 9px;
}

.keyword-profile-metric strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.keyword-profile-wide {
  grid-column: span 2;
}

.keyword-profile-loading {
  grid-column: 1 / -1;
  font-size: 11px;
}

body.gs-shell-enabled .related-products-card {
  padding: 12px 14px;
}

body.gs-shell-enabled .related-products-head {
  gap: 12px;
}

body.gs-shell-enabled .related-products-grid {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 7px;
}

body.gs-shell-enabled .related-product-item {
  min-height: 0;
  padding: 8px 9px;
  gap: 2px;
  border-radius: 9px;
}

body.gs-shell-enabled .related-product-item strong {
  font-size: 11px;
}

body.gs-shell-enabled .related-product-item span {
  font-size: 9px;
}

body.gs-shell-enabled .related-products-status {
  margin: 5px 0 7px;
  font-size: 10px;
}


body.gs-shell-enabled .audit-module th,
body.gs-shell-enabled .audit-module td {
  padding-top: 7px;
  padding-bottom: 7px;
}


body.gs-shell-enabled .device-module {
  padding: 16px;
}

.owner-only-tag {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid var(--gs-border);
  border-radius: 999px;
}

.device-policy-note {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 12px;
  font-size: 11px;
  line-height: 1.55;
  border: 1px solid var(--gs-border);
  border-radius: 10px;
}

.device-policy-note strong {
  flex: 0 0 auto;
}

.device-table-wrap strong {
  font-size: 11px;
}

.device-status,
.current-device-mark {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.device-status.status-pending {
}

.device-status.status-approved,
.current-device-mark {
}

.device-status.status-rejected,
.device-status.status-revoked {
}

.device-actions {
  gap: 5px;
  min-width: 250px;
}

.device-actions button {
  white-space: nowrap;
}

@media (max-width: 1500px) {
  .keyword-metric-grid {
    grid-template-columns: repeat(4, minmax(90px, 1fr));
  }

  body.gs-shell-enabled .related-products-grid {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }
}

@media (max-width: 1180px) {
  body.gs-shell-enabled .trend-topbar {
    grid-template-columns: auto 1fr;
  }

  .keyword-metric-grid {
    grid-column: 1 / -1;
  }

  .keyword-source-grid {
    grid-template-columns: 1fr;
  }
}
/* Pending transfer count is shared by every page using the existing sidebar. */
.gs-nav-link:has(#transferNavBadge){position:relative}
#transferNavBadge{position:absolute;right:4px;top:3px;min-width:16px;height:16px;padding:0 4px;border-radius:6px;background:#e7626f;color:#fff;font-size:10px;line-height:16px;text-align:center}
#transferNavBadge[hidden]{display:none}
