:root {
  --ink: #071f23;
  --muted: #6b747e;
  --line: #e8ecef;
  --soft-line: rgba(12, 82, 70, .1);
  --page: #f7faf9;
  --card: rgba(255, 255, 255, .94);
  --green: #00795d;
  --green-2: #005640;
  --green-3: #0a8b6c;
  --mint: #eaf6f2;
  --red: #df262b;
  --orange: #c98914;
  --shadow: 0 18px 46px rgba(15, 42, 38, .09);
  --soft-shadow: 0 10px 26px rgba(15, 42, 38, .08);
  --nav-safe: calc(112px + env(safe-area-inset-bottom, 0px));
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #eef6f4;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  scrollbar-width: none;
}

body {
  background:
    radial-gradient(circle at 20% 6%, rgba(0, 121, 93, .1), transparent 24%),
    linear-gradient(180deg, #fbfdfd 0%, #f4f8f7 48%, #ffffff 100%);
  color: var(--ink);
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
  max-width: 100%;
}

textarea {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

button {
  cursor: pointer;
}

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 84% 2%, rgba(9, 126, 98, .08), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(249,251,250,.96));
  box-shadow: 0 0 0 1px rgba(7, 31, 35, .04);
  overflow: hidden;
}

.hidden-app {
  display: none !important;
}

.auth-screen,
.boss-screen {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 20px var(--nav-safe);
  background:
    radial-gradient(circle at 84% 2%, rgba(9, 126, 98, .09), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(247,250,249,.98));
  box-shadow: 0 0 0 1px rgba(7, 31, 35, .04);
}

.auth-brand {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.auth-brand h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.12;
  font-weight: 850;
}

.auth-brand p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: #eef5f3;
}

.auth-tabs button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.auth-tabs button.active {
  background: #fff;
  color: var(--green);
  box-shadow: var(--soft-shadow);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: grid;
  gap: 12px;
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #dfe6e8;
  border-radius: 10px;
  padding: 0 13px;
  outline: none;
  background: #fff;
}

.auth-form input:focus {
  border-color: rgba(0, 121, 93, .44);
  box-shadow: 0 0 0 4px rgba(0, 121, 93, .08);
}

.boss-hero {
  margin: -36px -20px 18px;
}

.boss-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.boss-metrics .boss-metric-card,
.boss-row {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.boss-metrics .boss-metric-card {
  padding: 14px;
}

.boss-metrics span,
.boss-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.boss-metrics strong {
  display: block;
  margin-top: 8px;
  font-size: 24px;
  line-height: 1;
}

.boss-metrics button.boss-metric-card {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(0, 121, 93, .22);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.boss-metrics button.boss-metric-card small {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.boss-metrics button.boss-metric-card:focus-visible {
  outline: 3px solid rgba(0, 121, 93, .18);
  outline-offset: 2px;
}

.boss-cover-panel.hidden {
  display: none;
}

.boss-cover-row {
  align-items: flex-start;
}

.boss-admin-row strong {
  overflow-wrap: anywhere;
}

.boss-list {
  display: grid;
  gap: 10px;
}

.boss-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
}

.boss-row strong {
  display: block;
  margin-bottom: 5px;
}

.boss-row b {
  color: var(--green);
  font-size: 13px;
}

.screen {
  display: none;
  min-height: 100vh;
  padding: 28px 20px var(--nav-safe);
}

.screen.active {
  display: block;
}

.home-head {
  display: grid;
  grid-template-columns: 68px 1fr 42px;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.brand-mark {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 12px 18px rgba(4, 85, 65, .18));
}

.home-head h1,
.plain-head h1,
.deep-hero h1 {
  margin: 0;
  font-size: 29px;
  line-height: 1.15;
  font-weight: 850;
}

.home-head p,
.plain-head p,
.deep-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.icon-button,
.outline-light-btn,
.outline-hero-btn,
.section-title-row button,
.filter-row button,
.save-button,
.main-action,
.secondary-action {
  border: 0;
  background: none;
  color: inherit;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.icon-button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2.1;
}

.priority-card {
  position: relative;
  width: 100%;
  min-height: 140px;
  display: grid;
  grid-template-columns: 1fr 96px;
  align-items: center;
  gap: 5px;
  padding: 15px 15px;
  border: 1px solid rgba(0, 121, 93, .11);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 42%, rgba(0, 121, 93, .12), transparent 24%),
    linear-gradient(135deg, rgba(236, 248, 244, .94), rgba(255, 255, 255, .95));
  box-shadow: var(--shadow);
  text-align: left;
}

.priority-card img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  justify-self: end;
}

.priority-copy span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 750;
}

.priority-copy strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 900;
  white-space: normal;
}

.priority-copy strong b {
  color: var(--green);
}

.priority-copy em {
  display: block;
  width: 22px;
  height: 2px;
  margin: 10px 0;
  background: #c99b28;
  border-radius: 999px;
}

.priority-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.priority-card .chevron {
  position: absolute;
  top: 24px;
  right: 20px;
  width: 20px;
  height: 20px;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 16px;
}

.main-action,
.secondary-action {
  height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 14px;
  box-shadow: var(--soft-shadow);
  font-size: 16px;
  font-weight: 800;
}

.main-action {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #006b52);
}

.secondary-action {
  background: #fff;
  border: 1px solid rgba(7, 31, 35, .08);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid article {
  min-width: 0;
  min-height: 112px;
  padding: 12px 12px;
  border: 1px solid rgba(7, 31, 35, .07);
  border-radius: 13px;
  background: var(--card);
  box-shadow: var(--soft-shadow);
}

.metric-grid svg {
  width: 22px;
  height: 22px;
  margin-bottom: 10px;
  color: var(--green);
}

.metric-grid article:nth-child(2) svg {
  color: #c98f0d;
}

.metric-grid article:nth-child(3) svg {
  color: #e3522a;
}

.metric-grid span {
  display: block;
  color: #5f6872;
  font-size: 13px;
  margin-bottom: 10px;
}

.metric-grid strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-height: 31px;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.metric-grid strong small {
  color: #4d5963;
  font-size: 12px;
  font-weight: 500;
}

.metric-grid strong.danger {
  color: var(--red);
}

.metric-grid p {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
  white-space: nowrap;
}

.metric-grid p b {
  color: var(--green);
}

.section-block {
  margin-top: 20px;
}

.section-block h2,
.section-title-row h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 850;
}

