:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC",
    "Microsoft JhengHei", Arial, sans-serif;
  color: #201b28;
  background: #fff9fd;
  font-synthesis: none;
  --ink: #241c2c;
  --muted: #7b7382;
  --pink: #ed308c;
  --darkpink: #cc2678;
  --border: #eee8ef;
  --soft: #fcf4f9;
  --sh: 0 14px 38px rgba(73, 31, 71, 0.09);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ee82be;
  outline-offset: 3px;
}
.container {
  width: min(1100px, calc(100% - 40px));
  margin: auto;
}
.shell {
  min-height: 100vh;
  padding-bottom: 104px;
}
.notice {
  background: #29172c;
  color: #fff;
  text-align: center;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.015em;
}
.notice b {
  color: #ffe58d;
}
.topbar {
  background: #fffbfd;
  border-bottom: 1px solid #f6edf3;
  position: sticky;
  top: 0;
  z-index: 30;
}
.topbar-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 900;
  font-size: 25px;
  letter-spacing: -1.3px;
}
.brand-dot {
  color: var(--pink);
}
.brand-icon {
  width: 35px;
  height: 35px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffbc71, #ff278b 68%, #84dbf1);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}
.topright {
  display: flex;
  gap: 10px;
  align-items: center;
}
.role-select {
  border: 1px solid #efdce8;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 13px;
  color: #524459;
  max-width: 162px;
}
.head-cta {
  border: 0;
  background: #fce8f3;
  color: #b8226c;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 750;
  font-size: 13px;
}
.desktop-nav {
  display: flex;
  gap: 5px;
  margin-left: auto;
}
.desktop-nav button {
  border: 0;
  background: transparent;
  padding: 11px 15px;
  color: #605768;
  font-weight: 650;
  border-radius: 11px;
}
.desktop-nav button.active,
.desktop-nav button:hover {
  background: #fff0f7;
  color: var(--pink);
}
.hero {
  margin-top: 25px;
  background:
    radial-gradient(ellipse at 72% 7%, #b8f2fb 0%, transparent 35%),
    radial-gradient(ellipse at 97% 95%, #ff419f 0%, transparent 39%),
    radial-gradient(ellipse at 49% 105%, #ffd8e5 0%, transparent 44%),
    linear-gradient(120deg, #fff9fc, #fff4fa);
  border-radius: 31px;
  min-height: 326px;
  padding: 41px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(252, 79, 153, 0.08);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 590px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 850;
  color: var(--pink);
  letter-spacing: 0.04em;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 57px);
  letter-spacing: -2.5px;
  line-height: 1.16;
  margin: 10px 0 16px;
}
.hero p {
  font-size: 16px;
  color: #716879;
  line-height: 1.8;
  max-width: 440px;
  margin: 0 0 21px;
}
.searchbar {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(240, 224, 233, 0.95);
  border-radius: 17px;
  padding: 6px 6px 6px 15px;
  box-shadow: 0 7px 23px rgba(100, 45, 77, 0.055);
  max-width: 530px;
}
.searchbar svg {
  color: #aca0b0;
}
.searchbar input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 9px 2px;
  font-size: 15px;
}
.searchbar button,
.btn-primary {
  border: 0;
  background: linear-gradient(115deg, #ff5b45, #fa228f);
  color: #fff;
  font-weight: 800;
  padding: 13px 22px;
  border-radius: 12px;
  box-shadow: 0 5px 16px rgba(236, 48, 139, 0.2);
}
.searchbar button:hover,
.btn-primary:hover {
  filter: brightness(0.97);
}
.mascot-wrap {
  position: absolute;
  right: 58px;
  top: 31px;
  width: 270px;
  height: 270px;
  transform: rotate(-4deg);
}
.mascot-aura {
  position: absolute;
  inset: 0;
  border-radius: 42% 58% 55% 45%;
  background: linear-gradient(35deg, #69d5eb, #f7bb71, #f35396, #8f77fc);
  transform: rotate(19deg);
}
.mascot-back {
  position: absolute;
  inset: 16px;
  border-radius: 46% 50% 48% 48%;
  background: #504953;
}
.ear {
  position: absolute;
  top: 67px;
  width: 66px;
  height: 73px;
  background: #fffcfd;
  border-radius: 50%;
  z-index: 2;
}
.ear.left {
  left: 63px;
}
.ear.right {
  right: 55px;
}
.bear {
  position: absolute;
  width: 180px;
  height: 205px;
  background: #fffcfd;
  border-radius: 64px 64px 18px 18px;
  left: 46px;
  top: 86px;
  z-index: 3;
}
.bear:before,
.bear:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #69626b;
  border-radius: 50%;
  top: 71px;
}
.bear:before {
  left: 48px;
}
.bear:after {
  right: 48px;
}
.nose {
  position: absolute;
  width: 36px;
  height: 23px;
  top: 88px;
  left: 72px;
  background: #767078;
  clip-path: polygon(0 18%, 50% 100%, 100% 18%, 75% 0, 25% 0);
}
.hero-sticker {
  position: absolute;
  right: 18px;
  top: 7px;
  z-index: 4;
  color: #d62579;
  background: #fff;
  padding: 8px 12px;
  box-shadow: 0 9px 15px rgba(127, 42, 89, 0.12);
  border-radius: 16px;
  font-weight: 900;
  transform: rotate(5deg);
}
.benefits {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 17px;
}
.benefits span {
  font-size: 12px;
  color: #695769;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #fae0ed;
  border-radius: 999px;
  padding: 8px 12px;
}
.section {
  margin-top: 39px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 14px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: 26px;
  letter-spacing: -0.9px;
  margin: 5px 0 0;
  line-height: 1.3;
}
.small-link {
  background: transparent;
  border: 0;
  color: #8b7c89;
  font-size: 14px;
  padding: 8px 0;
  white-space: nowrap;
}
.small-link:hover {
  color: var(--pink);
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}
.category-card {
  background: #fff;
  min-height: 165px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(73, 31, 71, 0.04);
  border-radius: 23px;
  padding: 19px 10px;
  text-align: center;
  transition:
    0.15s transform,
    0.15s border-color;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: #f2a6cb;
}
.category-card.selected {
  border-color: #f29ec6;
  background: linear-gradient(145deg, #fff, #fff2f8);
}
.category-icon {
  height: 57px;
  width: 57px;
  display: grid;
  place-items: center;
  background: #fff5fa;
  border-radius: 19px;
  font-size: 31px;
  margin-bottom: 6px;
}
.category-card strong {
  font-size: 17px;
}
.category-card small {
  font-size: 12px;
  color: #8e8190;
}
.promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 31px;
  border-radius: 27px;
  background: linear-gradient(106deg, #ff5b37, #fa0d8c 54%, #67cbed);
  color: #fff;
}
.promo-label {
  font-size: 12px;
  font-weight: 900;
  border-radius: 9px;
  padding: 5px 11px;
  background: #fff;
  color: #f03c81;
}
.promo h3 {
  font-size: 27px;
  margin: 13px 0 7px;
}
.promo p {
  margin: 0;
  color: #ffebf5;
  line-height: 1.6;
}
.promo .btn-white {
  border: 0;
  background: #fff;
  color: #d0277c;
  border-radius: 14px;
  padding: 13px 19px;
  font-weight: 850;
  white-space: nowrap;
}
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-tile {
  border-radius: 22px;
  padding: 23px 25px;
  background: #281c2e;
  color: #fff;
  min-height: 146px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.feature-tile.alt {
  background: linear-gradient(140deg, #432038, #113945);
}
.feature-tile h3 {
  font-size: 22px;
  margin: 7px 0;
}
.feature-tile p {
  color: #ded3df;
  font-size: 13px;
  margin: 0;
  line-height: 1.7;
}
.feature-tile button {
  background: #fc2b91;
  color: #fff;
  padding: 11px 15px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.partner-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 23px;
  overflow: hidden;
  box-shadow: 0 5px 22px rgba(52, 24, 48, 0.04);
}
.partner-top {
  height: 91px;
  background: linear-gradient(120deg, var(--start), var(--end));
  position: relative;
}
.avatar {
  width: 88px;
  height: 88px;
  background: linear-gradient(145deg, var(--start), var(--end));
  border-radius: 25px;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  border: 4px solid #fff;
  box-shadow: 0 3px 15px rgba(43, 19, 38, 0.1);
}
.partner-top .avatar {
  position: absolute;
  left: 19px;
  top: 27px;
}
.online-pill {
  position: absolute;
  right: 15px;
  top: 14px;
  background: #fff;
  color: #169967;
  border-radius: 100px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}
.online-pill.off {
  color: #8c8491;
}
.partner-body {
  padding: 34px 20px 20px;
}
.partner-body h3 {
  font-size: 19px;
  margin: 7px 0;
}
.partner-sub {
  font-size: 13px;
  color: var(--muted);
  min-height: 38px;
  line-height: 1.6;
  margin: 0;
}
.partner-rating {
  font-size: 13px;
  color: #766b7c;
  margin: 10px 0 16px;
}
.stars {
  color: #f8b23e;
  letter-spacing: 1px;
}
.partner-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #f1ebf0;
  padding-top: 14px;
}
.partner-price strong {
  font-size: 21px;
}
.partner-price small {
  font-size: 12px;
  color: var(--muted);
}
.btn-outline {
  border: 1px solid #efbfd6;
  color: #d6277b;
  background: #fff;
  border-radius: 11px;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 800;
}
.btn-outline:hover {
  background: #fff0f8;
}
.bottomnav {
  display: none;
}
.page-head {
  padding: 29px 0 10px;
}
.page-head h1 {
  font-size: 33px;
  margin: 6px 0;
}
.page-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}
.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.chip {
  padding: 10px 14px;
  border-radius: 99px;
  border: 1px solid #efdfeb;
  background: #fff;
  color: #69566a;
  font-size: 13px;
  font-weight: 750;
}
.chip.active {
  color: #c22174;
  background: #fff0f7;
  border-color: #f1b9d6;
}
.results-count {
  font-size: 13px;
  color: var(--muted);
  margin: 14px 0;
}
.listrows {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.listcard {
  background: #fff;
  border: 1px solid #eee8ee;
  border-radius: 20px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.listcard .avatar {
  width: 81px;
  height: 81px;
  border-radius: 21px;
  flex-shrink: 0;
  font-size: 27px;
}
.listcard-body {
  min-width: 0;
  flex: 1;
}
.listcard h3 {
  font-size: 18px;
  margin: 0 0 6px;
}
.listcard p {
  font-size: 13px;
  color: #7c7280;
  margin: 0 0 6px;
  line-height: 1.5;
}
.list-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.listprice {
  font-size: 17px;
  font-weight: 850;
}
.panel {
  background: #fff;
  border: 1px solid #f0e9f0;
  border-radius: 23px;
  padding: 22px;
  box-shadow: 0 8px 23px rgba(54, 20, 40, 0.035);
}
.muted {
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 65px 20px;
  background: #fff;
  border: 1px dashed #e8dae3;
  border-radius: 22px;
}
.empty-icon {
  font-size: 44px;
  margin-bottom: 13px;
}
.empty h3 {
  margin: 0 0 7px;
}
.empty p {
  font-size: 14px;
  color: #817483;
  line-height: 1.7;
}
.ordercard {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 17px;
  padding: 18px;
  margin-bottom: 12px;
  background: #fff;
}
.ordercard h3 {
  font-size: 17px;
  margin: 0 0 6px;
}
.ordercard p {
  font-size: 13px;
  color: #756b79;
  margin: 5px 0;
}
.ordercard .right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 100px;
  background: #fff0f7;
  color: #d5287f;
  font-weight: 750;
  font-size: 12px;
}
.tag.green {
  background: #e8f9f0;
  color: #12875e;
}
.tag.grey {
  background: #f2f0f2;
  color: #7a727c;
}
.tag.blue {
  background: #eaf4ff;
  color: #256fba;
}
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  border: 1px solid #f0e5ed;
  background: #fff;
  border-radius: 18px;
  padding: 18px;
}
.kpi small {
  display: block;
  color: #807184;
  margin-bottom: 12px;
  font-weight: 700;
}
.kpi strong {
  font-size: 26px;
}
.kpi span {
  font-size: 12px;
  color: #9a899b;
}
.table-wrap {
  overflow: auto;
  border: 1px solid #eee7ee;
  border-radius: 18px;
  background: #fff;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px;
}
th,
td {
  text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid #f1ebf0;
  font-size: 13px;
}
th {
  color: #776a7b;
  background: #fefafd;
  font-weight: 800;
}
tr:last-child td {
  border-bottom: 0;
}
.msg-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  min-height: 500px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 23px;
}
.msg-list {
  border-right: 1px solid #eee6ee;
  padding: 15px;
}
.msg-person {
  border: 0;
  background: transparent;
  padding: 15px;
  text-align: left;
  width: 100%;
  border-radius: 14px;
}
.msg-person.active {
  background: #fff0f7;
}
.msg-person strong {
  display: block;
  margin-bottom: 6px;
}
.msg-person small {
  color: #8f7f90;
}
.chatbox {
  display: flex;
  flex-direction: column;
  min-height: 490px;
}
.chat-header {
  font-weight: 800;
  padding: 18px 21px;
  border-bottom: 1px solid #f2edf2;
}
.chat-body {
  flex: 1;
  padding: 24px;
  background: linear-gradient(#fffbfd, #fff);
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}
.bubble {
  background: #f3eff5;
  color: #4c4250;
  padding: 11px 14px;
  border-radius: 15px 15px 15px 4px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.6;
}
.bubble.me {
  align-self: flex-end;
  background: #ffdfed;
  border-radius: 15px 15px 4px 15px;
}
.chat-compose {
  display: flex;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 15px;
}
.chat-compose input {
  flex: 1;
  min-width: 0;
  border-radius: 13px;
  border: 1px solid #eee2eb;
  padding: 12px;
}
.chat-compose button {
  border: 0;
  border-radius: 12px;
  padding: 11px 19px;
  background: #ed318d;
  color: white;
  font-weight: 750;
}
.profile-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-face {
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  background: linear-gradient(130deg, #f9b4cc, #a089f9);
  color: #fff;
  font-size: 32px;
  font-weight: 850;
}
.settings-rows {
  margin-top: 22px;
}
.settings-rows button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f0e9ef;
  background: #fff;
  padding: 19px 4px;
  text-align: left;
  color: #332536;
  font-weight: 700;
}
.settings-rows button:last-child {
  border: 0;
}
.page-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 17px;
}
.steps {
  margin: 0;
  padding-left: 23px;
  color: #6c5e70;
  font-size: 14px;
  line-height: 2.15;
}
.footer {
  padding: 44px 0 18px;
  color: #978997;
  text-align: center;
  font-size: 12px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 12, 29, 0.48);
  z-index: 80;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  overflow: auto;
}
.modal {
  background: #fff;
  width: min(560px, 100%);
  max-height: min(90vh, 850px);
  overflow: auto;
  border-radius: 27px;
  box-shadow: 0 20px 95px rgba(0, 0, 0, 0.2);
  padding: 25px;
}
.modal-wide {
  width: min(695px, 100%);
}
.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}
.modal-header h2 {
  font-size: 25px;
  margin: 4px 0;
}
.iconbtn {
  display: grid;
  place-items: center;
  border: 0;
  background: #f6f2f6;
  color: #564a5d;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  font-size: 23px;
}
.detail-cover {
  height: 136px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  padding: 20px;
  background: linear-gradient(120deg, var(--start), var(--end));
}
.detail-cover .avatar {
  width: 109px;
  height: 109px;
  font-size: 42px;
}
.detail-header {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 18px 0;
}
.detail-header h3 {
  font-size: 24px;
  margin: 0 0 5px;
}
.detail-header p {
  margin: 0;
  color: #7c7080;
  font-size: 14px;
}
.detail-desc {
  color: #706273;
  line-height: 1.9;
  font-size: 14px;
}
.detail-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 19px 0;
}
.detail-rows > div {
  background: #fdf5fa;
  padding: 14px;
  border-radius: 13px;
  font-size: 13px;
}
.detail-rows strong {
  display: block;
  font-size: 19px;
  margin-top: 5px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 13px 0;
}
.field label {
  font-size: 13px;
  font-weight: 750;
  color: #544858;
}
.field select,
.field input,
.field textarea {
  border: 1px solid #e9dfe8;
  border-radius: 13px;
  padding: 13px;
  outline: 0;
  background: #fff;
  width: 100%;
  color: #403543;
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.summary {
  padding: 17px;
  background: #fff5fa;
  border-radius: 16px;
  margin: 17px 0;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}
.summary-line.total {
  padding-top: 12px;
  border-top: 1px solid #edd7e4;
  font-size: 19px;
  font-weight: 900;
}
.hint {
  background: #fff7e9;
  border: 1px solid #ffe4ac;
  padding: 12px 13px;
  border-radius: 12px;
  font-size: 12px;
  color: #80643c;
  line-height: 1.75;
}
.modal .btn-primary {
  width: 100%;
  margin-top: 14px;
}
.modal .btn-outline {
  width: 100%;
  margin-top: 9px;
}
.floatingtoast {
  position: fixed;
  bottom: 101px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #241c2b;
  color: #fff;
  padding: 12px 22px;
  border-radius: 15px;
  box-shadow: var(--sh);
  max-width: 90%;
  font-size: 14px;
}
.mini-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.mini-steps span {
  border: 1px solid #f1e0eb;
  padding: 7px 10px;
  background: #fff6fb;
  border-radius: 9px;
  font-size: 12px;
  color: #93567c;
}
.action-link {
  border: 0;
  background: none;
  color: #c51f78;
  font-size: 13px;
  font-weight: 780;
  text-decoration: underline;
  padding: 4px;
}
.action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.alert-line {
  font-size: 13px;
  color: #766474;
  line-height: 1.65;
}
.page-space {
  margin-top: 16px;
}
.admin-tips {
  margin-top: 16px;
  padding: 16px;
  border: 1px dashed #edc2d9;
  border-radius: 15px;
  font-size: 13px;
  color: #80546e;
  background: #fff8fc;
}
.stat-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #7f6d7c;
  margin: 16px 0;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #20bc7d;
}
.divider {
  height: 1px;
  background: #f1e8ef;
  margin: 18px 0;
}
.role-badge {
  border-radius: 100px;
  background: #fff0f8;
  padding: 6px 10px;
  color: #c32478;
  font-size: 12px;
  font-weight: 750;
}
.pageend {
  margin-bottom: 70px;
}
@media (max-width: 960px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .partner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mascot-wrap {
    right: 12px;
    opacity: 0.8;
  }
  .hero-copy {
    max-width: 530px;
  }
  .desktop-nav {
    display: none;
  }
  .feature-row {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 30px);
  }
  .topbar-inner {
    height: 59px;
  }
  .brand {
    font-size: 23px;
  }
  .head-cta {
    display: none;
  }
  .role-select {
    font-size: 12px;
    padding: 9px 6px;
    max-width: 128px;
  }
  .hero {
    margin-top: 12px;
    min-height: 343px;
    border-radius: 0 0 27px 27px;
    padding: 30px 20px 22px;
    margin-left: -15px;
    margin-right: -15px;
  }
  .hero h1 {
    font-size: 37px;
    max-width: 340px;
    margin: 8px 0 12px;
    letter-spacing: -2px;
  }
  .hero p {
    font-size: 14px;
    max-width: 273px;
    margin-bottom: 13px;
    line-height: 1.6;
  }
  .mascot-wrap {
    width: 176px;
    height: 176px;
    right: -36px;
    top: 27px;
    opacity: 0.9;
    transform: scale(0.8) rotate(-4deg);
    transform-origin: top right;
  }
  .mascot-aura {
    inset: 0;
  }
  .mascot-back {
    inset: 12px;
  }
  .ear {
    top: 43px;
    width: 45px;
    height: 50px;
  }
  .ear.left {
    left: 37px;
  }
  .ear.right {
    right: 35px;
  }
  .bear {
    width: 122px;
    height: 140px;
    left: 26px;
    top: 62px;
    border-radius: 43px 43px 10px 10px;
  }
  .bear:before,
  .bear:after {
    width: 9px;
    height: 9px;
    top: 50px;
  }
  .bear:before {
    left: 30px;
  }
  .bear:after {
    right: 30px;
  }
  .nose {
    left: 43px;
    top: 61px;
    width: 30px;
    height: 17px;
  }
  .hero-sticker {
    right: 12px;
    top: -8px;
    font-size: 11px;
    padding: 6px 9px;
  }
  .searchbar {
    max-width: none;
    margin-top: 26px;
    border-radius: 15px;
    position: relative;
    z-index: 5;
  }
  .searchbar input {
    font-size: 13px;
  }
  .searchbar button {
    padding: 12px 14px;
  }
  .benefits {
    margin-top: 12px;
    gap: 5px;
  }
  .benefits span {
    font-size: 10px;
    padding: 6px 8px;
  }
  .section {
    margin-top: 30px;
  }
  .section-head h2 {
    font-size: 23px;
  }
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }
  .category-card {
    min-height: 135px;
    border-radius: 18px;
    padding: 13px 5px;
    gap: 6px;
  }
  .category-icon {
    height: 42px;
    width: 42px;
    font-size: 23px;
    border-radius: 13px;
    margin-bottom: 2px;
  }
  .category-card strong {
    font-size: 14px;
  }
  .category-card small {
    font-size: 11px;
  }
  .promo {
    border-radius: 22px;
    padding: 20px;
    gap: 9px;
  }
  .promo h3 {
    font-size: 21px;
  }
  .promo p {
    font-size: 12px;
  }
  .promo .btn-white {
    font-size: 12px;
    padding: 11px 10px;
  }
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .partner-card {
    border-radius: 19px;
  }
  .partner-top {
    height: 65px;
  }
  .partner-top .avatar {
    top: 16px;
  }
  .partner-body {
    padding-top: 35px;
  }
  .feature-tile {
    padding: 20px;
    min-height: 130px;
  }
  .feature-tile h3 {
    font-size: 19px;
  }
  .feature-tile button {
    font-size: 12px;
    padding: 10px 12px;
  }
  .bottomnav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid #f0e4ec;
    padding: 10px 0 max(13px, env(safe-area-inset-bottom));
    box-shadow: 0 -4px 25px rgba(59, 26, 48, 0.04);
  }
  .bottomnav button {
    border: 0;
    background: none;
    color: #574b5b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 12px;
    padding: 0;
  }
  .bottomnav button.active {
    color: #e34980;
  }
  .bottomnav svg {
    height: 24px;
    width: 24px;
  }
  .shell {
    padding-bottom: 100px;
  }
  .page-head h1 {
    font-size: 27px;
  }
  .page-head {
    padding-top: 24px;
  }
  .listcard {
    padding: 13px;
    gap: 11px;
    align-items: flex-start;
  }
  .listcard .avatar {
    width: 67px;
    height: 67px;
    border-radius: 16px;
    font-size: 24px;
  }
  .listcard h3 {
    font-size: 16px;
  }
  .listcard p {
    font-size: 12px;
  }
  .listprice {
    font-size: 15px;
  }
  .list-actions {
    flex-direction: column;
  }
  .listcard .btn-outline {
    padding: 8px;
    font-size: 12px;
  }
  .listcard-body {
    padding-top: 2px;
  }
  .msg-shell {
    display: block;
  }
  .msg-list {
    border-right: 0;
    border-bottom: 1px solid #eee;
  }
  .msg-person {
    width: auto;
    display: inline-block;
    padding: 11px;
  }
  .chatbox {
    min-height: 390px;
  }
  .kpi {
    padding: 14px;
  }
  .kpi strong {
    font-size: 21px;
  }
  .ordercard {
    padding: 14px;
  }
  .ordercard h3 {
    font-size: 15px;
  }
  .ordercard p {
    font-size: 12px;
  }
  .modal-backdrop {
    padding: 0;
    align-items: end;
  }
  .modal {
    border-radius: 24px 24px 0 0;
    max-height: 94vh;
    padding: 22px 19px max(26px, env(safe-area-inset-bottom));
  }
  .page-split {
    grid-template-columns: 1fr;
  }
  .footer {
    padding: 35px 0 14px;
  }
  .detail-cover {
    height: 105px;
  }
  .detail-cover .avatar {
    height: 85px;
    width: 85px;
  }
  .detail-header h3 {
    font-size: 20px;
  }
}
@media (max-width: 600px) {
  .hero-sticker {
    right: 62px;
    top: -1px;
  }
}
/* UI V1.0 role navigation, forms and accessible demo interactions. */
.modal-open {
  overflow: hidden;
}
.filter-selects {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.filter-selects label {
  display: flex;
  flex: 1;
  min-width: 150px;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: #69566a;
}
.filter-selects select,
.partner-picker select {
  border: 1px solid #e9dfe8;
  border-radius: 11px;
  background: #fff;
  padding: 11px;
  color: #403543;
}
.partner-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 22px;
  padding: 14px 18px;
  background: #fff0f7;
  border-radius: 16px;
  font-size: 13px;
}
.partner-picker label {
  font-weight: 750;
}
.partner-picker span {
  color: var(--muted);
  font-size: 12px;
}
.timeline {
  padding-left: 22px;
  margin: 16px 0 24px;
  font-size: 14px;
  line-height: 1.7;
}
.timeline li {
  margin-bottom: 12px;
}
.timeline small,
.bubble small {
  display: block;
  color: #796a7b;
  font-size: 11px;
}
.chat-body {
  max-height: 480px;
  overflow: auto;
  min-height: 220px;
  overflow-wrap: anywhere;
}
.ordercard p,
.summary-line b,
.detail-desc {
  overflow-wrap: anywhere;
}
.summary-line {
  gap: 12px;
}
.summary-line b {
  text-align: right;
  max-width: 70%;
}
.ordercard > div:first-child {
  min-width: 0;
}
.ordercard .right {
  min-width: 110px;
}
.msg-person small {
  display: block;
}
.settings-rows button {
  gap: 12px;
}
.empty {
  grid-column: 1/-1;
}
.role-select {
  min-height: 44px;
}
.chip,
.action-link,
.small-link {
  min-height: 40px;
}
.action-row {
  align-items: center;
}
.btn-outline:disabled {
  opacity: 0.55;
  cursor: default;
}
.footer {
  line-height: 1.8;
}
@media (min-width: 961px) {
  .desktop-nav button {
    padding: 11px 12px;
  }
  .hero-copy {
    max-width: 570px;
  }
}
@media (min-width: 601px) and (max-width: 960px) {
  .bottomnav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 40;
    border-top: 1px solid var(--border);
    padding: 14px;
  }
  .bottomnav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    border: 0;
    background: none;
    color: #69566a;
  }
  .bottomnav button.active {
    color: var(--pink);
  }
}
@media (max-width: 600px) {
  .msg-list {
    display: flex;
    overflow-x: auto;
    gap: 5px;
  }
  .msg-person {
    flex-shrink: 0;
    max-width: 155px;
  }
  .msg-person small {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .chat-body {
    max-height: 340px;
    padding: 18px;
  }
  .chat-header {
    font-size: 14px;
  }
  .ordercard {
    flex-wrap: wrap;
  }
  .ordercard .right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1ebf0;
    padding-top: 12px;
    text-align: left;
  }
  .ordercard .action-row {
    flex: 1;
  }
  .ordercard .right strong {
    white-space: nowrap;
  }
  .page-head p {
    line-height: 1.8;
  }
  .partner-picker {
    padding: 13px;
    gap: 9px;
  }
  .partner-picker select {
    width: 100%;
    min-width: 0;
  }
  .filter-selects {
    gap: 10px;
    padding: 13px;
  }
  .filter-selects label {
    min-width: 130px;
  }
  .profile-panel {
    gap: 12px;
  }
  .profile-panel .avatar {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
  }
  .profile-panel h3 {
    margin: 0;
  }
  .profile-panel p {
    line-height: 1.7;
    font-size: 12px;
  }
  .modal .summary-line {
    font-size: 13px;
  }
  .bottomnav {
    grid-template-columns: repeat(var(--nav-count, 5), 1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (max-width: 600px) {
  .chatbox {
    height: clamp(330px, calc(100dvh - 430px), 500px);
    min-height: 0;
  }
  .chat-body {
    min-height: 0;
    max-height: none;
    flex: 1;
  }
  .chat-compose {
    flex-shrink: 0;
  }
  .chat-header {
    flex-shrink: 0;
  }
  .filter-selects select {
    width: 100%;
    min-width: 0;
  }
  .floatingtoast {
    overflow-wrap: anywhere;
  }
}