.quick-card,
.reminder-card,
.upload-card,
.form-card,
.extra-card,
.review-tip,
.wide-stats,
.item-card {
  border: 1px solid rgba(7, 31, 35, .07);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--soft-shadow);
}

.quick-card {
  border-radius: 16px;
  overflow: hidden;
}

.quick-card button {
  width: 100%;
  height: 64px;
  display: grid;
  grid-template-columns: 48px 1fr 18px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  background: transparent;
  text-align: left;
  font-size: 15px;
}

.quick-card button:last-child {
  border-bottom: 0;
}

.reminder-empty {
  padding: 18px 14px;
  color: var(--muted);
  font-size: 14px;
}

.quick-card span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section-title-row button {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #68717a;
  font-size: 13px;
}

.reminder-card {
  border-radius: 15px;
  overflow: hidden;
}

.reminder-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 74px 1fr 88px 16px;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.reminder-row:last-child {
  border-bottom: 0;
}

.thumb {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  background: #f5f6f6;
}

.reminder-copy strong,
.item-title {
  display: block;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 800;
}

.reminder-copy p,
.item-sub {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.risk {
  text-align: right;
}

.risk strong {
  display: block;
  color: var(--red);
  font-size: 16px;
}

.risk.medium strong {
  color: #d08700;
}

.risk span {
  display: block;
  margin-top: 6px;
  color: #6d7580;
  font-size: 12px;
}

.deep-hero {
  margin: -28px -20px 0;
  padding: 42px 20px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 255, 255, .08), transparent 22%),
    linear-gradient(135deg, #00654d, #003f32);
}

.deep-hero p {
  color: rgba(255, 255, 255, .78);
}

.deep-hero h1 {
  color: #fff;
}

.outline-hero-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  font-weight: 750;
}

.search-box {
  height: 60px;
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 0 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 22px rgba(3, 54, 42, .25);
  color: #717984;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
}

.search-box input::placeholder {
  color: #9ca4ad;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px 0 14px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-row button {
  flex: 0 0 auto;
  min-width: 86px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #252c34;
  font-size: 14px;
  white-space: nowrap;
}

#inventoryView .filter-row button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 8px;
  font-size: 13px;
}

#soldView .filter-row {
  gap: 5px;
}

#soldView .filter-row button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 6px;
  gap: 3px;
  font-size: 12px;
}

.filter-row button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--green), #00634c);
  box-shadow: 0 8px 16px rgba(0, 121, 93, .18);
}

.filter-row b {
  font-weight: 700;
}

.wide-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 76px;
  align-items: center;
  border-radius: 12px;
}

.wide-stats article {
  min-width: 0;
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.wide-stats article:last-child {
  border-right: 0;
}

.wide-stats span {
  display: block;
  margin-bottom: 8px;
  color: #4f5963;
  font-size: 12px;
}

.wide-stats strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 850;
}

.wide-stats article:first-child strong,
.wide-stats article:nth-child(3) strong {
  color: var(--green);
}

.wide-stats small {
  display: block;
  margin-top: 8px;
  color: #787f88;
  font-size: 11px;
}

.sort-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 12px;
  color: #7a838d;
  font-size: 13px;
}

.inventory-list,
.sales-list {
  display: grid;
  gap: 14px;
}

.item-card {
  border-radius: 13px;
  padding: 12px;
  min-width: 0;
  max-width: 100%;
}

.inventory-card-main,
.sale-card-main {
  display: grid;
  grid-template-columns: 88px 1fr 76px;
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.inventory-card-main > div,
.sale-card-main > div {
  min-width: 0;
}

.inventory-card-main .thumb,
.sale-card-main .thumb {
  width: 88px;
  height: 88px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 6px;
  margin-right: 5px;
  border-radius: 4px;
  background: #d41f29;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
}

.chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.chips span {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid rgba(0, 121, 93, .28);
  border-radius: 5px;
  color: var(--green);
  background: rgba(234, 246, 242, .62);
  font-size: 12px;
}

.item-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 8px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.item-side span {
  display: block;
  color: #6f7882;
  font-size: 11px;
}

.item-side strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 5px 0 11px;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  width: 100%;
}

.item-side strong.danger {
  color: var(--red);
}

.item-side b {
  font-size: 12px;
  font-weight: 500;
}

.card-divider {
  height: 1px;
  margin: 13px 0 10px;
  background: var(--line);
}

.inventory-facts,
.sale-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: end;
}

.inventory-facts div,
.sale-facts div {
  min-width: 0;
  padding: 0 8px;
  border-right: 1px solid var(--line);
}

.inventory-facts div:first-child,
.sale-facts div:first-child {
  padding-left: 0;
}

.inventory-facts div:last-child,
.sale-facts div:last-child {
  border-right: 0;
  padding-right: 0;
}

.inventory-facts span,
.sale-facts span {
  display: block;
  color: #6d7580;
  font-size: 11px;
  margin-bottom: 8px;
}

.inventory-facts strong,
.sale-facts strong {
  font-size: 15px;
  line-height: 1.15;
}

.remark-block {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid rgba(7, 31, 35, .07);
  border-radius: 10px;
  background: #f8fbfa;
  max-width: 100%;
  min-width: 0;
}

.remark-heading {
  margin-bottom: 6px;
  color: #6d7580;
  font-size: 11px;
  font-weight: 800;
}

.remark-text {
  color: #203336;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.remark-block.is-collapsed .remark-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.remark-toggle {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.inventory-facts .advice strong {
  color: var(--green);
}

.inventory-facts .advice.urgent strong {
  color: var(--red);
}

.card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.card-actions button,
.modal-actions button {
  min-height: 42px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: #252c34;
  font-size: 14px;
  font-weight: 750;
}

.card-actions button.primary,
.modal-actions button.primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #00634c);
}

.card-actions button.danger-action,
.modal-actions button.danger-action {
  border-color: rgba(221, 38, 38, .22);
  color: var(--red);
  background: #fff7f7;
}

.modal-actions button.danger-action {
  color: #fff;
  background: linear-gradient(135deg, #e23b3b, #b91c1c);
}

.danger-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(221, 38, 38, .16);
  border-radius: 10px;
  background: #fff7f7;
}

.danger-note strong {
  display: block;
  color: var(--red);
  font-size: 15px;
  margin-bottom: 6px;
}

.danger-note p {
  margin: 0;
  color: #6f3b3b;
  font-size: 13px;
  line-height: 1.5;
}

.plain-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.plain-head h1 {
  font-size: 31px;
}

.outline-light-btn {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border: 1px solid rgba(0, 121, 93, .48);
  border-radius: 10px;
  color: var(--green-2);
  background: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.upload-card {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  text-align: left;
}

.upload-card > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--green);
  background: var(--mint);
}

.upload-card strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.upload-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.upload-card em {
  padding: 7px 10px;
  border-radius: 999px;
  color: #ba7c10;
  background: #fff1d8;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.record-form {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  min-width: 0;
}

.form-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 15px;
  padding: 18px 15px;
}

.form-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 20px;
}

.form-card h2 svg {
  color: var(--green);
}

.form-card label {
  min-width: 0;
  min-height: 48px;
  display: grid;
  grid-template-columns: 96px 1fr 24px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.form-card label > span {
  font-size: 14px;
  font-weight: 650;
}

.form-card label small {
  color: #858d96;
  font-weight: 400;
}

.form-card input,
.extra-card textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #dde2e6;
  border-radius: 8px;
  outline: none;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(255,255,255,.86);
}

.form-card input:focus,
.extra-card textarea:focus {
  border-color: rgba(0, 121, 93, .45);
  box-shadow: 0 0 0 3px rgba(0, 121, 93, .08);
}

.form-card label b {
  color: #6c747c;
  font-weight: 500;
}

.platform-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.platform-picker > span {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 650;
}

.platform-picker button {
  position: relative;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #252c34;
  font-size: 15px;
}

.platform-picker button.active {
  border-color: var(--green);
  color: var(--green);
  background: #f5fffb;
}

.platform-picker button svg {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.extra-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 12px;
}

.extra-card summary {
  min-width: 0;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 18px;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  list-style: none;
}

.extra-card summary::-webkit-details-marker {
  display: none;
}

.extra-card summary span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.extra-card summary span svg {
  color: var(--green);
}

.extra-card summary em {
  color: #7b848e;
  font-size: 12px;
  font-style: normal;
}

.extra-card textarea {
  display: block;
  width: calc(100% - 32px);
  min-height: 96px;
  margin: 0 16px 16px;
  padding: 12px;
  resize: vertical;
}

.save-button {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 58px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), #005d47);
  box-shadow: 0 14px 28px rgba(0, 121, 93, .22);
  font-size: 18px;
  font-weight: 850;
}

.sold-hero {
  padding-bottom: 16px;
}

.review-tip {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px 1fr 18px;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  padding: 10px 14px;
  border-radius: 13px;
  text-align: left;
  color: #222b32;
}

.review-tip span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.review-tip b {
  font-size: 14px;
  font-weight: 700;
}

.review-tip em {
  color: var(--red);
  font-style: normal;
}

.sale-card-main {
  grid-template-columns: 88px 1fr 76px;
}

.sale-status {
  text-align: right;
}

.sale-status strong {
  display: block;
  color: #303840;
  font-size: 14px;
  font-weight: 500;
}

.sale-status span {
  display: block;
  margin-top: 20px;
  color: #737c86;
  font-size: 12px;
  line-height: 1.45;
}

.profit-pos {
  color: var(--green);
}

.profit-neg {
  color: var(--red);
}

.loss-pill {
  display: inline-flex;
  margin-top: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0ef;
  font-size: 11px;
  font-weight: 750;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100%, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 10px calc(9px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(7, 31, 35, .08);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -12px 28px rgba(15, 42, 38, .06);
}

.bottom-nav button {
  min-height: 52px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #7b848e;
  font-size: 12px;
}

.bottom-nav svg {
  width: 25px;
  height: 25px;
  stroke-width: 2;
}

.bottom-nav button.active {
  color: var(--green);
  font-weight: 800;
}

.bottom-nav button.active span {
  position: relative;
}

.bottom-nav button.active span::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 22px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: currentColor;
}

.modal-root {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-items: end;
  justify-items: center;
  background: rgba(4, 20, 18, .34);
}

.modal-root.hidden,
.toast.hidden {
  display: none;
}

.modal-sheet {
  width: min(100%, 430px);
  max-height: 86vh;
  overflow: auto;
  padding: 18px;
  border-radius: 20px 20px 0 0;
  background: #fff;
  box-shadow: 0 -20px 44px rgba(0,0,0,.16);
}

.modal-sheet h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.modal-sheet label {
  display: block;
  margin: 10px 0;
}

.modal-sheet label span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 13px;
}

.modal-sheet input,
.modal-sheet textarea,
.modal-sheet select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid #dde2e6;
  border-radius: 9px;
  padding: 0 12px;
  outline: 0;
}

.modal-sheet textarea {
  padding: 12px;
}

.import-preview {
  display: grid;
  gap: 8px;
  max-width: 100%;
  margin-top: 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.import-preview strong {
  color: var(--ink);
  font-size: 13px;
}

.import-preview-row {
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfa;
  min-width: 0;
}

.import-preview-row span,
.import-preview-row em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.import-preview-row b {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.recognize-upload {
  display: grid !important;
  grid-template-columns: 46px 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  border: 1px dashed rgba(0, 121, 93, .36);
  border-radius: 12px;
  background: #f6fbf9;
}

.recognize-upload input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.recognize-upload > span {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: grid !important;
  place-items: center;
  margin: 0 !important;
  border-radius: 12px;
  color: var(--green);
  background: var(--mint);
}

.recognize-upload strong {
  min-width: 0;
  font-size: 15px;
}

.recognize-upload small,
.recognize-status small {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.recognize-preview {
  margin: 10px 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f4;
}

.recognize-preview.hidden {
  display: none;
}

.recognize-preview img {
  width: 100%;
  max-height: 220px;
  display: block;
  object-fit: contain;
}

.recognize-status {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #f8faf9;
  border: 1px solid var(--line);
}

.recognize-status strong {
  color: var(--green);
  font-size: 14px;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.modal-actions.single {
  grid-template-columns: 1fr;
}

.platform-options {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.platform-options button {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr 20px;
  align-items: center;
  gap: 10px;
  border: 1px solid #dde2e6;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  padding: 0 14px;
}

.platform-options button.active {
  color: var(--green);
  border-color: rgba(0, 121, 93, .28);
  background: var(--mint);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  transform: translateX(-50%);
  width: min(360px, calc(100% - 34px));
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  background: rgba(7, 31, 35, .94);
  text-align: center;
  font-size: 13px;
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

@media (max-width: 374px) {
  .screen {
    padding-left: 16px;
    padding-right: 16px;
  }

  .deep-hero {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-head {
    grid-template-columns: 60px 1fr 36px;
    gap: 10px;
  }

  .brand-mark {
    width: 60px;
    height: 60px;
  }

  .home-head h1,
  .plain-head h1,
  .deep-hero h1 {
    font-size: 25px;
  }

  .priority-card {
    grid-template-columns: 1fr 112px;
    padding: 20px 16px;
  }

  .priority-card img {
    width: 106px;
    height: 106px;
  }

  .priority-copy strong {
    font-size: 25px;
  }

  .metric-grid {
    gap: 8px;
  }

  .metric-grid article {
    padding: 14px 10px;
  }

  .metric-grid strong {
    font-size: 22px;
  }

  .inventory-card-main,
  .sale-card-main {
    grid-template-columns: 78px 1fr 64px;
    gap: 10px;
  }

  .inventory-card-main .thumb,
  .sale-card-main .thumb {
    width: 78px;
    height: 78px;
  }

  .inventory-facts strong,
  .sale-facts strong {
    font-size: 13px;
  }

  .form-card label {
    grid-template-columns: 82px 1fr 20px;
  }
}


/* Boss console V1 candidate, isolated namespace. */
body.boss-console-mode {
  background: #f6f8f7;
}

.boss-console[hidden],
body:not(.boss-console-mode) .boss-console {
  display: none !important;
}

.boss-console {
  min-height: 100vh;
  display: none;
  grid-template-columns: 172px minmax(0, 1fr);
  color: #16231f;
  background: #f6f8f7;
  letter-spacing: 0;
}

body.boss-console-mode .boss-console:not([hidden]) {
  display: grid;
}

.boss-console-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 16px 8px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #e7f3f0;
  background: linear-gradient(180deg, #062b30 0%, #031922 100%);
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.boss-console-brand {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border: 0;
}

.boss-console-brand > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #ffffff;
  background: #10836c;
}

.boss-console-brand > span svg {
  width: 17px;
  height: 17px;
}

.boss-console-brand strong {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.boss-console-nav {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.boss-console-nav button {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px 0 13px;
  color: rgba(255, 255, 255, .86);
  background: transparent;
  text-align: left;
  font-size: 13px;
  font-weight: 850;
}

.boss-console-nav button.active,
.boss-console-nav button:hover {
  color: #ffffff;
  background: #00795d;
}

.boss-console-nav svg {
  width: 17px;
  height: 17px;
}

.boss-console-nav b {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #ef3434;
  font-size: 10px;
  line-height: 1;
}

.boss-console-identity {
  margin-top: auto;
  min-height: 68px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 20px;
  gap: 9px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, .08);
}

.boss-console-avatar,
.boss-console-initial {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.boss-console-avatar {
  width: 34px;
  height: 34px;
  color: #ffffff;
  background: #78908b;
}

.boss-console-identity strong,
.boss-console-identity em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-console-identity strong {
  color: #ffffff;
  font-size: 12px;
}

.boss-console-identity em {
  margin-top: 3px;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
  font-style: normal;
}

.boss-console-identity button,
.boss-console-settings {
  display: inline-grid;
  place-items: center;
  border: 0;
  color: rgba(255, 255, 255, .86);
  background: transparent;
}

.boss-console-settings {
  width: 34px;
  height: 34px;
  margin-left: auto;
}

.boss-console-settings svg {
  width: 19px;
  height: 19px;
}

.boss-console-main {
  min-width: 0;
  min-height: 100vh;
  display: grid;
  grid-template-rows: 64px auto minmax(0, 1fr) auto;
  padding: 0;
  background: #f6f8f7;
}

.boss-console-topbar {
  min-width: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px 0 22px;
  margin: 0;
  border-bottom: 1px solid #e6ebe9;
  background: #ffffff;
}

.boss-console-title {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}

.boss-console-topbar h1 {
  margin: 0;
  color: #101918;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.boss-console-team-select {
  height: 36px;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #dfe6e4;
  border-radius: 7px;
  background: #ffffff;
}

.boss-console-team-select span {
  color: #4d5b57;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-team-select select {
  border: 0;
  outline: 0;
  color: #1d2a27;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-toolbar-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.boss-console-range-tabs {
  height: 36px;
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid #dfe6e4;
  border-radius: 8px;
  background: #ffffff;
}

.boss-console-range-tabs button {
  min-width: 54px;
  border: 0;
  border-radius: 6px;
  padding: 0 10px;
  color: #2d3936;
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.boss-console-range-tabs button.active {
  color: #ffffff;
  background: #00795d;
  box-shadow: 0 2px 6px rgba(0, 121, 93, .2);
}

.boss-console-search {
  width: 356px;
  height: 36px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  border: 1px solid #dfe6e4;
  border-radius: 7px;
  background: #ffffff;
}

.boss-console-search svg {
  justify-self: center;
  width: 17px;
  height: 17px;
  color: #53615d;
}

.boss-console-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1d2a27;
  font-size: 12px;
  font-weight: 750;
}

.boss-console-notify {
  position: relative;
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #182522;
  background: transparent;
}

.boss-console-notify svg {
  width: 21px;
  height: 21px;
}

.boss-console-notify b {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: #ef3434;
  font-size: 10px;
}

.boss-console-kpi-strip,
.boss-console-panel,
.boss-console-bottom-panel {
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .035);
}

.boss-console-kpi-strip {
  margin: 18px 18px 14px;
  overflow: hidden;
}

.boss-console-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}

.boss-console-kpi-card {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: 22px 38px 20px;
  align-content: center;
  column-gap: 12px;
  padding: 20px 18px;
  border-right: 1px solid #e5ebe9;
  background: #ffffff;
}

.boss-console-kpi-card:last-child {
  border-right: 0;
}

.boss-console-kpi-icon {
  grid-row: 1 / 4;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #e8f6ef;
  color: #00815f;
}

.boss-console-kpi-icon svg {
  width: 25px;
  height: 25px;
}

.boss-console-kpi-card.kpi-cyan .boss-console-kpi-icon {
  background: #e3f8f2;
  color: #007866;
}

.boss-console-kpi-card.kpi-blue .boss-console-kpi-icon {
  background: #eaf1ff;
  color: #2f76df;
}

.boss-console-kpi-card.kpi-mint .boss-console-kpi-icon {
  background: #e8f7ee;
  color: #0b8f55;
}

.boss-console-kpi-card.kpi-orange .boss-console-kpi-icon {
  background: #fff4df;
  color: #ec8b00;
}

.boss-console-kpi-card.kpi-red .boss-console-kpi-icon {
  background: #fff1e8;
  color: #f05437;
}

.boss-console-kpi-card span,
.boss-console-kpi-card em {
  color: #697672;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.boss-console-kpi-card strong {
  color: #101918;
  font-size: 27px;
  line-height: 1;
  font-weight: 950;
}

.boss-console-kpi-card em b {
  color: #00815f;
  font-weight: 900;
}

.boss-console-kpi-card em b.danger {
  color: #ef3434;
}

.boss-console-main-grid {
  min-height: 0;
  height: clamp(440px, calc(100vh - 428px), 610px);
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(470px, 1.45fr) minmax(260px, .72fr);
  gap: 14px;
  margin: 0 18px;
}

.boss-console-panel {
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.boss-console-section-head {
  height: 58px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  margin: 0;
  border-bottom: 1px solid #e8eeec;
}

.boss-console-section-head h2 {
  margin: 0;
  color: #13201d;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 950;
}

.boss-console-section-head h2 b {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 4px 1px 6px;
  border-radius: 999px;
  background: #00795d;
}

.boss-console-section-head h2 em,
.boss-console-section-head span,
.boss-console-section-head button {
  color: #697672;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.boss-console-section-head h2 em {
  color: #00815f;
}

.boss-console-section-head button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
}

.boss-console-section-head button svg {
  width: 14px;
  height: 14px;
}

.boss-console-layer-tabs {
  height: 43px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #e8eeec;
}

.boss-console-layer-tabs button {
  position: relative;
  border: 0;
  background: #ffffff;
  color: #697672;
  font-size: 12px;
  font-weight: 850;
}

.boss-console-layer-tabs button strong {
  display: none;
}

.boss-console-layer-tabs button.active {
  color: #00795d;
}

.boss-console-layer-tabs button.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 2px;
  background: #00795d;
}

.boss-console-student-table,
.boss-console-activity-table {
  min-width: 0;
}

.boss-console-student-table {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100% - 101px);
}

.boss-console-table-head {
  display: grid;
  align-items: center;
  min-height: 38px;
  border-bottom: 1px solid #edf2f0;
  color: #7b8783;
  font-size: 11px;
  font-weight: 850;
}

.boss-console-student-table .boss-console-table-head,
.boss-console-student-row {
  grid-template-columns: 78px 88px 62px 78px 72px;
  column-gap: 8px;
  padding: 0 14px;
}

.boss-console-activity-table .boss-console-table-head,
.boss-console-activity-row {
  grid-template-columns: 72px minmax(112px, 1fr) 46px 48px 66px 56px 70px;
  column-gap: 8px;
  padding: 0 12px;
}

.boss-console-student-row,
.boss-console-activity-row {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  display: grid;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #edf2f0;
  border-radius: 0;
  background: #ffffff;
  color: #1a2724;
  text-align: left;
  font-size: 12px;
}

.boss-console-student-row:hover,
.boss-console-activity-row:hover {
  background: #fbfdfc;
}

.boss-console-student-name,
.boss-console-product-cell {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.boss-console-student-name.compact {
  gap: 7px;
}

.boss-console-initial {
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  color: #2464b4;
  background: #eaf2ff;
  font-style: normal;
  font-size: 12px;
}

.boss-console-initial.green {
  color: #00795d;
  background: #e8f7ee;
}

.boss-console-initial.purple {
  color: #7650a4;
  background: #f2ecfb;
}

.boss-console-initial.orange {
  color: #b36a12;
  background: #fff2e2;
}

.boss-console-initial.red {
  color: #b42318;
  background: #fff0ed;
}

.boss-console-student-name b,
.boss-console-product-cell b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 900;
}

.boss-console-student-row > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-console-student-row .success {
  color: #00795d;
  font-weight: 900;
}

.boss-console-student-row .danger {
  color: #ef3434;
  font-weight: 900;
}

.boss-console-panel-footer {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  color: #68736f;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-panel-footer button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 0;
  color: #697672;
  background: transparent;
  font-size: 12px;
  font-weight: 850;
}

.boss-console-panel-footer svg {
  width: 14px;
  height: 14px;
}

.boss-console-risk,
.boss-console-status,
.boss-console-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border-radius: 5px;
  padding: 0 7px;
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
}

.boss-console-risk.low,
.boss-console-status {
  color: #00795d;
  background: #e7f5ee;
}

.boss-console-risk.mid,
.boss-console-status.warn {
  color: #d37a00;
  background: #fff4df;
}

.boss-console-risk.high {
  color: #ef3434;
  background: #fff0ed;
}

.boss-console-product-cell img {
  flex: 0 0 auto;
  width: 46px;
  height: 32px;
  object-fit: contain;
  border-radius: 5px;
  background: #f5f7f6;
}

.boss-console-action.buy {
  color: #2f76df;
  background: #eaf1ff;
}

.boss-console-action.sale {
  color: #00795d;
  background: #e7f5ee;
}

.boss-console-activity-row strong {
  color: #00795d;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.boss-console-task-list {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.boss-console-task {
  min-height: 68px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  gap: 9px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid #e8eeec;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: none;
}

.boss-console-task-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #00795d;
  background: #e7f5ee;
}

.boss-console-task-icon.danger {
  color: #ef3434;
  background: #fff0ed;
}

.boss-console-task-icon svg {
  width: 20px;
  height: 20px;
}

.boss-console-task strong,
.boss-console-task p,
.boss-console-task em {
  min-width: 0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boss-console-task strong {
  color: #172522;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.boss-console-task p {
  margin: 4px 0 0;
  color: #6a7672;
  font-size: 12px;
  line-height: 1.25;
  white-space: nowrap;
}

.boss-console-task em {
  margin-top: 3px;
  color: #7c8783;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

.boss-console-task button {
  width: 22px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 0;
  color: #6f7a76;
  background: transparent;
}

.boss-console-task button svg {
  width: 16px;
  height: 16px;
}

.boss-console-empty {
  min-width: 0;
  min-height: 76px;
  display: grid;
  place-items: center;
  color: #75817d;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-bottom-panel {
  min-height: 174px;
  margin: 18px;
  overflow: hidden;
}

.boss-console-bottom-head {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid #e8eeec;
}

.boss-console-bottom-head h2 {
  margin: 0;
  color: #13201d;
  font-size: 16px;
  font-weight: 950;
}

.boss-console-bottom-head span {
  margin-left: 14px;
  color: #7a8581;
  font-size: 12px;
  font-weight: 750;
}

.boss-console-health-summary {
  display: flex;
  align-items: center;
  gap: 10px;
}

.boss-console-health-summary span,
.boss-console-health-summary small,
.boss-console-health-card span,
.boss-console-health-card em {
  color: #6d7975;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.boss-console-health-summary strong {
  color: #00795d;
  font-size: 31px;
  line-height: 1;
  font-weight: 950;
}

.boss-console-health-summary em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 10px;
  color: #00795d;
  background: #e7f5ee;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.boss-console-health-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.boss-console-health-card {
  min-height: 116px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 22px 30px 18px 22px;
  column-gap: 12px;
  align-content: center;
  padding: 14px 18px;
  border-right: 1px solid #e8eeec;
}

.boss-console-health-card:last-child {
  border-right: 0;
}

.boss-console-health-icon {
  grid-row: 1 / 4;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  color: #00795d;
  background: #e7f5ee;
}

.boss-console-health-card.warn .boss-console-health-icon {
  color: #ef7d00;
  background: #fff3df;
}

.boss-console-health-icon svg {
  width: 20px;
  height: 20px;
}

.boss-console-health-card strong {
  color: #101918;
  font-size: 21px;
  font-weight: 950;
}

.boss-console-health-card > svg[viewBox] {
  grid-column: 1 / 3;
  width: 100%;
  height: 22px;
  margin-top: 8px;
}

.boss-console-health-card > svg[viewBox] polyline {
  fill: none;
  stroke: #00795d;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.boss-console-health-card.warn > svg[viewBox] polyline {
  stroke: #ef7d00;
}

.boss-console-muted {
  color: #6d7975;
  font-size: 12px;
}

.boss-console-drawer {
  border-left: 1px solid #dfe7e4;
  box-shadow: -20px 0 40px rgba(18, 38, 36, .16);
}

@media (max-width: 1100px) {
  .boss-console {
    grid-template-columns: 1fr;
  }

  .boss-console-sidebar {
    position: static;
    height: auto;
  }

  .boss-console-nav {
    display: flex;
    overflow-x: auto;
  }

  .boss-console-nav button {
    flex: 0 0 auto;
  }

  .boss-console-main {
    display: block;
  }

  .boss-console-topbar,
  .boss-console-title,
  .boss-console-toolbar-actions {
    height: auto;
    flex-wrap: wrap;
  }

  .boss-console-topbar {
    padding: 12px;
  }

  .boss-console-kpis,
  .boss-console-main-grid,
  .boss-console-health-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boss-console-main-grid {
    height: auto;
  }

  .boss-console-task-panel,
  .boss-console-bottom-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .boss-console-toolbar-actions,
  .boss-console-search,
  .boss-console-team-select,
  .boss-console-range-tabs {
    width: 100%;
  }

  .boss-console-kpis,
  .boss-console-main-grid,
  .boss-console-health-grid {
    grid-template-columns: 1fr;
  }

  .boss-console-kpi-card,
  .boss-console-health-card {
    border-right: 0;
    border-bottom: 1px solid #e8eeec;
  }

  .boss-console-student-table,
  .boss-console-activity-table {
    overflow-x: auto;
  }

  .boss-console-student-table .boss-console-table-head,
  .boss-console-student-row {
    min-width: 380px;
  }

  .boss-console-activity-table .boss-console-table-head,
  .boss-console-activity-row {
    min-width: 560px;
  }

  .boss-console-drawer-metrics {
    grid-template-columns: 1fr;
  }
}

/* v003 narrow viewport containment: keep boss console from creating page-level horizontal scroll. */
@media (max-width: 1280px) and (min-width: 1101px) {
  .boss-console-topbar {
    gap: 10px;
    padding-right: 14px;
    padding-left: 16px;
  }

  .boss-console-title {
    gap: 12px;
  }

  .boss-console-team-select {
    min-width: 148px;
  }

  .boss-console-toolbar-actions {
    gap: 10px;
  }

  .boss-console-search {
    width: 260px;
  }

  .boss-console-kpi-card {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 9px;
    padding: 18px 12px;
  }

  .boss-console-kpi-icon {
    width: 44px;
    height: 44px;
  }

  .boss-console-kpi-card strong {
    font-size: 24px;
  }

  .boss-console-main-grid {
    grid-template-columns: minmax(300px, 1fr) minmax(430px, 1.35fr) minmax(230px, .72fr);
  }

  .boss-console-activity-table .boss-console-table-head,
  .boss-console-activity-row {
    grid-template-columns: 64px minmax(96px, 1fr) 42px 42px 58px 48px 58px;
    column-gap: 6px;
  }

  .boss-console-health-card {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 9px;
    padding: 14px 12px;
  }
}

@media (max-width: 560px) {
  .boss-console {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .boss-console-sidebar,
  .boss-console-main,
  .boss-console-topbar,
  .boss-console-kpi-strip,
  .boss-console-main-grid,
  .boss-console-bottom-panel,
  .boss-console-panel {
    max-width: 100%;
  }

  .boss-console-topbar {
    overflow: hidden;
  }

  .boss-console-student-table,
  .boss-console-activity-table {
    overflow-x: hidden;
  }

  .boss-console-student-table .boss-console-table-head,
  .boss-console-student-row {
    min-width: 0;
    grid-template-columns: minmax(88px, 1fr) 76px 58px;
    column-gap: 6px;
    padding: 0 10px;
  }

  .boss-console-student-table .boss-console-table-head > span:nth-child(n + 4),
  .boss-console-student-row > span:nth-child(n + 4) {
    display: none;
  }

  .boss-console-activity-table .boss-console-table-head,
  .boss-console-activity-row {
    min-width: 0;
    grid-template-columns: 56px minmax(88px, 1fr) 40px 58px 54px;
    column-gap: 6px;
    padding: 0 9px;
  }

  .boss-console-activity-table .boss-console-table-head > span:nth-child(4),
  .boss-console-activity-table .boss-console-table-head > span:nth-child(6),
  .boss-console-activity-row > span:nth-child(4),
  .boss-console-activity-row > span:nth-child(6) {
    display: none;
  }

  .boss-console-bottom-head {
    height: auto;
    min-height: 58px;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* v004 boss independent pages: route-level page surfaces, no anchor-scroll navigation. */
.boss-console-page-root {
  min-width: 0;
  min-height: 0;
}

.boss-console-page {
  min-width: 0;
  padding: 0 0 18px;
}

.boss-console-page-head {
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 18px 18px 14px;
  padding: 17px 18px;
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .035);
}

.boss-console-page-head span {
  display: block;
  color: #00795d;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.boss-console-page-head h2 {
  margin: 5px 0 0;
  color: #101918;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 950;
}

.boss-console-page-head p {
  max-width: 780px;
  margin: 7px 0 0;
  color: #697672;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 750;
}

.boss-console-page-head > strong {
  min-width: 82px;
  color: #00795d;
  font-size: 26px;
  line-height: 1;
  text-align: right;
  font-weight: 950;
}

.boss-console-page-head > button,
.boss-console-task-detail footer button,
.boss-console-application-card footer button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 121, 93, .18);
  border-radius: 7px;
  color: #00795d;
  background: #eff9f5;
  font-size: 12px;
  font-weight: 900;
}

.boss-console-page-head > button svg {
  width: 15px;
  height: 15px;
}

.boss-console-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 18px 14px;
  padding: 10px;
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .03);
}

.boss-console-filter-segment {
  min-width: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.boss-console-filter-segment button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dfe6e4;
  border-radius: 7px;
  padding: 0 10px;
  color: #394743;
  background: #ffffff;
  font-size: 12px;
  font-weight: 850;
}

.boss-console-filter-segment button.active {
  border-color: #00795d;
  color: #ffffff;
  background: #00795d;
}

.boss-console-filter-segment b {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #00795d;
  background: #e7f5ee;
  font-size: 10px;
}

.boss-console-filter-segment button.active b {
  color: #00795d;
  background: #ffffff;
}

.boss-console-page-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  margin: 0 18px;
}

.boss-console-page-panel,
.boss-console-side-panel {
  min-width: 0;
}

.boss-console-page-table {
  min-height: 0;
}

.boss-console-side-panel {
  align-self: start;
}

.boss-console-summary-list {
  display: grid;
  gap: 0;
}

.boss-console-summary-list button {
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 8px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #edf2f0;
  padding: 0 14px;
  color: #172522;
  background: #ffffff;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
}

.boss-console-summary-list button:last-child {
  border-bottom: 0;
}

.boss-console-summary-list strong {
  color: #00795d;
  font-size: 18px;
  font-weight: 950;
}

.boss-console-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 18px;
}

.boss-console-application-card {
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .035);
}

.boss-console-application-card header {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.boss-console-application-card header strong,
.boss-console-application-card header em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-console-application-card header strong {
  color: #172522;
  font-size: 14px;
  font-weight: 950;
}

.boss-console-application-card header em,
.boss-console-application-card p {
  color: #697672;
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.boss-console-application-card p {
  margin: 0;
  line-height: 1.45;
}

.boss-console-mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 7px;
  background: #f7faf9;
}

.boss-console-mini-metrics span {
  min-width: 0;
  padding: 10px;
  border-right: 1px solid #e8eeec;
  color: #6d7975;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-mini-metrics span:last-child {
  border-right: 0;
}

.boss-console-mini-metrics strong {
  display: block;
  margin-top: 4px;
  color: #101918;
  font-size: 15px;
  font-weight: 950;
}

.boss-console-application-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boss-console-application-card footer button {
  flex: 1 1 84px;
}

.boss-console-application-card footer button.primary {
  border-color: #00795d;
  color: #ffffff;
  background: #00795d;
}

.boss-console-application-card footer button.danger {
  border-color: rgba(239, 52, 52, .24);
  color: #ef3434;
  background: #fff0ed;
}

.boss-console-application-card footer button:disabled {
  cursor: wait;
  opacity: .68;
}

.boss-console-data-table {
  min-width: 0;
  overflow: hidden;
}

.boss-console-data-head,
.boss-console-data-row {
  min-width: 0;
  display: grid;
  align-items: center;
  column-gap: 10px;
  padding: 0 14px;
}

.boss-console-data-head {
  min-height: 40px;
  border-bottom: 1px solid #edf2f0;
  color: #7b8783;
  font-size: 11px;
  font-weight: 900;
}

.boss-console-data-row {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-bottom: 1px solid #edf2f0;
  border-radius: 0;
  color: #1a2724;
  background: #ffffff;
  text-align: left;
  font-size: 12px;
  font-weight: 750;
}

.boss-console-data-row:last-child {
  border-bottom: 0;
}

.boss-console-data-row:hover {
  background: #fbfdfc;
}

.boss-console-data-row > span,
.boss-console-data-row > strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.boss-console-data-row > strong {
  font-weight: 950;
}

.boss-console-data-row .success {
  color: #00795d;
}

.boss-console-data-row .danger {
  color: #ef3434;
}

.boss-console-data-table.purchases .boss-console-data-head,
.boss-console-data-table.purchases .boss-console-data-row {
  grid-template-columns: minmax(210px, 1.35fr) 100px 86px 86px 92px 88px;
}

.boss-console-data-table.inventory .boss-console-data-head,
.boss-console-data-table.inventory .boss-console-data-row {
  grid-template-columns: minmax(220px, 1.35fr) 78px 58px 88px 74px 82px 118px;
}

.boss-console-data-table.sales .boss-console-data-head,
.boss-console-data-table.sales .boss-console-data-row {
  grid-template-columns: minmax(220px, 1.35fr) 78px 88px 82px 84px 62px 84px;
}

.boss-console-data-table.quality .boss-console-data-head,
.boss-console-data-table.quality .boss-console-data-row {
  grid-template-columns: 92px 78px minmax(160px, 1fr) minmax(220px, 1.15fr) 58px 86px;
}

.boss-console-row-actions {
  display: inline-flex;
  gap: 5px;
}

.boss-console-row-actions em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 7px;
  color: #00795d;
  background: #e7f5ee;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.boss-console-task-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 18px;
}

.boss-console-task-detail {
  min-width: 0;
  display: grid;
  gap: 12px;
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .035);
}

.boss-console-task-detail header {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.boss-console-task-detail header strong,
.boss-console-task-detail header p {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.boss-console-task-detail header strong {
  color: #172522;
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.boss-console-task-detail header p,
.boss-console-task-note {
  margin: 4px 0 0;
  color: #6a7672;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 750;
}

.boss-console-task-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 7px;
  background: #e8eeec;
}

.boss-console-task-meta span {
  min-width: 0;
  padding: 9px 10px;
  color: #53615d;
  background: #f7faf9;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
}

.boss-console-task-detail footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.boss-console-task-detail footer button {
  flex: 1 1 96px;
}

.boss-console-quality-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 18px 14px;
}

.boss-console-quality-metrics article {
  min-width: 0;
  min-height: 102px;
  display: grid;
  align-content: center;
  gap: 7px;
  border: 1px solid #e5ebe9;
  border-radius: 8px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(17, 33, 30, .035);
}

.boss-console-quality-metrics span,
.boss-console-quality-metrics em {
  color: #697672;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.boss-console-quality-metrics strong {
  color: #101918;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
}

.boss-console-page-empty {
  grid-column: 1 / -1;
  min-height: 140px;
  gap: 8px;
}

.boss-console-page-empty svg {
  width: 24px;
  height: 24px;
  color: #00795d;
}

.boss-console-page-empty strong {
  color: #172522;
  font-size: 14px;
  font-weight: 950;
}

.boss-console-page-empty p {
  margin: 0;
  color: #6d7975;
  font-size: 12px;
  font-weight: 750;
}

.boss-console-status.danger {
  color: #ef3434;
  background: #fff0ed;
}

@media (max-width: 1100px) {
  .boss-console-page-grid,
  .boss-console-card-grid,
  .boss-console-task-board,
  .boss-console-quality-metrics {
    grid-template-columns: 1fr;
  }

  .boss-console-data-table.purchases .boss-console-data-head,
  .boss-console-data-table.purchases .boss-console-data-row,
  .boss-console-data-table.inventory .boss-console-data-head,
  .boss-console-data-table.inventory .boss-console-data-row,
  .boss-console-data-table.sales .boss-console-data-head,
  .boss-console-data-table.sales .boss-console-data-row,
  .boss-console-data-table.quality .boss-console-data-head,
  .boss-console-data-table.quality .boss-console-data-row {
    grid-template-columns: minmax(180px, 1.2fr) repeat(5, minmax(72px, 1fr));
  }
}

@media (max-width: 560px) {
  .boss-console-page {
    padding-bottom: 12px;
  }

  .boss-console-page-head,
  .boss-console-filterbar,
  .boss-console-page-grid,
  .boss-console-card-grid,
  .boss-console-task-board,
  .boss-console-quality-metrics {
    margin-right: 10px;
    margin-left: 10px;
  }

  .boss-console-page-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .boss-console-page-head > strong {
    text-align: left;
  }

  .boss-console-filter-segment {
    width: 100%;
  }

  .boss-console-filter-segment button {
    flex: 1 1 106px;
  }

  .boss-console-data-head {
    display: none;
  }

  .boss-console-data-table.purchases .boss-console-data-row,
  .boss-console-data-table.inventory .boss-console-data-row,
  .boss-console-data-table.sales .boss-console-data-row,
  .boss-console-data-table.quality .boss-console-data-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px 10px;
    align-items: start;
    min-height: 0;
    padding: 12px;
  }

  .boss-console-data-row .boss-console-product-cell {
    grid-column: 1 / -1;
  }

  .boss-console-data-row > span,
  .boss-console-data-row > strong {
    white-space: normal;
  }

  .boss-console-application-card header,
  .boss-console-task-detail header {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .boss-console-application-card header > b,
  .boss-console-task-detail header > b {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .boss-console-task-meta,
  .boss-console-mini-metrics {
    grid-template-columns: 1fr;
  }

  .boss-console-mini-metrics span {
    border-right: 0;
    border-bottom: 1px solid #e8eeec;
  }

  .boss-console-mini-metrics span:last-child {
    border-bottom: 0;
  }
}
